From owner-svn-soc-all@freebsd.org Wed Jul 8 13:12:57 2015 Return-Path: Delivered-To: svn-soc-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 716229953F0 for ; Wed, 8 Jul 2015 13:12:57 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from kif.fubar.geek.nz (kif.fubar.geek.nz [178.62.119.249]) by mx1.freebsd.org (Postfix) with ESMTP id 2000710FA; Wed, 8 Jul 2015 13:12:50 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from bender (bender.sec.cl.cam.ac.uk [IPv6:2001:630:212:2a8:4e72:b9ff:fe93:61bf]) by kif.fubar.geek.nz (Postfix) with ESMTPSA id BCE3CD7E1C; Wed, 8 Jul 2015 13:12:13 +0000 (UTC) Date: Wed, 8 Jul 2015 14:12:12 +0100 From: Andrew Turner To: mihai@FreeBSD.org Cc: svn-soc-all@FreeBSD.org Subject: Re: socsvn commit: r288087 - in soc2015/mihai/bhyve-on-arm-head/sys/arm: conf include vmm Message-ID: <20150708141212.06e26358@bender> In-Reply-To: <201507081242.t68Cg5kl067497@socsvn.freebsd.org> References: <201507081242.t68Cg5kl067497@socsvn.freebsd.org> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.27; amd64-portbld-freebsd10.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: svn-soc-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the entire Summer of Code repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jul 2015 13:12:57 -0000 On Wed, 8 Jul 2015 12:42:05 GMT mihai@FreeBSD.org wrote: > Author: mihai > Date: Wed Jul 8 12:42:04 2015 > New Revision: 288087 > URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=288087 > > Log: > soc2015: mihai: bhyve: sys: arm: clean-up unused functions, > implement MAP_MEMORY policy, implement SET/GET regs, implement GET > mappings feature > > Modified: > soc2015/mihai/bhyve-on-arm-head/sys/arm/conf/FVP_VE_CORTEX_A15x1 > soc2015/mihai/bhyve-on-arm-head/sys/arm/include/vmm.h > soc2015/mihai/bhyve-on-arm-head/sys/arm/include/vmm_dev.h > soc2015/mihai/bhyve-on-arm-head/sys/arm/vmm/arm.c > soc2015/mihai/bhyve-on-arm-head/sys/arm/vmm/mmu.c > soc2015/mihai/bhyve-on-arm-head/sys/arm/vmm/mmu.h > soc2015/mihai/bhyve-on-arm-head/sys/arm/vmm/vmm.c > soc2015/mihai/bhyve-on-arm-head/sys/arm/vmm/vmm_dev.c > soc2015/mihai/bhyve-on-arm-head/sys/arm/vmm/vmm_mem.c > > Modified: > soc2015/mihai/bhyve-on-arm-head/sys/arm/conf/FVP_VE_CORTEX_A15x1 > ============================================================================== > --- > soc2015/mihai/bhyve-on-arm-head/sys/arm/conf/FVP_VE_CORTEX_A15x1 > Wed Jul 8 12:39:47 2015 (r288086) +++ > soc2015/mihai/bhyve-on-arm-head/sys/arm/conf/FVP_VE_CORTEX_A15x1 > Wed Jul 8 12:42:04 2015 (r288087) @@ -46,7 +46,7 @@ #options > ROOTDEVNAME=\"ufs:/dev/da0\" > options MD_ROOT > -options MD_ROOT_SIZE=10240 > +options MD_ROOT_SIZE=12288 > makeoptions MFS_IMAGE=/root/soc2015/mihai/ramdisk/ramdisk.img > options ROOTDEVNAME=\"ffs:/dev/md0\" Why not use virtio? On arm64 I added the following to the model parameters in DS-5: -C cluster.dcache-state_modelled=0 -C cluster.icache-state_modelled=0 -C motherboard.virtioblockdevice.image_path="/path/to/image.raw" Disabling the d-cache is important for virtio as it appears the virtio "hardware" is not cache-coherent. Andrew