From patchwork Wed Jun 29 18:02:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Fainelli X-Patchwork-Id: 12900532 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0490AC43334 for ; Wed, 29 Jun 2022 18:04:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=yhlXOZY/Tu3Qs0u4cK0i9l1YFDYG59kSNiEt5pFsyxU=; b=lgcprJPtTQkvSu w8e1uZSZ9uTRACiX7FU6HMR/KaclJZrOuMPI8GzsBUlbo0s6CS+IZ9fkXLiNUCJdePKtMqEMWLElF hrR7HnqeXgl6GA8C3pB2BESaWLgjXPxKWRQW+Q+1e4xsm7I41WByBaFaahC278nCLjvY6Nyj8mmo/ Dp5Aw10WvPECeSmvan1ZZoJ+gJITmydyzEhmt9FHbv/wQsAKqpfw7ezRBUMlKTm01NhLFS97pG2+k w9HPr54OXJ5qbfhR0V8d5Ecz+5rcIYNlipknJ8FPo9JTJyr8E6gLkbFICiBhpKmFz7xk4RbodMDa2 vGANkDc+0DAETNtcKD9g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o6c1a-00DLrb-3e; Wed, 29 Jun 2022 18:02:51 +0000 Received: from mail-pl1-x632.google.com ([2607:f8b0:4864:20::632]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o6c1T-00DLmm-I6 for linux-arm-kernel@lists.infradead.org; Wed, 29 Jun 2022 18:02:45 +0000 Received: by mail-pl1-x632.google.com with SMTP id k14so14826836plh.4 for ; Wed, 29 Jun 2022 11:02:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=OeT2ITrjmuVxlcpJzzC4BUYFkEFLXsguD1Lu33hDD8A=; b=PPaFWkYUAhPqssi/bSgVMVOJGJonL2COt9o59m5Hi/6thI4htaY8Zdw/dFbmNn0n3Y n9KPJuvlpK9+TsAf4xnv0KUFLNASjmo9SBYG5+s3wHtsDfLiAz7uD5qNpcLTYF60/XWK BnpJZaFimUbWD5715dqYmpjUaDt39f4qQ8VY6Zi/0Xh/UFHN15KxMWZlFD2z5HevaWM1 hG9z1suQpmPRDi3ZPV9diKxKPgPVajJlO55/sV8ltH+IOFn/7eCPuXX7CYVv9nes0JHQ iZPww5SxtpMh2jTSC54QCiemWSTR7U/ZDmvS0if5YwpLqKXTky/wpRABfNzXPU8gDtRW WRHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=OeT2ITrjmuVxlcpJzzC4BUYFkEFLXsguD1Lu33hDD8A=; b=n1dE10qcqQerd4qvu7TFgpJGKO/W3TK4VkRQo9XBcbf1vRocm9gMghKr0rfZJ7RqZi hmOwdsdyIlsyu961ufnWAmhf4I9nM3tPv2kXc9bF5W3Jm34gs205rBCZl+BTceB/ZOfn x/3ZoWItDdnqEQWIWzmmvTwVemHb7TweqZe+PdVBeHPJP8EGTvAOj3yagTkQ9XX2hUMl zFX6vGrkJRfddCRA4PMPJ33wo5FTO/+2D3/V6fSodlJ0nQwHHusb9WPDdtHbRH6dMn+U F7RogNl4d79vQsDOItc9GfmYaEZ5/4mEEk50UPbamwadRP5B7krQZBeJtvazT/mBUs6+ fNzw== X-Gm-Message-State: AJIora+AH8bBh6O61TOkjRkHUxpnFWGelDWL1aQSnQuBq16gnq/zjqAm u29Lsjw1Mz2QlBhcB7D7CDI= X-Google-Smtp-Source: AGRyM1vlpn9VfkHdI1GSkmUIdEu8Va4vyYc4mICOFLm2qyu6WECUH/zTfRBEKfnpd7iO8mD0eGfT8Q== X-Received: by 2002:a17:90a:c4f:b0:1df:a178:897f with SMTP id u15-20020a17090a0c4f00b001dfa178897fmr5155617pje.19.1656525758913; Wed, 29 Jun 2022 11:02:38 -0700 (PDT) Received: from fainelli-desktop.igp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id s7-20020a17090302c700b00168e83eda56sm11736371plk.3.2022.06.29.11.02.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jun 2022 11:02:38 -0700 (PDT) From: Florian Fainelli To: stable@vger.kernel.org Cc: Florian Fainelli , Russell King , Herbert Xu , "David S. Miller" , Tony Lindgren , Hans Ulli Kroll , Ard Biesheuvel , Stefan Agner , Nick Desaulniers , Nicolas Pitre , Andre Przywara , "Russell King (Oracle)" , Greg Kroah-Hartman , Catalin Marinas , Jian Cai , linux-arm-kernel@lists.infradead.org (moderated list:ARM PORT), linux-kernel@vger.kernel.org (open list), linux-crypto@vger.kernel.org (open list:CRYPTO API), linux-omap@vger.kernel.org (open list:OMAP2+ SUPPORT), clang-built-linux@googlegroups.com (open list:CLANG/LLVM BUILD SUPPORT), Sasha Levin Subject: [PATCH stable 5.4 00/11] ARM 32-bit build with Clang IAS Date: Wed, 29 Jun 2022 11:02:16 -0700 Message-Id: <20220629180227.3408104-1-f.fainelli@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220629_110243_704291_0CBEA249 X-CRM114-Status: GOOD ( 12.48 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi, This patch series is a collection of clean cherry picks into the 5.4 kernel allowing us to use the Clang integrated assembler to build the ARM 32-bit kernel. This is useful in order to have proper build and runtime coverage of the stable kernel(s). Ard Biesheuvel (3): crypto: arm/sha256-neon - avoid ADRL pseudo instruction crypto: arm/sha512-neon - avoid ADRL pseudo instruction crypto: arm - use Kconfig based compiler checks for crypto opcodes Jian Cai (2): ARM: 8971/1: replace the sole use of a symbol with its definition ARM: 9029/1: Make iwmmxt.S support Clang's integrated assembler Nick Desaulniers (1): ARM: 8933/1: replace Sun/Solaris style flag on section directive Stefan Agner (5): ARM: 8989/1: use .fpu assembler directives instead of assembler arguments ARM: 8990/1: use VFP assembler mnemonics in register load/store macros ARM: 8929/1: use APSR_nzcv instead of r15 as mrc operand ARM: OMAP2+: drop unnecessary adrl crypto: arm/ghash-ce - define fpu before fpu registers are referenced arch/arm/boot/bootp/init.S | 2 +- arch/arm/boot/compressed/big-endian.S | 2 +- arch/arm/boot/compressed/head.S | 4 +- arch/arm/boot/compressed/piggy.S | 2 +- arch/arm/crypto/Kconfig | 14 +++-- arch/arm/crypto/Makefile | 32 ++-------- arch/arm/crypto/crct10dif-ce-core.S | 2 +- arch/arm/crypto/ghash-ce-core.S | 4 +- arch/arm/crypto/sha1-ce-core.S | 1 + arch/arm/crypto/sha2-ce-core.S | 1 + arch/arm/crypto/sha256-armv4.pl | 4 +- arch/arm/crypto/sha256-core.S_shipped | 4 +- arch/arm/crypto/sha512-armv4.pl | 4 +- arch/arm/crypto/sha512-core.S_shipped | 4 +- arch/arm/include/asm/assembler.h | 3 +- arch/arm/include/asm/vfpmacros.h | 19 +++--- arch/arm/kernel/iwmmxt.S | 89 ++++++++++++++------------- arch/arm/kernel/iwmmxt.h | 47 ++++++++++++++ arch/arm/mach-omap2/sleep34xx.S | 2 +- arch/arm/mm/proc-arm1020.S | 2 +- arch/arm/mm/proc-arm1020e.S | 2 +- arch/arm/mm/proc-arm1022.S | 2 +- arch/arm/mm/proc-arm1026.S | 6 +- arch/arm/mm/proc-arm720.S | 2 +- arch/arm/mm/proc-arm740.S | 2 +- arch/arm/mm/proc-arm7tdmi.S | 2 +- arch/arm/mm/proc-arm920.S | 2 +- arch/arm/mm/proc-arm922.S | 2 +- arch/arm/mm/proc-arm925.S | 2 +- arch/arm/mm/proc-arm926.S | 6 +- arch/arm/mm/proc-arm940.S | 2 +- arch/arm/mm/proc-arm946.S | 2 +- arch/arm/mm/proc-arm9tdmi.S | 2 +- arch/arm/mm/proc-fa526.S | 2 +- arch/arm/mm/proc-feroceon.S | 2 +- arch/arm/mm/proc-mohawk.S | 2 +- arch/arm/mm/proc-sa110.S | 2 +- arch/arm/mm/proc-sa1100.S | 2 +- arch/arm/mm/proc-v6.S | 2 +- arch/arm/mm/proc-v7.S | 2 +- arch/arm/mm/proc-v7m.S | 4 +- arch/arm/mm/proc-xsc3.S | 2 +- arch/arm/mm/proc-xscale.S | 2 +- arch/arm/vfp/Makefile | 2 - arch/arm/vfp/vfphw.S | 30 ++++++--- 45 files changed, 187 insertions(+), 143 deletions(-) create mode 100644 arch/arm/kernel/iwmmxt.h