CN103150279A - 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
CN103150279A
CN103150279A CN2013101141958A CN201310114195A CN103150279A CN 103150279 A CN103150279 A CN 103150279A CN 2013101141958 A CN2013101141958 A CN 2013101141958A CN 201310114195 A CN201310114195 A CN 201310114195A CN 103150279 A CN103150279 A CN 103150279A
Authority
CN
China
Prior art keywords
management controller
baseboard management
access
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.)
Granted
Application number
CN2013101141958A
Other languages
Chinese (zh)
Other versions
CN103150279B (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

Images

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, the particularly baseboard management controller of server 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 low speed IO commonly used all adopt SUPER IO chip special-purpose on market to realize as P/S2 interface, SPI interface, serial ports, IIC interface, XBUS interface, fan control interface, power-management interface etc.
Along with the server development, systemic-function strengthens, and miniaturization has become current server and developed to get trend.Practical function strengthens the number of chips that just needs to increase in mainboard under existing commercial chip prerequisite, realizes that the complicated system integration has made motherboard design become more and more painstaking in limited mainboard space, and the server master board design also just faces new challenges.
In order to address this problem, in the integrated level that improves chip, the mode that employing equipment is shared also becomes a kind of effective solution.
Summary of the invention
Technical matters to be solved by this invention is for there being defects in prior art, provide a kind of can be in the systemic-function of integrated complex in limited mainboard space, reduce mainboard integrated complex degree and the main frame of hardware cost and the method for baseboard management controller shared device.
According to the present invention, a kind of method of main frame and baseboard management controller shared device is provided, it is characterized in that comprising:
Integrated IO shared device in baseboard management controller;
A plurality of equipment rooms adopt the WishBone bus protocol of standard, realize connection communication by the WishBone cross bar switch;
Main frame conducts interviews to shared device by the up lpc bus of baseboard management controller, passes through 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 the mode that main frame and baseboard management controller remap by address space adopts respectively different address spaces that shared device is conducted interviews;
Carry out the host access of Campatible, the compatible legacy IO in shared device address wherein, the visible equipment of the non-Legacy IO of part conducts interviews by the IPMI agreement of standard simultaneously;
Under the prerequisite of compatible lpc bus standard, to revise lpc bus and reply, the upper limit increase with delay-tolerant arranges timeout mechanism simultaneously, prevents that the bus extension is dead;
Carry out the setting of shared device access rights, wherein make the configuration information of the impact overall situation only allow to be revised by baseboard management controller, and be read-only for main frame;
The sharing conflict disposal route is ranked to not having the residual channel access of state, shares there being the residual channel access of state to carry out timesharing.
Preferably, the IO shared device comprises P/S2 interface, SPI interface, serial ports, IIC interface, XBUS interface, fan control interface and power-management interface.
Preferably, traditional low speed IO equipment and low speed bus Interface integration in the baseboard management controller controller, as P/S2 interface, SPI interface, serial ports, IIC interface, XBUS interface, fan control interface, power-management interface etc., are improved level of integrated system.
Preferably, main frame conducts interviews to shared device by the up lpc bus of baseboard management controller, and each equipment interface all adopts the WishBone bus interface, realizes connection communication by the WishBone cross bar switch.
Preferably, the asynchronous communication between different clock-domains has been adopted based on the asynchronous FIFO of WishBone and has been realized.
Preferably, when executive address spatial organization, shared device adopts two to overlap independently reference address space, and the mode that main frame and baseboard management controller remap by address space adopts respectively different address spaces that shared device is conducted interviews.
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, KCS or the BT interface of the IPMI agreement by standard conduct interviews to access the visible equipment of other non-Legacy IO;
The system interface module that is integrated in baseboard management controller comprises: address decoding, address translation, LPC turn WishBone bus bridge, BT and KCS module, wherein,
Address decoding carries out decoding to the reference address that main frame sends, whether the target that judges current accessed belongs to shared device space in baseboard management controller, if do not belong to return to errored response to main frame, if belong to the address after its parsing is sent to corresponding equipment;
The BT interface protocol of the compatible IPMI of BT module is used for making the main frame realization to the access of all devices in baseboard management controller;
The KCS interface protocol of the compatible IPMI of KCS module is used for making the main frame realization to the access of all devices in baseboard management controller;
LPC turns the WishBone bus bridge and realizes the lpc bus agreement of up-stream system interface employing and the mutual conversion of the WishBone bus protocol that equipment adopts;
The home address of using when address translation becomes the inner WishBone cross bar switch of baseboard management controller route with the address translation of host access is completed the share and access of different address spaces.
Preferably, when the modification lpc bus is replied, 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, can't complete access within the appointed time, active termination prevents that the bus extension is dead.
Preferably, when execution shared device access rights arrange, deposit the configuration information of the overall situation in partial sharing equipment, these information only allow baseboard management controller to modify under given conditions, and main frame is only had read-only authority.
Preferably, to do not have the residual equipment of state adopt the mode of queuing up according to first first the principle of service conduct interviews, to having the residual device access of state identify by equipment working state or the mode of hardware jumper realizes that timesharing is shared, wherein,
For the hardware jumper mode, control 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, and the access originator on another road is abandoned;
For the equipment working state identification means, device request formation and identity device are set in each shared device, the device request formation is used for storing the request that allows access means, make request of access realize line production, improve device access efficient, the state of sign essential record request queue, the mode that identifies by equipment working state judges whether current request allows to carry out, thereby realizes controlling the access conflict of shared device.
Preferably, for the equipment working state identification means, by to device request formation monitor, simultaneously the state according to last request in formation identifies quene state, and then the description of finishing equipment duty;
Wherein, sign content comprises: formation free mark, queue request interruptible identification and queue request source sign, wherein,
The formation free mark effectively current not request of expression conducts interviews to equipment, under this state, all can carry out immediately the access of any request source;
The queue request interruptible identification represents that whether current device request queue last-minute plea is in the middle of a continuous request sequence, if not, interruptible identification is effective, be identified at this request back and can add other requests, if it is interruptible identification is invalid, and sign can not be added new request.
The request source of queue request source sign expression current device request queue last-minute plea.
Description of drawings
By reference to the accompanying drawings, and by with reference to following detailed description, will more easily to the present invention, more complete understanding be arranged and more easily understand its advantage of following 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 sign.
Need to prove, accompanying drawing is used for explanation the present invention, and unrestricted the present invention.Note, the accompanying drawing of expression structure may not be to draw in proportion.And in accompanying drawing, identical or similar element indicates identical or similar label.
Embodiment
In order to make content of the present invention more clear and 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 allowing main frame and baseboard management controller shared device reduce to greatest extent the additional hardware cost that BMC brings to system when the lifting main frame is to the device access performance.
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 a plurality of equipment rooms, realize connection communication by the WishBone cross bar switch;
Main frame conducts interviews to shared device by the up lpc bus of baseboard management controller, by the communication of WishBone Interface realization, adopts the method for asynchronous handing-over to improve the stability of access between up lpc bus interface and shared device;
For the address space method for organizing, make shared device have two and overlap independently reference address space, the mode that main frame and baseboard management controller remap by address space adopts respectively different address spaces that shared device is conducted interviews;
For the host access method of Campatible, make the shared device compatible legacy IO in address, the visible equipment of the non-Legacy IO of part can conduct interviews by the IPMI agreement of standard simultaneously;
Under the prerequisite of compatible lpc bus standard, to revise lpc bus and reply, the upper limit increase (for example doubling) with delay-tolerant arranges timeout mechanism simultaneously, prevents that the bus extension is dead;
Carry out the setting of shared device access rights, the configuration information of the wherein impact overall situation only allows baseboard management controller to revise, and (Host) is read-only for main frame;
The sharing conflict disposal route is ranked to not having the residual channel access of state (as transmitting-receiving FIFO), shares there being the residual channel access of state to carry out timesharing.And, because can not carry out at the same time the use of passage in most cases, so receive and send messages the situation obscured seldom.
Accordingly, the present invention also provides a kind of host access method of Campatible, when the legacy equipment such as host access shared device address such as P/S2, serial ports, adopt legacy IO address, KCS or the BT interface of the IPMI agreement by standard conduct interviews to access other visible equipment of non-Legacy IO such as IIC interface etc.
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 translation, LPC turn WishBone bus bridge, BT and KCS module, wherein,
Address decoding carries out decoding to the reference address that main frame sends, whether the target that judges current accessed belongs to shared device space in baseboard management controller, if do not belong to return to errored response to main frame, if belong to the address after its parsing is sent to corresponding equipment;
The BT interface protocol of the complete compatible IPMI of BT module, main frame can be realized 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 be realized access to all devices in baseboard management controller by this interface;
LPC turns the WishBone bus bridge and realizes the lpc bus agreement of up-stream system interface employing and the mutual conversion of the WishBone bus protocol that equipment adopts;
The home address of using when address translation becomes the inner WishBone cross bar switch of baseboard management controller route with the address translation of host access is completed the share and access of different address spaces.
The present invention also provides a kind of sharing conflict disposal route, adopt the mode of queuing up to conduct interviews according to the principle of first serving first to the equipment that does not have state residual (being sharing conflict), to having the residual device access of state to identify by equipment working state or the mode of hardware jumper realizes that timesharing shares, wherein
The hardware jumper mode is 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, and the access originator on another road is abandoned.
The equipment working state identification means, device request formation and identity device are set in each shared device, the device request formation is used for storing the request that allows access means, make request of access realize line production, improve device access efficient, the state of sign essential record request queue, the mode that identifies by equipment working state judges whether current request allows to carry out, thereby realizes controlling the access conflict of shared device.
The present invention also provides a kind of identification method of request queue, and sign content comprises: formation free mark, queue request interruptible identification and queue request source sign, wherein,
The formation free mark effectively current not request of expression conducts interviews to equipment, under this state, all can carry out immediately the access of any request source;
The queue request interruptible identification represents that whether current device request queue last-minute plea is in the middle of a continuous request sequence, if not, interruptible identification is effective, be identified at this request back and can add other requests, if it is interruptible identification is invalid, and sign can not be added new request.
The request source of queue request source sign expression 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: satisfying under the prerequisite of complete function, the integrated chip kind that reduces of mainboard, improve the 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 driving commonly used both can complete main frame to the access of equipment, hardware structure is fully transparent to driving.The sharing conflict disposal route can improve device access efficient under the prerequisite of avoiding the conflict of multi-source access means.
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 Figure 1, the present invention supports the hardware configuration embodiment of main frame and baseboard management controller shared device method to comprise: 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 is used for host CPU and baseboard management controller intra-sharing equipment carries out communication, comprise the conversion of bus protocol, the conversion of address space, having realized simultaneously KCS and BT interface function in the IPMI standard, is the critical component of main frame and baseboard management controller shared device;
P/S2 interface 11 is one of shared devices, and the keyboard and mouse interface of compatibility standard belongs to legacy equipment, can be simultaneously by host CPU and 22 access of baseboard management controller flush bonding processor OR1200 module;
UART interface 12 is one of shared devices, and the RS232 serial ports of compatibility standard belongs to legacy equipment, can be simultaneously by host CPU and 22 access of baseboard management controller flush bonding processor OR1200 module;
WishBone cross bar switch 13 is baseboard management controller internal interconnection network parts, is used for inner each equipment room of baseboard management controller and carries out communication, the full decussate texture of 8X8;
SPI interface 14 is one of shared devices, and the serial FLASH interface is used for the initialization information, BIOS of the operating system of storage OR1200 and firmware, host CPU etc. in FLASH;
X-BUS interface 15 is expansion bus, serves many purposes, and comprising: external SRAM storer, as the service data space of OpenRisc; External 100M Ethernet chip is used for safeguarding and Long-distance Control; Can externally expand a slice FPGA, the variation with reply CPU maintenance interface improves the nest plate adaptive faculty; Can external NVRAM, satisfy numerical control project host CPU storage informational needs.
I2C Master Interface 16 is one of shared devices, and the I2C bus interface of standard can articulate multiple I2C equipment;
ACPI power-management interface 17 is one of shared devices, belongs to legacy equipment, is used for realizing host power supply and resetting control;
Hummer 18 is one of shared devices, is used for realizing the main frame warning.
FAN interface 19 is one of shared devices, is used for realization status monitoring and the rotating speed of integration fan on plate are controlled.
Embedded processing OR1200 module 22 is baseboard management controller processors, is used for realizing adding the functions such as pass point control, host CPU initialization control and firmware loads;
Jtag interface 23 is used for FPGA programming and debugging;
CPU maintenance interface 24 is maintenance interfaces of Shen prestige series processors special use, can complete the functions such as initialization loading of CPU by this interface.
The hardware configuration of above-mentioned embodiment is in being that mainly multiple low speed IO is integrated into same baseboard management controller, these low speed IO equipment all is articulated on WishBone cross bar switch 13, all can be simultaneously by other interface accessings on WishBone cross bar switch 13.Shared device has two cover address spaces in whole system, is respectively LPC interface accessing space and the Wishbone bus access space, baseboard management controller inside of host CPU, and two cover address spaces are realized conversion in host system interface 10.The baseboard management controller module not only can be used for system management like this, the application configuration that completion system is different, when realizing the various functions such as configuration management, equipment control, performance monitoring, KVM, SOL, also can realize the partial function of Super IO chip commonly used, make the integrated chip kind that reduced of mainboard, improved the mainboard integrated level, greatly reduce motherboard design pressure and hardware cost, adopt simultaneously the host mode of compatible legacy IO, also make the accommodating transplanting of driving into of shared device.
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 Figure 2, a kind of embodiment of the host access method of Campatible of the present invention is used for main frame and carries out the access of the inner integrated shared device of baseboard management controller by the inner integrated Campatible host access device 201 of Fig. 1 host system interface 10, and described access method comprises:
Host CPU 200 sends the device access request by lpc bus to Campatible host access device 201, carries out address decoding in Campatible host access device 201 inside, and then judges whether this request belongs to the baseboard management controller internal unit.Directly return to illegal response for unauthorized access.
If the request of access access is legacy shared device 204, Campatible host access device 201 directly sends to Legacy shared device 204 with this request of access by Wishbone cross bar switch 203 through after address translation, and then completes this request of access.
If request of access access is non-legacy shared device 205,201, Campatible host access device is completed this request of access by the IPMI interface 305 in the integrated Fig. 3 in inside.
Fig. 3 is a kind of embodiment schematic diagram of the host access device of Campatible of the present invention.
completing request by the IPMI interface 307 in Fig. 3 needs the request bag that host CPU sends is buffered in the order buffering of KCS interface 305 in Fig. 3 or BT interface 306, send to embedded processing 202 simultaneously and interrupt, flush bonding processor 22 responses are had no progeny in being somebody's turn to do, order to the order of the KCS interface 305 in Fig. 3 or BT interface 306 buffering is resolved, then convert new request of access to and send to non-legacy shared device 205 by Wishbone cross bar switch 203, the response that to return subsequently sends to KCS interface 305 or BT interface 306 in Fig. 3 by Wishbone cross bar switch 203 again, KCS interface 305 in Fig. 3 or BT interface 306 send interrupt request to host CPU 200 after receiving response, host CPU 200 receives that again sending the response that the lpc bus request of access deposits the KCS interface 305 in Fig. 3 or BT interface 306 after interrupt request reads, and then complete main frame to the access of shared device.
Legacy device access agreement and the IPMI standard of the equal compatibility standard of host access method that above-mentioned embodiment adopts, hardware structure is transparent to driving, and is convenient to drive transplant.
With reference to shown in Figure 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 translation 304, IPMI interface 307, BT306, KCS305, Wishbone cross bar switch 308.
The reference address that 302 pairs of main frames of address decoding send carries out decoding, whether the target that judges current accessed belongs to shared device space in baseboard management controller, if do not belong to return to errored response to main frame, if belong to the address after its parsing is sent to corresponding equipment;
LPC turns Wishbone bus bridge 303 and realizes the lpc bus agreement of up-stream system interface employing and the mutual conversion of the WishBone bus protocol that equipment adopts;
The home address of using when address translation 304 becomes the inner WishBone cross bar switch of baseboard management controller route with the address translation of host access is completed remapping of different address spaces, realizes that main frame is to the share and access of equipment;
The KCS interface protocol of the complete compatible IPMI of KCS305 module, main frame can be realized 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 be realized access to all devices in baseboard management controller by this interface;
KCS305 in the integrated IPMI standard of IPMI interface 307 and two kinds of access interfaces of BT306 can be completed the access control of non-Legacy shared device;
Wishbone cross bar switch 308 is Wishbone cross bar switches of standard, can realize easily and the docking of inner other Wishbone interfacing equipments of baseboard management controller.
The Campatible host access device that above-mentioned embodiment is realized has been realized perfect support to Campatible host access method shown in Figure 2, can be used as the basis of Campatible host access method.
With reference to shown in Figure 4, the present invention also provides a kind of disposal route of sharing conflict, adopt the mode of queuing up to conduct interviews according to the principle of first serving first to the equipment that does not have state residual (being sharing conflict), to having the residual device access of state to identify by equipment working state or the mode of hardware jumper realizes that timesharing shares, the disposal route of described sharing conflict comprises:
Step 401, request source A sends to the shared device interface, execution in step 402;
Step 402, the jumper by current hardware using judges whether request source A is the request source that is allowed through, and if not, execution in step 403, if execution in step 404;
Step 403 abandons this request and does not do any processing, returns to step 401 and waits for new request;
Step 404, the query facility request queue status identifies and then judges whether the request that request source A sends allows to carry out the device request formation;
Step 405 judges according to the Query Result of step 404 whether the current request formation is idle condition, if execution in step 409, if not, execution in step 406;
Step 406 judges whether current request formation interruptible identification is effective, if execution in step 409, if not, execution in step 407;
Step 407 judges whether current request is identical with the request source sign of request queue, if identical, execution in step 409, if not identical execution in step 408;
Step 408 is returned to request source and is retransmitted response, returns to 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, and the access originator on another road is abandoned.Device request formation and identity device are set in each shared device, the device request formation is used for storing the request that allows access means, make request of access realize line production, improve device access efficient, the state of sign essential record request queue, the mode that identifies by equipment working state judges whether current request allows to carry out, thereby realizes controlling the access conflict of shared device.
With reference to shown in Figure 5, the present invention also provides a kind of device request queue identity method, and sign content comprises: formation free mark, queue request interruptible identification, queue request source sign, and described device request queue identity method comprises:
Step 501, request queue free mark are empty, and when resetting, this sign is effective, execution in step 502 after having request to enter formation;
Step 502 arranges the formation free time to be designated not emptyly, revises simultaneously request source sign, execution in step 503;
Step 503, but judge whether current request of joining the team is interrupt request, if execution in step 508, if not, execution in step 504;
Step 504, judge current join the team when whether asking can not the interrupt request sequence last request, if execution in step 508, if not, execution in step 505;
Step 505 arranges and interrupts being designated and can not interrupting, execution in step 506;
Step 506 judges whether the current request formation has new request to enter right, if having, execution in step 502, if do not have, execution in step 509;
Whether step 507, the same bat of judging team leisured request enter rightly, if having, execution in step 502, if do not have, execution in step 501;
Step 508 is put and is interrupted being designated interruptable state, execution in step 506;
Step 509 has judged whether that new request enters right, if having, execution in step 502, if do not have, execution in step 510;
Step 510 judges whether current to go out right request be last request, if execution in step 507, if not, execution in step 506;
The device request queue identity method of above-mentioned embodiment wherein, the formation free mark effectively current not request of expression conducts interviews to equipment, under this state, all can carry out immediately the access of any request source; The queue request interruptible identification represents that whether current device request queue last-minute plea is in the middle of a continuous request sequence, if not, interruptible identification is effective, be identified at this request back and can add other requests, if it is interruptible identification is invalid, and sign can not be added new request.The request source of queue request source sign expression current device request queue last-minute plea.Can be completely achieved the described shared device conflict processing method of Fig. 4 by this identification method.
Be understandable that, although the present invention with the preferred embodiment disclosure as above, yet above-described embodiment is not to limit the present invention.For any those of ordinary skill in the art, do not breaking away from technical solution of the present invention scope situation, all can utilize the technology contents of above-mentioned announcement to make many possible changes and modification to technical solution of the present invention, or be revised as the equivalent embodiment of equivalent variations.Therefore, every content that does not break away from technical solution of the present invention, all still belongs in the scope of technical solution of the present invention protection any simple modification made for any of the above embodiments, equivalent variations and modification according to technical spirit of the present invention.

Claims (10)

1. the method for a main frame and baseboard management controller shared device is characterized in that comprising:
Integrated IO shared device in baseboard management controller;
A plurality of equipment rooms adopt the WishBone bus protocol of standard, realize connection communication by the WishBone cross bar switch;
Main frame conducts interviews to shared device by the up lpc bus of baseboard management controller, passes through 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 the mode that main frame and baseboard management controller remap by address space adopts respectively different address spaces that shared device is conducted interviews;
Carry out the host access of Campatible, the compatible legacy IO in shared device address wherein, the visible equipment of the non-Legacy IO of part conducts interviews by the IPMI agreement of standard simultaneously;
Under the prerequisite of compatible lpc bus standard, to revise lpc bus and reply, the upper limit increase with delay-tolerant arranges timeout mechanism simultaneously, prevents that the bus extension is dead;
Carry out the setting of shared device access rights, wherein make the configuration information of the impact overall situation only allow to be revised by baseboard management controller, and be read-only for main frame;
The sharing conflict disposal route is ranked to not having the residual channel access of state, shares there being the residual channel access of state to carry out timesharing.
2. the method for main frame according to claim 1 and 2 and baseboard management controller shared device, is characterized in that, with traditional low speed IO equipment and low speed bus Interface integration in the 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 conducts interviews to shared device by the up lpc bus of baseboard management controller, each equipment interface all adopts the WishBone bus interface, realizes connection communication by the 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 communication between different clock-domains has been adopted based on the asynchronous FIFO of WishBone and realized.
5. the method for main frame according to claim 1 and 2 and baseboard management controller shared device, it is characterized in that, when executive address spatial organization, shared device adopts two to overlap independently reference address space, and the mode that main frame and baseboard management controller remap by address space adopts respectively different address spaces that shared device is conducted interviews.
6. 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, KCS or the BT interface of the IPMI agreement by standard conduct interviews to access the visible equipment of other non-Legacy IO;
The system interface module that is integrated in baseboard management controller comprises: address decoding, address translation, LPC turn WishBone bus bridge, BT and KCS module, wherein,
Address decoding carries out decoding to the reference address that main frame sends, whether the target that judges current accessed belongs to shared device space in baseboard management controller, if do not belong to return to errored response to main frame, if belong to the address after its parsing is sent to corresponding equipment;
The BT interface protocol of the compatible IPMI of BT module is used for making the main frame realization to the access of all devices in baseboard management controller;
The KCS interface protocol of the compatible IPMI of KCS module is used for making the main frame realization to the access of all devices in baseboard management controller;
LPC turns the WishBone bus bridge and realizes the lpc bus agreement of up-stream system interface employing and the mutual conversion of the WishBone bus protocol that equipment adopts;
The home address of using when address translation becomes the inner WishBone cross bar switch of baseboard management controller route with the address translation of host access is completed the share and access of different address spaces.
7. the method for main frame according to claim 1 and 2 and baseboard management controller shared device, it is characterized in that, when the modification lpc bus is replied, handshake mechanism by the LPC agreement, the upper limit of lpc bus delay-tolerant acknowledge cycle is increased, the timeout mechanism of Wishbone bus is set simultaneously, can't complete access within the appointed time, active termination prevents that the bus extension is dead.
8. the method for main frame according to claim 1 and 2 and baseboard management controller shared device, it is characterized in that, when execution shared device access rights arrange, deposit the configuration information of the overall situation in partial sharing equipment, these information only allow baseboard management controller to modify under given conditions, and main frame is only had read-only authority.
9. the method for main frame according to claim 1 and 2 and baseboard management controller shared device, it is characterized in that, adopt the mode of queuing up to conduct interviews according to the principle of first serving first to not having the residual equipment of state, to having the residual device access of state to identify by equipment working state or the mode of hardware jumper realizes that timesharing shares, wherein
For the hardware jumper mode, control 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, and the access originator on another road is abandoned;
For the equipment working state identification means, device request formation and identity device are set in each shared device, the device request formation is used for storing the request that allows access means, make request of access realize line production, improve device access efficient, the state of sign essential record request queue, the mode that identifies by equipment working state judges whether current request allows to carry out, thereby realizes controlling the access conflict of shared device.
10. the method for main frame according to claim 9 and baseboard management controller shared device, it is characterized in that, for the equipment working state identification means, by to device request formation monitor, state according to last request in formation identifies quene state simultaneously, and then the description of finishing equipment duty;
Wherein, sign content comprises: formation free mark, queue request interruptible identification and queue request source sign, wherein,
The formation free mark effectively current not request of expression conducts interviews to equipment, under this state, all can carry out immediately the access of any request source;
The queue request interruptible identification represents that whether current device request queue last-minute plea is in the middle of a continuous request sequence, if not, interruptible identification is effective, be identified at this request back and can add other requests, if it is interruptible identification is invalid, and sign can not be added new request.
The request source of queue request source sign expression 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 true CN103150279A (en) 2013-06-12
CN103150279B 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 (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104618121A (en) * 2015-01-29 2015-05-13 曙光云计算技术有限公司 Switch and server system
CN104679685A (en) * 2013-11-29 2015-06-03 英业达科技有限公司 Access method of baseboard management controller
CN104834543A (en) * 2015-04-24 2015-08-12 曙光信息产业(北京)有限公司 Method and device for externally refreshing BIOS (basic input/output system) firmware
CN106815163A (en) * 2015-12-02 2017-06-09 上海兆芯集成电路有限公司 Have the System on Chip/SoC and its PCI-E root port controllers of warm connection function
CN107241886A (en) * 2017-06-06 2017-10-10 郑州云海信息技术有限公司 Plate and its design method in a kind of new Rack nodes
CN108847997A (en) * 2018-04-03 2018-11-20 郑州云海信息技术有限公司 A kind of method and device thereof communicated by api interface
CN111124509A (en) * 2019-11-29 2020-05-08 苏州浪潮智能科技有限公司 Server starting method and device
CN111475435A (en) * 2020-03-13 2020-07-31 苏州浪潮智能科技有限公司 Storage medium sharing method and device, electronic equipment and storage medium
CN112131167A (en) * 2020-08-21 2020-12-25 山东云海国创云计算装备产业创新中心有限公司 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
CN113254380A (en) * 2021-06-18 2021-08-13 苏州浪潮智能科技有限公司 Communication method, device and equipment between host and baseboard management controller
CN116561036A (en) * 2023-07-10 2023-08-08 牛芯半导体(深圳)有限公司 Data access control method, device, equipment and storage medium
CN116643997A (en) * 2023-07-26 2023-08-25 苏州浪潮智能科技有限公司 Baseboard management controller, basic input/output system debugging method and device

Families Citing this family (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

Citations (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
CN1567146A (en) * 2003-06-30 2005-01-19 华为技术有限公司 Input/output processing unit of storage device
US20110055433A1 (en) * 2009-08-18 2011-03-03 Kishore Karagada R Communicating Between Host Computers and Peripheral Resources in an Input/Output (I/O) Virtualization System

Patent Citations (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
CN1567146A (en) * 2003-06-30 2005-01-19 华为技术有限公司 Input/output processing unit of storage device
US20110055433A1 (en) * 2009-08-18 2011-03-03 Kishore Karagada R Communicating Between Host Computers and Peripheral Resources in an Input/Output (I/O) Virtualization System

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104679685A (en) * 2013-11-29 2015-06-03 英业达科技有限公司 Access method of baseboard management controller
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
CN106815163A (en) * 2015-12-02 2017-06-09 上海兆芯集成电路有限公司 Have the System on Chip/SoC and its PCI-E root port controllers of warm connection function
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
CN107241886A (en) * 2017-06-06 2017-10-10 郑州云海信息技术有限公司 Plate and its design method in a kind of new Rack nodes
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
CN111124509A (en) * 2019-11-29 2020-05-08 苏州浪潮智能科技有限公司 Server starting method and device
CN111475435A (en) * 2020-03-13 2020-07-31 苏州浪潮智能科技有限公司 Storage medium sharing method and device, electronic equipment and storage medium
CN112131167A (en) * 2020-08-21 2020-12-25 山东云海国创云计算装备产业创新中心有限公司 LPC protocol-based I2C forwarding module, system and use method thereof
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
CN113254380A (en) * 2021-06-18 2021-08-13 苏州浪潮智能科技有限公司 Communication method, device and equipment between host and baseboard management controller
CN116561036A (en) * 2023-07-10 2023-08-08 牛芯半导体(深圳)有限公司 Data access control method, device, equipment and storage medium
CN116561036B (en) * 2023-07-10 2024-04-02 牛芯半导体(深圳)有限公司 Data access control method, device, equipment and storage medium
CN116643997A (en) * 2023-07-26 2023-08-25 苏州浪潮智能科技有限公司 Baseboard management controller, basic input/output system debugging method and device
CN116643997B (en) * 2023-07-26 2023-09-22 苏州浪潮智能科技有限公司 Baseboard management controller, basic input/output system debugging method and device

Also Published As

Publication number Publication date
CN103150279B (en) 2015-05-06

Similar Documents

Publication Publication Date Title
CN103150279B (en) Method allowing host and baseboard management controller to share device
CN107278299B (en) Method, apparatus and system for implementing secondary bus functionality via a reconfigurable virtual switch
CN104426814B (en) NUMA node peripheral switch
CN106648896B (en) Method for dual-core sharing of output peripheral by Zynq chip under heterogeneous-name multiprocessing mode
CN101901207B (en) Operating system of heterogeneous shared storage multiprocessor system and working method thereof
DE112016005910T5 (en) Architecture for Software-Defined Interconnect Switch
US20180189094A1 (en) Virtual machine to host device bridging
CN103678201B (en) PCI EXPRESS switch with logical device ability
CN104303174A (en) Tunneling platform management messages through inter-processor interconnects
JP2012200027A (en) Unified connector architecture
WO2021249193A1 (en) Method and apparatus for processing exception or interrupt under heterogeneous instruction set architecture
CN101593164A (en) Based on built-in Linux from USB HID device and firmware implementation method
CN103955441A (en) Equipment management system, equipment management method and IO (Input/Output) expansion interface
CN104123194A (en) Communication structure and method for kernel mode and user mode
CN104714907B (en) A kind of pci bus is converted to ISA and APB bus design methods
US9875131B2 (en) Virtual PCI device based hypervisor bypass using a bridge virtual machine
WO2022139920A1 (en) Resource manager access control
US20040141518A1 (en) Flexible multimode chip design for storage and networking
US8996734B2 (en) I/O virtualization and switching system
CN104050133A (en) Communication device and method for realizing communication between DSP and PC by means of PCIE on basis of FPGA
CN204117142U (en) Electronic device for providing instant switching and sharing of universal serial bus electronic equipment by host
CN117278890B (en) Optical module access method, device and system, electronic equipment and readable storage medium
CN205103599U (en) Cross -border trade BPO uses cloud terminating set
US8139595B2 (en) Packet transfer in a virtual partitioned environment
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