OSDN Git Service

hw/pci-host/astro: Trigger CPU irq on CPU HPA in high memory
authorHelge Deller <deller@gmx.de>
Wed, 25 Oct 2023 19:46:39 +0000 (21:46 +0200)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 7 Nov 2023 02:49:34 +0000 (18:49 -0800)
commit64bf09674a5911fd70a3b4050c2d7081b0353cf5
tree152e4f8faaabd102dba6846bcc46d2c21120e973
parentfd842b2f4ce2da082b400f9b9278fa6bd45d0864
hw/pci-host/astro: Trigger CPU irq on CPU HPA in high memory

The CPU HPA is in the high F-region on PA2.0 CPUs, so use F_EXTEND()
to trigger interrupt request at the right CPU HPA address.
Note that the cpu_hpa value comes out of the IRT, which doesn't store the
higher addresss bits.

Signed-off-by: Helge Deller <deller@gmx.de>
hw/pci-host/astro.c