From: Ira Weiny <ira.weiny@intel.com>
To: Dave Jiang <dave.jiang@intel.com>, <linux-acpi@vger.kernel.org>,
<linux-cxl@vger.kernel.org>
Cc: <rafael@kernel.org>, <lenb@kernel.org>,
<dan.j.williams@intel.com>, <ira.weiny@intel.com>,
<vishal.l.verma@intel.com>, <alison.schofield@intel.com>,
<lukas@wunner.de>, <Jonathan.Cameron@huawei.com>
Subject: Re: [PATCH v4 2/6] ACPICA: Add a define for size of acpi_srat_generic_affinity DeviceHandle
Date: Tue, 8 Aug 2023 09:19:04 -0700 [thread overview]
Message-ID: <64d26af8bb49_16650c29418@iweiny-mobl.notmuch> (raw)
In-Reply-To: <168746997931.4115467.47140094903948157.stgit@djiang5-mobl3>
Dave Jiang wrote:
> ACPICA commit be56820b03d8aeabfa6709c4d99bf1711afe7ef1
>
> Replace magic number with a define. Linux kernel code will utilize this
> define.
>
> Link: https://github.com/acpica/acpica/commit/be56820b
> Link: https://github.com/acpica/acpica/pull/876
> Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
> ---
> include/acpi/actbl3.h | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/include/acpi/actbl3.h b/include/acpi/actbl3.h
> index f51c46f4e3e4..1838e5cb313a 100644
> --- a/include/acpi/actbl3.h
> +++ b/include/acpi/actbl3.h
> @@ -279,12 +279,14 @@ struct acpi_srat_gic_its_affinity {
> * 6: ACPI_SRAT_TYPE_GENERIC_PORT_AFFINITY
> */
>
> +#define ACPI_SRAT_DEVICE_HANDLE_SIZE 16
> +
> struct acpi_srat_generic_affinity {
> struct acpi_subtable_header header;
> u8 reserved;
> u8 device_handle_type;
> u32 proximity_domain;
> - u8 device_handle[16];
> + u8 device_handle[ACPI_SRAT_DEVICE_HANDLE_SIZE];
> u32 flags;
> u32 reserved1;
> };
>
>
next prev parent reply other threads:[~2023-08-08 18:22 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-22 21:39 [PATCH v4 0/6] acpi: numa: add target support for generic port to HMAT parsing Dave Jiang
2023-06-22 21:39 ` [PATCH v4 1/6] acpi: numa: Create enum for memory_target access coordinates indexing Dave Jiang
2023-06-22 21:39 ` [PATCH v4 2/6] ACPICA: Add a define for size of acpi_srat_generic_affinity DeviceHandle Dave Jiang
2023-08-08 16:19 ` Ira Weiny [this message]
2023-06-22 21:39 ` [PATCH v4 3/6] acpi: numa: Add genport target allocation to the HMAT parsing Dave Jiang
2023-06-22 21:39 ` [PATCH v4 4/6] acpi: Break out nesting for hmat_parse_locality() Dave Jiang
2023-06-22 21:39 ` [PATCH v4 5/6] acpi: numa: Add setting of generic port system locality attributes Dave Jiang
2023-06-22 21:40 ` [PATCH v4 6/6] acpi: numa: Add helper function to retrieve the performance attributes Dave Jiang
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=64d26af8bb49_16650c29418@iweiny-mobl.notmuch \
--to=ira.weiny@intel.com \
--cc=Jonathan.Cameron@huawei.com \
--cc=alison.schofield@intel.com \
--cc=dan.j.williams@intel.com \
--cc=dave.jiang@intel.com \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-cxl@vger.kernel.org \
--cc=lukas@wunner.de \
--cc=rafael@kernel.org \
--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