From: "Niklas Söderlund" <niklas.soderlund@ragnatech.se>
To: Masahiro Yamada <masahiroy@kernel.org>
Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org,
Marek Vasut <marex@denx.de>
Subject: Re: [PATCH v2 02/12] kconfig: refactor choice value calculation
Date: Sun, 1 Sep 2024 11:32:12 +0200 [thread overview]
Message-ID: <20240901093212.GC3708622@ragnatech.se> (raw)
In-Reply-To: <CAK7LNASfpKz+PG+tphZHaSssUHirUBxRB13MdBs3TG3HZ6qrQg@mail.gmail.com>
On 2024-09-01 18:10:56 +0900, Masahiro Yamada wrote:
> On Sun, Sep 1, 2024 at 2:31 AM Niklas Söderlund
> <niklas.soderlund@ragnatech.se> wrote:
> >
> > Hello Yamada-san,
> >
> > Thanks for your work.
> >
> > I bisected a kconfig issue to this change, but I'm not sure how to
> > resolve it and would appreciate your help.
> >
> > Before this changes if I run menuconfig,
> >
> > $ ARCH=arm64 make menuconfig
> >
> > The menu option for by SOC_RENESAS is visible at
> >
> > Device Drivers ->
> > SOC (System On Chip) specific Drivers ->
> > Renesas SoC driver support
> >
> > However after this patch it is not.
> >
> > Furthermore searching (/) for any config option protected by SOC_RENESAS
> > in drivers/soc/renesas/Kconfig (e.g. ARCH_R8A77965) results in a search
> > hit, but if I try to jump to it by pressing 1 all I get is a blank
> > screen.
> >
> > I'm not sure if a fix to the for mention Kconfig file is needed or if
> > something else is wrong. This is still true for today's linux-next [1].
> >
> > 1. 985bf40edf43 ("Add linux-next specific files for 20240830")
>
>
>
>
>
>
> The prompt of SOC_RENESAS depends on
> COMPILE_TEST && !ARCH_RENESAS.
> Hence, it is hidden by default.
>
> Pressing (1) navigated to the nearest parent menu.
>
> Setting COMPILE_TEST=y and ARCH_RENESAS=n made it visible.
It might be that the Kconfig file needs an update, but the behavior
changed with this commit.
Before this commit the entry was visible and symbols hidden under the
SOC_RENESAS where selectable and I could for example select/deselect
ARCH_R8A77965 in menuconfig. After this change I can't navigate to
ARCH_R8A77965 at all.
But you are correct that both before and after the commit the
SOC_RENESAS symbol is set to only be visible if 'COMPILE_TEST &&
!ARCH_RENESAS' so this might have been an issue that was fixed and that
the Kconfig file needs to be updated.
Thanks for your help!
>
> All look quite normal to me.
>
>
>
> Symbol: SOC_RENESAS [=y]
> Type : bool
> Defined at drivers/soc/renesas/Kconfig:2
> Prompt: Renesas SoC driver support
> Visible if: COMPILE_TEST [=n] && !ARCH_RENESAS [=y]
> Location:
> -> Device Drivers
> (1) -> SOC (System On Chip) specific Drivers
> -> Renesas SoC driver support (SOC_RENESAS [=y])
> Selects: GPIOLIB [=y] && PINCTRL [=y] && SOC_BUS [=y]
>
>
>
>
>
>
> --
> Best Regards
> Masahiro Yamada
--
Kind Regards,
Niklas Söderlund
next prev parent reply other threads:[~2024-09-01 9:32 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-18 10:35 [PATCH v2 00/12] kconfig: fix choice value calculation with misc cleanups Masahiro Yamada
2024-06-18 10:35 ` [PATCH v2 01/12] kconfig: import list_move(_tail) and list_for_each_entry_reverse macros Masahiro Yamada
2024-06-18 10:35 ` [PATCH v2 02/12] kconfig: refactor choice value calculation Masahiro Yamada
2024-08-31 17:30 ` Niklas Söderlund
2024-09-01 9:10 ` Masahiro Yamada
2024-09-01 9:32 ` Niklas Söderlund [this message]
2024-06-18 10:35 ` [PATCH v2 03/12] kconfig: remove sym_get_choice_value() Masahiro Yamada
2024-06-18 10:35 ` [PATCH v2 04/12] kconfig: remove conf_unsaved in conf_read_simple() Masahiro Yamada
2024-06-18 10:35 ` [PATCH v2 05/12] kconfig: change sym_choice_default() to take the choice menu Masahiro Yamada
2024-06-18 10:35 ` [PATCH v2 06/12] kconfig: use menu_list_for_each_sym() in sym_choice_default() Masahiro Yamada
2024-06-18 10:35 ` [PATCH v2 07/12] kconfig: remove expr_list_for_each_sym() macro Masahiro Yamada
2024-06-18 10:35 ` [PATCH v2 08/12] kconfig: use sym_get_choice_menu() in sym_check_print_recursive() Masahiro Yamada
2024-06-18 10:35 ` [PATCH v2 09/12] kconfig: use sym_get_choice_menu() in sym_check_choice_deps() Masahiro Yamada
2024-06-18 10:35 ` [PATCH v2 10/12] kconfig: use sym_get_choice_menu() in sym_check_deps() Masahiro Yamada
2024-06-18 10:35 ` [PATCH v2 11/12] kconfig: remove P_CHOICE property Masahiro Yamada
2024-06-18 10:35 ` [PATCH v2 12/12] kconfig: remove E_LIST expression type Masahiro Yamada
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=20240901093212.GC3708622@ragnatech.se \
--to=niklas.soderlund@ragnatech.se \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marex@denx.de \
--cc=masahiroy@kernel.org \
/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