linux_dsm_epyc7002/include/soc
Laurentiu Tudor 5d1d046e28 soc: fsl: qbman_portals: add APIs to retrieve the probing status
Add a couple of new APIs to check the probing status of the required
cpu bound qman and bman portals:
 'int bman_portals_probed()' and 'int qman_portals_probed()'.
They return the following values.
 *  1 if qman/bman portals were all probed correctly
 *  0 if qman/bman portals were not yet probed
 * -1 if probing of qman/bman portals failed
Portals are considered successful probed if no error occurred during
the probing of any of the portals and if enough portals were probed
to have one available for each cpu.
The error handling paths were slightly rearranged in order to fit this
new functionality without being too intrusive.
Drivers that use qman/bman portal driver services are required to use
these APIs before calling any functions exported by these drivers or
otherwise they will crash the kernel.
First user will be the dpaa1 ethernet driver, coming in a subsequent
patch.

Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
2019-05-20 14:28:16 -05:00
..
arc ARC: mcip: update MCIP debug mask when the new cpu came online 2018-02-28 10:45:31 -08:00
at91 Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2019-05-19 11:11:20 -07:00
bcm2835 soc: bcm2835: sync firmware properties with downstream 2019-01-09 16:34:46 +01:00
brcmstb soc: add stubs for brcmstb SoC's 2015-09-14 15:44:18 -07:00
fsl soc: fsl: qbman_portals: add APIs to retrieve the probing status 2019-05-20 14:28:16 -05:00
imx ARM: imx6: fix static declaration in include/soc/imx/cpuidle.h 2016-06-21 14:35:29 +08:00
mediatek iommu/mediatek: Add mt2712 IOMMU support 2017-08-22 16:37:58 +02:00
mscc net: mscc: ocelot: simplify register access for PLL5 configuration 2018-10-05 14:36:44 -07:00
nps soc: Support for NPS HW scheduling 2016-11-30 11:54:25 -08:00
qcom soc: qcom: cmd-db: Stop memcpy()ing in cmd_db_read_aux_data() 2018-11-14 10:06:24 -08:00
rockchip PM / devfreq: rk3399_dmc: Pass ODT and auto power down parameters to TF-A. 2019-04-16 09:29:18 +09:00
sa1100 ARM: 8361/1: sa1100: add platform functions to handle PWER settings 2015-05-18 22:00:22 +01:00
tegra IOMMU Updates for Linux v5.1 2019-03-10 12:29:52 -07:00