Re: [PATCH] s390: enable detection of kernel version from bzImage

2019-07-16 Thread Petr Tesarik
On Tue, 16 Jul 2019 15:11:38 +0200 Vasily Gorbik wrote: > On Tue, Jul 16, 2019 at 10:30:14AM +, Petr Tesarik wrote: > > On Tue, 16 Jul 2019 00:12:19 +0200 > > Vasily Gorbik wrote: > > > > > Extend "parmarea" to include an offset of the version string, which is > > > stored as 8-byte big e

Re: [PATCH] s390: enable detection of kernel version from bzImage

2019-07-16 Thread Vasily Gorbik
On Tue, Jul 16, 2019 at 10:30:14AM +, Petr Tesarik wrote: > On Tue, 16 Jul 2019 00:12:19 +0200 > Vasily Gorbik wrote: > > > Extend "parmarea" to include an offset of the version string, which is > > stored as 8-byte big endian value. > > > > To retrieve version string from bzImage reliably,

Re: [PATCH] s390: enable detection of kernel version from bzImage

2019-07-16 Thread Petr Tesarik
On Tue, 16 Jul 2019 00:12:19 +0200 Vasily Gorbik wrote: > Extend "parmarea" to include an offset of the version string, which is > stored as 8-byte big endian value. > > To retrieve version string from bzImage reliably, one should check the > presence of "S390EP" ascii string at 0x10008 (availab

[PATCH] s390: enable detection of kernel version from bzImage

2019-07-15 Thread Vasily Gorbik
Extend "parmarea" to include an offset of the version string, which is stored as 8-byte big endian value. To retrieve version string from bzImage reliably, one should check the presence of "S390EP" ascii string at 0x10008 (available since v3.2), then read the version string offset from 0x10428 (wh