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

2019-08-19 Thread Marc Zyngier
On Mon, 12 Aug 2019 13:52:56 +0100, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > We currently have a dedicated function to map the interrupt simulator > offsets to global interrupt numbers. This is something that irq_domain > should handle. > > Create a linear irq_domain when i

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

2019-08-18 Thread Jonathan Cameron
On Mon, 12 Aug 2019 14:52:56 +0200 Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > We currently have a dedicated function to map the interrupt simulator > offsets to global interrupt numbers. This is something that irq_domain > should handle. > > Create a linear irq_domain when init

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

2019-08-12 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We currently have a dedicated function to map the interrupt simulator offsets to global interrupt numbers. This is something that irq_domain should handle. Create a linear irq_domain when initializing the interrupt simulator and modify the irq_sim_fire() function to onl