Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: qemu/qemu
base: c26d005e62f4
Choose a base ref
...
head repository: qemu/qemu
compare: 71934cf6bf87
Choose a head ref
  • 8 commits
  • 4 files changed
  • 3 contributors

Commits on Aug 4, 2023

  1. ppc/pegasos2: Fix reset state of USB functions

    The original non-free board firmware sets the command register of the
    USB functions to 7 and some guests rely on this for working USB. Match
    what the board firmware does when using VOF instead.
    
    Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
    Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
    Message-ID: <06a2b864431425f23d1f2b5abf0c027819ac11c6.1689725688.git.balaton@eik.bme.hu>
    Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
    zbalaton authored and danielhb committed Aug 4, 2023
    Copy the full SHA
    19ac7b2 View commit details
    Browse the repository at this point in the history
  2. ppc/pegasos2: Fix reg property of ROM BARs

    The register offset of the ROM BAR is 0x30 not 0x28. This fixes the
    reg property entry of the ROM region in the device tree.
    
    Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
    Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
    Message-ID: <6abd73b1211f9d0776dfa5d71d6294f17eecb426.1689725688.git.balaton@eik.bme.hu>
    Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
    zbalaton authored and danielhb committed Aug 4, 2023
    Copy the full SHA
    aa11334 View commit details
    Browse the repository at this point in the history
  3. ppc/pegasos2: Fix naming of device tree nodes

    The board firmware names devices by their class so match that for
    common devices. Also make sure the /rtas node has a name. This is
    needed because VOF otherwise does not include it in results got by
    nextprop which is how AmigaOS queries it and fails if no name property
    is found.
    
    Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
    Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
    Message-ID: <808ade37aa141563d1ee349254151672bf7a5d59.1689725688.git.balaton@eik.bme.hu>
    Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
    zbalaton authored and danielhb committed Aug 4, 2023
    Copy the full SHA
    889dd6c View commit details
    Browse the repository at this point in the history
  4. ppc/pegasos2: Fix reg property of 64 bit BARs in device tree

    The board firmware handles this correctly following the Open Firmware
    standard which we missed. This fixes 64 bit BARs when using VOF.
    
    Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
    Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
    Message-ID: <20230721221320.1311E7456AB@zero.eik.bme.hu>
    Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
    zbalaton authored and danielhb committed Aug 4, 2023
    Copy the full SHA
    6b6d4c1 View commit details
    Browse the repository at this point in the history
  5. target/ppc: Implement ASDR register for ISA v3.0 for HPT

    The ASDR register was introduced in ISA v3.0. It has not been
    implemented for HPT. With HPT, ASDR is the format of the slbmte RS
    operand (containing VSID), which matches the ppc_slb_t field.
    
    Fixes: 3367c62 ("target/ppc: Support for POWER9 native hash")
    Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
    Reviewed-by: Cédric Le Goater <clg@kaod.org>
    Message-ID: <20230726182230.433945-2-npiggin@gmail.com>
    Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
    npiggin authored and danielhb committed Aug 4, 2023
    Copy the full SHA
    9201af0 View commit details
    Browse the repository at this point in the history
  6. target/ppc: Fix pending HDEC when entering PM state

    HDEC is defined to not wake from PM state. There is a check in the HDEC
    timer to avoid setting the interrupt if we are in a PM state, but no
    check on PM entry to lower HDEC if it already fired. This can cause a
    HDECR wake up and  QEMU abort with unsupported exception in Power Save
    mode.
    
    Fixes: 4b236b6 ("ppc: Initial HDEC support")
    Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
    Reviewed-by: Cédric Le Goater <clg@kaod.org>
    Message-ID: <20230726182230.433945-4-npiggin@gmail.com>
    Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
    npiggin authored and danielhb committed Aug 4, 2023
    Copy the full SHA
    9915dac View commit details
    Browse the repository at this point in the history
  7. target/ppc: Fix VRMA page size for ISA v3.0

    Until v2.07s, the VRMA page size (L||LP) was encoded in LPCR[VRMASD].
    In v3.0 that moved to the partition table PS field.
    
    The powernv machine can now run KVM HPT guests on POWER9/10 CPUs with
    this fix and the patch to add ASDR.
    
    Fixes: 3367c62 ("target/ppc: Support for POWER9 native hash")
    Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
    Reviewed-by: Cédric Le Goater <clg@kaod.org>
    Message-ID: <20230730111842.39292-1-npiggin@gmail.com>
    Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
    npiggin authored and danielhb committed Aug 4, 2023
    Copy the full SHA
    0e2a3ec View commit details
    Browse the repository at this point in the history
  8. Merge tag 'pull-ppc-20230804' of https://gitlab.com/danielhb/qemu int…

    …o staging
    
    ppc patch queue for 2023-08-04:
    
    This queue contains target/ppc register and VRMA fixes for 8.1. pegasos2
    fixes are also included.
    
    # -----BEGIN PGP SIGNATURE-----
    #
    # iIwEABYKADQWIQQX6/+ZI9AYAK8oOBk82cqW3gMxZAUCZM0YohYcZGFuaWVsaGI0
    # MTNAZ21haWwuY29tAAoJEDzZypbeAzFkuqAA/0QrRC8agLbSw1b8pN7bR9Yweqk8
    # VKFotbyAH4QKO42KAP9GNeHU8iUcKk4l9eWip75mvwUsrLP/8INFWNGv1t76AQ==
    # =5m4V
    # -----END PGP SIGNATURE-----
    # gpg: Signature made Fri 04 Aug 2023 08:26:26 AM PDT
    # gpg:                using EDDSA key 17EBFF9923D01800AF2838193CD9CA96DE033164
    # gpg:                issuer "danielhb413@gmail.com"
    # gpg: Good signature from "Daniel Henrique Barboza <danielhb413@gmail.com>" [unknown]
    # gpg: WARNING: This key is not certified with a trusted signature!
    # gpg:          There is no indication that the signature belongs to the owner.
    # Primary key fingerprint: 17EB FF99 23D0 1800 AF28  3819 3CD9 CA96 DE03 3164
    
    * tag 'pull-ppc-20230804' of https://gitlab.com/danielhb/qemu:
      target/ppc: Fix VRMA page size for ISA v3.0
      target/ppc: Fix pending HDEC when entering PM state
      target/ppc: Implement ASDR register for ISA v3.0 for HPT
      ppc/pegasos2: Fix reg property of 64 bit BARs in device tree
      ppc/pegasos2: Fix naming of device tree nodes
      ppc/pegasos2: Fix reg property of ROM BARs
      ppc/pegasos2: Fix reset state of USB functions
    
    Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
    rth7680 committed Aug 4, 2023
    Copy the full SHA
    71934cf View commit details
    Browse the repository at this point in the history