Re: [PATCHv2] firmware: zynqmp: add handling of the NULL return payload pointer in xilinx_pm_request.

2021-10-14 Thread Michal Simek
On 10/14/21 13:17, Adrian Fiergolski wrote: On 14.10.2021 11:47, Michal Simek wrote: On 10/14/21 10:54, Adrian Fiergolski wrote: On 14.10.2021 at 09:22, Michal Simek wrote: First of all subject is quite long. Please make it shorter and remove dot at the end. On 10/13/21 18:21, Adrian

Re: [PATCHv2] firmware: zynqmp: add handling of the NULL return payload pointer in xilinx_pm_request.

2021-10-14 Thread Adrian Fiergolski
On 14.10.2021 11:47, Michal Simek wrote: > > > On 10/14/21 10:54, Adrian Fiergolski wrote: >> On 14.10.2021 at 09:22, Michal Simek wrote: >>> >>> First of all subject is quite long. Please make it shorter and remove >>> dot at the end. >>> >>> >>> On 10/13/21 18:21, Adrian Fiergolski wrote:

Re: [PATCHv2] firmware: zynqmp: add handling of the NULL return payload pointer in xilinx_pm_request.

2021-10-14 Thread Michal Simek
On 10/14/21 10:54, Adrian Fiergolski wrote: On 14.10.2021 at 09:22, Michal Simek wrote: First of all subject is quite long. Please make it shorter and remove dot at the end. On 10/13/21 18:21, Adrian Fiergolski wrote: When a caller is not interested in the returned message, the

Re: [PATCHv2] firmware: zynqmp: add handling of the NULL return payload pointer in xilinx_pm_request.

2021-10-14 Thread Adrian Fiergolski
On 14.10.2021 at 09:22, Michal Simek wrote: > > First of all subject is quite long. Please make it shorter and remove > dot at the end. > > > On 10/13/21 18:21, Adrian Fiergolski wrote: >> When a caller is not interested in the returned message, the >> ret_payload pointer is set to NULL in the

Re: [PATCHv2] firmware: zynqmp: add handling of the NULL return payload pointer in xilinx_pm_request.

2021-10-14 Thread Michal Simek
First of all subject is quite long. Please make it shorter and remove dot at the end. On 10/13/21 18:21, Adrian Fiergolski wrote: When a caller is not interested in the returned message, the ret_payload pointer is set to NULL in the u-boot-sources. In this case, under EL3, the memory from

[PATCHv2] firmware: zynqmp: add handling of the NULL return payload pointer in xilinx_pm_request.

2021-10-13 Thread Adrian Fiergolski
When a caller is not interested in the returned message, the ret_payload pointer is set to NULL in the u-boot-sources. In this case, under EL3, the memory from address 0x0 would be overwritten by xilinx_pm_request with the returned IPI message, damaging the original data under this address. The