summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorJaehoon Kim <jhkim@linux.ibm.com>2026-05-19 11:49:33 -0500
committerVasily Gorbik <gor@linux.ibm.com>2026-07-30 00:29:07 +0200
commit28b0d6897484aa6119ac63d813afd6f31d1b8246 (patch)
treed19161fd988eea8c9b8b326725cdafeebe3f2fe8 /tools/perf/scripts/python/bin
parenta7325d0d771c887847420f92be3e9b73e5c117e7 (diff)
s390/pv: Enable SWIOTLB_ANY for s390 PV
In s390 protected virtualization (PV) environments, guests use SWIOTLB for virtio DMA. Because SWIOTLB_ANY is currently not passed to swiotlb_init(), the SWIOTLB buffer is allocated from low memory, i.e. from the first 2G of the physical address space on s390. This restriction is unnecessary for s390 PV guests and limits the available address range for the SWIOTLB buffer. In turn, that can limit the maximum practical SWIOTLB size and make larger allocations more likely to fail at boot, especially under memory fragmentation. Pass SWIOTLB_ANY in pv_init() so the SWIOTLB buffer can be allocated from any suitable memory instead of being restricted to low memory. Signed-off-by: Jaehoon Kim <jhkim@linux.ibm.com> Acked-by: Christian Borntraeger <borntraeger@linux.ibm.com> Reviewed-by: Halil Pasic <pasic@linux.ibm.com> Tested-by: Joshua Daley <jdaley@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions