hello,
so, as i understand it, sometimes to fixup a PCI-E bridge we use the DECLARE_PCI_FIXUP_EARLY function.
from what i have seen, this is typically in some source file that gets compiled in the kernel. in this case i'm trying to use an older lantiq PCI-E driver to replicate 3.10 behaviour. the bus gets probed and times out (as expected like the stock kernel), but for some reason the functions to be called via DECLARE_PCI_FIXUP_EARLY are not being called.
expected behaviour (3.10):
05-10 13:35:18.528: [ 0.750000] [cbm] { cbm_xrx500_probe : 6127 }CBM Clock: 600000000Hz
05-10 13:35:18.528: [ 0.750000] [cbm] { cbm_xrx500_probe : 6129 }EQM delay Enabled
05-10 13:35:18.529: [ 0.760000] [cbm] { cbm_xrx500_probe : 6198 }CBM: Init Done !!
05-10 13:35:18.529: [ 0.760000] PCI host bridge /ssx3@18000000/pcie@900000 ranges:
05-10 13:35:18.529: [ 0.770000] MEM 0x00000000b8000000..0x00000000baffffff
05-10 13:35:18.529: [ 0.770000] IO 0x00000000bb800000..0x00000000bb8fffff
05-10 13:35:18.575: [ 0.880000] PCIe LCPLL SSC Mode Enabled
05-10 13:35:18.824: [ 1.110000] Lantiq PCIe Root Complex Port 0 Init Done
05-10 13:35:18.825: [ 1.120000] PCI host bridge /ssx3@18000000/pcie@400000 ranges:
05-10 13:35:18.825: [ 1.120000] MEM 0x00000000b4000000..0x00000000b6ffffff
05-10 13:35:18.825: [ 1.130000] IO 0x00000000b7800000..0x00000000b78fffff
05-10 13:35:19.137: [ 1.430000] Lantiq PCIe Root Complex Port 1 Init Done
05-10 13:35:19.137: [ 1.440000] PCI host bridge /ssx3@18000000/pcie@E00000 ranges:
05-10 13:35:19.138: [ 1.440000] MEM 0x00000000bc000000..0x00000000beffffff
05-10 13:35:19.138: [ 1.450000] IO 0x00000000bf800000..0x00000000bf8fffff
05-10 13:35:19.735: [ 2.050000] pcie_wait_phy_link_up port 2 timeout
05-10 13:35:19.736: [ 2.060000] pcie_rc_initialize port 2 link up failed!!!!!
05-10 13:35:19.736: [ 2.060000] ltq-pcie: probe of 18e00000.pcie failed with error -5
05-10 13:35:19.798: [ 2.090000] bio: create slab <bio-0> at 0
05-10 13:35:19.799: [ 2.090000] vgaarb: loaded
05-10 13:35:19.799: [ 2.100000] SCSI subsystem initialized
05-10 13:35:19.799: [ 2.100000] Register xway nand done!
05-10 13:35:19.799: [ 2.100000] usbcore: registered new interface driver usbfs
05-10 13:35:19.799: [ 2.110000] usbcore: registered new interface driver hub
05-10 13:35:19.800: [ 2.110000] usbcore: registered new device driver usb
05-10 13:35:19.800: [ 2.120000] i2c-lantiq 16a00000.i2c: pins are not configured from the driver
05-10 13:35:19.800: [ 2.120000] i2c-lantiq 16a00000.i2c: version 1.01
05-10 13:35:19.849: [ 2.150000] i2c-lantiq 16a00000.i2c: timeout waiting for bus ready
05-10 13:35:19.849: [ 2.170000] i2c-lantiq 16a00000.i2c: timeout waiting for bus ready
05-10 13:35:19.899: [ 2.190000] i2c-lantiq 16a00000.i2c: timeout waiting for bus ready
05-10 13:35:19.900: [ 2.190000] 1V15VDD: 900 <--> 1200 mV at 1790 mV normal standby
05-10 13:35:19.900: [ 2.220000] i2c-lantiq 16a00000.i2c: timeout waiting for bus ready
05-10 13:35:19.900: [ 2.240000] i2c-lantiq 16a00000.i2c: timeout waiting for bus ready
05-10 13:35:19.950: [ 2.260000] i2c-lantiq 16a00000.i2c: timeout waiting for bus ready
05-10 13:35:19.950: [ 2.280000] i2c-lantiq 16a00000.i2c: timeout waiting for bus ready
05-10 13:35:20.205: [ 2.300000] i2c-lantiq 16a00000.i2c: timeout waiting for bus ready
05-10 13:35:20.206: [ 2.300000] try to register spd_mon driver
05-10 13:35:20.206: [ 2.310000] spdmon 16080110.speedm: base address: 0xb6080110
05-10 13:35:20.206: [ 2.310000] spdmon 16080110.speedm: PHY base address: 0x16080110
05-10 13:35:20.206: [ 2.320000] device number :253
05-10 13:35:20.207: [ 2.320000] spdmon 16080110.speedm: spd_mon driver : init done !!
05-10 13:35:20.207: [ 2.330000] spd_mon driver registered
05-10 13:35:20.207: [ 2.330000] PCI host bridge to bus 0000:00
05-10 13:35:20.207: [ 2.340000] pci_bus 0000:00: root bus resource [mem 0xb8000000-0xbaffffff]
05-10 13:35:20.208: [ 2.350000] pci_bus 0000:00: root bus resource [io 0xbb800000-0xbb8fffff]
05-10 13:35:20.208: [ 2.350000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
05-10 13:35:20.208: [ 2.360000] ltq-pcie 18900000.pcie: pcie_rc_class_fixup port 0: fixed pci host bridge to pci-pci bridge
05-10 13:35:20.208: [ 2.370000] pci 0000:00:00.0: BAR 8: assigned [mem 0xb8000000-0xb9ffffff]
05-10 13:35:20.209: [ 2.380000] pci 0000:01:00.0: BAR 0: assigned [mem 0xb8000000-0xb9ffffff]
05-10 13:35:20.209: [ 2.390000] pci 0000:00:00.0: PCI bridge to [bus 01]
05-10 13:35:20.256: [ 2.390000] pci 0000:00:00.0: bridge window [mem 0xb8000000-0xb9ffffff]
05-10 13:35:20.257: [ 2.400000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
05-10 13:35:20.257: [ 2.400000] pci 0000:00:00.0: PCI-E Max Payload Size set to 256/ 256 (was 128), Max Read Rq 256
05-10 13:35:20.257: [ 2.410000] pci 0000:01:00.0: PCI-E Max Payload Size set to 256/ 256 (was 128), Max Read Rq 256
05-10 13:35:20.258: [ 2.420000] PCI host bridge to bus 0000:02
05-10 13:35:20.258: [ 2.430000] pci_bus 0000:02: root bus resource [mem 0xb4000000-0xb6ffffff]
05-10 13:35:20.258: [ 2.430000] pci_bus 0000:02: root bus resource [io 0xb7800000-0xb78fffff]
05-10 13:35:20.258: [ 2.440000] pci_bus 0000:02: No busn resource found for root bus, will use [bus 02-ff]
05-10 13:35:20.259: [ 2.450000] ltq-pcie 18400000.pcie: pcie_rc_class_fixup port 1: fixed pci host bridge to pci-pci bridge
05-10 13:35:20.259: [ 2.460000] pci 0000:02:00.0: bridge configuration invalid ([bus 03-01]), reconfiguring
05-10 13:35:20.259: [ 2.470000] pci 0000:02:00.0: BAR 8: assigned [mem 0xb4000000-0xb5ffffff]
05-10 13:35:20.259: [ 2.480000] pci 0000:03:00.0: BAR 0: assigned [mem 0xb4000000-0xb5ffffff]
05-10 13:35:20.260: [ 2.480000] pci 0000:02:00.0: PCI bridge to [bus 03]
05-10 13:35:20.260: [ 2.490000] pci 0000:02:00.0: bridge window [mem 0xb4000000-0xb5ffffff]
05-10 13:35:20.260: [ 2.500000] PCI: Enabling device 0000:02:00.0 (0000 -> 0002)
05-10 13:35:20.260: [ 2.500000] pci 0000:02:00.0: PCI-E Max Payload Size set to 256/ 256 (was 128), Max Read Rq 256
05-10 13:35:20.261: [ 2.510000] pci 0000:03:00.0: PCI-E Max Payload Size set to 256/ 256 (was 128), Max Read Rq 256
05-10 13:35:20.261: [ 2.520000] NET: Registered protocol family 8
observed behaviour (4.9)
[ 1.342147] [cbm] { enqueue_dma_port_init : 4149 }8 0x1 1 5 0
[ 1.347960] [cbm] { cbm_xrx500_probe : 5418 }CBM: Init Done !!
[ 1.354359] ltq-pcie 18900000.pcie: rst_gpio 498, rst_high_active 1, rst_interval 200 inbound_swap 1, outbound_swap 0 phy_mode 5
[ 1.365799] ltq-pcie 18900000.pcie: inbound-shift 5 outbound-shift 4 clk_out_pin 22
[ 1.373514] ltq-pcie 18900000.pcie: pcie_parse_dt rc 0 csr b8900000
[ 1.379842] ltq-pcie 18900000.pcie: pcie_parse_dt rc cfg fb000000
[ 1.386001] ltq-pcie 18900000.pcie: pcie_parse_dt rc app_base b8800000
[ 1.392598] ltq-pcie 18900000.pcie: pcie_parse_dt rc phy_base b8500000
[ 1.399191] ltq-pcie 18900000.pcie: pcie_parse_dt rc msi_base 18600000
[ 1.405792] ltq-pcie 18900000.pcie: pcie_parse_dt rc msi_pic b8700000
[ 1.412306] PCI host bridge /ssx3@18000000/pcie@900000 ranges:
[ 1.418228] MEM 0x00000000b8000000..0x00000000baffffff
[ 1.423497] IO 0x00000000bb800000..0x00000000bb8fffff
[ 1.533171] ltq-pcie 18900000.pcie: PCIe LCPLL SSC Mode Enabled
[ 1.540323] ltq-pcie 18900000.pcie: pcie_ltssm_disable PCIE_RC_CCR 0x00000000
[ 1.547304] ltq-pcie 18900000.pcie: pcie_mem_io_setup PCIE_MBML: 0xbaf0b800
[ 1.554332] ltq-pcie 18900000.pcie: pcie_mem_io_setup PCIE_PMBL: 0xbaf0b800
[ 1.561363] ltq-pcie 18900000.pcie: pcie_mem_io_setup PCIE_IOBLSECS: 0x0000f101
[ 1.568749] ltq-pcie 18900000.pcie: pcie_mem_io_setup PCIE_IO_BANDL: 0xbb8fbb80
[ 1.576163] ltq-pcie 18900000.pcie: pcie_msi_setup PCIE_MCAPR: 0x00017005
[ 1.582979] ltq-pcie 18900000.pcie: pcie_pm_setup PCIE_PM_CSR: 0x00000108
[ 1.589834] ltq-pcie 18900000.pcie: pcie_bus_setup PCIE_BNR: 0x00ff0100
[ 1.596519] ltq-pcie 18900000.pcie: pcie_device_setup PCIE_DCAP: 0x00008001
[ 1.603550] ltq-pcie 18900000.pcie: pcie_device_setup PCIE_DCTLSTS: 0x0010001f
[ 1.610841] ltq-pcie 18900000.pcie: pcie_link_setup PCIE_LCAP: 0x01733c12
[ 1.617698] ltq-pcie 18900000.pcie: pcie_link_setup PCIE_LCTLSTS: 0x10110043
[ 1.624817] ltq-pcie 18900000.pcie: pcie_speed_change_setup PCIE_GEN2_CTRL: 0x0002017f
[ 1.632802] ltq-pcie 18900000.pcie: pcie_error_setup PCIE_INTRBCTRL: 0x000301ff
[ 1.640180] ltq-pcie 18900000.pcie: pcie_error_setup PCIE_UEMR: 0x00000000
[ 1.647124] ltq-pcie 18900000.pcie: pcie_error_setup PCIE_UESR: 0x001ff030
[ 1.654069] ltq-pcie 18900000.pcie: pcie_error_setup PCIE_CEMR: 0x00000000
[ 1.661012] ltq-pcie 18900000.pcie: pcie_vc_setup PCIE_PVC2: 0x00000000
[ 1.667696] ltq-pcie 18900000.pcie: pcie_vc_setup PCIE_VC0_RC: 0x00000000
[ 1.674554] ltq-pcie 18900000.pcie: pcie_port_logic_setup PCIE_AFR: 0x2f2c7f00
[ 1.681846] ltq-pcie 18900000.pcie: pcie_port_logic_setup PCIE_PLCR: 0x00010120
[ 1.689223] ltq-pcie 18900000.pcie: pcie_port_logic_setup PCIE_LSR: 0x00000000
[ 1.696515] ltq-pcie 18900000.pcie: pcie_port_logic_setup PCIE_STRFMR: 0xc0000140
[ 1.704067] ltq-pcie 18900000.pcie: pcie_port_logic_setup PCIE_FMR2: 0x00000003
[ 1.711445] ltq-pcie 18900000.pcie: pcie_port_logic_setup PCIE_VC0_CRQCR: 0x00800000
[ 2.220395] pcie_wait_phy_link_up port 0 timeout
[ 2.224852] pcie_rc_initialize port 0 link up failed!!!!!
[ 2.230376] ltq-pcie: probe of 18900000.pcie failed with error -5
[ 2.236601] ltq-pcie 18400000.pcie: rst_gpio 497, rst_high_active 1, rst_interval 200 inbound_swap 1, outbound_swap 0 phy_mode 5
[ 2.248163] ltq-pcie 18400000.pcie: inbound-shift 9 outbound-shift 8 clk_out_pin 23
[ 2.255855] ltq-pcie 18400000.pcie: pcie_parse_dt rc 1 csr b8400000
[ 2.262188] ltq-pcie 18400000.pcie: pcie_parse_dt rc cfg f7000000
[ 2.268349] ltq-pcie 18400000.pcie: pcie_parse_dt rc app_base b8300000
[ 2.274947] ltq-pcie 18400000.pcie: pcie_parse_dt rc phy_base b8000000
[ 2.281539] ltq-pcie 18400000.pcie: pcie_parse_dt rc msi_base 18100000
[ 2.288140] ltq-pcie 18400000.pcie: pcie_parse_dt rc msi_pic b8200000
[ 2.294662] PCI host bridge /ssx3@18000000/pcie@400000 ranges:
[ 2.300564] MEM 0x00000000b4000000..0x00000000b6ffffff
[ 2.305845] IO 0x00000000b7800000..0x00000000b78fffff
[ 2.417149] ltq-pcie 18400000.pcie: PCIe LCPLL SSC Mode Enabled
[ 2.424276] ltq-pcie 18400000.pcie: pcie_ltssm_disable PCIE_RC_CCR 0x00000000
[ 2.431259] ltq-pcie 18400000.pcie: pcie_mem_io_setup PCIE_MBML: 0xb6f0b400
[ 2.438291] ltq-pcie 18400000.pcie: pcie_mem_io_setup PCIE_PMBL: 0xb6f0b400
[ 2.445318] ltq-pcie 18400000.pcie: pcie_mem_io_setup PCIE_IOBLSECS: 0x0000f101
[ 2.452696] ltq-pcie 18400000.pcie: pcie_mem_io_setup PCIE_IO_BANDL: 0xb78fb780
[ 2.460074] ltq-pcie 18400000.pcie: pcie_msi_setup PCIE_MCAPR: 0x00017005
[ 2.466932] ltq-pcie 18400000.pcie: pcie_pm_setup PCIE_PM_CSR: 0x00000108
[ 2.473789] ltq-pcie 18400000.pcie: pcie_bus_setup PCIE_BNR: 0x00ff0100
[ 2.480473] ltq-pcie 18400000.pcie: pcie_device_setup PCIE_DCAP: 0x00008001
[ 2.487504] ltq-pcie 18400000.pcie: pcie_device_setup PCIE_DCTLSTS: 0x0010001f
[ 2.494796] ltq-pcie 18400000.pcie: pcie_link_setup PCIE_LCAP: 0x01733c12
[ 2.501653] ltq-pcie 18400000.pcie: pcie_link_setup PCIE_LCTLSTS: 0x10110043
[ 2.508771] ltq-pcie 18400000.pcie: pcie_speed_change_setup PCIE_GEN2_CTRL: 0x0002017f
[ 2.516757] ltq-pcie 18400000.pcie: pcie_error_setup PCIE_INTRBCTRL: 0x000301ff
[ 2.524134] ltq-pcie 18400000.pcie: pcie_error_setup PCIE_UEMR: 0x00000000
[ 2.531078] ltq-pcie 18400000.pcie: pcie_error_setup PCIE_UESR: 0x001ff030
[ 2.538023] ltq-pcie 18400000.pcie: pcie_error_setup PCIE_CEMR: 0x00000000
[ 2.544967] ltq-pcie 18400000.pcie: pcie_vc_setup PCIE_PVC2: 0x00000000
[ 2.551651] ltq-pcie 18400000.pcie: pcie_vc_setup PCIE_VC0_RC: 0x00000000
[ 2.558509] ltq-pcie 18400000.pcie: pcie_port_logic_setup PCIE_AFR: 0x2f2c7f00
[ 2.565800] ltq-pcie 18400000.pcie: pcie_port_logic_setup PCIE_PLCR: 0x00010120
[ 2.573178] ltq-pcie 18400000.pcie: pcie_port_logic_setup PCIE_LSR: 0x00000000
[ 2.580470] ltq-pcie 18400000.pcie: pcie_port_logic_setup PCIE_STRFMR: 0xc0000140
[ 2.588021] ltq-pcie 18400000.pcie: pcie_port_logic_setup PCIE_FMR2: 0x00000003
[ 2.595400] ltq-pcie 18400000.pcie: pcie_port_logic_setup PCIE_VC0_CRQCR: 0x00800000
[ 3.104345] pcie_wait_phy_link_up port 1 timeout
[ 3.108806] pcie_rc_initialize port 1 link up failed!!!!!
[ 3.114306] ltq-pcie: probe of 18400000.pcie failed with error -5
[ 3.120547] ltq-pcie 18e00000.pcie: rst_gpio 496, rst_high_active 1, rst_interval 200 inbound_swap 0, outbound_swap 0 phy_mode 5
[ 3.132083] ltq-pcie 18e00000.pcie: inbound-shift 13 outbound-shift 12 clk_out_pin 24
[ 3.139982] ltq-pcie 18e00000.pcie: pcie_parse_dt rc 2 csr b8e00000
[ 3.146315] ltq-pcie 18e00000.pcie: pcie_parse_dt rc cfg ff000000
[ 3.152478] ltq-pcie 18e00000.pcie: pcie_parse_dt rc app_base b8d00000
[ 3.159075] ltq-pcie 18e00000.pcie: pcie_parse_dt rc phy_base b8a00000
[ 3.165675] ltq-pcie 18e00000.pcie: pcie_parse_dt rc msi_base 18b00000
[ 3.172270] ltq-pcie 18e00000.pcie: pcie_parse_dt rc msi_pic b8c00000
[ 3.178782] PCI host bridge /ssx3@18000000/pcie@e00000 ranges:
[ 3.184690] MEM 0x00000000bc000000..0x00000000beffffff
[ 3.189974] IO 0x00000000bf800000..0x00000000bf8fffff
[ 3.301157] ltq-pcie 18e00000.pcie: PCIe LCPLL SSC Mode Enabled
[ 3.308275] ltq-pcie 18e00000.pcie: pcie_ltssm_disable PCIE_RC_CCR 0x00000000
[ 3.315257] ltq-pcie 18e00000.pcie: pcie_mem_io_setup PCIE_MBML: 0xbef0bc00
[ 3.322285] ltq-pcie 18e00000.pcie: pcie_mem_io_setup PCIE_PMBL: 0xbef0bc00
[ 3.329316] ltq-pcie 18e00000.pcie: pcie_mem_io_setup PCIE_IOBLSECS: 0x0000f101
[ 3.336694] ltq-pcie 18e00000.pcie: pcie_mem_io_setup PCIE_IO_BANDL: 0xbf8fbf80
[ 3.344073] ltq-pcie 18e00000.pcie: pcie_msi_setup PCIE_MCAPR: 0x00017005
[ 3.350930] ltq-pcie 18e00000.pcie: pcie_pm_setup PCIE_PM_CSR: 0x00000108
[ 3.357787] ltq-pcie 18e00000.pcie: pcie_bus_setup PCIE_BNR: 0x00ff0100
[ 3.364471] ltq-pcie 18e00000.pcie: pcie_device_setup PCIE_DCAP: 0x00008001
[ 3.371502] ltq-pcie 18e00000.pcie: pcie_device_setup PCIE_DCTLSTS: 0x0010001f
[ 3.378794] ltq-pcie 18e00000.pcie: pcie_link_setup PCIE_LCAP: 0x01733c12
[ 3.385651] ltq-pcie 18e00000.pcie: pcie_link_setup PCIE_LCTLSTS: 0x10110043
[ 3.392769] ltq-pcie 18e00000.pcie: pcie_speed_change_setup PCIE_GEN2_CTRL: 0x0002017f
[ 3.400755] ltq-pcie 18e00000.pcie: pcie_error_setup PCIE_INTRBCTRL: 0x000301ff
[ 3.408133] ltq-pcie 18e00000.pcie: pcie_error_setup PCIE_UEMR: 0x00000000
[ 3.415077] ltq-pcie 18e00000.pcie: pcie_error_setup PCIE_UESR: 0x001ff030
[ 3.422021] ltq-pcie 18e00000.pcie: pcie_error_setup PCIE_CEMR: 0x00000000
[ 3.428965] ltq-pcie 18e00000.pcie: pcie_vc_setup PCIE_PVC2: 0x00000000
[ 3.435649] ltq-pcie 18e00000.pcie: pcie_vc_setup PCIE_VC0_RC: 0x00000000
[ 3.442507] ltq-pcie 18e00000.pcie: pcie_port_logic_setup PCIE_AFR: 0x2f2c7f00
[ 3.449798] ltq-pcie 18e00000.pcie: pcie_port_logic_setup PCIE_PLCR: 0x00010120
[ 3.457176] ltq-pcie 18e00000.pcie: pcie_port_logic_setup PCIE_LSR: 0x00000000
[ 3.464468] ltq-pcie 18e00000.pcie: pcie_port_logic_setup PCIE_STRFMR: 0xc0000140
[ 3.472019] ltq-pcie 18e00000.pcie: pcie_port_logic_setup PCIE_FMR2: 0x00000003
[ 3.479398] ltq-pcie 18e00000.pcie: pcie_port_logic_setup PCIE_VC0_CRQCR: 0x00800000
[ 3.988347] pcie_wait_phy_link_up port 2 timeout
[ 3.992804] pcie_rc_initialize port 2 link up failed!!!!!
[ 3.998303] ltq-pcie: probe of 18e00000.pcie failed with error -5
[ 4.027467] vgaarb: loaded
[ 4.030498] SCSI subsystem initialized
[ 4.034381] usbcore: registered new interface driver usbfs
[ 4.039792] usbcore: registered new interface driver hub
[ 4.045159] usbcore: registered new device driver usb
[ 4.051560] i2c-lantiq 16a00000.i2c: version 1.01
[ 4.057093] try to register spd_mon driver[ 4.061065] spdmon 16080110.speedm: base address: 0xb6080110
[ 4.066685] spdmon 16080110.speedm: PHY base address: 0x16080110
[ 4.073002] spdmon 16080110.speedm: spd_mon driver : init done !!
[ 4.081134] spd_mon driver registered
[ 4.086382] clocksource: Switched to clocksource gptc
[ 4.093908] NET: Registered protocol family 2
[ 4.099191] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[ 4.106090] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[ 4.112568] TCP: Hash tables configured (established 2048 bind 2048)
[ 4.119034] UDP hash table entries: 128 (order: 0, 4096 bytes)
[ 4.124871] UDP-Lite hash table entries: 128 (order: 0, 4096 bytes)
[ 4.131441] NET: Registered protocol family 1
[ 4.135697] PCI: CLS 0 bytes, default 32
[ 4.140032] Unpacking initramfs...
[ 15.254135] random: crng init done
[ 40.954467] Freeing initrd memory: 23016K
[ 40.960455] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[ 40.978978] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 40.992430] io scheduler noop registered
[ 40.996590] io scheduler cfq registered (default)
[ 41.004692] [mips_tc_init] dma_zalloc_coherent dev->name=(null) sizeof(struct mips_tc_sg_mem)=1680 shared_phy_mem=21ec5000
[ 41.015687] [mips_tc_init] dma_zalloc_coherent shared_vir_uncached_mem=a1ec5000 shared_vir_cached_mem=81ec5000 shared_working_vir_mem=81ec5000
[ 41.028793] =MIPS TC Shared memory: a1ec5000 81ec5000 81ec5000 | Data: a1ed0000
[ 41.036071] UMT initialize success on processor: 0 !
[ 41.040987] HW MCPY driver: Version: 1.1.0, Init Done!
[ 41.124168] serial8250_init
[ 41.126860] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 41.135746] 16600000.serial: ttyLTQ0 at MMIO 0x16600000 (irq = 213, base_baud = 0) is a lantiq,asc
[ 41.151277] console [ttyLTQ0] enabled
[ 41.151277] console [ttyLTQ0] enabled
[ 41.158440] bootconsole [early0] disabled
[ 41.158440] bootconsole [early0] disabled
[ 41.167000] Lantiq MIPSInterAptiv MPS driver, version 1.0.0.0, (c) 2006-2013 Lantiq Deutschland GmbH
[ 41.175131] MPS: major Id 251
[ 41.177719] Major Id is 250
[ 41.180429] ICC driver registered
[ 41.185129] nand: device found, Manufacturer ID: 0xc8, Chip ID: 0xd1
[ 41.190090] nand: ESMT NAND 128MiB 3,3V 8-bit
[ 41.194390] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 41.204069] Scanning device for bad blocks
this is the source file i'm compiling into the kernel, where the PCI_VENDOR_ID has been set to PCI_ANY_ID.
i have put printks within the function to ensure it is being called, but it is not. my question is why, and how to fix it.
very frustrating lol