Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3456037pxb; Mon, 16 Nov 2020 15:30:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJxU4+hFd4RWM8LhX8G6LiyoUxUBEIAC/GLbOQ9f5OjBLo12hxkS10pkId+yQpjozDkpram7 X-Received: by 2002:a05:6402:1119:: with SMTP id u25mr19204190edv.37.1605569425523; Mon, 16 Nov 2020 15:30:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605569425; cv=none; d=google.com; s=arc-20160816; b=HjpJIsHUxr4o0ZdkeKjArv9vyp9xwbV7ZSfPWwcSCLybRvFQY5MNieHrqlJBDSAwEz YQnSgbahOaXilE51r8AGKcbu1FhBBHDAn2ugCTAUb0jZzfuffng3eAaDSlW5X7yGdQdn kc3RNVdNadTwWYzKiwBFI4jeLQ+ZcX8wwwnPmGmbgpQDRXAEeI16kuVbXDetFMsTjKPX Xg2LfwL1983JGujeQPWkwonnuP0iP8dq87Kk1HF8O9bAn28/JGHiBJUu1apWKBga2KKz CFaWBUpAZUagaJCnnFr4KwknH0vIPSMqrd73c7G1qSS2XCmP6jHGcfMI4wx2lucnAuWd 9ADg== 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=jkBb3/Etnqo2OPSp3c8xTHP+F2u/HoD3pAA4mSKCZXA=; b=KtXhZ7qIwW4r3d5D5aD1QqNbQNeDkm6kcRX+1kljpwU1TdSvSoU0CUJF/JTPjIHNy2 yycUyZs70QuNXbUK184MKFF844JAi59HnUSbB/DXvly0URXIrlUJSfEI5xQ1OrYH9Rp5 Nbd0Dk7HI4d8DRFPTeFuJ7NNbJi/pxAhgLYC8kB94zftvj0Yq6xU1uuCnOfVJHePWc4a k2l/e+YNQdFtVz55Nv5ShQYcyG6PaaTtSF5//jhM5P1D2BeVN7dH4jn5aTqZpYDw0p+L fmYpsWaviQ/XVjcHouvGOdZ9VFmouPahAYJ+NyhdkWhxxXiKbjW1J5VJbDOiG0/XkACu gk6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=MkXccjt3; 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 e3si12488106edq.164.2020.11.16.15.30.02; Mon, 16 Nov 2020 15:30:25 -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=MkXccjt3; 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 S1729476AbgKPX0M (ORCPT + 99 others); Mon, 16 Nov 2020 18:26:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43978 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729188AbgKPX0M (ORCPT ); Mon, 16 Nov 2020 18:26:12 -0500 Received: from mail-ej1-x644.google.com (mail-ej1-x644.google.com [IPv6:2a00:1450:4864:20::644]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 141B9C0613D2 for ; Mon, 16 Nov 2020 15:26:12 -0800 (PST) Received: by mail-ej1-x644.google.com with SMTP id y17so21178592ejh.11 for ; Mon, 16 Nov 2020 15:26:11 -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=jkBb3/Etnqo2OPSp3c8xTHP+F2u/HoD3pAA4mSKCZXA=; b=MkXccjt32+M3csr8oZkTon3QUTxPNcS2zCgrT3U3RH59CwEKRpXbdLiVfjt8CMYX6B Hg8D2gpEM/79AqjT0FagHooZJqUZL66EPjBukC0tykTqJcX4AkiNfJ8fmjO3E0kXNxUZ bewy5GVpHdHwPt+kEyESDAXIJN+EOVFJ20TtdpNWu62B01jvD2v64ONbyYiUs55Ui5q7 hGqT4RvbtAXSYTaTb1i6Iz6VPXjD21KLAuYxd8exUmB5qG1RpSfHG6HsVApeIseRx1tA wVxtAKS/Qd7TMl5TGLiI9ksYUaUgIb0wKMrgy3cMo9hMQNPlmN6MDzCMqx0bht0s0bwS z+FA== 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=jkBb3/Etnqo2OPSp3c8xTHP+F2u/HoD3pAA4mSKCZXA=; b=oYx3qpBypWLL6bb2EEANCgFABO+HFLEzSbKn65yRvMY1XVFNXFnoGRYmxg7plqH6p/ Tju12CiRsa0JS0XZ6rSyaxyzkVsp3nOkwmli4ndYCWnBJUlwo7gpOXfmkSrHg4mNLCpe d3w1HqXTobMbt8khZoOD6jrPZZ7raNlZbgdexs/2BDcTxcR1QYOpcfz8KQdrky/r2Urw SwIyPNmWxTRfE4FcRDWAIJBpE+aHHUAPbhj28cqZ4uOTjNCrxkVE85woTy4D7l+9dCHo ycz6E/5bBSAFCBNNt0K9fO9mRUsCUBObIHUuk1y9XNrMs5AnnyQ3BiPNvHS9VEdO956b yRrQ== X-Gm-Message-State: AOAM530LBlqbBvf4LHEUgvrmrrp7EDSasAPOCWP/fw3Zuvlah1cpxlSM A05RNzi53NztwBEtf1BS0pkVC6xroEJiqV7Bx+YeBw== X-Received: by 2002:a17:906:d92c:: with SMTP id rn12mr16886961ejb.472.1605569170798; Mon, 16 Nov 2020 15:26:10 -0800 (PST) MIME-Version: 1.0 References: <20201111054356.793390-1-ben.widawsky@intel.com> <20201111054356.793390-3-ben.widawsky@intel.com> <20201116175909.00007e53@Huawei.com> In-Reply-To: <20201116175909.00007e53@Huawei.com> From: Dan Williams Date: Mon, 16 Nov 2020 15:25:59 -0800 Message-ID: Subject: Re: [RFC PATCH 2/9] cxl/acpi: add OSC support To: Jonathan Cameron Cc: Ben Widawsky , linux-cxl@vger.kernel.org, Linux Kernel Mailing List , Linux PCI , Linux ACPI , Ira Weiny , Vishal Verma , "Kelley, Sean V" , Bjorn Helgaas , "Rafael J . Wysocki" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 16, 2020 at 10:00 AM Jonathan Cameron wrote: > > On Tue, 10 Nov 2020 21:43:49 -0800 > Ben Widawsky wrote: > > > From: Vishal Verma > > > > Add support to advertise OS capabilities, and request OS control for CXL > > features using the ACPI _OSC mechanism. Advertise support for all > > possible CXL features, and attempt to request control too for all > > possible features. > > > > Based on a patch by Sean Kelley. > > > > Signed-off-by: Vishal Verma > > Signed-off-by: Ben Widawsky > > I guess unsurprisingly a lot of this is cut and paste from PCIe > so can we share some of the code? > I do not see a refactoring effort for these bit being all that fruitful. The backport pressure for this driver stack I expect will be higher than most, so I'm sensitive to avoiding unnecessary core entanglements.