Re: [PATCH] staging: fsl-mc: up-rev version of MC interface code

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

 



On Tue, Sep 15, 2015 at 03:22:00PM -0500, J. German Rivera wrote:
> The DPAA2 management complex has a versioned binary interface
> that has to be kept in sync with the DPAA2 drivers. This patch
> uprevs the APIs that build MC commands and parse results.
> This uprev is needed to support object interrupts.
> 
> MC binary interface changes
>    -overall version from 6.0 to 8.0
>    -dprc version from 3.0 to 4.0
>    -dpbp and dpmcp versions from 2.0 to 2.1
>    -new dprc commands -- set/get obj irq, set obj label,
>                         get obj descriptor
>    -removed commands -- get portal paddr
>    -object regions are reported as region offsets not physical
>     addresses
> 
> build/parse API changes
>    -flags arg is added to all APIs for future extensibility,
>     hardcoded priority bit is now a flag
>    -IRQ-related args are consolidated into an irq_cfg struct
> 
> Signed-off-by: J. German Rivera <German.Rivera@xxxxxxxxxxxxx>
> ---
>  drivers/staging/fsl-mc/bus/dpbp.c           | 141 ++++++---
>  drivers/staging/fsl-mc/bus/dpmcp-cmd.h      |   2 +-
>  drivers/staging/fsl-mc/bus/dpmcp.c          | 123 +++++---
>  drivers/staging/fsl-mc/bus/dpmcp.h          | 123 +++++---
>  drivers/staging/fsl-mc/bus/dpmng.c          |  14 +-
>  drivers/staging/fsl-mc/bus/dprc-cmd.h       |   7 +-
>  drivers/staging/fsl-mc/bus/dprc-driver.c    |   8 +-
>  drivers/staging/fsl-mc/bus/dprc.c           | 464 +++++++++++++++++++++++-----
>  drivers/staging/fsl-mc/bus/mc-allocator.c   |   6 +-
>  drivers/staging/fsl-mc/bus/mc-bus.c         |  54 +++-
>  drivers/staging/fsl-mc/include/dpbp-cmd.h   |   2 +-
>  drivers/staging/fsl-mc/include/dpbp.h       |  91 ++++--
>  drivers/staging/fsl-mc/include/dpcon-cmd.h  |   2 +-
>  drivers/staging/fsl-mc/include/dpmng.h      |  14 +-
>  drivers/staging/fsl-mc/include/dprc.h       | 313 +++++++++++++++----
>  drivers/staging/fsl-mc/include/mc-cmd.h     |  28 +-
>  drivers/staging/fsl-mc/include/mc-private.h |  15 +-
>  17 files changed, 1052 insertions(+), 355 deletions(-)

This patch does many things all at once.  Please break it up into
different logical patches, each one only doing one thing, and send it as
a series so that it can be properly reviewed and applied to the tree.

thanks,

greg k-h
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux