From patchwork Tue Nov 28 11:57:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zenghui Yu X-Patchwork-Id: 13471076 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 F1498C4167B for ; Tue, 28 Nov 2023 11:58:16 +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:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=x/9zZ/faREvDEMO8d229RNTCjOHART6BuQ7t5KQ4zBA=; b=EMOXk3DUA8Oglu 6YgZFxEvr/TffsoikwqpOv9nk7xKthrVbeOiRVV3+a+8y7Rrvm4BPdJV6KfKeMsn4cjr926+LVoj9 X/sB5VJba8G5itUgiiJi+qajU3WenMO3WQrJIzpkZfS/XMkCxchOs/jb8OXNUXoMWKOxB1mHRh+lk R59jlLQFqvYx/13IIfvzsyzK296XEENjsIsDR3uIKoSQjx7KDpZCNnKL/5KQck+COQgUEZQFSlsQg mmzQ3CvZMmRWj2TrBdDYD4/NOIZrnVaPDR+SroPMAqcDeO1SQSgEpFMIMwrwofc4KwlOB4HJMwWKQ gKw+t3hahE9oFgKyl/RA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r7wix-005Foi-1D; Tue, 28 Nov 2023 11:57:55 +0000 Received: from szxga01-in.huawei.com ([45.249.212.187]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r7wiu-005Fnn-2e for linux-arm-kernel@lists.infradead.org; Tue, 28 Nov 2023 11:57:54 +0000 Received: from kwepemm000007.china.huawei.com (unknown [172.30.72.55]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4SfgpY3ccJzmXHD; Tue, 28 Nov 2023 19:53:57 +0800 (CST) Received: from DESKTOP-8RFUVS3.china.huawei.com (10.174.185.179) by kwepemm000007.china.huawei.com (7.193.23.189) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Tue, 28 Nov 2023 19:57:34 +0800 From: Zenghui Yu To: , , CC: , , , , , , , Zenghui Yu Subject: [for-5.4 0/2] backport "KVM: arm64: limit PMU version to PMUv3 for ARMv8.1" Date: Tue, 28 Nov 2023 19:57:23 +0800 Message-ID: <20231128115725.964-1-yuzenghui@huawei.com> X-Mailer: git-send-email 2.23.0.windows.1 MIME-Version: 1.0 X-Originating-IP: [10.174.185.179] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To kwepemm000007.china.huawei.com (7.193.23.189) X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231128_035753_025865_19A526C6 X-CRM114-Status: UNSURE ( 4.06 ) X-CRM114-Notice: Please train this message. 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 Andrew Murray (2): arm64: cpufeature: Extract capped perfmon fields KVM: arm64: limit PMU version to PMUv3 for ARMv8.1 arch/arm64/include/asm/cpufeature.h | 23 +++++++++++++++++++++++ arch/arm64/include/asm/sysreg.h | 6 ++++++ arch/arm64/kvm/sys_regs.c | 10 ++++++++++ 3 files changed, 39 insertions(+)