Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp29373pxb; Tue, 12 Jan 2021 19:02:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJwaINvRcAbyRdP6sKaplSTxjT+VavXGJ4O3bloJsGOhpkHkrD2hiSVK95ZQ3k81Svp2Eqxb X-Received: by 2002:aa7:cd63:: with SMTP id ca3mr87712edb.164.1610506944724; Tue, 12 Jan 2021 19:02:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610506944; cv=none; d=google.com; s=arc-20160816; b=mW+xlAlnqE/JSW+xi6wUni8JgCmIZb8VNElH+4kLthZeApx/gTH8fxBCAvejpQvhJY rC0jk3wSbSYAw0/ecC6FH3fcTHmenxcP3xoUFUUxQXzvt3fG2t0RXNtUY858mkuyDiB5 Xmqu6P/fBIfYEB0WNJYXJfDQCpsuJyckcESSwGUVrd4+5zJGt0tW+O7m45uq28uMn0BB QNENgNFHmrdkU96t/qXUlpEcBQ91iIWGl0omW1Z7mx0DAuHKTrTsgvCRLiS7thSV2Rg9 eb1jctY08+k3Eo50TTVOt0kcxIm0rrYl2PQe/gxUfpHWFR7WzZ07/KSZT2p3aArT33hT swKg== 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 :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=qF3jAPeuTLUizwHX7x8h8e83Z+lstJE3cHVmZmUpdaY=; b=1IlXcQ469RQs07SX6fpNzCu9rXU1jCjYgLjnvI5/EqrjM2TDK8/AFjBGgBZoLb21L+ 88Lm6m9y4wLtQ04sYPoxSJl2wjviN90WFpNbZa7zvTCNY5oy6uzSjMPlddBNfDYGvsW1 vKVQncUFRMs1spaYKRoki19Cri6P4d7X7uYJRLHo7cMgXIOmOouKYDns/96AqXofMfxJ Gq5LY+b8SUeBOLB+e55F7T7kO838Ls6UUKPBeui7sFaVUEttbGdisZUV/rc04LiYLiaq t/PtZKaGaq6XbKVMcBYBYCz6RZX7ljRCfZnWAugLMtQ5paXhbp8AgaOykehdaKxwgOVP K9dA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t23si312778edc.387.2021.01.12.19.02.00; Tue, 12 Jan 2021 19:02:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2394315AbhALWHw (ORCPT + 99 others); Tue, 12 Jan 2021 17:07:52 -0500 Received: from frasgout.his.huawei.com ([185.176.79.56]:2331 "EHLO frasgout.his.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390994AbhALWHu (ORCPT ); Tue, 12 Jan 2021 17:07:50 -0500 Received: from fraeml712-chm.china.huawei.com (unknown [172.18.147.206]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4DFl3G271fz67Y2y; Wed, 13 Jan 2021 06:04:10 +0800 (CST) Received: from lhreml710-chm.china.huawei.com (10.201.108.61) by fraeml712-chm.china.huawei.com (10.206.15.61) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Tue, 12 Jan 2021 23:07:07 +0100 Received: from localhost (10.47.64.210) by lhreml710-chm.china.huawei.com (10.201.108.61) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Tue, 12 Jan 2021 22:07:06 +0000 Date: Tue, 12 Jan 2021 22:06:28 +0000 From: Jonathan Cameron To: Dan Williams CC: Ben Widawsky , , "Vishal Verma" , Linux Kernel Mailing List , Linux PCI , "linux-acpi@vger.kernel.org, Ira Weiny" , "Kelley, Sean V" , Rafael Wysocki , Bjorn Helgaas , Jon Masters , "Chris Browy" , Randy Dunlap , Christoph Hellwig , , "Moore, Robert" , "Kaneda, Erik" Subject: Re: [RFC PATCH v3 02/16] cxl/acpi: Add an acpi_cxl module for the CXL interconnect Message-ID: <20210112220628.000037fb@Huawei.com> In-Reply-To: References: <20210111225121.820014-1-ben.widawsky@intel.com> <20210111225121.820014-3-ben.widawsky@intel.com> <20210112184355.00007632@Huawei.com> Organization: Huawei Technologies Research and Development (UK) Ltd. X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; i686-w64-mingw32) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.47.64.210] X-ClientProxiedBy: lhreml711-chm.china.huawei.com (10.201.108.62) To lhreml710-chm.china.huawei.com (10.201.108.61) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 12 Jan 2021 11:43:31 -0800 Dan Williams wrote: > On Tue, Jan 12, 2021 at 10:44 AM Jonathan Cameron > wrote: > > > > On Mon, 11 Jan 2021 14:51:06 -0800 > > Ben Widawsky wrote: > > > > > From: Vishal Verma > > > > > > Add an acpi_cxl module to coordinate the ACPI portions of the CXL > > > (Compute eXpress Link) interconnect. This driver binds to ACPI0017 > > > objects in the ACPI tree, and coordinates access to the resources > > > provided by the ACPI CEDT (CXL Early Discovery Table). > > > > > > It also coordinates operations of the root port _OSC object to notify > > > platform firmware that the OS has native support for the CXL > > > capabilities of endpoints. > > > > > > Note: the actbl1.h changes are speculative. The expectation is that they > > > will arrive through the ACPICA tree in due time. > > > > I would pull the ACPICA changes out into a precursor patch. > > > > > > > > > > Cc: Ben Widawsky > > > Cc: Dan Williams > > > Signed-off-by: Vishal Verma > > > Signed-off-by: Ben Widawsky > > > > Hi, > > > > I think it would be good to also add CEDT to the list in drivers/acpi/tables.c > > so that we can dump it from /sys/firmware/acpi/tables/ and potentially > > override it from an initrd. > > ACPICA changes will eventually come through the ACPI tree not this patch set. That particular file isn't from ACPICA though I value in the entry will be. > > > > > > https://elixir.bootlin.com/linux/v5.11-rc3/source/drivers/acpi/tables.c#L482 > > Can be very helpful whilst debugging. Related to that, anyone know if anyone > > has acpica patches so we can have iasl -d work on the table? Would probably > > be useful but I'd rather not duplicate work if it's already done. > > > > The supplemental tables described here: > > https://www.uefi.org/acpi > > ...do eventually make there way into ACPICA. Added Bob and Erik in > case they can comment on when CEDT and CDAT support will be picked up. ...