aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorKefeng Wang <wangkefeng.wang@huawei.com>2021-06-02 16:55:16 +0800
committerPalmer Dabbelt <palmerdabbelt@google.com>2021-06-11 13:42:26 -0700
commitce3aca0465e31c20ada1270ac6547ba28b610ab2 (patch)
treea2b2e71d99e1ec5a2f187f88bdc279e0370abf7d /tools/perf/scripts/python/mem-phys-addr.py
parentae3d69bcc455905bac1d08d3563e4e576028e896 (diff)
riscv: Only initialize swiotlb when necessary
The SWIOTLB buffer is not needed unless the physical address space is beyond the limit of dma, only initialize swiotlb when swiotlb_force is true or not all system memory is DMA-able. Also move the swiotlb_init() into mem_init(). Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions