Re: [PATCH v2 4/6] irqchip/irq-pruss-intc: Add helper functions to configure internal mapping

2019-08-13 Thread Suman Anna
Hi David, On 8/13/19 9:26 AM, David Lechner wrote: > On 8/12/19 2:39 PM, Suman Anna wrote: >> Hi David, >> >> On 8/8/19 12:09 PM, David Lechner wrote: >>> On 8/2/19 4:26 PM, Suman Anna wrote: Point is different applications might use mapping differently as per their firmware and

Re: [PATCH v2 4/6] irqchip/irq-pruss-intc: Add helper functions to configure internal mapping

2019-08-13 Thread David Lechner
On 8/12/19 2:39 PM, Suman Anna wrote: Hi David, On 8/8/19 12:09 PM, David Lechner wrote: On 8/2/19 4:26 PM, Suman Anna wrote: Point is different applications might use mapping differently as per their firmware and driver/application design and their split across one or more PRUs (design by

Re: [PATCH v2 4/6] irqchip/irq-pruss-intc: Add helper functions to configure internal mapping

2019-08-12 Thread Suman Anna
Hi David, On 8/8/19 12:09 PM, David Lechner wrote: > On 8/2/19 4:26 PM, Suman Anna wrote: >> Point is different applications might use mapping differently as per >> their firmware and driver/application design and their split across one >> or more PRUs (design by contract). And we need to set

Re: [PATCH v2 4/6] irqchip/irq-pruss-intc: Add helper functions to configure internal mapping

2019-08-08 Thread David Lechner
On 8/8/19 12:09 PM, David Lechner wrote: Then we can provide a vendor resource hook in the remoteproc driver to handle these resources: static int ti_pru_rproc_handle_rsc(struct rproc *rproc, u32 rsc_type, void *rsc,    int offset, int avail) { struct ti_pru_data *pru =

Re: [PATCH v2 4/6] irqchip/irq-pruss-intc: Add helper functions to configure internal mapping

2019-08-08 Thread David Lechner
On 8/2/19 4:26 PM, Suman Anna wrote: Point is different applications might use mapping differently as per their firmware and driver/application design and their split across one or more PRUs (design by contract). And we need to set this up at runtime when the application driver is getting run.

Re: [PATCH v2 4/6] irqchip/irq-pruss-intc: Add helper functions to configure internal mapping

2019-08-02 Thread Suman Anna
Hi David, On 8/1/19 1:31 PM, David Lechner wrote: > On 8/1/19 12:10 PM, Suman Anna wrote: >> Hi Marc, >> >> On 8/1/19 3:45 AM, Marc Zyngier wrote: >>> On 31/07/2019 23:41, Suman Anna wrote: The PRUSS INTC receives a number of system input interrupt source events and supports individual

Re: [PATCH v2 4/6] irqchip/irq-pruss-intc: Add helper functions to configure internal mapping

2019-08-01 Thread David Lechner
On 8/1/19 12:10 PM, Suman Anna wrote: Hi Marc, On 8/1/19 3:45 AM, Marc Zyngier wrote: On 31/07/2019 23:41, Suman Anna wrote: The PRUSS INTC receives a number of system input interrupt source events and supports individual control configuration and hardware prioritization. These input events

Re: [PATCH v2 4/6] irqchip/irq-pruss-intc: Add helper functions to configure internal mapping

2019-08-01 Thread Suman Anna
Hi Marc, On 8/1/19 3:45 AM, Marc Zyngier wrote: > On 31/07/2019 23:41, Suman Anna wrote: >> The PRUSS INTC receives a number of system input interrupt source events >> and supports individual control configuration and hardware prioritization. >> These input events can be mapped to some output

Re: [PATCH v2 4/6] irqchip/irq-pruss-intc: Add helper functions to configure internal mapping

2019-08-01 Thread Marc Zyngier
On 31/07/2019 23:41, Suman Anna wrote: > The PRUSS INTC receives a number of system input interrupt source events > and supports individual control configuration and hardware prioritization. > These input events can be mapped to some output interrupt lines through 2 > levels of many-to-one mapping

[PATCH v2 4/6] irqchip/irq-pruss-intc: Add helper functions to configure internal mapping

2019-07-31 Thread Suman Anna
The PRUSS INTC receives a number of system input interrupt source events and supports individual control configuration and hardware prioritization. These input events can be mapped to some output interrupt lines through 2 levels of many-to-one mapping i.e. events to channel mapping and channels to