Re: [PATCH v2] efidisk: pass buffers with higher alignment

2022-05-17 Thread Stefan Agner
On 2022-05-17 17:21, Daniel Kiper wrote: > On Tue, May 17, 2022 at 05:07:49PM +0200, Daniel Kiper wrote: >> On Tue, May 10, 2022 at 10:40:15PM +0200, Stefan Agner wrote: >> > On 2022-05-10 22:26, Heinrich Schuchardt wrote: >> > > On 5/10/22 21:59, Stefan Agner wrote: >> > >> Despite the UEFI specif

Re: [PATCH v2] efidisk: pass buffers with higher alignment

2022-05-17 Thread Daniel Kiper
On Tue, May 17, 2022 at 05:07:49PM +0200, Daniel Kiper wrote: > On Tue, May 10, 2022 at 10:40:15PM +0200, Stefan Agner wrote: > > On 2022-05-10 22:26, Heinrich Schuchardt wrote: > > > On 5/10/22 21:59, Stefan Agner wrote: > > >> Despite the UEFI specification saying "the requirement is that the > >

Re: [PATCH v2] efidisk: pass buffers with higher alignment

2022-05-17 Thread Daniel Kiper
On Tue, May 10, 2022 at 10:40:15PM +0200, Stefan Agner wrote: > On 2022-05-10 22:26, Heinrich Schuchardt wrote: > > On 5/10/22 21:59, Stefan Agner wrote: > >> Despite the UEFI specification saying "the requirement is that the > >> start address of a buffer must be evenly divisible by IoAlign with >

Re: [PATCH v2] efidisk: pass buffers with higher alignment

2022-05-16 Thread Heinrich Schuchardt
On 5/16/22 14:22, Stefan Agner wrote: Hi Heinrich, On 2022-05-10 22:40, Stefan Agner wrote: On 2022-05-10 22:26, Heinrich Schuchardt wrote: On 5/10/22 21:59, Stefan Agner wrote: Despite the UEFI specification saying "the requirement is that the start address of a buffer must be evenly divisib

Re: [PATCH v2] efidisk: pass buffers with higher alignment

2022-05-16 Thread Stefan Agner
Hi Heinrich, On 2022-05-10 22:40, Stefan Agner wrote: > On 2022-05-10 22:26, Heinrich Schuchardt wrote: >> On 5/10/22 21:59, Stefan Agner wrote: >>> Despite the UEFI specification saying "the requirement is that the >>> start address of a buffer must be evenly divisible by IoAlign with >>> no rema

Re: [PATCH v2] efidisk: pass buffers with higher alignment

2022-05-10 Thread Stefan Agner
On 2022-05-10 22:26, Heinrich Schuchardt wrote: > On 5/10/22 21:59, Stefan Agner wrote: >> Despite the UEFI specification saying "the requirement is that the >> start address of a buffer must be evenly divisible by IoAlign with >> no remainder.", it seems that a higher alignment requirement is >> n

Re: [PATCH v2] efidisk: pass buffers with higher alignment

2022-05-10 Thread Heinrich Schuchardt
On 5/10/22 21:59, Stefan Agner wrote: Despite the UEFI specification saying "the requirement is that the start address of a buffer must be evenly divisible by IoAlign with no remainder.", it seems that a higher alignment requirement is neecssary on some system (e.g. a Intel NUC system with NVMe S