summaryrefslogtreecommitdiff
path: root/drivers/soc/fsl/dpio/qbman-portal.h
diff options
context:
space:
mode:
authorRoy Pledge <roy.pledge@nxp.com>2019-04-05 17:41:13 +0300
committerLi Yang <leoyang.li@nxp.com>2019-05-20 22:28:16 +0300
commit5842efa41f57a9efef95a3741bea0a6954033f4e (patch)
tree533a11b82b55d494813d7fdf850faeeb5acd52ca /drivers/soc/fsl/dpio/qbman-portal.h
parentdde2137d62b2d707c1b80f3c1f3182c3558dfa88 (diff)
downloadlinux-5842efa41f57a9efef95a3741bea0a6954033f4e.tar.xz
soc: fsl: dpio: Add support for memory backed QBMan portals
NXP devices with QBMan version 5 and above can enable software portals that are memory backed. This allows the portal to be mapped as cacheable/sharable (same as all normal memory) so that portals can freely migrate between cores and clusters in the SoC. The driver will enable this mode by default when appropriate HW support is detected. Signed-off-by: Youri Querry <youri.querry_1@nxp.com> Signed-off-by: Roy Pledge <roy.pledge@nxp.com> Signed-off-by: Li Yang <leoyang.li@nxp.com>
Diffstat (limited to 'drivers/soc/fsl/dpio/qbman-portal.h')
-rw-r--r--drivers/soc/fsl/dpio/qbman-portal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/soc/fsl/dpio/qbman-portal.h b/drivers/soc/fsl/dpio/qbman-portal.h
index 80e55abff16b..f3ec5d2044fb 100644
--- a/drivers/soc/fsl/dpio/qbman-portal.h
+++ b/drivers/soc/fsl/dpio/qbman-portal.h
@@ -110,6 +110,11 @@ struct qbman_swp {
u32 valid_bit; /* 0x00 or 0x80 */
} mc;
+ /* Management response */
+ struct {
+ u32 valid_bit; /* 0x00 or 0x80 */
+ } mr;
+
/* Push dequeues */
u32 sdq;