<div class="socmaildefaultfont" dir="ltr" style="font-family:Arial, Helvetica, sans-serif;font-size:10.5pt" ><div dir="ltr" >Hi,</div>
<div dir="ltr" > </div>
<div dir="ltr" >Yes, the OCC driver will depend on the SBE driver for P9. I suppose the OCC driver could handle all the SBE register access over FSI itself... but not sure if that's a good approach.</div>
<div dir="ltr" > </div>
<div dir="ltr" >I'll be on the call this evening.</div>
<div dir="ltr" > </div>
<div dir="ltr" >Eddie</div>
<div dir="ltr" > </div>
<blockquote data-history-content-modified="1" dir="ltr" style="border-left:solid #aaaaaa 2px; margin-left:5px; padding-left:5px; direction:ltr; margin-right:0px" >----- Original message -----<br>From: Patrick Williams <patrick@stwcx.xyz><br>To: Joel Stanley <joel@jms.id.au><br>Cc: eajames.ibm@gmail.com, OpenBMC Maillist <openbmc@lists.ozlabs.org>, Christopher Bostic <christopher.lee.bostic@gmail.com>, Edward James/Austin/IBM@IBMUS<br>Subject: Re: [RFC linux 1/2] drivers: fsi: Add SBE client device driver<br>Date: Mon, Dec 12, 2016 4:52 PM<br> 
<div><font face="Default Monospace,Courier New,Courier,monospace" size="2" >On Mon, Dec 12, 2016 at 03:26:46PM +1100, Joel Stanley wrote:<br>> Lets have a discussion abut what client drivers we will need to have<br>> in the kernel for FSI.<br>><br>> We should consider only creating kernel drivers when the code cannot<br>> live in userspace. This would mean situations where exclusive access<br>> to some part of the address space is required (SCOMs), when the<br>> sequence of reads/writes are timing critical, or when there are IRQs<br>> involved.<br>><br>> For cases where we're simply writing or reading values to the register<br>> CFAM address space, writing userspace code should be sufficient.<br>><br>> What do you think about this approach?<br><br>I'm pretty sure there is some layering going on here.  SBE driver uses<br>FSI, OCC driver (on P9) uses SBE.  We can't get an hwmon OCC driver<br>without this SBE driver.<br><br>Eddie, can you confirm?<br><br>--<br>Patrick Williams</font></div>
<div id="MIMEAttachInfoDiv" style="display:none" title="pgp-signature|signature.asc" > </div></blockquote>
<div dir="ltr" > </div></div><BR>