Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp3470294pxb; Mon, 4 Apr 2022 18:00:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwIO6s9EwRj3Wl47gRMeIAJdY3njoAjTnqZPQ3mzQ3uICpiuoscnpVhe6M/Lyt1zO0jhjWq X-Received: by 2002:a17:902:8496:b0:156:a95d:69c7 with SMTP id c22-20020a170902849600b00156a95d69c7mr931378plo.131.1649120441607; Mon, 04 Apr 2022 18:00:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649120441; cv=none; d=google.com; s=arc-20160816; b=qObQ4w7vSS+TQfZzK1cjH/js9RMcveToX+bhj6Vup1slIY7lZlvF1WnXlPcZj0CWga St6pnFTauH1r2uwX2LC3eTgeJO8c8FJJHwQfRuxt8csvpjPBCiVcEjvqq6VAPaTIZPCb PHziQClo3QUfXAdsy554Xshezx98/TMVIQ4RBi5pS0J21crJ8pZiy5RAmayir0HoluG4 dglTe2a3A3ujVy2UdTl2SoeajHd1LPlQ1cahEXqeqaFZ4nWd/g6cwG7SudrZzbJDgh5I R/oSm6znEwbSM5zbDzc5CPwI2IRBfG875SWcvSb9KGaPQ7tubSuRiDW60AnQJEOCVE+Y SWQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=r47EgZO628/IX0rN3dGiDK0iYmlDepa46LMOpGLUbuU=; b=KEpSwTJJiFrUVdRZVpPTkfapdzl+qOrHfifbSKwCe4iSIEnV0ay+8XXJDRqFzqiR3p FdBwcvm9AVi79ttZmxpGq5kdjVLr5yrDJnYlQ4nIOgCl+EZRisQ9hho5XEIEJ1UkeHRW Hr0Ojn8XtkSFetbUoVUAE+jD1UU+/bpkyq7zihLhH1LH0UHK2g++wS006nHB9hFBTnTT LHdDrElog1TcLrNVa9xTlEDYxYE5UpVlLnECLAgjGoQAEqxOyDksw64ENFqyoxIRybO7 t/q/UwL7QhRJdHIF9UIAG01hwunoK+V+SR/VTYj/RurLm8iIILP6mdna0e9rz+jyGVuN tGgQ== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id p34-20020a635b22000000b003987c40f9a0si11459468pgb.1.2022.04.04.18.00.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Apr 2022 18:00:41 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3003315A23E; Mon, 4 Apr 2022 17:08:00 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379014AbiDDVSe (ORCPT + 99 others); Mon, 4 Apr 2022 17:18:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53950 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1380344AbiDDTiD (ORCPT ); Mon, 4 Apr 2022 15:38:03 -0400 Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0C9E13F10; Mon, 4 Apr 2022 12:36:05 -0700 (PDT) Received: from mail-wm1-f51.google.com ([209.85.128.51]) by mrelayeu.kundenserver.de (mreue009 [213.165.67.97]) with ESMTPSA (Nemesis) id 1MCbMx-1njTEW44DD-009jfe; Mon, 04 Apr 2022 21:36:04 +0200 Received: by mail-wm1-f51.google.com with SMTP id n38-20020a05600c502600b0038e4a0fc5easo213006wmr.3; Mon, 04 Apr 2022 12:36:03 -0700 (PDT) X-Gm-Message-State: AOAM530e3QZh9j+3Ooh3C0vd1rJqdVrpEYpJ4xevEjcsg9wHhQ/FD8IZ EK41q4GhFhMNvGHap+YyW6nhSnhr8aPX/mbmF/4= X-Received: by 2002:a7b:cd13:0:b0:38b:f39c:1181 with SMTP id f19-20020a7bcd13000000b0038bf39c1181mr626838wmj.20.1649100963560; Mon, 04 Apr 2022 12:36:03 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Arnd Bergmann Date: Mon, 4 Apr 2022 21:35:47 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFC PULL] remove arch/h8300 To: Max Filippov Cc: Arnd Bergmann , Christoph Hellwig , Linus Torvalds , Yoshinori Sato , Linux Kernel Mailing List , linux-arch , "moderated list:H8/300 ARCHITECTURE" , "open list:TENSILICA XTENSA PORT (xtensa)" , Linux-sh list , linux-m68k , Greg Ungerer , Damien Le Moal , linux-riscv Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:Na3Qbp5Gp6zqpmOBXFOCu/SbbvSoNPqbD2qfv/xtPRYs5dDgRg8 mIdvfyyz7e473bmnPVXYgmko/IBAFkN0E/0D7L82k9H4z0qRYeIYCVhV+iBQaif2iegOb1n G5GibOdTpi5drETUpiRkAyzxuEliV1e4OIvYnLs7V+EvzmsZHy+EQlKk4xe7MwQlb5by+Gj apal2zq108Xa8Zht5qXpA== X-UI-Out-Filterresults: notjunk:1;V03:K0:48eYd4DVt+g=:4SxC9dH5qGnv0NPa9/lmmK UAUr1kr+bxQ+cT9ipiNeobPoYMARqZ1sXLPPb3RBuM/FeNM7LQl77+5LxFq0kVfxe8KDYB4vN Z8JggpZz9US2JF8u4D1euzH3LMC0rUGjLA6xk2QeqlKzQNxztcyfiaKL7kCPK5lvF7/NhjJjm Swp1pisPzQ9HvqHjNeMJkJ2a4rD3LV4/lQCYUUTteh05i3GBs1z3KUY9h+u4vOJsahunt9u/7 UEWXIJ5FHaY+Kg5OddLjsQNqdG/IzYDl2M90gSCz3do1klkpweaHIPLfcDxJ0vetqH/Vggist 5lDFBLF4Wo25IJOCBa18M/BKIdtH8rl23rqLFf5Fvcet2m0VvUD7U8HP6yKV8ymGG6/ov8aZe gQxJKJbIENHMLnE5megUW5rVZtr354v9QVUuFdzh9dagMhLLpKUEKs8vTJ7BN+3gE8GYdZGpL Bo/xYSaz0uLLPNOpOqG1kfthmEe7l3+plFBLCIIazo+4Mcqx+7ZNShmqkypDmA/xIcKtBQ8dc NmzLqnCgrQ9/2IVEmwctfWzPjKTtnUCedPdKJSdQ/qssI4tEDRqVpkxp1acvz5NNBTgTxUELX uqB979KDMIR3cGeZugP1tN4TZ38aXn7B5irg5iPGIrQPRCO1/vd6dfEbrSnw5BZRpfnYXyDcq u3A3XldZFbTmEWmghOVIWe9qIjVUliUudF01SMdQYIT6uzOIqWyXXpOOsCI+qcaB35QVCkt9O uF4Lu3l3rij+1BQ33ZXHCR2EL9GONZ8qmcUv3u8ZH3cy1aJCehhrzUJ5EUkg2iRvthWeHiHVf YjqmX4js+KyPmAuMSzHGB2eGmBBtP1KClfsYLfBtY2d0HB90eQ= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 4, 2022 at 9:14 PM Max Filippov wrote: > On Mon, Apr 4, 2022 at 12:01 PM Arnd Bergmann wrote: > > On Mon, Apr 4, 2022 at 7:57 PM Max Filippov wrote: > > > Please let me know if you observe any specific build/runtime issues. > > xtensa-linux-gcc-11.1.0 -DKCONFIG_SEED= > ... > > /git/arm-soc/arch/xtensa/kernel/head.S: Assembler messages: > > /git/arm-soc/arch/xtensa/kernel/head.S:87: Error: invalid register > > 'atomctl' for 'wsr' instruction > > Sure, one cannot use an arbitrary xtensa compiler for the kernel > build, the compiler configuration must match the core variant selected > in the linux configuration. Specifically, for the nommu_kc705_defconfig > the following compiler can be used: > > https://github.com/foss-xtensa/toolchain/releases/download/2020.07/x86_64-2020.07-xtensa-de212-elf.tar.gz > > If you build the toolchain yourself using crosstool-ng or buildroot they > accept the 'configuration overlay' parameter that does the compiler > customization. > > Perhaps the documentation for this part is what needs to be improved. It sounds like a bug in the kernel Makefile. On all other architectures, you can generally just pick any (recent) compiler and build any kernel, as the compiler arguments set the exact target machine type based on the kernel config. You can't normally rely on the compiler defaults for kernel builds. Arnd