Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3905502pxb; Mon, 8 Feb 2021 03:11:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJxh5JjU5odpDAsxxq5CufLeSpNUCy0fOXrv6dOE4n2m223H0kDG4dfFxY3tZtxv2VRhPAle X-Received: by 2002:a17:906:bce2:: with SMTP id op2mr16516009ejb.127.1612782704981; Mon, 08 Feb 2021 03:11:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612782704; cv=none; d=google.com; s=arc-20160816; b=RjxYIsIXNIi2hZ18G2X44z4bSwV2PBG4FbK2iC/beaAN+5ltmfIMEJKsn9Lc0ZLR/C VD+558SfsMmcaXJTSWZRfu9wLRGxsqglHbSTJ81OxXlVjh1jouFMHmI0woumGAk+gJ0E ItfSIEgEue7KaZBGg6L0kD1xxdj39Fi4o4QJnsRAib7nUuXoMC8Gti/8dgmv+XdO0KTf B44TjQmUh2Vh78WjL7KuWm5jfIe7zYqkaeFzJd+I2tttgNmWitn9hqnfPKTnbrvB0cS1 XCDibWngGXFJu9kEzdtgMnORzRE6mbvobr0jVsApCZAL1S7AGIlgzRPLf1Ub+XUCuZDY n08w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=NYIISYohi6m8VVUAiBXRIc0fVBU8NFuPLsejv4REVLE=; b=c2q3EnVO4YBx3cncbEODL4j7ckvsQrGOAUlsT3WGxIaMWKUEhPeGiX/1ZpoWTXGSeP KuY7SpPUwScdt4LKowZUGczFVt1kjEhU2Vof9nN9dNQ+XyJ8nBYgCMTaPSCRvMPn2o23 sj2NkaB1ZpZ5GsmTyJNZTSrqoxDs+2xhb4iQ/2x3KltemIbVHr+I1stjpVHapgRyVU9X fdwseNnCiHZXR2M4VES58MEC0yh1liNB7iVTb6TUjtKLYJ9EZj7gOU2MaKKfAYrUEHD1 za4xqqj/ONsbJWuBleyUSBOdne8npCuHEn7UjO+qsmR0WSmiOPuyeLTgescNJpO6sCQu CSRQ== 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 n13si11059763ejc.732.2021.02.08.03.11.20; Mon, 08 Feb 2021 03:11:44 -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 S232940AbhBHLKh (ORCPT + 99 others); Mon, 8 Feb 2021 06:10:37 -0500 Received: from szxga07-in.huawei.com ([45.249.212.35]:12868 "EHLO szxga07-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232830AbhBHLAK (ORCPT ); Mon, 8 Feb 2021 06:00:10 -0500 Received: from DGGEMS407-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga07-in.huawei.com (SkyGuard) with ESMTP id 4DZ30122gDz7hqt; Mon, 8 Feb 2021 18:57:53 +0800 (CST) Received: from huawei.com (10.69.192.56) by DGGEMS407-HUB.china.huawei.com (10.3.19.207) with Microsoft SMTP Server id 14.3.498.0; Mon, 8 Feb 2021 18:59:10 +0800 From: Luo Jiaxing To: CC: , , Subject: [PATCH v1 0/2] irqchip/gic-v3-its: don't set bitmap for LPI which user didn't allocate Date: Mon, 8 Feb 2021 18:58:44 +0800 Message-ID: <1612781926-56206-1-git-send-email-luojiaxing@huawei.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.69.192.56] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 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(+) -- 2.7.4