From patchwork Mon Nov 9 22:47:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Desaulniers X-Patchwork-Id: 11892747 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=-17.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham 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 3A013C2D0A3 for ; Mon, 9 Nov 2020 22:47:49 +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 BDEFA206C0 for ; Mon, 9 Nov 2020 22:47:48 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="oSB00+8S"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=google.com header.i=@google.com header.b="ZMq8x5KW" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BDEFA206C0 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com 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:From:Subject:Mime-Version:Message-Id:Date: 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=j9XN177x3Kp/ASjHNtMXZPBvDkxPwAY5/E0dWnvGXv8=; b=oSB00+8SZTka2tPn9iN5OVrmmV nSBeAtQry9Ii2HNAaVk/UVyztb9Src4FPlPKswq76Z58vhcQ5qshd3AjIYAW+ciKDSd8BVTgnDluM nl7b4qhtv3UJFaeIc5w8xFXGVmUd6l5qztZggBuU21K1PRGKNJAVm/vcOB280NECnkPz3kZwYwSvv pULBJiteSaYx3zpbQxlujR6wjInStwsHJi2dYaQVNZB8l86E5JW+Jk2kB1JtaixSE/cv0sDcEBHQy qTKePBy4qXZBOVhec/i0B8rsFIAV5FbhqgSsAEp6Y/bKCxNx2EwQXNaUfRDFUMrNa8Q1fuplElntL LiSSt38A==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcFwa-0002Pq-0W; Mon, 09 Nov 2020 22:47:24 +0000 Received: from mail-qv1-xf4a.google.com ([2607:f8b0:4864:20::f4a]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcFwX-0002P7-7g for linux-arm-kernel@lists.infradead.org; Mon, 09 Nov 2020 22:47:22 +0000 Received: by mail-qv1-xf4a.google.com with SMTP id dd7so6680430qvb.6 for ; Mon, 09 Nov 2020 14:47:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=sender:date:message-id:mime-version:subject:from:to:cc; bh=bZ4K6V7c259yMftAZeIl2XziiPdlo9z+jlCG4AliFbc=; b=ZMq8x5KWu1tR8/9xaagtBGrCWE3Jxz9i5QAxSaipt1dvB9rSMujsiMBdm+SlT1n+Kt e3rwO/oMIf/D4jl//OAhsCQjFOxBrHWbbC3CXEpOBWLLim8qxKpjjlT1B4lBqpVhODPa sRAew8k5ht7KhXFMRJWUDi1uMxhS3Bhj5AkOwqwBPaLdr1IXLT+spDH/2U61eVGhcns0 TMNASfgBijcpVz/TH5PXU1V42GiBXUF9iSSxV967JmV6YYPCX9/kdTksJvrK+xIQruti EGey0eanibtx03F+FmjEHojcvEgt77ZD/LaePf3FPwl675/O/tD8FUIe22mUn2UsXW2C Rc6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:message-id:mime-version:subject:from :to:cc; bh=bZ4K6V7c259yMftAZeIl2XziiPdlo9z+jlCG4AliFbc=; b=RhMLEeTLnVPz/ul71lb8u4RM+hcV5ChVwxfqJJV0AsD2wFzNhWxHSAVLNIHwB8AqOM 3+Z/7HNxB4R/7MUCOtecO9+q24qfCu03PR7N9fJdfEs2RmTgmFGzOsRNmvnnM7CAVY0d vukeNg5shve8PSCjd75VwtdRDh+7m+PuuZxZrotn/sjtCC6/fjHCMDJbQM7BBrn4N5Hd HrFChbFe/QHCEFnSc+CPEvqYBYAs9p10a+VA35EY3rBM2RB/Tve0OAQb+cEaUM29RXiH aKRIw89aSSFYlHTeicwwckxj9m5HccSVGsH5UL3y83aeYGuW69IwRGJg2OSiGa4tw0K5 Ox5Q== X-Gm-Message-State: AOAM533bun/pzVPhYSE6xaiss/nFnH78ZMJujjkMkpGD5DlC9nDS6brG +L7uLkFI0eqhNjtnh4VLi1yQYgg+CIr6xvfIQqM= X-Google-Smtp-Source: ABdhPJz5xh4YuRwgUB3Qgv2UfvK/w6QHjuGWOP0FIZflbp9L6tYxvB8vXL//SwVVRFuX6G3O9MLGZNK1ypdoLyni+Wo= X-Received: from ndesaulniers1.mtv.corp.google.com ([2620:15c:211:202:f693:9fff:fef4:4d25]) (user=ndesaulniers job=sendgmr) by 2002:ad4:5345:: with SMTP id v5mr16851402qvs.15.1604962036983; Mon, 09 Nov 2020 14:47:16 -0800 (PST) Date: Mon, 9 Nov 2020 14:47:12 -0800 Message-Id: <20201109224713.16308-1-ndesaulniers@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.29.2.222.g5d2a92d10f8-goog Subject: [PATCH] ARM: Kconfig: CPU_BIG_ENDIAN depends on !LD_IS_LLD From: Nick Desaulniers To: Arnd Bergmann X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201109_174721_297821_A6A25D0E X-CRM114-Status: GOOD ( 13.36 ) 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: Fangrui Song , linux-kernel@vger.kernel.org, Nick Desaulniers , Russell King , Peter Smith , Jian Cai , Vincenzo Frascino , Thomas Gleixner , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org LLD does not yet support any big endian architectures. Make this config non-selectable when using LLD until LLD is fixed. Link: https://github.com/ClangBuiltLinux/linux/issues/965 Signed-off-by: Nick Desaulniers Reviewed-by: Nathan Chancellor Tested-by: Nathan Chancellor --- arch/arm/mm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mm/Kconfig b/arch/arm/mm/Kconfig index 65e4482e3849..02692fbe2db5 100644 --- a/arch/arm/mm/Kconfig +++ b/arch/arm/mm/Kconfig @@ -743,6 +743,7 @@ config SWP_EMULATE config CPU_BIG_ENDIAN bool "Build big-endian kernel" depends on ARCH_SUPPORTS_BIG_ENDIAN + depends on !LD_IS_LLD help Say Y if you plan on running a kernel in big-endian mode. Note that your board must be properly built and your board