Re: [RFC PATCH 0/6] Port PPC64/PowerNV MMU tests to QEMU

2022-03-28 Thread Cédric Le Goater
On 3/26/22 14:13, Richard Henderson wrote: On 3/24/22 13:08, Leandro Lupori wrote: To be able to finish the test and return an exit code to the calling process, the Processor Attention instruction is used. As its behavior is implementation dependent, in QEMU PowerNV it just calls exit with GPR[3

Re: [RFC PATCH 0/6] Port PPC64/PowerNV MMU tests to QEMU

2022-03-28 Thread Richard Henderson
On 3/28/22 08:54, Fabiano Rosas wrote: I can't reach the semihosting docs at: https://static.docs.arm.com/100863/0200/semihosting.pdf Do we need to replace that URL with something else? It has been moved to https://developer.arm.com/documentation/100863/latest r~

Re: [RFC PATCH 0/6] Port PPC64/PowerNV MMU tests to QEMU

2022-03-28 Thread Fabiano Rosas
Richard Henderson writes: > On 3/24/22 13:08, Leandro Lupori wrote: >> To be able to finish the test and return an exit code to the >> calling process, the Processor Attention instruction is used. >> As its behavior is implementation dependent, in QEMU PowerNV >> it just calls exit with GPR[3] va

Re: [RFC PATCH 0/6] Port PPC64/PowerNV MMU tests to QEMU

2022-03-26 Thread Richard Henderson
On 3/24/22 13:08, Leandro Lupori wrote: To be able to finish the test and return an exit code to the calling process, the Processor Attention instruction is used. As its behavior is implementation dependent, in QEMU PowerNV it just calls exit with GPR[3] value, truncated to an uint8_t. I think