lkml.org 
[lkml]   [2020]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: About irq_create_affinity_masks() for a platform device driver
From
Date
Hi Thomas,

>
>> And if we were to go this way, then we don't need to add the pointer in
>> struct platform_device to hold affinity mask descriptors as we're using
>> them immediately. Or even have a single function to do it all in the irq
>> code (create the masks and update the affinity desc).
>>
>> And since we're just updating the masks, I figure we shouldn't need to
>> add acpi_irq_get_count(), which I invented to get the irq count (without
>> creating the IRQ mapping).
> Yes, you can create and apply the masks after setting up the interrupts.
>

So my original concern was that the changes here would be quite
disruptive, but that does not look to be the case.

I need a couple of more things to go into the kernel before I can safely
switch to use managed interrupts in the LLDD, like "blk-mq: improvement
CPU hotplug" series, so I will need to wait on that for the moment.

Thanks,
John

\
 
 \ /
  Last update: 2020-02-04 10:56    [W:0.072 / U:2.912 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site