Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3362163rdb; Wed, 13 Sep 2023 09:41:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG3oyh4y3POTTds8FciuhkcDh95r4D4Gch7pgOKRRY2xpcacclbv0F3A7qOa0LoPBAq/H7Z X-Received: by 2002:a05:6358:5e1a:b0:132:d42f:8e19 with SMTP id q26-20020a0563585e1a00b00132d42f8e19mr2383235rwn.31.1694623300681; Wed, 13 Sep 2023 09:41:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694623300; cv=none; d=google.com; s=arc-20160816; b=fDZ2gC6+M//QhPriDI537UOycGU314f53a7g9qbH38CW7+8F5cT8IgzRxgP4I3380o a8an+YU1ZkDYx+T2GRxK4KsXbW0LWpinbCX9qMQ5SA115hr0j2pZnyGfZ2jreDG8r0hS G00W5nG6KhnrwBcosBgNADrSLg6LRQMVXpqyRC9JL2M17abqrGAwkD++t5PVZpbxKvC8 OCGzh0umRggAg+Fa8x7DDRH+i2YqGQQ1hBeq8Q/e6nkYQsfSymrtlr2pSkUeriCvTZoY ldz6UMf7HAZukKIpAv3avHDnKsutxwmGQ/jTrL6M0gx7ME8CoHPTBqW54JAMpLHtgfkd hLOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=0IaUdsZYMwZODNM6RHkcy8yl9XjtDnRmanHVV7mMIjc=; fh=2nhVWB0fZ+8YH0lLFpnF/Mo8eq+n1VMLe+b+IpvS0g0=; b=ut3EHS3XCSJ1sOSF8/AWxYehX4ASoYIBXmlFO8ZB16eKOTP4hiodSk8U2X7pJZbRm0 EmHnssVdEcbDRh5PMmIv/RpY8PLpjJn8xW5xVfCkpHXRPZloFceMsPHfcXIKJ+Mi46/i T6JBEplQ9NRyw2Hq1/QLLkLH/F7BCx5i4GXl+9u6rqiyhR6tiE1Sp+GfytJfs2XrP/PP NlQAFeqDpNEErqC2eZoA6eRodU4ArCImC6nj2TLBt76VFrBcnAJpa6TWRqDlRcgQ/UvA m+iGYiSSMsXhdvm9I0nQjVIRxgXxj0n+X985KO2kIOQlCcPr7vu6wXyUpI8uCKCtQO3r oSOg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id b26-20020a6567da000000b00573fef93a87si5417155pgs.834.2023.09.13.09.41.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 09:41:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 0EFFB81ED040; Wed, 13 Sep 2023 09:41:35 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231225AbjIMQlb (ORCPT + 99 others); Wed, 13 Sep 2023 12:41:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41774 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231244AbjIMQkk (ORCPT ); Wed, 13 Sep 2023 12:40:40 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 53CC12722; Wed, 13 Sep 2023 09:39:47 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 5359111FB; Wed, 13 Sep 2023 09:40:24 -0700 (PDT) Received: from merodach.members.linode.com (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 585FC3F5A1; Wed, 13 Sep 2023 09:39:45 -0700 (PDT) From: James Morse 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 Cc: x86@kernel.org, Salil Mehta , Russell King , Jean-Philippe Brucker , jianyong.wu@arm.com, justin.he@arm.com Subject: [RFC PATCH v2 27/35] ACPICA: Add new MADT GICC flags fields [code first?] Date: Wed, 13 Sep 2023 16:38:15 +0000 Message-Id: <20230913163823.7880-28-james.morse@arm.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20230913163823.7880-1-james.morse@arm.com> References: <20230913163823.7880-1-james.morse@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Wed, 13 Sep 2023 09:41:35 -0700 (PDT) X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Add the new flag field to the MADT's GICC structure. 'Online Capable' indicates a disabled CPU can be enabled later. Signed-off-by: James Morse --- This patch probably needs to go via the upstream acpica project, but is included here so the feature can be testd. --- 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 */ /* 12: Generic Distributor (ACPI 5.0 + ACPI 6.0 changes) */ -- 2.39.2