Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1516069pxb; Fri, 26 Feb 2021 12:52:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJyFA5btpcvHYbK/TYkR+d1NVT0ZNGrEZVs1AqJbQSOcJ2JFKyoN03Y/s8X0Ug284ZvfGxMe X-Received: by 2002:aa7:cc8b:: with SMTP id p11mr5517043edt.284.1614372724478; Fri, 26 Feb 2021 12:52:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614372724; cv=none; d=google.com; s=arc-20160816; b=bsueyJEemgOh6rhe17XWXC3PrNcpcNu/AqtN1qONPiEd8u3nGW1JNGEq/XOlWiW86R pfFcDOwfW9PTD/OJZcsKboDBitZnZp+rr+ssZUFYhplDPZBlLke7N9oTpGO4MEFAk19K etXQkGKqiF/zcx1hGYORUfCH847p4P3oWh8nr52iRspUWJG826c8XyC3589FeQ0csL0u GmM8gfiGVSU/3a/ka3nLmZKo9zJCjZUXP7xII0u3fpRf+rLZeEnX0frU3wuTLuMi5RZ1 9I7IucDm8X5f84BYbWkQnh1f7jzhLZlzswQzknPDwi47rZMboRsAI9sXxcuBF+4lH1nf smow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=o5m09NeCFmgUIFbH6bFaGd//EU34vmPkiCWl7hgRUY0=; b=ozwFEAb8qVIlLGswYCYZkevTI3YPU1sb85j0QYxZLrnMVb7AWsXin+Up7OlFEWQWap 25sUFggNQsNbKnzyvZH1t2NVe1Zl6EbFznm3SNbvf9fJJq3BFChjpCPGpyegkpm0MiCw 6GvueCQkMQkf0DDJbkoz25c3atSuMVETp9fG9Ohqt3vjGzYea2r0vTdwdO4xDOgfIapd K38o6kzhBMD3PxGJ58PjgPVUFC7Tpn9TbFtW9rYRTKVAV0qvC23sh9x7uNndNziD/B1X PXYVojpBvtuBKCIqc4OEV9sozLtOi30XQEg6bfJriHIvo/VZQ7F5mTIZMEe64g7P5C/v fZJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=VmMtrwsf; spf=pass (google.com: 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 mp13si5968376ejc.24.2021.02.26.12.51.41; Fri, 26 Feb 2021 12:52:04 -0800 (PST) Received-SPF: pass (google.com: 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=VmMtrwsf; spf=pass (google.com: 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 S230321AbhBZUsA (ORCPT + 99 others); Fri, 26 Feb 2021 15:48:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47932 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230304AbhBZUr5 (ORCPT ); Fri, 26 Feb 2021 15:47:57 -0500 Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9DAA8C06174A for ; Fri, 26 Feb 2021 12:47:16 -0800 (PST) Received: by mail-lj1-x22b.google.com with SMTP id k12so3084332ljg.9 for ; Fri, 26 Feb 2021 12:47:16 -0800 (PST) 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:content-transfer-encoding; bh=o5m09NeCFmgUIFbH6bFaGd//EU34vmPkiCWl7hgRUY0=; b=VmMtrwsfm54uLBaQBt/sYsvvIUQW1YOTdLhZo+8pFV6kESOp8e7MhrVbaHqaf616En PmCNqmmP4lasf/xD5V84Q8u2vvJnuFd+SinildC07UzxKLSm+4fcwDPstHjSipBI5D/I Pkddvx8VKR1JCKmAFPYszvJ6xQ0PVlULvsbZNIx8Y9SX7fwdYm3KuMH6VCbvFLDkbpmY UeNG8n6d+eRdOwY6vU0UCdCeMOc0+wajVbeWHSdf9unXNKRSztsKcKk/0m+Rwum0wQjU afe5fqbHCOrFLncWVjLrapTYWklRdwMEsCNZrO1ZzSUfsEy+PM8W1P7we3eMR9lcpvk3 QTZg== 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:content-transfer-encoding; bh=o5m09NeCFmgUIFbH6bFaGd//EU34vmPkiCWl7hgRUY0=; b=o3rQufd+DQWtSxJlbo1QqV9Boc15whjfjogwNISyAomtV4LBS9/+sZClGBZ9Z/V9dP Usld1PWDkV+mI5ZoHO39V4NyQuXREdE6+C5XR4UiF4gQQSOHJTagkCzHD/TDQqnYiC3N 10R+eqY1YCL4H3Sz+luO29j5BSJRRueBoqFyf9yu4ZH4d0mDY3J/mKeWLxtPLu2oAX+y H50ID9thf4PAFFlDqWz8IX6P9q4faahbSyYBqwtx81eb+TXiConw9YgecM54NfR16sFu GB/H4aazvPZCJl0Z7nHJ4mZIOQZAbnnE3cV05Rb53PmPwoD2WensBVC1NlXrk7DfM7DJ 9cbA== X-Gm-Message-State: AOAM5336rLm9gZi+GXcT4gGym8D/SKG5FuHQtA9iR1yE7yvVJuH20b/4 wVsPVlhNpHteywOzqSXf3t5PFHx3R3zkZmiv/Ycv7Q== X-Received: by 2002:a05:651c:2042:: with SMTP id t2mr2568526ljo.233.1614372434754; Fri, 26 Feb 2021 12:47:14 -0800 (PST) MIME-Version: 1.0 References: <20210226164345.3889993-1-arnd@kernel.org> <141f3098744ea8d1cc39abcdce89c0e513bfbc70.camel@gmail.com> In-Reply-To: From: Nick Desaulniers Date: Fri, 26 Feb 2021 12:47:03 -0800 Message-ID: Subject: Re: [PATCH] ARM: ep93xx: don't use clang IAS for crunch To: Arnd Bergmann Cc: Alexander Sverdlin , "soc@kernel.org" , Arnd Bergmann , Russell King , Nathan Chancellor , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "clang-built-linux@googlegroups.com" , Hartley Sweeten Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 26, 2021 at 11:32 AM Hartley Sweeten wrote: > > On Friday, February 26, 2021 12:23 PM, Alexander Sverdlin wrote: > > On Fri, 2021-02-26 at 17:43 +0100, Arnd Bergmann wrote: > >> Randconfig builds with ep93xx fail with the clang integrated assembler > >> that does not understand the maverick crunch extensions: > >> > >> arch/arm/mach-ep93xx/crunch-bits.S:94:2: error: invalid instruction > >> cfstr64 mvdx0, [r1, #0] @ save 64b registers > >> > >> It is unclear if anyone is still using support for crunch: gcc-4.8 > >> dropped it in 2012 when it was already too broken to be used > >> reliabled. glibc support existed as an external patch but was never me= rged upstream. > >> We could consider removing the last bits of the kernel support as well= . > > > > This was my impression already in 2006, that Cirrus is not going to wor= k on Crunch support. From my PoV it's OK to remove the support in the kerne= l completely. > > Martin Guy did a lot of work trying to get the maverick crunch working bu= t I was never able to successfully use it for anything. It "kind" of works = but depending on the EP93xx silicon revision there are still a number of ha= rdware bugs that either give imprecise or garbage results. > > I have no problem with removing the kernel support for the maverick crunc= h. Either way, please consider adding a Link: https://github.com/ClangBuiltLinux/linux/issues/1272 tag. That will help us notice when/where this lands in order to close out the issue. Thanks for the patch. (if we go with this rather than removing the driver:) Acked-by: Nick Desaulniers (I'm also fine with removing the driver; my ack is not conditional on one way or the other). --=20 Thanks, ~Nick Desaulniers