From patchwork Wed Nov 15 21:34:28 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sami Tolvanen X-Patchwork-Id: 10060415 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 22A4A604D4 for ; Wed, 15 Nov 2017 21:49:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 177BC2A320 for ; Wed, 15 Nov 2017 21:49:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0C5C12A322; Wed, 15 Nov 2017 21:49:08 +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 BDC352A323 for ; Wed, 15 Nov 2017 21:49:07 +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=SW7PNr46nsiAJr25NSOdvA/w3o2SG1dbl5SO+TzPCFE=; b=J4N7djk15MCvj+cvKDoavJCydO zPf6N0tdUBQNTyyHG46ozT2z08G8oowLW0pYhtRMPJCq0JMhY2hy3T3HKAWuFB2CdwsFfWJbH3PBw gzP9sAIiRpn5AUYcae6WziIy1VRp50BMh0cLX6qv9TmLxdzXxkrqkEs2UfujgRsXYSPKivzlqRrWj zEu7oAldG4CaLU5AL7E/ctii0Na2OvUM3D7pRzjRIrTRMepqNsdTGAfh1ewTaEll1gDm/GKIDd6fH G56/ljqL3svB7GC1dJlsjqlYTYqi0V4OOjcY012abK6N3+veFoLuvd+v+HgN82FH/TylYioX2Ndw8 h2+YBnDQ==; 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 1eF5YN-00040j-05; Wed, 15 Nov 2017 21:49:03 +0000 Received: from mail-it0-x242.google.com ([2607:f8b0:4001:c0b::242]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eF5LL-0000hZ-5l for linux-arm-kernel@lists.infradead.org; Wed, 15 Nov 2017 21:35:42 +0000 Received: by mail-it0-x242.google.com with SMTP id m191so3491012itg.2 for ; Wed, 15 Nov 2017 13:35:14 -0800 (PST) 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=7bnV4aO3A2emYZafiSnxSLBdUZwbIbak2QcueKPHnbA=; b=muz4E7J+11Bt6aZB1x8viItExqX2xnJthLQnXQ57k9EISccjx+IlKKaGldazIMWeB1 Xl89hdidotn3D5NCEMjzj4OGHdt1amKAh27U4Qj2bfUquFc0gS1tZZNwxp2dPN1i+c70 2PpFdfWDWJPVD5ZXDmWK/5/WKLfrPiuXk/pgiMCsh4L30YbeAO+cR4P4sJAWBOz8Whyf 5QkHS5XJoTlLlK/uBKr7jSDTOWuzBPLJO0GKtniNaUURoR+UNDoFfT6URKpVIlSSdFAI 9Go1frldBca11j0+KsFrwxngNemSgyv8L+20Z8SaqFzvwis0WUWAACwMItDKO4h3b2/n g4oQ== 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=7bnV4aO3A2emYZafiSnxSLBdUZwbIbak2QcueKPHnbA=; b=SPEyW94N+zjvFQfHxtEzNPzo757WLQaEKujjAJjXyIWtoqXlztJZUISwIOoACB7VNZ nJrsifYEhSb3ROhGDi70byevHk5TVTM/IqPGVVyHauFdEw/IXWviLYnDY0XHf7TxDMCB +eKrMmFtmu58Y+dw7BCKskMPJhae3jLIX2srWkszlJt8o4T2jBmOUuXkO90aFViwP3K9 hmI+Rtn/fSnXCpj2XOwMmL/YhRkbhdzOBnlzEfBJLdYeJFGXVcwXflVjuR3RJWmLGmT+ YBJi6ahSpHbmac/57SbLudkI14DBfAtp+fPcE0Hz09q70H6LCFRNY/VUiqRtovqypixH ZcHw== X-Gm-Message-State: AJaThX6TBH/DlT28Tk6yUT19Ffplr3EEkSzXm8ALPWRj0aUTrjruGksv mgQDB2pWLCi03L3mavLg54Mg5w== X-Google-Smtp-Source: AGs4zMagXbPiuYtsOCMkcFtqJwULKiTP6yDJFt2sXKRta40o+cTDN5x+1em6D+pvARMHL9H9U7t5Sg== X-Received: by 10.36.29.208 with SMTP id 199mr3190608itj.40.1510781713649; Wed, 15 Nov 2017 13:35:13 -0800 (PST) Received: from samitolvanen.mtv.corp.google.com ([100.98.112.14]) by smtp.gmail.com with ESMTPSA id 68sm9735197iov.2.2017.11.15.13.35.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 15 Nov 2017 13:35:12 -0800 (PST) From: Sami Tolvanen To: Alex Matveev , Andi Kleen , Ard Biesheuvel , Greg Hackmann , Kees Cook , linux-arm-kernel@lists.infradead.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Mark Rutland , Masahiro Yamada , Maxim Kuvyrkov , Michal Marek , Nick Desaulniers , Yury Norov , Matthias Kaehlcke Subject: [PATCH v2 18/18] arm64: select ARCH_SUPPORTS_LTO_CLANG Date: Wed, 15 Nov 2017 13:34:28 -0800 Message-Id: <20171115213428.22559-19-samitolvanen@google.com> X-Mailer: git-send-email 2.15.0.448.gf294e3d99a-goog In-Reply-To: <20171115213428.22559-1-samitolvanen@google.com> References: <20171115213428.22559-1-samitolvanen@google.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171115_133535_778122_5A81A485 X-CRM114-Status: UNSURE ( 8.80 ) 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 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_LTO_CLANG 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 3a70f763e18a..58504327b9f6 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -40,6 +40,7 @@ config ARM64 select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE if !PREEMPT select ARCH_USE_CMPXCHG_LOCKREF select ARCH_USE_QUEUED_RWLOCKS + select ARCH_SUPPORTS_LTO_CLANG select ARCH_SUPPORTS_MEMORY_FAILURE select ARCH_SUPPORTS_ATOMIC_RMW select ARCH_SUPPORTS_NUMA_BALANCING