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.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,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 17852C4742C for ; Fri, 13 Nov 2020 23:30:12 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AE6742224F for ; Fri, 13 Nov 2020 23:30:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="MnDSRF7T" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AE6742224F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bootlin.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=SduAhP7Flawxve0JEPZQr+FTDodHefK8+aQCnKU3G14=; b=MnDSRF7THTAB+v75iCVDtakmE gog2ejYQhG8bRbqyLsDfVQsZv8U9ZQaIkDdKoU0OZupOScStKEAfmkif+blzQWa8IpmnTU8N1XC26 DoqY7ANRGxeJngbciFXYhW/p0D3m1YVUT5UhtLVXjGKaDDUcOPAmzuRUw5YCTGbburTmUU8Bfb9mS OJB+N/okN7S9DyMHB7sJpop6EHP+rdOHVMhCpikMzoyn6xCjviyOPW5WkISUQ5pqgGE2ptQa/EwXc cGCppYnqpi/WSrlCATppQgnN1qOdQsJMUkNR60hTcfToRvShGouCoUzQhm4GxdhLE/f+7uwshSnIf yi7uNznRA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kdiUq-000181-3q; Fri, 13 Nov 2020 23:28:48 +0000 Received: from relay10.mail.gandi.net ([217.70.178.230]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kdiUn-00017a-Iy for linux-arm-kernel@lists.infradead.org; Fri, 13 Nov 2020 23:28:46 +0000 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 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-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201113_182845_724631_974F41F5 X-CRM114-Status: GOOD ( 19.63 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kbuild-all@lists.01.org, kernel test robot , Arnd Bergmann , "linux-kernel@vger.kernel.org" , Russell King , Ludovic Desroches , Olof Johansson , Claudiu Beznea , Linux ARM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============4405799426081556031==" MIME-Version: 1.0 From: Alexandre Belloni To: kbuild-all@lists.01.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 Message-ID: <20201113232839.GA6117@piout.net> In-Reply-To: List-Id: --===============4405799426081556031== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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-macr= o.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=3Dy > CONFIG_SOC_SAMV7=3Dy > = > 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. --===============4405799426081556031==-- 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.