diff options
author | Robin Murphy <[email protected]> | 2024-04-19 17:54:41 +0100 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2024-04-26 12:07:23 +0200 |
commit | ba503cf41c90e173f9421f7882d84b228bada97a (patch) | |
tree | 61b50d237001d770aee7385fdf1df1d6d8f83d08 /tools/perf/util/trace-event-scripting.c | |
parent | 0c3457926e7e65710f32e02920c7d423417c93a2 (diff) |
OF: Simplify DMA range calculations
Juggling start, end, and size values for a range is somewhat redundant
and a little hard to follow. Consolidate down to just using inclusive
start and end, which saves us worrying about size overflows for full
64-bit ranges (note that passing a potentially-overflowed value through
to arch_setup_dma_ops() is benign for all current implementations, and
this is working towards removing that anyway).
Acked-by: Rob Herring <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Signed-off-by: Robin Murphy <[email protected]>
Link: https://lore.kernel.org/r/3e0a72fe3d79eae660e4284bb32f2cb39868ccd7.1713523152.git.robin.murphy@arm.com
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions