From: Alexandre Belloni <alexandre.belloni@bootlin.com>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: kbuild-all@lists.01.org, kernel test robot <lkp@intel.com>,
Arnd Bergmann <arnd@arndb.de>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Russell King <rmk+kernel@armlinux.org.uk>,
Ludovic Desroches <ludovic.desroches@microchip.com>,
Olof Johansson <olof@lixom.net>,
Claudiu Beznea <claudiu.beznea@microchip.com>,
Linux ARM <linux-arm-kernel@lists.infradead.org>
Subject: Re: ./include/generated/autoconf.h:1601:33: fatal error: mach/debug-macro.S: No such file or directory
Date: Sat, 14 Nov 2020 00:28:39 +0100 [thread overview]
Message-ID: <20201113232839.GA6117@piout.net> (raw)
In-Reply-To: <CACRpkdbYXyVGf9_6PjmPgw_KNSEfiFVrmXWWmqLD-8Hmxg1xmg@mail.gmail.com>
On 11/11/2020 09:51:26+0100, Linus Walleij wrote:
> On Wed, Nov 11, 2020 at 7:18 AM kernel test robot <lkp@intel.com> wrote:
>
> > In file included from include/linux/kconfig.h:7,
> > from <command-line>:
> > >> ./include/generated/autoconf.h:1601:33: fatal error: mach/debug-macro.S: No such file or directory
> > 1601 | #define CONFIG_DEBUG_LL_INCLUDE "mach/debug-macro.S"
> > | ^~~~~~~~~~~~~~~~~~~~
> > compilation terminated.
>
> This is an interesting one!
>
> It happens when CONFIG_DEBUG_LL_INCLUDE does not have a custom
> debug header for the platform under arch/arm/include/debug and the
> KConfig falls through to the default value, which is <mach/debug-macro.S>.
>
> Only that the majority is not using <mach/*> anymore.
>
> I feel a bit like setting the default to debug/8250.S or something.
>
> Suggestions?
>
> Then the actual bug exposed:
>
> The config tested by the robot is using
> CONFIG_ARCH_AT91=y
> CONFIG_SOC_SAMV7=y
>
> When I look into Kconfig.debug it seems that this will define
> DEBUG_AT91_SAMV7_USART1 but only a physical address,
> no virtual address and and actually no debug header. It seems
> LL_DEBUG is broken on SAMV7 and never really worked
> so now that crops up.
>
> Nicolas, something that should be fixed, I think?
>
This is what the platforms without an MMU are doing. I don't think there
is anything platform specific to fix.
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2020-11-13 23:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <202011111443.lt7V48Ig-lkp@intel.com>
2020-11-11 8:51 ` ./include/generated/autoconf.h:1601:33: fatal error: mach/debug-macro.S: No such file or directory Linus Walleij
2020-11-13 23:28 ` Alexandre Belloni [this message]
2020-11-13 23:58 ` Alexandre Belloni
2020-11-17 13:58 ` Arnd Bergmann
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=20201113232839.GA6117@piout.net \
--to=alexandre.belloni@bootlin.com \
--cc=arnd@arndb.de \
--cc=claudiu.beznea@microchip.com \
--cc=kbuild-all@lists.01.org \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lkp@intel.com \
--cc=ludovic.desroches@microchip.com \
--cc=olof@lixom.net \
--cc=rmk+kernel@armlinux.org.uk \
/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;
as well as URLs for NNTP newsgroup(s).