From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:4001:c0b::242; helo=mail-it0-x242.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-it0-x242.google.com (mail-it0-x242.google.com [IPv6:2607:f8b0:4001:c0b::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id D18242234432F for ; Sat, 20 Jan 2018 03:03:06 -0800 (PST) Received: by mail-it0-x242.google.com with SMTP id q8so4925073itb.2 for ; Sat, 20 Jan 2018 03:08:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=LC5+HVRgEGCG69aH8WT02JjHwqP+us7c3kxCF3FTcuY=; b=jRQ9coNcFXjsUcbSrbM3tWw1vjQBjSZuaozfm1imotZB9eErn3vPxgXbeDycuuor3U Iu4P17/injwcPHDI5GjAFMMS43N/W60C0KZOhXMLvKqbatNX22my4dDXD6ebVtEzJeUr rHRgjn/v/ZT3fxAZGRzDBVBWkm11IEismbDGs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=LC5+HVRgEGCG69aH8WT02JjHwqP+us7c3kxCF3FTcuY=; b=h7A2ld2b/dlLVTAW8MCms8ngtKIiYSLXtglOXAL4aNy2hjyQPQiN3i9ufSno8QiVOf zD6JuI64hc7nMzEpso1zFvLsLJ/6pSqmKBr39OAzLC7ANUbO1jE1sUh3usVM/boCWChp EbDG/MmX2UPQyqor4Nuz/E4GCTOh9qsjweF07z22sUwSnF64rESS0qO5GGkPhooJaS2D aSJeNTDrdvn4/4n8sjfCjTnCRSJo8OsikCqzHrvEkZtP4f9kFFCcnCeZaJ3GP3QPRNIJ r2yIY0s6uAsUt3cUe/sDhlvBLUHqJdSH+/FLsOr5auWosxvPyVHsXbAnZwGqzIX7txpW 7KPQ== X-Gm-Message-State: AKwxytdTpxTjYdWPCbZNLUagEOGLYexkOwAzhTI+F8tln0U2Fdlxbbj/ 0Xh+hw71szyPGdgCJX1zLzTxPcDm1PI9uhLAhdidjA== X-Google-Smtp-Source: AH8x227Y++LKV46d+BH3+D6yjt3lZG/yR7Nke0R39Xj9JNAsf7BZskjUOYCWiipa4FoP79bflpimQmVTalANtZU0Uwg= X-Received: by 10.36.44.197 with SMTP id i188mr1354880iti.102.1516446509771; Sat, 20 Jan 2018 03:08:29 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.112.13 with HTTP; Sat, 20 Jan 2018 03:08:29 -0800 (PST) In-Reply-To: <1516287703-35516-13-git-send-email-huangming23@huawei.com> References: <1516287703-35516-1-git-send-email-huangming23@huawei.com> <1516287703-35516-13-git-send-email-huangming23@huawei.com> From: Ard Biesheuvel Date: Sat, 20 Jan 2018 11:08:29 +0000 Message-ID: To: Ming Huang Cc: Leif Lindholm , linaro-uefi , "edk2-devel@lists.01.org" , Graeme Gregory , guoheyi@huawei.com, wanghuiqiang , huangming , Jason Zhang , Mengfanrong , waip23@126.com Subject: Re: [PATCH edk2-platforms v1 12/14] Hisilicon/D05/ACPI: Add Pcie, HNS and SAS PXM X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Jan 2018 11:03:07 -0000 Content-Type: text/plain; charset="UTF-8" On 18 January 2018 at 15:01, Ming Huang 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 > Signed-off-by: Ming Huang > Signed-off-by: Heyi Guo Reviewed-by: Ard Biesheuvel > --- > 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 >