From nobody Thu Sep 21 19:01:28 2023 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Rs4Wb3BhTz4trLy for ; Thu, 21 Sep 2023 19:01:47 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic305-20.consmr.mail.gq1.yahoo.com (sonic305-20.consmr.mail.gq1.yahoo.com [98.137.64.83]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Rs4WZ4gVvz3Q3v for ; Thu, 21 Sep 2023 19:01:46 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=oMn9stuK; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.64.83 as permitted sender) smtp.mailfrom=marklmi@yahoo.com; dmarc=pass (policy=reject) header.from=yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1695322904; bh=SSA3RAUrsO/J5XwGcSXN0E6VxvTNRtaX0ca/I0OBRR0=; h=From:Subject:Date:To:References:From:Subject:Reply-To; b=oMn9stuKXkuxrlQxTBBTWOVJV31U06I3vfyTu5XBY6MOeMxpYxEm9jNr3t2J8Sz2Bn4AfBscpaJvveAM6s5gYKZo2U36FvadAG6s5IrBsGqwBPEXRtIBtjrTPGyOJ1EZMBE/24P1vLDUne50499mBVqCkduEASoMe+uWLa8yeXqgBJ/4etg+PwmYB+fjkIRcsS1PHUWQdqEpSBn43Glv+KGNUr0gVgSyJHIjEJMgMI9lsNlIbov0ayGhsts+INhs9mKgIcPeNW8TFjuqDoQCf96sEQI111XhSGher1AEWGy/Cf7VLG0CowmZZj1N0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Np3IO8FJ1O_Rmx6JeSNfyG2ExiHPl6MD8oC_hNESZjo h6Y6WEpQ_tr_h31.D00jcqtgb6vRqbMdM0PF9eJ8PDHOnfv7dI2enLYgmvDRLFmFD2rQg1W3DBFN EJ_xVTxPJLW7MSV4uavYyfYkdV0LhG1Apeek3tDjIvPbHaBR1v_MevrJTqtoA3hpYI5uh.76DpWV w5Pc8xju2CQ7ouBucaVOJjQ9oSeGUXlp4G26p71uIfuAc9xonSWkFyhNB3S1r_xKzzBKkaph1K.f svnAi58j2_nHB1scVyLuHchoRMCcL2u1FGmnq6dKGZ_A0UrGWy8Q16yiMws6p3uP.efGO0sOVrPI 0aaILQUivchg7uEIuk3wjGRS1R0X2AeHo0nn_Ics87cnq8wsMIwskhRRXSQvH1wei3keHeG7cp.n JFFJWFEWHCChXa5mUifH6KXXyKMjXOiw47iboS_lOplYqsXTVeUoAHTObsEZU4zmIoSPI8RLcUQV 5GwwFU9O6wWK4uDiYcCHZlax9LATXn50HaPK8bNVqbf5fd_aIoHtaMBnpDs3W0bXHnYVK5tQ09xE GIPHMy_WsXksV5N.IjCQIpfk1Jk6G_TsTS3EU0zA8R.O5F9cagP7Py2wdL88AU4pr1gsPpuKLRgP K3QVPt_Qr0bNhxy25lhDOS6vO_jESlVDKK1_ImvDHrpeCKSTJl.0LDQDsH4YNUCbJWu.Nxba87Pf ENQ-- X-Sonic-MF: X-Sonic-ID: 12b527f5-09b1-480a-b43b-d4e4328e36fb Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.gq1.yahoo.com with HTTP; Thu, 21 Sep 2023 19:01:44 +0000 Received: by hermes--production-ne1-6cbd549489-vpng9 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 3acc28e334888dc73d33567fe9f141d0; Thu, 21 Sep 2023 19:01:40 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) Subject: FYI: snapshot images FreeBSD-15.0-CURRENT-arm64-aarch64*230921-febba4622b60-265435*.img* panic on cortex-A57/72/73/75 Message-Id: <532BA242-06CD-4C3F-A1A5-428A9626A9E5@yahoo.com> Date: Thu, 21 Sep 2023 12:01:28 -0700 To: Glen Barber , FreeBSD ARM List X-Mailer: Apple Mail (2.3731.700.6) References: <532BA242-06CD-4C3F-A1A5-428A9626A9E5.ref@yahoo.com> X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.47 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.97)[-0.967]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; ARC_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.83:from]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.64.83:from]; DKIM_TRACE(0.00)[yahoo.com:+]; TO_DN_ALL(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MID_RHS_MATCH_FROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4Rs4WZ4gVvz3Q3v The snapshot images: FreeBSD-15.0-CURRENT-arm64-aarch64*230921-febba4622b60-265435*.img* are all missing the following later update and, so, get a panic on Coretex-A57/A72/A73/A75 based systems. The panic message is: panic: Assertion smccc_version !=3D 0 failed at = /usr/src/sys/dev/psci/smccc.c:81 The missing change is . . . URL: = https://cgit.FreeBSD.org/src/commit/?id=3D843bea18711d726cd2f0a3c3f9144b21= 8e4de3e8 commit 843bea18711d726cd2f0a3c3f9144b218e4de3e8 Author: Andrew Turner AuthorDate: 2023-09-21 09:32:55 +0000 Commit: Andrew Turner CommitDate: 2023-09-21 09:32:55 +0000 arm64: Move all BP hardening quirks later =20 Some quirks were missed due to the change being initially written on = a branch where they are all merged. Move all calls to install_psci_bp_hardening until after device drivers have attached. =20 Sponsored by: Arm Ltd --- sys/arm64/arm64/cpu_errata.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/arm64/arm64/cpu_errata.c b/sys/arm64/arm64/cpu_errata.c index 6c294ff1237c..fee22240bb0e 100644 --- a/sys/arm64/arm64/cpu_errata.c +++ b/sys/arm64/arm64/cpu_errata.c @@ -67,21 +67,25 @@ static struct cpu_quirks cpu_quirks[] =3D { .midr_mask =3D CPU_IMPL_MASK | CPU_PART_MASK, .midr_value =3D CPU_ID_RAW(CPU_IMPL_ARM, = CPU_PART_CORTEX_A57,0,0), .quirk_install =3D install_psci_bp_hardening, + .flags =3D CPU_QUIRK_POST_DEVICE, }, { .midr_mask =3D CPU_IMPL_MASK | CPU_PART_MASK, .midr_value =3D CPU_ID_RAW(CPU_IMPL_ARM, = CPU_PART_CORTEX_A72,0,0), .quirk_install =3D install_psci_bp_hardening, + .flags =3D CPU_QUIRK_POST_DEVICE, }, { .midr_mask =3D CPU_IMPL_MASK | CPU_PART_MASK, .midr_value =3D CPU_ID_RAW(CPU_IMPL_ARM, = CPU_PART_CORTEX_A73,0,0), .quirk_install =3D install_psci_bp_hardening, + .flags =3D CPU_QUIRK_POST_DEVICE, }, { .midr_mask =3D CPU_IMPL_MASK | CPU_PART_MASK, .midr_value =3D CPU_ID_RAW(CPU_IMPL_ARM, = CPU_PART_CORTEX_A75,0,0), .quirk_install =3D install_psci_bp_hardening, + .flags =3D CPU_QUIRK_POST_DEVICE, }, { .midr_mask =3D CPU_IMPL_MASK | CPU_PART_MASK, =3D=3D=3D Mark Millard marklmi at yahoo.com