Patch "usb: dwc3: qcom: fix peripheral and OTG suspend" has been added to the 5.19-stable tree
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): YxXz7LBh5Y4DSd4W@sashalap
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): YxX29eiH0qyyRk9x@sashalap
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): YxX7R/EAynZC/iGr@sashalap
Quoted 33 lines · Sasha Levin
Quoted 15 lines · Johan Hovold
Quoted 14 lines · Sasha Levin
Quoted 13 lines · Johan Hovold
Quoted 8 lines · Sasha Levin
Quoted 5 lines · Johan Hovold
Quoted 1 line · Sasha Levin
Fixes 6895ea55c385 ("usb: dwc3: qcom: Configure wakeup interrupts during suspend")This commit doesn't exist in 5.19 (and earlier trees), shouldn't your scripts check for that?
They do - it was backported to 5.19.
What?! Why on earth would
6895ea55c385("usb: dwc3: qcom: Configure wakeup interrupts during suspend") be backported to stable?Quoted 6 lines
Quoted 4 lines
Quoted 2 lines
Please drop that patch instead. It's essentially a new feature and is in any case in no way stable material.
Right, it was picked up as a dependency of
a872ab303d5d("usb: dwc3: qcom: fix use-after-free on runtime-PM wakeup")That's wrong too, it's not a dependency for that fix.
Right, it may not strictly be one, but we're trying to bring in dependencies as is without modifying the patch is it's far less error prone, and keeps future backports easy, as long as backporting those isn't riskier.
In this case, if I were to drop
a872ab303d5dI'd also need to drop:
a872ab303d5d("usb: dwc3: qcom: fix use-after-free on runtime-PM wakeup")6498a96c8c9c("usb: dwc3: qcom: fix runtime PM wakeup")
Quoted 6 lines
Quoted 2 lines
So does this mean you're dropping the patches that should not be backported?
Having said the above, at the end it's your patches and your call, let me know if you're okay with dropping
a872ab303d5d,a872ab303d5d, and6498a96c8c9cfrom all trees and I'll do that.
Yes, please drop all of those, they don't belong in stable kernels, otherwise I would have added a cc: stable tag :)
thanks,
greg k-h
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): YxYrS3z/nYFYzoTh@sashalap
Quoted 54 lines · Sasha Levin
Quoted 53 lines · Johan Hovold
Quoted 19 lines · Sasha Levin
Quoted 18 lines · Johan Hovold
Quoted 17 lines · Sasha Levin
Quoted 15 lines · Johan Hovold
Quoted 8 lines · Sasha Levin
Quoted 5 lines · Johan Hovold
Quoted 1 line · Sasha Levin
Fixes 6895ea55c385 ("usb: dwc3: qcom: Configure wakeup interrupts during suspend")This commit doesn't exist in 5.19 (and earlier trees), shouldn't your scripts check for that?
They do - it was backported to 5.19.
What?! Why on earth would
6895ea55c385("usb: dwc3: qcom: Configure wakeup interrupts during suspend") be backported to stable?Please drop that patch instead. It's essentially a new feature and is in any case in no way stable material.
Quoted 8 lines
Quoted 3 lines
Quoted 1 line
Right, it was picked up as a dependency of
a872ab303d5d("usb: dwc3: qcom: fix use-after-free on runtime-PM wakeup")That's wrong too, it's not a dependency for that fix.
Right, it may not strictly be one, but we're trying to bring in dependencies as is without modifying the patch is it's far less error prone, and keeps future backports easy, as long as backporting those isn't riskier.
It should only be some context that have changed. Backporting a known broken and non-trivial feature patch for that can't be right. It is certainly riskier.
Quoted 10 lines
In this case, if I were to drop
a872ab303d5dI'd also need to drop:
a872ab303d5d("usb: dwc3: qcom: fix use-after-free on runtime-PM wakeup")6498a96c8c9c("usb: dwc3: qcom: fix runtime PM wakeup")Quoted 2 lines
So does this mean you're dropping the patches that should not be backported?
Having said the above, at the end it's your patches and your call, let me know if you're okay with dropping
a872ab303d5d,a872ab303d5d, andYou mentioned
a872ab303d5dtwice here.Quoted 1 line
6498a96c8c9cfrom all trees and I'll do that.This one didn't have a CC stable tag so not sure why you're backporting that one either.
Just pick
Quoted 7 lines
Quoted 5 lines
a872ab303d5d("usb: dwc3: qcom: fix use-after-free on runtime-PM wakeup")which was the only patch I had marked for stable and fix up the trivial context change (an unrelated function has been added after the new helper in mainline).
Okay, this should be done. Please take a look at the queue to confirm.
At a quick glance, looks good to me. I'll go through the other USB cc:
stable patches tomorrow and make sure.
thanks,
greg k-h
Quoted 54 lines · Sasha Levin
Quoted 53 lines · Johan Hovold
Quoted 19 lines · Sasha Levin
Quoted 18 lines · Johan Hovold
Quoted 17 lines · Sasha Levin
Quoted 15 lines · Johan Hovold
Quoted 8 lines · Sasha Levin
Quoted 5 lines · Johan Hovold
Quoted 1 line · Sasha Levin
Fixes 6895ea55c385 ("usb: dwc3: qcom: Configure wakeup interrupts during suspend")This commit doesn't exist in 5.19 (and earlier trees), shouldn't your scripts check for that?
They do - it was backported to 5.19.
What?! Why on earth would
6895ea55c385("usb: dwc3: qcom: Configure wakeup interrupts during suspend") be backported to stable?Please drop that patch instead. It's essentially a new feature and is in any case in no way stable material.
Quoted 8 lines
Quoted 3 lines
Quoted 1 line
Right, it was picked up as a dependency of
a872ab303d5d("usb: dwc3: qcom: fix use-after-free on runtime-PM wakeup")That's wrong too, it's not a dependency for that fix.
Right, it may not strictly be one, but we're trying to bring in dependencies as is without modifying the patch is it's far less error prone, and keeps future backports easy, as long as backporting those isn't riskier.
It should only be some context that have changed. Backporting a known broken and non-trivial feature patch for that can't be right. It is certainly riskier.
Quoted 10 lines
In this case, if I were to drop
a872ab303d5dI'd also need to drop:
a872ab303d5d("usb: dwc3: qcom: fix use-after-free on runtime-PM wakeup")6498a96c8c9c("usb: dwc3: qcom: fix runtime PM wakeup")Quoted 2 lines
So does this mean you're dropping the patches that should not be backported?
Having said the above, at the end it's your patches and your call, let me know if you're okay with dropping
a872ab303d5d,a872ab303d5d, andYou mentioned
a872ab303d5dtwice here.Quoted 1 line
6498a96c8c9cfrom all trees and I'll do that.This one didn't have a CC stable tag so not sure why you're backporting that one either.
Just pick
Quoted 7 lines
Quoted 5 lines
a872ab303d5d("usb: dwc3: qcom: fix use-after-free on runtime-PM wakeup")which was the only patch I had marked for stable and fix up the trivial context change (an unrelated function has been added after the new helper in mainline).
Okay, this should be done. Please take a look at the queue to confirm.
I only checked the pending-5.19 branch, but that one still has
360e8230516d ("usb: dwc3: qcom: Add helper functions to enable,disable wake irqs")
which should be dropped as well.
Johan
Quoted 61 lines · Johan Hovold
Quoted 60 lines · Sasha Levin
Quoted 58 lines · Johan Hovold
Quoted 19 lines · Sasha Levin
Quoted 18 lines · Johan Hovold
Quoted 17 lines · Sasha Levin
Quoted 15 lines · Johan Hovold
Quoted 8 lines · Sasha Levin
Quoted 5 lines · Johan Hovold
Quoted 1 line · Sasha Levin
Fixes 6895ea55c385 ("usb: dwc3: qcom: Configure wakeup interrupts during suspend")This commit doesn't exist in 5.19 (and earlier trees), shouldn't your scripts check for that?
They do - it was backported to 5.19.
What?! Why on earth would
6895ea55c385("usb: dwc3: qcom: Configure wakeup interrupts during suspend") be backported to stable?Please drop that patch instead. It's essentially a new feature and is in any case in no way stable material.
Quoted 8 lines
Quoted 3 lines
Quoted 1 line
Right, it was picked up as a dependency of
a872ab303d5d("usb: dwc3: qcom: fix use-after-free on runtime-PM wakeup")That's wrong too, it's not a dependency for that fix.
Right, it may not strictly be one, but we're trying to bring in dependencies as is without modifying the patch is it's far less error prone, and keeps future backports easy, as long as backporting those isn't riskier.
It should only be some context that have changed. Backporting a known broken and non-trivial feature patch for that can't be right. It is certainly riskier.
Quoted 10 lines
In this case, if I were to drop
a872ab303d5dI'd also need to drop:
a872ab303d5d("usb: dwc3: qcom: fix use-after-free on runtime-PM wakeup")6498a96c8c9c("usb: dwc3: qcom: fix runtime PM wakeup")Quoted 2 lines
So does this mean you're dropping the patches that should not be backported?
Having said the above, at the end it's your patches and your call, let me know if you're okay with dropping
a872ab303d5d,a872ab303d5d, andYou mentioned
a872ab303d5dtwice here.Quoted 1 line
6498a96c8c9cfrom all trees and I'll do that.This one didn't have a CC stable tag so not sure why you're backporting that one either.
Just pick
a872ab303d5d("usb: dwc3: qcom: fix use-after-free on runtime-PM wakeup")which was the only patch I had marked for stable and fix up the trivial context change (an unrelated function has been added after the new helper in mainline).
Quoted 7 lines
Quoted 1 line
Okay, this should be done. Please take a look at the queue to confirm.
I only checked the pending-5.19 branch, but that one still has
360e8230516d("usb: dwc3: qcom: Add helper functions to enable,disable wake irqs")which should be dropped as well.
Now dropped. It was needed for a different dwc3 patch, so I dropped that too and will figure them out later today...
thanks,
greg k-h
Quoted 14 lines · Greg Kroah-Hartman
Quoted 13 lines · Johan Hovold
Quoted 11 lines · Sasha Levin
Quoted 7 lines · Johan Hovold
Just pick
a872ab303d5d("usb: dwc3: qcom: fix use-after-free on runtime-PM wakeup")which was the only patch I had marked for stable and fix up the trivial context change (an unrelated function has been added after the new helper in mainline).
Okay, this should be done. Please take a look at the queue to confirm.
Quoted 8 lines
Quoted 5 lines
I only checked the pending-5.19 branch, but that one still has
360e8230516d("usb: dwc3: qcom: Add helper functions to enable,disable wake irqs")which should be dropped as well.
Now dropped. It was needed for a different dwc3 patch, so I dropped that too and will figure them out later today...
I believe that wasn't a real dependency either and only changed the context somewhat.
The only dwc3 fix that should be needed is the one mentioned above:
a872ab303d5d ("usb: dwc3: qcom: fix use-after-free on runtime-PM wakeup")
which is self-contained, even if the context (as in unrelated functions following the helper) may need to be adjusted.
Johan
Quoted 27 lines · Johan Hovold
Quoted 14 lines · Greg Kroah-Hartman
Quoted 13 lines · Johan Hovold
Quoted 11 lines · Sasha Levin
Quoted 7 lines · Johan Hovold
Just pick
a872ab303d5d("usb: dwc3: qcom: fix use-after-free on runtime-PM wakeup")which was the only patch I had marked for stable and fix up the trivial context change (an unrelated function has been added after the new helper in mainline).
Okay, this should be done. Please take a look at the queue to confirm.
Quoted 8 lines
Quoted 5 lines
I only checked the pending-5.19 branch, but that one still has
360e8230516d("usb: dwc3: qcom: Add helper functions to enable,disable wake irqs")which should be dropped as well.
Now dropped. It was needed for a different dwc3 patch, so I dropped that too and will figure them out later today...
I believe that wasn't a real dependency either and only changed the context somewhat.
Quoted 6 lines
The only dwc3 fix that should be needed is the one mentioned above:
a872ab303d5d("usb: dwc3: qcom: fix use-after-free on runtime-PM wakeup")which is self-contained, even if the context (as in unrelated functions following the helper) may need to be adjusted.
Ok, I've tried to apply the dwc3 patches that were tagged for stable now, and you should have some FAILED emails showing what did not apply.
thanks,
greg k-h
Quoted 11 lines · Greg Kroah-Hartman
Quoted 6 lines · Johan Hovold
The only dwc3 fix that should be needed is the one mentioned above:
a872ab303d5d("usb: dwc3: qcom: fix use-after-free on runtime-PM wakeup")which is self-contained, even if the context (as in unrelated functions following the helper) may need to be adjusted.
Ok, I've tried to apply the dwc3 patches that were tagged for stable now, and you should have some FAILED emails showing what did not apply.
Yeah, there are some trivial conflicts due to changes in context. I've just sent you backports to 5.15, which will hopefully apply to older trees as well.
Johan