Re: [PATCH v6 10/10] tests: add support for LoongArch

2022-08-02 Thread Xiaotian Wu
在 2022/8/3 上午2:50, Glenn Washburn 写道: On Tue, 2 Aug 2022 15:13:37 +0800 Xiaotian Wu wrote: Signed-off-by: Xiaotian Wu --- tests/ahci_test.in | 2 +- tests/ehci_test.in | 2 +- tests/ohci_test.in | 2 +- tests/pata_test.in | 2 +- tests/uhci_test.in |

Re: [PATCH v3 0/3] Cryptomount detached headers

2022-08-02 Thread brutser--- via Grub-devel
Van: Glenn Washburn Aan: brutser--- via Grub-devel Onderwerp: Re: [PATCH v3 0/3] Cryptomount detached headers Datum: 02/08/2022 20:58:17 Europe/Paris Cc: brut...@perso.be;    dki...@net-space.pl;    p...@pks.im Hi Bruster, Are you able to add your responses inline like I have been doing in my

Re: [PATCH v3 0/3] Cryptomount detached headers

2022-08-02 Thread Glenn Washburn
Hi Bruster, Are you able to add your responses inline like I have been doing in my replies? And not top-post, which is posting at the top. On Tue, 2 Aug 2022 02:26:58 +0200 (CEST) brutser--- via Grub-devel wrote: > > > Glenn, > > > > But my testing is very limited, i only create grub

Re: [PATCH v6 10/10] tests: add support for LoongArch

2022-08-02 Thread Glenn Washburn
On Tue, 2 Aug 2022 15:13:37 +0800 Xiaotian Wu wrote: > Signed-off-by: Xiaotian Wu > --- > tests/ahci_test.in | 2 +- > tests/ehci_test.in | 2 +- > tests/ohci_test.in | 2 +- > tests/pata_test.in | 2 +- > tests/uhci_test.in | 2 +- >

Re: [PATCH v4 2/2] cryptodisk: Allows UUIDs to be compared in a dash-insensitive manner

2022-08-02 Thread Glenn Washburn
On Tue, 2 Aug 2022 18:17:44 +0200 Daniel Kiper wrote: > On Fri, Jul 22, 2022 at 02:43:14AM -0500, Glenn Washburn wrote: > > A user can now specify UUID strings with dashes, instead of having to remove > > dashes. This is backwards-compatability preserving and also fixes a source > > of user

Re: [PATCH v3] efi: Add efitextmode command for getting/setting the text mode resolution

2022-08-02 Thread Daniel Kiper
On Tue, Aug 02, 2022 at 11:18:05AM -0500, Glenn Washburn wrote: > On Tue, 2 Aug 2022 17:39:13 +0200 > Daniel Kiper wrote: > > > On Fri, Jul 22, 2022 at 02:16:33AM -0500, Glenn Washburn wrote: > > > This command is meant to behave similarly to the 'mode' command of the EFI > > > Shell application.

Re: [PATCH v4 2/2] cryptodisk: Allows UUIDs to be compared in a dash-insensitive manner

2022-08-02 Thread Daniel Kiper
On Fri, Jul 22, 2022 at 02:43:14AM -0500, Glenn Washburn wrote: > A user can now specify UUID strings with dashes, instead of having to remove > dashes. This is backwards-compatability preserving and also fixes a source > of user confusion over the inconsistency with how UUIDs are specified >

Re: [PATCH v3] efi: Add efitextmode command for getting/setting the text mode resolution

2022-08-02 Thread Glenn Washburn
On Tue, 2 Aug 2022 17:39:13 +0200 Daniel Kiper wrote: > On Fri, Jul 22, 2022 at 02:16:33AM -0500, Glenn Washburn wrote: > > This command is meant to behave similarly to the 'mode' command of the EFI > > Shell application. In addition to allowing mode selection by giving the > > number of columns

Re: [PATCH v3] efi: Add efitextmode command for getting/setting the text mode resolution

2022-08-02 Thread Daniel Kiper
On Fri, Jul 22, 2022 at 02:16:33AM -0500, Glenn Washburn wrote: > This command is meant to behave similarly to the 'mode' command of the EFI > Shell application. In addition to allowing mode selection by giving the > number of columns and rows as arguments, the command allows specifying the > mode

Re: [PATCH v4 1/1] i386: Make pmtimer tsc calibration not take 51 seconds to fail

2022-08-02 Thread Daniel Kiper
On Thu, Jul 28, 2022 at 02:34:16PM -0400, Robbie Harwood wrote: > From: Peter Jones > > On my laptop running at 2.4GHz, if I run a VM where tsc calibration > using pmtimer will fail presuming a broken pmtimer, it takes ~51 seconds > to do so (as measured with the stopwatch on my phone), with a

答复: [PATCH] util/grub-mkfont: Fix resource leaks

2022-08-02 Thread zhangqiumiao via Grub-devel
OK, that's perfect. -邮件原件- 发件人: Daniel Kiper [mailto:dki...@net-space.pl] 发送时间: 2022年8月2日 18:44 收件人: zhangqiumiao 抄送: Fengtao (fengtao, Euler) ; Chenxiang(Euler) ; Zhaowei (EulerOS) ; grub-devel@gnu.org 主题: Re: [PATCH] util/grub-mkfont: Fix resource leaks Missing Signed-off-by:

Re: [PATCH] luks2: Continue trying all keyslots even if there are some failures

2022-08-02 Thread Daniel Kiper
On Fri, Jul 22, 2022 at 03:04:50AM -0500, Glenn Washburn wrote: > luks2_get_keyslot can fail for a variety of reasons that do not neccesarily > mean the next keyslot should not be tried (eg. a new kdf type). So always > try the next slot. This will make GRUB more resilient to non-spec json data >

Re: [PATCH] util/grub-mkfont: Fix resource leaks

2022-08-02 Thread Daniel Kiper
Missing Signed-off-by: Qiumiao Zhang If you are OK I can add it on your behalf this time. On Mon, Aug 01, 2022 at 04:31:02PM +0800, Qiumiao Zhang via Grub-devel wrote: > --- > util/grub-mkfont.c | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/util/grub-mkfont.c

[PATCH v6 10/10] tests: add support for LoongArch

2022-08-02 Thread Xiaotian Wu
Signed-off-by: Xiaotian Wu --- tests/ahci_test.in | 2 +- tests/ehci_test.in | 2 +- tests/ohci_test.in | 2 +- tests/pata_test.in | 2 +- tests/uhci_test.in | 2 +- tests/util/grub-shell.in | 14 ++ 6 files changed, 19 insertions(+), 5 deletions(-)

[PATCH v6 07/10] LoongArch: Add auxiliary files

2022-08-02 Thread Xiaotian Wu
Signed-off-by: Xiaotian Wu Signed-off-by: Zhou Yang --- grub-core/kern/efi/mm.c | 3 +- grub-core/kern/loongarch64/cache.c | 39 grub-core/kern/loongarch64/cache_flush.S | 33 ++ grub-core/kern/loongarch64/efi/init.c| 77

[PATCH v6 03/10] LoongArch: Add setjmp implementation

2022-08-02 Thread Xiaotian Wu
Signed-off-by: Xiaotian Wu Signed-off-by: Zhou Yang Signed-off-by: Sun Haiyong --- grub-core/lib/loongarch64/setjmp.S | 69 ++ grub-core/lib/setjmp.S | 2 + include/grub/loongarch64/setjmp.h | 27 3 files changed, 98 insertions(+) create

[PATCH v6 00/10] Add support for LoongArch

2022-08-02 Thread Xiaotian Wu
LoongArch is a new Loongson 3A5000 CPU instruction set, you can read documents[1] or visit the development community[2] to get more information. [1]: https://loongson.github.io/LoongArch-Documentation/README-EN.html [2]: https://github.com/loongson This patch series will add the basic support

[PATCH v6 05/10] LoongArch: Add stubs for Linux loading commands

2022-08-02 Thread Xiaotian Wu
Signed-off-by: Xiaotian Wu --- grub-core/loader/loongarch64/linux.c | 59 include/grub/loongarch64/linux.h | 31 +++ 2 files changed, 90 insertions(+) create mode 100644 grub-core/loader/loongarch64/linux.c create mode 100644

[PATCH v6 09/10] LoongArch: Support new relocation types

2022-08-02 Thread Xiaotian Wu
Signed-off-by: Xiaotian Wu --- conf/Makefile.common | 3 + configure.ac | 14 +++-- grub-core/kern/dl.c| 9 +-- grub-core/kern/loongarch64/dl.c| 71 - grub-core/kern/loongarch64/dl_helper.c | 68

[PATCH v6 08/10] LoongArch: Add to build system

2022-08-02 Thread Xiaotian Wu
Signed-off-by: Xiaotian Wu Signed-off-by: Zhou Yang --- Makefile.util.def | 1 + configure.ac| 22 - gentpl.py | 25 ++- grub-core/Makefile.am | 6 + grub-core/Makefile.core.def | 16

[PATCH v6 02/10] Add LoongArch definitions

2022-08-02 Thread Xiaotian Wu
Signed-off-by: Xiaotian Wu Signed-off-by: Zhou Yang --- include/grub/elf.h | 23 +++ 1 file changed, 23 insertions(+) diff --git a/include/grub/elf.h b/include/grub/elf.h index c478933ee..1c8d4f5d5 100644 --- a/include/grub/elf.h +++ b/include/grub/elf.h @@ -248,6 +248,7 @@

[PATCH v6 06/10] LoongArch: Add awareness for LoongArch relocations

2022-08-02 Thread Xiaotian Wu
Signed-off-by: Xiaotian Wu Signed-off-by: Zhou Yang --- grub-core/kern/dl.c| 9 +- grub-core/kern/loongarch64/dl.c| 102 + grub-core/kern/loongarch64/dl_helper.c | 202 + include/grub/dl.h | 1 +

[PATCH v6 01/10] PE: Add LoongArch definitions

2022-08-02 Thread Xiaotian Wu
Signed-off-by: Xiaotian Wu Signed-off-by: Zhou Yang --- include/grub/efi/pe32.h | 36 1 file changed, 20 insertions(+), 16 deletions(-) diff --git a/include/grub/efi/pe32.h b/include/grub/efi/pe32.h index 0ed8781f0..de56edef6 100644 ---

[PATCH v6 04/10] LoongArch: Add early startup code

2022-08-02 Thread Xiaotian Wu
Signed-off-by: Xiaotian Wu Signed-off-by: Zhou Yang --- grub-core/kern/loongarch64/efi/startup.S | 34 1 file changed, 34 insertions(+) create mode 100644 grub-core/kern/loongarch64/efi/startup.S diff --git a/grub-core/kern/loongarch64/efi/startup.S