summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMichael Chan <michael.chan@broadcom.com>2021-07-28 14:11:41 -0400
committerDavid S. Miller <davem@davemloft.net>2021-07-28 20:23:33 +0100
commit30e96f487f64c60b2884e37b9dabf287c9d048aa (patch)
tree125faec5891cfff27c19b3003f28eb6e49d26d8f /tools/perf/scripts/python/stackcollapse.py
parenta521c8a01d267bc1732ee83fdbf3ad2e02240d63 (diff)
downloadkernel-30e96f487f64c60b2884e37b9dabf287c9d048aa.tar.gz
bnxt_en: Do not read the PTP PHC during chip reset
During error recovery or hot firmware upgrade, the chip may be under reset and the PHC register read cycles may cause completion timeouts. Check that the chip is not under reset condition before proceeding to read the PHC by checking the flag BNXT_STATE_IN_FW_RESET. We also need to take the ptp_lock before we set this flag to prevent race conditions. We need this logic because the PHC now will stay registered after bnxt_close(). Reviewed-by: Pavan Chebbi <pavan.chebbi@broadcom.com> Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
Baruch Siach 2010-07-26i.MX51: handle IRQ for gpio 16..31Eric Bénard 2010-04-22mx5: Add registration of GPIOs for MX5 devicesDinh Nguyen 2010-02-24arm/imx/gpio: remove a BUG_ON in hot pathUwe Kleine-König 2010-02-24arm/imx/gpio: use fls to find set bits in the irq status registerUwe Kleine-König 2010-02-24arm/imx: use generic_handle_irq instead of open-coding itUwe Kleine-König 2010-02-24arm/imx/gpio: GPIO_INT_{HIGH,LOW}_LEV are not necessarily constantUwe Kleine-König 2009-11-14imx/gpio: Use handle_level_irqUwe Kleine-König 2009-08-14Add i.MX25 supportSascha Hauer 2009-08-07MXC gpio interrupt support: move register definitions to .c fileSascha Hauer 2009-08-07mxc gpio: CONFIG_ARCH_* -> cpu_is_*()Sascha Hauer 2009-05-07mxc: emulate GPIO interrupt on both-edgesGuennadi Liakhovetski 2009-05-05MXC: remove BUG_ON in interrupt handlerSascha Hauer