Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Interrupt control method for Feiteng server

A control method and server technology, applied in the field of interrupt control of Feiteng server

Active Publication Date: 2014-08-20
KYLIN CORP
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

There are two typical 8259A application methods: one is to use an independent 8259A chip to control the interrupt, and the peripheral device interrupt is directly input to the 8259A, and then passed to the processor through the interrupt output pin of the 8259A for interrupt processing; the other is to integrate In the application of 8259A in South Bridge CS5536, the device interrupt supported by CS5536 chip is directly processed through this interrupt controller. This integrated design method is generally only used on X86 series processor platforms, and has X86 architecture dependence.

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
  • Interrupt control method for Feiteng server
  • Interrupt control method for Feiteng server
  • Interrupt control method for Feiteng server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0041] Such as figure 2 As shown, the interrupt control method for the Feiteng server of the present invention is described in detail by taking the hardware-based interrupt at the kernel level as an example.

[0042] Feiteng server adopts PCI bus standard south bridge CS5536, the chip integrates hardware interface control logic such as USB controller, IDE disk controller, audio controller, RTC real-time clock and PS / 2 interface controller of keyboard and mouse. The south bridge CS5536 is connected to the PCIE bus through the bridge chip PLX8112. These internal hardware controller logic interrupt signals are all routed through the 8259A interrupt controller inside CS5536, and the bridge chip PLX8112 is responsible for converting the interrupt signal in the form of level into the interrupt signal in the form of PCIE2.0 bus message, and passing it to the processor chip. Before starting the method of this embodiment, first connect and set the hardware of the Feiteng server as fo...

Embodiment 2

[0063] Taking the interrupt generated by USB OHCI (USB Open Host Controller Interface) as an example, the interrupt control method for Feiteng server of the present invention is further described. Specific steps are as follows:

[0064] This interface driver supports low-speed USB devices, such as: USB mouse or USB keyboard.

[0065] This embodiment is based on the same FT server as Embodiment 1, and has the same hardware structure.

[0066] (1) if Figure 10 As shown, the USB OHCI initialization process in the Phytium multi-core server platform is as follows:

[0067] USB OHCI is a functional logic device interface integrated by CS5536. During the USB OHCI initialization process, first create the OHCI device tree node, and the subsequent USB OHCI driver will directly access the node information; then perform interrupt initialization similar to Embodiment 1; because USB OHCI uses PCI MEM space, then needs to obtain the base address of OHCI MEM, enables the access of MEM sim...

Embodiment 3

[0073] Adopt the interrupt based on software simulation CS5536 internal equipment, verify the interrupt control method for Feiteng server of the present invention, concrete steps are as follows:

[0074] Such as Figure 11 As shown, in order to simulate the implementation of the present invention, an interrupt test driver is designed, which mainly includes three modules: an interrupt initialization module, a soft trigger interrupt module, and a soft trigger interrupt handler registration module.

[0075] The interrupt control method implemented by the above-mentioned interrupt test drive includes the following steps:

[0076] (1) Initialization. The initialization process of this embodiment is basically the same as that of Embodiment 1 and Embodiment 2. The only difference is that the time point of initialization is different. Embodiment 1 and Embodiment 2 complete the relevant interrupt initialization during the system kernel startup phase. The initialization of this embodim...

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 an interrupt control method for a Feiteng server, comprising the following steps: initialization; a hardware interrupt source generates a corresponding type of interrupt signal through a hardware control logic component in the South Bridge CS5536, and an interrupt controller in the South Bridge CS5536 The 8259A routing output is a public interrupt trigger signal, and the corresponding interrupt bit is modified in the internal register of the interrupt controller 8259A. The public interrupt trigger signal is converted into an interrupt message message by the bridge chip mapping and transmitted to the PCIE bus; The PCIE bus obtains the interrupt message message, enters the interrupt state and calls a common interrupt response function, reads the internal register of the interrupt controller 8259A to obtain the interrupt bit, thereby determining the hardware interrupt source and processing the interrupt. The invention enables the Feiteng processor to receive the interruption message message of the CS5536 device in real time, respond accurately and in real time, and process various interruptions.

Description

technical field [0001] The invention relates to the technical field of operating system interruption, in particular to an interruption control method for a Feiteng server. Background technique [0002] The Phytium server adopts two Phytium processors, each processor is composed of 8 cores and 64 hard threads, and the processor frequency is 800MHz~1GHz. It provides 6 PCIE2.0 bus slots through point-to-point high-speed switching chips, and the highest single The IO frequency can reach 5Gbps. [0003] Feiteng server adopts PCI bus standard Southbridge CS5536, which integrates hardware interface control logic such as USB controller, IDE disk controller, audio controller, RTC real-time clock and keyboard and mouse PS / 2 interface controller. The monolithic 8259A includes 8 interrupt input pins, 1 interrupt output pin, 1 interrupt acknowledge pin, cascade pin and other control pins. Through cascading pins, multiple 8259As can be connected in series in a "master-slave" configurati...

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/24
Inventor 邵立松张铎吴庆波戴华东孔金珠单晋奎肖敛涛邓林文
Owner KYLIN CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products