Received: by 2002:a05:7412:8d06:b0:f9:332d:97f1 with SMTP id bj6csp47886rdb; Mon, 18 Dec 2023 08:33:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IGDQi4w+sNfg3eplbaW54nUAO/mJ8z7bEt98ga+1yhocvU72pRFubD9GRP0DB5Y22xov0Ut X-Received: by 2002:a17:906:d115:b0:a23:6de7:7657 with SMTP id b21-20020a170906d11500b00a236de77657mr200039ejz.119.1702917238367; Mon, 18 Dec 2023 08:33:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702917238; cv=none; d=google.com; s=arc-20160816; b=m8pXvdwtR0z6B+pQ4iBPSrQRpn+1wqEJYl8NvPdsyFQWQ06FT1qo809kRnrexuqBJp t8KD3J34ObbB1E42Gk3DIrvYzJPqWhqDDChRLoMl7R93ajcV4X9aeGhXTVc1YXue2/XZ fWqoLRgdjB8QXnhbSqiHXVdiGroh1gaQhAn5sKpm59n5Ua1TZxhw/q45gQmU5zwkz5Ec 9mZavgiCR/YPF8tasRnnY7uiC5nkdcawKMqlmYvnmCDMRuz44m0yO8H3OLUBCvrYz2Q5 uf7IJceip9mpXcJzn45YQWyrkw5yGhSzg7+3bEAXZ/HbjtTUaoa+1bU1GEjQLA+ILib6 KvyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=DigU+YkPyLP39TtlQYtiqYQq35SNNk7SJzTsY8b3OWk=; fh=zdp2uHX3lXX0iDlghsz5ah1XnOpnMydDvG3uPO2Gl7s=; b=ruF0JAUWv2qZjS7C9qiNxVY5ZpD69ReZoX4/XNJ/vZMiA/BYhkGsx0jpO0Q46gOusj XhSIDC/17gzvwIUfCcSjWnqn9T+Zl+gBk4HFtjsw0o37qwFpSbDhGwcl0ZiEox+QbyX7 kqGqH5M5H7ucCT9/gTP9Nom3vp/eOasV6gNuZf404lOfDZKMB4Ss8nb+QNclFCKN9il1 4Jv6GKe4M+/154Tj4b9411rH84L72HLO/u55849UL61IYQyJ9RLWDvAq3mZbrYNWZ15P UgxiKp67ljFdEHY0M72flU36pvSghejbXzMwFGZOgGfFq1f4xFjQPRAzz14DQtqoUWvi JBAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pgPaNxRa; spf=pass (google.com: domain of linux-kernel+bounces-4065-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4065-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id kl25-20020a170907995900b00a1db9d3146csi10220123ejc.319.2023.12.18.08.33.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 08:33:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-4065-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pgPaNxRa; spf=pass (google.com: domain of linux-kernel+bounces-4065-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4065-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 69A1A1F2237E for ; Mon, 18 Dec 2023 16:29:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 34756498BD; Mon, 18 Dec 2023 16:29:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="pgPaNxRa" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3B9253D57F; Mon, 18 Dec 2023 16:29:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6E77EC433C7; Mon, 18 Dec 2023 16:28:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702916941; bh=cuIJ/8s2AYcAKCRZwOwQRNGRaRi9/bICEVQ2fASqZdk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=pgPaNxRa19QteSUajSmhwIBygIXOwyglTsgblC6uEftO+XTQg6+O3kXAj9XX2OmcC rQOpqnvB5+xOO/ow7seOv1CdwV13FbembY2BokFhPnwSM4b0DvGeATzzmDK+AEOLHw 6DaCbWimil/lLwi/MxyvK5Y12TLnf9HBPcW++ZT9x3tzMvn7KL4GnLx7Lcu5QvqSQp eltb1y4JDmA5690dgcONdt9hmYC6CU/Xhok/FJZ/y98obP8l0G4B7kd38/bxCcL5CD m0hJV4fUjPoN82jbVmU9YShGfagm/C07b9jmlsrqKjpLRJaGDiIiVu6scxMm9bEVQ6 YQAI2eQ+xkSew== Date: Mon, 18 Dec 2023 17:28:53 +0100 From: Lorenzo Pieralisi To: "Rafael J. Wysocki" Cc: "Russell King (Oracle)" , Jonathan Cameron , 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, Salil Mehta , Jean-Philippe Brucker , jianyong.wu@arm.com, justin.he@arm.com, James Morse Subject: Re: [PATCH RFC v3 13/21] ACPICA: Add new MADT GICC flags fields Message-ID: References: <20231215162322.00007391@Huawei.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: 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 > 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) wrote: > > > > > > > > > From: James Morse > > > > > > > > > > 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 > > > > > Tested-by: Miguel Luis > > > > > Tested-by: Vishnu Pajjuri > > > > > Tested-by: Jianyong Wu > > > > > Signed-off-by: Russell King (Oracle) > > > > > > > > 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