Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp469088pxu; Thu, 3 Dec 2020 05:07:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJx5ugvEkSHx4S+iRzo+A09ns8ouIKIUXguAwOrWQSBb/V67y7DOkdHEhtdgHuJuEVM2H0ml X-Received: by 2002:a50:d757:: with SMTP id i23mr2800528edj.116.1607000858403; Thu, 03 Dec 2020 05:07:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607000858; cv=none; d=google.com; s=arc-20160816; b=dbDPFXADjIPDlEn/AiieE1yG+czKrlB6LlLmFO1MOe17WapTMSky1xbSwV5+EagBD4 qloIT9xmaHBU3mSAggRz59VyBd9G9Wz0mmuuz+BoEJoxqpWTGPnU+Wmm8rcd38l6aSTv 5g7oT0dU8pTE0iFmq7Pnm8O/Vqwki+Tgb5IVRphIhZFxWaO0V3j9wxTJChiuXRskvRIp +vXGW07E3s8HindEdbo87p+6GTIRp9KdePjIr7ke+EwBhMMhLj1Vh7kyqWYdc2mzdMZp UOYnOdcDStBW6oi3q2Oqimf9qMql1SiaoNIu2L8tpgy0B4HbuPEURXj4qLqTZSIZW2RO /kZw== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=0nzBJOGip3OPorIjBIZGgUMsAydpfmGWWw72qte5Nr0=; b=n/Nzlu1eAYVYNCjT7Bgxe78Q+b1srzIgULbczLWV7wxrvASiuwy86hJsXS90EbBpH9 1Htyx3Cp/ZWOPENIR05iH6h6mSU+hcwCz0vX2szQUpy1Vsg9Pk+6pSsxQFlMwJlk2BM/ Xtr2ZUO+OLvzwJMKa59WbHst5XfmDfrf1dmAW1fEulc9uJ1LL63Wppvs1woH8/JQZxEu X3b8g/Lnejuuhg1f/etrDZgRgrn/nHuKmYn4Rv8kDuHZ5iT9s/uhpVPqImL6ln1KKJLC dbACWVkGNN7Y7IVrevE/t5UeU4xmjPy8Cn3gnY1DknwDWwP6REcKCkPuunQiMtn7set2 QSbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b="FJi/3EXx"; 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 cc13si975251edb.468.2020.12.03.05.07.12; Thu, 03 Dec 2020 05:07:38 -0800 (PST) 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; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b="FJi/3EXx"; 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 S1730512AbgLCNEL (ORCPT + 99 others); Thu, 3 Dec 2020 08:04:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55104 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730481AbgLCNEL (ORCPT ); Thu, 3 Dec 2020 08:04:11 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0D1DC061A4F for ; Thu, 3 Dec 2020 05:03:30 -0800 (PST) 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=0nzBJOGip3OPorIjBIZGgUMsAydpfmGWWw72qte5Nr0=; b=FJi/3EXxP0Rhe1muyFSQFtnLVX B3cfQPpMz7Z7e3YmSl5pZvxFVCy0WiWNQoT7181zali2AtQJBwOj6Nc9TZ3eR+ZueJDB7+Co84K18 o163sC78XIA8AQQeA+JUOPWsDRx4SxIUwc35GSeCFnXPO74DOzAmJoRy7ojnqBIRQ2YZI/Sdc+Lyt mfh3Ki6MshGENUZCmEmquJCdoruXoeYT+WlxDCxR8kjzn5zHFGYlfYWnCE5E43OIs7FyjV/zGPd1H VlJNnH53UIAngq/olxaoteo+MXqyx1EjT1VdmPHZPYImRTs3QJXRdPyROfaoRjdKIMLGYfcSby/gZ YEJEd8tA==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1kkoGY-0000ru-0K; Thu, 03 Dec 2020 13:03:22 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 271CC3059DD; Thu, 3 Dec 2020 14:03:21 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 04B01200EC4EA; Thu, 3 Dec 2020 14:03:21 +0100 (CET) Date: Thu, 3 Dec 2020 14:03:20 +0100 From: Peter Zijlstra To: Valentin Schneider Cc: Marc Zyngier , LAK , linux-kernel , Will Deacon , Catalin Marinas , Thomas Gleixner , Mark Rutland , Russell King , Android Kernel Team Subject: Re: [PATCH v2 2/6] genirq: Allow an interrupt to be marked as 'raw' Message-ID: <20201203130320.GQ3021@hirez.programming.kicks-ass.net> References: <20201124141449.572446-1-maz@kernel.org> <20201124141449.572446-3-maz@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 26, 2020 at 06:18:33PM +0000, Valentin Schneider wrote: > If I got the RCU bits right from what Thomas mentioned in > > https://lore.kernel.org/r/87ft5q18qs.fsf@nanos.tec.linutronix.de > https://lore.kernel.org/r/87lfewnmdz.fsf@nanos.tec.linutronix.de > > then we're still missing something to notify RCU in the case the IRQ hits > the idle task. All I see on our entry path is > > trace_hardirqs_off(); > ... > irq_handler() > handle_domain_irq(); > ... > trace_hardirqs_on(); > > so we do currently rely on handle_domain_irq()'s irq_enter() + irq_exit() > for that. rcu_irq_enter() says CONFIG_RCU_EQS_DEBUG=y can detect missing > bits, but I don't get any warnings with your series on my Juno. The scheduler IPI really doesn't need RCU either ;-)