public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Leif Lindholm <leif.lindholm@linaro.org>
To: Heyi Guo <heyi.guo@linaro.org>
Cc: linaro-uefi@lists.linaro.org, edk2-devel@lists.01.org,
	graeme.gregory@linaro.org, ard.biesheuvel@linaro.org,
	guoheyi@huawei.com, wanghuiqiang@huawei.com,
	huangming23@huawei.com, zhangjinsong2@huawei.com,
	mengfanrong@huawei.com, huangdaode@hisilicon.com,
	john.garry@huawei.com, waip23@126.com
Subject: Re: [PATCH edk2-platforms v3 14/15] Hisilicon/D05/ACPI: Add Pcie, HNS and SAS PXM
Date: Tue, 6 Feb 2018 15:05:25 +0000	[thread overview]
Message-ID: <20180206150525.e4fazkv4jneki6by@bivouac.eciton.net> (raw)
In-Reply-To: <1517573143-11451-15-git-send-email-heyi.guo@linaro.org>

On Fri, Feb 02, 2018 at 08:05:42PM +0800, Heyi Guo wrote:
> Add PXM method for Pcie device, HNS device and SAS device.
> Add STA method for HNS.
> 
> Contributed-under: TianoCore Contribution Agreement 1.1
> Signed-off-by: hensonwang <wanghuiqiang@huawei.com>
> Signed-off-by: Ming Huang <huangming23@huawei.com>
> Signed-off-by: Heyi Guo <heyi.guo@linaro.org>
> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
> Reviewed-by: Graeme Gregory <graeme@xora.org.uk>

Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>

> ---
>  Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05Hns.asl |  9 ++++++
>  Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05Pci.asl | 34 ++++++++++++++++++--
>  Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05Sas.asl | 19 +++++++++--
>  3 files changed, 57 insertions(+), 5 deletions(-)
> 
> diff --git a/Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05Hns.asl b/Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05Hns.asl
> index 11c28ba..7aa04af 100644
> --- a/Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05Hns.asl
> +++ b/Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05Hns.asl
> @@ -233,6 +233,15 @@ Scope(_SB)
>        }
>      })
>  
> +    Method (_PXM, 0, NotSerialized)
> +    {
> +      Return(0x00)
> +    }
> +    Method (_STA, 0, NotSerialized)
> +    {
> +      Return(0x0F)
> +    }
> +
>      //reset XGE port
>      //Arg0 : XGE port index in dsaf
>      //Arg1 : 0 reset, 1 cancle reset
> diff --git a/Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05Pci.asl b/Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05Pci.asl
> index 55c7f50..122e4f0 100644
> --- a/Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05Pci.asl
> +++ b/Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05Pci.asl
> @@ -141,7 +141,10 @@ Scope(_SB)
>      {
>        Return (0xf)
>      }
> -
> +    Method (_PXM, 0, NotSerialized)
> +    {
> +      Return(0x00)
> +    }
>    } // Device(PCI2)
>  
>    Device (RES2)
> @@ -240,7 +243,10 @@ Scope(_SB)
>      {
>        Return (RBYV())
>      }
> -
> +    Method (_PXM, 0, NotSerialized)
> +    {
> +      Return(0x01)
> +    }
>    } // Device(PCI4)
>    Device (RES4)
>    {
> @@ -338,6 +344,10 @@ Scope(_SB)
>      {
>        Return (RBYV())
>      }
> +    Method (_PXM, 0, NotSerialized)
> +    {
> +      Return(0x01)
> +    }
>    } // Device(PCI5)
>    Device (RES5)
>    {
> @@ -435,6 +445,10 @@ Scope(_SB)
>      {
>        Return (RBYV())
>      }
> +    Method (_PXM, 0, NotSerialized)
> +    {
> +      Return(0x01)
> +    }
>    } // Device(PCI6)
>    Device (RES6)
>    {
> @@ -531,6 +545,10 @@ Scope(_SB)
>      {
>        Return (RBYV())
>      }
> +    Method (_PXM, 0, NotSerialized)
> +    {
> +      Return(0x01)
> +    }
>    } // Device(PCI7)
>    Device (RES7)
>    {
> @@ -690,6 +708,10 @@ Scope(_SB)
>      {
>        Return (0xf)
>      }
> +    Method (_PXM, 0, NotSerialized)
> +    {
> +      Return(0x02)
> +    }
>    } // Device(PCIa)
>    Device (RESa)
>    {
> @@ -810,6 +832,10 @@ Scope(_SB)
>      {
>        Return (RBYV())
>      }
> +    Method (_PXM, 0, NotSerialized)
> +    {
> +      Return(0x03)
> +    }
>    } // Device(PCIc)
>  
>    Device (RESc)
> @@ -907,6 +933,10 @@ Scope(_SB)
>      {
>        Return (RBYV())
>      }
> +    Method (_PXM, 0, NotSerialized)
> +    {
> +      Return(0x03)
> +    }
>    } // Device(PCId)
>    Device (RESd)
>    {
> diff --git a/Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05Sas.asl b/Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05Sas.asl
> index 6455130..d5b7e2f 100644
> --- a/Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05Sas.asl
> +++ b/Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05Sas.asl
> @@ -88,7 +88,10 @@ Scope(_SB)
>        Store(0x7ffff, CLK)
>        Sleep(1)
>      }
> -
> +    Method (_PXM, 0, NotSerialized)
> +    {
> +      Return(0x00)
> +    }
>  	Method (_STA, 0, NotSerialized)
>  	{
>  	  Return (0x0)
> @@ -169,8 +172,15 @@ Scope(_SB)
>        Store(0x7ffff, CLK)
>        Sleep(1)
>      }
> +    Method (_PXM, 0, NotSerialized)
> +    {
> +      Return(0x00)
> +    }
> +    Method (_STA, 0, NotSerialized)
> +    {
> +      Return(0x0F)
> +    }
>    }
> -
>    Device(SAS2) {
>      Name(_HID, "HISI0162")
>      Name(_CCA, 1)
> @@ -244,7 +254,10 @@ Scope(_SB)
>        Store(0x7ffff, CLK)
>        Sleep(1)
>      }
> -
> +    Method (_PXM, 0, NotSerialized)
> +    {
> +      Return(0x00)
> +    }
>  	Method (_STA, 0, NotSerialized)
>  	{
>  	  Return (0x0)
> -- 
> 1.9.1
> 


  reply	other threads:[~2018-02-06 14:59 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-02 12:05 [PATCH edk2-platforms v3 00/15] Improve D0x platforms and bug fix Heyi Guo
2018-02-02 12:05 ` [PATCH edk2-platforms v3 01/15] Hisilicon/D05: Move Madt definition to head file Heyi Guo
2018-02-06 14:58   ` Leif Lindholm
2018-02-02 12:05 ` [PATCH edk2-platforms v3 02/15] Hisilicon/D05: Add PPTT support Heyi Guo
2018-02-06 15:00   ` Leif Lindholm
2018-02-02 12:05 ` [PATCH edk2-platforms v3 03/15] Hisilicon/D0x/BDS: Switch to Generic BDS driver Heyi Guo
2018-02-02 12:05 ` [PATCH edk2-platforms v3 04/15] Hisilicon/D0x: Break BMC SetBoot option out into separate library Heyi Guo
2018-02-02 12:05 ` [PATCH edk2-platforms v3 05/15] Hisilicon D03/D05: Add capsule upgrade support Heyi Guo
2018-02-06 15:01   ` Leif Lindholm
2018-02-02 12:05 ` [PATCH edk2-platforms v3 06/15] Hisilicon D03/D05: Open SasPlatform source code Heyi Guo
2018-02-02 12:05 ` [PATCH edk2-platforms v3 07/15] Hisilicon D03/D05: Open SnpPlatform " Heyi Guo
2018-02-02 12:05 ` [PATCH edk2-platforms v3 08/15] Hilisicon: Change DmaLib to CoherentDmaLib Heyi Guo
2018-02-02 12:05 ` [PATCH edk2-platforms v3 09/15] Hisilicon/Smbios: Indicate use of ProcessorFamily2 in type 4 table Heyi Guo
2018-02-02 12:05 ` [PATCH edk2-platforms v3 10/15] Hisilicon/PCIe: Disable PCIe ASPM Heyi Guo
2018-02-02 12:05 ` [PATCH edk2-platforms v3 11/15] Hisilicon/D05: Replace SP805Watchdog by WatchdogTimer driver Heyi Guo
2018-02-02 12:05 ` [PATCH edk2-platforms v3 12/15] Hisilicon/D03: " Heyi Guo
2018-02-02 12:05 ` [PATCH edk2-platforms v3 13/15] Hisilicon/D05/ACPI: Add ITS PXM Heyi Guo
2018-02-06 15:04   ` Leif Lindholm
2018-02-07 10:37     ` graeme.gregory
2018-02-02 12:05 ` [PATCH edk2-platforms v3 14/15] Hisilicon/D05/ACPI: Add Pcie, HNS and SAS PXM Heyi Guo
2018-02-06 15:05   ` Leif Lindholm [this message]
2018-02-02 12:05 ` [PATCH edk2-platforms v3 15/15] Hisilicon D03/D05: Update firmware version to 18.02 Heyi Guo

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=20180206150525.e4fazkv4jneki6by@bivouac.eciton.net \
    --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