Re: [PATCH/RFC v7] ARM: boot: Obtain start of physical memory from DTB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Aug 15, 2020 at 11:16 AM Russell King - ARM Linux admin
<linux@xxxxxxxxxxxxxxx> wrote:
> On Fri, Aug 14, 2020 at 04:03:41PM +0200, Linus Walleij wrote:
> > But TEXT_OFFSET is also used inside the kernel to offset the
> > virtual memory. This means that when we set up the virtual
> > memory split, the kernel virtual memory is also bumped by
> > these 2 MB so the virtual memory starts at 0xC0208000
> > instead of 0xC0008000 as is normal.
>
> No.  Virtual memory starts without the 32KiB offset.  The L1 swapper
> page table starts 16KiB below (or slightly more if LPAE) for example.

Thanks Russell, I am struggling to learn these things. Slow learner.
I'm reading through the assembler line-by-line and trying to learn
things from the ground up now, let's see if I manage to get these
things eventually.

Best regards,
Linus Walleij



[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux