Re: [PATCH] remoteproc: qcom: pil-info: Fix shift overflow

2020-07-16 Thread Nathan Chancellor
On Wed, Jul 15, 2020 at 10:48:17PM -0700, Bjorn Andersson wrote: > On platforms with 32-bit phys_addr_t the shift to get the upper word of > the base address of the memory region is invalid. Cast the base to 64 > bit to resolv this. > > Fixes: 549b67da660d ("remoteproc: qcom: Introduce helper to s

[PATCH] remoteproc: qcom: pil-info: Fix shift overflow

2020-07-15 Thread Bjorn Andersson
On platforms with 32-bit phys_addr_t the shift to get the upper word of the base address of the memory region is invalid. Cast the base to 64 bit to resolv this. Fixes: 549b67da660d ("remoteproc: qcom: Introduce helper to store pil info in IMEM") Reported-by: Lee Jones Reported-by: Nathan Chance