Re: [PATCH v6] RISC-V: enable XIP

2021-04-07 Thread Vitaly Wool
Hi Alex, > > All in all, I am quite sure now that your take on XIP is working fine. > > The issue with single-core boot under QEmu seems to be less > > reproducible on slower machines running QEmu and more reproducible on > > higher performance ones. It's not clear to me if that is a QEmu > > pr

Re: [PATCH v6] RISC-V: enable XIP

2021-04-06 Thread Alex Ghiti
Le 4/6/21 à 3:54 AM, Vitaly Wool a écrit : On Tue, Apr 6, 2021 at 8:47 AM Alex Ghiti wrote: Hi Vitaly, Le 4/5/21 à 4:34 AM, Vitaly Wool a écrit : On Sun, Apr 4, 2021 at 10:39 AM Vitaly Wool wrote: On Sat, Apr 3, 2021 at 12:00 PM Alex Ghiti wrote: Hi Vitaly, Le 4/1/21 à 7:10 AM, Alex

Re: [PATCH v6] RISC-V: enable XIP

2021-04-06 Thread Vitaly Wool
On Tue, Apr 6, 2021 at 8:47 AM Alex Ghiti wrote: > > Hi Vitaly, > > Le 4/5/21 à 4:34 AM, Vitaly Wool a écrit : > > On Sun, Apr 4, 2021 at 10:39 AM Vitaly Wool > > wrote: > >> > >> On Sat, Apr 3, 2021 at 12:00 PM Alex Ghiti wrote: > >>> > >>> Hi Vitaly, > >>> > >>> Le 4/1/21 à 7:10 AM, Alex Ghit

Re: [PATCH v6] RISC-V: enable XIP

2021-04-05 Thread Alex Ghiti
Hi Vitaly, Le 4/5/21 à 4:34 AM, Vitaly Wool a écrit : On Sun, Apr 4, 2021 at 10:39 AM Vitaly Wool wrote: On Sat, Apr 3, 2021 at 12:00 PM Alex Ghiti wrote: Hi Vitaly, Le 4/1/21 à 7:10 AM, Alex Ghiti a écrit : Le 4/1/21 à 4:52 AM, Vitaly Wool a écrit : Hi Alex, On Thu, Apr 1, 2021 at 10:

Re: [PATCH v6] RISC-V: enable XIP

2021-04-05 Thread Vitaly Wool
On Sun, Apr 4, 2021 at 10:39 AM Vitaly Wool wrote: > > On Sat, Apr 3, 2021 at 12:00 PM Alex Ghiti wrote: > > > > Hi Vitaly, > > > > Le 4/1/21 à 7:10 AM, Alex Ghiti a écrit : > > > Le 4/1/21 à 4:52 AM, Vitaly Wool a écrit : > > >> Hi Alex, > > >> > > >> On Thu, Apr 1, 2021 at 10:11 AM Alex Ghiti

Re: [PATCH v6] RISC-V: enable XIP

2021-04-04 Thread Vitaly Wool
On Sat, Apr 3, 2021 at 12:00 PM Alex Ghiti wrote: > > Hi Vitaly, > > Le 4/1/21 à 7:10 AM, Alex Ghiti a écrit : > > Le 4/1/21 à 4:52 AM, Vitaly Wool a écrit : > >> Hi Alex, > >> > >> On Thu, Apr 1, 2021 at 10:11 AM Alex Ghiti wrote: > >>> > >>> Hi, > >>> > >>> Le 3/30/21 à 4:04 PM, Alex Ghiti a éc

Re: [PATCH v6] RISC-V: enable XIP

2021-04-03 Thread Alex Ghiti
Hi Vitaly, Le 4/1/21 à 7:10 AM, Alex Ghiti a écrit : Le 4/1/21 à 4:52 AM, Vitaly Wool a écrit : Hi Alex, On Thu, Apr 1, 2021 at 10:11 AM Alex Ghiti wrote: Hi, Le 3/30/21 à 4:04 PM, Alex Ghiti a écrit : Le 3/30/21 à 3:33 PM, Palmer Dabbelt a écrit : On Tue, 30 Mar 2021 11:39:10 PDT (-0700

Re: [PATCH v6] RISC-V: enable XIP

2021-04-01 Thread Alex Ghiti
Le 4/1/21 à 4:52 AM, Vitaly Wool a écrit : Hi Alex, On Thu, Apr 1, 2021 at 10:11 AM Alex Ghiti wrote: Hi, Le 3/30/21 à 4:04 PM, Alex Ghiti a écrit : Le 3/30/21 à 3:33 PM, Palmer Dabbelt a écrit : On Tue, 30 Mar 2021 11:39:10 PDT (-0700), a...@ghiti.fr wrote: Le 3/30/21 à 2:26 AM, Vitaly

Re: [PATCH v6] RISC-V: enable XIP

2021-04-01 Thread Vitaly Wool
Hi Alex, On Thu, Apr 1, 2021 at 10:11 AM Alex Ghiti wrote: > > Hi, > > Le 3/30/21 à 4:04 PM, Alex Ghiti a écrit : > > Le 3/30/21 à 3:33 PM, Palmer Dabbelt a écrit : > >> On Tue, 30 Mar 2021 11:39:10 PDT (-0700), a...@ghiti.fr wrote: > >>> > >>> > >>> Le 3/30/21 à 2:26 AM, Vitaly Wool a écrit : >

Re: [PATCH v6] RISC-V: enable XIP

2021-04-01 Thread Alex Ghiti
Hi, Le 3/30/21 à 4:04 PM, Alex Ghiti a écrit : Le 3/30/21 à 3:33 PM, Palmer Dabbelt a écrit : On Tue, 30 Mar 2021 11:39:10 PDT (-0700), a...@ghiti.fr wrote: Le 3/30/21 à 2:26 AM, Vitaly Wool a écrit : On Tue, Mar 30, 2021 at 8:23 AM Palmer Dabbelt wrote: On Sun, 21 Mar 2021 17:12:15 PDT

Re: [PATCH v6] RISC-V: enable XIP

2021-03-31 Thread Vitaly Wool
Hi Kefeng, On Wed, Mar 31, 2021 at 10:37 AM Kefeng Wang wrote: > > Hi,some error when enable XIP_KERNEL config,ARCH_HAS_STRICT_KERNEL_RWX > should disable when enable XIP_KERNEL, > > but there > > riscv64-linux-ld: section .data LMA [0080,008cd37f] > overlaps section .rodata L

Re: [PATCH v6] RISC-V: enable XIP

2021-03-31 Thread Kefeng Wang
Hi,some error when enable XIP_KERNEL config,ARCH_HAS_STRICT_KERNEL_RWX should disable when enable XIP_KERNEL, but there riscv64-linux-ld: section .data LMA [0080,008cd37f] overlaps section .rodata LMA [00706bc0,0085dd67] riscv64-linux-ld: section .pci_fixup

Re: [PATCH v6] RISC-V: enable XIP

2021-03-30 Thread Alex Ghiti
Le 3/30/21 à 3:33 PM, Palmer Dabbelt a écrit : On Tue, 30 Mar 2021 11:39:10 PDT (-0700), a...@ghiti.fr wrote: Le 3/30/21 à 2:26 AM, Vitaly Wool a écrit : On Tue, Mar 30, 2021 at 8:23 AM Palmer Dabbelt wrote: On Sun, 21 Mar 2021 17:12:15 PDT (-0700), vitaly.w...@konsulko.com wrote: Introd

Re: [PATCH v6] RISC-V: enable XIP

2021-03-30 Thread Palmer Dabbelt
On Tue, 30 Mar 2021 11:39:10 PDT (-0700), a...@ghiti.fr wrote: Le 3/30/21 à 2:26 AM, Vitaly Wool a écrit : On Tue, Mar 30, 2021 at 8:23 AM Palmer Dabbelt wrote: On Sun, 21 Mar 2021 17:12:15 PDT (-0700), vitaly.w...@konsulko.com wrote: Introduce XIP (eXecute In Place) support for RISC-V pla

Re: [PATCH v6] RISC-V: enable XIP

2021-03-30 Thread Alex Ghiti
Le 3/30/21 à 2:26 AM, Vitaly Wool a écrit : On Tue, Mar 30, 2021 at 8:23 AM Palmer Dabbelt wrote: On Sun, 21 Mar 2021 17:12:15 PDT (-0700), vitaly.w...@konsulko.com wrote: Introduce XIP (eXecute In Place) support for RISC-V platforms. It allows code to be executed directly from non-volatil

Re: [PATCH v6] RISC-V: enable XIP

2021-03-29 Thread Vitaly Wool
On Tue, Mar 30, 2021 at 8:23 AM Palmer Dabbelt wrote: > > On Sun, 21 Mar 2021 17:12:15 PDT (-0700), vitaly.w...@konsulko.com wrote: > > Introduce XIP (eXecute In Place) support for RISC-V platforms. > > It allows code to be executed directly from non-volatile storage > > directly addressable by th

Re: [PATCH v6] RISC-V: enable XIP

2021-03-29 Thread Palmer Dabbelt
On Sun, 21 Mar 2021 17:12:15 PDT (-0700), vitaly.w...@konsulko.com wrote: Introduce XIP (eXecute In Place) support for RISC-V platforms. It allows code to be executed directly from non-volatile storage directly addressable by the CPU, such as QSPI NOR flash which can be found on many RISC-V platf

[PATCH v6] RISC-V: enable XIP

2021-03-21 Thread Vitaly Wool
Introduce XIP (eXecute In Place) support for RISC-V platforms. It allows code to be executed directly from non-volatile storage directly addressable by the CPU, such as QSPI NOR flash which can be found on many RISC-V platforms. This makes way for significant optimization of RAM footprint. The XIP