freebsd-skq/sys/powerpc/powernv
jhibbits 2dbcd6c69b powerpc/powernv: Make opal_i2c driver work with attached i2c drivers
* FreeBSD stores addresses in 8 bit format, but the OPAL API requires the 7-bit
  address, and encodes the direction elsewhere.  Behave like other i2c drivers,
  and shift accordingly.
* The OPAL API can already handle multiple requests in flight.  Change the async
  token to be private to the thread, so as not to stomp across i2c accesses,
  remove the limitation error message, and use the correct message index to
  transfer all messages in the list.
* Micro-optimize the async handler to not continuously call pmap_kextract() when
  spin-waiting for the operation to complete.

This has been tested by hexdumping an EEPROM attached via the icee(4) driver.
2018-07-09 20:33:48 +00:00
..
opal_console.c Support multiple OPAL consoles, and don't crash if uart is not stdout 2018-06-29 19:35:25 +00:00
opal_dev.c PowerNV: add missing RTC_WRITE support 2018-02-21 08:13:17 +00:00
opal_i2c.c powerpc/powernv: Make opal_i2c driver work with attached i2c drivers 2018-07-09 20:33:48 +00:00
opal_i2cm.c Reverting r330925 for now 2018-03-15 06:19:45 +00:00
opal_ipmi.c Add an IPMI attachment for PowerNV systems 2018-05-22 03:57:32 +00:00
opal_pci.c powerpc64/powernv: Avoid type promotion 2018-06-12 19:50:33 +00:00
opal_sensor.c Fix a typo missed in r334232 2018-05-26 04:24:25 +00:00
opal.c
opal.h Add an IPMI attachment for PowerNV systems 2018-05-22 03:57:32 +00:00
opalcall.S
platform_powernv.c Add support for the XIVE XICS emulation mode for POWER9 systems 2018-05-20 03:23:17 +00:00
powernv_centaur.c Reverting r330925 for now 2018-03-15 06:19:45 +00:00
powernv_xscom.c Reverting r330925 for now 2018-03-15 06:19:45 +00:00