All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hans Verkuil <hverkuil+cisco@kernel.org>
To: linux-media@vger.kernel.org
Subject: [PATCH 0/8] media: cec/core: fixes and improvements
Date: Fri, 10 Jul 2026 13:07:28 +0200	[thread overview]
Message-ID: <cover.1783681656.git.hverkuil+cisco@kernel.org> (raw)

Various cec core fixes and improvements.

Most notably the concept of 'core events' was dropped to simplify
the code and allow for more STATE_CHANGE events.

Also the process to claim a logical address was improved: retry
polling if a poll timed out or aborted instead of bailing out, and
if it was not possible to claim a logical address, then expose that
to userspace through a new flag.

A new error injection debugfs entry was added as well to allow
testing timeouts. A separate patch for cec-compliance will be
posted that tests this with the vivid driver.

Regards,

	Hans

Hans Verkuil (8):
  media: cec/core: max_retries -> max_attempts
  media: cec/core: drop ABORTED/TIMEOUT check
  media: cec/core: handle core events like normal events
  media: cec/core: drop cec_post_state_event call
  media: cec/core: flush stale STATE_CHANGE events
  media: cec/core: add a new CEC_LOG_ADDRS_FL_CONFIG_FAILED flag
  media: cec/core: cec-pin: toggle rx_toggle when arb lost
  media: cec/core: add error-inj-tx-timeouts debugfs entry

 .../media/cec/cec-ioc-adap-g-log-addrs.rst    |  7 ++
 drivers/media/cec/core/cec-adap.c             | 85 ++++++++++++-------
 drivers/media/cec/core/cec-api.c              |  5 +-
 drivers/media/cec/core/cec-core.c             | 31 +++++++
 drivers/media/cec/core/cec-pin.c              | 10 ++-
 include/media/cec.h                           |  4 +-
 include/uapi/linux/cec.h                      |  2 +
 7 files changed, 107 insertions(+), 37 deletions(-)

-- 
2.53.0


             reply	other threads:[~2026-07-10 11:11 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-10 11:07 Hans Verkuil [this message]
2026-07-10 11:07 ` [PATCH 1/8] media: cec/core: max_retries -> max_attempts Hans Verkuil
2026-07-10 11:07 ` [PATCH 2/8] media: cec/core: drop ABORTED/TIMEOUT check Hans Verkuil
2026-07-10 11:07 ` [PATCH 3/8] media: cec/core: handle core events like normal events Hans Verkuil
2026-07-10 11:07 ` [PATCH 4/8] media: cec/core: drop cec_post_state_event call Hans Verkuil
2026-07-10 11:07 ` [PATCH 5/8] media: cec/core: flush stale STATE_CHANGE events Hans Verkuil
2026-07-10 11:07 ` [PATCH 6/8] media: cec/core: add a new CEC_LOG_ADDRS_FL_CONFIG_FAILED flag Hans Verkuil
2026-07-10 11:07 ` [PATCH 7/8] media: cec/core: cec-pin: toggle rx_toggle when arb lost Hans Verkuil
2026-07-10 11:07 ` [PATCH 8/8] media: cec/core: add error-inj-tx-timeouts debugfs entry Hans Verkuil

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1783681656.git.hverkuil+cisco@kernel.org \
    --to=hverkuil+cisco@kernel.org \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.