public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Kubacki, Michael A" <michael.a.kubacki@intel.com>
To: "Sinha, Ankit" <ankit.sinha@intel.com>,
	"devel@edk2.groups.io" <devel@edk2.groups.io>
Cc: "Desimone, Nathaniel L" <nathaniel.l.desimone@intel.com>
Subject: Re: [edk2-platforms] [PATCH v1 1/1] ClevoOpenBoardPkg/Features: Enable ThunderBolt
Date: Wed, 4 Sep 2019 07:39:07 +0000	[thread overview]
Message-ID: <49AB4ACB9627B8468F29D589A27B745588AA053B@ORSMSX121.amr.corp.intel.com> (raw)
In-Reply-To: <20190830224125.26296-1-ankit.sinha@intel.com>

Does ThunderBolt need to be enabled by default? I want to be sure we're not including it in stages (generally considered advanced) where there's not a use case and setting it to FALSE works as expected.

> -----Original Message-----
> From: Sinha, Ankit
> Sent: Friday, August 30, 2019 3:41 PM
> To: devel@edk2.groups.io
> Cc: Kubacki, Michael A <michael.a.kubacki@intel.com>; Desimone, Nathaniel L
> <nathaniel.l.desimone@intel.com>
> Subject: [edk2-platforms] [PATCH v1 1/1] ClevoOpenBoardPkg/Features: Enable
> ThunderBolt
> 
> Add Thunderbolt ACPI table and enable feature PCD
> 
> Cc: Michael Kubacki <michael.a.kubacki@intel.com>
> Cc: Nate DeSimone <nathaniel.l.desimone@intel.com>
> 
> Signed-off-by: Ankit Sinha <ankit.sinha@intel.com>
> ---
>  Platform/Intel/ClevoOpenBoardPkg/OpenBoardPkg.dec                    |  1 +
>  Platform/Intel/ClevoOpenBoardPkg/N1xxWU/OpenBoardPkgConfig.dsc       |  2
> +-
>  Platform/Intel/ClevoOpenBoardPkg/Acpi/BoardAcpiDxe/Dsdt/Gpe.asl      |  1 -
>  Platform/Intel/ClevoOpenBoardPkg/Acpi/BoardAcpiDxe/Dsdt/Platform.asl |  1
> +
>  Platform/Intel/ClevoOpenBoardPkg/Features/Tbt/AcpiTables/Tbt.asl     | 55 ----
> ----------------
>  5 files changed, 3 insertions(+), 57 deletions(-)
> 
> diff --git a/Platform/Intel/ClevoOpenBoardPkg/OpenBoardPkg.dec
> b/Platform/Intel/ClevoOpenBoardPkg/OpenBoardPkg.dec
> index 28aedfef5988..9568d80b3aa9 100644
> --- a/Platform/Intel/ClevoOpenBoardPkg/OpenBoardPkg.dec
> +++ b/Platform/Intel/ClevoOpenBoardPkg/OpenBoardPkg.dec
> @@ -20,6 +20,7 @@ PACKAGE_GUID      = D04CCA80-5F71-478D-9A26-
> 72BC751D0106
>  Include
>  N1xxWU/Include
>  Features/Tbt/Include
> +Features/Tbt/AcpiTables
> 
>  [Guids]
>  gBoardModuleTokenSpaceGuid            =  {0x72d1fff7, 0xa42a, 0x4219, {0xb9,
> 0x95, 0x5a, 0x67, 0x53, 0x6e, 0xa4, 0x2a}}
> diff --git
> a/Platform/Intel/ClevoOpenBoardPkg/N1xxWU/OpenBoardPkgConfig.dsc
> b/Platform/Intel/ClevoOpenBoardPkg/N1xxWU/OpenBoardPkgConfig.dsc
> index ea759776fb17..653fb0638e1d 100644
> --- a/Platform/Intel/ClevoOpenBoardPkg/N1xxWU/OpenBoardPkgConfig.dsc
> +++ b/Platform/Intel/ClevoOpenBoardPkg/N1xxWU/OpenBoardPkgConfig.dsc
> @@ -48,7 +48,7 @@
>    gMinPlatformPkgTokenSpaceGuid.PcdTpm2Enable|TRUE
>  !endif
> 
> -  gBoardModuleTokenSpaceGuid.PcdTbtEnable|FALSE
> +  gBoardModuleTokenSpaceGuid.PcdTbtEnable|TRUE
>    #
>    # More fine granularity control below:
>    #
> diff --git
> a/Platform/Intel/ClevoOpenBoardPkg/Acpi/BoardAcpiDxe/Dsdt/Gpe.asl
> b/Platform/Intel/ClevoOpenBoardPkg/Acpi/BoardAcpiDxe/Dsdt/Gpe.asl
> index 8976c7a0ffcd..c95f4788e8a3 100644
> --- a/Platform/Intel/ClevoOpenBoardPkg/Acpi/BoardAcpiDxe/Dsdt/Gpe.asl
> +++ b/Platform/Intel/ClevoOpenBoardPkg/Acpi/BoardAcpiDxe/Dsdt/Gpe.asl
> @@ -19,7 +19,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
>    External(\_SB.PCI0.PEG1.HPME, MethodObj)
>    External(\_SB.PCI0.PEG2.HPME, MethodObj)
>    External(\_GPE.AL6F, MethodObj)
> -  External(\_SB.THDR, MethodObj)
>    External(\_GPE.P0L6, MethodObj)
>    External(\_GPE.P1L6, MethodObj)
>    External(\_GPE.P2L6, MethodObj)
> diff --git
> a/Platform/Intel/ClevoOpenBoardPkg/Acpi/BoardAcpiDxe/Dsdt/Platform.asl
> b/Platform/Intel/ClevoOpenBoardPkg/Acpi/BoardAcpiDxe/Dsdt/Platform.asl
> index 063093a08cb5..e5fa1de70035 100644
> --- a/Platform/Intel/ClevoOpenBoardPkg/Acpi/BoardAcpiDxe/Dsdt/Platform.asl
> +++ b/Platform/Intel/ClevoOpenBoardPkg/Acpi/BoardAcpiDxe/Dsdt/Platform.a
> +++ sl
> @@ -73,6 +73,7 @@ External(TBFF, MethodObj)  External(FFTB, MethodObj)
> External(SXTB, MethodObj)
> 
> +include ("Tbt.asl")
> 
>  // Interrupt specific registers
>  include("Itss.asl")
> diff --git a/Platform/Intel/ClevoOpenBoardPkg/Features/Tbt/AcpiTables/Tbt.asl
> b/Platform/Intel/ClevoOpenBoardPkg/Features/Tbt/AcpiTables/Tbt.asl
> index 2efe1a54f37e..e6cd45d49911 100644
> --- a/Platform/Intel/ClevoOpenBoardPkg/Features/Tbt/AcpiTables/Tbt.asl
> +++ b/Platform/Intel/ClevoOpenBoardPkg/Features/Tbt/AcpiTables/Tbt.asl
> @@ -868,13 +868,6 @@ Scope(\_GPE)
>              ADBG("Notify PEG2")
>              Notify(\_SB.PCI0.PEG2,0)
>            }
> -#ifndef CPU_CFL
> -          Case (4)
> -          {
> -            ADBG("Notify PEG3")
> -            Notify(\_SB.PCI0.PEG3,0)
> -          }
> -#endif
>          }
>        }//Switch(ToInteger(TBSS)) // TBT Selector
>      }//If(NOHP())
> @@ -1606,54 +1599,6 @@ If(LAnd(LEqual(TBTS, 1),LOr(LEqual(RPS0,
> 20),LEqual(RPS1, 20))))
>    }//End of Scope(\_SB.PCI0.RP20)
>  }
> 
> -If(LAnd(LEqual(TBTS, 1),LOr(LEqual(RPS0, 21),LEqual(RPS1, 21)))) -{
> -  Scope(\_SB.PCI0.PEG0)
> -  {
> -    Device(HRUS)// Host router Upstream port
> -    {
> -      Name(_ADR, 0x00000000)
> -
> -      Method(_RMV)
> -      {
> -        Return(TARS)
> -      } // end _RMV
> -    }
> -  }//End of Scope(\_SB.PCI0.PEG0)
> -}
> -
> -If(LAnd(LEqual(TBTS, 1),LOr(LEqual(RPS0, 22),LEqual(RPS1, 22)))) -{
> -  Scope(\_SB.PCI0.PEG1)
> -  {
> -    Device(HRUS)// Host router Upstream port
> -    {
> -      Name(_ADR, 0x00000000)
> -
> -      Method(_RMV)
> -      {
> -        Return(TARS)
> -      } // end _RMV
> -    }
> -  }//End of Scope(\_SB.PCI0.PEG1)
> -}
> -
> -If(LAnd(LEqual(TBTS, 1),LOr(LEqual(RPS0, 23),LEqual(RPS1, 23)))) -{
> -  Scope(\_SB.PCI0.PEG2)
> -  {
> -    Device(HRUS)// Host router Upstream port
> -    {
> -      Name(_ADR, 0x00000000)
> -
> -      Method(_RMV)
> -      {
> -        Return(TARS)
> -      } // end _RMV
> -    }
> -  }//End of Scope(\_SB.PCI0.PEG2)
> -}
> -
>  Scope(\_SB)
>  {
>      //
> --
> 2.16.2.windows.1


      reply	other threads:[~2019-09-04  7:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-30 22:41 [edk2-platforms] [PATCH v1 1/1] ClevoOpenBoardPkg/Features: Enable ThunderBolt Sinha, Ankit
2019-09-04  7:39 ` Kubacki, Michael A [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-list 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=49AB4ACB9627B8468F29D589A27B745588AA053B@ORSMSX121.amr.corp.intel.com \
    --to=devel@edk2.groups.io \
    /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