From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm2-f13.google.com (mail-wm2-f13.google.com [74.125.225.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B50F04A1DE6 for ; Wed, 16 Sep 2026 16:07:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.225.141 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789574849; cv=none; b=dtpkY+4sMzA+PyULJ8oUi8AZGr1SUZEbLwwYFvS4M9YP0GOpIY8xiFcRCFgFJYQ2BEOSipREFRsUE14VMm9GuvQKuZlpThYeReLkfDwxYTPZHplECh+iqIBlZ4vzdtCqXXvdRhGJ16YZxBfjpvuGVkROFeS+FG4LcqHSsRO0PQY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789574849; c=relaxed/simple; bh=v5T5L+sjj0QEbIFkeomSUY3aW/E3FyLnS4/5K1I+vx8=; h=Mime-Version:Content-Type:Date:Message-Id:Subject:From:To:Cc: References:In-Reply-To; b=oUDOfko94e6xfQNDXr0L1HG5Tnp7KYpJbY2mjgTOOU4Qwd6k7iyPHncJvrGau2DnvmmX3NfsUuqERDpLyYyhWZMloY6Ur0hSrsFw9r5qmxUpEFF+pFrZyhYW1bYr3bIeR8mBaoIhyZ5ljjhqK3Kpqb49M3DInHAg+fhINTXlOsM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre.com header.i=@baylibre.com header.b=bYdGngxW; arc=none smtp.client-ip=74.125.225.141 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre.com header.i=@baylibre.com header.b="bYdGngxW" Received: by mail-wm2-f13.google.com with SMTP id 5b1f17b1804b1-49cc9f581c4so4562235e9.0 for ; Wed, 16 Sep 2026 09:07:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1789574845; x=1790179645; darn=lists.linux.dev; h=in-reply-to:references:cc:to:from:subject:message-id:date :content-type:mime-version:from:to:cc:subject:date:message-id :reply-to:content-type; bh=JT7BltXK/O+RVr7HZDUyFWjcaSBcl/b5sxD3x657pVM=; b=bYdGngxWIgGqTH35kJplL/h/NYpiKDi9MkYLRLVqK+vc3GI58U/WjpaMYRqNyrX+Ja d7bVBrJQjrINadA1xs10xjKd0mrz7b5eZtGE8pF1roWrth0yNy+6rGa4NPJfgiLSzi+8 K7GjC6tqJS02U6bROa/UmzTHVnz751cpgMgXQKvwP7/ENT6938SiOH20WNsbQmcMdLxO b3cZNmipzGaIYRMls8fAyjkRtAinJUbrcfLs9UYROw6aVhlK1yIuTzjmGMD5ZQ9HQflN aoBn95Ytxqo7iHyBKzp2/badxJJGCOB7XuRjQO2YiOmqz0c2PNZHERE4rh+t18EddBt4 YRJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1789574845; x=1790179645; h=in-reply-to:references:cc:to:from:subject:message-id:date :content-type:mime-version:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to:content-type; bh=JT7BltXK/O+RVr7HZDUyFWjcaSBcl/b5sxD3x657pVM=; b=pUs7W9zZgDsel7O4T8J8nV2weaE0UsJVECOprAV7gzoYAaKUx/XUzHlbd7qumzs5yB RTx2Xvpg8bsd6j+7gTgpihDq7VQXr9McBRxue2udWkCcaMHiUc6/tVjSLmi2zLw6ViQp rbQh+tAz4/V/KvZSd2C6YHQqcGZGp8//xVU6hERhqq0VK+ZXJKlQSUJqWQ0R826am+nQ 9rSAjq8LVWbpDHz3C0RloD4jwoX84+uke8B1TlhhF2kLQaPeLiwPtAUQSYJV1LaFFCBv 0STc5lZyyNtrW53m8Hi2NP6GY106n64sQNKEQz9+bKYxR6RZYyHeAFq+FILwc9UPhAGq kUUg== X-Forwarded-Encrypted: i=1; AKwUvBzHA6EJHUv89YepX2+dBbdScC9qMwpr5nUO2isZKpn/eilhaU4WbNSYMXw3fe8O1YP26JJP@lists.linux.dev X-Gm-Message-State: AFuF++nr1CZFXDmPsu49nqkiRbxHUZ1QndnhG9F6qVYgCmh1Xy8c+YwQ hRQEauFUZGyTS0KY/kgzIUbugpPpsdlTL7k5ybgnZQZnxLsUyqJUJJvbeOEXRUjOPEk= X-Gm-Gg: AYBFou3DFw/y1z7gUGgLYHgBJhhvlsLvZGgU8IpuTX2kDIEIVPbnmvmVru3xIK1nkvO 54/+LCXP+A0OsRypFT7f9kzM0UbIMTgPw/zQOj1wZLinwXaqU6jWbP3+O4noHbEWD8V9LYtAWuM qwEN3Te8zRAk0BOc1rQFnqmx/GP9dNJbR1zNM14hImn78x86r6Mu6i2hnwvpSf3KYd9Z+iMkxyM XSw+pBswIzoyrToglz0zrPD2YMSVElwM0zK3mTBnmbj70ETlTeuIDYDyq3XSdWsrmhzKWsMLzTx IlE7Zu+o8K7raT/qH6EY4U9f9u95ZIE2r0Wj6uGfVnsyRHZM1mqKm3AUm6JOXjELenAz8YTUefb oNn+BEyFeBWHLZNQ+Npx82zblhmLqYPLB5WN1Lzy/8OQHk0o7r9MSR5XFgkYqYPui02N9+wGyVz bAnK6LdsFesJ9i4IQeyif+7CPXNwRglCI3tmmq5f06AMOwR0UuN15y/KsnaxcnnU2M2Q== X-Received: by 2002:a05:600c:1992:b0:49b:8f5e:51fb with SMTP id 5b1f17b1804b1-49fbd1af43dmr2094185e9.3.1789574844730; Wed, 16 Sep 2026 09:07:24 -0700 (PDT) Received: from localhost ([2001:4091:a245:8029:665d:b7b:5fa4:7ad0]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-49fbd232b25sm1173905e9.4.2026.09.16.09.07.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Sep 2026 09:07:24 -0700 (PDT) Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Type: multipart/signed; boundary=efd0b5b3ebc06a57040b85351ecf90f4d001a63d5dfa687974f195763dd4; micalg=pgp-sha512; protocol="application/pgp-signature" Date: Wed, 16 Sep 2026 18:07:16 +0200 Message-Id: Subject: Re: [PATCH v8 9/9] arm64: dts: ti: Add wkup R5F nodes to pre-ram bootphase From: "Markus Schneider-Pargmann" To: "Francesco Dolcini" , "Markus Schneider-Pargmann" Cc: "Nishanth Menon" , "Vignesh Raghavendra" , "Tero Kristo" , "Rob Herring" , "Krzysztof Kozlowski" , "Conor Dooley" , "Nathan Chancellor" , "Nick Desaulniers" , "Bill Wendling" , "Justin Stitt" , "Judith Mendez" , "Daniel Schultz" , "Andrew Davis" , "Siddharth Vadapalli" , "Paresh Bhagat" , "Bryan Brattlof" , "Jai Luthra" , "Devarsh Thakkar" , "Beleswar Padhi" , "Francesco Dolcini" , "Stefano Radaelli" , "Nick Desaulniers" , "Vishal Mahaveer" , "Kevin Hilman" , "Sebin Francis" , "Kendall Willis" , "Akashdeep Kaur" , , , , , "Hari Nagalla" X-Mailer: aerc 0.21.0-146-gb5c16ebe1835 References: <20260903-topic-am62a-ioddr-dt-v6-19-v8-0-74c650dfdea6@baylibre.com> <20260903-topic-am62a-ioddr-dt-v6-19-v8-9-74c650dfdea6@baylibre.com> <20260911052428.GB5377@francesco-nb> <20260916104017.GA284106@francesco-nb> In-Reply-To: <20260916104017.GA284106@francesco-nb> --efd0b5b3ebc06a57040b85351ecf90f4d001a63d5dfa687974f195763dd4 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Hi Francesco, On Wed Sep 16, 2026 at 12:40 PM CEST, Francesco Dolcini wrote: > On Wed, Sep 16, 2026 at 12:17:42PM +0200, Markus Schneider-Pargmann wrote= : >> Hi Francesco, >>=20 >> On Fri Sep 11, 2026 at 7:24 AM CEST, Francesco Dolcini wrote: >> > Hello Markus >> > >> > On Thu, Sep 03, 2026 at 02:39:30PM +0200, Markus Schneider-Pargmann (T= I) wrote: >> >> For IO+DDR the wkup_r5fss0_core0 and the >> >> wkup_r5fss0_core0_lpm_metadata_region need to be accessed before RAM >> >> setup is done. These are used to read the lpm metadata region in >> >> which data is stored to resume. This needs to be done before RAM is >> >> in use to avoid overwriting data. >> >>=20 >> >> Add the bootph-pre-ram flag to the wkup_r5fss0_core0 node in both >> >> ipc-firmware dtsi files and to the lpm metadata region nodes of the >> >> AM62A and AM62P boards. >> >>=20 >> >> The board level bootph-pre-ram flag of k3-am62d2-evm.dts becomes >> >> redundant with the dtsi-wide flag and is dropped. >> >>=20 >> >> Signed-off-by: Markus Schneider-Pargmann (TI) >> > ... >> > >> >> diff --git a/arch/arm64/boot/dts/ti/k3-am62p-verdin.dtsi b/arch/arm64= /boot/dts/ti/k3-am62p-verdin.dtsi >> >> index 45ab9d947b3a..8976c0424cd1 100644 >> >> --- a/arch/arm64/boot/dts/ti/k3-am62p-verdin.dtsi >> >> +++ b/arch/arm64/boot/dts/ti/k3-am62p-verdin.dtsi >> >> @@ -184,6 +184,7 @@ wkup_r5fss0_core0_lpm_metadata_region: memory@9ca= 08000 { >> >> compatible =3D "shared-dma-pool"; >> >> reg =3D <0x00 0x9ca08000 0x00 0x1000>; >> >> no-map; >> >> + bootph-pre-ram; >> >> }; >> > >> > verdin-am62p has the various bootph tags only in the U-Boot dtsi >> > (k3-am62p5-verdin-wifi-dev-u-boot.dtsi) as of now, I am not convinced = it >> > is a good idea to just add this single one here. >>=20 >> I don't see any bootph-* flags for any of the related memory regions in >> k3-am62p5-verdin-wifi-dev-u-boot.dtsi. Is it in a different dtsi? > > What I meant is that any bootph- property is in > arch/arm/dts/k3-am6p25-verdin-wifi-dev-u-boot.dtsi=20 > > And I would not start adding spreading this in 2 different places. As I said, there are 72 bootph- properties in am62p related devicetrees in the kernel devicetrees. For k3-am62p-verdin*.dts the relevant ones are probably: 3 arch/arm64/boot/dts/ti/k3-am62p.dtsi 14 arch/arm64/boot/dts/ti/k3-am62p-j722s-common-main.dtsi 2 arch/arm64/boot/dts/ti/k3-am62p-j722s-common-mcu.dtsi 2 arch/arm64/boot/dts/ti/k3-am62p-j722s-common-wakeup.dtsi Also if I understand correctly, it is preferred to get these bootph- tags into the upstream devicetree: https://lore.kernel.org/u-boot/20260903144032.GI1764417@bill-the-cat/ Best Markus --efd0b5b3ebc06a57040b85351ecf90f4d001a63d5dfa687974f195763dd4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iKMEABYKAEsWIQSJYVVm/x+5xmOiprOFwVZpkBVKUwUCaqq+tBsUgAAAAAAEAA5t YW51MiwyLjUrMS4xMiwyLDIRHG1zcEBiYXlsaWJyZS5jb20ACgkQhcFWaZAVSlMa CwD/UzU/bEn+SvEhbYhrvo356ps/AZUBbSCU7LIcWlv3E5YBAJxIt80j3RbsiuhH LWCPbjxjKVKr3P1SKVvEXWAyHpEF =8soS -----END PGP SIGNATURE----- --efd0b5b3ebc06a57040b85351ecf90f4d001a63d5dfa687974f195763dd4--