This is a note to let you know that I've just added the patch titled
intel_th: msu: Fix single mode with disabled IOMMU
to my char-misc git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git
in the char-misc-next branch.
The patch will show up in the next release of the linux-next tree
(usually sometime within the next 24 hours during the week.)
The patch will also be merged in the next major kernel release
during the merge window.
If you have any questions about this process, please let me know.
>From 918b8646497b5dba6ae82d4a7325f01b258972b9 Mon Sep 17 00:00:00 2001
From: Alexander Shishkin <alexander.shishkin(a)linux.intel.com>
Date: Fri, 21 Jun 2019 19:19:29 +0300
Subject: intel_th: msu: Fix single mode with disabled IOMMU
Commit 4e0eaf239fb3 ("intel_th: msu: Fix single mode with IOMMU") switched
the single mode code to use dma mapping pages obtained from the page
allocator, but with IOMMU disabled, that may lead to using SWIOTLB bounce
buffers and without additional sync'ing, produces empty trace buffers.
Fix this by using a DMA32 GFP flag to the page allocation in single mode,
as the device supports full 32-bit DMA addressing.
Signed-off-by: Alexander Shishkin <alexander.shishkin(a)linux.intel.com>
Fixes: 4e0eaf239fb3 ("intel_th: msu: Fix single mode with IOMMU")
Reviewed-by: Andy Shevchenko <andriy.shevchenko(a)linux.intel.com>
Reported-by: Ammy Yi <ammy.yi(a)intel.com>
Cc: stable <stable(a)vger.kernel.org>
Link: https://lore.kernel.org/r/20190621161930.60785-4-alexander.shishkin@linux.i…
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
drivers/hwtracing/intel_th/msu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/hwtracing/intel_th/msu.c b/drivers/hwtracing/intel_th/msu.c
index 6bfce03c6489..cfd48c81b9d9 100644
--- a/drivers/hwtracing/intel_th/msu.c
+++ b/drivers/hwtracing/intel_th/msu.c
@@ -667,7 +667,7 @@ static int msc_buffer_contig_alloc(struct msc *msc, unsigned long size)
goto err_out;
ret = -ENOMEM;
- page = alloc_pages(GFP_KERNEL | __GFP_ZERO, order);
+ page = alloc_pages(GFP_KERNEL | __GFP_ZERO | GFP_DMA32, order);
if (!page)
goto err_free_sgt;
--
2.22.0
This is a note to let you know that I've just added the patch titled
intel_th: msu: Fix unused variable warning on arm64 platform
to my char-misc git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git
in the char-misc-next branch.
The patch will show up in the next release of the linux-next tree
(usually sometime within the next 24 hours during the week.)
The patch will also be merged in the next major kernel release
during the merge window.
If you have any questions about this process, please let me know.
>From b96fb368b08f1637cbf780a6b83e36c2c5ed4ff5 Mon Sep 17 00:00:00 2001
From: Shaokun Zhang <zhangshaokun(a)hisilicon.com>
Date: Fri, 21 Jun 2019 19:19:27 +0300
Subject: intel_th: msu: Fix unused variable warning on arm64 platform
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Commit ba39bd8306057 ("intel_th: msu: Switch over to scatterlist")
introduced the following warnings on non-x86 architectures, as a result
of reordering the multi mode buffer allocation sequence:
> drivers/hwtracing/intel_th/msu.c: In function ‘msc_buffer_win_alloc’:
> drivers/hwtracing/intel_th/msu.c:783:21: warning: unused variable ‘i’
> [-Wunused-variable]
> int ret = -ENOMEM, i;
> ^
> drivers/hwtracing/intel_th/msu.c: In function ‘msc_buffer_win_free’:
> drivers/hwtracing/intel_th/msu.c:863:6: warning: unused variable ‘i’
> [-Wunused-variable]
> int i;
> ^
Fix this compiler warning by factoring out set_memory sequences and making
them x86-only.
Suggested-by: Alexander Shishkin <alexander.shishkin(a)linux.intel.com>
Signed-off-by: Shaokun Zhang <zhangshaokun(a)hisilicon.com>
Fixes: ba39bd8306057 ("intel_th: msu: Switch over to scatterlist")
Reviewed-by: Andy Shevchenko <andriy.shevchenko(a)linux.intel.com>
Signed-off-by: Alexander Shishkin <alexander.shishkin(a)linux.intel.com>
Cc: stable <stable(a)vger.kernel.org>
Link: https://lore.kernel.org/r/20190621161930.60785-2-alexander.shishkin@linux.i…
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
drivers/hwtracing/intel_th/msu.c | 40 +++++++++++++++++++++-----------
1 file changed, 27 insertions(+), 13 deletions(-)
diff --git a/drivers/hwtracing/intel_th/msu.c b/drivers/hwtracing/intel_th/msu.c
index 81bb54fa3ce8..8c568b5c8920 100644
--- a/drivers/hwtracing/intel_th/msu.c
+++ b/drivers/hwtracing/intel_th/msu.c
@@ -767,6 +767,30 @@ static int __msc_buffer_win_alloc(struct msc_window *win,
return -ENOMEM;
}
+#ifdef CONFIG_X86
+static void msc_buffer_set_uc(struct msc_window *win, unsigned int nr_blocks)
+{
+ int i;
+
+ for (i = 0; i < nr_blocks; i++)
+ /* Set the page as uncached */
+ set_memory_uc((unsigned long)msc_win_block(win, i), 1);
+}
+
+static void msc_buffer_set_wb(struct msc_window *win)
+{
+ int i;
+
+ for (i = 0; i < win->nr_blocks; i++)
+ /* Reset the page to write-back */
+ set_memory_wb((unsigned long)msc_win_block(win, i), 1);
+}
+#else /* !X86 */
+static inline void
+msc_buffer_set_uc(struct msc_window *win, unsigned int nr_blocks) {}
+static inline void msc_buffer_set_wb(struct msc_window *win) {}
+#endif /* CONFIG_X86 */
+
/**
* msc_buffer_win_alloc() - alloc a window for a multiblock mode
* @msc: MSC device
@@ -780,7 +804,7 @@ static int __msc_buffer_win_alloc(struct msc_window *win,
static int msc_buffer_win_alloc(struct msc *msc, unsigned int nr_blocks)
{
struct msc_window *win;
- int ret = -ENOMEM, i;
+ int ret = -ENOMEM;
if (!nr_blocks)
return 0;
@@ -811,11 +835,7 @@ static int msc_buffer_win_alloc(struct msc *msc, unsigned int nr_blocks)
if (ret < 0)
goto err_nomem;
-#ifdef CONFIG_X86
- for (i = 0; i < ret; i++)
- /* Set the page as uncached */
- set_memory_uc((unsigned long)msc_win_block(win, i), 1);
-#endif
+ msc_buffer_set_uc(win, ret);
win->nr_blocks = ret;
@@ -860,8 +880,6 @@ static void __msc_buffer_win_free(struct msc *msc, struct msc_window *win)
*/
static void msc_buffer_win_free(struct msc *msc, struct msc_window *win)
{
- int i;
-
msc->nr_pages -= win->nr_blocks;
list_del(&win->entry);
@@ -870,11 +888,7 @@ static void msc_buffer_win_free(struct msc *msc, struct msc_window *win)
msc->base_addr = 0;
}
-#ifdef CONFIG_X86
- for (i = 0; i < win->nr_blocks; i++)
- /* Reset the page to write-back */
- set_memory_wb((unsigned long)msc_win_block(win, i), 1);
-#endif
+ msc_buffer_set_wb(win);
__msc_buffer_win_free(msc, win);
--
2.22.0
This is a note to let you know that I've just added the patch titled
usb: Handle USB3 remote wakeup for LPM enabled devices correctly
to my usb git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git
in the usb-next branch.
The patch will show up in the next release of the linux-next tree
(usually sometime within the next 24 hours during the week.)
The patch will also be merged in the next major kernel release
during the merge window.
If you have any questions about this process, please let me know.
>From e244c4699f859cf7149b0781b1894c7996a8a1df Mon Sep 17 00:00:00 2001
From: "Lee, Chiasheng" <chiasheng.lee(a)intel.com>
Date: Thu, 20 Jun 2019 10:56:04 +0300
Subject: usb: Handle USB3 remote wakeup for LPM enabled devices correctly
With Link Power Management (LPM) enabled USB3 links transition to low
power U1/U2 link states from U0 state automatically.
Current hub code detects USB3 remote wakeups by checking if the software
state still shows suspended, but the link has transitioned from suspended
U3 to enabled U0 state.
As it takes some time before the hub thread reads the port link state
after a USB3 wake notification, the link may have transitioned from U0
to U1/U2, and wake is not detected by hub code.
Fix this by handling U1/U2 states in the same way as U0 in USB3 wakeup
handling
This patch should be added to stable kernels since 4.13 where LPM was
kept enabled during suspend/resume
Cc: <stable(a)vger.kernel.org> # v4.13+
Signed-off-by: Lee, Chiasheng <chiasheng.lee(a)intel.com>
Signed-off-by: Mathias Nyman <mathias.nyman(a)linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
drivers/usb/core/hub.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c
index a59e1573b43b..236313f41f4a 100644
--- a/drivers/usb/core/hub.c
+++ b/drivers/usb/core/hub.c
@@ -3619,6 +3619,7 @@ static int hub_handle_remote_wakeup(struct usb_hub *hub, unsigned int port,
struct usb_device *hdev;
struct usb_device *udev;
int connect_change = 0;
+ u16 link_state;
int ret;
hdev = hub->hdev;
@@ -3628,9 +3629,11 @@ static int hub_handle_remote_wakeup(struct usb_hub *hub, unsigned int port,
return 0;
usb_clear_port_feature(hdev, port, USB_PORT_FEAT_C_SUSPEND);
} else {
+ link_state = portstatus & USB_PORT_STAT_LINK_STATE;
if (!udev || udev->state != USB_STATE_SUSPENDED ||
- (portstatus & USB_PORT_STAT_LINK_STATE) !=
- USB_SS_PORT_LS_U0)
+ (link_state != USB_SS_PORT_LS_U0 &&
+ link_state != USB_SS_PORT_LS_U1 &&
+ link_state != USB_SS_PORT_LS_U2))
return 0;
}
--
2.22.0
This is a note to let you know that I've just added the patch titled
drivers/usb/typec/tps6598x.c: fix 4CC cmd write
to my usb git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git
in the usb-next branch.
The patch will show up in the next release of the linux-next tree
(usually sometime within the next 24 hours during the week.)
The patch will also be merged in the next major kernel release
during the merge window.
If you have any questions about this process, please let me know.
>From 2681795b5e7a5bf336537661010072f4c22cea31 Mon Sep 17 00:00:00 2001
From: Nikolaus Voss <nikolaus.voss(a)loewensteinmedical.de>
Date: Fri, 28 Jun 2019 11:01:09 +0200
Subject: drivers/usb/typec/tps6598x.c: fix 4CC cmd write
Writing 4CC commands with tps6598x_write_4cc() already has
a pointer arg, don't reference it when using as arg to
tps6598x_block_write(). Correcting this enforces the constness
of the pointer to propagate to tps6598x_block_write(), so add
the const qualifier there to avoid the warning.
Fixes: 0a4c005bd171 ("usb: typec: driver for TI TPS6598x USB Power Delivery controllers")
Signed-off-by: Nikolaus Voss <nikolaus.voss(a)loewensteinmedical.de>
Acked-by: Heikki Krogerus <heikki.krogerus(a)linux.intel.com>
Cc: stable <stable(a)vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
drivers/usb/typec/tps6598x.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/typec/tps6598x.c b/drivers/usb/typec/tps6598x.c
index a170c49c2542..a38d1409f15b 100644
--- a/drivers/usb/typec/tps6598x.c
+++ b/drivers/usb/typec/tps6598x.c
@@ -127,7 +127,7 @@ tps6598x_block_read(struct tps6598x *tps, u8 reg, void *val, size_t len)
}
static int tps6598x_block_write(struct tps6598x *tps, u8 reg,
- void *val, size_t len)
+ const void *val, size_t len)
{
u8 data[TPS_MAX_LEN + 1];
@@ -173,7 +173,7 @@ static inline int tps6598x_write64(struct tps6598x *tps, u8 reg, u64 val)
static inline int
tps6598x_write_4cc(struct tps6598x *tps, u8 reg, const char *val)
{
- return tps6598x_block_write(tps, reg, &val, sizeof(u32));
+ return tps6598x_block_write(tps, reg, val, 4);
}
static int tps6598x_read_partner_identity(struct tps6598x *tps)
--
2.22.0
This is a note to let you know that I've just added the patch titled
drivers/usb/typec/tps6598x.c: fix portinfo width
to my usb git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git
in the usb-next branch.
The patch will show up in the next release of the linux-next tree
(usually sometime within the next 24 hours during the week.)
The patch will also be merged in the next major kernel release
during the merge window.
If you have any questions about this process, please let me know.
>From 05da75fc651138e51ff74ace97174349910463f5 Mon Sep 17 00:00:00 2001
From: Nikolaus Voss <nikolaus.voss(a)loewensteinmedical.de>
Date: Fri, 28 Jun 2019 11:01:08 +0200
Subject: drivers/usb/typec/tps6598x.c: fix portinfo width
Portinfo bit field is 3 bits wide, not 2 bits. This led to
a wrong driver configuration for some tps6598x configurations.
Fixes: 0a4c005bd171 ("usb: typec: driver for TI TPS6598x USB Power Delivery controllers")
Signed-off-by: Nikolaus Voss <nikolaus.voss(a)loewensteinmedical.de>
Acked-by: Heikki Krogerus <heikki.krogerus(a)linux.intel.com>
Cc: stable <stable(a)vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
drivers/usb/typec/tps6598x.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/typec/tps6598x.c b/drivers/usb/typec/tps6598x.c
index c674abe3cf99..a170c49c2542 100644
--- a/drivers/usb/typec/tps6598x.c
+++ b/drivers/usb/typec/tps6598x.c
@@ -41,7 +41,7 @@
#define TPS_STATUS_VCONN(s) (!!((s) & BIT(7)))
/* TPS_REG_SYSTEM_CONF bits */
-#define TPS_SYSCONF_PORTINFO(c) ((c) & 3)
+#define TPS_SYSCONF_PORTINFO(c) ((c) & 7)
enum {
TPS_PORTINFO_SINK,
--
2.22.0
This is a note to let you know that I've just added the patch titled
drivers: base: cacheinfo: Ensure cpu hotplug work is done before
to my driver-core git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git
in the driver-core-next branch.
The patch will show up in the next release of the linux-next tree
(usually sometime within the next 24 hours during the week.)
The patch will also be merged in the next major kernel release
during the merge window.
If you have any questions about this process, please let me know.
>From 83b44fe343b5abfcb1b2261289bd0cfcfcfd60a8 Mon Sep 17 00:00:00 2001
From: James Morse <james.morse(a)arm.com>
Date: Mon, 24 Jun 2019 18:36:56 +0100
Subject: drivers: base: cacheinfo: Ensure cpu hotplug work is done before
Intel RDT
The cacheinfo structures are alloced/freed by cpu online/offline
callbacks. Originally these were only used by sysfs to expose the
cache topology to user space. Without any in-kernel dependencies
CPUHP_AP_ONLINE_DYN was an appropriate choice.
resctrl has started using these structures to identify CPUs that
share a cache. It updates its 'domain' structures from cpu
online/offline callbacks. These depend on the cacheinfo structures
(resctrl_online_cpu()->domain_add_cpu()->get_cache_id()->
get_cpu_cacheinfo()).
These also run as CPUHP_AP_ONLINE_DYN.
Now that there is an in-kernel dependency, move the cacheinfo
work earlier so we know its done before resctrl's CPUHP_AP_ONLINE_DYN
work runs.
Fixes: 2264d9c74dda1 ("x86/intel_rdt: Build structures for each resource based on cache topology")
Cc: <stable(a)vger.kernel.org>
Cc: Fenghua Yu <fenghua.yu(a)intel.com>
Cc: Reinette Chatre <reinette.chatre(a)intel.com>
Signed-off-by: James Morse <james.morse(a)arm.com>
Link: https://lore.kernel.org/r/20190624173656.202407-1-james.morse@arm.com
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
drivers/base/cacheinfo.c | 3 ++-
include/linux/cpuhotplug.h | 1 +
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/base/cacheinfo.c b/drivers/base/cacheinfo.c
index a7359535caf5..b444f89a2041 100644
--- a/drivers/base/cacheinfo.c
+++ b/drivers/base/cacheinfo.c
@@ -655,7 +655,8 @@ static int cacheinfo_cpu_pre_down(unsigned int cpu)
static int __init cacheinfo_sysfs_init(void)
{
- return cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "base/cacheinfo:online",
+ return cpuhp_setup_state(CPUHP_AP_BASE_CACHEINFO_ONLINE,
+ "base/cacheinfo:online",
cacheinfo_cpu_online, cacheinfo_cpu_pre_down);
}
device_initcall(cacheinfo_sysfs_init);
diff --git a/include/linux/cpuhotplug.h b/include/linux/cpuhotplug.h
index 6a381594608c..50c893f03c21 100644
--- a/include/linux/cpuhotplug.h
+++ b/include/linux/cpuhotplug.h
@@ -175,6 +175,7 @@ enum cpuhp_state {
CPUHP_AP_WATCHDOG_ONLINE,
CPUHP_AP_WORKQUEUE_ONLINE,
CPUHP_AP_RCUTREE_ONLINE,
+ CPUHP_AP_BASE_CACHEINFO_ONLINE,
CPUHP_AP_ONLINE_DYN,
CPUHP_AP_ONLINE_DYN_END = CPUHP_AP_ONLINE_DYN + 30,
CPUHP_AP_X86_HPET_ONLINE,
--
2.22.0
This is the start of the stable review cycle for the 4.19.57 release.
There are 72 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 04 Jul 2019 07:59:45 AM UTC.
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.19.57-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.19.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.19.57-rc1
Xin Long <lucien.xin(a)gmail.com>
tipc: pass tunnel dev as NULL to udp_tunnel(6)_xmit_skb
Jason Gunthorpe <jgg(a)ziepe.ca>
RDMA: Directly cast the sockaddr union to sockaddr
Will Deacon <will.deacon(a)arm.com>
futex: Update comments and docs about return values of arch futex code
Daniel Borkmann <daniel(a)iogearbox.net>
bpf, arm64: use more scalable stadd over ldxr / stxr loop in xadd
Will Deacon <will.deacon(a)arm.com>
arm64: futex: Avoid copying out uninitialised stack in failed cmpxchg()
Martin KaFai Lau <kafai(a)fb.com>
bpf: udp: ipv6: Avoid running reuseport's bpf_prog from __udp6_lib_err
Martin KaFai Lau <kafai(a)fb.com>
bpf: udp: Avoid calling reuseport's bpf_prog from udp_gro
Daniel Borkmann <daniel(a)iogearbox.net>
bpf: fix unconnected udp hooks
Matt Mullins <mmullins(a)fb.com>
bpf: fix nested bpf tracepoints with per-cpu data
Jonathan Lemon <jonathan.lemon(a)gmail.com>
bpf: lpm_trie: check left child of last leftmost node for NULL
Martynas Pumputis <m(a)lambda.lt>
bpf: simplify definition of BPF_FIB_LOOKUP related flags
Fei Li <lifei.shirley(a)bytedance.com>
tun: wake up waitqueues after IFF_UP is set
Xin Long <lucien.xin(a)gmail.com>
tipc: check msg->req data len in tipc_nl_compat_bearer_disable
Xin Long <lucien.xin(a)gmail.com>
tipc: change to use register_pernet_device
YueHaibing <yuehaibing(a)huawei.com>
team: Always enable vlan tx offload
Xin Long <lucien.xin(a)gmail.com>
sctp: change to hold sk after auth shkey is created successfully
Roland Hii <roland.king.guan.hii(a)intel.com>
net: stmmac: set IC bit when transmitting frames with HW timestamp
Roland Hii <roland.king.guan.hii(a)intel.com>
net: stmmac: fixed new system time seconds value calculation
JingYi Hou <houjingyi647(a)gmail.com>
net: remove duplicate fetch in sock_getsockopt
Eric Dumazet <edumazet(a)google.com>
net/packet: fix memory leak in packet_set_ring()
Stephen Suryaputra <ssuryaextr(a)gmail.com>
ipv4: Use return value of inet_iif() for __raw_v4_lookup in the while loop
YueHaibing <yuehaibing(a)huawei.com>
bonding: Always enable vlan tx offload
Neil Horman <nhorman(a)tuxdriver.com>
af_packet: Block execution of tasks waiting for transmit to complete in AF_PACKET
Wang Xin <xin.wang7(a)cn.bosch.com>
eeprom: at24: fix unexpected timeout under high load
Paul Burton <paul.burton(a)mips.com>
irqchip/mips-gic: Use the correct local interrupt map registers
Trond Myklebust <trond.myklebust(a)hammerspace.com>
SUNRPC: Clean up initialisation of the struct rpc_rqst
Geert Uytterhoeven <geert(a)linux-m68k.org>
cpu/speculation: Warn on unsupported mitigations= parameter
Trond Myklebust <trondmy(a)gmail.com>
NFS/flexfiles: Use the correct TCP timeout for flexfiles I/O
Sean Christopherson <sean.j.christopherson(a)intel.com>
KVM: x86/mmu: Allocate PAE root array when using SVM's 32-bit NPT
Reinette Chatre <reinette.chatre(a)intel.com>
x86/resctrl: Prevent possible overrun during bitmap operations
Thomas Gleixner <tglx(a)linutronix.de>
x86/microcode: Fix the microcode load on CPU hotplug for real
Alejandro Jimenez <alejandro.j.jimenez(a)oracle.com>
x86/speculation: Allow guests to use SSBD even if host does not
Jan Kara <jack(a)suse.cz>
scsi: vmw_pscsi: Fix use-after-free in pvscsi_queue_lck()
zhangyi (F) <yi.zhang(a)huawei.com>
dm log writes: make sure super sector log updates are written in order
Colin Ian King <colin.king(a)canonical.com>
mm/page_idle.c: fix oops because end_pfn is larger than max_pfn
Naoya Horiguchi <n-horiguchi(a)ah.jp.nec.com>
mm: hugetlb: soft-offline: dissolve_free_huge_page() return zero on !PageHuge
Naoya Horiguchi <n-horiguchi(a)ah.jp.nec.com>
mm: soft-offline: return -EBUSY if set_hwpoison_free_buddy_page() fails
Dinh Nguyen <dinguyen(a)kernel.org>
clk: socfpga: stratix10: fix divider entry for the emac clocks
Jann Horn <jannh(a)google.com>
fs/binfmt_flat.c: make load_flat_shared_library() work
zhong jiang <zhongjiang(a)huawei.com>
mm/mempolicy.c: fix an incorrect rebind node in mpol_rebind_nodemask
John Ogness <john.ogness(a)linutronix.de>
fs/proc/array.c: allow reporting eip/esp for all coredumping threads
Jack Pham <jackp(a)codeaurora.org>
usb: dwc3: gadget: Clear req->needs_extra_trb flag on cleanup
Felipe Balbi <felipe.balbi(a)linux.intel.com>
usb: dwc3: gadget: remove wait_end_transfer
Felipe Balbi <felipe.balbi(a)linux.intel.com>
usb: dwc3: gadget: move requests to cancelled_list
Felipe Balbi <felipe.balbi(a)linux.intel.com>
usb: dwc3: gadget: introduce cancelled_list
Felipe Balbi <felipe.balbi(a)linux.intel.com>
usb: dwc3: gadget: extract dwc3_gadget_ep_skip_trbs()
Felipe Balbi <felipe.balbi(a)linux.intel.com>
usb: dwc3: gadget: use num_trbs when skipping TRBs on ->dequeue()
Felipe Balbi <felipe.balbi(a)linux.intel.com>
usb: dwc3: gadget: track number of TRBs per request
Felipe Balbi <felipe.balbi(a)linux.intel.com>
usb: dwc3: gadget: combine unaligned and zero flags
John Stultz <john.stultz(a)linaro.org>
Revert "usb: dwc3: gadget: Clear req->needs_extra_trb flag on cleanup"
Bjørn Mork <bjorn(a)mork.no>
qmi_wwan: Fix out-of-bounds read
Adeodato Simó <dato(a)net.com.org.es>
net/9p: include trans_common.h to fix missing prototype warning.
Dominique Martinet <dominique.martinet(a)cea.fr>
9p/trans_fd: put worker reqs on destroy
Dominique Martinet <dominique.martinet(a)cea.fr>
9p/trans_fd: abort p9_read_work if req status changed
Dan Carpenter <dan.carpenter(a)oracle.com>
9p: potential NULL dereference
Dominique Martinet <dominique.martinet(a)cea.fr>
9p: p9dirent_read: check network-provided name length
Dominique Martinet <dominique.martinet(a)cea.fr>
9p/rdma: remove useless check in cm_event_handler
Dominique Martinet <dominique.martinet(a)cea.fr>
9p: acl: fix uninitialized iattr access
Tomas Bortoli <tomasbortoli(a)gmail.com>
9p: Rename req to rreq in trans_fd
Dominique Martinet <dominique.martinet(a)cea.fr>
9p/rdma: do not disconnect on down_interruptible EAGAIN
Tomas Bortoli <tomasbortoli(a)gmail.com>
9p: Add refcount to p9_req_t
Tomas Bortoli <tomasbortoli(a)gmail.com>
9p: rename p9_free_req() function
Dominique Martinet <dominique.martinet(a)cea.fr>
9p: add a per-client fcall kmem_cache
Dominique Martinet <dominique.martinet(a)cea.fr>
9p: embed fcall in req to round down buffer allocs
Matthew Wilcox <willy(a)infradead.org>
9p: Use a slab for allocating requests
Dominique Martinet <dominique.martinet(a)cea.fr>
9p/xen: fix check for xenbus_read error in front_probe
Mike Marciniszyn <mike.marciniszyn(a)intel.com>
IB/hfi1: Close PSM sdma_progress sleep window
Sasha Levin <sashal(a)kernel.org>
Revert "x86/uaccess, ftrace: Fix ftrace_likely_update() vs. SMAP"
Nathan Chancellor <natechancellor(a)gmail.com>
arm64: Don't unconditionally add -Wno-psabi to KBUILD_CFLAGS
Arnaldo Carvalho de Melo <acme(a)redhat.com>
perf header: Fix unchecked usage of strncpy()
Arnaldo Carvalho de Melo <acme(a)redhat.com>
perf help: Remove needless use of strncpy()
Arnaldo Carvalho de Melo <acme(a)redhat.com>
perf ui helpline: Use strlcpy() as a shorter form of strncpy() + explicit set nul
-------------
Diffstat:
Documentation/robust-futexes.txt | 3 +-
Makefile | 4 +-
arch/arm64/Makefile | 2 +-
arch/arm64/include/asm/futex.h | 4 +-
arch/arm64/include/asm/insn.h | 8 +
arch/arm64/kernel/insn.c | 40 ++
arch/arm64/net/bpf_jit.h | 4 +
arch/arm64/net/bpf_jit_comp.c | 28 +-
arch/mips/include/asm/mips-gic.h | 30 ++
arch/x86/kernel/cpu/bugs.c | 11 +-
arch/x86/kernel/cpu/intel_rdt_rdtgroup.c | 35 +-
arch/x86/kernel/cpu/microcode/core.c | 15 +-
arch/x86/kvm/mmu.c | 11 +-
drivers/clk/socfpga/clk-s10.c | 4 +-
drivers/infiniband/core/addr.c | 10 +-
drivers/infiniband/hw/hfi1/user_sdma.c | 12 +-
drivers/infiniband/hw/hfi1/user_sdma.h | 1 -
drivers/infiniband/hw/ocrdma/ocrdma_ah.c | 5 +-
drivers/infiniband/hw/ocrdma/ocrdma_hw.c | 5 +-
drivers/irqchip/irq-mips-gic.c | 4 +-
drivers/md/dm-log-writes.c | 23 +-
drivers/misc/eeprom/at24.c | 43 +-
drivers/net/bonding/bond_main.c | 2 +-
.../net/ethernet/stmicro/stmmac/stmmac_hwtstamp.c | 2 +-
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 22 +-
drivers/net/team/team.c | 2 +-
drivers/net/tun.c | 19 +-
drivers/net/usb/qmi_wwan.c | 2 +-
drivers/scsi/vmw_pvscsi.c | 6 +-
drivers/usb/dwc3/core.h | 15 +-
drivers/usb/dwc3/gadget.c | 158 ++----
drivers/usb/dwc3/gadget.h | 15 +
fs/9p/acl.c | 2 +-
fs/binfmt_flat.c | 23 +-
fs/nfs/flexfilelayout/flexfilelayoutdev.c | 2 +-
fs/proc/array.c | 2 +-
include/asm-generic/futex.h | 8 +-
include/linux/bpf-cgroup.h | 8 +
include/linux/sunrpc/xprt.h | 1 -
include/net/9p/9p.h | 4 +
include/net/9p/client.h | 71 +--
include/uapi/linux/bpf.h | 6 +-
kernel/bpf/lpm_trie.c | 9 +-
kernel/bpf/syscall.c | 8 +
kernel/bpf/verifier.c | 12 +-
kernel/cpu.c | 3 +
kernel/trace/bpf_trace.c | 100 +++-
kernel/trace/trace_branch.c | 4 -
mm/hugetlb.c | 29 +-
mm/memory-failure.c | 7 +-
mm/mempolicy.c | 2 +-
mm/page_idle.c | 4 +-
net/9p/client.c | 551 +++++++++++----------
net/9p/mod.c | 9 +-
net/9p/protocol.c | 12 +-
net/9p/trans_common.c | 1 +
net/9p/trans_fd.c | 64 ++-
net/9p/trans_rdma.c | 37 +-
net/9p/trans_virtio.c | 44 +-
net/9p/trans_xen.c | 17 +-
net/core/filter.c | 2 +
net/core/sock.c | 3 -
net/ipv4/raw.c | 2 +-
net/ipv4/udp.c | 10 +-
net/ipv6/udp.c | 8 +-
net/packet/af_packet.c | 23 +-
net/packet/internal.h | 1 +
net/sctp/endpointola.c | 8 +-
net/sunrpc/clnt.c | 1 -
net/sunrpc/xprt.c | 91 ++--
net/tipc/core.c | 12 +-
net/tipc/netlink_compat.c | 18 +-
net/tipc/udp_media.c | 8 +-
tools/perf/builtin-help.c | 2 +-
tools/perf/ui/tui/helpline.c | 2 +-
tools/perf/util/header.c | 2 +-
tools/testing/selftests/bpf/test_lpm_map.c | 41 +-
77 files changed, 1072 insertions(+), 747 deletions(-)
This is the start of the stable review cycle for the 5.1.16 release.
There are 55 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 04 Jul 2019 07:59:45 AM UTC.
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.1.16-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.1.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.1.16-rc1
Xin Long <lucien.xin(a)gmail.com>
tipc: pass tunnel dev as NULL to udp_tunnel(6)_xmit_skb
Amir Goldstein <amir73il(a)gmail.com>
fanotify: update connector fsid cache on add mark
Jason Gunthorpe <jgg(a)ziepe.ca>
RDMA: Directly cast the sockaddr union to sockaddr
Will Deacon <will.deacon(a)arm.com>
futex: Update comments and docs about return values of arch futex code
Daniel Borkmann <daniel(a)iogearbox.net>
bpf, arm64: use more scalable stadd over ldxr / stxr loop in xadd
Will Deacon <will.deacon(a)arm.com>
arm64: futex: Avoid copying out uninitialised stack in failed cmpxchg()
Martin KaFai Lau <kafai(a)fb.com>
bpf: udp: ipv6: Avoid running reuseport's bpf_prog from __udp6_lib_err
Martin KaFai Lau <kafai(a)fb.com>
bpf: udp: Avoid calling reuseport's bpf_prog from udp_gro
Daniel Borkmann <daniel(a)iogearbox.net>
bpf: fix unconnected udp hooks
Matt Mullins <mmullins(a)fb.com>
bpf: fix nested bpf tracepoints with per-cpu data
Jonathan Lemon <jonathan.lemon(a)gmail.com>
bpf: lpm_trie: check left child of last leftmost node for NULL
Martynas Pumputis <m(a)lambda.lt>
bpf: simplify definition of BPF_FIB_LOOKUP related flags
Dmitry Bogdanov <dmitry.bogdanov(a)aquantia.com>
net: aquantia: fix vlans not working over bridged network
Fei Li <lifei.shirley(a)bytedance.com>
tun: wake up waitqueues after IFF_UP is set
Xin Long <lucien.xin(a)gmail.com>
tipc: check msg->req data len in tipc_nl_compat_bearer_disable
Xin Long <lucien.xin(a)gmail.com>
tipc: change to use register_pernet_device
YueHaibing <yuehaibing(a)huawei.com>
team: Always enable vlan tx offload
Xin Long <lucien.xin(a)gmail.com>
sctp: change to hold sk after auth shkey is created successfully
Dirk van der Merwe <dirk.vandermerwe(a)netronome.com>
net/tls: fix page double free on TX cleanup
Roland Hii <roland.king.guan.hii(a)intel.com>
net: stmmac: set IC bit when transmitting frames with HW timestamp
Roland Hii <roland.king.guan.hii(a)intel.com>
net: stmmac: fixed new system time seconds value calculation
JingYi Hou <houjingyi647(a)gmail.com>
net: remove duplicate fetch in sock_getsockopt
Eric Dumazet <edumazet(a)google.com>
net/packet: fix memory leak in packet_set_ring()
Stephen Suryaputra <ssuryaextr(a)gmail.com>
ipv4: Use return value of inet_iif() for __raw_v4_lookup in the while loop
YueHaibing <yuehaibing(a)huawei.com>
bonding: Always enable vlan tx offload
Neil Horman <nhorman(a)tuxdriver.com>
af_packet: Block execution of tasks waiting for transmit to complete in AF_PACKET
Paul Burton <paul.burton(a)mips.com>
irqchip/mips-gic: Use the correct local interrupt map registers
Trond Myklebust <trondmy(a)gmail.com>
SUNRPC: Fix up calculation of client message length
Geert Uytterhoeven <geert(a)linux-m68k.org>
cpu/speculation: Warn on unsupported mitigations= parameter
Trond Myklebust <trondmy(a)gmail.com>
NFS/flexfiles: Use the correct TCP timeout for flexfiles I/O
Ard Biesheuvel <ard.biesheuvel(a)linaro.org>
efi/memreserve: deal with memreserve entries in unmapped memory
Johannes Weiner <hannes(a)cmpxchg.org>
mm: fix page cache convergence regression
Reinette Chatre <reinette.chatre(a)intel.com>
x86/resctrl: Prevent possible overrun during bitmap operations
Thomas Gleixner <tglx(a)linutronix.de>
x86/microcode: Fix the microcode load on CPU hotplug for real
Alejandro Jimenez <alejandro.j.jimenez(a)oracle.com>
x86/speculation: Allow guests to use SSBD even if host does not
Jan Kara <jack(a)suse.cz>
scsi: vmw_pscsi: Fix use-after-free in pvscsi_queue_lck()
Jens Axboe <axboe(a)kernel.dk>
io_uring: ensure req->file is cleared on allocation
zhangyi (F) <yi.zhang(a)huawei.com>
dm log writes: make sure super sector log updates are written in order
Gen Zhang <blackgod016574(a)gmail.com>
dm init: fix incorrect uses of kstrndup()
Huang Ying <ying.huang(a)intel.com>
mm, swap: fix THP swap out
Colin Ian King <colin.king(a)canonical.com>
mm/page_idle.c: fix oops because end_pfn is larger than max_pfn
Naoya Horiguchi <n-horiguchi(a)ah.jp.nec.com>
mm: hugetlb: soft-offline: dissolve_free_huge_page() return zero on !PageHuge
Naoya Horiguchi <n-horiguchi(a)ah.jp.nec.com>
mm: soft-offline: return -EBUSY if set_hwpoison_free_buddy_page() fails
Ville Syrjälä <ville.syrjala(a)linux.intel.com>
drm/i915: Skip modeset for cdclk changes if possible
Imre Deak <imre.deak(a)intel.com>
drm/i915: Remove redundant store of logical CDCLK state
Imre Deak <imre.deak(a)intel.com>
drm/i915: Save the old CDCLK atomic state
Ville Syrjälä <ville.syrjala(a)linux.intel.com>
drm/i915: Force 2*96 MHz cdclk on glk/cnl when audio power is enabled
Dinh Nguyen <dinguyen(a)kernel.org>
clk: socfpga: stratix10: fix divider entry for the emac clocks
Jon Hunter <jonathanh(a)nvidia.com>
clk: tegra210: Fix default rates for HDA clocks
Jann Horn <jannh(a)google.com>
fs/binfmt_flat.c: make load_flat_shared_library() work
zhong jiang <zhongjiang(a)huawei.com>
mm/mempolicy.c: fix an incorrect rebind node in mpol_rebind_nodemask
John Ogness <john.ogness(a)linutronix.de>
fs/proc/array.c: allow reporting eip/esp for all coredumping threads
Bjørn Mork <bjorn(a)mork.no>
qmi_wwan: Fix out-of-bounds read
Sasha Levin <sashal(a)kernel.org>
Revert "x86/uaccess, ftrace: Fix ftrace_likely_update() vs. SMAP"
Nathan Chancellor <natechancellor(a)gmail.com>
arm64: Don't unconditionally add -Wno-psabi to KBUILD_CFLAGS
-------------
Diffstat:
Documentation/robust-futexes.txt | 3 +-
Makefile | 4 +-
arch/arm64/Makefile | 2 +-
arch/arm64/include/asm/futex.h | 4 +-
arch/arm64/include/asm/insn.h | 8 +
arch/arm64/kernel/insn.c | 40 +++++
arch/arm64/net/bpf_jit.h | 4 +
arch/arm64/net/bpf_jit_comp.c | 28 +++-
arch/mips/include/asm/mips-gic.h | 30 ++++
arch/x86/kernel/cpu/bugs.c | 11 +-
arch/x86/kernel/cpu/microcode/core.c | 15 +-
arch/x86/kernel/cpu/resctrl/rdtgroup.c | 35 ++--
drivers/clk/socfpga/clk-s10.c | 4 +-
drivers/clk/tegra/clk-tegra210.c | 2 +
drivers/firmware/efi/efi.c | 12 +-
drivers/gpu/drm/i915/i915_drv.h | 6 +-
drivers/gpu/drm/i915/intel_audio.c | 62 ++++++-
drivers/gpu/drm/i915/intel_cdclk.c | 185 +++++++++++++++------
drivers/gpu/drm/i915/intel_display.c | 57 ++++++-
drivers/gpu/drm/i915/intel_drv.h | 21 ++-
drivers/infiniband/core/addr.c | 16 +-
drivers/infiniband/hw/ocrdma/ocrdma_ah.c | 5 +-
drivers/infiniband/hw/ocrdma/ocrdma_hw.c | 5 +-
drivers/irqchip/irq-mips-gic.c | 4 +-
drivers/md/dm-init.c | 6 +-
drivers/md/dm-log-writes.c | 23 ++-
drivers/net/bonding/bond_main.c | 2 +-
.../net/ethernet/aquantia/atlantic/aq_filters.c | 10 +-
drivers/net/ethernet/aquantia/atlantic/aq_nic.c | 1 +
drivers/net/ethernet/aquantia/atlantic/aq_nic.h | 1 +
.../ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c | 19 ++-
.../net/ethernet/stmicro/stmmac/stmmac_hwtstamp.c | 2 +-
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 22 ++-
drivers/net/team/team.c | 2 +-
drivers/net/tun.c | 19 +--
drivers/net/usb/qmi_wwan.c | 2 +-
drivers/scsi/vmw_pvscsi.c | 6 +-
fs/binfmt_flat.c | 23 +--
fs/inode.c | 2 +-
fs/io_uring.c | 5 +-
fs/nfs/flexfilelayout/flexfilelayoutdev.c | 2 +-
fs/notify/fanotify/fanotify.c | 4 +
fs/notify/mark.c | 14 +-
fs/proc/array.c | 2 +-
include/asm-generic/futex.h | 8 +-
include/linux/bpf-cgroup.h | 8 +
include/linux/fsnotify_backend.h | 4 +-
include/linux/xarray.h | 1 +
include/net/tls.h | 15 --
include/uapi/linux/bpf.h | 6 +-
kernel/bpf/lpm_trie.c | 9 +-
kernel/bpf/syscall.c | 8 +
kernel/bpf/verifier.c | 12 +-
kernel/cpu.c | 3 +
kernel/trace/bpf_trace.c | 100 +++++++++--
kernel/trace/trace_branch.c | 4 -
lib/xarray.c | 12 +-
mm/hugetlb.c | 29 +++-
mm/memory-failure.c | 7 +-
mm/mempolicy.c | 2 +-
mm/page_idle.c | 4 +-
mm/page_io.c | 7 +-
net/core/filter.c | 2 +
net/core/sock.c | 3 -
net/ipv4/raw.c | 2 +-
net/ipv4/udp.c | 10 +-
net/ipv6/udp.c | 8 +-
net/packet/af_packet.c | 23 ++-
net/packet/internal.h | 1 +
net/sctp/endpointola.c | 8 +-
net/sunrpc/xprtsock.c | 16 +-
net/tipc/core.c | 12 +-
net/tipc/netlink_compat.c | 18 +-
net/tipc/udp_media.c | 8 +-
net/tls/tls_main.c | 3 +-
tools/testing/selftests/bpf/test_lpm_map.c | 41 ++++-
76 files changed, 830 insertions(+), 294 deletions(-)