06 Aug, 2018
1 commit
-
The chardev conversion forgot to copy the fsi_dev,
silly mistake, compounded by a testing mistake on
my side, this specific driver wasn't being tested
properly.Fixes: d8f4587655f9 "fsi: scom: Convert to use the new chardev"
Signed-off-by: Benjamin Herrenschmidt
27 Jul, 2018
1 commit
-
This converts FSI scom to use the new fsi-core controlled
chardev allocator and use a real cdev instead of a miscdev.Signed-off-by: Benjamin Herrenschmidt
18 Jun, 2018
5 commits
-
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
Reviewed-by: Eddie James
Reviewed-by: Alistair Popple -
Add a few more register and bit definitions, also define and use
SCOM_READ_CMD (which is 0 but it makes the code clearer)Signed-off-by: Benjamin Herrenschmidt
Reviewed-by: Eddie James -
Use the proper annotated type __be32 and fixup the
accessor used for get_scom()Signed-off-by: Benjamin Herrenschmidt
Reviewed-by: Eddie James -
No functional changes
Signed-off-by: Benjamin Herrenschmidt
Reviewed-by: Eddie James -
Otherwise, multiple clients can open the driver and attempt
to access the PIB at the same time, thus clobbering each other
in the process.Signed-off-by: Benjamin Herrenschmidt
Reviewed-by: Eddie James
12 Jun, 2018
1 commit
-
The PIB reset causes problems for the running P9 chip. The reset
shouldn't be performed by this driver.Signed-off-by: Eddie James
Reviewed-by: Christopher Bostic
Signed-off-by: Benjamin Herrenschmidt
Tested-by: Joel Stanley
28 Aug, 2017
1 commit
-
Reset causes problems for operations requiring multiple scoms (e.g. i2c
over scom). Instead, reset scom engine during probe.Signed-off-by: Edward A. James
Signed-off-by: Greg Kroah-Hartman
09 Jun, 2017
1 commit
-
Create a simple SCOM engine device driver that reads and writes
its control registers via an FSI bus.Includes changes from Edward A. James .
Signed-off-by: Christopher Bostic
Signed-off-by: Joel Stanley
Signed-off-by: Edward A. James
Signed-off-by: Jeremy Kerr
Signed-off-by: Greg Kroah-Hartman