scsi: ufs: ufs-pci: Add support for QEMU
authorJeuk Kim <jeuk20.kim@samsung.com>
Mon, 7 Aug 2023 01:37:26 +0000 (10:37 +0900)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 8 Aug 2023 02:39:00 +0000 (22:39 -0400)
commita18e81d17a7e634420e589fa504e79e4893cde5e
tree3962613c78722bfca52fda751b9b153225b876bd
parent9640d57d15611ab02be33e0db1639bcf3e2222c8
scsi: ufs: ufs-pci: Add support for QEMU

To ensure that the PCI based QEMU UFS device properly works with Linux,
register the device ID (0x0013) and vendor ID (0x1b36) of QEMU UFS device.

QEMU UFS will enable testing of the UFS driver inside a virtual machine on
systems without UFS host controller. It can also be used to preemptively
implement and test new features before the real device is created.

The new QEMU UFS device can be found at:

https://lore.kernel.org/qemu-devel/20230727155239.GA979354@fedora

Signed-off-by: Jeuk Kim <jeuk20.kim@samsung.com>
Link: https://lore.kernel.org/r/20230807013726epcms2p1c604cb8e98680aebebb7cc5ab2d580f5@epcms2p1
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/host/ufshcd-pci.c