diff options
author | Kefeng Wang <wangkefeng.wang@huawei.com> | 2021-06-02 11:55:16 +0300 |
---|---|---|
committer | Palmer Dabbelt <palmerdabbelt@google.com> | 2021-06-11 23:42:26 +0300 |
commit | ce3aca0465e31c20ada1270ac6547ba28b610ab2 (patch) | |
tree | a2b2e71d99e1ec5a2f187f88bdc279e0370abf7d /tools/perf/scripts/python/task-analyzer.py | |
parent | ae3d69bcc455905bac1d08d3563e4e576028e896 (diff) | |
download | linux-ce3aca0465e31c20ada1270ac6547ba28b610ab2.tar.xz |
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/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions