From nobody Tue Nov 26 06:31:03 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; 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=kernel.org ARC-Seal: i=1; a=rsa-sha256; t=1709419026; cv=none; d=zohomail.com; s=zohoarc; b=UuBfXrdGbY5Lx++5XvwMoFnPkUYbg4ahExvIy0FNnMLTRbkxxiItcwnZoMJDgQBVBrcb2UtZevN1VTGy6f0P2yjkTndv10sa/iAfU2gN8L0MGzwpquFt8GyKlSSF+j4HH0OYYz7JTUy4enmWpGAiqEm9ZPHU/nbfYLAGKr/qsyE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1709419026; h=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:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=pAGBaT3P/SM26YPYrzlcRJf+4GiSaqcUV2hTPF0dnwc=; b=ToaPBkwtPSTeHlH9CHgE4yE7cA3CR4niELROn7qeCZTa/NXNUY9Rzhg1C2amDUnxBzXJ3yjllgti9lfr3ecEuiuI63kJ8T5nbVqyDSoTjqVtVvyERgKrgwlYPZYWbERlGZbatq2fb3jT4YpcQEFCbmvJQWEwXxG5+C6FbHdq9Xs= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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 1709419026744416.29420603869914; Sat, 2 Mar 2024 14:37:06 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rgXxR-0006BQ-3B; Sat, 02 Mar 2024 17:35:53 -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 1rgXxG-00069O-Ig for qemu-devel@nongnu.org; Sat, 02 Mar 2024 17:35:42 -0500 Received: from dfw.source.kernel.org ([139.178.84.217]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rgXxD-0003ga-VF for qemu-devel@nongnu.org; Sat, 02 Mar 2024 17:35:42 -0500 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id D511860F75; Sat, 2 Mar 2024 22:35:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9FB9CC433C7; Sat, 2 Mar 2024 22:35:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709418928; bh=t2xatLPUQitdK7QlDb4pBEBirGnlzkSL8GWMvf0Y78U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SYLAFdB/Y56tKxHA6z1xvfqwml49ot5iUJJtdcHs+EqFq/6eOGepGYY9ttjRionbV 57GSzvn5j0aL1ShVXOLCkEAkbxeWBcoQ8YlLDFoPrcR9+OZ5nDqPYfo4+ZJgaYQ/5p zGJlQ2CYoGoCVprnSUbgh/Z83EEiceRMwOnn1cfSBub5x3PbmBJjeBgKZR1aH/xdU/ utrLOx4+j7VngcMMO1YV5iTFOrzcpCaQ0QszkHKj4Doi0PxkRf0W2Nn9JnD9q0Ijvh rNKd8Lbxj1xY72TeUn7Hxsson17HCnRWXEuz49SDHZRnbD8P+bOFYCYlhcqLF3uoJa 0Dje904n5kwTQ== From: deller@kernel.org To: Richard Henderson , qemu-devel@nongnu.org Cc: deller@gmx.de Subject: [PATCH 1/5] target/hppa: Fix unaligned double word accesses for hppa64 Date: Sat, 2 Mar 2024 23:35:20 +0100 Message-ID: <20240302223524.24421-2-deller@kernel.org> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240302223524.24421-1-deller@kernel.org> References: <20240302223524.24421-1-deller@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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=139.178.84.217; envelope-from=deller@kernel.org; helo=dfw.source.kernel.org X-Spam_score_int: -71 X-Spam_score: -7.2 X-Spam_bar: ------- X-Spam_report: (-7.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.094, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @kernel.org) X-ZM-MESSAGEID: 1709419027662100001 Content-Type: text/plain; charset="utf-8" From: Guenter Roeck Unaligned 64-bit accesses were found in Linux to clobber carry bits, resulting in bad results if an arithmetic operation involving a carry bit was executed after an unaligned 64-bit operation. hppa 2.0 defines additional carry bits in PSW register bits 32..39. When restoring PSW after executing an unaligned instruction trap, those bits were not cleared and ended up to be active all the time. Clearing bit 32..39 in psw prior to restoring it solves the problem. Fixes: 931adff31478 ("target/hppa: Update cpu_hppa_get/put_psw for hppa64") Cc: Richard Henderson Cc: Charlie Jenkins Cc: Helge Deller Signed-off-by: Guenter Roeck Reviewed-by: Richard Henderson --- target/hppa/helper.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/target/hppa/helper.c b/target/hppa/helper.c index 859644c47a..7b798d1227 100644 --- a/target/hppa/helper.c +++ b/target/hppa/helper.c @@ -76,7 +76,12 @@ void cpu_hppa_put_psw(CPUHPPAState *env, target_ulong ps= w) } psw &=3D ~reserved; =20 - env->psw =3D psw & ~(PSW_N | PSW_V | PSW_CB); + if (hppa_is_pa20(env)) { + env->psw =3D psw & ~(PSW_N | PSW_V | PSW_CB | 0xff00000000ull); + } else { + env->psw =3D psw & ~(PSW_N | PSW_V | PSW_CB); + } + env->psw_n =3D (psw / PSW_N) & 1; env->psw_v =3D -((psw / PSW_V) & 1); =20 --=20 2.44.0 From nobody Tue Nov 26 06:31:03 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; 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=kernel.org ARC-Seal: i=1; a=rsa-sha256; t=1709418987; cv=none; d=zohomail.com; s=zohoarc; b=JPWw6WlsdbPBfexaTqLTnBygu0CYgjoiJkl7FPLfhu4tbA2gn5sfWOq2JgX6Gp6v6GAYbljqsEqogtnkgj3R3aXlXjW0vN/0+vmlY3ETd3mjC2oOj07rMs3iCpbyNL5QS6KXjSj+bhdzPzbUEAOZf5k31vQQzKfOeuFWEstBSUM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1709418987; h=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:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=HEcxFSYFz0mrG7KCVmJNL+U9gzGDrMxzPdJrq5o/dtM=; b=Qi/SuCzyBu+48tq3ZccYxq/62CvztsIptvahL3U1snkeFED4g0PfuHpOVu5tqSTRQhqR9X7x4PGshDrsuQEkgO3eEm1q5WEICcs0ohIUuf5YxnenURb1WVDqHyB355Q0fE6b6BzVNy9qxTWy0J+Zs+i2oUCkyHKCF0RLEVWt148= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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 1709418987344736.2180593786617; Sat, 2 Mar 2024 14:36:27 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rgXxK-0006AF-6x; Sat, 02 Mar 2024 17:35:46 -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 1rgXxG-00069P-Jr for qemu-devel@nongnu.org; Sat, 02 Mar 2024 17:35:42 -0500 Received: from sin.source.kernel.org ([145.40.73.55]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rgXxD-0003h0-VG for qemu-devel@nongnu.org; Sat, 02 Mar 2024 17:35:42 -0500 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 9A90CCE0E56; Sat, 2 Mar 2024 22:35:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F2884C433C7; Sat, 2 Mar 2024 22:35:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709418929; bh=H1D85PsxCikcpBoGzIuPNZM3ookZM27ORgB1MqAcUdI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=st+3lG8HjmKe+ElVac6VIng5HznaQFCP9sZHXUkod+Omg7WnJASBcTR0wBEU5uaV3 HV6kSIoQ7dBZe5I0Seznf/K67I4dJ7EPFHjyZhN5JlnPSotQq836YvGeTRPLfb2WdU 62jd4qPbVNezySKHjhchE2/SzSW60nA4UYhuwyUyZjL1bwo9oEsxkZovpOS1mTBnV8 PixZIhm1kUfgN4zeyfWi7ZuKOb4YPqXKVcrf4cvttBC1myDE2uCEzuYdz5WYei08Hi H9a2seoumXAGueyfozyD3XyVoFyzRCOeFUgthxYn71N80A86JCFIyCh4buwjJ0mLh9 F/6Th0jRfd9JQ== From: deller@kernel.org To: Richard Henderson , qemu-devel@nongnu.org Cc: deller@gmx.de Subject: [PATCH 2/5] target/hppa: Restore unwind_breg before calculating ior Date: Sat, 2 Mar 2024 23:35:21 +0100 Message-ID: <20240302223524.24421-3-deller@kernel.org> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240302223524.24421-1-deller@kernel.org> References: <20240302223524.24421-1-deller@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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=145.40.73.55; envelope-from=deller@kernel.org; helo=sin.source.kernel.org X-Spam_score_int: -44 X-Spam_score: -4.5 X-Spam_bar: ---- X-Spam_report: (-4.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.094, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @kernel.org) X-ZM-MESSAGEID: 1709418989580100004 Content-Type: text/plain; charset="utf-8" From: Helge Deller When calculating the IOR for the exception handlers, the current unwind_breg value is needed on 64-bit hppa machines. Restore that value by calling cpu_restore_state() earlier, which in turn calls hppa_restore_state_to_opc() which restores the unwind_breg for the current instruction. Signed-off-by: Helge Deller Fixes: 3824e0d643f3 ("target/hppa: Export function hppa_set_ior_and_isr()") Reviewed-by: Richard Henderson --- target/hppa/cpu.c | 3 ++- target/hppa/mem_helper.c | 3 ++- target/hppa/op_helper.c | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/target/hppa/cpu.c b/target/hppa/cpu.c index afe73d4474..3831cb6db2 100644 --- a/target/hppa/cpu.c +++ b/target/hppa/cpu.c @@ -121,9 +121,10 @@ void hppa_cpu_do_unaligned_access(CPUState *cs, vaddr = addr, CPUHPPAState *env =3D &cpu->env; =20 cs->exception_index =3D EXCP_UNALIGN; + cpu_restore_state(cs, retaddr); hppa_set_ior_and_isr(env, addr, MMU_IDX_MMU_DISABLED(mmu_idx)); =20 - cpu_loop_exit_restore(cs, retaddr); + cpu_loop_exit(cs); } #endif /* CONFIG_USER_ONLY */ =20 diff --git a/target/hppa/mem_helper.c b/target/hppa/mem_helper.c index 66b8fa7d72..3fc895c1c2 100644 --- a/target/hppa/mem_helper.c +++ b/target/hppa/mem_helper.c @@ -348,9 +348,10 @@ raise_exception_with_ior(CPUHPPAState *env, int excp, = uintptr_t retaddr, CPUState *cs =3D env_cpu(env); =20 cs->exception_index =3D excp; + cpu_restore_state(cs, retaddr); hppa_set_ior_and_isr(env, addr, mmu_disabled); =20 - cpu_loop_exit_restore(cs, retaddr); + cpu_loop_exit(cs); } =20 void hppa_cpu_do_transaction_failed(CPUState *cs, hwaddr physaddr, diff --git a/target/hppa/op_helper.c b/target/hppa/op_helper.c index b1f24a5aad..480fe80844 100644 --- a/target/hppa/op_helper.c +++ b/target/hppa/op_helper.c @@ -351,11 +351,12 @@ target_ulong HELPER(probe)(CPUHPPAState *env, target_= ulong addr, excp =3D hppa_get_physical_address(env, addr, mmu_idx, 0, &phys, &prot, NULL); if (excp >=3D 0) { + cpu_restore_state(env_cpu(env), GETPC()); hppa_set_ior_and_isr(env, addr, MMU_IDX_MMU_DISABLED(mmu_idx)); if (excp =3D=3D EXCP_DTLB_MISS) { excp =3D EXCP_NA_DTLB_MISS; } - hppa_dynamic_excp(env, excp, GETPC()); + helper_excp(env, excp); } return (want & prot) !=3D 0; #endif --=20 2.44.0 From nobody Tue Nov 26 06:31:03 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; 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=kernel.org ARC-Seal: i=1; a=rsa-sha256; t=1709419000; cv=none; d=zohomail.com; s=zohoarc; b=ZPFmERiycYxc02F0q1AP8kJYckm3wdvRMDey0d7+bJlmXnnKe7tIxWDiAZP5qwGrXX9uJ+tSFQpIdvcXTyGQ4WecPbH4KUjEvV60cr8S89/kqtstWE3Z376LaR6V4FoarZViYC1a/my8tgfnlnzY8G4pIeCpswg7z+KodY5cneA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1709419000; h=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:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=BZvuambmqyL2yU+LwmNbbWHpBRAQbb/zkIn9hlltIzE=; b=IeAg9RBFyBrCwtF79OxXhetEcL4WJioOaMYMuOZXHYYpkc6Sk0Abv23be3h/zDoMb/LwDVxxK2iKXhbgB7+1EbNroGanVvE7uFDtml5y2pegjZCZiG5MJbYDry6HtI+Hf7y8T7bcztLBOb4tZRAmDnjROWXugk4hotVmT1udaYg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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 1709419000401230.41323732487092; Sat, 2 Mar 2024 14:36:40 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rgXxU-0006DD-BO; Sat, 02 Mar 2024 17:35:56 -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 1rgXxK-0006AG-Gg for qemu-devel@nongnu.org; Sat, 02 Mar 2024 17:35:46 -0500 Received: from sin.source.kernel.org ([145.40.73.55]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rgXxE-0003h1-TC for qemu-devel@nongnu.org; Sat, 02 Mar 2024 17:35:44 -0500 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 099C0CE0E15; Sat, 2 Mar 2024 22:35:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 51706C433F1; Sat, 2 Mar 2024 22:35:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709418931; bh=kjP1Pa/oNAtFAL8Kl/hLJlc6NmMlJfTBR36+ya8MznM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jL27EwkuYjUc3ekYCpiHgB3zL6f4BdGtmUNaC45VpbumciW4A5cCWdEVDRkLJ1zAM 1qssfmqgNNs7ERcMw23hq6no2//0j/DqSwWmc3rTVagTCXE0RaBIQBcJdMkZiojT67 7ijjnS0Z8lMS2Wg5KGpC2XFz73KaJpW9yBciqfigP+EgcioNDGszcdtMhiwR/zHDC6 Oa7GVz1n4hoz4cIfZ8GWYMQ2cO8uPbzq8oFrAsvR2d1WpGsR0KlppKLwW9aUU3a17Q 4+08SjSq9rJ97LMLpTgGJWz2caVR0DX5BHb6+aGk7OmYmrbGiyFCk21gsJYWf9+Ms3 5Wqkdpwwa1Lcw== From: deller@kernel.org To: Richard Henderson , qemu-devel@nongnu.org Cc: deller@gmx.de Subject: [PATCH 3/5] pc-bios/meson: Add hppa-firmware64.img blob Date: Sat, 2 Mar 2024 23:35:22 +0100 Message-ID: <20240302223524.24421-4-deller@kernel.org> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240302223524.24421-1-deller@kernel.org> References: <20240302223524.24421-1-deller@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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=145.40.73.55; envelope-from=deller@kernel.org; helo=sin.source.kernel.org X-Spam_score_int: -44 X-Spam_score: -4.5 X-Spam_bar: ---- X-Spam_report: (-4.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.094, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @kernel.org) X-ZM-MESSAGEID: 1709419001611100001 Content-Type: text/plain; charset="utf-8" From: Helge Deller Add the missing 64-bit hppa firmware blob so that it gets installed. Signed-off-by: Helge Deller Fixes: 7c0dfcf9395e ("target/hppa: Update SeaBIOS-hppa to version 16") Reviewed-by: Richard Henderson --- pc-bios/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/pc-bios/meson.build b/pc-bios/meson.build index e67fa433a1..0760612bea 100644 --- a/pc-bios/meson.build +++ b/pc-bios/meson.build @@ -73,6 +73,7 @@ blobs =3D [ 'qemu_vga.ndrv', 'edk2-licenses.txt', 'hppa-firmware.img', + 'hppa-firmware64.img', 'opensbi-riscv32-generic-fw_dynamic.bin', 'opensbi-riscv64-generic-fw_dynamic.bin', 'npcm7xx_bootrom.bin', --=20 2.44.0 From nobody Tue Nov 26 06:31:03 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; 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=kernel.org ARC-Seal: i=1; a=rsa-sha256; t=1709419006; cv=none; d=zohomail.com; s=zohoarc; b=ODlMJrvKmGf0Gdtr9Kh8uwfC/PnvIHbr8tr5cyWUS3+Ank22PfOJVF/CDBlliquaIka3+6TO8Xn9O5P38uA5LfL5ttODAuIJyM8X62gSi5jmFb+L4DKruOTRA9KLZpO0WlEp49SIqWKRCElWZGiedhuCZlO408O2QBz/i6QIPxo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1709419006; h=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:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=NX6xltRzRWAKiuwxrvgW8+mpYAEeuaad2WwOc+vWOuY=; b=Ny2t83J0Pjf3B5H/VbweHRt7EuV30hs9vpHnQHCoopuSoVOvtJgOtEihptrhdjig2RQaxvIN5xhgkcB7gQnS0V7hWEjYb4ysfFOVZdmWaZOyhdK09uTbfGxpgwPkR0EIprPvgqmx5zXKXSRS8R+y9WxKqmgj7ommZJuw++fYgKw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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 1709419006577779.7068742081321; Sat, 2 Mar 2024 14:36:46 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rgXxM-0006AQ-7k; Sat, 02 Mar 2024 17:35:48 -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 1rgXxI-00069o-KU for qemu-devel@nongnu.org; Sat, 02 Mar 2024 17:35:45 -0500 Received: from sin.source.kernel.org ([145.40.73.55]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rgXxE-0003h8-T7 for qemu-devel@nongnu.org; Sat, 02 Mar 2024 17:35:43 -0500 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 68032CE0EA2; Sat, 2 Mar 2024 22:35:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AD5BEC43390; Sat, 2 Mar 2024 22:35:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709418932; bh=4Eqf7vy3Pugx/18Mi19bIFh3nWbHySqNUjbMF2ic1G4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JZgjJ7xg9LojlUBYoXgQFguxrSGR8kudqlu5RQC85dBSm2MtDQ4zq7yzJW6FU665j c3iL/n3Nhdl9mRWksCRheuVcNi/6SwsMT/TxFcstbME8fAy9r96OLt8PdLjcQXLnFC 6dCcXfCK0GPqyk+dYaP2DL8gk4Fd9INzR8Vu+JHftDqUWYhOf4qshuhABr3+VTXt/D /mpinCUuE6jSPG8quMv1OdAXSuyRL5asXOaIDb4fzWsv9+EIJE8hkw9V0nXrzMoocW XKiHXvdeOypwQQItopkCm3qipGvrqE1UYrOEWu5QJAIr7ex2RxKxZm9KbCMrGm2dtU 1Km0HlHe0yBgw== From: deller@kernel.org To: Richard Henderson , qemu-devel@nongnu.org Cc: deller@gmx.de Subject: [PATCH 4/5] pc-bios/README: Add information about hppa-firmware Date: Sat, 2 Mar 2024 23:35:23 +0100 Message-ID: <20240302223524.24421-5-deller@kernel.org> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240302223524.24421-1-deller@kernel.org> References: <20240302223524.24421-1-deller@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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=145.40.73.55; envelope-from=deller@kernel.org; helo=sin.source.kernel.org X-Spam_score_int: -44 X-Spam_score: -4.5 X-Spam_bar: ---- X-Spam_report: (-4.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.094, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @kernel.org) X-ZM-MESSAGEID: 1709419007567100001 Content-Type: text/plain; charset="utf-8" From: Helge Deller Signed-off-by: Helge Deller Reviewed-by: Richard Henderson --- pc-bios/README | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pc-bios/README b/pc-bios/README index b8a0210d24..6ffc46006e 100644 --- a/pc-bios/README +++ b/pc-bios/README @@ -75,3 +75,9 @@ initialize and run boot images stored in SPI flash, but may grow more features over time as needed. The source code is available at: https://github.com/google/vbootrom + +- hppa-firmware.img (32-bit) and hppa-firmware64.img (64-bit) are firmware + files for the HP-PARISC (hppa) architecture. + The are built form the SeaBIOS-hppa sources, which is a fork of SeaBIOS + adapted for hppa. + SeaBIOS-hppa is available at https://github.com/hdeller/seabios-hppa --=20 2.44.0 From nobody Tue Nov 26 06:31:03 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; 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=kernel.org ARC-Seal: i=1; a=rsa-sha256; t=1709419022; cv=none; d=zohomail.com; s=zohoarc; b=YtCoiGVUEH+vRsMiP13pf9YkC6IkL9FlQcZM/yJW9a0IvncUwozWd1fM4IV0wVtosU+Enow5+BHwuL76ZcunVkQIeX1TcCq8n3DH3fhRs03ua4vbndcD5VZoAbinYHVvvoCLVmBTQhduFsWJHSuoJA7ZGZBXW8SAHfqHo4AtfVs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1709419022; h=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:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=anB61vsP/YZUv0VFwJUSsq9YFL8ExkyNmhMXlI7mLnY=; b=Ofo2RJNKW7pjPLessR1rN1vpTgbal9NrNTixGo8wtYQz0CNv1llVK/3O63WfVvikLMBV8cupRHmMimmuiWtH4g9i7aZ8IQNtXnyjH09qTcuFXtqnpLf2TTZB/Pj6ytYnlhwOXfCD7QuSgT0kNjyd7Kx+bZx0cUzZe1KEkqChK7k= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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 1709419022785947.4721011531323; Sat, 2 Mar 2024 14:37:02 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rgXxR-0006BS-J7; Sat, 02 Mar 2024 17:35:53 -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 1rgXxI-00069q-Qp for qemu-devel@nongnu.org; Sat, 02 Mar 2024 17:35:45 -0500 Received: from sin.source.kernel.org ([145.40.73.55]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rgXxE-0003hG-T8 for qemu-devel@nongnu.org; Sat, 02 Mar 2024 17:35:44 -0500 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id B71E9CE0E9F; Sat, 2 Mar 2024 22:35:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1F6F1C433C7; Sat, 2 Mar 2024 22:35:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709418934; bh=JQ9YUOaP/MNthjzG+feEZ13KEK55SdT8GDW+dC2U7Pg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NVV5tanHSuLQmt7lMSOYV8qMTGACEX2I4hCvj/q2wtuVG6kBhnTEuIa9eTmzncFYu a7thdCNww5N6fuxVUkGTnATGZLyH21T9diFhJJo3+uSDa9FbVIjHjdqfKjBwnRQXl3 vg0zxKeLTo/l3Imf9t1BvRgQ4YFwjkDMymO9NiNQyy7E5R1j5auspG07Xaq++ZeOFh B32/F+pWDeZ6Emcmn4Hiv1913DlcbAq+jqRTROV+vvvTx3cAc82RsNoaRP83hQvVBb KxVJvtT9DazLHG0dspU0KlTsXggLPdpY/Su8dIlckgzmKl459XMgbozP9uEMZWIAxU Aq/qGSe4fsAxw== From: deller@kernel.org To: Richard Henderson , qemu-devel@nongnu.org Cc: deller@gmx.de Subject: [PATCH 5/5] roms/hppa: Add build rules for hppa-firmware Date: Sat, 2 Mar 2024 23:35:24 +0100 Message-ID: <20240302223524.24421-6-deller@kernel.org> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240302223524.24421-1-deller@kernel.org> References: <20240302223524.24421-1-deller@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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=145.40.73.55; envelope-from=deller@kernel.org; helo=sin.source.kernel.org X-Spam_score_int: -44 X-Spam_score: -4.5 X-Spam_bar: ---- X-Spam_report: (-4.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.094, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @kernel.org) X-ZM-MESSAGEID: 1709419023674100001 Content-Type: text/plain; charset="utf-8" From: Helge Deller Signed-off-by: Helge Deller Suggested-by: Michael Tokarev Reviewed-by: Richard Henderson --- roms/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/roms/Makefile b/roms/Makefile index 67f709ba2d..8e5d8d26a9 100644 --- a/roms/Makefile +++ b/roms/Makefile @@ -68,6 +68,7 @@ default help: @echo " opensbi32-generic -- update OpenSBI for 32-bit generic machine" @echo " opensbi64-generic -- update OpenSBI for 64-bit generic machine" @echo " qboot -- update qboot" + @echo " hppa-firmware -- update 32- and 64-bit hppa firmware" @echo " clean -- delete the files generated by the previous= " \ "build targets" =20 @@ -177,6 +178,11 @@ npcm7xx_bootrom: $(MAKE) -C vbootrom CROSS_COMPILE=3D$(arm_cross_prefix) cp vbootrom/npcm7xx_bootrom.bin ../pc-bios/npcm7xx_bootrom.bin =20 +hppa-firmware: + $(MAKE) -C seabios-hppa parisc + cp seabios-hppa/out/hppa-firmware.img ../pc-bios/ + cp seabios-hppa/out-64/hppa-firmware64.img ../pc-bios/ + clean: rm -rf seabios/.config seabios/out seabios/builds $(MAKE) -C ipxe/src veryclean @@ -189,3 +195,4 @@ clean: $(MAKE) -C opensbi clean $(MAKE) -C qboot clean $(MAKE) -C vbootrom clean + $(MAKE) -C seabios-hppa clean --=20 2.44.0