From: Tom Rini <trini@konsulko.com>
To: Quentin Schulz <quentin.schulz@cherry.de>
Cc: u-boot@lists.denx.de
Subject: Re: [PATCH 6/6] block: Remove "select BLK" from non-block drivers
Date: Tue, 14 Jan 2025 10:59:14 -0600 [thread overview]
Message-ID: <20250114165914.GN3476@bill-the-cat> (raw)
In-Reply-To: <2b3e1050-7cbe-4dde-a298-5efb63cb4ebd@cherry.de>
[-- Attachment #1: Type: text/plain, Size: 1660 bytes --]
On Tue, Jan 14, 2025 at 02:53:48PM +0100, Quentin Schulz wrote:
> Hi Tom,
>
> On 12/20/24 11:22 PM, Tom Rini wrote:
> > Now that block drivers are all selecting the BLK symbol, there's no need
> > for other options to be select'ing BLK so that other required
> > functionality can be enabled. Remove these places.
> >
>
> We have multiple commands depending on the BLK symbol.
Yes.
> BOOTSTD also depends on it, but I assume we should be able to network boot
> without HW block drivers?
Correct. That's part of the motivation for this series (which I wasn't
clear enough about on its own). Without something like this series if we
remove the BLK dependency from BOOTSTD then some other platforms fail to
build or grow a bunch in size (as BOOTSTD is default y and now it's
enabled on those platforms).
> CMD_UFETCH wouldn't be usable without those drivers as well.
>
> Should we do something about that by making them not depend on BLK e.g. use
> CONFIG_IS_ENABLED in the right places? Not sure if all devicess based on
> those archs have at least one HW block driver enabled. I guess checking if
> all .config before and after that change are identical would help us figure
> out if this could introduce a regression?
There's a few options, depending on what the command is. For CMD_UFETCH
it's likely that a small restructure would be needed to not try and
print block devices while preserving the rest of the formatting. For
CMD_LSBLK / CMD_CLONE it's an unfortunate short-hand for "some block
device exists" which is functionally what those commands require.
Thanks for reviewing the whole series.
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
next prev parent reply other threads:[~2025-01-14 16:59 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-20 22:22 [PATCH 0/6] Rework the BLK symbol usage in Kconfig Tom Rini
2024-12-20 22:22 ` [PATCH 1/6] drivers/mmc/Kconfig: Remove extraneous BLK dependencies Tom Rini
2024-12-22 23:49 ` Jaehoon Chung
2025-01-14 13:25 ` Quentin Schulz
2025-01-14 16:58 ` Tom Rini
2024-12-20 22:22 ` [PATCH 2/6] drivers/mmc/Kconfig: Make DM_MMC a hidden symbol Tom Rini
2024-12-23 18:26 ` Peter Robinson
2025-01-14 13:43 ` Quentin Schulz
2025-01-14 16:58 ` Tom Rini
2024-12-20 22:22 ` [PATCH 3/6] efi_loader: Depend on BLK Tom Rini
2024-12-20 22:50 ` Heinrich Schuchardt
2024-12-20 22:22 ` [PATCH 4/6] blk: Make block subsystems select BLK Tom Rini
2024-12-23 18:31 ` Peter Robinson
2024-12-23 18:53 ` Tom Rini
2025-01-14 13:45 ` Quentin Schulz
2025-01-14 16:58 ` Tom Rini
2025-01-15 17:38 ` Quentin Schulz
2024-12-20 22:22 ` [PATCH 5/6] mtd: Correct dependency of BLK Tom Rini
2024-12-23 18:27 ` Peter Robinson
2025-01-14 13:46 ` Quentin Schulz
2024-12-20 22:22 ` [PATCH 6/6] block: Remove "select BLK" from non-block drivers Tom Rini
2024-12-23 18:26 ` Peter Robinson
2025-01-14 13:53 ` Quentin Schulz
2025-01-14 16:59 ` Tom Rini [this message]
2025-01-15 17:49 ` Quentin Schulz
2025-01-15 20:20 ` Tom Rini
2025-01-16 9:21 ` Quentin Schulz
2025-01-16 14:33 ` Tom Rini
2025-01-15 1:22 ` [PATCHv2 0/6] Rework the BLK symbol usage in Kconfig Tom Rini
2025-01-15 1:22 ` [PATCHv2 1/6] drivers/mmc/Kconfig: Remove extraneous BLK dependencies Tom Rini
2025-01-15 1:22 ` [PATCHv2 2/6] drivers/mmc/Kconfig: Make DM_MMC a hidden symbol Tom Rini
2025-01-15 1:22 ` [PATCHv2 3/6] efi_loader: Depend on BLK Tom Rini
2025-01-15 1:22 ` [PATCHv2 4/6] blk: Make block subsystems select BLK Tom Rini
2025-01-15 17:51 ` Quentin Schulz
2025-01-15 18:28 ` Tom Rini
2025-01-15 1:22 ` [PATCHv2 5/6] mtd: Correct dependency of BLK Tom Rini
2025-01-15 1:22 ` [PATCHv2 6/6] block: Remove "select BLK" from non-block drivers Tom Rini
2025-01-21 4:49 ` [PATCHv2 0/6] Rework the BLK symbol usage in Kconfig Tom Rini
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=20250114165914.GN3476@bill-the-cat \
--to=trini@konsulko.com \
--cc=quentin.schulz@cherry.de \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox