720 - some progress
[skipped]
Quoted 14 lines
!!die_if_kernel:
ls.x(22): Privileged register - shouldn't happen! 11
YZrvWESTHLNXBCVMcbcbcbcbOGFRQPDI
PSW: 00000000000001001111111100001111r0-3 00000000 4019e57c 4008648f 401a057c r4-7 401a057c 40199140 401a057c faf00318 r8-11 00000000 0001bb24 0002df58 faf000e8 r12-15 0002df58 0002df58 000c41b0 0002df58 r16-19 00000000 00000000 10350000 401cf930 r20-23 40029122 401b33f8 4019b0a0 4019fd7c r24-27 00000000 faf00318 40199140 0002df58 r28-31 4017722c 0002f048 faf00440 40083393 sr0-3 0000002c 0000002c 00000000 0000002c sr4-7 0000002c 0000002c 0000002c 0000002c
Quoted 6 lines
IASQ:
0000002c0000002cIAOQ:401b340f401b3413
IIR:036008a4ISR:0000002cIOR:0002df58
CPU: 0 CR30:11b68000CR31: 10358000
ORIG_R28:0002f000Does anyone know what the cause 11 means?
[skipped]
Hi!
Hi Jurij,
Quoted 2 lines
Do I understand correctly, that you started seeng trap 11 only after applying your patch?
Nope, that was the same trap i got with the case 26 fallthrough, as well. Apparently, ls etc doesn't have a problem with unaligned access, but it must be something different. The PA7100LC documentation documents some changes to the read access privileges to CR26 and CR27. Might that be the cause for the trap 11?
The patch helps for the test case i provided, which really is an unaligned access. The unpatched kernel doesn't trap at all with this program, but the program will just hang.
Cheers,
Jochen