fsi: scom: Major overhaul
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 12 Jun 2018 05:19:11 +0000 (15:19 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 18 Jun 2018 05:11:53 +0000 (15:11 +1000)
commit6b293258cded9c8ee44cce4081d9170d6d1b5f5d
tree82d3c69584d67d6c4300fb16ae4b3d50d0a4aa4a
parentf143304442f4b273f28343910f79d0221984b096
fsi: scom: Major overhaul

This was too hard to split ... this adds a number of features
to the SCOM user interface:

 - Support for indirect SCOMs

 - read()/write() interface now handle errors and retries

 - New ioctl() "raw" interface for use by debuggers

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Reviewed-by: Eddie James <eajames@linux.vnet.ibm.com>
Reviewed-by: Alistair Popple <alistair@popple.id.au>
drivers/fsi/fsi-scom.c
include/uapi/linux/fsi.h [new file with mode: 0644]