lkml.org 
[lkml]   [2017]   [Jan]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/1] EDAC: always return an initialized value in knl_show_interleave_mode
On Sun, Jan 22, 2017 at 04:50:31PM +0100, Nicolas Iooss wrote:
> if (!is_knl)
> return interleave_mode(reg) ?
> "[8:6]" : "[8:6]XOR[18:16]";
> else
> return knl_intlv_mode[knl_interleave_mode(reg)];
>
> Would this be good for you?

Ah, yes we interleave on address bits [8:6] when the bitield is 0 on KNL
while bitfield 0 for the rest of the families gives interleave mode for
the XOR of bits [8:6] and [18:16]. Good catch.

Thanks.

--
Regards/Gruss,
Boris.

Good mailing practices for 400: avoid top-posting and trim the reply.

\
 
 \ /
  Last update: 2017-01-22 17:10    [W:0.928 / U:0.484 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site