From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BA025C4332F for ; Thu, 17 Nov 2022 09:13:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=WoKDgG5gY/9IrgwkG2aYHMRtwAZd0jOyuQmBS8aN+4w=; b=rZHVFkyMeVQn5D sRe6hOQYuTZNAoVWO7pFtYdH8Y2w0a3WgfXSFPcHQ6uhCFEjfVWA/mlxoEPGztgQCC53b2k1CWtV7 IgY4LUykBsI1TnQFXadlNahov2cIWYqK3lof+cWDQqfCYC9HFZezwvVMsR4ylXaIglUqD23FrHLCW kmbFz+0NeGFtPIoyg5d/IeXftcLPBNCXZNt7APzDyNmWBWFzNfEmAa3NbGcPlZ6WWJjMhg+JKXuux AUTQiC0H9Kj/a2/yWyvwpp5hPP5iQkzlFez01FgnOihm6e6vLuHwuIZZHzJQNMA6UoMO/5qewxlvO rzoMD6HV4sAKEyV+ybsA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ovaxB-00Bylx-Q5; Thu, 17 Nov 2022 09:13:01 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ovawv-00Byf3-4o; Thu, 17 Nov 2022 09:12:45 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=nUeE98iw6CYI9P0UZFByNwbWM7T2dlFSVRfygox+oVI=; b=MgJlSA98izh3Lsqm003kpG/mL+ EevnyLvSFZGX2upk5Jm3WoFC0zvMiO9eBcctfFuhCt0XhehaHroYVKWnLvTx2YsjGIrzuGTlhwGvs ycCoIWu5IDrMhT6T0Vi9JKGscYUfbfB21Xy6W0jd+DCfony3PxwWRKrtPSdJZrzWtEqZEBCvPcFMg OLvECk1Ph+NKITycPx1vBHQR0FuPmuJhwXJ21vaX9wcNqYWS8QSTCsgQr4GqwF5v3RYfO9wdSx7gz c1jMwXTl1i9DvI2bX3n8bA3RjH0bLkkRWvGkx0zXza/d9lP8P7CcehYOSzaseZ7O8CZ8vSGUJmsXd ZRL7zqAw==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1ovawz-000qbk-Qm; Thu, 17 Nov 2022 09:12:49 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 220E230002E; Thu, 17 Nov 2022 10:12:43 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 0A96220B67F5A; Thu, 17 Nov 2022 10:12:43 +0100 (CET) Date: Thu, 17 Nov 2022 10:12:42 +0100 From: Peter Zijlstra To: Valentin Schneider Cc: linux-alpha@vger.kernel.org, linux-kernel@vger.kernel.org, linux-snps-arc@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-csky@vger.kernel.org, linux-hexagon@vger.kernel.org, linux-ia64@vger.kernel.org, loongarch@lists.linux.dev, linux-mips@vger.kernel.org, openrisc@lists.librecores.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org, linux-xtensa@linux-xtensa.org, x86@kernel.org, Guo Ren , "Paul E. McKenney" , Steven Rostedt , Thomas Gleixner , Sebastian Andrzej Siewior , Juri Lelli , Daniel Bristot de Oliveira , Marcelo Tosatti , Frederic Weisbecker , Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" , Marc Zyngier , Mark Rutland , Russell King , Nicholas Piggin , "David S. Miller" Subject: Re: [RFC PATCH v2 6/8] treewide: Trace IPIs sent via smp_send_reschedule() Message-ID: References: <20221102182949.3119584-1-vschneid@redhat.com> <20221102183336.3120536-5-vschneid@redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20221102183336.3120536-5-vschneid@redhat.com> X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org On Wed, Nov 02, 2022 at 06:33:34PM +0000, Valentin Schneider wrote: > diff --git a/kernel/smp.c b/kernel/smp.c > index c4d561cf50d45..44fa4b9b1f46b 100644 > --- a/kernel/smp.c > +++ b/kernel/smp.c > @@ -167,6 +167,14 @@ send_call_function_ipi_mask(const struct cpumask *mask) > arch_send_call_function_ipi_mask(mask); > } > > +void smp_send_reschedule(int cpu) > +{ > + /* XXX scheduler_ipi is inline :/ */ > + trace_ipi_send_cpumask(cpumask_of(cpu), _RET_IP_, NULL); > + arch_smp_send_reschedule(cpu); > +} > +EXPORT_SYMBOL_GPL(smp_send_reschedule); Yeah, no.. I see some crazy archs do this, but no we're not exporting this in generic. _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv