From: Itai Katz
Add a counter to track the number of root DPRCs.
When this counter is greater then 0 it means that at least
one root DPRC device exists.
Signed-off-by: Itai Katz
---
drivers/staging/fsl-mc/bus/mc-bus.c | 13 +++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff
From: Itai Katz
The dev_root field in the bus type struct has been replaced by a
new mechanism to identify the root dprc. Remove all references
to dev_root.
Signed-off-by: Itai Katz
---
drivers/staging/fsl-mc/bus/mc-bus.c |4
1 file changed, 4 deletions(-)
diff --git a/drivers/stagi
From: Itai Katz
To support multiple root dprcs, instead of relying on the
dev_root field of the bus type struct, instead create a
function to traverse to the root dprc and return a pointer
to the device struct
Signed-off-by: Itai Katz
---
drivers/staging/fsl-mc/bus/mc-bus.c | 38
From: Itai Katz
Instead of relying on assumptions about fields in data
structures, abstract the test for whether a dprc is a root
dprc into a function.
Signed-off-by: Itai Katz
---
drivers/staging/fsl-mc/bus/mc-bus.c | 16 +---
1 file changed, 13 insertions(+), 3 deletions(-)
di
From: Itai Katz
Add function to test for existence of an fsl-mc bus instance
instead of doing this by looking directly at a field in the
bus type struct.
Signed-off-by: Itai Katz
---
drivers/staging/fsl-mc/bus/mc-bus.c | 13 +++--
drivers/staging/fsl-mc/include/mc.h |2 ++
2 file
From: Itai Katz
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.
Patc