git: f55bd0e5798d - main - qoriq_dw_pci: disable LS1028A support

Marcin Wojtas mw at FreeBSD.org
Fri May 14 08:53:25 UTC 2021


The branch main has been updated by mw:

URL: https://cgit.FreeBSD.org/src/commit/?id=f55bd0e5798dd17251302f73904da76bdfd257b9

commit f55bd0e5798dd17251302f73904da76bdfd257b9
Author:     Marcin Wojtas <mw at FreeBSD.org>
AuthorDate: 2021-05-14 08:39:46 +0000
Commit:     Marcin Wojtas <mw at FreeBSD.org>
CommitDate: 2021-05-14 08:50:17 +0000

    qoriq_dw_pci: disable LS1028A support
    
    Enabled driver initialization causes an abort
    on the NXP LS1028ARDB platform (without any external
    endpoints connected). Temporarily disable qoriq_dw_pci
    probe, so that to allow successful booting of the OS.
    
    Submitted by: Lukasz Hajec <lha at semihalf.com>
    Obtained from: Semihalf
    Sponsored by: Alstom Group
    Differential Revision: https://reviews.freebsd.org/D30229
---
 sys/arm64/qoriq/qoriq_dw_pci.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/sys/arm64/qoriq/qoriq_dw_pci.c b/sys/arm64/qoriq/qoriq_dw_pci.c
index 424a030e094c..4d0c7928fc4c 100644
--- a/sys/arm64/qoriq/qoriq_dw_pci.c
+++ b/sys/arm64/qoriq/qoriq_dw_pci.c
@@ -101,7 +101,13 @@ static struct qoriq_dw_pci_cfg ls2028_cfg = {
 /* Compatible devices. */
 static struct ofw_compat_data compat_data[] = {
 	{"fsl,ls1012a-pcie", (uintptr_t)&ls1012_cfg},
+	/*
+	 * XXX: On LS1028ARDB attaching this driver causes external abort.
+	 * Disable it for now.
+	 */
+#ifdef notyet
 	{"fsl,ls1028a-pcie", (uintptr_t)&ls2028_cfg},
+#endif
 	{"fsl,ls1043a-pcie", (uintptr_t)&ls1043_cfg},
 	{"fsl,ls1046a-pcie", (uintptr_t)&ls1012_cfg},
 	{"fsl,ls2080a-pcie", (uintptr_t)&ls2080_cfg},


More information about the dev-commits-src-main mailing list