From: "Verma, Vishal L" <vishal.l.verma@intel.com>
To: "helgaas@kernel.org" <helgaas@kernel.org>
Cc: lkp <lkp@intel.com>, "rafael@kernel.org" <rafael@kernel.org>,
"linux-cxl@vger.kernel.org" <linux-cxl@vger.kernel.org>,
"Jonathan.Cameron@Huawei.com" <Jonathan.Cameron@Huawei.com>,
"Williams, Dan J" <dan.j.williams@intel.com>,
"linux-acpi@vger.kernel.org" <linux-acpi@vger.kernel.org>,
"Wysocki, Rafael J" <rafael.j.wysocki@intel.com>,
"Moore, Robert" <robert.moore@intel.com>,
"bhelgaas@google.com" <bhelgaas@google.com>,
"dave@stgolabs.net" <dave@stgolabs.net>
Subject: Re: [PATCH v3 3/3] acpi/pci_root: negotiate CXL _OSC
Date: Wed, 30 Mar 2022 20:16:29 +0000 [thread overview]
Message-ID: <4a6543cf79e66ecd5ec5c15da5bec74d3602cb07.camel@intel.com> (raw)
In-Reply-To: <20220330190142.GA1698903@bhelgaas>
On Wed, 2022-03-30 at 14:01 -0500, Bjorn Helgaas wrote:
> Don't just make up new prefixes for the subject line. Previous ones
> look like this:
>
> PCI/ACPI: Fix acpi_pci_osc_control_set() kernel-doc comment
> ACPI: Use acpi_fetch_acpi_dev() instead of acpi_bus_get_device()
> PCI/ACPI: Check for _OSC support in acpi_pci_osc_control_set()
> PCI/ACPI: Move _OSC query checks to separate function
> PCI/ACPI: Move supported and control calculations to separate functions
> PCI/ACPI: Remove OSC_PCI_SUPPORT_MASKS and OSC_PCI_CONTROL_MASKS
> ACPI: pci_root: Unify the message printing
> PCI/ACPI: Clarify message about _OSC failure
> PCI/ACPI: Remove unnecessary osc_lock
> PCI/ACPI: Make acpi_pci_osc_control_set() static
> PCI/ACPI: Replace open coded variant of resource_union()
>
> So I think "PCI/ACPI: " would be a good choice. Also capitalize the
> next word as all the above do.
Yep will change to "PCI/ACPI:"
>
> On Wed, Mar 30, 2022 at 12:14:34PM -0600, Vishal Verma wrote:
> > Add full support for negotiating _OSC as defined in the CXL 2.0 spec, as
>
> Please include a section reference.
Ok
>
> > applicable to CXL-enabled platforms. Advertise support for the CXL
> > features we support - 'CXL 2.0 port/device register access', 'Protocol
> > Error Reporting', and 'CL Native Hot Plug'. Request control for 'CXL
>
> "CL" looks like a typo for "CXL"?
Yep, fixed for v4.
>
> > Memory Error Reporting'. The requests are dependent on CONFIG_* based
> > pre-requisites, and prior PCI enabling, similar to how the standard PCI
>
> s/pre-requisites/prerequisites/
Ack.
>
> > _OSC bits are determined.
> >
> > The CXL specification does not define any additional constraints on
> > the hotplug flow beyond PCIe native hotplug, so a kernel that supports
> > native PCIe hotplug, supports CXL hotplug. For error handling protocol
> > and link errors just use PCIe AER. There is nascent support for
> > amending AER events with CXL specific status [1], but there's
> > otherwise no additional OS responsibility for CXL errors beyond PCIe
> > AER. CXL Memory Errors behave the same as typical memory errors so
> > CONFIG_MEMORY_FAILURE is sufficient to indicate support to platform
> > firmware.
> >
> > [1]: https://lore.kernel.org/linux-cxl/164740402242.3912056.8303625392871313860.stgit@dwillia2-desk3.amr.corp.intel.com/
> >
> > Cc: Bjorn Helgaas <bhelgaas@google.com>
> > Cc: "Rafael J. Wysocki" <rafael@kernel.org>
> > Cc: Robert Moore <robert.moore@intel.com>
> > Cc: Dan Williams <dan.j.williams@intel.com>
> > Reported-by: kernel test robot <lkp@intel.com>
>
> What was reported by the robot? If it just complained about something
> in v1 or v2, I think there's no point in mentioning this here. It's
> the same as ordinary review comments (like these I'm composing), and
> they don't need to be acknowledged. I think "Reported-by" is great
> when giving credit for bug fixes, but that's not what's happening
> here.
Correct it was a compile warning, and actually it wasn't on-list - 0day
sent it privately, because it was on the RFC version. It makes sense to
treat it as a normal review comment - I only added the tag because the
0day emails ask you to (I suppose they use the trailers for metrics on
actionable feedback generated by the bot). I'm happy to drop it if
that's preferred here.
>
> Bjorn
next prev parent reply other threads:[~2022-03-30 20:16 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-30 18:14 [PATCH v3 0/3] acpi: add support for CXL _OSC Vishal Verma
2022-03-30 18:14 ` [PATCH v3 1/3] acpi: add a helper for retrieving _OSC Control DWORDs Vishal Verma
2022-03-30 19:04 ` Bjorn Helgaas
2022-03-30 20:08 ` Verma, Vishal L
2022-03-30 18:14 ` [PATCH v3 2/3] PCI/ACPI: Use CXL _OSC instead of PCIe _OSC Vishal Verma
2022-03-30 18:14 ` [PATCH v3 3/3] acpi/pci_root: negotiate CXL _OSC Vishal Verma
2022-03-30 19:01 ` Bjorn Helgaas
2022-03-30 20:16 ` Verma, Vishal L [this message]
2022-03-30 20:30 ` Bjorn Helgaas
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=4a6543cf79e66ecd5ec5c15da5bec74d3602cb07.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=dave@stgolabs.net \
--cc=helgaas@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-cxl@vger.kernel.org \
--cc=lkp@intel.com \
--cc=rafael.j.wysocki@intel.com \
--cc=rafael@kernel.org \
--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