Received: by 2002:a05:7412:b101:b0:e2:908c:2ebd with SMTP id az1csp2472092rdb; Wed, 15 Nov 2023 01:28:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IGd+MqJpYoD7kiDkSSerWzUSBOTlTjY4H0D4n0LVKSpaTGTXAlbmTu+JwWHJi7qi+9D3zx0 X-Received: by 2002:a05:6a20:3d14:b0:14d:9bd1:6361 with SMTP id y20-20020a056a203d1400b0014d9bd16361mr10260072pzi.11.1700040505726; Wed, 15 Nov 2023 01:28:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700040505; cv=none; d=google.com; s=arc-20160816; b=yYVJcQMfkwAe7Mz8v5hY5gtZBTWSv7Bh4zq6Kv550TiOEiCYzrTGECFb8Jt5mQeP4E GhnWkaZzCAcjD2sNi4m8pWsvRNvaCauDbilN4HiCTtDlB9aZ8Jt2l2MoUL0C+Vln1/GH uq9B8HaWtimB2MURGW7w/mWpdNXAi4wJvH61qECxS5ZlSBx4xW0Yea7E8qTcEK51G8Rx 9m1ggULmpSGQ5mw17Tz3FX+I2OJE0Uue5uDMKAcaSGewpWqlnMgDj3A4xhKpIRP7II5T X9+Wd5E+8DvhiHHhjMhiFJgXrJRWmaRNlbYsetkR745Ydun70vpsF33oLyO88YXUgRke JEsQ== 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=FUpbafZd1ido+IUiTB6QWnnD3U/JF+L+AXmXRUclSPQ=; fh=ptSJPLL9EzMEHMmZv4oZsDrn7PmjNVXYQaI0dW3aMfU=; b=AbFkpMgMKlv3D9ghsuQqxRUdudtVQ5iXmp8jCXvFsS5sQnipUO4dgHjJgKlrR4m0Ml fA3a44nbP+nzg5Zly998+xCVgIeRzkKerm1ApVn6N4UPh/cw23WlkudGH+TOQXSWkxp3 agmAR69M1kiKL3hpxF+XU+AUa2vDBKRSkvhtaSNwJfBbdSRORD5jmvpYXrwhPnpBcuXi hSVUBYwhB+gK4Q2G0XQu1FuXEQHOuc8GkalcdEAFFIJiQQn+mYbX+hSAZTIQeoztBfaj 5v5sz0FJEax+RMKtWcUcQC66vPlYAxM3ALEicdqU85ISJG18dlicdS9TCqoFautfeNIw 2ETQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id b3-20020a170903228300b001cc42b19343si10098690plh.524.2023.11.15.01.28.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Nov 2023 01:28:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (Postfix) with ESMTP id 0DC13813899B; Wed, 15 Nov 2023 01:28:24 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234746AbjKOJ2X (ORCPT + 99 others); Wed, 15 Nov 2023 04:28:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60342 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234688AbjKOJ2W (ORCPT ); Wed, 15 Nov 2023 04:28:22 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0FFE89B; Wed, 15 Nov 2023 01:28:18 -0800 (PST) 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 ACB29DA7; Wed, 15 Nov 2023 01:29:02 -0800 (PST) Received: from a077893.arm.com (unknown [10.163.37.87]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id B3DB63F7B4; Wed, 15 Nov 2023 01:28:13 -0800 (PST) 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: [PATCH 0/2] drivers: perf: arm_pmu: Drop 'pmu_lock' element from 'struct pmu_hw_events' Date: Wed, 15 Nov 2023 14:58:03 +0530 Message-Id: <20231115092805.737822-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=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Wed, 15 Nov 2023 01:28:24 -0800 (PST) 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.7-rc1 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 Changes in V1: - Added some build warning fixes RFC V1: https://lore.kernel.org/all/20231016052431.1390269-1-anshuman.khandual@arm.com/ 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 | 28 ++++-------------- arch/arm/kernel/perf_event_v7.c | 44 ----------------------------- arch/arm/kernel/perf_event_xscale.c | 44 ++++++----------------------- drivers/perf/arm_pmu.c | 1 - include/linux/perf/arm_pmu.h | 6 ---- 5 files changed, 13 insertions(+), 110 deletions(-) -- 2.25.1