[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Hot unplug disabling on pci-pci bridge
From: |
Ani Sinha |
Subject: |
Re: Hot unplug disabling on pci-pci bridge |
Date: |
Fri, 17 Apr 2020 15:33:32 +0000 |
Hi Igor:
> On Mar 24, 2020, at 7:47 PM, Igor Mammedov <address@hidden> wrote:
>
> if you are interested in hacking ACPI PCI hotplug more, look at how
> build_append_pci_bus_devices() works
I am trying to disable hot unplug of a device on PCI-PCI bridge without
removing the capability to hot plug. Will it be enough to disable the following
lines of code?
+ method = aml_method("_EJ0", 1, AML_NOTSERIALIZED);
+ aml_append(method,
+ aml_call2("PCEJ", aml_name("BSEL"),
+ aml_name("_SUN"))
+ );
+ aml_append(dev, method);
I have sent a patch. Please provide comments.
https://lists.gnu.org/archive/html/qemu-devel/2020-04/msg02773.html
Thanks
Ani
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Hot unplug disabling on pci-pci bridge,
Ani Sinha <=