Re: [PATCH] scsi: ufs: core: Add a vop to handle vendor specific ops

From: Bart Van Assche

Date: Mon Mar 23 2026 - 13:53:33 EST


On 3/20/26 8:34 PM, Fang Hongjie(方洪杰) wrote:
On 3/19/26 2:38 AM, Hongjie Fang wrote:
add a vop to allow some vendors to do some additional ops
for some interrupts if necessary.

UFS patches should be sent to Martin K. Petersen and should be Cc-ed to
the linux-scsi mailing list. Additionally, a patch description should
not only explain what has been changed but also why a change is being
mode. "to do some additional ops for some interrupts if necessary" is
too vague.

Given that some UFS controllers have private or extended interrupt status
registers, the purpose of this patch is to facilitate the handling of
proprietary registers within the host driver during the interrupt handling.

The above makes it clear that this patch is intended for a UFS host
controller that does not comply to the JEDEC UFSHCI standard. The Linux
kernel is standards based and the upstream Linux kernel UFS
driver is for UFS host controllers that comply to the JEDEC UFSHCI
standard.

Thanks,

Bart.