From: Philipp Zabel <p.zabel@pengutronix.de>
To: Tzung-Bi Shih <tzungbi@kernel.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3] reset: Add KUnit test cases
Date: Wed, 04 Nov 2026 17:07:11 +0100 [thread overview]
Message-ID: <61a7bf3c6648fac5c43edb272c7e97415ea7aae3.camel@pengutronix.de> (raw)
In-Reply-To: <20261104160123.6784-1-tzungbi@kernel.org>
On Do, 2026-11-05 at 00:01 +0800, Tzung-Bi Shih wrote:
> Since commit 9035073d0ef1 ("reset: convert reset core to using firmware
> nodes"), reset suppliers and consumers can be wired up using software
> nodes without requiring Device Tree or hardware devices. Leverage this
> to add KUnit test cases for the reset controller framework.
>
> The test cases cover the following scenarios:
>
> - Basic: Verifies that a consumer can acquire a reset control via
> fwnode and perform reset, assert, deassert, status, release, and
> acquire operations.
> - Use After Unregister: Verifies that after the supplier unregisters
> the reset_controller_dev while a consumer still holds a reset_control
> handle, subsequent consumer operations fail safely with -ENODEV.
> - Concurrent Unregister: Verifies that unregistering the
> reset_controller_dev concurrently with an in-flight reset operation
> waits for the active operation to complete before returning.
>
> Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
regards
Philipp
prev parent reply other threads:[~2026-11-04 16:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-04 16:01 Tzung-Bi Shih
2026-11-04 16:07 ` Philipp Zabel [this message]
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=61a7bf3c6648fac5c43edb272c7e97415ea7aae3.camel@pengutronix.de \
--to=p.zabel@pengutronix.de \
--cc=linux-kernel@vger.kernel.org \
--cc=tzungbi@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®