All of lore.kernel.org
 help / color / mirror / Atom feed
From: Strahinja Mitrovic <smitrovic.work@gmail.com>
To: kernelnewbies@kernelnewbies.org
Subject: Question regarding kernel?
Date: Fri, 15 Nov 2019 08:40:41 +0100	[thread overview]
Message-ID: <CACKXqjy=xAjTgNbKOPru7SHX9dfGinJz-pLYie0S+vHtWxj9Sg@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 616 bytes --]

Hi,
I'm a new subscriber, and i have a question regarding the uart driver and
kernel.
How does uart driver reset the counter of input serial line interrupts?

I'm currently using ioct with TIOCGICOUNT on linux for retrieving counts of
input serial line interrupts.

The counts are written to the serial_icounter_struct.

Most data fields are 32-bit integers.

What happens if a number of counts for a certain input line is greater then
32-bit integer value?

Does a system refresh counter on daily basis automatically?

Is there a way to reset a counter so that starts again from 0?
Best Regards,
Strahinja Mitrovic

[-- Attachment #1.2: Type: text/html, Size: 3670 bytes --]

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

             reply	other threads:[~2019-11-15 17:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-15  7:40 Strahinja Mitrovic [this message]
2019-11-16  9:35 ` Question regarding kernel? Greg KH

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='CACKXqjy=xAjTgNbKOPru7SHX9dfGinJz-pLYie0S+vHtWxj9Sg@mail.gmail.com' \
    --to=smitrovic.work@gmail.com \
    --cc=kernelnewbies@kernelnewbies.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.