* [edk2-non-osi][PATCH 1/2] AmpereAltraBinPkg: Add PciePhyLib library and header
2020-12-01 8:54 [edk2-non-osi][PATCH 0/2] Introduce Silicon/Ampere and AmpereAltraBinPkg package vunguyen
@ 2020-12-01 8:54 ` Vu Nguyen
2020-12-01 8:54 ` [edk2-non-osi][PATCH 2/2] edk2-non-osi: Add AmpereAltraBinPkg maintainers Vu Nguyen
2020-12-02 12:44 ` [edk2-non-osi][PATCH 0/2] Introduce Silicon/Ampere and AmpereAltraBinPkg package Leif Lindholm
2 siblings, 0 replies; 5+ messages in thread
From: Vu Nguyen @ 2020-12-01 8:54 UTC (permalink / raw)
To: devel; +Cc: patches, Vu Nguyen, Leif Lindholm, Ard Biesheuvel, Nate DeSimone
Initialization library for PCIe PHY on Ampere Altra.
Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
Cc: Nate DeSimone <nathaniel.l.desimone@intel.com>
Signed-off-by: Vu Nguyen <vunguyen@os.amperecomputing.com>
---
Silicon/Ampere/License.txt | 25 +++
.../Ampere/AmpereAltraBinPkg/Ac01BinPkg.dec | 16 ++
.../Library/PciePhyLib/PciePhyLib.inf | 23 +++
.../Include/Library/PciePhyLib.h | 165 ++++++++++++++++++
.../Library/PciePhyLib/PciePhyLib.lib | Bin 0 -> 26026 bytes
5 files changed, 229 insertions(+)
create mode 100644 Silicon/Ampere/License.txt
create mode 100644 Silicon/Ampere/AmpereAltraBinPkg/Ac01BinPkg.dec
create mode 100644 Silicon/Ampere/AmpereAltraBinPkg/Library/PciePhyLib/PciePhyLib.inf
create mode 100644 Silicon/Ampere/AmpereAltraBinPkg/Include/Library/PciePhyLib.h
create mode 100644 Silicon/Ampere/AmpereAltraBinPkg/Library/PciePhyLib/PciePhyLib.lib
diff --git a/Silicon/Ampere/License.txt b/Silicon/Ampere/License.txt
new file mode 100644
index 000000000000..2fd43292fa64
--- /dev/null
+++ b/Silicon/Ampere/License.txt
@@ -0,0 +1,25 @@
+Copyright (c) 2020, Ampere Computing LLC. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+
+1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in
+ the documentation and/or other materials provided with the
+ distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
+ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGE.
diff --git a/Silicon/Ampere/AmpereAltraBinPkg/Ac01BinPkg.dec b/Silicon/Ampere/AmpereAltraBinPkg/Ac01BinPkg.dec
new file mode 100644
index 000000000000..2a8ec5e693ec
--- /dev/null
+++ b/Silicon/Ampere/AmpereAltraBinPkg/Ac01BinPkg.dec
@@ -0,0 +1,16 @@
+## @file
+#
+# Copyright (c) 2020, Ampere Computing LLC. All rights reserved.<BR>
+#
+# SPDX-License-Identifier: BSD-2-Clause-Patent
+#
+##
+
+[Defines]
+ DEC_SPECIFICATION = 0x0001001B
+ PACKAGE_NAME = Ac01BinPkg
+ PACKAGE_GUID = 04F7CB64-0F97-4D05-86B8-34987F4E1B21
+ PACKAGE_VERSION = 0.1
+
+[Includes]
+ Include
diff --git a/Silicon/Ampere/AmpereAltraBinPkg/Library/PciePhyLib/PciePhyLib.inf b/Silicon/Ampere/AmpereAltraBinPkg/Library/PciePhyLib/PciePhyLib.inf
new file mode 100644
index 000000000000..84b1b58ed58c
--- /dev/null
+++ b/Silicon/Ampere/AmpereAltraBinPkg/Library/PciePhyLib/PciePhyLib.inf
@@ -0,0 +1,23 @@
+## @file
+#
+# Copyright (c) 2020, Ampere Computing LLC. All rights reserved.<BR>
+#
+# SPDX-License-Identifier: BSD-2-Clause-Patent
+#
+##
+
+[Defines]
+ INF_VERSION = 0x0001001B
+ BASE_NAME = PciePhyLib
+ FILE_GUID = F2AD0AD0-D4B6-11E3-9C1A-0800200C9A66
+ MODULE_TYPE = BASE
+ VERSION_STRING = 1.0
+ LIBRARY_CLASS = PciePhyLib
+
+[Binaries.AArch64]
+ LIB|PciePhyLib.lib|*
+
+[Packages]
+ MdePkg/MdePkg.dec
+ ArmPkg/ArmPkg.dec
+ ArmPlatformPkg/ArmPlatformPkg.dec
diff --git a/Silicon/Ampere/AmpereAltraBinPkg/Include/Library/PciePhyLib.h b/Silicon/Ampere/AmpereAltraBinPkg/Include/Library/PciePhyLib.h
new file mode 100644
index 000000000000..54680f304677
--- /dev/null
+++ b/Silicon/Ampere/AmpereAltraBinPkg/Include/Library/PciePhyLib.h
@@ -0,0 +1,165 @@
+/** @file
+
+ Copyright (c) 2020, Ampere Computing LLC. All rights reserved.<BR>
+
+ SPDX-License-Identifier: BSD-2-Clause-Patent
+
+**/
+
+#ifndef __PCIE_PHY_LIB_H__
+#define __PCIE_PHY_LIB_H__
+
+#define PHY_TX_PARAM_SIZE 2
+#define PHY_RX_PARAM_SIZE 2
+
+#define BUG_67112 1
+#define UPDATE_SRAM 0
+
+#define MULTWRITE_ENABLE 0
+#define MULTI_WR_EN 0
+#define PHY_N_ADDR_OFFSET 0x40000
+#define SNPS_PHY0_BASE_ADDR 0x100000
+#define SNPS_PHY1_BASE_ADDR (SNPS_PHY0_BASE_ADDR + PHY_N_ADDR_OFFSET)
+#define SNPS_PHY2_BASE_ADDR (SNPS_PHY1_BASE_ADDR + PHY_N_ADDR_OFFSET)
+#define SNPS_PHY3_BASE_ADDR (SNPS_PHY2_BASE_ADDR + PHY_N_ADDR_OFFSET)
+
+#define BROADCAST_PMA(Src) ((Src | (0x5 << 12)) * 4)
+#define BROADCAST_RAW_PCS(Src) ((Src | (0x6 << 12)) * 4)
+#define BROADCAST_RAW_PCS_AON(Src) ((Src | (0x7 << 12)) * 4)
+
+#define PHY_CALIB_TO_VALUE 1000
+#define SRAM_INIT_TO_VALUE 1000
+#define MRDY_DELAY 10
+
+#define SRAM_BYPASS_0 0
+#define SRAM_BYPASS_1 1
+#define SRAM_BYPASS_2 2
+#define SRAM_BYPASS_3 3
+
+#define SRAM_BOOTLOAD_BYPASS_0 0x1
+#define SRAM_BOOTLOAD_BYPASS_1 0x2
+#define SRAM_BOOTLOAD_BYPASS_2 0x4
+#define SRAM_BOOTLOAD_BYPASS_3 0x8
+
+#define SRIS_MODE_EN 0
+#define CLK_REF_SEL 0
+#define CLK_SSC_SEL 1
+
+#define CRP_SEL 1
+#define MAX_PHY 3
+
+#define LANE_PER_PHY_NUM_MAX 4
+
+#define HOST_SECURE_ACCESS(Addr) (UINT64)(Addr | 0x40000000000000)
+#define STARTING_SRAM_ADDRESS 0x130000
+
+/*
+ * PCIe PHY error code
+ */
+typedef enum {
+ PHY_SRAM_UPDATE_FAIL = -1,
+ PHY_INIT_PASS = 0,
+ PHY_ROM_ECC_FAIL,
+ PHY_SRAM_ECC_FAIL,
+ PHY_CALIB_FAIL,
+ PHY_CALIB_TIMEOUT,
+ PHY_PLL_FAIL
+} PHY_STATUS;
+
+typedef enum {
+ PHY_DBG_ERROR = 0x0001,
+ PHY_DBG_INFO = 0x0002,
+ PHY_DBG_WARN = 0x0004,
+ PHY_DBG_VERBOSE = 0x0008,
+ GEN1 = 0,
+ GEN2 = 1,
+ GEN3 = 2,
+ GEN4 = 3,
+ CCIX = 4
+} PHY_DBG_FLAGS;
+
+typedef struct {
+ UINT8 IsCalBySram;
+ UINT32 PllSettings;
+ UINT64 TuneTxParam[PHY_RX_PARAM_SIZE];
+ UINT64 TuneRxParam[PHY_TX_PARAM_SIZE];
+} PHY_SETTING;
+
+/**
+ * struct serdes_plat_resource - Serdes Platform Operations
+ * @Puts: Prints string to serial console
+ * @PutInt: Prints 32-bit unsigned integer to serial console
+ * @PutHex: Prints 32-bit unsigned hex to serial console
+ * @PutHex64: Prints 64-bit unsigned hex to serial console
+ * @DebugPrint: Prints formated string to serial console
+ * @MmioRd: Reads 32-bit unsigned integer
+ * @MmioWr: Writes 32-bit unsigned integer
+ */
+typedef struct {
+ VOID (*Puts)(CONST CHAR8 *Msg);
+ VOID (*PutInt)(UINT32 Val);
+ VOID (*PutHex)(UINT32 Val);
+ VOID (*PutHex64)(UINT64 Val);
+ INT32 (*DebugPrint)(CONST CHAR8 *Fmt, ...);
+ VOID (*MmioRd)(UINT64 Addr, UINT32 *Val);
+ VOID (*MmioWr)(UINT64 Addr, UINT32 Val);
+ VOID (*UsDelay)(UINT32 Val);
+} PHY_PLAT_RESOURCE;
+
+typedef struct {
+ UINT64 SdsAddr; /* PHY base address */
+ UINT64 PcieCtrlInfo; /* PCIe controller related information
+ * BIT0-1: SoC revision
+ * 0: Ampere Altra, 1: Ampere Altra Max, 2: Siryn
+ * BIT2 : SocketID (0: Socket0, 1: Socket1)
+ * BIT3 : Reserved
+ * BIT4-6: Root Complex context (RCA0/1/2/3 or RCB0/4/5/6)
+ * BIT7 : Reserved
+ * BIT8-9: PHY Numbers within RCA/RCB [0 to 3 each controls 4 lane]
+ * 0: x16, 1: x8 , 2:x4, 3: 0x2
+ * BIT10-11 : Gen
+ * 0: Gen1, 1: Gen2, 2: Gen3, 3: Gen4 + ESM
+ * BIT13-15 : Setting configuration selection
+ */
+ PHY_SETTING PhySetting; /* PHY input setting */
+ PHY_PLAT_RESOURCE *PhyPlatResource; /* Debug & misc function pointers */
+ PHY_DBG_FLAGS Debug;
+} PHY_CONTEXT;
+
+/*
+ * Input:
+ * Ctx - Serdes context pointer
+ *
+ * Return:
+ * PHY_STATUS - Return status
+ */
+PHY_STATUS
+SerdesSramUpdate (
+ PHY_CONTEXT *Ctx
+ );
+
+/*
+ * Input:
+ * Ctx - Serdes context pointer
+ *
+ * Return:
+ * PHY_STATUS - Return status
+ */
+PHY_STATUS
+SerdesInitClkrst (
+ PHY_CONTEXT *Ctx
+ );
+
+/*
+ * Input:
+ * Ctx - Serdes context pointer
+ *
+ * Return:
+ * PHY_STATUS - Return status
+ */
+PHY_STATUS
+SerdesInitCalib (
+ PHY_CONTEXT *Ctx
+ );
+
+#endif
diff --git a/Silicon/Ampere/AmpereAltraBinPkg/Library/PciePhyLib/PciePhyLib.lib b/Silicon/Ampere/AmpereAltraBinPkg/Library/PciePhyLib/PciePhyLib.lib
new file mode 100644
index 0000000000000000000000000000000000000000..88aaf2cd4adc30bba4bd3b5bb078e1fa0579825d
GIT binary patch
literal 26026
zcmeI5YiwM{b;pNXs(R59Wh;>qInl~?Dn*H?B~8gntkxSV4>wO&k^{F0O0LL_#hNdZ
zbSuFQN;g2@HV;U(QRG7r8109;X$lBMk$`BDs_6p;nh%bh1o_YpOT`8J!9bf7D8L{p
z`~TfLXL<H=?^3E5g_3xHyLbL)&di)SbLQN0FRk&Oqm{|Q)4#syV6l;U4wnx1965aW
z$l+qKlvMfOV)0N<Uu-b2DTJ^yg!VsOnd_6k8^UjYJ$p@7AM2m0P7YP4`bWoysv*Ho
zPV_%k9qZ%gUeD=;(^KaR4i2B`Ej7YJ2^^`6RmYM(8e!U7y|%ZpHtjjBb$vTV+WTbX
z_v>BsC0%$<I)>+@!+1_QQk~-lYvdgYQ$thz<G)v(oE(;MqM@cHE2I5`vR40-6GN5h
ze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o6CZT)h2F{l~Y-={J<h4f=%~
zUrgj;9}Roc`$DO4uKJG)QeW`C==^R#es{$D?r3=88J+dru$Mc(biAhXz!x4!uYK8d
z=G<SMmzkXDcz1cesB?wAt((rJS(|3IX(ngusIfwLUm9;7kPe(5DIIGn&)uJ%ANif1
z+1bPYlEgR8vete|X;tN3*(ZLgVnLJ2Qdh!Q%1?8$>=Vh(r_p!t_+7#GcQxOU(_GDs
z8;d+sx1ndmCUI1J|9vxl1`Z#Ke8ZM&{7&S*Uw5cx9W^{u?W1U3E_luV%YblCI(*nA
zQ>NeGQ^xnBY3=>r?D?a}xA%YJ+r3To4X>a#*!y!S<2RObMKguG_vdHhca(uBc(w1(
z6Pa;syl8HNA@BX!+IN^A#THrp^WLAWeYrkTTCnl$p7;KI;R^MqpJq9)wYR^Ep*Mee
eG5wdzd3Q$pkELqYe@$;=<mJ5feQde+=l=udy?>$r
literal 0
HcmV?d00001
--
2.17.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [edk2-non-osi][PATCH 0/2] Introduce Silicon/Ampere and AmpereAltraBinPkg package
2020-12-01 8:54 [edk2-non-osi][PATCH 0/2] Introduce Silicon/Ampere and AmpereAltraBinPkg package vunguyen
2020-12-01 8:54 ` [edk2-non-osi][PATCH 1/2] AmpereAltraBinPkg: Add PciePhyLib library and header Vu Nguyen
2020-12-01 8:54 ` [edk2-non-osi][PATCH 2/2] edk2-non-osi: Add AmpereAltraBinPkg maintainers Vu Nguyen
@ 2020-12-02 12:44 ` Leif Lindholm
2020-12-02 14:34 ` Vu Nguyen
2 siblings, 1 reply; 5+ messages in thread
From: Leif Lindholm @ 2020-12-02 12:44 UTC (permalink / raw)
To: Vu Nguyen; +Cc: devel, patches, Ard Biesheuvel, Nate DeSimone
Hi Vu,
Thanks for this.
However, as previously communicated to your colleague:
---
As for the mechanism, please generate a separate patch set, adding
--no-binary to the git format-patch command line.
Then make the commits available in a public repository referred to in
the cover letter.
----
As a feedback detail - please drop any leading _ characters from
include file header guards (or other macros), these are reserved for
toolchain use.
Also, since this is the first on-list communication about this
platform, it would be helpful if the cover letter stated what these
files are and why they are being upstreamed.
Best Regards,
Leif
On Tue, Dec 01, 2020 at 15:54:07 +0700, Vu Nguyen wrote:
> Cc: Leif Lindholm <leif@nuviainc.com>
> Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
> Cc: Nate DeSimone <nathaniel.l.desimone@intel.com>
>
> Vu Nguyen (2):
> AmpereAltraBinPkg: Add PciePhyLib library and header
> edk2-non-osi: Add AmpereAltraBinPkg maintainers
>
> Maintainers.txt | 4 +
> Silicon/Ampere/License.txt | 25 +++
> .../Ampere/AmpereAltraBinPkg/Ac01BinPkg.dec | 16 ++
> .../Library/PciePhyLib/PciePhyLib.inf | 23 +++
> .../Include/Library/PciePhyLib.h | 165 ++++++++++++++++++
> .../Library/PciePhyLib/PciePhyLib.lib | Bin 0 -> 26026 bytes
> 6 files changed, 233 insertions(+)
> create mode 100644 Silicon/Ampere/License.txt
> create mode 100644 Silicon/Ampere/AmpereAltraBinPkg/Ac01BinPkg.dec
> create mode 100644 Silicon/Ampere/AmpereAltraBinPkg/Library/PciePhyLib/PciePhyLib.inf
> create mode 100644 Silicon/Ampere/AmpereAltraBinPkg/Include/Library/PciePhyLib.h
> create mode 100644 Silicon/Ampere/AmpereAltraBinPkg/Library/PciePhyLib/PciePhyLib.lib
>
> --
> 2.17.1
>
^ permalink raw reply [flat|nested] 5+ messages in thread