Skip to contentSkip to conversation

PCI v5.5-rc1 breaks google kevin

REGRESSION Vicente Bergas 4 participants 7 messages Dec 11, 2019 – Dec 12, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi,
since v5.5-rc1 the google kevin chromebook does not boot.
Git bisect reports 5e0c21c75e8c PCI/ASPM: Remove pcie_aspm_enabled() unnecessary locking as the first bad commit.

In order to revert it from v5.5-rc1 i had to also revert some dependencies:
5e0c21c75e8c08375a69710527e4a921b897cb7e aff5d0552da4055da3faa27ee4252e48bb1f5821 35efea32b26f9aacc99bf07e0d2cdfba2028b099 687aaf386aeb551130f31705ce40d1341047a936 72ea91afbfb08619696ccde610ee4d0d29cf4a1d 87e90283c94c76ee11d379ab5a0973382bbd0baf
After reverting all of this, still no luck.
So, either the results of git bisect are not to be trusted, or there are more bad commits.

By "does not boot" i mean that the display fails to start and the display is the only output device, so debugging is quite difficult.

v5.5-rc1 as is (reverting no commits at all) works fine when disabling PCI:
# CONFIG_PCI is not set

Regards,
Vicente.

#1 lore raw

Hi Vicente,

Quoted 16 lines · Vicente Bergas

Hi,
since v5.5-rc1 the google kevin chromebook does not boot.
Git bisect reports 5e0c21c75e8c PCI/ASPM: Remove pcie_aspm_enabled() unnecessary locking as the first bad commit.

In order to revert it from v5.5-rc1 i had to also revert some dependencies:
5e0c21c75e8c08375a69710527e4a921b897cb7e aff5d0552da4055da3faa27ee4252e48bb1f5821 35efea32b26f9aacc99bf07e0d2cdfba2028b099 687aaf386aeb551130f31705ce40d1341047a936 72ea91afbfb08619696ccde610ee4d0d29cf4a1d 87e90283c94c76ee11d379ab5a0973382bbd0baf
After reverting all of this, still no luck.
So, either the results of git bisect are not to be trusted, or there are more bad commits.

Quoted 2 lines

By "does not boot" i mean that the display fails to start and the display is the only output device, so debugging is quite difficult.

Assuming it's a manifestation of the same PCI breakage that Enric and Lorenzo figured out, there's a proposed fix here: https://lkml.org/lkml/2019/12/11/199

Robin.

Quoted 11 lines

v5.5-rc1 as is (reverting no commits at all) works fine when disabling PCI:
# CONFIG_PCI is not set

Regards,
 Vicente.

_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip

#2 lore raw
Quoted 20 lines · Robin Murphy

Hi Vicente,

Quoted 17 lines · Vicente Bergas

Hi,
since v5.5-rc1 the google kevin chromebook does not boot. Git bisect reports 5e0c21c75e8c PCI/ASPM: Remove pcie_aspm_enabled() unnecessary locking
as the first bad commit.

In order to revert it from v5.5-rc1 i had to also revert some dependencies:
5e0c21c75e8c08375a69710527e4a921b897cb7e aff5d0552da4055da3faa27ee4252e48bb1f5821 35efea32b26f9aacc99bf07e0d2cdfba2028b099 687aaf386aeb551130f31705ce40d1341047a936 72ea91afbfb08619696ccde610ee4d0d29cf4a1d 87e90283c94c76ee11d379ab5a0973382bbd0baf
After reverting all of this, still no luck.
So, either the results of git bisect are not to be trusted, or there are more bad commits.

Quoted 6 lines
Quoted 2 lines

By "does not boot" i mean that the display fails to start and the display is the only output device, so debugging is quite difficult.

Assuming it's a manifestation of the same PCI breakage that Enric and Lorenzo figured out, there's a proposed fix here:
https://lkml.org/lkml/2019/12/11/199

It's likely that any PCI driver that uses PCI IO with that controller will suffer the same fate.

Vicente - can you try the patch that has been proposed and verify it fixes the issue for you?

Thanks,

Andrew Murray

Quoted 14 lines

Robin.

Quoted 11 lines

v5.5-rc1 as is (reverting no commits at all) works fine when disabling PCI:
# CONFIG_PCI is not set

Regards,
 Vicente.

_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip

#3 lore raw

Hi Vicente,

Missatge de Andrew Murray <[email protected]> del dia dj., 12 de des. 2019 a les 1:53:

Quoted 22 lines · Robin Murphy
Quoted 20 lines

Hi Vicente,

Quoted 17 lines · Vicente Bergas

Hi,
since v5.5-rc1 the google kevin chromebook does not boot. Git bisect reports 5e0c21c75e8c PCI/ASPM: Remove pcie_aspm_enabled() unnecessary locking
as the first bad commit.

In order to revert it from v5.5-rc1 i had to also revert some dependencies:
5e0c21c75e8c08375a69710527e4a921b897cb7e aff5d0552da4055da3faa27ee4252e48bb1f5821 35efea32b26f9aacc99bf07e0d2cdfba2028b099 687aaf386aeb551130f31705ce40d1341047a936 72ea91afbfb08619696ccde610ee4d0d29cf4a1d 87e90283c94c76ee11d379ab5a0973382bbd0baf
After reverting all of this, still no luck.
So, either the results of git bisect are not to be trusted, or there are more bad commits.

Quoted 3 lines
Quoted 3 lines
Quoted 2 lines

By "does not boot" i mean that the display fails to start and the display is the only output device, so debugging is quite difficult.

Another issue that is affecting current mainline for kevin is fixed with [1]. As usual, I have a tracking branch for 5.5 for different Chromebooks with some not yet merged patches that makes things work while are not fixed [2]. For kevin only the mentioned ASoC patch [1] and the pcie fix [3] should be needed. Other than that display is working for me on Kevin.

Cheers,
Enric

[1] https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git/commit/?h=for-5.5&id=4bf2e385aa59c2fae5f880aa25cfd2b470109093
[2] https://gitlab.collabora.com/eballetbo/linux/commits/topic/chromeos/somewhat-stable-5.5
[3] https://lkml.org/lkml/2019/12/11/199

Quoted 33 lines
Quoted 3 lines

Assuming it's a manifestation of the same PCI breakage that Enric and Lorenzo figured out, there's a proposed fix here:
https://lkml.org/lkml/2019/12/11/199

It's likely that any PCI driver that uses PCI IO with that controller will suffer the same fate.

Vicente - can you try the patch that has been proposed and verify it fixes the issue for you?

Thanks,

Andrew Murray

Quoted 14 lines

Robin.

Quoted 11 lines

v5.5-rc1 as is (reverting no commits at all) works fine when disabling PCI:
# CONFIG_PCI is not set

Regards,
Vicente.

_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip

_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip

#4 lore raw
Quoted 37 lines · Enric Balletbo Serra

Hi Vicente,

Missatge de Andrew Murray <[email protected]> del dia dj., 12 de des. 2019 a les 1:53:

Quoted 22 lines · Robin Murphy
Quoted 20 lines

Hi Vicente,

Quoted 17 lines · Vicente Bergas

Hi,
since v5.5-rc1 the google kevin chromebook does not boot. Git bisect reports 5e0c21c75e8c PCI/ASPM: Remove pcie_aspm_enabled() unnecessary locking
as the first bad commit.

In order to revert it from v5.5-rc1 i had to also revert some dependencies:
5e0c21c75e8c08375a69710527e4a921b897cb7e aff5d0552da4055da3faa27ee4252e48bb1f5821 35efea32b26f9aacc99bf07e0d2cdfba2028b099 687aaf386aeb551130f31705ce40d1341047a936 72ea91afbfb08619696ccde610ee4d0d29cf4a1d 87e90283c94c76ee11d379ab5a0973382bbd0baf
After reverting all of this, still no luck.
So, either the results of git bisect are not to be trusted, or there are more bad commits.

Quoted 3 lines
Quoted 3 lines
Quoted 2 lines

By "does not boot" i mean that the display fails to start and the display is the only output device, so debugging is quite difficult.

Another issue that is affecting current mainline for kevin is fixed with [1]. As usual, I have a tracking branch for 5.5 for different Chromebooks with some not yet merged patches that makes things work while are not fixed [2]. For kevin only the mentioned ASoC patch [1] and the pcie fix [3] should be needed. Other than that display is working for me on Kevin.

Quoted 29 lines

Cheers,
Enric

[1] https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git/commit/?h=for-5.5&id=4bf2e385aa59c2fae5f880aa25cfd2b470109093
[2] https://gitlab.collabora.com/eballetbo/linux/commits/topic/chromeos/somewhat-stable-5.5
[3] https://lkml.org/lkml/2019/12/11/199

Quoted 22 lines
Quoted 3 lines

Assuming it's a manifestation of the same PCI breakage that Enric and Lorenzo figured out, there's a proposed fix here:
https://lkml.org/lkml/2019/12/11/199

It's likely that any PCI driver that uses PCI IO with that controller will suffer the same fate.

Vicente - can you try the patch that has been proposed and verify it fixes the issue for you?

Thanks,

Andrew Murray

Quoted 8 lines

Robin.

Quoted 5 lines

v5.5-rc1 as is (reverting no commits at all) works fine when disabling PCI:
# CONFIG_PCI is not set

Regards,
Vicente.

Hi Robin, Andrew and Enric,
thank you all for the quick responses!
I can confirm that patch [3] fixes the issue reported in this email and that [1] fixes the other issue reported on the other email.

Regards,
Vicenç.

#5 lore raw
Quoted 67 lines · Vicente Bergas
Quoted 66 lines · Enric Balletbo Serra

Hi Vicente,

Missatge de Andrew Murray <[email protected]> del dia dj., 12 de des. 2019 a les 1:53:

Quoted 23 lines · Robin Murphy
Quoted 21 lines

Hi Vicente,

Quoted 18 lines · Vicente Bergas

Hi,
since v5.5-rc1 the google kevin chromebook does not boot. Git bisect reports 5e0c21c75e8c PCI/ASPM: Remove pcie_aspm_enabled() unnecessary locking
as the first bad commit.

In order to revert it from v5.5-rc1 i had to also revert some dependencies:
5e0c21c75e8c08375a69710527e4a921b897cb7e aff5d0552da4055da3faa27ee4252e48bb1f5821 35efea32b26f9aacc99bf07e0d2cdfba2028b099 687aaf386aeb551130f31705ce40d1341047a936 72ea91afbfb08619696ccde610ee4d0d29cf4a1d 87e90283c94c76ee11d379ab5a0973382bbd0baf
After reverting all of this, still no luck.
So, either the results of git bisect are not to be trusted, or there are more bad commits.

Quoted 3 lines
Quoted 3 lines
Quoted 2 lines

By "does not boot" i mean that the display fails to start and the display is the only output device, so debugging is quite difficult.

Another issue that is affecting current mainline for kevin is fixed with [1]. As usual, I have a tracking branch for 5.5 for different Chromebooks with some not yet merged patches that makes things work while are not fixed [2]. For kevin only the mentioned ASoC patch [1] and the pcie fix [3] should be needed. Other than that display is working for me on Kevin.

Cheers,
Enric

[1] https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git/commit/?h=for-5.5&id=4bf2e385aa59c2fae5f880aa25cfd2b470109093
[2] https://gitlab.collabora.com/eballetbo/linux/commits/topic/chromeos/somewhat-stable-5.5
[3] https://lkml.org/lkml/2019/12/11/199

Quoted 21 lines
Quoted 3 lines

Assuming it's a manifestation of the same PCI breakage that Enric and Lorenzo figured out, there's a proposed fix here:
https://lkml.org/lkml/2019/12/11/199

It's likely that any PCI driver that uses PCI IO with that controller will suffer the same fate.

Vicente - can you try the patch that has been proposed and verify it fixes the issue for you?

Thanks,

Andrew Murray

Quoted 7 lines

Robin.

Quoted 4 lines

v5.5-rc1 as is (reverting no commits at all) works fine when disabling PCI:
# CONFIG_PCI is not set

Quoted 7 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Regards,
Vicente.

Hi Robin, Andrew and Enric,
thank you all for the quick responses!
I can confirm that patch [3] fixes the issue reported in this email and that [1] fixes the other issue reported on the other email.

Pleased to hear this is working for you now.

Are you happy to give a tested-by tag for [3]?

Thanks,

Andrew Murray

Quoted 4 lines

Regards,
Vicenç.

#6 lore raw
Quoted 31 lines · Andrew Murray
Quoted 30 lines · Vicente Bergas
Quoted 28 lines · Enric Balletbo Serra

Hi Vicente,

Missatge de Andrew Murray <[email protected]> del dia dj., 12 de des. 2019 a les 1:53:

Quoted 1 line

On Thu, Dec 12, 2019 at 12:12:56AM +0000, Robin Murphy wrote: ...

Another issue that is affecting current mainline for kevin is fixed with [1]. As usual, I have a tracking branch for 5.5 for different Chromebooks with some not yet merged patches that makes things work while are not fixed [2]. For kevin only the mentioned ASoC patch [1] and the pcie fix [3] should be needed. Other than that display is working for me on Kevin.

Cheers,
Enric

[1] https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git/commit/?h=for-5.5&id=4bf2e385aa59c2fae5f880aa25cfd2b470109093
[2] https://gitlab.collabora.com/eballetbo/linux/commits/topic/chromeos/somewhat-stable-5.5
[3] https://lkml.org/lkml/2019/12/11/199

Quoted 8 lines
Quoted 1 line

...

It's likely that any PCI driver that uses PCI IO with that controller will suffer the same fate.

Vicente - can you try the patch that has been proposed and verify it fixes the issue for you?

Thanks, ...

Quoted 8 lines
Quoted 4 lines

Hi Robin, Andrew and Enric,
thank you all for the quick responses!
I can confirm that patch [3] fixes the issue reported in this email and that [1] fixes the other issue reported on the other email.

Pleased to hear this is working for you now.

Are you happy to give a tested-by tag for [3]?

Yes, feel free to apply this tag.
Using it just now and the wlan at the other side of the PCIe bus is detected.

Regards,
Vicente.

Quoted 10 lines

Thanks,

Andrew Murray

Quoted 4 lines

Regards,
Vicenç.