Re: [PATCH v5] x86/power/64: Fix kernel text mapping corruption during image restoration

2016-06-30 Thread Logan Gunthorpe
Hey, So, I've done a couple hundred hibernate resume cycles with v5 of the patch and so far it looks good. I'll let you know if I hit any bugs in more typical usage over the coming week. Thanks, Logan On 30/06/16 10:11 AM, Rafael J. Wysocki wrote: From: Rafael J. Wysocki

Re: [PATCH v5] x86/power/64: Fix kernel text mapping corruption during image restoration

2016-06-30 Thread Logan Gunthorpe
Hey, So, I've done a couple hundred hibernate resume cycles with v5 of the patch and so far it looks good. I'll let you know if I hit any bugs in more typical usage over the coming week. Thanks, Logan On 30/06/16 10:11 AM, Rafael J. Wysocki wrote: From: Rafael J. Wysocki Logan Gunthorpe

Re: [PATCH v5] x86/power/64: Fix kernel text mapping corruption during image restoration

2016-06-30 Thread Borislav Petkov
On Thu, Jun 30, 2016 at 06:11:41PM +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Logan Gunthorpe reports that hibernation stopped working reliably for > him after commit ab76f7b4ab23 (x86/mm: Set NX on gap between __ex_table > and rodata). > > That

Re: [PATCH v5] x86/power/64: Fix kernel text mapping corruption during image restoration

2016-06-30 Thread Borislav Petkov
On Thu, Jun 30, 2016 at 06:11:41PM +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Logan Gunthorpe reports that hibernation stopped working reliably for > him after commit ab76f7b4ab23 (x86/mm: Set NX on gap between __ex_table > and rodata). > > That turns out to be a consequence

[PATCH v5] x86/power/64: Fix kernel text mapping corruption during image restoration

2016-06-30 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Logan Gunthorpe reports that hibernation stopped working reliably for him after commit ab76f7b4ab23 (x86/mm: Set NX on gap between __ex_table and rodata). That turns out to be a consequence of a long-standing issue with the 64-bit image

[PATCH v5] x86/power/64: Fix kernel text mapping corruption during image restoration

2016-06-30 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Logan Gunthorpe reports that hibernation stopped working reliably for him after commit ab76f7b4ab23 (x86/mm: Set NX on gap between __ex_table and rodata). That turns out to be a consequence of a long-standing issue with the 64-bit image restoration code on x86, which is