debugfs: a tool to print 32-bit registers
Status from this message: I've applied this, but it causes the following complier warnings to be
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 6 repliesApplied
- v1 RFC1 patch 7 repliesSuperseded
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | debugfs: add tools to printk 32-bit registersDocumentation/ fs/ include/ | +147 | 0 replies | |
| 2/2 | usb: dwc3: use debugfs_print_regs32()drivers/ | +3 | 5 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Giancarlo Asnaghi | Felipe Balbi |
|---|---|---|
| 1/2 | A-b | |
| 2/2 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH V2 0/2] debugfs: a tool to print 32-bit registers
This is V2 of what I posted a few days ago. I also updates the file in Documentation. I Cc:d people who gave feedback.
Patch 2 uses the new tool for an existing file I didn't initially notice (I had a victim file, but it's seriously failing compilation). Code removal there is almost zero because Felipe Balbi already did stuff in the way I do.
Mark Brown suggested to look at drivers/base/regmap, and actually this may be duplicating what is already being worked on in a more general way. My code base is earlier than regmap so I didn't notice. Unfortunately I have no resources left to study regmap as it deserves.
Mark, if you say this is not useful at this point, I'm fine with it; I may return with some regbase-aware code when time permits if it's not already there.
/alessandro
Alessandro Rubini (2):
debugfs: add tools to printk 32-bit registers
usb: dwc3: use debugfs_print_regs32()
Documentation/filesystems/debugfs.txt | 32 +++++++++++- drivers/usb/dwc3/debugfs.c | 15 +---- fs/debugfs/file.c | 90 +++++++++++++++++++++++++++++++++ include/linux/debugfs.h | 26 +++++++++ 4 files changed, 150 insertions(+), 13 deletions(-)