JPH01191248A - Error retry system of channel controller - Google Patents

Error retry system of channel controller

Info

Publication number
JPH01191248A
JPH01191248A JP63015084A JP1508488A JPH01191248A JP H01191248 A JPH01191248 A JP H01191248A JP 63015084 A JP63015084 A JP 63015084A JP 1508488 A JP1508488 A JP 1508488A JP H01191248 A JPH01191248 A JP H01191248A
Authority
JP
Japan
Prior art keywords
memory
access
buffer
channel
stored
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
JP63015084A
Other languages
Japanese (ja)
Inventor
Masato Maebayashi
前林 正人
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 JP63015084A priority Critical patent/JPH01191248A/en
Publication of JPH01191248A publication Critical patent/JPH01191248A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To automatically execute a retry by transferring access contents stored in an access result buffer to an access request buffer by the control of a signal control part in an interface circuit to a memory to execute the retry of access at the time of return of an error report from the memory. CONSTITUTION:When a signal sent from the memory to a control line 172 indicates error, error is discriminated by a signal control part 17 to generate control signal '1' on a control line 174. Then, driving circuits of buffer mechanisms 12-15 are operated to read out store data, which is stored at the time of access, from a load data buffer 12 and this data is stored in a store data buffer 15 again through a transfer line 122 and a gate circuit 152, and the memory address and the command stored in an end stack 13 are read out and are stored in an address buffer 14 through a transfer line 132 and a gate circuit 145. Thus, the retry is executed.

Description

【発明の詳細な説明】 [概要] 情報処理装置のチャネル制御装置においてチャネルから
要求されたメモリ、アクセスを実行した際にエラーが発
生した時のリトライ方式に関し、チャネル制御装置がメ
モリにアクセスしてエラー通知を受け取った場合に、チ
ャネルの機能に関係なく自動的にリトライを実行するチ
ャネル制御装置によるエラー・リトライ方式を提供する
ことを目的とし 情報処理装置の複数のチャネルとメモリ等の上位装置間
に設けられ、バッファおよびメモリとチャネルに対する
インタフェイス回路とを備えたチャネル制御装置におい
て、チャネルからメモリへのアクセス要求を受け付ける
と、アクセス内容をアクセス要求用バッファに格納し、
メモリアクセス実行時にアクセス内容をメモリへ送出す
るとともにアクセス結実用バッファに格納し、メモリア
クセスを実行後にメモリからエラー通知が戻ってくると
、メモリに対するインクフェイス回路の中の信号制御部
の制御により前記アクセス結実用バッファに格納された
アクセス内容をアクセス要求用バッファへ転送してアク
セスのリトライを実行するよう構成する。
[Detailed Description of the Invention] [Summary] Regarding a retry method when an error occurs when accessing memory requested by a channel in a channel control device of an information processing device, the present invention relates to a retry method when a channel control device accesses memory. The purpose is to provide an error retry method using a channel control device that automatically performs a retry when an error notification is received, regardless of the channel function. In a channel control device provided in a channel controller, which includes a buffer, a memory, and an interface circuit for the channel, upon receiving a request for accessing the memory from the channel, storing the access contents in the access request buffer;
When a memory access is executed, the access contents are sent to the memory and stored in the access execution buffer, and when an error notification is returned from the memory after the memory access is executed, the above-mentioned information is sent under the control of the signal control unit in the ink face circuit for the memory. The access content stored in the access execution buffer is transferred to the access request buffer and the access is retried.

[産業上の利用分野] 本発明は情報処理装置のチャネル制御装置においてチャ
ネルから要求されたメモリアクセスを実行した際にエラ
ーが発生した時のリトライ方式に関する。
[Industrial Application Field] The present invention relates to a retry method when an error occurs when executing a memory access requested from a channel in a channel control device of an information processing device.

情報処理装置のチャネル制御装置は複数のチャネル装置
とメモリ、CPU、SVP (サービスプロセッサ)等
の上位装置との間にはチャネル制御装置が設けられ、チ
ャネル制御装置はバッファを備えるとともに上位装置と
チャネル装置の両者に対するインタフェイスを備えてデ
ータの転送や制御を行う。
A channel control device of an information processing device is provided between a plurality of channel devices and a host device such as memory, CPU, SVP (service processor), etc., and the channel control device is equipped with a buffer and communicates with the host device and the channel. It is equipped with an interface for both devices and performs data transfer and control.

そして、チャネルからの要求により実行されるメモリに
対するストア、ロード等のアクセス動作はメモリバスを
介してチャネル制御装置のバッファやメモリインクフェ
イス回路により実行されるが、アクセスを実行した後メ
モリ側からストア、ロードの動作が正常に行われなかっ
たことを表すエラー信号が返ってくる場合がある。その
ような場合、エラー表示信号をチャネル制御装置からチ
ャネルに送って、チャネルからリトライ動作が行われる
が、エラー発生時点からリトライ実行までに時間を短縮
することが望まれている。
Access operations such as stores and loads to the memory executed in response to requests from the channel are executed by the buffer and memory interface circuit of the channel control device via the memory bus, but after the access is executed, the memory is stored from the memory side. , an error signal may be returned indicating that the load operation was not performed normally. In such a case, an error indication signal is sent from the channel control device to the channel, and a retry operation is performed from the channel, but it is desired to shorten the time from the time the error occurs until the retry is executed.

[従来の技術] 第3図に従来の情報処理装置のシステム構成図を示す。[Conventional technology] FIG. 3 shows a system configuration diagram of a conventional information processing device.

第3図に示すように複数のチャネル装置36〜38はそ
れぞれ1乃至複数の入出力装置(■10で表示)391
〜393に接続され、各チャネル装置36〜38は1つ
のチャネル制御装置35と接続される。チャネル制御装
置35は共通バス34を介してCPU31.5VP30
と接続され、メモリバス33によりメモリ (MEMで
表示)32と接続している。各バスはデータ・アドレス
バスと制御バスとで構成される。
As shown in FIG. 3, each of the plurality of channel devices 36 to 38 has one or more input/output devices (indicated by 10) 391
393, and each channel device 36-38 is connected to one channel control device 35. The channel control device 35 connects to the CPU 31.5VP30 via the common bus 34.
It is connected to a memory (represented by MEM) 32 via a memory bus 33. Each bus consists of a data address bus and a control bus.

上記のようなシステムに用いられるチャネル制御装置の
従来例の構成図を第4図に示す。
FIG. 4 shows a configuration diagram of a conventional example of a channel control device used in the above system.

第4図にはメモリインタフェイスを主にした構成が示さ
れ、上側にチャネルへのバスが示され、下側にメモリバ
スが示されている。
FIG. 4 shows a configuration mainly consisting of a memory interface, with buses to channels shown on the upper side and memory buses shown on the lower side.

図において、40はチャネルインタフェイス部であるレ
ジスタ、41〜44はバッファ部であり、41はメモリ
から読み出されたデータを保持するロードデータバッフ
ァ、42は終了を通知するコマンドを保持するエンド(
END)スタック、43はメモリアドレスバッファ、4
4はストアデータバッファ、45〜48はメモリインタ
フェイス部であり、45.48はレジスタ、46はエン
ド(END)制御部、47はリクエスト(REQ)制御
部を表す。
In the figure, 40 is a register that is a channel interface section, 41 to 44 are buffer sections, 41 is a load data buffer that holds data read from memory, and 42 is an end (end) that holds a command that notifies completion.
END) stack, 43 is memory address buffer, 4
4 is a store data buffer, 45 to 48 are memory interface units, 45 and 48 are registers, 46 is an end control unit, and 47 is a request (REQ) control unit.

チャネル制?!It装置は複数のチャネルのアクセス要
求をデータ・アドレスバス(以下、単にバスという)4
00、制御線410から取り込み、メモリへのアクセス
を順番に行う。この場合、アドレス(コマンドを含む)
とデータ(但しデータはストアの要求の場合だけ)はレ
ジスタ40を介してそれぞれメモリアドレスバッファ4
3とストアデータバッファ44に格納される。この説明
では、チャネルからストア要求が出されているものとす
ると、アクセスを実行する際にコマンドはメモリアドレ
スバッファ43から取り出されリクエスト制御部47に
供給され、解読されてメモリバスの制御線470にスト
アを指示する制御信号を出力する。それと同時に各バッ
ファ43.44からアドレスとストアデータがレジスタ
48に供給されてデータバスに出力される。
Channel system? ! IT devices send access requests for multiple channels via a data address bus (hereinafter simply referred to as bus) 4.
00 from the control line 410 and accesses the memory in order. In this case, the address (including the command)
and data (however, the data is only in the case of a store request) are sent to the memory address buffer 4 via the register 40.
3 and stored in the store data buffer 44. In this explanation, it is assumed that a store request is issued from a channel, and when executing an access, the command is taken out from the memory address buffer 43, supplied to the request control unit 47, decoded, and sent to the control line 470 of the memory bus. Outputs a control signal to instruct storage. At the same time, the address and store data from each buffer 43 and 44 are supplied to the register 48 and output to the data bus.

これに対して、メモリにおいて対応するストア動作が実
行され、終了すると制御wA460にエンド信号を出力
して、エンド制御部46に入力する。
In response, a corresponding store operation is executed in the memory, and when completed, an end signal is output to the control wA 460 and input to the end control unit 46.

これを受けてエンド制御部46はリクエスト制御部47
から得たストアコマンドを修飾することにより正常終了
通知コマンドを作成してエンドスタック42に格納し、
ゲート回路420を介してバス400からアクセス要求
元のチャネルに送出する。
In response to this, the end control unit 46 requests the request control unit 47
Create a normal completion notification command by modifying the store command obtained from and store it in the end stack 42,
It is sent from the bus 400 via the gate circuit 420 to the channel of the access request source.

このストア動作をメモリが実行した時にエラーが発生(
データに誤りが発生した場合等)すると、メモリからは
エンド信号とエラーを表示する信号が制御線460に出
力される。このエラー信号をエンド制御部46で検出す
ると、エラーを表すフラグを立ててエラー通知コマンド
をエンドスタック42に格納し、バス400、制御線4
10を介してアクセス要求元チャネルへ送出(リターン
)する。アクセス要求元のチャネルでは、正常終了コマ
ンドを受け取るとそのアクセス動作は終了するが、エラ
ー通知コマンドを受け取ると、チャネルにリトライ機能
が備えられている場合には前回のアクセスを再度開始し
てリトライの動作を実行する。もし、チャネルにリトラ
イ機能が備えられていない場合は、エラーの処理(エラ
ー表示等)を実行する。
An error occurs when the memory executes this store operation (
If an error occurs in the data, etc.), the memory outputs an end signal and a signal indicating the error to the control line 460. When the end control unit 46 detects this error signal, it sets a flag indicating an error, stores an error notification command in the end stack 42, and sends the bus 400 to the control line 4.
10 to the access request source channel. When the access request source channel receives a normal end command, the access operation ends, but when it receives an error notification command, if the channel is equipped with a retry function, it restarts the previous access and performs a retry. perform an action. If the channel does not have a retry function, perform error processing (error display, etc.).

チャネルからの要求アクセスがロード動作である場合、
バス400、制御線410がらメモリアドレスとロード
を指示するコマンド受け取られ、メモリから読み出され
たデータはロードデータバッファ41に格納された後バ
ス400から終了通知コマンドとともに要求元チャネル
に返される。
If the request access from the channel is a load operation,
A memory address and a command instructing a load are received from the bus 400 and a control line 410, and the data read from the memory is stored in the load data buffer 41 and then returned from the bus 400 to the request source channel along with a completion notification command.

[発明が解決しようとする問題点〕 上記したように、従来のチャネル制御装置によればメモ
リにアクセスした時に、メモリにおいて正常に動作が行
われた場合は問題ないが、エラーが発生した場合には、
チャネル制御装置ではたんにエラーフラグを立てたコマ
ンドを作成して対応するチャネルに対しリターンするだ
けであり、そのコマンドを受け取ったチャネル側では、
リトライ機能を備えている場合に、リトライの動作をマ
イクロプログラムにより実行する。このため、チャネル
によりリトライを開始するまでに時間的にロスが生じる
だけでなく、マイクロプログラムによるリトライの動作
にも時間がかかるという問題があった。
[Problems to be Solved by the Invention] As described above, according to the conventional channel control device, there is no problem if the memory operates normally when the memory is accessed, but if an error occurs, teeth,
The channel control device simply creates a command with an error flag and returns it to the corresponding channel, and the channel that receives the command does the following:
If a retry function is provided, the retry operation is executed by a microprogram. For this reason, there is a problem in that not only is there a time loss until a retry is started depending on the channel, but also it takes time to perform a retry operation using a microprogram.

また、チャネルにリトライの機能が備えられてない場合
は、再現性のないエラーの場合は1度のリトライで正常
な動作を実現できるのに、リトライすることができない
という問題があった。
Further, if the channel is not equipped with a retry function, there is a problem in that in the case of an error that is not reproducible, normal operation can be achieved with one retry, but retry cannot be performed.

本発明はチャネル制御装置がメモリにアクセスしてエラ
ー通知を受け取った場合に、チャネルの機能に関係なく
自動的にリトライを実行するチャネル制御装置によるエ
ラー・リトライ方式を提供することを目的とする。
An object of the present invention is to provide an error retry method by a channel control device that automatically executes a retry regardless of the channel function when the channel control device accesses memory and receives an error notification.

[問題点を解決するための手段] 第1図は本発明の基本的構成図である。[Means for solving problems] FIG. 1 is a basic configuration diagram of the present invention.

第1図の1はチャネル制御装置、2はチャネル、3はメ
モリを表し、チャネル1内の11@16.18はレジス
タ、12はロードデータバッファ、13はエンドスタッ
ク、14はアドレスバッファ、15はストアデータバッ
ファ、17は信号制御部を表す。
In FIG. 1, 1 represents a channel control device, 2 represents a channel, 3 represents a memory, 11@16.18 in channel 1 represents a register, 12 represents a load data buffer, 13 represents an end stack, 14 represents an address buffer, and 15 represents a Store data buffer 17 represents a signal control section.

そして、レジスタ11はチャネルに対するインクフェイ
ス回路であり、レジスタ16.18および信号制御部1
7はメモリに対するインクフェイス回路であり、ロード
データバッファ12とエンドスタック13はアクセス結
実用のバッファであり、アドレスバッファ14とストア
データバッファ15はアクセス要求用バッファである。
The register 11 is an ink face circuit for the channel, and registers 16 and 18 and the signal controller 1
Reference numeral 7 is an ink face circuit for the memory, a load data buffer 12 and an end stack 13 are buffers for accessing, and an address buffer 14 and a store data buffer 15 are buffers for access requests.

本発明はメモリアクセス時にチャネル制御装置において
アクセス内容のデータ、アドレス、指令を他のバッファ
機構にストアしておき、もしメモリインクフェイスから
エラー通知を受けた場合はチャネルへのリターンを行わ
ず、チャネル制御装置によって予めストアしておいたア
クセス内容を用いて再度アクセスを行うように制御する
ものである。
In the present invention, when accessing memory, data, addresses, and commands of the access contents are stored in another buffer mechanism in the channel control device, and if an error notification is received from the memory interface, the channel control device does not return to the channel and This is to control the access to be performed again using the access contents stored in advance by the control device.

[作用] 第1図の作用を説明すると、チャネルからのメモリアク
セス要求は、従来と同様にレジスタ11を介してバッフ
ァ機構に供給され、アクセス内容のメモリアドレスとコ
マンドはアドレスバッファ14に格納され、ストアデー
タ(ロード指令の場合このデータは存在しない)はスト
アデータバッファ15に格納される。
[Operation] To explain the operation of FIG. 1, a memory access request from a channel is supplied to the buffer mechanism via the register 11 as in the conventional case, and the memory address and command of the access contents are stored in the address buffer 14. Store data (this data does not exist in the case of a load command) is stored in the store data buffer 15.

このバッファ機構に格納された内容についてアクセス動
作が開始すると、アドレスバッファ14からはメモリア
ドレスとコマンドが取り出されてコマンドは信号制御部
17へ、メモリアドレスはレジスタ18に供給される。
When an access operation starts for the contents stored in this buffer mechanism, a memory address and a command are taken out from the address buffer 14, and the command is supplied to the signal control section 17 and the memory address is supplied to the register 18.

これと同時に新たに設けた転送線(バス)142により
アドレスとコマンドはエンドスタック13にセットされ
る。
At the same time, the address and command are set in the end stack 13 by a newly provided transfer line (bus) 142.

このアクセスがメモリへデータをストア(格納)するこ
とを要求するものである場合について説明すると、この
アクセス動作によりストアデータバッファ15のストア
データは転送線(バス)151を通ってレジスタ18に
セットされると同時に新たに設けた転送′4IA153
を通ってロードデータバッファ12に格納される。
To explain the case where this access requests data to be stored in memory, this access operation causes the store data in the store data buffer 15 to be set in the register 18 through the transfer line (bus) 151. At the same time, a new transfer '4IA153 was established.
and is stored in the load data buffer 12.

こうして、アクセス時には信号制御部17に供給された
コマンドはメモリに対し対応する要求信号を制御信号線
171に送出し、レジスタ18からはアドレス・データ
バスにメモリアドレスとストアデータを送出する。
Thus, at the time of access, a command supplied to the signal control unit 17 sends a corresponding request signal to the memory to the control signal line 171, and the register 18 sends a memory address and store data to the address/data bus.

メモリ3において対応するストア動作が行われ、動作が
終了すると制御信号線172に終了信号が送られてくる
。この信号が正常に終了したととを表す場合、信号制御
部17はコマンドに修飾を施してエンドスタック13に
リターン信号を格納し、そこからチャネルに対してリタ
ーン信号を送出する。
A corresponding store operation is performed in the memory 3, and when the operation is completed, an end signal is sent to the control signal line 172. If this signal indicates that the command has ended normally, the signal control unit 17 modifies the command, stores a return signal in the end stack 13, and sends the return signal to the channel from there.

メモリから制御線172へ送られた信号がエラーを表示
する場合、信号制御部17でエラーであることを識別し
、この場合、−回目のエラーであるからリトライを実行
するために制御線174に出力信号“1″を発生する。
When the signal sent from the memory to the control line 172 indicates an error, the signal control unit 17 identifies the error, and in this case, since it is the -th error, a signal is sent to the control line 174 to execute a retry. Generates an output signal "1".

これにより、図示されないバッファ機構(12〜15)
の駆動回路が動作してロードデータバッファ12からア
クセス時に格納したストアデータが読み出され、転送線
122とゲート回路152を通ってストアデータバッフ
ァ15に再び格納するとともに、エンドスタック13に
格納されていたメモリアドレスとコマンドが読み出され
、転送線132とゲート回路145を通ってアドレスバ
ッファ14に格納する。
As a result, buffer mechanisms (12 to 15) (not shown)
The drive circuit operates to read out the store data stored at the time of access from the load data buffer 12 and store it again in the store data buffer 15 through the transfer line 122 and the gate circuit 152, and at the same time read out the store data stored in the end stack 13. The memory address and command are read out and stored in the address buffer 14 through the transfer line 132 and gate circuit 145.

なお、この時リターン信号が発生してもゲート回路13
3により送出が禁止されてチャネルには送出されない。
Note that even if a return signal is generated at this time, the gate circuit 13
3, transmission is prohibited and is not sent to the channel.

各バッファ14.15にアクセス内容が格納されると、
再びメモリへのアクセスが実行され、それにより正常な
動作が実行されれば信号制御部17で作成したリターン
信号がエンドスタック13から対応するチャネルに送出
される。
When the access contents are stored in each buffer 14.15,
The memory is accessed again, and if normal operation is performed, the return signal created by the signal control unit 17 is sent from the end stack 13 to the corresponding channel.

このリトライ動作によってもエラーが発生すると、信号
制御部17ではこれ以上のリトライは実行せず(制御線
174に“1”を発生しない)、エラーを表示するフラ
グを立ててリターン信号を作成して、エンドスタック1
3を介してチャネルに送出する。
If an error occurs even with this retry operation, the signal control unit 17 does not execute any more retries (does not generate "1" on the control line 174), sets a flag indicating the error, and creates a return signal. , end stack 1
3 to the channel.

[実施例] 第2図に本発明の実施例の構成図を示す。[Example] FIG. 2 shows a configuration diagram of an embodiment of the present invention.

第2図において、20,25.2日はレジスタ、21は
ロードデータバッファ、22はエンドスタック、23は
メモリアドレスバッファ、24はストアデータバッファ
、26はエンド制御部、27はリクエスト制御部を表し
、図中の太線はデータ線、細線は制御信号線を表す。
In Fig. 2, 20, 25.2 days are registers, 21 is a load data buffer, 22 is an end stack, 23 is a memory address buffer, 24 is a store data buffer, 26 is an end control section, and 27 is a request control section. , thick lines in the figure represent data lines, and thin lines represent control signal lines.

第2図の上部はバスを介して図示しないチャネルに接続
され、下部はメモリバスを介してメモリに接続される。
The upper part of FIG. 2 is connected to a channel (not shown) via a bus, and the lower part is connected to a memory via a memory bus.

実施例の動作は基本的には第1図の動作と変わらないが
、以下にストア動作について概略を説明する。
Although the operation of the embodiment is basically the same as that shown in FIG. 1, the store operation will be briefly explained below.

チャふルからのアクセス要求はレジスタ20を介してメ
モリアドレスとコマンドがメモリアドレスバッファ23
にストアデータはストアデータバッファ24に格納され
る。その場合、ストアデータは8バイ) (8Bで表示
)が並列にバスから入力する。アクセス動作はストアデ
ータがストアデータバッファ24から転送線242.2
43によリ4バイトづつ(転送路281が4バイト幅で
ある)選択回路280を通ってレジスタ28にセントさ
れ、同時にロードデータバッファ21に4バイトづつ計
8バイトが転送されて格納される。
An access request from the chaffle is sent via the register 20, and the memory address and command are sent to the memory address buffer 23.
The store data is stored in the store data buffer 24. In that case, store data (8 bytes) (indicated by 8B) are input from the bus in parallel. In the access operation, store data is transferred from the store data buffer 24 to the transfer line 242.2.
43 (the transfer path 281 has a width of 4 bytes) is sent to the register 28 through the selection circuit 280, and at the same time, a total of 8 bytes, 4 bytes each, are transferred to the load data buffer 21 and stored.

一方、アドレスとコマンドはメモリアドレスバッファ2
3から取り出されて、アドレスはレジスタ28に、コマ
ンドはリクエスト制御部27にセントされ、同時にアド
レスとコマンドはエンドスタック22に格納される。
On the other hand, addresses and commands are stored in memory address buffer 2.
3, the address is sent to the register 28, the command is sent to the request control unit 27, and at the same time, the address and command are stored in the end stack 22.

そして、コマンドはリクエスト制御部27からエンド制
御部26のコマンド部264にセントされるとともに、
コマンドを解読してストアのリクエスト信号が制?11
線270に送出され、同時にデータとアドレスがメモリ
バスへ送出されると、メモリでは要求されたストア動作
を実行する。
Then, the command is sent from the request control unit 27 to the command unit 264 of the end control unit 26, and
Is the store request signal controlled by decoding the command? 11
line 270 and simultaneously the data and address to the memory bus, the memory performs the requested store operation.

メモリから制御線260を介してEND信号が送られて
きた場合、エンド制御部26のデコーダ262でこれを
解読して応答部261に出力する。
When an END signal is sent from the memory via the control line 260, the decoder 262 of the end control section 26 decodes it and outputs it to the response section 261.

応答部261ではアクセス時にセントされたコマンド部
264の内容を修飾して正常に終了したことを表す特定
ビットをエンドスタック22の出口でオンとする。修飾
されたコマンドはチャネルに対してリターン信号として
ゲート202、選択回路201を介して送出される。
The response section 261 modifies the contents of the command section 264 sent at the time of access and turns on a specific bit indicating normal termination at the exit of the end stack 22. The modified command is sent to the channel as a return signal via the gate 202 and the selection circuit 201.

制御線260からEND信号とともにエラーを表示する
ERR信号が送られてくると、エンド制御部26のデコ
ーダでこれを解読し、エラーであることを応答部261
に通知するとともにリトライ部を駆動する。リトライ部
263では、コマンド部264のコマンドを受取りその
中に最初のリトライ回数の表示がないと、制御vA26
6.265に“1ゝ出力を発生する。制御線266は各
ゲ−1−231,241をオン状態に駆動し、ゲート2
02をオフ状態に駆動し、制御線265はバッファ機構
(21〜24)の駆動制御を行う図示しない制御回路に
送られて各バッファ回路を次のように動作させる。
When an ERR signal indicating an error is sent from the control line 260 together with the END signal, the decoder of the end control section 26 decodes it and sends an error message to the response section 261.
and also drives the retry section. The retry unit 263 receives the command from the command unit 264 and if the first retry count is not displayed in the command, the control vA 263
6. Generates a "1" output at 265. The control line 266 drives each gate 1-231, 241 to the on state, and the gate 2
02 is turned off, and the control line 265 is sent to a control circuit (not shown) that controls the drive of the buffer mechanisms (21 to 24) to operate each buffer circuit as follows.

即ち、ロードデータバッファ21から先に格納したスト
アデータを読出して転送線に出力し、エンドスタック2
2から先に格納したメモリアドレスとコマンドを読み出
して転送線222に出力する。そして、出力されたスト
アデータはゲート241がオンとなっているのでストア
データバッファ24に人力して、そこに再び格納される
That is, the previously stored store data is read from the load data buffer 21 and output to the transfer line, and the end stack 2
The memory address and command stored first are read from 2 and output to the transfer line 222. Since the gate 241 is on, the output store data is manually input to the store data buffer 24 and stored there again.

また出力されたメモリアドレスとコマンドはゲート23
1を通ってメモリアドレスバッファ23に格納される。
Also, the output memory address and command are sent to the gate 23.
1 and is stored in the memory address buffer 23.

この時、応答部261ではコマンド部264の内容に対
しエラーフラグを立ててリターン信号を作成するが、リ
トライ動作と並行してエントスタンク22からそのリタ
ーンがチャネルへのバスに出力される時にゲート202
がオフになっている(制御線266による)のでチャネ
ルには送られない。
At this time, the response unit 261 sets an error flag for the contents of the command unit 264 and creates a return signal, but when the return signal is output from the ent stand tank 22 to the bus to the channel in parallel with the retry operation, the gate 202
is off (per control line 266) so it is not sent to the channel.

バッファ23.24にアクセス内容が格納されるとアク
セス動作の順が来ると最初と同様にアクセスが行われる
。その結果が正常終了であるとエンド制御部26の応答
部から通常の終了を表示するリターン信号が作成され、
再びエラーが発生してERR信号がメモリから送られて
くると応答部ではエラーフラグを立ててリターン信号を
作成しエンドスタック22に出力し、エンドスタック−
22からゲート202を介してチャネルへ送出される。
Once the access contents are stored in the buffers 23 and 24, when the access operation comes, the access is performed in the same way as the first time. If the result is normal termination, a return signal indicating normal termination is generated from the response section of the end control section 26.
When an error occurs again and an ERR signal is sent from the memory, the response section sets an error flag, creates a return signal, outputs it to the end stack 22, and sends it to the end stack 22.
22 to the channel via gate 202.

この時、リトライ部263も駆動されるが、コマンド部
264からの情報を参照してリトライが禁止される。具
体的には、例えば最初のリトライの時にエンドスタック
22からメモリアドレスバッファ23ヘメモリアドレス
とコマンドを転送する時にゲート231においてコマン
ドの特定ビットを1”にセットし、リトライのアクセス
動作においてリクエスト制御部27からエンド制御部2
6のコマンド部にセットされるので、2度目のアクセス
(リトライ)においてエラーが発生した時にリトライ部
263でそれを検出しリトライが禁止される。
At this time, the retry section 263 is also driven, but the retry is prohibited by referring to the information from the command section 264. Specifically, for example, when transferring the memory address and command from the end stack 22 to the memory address buffer 23 during the first retry, a specific bit of the command is set to 1'' in the gate 231, and in the retry access operation, the request control unit 27 to end control section 2
Since this is set in the command section 6, when an error occurs during the second access (retry), the retry section 263 detects it and prohibits retry.

ロードを要求するアクセスの場合はストアデータバッフ
ァに何も格納されない点とアクセス動作の結果°ロード
データがロードデータバッファに格納され、そこからチ
ャネルに対してデータが転送される点が相違する。
The difference is that in the case of an access requesting a load, nothing is stored in the store data buffer, and as a result of the access operation, load data is stored in the load data buffer, and data is transferred from there to the channel.

[発明の効果] 本発明によれば、僅かなハードウェア量の増加によりス
トアアクセス時のエラー・リトライを全てのチャネルに
ついて行うことができ、ソフト・エラーによる非再現性
のエラーに関してはチャネルの負荷を軽減し、時間的な
ロスを最小限に抑えることができる。
[Effects of the Invention] According to the present invention, error retries during store access can be performed for all channels with a slight increase in the amount of hardware, and channel load is reduced for non-reproducible errors due to soft errors. can be reduced and time loss can be minimized.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の基本的構成図、第2図は本発明の実施
例の構成図、第3図は従来のシステム構成図、第4図は
従来例の構成図である。 第1図中、 1:チャネル制御装置 2:チャネル 3:メモリ 11.16.18;レジスタ 12:ロードデータバソファ 13:エンドスタック 14ニアドレスバツフア 15;ストアデータバッファ 17:信号制御部
FIG. 1 is a basic configuration diagram of the present invention, FIG. 2 is a configuration diagram of an embodiment of the present invention, FIG. 3 is a conventional system configuration diagram, and FIG. 4 is a configuration diagram of a conventional example. In FIG. 1, 1: Channel control device 2: Channel 3: Memory 11.16.18; Register 12: Load data buffer 13: End stack 14 Near address buffer 15; Store data buffer 17: Signal control section

Claims (1)

【特許請求の範囲】 情報処理装置の複数のチャネルとメモリ等の上位装置間
に設けられ、バッファ(12〜15)およびメモリとチ
ャネルに対するインタフェイス回路(11、16〜18
)とを備えたチャネル制御装置(1)において、 チャネルからメモリへのアクセス要求を受け付けると、
アクセス内容をアクセス要求用バッファ(14、15)
に格納し、メモリアクセス実行時にアクセス内容をメモ
リへ送出するとともにアクセス結実用バッファ(12、
13)に格納し、 メモリアクセスを実行後にメモリからエラー通知が戻っ
てくると、メモリに対するインタフェイス回路の中の信
号制御部(17)の制御により前記アクセス結実用バッ
ファ(12、13)に格納されたアクセス内容をアクセ
ス要求用バッファ(14、15)へ転送してメモリアク
セスのリトライを実行することを特徴とするチャネル制
御装置によるエラー・リトライ方式。
[Claims] Buffers (12 to 15) and interface circuits (11, 16 to 18) for the memory and the channels are provided between a plurality of channels of an information processing device and a host device such as a memory.
), when a channel control device (1) receives a memory access request from a channel,
The access content is stored in the access request buffer (14, 15)
When memory access is executed, the access contents are sent to the memory and the access execution buffer (12,
13), and when an error notification is returned from the memory after executing the memory access, it is stored in the access execution buffer (12, 13) under the control of the signal control unit (17) in the interface circuit for the memory. An error retry method using a channel control device characterized in that a memory access retry is executed by transferring the access contents to an access request buffer (14, 15).
JP63015084A 1988-01-26 1988-01-26 Error retry system of channel controller Pending JPH01191248A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63015084A JPH01191248A (en) 1988-01-26 1988-01-26 Error retry system of channel controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63015084A JPH01191248A (en) 1988-01-26 1988-01-26 Error retry system of channel controller

Publications (1)

Publication Number Publication Date
JPH01191248A true JPH01191248A (en) 1989-08-01

Family

ID=11878979

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63015084A Pending JPH01191248A (en) 1988-01-26 1988-01-26 Error retry system of channel controller

Country Status (1)

Country Link
JP (1) JPH01191248A (en)

Similar Documents

Publication Publication Date Title
US6564271B2 (en) Method and apparatus for automatically transferring I/O blocks between a host system and a host adapter
US5694556A (en) Data processing system including buffering mechanism for inbound and outbound reads and posted writes
US5388219A (en) Efficient channel and control unit for host computer
KR100207887B1 (en) Data processing system and method
US3688274A (en) Command retry control by peripheral devices
US4365295A (en) Multiprocessor system
EP0422103B1 (en) I/o bus to system bus interface
US5261057A (en) I/O bus to system interface
JPS63208963A (en) Digital data processing system
US5371857A (en) Input/output interruption control system for a virtual machine
JPS61290564A (en) Compound data processing system
US6957280B2 (en) Streamlining ATA device initialization
JPH06131244A (en) Asynchronous access system for shared memory
JP2807010B2 (en) Tape drive control unit for interconnection between host computer and tape drive and method of operating the same
JPH01191248A (en) Error retry system of channel controller
US4885679A (en) Secure commodity bus
JP3425355B2 (en) Multiple write storage
JP3162459B2 (en) Data processing device
JP2701739B2 (en) Processor switching method
JP3261665B2 (en) Data transfer method and data processing system
JP2752834B2 (en) Data transfer device
JPS61133453A (en) Memory controller
JPH11327798A (en) Data transfer controller
JPS61134859A (en) Backup controlling system of memory
JPH06250965A (en) Input/output controller