Received: by 2002:a05:7412:a9a3:b0:f9:327e:43ab with SMTP id o35csp92183rdh; Mon, 18 Dec 2023 05:25:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IHXOBZsBt8F/k9kaf7shmzy+eWBC6TXgK1EvVhe0Xy3GytyXgDIHBB3EuAML49cqcASZT6T X-Received: by 2002:a17:902:d353:b0:1d3:6a2e:e4c5 with SMTP id l19-20020a170902d35300b001d36a2ee4c5mr2988030plk.89.1702905919168; Mon, 18 Dec 2023 05:25:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702905919; cv=none; d=google.com; s=arc-20160816; b=XOP+qyifzuOk48WjjFVnj0AajmHeOic8v6bcbSRIYK17AV0mWAPw31WyOAbio9VCpP CbCgq0vGJoyVwNZeWYdjQAXOTYjS+FWSd1ZNWHbLwVDMwFY5vz77II8bL3dbor6F/HQE WMmNMlK2/QaO7oBuJJg8LuNs+OpFMiZrpp2t/mR1AdQ3aEADQZrkBh2ldqwZwAwSoFht FxFulfT6lApfPplt8Gbp4LojBvfuZZY01fIgDZQfeMHCANj0oTKFBVvvO2y5Fwbp6MfZ 0L5JTBdQNd4lRclN711n+79FJuJn9T0EXXlvYmc0Mo/ZsKBo48xKk283U9WRFcLiCPea f0Iw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence; bh=7pNpyU2ryow+CaLgg5WjtqJLreEscZp2rrpn9BXxGtI=; fh=3v0trkCYFA3grbW4g416ucRZ9DOzzpaArbdBNzYowBk=; b=RHSETKex54UgYDQ9nGlJhGa0O8CfefLrUPmOWO8sLnJMRf0gSikJu9K4WFHmrRoYHv rtSCQkMOSyE/Mr34PqaHAFZRQp9V6M72PDgCHH0hYLkenzxcG7eyzieFEUK1Ra5rSxE4 U9EqPJrPBHy5EoZAsq8f67QY7Zmho+CSYEKWxH95xwmC5yyQ2LiSqKC4HXdktNJD4QZm 93pR354+op/8RgOIitxYhGe8QsGX9VLU0AuhZbzfTdcnQpUW9WLuLVnOCjWl1FkNDkdV hcI5NrWIWFDER9/qqvtdQiba3hq4VmvJutLvTSL8lPDXgi1Y0hHCKBh+Igw+o7lhrpMZ iwiA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-3720-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3720-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id x24-20020a170902821800b001d3a371cd1dsi3336651pln.3.2023.12.18.05.25.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 05:25:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-3720-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-3720-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3720-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id EBDAFB238E5 for ; Mon, 18 Dec 2023 13:20:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C2F1A72045; Mon, 18 Dec 2023 13:14:48 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ot1-f53.google.com (mail-ot1-f53.google.com [209.85.210.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C779B3788C; Mon, 18 Dec 2023 13:14:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ot1-f53.google.com with SMTP id 46e09a7af769-6d9db2f1ddfso894865a34.0; Mon, 18 Dec 2023 05:14:46 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702905286; x=1703510086; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7pNpyU2ryow+CaLgg5WjtqJLreEscZp2rrpn9BXxGtI=; b=s8MyMFadbp14TbR3U8/D9mddiWk8JmAPZWzi6N+5HLwF7SzVSCx+kAMw80+RPU6XIs ByFaYwdXw+KPC4Z1MYUVCH8fAktRFc4R9daSp1axzh+9dYlxz0aswX/hmW90YXra068g tuB1Q9leLGorer/w3IS+WK2fG1EM9sKWLud+9Ar+X//bbbsN7+t3cG8VL9Tyb649xbdH 0H6gekz1t11m9CIrZ+D6/toYpM30mcyI7ZKAUM5dNeiVtJcTJdb8KiFebZC8wUPpsDLK X61dLnDwy+WgwSwnJvRM4SFasrhMGr+Azdu2DExE9FSKR/d+e0wTKiOiIZ3ywJ5Bls44 +Bmw== X-Gm-Message-State: AOJu0Yz1/grSEMW93sM9a083saG2S2fYyOC4rzYXdd1EPaaH7zdIEUwM niqiYpry7aV8ZMBac1xsNW+MdRlxxOKYJfUAfm4= X-Received: by 2002:a05:6871:2284:b0:1fb:648:5207 with SMTP id sd4-20020a056871228400b001fb06485207mr29349775oab.2.1702905285904; Mon, 18 Dec 2023 05:14:45 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20231215162322.00007391@Huawei.com> In-Reply-To: From: "Rafael J. Wysocki" Date: Mon, 18 Dec 2023 14:14:30 +0100 Message-ID: Subject: Re: [PATCH RFC v3 13/21] ACPICA: Add new MADT GICC flags fields To: Lorenzo Pieralisi 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Dec 18, 2023 at 10:23=E2=80=AFAM 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 d= ifferent name > > > For reference. > > > https://github.com/acpica/acpica/pull/914/commits/453a5f6756778652202= 1d5f6913f561f8b3cabf6 > > > > > > +CC Lorenzo who submitted that. > > > > > > +#define ACPI_MADT_GICC_CPU_CAPABLE (1<<3) /* 03: CPU is onl= ine capable */ > > > > > > ACPI_MADT_GICC_ONLINE_CAPABLE > > > > It's somewhat disappointing, but no big deal. It's easy enough to chang= e > > "irqchip/gic-v3: Add support for ACPI's disabled but 'online capable' C= PUs" > > 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 upcomin= g > 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!