Message ID | 20230606145859.697944-11-joey.gouly@arm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> 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 DB2D4C7EE24 for <linux-arm-kernel@archiver.kernel.org>; Tue, 6 Jun 2023 15:00:10 +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: Message-ID:Date: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=ke4dPNepc1w4xmMYa803bj9B/Ho5vs45yfbRgdkGmtk=; b=1TTAjpbUxDPd7z krqGx3nCGuyjThftq4i90J750SR+Sm3S/dltIJu8f1HW3qZf86CKbFjqrB+v6PF2bitR6yt41U2/R we0yZJiKGsnTMLekLooQbVE/Hl9oUcz6zcMYLRW0xk3C0M+0PRPRh15D2KVwpO1/eV7te5B3hOzID xjK9YCeOP/TfYmUUFazMe9cB5VtB+Oy/qVYsJbQ9giIMrzDZu7YouAmZtE6agjuWSaxBxD/e8udXK AOwIyIBO/d49vst1wYAZ6eDQu1EVdCWOTqJzktx6zYvhWVH381aFtl/TPVk+Gg171HpBsMgWh0/Mh meVZ4aoSYeSCwqTVe48g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q6Y9q-0028iY-0N; Tue, 06 Jun 2023 14:59:38 +0000 Received: from mail-vi1eur04on0621.outbound.protection.outlook.com ([2a01:111:f400:fe0e::621] helo=EUR04-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q6Y9j-0028c8-0j for linux-arm-kernel@lists.infradead.org; Tue, 06 Jun 2023 14:59:32 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=F9YUASzMPvNenlZWH9OXsaTidErmkWTErrPATYqFvKs=; b=3niZOig8vVpJjpeFQ558XdNlMl1LJ6Clzi8Im3VCFzSa07mCeGv0t0IhDScARrJ/K2URXBa/1r5EV5NPeZZnTzxOoP2V3eIBilchd18p2MKm0V6D5WDppjoRrkr9mYVVMtyv37V3+SOFEZPvP6reVaVk/KluAOT/VeOid5w+16g= Received: from DB9PR02CA0016.eurprd02.prod.outlook.com (2603:10a6:10:1d9::21) by AS2PR08MB8974.eurprd08.prod.outlook.com (2603:10a6:20b:5fa::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.33; Tue, 6 Jun 2023 14:59:26 +0000 Received: from DBAEUR03FT016.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:1d9:cafe::3) by DB9PR02CA0016.outlook.office365.com (2603:10a6:10:1d9::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.33 via Frontend Transport; Tue, 6 Jun 2023 14:59:26 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DBAEUR03FT016.mail.protection.outlook.com (100.127.142.204) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6477.19 via Frontend Transport; Tue, 6 Jun 2023 14:59:26 +0000 Received: ("Tessian outbound e13c2446394c:v136"); Tue, 06 Jun 2023 14:59:26 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 95a2540c628ac5e5 X-CR-MTA-TID: 64aa7808 Received: from f411f2690e57.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 94AAE69C-EC6F-4E8A-B7EC-326E5EA3B0E4.1; Tue, 06 Jun 2023 14:59:18 +0000 Received: from EUR05-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id f411f2690e57.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 06 Jun 2023 14:59:18 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=P7vVCt6BosC/g04RUeshseIvzV54Qec5J61zsgR8veY4w3NjZeSxA29TWe6egIflAvhSFNgJmjl84EzNP1wBIgQphJ6UTwMbCWDpcmjmvg0xZ00IhJRZTtnP0SRd4Hqe2LunL+9XM1/+a7ii9xEd0kdBvWR4HQk4RnVxe9v8dkJwwfJ0/v+SZYT15+5jnHFrRslcSxjRUSPOoaHfgJxNIS8bA5SMGmmeZUtlopvVjiXtXGLENeY/KUfs+m6t0ngdOEA+8Y5Wp1XxPx4in4+BE8+pdRKr1dV9baAcVzfgBcRjl/mClWr+1W3IVNUs8W6KAt+4+aTATQU+B1rgv16NBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=F9YUASzMPvNenlZWH9OXsaTidErmkWTErrPATYqFvKs=; b=EC1GqZIpd1fNbfylCY46c+QFUO6WK4IrGfcP2vd5MNz/G1B3EMAnIaynoaHGGYRBC0JIc8iWstAYicvxxqhLwu4A2Sah8dMhjDZUrm/0wH7dyIFVJ2GjyO1FxDUL7XJR/La4TzPZH5oBAZnmT3NhP9xFYgw6fFeXCWgPJEpj1gn3bgWlclGEDjJvzimQtfWmk06f5fkWUc6R8UoOW80AuVR+fBDKRvynKrzhfUH7U5wjr2R2BD+Pl++gXCpjSw117AdpL3bmwqDuj64nsJ5Qf013so4OYvZg55iX2lEYeiN3mpUBWmOTPzLAxs5IqsedVTlxkT2h+KYbH9W31++dUg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 40.67.248.234) smtp.rcpttodomain=lists.infradead.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=F9YUASzMPvNenlZWH9OXsaTidErmkWTErrPATYqFvKs=; b=3niZOig8vVpJjpeFQ558XdNlMl1LJ6Clzi8Im3VCFzSa07mCeGv0t0IhDScARrJ/K2URXBa/1r5EV5NPeZZnTzxOoP2V3eIBilchd18p2MKm0V6D5WDppjoRrkr9mYVVMtyv37V3+SOFEZPvP6reVaVk/KluAOT/VeOid5w+16g= Received: from AS8PR04CA0162.eurprd04.prod.outlook.com (2603:10a6:20b:331::17) by GV1PR08MB8237.eurprd08.prod.outlook.com (2603:10a6:150:5d::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.32; Tue, 6 Jun 2023 14:59:16 +0000 Received: from AM7EUR03FT015.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:331:cafe::d) by AS8PR04CA0162.outlook.office365.com (2603:10a6:20b:331::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.32 via Frontend Transport; Tue, 6 Jun 2023 14:59:16 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 40.67.248.234 as permitted sender) receiver=protection.outlook.com; client-ip=40.67.248.234; helo=nebula.arm.com; pr=C Received: from nebula.arm.com (40.67.248.234) by AM7EUR03FT015.mail.protection.outlook.com (100.127.140.173) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6477.19 via Frontend Transport; Tue, 6 Jun 2023 14:59:16 +0000 Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX03.Arm.com (10.251.24.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Tue, 6 Jun 2023 14:59:07 +0000 Received: from e124191.cambridge.arm.com (10.1.197.45) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.2507.23 via Frontend Transport; Tue, 6 Jun 2023 14:59:07 +0000 From: Joey Gouly <joey.gouly@arm.com> To: <linux-arm-kernel@lists.infradead.org> CC: <nd@arm.com>, <broonie@kernel.org>, <catalin.marinas@arm.com>, <james.morse@arm.com>, <joey.gouly@arm.com>, <mark.rutland@arm.com>, <maz@kernel.org>, <oliver.upton@linux.dev>, <shuah@kernel.org>, <suzuki.poulose@arm.com>, <will@kernel.org>, <yuzenghui@huawei.com> Subject: [PATCH v4 10/20] KVM: arm64: expose ID_AA64MMFR3_EL1 to guests Date: Tue, 6 Jun 2023 15:58:49 +0100 Message-ID: <20230606145859.697944-11-joey.gouly@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230606145859.697944-1-joey.gouly@arm.com> References: <20230606145859.697944-1-joey.gouly@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-TrafficTypeDiagnostic: AM7EUR03FT015:EE_|GV1PR08MB8237:EE_|DBAEUR03FT016:EE_|AS2PR08MB8974:EE_ X-MS-Office365-Filtering-Correlation-Id: fceaf629-1f50-46c8-1492-08db669e9f5d x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: zuR8SUrha3gJIIuMIfDacR6ljB7hSOlVXOCtNxMrn/ahYhMgOF7UzfJ5FALcPfFd3QhB4fTTSAjLSRIGDYS1sG5ad7Jyf+G5ypyKQPbxXL0S1zkfQAu+twA3uCIHYyGXgw0Eg+bw/nfPXXB/z9BG3SfBFLFntX4MXeUnmVqDYhCmFdIjgRa/xaz8iSEbJLEG/VpScXRyoo/g5mZvtLAatYDd8RixxkO4hsTwPAWyy54R49xg1og28Zz3hQql3Vwyj/aQkdn9kZUuYG8pKY1gtjrQjaQe84PBFVwO3EtX8wDnc8uqJ2R/HvWf2OdbGYZIiKWZ3omtlVrkSXm27QPtL9GmPZNvY1lYPb45SJeKSIVlelw/Oi4X98+DP/cm+Tu3acnAzq7/YsVLXDNtndtjjz70dKi1f3a4HRDflRwxCPnVR2e+2CtH8vZUCpz7bJIFnkxQCX7F09GrxjEZpuhNr819Q6e7lMI+vQXJC9FLy+rMhNdYyjbpCGY9TY2ICIMrM+UdvGsls6WNZZjcN5nrVCDEFtRnV56pIG8hnaYldDCRIaOYlDdLKp24VoJ+J3BcE6pq/ffSNEzqxwH53+vJKhj+kprFas0NNlyf3SmmkI+P28rxattYpAJUHKzwYFb4M22wNbFt4X/UO6Ql+Q4aMUY70MX1xa7N7w+0B55Y0//rSiHLVDz9/8mhJMTaDQ2662cn1GX0+m0I+q4SK0kOoMm/pYTj17JSA4+HDTmu/69N5ze69ix7SaeEXjoTDAanP2qO0rOSFcV9vR/RqKL/FQ== X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:nebula.arm.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230028)(4636009)(136003)(346002)(396003)(376002)(39860400002)(451199021)(40470700004)(46966006)(36840700001)(1076003)(186003)(26005)(2616005)(426003)(336012)(83380400001)(47076005)(36756003)(6666004)(36860700001)(54906003)(82310400005)(7696005)(2906002)(8676002)(8936002)(40480700001)(44832011)(82740400003)(478600001)(40460700003)(5660300002)(6916009)(86362001)(4326008)(70206006)(41300700001)(316002)(70586007)(356005)(81166007)(36900700001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR08MB8237 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DBAEUR03FT016.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 19e1d012-1fb0-4730-af0c-08db669e9914 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: UufD9RdOrcWHwWh1oEmTqrwX9YQex98h+0ZlSkNynOGF0YtXmjYaAj8+Kt87t7zG2XoJW2Yks5XMqmTHufZcAhpssn00H1dkEteMZ/ere+0qHEx5ghzP6CPbMY1l0ydqWlTpuSrNmnywksqLq3gTMPoxsSY3S9MqfITts+LMkJBNIAwpmQ+rU9EZrF5ozOL4kzeYekYeXbKi4yGeKL7+6yVopPzdWNctaYGaE5w3xth4HYUsGxjF+MF4XqXFr2uaNHGdDhw0ko/ty76ilDuoblbLzWQ+BXjEgBYPCvy5u5tb287Ab571MyAOycai5s7PWGoWdlNbzinbb3i0GspcsIzhIY1i9KHk7Acrmbi6V9Qap4Id/CQpKx0lfwYOXPmhc58omZH48fpEAhWg/GXPGapGMTnDckstVyYKrbb/v5sVSZeqCpNCykL64Mn1raeeMEwpC/OZwOZOeQiIxPceYXZC+3+pRnjzCaVFY5XJBFzOGehYU3Q7dQiITsgDJXl+64FuWi4c4iKkxwpvW25Mvn7HY+8FtGMmR9lNSSiYPDWgIJ0pX2ETY2R74ZBtpUFtojZknlSJXL8KLz4kavupc0oof6+/ldKy06drqr92nIo8r2jH13lotPHIDP/1XxvYKua2Fc0MeYnK+q+2WR+FdnlYgvZd0jOZlbnmYAbemZ334Z0F8Mq81R5BZZDeC/Yb/S9zMGlNtfhfSX1baTV2PaxW212tDUggvhtHmUG3ggG98B106qHmLA+Vqpxs1Enr X-Forefront-Antispam-Report: CIP:63.35.35.123;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-1.mta.getcheckrecipient.com;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;CAT:NONE;SFS:(13230028)(4636009)(376002)(39860400002)(396003)(136003)(346002)(451199021)(36840700001)(46966006)(40470700004)(40460700003)(426003)(47076005)(2906002)(336012)(83380400001)(2616005)(82310400005)(86362001)(36756003)(81166007)(82740400003)(36860700001)(40480700001)(7696005)(41300700001)(6666004)(5660300002)(316002)(107886003)(8936002)(8676002)(54906003)(478600001)(70206006)(70586007)(4326008)(6916009)(1076003)(26005)(186003)(44832011);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jun 2023 14:59:26.7288 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fceaf629-1f50-46c8-1492-08db669e9f5d X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DBAEUR03FT016.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS2PR08MB8974 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230606_075931_301601_A4C9BE59 X-CRM114-Status: GOOD ( 11.11 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
Permission Indirection Extension
|
expand
|
diff --git a/arch/arm64/kvm/sys_regs.c b/arch/arm64/kvm/sys_regs.c index 2a0125060911..a2e7f53a65ae 100644 --- a/arch/arm64/kvm/sys_regs.c +++ b/arch/arm64/kvm/sys_regs.c @@ -1873,7 +1873,7 @@ static const struct sys_reg_desc sys_reg_descs[] = { ID_SANITISED(ID_AA64MMFR0_EL1), ID_SANITISED(ID_AA64MMFR1_EL1), ID_SANITISED(ID_AA64MMFR2_EL1), - ID_UNALLOCATED(7,3), + ID_SANITISED(ID_AA64MMFR3_EL1), ID_UNALLOCATED(7,4), ID_UNALLOCATED(7,5), ID_UNALLOCATED(7,6),