Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp390322pxb; Wed, 11 Nov 2020 06:21:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJxhj9JwGROaFG9pgtrnOjsICWJNil2t/cd+0Yz7F7Sjuz4B+l0P78Ia+WudBhqOtRQrbaBG X-Received: by 2002:a17:906:15cc:: with SMTP id l12mr20168028ejd.363.1605104499868; Wed, 11 Nov 2020 06:21:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605104499; cv=none; d=google.com; s=arc-20160816; b=NaHO9ipzXXyR7HwDI8gHv4At/9A/uSfJciq0zDPYxX0BpUWvNRaQ188V/FJNice5cr HKkekpJBQMOUZhSBg0dnHgMbJMwkqMu/82ZMB8dPyK76iteikWaPu5MYWPapFwK2mwLB R1Vr/WPT1XIoNSQJeAkS0RXWsfntcxYeN0AobfGbwct9KkyAQP0p+01MBh2o+yZRfIg6 cVVB8Al3s5/YR9W6pk31MJ4G/TonytTlN6Vs8GVlFZ2T4550gIwpW9hMl/q4WPhbXZxv C33NGtPrKdtCqvqojARqH4VmFsV9LiSgKKYI4wvjWNR/uz1uK8Lw7W4wKtHaAJMC1Jn0 LTbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:user-agent:references:in-reply-to :subject:cc:to:from:date:content-transfer-encoding:mime-version :dkim-signature; bh=nPfToNS1StIZATHUtKXukO8cNjkGNz+87XT9sMUPBp0=; b=SfM0Jv3LySyaypToypXt8FESRv5AfC05WqSEMBLNeIPX/tNCRMa1+e6jeRmEYrW81V qeN3cZuwlaJVe+rq6CacLG9qWu7Sl4DGOa+BoIhBcRCxLITp8QHe9LIf986Qg/iG9eKC 2+/EEIZw7o3uTI/yDdvDgalD4UWe7B2xYYwqz8+vncM+t1AEpOUoiaubfzOqJFIb4DUb cY5NtGMciIDTlQHpsJSxG7MMiyn/RnSbDACEDQcrufZbnFVk2xoNzptbbQi8LpNk1RK9 xbWQpuiznt7pD6LneDwDNdDsFUUxFRpI4tJAgO5kHv9ltBau78CXPT16dzD5x29Bp0dw 09WA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=J+gK39it; 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 g4si1474468edw.15.2020.11.11.06.21.15; Wed, 11 Nov 2020 06:21:39 -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=@kernel.org header.s=default header.b=J+gK39it; 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 S1726207AbgKKOTo (ORCPT + 99 others); Wed, 11 Nov 2020 09:19:44 -0500 Received: from mail.kernel.org ([198.145.29.99]:33916 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725900AbgKKOTo (ORCPT ); Wed, 11 Nov 2020 09:19:44 -0500 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 F19262072C; Wed, 11 Nov 2020 14:19:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605104383; bh=h4WV9Lcvcmda9mj7Yvwdlkfda2VnKDl/S6Wue0cEbww=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=J+gK39itAQr1hKBU/oBohrqJyBNJp+dhObEcEcGN5hENc74Sxjkwn4y83Xr0E0scq ZTuNeetHzWbbExckVB+IBU6pDWScsGE04JhlgM3smFXNE3SWRfpGk4Tk3iyVhsVsA9 lISmyCUIictkOKQOZ3oofavfuSId0rVBpseD76iE= Received: from disco-boy.misterjones.org ([51.254.78.96] helo=www.loen.fr) by disco-boy.misterjones.org with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94) (envelope-from ) id 1kcqyK-009mkO-WA; Wed, 11 Nov 2020 14:19:41 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 11 Nov 2020 14:19:40 +0000 From: Marc Zyngier To: Linus Walleij Cc: Daniel Palmer , "open list:GPIO SUBSYSTEM" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux ARM , Linux Kernel Mailing List Subject: Re: [PATCH v2 3/5] gpio: msc313: MStar MSC313 GPIO driver In-Reply-To: References: <20201019141008.871177-1-daniel@0x0f.com> <20201019141008.871177-4-daniel@0x0f.com> <3fd04aeb5047d8059ddecc1eda19c2e4@kernel.org> <71f3632bee262a18e1b7edb74980ae9a@kernel.org> User-Agent: Roundcube Webmail/1.4.9 Message-ID: <40fec073b2423b698ef4d91c499c7c9f@kernel.org> X-Sender: maz@kernel.org X-SA-Exim-Connect-IP: 51.254.78.96 X-SA-Exim-Rcpt-To: linus.walleij@linaro.org, daniel@0x0f.com, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org 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 2020-11-11 14:09, Linus Walleij wrote: > On Tue, Nov 10, 2020 at 3:19 PM Marc Zyngier wrote: >> On 2020-11-10 14:02, Linus Walleij wrote: > >> >> Probably nothing more than setting the callback to >> >> irq_chip_set_affinity_parent, >> > >> > Hm, is this something all GPIO irqchips used on SMP systems >> > should be doing? Or just hierarchical ones? >> >> Probably only the hierarchical ones. I'd expect the non-hierarchical >> GPIOs to be muxed behind a single interrupt, which makes it impossible >> to move a single GPIO around, and moving the mux interrupt would break >> userspace's expectations that interrupts move independently of each >> others. > > I found two suspects and sent patches. I think I might have some > more candidates down in pinctrl. I do have some hierarchical IRQ > that is on UP systems, I suppose these are not affected. Yup, they look good. Feel free to add my Ack to them. And yes, UP systems are naturally oblivious of interrupt affinity. Thanks, M. -- Jazz is not dead. It just smells funny...