JPH0650486B2 - Data chain processing method - Google Patents
Data chain processing methodInfo
- Publication number
- JPH0650486B2 JPH0650486B2 JP63126177A JP12617788A JPH0650486B2 JP H0650486 B2 JPH0650486 B2 JP H0650486B2 JP 63126177 A JP63126177 A JP 63126177A JP 12617788 A JP12617788 A JP 12617788A JP H0650486 B2 JPH0650486 B2 JP H0650486B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- buffer
- count value
- next count
- bus
- 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.)
- Expired - Lifetime
Links
Landscapes
- Debugging And Monitoring (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明はデータチェイン処理方式に関し、特にデータチ
ェン機能をサポートする情報処理システムにおいてデー
タオーバライン障害の検出および復旧処理を行うデータ
チェイン処理方式に関する。Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data chain processing method, and more particularly to a data chain processing method for detecting and restoring a data over-line fault in an information processing system supporting a data chain function. .
データチェイン機能(以下、DC機能と略記する)と
は、主記憶装置(以下、MMと略記する)の資源を有効
に活用するための機能であり、例えば、MM上に100
バイトのデータエリアを必要とする場合、通常ならばM
M上のどこかに100バイト以上の大きさを持つ空きエ
リアを必要とするが、DC機能は、このような場合に際
して、例えばA番地から50バイト、B番地から20バ
イト、C番地から30バイトというように、いくつかの
空きエリアを併せることにより要求されるサイズのデー
タエリアを確保しようとするものである。このようにす
れば、MM上の細かく分かれた空きエリアを有効に活用
することができる。The data chain function (hereinafter abbreviated as DC function) is a function for effectively utilizing the resources of a main storage device (hereinafter abbreviated as MM).
If a byte data area is required, normally M
An empty area with a size of 100 bytes or more is required somewhere on M, but in such a case, the DC function, for example, has 50 bytes from address A, 20 bytes from address B, and 30 bytes from address C. As described above, the data area of the required size is secured by combining some empty areas. By doing so, it is possible to effectively utilize the finely divided empty areas on the MM.
従来、このようなDC機能は、例えば、第2図に示すよ
うなMM101と、中央央処理装置(以下、CFUと略記
する)102と、MM101およびCPU102とメモリバス121
を介して接続されたI/O(入出力)プロセッサ(以
下、IOPと略記する)103と、IPO103とI/Oイン
タフェース122を介して接続された周辺制御装置(以
下、PCUと略記する)104と、PCU104とデバイスイ
ンタフェース126を介して接続されたデバイス105とから
なる情報処理システムでは、IOP103の一機能として
実現されていた。Conventionally, such a DC function is provided by, for example, an MM 101 as shown in FIG. 2, a central processing unit (hereinafter abbreviated as CFU) 102, an MM 101 and a CPU 102, and a memory bus 121.
An I / O (input / output) processor (hereinafter abbreviated as IOP) 103 connected via an I / O processor 103 and a peripheral control unit (hereinafter abbreviated as PCU) 104 connected through an IPO 103 and an I / O interface 122. In the information processing system including the PCU 104 and the device 105 connected via the device interface 126, it was realized as one function of the IOP 103.
ところが、近年、VLSI(Very Large Scale Integra
ted circuit)化等による装置の小型化により、第2図
中のIOP103とPCU104とを近接させることが可能と
なり、第3図に示すように、I/Oインタフェース122
はI/Oバス123へと変化していく傾向にある。IOP1
03とPCU104との間がバス構造を持つにつれて、PC
U104は間接的ながらMM101のアドレスを意識すること
が可能となり、従来はIOP103が行っていた機能の一
部を分担することがが可能となってくる。こうした状況
下で、DC機能をPCU104で行うようになってきた。
換言すれば、IOP103は、MM101またはCPU102か
ら各PCU104への分配装置(Distributor)としての役
割に重きを置くよようになってきた。However, in recent years, VLSI (Very Large Scale Integrator)
The IOP 103 and the PCU 104 in FIG. 2 can be brought close to each other due to the miniaturization of the device such as the ted circuit), and as shown in FIG.
Tends to change to I / O bus 123. IOP1
As the bus structure between 03 and PCU104 has a PC,
The U104 can indirectly recognize the address of the MM101, and can share a part of the function conventionally performed by the IOP103. Under such circumstances, the DC function has come to be performed by the PCU 104.
In other words, the IOP 103 has come to focus on its role as a distributor from the MM 101 or the CPU 102 to each PCU 104.
ここで、IOP103で行われていたDC機能の概要につ
いて説明する。IOP103では、データチェインを指示
するコマンド(コマンド#1)を受理すると、それに続
くコマンド(コマンド#2)をコマンド#1の実行終了
前にMM101から読み出し、コマンド#1で指示された
データ転送が終了すると、速やかに次のデータ転送(コ
マンド#2で指示されているもの)の準備を行う。これ
は、IOP103内のバッファの余裕がなくなると、ただ
ちに下位装置であるPCU104側でのデータオーバラン
障害につながる可能性があるので、即応性が要求されて
いる。IOP103内の障害をPCU104に伝えないように
するためには、コマンド#1の実行が終了した時点でコ
マンド#2の準備が完了していないときにはオーバラン
障害(コマンドオーバラン障害またはデータオーバラン
障害)として処理する場合が多い。Here, an outline of the DC function performed by the IOP 103 will be described. When the IOP 103 receives a command (command # 1) for instructing a data chain, the subsequent command (command # 2) is read from the MM 101 before the execution of the command # 1 is completed, and the data transfer instructed by the command # 1 is completed. Then, the next data transfer (instructed by the command # 2) is immediately prepared. This is because if the buffer in the IOP 103 runs out, it may immediately lead to a data overrun failure on the PCU 104 side, which is a lower-level device, so prompt response is required. In order to prevent the failure in the IOP 103 from being transmitted to the PCU 104, it is treated as an overrun failure (command overrun failure or data overrun failure) when the preparation of the command # 2 is not completed when the execution of the command # 1 is completed. Often.
PCU104がDC機能を行うようになっても、コマンド
#1の実行が終了した時点でコマンド#2の準備が完了
していないときにオーバラン障害として処理するという
IOP103での思想はそのままPCU104での思想として
受け継がれた。しかしながら、PCU104側から見れば
従来よりも機能が追加されたことになり、従来から有す
るプロセッサ性能では前記のようなコマンド#1の実行
終了時にコマンド#2の準備が間に合わないオーバラン
障害が多発する可能性が生じていた。Even if the PCU 104 comes to perform the DC function, the idea in the IOP 103 that the command # 2 is processed as an overrun failure when the command # 2 is not ready when the execution is completed is the same as the idea in the PCU 104. Was inherited as. However, from the PCU 104 side, it means that the function is added more than the conventional one, and in the conventional processor performance, the overrun failure that the preparation of the command # 2 is not in time when the execution of the command # 1 is completed as described above may occur frequently. There was sex.
上述した従来のデータチェイン処理方式では、PCU10
4でDC機能を行うときにオーバラン障害の定義として
IOP103での思想をそのまま受け継いでいたので、P
CU104でのオーバラン障害の多発、すなわちPCU104
の性能劣化を招く可能性が大きいという欠点がある。In the conventional data chain processing method described above, the PCU10
Since the idea of IOP103 was inherited as it is as the definition of the overrun failure when performing the DC function in 4,
Frequent occurrence of overrun failure in CU104, that is, PCU104
However, there is a large possibility that the performance degradation of the above will be caused.
ところで、PCU104とデバイス105との間のデータ転送
は、デバイス105の性能および動作に依存する場合が多
く、一般にその性能はI/Oバス123側のデータ転送性
能よりも劣っている。したがって、DC機能をPCU10
4で行う場合、PCU104がI/Oバス123側のデータ転
送状況とデバイス105側のデータ転送状況との双方を意
識することができることを利用して、前述のようにコマ
ンド#1の実行終了時にコマンド#2の準備が間に合わ
ないオーバラン障害の場合でもデバイス105側のデータ
転送が終了するまでにコマンド#2の準備を行うことに
よりオーバラン障害がただちにデータオーバラン障害と
なることを回避することができる。By the way, data transfer between the PCU 104 and the device 105 often depends on the performance and operation of the device 105, and the performance is generally inferior to the data transfer performance on the I / O bus 123 side. Therefore, the DC function is
In the case of 4, the PCU 104 can be aware of both the data transfer status on the I / O bus 123 side and the data transfer status on the device 105 side. Even in the case of an overrun failure in which the preparation of the command # 2 is not in time, by preparing the command # 2 before the data transfer on the device 105 side, it is possible to prevent the overrun failure from immediately becoming a data overrun failure.
本発明の目的は、上述の点に鑑み、DC機能のデータオ
ーバラン障害の検出にI/Oバス側のデータ転送状況だ
けでなくデバイス側のデータ転送状況をも加味すること
により、PCUでDC機能を行ったときのデータオーバ
ラン障害の多発を抑制することができるデータチェイン
処理方式を提供することにある。In view of the above points, an object of the present invention is to detect the data overrun failure of the DC function by considering not only the data transfer status of the I / O bus side but also the data transfer status of the device side, so that the PCU can perform the DC function. An object of the present invention is to provide a data chain processing method capable of suppressing the frequent occurrence of a data overrun failure when performing.
本発明のデータチェイン処理方式は、データチェイン機
能をサポートする情報処理システムでI/Oプロセッサ
とデバイスとの間に位置し前記I/OプロセッサとはI
/Oバスを介して接続され前記デバイスとはデバイスイ
ンタフェースを介して接続された周辺制御装置におい
て、前記I/Oバスとのデータ転送を前記I/Oプロセ
ッサを介して主記憶装置のアドレスを意識して制御する
I/Oバス制御部と、前記I/Oバスからのデータを一
時的に保持するバッファと、前記デバイスとのデータ転
送を制御するデバイス転送制御部と、前記I/Oバスか
ら前記バッファへのデータの入力をカウントするバッフ
ァ入力側カウンタと、このバッファ入力側カウンタのカ
ウントが尽きたときに続けてカウントすべき次カウント
値を格納するバッファ入力側次カウントレジスタと、前
記バッファから前記デバイスへのデータの出力をカウン
トするバッファ出力側カウンタと、このバッファ出力側
カウンタのカウントが尽きたときに続けてカウントすべ
き次カウント値を格納するバッファ出力側次カウントレ
ジスタと、前記バッファ入力側カウンタおよび前記バッ
ファ出力側カウンタのカウント0通知と前記バッファ入
力側次カウントレジスタおよび前記バッファ出力側次カ
ウントレジスタの次カウント値有効信号とを受けて次カ
ウント値セット要求,カウントオーバ通知およびデータ
オーバラン障害通知を出力するデータオーバラン検出部
と、このデータオーバラン検出部からの前記次カウント
値セット要求,前記カウントオーバ通知および前記デー
タオーバラン障害通知を受けてデータチェイン処理およ
びデータオーバラン障害復旧処理を行うプロセッサとを
有する。The data chain processing method of the present invention is an information processing system that supports a data chain function and is located between an I / O processor and a device, and the I / O processor is an I / O processor.
In the peripheral controller connected via the I / O bus and connected to the device via the device interface, the data transfer with the I / O bus is made aware of the address of the main memory via the I / O processor. From the I / O bus, a buffer for temporarily holding data from the I / O bus, a device transfer control unit for controlling data transfer with the device, and an I / O bus A buffer input side counter for counting data input to the buffer; a buffer input side next count register for storing a next count value to be continuously counted when the count of the buffer input side counter is exhausted; A buffer output counter that counts the output of data to the device, and a count of this buffer output counter A buffer output side next count register for storing the next count value to be continuously counted when exhausted, a count 0 notification of the buffer input side counter and the buffer output side counter, and the buffer input side next count register and the buffer output A data overrun detection unit that outputs a next count value setting request, a count over notification and a data overrun failure notification in response to the next count value valid signal of the side count register, and the next count value setting request from this data overrun detection unit , A processor for receiving the count-over notification and the data-overrun failure notification and performing a data chain processing and a data-overrun failure recovery processing.
本発明のデータチェイン処理方式では、I/Oバス制御
部がI/Oバスとのデータ転送をI/Oプロセッサを介
して主記憶装置のアドレスを意識して制御し、バッファ
がI/Oバスからのデータを一時的に保持し、デバイス
転送制御部がデバイスとのデータ転送を制御し、バッフ
ァ入力側カウンタがI/Oバスからバッファへのデータ
の入力をカウントし、バッファ入力側次カウントレジス
タがバッファ入力側カウンタのカウントが尽きたときに
続けてカウントすべき次カウント値を格納し、バッファ
出力側カウンタがバッファからデバイスへのデータの出
力をカウントし、バッファ出力側次カウントレジスタが
バッファ出力側カウンタのカウントが尽きたときに続け
てカウントすべき次カウント値を格納し、データオーバ
ラン検出部がバッファ入力側カウンタおよびバッファ出
力側カウンタのカウント0通知とバッファ入力側次カウ
ントレジスタおよびバッファ出力側次カウントレジスタ
の次カウント値有効信号とを受けて次カウント値セット
要求,カウントオーバ通知およびデータオーバラン障害
通知を出力し、プロセッサがデータオーバラン検出部か
らの次カウント値セット要求,カウントオーバ通知およ
びデータオーバラン障害通知を受けてデータチェイン処
理およびデータオーバラン障害復旧処理を行う。In the data chain processing method of the present invention, the I / O bus control unit controls data transfer with the I / O bus through the I / O processor in consideration of the address of the main storage device, and the buffer controls the I / O bus. Data is temporarily stored, the device transfer control unit controls data transfer with the device, the buffer input side counter counts the data input from the I / O bus to the buffer, and the buffer input side next count register Stores the next count value to be continuously counted when the buffer input side counter runs out, the buffer output side counter counts the output of data from the buffer to the device, and the buffer output side next count register outputs the buffer output. Stores the next count value that should be continuously counted when the side counter counts out, and the data overrun detection section stores the next count value. When receiving the count 0 notification of the input side counter and the buffer output side counter and the next count value valid signal of the buffer input side next count register and the buffer output side next count register, the next count value set request, count over notification and data overrun failure The processor outputs a notification and receives the next count value setting request, the count-over notification and the data-overrun failure notification from the data-overrun detection unit, and performs the data chain processing and the data-overrun failure recovery processing.
次に、本発明について図面を参照して詳細に説明する。 Next, the present invention will be described in detail with reference to the drawings.
第1図は、本発明の一実施例のデータチェイン処理方式
が適用された情報処理システムの構成を示すブロック図
である。この情報処理システムは、MM1と、CPU2
と、MM1およびCPU2とメモリバス21を介して接続
されたIOP3と、IOP3とI/Oバス22を介して接
続されたPCU4と、PCU4とデバイスインタフェー
ス26を介して接続されたデバイス5とから、その主要部
が構成されている。FIG. 1 is a block diagram showing the configuration of an information processing system to which a data chain processing method according to an embodiment of the present invention is applied. This information processing system includes an MM1 and a CPU2.
From IOP3 connected to MM1 and CPU2 via memory bus 21, PCU4 connected to IOP3 via I / O bus 22, and device 5 connected to PCU4 via device interface 26, Its main part is composed.
PCU4は、I/Oバス22とデータバス23を介して接続
されたI/Oバス制御部6と、I/Oバス制御部6とデ
ータバス24を介して接続されたバッファ7と、バッファ
7とデータバス25を介して接続されるとともにデバイス
インタフェース26に接続されたデバイス転送制御部8
と、バッファ7からデータ入力通知31を受けてカウント
(減算)するバッファ入力側カウンタ9と、バッファ入
力側カウンタ9のカウントが尽きたときに続けてカウン
トすべき次カウント値41を格納するバッファ入力側次カ
ウントレジスタ10と、バッファ7からデータ出力通知32
を受けてカウント(減算)するバッファ出力側カウンタ
11と、バッファ出力側カウンタ11のカウント値が尽きた
ときに続けてカウントすべき次カウント値42を格納する
バッファ出力側次カウントレジスタ12と、バッファ入力
側次カウントレジスタ10からの次カウント値有効信号5
1,バッファ入力側カウンタ9からのカウント0通知5
2,バッファ出力側カウンタ11からのカウント0通知53
およびバッファ出力側次カウントレジスタ12からの次カ
ウント値有効信号54を受けて次カウント値セット要求6
1,カウントオーバ通知62,データオーバラン障害通知6
3および次カウント値セット要求64を出力するデータオ
ーバラン検出部13と、ファームウェアにより制御された
データオーバラン検出部13から出力される次カウント値
セット要求61,カウントオーバ通知62,データオーバラ
ン障害通知63および次カウント値セット要求64を受けて
データチェイン処理およびデータオーバラン障害復旧処
理を行うプロセッサ14とを含んで構成されている。The PCU 4 includes an I / O bus control unit 6 connected to the I / O bus 22 and the data bus 23, a buffer 7 connected to the I / O bus control unit 6 and the data bus 24, and a buffer 7. And the device transfer control unit 8 connected to the device interface 26 via the data bus 25
And a buffer input side counter 9 which counts (subtracts) upon receiving the data input notification 31 from the buffer 7, and a buffer input which stores the next count value 41 to be continuously counted when the count of the buffer input side counter 9 is exhausted. Data output notification from side count register 10 and buffer 7 32
Buffer output counter that receives and counts (subtracts)
11 and the next count value from the buffer output side next count register 12 that stores the next count value 42 that should be continuously counted when the count value of the buffer output side counter 11 is exhausted, and the next count value from the buffer input side next count register 10 Traffic light 5
1, count 0 notification from the buffer input side counter 9 5
2, count 0 notification from the buffer output side counter 11 53
And the next count value setting request 6 in response to the next count value valid signal 54 from the next count register 12 on the buffer output side
1, countover notification 62, data overrun failure notification 6
3 and a data overrun detection unit 13 that outputs a next count value set request 64, a next count value set request 61, a count over notification 62, and a data overrun failure notification 63 that are output from the data overrun detection unit 13 controlled by the firmware. The processor 14 is configured to include a data chain process and a data overrun failure recovery process in response to a next count value set request 64.
バッファ7は、I/Oバス制御部6からデータバス24を
介してデータが転送されるたびにデータ入力通知31を出
力し、データバス25を介してデバイス転送制御部8にデ
ータを転送するたびにデータ出力通知32を出力する。The buffer 7 outputs a data input notification 31 each time data is transferred from the I / O bus controller 6 via the data bus 24, and transfers data to the device transfer controller 8 via the data bus 25. The data output notification 32 is output to.
バッファ入力側カウンタ9は、バッファ入力側次カウン
トレジスタ10から設定された次カウント値41をバッファ
7からデータ入力通知31が出力されるたびにカウント
(減算)し、カウント値が0になるとカウント0通知52
を出力する。The buffer input side counter 9 counts (subtracts) the next count value 41 set from the buffer input side next count register 10 each time the data input notification 31 is output from the buffer 7, and counts 0 when the count value becomes 0. Notice 52
Is output.
バッファ入力側次カウントレジスタ10は、プロセッサ14
により有効な次カウント値41が格納されている間に次カ
ウント値有効信号51をアクティブとし、バッファ入力側
カウンタ9のカウント値が0になって次カウント値41を
バッファ入力側カウンタ9に設定すると同時に次カウン
ト値有効信号51をインアクティブとする。The buffer input side count register 10 is the processor 14
When the next count value valid signal 51 is activated while the valid next count value 41 is stored, the count value of the buffer input side counter 9 becomes 0, and the next count value 41 is set in the buffer input side counter 9. At the same time, the next count value valid signal 51 is made inactive.
バッファ出力側カウンタ11は、バッファ出力側次カウン
トレジスタ12から設定された次カウント値42をバッファ
7からデータ出力通知32が出力されるたびにカウント
(減算)し、カウント値が0になるるとカウント0通知
53を出力する。The buffer output side counter 11 counts (subtracts) the next count value 42 set from the buffer output side next count register 12 each time the data output notification 32 is output from the buffer 7, and when the count value becomes 0. Count 0 notification
Outputs 53.
バッファ出力側次カウントレジスタ12は、プロセッサ14
により有効な次カウント値42が格納されている間に次カ
ウント値有効信号54をアクティブとし、バッファ出力側
カウンタ11のカウント値が0になって次カウント値2を
バッファ出力側カウンタ11に設定すると同時に次カウン
ト値有効信号54をインアクティブとする。The buffer output side count register 12 is the processor 14
When the next count value valid signal 54 is activated while the valid next count value 42 is stored, the count value of the buffer output side counter 11 becomes 0, and the next count value 2 is set in the buffer output side counter 11. At the same time, the next count value valid signal 54 is made inactive.
次に、このように構成された本実施例のデータチェイン
処理方式の動作について説明する。Next, the operation of the data chain processing method of this embodiment configured as described above will be described.
いま、データは、MM1からメモリバス21,IPO3,
I/Oバス22,、データバス23,I/Oバス制御部6、
データバス24,バッファ7,データバス25,デバイス転
送制御部8およびデバイスインタフェース26を介してデ
バイス5に転送されるものとする。Now, data is transferred from MM1 to memory bus 21, IPO3,
I / O bus 22, data bus 23, I / O bus controller 6,
It is assumed that data is transferred to the device 5 via the data bus 24, the buffer 7, the data bus 25, the device transfer control unit 8 and the device interface 26.
データチェイン動作の開始時には、プロセッサ14は、デ
ータチェインを指示する最初のコマンドに基づいてバッ
ファ入力側次カウントレジスタ10およびバッファ出力側
次カウントレジスタ12を介してバッファ入力側カウンタ
9およびバッファ出力側カウンタ11に次カウント値41お
よび42をそれぞれ設定し、I/Oバス制御部6およびデ
バイス転送制御部8をそれぞれ動作させる。At the start of the data chain operation, the processor 14 operates the buffer input side counter 9 and the buffer output side counter 9 through the buffer input side next count register 10 and the buffer output side next count register 12 based on the first command instructing the data chain. Next count values 41 and 42 are set to 11, respectively, and the I / O bus controller 6 and the device transfer controller 8 are respectively operated.
I/Oバス制御部5からデータバス24を介してバッファ
6にデータが転送されると、バッファ6からバッファ入
力側カウンタ9にデータ入力通知31が出力され、バッフ
ァ入力側カウンタ9はカウント値を1つカウント(減
算)する。When the data is transferred from the I / O bus controller 5 to the buffer 6 via the data bus 24, the buffer 6 outputs a data input notification 31 to the buffer input side counter 9, and the buffer input side counter 9 outputs the count value. Count (subtract) one.
また、同様に、バッファ6からデータバス25を介してデ
バイス転送制御部8にデータが転送されると、バッファ
6からバッファ出力側カウンタ11にデータ出力通知32が
出力され、バッファ出力側カウンタ11はカウント値を1
つカウント(減算)する。Similarly, when data is transferred from the buffer 6 to the device transfer control unit 8 via the data bus 25, the data output notification 32 is output from the buffer 6 to the buffer output side counter 11, and the buffer output side counter 11 Count value 1
One counts (subtracts).
バッファ入力側カウンタ9が動作中に、バッファ入力側
次カウントレジスタ10に有効な次カウント値41が格納さ
れていることを示す次カウント値有効信号51がアクティ
ブにならない場合、データオーバラン検出部13は、バッ
ファ入力側次カウントレジスタ10への次カウント値セッ
ト要求61を出力してプロセッサ14に通知する。次カウン
ト値セット要求61を受けたプロセッサ14は、次のコマン
ドに基づく次カウント値41をバッファ入力側次カウント
レジスタ10に格納する。このため、バッファ入力側次カ
ウントレジスタ10からの次カウント値有効信号51がアク
ティブとなり、データオーバラン検出部13は次カウント
値セット要求61の出力を停止する。If the next count value valid signal 51 indicating that the valid next count value 41 is stored in the buffer input side next count register 10 is not active while the buffer input side counter 9 is operating, the data overrun detection unit 13 , And outputs a next count value setting request 61 to the buffer input side next count register 10 to notify the processor 14. Upon receiving the next count value setting request 61, the processor 14 stores the next count value 41 based on the next command in the buffer input side next count register 10. Therefore, the next count value valid signal 51 from the buffer input side next count register 10 becomes active, and the data overrun detection unit 13 stops the output of the next count value setting request 61.
また、同様に、バッファ出力側カウンタ11が動作中に、
バッファ出力側次カウントレジスタ12に有効な次カウン
ト値42が格納されていることを示す次カウント値有効信
号54がアクティブにならない場合、データオーバラン検
出部13は、バッファ出力側次カウントレジスタ12への次
カウント値セット要求64を出力してプロセッサ14に通知
する。Similarly, while the buffer output counter 11 is operating,
When the next count value valid signal 54 indicating that the valid next count value 42 is stored in the buffer output side next count register 12 is not activated, the data overrun detection unit 13 outputs the next count value 42 to the buffer output side next count register 12. The next count value set request 64 is output and notified to the processor 14.
次カウント値セット要求64を受けたプロセッサ14は、次
のコマンドに基づく次カウント値42をバッファ出力側次
カウントレジスタ12に格納する。このため、バッファ出
力側次カウントレジスタ12からの次カウント値有効信号
54がアクティブとなり、データオーバラン検出部13は次
カウント値セット要求64の出力を停止する。Upon receiving the next count value setting request 64, the processor 14 stores the next count value 42 based on the next command in the buffer output side next count register 12. Therefore, the next count value valid signal from the buffer output side next count register 12
54 becomes active, and the data overrun detection unit 13 stops outputting the next count value setting request 64.
このような状態から、例えば、バッファ入力側カウンタ
9のカウント値が0になると、バッファ入力側カウンタ
9は、カウント0通知52をアクティブにしてデータオー
バラン検出部13に通知する。この時点では、通常はデバ
イス5へのデータ転送性能がI/Oバス22のデータ転送
性能より劣っていので、デバイス5へのデータ転送をカ
ウントするバッファ出力側カウンタ11のカウント値はま
だ0になっていないはずである。したがって、このよう
な場合には、データオーバラン検出部13は、ただちにカ
ウントオーバとしてカウントオーバ通知62を出力してプ
ロセッサ14に通知する。このカウントオーバ通知62を受
けたプロセッサ14は、バツファ入力側カウントレジスタ
10からバッファ入力側カウンタ9に次カウント値41を設
定させる。この次カウント値41の設定がバッファ出力側
カウンタ11のカウント値が0になるまでに行われれば、
バッファ入力側カウンタ9からのカウント0通知52はた
だちに解除され、データチェイン動作はそのまま続行さ
れて、データオーバラン障害は回避される。From such a state, for example, when the count value of the buffer input side counter 9 becomes 0, the buffer input side counter 9 activates the count 0 notification 52 and notifies the data overrun detection unit 13. At this point, the data transfer performance to the device 5 is usually inferior to the data transfer performance of the I / O bus 22, so the count value of the buffer output side counter 11 for counting the data transfer to the device 5 is still 0. Should not be. Therefore, in such a case, the data overrun detection unit 13 immediately outputs a countover notification 62 as a countover and notifies the processor 14 of it. Upon receiving this count-over notification 62, the processor 14 receives the count register on the buffer input side.
The next count value 41 is set from 10 to the buffer input side counter 9. If the next count value 41 is set before the count value of the buffer output side counter 11 becomes 0,
The count 0 notification 52 from the buffer input side counter 9 is immediately released, the data chain operation is continued as it is, and the data overrun failure is avoided.
しかし、プロセッサ14によるバッファ入力側カウンタ9
への次カウント値41の設定が間に合わずにバッファ出力
側カウンタ11のカウント値が0になった場合には、バッ
ファ出力側カウンタ11はカウント0通知53を出力し、カ
ウント0通知52および53を同時に受けたデータオーバラ
ン検出部13は、データオーバラン障害としてデータオー
バラン障害通知63を出力力してプロセッサ14に通知す
る。このデータオーバラン障害通知63を受けて、プロセ
ッサ14はデータオーバラン障害復旧処理を行う。However, the buffer input side counter 9 by the processor 14
When the count value of the buffer output side counter 11 becomes 0 because the next count value 41 is not set in time, the buffer output side counter 11 outputs the count 0 notification 53, and outputs the count 0 notifications 52 and 53. At the same time, the data overrun detection unit 13 outputs the data overrun failure notification 63 as a data overrun failure and notifies the processor 14 of it. Upon receiving the data overrun failure notification 63, the processor 14 performs the data overrun failure recovery process.
以上説明したように本発明は、DC機能のデータオーバ
ラン障害の検出にI/Oバス側のデータ転送状況だけで
なくデバイス側のデータ転送状況をも加味することによ
り、PCUでDC機能を行ったときのデータオーバラン
障害の多発を抑制することがきるという効果がある。As described above, the present invention performs the DC function in the PCU by adding not only the data transfer status on the I / O bus side but also the data transfer status on the device side to the detection of the data overrun failure of the DC function. This is effective in suppressing frequent occurrence of data overrun failure.
第1図は本発明の一実施例のデータチェイン処理方式が
適用された情報処理システムの構成を示すブロック図、 第2図は従来のデータチェイン処理方式が適用された情
報処理システムの一例を示すブロック図、 第3図は従来のデータチェイン処理方式が適用された情
報処理システムの他の例を示すブロック図である。 図において、 1……MM、 2……CPU、 3……IOP、 4……PCU、 5……デバイス、 6……I/Oバス制御部、 7……バッファ、 8……デバイス転送制御部、 9……バッファ入力側カウンタ、 10……バッファ入力側次カウントレジスタ、 11……バッファ出力側カウンタ、 12……バッファ出力側次カウントレジスタ、 13……データオーバラン検出部、 14……プロセッサ、 21……メモリバス、 22……I/Oバス、 23〜25……データバス、 26……デバイスインタフェース、 31……データ入力通知、 32……データ出力通知、 41,42……次カウント値、 51,54……次カウント値有効信号、 52,53……カウント0通知、 61,64……次カウント値セット要求、 62……カウントオーバ通知、 63……データオーバラン障害通知である。FIG. 1 is a block diagram showing a configuration of an information processing system to which a data chain processing method according to an embodiment of the present invention is applied, and FIG. 2 shows an example of an information processing system to which a conventional data chain processing method is applied. Block diagram, FIG. 3 is a block diagram showing another example of the information processing system to which the conventional data chain processing method is applied. In the figure, 1 ... MM, 2 ... CPU, 3 ... IOP, 4 ... PCU, 5 ... device, 6 ... I / O bus controller, 7 ... buffer, 8 ... device transfer controller , 9 ... Buffer input side counter, 10 ... Buffer input side next count register, 11 ... Buffer output side counter, 12 ... Buffer output side next count register, 13 ... Data overrun detector, 14 ... Processor, 21 …… Memory bus, 22 …… I / O bus, 23-25 …… Data bus, 26 …… Device interface, 31 …… Data input notification, 32 …… Data output notification, 41,42 …… Next count value , 51, 54 ... Next count value valid signal, 52, 53 ... Count 0 notification, 61, 64 ... Next count value set request, 62 ... Countover notification, 63 ... Data overrun failure notification.
Claims (1)
理システムでI/Oプロセッサとデバイズとの間に位置
し前記I/OプロセッサとはI/Oバスを介して接続さ
れ前記デバイスとはデバイスインタフェースを介して接
続された周辺制御装置において、 前記I/Oバスとのデータ転送を前記I/Oプロセッサ
を介して主記憶装置のアドレスを意識して制御するI/
Oバス制御部と、 前記I/Oバスからのデータを一時的に保持するバッフ
ァと、 前記デバイスとのデータ転送を制御するデバイス転送制
御部と、 前記記I/Oバスから前記バッファへのデータの入力を
カウントするバッファ入力側カウンタと、 このバッファ入力側カウンタのカウントが尽きたときに
続けてカウントすべき次カウント値を格納するバッファ
入力側次カウントレジスタと、 前記バッファから前記デバイスへのデータの出力をカウ
ントするバッファ出力側カウントと、 このバッファ出力側カウンタのカウントが尽きたときに
続けてカウントすべき次カウント値を格納するバッファ
出力側次カウントレジスタと、 前記バッファ入力側カウンタおよび前記バッファ出力側
カウンタのカウント0通知と前記バッファ入力側次カウ
ントレジスタおよび前記バッファ出力側次カウントレジ
スタの次カウント値有効信号とを受けて次カウント値セ
ット要求,カウントオーバ通知およびデータオーバラン
障害通知を出力するデータオーバラン検出部と、 このデータオーバラン検出部からの前記次カウント値セ
ット要求,前記カウントオーバ通知および前記データオ
ーバラン障害通知を受けてデータチェイン処理およびデ
ータオーバラン障害復旧処理を行うプロセッサと、 を有することを特徴とするデータチェイン処理方式。1. An information processing system supporting a data chain function, which is located between an I / O processor and a device, is connected to the I / O processor via an I / O bus, and has a device interface with the device. An I / O that controls data transfer with the I / O bus via the I / O processor in consideration of the address of the main storage device in the peripheral control device connected via the I / O bus.
An O bus control unit, a buffer that temporarily holds data from the I / O bus, a device transfer control unit that controls data transfer with the device, and data from the I / O bus to the buffer. A buffer input side counter that counts the input of, a buffer input side next count register that stores the next count value that should be continuously counted when the count of this buffer input side counter is exhausted, and data from the buffer to the device Output side count for counting the output of the buffer, a buffer output side next count register for storing the next count value to be continuously counted when the count of the buffer output side counter is exhausted, the buffer input side counter and the buffer Output side counter count 0 notification and buffer input side next count A data overrun detection unit that outputs a next count value setting request, a count over notification, and a data overrun failure notification in response to a next count value valid signal from the register and the next count value on the buffer output side, and the data overrun detection unit from the data overrun detection unit. A data chain processing method comprising: a processor for performing a data chain processing and a data overrun failure recovery processing in response to a next count value set request, the count over notification, and the data overrun failure notification.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63126177A JPH0650486B2 (en) | 1988-05-24 | 1988-05-24 | Data chain processing method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63126177A JPH0650486B2 (en) | 1988-05-24 | 1988-05-24 | Data chain processing method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH01295352A JPH01295352A (en) | 1989-11-29 |
| JPH0650486B2 true JPH0650486B2 (en) | 1994-06-29 |
Family
ID=14928590
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63126177A Expired - Lifetime JPH0650486B2 (en) | 1988-05-24 | 1988-05-24 | Data chain processing method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0650486B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2703417B2 (en) * | 1991-04-05 | 1998-01-26 | 富士通株式会社 | Receive buffer |
-
1988
- 1988-05-24 JP JP63126177A patent/JPH0650486B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH01295352A (en) | 1989-11-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2790034B2 (en) | Non-operational memory update method | |
| JP3093293B2 (en) | Information processing device interrupt method | |
| JPH03175537A (en) | Error controller for debugging microprocessor | |
| JPH0650486B2 (en) | Data chain processing method | |
| JPS6112580B2 (en) | ||
| JP2677175B2 (en) | External event detection method for computer system | |
| JP2505044B2 (en) | Interrupt control method | |
| JPH03204739A (en) | Microcomputer | |
| JPS597971B2 (en) | I/O device control method | |
| JPH0430245A (en) | Multiprocessor control system | |
| JP2522051B2 (en) | Control device | |
| JP3042034B2 (en) | Failure handling method | |
| JPS62106564A (en) | Using/spare processor switching control system for information processing system | |
| JPH0535901B2 (en) | ||
| JP2529601B2 (en) | Fault handling method | |
| JPS6349804B2 (en) | ||
| JPH0391841A (en) | Abnormality recovery processing system | |
| JPH0713792A (en) | Error control system in hot standby system | |
| JPS61118846A (en) | Fault information collection system of subsystem | |
| JPH04182835A (en) | Bus monitor device for multiprocessor system | |
| JPH0414378B2 (en) | ||
| JPS608954A (en) | Hang-up detecting method of computer program | |
| JPH06105931B2 (en) | Initial program load method | |
| JPS63298458A (en) | Data transfer circuit | |
| JPH02244345A (en) | Information processor |