Moss-OS / moss-kernel

An OS for Rasopberry
0 stars 0 forks source link

SYNC_INVALID_EL1h exception #20

Closed mcribbs closed 1 year ago

mcribbs commented 2 years ago

We're randomly getting a SYNC_INVALID_EL1h exception when running in QEMU. The time before this occurs is not consistent. Checking older commits this seems to have existed for quite some time.

SYNC_INVALID_EL1h (type 4), ESR: 0x8a000000, ELR: 0x0000000060000345, SPSR: 0x60000345, EL: 1

mcribbs commented 2 years ago

Reproduced on Pi400.

SYNC_INVALID_EL1h (type 4), ESR: 0x8a000000, ELR: 0x0000000060000345, SPSR: 0x60000345, EL: 1

mcribbs commented 2 years ago

Another run in QEMU results in

SYNC_INVALID_EL1h (type 4), ESR: 0x8a000000, ELR: 0x0000000020000345, SPSR: 0x60000345, EL: 1

Note the ELR address value is different 0x0000000020000345 vs 0x0000000060000345

And a pi400 run with ELR of 0x0000000080000345

real pi3 SYNC_INVALID_EL1h (type 4), ESR: 0x8a000000, ELR: 0x0000000020000345, SPSR: 0x60000345, EL: 1 and SYNC_INVALID_EL1h (type 4), ESR: 0x8a000000, ELR: 0x0000000080000345, SPSR: 0x60000345, EL: 1