Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp691699pxj; Thu, 17 Jun 2021 11:30:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwp4aSR6ns9W0rC/GDyEZUoFDMOjLb+fqDrIcSQRVdgwyCipyqJEyJse5EmaSbJjGDW5ZjM X-Received: by 2002:a17:906:2c4a:: with SMTP id f10mr6601324ejh.493.1623954655696; Thu, 17 Jun 2021 11:30:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623954655; cv=none; d=google.com; s=arc-20160816; b=UkbkBJHft2dIvqlVKoDDcCa0/ddzVXHi04IyUrnK163JLlDzfrostI6QgdD8SH2Xz4 nNVHQoCTyOlVxHvV//3cPIwg/96MaP3fFwtTmBgjNL4810bIDGjA2ga3/m5CCjKr3q9n 0K2v+IPsfdzZJ4QTlRC1FolbU6nVbGcbY6LmN9lidA7blh/AIj826/KuS9F7qzgYVs2u Ev5y3K1AM9NzXJ3wZQRFDr73gUg+NddJx3Tmbztxzlu/sK7HfgtqDofEeOlVNXFcol6+ kTaPA7xCXBNamxtEwve3OBivRKwHpOB2dVqUTsRBuxeackQsCPs2w3YOBOQ/KLbf/lFp +R6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:ironport-sdr :ironport-sdr; bh=77ltXP11ox83cPQ+KjH5Df8I31efnNbuXzE+nm2lByQ=; b=Hu7HsFokD5gK8RjDRwomvhhfnq+XiLfv0+MIBPm7DGQIPH8geKB3EY7vL944cKw3FM LB8HRXNtSIQcIV9IXU8rAv2EuQetKbMVs/dlcUXIdgF6A7TkVJXmh0hcowK9XHIScxGg u3flViXx+CCWxs5OPH4xCYN0o1LdV/MuWPrmKSdG8CRGuhYDVIPIO45KaftFEWGHJV5Q r/8hrFNXmw83X2t9kQ/dXOpIqVQ6FC50T+2Ae57jdz7KFclCOV1B2Kyjql+YTEU2rshM OL9uNmNrzYMqftv9Qj013Pg2W1EJImzdTxw4ZqAs5sgU5LblVeRKLx/GRloyovP/9NXn GZIw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b10si6648858ejj.523.2021.06.17.11.30.31; Thu, 17 Jun 2021 11:30:55 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233390AbhFQPoP (ORCPT + 99 others); Thu, 17 Jun 2021 11:44:15 -0400 Received: from mga11.intel.com ([192.55.52.93]:61391 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232540AbhFQPoO (ORCPT ); Thu, 17 Jun 2021 11:44:14 -0400 IronPort-SDR: Z8QBuhE89bAgtQR6igJgWGQFnv+7RZvVjHKnPKVRpuCvbjfYm8/HlIxn+keDWD87PPZf/V66Ps 0DG5mIOuGeVg== X-IronPort-AV: E=McAfee;i="6200,9189,10018"; a="203369145" X-IronPort-AV: E=Sophos;i="5.83,280,1616482800"; d="scan'208";a="203369145" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Jun 2021 08:41:37 -0700 IronPort-SDR: mytfaOilOdXvYMEbtHvbfBDM13SCmLv/Wm7VsvDxgcKC++yQ4jC5pJb8LDnGmrew5xiPiW01Ps Py9rX4QwFM+Q== X-IronPort-AV: E=Sophos;i="5.83,280,1616482800"; d="scan'208";a="451057047" Received: from mkalyani-mobl.amr.corp.intel.com (HELO intel.com) ([10.252.138.30]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Jun 2021 08:41:36 -0700 Date: Thu, 17 Jun 2021 08:41:33 -0700 From: Ben Widawsky To: Alison Schofield Cc: Dan Williams , Ira Weiny , Vishal Verma , Jonathan Cameron , linux-cxl@vger.kernel.org, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org Subject: Re: [PATCH v3 0/2] CXL ACPI tables for object creation Message-ID: <20210617154133.zb54zf46foxcss3c@intel.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 21-06-16 18:11:06, Alison Schofield wrote: > 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 > > -- > 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 It might be nice to add a header kdoc for acpi.c now that it's become sufficiently complex. Can be follow-on patch. Both are: Reviewed-by: Ben Widawsky