WO2019100800A1 - Method for adjusting uplink rx parameters based on purley platform - Google Patents

Method for adjusting uplink rx parameters based on purley platform Download PDF

Info

Publication number
WO2019100800A1
WO2019100800A1 PCT/CN2018/103438 CN2018103438W WO2019100800A1 WO 2019100800 A1 WO2019100800 A1 WO 2019100800A1 CN 2018103438 W CN2018103438 W CN 2018103438W WO 2019100800 A1 WO2019100800 A1 WO 2019100800A1
Authority
WO
WIPO (PCT)
Prior art keywords
parameter
value
command
motherboard
pch
Prior art date
Application number
PCT/CN2018/103438
Other languages
French (fr)
Chinese (zh)
Inventor
王鹏
Original Assignee
郑州云海信息技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 郑州云海信息技术有限公司 filed Critical 郑州云海信息技术有限公司
Publication of WO2019100800A1 publication Critical patent/WO2019100800A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods

Definitions

  • the invention relates to the field of computer technology, in particular to a method for adjusting Uplink Rx parameters based on the Purley platform.
  • Uplink works like PCIe Gen3.
  • the adaptive mechanism of the link from the PCH to the CPU direction is perfect, and the adaptive mechanism on the link from the CPU to the PCH has a problem, and the adaptively derived parameter is not necessarily the optimal parameter of the link, resulting in There is a signal integrity risk on the Uplink link.
  • the existing solution is to modify the Rx parameters (receiver equalizer parameters) such as CTLE (Continuous Time Linear Equalizer), VGA, TSM (Trust Service Manager) in the BIOS code, and then This version of the BIOS is written to the flash of the machine for testing.
  • Rx parameters such as CTLE (Continuous Time Linear Equalizer), VGA, TSM (Trust Service Manager) in the BIOS code
  • the purpose of the present invention is to provide a method for adjusting the Uplink Rx parameters based on the Purley platform, which is used to solve the problem of re-writing the BIOS multiple times when adjusting the Uplink Rx parameters of the PCH terminal.
  • the technical solution adopted by the present invention to solve the technical problem thereof is: a method for adjusting an Uplink Rx parameter based on the Purley platform, comprising the following steps:
  • Stop other operations of the CPU only respond to the command to modify the Rx Eq parameter, and determine the prefix to execute the command to modify the Rx Eq parameter;
  • the method further includes: configuring a motherboard to be tested, connecting an XDP interface of the motherboard to be tested to the PC, and opening a process of the Rx parameter adjustment script on the PC,
  • the step of ensuring that the Rx parameter modification is valid is further included.
  • the parameter modification is valid.
  • the link rate of the uplink is decreased, the corresponding PCIe port is re-enable, and the link rate is re-trained back to Gen3 to make the parameter modification take effect.
  • the corresponding Rx parameter value of the PCH end includes a CTLE value, a TSM value, and a VGA value of the PCH end.
  • CTLE value of the PCH terminal ranges from 0 to 15
  • TSM value ranges from 20 to 44
  • VGA value ranges from 0 to 15.
  • the PTLE end of the Uplink link under the x8 broadband has a CTLE value of 6, a TSM value of 28, and a VGA value of 13.
  • the corresponding Rx parameter value of the PCH end can be modified.
  • the BIOS can be rewritten without each modification, and after the Rx parameter is modified, the corresponding test of the motherboard can be directly performed. Restart the system to improve work efficiency.
  • Embodiment 1 is a flow chart of a method according to Embodiment 1 of the present invention.
  • Embodiment 2 is a flow chart of a method according to Embodiment 2 of the present invention.
  • Embodiment 3 is a flow chart of a method according to Embodiment 3 of the present invention.
  • the process of Embodiment 1 of the method of the present invention includes the following steps:
  • S3 Acquire an Rx parameter modification command group, invoke a command in the command group, and modify a value of a corresponding Rx parameter of the PCH end.
  • step S1 by executing the command halt(), the CPU is stopped, so that the CPU only responds to the command to modify the Rx Eq (the Rx parameter is the receiver equalizer parameter, Eq is the abbreviation of Equaliser, meaning the equalizer) parameter, and does not Other calculation operations.
  • the command unistart() to make the command prefixed with uni.
  • step S2 the uni.showStatus() command is executed to obtain the status of all lanes of the current CPU uniPhy part and confirm that the uplink link is at the corresponding bandwidth rate, such as the Gen3 rate of the x8 bandwidth, and the PCIe port to be adjusted.
  • (Port) Whether it is in the L0 state (full line operation status), and confirm the status of all lanes of the port, 1 means that the lane is connected, and 0 means that the lane is not connected.
  • Run the pcie.port_map() command to obtain the port number of the port to be adjusted.
  • the Import LbgUplink command is executed, and the LbgUplink command group is loaded.
  • the command group includes the value of the Rx parameter of the PCH end in the corresponding bandwidth. Therefore, when the Rx parameter adjustment is performed, only the corresponding in the LbgUplink command group is called.
  • the command can be used to modify the Rx parameters and improve work efficiency.
  • the value of the corresponding Rx parameter on the PCH terminal includes the CTLE value, the TSM value, and the VGA value of the PCH terminal.
  • the CTLE value ranges from 0 to 15, the TSM value ranges from 20 to 44, and the VGA value ranges from 0 to 0. ⁇ 15. Take the Uplink link under the x8 bandwidth as an example.
  • the CTLE value is 6, the TSM value is 28, and the VGA value is 13.
  • the method embodiment of the present invention includes the following steps:
  • S3 Acquire an Rx parameter modification command group, invoke a command in the command group, and modify a value of a corresponding Rx parameter of the PCH end.
  • step S0 The specific implementation process of step S0 is:
  • BIOS Basic Input Output System
  • EV Exposure Value
  • DFX Design for X is designed for each part of the product life cycle, where X The feature option can be set to enable on behalf of the product life cycle or one of the links, and the operating system is restarted;
  • steps S01-S03 is a process of setting up a parameter modification environment and acquiring an Rx parameter adjustment script Cscripts.
  • an Intel ITP (Integration Test Platform) tool is used to connect the XDP interface of the motherboard to the PC.
  • step S3 taking the x8 bandwidth as an example, the command LbgUplink.WrCtle(8,6) is called to change the Uplink CTLE value of the x8 bandwidth to 6; the command LbgUplink.WrTsm(8,28) is called, and the Uplink TSM of the x8 bandwidth is used. Change the value to 28; call the command LbgUplink.WrVga(8,13) to change the Uplink VGA value of the x8 bandwidth to 13.
  • the method embodiment 3 of the present invention includes the following steps:
  • Step S4 is added to the second embodiment to ensure that the Rx parameter modification is effective.
  • the specific process of implementing step S4 is:
  • the speed of the Uplink link is obtained by calling the command LbgUplink.RdAll(). If the link rate of the Uplink link is Gen3, the parameter modification is valid and the related test can be directly performed. If the link link rate decreases, the following is reduced to Gen1. Call the commands pcie.linkdisable(0,2) and pcie.linkenable(0,2) to reactivate the corresponding PCIe port and retrain the link rate back to Gen3. Run the LbgUplink.RdAll() command again to confirm that the parameters take effect, and ensure that the modification of the parameters takes effect in step S3, so that the subsequent corresponding test process proceeds smoothly.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Communication Control (AREA)

Abstract

Provided is a method for adjusting Uplink Rx parameters based on a Purley platform. The method comprises the following steps: stopping the other operations of a CPU, and only responding to a command to modify Rx Eq parameters, and determining a prefix for executing the command to modify the Rx Eq parameters (S1); acquiring states of all the lanes of a current CPU uniPhy part, and confirming a PCIe port number to be adjusted (S2); and acquiring an Rx parameter modification command group and invoking a command in the command group to modify values of corresponding Rx parameters of a PCH end (S3). According to the method, a BIOS needn't be re-written during each modification, and after Rx parameters are modified, a corresponding test of a mainboard can be directly conducted, without re-starting a system, thus improving the work efficiency.

Description

基于Purley平台的调整Uplink Rx参数的方法Method for adjusting Uplink Rx parameters based on Purley platform
本申请要求于2017年11月24日提交中国专利局、申请号201711192725.5、申请名称为“基于Purley平台的调整Uplink Rx参数的方法”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese Patent Application filed on November 24, 2017, the Chinese Patent Office, the application No. 201711192725.5, and the application of the "Purley Platform-based method for adjusting the Uplink Rx parameters", the entire contents of which are incorporated herein by reference. In the application.
技术领域Technical field
本发明涉及计算机技术领域,具体地说是基于Purley平台的调整Uplink Rx参数的方法。The invention relates to the field of computer technology, in particular to a method for adjusting Uplink Rx parameters based on the Purley platform.
背景技术Background technique
Intel在Purley平台中引入了新型总线——Uplink,用于CPU和PCH(Platform Controller Hub,平台控制中心)芯片间的通信,以支持QAT(Quick Assist Technology,快速支持技术)功能和PCH内集成的网络功能。Uplink的工作机制与PCIe Gen3类似。Intel introduced a new bus in the Purley platform, Uplink, for communication between the CPU and PCH (Platform Controller Hub) to support QAT (Quick Assist Technology) and integrated in PCH. Network features. Uplink works like PCIe Gen3.
目前在从PCH到CPU方向上链路的自适应机制较为完善,而从CPU到PCH的链路上自适应机制存在问题,自适应得出的参数并不一定是链路的最优参数,导致Uplink链路存在信号完整性风险。At present, the adaptive mechanism of the link from the PCH to the CPU direction is perfect, and the adaptive mechanism on the link from the CPU to the PCH has a problem, and the adaptively derived parameter is not necessarily the optimal parameter of the link, resulting in There is a signal integrity risk on the Uplink link.
现有方案是通过在BIOS代码中修改CTLE(Continuous Time Linear Equalizer,连续时间线性均衡器)、VGA、TSM(Trust Service Manager,可信服务管理)等Rx参数(接收端均衡器参数),再将这一版本的BIOS刷写到机台的flash中进行测试。The existing solution is to modify the Rx parameters (receiver equalizer parameters) such as CTLE (Continuous Time Linear Equalizer), VGA, TSM (Trust Service Manager) in the BIOS code, and then This version of the BIOS is written to the flash of the machine for testing.
现有技术方案每验证一组值,就需要重新编译并刷写一次BIOS,该过程所需要的时间较长,在需要调整试验多种参数组合时,会占用测试工程师较多的时间,检验效率极低。In the prior art solution, each time a set of values is verified, the BIOS needs to be recompiled and flashed once, and the process takes a long time. When the test needs to adjust a plurality of parameter combinations, the test engineer takes more time and checks the efficiency. Very low.
发明内容Summary of the invention
本发明的目的在于提供基于Purley平台的调整Uplink Rx参数的方法,用于解决在调整PCH端Uplink Rx参数时,多次重新编写BIOS,耗时长的问题。The purpose of the present invention is to provide a method for adjusting the Uplink Rx parameters based on the Purley platform, which is used to solve the problem of re-writing the BIOS multiple times when adjusting the Uplink Rx parameters of the PCH terminal.
本发明解决其技术问题所采用的技术方案是:基于Purley平台的调整 Uplink Rx参数的方法,包括以下步骤:The technical solution adopted by the present invention to solve the technical problem thereof is: a method for adjusting an Uplink Rx parameter based on the Purley platform, comprising the following steps:
停止CPU的其他操作,只响应修改Rx Eq参数的命令,并确定执行修改Rx Eq参数命令的前缀;Stop other operations of the CPU, only respond to the command to modify the Rx Eq parameter, and determine the prefix to execute the command to modify the Rx Eq parameter;
获取当前CPU uniPhy部分所有lane的状态,确认待调整的PCIe端口号;Obtain the status of all LANs in the current CPU uniPhy part, and confirm the PCIe port number to be adjusted.
获取Rx参数修改命令组,调用所述命令组中的命令,修改PCH端相应Rx参数的值。Obtain the Rx parameter modification command group, invoke the command in the command group, and modify the value of the corresponding Rx parameter on the PCH end.
进一步地,在所述步骤之前还包括配置待检测主板,将待检验主板的XDP接口连接PC,并在PC端打开Rx参数调整脚本的过程,Further, before the step, the method further includes: configuring a motherboard to be tested, connecting an XDP interface of the motherboard to be tested to the PC, and opening a process of the Rx parameter adjustment script on the PC,
进一步地,所述配置待检测主板,将待检验主板的XDP接口连接PC,并在PC端打开Rx参数调整脚本的具体过程为:Further, the specific process of configuring the motherboard to be tested, connecting the XDP interface of the motherboard to be tested to the PC, and opening the Rx parameter adjustment script on the PC side is:
在待检测的主板上安装CPU、内存和服务器电源;Install the CPU, memory, and server power on the motherboard to be tested.
接通AC电源,并开机进入BIOS设置界面,将EV DFX特征选项设置为enable,并重启操作系统;Turn on the AC power, and boot into the BIOS setup interface, set the EV DFX feature option to enable, and restart the operating system;
用ITP工具连接主板的XDP接口与PC,在PC端打开参数调整脚本Cscripts。Use the ITP tool to connect the XDP interface of the motherboard to the PC, and open the parameter adjustment script Cscripts on the PC.
进一步地,在所述修改PCH端相应Rx参数值后还包括确保Rx参数修改有效的步骤。Further, after the modifying the corresponding Rx parameter value of the PCH end, the step of ensuring that the Rx parameter modification is valid is further included.
进一步地,所述确保Rx参数修改有效的具体过程为:Further, the specific process for ensuring that the Rx parameter modification is effective is:
获取Uplink链路的速率;Get the rate of the Uplink link;
若Uplink链路速率为Gen3,则参数修改有效;If the uplink link rate is Gen3, the parameter modification is valid.
若Uplink链路速率下降,则re-enable相应PCIe端口,将链路速率重新training回Gen3,使参数修改生效。If the link rate of the uplink is decreased, the corresponding PCIe port is re-enable, and the link rate is re-trained back to Gen3 to make the parameter modification take effect.
进一步地,所述PCH端相应Rx参数值包括PCH端的CTLE值、TSM值和VGA值。Further, the corresponding Rx parameter value of the PCH end includes a CTLE value, a TSM value, and a VGA value of the PCH end.
进一步地,所述PCH端的CTLE值的取值范围为0~15,TSM值的取值范围为20~44,VGA值的取值范围为0~15。Further, the CTLE value of the PCH terminal ranges from 0 to 15, the TSM value ranges from 20 to 44, and the VGA value ranges from 0 to 15.
进一步地,在x8宽带下的Uplink链路PCH端的CTLE值为6,TSM值为28,VGA值为13。Further, the PTLE end of the Uplink link under the x8 broadband has a CTLE value of 6, a TSM value of 28, and a VGA value of 13.
发明内容中提供的效果仅仅是实施例的效果,而不是发明所有的全部效果,上述技术方案中的一个技术方案具有如下优点或有益效果:The effects provided in the Summary of the Invention are merely the effects of the embodiments, and not all of the effects of the invention. One of the above technical solutions has the following advantages or benefits:
1、通过调用命令组中修改相应Rx参数的命令,实现对PCH端相应Rx参数值的修改,无需每次修改都重新编写BIOS,且修改完Rx参数后,可以直接进行主板的相应测试,无需重启系统,提高工作效率。1. By calling the command in the command group to modify the corresponding Rx parameter, the corresponding Rx parameter value of the PCH end can be modified. The BIOS can be rewritten without each modification, and after the Rx parameter is modified, the corresponding test of the motherboard can be directly performed. Restart the system to improve work efficiency.
2、在Rx参数修改完之后,通过查看并重新调整Uplink链路的速率,确保对Rx参数的修改生效,保证了Rx参数修改结果的可靠性。2. After the Rx parameters are modified, check and re-adjust the rate of the uplink link to ensure that the modification of the Rx parameters takes effect, and the reliability of the Rx parameter modification result is guaranteed.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is an embodiment of the present invention, and those skilled in the art can obtain other drawings according to the provided drawings without any creative work.
图1是本发明实施例1的方法流程图;1 is a flow chart of a method according to Embodiment 1 of the present invention;
图2是本发明实施例2的方法流程图;2 is a flow chart of a method according to Embodiment 2 of the present invention;
图3是本发明实施例3的方法流程图。3 is a flow chart of a method according to Embodiment 3 of the present invention.
具体实施方式Detailed ways
为能清楚说明本方案的技术特点,下面通过具体实施方式,并结合其附图,对本发明进行详细阐述。下文的公开提供了许多不同的实施例或例子用来实现本发明的不同结构。为了简化本发明的公开,下文中对特定例子的部件和设置进行描述。此外,本发明可以在不同例子中重复参考数字和/或字母。这种重复是为了简化和清楚的目的,其本身不指示所讨论各种实施例和/或设置之间的关系。应当注意,在附图中所图示的部件不一定按比例绘制。本发明省略了对公知组件和处理技术及工艺的描述以避免不必要地限制本发明。In order to clearly illustrate the technical features of the present solution, the present invention will be described in detail below through the specific embodiments and the accompanying drawings. The following disclosure provides many different embodiments or examples for implementing different structures of the present invention. In order to simplify the disclosure of the present invention, the components and arrangements of the specific examples are described below. Furthermore, the present invention may repeat reference numerals and/or letters in different examples. This repetition is for the purpose of simplicity and clarity, and is not in the nature of the description of the various embodiments and/or arrangements discussed. It is noted that the components illustrated in the drawings are not necessarily drawn to scale. The description of the known components and processing techniques and processes is omitted to avoid unnecessarily limiting the present invention.
如图1所示,本发明方法实施例1的过程,包括以下步骤:As shown in FIG. 1, the process of Embodiment 1 of the method of the present invention includes the following steps:
S1,停止CPU的其他操作,只响应修改Rx Eq参数的命令,并确定执行修改Rx Eq参数命令的前缀;S1, stop other operations of the CPU, only respond to the command to modify the Rx Eq parameter, and determine the prefix to execute the command to modify the Rx Eq parameter;
S2,获取当前CPU uniPhy部分所有lane的状态,确认待调整的PCIe端口号;S2, obtaining the state of all lanes of the current CPU uniPhy part, and confirming the PCIe port number to be adjusted;
S3,获取Rx参数修改命令组,调用所述命令组中的命令,修改PCH端相应Rx参数的值。S3: Acquire an Rx parameter modification command group, invoke a command in the command group, and modify a value of a corresponding Rx parameter of the PCH end.
步骤S1中,通过执行命令halt(),将CPU停住,使CPU只响应修改Rx Eq(Rx参数是接收端均衡器参数,Eq是Equaliser的缩写,意思是均衡器)参数的命令,不进行其他计算操作。输入命令unistart(),使以uni.为前缀的命令可以执行。In step S1, by executing the command halt(), the CPU is stopped, so that the CPU only responds to the command to modify the Rx Eq (the Rx parameter is the receiver equalizer parameter, Eq is the abbreviation of Equaliser, meaning the equalizer) parameter, and does not Other calculation operations. Enter the command unistart() to make the command prefixed with uni.
步骤S2中,执行命令uni.showStatus(),获取当前CPU uniPhy部分所有lane(链路)的状态并确认Uplink链路在相应带宽速率下,如x8带宽的Gen3速率下,以及待调整的PCIe port(端口)是否处在L0状态(全线运作状态),并确认该port所有lane的状态,1代表lane已连接,0代表lane未连接。执行命令pcie.topology(),确认当前的PCIe拓扑,执行命令pcie.port_map(),获取待调整Port的端口号port number。In step S2, the uni.showStatus() command is executed to obtain the status of all lanes of the current CPU uniPhy part and confirm that the uplink link is at the corresponding bandwidth rate, such as the Gen3 rate of the x8 bandwidth, and the PCIe port to be adjusted. (Port) Whether it is in the L0 state (full line operation status), and confirm the status of all lanes of the port, 1 means that the lane is connected, and 0 means that the lane is not connected. Run the pcie.port_map() command to obtain the port number of the port to be adjusted.
步骤S3中,执行Import LbgUplink命令,载入LbgUplink命令组,该命令组中包含PCH端在相应带宽下,Rx参数的取值,因此在进行Rx参数调节时,仅需调用LbgUplink命令组中的相应命令,即可实现对Rx参数的修改,提高工作效率。PCH端相应Rx参数的值包括PCH端的CTLE值、TSM值和VGA值,其中CTLE值的取值范围为0~15,TSM值的取值范围为20~44,VGA值的取值范围为0~15。以x8带宽下的Uplink链路为例,CTLE值取6,TSM值取28,VGA值取13。In the step S3, the Import LbgUplink command is executed, and the LbgUplink command group is loaded. The command group includes the value of the Rx parameter of the PCH end in the corresponding bandwidth. Therefore, when the Rx parameter adjustment is performed, only the corresponding in the LbgUplink command group is called. The command can be used to modify the Rx parameters and improve work efficiency. The value of the corresponding Rx parameter on the PCH terminal includes the CTLE value, the TSM value, and the VGA value of the PCH terminal. The CTLE value ranges from 0 to 15, the TSM value ranges from 20 to 44, and the VGA value ranges from 0 to 0. ~15. Take the Uplink link under the x8 bandwidth as an example. The CTLE value is 6, the TSM value is 28, and the VGA value is 13.
如图2所示,在上述实施例的基础上,本发明方法实施例包括以下步骤:As shown in FIG. 2, based on the foregoing embodiment, the method embodiment of the present invention includes the following steps:
S0,配置待检测主板,将待检验主板的XDP接口连接PC,并在PC端打开Rx参数调整脚本;S0, configure the motherboard to be tested, connect the XDP interface of the motherboard to be tested to the PC, and open the Rx parameter adjustment script on the PC;
S1,停止CPU的其他操作,只响应修改Rx Eq参数的命令,并确定执行修改Rx Eq参数命令的前缀;S1, stop other operations of the CPU, only respond to the command to modify the Rx Eq parameter, and determine the prefix to execute the command to modify the Rx Eq parameter;
S2,获取当前CPU uniPhy部分所有lane的状态,确认待调整的PCIe端口号;S2, obtaining the state of all lanes of the current CPU uniPhy part, and confirming the PCIe port number to be adjusted;
S3,获取Rx参数修改命令组,调用所述命令组中的命令,修改PCH端相应Rx参数的值。S3: Acquire an Rx parameter modification command group, invoke a command in the command group, and modify a value of a corresponding Rx parameter of the PCH end.
步骤S0的具体实现过程为:The specific implementation process of step S0 is:
S01,在待检测的主板上安装CPU、内存和服务器电源;S01, installing CPU, memory, and server power on the motherboard to be tested;
S02,接通AC电源,并开机进入BIOS(Basic Input Output System,基本输入输出系统)设置界面,将EV(Exposure Value,曝光值)DFX(Design for X面向产品生命周期各环节的设计,其中X可以代表产品生命周期或其中某一环 节)特征选项设置为enable,并重启操作系统;S02, turn on the AC power, and boot into the BIOS (Basic Input Output System) setting interface, and EV (Exposure Value) DFX (Design for X is designed for each part of the product life cycle, where X The feature option can be set to enable on behalf of the product life cycle or one of the links, and the operating system is restarted;
S03,用ITP工具连接主板的XDP接口与PC,在PC端打开参数调整脚本Cscripts。S03, use the ITP tool to connect the XDP interface of the motherboard to the PC, and open the parameter adjustment script Cscripts on the PC side.
步骤S01~S03的过程是搭建参数修改环境并获取Rx参数调整脚本Cscripts的过程。步骤S03中利用Intel的ITP(Integration Test Platform,集成测试平台)工具连接主板的XDP接口与PC。The process of steps S01-S03 is a process of setting up a parameter modification environment and acquiring an Rx parameter adjustment script Cscripts. In step S03, an Intel ITP (Integration Test Platform) tool is used to connect the XDP interface of the motherboard to the PC.
在步骤S3中,以x8带宽为例,调用命令LbgUplink.WrCtle(8,6),将x8带宽的Uplink CTLE值修改为6;调用命令LbgUplink.WrTsm(8,28),将x8带宽的Uplink TSM值修改为28;调用命令LbgUplink.WrVga(8,13),将x8带宽的Uplink VGA值修改为13。In step S3, taking the x8 bandwidth as an example, the command LbgUplink.WrCtle(8,6) is called to change the Uplink CTLE value of the x8 bandwidth to 6; the command LbgUplink.WrTsm(8,28) is called, and the Uplink TSM of the x8 bandwidth is used. Change the value to 28; call the command LbgUplink.WrVga(8,13) to change the Uplink VGA value of the x8 bandwidth to 13.
如图3所示,本发明方法实施例3包括以下步骤:As shown in FIG. 3, the method embodiment 3 of the present invention includes the following steps:
S0,配置待检测主板,将待检验主板的XDP接口连接PC,并在PC端打开Rx参数调整脚本;S0, configure the motherboard to be tested, connect the XDP interface of the motherboard to be tested to the PC, and open the Rx parameter adjustment script on the PC;
S1,停止CPU的其他操作,只响应修改Rx Eq参数的命令,并确定执行修改Rx Eq参数命令的前缀;S1, stop other operations of the CPU, only respond to the command to modify the Rx Eq parameter, and determine the prefix to execute the command to modify the Rx Eq parameter;
S2,获取当前CPU uniPhy部分所有lane的状态,确认待调整的PCIe端口号;S2, obtaining the state of all lanes of the current CPU uniPhy part, and confirming the PCIe port number to be adjusted;
S3,获取Rx参数修改命令组,调用所述命令组中的命令,修改PCH端相应Rx参数的值;S3, obtaining an Rx parameter modification command group, calling a command in the command group, and modifying a value of a corresponding Rx parameter of the PCH end;
S4,确保Rx参数修改有效。S4, to ensure that the Rx parameter modification is valid.
在实施例2的基础上增加步骤S4,确保Rx参数修改有效,实现步骤S4的具体过程为:Step S4 is added to the second embodiment to ensure that the Rx parameter modification is effective. The specific process of implementing step S4 is:
S41,获取Uplink链路的速率;S41. Obtain a rate of an uplink link.
S42,若Uplink链路速率为Gen3,则参数修改有效;S42. If the uplink link rate is Gen3, the parameter modification is valid.
S43,若Uplink链路速率下降,则re-enable相应PCIe端口,将链路速率重新training回Gen3,使参数修改生效。S43. If the link rate of the uplink is decreased, the corresponding PCIe port is re-enable, and the link rate is re-trained back to Gen3, so that the parameter modification takes effect.
通过调用命令LbgUplink.RdAll(),获取Uplink链路的速率,若Uplink链路速率为Gen3,则参数修改有效,直接进行相关测试即可;若Uplink链路速率下降,如下降至Gen1,则先后调用命令pcie.linkdisable(0,2)与pcie.linkenable(0,2),将对应PCIe port重新激活,将链路速率重新training回Gen3。再次执行命令 LbgUplink.RdAll()确认参数生效,确保步骤S3中对参数的修改生效,使后续的相应测试过程顺利进行。The speed of the Uplink link is obtained by calling the command LbgUplink.RdAll(). If the link rate of the Uplink link is Gen3, the parameter modification is valid and the related test can be directly performed. If the link link rate decreases, the following is reduced to Gen1. Call the commands pcie.linkdisable(0,2) and pcie.linkenable(0,2) to reactivate the corresponding PCIe port and retrain the link rate back to Gen3. Run the LbgUplink.RdAll() command again to confirm that the parameters take effect, and ensure that the modification of the parameters takes effect in step S3, so that the subsequent corresponding test process proceeds smoothly.
以上所述只是本发明的优选实施方式,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也被视为本发明的保护范围。The above description is only a preferred embodiment of the present invention, and those skilled in the art can also make several improvements and retouchings without departing from the principles of the present invention. These improvements and retouchings are also considered as The scope of protection of the invention.

Claims (8)

  1. 基于Purley平台的调整Uplink Rx参数的方法,其特征是:包括以下步骤:A method for adjusting an Uplink Rx parameter based on the Purley platform, which is characterized by the following steps:
    停止CPU的其他操作,只响应修改Rx Eq参数的命令,并确定执行修改Rx Eq参数命令的前缀;Stop other operations of the CPU, only respond to the command to modify the Rx Eq parameter, and determine the prefix to execute the command to modify the Rx Eq parameter;
    获取当前CPU uniPhy部分所有lane的状态,确认待调整的PCIe端口号;Obtain the status of all LANs in the current CPU uniPhy part, and confirm the PCIe port number to be adjusted.
    获取Rx参数修改命令组,调用所述命令组中的命令,修改PCH端相应Rx参数的值。Obtain the Rx parameter modification command group, invoke the command in the command group, and modify the value of the corresponding Rx parameter on the PCH end.
  2. 根据权利要求1所述的方法,其特征是:在所述步骤之前还包括配置待检测主板,将待检验主板的XDP接口连接PC,并在PC端打开Rx参数调整脚本的过程。The method of claim 1, further comprising: configuring the motherboard to be tested, connecting the XDP interface of the motherboard to be tested to the PC, and opening the Rx parameter adjustment script on the PC side.
  3. 根据权利要求2所述的方法,其特征是:所述配置待检测主板,将待检验主板的XDP接口连接PC,并在PC端打开Rx参数调整脚本的具体过程为:The method according to claim 2, wherein the configuring the motherboard to be tested, connecting the XDP interface of the motherboard to be tested to the PC, and opening the Rx parameter adjustment script on the PC side is:
    在待检测的主板上安装CPU、内存和服务器电源;Install the CPU, memory, and server power on the motherboard to be tested.
    接通AC电源,并开机进入BIOS设置界面,将EV DFX特征选项设置为enable,并重启操作系统;Turn on the AC power, and boot into the BIOS setup interface, set the EV DFX feature option to enable, and restart the operating system;
    用ITP工具连接主板的XDP接口与PC,在PC端打开参数调整脚本Cscripts。Use the ITP tool to connect the XDP interface of the motherboard to the PC, and open the parameter adjustment script Cscripts on the PC.
  4. 根据权利要求1或2所述的方法,其特征是:在所述修改PCH端相应Rx参数值后还包括确保Rx参数修改有效的步骤。The method according to claim 1 or 2, further comprising the step of ensuring that the modification of the Rx parameter is valid after modifying the corresponding Rx parameter value of the PCH terminal.
  5. 根据权利要求4所述的方法,其特征是:所述确保Rx参数修改有效的具体过程为:The method according to claim 4, wherein the specific process of ensuring that the modification of the Rx parameter is valid is:
    获取Uplink链路的速率;Get the rate of the Uplink link;
    若Uplink链路速率为Gen3,则参数修改有效;If the uplink link rate is Gen3, the parameter modification is valid.
    若Uplink链路速率下降,则re-enable相应PCIe端口,将链路速率重新training回Gen3,使参数修改生效。If the link rate of the uplink is decreased, the corresponding PCIe port is re-enable, and the link rate is re-trained back to Gen3 to make the parameter modification take effect.
  6. 根据权利要求1或2或5所述的方法,其特征是:所述PCH端相应Rx参数值包括PCH端的CTLE值、TSM值和VGA值。The method according to claim 1 or 2 or 5, wherein the corresponding Rx parameter value of the PCH terminal comprises a CTLE value, a TSM value and a VGA value at the PCH end.
  7. 根据权利要求6所述的方法,其特征是:所述PCH端的CTLE值的取值 范围为0~15,TSM值的取值范围为20~44,VGA值的取值范围为0~15。The method according to claim 6, wherein the CTLE value of the PCH terminal ranges from 0 to 15, the TSM value ranges from 20 to 44, and the VGA value ranges from 0 to 15.
  8. 根据权利要求7所述的方法,其特征是:在x8宽带下的Uplink链路PCH端的CTLE值为6,TSM值为28,VGA值为13。The method according to claim 7, wherein the PLINK end of the Uplink link under the x8 broadband has a CTLE value of 6, a TSM value of 28, and a VGA value of 13.
PCT/CN2018/103438 2017-11-24 2018-08-31 Method for adjusting uplink rx parameters based on purley platform WO2019100800A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711192725.5A CN108108275A (en) 2017-11-24 2017-11-24 The method of adjustment Uplink Rx parameters based on Purley platforms
CN201711192725.5 2017-11-24

Publications (1)

Publication Number Publication Date
WO2019100800A1 true WO2019100800A1 (en) 2019-05-31

Family

ID=62206945

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/103438 WO2019100800A1 (en) 2017-11-24 2018-08-31 Method for adjusting uplink rx parameters based on purley platform

Country Status (2)

Country Link
CN (1) CN108108275A (en)
WO (1) WO2019100800A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108108275A (en) * 2017-11-24 2018-06-01 郑州云海信息技术有限公司 The method of adjustment Uplink Rx parameters based on Purley platforms
CN108920198B (en) * 2018-06-29 2020-08-21 苏州浪潮智能科技有限公司 Method, system and server for changing system energy efficiency mode in BIOS
CN109376028B (en) * 2018-09-27 2021-11-09 郑州云海信息技术有限公司 Error correction method and device for PCIE (peripheral component interface express) equipment
CN110069370B (en) * 2019-04-11 2022-11-18 苏州浪潮智能科技有限公司 PCH Uplink parameter optimization method and system
CN111459730A (en) * 2020-03-12 2020-07-28 苏州浪潮智能科技有限公司 PCH (physical channel) end parameter adjusting method and system under Whitley platform

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106844269A (en) * 2017-02-28 2017-06-13 郑州云海信息技术有限公司 A kind of multipath server system of Purley platforms
CN107153553A (en) * 2017-06-09 2017-09-12 郑州云海信息技术有限公司 The method that Purley platform CPU end PCIe Tx Eq adjustment is carried out based on CScripts
WO2017171901A1 (en) * 2016-03-29 2017-10-05 Intel IP Corporation Frame structures for beam switching and refinement in cellular systems
CN108108275A (en) * 2017-11-24 2018-06-01 郑州云海信息技术有限公司 The method of adjustment Uplink Rx parameters based on Purley platforms

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104111857A (en) * 2014-08-13 2014-10-22 浪潮电子信息产业股份有限公司 Method for automatically configuring parameters of multi-model BIOS
CN105468528A (en) * 2015-12-09 2016-04-06 浪潮电子信息产业股份有限公司 Linus system based automatic script execution method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017171901A1 (en) * 2016-03-29 2017-10-05 Intel IP Corporation Frame structures for beam switching and refinement in cellular systems
CN106844269A (en) * 2017-02-28 2017-06-13 郑州云海信息技术有限公司 A kind of multipath server system of Purley platforms
CN107153553A (en) * 2017-06-09 2017-09-12 郑州云海信息技术有限公司 The method that Purley platform CPU end PCIe Tx Eq adjustment is carried out based on CScripts
CN108108275A (en) * 2017-11-24 2018-06-01 郑州云海信息技术有限公司 The method of adjustment Uplink Rx parameters based on Purley platforms

Also Published As

Publication number Publication date
CN108108275A (en) 2018-06-01

Similar Documents

Publication Publication Date Title
WO2019100800A1 (en) Method for adjusting uplink rx parameters based on purley platform
WO2021212948A1 (en) Storage system boot method and apparatus, and computer-readable storage medium
US10042744B2 (en) Adopting an existing automation script to a new framework
CN109656630B (en) Configuration space access method, device, framework and storage medium
CN106899454B (en) Method and system for automatically testing RoCE performance based on Linux system
CN107508727B (en) Automatic network card information checking method and device
CN107301103A (en) A kind of method and device for the memory parameters for adjusting domestic processor
CN111404845A (en) Method and device for testing network port rate negotiation function
WO2019100690A1 (en) Electronic device, testing method, system and computer readable storage medium
US8762781B2 (en) Method and apparatus useful in manufacturing test case operations
CN114201360B (en) AER function management method, AER function management device, server and storage medium
CN108932134B (en) Remote updating method for server BIOS
CN111176757B (en) SoC starting method and device based on JTAG
CN111078476B (en) Network card drive firmware stability test method, system, terminal and storage medium
CN106411643B (en) BMC detection method and device
CN106570402A (en) Encryption module and process trusted measurement method
CN112118159A (en) Network testing method, device, equipment and computer readable storage medium
CN111310160A (en) WINDOWS automatic login deployment method, device, computer equipment and storage medium
CN107844395B (en) Reboot test control method and system
CN107453959B (en) Network card management method and device
CN115129378A (en) Intelligent network card starting method and device capable of being actively adjusted, storage medium and equipment
US7630876B1 (en) Method and system for filtering unknown values in ASIC design simulation
US9703910B2 (en) Control path power adjustment for chip design
TWI823575B (en) Bmc stress testing method
TWI828394B (en) Pcie error injection test method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18880258

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18880258

Country of ref document: EP

Kind code of ref document: A1