Download Coherent Accelerator Processor Interface User`s Manual

Transcript
User’s Manual
Advance
Coherent Accelerator Processor Interface
Contents
List of Tables ................................................................................................................... 7
List of Figures ................................................................................................................. 9
Revision Log ................................................................................................................. 11
About this Document .................................................................................................... 13
Who Should Read This Manual ............................................................................................................
Document Organization ........................................................................................................................
Related Publications .............................................................................................................................
Conventions Used in This Document ....................................................................................................
Representation of Numbers ............................................................................................................
Bit Significance ...............................................................................................................................
Other Conventions ..........................................................................................................................
References to Registers, Fields, and Bits .............................................................................................
Endian Order .........................................................................................................................................
13
13
14
14
14
14
14
15
16
1. Coherent Accelerator Processor Interface Overview ............................................ 17
1.1 Coherency ....................................................................................................................................... 17
1.2 POWER Service Layer .................................................................................................................... 18
1.3 Application ....................................................................................................................................... 19
2. Introduction to Coherent Accelerator Interface Architecture ............................... 21
2.1 Organization of a CAIA-Compliant Accelerator ...............................................................................
2.1.1 POWER Service Layer ..........................................................................................................
2.1.2 Accelerator Function Unit ......................................................................................................
2.2 Main Storage Addressing ................................................................................................................
2.2.1 Main Storage Attributes .........................................................................................................
21
22
23
23
23
3. Programming Models ............................................................................................... 25
3.1 Dedicated-Process Programming Model ........................................................................................
3.1.1 Starting and Stopping an AFU in the Dedicated-Process Model ...........................................
3.2 Shared Programming Models .........................................................................................................
3.2.1 Starting and Stopping an AFU in the Shared Models ............................................................
3.3 Scheduled Processes Area .............................................................................................................
3.3.1 Process Element Entry ..........................................................................................................
3.3.2 Software State Field Format ..................................................................................................
3.3.3 Software Command/Status Field Format ..............................................................................
3.4 Process Management .....................................................................................................................
3.4.1 Adding a Process Element to the Linked List by System Software .......................................
3.4.2 PSL Queue Processing (Starting and Resuming Process Elements) ...................................
3.4.3 Terminating a Process Element ............................................................................................
3.4.4 Removing a Process Element from the Linked List ...............................................................
3.4.5 Suspending a Process Element in the Linked List ................................................................
Version 1.2
29 January 2015
26
26
29
31
33
35
36
37
38
39
42
43
48
50
Contents
Page 3 of 101