All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ilias Apalodimas <ilias.apalodimas@linaro.org>
To: Simon Glass <sjg@chromium.org>
Cc: "U-Boot Mailing List" <u-boot@lists.denx.de>,
	"Michal Simek" <michal.simek@xilinx.com>,
	"Heinrich Schuchardt" <xypron.glpk@gmx.de>,
	"Tom Rini" <trini@konsulko.com>,
	"Daniel Schwierzeck" <daniel.schwierzeck@gmail.com>,
	"Steffen Jaeckel" <jaeckel-floss@eyet-services.de>,
	"Marek Behún" <marek.behun@nic.cz>,
	"Lukas Auer" <lukas.auer@aisec.fraunhofer.de>,
	"Dennis Gilmore" <dennis@ausil.us>
Subject: Re: [PATCH v2 31/41] bootstd: Add an implementation of EFI boot
Date: Wed, 27 Oct 2021 11:35:44 +0300	[thread overview]
Message-ID: <CAC_iWjLRQmSkqMBi=uGzups=dbZgFBMaia4KV2x7qpyVTUSmEg@mail.gmail.com> (raw)
In-Reply-To: <20211023232635.9195-22-sjg@chromium.org>

Hi Simon,

On Sun, 24 Oct 2021 at 02:27, Simon Glass <sjg@chromium.org> wrote:
>
> Add a bootmeth driver which handles EFI boot, using EFI_LOADER.
>
> In effect, this provides the same functionality as the 'bootefi' command
> and shares the same code. But the interface into it is via a bootmeth,
> so it does not require any special scripts, etc.
>
> For now this requires the 'bootefi' command be enabled. Future work may
> tidy this up so that it can be used without CONFIG_CMDLINE being enabled.

I'll leave this up to Heinrich, but personally I wouldn't include this
patch at all. EFI has it's bootmgr which can handle booting just fine.
I don't see why we should duplicate the functionality.  The new boot
method can just have an entry called 'EFI' and then let the existing
EFI code to decide.
Regards
/Ilias

>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
> (no changes since v1)
>
>  boot/Kconfig        |  21 ++++
>  boot/Makefile       |   1 +
>  boot/bootmeth_efi.c | 263 ++++++++++++++++++++++++++++++++++++++++++++
>  3 files changed, 285 insertions(+)
>  create mode 100644 boot/bootmeth_efi.c
>
> diff --git a/boot/Kconfig b/boot/Kconfig
> index 7e948f95e92..ebbd7427d7f 100644
> --- a/boot/Kconfig
> +++ b/boot/Kconfig
> @@ -318,6 +318,27 @@ config BOOTMETH_DISTRO_PXE
>
>           This provides a way to try out standard boot on an existing boot flow.
>
> +config BOOTMETH_EFILOADER
> +       bool "Bootdev support for EFI boot"
> +       depends on CMD_BOOTEFI
> +       default y
> +       help
> +         Enables support for EFI boot using bootdevs. This makes the
> +         bootdevs look for a 'boot<arch>.efi' on each filesystem
> +         they scan. The resulting file is booted after enabling U-Boot's
> +         EFI loader support.
> +
> +         The <arch> depends on the architecture of the board:
> +
> +            aa64      - aarch64 (ARM 64-bit)
> +            arm       - ARM 32-bit
> +            ia32      - x86 32-bit
> +            x64       - x86 64-bit
> +            riscv32   - RISC-V 32-bit
> +            riscv64   - RISC-V 64-bit
> +
> +         This provides a way to try out standard boot on an existing boot flow.
> +
>  endif
>
>  config LEGACY_IMAGE_FORMAT
> diff --git a/boot/Makefile b/boot/Makefile
> index 170fcac8ec4..c2345435201 100644
> --- a/boot/Makefile
> +++ b/boot/Makefile
> @@ -30,6 +30,7 @@ obj-$(CONFIG_$(SPL_TPL_)BOOTSTD) += bootstd-uclass.o
>
>  obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_DISTRO) += bootmeth_distro.o
>  obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_DISTRO_PXE) += bootmeth_pxe.o
> +obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_EFILOADER) += bootmeth_efi.o
>
>  obj-$(CONFIG_$(SPL_TPL_)OF_LIBFDT) += image-fdt.o
>  obj-$(CONFIG_$(SPL_TPL_)FIT_SIGNATURE) += fdt_region.o
> diff --git a/boot/bootmeth_efi.c b/boot/bootmeth_efi.c
> new file mode 100644
> index 00000000000..eeb8f377c50
> --- /dev/null
> +++ b/boot/bootmeth_efi.c
> @@ -0,0 +1,263 @@
> +// SPDX-License-Identifier: GPL-2.0+
> +/*
> + * Bootmethod for distro boot via EFI
> + *
> + * Copyright 2021 Google LLC
> + * Written by Simon Glass <sjg@chromium.org>
> + */
> +
> +#include <common.h>
> +#include <bootdev.h>
> +#include <bootflow.h>
> +#include <bootmeth.h>
> +#include <command.h>
> +#include <dm.h>
> +#include <efi_loader.h>
> +#include <fs.h>
> +#include <malloc.h>
> +#include <mapmem.h>
> +#include <mmc.h>
> +#include <pxe_utils.h>
> +
> +#define EFI_DIRNAME    "efi/boot/"
> +
> +/**
> + * get_efi_leafname() - Get the leaf name for the EFI file we expect
> + *
> + * @str: Place to put leaf name for this architecture, e.g. "bootaa64.efi".
> + *     Must have at least 16 bytes of space
> + * @max_len: Length of @str, must be >=16
> + */
> +static int get_efi_leafname(char *str, int max_len)
> +{
> +       const char *base;
> +
> +       if (max_len < 16)
> +               return log_msg_ret("spc", -ENOSPC);
> +       if (IS_ENABLED(CONFIG_ARM64))
> +               base = "bootaa64";
> +       else if (IS_ENABLED(CONFIG_ARM))
> +               base = "bootarm";
> +       else if (IS_ENABLED(CONFIG_X86_RUN_32BIT))
> +               base = "bootia32";
> +       else if (IS_ENABLED(CONFIG_X86_RUN_64BIT))
> +               base = "bootx64";
> +       else if (IS_ENABLED(CONFIG_ARCH_RV32I))
> +               base = "bootriscv32";
> +       else if (IS_ENABLED(CONFIG_ARCH_RV64I))
> +               base = "bootriscv64";
> +       else if (IS_ENABLED(CONFIG_SANDBOX))
> +               base = "bootsbox";
> +       else
> +               return -EINVAL;
> +
> +       strcpy(str, base);
> +       strcat(str, ".efi");
> +
> +       return 0;
> +}
> +
> +static int efiload_read_file(struct blk_desc *desc, struct bootflow *bflow)
> +{
> +       const struct udevice *media_dev;
> +       int size = bflow->size;
> +       char devnum_str[9];
> +       char dirname[200];
> +       loff_t bytes_read;
> +       char *last_slash;
> +       ulong addr;
> +       char *buf;
> +       int ret;
> +
> +       /* Sadly FS closes the file after fs_size() so we must redo this */
> +       ret = fs_set_blk_dev_with_part(desc, bflow->part);
> +       if (ret)
> +               return log_msg_ret("set", ret);
> +
> +       buf = malloc(size + 1);
> +       if (!buf)
> +               return log_msg_ret("buf", -ENOMEM);
> +       addr = map_to_sysmem(buf);
> +
> +       ret = fs_read(bflow->fname, addr, 0, 0, &bytes_read);
> +       if (ret) {
> +               free(buf);
> +               return log_msg_ret("read", ret);
> +       }
> +       if (size != bytes_read)
> +               return log_msg_ret("bread", -EINVAL);
> +       buf[size] = '\0';
> +       bflow->state = BOOTFLOWST_READY;
> +       bflow->buf = buf;
> +
> +       /*
> +        * This is a horrible hack to tell EFI about this boot device. Once we
> +        * unify EFI with the rest of U-Boot we can clean this up. The same hack
> +        * exists in multiple places, e.g. in the fs, tftp and load commands.
> +        *
> +        * Once we can clean up the EFI code to make proper use of driver model,
> +        * this can go away.
> +        */
> +       media_dev = dev_get_parent(bflow->dev);
> +       snprintf(devnum_str, sizeof(devnum_str), "%x", dev_seq(media_dev));
> +
> +       strlcpy(dirname, bflow->fname, sizeof(dirname));
> +       last_slash = strrchr(dirname, '/');
> +       if (last_slash)
> +               *last_slash = '\0';
> +
> +       efi_set_bootdev(dev_get_uclass_name(media_dev), devnum_str, dirname,
> +                       bflow->buf, size);
> +
> +       return 0;
> +}
> +
> +static int distro_efi_check(struct udevice *dev, struct bootflow_iter *iter)
> +{
> +       int ret;
> +
> +       /* This only works on block devices */
> +       ret = bootflow_iter_uses_blk_dev(iter);
> +       if (ret)
> +               return log_msg_ret("blk", ret);
> +
> +       return 0;
> +}
> +
> +static int distro_efi_read_bootflow(struct udevice *dev, struct bootflow *bflow)
> +{
> +       struct blk_desc *desc = dev_get_uclass_plat(bflow->blk);
> +       char fname[sizeof(EFI_DIRNAME) + 16];
> +       loff_t size;
> +       int ret;
> +
> +       /* We require a partition table */
> +       if (!bflow->part)
> +               return -ENOENT;
> +
> +       strcpy(fname, EFI_DIRNAME);
> +       ret = get_efi_leafname(fname + strlen(fname),
> +                              sizeof(fname) - strlen(fname));
> +       if (ret)
> +               return log_msg_ret("leaf", ret);
> +
> +       bflow->fname = strdup(fname);
> +       if (!bflow->fname)
> +               return log_msg_ret("name", -ENOMEM);
> +       ret = fs_size(bflow->fname, &size);
> +       bflow->size = size;
> +       if (ret)
> +               return log_msg_ret("size", ret);
> +       bflow->state = BOOTFLOWST_FILE;
> +       log_debug("   - distro file size %x\n", (uint)size);
> +       if (size > 0x2000000)
> +               return log_msg_ret("chk", -E2BIG);
> +
> +       ret = efiload_read_file(desc, bflow);
> +       if (ret)
> +               return log_msg_ret("read", -EINVAL);
> +
> +       return 0;
> +}
> +
> +static int distro_efi_read_file(struct udevice *dev, struct bootflow *bflow,
> +                               const char *file_path, ulong addr, ulong *sizep)
> +{
> +       struct blk_desc *desc = dev_get_uclass_plat(bflow->blk);
> +       const struct udevice *media_dev;
> +       int size = bflow->size;
> +       char devnum_str[9];
> +       char dirname[200];
> +       loff_t bytes_read;
> +       char *last_slash;
> +       char *buf;
> +       int ret;
> +
> +       /* Sadly FS closes the file after fs_size() so we must redo this */
> +       ret = fs_set_blk_dev_with_part(desc, bflow->part);
> +       if (ret)
> +               return log_msg_ret("set", ret);
> +
> +       buf = malloc(size + 1);
> +       if (!buf)
> +               return log_msg_ret("buf", -ENOMEM);
> +       addr = map_to_sysmem(buf);
> +
> +       ret = fs_read(bflow->fname, addr, 0, 0, &bytes_read);
> +       if (ret) {
> +               free(buf);
> +               return log_msg_ret("read", ret);
> +       }
> +       if (size != bytes_read)
> +               return log_msg_ret("bread", -EINVAL);
> +       buf[size] = '\0';
> +       bflow->state = BOOTFLOWST_READY;
> +       bflow->buf = buf;
> +
> +       /*
> +        * This is a horrible hack to tell EFI about this boot device. Once we
> +        * unify EFI with the rest of U-Boot we can clean this up. The same hack
> +        * exists in multiple places, e.g. in the fs, tftp and load commands.
> +        *
> +        * Once we can clean up the EFI code to make proper use of driver model,
> +        * this can go away.
> +        */
> +       media_dev = dev_get_parent(bflow->dev);
> +       snprintf(devnum_str, sizeof(devnum_str), "%x", dev_seq(media_dev));
> +
> +       strlcpy(dirname, bflow->fname, sizeof(dirname));
> +       last_slash = strrchr(dirname, '/');
> +       if (last_slash)
> +               *last_slash = '\0';
> +
> +       efi_set_bootdev(dev_get_uclass_name(media_dev), devnum_str, dirname,
> +                       bflow->buf, size);
> +
> +       return 0;
> +}
> +
> +int distro_efi_boot(struct udevice *dev, struct bootflow *bflow)
> +{
> +       char cmd[50];
> +
> +       /*
> +        * At some point we can add a real interface to bootefi so we can call
> +        * this directly. For now, go through the CLI like distro boot.
> +        */
> +       snprintf(cmd, sizeof(cmd), "bootefi %lx %lx",
> +                (ulong)map_to_sysmem(bflow->buf),
> +                (ulong)map_to_sysmem(gd->fdt_blob));
> +       if (run_command(cmd, 0))
> +               return log_msg_ret("run", -EINVAL);
> +
> +       return 0;
> +}
> +
> +static int distro_bootmeth_efi_bind(struct udevice *dev)
> +{
> +       struct bootmeth_uc_plat *plat = dev_get_uclass_plat(dev);
> +
> +       plat->desc = "EFI boot from a .efi file";
> +
> +       return 0;
> +}
> +
> +static struct bootmeth_ops distro_efi_bootmeth_ops = {
> +       .check          = distro_efi_check,
> +       .read_bootflow  = distro_efi_read_bootflow,
> +       .read_file      = distro_efi_read_file,
> +       .boot           = distro_efi_boot,
> +};
> +
> +static const struct udevice_id distro_efi_bootmeth_ids[] = {
> +       { .compatible = "u-boot,distro-efi" },
> +       { }
> +};
> +
> +U_BOOT_DRIVER(bootmeth_efi) = {
> +       .name           = "bootmeth_efi",
> +       .id             = UCLASS_BOOTMETH,
> +       .of_match       = distro_efi_bootmeth_ids,
> +       .ops            = &distro_efi_bootmeth_ops,
> +       .bind           = distro_bootmeth_efi_bind,
> +};
> --
> 2.33.0.1079.g6e70778dc9-goog
>

  reply	other threads:[~2021-10-27  8:36 UTC|newest]

Thread overview: 116+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAPnjgZ2TFOQGoQ1+Vt6LRMk+nULj9joS0C7fMMiXfg7JNien7g@mail.gmail.com>
2021-10-23 23:25 ` [PATCH v2 00/41] Initial implementation of standard boot Simon Glass
2021-10-23 23:25   ` [PATCH v2 01/41] lib: Add a way to find the postiion of a trailing number Simon Glass
2021-10-27 12:13     ` Heinrich Schuchardt
2021-10-23 23:25   ` [PATCH v2 02/41] Makefile: Allow LTO to be disabled for a build Simon Glass
2021-10-27  8:50     ` Ilias Apalodimas
2021-10-27 12:21       ` Heinrich Schuchardt
2021-10-27 13:13         ` Tom Rini
2021-10-31 23:46           ` Simon Glass
2021-11-01 21:58             ` Tom Rini
2021-11-04  2:49               ` Simon Glass
2021-11-04 14:55                 ` Tom Rini
2021-11-04 15:12                   ` Simon Glass
2021-11-04 16:44                     ` Tom Rini
2021-10-31 23:45         ` Simon Glass
2021-10-23 23:25   ` [PATCH v2 03/41] test/py: Allow passing input to a program Simon Glass
2021-10-23 23:25   ` [PATCH v2 04/41] sandbox: Support unmapping a file Simon Glass
2021-10-23 23:25   ` [PATCH v2 05/41] sandbox: mmc: Support a backing file Simon Glass
2021-10-23 23:26   ` [PATCH v2 06/41] mmc: Allow for children other than the block device Simon Glass
2021-10-23 23:26   ` [PATCH v2 07/41] mbr: Correct verification check Simon Glass
2021-10-27  7:41     ` Ilias Apalodimas
2021-11-24 22:22     ` Simon Glass
2021-10-23 23:26   ` [PATCH v2 08/41] disk: part_dos: Fix a NULL pointer error Simon Glass
2021-10-23 23:26   ` [PATCH v2 09/41] common: Allow a smaller console-recording pre-reloc Simon Glass
2021-10-23 23:26   ` [PATCH v2 10/41] dm: core: Add tests for stringlist functions Simon Glass
2021-10-23 23:26   ` [PATCH v2 11/41] dm: core: Fix handling of uclass pre_unbind method Simon Glass
2021-10-23 23:26   ` [PATCH v2 12/41] dm: core: Fix up string-function documentation Simon Glass
2021-10-23 23:26   ` [PATCH v2 13/41] dm: core: Add a way to obtain a string list Simon Glass
2021-10-26 19:20     ` Ilias Apalodimas
2021-11-24 22:22       ` Simon Glass
2021-11-24 22:23       ` Simon Glass
2021-10-23 23:26   ` [PATCH v2 14/41] dm: core: Allow finding children / uclasses by partial name Simon Glass
2021-10-23 23:26   ` [PATCH v2 15/41] dm: core: Add a way to count the devices in a uclass Simon Glass
2021-10-23 23:26   ` [PATCH v2 16/41] sandbox: Enable HEXDUMP for sandbox_flattree Simon Glass
2021-10-23 23:26   ` [PATCH v2 17/41] test/py: Relax the naming rules for unit tests Simon Glass
2021-10-23 23:26   ` [PATCH v2 18/41] test/py: Raise a ValueError if a command fails Simon Glass
2021-10-23 23:26   ` [PATCH v2 19/41] bootstd: Add the concept of a bootflow Simon Glass
2021-10-23 23:26   ` [PATCH v2 20/41] bootstd: Add the bootstd uclass and core implementation Simon Glass
2021-10-23 23:26   ` [PATCH v2 21/41] bootstd: Add the bootdev uclass Simon Glass
2021-10-23 23:26   ` [PATCH v2 22/41] bootstd: Add the bootmeth uclass and helpers Simon Glass
2021-10-23 23:26   ` [PATCH v2 23/41] bootstd: Add support for bootflows Simon Glass
2021-10-27  7:37     ` Ilias Apalodimas
2022-03-12  2:24       ` Simon Glass
2021-10-23 23:26   ` [PATCH v2 24/41] bootstd: Add a bootdev command Simon Glass
2021-10-23 23:26   ` [PATCH v2 25/41] bootstd: Add a bootflow ommand Simon Glass
2021-10-23 23:26   ` [PATCH v2 26/41] bootstd: Add a bootmeth command Simon Glass
2021-10-23 23:26   ` [PATCH v2 27/41] bootstd: Add an implementation of distro boot Simon Glass
2021-10-23 23:26   ` [PATCH v2 28/41] bootstd: mmc: Add a bootdev driver Simon Glass
2021-10-23 23:26   ` [PATCH v2 29/41] bootstd: ethernet: " Simon Glass
2021-10-23 23:26   ` [PATCH v2 30/41] bootstd: Add an implementation of distro PXE boot Simon Glass
2021-10-23 23:26   ` [PATCH v2 31/41] bootstd: Add an implementation of EFI boot Simon Glass
2021-10-27  8:35     ` Ilias Apalodimas [this message]
2021-10-27 14:09       ` Simon Glass
2021-10-27 14:47         ` Ilias Apalodimas
2021-10-27 18:34           ` Simon Glass
2021-10-29  5:45             ` Ilias Apalodimas
2021-10-29 12:39               ` Tom Rini
2021-10-29 13:42                 ` Ilias Apalodimas
2021-10-29 14:03                   ` AKASHI Takahiro
2021-10-29 14:39                     ` Ilias Apalodimas
2021-10-29 16:37                   ` Mark Kettenis
2021-10-29 17:08                     ` Ilias Apalodimas
2021-10-27 11:57     ` Heinrich Schuchardt
2021-10-27 14:08       ` Simon Glass
2021-10-23 23:26   ` [PATCH v2 32/41] bootstd: Add a system bootdev for strange boot methods Simon Glass
2021-10-23 23:26   ` [PATCH v2 33/41] bootstd: Add an implementation of EFI bootmgr Simon Glass
2021-10-23 23:26   ` [PATCH v2 34/41] bootstd: Add a sandbox bootmeth driver Simon Glass
2021-10-23 23:26   ` [PATCH v2 35/41] bootstd: usb: Add a bootdev driver Simon Glass
2021-10-23 23:26   ` [PATCH v2 36/41] test: fastboot: Avoid using mmc1 Simon Glass
2021-10-23 23:26   ` [PATCH v2 37/41] test: dm: Restart USB before assuming it is stopped Simon Glass
2021-10-23 23:26   ` [PATCH v2 38/41] bootstd: Add tests for bootstd including all uclasses Simon Glass
2021-10-23 23:26   ` [PATCH v2 39/41] bootstd: Add setup for the bootflow tests Simon Glass
2021-10-23 23:26   ` [PATCH v2 40/41] bootstd: doc: Add documentation Simon Glass
2021-10-23 23:26   ` [PATCH v2 41/41] RFC: Switch rpi over to use bootstd Simon Glass
2021-10-28 15:13     ` Tom Rini
2021-10-28 16:43     ` Tom Rini
2021-10-28 17:16       ` Simon Glass
2021-10-28 17:29         ` Tom Rini
2021-10-23 23:27   ` [PATCH v2 00/41] Initial implementation of standard boot Simon Glass
2021-10-27 11:38   ` Heinrich Schuchardt
2021-10-27 14:11     ` Simon Glass
2021-10-28 17:37       ` Peter Robinson
2021-10-28 17:47         ` Tom Rini
2021-10-28 17:50           ` Peter Robinson
2021-10-28 17:59             ` Tom Rini
2021-10-28 18:09               ` Heinrich Schuchardt
2021-10-28 18:13                 ` Tom Rini
2021-10-28 18:17               ` François Ozog
2021-10-28 18:27                 ` Tom Rini
2021-10-28 18:28                   ` François Ozog
2021-10-28 21:40           ` Mark Kettenis
2021-10-27 15:20     ` François Ozog
2021-10-27 18:33     ` Simon Glass
2021-10-28 16:27   ` Tom Rini
2021-10-28 17:29     ` Simon Glass
2021-10-28 17:52       ` Tom Rini
2021-10-28 18:13         ` Simon Glass
2021-10-28 18:36           ` Tom Rini
2021-10-28 18:48             ` Simon Glass
2021-10-28 19:19               ` Tom Rini
2021-10-28 22:22                 ` Simon Glass
2021-10-28 22:50                   ` Tom Rini
2021-10-29  1:13                     ` Simon Glass
2021-11-24 22:22   ` [PATCH v2 17/41] test/py: Relax the naming rules for unit tests Simon Glass
2021-11-24 22:22   ` [PATCH v2 18/41] test/py: Raise a ValueError if a command fails Simon Glass
2021-11-24 22:22   ` [PATCH v2 16/41] sandbox: Enable HEXDUMP for sandbox_flattree Simon Glass
2021-11-24 22:22   ` [PATCH v2 15/41] dm: core: Add a way to count the devices in a uclass Simon Glass
2021-11-24 22:22   ` [PATCH v2 14/41] dm: core: Allow finding children / uclasses by partial name Simon Glass
2021-11-24 22:22   ` [PATCH v2 11/41] dm: core: Fix handling of uclass pre_unbind method Simon Glass
2021-11-24 22:22   ` [PATCH v2 12/41] dm: core: Fix up string-function documentation Simon Glass
2021-11-24 22:22   ` [PATCH v2 08/41] disk: part_dos: Fix a NULL pointer error Simon Glass
2021-11-24 22:22   ` [PATCH v2 09/41] common: Allow a smaller console-recording pre-reloc Simon Glass
2021-11-24 22:22   ` [PATCH v2 10/41] dm: core: Add tests for stringlist functions Simon Glass
2021-11-24 22:22   ` [PATCH v2 06/41] mmc: Allow for children other than the block device Simon Glass
2021-11-24 22:22   ` [PATCH v2 05/41] sandbox: mmc: Support a backing file Simon Glass
2021-11-24 22:22   ` [PATCH v2 04/41] sandbox: Support unmapping a file Simon Glass
2021-11-24 22:22   ` [PATCH v2 03/41] test/py: Allow passing input to a program Simon Glass

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAC_iWjLRQmSkqMBi=uGzups=dbZgFBMaia4KV2x7qpyVTUSmEg@mail.gmail.com' \
    --to=ilias.apalodimas@linaro.org \
    --cc=daniel.schwierzeck@gmail.com \
    --cc=dennis@ausil.us \
    --cc=jaeckel-floss@eyet-services.de \
    --cc=lukas.auer@aisec.fraunhofer.de \
    --cc=marek.behun@nic.cz \
    --cc=michal.simek@xilinx.com \
    --cc=sjg@chromium.org \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=xypron.glpk@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.