[coreboot] Re: [PATCH] x86_64 support needs testing

2019-10-06 Thread Patrick Rudolph
On 2019-10-01 07:32 PM, Aaron Durbin via coreboot wrote: On Tue, Oct 1, 2019 at 10:29 AM Raul Rangel wrote: Yeah, we can place the stack at the bottom of a page so if it overflows we get a page fault. I'm assuming that will work in SMM? Paging works in SMM, yes. However, paging works on

[coreboot] Re: [PATCH] x86_64 support needs testing

2019-10-01 Thread Aaron Durbin via coreboot
On Tue, Oct 1, 2019 at 10:29 AM Raul Rangel wrote: > Yeah, we can place the stack at the bottom of a page so if it overflows we > get a page fault. I'm assuming that will work in SMM? > Paging works in SMM, yes. However, paging works on 32-bit as well where one could achieve the same thing.

[coreboot] Re: [PATCH] x86_64 support needs testing

2019-10-01 Thread Raul Rangel
Yeah, we can place the stack at the bottom of a page so if it overflows we get a page fault. I'm assuming that will work in SMM? On Tue, Oct 1, 2019 at 10:27 AM Aaron Durbin wrote: > > > On Tue, Oct 1, 2019 at 9:42 AM Raul Rangel wrote: > >> That's exciting. That means we can finally catch

[coreboot] Re: [PATCH] x86_64 support needs testing

2019-10-01 Thread Aaron Durbin via coreboot
On Tue, Oct 1, 2019 at 9:42 AM Raul Rangel wrote: > That's exciting. That means we can finally catch stack overflows in SMM. > Because of paging? > > On Sun, Sep 29, 2019 at 5:42 AM Patrick Rudolph > wrote: > >> Dear coreboot community, >> Please test and review the patch series [1]. >> >> It

[coreboot] Re: [PATCH] x86_64 support needs testing

2019-10-01 Thread Raul Rangel
That's exciting. That means we can finally catch stack overflows in SMM. On Sun, Sep 29, 2019 at 5:42 AM Patrick Rudolph wrote: > Dear coreboot community, > Please test and review the patch series [1]. > > It adds support for x86 long mode on qemu and allows to build test > most of coreboot's