CN103150279B - Method allowing host and baseboard management controller to share device - Google Patents

Method allowing host and baseboard management controller to share device Download PDF

Info

Publication number
CN103150279B
CN103150279B CN201310114195.8A CN201310114195A CN103150279B CN 103150279 B CN103150279 B CN 103150279B CN 201310114195 A CN201310114195 A CN 201310114195A CN 103150279 B CN103150279 B CN 103150279B
Authority
CN
China
Prior art keywords
access
management controller
baseboard management
request
shared device
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201310114195.8A
Other languages
Chinese (zh)
Other versions
CN103150279A (en
Inventor
韩娇
吴新军
丁琳
吴志勇
卢姝颖
罗茂盛
周达民
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuxi Jiangnan Computing Technology Institute
Original Assignee
Wuxi Jiangnan Computing Technology Institute
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 Wuxi Jiangnan Computing Technology Institute filed Critical Wuxi Jiangnan Computing Technology Institute
Priority to CN201310114195.8A priority Critical patent/CN103150279B/en
Publication of CN103150279A publication Critical patent/CN103150279A/en
Application granted granted Critical
Publication of CN103150279B publication Critical patent/CN103150279B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Bus Control (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention provides a method allowing host and baseboard management controller to share device. An IO (Input/Output) sharing device is integrated in the baseboard management controller; a standard WishBone bus protocol is adopted among a plurality of devices, and interconnected communication of the devices is realized through a WishBone crossbar switch; the host accesses a sharing device through an uplink LPC bus of the baseboard management controller, an uplink LPC bus interface is communicated with the sharing device through a WishBone interface; an address space organization is executed, wherein the sharing device has two sets of independent access address spaces, the host and the baseboard management controller access the sharing device respectively by adopting different address spaces through an address space re-mapping mode; and compatible host access is executed, wherein the address of the sharing device is compatible with legacy IO, and partial non-legacy IO visible devices are accessed through a standard IPMI (Intelligent Platform Management Interface) protocol. On the premise of being compatible with an LPC bus specification, the LPC bus response is modified, the upper limit of delay tolerance is increased, and an overtime mechanism is provided to prevent the bus from being suspended.

Description

A kind of method of main frame and baseboard management controller shared device
Technical field
The present invention relates to server system Integrated design field, particularly server baseboard management controller exploitation, server master board Integrated design; More particularly, the present invention relates to a kind of method of main frame and baseboard management controller shared device.
Background technology
At present, in the commercial server system on market, baseboard management controller (BMC) is mainly used in system management, and application configuration that can be different according to system, realizes the various functions such as configuration management, equipment control, performance monitoring.And some conventional low speed IO, as P/S2 interface, SPI interface, serial ports, IIC interface, XBUS interface, fan control interface, power-management interface etc. all adopt SUPER IO chip special on market to realize.
Along with server development, systemic-function strengthens, and miniaturization has become current server and developed to obtain trend.Under existing commercial chip prerequisite, practical function strengthens just needs to increase the number of chips in mainboard, and in limited motherboard space, realize the complicated system integration made motherboard design become more and more painstaking, server master board design also just faces new challenges.
In order to address this problem, while the integrated level improving chip, the mode of collaborative share is adopted to also become a kind of effective solution.
Summary of the invention
Technical matters to be solved by this invention is for there is above-mentioned defect in prior art, provide a kind of can in limited motherboard space integrated complex systemic-function, reduce mainboard integration complexity and the main frame of hardware cost and the method for baseboard management controller shared device.
According to the present invention, provide a kind of method of main frame and baseboard management controller shared device, it is characterized in that comprising:
Integrated IO shared device in baseboard management controller;
Multiple equipment room adopts the WishBone bus protocol of standard, realizes connection communication by WishBone cross bar switch;
Main frame is conducted interviews to shared device by the lpc bus that baseboard management controller is up, by the communication of WishBone Interface realization between up lpc bus interface and shared device;
Executive address spatial organization, wherein shared device has two and overlaps independently reference address space, and main frame and baseboard management controller adopt different address spaces to conduct interviews to shared device by the mode that address space remaps respectively;
Perform the host access of Campatible, wherein the compatible legacy IO in shared device address, the visible equipment of part non-Legacy IO is conducted interviews by the IPMI agreement of standard simultaneously;
Under the prerequisite of compatible lpc bus specification, the response of amendment lpc bus, increases the upper limit of delay-tolerant, arranges timeout mechanism simultaneously, prevents bus from hanging dead;
Perform shared device access rights to arrange, wherein make the configuration information affecting the overall situation only allow to be revised by baseboard management controller, and be read-only for main frame;
Sharing conflict disposal route, then ranks to the channel access not having state residual, then carries out timesharing share there being the residual channel access of state.
Preferably, IO shared device comprises P/S2 interface, SPI interface, serial ports, IIC interface, XBUS interface, fan control interface and power-management interface.
Preferably, by traditional low speed I/O device and low speed bus Interface integration in baseboard management controller controller, as P/S2 interface, SPI interface, serial ports, IIC interface, XBUS interface, fan control interface, power-management interface etc., improve level of integrated system.
Preferably, main frame is conducted interviews to shared device by the lpc bus that baseboard management controller is up, and each equipment interface all adopts WishBone bus interface, realizes connection communication by WishBone cross bar switch.
Preferably, the asynchronous FIFO that the asynchronous communication between different clock-domains have employed based on WishBone realizes.
Preferably, when executive address spatial organization, shared device adopts two to overlap independently reference address space, and main frame and baseboard management controller adopt different address spaces to conduct interviews to shared device by the mode that address space remaps respectively.
Preferably, by being integrated in the system interface module practical function of baseboard management controller: adopt legacy IO address during host access shared device address, access the visible equipment of other non-Legacy IO and then conducted interviews by KCS or the BT interface of the IPMI agreement of standard;
The system interface module being integrated in baseboard management controller comprises: address decoding, address conversion, LPC turn WishBone bus bridge, BT and KCS module, wherein,
Address decoding carries out decoding to the reference address that main frame sends, judge whether the target of current accessed belongs to shared device space in baseboard management controller, if do not belonged to, return errored response to main frame, if belonged to, the address after being resolved sends to corresponding equipment;
The BT interface protocol of the compatible IPMI of BT module, is provided for the access of main frame realization to all devices in baseboard management controller;
The KCS interface protocol of the compatible IPMI of KCS module, is provided for the access of main frame realization to all devices in baseboard management controller;
LPC turns the mutual conversion that WishBone bus bridge realizes the lpc bus agreement of up-stream system interface employing and the WishBone bus protocol of equipment employing;
The home address that address conversion uses when the address of host access being converted to baseboard management controller inside WishBone cross bar switch route, completes the share and access of different address space.
Preferably, when revising lpc bus response, by the handshake mechanism of LPC agreement, the upper limit of lpc bus delay-tolerant acknowledge cycle is increased, the timeout mechanism of Wishbone bus is set simultaneously, cannot access be completed within the appointed time, active termination, prevents bus from hanging dead.
Preferably, when performing shared device access rights and arranging, deposit the configuration information of the overall situation in partial sharing equipment, these information only allow baseboard management controller to modify under given conditions, then only have read-only authority to main frame.
Preferably, the equipment remained the state that do not have adopts the mode of queuing up to conduct interviews according to the principle of prerequisite variable, and the device access remained there being state is then identified by equipment working state or the mode of hardware jumper realizes timesharing and shares, wherein,
For hardware jumper mode, controlled the access originator of shared device by the mode of hardware jumper, under fixing wire jumper pattern, corresponding shared device can only have an access originator, then abandons the access originator on another road;
For equipment working state identification means, device request queue and identity device are set in each shared device, device request queue is used for storing the request allowing access equipment, request of access is made to realize line production, improve device access efficiency, the state of mark essential record request queue, the mode identified by equipment working state judges whether current request allows to perform, thus realizes the access conflict controlling shared device.
Preferably, for equipment working state identification means, by monitoring device request queue, according to the state of last request in queue, quene state is identified simultaneously, and then the description of finishing equipment duty;
Wherein, sign content comprises: queue free mark, queue request interruptible identification and queue request source mark, wherein,
Queue free mark effectively represents that current not request conducts interviews to equipment, in this condition, all can perform immediately the access of any request source;
Queue request interruptible identification represents that whether current device request queue last-minute plea is one in the middle of a continuous request sequence, if not, then interruptible identification is effective, be identified at after this request and can add other requests, if it is interruptible identification is invalid, and mark can not add new request.
Queue request source mark represents the request source of current device request queue last-minute plea.
Accompanying drawing explanation
By reference to the accompanying drawings, and by reference to detailed description below, will more easily there is more complete understanding to the present invention and more easily understand its adjoint advantage and feature, wherein:
Fig. 1 is the hardware configuration embodiment schematic diagram that the present invention supports main frame and baseboard management controller shared device method;
Fig. 2 is a kind of embodiment schematic diagram of the host access method of Campatible of the present invention;
Fig. 3 is a kind of embodiment schematic diagram of the host access device of Campatible of the present invention;
Fig. 4 is a kind of embodiment schematic diagram of sharing conflict disposal route of the present invention;
Fig. 5 is a kind of embodiment schematic diagram of present device request queue mark.
It should be noted that, accompanying drawing is for illustration of the present invention, and unrestricted the present invention.Note, represent that the accompanying drawing of structure may not be draw in proportion.Further, in accompanying drawing, identical or similar element indicates identical or similar label.
Embodiment
In order to make content of the present invention clearly with understandable, below in conjunction with specific embodiments and the drawings, content of the present invention is described in detail.
For solving the problems referred to above of prior art, the invention provides a kind of main frame and baseboard management controller shared device method, described by allow main frame and baseboard management controller shared device can promote main frame to device access performance while reduce the additional hardware cost that BMC brings to system to greatest extent.
Comprise according to main frame of the present invention and baseboard management controller shared device method:
Integrated multiple low speed IO shared device in baseboard management controller, such as P/S2 interface, SPI interface, serial ports, IIC interface, XBUS interface, fan control interface, power-management interface etc.;
Adopt the WishBone bus protocol of standard at multiple equipment room, realize connection communication by WishBone cross bar switch;
Main frame is conducted interviews to shared device by the lpc bus that baseboard management controller is up, by the communication of WishBone Interface realization between up lpc bus interface and shared device, adopts the method for asynchronous handing-over to improve the stability of access;
For address space method for organizing, make shared device have two and overlap independently reference address space, main frame and baseboard management controller adopt different address spaces to conduct interviews to shared device by the mode that address space remaps respectively;
For the host access method of Campatible, make the compatible legacy IO in shared device address, the visible equipment of part non-Legacy IO conducts interviews by the IPMI agreement of standard simultaneously;
Under the prerequisite of compatible lpc bus specification, the response of amendment lpc bus, increases the upper limit of delay-tolerant (such as doubling), arranges timeout mechanism simultaneously, prevents bus from hanging dead;
Perform shared device access rights to arrange, the configuration information wherein affecting the overall situation only allows baseboard management controller to revise, and is read-only for main frame (Host);
Sharing conflict disposal route, then ranking to not having the residual channel access of state (as transmitting-receiving FIFO), then carrying out timesharing share there being the residual channel access of state.And, because can not carry out at the same time the use of passage in most cases, so the situation obscured of receiving and sending messages is little.
Accordingly, the present invention also provides a kind of host access method of Campatible, when host access shared device address is as the legacy such as P/S2, serial ports equipment, adopt legacy IO address, access the visible equipment of other non-Legacy IO such as IIC interface etc. and then conducted interviews by KCS or the BT interface of the IPMI agreement of standard.
The present invention also provides a kind of host access device of Campatible, and this device is integrated in the system interface module of baseboard management controller, comprising: address decoding, address conversion, LPC turn WishBone bus bridge, BT and KCS module, wherein,
Address decoding carries out decoding to the reference address that main frame sends, judge whether the target of current accessed belongs to shared device space in baseboard management controller, if do not belonged to, return errored response to main frame, if belonged to, the address after being resolved sends to corresponding equipment;
The BT interface protocol of the complete compatible IPMI of BT module, main frame can realize the access to all devices in baseboard management controller by this interface;
The KCS interface protocol of the complete compatible IPMI of KCS module, main frame can realize the access to all devices in baseboard management controller by this interface;
LPC turns the mutual conversion that WishBone bus bridge realizes the lpc bus agreement of up-stream system interface employing and the WishBone bus protocol of equipment employing;
The home address that address conversion uses when the address of host access being converted to baseboard management controller inside WishBone cross bar switch route, completes the share and access of different address space.
The present invention also provides a kind of sharing conflict disposal route, the mode of queuing up is adopted to conduct interviews according to the principle of prerequisite variable to the equipment not having state residual (i.e. sharing conflict), the device access remained there being state is then identified by equipment working state or the mode of hardware jumper realizes timesharing and shares, wherein
Hardware jumper mode, controls the access originator of shared device by the mode of hardware jumper, under fixing wire jumper pattern, corresponding shared device can only have an access originator, then abandons the access originator on another road.
Equipment working state identification means, device request queue and identity device are set in each shared device, device request queue is used for storing the request allowing access equipment, request of access is made to realize line production, improve device access efficiency, the state of mark essential record request queue, the mode identified by equipment working state judges whether current request allows to perform, thus realizes the access conflict controlling shared device.
The present invention also provides a kind of identification method of request queue, and sign content comprises: queue free mark, queue request interruptible identification and queue request source mark, wherein,
Queue free mark effectively represents that current not request conducts interviews to equipment, in this condition, all can perform immediately the access of any request source;
Queue request interruptible identification represents that whether current device request queue last-minute plea is one in the middle of a continuous request sequence, if not, then interruptible identification is effective, be identified at after this request and can add other requests, if it is interruptible identification is invalid, and mark can not add new request.
Queue request source mark represents the request source of current device request queue last-minute plea.
Compared with prior art, host access method and the sharing conflict disposal route of above-mentioned main frame and baseboard management controller shared device method, Campatible have the following advantages: under the prerequisite that content with funtion is complete, mainboard is integrated reduces chip kind, improve mainboard integrated level, reduce motherboard design pressure and hardware cost, the transplanting that the host access method of Campatible facilitates shared device to drive, adopt conventional driving both can complete the access of main frame to equipment, hardware structure is completely transparent to driving.Sharing conflict disposal route can improve device access efficiency under avoiding multi-source to access the prerequisite of device conflict.
Below with reference to the accompanying drawings specific embodiments of the invention are described.
Fig. 1 is the hardware configuration embodiment schematic diagram that the present invention supports main frame and baseboard management controller shared device method.
With reference to shown in Fig. 1, the present invention supports that the hardware configuration embodiment of main frame and baseboard management controller shared device method comprises: host system interface 10, P/S2 interface 11, UART interface 12, WishBone cross bar switch 13, SPI interface 14, X-BUS interface 15, I2C Master Interface 16, ACPI power-management interface 17, hummer 18, FAN interface 19, GPIO interface 20, timing WDT interface 21, embedded processing OR1200 module 22, jtag interface 23 and CPU maintenance interface 24.
Wherein, host system interface 10 carries out communication for host CPU and baseboard management controller intra-sharing equipment, comprise the conversion of bus protocol, the conversion of address space, achieve KCS and the BT interface function in IPMI specification, be the critical component of main frame and baseboard management controller shared device simultaneously;
P/S2 interface 11 is one of shared devices, and the keyboard and mouse interface of compatibility standard, belongs to legacy equipment, can be accessed by host CPU and baseboard management controller flush bonding processor OR1200 module 22 simultaneously;
UART interface 12 is one of shared devices, and the RS232 serial ports of compatibility standard, belongs to legacy equipment, can be accessed by host CPU and baseboard management controller flush bonding processor OR1200 module 22 simultaneously;
WishBone cross bar switch 13 is baseboard management controller internal interconnection network parts, carries out communication for each equipment room in baseboard management controller inside, the full decussate texture of 8X8;
SPI interface 14 is one of shared devices, serial FLASH interface, for storing the initialization information, BIOS etc. of the operating system of OR1200 and firmware, host CPU in FLASH;
X-BUS interface 15 is expansion bus, serves many purposes, and comprising: external SRAM memory, as the service data space of OpenRisc; External 100M Ethernet chip, for safeguarding and Long-distance Control; A slice FPGA can be expanded in outside, to tackle the change of CPU maintenance interface, improve nest plate adaptive faculty; Can external NVRAM, meet numerical control project host CPU and store information needs.
I2C Master Interface 16 is one of shared devices, the I2C bus interface of standard, can mount multiple I2C equipment;
ACPI power-management interface 17 is one of shared devices, belongs to legacy equipment, controls for realizing host power supply and resetting;
Hummer 18 is one of shared devices, reports to the police for realizing main frame.
FAN interface 19 is one of shared devices, for realizing controlling the status monitoring of integration fan on plate and rotating speed.
Embedded processing OR1200 module 22 is baseboard management controller processors, adds pass point control, the functions such as host CPU initialization control and firmware loads for realizing;
Jtag interface 23 is for FPGA programming and debugging;
CPU maintenance interface 24 is the special maintenance interfaces of Shen prestige series processors, can be completed the functions such as the initialization loading of CPU by this interface.
The hardware configuration of above-mentioned embodiment is mainly being multiple low speed IO to be integrated in same baseboard management controller, these low speed I/O device are all articulated on WishBone cross bar switch 13, all can simultaneously by other interface accessings on WishBone cross bar switch 13.Shared device has two cover address spaces in the entire system, and be respectively LPC interface accessing space and the inner Wishbone bus access space of baseboard management controller of host CPU, two cover address spaces realize conversion in host system interface 10.Such baseboard management controller module not only can be used for system management, the application configuration that completion system is different, while realizing configuration management, equipment control, performance monitoring, the various function such as KVM, SOL, also can realize the partial function of conventional Super IO chip, make that mainboard is integrated decreases chip kind, improve mainboard integrated level, greatly reduce motherboard design pressure and hardware cost, adopt the host mode of compatible legacy IO simultaneously, also make the driving of shared device transplant easily.
Fig. 2 is a kind of embodiment schematic diagram of the host access method of Campatible of the present invention.
With reference to shown in Fig. 2, a kind of embodiment of the host access method of Campatible of the present invention is used for main frame carries out the inner integrated shared device of baseboard management controller access by the inner integrated Campatible host access device 201 of host system interface in Fig. 1 10, and described access method comprises:
Host CPU 200 sends device access request by lpc bus to Campatible host access device 201, carries out address decoding, and then judge whether this request belongs to baseboard management controller internal unit in Campatible host access device 201 inside.Then illegal response is directly returned for unauthorized access.
If request of access access is legacy shared device 204, then this request of access is directly sent to Legacy shared device 204 by Wishbone cross bar switch 203, and then complete this request of access by Campatible host access device 201 after the conversion of address.
If request of access access is non-legacy shared device 205, then 201, Campatible host access device completes this request of access by the IPMI interface 305 in inner integrated Fig. 3.
Fig. 3 is a kind of embodiment schematic diagram of the host access device of Campatible of the present invention.
Completed in the order buffering of request bag buffer memory KCS interface 305 in figure 3 that request then needs host CPU to send or BT interface 306 by the IPMI interface 307 in Fig. 3, send to embedded processing 202 simultaneously and interrupt, flush bonding processor 22 responds in this has no progeny, the order of the order buffering of the KCS interface 305 in Fig. 3 or BT interface 306 is resolved, then convert new request of access to and send to non-legacy shared device 205 by Wishbone cross bar switch 203, subsequently the response returned is sent to KCS interface 305 in Fig. 3 or BT interface 306 by Wishbone cross bar switch 203 again, interrupt request be sent to host CPU 200 after KCS interface 305 in Fig. 3 or BT interface 306 receive response, host CPU 200 then sends the response reading that the KCS interface 305 in Fig. 3 or BT interface 306 are deposited by lpc bus request of access again after receiving interrupt request, and then complete the access of main frame to shared device.
The legacy device access agreement of the equal compatibility standard of host access method that above-mentioned embodiment adopts and IPMI specification, hardware structure is transparent to driving, is convenient to drive transplant.
With reference to shown in Fig. 3, the present invention also provides a kind of host access device 301 of Campatible, comprising: address decoding 302, LPC turn Wishbone bus bridge 303, address conversion 304, IPMI interface 307, BT306, KCS305, Wishbone cross bar switch 308.
The reference address that address decoding 302 pairs of main frames send carries out decoding, judge whether the target of current accessed belongs to shared device space in baseboard management controller, if do not belonged to, return errored response to main frame, if belonged to, the address after being resolved sends to corresponding equipment;
LPC turns the mutual conversion that Wishbone bus bridge 303 realizes the lpc bus agreement of up-stream system interface employing and the WishBone bus protocol of equipment employing;
The home address that address conversion 304 uses when the address of host access being converted to baseboard management controller inside WishBone cross bar switch route, completes remapping of different address space, realizes the share and access of main frame to equipment;
The KCS interface protocol of the complete compatible IPMI of KCS305 module, main frame can realize the access to all devices in baseboard management controller by this interface;
The BT interface protocol of the complete compatible IPMI of BT306 module, main frame can realize the access to all devices in baseboard management controller by this interface;
KCS305 and BT306 two kinds of access interfaces in the integrated IPMI specification of IPMI interface 307, can complete the access control of non-Legacy shared device;
Wishbone cross bar switch 308 is Wishbone cross bar switches of standard, can realize docking of other Wishbone interfacing equipments inner with baseboard management controller easily.
The Campatible host access device that above-mentioned embodiment realizes achieves perfect support to the Campatible host access method shown in Fig. 2, can be used as the basis of Campatible host access method.
With reference to shown in Fig. 4, the present invention also provides a kind of disposal route of sharing conflict, the mode of queuing up is adopted to conduct interviews according to the principle of prerequisite variable to the equipment not having state residual (i.e. sharing conflict), the device access remained there being state is then identified by equipment working state or the mode of hardware jumper realizes timesharing and shares, and the disposal route of described sharing conflict comprises:
Step 401, request source A is sent to shared device interface, performs step 402;
Step 402, the jumper adopted by Current hardware judges whether request source A is the request source be allowed through, and if not, then performs step 403, if so, then performs step 404;
Step 403, abandons this request and does not do any process, returns step 401 and waits for new request;
Step 404, query facility request queue status identifies and then judges whether the request that request source A sends allows to carry out device request queue;
According to the Query Result of step 404, step 405, judges whether current request queue is idle condition, if so, then perform step 409, if not, then performs step 406;
Step 406, judges that whether current request queue interruptible identification is effective, if so, then performs step 409, if not, then perform step 407;
Step 407, judges whether identical current request identifies with the request source of request queue, if identical, then performs step 409, if not identical, performs step 408;
Step 408, returns to request source and retransmits response, return step 401.
The sharing conflict disposal route of above-mentioned embodiment is under fixing wire jumper pattern, and corresponding shared device can only have an access originator, then abandons the access originator on another road.Device request queue and identity device are set in each shared device, device request queue is used for storing the request allowing access equipment, request of access is made to realize line production, improve device access efficiency, the state of mark essential record request queue, the mode identified by equipment working state judges whether current request allows to perform, thus realizes the access conflict controlling shared device.
With reference to shown in Fig. 5, the present invention also provides a kind of device request queue identity method, and sign content comprises: queue free mark, queue request interruptible identification, queue request source mark, and described device request queue identity method comprises:
Step 501, request queue free mark is empty, and during reset, this mark is effective, after having request to enter queue, perform step 502;
Step 502, arranging the queue free time is designated not empty, revises request source mark simultaneously, performs step 503;
Step 503, judges whether current request of joining the team is interruptible price request, if so, then performs step 508, if not, then performs step 504;
Step 504, can not last request of interrupt request sequence when judging that current enqueue request whether, if so, then performs step 508, if not, then performs step 505;
Step 505, arranges interruption and is designated not interruptible price, performs step 506;
Step 506, judges whether current request queue has and newly asks into right, if having, then performs step 502, if do not have, then performs step 509;
Step 507, judges that whether the same bat of team is leisured and asks into right, if having, then performs step 502, if do not have, then performs step 501;
Step 508, puts interruption and is designated interruptable state, performs step 506;
Step 509, has judged whether newly to ask into right, if having, then performs step 502, if do not have, then performs step 510;
Step 510, judge current go out right request whether be last request, if so, then perform step 507, if not, then perform step 506;
Wherein, queue free mark effectively represents that current not request conducts interviews to equipment to the device request queue identity method of above-mentioned embodiment, in this condition, all can perform immediately the access of any request source; Queue request interruptible identification represents that whether current device request queue last-minute plea is one in the middle of a continuous request sequence, if not, then interruptible identification is effective, be identified at after this request and can add other requests, if it is interruptible identification is invalid, and mark can not add new request.Queue request source mark represents the request source of current device request queue last-minute plea.The shared device conflict processing method described in Fig. 4 is can be completely achieved by this identification method.
Be understandable that, although the present invention with preferred embodiment disclose as above, but above-described embodiment and be not used to limit the present invention.For any those of ordinary skill in the art, do not departing under technical solution of the present invention ambit, the technology contents of above-mentioned announcement all can be utilized to make many possible variations and modification to technical solution of the present invention, or be revised as the Equivalent embodiments of equivalent variations.Therefore, every content not departing from technical solution of the present invention, according to technical spirit of the present invention to any simple modification made for any of the above embodiments, equivalent variations and modification, all still belongs in the scope of technical solution of the present invention protection.

Claims (7)

1. a method for main frame and baseboard management controller shared device, is characterized in that comprising:
Integrated IO shared device in baseboard management controller;
Multiple equipment room adopts the WishBone bus protocol of standard, realizes connection communication by WishBone cross bar switch;
Main frame is conducted interviews to shared device by the lpc bus that baseboard management controller is up, by the communication of WishBone Interface realization between up lpc bus interface and shared device;
Executive address spatial organization, wherein shared device has two and overlaps independently reference address space, and main frame and baseboard management controller adopt different address spaces to conduct interviews to shared device by the mode that address space remaps respectively;
Perform the host access of Campatible, wherein the compatible legacy IO in shared device address, the visible equipment of part non-legacy IO is conducted interviews by the IPMI agreement of standard simultaneously;
Under the prerequisite of compatible lpc bus specification, the response of amendment lpc bus, increases the upper limit of delay-tolerant, arranges timeout mechanism simultaneously, prevents bus from hanging dead;
Perform shared device access rights to arrange, wherein make the configuration information affecting the overall situation only allow to be revised by baseboard management controller, and be read-only for main frame;
Sharing conflict disposal route, then ranks to the channel access not having state residual, then carries out timesharing share there being the residual channel access of state;
And the equipment remained the state that do not have adopts the mode of queuing up to conduct interviews according to the principle of prerequisite variable, the device access remained there being state is then identified by equipment working state or the mode of hardware jumper realizes timesharing and shares, wherein,
For hardware jumper mode, controlled the access originator of shared device by the mode of hardware jumper, under fixing wire jumper pattern, corresponding shared device can only have an access originator, then abandons the access originator on another road;
For equipment working state identification means, device request queue and identity device are set in each shared device, device request queue is used for storing the request allowing access equipment, request of access is made to realize line production, improve device access efficiency, the state of mark essential record request queue, the mode identified by equipment working state judges whether current request allows to perform, thus realizes the access conflict controlling shared device.
2. the method for main frame according to claim 1 and baseboard management controller shared device, is characterized in that, by traditional low speed I/O device and low speed bus Interface integration in baseboard management controller controller.
3. the method for main frame according to claim 1 and 2 and baseboard management controller shared device, it is characterized in that, main frame is conducted interviews to shared device by the lpc bus that baseboard management controller is up, each equipment interface all adopts WishBone bus interface, realizes connection communication by WishBone cross bar switch.
4. the method for main frame according to claim 1 and 2 and baseboard management controller shared device, is characterized in that, the asynchronous FIFO that the asynchronous communication between different clock-domains have employed based on WishBone realizes.
5. the method for main frame according to claim 1 and 2 and baseboard management controller shared device, it is characterized in that, by being integrated in the system interface module practical function of baseboard management controller: adopt legacy IO address during host access shared device address, access the visible equipment of other non-legacy IO and then conducted interviews by KCS or the BT interface of the IPMI agreement of standard;
The system interface module being integrated in baseboard management controller comprises: address decoding, address conversion, LPC turn WishBone bus bridge, BT and KCS module, wherein,
Address decoding carries out decoding to the reference address that main frame sends, judge whether the target of current accessed belongs to shared device space in baseboard management controller, if do not belonged to, return errored response to main frame, if belonged to, the address after being resolved sends to corresponding equipment;
The BT interface protocol of the compatible IPMI of BT module, is provided for the access of main frame realization to all devices in baseboard management controller;
The KCS interface protocol of the compatible IPMI of KCS module, is provided for the access of main frame realization to all devices in baseboard management controller;
LPC turns the mutual conversion that WishBone bus bridge realizes the lpc bus agreement of up-stream system interface employing and the WishBone bus protocol of equipment employing;
The home address that address conversion uses when the address of host access being converted to baseboard management controller inside WishBone cross bar switch route, completes the share and access of different address space.
6. the method for main frame according to claim 1 and 2 and baseboard management controller shared device, is characterized in that, when revising lpc bus response, by the handshake mechanism of LPC agreement, the upper limit of lpc bus delay-tolerant acknowledge cycle is increased.
7. the method for main frame according to claim 1 and baseboard management controller shared device, it is characterized in that, for equipment working state identification means, by monitoring device request queue, according to the state of last request in queue, quene state is identified simultaneously, and then the description of finishing equipment duty;
Wherein, sign content comprises: queue free mark, queue request interruptible identification and queue request source mark, wherein,
Queue free mark effectively represents that current not request conducts interviews to equipment, in this condition, all can perform immediately the access of any request source;
Queue request interruptible identification represents that whether current device request queue last-minute plea is one in the middle of a continuous request sequence, if not, then interruptible identification is effective, be identified at after this request and can add other requests, if it is interruptible identification is invalid, and mark can not add new request;
Queue request source mark represents the request source of current device request queue last-minute plea.
CN201310114195.8A 2013-04-02 2013-04-02 Method allowing host and baseboard management controller to share device Active CN103150279B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310114195.8A CN103150279B (en) 2013-04-02 2013-04-02 Method allowing host and baseboard management controller to share device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310114195.8A CN103150279B (en) 2013-04-02 2013-04-02 Method allowing host and baseboard management controller to share device

Publications (2)

Publication Number Publication Date
CN103150279A CN103150279A (en) 2013-06-12
CN103150279B true CN103150279B (en) 2015-05-06

Family

ID=48548369

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310114195.8A Active CN103150279B (en) 2013-04-02 2013-04-02 Method allowing host and baseboard management controller to share device

Country Status (1)

Country Link
CN (1) CN103150279B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107765782A (en) * 2016-08-23 2018-03-06 佛山市顺德区顺达电脑厂有限公司 Cabinet apparatus

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104679685B (en) * 2013-11-29 2017-10-31 英业达科技有限公司 Baseboard management controller access method
CN104618121A (en) * 2015-01-29 2015-05-13 曙光云计算技术有限公司 Switch and server system
CN104834543A (en) * 2015-04-24 2015-08-12 曙光信息产业(北京)有限公司 Method and device for externally refreshing BIOS (basic input/output system) firmware
CN106815163B (en) * 2015-12-02 2019-10-18 上海兆芯集成电路有限公司 Have the System on Chip/SoC and its PCI-E root port controller of warm connection function
CN107241886B (en) * 2017-06-06 2020-02-11 苏州浪潮智能科技有限公司 Novel Rack node middle plate and design method thereof
CN108847997A (en) * 2018-04-03 2018-11-20 郑州云海信息技术有限公司 A kind of method and device thereof communicated by api interface
CN111124509B (en) * 2019-11-29 2021-07-06 苏州浪潮智能科技有限公司 Server starting method and device
CN111475435A (en) * 2020-03-13 2020-07-31 苏州浪潮智能科技有限公司 Storage medium sharing method and device, electronic equipment and storage medium
CN112131167B (en) * 2020-08-21 2022-06-21 山东云海国创云计算装备产业创新中心有限公司 LPC protocol-based I2C forwarding module, system and use method thereof
CN112347017A (en) * 2020-09-24 2021-02-09 天津市英贝特航天科技有限公司 PS/2 keyboard dual-host plug-in system with LPC bus interface and switching method
CN113254380B (en) * 2021-06-18 2021-10-15 苏州浪潮智能科技有限公司 Communication method, device and equipment between host and baseboard management controller
CN116561036B (en) * 2023-07-10 2024-04-02 牛芯半导体(深圳)有限公司 Data access control method, device, equipment and storage medium
CN116643997B (en) * 2023-07-26 2023-09-22 苏州浪潮智能科技有限公司 Baseboard management controller, basic input/output system debugging method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4660144A (en) * 1985-05-23 1987-04-21 International Business Machines Corp. Adjunct machine
CN1285993C (en) * 2003-06-30 2006-11-22 华为技术有限公司 Input/output processing unit of storage device
US8521915B2 (en) * 2009-08-18 2013-08-27 Fusion-Io, Inc. Communicating between host computers and peripheral resources in an input/output (I/O) virtualization system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107765782A (en) * 2016-08-23 2018-03-06 佛山市顺德区顺达电脑厂有限公司 Cabinet apparatus

Also Published As

Publication number Publication date
CN103150279A (en) 2013-06-12

Similar Documents

Publication Publication Date Title
CN103150279B (en) Method allowing host and baseboard management controller to share device
CN105718390B (en) Low-power in shared memory link enters
CN101901207B (en) Operating system of heterogeneous shared storage multiprocessor system and working method thereof
CN104426814B (en) NUMA node peripheral switch
CN102110072B (en) Complete mutual access method and system for multiple processors
CN106648896B (en) Method for dual-core sharing of output peripheral by Zynq chip under heterogeneous-name multiprocessing mode
CN101163133B (en) Communication system and method of implementing resource sharing under multi-machine virtual environment
US9910693B2 (en) Virtual machine to host device bridging
DE112016005910T5 (en) Architecture for Software-Defined Interconnect Switch
US20210117244A1 (en) Resource manager access control
CN101183315A (en) Paralleling multi-processor virtual machine system
CN104123194A (en) Communication structure and method for kernel mode and user mode
CN103873489A (en) Device sharing system with PCIe interface and device sharing method with PCIe interface
US9875131B2 (en) Virtual PCI device based hypervisor bypass using a bridge virtual machine
US20130247038A1 (en) Device-integration method, terminal-apparatus, and distributed multi-terminal-apparatus system
CN104461970B (en) Dma controller, mobile terminal and data method for carrying
CN101739380B (en) Shared memory architecture-based multiprocessor communication device and method thereof
US10013199B2 (en) Translation bypass by host IOMMU for systems with virtual IOMMU
CN104699654A (en) Interconnection adapting system and method based on CHI on-chip interaction bus and QPI inter-chip interaction bus
CN113872796A (en) Server and node equipment information acquisition method, device, equipment and medium thereof
CN106844263B (en) Configurable multiprocessor-based computer system and implementation method
CN205103599U (en) Cross -border trade BPO uses cloud terminating set
CN117278890B (en) Optical module access method, device and system, electronic equipment and readable storage medium
CN103678244B (en) A kind of smart machine without using application processor
CN105893036A (en) Compatible accelerator extension method for embedded system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant