Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp353265ybv; Wed, 19 Feb 2020 23:10:22 -0800 (PST) X-Google-Smtp-Source: APXvYqx12h5RbdyhODn3LnA5joZICKVIW0G8uD8KRaV457nKK0YMAlB2yZSZZFLWMqrcteE7AoCx X-Received: by 2002:a05:6808:24e:: with SMTP id m14mr1086482oie.168.1582182622655; Wed, 19 Feb 2020 23:10:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582182622; cv=none; d=google.com; s=arc-20160816; b=qn7dE7ERahHAYzKWgnxbs1ugIXQDA1VV4KT0cwe2ljx5+gG14tWmxGhfyWFw7+npJP yIi2frObfEucZQ4H9fqRhB4KzKxB9+ArbRl+zyqaJAaDUEyFnOk15Su7jXsY6MV0OVZ8 /dIMTCLoAnnJiZ3uHG9ShvUcVhoGvV8PrBnSFszyo/Qa9W/sexTxdDQ4v+9X/7Sxur5m 9wEXIR/wJI0F3rYsXBLP8p2TkO06KZsOyICQvmsPXYUW2+kgvyh/oC8UHOKhq56WZ7gY ACb+ZPXoEnkhiHt0S2fkIOx3OMRaz/LwvgYVjX36mXTrFIl9FgpOS5VDoyRhzVKdoZvH JrNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=POVTpdVjIuXErB6feo2vbyomdcVNBxMT105LRj1KJOE=; b=v2na9E4SFfQ18sKGwi93M3W9YiIb1IiF+MUhnCrCJGELiHCS/sZsQVsRlmUnI2U5Fn IXATH399Ya4fU3Pn9VbjChhw4r4ejRa9+0IKHabRyN2pshhLj7aFT1O8y9X32FrcfMO1 RQeioifsGX8tlx6aLyu0887676xmFUpbO3vkyybt5fuvxMNlrLtfmBe1vhDSyjO7mCew RD/iy721S/np1LHHdXVRsYNGdoVKENR5e+0oOTjBLAxdI/AyMlj9r/gpV7SE0bh2nJQc ejDULqVujwXt9MOB0po6zYtVPyDwYIj9YQ2NQBdqASK21TG5gPLiWAjX3HEaCNU4slg5 LE5Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x6si1246518ota.322.2020.02.19.23.10.08; Wed, 19 Feb 2020 23:10:22 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726771AbgBTHJ6 (ORCPT + 99 others); Thu, 20 Feb 2020 02:09:58 -0500 Received: from lizzard.sbs.de ([194.138.37.39]:44914 "EHLO lizzard.sbs.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725942AbgBTHJ6 (ORCPT ); Thu, 20 Feb 2020 02:09:58 -0500 Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by lizzard.sbs.de (8.15.2/8.15.2) with ESMTPS id 01K79rg6007338 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 20 Feb 2020 08:09:53 +0100 Received: from [167.87.7.122] ([167.87.7.122]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id 01K79pNX027400; Thu, 20 Feb 2020 08:09:52 +0100 Subject: Re: [ANNOUNCE] Jailhouse 0.12 released To: Peng Fan , Jailhouse Cc: Linux Kernel Mailing List , Alice Guo References: From: Jan Kiszka Message-ID: <9bdd0eae-dbaf-f5a3-d067-81b0ae88522f@siemens.com> Date: Thu, 20 Feb 2020 08:09:50 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 20.02.20 03:39, Peng Fan wrote: >> Subject: [ANNOUNCE] Jailhouse 0.12 released >> >> This release is an important milestone for Jailhouse because it comes with a >> reworked inter-cell communication device with better driver support and >> even an experimental virtio transport model for this. > > Great to know this. If there is interest, please provide feedback, ideally also in the circle where I started spec discussions and QEMU implementation. > >> >> While this shared memory device model is still in discussion with virtio and >> QEMU communities, thus may undergo some further smaller changes, it was >> important to move forward with it because there is an increasing demand for >> it on the Jailhouse side. We now support multi-peer connection, have a secure >> (unprivileged) and efficient UIO driver and can even start working on virtio >> integration - without having to touch the hypervisor any further. More >> information also in [1]. > > Do we need to use qemu for virtio backend? > Nope, in fact there are only primitive demo backends for block and console available that make use of UIO, see http://git.kiszka.org/?p=linux.git;a=blob;f=tools/virtio/virtio-ivshmem-block.c;h=c97aa5076a6d22ccd01862f3e4db0e12641825c3;hb=refs/heads/queues/ivshmem2 and http://git.kiszka.org/?p=linux.git;a=blob;f=tools/virtio/virtio-ivshmem-console.c;h=c79be22c6a7aa4c2eb49561e8c0d7c9a052e393d;hb=refs/heads/queues/ivshmem2 I was hoping to find something useful in ACRN but didn't succeed. So I hacked up these two (basically in two evenings, that's why these two are copy&paste). For the future, when the transport is more stable, looking into a vhost mapping could be beneficial, specifically for networking. Another direction could be https://github.com/rust-vmm/vm-virtio. >> >> The release has another important new, and that is SMMUv3 for ARM64 >> target, as well as the TI-specific MPU-like Peripheral Virtualization Unit (PVU). >> SMMUv2 support is unfortunately still waiting in some NXP downstream >> branch for being pushed upstream. > > Alice in Cc is doing this effort together with i.MX8QM upstreaming. > Great, looking forward! >> >> Note that there are several changes to the configuration format that require >> adjustments of own configs. Please study related changes in our reference >> configurations or, on x86, re-generate the system configuration. >> >> Due to all these significant changes, statistics for this release look about more >> heavyweight than usual: >> 195 files changed, 7185 insertions(+), 2612 deletions(-) > > Yeah!! Besides this, any people still interested in booting jailhouse before Linux? > I have achieved this on i.MX8MM with Linux + gic-demo cell, with a baremetal > program and using U-Boot FIT to load all images. Yes, there is definitely interest, for various reasons. One can be cache coloring. We are also considering to look into this boot mode in the context of the just started RISC-V port. And there might be a case on x86 again, but the boot environment is still not clear to me there (likely not UEFI). If you have a prototype for ARM64 and U-Boot, that would be great to see it, maybe let more people play with it. Eventually, I want to start discussing requirements and potentially required new interfaces. Jan -- Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux