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 461F9C6FD1D for ; Fri, 17 Mar 2023 20:46:19 +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:Cc:To:From:Subject:Message-ID: References:Mime-Version:In-Reply-To:Date:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=xkxHWl3AJdQSP0tparxTur1xxsNC5yehj3I33DAiaME=; b=d3Zq+l2Dfw4rnsQOLZ1AgPj/OK xyJW/UEprK19Z3I/BIezWghbS9ZvcDV3j7uJCJOoO1tdO77pVQG/fvm8/1aD2UNamCKrdxlartYxa pHvZIF4R7UYDKmV9EyT8b83fV7viQWiNlHhP5KQYqhdEwYFPZKHsLtJYAzuC1ggYIf2/93kct3bCv t+Ft7KA1u9v10CsCmH/fUajs6Mz/uD1/69EmADba79cByGQxjZLNX7olHsxV2tpR6dt32Sbc7pMcT n+RwChc4GhDbnqPVMHaZkxYaLzLuwaj8qPf7jmzFedo4cbzBOwJOvE1tbNSzvOtDOJYog/bu+K6/O L2d5TYPw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pdGx5-003L4t-20; Fri, 17 Mar 2023 20:45:27 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pdGx3-003L4b-3B for linux-arm-kernel@bombadil.infradead.org; Fri, 17 Mar 2023 20:45:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Type:Cc:To:From:Subject: Message-ID:References:Mime-Version:In-Reply-To:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=SWp43EKSObLScNJyve8NVm0+M7i+tQFxyt9k8TiRe9g=; b=k/NMZgChLUcxTfg0HQiSf5ulj4 bC8JNW9rrN6w7HuRx0HuDWvsBs6wIaM276m4MDy63Db/h/yH0YXTPmFn9LkS3D2qbyFfKv/RICJC5 TnceFLs0mbsSsMKA8r4EHekAmodaTqe0XR5nWUPqNXEcHf5eyLnSWnndxTYAz7RoxFRzVEbntuJ3c i3J7T9iPLdWHdvvwX/S9ZJr9cWP8YDqOZsAvaUxIrSjOdsV23YhFV+OyUugLPO3Dll09yV5Lsqzsp unCuxGjAYjH/9N4ZTvcu9yG8dtLz/f4tiVpEY5a/BDxjvoRjSEWfuKmX1/ATwQueWanoRVRdhFeDG 4fNzGt8w==; Received: from mail-yw1-x1149.google.com ([2607:f8b0:4864:20::1149]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pdG6E-002tQU-1V for linux-arm-kernel@lists.infradead.org; Fri, 17 Mar 2023 19:50:52 +0000 Received: by mail-yw1-x1149.google.com with SMTP id 00721157ae682-541942bfdccso56459957b3.14 for ; Fri, 17 Mar 2023 12:50:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; t=1679082648; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=SWp43EKSObLScNJyve8NVm0+M7i+tQFxyt9k8TiRe9g=; b=e0o+1QipaOeuxF3SQj+/1I0NUJYANsvskj+jz+/JVVr1JI/Gi8EhYKPNYf6VCam0BD BAsjPkgg5/ctjSm5fbatVkc37cbroqyTAJ5lMHDQqqUyK1lU4+hREwmj8Q8fnx7emkyA FqesCCLDpG94eJAu7iyFgDIMb2uvcOYUTcrQgwHxZ/qSMHGAbwYNX1NfDIvwCrf3/yLh Qlzcif76NWl2d5Dec/ik4T5zqD5Ogl0pkotQHRqs3F6j3Db5VjWme4evtJbL06vcVC8k 5G2KHySl3FJNxq+4Y1E8Q2s1mqtvNv/IskSm5DyA1K7kEWGH1hY/bYV0pIPrlheqehC+ Vjsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679082648; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=SWp43EKSObLScNJyve8NVm0+M7i+tQFxyt9k8TiRe9g=; b=O5ww920DEtLjnU8b7AA6KWi8c5PVKCVPnJ9+w55MyJ0OrNceVplrhi4uzMGEeZxlSF yQVNirVT2+yIEWrvy6ChIh4jHRwfLbCoFHMaVsDZMJQDnzbNQP5bNzSRTljIX0nIG3xh P96fiCs0DE3+MMycx7F9LXywSPSr8qjDF+NM9s6dGUFUegulbP42AQYjJpri8ndJG/tS fLX/i6lCnYt3LOByrsNoMLxVDby2WLKKEZ50BnSq3p9YMeTusPQfxSkFBqDWIk7dRE58 LjGdkYsXty88ZBIto7UdM5j/igTAxW1e59rCqq/K1NPxtSZ5otPzH5Pe4cKE47aIGSyd eX8A== X-Gm-Message-State: AO0yUKXVYV8twBum4blwVTKtrZBznc8OIlKLvtXEBNL7BJKwUhrr8sQP Rc0EWWW4Ftg7UdVcuihRlgQyNiIawo6LlEQ= X-Google-Smtp-Source: AK7set+1dZfI1V93G2NNZOWgyqiVDUpszfGni5yoPVSFDzoxKaFlWRR3P5jO5zsNV2xWLmuL0WJ9RjPmhL3qVro= X-Received: from zaidcloud.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5325]) (user=zalbassam job=sendgmr) by 2002:a25:2d1a:0:b0:8ed:3426:8a69 with SMTP id t26-20020a252d1a000000b008ed34268a69mr511377ybt.1.1679082648198; Fri, 17 Mar 2023 12:50:48 -0700 (PDT) Date: Fri, 17 Mar 2023 15:50:27 -0400 In-Reply-To: <20230317195027.3746949-1-zalbassam@google.com> Mime-Version: 1.0 References: <20230317195027.3746949-1-zalbassam@google.com> X-Mailer: git-send-email 2.40.0.rc2.332.ga46443480c-goog Message-ID: <20230317195027.3746949-9-zalbassam@google.com> Subject: [PATCH v4 8/8] ARM: mach-virt: Select PMUv3 driver by default From: Zaid Al-Bassam To: Jesus Sanchez-Palencia , Russell King , Catalin Marinas , Will Deacon , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Marc Zyngier , James Morse , Suzuki K Poulose , Oliver Upton , Zenghui Yu , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, kvmarm@lists.linux.dev, kvmarm@lists.cs.columbia.edu, f.fainelli@gmail.com Cc: Marc Zyngier , Zaid Al-Bassam X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230317_195050_575012_52415F0A X-CRM114-Status: GOOD ( 10.54 ) 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 From: Marc Zyngier Since 32bit guests are not unlikely to run on an ARMv8 host, let's select the PMUv3 driver, which allows the PMU to be used on such systems. Signed-off-by: Marc Zyngier Signed-off-by: Zaid Al-Bassam Signed-off-by: Marc Zyngier --- arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index bc12857e81f9..6f0a2576d17f 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -401,6 +401,7 @@ config ARCH_VIRT select ARM_GIC_V3 select ARM_GIC_V3_ITS if PCI select ARM_PSCI + select ARM_PMUV3 if PERF_EVENTS select HAVE_ARM_ARCH_TIMER config ARCH_AIROHA -- 2.40.0.rc2.332.ga46443480c-goog _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel