Unlock instant, AI-driven research and patent intelligence for your innovation.

Multi-virtual-domain-facing customized PCIe (peripheral component interface express) periphery equipment tree generating method

A peripheral device and virtual domain technology, applied in the computer field, can solve problems such as inability to realize peripheral view control of different virtual domains, access conflict security risks, peripheral access failures, etc., to avoid conflicts, reduce waiting time, and avoid startup. Effect

Active Publication Date: 2014-05-14
NAT UNIV OF DEFENSE TECH
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Secondly, it is required that the configuration of the device must be unified and consistent in each virtual domain, because all peripherals are on the same hardware platform, inconsistent configuration will lead to access conflicts
However, the existing device tree generation method obtains the device tree by scanning the PCIe bus through the firmware, which cannot meet the above requirements
First of all, the device tree generated in this way is a complete device tree, which cannot realize the peripheral view control of different virtual domains
Exposing the entire device to the operating system in this way can lead to potential access violations and security risks
What's more serious is that since the firmware of each virtual domain scans and operates the PCIe bus independently, and the configuration of each device on the bus must be modified during the scanning process (for example, when obtaining the size information of the bar), this modification will inevitably affect Access to the peripheral from other virtual domains, causing peripheral access failures

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
  • Multi-virtual-domain-facing customized PCIe (peripheral component interface express) periphery equipment tree generating method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] Such as figure 1 As shown, the implementation steps of the method for generating a PCIe peripheral device tree that can be customized for multiple virtual domains in this embodiment are as follows:

[0025] 1) Configure device access rights uniformly for each virtual domain, specify the service virtual domain through the virtual domain ID, and jump to the next step after the virtual domain completes the firmware initialization;

[0026] 2) Each virtual domain judges whether it is a service virtual domain according to the virtual domain ID. If the current virtual domain is a service virtual domain, skip to step 3); The device tree data including all device configuration information is written into the virtual machine manager (referred to as VMM), and when the device tree data exists in the VMM, jump to step 6);

[0027] 3) The service virtual domain scans all devices on the PCIe bus, configures the device for each device and generates a device tree node. If the device b...

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 multi-virtual-domain-facing customized PCIe (peripheral component interface express) periphery equipment tree generating method which includes the steps of firstly, configuring equipment access authority, and assigning a service virtual domain; secondly, by the service virtual domain, executing the third step, and by a common virtual domain, executing the sixth step when equipment tree data exists in a VMM (virtual machine manager); thirdly, by the service virtual domain, scanning to generate a equipment tree; fourthly, by the service virtual domain, writing the equipment tree data into the VMM; fifthly, by the service virtual domain, deleting equipment tree nodes which do not belong to the service virtual domain and starting an operating system; sixthly, by the common virtual domain, generating equipment nodes according to equipment access authority, and loading drivers; and seventhly, common virtual domain, starting the operating system. By the method, multi-virtual-domain customized hardware view is supported, consistency of bottom hardware configuration is guaranteed, conflicts caused by hardware scanning / accessing by multiple virtual domains is avoided, transparent firmware virtualization support to the upper operating system is achieved, and compatibility and safety of a Feiteng server are increased.

Description

technical field [0001] The invention relates to the field of computers, in particular to a method for generating a customizable PCIe peripheral device tree oriented to multiple virtual domains. Background technique [0002] Phytium server is a computer platform developed by National University of Defense Technology and based on Phytium processor FT1000. The FT1000 processor is a general-purpose 64-bit processor developed by National University of Defense Technology and compatible with the sparc instruction set. Each chip contains 8 computing cores and supports Up to 64 hardware threads. For peripherals, the Feiteng server expands the PCIe bus through the PCI-Express Unit integrated on the FT1000 processor (implements the root complex in the PCIe bus) on the hardware, PCI-Express Unit and PCIe switching unit (PCIe switch) The PCIe switch is connected with a PCIe slot or a specific PCIe device behind it. In terms of software, the biggest difference between the Phytium platfo...

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): G06F9/455G06F9/445
Inventor 王小平樊葆华卢凯冯华蒋杰刘勇鹏唐宏伟王睿伯李根高颖慧迟万庆
Owner NAT UNIV OF DEFENSE TECH