diff options
| author | Li Chen <me@linux.beauty> | 2026-06-30 17:23:35 +0800 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2026-08-19 06:38:46 -0400 |
| commit | 8de2bc46dbeadbcb6c1e119d72ffa59a630195fb (patch) | |
| tree | 8e1fc98ea1d85a0d89c5123bf7cd8b391a2697cd /scripts/Makefile.thinlto | |
| parent | 3f14003ce7f03cd77cea54ff072d437016b9393e (diff) | |
| download | linux-stable-8de2bc46dbeadbcb6c1e119d72ffa59a630195fb.tar.gz linux-stable-8de2bc46dbeadbcb6c1e119d72ffa59a630195fb.zip | |
nvdimm: virtio_pmem: isolate DMA request buffers
The virtio-pmem request object stores wait queues, flags, and list
pointers next to buffers mapped for virtqueue DMA. The response buffer is
mapped DMA_FROM_DEVICE, so non-coherent DMA invalidation must not share a
cache line with CPU-owned fields.
Keep the request buffer outside the DMA-from-device group and wrap only
the response buffer with __dma_from_device_group_begin/end.
Signed-off-by: Li Chen <me@linux.beauty>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Message-ID: <20260630092338.2094628-11-me@linux.beauty>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
