[PATCH v2 1/8] PE: Add LoongArch definitions

2022-02-23 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 --- a/include/grub/efi/pe

[PATCH v2 5/8] LoongArch: Add stubs for Linux loading commands

2022-02-23 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 include/grub/loongarch64

[PATCH v2 3/8] LoongArch: Add setjmp implementation

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

[PATCH v2 0/8] Add support for LoongArch

2022-02-23 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 for

[PATCH v2 8/8] LoongArch: Add to build system

2022-02-23 Thread Xiaotian Wu
Signed-off-by: Xiaotian Wu Signed-off-by: Zhou Yang --- Makefile.util.def | 1 + conf/Makefile.common| 3 +++ configure.ac| 7 ++ gentpl.py | 25 ++- grub-core/Makefile.am | 6 + grub-core/Makefile.core.def | 1

[PATCH v2 4/8] LoongArch: Add early startup code

2022-02-23 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 b/grub-core/kern/l

[PATCH v2 6/8] LoongArch: Add awareness for LoongArch relocations

2022-02-23 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 | 198 + include/grub/dl.h | 1 + util/grub-m

[PATCH v2 2/8] Add LoongArch definitions

2022-02-23 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 @@

Re: [PATCH v2 0/8] Add support for LoongArch

2022-02-23 Thread John Paul Adrian Glaubitz
Hello! On 2/23/22 14:46, Xiaotian Wu wrote: > LoongArch is a new Loongson 3A5000 CPU instruction set, you can read > documents[1] or visit the development community[2] to get more information. Is there any chance the support for mips64el EFI [1] could be upstreamed as well? There is a repositor

[PATCH v2 7/8] LoongArch: Add auxiliary files

2022-02-23 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 grub-core/

Re: [PATCH v2 8/8] LoongArch: Add to build system

2022-02-23 Thread WANG Xuerui
Hi, On 2/23/22 21:46, Xiaotian Wu wrote: Signed-off-by: Xiaotian Wu Signed-off-by: Zhou Yang --- Makefile.util.def | 1 + conf/Makefile.common| 3 +++ configure.ac| 7 ++ gentpl.py | 25 ++- grub-core/Makefile.am

Re: [PATCH v2 1/8] PE: Add LoongArch definitions

2022-02-23 Thread WANG Xuerui
On 2/23/22 21:46, Xiaotian Wu wrote: 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..

Re: [PATCH v2 6/8] LoongArch: Add awareness for LoongArch relocations

2022-02-23 Thread WANG Xuerui
Hi, On 2/23/22 21:46, Xiaotian Wu wrote: 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 | 198 + include/gru

Re: [PATCH v2 3/8] LoongArch: Add setjmp implementation

2022-02-23 Thread WANG Xuerui
On 2/23/22 21:46, Xiaotian Wu wrote: Signed-off-by: Xiaotian Wu Signed-off-by: Zhou Yang Signed-off-by: Sun Haiyong --- grub-core/lib/loongarch64/setjmp.S | 68 ++ grub-core/lib/setjmp.S | 2 + include/grub/loongarch64/setjmp.h | 27

Re: [PATCH v2 4/8] LoongArch: Add early startup code

2022-02-23 Thread WANG Xuerui
On 2/23/22 21:46, Xiaotian Wu wrote: 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/loo

Re: [PATCH v2 2/8] Add LoongArch definitions

2022-02-23 Thread WANG Xuerui
On 2/23/22 21:46, Xiaotian Wu wrote: 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 +++

[PATCHv2] hurd: Support device entries with @/dev/disk: qualifier

2022-02-23 Thread Samuel Thibault
Those are used with non-bootstrap disk drivers, for which libstore has to open /dev/disk before calling device_open on it instead of on the device master port. Normally in that case all /dev/ entries also have the @/dev/disk: qualifier, so we can just drop it. Signed-off-by: Samuel Thibault ---

Re: Re: [PATCH v2 0/8] Add support for LoongArch

2022-02-23 Thread 武校田
> Is there any chance the support for mips64el EFI [1] could be upstreamed as well? This series of patches is only to support LoongArch. Maybe you can contact the original author to ask: https://lists.nongnu.org/archive/html/grub-devel/2015-06/msg00038.html 本邮件及其附件含有龙芯中科的商业秘密信息,仅限于发送给上面地址中列出的个