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 C3E1AC77B6C for ; Thu, 13 Apr 2023 11:06:57 +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=5nH908DL+sKPJyWXFjbV64ckBPhRtAF1o9B/OhhbB1Q=; b=R6HTMEOnLBO4iY 5EleII9lQfGHqNNA3JEbGLn1cOUDvpEGmNMn3tIyr6UF4dCx1nj/qvs0Gf5W+GPnGgM50H0oSNsvn bjBbMbFEJS+96rci7KRN21suPCRCPjeqJoyv4+dHf+cTmtpKYO3Ksjekq0oBhS+9Ir1B9iEYuKcEH BFcwHdVKbGS+y2k859NFWxY+ge8mycq4fq2P6n3jfyiUiyIegWNFlt9JslW9QzP0zN3HU/opvVlAF z5Iknhf0CHW3HNJYwmq0iK5Cvy0fsQkgho2pzH/vYpUKCYRfUIQ1Gum70aE2rslFN/k7xNd43gfRI 2D8/1ol52oX9uuG66lSg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pmum2-005yWE-19; Thu, 13 Apr 2023 11:05:54 +0000 Received: from mail-am7eur03on20626.outbound.protection.outlook.com ([2a01:111:f400:7eaf::626] helo=EUR03-AM7-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pmulm-005yLV-2z for linux-arm-kernel@lists.infradead.org; Thu, 13 Apr 2023 11:05:40 +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=4u3oTOV0mSMj0K41nnJaT04mCHT3IqPCmPX8EXms0yU=; b=uH7YEHi7YfcGGPqulMANY/dB+rMI/zeIZtHK3OqAMiSKHE2uH23EFxyJeyoIwgoNJf/2/221o1MVP2ctC+4K9Nan1kMnSy1t6HMjHa8w9GZkN8FGT3uQ55EEX+lza/xKfIpy1wAvn8ev6pGlZ5e2wpu0mmo8cMx+0itJJKRn5rU= Received: from AS9PR0301CA0057.eurprd03.prod.outlook.com (2603:10a6:20b:469::11) by GV2PR08MB10354.eurprd08.prod.outlook.com (2603:10a6:150:dc::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6277.38; Thu, 13 Apr 2023 11:05:32 +0000 Received: from AM7EUR03FT064.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:469:cafe::60) by AS9PR0301CA0057.outlook.office365.com (2603:10a6:20b:469::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6298.31 via Frontend Transport; Thu, 13 Apr 2023 11:05:31 +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 AM7EUR03FT064.mail.protection.outlook.com (100.127.140.127) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6298.30 via Frontend Transport; Thu, 13 Apr 2023 11:05:31 +0000 Received: ("Tessian outbound 5bb4c51d5a1f:v136"); Thu, 13 Apr 2023 11:05:31 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 10bdd5c6c494f83b X-CR-MTA-TID: 64aa7808 Received: from d9313f6a807a.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id C943BE6E-A8BE-4522-A3FD-81F5EC4D3F4F.1; Thu, 13 Apr 2023 11:05:24 +0000 Received: from EUR03-AM7-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id d9313f6a807a.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 13 Apr 2023 11:05:24 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hsRNIihMJoyMeOYhPhFG9yoID6Njeb60g6R9zNdZazZJPJveHuZSwWyCVr5zJYXCso7P4psDja7tlO5vGr3tOkdfuFrO+GQv/0ZxapL+mxHIZl6Tt8FKHiCCvJ7O7FBo9IxG7OvjwCCTPAyTwDVpDAm5sxhhkz+NcBE6ULOT4h0dQwgi3QDAnciug4RukTtagbmbXJQ3EkarbFRkvfnNZeai1rwLxG3I4ZizGyHKWM5iNkLOvImzTYSIIu98f1LSDNaUTLGgPZrlA5dCvECiYm0dC3L5C+AKLXHl/QRFxFMMxbWHxkm5DJdNCXeDUk24h8r/keQMGiy1aGyDqUlHiQ== 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=4u3oTOV0mSMj0K41nnJaT04mCHT3IqPCmPX8EXms0yU=; b=kF1aGTj62jK5N67LKJ7Zwd1C4eMzc2JmEVEbgyPn12E/vIGG8oapcMUAP/afJ+dRoAWAKyELIpzAmEosRpexnqYcGrBkuqZSEs7TWjRTmO2xpaJUgQC7pr7o7b7cCxPT3N7dn2DiQiYHP+pKTQpxTXuLAeXb4AbSfFaBOR02wAtqpy/Uo13TswEJFHY/PqAHON2/RjaVb/WEGsTAm1EF3vpMBuFe/zcf7yMFzF2yeTaQAhmKYJi/yRZwQonAisGZwQABAxEPFTO4O+4jwxhSrEknlEYJZYToDjSKaQawjBuKGY1SnkaQEJuK4o+AL78Ddi+Ji2+XCkFtizjjJIyHxg== 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=4u3oTOV0mSMj0K41nnJaT04mCHT3IqPCmPX8EXms0yU=; b=uH7YEHi7YfcGGPqulMANY/dB+rMI/zeIZtHK3OqAMiSKHE2uH23EFxyJeyoIwgoNJf/2/221o1MVP2ctC+4K9Nan1kMnSy1t6HMjHa8w9GZkN8FGT3uQ55EEX+lza/xKfIpy1wAvn8ev6pGlZ5e2wpu0mmo8cMx+0itJJKRn5rU= Received: from AS9PR06CA0455.eurprd06.prod.outlook.com (2603:10a6:20b:49a::16) by AM9PR08MB6115.eurprd08.prod.outlook.com (2603:10a6:20b:2df::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6298.30; Thu, 13 Apr 2023 11:05:22 +0000 Received: from AM7EUR03FT021.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:49a:cafe::74) by AS9PR06CA0455.outlook.office365.com (2603:10a6:20b:49a::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6298.32 via Frontend Transport; Thu, 13 Apr 2023 11:05:22 +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 AM7EUR03FT021.mail.protection.outlook.com (100.127.140.243) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6298.31 via Frontend Transport; Thu, 13 Apr 2023 11:05:21 +0000 Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.17; Thu, 13 Apr 2023 11:05:18 +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.17 via Frontend Transport; Thu, 13 Apr 2023 11:05:17 +0000 From: Joey Gouly To: CC: , , , , , , , , , , Subject: [PATCH v2 09/19] KVM: arm64: Save/restore PIE registers Date: Thu, 13 Apr 2023 12:05:03 +0100 Message-ID: <20230413110513.243326-10-joey.gouly@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230413110513.243326-1-joey.gouly@arm.com> References: <20230413110513.243326-1-joey.gouly@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-TrafficTypeDiagnostic: AM7EUR03FT021:EE_|AM9PR08MB6115:EE_|AM7EUR03FT064:EE_|GV2PR08MB10354:EE_ X-MS-Office365-Filtering-Correlation-Id: a42b950c-fd61-486d-4fc6-08db3c0eff94 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: 8mvFyBfPtsyj0+n/sIO/edJVVPrFj/hF8Orq2n0tF1Ot7qjUk9RyPZInhSZt+WgMEIe2qBM0fCQ6NhDlYrgs+wgf14Fh/54aNdfOjLm3y2ZGIs8i2PektRO36B6W9j/TmPby/BTXlShZ0VBau0DRqWkoIPWF3yiJG4mOqr2LpVz/jth8xLpS4tmzimAUCkMk7M3cbC4+9AQ7NNW1rGKIVhMmOIjySrQPabHAWpcW8fqyqR/ed12Ox2X0hWy3DlvlXiAR3yBe9quhRTB328hvoquiYJeXvQqpRHyX70NAzhlkC5T4zs8bN2kDewU2MbZDrg2uL8+FWCsFLdGyDp5AMPU5JMmIDuh1Zv0JCXIEEwS6IT56wblwJG+RJ7nLjJJoaI265ANgT/IWJ0b9uAgki3mxDiyq+F2C3d4nYxaESAZIwY+D5KNgRG9DbUxTe7Fo1HXJtP4VsiAT5ikx98BEGtnNNTY2tfc32OgGx1VES+a/6JbY48cklojlSdLFEUBaseeoEP1pV7z0OXKkSDFDypIJJbcEw6uyR6JIBAV3Qk87Fm8A+8CvgU0tfIgzelWKEfnc9hnp/kdqYTRS1Rg9Bw0RM2EB3dAX2xDBA7X7jWAtAHT1mRc0cPeHk3inel29z7vlADE3H5pTOf1UEkyfCB3WCPTomzxw7GSQgHOHFHHwWejpHkbz9bXILVZcfcRRraCdkUsTbZHA201u+Qu5AZogWFCCiD6yCUQz16kWLz0= 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)(346002)(376002)(39860400002)(396003)(136003)(451199021)(46966006)(36840700001)(40470700004)(8676002)(8936002)(41300700001)(5660300002)(44832011)(6916009)(4326008)(81166007)(316002)(356005)(2906002)(70206006)(70586007)(426003)(478600001)(54906003)(86362001)(82740400003)(7696005)(6666004)(186003)(1076003)(40460700003)(82310400005)(83380400001)(336012)(26005)(40480700001)(36860700001)(2616005)(36756003)(47076005)(36900700001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR08MB6115 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM7EUR03FT064.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 0eec4454-6060-4641-cd35-08db3c0ef9bb X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Uy+1lnLmW4fbKmshK/58gG8zF2doyZ+XIKqeBpBNhYL7FeeLgoKC67lbYGDTEgrHjRGGUAhR54mp4A2VvzjbZm0exaAa96dPSIkC7YmqM27/HcfZ4rpGulwect70iqakAiKbWSIstlpmpThu2dleMq+qecDYhPpbn+pztPhE4I8VSV4tEOn3xnelZf6hhbL61rT/Kh0UwB24yeo2sWYEqoZWw0ueIeDcc0fmZrNQQlLC/gLVkjYoDVezGVDTFRrg6EeUwRqa6e8z37Ylx8N6LkTto2WHSdLAPR2hvD2D7ISUwLpakp9dsQamjYvOuciqv86zwdO1boQLTc1BO5bQRoNALSjPT232E6Sm0ieXcJGB6jSHOqQhgzeHjtsxGG0iQlzaDSjqNvLlvy/Lind46f+G/YJh7nJ8IctW2zGQHRTJm+mJPh4WxADThpIAxH6eyuvT8Vl6ad027QbdqnXXbZp712+2FrYITJAwe1kMSQ4QD1tjjhxeAq3M8JgyNQoxFRnudwoqKpEZvyTHE3zWp1TRX3uOORn0XgnARjMUHJ7Snmeo5/47FqcuNR2E2Rz/BUuCJv910tPwWHaXZjZJmw2I4pfYpRD9j3qKljoK/wxJ3Esy4Fy5yjTFp84Uw3TU6m6aRUcSTD3BD2PnKyIjc3Oii1YQ+EMSBCuJlQr/UpI3c0u3bJl60Otu/C4o72iU28Q+HpMJUVg2Y/FSYPzJMw== 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)(396003)(39860400002)(136003)(376002)(346002)(451199021)(36840700001)(46966006)(40470700004)(54906003)(36860700001)(2616005)(478600001)(47076005)(26005)(107886003)(1076003)(83380400001)(6666004)(7696005)(41300700001)(316002)(4326008)(6916009)(82740400003)(186003)(426003)(336012)(70206006)(70586007)(81166007)(5660300002)(44832011)(36756003)(2906002)(40460700003)(82310400005)(86362001)(40480700001)(8936002)(8676002);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Apr 2023 11:05:31.7394 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a42b950c-fd61-486d-4fc6-08db3c0eff94 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: AM7EUR03FT064.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV2PR08MB10354 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230413_040539_011480_0F4C16DC X-CRM114-Status: GOOD ( 11.76 ) 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 Define the new system registers that PIE introduces and context switch them. The PIE feature is still hidden from the ID register, and not exposed to a VM. Signed-off-by: Joey Gouly Cc: Marc Zyngier Cc: Oliver Upton Cc: James Morse Cc: Suzuki K Poulose Cc: Zenghui Yu Cc: Catalin Marinas Cc: Will Deacon Reviewed-by: Catalin Marinas --- arch/arm64/include/asm/kvm_host.h | 4 ++++ arch/arm64/kvm/hyp/include/hyp/sysreg-sr.h | 8 ++++++++ arch/arm64/kvm/sys_regs.c | 2 ++ 3 files changed, 14 insertions(+) diff --git a/arch/arm64/include/asm/kvm_host.h b/arch/arm64/include/asm/kvm_host.h index e1137832a01f..381bd0763abf 100644 --- a/arch/arm64/include/asm/kvm_host.h +++ b/arch/arm64/include/asm/kvm_host.h @@ -367,6 +367,10 @@ enum vcpu_sysreg { CNTHCTL_EL2, /* Counter-timer Hypervisor Control register */ SP_EL2, /* EL2 Stack Pointer */ + /* Permission Indirection Extension registers */ + PIR_EL1, /* Permission Indirection Register 1 (EL1) */ + PIRE0_EL1, /* Permission Indirection Register 0 (EL1) */ + NR_SYS_REGS /* Nothing after this line! */ }; diff --git a/arch/arm64/kvm/hyp/include/hyp/sysreg-sr.h b/arch/arm64/kvm/hyp/include/hyp/sysreg-sr.h index 16199a107a47..99566bca19a9 100644 --- a/arch/arm64/kvm/hyp/include/hyp/sysreg-sr.h +++ b/arch/arm64/kvm/hyp/include/hyp/sysreg-sr.h @@ -55,6 +55,10 @@ static inline void __sysreg_save_el1_state(struct kvm_cpu_context *ctxt) ctxt_sys_reg(ctxt, CONTEXTIDR_EL1) = read_sysreg_el1(SYS_CONTEXTIDR); ctxt_sys_reg(ctxt, AMAIR_EL1) = read_sysreg_el1(SYS_AMAIR); ctxt_sys_reg(ctxt, CNTKCTL_EL1) = read_sysreg_el1(SYS_CNTKCTL); + if (cpus_have_final_cap(ARM64_HAS_PIE)) { + ctxt_sys_reg(ctxt, PIR_EL1) = read_sysreg_el1(SYS_PIR); + ctxt_sys_reg(ctxt, PIRE0_EL1) = read_sysreg_el1(SYS_PIRE0); + } ctxt_sys_reg(ctxt, PAR_EL1) = read_sysreg_par(); ctxt_sys_reg(ctxt, TPIDR_EL1) = read_sysreg(tpidr_el1); @@ -127,6 +131,10 @@ static inline void __sysreg_restore_el1_state(struct kvm_cpu_context *ctxt) write_sysreg_el1(ctxt_sys_reg(ctxt, CONTEXTIDR_EL1), SYS_CONTEXTIDR); write_sysreg_el1(ctxt_sys_reg(ctxt, AMAIR_EL1), SYS_AMAIR); write_sysreg_el1(ctxt_sys_reg(ctxt, CNTKCTL_EL1), SYS_CNTKCTL); + if (cpus_have_final_cap(ARM64_HAS_PIE)) { + write_sysreg_el1(ctxt_sys_reg(ctxt, PIR_EL1), SYS_PIR); + write_sysreg_el1(ctxt_sys_reg(ctxt, PIRE0_EL1), SYS_PIRE0); + } write_sysreg(ctxt_sys_reg(ctxt, PAR_EL1), par_el1); write_sysreg(ctxt_sys_reg(ctxt, TPIDR_EL1), tpidr_el1); diff --git a/arch/arm64/kvm/sys_regs.c b/arch/arm64/kvm/sys_regs.c index 5e7e4a433035..6e92821b0bea 100644 --- a/arch/arm64/kvm/sys_regs.c +++ b/arch/arm64/kvm/sys_regs.c @@ -1921,6 +1921,8 @@ static const struct sys_reg_desc sys_reg_descs[] = { { SYS_DESC(SYS_PMMIR_EL1), trap_raz_wi }, { SYS_DESC(SYS_MAIR_EL1), access_vm_reg, reset_unknown, MAIR_EL1 }, + { SYS_DESC(SYS_PIRE0_EL1), NULL, reset_unknown, PIRE0_EL1 }, + { SYS_DESC(SYS_PIR_EL1), NULL, reset_unknown, PIR_EL1 }, { SYS_DESC(SYS_AMAIR_EL1), access_vm_reg, reset_amair_el1, AMAIR_EL1 }, { SYS_DESC(SYS_LORSA_EL1), trap_loregion }, -- 2.25.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel