On Fri, Oct 17, 2025 at 10:50:43AM -0700, Brian Norris wrote:
On Fri, Oct 17, 2025 at 08:58:20AM +0200, Greg Kroah-Hartman wrote:
On Thu, Oct 16, 2025 at 08:15:46AM -0700, Brian Norris wrote:
If adapting this change to pre-commit-d2bd39c0456b is better, I can submit an updated version here.
Without commit d2bd39c0456b, it just means that the 'max_link_speed' sysfs attribute is still susceptible to accessing a powered-down device/link. We're in no worse state than we were without this patch. And frankly, people are not likely to notice if they haven't already, since I'd guess most systems don't suspend devices this aggressively.
I'll gladly accept a fixed up patch for this, thanks.
I'll try to get that out today.
I didn't make time on Friday, and this patch was committed to 6.6.y already. So I've submitted a "part 2" here:
Subject: [PATCH 6.6] PCI/sysfs: Ensure devices are powered for config reads (part 2) https://lore.kernel.org/all/20251020204146.3193844-1-briannorris@chromium.or...
Brian