Interrupt control method for Feiteng server

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

Active Publication Date: 2012-08-01
KYLIN CORP
View PDF2 Cites 11 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] like figure 2 As shown, taking the hardware-based interrupt at the kernel level as an example, the interrupt control method for the Feiteng server of the present invention is described in detail.

[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 the method of this embodiment starts, first make the following connections and settings to the hardware of ...

Embodiment 2

[0063] Taking the interrupt generated by USB OHCI (USB Open 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 simultan...

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] like 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 embodiment...

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. The method comprises the following steps: initialization is performed; a hardware interrupt source generates corresponding types of interrupt signals through a hardware control logic component of a south bridge CS5536, outputs a public interrupt trigger signal through a router of an interrupt controller 8259A of the south bridge CS5536 and modifies corresponding interrupt bits in an internal register of the interrupt controller 8259A, and the public interrupt trigger signal is mapped by a bridge chip to be converted into interrupt messages and transmitted to a PCIE bus; and a Feiteng processor acquires the interrupt messages from the PCIE bus, enters an interrupt state, invokes a public interrupt receptance function and reads the internal register of the interrupt controller 8259A to acquire the interrupt bits so as to determine the hardware interrupt source and treat interrupts. The method provided by the invention can enable the Feiteng processor to receive interrupt messages of equipment CS5536 in a real-time manner and to respond and treat various interrupts accurately and in a real-time manner.

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 Applications(China)
IPC IPC(8): G06F13/24
Inventor 邵立松张铎吴庆波戴华东孔金珠单晋奎肖敛涛邓林文
Owner KYLIN CORP
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