Re: [PATCH v4] irqchip/gicv3-its: Avoid memory over allocation for ITEs

2017-06-21 Thread Marc Zyngier
On 21/06/17 02:22, Shanker Donthineni wrote: > Hi Marc, > > On 05/06/2017 06:25 AM, Marc Zyngier wrote: >> On Fri, May 05 2017 at 11:04:22 pm BST, Shanker Donthineni >> wrote: >>> Hi Marc, >>> >>> >>> On 05/02/2017 11:16 AM, Marc Zyngier wrote: On Sun, Apr 30 2017 at 3:36:15 pm BST, Shanke

Re: [PATCH v4] irqchip/gicv3-its: Avoid memory over allocation for ITEs

2017-06-20 Thread Shanker Donthineni
Hi Marc, On 05/06/2017 06:25 AM, Marc Zyngier wrote: > On Fri, May 05 2017 at 11:04:22 pm BST, Shanker Donthineni > wrote: >> Hi Marc, >> >> >> On 05/02/2017 11:16 AM, Marc Zyngier wrote: >>> On Sun, Apr 30 2017 at 3:36:15 pm BST, Shanker Donthineni >>> wrote: We are always allocating ex

Re: [PATCH v4] irqchip/gicv3-its: Avoid memory over allocation for ITEs

2017-05-06 Thread Marc Zyngier
On Fri, May 05 2017 at 11:04:22 pm BST, Shanker Donthineni wrote: > Hi Marc, > > > On 05/02/2017 11:16 AM, Marc Zyngier wrote: >> On Sun, Apr 30 2017 at 3:36:15 pm BST, Shanker Donthineni >> wrote: >>> We are always allocating extra 255Bytes of memory to handle ITE >>> physical address alignme

Re: [PATCH v4] irqchip/gicv3-its: Avoid memory over allocation for ITEs

2017-05-05 Thread Shanker Donthineni
Hi Marc, On 05/02/2017 11:16 AM, Marc Zyngier wrote: > On Sun, Apr 30 2017 at 3:36:15 pm BST, Shanker Donthineni > wrote: >> We are always allocating extra 255Bytes of memory to handle ITE >> physical address alignment requirement. The kmalloc() satisfies >> the ITE alignment since the ITS dri

Re: [PATCH v4] irqchip/gicv3-its: Avoid memory over allocation for ITEs

2017-05-02 Thread Marc Zyngier
On Sun, Apr 30 2017 at 3:36:15 pm BST, Shanker Donthineni wrote: > We are always allocating extra 255Bytes of memory to handle ITE > physical address alignment requirement. The kmalloc() satisfies > the ITE alignment since the ITS driver is requesting a minimum > size of ITS_ITT_ALIGN bytes. > >