CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2020/07/16 06:57:30
Modified files:
sys/arch/arm64/arm64: acpi_machdep.c intr.c
sys/arch/arm64/dev: acpipci.c
sys/arch/arm64/include: intr.h
Log message:
To be able to have intr_barrier() on arm64, we need to be able to
somehow gain access to the struct cpu_info * used to establish the
interrupt. One possibility is to store the pointer in the cookie
returned by the establish methods. A better way would be to ask
the interrupt controller directly to do barrier.
This means that all external facing interrupt establish functions
need to wrap the cookie in a common way. We already do this for
FDT-based interrupts. Also most PCI controllers already return
the cookie from the FDT API, which is already wrapped. So arm64's
acpi_intr_establish() and acpipci(4) now need to explicitly wrap
it, since they call ic->ic_establish directly, which does not wrap.
ok dlg@