summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@nvidia.com>2020-09-04 19:41:42 -0300
committerJason Gunthorpe <jgg@nvidia.com>2020-09-09 15:33:17 -0300
commita40c20dabdf9045270767c75918feb67f0727c89 (patch)
tree18d950f161029c7eb29da0f5a31c9d89da64b71d /tools/perf/scripts/python
parent71ff3f6268644783d556fab10066f1027030135f (diff)
downloadkernel-a40c20dabdf9045270767c75918feb67f0727c89.tar.gz
RDMA/umem: Fix ib_umem_find_best_pgsz() for mappings that cross a page boundary
It is possible for a single SGL to span an aligned boundary, eg if the SGL is 61440 -> 90112 Then the length is 28672, which currently limits the block size to 32k. With a 32k page size the two covering blocks will be: 32768->65536 and 65536->98304 However, the correct answer is a 128K block size which will span the whole 28672 bytes in a single block. Instead of limiting based on length figure out which high IOVA bits don't change between the start and end addresses. That is the highest useful page size. Fixes: 4a35339958f1 ("RDMA/umem: Add API to find best driver supported page size in an MR") Link: https://lore.kernel.org/r/1-v2-270386b7e60b+28f4-umem_1_jgg@nvidia.com Reviewed-by: Leon Romanovsky <leonro@nvidia.com> Reviewed-by: Shiraz Saleem <shiraz.saleem@intel.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
>iwlwifi: wrt: add to dump number of lmacs, lmac1 and umac error idShahar S Matityahu 2018-12-20iwlwifi: wrt: add rt status and num of rx/tx fifos to dumpShahar S Matityahu 2018-12-14iwlwifi: add support for triggering ini triggersSara Sharon 2018-12-14iwlwifi: dbg: dump data according to the new ini TLVsSara Sharon 2018-11-23iwlwifi: add debugfs file to read fw debug data recordingLior Cohen 2018-11-23iwlwifi: dbg: add apply point logicSara Sharon 2018-11-23iwlwifi: dbg: disable triggers for iniSara Sharon 2018-11-23iwlwifi: add fw dump upon RT ucode start failureLior Cohen 2018-11-11iwlwifi: fw: use helper to determine whether to dump pagingSara Sharon 2018-11-11iwlwifi: dbg: use helper to check if debug type is setSara Sharon 2018-11-11iwlwifi: dbg: avoid passing trigger aroundSara Sharon 2018-10-08iwlwifi: dump debug data before stop deviceShahar S Matityahu 2018-10-06iwlwifi: dbg: make trigger functions type agnosticSara Sharon 2018-10-06iwlwifi: dbg: decrement occurrences for all triggersSara Sharon 2018-10-06iwlwifi: dbg: make iwl_fw_dbg_no_trig_window trigger agnosticSara Sharon 2018-10-06iwlwifi: add dump collection in case alive flow failsShahar S Matityahu 2018-10-06iwlwifi: dbg: group trigger condition to helper functionSara Sharon 2018-10-06iwlwifi: dbg: move debug data to a structSara Sharon 2018-09-28iwlwifi: fw: stop and start debugging using host commandSara Sharon 2018-09-28iwlwifi: fw: add a restart FW debug functionSara Sharon 2018-08-31iwlwifi: avoid code duplication in stopping fw debug data recordingShahar S Matityahu 2018-08-31iwlwifi: remove all occurrences of the FSF address paragraphLuca Coelho 2018-08-31iwlwifi: add d3 debug data supportShahar S Matityahu 2018-04-20iwlwifi: move timestamp functions from debugfs.h to dbg.hHaim Dreyfuss 2018-03-02iwlwifi: avoid collecting firmware dump if not loadedShaul Triebitz 2017-11-25iwlwifi: fix access to prph when transport is stoppedSara Sharon 2017-10-06iwlwifi: stop dbgc recording before stopping DMAGolan Ben Ami 2017-08-01iwlwifi: refactor firmware debug codeJohannes Berg