Re: [PATCH] firmware: xilinx: Use hash-table for api feature check

2020-11-24 Thread Michal Simek
On 24. 11. 20 6:52, Rajan Vaja wrote: > From: Amit Sunil Dhamne > > Currently array of fix length PM_API_MAX is used to cache > the pm_api version (valid or invalid). However ATF based > PM APIs values are much higher then PM_API_MAX. > So to include ATF based PM APIs also, use hash-table to >

Re: [PATCH] firmware: xilinx: Use hash-table for api feature check

2020-11-24 Thread Michal Simek
Hi, On 24. 11. 20 14:02, Arnd Bergmann wrote: > On Tue, Nov 24, 2020 at 1:54 PM Michal Simek wrote: >> On 24. 11. 20 6:52, Rajan Vaja wrote: >> >> Some lines should be added. >> >> Cc: stable >> Fixes: f3217d6f2f7a ("firmware: xilinx: fix out-of-bounds access") >> >> Tested-by: Michal Simek >

Re: [PATCH] firmware: xilinx: Use hash-table for api feature check

2020-11-24 Thread Arnd Bergmann
On Tue, Nov 24, 2020 at 1:54 PM Michal Simek wrote: > On 24. 11. 20 6:52, Rajan Vaja wrote: > > Some lines should be added. > > Cc: stable > Fixes: f3217d6f2f7a ("firmware: xilinx: fix out-of-bounds access") > > Tested-by: Michal Simek Reviewed-by: Arnd Bergmann > Arnd: do you see any issue w

Re: [PATCH] firmware: xilinx: Use hash-table for api feature check

2020-11-24 Thread Michal Simek
Hi, On 24. 11. 20 6:52, Rajan Vaja wrote: > From: Amit Sunil Dhamne > > Currently array of fix length PM_API_MAX is used to cache > the pm_api version (valid or invalid). However ATF based > PM APIs values are much higher then PM_API_MAX. > So to include ATF based PM APIs also, use hash-table to