Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp3483070pxb; Mon, 4 Apr 2022 18:24:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzWo9hLWkkujyUDtTZoowv4sAlKzp59lI24XAKXAVsTlsyqNZ5s110idL/rWPFIRvRVJ6gH X-Received: by 2002:a17:902:bf07:b0:14f:a3a7:97a0 with SMTP id bi7-20020a170902bf0700b0014fa3a797a0mr1015237plb.105.1649121876528; Mon, 04 Apr 2022 18:24:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649121876; cv=none; d=google.com; s=arc-20160816; b=WdsLQyeEVaWsKIr8KDRUYZUWj1wv8MuS5SvXSGKsJPtB8gTNXWccPnjZS5hIbLJQnk xIY0P9eCsixsiLhOqQmCYrbdeYzTI2V7brfXQSAEwAaHX6CA574N546BZNuoVzmO5jR4 40VTS/kY5mZJRl2ZvH3tOmH4tZMNsuE5UAeKF/d/NXb3lJ1f2nmW0UOyM+kXiaBvahX+ INXA36CSXsAbbTt/DvUKVKMeOvqGmNhjNh78uSg0YcRwXAXRR5StUxMEmzMBGjwrZI7Q hurj8X+S5HcfB0LmvqqriMtm5y5kCPApiew6uS1I2vh3+2f8PWB9xCerxOGR+RQPucfC vnJg== 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:dkim-signature; bh=e+espoYszSZp1p1WHrGyTvFNDm47vVsucL53VCJGbNQ=; b=lMYgI5kuagycOYGs7n1Be4WGksshoHdVi0IxMElhYphFq22X+IYu1WpnFVkuhK2w+6 ADU6BcBPDHyTCSdmgz/obwo4nIIHFrXYJxVNGCMb/46BMUa1pr9IeGykEQ2JdNGTWxOS WrvlpPjkSVpl4IxUX9UiEdM4eAvTQVBDFcg9E1ae3kl5XoL1SPZLW1cEIlCPqR3eUEGQ qAotweltEP7quQwwm5YztaEijaYElo9ZmkSLcPqbS/Bn2YJs8gXv+NQHLGoN8KQJfk2V gPR7bwtWUb0W8HsRczYTxeVi+JhPZULldCXuf3dEbd8ouJirARz3byiestUvLlnd8ICq hsPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=hoh3dyC3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id e12-20020a170903240c00b00155e153b8absi10560049plo.482.2022.04.04.18.24.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Apr 2022 18:24:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=hoh3dyC3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 478BD1965DA; Mon, 4 Apr 2022 17:15:14 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1382123AbiDDWJL (ORCPT + 99 others); Mon, 4 Apr 2022 18:09:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48568 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1380223AbiDDTQm (ORCPT ); Mon, 4 Apr 2022 15:16:42 -0400 Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5506C33E0A; Mon, 4 Apr 2022 12:14:45 -0700 (PDT) Received: by mail-ed1-x530.google.com with SMTP id d10so7511250edj.0; Mon, 04 Apr 2022 12:14:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=e+espoYszSZp1p1WHrGyTvFNDm47vVsucL53VCJGbNQ=; b=hoh3dyC3FDOpHs0Oa9MtXNEdb6T+MPU/rE4E97vtjQ0kFHrfOquVsSfCT02pnpdOSV UyvQyXxSUBW3xQaMhklyAsx+cI6YgpDwo6Od5vyv2DXvZJjXbkK+zPEFIo1Kj9WuKE40 sj0TSnCHCztoC2luqCmQsVaZ9xcMzSpppRbkv6J9Pi7fWZWikcAavtIJ0+2Fj0GavDhK N+I/fFIREY/ExKnSiGF4Io2lqewR0hKdHvFw5GsWZrxBzB4D+BbVZKpaqrlipMVNNbLa 9dYSzYeNIUeFyHb/O/hJUhfcQFnUIA1mrgDYcW6k+UXPwRMZUg9/3SgljqUAVB8jbvRY A3jA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=e+espoYszSZp1p1WHrGyTvFNDm47vVsucL53VCJGbNQ=; b=UkEcYtmquKnuJp1eFkvfCezCwAsE3xM1wP//0y37w1g1Yjh7zgcL7xczBUtP2Q9cMQ omp+6H41t0Xscs5GIdNq3cSntcv+VbrhA1Ocb7RAf/KeOqVSZgGp8bqb2+zUCrzWEUMP iZzlOn98KKZTFhoMOXffqtBOogwmhEQ5P4GCDgL5MRsnT+dwwq1093HJNPSiUYYXdnDf eeVxBEnLpAJ+CZSWFgAbD86gFnIZ1GR9OSyi67BbR+5IzAN0L+vWe5by1cK6ZTlpQSfL Oed+GY9gsAKD6BnEJlLEJPu9VtV+funqEG6rMT+SISM8OggUfaMNoJB0jT/mAuGfDcGl pcpw== X-Gm-Message-State: AOAM531L7KCRo0qkPBNFCl4lLjtxmzT5wfY0sbmAR6tLEu/p50R4hz51 dDa1ryEc+hHZRvbAGMPSR3kxmpRQvhdO/xq7Ujs= X-Received: by 2002:a05:6402:1941:b0:413:2b5f:9074 with SMTP id f1-20020a056402194100b004132b5f9074mr1704694edz.414.1649099683759; Mon, 04 Apr 2022 12:14:43 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Max Filippov Date: Mon, 4 Apr 2022 12:14:32 -0700 Message-ID: Subject: Re: [RFC PULL] remove arch/h8300 To: Arnd Bergmann Cc: 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-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, FROM_LOCAL_NOVOWEL,HEADER_FROM_DIFFERENT_DOMAINS,HK_RANDOM_FROM, 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 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. > > This is what I get: > > $ make ARCH=xtensa O=build/xtensa nommu_kc705_defconfig vmlinux V=1 > .... > 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. > I think there were other errors in the past, but every time I tried > it, the build failed for me. -- Thanks. -- Max