[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] xen/arm: Basic support for sunxi/sun50i h6 platform.



On Tue, 3 Dec 2019 11:39:58 +0000
Julien Grall <julien@xxxxxxx> wrote:

Hi,

> (+Andre)
> 
> Hi,
> 
> @Andre, IIRC you originally added the support for sunxi in Xen. Could 
> you have a look at this patch?

Looks alright, and indeed the H6 needs it. Even though Allwinner totally 
re-arranged the memory map, they missed the opportunity to put each device at 
least in their own 4K page.

Reviewed-by: Andre Przywara <andre.przywara@xxxxxxx>


If you can wait till this evening, I can even test it.

It's actually a shame that we need this enumeration, when all we are after is 
an answer to the question: Does a device used by Xen share a 4K page with a 
device handed off to Dom0? It sounds like a nice rainy afternoon exercise to 
scan the DT to find those devices automatically and mask them (on the A64 for 
instance UART4 is on a different page).

Cheers,
Andre

> On 02/12/2019 08:49, Yangtao Li wrote:
> > adding compatible strings for h6 SoCs, Specifically orangepi3.
> > 
> > Signed-off-by: Yangtao Li <tiny.windzz@xxxxxxxxx>  
> > --- >   xen/arch/arm/platforms/sunxi.c | 1 +  
> >   1 file changed, 1 insertion(+)
> > 
> > diff --git a/xen/arch/arm/platforms/sunxi.c b/xen/arch/arm/platforms/sunxi.c
> > index 55705b15b2..e8e4d88bef 100644
> > --- a/xen/arch/arm/platforms/sunxi.c
> > +++ b/xen/arch/arm/platforms/sunxi.c
> > @@ -119,6 +119,7 @@ static const char * const sunxi_v8_dt_compat[] 
> > __initconst =
> >   {
> >       "allwinner,sun50i-a64",
> >       "allwinner,sun50i-h5",
> > +    "allwinner,sun50i-h6",
> >       NULL
> >   };
> >   
> >   
> 


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.