Message ID | E1rDOgs-00Dvko-6t@rmk-PC.armlinux.org.uk |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:3b04:b0:fb:cd0c:d3e with SMTP id c4csp7750118dys; Wed, 13 Dec 2023 04:52:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IGrojYtYiX2eYL8fO85yBos8qYn8OW513g+Ix57FPlYEb9BO9UdqMOZEc0RdDB+reEr0gnB X-Received: by 2002:a17:903:1206:b0:1d0:7d9a:3bca with SMTP id l6-20020a170903120600b001d07d9a3bcamr9813050plh.52.1702471933678; Wed, 13 Dec 2023 04:52:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702471933; cv=none; d=google.com; s=arc-20160816; b=V8BMxB7uJqFmh6TQQuEe0AMD5l+KLZMSNZBx0EDiv6qqzmXvXvpEnEjF8HK5ZWeynp 0xhlciKGrbpevG/6rAr2d+E0mfgwoAD/zGV2nDwFuQnSaH3ShLjps1oIS63xST/bntX1 /+4sd6GVidnHVql8wW7cFtxSBnl5/NbmDEzQpPJN+VHy5QrcKsMFuysjl/e45gcb+npj r3L8DwrqRSaq4Rx3hfyKzukm8h5lcG/SWmCGoxabapuLwDxy3Hn2KZ5JHdFVb9Z3IpnQ EgwgcUP1bpWma5YV4kbNISWXnDdDmk4mcNFf13MjCMFwGQK33Gw+W8p8JxMZtHQxSks0 xqug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:sender:message-id:content-transfer-encoding :content-disposition:mime-version:subject:cc:to:from:references :in-reply-to:dkim-signature; bh=DnFY2Lrn3laRjR0dFD9DsIQAz620A4pU6zpNT78Use8=; fh=YWIBRcP8cdLYR894sEToaan3lN1VSUITe+B678IO0WY=; b=zqpi6JyZQhpA3OMUFbbv9pUJGjLCTB8RQC54YknanlXwSzS63kBqk3u4YjiMp6Upcf X83G0/O0sFB6KtKvyLQ1Bt0LE+8bEX0iB+XUTD/72W/nWCM2jxKkWjsyEp8ePiJn8XCJ MxYJ47HDiuXnSNsRokZy+AsOYuII7O6TD4I2OeDw5BMEMXhlu2ljKTQghn+UHQZFdSPv HkdO0vb138XzQqGm1c2e1VBR1GkVd//R5fpvBJaztnsfTER4xh2STtod4ngW5SR8F9x9 xgK6zo71nF86nDbIfo+/0nYIUaIhgfiw+7H5OtsugaS6iDB9P9vy4RVe1lenAI6BX9hD npPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=AsjeyEgF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id 6-20020a170902e9c600b001d3368b3db8si2763566plk.610.2023.12.13.04.52.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 04:52:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=AsjeyEgF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 91BDF802854A; Wed, 13 Dec 2023 04:51:56 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378971AbjLMMuy (ORCPT <rfc822;dexuan.linux@gmail.com> + 99 others); Wed, 13 Dec 2023 07:50:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42554 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378921AbjLMMuX (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 13 Dec 2023 07:50:23 -0500 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D32C01BC; Wed, 13 Dec 2023 04:50:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Date:Sender:Message-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:Subject:Cc:To:From:References: In-Reply-To:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=DnFY2Lrn3laRjR0dFD9DsIQAz620A4pU6zpNT78Use8=; b=AsjeyEgF6qrzJzab3wkGeZcEwz rQbT8Tw9ttXnjWwBGSCpduVsdyCslNTtuX0uB4lOWLn2A4DQGf8kQ54y0eQssun1EYJVaEjWIl9+m pSqtSsZYzlpMk6x1cEk4OonnO/nvQhZCTzAnt6bk8eG11xPN/bKHuFd3QTGhNZKj9fdYNDgvvT6j5 KjXoS4SJ3GKYkLPAF7X0EkDMoJdVgIbwj0bsR13/aGe4cetcTaI0cBPZMSGQ+V25Klu4Ppx6urvC/ eKcbFBSHX4L8zY9q6CIQ36XIHBJPW92Q1bOt1cleQ9a1mRdmlhqi3jF3ZqX8pqXPmBYM0zM3WXTb5 2ou+awpw==; Received: from e0022681537dd.dyn.armlinux.org.uk ([fd8f:7570:feb6:1:222:68ff:fe15:37dd]:33732 helo=rmk-PC.armlinux.org.uk) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from <rmk@armlinux.org.uk>) id 1rDOgp-0008Fs-39; Wed, 13 Dec 2023 12:50:16 +0000 Received: from rmk by rmk-PC.armlinux.org.uk with local (Exim 4.94.2) (envelope-from <rmk@rmk-PC.armlinux.org.uk>) id 1rDOgs-00Dvko-6t; Wed, 13 Dec 2023 12:50:18 +0000 In-Reply-To: <ZXmn46ptis59F0CO@shell.armlinux.org.uk> References: <ZXmn46ptis59F0CO@shell.armlinux.org.uk> From: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> To: linux-pm@vger.kernel.org, loongarch@lists.linux.dev, linux-acpi@vger.kernel.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-riscv@lists.infradead.org, kvmarm@lists.linux.dev, x86@kernel.org, acpica-devel@lists.linuxfoundation.org, linux-csky@vger.kernel.org, linux-doc@vger.kernel.org, linux-ia64@vger.kernel.org, linux-parisc@vger.kernel.org Cc: Salil Mehta <salil.mehta@huawei.com>, Jean-Philippe Brucker <jean-philippe@linaro.org>, jianyong.wu@arm.com, justin.he@arm.com, James Morse <james.morse@arm.com> Subject: [PATCH RFC v3 13/21] ACPICA: Add new MADT GICC flags fields MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" Message-Id: <E1rDOgs-00Dvko-6t@rmk-PC.armlinux.org.uk> Sender: Russell King <rmk@armlinux.org.uk> Date: Wed, 13 Dec 2023 12:50:18 +0000 X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Wed, 13 Dec 2023 04:51:56 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785171210265040830 X-GMAIL-MSGID: 1785171210265040830 |
Series |
ACPI/arm64: add support for virtual cpu hotplug
|
|
Commit Message
Russell King (Oracle)
Dec. 13, 2023, 12:50 p.m. UTC
From: James Morse <james.morse@arm.com> Add the new flag field to the MADT's GICC structure. 'Online Capable' indicates a disabled CPU can be enabled later. See ACPI specification 6.5 Tabel 5.37: GICC CPU Interface Flags. Signed-off-by: James Morse <james.morse@arm.com> Tested-by: Miguel Luis <miguel.luis@oracle.com> Tested-by: Vishnu Pajjuri <vishnu@os.amperecomputing.com> Tested-by: Jianyong Wu <jianyong.wu@arm.com> Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> --- This patch probably needs to go via the upstream acpica project, but is included here so the feature can be tested. If the ACPICA header files are updated before merging this patch set, this patch will need to be dropped. Changes since RFC v2: * Add ACPI specification reference. --- include/acpi/actbl2.h | 1 + 1 file changed, 1 insertion(+)
Comments
On Wed, 13 Dec 2023 12:50:18 +0000 Russell King (Oracle) <rmk+kernel@armlinux.org.uk> wrote: > From: James Morse <james.morse@arm.com> > > Add the new flag field to the MADT's GICC structure. > > 'Online Capable' indicates a disabled CPU can be enabled later. See > ACPI specification 6.5 Tabel 5.37: GICC CPU Interface Flags. > > Signed-off-by: James Morse <james.morse@arm.com> > Tested-by: Miguel Luis <miguel.luis@oracle.com> > Tested-by: Vishnu Pajjuri <vishnu@os.amperecomputing.com> > Tested-by: Jianyong Wu <jianyong.wu@arm.com> > Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> I see there is an acpica pull request including this bit but with a different name For reference. https://github.com/acpica/acpica/pull/914/commits/453a5f67567786522021d5f6913f561f8b3cabf6 +CC Lorenzo who submitted that. > --- > This patch probably needs to go via the upstream acpica project, > but is included here so the feature can be tested. > > If the ACPICA header files are updated before merging this patch set, > this patch will need to be dropped. > > Changes since RFC v2: > * Add ACPI specification reference. > --- > include/acpi/actbl2.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/acpi/actbl2.h b/include/acpi/actbl2.h > index 3751ae69432f..c433a079d8e1 100644 > --- a/include/acpi/actbl2.h > +++ b/include/acpi/actbl2.h > @@ -1046,6 +1046,7 @@ struct acpi_madt_generic_interrupt { > /* ACPI_MADT_ENABLED (1) Processor is usable if set */ > #define ACPI_MADT_PERFORMANCE_IRQ_MODE (1<<1) /* 01: Performance Interrupt Mode */ > #define ACPI_MADT_VGIC_IRQ_MODE (1<<2) /* 02: VGIC Maintenance Interrupt mode */ > +#define ACPI_MADT_GICC_CPU_CAPABLE (1<<3) /* 03: CPU is online capable */ ACPI_MADT_GICC_ONLINE_CAPABLE > > /* 12: Generic Distributor (ACPI 5.0 + ACPI 6.0 changes) */ >
On Fri, Dec 15, 2023 at 04:23:22PM +0000, Jonathan Cameron wrote: > On Wed, 13 Dec 2023 12:50:18 +0000 > Russell King (Oracle) <rmk+kernel@armlinux.org.uk> wrote: > > > From: James Morse <james.morse@arm.com> > > > > Add the new flag field to the MADT's GICC structure. > > > > 'Online Capable' indicates a disabled CPU can be enabled later. See > > ACPI specification 6.5 Tabel 5.37: GICC CPU Interface Flags. > > > > Signed-off-by: James Morse <james.morse@arm.com> > > Tested-by: Miguel Luis <miguel.luis@oracle.com> > > Tested-by: Vishnu Pajjuri <vishnu@os.amperecomputing.com> > > Tested-by: Jianyong Wu <jianyong.wu@arm.com> > > Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> > > I see there is an acpica pull request including this bit but with a different name > For reference. > https://github.com/acpica/acpica/pull/914/commits/453a5f67567786522021d5f6913f561f8b3cabf6 > > +CC Lorenzo who submitted that. > > +#define ACPI_MADT_GICC_CPU_CAPABLE (1<<3) /* 03: CPU is online capable */ > > ACPI_MADT_GICC_ONLINE_CAPABLE It's somewhat disappointing, but no big deal. It's easy enough to change "irqchip/gic-v3: Add support for ACPI's disabled but 'online capable' CPUs" to use Lorenzo's name when that patch hits - and it becomes one less patch in this patch set when Lorenzo's change eventually hits mainline. Does anyone know how long it may take for Lorenzo's change to get into mainline? Would it be by the 6.8 merge window or the following one? Thanks.
On Fri, Dec 15, 2023 at 04:53:28PM +0000, Russell King (Oracle) wrote: > On Fri, Dec 15, 2023 at 04:23:22PM +0000, Jonathan Cameron wrote: > > On Wed, 13 Dec 2023 12:50:18 +0000 > > Russell King (Oracle) <rmk+kernel@armlinux.org.uk> wrote: > > > > > From: James Morse <james.morse@arm.com> > > > > > > Add the new flag field to the MADT's GICC structure. > > > > > > 'Online Capable' indicates a disabled CPU can be enabled later. See > > > ACPI specification 6.5 Tabel 5.37: GICC CPU Interface Flags. > > > > > > Signed-off-by: James Morse <james.morse@arm.com> > > > Tested-by: Miguel Luis <miguel.luis@oracle.com> > > > Tested-by: Vishnu Pajjuri <vishnu@os.amperecomputing.com> > > > Tested-by: Jianyong Wu <jianyong.wu@arm.com> > > > Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> > > > > I see there is an acpica pull request including this bit but with a different name > > For reference. > > https://github.com/acpica/acpica/pull/914/commits/453a5f67567786522021d5f6913f561f8b3cabf6 > > > > +CC Lorenzo who submitted that. > > > > +#define ACPI_MADT_GICC_CPU_CAPABLE (1<<3) /* 03: CPU is online capable */ > > > > ACPI_MADT_GICC_ONLINE_CAPABLE > > It's somewhat disappointing, but no big deal. It's easy enough to change > "irqchip/gic-v3: Add support for ACPI's disabled but 'online capable' CPUs" > to use Lorenzo's name when that patch hits - and it becomes one less > patch in this patch set when Lorenzo's change eventually hits mainline. > > Does anyone know how long it may take for Lorenzo's change to get into > mainline? Would it be by the 6.8 merge window or the following one? I wish I knew. I submitted ACPICA changes for the online capable bit since I had to add additional flags on top (ie DMA coherent) and it would not make sense to submit the latter without the former. I'd be great if the ACPICA headers can make it into Linux for the upcoming merge window, not sure what I can do to fasttrack the process though (I shall ping the maintainers). Lorenzo > Thanks. > > -- > RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ > FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!
On Mon, Dec 18, 2023 at 10:23 AM Lorenzo Pieralisi <lpieralisi@kernel.org> wrote: > > On Fri, Dec 15, 2023 at 04:53:28PM +0000, Russell King (Oracle) wrote: > > On Fri, Dec 15, 2023 at 04:23:22PM +0000, Jonathan Cameron wrote: > > > On Wed, 13 Dec 2023 12:50:18 +0000 > > > Russell King (Oracle) <rmk+kernel@armlinux.org.uk> wrote: > > > > > > > From: James Morse <james.morse@arm.com> > > > > > > > > Add the new flag field to the MADT's GICC structure. > > > > > > > > 'Online Capable' indicates a disabled CPU can be enabled later. See > > > > ACPI specification 6.5 Tabel 5.37: GICC CPU Interface Flags. > > > > > > > > Signed-off-by: James Morse <james.morse@arm.com> > > > > Tested-by: Miguel Luis <miguel.luis@oracle.com> > > > > Tested-by: Vishnu Pajjuri <vishnu@os.amperecomputing.com> > > > > Tested-by: Jianyong Wu <jianyong.wu@arm.com> > > > > Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> > > > > > > I see there is an acpica pull request including this bit but with a different name > > > For reference. > > > https://github.com/acpica/acpica/pull/914/commits/453a5f67567786522021d5f6913f561f8b3cabf6 > > > > > > +CC Lorenzo who submitted that. > > > > > > +#define ACPI_MADT_GICC_CPU_CAPABLE (1<<3) /* 03: CPU is online capable */ > > > > > > ACPI_MADT_GICC_ONLINE_CAPABLE > > > > It's somewhat disappointing, but no big deal. It's easy enough to change > > "irqchip/gic-v3: Add support for ACPI's disabled but 'online capable' CPUs" > > to use Lorenzo's name when that patch hits - and it becomes one less > > patch in this patch set when Lorenzo's change eventually hits mainline. > > > > Does anyone know how long it may take for Lorenzo's change to get into > > mainline? Would it be by the 6.8 merge window or the following one? > > I wish I knew. I submitted ACPICA changes for the online capable bit > since I had to add additional flags on top (ie DMA coherent) and it > would not make sense to submit the latter without the former. > > I'd be great if the ACPICA headers can make it into Linux for the upcoming > merge window, not sure what I can do to fasttrack the process though > (I shall ping the maintainers). If your upstream pull request has been merged, I can pick up Linux patches carrying Link: tags pointing to the upstream ACPICA commits in that pull request. Thanks!
On Mon, Dec 18, 2023 at 02:14:30PM +0100, Rafael J. Wysocki wrote: > On Mon, Dec 18, 2023 at 10:23 AM Lorenzo Pieralisi > <lpieralisi@kernel.org> wrote: > > > > On Fri, Dec 15, 2023 at 04:53:28PM +0000, Russell King (Oracle) wrote: > > > On Fri, Dec 15, 2023 at 04:23:22PM +0000, Jonathan Cameron wrote: > > > > On Wed, 13 Dec 2023 12:50:18 +0000 > > > > Russell King (Oracle) <rmk+kernel@armlinux.org.uk> wrote: > > > > > > > > > From: James Morse <james.morse@arm.com> > > > > > > > > > > Add the new flag field to the MADT's GICC structure. > > > > > > > > > > 'Online Capable' indicates a disabled CPU can be enabled later. See > > > > > ACPI specification 6.5 Tabel 5.37: GICC CPU Interface Flags. > > > > > > > > > > Signed-off-by: James Morse <james.morse@arm.com> > > > > > Tested-by: Miguel Luis <miguel.luis@oracle.com> > > > > > Tested-by: Vishnu Pajjuri <vishnu@os.amperecomputing.com> > > > > > Tested-by: Jianyong Wu <jianyong.wu@arm.com> > > > > > Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> > > > > > > > > I see there is an acpica pull request including this bit but with a different name > > > > For reference. > > > > https://github.com/acpica/acpica/pull/914/commits/453a5f67567786522021d5f6913f561f8b3cabf6 > > > > > > > > +CC Lorenzo who submitted that. > > > > > > > > +#define ACPI_MADT_GICC_CPU_CAPABLE (1<<3) /* 03: CPU is online capable */ > > > > > > > > ACPI_MADT_GICC_ONLINE_CAPABLE > > > > > > It's somewhat disappointing, but no big deal. It's easy enough to change > > > "irqchip/gic-v3: Add support for ACPI's disabled but 'online capable' CPUs" > > > to use Lorenzo's name when that patch hits - and it becomes one less > > > patch in this patch set when Lorenzo's change eventually hits mainline. > > > > > > Does anyone know how long it may take for Lorenzo's change to get into > > > mainline? Would it be by the 6.8 merge window or the following one? > > > > I wish I knew. I submitted ACPICA changes for the online capable bit > > since I had to add additional flags on top (ie DMA coherent) and it > > would not make sense to submit the latter without the former. > > > > I'd be great if the ACPICA headers can make it into Linux for the upcoming > > merge window, not sure what I can do to fasttrack the process though > > (I shall ping the maintainers). > > If your upstream pull request has been merged, I can pick up Linux > patches carrying Link: tags pointing to the upstream ACPICA commits in > that pull request. Thank you, I don't think it has been merged yet (and it requires review because I am not that familiar with the ACPICA code base). Hopefully it should be an extended kernel cycle so it might be possible to get these headers in v6.8, if you deem that reasonable of course once the PR is merged. Thanks, Lorenzo
On Mon, Dec 18, 2023 at 02:14:30PM +0100, Rafael J. Wysocki wrote: > On Mon, Dec 18, 2023 at 10:23 AM Lorenzo Pieralisi > <lpieralisi@kernel.org> wrote: > > > > On Fri, Dec 15, 2023 at 04:53:28PM +0000, Russell King (Oracle) wrote: > > > On Fri, Dec 15, 2023 at 04:23:22PM +0000, Jonathan Cameron wrote: > > > > On Wed, 13 Dec 2023 12:50:18 +0000 > > > > Russell King (Oracle) <rmk+kernel@armlinux.org.uk> wrote: > > > > > > > > > From: James Morse <james.morse@arm.com> > > > > > > > > > > Add the new flag field to the MADT's GICC structure. > > > > > > > > > > 'Online Capable' indicates a disabled CPU can be enabled later. See > > > > > ACPI specification 6.5 Tabel 5.37: GICC CPU Interface Flags. > > > > > > > > > > Signed-off-by: James Morse <james.morse@arm.com> > > > > > Tested-by: Miguel Luis <miguel.luis@oracle.com> > > > > > Tested-by: Vishnu Pajjuri <vishnu@os.amperecomputing.com> > > > > > Tested-by: Jianyong Wu <jianyong.wu@arm.com> > > > > > Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> > > > > > > > > I see there is an acpica pull request including this bit but with a different name > > > > For reference. > > > > https://github.com/acpica/acpica/pull/914/commits/453a5f67567786522021d5f6913f561f8b3cabf6 > > > > > > > > +CC Lorenzo who submitted that. > > > > > > > > +#define ACPI_MADT_GICC_CPU_CAPABLE (1<<3) /* 03: CPU is online capable */ > > > > > > > > ACPI_MADT_GICC_ONLINE_CAPABLE > > > > > > It's somewhat disappointing, but no big deal. It's easy enough to change > > > "irqchip/gic-v3: Add support for ACPI's disabled but 'online capable' CPUs" > > > to use Lorenzo's name when that patch hits - and it becomes one less > > > patch in this patch set when Lorenzo's change eventually hits mainline. > > > > > > Does anyone know how long it may take for Lorenzo's change to get into > > > mainline? Would it be by the 6.8 merge window or the following one? > > > > I wish I knew. I submitted ACPICA changes for the online capable bit > > since I had to add additional flags on top (ie DMA coherent) and it > > would not make sense to submit the latter without the former. > > > > I'd be great if the ACPICA headers can make it into Linux for the upcoming > > merge window, not sure what I can do to fasttrack the process though > > (I shall ping the maintainers). > > If your upstream pull request has been merged, I can pick up Linux > patches carrying Link: tags pointing to the upstream ACPICA commits in > that pull request. ACPICA PR was merged, sent the Linuxized version along with the GIC changes here: https://lore.kernel.org/lkml/20231227110038.55453-1-lpieralisi@kernel.org Thanks, Lorenzo
diff --git a/include/acpi/actbl2.h b/include/acpi/actbl2.h index 3751ae69432f..c433a079d8e1 100644 --- a/include/acpi/actbl2.h +++ b/include/acpi/actbl2.h @@ -1046,6 +1046,7 @@ struct acpi_madt_generic_interrupt { /* ACPI_MADT_ENABLED (1) Processor is usable if set */ #define ACPI_MADT_PERFORMANCE_IRQ_MODE (1<<1) /* 01: Performance Interrupt Mode */ #define ACPI_MADT_VGIC_IRQ_MODE (1<<2) /* 02: VGIC Maintenance Interrupt mode */ +#define ACPI_MADT_GICC_CPU_CAPABLE (1<<3) /* 03: CPU is online capable */ /* 12: Generic Distributor (ACPI 5.0 + ACPI 6.0 changes) */