Currently, the QEMU-UFS emulation is implemented based on the JEDEC UFS
4.0 Specification and does not support the operation related to UFS Extended
Features which is defined with latest UFS Specifications.
This series modifies the UFS core implementation to align with the JEDEC
UFS 4.1 Specification[1], and adds a Write Booster UFS Extended Feature
supportability.
Tested: x86-64 KVM, upstream QEMU with Debian GNU/Linux 10
Resending: Fix corrupted plain-text
[1]
https://jedec.org/standards-documents/focus/flash/universal-flash-storage-ufs
Jaemyung Lee (5):
hw/ufs: Apply UFS 4.1 Specification
hw/ufs: Modify flag handling operation
hw/ufs: Add IDLE operation
hw/ufs: Add UFS Write Booster Support
tests/qtest: Add UFS Write Booster QTest
hw/ufs/lu.c | 85 ++++++
hw/ufs/ufs.c | 569 ++++++++++++++++++++++++++++++++++++++---
hw/ufs/ufs.h | 42 +++
include/block/ufs.h | 110 +++++++-
tests/qtest/ufs-test.c | 176 +++++++++++++
5 files changed, 938 insertions(+), 44 deletions(-)
--
2.34.1