[PATCH 3.18 15/21] sctp: fix dst refcnt leak in sctp_v6_get_dst()

2018-03-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Alexey Kodanev [ Upstream commit 957d761cf91cdbb175ad7d8f5472336a4d54dbf2 ] When going through the bind address list in sctp_v6_get_dst() and the previously found

[PATCH 3.18 17/21] s390/qeth: fix IPA command submission race

2018-03-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Julian Wiedmann [ Upstream commit d22ffb5a712f9211ffd104c38fc17cbfb1b5e2b0 ] If multiple IPA commands are build & sent out concurrently, fill_ipacmd_header() may

Re: [PATCH 4.4 00/36] 4.4.121-stable review

2018-03-09 Thread Nathan Chancellor
On Fri, Mar 09, 2018 at 04:18:16PM -0800, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.121 release. > There are 36 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

[PATCH 3.18 16/21] s390/qeth: fix SETIP command handling

2018-03-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Julian Wiedmann [ Upstream commit 1c5b2216fbb973a9410e0b06389740b5c1289171 ] send_control_data() applies some special handling to SETIP v4 IPA commands. But current

[PATCH 3.18 09/21] hdlc_ppp: carrier detect ok, dont turn off negotiation

2018-03-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Denis Du [ Upstream commit b6c3bad1ba83af1062a7ff6986d9edc4f3d7fc8e ] Sometimes when physical lines have a just good noise to make the protocol handshaking fail, but

[PATCH 3.18 13/21] ppp: prevent unregistered channels from connecting to PPP units

2018-03-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Guillaume Nault [ Upstream commit 77f840e3e5f09c6d7d727e85e6e08276dd813d11 ] PPP units don't hold any reference on the channels connected to it. It is the channel's

Re: [PATCH] proc: reject "." and ".." as filenames

2018-03-09 Thread Florian Westphal
Alexey Dobriyan wrote: > Various subsystems can create files and directories in /proc > with names directly controlled by userspace. > > Which means "/", "." and ".." are no-no. > > "/" split is already taken care of, do the other 2 prohibited names. Acked-by: Florian

[PATCH v4 07/24] ASoC: qdsp6: q6afe: Add q6afe driver

2018-03-09 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to Q6AFE (Audio Front End) module on Q6DSP. AFE module sits right at the other end of cpu where the codec/audio devices are connected. AFE provides abstraced interfaces to both hardware and virtual devices. Each

[PATCH v4 09/24] ASoC: qdsp6: q6afe: Add support to MI2S ports

2018-03-09 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to 4 MI2S ports on LPASS. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/qdsp6/q6afe.c | 228 +++ sound/soc/qcom/qdsp6/q6afe.h | 13

[PATCH v4 10/24] ASoC: qdsp6: q6afe: Add support to MI2S sysclks

2018-03-09 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to LPASS Bit clock, LPASS Digital core clock and OSR clock. These clocks are required for both MI2S and PCM setup. Signed-off-by: Srinivas Kandagatla ---

[PATCH v4 02/24] soc: qcom: Add APR bus driver

2018-03-09 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support toi APR bus (Asynchronous Packet Router) driver. ARP driver is made as a bus driver so that the apr devices can added removed more dynamically depending on the state of the services on the dsp. APR is used for

[PATCH v4 08/24] ASoC: qdsp6: qdafe: Add SLIMBus port Support

2018-03-09 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to 6 SLIMBus AFE ports, which are used as backend dais. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/qdsp6/q6afe.c | 129 +++

[PATCH v4 00/24] ASoC: qcom: Add support to QDSP based Audio

2018-03-09 Thread srinivas . kandagatla
From: Srinivas Kandagatla Thankyou everyone for providing feedback on v3 patchset. This patchset aims to provide a basic version of QCOM DSP based audio support which is available in downstream andriod kernels. This patchset support audio playback on HDMI-RX,

[PATCH v4 06/24] ASoC: qdsp6: dt-bindings: Add q6asm dt bindings

2018-03-09 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch add DT bindings for ASM (Audio Stream Manager) DSP module. Signed-off-by: Srinivas Kandagatla --- .../devicetree/bindings/sound/qcom,q6asm.txt | 34 ++

[PATCH v4 05/24] ASoC: qdsp6: dt-bindings: Add q6adm dt bindings

2018-03-09 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch add DT bindings for ADM (Audio Device Manager) DSP module. This module implements mixer controls to setup the connections between AFE ports and ASM streams. Signed-off-by: Srinivas Kandagatla

[PATCH net-next 08/12] net: hns3: fix for buffer overflow smatch warning

2018-03-09 Thread Peng Li
From: Yunsheng Lin This patch fixes the buffer overflow warning by refactoring hclgevf_bind_ring_to_vector and hclge_get_ring_chain_from_mbx. Fixes: e2cb1dec9779 ("net: hns3: Add HNS3 VF HCL(Hardware Compatibility Layer) Support") Fixes: dde1a86e93ca ("net: hns3: Add

Re: [PATCH 3/3] tracing: Rewrite filter logic to be simpler and faster

2018-03-09 Thread Steven Rostedt
On Fri, 09 Mar 2018 21:34:45 -0500 Steven Rostedt wrote: > 2 files changed, 1050 insertions(+), 1273 deletions(-) BTW, it's a bit bigger impact than 223 deletions. As I added a lot of comments to explain the logic better. Removing comments and white space from the

Re: [PATCH 2/2] watchdog: dw: save/restore control and timeout across suspend/resume

2018-03-09 Thread Guenter Roeck
On 03/09/2018 06:44 PM, Brian Norris wrote: Some platforms lose this state in suspend. It should be safe to do this unconditionally. Signed-off-by: Brian Norris Reviewed-by: Guenter Roeck --- drivers/watchdog/dw_wdt.c | 9 + 1 file

Re: [PATCH 3/3] tracing: Rewrite filter logic to be simpler and faster

2018-03-09 Thread Steven Rostedt
On Fri, 9 Mar 2018 22:15:23 -0500 Steven Rostedt wrote: > Sorry for the spam. A little more spam ;-) I know what happened, as I'm able to recreate it. For those that use claws-mail, be careful. I clicked on the email I wanted to reply to. Then I must have hit the down

Re: possible deadlock in get_user_pages_unlocked

2018-03-09 Thread Eric Biggers
On Fri, Feb 09, 2018 at 07:19:25PM -0800, Eric Biggers wrote: > Hi Al, > > On Sat, Feb 10, 2018 at 01:36:40AM +, Al Viro wrote: > > On Fri, Feb 02, 2018 at 09:57:27AM +0100, Dmitry Vyukov wrote: > > > > > syzbot tests for up to 5 minutes. However, if there is a race involved > > > then you

Re: [PATCH] rtc: s5m: Remove VLA usage

2018-03-09 Thread Gustavo A. R. Silva
Hi Krzysztof, On 03/09/2018 07:04 AM, Krzysztof Kozlowski wrote: On Thu, Mar 8, 2018 at 7:03 PM, Gustavo A. R. Silva wrote: On 03/08/2018 11:58 AM, Kees Cook wrote: On Thu, Mar 8, 2018 at 9:20 AM, Gustavo A. R. Silva wrote: In

Re: [RFC/RFT][PATCH v3 0/6] sched/cpuidle: Idle loop rework

2018-03-09 Thread Mike Galbraith
On Fri, 2018-03-09 at 10:34 +0100, Rafael J. Wysocki wrote: > Hi All, > > Thanks a lot for the discussion and testing so far! > > This is a total respin of the whole series, so please look at it afresh. > Patches 2 and 3 are the most similar to their previous versions, but > still they are

[GIT PULL] ARM: at91: DT for 4.17

2018-03-09 Thread Alexandre Belloni
Arnd, Olof, Not much this cycle, mainly changes on the Axentia boards from Peter and a cleanup from Bartosz. The following changes since commit 7928b2cbe55b2a410a0f5c1f154610059c57b1b2: Linux 4.16-rc1 (2018-02-11 15:04:29 -0800) are available in the Git repository at:

Re: [PATCH v2 0/3] drm: Add LVDS decoder bridge

2018-03-09 Thread Archit Taneja
Hi, On Friday 09 March 2018 07:21 PM, Jacopo Mondi wrote: Hello, after some discussion on the proposed bindings for generic lvds decoder and Thine THC63LVD1024, I decided to drop the THC63 specific part and just live with a transparent decoder that does not support any configuration from

[PATCH v5 01/11] dax: store pfns in the radix

2018-03-09 Thread Dan Williams
In preparation for examining the busy state of dax pages in the truncate path, switch from sectors to pfns in the radix. Cc: Jeff Moyer Cc: Christoph Hellwig Cc: Matthew Wilcox Cc: Ross Zwisler Reviewed-by:

[PATCH v5 00/11] dax: fix dma vs truncate/hole-punch

2018-03-09 Thread Dan Williams
Changes since v4 [1]: * Kill the DEFINE_FSDAX_AOPS macro and just open code new address_space_operations instances for each fs (Matthew, Jan, Dave, Christoph) * Rename routines that had a 'dma_' prefix with 'dax_layout_' and merge the dax-layout-break into xfs_break_layouts() (Dave,

[PATCH 2/2] drivers: android: binder: fixed a brace coding style issue

2018-03-09 Thread Vaibhav Murkute
Fixed a coding style issue. Signed-off-by: Vaibhav Murkute --- drivers/android/binder.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/android/binder.c b/drivers/android/binder.c index 764b63a5aade..2729bb75ca19 100644 ---

Re: [PATCH] proc: register filesystem last

2018-03-09 Thread Andrew Morton
On Sat, 10 Mar 2018 01:27:09 +0300 Alexey Dobriyan wrote: > As soon as register_filesystem() exits, filesystem can be mounted. > It is better to present fully operational /proc. > > Of course it doesn't matter because /proc is not modular > but do it anyway. > > Drop error

Re: [PATCH v11 8/8] perf: ARM DynamIQ Shared Unit PMU support

2018-03-09 Thread Saravana Kannan
On 03/09/2018 05:35 AM, Mark Rutland wrote: On Fri, Mar 09, 2018 at 10:53:14AM +, Suzuki K Poulose wrote: + Cc: Lorenzo, Charles. On 08/03/18 23:59, Saravana Kannan wrote: On 01/02/2018 03:25 AM, Suzuki K Poulose wrote: Add support for the Cluster PMU part of the ARM DynamIQ Shared Unit

Re: Nokia N900: refcount_t underflow, use after free

2018-03-09 Thread Suman Anna
On 03/09/2018 04:18 PM, Pavel Machek wrote: > On Fri 2018-03-09 16:13:36, Suman Anna wrote: >> On 03/09/2018 06:08 AM, Robin Murphy wrote: >>> On 08/03/18 18:50, Pavel Machek wrote: Hi! >> * Pavel Machek [180308 14:31]: >>> Hi! >>> >>> I'm getting this

ip6tables - last base chain position %u doesn't match underflow %u (hook %u

2018-03-09 Thread valdis . kletnieks
Am hitting an issue with this commit: commit 0d7df906a0e78079a02108b06d32c3ef2238ad25 Author: Florian Westphal Date: Tue Feb 27 19:42:37 2018 +0100 netfilter: x_tables: ensure last rule in base chain matches underflow/policy This trips on my system: [ 64.402790]

Re: [PATCH v4 03/10] drivers: qcom: rpmh-rsc: log RPMH requests in FTRACE

2018-03-09 Thread Steven Rostedt
On Fri, 9 Mar 2018 16:25:36 -0700 Lina Iyer wrote: > Log sent RPMH requests and interrupt responses in FTRACE. > > Cc: Steven Rostedt > Signed-off-by: Lina Iyer > --- > > Changes in v4: > - fix compilation issues, use

Re: [PATCH v2] kconfig: make unmet dependency warnings readable

2018-03-09 Thread Eugeniu Rosca
Hi Masahiro, Thanks for constantly improving the user experience of Kconfig. Just one small remark below. On Tue, Mar 06, 2018 at 07:51:39PM +0900, Masahiro Yamada wrote: > Currently, the unmet dependency warnings end up with endlessly long > expressions, most of which are false positives. > >

Re: [PATCH v3] kernel.h: Skip single-eval logic on literals in min()/max()

2018-03-09 Thread Andrew Morton
On Fri, 9 Mar 2018 12:05:36 -0800 Kees Cook wrote: > When max() is used in stack array size calculations from literal values > (e.g. "char foo[max(sizeof(struct1), sizeof(struct2))]", the compiler > thinks this is a dynamic calculation due to the single-eval logic, which >

[PATCH 4.9 11/65] timers: Forward timer base before migrating timers

2018-03-09 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Lingutla Chandrasekhar commit c52232a49e203a65a6e1a670cd5262f59e9364a0 upstream. On CPU hotunplug the enqueued timers of the unplugged CPU are migrated to a live CPU.

[PATCH 4.9 00/65] 4.9.87-stable review

2018-03-09 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.9.87 release. There are 65 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 Mon Mar 12 00:18:06 UTC 2018. Anything

[PATCH 4.9 17/65] media: m88ds3103: dont call a non-initalized function

2018-03-09 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Mauro Carvalho Chehab commit b9c97c67fd19262c002d94ced2bfb513083e161e upstream. If m88d3103 chip ID is not recognized, the device is not initialized. However, it

[PATCH 4.9 07/65] tpm-dev-common: Reject too short writes

2018-03-09 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Steffen commit ee70bc1e7b63ac8023c9ff9475d8741e397316e7 upstream. tpm_transmit() does not offer an explicit interface to indicate the number of valid

[PATCH 4.9 03/65] tpm_i2c_nuvoton: fix potential buffer overruns caused by bit glitches on the bus

2018-03-09 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Jeremy Boone commit f9d4d9b5a5ef2f017bc344fb65a58a902517173b upstream. Discrete TPMs are often connected over slow serial buses which, on some platforms, can have

[PATCH 4.4 27/36] sctp: fix dst refcnt leak in sctp_v4_get_dst

2018-03-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Tommi Rantala [ Upstream commit 4a31a6b19f9ddf498c81f5c9b089742b7472a6f8 ] Fix dst reference count leak in sctp_v4_get_dst() introduced in commit 410f03831 ("sctp:

[PATCH 4.9 19/65] ARM: mvebu: Fix broken PL310_ERRATA_753970 selects

2018-03-09 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Ulf Magnusson commit 8aa36a8dcde3183d84db7b0d622ffddcebb61077 upstream. The MACH_ARMADA_375 and MACH_ARMADA_38X boards select ARM_ERRATA_753970, but it was renamed to

[PATCH 4.9 13/65] cpufreq: s3c24xx: Fix broken s3c_cpufreq_init()

2018-03-09 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Viresh Kumar commit 0373ca74831b0f93cd4cdbf7ad3aec3c33a479a5 upstream. commit a307a1e6bc0d "cpufreq: s3c: use cpufreq_generic_init()" accidentally broke cpufreq on

[PATCH 4.9 43/65] mlxsw: spectrum_switchdev: Check success of FDB add operation

2018-03-09 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Shalom Toledo [ Upstream commit 0a8a1bf17e3af34f1f8d2368916a6327f8b3bfd5 ] Until now, we assumed that in case of error when adding FDB entries, the write operation will

[PATCH 4.9 46/65] rxrpc: Fix send in rxrpc_send_data_packet()

2018-03-09 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: David Howells [ Upstream commit 93c62c45ed5fad1b87e3a45835b251cd68de9c46 ] All the kernel_sendmsg() calls in rxrpc_send_data_packet() need to send both parts of the iov[]

[PATCH 4.9 35/65] hdlc_ppp: carrier detect ok, dont turn off negotiation

2018-03-09 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Denis Du [ Upstream commit b6c3bad1ba83af1062a7ff6986d9edc4f3d7fc8e ] Sometimes when physical lines have a just good noise to make the protocol handshaking fail, but the

[PATCH 4.9 51/65] s390/qeth: fix overestimated count of buffer elements

2018-03-09 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Julian Wiedmann [ Upstream commit 12472af89632beb1ed8dea29d4efe208ca05b06a ] qeth_get_elements_for_range() doesn't know how to handle a 0-length range (ie. start ==

[PATCH 4.9 09/65] ALSA: hda: Add a power_save blacklist

2018-03-09 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Hans de Goede commit 1ba8f9d308174e647b864c36209b4d7934d99888 upstream. On some boards setting power_save to a non 0 value leads to clicking / popping sounds when ever we

[PATCH 4.9 34/65] fib_semantics: Dont match route with mismatching tclassid

2018-03-09 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Stefano Brivio [ Upstream commit a8c6db1dfd1b1d18359241372bb204054f2c3174 ] In fib_nh_match(), if output interface or gateway are passed in the FIB configuration, we don't

Re: [PATCH v3] kernel.h: Skip single-eval logic on literals in min()/max()

2018-03-09 Thread Linus Torvalds
On Fri, Mar 9, 2018 at 4:32 PM, Andrew Morton wrote: > > I wonder which gcc versions actually accept Kees's addition. Note that we already do have this pattern, as seen by: git grep -2 __builtin_choose_expr | grep -2 __builtin_constant_p which show

[PATCH 4.9 08/65] ALSA: usb-audio: Add a quirck for B PX headphones

2018-03-09 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Erik Veijola commit 240a8af929c7c57dcde28682725b29cf8474e8e5 upstream. The capture interface doesn't work and the playback interface only supports 48 kHz sampling rate

Re: [PATCH v2 2/2] riscv/atomic: Strengthen implementations with fences

2018-03-09 Thread Daniel Lustig
On 3/9/2018 2:57 PM, Palmer Dabbelt wrote: > On Fri, 09 Mar 2018 13:30:08 PST (-0800), parri.and...@gmail.com wrote: >> On Fri, Mar 09, 2018 at 10:54:27AM -0800, Palmer Dabbelt wrote: >>> On Fri, 09 Mar 2018 10:36:44 PST (-0800), parri.and...@gmail.com wrote: >> >> [...] >> >>> >This proposal

[PATCH 4.9 33/65] bridge: check brport attr show in brport_show

2018-03-09 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Xin Long [ Upstream commit 1b12580af1d0677c3c3a19e35bfe5d59b03f737f ] Now br_sysfs_if file flush doesn't have attr show. To read it will cause kernel panic after users

[PATCH 4.9 05/65] tpm: constify transmit data pointers

2018-03-09 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit c37fbc09bd4977736f6bc4050c6f099c587052a7 upstream. Making cmd_getticks 'const' introduced a couple of harmless warnings: drivers/char/tpm/tpm_tis_core.c:

[PATCH 4.9 04/65] tpm_tis: fix potential buffer overruns caused by bit glitches on the bus

2018-03-09 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Jeremy Boone commit 6bb320ca4a4a7b5b3db8c8d7250cc40002046878 upstream. Discrete TPMs are often connected over slow serial buses which, on some platforms, can have

[PATCH 4.9 06/65] tpm_tis_spi: Use DMA-safe memory for SPI transfers

2018-03-09 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Steffen commit 6b3a13173f23e798e1ba213dd4a2c065a3b8d751 upstream. The buffers used as tx_buf/rx_buf in a SPI transfer need to be DMA-safe. This cannot

[PATCH v4 20/24] ASoC: qdsp6: q6asm: Add q6asm dai driver

2018-03-09 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to q6asm dai driver which configures Q6ASM streams to pass pcm data. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/Kconfig | 4 + sound/soc/qcom/qdsp6/Makefile

[PATCH v4 03/24] ASoC: qdsp6: q6common: Add qdsp6 helper functions

2018-03-09 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds some common helper functions like translating dsp error to linux error codes and channel mappings etc. These functions are used in all the following qdsp6 drivers. Signed-off-by: Srinivas Kandagatla

[PATCH v4 17/24] ASoC: qdsp6: q6routing: Add support to all SLIMBus Mixers

2018-03-09 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to SLIMBus related mixers to control mux between ASM stream and AFE port. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/qdsp6/q6routing.c | 261

[PATCH v4 22/24] ASoC: qcom: apq8096: Add db820c machine driver

2018-03-09 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to DB820c machine driver. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/Kconfig | 9 ++ sound/soc/qcom/Makefile | 2 + sound/soc/qcom/apq8096.c | 235

[PATCH v4 23/24] arm64: dts: db820c: add sound card dt entry

2018-03-09 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds a sound card entry for basic hdmi playback using adsp. Signed-off-by: Srinivas Kandagatla --- arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi | 34 +

[PATCH v4 24/24] MAINTAINERS: Add myself as co-maintainer of qcom audio

2018-03-09 Thread srinivas . kandagatla
From: Srinivas Kandagatla Add myself as co-maintainer of qcom audio drivers Signed-off-by: Srinivas Kandagatla --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index

[PATCH v4 21/24] ASoC: qdsp6: dt-bindings: Add apq8096 machine bindings

2018-03-09 Thread srinivas . kandagatla
From: Srinivas Kandagatla Add devicetree bindings documentation file for Qualcomm apq8096 sound card. Signed-off-by: Srinivas Kandagatla --- .../devicetree/bindings/sound/qcom,apq8096.txt | 80 ++ 1 file

[PATCH net-next 01/12] net: hns3: add existence check when remove old uc mac address

2018-03-09 Thread Peng Li
From: Fuyun Liang When driver is in initial state, the mac_vlan table table is empty. So the delete operation for mac address must fail. Existence check is needed here. Otherwise, the error message will make user confused. Fixes: 46a3df9f9718 ("net: hns3: Add HNS3

[PATCH net-next 04/12] net: hns3: unify the pause params setup function

2018-03-09 Thread Peng Li
From: Fuyun Liang Since the firmware cmd to setup mac pause params is the same as the firmware cmd to pfc pause params, this patch unifies the pause params setup function. Signed-off-by: Fuyun Liang Signed-off-by: Peng Li

[PATCH net-next 02/12] net: hns3: fix for netdev not running problem after calling net_stop and net_open

2018-03-09 Thread Peng Li
From: Fuyun Liang The link status update function is called by timer every second. But net_stop and net_open may be called with very short intervals. The link status update function can not detect the link state has changed. It causes the netdev not running problem. This

Re: [PATCH 3/3] tracing: Rewrite filter logic to be simpler and faster

2018-03-09 Thread Steven Rostedt
[ This time replying to the email I expected to ] On Fri, 09 Mar 2018 21:34:45 -0500 Steven Rostedt wrote: > 2 files changed, 1050 insertions(+), 1273 deletions(-) BTW, it's a bit bigger impact than 223 deletions. As I added a lot of comments to explain the logic

Re: [PATCH 1/2] watchdog: dw: RMW the control register

2018-03-09 Thread Brian Norris
Hi, On Fri, Mar 09, 2018 at 07:20:38PM -0800, Guenter Roeck wrote: > On 03/09/2018 06:44 PM, Brian Norris wrote: > > RK3399 has rst_pulse_length in CONTROL_REG[4:2], determining the length > > of pulse to issue for system reset. We shouldn't clobber this value, > > because that might make the

[PATCH v2 2/2] watchdog: dw: save/restore control and timeout across suspend/resume

2018-03-09 Thread Brian Norris
Some platforms lose this state in suspend. It should be safe to do this unconditionally. Signed-off-by: Brian Norris Reviewed-by: Guenter Roeck --- v2: no change --- drivers/watchdog/dw_wdt.c | 9 + 1 file changed, 9 insertions(+) diff

[PATCH v2 1/2] watchdog: dw: RMW the control register

2018-03-09 Thread Brian Norris
RK3399 has rst_pulse_length in CONTROL_REG[4:2], determining the length of pulse to issue for system reset. We shouldn't clobber this value, because that might make the system reset ineffective. On RK3399, we're seeing that a value of 000b (meaning 2 cycles) yields an unreliable (partial?) reset,

RE: [PATCH 2/2] e1000e: Fix link check race condition

2018-03-09 Thread Brown, Aaron F
> From: netdev-ow...@vger.kernel.org [mailto:netdev- > ow...@vger.kernel.org] On Behalf Of Benjamin Poirier > Sent: Monday, March 5, 2018 5:56 PM > To: Kirsher, Jeffrey T > Cc: Alexander Duyck ; Lennart Sorensen >

Re: [PATCH 3.18 00/21] 3.18.99-stable review

2018-03-09 Thread Shuah Khan
On 03/09/2018 05:18 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.18.99 release. > There are 21 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

[PATCH 2/2] rtc: s5m: Remove VLA usage

2018-03-09 Thread Gustavo A. R. Silva
In preparation to enabling -Wvla, remove VLAs and replace them with fixed-length arrays instead. >From a security viewpoint, the use of Variable Length Arrays can be a vector for stack overflow attacks. Also, in general, as the code evolves it is easy to lose track of how big a VLA can get. Thus,

Re: [PATCH v3] kernel.h: Skip single-eval logic on literals in min()/max()

2018-03-09 Thread Miguel Ojeda
On Sat, Mar 10, 2018 at 7:10 AM, Miguel Ojeda wrote: > On Sat, Mar 10, 2018 at 4:11 AM, Randy Dunlap wrote: >> On 03/09/2018 04:07 PM, Andrew Morton wrote: >>> On Fri, 9 Mar 2018 12:05:36 -0800 Kees Cook wrote: >>>

[PATCH v5 08/11] wait_bit: introduce {wait_on,wake_up}_atomic_one

2018-03-09 Thread Dan Williams
Add a generic facility for awaiting an atomic_t to reach a value of 1. Page reference counts typically need to reach 0 to be considered a free / inactive page. However, ZONE_DEVICE pages allocated via devm_memremap_pages() are never 'onlined', i.e. the put_page() typically done at init time to

[PATCH v5 02/11] xfs, dax: introduce xfs_dax_aops

2018-03-09 Thread Dan Williams
In preparation for the dax implementation to start associating dax pages to inodes via page->mapping, we need to provide a 'struct address_space_operations' instance for dax. Otherwise, direct-I/O triggers incorrect page cache assumptions and warnings like the following: WARNING: CPU: 27 PID:

[PATCH v5 04/11] ext2, dax: introduce ext2_dax_aops

2018-03-09 Thread Dan Williams
In preparation for the dax implementation to start associating dax pages to inodes via page->mapping, we need to provide a 'struct address_space_operations' instance for dax. Otherwise, direct-I/O triggers incorrect page cache assumptions and warnings. Cc: Jan Kara Signed-off-by:

[PATCH] vgacon: fix function prototypes

2018-03-09 Thread Joao Moreira
It is possible to indirectly invoke functions with prototypes that do not match those of the respectively used function pointers by using void types. Despite widely used as a feature for relaxing function invocation, this should be avoided when possible as it may prevent the use of heuristics such

RE: [RFC/RFT][PATCH v3 0/6] sched/cpuidle: Idle loop rework

2018-03-09 Thread Doug Smythies
On 2018.03.09 07:19 Rik van Riel wrote: > On Fri, 2018-03-09 at 10:34 +0100, Rafael J. Wysocki wrote: >> Hi All, >> >> Thanks a lot for the discussion and testing so far! >> >> This is a total respin of the whole series, so please look at it >> afresh. >> Patches 2 and 3 are the most similar to

[tip:x86/pti] x86/kprobes: Fix kernel crash when probing .entry_trampoline code

2018-03-09 Thread tip-bot for Francis Deslauriers
Commit-ID: c07a8f8b08ba683ea24f3ac9159f37ae94daf47f Gitweb: https://git.kernel.org/tip/c07a8f8b08ba683ea24f3ac9159f37ae94daf47f Author: Francis Deslauriers AuthorDate: Thu, 8 Mar 2018 22:18:12 -0500 Committer: Ingo Molnar CommitDate:

Re: [PATCH v3] kernel.h: Skip single-eval logic on literals in min()/max()

2018-03-09 Thread Miguel Ojeda
On Sat, Mar 10, 2018 at 4:11 AM, Randy Dunlap wrote: > On 03/09/2018 04:07 PM, Andrew Morton wrote: >> On Fri, 9 Mar 2018 12:05:36 -0800 Kees Cook wrote: >> >>> When max() is used in stack array size calculations from literal values >>> (e.g. "char

[PATCH 1/2] rtc: s5m: Move enum from rtc.h to rtc-s5m.c

2018-03-09 Thread Gustavo A. R. Silva
Move this enum to rtc-s5m.c once it is meaningless to others drivers [1]. [1] https://marc.info/?l=linux-rtc=152060068925948=2 Signed-off-by: Gustavo A. R. Silva --- drivers/rtc/rtc-s5m.c | 11 +++ include/linux/mfd/samsung/rtc.h | 11 --- 2

[PATCH 0/2] Remove VLA usage in rtc-s5m

2018-03-09 Thread Gustavo A. R. Silva
This patchset aims to remove VLA usage from rtc-s5m. The first patch moves an enum from rtc.h to rtc-s5m.c, as this is the only driver in which such enum is actually being used [1]. The second patch adds the enum name RTC_MAX_NUM_TIME_REGS, which will be used as a maximum length to the current

Re: [PATCH v2 3/3] ALSA: hda: Disabled unused audio controller for Dell platforms with Switchable Graphics

2018-03-09 Thread Lukas Wunner
On Fri, Mar 09, 2018 at 05:30:15PM +0800, Kai Heng Feng wrote: > >On Thursday 08 March 2018 17:10:23 Kai-Heng Feng wrote: > >>Some Dell platforms (Preicsion 7510/7710/7520/7720) have a BIOS option > >>"Switchable Graphics" (SG). > >> > >>When SG is enabled, we have: > >>00:02.0 VGA compatible

Re: [PATCH] x86, powerpc : pkey-mprotect must allow pkey-0

2018-03-09 Thread Dave Hansen
On 03/09/2018 09:55 PM, Ram Pai wrote: > On Fri, Mar 09, 2018 at 02:40:32PM -0800, Dave Hansen wrote: >> On 03/09/2018 12:12 AM, Ram Pai wrote: >>> Once an address range is associated with an allocated pkey, it cannot be >>> reverted back to key-0. There is no valid reason for the above behavior.

Re: [PATCH 4.14 1/4] powerpc/mm/slice: Remove intermediate bitmap copy

2018-03-09 Thread christophe leroy
, it is there https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/arch/powerpc/mm/slice.c?h=next-20180309=326691ad4f179e6edc7eb1271e618dd673e4736d The id seems to be exactly the same. Christophe thanks, greg k-h --- L'absence de virus dans ce courrier électronique a été vérifiée par

Re: KASAN: use-after-free Read in sctp_association_free (2)

2018-03-09 Thread Xin Long
On Sat, Mar 10, 2018 at 6:08 AM, Neil Horman wrote: > On Fri, Mar 09, 2018 at 12:59:06PM -0800, syzbot wrote: >> Hello, >> >> syzbot hit the following crash on net-next commit >> fd372a7a9e5e9d8011a0222d10edd3523abcd3b1 (Thu Mar 8 19:43:48 2018 +) >> Merge tag

[PATCH v5 06/11] mm, dax: enable filesystems to trigger dev_pagemap ->page_free callbacks

2018-03-09 Thread Dan Williams
In order to resolve collisions between filesystem operations and DMA to DAX mapped pages we need a callback when DMA completes. With a callback we can hold off filesystem operations while DMA is in-flight and then resume those operations when the last put_page() occurs on a DMA page. Recall that

[PATCH v5 03/11] ext4, dax: introduce ext4_dax_aops

2018-03-09 Thread Dan Williams
In preparation for the dax implementation to start associating dax pages to inodes via page->mapping, we need to provide a 'struct address_space_operations' instance for dax. Otherwise, direct-I/O triggers incorrect page cache assumptions and warnings. Cc: "Theodore Ts'o" Cc:

[PATCH v5 09/11] mm, fs, dax: handle layout changes to pinned dax mappings

2018-03-09 Thread Dan Williams
Background: get_user_pages() in the filesystem pins file backed memory pages for access by devices performing dma. However, it only pins the memory pages not the page-to-file offset association. If a file is truncated the pages are mapped out of the file and dma may continue indefinitely into a

[PATCH v5 07/11] mm, dev_pagemap: introduce CONFIG_DEV_PAGEMAP_OPS

2018-03-09 Thread Dan Williams
The HMM sub-system extended dev_pagemap to arrange a callback when a dev_pagemap managed page is freed. Since a dev_pagemap page is free / idle when its reference count is 1 it requires an additional branch to check the page-type at put_page() time. Given put_page() is a hot-path we do not want to

[PATCH v5 05/11] fs, dax: use page->mapping to warn if truncate collides with a busy page

2018-03-09 Thread Dan Williams
Catch cases where extent unmap operations encounter pages that are pinned / busy. Typically this is pinned pages that are under active dma. This warning is a canary for potential data corruption as truncated blocks could be allocated to a new file while the device is still performing i/o. Here is

[PATCH v5 11/11] xfs, dax: introduce xfs_break_dax_layouts()

2018-03-09 Thread Dan Williams
xfs_break_dax_layouts(), similar to xfs_break_leased_layouts(), scans for busy / pinned dax pages and waits for those pages to go idle before any potential extent unmap operation. dax_layout_busy_page() handles synchronizing against new page-busy events (get_user_pages). It invalidates all

[PATCH v5 10/11] xfs: prepare xfs_break_layouts() for another layout type

2018-03-09 Thread Dan Williams
When xfs is operating as the back-end of a pNFS block server, it prevents collisions between local and remote operations by requiring a lease to be held for remotely accessed blocks. Local filesystem operations break those leases before writing or mutating the extent map of the file. A similar

[PATCH v2] net: ipv6: xfrm6_state: remove VLA usage

2018-03-09 Thread Andreas Christoforou
The kernel would like to have all stack VLA usage removed[1]. Instead of dynamic allocation, just use XFRM_MAX_DEPTH as already done for the "class" array, but as per feedback, I will not drop maxclass because that changes the behavior. In one case, it'll do this loop up to 5, the other caller up

[PATCH 9/9] ARM: dts: sun7i: Add video engine support for the A20

2018-03-09 Thread Paul Kocialkowski
From: Thomas van Kleef The A20 has a video engine similare to the one in the A13. Add the device node in the A20. Signed-off-by: Thomas van Kleef Signed-off-by: Maxime Ripard --- arch/arm/boot/dts/sun7i-a20.dtsi | 47

[PATCH 3/9] v4l: Add sunxi Video Engine pixel format

2018-03-09 Thread Paul Kocialkowski
From: Florent Revest Add support for the allwinner's proprietary pixel format described in details here: http://linux-sunxi.org/File:Ve_tile_format_v1.pdf This format is similar to V4L2_PIX_FMT_NV12M but the planes are divided in tiles of 32x32px.

[PATCH v2] ARM: multi_v7_defconfig: enable CONFIG_DP83867_PHY

2018-03-09 Thread Daniel Schultz
This adds the driver for TI's DP83867 ethernet phy. Signed-off-by: Daniel Schultz --- Changes: v2: Re-submit with more recipients. Sorry, I only added Russell and vger in v1. arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff

[PATCH 3/9] perf tests: Add mem2node object test

2018-03-09 Thread Jiri Olsa
Adding mem2node object automated test. The test prepares few artificial node - memory maps and verifies the mem2node object returns proper node values to given addresses. Link: http://lkml.kernel.org/n/tip-17xdxr5k1zfca9o3fymow...@git.kernel.org Signed-off-by: Jiri Olsa ---

[PATCH 4/9] perf c2c record: Record physical addresses in samples

2018-03-09 Thread Jiri Olsa
We are going to display NUMA node information in following patches. For this we need to have physical address data in the sample. Adding --phys-data as a default option for perf c2c record. Link: http://lkml.kernel.org/n/tip-4d4lyozdbsknzqeny8kl1...@git.kernel.org Signed-off-by: Jiri Olsa

[PATCH 2/9] perf tools: Add mem2node object

2018-03-09 Thread Jiri Olsa
Adding mem2node object to allow the easy lookup of the node for the physical address. It has following interface: int mem2node__init(struct mem2node *map, struct perf_env *env); void mem2node__exit(struct mem2node *map); int mem2node__node(struct mem2node *map, u64 addr); The

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