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 D3934C52D6F for ; Tue, 27 Aug 2024 09:00:00 +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: Content-Transfer-Encoding:Content-Type:In-Reply-To:References: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=oNdOviKyuIrr5vkcgKfovQ1IBbsfJ1aSy7l73C8Cxj4=; b=aYUU9VsFP+aApf/xiKkGe+Dlls 77+eNgSV8BFbWkwgmPyTXMy5A4ennpmOoBET58xBPES/3MNznthwSgOmfrO4+cveWxxAV1o6AllKX ZmmUfkiI/rF0UtBqb9dxRO7raC19dv3t3JDgSH+YT0SqMXMnSJ4oQhUyiGH2WWp29/u1/bcWKfhF4 LaojmwcZlqNUD+hIIkx+CAlQXbUGiPA2HZ+YKYO8PsvOoPcAx/Lqp2pP/pe55tmx209srdtUUdi6/ 92xSyD6H/xAiO0aCBTZxC8G5wFPWzAbLaOhhTP75Z72YWHX4K+aJG1MEfivqa83ZFtOpyrY+rJd3l bOyOzStg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sis3J-0000000AUj3-3xZr; Tue, 27 Aug 2024 08:59:49 +0000 Received: from szxga01-in.huawei.com ([45.249.212.187]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sis2S-0000000AUZN-3mhj for linux-arm-kernel@lists.infradead.org; Tue, 27 Aug 2024 08:58:58 +0000 Received: from mail.maildlp.com (unknown [172.19.88.105]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4WtLzs4k2BzyRDN; Tue, 27 Aug 2024 16:58:17 +0800 (CST) Received: from kwepemm000007.china.huawei.com (unknown [7.193.23.189]) by mail.maildlp.com (Postfix) with ESMTPS id C6032140137; Tue, 27 Aug 2024 16:58:46 +0800 (CST) Received: from lhrpeml500005.china.huawei.com (7.191.163.240) by kwepemm000007.china.huawei.com (7.193.23.189) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Tue, 27 Aug 2024 16:58:45 +0800 Received: from lhrpeml500005.china.huawei.com ([7.191.163.240]) by lhrpeml500005.china.huawei.com ([7.191.163.240]) with mapi id 15.01.2507.039; Tue, 27 Aug 2024 09:58:43 +0100 From: Shameerali Kolothum Thodi To: James Morse , "linux-arm-kernel@lists.infradead.org" , "kvmarm@lists.linux.dev" CC: Marc Zyngier , Oliver Upton , Suzuki K Poulose , yuzenghui , Catalin Marinas , Will Deacon , Jing Zhang , "Wangzhou (B)" Subject: RE: [PATCH v3 4/6] KVM: arm64: Disable MPAM visibility by default and ignore VMM writes Thread-Topic: [PATCH v3 4/6] KVM: arm64: Disable MPAM visibility by default and ignore VMM writes Thread-Index: AQHae7EcWBfUhFLWfESLuHqxbBJIrbHdahYAgF5ahfA= Date: Tue, 27 Aug 2024 08:58:43 +0000 Message-ID: <82695efb73ca463b904aa49a595be06c@huawei.com> References: <20240321165728.31907-1-james.morse@arm.com> <20240321165728.31907-5-james.morse@arm.com> In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.203.177.241] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240827_015857_217747_8B9916B3 X-CRM114-Status: GOOD ( 11.81 ) 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 Hi James, > -----Original Message----- > From: Shameerali Kolothum Thodi > Sent: Friday, June 28, 2024 9:11 AM > To: 'James Morse' ; linux-arm- > kernel@lists.infradead.org; kvmarm@lists.linux.dev > Cc: Marc Zyngier ; Oliver Upton ; > Suzuki K Poulose ; yuzenghui > ; Catalin Marinas ; > Will Deacon ; Jing Zhang ; > Wangzhou (B) > Subject: RE: [PATCH v3 4/6] KVM: arm64: Disable MPAM visibility by defaul= t > and ignore VMM writes (vcpu, rd, user_val); > > +} >=20 > Commit 14e270fa5c4c(arm64/cpufeature: Add remaining feature bits in > ID_AA64PFR1 register") > exposes the MPAMFRAC filed in in AA64PFR1_EL1. Don't we need a similar > handling for that > as well to handle the FEAT_MPAMv0p1 case? >=20 > Also any chance you plan to respin this series soon? We do have hardware > that benefits from this > series. Just a gentle ping to see if you have plans to respin this series soon or n= ot.=20 Please let me know, if I can be of any help. We do have platforms that differ in their MPAM features and that breaks migration.=20 Thanks, Shameer