From nobody Tue May 13 02:40:05 2025 X-Original-To: dev-commits-src-all@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 4ZxLLK5rjFz5wC4T; Tue, 13 May 2025 02:40:25 +0000 (UTC) (envelope-from chmeee@has.gonegalt.net) Received: from mail.gonegalt.net (mail.gonegalt.net [208.167.253.104]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZxLLK23tGz4Mvy; Tue, 13 May 2025 02:40:25 +0000 (UTC) (envelope-from chmeee@has.gonegalt.net) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gonegalt.net; s=dkim; t=1747104016; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=U2hVJpsSEymSnHWaR/5yAJCFkiYSEawooOf3vjLJO7g=; b=PGpwHf18M1J2PgA8XyUeusSh3PHe7gmug0+qiYUIT0t/w1exL16U+6lyjLQc9OwuSvVGYD teVP54EJGHqr/WGSKgat5/HOb54wEf6dHiV0GBg9kvMsNQFBsWQ/CweHFSNA29zw1qf5gi T2H1EToHcVWJ7nu5JGsiJm7iSZLhMd4= Received: by localhost (OpenSMTPD) with ESMTP id 37d20230; Mon, 12 May 2025 22:40:15 -0400 (EDT) Received: from smtpclient.apple ([192.168.1.18]) by mail.gonegalt.net with ESMTPSA id fl95NA+xImhAdwAA0J78UA (envelope-from ); Mon, 12 May 2025 22:40:15 -0400 Content-Type: text/plain; charset=us-ascii List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.500.181.1.5\)) Subject: Re: git: c4921a0faaf1 - main - powerpc: Always use BE tag in nexus_map_resource From: Justin Hibbits In-Reply-To: <202505130228.54D2Sxfb009535@gitrepo.freebsd.org> Date: Mon, 12 May 2025 22:40:05 -0400 Cc: "src-committers@freebsd.org" , "dev-commits-src-all@freebsd.org" , "dev-commits-src-main@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <6408B2A6-43EA-4F43-B33D-537631D081A0@has.gonegalt.net> References: <202505130228.54D2Sxfb009535@gitrepo.freebsd.org> To: Justin Hibbits X-Mailer: Apple Mail (2.3826.500.181.1.5) X-Rspamd-Queue-Id: 4ZxLLK23tGz4Mvy X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:20473, ipnet:208.167.224.0/19, country:US] X-Spamd-Bar: ---- > On May 12, 2025, at 22:28, Justin Hibbits = wrote: >=20 > The branch main has been updated by jhibbits: >=20 > URL: = https://cgit.FreeBSD.org/src/commit/?id=3Dc4921a0faaf1683f39347dd066000d92= 9c39c8b9 >=20 > commit c4921a0faaf1683f39347dd066000d929c39c8b9 > Author: Justin Hibbits > AuthorDate: 2025-05-13 01:35:14 +0000 > Commit: Justin Hibbits > CommitDate: 2025-05-13 01:35:14 +0000 >=20 > powerpc: Always use BE tag in nexus_map_resource >=20 > 7b5a5e4e replaced nexus_activate_resource() with the bus generic > equivalent, which uses bus_map_resource(). However, though not = intended > to have a functional change, nexus_map_resource() uses the bus tag = of > the build (BE vs LE), while nexus_activate_resource() always = explicitly > set a big-endian tag, leading to failures on powerpc64le now. = Using BE > unless otherwise explicitly specified with the RF_LITTLEENDIAN = fixes LE > on bare metal, and doesn't hurt in a VM, which nexus_map_resource() = was > added for. >=20 > Reported by: pkubaj > Tested by: pkubaj > Fixes: 7b5a5e4e("powerpc nexus: Use bus_generic_rman_*") > MFC after: 1 day Short MFC window so it can get into 14.3. - Justin=