We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AelxG:
As addition to FS#3381 -- current trunk initialize properly only one minipcie wifi card:
[ 1.344484] pci 0000:02:00.0: [168c:ff1c] type 00 class 0x020000 [ 1.350550] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x0000ffff 64bit] [ 1.357475] pci 0000:02:00.0: supports D1 [ 1.361487] pci 0000:02:00.0: PME# supported from D0 D1 D3hot [ 1.368492] pci 0000:00:01.0: PCI bridge to [bus 02-ff] [ 1.373756] pci 0000:00:01.0: bridge window [io 0x0000-0x0fff] [ 1.379843] pci 0000:00:01.0: bridge window [mem 0x60200000-0x602fffff] [ 1.386624] pci 0000:00:01.0: bridge window [mem 0x60300000-0x603fffff pref] [ 1.393842] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02 [ 1.400681] pci 0000:03:00.0: [168c:002e] type 00 class 0x028000 [ 1.406748] pci 0000:03:00.0: reg 0x10: [mem 0x00000000-0x0000ffff 64bit] [ 1.413660] pci 0000:03:00.0: supports D1 [ 1.417671] pci 0000:03:00.0: PME# supported from D0 D1 D3hot [ 1.424673] pci 0000:00:02.0: PCI bridge to [bus 03-ff] [ 1.429917] pci 0000:00:02.0: bridge window [io 0x0000-0x0fff] [ 1.436004] pci 0000:00:02.0: bridge window [mem 0x60400000-0x604fffff] [ 1.442785] pci 0000:00:02.0: bridge window [mem 0x60500000-0x605fffff pref] [ 1.450010] pci_bus 0000:03: busn_res: [bus 03-ff] end is updated to 03
The text was updated successfully, but these errors were encountered:
Found some solution. After applying this patch trunk works fine:
--- pci-mt7621.c.org 2021-01-24 01:56:39.085392065 +0300 +++ pci-mt7621.c 2021-01-24 01:55:53.735426130 +0300 @@ -503,7 +503,12 @@
rt_sysc_m32(PERST_MODE_MASK, PERST_MODE_GPIO, MT7621_GPIO_MODE); mdelay(250); mt7621_pcie_reset_assert(pcie); mdelay(250); mt7621_pcie_reset_rc_deassert(pcie); list_for_each_entry_safe(port, tmp, &pcie->ports, list) { @@ -521,6 +526,8 @@ } } mdelay(250); mt7621_pcie_reset_ep_deassert(pcie); tmp = NULL;
rt_sysc_m32(PERST_MODE_MASK, PERST_MODE_GPIO, MT7621_GPIO_MODE);
mdelay(250);
mt7621_pcie_reset_assert(pcie);
mt7621_pcie_reset_rc_deassert(pcie);
list_for_each_entry_safe(port, tmp, &pcie->ports, list) { @@ -521,6 +526,8 @@ } }
mt7621_pcie_reset_ep_deassert(pcie);
tmp = NULL;
Sorry, something went wrong.
No branches or pull requests
AelxG:
As addition to FS#3381 -- current trunk initialize properly only one minipcie wifi card:
[ 1.344484] pci 0000:02:00.0: [168c:ff1c] type 00 class 0x020000
[ 1.350550] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x0000ffff 64bit]
[ 1.357475] pci 0000:02:00.0: supports D1
[ 1.361487] pci 0000:02:00.0: PME# supported from D0 D1 D3hot
[ 1.368492] pci 0000:00:01.0: PCI bridge to [bus 02-ff]
[ 1.373756] pci 0000:00:01.0: bridge window [io 0x0000-0x0fff]
[ 1.379843] pci 0000:00:01.0: bridge window [mem 0x60200000-0x602fffff]
[ 1.386624] pci 0000:00:01.0: bridge window [mem 0x60300000-0x603fffff pref]
[ 1.393842] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[ 1.400681] pci 0000:03:00.0: [168c:002e] type 00 class 0x028000
[ 1.406748] pci 0000:03:00.0: reg 0x10: [mem 0x00000000-0x0000ffff 64bit]
[ 1.413660] pci 0000:03:00.0: supports D1
[ 1.417671] pci 0000:03:00.0: PME# supported from D0 D1 D3hot
[ 1.424673] pci 0000:00:02.0: PCI bridge to [bus 03-ff]
[ 1.429917] pci 0000:00:02.0: bridge window [io 0x0000-0x0fff]
[ 1.436004] pci 0000:00:02.0: bridge window [mem 0x60400000-0x604fffff]
[ 1.442785] pci 0000:00:02.0: bridge window [mem 0x60500000-0x605fffff pref]
[ 1.450010] pci_bus 0000:03: busn_res: [bus 03-ff] end is updated to 03
The text was updated successfully, but these errors were encountered: