From patchwork Thu Jun 17 01:11:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alison Schofield X-Patchwork-Id: 12326339 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 965CCC48BE8 for ; Thu, 17 Jun 2021 01:15:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 58E576101B for ; Thu, 17 Jun 2021 01:15:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231871AbhFQBRg (ORCPT ); Wed, 16 Jun 2021 21:17:36 -0400 Received: from mga07.intel.com ([134.134.136.100]:17038 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230087AbhFQBRg (ORCPT ); Wed, 16 Jun 2021 21:17:36 -0400 IronPort-SDR: mJcOMfNc4yPuwiGRkpFMo1R3s9H1joekP1LwIGiCO1JcwM/1phkWVbSTqfOadh9feVEqqaSVn4 43AG+zh7eJ3A== X-IronPort-AV: E=McAfee;i="6200,9189,10017"; a="270133091" X-IronPort-AV: E=Sophos;i="5.83,278,1616482800"; d="scan'208";a="270133091" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Jun 2021 18:15:28 -0700 IronPort-SDR: kbrcli0LowqoWjtkAQYjUv1qFnMojcYJQbL3JG/9EAeU8PKI+l+U/xGjzrmy3ztqYrEWF3Lz3v MAKo0uA9foeA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.83,278,1616482800"; d="scan'208";a="485094075" Received: from alison-desk.jf.intel.com (HELO alison-desk) ([10.54.74.53]) by orsmga001.jf.intel.com with ESMTP; 16 Jun 2021 18:15:28 -0700 From: Alison Schofield To: Ben Widawsky , Dan Williams , Ira Weiny , Alison Schofield , Vishal Verma , Jonathan Cameron Cc: linux-cxl@vger.kernel.org, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org Subject: [PATCH v3 0/2] CXL ACPI tables for object creation Date: Wed, 16 Jun 2021 18:11:06 -0700 Message-Id: X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-cxl@vger.kernel.org Jonathan - I updated Patch 2 so I didn't keep your Reviewed-by tag. Changes since v2 [1]: - Warn and continue, rather than error out, on these acpi table parsing issues: table length mismatch for either CHBS or CFMWS; duplicate uid's for CHBS. (Ben, Jonathan) - Update flow in cxl_acpi_match_chbs() (Ben, Jonathan) - Improve naming cedt_table->acpi_cedt, cedt_base->cedt_subtable (Ben) - Emit debug message only if CFMWS is greater than its expected length (Ben) - Update the dev_err messages wrt the CFMWS expected length failure. - Remove blank line before error handling block (Jonathan) - Rebase to the CXL pending branch [2] [1]: https://lore.kernel.org/linux-cxl/cover.1623800340.git.alison.schofield@intel.com/ [2]: https://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl.git/log/?h=pending Reviewed-by: Ben Widawsky --- Parse the ACPI CXL Early Discovery Table (CEDT) and use the CHBS & CFMWS when creating port and decoder objects. CHBS: CXL Host Bridge Structure - Patch 1 CFMWS: CXL Fixed Memory Window Structure - Patch 2 Alison Schofield (2): cxl/acpi: Add the Host Bridge base address to CXL port objects cxl/acpi: Use the ACPI CFMWS to create static decoder objects drivers/cxl/acpi.c | 217 +++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 212 insertions(+), 5 deletions(-) base-commit: 21083f51521fb0f60dbac591f175c3ed48435af4