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=-4.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS 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 093B6C2D0A3 for ; Thu, 12 Nov 2020 13:06:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8A64E221E9 for ; Thu, 12 Nov 2020 13:06:34 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="OG3UFp0+" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728157AbgKLNGd (ORCPT ); Thu, 12 Nov 2020 08:06:33 -0500 Received: from mail.kernel.org ([198.145.29.99]:49460 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727646AbgKLNGc (ORCPT ); Thu, 12 Nov 2020 08:06:32 -0500 Received: from mail-ot1-f43.google.com (mail-ot1-f43.google.com [209.85.210.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9EB9E21D91 for ; Thu, 12 Nov 2020 13:06:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605186391; bh=sKoFwkNK0FZfJvRgRurVolmIWZI8/vuPH3IAnJnsf0E=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=OG3UFp0+apI0eNZMt4xX27afroH5VgZCXT7+PzPFtk3paCm8DQwMim5RTHrB1ITsv holj4X9ZDS3saCWCz7EI01IoHjqqdmv6BdT1f4/e+j6I7frPZIAdo4orBkSBEO7AkH AryoopGmuEqrMPycyMdab3JIIAZN8v3G9IoZyOjM= Received: by mail-ot1-f43.google.com with SMTP id a15so5495962otf.5 for ; Thu, 12 Nov 2020 05:06:31 -0800 (PST) X-Gm-Message-State: AOAM530FTrTe0LIO4S7NaP1X8rsNyisgkx9NdOIr9mrDGLur0qLzgchV dX3FrbJyofrpAHPUagIsraa00MLPRJWUUrXQI7Y= X-Google-Smtp-Source: ABdhPJwYEUVjhsnzuRbZwrZo7wG6QaCpLnAHOXROlS+33fxNHzhKYzFDnFhpEExJSlMQMBB6Vb5vmoBd003mE9XQQN4= X-Received: by 2002:a9d:65d5:: with SMTP id z21mr19755766oth.251.1605186390831; Thu, 12 Nov 2020 05:06:30 -0800 (PST) MIME-Version: 1.0 References: <20200409232728.231527-1-caij2003@gmail.com> <20201107001056.225807-1-jiancai@google.com> In-Reply-To: From: Arnd Bergmann Date: Thu, 12 Nov 2020 14:06:14 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2] Make iwmmxt.S support Clang's integrated assembler To: Ard Biesheuvel Cc: Jian Cai , Nick Desaulniers , Manoj Gupta , Luis Lozano , clang-built-linux , Russell King , Nathan Chancellor , Linux ARM , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 12, 2020 at 9:42 AM Ard Biesheuvel wrote: > Although I must admit I am still on the fence when it comes to the > policy around rewriting perfectly valid code like this to accommodate > a toolchain that nobody is likely to use to build the code in > question. > > Perhaps we should at least add some rationale to the commit log why > Clang's integrated assembler is something we should care about? This is one of the last bits of kernel code that could be compiled but not assembled with clang. Once all of it works with IAS, we no longer need to special-case 32-bit Arm in Kbuild, or turn off CONFIG_IWMMXT when build-testing. Arnd 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=-4.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,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 F411DC2D0A3 for ; Thu, 12 Nov 2020 13:07:10 +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 63FA121D7F for ; Thu, 12 Nov 2020 13:07:10 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Gsqom4sr"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="OG3UFp0+" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 63FA121D7F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org 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:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=rMWCJ3eLU9xuk8xpUt2eX+c2BkKOOOxa1wYZ7Cti2ko=; b=Gsqom4sre1+ptPiSs00JkxSXX zZW0HT2ttzeZOy8mG1ETGp4ZB3NMWbLYiRcw0OQMTTRLU2nGF8h9WrGtn+VfpLi2pp9jvOomMIuiG CGye5AgGHLIMrJgjLcIsj+Gr5cgYieEit9UF11NnSA4alphiSSBDPtO55i8ZNm/FGtQF4Txd5IXII FBjB1uBnm0IsqU+e1i3yji2VEvq6t9/0n3tPm8p/LOEQTdispZGPF4kPrUoIPY7w4ADCbV5FKc4ov m+NMZdJBTDRdBsxXFXnr781qEQYNoggJZJej1f9lyaTcWflXZs2tDYmu4tkLKNHhkQL1tjaOxZU4r eOJ3XC72w==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kdCJI-0008CS-IL; Thu, 12 Nov 2020 13:06:44 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kdCJ7-00089V-QB for linux-arm-kernel@lists.infradead.org; Thu, 12 Nov 2020 13:06:35 +0000 Received: from mail-ot1-f48.google.com (mail-ot1-f48.google.com [209.85.210.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id ABAAA22248 for ; Thu, 12 Nov 2020 13:06:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605186391; bh=sKoFwkNK0FZfJvRgRurVolmIWZI8/vuPH3IAnJnsf0E=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=OG3UFp0+apI0eNZMt4xX27afroH5VgZCXT7+PzPFtk3paCm8DQwMim5RTHrB1ITsv holj4X9ZDS3saCWCz7EI01IoHjqqdmv6BdT1f4/e+j6I7frPZIAdo4orBkSBEO7AkH AryoopGmuEqrMPycyMdab3JIIAZN8v3G9IoZyOjM= Received: by mail-ot1-f48.google.com with SMTP id n89so5486325otn.3 for ; Thu, 12 Nov 2020 05:06:31 -0800 (PST) X-Gm-Message-State: AOAM532sLWEkb8v4EEkCHUCwj8KgNtgsyXmJCaKdypnLGtVDAaGFuZNx X4h0jAYLB6C43GYrbfcGOphj0Sudjkdi4I6eqbc= X-Google-Smtp-Source: ABdhPJwYEUVjhsnzuRbZwrZo7wG6QaCpLnAHOXROlS+33fxNHzhKYzFDnFhpEExJSlMQMBB6Vb5vmoBd003mE9XQQN4= X-Received: by 2002:a9d:65d5:: with SMTP id z21mr19755766oth.251.1605186390831; Thu, 12 Nov 2020 05:06:30 -0800 (PST) MIME-Version: 1.0 References: <20200409232728.231527-1-caij2003@gmail.com> <20201107001056.225807-1-jiancai@google.com> In-Reply-To: From: Arnd Bergmann Date: Thu, 12 Nov 2020 14:06:14 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2] Make iwmmxt.S support Clang's integrated assembler To: Ard Biesheuvel X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201112_080633_994081_D23DDA19 X-CRM114-Status: GOOD ( 17.97 ) 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: Linux Kernel Mailing List , Nick Desaulniers , Russell King , Jian Cai , clang-built-linux , Manoj Gupta , Luis Lozano , Nathan Chancellor , 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 Thu, Nov 12, 2020 at 9:42 AM Ard Biesheuvel wrote: > Although I must admit I am still on the fence when it comes to the > policy around rewriting perfectly valid code like this to accommodate > a toolchain that nobody is likely to use to build the code in > question. > > Perhaps we should at least add some rationale to the commit log why > Clang's integrated assembler is something we should care about? This is one of the last bits of kernel code that could be compiled but not assembled with clang. Once all of it works with IAS, we no longer need to special-case 32-bit Arm in Kbuild, or turn off CONFIG_IWMMXT when build-testing. Arnd _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel