Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp15480164rwd; Sun, 25 Jun 2023 18:44:19 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ43gkFAXFQY3TQ1ZKzuzyjVVb2XgmL16Nls0bG0DhgOsvq7zndcWW9Cn7+qjyqSw593p9Xc X-Received: by 2002:a05:6808:16aa:b0:3a0:50c0:4a5d with SMTP id bb42-20020a05680816aa00b003a050c04a5dmr12056775oib.56.1687743858879; Sun, 25 Jun 2023 18:44:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687743858; cv=none; d=google.com; s=arc-20160816; b=WbBJfaLtkgbzv29cbi1iLn6eQNRwVTEfg5MKgCKrWCWBomBZoWvbF3itET7ysaF6BO oIFfWVVb4EnXI9iAJXivQrsdvdLb2cHLf6HOCY0F8hvINpUhlrr8Ic7plRzo8Jb+1OVW L8gKCs7VOKW5UOySbeNcyOE+AHCPdT7CippyEvVeRG7BxNY9bYPRmb4dZOVVi5w7awiY sKiGhNjDr1KSplfFBpSBH2UcQtLZYDAUjZoB8NYrUfkDsd2VbryFbLnXcqPeWQc8CBOU GMoCNDX/7PY+/wO4rEJUaYF/tNkU3P11dBelhNC2C5crRPAFwHP/PtFExNos1wJkEKnP oUWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=3KZNMyDXB/fy5OKIT9JHt+RgpT4vpVpO98zJF2YAzk0=; fh=6kOki83PYNJVtBEND7QE0JjII+2WQkSicxTkSTjTKUE=; b=JiBIHDz6pP3w/d804zPGovhdIwF26P46EWVappMHUatJg3xsWdBWUirQpcy/cMow6u 5E2RjGxm1ukgCgFHco06CBDh4eT/hEOWWJ95m7UhW+yREL2jUSewl2iBb0C1vDOl4AzO O/+oCuN/w4JSA9AsiJITHFT1+PZ7U4MyfmeNHWyZgKROIwgSmSOKW49OyNmTymw9D6Lo vCBqnXcaXHE3u5VQWVFWJ4t+UzpIJMj6ptqK1MWcDPwSoffXQgnayHy1w6MoH0aBb1an UsweRwOJI86hUk21I0ahFKDrgGwwwKLCedq662jDa58KGRdZTMRyJZHNdxhKqel2fYPJ iXRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=KBXKSMEv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y63-20020a633242000000b005348977b5c5si4258746pgy.97.2023.06.25.18.44.05; Sun, 25 Jun 2023 18:44:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=KBXKSMEv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229654AbjFZB2P (ORCPT + 99 others); Sun, 25 Jun 2023 21:28:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229572AbjFZB2O (ORCPT ); Sun, 25 Jun 2023 21:28:14 -0400 Received: from mail-oi1-x22f.google.com (mail-oi1-x22f.google.com [IPv6:2607:f8b0:4864:20::22f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2D47194; Sun, 25 Jun 2023 18:28:11 -0700 (PDT) Received: by mail-oi1-x22f.google.com with SMTP id 5614622812f47-3a1ba074dadso1076881b6e.1; Sun, 25 Jun 2023 18:28:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687742891; x=1690334891; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=3KZNMyDXB/fy5OKIT9JHt+RgpT4vpVpO98zJF2YAzk0=; b=KBXKSMEvvc1sS0bTW7N9oqVp1u3NdVhbyxc+5nsvOVGQ1cvj+gMtXQukb1ZrvASdOd neeDFwOHMGSTtvMe5hgB6h1lNMLZk2DtvF7mR71gxD5GJUUwUpI5iEXg595HWVZ+7F/0 s7Gwgzj0NmBUvbxsRGNnDJXbggxdI9aj0aGg10rbfgtU49ZRvtvSsWfcN+k/kryw7TF0 Vw8Zzf9s8hFBxxlvUv3E/XfuiQrekNr62n9fJoUJicTcBeaNSLRs+2STUQ+gGWVFM8f7 9GsM24SxZHXa7t+Eqh2MDy+zSDY7nXx1HGABBeuOBbemzLWn8eIL9hbId2aE5wDpnGxH X6mQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687742891; x=1690334891; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3KZNMyDXB/fy5OKIT9JHt+RgpT4vpVpO98zJF2YAzk0=; b=K+vUV22D1KLc7Djvkh8PaGg7EW9n2dWzcPa+fRyoWfN16bsZ4RRTOhPaDYBLZIBBsO ERa69h2iiYfcJ4g61dHn6tOfSrnKs88bnrFnHJ8DF1Vi/MPBvJeDREtTjxGLDzpyNxRD TXc2mHkBOG5m1SFe3Q+s1YIqcenycofXC2usqnJ9/B1thxd76poSYG1k+H0WPBh8ubCl mnWloViFVDSDoSMJtUJFD84YxbzzqfTHLaqIFQMCvuCUcg+T8NmQslSxz161HZQOLXVk DMRchPXrKggJB10ooDTyb8nyLMKF2XId/iCQ9MIgJAkdN/aN1qfL+8Ow71UQD25u8Qww 1nuQ== X-Gm-Message-State: AC+VfDw5Vb7R/qukJGn8WnqGDu/iTyPZteFlPC0TgmswN9kAvlAKc+kX wE7cP6O0XZLn3ccLcL1DuVjS1Q3rXgwN9KApYirIuBqD X-Received: by 2002:a05:6808:13c1:b0:3a0:58f9:e982 with SMTP id d1-20020a05680813c100b003a058f9e982mr12732237oiw.27.1687742891144; Sun, 25 Jun 2023 18:28:11 -0700 (PDT) MIME-Version: 1.0 References: <20230624133808.621805-1-jcmvbkbc@gmail.com> <562ff26d-df78-c1cb-6a34-b9a97efdc43e@web.de> In-Reply-To: <562ff26d-df78-c1cb-6a34-b9a97efdc43e@web.de> From: Max Filippov Date: Sun, 25 Jun 2023 18:27:59 -0700 Message-ID: Subject: Re: [PATCH] xtensa: dump userspace code around the exception PC To: Markus Elfring Cc: kernel-janitors@vger.kernel.org, Chris Zankel , LKML Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, FROM_LOCAL_NOVOWEL,HK_RANDOM_ENVFROM,HK_RANDOM_FROM,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Marcus, On Sun, Jun 25, 2023 at 9:36=E2=80=AFAM Markus Elfring wrote: > > > In the absence of other debug facilities dumping user code around the > > unhandled exception address may help debugging the issue. > > Please choose an imperative change suggestion. The change itself is so small that it's fully described in the subject, and I believe that that description is imperative. This part is the rationale. From my experience I cannot guarantee that dumping user code will help, but sometimes it does, hence the 'may help'. Please let me know if you have better wording. --=20 Thanks. -- Max