Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4475500rdb; Fri, 15 Sep 2023 03:33:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGbUvflJfcXIJ4ZxKqmI6lrLALBqGAOuLa1v8qM1UrRk9JFtgaRS+gR09VFO14sJVX1/f/b X-Received: by 2002:a17:90a:520c:b0:268:3d4:24bb with SMTP id v12-20020a17090a520c00b0026803d424bbmr1063660pjh.1.1694773994556; Fri, 15 Sep 2023 03:33:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694773994; cv=none; d=google.com; s=arc-20160816; b=bunyZC0Dj1xc4AQtqRxlc+ggr4J+ary3ze99zkuzgH8PtGGLdVfePK9AXm72/CyG+r P1Wi2vH9qPG8LOKezTqfd+sHuAkB/GshTgAlSwdvYV/SkYF9oLYxnApepNwW5NlyRwUT ZcOLf9kAYxF4IYm42rE7JVKR9bOlurqtMjwsVgNB2T1DcspjEW4rDb9c6umEdcsB2Qx6 eWV2gYrL2Y/gKvT5eHsgVkl4sVjkB4MKzbdZ0BUYY0Y0mAwiresdbbD7DyAOHr3hMkh5 6Y3vAp67BWfcMra9N1A5XtLBLDv7HqK/JAHuADWrKbThubs9Jc1goHMuiJAspjdrpuah idYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=iDqL4LJoX+bK2PVzURhWmzpbDzxsUh9YwUz2Ml7GxJA=; fh=+41Kl5KfPht1toZf6OlAzJq4Yhbmd7zyUwtwGek0Ouw=; b=YNFO0XSjnsejvW4+OaU2SZP957sPY186ydTP9ttU9tffJ4fhu88uKX/Z4mSK15I6Ax NphrQsqrVp6TNYybJUUDcP/3zaN2BdvNZ47Ie11OrCDS4HS91LAIgEQhtBBf0oHaqTdU aL6L3DVBSMNOGzJwnF87EMRdM1BsmTidyzUV15tvAUbNE5yDnq6Uco7+Kkh0298448W7 gJbSg7qFVP4b1Xz1LpJIgsNLW44fh9stf/WBzxHNRawakm4SFNysW6xEISnF4VuO2WcE V3vQRJtTm/s9aHyWs+L/YfqUXcqLbjDHtE+d5nG16VrlCcKyhMyyd3TdaeKw0freELMm fAGw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id qe13-20020a17090b4f8d00b00273dfe0741csi5672983pjb.90.2023.09.15.03.33.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 03:33:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 96702821E1B8; Fri, 15 Sep 2023 03:21:29 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234222AbjIOKV0 convert rfc822-to-8bit (ORCPT + 99 others); Fri, 15 Sep 2023 06:21:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40994 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231341AbjIOKVZ (ORCPT ); Fri, 15 Sep 2023 06:21:25 -0400 Received: from mail-oi1-f181.google.com (mail-oi1-f181.google.com [209.85.167.181]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 866051AD; Fri, 15 Sep 2023 03:21:20 -0700 (PDT) Received: by mail-oi1-f181.google.com with SMTP id 5614622812f47-3ab8e324725so381257b6e.0; Fri, 15 Sep 2023 03:21:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694773280; x=1695378080; 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=T2EQISS+TI6FymgehjVGYiebl+s7fB1qqSBohFwF18Y=; b=AAlgGTqfBYfcjl5eD5VIO+Au9x0rHdCLLUO3mDkwc8yiCu9KbflRmoz4rlZHveb3dK XZJWjq7/smr5YT79YuxyyPxRZzcqt3HU3iqtzugPHia7KfYKG4JZJx6MPS/wcqHvICoa o56L8IN99wdBhpGum3a3hhyiRiAYK7eYuPNfrVzPzq1gur72zn8NPXQ8n5RMc8EfdFsW a1zD2it1VqrL6vulZ1GlUBicYK1Fcbx4oTt4sPG7qrJp6eOK/OVufkXZ+d9P6KeCejyO wnIXSNPKYvxteEFC3mcG5MBszppWw/2C1FzUvq9Bd0elmdxdMpJ6HDPHidfLnmIuRVjL ElhA== X-Gm-Message-State: AOJu0Yx7D66xbMpTSKcGMTOAsKlBDD26WuQcufnoXf9yd7pPjuKYXnif qhDfRci6tZ/2CZ5bAynETYQOxwfDdDIPcVJjZ+g= X-Received: by 2002:a4a:de83:0:b0:56e:94ed:c098 with SMTP id v3-20020a4ade83000000b0056e94edc098mr1206706oou.0.1694773279760; Fri, 15 Sep 2023 03:21:19 -0700 (PDT) MIME-Version: 1.0 References: <20230913163823.7880-1-james.morse@arm.com> <20230913163823.7880-28-james.morse@arm.com> <20230914155459.00002dba@Huawei.com> <80e36ff513504a0382a1cbce83e42295@huawei.com> In-Reply-To: <80e36ff513504a0382a1cbce83e42295@huawei.com> From: "Rafael J. Wysocki" Date: Fri, 15 Sep 2023 12:21:08 +0200 Message-ID: Subject: Re: [RFC PATCH v2 27/35] ACPICA: Add new MADT GICC flags fields [code first?] To: Salil Mehta Cc: "Rafael J. Wysocki" , "Russell King (Oracle)" , Ard Biesheuvel , Jonathan Cameron , James Morse , "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" , Jean-Philippe Brucker , "jianyong.wu@arm.com" , "justin.he@arm.com" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Fri, 15 Sep 2023 03:21:29 -0700 (PDT) On Fri, Sep 15, 2023 at 11:34 AM Salil Mehta wrote: > > > > From: Rafael J. Wysocki > > Sent: Friday, September 15, 2023 9:45 AM > > To: Russell King (Oracle) > > Cc: Salil Mehta ; Ard Biesheuvel ; > > Jonathan Cameron ; James Morse > > ; 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; Jean- > > Philippe Brucker ; jianyong.wu@arm.com; > > justin.he@arm.com > > Subject: Re: [RFC PATCH v2 27/35] ACPICA: Add new MADT GICC flags fields > > [code first?] > > > > On Fri, Sep 15, 2023 at 9:09 AM Russell King (Oracle) > > wrote: > > > > > > On Fri, Sep 15, 2023 at 02:29:13AM +0000, Salil Mehta wrote: > > > > On x86, during init, if the MADT entry for LAPIC is found to be > > > > online-capable and is enabled as well then possible and present > > > > > > Note that the ACPI spec says enabled + online-capable isn't defined. > > > > > > "The information conveyed by this bit depends on the value of the > > > Enabled bit. If the Enabled bit is set, this bit is reserved and > > > must be zero." > > > > > > So, if x86 is doing something with the enabled && online-capable > > > state (other than ignoring the online-capable) then technically it > > > is doing something that the spec doesn't define > > > > And so it is wrong. > > > Or maybe, specification has not been updated yet. code-first? Well, if you are aware of any change requests related to this and posted as code-first, please let me know.