Received: by 2002:a05:7412:2a91:b0:fc:a2b0:25d7 with SMTP id u17csp465748rdh; Wed, 14 Feb 2024 02:11:35 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXXpP5Bivq/ldr/X7vOeqfdyvotJyCQ8BJ/O9G5ylz6QyJagxgt1U4imXrc0FIXynGhFbDFoUfo8ScvZvSOPTecffhva1b1xCevQ0aOaA== X-Google-Smtp-Source: AGHT+IGKH2TCmQvmwEEQEtscEwt4gfxml2mYglgQyqLV1w7i3FmG1XAKaPB1eqVy1sIAIB7TwGi4 X-Received: by 2002:a17:906:6717:b0:a3c:ef50:e28 with SMTP id a23-20020a170906671700b00a3cef500e28mr1563151ejp.30.1707905495415; Wed, 14 Feb 2024 02:11:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707905495; cv=pass; d=google.com; s=arc-20160816; b=hX9OeubZ6i5RfHkoAeHJP6Tw7ZHuipQhhIcJmzqwc/6aljTaCAQ/VJyUmqltkVZZOd gEg0WQX/88ygo5x7CXBf7T/MBogg2w/eryFtkvwDmI/9Mujhb2mONyuTxRwgPWS56g30 VAFiATLVcB0UpEAUp6AdrpQCjKKmUgknXJ88XCZH9JIf557lylSq7x7EkDnl7NmHOgLi 6yklXUd1nlWkeUCGvIscxSPhplav3DXTz8Ate68nI5Mm92YvYHW771ptEh1BCa5p7Kvy QSiviwMmPdoFCTaOZrHvpwVgrZDASbTiNNrIN5rBRD8YiQJWHwP1uqDy5ePpgnPQn1u6 R8rg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:message-id:date:references:in-reply-to:subject:cc:to :from:dkim-signature:dkim-signature:dkim-signature:dkim-signature; bh=UKHS3Tm9mFG5fwX6aOLXFqUCCVUiA1XcZVTlspPHL4k=; fh=GlBy6xN9oHRQH09RUKgq2wWVLiVzcyUlX+oaIVbGD4s=; b=sj1aub4YSIYQQh6SyirGbM+nr0180dl5gYU7EGAdtJDOnEz7YXKAdpZdsx/7+fBPlk xJmO2ZAcfqNJwykRIbq/GSDvwiFfx2bXhHkseIZ20AAOSOdamGtkXs6ccwTfsjFBM6ep AwaphDQVmJ3gv8CzUAbNVnLJEDKF/mRpNICbRxGQNrkGqaxgW95UMCmFKFzd0y5EcKXg 35Y7jV+eOelkpShMmNGitddLyqtH2GA3i28xElaiYhzBdGH9o4h1BSM8AQ0NjHy+1zo0 GKlzpCez7mQbUePUirYbU8lXBEunlqQoywjKjxBEW4pQu/l5/hDqeTwJMqSBzZJTjydJ 8vcg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=hQ59DxE2; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=hQ59DxE2; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; arc=pass (i=1 spf=pass spfdomain=suse.de dkim=pass dkdomain=suse.de dkim=pass dkdomain=suse.de dmarc=pass fromdomain=suse.de); spf=pass (google.com: domain of linux-kernel+bounces-65026-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65026-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de X-Forwarded-Encrypted: i=2; AJvYcCX2NSy67affJQdHfrMqLyFv8dZDIW9bqGffBMO/C29DlrkUvHDXrEW4DqOdM9DsTwHD4nMXh8VKb9xaU4ypk8Zjjt5/vog7bSKFv/y8KA== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id jj2-20020a170907984200b00a3d51be8df9si325171ejc.500.2024.02.14.02.11.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 02:11:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-65026-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=hQ59DxE2; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=hQ59DxE2; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; arc=pass (i=1 spf=pass spfdomain=suse.de dkim=pass dkdomain=suse.de dkim=pass dkdomain=suse.de dmarc=pass fromdomain=suse.de); spf=pass (google.com: domain of linux-kernel+bounces-65026-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65026-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 80C681F2774C for ; Wed, 14 Feb 2024 10:11:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2DDBD171C9; Wed, 14 Feb 2024 10:10:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="hQ59DxE2"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="Cijv3v90"; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="hQ59DxE2"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="Cijv3v90" Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130]) (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 CE1B279DF for ; Wed, 14 Feb 2024 10:10:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.135.223.130 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707905458; cv=none; b=DZtfGqNpbH8nsKEVvOQ9i8JeXCmlCSCtktFNSkx8gdoXKwTObYglqRVyLjCdr99nAPMC/xL/FZmyRk8wTz9JmRV2duY0WjnDuc0sINZF+0WEB1tpreDgp811bTi0sC2paaifh2tmm98fP72sUEc3997UpX+hev5939+Qb1zqiiw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707905458; c=relaxed/simple; bh=VbCpi648cWO9vEdIxj6hhE5XdEGDe2VZIK8zfnr0l2I=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=q5kvuEF4Qjg0KDhE4Z3ALzwDZIFsPu1ZmbY6tubEwgLuxiZ69aWtNbjwJb+P6pHfPEVY4r/MJjAb9/ABwgj2LgweUlmDucQaRzJ0S6aQaGVQ1qiJetZtYDbVlbCCBWOyo6v++BY79iUX2lR4yOiCfEjqGGw3kYJnbzcftJBOEkg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de; spf=pass smtp.mailfrom=suse.de; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b=hQ59DxE2; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=Cijv3v90; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b=hQ59DxE2; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=Cijv3v90; arc=none smtp.client-ip=195.135.223.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.de Received: from hawking.nue2.suse.org (unknown [10.168.4.11]) by smtp-out1.suse.de (Postfix) with ESMTP id 0988A22034; Wed, 14 Feb 2024 10:10:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1707905455; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=UKHS3Tm9mFG5fwX6aOLXFqUCCVUiA1XcZVTlspPHL4k=; b=hQ59DxE2eGoDgeAPzrKgnd/lATT0UnlL/VauispDaRmzRcWzrHoupVd/iuLFCcp1bWccOm wnRQ9OG0lph7VCAeWQGzfeaCX/KMKNXGjXwh/aA/4BSRpjXMdXADAbkn9RcDHqzCH0yjHo 4F0S2cuQUl47fVitwZf/lrQtyIB8/ns= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1707905455; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=UKHS3Tm9mFG5fwX6aOLXFqUCCVUiA1XcZVTlspPHL4k=; b=Cijv3v90qAXWqCrQVYxQ0HJ75CdM4G/XjXV4BhnxSqAlbNQFxbiNrf1OOnhumuEhyOJGPc XSJJM0WOCaUFivCA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1707905455; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=UKHS3Tm9mFG5fwX6aOLXFqUCCVUiA1XcZVTlspPHL4k=; b=hQ59DxE2eGoDgeAPzrKgnd/lATT0UnlL/VauispDaRmzRcWzrHoupVd/iuLFCcp1bWccOm wnRQ9OG0lph7VCAeWQGzfeaCX/KMKNXGjXwh/aA/4BSRpjXMdXADAbkn9RcDHqzCH0yjHo 4F0S2cuQUl47fVitwZf/lrQtyIB8/ns= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1707905455; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=UKHS3Tm9mFG5fwX6aOLXFqUCCVUiA1XcZVTlspPHL4k=; b=Cijv3v90qAXWqCrQVYxQ0HJ75CdM4G/XjXV4BhnxSqAlbNQFxbiNrf1OOnhumuEhyOJGPc XSJJM0WOCaUFivCA== Received: by hawking.nue2.suse.org (Postfix, from userid 17005) id C1FF44A04EC; Wed, 14 Feb 2024 11:10:54 +0100 (CET) From: Andreas Schwab To: Conor Dooley Cc: linux-riscv@lists.infradead.org, Palmer Dabbelt , Yunhui Cui , =?utf-8?B?QmrDtnJuIFTDtnBlbA==?= , linux-kernel@vger.kernel.org Subject: Re: [PATCH] riscv: use KERN_INFO in do_trap In-Reply-To: <20240214-exclusion-pluck-fcb6352a8393@spud> (Conor Dooley's message of "Wed, 14 Feb 2024 09:19:09 +0000") References: <20240214-exclusion-pluck-fcb6352a8393@spud> X-Yow: This is a NO-FRILLS flight -- hold th' CANADIAN BACON!! Date: Wed, 14 Feb 2024 11:10:54 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Authentication-Results: smtp-out1.suse.de; none X-Spamd-Result: default: False [-1.89 / 50.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_FIVE(0.00)[6]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; DBL_BLOCKED_OPENRESOLVER(0.00)[suse.de:email]; FUZZY_BLOCKED(0.00)[rspamd.com]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; BAYES_HAM(-1.79)[93.73%] X-Spam-Level: X-Spam-Flag: NO X-Spam-Score: -1.89 On Feb 14 2024, Conor Dooley wrote: > On Tue, Feb 13, 2024 at 10:59:58AM +0100, Andreas Schwab wrote: >> Print the instruction dump with info instead of emergency level like the >> rest of the output when printing the information for an unhandled signal. > > I'm not entirely sure that this is true, __show_regs() prints with > KERN_DEFAULT, but this certainly is more consistent than it was before. The first line is printed with pr_info. Perhaps __show_regs should gain a level argument. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."