From: Ben Cheatham <benjamin.cheatham@amd.com>
To: Dan Williams <dan.j.williams@intel.com>,
dave@stogolabs.net, jonathan.cameron@huawei.com,
dave.jiang@intel.com, alison.schofield@intel.com,
vishal.l.verma@intel.com, ira.weiny@intel.com, rafael@kernel.org
Cc: linux-cxl@vger.kernel.org, linux-acpi@vger.kernel.org,
alexey.kardashevskiy@amd.com, Avadhut.Naik@amd.com, bp@alien8.de,
tony.luck@intel.com, rafael.j.wysocki@intel.com
Subject: Re: [PATCH v11 0/4] CXL, ACPI, APEI, EINJ: Update EINJ for CXL error types
Date: Mon, 12 Feb 2024 08:13:55 -0600 [thread overview]
Message-ID: <2e38c282-c4e7-401b-abd8-66f451c7cc8c@amd.com> (raw)
In-Reply-To: <65c81fc3d3b6c_d2d42946e@dwillia2-xfh.jf.intel.com.notmuch>
On 2/10/24 7:15 PM, Dan Williams wrote:
> [ Cc all the signers of 709f3cbd652e ("ACPI: APEI: EINJ: Refactor
> available_error_type_show()") ]
>
> Ben Cheatham wrote:
>> v11 Changes:
>> - Drop patch 2/6 (Add CXL protocol error defines) and put the
>> defines in patch 4/6 instead (Dan)
>> - Add Dan's reviewed-by
>>
>> v10 Changes:
>> - Fixups in EINJ module initializtion (Dan)
>> - Add include/linux/einj-cxl.h to MAINTAINERS under CXL subsystem
>> (Dan)
>> - Replace usages of IS_ENABLED(CONFIG_CXL_EINJ) with new
>> einj_is_initialized() function in cxl/core/port.c (Dan)
>> - Fix typo in EINJ documentation (Dan)
>>
>> The new CXL error types will use the Memory Address field in the
>> SET_ERROR_TYPE_WITH_ADDRESS structure in order to target a CXL 1.1
>> compliant memory-mapped downstream port. The value of the memory address
>> will be in the port's MMIO range, and it will not represent physical
>> (normal or persistent) memory.
>>
>> Add the functionality for injecting CXL 1.1 errors to the EINJ module,
>> but not through the EINJ legacy interface under /sys/kernel/debug/apei/einj.
>> Instead, make the error types available under /sys/kernel/debug/cxl.
>> This allows for validating the MMIO address for a CXL 1.1 error type
>> while also not making the user responsible for finding it.
>>
>> Ben Cheatham (4):
>> cxl, ACPI, APEI, EINJ: Add CXL_EINJ Kconfig option
>> EINJ: Migrate to a platform driver
>> cxl/core, EINJ: Add EINJ CXL debugfs files and EINJ helper functions
>
> I think the above that go across cxl and EINJ can just be prefixed:
>
> "cxl, EINJ:"
>
> Also please rebase this on v6.8-rc3 to resolve a conflict with:
>
> 709f3cbd652e ACPI: APEI: EINJ: Refactor available_error_type_show()
>
> That should also allow you to fixup the missing ifdef CONFIG_CXL_EINJ
> guard around the EINJ driver exports.
Alright, will do.
Thanks,
Ben
>
> This needs at least one "non-Dan" reviewer for the ACPI side.
>
>> EINJ, Documentation: Update EINJ kernel doc
>>
>> Documentation/ABI/testing/debugfs-cxl | 22 ++
>> .../firmware-guide/acpi/apei/einj.rst | 19 ++
>> MAINTAINERS | 1 +
>> drivers/acpi/apei/einj.c | 202 ++++++++++++++++--
>> drivers/cxl/Kconfig | 12 ++
>> drivers/cxl/core/port.c | 39 ++++
>> include/linux/einj-cxl.h | 45 ++++
>> 7 files changed, 328 insertions(+), 12 deletions(-)
>> create mode 100644 include/linux/einj-cxl.h
>>
>> --
>> 2.34.1
>>
>
>
prev parent reply other threads:[~2024-02-12 14:14 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-08 20:00 [PATCH v11 0/4] CXL, ACPI, APEI, EINJ: Update EINJ for CXL error types Ben Cheatham
2024-02-08 20:00 ` [PATCH v11 1/4] cxl, ACPI, APEI, EINJ: Add CXL_EINJ Kconfig option Ben Cheatham
2024-02-14 14:05 ` Jonathan Cameron
2024-02-14 14:34 ` Ben Cheatham
2024-02-08 20:00 ` [PATCH v11 2/4] EINJ: Migrate to a platform driver Ben Cheatham
2024-02-14 14:37 ` Jonathan Cameron
2024-02-08 20:00 ` [PATCH v11 3/4] cxl/core, EINJ: Add EINJ CXL debugfs files and EINJ helper functions Ben Cheatham
2024-02-09 21:30 ` Ben Cheatham
2024-02-10 0:02 ` Dan Williams
2024-02-10 6:31 ` Dan Williams
2024-02-12 14:12 ` Ben Cheatham
2024-02-13 17:29 ` Ben Cheatham
2024-02-13 18:08 ` Dan Williams
2024-02-14 15:27 ` Jonathan Cameron
2024-02-14 16:41 ` Ben Cheatham
2024-02-14 17:46 ` Jonathan Cameron
2024-02-14 17:54 ` Ben Cheatham
2024-02-08 20:00 ` [PATCH v11 4/4] EINJ, Documentation: Update EINJ kernel doc Ben Cheatham
2024-02-14 15:29 ` Jonathan Cameron
2024-02-11 1:15 ` [PATCH v11 0/4] CXL, ACPI, APEI, EINJ: Update EINJ for CXL error types Dan Williams
2024-02-12 14:13 ` Ben Cheatham [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=2e38c282-c4e7-401b-abd8-66f451c7cc8c@amd.com \
--to=benjamin.cheatham@amd.com \
--cc=Avadhut.Naik@amd.com \
--cc=alexey.kardashevskiy@amd.com \
--cc=alison.schofield@intel.com \
--cc=bp@alien8.de \
--cc=dan.j.williams@intel.com \
--cc=dave.jiang@intel.com \
--cc=dave@stogolabs.net \
--cc=ira.weiny@intel.com \
--cc=jonathan.cameron@huawei.com \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-cxl@vger.kernel.org \
--cc=rafael.j.wysocki@intel.com \
--cc=rafael@kernel.org \
--cc=tony.luck@intel.com \
--cc=vishal.l.verma@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