[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 4/7] hw/hppa: Inform SeaBIOS about fw_cfg port address
From: |
Helge Deller |
Subject: |
Re: [PATCH 4/7] hw/hppa: Inform SeaBIOS about fw_cfg port address |
Date: |
Wed, 2 Sep 2020 13:24:47 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 |
On 01.09.20 23:39, Richard Henderson wrote:
> On 9/1/20 11:34 AM, Helge Deller wrote:
>> -/* QEMU fw_cfg interface port */
>> -#define QEMU_FW_CFG_IO_BASE (MEMORY_HPA + 0x80)
>> +#define FW_CFG_IO_BASE 0xfffa0000
>
> Why is this value changing?
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:
https://patchwork.kernel.org/patch/11715133/
The Linux kernel driver could not allocate the region for fw_cfg.
This new base address seems to not conflict.
Helge
[PATCH 5/7] hw/hppa: Add power button emulation, Helge Deller, 2020/09/01
[PATCH 6/7] hw/display/artist: Fix artist screen resolution, Helge Deller, 2020/09/01