[0/2] i2c: gpio: fault-injector: add new injector
mbox series

Message ID 20180604143252.325-1-wsa+renesas@sang-engineering.com
Headers show
  • i2c: gpio: fault-injector: add new injector
Related show


Wolfram Sang June 4, 2018, 2:32 p.m. UTC

here comes another fault injector which stress tests I2C bus recovery
implementations. The generic_scl algorithm in the I2C core doesn't handle this
yet. I have a prototype for a fix which I want to double check tomorrow. But
first, here is the test environment for it.

Please share your thoughts if you have any.



Wolfram Sang (2):
  i2c: gpio: fault-injector: refactor incomplete transfer
  i2c: gpio: fault-injector: add incomplete_write_byte

 Documentation/i2c/gpio-fault-injection | 43 +++++++++++++++++++------
 drivers/i2c/busses/i2c-gpio.c          | 57 +++++++++++++++++++++++++---------
 2 files changed, 76 insertions(+), 24 deletions(-)