[PATCH 4.20 10/76] staging: erofs: fix race of initializing xattrs of a inode at the same time

2019-03-08 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Gao Xiang commit 62dc45979f3f8cb0ea67302a93bff686f0c46c5a upstream. In real scenario, there could be several threads accessing xattrs of the same xattr-uninitialized inode, and

[PATCH 5.0 38/46] xtensa: fix get_wchan

2019-03-08 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Max Filippov commit d90b88fd3653f1fb66ecc6571b860d5a5749fa56 upstream. Stack unwinding is implemented incorrectly in xtensa get_wchan: instead of extracting a0 and a1 registers from the spill

[PATCH 4.20 12/76] staging: erofs: compressed_pages should not be accessed again after freed

2019-03-08 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Gao Xiang commit af692e117cb8cd9d3d844d413095775abc1217f9 upstream. This patch resolves the following page use-after-free issue, z_erofs_vle_unzip: ... for (i = 0; i < nr_pages; ++i)

[PATCH 4.20 01/76] cpufreq: Use struct kobj_attribute instead of struct global_attr

2019-03-08 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Viresh Kumar commit 625c85a62cb7d3c79f6e16de3cfa972033658250 upstream. The cpufreq_global_kobject is created using kobject_create_and_add() helper, which assigns the kobj_type as

[PATCH 5.0 40/46] USB: serial: cp210x: fix GPIO in autosuspend

2019-03-08 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Karoly Pados commit 7b0b644b9aa2de5032db0f468fddca091d0b7b90 upstream. Current GPIO code in cp210x fails to take USB autosuspend into account, making it practically impossible to use GPIOs

[PATCH 5.0 41/46] Revert "selftests: firmware: add CONFIG_FW_LOADER_USER_HELPER_FALLBACK to config"

2019-03-08 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Luis Chamberlain commit d2b284d356e9758d2bafd505d482e3c9433ef424 upstream. This reverts commit 7492902e8d22b568463897fa967c0886764cf034. The commit tried to address an issue discovered by Dan

[PATCH 5.0 42/46] Revert "selftests: firmware: remove use of non-standard diff -Z option"

2019-03-08 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Luis Chamberlain commit 13ac7db09c914e4991a08b7ad578267d5cdd9856 upstream. This reverts commit f70b472e937bb659a7b7a14e64f07308e230888c. This breaks testing on Debian, and this patch was

[PATCH 5.0 09/46] staging: erofs: fix memleak of inodes shared xattr array

2019-03-08 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Sheng Yong commit 3b1b5291f79d040d549d7c746669fc30e8045b9b upstream. If it fails to read a shared xattr page, the inode's shared xattr array is not freed. The next time the inode's xattr is

[PATCH 5.0 46/46] exec: Fix mem leak in kernel_read_file

2019-03-08 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: YueHaibing commit f612acfae86af7ecad754ae6a46019be9da05b8e upstream. syzkaller report this: BUG: memory leak unreferenced object 0xc9000488d000 (size 9195520): comm "syz-executor.0", pid

[PATCH 5.0 39/46] gnss: sirf: fix premature wakeup interrupt enable

2019-03-08 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit 82f844c22588bf47132c82faeda50b6db473162c upstream. Make sure the receiver is powered (and booted) before enabling the wakeup interrupt to avoid spurious interrupts due to a

[PATCH 5.0 35/46] alpha: wire up io_pgetevents system call

2019-03-08 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit d012d1325ba523b8ef3e55ba79c943e220154fdc upstream. The io_pgetevents system call was added in linux-4.18 but has no entry for alpha: warning: #warning syscall

[PATCH 5.0 08/46] staging: erofs: fix fast symlink w/o xattr when fs xattr is on

2019-03-08 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Gao Xiang commit 7077fffcb0b0b65dc75e341306aeef4d0e7f2ec6 upstream. Currently, this will hit a BUG_ON for these symlinks as follows: - kernel message [ cut here ]

[PATCH 5.0 00/46] 5.0.1-stable review

2019-03-08 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 5.0.1 release. There are 46 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 Sun Mar 10 12:48:36 UTC 2019. Anything

[PATCH 5.0 31/46] tracing: Fix event filters and triggers to handle negative numbers

2019-03-08 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Pavel Tikhomirov commit 6a072128d262d2b98d31626906a96700d1fc11eb upstream. Then tracing syscall exit event it is extremely useful to filter exit codes equal to some negative value, to react

[PATCH 5.0 04/46] USB: serial: option: add Telit ME910 ECM composition

2019-03-08 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Daniele Palmas commit 6431866b6707d27151be381252d6eef13025cfce upstream. This patch adds Telit ME910 family ECM composition 0x1102. Signed-off-by: Daniele Palmas Cc: stable Signed-off-by:

[PATCH 5.0 07/46] driver core: Postpone DMA tear-down until after devres release

2019-03-08 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Geert Uytterhoeven commit 376991db4b6464e906d699ef07681e2ffa8ab08c upstream. When unbinding the (IOMMU-enabled) R-Car SATA device on Salvator-XS (R-Car H3 ES2.0), in preparation of rebinding

[PATCH 5.0 03/46] binder: create node flag to request senders security context

2019-03-08 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Todd Kjos commit ec74136ded792deed80780a2f8baf3521eeb72f9 upstream. To allow servers to verify client identity, allow a node flag to be set that causes the sender's security context to be

[PATCH 5.0 33/46] usb: xhci: Fix for Enabling USB ROLE SWITCH QUIRK on INTEL_SUNRISEPOINT_LP_XHCI

2019-03-08 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Balaji Manoharan commit 8fde481ef3674ae5ad0dbfef4df18ff507c5675a upstream. This fix enables USB role feature on intel commercial nuc platform which is based on Kabylake chipset.

[PATCH 5.0 06/46] USB: serial: ftdi_sio: add ID for Hjelmslund Electronics USB485

2019-03-08 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Mans Rullgard commit 8d7fa3d4ea3f0ca69554215e87411494e6346fdc upstream. This adds the USB ID of the Hjelmslund Electronics USB485 Iso stick. Signed-off-by: Mans Rullgard Cc: stable

[PATCH 5.0 24/46] qmi_wwan: Add support for Quectel EG12/EM12

2019-03-08 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Kristian Evensen [ Upstream commit 822e44b45eb991c63487c5e2ce7d636411870a8d ] Quectel EG12 (module)/EM12 (M.2 card) is a Cat. 12 LTE modem. The modem behaves in the same way as the EP06, so

[PATCH 5.0 29/46] x86/CPU/AMD: Set the CPB bit unconditionally on F17h

2019-03-08 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Jiaxun Yang commit 0237199186e7a4aa5310741f0a6498a20c820fd7 upstream. Some F17h models do not have CPB set in CPUID even though the CPU supports it. Set the feature bit unconditionally on all

[PATCH 5.0 28/46] tipc: fix RDM/DGRAM connect() regression

2019-03-08 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Erik Hugne [ Upstream commit 0e63208915a8d7590d0a6218dadb2a6a00ac705a ] Fix regression bug introduced in commit 365ad353c256 ("tipc: reduce risk of user starvation during link congestion")

[PATCH 5.0 25/46] sctp: call iov_iter_revert() after sending ABORT

2019-03-08 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Xin Long [ Upstream commit 901efe12318b1ea8d3e2c88a7b75ed6e6d5d7245 ] The user msg is also copied to the abort packet when doing SCTP_ABORT in sctp_sendmsg_check_sflags(). When SCTP_SENDALL is

[PATCH 5.0 22/46] net: sched: put back q.qlen into a single location

2019-03-08 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 46b1c18f9deb326a7e18348e668e4c7ab7c7458b ] In the series fc8b81a5981f ("Merge branch 'lockless-qdisc-series'") John made the assumption that the data path had no

[PATCH 5.0 15/46] staging: android: ashmem: Dont call fallocate() with ashmem_mutex held.

2019-03-08 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Tetsuo Handa commit fb4415a12632f0b9078a0aa80c16745d48fcfc74 upstream. syzbot is hitting lockdep warnings [1][2][3]. This patch tries to fix the warning by eliminating ashmem_shrink_scan() =>

[PATCH 5.0 20/46] net: dsa: mv8e6xxx: fix number of internal PHYs for 88E6x90 family

2019-03-08 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Heiner Kallweit [ Upstream commit 95150f29ae480276e76368cdf8a9524b5a96c0ca ] Ports 9 and 10 don't have internal PHY's but are (dependent on the version) SERDES/SGMII/XAUI/RXAUI ports. v2: -

[PATCH 5.0 19/46] net: dsa: mv88e6xxx: handle unknown duplex modes gracefully in mv88e6xxx_port_set_duplex

2019-03-08 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Heiner Kallweit [ Upstream commit c6195a8bdfc62a7cecf7df685e64847a4b700275 ] When testing another issue I faced the problem that mv88e6xxx_port_setup_mac() failed due to DUPLEX_UNKNOWN being

[PATCH 5.0 02/46] staging: erofs: fix mis-acted TAIL merging behavior

2019-03-08 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Gao Xiang commit a112152f6f3a2a88caa6f414d540bd49e406af60 upstream. EROFS has an optimized path called TAIL merging, which is designed to merge multiple reads and the corresponding

[PATCH 5.0 18/46] net: dsa: mv88e6xxx: add call to mv88e6xxx_ports_cmode_init to probe for new DSA framework

2019-03-08 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Heiner Kallweit [ Upstream commit 3acca1dd17060332cfab15693733cdaf9fba1c90 ] In the original patch I missed to add mv88e6xxx_ports_cmode_init() to the second probe function, the one for the

[PATCH 5.0 14/46] staging: android: ion: fix sys heap pools gfp_flags

2019-03-08 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Qing Xia commit 9bcf065e28122588a6cbee08cf847826dacbb438 upstream. In the first loop, gfp_flags will be modified to high_order_gfp_flags, and there will be no chance to change back to

[PATCH 5.0 17/46] ip6mr: Do not call __IP6_INC_STATS() from preemptible context

2019-03-08 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Ido Schimmel [ Upstream commit 87c11f1ddbbad38ad8bad47af133a8208985fbdf ] Similar to commit 44f49dd8b5a6 ("ipmr: fix possible race resulting from improper usage of IP_INC_STATS_BH() in

[PATCH 5.0 16/46] staging: android: ashmem: Avoid range_alloc() allocation with ashmem_mutex held.

2019-03-08 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Tetsuo Handa commit ecd182cbf4e107928077866399100228d2359c60 upstream. ashmem_pin() is calling range_shrink() without checking whether range_alloc() succeeded. Also, doing memory allocation

[PATCH 5.0 10/46] staging: erofs: fix race of initializing xattrs of a inode at the same time

2019-03-08 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Gao Xiang commit 62dc45979f3f8cb0ea67302a93bff686f0c46c5a upstream. In real scenario, there could be several threads accessing xattrs of the same xattr-uninitialized inode, and

[PATCH 5.0 01/46] cpufreq: Use struct kobj_attribute instead of struct global_attr

2019-03-08 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Viresh Kumar commit 625c85a62cb7d3c79f6e16de3cfa972033658250 upstream. The cpufreq_global_kobject is created using kobject_create_and_add() helper, which assigns the kobj_type as

[PATCH 5.0 12/46] staging: comedi: ni_660x: fix missing break in switch statement

2019-03-08 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Gustavo A. R. Silva commit 479826cc86118e0d87e5cefb3df5b748e0480924 upstream. Add missing break statement in order to prevent the code from falling through to the default case and return

[PATCH 5.0 13/46] staging: wilc1000: fix to set correct value for vif_num

2019-03-08 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Ajay Singh commit dda037057a572f5c82ac2499eb4e6fb17600ba3e upstream. Set correct value in '->vif_num' for the total number of interfaces and set '->idx' value using 'i'. Fixes: 735bb39ca3be

[PATCH 5.0 11/46] staging: erofs: fix illegal address access under memory pressure

2019-03-08 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Gao Xiang commit 1e5ceeab6929585512c63d05911d6657064abf7b upstream. Considering a read request with two decompressed file pages, If a decompression work cannot be started on the previous page

Re: [PATCH] ath11k: fix bugon.cocci warnings

2019-03-08 Thread Kalle Valo
Julia Lawall writes: > From: kbuild test robot > > Use BUG_ON instead of if condition followed by BUG. > > Generated by: scripts/coccinelle/misc/bugon.cocci > > Fixes: c105b7abf400 ("ath11k: collect DDR dump after fw crash") > CC: Venkateswara Naralasetty > Signed-off-by: kbuild test robot >

[PATCH net] rxrpc: Fix client call connect/disconnect race

2019-03-08 Thread David Howells
rxrpc_disconnect_client_call() reads the call's connection ID protocol value (call->cid) as part of that function's variable declarations. This is bad because it's not inside the locked section and so may race with someone granting use of the channel to the call. This manifests as an assertion

Re: [PATCH v2 2/3] dt-bindings: mmc: Add a new property disable-cqe-dcmd.

2019-03-08 Thread Adrian Hunter
On 7/03/19 10:43 AM, Christoph Muellner wrote: > This patch documents the new property disable-cqe-dcmd > for the Arasan eMMC 5.1 driver. > > Signed-off-by: Christoph Muellner > Signed-off-by: Philipp Tomsich > --- > Documentation/devicetree/bindings/mmc/arasan,sdhci.txt | 4 > 1 file

Re: [PATCH v2 1/3] mmc: sdhci-of-arasan: Add DTS property to disable DCMDs.

2019-03-08 Thread Adrian Hunter
On 7/03/19 10:43 AM, Christoph Muellner wrote: > Direct commands (DCMDs) are an optional feature of eMMC 5.1's command > queue engine (CQE). The Arasan eMMC 5.1 controller uses the CQHCI, > which exposes a control register bit to enable the feature. > The current implementation sets this bit

[PATCH v2 0/2] Enable Bluetooth functionality for wcn3998.

2019-03-08 Thread Harish Bandi
This patch series we add support for wcn3998 BT chip set. This new chipset is based from the wcn3990 with minimal power numbers. So here in this patch The major difference between wcn3990 and wcn3998 is only power numbers. where as init process and fw download is same with wcn3990.So we add new

[PATCH v2 2/2] dt-bindings: net: bluetooth: Add device tree bindings for QTI chip wcn3998

2019-03-08 Thread Harish Bandi
This patch enables regulators for the Qualcomm Bluetooth wcn3998 controller. Signed-off-by: Harish Bandi --- Changes in V2: - Removed the regulator values in dts. - Added new compatible for wcn3998. --- .../devicetree/bindings/net/qualcomm-bluetooth.txt| 15 +++ 1 file

[PATCH v2 1/2] Bluetooth: hci_qca: Added support for wcn3998

2019-03-08 Thread Harish Bandi
Added new compatible for wcn3998 and corresponding voltage and current values to wcn3998 compatible. Changed driver code to support wcn3998 Signed-off-by: Harish Bandi --- Changes in V2: - Removed the Reading of regulator values from dts. - Added new compatible for wcn3998. ---

[PATCH v1 2/5] scripts: mkdebian: allow renaming generated debian/rules via env

2019-03-08 Thread Enrico Weigelt, metux IT consult
Add new environment variable KDEB_RULES for controlling where the generated debian rules are written to. By defaults, it's debian/rules, but packagers might override it for providing their own rules file. Signed-off-by: Enrico Weigelt, metux IT consult --- scripts/package/mkdebian | 5 - 1

[PATCH v1 4/5] scripts: checkpatch.pl: don't complain that debian/rules is executable

2019-03-08 Thread Enrico Weigelt, metux IT consult
checkpatch.pl complains when adding executable "debian/rules", obviously a false alarm. Therefore add an exception for that. Signed-off-by: Enrico Weigelt, metux IT consult --- scripts/checkpatch.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/checkpatch.pl

[PATCH v1 1/5] Makefile: rules for printing kernel architecture and localversion

2019-03-08 Thread Enrico Weigelt, metux IT consult
trivial rule to print out the kernel arch and localversion, so external tools, like distro packagers, can easily get it. Signed-off-by: Enrico Weigelt, metux IT consult --- Makefile | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index f070e0d..95b50f8 100644 ---

Debian build polishing

2019-03-08 Thread Enrico Weigelt, metux IT consult
Hi folks, here're some patches for polishing up the Debian packaging stuff, so it can be directly used w/ usual Debian machinery like pbuilder, git-buildpackage, dck-buildpackage, etc. These expect debian/rules to exist in the unpacked/patched tree and drive the whole build. Currently 'make

[PATCH v1 5/5] debian: add generic rule file

2019-03-08 Thread Enrico Weigelt, metux IT consult
Adding a generic debian rule file, so we can build the directly via usual Debian package build tools (eg. git-buildpackage, dck-buildpackage, etc). It expects the .config file already placed in the source tree. The rule file contains a rule for creating debian/control and other metadata - this is

[PATCH v1 3/5] scripts: mkdebian: fix missing dependencies

2019-03-08 Thread Enrico Weigelt, metux IT consult
We missed some build dependencies in the generated debian/control file. Signed-off-by: Enrico Weigelt, metux IT consult --- scripts/package/mkdebian | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/package/mkdebian b/scripts/package/mkdebian index ff226be..1caaf0b

Re: [PATCH v7 1/4] can: m_can: Create a m_can platform framework

2019-03-08 Thread Dan Murphy
Wolfgang On 3/8/19 4:10 AM, Wolfgang Grandegger wrote: > Hallo Dan, > > Am 05.03.19 um 16:52 schrieb Dan Murphy: >> Create a m_can platform framework that peripherial >> devices can register to and use common code and register sets. >> The peripherial devices may provide read/write and

Re: [PATCH] hwspinlock: stm32: implement the relax() ops

2019-03-08 Thread Benjamin Gaignard
Le jeu. 7 mars 2019 à 16:42, Fabien Dessenne a écrit : > > Implement this optional ops, called by hwspinlock core while spinning on > a lock, between two successive invocations of trylock(). > > Signed-off-by: Fabien Dessenne Reviewed-by: Benjamin Gaignard > --- >

Re: [PATCH] Avoid that check_shl_overflow() triggers a compiler warning when building with W=1

2019-03-08 Thread Jason Gunthorpe
On Fri, Mar 08, 2019 at 08:58:21AM +0100, Rasmus Villemoes wrote: > On 08/03/2019 01.08, Bart Van Assche wrote: > > On Thu, 2019-03-07 at 08:18 +0100, Rasmus Villemoes wrote: > >> On 07/03/2019 03.14, Bart Van Assche wrote: > >>> On 3/6/19 5:24 PM, Jason Gunthorpe wrote: > > > > diff --git

Re: [RFC PATCH] perf: Paper over the hw.target problems

2019-03-08 Thread Alexander Shishkin
Xie XiuQi writes: > From: Cheng Jian > > Hi Alexander, Hi Cheng Jian, > I have tested this patch and merged into 4.19 stable branch, > syzkaller reported some new issues(WANRING), the C program > generated by syzkaller can inevitably reproduce the issue > (only in patched kernel). > > I put

[PATCH v2] arch_topology: Make cpu_capacity sysfs node as ready-only

2019-03-08 Thread Lingutla Chandrasekhar
If user updates any cpu's cpu_capacity, then the new value is going to be applied to all its online sibling cpus. But this need not to be correct always, as sibling cpus (in ARM, same micro architecture cpus) would have different cpu_capacity with different performance characteristics. So updating

[PATCH] mfd: cros_ec_dev: Add a poll handler to receive MKBP events

2019-03-08 Thread Enric Balletbo i Serra
From: Vincent Palatin Allow to poll on the cros_ec device to receive the MKBP events. The /dev/cros_[ec|fp|..] file operations now implements the poll operation. The userspace can now receive specific MKBP events by doing the following: - Open the /dev/cros_XX file. - Call the

[PATCH 4/4] Add support for SUNIX parallel card

2019-03-08 Thread Morris Ku
Driver for SUNIX Multi-I/O card device driver. Based on parport_pc.c, ppdev.c and lp.c by Linus Torvalds, Theodore Ts'o. Signed-off-by: Morris Ku --- char/snx/snx_devtable.c | 448 ++ char/snx/snx_ieee1284.c | 144 +++ char/snx/snx_ieee1284_ops.c | 258

Re: [PATCH v3] scripts/gdb: replace flags (MS_xyz -> SB_xyz)

2019-03-08 Thread Greg KH
On Tue, Mar 05, 2019 at 01:47:58PM -0800, Nick Desaulniers wrote: > On Tue, Mar 5, 2019 at 2:30 AM Kieran Bingham > wrote: > > > > From: Jackie Liu > > > > Since commit 1751e8a6cb93 ("Rename superblock flags (MS_xyz -> SB_xyz)"), > > scripts/gdb should be updated to replace MS_xyz with SB_xyz. >

[PATCH 3/4] Add header file,Kconfig and Makefile

2019-03-08 Thread Morris Ku
This patch add header file, Kconfig and Makefile. Signed-off-by: Morris Ku --- char/snx/Kconfig | 15 + char/snx/Makefile |9 + char/snx/driver_extd.h | 170 ++ char/snx/snx_common.h | 1157 char/snx/snx_lp.h | 126 +

[PATCH 2/4] Add SUNIX Multi-I/O card device driver

2019-03-08 Thread Morris Ku
Driver for SUNIX Multi-I/O card. Based on driver/char/serial.c by Linus Torvalds, Theodore Ts'o. SUNIX serial card designed with SUNIX UART controller and compatible with 16C950 UART specification. Signed-off-by: Morris Ku --- char/snx/snx_main.c | 1219 char/snx/snx_serial.c |

Re: [PATCH v7 2/4] can: m_can: Rename m_can_priv to m_can_classdev

2019-03-08 Thread Dan Murphy
Wolfgang On 3/8/19 4:25 AM, Wolfgang Grandegger wrote: > > > Am 05.03.19 um 16:52 schrieb Dan Murphy: >> Rename the common m_can_priv class structure to >> m_can_classdev as this is more descriptive. >> >> Signed-off-by: Dan Murphy >> --- >> >> v7 - Fixed remaining checkpatch issues, renamed

[PATCH 1/4] Add support for SUNIX Multi-I/O card

2019-03-08 Thread Morris Ku
Add Kconfig and Makefile entry. Signed-off-by: Morris Ku --- Kconfig | 2 ++ Makefile | 1 + 2 files changed, 3 insertions(+) diff --git a/Kconfig b/Kconfig index 4f9f9905..645dcc85 100644 --- a/Kconfig +++ b/Kconfig @@ -228,4 +228,6 @@ source "drivers/siox/Kconfig" source

Re: [PATCH] kallsyms: store type information in its own array

2019-03-08 Thread Jessica Yu
+++ Eugene Loh [07/03/19 15:37 -0800]: It's been 1.5 weeks. Could I get some feedback on this patch? Thanks. Apologies, I was on vacation the past week. Added some CC's from the last time we talked about overwriting the st_size/st_info Elf_Sym fields, in case anyone else has comments. On

Re: [PATCH V1 07/11] mmc: cqhci: add quirk for setting DCMD CMD_TIMING

2019-03-08 Thread Adrian Hunter
On 7/03/19 8:16 PM, Sowjanya Komatineni wrote: > >> On 3/6/2019 6:30 PM, Adrian Hunter wrote: >>> On 2/03/19 7:20 AM, Sowjanya Komatineni wrote: This patch adds a quirk for setting CMD_TIMING to 1 in descriptor for DCMD with R1B response type to allow the command to be sent to device

Re: [PATCH] pinctrl: mcp23s08: Allocate irq_chip dynamic

2019-03-08 Thread Jan Kundrát
On pátek 8. března 2019 10:15:50 CET, Linus Walleij wrote: On Tue, Mar 5, 2019 at 4:19 PM Jan Kundrát wrote: This commit should probably go to 5.0-stable and 4.20-stable as well I doubt that this commit is fixing a regression, but who knows... If I cherry-pick the following two commits to

Re: [RFC net-next 0/8] Introducing subdev bus and devlink extension

2019-03-08 Thread Kirti Wankhede
On 3/8/2019 4:01 AM, Parav Pandit wrote: > > >> -Original Message- >> From: Kirti Wankhede >> Sent: Thursday, March 7, 2019 4:02 PM >> To: Parav Pandit ; Jakub Kicinski >> >> Cc: Or Gerlitz ; net...@vger.kernel.org; linux- >> ker...@vger.kernel.org; michal.l...@markovi.net;

Re: [PATCH V1 09/11] mmc: cqhci: add CQHCI_SSC1 register CBC field mask

2019-03-08 Thread Adrian Hunter
On 2/03/19 7:20 AM, Sowjanya Komatineni wrote: > This patch adds define for CBC field mask of the register > CQHCI_SSC1. > > Signed-off-by: Sowjanya Komatineni Acked-by: Adrian Hunter > --- > drivers/mmc/host/cqhci.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git

Re: [PATCH 1/3] x86: apuv2: remove unused variable

2019-03-08 Thread Linus Walleij
On Fri, Mar 8, 2019 at 11:42 AM Enrico Weigelt, metux IT consult wrote: > On 08.03.19 10:11, Linus Walleij wrote: > > > As Torvalds did not yet pull the GPIO tree (maybe because of this > > and other bugs, who knows) I applied this to my GPIO tree for > > now. > > Great. I actually like it better

Re: [PATCH v2 08/15] ARM: shmobile: fix a leaked reference by adding missing of_node_put

2019-03-08 Thread Simon Horman
On Tue, Mar 05, 2019 at 07:33:59PM +0800, Wen Yang wrote: > The call to of_get_next_child returns a node pointer with refcount > incremented thus it must be explicitly decremented after the last > usage. > > Detected by coccinelle with the following warnings: >

Re: [PATCH 1/5] dt-bindings: connector: add optional properties for Type-B

2019-03-08 Thread Hans de Goede
Hi, On 08-03-19 07:13, Chunfeng Yun wrote: Add id-gpios, vbus-gpios, vbus-supply and pinctrl properties for usb-b-connector Signed-off-by: Chunfeng Yun --- .../devicetree/bindings/connector/usb-connector.txt| 10 ++ 1 file changed, 10 insertions(+) diff --git

Re: [PATCH] doc: add boot protocol 2.13 description to Documentation/x86/boot.txt

2019-03-08 Thread Daniel Kiper
On Fri, Mar 08, 2019 at 12:43:10PM +0100, Juergen Gross wrote: > Documentation/x86/boot.txt is missing protocol 2.13 description. > > Signed-off-by: Juergen Gross Reviewed-by: Daniel Kiper Daniel

Re: [PATCH v6 4/4] arm64: dts: imx8mq-evk: Enable audio codec wm8952

2019-03-08 Thread Fabio Estevam
On Fri, Mar 8, 2019 at 9:02 AM Daniel Baluta wrote: > > The main Audio DAC used on the EVK board is wm8952. > The EVK provides the MCLK to wm8952. > > Digital interface is SAI2 which includes three signals: > SYNC_CLK, BCLK and DACDAT. > > This patch sets: > * SAI2 pinctrl configuration >

Re: [PATCH v5] x86/gart/kcore: Exclude GART aperture from kcore

2019-03-08 Thread Jiri Bohac
On Fri, Mar 08, 2019 at 11:05:08AM +0800, Kairui Song wrote: > Suggested-by: Baoquan He > Signed-off-by: Kairui Song Reviewed-by: Jiri Bohac Thanks, -- Jiri Bohac SUSE Labs, Prague, Czechia

Re: [PATCH v6 3/4] arm64: dts: imx8mq: Add SAI2 node

2019-03-08 Thread Fabio Estevam
On Fri, Mar 8, 2019 at 9:02 AM Daniel Baluta wrote: > > SAI2 is part of AIPS-3 memory region. > > Signed-off-by: Daniel Baluta Reviewed-by: Fabio Estevam

Re: [PATCH v6 2/4] bindings: fsl-imx-sdma: Document fsl,imx8mq-sdma compatbile string

2019-03-08 Thread Fabio Estevam
On Fri, Mar 8, 2019 at 9:02 AM Daniel Baluta wrote: > > Add imx8mq sdma support. > > Reviewed-by: Rob Herring > Signed-off-by: Daniel Baluta Reviewed-by: Fabio Estevam

[PATCH v6 3/4] arm64: dts: imx8mq: Add SAI2 node

2019-03-08 Thread Daniel Baluta
SAI2 is part of AIPS-3 memory region. Signed-off-by: Daniel Baluta --- arch/arm64/boot/dts/freescale/imx8mq.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi index

[PATCH v6 4/4] arm64: dts: imx8mq-evk: Enable audio codec wm8952

2019-03-08 Thread Daniel Baluta
The main Audio DAC used on the EVK board is wm8952. The EVK provides the MCLK to wm8952. Digital interface is SAI2 which includes three signals: SYNC_CLK, BCLK and DACDAT. This patch sets: * SAI2 pinctrl configuration * clock hierarchy * wm8960 codec Then uses

[PATCH v6 1/4] arm64: dts: imx8mq: Add SDMA nodes

2019-03-08 Thread Daniel Baluta
SDMA1 is part of AIPS-3 region and SDMA2 is part of AIPS-1 region. Reviewed-by: Fabio Estevam Signed-off-by: Anson Huang [initial submit in i.MX internal tree] Signed-off-by: Daniel Baluta [adaptation for linux-next] --- arch/arm64/boot/dts/freescale/imx8mq.dtsi | 22 ++ 1

[PATCH v6 0/4] Enable wm8524 on i.MX8MQ-EVK

2019-03-08 Thread Daniel Baluta
On i.MX8MQ EVK we can start the party using the wm8524 codec which gets it's data through the SAI2 interface. In order to make it work this patch series enables the SDMA nodes, sets the correct pinctrl configuration and uses the simple card machine driver to put everything together. Changes

[PATCH v6 2/4] bindings: fsl-imx-sdma: Document fsl,imx8mq-sdma compatbile string

2019-03-08 Thread Daniel Baluta
Add imx8mq sdma support. Reviewed-by: Rob Herring Signed-off-by: Daniel Baluta --- Documentation/devicetree/bindings/dma/fsl-imx-sdma.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/dma/fsl-imx-sdma.txt

Re: [PATCH v8 2/2] pwm: sifive: Add a driver for SiFive SoC PWM

2019-03-08 Thread Uwe Kleine-König
Hello, On Fri, Mar 08, 2019 at 04:59:36PM +0530, Yash Shah wrote: > On Thu, Mar 7, 2019 at 8:57 PM Uwe Kleine-König > wrote: > > > +static int pwm_sifive_apply(struct pwm_chip *chip, struct pwm_device > > > *dev, > > > + struct pwm_state *state) > > > +{ > > > +

Re: [PATCH v6 5/7] gpu: ipu-v3: ipu-ic: Add support for limited range encoding

2019-03-08 Thread Philipp Zabel
On Thu, 2019-03-07 at 15:33 -0800, Steve Longerbeam wrote: > Add support for the following conversions: > > - YUV full-range to YUV limited-range > - YUV limited-range to YUV full-range > - YUV limited-range to RGB full-range > - RGB full-range to YUV limited-range > > The last two conversions

Re: [PATCH V1 03/11] mmc: sdhci: add support for post tuning process

2019-03-08 Thread Adrian Hunter
On 2/03/19 7:20 AM, Sowjanya Komatineni wrote: > This patch adds support for post tuning process needed for some hosts > to perform after successful completion of HW tuning. > > Signed-off-by: Sowjanya Komatineni > --- > drivers/mmc/host/sdhci.c | 6 +- > drivers/mmc/host/sdhci.h | 1 + > 2

Re: [PATCH 2/2] ARM: futex: make futex_detect_cmpxchg more reliable

2019-03-08 Thread Ard Biesheuvel
On Fri, 8 Mar 2019 at 11:58, Russell King - ARM Linux admin wrote: > > On Fri, Mar 08, 2019 at 11:45:21AM +0100, Ard Biesheuvel wrote: > > On Fri, 8 Mar 2019 at 11:34, Russell King - ARM Linux admin > > wrote: > > > > > > On Fri, Mar 08, 2019 at 11:08:40AM +0100, Ard Biesheuvel wrote: > > > > On

Re: [PATCH 2/2] ARM: futex: make futex_detect_cmpxchg more reliable

2019-03-08 Thread Dave Martin
oN fRI, Mar 08, 2019 at 11:45:21AM +0100, Ard Biesheuvel wrote: > On Fri, 8 Mar 2019 at 11:34, Russell King - ARM Linux admin > wrote: > > > > On Fri, Mar 08, 2019 at 11:08:40AM +0100, Ard Biesheuvel wrote: > > > On Fri, 8 Mar 2019 at 10:53, Russell King - ARM Linux admin > > > wrote: > > > > >

Re: [RFC][Patch v9 0/6] KVM: Guest Free Page Hinting

2019-03-08 Thread David Hildenbrand
On 08.03.19 03:24, Michael S. Tsirkin wrote: > On Thu, Mar 07, 2019 at 08:27:32PM +0100, David Hildenbrand wrote: >> On 07.03.19 19:53, Michael S. Tsirkin wrote: >>> On Thu, Mar 07, 2019 at 10:45:58AM -0800, Alexander Duyck wrote: To that end what I think w may want to do is instead just walk

Re: [PATCH v4 5/5] arm64: dts: imx8mq-evk: Enable wm8524 codec

2019-03-08 Thread Daniel Baluta
On Fri, Mar 8, 2019 at 12:32 PM Fabio Estevam wrote: > > Hi Daniel, > > On Fri, Mar 1, 2019 at 12:53 PM Daniel Baluta wrote: > > > They are used by simple-card.c machine driver. > > > > asoc_simple_card_parse_clk > > -> /* Parse dai->sysclk come from "clocks = <>" */ > > clk =

Re: [PATCH V1 02/11] mmc: sdhci: allow host to specify maximum tuning loops

2019-03-08 Thread Adrian Hunter
On 2/03/19 7:20 AM, Sowjanya Komatineni wrote: > As per the Host Controller Standard Specification Version 4.20, > limitation of tuning iteration count is removed as PLL locking > time can be longer than UHS-1 tuning due to larger PVT fluctuation > and it will result in increase of tuning

Re: [PATCH 5/7] drivers: firmware: psci: Simplify state node parsing

2019-03-08 Thread Lorenzo Pieralisi
On Fri, Mar 08, 2019 at 11:36:49AM +0100, Ulf Hansson wrote: [...] > Instead, my suggestion is according to what I propose in patch 4 and > $subject patch, which means minor adjustments to be able to pass the > struct cpuidle_driver * to the init functions. This, I need it for > next steps, but

Re: [PATCH v6 3/7] gpu: ipu-v3: ipu-ic: Fully describe colorspace conversions

2019-03-08 Thread Philipp Zabel
On Thu, 2019-03-07 at 15:33 -0800, Steve Longerbeam wrote: > Only providing the input and output RGB/YUV space to the IC task init > functions is not sufficient. To fully characterize a colorspace > conversion, the colorspace (chromaticities), Y'CbCr encoding standard, > and quantization also need

Re: [PATCH V1 01/11] mmc: tegra: fix ddr signaling for non-ddr modes

2019-03-08 Thread Adrian Hunter
On 2/03/19 7:20 AM, Sowjanya Komatineni wrote: > ddr_signaling is set to true for DDR50 and DDR52 modes but is > not set back to false for other modes. This programs incorrect > host clock when mode change happens from DDR52/DDR50 to other > SDR or HS modes like incase of mmc_retune where it

Re: [PATCH v1] arch_topology: Make cpu_capacity sysfs node as ready-only

2019-03-08 Thread Dietmar Eggemann
On 3/6/19 4:27 PM, Lingutla Chandrasekhar wrote: [...] @@ -51,37 +50,7 @@ static ssize_t cpu_capacity_show(struct device *dev, static void update_topology_flags_workfn(struct work_struct *work); static DECLARE_WORK(update_topology_flags_work, update_topology_flags_workfn); -static

[PATCH] doc: add boot protocol 2.13 description to Documentation/x86/boot.txt

2019-03-08 Thread Juergen Gross
Documentation/x86/boot.txt is missing protocol 2.13 description. Signed-off-by: Juergen Gross --- Documentation/x86/boot.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/x86/boot.txt b/Documentation/x86/boot.txt index f4c2a97bfdbd..223e484a1304 100644 ---

RE: [RFC v1 0/2] vfio/pci: wrap pci device as mdev with vfio-pci driver

2019-03-08 Thread Liu, Yi L
> From: Alex Williamson [mailto:alex.william...@redhat.com] > Sent: Friday, March 8, 2019 4:40 AM > To: Liu, Yi L > Cc: kwankh...@nvidia.com; Tian, Kevin ; > baolu...@linux.intel.com; j...@8bytes.org; jean-philippe.bruc...@arm.com; > pet...@redhat.com; linux-kernel@vger.kernel.org; Sun, Yi Y >

Re: [PATCH v3 7/8] KVM:X86: Add XSS bit 11 and 12 support for CET xsaves/xrstors.

2019-03-08 Thread Paolo Bonzini
On 28/02/19 09:44, Yang Weijiang wrote: >>> if (!vmx_xsaves_supported()) >>> return 1; >>> + >>> /* >>> -* The only supported bit as of Skylake is bit 8, but >>> -* it is not supported on KVM. >>> +* Check bits being

Re: [PATCH v3 3/8] KVM:CPUID: Add CPUID support for Guest CET

2019-03-08 Thread Paolo Bonzini
On 25/02/19 14:27, Yang Weijiang wrote: > + compacted = entry[i].eax & > + (F(XSAVES) | F(XSAVEC)); > + entry[i].ebx = xstate_required_size(supported, > +

Re: [PATCH v8 2/2] pwm: sifive: Add a driver for SiFive SoC PWM

2019-03-08 Thread Yash Shah
On Thu, Mar 7, 2019 at 8:57 PM Uwe Kleine-König wrote: > > Hello, > > On Fri, Mar 01, 2019 at 04:23:19PM +0530, Yash Shah wrote: > > Adds a PWM driver for PWM chip present in SiFive's HiFive Unleashed SoC. > > > > Signed-off-by: Wesley W. Terpstra > > [Atish: Various fixes and code cleanup] > >

Re: [PATCH] i2c: mediatek: modify threshold passed to i2c_get_dma_safe_msg_buf()

2019-03-08 Thread Wolfram Sang
On Fri, Feb 22, 2019 at 02:04:11PM +0800, Hsin-Yi Wang wrote: > Thanks for the solution. > Previously we were testing if the driver can handle zero-length > transfer, but it turns out it will timeout. (Also checked this from > mtk's datasheet) > Adding original owner qii.wang to verify that. We'll

Re: [PATCH 2/8] aio_poll_wake(): don't set ->woken if we ignore the wakeup

2019-03-08 Thread zhengbin (A)
So, what should we do? On 2019/3/7 10:18, Al Viro wrote: > On Thu, Mar 07, 2019 at 12:03:10AM +, Al Viro wrote: >> From: Al Viro >> >> In case of early wakeups, aio_poll() assumes that aio_poll_complete() >> has either already happened or is imminent. In that case we do not >> want to put

[PATCH] lib: devres: devm_ioremap_resource() make res parameter const

2019-03-08 Thread Enrico Weigelt, metux IT consult
devm_ioremap_resource() doesn't change the passed struct resource, so it can be a const pointer. Now, calls sites w/ fixed resources can declare them static. (in some cases possibly even __initconst) Signed-off-by: Enrico Weigelt, metux IT consult --- include/linux/device.h | 3 ++-

<    3   4   5   6   7   8   9   10   >