cnss2: Add code to dump SRAM on MHI power on failure for QCA6490

Add code to dump SRAM on MHI power-on failure. To avoid CPU hog
relinquish CPU after dumping 256Kb chunks.

Change-Id: I2c9c64424c8ae4612e67b78fcabc1f872fefea81
Esse commit está contido em:
Mohammed Siddiq
2022-05-13 15:24:15 +05:30
commit de Gerrit - the friendly Code Review server
commit 334ef0ec36
4 arquivos alterados com 44 adições e 0 exclusões

Ver arquivo

@@ -100,6 +100,7 @@
#define PBL_BOOTSTRAP_STATUS 0x01910008
#define SRAM_START 0x01400000
#define SRAM_END 0x01800000
#define SRAM_DUMP_SIZE 0x400000
#define QCA6390_PCIE_SOC_WDOG_DISC_BAD_DATA_LOW_CFG_SOC_PCIE_REG 0x01E04234
#define QCA6390_PCIE_SOC_WDOG_DISC_BAD_DATA_LOW_CFG_SOC_PCIE_REG_VAL 0xDEAD1234