From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6592FC55ABD for ; Wed, 11 Nov 2020 14:21:44 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C6E932072C for ; Wed, 11 Nov 2020 14:21:43 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="fmPp2315"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="J+gK39it" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C6E932072C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Message-ID:References:In-Reply-To:Subject:To:From: Date:MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=2OzkPFtIcVqJt/IXTo58Qd9cP2KT9iyOFIlGrXZV8Aw=; b=fmPp2315PIiTEZjmeHvJlKXbL Mi8MiB18YDQKjGbGuOPT/tDngwZt5QqcqLl8I/+4KtweZ2fnBJoFQm6Up/PRJ/SU2kQuNoWsbo+gN w7JfuGuzjdYSU6ozQRuujaL5qO/C/F5ejYYmX7pOup4e8PeHDuoTvmRPqCjCii10Xy10GD+UQFgza 3TVws/6nedNR440H0zGFEDuagA3/jXz4Ptc2xavColmMf8d9Xi74tldkXRB/H209Y+f8Op7PWX7ye +7n5tD1egTJKvn7f07NP2P/ZoOA8ArPs0pancIO7PELOy++TkN0/B+ohVx06TrDR+qRNxiU1jhFHN kdmZxsOig==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcqyR-0005I7-Kk; Wed, 11 Nov 2020 14:19:47 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcqyO-0005HM-Uh for linux-arm-kernel@lists.infradead.org; Wed, 11 Nov 2020 14:19:45 +0000 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 Date: Wed, 11 Nov 2020 14:19:40 +0000 From: Marc Zyngier To: Linus Walleij 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201111_091945_099252_111F46AA X-CRM114-Status: GOOD ( 15.37 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "open list:GPIO SUBSYSTEM" , Daniel Palmer , Linux Kernel Mailing List , Linux ARM , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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... _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel