From owner-freebsd-arm@freebsd.org Mon Jan 11 20:47:30 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BC5A94E59C4 for ; Mon, 11 Jan 2021 20:47:30 +0000 (UTC) (envelope-from gbe@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DF5PG52f5z4rGD for ; Mon, 11 Jan 2021 20:47:30 +0000 (UTC) (envelope-from gbe@freebsd.org) Received: from localhost (p200300d5d72fc8d3f5eed7ab38520239.dip0.t-ipconnect.de [IPv6:2003:d5:d72f:c8d3:f5ee:d7ab:3852:239]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: gbe) by smtp.freebsd.org (Postfix) with ESMTPSA id 3CBCF5698 for ; Mon, 11 Jan 2021 20:47:30 +0000 (UTC) (envelope-from gbe@freebsd.org) Date: Mon, 11 Jan 2021 21:47:29 +0100 From: Gordon Bergling To: freebsd-arm@freebsd.org Subject: PR 252541: Early kernel panic on RPi4B (Too many early devmatch mappings) Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="uBN+xLgzKHpHD1n/" Content-Disposition: inline X-Url: X-Operating-System: FreeBSD 12.2-STABLE amd64 X-Host-Uptime: 9:40PM up 2 days, 7:50, 4 users, load averages: 0.14, 0.16, 0.19 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jan 2021 20:47:30 -0000 --uBN+xLgzKHpHD1n/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, I am currently investigating PR 252541 (Too many early devmatch mappings) [1]. The kernel panic happends on the RPi4B. Has anyone successfully booted a rivision on the RPi4B after: --------------------------------------------------------------------------------- commit e83fdf8bb391579fa422d34663cd8c1f82a00dc0 Author: Chuck Tuffli AuthorDate: 2021-01-08 22:36:37 +0000 Commit: Chuck Tuffli CommitDate: 2021-01-08 22:41:45 +0000 fix big-endian platforms after 6733401935f8 The NVMe byte-swap routines for big-endian platforms used memcpy() to move the unaligned 64-bit value into a temp register to byte swap it. Instead of introducing a dependency, manually byte-swap the values in place. --------------------------------------------------------------------------------- --Gordon [1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252541 --uBN+xLgzKHpHD1n/ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEEYbWI0KY5X7yH/Fy4OQX2V8rP09wFAl/8uUxfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDYx QjU4OEQwQTYzOTVGQkM4N0ZDNUNCODM5MDVGNjU3Q0FDRkQzREMACgkQOQX2V8rP 09zwMwgA9VYu+Z1eh6JxSoG1s55Cxom6FDMHz9uVW/OIzvk76PvW30cDxKBmlDhy n52IdeOsBTFxHd0ZXDL3tixTgliyC9DFFvIKcMlxrGTslpM6LU9k1RdncukSYTOj S9XiVkxFrSUDnT5jLb2CIw1xrhe/AFzCrRWVrdUs1ghidUZeWPmnYNSWKOGxUIc9 bW1QjGc2E1TNQbVh8gB7AlufbYaZOKC+SihAURbJrctpmUL5/b0JDlBtf2Y+14KG eU8eqm1UYFKCA1V8SXeSy4GSVIe/4jTOd1dM40mqMO+IcEKyjF76oAYcl1ep156a 1WKGS5SA/GtehJH9zMOS/miv03mU+w== =tsmG -----END PGP SIGNATURE----- --uBN+xLgzKHpHD1n/--