interconnect: qcom: icc-rpmh: Add opt-out parameter for QoS settings
Subsystems (3)
PATCH 1/1 interconnect: qcom: icc-rpmh: Add opt-out parameter for QoS settings
Recent addition of QoS configuration to the X1 variants resulted in systems that spontaneously reset at boot time or under load.
Given that this is both very unpleasant and hard to debug, give the affected user the option to survive such event with a module parameter.
Passing "icc_rpmh.enable_qos=0" to the kernel command-line will skip the offending QoS setup.
--- drivers/interconnect/qcom/icc-rpmh.c | 8 ++++++++ 1 file changed, 8 insertions(+)
drivers/interconnect/qcom/icc-rpmh.c +8 -0
@@ -224,6 +224,9 @@ static int qcom_icc_rpmh_configure_qos(struct qcom_icc_provider *qp)return ret; } +static bool enable_qos = true; +module_param (enable_qos, bool,0660 ); +int qcom_icc_rpmh_probe (struct platform_device *pdev) {const struct qcom_icc_desc *desc;
@@ -308,6 +311,11 @@ int qcom_icc_rpmh_probe(struct platform_device *pdev)struct resource *res;void __iomem *base; +if (!enable_qos) { +dev_info (dev,"Skipping QoS (command line)\n" ); + goto skip_qos_config; + } +/* Try parent's regmap first */ qp->regmap =dev_get_regmap (dev->parent,NULL );if (!qp->regmap) {
Signature · 1 line
2.47.3
Quoted 9 lines · Marc Zyngier
Recent addition of QoS configuration to the X1 variants resulted in systems that spontaneously reset at boot time or under load.
Given that this is both very unpleasant and hard to debug, give the affected user the option to survive such event with a module parameter.
Passing "icc_rpmh.enable_qos=0" to the kernel command-line will skip the offending QoS setup.
Lets not start doing this, please.
Can we figure out which platform deosn't work and then maybe we can add a quirk in DT per platform?
Quoted 8 lines · Abel Vesa
Quoted 6 lines · Marc Zyngier
Recent addition of QoS configuration to the X1 variants resulted in systems that spontaneously reset at boot time or under load.
Given that this is both very unpleasant and hard to debug, give the affected user the option to survive such event with a module parameter.
Quoted 8 lines
Quoted 3 lines
Passing "icc_rpmh.enable_qos=0" to the kernel command-line will skip the offending QoS setup.
Lets not start doing this, please.
Can we figure out which platform deosn't work and then maybe we can add a quirk in DT per platform?
We have at least 3 machines that are dysfunctional since [1] was merged (mini-x, sp12 and devkit). Probably some more, but I'm not going to be the one doing a survey.
What really should happen is [1] to be reversed until QC figures out a set of parameters that actually works, instead of making this platform even more unreliable than it already is.
Just like [2] should have been reverted.
Until then, we'll have to paper over this stuff.
M.
[1] https://lore.kernel.org/all/[email protected]
[2] https://lore.kernel.org/all/[email protected]
Signature · 1 line
Jazz isn't dead. It just smells funny.
Quoted 19 lines · Marc Zyngier
Quoted 8 lines · Abel Vesa
Quoted 6 lines · Marc Zyngier
Recent addition of QoS configuration to the X1 variants resulted in systems that spontaneously reset at boot time or under load.
Given that this is both very unpleasant and hard to debug, give the affected user the option to survive such event with a module parameter.
Quoted 8 lines
Quoted 3 lines
Passing "icc_rpmh.enable_qos=0" to the kernel command-line will skip the offending QoS setup.
Lets not start doing this, please.
Can we figure out which platform deosn't work and then maybe we can add a quirk in DT per platform?
Quoted 7 lines
We have at least 3 machines that are dysfunctional since [1] was merged (mini-x, sp12 and devkit). Probably some more, but I'm not going to be the one doing a survey.
What really should happen is [1] to be reversed until QC figures out a set of parameters that actually works, instead of making this platform even more unreliable than it already is.
I'd rather have the patch reverted than adding a module parameter which users might not know about and distros will probably never addopt.
Quoted 4 lines
Just like [2] should have been reverted.
Until then, we'll have to paper over this stuff.
But a module parameter complicates things rather than just papering over.
I suggest we get both reverted if they break existing platforms.
Quoted 32 lines · Abel Vesa
Quoted 19 lines · Marc Zyngier
Quoted 8 lines · Abel Vesa
Quoted 6 lines · Marc Zyngier
Recent addition of QoS configuration to the X1 variants resulted in systems that spontaneously reset at boot time or under load.
Given that this is both very unpleasant and hard to debug, give the affected user the option to survive such event with a module parameter.
Quoted 8 lines
Quoted 3 lines
Passing "icc_rpmh.enable_qos=0" to the kernel command-line will skip the offending QoS setup.
Lets not start doing this, please.
Can we figure out which platform deosn't work and then maybe we can add a quirk in DT per platform?
Quoted 7 lines
We have at least 3 machines that are dysfunctional since [1] was merged (mini-x, sp12 and devkit). Probably some more, but I'm not going to be the one doing a survey.
What really should happen is [1] to be reversed until QC figures out a set of parameters that actually works, instead of making this platform even more unreliable than it already is.
I'd rather have the patch reverted than adding a module parameter which users might not know about and distros will probably never addopt.
Quoted 1 line
Quoted 7 lines
Quoted 3 lines
Just like [2] should have been reverted.
Until then, we'll have to paper over this stuff.
But a module parameter complicates things rather than just papering over.
I suggest we get both reverted if they break existing platforms.
I will share a patch to add interconnect support for Purwa.
Purwa is similar to Hamoa, but there are few port additions and deletions with respect to PCIe, and trying to program QoS for them can result in crash.
Thanks,
Raviteja.
Quoted 40 lines · Raviteja Laggyshetty
Quoted 36 lines · Abel Vesa
Quoted 19 lines · Marc Zyngier
Quoted 8 lines · Abel Vesa
Quoted 6 lines · Marc Zyngier
Recent addition of QoS configuration to the X1 variants resulted in systems that spontaneously reset at boot time or under load.
Given that this is both very unpleasant and hard to debug, give the affected user the option to survive such event with a module parameter.
Quoted 8 lines
Quoted 3 lines
Passing "icc_rpmh.enable_qos=0" to the kernel command-line will skip the offending QoS setup.
Lets not start doing this, please.
Can we figure out which platform deosn't work and then maybe we can add a quirk in DT per platform?
Quoted 7 lines
We have at least 3 machines that are dysfunctional since [1] was merged (mini-x, sp12 and devkit). Probably some more, but I'm not going to be the one doing a survey.
What really should happen is [1] to be reversed until QC figures out a set of parameters that actually works, instead of making this platform even more unreliable than it already is.
I'd rather have the patch reverted than adding a module parameter which users might not know about and distros will probably never addopt.
Quoted 4 lines
Just like [2] should have been reverted.
Until then, we'll have to paper over this stuff.
Quoted 7 lines
Quoted 3 lines
But a module parameter complicates things rather than just papering over.
I suggest we get both reverted if they break existing platforms.
I will share a patch to add interconnect support for Purwa.
Purwa is similar to Hamoa, but there are few port additions and deletions with respect to PCIe, and trying to program QoS for them can result in crash.
This is unfortunately not solely about Purwa, as repeatedly pointed out in this thread and the original one.
Hamoa (at least the machine I use for a lot of my upstream work) has become completely unreliable since the QoS patch was merged, and randomly resets under IO load. Not applying the QoS configuration restores stability.
My conclusion is that merging this stuff was premature and has evidently not seen enough testing and verification.
M.
Signature · 1 line
Without deviation from the norm, progress is not possible.
Quoted 33 lines · Abel Vesa
Quoted 19 lines · Marc Zyngier
Quoted 8 lines · Abel Vesa
Quoted 6 lines · Marc Zyngier
Recent addition of QoS configuration to the X1 variants resulted in systems that spontaneously reset at boot time or under load.
Given that this is both very unpleasant and hard to debug, give the affected user the option to survive such event with a module parameter.
Quoted 8 lines
Quoted 3 lines
Passing "icc_rpmh.enable_qos=0" to the kernel command-line will skip the offending QoS setup.
Lets not start doing this, please.
Can we figure out which platform deosn't work and then maybe we can add a quirk in DT per platform?
Quoted 7 lines
We have at least 3 machines that are dysfunctional since [1] was merged (mini-x, sp12 and devkit). Probably some more, but I'm not going to be the one doing a survey.
What really should happen is [1] to be reversed until QC figures out a set of parameters that actually works, instead of making this platform even more unreliable than it already is.
I'd rather have the patch reverted than adding a module parameter which users might not know about and distros will probably never addopt.
Quoted 1 line
Quoted 7 lines
Quoted 3 lines
Just like [2] should have been reverted.
Until then, we'll have to paper over this stuff.
But a module parameter complicates things rather than just papering over.
I suggest we get both reverted if they break existing platforms.
We're in violent agreement.
Thanks,
M.
Signature · 1 line
Without deviation from the norm, progress is not possible.
Quoted 33 lines · Marc Zyngier
Quoted 31 lines · Abel Vesa
Quoted 17 lines · Marc Zyngier
Quoted 7 lines · Abel Vesa
Quoted 6 lines · Marc Zyngier
Recent addition of QoS configuration to the X1 variants resulted in systems that spontaneously reset at boot time or under load.
Given that this is both very unpleasant and hard to debug, give the affected user the option to survive such event with a module parameter.
Quoted 7 lines
Quoted 2 lines
Passing "icc_rpmh.enable_qos=0" to the kernel command-line will skip the offending QoS setup.
Lets not start doing this, please.
Can we figure out which platform deosn't work and then maybe we can add a quirk in DT per platform?
Quoted 7 lines
We have at least 3 machines that are dysfunctional since [1] was merged (mini-x, sp12 and devkit). Probably some more, but I'm not going to be the one doing a survey.
What really should happen is [1] to be reversed until QC figures out a set of parameters that actually works, instead of making this platform even more unreliable than it already is.
I'd rather have the patch reverted than adding a module parameter which users might not know about and distros will probably never addopt.
Quoted 3 lines
Just like [2] should have been reverted.
Quoted 7 lines
Quoted 5 lines
Quoted 1 line
Until then, we'll have to paper over this stuff.
But a module parameter complicates things rather than just papering over.
I suggest we get both reverted if they break existing platforms.
We're in violent agreement.
Did anyone submit those reverts? Doesn't look like it from what I see. Do we maybe need to poke the subsystem maintainers?
Side note for the record (noticed it just by chance): afaics one fix for
[2] was submitted meanwhile:
https://lore.kernel.org/all/[email protected]/
Ciao, Thorsten
Quoted 37 lines · Thorsten Leemhuis
Quoted 35 lines · Marc Zyngier
Quoted 33 lines · Abel Vesa
Quoted 17 lines · Marc Zyngier
Quoted 7 lines · Abel Vesa
Quoted 6 lines · Marc Zyngier
Recent addition of QoS configuration to the X1 variants resulted in systems that spontaneously reset at boot time or under load.
Given that this is both very unpleasant and hard to debug, give the affected user the option to survive such event with a module parameter.
Quoted 7 lines
Quoted 2 lines
Passing "icc_rpmh.enable_qos=0" to the kernel command-line will skip the offending QoS setup.
Lets not start doing this, please.
Can we figure out which platform deosn't work and then maybe we can add a quirk in DT per platform?
Quoted 7 lines
We have at least 3 machines that are dysfunctional since [1] was merged (mini-x, sp12 and devkit). Probably some more, but I'm not going to be the one doing a survey.
What really should happen is [1] to be reversed until QC figures out a set of parameters that actually works, instead of making this platform even more unreliable than it already is.
I'd rather have the patch reverted than adding a module parameter which users might not know about and distros will probably never addopt.
Quoted 4 lines
Just like [2] should have been reverted.
Until then, we'll have to paper over this stuff.
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
But a module parameter complicates things rather than just papering over.
I suggest we get both reverted if they break existing platforms.
We're in violent agreement.
Did anyone submit those reverts? Doesn't look like it from what I see. Do we maybe need to poke the subsystem maintainers?
Done: https://lore.kernel.org/r/[email protected]
Quoted 4 lines
Side note for the record (noticed it just by chance): afaics one fix for
[2] was submitted meanwhile:
Ah, nice one. Hopefully this gets eventually merged.
M.
Signature · 1 line
Without deviation from the norm, progress is not possible.
Quoted 36 lines · Thorsten Leemhuis
Quoted 35 lines · Marc Zyngier
Quoted 33 lines · Abel Vesa
Quoted 17 lines · Marc Zyngier
Quoted 7 lines · Abel Vesa
Quoted 6 lines · Marc Zyngier
Recent addition of QoS configuration to the X1 variants resulted in systems that spontaneously reset at boot time or under load.
Given that this is both very unpleasant and hard to debug, give the affected user the option to survive such event with a module parameter.
Quoted 7 lines
Quoted 2 lines
Passing "icc_rpmh.enable_qos=0" to the kernel command-line will skip the offending QoS setup.
Lets not start doing this, please.
Can we figure out which platform deosn't work and then maybe we can add a quirk in DT per platform?
Quoted 7 lines
We have at least 3 machines that are dysfunctional since [1] was merged (mini-x, sp12 and devkit). Probably some more, but I'm not going to be the one doing a survey.
What really should happen is [1] to be reversed until QC figures out a set of parameters that actually works, instead of making this platform even more unreliable than it already is.
I'd rather have the patch reverted than adding a module parameter which users might not know about and distros will probably never addopt.
Quoted 4 lines
Just like [2] should have been reverted.
Until then, we'll have to paper over this stuff.
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
But a module parameter complicates things rather than just papering over.
I suggest we get both reverted if they break existing platforms.
We're in violent agreement.
Did anyone submit those reverts? Doesn't look like it from what I see. Do we maybe need to poke the subsystem maintainers?
Sent the revert for the interconnect driver commit only.