Re: [PATCH 3/3] ACPI: Don't create a platform_device for IOAPIC/IOxAPIC

From: Rafael J. Wysocki
Date: Thu Mar 23 2017 - 07:20:00 EST


On Thu, Mar 23, 2017 at 11:50 AM, Joerg Roedel <jroedel@xxxxxxx> wrote:
> On Thu, Mar 23, 2017 at 02:06:44AM +0100, Rafael J. Wysocki wrote:
>> The main problem is that representing anything hot-removable as a
>> platform device is inherently fragile, as the platform bus type has no
>> idea whatever about things that may physically go away and platform
>> drivers don't expect that devices may vanish from under them in
>> general and so on. Unregistration alone doesn't help much with that,
>> so IMO at least for now it's better to avoid using platform_device for
>> hot-removable stuff.
>
> Okay, thanks for the explanation. So patch 2 could be dropped, should I
> resend without that patch or do you want to pick them up from this post?

I can pick them up easily enough, thanks!

Take care,
Rafael