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

Re: [Xen-devel] [PATCH v3 3/3] xen/arm: Introduce support for Renesas R-Car Gen2 platform



Hello Ian,

When I discussed with Iurii Konovalenko about this naming during
review I mentioned following the Linux kernel way.

Shmobile within kernel is arm specific, not the same as arch/sh. In
the kernel you would find arch/arm/mach-shmobile folder where
Renesas'es R-CarX SoCs support reside. F.e. R8A7790 what is R-Car H2
we have on our table. Browsing the kernel configs you will find
shmobile not rcar as well.

From other hand I do not like rcar2 naming for uart. I would prefer
the IP block naming - scif.

Andrii Anisov | Team Lead
GlobalLogic
Kyiv, 03038, Protasov Business Park, M.Grinchenka, 2/1
P +38.044.492.9695x3664  M +380505738852  S andriyanisov
www.globallogic.com

http://www.globallogic.com/email_disclaimer.txt

On Wed, Jan 28, 2015 at 4:16 PM, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
>
> On Wed, 2015-01-28 at 15:48 +0200, Oleksandr Tyshchenko wrote:
> > Hi Ian
> >
> > On Wed, Jan 28, 2015 at 3:26 PM, Ian Campbell <Ian.Campbell@xxxxxxxxxx> 
> > wrote:
> > > On Fri, 2015-01-23 at 17:33 +0200, Oleksandr Tyshchenko wrote:
> > >> From: Iurii Konovalenko <iurii.konovalenko@xxxxxxxxxxxxxxx>
> > >>
> > >> Signed-off-by: Iurii Konovalenko <iurii.konovalenko@xxxxxxxxxxxxxxx>
> > >> Reviewed-by: Julien Grall <julien.grall@xxxxxxxxxx>
> > >> ---
> > >>  xen/arch/arm/platforms/Makefile   |  1 +
> > >>  xen/arch/arm/platforms/shmobile.c | 71 
> > >> +++++++++++++++++++++++++++++++++++++++
> > >>  2 files changed, 72 insertions(+)
> > >>  create mode 100644 xen/arch/arm/platforms/shmobile.c
> > >>
> > >> diff --git a/xen/arch/arm/platforms/Makefile 
> > >> b/xen/arch/arm/platforms/Makefile
> > >> index 8f47c16..29e931a 100644
> > >> --- a/xen/arch/arm/platforms/Makefile
> > >> +++ b/xen/arch/arm/platforms/Makefile
> > >> @@ -4,5 +4,6 @@ obj-$(CONFIG_ARM_32) += exynos5.o
> > >>  obj-$(CONFIG_ARM_32) += midway.o
> > >>  obj-$(CONFIG_ARM_32) += omap5.o
> > >>  obj-$(CONFIG_ARM_32) += sunxi.o
> > >> +obj-$(CONFIG_ARM_32) += shmobile.o
> > >
> > > Everything else calls the platform rcar. How does shmobile relate to
> > > that?
> > Unfortunately, the author of this patch in vacation now.
> >
> > Perhaps Iurii took this name from kernel part 
> > (Linux/arch/arm/mach-shmobile/...)
> > where the arch specific things for this platform is located,
> > especially the SMP and timer support.
> >
> > I would rename shmobile to rcar2.
>
> I'd prefer us to be consistent one way or another.
>
> Is RCAR2 a subset of shmobile or the other way around?
>
> http://am.renesas.com/applications/automotive/cis/cis_highend/rcar_h2/index.jsp
>  doesn't mention shmobile at all.
>
> Having determined which is the "parent"/superset my next question would
> be how similar are the various "children" -- similar enough to be a
> single platform in Xen, or different enough that we will need multiple
> platforms, since that would have an impact on which name I think we
> should pick.
>
> (To some extent we can fidge this since we can always git mv stuff, but
> we should at least give it our best guess up front)
>
>
> Ian.
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxx
> http://lists.xen.org/xen-devel

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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