arm-trusted-firmware/drivers
Channagoud kadabi 38a5ecb756 fix(ufs): fix cache maintenance issues
Fix software cache maintenance issues that can happen when
cpu prefetches data before DMA operations are complete.
This change fixes two cases one for ufs_read_blocks and
other for ufs_check_resp, in both cases invalidation of
buffer was done before the DMA operation completed.
This caused cpu prefetcher to bring data into cache
before DMA completed and caused UFS read failures.
The changes also removes unwanted cache operations to
local variable utrd which is not consumed by UFS host
controller and zeroing out buffer in ufs_read_capacity.

Change-Id: I9a288eb19d6705f6fa8bdb0b817a6411235fd8b6
Signed-off-by: Channagoud kadabi <kadabi@google.com>
2022-03-15 13:09:52 -07:00
..
allwinner feat(allwinner): apx803: add aldo1 regulator 2022-02-21 16:26:54 +01:00
amlogic Don't return error information from console_flush 2020-10-09 10:21:50 -05:00
arm fix(tzc400): correct message with filter 2022-02-15 18:09:51 +01:00
auth refactor(mbedtls): allow platform to specify their config file 2022-03-01 19:08:11 +01:00
brcm fix: libc: use long for 64-bit types on aarch64 2021-11-08 14:41:17 +00:00
cadence/uart/aarch64 cadence: Change logic in uart driver 2021-01-11 17:28:00 +00:00
cfi/v2m coverity: fix MISRA violations 2020-02-18 10:47:46 -06:00
clk feat(clk): add a minimal clock framework 2021-12-22 13:07:23 +01:00
console Don't return error information from console_flush 2020-10-09 10:21:50 -05:00
coreboot/cbmem_console/aarch64 Don't return error information from console_flush 2020-10-09 10:21:50 -05:00
delay_timer include: move MHZ_TICKS_PER_SEC to utils_def.h 2020-02-20 09:25:45 -08:00
fwu feat(fwu): simplify the assert to check for fwu init 2022-01-27 18:09:02 +05:30
gpio Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
imx Don't return error information from console_flush 2020-10-09 10:21:50 -05:00
intel/soc/stratix10/io io: change seek offset to signed long long 2020-01-10 21:14:57 +01:00
io fix(mtd): correct types in messages 2022-02-15 18:09:51 +01:00
marvell refactor(drivers/marvell/comphy-3700): rename Clock Source Low value constants 2021-12-09 01:29:13 +01:00
measured_boot/event_log refactor(measured-boot): cleanup Event Log makefile 2022-02-02 16:08:58 +00:00
mentor/i2c Enable -Wlogical-op always 2019-11-19 08:53:21 -06:00
mmc feat(drivers/mmc): boot partition read support 2021-06-04 09:52:37 +02:00
mtd fix(mtd): correct types in messages 2022-02-15 18:09:51 +01:00
nxp fix(nxp-crypto): refine code to avoid hang issue for some of toolchain 2022-02-18 12:03:16 +08:00
partition feat(partition): add a function to identify a partition by GUID 2022-01-27 18:09:02 +05:30
rambus drivers/rambus: add TRNG-IP-76 driver 2021-02-11 09:43:18 +00:00
renesas feat(plat/rcar3): modify type for Internal function argument 2021-12-12 13:07:06 +01:00
rpi3 rpi3: gpio: Simplify GPIO setup 2020-03-17 12:44:09 +00:00
scmi-msg fix(scmi): add missing \n in ERROR message 2022-01-28 13:09:17 +01:00
st fix(st-pmic): add static const to pmic_ops 2022-03-08 13:18:09 +01:00
synopsys Merge changes from topic "jc/shift-overflow" into integration 2019-07-16 10:11:27 +00:00
ti/uart Don't return error information from console_flush 2020-10-09 10:21:50 -05:00
ufs fix(ufs): fix cache maintenance issues 2022-03-15 13:09:52 -07:00
usb fix(usb): correct type in message 2022-02-15 18:09:51 +01:00