diff options
author | John Audia <therealgraysky@proton.me> | 2022-09-28 13:26:15 -0400 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2022-10-02 20:21:55 +0200 |
commit | e71a360f570e0e6f8ab19d1f927331b1cd1aca75 (patch) | |
tree | b195751c834db314e8d31182eadfdd5b9ffd3cce /target/linux/uml | |
parent | e1b009c1fe546b1b91a0ebc538325511af7ee077 (diff) | |
download | upstream-e71a360f570e0e6f8ab19d1f927331b1cd1aca75.tar.gz upstream-e71a360f570e0e6f8ab19d1f927331b1cd1aca75.tar.bz2 upstream-e71a360f570e0e6f8ab19d1f927331b1cd1aca75.zip |
kernel: bump 5.15 to 5.15.71
Removed upstreamed:
uml/patches-5.15/001-um-fix-default-console-kernel-parameter.patch[1]
All other patches automatically rebased
Build system: x86_64
Build-tested: bcm2711/RPi4B, mt7622/RT3200
Run-tested: bcm2711/RPi4B, mt7622/RT3200
1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.15.71&id=e1dbe8a62098b20f5093cf75ade2f2dc9259b006
Signed-off-by: John Audia <therealgraysky@proton.me>
Compile-tested: mvebu/cortexa72 (RB5009UG+S+IN)
Run-tested: mvebu/cortexa72 (RB5009UG+S+IN)
Diffstat (limited to 'target/linux/uml')
-rw-r--r-- | target/linux/uml/patches-5.15/001-um-fix-default-console-kernel-parameter.patch | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/target/linux/uml/patches-5.15/001-um-fix-default-console-kernel-parameter.patch b/target/linux/uml/patches-5.15/001-um-fix-default-console-kernel-parameter.patch deleted file mode 100644 index dd7fe57d5f..0000000000 --- a/target/linux/uml/patches-5.15/001-um-fix-default-console-kernel-parameter.patch +++ /dev/null @@ -1,54 +0,0 @@ -From 53b5c5f559cc95fc676cb4cc9e5a8d9f0cb8f58c Mon Sep 17 00:00:00 2001 -Message-Id: <53b5c5f559cc95fc676cb4cc9e5a8d9f0cb8f58c.1659815468.git.chunkeey@gmail.com> -From: Christian Lamparter <chunkeey@gmail.com> -Date: Sat, 6 Aug 2022 21:22:01 +0200 -Subject: [PATCH v1 1/2] um: fix default console kernel parameter -To: linux-um@lists.infradead.org -Cc: Richard Weinberger <richard@nod.at>, - Anton Ivanov <anton.ivanov@cambridgegreys.com>, - Johannes Berg <johannes@sipsolutions.net> - -OpenWrt's UML with 5.15 was producing odd errors/warnings during preinit -part of the early userspace portion: - -|[ 0.000000] Kernel command line: ubd0=root.img root=98:0 console=tty -|[...] -|[ 0.440000] random: jshn: uninitialized urandom read (4 bytes read) -|[ 0.460000] random: jshn: uninitialized urandom read (4 bytes read) -|/etc/preinit: line 47: can't create /dev/tty: No such device or address -|/etc/preinit: line 48: can't create /dev/tty: No such device or address -|/etc/preinit: line 58: can't open /dev/tty: No such device or address -|[...] repeated many times - -That "/dev/tty" came from the command line (which is automatically -added if no console= parameter was specified for the uml binary). - -The TLDP project tells the following about the /dev/tty: -<https://tldp.org/HOWTO/Text-Terminal-HOWTO-7.html#ss7.3> -| /dev/tty stands for the controlling terminal (if any) for the current -| process.[...] -| /dev/tty is something like a link to the actually terminal device[..] - -The "(if any)" is important here, since it's possible for processes to -not have a controlling terminal. - -I think this was a simple typo and the author wanted tty0 there. - -CC: Thomas Meyer <thomas@m3y3r.de> -Fixes: d7ffac33631b ("um: stdio_console: Make preferred console") -Signed-off-by: Christian Lamparter <chunkeey@gmail.com> ---- - arch/um/kernel/um_arch.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - ---- a/arch/um/kernel/um_arch.c -+++ b/arch/um/kernel/um_arch.c -@@ -31,7 +31,7 @@ - #include <os.h> - - #define DEFAULT_COMMAND_LINE_ROOT "root=98:0" --#define DEFAULT_COMMAND_LINE_CONSOLE "console=tty" -+#define DEFAULT_COMMAND_LINE_CONSOLE "console=tty0" - - /* Changed in add_arg and setup_arch, which run before SMP is started */ - static char __initdata command_line[COMMAND_LINE_SIZE] = { 0 }; |