Thread (8 messages) 8 messages, 3 authors, 2016-08-25

Re: [PATCH] PCI: release pci_host_bridge resource after remove root bus

From: Sinan Kaya <hidden>
Date: 2016-08-24 21:48:52
Also in: linux-pci

On 8/24/2016 5:39 PM, Bjorn Helgaas wrote:
quoted
Yes, may some pci drivers make a mistake, the refcount control the device object
quoted
release is fine, but I think move the mem resource release out is better.
If this is caused by driver bugs, I think we need to fix the driver
bugs.

So far all I see here is "it works when I do this."  What we need is
an argument for "it's correct to do this."  It's certainly possible
that you're already making that argument and I'm just not
understanding it.
I also want to point out that the sysfs is not the only device removal
path. As Bjorn pointed out, you were moving resource free code into the sysfs
path and breaking other path (ACPI hotplug).

-- 
Sinan Kaya
Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc.
Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help