Dynamic scanning method of pcie devices supporting multiple rcs under linux system

A technology of dynamic scanning and equipment, which is applied in the direction of instruments, electronic digital data processing, etc., can solve the problems of poor security and stability, low scalability of dynamic scanning and unloading technology, etc., to achieve enhanced stability, improved scalability, The effect of improving safety

Active Publication Date: 2018-02-16
烽火超微信息科技有限公司
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0015] The technical problem to be solved by the present invention is the problem of low scalability, poor security and stability of the dynamic scanning and unloading technology of existing PCIE equipment

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Dynamic scanning method of pcie devices supporting multiple rcs under linux system
  • Dynamic scanning method of pcie devices supporting multiple rcs under linux system
  • Dynamic scanning method of pcie devices supporting multiple rcs under linux system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0059] The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0060] The present invention provides a kind of PCIE equipment dynamic scanning method that supports multi-RC under Linux system, comprises the following steps:

[0061] The first step is to initialize the Linux system kernel after the system is powered on, modify the PCIE bus allocation, allocate continuous bus number resources to each RC controller according to the number of RC controllers in the system, and traverse each RC controller existing in the system. Record the bus number information corresponding to each RC controller to the global array, and delete the default PCIE device or PCIE bridge device under each RC controller in the system to release the resources allocated by the system by default.

[0062] In the present invention, the number of bus numbers allocated for each RC controller is flexibly allocated according to the number ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a PCIE (peripheral component interface express) device dynamic scanning method supporting multi RC (remote control) in a Linux system. The PCIE device dynamic scanning method supporting the plurality of the multi RC in the Linux system includes: electrifying the Linux system, distributing continuous bus number resources to each RC controller according to the number of RC controllers of the Linux system, traversing each RC controller exists in the Linux system, recording bus number information corresponding to each RC controller to a global array, and deleting a default PCIE device or a default PCIE bridge device in each RC controller so as to release resources distributed by the Linux system in a default mode, and the RC controller root bus number as a judgement standard to scan or unload the PCIE device dynamic according to corresponding RC controller bus number information recorded in the global array. By adopting the PCIE device dynamic scanning method supporting the plurality of the multi RC in the Linux system, expandability of the Linux system is improved due to the fact that each RC controller and PCIE bridge device are newly distributed the continuous bus number resources, and safety of the Linux system is improved due to the fact that the scanning or unloading of the PCIE device under the RC controller root bus number is controlled separately, and simultaneously, stability of the Linux system is enhanced due to the fact that a linkage state is detected and controlled the scanning process.

Description

technical field [0001] The invention relates to the field of embedded system application technology, in particular to a dynamic scanning method for a PCIE (Peripheral Component Interconnect Express, high-speed peripheral component interconnection) device supporting multiple RCs (Rootcomplex, root components) under a Linux system. Background technique [0002] At present, the Linux system is widely used in the development of embedded products. With the development of embedded technology, the integration of product design is getting higher and higher. In high-end communication equipment, the embedded Linux system needs to support various types of PCIE Some PCIE devices need to configure their power supply and clock according to a certain sequence after the system starts normally to work normally; some PCIE devices need to be uninstalled when the system is running normally. [0003] Usually, the Linux system kernel will automatically scan PCIE devices when starting, and configu...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F13/22
CPCG06F13/22G06F2213/0024
Inventor 刘勇刚陈俊强田运朴朱曦
Owner 烽火超微信息科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products