Linux CXL
 help / color / mirror / Atom feed
From: "Verma, Vishal L" <vishal.l.verma@intel.com>
To: "Wysocki, Rafael J" <rafael.j.wysocki@intel.com>
Cc: "Williams, Dan J" <dan.j.williams@intel.com>,
	"Moore, Robert" <robert.moore@intel.com>,
	"Jonathan.Cameron@Huawei.com" <Jonathan.Cameron@Huawei.com>,
	"linux-cxl@vger.kernel.org" <linux-cxl@vger.kernel.org>,
	"bhelgaas@google.com" <bhelgaas@google.com>,
	"linux-acpi@vger.kernel.org" <linux-acpi@vger.kernel.org>
Subject: Re: [PATCH 0/2] acpi: add support for CXL _OSC
Date: Fri, 18 Mar 2022 21:34:11 +0000	[thread overview]
Message-ID: <ca52884c6d627e9a6efdbda133fc88d03672b71c.camel@intel.com> (raw)
In-Reply-To: <20220318213004.2287428-1-vishal.l.verma@intel.com>

On Fri, 2022-03-18 at 15:30 -0600, Vishal Verma wrote:
> Changes since v1[1]:
> - Update changelogs for both patches (Dan)
> - Fix support/control calculation to be based off CONFIG_MEMORY_FAILURE
>   (Dan)
> - Use defines instead of magic numbers in a few places in patch 2
>   (Jonathan)
> - Fix 'capbuf' array to be the correct 5 elements. ACPI previously had
>   '6' where only 3 were needed. With CXL capabilities, now, 5 are
>   needed. (Jonathan).
> - Fix a couple of uninitialized variable warnings reported by 0day/lkp.
> - Drop 'RFC' annotation for the set
> 
> Add support for using the CXL definition of _OSC where applicable, and
> negotiating CXL specific support and control bits.
> 
> Patch 1 adds the new CXL _OSC UUID, and uses it instead of the PCI UUID
> when a root port is CXL enabled. It provides a fallback method for
> CXL-1.1 platforms that may not implement the CXL-2.0 _OSC.
> 
> Patch 2 performs negotiation for the CXL specific _OSC support and
> control bits.
> 
> I've tested these against a custom qemu[2], which adds the CXL _OSC (in
> addition to other CXL support). Specifically, _OSC support is added
> here[3].
> 
> [1]: https://lore.kernel.org/linux-cxl/146514b2e5237a3c027239a75ace69e72671d4c8.camel@intel.com/T/#t
> [2]: https://gitlab.com/jic23/qemu/-/tree/cxl-v7-draft-2-for-test
> [3]: https://gitlab.com/jic23/qemu/-/commit/31c85054b84645dfbd9e9bb14aa35286141c14cf

Logistical question - Rafael, do you expect this to go through ACPI, or
should Dan pick it up to go through the CXL tree?

> 
> 
> Dan Williams (1):
>   PCI/ACPI: Use CXL _OSC instead of PCIe _OSC
> 
> Vishal Verma (1):
>   acpi/pci_root: negotiate CXL _OSC
> 
>  include/linux/acpi.h    |  14 +++
>  include/acpi/acpi_bus.h |   7 +-
>  drivers/acpi/pci_root.c | 204 ++++++++++++++++++++++++++++++++++------
>  3 files changed, 193 insertions(+), 32 deletions(-)
> 
> 
> base-commit: 74be98774dfbc5b8b795db726bd772e735d2edd4


      parent reply	other threads:[~2022-03-18 21:34 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-18 21:30 [PATCH 0/2] acpi: add support for CXL _OSC Vishal Verma
2022-03-18 21:30 ` [PATCH 1/2] PCI/ACPI: Use CXL _OSC instead of PCIe _OSC Vishal Verma
2022-03-22 18:01   ` Rafael J. Wysocki
2022-03-22 18:08   ` Dan Williams
2022-03-23 19:23   ` Rafael J. Wysocki
2022-03-23 20:39     ` Dan Williams
2022-03-18 21:30 ` [PATCH 2/2] acpi/pci_root: negotiate CXL _OSC Vishal Verma
2022-03-22 18:22   ` Rafael J. Wysocki
2022-03-23  0:47   ` Davidlohr Bueso
2022-03-23 18:29     ` Verma, Vishal L
2022-03-23 19:02       ` Dan Williams
2022-03-23 19:25   ` Rafael J. Wysocki
2022-03-25 23:11     ` Verma, Vishal L
2022-03-18 21:34 ` Verma, Vishal L [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ca52884c6d627e9a6efdbda133fc88d03672b71c.camel@intel.com \
    --to=vishal.l.verma@intel.com \
    --cc=Jonathan.Cameron@Huawei.com \
    --cc=bhelgaas@google.com \
    --cc=dan.j.williams@intel.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-cxl@vger.kernel.org \
    --cc=rafael.j.wysocki@intel.com \
    --cc=robert.moore@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox