Message ID | bb8884e4-ef88-90cc-5ab6-0af639452696@monstr.eu (mailing list archive) |
---|---|
State | Changes Requested |
Commit | d2b8ae385c153cc0ea32ce6db0537f35271e09fa |
Headers | show |
Series | [GIT,PULL] ARM: soc: Xilinx SOC changes for v5.9 | expand |
On Thu, Jul 30, 2020 at 7:39 AM Michal Simek <monstr@monstr.eu> wrote: > > Rajan Vaja (1): > drivers: soc: xilinx: Call InitFinalize from late_initcall_sync instead of probe I looked at the contents and decided not to pull this one branch, as it looks like this patch would introduce a regression on all non-zynq machines. Rajan, please check this patch again and make sure that we do not call a zynq specific interface without ensuring that the kernel is actually running on zynq. That check might be there, but I could not see how it is ensured. Generally speaking, initcall() needs be used very carefully. Arnd
Hi Arnd, > -----Original Message----- > From: Arnd Bergmann <arnd@arndb.de> > Sent: 31 July 2020 01:57 PM > To: monstr@monstr.eu > Cc: arm-soc <arm@kernel.org>; SoC Team <soc@kernel.org>; linux-arm-kernel > <linux-arm-kernel@lists.infradead.org>; Rajan Vaja <RAJANV@xilinx.com> > Subject: Re: [GIT PULL] ARM: soc: Xilinx SOC changes for v5.9 > > CAUTION: This message has originated from an External Source. Please use proper > judgment and caution when opening attachments, clicking links, or responding to > this email. > > > On Thu, Jul 30, 2020 at 7:39 AM Michal Simek <monstr@monstr.eu> wrote: > > > > > Rajan Vaja (1): > > drivers: soc: xilinx: Call InitFinalize from late_initcall_sync instead of probe > > I looked at the contents and decided not to pull this one branch, as it looks > like this patch would introduce a regression on all non-zynq machines. > > Rajan, please check this patch again and make sure that we do not > call a zynq specific interface without ensuring that the kernel is actually > running on zynq. That check might be there, but I could not see how it > is ensured. Generally speaking, initcall() needs be used very carefully. [Rajan] Yes. I will update and fix it in new version. Thanks for catching it. Thanks, Rajan [Rajan] > > Arnd
Hi, On 31. 07. 20 10:27, Arnd Bergmann wrote: > On Thu, Jul 30, 2020 at 7:39 AM Michal Simek <monstr@monstr.eu> wrote: > >> >> Rajan Vaja (1): >> drivers: soc: xilinx: Call InitFinalize from late_initcall_sync instead of probe > > I looked at the contents and decided not to pull this one branch, as it looks > like this patch would introduce a regression on all non-zynq machines. > > Rajan, please check this patch again and make sure that we do not > call a zynq specific interface without ensuring that the kernel is actually > running on zynq. That check might be there, but I could not see how it > is ensured. Generally speaking, initcall() needs be used very carefully. ok. Let me send a pull request with only that patch from Dan. Or if you want to take it directly I am also fine with it. Thanks, Michal