lkml.org 
[lkml]   [2015]   [Oct]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/5] staging: fsl-mc: multiple root DPRCs
Date
From: Itai Katz <itai.katz@freescale.com>

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



\
 
 \ /
  Last update: 2015-10-04 09:41    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog