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 76D1AC61DA4 for ; Sat, 11 Feb 2023 22:09:05 +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:MIME-Version:References:In-Reply-To: Subject:Cc:To:From:Message-ID:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=G9SxsGxf653Q9EvIThUaKihKNboqWNcMNbqHYD1o64E=; b=ggNObVZ1HiBTgy 1poih8XXx+cj6/tXpHvc0xT25VK/UwmWyRXdyVw8bV+A6PS/e2BnZ2qaRbRv8G8zlMsq4/TaTkjkt fu8w5+Sf9qSqe34l/Kddw7+YAWcQVYKUgpOk9szmwWUOoPnvFrNblFN4Uyo0eVLewSuS3IEu3YL5L k9laNXZ7zrugd6CQC1B5crxnlpUxnNMc57RcE9oA8bh5v+dqVHHISHA7WS7cf2CvPSgoLMj6hPYxh Hj+V1KbG3R/MBRJ3Z5H/Hmq/unUN4czTvLNCADgrR7oHeHcyU2UhBQtfyyYuSbTQ6CXz6sNAgPpXk aUj8e9mkrAq28VHXHn8A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pQy2T-00ASvv-E1; Sat, 11 Feb 2023 22:08:09 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pQy2Q-00ASuk-NK for linux-arm-kernel@lists.infradead.org; Sat, 11 Feb 2023 22:08:08 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 4E9FBB8037A; Sat, 11 Feb 2023 22:08:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 111D3C433EF; Sat, 11 Feb 2023 22:08:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1676153281; bh=gYxcyg3el+zKLZhcXz+DfLD5awHMaY3zfA1jcWBf9So=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=f40zjjtLa3wh2z8sS6GLcuSA8+/9XrOO+r0pQZNBivdHdWLTUqhb583L+Nhz6acVe NYnaOe+/zJ3zIooqPSLe/REK2PEWGX/A8lRUuyI2mtSpXSC697rSFU6s49RUkbMUHB qQEp5ByEK+uVQHqFn8PHAVVD4hl0V5KF+/rr9tL5PB/5qH1HTa5anv5MvxUl3IeA2K NOV7hzOUKlB46vhH79DxJPNhJ8Q7Eglkwspa/DXE/4b95YvMMe3I+RAUAs19EV5qz6 0t62VaC/Hltysdt3AAD9Ko2BPSjsY0uIFPxYoGRjw3YuCixfj0k03iE4YmjXKKkz6t O5oFDDrDj/zyA== Received: from sofa.misterjones.org ([185.219.108.64] helo=wait-a-minute.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1pQy2I-009dM3-PE; Sat, 11 Feb 2023 22:07:58 +0000 Date: Sat, 11 Feb 2023 22:07:58 +0000 Message-ID: <87o7pzlutd.wl-maz@kernel.org> From: Marc Zyngier To: Oliver Upton Cc: James Morse , Suzuki K Poulose , kvmarm@lists.linux.dev, Zenghui Yu , linux-arm-kernel@lists.infradead.org, Christoffer Dall , Ganapatrao Kulkarni , Russell King , Andre Przywara , Alexandru Elisei Subject: Re: [PATCH] KVM: arm64: nv: Use reg_to_encoding() to get sysreg ID In-Reply-To: <20230211190742.49843-1-oliver.upton@linux.dev> References: <20230211190742.49843-1-oliver.upton@linux.dev> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/27.1 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: oliver.upton@linux.dev, james.morse@arm.com, suzuki.poulose@arm.com, kvmarm@lists.linux.dev, yuzenghui@huawei.com, linux-arm-kernel@lists.infradead.org, christoffer.dall@arm.com, gankulkarni@os.amperecomputing.com, rmk+kernel@armlinux.org.uk, andre.przywara@arm.com, alexandru.elisei@arm.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230211_140806_943093_20646239 X-CRM114-Status: GOOD ( 12.34 ) 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 Sat, 11 Feb 2023 19:07:42 +0000, Oliver Upton wrote: > > Avoid open-coding and just use the helper to encode the ID from the > sysreg table entry. > > No functional change intended. > > Signed-off-by: Oliver Upton Acked-by: Marc Zyngier M. -- Without deviation from the norm, progress is not possible. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel