Re: [PATCH v3] PCI/sysfs: Change read permissions for VPD attributes

2024-12-03 Thread Bjorn Helgaas
[+cc Linux hardening folks for any security/reliability concerns] On Tue, Dec 03, 2024 at 07:40:27PM +0200, Leon Romanovsky wrote: > On Tue, Dec 03, 2024 at 09:24:56AM -0800, Stephen Hemminger wrote: > > On Tue, 3 Dec 2024 14:15:28 +0200 > > Leon Romanovsky wrote: > > > > > The Vital Product Da

Re: [PATCH v3] driver core: Cancel scheduled pm_runtime_idle() on device removal

2024-03-04 Thread Bjorn Helgaas
On Mon, Mar 04, 2024 at 03:38:38PM +0100, Rafael J. Wysocki wrote: > On Thu, Feb 29, 2024 at 7:23 AM Kai-Heng Feng > wrote: > > > > When inserting an SD7.0 card to Realtek card reader, the card reader > > unplugs itself and morph into a NVMe device. The slot Link down on hot > > unplugged can caus

Re: [PATCH v3] driver core: Cancel scheduled pm_runtime_idle() on device removal

2024-02-29 Thread Bjorn Helgaas
[+to Rafael, can you comment on whether this is the right fix for the .remove() vs .runtime_idle() race?] On Thu, Feb 29, 2024 at 02:22:00PM +0800, Kai-Heng Feng wrote: > When inserting an SD7.0 card to Realtek card reader, the card reader > unplugs itself and morph into a NVMe device. The slot Li

Re: [PATCH v4 3/3] ARM: dts: aspeed: System1: IBM system1 BMC board

2024-01-16 Thread Bjorn Helgaas
On Tue, Jan 16, 2024 at 12:37:34PM -0600, Ninad Palsule wrote: > From: Andrew Geissler > > Add a device tree for IBM system1 BMC board. It uses AST2600 SOC. > - Added base board s/Added/Add/ to match first sentence. > - Added i2c devices and muxes. > - Added different voltage regulators. > - Ad

Re: [PATCH v2] PCI: Prevent device from doing RPM when it's unplugged

2023-12-14 Thread Bjorn Helgaas
[+cc Rafael, runtime PM expert :)] On Tue, Dec 12, 2023 at 12:38:07PM +0800, Kai-Heng Feng wrote: > When inserting an SD7.0 card to Realtek card reader, the card reader > unplugs itself and morph into a NVMe device. The slot Link down on hot > unplugged can cause the following error: A page fault

Re: [PATCH v2][next] PCI/P2PDMA: Fix potential undefined behavior bug in struct pci_p2pdma_pagemap

2023-10-03 Thread Bjorn Helgaas
On Mon, Oct 02, 2023 at 09:04:15PM +0200, Gustavo A. R. Silva wrote: > `struct dev_pagemap` is a flexible structure, which means that it > contains a flexible-array member at the bottom. This could potentially > lead to an overwrite of the objects following `pgmap` in `struct > pci_p2pdma_pagemap`,