From nobody Sun Apr 12 00:57:42 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1772554134; cv=none; d=zohomail.com; s=zohoarc; b=iRI4+uFckxUbQXCQr1B7VC5Mpm+uO97QkUBXyOy1UhmNg+l+WVF0snsEsOMBbpAtMZBLtLhv0tUs0LRnjZBIyZcciHQjecP1JMuvLy53UJ0+0DmmkQ0oNRsoxSSM7FfrdJ/jFhjvypq/kDs+A0sA4hD8EO3f4c8UQYzH/E8pVx8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1772554134; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Reply-To:References:Sender:Subject:Subject:To:To:Message-Id; bh=3rhCbQNYO/tiUe03tp1MUNFJgG89bbHSTFYx1Yu5nFc=; b=fN75SUiT5ffAq9b4yw8saVgA1Izs55fgt7chOGIH5hQpWGQ7SylDiM1DJcoKV3hEgpPduVoed0zw3YzsA0C2AURmdA1Gui0HSqskqb5tIKc1JPAf3WjYfIQHy8nHRdCm+8oyr5q1GnnNJnG3chkBuJrcu9vUuTv7ObeiP5fX93A= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1772554134469610.8544389754263; Tue, 3 Mar 2026 08:08:54 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vxSI1-00039n-8P; Tue, 03 Mar 2026 11:08:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vxSHz-00037a-KW for qemu-devel@nongnu.org; Tue, 03 Mar 2026 11:08:03 -0500 Received: from rev.ng ([94.130.142.21]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vxSHx-0004uE-UP for qemu-devel@nongnu.org; Tue, 03 Mar 2026 11:08:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=rev.ng; s=dkim; h=Cc:To:In-Reply-To:References:Message-Id:Content-Transfer-Encoding: Content-Type:MIME-Version:Subject:Date:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive:List-Unsubscribe:List-Unsubscribe-Post: List-Help; bh=3rhCbQNYO/tiUe03tp1MUNFJgG89bbHSTFYx1Yu5nFc=; b=jZHP3EUjbzp4fqo 6TZjGhAUThtBku5EUUvkQlb9TfEe+5H64mm/GWtObPjLFRZBPzZpzmV7SMaVxHmt/R/PDkckwJx7W 8lSOUGWzMc7OfdFlZYEISCaauALasugdQOYVE2lhOdNgAG7GDW2JTkCXuMrLvpP/21VSMjCAAXJJG 5c=; Date: Tue, 03 Mar 2026 17:11:31 +0100 Subject: [PATCH v5 4/4] hppa: Use 44 bit physical addresses for PA-8700 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260303-hppa-c3600-v5-4-277bfe6b40b8@rev.ng> References: <20260303-hppa-c3600-v5-0-277bfe6b40b8@rev.ng> In-Reply-To: <20260303-hppa-c3600-v5-0-277bfe6b40b8@rev.ng> To: qemu-devel@nongnu.org Cc: Richard Henderson , Helge Deller , Anton Johansson X-Developer-Signature: v=1; a=ed25519-sha256; t=1772554301; l=1705; i=anjo@rev.ng; s=20260210; h=from:subject:message-id; bh=u5SQAlRQN5Nij60p9+jamxH9PUO8l8fPlBFoHvYtsa0=; b=CD9Yy6aLUy3qXhSqWcPZM7T0+LuoskSUcQFiertKHlrUCzc7xvMH7ZrPgMt40K5SzERhTnchh 2CtNgEJaPmgCpSiUi5NuZjW8hI9/X+RYHyXLgkOzYk95N2RJ7c5xETr X-Developer-Key: i=anjo@rev.ng; a=ed25519; pk=dKsZvj/g3kgDxnV1/SWg8a0YNGSpWtFGNsWIepQYKow= Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=94.130.142.21; envelope-from=anjo@rev.ng; helo=rev.ng X-Spam_score_int: -5 X-Spam_score: -0.6 X-Spam_bar: / X-Spam_report: (-0.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.322, RCVD_IN_VALIDITY_SAFE_BLOCKED=1.141, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Anton Johansson From: Anton Johansson via qemu development Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1772554136518158501 This is in line with the PA-8700 specification which demands 44 bits. However, this change breaks the SeaBIOS functional tests as the firmware assumes 40 bit physical addresses. Therefore, change the functional tests to instead run on an A400 which has the expected physical address space size. Reviewed-by: Helge Deller Signed-off-by: Anton Johansson --- target/hppa/cpu.c | 2 +- tests/functional/hppa/test_seabios.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/target/hppa/cpu.c b/target/hppa/cpu.c index b04bcfa6a0..bf54aac96c 100644 --- a/target/hppa/cpu.c +++ b/target/hppa/cpu.c @@ -351,7 +351,7 @@ static const TypeInfo hppa_cpu_type_infos[] =3D { .name =3D TYPE_HPPA_CPU_PA_8700, .parent =3D TYPE_HPPA_CPU, .class_data =3D &(const HPPACPUDef) { - .phys_addr_bits =3D 40, + .phys_addr_bits =3D 44, .is_pa20 =3D true, }, }, diff --git a/tests/functional/hppa/test_seabios.py b/tests/functional/hppa/= test_seabios.py index 661b2464e1..bdb9d534ef 100755 --- a/tests/functional/hppa/test_seabios.py +++ b/tests/functional/hppa/test_seabios.py @@ -12,7 +12,7 @@ class HppaSeabios(QemuSystemTest): =20 timeout =3D 5 - MACH_BITS =3D {'B160L': 32, 'C3700': 64} + MACH_BITS =3D {'B160L': 32, 'A400': 64} =20 def boot_seabios(self): mach =3D self.machine @@ -28,7 +28,7 @@ def test_hppa_32(self): self.boot_seabios() =20 def test_hppa_64(self): - self.set_machine('C3700') + self.set_machine('A400') self.boot_seabios() =20 if __name__ =3D=3D '__main__': --=20 2.52.0