Re: [Xen-devel] CONFIG_SCRUB_DEBUG=y + arm64 + livepatch = Xen BUG at page_alloc.c:738

2017-09-15 Thread Julien Grall
Hi, On 15/09/2017 20:50, Konrad Rzeszutek Wilk wrote: .snip.. (XEN) Loading dom0 DTB to 0x17e0-0x17e08265 (XEN) init_domheap_pages: 0xb87b1->0xb87bc (XEN) init_heap_pages: 0xb87b1 -> 0xb87bc (XEN) init_domheap_pages: 0xb88f1->0xb98ae (XEN) init_heap_pages: 0xb88f1 -> 0xb98ae

Re: [Xen-devel] CONFIG_SCRUB_DEBUG=y + arm64 + livepatch = Xen BUG at page_alloc.c:738

2017-09-15 Thread Konrad Rzeszutek Wilk
.snip.. > (XEN) Loading dom0 DTB to 0x17e0-0x17e08265 > (XEN) init_domheap_pages: 0xb87b1->0xb87bc > (XEN) init_heap_pages: 0xb87b1 -> 0xb87bc > (XEN) init_domheap_pages: 0xb88f1->0xb98ae > (XEN) init_heap_pages: 0xb88f1 -> 0xb98ae <- so the memory is from here > > (XEN) Sc

Re: [Xen-devel] CONFIG_SCRUB_DEBUG=y + arm64 + livepatch = Xen BUG at page_alloc.c:738

2017-09-15 Thread Boris Ostrovsky
> So in other words, it looks like scrub_heap_pages is somehow not > including this MFN. That would be a problem. How does NUMA info look like? -boris ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel

Re: [Xen-devel] CONFIG_SCRUB_DEBUG=y + arm64 + livepatch = Xen BUG at page_alloc.c:738

2017-09-15 Thread Konrad Rzeszutek Wilk
On Thu, Sep 14, 2017 at 05:39:23PM -0400, Boris Ostrovsky wrote: > On 09/14/2017 05:26 PM, Konrad Rzeszutek Wilk wrote: > > On Wed, Sep 13, 2017 at 02:49:41PM -0400, Boris Ostrovsky wrote: > >> On 09/13/2017 02:25 PM, Julien Grall wrote: > >>> Hi, > >>> > >>> On 09/13/2017 07:05 PM, Boris Ostrovsky

Re: [Xen-devel] CONFIG_SCRUB_DEBUG=y + arm64 + livepatch = Xen BUG at page_alloc.c:738

2017-09-14 Thread Boris Ostrovsky
On 09/14/2017 05:26 PM, Konrad Rzeszutek Wilk wrote: > On Wed, Sep 13, 2017 at 02:49:41PM -0400, Boris Ostrovsky wrote: >> On 09/13/2017 02:25 PM, Julien Grall wrote: >>> Hi, >>> >>> On 09/13/2017 07:05 PM, Boris Ostrovsky wrote: On 09/13/2017 11:32 AM, Konrad Rzeszutek Wilk wrote: Well,

Re: [Xen-devel] CONFIG_SCRUB_DEBUG=y + arm64 + livepatch = Xen BUG at page_alloc.c:738

2017-09-14 Thread Konrad Rzeszutek Wilk
On Wed, Sep 13, 2017 at 02:49:41PM -0400, Boris Ostrovsky wrote: > On 09/13/2017 02:25 PM, Julien Grall wrote: > > Hi, > > > > On 09/13/2017 07:05 PM, Boris Ostrovsky wrote: > >> On 09/13/2017 11:32 AM, Konrad Rzeszutek Wilk wrote: > >> Well, that's not a fix. This eliminates the case that somethi

Re: [Xen-devel] CONFIG_SCRUB_DEBUG=y + arm64 + livepatch = Xen BUG at page_alloc.c:738

2017-09-13 Thread Boris Ostrovsky
On 09/13/2017 02:25 PM, Julien Grall wrote: > Hi, > > On 09/13/2017 07:05 PM, Boris Ostrovsky wrote: >> On 09/13/2017 11:32 AM, Konrad Rzeszutek Wilk wrote: >> Well, that's not a fix. This eliminates the case that something in >> ARM-specific code (which I haven't tested) accidentally clears >> _P

Re: [Xen-devel] CONFIG_SCRUB_DEBUG=y + arm64 + livepatch = Xen BUG at page_alloc.c:738

2017-09-13 Thread Julien Grall
Hi, On 09/13/2017 07:05 PM, Boris Ostrovsky wrote: On 09/13/2017 11:32 AM, Konrad Rzeszutek Wilk wrote: Well, that's not a fix. This eliminates the case that something in ARM-specific code (which I haven't tested) accidentally clears _PGC_need_scrub. OK, I think I know what the problem is. You

Re: [Xen-devel] CONFIG_SCRUB_DEBUG=y + arm64 + livepatch = Xen BUG at page_alloc.c:738

2017-09-13 Thread Boris Ostrovsky
On 09/13/2017 11:32 AM, Konrad Rzeszutek Wilk wrote: > On Tue, Sep 12, 2017 at 09:19:23PM -0400, Boris Ostrovsky wrote: >> >> On 09/12/2017 08:01 PM, Konrad Rzeszutek Wilk wrote: >>> On Mon, Sep 11, 2017 at 08:45:02PM -0400, Boris Ostrovsky wrote: On 09/11/2017 07:55 PM, Konrad Rzeszutek

Re: [Xen-devel] CONFIG_SCRUB_DEBUG=y + arm64 + livepatch = Xen BUG at page_alloc.c:738

2017-09-13 Thread Konrad Rzeszutek Wilk
On Tue, Sep 12, 2017 at 09:19:23PM -0400, Boris Ostrovsky wrote: > > > On 09/12/2017 08:01 PM, Konrad Rzeszutek Wilk wrote: > > On Mon, Sep 11, 2017 at 08:45:02PM -0400, Boris Ostrovsky wrote: > > > > > > > > > On 09/11/2017 07:55 PM, Konrad Rzeszutek Wilk wrote: > > > > Hey, > > > > > > > > I

Re: [Xen-devel] CONFIG_SCRUB_DEBUG=y + arm64 + livepatch = Xen BUG at page_alloc.c:738

2017-09-13 Thread Dario Faggioli
On Tue, 2017-09-12 at 20:01 -0400, Konrad Rzeszutek Wilk wrote: > > On 09/11/2017 07:55 PM, Konrad Rzeszutek Wilk wrote: > > > I've only been able to reproduce this on ARM64 (trying right now > > > ARM32 > > > as well), and not on x86. > > > > > > If I compile Xen without CONFIG_SCRUB_DEBUG it wor

Re: [Xen-devel] CONFIG_SCRUB_DEBUG=y + arm64 + livepatch = Xen BUG at page_alloc.c:738

2017-09-12 Thread Boris Ostrovsky
On 09/12/2017 08:01 PM, Konrad Rzeszutek Wilk wrote: On Mon, Sep 11, 2017 at 08:45:02PM -0400, Boris Ostrovsky wrote: On 09/11/2017 07:55 PM, Konrad Rzeszutek Wilk wrote: Hey, I've only been able to reproduce this on ARM64 (trying right now ARM32 as well), and not on x86. If I compile Xen

Re: [Xen-devel] CONFIG_SCRUB_DEBUG=y + arm64 + livepatch = Xen BUG at page_alloc.c:738

2017-09-12 Thread Konrad Rzeszutek Wilk
On Mon, Sep 11, 2017 at 08:45:02PM -0400, Boris Ostrovsky wrote: > > > On 09/11/2017 07:55 PM, Konrad Rzeszutek Wilk wrote: > > Hey, > > > > I've only been able to reproduce this on ARM64 (trying right now ARM32 > > as well), and not on x86. > > > > If I compile Xen without CONFIG_SCRUB_DEBUG i

Re: [Xen-devel] CONFIG_SCRUB_DEBUG=y + arm64 + livepatch = Xen BUG at page_alloc.c:738

2017-09-11 Thread Boris Ostrovsky
On 09/11/2017 07:55 PM, Konrad Rzeszutek Wilk wrote: Hey, I've only been able to reproduce this on ARM64 (trying right now ARM32 as well), and not on x86. If I compile Xen without CONFIG_SCRUB_DEBUG it works great. But if enable it and try to load a livepatch it blows up in page_alloc.c:738

[Xen-devel] CONFIG_SCRUB_DEBUG=y + arm64 + livepatch = Xen BUG at page_alloc.c:738

2017-09-11 Thread Konrad Rzeszutek Wilk
Hey, I've only been able to reproduce this on ARM64 (trying right now ARM32 as well), and not on x86. If I compile Xen without CONFIG_SCRUB_DEBUG it works great. But if enable it and try to load a livepatch it blows up in page_alloc.c:738 This is with origin/staging (d0291f3391) The test-case (