Re: [PATCH 1/3] xen/arm64: head: Move earlyprintk 'hex' string to .rodata.str

2023-11-21 Thread Michal Orzel
Hi, On 21/11/2023 19:31, Julien Grall wrote: > > > Hi Michal, > > On 21/11/2023 17:18, Michal Orzel wrote: >> >> >> On 21/11/2023 18:04, Julien Grall wrote: >>> >>> >>> On 21/11/2023 17:00, Michal Orzel wrote: Hi Julien, >>> >>> Hi, >>> On 21/11/2023 17:09, Julien Grall wrote: > >

Re: [PATCH 1/3] xen/arm64: head: Move earlyprintk 'hex' string to .rodata.str

2023-11-21 Thread Julien Grall
Hi Michal, On 21/11/2023 17:18, Michal Orzel wrote: On 21/11/2023 18:04, Julien Grall wrote: On 21/11/2023 17:00, Michal Orzel wrote: Hi Julien, Hi, On 21/11/2023 17:09, Julien Grall wrote: Hi Michal, On 21/11/2023 09:45, Michal Orzel wrote: At the moment, the 'hex' string is plac

Re: [PATCH 1/3] xen/arm64: head: Move earlyprintk 'hex' string to .rodata.str

2023-11-21 Thread Michal Orzel
On 21/11/2023 18:04, Julien Grall wrote: > > > On 21/11/2023 17:00, Michal Orzel wrote: >> Hi Julien, > > Hi, > >> On 21/11/2023 17:09, Julien Grall wrote: >>> >>> >>> Hi Michal, >>> >>> On 21/11/2023 09:45, Michal Orzel wrote: At the moment, the 'hex' string is placed right after the '

Re: [PATCH 1/3] xen/arm64: head: Move earlyprintk 'hex' string to .rodata.str

2023-11-21 Thread Julien Grall
On 21/11/2023 17:00, Michal Orzel wrote: Hi Julien, Hi, On 21/11/2023 17:09, Julien Grall wrote: Hi Michal, On 21/11/2023 09:45, Michal Orzel wrote: At the moment, the 'hex' string is placed right after the 'putn' function in the .text section. This is because of the limited range (+/

Re: [PATCH 1/3] xen/arm64: head: Move earlyprintk 'hex' string to .rodata.str

2023-11-21 Thread Michal Orzel
Hi Julien, On 21/11/2023 17:09, Julien Grall wrote: > > > Hi Michal, > > On 21/11/2023 09:45, Michal Orzel wrote: >> At the moment, the 'hex' string is placed right after the 'putn' >> function in the .text section. This is because of the limited range >> (+/- 1MB) of PC relative 'adr' instruct

Re: [PATCH 1/3] xen/arm64: head: Move earlyprintk 'hex' string to .rodata.str

2023-11-21 Thread Julien Grall
Hi Michal, On 21/11/2023 09:45, Michal Orzel wrote: At the moment, the 'hex' string is placed right after the 'putn' function in the .text section. This is because of the limited range (+/- 1MB) of PC relative 'adr' instruction 'putn' uses. Modify it to use 'adr_l' instead (range extended to +/-

Re: [PATCH 1/3] xen/arm64: head: Move earlyprintk 'hex' string to .rodata.str

2023-11-21 Thread Luca Fancellu
> On 21 Nov 2023, at 09:45, Michal Orzel wrote: > > At the moment, the 'hex' string is placed right after the 'putn' > function in the .text section. This is because of the limited range > (+/- 1MB) of PC relative 'adr' instruction 'putn' uses. Modify it to use > 'adr_l' instead (range extended

[PATCH 1/3] xen/arm64: head: Move earlyprintk 'hex' string to .rodata.str

2023-11-21 Thread Michal Orzel
At the moment, the 'hex' string is placed right after the 'putn' function in the .text section. This is because of the limited range (+/- 1MB) of PC relative 'adr' instruction 'putn' uses. Modify it to use 'adr_l' instead (range extended to +/- 4GB) and move the string to .rodata.str. This way all