On 18/02/26, [email protected] wrote:
> From: Helge Deller <[email protected]>
> 
> Prevent adding the BMC with it's serial ports on 32-bit machines, even
> if they have a PCI bus like the B160L. This fixes boot problems with
> HP-UX on B160L.
> 
> Signed-off-by: Helge Deller <[email protected]>
> Fixes: 557bc5260cfd ("hw/hppa: PCI devices depend on availability of PCI bus")
> Cc: [email protected]
> ---
>  hw/hppa/machine.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/hw/hppa/machine.c b/hw/hppa/machine.c
> index c3680667ae..d6aeb793c0 100644
> --- a/hw/hppa/machine.c
> +++ b/hw/hppa/machine.c
> @@ -376,7 +376,9 @@ static void machine_HP_common_init_tail(MachineState 
> *machine, PCIBus *pci_bus,
>  
>      if (pci_bus) {
>          pci_init_nic_devices(pci_bus, mc->default_nic);
> +    }
>  
> +    if (pci_bus && hppa_is_pa20(&cpu[0]->env)) {
>          /* BMC board: HP Diva GSP PCI card */
>          dev = qdev_new("diva-gsp");
>          if (dev && !object_property_get_bool(OBJECT(dev), "disable", NULL)) {
> -- 
> 2.53.0
> 

Reviewed-by: Anton Johansson <[email protected]>

Reply via email to