[PATCH 4.18 119/168] net: ena: fix driver when PAGE_SIZE == 64kB

2018-10-08 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Netanel Belgazal [ Upstream commit ef5b0771d247379c90c8bf1332ff32f7f74bff7f ] The buffer length field in the ena rx descriptor is 16 bit, and the current driver passes a full page in each ena

[PATCH 4.18 116/168] r8169: set TxConfig register after TX / RX is enabled, just like RxConfig

2018-10-08 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: "Maciej S. Szmigiero" [ Upstream commit f74dd480cf4e31e12971c58a1d832044db945670 ] Commit 3559d81e76bf ("r8169: simplify rtl_hw_start_8169") changed order of two register writes: 1) Caused RxC

[PATCH 4.18 120/168] net: ena: fix device destruction to gracefully free resources

2018-10-08 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Netanel Belgazal [ Upstream commit cfa324a514233b28a6934de619183eee941f02d7 ] When ena_destroy_device() is called from ena_suspend(), the device is still reachable from the driver. Therefore,

[PATCH 4.18 117/168] fs/cifs: suppress a string overflow warning

2018-10-08 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Stephen Rothwell [ Upstream commit bcfb84a996f6fa90b5e6e2954b2accb7a4711097 ] A powerpc build of cifs with gcc v8.2.0 produces this warning: fs/cifs/cifssmb.c: In function ‘CIFSSMBNegotiate’:

[PATCH 4.18 118/168] net: ena: fix surprise unplug NULL dereference kernel crash

2018-10-08 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Netanel Belgazal [ Upstream commit 772ed869f535b4ec2b134645c951ff22de4d3f79 ] Starting with driver version 1.5.0, in case of a surprise device unplug, there is a race caused by invoking ena_de

[PATCH 4.18 152/168] firmware: Fix security issue with request_firmware_into_buf()

2018-10-08 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Rishabh Bhatnagar commit 422b3db2a5036add39a82425b1dd9fb6c96481e8 upstream. When calling request_firmware_into_buf() with the FW_OPT_NOCACHE flag it is expected that firmware is loaded into bu

[PATCH 4.18 147/168] ovl: fix access beyond unterminated strings

2018-10-08 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Amir Goldstein commit 601350ff58d5415a001769532f6b8333820e5786 upstream. KASAN detected slab-out-of-bounds access in printk from overlayfs, because string format used %*s instead of %.*s. > B

[PATCH 4.18 150/168] sysfs: Do not return POSIX ACL xattrs via listxattr

2018-10-08 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Andreas Gruenbacher commit ffc4c92227db5699493e43eb140b4cb5904c30ff upstream. Commit 786534b92f3c introduced a regression that caused listxattr to return the POSIX ACL attribute names even tho

[PATCH 4.18 111/168] drm/nouveau/disp: fix DP disable race

2018-10-08 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Ben Skeggs [ Upstream commit e04cfdc9b7398c60dbc70212415ea63b6c6a93ae ] If a HPD pulse signalling the need to retrain the link occurs between the KMS driver releasing the output and the superv

[PATCH 4.18 153/168] firmware: Always initialize the fw_priv list object

2018-10-08 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Bjorn Andersson commit 7012040576c6ae25a47035659ee48673612c2c27 upstream. When freeing the fw_priv the item is taken off the list. This causes an oops in the FW_OPT_NOCACHE case as the list ob

[PATCH 4.18 149/168] ovl: fix format of setxattr debug

2018-10-08 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Miklos Szeredi commit 1a8f8d2a443ef9ad9a3065ba8c8119df714240fa upstream. Format has a typo: it was meant to be "%.*s", not "%*s". But at some point callers grew nonprintable values as well, s

[PATCH 4.18 138/168] cifs: read overflow in is_valid_oplock_break()

2018-10-08 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter [ Upstream commit 097f5863b1a0c9901f180bbd56ae7d630655faaa ] We need to verify that the "data_offset" is within bounds. Reported-by: Dr Silvio Cesare of InfoSect Signed-off-by:

[PATCH 4.18 154/168] cpufreq: qcom-kryo: Fix section annotations

2018-10-08 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Nathan Chancellor commit d51aea13dd6753186a2bea7619029c460bdf0c4c upstream. There is currently a warning when building the Kryo cpufreq driver into the kernel image: WARNING: vmlinux.o(.text+

[PATCH 4.18 151/168] b43: fix DMA error related regression with proprietary firmware

2018-10-08 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Larry Finger commit 2823c8716c687d6c7e261a3a02b3cab43809fe9c upstream. In commit 66cffd6daab7 ("b43: fix transmit failure when VT is switched"), a condition is noted where the network controll

[PATCH 4.18 139/168] asm-generic: io: Fix ioport_map() for !CONFIG_GENERIC_IOMAP && CONFIG_INDIRECT_PIO

2018-10-08 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Andrew Murray [ Upstream commit 500dd232449e7c07500e713dc6970aa713f8e4f1 ] The !CONFIG_GENERIC_IOMAP version of ioport_map uses MMIO_UPPER_LIMIT to prevent users from making I/O accesses outsi

[PATCH 4.18 160/168] crypto: mxs-dcp - Fix wait logic on chan threads

2018-10-08 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Leonard Crestez commit d80771c08363ad7fbf0f56f5301e7ca65065c582 upstream. When compiling with CONFIG_DEBUG_ATOMIC_SLEEP=y the mxs-dcp driver prints warnings such as: WARNING: CPU: 0 PID: 120

[PATCH 4.18 158/168] crypto: qat - Fix KASAN stack-out-of-bounds bug in adf_probe()

2018-10-08 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Waiman Long commit ba439a6cbfa2936a6713f64cb499de7943673fe3 upstream. The following KASAN warning was printed when booting a 64-bit kernel on some systems with Intel CPUs: [ 44.512826] ===

[PATCH 4.18 155/168] smb2: fix missing files in root share directory listing

2018-10-08 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Aurelien Aptel commit 0595751f267994c3c7027377058e4185b3a28e75 upstream. When mounting a Windows share that is the root of a drive (eg. C$) the server does not return . and .. directory entrie

[PATCH 4.18 161/168] crypto: caam/jr - fix ablkcipher_edesc pointer arithmetic

2018-10-08 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Horia Geantă commit 13cc6f48c7434ce46ba6dbc90003a136a263d75a upstream. In some cases the zero-length hw_desc array at the end of ablkcipher_edesc struct requires for 4B of tail padding. Due t

[PATCH 4.18 159/168] crypto: chelsio - Fix memory corruption in DMA Mapped buffers.

2018-10-08 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Harsh Jain commit add92a817e60e308a419693413a38d9d1e663aff upstream. Update PCI Id in "cpl_rx_phys_dsgl" header. In case pci_chan_id and tx_chan_id are not derived from same queue, H/W can sen

[PATCH 4.18 157/168] ALSA: hda/realtek - Cannot adjust speakers volume on Dell XPS 27 7760

2018-10-08 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Kai-Heng Feng commit 709ae62e8e6d9ac4df7dadb3b8ae432675c45ef9 upstream. The issue is the same as commit dd9aa335c880 ("ALSA: hda/realtek - Can't adjust speaker's volume on a Dell AIO"), the ou

[PATCH 4.18 162/168] gpiolib: Free the last requested descriptor

2018-10-08 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Ricardo Ribalda Delgado commit 19a4fbffc94e41abaa2a623a25ce2641d69eccf0 upstream. The current code only frees N-1 gpios if an error occurs during gpiod_set_transitory, gpiod_direction_output o

[PATCH 4.18 141/168] xen: avoid crash in disable_hotplug_cpu

2018-10-08 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Olaf Hering [ Upstream commit 3366cdb6d350d95466ee430ac50f3c8415ca8f46 ] The command 'xl vcpu-set 0 0', issued in dom0, will crash dom0: BUG: unable to handle kernel NULL pointer dereference

[PATCH 4.18 143/168] x86/APM: Fix build warning when PROC_FS is not enabled

2018-10-08 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Randy Dunlap [ Upstream commit 002b87d2aace62b4f3841c3aa43309d2380092be ] Fix build warning in apm_32.c when CONFIG_PROC_FS is not enabled: ../arch/x86/kernel/apm_32.c:1643:12: warning: 'proc

[PATCH 4.18 140/168] xen/manage: dont complain about an empty value in control/sysrq node

2018-10-08 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Vitaly Kuznetsov [ Upstream commit 87dffe86d406bee8782cac2db035acb9a28620a7 ] When guest receives a sysrq request from the host it acknowledges it by writing '\0' to control/sysrq xenstore nod

[PATCH 4.18 142/168] xen: fix GCC warning and remove duplicate EVTCHN_ROW/EVTCHN_COL usage

2018-10-08 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Josh Abraham [ Upstream commit 4dca864b59dd150a221730775e2f21f49779c135 ] This patch removes duplicate macro useage in events_base.c. It also fixes gcc warning: variable ‘col’ set but not use

[PATCH 4.18 164/168] tools: hv: fcopy: set error in case an unknown operation was requested

2018-10-08 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Vitaly Kuznetsov commit c2d68afba86d1ff01e7300c68bc16a9234dcd8e9 upstream. 'error' variable is left uninitialized in case we see an unknown operation. As we don't immediately return and procee

[PATCH 4.18 165/168] proc: restrict kernel stack dumps to root

2018-10-08 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Jann Horn commit f8a00cef17206ecd1b30d3d9f99e10d9fa707aa7 upstream. Currently, you can use /proc/self/task/*/stack to cause a stack walk on a task you control while it is running on another CP

[PATCH 4.18 167/168] HID: i2c-hid: disable runtime PM operations on hantick touchpad

2018-10-08 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Anisse Astier commit 807588ac92018bde88a1958f546438e840eb0158 upstream. This hantick HTIX5288 touchpad can quickly fall in a wrong state if there are too many open/close operations. This will

[PATCH 4.18 166/168] ocfs2: fix locking for res->tracking and dlm->tracking_list

2018-10-08 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Ashish Samant commit cbe355f57c8074bc4f452e5b6e35509044c6fa23 upstream. In dlm_init_lockres() we access and modify res->tracking and dlm->tracking_list without holding dlm->track_lock. This c

[PATCH 4.18 144/168] new primitive: discard_new_inode()

2018-10-08 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Al Viro commit c2b6d621c4ffe9936adf7a55c8b1c769672c306f upstream. We don't want open-by-handle picking half-set-up in-core struct inode from e.g. mkdir() having failed halfway through.

[PATCH 4.18 145/168] vfs: dont evict uninitialized inode

2018-10-08 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Miklos Szeredi commit e950564b97fd0f541b02eb207685d0746f5ecf29 upstream. iput() ends up calling ->evict() on new inode, which is not yet initialized by owning fs. So use destroy_inode() inste

[PATCH 4.18 137/168] s390/qeth: dont dump past end of unknown HW header

2018-10-08 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Julian Wiedmann [ Upstream commit 0ac1487c4b2de383b91ecad1be561b8f7a2c15f4 ] For inbound data with an unsupported HW header format, only dump the actual HW header. We have no idea how much pay

[PATCH 4.18 146/168] ovl: set I_CREATING on inode being created

2018-10-08 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Miklos Szeredi commit 6faf05c2b2b4fe70d9068067437649401531de0a upstream. ...otherwise there will be list corruption due to inode_sb_list_add() being called for inode already on the sb list. S

[PATCH 4.18 163/168] Drivers: hv: vmbus: Use get/put_cpu() in vmbus_connect()

2018-10-08 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Dexuan Cui commit 41e270f6898e7502be9fd6920ee0a108ca259d36 upstream. With CONFIG_DEBUG_PREEMPT=y, I always see this warning: BUG: using smp_processor_id() in preemptible [] Fix the fa

RE: [Ksummit-discuss] [PATCH 2/2] code-of-conduct: Strip the enforcement paragraph pending community discussion

2018-10-08 Thread Tim.Bird
> -Original Message- > From: James Bottomley > > On Mon, 2018-10-08 at 17:58 +, tim.b...@sony.com wrote: > > > -Original Message- > > > From: James Bottomley > > > > > > On Mon, 2018-10-08 at 13:51 +, tim.b...@sony.com wrote: > > > > > -Original Message- > > > > >

[PATCH 4.18 168/168] ixgbe: check return value of napi_complete_done()

2018-10-08 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Song Liu commit 4233cfe6ec4683497d7318f55ce7617e97f2e610 upstream. The NIC driver should only enable interrupts when napi_complete_done() returns true. This patch adds the check for ixgbe. Cc

Applied "regulator: stpmic1: add stpmic1 regulator driver" to the regulator tree

2018-10-08 Thread Mark Brown
The patch regulator: stpmic1: add stpmic1 regulator driver has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours)

Applied "dt-bindings: regulator: document stpmic1 pmic regulators" to the regulator tree

2018-10-08 Thread Mark Brown
The patch dt-bindings: regulator: document stpmic1 pmic regulators has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 2

Re: [PATCH v4] spi: spi-ep93xx: Use dma_data_direction for ep93xx_spi_dma_{finish,prepare}

2018-10-08 Thread Mika Westerberg
On Mon, Oct 08, 2018 at 11:08:47AM -0700, Nathan Chancellor wrote: > Clang warns when one enumerated type is implicitly converted to another. > > drivers/spi/spi-ep93xx.c:342:62: warning: implicit conversion from > enumeration type 'enum dma_transfer_direction' to different enumeration > type 'enu

[PATCH 4.18 148/168] ovl: fix memory leak on unlink of indexed file

2018-10-08 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Amir Goldstein commit 63e132528032ce937126aba591a7b37ec593a6bb upstream. The memory leak was detected by kmemleak when running xfstests overlay/051,053 Fixes: caf70cb2ba5d ("ovl: cleanup orph

[PATCH 4.18 094/168] netfilter: kconfig: nat related expression depend on nftables core

2018-10-08 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Florian Westphal [ Upstream commit e0758412208960be9de11e6d2350c81ffd88410f ] NF_TABLES_IPV4 is now boolean so it is possible to set NF_TABLES=m NF_TABLES_IPV4=y NFT_CHAIN_NAT_IPV4=y which c

[PATCH 4.18 065/168] net/ibm/emac: wrong emac_calc_base call was used by typo

2018-10-08 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Ivan Mikhaylov [ Upstream commit bf68066fccb10fce6bbffdda24ee2ae314c9c5b2 ] __emac_calc_base_mr1 was used instead of __emac4_calc_base_mr1 by copy-paste mistake for emac4syn. Fixes: 45d6e5455

[PATCH 4.18 077/168] mm: madvise(MADV_DODUMP): allow hugetlbfs pages

2018-10-08 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Black commit d41aa5252394c065d1f04d1ceea885b70d00c9c6 upstream. Reproducer, assuming 2M of hugetlbfs available: Hugetlbfs mounted, size=2M and option user=testuser # mount | grep ^h

[PATCH 4.18 039/168] mac80211: always account for A-MSDU header changes

2018-10-08 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Berg [ Upstream commit aa58acf325b4aadeecae2bfc90658273b47dbace ] In the error path of changing the SKB headroom of the second A-MSDU subframe, we would not account for the already-ch

[PATCH 4.18 013/168] bpf, sockmap: fix psock refcount leak in bpf_tcp_recvmsg

2018-10-08 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann [ Upstream commit 15c480efab01197c965ce0562a43ffedd852b8f9 ] In bpf_tcp_recvmsg() we first took a reference on the psock, however once we find that there are skbs in the normal

[PATCH 4.18 011/168] scsi: aacraid: fix a signedness bug

2018-10-08 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter [ Upstream commit b9eb3b14f1dbf16bf27b6c1ffe6b8c00ec945c9b ] The problem is that ->reset_state is a u8 but it can be set to -1 or -2 in aac_tmf_callback() and the error handling

[PATCH 4.18 012/168] bpf, sockmap: fix potential use after free in bpf_tcp_close

2018-10-08 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann [ Upstream commit e06fa9c16ce4b740996189fa5610eabcee734e6c ] bpf_tcp_close() we pop the psock linkage to a map via psock_map_pop(). A parallel update on the sock hash map can h

[PATCH 4.14 87/94] crypto: mxs-dcp - Fix wait logic on chan threads

2018-10-08 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Leonard Crestez commit d80771c08363ad7fbf0f56f5301e7ca65065c582 upstream. When compiling with CONFIG_DEBUG_ATOMIC_SLEEP=y the mxs-dcp driver prints warnings such as: WARNING: CPU: 0 PID: 120

[resend PATCH] MAINTAINERS: Clarify UIO vs UACCESS maintainer

2018-10-08 Thread Dan Williams
The UIO file mask in MAINTAINERS was incorrectly directing UACCESS (include/linux/uio.h) patches to Greg. Tag Al as the UACCESS maintainer as Ingo and others have explicitly required his ack before taking architecture patches that touch lib/iov_iter.c. Cc: Al Viro Reported-by: Greg Kroah-Hartman

Re: [RFC v4 1/1] ns: add binfmt_misc to the user namespace

2018-10-08 Thread Laurent Vivier
Le 08/10/2018 à 13:26, Jann Horn a écrit : > On Sat, Oct 6, 2018 at 9:36 PM Laurent Vivier wrote: >> This patch allows to have a different binfmt_misc configuration >> for each new user namespace. By default, the binfmt_misc configuration >> is the one of the previous level, but if the binfmt_misc

[PATCH 4.14 31/94] fs/cifs: dont translate SFM_SLASH (U+F026) to backslash

2018-10-08 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Jon Kuhn [ Upstream commit c15e3f19a6d5c89b1209dc94b40e568177cb0921 ] When a Mac client saves an item containing a backslash to a file server the backslash is represented in the CIFS/SMB proto

[PATCH 4.14 52/94] netfilter: nf_tables: release chain in flushing set

2018-10-08 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Taehee Yoo [ Upstream commit 7acfda539c0b9636a58bfee56abfb3aeee806d96 ] When element of verdict map is deleted, the delete routine should release chain. however, flush element of verdict map r

[PATCH 4.14 48/94] scsi: qedi: Add the CRC size within iSCSI NVM image

2018-10-08 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Nilesh Javali [ Upstream commit c77a2fa3ff8f73d1a485e67e6f81c64823739d59 ] The QED driver commit, 1ac4329a1cff ("qed: Add configuration information to register dump and debug data"), removes t

[PATCH 4.14 06/94] mac80211_hwsim: require at least one channel

2018-10-08 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Berg [ Upstream commit 484004339d4514fde425f6e8a9f6a6cc979bb0c3 ] Syzbot continues to try to create mac80211_hwsim radios, and manages to pass parameters that are later checked with W

[PATCH 4.14 12/94] gpio: adp5588: Fix sleep-in-atomic-context bug

2018-10-08 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Michael Hennerich [ Upstream commit 6537886cdc9a637711fd6da980dbb87c2c87c9aa ] This fixes: [BUG] gpio: gpio-adp5588: A possible sleep-in-atomic-context bug in adp5588

Re: [PATCH v7 3/6] seccomp: add a way to get a listener fd from ptrace

2018-10-08 Thread Christian Brauner
On Mon, Oct 08, 2018 at 12:00:43PM -0600, Tycho Andersen wrote: > On Mon, Oct 08, 2018 at 05:16:30PM +0200, Christian Brauner wrote: > > On Thu, Sep 27, 2018 at 09:11:16AM -0600, Tycho Andersen wrote: > > > As an alternative to SECCOMP_FILTER_FLAG_GET_LISTENER, perhaps a ptrace() > > > version whic

Re: [PATCH AUTOSEL 4.18 24/58] Input: atakbd - fix Atari CapsLock behaviour

2018-10-08 Thread Michael Schmitz
Dmitry, someone on debian-68k reported the bug, which (to me) indicates that the code is not just used by me. Whether or not a functioning Capslock is essential to have? You be the judge of that. If you are OK with applying the keymap patch, why not this one? Debian will carry stable patch

Re: [PATCH v4 1/5] spi: spi-mem: Add driver for NXP FlexSPI controller

2018-10-08 Thread Boris Brezillon
On Mon, 8 Oct 2018 16:41:39 +0530 Yogesh Gaur wrote: > +/* Registers used by the driver */ > +#define FSPI_MCR00x00 > +#define FSPI_MCR0_AHB_TIMEOUT_MASK GENMASK(31, 24) > +#define FSPI_MCR0_IP_TIMEOUT_MASKGENMASK(23, 16) You never mask the IP_TIMEOUT val, so you don't

Re: [Ksummit-discuss] [PATCH 2/2] code-of-conduct: Strip the enforcement paragraph pending community discussion

2018-10-08 Thread Josh Triplett
On Mon, Oct 08, 2018 at 02:15:25PM -0400, Chris Mason wrote: > On 6 Oct 2018, at 17:37, James Bottomley wrote: > > Significant concern has been expressed about the responsibilities > > outlined in > > the enforcement clause of the new code of conduct. Since there is > > concern > > that this becom

[PATCH 4.9 31/59] perf probe powerpc: Ignore SyS symbols irrespective of endianness

2018-10-08 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Sandipan Das [ Upstream commit fa694160cca6dbba17c57dc7efec5f93feaf8795 ] This makes sure that the SyS symbols are ignored for any powerpc system, not just the big endian ones. Reported-by: Na

[PATCH 4.9 08/59] mac80211: mesh: fix HWMP sequence numbering to follow standard

2018-10-08 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Yuan-Chi Pang [ Upstream commit 1f631c3201fe5491808df143d8fcba81b3197ffd ] IEEE 802.11-2016 14.10.8.3 HWMP sequence numbering says: If it is a target mesh STA, it shall update its own HWMP SN t

[PATCH 4.9 04/59] KVM: PPC: Book3S HV: Dont truncate HPTE index in xlate function

2018-10-08 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Paul Mackerras [ Upstream commit 46dec40fb741f00f1864580130779aeeaf24fb3d ] This fixes a bug which causes guest virtual addresses to get translated to guest real addresses incorrectly when the

[PATCH 1/5] dt-bindings: pinctrl: Add devicetree constants for MT6797 SoC

2018-10-08 Thread Manivannan Sadhasivam
Add devicetree constants for Mediatek MT6797 SoC. Signed-off-by: Manivannan Sadhasivam --- include/dt-bindings/pinctrl/mt6797-pinfunc.h | 1368 ++ 1 file changed, 1368 insertions(+) create mode 100644 include/dt-bindings/pinctrl/mt6797-pinfunc.h diff --git a/include/dt-bindings

[PATCH 3/5] arm64: dts: mediatek: x20: Add pinmux support for UART1

2018-10-08 Thread Manivannan Sadhasivam
Add pinmux support for UART1 on MediatekX20 Development board based on Mediatek MT6797 SoC. Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/mediatek/mt6797-x20-dev.dts | 2 ++ arch/arm64/boot/dts/mediatek/mt6797.dtsi| 7 +++ 2 files changed, 9 insertions(+) diff --git a

[PATCH 4/5] pinctrl: mediatek: pinctrl-mtk-common-v2: Make eint_m u16

2018-10-08 Thread Manivannan Sadhasivam
For SoC's which lacks EINT support, U16_MAX is assigned to both eint_m and eint_n through macro NO_EINT_SUPPORT. This will generate integer overflow warning because eint_m is declared as u8 type. Hence modify the eint_m type to u16. Signed-off-by: Manivannan Sadhasivam --- drivers/pinctrl/mediat

[PATCH 2/5] arm64: dts: mediatek: mt6797: Add pinctrl support

2018-10-08 Thread Manivannan Sadhasivam
Add pinctrl support for Mediatek MT6797 SoC. Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/mediatek/mt6797.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt6797.dtsi b/arch/arm64/boot/dts/mediatek/mt6797.dtsi index 4beaa71107

[PATCH 0/5] Add initial pinctrl support for MT6797 SoC

2018-10-08 Thread Manivannan Sadhasivam
This patchset adds initial pinctrl support for Mediatek MT6797 SoC. The pinctrl driver is based on the vendor binding as like MT6765 and implements only GPIO and pinmux functionalities. The devicetree binding doc is not added because it does not exist for MT6765 and I'm not sure about the structur

[PATCH 5/5] pinctrl: mediatek: Add initial pinctrl driver for MT6797 SoC

2018-10-08 Thread Manivannan Sadhasivam
Add initial pinctrl driver for Mediatek MT6797 SoC supporting only GPIO and pinmux configurations. Signed-off-by: Manivannan Sadhasivam --- drivers/pinctrl/mediatek/Kconfig |7 + drivers/pinctrl/mediatek/Makefile |1 + drivers/pinctrl/mediatek/pinctrl-mt6797.c

[PATCH 4.4 077/113] gpio: adp5588: Fix sleep-in-atomic-context bug

2018-10-08 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Michael Hennerich [ Upstream commit 6537886cdc9a637711fd6da980dbb87c2c87c9aa ] This fixes: [BUG] gpio: gpio-adp5588: A possible sleep-in-atomic-context bug in adp5588_

[PATCH 4.4 075/113] mac80211: correct use of IEEE80211_VHT_CAP_RXSTBC_X

2018-10-08 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Danek Duvall [ Upstream commit 67d1ba8a6dc83d90cd58b89fa6cbf9ae35a0cf7f ] The mod mask for VHT capabilities intends to say that you can override the number of STBC receive streams, and it does,

URGENT RESPONSE.

2018-10-08 Thread Sean Kim.
Hello my dear. Did you receive my email message to you? Please, get back to me ASAP as the matter is becoming late. Expecting your urgent response. Sean.

[PATCH 4.4 036/113] HID: hid-ntrig: add error handling for sysfs_create_group

2018-10-08 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Zhouyang Jia [ Upstream commit 44d4d51de9a3534a2b63d69efda02a10e66541e4 ] When sysfs_create_group fails, the lack of error-handling code may cause unexpected results. This patch adds error-han

[PATCH 4.4 031/113] ALSA: hda: Add AZX_DCAPS_PM_RUNTIME for AMD Raven Ridge

2018-10-08 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Kai-Heng Feng [ Upstream commit 1adca4b0cd65c14cb8b8c9c257720385869c3d5f ] This patch can make audio controller in AMD Raven Ridge gets runtime suspended to D3, to save ~1W power when it's not

Re: [PATCH AUTOSEL 4.18 24/58] Input: atakbd - fix Atari CapsLock behaviour

2018-10-08 Thread Dmitry Torokhov
Hi Michael, On Mon, Oct 8, 2018 at 12:09 PM Michael Schmitz wrote: > > Dmitry, > > someone on debian-68k reported the bug, which (to me) indicates that the > code is not just used by me. > > Whether or not a functioning Capslock is essential to have? You be the > judge of that. If you are OK with

Re: [Ksummit-discuss] [PATCH 1/2] code-of-conduct: Fix the ambiguity about collecting email addresses

2018-10-08 Thread Mauro Carvalho Chehab
Em Mon, 08 Oct 2018 08:30:20 -0700 James Bottomley escreveu: > On Mon, 2018-10-08 at 08:20 -0700, Josh Triplett wrote: > > On Sat, Oct 06, 2018 at 02:36:39PM -0700, James Bottomley wrote: > > > The current code of conduct has an ambiguity in the it considers > > > publishing private information

Re: [Ksummit-discuss] [PATCH 1/2] code-of-conduct: Fix the ambiguity about collecting email addresses

2018-10-08 Thread Mauro Carvalho Chehab
Em Sat, 06 Oct 2018 14:36:39 -0700 James Bottomley escreveu: > From 4a614e9440148894207bef5bf69e74071baceb3b Mon Sep 17 00:00:00 2001 > From: James Bottomley > Date: Sat, 6 Oct 2018 14:21:56 -0700 > Subject: [PATCH 1/2] code-of-conduct: Fix the ambiguity about collecting email > addresses > >

Build regressions/improvements in v4.19-rc7

2018-10-08 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v4.19-rc7[1] compared to v4.18[2]. Summarized: - build errors: +5/-3 - build warnings: +14717/-255 JFYI, when comparing v4.19-rc7[1] to v4.19-rc6[3], the summaries are: - build errors: +0/-0 - build warnings: +374/-310

[PATCH v4 4/9] x86/kvm/mmu: introduce guest_mmu

2018-10-08 Thread Vitaly Kuznetsov
When EPT is used for nested guest we need to re-init MMU as shadow EPT MMU (nested_ept_init_mmu_context() does that). When we return back from L2 to L1 kvm_mmu_reset_context() in nested_vmx_load_cr3() resets MMU back to normal TDP mode. Add a special 'guest_mmu' so we can use separate root caches;

[PATCH v4 2/9] x86/kvm/mmu.c: set get_pdptr hook in kvm_init_shadow_ept_mmu()

2018-10-08 Thread Vitaly Kuznetsov
kvm_init_shadow_ept_mmu() doesn't set get_pdptr() hook and is this not a problem just because MMU context is already initialized and this hook points to kvm_pdptr_read(). As we're intended to use a dedicated MMU for shadow EPT MMU set this hook explicitly. Signed-off-by: Vitaly Kuznetsov Signed-o

[PATCH v4 0/9] x86/kvm/nVMX: optimize MMU switch between L1 and L2

2018-10-08 Thread Vitaly Kuznetsov
Change since v3 [Sean Christopherson]: - Add Reviewed-by tags (thanks!). - Drop stale role initializer in kvm_calc_shadow_ept_root_page_role (interim change in PATCH4, the end result is the same). - Use '!!' instead of '!= 0' for kvm_read_cr4_bits() readings. Also, rebased to the current kvm/que

[PATCH v4 3/9] x86/kvm/mmu.c: add kvm_mmu parameter to kvm_mmu_free_roots()

2018-10-08 Thread Vitaly Kuznetsov
Add an option to specify which MMU root we want to free. This will be used when nested and non-nested MMUs for L1 are split. Signed-off-by: Vitaly Kuznetsov Signed-off-by: Paolo Bonzini Reviewed-by: Sean Christopherson --- arch/x86/include/asm/kvm_host.h | 3 ++- arch/x86/kvm/mmu.c

[PATCH v4 1/9] x86/kvm/mmu: make vcpu->mmu a pointer to the current MMU

2018-10-08 Thread Vitaly Kuznetsov
As a preparation to full MMU split between L1 and L2 make vcpu->arch.mmu a pointer to the currently used mmu. For now, this is always vcpu->arch.root_mmu. No functional change. Signed-off-by: Vitaly Kuznetsov Signed-off-by: Paolo Bonzini Reviewed-by: Sean Christopherson --- arch/x86/include/as

[PATCH v4 7/9] x86/kvm/nVMX: introduce source data cache for kvm_init_shadow_ept_mmu()

2018-10-08 Thread Vitaly Kuznetsov
MMU re-initialization is expensive, in particular, update_permission_bitmask() and update_pkru_bitmask() are. Cache the data used to setup shadow EPT MMU and avoid full re-init when it is unchanged. Signed-off-by: Vitaly Kuznetsov Sean Christopherson --- Changes since v3: - Use '!!' instead of

Re: [PATCH] usbip: vhci_hcd: check port number before using

2018-10-08 Thread Shuah Khan
Hi Sudip, On 10/08/2018 01:19 PM, Sudip Mukherjee wrote: > From: Sudip Mukherjee > > The port number is checked and it just prints an error message but it > still continues to use the invalid port. And as a result it accesses > memory which is not its resulting in BUG report from KASAN. Yes th

[PATCH v4 6/9] x86/kvm/mmu: make space for source data caching in struct kvm_mmu

2018-10-08 Thread Vitaly Kuznetsov
In preparation to MMU reconfiguration avoidance we need a space to cache source data. As this partially intersects with kvm_mmu_page_role, create 64bit sized union kvm_mmu_role holding both base and extended data. No functional change. Signed-off-by: Vitaly Kuznetsov Reviewed-by: Sean Christopher

[PATCH v4 8/9] x86/kvm/mmu: check if tdp/shadow MMU reconfiguration is needed

2018-10-08 Thread Vitaly Kuznetsov
MMU reconfiguration in init_kvm_tdp_mmu()/kvm_init_shadow_mmu() can be avoided if the source data used to configure it didn't change; enhance MMU extended role with the required fields and consolidate common code in kvm_calc_mmu_role_common(). Signed-off-by: Vitaly Kuznetsov Reviewed-by: Sean Chr

[PATCH v4 5/9] x86/kvm/mmu: get rid of redundant kvm_mmu_setup()

2018-10-08 Thread Vitaly Kuznetsov
From: Paolo Bonzini Just inline the contents into the sole caller, kvm_init_mmu is now public. Suggested-by: Vitaly Kuznetsov Signed-off-by: Paolo Bonzini Reviewed-by: Sean Christopherson --- arch/x86/include/asm/kvm_host.h | 1 - arch/x86/kvm/mmu.c | 12 arch/x86/

[PATCH v4 9/9] x86/kvm/mmu: check if MMU reconfiguration is needed in init_kvm_nested_mmu()

2018-10-08 Thread Vitaly Kuznetsov
We don't use root page role for nested_mmu, however, optimizing out re-initialization in case nothing changed is still valuable as this is done for every nested vmentry. Signed-off-by: Vitaly Kuznetsov Reviewed-by: Sean Christopherson --- arch/x86/kvm/mmu.c | 6 ++ 1 file changed, 6 inserti

Re: [Ksummit-discuss] [PATCH 1/2] code-of-conduct: Fix the ambiguity about collecting email addresses

2018-10-08 Thread Mauro Carvalho Chehab
Em Mon, 8 Oct 2018 09:37:59 +1000 Dave Airlie escreveu: > On Mon, 8 Oct 2018 at 08:56, Al Viro wrote: > > > > On Mon, Oct 08, 2018 at 08:25:35AM +1000, Dave Airlie wrote: > > > > > This isn't a legally binding license or anything, but departing from > > > the upstream wording makes it tricker

Re: x86/mm: Found insecure W+X mapping at address (ptrval)/0xc00a0000

2018-10-08 Thread Thomas Gleixner
Paul, On Fri, 5 Oct 2018, Paul Menzel wrote: > On 10/05/18 11:27, Thomas Gleixner wrote: > > If pcibios is enabled and used, need to look at the gory details of that > > first, then the W+X check has to exclude that region. We can't do much > > about that. > > That would also explain, why it only

Re: [PATCH v6 1/5] tools, perf, script: Add --insn-trace for instruction decoding

2018-10-08 Thread Arnaldo Carvalho de Melo
Em Mon, Oct 08, 2018 at 11:41:15AM -0700, Andi Kleen escreveu: > > > +> git clone https://github.com/intelxed/mbuild.git mbuild > > > > > > +> git clone https://github.com/intelxed/xed

[PATCH 1/4] ALSA: hda/ca0132 - Fix microphone inconsistency issues

2018-10-08 Thread Connor McAdams
This patch fixes microphone inconsistency issues by adding a delay to each setup_defaults function. Without this, the microphone only works intermittently. Signed-off-by: Connor McAdams --- sound/pci/hda/patch_ca0132.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/sound/pci/hda/patch

[PATCH 0/4] Various cleanup + Mic Fix

2018-10-08 Thread Connor McAdams
This patch set fixes the microphone inconsistency issue, which means the microphone now works all the time on all of the cards I've tested (ZxR, Z, AE-5), along with the input effects. It also includes changes suggested by Takashi Sakamoto, I believe I did what he asked properly, but if I messed i

[PATCH 4/4] ALSA: hda/ca0132 - Fix input effect controls for desktop cards

2018-10-08 Thread Connor McAdams
This patch removes the echo cancellation control for desktop cards, and makes use of the special 0x47 SCP command for noise reduction. Signed-off-by: Connor McAdams --- sound/pci/hda/patch_ca0132.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sound/pci/hda/patch_ca

[PATCH 2/4] ALSA: hda/ca0132 - Clean up patch_ca0132()

2018-10-08 Thread Connor McAdams
This patch cleans up the patch_ca0132() function with suggestions from Takashi Sakamoto. Signed-off-by: Connor McAdams --- sound/pci/hda/patch_ca0132.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/sound/pci/hda/patch_ca0132.c b/sound/pci/hda/patch_ca0132.c i

[PATCH 3/4] ALSA: hda/ca0132 - Add error checking in ca0132_build_controls()

2018-10-08 Thread Connor McAdams
This patch adds error checking to functions creating controls inside of ca0132_build_controls(). Signed-off-by: Connor McAdams --- sound/pci/hda/patch_ca0132.c | 47 +--- 1 file changed, 35 insertions(+), 12 deletions(-) diff --git a/sound/pci/hda/patch_c

Re: [PATCH v3 3/3] infiniband/mm: convert put_page() to put_user_page*()

2018-10-08 Thread Jason Gunthorpe
On Fri, Oct 05, 2018 at 07:49:49PM -0700, john.hubb...@gmail.com wrote: > From: John Hubbard > > For code that retains pages via get_user_pages*(), > release those pages via the new put_user_page(), or > put_user_pages*(), instead of put_page() > > This prepares for eventually fixing the problem

Re: WARNING in __put_task_struct (2)

2018-10-08 Thread Jason Gunthorpe
On Mon, Oct 08, 2018 at 06:15:22PM +0200, Dmitry Vyukov wrote: > On Mon, Oct 8, 2018 at 6:12 PM, syzbot > wrote: > > Hello, > > > > syzbot found the following crash on: > > > > HEAD commit:ae16eea39a86 Add linux-next specific files for 20181008 > &

Re: [PATCH 4.14 66/94] dm thin metadata: try to avoid ever aborting transactions

2018-10-08 Thread Sudip Mukherjee
HI Greg, On Mon, Oct 8, 2018 at 8:06 PM Greg Kroah-Hartman wrote: > > 4.14-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Joe Thornber > > [ Upstream commit 3ab91828166895600efd9cdc3a0eb32001f7204a ] This has been fixed by a later commit

<    1   2   3   4   5   6   7   8   9   10   >