Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1mgC56-0006Ws-MX for mharc-grub-devel@gnu.org; Thu, 28 Oct 2021 16:33:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55860) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgC4j-0006Tv-CN for grub-devel@gnu.org; Thu, 28 Oct 2021 16:32:40 -0400 Received: from mail-lf1-f49.google.com ([209.85.167.49]:44936) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mgC4h-0004VB-Ie for grub-devel@gnu.org; Thu, 28 Oct 2021 16:32:37 -0400 Received: by mail-lf1-f49.google.com with SMTP id y26so16083802lfa.11 for ; Thu, 28 Oct 2021 13:32:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=p/Xba/3Ff1qKIJaPo669bzP3k6Mvq5bpa90ekxop2gk=; b=3GMVqJOEP9gQeqNwpE+gWwP6+BBklYo+ucasmTijesDRspNlDfYKX2TAw/Dw9FYBbz LpL1nbRJTEvE8K7EfFF5zLSvuGg+N3+qFqFe/xPer9AeO3mqhEQTzmVB/oIx/1fO+wKX 2t6Dem35SSr8CEBLZFcyX4PwW4prf/8C4obdYnhHuwvtlK4WPgV7WoelJHWNVIId5FV/ J6Qx6Hq/CFURHAaF56D/0x0KFgt5bPYqMmoMq9w6saEv8EVKVPQXExpdZYoPatU5sMtn hzOwdu32Ya8RwSDbIqUyWTXMr+1vyRtiwKsO6/JJZICQDmzLOBQADuNRkf4S9yNvWwQz wPQw== X-Gm-Message-State: AOAM532pm7Zm7eqKLExmhGfsNg99bAq19zR50isFvbPsxZq6m0126UVh MWNS6kb9/lWFxYCvYZQ1YouoVEcgfrXXUzyb X-Google-Smtp-Source: ABdhPJyqSs4PhWmaXe0GD3bFthB3O/5+JsNlv96kBn78TScGZbiTY5FCjvzY+RokTh5IezAnBwXnmA== X-Received: by 2002:ac2:5dfa:: with SMTP id z26mr6343160lfq.33.1635453153049; Thu, 28 Oct 2021 13:32:33 -0700 (PDT) Received: from amanita.localdomain ([2a00:1370:811f:5cd1:1618:c3ff:fe69:39f3]) by smtp.gmail.com with ESMTPSA id v22sm291719lfr.175.2021.10.28.13.32.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Oct 2021 13:32:32 -0700 (PDT) From: Nikita Ermakov To: GRUB development mailing list Cc: Ard Biesheuvel , Atish Patra , Daniel Kiper , Heinrich Schuchardt , Leif Lindholm , Fu Wei , Nikita Ermakov Subject: [PATCH v3 0/7] Add LoadFile2 and riscv Linux loader Date: Thu, 28 Oct 2021 23:31:12 +0300 Message-Id: <20211028203118.7908-1-arei@altlinux.org> X-Mailer: git-send-email 2.33.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=209.85.167.49; envelope-from=coffe92@gmail.com; helo=mail-lf1-f49.google.com X-Spam_score_int: -11 X-Spam_score: -1.2 X-Spam_bar: - X-Spam_report: (-1.2 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Oct 2021 20:32:44 -0000 Hello, This is the third version of the patch series. In v3 the series was rebased on top of the master branch. This series contains patches to add support for LoadFile2 protocol to load initrd on EFI systems. Also it contains patches to load Linux kernel with EFI stub on riscv platforms and unites arm and riscv codes together into common loader code for EFI systems. Ard Biesheuvel (3): efi: add definition of LoadFile2 protocol efi: implemented LoadFile2 initrd loading protocol for Linux linux: ignore FDT unless we need to modify it Atish Patra (3): loader: Move arm64 linux loader to common code RISC-V: Update image header RISC-V: Use common linux loader Nikita Ermakov (1): loader: drop argv[] argument in grub_initrd_load() grub-core/Makefile.core.def | 8 +- grub-core/commands/efi/lsefi.c | 1 + grub-core/loader/arm/linux.c | 2 +- grub-core/loader/efi/fdt.c | 7 +- grub-core/loader/{arm64 => efi}/linux.c | 143 +++++++++++++++++++--- grub-core/loader/i386/linux.c | 2 +- grub-core/loader/i386/pc/linux.c | 2 +- grub-core/loader/i386/xen.c | 3 +- grub-core/loader/ia64/efi/linux.c | 2 +- grub-core/loader/linux.c | 4 +- grub-core/loader/mips/linux.c | 2 +- grub-core/loader/powerpc/ieee1275/linux.c | 2 +- grub-core/loader/riscv/linux.c | 59 --------- grub-core/loader/sparc64/ieee1275/linux.c | 2 +- include/grub/arm/linux.h | 2 +- include/grub/arm64/linux.h | 2 +- include/grub/efi/api.h | 15 +++ include/grub/linux.h | 2 +- include/grub/riscv32/linux.h | 16 +-- include/grub/riscv64/linux.h | 16 +-- 20 files changed, 185 insertions(+), 107 deletions(-) rename grub-core/loader/{arm64 => efi}/linux.c (72%) delete mode 100644 grub-core/loader/riscv/linux.c -- 2.33.1