Revision history   OpenPOWER Library

 10.2.11. PSL Process Element Handle Register (PSL_PEHandle_An)

 The PSL Process Element Handle Register (PSL_PEHandle_An) contains the current process handle and the AFU command tag. The PE handle field is a 16-bit pointer corresponding to a process element within the scheduled processes area that contains the associated process state, which caused the interrupt. The byte address of the process element is:

( (PSL_SPAP_An[SPA Real Address] << 12) | (PSL_PEHandle_An[PE_Handle] << 7) )

Note: The start of the scheduled processes area must be naturally aligned to the size of the scheduled processes area.

 This register is automatically loaded by the PSL with the corresponding process handle of the process interrupting the system. When an interrupt is not pending, the data returned when reading this register is indeterminate.

 This facility is optional for CAIA-compliant devices that do not support virtualization. System software can detect if this feature is supported by writing x'000000000000FFFF' to the PSL_LLCMD_An Register and reading back the PSL_LLCMD_An Register contents. If a value of zero is returned, this feature is not supported. Any nonzero value indicates that the feature is supported. The PSL_LLCMD_An Register is read because this register is read only.

 There is one register for each PSL slice. Access to these registers should be privileged. These registers must be accessed using a single 64-bit store operation.

Access Type

Read Only

 Base Address Offset

 (P2_Base | P2(n)) + x'0080'; where n is an AFU number.

Reserved

CMD_Tag

0

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

Reserved

PE_Handle

32

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48

49

50

51

52

53

54

55

56

57

58

59

60

61

62

63

Bits

Field Name

Description

 0:15

 Reserved

 Reserved.

 16:31

 CMD_Tag

 Command tag.

 The command tag is a 16-bit tag corresponding to the AFU command that caused the interrupt. This field is indeterminate when the associated interrupt is not the result of an AFU operation.

 This field is implementation dependent and might not be supported by some implementations. See the implementation-specific documentation for more details.

 32:47

 Reserved

 Reserved.

 48:63

 PE_Handle

 Process element handle.

 The process element handle is the 16-bit pointer to the corresponding process element. The address of the process element is:

( (PSL_SPAP_An[SPA Real Address] << 12) | (PSL_PEHandle_An[PE_Handle] << 7) ).

  


loading table of contents...