[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [qemu-s390x] [Qemu-ppc] [PATCH v2 10/10] spapr_pci: perform unplug v
From: |
David Hildenbrand |
Subject: |
Re: [qemu-s390x] [Qemu-ppc] [PATCH v2 10/10] spapr_pci: perform unplug via the hotplug handler |
Date: |
Mon, 5 Nov 2018 11:33:04 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 |
On 05.11.18 11:31, Greg Kurz wrote:
> On Mon, 5 Nov 2018 11:20:44 +0100
> David Hildenbrand <address@hidden> wrote:
>
>> Introduce and use the "unplug" callback.
>>
>> This is a preparation for multi-stage hotplug handlers, whereby the bus
>> hotplug handler is overwritten by the machine hotplug handler. This handler
>> will then pass control to the bus hotplug handler. So to get this running
>> cleanly, we also have to make sure to go via the hotplug handler chain when
>> actually unplugging a device after an unplug request. Lookup the hotplug
>> handler and call "unplug".
>>
>> Signed-off-by: David Hildenbrand <address@hidden>
>> ---
>
> Reviewed-by: Greg Kurz <address@hidden>
BTW, sorry for dropping you RB! (realized it just now)
--
Thanks,
David / dhildenb
- Re: [qemu-s390x] [PATCH v2 01/10] pci/pcie: rename hotplug handler callbacks, (continued)
[qemu-s390x] [PATCH v2 10/10] spapr_pci: perform unplug via the hotplug handler, David Hildenbrand, 2018/11/05
[qemu-s390x] [PATCH v2 05/10] pci/pcihp: perform check for bus capability in pre_plug handler, David Hildenbrand, 2018/11/05
[qemu-s390x] [PATCH v2 07/10] pci/pcihp: perform unplug via the hotplug handler, David Hildenbrand, 2018/11/05
[qemu-s390x] [PATCH v2 04/10] pci/pcie: stop plug/unplug if the slot is locked, David Hildenbrand, 2018/11/05
[qemu-s390x] [PATCH v2 06/10] pci/pcihp: overwrite hotplug handler recursively from the start, David Hildenbrand, 2018/11/05