Re: [PATCH v2 2/9] irq/irq_sim: use irq domain

2019-02-12 Thread Bartosz Golaszewski
wt., 12 lut 2019 o 09:53 Marc Zyngier napisał(a): > > Bartosz, > > On Tue, 12 Feb 2019 08:30:32 +, > Bartosz Golaszewski wrote: > > > > pon., 11 lut 2019 o 23:26 Marc Zyngier napisał(a): > > > > > > On Tue, 29 Jan 2019 09:44:04 +0100 > > > Bartosz Golaszewski wrote: > > > > > > > From:

Re: [PATCH v2 2/9] irq/irq_sim: use irq domain

2019-02-12 Thread Marc Zyngier
Bartosz, On Tue, 12 Feb 2019 08:30:32 +, Bartosz Golaszewski wrote: > > pon., 11 lut 2019 o 23:26 Marc Zyngier napisał(a): > > > > On Tue, 29 Jan 2019 09:44:04 +0100 > > Bartosz Golaszewski wrote: > > > > > From: Bartosz Golaszewski > > > > > > Delegate the offset to virq number mapping

Re: [PATCH v2 2/9] irq/irq_sim: use irq domain

2019-02-12 Thread Bartosz Golaszewski
pon., 11 lut 2019 o 23:26 Marc Zyngier napisał(a): > > On Tue, 29 Jan 2019 09:44:04 +0100 > Bartosz Golaszewski wrote: > > > From: Bartosz Golaszewski > > > > Delegate the offset to virq number mapping to the provided framework > > instead of handling it locally. Use the legacy domain as we

Re: [PATCH v2 2/9] irq/irq_sim: use irq domain

2019-02-11 Thread Marc Zyngier
On Tue, 29 Jan 2019 09:44:04 +0100 Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Delegate the offset to virq number mapping to the provided framework > instead of handling it locally. Use the legacy domain as we want to > preallocate the irq descriptors. Why? > > Signed-off-by:

[PATCH v2 2/9] irq/irq_sim: use irq domain

2019-01-29 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Delegate the offset to virq number mapping to the provided framework instead of handling it locally. Use the legacy domain as we want to preallocate the irq descriptors. Signed-off-by: Bartosz Golaszewski --- include/linux/irq_sim.h | 6 +-- kernel/irq/irq_sim.c