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=-8.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 BE947C5519F for ; Sat, 21 Nov 2020 23:52:58 +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 486E320A8B for ; Sat, 21 Nov 2020 23:52:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="StfyGB3C"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="UuVFtbMr" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 486E320A8B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=misterjones.org 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-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Message-ID:References:In-Reply-To:Subject:To:From: Date:MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=N4Zmwouhkijdk+8wLHjapqhSCBO1NgHcLnCEWdOl18w=; b=StfyGB3CZmWQPXWX2rIGlgT85 svo1D3jF5bgDAwwMtQNODSAEMvn1dkX0pfxFmXRqUMCJSq+rGQcbFjpAoCQDBzXcB/bsgE8AMvCs3 yaOV4okvCHAPcAUdBVwb7IDH0sZoR3TAjpbds7st0SQMqC874V+is3HPcknKt1KwDmM+h4/4KnZx5 Hq+y8NXMYoFYh5wVPnnTeb5bSv9RScRMG9yd1O5mqTeAFxuxE31u5HiThIsY3hP0t9+SfkVlDQdDi mdI+ruDVE4QEzbHX+lDQfG45Tre9NzbafIcZwBpauMvtY4UA0krHwMhwO6ssazsJHiBCLB17DaYCo XCLkpiiJw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kgcg0-0008F3-H4; Sat, 21 Nov 2020 23:52:20 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kgcft-0008Dv-9M for linux-arm-kernel@merlin.infradead.org; Sat, 21 Nov 2020 23:52:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Message-ID:References:In-Reply-To: Subject:Cc:To:From:Date:Content-Transfer-Encoding:Content-Type:MIME-Version: Sender:Reply-To:Content-ID:Content-Description; bh=F2oz3YEyyGjJlNSmm5o2HWB4QKXzMXSCzIohxuO0Nlc=; b=UuVFtbMrCiGROjdjwG0SZF2mdO 5lN3RjsPGdAVXybxI5++z0T15noAXpFvAEeWcztsHB6wh/wA4DWcP9oxOcK9ivkAdvW2+UdeW448G e0IcUVfpiJUP2qIySP2ge3csDUEtCbHILQnuneUqYp0gRtY28Czhuv9TC5LnaLqIZoYLD4Maa4D2s 6pFEqeJhyW7yU819MR9FRnxQ5wAeE7xWfBlEw7R7LYG78NjYW5FxTe8/dDlSjb7ekGVoGJk7DYStJ IY85TL6HE1iypV9OTiaKWE+yi8t2bO2i6Whzv3HOYdu+pqSLMSetWtl+noRHeHULtoQ6bAoHhLbHu TRC1lh8Q==; Received: from disco-boy.misterjones.org ([51.254.78.96]) by casper.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kgRGN-0005yt-Ip for linux-arm-kernel@lists.infradead.org; Sat, 21 Nov 2020 11:41:11 +0000 Received: from disco-boy.misterjones.org ([51.254.78.96] helo=www.loen.fr) by disco-boy.misterjones.org with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94) (envelope-from ) id 1kgRFo-00CVLU-BN; Sat, 21 Nov 2020 11:40:32 +0000 MIME-Version: 1.0 Date: Sat, 21 Nov 2020 11:40:32 +0000 From: Marc Zyngier To: Nick Desaulniers Subject: Re: [PATCH v7 00/17] Add support for Clang LTO In-Reply-To: References: <20201118220731.925424-1-samitolvanen@google.com> User-Agent: Roundcube Webmail/1.4.9 Message-ID: X-Sender: maz@misterjones.org X-SA-Exim-Connect-IP: 51.254.78.96 X-SA-Exim-Rcpt-To: ndesaulniers@google.com, ardb@kernel.org, linux-arch@vger.kernel.org, adelva@google.com, keescook@chromium.org, paulmck@kernel.org, kernel-hardening@lists.openwall.com, peterz@infradead.org, gregkh@linuxfoundation.org, masahiroy@kernel.org, linux-kbuild@vger.kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, rostedt@goodmis.org, clang-built-linux@googlegroups.com, samitolvanen@google.com, jpoimboe@redhat.com, will@kernel.org, linux-arm-kernel@lists.infradead.org X-SA-Exim-Mail-From: maz@misterjones.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201121_114107_952473_74FCA647 X-CRM114-Status: GOOD ( 30.90 ) 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: linux-arch , Alistair Delva , Kees Cook , "Paul E. McKenney" , Kernel Hardening , Peter Zijlstra , Greg Kroah-Hartman , Masahiro Yamada , Linux Kbuild mailing list , LKML , Steven Rostedt , clang-built-linux , Josh Poimboeuf , Sami Tolvanen , PCI , Will Deacon , Ard Biesheuvel , Linux ARM Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 2020-11-20 23:53, Nick Desaulniers wrote: > On Fri, Nov 20, 2020 at 3:30 PM Ard Biesheuvel wrote: >> >> On Fri, 20 Nov 2020 at 21:19, Nick Desaulniers >> wrote: >> > >> > On Fri, Nov 20, 2020 at 2:30 AM Ard Biesheuvel wrote: >> > > >> > > On Thu, 19 Nov 2020 at 00:42, Nick Desaulniers wrote: >> > > > >> > > > Thanks for continuing to drive this series Sami. For the series, >> > > > >> > > > Tested-by: Nick Desaulniers >> > > > >> > > > I did virtualized boot tests with the series applied to aarch64 >> > > > defconfig without CONFIG_LTO, with CONFIG_LTO_CLANG, and a third time >> > > > with CONFIG_THINLTO. If you make changes to the series in follow ups, >> > > > please drop my tested by tag from the modified patches and I'll help >> > > > re-test. Some minor feedback on the Kconfig change, but I'll post it >> > > > off of that patch. >> > > > >> > > >> > > When you say 'virtualized" do you mean QEMU on x86? Or actual >> > > virtualization on an AArch64 KVM host? >> > >> > aarch64 guest on x86_64 host. If you have additional configurations >> > that are important to you, additional testing help would be >> > appreciated. >> > >> >> Could you run this on an actual phone? Or does Android already ship >> with this stuff? > > By `this`, if you mean "the LTO series", it has been shipping on > Android phones for years now, I think it's even required in the latest > release. > > If you mean "the LTO series + mainline" on a phone, well there's the > android-mainline of https://android.googlesource.com/kernel/common/, > in which this series was recently removed in order to facilitate > rebasing Android's patches on ToT-mainline until getting the series > landed upstream. Bit of a chicken and the egg problem there. > > If you mean "the LTO series + mainline + KVM" on a phone; I don't know > the precise state of aarch64 KVM and Android (Will or Marc would > know). If you are lucky enough to have an Android system booting at EL2, KVM should just works [1], though I haven't tried with this series. > We did experiment recently with RockPI's for aach64 KVM, IIRC; > I think Android is tricky as it still requires A64+A32/T32 chipsets, Which is about 100% of the Android systems at the moment (I don't think any of the asymmetric SoCs are in the wild yet). It doesn't really affect KVM anyway. M. [1] with the broken firmware gotchas that I believed to be erradicated 8 years ago, but are still prevalent in the Android world: laughable PSCI implementation, invalid CNTFRQ_EL0... -- Who you jivin' with that Cosmik Debris? _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel