diff options
| author | 2019-08-06 15:23:33 +0100 | |
|---|---|---|
| committer | 2019-08-07 14:24:49 +0100 | |
| commit | 467a3bb974320a23c0c000559cc54b64e06e9787 (patch) | |
| tree | ac6640a5db2588d17a83e620f76e0e5ef06f71c3 /include/linux/irqdomain.h | |
| parent | gpio/ixp4xx: Register the base PA instead of its VA in fwnode (diff) | |
| download | linux-dev-467a3bb974320a23c0c000559cc54b64e06e9787.tar.xz linux-dev-467a3bb974320a23c0c000559cc54b64e06e9787.zip | |
PCI: hv: Allocate a named fwnode instead of an address-based one
To allocate its fwnode that is then used to allocate an irqdomain,
the driver uses irq_domain_alloc_fwnode(), passing it a VA as an
identifier. This is a rather bad idea, as this address ends up
published in debugfs (and we want to move away from VAs there
anyway).
Instead, let's allocate a named fwnode by using the device GUID as
an identifier. It is allegedly unique, and can be traced back to
the original device.
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'include/linux/irqdomain.h')
0 files changed, 0 insertions, 0 deletions
