-
Notifications
You must be signed in to change notification settings - Fork 168
Disable PCIe ASPM through kernel command line for iq-8275-evk #1313
New issue
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
base: master
Are you sure you want to change the base?
Disable PCIe ASPM through kernel command line for iq-8275-evk #1313
Conversation
|
As discussed offline, both RB4 and RB8 have some link stability issues with ASPM. But this commit just disables ASPM for all boards, which is wrong. This cmdline param should be passed in the relevant machine config file in |
|
ok I will raise for conf/machine/iq-8275-evk.conf as this affecting rb4 for now in new PR and close this one. |
When PCIe ASPM is enabled, WLAN functionality is completly broken. There are some connectivity issues in this platform mostly with CLKREQ# pin. To resolve this disable ASPM using kernel command line. Signed-off-by: Krishna Chaitanya Chundru <krishna.chundru@oss.qualcomm.com>
e331608 to
3da4aca
Compare
|
Instead of creating new one, reopened the same PR with new patch. |
|
@krishnachaitanya-linux Don't you need the same change for RB8? |
|
Also beware that this cmdline param disables all ASPM states, not just L1ss where the issue is currently. So there is power penalty. |
Test run workflowTest jobs for commit 3da4aca
|
Test run workflowTest jobs for commit e331608
|
we are not hitting this issue in RB8 yet for now, may be due to pwrctrl the athk driver is probing after PCIe controller is enabling L1ss. we can raise the patch for RB8 separately. We are hoping to solve this L1ss issue next week. |
There is no other way currently to disable L1ss unless a driver change, like I said in the previous reply, we are hoping to close this by next week, then we will come with proper solution, untill then to unblock test teams we can use this. |
|
@krishnachaitanya-linux IMHO using the kernel command line for this purpose is not appropriate. command line is for user configurations, not for masking underlying issues. The correct approach here is to root cause and fix the issues that are causing WLAN failures. If disabling PCIe ASPM is indeed the ultimate fix, please apply it through the defconfig rather than via the kernel command line. |
I think you mean DT / Driver here. |
+1, we should work to avoid any custom kernel command line here, as we want the kernel to work as it would work on any other generic distribution (e.g. with systemready we are not supposed to add custom kernel command line arguments). So NAK from my side. |
PCIe ASPM is not working with the current boards, so disable ASPM with kernel command line.