[Linaro-uefi,linaro-uefi,v2,09/11] D05/ACPI: Disable D05 SAS0 and SAS2

Message ID 1505918938-52550-13-git-send-email-heyi.guo@linaro.org
State New
Headers show
Series
  • Update D03/D05 binary for edk2 update and bug fix.
Related show

Commit Message

gary guo Sept. 20, 2017, 2:48 p.m.
From: Ming Huang <waip23@foxmail.com>

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ming Huang <huangming23@huawei.com>
---
 Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05Sas.asl | 10 ++++++++++
 1 file changed, 10 insertions(+)

Comments

Leif Lindholm Sept. 20, 2017, 3:59 p.m. | #1
On Wed, Sep 20, 2017 at 10:48:56PM +0800, Heyi Guo wrote:
> From: Ming Huang <waip23@foxmail.com>

Why are these being disabled?

Regards,

Leif

> Contributed-under: TianoCore Contribution Agreement 1.1
> Signed-off-by: Ming Huang <huangming23@huawei.com>
> ---
>  Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05Sas.asl | 10 ++++++++++
>  1 file changed, 10 insertions(+)
> 
> diff --git a/Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05Sas.asl b/Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05Sas.asl
> index 93beb95..6455130 100644
> --- a/Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05Sas.asl
> +++ b/Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05Sas.asl
> @@ -88,6 +88,11 @@ Scope(_SB)
>        Store(0x7ffff, CLK)
>        Sleep(1)
>      }
> +
> +	Method (_STA, 0, NotSerialized)
> +	{
> +	  Return (0x0)
> +	}
>    }
>  
>    Device(SAS1) {
> @@ -239,6 +244,11 @@ Scope(_SB)
>        Store(0x7ffff, CLK)
>        Sleep(1)
>      }
> +
> +	Method (_STA, 0, NotSerialized)
> +	{
> +	  Return (0x0)
> +	}
>    }
>  
>  }
> -- 
> 1.9.1
>

Patch

diff --git a/Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05Sas.asl b/Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05Sas.asl
index 93beb95..6455130 100644
--- a/Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05Sas.asl
+++ b/Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05Sas.asl
@@ -88,6 +88,11 @@  Scope(_SB)
       Store(0x7ffff, CLK)
       Sleep(1)
     }
+
+	Method (_STA, 0, NotSerialized)
+	{
+	  Return (0x0)
+	}
   }
 
   Device(SAS1) {
@@ -239,6 +244,11 @@  Scope(_SB)
       Store(0x7ffff, CLK)
       Sleep(1)
     }
+
+	Method (_STA, 0, NotSerialized)
+	{
+	  Return (0x0)
+	}
   }
 
 }