Re: [CFT][PATCH] kexec: Remove the error prone kernel_version function

2021-04-17 Thread Simon Horman
On Mon, Apr 12, 2021 at 01:24:35PM -0400, Joe Korty wrote: > On Fri, Apr 09, 2021 at 11:22:51AM -0500, Eric W. Biederman wrote: > > > > During kexec there are two kernel versions at play. The version of > > the running kernel and the version of the kernel that will be booted. > > > > On powerpc

Re: [CFT][PATCH] kexec: Remove the error prone kernel_version function

2021-04-14 Thread Tao Liu
On Fri, Apr 09, 2021 at 11:22:51AM -0500, Eric W. Biederman wrote: > > During kexec there are two kernel versions at play. The version of > the running kernel and the version of the kernel that will be booted. > > On powerpc it appears people have been using the version of the > running kernel t

Re: [CFT][PATCH] kexec: Remove the error prone kernel_version function

2021-04-12 Thread Joe Korty
On Fri, Apr 09, 2021 at 11:22:51AM -0500, Eric W. Biederman wrote: > > During kexec there are two kernel versions at play. The version of > the running kernel and the version of the kernel that will be booted. > > On powerpc it appears people have been using the version of the > running kernel t

[CFT][PATCH] kexec: Remove the error prone kernel_version function

2021-04-09 Thread Eric W. Biederman
During kexec there are two kernel versions at play. The version of the running kernel and the version of the kernel that will be booted. On powerpc it appears people have been using the version of the running kernel to attempt to detect properties of the kernel to be booted which is just wrong.