Re: [PATCH] cxl: Abstract the differences between the PSL and XSL

2016-05-30 Thread Andrew Donnellan
On 31/05/16 09:01, Michael Ellerman wrote: Those come from XSL_databook_09_June_2014.pdf Where do I find that? My understanding is that it's IBM Confidential and isn't available to the general community, unfortunately. Andrew -- Andrew Donnellan OzLabs, ADL Canberra andrew.d

Re: [PATCH] cxl: Abstract the differences between the PSL and XSL

2016-05-30 Thread Michael Ellerman
On Fri, 2016-05-27 at 13:06 +, John W Walthour wrote: > > Those come from > XSL_databook_09_June_2014.pdf Where do I find that? cheers ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH] cxl: Abstract the differences between the PSL and XSL

2016-05-27 Thread John W Walthour
  Those come from XSL_databook_09_June_2014.pdf   The registers in this doc listed at 0x400-600 are offset by 0x400, so 0x568 = 0x168.    John WalthourDevelopment EngineerIBM Corporation | Systems & Technology GroupPhone: (512) 973-1095 | T/L: 363-1095Email: jwalth...@us.ibm.comreturn 0     -

Re: [PATCH] cxl: Abstract the differences between the PSL and XSL

2016-05-27 Thread Frederic Barrat
Hi Ian, It looks good, just one question: +/* XSL registers (Mellanox CX4) */ +static const cxl_p1_reg_t CXL_XSL_Timebase = {0x0100}; +static const cxl_p1_reg_t CXL_XSL_TB_CTLSTAT = {0x0108}; +static const cxl_p1_reg_t CXL_XSL_FEC = {0x0158}; +static const cxl_p1_reg_t CXL_XSL_DSNCTL

[PATCH] cxl: Abstract the differences between the PSL and XSL

2016-05-23 Thread Ian Munsie
From: Frederic Barrat The XSL (Translation Service Layer) is a stripped down version of the PSL (Power Service Layer) used in some cards such as the Mellanox CX4. Like the PSL, it implements the CAIA architecture, but has a number of differences, mostly in it's implementation dependent registers