Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jul 2015 14:12:12 +0100
From:      Andrew Turner <andrew@fubar.geek.nz>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150708141212.06e26358>