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 871BEE7716E for ; Thu, 5 Dec 2024 18:19:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To: Content-Type:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=KPDtMP442gaYKlVh/Ls3N+heIJstnrgXbKV87aNODbc=; b=tt0heb9cDm0tyy+y/6L/T3UPS8 iWSlfGNtMaGo6gEX3jTiSUHS3TYzJpVrrFgoTKEwvpqsJDHtsgOK4VYOHcKq+CN+fKzuPtzdluFES tc1OyXcCtjU/eaxCWcUd/9sW2UjxaAluo1+H095sxvUNvUolfQW6i8XYZmMGX8wjYDFQzel4fWi9Y L8lAhqJxz+HvUIQAhZpXM/P21J6j8EHrkzF/5mZPIB1fLwm3hYWlDOFnZEUKj/rqNoOM/bnj72zF/ jHcJnx8MfXeizDfMzVqXuxLpxZM9q1Dx3xJ9yuECH4RNqfmXpSlq/aTjgFIv22s/9Y/FxzuzWdBk+ XRxAiAZQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tJGRm-0000000H65D-3QHy; Thu, 05 Dec 2024 18:19:30 +0000 Received: from mail-westcentralusazlp170100000.outbound.protection.outlook.com ([2a01:111:f403:c112::] helo=CY4PR05CU001.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tJGQm-0000000H61f-0oqP for linux-arm-kernel@lists.infradead.org; Thu, 05 Dec 2024 18:18:29 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=zQwFU1TnAF/SH7QpbMkKvWe28KO43t2dBPlovDbU1cmxn5gTwaag6XR3dyQ5WnwSRxHeBjvE9dKBSfc5/3pM2wJnIbmEtdWs1YgD+WjwoyRTjmLXW9EqcwxX4e3kxYid0ufBPgcaBpK3Mjfaub7N5z1SBmgU2rw6os/KUNiOjYDUZSoc4nmcorESMyRgZGekkAvklcMD2qTvmL7KdqTRFDv4bu/Z/MUmJNzA3zq2z3opzsdla6m1XlNZtqdo7mPOVaBUyXV3mPcbOiHr19BSbRvXyTnwFvluYw6gnpE0vJ1XOGEQ7NLH6TvHxopSM1jaK9AOVKzk5V7WwkC92zdFzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=KPDtMP442gaYKlVh/Ls3N+heIJstnrgXbKV87aNODbc=; b=LRcxIo8au0Te0fsfM11ATmpDLY82ykCgU8LUjIBIKFv5tFJmcgUzlw+7R1/jTOkVlIZvR1tBEA3rNNVhG/k/+FZP/HrYMQK1pE5yRbwU++TT+kG1j8Y+/Z5kDZIQkV+5VTIrtJ10e26QwxEZ8CGhKQdo/BId3cqdUtAO2YPhGwVcy8FTyrRWp8Guw+28dkFIWxLEl2lJGgKjxANsmqZDenpEd0gWjhn9KWRUj9vuPtibLU/BFYGfJn2vJBqYmlA27U2gevLPNddrz9rvbfmwo+8h6nu0BBx+SaYSBpqPY0oEa+vrr8u8WBFj+eI5iik8W7snpDDfaWjosyp7sTYemg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=os.amperecomputing.com; dmarc=pass action=none header.from=os.amperecomputing.com; dkim=pass header.d=os.amperecomputing.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=os.amperecomputing.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=KPDtMP442gaYKlVh/Ls3N+heIJstnrgXbKV87aNODbc=; b=V/WjzeuKP1hg9a39/aTDj6iy/hgzjl8E7ZC0E4ixajRXWijjZR8zZZhbywThbNZLE3GbE1THThIF9tq1nH/Qe09WeG2njOpR45tYh7p7sZCzeVojwpLvst+iZjHOH+fB5jJX32C/Pavq5isB0Act3X2NoQFktxQdhnyuEBh8s7c= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from MW2PR0102MB3419.prod.exchangelabs.com (2603:10b6:302:5::13) by MW6PR01MB8577.prod.exchangelabs.com (2603:10b6:303:24b::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8251.8; Thu, 5 Dec 2024 18:18:20 +0000 Received: from MW2PR0102MB3419.prod.exchangelabs.com ([fe80::28e1:2469:1811:caa2]) by MW2PR0102MB3419.prod.exchangelabs.com ([fe80::28e1:2469:1811:caa2%5]) with mapi id 15.20.8251.007; Thu, 5 Dec 2024 18:18:20 +0000 Date: Thu, 5 Dec 2024 03:50:36 -0800 From: Darren Hart To: Marc Zyngier Cc: Ganapatrao Kulkarni , Oliver Upton , kvm@vger.kernel.org, kvmarm@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Christoffer Dall , Suzuki K Poulose , Alexandru Elisei , James Morse , Joey Gouly , Zenghui Yu Subject: Re: [PATCH v3 00/16] KVM: arm64: nv: Shadow stage-2 page table handling Message-ID: References: <20240614144552.2773592-1-maz@kernel.org> <171878647493.242213.9111337124987897859.b4-ty@linux.dev> <46bea470-3a3b-4dcc-b4a8-a74830c66774@os.amperecomputing.com> <86plmov8n3.wl-maz@kernel.org> <38339ef8-6e69-43b5-8d16-b7fd66775c93@os.amperecomputing.com> <86o727um28.wl-maz@kernel.org> <871pz2th4b.wl-maz@kernel.org> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <871pz2th4b.wl-maz@kernel.org> X-ClientProxiedBy: MW4PR03CA0046.namprd03.prod.outlook.com (2603:10b6:303:8e::21) To MW2PR0102MB3419.prod.exchangelabs.com (2603:10b6:302:5::13) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MW2PR0102MB3419:EE_|MW6PR01MB8577:EE_ X-MS-Office365-Filtering-Correlation-Id: 8538d7f1-5c05-4b9c-1bea-08dd15593288 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|376014|7416014|1800799024|366016|7053199007|38350700014; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?HuQT0PGjpn5QhunT4Z8tlYllTf+07Oe+n0RSXUARobMFjEfs4yGdNiHV+AgZ?= =?us-ascii?Q?J4t0REgTOlB8OyOJ1coMM1X6/7RGhezkxtbHYu6ptZvfWhVr/qCKzECLysb+?= =?us-ascii?Q?QpsfwqdooLdaZc1ACuBSmhM0b7ptYHm3vFQTwgzGGj4nWbkvAn/Zy3Bq1UGy?= =?us-ascii?Q?D75mW4LcMeAHPCp1Ay46itdaGViTx6sRAQ2NouBa2ZZ+TUDceqt7aOIHRItP?= =?us-ascii?Q?hRyiSZB6DKW//XO/bYCxtStbwdLePwUkVkhZ6S6OUKYAGtwchC7AznbBiwPD?= =?us-ascii?Q?h5OX+9ZxR9bNuJc8GFo1XC8uHdbBPmiEtDJthtcaIR9SQ+Su1v1fo6fMDE56?= =?us-ascii?Q?XsojWc3Rz8NuJcMVrixv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us-ascii?Q?ySfm8kN8L3/TrzlVowUeFsJ3ZK0wiPhcNnRUh/XVmvtq9+Z4lxE+gzQ1FXJb?= =?us-ascii?Q?0BCJFXjgd0HTbSA6Y3XAIHaMJyulFft0nJNIxKpbxOmH1h/SNyL3EWwU0TkO?= =?us-ascii?Q?RpKZTjjAg+qxbBpMaWPIE2Kc5LFJ5AbbhdfPg376MpTZj4LBAA=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MW2PR0102MB3419.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230040)(52116014)(376014)(7416014)(1800799024)(366016)(7053199007)(38350700014);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?+vFRob0Ubci9qp2lx9YKndADfQj7VqRtmG2fjBZkVC5W1YzPXKlQ9SWCm8tm?= =?us-ascii?Q?VU8YWFai7Dk8+h7vzP9fgZlgYJ3hIQAOOMJ+HWjv23xLNm5AP1awddpSTPl/?= =?us-ascii?Q?uf/vB6FBEQ6uUDz69FNI3k2HmYJtSnbDyd83kuFoC6czO/r27y1jQ2ZikTZQ?= =?us-ascii?Q?H+NNg5tWkhMAzuc5XqTB6/MqIA2XU2mVKJq4fUD1B+FIhCTsRmXHFtYqhnqB?= =?us-ascii?Q?EGlKt4l8sWhSuxHVTNBMnjB2V3OhcfBlXrzUNk2evt0O+ZoNdDMHKsLOA+TZ?= =?us-ascii?Q?N3lSuaN4jnOWiSZcZ91lp4PP/MMB1ts3pVXUg4Wbh9VAyw2nK4wIjcHLAqa6?= =?us-ascii?Q?poFbAiq64s1M/IL6pb4XbNVie++IB2j4He+CgpG5bhWNTxdx4VN3fJPnDHB6?= =?us-ascii?Q?XPqRgtttdkvyeuZ+GyFBPJN9WJ0bs+AeW/7aAGnaC5ZDjWYLdfB31a8zT7k3?= =?us-ascii?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+VaSNKXfkcIs5oZmHlv1I5v5/P?= =?us-ascii?Q?vs+v/O7KtfdhLtPe3FF9goMg3DWqQ/CNbt6I3846A5RH7ODqTjC9Bxj5iUA5?= =?us-ascii?Q?PGgruVVqIVEfVbBuIPLpES3PZt2qSOsM6AgUiV3fUaYZfvpHotre8prn5gfq?= =?us-ascii?Q?pTquR/TMPUSyC6qAmcZT7I0bN+udk8+KDgRWh7K+QlXd/VUPq4Eu06rZF5Sj?= =?us-ascii?Q?Z6hWkZ8SXBrsPUxKkq0ASUa6QWs5n/7gggn+GP8O3HH8N8LBmMcCYqsTUXPo?= =?us-ascii?Q?xHoV72iJ1UnBeQNBeGrCVoU=3D?= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8538d7f1-5c05-4b9c-1bea-08dd15593288 X-MS-Exchange-CrossTenant-AuthSource: MW2PR0102MB3419.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Dec 2024 18:18:20.4897 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3bc2b170-fd94-476d-b0ce-4229bdc904a7 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: CHCKaHnCROrGhTY92njRtTrlSArxi1kWskCFj/1J9g4M49VvBESrxsp9FR8WbC2dG1fmyZ1qaxDob40u9qbqypoZa+bFHTuv8uCSjAb/zNbKIUv4sK/JxXhEUexBDiIT X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW6PR01MB8577 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241205_101828_252835_957ABA13 X-CRM114-Status: GOOD ( 31.03 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Sat, Nov 23, 2024 at 09:49:08AM +0000, Marc Zyngier wrote: > On Fri, 22 Nov 2024 19:04:47 +0000, > Marc Zyngier wrote: > > > > On Fri, 22 Nov 2024 16:54:16 +0000, > > Ganapatrao Kulkarni wrote: > > > > > > > > > > > > On 21-11-2024 10:14 pm, Marc Zyngier wrote: > > > > On Thu, 21 Nov 2024 08:11:00 +0000, > > > > Ganapatrao Kulkarni wrote: > > > > > > > > Hi Ganapatrao, > > > > > > > >> IIRC, Most of the patches that are specific to NV have been merged > > > >> upstream. However I do see that, some of the vGIC and Timer related > > > >> patches are still in your private NV repository. Can these patches be > > > >> prioritized to upstream, so that we can have have the first working > > > >> version of NV on mainline. > > > > > > > > Who is *we*? > > > > > > > > Things get upstreamed when we (people doing the actual work) decide > > > > they are ready. At the moment, they are not. > > > > > > > > Also, while I enjoy working on NV, this isn't *my* priority. > > > > > > Sure, I understand that it's not your priority right now. I'm happy > > > to spend some time on it, please do let us know in what areas/patches > > > needs attention before the code would be ready to merge? > > > > Please understand that NV isn't special, and while there is still a > > bunch of things that need to be merged, it is the whole of KVM/arm64 > > that needs attention. > > > > For example, there is the debug series from Oliver, the feature > > handling from Fuad. They may not have NV written all over them, but > > they do have an impact on the NV behaviour one way or another. > > > > By paying attention to these series, you would help with the > > groundwork that is required before we can actually enable NV. This is > > what matters now, not the next 50 or so NV-specific patches. > > And one last thing, while I think of it: NV is very unlikely to get > merged without a testing infrastructure. Which means that the current > selftests must run at EL2, and that *new* selftests must be created to > test the NV implementation (all the trap behaviours, for example). > > So if you (and I assume your employer, as you keep using the plural) > want to help moving NV support upstream, this is an area where you > could help and make a massive difference. Appreciate the specific examples Marc, thank you. I'll work with my team at Ampere in this direction - specifically the testing infrastructure work and engaging in the NV-adjacent kvm patche series. -- Darren Hart Ampere Computing / Linux Enabling