From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 7124E196C9C for ; Thu, 27 Jun 2024 14:12:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719497530; cv=none; b=gz2F/w0iTIVXVueHDPenIgNj/xUFCTljE9rtOEruchxBoo9HB3mxZW73LU4MF5RRgy+zraUoDjo5xFOOin7c4C471Zre1y91BrcuvkwvZtJz8XgEjs7Y8I6PSswwYW54aH5/ogJ4WnnbVnOS68vmZ1483bZ+5nfznZIxEqtPt6E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719497530; c=relaxed/simple; bh=fgzXniqzYWp3hUHJWzJDPcENAUnrSBq6KvYjZywNUrY=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=K5tyvSh6TSFpFDfxN7xRkbPFx0K8yetQDiYzrPx/zseuc+TqthmQ7OleyxzO2tRTWXRSulNyBdUEqcKb/hH2tPSTGhoM4yGsbA8HNTsJLFaP3FxJ4VRDK8Oi+obj9sPmM2XHAimFa1uSLCHnzr0qWm8O+A+cEwyAvSSw6XAof/s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2B892C32786; Thu, 27 Jun 2024 14:12:09 +0000 (UTC) Date: Thu, 27 Jun 2024 10:12:07 -0400 From: Steven Rostedt To: Marc Zyngier Cc: richard clark , Mark Rutland , will@kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, "Russell King (Oracle)" , Linus Torvalds Subject: Re: Will smp_call_function_single(cpu, ...) broadcast IPI to all other cpus? Message-ID: <20240627101207.0bbbead0@rorschach.local.home> In-Reply-To: <86pls2isal.wl-maz@kernel.org> References: <86pls2isal.wl-maz@kernel.org> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Thu, 27 Jun 2024 11:38:58 +0100 Marc Zyngier wrote: > You may want to enable stack trace recording and find out for yourself > where these ipi_raise() calls are coming from. Try trace-cmd: # trace-cmd start -e ipi_raise -R 'stacktrace if reason=="Function call interrupts"' # taskset -c 0 insmod /kmods/ipi_test.ko # trace-cmd stop # trace-cmd show -- Steve