diff options
| author | Prashant Kamble <[email protected]> | 2026-05-24 15:36:21 +0530 |
|---|---|---|
| committer | Neil Armstrong <[email protected]> | 2026-05-28 12:56:02 +0200 |
| commit | 29c40bb2a13ed1c294497044e2299cc0a511ce32 (patch) | |
| tree | 606c1d7b214ac076770a33ceadd94396a10c91e1 /scripts/Kconfig.include | |
| parent | 987907ae4bcc5d6055bdf7d318a3edf53e14d5fa (diff) | |
nvme: fix dcache invalidation range in identify command
When the identify buffer crosses a page boundary, PRP2 is used
and dma_addr is advanced to the second page:
dma_addr += (page_size - offset);
The subsequent invalidate_dcache_range() calls then use the
modified dma_addr instead of the original buffer start address.
As a result, the beginning of the identify buffer is not
invalidated and the invalidation range extends past the end of
the buffer.
Fix this by preserving the original DMA buffer address for cache
invalidation.
Suggested-by: Neil Armstrong <[email protected]>
Signed-off-by: Prashant Kamble <[email protected]>
Reviewed-by: Neil Armstrong <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Neil Armstrong <[email protected]>
Diffstat (limited to 'scripts/Kconfig.include')
0 files changed, 0 insertions, 0 deletions
