qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] qemu-palcode: Changes to support booting NetBSD/alpha


From: Richard Henderson
Subject: Re: [PATCH] qemu-palcode: Changes to support booting NetBSD/alpha
Date: Wed, 14 Oct 2020 14:52:42 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

On 10/6/20 7:52 PM, Jason Thorpe wrote:
> There are additional changes in Qemu itself.  Those will be sent as
> a follow-up.
> 
> - Change the $a2 value at VM start from "cpu count" to "config word".  Bits
>   0-5 are cpu count, and bit 6 communicates the "-nographic" option from
>   the VM.
> - Provide a Console Terminal Block in the HWRPB.  Initialize this based on
>   the location of the PCI VGA, or to the serial port if Qemu has been run
>   with "-nographic".
> - Initialize hwrpb.hwrpb.cpuid correctly; it's the WHAMI of the primary CPU,
>   not the CPU type.
> - Don't set the "PALcode memory valid" bit in the PCS flags field; those
>   HWRPB fields are not, in fact, valid.
> - Allow swppal() to specify the new $pv value.  Use this to pass the
>   CPU_Restart_data to the cpu spinup entry point.
> - Fix a bug in PCI address configuration that caused the CMD646 IDE registers
>   to be mapped incorrectly.
> - When configuring the PCI bus, program system-specific interrupt routing
>   information into the PCI device "line" register (as SRM does).
> - When building the PALcode, don't include outside header files; put 
> everything
>   that's needed in protos.h.

I'm certainly open to these changes.  But it'll need to be split up -- one
patch per bullet, basically.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]