[PATCH 0/4] ufs: properly fix cache operations
Neil Armstrong
neil.armstrong at linaro.org
Fri Jul 19 13:00:09 CEST 2024
We experience huge problems with cache handling on Qualcomm
systems, and it appears the dcache handling in the UFS core
is quite wrong and causes all those issues.
This serie fixes the dcache operations, and fixes a big data
write corruption due to a wrong data end address calculation.
Signed-off-by: Neil Armstrong <neil.armstrong at linaro.org>
---
Neil Armstrong (4):
ufs: allocate descriptors with size aligned with DMA_MINALIGN
ufs: fix dcache flush and invalidate range calculation
ufs: split flush and invalidate to only invalidate when required
ufs: use dcache helpers for scsi_cmd data and only invalidate if necessary
drivers/ufs/ufs.c | 74 +++++++++++++++++++++++++++++++++----------------------
1 file changed, 44 insertions(+), 30 deletions(-)
---
base-commit: 3f772959501c99fbe5aa0b22a36efe3478d1ae1c
change-id: 20240719-u-boot-ufs-dcache-fixup-d9a980a97835
Best regards,
--
Neil Armstrong <neil.armstrong at linaro.org>
More information about the U-Boot
mailing list