Cc'ing Richard & Emilio.
On 6/3/21 5:53 AM, Jason Thorpe wrote:
> Included here are a set of patches that fix issues in qemu-palcode needed
> to run NetBSD/alpha under Qemu. Some fix garden-variety bugs, some fix
> deviations from the architecture specification or behavior of the SRM
> console on real Alpha hardware.
>
> Two of the changes (patch 6 and patch 7) also require other fixes in
> Qemu itself, which will be submitted separately. However, the changes
> are fully compatible with existing Qemu alpha VMs because Linux does
> not use the the SRM PCI interrupt mapping information (it has its own
> tables for the system variations it supports) or the Console Terminal
> Block in the HWRPB.
>
> Jason Thorpe (8):
> Make qemu-palcode build environment standalone. NFC.
> Fix delivery of unaligned access exceptions.
> Fix initialization of the hwrpb.hwrpb.cpuid field.
> Make some PCI macros available to other files. NFC.
> Fix incorrect initialization of PCI BARs.
> Provide interrupt mapping information in PCI config registers.
> Provide a Console Terminal Block in the HWRPB.
> Fixes for seconday CPU start-up.
>
> hwrpb.h | 54 +++++++++++++++++++++++++++++++
> init.c | 88 +++++++++++++++++++++++++++++++++++++++------------
> memcpy.c | 2 +-
> memset.c | 2 +-
> pal.S | 15 ++++++---
> pci.c | 31 +++++++++++++-----
> pci.h | 5 +++
> printf.c | 4 +--
> protos.h | 30 +++++++++++++++---
> sys-clipper.h | 27 ++++++++++++++++
> vgaio.c | 2 ++
> 11 files changed, 218 insertions(+), 42 deletions(-)
>