linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Thumshirn <johannes.thumshirn@men.de>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Jiri Slaby <jslaby@suse.cz>
Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org,
	Johannes Thumshirn <johannes.thumshirn@men.de>
Subject: Re: [PATCH v3] tty: serial: men_z135_uart: Fix driver for changes in hardware
Date: Wed, 17 Sep 2014 12:54:33 +0200	[thread overview]
Message-ID: <20140917105432.GA17369@jtlinux> (raw)
In-Reply-To: <1410845068-2954-1-git-send-email-johannes.thumshirn@men.de>

On Tue, Sep 16, 2014 at 07:24:28AM +0200, Johannes Thumshirn wrote:
> 16z135 IP Core has changed so the driver needs to be updated to respect
> these changes. The following changes have been made:
>
> * Don't invert the 16z135 modem status register when reading.
> * Add module parameter to configure the (baud rate dependent) RX timeout.
>   Character timeout in seconds = (timeout_reg * baud_reg * 4)/freq_reg.
> * Enable the handling of UART core's automatic flow control feature.
>   When AFE is active disable generation of modem status IRQs.
> * Rework the handling of IRQs to be conform with newer FPGA versions and
>   take precautions not to miss an interrupt because of the destructive read
>   of the IIR register.
> * Correct men_z135_handle_modem_status(), MSR is stat_reg[15:8] not
>   stat_reg[7:0]
>
> Signed-off-by: Johannes Thumshirn <johannes.thumshirn@men.de>
> ---
> Changes to v1:
> Incorporated comments of Jiri Slaby:
>
> * Timeout value is documented in module parameter description
> * rx_timeout variable is uint
> * Changed IRQ handled variable to bool
> * Changed if statement for RDA or CTI IRQ
>
> Changes to v2:
> Correct men_z135_handle_modem_status(), MSR is stat_reg[15:8] not stat_reg[7:0]

We've found a bug in this patch during our tests so please do not en-queue it yet.

Sorry for the inconvenience.

Thanks,
Johannes

      reply	other threads:[~2014-09-17 10:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-16  5:24 [PATCH v3] tty: serial: men_z135_uart: Fix driver for changes in hardware Johannes Thumshirn
2014-09-17 10:54 ` Johannes Thumshirn [this message]

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=20140917105432.GA17369@jtlinux \
    --to=johannes.thumshirn@men.de \
    --cc=gregkh@linuxfoundation.org \
    --cc=jslaby@suse.cz \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).