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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 325B5C43334 for ; Fri, 8 Jul 2022 19:20:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239434AbiGHTUb (ORCPT ); Fri, 8 Jul 2022 15:20:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229496AbiGHTU3 (ORCPT ); Fri, 8 Jul 2022 15:20:29 -0400 Received: from out2.migadu.com (out2.migadu.com [IPv6:2001:41d0:2:aacc::]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0AC031B7B1 for ; Fri, 8 Jul 2022 12:20:27 -0700 (PDT) Date: Fri, 8 Jul 2022 12:20:21 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1657308026; h=from:from:reply-to:subject:subject: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=ce9I51hIbs9Z/U1FMq7ylQYjRrpFbV3lrcD9ud+ZtUY=; b=nni5m67niu1sIBms4nFqs5MRgsnvB28TnAbmD53TKH6yQRILHmUBXxCP/+ZbuX4+uS/lgU wl72YkUO5ajRxudvYVQTDxb0llI6uzEwt+FIfntI5LLSWAFPc3cBPZKetwz1DoR+P/hdoB Jrn4rviZlLBuV04gGoJj4RPXX4tHhCc= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Oliver Upton To: Marc Zyngier Cc: kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, James Morse , Suzuki K Poulose , Alexandru Elisei , Schspa Shi , kernel-team@android.com Subject: Re: [PATCH 03/19] KVM: arm64: Introduce generic get_user/set_user helpers for system registers Message-ID: References: <20220706164304.1582687-1-maz@kernel.org> <20220706164304.1582687-4-maz@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220706164304.1582687-4-maz@kernel.org> X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: linux.dev Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On Wed, Jul 06, 2022 at 05:42:48PM +0100, Marc Zyngier wrote: > The userspace access to the system registers is done using helpers > that hardcode the table that is looked up. extract some generic > helpers from this, moving the handling of hidden sysregs into > the core code. > > Signed-off-by: Marc Zyngier Reviewed-by: Oliver Upton