[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 04/10] hw/hppa: Change fw_cfg port address
From: |
Helge Deller |
Subject: |
[PULL 04/10] hw/hppa: Change fw_cfg port address |
Date: |
Thu, 3 Sep 2020 18:07:40 +0200 |
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>
---
hw/hppa/hppa_hardware.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/hw/hppa/hppa_hardware.h b/hw/hppa/hppa_hardware.h
index cdb7fa6240..b2fbbc2eec 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)
--
2.21.3
- [PULL 00/10] hppa power button support, graphics updates and firmware fixes, Helge Deller, 2020/09/03
- [PULL 04/10] hw/hppa: Change fw_cfg port address,
Helge Deller <=
- [PULL 01/10] seabios-hppa: Update SeaBIOS to hppa-qemu-5.2-2 tag, Helge Deller, 2020/09/03
- [PULL 10/10] hw/display/artist: Allow screen size up to 2048 lines, Helge Deller, 2020/09/03
- [PULL 02/10] hw/hppa: Make number of TLB and BTLB entries configurable, Helge Deller, 2020/09/03
- [PULL 05/10] hw/hppa: Tell SeaBIOS port address of fw_cfg, Helge Deller, 2020/09/03
- [PULL 08/10] hw/display/artist: Verify artist screen resolution, Helge Deller, 2020/09/03
- [PULL 09/10] hw/display/artist: Refactor x/y coordination extraction, Helge Deller, 2020/09/03
- [PULL 06/10] hw/hppa: Add power button emulation, Helge Deller, 2020/09/03
- [PULL 07/10] target/hppa: Fix boot with old Linux installation CDs, Helge Deller, 2020/09/03
- [PULL 03/10] hw/hppa: Store boot device in fw_cfg section, Helge Deller, 2020/09/03
- Re: [PULL 00/10] hppa power button support, graphics updates and firmware fixes, Peter Maydell, 2020/09/07