Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4394652ybb; Tue, 14 Apr 2020 06:31:17 -0700 (PDT) X-Google-Smtp-Source: APiQypLT3enJPTXS252GXdQleH8VChPK6sAjNuEprURi8uYpy7diAQ3frLBEQAQN5fU3ux5jOLTU X-Received: by 2002:a17:906:13d1:: with SMTP id g17mr131675ejc.162.1586871077038; Tue, 14 Apr 2020 06:31:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586871077; cv=none; d=google.com; s=arc-20160816; b=zAolGBnB4bw9YTIYrpKvMYF3CkcmF5/A9SuGKXxH+74Bi7txsIqSlGwzM5swJ98dWD PsdNFwJaXqJfYRyJhk0qldN8ECu/A1XTdItrSbxWzHR0n+YevZ7S7VEANlTD/0Spao7g qPiXtFUAqKWUMUlJsgkiHq/jda71TWf3F/6Dluc24TqfZpQ4n7lSkbDZUyWSRcQA5mLa oeBzy6TByTNB05kk4pXPvF+Kyzmo/vSDXxtMXsYrxGLEXzRUsikw0wIZR4zU7Mxz32Y4 MrBeZA5opya1xglf1nuFD7gtnlQidj+oETMnT53uWMt9CN9aoKRAwuPbUGU+dhnS2Xp8 gLMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=E3v3lMYX71OYS7ExZ5JtALb3DwWrKTziHCm5gwOcJBM=; b=DlhWK7V3Url4Fg1z+d90frhZEbXxd76s8dFVywbopFW5WMJIFM4lDmerNSQQD8Q2AY z/05J3HkCJxAkbQ1E8jw/qZFNTdK6ZHyXhzDu6IwFYr7ukv7Zd49FkeTp/PxximHLCbX D4Z1JMBOOm48ZObhvvUnPty8giUjllqS3MG/SqoCIXReEHQn35RRKVAfwJbQXzfTLH1E oeTAdeOFg9ArBx9+LqXEE0TImeXmcdz1QY6i0RVh5gFLIMIjo0k+8tjcZchp07Ko3lOv wKaLPofWMdnYFevgX836PzE7krfGPX+fZ810YlgmeCrLLGrFXwExz2dftHtbRMDuLs95 vlNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=U+GilTzg; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q8si8312781eds.399.2020.04.14.06.30.52; Tue, 14 Apr 2020 06:31:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=U+GilTzg; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387858AbgDMTVL (ORCPT + 99 others); Mon, 13 Apr 2020 15:21:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56420 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727849AbgDMTVK (ORCPT ); Mon, 13 Apr 2020 15:21:10 -0400 Received: from mail-pf1-x443.google.com (mail-pf1-x443.google.com [IPv6:2607:f8b0:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 131A9C0A3BDC for ; Mon, 13 Apr 2020 12:21:10 -0700 (PDT) Received: by mail-pf1-x443.google.com with SMTP id r20so3285686pfh.9 for ; Mon, 13 Apr 2020 12:21:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=E3v3lMYX71OYS7ExZ5JtALb3DwWrKTziHCm5gwOcJBM=; b=U+GilTzgZn485m/gVVQKl0E/vydgYV4Oo0+zwr4XwvKuxpKqL+QwXG2ln/L4Mn74YF h/HlvMXQhjsvO7mPI0nEp602ii5l2JuMg7rMSQDxXIlJT7OQ0frEfnM7qr23+3INNBlu vpXRHGk4Mzlw9bNmhJa85wmgows5iO/doPGu6Zh2Le+wKvxVZTwvM6ZnqPpphhE1mGQl 2kn7v5XayBdAr+5YOJJdYgKr1hX+PpNd/opcHTYr1mhYApKBa/Qvn6nPTUIESjHR53+q z5t+/rP/XvHjSVbYR7CBlvnzv/vk9ywknCKwWQfoyRSAYHql/TrK1VMXYj+N/D7tWsqj 3TSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=E3v3lMYX71OYS7ExZ5JtALb3DwWrKTziHCm5gwOcJBM=; b=uT6b0oHKtygYDmYOtQOzpDgRgBUhQBPriO7qj6NvG/QodvSjDIxcfRUfzB4p6aw+zp I5d6HJv5pnHtXE/yaKjmN4ntO6HXTMrwO8aML3vp3xx9SD2cqfcmPvnEKsuppp0PIp98 tcjOFnhttU27BxeQwCtM2KHkEgP4CtFdX/bwMpLGJauAda0G9SBp0G/MSlomDwc0Nt/j 35L7w35yCptcBpE7RmQBvCI0nEGtqTIJinX03tw+FK5urlUE6VZbDZefMdVkvj1VkWBw OAnxdQ4qeYb5GzXE9wsxEx5qAqthvmrLypBq8VOWU05XRlIO9ObVDP4+6ISofPUFT+sm Fuzg== X-Gm-Message-State: AGi0PuZGjqytGoeP9LIPEOh43IsTwSJkE8LWHUnNqVFFgRUF9q/eJ5aX pqFK+Ujf3qGBiakORmth37AxrJgh7qTXt1tpIG3j8g== X-Received: by 2002:aa7:919a:: with SMTP id x26mr19063745pfa.39.1586805669240; Mon, 13 Apr 2020 12:21:09 -0700 (PDT) MIME-Version: 1.0 References: <20200409232728.231527-1-caij2003@gmail.com> In-Reply-To: From: Nick Desaulniers Date: Mon, 13 Apr 2020 12:20:57 -0700 Message-ID: Subject: Re: [PATCH] ARM: do not assemble iwmmxt.S with LLVM toolchain To: Arnd Bergmann Cc: Jian Cai , Manoj Gupta , Peter Smith , Stefan Agner , Sami Tolvanen , Ilie Halip , Jian Cai , Russell King , Linus Walleij , Andrew Morton , Mauro Carvalho Chehab , Doug Anderson , Benjamin Gaignard , Bartosz Golaszewski , Masahiro Yamada , Masami Hiramatsu , "Steven Rostedt (VMware)" , Greg Kroah-Hartman , Tejun Heo , "Joel Fernandes (Google)" , Patrick Bellasi , Krzysztof Kozlowski , Dan Williams , "Eric W. Biederman" , David Howells , Linux ARM , "linux-kernel@vger.kernel.org" , clang-built-linux Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 10, 2020 at 2:56 AM Arnd Bergmann wrote: > > On Fri, Apr 10, 2020 at 1:28 AM Jian Cai wrote: > > > > iwmmxt.S contains XScale instructions LLVM ARM backend does not support. > > Skip this file if LLVM integrated assemmbler or LLD is used to build ARM > > kernel. > > > > Signed-off-by: Jian Cai > > It clearly makes sense to limit the Kconfig option to compilers that > can actually build it. > A few questions though: > > - Given that Armada XP with its PJ4B was still marketed until fairly > recently[1], > wouldn't it make sense to still add support for it? Is it a lot of work? Sorry, can you help me verify from that link that PJ4B uses XSCALE? I didn't see references to either in the link provided. Also, given the history of XSCALE as noted by Russell, I'm surprised to see Marvell in the mix. > > - Why does the linker have to understand it, rather than just the assembler? It doesn't, just the assembler is the problem. > > [1] http://web.archive.org/web/20191015165247/https://www.marvell.com/embedded-processors/armada/index.jsp -- Thanks, ~Nick Desaulniers