Re: [Xen-devel] [PATCH v2] x86/xen: init %gs very early to avoid page faults with stack protector
On Fri, Feb 2, 2018 at 12:56 AM, Juergen Grosswrote: > On 02/02/18 01:36, Chris Patterson wrote: >> Works great, tested it and it fixes booting Linux v4.15 kernel for me :) > > Can I add your "Tested-by:" to the patch when committing it? > > Sure thing, have a great day.
Re: [Xen-devel] [PATCH v2] x86/xen: init %gs very early to avoid page faults with stack protector
On Fri, Feb 2, 2018 at 12:56 AM, Juergen Gross wrote: > On 02/02/18 01:36, Chris Patterson wrote: >> Works great, tested it and it fixes booting Linux v4.15 kernel for me :) > > Can I add your "Tested-by:" to the patch when committing it? > > Sure thing, have a great day.
Re: [Xen-devel] [PATCH v2] x86/xen: init %gs very early to avoid page faults with stack protector
On 02/02/18 01:36, Chris Patterson wrote: > Works great, tested it and it fixes booting Linux v4.15 kernel for me :) Can I add your "Tested-by:" to the patch when committing it? Juergen > > Cheers! > > On Thu, Feb 1, 2018 at 3:17 PM, Boris Ostrovsky >wrote: >> On 02/01/2018 07:40 AM, Juergen Gross wrote: >>> When running as Xen pv guest %gs is initialized some time after >>> C code is started. Depending on stack protector usage this might be >>> too late, resulting in page faults. >>> >>> So setup %gs and MSR_GS_BASE in assembly code already. >>> >>> Cc: sta...@vger.kernel.org >>> Signed-off-by: Juergen Gross >> >> Reviewed-by: Boris Ostrovsky >> >> >> >> ___ >> Xen-devel mailing list >> xen-de...@lists.xenproject.org >> https://lists.xenproject.org/mailman/listinfo/xen-devel >
Re: [Xen-devel] [PATCH v2] x86/xen: init %gs very early to avoid page faults with stack protector
On 02/02/18 01:36, Chris Patterson wrote: > Works great, tested it and it fixes booting Linux v4.15 kernel for me :) Can I add your "Tested-by:" to the patch when committing it? Juergen > > Cheers! > > On Thu, Feb 1, 2018 at 3:17 PM, Boris Ostrovsky > wrote: >> On 02/01/2018 07:40 AM, Juergen Gross wrote: >>> When running as Xen pv guest %gs is initialized some time after >>> C code is started. Depending on stack protector usage this might be >>> too late, resulting in page faults. >>> >>> So setup %gs and MSR_GS_BASE in assembly code already. >>> >>> Cc: sta...@vger.kernel.org >>> Signed-off-by: Juergen Gross >> >> Reviewed-by: Boris Ostrovsky >> >> >> >> ___ >> Xen-devel mailing list >> xen-de...@lists.xenproject.org >> https://lists.xenproject.org/mailman/listinfo/xen-devel >
Re: [Xen-devel] [PATCH v2] x86/xen: init %gs very early to avoid page faults with stack protector
Works great, tested it and it fixes booting Linux v4.15 kernel for me :) Cheers! On Thu, Feb 1, 2018 at 3:17 PM, Boris Ostrovskywrote: > On 02/01/2018 07:40 AM, Juergen Gross wrote: >> When running as Xen pv guest %gs is initialized some time after >> C code is started. Depending on stack protector usage this might be >> too late, resulting in page faults. >> >> So setup %gs and MSR_GS_BASE in assembly code already. >> >> Cc: sta...@vger.kernel.org >> Signed-off-by: Juergen Gross > > Reviewed-by: Boris Ostrovsky > > > > ___ > Xen-devel mailing list > xen-de...@lists.xenproject.org > https://lists.xenproject.org/mailman/listinfo/xen-devel
Re: [Xen-devel] [PATCH v2] x86/xen: init %gs very early to avoid page faults with stack protector
Works great, tested it and it fixes booting Linux v4.15 kernel for me :) Cheers! On Thu, Feb 1, 2018 at 3:17 PM, Boris Ostrovsky wrote: > On 02/01/2018 07:40 AM, Juergen Gross wrote: >> When running as Xen pv guest %gs is initialized some time after >> C code is started. Depending on stack protector usage this might be >> too late, resulting in page faults. >> >> So setup %gs and MSR_GS_BASE in assembly code already. >> >> Cc: sta...@vger.kernel.org >> Signed-off-by: Juergen Gross > > Reviewed-by: Boris Ostrovsky > > > > ___ > Xen-devel mailing list > xen-de...@lists.xenproject.org > https://lists.xenproject.org/mailman/listinfo/xen-devel
Re: [Xen-devel] [PATCH v2] x86/xen: init %gs very early to avoid page faults with stack protector
On 02/01/2018 07:40 AM, Juergen Gross wrote: > When running as Xen pv guest %gs is initialized some time after > C code is started. Depending on stack protector usage this might be > too late, resulting in page faults. > > So setup %gs and MSR_GS_BASE in assembly code already. > > Cc: sta...@vger.kernel.org > Signed-off-by: Juergen GrossReviewed-by: Boris Ostrovsky
Re: [Xen-devel] [PATCH v2] x86/xen: init %gs very early to avoid page faults with stack protector
On 02/01/2018 07:40 AM, Juergen Gross wrote: > When running as Xen pv guest %gs is initialized some time after > C code is started. Depending on stack protector usage this might be > too late, resulting in page faults. > > So setup %gs and MSR_GS_BASE in assembly code already. > > Cc: sta...@vger.kernel.org > Signed-off-by: Juergen Gross Reviewed-by: Boris Ostrovsky