From patchwork Fri Nov 3 17:12:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sami Tolvanen X-Patchwork-Id: 10040869 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C5C72602D8 for ; Fri, 3 Nov 2017 17:21:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AAFF429743 for ; Fri, 3 Nov 2017 17:21:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9D0702971E; Fri, 3 Nov 2017 17:21:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2CF732971E for ; Fri, 3 Nov 2017 17:21:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=8B3OPJobh8j5A283kjhITt03GIIYq8W/g9pKrDT3LlQ=; b=cBJPcVM37yM9v31N0PLVK77qZm N8XQj/Du8X78dT9ibAqno8KUUXKuXAK7WRLLZQAwyIIWPmgCr4gBgTkPNtHVIsSeruhRqQ4cPjNmG L+j8hhS21Qp4AYvcyDNLwBAVQzZzVEIbjRbXuSdULv0gATWRh5OZoK6UPnhl0N09tEfyHgtcD1u4C 72q7YCsmF1UivtMc/4yAu0+wXeT41HdYgj7Ovr2+jeRxciQwSlBE4x0J6EP06y/E3xVF4eQfXsoBf c8tddd9w+8dWGJhp/WhyE62R7+GsQX36Kth2Py7+/LAPgZ32rnr7vAGM9VsPcHyzGDxLvjLdkr03R Sxl8AbaA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eAfev-0008Bm-J2; Fri, 03 Nov 2017 17:21:33 +0000 Received: from casper.infradead.org ([85.118.1.10]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eAfer-0007HN-N4 for linux-arm-kernel@bombadil.infradead.org; Fri, 03 Nov 2017 17:21:29 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=As4erWaMNL43SXEcTYtARKmbCcFxqp4+COX9LNxZTGE=; b=uCF3ZrVLEPvpe7pzO56dd8pbn 2zD3sc7rTlqke+0QIZEEmEj2MXcsyMFsImf2L+EwEiGnxcOv4O4dNYfNMpFU8jkUl03C/5L8+fmbV GJivb4IflqOeFsg35gwFRmWTmUHmssa7fScgeKhG4c+MViyuVhX5Jr74lti2UdROdZ3uWBQefV3SF FTjjRqtNDEDc63cOVi1+m7M+vErYVOosAsTaA4MFbRBBfBuvvDKft17Oqybro/dp+LtqVRmqJVkIA laaQPEHGlNKlfSN8ybGxFIQvN++00+dk5Wd6hHzDxj8xOlNKrdi9RuCuPSNw7U7Wd0Osa+1+dCcfM UTN9vUCcw==; Received: from mail-io0-x242.google.com ([2607:f8b0:4001:c06::242]) by casper.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eAfX5-0003uL-O2 for linux-arm-kernel@lists.infradead.org; Fri, 03 Nov 2017 17:13:29 +0000 Received: by mail-io0-x242.google.com with SMTP id i38so7764311iod.2 for ; Fri, 03 Nov 2017 10:13:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=As4erWaMNL43SXEcTYtARKmbCcFxqp4+COX9LNxZTGE=; b=OnboL0ZZr4f2uUSW7tdbqnAdE3YeDBNzZorRDLsyZ78LhXoisz1IWK+zuQI1HZU0ce RuYPYbvHAvFbKA2yIGv8nh0ZkhHeFl6KGJ+fhAEgFVa9cNHU/XWdJVBHEJDPd5Ujfk/m QjewXFkdj0AXZlQ7yeSN5YlZr1oOXXY2tfyoq1AorhCk5Y5VB2ueyWe32M+/0VkI/Y/n NRE72xlgLiBOjwTZHB73ntrKIgQKIX9Bv84bjW56FotaACch+nBcA+nP4yM6jiGGLS4l fMmGxwxZ81EdVm1fQsUV4+24Htoq8MjJTSiLhjnY7++WVQZaM0xnnfMZXJM6vpBDUgB7 7f4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=As4erWaMNL43SXEcTYtARKmbCcFxqp4+COX9LNxZTGE=; b=QgpOXcC4V630p9RKVYt/T1IrJWHnkQMNJ8KhvSOTfTnVDRW2N7eMaaVSW0NJKHzCt6 D6VbXbAEf5vRt1irW9grpd/SkbRnkU+lBvadYLz9m+X8mh/i+VBq/f3X48dpx2yEDJ0X pzwdIm5qBdtRT72sdxBiCtVy89farxYcDpcFWFqu1OkCfU1LidUa9sy+xbju12nXOqHe Tza/bohhZ/XfHNQCAa0ByUynbrC52P/ZUWVRcfGYT1VVbcJ+xvjBroka7p44SyKWXBPO QsB5j3sZKnvIS9+fKkQhvJCdoSKWoX8LuU0jE4UnbRBZPsnQewogy1W5eiLQjDEZ4d/b W5hA== X-Gm-Message-State: AJaThX5Ypd1cw61BHnaoWxMh9LGHwT3cLzonVLeVqRZt81udhelH4wlB 2w+HF/yg6akpoUJiZYHyrAcZYw== X-Google-Smtp-Source: ABhQp+TzBbzmHCJIMQe/ciYYrYsod/Wjsk3A+6t2HrARtifsbmoiucwI9TTh1nbFVnFin2EyUtu9jA== X-Received: by 10.36.118.210 with SMTP id z201mr734379itb.78.1509729188175; Fri, 03 Nov 2017 10:13:08 -0700 (PDT) Received: from samitolvanen.mtv.corp.google.com ([100.98.112.14]) by smtp.gmail.com with ESMTPSA id d186sm1370787itd.38.2017.11.03.10.13.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 03 Nov 2017 10:13:07 -0700 (PDT) From: Sami Tolvanen To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 15/15] arm64: select ARCH_SUPPORTS_CLANG_LTO Date: Fri, 3 Nov 2017 10:12:03 -0700 Message-Id: <20171103171203.107569-20-samitolvanen@google.com> X-Mailer: git-send-email 2.15.0.403.gc27cc4dac6-goog In-Reply-To: <20171103171203.107569-1-samitolvanen@google.com> References: <20171103171203.107569-1-samitolvanen@google.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171103_171327_885246_681D6804 X-CRM114-Status: UNSURE ( 8.98 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sami Tolvanen , Matthias Kaehlcke , Nick Desaulniers , Kees Cook , Greg Hackmann MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Allow CONFIG_CLANG_LTO to be enabled for the architecture. Signed-off-by: Sami Tolvanen --- arch/arm64/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index a301fdc90319..6ae31f0c58ee 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -23,6 +23,7 @@ config ARM64 select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST select ARCH_HAVE_NMI_SAFE_CMPXCHG if ACPI_APEI_SEA select ARCH_USE_CMPXCHG_LOCKREF + select ARCH_SUPPORTS_CLANG_LTO select ARCH_SUPPORTS_MEMORY_FAILURE select ARCH_SUPPORTS_ATOMIC_RMW select ARCH_SUPPORTS_NUMA_BALANCING