[RFC linux 1/2] drivers: fsi: Add SBE client device driver

Patrick Williams patrick at stwcx.xyz
Tue Dec 13 09:52:15 AEDT 2016


On Mon, Dec 12, 2016 at 03:26:46PM +1100, Joel Stanley wrote:
> Lets have a discussion abut what client drivers we will need to have
> in the kernel for FSI.
> 
> We should consider only creating kernel drivers when the code cannot
> live in userspace. This would mean situations where exclusive access
> to some part of the address space is required (SCOMs), when the
> sequence of reads/writes are timing critical, or when there are IRQs
> involved.
> 
> For cases where we're simply writing or reading values to the register
> CFAM address space, writing userspace code should be sufficient.
> 
> What do you think about this approach?

I'm pretty sure there is some layering going on here.  SBE driver uses
FSI, OCC driver (on P9) uses SBE.  We can't get an hwmon OCC driver
without this SBE driver.

Eddie, can you confirm?

-- 
Patrick Williams
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Digital signature
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20161212/a33e4512/attachment.sig>


More information about the openbmc mailing list