Re: [RFC] 64-bit boot protocol for Linux x86

2022-05-21 Thread Wei Zhang
Sorry about having sent the message twice, please ignore the previous one. Wei Zhang On Sun, May 22, 2022 at 11:56 AM Wei Zhang wrote: > > Hi guys, > If I understand the Linux boot correctly, GRUB 2 will drop Linux in a 32-bit > protected mode, > using the Linux 32-bit boot protocol. > Since

[RFC] 64-bit boot protocol for Linux x86

2022-05-21 Thread Wei Zhang
Hi guys, If I understand the Linux boot correctly, GRUB 2 will drop Linux in a 32-bit protected mode, using the Linux 32-bit boot protocol. Since Linux has a 64-bit boot protocol, I'm thinking that we can make use of that. On x86_64 target, if we can make use of 64-bit boot protocol, we'll drop

[RFC] 64-bit boot protocol for Linux x86

2022-05-21 Thread wei zhang
Hi guys, If I understand the Linux boot correctly, GRUB 2 will drop Linux in a 32-bit protected mode, using the Linux 32-bit boot protocol. Since Linux has a 64-bit boot protocol, I'm thinking that we can make use of that. On x86_64 target, if we can use 64-bit boot protocol, we'll drop Linux in

Re: [PATCH 3/4] luks2: set up dummy sector size during scan

2022-05-21 Thread Fabian Vogt
Hi, Am Samstag, 21. Mai 2022, 02:13:53 CEST schrieb Glenn Washburn: > On Mon, 07 Feb 2022 14:15:07 +0100 > Josselin Poiret via Grub-devel wrote: > > > Hi Fabian, > > > > Fabian Vogt writes: > > > > > Did you have a look at my approach? That effectively does the same, but > > > using a > > >

Re: [PATCH v3 2/2] devmapper/getroot: Set up cheated LUKS2 cryptodisk mount from DM parameters

2022-05-21 Thread Josselin Poiret via Grub-devel
Hello Glenn, Glenn Washburn writes: > After reviewing this, I stumbled upon Fabian's patch. I wrote a > response on the thread of that patch with the suggestion that his patch > be used to get the total number of sectors and sector size and this > patch be used to get the crypto information.