qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 3a8233: hw/alpha: Set minimum PCI device ID t


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] 3a8233: hw/alpha: Set minimum PCI device ID to 1 to match ...
Date: Tue, 29 Jun 2021 02:03:09 -0700

  Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: 3a8233dc1fe2fb5d0b51c9ae895e27b96a6d830e
      
https://github.com/qemu/qemu/commit/3a8233dc1fe2fb5d0b51c9ae895e27b96a6d830e
  Author: Jason Thorpe <thorpej@me.com>
  Date:   2021-06-28 (Mon, 28 Jun 2021)

  Changed paths:
    M hw/alpha/alpha_sys.h
    M hw/alpha/dp264.c
    M hw/alpha/typhoon.c

  Log Message:
  -----------
  hw/alpha: Set minimum PCI device ID to 1 to match Clipper IRQ mappings

Since we are emulating a Clipper device topology, we need to set the
minimum PCI device ID to 1, as there is no IRQ mapping for a device
at ID 0 (see sys_dp264.c:clipper_map_irq()).

- Add a 'devfn_min' argument to typhoon_init().  Pass that argument
  along to pci_register_root_bus().
- In clipper_init(), pass PCI_DEVFN(1, 0) as the minimum PCI device
  ID/function.

Signed-off-by: Jason Thorpe <thorpej@me.com>
Message-Id: <20210613211549.18094-3-thorpej@me.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 387a1dcb351be6a6ec4e27d36173df2de1017bcc
      
https://github.com/qemu/qemu/commit/387a1dcb351be6a6ec4e27d36173df2de1017bcc
  Author: Jason Thorpe <thorpej@me.com>
  Date:   2021-06-28 (Mon, 28 Jun 2021)

  Changed paths:
    M hw/alpha/dp264.c

  Log Message:
  -----------
  hw/alpha: Provide console information to the PALcode at start-up

Redefine the a2 register passed by Qemu at start-up to also include
some configuration flags, in addition to the CPU count, and define
a flag to mirror the "-nographic" option.

Signed-off-by: Jason Thorpe <thorpej@me.com>
Message-Id: <20210613211549.18094-5-thorpej@me.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 5ec4f1d348e164355ff0e50486d537973e517e19
      
https://github.com/qemu/qemu/commit/5ec4f1d348e164355ff0e50486d537973e517e19
  Author: Jason Thorpe <thorpej@me.com>
  Date:   2021-06-28 (Mon, 28 Jun 2021)

  Changed paths:
    M hw/alpha/Kconfig
    M hw/alpha/alpha_sys.h
    M hw/alpha/dp264.c
    M hw/alpha/typhoon.c

  Log Message:
  -----------
  hw/alpha: Provide a PCI-ISA bridge device node

- Move initialization of the ISA bus from typhoon_init() to clipper_init();
  this apsect of device topology is really associated with the individual
  model, not the core logic chipset.  typhoon_init() now returns the IRQ
  to use for the output of the ISA PIC.

- In clipper_init(), instantiate an i82378 instance, and connect its
  PIC output to the ISA IRQ input provided by typhoon_init().  Remove
  the explicit instantiations of i8254 and i82374, as these devices
  are subsumed by the i82378.

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Jason Thorpe <thorpej@me.com>
Message-Id: <20210616141538.25436-1-thorpej@me.com>
[rth: Remove direct dependencies on i82374, i8254, i8259.]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: c6446a1b6d8a89f4ab8fe85b5bc03bb05d337b82
      
https://github.com/qemu/qemu/commit/c6446a1b6d8a89f4ab8fe85b5bc03bb05d337b82
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-06-28 (Mon, 28 Jun 2021)

  Changed paths:
    M pc-bios/palcode-clipper
    M roms/qemu-palcode

  Log Message:
  -----------
  pc-bios: Update the palcode-clipper image

Build a new palcode image with Jason Thorpe's patches
to support NetBSD.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 9d14a0428012b0bb7969aec512f2357247a86236
      
https://github.com/qemu/qemu/commit/9d14a0428012b0bb7969aec512f2357247a86236
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-06-28 (Mon, 28 Jun 2021)

  Changed paths:
    M target/alpha/translate.c

  Log Message:
  -----------
  target/alpha: Honor the FEN bit

This bit is used by NetBSD for lazy fpu migration.

Tested-by: Jason Thorpe <thorpej@me.com>
Reported-by: Jason Thorpe <thorpej@me.com>
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/438
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 13d5f87cc3b94bfccc501142df4a7b12fee3a6e7
      
https://github.com/qemu/qemu/commit/13d5f87cc3b94bfccc501142df4a7b12fee3a6e7
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2021-06-29 (Tue, 29 Jun 2021)

  Changed paths:
    M hw/alpha/Kconfig
    M hw/alpha/alpha_sys.h
    M hw/alpha/dp264.c
    M hw/alpha/typhoon.c
    M pc-bios/palcode-clipper
    M roms/qemu-palcode
    M target/alpha/translate.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/rth-gitlab/tags/pull-axp-20210628' into 
staging

Fixes for NetBSD/alpha:
  - Provide a proper PCI-ISA bridge
  - Set PCI device IDs correctly
  - Pass -nographic flag to PALcode
  - Update PALcode to set up the Console Terminal Block
  - Honor the Floating-point ENable bit during translate.

# gpg: Signature made Mon 28 Jun 2021 15:34:08 BST
# gpg:                using RSA key 7A481E78868B4DB6A85A05C064DF38E8AF7E215F
# gpg:                issuer "richard.henderson@linaro.org"
# gpg: Good signature from "Richard Henderson <richard.henderson@linaro.org>" 
[full]
# Primary key fingerprint: 7A48 1E78 868B 4DB6 A85A  05C0 64DF 38E8 AF7E 215F

* remotes/rth-gitlab/tags/pull-axp-20210628:
  target/alpha: Honor the FEN bit
  pc-bios: Update the palcode-clipper image
  hw/alpha: Provide a PCI-ISA bridge device node
  hw/alpha: Provide console information to the PALcode at start-up
  hw/alpha: Set minimum PCI device ID to 1 to match Clipper IRQ mappings

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


Compare: https://github.com/qemu/qemu/compare/6512fa497c2f...13d5f87cc3b9



reply via email to

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