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 91340EB64D7 for ; Wed, 21 Jun 2023 18:41:20 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id AB5BB85F79; Wed, 21 Jun 2023 20:41: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="GWiGpCDs"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 50FF8862A9; Wed, 21 Jun 2023 20:40:51 +0200 (CEST) Received: from mail-oo1-xc2c.google.com (mail-oo1-xc2c.google.com [IPv6:2607:f8b0:4864:20::c2c]) (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 D204385F79 for ; Wed, 21 Jun 2023 20:40:47 +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-oo1-xc2c.google.com with SMTP id 006d021491bc7-560906a489cso1642771eaf.1 for ; Wed, 21 Jun 2023 11:40:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1687372846; x=1689964846; 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=CLBm9pkxNEvsp1XCb2FzMuJJ7LRkXq6pLd6xtBlwlbs=; b=GWiGpCDsLFab+Q2AEQ22AWX34nRrxi9Kzsw1X4JUipzYYv6n/B3gTYDBJAPwrrqMPD +v1QdefBeUi1RJGUzTh3wqSrkNrmMv6FRpXj9GFNqz9CK0ji8Mk6f3XVbg93hGHka1TA SOWfNwv1e9bY3rVjAgKpKEbol1LvSwuniPRUE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687372846; x=1689964846; 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=CLBm9pkxNEvsp1XCb2FzMuJJ7LRkXq6pLd6xtBlwlbs=; b=AQddcI+D9iwaAsg+1WFwsdjaQlwbooQ/zrLirUhHZe8Q4CXY/qKfqzMQy9AbJgYJum h2YIYu+SyIJ/U+KJ3ZGPKnmUQqNpaO7MQjI6ExQYJW1/f/nboH/IgLeu+wUeZh9DkaUU gljG2rM3YW1BKohJwcbzlLsZEmxIZmTVP7e2MGz6C1R/KwHSS04KeJVc1DD+AnHXyCrW hPpkkOlCahziuuqZywtaWB/j9If/ZGLAkaeow4Lw1S8F8pLzU7z+cQB9VyEQDHQCbzjq efRLmfrEEwM80rJUu/cXbb3AnDvFUXYkBhfvxhZGZzUmVfs/0w6NXNuA8hJjNWBMVmOg 6H+A== X-Gm-Message-State: AC+VfDyyLPQrrpWqyWLCKgsjQk5cQocjp8wEc5ztmw7sotg1yOdmfTSV zHTfeSi8Cau87B3vLoOqwNgWFA== X-Google-Smtp-Source: ACHHUZ7uCHWdTWnc3jOcWINihyZvBtZWrk/lS7AN9IcMwF7enqV7fP4nVOXWzOxNcsrW2hQgzMfMDg== X-Received: by 2002:a05:6358:c321:b0:129:c1dc:e6d8 with SMTP id fk33-20020a056358c32100b00129c1dce6d8mr6737660rwb.32.1687372846426; Wed, 21 Jun 2023 11:40:46 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b00-6400-1822-f178-f78c-4fe8.res6.spectrum.com. [2603:6081:7b00:6400:1822:f178:f78c:4fe8]) by smtp.gmail.com with ESMTPSA id t126-20020a814684000000b0057399b3bd26sm820501ywa.33.2023.06.21.11.40.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Jun 2023 11:40:46 -0700 (PDT) Date: Wed, 21 Jun 2023 14:40:44 -0400 From: Tom Rini To: Sam Edwards Cc: u-boot@lists.denx.de Subject: Re: [PATCH] psci: fix use of clobbered registers in asm Message-ID: <20230621184044.GC3931582@bill-the-cat> References: <20230528000942.231907-1-CFSworks@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="uHgvbfBY/l+6XeY0" Content-Disposition: inline In-Reply-To: <20230528000942.231907-1-CFSworks@gmail.com> 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 --uHgvbfBY/l+6XeY0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, May 27, 2023 at 06:09:42PM -0600, Sam Edwards wrote: > The functions `psci_get_context_id` and `psci_get_target_pc` > are written in C, so the C compiler may clobber registers r0-r3. > Do not use these registers to save data across calls. >=20 > Signed-off-by: Sam Edwards Applied to u-boot/next, thanks! --=20 Tom --uHgvbfBY/l+6XeY0 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmSTRCwACgkQFHw5/5Y0 tyxB1wwAn5Dn7+IgZTaoFehmQ6T3a3e9qcnmA6dIqCEglLe2gKCecLlIl1CgKaXq KQaVujnyL13em6dgE1QifBZOmcuExMmQOR1eU7Vks519BZMLRx1CMsj/VMfHfCkS 9FT9CpdKAS/qz8+qKPzjD8G6Lx018h1xxl5jgZp9//9vwkULctvylgcZdm5gXpRa tS5H2+Wp1hHxhFjJPLbppT5KsHEyP1UjZIacCXVE6GoZ/mxWc//GEo53AOS4hYMk VcB99qetwq1gqSVRk78jFbPIb04bN662eLoMrPmUGmv3Iv6whq4DQCPV50CiKpEg gsLj+UoU2n2Hse0RVfc/S4Tx+VXms1xrq3wfpdo/TNkrz4ZAnGTmO/qz4XNl2rlz 7gaS+hMY5aEf/+Moa5xvN0izIKTTERbE/+TvAN4D+etb0EOx/WfHtFBLnyoFAQrE uVuelMZDJu+Dzl2UHm/u4t4k+QuAPfqes0AJ3lRUr/mKXq7g5uRhn/5S0zbm6ds8 jf+93jW+ =zqQ2 -----END PGP SIGNATURE----- --uHgvbfBY/l+6XeY0--