From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 05E2B37C92C for ; Tue, 30 Jun 2026 04:19:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.163.158.5 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782793165; cv=none; b=OPCaxJgJMzDoeYcgnrck9qfrk6jqPG+YzuGhfmMlg2AVaSEpuCX3JQMipLZhVB/gy1qlA4SJFewkO1c46gwKUI7mIp6zD96GW4JlF4CGPUIm2wzjrVarVoioz7+r6sa//Oe+tnR8JNYIqv4um2+WmNvpeEfKRQyZbLD2Oy5LHSQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782793165; c=relaxed/simple; bh=TLw3nTeW8XQFYA6a608C/h3aeD9fiv7wxawZ3jx+Iwc=; h=MIME-Version:Date:From:To:Cc:Subject:In-Reply-To:References: Message-ID:Content-Type; b=t+wQ3ULyRxnUZwbthK2P5b7V0N0N7STRkfapHivuHHLmc3JiBOMjhGm18G4FeZB5IkwQdSLoozjlSsq7MNBX5B5OJS4Gt3TfQh8dtKFR65ZWh7b8xIscVyb7uWgwdotYRIDpdOa7A6mUcSBY+owjXPAmG24feVp10xsGXRWRepk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com; spf=pass smtp.mailfrom=linux.ibm.com; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b=bRd7eGYe; arc=none smtp.client-ip=148.163.158.5 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.ibm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="bRd7eGYe" Received: from pps.filterd (m0360072.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 65U1K25N496660; Tue, 30 Jun 2026 04:19:12 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=pp1; bh=L0YN30 9aJJvMpx0MYGGAhwg1KFcUfzCjiT/Jxs/srvA=; b=bRd7eGYePSjUwrObWmSpZ5 psX3+AFGzl+5+08tkUN1RHv/wqYZqmZvDFw8znRgQjcQcyHB2RaGy5GLwgD9x+4q C5I+StNsmZs7dOuey0eu/aLYUnbAntfgDaQXuTWha7+wIRVwN/963nCTsxO5At3o Q5uMzcscoJp/4zwdyA4FDUsGtUMSktRLl9BiMdceWuwNUWectJZI/GWggMd3rFPr FVG2cKaVcu1vFJgxsQ47lqdEV0pLkrGqJIZu4UZUiTih5o700sYJva4VD66ocn7Z JwORfVDUQ3VeCajFuzERNknxiFqTiaCEUK00hhalN1zcQGxdEXPReLR2pGf5P4EQ == Received: from ppma11.dal12v.mail.ibm.com (db.9e.1632.ip4.static.sl-reverse.com [50.22.158.219]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 4f26mjmedk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 30 Jun 2026 04:19:11 +0000 (GMT) Received: from pps.filterd (ppma11.dal12v.mail.ibm.com [127.0.0.1]) by ppma11.dal12v.mail.ibm.com (8.18.1.7/8.18.1.7) with ESMTP id 65U44m1l019690; Tue, 30 Jun 2026 04:19:11 GMT Received: from smtprelay02.dal12v.mail.ibm.com ([172.16.1.4]) by ppma11.dal12v.mail.ibm.com (PPS) with ESMTPS id 4f2uhy86p8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 30 Jun 2026 04:19:11 +0000 (GMT) Received: from smtpav01.dal12v.mail.ibm.com (smtpav01.dal12v.mail.ibm.com [10.241.53.100]) by smtprelay02.dal12v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 65U4JA8e7209554 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 30 Jun 2026 04:19:10 GMT Received: from smtpav01.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 2396658061; Tue, 30 Jun 2026 04:19:10 +0000 (GMT) Received: from smtpav01.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 95DC95805D; Tue, 30 Jun 2026 04:19:08 +0000 (GMT) Received: from ltc.linux.ibm.com (unknown [9.5.196.140]) by smtpav01.dal12v.mail.ibm.com (Postfix) with ESMTP; Tue, 30 Jun 2026 04:19:08 +0000 (GMT) Precedence: bulk X-Mailing-List: kvm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Date: Tue, 30 Jun 2026 09:49:08 +0530 From: Misbah Anjum N To: Aditya Gupta Cc: qemu-devel@nongnu.org, qemu-ppc@nongnu.org, Harsh Prateek Bora , =?UTF-8?Q?C=C3=A9dric_Le_Goater?= , =?UTF-8?Q?Philippe_Mathieu-Daud=C3=A9?= , Shivang Upadhyay , =?UTF-8?Q?Daniel_P_=2E_Berrang?= =?UTF-8?Q?=C3=A9?= , Sourabh Jain , Hari Bathini , Nicholas Piggin , Miles Glenn , Fabiano Rosas , Laurent Vivier , Paolo Bonzini , devel@lists.libvirt.org, Anushree Mathur , Pierrick Bouvier , kvm@vger.kernel.org, Gautam Menghani , Chinmay Rath Subject: Re: [PATCH v3 0/8] Testcase improvements and Power8E/NVL removal In-Reply-To: <20260629110411.3051274-1-adityag@linux.ibm.com> References: <20260629110411.3051274-1-adityag@linux.ibm.com> Message-ID: <9eefc074b799f7380cf61885bc37642a@linux.ibm.com> X-Sender: misanjum@linux.ibm.com Organization: IBM Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-Reinject: loops=2 maxloops=12 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNjMwMDAzNiBTYWx0ZWRfX84hgtQ37z8CT CXdGE8ZvZhGFy0BAcXdp1mUopHXG5kXgJXXWELw5UdHbZTmIpXMH4vHBbpEFw8L7t0EOUaJpH7Z YIn8Rbu+w2BfVrq4dNVKX2rFUpmfwUH619Sg4oMrip3bdU41k7IhVXAW+wx8HDBKMKc0vPjnww3 bYGwd8aiTAb2Q/1aPIUvzjj/oVJ97IUEHN5AiD+IBFbD3oFeXGkDWE89F/Xod9lwNZjH1HZncN9 sY+eRbnmqomzRfZb6G4SoVG4zMrwiMRGTFCUjGYRKKmZxy8oTXwOrYmE/AnzIIWIo7VFrSn+mZF yvdLsw/eC5YKm7SVp3ib8SfOJv5k+y/pGG6Qi/1Q1tZ+CwSkhIwOnH+zMmtxBqHTDnMNoSxhZlM Ys6jr05pVUj21Ee4BdCzsCF6xvDsC5XTqXidEBPHCfoifeoVdPuJ+myYv6rRih/fVR50KX/9rqQ 8lY3eBY3/LslrAFG9NQ== X-Proofpoint-GUID: 57Wx2g3DoP64RcIGPHXkOykuDF_fqS5w X-Authority-Analysis: v=2.4 cv=Z8bc2nRA c=1 sm=1 tr=0 ts=6a4343c0 cx=c_pps a=aDMHemPKRhS1OARIsFnwRA==:117 a=aDMHemPKRhS1OARIsFnwRA==:17 a=kj9zAlcOel0A:10 a=FelO9ux0wxsA:10 a=VkNPw1HP01LnGYTKEx00:22 a=RnoormkPH1_aCDwRdu11:22 a=RzCfie-kr_QcCd8fBx8p:22 a=VwQbUJbxAAAA:8 a=20KFwNOVAAAA:8 a=p0WdMEafAAAA:8 a=VnNF1IyMAAAA:8 a=uOxguaagmlPXxrVSXkIA:9 a=CjuIK1q_8ugA:10 X-Proofpoint-Spam-Info: AW1haW4tMjYwNjMwMDAzNiBTYWx0ZWRfX3r7Fck0ECgc4 ZqcB1LfQoTMoXVDEJwFyVpiQblxnP/GLGIFbzXcC+nTk0LRE6Frm/zJcELZvHN2f9Aff05gfNmu TUkwUkomajpw532ECVec/TKAyeYMr+w= X-Proofpoint-ORIG-GUID: BGA5pzcRe6mfUjf436klFX06Mx8cAVvH X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.125,FMLib:17.12.100.49 definitions=2026-06-30_01,2026-06-26_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 adultscore=0 spamscore=0 priorityscore=1501 impostorscore=0 malwarescore=0 phishscore=0 bulkscore=0 lowpriorityscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2606300036 On 2026-06-29 16:34, Aditya Gupta wrote: > Overview > ======== > > This patch series merged two patch series sent earlier: > "Testcase improvements for PowerNV" > "Remove deprecated Power8E and 8NVL CPUs" > since the Power8E removal series depended on the former due to pnv-spi > test > > Broadly contains 3 changes: > 1. Testcase improvements: > Add a testcase to detect regression in remote interrupts when XIVE > changes, > since such regression had occurred during Power11 XIVE changes: > > https://lore.kernel.org/qemu-devel/baf6c854-832b-4a2e-922f-d34e6dadf821@redhat.com/ > > Also add Power11 chip and testcase in qtests, and fadump functional > test > > 2. Power8E/Power8NVL removal > Power8E and Power8NVL were deprecated since QEMU 10.1, with > commit 264a604e7163 ("target/ppc: Deprecate Power8E and Power8NVL") > > Hence, remove usage (chip and core types) of Power8E and 8NVL from > PowerNV, > PSeries as well as testcases. > > 3. Maintainer changes > Add myself as maintainer for PowerNV machine > > Testing > ======= > > * Git tree for testing: > https://gitlab.com/adi-g15-ibm/qemu/tree/feat_maintainer-v3 > * Gitlab pipeline: > https://gitlab.com/adi-g15-ibm/qemu/-/pipelines/2635562383 > * Successful ppc64 functional tests, qtests, boot tests, builds at all > commits > > Changelog > ========= > v3: > + #3: use machine_type array in pnv_xscom_addr, as suggested by > shivang, harsh and balaton > > v2: > + #1: put e1000e on socket 1, and disable it's cpu, as suggested by > cedric > + #1: pull out command fail checks into a helper, as suggested by > shivang > + #2: use g_autofree, suggested by cedric > + #3: use g_autofree in tests updated > + #8: remove G:, as suggested by daniel > + rebased to upstream > > from previous split series: > + #1: added checks to see if network is up and interrupts happened, > based on shivang's review > + #3: replaced common if-else-if check for machine type with > pnv_get_machine_type > + #7: added doc in removed-features, as suggested by cedric > + #6,7: added rb from philippe > + #8: new patch, maintainer change > > Aditya Gupta (8): > tests/functional: Add remote interrupts test for PowerNV > tests/qtest/pnv_spi: Test Power11 PNV_SPI > tests/qtest: Add Power11 chip & machine to qtests > tests/functional: Use default powernv machine instead of power10 > ppc/pnv: Replace Power8E with Power11 for 'none' machine test > ppc/pnv: Remove Power8E and Power8NVL pnv chips > ppc/pnv: Remove Power8E and Power8NVL CPUs > MAINTAINERS: Add self as maintainer for PowerNV > > MAINTAINERS | 2 +- > docs/about/deprecated.rst | 9 --- > docs/about/removed-features.rst | 8 +++ > docs/system/ppc/powernv.rst | 2 +- > docs/system/ppc/pseries.rst | 2 +- > hw/ppc/pnv.c | 62 ----------------- > hw/ppc/pnv_core.c | 2 - > hw/ppc/spapr_cpu_core.c | 2 - > include/hw/ppc/pnv.h | 8 --- > target/ppc/cpu-models.c | 6 -- > target/ppc/cpu-models.h | 4 -- > target/ppc/cpu_init.c | 6 -- > target/ppc/kvm.c | 4 +- > tests/functional/ppc64/test_fadump.py | 2 +- > tests/functional/ppc64/test_powernv.py | 95 ++++++++++++++++++++++++++ > tests/qtest/machine-none-test.c | 2 +- > tests/qtest/pnv-host-i2c-test.c | 10 ++- > tests/qtest/pnv-spi-seeprom-test.c | 20 ++++-- > tests/qtest/pnv-xive2-test.c | 2 +- > tests/qtest/pnv-xscom-test.c | 22 ++---- > tests/qtest/pnv-xscom.h | 41 +++++++---- > 21 files changed, 162 insertions(+), 149 deletions(-) > > > base-commit: 20553466cc47af6a8c95f665b601fce3c852e503 Hi Aditya, I've tested the v3 patch series on PowerNV and pSeries guests including the new remote interrupts functional test and Power8E/NVL removal. Testing Environment: - Host: Fedora 42 ppc64le - Arch: ppc64le - QEMU: emulator version 11.0.50 (v11.0.0-2400-g20553466cc-dirty) PowerNV Guest Bringup Status: Success qemu-system-ppc64 -name test-vm -machine powernv -m 4096 -smp 4 -nographic -kernel ~/.cache/qemu/download/6fd29aff9ad4362511ea5d0acbb510667c7031928e97d64ec15bbc5daf4b8151 -drive file=~/.cache/qemu/download/aee2192b692077c4bde31cb56ce474424b358f17cec323d5c94af3970c9aada2,format=raw,if=none,id=drive0,readonly=on -device nvme,drive=drive0,bus=pcie.2,addr=0x0,serial=1234 -append "root=/dev/nvme0n1 console=tty0 console=hvc0" PSeries Guest Bringup Status: Success qemu-system-ppc64 -name test-vm -machine pseries,accel=kvm -m 4096 smp 8,sockets=1,cores=8,threads=1 -nographic -serial mon:stdio -drive file=/home/kvmci/tests/data/avocado-vt/images/rhel8.0devel-ppc64le.qcow2,if=virtio,format=qcow2 -netdev bridge,id=net0,br=virbr0 -device virtio-net-pci,netdev=net0 Power8E/NVL Removal Verification Status: Success (both correctly rejected after removal) qemu-system-ppc64: unable to find CPU model 'power8e_v2.1' qemu-system-ppc64: unable to find CPU model 'power8nvl_v1.0' QEMU Functional Test Results (make check-functional-ppc64) Status: Success Ok: 12 Fail: 0 Skipped: 4 QEMU Unit Test Results (make check-qtest-ppc64) Status: Success Ok: 33 Fail: 0 Skipped: 0 Result: All tests passed successfully. Tested-by: Misbah Anjum N Thanks, Misbah Anjum N