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

From: Greg KH
Date: Thu Sep 17 2015 - 00:49:44 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/