Hang in qcom gsbi with kexec

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I'm trying to use kexec on an ipq8065 platform (4.9.31 yocto kernel).  It is
mostly working, but I find it hangs in gsbi_probe() in the kexec-ed kernel,
unless I make the following change:

diff --git a/drivers/soc/qcom/qcom_gsbi.c b/drivers/soc/qcom/qcom_gsbi.c
index 09c669e..9abfb05 100644
--- a/drivers/soc/qcom/qcom_gsbi.c
+++ b/drivers/soc/qcom/qcom_gsbi.c
@@ -206,12 +206,14 @@ static int gsbi_probe(struct platform_device *pdev)
                for (i = 0; i < config->num_rows; i++) {
                        mask = config->array[i][gsbi_num - 1];
 
+#if 0
                        if (gsbi->mode == GSBI_PROT_SPI)
                                regmap_update_bits(gsbi->tcsr,
                                        TCSR_ADM_CRCI_BASE + 4 * i, mask, 0);
                        else
                                regmap_update_bits(gsbi->tcsr,
                                        TCSR_ADM_CRCI_BASE + 4 * i, mask, mask);
+#endif
 
                }
        }


Without that regmap_update_bits(), the kexec-ed kernel boots without issues.
Just doing a regmap_read() there hangs.

Any ideas?

-- 
Bob Copeland %% https://bobcopeland.com/
--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux