public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-platforms][PATCH V3 1/1] Silicon/ARM/NeoverseN1Soc: Update CCIX PNP ID
@ 2022-12-08 12:07 sahil
  2022-12-08 12:51 ` Sami Mujawar
       [not found] ` <172ED26EFF10A09A.9474@groups.io>
  0 siblings, 2 replies; 3+ messages in thread
From: sahil @ 2022-12-08 12:07 UTC (permalink / raw)
  To: devel; +Cc: Ard Biesheuvel, Leif Lindholm, Sami Mujawar, Sahil

The PNP ID 0x0A09 used for CCIX host bridge in the current code is
not defined in any specification and is therefore incorrect.

Also, there is no need for a separate ID for CCIX host bridge,
for the following reasons:

1. CCIX doesn't have any host specific requirements/ingredients as such.
2. CCIX protocol messages flow over regular PCIe.
3. CCIX devices and root ports are natively discovered using the CCIX DVSEC.

Therefore, reuse PCIe PNP ID for CCIX.

Signed-off-by: sahil <sahil@arm.com>
---

Notes:
    v3:
    - added more info regarding the change in commit message [Sami Mujawar]
    v2:
    - removed licence fix, to be pushed in separate patch [Leif Lindholm]

 Silicon/ARM/NeoverseN1Soc/Library/PciHostBridgeLib/PciHostBridgeLib.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Silicon/ARM/NeoverseN1Soc/Library/PciHostBridgeLib/PciHostBridgeLib.c b/Silicon/ARM/NeoverseN1Soc/Library/PciHostBridgeLib/PciHostBridgeLib.c
index 1f38f654a8ce..6a154d771126 100644
--- a/Silicon/ARM/NeoverseN1Soc/Library/PciHostBridgeLib/PciHostBridgeLib.c
+++ b/Silicon/ARM/NeoverseN1Soc/Library/PciHostBridgeLib/PciHostBridgeLib.c
@@ -65,8 +65,8 @@ STATIC EFI_PCI_ROOT_BRIDGE_DEVICE_PATH mEfiPciRootBridgeDevicePath[ROOT_COMPLEX_
           (UINT8)(sizeof (ACPI_HID_DEVICE_PATH) >> 8)
         }
       },
-      EISA_PNP_ID(0x0A09), // CCIX
-      0
+      EISA_PNP_ID(0x0A08), // CCIX
+      1
     },
     {
       END_DEVICE_PATH_TYPE,
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [edk2-platforms][PATCH V3 1/1] Silicon/ARM/NeoverseN1Soc: Update CCIX PNP ID
  2022-12-08 12:07 [edk2-platforms][PATCH V3 1/1] Silicon/ARM/NeoverseN1Soc: Update CCIX PNP ID sahil
@ 2022-12-08 12:51 ` Sami Mujawar
       [not found] ` <172ED26EFF10A09A.9474@groups.io>
  1 sibling, 0 replies; 3+ messages in thread
From: Sami Mujawar @ 2022-12-08 12:51 UTC (permalink / raw)
  To: Sahil, devel@edk2.groups.io
  Cc: Ard Biesheuvel, Leif Lindholm, Samer El-Haj-Mahmoud, nd

HI Sahil,

Thank you for the updated patch.
These changes look good to me.

Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>

Regards,

Sami Mujawar

On 08/12/2022, 12:07, "sahil" <sahil@arm.com> wrote:

    The PNP ID 0x0A09 used for CCIX host bridge in the current code is
    not defined in any specification and is therefore incorrect.

    Also, there is no need for a separate ID for CCIX host bridge,
    for the following reasons:

    1. CCIX doesn't have any host specific requirements/ingredients as such.
    2. CCIX protocol messages flow over regular PCIe.
    3. CCIX devices and root ports are natively discovered using the CCIX DVSEC.

    Therefore, reuse PCIe PNP ID for CCIX.

    Signed-off-by: sahil <sahil@arm.com>
    ---

    Notes:
        v3:
        - added more info regarding the change in commit message [Sami Mujawar]
        v2:
        - removed licence fix, to be pushed in separate patch [Leif Lindholm]

     Silicon/ARM/NeoverseN1Soc/Library/PciHostBridgeLib/PciHostBridgeLib.c | 4 ++--
     1 file changed, 2 insertions(+), 2 deletions(-)

    diff --git a/Silicon/ARM/NeoverseN1Soc/Library/PciHostBridgeLib/PciHostBridgeLib.c b/Silicon/ARM/NeoverseN1Soc/Library/PciHostBridgeLib/PciHostBridgeLib.c
    index 1f38f654a8ce..6a154d771126 100644
    --- a/Silicon/ARM/NeoverseN1Soc/Library/PciHostBridgeLib/PciHostBridgeLib.c
    +++ b/Silicon/ARM/NeoverseN1Soc/Library/PciHostBridgeLib/PciHostBridgeLib.c
    @@ -65,8 +65,8 @@ STATIC EFI_PCI_ROOT_BRIDGE_DEVICE_PATH mEfiPciRootBridgeDevicePath[ROOT_COMPLEX_
               (UINT8)(sizeof (ACPI_HID_DEVICE_PATH) >> 8)

             }

           },

    -      EISA_PNP_ID(0x0A09), // CCIX

    -      0

    +      EISA_PNP_ID(0x0A08), // CCIX

    +      1

         },

         {

           END_DEVICE_PATH_TYPE,

    -- 
    2.25.1



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [edk2-devel] [edk2-platforms][PATCH V3 1/1] Silicon/ARM/NeoverseN1Soc: Update CCIX PNP ID
       [not found] ` <172ED26EFF10A09A.9474@groups.io>
@ 2022-12-13 13:11   ` Sami Mujawar
  0 siblings, 0 replies; 3+ messages in thread
From: Sami Mujawar @ 2022-12-13 13:11 UTC (permalink / raw)
  To: devel, Sahil; +Cc: Ard Biesheuvel, Leif Lindholm, Samer El-Haj-Mahmoud, nd

Merged as f0385722832d..df870c7beaee

Thanks.

Regards,

Sami Mujawar

On 08/12/2022 12:51 pm, Sami Mujawar via groups.io wrote:
> HI Sahil,
>
> Thank you for the updated patch.
> These changes look good to me.
>
> Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
>
> Regards,
>
> Sami Mujawar
>
> On 08/12/2022, 12:07, "sahil" <sahil@arm.com> wrote:
>
>      The PNP ID 0x0A09 used for CCIX host bridge in the current code is
>      not defined in any specification and is therefore incorrect.
>
>      Also, there is no need for a separate ID for CCIX host bridge,
>      for the following reasons:
>
>      1. CCIX doesn't have any host specific requirements/ingredients as such.
>      2. CCIX protocol messages flow over regular PCIe.
>      3. CCIX devices and root ports are natively discovered using the CCIX DVSEC.
>
>      Therefore, reuse PCIe PNP ID for CCIX.
>
>      Signed-off-by: sahil <sahil@arm.com>
>      ---
>
>      Notes:
>          v3:
>          - added more info regarding the change in commit message [Sami Mujawar]
>          v2:
>          - removed licence fix, to be pushed in separate patch [Leif Lindholm]
>
>       Silicon/ARM/NeoverseN1Soc/Library/PciHostBridgeLib/PciHostBridgeLib.c | 4 ++--
>       1 file changed, 2 insertions(+), 2 deletions(-)
>
>      diff --git a/Silicon/ARM/NeoverseN1Soc/Library/PciHostBridgeLib/PciHostBridgeLib.c b/Silicon/ARM/NeoverseN1Soc/Library/PciHostBridgeLib/PciHostBridgeLib.c
>      index 1f38f654a8ce..6a154d771126 100644
>      --- a/Silicon/ARM/NeoverseN1Soc/Library/PciHostBridgeLib/PciHostBridgeLib.c
>      +++ b/Silicon/ARM/NeoverseN1Soc/Library/PciHostBridgeLib/PciHostBridgeLib.c
>      @@ -65,8 +65,8 @@ STATIC EFI_PCI_ROOT_BRIDGE_DEVICE_PATH mEfiPciRootBridgeDevicePath[ROOT_COMPLEX_
>                 (UINT8)(sizeof (ACPI_HID_DEVICE_PATH) >> 8)
>
>               }
>
>             },
>
>      -      EISA_PNP_ID(0x0A09), // CCIX
>
>      -      0
>
>      +      EISA_PNP_ID(0x0A08), // CCIX
>
>      +      1
>
>           },
>
>           {
>
>             END_DEVICE_PATH_TYPE,
>
>      --
>      2.25.1
>
>
>
>
> 
>
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-12-13 13:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-08 12:07 [edk2-platforms][PATCH V3 1/1] Silicon/ARM/NeoverseN1Soc: Update CCIX PNP ID sahil
2022-12-08 12:51 ` Sami Mujawar
     [not found] ` <172ED26EFF10A09A.9474@groups.io>
2022-12-13 13:11   ` [edk2-devel] " Sami Mujawar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox