Date: Thu, 25 Jul 2024 16:45:49 -0700
From: Deepak Gupta <debug@rivosinc.com>
To: qemu-riscv@nongnu.org, qemu-devel@nongnu.org, jim.shu@sifive.com,
 andy.chiu@sifive.com, jesse.huang@sifive.com, kito.cheng@sifive.com
Cc: palmer@dabbelt.com, Alistair.Francis@wdc.com, laurent@vivier.eu,
 bmeng.cn@gmail.com, liwei1518@gmail.com, dbarboza@ventanamicro.com,
 zhiwei_liu@linux.alibaba.com, Deepak Gupta <debug@rivosinc.com>
Subject: [PATCH 00/24] riscv support for control flow integrity extensions

.
Date: Fri, 26 Jul 2024 09:52:33 +1000
From: Nicholas Piggin <npiggin@gmail.com>
To: qemu-devel@nongnu.org
Cc: Nicholas Piggin <npiggin@gmail.com>,
	qemu-ppc@nongnu.org
Subject: [PULL 00/96] ppc-for-9.1-2 queue

Apologies this is so late after soft-freeze, apologies. I was waiting
on "accel/kvm: Extract common KVM vCPU {creation,parking} code" to be
merged upsream then ran into last minute CI problems. This PR is very
contained to ppc code so I hope it will not inconvenience anybody.

Thanks,
Nick

The following changes since commit 029e13a8a56a2931e7c24c0db52ae7256b932cb0:

  Merge tag 'bsd-user-for-9.1-pull-request' of gitlab.com:bsdimp/qemu into staging (2024-07-25 09:53:57 +1000)

are available in the Git repository at:

  https://gitlab.com/npiggin/qemu.git tags/pull-ppc-for-9.1-2-20240726-1

for you to fetch changes up to d741ecffd2ca260ce7875a4596f17736b5ccb7c3:

  target/ppc: Remove includes from mmu-book3s-v3.h (2024-07-26 09:51:34 +1000)

----------------------------------------------------------------

* Fixes for pseries migration bugs.
* Graceful handling of vCPU hotplug failure in KVM.
* Many improvements to powernv machine model.
* Move more instructions to decodetree.
* Most of the remaining large MMU cleanup.

----------------------------------------------------------------
Aditya Gupta (1):
      ppc/pnv: Update Power10's cfam id to use Power10 DD2

Akihiko Odaki (2):
      spapr: Free stdout path
      ppc/vof: Fix unaligned FDT property access

BALATON Zoltan (32):
      target/ppc: Reorganise and rename ppc_hash32_pp_prot()
      target/ppc/mmu_common.c: Remove local name for a constant
      target/ppc/mmu_common.c: Remove single use local variable
      target/ppc/mmu_common.c: Remove single use local variable
      target/ppc/mmu_common.c: Remove another single use local variable
      target/ppc/mmu_common.c: Remove yet another single use local variable
      target/ppc/mmu_common.c: Return directly in ppc6xx_tlb_pte_check()
      target/ppc/mmu_common.c: Simplify ppc6xx_tlb_pte_check()
      target/ppc/mmu_common.c: Remove unused field from mmu_ctx_t
      target/ppc/mmu_common.c: Remove hash field from mmu_ctx_t
      target/ppc/mmu_common.c: Remove pte_update_flags()
      target/ppc/mmu_common.c: Remove nx field from mmu_ctx_t
      target/ppc/mmu_common.c: Convert local variable to bool
      target/ppc/mmu_common.c: Remove single use local variable
      target/ppc/mmu_common.c: Simplify a switch statement
      target/ppc/mmu_common.c: Inline and remove ppc6xx_tlb_pte_check()
      target/ppc/mmu_common.c: Remove ptem field from mmu_ctx_t
      target/ppc: Add function to get protection key for hash32 MMU
      target/ppc/mmu-hash32.c: Inline and remove ppc_hash32_pte_prot()
      target/ppc/mmu_common.c: Init variable in function that relies on it
      target/ppc/mmu_common.c: Remove key field from mmu_ctx_t
      target/ppc/mmu_common.c: Stop using ctx in ppc6xx_tlb_check()
      target/ppc/mmu_common.c: Rename function parameter
      target/ppc/mmu_common.c: Use defines instead of numeric constants
      target/ppc: Remove bat_size_prot()
      target/ppc/mmu_common.c: Stop using ctx in get_bat_6xx_tlb()
      target/ppc/mmu_common.c: Remove mmu_ctx_t
      target/ppc/mmu-hash32.c: Inline and remove ppc_hash32_pte_raddr()
      target/ppc/mmu-hash32.c: Move get_pteg_offset32() to the header
      target/ppc: Unexport some functions from mmu-book3s-v3.h
      target/ppc/mmu-radix64: Remove externally unused parts from header
      target/ppc: Remove includes from mmu-book3s-v3.h

Chalapathi V (6):
      ppc/pnv: Remove ppc target dependency from pnv_xscom.h
      hw/ssi: Add SPI model
      hw/ssi: Extend SPI model
      hw/block: Add Microchip's 25CSM04 to m25p80
      hw/ppc: SPI controller wiring to P10 chip
      tests/qtest: Add pnv-spi-seeprom qtest

Chinmay Rath (12):
      target/ppc: Move VMX integer add/sub saturate insns to decodetree.
      target/ppc: Improve VMX integer add/sub saturate instructions.
      target/ppc: Move ISA300 flag check out of do_helper_XX3.
      target/ppc: Move VSX arithmetic and max/min insns to decodetree.
      target/ppc: Move VSX logical instructions to decodetree.
      target/ppc: Moving VSX scalar storage access insns to decodetree.
      target/ppc: Move VSX vector with length storage access insns to decodetree.
      target/ppc: Move VSX vector storage access insns to decodetree.
      target/ppc: Move VSX fp compare insns to decodetree.
      target/ppc: Move get/set_avr64 functions to vmx-impl.c.inc.
      target/ppc: Update VMX storage access insns to use tcg_gen_qemu_ld/st_i128.
      target/ppc : Update VSX storage access insns to use tcg_gen_qemu _ld/st_i128.

Frederic Barrat (9):
      pnv/xive2: XIVE2 Cache Watch, Cache Flush and Sync Injection support
      pnv/xive2: Add NVG and NVC to cache watch facility
      pnv/xive2: Configure Virtualization Structure Tables through the PC
      pnv/xive2: Enable VST NVG and NVC index compression
      pnv/xive2: Set Translation Table for the NVC port space
      pnv/xive2: Fail VST entry address computation if table has no VSD
      pnv/xive2: Move xive2_nvp_pic_print_info() to xive2.c
      pnv/xive2: Refine TIMA 'info pic' output
      pnv/xive2: Dump more END state with 'info pic'

Glenn Miles (1):
      ppc/pnv: Fix loss of LPC SERIRQ interrupts

Harsh Prateek Bora (3):
      accel/kvm: Introduce kvm_create_and_park_vcpu() helper
      cpu-common.c: export cpu_get_free_index to be reused later
      target/ppc: handle vcpu hotplug failure gracefully

Michael Kowal (1):
      pnv/xive2: Structure/define alignment changes

Nicholas Piggin (24):
      tests/tcg: Skip failing ppc64 multi-threaded tests
      spapr: Migrate ail-mode-3 spapr cap
      ppc/pnv: Implement POWER9 LPC PSI serirq outputs and auto-clear function
      ppc/pnv: Begin a more complete ADU LPC model for POWER9/10
      ppc/pnv: Implement ADU access to LPC space
      target/ppc: Fix msgsnd for POWER8
      ppc/pnv: Add pointer from PnvCPUState to PnvCore
      ppc/pnv: Move timebase state into PnvCore
      target/ppc: Move SPR indirect registers into PnvCore
      ppc/pnv: use class attribute to limit SMT threads for different machines
      ppc/pnv: Extend chip_pir class method to TIR as well
      ppc: Add a core_index to CPUPPCState for SMT vCPUs
      target/ppc: Add helpers to check for SMT sibling threads
      ppc: Add has_smt_siblings property to CPUPPCState
      ppc/pnv: Add a big-core mode that joins two regular cores
      ppc/pnv: Add allow for big-core differences in DT generation
      ppc/pnv: Implement big-core PVR for Power9/10
      ppc/pnv: Implement Power9 CPU core thread state indirect register
      ppc/pnv: Add POWER10 ChipTOD quirk for big-core
      ppc/pnv: Add big-core machine property
      ppc/pnv: Add a CPU nmi and resume function
      ppc/pnv: Implement POWER10 PC xscom registers for direct controls
      ppc/pnv: Add an LPAR per core machine option
      pnv/xive: Support cache flush and queue sync inject with notifications

Omar Sandoval (1):
      target/ppc/arch_dump: set prstatus pid to cpuid

Shivaprasad G Bhat (4):
      linux-header: PPC: KVM: Update one-reg ids for DEXCR, HASHKEYR and HASHPKEYR
      target/ppc/cpu_init: Synchronize DEXCR with KVM for migration
      target/ppc/cpu_init: Synchronize HASHKEYR with KVM for migration
      target/ppc/cpu_init: Synchronize HASHPKEYR with KVM for migration

 accel/kvm/kvm-all.c                 |   12 +
 cpu-common.c                        |    7 +-
 hw/block/m25p80.c                   |    3 +
 hw/intc/pnv_xive2.c                 |  566 +++++++++++++---
 hw/intc/pnv_xive2_regs.h            |  108 +++
 hw/intc/xive.c                      |   12 +-
 hw/intc/xive2.c                     |   33 +-
 hw/ppc/Kconfig                      |    3 +
 hw/ppc/meson.build                  |    1 +
 hw/ppc/pnv.c                        |  389 +++++++++--
 hw/ppc/pnv_adu.c                    |  206 ++++++
 hw/ppc/pnv_chiptod.c                |    7 +-
 hw/ppc/pnv_core.c                   |  127 +++-
 hw/ppc/pnv_lpc.c                    |  162 ++++-
 hw/ppc/pnv_xscom.c                  |    9 -
 hw/ppc/spapr.c                      |    1 +
 hw/ppc/spapr_caps.c                 |    1 +
 hw/ppc/spapr_cpu_core.c             |   16 +-
 hw/ppc/spapr_vhyp_mmu.c             |   21 +-
 hw/ppc/spapr_vof.c                  |    2 +-
 hw/ppc/trace-events                 |    4 +
 hw/ppc/vof.c                        |    2 +-
 hw/ssi/Kconfig                      |    4 +
 hw/ssi/meson.build                  |    1 +
 hw/ssi/pnv_spi.c                    | 1268 +++++++++++++++++++++++++++++++++++
 hw/ssi/trace-events                 |   21 +
 include/exec/cpu-common.h           |    2 +
 include/hw/ppc/pnv.h                |    8 +
 include/hw/ppc/pnv_adu.h            |   32 +
 include/hw/ppc/pnv_chip.h           |   13 +-
 include/hw/ppc/pnv_core.h           |   31 +
 include/hw/ppc/pnv_lpc.h            |   22 +-
 include/hw/ppc/pnv_xscom.h          |   11 +-
 include/hw/ppc/spapr.h              |    1 +
 include/hw/ppc/xive2_regs.h         |    9 +
 include/hw/ssi/pnv_spi.h            |   67 ++
 include/hw/ssi/pnv_spi_regs.h       |  133 ++++
 include/sysemu/kvm.h                |    8 +
 linux-headers/asm-powerpc/kvm.h     |    3 +
 target/ppc/arch_dump.c              |   24 +-
 target/ppc/cpu.h                    |   45 +-
 target/ppc/cpu_init.c               |   38 +-
 target/ppc/excp_helper.c            |   69 +-
 target/ppc/fpu_helper.c             |   60 +-
 target/ppc/helper.h                 |   92 +--
 target/ppc/insn32.decode            |   98 +++
 target/ppc/int_helper.c             |   22 +-
 target/ppc/kvm.c                    |   46 ++
 target/ppc/mem_helper.c             |    8 +-
 target/ppc/misc_helper.c            |  111 +--
 target/ppc/mmu-book3s-v3.c          |    1 -
 target/ppc/mmu-book3s-v3.h          |   43 --
 target/ppc/mmu-hash32.c             |   69 +-
 target/ppc/mmu-hash32.h             |   56 +-
 target/ppc/mmu-hash64.c             |   50 ++
 target/ppc/mmu-hash64.h             |    1 +
 target/ppc/mmu-radix64.c            |   50 ++
 target/ppc/mmu-radix64.h            |   53 +-
 target/ppc/mmu_common.c             |  333 ++++-----
 target/ppc/timebase_helper.c        |   89 +--
 target/ppc/translate.c              |   27 +-
 target/ppc/translate/vmx-impl.c.inc |  290 +++++---
 target/ppc/translate/vmx-ops.c.inc  |   19 +-
 target/ppc/translate/vsx-impl.c.inc |  592 ++++++++--------
 target/ppc/translate/vsx-ops.c.inc  |   82 ---
 tests/qtest/meson.build             |    1 +
 tests/qtest/pnv-spi-seeprom-test.c  |  110 +++
 tests/qtest/pnv-xscom.h             |    2 +-
 tests/tcg/ppc64/Makefile.target     |   12 +
 69 files changed, 4417 insertions(+), 1402 deletions(-)
 create mode 100644 hw/ppc/pnv_adu.c
 create mode 100644 hw/ssi/pnv_spi.c
 create mode 100644 include/hw/ppc/pnv_adu.h
 create mode 100644 include/hw/ssi/pnv_spi.h
 create mode 100644 include/hw/ssi/pnv_spi_regs.h
 create mode 100644 tests/qtest/pnv-spi-seeprom-test.c


.
Date: Thu, 25 Jul 2024 17:14:16 -0700
From: Gregor Haas <gregorhaas1997@gmail.com>
To: qemu-devel@nongnu.org
Cc: qemu-riscv@nongnu.org, atishp@rivosinc.com, dbarboza@ventanamicro.com,
 alistair.francis@wdc.com, Gregor Haas <gregorhaas1997@gmail.com>
Subject: [PATCH] Add support for generating OpenSBI domains in the device tree

.
Date: Fri, 26 Jul 2024 12:32:44 +0800
From: Jim Shu <jim.shu@sifive.com>
To: qemu-devel@nongnu.org
Cc: Laurent Vivier <laurent@vivier.eu>,
 Richard Henderson <richard.henderson@linaro.org>,
 Jim Shu <jim.shu@sifive.com>
Subject: [PATCH 0/2] Let gen-vdso tool to use internal ELF header

.
Date: Fri, 26 Jul 2024 13:59:29 +0800
From: Jim Shu <jim.shu@sifive.com>
To: qemu-devel@nongnu.org
Cc: "Edgar E. Iglesias" <edgar.iglesias@gmail.com>,
 Alistair Francis <alistair@alistair23.me>,
 Peter Maydell <peter.maydell@linaro.org>, Jason Wang <jasowang@redhat.com>,
 qemu-arm@nongnu.org (open list:Xilinx Zynq), Jim Shu <jim.shu@sifive.com>
Subject: [PATCH 0/4] Several fixes of AXI-ethernet/DMA

.
Date: Fri, 26 Jul 2024 13:50:28 +0800
From: Lei Huang <Lei.Huang@amd.com>
To: <mst@redhat.com>
Subject: [PATCH 0/1] Brief description of the patch series

.
Date: Fri, 26 Jul 2024 09:54:42 +0200
From: =?UTF-8?q?Cl=C3=A9ment=20L=C3=A9ger?= <cleger@rivosinc.com>
To: qemu-devel@nongnu.org
Cc: =?UTF-8?q?Cl=C3=A9ment=20L=C3=A9ger?= <cleger@rivosinc.com>,
 =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>,
 Peter Maydell <peter.maydell@linaro.org>, Jason Wang <jasowang@redhat.com>,
 Richard Henderson <richard.henderson@linaro.org>,
 =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= <philmd@linaro.org>
Subject: [PATCH v5] osdep: add a qemu_close_all_open_fd() helper

.
Date: Fri, 26 Jul 2024 15:28:19 +0530
From: Sahil Siddiq <icegambit91@gmail.com>
To: eperezma@redhat.com,
	sgarzare@redhat.com
Cc: mst@redhat.com, qemu-devel@nongnu.org, Sahil Siddiq <sahilcdq@proton.me>
Subject: [RFC v2 0/3] Add packed virtqueue to shadow virtqueue

.
Date: Fri, 26 Jul 2024 12:26:30 +0200
From: Anthony Harivel <aharivel@redhat.com>
To: pbonzini@redhat.com
Cc: qemu-devel@nongnu.org,
	Anthony Harivel <aharivel@redhat.com>
Subject: [PATCH 0/2] Fix RAPL MSR support in staging

.
Date: Fri, 26 Jul 2024 09:44:25 -0400
From: Cleber Rosa <crosa@redhat.com>
To: qemu-devel@nongnu.org
Cc: Peter Maydell <peter.maydell@linaro.org>,
	Thomas Huth <thuth@redhat.com>,
	Beraldo Leal <bleal@redhat.com>,
	Sriram Yagnaraman <sriram.yagnaraman@ericsson.com>,
	David Woodhouse <dwmw2@infradead.org>,
	=?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= <philmd@linaro.org>,
	Leif Lindholm <quic_llindhol@quicinc.com>,
	Jiaxun Yang <jiaxun.yang@flygoat.com>,
	kvm@vger.kernel.org,
	=?UTF-8?q?Alex=20Benn=C3=A9e?= <alex.bennee@linaro.org>,
	Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>,
	Wainer dos Santos Moschetta <wainersm@redhat.com>,
	qemu-arm@nongnu.org,
	Radoslaw Biernacki <rad@semihalf.com>,
	Cleber Rosa <crosa@redhat.com>,
	Paul Durrant <paul@xen.org>,
	Paolo Bonzini <pbonzini@redhat.com>,
	Akihiko Odaki <akihiko.odaki@daynix.com>
Subject: [PATCH 00/13] Bump Avocado to 103.0 LTS and update tests for compatibility and new features

.
Date: Fri, 26 Jul 2024 16:16:41 +0200
From: Fiona Ebner <f.ebner@proxmox.com>
To: "open list:Network Block Dev..." <qemu-block@nongnu.org>,
 QEMU Developers <qemu-devel@nongnu.org>
Cc: Eric Blake <eblake@redhat.com>,
 Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>,
 John Snow <jsnow@redhat.com>
Subject: query dirty areas according to bitmap via QMP or qemu-nbd

.
Date: Fri, 26 Jul 2024 16:21:49 +0200
From: Dario Faggioli <dfaggioli@suse.com>
To: qemu-devel@nongnu.org
Cc: jpoimboe@kernel.org, Paolo Bonzini <pbonzini@redhat.com>, Fabian Vogt
 <fvogt@suse.de>, Nikolay Borisov <nik.borisov@suse.com>,
 fabiano.rosas@suse.com
Subject: SRSO mitigation in microcode not passed through to VMs

.
Date: Fri, 26 Jul 2024 11:43:23 -0700
From: Gregor Haas <gregorhaas1997@gmail.com>
To: qemu-devel@nongnu.org
Cc: qemu-riscv@nongnu.org, atishp@rivosinc.com, dbarboza@ventanamicro.com,
 alistair.francis@wdc.com, Gregor Haas <gregorhaas1997@gmail.com>
Subject: [PATCH v2 0/1] Add support for generating OpenSBI domains in the
 device tree

.
Date: Fri, 26 Jul 2024 16:36:46 -0400
From: Collin Walling <walling@linux.ibm.com>
To: qemu-s390x@nongnu.org, qemu-devel@nongnu.org
Cc: thuth@redhat.com, david@redhat.com, wangyanan55@huawei.com,
 philmd@linaro.org, marcel.apfelbaum@gmail.com, eduardo@habkost.net,
 armbru@redhat.com
Subject: [PATCH v1] target/s390x: move @deprecated-props to CpuModelExpansion
 Info

.
Date: Fri, 26 Jul 2024 12:41:47 -0700
From: Sergei Lyubski <slyubski@gmail.com>
To: qemu-devel@nongnu.org
Subject: The question about migration/checkpointing

.
