Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp2817593pxb; Tue, 13 Apr 2021 10:51:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxYlNqFQ9JtRRjGMrpZwr0QehIXAvHkdIzlE3Up0gktR4MpIWUGR9nzso57iPjhuFugUHdx X-Received: by 2002:a17:907:9706:: with SMTP id jg6mr13231951ejc.515.1618336282138; Tue, 13 Apr 2021 10:51:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618336282; cv=none; d=google.com; s=arc-20160816; b=WI6KePBvwnoQATOh1OdSn/+WE8GVE/3B046nku/017/ZR//RKYT5W1Z2I1PpHB78GQ Sj0EbK4LhVpLmLDpQ6ITvXufjtKMrZc5eAg6ziUGbmhS1O6V6wcOHzXss5Kc6/sxqCgw ZpRt+mLiNMHtHcvQFj4QEMgJwq6PS7wOetAFs7D7b0IfrGZBv4GJF0Fhi8OWfKkjprou /1RIckKdR2b6gvCsFl+vNtg1bfFpopeq8cPIeJIe5NGS76SpoDunTGVma+q67112832r 8XO7ARFxqBUn/LQpYZksTyvYmsfcA4hTmLivknw/he6xU17z1wLhaItgocpSHqmEwQzz UqCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=cdjpEh5zUNx+VGhZKbAq6xYi6G0WTJ+JODefPeCaMDE=; b=0+toLDmRu57lKiSpdy1cp+zKLfIEJH12zRe+/iZn1EjMyg7f6iHL4cmbZtYYmDWXPA sNQJ70JAICZThf43TfZXw3eVmXC2kwsJ8hCeC99DrfWlNWC81vHyViuesE/yUIh0P77S I4RWQp10WQ6vQBlD9dLFReuLKn7m7gESKygPyqc/0dsdHZUsTRcWb3wuFL1B1AIFnzoQ S6vImVi2eJu4SBxIWuk5kiNm1NV9SGpUB3DURdes/ER/kvH+k+0SbKC5qFueyLk4Gyhl pOF+AqHJ4+lf5eUE7YiqpuBKJRVV9OFoBKeiMK5vqBt4xhXunbSm9S9sT6OPVwc5iW6Z 2x3A== 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 re25si3906605ejb.425.2021.04.13.10.50.57; Tue, 13 Apr 2021 10:51:22 -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 S1345461AbhDMMRR (ORCPT + 99 others); Tue, 13 Apr 2021 08:17:17 -0400 Received: from smtpout1.mo529.mail-out.ovh.net ([178.32.125.2]:36551 "EHLO smtpout1.mo529.mail-out.ovh.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345469AbhDMMRA (ORCPT ); Tue, 13 Apr 2021 08:17:00 -0400 Received: from mxplan5.mail.ovh.net (unknown [10.108.20.191]) by mo529.mail-out.ovh.net (Postfix) with ESMTPS id C318499EADAF; Tue, 13 Apr 2021 14:16:37 +0200 (CEST) Received: from kaod.org (37.59.142.100) by DAG4EX1.mxp5.local (172.16.2.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Tue, 13 Apr 2021 14:16:37 +0200 Authentication-Results: garm.ovh; auth=pass (GARM-100R003a97ef6b3-24da-4675-bac2-562d38c2bee5, 4BE79BB08BA9582E888D4556D96BF37B7B4E8F35) smtp.auth=clg@kaod.org X-OVh-ClientIp: 90.89.73.13 Subject: Re: [PATCH] genirq: reduce irqdebug bouncing cachelines To: Thomas Gleixner , Nicholas Piggin CC: References: <20210402132037.574661-1-npiggin@gmail.com> <87im4u2vxx.ffs@nanos.tec.linutronix.de> <2dae4501-6f01-1b32-4b69-1dfc94c93425@kaod.org> <87wnt71xmm.ffs@nanos.tec.linutronix.de> From: =?UTF-8?Q?C=c3=a9dric_Le_Goater?= Message-ID: Date: Tue, 13 Apr 2021 14:16:36 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <87wnt71xmm.ffs@nanos.tec.linutronix.de> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [37.59.142.100] X-ClientProxiedBy: DAG5EX2.mxp5.local (172.16.2.42) To DAG4EX1.mxp5.local (172.16.2.31) X-Ovh-Tracer-GUID: 9558eb5d-0d17-4289-a131-ed6a1f3ab400 X-Ovh-Tracer-Id: 10062448946537532381 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduledrudekledghedtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepuffvfhfhkffffgggjggtgfhisehtjeertddtfeejnecuhfhrohhmpeevrogurhhitggpnfgvpgfiohgrthgvrhcuoegtlhhgsehkrghougdrohhrgheqnecuggftrfgrthhtvghrnhepgedvieejfedvhfduhfffueevheeludffhfdvkeehleegtddttdfhieegveeghfffnecukfhppedtrddtrddtrddtpdefjedrheelrddugedvrddutddtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhpqdhouhhtpdhhvghlohepmhigphhlrghnhedrmhgrihhlrdhovhhhrdhnvghtpdhinhgvtheptddrtddrtddrtddpmhgrihhlfhhrohhmpegtlhhgsehkrghougdrohhrghdprhgtphhtthhopehtghhlgieslhhinhhuthhrohhnihigrdguvg Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thomas, >> We could test irq_settings_no_debug() directly under handle_nested_irq() >> and handle_irq_event_percpu() to avoid calling note_interrupt(), just >> like we do for noirqdebug. > > We can do that, but then we should not just make it: > > if (!irqnodebug && !irq_settings_no_debug(desc)) > note_interrupt(...); > > Instead have only one condition: > > if (!irq_settings_no_debug(desc)) > note_interrupt(...); > > See the uncompiled delta patch below. I merged this second part with the first and gave IRQF_NO_DEBUG a try on P8 and P9 systems and all looked fine. I should send both patches after IRQF_NO_AUTOEN is merged in mainline. Thanks, C.