bus: mhi: host: pci_generic: Revert "Add a secondary AT port to Telit FN990"
Subsystems (2)
PATCH 1/1 bus: mhi: host: pci_generic: Revert "Add a secondary AT port to Telit FN990"
This reverts commit 2d5253a096c6057bbf7caa5520856dcdf7eca8bb. There are 2 commits with commit message "Add a secondary AT port to Telit FN990". But the last one 2d5253a096 was added on Foxconn devices. Actually the second AT port of Foxconn devices doesn't work in PCIe mode. And the commit message mismatch with the changes. So we need to remove it.
--- drivers/bus/mhi/host/pci_generic.c | 2 -- 1 file changed, 2 deletions(-)
drivers/bus/mhi/host/pci_generic.c +0 -2
@@ -343,8 +343,6 @@ static const struct mhi_channel_config mhi_foxconn_sdx55_channels[] = {MHI_CHANNEL_CONFIG_DL (13 ,"MBIM" ,32 ,0 ),MHI_CHANNEL_CONFIG_UL (32 ,"DUN" ,32 ,0 ),MHI_CHANNEL_CONFIG_DL (33 ,"DUN" ,32 ,0 ), -MHI_CHANNEL_CONFIG_UL (92 ,"DUN2" ,32 ,1 ), -MHI_CHANNEL_CONFIG_DL (93 ,"DUN2" ,32 ,1 ),MHI_CHANNEL_CONFIG_HW_UL (100 ,"IP_HW0_MBIM" ,128 ,2 ), MHI_CHANNEL_CONFIG_HW_DL(101, "IP_HW0_MBIM", 128, 3), };
Signature · 1 line
2.34.1
Quoted 3 lines · Slark Xiao
This reverts commit
2d5253a096c6057bbf7caa5520856dcdf7eca8bb. There are 2 commits with commit message "Add a secondary AT port to Telit FN990". But the last one2d5253a096was added
Btw, we usually refer the commit SHA by 12 digits. Like, 2d5253a096c6. I can fix it up while applying.
Quoted 4 lines
on Foxconn devices. Actually the second AT port of Foxconn devices doesn't work in PCIe mode. And the commit message mismatch with the changes. So we need to remove it.
Sigh... the subject itself was wrong :( thanks for catching.
Quoted 1 line
Signed-off-by Slark Xiao <[email protected]>
For future Foxconn patches, please help with the review to catch issues like this. Unfortunately, I do not own any Foxconn modems :/
Thanks,
Mani
Quoted 20 lines
--- drivers/bus/mhi/host/pci_generic.c | 2 -- 1 file changed, 2 deletions(-)drivers/bus/mhi/host/pci_generic.c +0
-2@@ -343,8 +343,6 @@ static const struct mhi_channel_config mhi_foxconn_sdx55_channels[] = {MHI_CHANNEL_CONFIG_DL (13 ,"MBIM" ,32 ,0 ),MHI_CHANNEL_CONFIG_UL (32 ,"DUN" ,32 ,0 ),MHI_CHANNEL_CONFIG_DL (33 ,"DUN" ,32 ,0 ), -MHI_CHANNEL_CONFIG_UL (92 ,"DUN2" ,32 ,1 ), -MHI_CHANNEL_CONFIG_DL (93 ,"DUN2" ,32 ,1 ),MHI_CHANNEL_CONFIG_HW_UL (100 ,"IP_HW0_MBIM" ,128 ,2 ), MHI_CHANNEL_CONFIG_HW_DL(101, "IP_HW0_MBIM", 128, 3), };Signature · 1 line
2.34.1
Signature · 1 line
மணிவண்ணன் சதாசிவம்
Fabio Porcedda
Reviewed-byIl giorno ven 10 mar 2023 alle ore 11:31 Manivannan Sadhasivam <[email protected]> ha scritto:
Quoted 14 lines · Slark Xiao
Quoted 3 lines
This reverts commit
2d5253a096c6057bbf7caa5520856dcdf7eca8bb. There are 2 commits with commit message "Add a secondary AT port to Telit FN990". But the last one2d5253a096was addedBtw, we usually refer the commit SHA by 12 digits. Like,
2d5253a096c6. I can fix it up while applying.Quoted 4 lines
on Foxconn devices. Actually the second AT port of Foxconn devices doesn't work in PCIe mode. And the commit message mismatch with the changes. So we need to remove it.
Quoted 8 lines
Sigh... the subject itself was wrong :( thanks for catching.
Quoted 1 line
Signed-off-by Slark Xiao <[email protected]>For future Foxconn patches, please help with the review to catch issues like this. Unfortunately, I do not own any Foxconn modems :/
Reviewed-by Manivannan Sadhasivam <[email protected]>
Just to clarify, the original patch change just the Telit FN990:
https://lore.kernel.org/netdev/CAMZdPi8gGrbkKnDR+WLadF92shJbwH-ksQY+dbpgfZ21iAp9ug@mail.gmail.com/
The problem is caused by the fact that it was merged two times and the second time was merged wrongly.
The correct one is commit 479aa3b0ec2e000ac99dd0661936d9685d6cac64 and the wrong one is 2d5253a096c6057bbf7caa5520856dcdf7eca8bb.
BR
Fabio
Quoted 26 lines
Thanks,
ManiQuoted 18 lines
--- drivers/bus/mhi/host/pci_generic.c | 2 -- 1 file changed, 2 deletions(-)drivers/bus/mhi/host/pci_generic.c +0
-3@@ -343,8 +343,6 @@ static const struct mhi_channel_config mhi_foxconn_sdx55_channels[] = {MHI_CHANNEL_CONFIG_DL (13 ,"MBIM" ,32 ,0 ),MHI_CHANNEL_CONFIG_UL (32 ,"DUN" ,32 ,0 ),MHI_CHANNEL_CONFIG_DL (33 ,"DUN" ,32 ,0 ), -MHI_CHANNEL_CONFIG_UL (92 ,"DUN2" ,32 ,1 ), -MHI_CHANNEL_CONFIG_DL (93 ,"DUN2" ,32 ,1 ),MHI_CHANNEL_CONFIG_HW_UL (100 ,"IP_HW0_MBIM" ,128 ,2 ), MHI_CHANNEL_CONFIG_HW_DL(101, "IP_HW0_MBIM", 128, 3), }; --Quoted 2 lines
2.34.1
--
மணிவண்ணன் சதாசிவம்
Signature · 1 line
Fabio Porcedda
Manivannan Sadhasivam
maintainerQuoted 27 lines · Fabio Porcedda
Il giorno ven 10 mar 2023 alle ore 11:31 Manivannan Sadhasivam <[email protected]> ha scritto:
Quoted 14 lines · Slark Xiao
Quoted 3 lines
This reverts commit
2d5253a096c6057bbf7caa5520856dcdf7eca8bb. There are 2 commits with commit message "Add a secondary AT port to Telit FN990". But the last one2d5253a096was addedBtw, we usually refer the commit SHA by 12 digits. Like,
2d5253a096c6. I can fix it up while applying.Quoted 4 lines
on Foxconn devices. Actually the second AT port of Foxconn devices doesn't work in PCIe mode. And the commit message mismatch with the changes. So we need to remove it.
Quoted 8 lines
Sigh... the subject itself was wrong :( thanks for catching.
Quoted 1 line
Signed-off-by Slark Xiao <[email protected]>For future Foxconn patches, please help with the review to catch issues like this. Unfortunately, I do not own any Foxconn modems :/
Reviewed-by Manivannan Sadhasivam <[email protected]>Reviewed-by Fabio Porcedda <[email protected]>
Quoted 8 lines
Just to clarify, the original patch change just the Telit FN990:
https://lore.kernel.org/netdev/CAMZdPi8gGrbkKnDR+WLadF92shJbwH-ksQY+dbpgfZ21iAp9ug@mail.gmail.com/The problem is caused by the fact that it was merged two times and the second time was merged wrongly.
The correct one is commit479aa3b0ec2e000ac99dd0661936d9685d6cac64and the wrong one is2d5253a096c6057bbf7caa5520856dcdf7eca8bb.
Ah, so the patch was merged into netdev first and then through MHI, then git ended up with a resolution :(
Thanks,
Mani
Quoted 34 lines
BR
FabioQuoted 26 lines
Thanks,
ManiQuoted 18 lines
--- drivers/bus/mhi/host/pci_generic.c | 2 -- 1 file changed, 2 deletions(-)drivers/bus/mhi/host/pci_generic.c +0
-3@@ -343,8 +343,6 @@ static const struct mhi_channel_config mhi_foxconn_sdx55_channels[] = {MHI_CHANNEL_CONFIG_DL (13 ,"MBIM" ,32 ,0 ),MHI_CHANNEL_CONFIG_UL (32 ,"DUN" ,32 ,0 ),MHI_CHANNEL_CONFIG_DL (33 ,"DUN" ,32 ,0 ), -MHI_CHANNEL_CONFIG_UL (92 ,"DUN2" ,32 ,1 ), -MHI_CHANNEL_CONFIG_DL (93 ,"DUN2" ,32 ,1 ),MHI_CHANNEL_CONFIG_HW_UL (100 ,"IP_HW0_MBIM" ,128 ,2 ), MHI_CHANNEL_CONFIG_HW_DL(101, "IP_HW0_MBIM", 128, 3), }; --Quoted 2 lines
2.34.1
--
மணிவண்ணன் சதாசிவம்Signature · 1 line
Fabio Porcedda
Signature · 1 line
மணிவண்ணன் சதாசிவம்
Quoted 8 lines · Slark Xiao
This reverts commit
2d5253a096c6057bbf7caa5520856dcdf7eca8bb. There are 2 commits with commit message "Add a secondary AT port to Telit FN990". But the last one2d5253a096was added on Foxconn devices. Actually the second AT port of Foxconn devices doesn't work in PCIe mode. And the commit message mismatch with the changes. So we need to remove it.Signed-off-by Slark Xiao <[email protected]>
Applied to mhi-next after ammending the commit message to reflect the bad merge.
Thanks,
Mani
Quoted 20 lines
--- drivers/bus/mhi/host/pci_generic.c | 2 -- 1 file changed, 2 deletions(-)drivers/bus/mhi/host/pci_generic.c +0
-2@@ -343,8 +343,6 @@ static const struct mhi_channel_config mhi_foxconn_sdx55_channels[] = {MHI_CHANNEL_CONFIG_DL (13 ,"MBIM" ,32 ,0 ),MHI_CHANNEL_CONFIG_UL (32 ,"DUN" ,32 ,0 ),MHI_CHANNEL_CONFIG_DL (33 ,"DUN" ,32 ,0 ), -MHI_CHANNEL_CONFIG_UL (92 ,"DUN2" ,32 ,1 ), -MHI_CHANNEL_CONFIG_DL (93 ,"DUN2" ,32 ,1 ),MHI_CHANNEL_CONFIG_HW_UL (100 ,"IP_HW0_MBIM" ,128 ,2 ), MHI_CHANNEL_CONFIG_HW_DL(101, "IP_HW0_MBIM", 128, 3), };Signature · 1 line
2.34.1
Signature · 1 line
மணிவண்ணன் சதாசிவம்
Quoted 8 lines · Slark Xiao
This reverts commit
2d5253a096c6057bbf7caa5520856dcdf7eca8bb. There are 2 commits with commit message "Add a secondary AT port to Telit FN990". But the last one2d5253a096was added on Foxconn devices. Actually the second AT port of Foxconn devices doesn't work in PCIe mode. And the commit message mismatch with the changes. So we need to remove it.Signed-off-by Slark Xiao <[email protected]>
Probably also:
Quoted 17 lines
--- drivers/bus/mhi/host/pci_generic.c | 2 -- 1 file changed, 2 deletions(-)drivers/bus/mhi/host/pci_generic.c +0
-2@@ -343,8 +343,6 @@ static const struct mhi_channel_config mhi_foxconn_sdx55_channels[] = {MHI_CHANNEL_CONFIG_DL (13 ,"MBIM" ,32 ,0 ),MHI_CHANNEL_CONFIG_UL (32 ,"DUN" ,32 ,0 ),MHI_CHANNEL_CONFIG_DL (33 ,"DUN" ,32 ,0 ), -MHI_CHANNEL_CONFIG_UL (92 ,"DUN2" ,32 ,1 ), -MHI_CHANNEL_CONFIG_DL (93 ,"DUN2" ,32 ,1 ),MHI_CHANNEL_CONFIG_HW_UL (100 ,"IP_HW0_MBIM" ,128 ,2 ), MHI_CHANNEL_CONFIG_HW_DL(101, "IP_HW0_MBIM", 128, 3), };
Signature · 2 lines
With best wishes Dmitry
Manivannan Sadhasivam
maintainerQuoted 8 lines · Dmitry Baryshkov
Quoted 7 lines · Slark Xiao
This reverts commit
2d5253a096c6057bbf7caa5520856dcdf7eca8bb. There are 2 commits with commit message "Add a secondary AT port to Telit FN990". But the last one2d5253a096was added on Foxconn devices. Actually the second AT port of Foxconn devices doesn't work in PCIe mode. And the commit message mismatch with the changes. So we need to remove it.
Quoted 7 lines
Quoted 1 line
Signed-off-by Slark Xiao <[email protected]>Probably also:
Fixes 2d5253a096c6 ("bus: mhi: host: pci_generic: Add a secondary AT portto Telit FN990")
Added fixes tag and CCed stable for backporting to 6.2.
Thanks,
Mani
Quoted 22 lines
Quoted 17 lines
--- drivers/bus/mhi/host/pci_generic.c | 2 -- 1 file changed, 2 deletions(-)drivers/bus/mhi/host/pci_generic.c +0
-2@@ -343,8 +343,6 @@ static const struct mhi_channel_config mhi_foxconn_sdx55_channels[] = {MHI_CHANNEL_CONFIG_DL (13 ,"MBIM" ,32 ,0 ),MHI_CHANNEL_CONFIG_UL (32 ,"DUN" ,32 ,0 ),MHI_CHANNEL_CONFIG_DL (33 ,"DUN" ,32 ,0 ), -MHI_CHANNEL_CONFIG_UL (92 ,"DUN2" ,32 ,1 ), -MHI_CHANNEL_CONFIG_DL (93 ,"DUN2" ,32 ,1 ),MHI_CHANNEL_CONFIG_HW_UL (100 ,"IP_HW0_MBIM" ,128 ,2 ), MHI_CHANNEL_CONFIG_HW_DL(101, "IP_HW0_MBIM", 128, 3), };Signature · 2 lines
With best wishes Dmitry
Signature · 1 line
மணிவண்ணன் சதாசிவம்