Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp485435ybk; Wed, 13 May 2020 05:26:48 -0700 (PDT) X-Google-Smtp-Source: APiQypLy4WUO9pXjOZaDt4xGtuwutt34ync7ZjmQMB5gTbUWtenUpDzZTCdi08PfTsoXxvwEp6rm X-Received: by 2002:a17:906:7c42:: with SMTP id g2mr22455199ejp.328.1589372808612; Wed, 13 May 2020 05:26:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589372808; cv=none; d=google.com; s=arc-20160816; b=X2jvkghdRir4KvI/2Q0MJOaxybP4XiemUH4zfUqNY1AT88xJX5BsbmVKb++SSI2Bgq cPH2HFd0js84HYj4H0GEl5YnlsO7E5KMZHRIEapsIrt2j6QfG91anBQGs19dalGdk22Y 4s7K04c/FC9gLUTrmH9G/d07U7oTwoV46ElAklM1n0Pi5GL7sLC8bmWUQNQUpbDE2eEP mddoHetT9F4xv4IzfLOQpSTT1owNjsyWXH49YhDEFhvvRK4iwh+SMtNX6AWgG3JrGSHl vWKkKnE1m5UeeGRyUPe/YprDQDJtKInJGuiFA4RXcDWa0jusQ7/pAy8K8y2QjTGMtFmx qIlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from; bh=1WvnhEDDvi+p4sWynuTKfNT1naPn4L/NLBIpPU6cknc=; b=jL+VBjtvXOFESb+GjwnEj83mcpiBLiC/4OlBjRm48NMF7cNcQlflaI7uWbWljkFoKp plUgAGfUNPgPDKO1Wgf5gcOLYsEd/YqLPrnjGq2budQfTTn3ScWoAW7dL/3rNTsJogzp poVfwys8XKVK7vNIEuefXfosTmaodz/5u2P5uImB2DVLxBsM7W4Xla4SZIrDvXGoysgC rrP/9g/dwVtpf33VTFKXA5gzBDSfrMp8IkugpiEXgreliq3OCAle9Z/KKee2zwmzBfb2 MiL0Jdm9BLiNK/zqKhXIU4YRjEHBxwoRUkqXRfnkAlGWmgWRA/87i/ATmmsIP3xzJGG4 kqwg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a13si6819882edr.32.2020.05.13.05.26.24; Wed, 13 May 2020 05:26:48 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731333AbgEMMYo (ORCPT + 99 others); Wed, 13 May 2020 08:24:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726020AbgEMMYo (ORCPT ); Wed, 13 May 2020 08:24:44 -0400 Received: from Galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3516EC061A0C for ; Wed, 13 May 2020 05:24:44 -0700 (PDT) Received: from p5de0bf0b.dip0.t-ipconnect.de ([93.224.191.11] helo=nanos.tec.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1jYqRE-0002Bm-W7; Wed, 13 May 2020 14:24:41 +0200 Received: by nanos.tec.linutronix.de (Postfix, from userid 1000) id 68A72100605; Wed, 13 May 2020 14:24:40 +0200 (CEST) From: Thomas Gleixner To: Wojciech Kudla , linux-kernel@vger.kernel.org Cc: mingo@redhat.com, hpa@zytor.com, x86@kernel.org Subject: Re: x86/smp: adding new trace points In-Reply-To: References: <4d54953b-f968-63f5-569f-9e09bc0f361c@gmail.com> Date: Wed, 13 May 2020 14:24:40 +0200 Message-ID: <87y2pw2fav.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Wojciech Kudla writes: > I was trying to trace some IPIs (remote tlb shootdowns in this case) and noticed that: > > 1) irq_vectors:x86_platform_ipi_entry and irq_vectors:x86_platform_ipi_exit are not hit at all for my case. The backtrace on the receiving CPU: > > 0xffffffff81079535 flush_tlb_func_common.constprop.10+0x105/0x220 [kernel] > 0xffffffff81079681 flush_tlb_func_remote+0x31/0x40 [kernel] > 0xffffffff8111f76c flush_smp_call_function_queue+0x4c/0xf0 [kernel] > 0xffffffff81120253 generic_smp_call_function_single_interrupt+0x13/0x30 [kernel] > 0xffffffff81a030c6 smp_call_function_single_interrupt+0x36/0xd0 [kernel] > 0xffffffff81a02679 call_function_single_interrupt+0xa9/0xb0 [kernel] > > I would expect that we would hit those trace point somewhere around > call_function_single_interrupt() Why would the SMP call function single interrupt go through the PLATFORM_IPI_VECTOR? It goes as the name says through the CALL_FUNCTION_SINGLE_VECTOR. Thanks, tglx