ic
Signed-off-by: Jonathan Cameron
Signed-off-by: Ben Hutchings
---
drivers/staging/iio/addac/adt7316.c | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
--- a/drivers/staging/iio/addac/adt7316.c
+++ b/drivers/staging/iio/addac/adt7316.c
@@ -47,6 +47,8 @@
#define ADT751
confuse the things
since we're not resetting the address operations structure. The
simplest way to keep things sane is to restrict the flags that can be
swapped.
Signed-off-by: yangerkun
Signed-off-by: Theodore Ts'o
[bwh: Backported to 3.16: adjust context]
Signed-off-by: Ben Hutchings
---
fs/ext4
NULL of it fails.
Fixes: b356e978e92f ("sh_eth: add device tree support")
Signed-off-by: Kangjie Lu
Reviewed-by: Sergei Shtylyov
Reviewed-by: Geert Uytterhoeven
Tested-by: Geert Uytterhoeven
Signed-off-by: David S. Miller
Signed-off-by: Ben Hutchings
---
drivers/net/ethernet/renesa
. R. Silva
Signed-off-by: Greg Kroah-Hartman
Signed-off-by: Ben Hutchings
---
drivers/char/applicom.c | 35 ---
1 file changed, 24 insertions(+), 11 deletions(-)
--- a/drivers/char/applicom.c
+++ b/drivers/char/applicom.c
@@ -32,6 +32,7 @@
#include
#include
ted number of filesystem blocks.
Fixes: 1c6bd7173d66 "ext4: convert file system to meta_bg if needed..."
Signed-off-by: Jan Kara
Signed-off-by: Theodore Ts'o
Signed-off-by: Ben Hutchings
---
fs/ext4/resize.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- a/fs/ext4/resize.c
Reported-by: Christoph Paasch
Tested-by: Christoph Paasch
Signed-off-by: David S. Miller
Signed-off-by: Greg Kroah-Hartman
Signed-off-by: Ben Hutchings
---
net/ipv4/tcp_output.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/net/ipv4/tcp_output.c
+++ b/net/ipv4/tcp_output.c
@@ -1091,7 +109
oid redundant wakeups and to also handle the
interrupt-handler scenario as well as the softirq-handler scenario that
actually occurred in testing. ]
Signed-off-by: Paul E. McKenney
Link:
https://lkml.kernel.org/r/cd6925e8781efd4d8e11882d20fc406d52a11...@shsmsx104.ccr.corp.intel.com
[bwh: Backported to 3.1
3.16.70-rc1 review patch. If anyone has any objections, please let me know.
--
From: Bart Van Assche
commit 32e36bfbcf31452a854263e7c7f32fbefc4b44d8 upstream.
When using SCSI passthrough in combination with the iSCSI target driver
then cmd->t_state_lock may be obtained from
-by: Mauro Carvalho Chehab
Signed-off-by: Ben Hutchings
---
drivers/media/platform/s5p-jpeg/jpeg-core.c | 19 +++
1 file changed, 11 insertions(+), 8 deletions(-)
--- a/drivers/media/platform/s5p-jpeg/jpeg-core.c
+++ b/drivers/media/platform/s5p-jpeg/jpeg-core.c
@@ -859,13 +859,16 @@
to a nonexistent group.
Fixes: 2ecd4154c906b7d6 ("sh-pfc: sh73a0: Add FSI pin groups and functions")
Signed-off-by: Geert Uytterhoeven
Reviewed-by: Simon Horman
Signed-off-by: Ben Hutchings
---
drivers/pinctrl/sh-pfc/pfc-sh73a0.c | 3 ++-
1 file changed, 2 insertions(+),
nel/git/history/history.git/commit/?id=0b1d57cf7654
Signed-off-by: NeilBrown
Signed-off-by: J. Bruce Fields
Signed-off-by: Ben Hutchings
---
fs/nfsd/nfs3proc.c | 16 ++--
fs/nfsd/nfs3xdr.c | 1 +
2 files changed, 15 insertions(+), 2 deletions(-)
--- a/fs/nfsd/nfs3proc.c
+++ b/fs/
by: Daniel Lezcano
[bwh: Backported to 3.16: adjust context]
Signed-off-by: Ben Hutchings
---
drivers/clocksource/exynos_mct.c | 14 +-
1 file changed, 13 insertions(+), 1 deletion(-)
--- a/drivers/clocksource/exynos_mct.c
+++ b/drivers/clocksource/exynos_mct.c
@@ -558,7 +558,19 @@ s
[bwh: Backported to 3.16: There's no support or test for filesytem encryption]
Signed-off-by: Ben Hutchings
---
fs/ext4/ioctl.c | 22 +-
1 file changed, 13 insertions(+), 9 deletions(-)
--- a/fs/ext4/ioctl.c
+++ b/fs/ext4/ioctl.c
@@ -118,15 +118,6 @@ static long
gned-off-by: David S. Miller
[bwh: Backported to 3.16: adjust context]
Signed-off-by: Ben Hutchings
---
--- a/drivers/net/vxlan.c
+++ b/drivers/net/vxlan.c
@@ -1280,6 +1280,14 @@ static void vxlan_rcv(struct vxlan_sock
}
}
+ rcu_read_lock();
+
+ if (unl
/lkml.kernel.org/r/20190103145954.16942-2-rpeny...@suse.de
Signed-off-by: Roman Penyaev
Acked-by: Michal Hocko
Cc: Andrey Ryabinin
Cc: Joe Perches
Cc: "Luis R. Rodriguez"
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
Signed-off-by: Ben Hutchings
---
mm/vmalloc.c | 2 +-
Lawall
Cc: Nikolaus Rath
Cc: Han-Wen Nienhuys
Signed-off-by: Kirill Smelkov
Signed-off-by: Linus Torvalds
[ backport to 3.16: actually fixed deadlock on /proc/xen/xenbus as 581d21a2d02a
was not backported to 3.16 ]
Signed-off-by: Kirill Smelkov
Signed-off-by: Ben Hutchings
---
cfg80211_find_vendor_ie(), but not after cfg80211_find_ie() since that
already does it
- On error, return without calling mwifiex_set_mgmt_beacon_data_ies()
- Drop inapplicable change to WMM IE handling
- Adjust filename]
Signed-off-by: Ben Hutchings
---
drivers/net/wireless/mwifiex/ie.c | 47
Weinberger
Signed-off-by: Brian Norris
Signed-off-by: Ben Hutchings
---
drivers/mtd/devices/docg3.c | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
--- a/drivers/mtd/devices/docg3.c
+++ b/drivers/mtd/devices/docg3.c
@@ -1822,7 +1822,7 @@ static void __exit doc_dbg_unregister(st
s Krause
Signed-off-by: Tony Jones
Acked-by: Steven Rostedt (VMware)
Cc: Frederic Weisbecker
Fixes: f7d82350e597 ("tools/events: Add files to create libtraceevent.a")
Link: http://lkml.kernel.org/r/20190228015532.8941-1-to...@suse.de
Signed-off-by: Arnaldo Carvalho de Melo
Si
clock sample array is
already released.
Fixes: 9c0863b1cc48 ("[media] vb2: call buf_finish from __queue_cancel")
Reported-by: Chiranjeevi Rapolu
Tested-by: Chiranjeevi Rapolu
Signed-off-by: Sakari Ailus
Signed-off-by: Laurent Pinchart
Signed-off-by: Mauro Carvalho Chehab
Signed-o
lice: add support for sys_tee()")
Suggested-by: Al Viro
Signed-off-by: Jann Horn
Signed-off-by: Al Viro
[bwh: Backported to 3.16: Use generic_pipe_buf_steal(), as for other pipe
types, since anon_pipe_buf_steal() does not exist here]
Signed-off-by: Ben Hutchings
---
fs/pipe.c |
3.16.70-rc1 review patch. If anyone has any objections, please let me know.
--
From: Ben Hutchings
This was done as part of upstream commits fdfb4a99b6ab "8inder:
separate binder allocator structure from binder proc", 19c987241ca1
"binder: separate out binder_
-by: Johan Hovold
Signed-off-by: Ben Hutchings
---
drivers/usb/serial/ftdi_sio.c | 2 ++
drivers/usb/serial/ftdi_sio_ids.h | 6 ++
2 files changed, 8 insertions(+)
--- a/drivers/usb/serial/ftdi_sio.c
+++ b/drivers/usb/serial/ftdi_sio.c
@@ -1033,6 +1033,8 @@ static const struct usb_device_id
al scsi command payload (or writable buffers) added to
the tmf.
This fixes the problem by leaving cmd->sc zeroed out, which makes
virtscsi_kick_cmd() add the tmf to the control vq without any payload.
Signed-off-by: Felipe Franciosi
Reviewed-by: Paolo Bonzini
Signed-off-by: Martin K. Petersen
Si
MMC works as before.
[1] http://www.ti.com/lit/ug/spru680/spru680.pdf
Fixes: 730c9b7e6630f ("[MMC] Add OMAP MMC host driver")
Signed-off-by: Aaro Koskinen
Signed-off-by: Ulf Hansson
Signed-off-by: Ben Hutchings
---
drivers/mmc/host/omap.c | 2 +-
1 file changed, 1 insertion(+), 1
ot;rtc: Add rtc support to 88PM80X PMIC")
Signed-off-by: Colin Ian King
Signed-off-by: Alexandre Belloni
Signed-off-by: Ben Hutchings
---
drivers/rtc/rtc-88pm80x.c | 21 ++---
1 file changed, 14 insertions(+), 7 deletions(-)
--- a/drivers/rtc/rtc-88pm80x.c
+++ b/drivers/rtc/rtc-
: 089fb442f301 ("powerpc: Use ARCH_IRQ_INIT_FLAGS")
Signed-off-by: Christophe Leroy
Acked-by: Thomas Gleixner
Signed-off-by: Michael Ellerman
Signed-off-by: Ben Hutchings
---
arch/powerpc/kernel/irq.c | 5 -
1 file changed, 5 deletions(-)
--- a/arch/powerpc/kernel/irq.c
+++ b/arch/powe
This bug was found thanks to the ongoing efforts to enable
-Wimplicit-fallthrough.
Fixes: dd220a00e8bd ("drm/radeon/kms: add support for streamout v7")
Signed-off-by: Gustavo A. R. Silva
Signed-off-by: Alex Deucher
Signed-off-by: Ben Hutchings
---
drivers/gpu/drm/radeon/evergree
of the of_node_put() when
done. Add the missing of_node_put() to release the refcount.
Signed-off-by: Yangtao Li
Fixes: 26cae166cff9 ("ARM: highbank: remove custom .init_time hook")
Signed-off-by: Stephen Boyd
Signed-off-by: Ben Hutchings
---
drivers/clk/clk-highbank.c | 1 +
1 file changed, 1
consider including the fixes into 3.16 (as well as
> into other stable trees - I'm sending corresponding series separately -
> - one per tree).
[...]
I've queued these up for 3.16, thanks.
Ben.
--
Ben Hutchings
Time is nature's way of making sure that
everything doesn't happen at once.
signature.asc
Description: This is a digitally signed message part
On Mon, 2019-07-01 at 19:51 -0700, Florian Fainelli wrote:
> Hi Ben,
>
> On 6/18/2019 7:28 AM, Ben Hutchings wrote:
> > 3.16.69-rc1 review patch. If anyone has any objections, please let me know.
> >
> > --
> >
> &
Move headers installed by
> "make headers_install" accordingly using Debian's tuple from
> dpkg-architecture.
>
> Signed-off-by: Cedric Hombourger
> Reviewed-by: Henning Schild
> Reviewed-by: Ben Hutchings
I haven't reviewed this version of the patch.
And this doesn't
stream kernel.
We maintain multiple configurations, a meaningful changelog, tools
packages, etc. So "make deb-pkg" is not used for official kernel
packages but we recommend it for custom kernels.
> So, this is almost a matter for developers, I think.
>
> How did debia
deletions(-)
Ben Hutchings (1):
Linux 3.16.69
Dan Carpenter (1):
drivers/virt/fsl_hypervisor.c: prevent integer overflow in ioctl
Eric Dumazet (4):
tcp: limit payload size of sacked skbs
tcp: tcp_fragment() should apply sane memory limits
tcp: add tcp_min_snd_mss
On Wed, 2019-06-19 at 14:58 -0700, Guenter Roeck wrote:
> On Tue, Jun 18, 2019 at 03:27:59PM +0100, Ben Hutchings wrote:
> > This is the start of the stable review cycle for the 3.16.69 release.
> > There are 10 patches in this series, which will be posted as responses
> > to
-by: Jonathan Looney
Acked-by: Neal Cardwell
Acked-by: Yuchung Cheng
Reviewed-by: Tyler Hicks
Cc: Bruce Curtis
Cc: Jonathan Lemon
Signed-off-by: David S. Miller
[Salvatore Bonaccorso: Adjust context for backport to 4.9.168]
[bwh: Backported to 3.16: adjust context]
Signed-off-by: Ben Hutchings
n
Signed-off-by: Linus Torvalds
[bwh: Backported to 3.16 as dependency of "mm/mincore.c: make mincore() more
conservative"; adjusted context]
Signed-off-by: Ben Hutchings
---
include/linux/mm.h | 5 +
mm/memory.c| 8
2 files changed, 9 insertions(+), 4 deletions(-)
-
[Salvatore Bonaccorso: Backport for context changes in 4.9.168]
[bwh: Backported to 3.16: The sysctl is global]
Signed-off-by: Ben Hutchings
---
net/ipv4/tcp_timer.c | 1 +
1 file changed, 1 insertion(+)
--- a/net/ipv4/tcp_timer.c
+++ b/net/ipv4/tcp_timer.c
@@ -113,6 +113,7 @@ static void
lows local users to obtain potentially
sensitive information from kernel stack memory, via a HIDPCONNADD command.
This vulnerability is similar to CVE-2011-1079.
Signed-off-by: Young Xiao
Signed-off-by: Marcel Holtmann
Signed-off-by: Ben Hutchings
---
net/bluetooth/hidp/sock.c | 1 +
1 file
an
Cc: Kumar Gala
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
Signed-off-by: Ben Hutchings
---
drivers/virt/fsl_hypervisor.c | 3 +++
1 file changed, 3 insertions(+)
--- a/drivers/virt/fsl_hypervisor.c
+++ b/drivers/virt/fsl_hypervisor.c
@@ -215,6 +215,9 @@ static lon
Signed-off-by: David S. Miller
[Salvatore Bonaccorso: Backport for context changes in 4.9.168]
[bwh: Backported to 3.16: Make the sysctl global, consistent with
net.ipv4.tcp_base_mss]
Signed-off-by: Ben Hutchings
---
--- a/Documentation/networking/ip-sysctl.txt
+++ b/Documentation/networking/ip-
igned-off-by: David S. Miller
[Salvatore Bonaccorso: Adjust for context changes to backport to
4.9.168]
[bwh: Backported to 3.16: adjust context]
Signed-off-by: Ben Hutchings
---
include/linux/tcp.h | 4
include/net/tcp.h | 2 ++
net/ipv4/tcp.c| 1
c: Matthew Wilcox
Cc: Cyril Hrubis
Cc: Tejun Heo
Cc: Kirill A. Shutemov
Cc: Daniel Gruss
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
[bwh: Backported to 3.16: adjust context]
Signed-off-by: Ben Hutchings
---
--- a/mm/mincore.c
+++ b/mm/mincore.c
@@ -212,6 +212,22 @@ s
writing the extent header
and the corresponding extent node entries.
This is done to prevent random uninitialized data from getting into
the filesystem when the extent block is synced.
This fixes CVE-2019-11833.
Signed-off-by: Sriram Rajagopalan
Signed-off-by: Theodore Ts'o
Signed-off-by: Ben
| 9 +++--
net/ipv4/tcp_timer.c | 1 +
18 files changed, 110 insertions(+), 15 deletions(-)
--
Ben Hutchings
I'm always amazed by the number of people who take up solipsism because
they heard someone else explain it. - E*Borg on alt.fan.pratchett
dd_driver+0x16c/0x248
[] driver_register+0x6c/0x138
[] __pci_register_driver+0x5c/0x6c
[] megasas_init+0xc0/0x1a8
[] do_one_initcall+0xe8/0x1ec
[] kernel_init_freeable+0x1c8/0x284
[] kernel_init+0x1c/0xe4
Signed-off-by: Jason Yan
Acked-by: Sumit Saxena
Signed-off-by: Martin K. Petersen
Sig
> type 'struct timespec' from type 'struct timespec64'
> > > parent_inode->vfs_inode.i_ctime = now;
> > > ^
> >
> > What arch? This builds for me here. odd...
> >
>
> arm, i386, m68k, mips, parisc, xtensa,
p2 but does *not*
free any other bottom layers under p1. So it *introduces* a memory
leak.
The error path also cleared the wrong index in p->uni_pgdir[],
introducing a use-after-free.
Signed-off-by: Ben Hutchings
---
drivers/tty/vt/consolemap.c | 6 +-
1 file changed, 1 insertion
>
> While good idea for mainline, I don't think this belongs to stable.
>
> Dropping it should not result in problems.
If we apply "x86/msr-index: Cleanup bit defines" and not this, then
"make headers_install" stops working.
Ben.
--
()
with a single call.
Signed-off-by: Petr Mladek
Signed-off-by: Rusty Russell
Signed-off-by: Ben Hutchings
---
include/linux/module.h | 5 +
kernel/module.c| 12
2 files changed, 9 insertions(+), 8 deletions(-)
--- a/include/linux/module.h
+++ b/include/linux/module.h
changelog. ]
Signed-off-by: Ingo Molnar
[bwh: Backported to 3.16: adjust context]
Signed-off-by: Ben Hutchings
---
arch/arm/kernel/jump_label.c | 2 +-
arch/arm64/kernel/jump_label.c | 2 +-
arch/mips/kernel/jump_label.c| 2 +-
arch/powerpc/kernel/jump_label.c | 2 +-
arch/s390/kernel/ju
uggested-by: H. Peter Anvin
Reported-by: Boris Ostrovsky
Tested-by: Boris Ostrovsky
Signed-off-by: Peter Zijlstra (Intel)
Cc: Linus Torvalds
Cc: Peter Zijlstra
Cc: Thomas Gleixner
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar
Signed-off-by: Ben Hutchings
---
arch/x86/include/as
: Thomas Gleixner
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar
Signed-off-by: Ben Hutchings
---
kernel/jump_label.c | 88 -
1 file changed, 38 insertions(+), 50 deletions(-)
--- a/kernel/jump_label.c
+++ b/kernel/jump_label.c
@@ -54,12 +54,7
s well get fixed.
Signed-off-by: Jonathan Corbet
Cc: Andrew Morton
Cc: Jason Baron
Cc: Linus Torvalds
Cc: Paul E. McKenney
Cc: Peter Zijlstra
Cc: Thomas Gleixner
Link: http://lkml.kernel.org/r/20150907131803.54c02...@lwn.net
Signed-off-by: Ingo Molnar
Signed-off-by: Ben Hutchings
---
Doc
: Frederic Weisbecker
Cc: H. Peter Anvin
Cc: Linus Torvalds
Cc: Peter Zijlstra
Link:
http://lkml.kernel.org/r/63aa45c4b692e8469e1876d6ccbb5da707972990.1447361906.git.l...@kernel.org
Signed-off-by: Ingo Molnar
Signed-off-by: Ben Hutchings
---
arch/x86/include/asm/jump_label.h | 52
[ 18.154045] [] system_call_fastpath+0x12/0x17
[ 18.160748] ---[ end trace 9294429076a9c674 ]---
Jump labels is not doing it right; fix this.
Cc: Rusty Russell
Cc: Jason Baron
Acked-by: Paul E. McKenney
Signed-off-by: Peter Zijlstra (Intel)
Signed-off-by: Rusty Russell
Signed-off-by: Ben
irst available bit from word 7
- Adjust context]
Signed-off-by: Ben Hutchings
---
arch/x86/include/asm/cpufeatures.h | 1 +
arch/x86/include/asm/nospec-branch.h | 1 +
arch/x86/kernel/cpu/bugs.c | 20 ++--
arch/x86/kernel/cpu/common.c | 3 +++
4 file
patterns and panic,
since something went terribly wrong.
Signed-off-by: Heiko Carstens
Signed-off-by: Martin Schwidefsky
Signed-off-by: Ben Hutchings
---
arch/s390/kernel/jump_label.c | 56 ++-
1 file changed, 42 insertions(+), 14 deletions(-)
--- a/arch/s390
Signed-off-by: Jonathan Corbet
Cc: Linus Torvalds
Cc: Peter Zijlstra
Cc: Thomas Gleixner
Link: http://lkml.kernel.org/r/20150914171105.511e1...@lwn.net
Signed-off-by: Ingo Molnar
Signed-off-by: Ben Hutchings
---
Documentation/static-keys.txt | 4 ++--
include/linux/jump_label.h| 10
-by: Peter Zijlstra (Intel)
Cc: Andrew Morton
Cc: Linus Torvalds
Cc: Paul E. McKenney
Cc: Peter Zijlstra
Cc: Thomas Gleixner
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar
Signed-off-by: Ben Hutchings
---
kernel/jump_label.c | 13 +
1 file changed, 9 insertions(+), 4
: https://lkml.kernel.org/r/20181125185003.783903...@linutronix.de
Signed-off-by: Ben Hutchings
---
arch/x86/kernel/cpu/bugs.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
--- a/arch/x86/kernel/cpu/bugs.c
+++ b/arch/x86/kernel/cpu/bugs.c
@@ -824,8 +824,6 @@ static void __init
van de Ven
Cc: Jon Masters
Cc: Waiman Long
Cc: Greg KH
Cc: Dave Stewart
Cc: Kees Cook
Link: https://lkml.kernel.org/r/20181125185003.688010...@linutronix.de
Signed-off-by: Ben Hutchings
---
arch/x86/kernel/cpu/bugs.c | 27 +--
1 file changed, 13 insertions(+), 14
Cc: Waiman Long
Cc: Greg KH
Cc: Dave Stewart
Cc: Kees Cook
Link: https://lkml.kernel.org/r/20181125185003.874479...@linutronix.de
Signed-off-by: Ben Hutchings
---
arch/x86/kernel/cpu/bugs.c | 20 ++--
1 file changed, 18 insertions(+), 2 deletions(-)
--- a/arch/x86/kernel/cpu
-by: Ben Hutchings
---
--- a/arch/x86/kernel/cpu/bugs.c
+++ b/arch/x86/kernel/cpu/bugs.c
@@ -290,7 +290,7 @@ enum spectre_v2_mitigation_cmd {
SPECTRE_V2_CMD_RETPOLINE_AMD,
};
-static const char *spectre_v2_strings[] = {
+static const char * const spectre_v2_strings
Stewart
Cc: Kees Cook
Link: https://lkml.kernel.org/r/20181125185004.893886...@linutronix.de
Signed-off-by: Ben Hutchings
---
arch/x86/kernel/cpu/bugs.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/arch/x86/kernel/cpu/bugs.c
+++ b/arch/x86/kernel/cpu/bugs.c
@@ -303,7 +303,7
Gleixner
Cc: h...@zytor.com
Cc: dw...@amazon.co.uk
Cc: konrad.w...@oracle.com
Cc: b...@suse.de
Cc: zhong.weid...@zte.com.cn
Link:
https://lkml.kernel.org/r/1531872194-39207-1-git-send-email-jiang.bi...@zte.com.cn
[bwh: Backported to 3.16: adjust context]
Signed-off-by: Ben Hutchings
---
arch/x86
://lkml.kernel.org/r/20181125185005.466447...@linutronix.de
[bwh: Backported to 3.16:
- Drop changes in initialize_tlbstate_and_flush()
- Adjust context]
Signed-off-by: Ben Hutchings
---
--- a/arch/x86/include/asm/nospec-branch.h
+++ b/arch/x86/include/asm/nospec-branch.h
@@ -257,6 +257,8 @@ do
- Adjust filename, context]
Signed-off-by: Ben Hutchings
---
--- a/arch/x86/include/asm/spec-ctrl.h
+++ b/arch/x86/include/asm/spec-ctrl.h
@@ -53,12 +53,24 @@ static inline u64 ssbd_tif_to_spec_ctrl(
return (tifn & _TIF_SSBD) >> (TIF_SSBD - SPEC_CTRL_SSBD_SHIFT);
}
+static
: Dave Stewart
Cc: Kees Cook
Link: https://lkml.kernel.org/r/20181125185005.958421...@linutronix.de
[bwh: Backported to 3.16: adjust filename]
Signed-off-by: Ben Hutchings
---
Docuemntation/kernel-parameters.txt | 7 +++-
arch/x86/kernel/cpu/bugs.c | 41 +++
2 files
sted-by: Jon Masters
[bwh: Backported to 3.16:
- Since is a UAPI header here, open-code BIT() and drop
changes under tools/
- Drop changes to flush MSRs which we haven't defined]
Signed-off-by: Ben Hutchings
---
--- a/arch/x86/include/uapi/asm/msr-index.h
+++ b/arch/x86/include/uapi/asm
Tested-by: Jon Masters
Signed-off-by: Ben Hutchings
---
arch/x86/kernel/cpu/common.c | 105 +++
1 file changed, 56 insertions(+), 49 deletions(-)
--- a/arch/x86/kernel/cpu/common.c
+++ b/arch/x86/kernel/cpu/common.c
@@ -807,60 +807,68 @@ static void
: adjust context]
Signed-off-by: Ben Hutchings
---
arch/x86/include/asm/thread_info.h | 13 +++--
arch/x86/kernel/process.h | 15 +++
2 files changed, 26 insertions(+), 2 deletions(-)
--- a/arch/x86/include/asm/thread_info.h
+++ b/arch/x86/include/asm/thread_info.h
@@ -149,9
: pau...@samba.org
Cc: r...@linux-mips.org
Cc: rost...@goodmis.org
Cc: schwidef...@de.ibm.com
Cc: will.dea...@arm.com
Link: http://lkml.kernel.org/r/1428551492-21977-2-git-send-email-an...@samba.org
Signed-off-by: Ingo Molnar
Signed-off-by: Ben Hutchings
---
Makefile | 1 +
include
Stewart
Cc: Kees Cook
Link: https://lkml.kernel.org/r/20181125185005.652305...@linutronix.de
Signed-off-by: Ben Hutchings
---
arch/x86/kernel/cpu/bugs.c | 35 +++
1 file changed, 23 insertions(+), 12 deletions(-)
--- a/arch/x86/kernel/cpu/bugs.c
+++ b/arch/x86
.
Signed-off-by: Tony Luck
Acked-by: Borislav Petkov
Cc: Peter Zijlstra
Cc: Dan Williams
Cc: Linus Torvalds
Link:
http://lkml.kernel.org/r/816881cf85bd3cf13385d212882618f38a3b5d33.1472754711.git.tony.l...@intel.com
Signed-off-by: Thomas Gleixner
Signed-off-by: Ben Hutchings
---
include/linux
3.16.68-rc1 review patch. If anyone has any objections, please let me know.
--
From: Ben Hutchings
The vulnerabilties/l1tf attribute was added by commit 17dbca119312
"x86/speculation/l1tf: Add sysfs reporting for l1tf", which has
already been backported to 3.16
: CONFIG_SCHED_SMT depended on CONFG_X86_HT, but that
also follows CONFIG_SMP]
Signed-off-by: Ben Hutchings
---
arch/x86/Kconfig | 8 +---
1 file changed, 1 insertion(+), 7 deletions(-)
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -798,13 +798,7 @@ config NR_CPUS
approximately eight
Stewart
Cc: Kees Cook
Link: https://lkml.kernel.org/r/20181125185006.051663...@linutronix.de
[bwh: Backported to 3.16: adjust filename]
Signed-off-by: Ben Hutchings
---
Documentation/kernel-parameters.txt | 9 -
arch/x86/include/asm/nospec-branch.h | 1 +
arch/x86/kernel/cpu/bugs.c
: Backported to 3.16: adjust filename]
Signed-off-by: Ben Hutchings
---
Documentation/kernel-parameters.txt | 12 +++
arch/x86/kernel/cpu/bugs.c | 34 +--
2 files changed, 35 insertions(+), 11 deletions(-)
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation
-by: Borislav Petkov
Reviewed-by: Greg Kroah-Hartman
Reviewed-by: Frederic Weisbecker
Reviewed-by: Jon Masters
Tested-by: Jon Masters
[bwh: Backported to 3.16: adjust context]
Signed-off-by: Ben Hutchings
---
arch/x86/kvm/cpuid.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion
Signed-off-by: Ingo Molnar
Signed-off-by: Ben Hutchings
---
arch/arm/include/asm/jump_label.h | 5 ++---
arch/arm64/include/asm/jump_label.h | 8
arch/mips/include/asm/jump_label.h | 7 +++
arch/s390/include/asm/jump_label.h | 3 +++
arch/sparc/include/asm/jump_label.h | 5
]
Signed-off-by: Ben Hutchings
---
--- a/Documentation/ABI/testing/sysfs-devices-system-cpu
+++ b/Documentation/ABI/testing/sysfs-devices-system-cpu
@@ -231,6 +231,7 @@ What: /sys/devices/system/cpu/vulnerabi
/sys/devices/system/cpu/vulnerabilities/spectre_v2
y: Jon Masters
[bwh: Backported to 3.16: drop changes to doc index and configuration]
Signed-off-by: Ben Hutchings
---
--- /dev/null
+++ b/Documentation/x86/mds.rst
@@ -0,0 +1,99 @@
+Microarchitectural Data Sampling (MDS) mitigation
+=
+
+
/99407f0ac7fa3ab03a3d31ce076d47b5c2f44795.1447361906.git.l...@kernel.org
Signed-off-by: Ingo Molnar
Signed-off-by: Ben Hutchings
---
arch/x86/include/asm/jump_label.h | 13 +
1 file changed, 13 insertions(+)
--- a/arch/x86/include/asm/jump_label.h
+++ b/arch/x86/include/asm/jump_label.h
@@ -1,6 +1,19
3.16.68-rc1 review patch. If anyone has any objections, please let me know.
--
From: Ben Hutchings
Add the sched_smt_active() function needed for some x86 speculation
mitigations. This was introduced upstream by commits 1b568f0aabf2
"sched/core: Optimize SCHE
: Backported to 3.16:
- Drop the auto,nosmt option, which we can't support
- Adjust filenames, context]
Signed-off-by: Ben Hutchings
---
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -1920,6 +1920,7 @@ bytes respectively. Such letter suffixes
nux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar
[bwh: Backported to 3.16:
- For s390, use the 31-bit-compatible macros in arch_static_branch_jump()
-
Signed-off-by: Ben Hutchings
---
arch/arm/include/asm/jump_label.h | 25 +++--
arch/arm64/include/asm/jump_label.h | 18 +++-
arch/mips/i
ranian
Cc: Thomas Gleixner
Cc: Vince Weaver
Cc: rost...@goodmis.org
Link:
http://lkml.kernel.org/r/1449018060-1742-1-git-send-email-a...@firstfloor.org
Signed-off-by: Ingo Molnar
[bwh: Backported to 3.16 to avoid a dependency loop; adjusted context]
Signed-off-by: Ben Hutchings
---
arch/x86/i
//lkml.kernel.org/r/nycvar.yfh.7.76.1809251437340.15...@cbobk.fhfr.pm
[bwh: Backported to 3.16: we still can't use ctx_id to optimise the check]
Signed-off-by: Ben Hutchings
---
--- a/arch/x86/mm/tlb.c
+++ b/arch/x86/mm/tlb.c
@@ -7,6 +7,7 @@
#include
#include
#include
+#include
#include
#in
: Peter Zijlstra
Cc: Steven Rostedt
Cc: Borislav Petkov
Cc: Andrew Morton
Cc: Linus Torvalds
Cc: Thomas Gleixner
Cc: Mel Gorman
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar
Signed-off-by: Ben Hutchings
---
include/linux/jump_label.h | 17 -
1 file changed, 8
: Dave Hansen
Cc: Casey Schaufler
Cc: Asit Mallick
Cc: Arjan van de Ven
Cc: Jon Masters
Cc: Waiman Long
Cc: Greg KH
Cc: Dave Stewart
Cc: Kees Cook
Link: https://lkml.kernel.org/r/20181125185003.966801...@linutronix.de
Signed-off-by: Ben Hutchings
---
arch/x86/kernel/cpu/bugs.c | 7
...@rab.in
Cc: r...@linux-mips.org
Cc: rost...@goodmis.org
Cc: vba...@suse.cz
Cc: will.dea...@arm.com
Link:
http://lkml.kernel.org/r/6b50f2f6423a2244f37f4b1d2d6c211b9dcdf4f8.1438227999.git.jba...@akamai.com
Signed-off-by: Ingo Molnar
Signed-off-by: Ben Hutchings
---
Documentation/static-keys.txt | 99
...@linux.intel.com
Cc: len.br...@intel.com
Signed-off-by: Ingo Molnar
Signed-off-by: Thomas Gleixner
[bwh: Backported to 3.16:
- Drop changes to CPU IDs that weren't already included
- Adjust filenames, context]
Signed-off-by: Ben Hutchings
---
--- a/arch/x86/include/asm/intel-family.h
+++ b/arch
"
Link:
https://lkml.kernel.org/r/nycvar.yfh.7.76.1809251438580.15...@cbobk.fhfr.pm
Signed-off-by: Ben Hutchings
---
arch/x86/kernel/cpu/bugs.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- a/arch/x86/kernel/cpu/bugs.c
+++ b/arch/x86/kernel/cpu/bugs.c
@@ -841,10 +841,11 @@ static ssi
ENABLED(CONFIG_X86_HT) instead of cpu_smt_control for now. This
will be fixed by "x86/speculation: Rework SMT state change".]
Signed-off-by: Ben Hutchings
---
--- a/arch/x86/kernel/cpu/bugs.c
+++ b/arch/x86/kernel/cpu/bugs.c
@@ -32,12 +32,10 @@ static void __init spectre_v2_select_mit
stati
Masters
[bwh: Backported to 3.16: adjust filename]
Signed-off-by: Ben Hutchings
---
Documentation/hw-vuln/mds.rst | 5 +++--
Documentation/x86/mds.rst | 5 +
2 files changed, 8 insertions(+), 2 deletions(-)
--- a/Documentation/hw-vuln/mds.rst
+++ b/Documentation/hw-vuln/mds.rst
@@ -32,11
the
majority of the text.
Signed-off-by: Tyler Hicks
Signed-off-by: Thomas Gleixner
[bwh: Backported to 3.16: adjust filename]
Signed-off-by: Ben Hutchings
---
Documentation/hw-vuln/mds.rst | 29 ++-
1 file changed, 13 insertions(+), 16 deletions(-)
--- a/Documentation/hw-vuln
r
Fixes: 706249c222f6 ("locking/static_keys: Rework update logic")
Link:
http://lkml.kernel.org/r/1466527937-69798-1-git-send-email-pbonz...@redhat.com
[ Small stylistic edits to the changelog and the code. ]
Signed-off-by: Ingo Molnar
Signed-off-by: Ben Hutchings
---
include/linux/
3.16.68-rc1 review patch. If anyone has any objections, please let me know.
--
From: Ben Hutchings
Commit 72c6d2db64fa "x86/litf: Introduce vmx status variable" upstream
changed "Page Table Inversion" to "PTE Inversion". That was part of
th
el.org/r/20181125185004.058866...@linutronix.de
Signed-off-by: Ben Hutchings
---
arch/x86/include/asm/spec-ctrl.h | 6 +++---
arch/x86/kernel/cpu/bugs.c | 4 ++--
arch/x86/kernel/process.c| 12 ++--
3 files changed, 11 insertions(+), 11 deletions(-)
--- a/arch/x86/include/
701 - 800 of 30312 matches
Mail list logo