From mboxrd@z Thu Jan 1 00:00:00 1970 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 DA507C77B60 for ; Wed, 26 Apr 2023 12:32:37 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 34BB086396; Wed, 26 Apr 2023 14:30:38 +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="UqGEmuCL"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B34D88637F; Wed, 26 Apr 2023 14:30:26 +0200 (CEST) Received: from mail-yb1-xb33.google.com (mail-yb1-xb33.google.com [IPv6:2607:f8b0:4864:20::b33]) (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 0F13D8638F for ; Wed, 26 Apr 2023 14:30:22 +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-yb1-xb33.google.com with SMTP id 3f1490d57ef6-b8f5276baa3so5529863276.3 for ; Wed, 26 Apr 2023 05:30:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1682512220; x=1685104220; 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=RGecYOjF9/LVeOLF27lRMx0AjWCJgtsyYcvV8ShjvME=; b=UqGEmuCL+18yWIizZ9dJOnYfTjAMivvY7F30TrHkRZNmoKeEpHrcSGhUcnVbXV7g5f FiwZcGLlgdGjJie3M105Gu+SiqVZRfj97HJ7+lup0QqkDLg4OTgEdB/XR5xRSCLUJkQ/ /ICqW96+p84bQz7lj2GyeRNkWtH+TDL3vVr+c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682512220; x=1685104220; 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=RGecYOjF9/LVeOLF27lRMx0AjWCJgtsyYcvV8ShjvME=; b=ClgpDocPLckDH1RrcrJtU+ov2eicFx8Wa4YqD6GAoqtuZsCwD43OoUIvk1zI2Zgn+0 rMA7rY5KkNDvxWCCfoMyeeu+vRBQJxp6x5GrA6908cmpNuRxP/FgTPKrZMh3wbkqMp2E 3i0x56LF63t7FmchF9zd67WBlpucqrFsFoycLTCLeDxEWBsAPDpPZtC0uy6I7LqRsmy1 tJFS3DHX0Yy15xtD6wpbsTxsPef3+5iss25Xb1/1ssFLq49zrHc8KsGXVZuSqosnEbk5 br1oALytFfHCvn7b6X2cTFHzVZm/pQF62noeWtaSDQryTIqyAI2u2K9sAAVRveqxCiC8 C5mg== X-Gm-Message-State: AC+VfDwvfRaOPRITo9N58HsxY/quEeUt7B2S8HvnKFJFnFmwZP76Y/s6 wBcUyhzhEzvJoBlR15hREethHeFsDhJMbiuooZVzmg== X-Google-Smtp-Source: ACHHUZ7H1uc9MVcJToXoaZPCV+kKyGeadJnHhmMgRwdsMe6QhRSGmruPgXQRI/FIvIvHCsbd5uwX9g== X-Received: by 2002:a25:e70e:0:b0:b9a:3836:bf15 with SMTP id e14-20020a25e70e000000b00b9a3836bf15mr1358172ybh.37.1682512220716; Wed, 26 Apr 2023 05:30:20 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b00-6400-b8bf-e376-67d0-fd6b.res6.spectrum.com. [2603:6081:7b00:6400:b8bf:e376:67d0:fd6b]) by smtp.gmail.com with ESMTPSA id k184-20020a2524c1000000b00b8ed4e15acbsm3967767ybk.63.2023.04.26.05.30.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Apr 2023 05:30:20 -0700 (PDT) Date: Wed, 26 Apr 2023 08:30:18 -0400 From: Tom Rini To: Pavel Skripkin Cc: u-boot@lists.denx.de Subject: Re: [PATCH] arm64: interrupts: print FAR_ELx on sync exceptions Message-ID: <20230426123018.GD1134230@bill-the-cat> References: <20230402162734.121322-1-paskripkin@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="+b0/xRakPyU2VCTQ" Content-Disposition: inline In-Reply-To: <20230402162734.121322-1-paskripkin@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 --+b0/xRakPyU2VCTQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Apr 02, 2023 at 07:27:34PM +0300, Pavel Skripkin wrote: > Default synchronous exceptions handler prints only esr and register > dump. Sometimes it requiers to see an address which caused exceptions > to understand what's going on >=20 > ARM ARM in section D13.2.41 states that FAR_EL2 will contain meanfull > value in case of ESR.EC holds 0x20, 0x21, 0x24, 0x25, 0x22, 0x34 or > 0x35. Same applies for EL1. >=20 > This patch adds function whivh determine current EL, gets correct FAR > register and prints it on panic. >=20 > Signed-off-by: Pavel Skripkin Applied to u-boot/master, thanks! --=20 Tom --+b0/xRakPyU2VCTQ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmRJGVoACgkQFHw5/5Y0 tywHnQwAjpeqwJg3gMtbBHdXVYzy0FQXTBDcRPFZ3Csjkf1kW1N4eCaax36w9VY8 +hyXMxAA7a+tePRJ+2AmgC7k64ljx88wYmKvz149aVFLQYzutZ/c2dwgZalZKcOV NgSC4rBWqXNgjQHOfcC0XilbUlezxnP58kzeil9sVDsOX+dQerahjyorfKr735sr oeZQ/eYmlb2Q4L3YOTAOqtgJ0BnWe8zaI0hfwsmk3IvTyr8CVCYOPRqttvy4+lD3 3fhIaW+MKhntBRovLgNTIXREWYoIfDoHZz2jdj983gdHN7mi3MaWoxOjv24Hmu06 zMQEFQugjiA5aNl8MSQxfqpWme1KRQMBpOr6G1XqWFKMiRdnX8ptGZS0nGI5E0f6 oQDUISqOw/kzGw2BurDsAqUU44cSwQQh3dXiJS5eWDlkVKUdBjJMJyEaI8bRPp5s mxa+W6L+9aQrBTElZQC6dq8wMtR/0m8jvCNV3/mbeT83F6n8nsYgv0SUs3LUvm+K IvCrIAOQ =G5m2 -----END PGP SIGNATURE----- --+b0/xRakPyU2VCTQ--