[PATCH 0/5] staging: fsl-mc: multiple root DPRCs

From: itai.katz
Date: Sun Oct 04 2015 - 03:25:12 EST


From: Itai Katz <itai.katz@xxxxxxxxxxxxx>

This patch series adds support for supporting multiple root
DPRCs, which is an item on the TODO list. (This situation can
is possible when assigning multiple DPRCs to KVM virtual machines.)

Patch 1 abstracts the test for existence of an fsl-mc bus instance
into a function.

Patch 2 abstracts the test for whether a dprc is a root dprc
into a function.

Patch 3 replaces use of the dev_root field in the bus type
struct to identify the root dprc with a more flexible
pointer traversal mechanism.

Patch 4 adds a counter to track the number of root dprcs.

Patch 5 removes all references to the now unused dev_root

Itai Katz (5):
staging: fsl-mc: abstract test for existence of fsl-mc bus
staging: fsl-mc: abstract test for whether a dprc is a root dprc
staging: fsl-mc: add function to return pointer to root dprc
staging: fsl-mc: add counter to track number of root DPRCs
staging: fsl-mc: remove references to dev_root

drivers/staging/fsl-mc/bus/mc-bus.c | 74 ++++++++++++++++++++++++++++++-----
drivers/staging/fsl-mc/include/mc.h | 2 +
2 files changed, 66 insertions(+), 10 deletions(-)

--
1.7.9.5

--
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/