From owner-freebsd-xen@freebsd.org Mon Jan 21 10:48:49 2019 Return-Path: Delivered-To: freebsd-xen@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B147A14A40CB for ; Mon, 21 Jan 2019 10:48:49 +0000 (UTC) (envelope-from julien.grall@arm.com) Received: from foss.arm.com (foss.arm.com [217.140.101.70]) by mx1.freebsd.org (Postfix) with ESMTP id 6E865832C5 for ; Mon, 21 Jan 2019 10:48:48 +0000 (UTC) (envelope-from julien.grall@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E011AEBD; Mon, 21 Jan 2019 02:48:40 -0800 (PST) Received: from [10.1.196.50] (e108454-lin.cambridge.arm.com [10.1.196.50]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id E12653F5C1; Mon, 21 Jan 2019 02:48:39 -0800 (PST) Subject: Re: ARM/ARM64 FreeBSD/Xen To: =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= , Uni Gaia Cc: freebsd-xen@freebsd.org References: <7914db96-5c0a-5cc9-3db2-2a85436b9f81@fastmail.jp> <20190121082720.ygi2qknaopcpctq2@mac> From: Julien Grall Message-ID: Date: Mon, 21 Jan 2019 10:48:37 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: <20190121082720.ygi2qknaopcpctq2@mac> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 6E865832C5 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of julien.grall@arm.com designates 217.140.101.70 as permitted sender) smtp.mailfrom=julien.grall@arm.com X-Spamd-Result: default: False [-2.52 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.97)[-0.974,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:217.140.96.0/20]; NEURAL_HAM_LONG(-1.00)[-0.997,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[arm.com]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.18)[0.180,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[arm-com.mail.protection.outlook.com,arm-com.mail.protection.outlook.com]; IP_SCORE(-0.02)[country: GB(-0.09)]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:28939, ipnet:217.140.101.0/24, country:GB]; RCVD_IN_DNSWL_HI(-0.50)[70.101.140.217.list.dnswl.org : 127.0.9.3]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2019 10:48:49 -0000 Hi, On 21/01/2019 08:27, Roger Pau Monné wrote: > On Sat, Jan 19, 2019 at 10:59:08AM +0000, Uni Gaia wrote: >> In https://wiki.xenproject.org/wiki/Xen_Project_Release_Features under >> "Supported Mainline Architectures for the hypervisor (Host)" it is written >> that ARMv7+virt extensions and ARMv8 are supported by Xen. >> >> Is work ongoing in porting FreeBSD/Xen to ARM/ARM64? > > AFAIK there's no current effort to port FreeBSD to run on Xen on ARM, > either as DomU or Dom0. > > I'm adding Julien who works on Xen on ARM, he might have more > information than myself, since I mostly work on x86. I worked on a port a few years ago but never had time to properly upstream it. I am not aware for more work since then. With my work, I was able to boot FreeBSD as both DomU and Dom0 guest. The work can be found on my git repository [1]. IIRC the branch dev-arm64 contains just enough boot a DomU and Dom0. There are other branches (e.g dev-evtchn, dev-xen-upstream) that contains cleanup series for making easier to have common Xen code between architectures. I am happy to provide help using the branches if you are interested. Although I haven't worked on them for the past 3 years :). Best regards, [1] https://xenbits.xen.org/gitweb/?p=people/julieng/freebsd.git;a=heads -- Julien Grall