Skip to contentSkip to conversation

Counter updates, cleanups, and features for 5.18

GIT PULL William Breathitt Gray 2 participants 4 messages Mar 4, 2022 – Mar 11, 2022 IIO

lore
Share & tools
lore
#0 lore raw

The following changes since commit 7e57714cd0ad2d5bb90e50b5096a0e671dec1ef3:

Linux 5.17-rc6 (2022-02-27 14:36:33 -0800)

are available in the Git repository at:

https://gitlab.com/vilhelmgray/counter.git tags/counter-for-5.18a

for you to fetch changes up to b98d1a3ed4b0b324b261b23defd1bdddddba4d44:

counter: add defaults to switch-statements (2022-03-04 09:30:38 -0500)

----------------------------------------------------------------
First set of new Counter updates, cleanups, and features for 5.18

Only a few changes this cycle, but we do see the addition of a new COUNTER_EVENT_CHANGE_OF_STATE event type that allows userspace to watch counter pulses.

Features
* Add new COUNTER_EVENT_CHANGE_OF_STATE. This adds new counter event to notify user space about every new counter pulse. The interrupt-cnt driver is the first to use this new feature.

Cleanups
- Add Counter subsystem git tree to MAINTAINERS file.
- Set counter device name. This provides a convenient way to identify the counter device in devres_log events and similar situations.
- Add defaults to switch-statements. This pacifies warning messages from Clang static analysis reports.

Driver Updates
* 104-quad-8
- Add COMPILE_TEST depends
* interrupt-cnt
- Add counter_push_event()

----------------------------------------------------------------
Oleksij Rempel (2):
counter: add new COUNTER_EVENT_CHANGE_OF_STATE
counter: interrupt-cnt: add counter_push_event()

Tom Rix (1):
counter: add defaults to switch-statements

William Breathitt Gray (3):
counter: 104-quad-8: Add COMPILE_TEST depends
counter: Set counter device name
MAINTAINERS: Add Counter subsystem git tree

 MAINTAINERS                      |  1 +
 drivers/counter/Kconfig          |  2 +-
 drivers/counter/counter-chrdev.c |  4 ++++
 drivers/counter/counter-core.c   | 12 +++++++++++-
 drivers/counter/interrupt-cnt.c  |  7 +++++--
 include/uapi/linux/counter.h     |  2 ++
 6 files changed, 24 insertions(+), 4 deletions(-)
#1 lore raw
Quoted 7 lines · William Breathitt Gray

The following changes since commit 7e57714cd0ad2d5bb90e50b5096a0e671dec1ef3:

Linux 5.17-rc6 (2022-02-27 14:36:33 -0800)

are available in the Git repository at:

https://gitlab.com/vilhelmgray/counter.git tags/counter-for-5.18a

I don't have a gpg key for you, and I really don't trust any non-kernel.org git infrastructure at the moment. Any chance you can get a kernel.org account?

In the meantime, can you send me these by email?

thanks,

greg k-h

#2 lore raw
Quoted 5 lines · Greg KH
Quoted 4 lines · William Breathitt Gray

The following changes since commit 7e57714cd0ad2d5bb90e50b5096a0e671dec1ef3:

Linux 5.17-rc6 (2022-02-27 14:36:33 -0800)

Quoted 7 lines
Quoted 3 lines

are available in the Git repository at:

https://gitlab.com/vilhelmgray/counter.git tags/counter-for-5.18a

I don't have a gpg key for you, and I really don't trust any non-kernel.org git infrastructure at the moment. Any chance you can get a kernel.org account?

Sure, how would I apply for a kernel.org account?

Quoted 1 line

In the meantime, can you send me these by email?

No problem, I'll send a patch series to you for now.

Thanks,

William Breathitt Gray

Quoted 4 lines

thanks,

greg k-h

#3 lore raw
Quoted 8 lines · William Breathitt Gray
Quoted 7 lines · Greg KH
Quoted 6 lines · William Breathitt Gray

The following changes since commit 7e57714cd0ad2d5bb90e50b5096a0e671dec1ef3:

Linux 5.17-rc6 (2022-02-27 14:36:33 -0800)

are available in the Git repository at:

Quoted 7 lines
Quoted 5 lines
Quoted 1 line

https://gitlab.com/vilhelmgray/counter.git tags/counter-for-5.18a

I don't have a gpg key for you, and I really don't trust any non-kernel.org git infrastructure at the moment. Any chance you can get a kernel.org account?

Sure, how would I apply for a kernel.org account?

https://korg.docs.kernel.org/accounts.html