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 C5C06C43334 for ; Fri, 8 Jul 2022 19:21:28 +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=qQKnSGWKkDalv5BzLehZ9GjcqN2zrdfrKcKAPRj42Ts=; b=hfrxDQTQWjOwBG P8X7sdUqq8vSGDwEzdJWELvkXf43ULyVtJDi1dRunv2gGt6uCv4j/Zp5dEC3Z7bx6TgKl94GGgacJ gAc5eyTqeyVDJtlqYlzrbrwBHGGn5oZK3hT2970ob8bQb9yR8nhSV1xx9fwQVaCP+Fi4vzLgBLDha req4jiAp1sZ8Bv4uoU8awlGyPgaomsx8OeZ8wCTF4sca/8Oqls6Bdmamm0ubjnPehIbThjXtIzrgX RexcGIJdWYg4pEGdlsX4ITfz6e3b4sDkaTBenQ7lBLV6SZR7yNQE1G9Vpt57iNhK+Vr+i5Q0WQRnT f26e0d8fSBpf7abiga0Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o9tWi-005ZXp-Ko; Fri, 08 Jul 2022 19:20:32 +0000 Received: from out2.migadu.com ([188.165.223.204]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o9tWf-005ZWQ-HC for linux-arm-kernel@lists.infradead.org; Fri, 08 Jul 2022 19:20:31 +0000 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-Disposition: inline In-Reply-To: <20220706164304.1582687-4-maz@kernel.org> X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: linux.dev X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220708_122030_008746_1DC50476 X-CRM114-Status: UNSURE ( 8.19 ) 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 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel