From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A10BB846D for ; Wed, 23 Aug 2023 07:37:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1692776239; 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=u62nPwHcShighjmVk2GZlC7k3Viptp+NNP/1gOvS9nc=; b=XD2xKlwnBjZg8WhoWpnQhUtpx2dyKfR3VPCg5aymeX0jN03zX45q6e6NOJs6Xhst0tEZWc J2MECK9HEJ7DjR12f0PeLUdRLkWndAoUXVYyQ2qukLbdqpiAI5eK6p1ySM0k2BHJKiWLx4 JDUDzzLhW9LwqiNl8PaDLyCTaqRIdUM= Received: from mimecast-mx02.redhat.com (66.187.233.73 [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-441-YXYYzJ0YM6WOHWJi_fVesQ-1; Wed, 23 Aug 2023 03:37:16 -0400 X-MC-Unique: YXYYzJ0YM6WOHWJi_fVesQ-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 407CB381AE57; Wed, 23 Aug 2023 07:37:15 +0000 (UTC) Received: from localhost (dhcp-192-239.str.redhat.com [10.33.192.239]) by smtp.corp.redhat.com (Postfix) with ESMTPS id E4311492C18; Wed, 23 Aug 2023 07:37:14 +0000 (UTC) From: Cornelia Huck To: Jing Zhang , KVM , KVMARM , ARMLinux , Marc Zyngier , Oliver Upton Cc: Will Deacon , Paolo Bonzini , James Morse , Alexandru Elisei , Suzuki K Poulose , Fuad Tabba , Reiji Watanabe , Raghavendra Rao Ananta , Suraj Jitindar Singh , Shaoqin Huang , Jing Zhang Subject: Re: [PATCH v9 00/11] Enable writable for idregs DFR0,PFR0, MMFR{0,1,2,3} In-Reply-To: <20230821212243.491660-1-jingzhangos@google.com> Organization: "Red Hat GmbH, Sitz: Werner-von-Siemens-Ring 12, D-85630 Grasbrunn, Handelsregister: Amtsgericht =?utf-8?Q?M=C3=BCnchen=2C?= HRB 153243, =?utf-8?Q?Gesch=C3=A4ftsf=C3=BChrer=3A?= Ryan Barnhart, Charles Cachera, Michael O'Neill, Amy Ross" References: <20230821212243.491660-1-jingzhangos@google.com> User-Agent: Notmuch/0.37 (https://notmuchmail.org) Date: Wed, 23 Aug 2023 09:37:13 +0200 Message-ID: <878ra28b12.fsf@redhat.com> Precedence: bulk X-Mailing-List: kvmarm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 3.1 on 10.11.54.9 On Mon, Aug 21 2023, Jing Zhang wrote: > This patch series enable userspace writable for below idregs: > ID_AA64DFR0_EL1, ID_DFR0_EL1, ID_AA64PFR0_EL1, ID_AA64MMFR{0, 1, 2, 3}_EL1. > A vm ioctl is added to get feature ID register writable masks from userspace. > A selftest is added to verify that KVM handles the writings from user space > correctly. > A relevant patch from Oliver is picked from [3]. > > --- > > * v8 -> v9 > - Rebase on v6.5-rc7. > - Don't allow writable on RES0 fields and those fields not exposed by KVM. > - Fixed build dependency issue for system register definition generation in > selftest. What about the changes to the userspace interface as proposed by Marc in <86sf8hg45k.wl-maz@kernel.org>? 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 AAD24EE49AB for ; Wed, 23 Aug 2023 07:38:12 +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:Message-ID:Date:References :In-Reply-To:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=FS1TF+KfvwfLI8X/xRE+S+QpHZ230u50NB7mtm8pFxo=; b=KmNS/KNyYiyo7u oyIE2Hs1C9+jExuhSgS+uOJL8S6wyWSodIKGWvh07X8nWbKM8MaFw6F1P+0M4X5DVutLL0bG2deF9 eDKCaes/Tz8kbyqBB7VyVQiCdzsCQKExo29TTfp/jCLu8zsCb3/X1hvNSVncuZ0ePYVHpHnF40N9u /zRTz9XS2R1dTNy6Kny9b/FNzpjGz+Ig4C8+NNBO2himcku2anUelS8IyOwEwoaoAqRO5G+GmaHyc iZaoE+qvEIpVjpMrC3pYz0hXmWcgvDbVWkW2iEimD7XJ4Hg/pcjq8sG02U9hu2ceNxgY/9FyKp/A1 7W8JZT0422htBM+ZPuBA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qYiQm-00HUAz-1u; Wed, 23 Aug 2023 07:37:32 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qYiQf-00HU96-0q for linux-arm-kernel@lists.infradead.org; Wed, 23 Aug 2023 07:37:26 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1692776243; 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=u62nPwHcShighjmVk2GZlC7k3Viptp+NNP/1gOvS9nc=; b=WrrlD5BBLg4P/zvBL7rm/HRIdMgxstb1Ys0mgpBl0CknU0foSjQVY0LkkDu/TSTPCAT/N8 eP/Lu1v02wE/YlDFLew46XcHPPJNd+ml6SQLSOH1osXVVO1F0sdM5hySIIBlrNLCtxk+Ud Va4Mv3GyVCFAsIIY0G9Tx3ZS7aPX3UU= Received: from mimecast-mx02.redhat.com (66.187.233.73 [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-441-YXYYzJ0YM6WOHWJi_fVesQ-1; Wed, 23 Aug 2023 03:37:16 -0400 X-MC-Unique: YXYYzJ0YM6WOHWJi_fVesQ-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 407CB381AE57; Wed, 23 Aug 2023 07:37:15 +0000 (UTC) Received: from localhost (dhcp-192-239.str.redhat.com [10.33.192.239]) by smtp.corp.redhat.com (Postfix) with ESMTPS id E4311492C18; Wed, 23 Aug 2023 07:37:14 +0000 (UTC) From: Cornelia Huck To: Jing Zhang , KVM , KVMARM , ARMLinux , Marc Zyngier , Oliver Upton Cc: Will Deacon , Paolo Bonzini , James Morse , Alexandru Elisei , Suzuki K Poulose , Fuad Tabba , Reiji Watanabe , Raghavendra Rao Ananta , Suraj Jitindar Singh , Shaoqin Huang , Jing Zhang Subject: Re: [PATCH v9 00/11] Enable writable for idregs DFR0,PFR0, MMFR{0,1,2,3} In-Reply-To: <20230821212243.491660-1-jingzhangos@google.com> Organization: "Red Hat GmbH, Sitz: Werner-von-Siemens-Ring 12, D-85630 Grasbrunn, Handelsregister: Amtsgericht =?utf-8?Q?M=C3=BCnchen=2C?= HRB 153243, =?utf-8?Q?Gesch=C3=A4ftsf=C3=BChrer=3A?= Ryan Barnhart, Charles Cachera, Michael O'Neill, Amy Ross" References: <20230821212243.491660-1-jingzhangos@google.com> User-Agent: Notmuch/0.37 (https://notmuchmail.org) Date: Wed, 23 Aug 2023 09:37:13 +0200 Message-ID: <878ra28b12.fsf@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.9 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230823_003725_368491_D70F5978 X-CRM114-Status: GOOD ( 12.58 ) 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, Aug 21 2023, Jing Zhang wrote: > This patch series enable userspace writable for below idregs: > ID_AA64DFR0_EL1, ID_DFR0_EL1, ID_AA64PFR0_EL1, ID_AA64MMFR{0, 1, 2, 3}_EL1. > A vm ioctl is added to get feature ID register writable masks from userspace. > A selftest is added to verify that KVM handles the writings from user space > correctly. > A relevant patch from Oliver is picked from [3]. > > --- > > * v8 -> v9 > - Rebase on v6.5-rc7. > - Don't allow writable on RES0 fields and those fields not exposed by KVM. > - Fixed build dependency issue for system register definition generation in > selftest. What about the changes to the userspace interface as proposed by Marc in <86sf8hg45k.wl-maz@kernel.org>? _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel