Re: [Xen-devel] Xen/cdrom: Ubuntu 16.04 VM read the content from CD-ROM abnormally

2016-12-09 Thread Konrad Rzeszutek Wilk
On Fri, Dec 09, 2016 at 04:21:02PM +0800, Ken wrote: > Hi all, > > I run the Ubuntu 16.04 server (2 vcpu/2G, Linux 4.4.0) on the Xen-4.1.2, and > installed gcc through the CDROM used by 16.04 iso file, when I installed gcc > that depends deb packages to decompress failed. But uploaded the ISO file

Re: [PATCH] x86/kbuild: enable modversions for symbols exported from asm

2016-12-09 Thread Don Zickus
On Fri, Dec 09, 2016 at 01:50:41PM +1000, Nicholas Piggin wrote: > > > > We have plenty of customers with 10 year old drivers, where the expertise > > has long left the company. The engineers still around, recompile and make > > tweaks to get things working on the latest RHEL. Verify it passes t

Re: [PATCH v2 1/2] devicetree: i2c-hid: Add Wacom digitizer + regulator support

2016-12-09 Thread Doug Anderson
Hi, On Fri, Dec 9, 2016 at 7:01 AM, Rob Herring wrote: > On Fri, Dec 9, 2016 at 8:36 AM, Jiri Kosina wrote: >> On Thu, 8 Dec 2016, Rob Herring wrote: >> >>> > And if tomorrow there is Elan device that is drop-in compatible (same >>> > connector, etc) with Wacom i2c-hid, will you ask for Elan-spe

[PATCH 4.4 12/28] netlink: Do not schedule work from sk_destruct

2016-12-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Herbert Xu [ Upstream commit ed5d7788a934a4b6d6d025e948ed4da496b4f12e ] It is wrong to schedule a work from sk_destruct using the socket as the memory reserve because the socket will be freed

[PATCH 4.4 00/28] 4.4.38-stable review

2016-12-09 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.4.38 release. There are 28 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 Dec 11 16:17:32 UTC 2016. Anything receive

[PATCH 4.4 16/28] sh_eth: remove unchecked interrupts for RZ/A1

2016-12-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Chris Brandt [ Upstream commit 33d446dbba4d4d6a77e1e900d434fa99e0f02c86 ] When streaming a lot of data and the RZ/A1 can't keep up, some status bits will get set that are not being checked or

[PATCH 4.4 15/28] net: bcmgenet: Utilize correct struct device for all DMA operations

2016-12-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Florian Fainelli [ Upstream commit 8c4799ac799665065f9bf1364fd71bf4f7dc6a4a ] __bcmgenet_tx_reclaim() and bcmgenet_free_rx_buffers() are not using the same struct device during unmap that was

[PATCH 4.4 01/28] virtio-net: add a missing synchronize_net()

2016-12-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 963abe5c8a0273a1cf5913556da1b1189de0e57a ] It seems many drivers do not respect napi_hash_del() contract. When napi_hash_del() is used before netif_napi_del(),

[PATCH 4.4 02/28] net: check dead netns for peernet2id_alloc()

2016-12-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: WANG Cong [ Upstream commit cfc44a4d147ea605d66ccb917cc24467d15ff867 ] Andrei reports we still allocate netns ID from idr after we destroy it in cleanup_net(). cleanup_net(): ... idr_dest

[PATCH 4.4 09/28] net, sched: respect rcu grace period on cls destruction

2016-12-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann [ Upstream commit d936377414fadbafb4d17148d222fe45ca5442d4 ] Roi reported a crash in flower where tp->root was NULL in ->classify() callbacks. Reason is that in ->destroy() tp-

[PATCH 4.4 07/28] l2tp: fix racy SOCK_ZAPPED flag check in l2tp_ip{,6}_bind()

2016-12-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Guillaume Nault [ Upstream commit 32c231164b762dddefa13af5a0101032c70b50ef ] Lock socket before checking the SOCK_ZAPPED flag in l2tp_ip6_bind(). Without lock, a concurrent call could modify t

[PATCH 4.4 26/28] ipv4: Set skb->protocol properly for local output

2016-12-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Eli Cooper commit f4180439109aa720774baafdd798b3234ab1a0d2 upstream. When xfrm is applied to TSO/GSO packets, it follows this path: xfrm_output() -> xfrm_output_gso() -> skb_gso_segment()

[PATCH 4.4 24/28] constify iov_iter_count() and iter_is_iovec()

2016-12-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Al Viro commit b57332b4105abf1d518d93886e547ee2f98cd414 upstream. [stable note, need this to prevent build warning in commit a0ac402cfcdc904f9772e1762b3fda112dcc56a0] Signed-off-by: Al Viro S

Re: [PATCH] x86: Optimize TIF checking in __switch_to_xtra.

2016-12-09 Thread Thomas Gleixner
On Tue, 6 Dec 2016, Kyle Huey wrote: > I propose the following patch, which results in GCC generating this code: > > mov(%rsi),%rax > xor(%rdi),%rax > mov%rdi,%rbx > mov%rsi,%r12 > test $0x200,%eax > mov%rax,%rdx > jne3f > 1: test $0x100

[PATCH 4.4 05/28] af_unix: conditionally use freezable blocking calls in read

2016-12-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: WANG Cong [ Upstream commit 06a77b07e3b44aea2b3c0e64de420ea2cfdcbaa9 ] Commit 2b15af6f95 ("af_unix: use freezable blocking calls in read") converts schedule_timeout() to its freezable version,

[PATCH 4.4 25/28] ipv6: Set skb->protocol properly for local output

2016-12-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Eli Cooper commit b4e479a96fc398ccf83bb1cffb4ffef8631beaf1 upstream. When xfrm is applied to TSO/GSO packets, it follows this path: xfrm_output() -> xfrm_output_gso() -> skb_gso_segment()

[PATCH 4.4 28/28] esp6: Fix integrity verification when ESN are used

2016-12-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Tobias Brunner commit a55e23864d381c5a4ef110df94b00b2fe121a70d upstream. When handling inbound packets, the two halves of the sequence number stored on the skb are already in network order. Fi

[PATCH 4.4 11/28] netlink: Call cb->done from a worker thread

2016-12-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Herbert Xu [ Upstream commit 707693c8a498697aa8db240b93eb76ec62e30892 ] The cb->done interface expects to be called in process context. This was broken by the netlink RCU conversion. This pat

[PATCH 4.4 10/28] net/sched: pedit: make sure that offset is valid

2016-12-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Amir Vadai [ Upstream commit 95c2027bfeda21a28eb245121e6a249f38d0788e ] Add a validation function to make sure offset is valid: 1. Not below skb head (could happen when offset is negative). 2.

[PATCH 4.8 36/45] sparc64: fix compile warning section mismatch in find_node()

2016-12-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Tai [ Upstream commit 87a349f9cc0908bc0cfac0c9ece3179f650ae95a ] A compile warning is introduced by a commit to fix the find_node(). This patch fix the compile warning by moving find_no

[PATCH 4.8 40/45] ipv6: Set skb->protocol properly for local output

2016-12-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Eli Cooper commit b4e479a96fc398ccf83bb1cffb4ffef8631beaf1 upstream. When xfrm is applied to TSO/GSO packets, it follows this path: xfrm_output() -> xfrm_output_gso() -> skb_gso_segment()

[PATCH 4.8 04/45] net: check dead netns for peernet2id_alloc()

2016-12-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: WANG Cong [ Upstream commit cfc44a4d147ea605d66ccb917cc24467d15ff867 ] Andrei reports we still allocate netns ID from idr after we destroy it in cleanup_net(). cleanup_net(): ... idr_dest

[PATCH 4.8 00/45] 4.8.14-stable review

2016-12-09 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.8.14 release. There are 45 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 Dec 11 16:17:38 UTC 2016. Anything receive

[PATCH 4.8 01/45] gro_cells: mark napi struct as not busy poll candidates

2016-12-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit e88a2766143a27bfe6704b4493b214de4094cf29 ] Rolf Neugebauer reported very long delays at netns dismantle. Eric W. Biederman was kind enough to look at this probl

[PATCH 4.8 35/45] sparc64: Fix find_node warning if numa node cannot be found

2016-12-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Tai [ Upstream commit 74a5ed5c4f692df2ff0a2313ea71e81243525519 ] When booting up LDOM, find_node() warns that a physical address doesn't match a NUMA node. WARNING: CPU: 0 PID: 0 at ar

[PATCH 4.8 30/45] net: ping: check minimum size on ICMP header length

2016-12-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Kees Cook [ Upstream commit 0eab121ef8750a5c8637d51534d5e9143fb0633f ] Prior to commit c0371da6047a ("put iov_iter into msghdr") in v3.19, there was no check that the iovec contained enough by

[PATCH 4.8 37/45] sparc32: Fix inverted invalid_frame_pointer checks on sigreturns

2016-12-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Andreas Larsson [ Upstream commit 07b5ab3f71d318e52c18cc3b73c1d44c908aacfa ] Signed-off-by: Andreas Larsson Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- arch/sparc/

[PATCH 4.4 08/28] net: dsa: bcm_sf2: Ensure we re-negotiate EEE during after link change

2016-12-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Florian Fainelli [ Upstream commit 76da8706d90d8641eeb9b8e579942ed80b6c0880 ] In case the link change and EEE is enabled or disabled, always try to re-negotiate this with the link partner. Fi

[PATCH 4.8 21/45] GSO: Reload iph after pskb_may_pull

2016-12-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Arnaldo Carvalho de Melo [ Upstream commit a510887824171ad260cc4a2603396c6247fdd091 ] As it may get stale and lead to use after free. Acked-by: Eric Dumazet Cc: Alexander Duyck Cc: Andrey K

[PATCH 4.8 16/45] net/sched: pedit: make sure that offset is valid

2016-12-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Amir Vadai [ Upstream commit 95c2027bfeda21a28eb245121e6a249f38d0788e ] Add a validation function to make sure offset is valid: 1. Not below skb head (could happen when offset is negative). 2.

Re: [PATCH] devicetree: bindings: Add vendor prefix for Andes Technology Corporation

2016-12-09 Thread Rob Herring
On Tue, Nov 22, 2016 at 03:15:05PM +0800, Greentime Hu wrote: > Add vendor-prefix for Andes Technology Corporation > > Signed-off-by: Greentime Hu > --- > .../devicetree/bindings/vendor-prefixes.txt|1 + > 1 file changed, 1 insertion(+) Applied, thanks. Rob

[PATCH 4.8 32/45] ipv4: Fix memory leak in exception case for splitting tries

2016-12-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Duyck [ Upstream commit 3114cdfe66c156345b0ae34e2990472f277e0c1b ] Fix a small memory leak that can occur where we leak a fib_alias in the event of us not being able to insert it int

[RESEND] [PATCH] tracing: fix softirq flag detection

2016-12-09 Thread Pavankumar Kondeti
The 's' flag is supposed to indicate that a softirq is running. This can be detected by testing the preempt_count with SOFTIRQ_OFFSET. The current code tests the preempt_count with SOFTIRQ_MASK, which would be true even when softirqs are disabled but not serving a softirq. Signed-off-by: Pavankum

[PATCH 4.8 13/45] net: dsa: bcm_sf2: Ensure we re-negotiate EEE during after link change

2016-12-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Florian Fainelli [ Upstream commit 76da8706d90d8641eeb9b8e579942ed80b6c0880 ] In case the link change and EEE is enabled or disabled, always try to re-negotiate this with the link partner. Fi

[PATCH 4.8 39/45] constify iov_iter_count() and iter_is_iovec()

2016-12-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Al Viro commit b57332b4105abf1d518d93886e547ee2f98cd414 upstream. [stable note, need this to prevent build warning in commit a0ac402cfcdc904f9772e1762b3fda112dcc56a0] Signed-off-by: Al Viro S

[PATCH 4.8 42/45] Revert: "ip6_tunnel: Update skb->protocol to ETH_P_IPV6 in ip6_tnl_xmit()"

2016-12-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Eli Cooper commit 80d1106aeaf689ab5fdf33020c5fecd269b31c88 upstream. This reverts commit ae148b085876fa771d9ef2c05f85d4b4bf09ce0d ("ip6_tunnel: Update skb->protocol to ETH_P_IPV6 in ip6_tnl_xmi

[PATCH 4.8 23/45] ip6_offload: check segs for NULL in ipv6_gso_segment.

2016-12-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Artem Savkov [ Upstream commit 6b6ebb6b01c873d0cfe3449e8a1219ee6e5fc022 ] segs needs to be checked for being NULL in ipv6_gso_segment() before calling skb_shinfo(segs), otherwise kernel can ru

[PATCH 4.8 05/45] ip6_tunnel: disable caching when the traffic class is inherited

2016-12-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Paolo Abeni [ Upstream commit b5c2d49544e5930c96e2632a7eece3f4325a1888 ] If an ip6 tunnel is configured to inherit the traffic class from the inner header, the dst_cache must be disabled or it

[PATCH 4.8 06/45] net: sky2: Fix shutdown crash

2016-12-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Jeremy Linton [ Upstream commit 06ba3b2133dc203e1e9bc36cee7f0839b79a9e8b ] The sky2 frequently crashes during machine shutdown with: sky2_get_stats+0x60/0x3d8 [sky2] dev_get_stats+0x68/0xd8 r

[PATCH 4.8 31/45] ipv4: Restore fib_trie_flush_external function and fix call ordering

2016-12-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Duyck [ Upstream commit 3b7093346b326e5d3590c7d49f6aefe6fa5b2c9a, the FIB offload removal didn't occur in 4.8 so that part of this patch isn't here. However we still need to fib_

[PATCH 4.8 38/45] Dont feed anything but regular iovecs to blk_rq_map_user_iov

2016-12-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Linus Torvalds commit a0ac402cfcdc904f9772e1762b3fda112dcc56a0 upstream. In theory we could map other things, but there's a reason that function is called "user_iov". Using anything else (like

[PATCH 4.8 03/45] net: dsa: b53: Fix VLAN usage and how we treat CPU port

2016-12-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Florian Fainelli [ Upstream commit e47112d9d6009bf6b7438cedc0270316d6b0370d ] We currently have a fundamental problem in how we treat the CPU port and its VLAN membership. As soon as a second

[PATCH 4.8 08/45] rtnetlink: fix FDB size computation

2016-12-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Sabrina Dubroca [ Upstream commit f82ef3e10a870acc19fa04f80ef5877eaa26f41e ] Add missing NDA_VLAN attribute's size. Fixes: 1e53d5bb8878 ("net: Pass VLAN ID to rtnl_fdb_notify.") Signed-off-by

[PATCH 4.8 07/45] af_unix: conditionally use freezable blocking calls in read

2016-12-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: WANG Cong [ Upstream commit 06a77b07e3b44aea2b3c0e64de420ea2cfdcbaa9 ] Commit 2b15af6f95 ("af_unix: use freezable blocking calls in read") converts schedule_timeout() to its freezable version,

[PATCH 4.8 33/45] ipv4: Drop leaf from suffix pull/push functions

2016-12-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Duyck [ Upstream commit 1a239173cccff726b60ac6a9c79ae4a1e26cfa49 ] It wasn't necessary to pass a leaf in when doing the suffix updates so just drop it. Instead just pass the suffix

[PATCH 4.8 45/45] esp6: Fix integrity verification when ESN are used

2016-12-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Tobias Brunner commit a55e23864d381c5a4ef110df94b00b2fe121a70d upstream. When handling inbound packets, the two halves of the sequence number stored on the skb are already in network order. Fi

[PATCH 4.8 34/45] ipv4: Drop suffix update from resize code

2016-12-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Duyck [ Upstream commit a52ca62c4a6771028da9c1de934cdbcd93d54bb4 ] It has been reported that update_suffix can be expensive when it is called on a large node in which most of the suf

[PATCH 4.8 09/45] l2tp: fix racy SOCK_ZAPPED flag check in l2tp_ip{,6}_bind()

2016-12-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Guillaume Nault [ Upstream commit 32c231164b762dddefa13af5a0101032c70b50ef ] Lock socket before checking the SOCK_ZAPPED flag in l2tp_ip6_bind(). Without lock, a concurrent call could modify t

[PATCH 4.8 41/45] ipv4: Set skb->protocol properly for local output

2016-12-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Eli Cooper commit f4180439109aa720774baafdd798b3234ab1a0d2 upstream. When xfrm is applied to TSO/GSO packets, it follows this path: xfrm_output() -> xfrm_output_gso() -> skb_gso_segment()

[PATCH 4.8 44/45] esp4: Fix integrity verification when ESN are used

2016-12-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Tobias Brunner commit 7c7fedd51c02f4418e8b2eed64bdab601f882aa4 upstream. When handling inbound packets, the two halves of the sequence number stored on the skb are already in network order. Fi

[PATCH 4.8 28/45] geneve: avoid use-after-free of skb->data

2016-12-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Sabrina Dubroca [ Upstream commit 5b01014759991887b1e450c9def01e58c02ab81b ] geneve{,6}_build_skb can end up doing a pskb_expand_head(), which makes the ip_hdr(skb) reference we stashed earlie

[PATCH 4.8 29/45] net: avoid signed overflows for SO_{SND|RCV}BUFFORCE

2016-12-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit b98b0bc8c431e3ceb4b26b0dfc8db509518fb290 ] CAP_NET_ADMIN users should not be allowed to set negative sk_sndbuf or sk_rcvbuf values, as it can lead to various mem

[PATCH 4.8 19/45] net: macb: fix the RX queue reset in macb_rx()

2016-12-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Cyrille Pitchen [ Upstream commit a0b44eea372b449ef9744fb1d90491cc063289b8 ] On macb only (not gem), when a RX queue corruption was detected from macb_rx(), the RX queue was reset: during this

[PATCH 4.8 02/45] virtio-net: add a missing synchronize_net()

2016-12-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 963abe5c8a0273a1cf5913556da1b1189de0e57a ] It seems many drivers do not respect napi_hash_del() contract. When napi_hash_del() is used before netif_napi_del(),

[PATCH 4.8 15/45] net: dsa: fix unbalanced dsa_switch_tree reference counting

2016-12-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Nikita Yushchenko [ Upstream commit 7a99cd6e213685b78118382e6a8fed506c82ccb2 ] _dsa_register_switch() gets a dsa_switch_tree object either via dsa_get_dst() or via dsa_add_dst(). Former path d

[PATCH 4.8 12/45] udplite: call proper backlog handlers

2016-12-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 30c7be26fd3587abcb69587f781098e3ca2d565b ] In commits 93821778def10 ("udp: Fix rcv socket locking") and f7ad74fef3af ("net/ipv6/udp: UDP encapsulation: break bac

[PATCH 4.8 11/45] ipv6: bump genid when the IFA_F_TENTATIVE flag is clear

2016-12-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Paolo Abeni [ Upstream commit 764d3be6e415b40056834bfd29b994dc3f837606 ] When an ipv6 address has the tentative flag set, it can't be used as source for egress traffic, while the associated ro

Re: [PATCH 2/2 v3] sched: use load_avg for selecting idlest group

2016-12-09 Thread Vincent Guittot
On 9 December 2016 at 16:22, Peter Zijlstra wrote: > On Thu, Dec 08, 2016 at 05:56:54PM +0100, Vincent Guittot wrote: >> @@ -5449,14 +5456,32 @@ find_idlest_group(struct sched_domain *sd, struct >> task_struct *p, >> } >> >> /* Adjust by relative CPU capacity of the gr

[PATCH 4.8 17/45] netlink: Call cb->done from a worker thread

2016-12-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Herbert Xu [ Upstream commit 707693c8a498697aa8db240b93eb76ec62e30892 ] The cb->done interface expects to be called in process context. This was broken by the netlink RCU conversion. This pat

[PATCH 4.8 20/45] net/dccp: fix use-after-free in dccp_invalid_packet

2016-12-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 648f0c28df282636c0c8a7a19ca3ce5fc80a39c3 ] pskb_may_pull() can reallocate skb->head, we need to reload dh pointer in dccp_invalid_packet() or risk use after free

[PATCH] staging: vc04_services: Fix NULL ptr sparse warnings

2016-12-09 Thread Mike Kofron
In calls to queue_message() in vchiq_core.c, the "void *context" parameter is set as 0 rather than NULL. This patch amends each call to use the proper NULL pointer. The following sparse warnings are fixed: drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c:1623:23: warning: Using plai

[PATCH 4.8 14/45] net, sched: respect rcu grace period on cls destruction

2016-12-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann [ Upstream commit d936377414fadbafb4d17148d222fe45ca5442d4 ] Roi reported a crash in flower where tp->root was NULL in ->classify() callbacks. Reason is that in ->destroy() tp-

[PATCH 4.8 25/45] net: bcmgenet: Utilize correct struct device for all DMA operations

2016-12-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Florian Fainelli [ Upstream commit 8c4799ac799665065f9bf1364fd71bf4f7dc6a4a ] __bcmgenet_tx_reclaim() and bcmgenet_free_rx_buffers() are not using the same struct device during unmap that was

[PATCH 4.8 10/45] rtnl: fix the loop index update error in rtnl_dump_ifinfo()

2016-12-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Zhang Shengju [ Upstream commit 3f0ae05d6fea0ed5b19efdbc9c9f8e02685a3af3 ] If the link is filtered out, loop index should also be updated. If not, loop index will not be correct. Fixes: dc599

[PATCH 4.8 26/45] sh_eth: remove unchecked interrupts for RZ/A1

2016-12-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Chris Brandt [ Upstream commit 33d446dbba4d4d6a77e1e900d434fa99e0f02c86 ] When streaming a lot of data and the RZ/A1 can't keep up, some status bits will get set that are not being checked or

[PATCH 4.8 22/45] packet: fix race condition in packet_set_ring

2016-12-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Philip Pettersson [ Upstream commit 84ac7260236a49c79eede91617700174c2c19b0c ] When packet_set_ring creates a ring buffer it will initialize a struct timer_list if the packet version is TPACKE

Re: [PATCH] x86: Optimize TIF checking in __switch_to_xtra.

2016-12-09 Thread Thomas Gleixner
On Fri, 9 Dec 2016, Thomas Gleixner wrote: > On Tue, 6 Dec 2016, Kyle Huey wrote: > > I propose the following patch, which results in GCC generating this code: > > > > mov(%rsi),%rax > > xor(%rdi),%rax > > mov%rdi,%rbx > > mov%rsi,%r12 > > test $0x200,%eax

[PATCH 4.8 18/45] netlink: Do not schedule work from sk_destruct

2016-12-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Herbert Xu [ Upstream commit ed5d7788a934a4b6d6d025e948ed4da496b4f12e ] It is wrong to schedule a work from sk_destruct using the socket as the memory reserve because the socket will be freed

[PATCH 4.4 17/28] geneve: avoid use-after-free of skb->data

2016-12-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Sabrina Dubroca [ Upstream commit 5b01014759991887b1e450c9def01e58c02ab81b ] geneve{,6}_build_skb can end up doing a pskb_expand_head(), which makes the ip_hdr(skb) reference we stashed earlie

[PATCH 4.4 20/28] sparc32: Fix inverted invalid_frame_pointer checks on sigreturns

2016-12-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Andreas Larsson [ Upstream commit 07b5ab3f71d318e52c18cc3b73c1d44c908aacfa ] Signed-off-by: Andreas Larsson Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- arch/sparc/

[PATCH 4.4 21/28] sparc64: Fix find_node warning if numa node cannot be found

2016-12-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Tai [ Upstream commit 74a5ed5c4f692df2ff0a2313ea71e81243525519 ] When booting up LDOM, find_node() warns that a physical address doesn't match a NUMA node. WARNING: CPU: 0 PID: 0 at ar

[PATCH 4.4 18/28] net: avoid signed overflows for SO_{SND|RCV}BUFFORCE

2016-12-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit b98b0bc8c431e3ceb4b26b0dfc8db509518fb290 ] CAP_NET_ADMIN users should not be allowed to set negative sk_sndbuf or sk_rcvbuf values, as it can lead to various mem

[PATCH 4.4 27/28] esp4: Fix integrity verification when ESN are used

2016-12-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Tobias Brunner commit 7c7fedd51c02f4418e8b2eed64bdab601f882aa4 upstream. When handling inbound packets, the two halves of the sequence number stored on the skb are already in network order. Fi

Re: [PATCH v4] of: Fix issue where code would fall through to error case.

2016-12-09 Thread Rob Herring
On Thu, Dec 01, 2016 at 10:10:25PM -0800, Moritz Fischer wrote: > From: Moritz Fischer > > No longer fall through into the error case that prints out > an error if no error (err = 0) occurred. > > Fixes d9181b20a83(of: Add back an error message, restructured) > Signed-off-by: Moritz Fischer > R

[PATCH 4.4 22/28] sparc64: fix compile warning section mismatch in find_node()

2016-12-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Tai [ Upstream commit 87a349f9cc0908bc0cfac0c9ece3179f650ae95a ] A compile warning is introduced by a commit to fix the find_node(). This patch fix the compile warning by moving find_no

[PATCH 4.4 13/28] net/dccp: fix use-after-free in dccp_invalid_packet

2016-12-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 648f0c28df282636c0c8a7a19ca3ce5fc80a39c3 ] pskb_may_pull() can reallocate skb->head, we need to reload dh pointer in dccp_invalid_packet() or risk use after free

[PATCH 4.4 04/28] net: sky2: Fix shutdown crash

2016-12-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Jeremy Linton [ Upstream commit 06ba3b2133dc203e1e9bc36cee7f0839b79a9e8b ] The sky2 frequently crashes during machine shutdown with: sky2_get_stats+0x60/0x3d8 [sky2] dev_get_stats+0x68/0xd8 r

[PATCH 4.4 23/28] Dont feed anything but regular iovecs to blk_rq_map_user_iov

2016-12-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Linus Torvalds commit a0ac402cfcdc904f9772e1762b3fda112dcc56a0 upstream. In theory we could map other things, but there's a reason that function is called "user_iov". Using anything else (like

Re: [PATCH] drivers/of: fix missing pr_cont()s in of_print_phandle_args

2016-12-09 Thread Rob Herring
On Thu, Dec 01, 2016 at 09:00:55AM +0100, Marcin Nowakowski wrote: > Since the KERN_CONT changes, the current debug printks have a lot of > empty lines making the log messages very hard to read. > > Signed-off-by: Marcin Nowakowski > --- > drivers/of/base.c | 9 ++--- > 1 file changed, 6 ins

[PATCH 4.4 19/28] net: ping: check minimum size on ICMP header length

2016-12-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Kees Cook [ Upstream commit 0eab121ef8750a5c8637d51534d5e9143fb0633f ] Prior to commit c0371da6047a ("put iov_iter into msghdr") in v3.19, there was no check that the iovec contained enough by

[PATCH 4.4 06/28] rtnetlink: fix FDB size computation

2016-12-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Sabrina Dubroca [ Upstream commit f82ef3e10a870acc19fa04f80ef5877eaa26f41e ] Add missing NDA_VLAN attribute's size. Fixes: 1e53d5bb8878 ("net: Pass VLAN ID to rtnl_fdb_notify.") Signed-off-by

[PATCH 4.4 03/28] ip6_tunnel: disable caching when the traffic class is inherited

2016-12-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Paolo Abeni [ Upstream commit b5c2d49544e5930c96e2632a7eece3f4325a1888 ] If an ip6 tunnel is configured to inherit the traffic class from the inner header, the dst_cache must be disabled or it

Re: [RFC, PATCHv1 15/28] x86: detect 5-level paging support

2016-12-09 Thread Borislav Petkov
On Fri, Dec 09, 2016 at 06:32:33PM +0300, Kirill A. Shutemov wrote: > Something like this? > > diff --git a/arch/x86/boot/cpuflags.c b/arch/x86/boot/cpuflags.c > index 6687ab953257..366aad972025 100644 > --- a/arch/x86/boot/cpuflags.c > +++ b/arch/x86/boot/cpuflags.c > @@ -70,16 +70,22 @@ int has_

[PATCH 4.4 14/28] packet: fix race condition in packet_set_ring

2016-12-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Philip Pettersson [ Upstream commit 84ac7260236a49c79eede91617700174c2c19b0c ] When packet_set_ring creates a ring buffer it will initialize a struct timer_list if the packet version is TPACKE

Re: [PATCH net-next 1/2] net: phy: add extension of phy-mode for XLGMII

2016-12-09 Thread Andrew Lunn
On Fri, Dec 09, 2016 at 01:19:07PM +0800, Jie Deng wrote: > > > On 2016/12/9 6:15, Florian Fainelli wrote: > > On 12/06/2016 07:57 PM, Jie Deng wrote: > >> This patch adds phy-mode support for Synopsys XLGMAC > > The functional changes look good, but I would like to see some > > description of wh

Re: [RFC, PATCHv1 00/28] 5-level paging

2016-12-09 Thread Andi Kleen
> On other hand, large virtual address space would put more pressure on > cache -- at least one more page table per process, if we make 56-bit VA > default. The top level page always has to be there unless you disable it at boot time (unless you go for a scheme where some processes share top level

Re: [PATCH v6 3/3] sound/usb: Use Media Controller API to share media resources

2016-12-09 Thread Shuah Khan
On 12/09/2016 06:17 AM, Sakari Ailus wrote: > Hi Shuah, > > On Fri, Dec 09, 2016 at 01:44:07AM +0200, Sakari Ailus wrote: >> Hi Shuah, >> >> On Thu, Dec 08, 2016 at 07:46:03AM -0700, Shuah Khan wrote: >>> Hi Sakari, >>> >>> On 12/07/2016 03:27 PM, Sakari Ailus wrote: Hi Shuah, On We

Re: [Qemu-devel] [PATCH kernel v5 0/5] Extend virtio-balloon for fast (de)inflating & fast live migration

2016-12-09 Thread Andrea Arcangeli
Hello, On Fri, Dec 09, 2016 at 05:35:45AM +, Li, Liang Z wrote: > > On 12/08/2016 08:45 PM, Li, Liang Z wrote: > > > What's the conclusion of your discussion? It seems you want some > > > statistic before deciding whether to ripping the bitmap from the ABI, > > > am I right? > > > > I think

Re: [RFC][PATCHv5 3/7] printk: introduce per-cpu safe_print seq buffer

2016-12-09 Thread Petr Mladek
On Thu 2016-12-01 22:55:42, Sergey Senozhatsky wrote: > This patch extends the idea of NMI per-cpu buffers to regions > that may cause recursive printk() calls and possible deadlocks. > Namely, printk() can't handle printk calls from schedule code > or printk() calls from lock debugging code (spin_

Re: [PATCH] x86/tsc: RFC: re-synchronize TSCs to boot cpu TSC

2016-12-09 Thread Roland Scheidegger
Am 09.12.2016 um 10:59 schrieb Thomas Gleixner: > On Fri, 9 Dec 2016, Roland Scheidegger wrote: >> >> I saw some system lockups though: >> When doing a cold boot, this kernel never managed to boot up. The last >> message seen is: >> x86: Booting SMP configuration: >> node #0, CPUs:#1

Re: [RFC, PATCHv1 00/28] 5-level paging

2016-12-09 Thread Dave Hansen
On 12/09/2016 02:37 AM, Kirill A. Shutemov wrote: > On other hand, large virtual address space would put more pressure on > cache -- at least one more page table per process, if we make 56-bit VA > default. For a process only using a small amount of its address space, the mid-level paging structur

Re: Still OOM problems with 4.9er kernels

2016-12-09 Thread Gerhard Wiesinger
On 09.12.2016 17:09, Michal Hocko wrote: On Fri 09-12-16 16:52:07, Gerhard Wiesinger wrote: On 09.12.2016 14:40, Michal Hocko wrote: On Fri 09-12-16 08:06:25, Gerhard Wiesinger wrote: Hello, same with latest kernel rc, dnf still killed with OOM (but sometimes better). ./update.sh: line 40:

Omap3-isp isp_remove() access subdev.entity after media_device_cleanup()

2016-12-09 Thread Shuah Khan
Hi Sakari, I am looking at omap3 isp_remove() closely and I think there are a few issues there that could cause problems during unbind. isp_remove() tries to do media_entity_cleanup() after it unregisters media_device isp_remove() calls isp_unregister_entities() followed by isp_cleanup_modules()

Re: [RFC 02/10] module: fix memory leak on early load_module() failures

2016-12-09 Thread Miroslav Benes
On Thu, 8 Dec 2016, Luis R. Rodriguez wrote: > While looking for early possible module loading failures I was > able to reproduce a memory leak possible with kmemleak. There > are a few rare ways to trigger a failure: > > o we've run into a failure while processing kernel parameters > (pars

[PATCH] tools: usb: usbip: Add simple script to show how to setup vUDC

2016-12-09 Thread Krzysztof Opasiak
Add some simple script which creates a USB gadget using ConfigFS and then exports it using vUDC. This may be useful for people who just started playing with USB/IP and vUDC as it shows exact steps how to setup all stuff. Signed-off-by: Krzysztof Opasiak --- tools/usb/usbip/vudc/vudc_server_exam

Re: Fwd: Antwort: Re: vUDC

2016-12-09 Thread Krzysztof Opasiak
On 12/09/2016 03:43 PM, Shuah Khan wrote: > Hi Krzysztof, > > On 12/09/2016 01:43 AM, Krzysztof Opasiak wrote: >> FYI to the list for next generations;) >> >> >> Forwarded Message >> Subject: Antwort: Re: vUDC >> Date: Fri, 9 Dec 2016 09:00:04 +0100 >> From: Elen Niedermeyer >

Re: [PATCH] tools: usb: usbip: Add simple script to show how to setup vUDC

2016-12-09 Thread Krzysztof Opasiak
On 12/09/2016 06:07 PM, Krzysztof Opasiak wrote: > Add some simple script which creates a USB gadget using ConfigFS > and then exports it using vUDC. > > This may be useful for people who just started playing with > USB/IP and vUDC as it shows exact steps how to setup all stuff. > > Signed-off-

[PATCH v2] tools: usb: usbip: Add simple script to show how to setup vUDC

2016-12-09 Thread Krzysztof Opasiak
Add some simple script which creates a USB gadget using ConfigFS and then exports it using vUDC. This may be useful for people who just started playing with USB/IP and vUDC as it shows exact steps how to setup all stuff. Signed-off-by: Krzysztof Opasiak --- Changes since v1: - Fix terminology mi

Re: Tearing down DMA transfer setup after DMA client has finished

2016-12-09 Thread Vinod Koul
On Fri, Dec 09, 2016 at 11:25:57AM +0100, Sebastian Frias wrote: > > What concrete solution do you propose? I have already proposed two solutions. A) Request a channel only when you need it. Obviously we can't do virtual channels with this (though we should still use virt-channels framework). Th

Re: [PATCH v7 0/2] usb: xhci: plat: Enable runtime PM

2016-12-09 Thread Robert Foss
Hey, I was hoping to get an ACK on v7, if there is anything I can to do expedite the process please let me know! Rob. On 2016-12-01 04:46 PM, Robert Foss wrote: This series enables runtime PM and asynchronous resume/suspend support for xhci-plat devices. Changes since v1: - Added Signed-of

<    1   2   3   4   5   6   7   >