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: 8844bb8d8965
Choose a base ref
...
head repository: qemu/qemu
compare: 18b6727083ac
Choose a head ref
  • 6 commits
  • 9 files changed
  • 3 contributors

Commits on May 15, 2023

  1. loongarch: mark loongarch_ipi_iocsr re-entrnacy safe

    loongarch_ipi_iocsr MRs rely on re-entrant IO through the ipi_send
    function. As such, mark these MRs re-entrancy-safe.
    
    Fixes: a2e1753 ("memory: prevent dma-reentracy issues")
    Signed-off-by: Alexander Bulekov <alxndr@bu.edu>
    Reviewed-by: Song Gao <gaosong@loongson.cn>
    Message-Id: <20230506112145.3563708-1-alxndr@bu.edu>
    Signed-off-by: Song Gao <gaosong@loongson.cn>
    a1xndr authored and gaosong-loongson committed May 15, 2023
    Copy the full SHA
    6d0589e View commit details
    Browse the repository at this point in the history
  2. tests/avocado: Add LoongArch machine start test

    Add a new test in tests/avocado to check LoongArch virt machine start.
    
    Reviewed-by: Thomas Huth <thuth@redhat.com>
    Signed-off-by: Song Gao <gaosong@loongson.cn>
    Reviewed-by: Cédric Le Goater <clg@redhat.com>
    Message-Id: <20230513012744.1885728-1-gaosong@loongson.cn>
    gaosong-loongson committed May 15, 2023
    Copy the full SHA
    7318c62 View commit details
    Browse the repository at this point in the history
  3. hw/loongarch/virt: Modify ipi as percpu device

    ipi is used to communicate between cpus, this patch modified
    loongarch ipi device as percpu device, so that there are
    2 MemoryRegions with ipi device, rather than 2*cpus
    MemoryRegions, which may be large than QDEV_MAX_MMIO if
    more cpus are added on loongarch virt machine.
    
    Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
    Signed-off-by: Song Gao <gaosong@loongson.cn>
    Message-Id: <20230512100421.1867848-2-gaosong@loongson.cn>
    gaosong-loongson committed May 15, 2023
    Copy the full SHA
    78464f0 View commit details
    Browse the repository at this point in the history
  4. hw/loongarch/virt: Set max 256 cpus support on loongarch virt machine

    Add separate macro EXTIOI_CPUS for extioi interrupt controller, extioi
    only supports 4 cpu. And set macro LOONGARCH_MAX_CPUS as 256 so that
    loongarch virt machine supports more cpus.
    
    Interrupts from external devices can only be routed cpu 0-3 because
    of extioi limits, cpu internal interrupt such as timer/ipi can be
    triggered on all cpus.
    
    Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
    Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
    Signed-off-by: Song Gao <gaosong@loongson.cn>
    Message-Id: <20230512100421.1867848-3-gaosong@loongson.cn>
    gaosong-loongson committed May 15, 2023
    Copy the full SHA
    646c39b View commit details
    Browse the repository at this point in the history
  5. hw/intc: Add NULL pointer check on LoongArch ipi device

    When ipi mailbox is used, cpu_index is decoded from iocsr register.
    cpu maybe does not exist. This patch adds NULL pointer check on
    ipi device.
    
    Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
    Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
    Signed-off-by: Song Gao <gaosong@loongson.cn>
    Message-Id: <20230512100421.1867848-4-gaosong@loongson.cn>
    gaosong-loongson committed May 15, 2023
    Copy the full SHA
    7ef0eb3 View commit details
    Browse the repository at this point in the history
  6. Merge tag 'pull-loongarch-20230515' of https://gitlab.com/gaosong/qemu

    …into staging
    
    pull-loongarch-20230515
    
    # -----BEGIN PGP SIGNATURE-----
    #
    # iLMEAAEIAB0WIQS4/x2g0v3LLaCcbCxAov/yOSY+3wUCZGIThgAKCRBAov/yOSY+
    # 34NVA/0b99XxYeeOnJYspjKGgVk+R51+1ilMHqPGlNEG6HB2eHyIJdDgenBDaa/h
    # lxqzDU9YQI4DzuvUcC75uWrShMkR5/Fb8Z0CCEToQUyAwfh2pNeAIzuB7TXHW5Ox
    # SRGMs3eF23q5BUSCeD7DS2Ar1Zv4Gm3ytutiMAvCxNzxJWF1aA==
    # =g93p
    # -----END PGP SIGNATURE-----
    # gpg: Signature made Mon 15 May 2023 04:12:06 AM PDT
    # gpg:                using RSA key B8FF1DA0D2FDCB2DA09C6C2C40A2FFF239263EDF
    # gpg: Good signature from "Song Gao <m17746591750@163.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: B8FF 1DA0 D2FD CB2D A09C  6C2C 40A2 FFF2 3926 3EDF
    
    * tag 'pull-loongarch-20230515' of https://gitlab.com/gaosong/qemu:
      hw/intc: Add NULL pointer check on LoongArch ipi device
      hw/loongarch/virt: Set max 256 cpus support on loongarch virt machine
      hw/loongarch/virt: Modify ipi as percpu device
      tests/avocado: Add LoongArch machine start test
      loongarch: mark loongarch_ipi_iocsr re-entrnacy safe
    
    Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
    rth7680 committed May 15, 2023
    Copy the full SHA
    18b6727 View commit details
    Browse the repository at this point in the history