All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [PATCH 1/1] efi_loader: QEMU CONFIG_EFI_GRUB_ARM32_WORKAROUND=n
Date: Fri, 18 Sep 2020 13:31:14 -0400	[thread overview]
Message-ID: <20200918173114.GW14816@bill-the-cat> (raw)
In-Reply-To: <08dc9bc0-1bbf-46d3-abec-a11bbc1333fa@gmx.de>

On Fri, Sep 18, 2020 at 07:14:02PM +0200, Heinrich Schuchardt wrote:
> On 9/18/20 1:28 PM, Tom Rini wrote:
> > On Fri, Sep 18, 2020 at 06:07:42AM +0200, Heinrich Schuchardt wrote:
> >> Am 17. September 2020 20:53:20 MESZ schrieb Tom Rini <trini@konsulko.com>:
> >>> On Thu, Sep 17, 2020 at 08:03:24PM +0200, Heinrich Schuchardt wrote:
> >>>> On 9/17/20 7:47 PM, Tom Rini wrote:
> >>>>> On Thu, Sep 17, 2020 at 07:18:08PM +0200, Heinrich Schuchardt
> >>> wrote:
> >>>>>
> >>>>>> CONFIG_EFI_GRUB_ARM32 is only needed for architectures with caches
> >>> that are
> >>>>>> not managed via CP15 (or for some outdated buggy versions of
> >>> GRUB). It
> >>>>>> makes more sense to disable the setting per architecture than per
> >>> defconfig.
> >>>>>>
> >>>>>> Move QEMU's CONFIG_EFI_GRUB_ARM32_WORKAROUND=n from defconfig to
> >>> Kconfig.
> >>>>>>
> >>>>>> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
> >>>>>> ---
> >>>>>>  configs/qemu_arm_defconfig | 1 -
> >>>>>>  lib/efi_loader/Kconfig     | 1 +
> >>>>>>  2 files changed, 1 insertion(+), 1 deletion(-)
> >>>>>
> >>>>> Why?  Are we about to move this to be a short list of "default y if
> >>> ..."
> >>>>> instead?  Otherwise no, this is the level of detail that should be
> >>> in a
> >>>>> defconfig I think and not Kconfig.
> >>>>>
> >>>>
> >>>> Hello Tom,
> >>>>
> >>>> yes, in the long run I want to turn this into "default y if". But I
> >>>> first need to a list of all ARCH_* which have a cache which is not
> >>>> controlled via CP15.
> >>>
> >>> Isn't the bigger problem / list "needs to support old / buggy GRUB" ?
> >>
> >> There are no operating systems distributing 2021 U-Boot with 2018 GRUB.
> >
> > Then we should remove default y there after v2020.10 I think, and get
> > the distro folks to ack/review that.  I don't think there's any cases of
> > "SoC doesn't use CP15 for cache" and "SoC uses GRUB".
> 
> How about l2_cache_disable() in arch/arm/mach-kirkwood/cache.c?

What's the board that uses that and where "SoC uses GRUB" comes in to
play.  What are the board(s) there we're talking about?

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200918/04241995/attachment.sig>

  reply	other threads:[~2020-09-18 17:31 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-17 17:18 [PATCH 1/1] efi_loader: QEMU CONFIG_EFI_GRUB_ARM32_WORKAROUND=n Heinrich Schuchardt
2020-09-17 17:47 ` Tom Rini
2020-09-17 18:03   ` Heinrich Schuchardt
2020-09-17 18:53     ` Tom Rini
2020-09-18  4:07       ` Heinrich Schuchardt
2020-09-18 11:28         ` Tom Rini
2020-09-18 17:14           ` Heinrich Schuchardt
2020-09-18 17:31             ` Tom Rini [this message]
2020-09-19 11:42     ` Mark Kettenis
2020-09-19 12:17       ` 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=20200918173114.GW14816@bill-the-cat \
    --to=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.