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=-16.5 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_INVALID,DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=unavailable 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 727BEC433F5 for ; Fri, 10 Sep 2021 23:41:56 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (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 7A9AF60EFE for ; Fri, 10 Sep 2021 23:41:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 7A9AF60EFE Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.ozlabs.org Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4H5spn5mWVz2yK4 for ; Sat, 11 Sep 2021 09:41:53 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20210112 header.b=H1UyckYe; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=flex--ndesaulniers.bounces.google.com (client-ip=2607:f8b0:4864:20::849; helo=mail-qt1-x849.google.com; envelope-from=3ee07yqwkdoozpqemgxzuqdesaasxq.oayxuzgjbbo-pqhxuefe.alxmne.ads@flex--ndesaulniers.bounces.google.com; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20210112 header.b=H1UyckYe; dkim-atps=neutral Received: from mail-qt1-x849.google.com (mail-qt1-x849.google.com [IPv6:2607:f8b0:4864:20::849]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4H5sp01W7Rz2xrJ for ; Sat, 11 Sep 2021 09:41:10 +1000 (AEST) Received: by mail-qt1-x849.google.com with SMTP id e6-20020ac84e46000000b0029baad9aaa0so41465656qtw.11 for ; Fri, 10 Sep 2021 16:41:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=YZFNZaYPd/he7w5UBJM9lcDxSfmiDtcXiMqEOq338Jg=; b=H1UyckYemEOk1oyzIQmj7UFWuIpswTx8cNx7nsRcwyXPFRqUlG2fqYJIv6VYr9sFdm m3UpTxocjB8afQ4Fndfs/Jd40MQKs/2xmpSbeZdf2iseG//mSB5+io/wcS3rd3wFGgn9 1UqtU4N6Y2ZlJgL9NOPmk38lBzuKFFqpJLw/HBzZLHmJasP5/Yzj3vzU3RqNRdeuXy5v w1qrW/YJvGV+NqyCIRp4PnopGcKGdchMaSwiXAgV6xpvegaR6z/6R/ATcl6bJE24AyuC aJKAggT4Y8ZlinnpEcy7Au1CYlRsL4DQxk7gfNTaVXpZxM8KAYxCkTTibhFVK4lE/SY5 RFlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=YZFNZaYPd/he7w5UBJM9lcDxSfmiDtcXiMqEOq338Jg=; b=VyuxmxLBgTYNRRkW35pROc501l64BPim5kPbQp90W/L5Mta26NnLcyRxvJLq88MP01 JnrJ+gHIGFRXl9X5LbOdeEq7VAP9+zajg7ZLDbNwEYalgmqtrXJ3ZuJ+09PNSeoLvUUR 9iiMddbrcM0a3QSke8F5XHXHFOpKtVTVY9atNJj705VS/HdR3qMssd1PRjiD8Iddu8Gm YQz0k7sN9N2BfyJBp27zHJhw/sLXuORDVHI3Jeui6S/XCigQmes/m4vZ69NGHHu8nhcc VUyToE61ehQYvZu5fsZuLh48QFusSab2p7Sc42MjUaKRv5lPKkSR72/M/39t3XiJ6GQ0 n9cw== X-Gm-Message-State: AOAM531xB5uecmi6Be/vyEMyRcfcN9eWb2/XjfeP+PoibUbPi1RWdL7G hrI/dF+zGqiBEzg055/R2JOW0c9kuQN4EoQlLIg= X-Google-Smtp-Source: ABdhPJz6ElitxYBNsJgBjhqNLSWLWIZ6PP7s4iBODM2VeYjjSbItAEn46E/9kQl8RhKTgw7exy1/gynScmufZc9jtZI= X-Received: from ndesaulniers1.mtv.corp.google.com ([2620:15c:211:202:2b76:71d3:b5fb:3734]) (user=ndesaulniers job=sendgmr) by 2002:a0c:9d82:: with SMTP id s2mr10986321qvd.23.1631317265326; Fri, 10 Sep 2021 16:41:05 -0700 (PDT) Date: Fri, 10 Sep 2021 16:40:43 -0700 In-Reply-To: <20210910234047.1019925-1-ndesaulniers@google.com> Message-Id: <20210910234047.1019925-7-ndesaulniers@google.com> Mime-Version: 1.0 References: <20210910234047.1019925-1-ndesaulniers@google.com> X-Mailer: git-send-email 2.33.0.309.g3052b89438-goog Subject: [PATCH 06/10] powerpc: remove GCC version check for UPD_CONSTR From: Nick Desaulniers To: Andrew Morton Content-Type: text/plain; charset="UTF-8" X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Arnd Bergmann , linuxppc-dev@lists.ozlabs.org, Stephen Rothwell , Nick Desaulniers , Masahiro Yamada , llvm@lists.linux.dev, Rasmus Villemoes , linux-kernel@vger.kernel.org, Nathan Chancellor , Paul Mackerras , Joe Perches , Linus Torvalds Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" Now that GCC 5.1 is the minimum supported version, we can drop this workaround for older versions of GCC. This adversely affected clang, too. Cc: Michael Ellerman Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Segher Boessenkool Cc: Christophe Leroy Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Nick Desaulniers --- arch/powerpc/include/asm/asm-const.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/arch/powerpc/include/asm/asm-const.h b/arch/powerpc/include/asm/asm-const.h index 0ce2368bd20f..dbfa5e1e3198 100644 --- a/arch/powerpc/include/asm/asm-const.h +++ b/arch/powerpc/include/asm/asm-const.h @@ -12,16 +12,6 @@ # define ASM_CONST(x) __ASM_CONST(x) #endif -/* - * Inline assembly memory constraint - * - * GCC 4.9 doesn't properly handle pre update memory constraint "m<>" - * - */ -#if defined(GCC_VERSION) && GCC_VERSION < 50000 -#define UPD_CONSTR "" -#else #define UPD_CONSTR "<>" -#endif #endif /* _ASM_POWERPC_ASM_CONST_H */ -- 2.33.0.309.g3052b89438-goog