The patch below does not apply to the 4.14-stable tree.
If someone wants it applied there, or to any other stable or longterm
tree, then please email the backport, including the original git commit
id to <stable(a)vger.kernel.org>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
>From d7609f4210cb716c11abfe2bfb5997191095d00b Mon Sep 17 00:00:00 2001
From: "mike.travis(a)hpe.com" <mike.travis(a)hpe.com>
Date: Thu, 24 May 2018 15:17:14 -0500
Subject: [PATCH] x86/platform/UV: Add kernel parameter to set memory block
size
Add a kernel parameter that allows setting UV memory block size. This
is to provide an adjustment for new forms of PMEM and other DIMM memory
that might require alignment restrictions other than scanning the global
address table for the required minimum alignment. The value set will be
further adjusted by both the GAM range table scan as well as restrictions
imposed by set_memory_block_size_order().
Signed-off-by: Mike Travis <mike.travis(a)hpe.com>
Reviewed-by: Andrew Banman <andrew.banman(a)hpe.com>
Cc: Andrew Morton <akpm(a)linux-foundation.org>
Cc: Dimitri Sivanich <dimitri.sivanich(a)hpe.com>
Cc: Linus Torvalds <torvalds(a)linux-foundation.org>
Cc: Peter Zijlstra <peterz(a)infradead.org>
Cc: Russ Anderson <russ.anderson(a)hpe.com>
Cc: Thomas Gleixner <tglx(a)linutronix.de>
Cc: dan.j.williams(a)intel.com
Cc: jgross(a)suse.com
Cc: kirill.shutemov(a)linux.intel.com
Cc: mhocko(a)suse.com
Cc: stable(a)vger.kernel.org
Link: https://lkml.kernel.org/lkml/20180524201711.854849120@stormcage.americas.sg…
Signed-off-by: Ingo Molnar <mingo(a)kernel.org>
diff --git a/arch/x86/kernel/apic/x2apic_uv_x.c b/arch/x86/kernel/apic/x2apic_uv_x.c
index 2270a777d647..d492752f79e1 100644
--- a/arch/x86/kernel/apic/x2apic_uv_x.c
+++ b/arch/x86/kernel/apic/x2apic_uv_x.c
@@ -396,6 +396,17 @@ EXPORT_SYMBOL(uv_hub_info_version);
/* Default UV memory block size is 2GB */
static unsigned long mem_block_size = (2UL << 30);
+/* Kernel parameter to specify UV mem block size */
+static int parse_mem_block_size(char *ptr)
+{
+ unsigned long size = memparse(ptr, NULL);
+
+ /* Size will be rounded down by set_block_size() below */
+ mem_block_size = size;
+ return 0;
+}
+early_param("uv_memblksize", parse_mem_block_size);
+
static __init int adj_blksize(u32 lgre)
{
unsigned long base = (unsigned long)lgre << UV_GAM_RANGE_SHFT;
This is the start of the stable review cycle for the 4.9.112 release.
There are 52 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 Thu Jul 12 18:24:30 UTC 2018.
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/v4.x/stable-review/patch-4.9.112-rc…
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.9.y
and the diffstat can be found below.
thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:
Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Linux 4.9.112-rc1
Dan Carpenter <dan.carpenter(a)oracle.com>
staging: comedi: quatech_daqp_cs: fix no-op loop daqp_ao_insn_write()
Jann Horn <jannh(a)google.com>
netfilter: nf_log: don't hold nf_log_mutex during user access
Tokunori Ikegami <ikegami(a)allied-telesis.co.jp>
mtd: cfi_cmdset_0002: Change erase functions to check chip good only
Tokunori Ikegami <ikegami(a)allied-telesis.co.jp>
mtd: cfi_cmdset_0002: Change erase functions to retry for error
Tokunori Ikegami <ikegami(a)allied-telesis.co.jp>
mtd: cfi_cmdset_0002: Change definition naming to retry write operation
Mikulas Patocka <mpatocka(a)redhat.com>
dm bufio: don't take the lock in dm_bufio_shrink_count
Martin Kaiser <martin(a)kaiser.cx>
mtd: rawnand: mxc: set spare area size register explicitly
Mikulas Patocka <mpatocka(a)redhat.com>
dm bufio: drop the lock when doing GFP_NOIO allocation
Douglas Anderson <dianders(a)chromium.org>
dm bufio: avoid sleeping while holding the dm_bufio lock
Vlastimil Babka <vbabka(a)suse.cz>
mm, page_alloc: do not break __GFP_THISNODE by zonelist reset
Brad Love <brad(a)nextdimension.cc>
media: cx25840: Use subdev host data for PLL override
Rasmus Villemoes <linux(a)rasmusvillemoes.dk>
Kbuild: fix # escaping in .cmd files for future Make
Waldemar Rymarkiewicz <waldemar.rymarkiewicz(a)gmail.com>
PM / OPP: Update voltage in case freq == old_freq
Daniel Rosenberg <drosen(a)google.com>
HID: debug: check length before copy_to_user()
Gustavo A. R. Silva <gustavo(a)embeddedor.com>
HID: hiddev: fix potential Spectre v1
Jason Andryuk <jandryuk(a)gmail.com>
HID: i2c-hid: Fix "incomplete report" noise
Ido Schimmel <idosch(a)mellanox.com>
mlxsw: spectrum: Forbid linking of VLAN devices to devices that have uppers
Jon Derrick <jonathan.derrick(a)intel.com>
ext4: check superblock mapped prior to committing
Theodore Ts'o <tytso(a)mit.edu>
ext4: add more mount time checks of the superblock
Theodore Ts'o <tytso(a)mit.edu>
ext4: add more inode number paranoia checks
Theodore Ts'o <tytso(a)mit.edu>
ext4: clear i_data in ext4_inode_info when removing inline data
Theodore Ts'o <tytso(a)mit.edu>
ext4: include the illegal physical block in the bad map ext4_error msg
Theodore Ts'o <tytso(a)mit.edu>
ext4: verify the depth of extent tree in ext4_find_extent()
Theodore Ts'o <tytso(a)mit.edu>
ext4: only look at the bg_flags field if it is valid
Theodore Ts'o <tytso(a)mit.edu>
ext4: always check block group bounds in ext4_init_block_bitmap()
Theodore Ts'o <tytso(a)mit.edu>
ext4: make sure bitmaps and the inode table don't overlap with bg descriptors
Theodore Ts'o <tytso(a)mit.edu>
jbd2: don't mark block as modified if the handle is out of credits
Mikulas Patocka <mpatocka(a)redhat.com>
drm/udl: fix display corruption of the last line
Paulo Alcantara <paulo(a)paulo.ac>
cifs: Fix infinite loop when using hard mount option
Lars Ellenberg <lars.ellenberg(a)linbit.com>
drbd: fix access after free
Christian Borntraeger <borntraeger(a)de.ibm.com>
s390: Correct register corruption in critical section cleanup
Jann Horn <jannh(a)google.com>
scsi: sg: mitigate read/write abuse
Changbin Du <changbin.du(a)intel.com>
tracing: Fix missing return symbol in function_graph output
Cannon Matthews <cannonmatthews(a)google.com>
mm: hugetlb: yield when prepping struct pages
Andy Lutomirski <luto(a)kernel.org>
x86/cpu: Re-apply forced caps every time CPU caps are re-read
Juergen Gross <jgross(a)suse.com>
x86/xen: Add call of speculative_store_bypass_ht_init() to PV paths
Mike Marciniszyn <mike.marciniszyn(a)intel.com>
IB/hfi1: Fix user context tail allocation for DMA_RTAIL
Sean Nyekjaer <sean.nyekjaer(a)prevas.dk>
ARM: dts: imx6q: Use correct SDMA script for SPI5 core
Grygorii Strashko <grygorii.strashko(a)ti.com>
net: phy: micrel: fix crash when statistic requested for KSZ9031 phy
David S. Miller <davem(a)davemloft.net>
Revert "sit: reload iphdr in ipip6_rcv"
Taehee Yoo <ap420073(a)gmail.com>
netfilter: nf_tables: use WARN_ON_ONCE instead of BUG_ON in nft_do_chain()
Masami Hiramatsu <mhiramat(a)kernel.org>
kprobes/x86: Do not modify singlestep buffer while resuming
Ben Hutchings <ben.hutchings(a)codethink.co.uk>
ipv4: Fix error return value in fib_convert_metrics()
Wolfram Sang <wsa+renesas(a)sang-engineering.com>
i2c: rcar: fix resume by always initializing registers before transfer
Alexander Potapenko <glider(a)google.com>
vt: prevent leaking uninitialized data to userspace via /dev/vcs*
Laura Abbott <labbott(a)redhat.com>
staging: android: ion: Return an ERR_PTR in ion_map_kernel
Tetsuo Handa <penguin-kernel(a)I-love.SAKURA.ne.jp>
n_tty: Access echo_* variables carefully.
Tetsuo Handa <penguin-kernel(a)I-love.SAKURA.ne.jp>
n_tty: Fix stall at n_tty_receive_char_special().
William Wu <william.wu(a)rock-chips.com>
usb: dwc2: fix the incorrect bitmaps for the ports of multi_tt hub
Karoly Pados <pados(a)pados.hu>
USB: serial: cp210x: add Silicon Labs IDs for Windows Update
Johan Hovold <johan(a)kernel.org>
USB: serial: cp210x: add CESINEL device ids
Houston Yaroschoff <hstn(a)4ever3.net>
usb: cdc_acm: Add quirk for Uniden UBC125 scanner
-------------
Diffstat:
Makefile | 4 +-
arch/arm/boot/dts/imx6q.dtsi | 2 +-
arch/s390/kernel/entry.S | 4 +-
arch/x86/kernel/cpu/common.c | 7 ++
arch/x86/kernel/kprobes/core.c | 42 ++++++------
arch/x86/xen/smp.c | 5 ++
drivers/base/power/opp/core.c | 2 +-
drivers/block/drbd/drbd_worker.c | 2 +-
drivers/gpu/drm/udl/udl_fb.c | 5 +-
drivers/gpu/drm/udl/udl_transfer.c | 11 +--
drivers/hid/hid-debug.c | 8 ++-
drivers/hid/i2c-hid/i2c-hid.c | 2 +-
drivers/hid/usbhid/hiddev.c | 11 +++
drivers/i2c/busses/i2c-rcar.c | 4 +-
drivers/infiniband/hw/hfi1/chip.c | 8 +--
drivers/infiniband/hw/hfi1/file_ops.c | 2 +-
drivers/infiniband/hw/hfi1/init.c | 9 ++-
drivers/md/dm-bufio.c | 31 +++++----
drivers/media/i2c/cx25840/cx25840-core.c | 28 ++++++--
drivers/mtd/chips/cfi_cmdset_0002.c | 30 ++++++---
drivers/mtd/nand/mxc_nand.c | 5 +-
drivers/net/ethernet/mellanox/mlxsw/spectrum.c | 6 +-
drivers/net/phy/micrel.c | 17 +----
drivers/scsi/sg.c | 42 +++++++++++-
drivers/staging/android/ion/ion_heap.c | 2 +-
drivers/staging/comedi/drivers/quatech_daqp_cs.c | 2 +-
drivers/tty/n_tty.c | 55 ++++++++-------
drivers/tty/vt/vt.c | 4 +-
drivers/usb/class/cdc-acm.c | 3 +
drivers/usb/dwc2/hcd_queue.c | 2 +-
drivers/usb/serial/cp210x.c | 14 ++++
fs/cifs/cifssmb.c | 10 ++-
fs/cifs/smb2pdu.c | 18 +++--
fs/ext4/balloc.c | 21 +++---
fs/ext4/ext4.h | 5 --
fs/ext4/ext4_extents.h | 1 +
fs/ext4/extents.c | 6 ++
fs/ext4/ialloc.c | 14 +++-
fs/ext4/inline.c | 1 +
fs/ext4/inode.c | 7 +-
fs/ext4/mballoc.c | 6 +-
fs/ext4/super.c | 86 ++++++++++++++++++++----
fs/jbd2/transaction.c | 9 ++-
kernel/trace/trace_functions_graph.c | 5 +-
mm/hugetlb.c | 1 +
mm/page_alloc.c | 1 -
net/ipv4/fib_semantics.c | 2 +-
net/ipv6/sit.c | 1 -
net/netfilter/nf_log.c | 9 ++-
net/netfilter/nf_tables_core.c | 3 +-
scripts/Kbuild.include | 5 +-
tools/build/Build.include | 5 +-
tools/objtool/Makefile | 2 +-
tools/scripts/Makefile.include | 2 +
54 files changed, 408 insertions(+), 181 deletions(-)
The patch below does not apply to the 4.14-stable tree.
If someone wants it applied there, or to any other stable or longterm
tree, then please email the backport, including the original git commit
id to <stable(a)vger.kernel.org>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
>From bbbd2b51a2aa0d76b3676271e216cf3647773397 Mon Sep 17 00:00:00 2001
From: "mike.travis(a)hpe.com" <mike.travis(a)hpe.com>
Date: Thu, 24 May 2018 15:17:13 -0500
Subject: [PATCH] x86/platform/UV: Use new set memory block size function
Add a call to the new function to "adjust" the current fixed UV memory
block size of 2GB so it can be changed to a different physical boundary.
This accommodates changes in the Intel BIOS, and therefore UV BIOS,
which now can align boundaries different than the previous UV standard
of 2GB. It also flags any UV Global Address boundaries from BIOS that
cause a change in the mem block size (boundary).
The current boundary of 2GB has been used on UV since the first system
release in 2009 with Linux 2.6 and has worked fine. But the new NVDIMM
persistent memory modules (PMEM), along with the Intel BIOS changes to
support these modules caused the memory block size boundary to be set
to a lower limit. Intel only guarantees that this minimum boundary at
64MB though the current Linux limit is 128MB.
Note that the default remains 2GB if no changes occur.
Signed-off-by: Mike Travis <mike.travis(a)hpe.com>
Reviewed-by: Andrew Banman <andrew.banman(a)hpe.com>
Cc: Andrew Morton <akpm(a)linux-foundation.org>
Cc: Dimitri Sivanich <dimitri.sivanich(a)hpe.com>
Cc: Linus Torvalds <torvalds(a)linux-foundation.org>
Cc: Peter Zijlstra <peterz(a)infradead.org>
Cc: Russ Anderson <russ.anderson(a)hpe.com>
Cc: Thomas Gleixner <tglx(a)linutronix.de>
Cc: dan.j.williams(a)intel.com
Cc: jgross(a)suse.com
Cc: kirill.shutemov(a)linux.intel.com
Cc: mhocko(a)suse.com
Cc: stable(a)vger.kernel.org
Link: https://lkml.kernel.org/lkml/20180524201711.732785782@stormcage.americas.sg…
Signed-off-by: Ingo Molnar <mingo(a)kernel.org>
diff --git a/arch/x86/kernel/apic/x2apic_uv_x.c b/arch/x86/kernel/apic/x2apic_uv_x.c
index efaf2d4f9c3c..2270a777d647 100644
--- a/arch/x86/kernel/apic/x2apic_uv_x.c
+++ b/arch/x86/kernel/apic/x2apic_uv_x.c
@@ -26,6 +26,7 @@
#include <linux/delay.h>
#include <linux/crash_dump.h>
#include <linux/reboot.h>
+#include <linux/memory.h>
#include <asm/uv/uv_mmrs.h>
#include <asm/uv/uv_hub.h>
@@ -392,6 +393,40 @@ extern int uv_hub_info_version(void)
}
EXPORT_SYMBOL(uv_hub_info_version);
+/* Default UV memory block size is 2GB */
+static unsigned long mem_block_size = (2UL << 30);
+
+static __init int adj_blksize(u32 lgre)
+{
+ unsigned long base = (unsigned long)lgre << UV_GAM_RANGE_SHFT;
+ unsigned long size;
+
+ for (size = mem_block_size; size > MIN_MEMORY_BLOCK_SIZE; size >>= 1)
+ if (IS_ALIGNED(base, size))
+ break;
+
+ if (size >= mem_block_size)
+ return 0;
+
+ mem_block_size = size;
+ return 1;
+}
+
+static __init void set_block_size(void)
+{
+ unsigned int order = ffs(mem_block_size);
+
+ if (order) {
+ /* adjust for ffs return of 1..64 */
+ set_memory_block_size_order(order - 1);
+ pr_info("UV: mem_block_size set to 0x%lx\n", mem_block_size);
+ } else {
+ /* bad or zero value, default to 1UL << 31 (2GB) */
+ pr_err("UV: mem_block_size error with 0x%lx\n", mem_block_size);
+ set_memory_block_size_order(31);
+ }
+}
+
/* Build GAM range lookup table: */
static __init void build_uv_gr_table(void)
{
@@ -1180,23 +1215,30 @@ static void __init decode_gam_rng_tbl(unsigned long ptr)
<< UV_GAM_RANGE_SHFT);
int order = 0;
char suffix[] = " KMGTPE";
+ int flag = ' ';
while (size > 9999 && order < sizeof(suffix)) {
size /= 1024;
order++;
}
+ /* adjust max block size to current range start */
+ if (gre->type == 1 || gre->type == 2)
+ if (adj_blksize(lgre))
+ flag = '*';
+
if (!index) {
pr_info("UV: GAM Range Table...\n");
- pr_info("UV: # %20s %14s %5s %4s %5s %3s %2s\n", "Range", "", "Size", "Type", "NASID", "SID", "PN");
+ pr_info("UV: # %20s %14s %6s %4s %5s %3s %2s\n", "Range", "", "Size", "Type", "NASID", "SID", "PN");
}
- pr_info("UV: %2d: 0x%014lx-0x%014lx %5lu%c %3d %04x %02x %02x\n",
+ pr_info("UV: %2d: 0x%014lx-0x%014lx%c %5lu%c %3d %04x %02x %02x\n",
index++,
(unsigned long)lgre << UV_GAM_RANGE_SHFT,
(unsigned long)gre->limit << UV_GAM_RANGE_SHFT,
- size, suffix[order],
+ flag, size, suffix[order],
gre->type, gre->nasid, gre->sockid, gre->pnode);
+ /* update to next range start */
lgre = gre->limit;
if (sock_min > gre->sockid)
sock_min = gre->sockid;
@@ -1427,6 +1469,7 @@ static void __init uv_system_init_hub(void)
build_socket_tables();
build_uv_gr_table();
+ set_block_size();
uv_init_hub_info(&hub_info);
uv_possible_blades = num_possible_nodes();
if (!_node_to_pnode)
I'm announcing the release of the 4.14.55 kernel.
All users of the 4.14 kernel series must upgrade.
The updated 4.14.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.14.y
and can be browsed at the normal kernel.org git web browser:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Makefile | 2
arch/s390/kernel/entry.S | 4
block/blk-lib.c | 108 +++++++++++++++--------
drivers/block/drbd/drbd_worker.c | 2
drivers/dax/super.c | 42 +++++---
drivers/gpu/drm/drm_property.c | 6 -
drivers/gpu/drm/udl/udl_fb.c | 5 -
drivers/gpu/drm/udl/udl_transfer.c | 11 +-
drivers/hid/hid-debug.c | 8 +
drivers/hid/i2c-hid/i2c-hid.c | 2
drivers/hid/usbhid/hiddev.c | 11 ++
drivers/md/dm-table.c | 9 +
drivers/md/dm.c | 6 -
drivers/media/i2c/cx25840/cx25840-core.c | 28 ++++-
drivers/media/v4l2-core/videobuf2-core.c | 9 +
drivers/mtd/chips/cfi_cmdset_0002.c | 30 ++++--
drivers/mtd/nand/mxc_nand.c | 5 -
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c | 2
drivers/scsi/sg.c | 42 ++++++++
drivers/staging/comedi/drivers/quatech_daqp_cs.c | 2
drivers/target/target_core_pr.c | 15 ++-
drivers/vfio/vfio_iommu_type1.c | 16 +--
fs/cifs/cifsglob.h | 1
fs/cifs/cifsproto.h | 1
fs/cifs/cifssmb.c | 10 +-
fs/cifs/connect.c | 8 +
fs/cifs/smb1ops.c | 1
fs/cifs/smb2ops.c | 3
fs/cifs/smb2pdu.c | 25 +++--
fs/cifs/smb2transport.c | 1
fs/cifs/transport.c | 18 +++
fs/ext2/super.c | 3
fs/ext4/balloc.c | 21 ++--
fs/ext4/ext4.h | 8 -
fs/ext4/ext4_extents.h | 1
fs/ext4/extents.c | 6 +
fs/ext4/ialloc.c | 14 ++
fs/ext4/inline.c | 39 --------
fs/ext4/inode.c | 7 -
fs/ext4/mballoc.c | 6 -
fs/ext4/super.c | 89 +++++++++++++++---
fs/ext4/xattr.c | 40 +++-----
fs/f2fs/file.c | 9 +
fs/jbd2/transaction.c | 9 +
fs/userfaultfd.c | 12 +-
fs/xfs/xfs_ioctl.c | 3
fs/xfs/xfs_iops.c | 30 +++++-
fs/xfs/xfs_super.c | 10 +-
include/linux/dax.h | 11 +-
include/linux/mm.h | 1
include/trace/events/sched.h | 4
kernel/irq/irqdesc.c | 6 -
kernel/trace/trace_functions_graph.c | 5 -
mm/hugetlb.c | 1
mm/memory-failure.c | 16 +++
mm/vmstat.c | 2
net/netfilter/nf_log.c | 9 +
scripts/Kbuild.include | 5 -
tools/build/Build.include | 5 -
tools/objtool/Makefile | 2
tools/scripts/Makefile.include | 2
61 files changed, 555 insertions(+), 254 deletions(-)
Brad Love (1):
media: cx25840: Use subdev host data for PLL override
Cannon Matthews (1):
mm: hugetlb: yield when prepping struct pages
Changbin Du (1):
tracing: Fix missing return symbol in function_graph output
Christian Borntraeger (1):
s390: Correct register corruption in critical section cleanup
Dan Carpenter (1):
staging: comedi: quatech_daqp_cs: fix no-op loop daqp_ao_insn_write()
Daniel Rosenberg (1):
HID: debug: check length before copy_to_user()
Darrick J. Wong (1):
fs: allow per-device dax status checking for filesystems
Dave Jiang (1):
dax: change bdev_dax_supported() to support boolean returns
David Disseldorp (1):
scsi: target: Fix truncated PR-in ReadKeys response
Greg Kroah-Hartman (2):
Revert "dpaa_eth: fix error in dpaa_remove()"
Linux 4.14.55
Gustavo A. R. Silva (1):
HID: hiddev: fix potential Spectre v1
Ilya Dryomov (2):
block: factor out __blkdev_issue_zero_pages()
block: cope with WRITE ZEROES failing in blkdev_issue_zeroout()
Jaegeuk Kim (1):
f2fs: truncate preallocated blocks in error case
Jann Horn (2):
scsi: sg: mitigate read/write abuse
netfilter: nf_log: don't hold nf_log_mutex during user access
Janosch Frank (1):
userfaultfd: hugetlbfs: fix userfaultfd_huge_must_wait() pte access
Jason Andryuk (1):
HID: i2c-hid: Fix "incomplete report" noise
Jason Gunthorpe (1):
vfio: Use get_user_pages_longterm correctly
Jon Derrick (1):
ext4: check superblock mapped prior to committing
Lars Ellenberg (1):
drbd: fix access after free
Lars Persson (1):
cifs: Fix use after free of a mid_q_entry
Martin Kaiser (1):
mtd: rawnand: mxc: set spare area size register explicitly
Michel Dänzer (1):
drm: Use kvzalloc for allocating blob property memory
Mike Snitzer (1):
dm: set QUEUE_FLAG_DAX accordingly in dm_table_set_restrictions()
Mikulas Patocka (1):
drm/udl: fix display corruption of the last line
Naoya Horiguchi (1):
mm: hwpoison: disable memory error handling on 1GB hugepage
Paulo Alcantara (2):
cifs: Fix memory leak in smb2_set_ea()
cifs: Fix infinite loop when using hard mount option
Rakib Mullick (1):
irq/core: Fix boot crash when the irqaffinity= boot parameter is passed on CPUMASK_OFFSTACK=y kernels(v1)
Rasmus Villemoes (1):
Kbuild: fix # escaping in .cmd files for future Make
Ross Zwisler (2):
dax: check for QUEUE_FLAG_DAX in bdev_dax_supported()
dm: prevent DAX mounts if not supported
Sakari Ailus (1):
media: vb2: core: Finish buffers at the end of the stream
Sebastian Andrzej Siewior (2):
sched, tracing: Fix trace_sched_pi_setprio() for deboosting
Revert mm/vmstat.c: fix vmstat_update() preemption BUG
Stefano Brivio (1):
cifs: Fix slab-out-of-bounds in send_set_info() on SMB2 ACE setting
Theodore Ts'o (13):
jbd2: don't mark block as modified if the handle is out of credits
ext4: add corruption check in ext4_xattr_set_entry()
ext4: always verify the magic number in xattr blocks
ext4: make sure bitmaps and the inode table don't overlap with bg descriptors
ext4: always check block group bounds in ext4_init_block_bitmap()
ext4: only look at the bg_flags field if it is valid
ext4: verify the depth of extent tree in ext4_find_extent()
ext4: include the illegal physical block in the bad map ext4_error msg
ext4: clear i_data in ext4_inode_info when removing inline data
ext4: never move the system.data xattr out of the inode body
ext4: avoid running out of journal credits when appending to an inline file
ext4: add more inode number paranoia checks
ext4: add more mount time checks of the superblock
Tokunori Ikegami (3):
mtd: cfi_cmdset_0002: Change definition naming to retry write operation
mtd: cfi_cmdset_0002: Change erase functions to retry for error
mtd: cfi_cmdset_0002: Change erase functions to check chip good only
I'm announcing the release of the 4.9.112 kernel.
All users of the 4.9 kernel series must upgrade.
The updated 4.9.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y
and can be browsed at the normal kernel.org git web browser:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Makefile | 2
arch/arm/boot/dts/imx6q.dtsi | 2
arch/s390/kernel/entry.S | 4 -
arch/x86/kernel/cpu/common.c | 7 +
arch/x86/kernel/kprobes/core.c | 42 +++++------
arch/x86/xen/smp.c | 5 +
drivers/base/power/opp/core.c | 2
drivers/block/drbd/drbd_worker.c | 2
drivers/gpu/drm/udl/udl_fb.c | 5 +
drivers/gpu/drm/udl/udl_transfer.c | 11 +-
drivers/hid/hid-debug.c | 8 +-
drivers/hid/i2c-hid/i2c-hid.c | 2
drivers/hid/usbhid/hiddev.c | 11 ++
drivers/i2c/busses/i2c-rcar.c | 4 -
drivers/infiniband/hw/hfi1/chip.c | 8 +-
drivers/infiniband/hw/hfi1/file_ops.c | 2
drivers/infiniband/hw/hfi1/init.c | 9 +-
drivers/md/dm-bufio.c | 31 ++++----
drivers/media/i2c/cx25840/cx25840-core.c | 28 +++++--
drivers/mtd/chips/cfi_cmdset_0002.c | 30 +++++---
drivers/mtd/nand/mxc_nand.c | 5 +
drivers/net/ethernet/mellanox/mlxsw/spectrum.c | 6 -
drivers/net/phy/micrel.c | 17 ----
drivers/scsi/sg.c | 42 ++++++++++-
drivers/staging/android/ion/ion_heap.c | 2
drivers/staging/comedi/drivers/quatech_daqp_cs.c | 2
drivers/tty/n_tty.c | 55 ++++++++------
drivers/tty/vt/vt.c | 4 -
drivers/usb/class/cdc-acm.c | 3
drivers/usb/dwc2/hcd_queue.c | 2
drivers/usb/serial/cp210x.c | 14 +++
fs/cifs/cifssmb.c | 10 ++
fs/cifs/smb2pdu.c | 18 +++-
fs/ext4/balloc.c | 21 +++--
fs/ext4/ext4.h | 5 -
fs/ext4/ext4_extents.h | 1
fs/ext4/extents.c | 6 +
fs/ext4/ialloc.c | 14 +++
fs/ext4/inline.c | 1
fs/ext4/inode.c | 7 +
fs/ext4/mballoc.c | 6 +
fs/ext4/super.c | 86 +++++++++++++++++++----
fs/jbd2/transaction.c | 9 ++
kernel/trace/trace_functions_graph.c | 5 +
mm/hugetlb.c | 1
mm/page_alloc.c | 1
net/ipv4/fib_semantics.c | 2
net/ipv6/sit.c | 1
net/netfilter/nf_log.c | 9 +-
net/netfilter/nf_tables_core.c | 3
scripts/Kbuild.include | 5 -
tools/build/Build.include | 5 -
tools/objtool/Makefile | 2
tools/scripts/Makefile.include | 2
54 files changed, 407 insertions(+), 180 deletions(-)
Alexander Potapenko (1):
vt: prevent leaking uninitialized data to userspace via /dev/vcs*
Andy Lutomirski (1):
x86/cpu: Re-apply forced caps every time CPU caps are re-read
Ben Hutchings (1):
ipv4: Fix error return value in fib_convert_metrics()
Brad Love (1):
media: cx25840: Use subdev host data for PLL override
Cannon Matthews (1):
mm: hugetlb: yield when prepping struct pages
Changbin Du (1):
tracing: Fix missing return symbol in function_graph output
Christian Borntraeger (1):
s390: Correct register corruption in critical section cleanup
Dan Carpenter (1):
staging: comedi: quatech_daqp_cs: fix no-op loop daqp_ao_insn_write()
Daniel Rosenberg (1):
HID: debug: check length before copy_to_user()
David S. Miller (1):
Revert "sit: reload iphdr in ipip6_rcv"
Douglas Anderson (1):
dm bufio: avoid sleeping while holding the dm_bufio lock
Greg Kroah-Hartman (1):
Linux 4.9.112
Grygorii Strashko (1):
net: phy: micrel: fix crash when statistic requested for KSZ9031 phy
Gustavo A. R. Silva (1):
HID: hiddev: fix potential Spectre v1
Houston Yaroschoff (1):
usb: cdc_acm: Add quirk for Uniden UBC125 scanner
Ido Schimmel (1):
mlxsw: spectrum: Forbid linking of VLAN devices to devices that have uppers
Jann Horn (2):
scsi: sg: mitigate read/write abuse
netfilter: nf_log: don't hold nf_log_mutex during user access
Jason Andryuk (1):
HID: i2c-hid: Fix "incomplete report" noise
Johan Hovold (1):
USB: serial: cp210x: add CESINEL device ids
Jon Derrick (1):
ext4: check superblock mapped prior to committing
Juergen Gross (1):
x86/xen: Add call of speculative_store_bypass_ht_init() to PV paths
Karoly Pados (1):
USB: serial: cp210x: add Silicon Labs IDs for Windows Update
Lars Ellenberg (1):
drbd: fix access after free
Laura Abbott (1):
staging: android: ion: Return an ERR_PTR in ion_map_kernel
Martin Kaiser (1):
mtd: rawnand: mxc: set spare area size register explicitly
Masami Hiramatsu (1):
kprobes/x86: Do not modify singlestep buffer while resuming
Mike Marciniszyn (1):
IB/hfi1: Fix user context tail allocation for DMA_RTAIL
Mikulas Patocka (3):
drm/udl: fix display corruption of the last line
dm bufio: drop the lock when doing GFP_NOIO allocation
dm bufio: don't take the lock in dm_bufio_shrink_count
Paulo Alcantara (1):
cifs: Fix infinite loop when using hard mount option
Rasmus Villemoes (1):
Kbuild: fix # escaping in .cmd files for future Make
Sean Nyekjaer (1):
ARM: dts: imx6q: Use correct SDMA script for SPI5 core
Taehee Yoo (1):
netfilter: nf_tables: use WARN_ON_ONCE instead of BUG_ON in nft_do_chain()
Tetsuo Handa (2):
n_tty: Fix stall at n_tty_receive_char_special().
n_tty: Access echo_* variables carefully.
Theodore Ts'o (9):
jbd2: don't mark block as modified if the handle is out of credits
ext4: make sure bitmaps and the inode table don't overlap with bg descriptors
ext4: always check block group bounds in ext4_init_block_bitmap()
ext4: only look at the bg_flags field if it is valid
ext4: verify the depth of extent tree in ext4_find_extent()
ext4: include the illegal physical block in the bad map ext4_error msg
ext4: clear i_data in ext4_inode_info when removing inline data
ext4: add more inode number paranoia checks
ext4: add more mount time checks of the superblock
Tokunori Ikegami (3):
mtd: cfi_cmdset_0002: Change definition naming to retry write operation
mtd: cfi_cmdset_0002: Change erase functions to retry for error
mtd: cfi_cmdset_0002: Change erase functions to check chip good only
Vlastimil Babka (1):
mm, page_alloc: do not break __GFP_THISNODE by zonelist reset
Waldemar Rymarkiewicz (1):
PM / OPP: Update voltage in case freq == old_freq
William Wu (1):
usb: dwc2: fix the incorrect bitmaps for the ports of multi_tt hub
Wolfram Sang (1):
i2c: rcar: fix resume by always initializing registers before transfer
I'm announcing the release of the 4.4.140 kernel.
All users of the 4.4 kernel series must upgrade.
The updated 4.4.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y
and can be browsed at the normal kernel.org git web browser:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Makefile | 2
arch/arm/boot/dts/imx6q.dtsi | 2
arch/s390/kernel/entry.S | 4 -
arch/x86/kernel/cpu/mcheck/mce.c | 51 ++++++++----
arch/x86/kernel/kprobes/core.c | 42 +++++-----
arch/x86/lib/cmdline.c | 34 ++++++--
drivers/block/drbd/drbd_worker.c | 2
drivers/hid/hid-debug.c | 8 +-
drivers/hid/i2c-hid/i2c-hid.c | 2
drivers/hid/usbhid/hiddev.c | 11 ++
drivers/i2c/busses/i2c-rcar.c | 3
drivers/md/dm-bufio.c | 31 ++++---
drivers/media/i2c/cx25840/cx25840-core.c | 28 +++++--
drivers/mtd/chips/cfi_cmdset_0002.c | 30 +++++--
drivers/mtd/nand/mxc_nand.c | 5 +
drivers/mtd/ubi/eba.c | 92 ++++++++++++++++++++++-
drivers/net/wireless/ath/ath10k/htt_rx.c | 5 -
drivers/nvme/host/pci.c | 4 -
drivers/scsi/sg.c | 42 ++++++++++
drivers/staging/android/ion/ion_heap.c | 2
drivers/staging/comedi/drivers/quatech_daqp_cs.c | 2
drivers/tty/n_tty.c | 55 ++++++++-----
drivers/usb/class/cdc-acm.c | 3
drivers/usb/serial/cp210x.c | 14 +++
fs/cifs/cifssmb.c | 10 ++
fs/cifs/smb2pdu.c | 18 +++-
fs/ext4/balloc.c | 21 +++--
fs/ext4/ext4.h | 5 -
fs/ext4/ext4_extents.h | 1
fs/ext4/extents.c | 6 +
fs/ext4/ialloc.c | 14 +++
fs/ext4/inline.c | 1
fs/ext4/inode.c | 7 +
fs/ext4/mballoc.c | 6 +
fs/ext4/super.c | 86 ++++++++++++++++++---
fs/jbd2/transaction.c | 9 ++
kernel/trace/trace_functions_graph.c | 5 +
mm/hugetlb.c | 1
mm/page_alloc.c | 2
net/ipv4/fib_semantics.c | 2
net/netfilter/nf_log.c | 9 +-
net/netfilter/nf_tables_core.c | 3
42 files changed, 512 insertions(+), 168 deletions(-)
Ben Hutchings (1):
ipv4: Fix error return value in fib_convert_metrics()
Brad Love (1):
media: cx25840: Use subdev host data for PLL override
Cannon Matthews (1):
mm: hugetlb: yield when prepping struct pages
Changbin Du (1):
tracing: Fix missing return symbol in function_graph output
Christian Borntraeger (1):
s390: Correct register corruption in critical section cleanup
Dan Carpenter (1):
staging: comedi: quatech_daqp_cs: fix no-op loop daqp_ao_insn_write()
Daniel Rosenberg (1):
HID: debug: check length before copy_to_user()
Dave Hansen (1):
x86/boot: Fix early command-line parsing when matching at end
Douglas Anderson (1):
dm bufio: avoid sleeping while holding the dm_bufio lock
Greg Kroah-Hartman (1):
Linux 4.4.140
Gustavo A. R. Silva (1):
HID: hiddev: fix potential Spectre v1
Houston Yaroschoff (1):
usb: cdc_acm: Add quirk for Uniden UBC125 scanner
Jann Horn (2):
scsi: sg: mitigate read/write abuse
netfilter: nf_log: don't hold nf_log_mutex during user access
Jason Andryuk (1):
HID: i2c-hid: Fix "incomplete report" noise
Johan Hovold (1):
USB: serial: cp210x: add CESINEL device ids
Jon Derrick (1):
ext4: check superblock mapped prior to committing
Karoly Pados (1):
USB: serial: cp210x: add Silicon Labs IDs for Windows Update
Keith Busch (1):
nvme-pci: initialize queue memory before interrupts
Lars Ellenberg (1):
drbd: fix access after free
Laura Abbott (1):
staging: android: ion: Return an ERR_PTR in ion_map_kernel
Martin Kaiser (1):
mtd: rawnand: mxc: set spare area size register explicitly
Masami Hiramatsu (1):
kprobes/x86: Do not modify singlestep buffer while resuming
Mikulas Patocka (2):
dm bufio: drop the lock when doing GFP_NOIO allocation
dm bufio: don't take the lock in dm_bufio_shrink_count
Paulo Alcantara (1):
cifs: Fix infinite loop when using hard mount option
Richard Weinberger (1):
ubi: fastmap: Correctly handle interrupted erasures in EBA
Sean Nyekjaer (1):
ARM: dts: imx6q: Use correct SDMA script for SPI5 core
Taehee Yoo (1):
netfilter: nf_tables: use WARN_ON_ONCE instead of BUG_ON in nft_do_chain()
Tetsuo Handa (2):
n_tty: Fix stall at n_tty_receive_char_special().
n_tty: Access echo_* variables carefully.
Theodore Ts'o (9):
jbd2: don't mark block as modified if the handle is out of credits
ext4: make sure bitmaps and the inode table don't overlap with bg descriptors
ext4: always check block group bounds in ext4_init_block_bitmap()
ext4: only look at the bg_flags field if it is valid
ext4: verify the depth of extent tree in ext4_find_extent()
ext4: include the illegal physical block in the bad map ext4_error msg
ext4: clear i_data in ext4_inode_info when removing inline data
ext4: add more inode number paranoia checks
ext4: add more mount time checks of the superblock
Tokunori Ikegami (3):
mtd: cfi_cmdset_0002: Change definition naming to retry write operation
mtd: cfi_cmdset_0002: Change erase functions to retry for error
mtd: cfi_cmdset_0002: Change erase functions to check chip good only
Tony Luck (1):
x86/mce: Fix incorrect "Machine check from unknown source" message
Vasanthakumar Thiagarajan (1):
ath10k: fix rfc1042 header retrieval in QCA4019 with eth decap mode
Vlastimil Babka (1):
mm, page_alloc: do not break __GFP_THISNODE by zonelist reset
Wolfram Sang (1):
i2c: rcar: fix resume by always initializing registers before transfer
Yazen Ghannam (1):
x86/mce: Detect local MCEs properly
I'm announcing the release of the 3.18.115 kernel.
All users of the 3.18 kernel series must upgrade.
The updated 3.18.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.18.y
and can be browsed at the normal kernel.org git web browser:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Makefile | 2
arch/x86/lib/cmdline.c | 34 ++++++++---
drivers/atm/zatm.c | 4 -
drivers/hid/hid-debug.c | 8 ++
drivers/hid/i2c-hid/i2c-hid.c | 2
drivers/md/dm-bufio.c | 15 ++++-
drivers/media/i2c/cx25840/cx25840-core.c | 28 +++++++--
drivers/mtd/chips/cfi_cmdset_0002.c | 30 +++++++---
drivers/mtd/nand/mxc_nand.c | 5 +
drivers/mtd/ubi/eba.c | 92 ++++++++++++++++++++++++++++++-
drivers/net/ethernet/natsemi/sonic.c | 2
drivers/net/usb/qmi_wwan.c | 1
drivers/scsi/sg.c | 42 +++++++++++++-
drivers/staging/android/ion/ion_heap.c | 2
drivers/tty/n_tty.c | 13 ++--
fs/cifs/cifssmb.c | 10 ++-
fs/cifs/smb2pdu.c | 18 ++++--
fs/ext4/inline.c | 1
fs/ext4/super.c | 62 +++++++++++++++++---
net/bridge/netfilter/ebtables.c | 3 -
net/netfilter/nf_log.c | 9 ++-
21 files changed, 317 insertions(+), 66 deletions(-)
Brad Love (1):
media: cx25840: Use subdev host data for PLL override
Daniel Rosenberg (1):
HID: debug: check length before copy_to_user()
Dave Hansen (1):
x86/boot: Fix early command-line parsing when matching at end
Douglas Anderson (1):
dm bufio: avoid sleeping while holding the dm_bufio lock
Finn Thain (1):
net/sonic: Use dma_mapping_error()
Greg Kroah-Hartman (1):
Linux 3.18.115
Ivan Bornyakov (1):
atm: zatm: fix memcmp casting
Jann Horn (2):
scsi: sg: mitigate read/write abuse
netfilter: nf_log: don't hold nf_log_mutex during user access
Jason Andryuk (1):
HID: i2c-hid: Fix "incomplete report" noise
Josh Hill (1):
net: qmi_wwan: Add Netgear Aircard 779S
Laura Abbott (1):
staging: android: ion: Return an ERR_PTR in ion_map_kernel
Martin Kaiser (1):
mtd: rawnand: mxc: set spare area size register explicitly
Mikulas Patocka (1):
dm bufio: drop the lock when doing GFP_NOIO allocation
Paolo Abeni (1):
netfilter: ebtables: handle string from userspace with care
Paulo Alcantara (1):
cifs: Fix infinite loop when using hard mount option
Richard Weinberger (1):
ubi: fastmap: Correctly handle interrupted erasures in EBA
Tetsuo Handa (1):
n_tty: Fix stall at n_tty_receive_char_special().
Theodore Ts'o (3):
ext4: make sure bitmaps and the inode table don't overlap with bg descriptors
ext4: clear i_data in ext4_inode_info when removing inline data
ext4: add more mount time checks of the superblock
Tokunori Ikegami (3):
mtd: cfi_cmdset_0002: Change definition naming to retry write operation
mtd: cfi_cmdset_0002: Change erase functions to retry for error
mtd: cfi_cmdset_0002: Change erase functions to check chip good only