[PATCH v6 1/6] firmware: xilinx: add register notifier in zynqmp firmware

Greg KH gregkh at linuxfoundation.org
Mon Oct 25 05:03:26 PDT 2021


On Mon, Oct 25, 2021 at 11:53:17AM +0000, Abhyuday Godhasara wrote:
> Hi Greg,
> 
> > -----Original Message-----
> > From: Greg KH <gregkh at linuxfoundation.org>
> > Sent: Monday, October 25, 2021 2:05 PM
> > To: Abhyuday Godhasara <agodhasa at xilinx.com>
> > Cc: Michal Simek <michals at xilinx.com>; Rajan Vaja <RAJANV at xilinx.com>;
> > Manish Narani <MNARANI at xilinx.com>; zou_wei at huawei.com; Sai Krishna
> > Potthuri <lakshmis at xilinx.com>; Jiaying Liang <jliang at xilinx.com>; Jiaying Liang
> > <jliang at xilinx.com>; linux-kernel at vger.kernel.org; linux-arm-
> > kernel at lists.infradead.org; Tejas Patel <TEJASP at xilinx.com>
> > Subject: Re: [PATCH v6 1/6] firmware: xilinx: add register notifier in zynqmp
> > firmware
> > 
> > On Mon, Oct 25, 2021 at 01:23:45AM -0700, Abhyuday Godhasara wrote:
> > > In zynqmp-firmware, register notifier is not supported, add support of
> > > register notifier in zynqmp-firmware.
> > >
> > > Signed-off-by: Tejas Patel <tejas.patel at xilinx.com>
> > > Signed-off-by: Abhyuday Godhasara <abhyuday.godhasara at xilinx.com>
> > > Acked-by: Michal Simek <michal.simek at xilinx.com>
> > > ---
> > > Changes in v6:
> > > - Minor fix
> > 
> > 
> > That is vague, what got "fixed" here?
> [Abhyuday] During rebase of patches on your tree couple of lines code was get mixed unintendedly in xlnx-zynqmp.h header file due to use of "git am -3".
> I corrected the below code which was wrong in previous patch v5.
> +static inline int zynqmp_pm_register_notifier(const u32 node, const u32 event,
> +					      const u32 wake, const u32 enable) {
> +	return -ENODEV;
> +}
> 
> In v5 it was like below, which is wrong
> static inline int zynqmp_pm_load_pdi(const u32 src, const u64 address)
> static inline int zynqmp_pm_register_notifier(const u32 node, const u32 event,
> 					      const u32 wake, const u32 enable) {
> 	return -ENODEV;
> }
> So, the body was missing here for zynqmp_pm_load_pdi in v5.

And why did you not describe this in the changelog text?  That is what I
was asking about here.  Please be specific, as reviewers need to know
this type of thing.

thanks,

greg k-h



More information about the linux-arm-kernel mailing list