Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp6020320pxb; Mon, 14 Feb 2022 13:17:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJxOOYx86YzOS6JzwL2dRDw+M0RapQnhMQ1E+jo9luIj75Cc7QzNsxneJYgLzvYytF88gsXu X-Received: by 2002:a17:90b:707:: with SMTP id s7mr609300pjz.99.1644873476973; Mon, 14 Feb 2022 13:17:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644873476; cv=none; d=google.com; s=arc-20160816; b=fkl5pvfy2PnJwhVBZVf/7c7PQac4iUwT10RHW4R5HN9BbpVZs9j+JTS6bdWpQUA1Xw KBpdWYnPjVQe7fIXX8LrvnD8pfiQLYHxGmMsWNnPRjMLqvGqXSlJakzAGjOk0ahtThKj oQR9A5M69vdWacl1TSu7b+q7ynHlLNcPN2i4TQlDtV3QkScE40zxevOSTQCRnxHKVpGS V0EH46bOU83Ex1h0RLON+lXkyFA7lZtsJGkAaKhbbBbGO5qopeLKmjP/3SWRhoWzdXRW JEuDYCoCkG0G5pwOzQO8kLxuJUmCyY5bgBuEHKgI070ejV/AMK8oqiWi4Tz0VtEep6wC g/Kw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:dkim-signature:dkim-signature:date; bh=TUCDizit6LTXe+/Z7T4+9bqxe+YJSMfI2IhU/DVOtKY=; b=r5XBW99wHkSNJ/nAttntCb0KPjqHshvc/6k3qGkxJlyuLDtC2X5iDLalgxRE0x5UJh idpJM4AWmQPQc2XnZUqwvnvpl2Vkm5VivRSRmES68yBQJKC5gbUqbwnvau2QNU5UNI6M sIFR1bJwLbgCwrKSo1xC+rdONQJrxCSnrPMmFVM8BX7cAFufIL+7GLOYWSfQwA+gHpli KtUZ8A32ycJuLyHK2MwcU19GXr1YKRf2nWtPyMEDjD1logxFqhXtQp+mrqsGcqQ8Cet5 qgVgRmVLrVuktSbQGBqUFh9WHtXq6C1pkL1vzRmPMIEWnQ6ixejc7vA7484NOHjqPWNX USrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=TJuYP9Sx; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=wnRWctoS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id pc9si15063328pjb.3.2022.02.14.13.17.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Feb 2022 13:17:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=TJuYP9Sx; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=wnRWctoS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 903981A4D5D; Mon, 14 Feb 2022 12:35:52 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351689AbiBNLd5 (ORCPT + 99 others); Mon, 14 Feb 2022 06:33:57 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:34094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351552AbiBNLdn (ORCPT ); Mon, 14 Feb 2022 06:33:43 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 08CBB6623F; Mon, 14 Feb 2022 03:19:06 -0800 (PST) Date: Mon, 14 Feb 2022 12:19:02 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1644837544; 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=TUCDizit6LTXe+/Z7T4+9bqxe+YJSMfI2IhU/DVOtKY=; b=TJuYP9SxAH4EcWDpm6XCS+R8gN3OgxWiK4tgjHkGVvYymALEsSgIduBlSJJ1qH9ItVOp1/ HUGLsLiybl53Fip90qHs2BcaiMWrGtrAzOHsEe2xfg5vBIe4+mb62vtHXqe10JvJT5XMbm Z9z0NDAN/42Ie16SsgmxkFKyB1AZvCWQSkPgWYbTSrbhqQfs6wIHqVZMQuiNlrczg0LhAR hNbwjIk5l5TggackMIqZQehE95dNkxdMJJD61kDalHtkO7drqJckUhrjPoVFY/TioWLhXD kg7uTqSCfPjx+bwk68FQT1VRlGeI+53kWTENOgGfilF+9iqywqdwE7WJDw+4oA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1644837544; 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=TUCDizit6LTXe+/Z7T4+9bqxe+YJSMfI2IhU/DVOtKY=; b=wnRWctoS8b6dZ6CVHS04P744Fy8jgvdjeIbzBT/reAMI6H2rRDMpfm4yH0kwbtiW6ytm2u LKIcFdCKAdT3UNAg== From: Sebastian Andrzej Siewior To: Krzysztof Kozlowski Cc: Steven Rostedt , Ingo Molnar , Shuah Khan , linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rt-users@vger.kernel.org, joseph.salisbury@canonical.com, Shuah Khan Subject: Re: [PATCH v3] selftests/ftrace: Do not trace do_softirq because of PREEMPT_RT Message-ID: References: <20220214083657.165921-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20220214083657.165921-1-krzysztof.kozlowski@canonical.com> X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2022-02-14 09:36:57 [+0100], Krzysztof Kozlowski wrote: > The PREEMPT_RT patchset does not use do_softirq() function thus trying > to filter for do_softirq fails for such kernel: >=20 > echo do_softirq > ftracetest: 81: echo: echo: I/O error >=20 > Choose some other visible function for the test. The function does not > have to be actually executed during the test, because it is only testing > filter API interface. >=20 > Signed-off-by: Krzysztof Kozlowski > Reviewed-by: Shuah Khan > Reviewed-by: Steven Rostedt (VMware) Acked-by: Sebastian Andrzej Siewior > Notes: > I understand that the failure does not exist on mainline kernel (only > with PREEMPT_RT patchset) but the change does not harm it. Yes, and now it does not sound (to me) like duct tape. Thank you. > If it is not suitable alone, please consider it for RT patchset. We trying to get it merged so=E2=80=A6 Sebastian