<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/tty/serial/etraxfs-uart.c, branch linux-4.4.y</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=linux-4.4.y</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=linux-4.4.y'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2015-11-21T00:19:54+00:00</updated>
<entry>
<title>serial: etraxfs-uart: Fix crash</title>
<updated>2015-11-21T00:19:54+00:00</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2015-11-02T02:32:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=f356d7a7ddb5ea545e81c84eecfdf1b5ab4647fc'/>
<id>urn:sha1:f356d7a7ddb5ea545e81c84eecfdf1b5ab4647fc</id>
<content type='text'>
Since commit 7d8c70d8048c ("serial: mctrl-gpio: rename init function"),
crisv32 either do not build or crash as follows.

Unable to handle kernel NULL pointer dereference
Linux 4.3.0-rc7-next-20151101 #1 Sun Nov 1 11:41:28 PST 2015
...
Call Trace: [&lt;c0004a0e&gt;] show_stack+0x0/0x9e
[&lt;c004c0c0&gt;] printk+0x0/0x2c
[&lt;c00059d4&gt;] show_registers+0x14a/0x1c2
[&lt;c004c0c0&gt;] printk+0x0/0x2c
[&lt;c0004b52&gt;] die_if_kernel+0x7c/0x9e
[&lt;c0005346&gt;] do_page_fault+0x32e/0x3e6
[&lt;c01dc59c&gt;] of_get_property+0x0/0x2c
[&lt;c01e0558&gt;] of_irq_parse_raw+0x12a/0x376
[&lt;c01dc59c&gt;] of_get_property+0x0/0x2c
[&lt;c0053aca&gt;] get_page_from_freelist+0x73e/0x856
[&lt;c01dc59c&gt;] of_get_property+0x0/0x2c
[&lt;c0008912&gt;] d_mmu_refill+0x10a/0x112
[&lt;c01b488c&gt;] devm_kmalloc+0x40/0x56
[&lt;c01b47d0&gt;] add_dr+0xc/0x1c
[&lt;c01b4800&gt;] devm_add_action+0x2/0x4e
[&lt;c01abdbc&gt;] mctrl_gpio_init_noauto+0x1c/0x76
[&lt;c01abf9e&gt;] mctrl_gpio_init+0x22/0x110

The function call in the etraxfs-uart driver was not renamed,
possibly due to interference with commit 7b9c5162c182 ("serial:
etraxfs-uart: use mctrl_gpio helpers for handling modem signals").

Fixes: 7d8c70d8048c ("serial: mctrl-gpio: rename init function")
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Acked-by: Uwe Kleine-König &lt;u.kleine-koenig@pengutronix.de&gt;
Acked-by: Niklas Cassel &lt;nks@flawful.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>serial: etraxfs-uart: use mctrl_gpio helpers for handling modem signals</title>
<updated>2015-08-05T05:07:20+00:00</updated>
<author>
<name>Niklas Cassel</name>
<email>nks@flawful.org</email>
</author>
<published>2015-07-25T00:02:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=7b9c5162c1829686baea1962177842c3fa1ea81c'/>
<id>urn:sha1:7b9c5162c1829686baea1962177842c3fa1ea81c</id>
<content type='text'>
In order to use the mctrl_gpio helpers, we change the DT bindings:
ri-gpios renamed to rng-gpios. cd-gpios renamed to dcd-gpios.
However, no in-tree dts/dtsi specifies these, so no worries.

Signed-off-by: Niklas Cassel &lt;nks@flawful.org&gt;
Reviewed-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Tested-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Acked-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>serial: etraxfs-uart: remove empty functions</title>
<updated>2015-08-05T05:07:19+00:00</updated>
<author>
<name>Niklas Cassel</name>
<email>nks@flawful.org</email>
</author>
<published>2015-07-25T00:00:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=9625734ff75af35d9878c693e3f92237aa3c1ae6'/>
<id>urn:sha1:9625734ff75af35d9878c693e3f92237aa3c1ae6</id>
<content type='text'>
Implementing enable_ms is optional by serial_core.
check_modem_status is just an empty local function.

Signed-off-by: Niklas Cassel &lt;nks@flawful.org&gt;
Reviewed-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Tested-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Merge 4.2-rc4 into tty-next</title>
<updated>2015-07-27T18:12:39+00:00</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@linuxfoundation.org</email>
</author>
<published>2015-07-27T18:12:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=92311e46ecf2298d87f175c8449ab4d8c400a38e'/>
<id>urn:sha1:92311e46ecf2298d87f175c8449ab4d8c400a38e</id>
<content type='text'>
Other serial driver work wants to build on patches now in 4.2-rc4 so
merge the branch so this can properly happen.

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>serial: etraxfs-uart: Fix release etraxfs_uart_ports</title>
<updated>2015-07-23T22:25:38+00:00</updated>
<author>
<name>Axel Lin</name>
<email>axel.lin@ingics.com</email>
</author>
<published>2015-06-28T01:45:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=d8c2c0d89205a3538c5fd77dc9d4767ee6bebc70'/>
<id>urn:sha1:d8c2c0d89205a3538c5fd77dc9d4767ee6bebc70</id>
<content type='text'>
In probe, we use dev_id as array index of etraxfs_uart_ports and store the
index in port-&gt;line. So etraxfs_uart_ports[port-&gt;line] should be released
when unload the module.

Signed-off-by: Axel Lin &lt;axel.lin@ingics.com&gt;
Acked-by: Niklas Cassel &lt;nks@flawful.org&gt;
Acked-by: Jesper Nilsson &lt;jesper.nilsson@axis.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>serial: etraxfs-uart: Convert to uart_console_device instead of open-coded</title>
<updated>2015-07-23T22:24:12+00:00</updated>
<author>
<name>Axel Lin</name>
<email>axel.lin@ingics.com</email>
</author>
<published>2015-06-28T01:46:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=e9bb4b510046d41e3e5a4adc56c76ec8d6812962'/>
<id>urn:sha1:e9bb4b510046d41e3e5a4adc56c76ec8d6812962</id>
<content type='text'>
The implementation of cris_console_device() is exactly the same as
uart_console_device(), so let's switch to use uart_console_device().

Signed-off-by: Axel Lin &lt;axel.lin@ingics.com&gt;
Acked-by: Niklas Cassel &lt;nks@flawful.org&gt;
Acked-by: Jesper Nilsson &lt;jesper.nilsson@axis.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>serial: driver for ETRAX FS UART</title>
<updated>2015-02-07T10:43:16+00:00</updated>
<author>
<name>Niklas Cassel</name>
<email>nks@flawful.org</email>
</author>
<published>2015-02-02T22:19:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=692132b5b1c5ce97076915d4aed0c61513e18b03'/>
<id>urn:sha1:692132b5b1c5ce97076915d4aed0c61513e18b03</id>
<content type='text'>
This is the last missing piece to get a kernel booting to a prompt in qemu-cris.

Signed-off-by: Niklas Cassel &lt;nks@flawful.org&gt;
Acked-by: Jesper Nilsson &lt;jesper.nilsson@axis.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
