From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3rYTRS0Mz4zDqCX for ; Tue, 21 Jun 2016 10:40:52 +1000 (AEST) In-Reply-To: <1464025158-23849-1-git-send-email-imunsie@au.ibm.com> To: Ian Munsie , mikey , linuxppc-dev@lists.ozlabs.org, Frederic Barrat , Huy Nguyen From: Michael Ellerman Cc: Ian Munsie , Frederic Barrat Subject: Re: cxl: Abstract the differences between the PSL and XSL Message-Id: <3rYTRR3cNjz9t0S@ozlabs.org> Date: Tue, 21 Jun 2016 10:40:51 +1000 (AEST) List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, 2016-23-05 at 17:39:18 UTC, Ian Munsie wrote: > 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. This > adds an ops structure to abstract these differences to bring initial > support for XSL CAPI devices. > > The XSL does not implement the optional architected SERR register, > however while it treats it as a reserved register and should work with > no special treatment, attempting to access it will cause the XSL_FEC > (First Error Capture) register to be filled out, preventing it from > capturing any subsequent errors. Therefore, this patch also prevents the > kernel from trying to set up the SERR register so that the FEC register > may still be useful, and to save one interrupt. > > The XSL also uses a special DMA cxl mode, which uses a slightly > different init sequence for the CAPP and PHB. The kernel support for > this will be in a future patch once the corresponding support has been > merged into skiboot. > > Co-authored-by: Ian Munsie > Signed-off-by: Ian Munsie Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/6d382616ac2283ed65c7a6a52d cheers