diff options
author | Stijn Segers <francesco.borromini@inventati.org> | 2017-01-21 18:30:10 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2017-01-27 11:18:27 +0100 |
commit | 20996edd68b8a0b139bdb36b3aafa29c037d4bda (patch) | |
tree | 6e90cf0c514879defeef1a8bb0d21b6ad1c08003 /target/linux/imx6 | |
parent | 71f4d8a0959e0f350dabb640b11bf14d57467042 (diff) | |
download | upstream-20996edd68b8a0b139bdb36b3aafa29c037d4bda.tar.gz upstream-20996edd68b8a0b139bdb36b3aafa29c037d4bda.tar.bz2 upstream-20996edd68b8a0b139bdb36b3aafa29c037d4bda.zip |
Kernel: bump to 4.4.44
Bump kernel to 4.4.44. Compile-tested on ar71xx, ramips/mt7621 and x86/64.
.44 has been run-tested on the 17.01 branch here on ar71xx and mt7621.
Signed-off-by: Stijn Segers <francesco.borromini@inventati.org>
Diffstat (limited to 'target/linux/imx6')
4 files changed, 10 insertions, 29 deletions
diff --git a/target/linux/imx6/patches-4.4/110-serial-imx-repair-and-complete-handshaking.patch b/target/linux/imx6/patches-4.4/110-serial-imx-repair-and-complete-handshaking.patch index 0a117f668f..82715b0cda 100644 --- a/target/linux/imx6/patches-4.4/110-serial-imx-repair-and-complete-handshaking.patch +++ b/target/linux/imx6/patches-4.4/110-serial-imx-repair-and-complete-handshaking.patch @@ -19,8 +19,6 @@ Signed-off-by: Petr Štetiar <ynezz@true.cz> drivers/tty/serial/imx.c | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) -diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c -index 76818f5..086675e 100644 --- a/drivers/tty/serial/imx.c +++ b/drivers/tty/serial/imx.c @@ -148,8 +148,11 @@ @@ -35,7 +33,7 @@ index 76818f5..086675e 100644 #define USR2_RTSF (1<<4) /* RTS edge interrupt flag */ #define USR2_TXDC (1<<3) /* Transmitter complete */ #define USR2_BRCD (1<<2) /* Break condition */ -@@ -804,16 +807,19 @@ static unsigned int imx_tx_empty(struct uart_port *port) +@@ -804,16 +807,19 @@ static unsigned int imx_tx_empty(struct static unsigned int imx_get_mctrl(struct uart_port *port) { struct imx_port *sport = (struct imx_port *)port; @@ -49,19 +47,20 @@ index 76818f5..086675e 100644 - if (readl(sport->port.membase + UCR2) & UCR2_CTS) - tmp |= TIOCM_RTS; +- +- if (readl(sport->port.membase + uts_reg(sport)) & UTS_LOOP) +- tmp |= TIOCM_LOOP; + /* in DCE mode DCDIN is always 0 */ + if (!(usr1 & USR2_DCDIN)) + tmp |= TIOCM_CAR; - -- if (readl(sport->port.membase + uts_reg(sport)) & UTS_LOOP) -- tmp |= TIOCM_LOOP; ++ + /* in DCE mode RIIN is always 0 */ + if (readl(sport->port.membase + USR2) & USR2_RIIN) + tmp |= TIOCM_RI; return tmp; } -@@ -831,6 +837,11 @@ static void imx_set_mctrl(struct uart_port *port, unsigned int mctrl) +@@ -831,6 +837,11 @@ static void imx_set_mctrl(struct uart_po writel(temp, sport->port.membase + UCR2); } @@ -73,6 +72,3 @@ index 76818f5..086675e 100644 temp = readl(sport->port.membase + uts_reg(sport)) & ~UTS_LOOP; if (mctrl & TIOCM_LOOP) temp |= UTS_LOOP; --- -1.9.1 - diff --git a/target/linux/imx6/patches-4.4/111-serial-imx-fix-polarity-of-RI.patch b/target/linux/imx6/patches-4.4/111-serial-imx-fix-polarity-of-RI.patch index a06557542a..0288298163 100644 --- a/target/linux/imx6/patches-4.4/111-serial-imx-fix-polarity-of-RI.patch +++ b/target/linux/imx6/patches-4.4/111-serial-imx-fix-polarity-of-RI.patch @@ -16,11 +16,9 @@ Signed-off-by: Petr Štetiar <ynezz@true.cz> drivers/tty/serial/imx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c -index 231e7d5..bfc4555 100644 --- a/drivers/tty/serial/imx.c +++ b/drivers/tty/serial/imx.c -@@ -797,9 +797,9 @@ static unsigned int imx_get_hwmctrl(struct imx_port *sport) +@@ -817,9 +817,9 @@ static unsigned int imx_get_mctrl(struct if (!(usr1 & USR2_DCDIN)) tmp |= TIOCM_CAR; @@ -33,6 +31,3 @@ index 231e7d5..bfc4555 100644 return tmp; } --- -1.9.1 - diff --git a/target/linux/imx6/patches-4.4/112-serial-imx-let-irq-handler-return-IRQ_NONE-if-no-eve.patch b/target/linux/imx6/patches-4.4/112-serial-imx-let-irq-handler-return-IRQ_NONE-if-no-eve.patch index 0b803b7bda..a4f2951590 100644 --- a/target/linux/imx6/patches-4.4/112-serial-imx-let-irq-handler-return-IRQ_NONE-if-no-eve.patch +++ b/target/linux/imx6/patches-4.4/112-serial-imx-let-irq-handler-return-IRQ_NONE-if-no-eve.patch @@ -16,11 +16,9 @@ Signed-off-by: Petr Štetiar <ynezz@true.cz> drivers/tty/serial/imx.c | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) -diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c -index bfc4555..5ced61e 100644 --- a/drivers/tty/serial/imx.c +++ b/drivers/tty/serial/imx.c -@@ -734,6 +734,7 @@ static irqreturn_t imx_int(int irq, void *dev_id) +@@ -753,6 +753,7 @@ static irqreturn_t imx_int(int irq, void struct imx_port *sport = dev_id; unsigned int sts; unsigned int sts2; @@ -28,7 +26,7 @@ index bfc4555..5ced61e 100644 sts = readl(sport->port.membase + USR1); sts2 = readl(sport->port.membase + USR2); -@@ -743,26 +744,34 @@ static irqreturn_t imx_int(int irq, void *dev_id) +@@ -762,26 +763,34 @@ static irqreturn_t imx_int(int irq, void imx_dma_rxint(sport); else imx_rxint(irq, dev_id); @@ -67,6 +65,3 @@ index bfc4555..5ced61e 100644 } /* --- -1.9.1 - diff --git a/target/linux/imx6/patches-4.4/113-serial-imx-make-sure-unhandled-irqs-are-disabled.patch b/target/linux/imx6/patches-4.4/113-serial-imx-make-sure-unhandled-irqs-are-disabled.patch index 8978d33e6e..1c7de3fa6e 100644 --- a/target/linux/imx6/patches-4.4/113-serial-imx-make-sure-unhandled-irqs-are-disabled.patch +++ b/target/linux/imx6/patches-4.4/113-serial-imx-make-sure-unhandled-irqs-are-disabled.patch @@ -18,11 +18,9 @@ Signed-off-by: Petr Štetiar <ynezz@true.cz> drivers/tty/serial/imx.c | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) -diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c -index 5ced61e..fcd48fd 100644 --- a/drivers/tty/serial/imx.c +++ b/drivers/tty/serial/imx.c -@@ -1221,11 +1221,32 @@ static int imx_startup(struct uart_port *port) +@@ -1184,11 +1184,32 @@ static int imx_startup(struct uart_port temp |= (UCR2_RXEN | UCR2_TXEN); if (!sport->have_rtscts) temp |= UCR2_IRTS; @@ -56,6 +54,3 @@ index 5ced61e..fcd48fd 100644 writel(temp, sport->port.membase + UCR3); } --- -1.9.1 - |