Re: [tip:x86/urgent] x86/fpu/xstate: Fix xcomp_bv in XSAVES header

2017-02-16 Thread Greg Kroah-Hartman
On Tue, Feb 14, 2017 at 01:26:41PM -0800, Yu-cheng Yu wrote: > On Tue, Jan 24, 2017 at 12:46:17AM -0800, tip-bot for Yu-cheng Yu wrote: > > Commit-ID: dffba9a31c7769be3231c420d4b364c92ba3f1ac > > Gitweb: > > http://git.kernel.org/tip/dffba9a31c7769be3231c420d4b364c92ba3f1ac > > Author: Yu

Re: [PATCH v2 0/3] x86/vdso: Add Hyper-V TSC page clocksource support

2017-02-16 Thread Thomas Gleixner
On Wed, 15 Feb 2017, Vitaly Kuznetsov wrote: > Actually, we already have an implementation of TSC page update in KVM > (see arch/x86/kvm/hyperv.c, kvm_hv_setup_tsc_page()) and the update does > the following: > > 0) stash seq into seq_prev > 1) seq = 0 making all reads from the page invalid > 2) s

[PATCH v2 2/3] Input: synaptics - allocate a Synaptics Intertouch device

2017-02-16 Thread Benjamin Tissoires
Most of the Synaptics devices are connected through PS/2 and a different bus (SMBus or HID over I2C). The secondary bus capability is indicated by the InterTouch bit in extended capability 0x0C. When we encounter such a device, we can create a platform device with the information gathered through

[PATCH v2 0/3] Bind RMI4 over SMBus from PS/2

2017-02-16 Thread Benjamin Tissoires
Hi Dmitry, quoting your last email about this topic: > I think that by trying to "unwind" unsuccessful SMbus initialization you > make the code much more complicated and fragile. I think we should > select a path (PS/2 or SMbus) and commit to it. If we commit to SMBus > then we need to communicat

Re: [PATCH V3 2/7] mm: move MADV_FREE pages into LRU_INACTIVE_FILE list

2017-02-16 Thread Johannes Weiner
On Tue, Feb 14, 2017 at 11:36:08AM -0800, Shaohua Li wrote: > @@ -126,4 +126,24 @@ static __always_inline enum lru_list page_lru(struct > page *page) > > #define lru_to_page(head) (list_entry((head)->prev, struct page, lru)) > > +/* > + * lazyfree pages are clean anonymous pages. They have Sw

[PATCH 4.4 00/20] 4.4.50-stable review

2017-02-16 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.4.50 release. There are 20 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 Sat Feb 18 17:52:49 UTC 2017. Anything receive

Re: [PATCH v4 18/36] media: Add i.MX media core driver

2017-02-16 Thread Steve Longerbeam
On 02/16/2017 02:27 AM, Russell King - ARM Linux wrote: On Wed, Feb 15, 2017 at 06:19:20PM -0800, Steve Longerbeam wrote: Add the core media driver for i.MX SOC. Signed-off-by: Steve Longerbeam Just as I reported on the 30th January: Applying: media: Add i.MX media core driver .git/rebase-

[PATCH 4.4 10/20] tcp: avoid infinite loop in tcp_splice_read()

2017-02-16 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit ccf7abb93af09ad0868ae9033d1ca8108bdaec82 ] Splicing from TCP socket is vulnerable when a packet with URG flag is received and stored into receive queue. __tcp_s

[PATCH 4.4 06/20] ipv4: keep skb->dst around in presence of IP options

2017-02-16 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 34b2cef20f19c87999fff3da4071e66937db9644 ] Andrey Konovalov got crashes in __ip_options_echo() when a NULL skb->dst is accessed. ipv4_pktinfo_prepare() should n

[PATCH 4.4 15/20] sit: fix a double free on error path

2017-02-16 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: WANG Cong [ Upstream commit d7426c69a1942b2b9b709bf66b944ff09f561484 ] Dmitry reported a double free in sit_init_net(): kernel BUG at mm/percpu.c:689! invalid opcode: [#1] SMP KASAN

[PATCH 4.4 12/20] macvtap: read vnet_hdr_size once

2017-02-16 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Willem de Bruijn [ Upstream commit 837585a5375c38d40361cfe64e6fd11e1addb936 ] When IFF_VNET_HDR is enabled, a virtio_net header must precede data. Data length is verified to be greater than or

[PATCH 4.4 16/20] net: introduce device min_header_len

2017-02-16 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Willem de Bruijn [ Upstream commit 217e6fa24ce28ec87fca8da93c9016cb78028612 ] The stack must not pass packets to device drivers that are shorter than the minimum link layer header length. Pre

[PATCH 4.9 00/32] 4.9.11-stable review

2017-02-16 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.9.11 release. There are 32 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 Sat Feb 18 17:53:00 UTC 2017. Anything receive

[PATCH 4.9 17/32] rtl8150: Use heap buffers for all register access

2017-02-16 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings [ Upstream commit 7926aff5c57b577ab0f43364ff0c59d968f6a414 ] Allocating USB buffers on the stack is not portable, and no longer works on x86_64 (with VMAP_STACK enabled as per de

[PATCH 4.9 05/32] ipv6: pointer math error in ip6_tnl_parse_tlv_enc_lim()

2017-02-16 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter [ Upstream commit 63117f09c768be05a0bf465911297dc76394f686 ] Casting is a high precedence operation but "off" and "i" are in terms of bytes so we need to have some parenthesis he

[PATCH 4.4 05/20] net: use a work queue to defer net_disable_timestamp() work

2017-02-16 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 5fa8bbda38c668e56b0c6cdecced2eac2fe36dec ] Dmitry reported a warning [1] showing that we were calling net_disable_timestamp() -> static_key_slow_dec() from a non

Re: [tip:x86/urgent] x86/fpu/xstate: Fix xcomp_bv in XSAVES header

2017-02-16 Thread Yu-cheng Yu
On Thu, Feb 16, 2017 at 09:51:12AM -0800, Greg Kroah-Hartman wrote: > On Tue, Feb 14, 2017 at 01:26:41PM -0800, Yu-cheng Yu wrote: > > On Tue, Jan 24, 2017 at 12:46:17AM -0800, tip-bot for Yu-cheng Yu wrote: > > > Commit-ID: dffba9a31c7769be3231c420d4b364c92ba3f1ac > > > Gitweb: > > > http://

[PATCH 4.9 07/32] stmmac: Discard masked flags in interrupt status register

2017-02-16 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Alexey Brodkin [ Upstream commit 0a764db103376cf69d04449b10688f3516cc0b88 ] DW GMAC databook says the following about bits in "Register 15 (Interrupt Mask Register)": -

Re: [RFC 7/8] fpga-region: add sysfs interface

2017-02-16 Thread Jason Gunthorpe
On Thu, Feb 16, 2017 at 11:47:08AM -0600, Alan Tull wrote: > > Just to clarify: I was proposing using the binary format of dts, > > not actually requiring devicetree for it to work. There's plenty > > of people running u-boot on x86 using FIT images to boot. > > The FPGA images should not be requ

Re: [RFC PATCH v4 01/28] x86: Documentation for AMD Secure Memory Encryption (SME)

2017-02-16 Thread Borislav Petkov
Ok, this time detailed review :-) On Thu, Feb 16, 2017 at 09:42:11AM -0600, Tom Lendacky wrote: > This patch adds a Documenation entry to decribe the AMD Secure Memory > Encryption (SME) feature. Please introduce a spellchecker into your patch creation workflow. I see two typos in one line. Also

[PATCH 4.9 29/32] mld: do not remove mld souce list info when set link down

2017-02-16 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Hangbin Liu [ Upstream commit 1666d49e1d416fcc2cce708242a52fe3317ea8ba ] This is an IPv6 version of commit 24803f38a5c0 ("igmp: do not remove igmp souce list..."). In mld_del_delrec(), we will

[PATCH 4.9 04/32] ipv6: fix ip6_tnl_parse_tlv_enc_lim()

2017-02-16 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit fbfa743a9d2a0ffa24251764f10afc13eb21e739 ] This function suffers from multiple issues. First one is that pskb_may_pull() may reallocate skb->head, so the 'raw'

[PATCH 4.9 30/32] igmp, mld: Fix memory leak in igmpv3/mld_del_delrec()

2017-02-16 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Hangbin Liu [ Upstream commit 9c8bb163ae784be4f79ae504e78c862806087c54 ] In function igmpv3/mld_add_delrec() we allocate pmc and put it in idev->mc_tomb, so we should free it when we don't nee

[PATCH 4.9 31/32] tcp: fix mark propagation with fwmark_reflect enabled

2017-02-16 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Pau Espin Pedrol commit bf99b4ded5f8a4767dbb9d180626f06c51f9881f upstream. Otherwise, RST packets generated by the TCP stack for non-existing sockets always have mark 0. The mark from the origi

[PATCH 4.9 27/32] net: dsa: Do not destroy invalid network devices

2017-02-16 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Florian Fainelli [ Upstream commit 382e1eea2d983cd2343482c6a638f497bb44a636 ] dsa_slave_create() can fail, and dsa_user_port_unapply() will properly check for the network device not being NULL

[PATCH 4.9 09/32] ipv4: keep skb->dst around in presence of IP options

2017-02-16 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 34b2cef20f19c87999fff3da4071e66937db9644 ] Andrey Konovalov got crashes in __ip_options_echo() when a NULL skb->dst is accessed. ipv4_pktinfo_prepare() should n

[PATCH 4.9 06/32] tcp: fix 0 divide in __tcp_select_window()

2017-02-16 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 06425c308b92eaf60767bc71d359f4cbc7a561f8 ] syszkaller fuzzer was able to trigger a divide by zero, when TCP window scaling is not enabled. SO_RCVBUF can be used

[PATCH 4.9 24/32] net: introduce device min_header_len

2017-02-16 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Willem de Bruijn [ Upstream commit 217e6fa24ce28ec87fca8da93c9016cb78028612 ] The stack must not pass packets to device drivers that are shorter than the minimum link layer header length. Pre

[PATCH 4.9 08/32] net: use a work queue to defer net_disable_timestamp() work

2017-02-16 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 5fa8bbda38c668e56b0c6cdecced2eac2fe36dec ] Dmitry reported a warning [1] showing that we were calling net_disable_timestamp() -> static_key_slow_dec() from a non

[PATCH 4.9 26/32] ping: fix a null pointer dereference

2017-02-16 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: WANG Cong [ Upstream commit 73d2c6678e6c3af7e7a42b1e78cd0211782ade32 ] Andrey reported a kernel crash: general protection fault: [#1] SMP KASAN Dumping ftrace buffer: (ftrace bu

[PATCH 2/2] ARM: davinci_all_defconfig: enable IRQ support for pca953x

2017-02-16 Thread Bartosz Golaszewski
We need IRQs from the tca6416 expander for vpif capture to work on the da850-evm board. Signed-off-by: Bartosz Golaszewski --- arch/arm/configs/davinci_all_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/davinci_all_defconfig b/arch/arm/configs/davinci_all_defconf

[GIT PULL for v4.10] media fixes

2017-02-16 Thread Mauro Carvalho Chehab
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media tags/media/v4.10-5 >From a regression fix that makes the Siano driver to work again after the CONFIG_VMAP_STACK change. Regards, Mauro The following changes since commit 42980da2eb7eb9695d8efc0c0ef1

[PATCH 0/2] ARM: davinci_all_defconfig: enable modules required by vpif

2017-02-16 Thread Bartosz Golaszewski
The first patch enables the modules needed for vpif display. The second enables IRQ support for the pca953x driver needed for correct vpif capture support on the da850-evm board with the UI expander. Bartosz Golaszewski (2): ARM: davinci_all_defconfig: enable VPIF display modules ARM: davinci

[PATCH 4.9 12/32] ipv6: tcp: add a missing tcp_v6_restore_cb()

2017-02-16 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit ebf6c9cb23d7e56eec8575a88071dec97ad5c6e2 ] Dmitry reported use-after-free in ip6_datagram_recv_specific_ctl() A similar bug was fixed in commit 8ce48623f0cf ("i

[PATCH 4.9 03/32] net/sched: matchall: Fix configuration race

2017-02-16 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Yotam Gigi [ Upstream commit fd62d9f5c575f0792f150109f1fd24a0d4b3f854 ] In the current version, the matchall internal state is split into two structs: cls_matchall_head and cls_matchall_filter

Re: [PATCH 1/6] x86/platform/uv/BAU: Declare bau_operations struct after other BAU structs

2017-02-16 Thread Thomas Gleixner
On Tue, 14 Feb 2017, Andrew Banman wrote: > We must declare bau_operations after the other BAU structs so that we may > reference them in the bau_operations function declarations. This changelog is misleading. I really had to look twice to figure out that this is just a preparatory patch for addi

[PATCH 4.9 28/32] l2tp: do not use udp_ioctl()

2017-02-16 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 72fb96e7bdbbdd4421b0726992496531060f3636 ] udp_ioctl(), as its name suggests, is used by UDP protocols, but is also used by L2TP :( L2TP should use its own hand

[PATCH 4.9 02/32] net/mlx5e: Fix update of hash function/key via ethtool

2017-02-16 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Gal Pressman [ Upstream commit a100ff3eef193d2d79daf98dcd97a54776ffeb78 ] Modifying TIR hash should change selected fields bitmask in addition to the function and key. Formerly, Only on ethoo

[PATCH 4.9 20/32] mlx4: Invoke softirqs after napi_reschedule

2017-02-16 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Benjamin Poirier [ Upstream commit bd4ce941c8d5b862b2f83364be5dbe8fc8ab48f8 ] mlx4 may schedule napi from a workqueue. Afterwards, softirqs are not run in a deterministic time frame and the fo

[PATCH 4.9 21/32] sctp: avoid BUG_ON on sctp_wait_for_sndbuf

2017-02-16 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Marcelo Ricardo Leitner [ Upstream commit 2dcab598484185dea7ec22219c76dcdd59e3cb90 ] Alexander Popov reported that an application may trigger a BUG_ON in sctp_wait_for_sndbuf if the socket tx

[PATCH 4.9 25/32] packet: round up linear to header len

2017-02-16 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Willem de Bruijn [ Upstream commit 57031eb794906eea4e1c7b31dc1e2429c0af0c66 ] Link layer protocols may unconditionally pull headers, as Ethernet does in eth_type_trans. Ensure that the entire

[PATCH 4.9 23/32] sit: fix a double free on error path

2017-02-16 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: WANG Cong [ Upstream commit d7426c69a1942b2b9b709bf66b944ff09f561484 ] Dmitry reported a double free in sit_init_net(): kernel BUG at mm/percpu.c:689! invalid opcode: [#1] SMP KASAN

[PATCH 4.9 22/32] lwtunnel: valid encap attr check should return 0 when lwtunnel is disabled

2017-02-16 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: David Ahern [ Upstream commit 2bd137de531367fb573d90150d1872cb2a2095f7 ] An error was reported upgrading to 4.9.8: root@Typhoon:~# ip route add default table 210 nexthop dev eth0 via 10.6

[PATCH 4.9 13/32] tcp: avoid infinite loop in tcp_splice_read()

2017-02-16 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit ccf7abb93af09ad0868ae9033d1ca8108bdaec82 ] Splicing from TCP socket is vulnerable when a packet with URG flag is received and stored into receive queue. __tcp_s

[PATCH 4.9 19/32] catc: Use heap buffer for memory size test

2017-02-16 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings [ Upstream commit 2d6a0e9de03ee658a9adc3bfb2f0ca55dff1e478 ] Allocating USB buffers on the stack is not portable, and no longer works on x86_64 (with VMAP_STACK enabled as per de

[PATCH 4.9 15/32] macvtap: read vnet_hdr_size once

2017-02-16 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Willem de Bruijn [ Upstream commit 837585a5375c38d40361cfe64e6fd11e1addb936 ] When IFF_VNET_HDR is enabled, a virtio_net header must precede data. Data length is verified to be greater than or

[PATCH 4.9 01/32] can: Fix kernel panic at security_sock_rcv_skb

2017-02-16 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit f1712c73714088a7252d276a57126d56c7d37e64 ] Zhang Yanmin reported crashes [1] and provided a patch adding a synchronize_rcu() call in can_rx_unregister() The mai

[PATCH 4.9 32/32] net/mlx5: Dont unlock fte while still using it

2017-02-16 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Mark Bloch commit 0fd758d6112f867b2cc6df0f6a856048ff99b211 upstream. When adding a new rule to an fte, we need to hold the fte lock until we add that rule to the fte and increase the fte ref co

[PATCH 4.9 18/32] catc: Combine failure cleanup code in catc_probe()

2017-02-16 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings [ Upstream commit d41149145f98fe26dcd0bfd1d6cc095e6e041418 ] Signed-off-by: Ben Hutchings Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- drivers/net/usb

[PATCH 4.9 14/32] tun: read vnet_hdr_sz once

2017-02-16 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Willem de Bruijn [ Upstream commit e1edab87faf6ca30cd137e0795bc73aa9a9a22ec ] When IFF_VNET_HDR is enabled, a virtio_net header must precede data. Data length is verified to be greater than or

[PATCH 0/2] media: dt-bindings: extend the vpif bindings

2017-02-16 Thread Bartosz Golaszewski
The first patch just fixes a couple whitespace errors in the vpif bindings. The second extends the example with an output port since we want to support vpif display too. These patches were initially a part of a larger series. Resending separately with requested fixes i.e. removed the @0 from endp

[PATCH 4.9 10/32] netlabel: out of bound access in cipso_v4_validate()

2017-02-16 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit d71b7896886345c53ef1d84bda2bc758554f5d61 ] syzkaller found another out of bound access in ip_options_compile(), or more exactly in cipso_v4_validate() Fixes: 20

[PATCH 1/2] media: dt-bindings: vpif: fix whitespace errors

2017-02-16 Thread Bartosz Golaszewski
The examples have been copied from the DT with whitespace errors. Fix them. Signed-off-by: Bartosz Golaszewski Acked-by: Rob Herring --- Documentation/devicetree/bindings/media/ti,da850-vpif.txt | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Documentation/devic

[PATCH 4.4 08/20] ip6_gre: fix ip6gre_err() invalid reads

2017-02-16 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 7892032cfe67f4bde6fc2ee967e45a8fbaf33756 ] Andrey Konovalov reported out of bound accesses in ip6gre_err() If GRE flags contains GRE_KEY, the following expressi

[PATCH 4.4 19/20] l2tp: do not use udp_ioctl()

2017-02-16 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 72fb96e7bdbbdd4421b0726992496531060f3636 ] udp_ioctl(), as its name suggests, is used by UDP protocols, but is also used by L2TP :( L2TP should use its own hand

[PATCH 4.9 11/32] ip6_gre: fix ip6gre_err() invalid reads

2017-02-16 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 7892032cfe67f4bde6fc2ee967e45a8fbaf33756 ] Andrey Konovalov reported out of bound accesses in ip6gre_err() If GRE flags contains GRE_KEY, the following expressi

[PATCH 2/2] media: dt-bindings: vpif: extend the example with an output port

2017-02-16 Thread Bartosz Golaszewski
This makes the example more or less correspond with the da850-evm hardware setup. Signed-off-by: Bartosz Golaszewski --- .../devicetree/bindings/media/ti,da850-vpif.txt| 36 +- 1 file changed, 29 insertions(+), 7 deletions(-) diff --git a/Documentation/devicetree/binding

[PATCH 1/2] ARM: davinci_all_defconfig: enable VPIF display modules

2017-02-16 Thread Bartosz Golaszewski
Enable the VPIF display module and the video encoder present on the da850-evm UI board. Signed-off-by: Bartosz Golaszewski --- arch/arm/configs/davinci_all_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/configs/davinci_all_defconfig b/arch/arm/configs/davinci_all_defco

[PATCH 4.4 07/20] netlabel: out of bound access in cipso_v4_validate()

2017-02-16 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit d71b7896886345c53ef1d84bda2bc758554f5d61 ] syzkaller found another out of bound access in ip_options_compile(), or more exactly in cipso_v4_validate() Fixes: 20

[PATCH 4.4 20/20] tcp: fix mark propagation with fwmark_reflect enabled

2017-02-16 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Pau Espin Pedrol commit bf99b4ded5f8a4767dbb9d180626f06c51f9881f upstream. Otherwise, RST packets generated by the TCP stack for non-existing sockets always have mark 0. The mark from the origi

[PATCH 4.4 09/20] ipv6: tcp: add a missing tcp_v6_restore_cb()

2017-02-16 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit ebf6c9cb23d7e56eec8575a88071dec97ad5c6e2 ] Dmitry reported use-after-free in ip6_datagram_recv_specific_ctl() A similar bug was fixed in commit 8ce48623f0cf ("i

Re: [RT] lockdep munching nr_list_entries like popcorn

2017-02-16 Thread Mike Galbraith
On Thu, 2017-02-16 at 15:53 +0100, Sebastian Andrzej Siewior wrote: > On 2017-02-16 15:42:59 [+0100], Mike Galbraith wrote: > > > > Weeell, I'm trying to cobble something kinda like that together using > > __RT_SPIN_INITIALIZER() instead, but seems mean ole Mr. Compiler NAKs > > the PER_CPU_DEP_MA

[PATCH 4.4 04/20] tcp: fix 0 divide in __tcp_select_window()

2017-02-16 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 06425c308b92eaf60767bc71d359f4cbc7a561f8 ] syszkaller fuzzer was able to trigger a divide by zero, when TCP window scaling is not enabled. SO_RCVBUF can be used

[PATCH 4.4 18/20] ping: fix a null pointer dereference

2017-02-16 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: WANG Cong [ Upstream commit 73d2c6678e6c3af7e7a42b1e78cd0211782ade32 ] Andrey reported a kernel crash: general protection fault: [#1] SMP KASAN Dumping ftrace buffer: (ftrace bu

[PATCH 4.4 03/20] ipv6: pointer math error in ip6_tnl_parse_tlv_enc_lim()

2017-02-16 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter [ Upstream commit 63117f09c768be05a0bf465911297dc76394f686 ] Casting is a high precedence operation but "off" and "i" are in terms of bytes so we need to have some parenthesis he

[PATCH] media: vpif: use a configurable i2c_adapter_id for vpif display

2017-02-16 Thread Bartosz Golaszewski
The vpif display driver uses a static i2c adapter ID of 1 but on the da850-evm board in DT boot mode the i2c adapter ID is actually 0. Make the adapter ID configurable like it already is for vpif capture. Signed-off-by: Bartosz Golaszewski Acked-by: Kevin Hilman --- arch/arm/mach-davinci/board

Re: [PATCH 2/6] x86/platform/uv/BAU: Add status_mmr_loc to locate message status bits

2017-02-16 Thread Thomas Gleixner
On Tue, 14 Feb 2017, Andrew Banman wrote: > The location of the ERROR and BUSY status bits depends on the descriptor > index, i.e. the CPU, of the message. We determine this location ahead of > the wait_completion loop to avoid repeating the calculation. > > Split out the status location calculat

[PATCH 4.4 02/20] ipv6: fix ip6_tnl_parse_tlv_enc_lim()

2017-02-16 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit fbfa743a9d2a0ffa24251764f10afc13eb21e739 ] This function suffers from multiple issues. First one is that pskb_may_pull() may reallocate skb->head, so the 'raw'

Re: [PATCH v4 23/36] media: imx: Add MIPI CSI-2 Receiver subdev driver

2017-02-16 Thread Steve Longerbeam
On 02/16/2017 02:28 AM, Russell King - ARM Linux wrote: On Wed, Feb 15, 2017 at 06:19:25PM -0800, Steve Longerbeam wrote: Adds MIPI CSI-2 Receiver subdev driver. This subdev is required for sensors with a MIPI CSI2 interface. Signed-off-by: Steve Longerbeam Just like I reported on the 30th

[PATCH 4.4 13/20] mlx4: Invoke softirqs after napi_reschedule

2017-02-16 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Benjamin Poirier [ Upstream commit bd4ce941c8d5b862b2f83364be5dbe8fc8ab48f8 ] mlx4 may schedule napi from a workqueue. Afterwards, softirqs are not run in a deterministic time frame and the fo

[PATCH 4.4 17/20] packet: round up linear to header len

2017-02-16 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Willem de Bruijn [ Upstream commit 57031eb794906eea4e1c7b31dc1e2429c0af0c66 ] Link layer protocols may unconditionally pull headers, as Ethernet does in eth_type_trans. Ensure that the entire

[PATCH 4.4 11/20] tun: read vnet_hdr_sz once

2017-02-16 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Willem de Bruijn [ Upstream commit e1edab87faf6ca30cd137e0795bc73aa9a9a22ec ] When IFF_VNET_HDR is enabled, a virtio_net header must precede data. Data length is verified to be greater than or

[PATCH 4.4 01/20] can: Fix kernel panic at security_sock_rcv_skb

2017-02-16 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit f1712c73714088a7252d276a57126d56c7d37e64 ] Zhang Yanmin reported crashes [1] and provided a patch adding a synchronize_rcu() call in can_rx_unregister() The mai

[PATCH 4.4 14/20] sctp: avoid BUG_ON on sctp_wait_for_sndbuf

2017-02-16 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Marcelo Ricardo Leitner [ Upstream commit 2dcab598484185dea7ec22219c76dcdd59e3cb90 ] Alexander Popov reported that an application may trigger a BUG_ON in sctp_wait_for_sndbuf if the socket tx

Re: [PATCH 3/6] x86/platform/uv/BAU: Add wait_completion to bau_operations

2017-02-16 Thread Thomas Gleixner
On Tue, 14 Feb 2017, Andrew Banman wrote: > Remove the present wait_completion routine and add a function pointer by > the same name to the bau_operations struct. Rather than switching on the > UV hub version during message processing, set the architecture-specific > uv*_wait_completion during ini

Re: [RFC 7/8] fpga-region: add sysfs interface

2017-02-16 Thread Moritz Fischer
On Thu, Feb 16, 2017 at 9:56 AM, Jason Gunthorpe wrote: > On Thu, Feb 16, 2017 at 11:47:08AM -0600, Alan Tull wrote: > >> > Just to clarify: I was proposing using the binary format of dts, >> > not actually requiring devicetree for it to work. There's plenty >> > of people running u-boot on x86 us

Re: [RFC PATCH v4 03/28] x86: Add the Secure Memory Encryption CPU feature

2017-02-16 Thread Borislav Petkov
On Thu, Feb 16, 2017 at 09:42:36AM -0600, Tom Lendacky wrote: > Update the CPU features to include identifying and reporting on the > Secure Memory Encryption (SME) feature. SME is identified by CPUID > 0x801f, but requires BIOS support to enable it (set bit 23 of > SYS_CFG MSR). Only show th

Re: v4.10-rc8 (-rc6) boot regression on Intel desktop, does not boot after cold boots, boots after reboot

2017-02-16 Thread Frederic Weisbecker
On Thu, Feb 16, 2017 at 06:25:35PM +0100, Pavel Machek wrote: > Hi! > > > > > 4.10-rc4 broken > > > > 4.10-rc3 ok > > > > > > Hmm. If those actually end up being reliable, then there's not a whole > > > lot in between them wrt PCI or USB. > > > > > > What looked like the most likely candidate se

Re: [PATCH RFC 2/3] coresight: add support for debug module

2017-02-16 Thread Mathieu Poirier
On Wed, Feb 15, 2017 at 11:43:27AM +, Mark Rutland wrote: > On Mon, Feb 13, 2017 at 02:11:37PM +0800, Leo Yan wrote: > > Coresight includes debug module and usually the module connects with CPU > > debug logic. ARMv8 architecture reference manual (ARMv8-ARM) has defined > > the debug registers

Re: [PATCH v2] regulator: core: Resolve supplies before disabling unused regulators

2017-02-16 Thread Mark Brown
On Thu, Feb 16, 2017 at 02:30:02PM -0300, Javier Martinez Canillas wrote: > Changes in v2: > - Leave the supply resolve logic on regulator registration since is useful > for modules. ...I was just writing a mail asking whhy you'd removed that on v1. signature.asc Description: PGP signature

[PATCH 0/4] ARM: dts: da850-evm: vpif DT changes

2017-02-16 Thread Bartosz Golaszewski
This series adds necessary changes to make vpif work on the da850-evm board. The first patch only contains whitespace error fixes. The second patch add a pinctrl node for vpif display pins. The third patch extends the vpif node with an output port. The last patch adds the UI expander node and G

[PATCH 2/4] ARM: dts: da850: add vpif video display pins

2017-02-16 Thread Bartosz Golaszewski
Add a new pinctrl sub-node for vpif display pins. Move VP_CLKIN3 and VP_CLKIN2 to the display node where they actually belong (vide section 35.2.2 of the da850 datasheet). Signed-off-by: Bartosz Golaszewski --- arch/arm/boot/dts/da850-evm.dts | 2 +- arch/arm/boot/dts/da850.dtsi| 17 +++

[PATCH 4/4] ARM: dts: da850-evm: add the UI expander node

2017-02-16 Thread Bartosz Golaszewski
If we're using the UI board and want vpif capture, we need to select the video capture functionality by driving the sel_c pin low on the tca6416 expander and sel_a & sel_b pins high. Do it statically by hogging relevant GPIOs in the device tree. Signed-off-by: Bartosz Golaszewski --- arch/arm/bo

[PATCH 3/4] ARM: dts: da850-evm: add the output port to the vpif node

2017-02-16 Thread Bartosz Golaszewski
Extend the vpif node with an output port with a single channel. NOTE: this is still just hardware description - the actual driver is registered using pdata-quirks. Signed-off-by: Bartosz Golaszewski --- arch/arm/boot/dts/da850-evm.dts | 13 ++--- arch/arm/boot/dts/da850.dtsi| 8 +++

Re: [PATCH v4 28/36] media: imx: csi: fix crop rectangle changes in set_fmt

2017-02-16 Thread Steve Longerbeam
On 02/16/2017 03:05 AM, Russell King - ARM Linux wrote: On Wed, Feb 15, 2017 at 06:19:30PM -0800, Steve Longerbeam wrote: diff --git a/drivers/staging/media/imx/imx-media-csi.c b/drivers/staging/media/imx/imx-media-csi.c index ae24b42..3cb97e2 100644 --- a/drivers/staging/media/imx/imx-media-

[PATCH 1/4] ARM: dts: da850-evm: fix whitespace errors

2017-02-16 Thread Bartosz Golaszewski
The da850-evm dts file contains whitespace errors in the vpif node. This patch fixes them. Signed-off-by: Bartosz Golaszewski --- arch/arm/boot/dts/da850-evm.dts | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/da850-evm.dts b/arch/arm/boot/dts/da

Re: [RT] lockdep munching nr_list_entries like popcorn

2017-02-16 Thread Mike Galbraith
BTW, this ain't gone. I'll take a peek. It doesn't happen in my tree, seems likely to be because whether running sirqs fully threaded or not, I don't let one any thread handle what another exists to handle. [ 638.107293] NOHZ: local_softirq_pending 80 [ 939.729684] NOHZ: local_softirq_pending

Re: [PATCH] staging: speakup: Clean up checkpatch warnings

2017-02-16 Thread Greg KH
On Wed, Feb 15, 2017 at 08:39:35PM -0800, Olav Haugan wrote: > Fix checkpatch warnings. Which warning is that? Please be very specific and do not mix different types of fixes into one patch. thanks, greg k-h

Re: [PATCH v4 36/36] media: imx: propagate sink pad formats to source pads

2017-02-16 Thread Steve Longerbeam
On 02/16/2017 03:29 AM, Philipp Zabel wrote: On Wed, 2017-02-15 at 18:19 -0800, Steve Longerbeam wrote: [...] diff --git a/drivers/staging/media/imx/imx-ic-prpencvf.c b/drivers/staging/media/imx/imx-ic-prpencvf.c index dd9d499..c43f85f 100644 --- a/drivers/staging/media/imx/imx-ic-prpencvf.c

Re: v4.10-rc8 (-rc6) boot regression on Intel desktop, does not boot after cold boots, boots after reboot

2017-02-16 Thread Linus Torvalds
On Thu, Feb 16, 2017 at 10:13 AM, Frederic Weisbecker wrote: > > I haven't followed the discussion but this patch has a known issue which is > fixed > with: > 7bdb59f1ad474bd7161adc8f923cdef10f2638d1 > "tick/nohz: Fix possible missing clock reprog after tick soft restart" > > I hope this

[PATCH 3/4] ARM: da850-evm: add a fixed regulator for the UI board IO expander

2017-02-16 Thread Bartosz Golaszewski
Without this regulator the tca6416 GPIO expander on the UI board can't be probed in board file mode and we're not getting VPIF IRQs. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/board-da850-evm.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-davinci/board-d

[PATCH 0/4] ARM: davinci: vpif capture & display support

2017-02-16 Thread Bartosz Golaszewski
This series adds pdata quirks and other changes required to make vpif work on the da850-evm board. Bartosz Golaszewski (2): ARM: da850-evm: add a fixed regulator for the UI board IO expander ARM: davinci: add pdata-quirks for da850-evm vpif display Kevin Hilman (2): ARM: davinci: board-da85

[PATCH 2/4] ARM: davinci: da8xx: add pdata-quirks for VPIF capture

2017-02-16 Thread Bartosz Golaszewski
From: Kevin Hilman For da8xx DT platforms, use pdata-quirks to add legacy platform data for vpif_capture driver. Passing legacy platform_data is required until the V4L2 framework, and subdevice drivers (such as the tvp514x) grow a way of selecting input and output routing (c.f. V4L2 s_routing A

[PATCH 4/4] ARM: davinci: add pdata-quirks for da850-evm vpif display

2017-02-16 Thread Bartosz Golaszewski
Similarly to vpif capture: we need to register the vpif display driver and the corresponding adv7343 encoder in pdata-quirks as the DT support is not complete - there isn't currently a way to define the output_routing in the V4L2 drivers (c.f. s_routing) via DT. Signed-off-by: Bartosz Golaszewski

[PATCH 1/4] ARM: davinci: board-da850-evm: add I2C ID for VPIF

2017-02-16 Thread Bartosz Golaszewski
From: Kevin Hilman VPIF capture driver now has a way to specific I2C adapter ID (was previously hard-coded.) Use the new interface. Signed-off-by: Kevin Hilman --- arch/arm/mach-davinci/board-da850-evm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-davinci/board-da850-evm

Re: [PATCH] groups: don't return unmapped gids in getgroups(2)

2017-02-16 Thread Eric W. Biederman
Added a few more relevant mailing-lists to the CC list. Aleksa Sarai writes: > One thing overlooked by commit 9cc46516ddf4 ("userns: Add a knob to > disable setgroups on a per user namespace basis") is that because > setgroups(2) no longer works in user namespaces it doesn't make any > sense to

Re: [PATCH 4/6] x86/platform/uv/BAU: Implement uv4_wait_completion with read_status

2017-02-16 Thread Thomas Gleixner
On Tue, 14 Feb 2017, Andrew Banman wrote: > UV4 does not employ a software-timeout as in previous generations so a new > wait_completion routine without this logic is required. Certain completion > statuses require the AUX status bit in addition to ERROR and BUSY. > > Add the read_status routine t

Re: [PATCH V10 02/10] ras: acpi/apei: cper: generic error data entry v3 per ACPI 6.1

2017-02-16 Thread Ard Biesheuvel
On 15 February 2017 at 19:51, Tyler Baicar wrote: > Currently when a RAS error is reported it is not timestamped. > The ACPI 6.1 spec adds the timestamp field to the generic error > data entry v3 structure. The timestamp of when the firmware > generated the error is now being reported. > > Signed-

Re: [alsa-devel] [PATCH 1/2] ASoC: mediatek: add power-domain get/put ctrl for mt2701

2017-02-16 Thread Mark Brown
On Thu, Feb 16, 2017 at 01:27:15PM +0800, Garlic Tseng wrote: > pm_runtime_enable(&pdev->dev); > if (!pm_runtime_enabled(&pdev->dev)) > goto err_pm_disable; > + pm_runtime_get_sync(&pdev->dev); You should really check for errors here. signature.asc Description: PGP

Re: [PATCH] Staging: wlan-ng: Fixed the code style issue:

2017-02-16 Thread Kroah-Hartman
On Tue, Feb 14, 2017 at 11:16:41PM -0500, Bo YU wrote: > WARNING: Block comments should align the * on each line > > Signed-off-by: Bo YU > --- > drivers/staging/wlan-ng/p80211metastruct.h | 88 > ++-- > 1 file changed, 44 insertions(+), 44 deletions(-) Your patch is

<    1   2   3   4   5   6   7   8   9   >