Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp4501333pxv; Tue, 6 Jul 2021 02:25:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxUbmKODfUkzke9VJhyJZrQXWQeLwHFKUihAOqx+AEgPXHO+USW8Lu+MdpDZKpPaiq31pOo X-Received: by 2002:a05:6402:518d:: with SMTP id q13mr21729706edd.387.1625563551683; Tue, 06 Jul 2021 02:25:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625563551; cv=none; d=google.com; s=arc-20160816; b=Kh6e5KGTm6+E6Corsb3WhIESQIyUsPkE/uDv5H8naOVTn9RH5KmhTfiV3D07S8J0hz x2tDQRmWiq43Z8O2FA91wzr9/BljBdcjdY6hlqZt546Mfqv/ILuOgwetSYCisZQRsq1Z VpKjpZwxFD0l/+v3BrtjuMFm86c+C+Dwwv9WxnP+39FKMXdIbzxY4o2g84OJpzUQymfl Fr785bHCQa76jnjVAj9Mt1bkugB9EIYk9t7Qn2ILwmgFwBCasW6tfR/CJ9hNxSp2k1o6 rU0Hv5rZ0EBFmdqbV/VCIWDh7dZyhIBP3uKFtNzLMM9q1OgHo3v4u+k1Lg63MbHiDo80 sAIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date; bh=gZYCu+LbNOTf8vg2o/qRgJdTYIruLsUF+EjJh5U9B6o=; b=ZcQQb/or7ftau6ByNIgsBQbUCmDpouB81gexUZe8D6HckkeGdGAiwcbD9+42YQ6MKm Y9UOTe///zUt5ZKSYSXU7BKeQ76x0SMNP+gEYmlk1F6O4Uh2VxGEpcDgVr4kq0TnLNIX blAABBCO1z7ESvIRjPlx1knr87/h6Rl1xrneaVCY+ik8+LXc1rIUrrKecjKle6aK++dX uFsZ3gbcFD6iull+NI5UqNGZsPIFur8WKAu29+THCBwhVV5cuAjWh16q6gnX2DvUv8oL yI0puhmhZJUGiNr+9zejBgJ0s/N5OeObCL2mb7TErYvLH9l1AcpWxZMo+puQSX5DO00t K+wA== 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e12si13715139ejk.703.2021.07.06.02.25.28; Tue, 06 Jul 2021 02:25:51 -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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231159AbhGFJ1L (ORCPT + 99 others); Tue, 6 Jul 2021 05:27:11 -0400 Received: from mail.kernel.org ([198.145.29.99]:60496 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230515AbhGFJ1K (ORCPT ); Tue, 6 Jul 2021 05:27:10 -0400 Received: from disco-boy.misterjones.org (disco-boy.misterjones.org [51.254.78.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1A69F61961; Tue, 6 Jul 2021 09:24:32 +0000 (UTC) Received: from sofa.misterjones.org ([185.219.108.64] helo=why.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1m0hJd-00Be3l-VL; Tue, 06 Jul 2021 10:24:30 +0100 Date: Tue, 06 Jul 2021 10:24:29 +0100 Message-ID: <87eecb94mq.wl-maz@kernel.org> From: Marc Zyngier To: Guenter Roeck Cc: linux-kernel@vger.kernel.org, tglx@linutronix.de Subject: Re: [irqchip: irq/irqchip-next] irqdomain: Protect the linear revmap with RCU In-Reply-To: References: <162341967699.19906.3242958007782554792.tip-bot2@tip-bot2> <20210705172352.GA56304@roeck-us.net> <87h7h88wsd.wl-maz@kernel.org> <79ec0069-553b-cac1-5ec7-d68c757619a5@roeck-us.net> <87fsws8uty.wl-maz@kernel.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/27.1 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: linux@roeck-us.net, linux-kernel@vger.kernel.org, tglx@linutronix.de X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 05 Jul 2021 21:36:36 +0100, Guenter Roeck wrote: > > On 7/5/21 11:43 AM, Marc Zyngier wrote: > > It definitely helps, and confirms my hunch. With the patch below, I'm > > not getting the warnings anymore. I'm pretty sure a number of other > > MIPS systems suffer from similar issues, which I'll address similarly. > > > > Please let me know if that addresses the issue on your end. > > > > Yes, it does. Feel free to add > > Tested-by: Guenter Roeck > > to the real patch. Thanks. > Now the big question: Why does this only affect 32-bit little endian > mips images, but not the matching big endian images, nor 64-bit images ? Are you sure these images are using the exact same HW? A bunch (most?) of MIPS systems do not use irqdomains in their root interrupt handling, so this issue wouldn't be visible (irq_enter() will already have been done for the chained interrupt handling). FWIW, I can reproduce the problem by switching your mipsel config to BE, and adding this patch fixes it. Thanks, M. -- Without deviation from the norm, progress is not possible.