Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp206117pxb; Thu, 26 Aug 2021 00:46:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzXAofYW74CacS1MZZy8vc96IIhzIFMwAFeI/a4vgjMnyJH4VnbPTPlnblHIHPKxAoyEfqL X-Received: by 2002:a05:6638:3805:: with SMTP id i5mr2424943jav.72.1629963991139; Thu, 26 Aug 2021 00:46:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629963991; cv=none; d=google.com; s=arc-20160816; b=lMxLnwUHEXvic+acdtJSqolsmwxrQXXujemaZgrcMQjxzO1KfFByd3Rz2jvHl9G2pJ n3mu39yHtT6UPTC2VMFkyOyBaDpqYwB0KlHPOKiKt8wxdPp6+vnIkWIK/iHoJ1ewwKIY IX6ngprEEXH5WDZ22hcGajovi0+1qUF+Zta3vQxkQ3TNvdVdczLKiD44PR8B4A6I++fr SVX1P+BQvPYfaeWgz0atkq2j90K2WdIT0puFXWZs6Xg5cAIXAIVN3t4cQNQzCwKvwb0S HDMBjWUxef2MjEHqMeDlw97worc29TfhrUi3Rn8q+Ey5RAOcuZa2IP8QUP0OIaK6/4mA GH2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=r1vx38o6vdPoTRd16votnPrSIHf4V7EthSydmqEEnyw=; b=ikbP1RBa3/OM5KBwwFA2Jrfcr0dWJHVlJC8phIs2RpWSjGN9QeZKBNsWvkYJti3Eiq 0zIuhtzBiOP1ovi+3+WL+DmD8iN1Ms0l0iX72ys310njiHuvUkcrvHF17xFj1JzWCR+F DqNLWaN/yXNMSYiA1iHpq4vXen/9vg3gq1Sd2DIZkxypxp+434B3BTsNeW5YeMWGXW2R 8C4KmgE7GsQuKXLAuRu/vmSo3dSHKdPdP9EDYmXpd5P3azjOr7kvYJPSrQWKYHbYwTmn OCbu+xJOELObBbP4YDI62hpL7E8JYoGA+0zh5M3hAGoT3CjJCmUt8I/2yuW4sOS6F5jR 8oGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=Ad0spxdT; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b="pu/6GmN0"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w13si2109182ilo.15.2021.08.26.00.46.19; Thu, 26 Aug 2021 00:46:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=Ad0spxdT; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b="pu/6GmN0"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240109AbhHZHqO (ORCPT + 99 others); Thu, 26 Aug 2021 03:46:14 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:58592 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234415AbhHZHqN (ORCPT ); Thu, 26 Aug 2021 03:46:13 -0400 Date: Thu, 26 Aug 2021 07:45:24 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1629963925; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=r1vx38o6vdPoTRd16votnPrSIHf4V7EthSydmqEEnyw=; b=Ad0spxdTnZOwXy2wjsSIgvuXdMqW9v7Qp4atT4ooj2atZZpOfpyI43sJ0MeP3i3Ds1qeUr xWQ1WYUSAyKjmYRi6C/cqmoTiUfiKOQfT7wOmQXYwQgYtxuBYAJNWhBvtkM98W9MKvsuVI FGgs01zb/uuScCJx1DGFIGinWx8RtERwuG+YNOE8KEIaEdvF23gAMz0cXJOG4l9P+eR4xH 7vkQZudY7waFKK1M0nJBpQjydBO3XY4i9HA0vikJ5RtX0F37NR83FVKavxSXUVgpM0vIsZ Xl2ytrY2YhZeq90OT9IAAYF0K3t6/ASB8mQso0NRDJTfhy/Q1kb7htSXwp08JA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1629963925; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=r1vx38o6vdPoTRd16votnPrSIHf4V7EthSydmqEEnyw=; b=pu/6GmN0nLMyV694JouzKy4W+CWLy34OG8MQw2H9jlXJ2oOpdzDRvr0CMYeQEA63Nc+9ob x9ITCGTAWC+DqaAA== From: "tip-bot2 for Kim Phillips" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: perf/urgent] perf/x86/amd/power: Assign pmu.module Cc: Kim Phillips , "Peter Zijlstra (Intel)" , Ingo Molnar , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20210817221048.88063-4-kim.phillips@amd.com> References: <20210817221048.88063-4-kim.phillips@amd.com> MIME-Version: 1.0 Message-ID: <162996392470.25758.6765219503941032340.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the perf/urgent branch of tip: Commit-ID: ccf26483416a339c114409f6e7cd02abdeaf8052 Gitweb: https://git.kernel.org/tip/ccf26483416a339c114409f6e7cd02abdeaf8052 Author: Kim Phillips AuthorDate: Tue, 17 Aug 2021 17:10:43 -05:00 Committer: Ingo Molnar CommitterDate: Thu, 26 Aug 2021 09:12:57 +02:00 perf/x86/amd/power: Assign pmu.module Assign pmu.module so the driver can't be unloaded whilst in use. Signed-off-by: Kim Phillips Signed-off-by: Peter Zijlstra (Intel) Signed-off-by: Ingo Molnar Link: https://lore.kernel.org/r/20210817221048.88063-4-kim.phillips@amd.com --- arch/x86/events/amd/power.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/events/amd/power.c b/arch/x86/events/amd/power.c index 16a2369..37d5b38 100644 --- a/arch/x86/events/amd/power.c +++ b/arch/x86/events/amd/power.c @@ -213,6 +213,7 @@ static struct pmu pmu_class = { .stop = pmu_event_stop, .read = pmu_event_read, .capabilities = PERF_PMU_CAP_NO_EXCLUDE, + .module = THIS_MODULE, }; static int power_cpu_exit(unsigned int cpu)