Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1646560

RE: [PATCH 3/3][v4] staging: fsl-mc: move bus driver out of staging

From Laurentiu Tudor <laurentiu.tudor@nxp.com>
Newsgroups linux.kernel
Subject RE: [PATCH 3/3][v4] staging: fsl-mc: move bus driver out of staging
Date 2017-05-22 09:20 +0200
Message-ID <tJPNf-2pM-9@gated-at.bofh.it> (permalink)
References <tIQs2-2Qk-19@gated-at.bofh.it> <tIQs2-2Qk-21@gated-at.bofh.it> <tIQs2-2Qk-17@gated-at.bofh.it> <tJ6n7-5Ra-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Marc,

> -----Original Message-----
> From: Marc Zyngier [mailto:marc.zyngier@arm.com]
> Sent: Saturday, May 20, 2017 9:43 AM
> To: Matthias Brugger <matthias.bgg@gmail.com>
> Cc: Laurentiu Tudor <laurentiu.tudor@nxp.com>; gregkh@linuxfoundation.org;
> stuyoder@gmail.com; devel@driverdev.osuosl.org; arnd@arndb.de; Ruxandra
> Ioana Radulescu <ruxandra.radulescu@nxp.com>; Stuart Yoder
> <stuart.yoder@nxp.com>; Roy Pledge <roy.pledge@nxp.com>; linux-
> kernel@vger.kernel.org; agraf@suse.de; Catalin Horghidan
> <catalin.horghidan@nxp.com>; Ioana Ciornei <ioana.ciornei@nxp.com>;
> Thomas Gleixner <tglx@linutronix.de>; Leo Li <leoyang.li@nxp.com>; Bharat
> Bhushan <bharat.bhushan@nxp.com>; Jason Cooper <jason@lakedaemon.net>;
> linux-arm-kernel@lists.infradead.org; Rob Herring <robh+dt@kernel.org>
> Subject: Re: [PATCH 3/3][v4] staging: fsl-mc: move bus driver out of staging
> Importance: High
> 
> On Fri, May 19 2017 at 02:41:43 PM, Matthias Brugger
> <matthias.bgg@gmail.com> wrote:
> > On 19/05/17 15:13, laurentiu.tudor@nxp.com wrote:
> >> From: Stuart Yoder <stuart.yoder@nxp.com>
> >>
> >> Move the source files out of staging into their final locations:
> >>    -include files in drivers/staging/fsl-mc/include go to include/linux/fsl
> >>    -irq-gic-v3-its-fsl-mc-msi.c goes to drivers/irqchip
> >
> > This driver has as compatible "arm,gic-v3-its". I wonder if this is
> > correct and if it should be moved like this out of staging.
> 
> This is no different from the way we handle *any* bus that uses the
> GICv3 ITS as an MSI controller. Each bus provides its glue code that latches onto
> the ITS node, and calls into the generic code.
> 
> Now, when it comes to moving this out of staging, here is my concern:
> There is mention of a userspace tool (restool) used to control the HW. Where is
> this tool? Where is the user ABI documented?

The tool is published here:

https://github.com/qoriq-open-source/restool

There are two ways of configuring the mc-bus:
 - a static one, through a FDT based configuration file (we call it DPL), documented in the refman linked below, chapter 22.
 - a dynamic one, using this restool utility.
Please note the usage of restool is optional.

The reference manual documenting the ABI can be found here (registration required):

https://freescale.sdlproducts.com/LiveContent/content/en-US/QorIQ_SDK/GUID-53BEBDD8-1A5E-4DD0-8354-A9647AD35755

Click on the DPAA2 user manual link.

We're also working on publishing the docs on github so that they're more accessible.

---
Thanks & Best Regards, Laurentiu

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH 3/3][v4] staging: fsl-mc: move bus driver out of staging Matthias Brugger <matthias.bgg@gmail.com> - 2017-05-19 15:50 +0200
  Re: [PATCH 3/3][v4] staging: fsl-mc: move bus driver out of staging Stuart Yoder <b08248@gmail.com> - 2017-05-20 01:10 +0200
  Re: [PATCH 3/3][v4] staging: fsl-mc: move bus driver out of staging Marc Zyngier <marc.zyngier@arm.com> - 2017-05-20 08:50 +0200
    RE: [PATCH 3/3][v4] staging: fsl-mc: move bus driver out of staging Laurentiu Tudor <laurentiu.tudor@nxp.com> - 2017-05-22 09:20 +0200
      Re: [PATCH 3/3][v4] staging: fsl-mc: move bus driver out of staging Marc Zyngier <marc.zyngier@arm.com> - 2017-05-22 09:50 +0200
        RE: [PATCH 3/3][v4] staging: fsl-mc: move bus driver out of staging Laurentiu Tudor <laurentiu.tudor@nxp.com> - 2017-05-22 10:50 +0200
          Re: [PATCH 3/3][v4] staging: fsl-mc: move bus driver out of staging Marc Zyngier <marc.zyngier@arm.com> - 2017-05-22 11:10 +0200
            RE: [PATCH 3/3][v4] staging: fsl-mc: move bus driver out of staging Laurentiu Tudor <laurentiu.tudor@nxp.com> - 2017-05-22 11:20 +0200

csiph-web