All of lore.kernel.org
 help / color / mirror / Atom feed
From: Heinrich Schuchardt <xypron.glpk@gmx.de>
To: Simon Glass <sjg@chromium.org>
Cc: "Pali Rohár" <pali@kernel.org>,
	"Ilias Apalodimas" <ilias.apalodimas@linaro.org>,
	"Tom Rini" <trini@konsulko.com>,
	"Alexander Graf" <agraf@csgraf.de>,
	"U-Boot Mailing List" <u-boot@lists.denx.de>
Subject: Re: [PATCH 7/7] efi: Make EBBR optional
Date: Mon, 28 Jun 2021 11:48:00 +0200	[thread overview]
Message-ID: <82577bf9-dce6-3189-6b44-4a405ede3931@gmx.de> (raw)
In-Reply-To: <20210627194836.7.I31bd618c21e4c66660015d63001667af64c95bcf@changeid>

On 6/28/21 3:48 AM, Simon Glass wrote:
> Add a new Kconfig option for EBBR so that the naming is more explicit.
> Make EFI_LOADER depend on it.
>
> Avoid enabling the options (EBBR / EFI_LOADER) by default, to save space.

NAK

Operating systems like Fedora, OpenBSD, FreeBSD require UEFI support.

See discussion in
https://lists.denx.de/pipermail/u-boot/2021-June/452947.html

>
> Also add dependencies on driver model and OF_CONTROL, since boards which
> have not migrated to these should not be using new features like EBBR.

Only supporting devices using the driver model in the UEFI sub-system is
fine with me. CONFIG_BLK=y is another possible requirement.

We still have 101 defconfigs not using CONFIG_DM=y. Shouldn't they be
eliminated?

We have a low number of boards using CONFIG_DM=y and
CONFIG_OF_CONTROL=n. Shouldn't they be moved to CONFIG_OF_CONTROL=y and
that symbol be eliminated?

armadillo-800eva_defconfig
cm_t335_defconfig
colibri_pxa270_defconfig
devkit3250_defconfig
devkit8000_defconfig
ids8313_defconfig
integratorap_cm720t_defconfig
integratorap_cm920t_defconfig
integratorap_cm926ejs_defconfig
integratorap_cm946es_defconfig
integratorcp_cm1136_defconfig
integratorcp_cm920t_defconfig
integratorcp_cm926ejs_defconfig
integratorcp_cm946es_defconfig
kmcoge4_defconfig
kzm9g_defconfig
mx6memcal_defconfig
nokia_rx51_defconfig
snapper9260_defconfig
snapper9g20_defconfig
sniper_defconfig
vexpress_aemv8a_semi_defconfig
work_92105_defconfig
xtfpga_defconfig

We have 274 defconfigs with CONFIG_PARTITIONS=y and CONFIG_BLK=n.
Shouldn't they be converted or eliminated?

> The unwillingness to use driver model has resulted in the duplication of
> driver model code in EFI, which is part of the reason for this bloat.

Could you, please, point out where you see possibilities for code reduction.

We started with a situation where many boards were not using the driver
model. It is only this year that Tom started to eliminate boards that
don't adher to the driver model in some areas.

The semantics used in UEFI and in the rest of U-Boot differ in many
aspects. Here are some examples:

* partitions are handled in UEFI like sub-devices but the driver model
does not cover partitions yet
* to expose partitions UEFI requires fully probed block devices but
U-Boot tries to probe upon first usage
* UEFI uses file handles but U-Boot does not know this concept


Best regards

Heinrich


  reply	other threads:[~2021-06-28  9:48 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-28  1:48 [PATCH 0/7] efi: Various tidy-ups and drop the default Simon Glass
2021-06-28  1:48 ` [PATCH 1/7] configs: Resync with savedefconfig Simon Glass
2021-06-28  1:48 ` [PATCH 2/7] Makefile: Drop include/asm directory as well as symlink Simon Glass
2021-06-28  1:48 ` [PATCH 3/7] disk: Tidy up #ifdefs in part_efi Simon Glass
2021-06-28 11:20   ` Heinrich Schuchardt
2021-06-28 13:50     ` Tom Rini
2021-06-28 16:18       ` Heinrich Schuchardt
2021-06-28  1:48 ` [PATCH 4/7] Use LIB_UUID with ACPIGEN and FS_BTRFS Simon Glass
2021-06-28  1:48 ` [PATCH 5/7] Allow efi_loader header to be included always Simon Glass
2021-06-28 11:02   ` Heinrich Schuchardt
2021-06-28  1:48 ` [PATCH 6/7] lib: Create a new Kconfig option for charset conversion Simon Glass
2021-06-28 10:37   ` Heinrich Schuchardt
2021-06-28  1:48 ` [PATCH 7/7] efi: Make EBBR optional Simon Glass
2021-06-28  9:48   ` Heinrich Schuchardt [this message]
2021-06-28 13:48     ` Tom Rini
2021-06-28  8:38 ` [PATCH 0/7] efi: Various tidy-ups and drop the default Mark Kettenis
2021-06-28  8:59   ` Ilias Apalodimas
2021-06-28 13:37   ` Tom Rini
2021-06-28 14:18     ` Simon Glass
2021-06-28 15:20       ` Heinrich Schuchardt
2021-06-28 16:26         ` Simon Glass
2021-06-28 17:09           ` Heinrich Schuchardt
2021-06-28 18:02             ` Simon Glass
2021-06-28 17:27           ` Tom Rini
2021-06-28 18:08             ` Simon Glass
2021-06-29 12:56               ` AKASHI Takahiro
2021-06-29 14:01                 ` Heinrich Schuchardt
2021-06-29 14:14                   ` AKASHI Takahiro
2021-06-28 17:49       ` Mark Kettenis
2021-07-02 19:05         ` Simon Glass
2021-07-02 19:48           ` Mark Kettenis
2021-07-02 20:09             ` Tom Rini
2021-07-02 20:47             ` Simon Glass
2021-06-28 14:25     ` Heinrich Schuchardt

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=82577bf9-dce6-3189-6b44-4a405ede3931@gmx.de \
    --to=xypron.glpk@gmx.de \
    --cc=agraf@csgraf.de \
    --cc=ilias.apalodimas@linaro.org \
    --cc=pali@kernel.org \
    --cc=sjg@chromium.org \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.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.