From nobody Tue Nov 26 06:34:22 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=1709444847; cv=none; d=zohomail.com; s=zohoarc; b=M8fFMq7T5T0TYxSRT3ZGV3Tw4V7rDHy4OXwcBRZnygSOjExm2Nz4YOOYBTWvY99mQo57GShAzNLaYwOoGLJC2cA2z2G6q4aqVlT0omFRx8If2pX9Ms1AgQyPqRoV4S8VRwnSul+Sa6CMDj+stxWZPme43qAC+flBuYdESW+YXkM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1709444847; 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=zb7djeMcYQvbLoojCcQfk9bah4IakysiR8ZhJ2JzaXA=; b=A3U9B8FEB6ExoQEQ9tk8F9ojYNJgdGTNBa1yBgRZr9xxoIONDrdKL4ZDiVxFt2cdBIRgE+lHdtwmGyuuh+4JBG79rUB4/1i0JYY80D4gMdimJt+0RR90sb0zRncxO1avg0UnidW5S/e+DGxjogq7A/Bgs1qGSsJgrhu+RxinEew= 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 1709444847514525.2270299465853; Sat, 2 Mar 2024 21:47:27 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rgegY-0006N6-S6; Sun, 03 Mar 2024 00:46:54 -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 1rgegX-0006Mh-AK for qemu-devel@nongnu.org; Sun, 03 Mar 2024 00:46:53 -0500 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rgegV-0003Su-S1 for qemu-devel@nongnu.org; Sun, 03 Mar 2024 00:46:53 -0500 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 9C81760C2B; Sun, 3 Mar 2024 05:46:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F3989C433C7; Sun, 3 Mar 2024 05:46:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709444810; bh=a9DjyL7Kb/8nZ96CbZM91Omz+z9llahcCJYvcimBSS4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uY37Sz3ZsQHeeQ/P5lRd2RbrNvNOnx/+UrBPZ1xu+qJqn2UIniBz79293DKUKQtjo tnx/EyJSJiP1nQbk307F7g/Q1CP9elDN5P6mgN2golRcrdKOzQ/LQqlNpYQXMdiiW8 JSfNSrQiXkN7cwY7vmPRqTKDdxz13VF1feRCQqSwkdaDcUwk9yhfhzbuAgLh2kM3Xj IzKVACUOLZXY4cHUReDDOaG9HOTPWSpjvL9G5QE59uh/8pBU52ggvyqdEFwm5aT5bC jkXDVF0pRHzB32UDLj1QL/PbuQpE86CQcFqPTNJTAMhisYjQN96kgVyX57R8BZLaQr p+puwdPu6QC1w== From: deller@kernel.org To: qemu-devel@nongnu.org, Richard Henderson Cc: deller@gmx.de, Guenter Roeck , Charlie Jenkins Subject: [PULL 1/5] target: hppa: Fix unaligned double word accesses for hppa64 Date: Sun, 3 Mar 2024 06:46:41 +0100 Message-ID: <20240303054645.3004-2-deller@kernel.org> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240303054645.3004-1-deller@kernel.org> References: <20240303054645.3004-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=2604:1380:4641:c500::1; envelope-from=deller@kernel.org; helo=dfw.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: 1709444848098100002 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. Since there are no bits other than the upper carry bits needed in the upper 32 bit of env->psw and since those are stored in env->psw_cb, just clear the entire upper 32 bit when storing psw to solve the problem unconditionally. Fixes: 931adff31478 ("target/hppa: Update cpu_hppa_get/put_psw for hppa64") Cc: Richard Henderson Cc: Charlie Jenkins Cc: Helge Deller Reviewed-by: Richard Henderson Signed-off-by: Guenter Roeck Signed-off-by: Helge Deller --- target/hppa/helper.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target/hppa/helper.c b/target/hppa/helper.c index 859644c47a..9d217d051c 100644 --- a/target/hppa/helper.c +++ b/target/hppa/helper.c @@ -76,7 +76,8 @@ void cpu_hppa_put_psw(CPUHPPAState *env, target_ulong psw) } psw &=3D ~reserved; =20 - env->psw =3D psw & ~(PSW_N | PSW_V | PSW_CB); + env->psw =3D psw & (uint32_t)~(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:34:22 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=1709444847; cv=none; d=zohomail.com; s=zohoarc; b=Y2RSSSZgRPTU3X4NLGV6O6ahwrXnZbD02Y95hjdz/i7yivIyvnZZt+z4U1epwCY/86mLKbd/yo+tAgjiZDDYE8HIaDuVHx4b8GQBwM9+eiAxKhFHWDFm2alkNuTTc17W1brUngxRe5jlziipEtK5b2Wc3VApeM6RYzy6FQf7s5o= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1709444847; 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=dHAjxhqi6A/ig3pOleXx9R2lJXIOTYqWmmFIMxQ2WRI=; b=TToePxF8QdJC0uhbI8+N6yqSlmb/C2x7XjeW3n9JXCJB4xHNig1iNHFkiAWanR8RbdinvNvq7Tec3f726Uacak2rX4PoeTJ7Os+PdI/o5XiVxm+KCupKaBUIxSP6sK4vg1Stf20lAaL8Jvv3/C/1ebEblZyH+VO8dsy3RgscB28= 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 1709444847202533.3238639271988; Sat, 2 Mar 2024 21:47:27 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rgegh-0006OX-JM; Sun, 03 Mar 2024 00:47: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 1rgegc-0006Nr-Ir for qemu-devel@nongnu.org; Sun, 03 Mar 2024 00:46:58 -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 1rgega-0003TC-IH for qemu-devel@nongnu.org; Sun, 03 Mar 2024 00:46:58 -0500 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 677AECE0BA2; Sun, 3 Mar 2024 05:46:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BAF38C433C7; Sun, 3 Mar 2024 05:46:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709444811; bh=TEWdzILrV4pLmXqhMjDi4BO8XrxiN8CRUX+btOJyJas=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qjP0SY6bB6IXD6yWk/f7/IqKCfCBqBVwhga0+zhiM3IbSYhfagHVoArGpyfDyKd8i j7pPYt0XXgJ8w7WWIaSfzDnPXCjsPwqbpyrz7n6zgZm4gR4nIFiLdhEqPr3XWttJl6 6pVS1VmH+zWdDtk3gaJcKi/6m4v3t/e9GzAhWfs+qvE3YZI/bYvybUe95K15Z7RM2T /9IHEWHkvodyAu5xplQ7e3QtwedXTsO3FizSOJkuvMqFcnoJOtOEykNkQYKBbOVimf FS6i1PhpWZOCvWsVTxHP1eNsm+oYh3u5zknhFzpdtmtIvCcp+gFujYQSdWSZDWLcJy 02ti1SSaf0viw== From: deller@kernel.org To: qemu-devel@nongnu.org, Richard Henderson Cc: deller@gmx.de Subject: [PULL 2/5] target/hppa: Restore unwind_breg before calculating ior Date: Sun, 3 Mar 2024 06:46:42 +0100 Message-ID: <20240303054645.3004-3-deller@kernel.org> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240303054645.3004-1-deller@kernel.org> References: <20240303054645.3004-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: 1709444848093100001 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:34:22 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=1709444862; cv=none; d=zohomail.com; s=zohoarc; b=XpJJP1HmnwFaM0SIgaic/z4b3u21cC1sSKCt21ffqVyJjvxLJ5VUXTdZHeFSHbD+AmzgXnsyZkGVHV7n5MTwVDwgkXxGAEIk5NeSIw9/3q8KnG4HeugOnfQEhnMbbEe671mqxVi/A4Ea0UwknmZ36VoCD/zaKWGeOls2tfkKYmQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1709444862; 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=x2leJz/qPgpNyC8/sill2op27hVZSA8Kfz+ryRByzIM=; b=fZx/XxxbNa8XT2T+hjGl0OCnnuD2v/PUDrRk8QeuXV70EfHKFYZsp1xyUCYstjFc7cor2bdFXvtWk+EdZPrBJQ8HBuwHOW0FuD9LlrWmWHLI02g9tIDzc9UyO1/5FoJwrP3HixLrd68VpZozByjnDhHPK64YbUiNXxqSl44F93U= 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 1709444862577536.4069036945; Sat, 2 Mar 2024 21:47:42 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rgegn-0006PQ-NV; Sun, 03 Mar 2024 00:47:09 -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 1rgegc-0006Nh-5t for qemu-devel@nongnu.org; Sun, 03 Mar 2024 00:46:58 -0500 Received: from sin.source.kernel.org ([2604:1380:40e1:4800::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rgega-0003TE-IL for qemu-devel@nongnu.org; Sun, 03 Mar 2024 00:46:57 -0500 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id CD8E5CE0174; Sun, 3 Mar 2024 05:46:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 243D8C433F1; Sun, 3 Mar 2024 05:46:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709444813; bh=XLfvXG7l/UK5yykmyD2ewRRa6oMf5P67/E/qzGj65rs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=U4IOwRGaV60n3m//NpTjHfV3Nv2OJswySjXb25KjEs1jR6rBsxkMbZIkFnDjcOKRi /J6jfqBbWg/QxdkSrxR5TtgcA4VDXtff2h2JGu9aXs+HEc6rTMRfJFTpPtxsPlf1Ln +w7lGHgs/yY7GboSyEgD6h0ki+u9a4jc2x6D4tTVRrOvT0Uam2Um2soh5wkFjlyvjN DAU44M9buyMRVkXygEyab4eheNkA8A3bFCSQS68VdaumPZi3R9h7SxrKywcZtrsMFo Du40u6bLHi6ipkDqiZ8ih2UvF0bxv6v9YKCo9kTe6EkFhqwkyAAkM1Lv8dM+PhZcBF F3C1brb+cNOqA== From: deller@kernel.org To: qemu-devel@nongnu.org, Richard Henderson Cc: deller@gmx.de Subject: [PULL 3/5] pc-bios/meson: Add hppa-firmware64.img blob Date: Sun, 3 Mar 2024 06:46:43 +0100 Message-ID: <20240303054645.3004-4-deller@kernel.org> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240303054645.3004-1-deller@kernel.org> References: <20240303054645.3004-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=2604:1380:40e1:4800::1; 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: 1709444863991100001 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:34:22 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=1709444885; cv=none; d=zohomail.com; s=zohoarc; b=Ap6LV1TVMViSNhMqrDfnP4G+GOrRzRJo8n4LzVpLZAjRHH3wCnDnMsKalT//62GK5if45RK/GGvhIvBOJTgxdS35afA+xOTkWOx8exBqY5LChjac04XZX/Eom9sGnm9IcAeiDD4Nv2WSIWpvGn1RlHXEZ/lHaGOx7++yuUzEY2c= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1709444885; 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=NkxxisEyzF0xXtXTggM7n5nwlXtxYqybXTusWi01xUc=; b=FsEY0M9fPCG5oxAdh2HrportzCjXLZ5KKY2aCsM9neXM57nbdUJVm1FbapJoKEiHiyCj7A8BvO+vhu7OhcBZaWCSIyCTgvYOrj/PqEUOGwpt0yYb6TYMGXk/kusswQmchP31MteXh2jcBmWqGzf9q384YusUX1Rb8kiDNNndDGo= 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 1709444885085413.3261585973903; Sat, 2 Mar 2024 21:48:05 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rgegf-0006OH-LO; Sun, 03 Mar 2024 00:47:02 -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 1rgegb-0006NZ-D4 for qemu-devel@nongnu.org; Sun, 03 Mar 2024 00:46:57 -0500 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rgegZ-0003TG-Or for qemu-devel@nongnu.org; Sun, 03 Mar 2024 00:46:57 -0500 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id D186560D30; Sun, 3 Mar 2024 05:46:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8ACCBC43390; Sun, 3 Mar 2024 05:46:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709444814; bh=8SYw1jn1vfJ84+dFSZug51KEovglt1a3pWdQ04RPSG8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MeAgrqSixaU2qs8KUDhbOM10Gals7fS+SoZgK+IQNn8hT01zYQOcCpDXI6KlbIfvF qgAHlG9r4+bwVZcW76gjhFZIU4XvePfpOStyeyB1gFlnIU/OBWOWY4RjdpMF6G+JIx ZXLPyNC0Ni5AsgLmSk531rlF7XuSPNhl97re/eH1LQOvirSh9GQMtfv4Jp1ARZhWkL 4hE/PWaY1gfl+tia3CdgWGNFcYW+wbX27pWque2GHLaxgEYQYc7giY6svIhZqhsVKE F2pxHQT3HXbyyxY9e7eRbLMNXtIn7ZxNcSNqC1ioDoR4+H/8jBerCL+hjJwmbhn06Q nDZ9kf/3FrNqw== From: deller@kernel.org To: qemu-devel@nongnu.org, Richard Henderson Cc: deller@gmx.de Subject: [PULL 4/5] pc-bios/README: Add information about hppa-firmware Date: Sun, 3 Mar 2024 06:46:44 +0100 Message-ID: <20240303054645.3004-5-deller@kernel.org> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240303054645.3004-1-deller@kernel.org> References: <20240303054645.3004-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=2604:1380:4641:c500::1; envelope-from=deller@kernel.org; helo=dfw.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: 1709444885997100001 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..7ffb2f43a4 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. + They 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:34:22 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=1709444870; cv=none; d=zohomail.com; s=zohoarc; b=aEoe4/eITa7EkLc0fXQehHm1D5kdI9VsaisaDjjKSxQcPezXIUnCaii7fyWE0BT5tRfrg4iyLfEn7tYKoS3NHKA7+mToXzRfS4dfmX2wAwE7vgNyQuSDFghiiPcCi4R8twg6s/pyAiO84yiyGFmz1xJ7yMKnckgzW9ruhWXer4c= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1709444870; 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=9CRb9UXvDHK/7+alLlTRJVdqVEAwyrKUObhOg0bVEdg=; b=J+ZqKHd6yfOLd362LUMBEtD3f0Y6873Osk96P37hb8eum4RmspVDURkoBcV4kqFbTkarEzqCBMpwhbGZ6Wxdv6mSIilLs+ovf9pBM7OwjB5XvDNsIQuEk+AgK3CDKBhnuR3gLLSBxGQvuml5XoYkHU382PDcagqBFUQW6gpSOCk= 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 1709444870876475.68561193780715; Sat, 2 Mar 2024 21:47:50 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rgegq-0006Pv-Ct; Sun, 03 Mar 2024 00:47:12 -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 1rgegh-0006Ob-JV for qemu-devel@nongnu.org; Sun, 03 Mar 2024 00:47:03 -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 1rgegd-0003TU-NY for qemu-devel@nongnu.org; Sun, 03 Mar 2024 00:47:02 -0500 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id CCCD8CE0BA6; Sun, 3 Mar 2024 05:46:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F195CC433F1; Sun, 3 Mar 2024 05:46:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709444816; bh=z/QJxjIL3f5HKAc3bOq4+8/xgcWjlF0EBM91SM1pGdo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fHcIZd1ZjfT2ptFTSal7OTy7YyfYlRqeYDwLAnyZeEEwlY4RBYysnJGRsveKbgC5B LRZ9GooCoCXzC+Od0sDZMG8G//MHImPOJmqF2I9qlLaENZMR8OZ2tYs/ULs2eJx18Y ZDgxujIpjQcqk9O+C+pH1S0ugiFRkmf3WIVn+HElzEQQZ47ju10Y4d5uB6s8ru74ti cCoPu8rJ+v2KPqeyyRqcPB5mmCAZJRm6aO92TzRx6fVKVvo1VytCw+M4TOrE/ssdTr K23goQ9FPxRzyppv1U1EAqhar8JJwRFhuxPzZ1cStBbmpouPh0ZiHjXC7jjZVCvXNZ lq2TFuvfIBCuw== From: deller@kernel.org To: qemu-devel@nongnu.org, Richard Henderson Cc: deller@gmx.de, Michael Tokarev Subject: [PULL 5/5] roms/hppa: Add build rules for hppa-firmware Date: Sun, 3 Mar 2024 06:46:45 +0100 Message-ID: <20240303054645.3004-6-deller@kernel.org> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240303054645.3004-1-deller@kernel.org> References: <20240303054645.3004-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: 1709444871976100001 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