diff options
author | Marc Zyngier <[email protected]> | 2015-03-06 16:37:41 +0000 |
---|---|---|
committer | Jason Cooper <[email protected]> | 2015-03-08 05:32:52 +0000 |
commit | f54b97ed0b17d3da5f98ba8188cd5646415a922d (patch) | |
tree | 4664ec806519ff6d594d547d8b31be5bc774fc0a /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
parent | 16acae729564ee0c3918342d8556cc42eeb29942 (diff) |
irqchip: gicv3-its: Allocate enough memory for the full range of DeviceID
The ITS table allocator is only allocating a single page per table.
This works fine for most things, but leads to silent lack of
interrupt delivery if we end-up with a device that has an ID that is
out of the range defined by a single page of memory. Even worse, depending
on the page size, behaviour changes, which is not a very good experience.
A solution is actually to allocate memory for the full range of ID that
the ITS supports. A massive waste memory wise, but at least a safe bet.
Tested on a Phytium SoC.
Tested-by: Chen Baozi <[email protected]>
Acked-by: Chen Baozi <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Jason Cooper <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions