From: Mark Brown <broonie@kernel.org>
To: linux-kernel@vger.kernel.org, Mark Brown <broonie@kernel.org>
Subject: [PATCH 0/2] regmap: Provide basic test coverage for raw I/O
Date: Sun, 11 Jun 2023 14:25:01 +0100 [thread overview]
Message-ID: <20230610-regcache-raw-kunit-v1-0-583112cd28ac@kernel.org> (raw)
Our existing coverage only deals with buses that provide single register
read and write operations, extend it to cover raw buses using a similar
approach with a RAM backed register map that the tests can inspect to
check operations. This coverage could be more complete but provides a
good start.
Signed-off-by: Mark Brown <broonie@kernel.org>
---
Mark Brown (2):
regmap: Provide a ram backed regmap with raw support
regmap: Provide basic KUnit coverage for the raw register I/O
drivers/base/regmap/Makefile | 2 +-
drivers/base/regmap/internal.h | 8 +
drivers/base/regmap/regmap-kunit.c | 327 +++++++++++++++++++++++++++++++++++
drivers/base/regmap/regmap-raw-ram.c | 133 ++++++++++++++
4 files changed, 469 insertions(+), 1 deletion(-)
---
base-commit: 9561de3a55bed6bdd44a12820ba81ec416e705a7
change-id: 20230610-regcache-raw-kunit-3d866fb82485
Best regards,
--
Mark Brown <broonie@kernel.org>
next reply other threads:[~2023-06-11 13:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-11 13:25 Mark Brown [this message]
2023-06-11 13:25 ` [PATCH 1/2] regmap: Provide a ram backed regmap with raw support Mark Brown
2023-06-11 13:25 ` [PATCH 2/2] regmap: Provide basic KUnit coverage for the raw register I/O Mark Brown
2023-06-12 17:15 ` [PATCH 0/2] regmap: Provide basic test coverage for raw I/O Mark Brown
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=20230610-regcache-raw-kunit-v1-0-583112cd28ac@kernel.org \
--to=broonie@kernel.org \
--cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox