<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://permalink.gmane.org/gmane.linux.serial">
    <title>gmane.linux.serial</title>
    <link>http://permalink.gmane.org/gmane.linux.serial</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.serial/7882"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.serial/7880"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.serial/7877"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.serial/7870"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.serial/7869"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.serial/7868"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.serial/7867"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.serial/7866"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.serial/7865"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.serial/7864"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.serial/7863"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.serial/7862"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.serial/7861"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.serial/7859"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.serial/7858"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.serial/7857"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.serial/7856"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.serial/7855"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.serial/7854"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.serial/7853"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.serial/7882">
    <title>Re: [PATCH 6/6] serial: add amba-pl011-pci</title>
    <link>http://permalink.gmane.org/gmane.linux.serial/7882</link>
    <description>&lt;pre&gt;
I don't think we want to encourage an ever growing list of platforms
here.  If we did this on ARM, this would be hellishly long.


NAK.  We have interfaces in the AMBA code for dynamically allocating
AMBA devices now - please use them instead of coding your own.  They
avoid bugs.


This looks like debugging.


This comes nowhere close to being sane with the driver model.  This is
an oops waiting to happen.  You can't guarantee that 'adev' will be
unused by the time amba_device_unregister() (or in fact any such call
into the driver model) returns.

This is because these suckers (and all devices) are refcounted.  If you
use the correct interfaces, the devices will be freed for you automatically
at the correct time.

The only thing that won't be is adev-&amp;gt;dev.platform_data - the correct way
to do this is the following along with the correct allocation interfaces:

struct amba_device *adev = pci_get_drvdata(pdev);
void *priv = adev-&amp;gt;dev.platform_data;

amba_device_unregister(adev);
kfree(priv);

In other wor&lt;/pre&gt;</description>
    <dc:creator>Russell King - ARM Linux</dc:creator>
    <dc:date>2012-05-26T08:43:28</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.serial/7880">
    <title>Re: [PATCH 6/6] serial: add amba-pl011-pci</title>
    <link>http://permalink.gmane.org/gmane.linux.serial/7880</link>
    <description>&lt;pre&gt;
Yes, they all look good to me, although patch 5 would have to change
if you do patch 6 the way we discussed here.

Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo&amp;lt; at &amp;gt;vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>Arnd Bergmann</dc:creator>
    <dc:date>2012-05-26T08:29:19</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.serial/7877">
    <title>[PATCH 11/15] serial: mxs-auart: Use clk_prepare_enable/clk_disable_unprepare</title>
    <link>http://permalink.gmane.org/gmane.linux.serial/7877</link>
    <description>&lt;pre&gt;From: Fabio Estevam &amp;lt;fabio.estevam&amp;lt; at &amp;gt;freescale.com&amp;gt;

Prepare the clock before enabling it.

Cc: Alan Cox &amp;lt;alan&amp;lt; at &amp;gt;linux.intel.com&amp;gt;
Cc: Greg Kroah-Hartman &amp;lt;gregkh&amp;lt; at &amp;gt;linuxfoundation.org&amp;gt;
Cc: &amp;lt;linux-serial&amp;lt; at &amp;gt;vger.kernel.org&amp;gt;
Signed-off-by: Fabio Estevam &amp;lt;fabio.estevam&amp;lt; at &amp;gt;freescale.com&amp;gt;
---
 drivers/tty/serial/mxs-auart.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/tty/serial/mxs-auart.c b/drivers/tty/serial/mxs-auart.c
index ec56d83..c109642 100644
--- a/drivers/tty/serial/mxs-auart.c
+++ b/drivers/tty/serial/mxs-auart.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -552,7 +552,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; auart_console_write(struct console *co, const char *str, unsigned int count)
 s = auart_port[co-&amp;gt;index];
 port = &amp;amp;s-&amp;gt;port;
 
-clk_enable(s-&amp;gt;clk);
+clk_prepare_enable(s-&amp;gt;clk);
 
 /* First save the CR then disable the interrupts */
 old_ctrl2 = readl(port-&amp;gt;membase + AUART_CTRL2);
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -578,7 +578,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; auart_console_write(struct console *co, const char *str, unsigned int count)
 writel(old_ctrl0, port-&amp;gt;membase + AUART_CTRL0);
 writel(old_ctrl2,&lt;/pre&gt;</description>
    <dc:creator>Fabio Estevam</dc:creator>
    <dc:date>2012-05-25T23:14:52</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.serial/7870">
    <title>[PATCH 0/6] Bridging PCI to amba</title>
    <link>http://permalink.gmane.org/gmane.linux.serial/7870</link>
    <description>&lt;pre&gt;This patch set introduces use of the pl011 AMBA serial port under a
PCI bridge.  To compile AMBA under x86, though I need &amp;lt;asm/sizes.h&amp;gt;,
which is moved to &amp;lt;linux/sizes.h&amp;gt; as suggested earlier.

I'm hereby volunteering to handle the moving of the various users
of &amp;lt;asm/sizes.h&amp;gt; to &amp;lt;linux/sizes.h&amp;gt;; this set only moves the ARM core
files and the ones that I need under x86.

The whole patch set is sent to the same set of recipients:
all relevant lists, Russell King (for arm), Greg-KH (for uart) and
Arnd Bergmann (for generic include).

With this set in place (plus a clok API not included here) I have
4 serial ports working. We have a number of other devices that can
use existing drivers, but we definitely need &amp;lt;linux/sizes.h&amp;gt; first.

  spusa.root# uname -r
  3.4.0-next-20120524-00014-gae0c129

  spusa.root# dmesg | grep ttyA
  pl011-pci-03:0005: ttyAMA0 at MMIO 0xcf400000 (irq = 46) is a PL011 rev3
  pl011-pci-03:0006: ttyAMA1 at MMIO 0xcec00000 (irq = 47) is a PL011 rev3
  pl011-pci-03:0007: ttyAMA2 at MMIO 0xce&lt;/pre&gt;</description>
    <dc:creator>Alessandro Rubini</dc:creator>
    <dc:date>2012-05-25T15:47:48</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.serial/7869">
    <title>Re: [PATCH] serial/amba-pl011: move custom pin control to driver</title>
    <link>http://permalink.gmane.org/gmane.linux.serial/7869</link>
    <description>&lt;pre&gt;
On imx28:

Tested-by: Shawn Guo &amp;lt;shawn.guo&amp;lt; at &amp;gt;linaro.org&amp;gt;
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo&amp;lt; at &amp;gt;vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>Shawn Guo</dc:creator>
    <dc:date>2012-05-25T06:26:09</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.serial/7868">
    <title>Re: struct tty_flip_buffer replacement in newer kernels</title>
    <link>http://permalink.gmane.org/gmane.linux.serial/7868</link>
    <description>&lt;pre&gt;On Thu, 24 May 2012 08:05:12 -0700 (PDT)
Dmitriy Alekseev &amp;lt;alexeev6&amp;lt; at &amp;gt;yahoo.com&amp;gt; wrote:


You may have to stick some traces into drivers/tty/8250.c at this point
and see what is going on. It's clearly trying to do the set up right, and
created the ports but didn't believe the hardware. That usually implies
that a parameter is wrong somewhere.

--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo&amp;lt; at &amp;gt;vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>Alan Cox</dc:creator>
    <dc:date>2012-05-24T16:00:25</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.serial/7867">
    <title>Re: struct tty_flip_buffer replacement in newer kernels</title>
    <link>http://permalink.gmane.org/gmane.linux.serial/7867</link>
    <description>&lt;pre&gt;The link I gave is original source, which I afterwards changed according to my parameters - clock and processor memory map.

You right about offset 0x8, this is offset between ports in my 68 mode, I corrected, but it doesn't give any result.

 
Best regards,
Dmitriy Alekseev


----- Original Message -----
From: Alan Cox &amp;lt;alan&amp;lt; at &amp;gt;lxorguk.ukuu.org.uk&amp;gt;
To: Dmitriy Alekseev &amp;lt;alexeev6&amp;lt; at &amp;gt;yahoo.com&amp;gt;
Cc: 
Sent: Thursday, May 24, 2012 5:22 PM
Subject: Re: struct tty_flip_buffer replacement in newer kernels

On Thu, 24 May 2012 03:38:42 -0700 (PDT)
Dmitriy Alekseev &amp;lt;alexeev6&amp;lt; at &amp;gt;yahoo.com&amp;gt; wrote:


That looks reasonable - UPF_IOREMAP tells the kernel to do the ioremap
for you, UPF_BOOT_AUTOCONF tries to autoconfigure the chip type


And this guides the register spacing (1 = byte spaced, 2 = word spaced, 3
= dword spaced etc)


UPIO_MEM is for MMIO, UPIO_PORT for port I/O

However the values don't look the same as the old driver you linked to -
that seems to be using 0x2800000 and then 8 byte spacing plus a 1843200
clock.

Al&lt;/pre&gt;</description>
    <dc:creator>Dmitriy Alekseev</dc:creator>
    <dc:date>2012-05-24T15:05:12</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.serial/7866">
    <title>Fw: struct tty_flip_buffer replacement in newer kernels</title>
    <link>http://permalink.gmane.org/gmane.linux.serial/7866</link>
    <description>&lt;pre&gt;Hi, Alan.

Thank You very much for the answer!
So, if I understand correctly, I took for example this: arch/arm/mach-omap1/board-voiceblue.c
And made in my board specific file:
static struct plat_serial8250_port exar_ports[] = {
        {
                .mapbase        = (unsigned long)(0x30000300), // according to at91rm9200 CS2 memory map
                .flags          = UPF_BOOT_AUTOCONF | UPF_IOREMAP, // I don't know, what kind of flags is suitable for me
                .iotype         = UPIO_MEM, // similar problem
                .regshift       = 1, 
                .uartclk        = 14745600, // Our chip clock frequency
        },
        {
                .mapbase        = (unsigned long)(0x30000200),
                .flags          = UPF_BOOT_AUTOCONF | UPF_IOREMAP,
                .iotype         = UPIO_MEM,
                .regshift       = 1,
                .uartc&lt;/pre&gt;</description>
    <dc:creator>Dmitriy Alekseev</dc:creator>
    <dc:date>2012-05-24T10:38:42</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.serial/7865">
    <title>RE: [PATCH 1/2] serial: samsung: Remove NULL checking for baud clock</title>
    <link>http://permalink.gmane.org/gmane.linux.serial/7865</link>
    <description>&lt;pre&gt;
I missed following.

Russell King suggested:

As I said, drivers have no business interpreting anything but IS_ERR(clk) as being an error.  They should not make any other
assumptions.

Suggested-by: Russell King &amp;lt;rmk+kernel&amp;lt; at &amp;gt;arm.linux.org.uk&amp;gt;



--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo&amp;lt; at &amp;gt;vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>Kyoungil Kim</dc:creator>
    <dc:date>2012-05-24T08:39:37</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.serial/7864">
    <title>[PATCH] serial/amba-pl011: move custom pin control to driver</title>
    <link>http://permalink.gmane.org/gmane.linux.serial/7864</link>
    <description>&lt;pre&gt;From: Linus Walleij &amp;lt;linus.walleij&amp;lt; at &amp;gt;linaro.org&amp;gt;

We had a boot regression in Ux500 in the merge window because
two orthogonal pin control schemes for the PL011 were merged
at the same time:

- One using the .init() and .exit() hooks into the platform
  for Ux500 putting the pins into default vs sleep state
  respectively as the port was started/stopped.
  commit a09806607fd20bed2f8c41fe22793386790a14aa
  "ARM: ux500: switch to using pinctrl for uart0"

- One hogging the default setting at PL011 probe()
  commit 258e055111d3cde2607e0d04eb91da2f7a59b591
  "serial: amba-pl011: adopt pinctrl support"

To get a solution that works for both let's scrap the stuff
in the platform callbacks, instead have the driver itself
select default and sleep states when the port is
started/stopped. Hopefully this works for all clients.
Platform callbacks are bad for device tree migration anyway,
so this rids us of another problem in Ux500.

Cc: linux-serial&amp;lt; at &amp;gt;vger.kernel.org
Cc: Greg Kroah-Hartman &amp;lt;gregkh&amp;lt; at &amp;gt;linuxfoundation.org&amp;gt;
Cc: S&lt;/pre&gt;</description>
    <dc:creator>Linus Walleij</dc:creator>
    <dc:date>2012-05-23T19:18:46</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.serial/7863">
    <title>Re: [PATCH 1/1] serial_core: Update buffer overrun statistics.</title>
    <link>http://permalink.gmane.org/gmane.linux.serial/7863</link>
    <description>&lt;pre&gt;

Oh, sorry about that. Here is an archived version of the email thread:
http://www.spinics.net/lists/linux-serial/msg06104.html
I'll also copy and paste my patch here:

Currently, serial drivers don't report buffer overruns. When a buffer overrun
occurs, tty_insert_flip_char returns 0, and no attempt is made to insert that
same character again (i.e. it is lost). This patch reports buffer overruns via
the buf_overrun field in the port's icount structure.

Signed-off-by: Corbin Atkinson &amp;lt;corbin.atkinson&amp;lt; at &amp;gt;xxxxxx&amp;gt;
---
 drivers/tty/serial/serial_core.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/drivers/tty/serial/serial_core.c b/drivers/tty/serial/serial_core.c
index 9c4c05b..59fb3ba 100644
--- a/drivers/tty/serial/serial_core.c
+++ b/drivers/tty/serial/serial_core.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -2526,14 +2526,16 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; void uart_insert_char(struct uart_port *port,
unsigned int status,
 struct tty_struct *tty = port-&amp;gt;state-&amp;gt;port.tty;

 if ((status &amp;amp; port-&amp;gt;ignore_status_mask &amp;amp; ~overrun) == 0)
-tty_insert_&lt;/pre&gt;</description>
    <dc:creator>Corbin</dc:creator>
    <dc:date>2012-05-23T14:37:31</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.serial/7862">
    <title>Re: [PATCH 1/1] serial_core: Update buffer overrun statistics.</title>
    <link>http://permalink.gmane.org/gmane.linux.serial/7862</link>
    <description>&lt;pre&gt;
That it is perfectly concealed.

(I'm not subscribed to linux-serial and cannot find it anywhere. A link
would be appreciated...)

thanks,
&lt;/pre&gt;</description>
    <dc:creator>Jiri Slaby</dc:creator>
    <dc:date>2012-05-22T20:38:19</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.serial/7861">
    <title>Re: [PATCH 1/1] serial_core: Update buffer overrun statistics.</title>
    <link>http://permalink.gmane.org/gmane.linux.serial/7861</link>
    <description>&lt;pre&gt;
Jiri,

What do you think of my patch?
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo&amp;lt; at &amp;gt;vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>Corbin</dc:creator>
    <dc:date>2012-05-22T20:31:15</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.serial/7859">
    <title>Re: struct tty_flip_buffer replacement in newer kernels</title>
    <link>http://permalink.gmane.org/gmane.linux.serial/7859</link>
    <description>&lt;pre&gt;On Tue, 22 May 2012 07:38:28 -0700 (PDT)
Dmitriy Alekseev &amp;lt;alexeev6&amp;lt; at &amp;gt;yahoo.com&amp;gt; wrote:


Why not use the in kernel 8250 driver (which will drive a stamdard
16540/550/554 as well ?)

To ressurect one you'll need to add kref handling, rework the termios code
and maybe some other bits too.

Take a look how other arm boards use struct plat_serial8250_port and the
serial8250 platform driver. You should just be able to declare the
structures and register the platform device.

Alan

--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo&amp;lt; at &amp;gt;vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>Alan Cox</dc:creator>
    <dc:date>2012-05-22T16:27:00</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.serial/7858">
    <title>[GIT PATCH] TTY/serial patches for 3.5-rc1 - try 2</title>
    <link>http://permalink.gmane.org/gmane.linux.serial/7858</link>
    <description>&lt;pre&gt;The following changes since commit 66f75a5d028beaf67c931435fdc3e7823125730c:

  Linux 3.4-rc4 (2012-04-21 14:47:52 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git/ tags/tty-3.5-rc1

for you to fetch changes up to 59bd234b72fc29887839d792b7d6c7e8d2a577a6:

  serial: bfin_uart: Make MMR access compatible with 32 bits bf609 style controller. (2012-05-17 13:25:56 -0700)

----------------------------------------------------------------
TTY pull request for 3.5-rc1

Here's the big TTY/serial driver pull request for the 3.5-rc1 merge window.

Nothing major in here, just lots of incremental changes from Alan and
Jiri reworking some tty core things to behave better and to get a more
solid grasp on some of the nasty tty locking issues.

There are a few tty and serial driver updates in here as well.

All of this has been in the linux-next releases for a while with no problems.

Signed-off-by: Greg Kroah-Hartman &amp;lt;gregkh&amp;lt; at &amp;gt;linuxfoundation.org&amp;gt;

---------------&lt;/pre&gt;</description>
    <dc:creator>Greg KH</dc:creator>
    <dc:date>2012-05-22T15:15:27</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.serial/7857">
    <title>Re: struct tty_flip_buffer replacement in newer kernels</title>
    <link>http://permalink.gmane.org/gmane.linux.serial/7857</link>
    <description>&lt;pre&gt;[Re-adding original poster an LKML after I accidentally dropped them.
 Sorry about that]

On 05/22/2012 03:10 PM, Alan Cox wrote:

--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo&amp;lt; at &amp;gt;vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>Jack Stone</dc:creator>
    <dc:date>2012-05-22T14:44:15</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.serial/7856">
    <title>Re: struct tty_flip_buffer replacement in newer kernels</title>
    <link>http://permalink.gmane.org/gmane.linux.serial/7856</link>
    <description>&lt;pre&gt;This is driver source I found:
http://www.codeforge.com/read/118181/st16c554_serial.c__html

It was written for quad uart st16c554 for arm chip s3c2410, which I tried to adapt for at91rm9200 board and newer kernel version.

Best regards,
Dmitriy Alekseev


----- Original Message -----
From: Alan Cox &amp;lt;alan&amp;lt; at &amp;gt;lxorguk.ukuu.org.uk&amp;gt;
To: Jack Stone &amp;lt;jwjstone&amp;lt; at &amp;gt;fastmail.fm&amp;gt;
Cc: gregkh&amp;lt; at &amp;gt;linuxfoundation.org; alan&amp;lt; at &amp;gt;linux.intel.com; linux-serial&amp;lt; at &amp;gt;vger.kernel.org
Sent: Tuesday, May 22, 2012 6:10 PM
Subject: Re: struct tty_flip_buffer replacement in newer kernels


Your driver shouldn't be looking in those areas. There isn't a correct
replacement. You will need to update it to use the flip buffers properly
not poke its nose in places it shouldn't have.

Perhaps the best thing would be to post a link to the driver ?

Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo&amp;lt; at &amp;gt;vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubs&lt;/pre&gt;</description>
    <dc:creator>Dmitriy Alekseev</dc:creator>
    <dc:date>2012-05-22T14:38:28</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.serial/7855">
    <title>Re: struct tty_flip_buffer replacement in newer kernels</title>
    <link>http://permalink.gmane.org/gmane.linux.serial/7855</link>
    <description>&lt;pre&gt;
Your driver shouldn't be looking in those areas. There isn't a correct
replacement. You will need to update it to use the flip buffers properly
not poke its nose in places it shouldn't have.

Perhaps the best thing would be to post a link to the driver ?

Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo&amp;lt; at &amp;gt;vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>Alan Cox</dc:creator>
    <dc:date>2012-05-22T14:10:33</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.serial/7854">
    <title>[GIT PATCH] TTY/serial patches for 3.5-rc1</title>
    <link>http://permalink.gmane.org/gmane.linux.serial/7854</link>
    <description>&lt;pre&gt;The following changes since commit d48b97b403d23f6df0b990cee652bdf9a52337a3:

  Linux 3.4-rc6 (2012-05-06 15:07:32 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git/ tags/tty-3.5-rc1

for you to fetch changes up to d48b97b403d23f6df0b990cee652bdf9a52337a3:

  Linux 3.4-rc6 (2012-05-06 15:07:32 -0700)

----------------------------------------------------------------
TTY pull request for 3.5-rc1

Here's the big TTY/serial driver pull request for the 3.5-rc1 merge window.

Nothing major in here, just lots of incremental changes from Alan and
Jiri reworking some tty core things to behave better and to get a more
solid grasp on some of the nasty tty locking issues.

There are a few tty and serial driver updates in here as well.

All of this has been in the linux-next releases for a while with no problems.

Signed-off-by: Greg Kroah-Hartman &amp;lt;gregkh&amp;lt; at &amp;gt;linuxfoundation.org&amp;gt;

----------------------------------------------------------------

 Documentation/ABI&lt;/pre&gt;</description>
    <dc:creator>Greg KH</dc:creator>
    <dc:date>2012-05-22T13:20:06</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.serial/7853">
    <title>Fwd: struct tty_flip_buffer replacement in newer kernels</title>
    <link>http://permalink.gmane.org/gmane.linux.serial/7853</link>
    <description>&lt;pre&gt;[Add CCs]

-------- Original Message --------
Subject: struct tty_flip_buffer replacement in newer kernels
Date: Tue, 22 May 2012 16:17:02 +0400
From: Dmitriy Alekseev &amp;lt;deathonfuneral&amp;lt; at &amp;gt;gmail.com&amp;gt;
To: linux-kernel&amp;lt; at &amp;gt;vger.kernel.org

Hello

I'm newbie, working under existed serial driver, adapting it for 2.6.32.
During the compilation I have had several problems, which I
succesfully solved except this one:
error: 'struct tty_struct' has no member named 'flip'
In particular, cound you advice correct replacement of "tty-&amp;gt;flip.count"

Thanks
&lt;/pre&gt;</description>
    <dc:creator>Jack Stone</dc:creator>
    <dc:date>2012-05-22T12:32:02</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.serial/7852">
    <title>[PATCH V2] serial: pxa: add spin lock for console write</title>
    <link>http://permalink.gmane.org/gmane.linux.serial/7852</link>
    <description>&lt;pre&gt;at UP mode, when cpu want to print message in kernel, it will invoke
peempt_disable and disable irq. So it is safe for UP mode.
For SMP mode, it is not safe to protect the HW reigsters.
one CPU will run a program which will invoke printf.
another CPU will run a program in kernel that invoke printk.
So when second CPU is trying to printk, it will do
1. save ier register
2. enable uue bit of ier register
3. push buffer to uart fifo
4 .restore ier register
when first CPU want to printf, and it happens between 1 and 4, it will
enable thre bit of ier, and waiting for transmit intterupt. while step 4
will make the ier lost thre bit.
add spin lock here to protect the ier register for console write.

Signed-off-by: Chao Xie &amp;lt;chao.xie&amp;lt; at &amp;gt;marvell.com&amp;gt;
---
 drivers/tty/serial/pxa.c |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/drivers/tty/serial/pxa.c b/drivers/tty/serial/pxa.c
index 5847a4b..aca62f6 100644
--- a/drivers/tty/serial/pxa.c
+++ b/drivers/tty/serial/pxa.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -670,9 +6&lt;/pre&gt;</description>
    <dc:creator>Chao Xie</dc:creator>
    <dc:date>2012-05-22T04:43:00</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.linux.serial">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.linux.serial</link>
  </textinput>
</rdf:RDF>

