Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2043789pxu; Tue, 24 Nov 2020 15:40:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJyHhtHoEt9XyS+RmxQkEJOGDaWJCY+OFbcYbzliclHkpCxWkd04TPRB0mCxCZ04Q70j2omo X-Received: by 2002:a05:6402:a53:: with SMTP id bt19mr991607edb.26.1606261247889; Tue, 24 Nov 2020 15:40:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606261247; cv=none; d=google.com; s=arc-20160816; b=DYVwrkuQcPU2IIEwk9vzsLLXAbrfNTe59tGowBTi1l2PRbw0xJ6j3nj7jc9VKKUC70 x5RdHCGgU4q8emVBHTAthSvclh31lwFnQ3MwpXYJbvoCWyzAClGME9L7sTXneF2Yz54y /tibh/aHPH06uTOddUAj2qO1nok9/JULiLzsl/NJ2zPkpMLbylvIhs4AZFjlIGv8XQiS JiqAU0WYpHjRdG4UIXdkvA1ve83Z5yWcmw6POcGi+lh0k6+nlqtJB86S3DqFKA/zbc0R orj0uQ/KFQmlfq4u+hOcn/pUmJkpVw7xYYFbufRGfH+uIBaErYs3P39QHwmM7RYbjlRY JxoQ== 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=Ff4szs+CLuwlL8iKrPqFlBDU9tu8u7cwkJkWRBVFhQY=; b=uf5khkNY8MgbkVVc/CR/CvMDbPobEV4V4VrBTLtg8RSK9U5uORO9WqISuKWozxf+SK oIci3/nb1E3i1jwqr9OTBIhvVo3zFbd/ey4ZbhBSFQkOYHowLNWYiLMmHWFqtzoqio+0 B+sh7O8qrKthsblemOYNqwx/qVGQVy3Oap4peSeF0gdX1qysAEk7DscYawEl5qC0FLG9 /qg81KUeJeDam1PI84QlPJTDg4LSZMPTX1cGg38YbOUk247I+fF/H/AuA8nrEETOghbL Y2zAwLnJWUbz0pG9RknMRt1f/bRDKdTIrKIMNtdjjLzD0iEoglkrGUYHHvApMZr+ERFc 0hjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=EFgp9xAj; 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 61si153109edc.400.2020.11.24.15.40.24; Tue, 24 Nov 2020 15:40:47 -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=EFgp9xAj; 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 S2390326AbgKXQ00 (ORCPT + 99 others); Tue, 24 Nov 2020 11:26:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33172 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390017AbgKXQ00 (ORCPT ); Tue, 24 Nov 2020 11:26:26 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30329C0613D6 for ; Tue, 24 Nov 2020 08:26:26 -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=Ff4szs+CLuwlL8iKrPqFlBDU9tu8u7cwkJkWRBVFhQY=; b=EFgp9xAjAOcjcmKpnfeK0oIsrS iY7uO+H/fNGYyIpoK7KHPgPE4ZkahlyoEMfBB1p2bapqfHrtJI3nzPEpMHH1cSrAe+bi7MUlPFLEC MjgUsvlJ8gvqqyrA6EuBzjOIGoga5Ynhi2+3TAgUVy9KOiQqIrbOZenOPvtOtOnQO3hlfOak5wdzy vUHWqlUEdB5DMOXCopWhibf9fBzVN/jAZwREifDm4XqDPa2R8u5HFLZQHJ+NDtHiHem4R/gYqgTWS vAg73NAoSykmVvd1dcDuPxb2CZrK5kGTcrh9upZRLQR3Sg5DZbjsFJExGnGWqZLOk97wRlNI6Y0Pq JHbTZkrA==; 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 1khb8r-0002es-Re; Tue, 24 Nov 2020 16:26:15 +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 57E4C3012DF; Tue, 24 Nov 2020 17:26:09 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 362B72B09D6B7; Tue, 24 Nov 2020 17:26:09 +0100 (CET) Date: Tue, 24 Nov 2020 17:26:09 +0100 From: Peter Zijlstra To: Marc Zyngier Cc: LAK , linux-kernel , Will Deacon , Catalin Marinas , Thomas Gleixner , Valentin Schneider , Mark Rutland , Russell King , Android Kernel Team Subject: Re: [PATCH v2 2/6] genirq: Allow an interrupt to be marked as 'raw' Message-ID: <20201124162609.GK2414@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: <20201124141449.572446-3-maz@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 24, 2020 at 02:14:45PM +0000, Marc Zyngier wrote: > Some interrupts (such as the rescheduling IPI) rely on not going through > the irq_enter()/irq_exit() calls. To distinguish such interrupts, add > a new IRQ flag that allows the low-level handling code to sidestep the > enter()/exit() calls. Well, not quite. The scheduler_ipi() function is perfectly fine being called with irq_enter/irq_exit. As per this very series, that's your current reality. The function just doesn't need it.