Skip to contentSkip to conversation

Patch "MIPS: AR7: Ensure that serial ports are properly set up" has been added to the 4.9-stable tree

PATCH [email protected] 1 participant 1 message Nov 11, 2017

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

MIPS: AR7: Ensure that serial ports are properly set up

to the 4.9-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
mips-ar7-ensure-that-serial-ports-are-properly-set-up.patch
and it can be found in the queue-4.9 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From b084116f8587b222a2c5ef6dcd846f40f24b9420 Mon Sep 17 00:00:00 2001

From: Oswald Buddenhagen <[email protected]>
Date: Sun, 29 Oct 2017 16:27:20 +0100
Subject: MIPS: AR7: Ensure that serial ports are properly set up

From: Oswald Buddenhagen <[email protected]>

commit b084116f8587b222a2c5ef6dcd846f40f24b9420 upstream.

Without UPF_FIXED_TYPE, the data from the PORT_AR7 uart_config entry is never copied, resulting in a dead port.

Fixes 154615d55459 ("MIPS: AR7: Use correct UART port type")
[jonas.gorski: add Fixes tag]
Cc Ralf Baechle <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
Cc Yoshihiro YUNOMAE <[email protected]>
Cc Nicolas Schichan <[email protected]>
Cc Oswald Buddenhagen <[email protected]>

Patchwork: https://patchwork.linux-mips.org/patch/17543/

---
 arch/mips/ar7/platform.c |    1 +
 1 file changed, 1 insertion(+)
arch/mips/ar7/platform.c +1 -0
@@ -576,6 +576,7 @@ static int __init ar7_register_uarts(voi
 	uart_port.type		= PORT_AR7;
 	uart_port.uartclk	= clk_get_rate(bus_clk) / 2;
 	uart_port.iotype	= UPIO_MEM32;
+	uart_port.flags		= UPF_FIXED_TYPE;
 	uart_port.regshift	= 2;
 
 	uart_port.line		= 0;

Patches currently in stable-queue which might be from [email protected] are

queue-4.9/mips-ar7-ensure-that-serial-ports-are-properly-set-up.patch