diff options
| author | 2020-07-14 14:39:27 +0200 | |
|---|---|---|
| committer | 2020-07-14 15:42:30 +0200 | |
| commit | 48b6703858dd5526c82d8ff2dbac59acab3a9dda (patch) | |
| tree | a6a70cedc8e1b8e36e6d663df373d36dccd918da /tools/perf/scripts/python/intel-pt-events.py | |
| parent | dma-pool: get rid of dma_in_atomic_pool() (diff) | |
| download | wireguard-linux-48b6703858dd5526c82d8ff2dbac59acab3a9dda.tar.xz wireguard-linux-48b6703858dd5526c82d8ff2dbac59acab3a9dda.zip | |
dma-pool: introduce dma_guess_pool()
dma-pool's dev_to_pool() creates the false impression that there is a
way to grantee a mapping between a device's DMA constraints and an
atomic pool. It tuns out it's just a guess, and the device might need to
use an atomic pool containing memory from a 'safer' (or lower) memory
zone.
To help mitigate this, introduce dma_guess_pool() which can be fed a
device's DMA constraints and atomic pools already known to be faulty, in
order for it to provide an better guess on which pool to use.
Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions
