Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp2294938rdg; Sun, 15 Oct 2023 22:25:09 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFK4WkwnSWL9XjAi8z+i6cqN8SSoKBSulNDzuWTllhf+6rJtQqIYihILRmcbDaO2RiyYaKG X-Received: by 2002:a17:90a:198e:b0:27d:2ce9:d6d5 with SMTP id 14-20020a17090a198e00b0027d2ce9d6d5mr10231284pji.12.1697433909331; Sun, 15 Oct 2023 22:25:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697433909; cv=none; d=google.com; s=arc-20160816; b=JNY3b5a3ZLz2joHuf5YJm1PdKveZVPkICXlfGAwXJmvgfWL4SXvGv3pEVP7rjQQ7I/ q/qR3byBKYw4QoWpbf4poZjrw4v4HuYh4k37PRc6lKBN2P+nwl/L0bGSCriB/NOsg6SZ t+uonUTTfHEe36AqLfMhLi0flxw3o6h5LtazLKqkhofAKasS8G/zO+9la4qxbavqxjQS j6Yl2a97VIX7cUiun0iVYUYR/9kb3Qnk4pEALrw8IaWV3Ya7lA/y+8tjGvZflKd1eXl5 UrbEv1FGpn7IMubWkDB3rDdhIdhjjz/92ExJnLq6yIjCZGTokpLY80hRNJKPIqX8fKyC fkag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=pwCgRXBnDjXJKhFzANq7SlEyB7zXqbhGgjzbSEkWNrM=; fh=ptSJPLL9EzMEHMmZv4oZsDrn7PmjNVXYQaI0dW3aMfU=; b=fLoe7O5C5pjxNfKQjWvoeFoYWliSenqpfbu1Cz9b8Te4sUy0TMrq9IOxfO2mDi9mcV MNqLK8IMsVWbgK6z2PwlEtlkqXqKHLz+0MomUD/b66mr+VBSGoUdtbKKFZtI5DKZs0LX sYfObHWBXMwfEa9p7fuzV82Df7DG/PYIthBfNU0JtOxYjsQvY3bU0SG9zJdxxhD9va6h 5gmiktJ54Q7oWkAoCnWE4A1gPaboCU7eFTXDo3mr18Tgh1qn9hKzA43xNxm/W2zVjsDD impwRUigfH6Ix3k3zejlQpe0UmIZUuaAVq1DIAIfycKL5BdSd8b4xtnDDUokDf3LDj3B w51g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id d9-20020a63d709000000b0054ff717395dsi10040445pgg.691.2023.10.15.22.25.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Oct 2023 22:25:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 89F8C805D29D; Sun, 15 Oct 2023 22:25:04 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231255AbjJPFYr (ORCPT + 99 others); Mon, 16 Oct 2023 01:24:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230525AbjJPFYn (ORCPT ); Mon, 16 Oct 2023 01:24:43 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 98447DC; Sun, 15 Oct 2023 22:24:41 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id AB5A21FB; Sun, 15 Oct 2023 22:25:21 -0700 (PDT) Received: from a077893.blr.arm.com (a077893.blr.arm.com [10.162.41.8]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id B18383F762; Sun, 15 Oct 2023 22:24:38 -0700 (PDT) From: Anshuman Khandual To: linux-arm-kernel@lists.infradead.org Cc: Anshuman Khandual , Mark Rutland , Will Deacon , Russell King , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [RFC 0/2] drivers: perf: arm_pmu: Drop 'pmu_lock' element from 'struct pmu_hw_events' Date: Mon, 16 Oct 2023 10:54:29 +0530 Message-Id: <20231016052431.1390269-1-anshuman.khandual@arm.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Sun, 15 Oct 2023 22:25:05 -0700 (PDT) This series drops 'pmu_lock' usage from all arm platforms which had already been dropped from arm64 platforms earlier via the following commit. commit 2a0e2a02e4b7 ("arm64: perf: Remove PMU locking"). Afterwards, drop unused 'pmu_lock' element from 'struct pmu_hw_events'. The series applies on 6.6-rc6 and has been tested on arm64. Although just build tested for arm platform. Cc: Mark Rutland Cc: Will Deacon Cc: Russell King Cc: linux-perf-users@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Anshuman Khandual (2): arm: perf: Remove PMU locking drivers: perf: arm_pmu: Drop 'pmu_lock' element from 'struct pmu_hw_events' arch/arm/kernel/perf_event_v6.c | 20 ++++--------- arch/arm/kernel/perf_event_v7.c | 44 ----------------------------- arch/arm/kernel/perf_event_xscale.c | 30 +++++--------------- drivers/perf/arm_pmu.c | 1 - include/linux/perf/arm_pmu.h | 6 ---- 5 files changed, 12 insertions(+), 89 deletions(-) -- 2.25.1