diff options
author | Helge Deller <deller@gmx.de> | 2020-08-14 21:09:40 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2020-09-02 23:16:50 +0200 |
commit | 34743e9633ab4a76a9bbcf55a0daa11cb2be58c4 (patch) | |
tree | 2fa0dcaeb428cd8957a42d64fe9934910521a083 /hw/hppa | |
parent | 32ff8bf248add5f2e64e75d3706c29a4f323832e (diff) | |
download | qemu-34743e9633ab4a76a9bbcf55a0daa11cb2be58c4.zip qemu-34743e9633ab4a76a9bbcf55a0daa11cb2be58c4.tar.gz qemu-34743e9633ab4a76a9bbcf55a0daa11cb2be58c4.tar.bz2 |
hw/hppa: Change fw_cfg port address
Devices on hppa occupy at least 4k starting at the HPA, so MEMORY_HPA+4k is
blocked (by Linux) for the memory module. I noticed this when testing the new
Linux kernel patch to let the fw_cfg entries show up in Linux under /proc.
The Linux kernel driver could not allocate the region for fw_cfg.
This new base address seems to not conflict.
Signed-off-by: Helge Deller <deller@gmx.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/hppa')
-rw-r--r-- | hw/hppa/hppa_hardware.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/hppa/hppa_hardware.h b/hw/hppa/hppa_hardware.h index cdb7fa6..b2fbbc2 100644 --- a/hw/hppa/hppa_hardware.h +++ b/hw/hppa/hppa_hardware.h @@ -38,8 +38,7 @@ #define PORT_PCI_CMD (PCI_HPA + DINO_PCI_ADDR) #define PORT_PCI_DATA (PCI_HPA + DINO_CONFIG_DATA) -/* QEMU fw_cfg interface port */ -#define QEMU_FW_CFG_IO_BASE (MEMORY_HPA + 0x80) +#define QEMU_FW_CFG_IO_BASE 0xfffa0000 #define PORT_SERIAL1 (DINO_UART_HPA + 0x800) #define PORT_SERIAL2 (LASI_UART_HPA + 0x800) |