From nobody Mon Feb 9 03:19:34 2026 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D512721FF58; Wed, 21 May 2025 12:15:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747829757; cv=none; b=f36OFT8ofkoyzzRVAuCnxAWfwPWt361Xzve5h39TlXvepo89OZwwIrMnlOqebFiRg5Yx+vYQl04ryj/3Eil70Bb3Fw81Ip5oNTelnS88bqrfsaEh+OcGy9IJyPPJG+/kOAEF76h45cgOAmQZrW2JUgPyDODVrd4z924tRRKlfrw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747829757; c=relaxed/simple; bh=9ifiLf/3QsdWG879UKP7aVH2hLkpnmsXcsMhC8M7sPQ=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=FtumLLTyw5OGyaeIvmTQqhU3qfT0ORRLIXG+wgxuZm/rhhkUcNz9Uerop74FAZqvYlAfsRnceizZRTZp51TaSI5u5qduZki2hWAB3ea1+jbylON8H0+5yZpzP71buDLsf7hVwFLR/4hKGlry953xRmt5sexFjMvNdTPNnu6Zcxw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=SdrT2VkO; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=n0D3JVz+; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="SdrT2VkO"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="n0D3JVz+" Date: Wed, 21 May 2025 12:15:51 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1747829752; 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=3LY4LipDnjhIJM7Miwo8jK3aQpgW6u+WwnMU0XagHwM=; b=SdrT2VkOAZ4LkJ6GJr1uMbz7BLRtbxmm3JMBGrhTf3AAYvoh9XlTvbj3GK0tJSKMzbRK6j HNk0TumjTeIdZF5JXzlc6HyJ7dXnWzJ2zORBffdFt0JIYpNZdbqtHZw+dcoO3Y7bz2B9KX JlZOvem3+LWf8U1mB5mHtR8Stdj7JTaaQXLPX80yEjGfD3TXyILP+gMoq/OqGJAENGg3Z1 uDmdXu6GHHDbmU5zOxbuUwerJHmoXnnmQQ//rB7sagkXeZF2xV3AI2s+r2GLF8B984Uhyp fNcu7Naieutv1y03RDWkFOpd+oYuFqOvAiIZgoFpqzeOrfYtVu3fmvYVeifXjQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1747829752; 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=3LY4LipDnjhIJM7Miwo8jK3aQpgW6u+WwnMU0XagHwM=; b=n0D3JVz+ft61wBlJoiPt2hp8Zapx92koqtVcQAnRaRj/gCAt1lsmgiCRsrgBYUeG+3xavK 9rlZ05GToPbaikAw== From: "tip-bot2 for Kan Liang" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: perf/core] mips/perf: Remove driver-specific throttle support Cc: Kan Liang , "Peter Zijlstra (Intel)" , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20250520181644.2673067-17-kan.liang@linux.intel.com> References: <20250520181644.2673067-17-kan.liang@linux.intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <174782975107.406.18030140197688379257.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The following commit has been merged into the perf/core branch of tip: Commit-ID: b216af2eb4618caec6bef32d5886a9700b0ecfeb Gitweb: https://git.kernel.org/tip/b216af2eb4618caec6bef32d5886a9700= b0ecfeb Author: Kan Liang AuthorDate: Tue, 20 May 2025 11:16:44 -07:00 Committer: Peter Zijlstra CommitterDate: Wed, 21 May 2025 13:57:47 +02:00 mips/perf: Remove driver-specific throttle support The throttle support has been added in the generic code. Remove the driver-specific throttle support. Besides the throttle, perf_event_overflow may return true because of event_limit. It already does an inatomic event disable. The pmu->stop is not required either. Signed-off-by: Kan Liang Signed-off-by: Peter Zijlstra (Intel) Link: https://lore.kernel.org/r/20250520181644.2673067-17-kan.liang@linux.i= ntel.com --- arch/mips/kernel/perf_event_mipsxx.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/mips/kernel/perf_event_mipsxx.c b/arch/mips/kernel/perf_e= vent_mipsxx.c index c4d6b09..196a070 100644 --- a/arch/mips/kernel/perf_event_mipsxx.c +++ b/arch/mips/kernel/perf_event_mipsxx.c @@ -791,8 +791,7 @@ static void handle_associated_event(struct cpu_hw_event= s *cpuc, if (!mipspmu_event_set_period(event, hwc, idx)) return; =20 - if (perf_event_overflow(event, data, regs)) - mipsxx_pmu_disable_event(idx); + perf_event_overflow(event, data, regs); }