Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1599108 > unrolled thread
| Started by | Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
|---|---|
| First post | 2017-03-13 10:20 +0100 |
| Last post | 2017-03-13 23:40 +0100 |
| Articles | 6 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH 4.9 00/63] 4.9.15-stable review Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-03-13 10:20 +0100
[PATCH 4.9 43/63] drm/ast: Fix test for VGA enabled Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-03-13 10:20 +0100
[PATCH 4.9 13/63] net: mvpp2: fix DMA address calculation in mvpp2_txq_inc_put() Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-03-13 10:20 +0100
[PATCH 4.9 16/63] brcmfmac: fix incorrect event channel deduction Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-03-13 10:20 +0100
[PATCH 4.9 25/63] orangefs: Use RCU for destroy_inode Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-03-13 10:20 +0100
Re: [PATCH 4.9 00/63] 4.9.15-stable review Guenter Roeck <linux@roeck-us.net> - 2017-03-13 23:40 +0100
| From | Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
|---|---|
| Date | 2017-03-13 10:20 +0100 |
| Subject | [PATCH 4.9 00/63] 4.9.15-stable review |
| Message-ID | <tktPX-6ks-13@gated-at.bofh.it> |
This is the start of the stable review cycle for the 4.9.15 release.
There are 63 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 Wed Mar 15 08:33:55 UTC 2017.
Anything received after that time might be too late.
The whole patch series can be found in one patch at:
kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.9.15-rc1.gz
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@linuxfoundation.org>
Linux 4.9.15-rc1
K. Y. Srinivasan <kys@microsoft.com>
drivers: hv: Turn off write permission on the hypercall page
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
fat: fix using uninitialized fields of fat_inode/fsinfo_inode
Tahsin Erdogan <tahsin@google.com>
mm: do not call mem_cgroup_free() from within mem_cgroup_alloc()
Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
thp: fix another corner case of munlock() vs. THPs
Daniel Borkmann <daniel@iogearbox.net>
x86/tlb: Fix tlb flushing when lguest clears PGE
Dan Williams <dan.j.williams@intel.com>
x86, mm: fix gup_pte_range() vs DAX mappings
Arnd Bergmann <arnd@arndb.de>
libceph: use BUG() instead of BUG_ON(1)
Hans de Goede <hdegoede@redhat.com>
drm/i915: Fix not finding the VBT when it overlaps with OPREGION_ASLE_EXT
Ville Syrjälä <ville.syrjala@linux.intel.com>
drm/i915: Avoid spurious WARNs about the wrong pipe in the PPS code
Chris Wilson <chris@chris-wilson.co.uk>
drm: Cancel drm_fb_helper_resume_work on unload
Chris Wilson <chris@chris-wilson.co.uk>
drm: Cancel drm_fb_helper_dirty_work on unload
Chris Wilson <chris@chris-wilson.co.uk>
drm/i915/gvt: Disable access to stolen memory as a guest
Dan Carpenter <dan.carpenter@oracle.com>
drm/atomic: fix an error code in mode_fixup()
Fabio Estevam <fabio.estevam@nxp.com>
drm/imx: imx-tve: Do not set the regulator voltage
Nandor Han <nandor.han@ge.com>
dmaengine: imx-sdma - correct the dma transfer residue calculation
Thomas Hellstrom <thellstrom@vmware.com>
drm/vmwgfx: Work around drm removal of control nodes
Michel Dänzer <michel.daenzer@amd.com>
drm/ttm: Make sure BOs being swapped out are cacheable
Tomeu Vizoso <tomeu.vizoso@collabora.com>
drm/edid: Add EDID_QUIRK_FORCE_8BPC quirk for Rotel RSX-1058
Y.C. Chen <yc_chen@aspeedtech.com>
drm/ast: Fix AST2400 POST failure without BMC FW or VBIOS
Y.C. Chen <yc_chen@aspeedtech.com>
drm/ast: Call open_key before enable_mmio in POST code
Y.C. Chen <yc_chen@aspeedtech.com>
drm/ast: Fix test for VGA enabled
Alex Deucher <alexander.deucher@amd.com>
drm/amdgpu: add more cases to DCE11 possible crtc mask setup
Johannes Berg <johannes.berg@intel.com>
mac80211: use driver-indicated transmitter STA only for data frames
Felix Fietkau <nbd@nbd.name>
mac80211: don't handle filtered frames within a BA session
Sara Sharon <sara.sharon@intel.com>
mac80211: don't reorder frames with SN smaller than SSN
Matt Chen <matt.chen@intel.com>
mac80211: flush delayed work when entering suspend
Dan Williams <dan.j.williams@intel.com>
nfit, libnvdimm: fix interleave set cookie calculation
Max Filippov <jcmvbkbc@gmail.com>
xtensa: move parse_tag_fdt out of #ifdef CONFIG_BLK_DEV_INITRD
Clemens Gruber <clemens.gruber@pqgruber.com>
pwm: pca9685: Fix period change with same duty cycle
Trond Myklebust <trond.myklebust@primarydata.com>
nlm: Ensure callback code also checks that the files match
Gavin Shan <gwshan@linux.vnet.ibm.com>
drivers/pci/hotplug: Fix initial state for empty slot
Gavin Shan <gwshan@linux.vnet.ibm.com>
drivers/pci/hotplug: Handle presence detection change properly
Nicholas Bellinger <nab@linux-iscsi.org>
target: Fix NULL dereference during LUN lookup + active I/O shutdown
Gavin Shan <gwshan@linux.vnet.ibm.com>
pci/hotplug/pnv-php: Disable surprise hotplug capability on conflicts
Gavin Shan <gwshan@linux.vnet.ibm.com>
pci/hotplug/pnv-php: Remove WARN_ON() in pnv_php_put_slot()
Jeff Layton <jlayton@redhat.com>
ceph: remove req from unsafe list when unregistering it
Steven Rostedt (VMware) <rostedt@goodmis.org>
ktest: Fix child exit code processing
Boris Brezillon <boris.brezillon@free-electrons.com>
memory/atmel-ebi: Fix ns <-> cycles conversions
Peter Zijlstra <peterz@infradead.org>
orangefs: Use RCU for destroy_inode
Eric W. Biederman <ebiederm@xmission.com>
fs: Better permission checking for submounts
Bart Van Assche <bart.vanassche@sandisk.com>
IB/srp: Fix race conditions related to task management
Bart Van Assche <bart.vanassche@sandisk.com>
IB/srp: Avoid that duplicate responses trigger a kernel bug
Bart Van Assche <bart.vanassche@sandisk.com>
IB/SRP: Avoid using IB_MR_TYPE_SG_GAPS
Leon Romanovsky <leonro@mellanox.com>
IB/mlx5: Fix out-of-bound access
Erez Shitrit <erezsh@mellanox.com>
IB/IPoIB: Add destination address when re-queue packet
Feras Daoud <ferasda@mellanox.com>
IB/ipoib: Fix deadlock between rmmod and set_mode
Eric W. Biederman <ebiederm@xmission.com>
mnt: Tuck mounts under others instead of creating shadow/side mounts.
Gavin Li <git@thegavinli.com>
brcmfmac: fix incorrect event channel deduction
Andrew Donnellan <andrew.donnellan@au1.ibm.com>
cxl: fix nested locking hang during EEH hotplug
Andrew Donnellan <andrew.donnellan@au1.ibm.com>
cxl: Prevent read/write to AFU config space while AFU not configured
Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
net: mvpp2: fix DMA address calculation in mvpp2_txq_inc_put()
Heiko Carstens <heiko.carstens@de.ibm.com>
s390: use correct input data address for setup_randomness
Heiko Carstens <heiko.carstens@de.ibm.com>
s390: make setup_randomness work
Martin Schwidefsky <schwidefsky@de.ibm.com>
s390: TASK_SIZE for kernel threads
Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
s390/chsc: Add exception handler for CHSC instruction
Michael Holzheu <holzheu@linux.vnet.ibm.com>
s390/kdump: Use "LINUX" ELF note name instead of "CORE"
Gerald Schaefer <gerald.schaefer@de.ibm.com>
s390/dcssblk: fix device size calculation in dcssblk_direct_access()
Julian Wiedmann <jwi@linux.vnet.ibm.com>
s390/qdio: clear DSCI prior to scanning multiple input queues
Dmitry Tunin <hanipouspilot@gmail.com>
Bluetooth: Add another AR3012 04ca:3018 device
Chao Peng <chao.p.peng@linux.intel.com>
KVM: VMX: use correct vmcs_read/write for guest segment selector/base
Janosch Frank <frankja@linux.vnet.ibm.com>
KVM: s390: Disable dirty log retrieval for UCONTROL guests
Ian Abbott <abbotti@mev.co.uk>
serial: 8250_pci: Add MKS Tenta SCOM-0800 and SCOM-0801 cards
Alexander Popov <alex.popov@linux.com>
tty: n_hdlc: get rid of racy n_hdlc.tbuf
-------------
Diffstat:
Makefile | 4 +-
arch/s390/include/asm/processor.h | 3 +-
arch/s390/kernel/crash_dump.c | 6 +-
arch/s390/kernel/setup.c | 8 +-
arch/s390/kvm/kvm-s390.c | 3 +
arch/x86/include/asm/tlbflush.h | 2 +-
arch/x86/kvm/vmx.c | 4 +-
arch/x86/mm/gup.c | 8 +-
arch/xtensa/kernel/setup.c | 4 +-
drivers/acpi/nfit/core.c | 16 ++-
drivers/bluetooth/ath3k.c | 2 +
drivers/bluetooth/btusb.c | 1 +
drivers/dma/imx-sdma.c | 13 +-
drivers/gpu/drm/amd/amdgpu/dce_v11_0.c | 6 +
drivers/gpu/drm/ast/ast_post.c | 48 ++++++--
drivers/gpu/drm/drm_atomic_helper.c | 2 +-
drivers/gpu/drm/drm_edid.c | 3 +
drivers/gpu/drm/drm_fb_helper.c | 3 +
drivers/gpu/drm/i915/i915_gem_stolen.c | 5 +
drivers/gpu/drm/i915/intel_dp.c | 6 +-
drivers/gpu/drm/i915/intel_opregion.c | 13 +-
drivers/gpu/drm/imx/imx-tve.c | 7 +-
drivers/gpu/drm/ttm/ttm_bo.c | 4 +-
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 11 +-
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 4 +-
drivers/hv/hv.c | 2 +-
drivers/infiniband/hw/mlx5/srq.c | 11 +-
drivers/infiniband/ulp/ipoib/ipoib_cm.c | 12 +-
drivers/infiniband/ulp/ipoib/ipoib_main.c | 36 +++---
drivers/infiniband/ulp/srp/ib_srp.c | 61 ++++++----
drivers/infiniband/ulp/srp/ib_srp.h | 1 +
drivers/memory/atmel-ebi.c | 27 +++--
drivers/misc/cxl/cxl.h | 3 +
drivers/misc/cxl/main.c | 2 +-
drivers/misc/cxl/pci.c | 9 ++
drivers/misc/cxl/vphb.c | 61 ++++++----
drivers/net/ethernet/marvell/mvpp2.c | 2 +-
.../wireless/broadcom/brcm80211/brcmfmac/sdio.c | 2 +-
drivers/nvdimm/namespace_devs.c | 18 ++-
drivers/nvdimm/nd.h | 1 +
drivers/nvdimm/region_devs.c | 9 ++
drivers/pci/hotplug/pnv_php.c | 32 ++++-
drivers/pwm/pwm-pca9685.c | 11 --
drivers/s390/block/dcssblk.c | 2 +-
drivers/s390/cio/ioasm.c | 8 +-
drivers/s390/cio/qdio_thinint.c | 8 +-
drivers/target/target_core_device.c | 10 +-
drivers/target/target_core_tpg.c | 3 +-
drivers/target/target_core_transport.c | 31 ++++-
drivers/tty/n_hdlc.c | 132 +++++++++++----------
drivers/tty/serial/8250/8250_pci.c | 13 ++
fs/afs/mntpt.c | 2 +-
fs/autofs4/waitq.c | 4 +-
fs/ceph/mds_client.c | 5 +-
fs/cifs/cifs_dfs_ref.c | 7 +-
fs/debugfs/inode.c | 8 +-
fs/fat/inode.c | 13 +-
fs/mount.h | 1 -
fs/namei.c | 3 -
fs/namespace.c | 127 ++++++++++++--------
fs/nfs/namespace.c | 2 +-
fs/nfs/nfs4namespace.c | 2 +-
fs/orangefs/super.c | 9 +-
fs/pnode.c | 61 ++++++++--
fs/pnode.h | 2 +
fs/super.c | 13 +-
include/linux/ceph/osdmap.h | 2 +-
include/linux/debugfs.h | 3 +-
include/linux/libnvdimm.h | 2 +
include/linux/lockd/lockd.h | 3 +-
include/linux/mount.h | 3 +
include/target/target_core_base.h | 1 +
include/uapi/linux/fs.h | 1 +
kernel/trace/trace.c | 4 +-
mm/memcontrol.c | 11 +-
mm/mlock.c | 9 +-
net/mac80211/agg-rx.c | 1 +
net/mac80211/pm.c | 1 +
net/mac80211/rx.c | 30 +++--
net/mac80211/sta_info.h | 6 +-
net/mac80211/status.c | 3 +-
tools/testing/ktest/ktest.pl | 2 +-
82 files changed, 691 insertions(+), 343 deletions(-)
[toc] | [next] | [standalone]
| From | Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
|---|---|
| Date | 2017-03-13 10:20 +0100 |
| Subject | [PATCH 4.9 43/63] drm/ast: Fix test for VGA enabled |
| Message-ID | <tkuj1-6OF-55@gated-at.bofh.it> |
| In reply to | #1599108 |
4.9-stable review patch. If anyone has any objections, please let me know.
------------------
From: Y.C. Chen <yc_chen@aspeedtech.com>
commit 905f21a49d388de3e99438235f3301cabf0c0ef4 upstream.
The test to see if VGA was already enabled is doing an unnecessary
second test from a register that may or may not have been initialized
to a valid value. Remove it.
Signed-off-by: Y.C. Chen <yc_chen@aspeedtech.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Joel Stanley <joel@jms.id.au>
Tested-by: Y.C. Chen <yc_chen@aspeedtech.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
drivers/gpu/drm/ast/ast_post.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
--- a/drivers/gpu/drm/ast/ast_post.c
+++ b/drivers/gpu/drm/ast/ast_post.c
@@ -58,13 +58,9 @@ bool ast_is_vga_enabled(struct drm_devic
/* TODO 1180 */
} else {
ch = ast_io_read8(ast, AST_IO_VGA_ENABLE_PORT);
- if (ch) {
- ast_open_key(ast);
- ch = ast_get_index_reg_mask(ast, AST_IO_CRTC_PORT, 0xb6, 0xff);
- return ch & 0x04;
- }
+ return !!(ch & 0x01);
}
- return 0;
+ return false;
}
static const u8 extreginfo[] = { 0x0f, 0x04, 0x1c, 0xff };
[toc] | [prev] | [next] | [standalone]
| From | Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
|---|---|
| Date | 2017-03-13 10:20 +0100 |
| Subject | [PATCH 4.9 13/63] net: mvpp2: fix DMA address calculation in mvpp2_txq_inc_put() |
| Message-ID | <tkuj1-6OF-61@gated-at.bofh.it> |
| In reply to | #1599108 |
4.9-stable review patch. If anyone has any objections, please let me know. ------------------ From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> commit 239a3b663647869330955ec59caac0100ef9b60a upstream. When TX descriptors are filled in, the buffer DMA address is split between the tx_desc->buf_phys_addr field (high-order bits) and tx_desc->packet_offset field (5 low-order bits). However, when we re-calculate the DMA address from the TX descriptor in mvpp2_txq_inc_put(), we do not take tx_desc->packet_offset into account. This means that when the DMA address is not aligned on a 32 bytes boundary, we end up calling dma_unmap_single() with a DMA address that was not the one returned by dma_map_single(). This inconsistency is detected by the kernel when DMA_API_DEBUG is enabled. We fix this problem by properly calculating the DMA address in mvpp2_txq_inc_put(). Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> --- drivers/net/ethernet/marvell/mvpp2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/net/ethernet/marvell/mvpp2.c +++ b/drivers/net/ethernet/marvell/mvpp2.c @@ -991,7 +991,7 @@ static void mvpp2_txq_inc_put(struct mvp txq_pcpu->buffs + txq_pcpu->txq_put_index; tx_buf->skb = skb; tx_buf->size = tx_desc->data_size; - tx_buf->phys = tx_desc->buf_phys_addr; + tx_buf->phys = tx_desc->buf_phys_addr + tx_desc->packet_offset; txq_pcpu->txq_put_index++; if (txq_pcpu->txq_put_index == txq_pcpu->size) txq_pcpu->txq_put_index = 0;
[toc] | [prev] | [next] | [standalone]
| From | Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
|---|---|
| Date | 2017-03-13 10:20 +0100 |
| Subject | [PATCH 4.9 16/63] brcmfmac: fix incorrect event channel deduction |
| Message-ID | <tkuj1-6OF-63@gated-at.bofh.it> |
| In reply to | #1599108 |
4.9-stable review patch. If anyone has any objections, please let me know.
------------------
From: Gavin Li <git@thegavinli.com>
commit 8e290cecdd0178f3d4cf7d463c51dc7e462843b4 upstream.
brcmf_sdio_fromevntchan() was being called on the the data frame
rather than the software header, causing some frames to be
mischaracterized as on the event channel rather than the data channel.
This fixes a major performance regression (due to dropped packets). With
this patch the download speed jumped from 1Mbit/s back up to 40MBit/s due
to the sheer amount of packets being incorrectly processed.
Fixes: c56caa9db8ab ("brcmfmac: screening firmware event packet")
Signed-off-by: Gavin Li <git@thegavinli.com>
Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com>
[kvalo@codeaurora.org: improve commit logs based on email discussion]
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
@@ -1660,7 +1660,7 @@ static u8 brcmf_sdio_rxglom(struct brcmf
pfirst->len, pfirst->next,
pfirst->prev);
skb_unlink(pfirst, &bus->glom);
- if (brcmf_sdio_fromevntchan(pfirst->data))
+ if (brcmf_sdio_fromevntchan(&dptr[SDPCM_HWHDR_LEN]))
brcmf_rx_event(bus->sdiodev->dev, pfirst);
else
brcmf_rx_frame(bus->sdiodev->dev, pfirst,
[toc] | [prev] | [next] | [standalone]
| From | Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
|---|---|
| Date | 2017-03-13 10:20 +0100 |
| Subject | [PATCH 4.9 25/63] orangefs: Use RCU for destroy_inode |
| Message-ID | <tkuj2-6OF-69@gated-at.bofh.it> |
| In reply to | #1599108 |
4.9-stable review patch. If anyone has any objections, please let me know.
------------------
From: Peter Zijlstra <peterz@infradead.org>
commit 0695d7dc1d9f19b82ec2cae24856bddce278cfe6 upstream.
freeing of inodes must be RCU-delayed on all filesystems
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
fs/orangefs/super.c | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
--- a/fs/orangefs/super.c
+++ b/fs/orangefs/super.c
@@ -115,6 +115,13 @@ static struct inode *orangefs_alloc_inod
return &orangefs_inode->vfs_inode;
}
+static void orangefs_i_callback(struct rcu_head *head)
+{
+ struct inode *inode = container_of(head, struct inode, i_rcu);
+ struct orangefs_inode_s *orangefs_inode = ORANGEFS_I(inode);
+ kmem_cache_free(orangefs_inode_cache, orangefs_inode);
+}
+
static void orangefs_destroy_inode(struct inode *inode)
{
struct orangefs_inode_s *orangefs_inode = ORANGEFS_I(inode);
@@ -123,7 +130,7 @@ static void orangefs_destroy_inode(struc
"%s: deallocated %p destroying inode %pU\n",
__func__, orangefs_inode, get_khandle_from_ino(inode));
- kmem_cache_free(orangefs_inode_cache, orangefs_inode);
+ call_rcu(&inode->i_rcu, orangefs_i_callback);
}
/*
[toc] | [prev] | [next] | [standalone]
| From | Guenter Roeck <linux@roeck-us.net> |
|---|---|
| Date | 2017-03-13 23:40 +0100 |
| Message-ID | <tkGNc-7uk-29@gated-at.bofh.it> |
| In reply to | #1599108 |
On Mon, Mar 13, 2017 at 04:38:47PM +0800, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.15 release. > There are 63 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 Wed Mar 15 08:33:55 UTC 2017. > Anything received after that time might be too late. > Build results: total: 149 pass: 149 fail: 0 Qemu test results: total: 122 pass: 122 fail: 0 Details are available at http://kerneltests.org/builders. Guenter
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web