Add Generic Initiator Affinity Structure to the list of recognised
System Resource Affinity Table (SRAT) structure types.
Add definitions for Device Handle Types inside the Generic Initiator
Affinity Structure.
References:
- ACPI 6.3 January 2019, Table 5-78
Signed-off-by: Krzysztof Koch <krzysztof.koch@arm.com>
---
Changes can be seen at: https://github.com/KrzysztofKoch1/edk2/tree/582_acpiview_6_3_srat_v1
Notes:
v1:
- define the SRAT Generic Initiator Affinity Struct type [Krzysztof]
- define the SRAT Device Handle Types [Krzysztof]
MdePkg/Include/IndustryStandard/Acpi63.h | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/MdePkg/Include/IndustryStandard/Acpi63.h b/MdePkg/Include/IndustryStandard/Acpi63.h
index a8e011579ffcf070ecdfd2c6726a16d1afd65891..eca1f9357b70f10887e680ff13c97c0beab3600b 100644
--- a/MdePkg/Include/IndustryStandard/Acpi63.h
+++ b/MdePkg/Include/IndustryStandard/Acpi63.h
@@ -639,7 +639,7 @@ typedef struct {
//
// SRAT structure types.
-// All other values between 0x05 an 0xFF are reserved and
+// All other values between 0x06 an 0xFF are reserved and
// will be ignored by OSPM.
//
#define EFI_ACPI_6_3_PROCESSOR_LOCAL_APIC_SAPIC_AFFINITY 0x00
@@ -647,6 +647,7 @@ typedef struct {
#define EFI_ACPI_6_3_PROCESSOR_LOCAL_X2APIC_AFFINITY 0x02
#define EFI_ACPI_6_3_GICC_AFFINITY 0x03
#define EFI_ACPI_6_3_GIC_ITS_AFFINITY 0x04
+#define EFI_ACPI_6_3_GENERIC_INITIATOR_AFFINITY 0x05
///
/// Processor Local APIC/SAPIC Affinity Structure Definition
@@ -733,6 +734,14 @@ typedef struct {
UINT32 ItsId;
} EFI_ACPI_6_3_GIC_ITS_AFFINITY_STRUCTURE;
+//
+// Generic Initiator Affinity Structure Device Handle Types
+// All other values between 0x02 an 0xFF are reserved and
+// will be ignored by OSPM.
+//
+#define EFI_ACPI_6_3_ACPI_DEVICE_HANDLE 0x00
+#define EFI_ACPI_6_3_PCI_DEVICE_HANDLE 0x01
+
///
/// Device Handle - ACPI
///
--
'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#42304): https://edk2.groups.io/g/devel/message/42304
Mute This Topic: https://groups.io/mt/32043797/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-
Reviewed-by: Liming Gao <liming.gao@intel.com>
> -----Original Message-----
> From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of Krzysztof Koch
> Sent: Wednesday, June 12, 2019 10:11 PM
> To: devel@edk2.groups.io
> Cc: Carsey, Jaben <jaben.carsey@intel.com>; Ni, Ray <ray.ni@intel.com>; Gao, Zhichao <zhichao.gao@intel.com>; Kinney, Michael D
> <michael.d.kinney@intel.com>; Gao, Liming <liming.gao@intel.com>; Sami.Mujawar@arm.com; Matteo.Carlini@arm.com;
> Stephanie.Hughes-Fitt@arm.com; nd@arm.com
> Subject: [edk2-devel] [PATCH v1 1/2] MdePkg: Add Generic Initiator Affinity Structure definitions to SRAT
>
> Add Generic Initiator Affinity Structure to the list of recognised
> System Resource Affinity Table (SRAT) structure types.
>
> Add definitions for Device Handle Types inside the Generic Initiator
> Affinity Structure.
>
> References:
> - ACPI 6.3 January 2019, Table 5-78
>
> Signed-off-by: Krzysztof Koch <krzysztof.koch@arm.com>
> ---
>
> Changes can be seen at: https://github.com/KrzysztofKoch1/edk2/tree/582_acpiview_6_3_srat_v1
>
> Notes:
> v1:
> - define the SRAT Generic Initiator Affinity Struct type [Krzysztof]
> - define the SRAT Device Handle Types [Krzysztof]
>
> MdePkg/Include/IndustryStandard/Acpi63.h | 11 ++++++++++-
> 1 file changed, 10 insertions(+), 1 deletion(-)
>
> diff --git a/MdePkg/Include/IndustryStandard/Acpi63.h b/MdePkg/Include/IndustryStandard/Acpi63.h
> index a8e011579ffcf070ecdfd2c6726a16d1afd65891..eca1f9357b70f10887e680ff13c97c0beab3600b 100644
> --- a/MdePkg/Include/IndustryStandard/Acpi63.h
> +++ b/MdePkg/Include/IndustryStandard/Acpi63.h
> @@ -639,7 +639,7 @@ typedef struct {
>
> //
> // SRAT structure types.
> -// All other values between 0x05 an 0xFF are reserved and
> +// All other values between 0x06 an 0xFF are reserved and
> // will be ignored by OSPM.
> //
> #define EFI_ACPI_6_3_PROCESSOR_LOCAL_APIC_SAPIC_AFFINITY 0x00
> @@ -647,6 +647,7 @@ typedef struct {
> #define EFI_ACPI_6_3_PROCESSOR_LOCAL_X2APIC_AFFINITY 0x02
> #define EFI_ACPI_6_3_GICC_AFFINITY 0x03
> #define EFI_ACPI_6_3_GIC_ITS_AFFINITY 0x04
> +#define EFI_ACPI_6_3_GENERIC_INITIATOR_AFFINITY 0x05
>
> ///
> /// Processor Local APIC/SAPIC Affinity Structure Definition
> @@ -733,6 +734,14 @@ typedef struct {
> UINT32 ItsId;
> } EFI_ACPI_6_3_GIC_ITS_AFFINITY_STRUCTURE;
>
> +//
> +// Generic Initiator Affinity Structure Device Handle Types
> +// All other values between 0x02 an 0xFF are reserved and
> +// will be ignored by OSPM.
> +//
> +#define EFI_ACPI_6_3_ACPI_DEVICE_HANDLE 0x00
> +#define EFI_ACPI_6_3_PCI_DEVICE_HANDLE 0x01
> +
> ///
> /// Device Handle - ACPI
> ///
> --
> 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'
>
>
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#42359): https://edk2.groups.io/g/devel/message/42359
Mute This Topic: https://groups.io/mt/32043797/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-
Hi,
Do you need any help from me to get this patch merged?
Kind regards,
Krzysztof
-----Original Message-----
From: Gao, Liming <liming.gao@intel.com>
Sent: Thursday, June 13, 2019 13:05
To: devel@edk2.groups.io; Krzysztof Koch <Krzysztof.Koch@arm.com>
Cc: Carsey, Jaben <jaben.carsey@intel.com>; Ni, Ray <ray.ni@intel.com>; Gao, Zhichao <zhichao.gao@intel.com>; Kinney, Michael D <michael.d.kinney@intel.com>; Sami Mujawar <Sami.Mujawar@arm.com>; Matteo Carlini <Matteo.Carlini@arm.com>; Stephanie Hughes-Fitt <Stephanie.Hughes-Fitt@arm.com>; nd <nd@arm.com>
Subject: RE: [edk2-devel] [PATCH v1 1/2] MdePkg: Add Generic Initiator Affinity Structure definitions to SRAT
Reviewed-by: Liming Gao <liming.gao@intel.com>
> -----Original Message-----
> From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of
> Krzysztof Koch
> Sent: Wednesday, June 12, 2019 10:11 PM
> To: devel@edk2.groups.io
> Cc: Carsey, Jaben <jaben.carsey@intel.com>; Ni, Ray
> <ray.ni@intel.com>; Gao, Zhichao <zhichao.gao@intel.com>; Kinney,
> Michael D <michael.d.kinney@intel.com>; Gao, Liming
> <liming.gao@intel.com>; Sami.Mujawar@arm.com; Matteo.Carlini@arm.com;
> Stephanie.Hughes-Fitt@arm.com; nd@arm.com
> Subject: [edk2-devel] [PATCH v1 1/2] MdePkg: Add Generic Initiator
> Affinity Structure definitions to SRAT
>
> Add Generic Initiator Affinity Structure to the list of recognised
> System Resource Affinity Table (SRAT) structure types.
>
> Add definitions for Device Handle Types inside the Generic Initiator
> Affinity Structure.
>
> References:
> - ACPI 6.3 January 2019, Table 5-78
>
> Signed-off-by: Krzysztof Koch <krzysztof.koch@arm.com>
> ---
>
> Changes can be seen at:
> https://github.com/KrzysztofKoch1/edk2/tree/582_acpiview_6_3_srat_v1
>
> Notes:
> v1:
> - define the SRAT Generic Initiator Affinity Struct type [Krzysztof]
> - define the SRAT Device Handle Types [Krzysztof]
>
> MdePkg/Include/IndustryStandard/Acpi63.h | 11 ++++++++++-
> 1 file changed, 10 insertions(+), 1 deletion(-)
>
> diff --git a/MdePkg/Include/IndustryStandard/Acpi63.h
> b/MdePkg/Include/IndustryStandard/Acpi63.h
> index
> a8e011579ffcf070ecdfd2c6726a16d1afd65891..eca1f9357b70f10887e680ff13c9
> 7c0beab3600b 100644
> --- a/MdePkg/Include/IndustryStandard/Acpi63.h
> +++ b/MdePkg/Include/IndustryStandard/Acpi63.h
> @@ -639,7 +639,7 @@ typedef struct {
>
> //
> // SRAT structure types.
> -// All other values between 0x05 an 0xFF are reserved and
> +// All other values between 0x06 an 0xFF are reserved and
> // will be ignored by OSPM.
> //
> #define EFI_ACPI_6_3_PROCESSOR_LOCAL_APIC_SAPIC_AFFINITY 0x00 @@
> -647,6 +647,7 @@ typedef struct {
> #define EFI_ACPI_6_3_PROCESSOR_LOCAL_X2APIC_AFFINITY 0x02
> #define EFI_ACPI_6_3_GICC_AFFINITY 0x03
> #define EFI_ACPI_6_3_GIC_ITS_AFFINITY 0x04
> +#define EFI_ACPI_6_3_GENERIC_INITIATOR_AFFINITY 0x05
>
> ///
> /// Processor Local APIC/SAPIC Affinity Structure Definition @@
> -733,6 +734,14 @@ typedef struct {
> UINT32 ItsId;
> } EFI_ACPI_6_3_GIC_ITS_AFFINITY_STRUCTURE;
>
> +//
> +// Generic Initiator Affinity Structure Device Handle Types // All
> +other values between 0x02 an 0xFF are reserved and // will be ignored
> +by OSPM.
> +//
> +#define EFI_ACPI_6_3_ACPI_DEVICE_HANDLE 0x00
> +#define EFI_ACPI_6_3_PCI_DEVICE_HANDLE 0x01
> +
> ///
> /// Device Handle - ACPI
> ///
> --
> 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'
>
>
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#42644): https://edk2.groups.io/g/devel/message/42644
Mute This Topic: https://groups.io/mt/32043797/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-
Push @425d8d487fe20e76281fd7da074592508d03f9c0
> -----Original Message-----
> From: Krzysztof Koch [mailto:Krzysztof.Koch@arm.com]
> Sent: Thursday, June 20, 2019 10:50 PM
> To: Gao, Liming <liming.gao@intel.com>; Kinney, Michael D <michael.d.kinney@intel.com>; devel@edk2.groups.io
> Cc: Sami Mujawar <Sami.Mujawar@arm.com>; nd <nd@arm.com>
> Subject: RE: [edk2-devel] [PATCH v1 1/2] MdePkg: Add Generic Initiator Affinity Structure definitions to SRAT
>
> Hi,
>
> Do you need any help from me to get this patch merged?
>
> Kind regards,
>
> Krzysztof
>
> -----Original Message-----
> From: Gao, Liming <liming.gao@intel.com>
> Sent: Thursday, June 13, 2019 13:05
> To: devel@edk2.groups.io; Krzysztof Koch <Krzysztof.Koch@arm.com>
> Cc: Carsey, Jaben <jaben.carsey@intel.com>; Ni, Ray <ray.ni@intel.com>; Gao, Zhichao <zhichao.gao@intel.com>; Kinney, Michael D
> <michael.d.kinney@intel.com>; Sami Mujawar <Sami.Mujawar@arm.com>; Matteo Carlini <Matteo.Carlini@arm.com>; Stephanie
> Hughes-Fitt <Stephanie.Hughes-Fitt@arm.com>; nd <nd@arm.com>
> Subject: RE: [edk2-devel] [PATCH v1 1/2] MdePkg: Add Generic Initiator Affinity Structure definitions to SRAT
>
> Reviewed-by: Liming Gao <liming.gao@intel.com>
>
> > -----Original Message-----
> > From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of
> > Krzysztof Koch
> > Sent: Wednesday, June 12, 2019 10:11 PM
> > To: devel@edk2.groups.io
> > Cc: Carsey, Jaben <jaben.carsey@intel.com>; Ni, Ray
> > <ray.ni@intel.com>; Gao, Zhichao <zhichao.gao@intel.com>; Kinney,
> > Michael D <michael.d.kinney@intel.com>; Gao, Liming
> > <liming.gao@intel.com>; Sami.Mujawar@arm.com; Matteo.Carlini@arm.com;
> > Stephanie.Hughes-Fitt@arm.com; nd@arm.com
> > Subject: [edk2-devel] [PATCH v1 1/2] MdePkg: Add Generic Initiator
> > Affinity Structure definitions to SRAT
> >
> > Add Generic Initiator Affinity Structure to the list of recognised
> > System Resource Affinity Table (SRAT) structure types.
> >
> > Add definitions for Device Handle Types inside the Generic Initiator
> > Affinity Structure.
> >
> > References:
> > - ACPI 6.3 January 2019, Table 5-78
> >
> > Signed-off-by: Krzysztof Koch <krzysztof.koch@arm.com>
> > ---
> >
> > Changes can be seen at:
> > https://github.com/KrzysztofKoch1/edk2/tree/582_acpiview_6_3_srat_v1
> >
> > Notes:
> > v1:
> > - define the SRAT Generic Initiator Affinity Struct type [Krzysztof]
> > - define the SRAT Device Handle Types [Krzysztof]
> >
> > MdePkg/Include/IndustryStandard/Acpi63.h | 11 ++++++++++-
> > 1 file changed, 10 insertions(+), 1 deletion(-)
> >
> > diff --git a/MdePkg/Include/IndustryStandard/Acpi63.h
> > b/MdePkg/Include/IndustryStandard/Acpi63.h
> > index
> > a8e011579ffcf070ecdfd2c6726a16d1afd65891..eca1f9357b70f10887e680ff13c9
> > 7c0beab3600b 100644
> > --- a/MdePkg/Include/IndustryStandard/Acpi63.h
> > +++ b/MdePkg/Include/IndustryStandard/Acpi63.h
> > @@ -639,7 +639,7 @@ typedef struct {
> >
> > //
> > // SRAT structure types.
> > -// All other values between 0x05 an 0xFF are reserved and
> > +// All other values between 0x06 an 0xFF are reserved and
> > // will be ignored by OSPM.
> > //
> > #define EFI_ACPI_6_3_PROCESSOR_LOCAL_APIC_SAPIC_AFFINITY 0x00 @@
> > -647,6 +647,7 @@ typedef struct {
> > #define EFI_ACPI_6_3_PROCESSOR_LOCAL_X2APIC_AFFINITY 0x02
> > #define EFI_ACPI_6_3_GICC_AFFINITY 0x03
> > #define EFI_ACPI_6_3_GIC_ITS_AFFINITY 0x04
> > +#define EFI_ACPI_6_3_GENERIC_INITIATOR_AFFINITY 0x05
> >
> > ///
> > /// Processor Local APIC/SAPIC Affinity Structure Definition @@
> > -733,6 +734,14 @@ typedef struct {
> > UINT32 ItsId;
> > } EFI_ACPI_6_3_GIC_ITS_AFFINITY_STRUCTURE;
> >
> > +//
> > +// Generic Initiator Affinity Structure Device Handle Types // All
> > +other values between 0x02 an 0xFF are reserved and // will be ignored
> > +by OSPM.
> > +//
> > +#define EFI_ACPI_6_3_ACPI_DEVICE_HANDLE 0x00
> > +#define EFI_ACPI_6_3_PCI_DEVICE_HANDLE 0x01
> > +
> > ///
> > /// Device Handle - ACPI
> > ///
> > --
> > 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'
> >
> >
> >
> >
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#42667): https://edk2.groups.io/g/devel/message/42667
Mute This Topic: https://groups.io/mt/32043797/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-
Reviewed-by: Alexei Fedorov <Alexei.Fedorov@arm.com> -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#42355): https://edk2.groups.io/g/devel/message/42355 Mute This Topic: https://groups.io/mt/32043797/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=-=-=-=-=-=-=-=-=-=-=-
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
-----Original Message-----
From: Krzysztof Koch <krzysztof.koch@arm.com>
Sent: 12 June 2019 03:11 PM
To: devel@edk2.groups.io
Cc: jaben.carsey@intel.com; ray.ni@intel.com; zhichao.gao@intel.com; michael.d.kinney@intel.com; liming.gao@intel.com; Sami Mujawar <Sami.Mujawar@arm.com>; Matteo Carlini <Matteo.Carlini@arm.com>; Stephanie Hughes-Fitt <Stephanie.Hughes-Fitt@arm.com>; nd <nd@arm.com>
Subject: [PATCH v1 1/2] MdePkg: Add Generic Initiator Affinity Structure definitions to SRAT
Add Generic Initiator Affinity Structure to the list of recognised System Resource Affinity Table (SRAT) structure types.
Add definitions for Device Handle Types inside the Generic Initiator Affinity Structure.
References:
- ACPI 6.3 January 2019, Table 5-78
Signed-off-by: Krzysztof Koch <krzysztof.koch@arm.com>
---
Changes can be seen at: https://github.com/KrzysztofKoch1/edk2/tree/582_acpiview_6_3_srat_v1
Notes:
v1:
- define the SRAT Generic Initiator Affinity Struct type [Krzysztof]
- define the SRAT Device Handle Types [Krzysztof]
MdePkg/Include/IndustryStandard/Acpi63.h | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/MdePkg/Include/IndustryStandard/Acpi63.h b/MdePkg/Include/IndustryStandard/Acpi63.h
index a8e011579ffcf070ecdfd2c6726a16d1afd65891..eca1f9357b70f10887e680ff13c97c0beab3600b 100644
--- a/MdePkg/Include/IndustryStandard/Acpi63.h
+++ b/MdePkg/Include/IndustryStandard/Acpi63.h
@@ -639,7 +639,7 @@ typedef struct {
//
// SRAT structure types.
-// All other values between 0x05 an 0xFF are reserved and
+// All other values between 0x06 an 0xFF are reserved and
// will be ignored by OSPM.
//
#define EFI_ACPI_6_3_PROCESSOR_LOCAL_APIC_SAPIC_AFFINITY 0x00 @@ -647,6 +647,7 @@ typedef struct {
#define EFI_ACPI_6_3_PROCESSOR_LOCAL_X2APIC_AFFINITY 0x02
#define EFI_ACPI_6_3_GICC_AFFINITY 0x03
#define EFI_ACPI_6_3_GIC_ITS_AFFINITY 0x04
+#define EFI_ACPI_6_3_GENERIC_INITIATOR_AFFINITY 0x05
///
/// Processor Local APIC/SAPIC Affinity Structure Definition @@ -733,6 +734,14 @@ typedef struct {
UINT32 ItsId;
} EFI_ACPI_6_3_GIC_ITS_AFFINITY_STRUCTURE;
+//
+// Generic Initiator Affinity Structure Device Handle Types // All
+other values between 0x02 an 0xFF are reserved and // will be ignored
+by OSPM.
+//
+#define EFI_ACPI_6_3_ACPI_DEVICE_HANDLE 0x00
+#define EFI_ACPI_6_3_PCI_DEVICE_HANDLE 0x01
+
///
/// Device Handle - ACPI
///
--
'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#42314): https://edk2.groups.io/g/devel/message/42314
Mute This Topic: https://groups.io/mt/32043797/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-
© 2016 - 2026 Red Hat, Inc.