Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BA456C77B61 for ; Mon, 10 Apr 2023 14:25:03 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7CC27859AD; Mon, 10 Apr 2023 16:25:00 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="X9pCh7mM"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id CB0E8859AD; Mon, 10 Apr 2023 16:24:58 +0200 (CEST) Received: from mail-qt1-x82c.google.com (mail-qt1-x82c.google.com [IPv6:2607:f8b0:4864:20::82c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 0AEF08339E for ; Mon, 10 Apr 2023 16:24:56 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x82c.google.com with SMTP id y26so4302439qtv.9 for ; Mon, 10 Apr 2023 07:24:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1681136695; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=HKNETa0FVWLADHhVaZw6Tsmd7TYI1cPtdO0Rs5Eq6Fs=; b=X9pCh7mMH8PGTBZm31yJIDBpwzp/l5qyrr3axH/OmLjVaw3LO1/eOrtu6GzHeQH3mu PmOIDPqvU0hoNG7tw5GZAAuEqgV9hZzR2pJDhSKqe4fYV8IZy/DiRwV2i0V84QI9fezP 6S99HsBXW++6kHm0zsfnCW5TV06a0VpQ/MHuI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681136695; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=HKNETa0FVWLADHhVaZw6Tsmd7TYI1cPtdO0Rs5Eq6Fs=; b=rdzQcTjlv15ohHBME8lgTg8lv+JYOiFdFVMudw/lIHKmw+opcfMRnlPQSme7t3rIcL 7nXDqDL5Z/TgJzhaIac+8mhlilqe03KeVEEOppn6R5VgVV+tvSScaU3RBV2vOC+p5Gg2 J6HaNWR1D4r73URlAP79N/RE2qSKSxSHKLBFz4GD4GWqPZMezv7CxdzPp+qz4zuIojqb 9ABZjj/gztASKJy2vKLT8i5K8zF5vsQU3JSBMlWh2oXJqmKNdLgK21bPLuDddkw946KP gnyy19UWIDSPlTfprNj+4CoyD2GtHXD796fRA0YceMkZiCff0V02+QZIWTtEJ/WgovgW vxGw== X-Gm-Message-State: AAQBX9dQu1he/s9yAkd61BoxzA3MRe+rschvtm4VdrIo2BLIICaJMEJZ zL3aDqPsaxUkjGWVsGdHuf+1/A== X-Google-Smtp-Source: AKy350a5kx3ySKrVd+XqB28EVz+R3cLxiR+SqOSuptT7UpKA1BquxgODkx2scICoqrUncDDb9UoDtw== X-Received: by 2002:ac8:4e46:0:b0:3e4:e35c:c2d3 with SMTP id e6-20020ac84e46000000b003e4e35cc2d3mr18081005qtw.58.1681136694667; Mon, 10 Apr 2023 07:24:54 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b00-6400-b5ac-ca54-8f36-d7a9.res6.spectrum.com. [2603:6081:7b00:6400:b5ac:ca54:8f36:d7a9]) by smtp.gmail.com with ESMTPSA id v126-20020a379384000000b007460093cccdsm3314434qkd.25.2023.04.10.07.24.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Apr 2023 07:24:54 -0700 (PDT) Date: Mon, 10 Apr 2023 10:24:52 -0400 From: Tom Rini To: Peng Fan Cc: "Peng Fan (OSS)" , "sjg@chromium.org" , "u-boot@lists.denx.de" , "etienne.carriere@linaro.org" Subject: Re: [PATCH 1/3] firmware: psci: enable DM_FLAG_PRE_RELOC Message-ID: <20230410142452.GW1134230@bill-the-cat> References: <20230406102319.17898-1-peng.fan@oss.nxp.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="lQsQs6jc+lX2ixyC" Content-Disposition: inline In-Reply-To: X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean --lQsQs6jc+lX2ixyC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 10, 2023 at 12:39:07PM +0000, Peng Fan wrote: > Tom, Simon, >=20 > Sorry for ping early, I have other patches pending on this patchset, just > wonder whether you are fine with this patchset. This is fine I think. >=20 > Thanks, > Peng. > > Subject: [PATCH 1/3] firmware: psci: enable DM_FLAG_PRE_RELOC > >=20 > > From: Peng Fan > >=20 > > It is possible that cpu core may reset before relocation with PSCI reset > >=20 > > Signed-off-by: Peng Fan > > --- > > drivers/firmware/psci.c | 1 + > > 1 file changed, 1 insertion(+) > >=20 > > diff --git a/drivers/firmware/psci.c b/drivers/firmware/psci.c index > > ef3e9836461..c6b9efab41c 100644 > > --- a/drivers/firmware/psci.c > > +++ b/drivers/firmware/psci.c > > @@ -319,4 +319,5 @@ U_BOOT_DRIVER(psci) =3D { #ifdef > > CONFIG_ARM_SMCCC_FEATURES > > .plat_auto =3D sizeof(struct psci_plat_data), #endif > > + .flags =3D DM_FLAG_PRE_RELOC, > > }; > > -- > > 2.36.0 >=20 --=20 Tom --lQsQs6jc+lX2ixyC Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmQ0HC0ACgkQFHw5/5Y0 tyxTYgv+IwxI5/ax353LpjAwrnPC3rcjK9Sign9O4Ci0LdFCYycIK52+ntET/7U8 GjfKivjPsAHc3HzPs7JYzOLnPfUQRby0K1m3ZiAOYAZ3fSRDBJsJByYJDvT+RVxU hTXSNP1AQzu2zJR24FrMnFFcuP6oH9/ouieYQGsV8ZWqq73W0RthTzmDlsOUNf2f uGcGKslUHinR4BrYgNPMUDzuIYZh2tFilf2ZNYgF29qjcn2u5dk1czxIxL+mUfug CEYvDUXKudmebOG1HvgWaxjKJ2s2TijfkkkVxO5DnywPBNNQunanwBmhMKolr6hE PLjzIsxcubXMe1NB9FV6Ner3xNdDB/CNGQ1Zf/BdbirpPNzt3kK1LeTaS23Ay6kh fZ5Hyjfzxgg7uFhpKUA5U9E3Ivl+FXH47tzSKZcxgQHq7UseShDhYvACjH3wBwcO VNmrZhk+eXU24lb/PImwK91ZlcoUbFqH2GUkXG4CSAtE8rLN83qSAtRxJ2LdtVhi KkEngtlT =M2yA -----END PGP SIGNATURE----- --lQsQs6jc+lX2ixyC--