Re: Relocation overflow on RISC-V with multi-range memory layout

2023-10-11 Thread Wu, Fei
On 10/9/2023 11:14 AM, Wu, Fei wrote: > On 9/27/2023 11:23 PM, Vladimir 'phcoder' Serbinenko wrote: >> That is not the correct solution. Correct solution is to use trampoline >> facility like e.g. ppc does. Can you post the full reproduction >> instructions? >> Hi Vladimir, Could you please explai

Re: [PATCH] gzio: Avoid spurious failures

2023-10-11 Thread Jason Andryuk
Hi, Glenn, On Tue, Oct 10, 2023 at 2:23 PM Glenn Washburn wrote: > > On Tue, 10 Oct 2023 12:24:24 -0400 > Jason Andryuk wrote: > > > grub_gzio_read_real() uses grub_errno to identify decompression failures > > when the function completes. Its callees in gzio.c are void-returning > > functions t

Re: Relocation overflow on RISC-V with multi-range memory layout

2023-10-11 Thread Vladimir 'phcoder' Serbinenko
Le mer. 11 oct. 2023, 12:20, Wu, Fei a écrit : > On 10/9/2023 11:14 AM, Wu, Fei wrote: > > On 9/27/2023 11:23 PM, Vladimir 'phcoder' Serbinenko wrote: > >> That is not the correct solution. Correct solution is to use trampoline > >> facility like e.g. ppc does. Can you post the full reproduction

Re: Relocation overflow on RISC-V with multi-range memory layout

2023-10-11 Thread Wu, Fei
On 10/11/2023 9:50 PM, Vladimir 'phcoder' Serbinenko wrote: > > > Le mer. 11 oct. 2023, 12:20, Wu, Fei > a écrit : > > On 10/9/2023 11:14 AM, Wu, Fei wrote: > > On 9/27/2023 11:23 PM, Vladimir 'phcoder' Serbinenko wrote: > >> That is not the correct solutio

Re: [PATCH] gzio: Avoid spurious failures

2023-10-11 Thread Glenn Washburn
On Wed, 11 Oct 2023 08:42:20 -0400 Jason Andryuk wrote: > Hi, Glenn, > > On Tue, Oct 10, 2023 at 2:23 PM Glenn Washburn > wrote: > > > > On Tue, 10 Oct 2023 12:24:24 -0400 > > Jason Andryuk wrote: > > > > > grub_gzio_read_real() uses grub_errno to identify decompression failures > > > when the