From nobody Wed Nov 3 09:31:54 2021 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 EF5C41830436; Wed, 3 Nov 2021 09:32:22 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from vtr.rulingia.com (vtr.rulingia.com [IPv6:2001:19f0:5801:ebe:5400:1ff:fe53:30fd]) (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 "vtr.rulingia.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HkhPd5N0Kz3s0Y; Wed, 3 Nov 2021 09:32:21 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from server.rulingia.com (2001-44b8-31fc-0d00-4c2a-0fcd-57f9-83b1.static.ipv6.internode.on.net [IPv6:2001:44b8:31fc:d00:4c2a:fcd:57f9:83b1]) by vtr.rulingia.com (8.16.1/8.16.1) with ESMTPS id 1A39W0jB094411 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=OK); Wed, 3 Nov 2021 20:32:07 +1100 (AEDT) (envelope-from peter@rulingia.com) DKIM-Filter: OpenDKIM Filter v2.10.3 vtr.rulingia.com 1A39W0jB094411 X-Bogosity: Ham, spamicity=0.000000 Received: from server.rulingia.com (localhost.rulingia.com [127.0.0.1]) by server.rulingia.com (8.16.1/8.16.1) with ESMTPS id 1A39VsVs045646 (version=TLSv1.3 cipher=AEAD-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 3 Nov 2021 20:31:54 +1100 (AEDT) (envelope-from peter@server.rulingia.com) Received: (from peter@localhost) by server.rulingia.com (8.16.1/8.16.1/Submit) id 1A39Vsvf045645; Wed, 3 Nov 2021 20:31:54 +1100 (AEDT) (envelope-from peter) Date: Wed, 3 Nov 2021 20:31:54 +1100 From: Peter Jeremy To: Warner Losh Cc: "freebsd-arch@freebsd.org" , freebsd-arm@freebsd.org Subject: Re: FreeBSD 14: Poll armv6 deprecated or removed Message-ID: References: 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 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="rXZ1f9vA0uE8OmOA" Content-Disposition: inline In-Reply-To: X-PGP-Key: http://www.rulingia.com/keys/peter.pgp X-Rspamd-Queue-Id: 4HkhPd5N0Kz3s0Y X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=quarantine) header.from=rulingia.com; spf=pass (mx1.freebsd.org: domain of peter@rulingia.com designates 2001:19f0:5801:ebe:5400:1ff:fe53:30fd as permitted sender) smtp.mailfrom=peter@rulingia.com X-Spamd-Result: default: False [-5.87 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; ARC_NA(0.00)[]; FREEFALL_USER(0.00)[peter]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; NEURAL_HAM_SHORT(-0.97)[-0.969]; DMARC_POLICY_ALLOW(-0.50)[rulingia.com,quarantine]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:20473, ipnet:2001:19f0:5800::/38, country:US]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N --rXZ1f9vA0uE8OmOA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2021-Oct-28 09:37:03 -0600, Warner Losh wrote: >Given that the number of available and useful armv6 boards has fallen to >almost zero, the time has come to look hard at armv6. So far as I can tell, the only supported armv6 boards are the RPi variants using the BCM2835. According to Wikipedia, most of these boards are still available but when I look at the Element14 and RS websites, the only board I can find is the Compute Module (though it's on backorder). What is the direct benefit of removing the armv6 code? When 80386 removal was proposed, it included an explanation of the benefits of getting rid of all the support code in the VM subsystem. Another point that may be relevant is that when GCC introduced support for the ARMv6KZ architecture, it misspelt it as ARMv6ZK. Whilst the typo was corrected in GCC and never existed in Clang, the misspelling has leaked into a variety of FOSS - including contrib code in FreeBSD. Such code will either be missing relevant optimisations or, at worst, fail to compile on/for the RPi. >1. Keep it as is. >2. Stop building packages. >2a. We should likely do this anyway for all stable branches >3. Disconnect it from universe: >4. Remove support for armv6 in base entirely. > >So, which of these steps do we do before FreeBSD 14 and which before >FreeBSD 15? > >My vote would be to do 1-4 for 14 including 2a. Since FreeBSD-13 will be supported until early 2026, by which time the supported RPi hardware will be 10 years old, it would seem reasonable to remove armv6 prior to FreeBSD-14. --=20 Peter Jeremy --rXZ1f9vA0uE8OmOA Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEE7rKYbDBnHnTmXCJ+FqWXoOSiCzQFAmGCVv9fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEVF QjI5ODZDMzA2NzFFNzRFNjVDMjI3RTE2QTU5N0EwRTRBMjBCMzQACgkQFqWXoOSi CzQjlg//R9wIc9+3Sv3ySbiHyVGcfANQlK+g2fP3HzuP1jJZA26UOETIxpSzzmL4 JFbXBYzDiGZNiYvU4kYD57yDEfI1bCaXWMy6EKH9thFL5I8cecsC4z+JQWUmA3gU w5Zk1yrXcicyYzt1fbUUo2hWnzIILqYuVj9KAgkvpeXSSVOMpKFT3r5p9+YvkbqG Hu5F7ShgHdi0K+ghqyuugPY8vLaP761PSRRbrCU8vOnYjqH4lQmW+sf6FRCb77ku ZxaZbBtsyYjhjhTQTtO9tdX/DnlD4CX1R2OqidWrYNUlegLm4Q59yFHDP20qGAPu 5DyihmVQzTe1UvWwonYTxaUOZOc3SBsVd/CYWtvuC6AUQctBEK0nMK8CWJnJ3Ygh 2/0j69gEdBFX4Am+9eg6ZK5jBttfvIYXI4Nkg+Zx3XxoYjp6ArFH5VxukJLU3wSO 1UiL1IdBMwmQFh54UNuBhDIl+iZGuRce+69pqa04IipZQ6i1KUBrQaQxLW3him+g KUcJO5/AhqjrmdRIzK80ZUBrcD2xcXH15vmubod4E8v/0l/Gcsxm2tDOMk8MoRED k8AEn8Gur2JHeCDL5XkecgIuD+S+StJ8K2tzzXBXZVc000jZETQcG4Pv1T5OFc6v G+kKDgZWxlsA1fQI468nvYQ0yzOYlNNI3Y3fufsCQ6HLkQWQbR4= =efy2 -----END PGP SIGNATURE----- --rXZ1f9vA0uE8OmOA--