Re: [PATCH] powerpc: Add macros for the ibm_architecture_vec[] lengths

2014-09-14 Thread Michael Ellerman
On Tue, 2014-09-09 at 11:03 +1000, Stewart Smith wrote: > Michael Ellerman writes: > > The encoding of the lengths in the ibm_architecture_vec array is > > "interesting" to say the least. It's non-obvious how the number of bytes > > we provide relates to the length value. > > > > In fact we alread

Re: [PATCH] powerpc: Add macros for the ibm_architecture_vec[] lengths

2014-09-08 Thread Stewart Smith
Michael Ellerman writes: > The encoding of the lengths in the ibm_architecture_vec array is > "interesting" to say the least. It's non-obvious how the number of bytes > we provide relates to the length value. > > In fact we already got it wrong once, see 11e9ed43ca8a "Fix up > ibm_architecture_vec

[PATCH] powerpc: Add macros for the ibm_architecture_vec[] lengths

2014-08-29 Thread Michael Ellerman
The encoding of the lengths in the ibm_architecture_vec array is "interesting" to say the least. It's non-obvious how the number of bytes we provide relates to the length value. In fact we already got it wrong once, see 11e9ed43ca8a "Fix up ibm_architecture_vec definition". So add some macros to