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=-10.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham 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 64155C56202 for ; Thu, 26 Nov 2020 11:30:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 11650206CA for ; Thu, 26 Nov 2020 11:30:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389116AbgKZLaT (ORCPT ); Thu, 26 Nov 2020 06:30:19 -0500 Received: from frasgout.his.huawei.com ([185.176.79.56]:2161 "EHLO frasgout.his.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388808AbgKZLaT (ORCPT ); Thu, 26 Nov 2020 06:30:19 -0500 Received: from fraeml734-chm.china.huawei.com (unknown [172.18.147.200]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4Chb954LpRz67HS9; Thu, 26 Nov 2020 19:28:09 +0800 (CST) Received: from lhreml724-chm.china.huawei.com (10.201.108.75) by fraeml734-chm.china.huawei.com (10.206.15.215) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Thu, 26 Nov 2020 12:30:17 +0100 Received: from [10.210.172.213] (10.210.172.213) by lhreml724-chm.china.huawei.com (10.201.108.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1913.5; Thu, 26 Nov 2020 11:30:16 +0000 Subject: Re: [PATCH v2 1/3] genirq/affinity: Add irq_update_affinity_desc() To: Marc Zyngier CC: Thomas Gleixner , , , , , , , References: <87ft57r7v3.fsf@nanos.tec.linutronix.de> <78356caa-57a0-b807-fe52-8f12d36c1789@huawei.com> <874klmqu2r.fsf@nanos.tec.linutronix.de> <87lfexp6am.fsf@nanos.tec.linutronix.de> <3acb7fde-eae2-a223-9cfd-f409cc2abba6@huawei.com> <873615oy8a.fsf@nanos.tec.linutronix.de> <4aab9d3b-6ca6-01c5-f840-459f945c7577@huawei.com> <87sg91ik9e.wl-maz@kernel.org> <0edc9a11-0b92-537f-1790-6b4b6de4900d@huawei.com> <5a314713-c1ee-2d34-bee1-60beae274742@huawei.com> <0525a4bcf17a355cd141632d4f3714be@kernel.org> <702e1729-9a4b-b16f-6a58-33172b1a3220@huawei.com> <5a588f5d86010602ff9a90e8f057743c@kernel.org> <80e0a19b-3291-1304-1a5b-0445c49efe31@huawei.com> From: John Garry Message-ID: Date: Thu, 26 Nov 2020 11:29:54 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.1.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Originating-IP: [10.210.172.213] X-ClientProxiedBy: lhreml707-chm.china.huawei.com (10.201.108.56) To lhreml724-chm.china.huawei.com (10.201.108.75) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Marc, > > I did: > > https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/log/?h=irq/hacks ok, I'll have a look >> >> You still should be able to enable my favorite >> CONFIG_DEBUG_TEST_DRIVER_REMOVE=y, while the distro still boot. But >> I'll just test if you want. > > Ah! Let me try that then. Having been debugging some ugly driver removal > lately, I wish I had known that config option and inflicted it on their > authors... Just in case - be careful with this one! It kills the boot of many systems, but D05 should be fine. > > [...] > >>> And while the mbigen port that is connected to the SAS controller >>> doesn't seem to be shared between endpoints, some other ports definitely >>> are: >>> >>> # cat /sys/kernel/debug/irq/domains/\\_SB.MBI1 >>> name:   \_SB.MBI1 >>>   size:   409 >>>   mapped: 192 >>>   flags:  0x00000003 >>> >>> [...] >>> >>> I guess that the other 217 lines are connected somewhere. >>> >> >> I think that is not the right one. See >> https://github.com/tianocore/edk2-platforms/blob/master/Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05Sas.asl#L101 >> >> > > I know, I was just outlining the fact that some of the mbigen > ports are shared between devices, and MBI1 seems to be an example > of that (though my reading of ASL is... primitive). Ah, ok. So this one is for the networking subsystem, and it does have many devices in the topology model, but I can't claim to known much more than that. Thanks, John