From mboxrd@z Thu Jan 1 00:00:00 1970 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=-6.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 473C4C6379D for ; Mon, 16 Nov 2020 23:26:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EA7F920855 for ; Mon, 16 Nov 2020 23:26:33 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=intel-com.20150623.gappssmtp.com header.i=@intel-com.20150623.gappssmtp.com header.b="MkXccjt3" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729379AbgKPX0M (ORCPT ); Mon, 16 Nov 2020 18:26:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728880AbgKPX0M (ORCPT ); Mon, 16 Nov 2020 18:26:12 -0500 Received: from mail-ej1-x642.google.com (mail-ej1-x642.google.com [IPv6:2a00:1450:4864:20::642]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1AE4CC0613D3 for ; Mon, 16 Nov 2020 15:26:12 -0800 (PST) Received: by mail-ej1-x642.google.com with SMTP id o9so26850283ejg.1 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=Q3X6SCIugl99Y9QumjLRNHZUNPyxpOjw7N5JehRf4FxfDITOokIsR899GprtDoKkNk Ihx+11SsCIh8PPPO6emeNXC7B+AvdTddrhvcRFkmcZivLozMN+RdEuArkc4ozrPnpnqO /j/SBtDJeZzcZ42JreB8bAyzdsTX6NgkcApu0y6p7anTQS4kLbw8Ua/INc0iCOYQKnVP A40YHmYvw5YJCG8zY36JQ3JCdGdbtoo3pktcmDfmjYXu0nkfFZSnYkYw3mZuEQoLcNnk 96QP0F7ZqZLhqhr4iwUrhVglqg9CSWT9DEBehVj4D2vPhZtQpnb7+yzMitJV8BDpi6C/ vgaA== X-Gm-Message-State: AOAM533TieqSx+SeNzCj4A9ZhZOfsqLuNeT/5mhtlfU8xNZIlXrT7YI8 IanzlGobVKuiW6EPF8L6OXmmFSY+3rNOFfE0vz7eQA== X-Google-Smtp-Source: ABdhPJze5vcw+d0aAkqS1pxiX4ktCOOJiA9r/T2L2c2bAJTiEY+gl0QV32VRtqpOXijH9Zd3wJuTfU/FYl/HVP7+Yqg= 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-acpi@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.