From: Michal Simek <monstr@monstr.eu>
To: linux-serial@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@suse.de>,
LKML <linux-kernel@vger.kernel.org>,
Peter Korsgaard <jacmet@sunsite.dk>
Subject: Using serial driver 16550A in poll mode without interrupt connected
Date: Wed, 12 Oct 2011 15:03:39 +0200 [thread overview]
Message-ID: <4E95902B.7080204@monstr.eu> (raw)
Hi,
we have internal discussion around serial drivers and their usage without interrupts
in polling mode. It is on FPGA with Microblaze/PPC/ARM and
it is easy for us to have serial IP without IRQ connected to the interrupt controller.
Driver is probed with no IRQ (NO_IRQ = -1 on Microblaze)
83e00000.serial: ttyS0 at MMIO 0x83e01003 (irq = -1) is a 16550A
writing any data to ttyS0 return -1.
Is there any reason no to use driver in poll mode especially for user applications
not for consoles.
Is it possible to use serial driver without IRQ - or blocking IRQ, etc.?
Currently we care about uart16550 and uarlite.
Thanks,
Michal
--
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/
Microblaze U-BOOT custodian
next reply other threads:[~2011-10-12 13:03 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-12 13:03 Michal Simek [this message]
2011-10-12 13:51 ` Using serial driver 16550A in poll mode without interrupt connected Alan Cox
2011-10-12 15:19 ` Ted Ts'o
2011-10-13 10:08 ` Michal Simek
2011-10-13 10:08 ` Michal Simek
2011-10-13 9:56 ` Michal Simek
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=4E95902B.7080204@monstr.eu \
--to=monstr@monstr.eu \
--cc=gregkh@suse.de \
--cc=jacmet@sunsite.dk \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@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 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.