Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp383598pxb; Wed, 11 Nov 2020 06:13:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJxdfdGDbyb4ANX7+5vOPmHggE60A4PWhUi6rHUt5ivmgHIgaJgs9lIVBDld89mAhFhcLlB6 X-Received: by 2002:a17:906:2818:: with SMTP id r24mr26657425ejc.100.1605104013973; Wed, 11 Nov 2020 06:13:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605104013; cv=none; d=google.com; s=arc-20160816; b=D/faHSuducAdSLCY0DaPe7VkPkxSQMOKYGYG08VyutET+wbvMm9NJKNBv3NtWSSbqJ GNbciAvyfApWyUffgm/3/zK0HUtNHgLMrJGfooLhFrOdVo1IasZgyktqULoc899r9wMZ PUAHqZQ5O6297GD3exHUGXUTfl+8w4hspSEInDMulK6030ciYqAo+gQ+dG8nhNssSF96 g9EzKbohhqf9caPs3L6cHTySsHwHvNm/J9LdwGwGkx/Cy5HLUtDRyctU8lZTEMEzCo89 GYb9rM7pHh8Pmv/AVfjqCNC3nenjqa5vniOIcLNmOV+/Z7gt+8Nli2padmGEUJ/Bbxrn f2wQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=4F6RReVm27W/nhwX00zKDRay2swOnSHsIeTk0Gn+ySk=; b=H/nDKXHbgI40bOBpYG9nT54h4HRZ3rh0UzcrqWhAUkeSPa1Q11hwcWV4nkRgEkF7YA 3dha3mWArLaqg48jYJdRigLPwX0jm6WqEZDtNkqqVC9nkAmMioh4GS8fJGlFPi0NudkX DPCTgbNx7PQ/l0SChoGITokVJ/oBF9+aB1VRb1ng8ugw3aqWrvFMcQarozh5DQiGOxZl QwpG2zGSQrpyvyQz9OfCQQXW4xjAbn3SfQYOhm/JeQwy3+I6+8mgjmoPJBqJwJdULvDm +KsmgOu6p3bxS3J775DctGkwcT/9uFnAys7kYtoNX1BmYJbr0QR/kEzvY1VGyDfXPhBA 6aiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=THd6YZbK; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p2si1631195edj.119.2020.11.11.06.13.09; Wed, 11 Nov 2020 06:13:33 -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=@linaro.org header.s=google header.b=THd6YZbK; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726974AbgKKOJ6 (ORCPT + 99 others); Wed, 11 Nov 2020 09:09:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59554 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726807AbgKKOJd (ORCPT ); Wed, 11 Nov 2020 09:09:33 -0500 Received: from mail-lj1-x241.google.com (mail-lj1-x241.google.com [IPv6:2a00:1450:4864:20::241]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92395C0613D6 for ; Wed, 11 Nov 2020 06:09:32 -0800 (PST) Received: by mail-lj1-x241.google.com with SMTP id y16so2249886ljk.1 for ; Wed, 11 Nov 2020 06:09:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=4F6RReVm27W/nhwX00zKDRay2swOnSHsIeTk0Gn+ySk=; b=THd6YZbKXouhcPK7EKGkOIz/sPDjdTWa6OIUxDfH0TaVX5NwEoyp8i74NqBppgZRFY OKy9PBmigzR296Nl3mP7zfsbFF1xxlqHHcw6uatuyCtvcMs3Xqx/kdOhbzZZfEPBDRxu Thndl+h/RBqE2jSttLaubWJkwcl4yIHRA4CMtQ2rjCCe1y+4xUWi1A4ZJfpEnNbO+QM3 I6bmuoHikOnN8ZSoxTf9TSr9le540XckkeZPfmnxfSJuljSLhoQOd5Cl6efDQBrARvlo 1wfr4Xp3wGwZyffltHH9uMOdrXWHWds+e1Tfh+p/eyo5ISA43ZdK3EPp9hXYBX/idEDU Po+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=4F6RReVm27W/nhwX00zKDRay2swOnSHsIeTk0Gn+ySk=; b=i/3/rrXhQkbdfNX5cwp7KnDbxThiIn03zoRUxlz1ccL4AyeROrBpyzeCeE+BQKHEoH pQgy2KYSYwvWIQ33HsYhf6ioNXY2z69EINxy8LlgNvQ8ycvkH77c+cL2bzH2sVqpShsr sqyzFPTC+hcbt6WaWLaTRjfKlxbzl62Fd9AFbVhFXFznA8zdtM5aY/l+QNGSL9jJAeMt YxwWBB0yxExjJ00awXAmKqT8McrxivvI9VN5Vy1KZnqUfkCHl3AiZeVzUV/T4fOdPHoK 5DddPbVRDZhuyxgCsXeY6bS63EUJiekJJswvWpt/RtRpC0DQlArgqJczN75HdJRHm8Yk npyg== X-Gm-Message-State: AOAM530YtzWbnbu2EwL1yp9+1nrFYl1GR/oBX0iglGzL/YSoI/1Kxs4n qyrWVU6JZOXzIvwnyPG0OYOmeeNX7jBwJ315YnB4HQ== X-Received: by 2002:a2e:8604:: with SMTP id a4mr10729544lji.100.1605103770994; Wed, 11 Nov 2020 06:09:30 -0800 (PST) MIME-Version: 1.0 References: <20201019141008.871177-1-daniel@0x0f.com> <20201019141008.871177-4-daniel@0x0f.com> <3fd04aeb5047d8059ddecc1eda19c2e4@kernel.org> <71f3632bee262a18e1b7edb74980ae9a@kernel.org> In-Reply-To: From: Linus Walleij Date: Wed, 11 Nov 2020 15:09:19 +0100 Message-ID: Subject: Re: [PATCH v2 3/5] gpio: msc313: MStar MSC313 GPIO driver To: Marc Zyngier Cc: Daniel Palmer , "open list:GPIO SUBSYSTEM" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux ARM , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Yours, Linus Walleij