Re: [PATCH 1/3] pc-bios/s390-ccw: fix off-by-one error

2020-09-24 Thread Marc Hartmayer
On Thu, Sep 24, 2020 at 12:02 PM +0200, Philippe Mathieu-Daudé wrote: > Hi Marc, > > On 9/24/20 10:59 AM, Marc Hartmayer wrote: >> This error takes effect when the magic value "zIPL" is located at the >> end of a block. For example if s2_cur_blk = 0x7fe18000 and the magic >> value "zIPL" is locat

Re: [PATCH 1/3] pc-bios/s390-ccw: fix off-by-one error

2020-09-24 Thread Thomas Huth
On 24/09/2020 10.59, Marc Hartmayer wrote: > This error takes effect when the magic value "zIPL" is located at the > end of a block. For example if s2_cur_blk = 0x7fe18000 and the magic > value "zIPL" is located at 0x7fe18ffc - 0x7fe18fff. > > Fixes: ba831b25262a ("s390-ccw: read stage2 boot loade

Re: [PATCH 1/3] pc-bios/s390-ccw: fix off-by-one error

2020-09-24 Thread Philippe Mathieu-Daudé
Hi Marc, On 9/24/20 10:59 AM, Marc Hartmayer wrote: > This error takes effect when the magic value "zIPL" is located at the > end of a block. For example if s2_cur_blk = 0x7fe18000 and the magic > value "zIPL" is located at 0x7fe18ffc - 0x7fe18fff. > > Fixes: ba831b25262a ("s390-ccw: read stage2

[PATCH 1/3] pc-bios/s390-ccw: fix off-by-one error

2020-09-24 Thread Marc Hartmayer
This error takes effect when the magic value "zIPL" is located at the end of a block. For example if s2_cur_blk = 0x7fe18000 and the magic value "zIPL" is located at 0x7fe18ffc - 0x7fe18fff. Fixes: ba831b25262a ("s390-ccw: read stage2 boot loader data to find menu") Reviewed-by: Collin Walling Si