JPH05224964A - Bus abnormality information system - Google Patents

Bus abnormality information system

Info

Publication number
JPH05224964A
JPH05224964A JP4025615A JP2561592A JPH05224964A JP H05224964 A JPH05224964 A JP H05224964A JP 4025615 A JP4025615 A JP 4025615A JP 2561592 A JP2561592 A JP 2561592A JP H05224964 A JPH05224964 A JP H05224964A
Authority
JP
Japan
Prior art keywords
bus
unit
units
processor
abnormality
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.)
Pending
Application number
JP4025615A
Other languages
Japanese (ja)
Inventor
Makoto Kanda
真 神田
Takeshi Miura
剛 三浦
Tomoko Suzuki
智子 鈴木
Yukio Kanekawa
幸生 金川
Takao Nara
孝雄 奈良
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP4025615A priority Critical patent/JPH05224964A/en
Publication of JPH05224964A publication Critical patent/JPH05224964A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Multi Processors (AREA)

Abstract

PURPOSE:To inform the relative processor units in detail and at a high speed of the information of the bus abnormality occurred on a common bus with no load applied to software in a bus abnormality information system of a multiprocessor system. CONSTITUTION:A common bus 3 functions to transfer data between the processor units 1-1 to 1-N and the I/O units 2-1-1 to 2-N-z, and a bus abnormality informing line 5 is provided in parallel to the bus 3 for communication of the serial data carried out between those processor and I/O units. Each of units 2-1-1 to 2-N-z has a bus abnormality detecting part 21 which detects the bus abnormality and sends the bus abnormality information including the IDs of the units 1-1 to 1-N which control their own units to the line 5 as the serial data. Meanwhile, each of units 1-1 to 1-N has a bus abnormality recording register 12 which gives an interruption to a CPU 11 when the receiving/recording information on the bus abnormality information is addressed to its own processor unit.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、複数のプロセッサを有
するマルチプロセッサシステムにおけるバス異常通知方
式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a bus error notification system in a multiprocessor system having a plurality of processors.

【0002】制御系のコンピュータシステムでは、処理
の高速化、多量化、高信頼度化(ノンストップ化)の要
求に伴い、複数のプロセッサを設けることにより並列処
理や冗長化が図れるマルチプロセッサシステムが広まり
つつある。
In a computer system of a control system, a multiprocessor system which can achieve parallel processing and redundancy by providing a plurality of processors in response to the demands for high speed, high volume, high reliability (non-stop) of processing. It is spreading.

【0003】[0003]

【従来の技術】まず単一プロセッサシステムにおけるバ
ス異常通知方式を説明する。図4に示すように、プロセ
ッサユニット1と、該プロセッサの管理下で動作する複
数のI/Oユニット2-1 〜2-N とが共通バス3で接続さ
れている単一プロセッサシステムでは、共通バス2を監
視するバスコントローラユニット4と、該バスコントロ
ーラユニット4とプロセッサユニット1との間に一本の
バス異常通知線5とを設ける。バスコントローラユニッ
ト4はバス異常検出部41とバス異常情報レジスタ42とを
有し、プロセッサ1や、DMA動作するI/O装置が共
通バス3にアクセスしたときにバス異常が発生すると、
バス異常検出部41がそのバス異常を検出し、異常内容(
アドレスパリティ/データパリティエラー等)とバスの
状態(異常発生時のバスアクセスはアドレスかデータか
等)をバス異常レジスタ42に記録するとともに、バス異
常通知線5を介してプロセッサ1内のCPU11に対し
て、マスク不能割込み(NMI)によりバス異常発生を
通知する。プロセッサ1はこの通知を受けると、割込み
処理により共通バス3を介してコントローラユニット4
のバス異常情報レジスタ42にアクセスし、該レジスタ42
に保持されているバス異常詳細情報を読込み、これを解
析してリカバリ処理やリトライ処理を実行する。
2. Description of the Related Art First, a bus abnormality notification system in a single processor system will be described. As shown in FIG. 4, in a single processor system in which a processor unit 1 and a plurality of I / O units 2-1 to 2-N operating under the control of the processor are connected by a common bus 3, A bus controller unit 4 for monitoring the bus 2 and one bus abnormality notification line 5 are provided between the bus controller unit 4 and the processor unit 1. The bus controller unit 4 has a bus abnormality detection unit 41 and a bus abnormality information register 42, and when a bus abnormality occurs when the processor 1 or an I / O device operating in DMA accesses the common bus 3,
The bus abnormality detection unit 41 detects the bus abnormality,
The address parity / data parity error, etc.) and the bus status (whether the bus access when an error occurs is address or data, etc.) are recorded in the bus error register 42, and are also sent to the CPU 11 in the processor 1 via the bus error notification line 5. On the other hand, a non-maskable interrupt (NMI) is used to notify the occurrence of a bus abnormality. When the processor 1 receives this notification, the controller unit 4 through the common bus 3 by interrupt processing.
Access the bus abnormality information register 42 of
The detailed information on the bus error stored in is read, and this is analyzed to execute recovery processing and retry processing.

【0004】図5は本発明が対象とするマルチプロセッ
サシステムのブロック図である。マルチプロセッサ方式
の制御系コンピュータシステムでは、図5に示すよう
に、各プロセッサユニット1-1 〜1-N の配下にそれぞれ
多数のI/Oユニット2-1-1 〜2-1-n,2-2-1 〜2-2-
m,・・・2-N-1〜2-N-q が従属する。図の点線枠は、
それぞれのプロセッサユニットの管理領域を示す。また
プロセッサユニット間通信データや全てのプロセッサグ
ループで共有するデータを保存する共通メモリユニット
6が設けられている。ここで、I/Oユニットは、FD
D,HDD等の記録部、HDL、LAN等の回線対応
部、デジタル入出力やアナログ入出力等のペリフェラル
I/O部等であり、これらの全I/Oユニットはそれぞ
れ自ユニットを管理するプロセッサユニットから共通バ
ス3を介してアクセスされる。また、I/Oユニットの
なかには、プロセッサをわずらわすことなく、共通メモ
リ6に直接アクセスしてデータ転送を行うDMA機能を
有するものもある。(なお、本明細書では以後この共通
メモリユニットも広義のI/Oユニットと見なす)そし
て、これらのI/Oユニットをプロセッサユニットがバ
スアクセスしたり、DMA動作を行うI/Oユニットが
共通メモリをバスアクセスしたときに発生するバス異常
(アドレスパリティ・エラー、データパリティ・エラ
ー、ECCエラー、メモリパリティ・エラー等)を、自
ユニットを管理するプロセッサに通知する必要がある。
FIG. 5 is a block diagram of a multiprocessor system to which the present invention is applied. In a multiprocessor type control computer system, as shown in FIG. 5, a large number of I / O units 2-1-1 to 2-1-n, 2 are provided under the respective processor units 1-1 to 1-N. -2-1 to 2-2-
m, ... 2-N-1 to 2-Nq are subordinate. The dotted frame in the figure
The management area of each processor unit is shown. Further, a common memory unit 6 for storing communication data between processor units and data shared by all processor groups is provided. Here, the I / O unit is the FD
A recording unit such as D and HDD, a line corresponding unit such as HDL and LAN, and a peripheral I / O unit such as digital input / output and analog input / output. These all I / O units are processors that manage their own units. It is accessed from the unit via the common bus 3. Also, some I / O units have a DMA function of directly accessing the common memory 6 and transferring data without the need for the processor. (Hereinafter, this common memory unit is also regarded as a broadly defined I / O unit in the present specification.) Then, the I / O unit that performs bus operation by the processor unit or the I / O unit that performs the DMA operation is the common memory unit. Bus error (address parity error, data parity error, ECC error, memory parity error, etc.) that occurs when the bus is accessed must be notified to the processor that manages its own unit.

【0005】[0005]

【発明が解決しようとする課題】しかし、単一プロセッ
サシステムで採用したバスコントローラによるバス異常
通知方式を、図5のマルチプロセッサシステムにも採用
しようとすると以下の問題がある。
However, if the bus abnormality notification method by the bus controller adopted in the single processor system is also adopted in the multiprocessor system shown in FIG. 5, there are the following problems.

【0006】バスの使用権を獲得してバスマスタとな
るプロセッサユトニット1-1 がバスアクセスしたときに
バス異常が発生すると、バスコントローラ4はその異常
を検出しバス異常通知線にNMIを送出するが、そのN
MI通知は全てのプロセッサに通知され、各プロセッサ
はソフトウェアによってバス異常情報をレジスタから読
み込み、その異常情報を解析することによってはじめて
自プロセッサがそのバス異常に関係しているかどうかを
知る。従って、バス異常に無関係のプロセッサでも割込
み処理が行われ、ソフトウエアに対して無駄な処理をさ
せることになる。
If a bus abnormality occurs when the processor unit 1-1, which is the bus master after acquiring the right to use the bus, accesses the bus, the bus controller 4 detects the abnormality and sends an NMI to the bus abnormality notification line. But that N
The MI notification is sent to all the processors, and each processor reads the bus abnormality information from the register by software and analyzes the abnormality information before it knows whether its own processor is related to the bus abnormality. Therefore, even a processor irrelevant to the bus abnormality is subjected to interrupt processing, causing the software to perform useless processing.

【0007】異なるプロセッサが連続してバス異常を
発生させた場合に、バス異常情報を全て記録しておくた
めには、バスコントローラ4内のバス異常情報レジスタ
41の数は、プロセッサの数と同数必要になり、プロセッ
サが多い場合には、レジスタが多数必要となり実現が困
難である。
When different processors continuously generate bus abnormalities, in order to record all the bus abnormality information, the bus abnormality information register in the bus controller 4 is required.
The number of 41 is the same as the number of processors, and when there are many processors, it is difficult to realize because many registers are needed.

【0008】DMAを行うI/Oユニットがバスマス
タとなったときにバス異常を発生させた場合にも、バス
コントローラからバス異常発生が全てのプロセッサに通
知されるが、その通知だけでは各プロセッサはバス異常
の発生させたのが、自己の管理するどのDMA−I/O
ユニットなのか、それとも他のプロサッセなのかの区別
することができず、と同様な問題が生じる。
Even when a bus error occurs when the I / O unit that performs DMA becomes a bus master, the bus controller notifies all processors of the bus error occurrence. The bus abnormality occurred in which DMA-I / O managed by itself.
It is impossible to distinguish between units and other prostheses, and the same problem occurs.

【0009】本発明は上記問題点に鑑み創出されたもの
で、マルチプロセッサシステムの共通バス上で発生した
バス異常の情報を、ソフトウエアに負荷をかけることな
く、詳細にかつ高速に、関連プロセッサユニットに通知
できるようにすることを目的とする。
The present invention has been made in view of the above problems, and provides detailed and high-speed information about a bus abnormality that has occurred on a common bus of a multiprocessor system, without imposing a load on software. The purpose is to be able to notify the unit.

【0010】[0010]

【課題を解決するための手段】図1は本発明のバス異常
通知方式の構成図である。上記問題点を解決するため本
発明のバス異常通知方式は、それぞれが複数のI/Oユ
ニットを管理する複数のプロセッサユニット1-1 〜1-N
と、該管理される複数のI/Oユニット2-1-1 〜2-N-z
と、全てのユニット1-1 〜1-N 、2-1-1 〜2-N-z 間を接
続する一つの共通バス5とからなるマルチプロセッサシ
ステムにおけるバス異常通知方法であって、前記ユニッ
ト間のデータ送受を行う該共通バス5と平行して、シリ
アルデータ通信を行うバス異常通知線5を設けるととも
に、アクセスされたとき発生するバス異常を検出し、自
ユニットを管理するプロセッサユニットのIDを含むバ
ス異常情報をシリアルデータにして前記バス異常通知線
5に送出するバス異常検出部21を各I/Oユニットに、
前記バス異常通知線5からバス異常情報を受信し、該情
報が自プロセッサユニット宛かを判断して、自プロセッ
サユニット宛の場合にはCPU11に対して割込み通知を
行うバス異常記録レジスタ12を各プロセッサユニット
に、それぞれ設け、バス異常を検出したI/Oユニット
はアクセスバスサイクル内に前記バス異常通知線を介し
て全プロセッサユニットのバス異常記録レジスタにバス
異常情報を通知するとともに、該I/Oユニットを管理
するプロセッサユニットのみがCPU割込みを起こすよ
うにした構成であり、また、DMA動作するI/Oユニ
ットがバスマスタとなり、バススレーブとなるI/Oユ
ニットがどのプロセッサユニットからも管理されない共
通メモリユニット6の場合には、バス異常を検出した共
通メモリ6は、自IDを含むバス異常情報をバス異常通
知線に送出し、引き続いて該DMA動作するI/Oユニ
ットが自I/Oを管理するプロセッサユニットのIDを
バス異常通知線5に送出するようにした構成である。
FIG. 1 is a block diagram of a bus abnormality notifying system according to the present invention. In order to solve the above problems, the bus abnormality notification method of the present invention uses a plurality of processor units 1-1 to 1-N each managing a plurality of I / O units.
And the plurality of managed I / O units 2-1-1 to 2-Nz
And a common bus 5 connecting all the units 1-1 to 1-N and 2-1-1 to 2-Nz, the method of notifying a bus abnormality in a multiprocessor system comprising: A bus abnormality notification line 5 for serial data communication is provided in parallel with the common bus 5 for data transmission / reception, and a bus abnormality that occurs when accessed is detected, and includes the ID of the processor unit that manages its own unit. A bus abnormality detection unit 21 for converting the bus abnormality information into serial data and transmitting it to the bus abnormality notification line 5 is provided for each I / O unit.
Each bus abnormality recording register 12 receives bus abnormality information from the bus abnormality notification line 5, judges whether the information is addressed to its own processor unit, and if it is addressed to its own processor unit, sends an interrupt notification to the CPU 11. The I / O unit provided in each processor unit and detecting the bus abnormality notifies the bus abnormality information to the bus abnormality recording registers of all the processor units via the bus abnormality notification line in the access bus cycle, and the I / O unit It is configured such that only the processor unit that manages the O unit causes a CPU interrupt, and that the I / O unit that operates in DMA serves as the bus master and the I / O unit that serves as the bus slave is not managed by any processor unit. In the case of the memory unit 6, the common memory 6 that has detected the bus abnormality has its own ID. Is sent to the bus error notification line, and the I / O unit operating in DMA subsequently sends the ID of the processor unit managing its own I / O to the bus error notification line 5. is there.

【0011】[0011]

【作用】全てのI/Oユニットのバス異常検出部は自ユ
ニットが共通バスを介してアクセスされた時にバス異常
を検出すると、同一バスサイクル内に直ちに詳細異常情
報をシリアルデータにしてバス異常通知線を介して全プ
ロセッサユニットに送出する。従って、バス異常情報を
保持するバス異常情報レジスタが不要となる。また、プ
ロセッサユニットのCPUに対するNMI割込み通知は
バス異常を発生させたプロセッサユニットだけで行われ
るので、バス異常に無関係なプロセッサユニットでは無
駄な割込み処理を行うことがなく、ソフトウエアに負荷
を与えることが無くなる。
When the bus abnormality detection unit of all I / O units detects a bus abnormality when the self unit is accessed via the common bus, the detailed abnormality information is immediately converted to serial data within the same bus cycle and the bus abnormality is notified. Send to all processor units via line. Therefore, the bus abnormality information register for holding the bus abnormality information becomes unnecessary. Further, since the NMI interrupt notification to the CPU of the processor unit is performed only by the processor unit that has caused the bus abnormality, the processor unit irrelevant to the bus abnormality does not perform wasteful interrupt processing and loads the software. Disappears.

【0012】また、アクセスされたI/Oユニットが共
通メモリの場合には、自ユニットを管理するプロセッサ
ユニットのIDを持たないので、アクセスしたDMA−
I/Oユニットが自己を管理するプロセッサユニットの
IDを引き続いて送出する。これにより関連プロセッサ
のCPUだけに割込みが通知されてリカバリ処理/リト
ライ処理が行われる。
If the accessed I / O unit is a common memory, it does not have the ID of the processor unit that manages its own unit, so the accessed DMA-
The I / O unit subsequently sends out the ID of the processor unit that manages itself. As a result, only the CPU of the related processor is notified of the interrupt, and the recovery process / retry process is performed.

【0013】[0013]

【実施例】以下添付図面により本発明の実施例を説明す
る。図1は本発明のバス異常通知方式の構成図、図2,
図3は動作シーケンスを示す図である。なお、全図を通
じて同一符号は同一対象物を表す。
Embodiments of the present invention will be described below with reference to the accompanying drawings. FIG. 1 is a block diagram of a bus abnormality notification system of the present invention, FIG.
FIG. 3 is a diagram showing an operation sequence. Note that the same reference numerals denote the same objects throughout the drawings.

【0014】図1において、1-1 〜1-N はマルチプロセ
ッサシステムを構成する複数の個々のプロセッサユニッ
トで、各プロセッサはそれぞれ複数のI/Oユニット2-
1-1〜2-1-n、・・・、2-N-1 〜2-N-zを管理する。6
は共通メモリユニットで、各プロセッサユニットや、D
MA動作が可能なI/Oユニットから共通にアクセスさ
れる。3は、データ線、アドレス線、制御線等からなる
共通バスで、全てのユニット間を接続している。
In FIG. 1, 1-1 to 1-N are a plurality of individual processor units constituting a multiprocessor system, and each processor is a plurality of I / O units 2-.
1-1 to 2-1-n, ..., 2-N-1 to 2-N-z are managed. 6
Is a common memory unit for each processor unit and D
It is commonly accessed from I / O units capable of MA operation. A common bus 3 is composed of a data line, an address line, a control line, etc., and connects all units.

【0015】5は一本のバス異常通知線で共通バス3と
平行して全ユニット間を接続している。各I/Oユニッ
ト2-1-1 〜2-1-n,・・・2-N-1〜2-N-zおよび共通メ
モリ6は、バス異常検出部21、バス制御部22、バスイン
タフエイス部23、複数のレジスタ24を有する。
Reference numeral 5 denotes one bus abnormality notification line which connects all the units in parallel with the common bus 3. Each of the I / O units 2-1-1 to 2-1-n, ... 2-N-1 to 2-N-z and the common memory 6 includes a bus abnormality detection unit 21, a bus control unit 22, and a bus interface. It has a face unit 23 and a plurality of registers 24.

【0016】バス異常検出部21は共通バス3を介して受
信したデータを監視してバス異常を検出すると、直ちに
該バス異常に関連する全ての情報をシリアルデータにし
てバス異常通知線5に送出する。
When the bus abnormality detector 21 monitors the data received via the common bus 3 and detects a bus abnormality, it immediately sends all information related to the bus abnormality to serial data and sends it to the bus abnormality notification line 5. To do.

【0017】バス制御部22は共通バスに対する接続制御
を行い、管理するプロサッサユニットからアクセスされ
ている時に、バス異常検出部21からバス異常発生の通知
を受けると、データ受信に対するアクノリッジ(肯定応
答) の送出を停止して、バス異常検出部21からの異常情
報の送出が完了するまでバスサイクルを引き延ばす。
The bus control unit 22 controls the connection to the common bus, and when the bus abnormality detection unit 21 receives a bus abnormality occurrence notification while being accessed from the managing processor unit, the bus control unit 22 acknowledges the data reception (acknowledgement). ) Is stopped, and the bus cycle is delayed until the transmission of the abnormality information from the bus abnormality detection unit 21 is completed.

【0018】バスインタフェイス部23は共通バスとのイ
ンタフェイスを司り、レジスタ24は送受するデータを一
時記憶する。各プロセッサユニット1-1 〜1-N は、CP
Uチップ11と、バス異常記録レジスタ12とを有する。バ
ス異常レジスタ12は、バス異常通知線5からバス異常情
報のシリアルデータを受信して記録し、該異常情報内の
プロセッサユニットIDが自分のIDと一致したら割込
み線14を介してCPUチップにマスク不能割込みNMI
を通知する機能を有する。CPU11上のソフトウエアは
この割込み通知によって、自分が管理するI/Oユニッ
トへのアクセスでバス異常が発生したことを認識し、割
込み処理プログラムを起動させてバス異常記録レジスタ
12から、内部バス13を通じてバス異常情報を読出し、リ
カバリ処理/ リトライ処理を行う。
The bus interface unit 23 controls the interface with the common bus, and the register 24 temporarily stores the data to be transmitted and received. Each processor unit 1-1 to 1-N is CP
It has a U chip 11 and a bus error recording register 12. The bus abnormality register 12 receives and records the serial data of the bus abnormality information from the bus abnormality notification line 5, and when the processor unit ID in the abnormality information matches its own ID, masks it on the CPU chip via the interrupt line 14. Impossible interrupt NMI
Has a function of notifying. Based on this interrupt notification, the software on the CPU 11 recognizes that a bus error has occurred during access to the I / O unit it manages, and activates the interrupt processing program to start the bus error recording register.
Bus error information is read from 12 through the internal bus 13 and recovery / retry processing is performed.

【0019】次に図3によりバス異常通知のシーケンス
を説明する。図3は共通バスの使用権を獲得するバスマ
スタがプロセッサユニットで、アクセスされるバススレ
ーブがI/Oユニットの場合の例である。
Next, the sequence of bus abnormality notification will be described with reference to FIG. FIG. 3 shows an example in which the bus master that acquires the right to use the common bus is the processor unit and the bus slave to be accessed is the I / O unit.

【0020】図の(a)に、バス異常が発生していない
正常時のマスタ、スレーブ間のデータのやりとりを示
す。スレーブI/Oユニットはバスマスタプロセッサユ
ニットからのデータを正常に受け取ると、アクノリッジ
(ACK)を返しバスサイクルを終了させる。
FIG. 3A shows the data exchange between the master and the slave in a normal state where no bus abnormality has occurred. When the slave I / O unit normally receives the data from the bus master processor unit, it returns an acknowledge (ACK) and ends the bus cycle.

【0021】図(b)のバス異常発生時では、バススレ
ーブとなったI/Oユニットのバス異常検出部は、自ユ
ニットがバスマスタからアクセスされて共通バスを介し
てバスインタフエイス部でデータを受信すると、そのデ
ータを監視して、バス異常を検出する。バス異常が検出
されると、アクノリッジの返送を保留し、バス異常情報
をバス異常通知線に送出する。このバス異常情報は、そ
のときアクセスされていたレジスタのアドレス、異常が
生じたデータの内容、アドレスパリティエラーかデータ
パリティエラーかのエラー種別等のバス異常データと、
自ユニットを管理しているプロセッサユニットのIDと
そのプロセッサユニット配下での自ユニットに対する管
理番号とのID情報とからなり、これらのデータをシリ
アルデータに変換してバス異常通知線に送出する。デー
タを正常に受信したとのアクノリッジを出さないのでバ
スは当該2ユニット間で専有されている状態であり、バ
スサイクルを引き延ばして、全ての情報を送出してしま
う。送出が終了するとバスは解放される。
When a bus abnormality occurs in the diagram (b), the bus abnormality detection unit of the I / O unit that has become a bus slave receives the data from the bus interface unit via the common bus when its own unit is accessed by the bus master. When received, the data is monitored to detect a bus error. When the bus abnormality is detected, the return of the acknowledge is suspended and the bus abnormality information is sent to the bus abnormality notification line. This bus error information includes the address of the register being accessed at that time, the contents of the data in which the error occurred, the bus error data such as the error type of address parity error or data parity error, and the like.
It consists of ID information of the ID of the processor unit managing the own unit and the management number for the own unit under the processor unit. These data are converted into serial data and sent to the bus abnormality notification line. Since the bus does not acknowledge that the data has been normally received, the bus is in a state of being exclusively used by the two units, thus extending the bus cycle and sending all the information. The bus is released when the transmission is completed.

【0022】全てのプロセッサユニットは、バス異常を
検出したバススレーブI/Oユニットからバス異常通知
線を介して送られてくるバス異常情報を、バス異常記録
レジスタで受信する。ここまでは、CPUで処理中のタ
スクとは無関係にハードウエアによって行われる。そし
て、受信したバス異常情報に含まれるプロセッサIDが
自分のIDと一致したプロセッサユニットにおいての
み、該バス異常記録レジスタからCPUにマスク不能割
込みNMIをかけ、ソフトウエアによりエラー分析処理
を行う。このときには、バス異常に関する全ての情報が
バス異常記録レジスタに保持さているので、新たに共通
バスを獲得して転送を受ける必要がない。
In all the processor units, the bus abnormality record register receives the bus abnormality information sent from the bus slave I / O unit which has detected the bus abnormality via the bus abnormality notification line. Up to this point, the processing is performed by hardware regardless of the task being processed by the CPU. Then, only in the processor unit in which the processor ID included in the received bus abnormality information matches its own ID, the non-maskable interrupt NMI is applied to the CPU from the bus abnormality recording register, and error analysis processing is performed by software. At this time, since all the information about the bus abnormality is held in the bus abnormality recording register, it is not necessary to newly acquire the common bus and receive the transfer.

【0023】次に図4により、バスマスタがDMA動作
を行うI/Oユニットで、バススレーブとなるI/Oニ
ットが共通メモリである場合の動作を説明する。共通メ
モリユニットは、全てのプロセッサユニットから同等に
アクセスされるので、自ユニットを管理するプロセッサ
のIDを持たない。そして、この共通メモリには、DM
A機能を有するI/Oユニットが、支配するプロセッサ
の指示により直接アクセスすることができる。
Next, the operation when the bus master is the I / O unit for performing the DMA operation and the I / O unit serving as the bus slave is the common memory will be described with reference to FIG. Since the common memory unit is equally accessed by all the processor units, it does not have the ID of the processor that manages its own unit. And, in this common memory, DM
The I / O unit having the A function can be directly accessed by the instruction of the controlling processor.

【0024】共通メモリユニットは、DMA−I/Oユ
ニットからアクセスされたときにバス異常を検出する
と、プロセッサIDを含まないバス異常情報をバス異常
通知線に送出し、この送出が終了すると引き続いてバス
マスタとなっているDMA−I/Oユニットが自ユニッ
トを管理しているプロセッサユニットのIDと該プロセ
ッサユニット配下の管理番号とからなるID情報をバス
異常通知線に送出する。
When the common memory unit detects a bus abnormality when accessed from the DMA-I / O unit, it sends bus abnormality information not including the processor ID to the bus abnormality notification line, and when this transmission is completed, it continues. The DMA-I / O unit which is the bus master sends the ID information including the ID of the processor unit that manages itself and the management number under the processor unit to the bus abnormality notification line.

【0025】全プロセッサユニットは、共通メモリユニ
ット(バススレーブ)及び、DMA−I/Oユニット
(バスマスタ)から送られてくるデータをバス異常記録
レジスタにて受信する。そしてDMA−I/O内に記さ
れたプロセッサIDが自己のIDと一致しているプロセ
ッサユニットにおいてのみ、バス異常記録レジスタがC
PUに対して割込みを発生させ、異常発生をソフトウエ
アに通知する。
All processor units receive the data sent from the common memory unit (bus slave) and the DMA-I / O unit (bus master) in the bus abnormality recording register. Then, only in the processor unit in which the processor ID written in the DMA-I / O matches its own ID, the bus error recording register is set to C
An interrupt is generated for the PU to notify the software of the occurrence of an abnormality.

【0026】これにより、プロセッサユニットのCPU
は自己の配下にあるI/Oユニットが関係するバス異常
のときだけ、ソフトウエアに通知されるので、他のプロ
セッサのソフトウアエ負荷が増加することがない。ま
た、全プロセッサユニットは、異常が発生したバスアク
セスサイクルと同じバスサイクル内に全てのバス異常情
報の送付を受けるので、バス異常が連続して発生しても
全ての異常の検出と通知が可能となる。
As a result, the CPU of the processor unit
Since software is notified only when there is a bus error related to the I / O unit under its control, the software load on other processors does not increase. In addition, all processor units receive all bus fault information within the same bus cycle as the faulty bus access cycle, so even if bus faults occur continuously, all faults can be detected and notified. Becomes

【0027】このように、本発明によればマルチプロセ
ッサシステムにおいて、共通バス上で発生したバス異常
を発生と同時にCPUに通知することができ、連続して
発生しても全て関係するCPUに通知でき、それぞれの
CPU系で独立に異常回復処理を行うことが可能となる
とうい効果がある。
As described above, according to the present invention, in a multiprocessor system, a bus abnormality occurring on a common bus can be notified to a CPU at the same time as the occurrence, and even if consecutive occurrences occur, all related CPUs are notified. Therefore, it is advantageous that each CPU system can independently perform the abnormal recovery process.

【0028】[0028]

【発明の効果】以上説明したように、本発明によればマ
ルチプロセッサシステムにおいて、共通バス上で発生し
たバス異常を発生と同時に、管理するプロセッサのCP
Uにだけ通知することができるので、ソフトウエアの負
荷が増大せず効率的にバス異常検出が可能になるという
効果がある。
As described above, according to the present invention, in the multiprocessor system, the CP of the processor which manages the bus abnormality occurring on the common bus at the same time as the occurrence of the bus abnormality occurs.
Since only U can be notified, there is an effect that bus load can be efficiently detected without increasing the load of software.

【図面の簡単な説明】[Brief description of drawings]

【図1】 本発明のバス異常通知方式の構成図FIG. 1 is a configuration diagram of a bus abnormality notification system of the present invention.

【図2】 動作シーケンスを示す図(その1)FIG. 2 is a diagram showing an operation sequence (No. 1)

【図3】 動作シーケンスを示す図(その2)FIG. 3 is a diagram showing an operation sequence (No. 2)

【図4】 単一プロセッサシステムにおけるバス異常通
知方式
FIG. 4 Bus Abnormality Notification Method in Single Processor System

【図5】 本発明が対象とするマルチプロセッサシステ
ムのブロック図
FIG. 5 is a block diagram of a multiprocessor system targeted by the present invention.

【符号の説明】[Explanation of symbols]

1-1 〜1-N …マルチプロセッサ、11…CPU、12…バス
異常記録レジスタ、2-1-1 〜2-N-z …I/Oユニット、
21…バス異常検出部、22…バス制御部、3…共通バス、
5…バス異常通知線
1-1 to 1-N ... Multiprocessor, 11 ... CPU, 12 ... Bus error recording register, 2-1-1 to 2-Nz ... I / O unit,
21 ... Bus abnormality detection unit, 22 ... Bus control unit, 3 ... Common bus,
5: Bus error notification line

───────────────────────────────────────────────────── フロントページの続き (72)発明者 金川 幸生 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (72)発明者 奈良 孝雄 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Yukio Kanagawa 1015 Kamiodanaka, Nakahara-ku, Kawasaki City, Kanagawa Prefecture, Fujitsu Limited (72) Inventor Takao Nara, 1015, Kamiodanaka, Nakahara-ku, Kawasaki City, Kanagawa Prefecture, Fujitsu Limited

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 それぞれが複数のI/Oユニットを管理
する複数のプロセッサユニット(1-1〜1-N)と、該管理さ
れる複数のI/Oユニット(2-1-1〜2-N-z)と、全ての前
記ユニット(1-1〜1-N 、2-1-1 〜2-N-z)間を接続する一
つの共通バス(5) とからなるマルチプロセッサシステム
におけるバス異常通知方法であって、 前記ユニット間のデータ送受を行う該共通バス(5) と平
行して、シリアルデータ通信を行うバス異常通知線(5)
を設けるとともに、 アクセスされたとき発生するバス異常を検出し、自ユニ
ットを管理するプロセッサユニットのIDを含むバス異
常情報をシリアルデータにして前記バス異常通知線(5)
に送出するバス異常検出部(21)を各I/Oユニットに、 前記バス異常通知線(5) からバス異常情報を受信し、該
情報が自プロセッサユニット宛かを判断して、自プロセ
ッサユニット宛の場合にはCPU(11)に対して割込み通
知を行うバス異常記録レジスタ(12)を各プロセッサユニ
ットに、 それぞれ設け、 バス異常を検出したI/Oユニットはアクセスバスサイ
クル内に前記バス異常通知線(5) を介して全プロセッサ
ユニットのバス異常記録レジスタにバス異常情報を通知
し、該I/Oユニットを管理するプロセッサユニットの
みがCPU割込みを起こすようにしたことを特徴とする
バス異常通知方式。
1. A plurality of processor units (1-1 to 1-N), each managing a plurality of I / O units, and a plurality of the managed I / O units (2-1-1 to 2-). Nz) and one common bus (5) that connects all the units (1-1 to 1-N, 2-1-1 to 2-Nz) with each other. There is a bus error notification line (5) that performs serial data communication in parallel with the common bus (5) that transmits and receives data between the units.
The bus error notification line (5) is provided, which detects a bus error that occurs when accessed, and converts the bus error information including the ID of the processor unit that manages its own unit into serial data.
A bus abnormality detection unit (21) for sending to each I / O unit, receives bus abnormality information from the bus abnormality notification line (5), judges whether the information is addressed to its own processor unit, and determines its own processor unit. In the case of addressing, a bus error recording register (12) for notifying the CPU (11) of an interrupt is provided in each processor unit, and the I / O unit that has detected the bus error receives the bus error in the access bus cycle. Bus error characterized by notifying the bus error information to the bus error recording registers of all processor units via the notification line (5) so that only the processor unit managing the I / O unit causes a CPU interrupt. Notification method.
【請求項2】 請求項1記載のバス異常通知方式におい
て、DMA動作するI/Oユニットがバスマスタとな
り、バススレーブとなるI/Oユニットがどのプロセッ
サユニットからも管理されない共通メモリユニット(6)
の場合には、 該共通メモリ(6) は、自IDを含むバス異常情報をバス
異常通知線(5) に送出し、引き続いて該DMA動作する
I/Oユニットが自I/Oを管理するプロセッサユニッ
トのIDを該バス異常通知線(5) に送出するようにした
ことを特徴とするバス異常通知方式。
2. The common memory unit (6) according to claim 1, wherein the I / O unit that operates in DMA serves as a bus master, and the I / O unit that serves as a bus slave is not managed by any processor unit.
In this case, the common memory (6) sends bus abnormality information including its own ID to the bus abnormality notification line (5), and the I / O unit operating in the DMA subsequently manages its own I / O. A bus error notification system characterized in that the ID of the processor unit is sent to the bus error notification line (5).
JP4025615A 1992-02-13 1992-02-13 Bus abnormality information system Pending JPH05224964A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4025615A JPH05224964A (en) 1992-02-13 1992-02-13 Bus abnormality information system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4025615A JPH05224964A (en) 1992-02-13 1992-02-13 Bus abnormality information system

Publications (1)

Publication Number Publication Date
JPH05224964A true JPH05224964A (en) 1993-09-03

Family

ID=12170795

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4025615A Pending JPH05224964A (en) 1992-02-13 1992-02-13 Bus abnormality information system

Country Status (1)

Country Link
JP (1) JPH05224964A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07141228A (en) * 1993-11-15 1995-06-02 Mitsubishi Electric Corp Computer system
US7424383B2 (en) * 2000-03-17 2008-09-09 Fujitsu Limited Abnormality detection device for detecting an abnormality in a communication bus
US7502956B2 (en) 2004-07-22 2009-03-10 Fujitsu Limited Information processing apparatus and error detecting method
WO2012127612A1 (en) * 2011-03-22 2012-09-27 三菱電機株式会社 Programmable logic controller

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07141228A (en) * 1993-11-15 1995-06-02 Mitsubishi Electric Corp Computer system
US7424383B2 (en) * 2000-03-17 2008-09-09 Fujitsu Limited Abnormality detection device for detecting an abnormality in a communication bus
US7502956B2 (en) 2004-07-22 2009-03-10 Fujitsu Limited Information processing apparatus and error detecting method
WO2012127612A1 (en) * 2011-03-22 2012-09-27 三菱電機株式会社 Programmable logic controller
US9058294B2 (en) 2011-03-22 2015-06-16 Mitsubishi Electric Corporation Programmable logic controller

Similar Documents

Publication Publication Date Title
US6742139B1 (en) Service processor reset/reload
US4894828A (en) Multiple sup swap mechanism
JP2001350651A (en) Method for isolating failure state
CN100375960C (en) Method and apparatus for regulating input/output fault
JP3481737B2 (en) Dump collection device and dump collection method
EP0348704B1 (en) Apparatus and method for simultaneously presenting error interrupt and error data to a support processor
US7685473B2 (en) Computer system, method of detecting a stall in a computer system, and signal-bearing medium embodying a program causing a computer system to perform a method of detecting a stall in a computer system
JP3942216B2 (en) System monitoring / control method and system monitoring / control apparatus using dual monitoring / controlling processor
JPH05224964A (en) Bus abnormality information system
EP2096550B1 (en) Information processing apparatus and control method thereof
JP3838992B2 (en) Fault detection method and information processing system
JPS6112580B2 (en)
JPH0934852A (en) Cluster system
JP2004013723A (en) Device and method for fault recovery of information processing system adopted cluster configuration using shared memory
JPH11120154A (en) Device and method for access control in computer system
JPH07146850A (en) Multiprocessor device
JP2001175545A (en) Server system, fault diagnosing method, and recording medium
JP2876676B2 (en) Communication control method between processors
JPS62105243A (en) Recovery device for system fault
JPH02289020A (en) Time-out processing system for information processor
JPH0628407A (en) Data base system
JPH03156646A (en) Output system for fault information
JP2815730B2 (en) Adapters and computer systems
JPH07120296B2 (en) Error control method in hot standby system
JPS61135293A (en) Remote supervisory control system

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20010904