Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp644583pxu; Fri, 4 Dec 2020 11:48:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJxtIOyRIzjRiYeQ3KWayeiKEU5LOKJg+ghZdai+Z+gtaGuZ7n+rMeFFVL0Wf+OMcSYd2gGG X-Received: by 2002:a05:6402:1acc:: with SMTP id ba12mr8906859edb.9.1607111289548; Fri, 04 Dec 2020 11:48:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607111289; cv=none; d=google.com; s=arc-20160816; b=BIZeI249CTFMj+fIU7n3+8TZwuWT/Z0eQxpWszo937CQwkaWhj+SJnO2d6kzLwgpFV 8EFkIbRC53FRPFlCYHV+aZ2XYWAfArKmcvPrifL5FI/AvRBEYxGq8WbBhgzoUfyQe3zB JVGYjo0q71MLgUk/3tWGlVOB2iEgHkMNEi5MnH8L3zlcWTW0vC218jB+Hrv8laiP/00/ JngSn8rB2JaMUviuDpIKJna7camV+I/ZRH8VkOXp4KQDB8Bos5axucES3B1LkRKorw3n rw1JUVi2Nx2eHqGkFaY6L7WrOPdSmDKMjdqcEjlfU43+MIahdO7yv6wzsD6Xu28pPtF/ 8OBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=AD0IzZHnsxcGiXN64Y6L0qkMgIS2YHimQXlXQZyApjo=; b=zGqVyltetiskMPt/ePUa35qYZ1agbwqB7Q+HxyWO6ge0rCYTiFYcZo861zL7mPSO9n gFGF4F00GOIPTJGHrRqunH0scbR6Mh1p+PMZDcuO0AEsOZdrh86a/qIpcK6wOraS7AQl 7+9LTAEZhTC0+MFbUPeY342FvlgfTE2YKmGAaciTXTDO4xxvmrXRhnQRsWUL9w71F9mX mh+hmeopG6Bxq6MKcoZztAjDHhd8ms5MF8FdSNYq+tHaUPDyaKwCwVVDlX5hnKwsEHVI tN5N6FUICBI5xR9+xUkg4BRm8e03XqLLIdLFD0ursEEhZPX4GORmc9gwcoSeE1SlqyF9 JYng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=kUoDpbKx; 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 g2si3557126edn.233.2020.12.04.11.47.45; Fri, 04 Dec 2020 11:48:09 -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; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=kUoDpbKx; 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 S1727693AbgLDTqU (ORCPT + 99 others); Fri, 4 Dec 2020 14:46:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58448 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726179AbgLDTqU (ORCPT ); Fri, 4 Dec 2020 14:46:20 -0500 Received: from mail-ej1-x643.google.com (mail-ej1-x643.google.com [IPv6:2a00:1450:4864:20::643]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D5975C061A51 for ; Fri, 4 Dec 2020 11:45:39 -0800 (PST) Received: by mail-ej1-x643.google.com with SMTP id qw4so10324001ejb.12 for ; Fri, 04 Dec 2020 11:45:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=AD0IzZHnsxcGiXN64Y6L0qkMgIS2YHimQXlXQZyApjo=; b=kUoDpbKxpm+YdrWJl/SlPW2GaESXSnrKM26FHNq4RpsQ8nG8oihOgGCISNJRsxiUg8 mrlE2iZ8/l529sBJaKbxQpA1gGqW4/a0EVuT1e7p2hAk+nv5UANLtoEdTOuhLIDZcbYQ eemdj0fUMdpwrI/vWzWSZj2YS8Qh/oBZxTPusdsl7dVjLn+12WdBD2EHu6krOzGETuNO qz1+aGgf+1gJ4K/HYS6n4tB6ADE7hJDG0KiFd71kkJ4ECTwvjXXfybLFsFowsrZETEIv rq0anna6yKGWCcTVFitNNjnqIgPYkopLAcq6WKtcGG9d0FY7R51oS2eceCJo8CDl85J3 tPbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=AD0IzZHnsxcGiXN64Y6L0qkMgIS2YHimQXlXQZyApjo=; b=uNZcMuyX3YfSPWGhSfMsPa1CiY5z6e9wfYqTkyBGk0XdNBtbHa+0IWBlk6LlF6JCNs 1R3hVeWerooRi7tuCAsP+fNN4R6x9Eto/BewPPGgXC+Sc3r72n5Y3NDq0ScPnM9OQdMe lIBF129rzjM77RIAMbvGfTeFdu7oYz3tnUj5ZPHB7X/Qn/ZcC9vLk61IrKVBnNuRwMD0 MAlmCM/4bmidMSYSXzcLmSoZ2/nkzI9wC+oA+9JGiPsZCJjmGB6l8Irfw6YQEO2PHFe6 Bhqdwei1bcU82C6v/v/IiGP9uucuDhQhrFB3ACUbDKu/TuRw4m6VqT5CpLuBu5I7tNa0 jlvA== X-Gm-Message-State: AOAM533JsVPr3+yeFSN4AvPERpQcCmN9RxtFKKPRKllqiGHi9TqWonWQ 3e0grzamwvJymBIxc4Lir/rB68bb0l2G6pRLRVVesghxDgQ= X-Received: by 2002:a17:906:2707:: with SMTP id z7mr3056063ejc.418.1607111138435; Fri, 04 Dec 2020 11:45:38 -0800 (PST) MIME-Version: 1.0 References: <20201204181217.n3cm7gqujaqlcp2h@intel.com> <1878cd93df75dc8c1b35eab7b7aaaed243f9129e.camel@intel.com> In-Reply-To: <1878cd93df75dc8c1b35eab7b7aaaed243f9129e.camel@intel.com> From: Dan Williams Date: Fri, 4 Dec 2020 11:45:34 -0800 Message-ID: Subject: Re: [RFC PATCH 0/9] CXL 2.0 Support To: "Verma, Vishal L" Cc: "Widawsky, Ben" , "cbrowy@avery-design.com" , "Kelley, Sean V" , "Weiny, Ira" , "linux-cxl@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "Wysocki, Rafael J" , "linux-pci@vger.kernel.org" , "bhelgaas@google.com" , "linux-acpi@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Dec 4, 2020 at 11:26 AM Verma, Vishal L wrote: > > On Fri, 2020-12-04 at 10:12 -0800, Ben Widawsky wrote: > > Hi Chris. > > > > On 20-12-04 12:40:03, Chris Browy wrote: > [..] > > > > > acpidump indicates the CXL0 and CXLM devices but no SRAT or HMAT tables are > > > in the dump which is curious. > > > > I don't typically use HMAT, but I do have an SRAT in mine, so that's strange. > > You should also have a CEDT. > > > I suspect an SRAT is only added if you have distinct numa nodes. Adding > a few '-numa node' bits to the qemu command line should be enough to > make that happen. For CXL-2.0-Type-3, BIOS is responsible for retrieving CDATs and synthesizing SRAT/SLIT/HMAT tables for the CXL.mem that is mapped by platform firmware. For CXL.mem that is mapped by the OS, there is no requirement to publish updated ACPI tables. CXL.mem mapped by the OS need only support native CXL memory enumeration and leave ACPI only for static platform resources.