lkml.org 
[lkml]   [2021]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v7] RISC-V: enable XIP
On Fri, Apr 09, 2021 at 02:07:24PM +0200, David Hildenbrand wrote:
> On 09.04.21 13:39, Alex Ghiti wrote:
> > Hi David,
>
> I assume you still somehow create the direct mapping for the kernel, right?
> So it's really some memory region with a direct mapping but without a memmap
> (and right now, without a resource), correct?

XIP kernel text is not a region in memory to begin with ;-)

It resides in a flash and it is executed directly from there without being
relocated to RAM.

That's why it does not need neither direct mapping, nor struct pages.

--
Sincerely yours,
Mike.

\
 
 \ /
  Last update: 2021-04-09 16:11    [W:0.070 / U:1.416 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site