Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 May 2021 08:53:25 GMT
From:      Marcin Wojtas <mw@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: f55bd0e5798d - main - qoriq_dw_pci: disable LS1028A support
Message-ID:  <202105140853.14E8rPvq017361@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by mw:

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

commit f55bd0e5798dd17251302f73904da76bdfd257b9
Author:     Marcin Wojtas <mw@FreeBSD.org>
AuthorDate: 2021-05-14 08:39:46 +0000
Commit:     Marcin Wojtas <mw@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@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},



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105140853.14E8rPvq017361>