diff options
author | Jeffrey Ladouceur <Jeffrey.Ladouceur@freescale.com> | 2014-04-04 19:05:46 (GMT) |
---|---|---|
committer | Jose Rivera <German.Rivera@freescale.com> | 2014-04-07 13:19:23 (GMT) |
commit | fb7f27080adc65cd5f341bdf56a1d0c14f316c1b (patch) | |
tree | 4e829d81a2615d0b9e69a463ba2b961bd3106390 /include/net/snmp.h | |
parent | 20ba3f28e926a9fbf0acf56df26a2ce2e9aaf235 (diff) | |
download | linux-fsl-qoriq-fb7f27080adc65cd5f341bdf56a1d0c14f316c1b.tar.xz |
fsl_qbman: Add support for deepsleep
In order for supported SoCs to enter deepsleep the QBMan ip blocks must not
have any pending interrupt status bits set in the Portals.
Therefore, in the pm callbacks for each portal, save the isdr, and clear the isr.
On the resume side, reset the save isdr.
Also fix the buffer pool depletion notification in all bman portals.
The default value is to notify them. This is an issue for unused portals, as
the portal will have the corresponding isr bit set and will prevent deepsleep
for occuring.
The unused portals need to have their ISDR and ISR cleared in order for
the qman block to enter idle state.
Also re-added the setting of ISDR clear ISR for the qbman ccsr block.
Signed-off-by: Jeffrey Ladouceur <Jeffrey.Ladouceur@freescale.com>
Change-Id: Icd908215ed10d39e3f112b939c4d6b2758a97a76
Reviewed-on: http://git.am.freescale.net:8181/10717
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Haiying Wang <Haiying.Wang@freescale.com>
Reviewed-by: Roy Pledge <roy.pledge@freescale.com>
Reviewed-by: Jose Rivera <German.Rivera@freescale.com>
Diffstat (limited to 'include/net/snmp.h')
0 files changed, 0 insertions, 0 deletions