Re: [Xen-devel] [PATCH v3 05/18] arm: poison initmem when it is freed.

2016-09-16 Thread Julien Grall
Hi Konrad, On 11/09/2016 22:35, Konrad Rzeszutek Wilk wrote: The current byte sequence is '0xcc' which makes sense on x86, but on ARM it is: stclgt 12, cr12, [ip], {204} ; 0xcc Picking something more ARM applicable such as: efefefefsvc 0x00efefef Whilst I

[Xen-devel] [PATCH v3 05/18] arm: poison initmem when it is freed.

2016-09-11 Thread Konrad Rzeszutek Wilk
The current byte sequence is '0xcc' which makes sense on x86, but on ARM it is: stclgt 12, cr12, [ip], {204} ; 0xcc Picking something more ARM applicable such as: efefefefsvc 0x00efefef Creates a nice crash if one executes that code: (XEN) CPU1: Unexpected Trap: