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=-6.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS 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 A318EC11D05 for ; Thu, 20 Feb 2020 10:29:17 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 7571A24676 for ; Thu, 20 Feb 2020 10:29:17 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="l84TNfDY"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="JeR9EVZC" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7571A24676 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-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=bombadil.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=Ghe+s5ZmUY8LM7IJP+Xdn+XFsVnhp/A5DvKgjyMeF7w=; b=l84TNfDYKlkpofTSABvoM7iS5 4b4iBuRYh2luepO+lUHVdyHlY2v6PZd5P82+8tBkGLmB97Y/ApY3pOkf+3c7EfkmhgMU7RYSwQXR9 NYKNYcQce6CqpImdR/F/1X/rHaKIea0WVui5WG8es8M3G2y8y9m7wwp3GA1xT5sUg/EIosFVhphhQ FqR9i8gGFhzl6qDpEac8KQQK+zKfm7JKFdTSorv6roBJCem/NKKeUAjl7/qw3Ur+QR8NbwTJ+qrwE w2SqtwuMD25jARdnq3ujg6qpG33cm78SN6a90TRYzUX26w9xQvRWOov71Y7nx7b/jE2uY7L7uWuVa wcwbtbypA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1j4j53-00072A-20; Thu, 20 Feb 2020 10:29:17 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1j4j4z-00071V-Ps for linux-arm-kernel@lists.infradead.org; Thu, 20 Feb 2020 10:29:15 +0000 Received: from disco-boy.misterjones.org (disco-boy.misterjones.org [51.254.78.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5BF7C20801; Thu, 20 Feb 2020 10:29:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582194553; bh=89ixU0szikhKLR+8AWYd9tNddCd483x7QZqiB73/Uco=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=JeR9EVZCzgexZ6fjQV7E14xQO/TIF++cY0/wAZwh8aOBHdJe2DzMtcZYuoHsMi+k6 YY+hiAp/34k9+IefUfaLKdW9OLyr4CTj//t7rwxabjvF/OwgtM99osg+kVoFeOpptK pUiaBngxgCh1evcY65CNc81K5XeY09g0f7hp8waw= Received: from disco-boy.misterjones.org ([51.254.78.96] helo=www.loen.fr) by disco-boy.misterjones.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1j4j4x-006hip-NY; Thu, 20 Feb 2020 10:29:11 +0000 MIME-Version: 1.0 Date: Thu, 20 Feb 2020 10:29:11 +0000 From: Marc Zyngier To: Jan Kiszka Subject: Re: [RFC PATCH 0/5] Removing support for 32bit KVM/arm host In-Reply-To: References: <20200210141324.21090-1-maz@kernel.org> Message-ID: <535d8a4498d81b4901dfab232638d865@kernel.org> X-Sender: maz@kernel.org User-Agent: Roundcube Webmail/1.3.10 X-SA-Exim-Connect-IP: 51.254.78.96 X-SA-Exim-Rcpt-To: jan.kiszka@siemens.com, arnd@arndb.de, linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org, james.morse@arm.com, julien.thierry.kdev@gmail.com, suzuki.poulose@arm.com, pbonzini@redhat.com, Christoffer.Dall@arm.com, will@kernel.org, qperret@google.com, linux@arm.linux.org.uk, vladimir.murzin@arm.com, anders.berg@lsi.com, jailhouse-dev@googlegroups.com, jean-philippe.brucker@arm.com X-SA-Exim-Mail-From: maz@kernel.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-20200220_022913_874549_F3B416BE X-CRM114-Status: GOOD ( 18.00 ) 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: jailhouse-dev@googlegroups.com, Anders Berg , Vladimir Murzin , Russell King , Arnd Bergmann , kvm list , Suzuki K Poulose , jean-philippe.brucker@arm.com, Quentin Perret , Christoffer Dall , James Morse , Linux ARM , Paolo Bonzini , Will Deacon , kvmarm@lists.cs.columbia.edu, Julien Thierry Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 2020-02-19 15:46, Jan Kiszka wrote: > On 19.02.20 16:09, Arnd Bergmann wrote: >> On Mon, Feb 10, 2020 at 3:13 PM Marc Zyngier wrote: >>> >>> KVM/arm was merged just over 7 years ago, and has lived a very quiet >>> life so far. It mostly works if you're prepared to deal with its >>> limitations, it has been a good prototype for the arm64 version, >>> but it suffers a few problems: >>> >>> - It is incomplete (no debug support, no PMU) >>> - It hasn't followed any of the architectural evolutions >>> - It has zero users (I don't count myself here) >>> - It is more and more getting in the way of new arm64 developments >>> >>> So here it is: unless someone screams and shows that they rely on >>> KVM/arm to be maintained upsteam, I'll remove 32bit host support >>> form the tree. One of the reasons that makes me confident nobody is >>> using it is that I never receive *any* bug report. Yes, it is >>> perfect. >>> But if you depend on KVM/arm being available in mainline, please >>> shout. >>> >>> To reiterate: 32bit guest support for arm64 stays, of course. Only >>> 32bit host goes. Once this is merged, I plan to move virt/kvm/arm to >>> arm64, and cleanup all the now unnecessary abstractions. >>> >>> The patches have been generated with the -D option to avoid spamming >>> everyone with huge diffs, and there is a kvm-arm/goodbye branch in >>> my kernel.org repository. >> >> Just one more thought before it's gone: is there any shared code >> (header files?) that is used by the jailhouse hypervisor? >> >> If there is, are there any plans to merge that into the mainline >> kernel >> for arm32 in the near future? >> >> I'm guessing the answer to at least one of those questions is 'no', so >> we don't need to worry about it, but it seems better to ask. > > Good that you mention it: There is one thing we share on ARM (and > ARM64), and that is the hypervisor enabling stub, to install our own > vectors. If that was to be removed as well, we would have to patch it > back downstream. So far, we only carry few EXPORT_SYMBOL patches for > essential enabling. I actually have a few extra patches on top of the series, one of them actually removing the ability to register new vectors (mostly because I don't like leaving unused stuff behind), see [1]. I'll post an update so that we can discuss whether we want this particular to stay or not. > That said, I was also starting to think about how long we will > continue to support Jailhouse on 32-bit ARM. We currently have no > supported SoC there that comes with an SMMU, and I doubt to see one > still showing up. So, Jailhouse on ARM is really just a testing/demo > case, maybe useful (but I didn't get concrete feedback) for cleaner > collaborative AMP for real-time purposes, without security concerns. I > assume 32-bit ARM will never be part of what would be proposed of > Jailhouse for upstream. I guess we all come to the same conclusion... M. [1] https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/commit/?h=kvm-arm/goodbye&id=0943dd119105b65197adffda52c402cce28da56d -- Jazz is not dead. It just smells funny... _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel