Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp506487lql; Mon, 11 Mar 2024 08:59:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWP2VOC4f+k00OagSXC3D5uHeOq/SSa+8pZVbBXN6Hiwvt2Yww60BDV5Dz3fDS03p1hgMK+ZEoWLEwHnmQffV0ztLYhiTXUsjdPvwr+Yg== X-Google-Smtp-Source: AGHT+IGCsHCljLH8szplTmbUPaXEj5DuITdlz9UIdt4rHD8fu27Il1LDlWG6+ZRr+NicbElJR+Qs X-Received: by 2002:ad4:5d63:0:b0:690:c3e3:7fb0 with SMTP id fn3-20020ad45d63000000b00690c3e37fb0mr1239171qvb.30.1710172785938; Mon, 11 Mar 2024 08:59:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710172785; cv=pass; d=google.com; s=arc-20160816; b=0kkZ2Fyg/bxa6yejfmDPpVto8vIsgXhz2pey8PjpzJ3/NyDmxzjlU08xp4QvPZj+X6 ImaIa3P4xt0Wzz7vPYGokc7aEbW5DyKzqIKqDQhC7FcWzQ7B2jerJNZB6xZ60kJVUzAn dm+3YOL/udxVciVuuTAGj6odVysNE4aANdFrDFMegvj4Sui8k59336tfIMyPuH+NxFnT zp5d/ZFc5ruDJJgMvgO0pG4CQVhzZs2H492xn/gMaSwmLdgvldGWgW40N7lTV6QP08th VyIYoNC16Lvl26ZUNM6ZQZAPO11rZVraY2xmiopI9pjQwaEDxeeI6snm7kYz06OAtmHz V17A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:dkim-signature :dkim-signature:date; bh=4BugHr60TAxM9GFD7EMINyyXd3drcAbOdsx/EbogY5w=; fh=wlOmU+/3gNiK13MYstI/gNiUg315UzEVzxMU5Bigeyc=; b=ZBrd85BXWPLXSIlYJTSexlZ32mhFCPij8pq3TVq0DodlGV6WrN9eXMilQnnBX4Sgl7 kvU/W2XIWul2l1hqWpImHB+EW8AgbhzllQYPJ0/yhymsjJEtKhcSX0XtYy9nzFCJiQEC ZwK+MF7gdJjABo227MFulrt7++e+n4Tdc4Vbr5SwCd356isDQl9lRSx6twOmnqsUGmrs kUBYV9/ilBmncbv73VWp7/xiD/vWm6PNnHbWqIHd1SE5qGO5pf9n/PcfQlTAvzDiPq7G wefhQVl0OL1CXXQboiSNYSctmvlMmAV3+jKsalDoKAwXLjoQKXw7feRUkxQ+FjugVkIp UAxA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=oNPllqJS; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=GwV6I2XE; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-99163-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-99163-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id z13-20020a056214040d00b00690ce8d3783si2985595qvx.416.2024.03.11.08.59.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Mar 2024 08:59:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-99163-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=oNPllqJS; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=GwV6I2XE; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-99163-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-99163-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id AA1EC1C2161D for ; Mon, 11 Mar 2024 15:59:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 96E9245943; Mon, 11 Mar 2024 15:59:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="oNPllqJS"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="GwV6I2XE" 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 3833B47F4D; Mon, 11 Mar 2024 15:59:31 +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=1710172772; cv=none; b=RE+T/8N1+md8dnDpfgqWnvr5F7f23+CJddY9D6CJzNO6XoWzcK+UbZ25Zh/1Ql7zowL+4mfA06SOUCPda2zMTejUNUFH4joLsWIjjDRWiTxrBKyNAMHceDW85SkeFMGWr0GjOBGjmELctIUCBOyrLOro55gMtEI207xo/T7oARY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710172772; c=relaxed/simple; bh=4BugHr60TAxM9GFD7EMINyyXd3drcAbOdsx/EbogY5w=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=PsJbfP8oaIdR/3m523AdCVAosIxXqyKR5gQ0QZgSAxGlEx4vdBDEhUJ+Tm5TpMyCJaupv4oRQ66moVJabA1oTiB7SZguN9FrLCqg2JD4YI7C8PCUTp5BM4m/0JwHm12JpK5MR8Q5KrAoJ+gJhY7CrUu3o/numQ+23DSF1SDUyQA= 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=oNPllqJS; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=GwV6I2XE; 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 Date: Mon, 11 Mar 2024 16:59:27 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1710172769; h=from:from: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=4BugHr60TAxM9GFD7EMINyyXd3drcAbOdsx/EbogY5w=; b=oNPllqJSSEriL4FYJmhPwJbZNqWG0YixSPKtZXWqa9GfDUbEyKsbaepG1yDdCslYJExcNx cnqjw2on+1jhfoqJ4O1F3PuZNJyOeWQhzeARzOOte5U3Nt6QrGYRS6wYGDqGN9XVQ1R5HW hTj/ZkYNScuuyEw7XzExoOoBKrhUv/fLFnQTvh4+uCrboyYVJdwlw0wyf9mC8TpcIKNwNG kcySEVx+pPU5jLFmEaiiKtqz07Q9+cxRmQHE9FGaZpWGvICVGc5YlGyZFoxmmKCS+A5m2T hU7BFnVdCTrHPdsvmX1dGzCvHJktUvFov43dHZaAHSncsF76Ic3C2xiORrPeJw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1710172769; h=from:from: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=4BugHr60TAxM9GFD7EMINyyXd3drcAbOdsx/EbogY5w=; b=GwV6I2XExeJg1n5NnD/ICHqt3deefJJMMp8xu8YU4QSs/eNHN2SijcCZ+NiNSX4uLLrK2t xdhK69G9fnCAurCA== From: Sebastian Andrzej Siewior To: Marco Elver Cc: linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, Adrian Hunter , Alexander Shishkin , Arnaldo Carvalho de Melo , Ian Rogers , Ingo Molnar , Jiri Olsa , Mark Rutland , Namhyung Kim , Peter Zijlstra , Thomas Gleixner Subject: Re: [PATCH 0/4] perf: Make SIGTRAP and __perf_pending_irq() work on RT. Message-ID: <20240311155927.sbWzLN62@linutronix.de> References: <20240308175810.2894694-1-bigeasy@linutronix.de> 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=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: On 2024-03-11 11:34:18 [+0100], Marco Elver wrote: > Unfortunately there's a bug in it somewhere. It can be reproduced with > tools/testing/selftests/perf_events/remove_on_exec. >=20 > (FWIW, the kselftests in that directory are more aggressive test cases > that I never figured out how to properly port to the 'perf test' > framework: sigtrap_threads is a more aggressive version of the 'sigtrap' > perf test, and remove_on_exec has no perf test counterpart.) You posted to warnings, I can only reproduce the second one. Based on the backtrace it is obvious what happens and I dare to say that I know why=E2= =80=A6 Let me try address them. > Thanks, > -- Marco Sebastian