JPS62256150A - Input and output processing system - Google Patents

Input and output processing system

Info

Publication number
JPS62256150A
JPS62256150A JP61100333A JP10033386A JPS62256150A JP S62256150 A JPS62256150 A JP S62256150A JP 61100333 A JP61100333 A JP 61100333A JP 10033386 A JP10033386 A JP 10033386A JP S62256150 A JPS62256150 A JP S62256150A
Authority
JP
Japan
Prior art keywords
input
channel
error
subchannel
output device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP61100333A
Other languages
Japanese (ja)
Other versions
JPH0435781B2 (en
Inventor
Yoshifumi Ojiro
雄城 嘉史
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 JP61100333A priority Critical patent/JPS62256150A/en
Publication of JPS62256150A publication Critical patent/JPS62256150A/en
Publication of JPH0435781B2 publication Critical patent/JPH0435781B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices

Abstract

PURPOSE:To inform the error of an input and output device detected by a central processing unit to a channel processor with less overhead by erecting a prescribed flag in a corresponding sub-channel when an unit having no func tion for resetting the input and output device directly detects the error with respect to the input and output device and performing the resetting and an the error processing of a channel processor. CONSTITUTION:When the lock byte 13 of the sub-channel 12 is not cleared but remains, the central processing unit 1 enforcedly clears the lock byte 13 and changes the contents, thereafter, sets a bit indicating that the abnormality is detected on the sub-channel 12 and enqueues to a queue similarly to the case when an ordinary input and output request is generated in this sub-channel. The channel processor 3 dequeues this queue to start the processing, and when an error condition is recognized, the input and output device 7 corresponding to the sub-channel 12 is selectively reset.

Description

【発明の詳細な説明】 〔概要〕 中央処理装置などの人出力デバイスを直接リセットする
機能を持たないユニットが、人出力デバイスに関してエ
ラーを検出すると、当該入出力デバイスに対応するサブ
チャネルに所定のフラグを立て、チャネル処理装置がこ
れを認識すると、当該入出力デバイスのリセット及びエ
ラー処理を行うものである。
[Detailed Description of the Invention] [Summary] When a unit, such as a central processing unit, that does not have the function of directly resetting a human output device, detects an error regarding the human output device, it sends a predetermined signal to the subchannel corresponding to the input/output device. When a flag is set and the channel processing device recognizes it, it resets the input/output device and performs error processing.

〔産業上の利用分野〕[Industrial application field]

本発明は、コンピュータ・システム、特に中央処理装置
とは別に設けられたチャネル処理装置と中央処理装置が
協力して入出力処理を行う様な大型計算機システム等に
於いて、中央処理装置が検出した入出力関連のエラー処
理方式に関する。
The present invention is applicable to computer systems, particularly large-scale computer systems in which a channel processing unit provided separately from the central processing unit and the central processing unit cooperate to perform input/output processing. Concerning input/output related error handling methods.

〔従来の技術〕[Conventional technology]

現在、中央処理装置上で走行するプログラムが発行する
入出力要求は即時実行されるのではなく、一度キューに
投入され、しかるべき条件が整った時点でチャネル処理
装置がこれをデキューし、実行に移されると言う技術が
主流となっている。この入出力要求のエンキュー及びデ
キューをどのユニットが行うかには様々の実現方法があ
るが、もし中央処理装置がこれを行うとすると、中央処
理装置には入出力デバイスに対し直接リセット指示を行
うパスがない為、エラー発生時にはこの処理をチャネル
処理装置に依頼する必要がどうしても出てくる。
Currently, input/output requests issued by programs running on the central processing unit are not executed immediately, but are queued once, and when the appropriate conditions are met, the channel processing unit dequeues them and executes them. The technology that can be transferred has become mainstream. There are various implementation methods as to which unit enqueues and dequeues this input/output request, but if the central processing unit does this, the central processing unit will directly instruct the input/output device to reset. Since there is no path, it becomes necessary to request this processing to the channel processing device when an error occurs.

〔解決しようとする問題点〕[Problem to be solved]

旧来の技術では、これらの処理は特別に設けられたハー
ドウェア・インタフェースを通し、中央処理装置がチャ
ネル処理装置に直接依頼することにより行なわれた。所
が、このインタフェースを介する処理中は本来ならば非
同期的に動作可能なはずの中央処理装置とチャネル処理
装置が同期して動作を行う必要があり、オーバ・ヘッド
(Overhead)が大きい。
In the conventional technology, these processes were performed by the central processing unit directly requesting the channel processing unit through a specially provided hardware interface. However, during processing via this interface, the central processing unit and channel processing unit, which should normally be able to operate asynchronously, must operate synchronously, resulting in a large overhead.

本発明は、このような点に鑑みて創作されたものであっ
て、中央処理装置が検出した入出力デバイスのエラーを
少ないオーバ・ヘッドで以てチャネル処理装置に通知出
来るようにした入出力処理方式を提供することを目的と
している。
The present invention was created in view of the above points, and is an input/output processing method that enables a central processing unit to notify a channel processing device of an error detected in an input/output device with little overhead. The purpose is to provide a method.

〔問題点を解決するための手段〕[Means for solving problems]

要約すると、本発明は次のようなものである。 In summary, the invention is as follows.

本発明は、ソフトウェアからは見えない部分で処理され
るべき中央処理装置−チャネル処理装置の処理依頼を個
々の入出力デバイスに対応して設けられたサブチャネル
の中に、該入出力デバイスに於いてエラー条件が発生し
たことを示すフラグを設け、このフラグを中央処理装置
がセットすることによってチャネル処理装置にこれを知
らしめることにより行うものである。エラー条件を検出
した中央処理装置はこのサブチャネルを上記入出力要求
のキューに接続する。この時、前述のエラー発生フラグ
もまたセントされる。チャネル処理装置は上記キューを
デキューするときにこのエラー発生フラグをチェックし
、もしこのエラー発生フラグがセットされていたならば
、該入出力デバイスを選択的にリセットする。このリセ
ットが成功したならば、チャネル処理装置はこの人出カ
ブバイスに関してチャネル・コントロール・チェックC
CC等を生成し、該サブチャネルをl0LE状態にする
。また、もしこのサブチャネルをデキューする前であっ
ても、チャネル処理装置はこのサブチャネルに対する割
込みが発生すると、エラー発生フラグを検出し、やはり
チャネル・コントロール・チェックCCCを生成し、こ
のサブチャネルを■口LIE状態にする。エラーの1例
としてはMS ACCESSERROR等によるサブチ
ャネルの内容の矛盾が考えられるが、もし中央処理装置
がサブチャネルのみをチャネル・コントロール・チェッ
クとし、該入出力デバイスを実際にクリアすることなく
サブチャネルをIDLI!状態にしたとすると、本来な
らば入出力デバイスの状態を正確に反映しているべきサ
ブチャネルと実際の人出カブバイスの状態が食い違う可
能性が生ずるわけで、中央処理装置がチャネル処理装置
にリセットを依頼する動作は不可欠である。
According to the present invention, processing requests from the central processing unit-channel processing unit, which should be processed in a part invisible to software, are placed in subchannels provided corresponding to individual input/output devices. This is accomplished by providing a flag indicating that an error condition has occurred, and setting this flag by the central processing unit to notify the channel processing unit of this. The central processing unit detecting the error condition connects this subchannel to the queue of input/output requests described above. At this time, the error occurrence flag mentioned above is also sent. The channel processing device checks this error occurrence flag when dequeuing the queue, and if the error occurrence flag is set, selectively resets the input/output device. If this reset is successful, the channel processor performs a channel control check C for this attendance device.
CC etc. are generated and the subchannel is placed in the 10LE state. Also, if an interrupt occurs for this subchannel even before dequeuing this subchannel, the channel processing unit detects an error occurrence flag, also generates a channel control check CCC, and dequeues this subchannel. ■Make your mouth LIE. An example of an error could be a discrepancy in the contents of a subchannel due to MS ACCESSERROR, etc., but if the central processing unit performs a channel control check only on the subchannel, and the subchannel is not cleared without actually clearing the input/output device. IDLI! If the state is reset, there is a possibility that the subchannel, which should accurately reflect the state of the input/output device, and the actual state of the subchannel device may be inconsistent, so the central processing unit resets the channel processing device. The action of requesting is essential.

第1図は本発明の1実施例構成を示す図である。FIG. 1 is a diagram showing the configuration of one embodiment of the present invention.

第1図において、1は中央処理装置、2は記憶制御装置
、3はチャネル処理装置、4と5はチャネル、6は入出
力制御装置、7は入出力デバイス、9は主記憶装置、l
OはOS等が使用可能なユーザ空間、1)はハードウェ
ア・システム領域をそれぞれ示している。第1図では、
入出力デバイス7は1個しか図示されていないが、実際
には複数個の入出力デバイス7が存在することは当然で
ある。各入出力デバイス7に対応するサブチャネルはハ
ードウェア・システム領域1)の中に存在している。
In FIG. 1, 1 is a central processing unit, 2 is a storage controller, 3 is a channel processor, 4 and 5 are channels, 6 is an input/output controller, 7 is an input/output device, 9 is a main storage, l
O indicates a user space that can be used by the OS, etc., and 1) indicates a hardware system area. In Figure 1,
Although only one input/output device 7 is shown in the figure, it goes without saying that a plurality of input/output devices 7 actually exist. A subchannel corresponding to each input/output device 7 exists in the hardware system area 1).

第2図は本発明におけるサブチャネルの構成例を示す図
である。第2図において、12はサブチャネル、13は
ロック・バイト、14はサブチャネル・ステータス・バ
イト(scsB)、工5ババス管理情報、16はソフト
がら見たこの入出力デバイスの状態を示すワード、17
は補助情報、18はポインタをそれぞれ示している。ロ
ック・バイト13は、排他制御のためのものである。サ
ブチャネル・ステータス・バイト14は、サブチャネル
の状態、即ち対応する入出力デバイスの状態を示すもの
である。バス管理情1)5は、この入出力デバイスを使
用すべきチャネル・バスを選択する際に使用されもので
ある。補助情報17は、CC賀ADDRESSやチャネ
ル動的変換機構が使用する情報を含んでいる。ポインタ
18は、各種のキューにこのサブチャネル12がエンキ
ューされている状態で、このザブチャネル12の次に位
置するサブチャネルを指すものである。
FIG. 2 is a diagram showing an example of the configuration of subchannels in the present invention. In FIG. 2, 12 is a subchannel, 13 is a lock byte, 14 is a subchannel status byte (scsB), bus management information, and 16 is a word indicating the status of this input/output device as seen from the software. 17
18 indicates auxiliary information, and 18 indicates a pointer. Lock byte 13 is for exclusive control. Subchannel status byte 14 indicates the status of the subchannel, ie, the status of the corresponding input/output device. Bus management information 1) 5 is used when selecting a channel bus to use this input/output device. The auxiliary information 17 includes information used by the CC ADDRESS and the channel dynamic conversion mechanism. The pointer 18 points to the subchannel located next to this subchannel 12 in a state where this subchannel 12 is enqueued in various queues.

入出力要求のキューは、サブチャネル12をエントリ 
(キュー・エレメント)とし、その最初のサブチャネル
12のポインタをハトウェア・システム領域1)内の決
められたアドレスに置き、順番に次のサブチャネルを上
記ポインタで指し示すことにより構成されるとする。
The input/output request queue has subchannel 12 as an entry.
(queue element), place the pointer of its first subchannel 12 at a predetermined address in the hardware system area 1), and sequentially point to the next subchannel with the pointer.

いま、何れかのユニットの間欠障害によって、サブチャ
ネル12のロック・バイト13がクリアされずに残った
場合を考える。中央処理装置1が次にこのサブチャネル
12を参照しようとすると、1.7ソク待ちになり、い
ずれタイムアウトを検出する。このとき中央処理装置1
は、このロック・バイト13を強制的にクリアし、その
内容をしかるべく変更したのち、更にサブチャネル・ス
テータス・バイト14の第0ビツト(エラー発生ビット
)、即ち異常がこのサブチャネル12上で検出されたこ
とを示すビットをセットして置く。更に、中央処理装置
fは、このサブチャネルを通常の入出力要求が発生した
場合と同様に、上記キューにエンキューして置く。
Now, consider a case where lock byte 13 of subchannel 12 remains uncleared due to an intermittent failure in one of the units. When the central processing unit 1 next tries to refer to this subchannel 12, it will wait for 1.7 seconds, and will eventually detect a timeout. At this time, the central processing unit 1
After forcibly clearing this lock byte 13 and changing its contents accordingly, it also clears the 0th bit (error occurrence bit) of subchannel status byte 14, that is, the abnormality is detected on this subchannel 12. Sets a bit indicating that it has been detected. Furthermore, the central processing unit f enqueues this subchannel in the queue in the same way as when a normal input/output request occurs.

チャネル処理装置3は、このキューをデキューして処理
を開始する。しかし、もしデキューしたサブチャネル1
2のサブチャネル・ステータス・バイI・14の第Oビ
ットがオンでないならば、通常の入出力処理が開始され
る。しかし、もしこの時点でサブチャネル・ステータス
・バイト14の第Oビットがオンであれば、チャネル処
理装置3はこのサブチャネルI2に関してエラー条件を
認識し、このサブチャネル12に対応する入出力デバイ
ス7を選択的にリセットし、このサブチャネル12の内
容をチャネル・コントロール・チェックCCC条件が入
出力デバイス7側から報告された場合に準じて変更し、
ソフトウェア或いはO8に報告する。
The channel processing device 3 dequeues this queue and starts processing. However, if the dequeued subchannel 1
If the Oth bit of subchannel status by I.2 of 14 is not on, normal input/output processing is started. However, if the Oth bit of subchannel status byte 14 is on at this point, channel processor 3 recognizes an error condition with respect to this subchannel I2, and the I/O device 7 corresponding to this subchannel 12 selectively resets the subchannel 12, and changes the contents of this subchannel 12 according to the case where the channel control check CCC condition is reported from the input/output device 7 side,
Report to software or O8.

また、このサブチャネルが入出力要求キューのトップに
来ておらず、チャネル処理装置3がこのサブチャネル1
2をデキューしていなくとも、入出力デバイス7が1)
0割込みを発生し、これを検出したチャネル処理装置3
がこの条件をサブチャネル12に記入し、O8に報告す
るためにこのサブチャネル12をロックし、フェッチし
た際にもこのエラー発生ビットはチェックされ、もしこ
のエラー発生ビットがオンならば、チャネル処理WZ3
はチャネル・コントロール・チェックCCC条件が入出
力デバイス7から報告されたかのように処理を行い、該
入出力デバイスをリセットする。
Also, this subchannel is not at the top of the input/output request queue, and the channel processing device 3
Even if you do not dequeue 2, input/output device 7 is 1)
Channel processing device 3 that generated the 0 interrupt and detected it
writes this condition into subchannel 12, locks this subchannel 12 to report to O8, and when fetching, this error occurrence bit is also checked, and if this error occurrence bit is on, the channel processing WZ3
processes as if a channel control check CCC condition had been reported from the input/output device 7 and resets the input/output device.

〔発明の効果〕〔Effect of the invention〕

以上の説明から明らかなように、本発明によれば、中央
処理装置が検出した入出力デバイスに関するエラー条件
をチャネル処理装置に通知する処理を、従来方式に比し
て少ないオーバヘッドで行うことが出来る。
As is clear from the above description, according to the present invention, the process of notifying the channel processing device of an error condition related to an input/output device detected by the central processing unit can be performed with less overhead than in the conventional method. .

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

第1図は本発明の1実施例構成を示す図、第2図はサブ
チャネルの構成例を示す図である。 1・・・中央処理装置、2・・・記憶制御装置、23・
・・チャネル処理装置、4と5・・・チャネル、6・・
・人出力制御装置、7・・・入出力デバイス、9・・・
主記憶装置、10・・・ユーザ空間、1)・・・ハード
ウェア・システム領域、12・・・サブチャネル、13
・・・ロック・バイト、14・・・サブチャネル・ステ
ータス・バイト、15・・・パス管理情報、16・・・
入出力デバイスの状態を示すワード、17・・・補助情
報、18・・・ポインタ。 特許出願人   富士通株式会社 代理人弁理士  京 谷 四 部 禾そ6月/)1噴!艶伊1$6’ 第1図
FIG. 1 is a diagram showing the configuration of one embodiment of the present invention, and FIG. 2 is a diagram showing an example of the configuration of subchannels. 1... Central processing unit, 2... Storage control device, 23.
...Channel processing device, 4 and 5...Channel, 6...
・Human output control device, 7... Input/output device, 9...
Main storage device, 10... User space, 1)... Hardware system area, 12... Subchannel, 13
...Lock byte, 14...Subchannel status byte, 15...Path management information, 16...
Word indicating the status of the input/output device, 17... Auxiliary information, 18... Pointer. Patent Applicant: Fujitsu Ltd. Representative Patent Attorney: Yotsube Kyotani So June/) 1 shot! Tsuyui 1$6' Figure 1

Claims (1)

【特許請求の範囲】[Claims] 入出力デバイス(7)に対しこれを直接リセットする機
能を持つユニット(3)とその機能を持たないユニット
(1)が協力して入出力処理を行う様なコンピュータ・
システムに於いて、上記リセット機能を持たないユニッ
ト(1)が或るデバイス(7)に関連するエラー条件を
検出した場合、該デバイス(7)に対応して設けられた
上記両ユニット(1)、(3)からアクセス可能であっ
て上記リセット機能を有するユニット(3)が該デバイ
ス(7)の制御の為に参照する制御情報テーブル(12
)に上記リセット機能を有しないユニット(1)がエラ
ーが検出された旨を記入し、この情報を上記リセット機
能を有するユニット(3)がこの後に参照した時、上記
リセット機能を有するユニット(3)が該デバイス(7
)をリセットし、同時に該デバイス(7)が入出力処理
中にエラーを発生した場合に準じたエラー報告やエラー
回復処理を行うことを特徴とする入出力処理方式。
A computer in which a unit (3) that has the function of directly resetting the input/output device (7) and a unit (1) that does not have that function cooperate to perform input/output processing.
In the system, when the unit (1) that does not have the reset function detects an error condition related to a certain device (7), both of the units (1) provided corresponding to the device (7) , (3) and is referenced by the unit (3) having the reset function to control the device (7).
), the unit (1) that does not have the reset function records that an error has been detected, and when the unit (3) that has the reset function refers to this information later, the unit (3) that does not have the reset function writes the information that the error has been detected. ) is the device (7
), and at the same time perform error reporting and error recovery processing in accordance with the case where the device (7) generates an error during input/output processing.
JP61100333A 1986-04-30 1986-04-30 Input and output processing system Granted JPS62256150A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61100333A JPS62256150A (en) 1986-04-30 1986-04-30 Input and output processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61100333A JPS62256150A (en) 1986-04-30 1986-04-30 Input and output processing system

Publications (2)

Publication Number Publication Date
JPS62256150A true JPS62256150A (en) 1987-11-07
JPH0435781B2 JPH0435781B2 (en) 1992-06-12

Family

ID=14271216

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61100333A Granted JPS62256150A (en) 1986-04-30 1986-04-30 Input and output processing system

Country Status (1)

Country Link
JP (1) JPS62256150A (en)

Also Published As

Publication number Publication date
JPH0435781B2 (en) 1992-06-12

Similar Documents

Publication Publication Date Title
US4972368A (en) Intelligent serial I/O subsystem
KR970022798A (en) Input / output interface device and method in computer system
EP0397471B1 (en) Initialization system amd methods for input/output processing units
EP0871307A2 (en) Apparatus for flexible control of interrupts in multiprocessor systems
US7499452B2 (en) Self-healing link sequence counts within a circular buffer
EP0725345A1 (en) Apparatus and method for efficient transfer of data and events between processes and between processes and drivers in a parallel, fault tolerant message based operating system
US5388261A (en) Apparatus and method for handling frame overruns in a digital signal processing system
JP3891994B2 (en) System and method for draining an in-order queue
JPS62256150A (en) Input and output processing system
JP3507524B2 (en) Data processing system with event report word processing function
JPS6235150B2 (en)
JP4205843B2 (en) Control method of network connection device
JP2845616B2 (en) Multiprocessor system
JP2000148525A (en) Method for reducing load of active system in service processor duplex system
CA1292079C (en) Handling of inter-process notification of asynchronous events in a multi-processor system
JPS63236151A (en) Input/output processor
JP2814988B2 (en) Failure handling method
JP2981618B2 (en) Write order preservation method in pipeline computer system
JPS62256154A (en) Channel path control system
Dwork et al. Collective consistency work in progress
CN110955507A (en) Method for multi-task access grant IIC bus based on vxWorks system
Trivedi et al. Predictability Improvement in Real Time Processing
JPH0241782B2 (en)
JPH03257634A (en) Method and device for parallelly processing program
JPS62219055A (en) Temporary blocking control system for message queue

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees