regmap: Add KUnit tests for read/write checking
Get series with b4
b4 am [email protected] change-id 20230613-regmap-kunit-read-write-024393cdbef0Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | regmap: Add test that writes to write only registers are preventeddrivers/ | +41 | 0 replies | |
| 2/3 | regmap: Add a test case for write only registersdrivers/ | +32 | 0 replies | |
| 3/3 | regmap: Add test to make sure we don't sync to read only registersdrivers/ | +42 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] regmap: Add KUnit tests for read/write checking
Since Takashi found an issue with maple tree syncing registers it shouldn't do add some test cases that catch that case and some more potential issues, ideally we'd run through the combination of readability with all possible I/O calls but that's lifting for another day. We did find one issue with missing readability checks which will be fixed separately.
---
Mark Brown (3):
regmap: Add test that writes to write only registers are prevented
regmap: Add a test case for write only registers
regmap: Add test to make sure we don't sync to read only registers
drivers/base/regmap/regmap-kunit.c | 115 +++++++++++++++++++++++++++++++++++++ 1 file changed, 115 insertions(+)
---
base-commit: ecfb8ce26d02ec136b4e1ae8c5a77d22d335057b
change-id: 20230613-regmap-kunit-read-write-024393cdbef0
Best regards,
Signature · 1 line
Mark Brown <[email protected]>