Re: [PATCH v2 1/9] irq/irq_sim: don't share the irq_chip structure between simulators

2019-02-12 Thread Bartosz Golaszewski
pon., 11 lut 2019 o 23:28 Marc Zyngier napisaƂ(a): > > On Tue, 29 Jan 2019 09:44:03 +0100 > Bartosz Golaszewski wrote: > > > From: Bartosz Golaszewski > > > > We want to support multiple instances of irq_sim. Make struct irq_chip > > part of the irq_sim structure. > > Why? There is nothing dynam

Re: [PATCH v2 1/9] irq/irq_sim: don't share the irq_chip structure between simulators

2019-02-11 Thread Marc Zyngier
On Tue, 29 Jan 2019 09:44:03 +0100 Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > We want to support multiple instances of irq_sim. Make struct irq_chip > part of the irq_sim structure. Why? There is nothing dynamic in an irqchip structure. It is all code that is set in stone for t

[PATCH v2 1/9] irq/irq_sim: don't share the irq_chip structure between simulators

2019-01-29 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We want to support multiple instances of irq_sim. Make struct irq_chip part of the irq_sim structure. Signed-off-by: Bartosz Golaszewski --- include/linux/irq_sim.h | 2 ++ kernel/irq/irq_sim.c| 12 +--- 2 files changed, 7 insertions(+), 7 deletions(-) d