mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 08:44:21 +08:00
df032bf27a
For now, just provide an API to allocate and remove ufs-bsg node. We will use this framework to manage ufs devices by sending UPIU transactions. For the time being, implements an empty bsg_request() - will add some more functionality in coming patches. Nonetheless, we reveal here the protocol we are planning to use: UFS Transport Protocol Transactions. UFS transactions consist of packets called UFS Protocol Information Units (UPIU). There are UPIU’s defined for UFS SCSI commands, responses, data in and data out, task management, utility functions, vendor functions, transaction synchronization and control, and more. By using UPIUs, we get access to the most fine-grained internals of this protocol, and able to communicate with the device in ways, that are sometimes beyond the capacity of the ufs driver. Moreover and as a result, our core structure - ufs_bsg_node has a pretty lean structure: using upiu transactions that contains the outmost detailed info, so we don't really need complex constructs to support it. Signed-off-by: Avri Altman <avri.altman@wdc.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Bart Van Assche <Bart.VanAssche@wdc.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
12 lines
541 B
Makefile
12 lines
541 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# UFSHCD makefile
|
|
obj-$(CONFIG_SCSI_UFS_DWC_TC_PCI) += tc-dwc-g210-pci.o ufshcd-dwc.o tc-dwc-g210.o
|
|
obj-$(CONFIG_SCSI_UFS_DWC_TC_PLATFORM) += tc-dwc-g210-pltfrm.o ufshcd-dwc.o tc-dwc-g210.o
|
|
obj-$(CONFIG_SCSI_UFS_QCOM) += ufs-qcom.o
|
|
obj-$(CONFIG_SCSI_UFSHCD) += ufshcd-core.o
|
|
ufshcd-core-y += ufshcd.o ufs-sysfs.o
|
|
ufshcd-core-$(CONFIG_SCSI_UFS_BSG) += ufs_bsg.o
|
|
obj-$(CONFIG_SCSI_UFSHCD_PCI) += ufshcd-pci.o
|
|
obj-$(CONFIG_SCSI_UFSHCD_PLATFORM) += ufshcd-pltfrm.o
|
|
obj-$(CONFIG_SCSI_UFS_HISI) += ufs-hisi.o
|