Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3918457pxb; Mon, 8 Feb 2021 03:33:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJw9PYgx9v//5AVDYqGYcmt9k5rmgAhfONgMst7mL4BtzJxk2u+pGXPSkMihbQWsGz+J6GH5 X-Received: by 2002:aa7:d60f:: with SMTP id c15mr16817641edr.291.1612784031999; Mon, 08 Feb 2021 03:33:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612784031; cv=none; d=google.com; s=arc-20160816; b=WUpI16jySRahqmlmFs40PkG2d6/1W/zyQwCtHPc8XNdDcL5Ve8mAeV5LBtop/k5Kz8 /qkajL5ImPsfHXF+naU68p79BROFcvXpsuZvCGzxVzyGqMOaMuT5C072t2QjmE33SKcQ A1PXIfnZaAGD8AwNRj3UdMDwQojrplwrtcokc4JCpJ13q0NKYktYgP09SMdEGJJgRmPz rQPHaJoqCOsJ/kvdURAVSumgDNqLWxfKs3RvmZi3Er4Ha9VoTxptkdFf1m45gHH3Q2pS uZR6dgX9c90Ao3ZM8EUgu8f06u6V+i6OZWMclQQtlYVkNwOeclMoBt6FrUgqXWcMggQv 9wcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=yRQNYgLz2/nnHQveL304IXzRZJ2YN/SlWa+10WUJR5Q=; b=g3GCAVfwfcqtywkEbE85LTFfevzNBe8Rxjh2f9eGXiZ2XwC9hReIlqVUW6ttIO7zCz tviWvzOM8VdA0rsGUb9f0feNwhiiskFb5eMyLyOF8DYzuPtf0IPmc8wP3CZw98udVe5j BDOt9SWnzw+SOM2/9AlM3T5iwDKRdKBip28WleNAbF0xBTrGosvcVmnMjT82FRvOqYOX nLv3xDyuCN6Q8Tik9J2fCQ1YWVU4ricKNZWASpUJ1cFUmNFefdowgVJ6AFjNWbGJn9oi ZNTAm/M8CHucWw2nPIor/qttcEyqOI/g4NXYz9oWcnBwIpY1lrDhbvOemWdamSg3VsNp g4kA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i17si4552131ejg.646.2021.02.08.03.33.27; Mon, 08 Feb 2021 03:33:51 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233365AbhBHLcl (ORCPT + 99 others); Mon, 8 Feb 2021 06:32:41 -0500 Received: from frasgout.his.huawei.com ([185.176.79.56]:2523 "EHLO frasgout.his.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233058AbhBHLQf (ORCPT ); Mon, 8 Feb 2021 06:16:35 -0500 Received: from fraeml734-chm.china.huawei.com (unknown [172.18.147.207]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4DZ3HB75hpz67lhd; Mon, 8 Feb 2021 19:11:02 +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; Mon, 8 Feb 2021 12:15:53 +0100 Received: from [10.47.8.138] (10.47.8.138) by lhreml724-chm.china.huawei.com (10.201.108.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Mon, 8 Feb 2021 11:15:52 +0000 Subject: Re: [Linuxarm] [PATCH v1 0/2] irqchip/gic-v3-its: don't set bitmap for LPI which user didn't allocate To: Luo Jiaxing , CC: , , References: <1612781926-56206-1-git-send-email-luojiaxing@huawei.com> From: John Garry Message-ID: Date: Mon, 8 Feb 2021 11:14:19 +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: <1612781926-56206-1-git-send-email-luojiaxing@huawei.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.47.8.138] X-ClientProxiedBy: lhreml745-chm.china.huawei.com (10.201.108.195) 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 On 08/02/2021 10:58, Luo Jiaxing wrote: > When the number of online CPUs is less than 16, we found that it will fail > to allocate 32 MSI interrupts (including 16 affinity interrupts) after the > hisi_sas module is unloaded and then reloaded. > > After analysis, it is found that a bug exists when the ITS releases > interrupt resources, and this patch set contains a bugfix patch and a patch > for appending debugging information. Please note that this issue has already been reported: https://lore.kernel.org/lkml/fd88ce05-8aee-5b1f-5ab6-be88fa53d3aa@huawei.com/ > > Luo Jiaxing (2): > irqchip/gic-v3-its: don't set bitmap for LPI which user didn't > allocate > genirq/msi: add an error print when __irq_domain_alloc_irqs() failed > > drivers/irqchip/irq-gic-v3-its.c | 4 ++++ > kernel/irq/msi.c | 1 + > 2 files changed, 5 insertions(+) >