Re: [PATCH v2 2/3] irqchip: irq-mips-gic: Provide function to map GIC user section

2015-10-15 Thread Thomas Gleixner
On Thu, 15 Oct 2015, Qais Yousef wrote: > It could be refactored but the DT binding already specifies the GIC timer as a > subnode of GIC. Exposing this usermode register is the only thing left in the > register set that GIC driver wasn't dealing with. > > Little gain in changing all of this now I

Re: [PATCH v2 2/3] irqchip: irq-mips-gic: Provide function to map GIC user section

2015-10-15 Thread Qais Yousef
On 10/12/2015 11:16 AM, Thomas Gleixner wrote: On Mon, 12 Oct 2015, Marc Zyngier wrote: On 12/10/15 10:40, Markos Chandras wrote: From: Alex Smith The GIC provides a "user-mode visible" section containing a mirror of the counter registers which can be mapped into user memory. This will be use

Re: [PATCH v2 2/3] irqchip: irq-mips-gic: Provide function to map GIC user section

2015-10-12 Thread Thomas Gleixner
On Mon, 12 Oct 2015, Marc Zyngier wrote: > On 12/10/15 10:40, Markos Chandras wrote: > > From: Alex Smith > > > > The GIC provides a "user-mode visible" section containing a mirror of > > the counter registers which can be mapped into user memory. This will > > be used by the VDSO time function i

Re: [PATCH v2 2/3] irqchip: irq-mips-gic: Provide function to map GIC user section

2015-10-12 Thread Marc Zyngier
On 12/10/15 10:40, Markos Chandras wrote: > From: Alex Smith > > The GIC provides a "user-mode visible" section containing a mirror of > the counter registers which can be mapped into user memory. This will > be used by the VDSO time function implementations, so provide a > function to map it in.

[PATCH v2 2/3] irqchip: irq-mips-gic: Provide function to map GIC user section

2015-10-12 Thread Markos Chandras
From: Alex Smith The GIC provides a "user-mode visible" section containing a mirror of the counter registers which can be mapped into user memory. This will be used by the VDSO time function implementations, so provide a function to map it in. When the GIC is not enabled in Kconfig a dummy inlin