All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCHv2 0/6] cec/adv/cec-gpio: fixes and new status flags
@ 2018-10-05 13:37 ` Hans Verkuil
  0 siblings, 0 replies; 14+ messages in thread
From: Hans Verkuil @ 2018-10-05 13:37 UTC (permalink / raw)
  To: linux-media; +Cc: dri-devel

From: Hans Verkuil <hans.verkuil@cisco.com>

This patch series replaces patches 1-3 of:

https://www.spinics.net/lists/linux-media/msg141216.html

Patches 4 & 5 of that series remain as-is and are omap4 bug fixes.

This patch series can be applied to the media subsystem since it
has no drm changes.

Changes since the previous patch series are:

- Added a new patch improving the documentation of the cec_transmit_done
  function to hopefully avoid the omap4 bug in the future.

- Add a new patch that fixes a bug in the Signal Free Time calculation
  of the CEC framework. This affects hardware that relies on the framework
  for this value. This bug could basically cause a 'denial of service'
  situation on the CEC bus. Found with the cec-compliance adapter test,
  which does really nasty things :-)

- Improve cec-gpio to fixup the Signal Free Time if a transmit is delayed
  because a new message was received first (thus requiring a lower SFT).

All patches are meant for 4.20, and patches 2-5 will get a CC to stable
for 4.18 and up.

The adv patches could go back to older kernels, but it's not very important.

I'll post a pull request for this series soon.

Regards,

	Hans

Hans Verkuil (6):
  cec-core.rst: improve cec_transmit_done documentation
  cec: add new tx/rx status bits to detect aborts/timeouts
  adv7604: when the EDID is cleared, unconfigure CEC as well
  adv7842: when the EDID is cleared, unconfigure CEC as well
  cec: fix the Signal Free Time calculation
  cec-gpio: select correct Signal Free Time

 Documentation/media/kapi/cec-core.rst         |  4 +
 .../media/uapi/cec/cec-ioc-receive.rst        | 25 ++++-
 drivers/media/cec/cec-adap.c                  | 92 +++++--------------
 drivers/media/cec/cec-pin.c                   | 20 ++++
 drivers/media/i2c/adv7604.c                   |  4 +-
 drivers/media/i2c/adv7842.c                   |  4 +-
 include/media/cec.h                           |  2 +-
 include/uapi/linux/cec.h                      |  3 +
 8 files changed, 82 insertions(+), 72 deletions(-)

-- 
2.18.0

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2018-10-05 20:36 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-05 13:37 [PATCHv2 0/6] cec/adv/cec-gpio: fixes and new status flags Hans Verkuil
2018-10-05 13:37 ` Hans Verkuil
2018-10-05 13:37 ` [PATCHv2 1/6] cec-core.rst: improve cec_transmit_done documentation Hans Verkuil
2018-10-05 13:37   ` Hans Verkuil
2018-10-05 13:37 ` [PATCHv2 2/6] cec: add new tx/rx status bits to detect aborts/timeouts Hans Verkuil
2018-10-05 13:37   ` Hans Verkuil
2018-10-05 13:37 ` [PATCHv2 3/6] adv7604: when the EDID is cleared, unconfigure CEC as well Hans Verkuil
2018-10-05 13:37   ` Hans Verkuil
2018-10-05 13:37 ` [PATCHv2 4/6] adv7842: " Hans Verkuil
2018-10-05 13:37   ` Hans Verkuil
2018-10-05 13:37 ` [PATCHv2 5/6] cec: fix the Signal Free Time calculation Hans Verkuil
2018-10-05 13:37   ` Hans Verkuil
2018-10-05 13:37 ` [PATCHv2 6/6] cec-gpio: select correct Signal Free Time Hans Verkuil
2018-10-05 13:37   ` Hans Verkuil

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.