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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 13E29C48260 for ; Thu, 8 Feb 2024 12:15:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Nm0yZU2LtaLcX85uamSVOEBfyp21N7uvKWXz4gS0JHY=; b=2JL0Tas/uDpb2y rAf953sZg1oXNLv1o5AvDaV9y+C82Xpp7P2Jf0m0SZg5m9QUNVCfQWah6fdqtVzH2ZlKStCjT4l5E 96bMxXt8H7uA7MIMXfCkCDpFrdWzlc2H/Cyt7mKj1+pRdMPUtUditHyBcJRDYmeB9g2EvAehXijkB pfWjm09CY2tcuOxVQdHgfKJsfQRHT/sN0Y/poCCFfdaDcAWETCCXSATnyP8VHQkqWcZHKYA1Nrbrb Vk/b41gH6y6PC4JK1euVYw8Ab6eiXo45SLwBA6g2gMok1FYYpCxv9p170al7bGdfLpbzH6kK96MIy 1FHu9eo59sfMK1CZAKhQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rY3Ip-0000000DgUT-19Fs; Thu, 08 Feb 2024 12:14:51 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rY3Im-0000000DgTT-2Bb8 for linux-arm-kernel@lists.infradead.org; Thu, 08 Feb 2024 12:14:50 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id BA6371FB; Thu, 8 Feb 2024 04:15:27 -0800 (PST) Received: from arm.com (RQ4T19M611.cambridge.arm.com [10.1.31.53]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 48F6B3F5A1; Thu, 8 Feb 2024 04:14:44 -0800 (PST) Date: Thu, 8 Feb 2024 12:14:42 +0000 From: Catalin Marinas To: Marc Zyngier Cc: linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, Will Deacon , Mark Rutland , Suzuki K Poulose , Ard Biesheuvel , James Morse , Oliver Upton , Zenghui Yu Subject: Re: [PATCH v4 03/10] arm64: cpufeature: Correctly display signed override values Message-ID: References: <20240122181344.258974-1-maz@kernel.org> <20240122181344.258974-4-maz@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240122181344.258974-4-maz@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240208_041448_628625_8BA63E0A X-CRM114-Status: UNSURE ( 9.24 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Jan 22, 2024 at 06:13:37PM +0000, Marc Zyngier wrote: > When a field gets overriden, the kernel indicates the result of > the override in dmesg. This works well with unsigned fields, but > results in a pretty ugly output when the field is signed. > > Truncate the field to its width before displaying it. > > Reviewed-by: Oliver Upton > Reviewed-by: Suzuki K Poulose > Signed-off-by: Marc Zyngier Reviewed-by: Catalin Marinas _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel