I'm announcing the release of the 5.10.19 kernel.
All users of the 5.10 kernel series must upgrade.
The updated 5.10.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.10.y
and can be browsed at the normal kernel.org git web browser:
https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Makefile | 4 -
arch/arm64/boot/dts/nvidia/tegra210.dtsi | 1
arch/x86/kvm/mmu/mmu.c | 2
drivers/bluetooth/btusb.c | 7 ++
drivers/gpu/drm/xlnx/zynqmp_disp.c | 15 ++---
drivers/hid/hid-core.c | 6 +-
drivers/hwmon/dell-smm-hwmon.c | 7 ++
drivers/net/ethernet/chelsio/cxgb4/t4_pci_id_tbl.h | 1
drivers/net/usb/qmi_wwan.c | 1
drivers/nvme/host/rdma.c | 2
drivers/usb/core/quirks.c | 9 ++-
fs/ceph/mdsmap.c | 4 -
fs/cifs/connect.c | 1
fs/dax.c | 10 +--
fs/ntfs/inode.c | 6 ++
include/linux/mm.h | 8 +-
include/rdma/ib_verbs.h | 13 ++++
kernel/bpf/verifier.c | 10 ++-
mm/memory.c | 57 +++++++++++----------
net/rds/ib.h | 7 --
scripts/gen_autoksyms.sh | 3 +
scripts/recordmcount.pl | 6 +-
virt/kvm/kvm_main.c | 17 ++++--
23 files changed, 127 insertions(+), 70 deletions(-)
Christoph Hellwig (4):
RDMA: Lift ibdev_to_node from rds to common code
nvme-rdma: Use ibdev_to_node instead of dereferencing ->dma_device
mm: unexport follow_pte_pmd
mm: simplify follow_pte{,pmd}
Christoph Schemmel (1):
NET: usb: qmi_wwan: Adding support for Cinterion MV31
Daniel Borkmann (1):
bpf: Fix truncation handling for mod32 dst reg wrt zero
Greg Kroah-Hartman (1):
Linux 5.10.19
Hui Wang (1):
Bluetooth: btusb: Some Qualcomm Bluetooth adapters stop working
Johan Hovold (1):
USB: quirks: sort quirk entries
Luis Henriques (1):
ceph: downgrade warning from mdsmap decode to debug
Masahiro Yamada (1):
kbuild: fix CONFIG_TRIM_UNUSED_KSYMS build for ppc64
Paolo Bonzini (2):
KVM: do not assume PTE is writable after follow_pfn
mm: provide a saner PTE walking API for modules
Quanyang Wang (1):
drm/xlnx: fix kmemleak by sending vblank_event in atomic_disable
Raju Rangoju (1):
cxgb4: Add new T6 PCI device id 0x6092
Rong Chen (1):
scripts/recordmcount.pl: support big endian for ARCH sh
Rustam Kovhaev (1):
ntfs: check for valid standard information attribute
Sameer Pujar (1):
arm64: tegra: Add power-domain for Tegra210 HDA
Sean Christopherson (2):
KVM: x86: Zap the oldest MMU pages, not the newest
KVM: Use kvm_pfn_t for local PFN variable in hva_to_pfn_remapped()
Shyam Prasad N (1):
cifs: Set CIFS_MOUNT_USE_PREFIX_PATH flag on setting cifs_sb->prepath.
Stefan Ursella (1):
usb: quirks: add quirk to start video capture on ELMO L-12F document camera reliable
Thomas Hebb (1):
hwmon: (dell-smm) Add XPS 15 L502X to fan control blacklist
Will McVicker (1):
HID: make arrays usage and value to be the same
I'm announcing the release of the 5.4.101 kernel.
All users of the 5.4 kernel series must upgrade.
The updated 5.4.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.4.y
and can be browsed at the normal kernel.org git web browser:
https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Makefile | 2
arch/arm64/boot/dts/nvidia/tegra210.dtsi | 1
drivers/hid/hid-core.c | 6 +-
drivers/net/ethernet/chelsio/cxgb4/t4_pci_id_tbl.h | 1
drivers/net/usb/qmi_wwan.c | 1
drivers/usb/core/quirks.c | 9 ++-
fs/cifs/connect.c | 1
fs/dax.c | 10 +--
fs/ntfs/inode.c | 6 ++
include/linux/mm.h | 8 +-
kernel/bpf/verifier.c | 10 ++-
mm/memory.c | 57 +++++++++++----------
scripts/Makefile | 9 ++-
scripts/recordmcount.pl | 6 +-
virt/kvm/kvm_main.c | 17 ++++--
15 files changed, 92 insertions(+), 52 deletions(-)
Christoph Hellwig (2):
mm: unexport follow_pte_pmd
mm: simplify follow_pte{,pmd}
Christoph Schemmel (1):
NET: usb: qmi_wwan: Adding support for Cinterion MV31
Daniel Borkmann (1):
bpf: Fix truncation handling for mod32 dst reg wrt zero
Greg Kroah-Hartman (1):
Linux 5.4.101
Johan Hovold (1):
USB: quirks: sort quirk entries
Paolo Bonzini (2):
KVM: do not assume PTE is writable after follow_pfn
mm: provide a saner PTE walking API for modules
Raju Rangoju (1):
cxgb4: Add new T6 PCI device id 0x6092
Rolf Eike Beer (2):
scripts: use pkg-config to locate libcrypto
scripts: set proper OpenSSL include dir also for sign-file
Rong Chen (1):
scripts/recordmcount.pl: support big endian for ARCH sh
Rustam Kovhaev (1):
ntfs: check for valid standard information attribute
Sameer Pujar (1):
arm64: tegra: Add power-domain for Tegra210 HDA
Sean Christopherson (1):
KVM: Use kvm_pfn_t for local PFN variable in hva_to_pfn_remapped()
Shyam Prasad N (1):
cifs: Set CIFS_MOUNT_USE_PREFIX_PATH flag on setting cifs_sb->prepath.
Stefan Ursella (1):
usb: quirks: add quirk to start video capture on ELMO L-12F document camera reliable
Will McVicker (1):
HID: make arrays usage and value to be the same
This is the start of the stable review cycle for the 5.4.101 release.
There are 17 patches in this series, all will be posted as a response
to this one. If anyone has any issues with these being applied, please
let me know.
Responses should be made by Sat, 27 Feb 2021 09:25:06 +0000.
Anything received after that time might be too late.
The whole patch series can be found in one patch at:
https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.4.101-rc…
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.4.y
and the diffstat can be found below.
thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:
Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Linux 5.4.101-rc1
Rong Chen <rong.a.chen(a)intel.com>
scripts/recordmcount.pl: support big endian for ARCH sh
Shyam Prasad N <sprasad(a)microsoft.com>
cifs: Set CIFS_MOUNT_USE_PREFIX_PATH flag on setting cifs_sb->prepath.
Raju Rangoju <rajur(a)chelsio.com>
cxgb4: Add new T6 PCI device id 0x6092
Christoph Schemmel <christoph.schemmel(a)gmail.com>
NET: usb: qmi_wwan: Adding support for Cinterion MV31
Sean Christopherson <seanjc(a)google.com>
KVM: Use kvm_pfn_t for local PFN variable in hva_to_pfn_remapped()
Paolo Bonzini <pbonzini(a)redhat.com>
mm: provide a saner PTE walking API for modules
Paolo Bonzini <pbonzini(a)redhat.com>
KVM: do not assume PTE is writable after follow_pfn
Christoph Hellwig <hch(a)lst.de>
mm: simplify follow_pte{,pmd}
Christoph Hellwig <hch(a)lst.de>
mm: unexport follow_pte_pmd
Rolf Eike Beer <eb(a)emlix.com>
scripts: set proper OpenSSL include dir also for sign-file
Rolf Eike Beer <eb(a)emlix.com>
scripts: use pkg-config to locate libcrypto
Sameer Pujar <spujar(a)nvidia.com>
arm64: tegra: Add power-domain for Tegra210 HDA
Rustam Kovhaev <rkovhaev(a)gmail.com>
ntfs: check for valid standard information attribute
Stefan Ursella <stefan.ursella(a)wolfvision.net>
usb: quirks: add quirk to start video capture on ELMO L-12F document camera reliable
Johan Hovold <johan(a)kernel.org>
USB: quirks: sort quirk entries
Will McVicker <willmcvicker(a)google.com>
HID: make arrays usage and value to be the same
Daniel Borkmann <daniel(a)iogearbox.net>
bpf: Fix truncation handling for mod32 dst reg wrt zero
-------------
Diffstat:
Makefile | 4 +-
arch/arm64/boot/dts/nvidia/tegra210.dtsi | 1 +
drivers/hid/hid-core.c | 6 +--
drivers/net/ethernet/chelsio/cxgb4/t4_pci_id_tbl.h | 1 +
drivers/net/usb/qmi_wwan.c | 1 +
drivers/usb/core/quirks.c | 9 ++--
fs/cifs/connect.c | 1 +
fs/dax.c | 10 ++--
fs/ntfs/inode.c | 6 +++
include/linux/mm.h | 8 +--
kernel/bpf/verifier.c | 10 ++--
mm/memory.c | 57 ++++++++++++----------
scripts/Makefile | 9 +++-
scripts/recordmcount.pl | 6 ++-
virt/kvm/kvm_main.c | 17 +++++--
15 files changed, 93 insertions(+), 53 deletions(-)
coprocessor_flush is not a part of fast exception handlers, but it uses
parts of fast coprocessor handling code that's why it's in the same
source file. It uses call0 opcode to invoke those parts so there are no
limitations on their relative location, but the rest of the code calls
coprocessor_flush with call8 and that doesn't work when vectors are
placed in a different gigabyte-aligned area than the rest of the kernel.
Move coprocessor_flush from the .exception.text section to the .text so
that it's reachable from the rest of the kernel with call8.
Cc: stable(a)vger.kernel.org
Signed-off-by: Max Filippov <jcmvbkbc(a)gmail.com>
---
arch/xtensa/kernel/coprocessor.S | 64 ++++++++++++++++----------------
1 file changed, 33 insertions(+), 31 deletions(-)
diff --git a/arch/xtensa/kernel/coprocessor.S b/arch/xtensa/kernel/coprocessor.S
index c426b846beef..45cc0ae0af6f 100644
--- a/arch/xtensa/kernel/coprocessor.S
+++ b/arch/xtensa/kernel/coprocessor.S
@@ -99,37 +99,6 @@
LOAD_CP_REGS_TAB(6)
LOAD_CP_REGS_TAB(7)
-/*
- * coprocessor_flush(struct thread_info*, index)
- * a2 a3
- *
- * Save coprocessor registers for coprocessor 'index'.
- * The register values are saved to or loaded from the coprocessor area
- * inside the task_info structure.
- *
- * Note that this function doesn't update the coprocessor_owner information!
- *
- */
-
-ENTRY(coprocessor_flush)
-
- /* reserve 4 bytes on stack to save a0 */
- abi_entry(4)
-
- s32i a0, a1, 0
- movi a0, .Lsave_cp_regs_jump_table
- addx8 a3, a3, a0
- l32i a4, a3, 4
- l32i a3, a3, 0
- add a2, a2, a4
- beqz a3, 1f
- callx0 a3
-1: l32i a0, a1, 0
-
- abi_ret(4)
-
-ENDPROC(coprocessor_flush)
-
/*
* Entry condition:
*
@@ -245,6 +214,39 @@ ENTRY(fast_coprocessor)
ENDPROC(fast_coprocessor)
+ .text
+
+/*
+ * coprocessor_flush(struct thread_info*, index)
+ * a2 a3
+ *
+ * Save coprocessor registers for coprocessor 'index'.
+ * The register values are saved to or loaded from the coprocessor area
+ * inside the task_info structure.
+ *
+ * Note that this function doesn't update the coprocessor_owner information!
+ *
+ */
+
+ENTRY(coprocessor_flush)
+
+ /* reserve 4 bytes on stack to save a0 */
+ abi_entry(4)
+
+ s32i a0, a1, 0
+ movi a0, .Lsave_cp_regs_jump_table
+ addx8 a3, a3, a0
+ l32i a4, a3, 4
+ l32i a3, a3, 0
+ add a2, a2, a4
+ beqz a3, 1f
+ callx0 a3
+1: l32i a0, a1, 0
+
+ abi_ret(4)
+
+ENDPROC(coprocessor_flush)
+
.data
ENTRY(coprocessor_owner)
--
2.20.1
This is the start of the stable review cycle for the 5.11.2 release.
There are 12 patches in this series, all will be posted as a response
to this one. If anyone has any issues with these being applied, please
let me know.
Responses should be made by Sat, 27 Feb 2021 09:25:06 +0000.
Anything received after that time might be too late.
The whole patch series can be found in one patch at:
https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.11.2-rc1…
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.11.y
and the diffstat can be found below.
thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:
Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Linux 5.11.2-rc1
Sean Christopherson <seanjc(a)google.com>
KVM: Use kvm_pfn_t for local PFN variable in hva_to_pfn_remapped()
Paolo Bonzini <pbonzini(a)redhat.com>
mm: provide a saner PTE walking API for modules
Paolo Bonzini <pbonzini(a)redhat.com>
KVM: do not assume PTE is writable after follow_pfn
Sean Christopherson <seanjc(a)google.com>
KVM: x86: Zap the oldest MMU pages, not the newest
Thomas Hebb <tommyhebb(a)gmail.com>
hwmon: (dell-smm) Add XPS 15 L502X to fan control blacklist
Sameer Pujar <spujar(a)nvidia.com>
arm64: tegra: Add power-domain for Tegra210 HDA
Hui Wang <hui.wang(a)canonical.com>
Bluetooth: btusb: Some Qualcomm Bluetooth adapters stop working
Rustam Kovhaev <rkovhaev(a)gmail.com>
ntfs: check for valid standard information attribute
Stefan Ursella <stefan.ursella(a)wolfvision.net>
usb: quirks: add quirk to start video capture on ELMO L-12F document camera reliable
Johan Hovold <johan(a)kernel.org>
USB: quirks: sort quirk entries
Will McVicker <willmcvicker(a)google.com>
HID: make arrays usage and value to be the same
Daniel Borkmann <daniel(a)iogearbox.net>
bpf: Fix truncation handling for mod32 dst reg wrt zero
-------------
Diffstat:
Makefile | 4 ++--
arch/arm64/boot/dts/nvidia/tegra210.dtsi | 1 +
arch/s390/pci/pci_mmio.c | 4 ++--
arch/x86/kvm/mmu/mmu.c | 2 +-
drivers/bluetooth/btusb.c | 7 ++++++
drivers/hid/hid-core.c | 6 ++---
drivers/hwmon/dell-smm-hwmon.c | 7 ++++++
drivers/usb/core/quirks.c | 9 ++++---
fs/dax.c | 5 ++--
fs/ntfs/inode.c | 6 +++++
include/linux/mm.h | 6 +++--
kernel/bpf/verifier.c | 10 ++++----
mm/memory.c | 41 ++++++++++++++++++++++++++++----
virt/kvm/kvm_main.c | 17 +++++++++----
14 files changed, 97 insertions(+), 28 deletions(-)
From: NeilBrown <neilb(a)suse.de>
Subject: x86: fix seq_file iteration for pat/memtype.c
The memtype seq_file iterator allocates a buffer in the ->start and ->next
functions and frees it in the ->show function. The preferred handling for
such resources is to free them in the subsequent ->next or ->stop function
call.
Since Commit 1f4aace60b0e ("fs/seq_file.c: simplify seq_file iteration
code and interface") there is no guarantee that ->show will be called
after ->next, so this function can now leak memory.
So move the freeing of the buffer to ->next and ->stop.
Link: https://lkml.kernel.org/r/161248539022.21478.13874455485854739066.stgit@nob…
Fixes: 1f4aace60b0e ("fs/seq_file.c: simplify seq_file iteration code and interface")
Signed-off-by: NeilBrown <neilb(a)suse.de>
Cc: Xin Long <lucien.xin(a)gmail.com>
Cc: Alexander Viro <viro(a)zeniv.linux.org.uk>
Cc: Andy Lutomirski <luto(a)kernel.org>
Cc: Dave Hansen <dave.hansen(a)linux.intel.com>
Cc: "David S. Miller" <davem(a)davemloft.net>
Cc: Ingo Molnar <mingo(a)redhat.com>
Cc: Jonathan Corbet <corbet(a)lwn.net>
Cc: Marcelo Ricardo Leitner <marcelo.leitner(a)gmail.com>
Cc: Neil Horman <nhorman(a)tuxdriver.com>
Cc: Peter Zijlstra <peterz(a)infradead.org>
Cc: Vlad Yasevich <vyasevich(a)gmail.com>
Cc: <stable(a)vger.kernel.org>
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
---
arch/x86/mm/pat/memtype.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/arch/x86/mm/pat/memtype.c~x86-fix-seq_file-iteration-for-pat-memtypec
+++ a/arch/x86/mm/pat/memtype.c
@@ -1164,12 +1164,14 @@ static void *memtype_seq_start(struct se
static void *memtype_seq_next(struct seq_file *seq, void *v, loff_t *pos)
{
+ kfree(v);
++*pos;
return memtype_get_idx(*pos);
}
static void memtype_seq_stop(struct seq_file *seq, void *v)
{
+ kfree(v);
}
static int memtype_seq_show(struct seq_file *seq, void *v)
@@ -1181,8 +1183,6 @@ static int memtype_seq_show(struct seq_f
entry_print->end,
cattr_name(entry_print->type));
- kfree(entry_print);
-
return 0;
}
_