update to 4.19.24

This commit is contained in:
Marcin Juszkiewicz 2019-02-25 17:00:37 +01:00
parent 493801a88a
commit 37e6c11924
3 changed files with 91 additions and 72 deletions

92
debian/changelog vendored
View File

@ -1,4 +1,4 @@
linux (4.19.23-1) UNRELEASED; urgency=medium
linux (4.19.24-1) UNRELEASED; urgency=medium
* New upstream stable update:
https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.19.21
@ -345,6 +345,96 @@ linux (4.19.23-1) UNRELEASED; urgency=medium
- svcrdma: Remove max_sge check at connect time
https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.19.23
- Revert "exec: load_script: don't blindly truncate shebang string"
https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.19.24
- dt-bindings: eeprom: at24: add "atmel,24c2048" compatible string
- eeprom: at24: add support for 24c2048
- blk-mq: fix a hung issue when fsync
- [armel, armhf] 8789/1: signal: copy registers using __copy_to_user()
- [armel, armhf] 8790/1: signal: always use __copy_to_user to save iwmmxt
context
- [armel, armhf] 8791/1: vfp: use __copy_to_user() when saving VFP state
- [armel, armhf] 8792/1: oabi-compat: copy oabi events using
__copy_to_user()
- [armel, armhf] 8793/1: signal: replace __put_user_error with __put_user
- [armel, armhf] 8794/1: uaccess: Prevent speculative use of the current
addr_limit
- [armel, armhf] 8795/1: spectre-v1.1: use put_user() for __put_user()
- [armel, armhf] 8796/1: spectre-v1,v1.1: provide helpers for address
sanitization
- [armel, armhf] 8797/1: spectre-v1.1: harden __copy_to_user
- [armel, armhf] 8810/1: vfp: Fix wrong assignement to ufp_exc
- [armel, armhfl armhf] make lookup_processor_type() non-__init
- [armel, armhf] split out processor lookup
- [armel, armhf] clean up per-processor check_bugs method call
- [armel, armhf] add PROC_VTABLE and PROC_TABLE macros
- [armel, armhf] spectre-v2: per-CPU vtables to work around big.Little
systems
- [armel, armhf] ensure that processor vtables is not lost after boot
- [armel, armhf] fix the cockup in the previous patch
- drm/amdgpu/sriov:Correct pfvf exchange logic
- [i386] ACPI: NUMA: Use correct type for printing addresses on i386-PAE
- perf report: Fix wrong iteration count in --branch-history
- perf test shell: Use a fallback to get the pathname in vfs_getname
- [riscv64] riscv: fix trace_sys_exit hook
- cpufreq: check if policy is inactive early in __cpufreq_get()
- drm/bridge: tc358767: add bus flags
- drm/bridge: tc358767: add defines for DP1_SRCCTRL & PHY_2LANE
- drm/bridge: tc358767: fix single lane configuration
- drm/bridge: tc358767: fix initial DP0/1_SRCCTRL value
- drm/bridge: tc358767: reject modes which require too much BW
- drm/bridge: tc358767: fix output H/V syncs
- nvme-pci: use the same attributes when freeing host_mem_desc_bufs.
- nvme-pci: fix out of bounds access in nvme_cqe_pending
- nvme-multipath: zero out ANA log buffer
- nvme: pad fake subsys NQN vid and ssvid with zeros
- drm/amdgpu: set WRITE_BURST_LENGTH to 64B to workaround SDMA1 hang
- [armel] dts: kirkwood: Fix polarity of GPIO fan lines
- [armel, armhf] gpio: pl061: handle failed allocations
- drm/nouveau: Don't disable polling in fallback mode
- drm/nouveau/falcon: avoid touching registers if engine is off
- cifs: Limit memory used by lock request calls to a page
- [x86] kvm: sev: Fail KVM_SEV_INIT if already initialized
- CIFS: Do not assume one credit for async responses
- [arm*] gpio: mxc: move gpio noirq suspend/resume to syscore phase
- [x86] Revert "Input: elan_i2c - add ACPI ID for touchpad in ASUS Aspire
F5-573G"
- [x86] Input: elan_i2c - add ACPI ID for touchpad in Lenovo V330-15ISK
- [armhf] OMAP5+: Fix inverted nirq pin interrupts with irq_set_type
- perf/core: Fix impossible ring-buffer sizes warning
- [x86] perf: Add check_period PMU callback
- [x86] ALSA: hda - Add quirk for HP EliteBook 840 G5
- ALSA: usb-audio: Fix implicit fb endpoint setup by quirk
- ASoC: hdmi-codec: fix oops on re-probe
- tools uapi: fix Alpha support
- [riscv64] Add pte bit to distinguish swap from invalid
- [x86] kvm/nVMX: read from MSR_IA32_VMX_PROCBASED_CTLS2 only when it is
available
- [x86] kvm: vmx: Fix entry number check for add_atomic_switch_msr()
- [arm*] mmc: sunxi: Filter out unsupported modes declared in the device
tree
- mmc: block: handle complete_work on separate workqueue
- Input: bma150 - register input device after setting private data
- [x86] Input: elantech - enable 3rd button support on Fujitsu CELSIUS H780
- Revert "nfsd4: return default lease period"
- Revert "mm: don't reclaim inodes with many attached pages"
- Revert "mm: slowly shrink slabs with a relatively small number of
objects"
- alpha: fix page fault handling for r16-r18 targets
- alpha: Fix Eiger NR_IRQS to 128
- [s390*] zcrypt: fix specification exception on z196 during ap probe
- tracing/uprobes: Fix output for multiple string arguments
- [x86] platform/UV: Use efi_runtime_lock to serialise BIOS calls
- scsi: sd: fix entropy gathering for most rotational disks
- signal: Restore the stop PTRACE_EVENT_EXIT
- md/raid1: don't clear bitmap bits on interrupted recovery.
- [x86] a.out: Clear the dump structure initially
- dm crypt: don't overallocate the integrity tag space
- dm thin: fix bug where bio that overwrites thin block ignores FUA
- drm: Use array_size() when creating lease
- [x86] drm/vkms: Fix license inconsistent
- [x86] drm/i915: Block fbdev HPD processing during suspend
- [x86] drm/i915: Prevent a race during I915_GEM_MMAP ioctl with WC set
- mm: proc: smaps_rollup: fix pss_locked calculation
[ Ben Hutchings ]
* [sparc64] udeb: Use standard module list in nic-modules; add i2c-modules

View File

@ -1,70 +0,0 @@
From: Aurelien Jarno <aurelien@aurel32.net>
Date: Tue, 25 Dec 2018 06:46:24 -0800
Subject: tools uapi: fix RISC-V 64-bit support
Forwarded: http://lists.infradead.org/pipermail/linux-riscv/2018-December/002622.html
The BPF library is not built on 64-bit RISC-V, as the BPF feature is
not detected. Looking more in details, feature/test-bpf.c fails to build
with the following error:
| In file included from /tmp/linux-4.19.12/tools/include/uapi/asm/bitsperlong.h:17,
| from /tmp/linux-4.19.12/tools/include/uapi/asm-generic/unistd.h:2,
| from /usr/include/riscv64-linux-gnu/asm/unistd.h:1,
| from test-bpf.c:2:
| /tmp/linux-4.19.12/tools/include/asm-generic/bitsperlong.h:14:2: error: #error Inconsistent word size. Check asm/bitsperlong.h
| #error Inconsistent word size. Check asm/bitsperlong.h
| ^~~~~
The UAPI from the tools directory is missing RISC-V support, therefore
bitsperlong.h from asm-generic is used, defaulting to 32 bits.
Fix that by adding tools/arch/riscv/include/uapi/asm/bitsperlong.h as
a copy of arch/riscv/include/uapi/asm/bitsperlong.h and by updating
tools/include/uapi/asm/bitsperlong.h.
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
---
.../arch/riscv/include/uapi/asm/bitsperlong.h | 25 +++++++++++++++++++
tools/include/uapi/asm/bitsperlong.h | 2 ++
2 files changed, 27 insertions(+)
create mode 100644 tools/arch/riscv/include/uapi/asm/bitsperlong.h
--- /dev/null
+++ b/tools/arch/riscv/include/uapi/asm/bitsperlong.h
@@ -0,0 +1,25 @@
+/*
+ * Copyright (C) 2012 ARM Ltd.
+ * Copyright (C) 2015 Regents of the University of California
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef _UAPI_ASM_RISCV_BITSPERLONG_H
+#define _UAPI_ASM_RISCV_BITSPERLONG_H
+
+#define __BITS_PER_LONG (__SIZEOF_POINTER__ * 8)
+
+#include <asm-generic/bitsperlong.h>
+
+#endif /* _UAPI_ASM_RISCV_BITSPERLONG_H */
--- a/tools/include/uapi/asm/bitsperlong.h
+++ b/tools/include/uapi/asm/bitsperlong.h
@@ -13,6 +13,8 @@
#include "../../arch/mips/include/uapi/asm/bitsperlong.h"
#elif defined(__ia64__)
#include "../../arch/ia64/include/uapi/asm/bitsperlong.h"
+#elif defined(__riscv)
+#include "../../arch/riscv/include/uapi/asm/bitsperlong.h"
#else
#include <asm-generic/bitsperlong.h>
#endif

View File

@ -164,7 +164,6 @@ bugfix/x86/tools-x86_energy_perf_policy-fix-uninitialized-varia.patch
bugfix/x86/tools-turbostat-Add-checks-for-failure-of-fgets-and-.patch
bugfix/all/libbpf-add-soname-to-shared-object.patch
bugfix/all/libbpf-link-shared-object-with-libelf.patch
bugfix/riscv/tools-uapi-fix-risc-v-64-bit-support.patch
# wireless: Disable regulatory.db direct loading (until we sort out signing)
debian/wireless-disable-regulatory.db-direct-loading.patch