From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 02649C63697 for ; Fri, 13 Nov 2020 23:30:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B671E22258 for ; Fri, 13 Nov 2020 23:30:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726163AbgKMX2n (ORCPT ); Fri, 13 Nov 2020 18:28:43 -0500 Received: from relay10.mail.gandi.net ([217.70.178.230]:39085 "EHLO relay10.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725866AbgKMX2m (ORCPT ); Fri, 13 Nov 2020 18:28:42 -0500 Received: from localhost (lfbn-lyo-1-997-19.w86-194.abo.wanadoo.fr [86.194.74.19]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay10.mail.gandi.net (Postfix) with ESMTPSA id C00EE240004; Fri, 13 Nov 2020 23:28:39 +0000 (UTC) Date: Sat, 14 Nov 2020 00:28:39 +0100 From: Alexandre Belloni To: Linus Walleij Cc: kernel test robot , Arnd Bergmann , Nicolas Ferre , Olof Johansson , kbuild-all@lists.01.org, "linux-kernel@vger.kernel.org" , Russell King , Linux ARM , Claudiu Beznea , Ludovic Desroches Subject: Re: ./include/generated/autoconf.h:1601:33: fatal error: mach/debug-macro.S: No such file or directory Message-ID: <20201113232839.GA6117@piout.net> References: <202011111443.lt7V48Ig-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/11/2020 09:51:26+0100, Linus Walleij wrote: > On Wed, Nov 11, 2020 at 7:18 AM kernel test robot wrote: > > > In file included from include/linux/kconfig.h:7, > > from : > > >> ./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 . > > Only that the majority is not using 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.