Re: (overlapping) lmb allocations during boot

2021-10-31 Thread Michael Walle
Am 2021-10-31 18:36, schrieb Mark Kettenis: Date: Sun, 31 Oct 2021 16:19:56 +0100 From: Michael Walle .. >> > Unless CONFIG_EFI_LOADER is defined. Then it relocates the spin table >> > to memory allocated using efi_allocate_pages(). But that function >> > only looks at the EFI memory map

Re: (overlapping) lmb allocations during boot

2021-10-31 Thread Mark Kettenis
> Date: Sun, 31 Oct 2021 16:19:56 +0100 > From: Michael Walle > > Am 2021-10-31 13:51, schrieb Mark Kettenis: > >> Date: Sun, 31 Oct 2021 13:04:40 +0100 > >> From: Michael Walle > >> > >> Am 2021-10-31 12:44, schrieb Mark Kettenis: > >> >> Date: Sun, 31 Oct 2021 11:43:38 +0100 > >> >> From:

Re: (overlapping) lmb allocations during boot

2021-10-31 Thread Michael Walle
Am 2021-10-31 13:51, schrieb Mark Kettenis: Date: Sun, 31 Oct 2021 13:04:40 +0100 From: Michael Walle Am 2021-10-31 12:44, schrieb Mark Kettenis: >> Date: Sun, 31 Oct 2021 11:43:38 +0100 >> From: Michael Walle >> >> Hi, >> >> I sometimes see a corrupted initrd during kernel boot on my board

Re: (overlapping) lmb allocations during boot

2021-10-31 Thread Mark Kettenis
> Date: Sun, 31 Oct 2021 13:04:40 +0100 > From: Michael Walle > > Am 2021-10-31 12:44, schrieb Mark Kettenis: > >> Date: Sun, 31 Oct 2021 11:43:38 +0100 > >> From: Michael Walle > >> > >> Hi, > >> > >> I sometimes see a corrupted initrd during kernel boot on my board > >> (kontron_sl28).

Re: (overlapping) lmb allocations during boot

2021-10-31 Thread Michael Walle
Am 2021-10-31 12:44, schrieb Mark Kettenis: Date: Sun, 31 Oct 2021 11:43:38 +0100 From: Michael Walle Hi, I sometimes see a corrupted initrd during kernel boot on my board (kontron_sl28). Debugging showed that in this case the spin table for the secondary CPUs overlaps with the lmb initrd

Re: (overlapping) lmb allocations during boot

2021-10-31 Thread Mark Kettenis
> Date: Sun, 31 Oct 2021 11:43:38 +0100 > From: Michael Walle > > Hi, > > I sometimes see a corrupted initrd during kernel boot on my board > (kontron_sl28). Debugging showed that in this case the spin table > for the secondary CPUs overlaps with the lmb initrd allocations > (initrd_high is

(overlapping) lmb allocations during boot

2021-10-31 Thread Michael Walle
Hi, I sometimes see a corrupted initrd during kernel boot on my board (kontron_sl28). Debugging showed that in this case the spin table for the secondary CPUs overlaps with the lmb initrd allocations (initrd_high is set). I had a look at how the fdt and initrd are relocated (if enabled). In