diff options
author | Marc Zyngier <[email protected]> | 2017-07-07 09:39:59 +0100 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2017-07-07 12:13:29 +0200 |
commit | c5c601c4295f89368f4a304cb3ae4aebdf80db22 (patch) | |
tree | 886596465ec8bf81ea22b09ae746ece14c8c6440 /tools/perf/util/trace-event-scripting.c | |
parent | f610c9d68b1a47f539b7764f4b5ce07d32fb9ae1 (diff) |
irqdomain: Allow ACPI device nodes to be used as irqdomain identifiers
A number of irqchip implementations are (ab)using the irqdomain allocator
by passing a fwnode that is neither a FWNODE_OF or a FWNODE_IRQCHIP.
This is pretty bad, but it also feels pretty crap to force these drivers to
allocate their own irqchip_fwid when they already have a proper fwnode.
Instead, let's teach the irqdomain allocator about ACPI device nodes, and
add some lovely name generation code... Tested on an arm64 D05 system.
Reported-and-tested-by: John Garry <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: Agustin Vega-Frias <[email protected]>
Cc: Ma Jun <[email protected]>
Cc: Hanjun Guo <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions