Re: [PATCH v3 2/3] genirq: introduce update_irq_devid()

2019-08-19 Thread Thomas Gleixner
Ben, On Mon, 19 Aug 2019, luoben wrote: > 在 2019/8/15 下午10:58, Thomas Gleixner 写道: > > > This narrows the gap for setting up new irq (and irte, if has) > > What does that mean: "narrows the gap" > > > > What's the gap and why is it only made smaller and not closed? > > Sorry for confusing. The

Re: [PATCH v3 2/3] genirq: introduce update_irq_devid()

2019-08-18 Thread luoben
在 2019/8/15 下午10:58, Thomas Gleixner 写道: Ben, On Thu, 15 Aug 2019, Ben Luo wrote: Sometimes, only the dev_id field of irqaction need to be changed. E.g. KVM VM with device passthru via VFIO may switch irq injection path between KVM irqfd and userspace eventfd. These two paths share the same

Re: [PATCH v3 2/3] genirq: introduce update_irq_devid()

2019-08-15 Thread Thomas Gleixner
Ben, On Thu, 15 Aug 2019, Ben Luo wrote: > Sometimes, only the dev_id field of irqaction need to be changed. > E.g. KVM VM with device passthru via VFIO may switch irq injection > path between KVM irqfd and userspace eventfd. These two paths > share the same irq num and handler for the same

[PATCH v3 2/3] genirq: introduce update_irq_devid()

2019-08-15 Thread Ben Luo
Sometimes, only the dev_id field of irqaction need to be changed. E.g. KVM VM with device passthru via VFIO may switch irq injection path between KVM irqfd and userspace eventfd. These two paths share the same irq num and handler for the same vector of a device, only with different dev_id