[PATCH 4.13 04/35] net: systemport: Correct IPG length settings

2017-11-22 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Florian Fainelli [ Upstream commit 93824c80bf47ebe087414b3a40ca0ff9aab7d1fb ] Due to a documentation mistake, the IPG length was set to 0x12 while it should have been 12 (decimal). This would

[PATCH 4.13 06/35] l2tp: dont use l2tp_tunnel_find() in l2tp_ip and l2tp_ip6

2017-11-22 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Guillaume Nault [ Upstream commit 8f7dc9ae4a7aece9fbc3e6637bdfa38b36bcdf09 ] Using l2tp_tunnel_find() in l2tp_ip_recv() is wrong for two reasons: * It doesn't take a reference on the retur

[PATCH 4.13 35/35] coda: fix kernel memory exposure attempt in fsync

2017-11-22 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Jan Harkes commit d337b66a4c52c7b04eec661d86c2ef6e168965a2 upstream. When an application called fsync on a file in Coda a small request with just the file identifier was allocated, but the dec

[PATCH 4.13 34/35] x86/cpu/amd: Derive L3 shared_cpu_map from cpu_llc_shared_mask

2017-11-22 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Suravee Suthikulpanit commit 2b83809a5e6d619a780876fcaf68cdc42b50d28c upstream. For systems with X86_FEATURE_TOPOEXT, current logic uses the APIC ID to calculate shared_cpu_map. However, APIC

[PATCH 4.14 01/18] bio: ensure __bio_clone_fast copies bi_partno

2017-11-22 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Michael Lyle commit 62530ed8b1d07a45dec94d46e521c0c6c2d476e6 upstream. A new field was introduced in 74d46992e0d9, bi_partno, instead of using bdev->bd_contains and encoding the partition info

[PATCH 4.13 33/35] mm/page_ext.c: check if page_ext is not prepared

2017-11-22 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Jaewon Kim commit e492080e640c2d1235ddf3441cae634cfffef7e1 upstream. online_page_ext() and page_ext_init() allocate page_ext for each section, but they do not allocate if the first PFN is !pfn

[PATCH 4.14 02/18] af_netlink: ensure that NLMSG_DONE never fails in dumps

2017-11-22 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: "Jason A. Donenfeld" [ Upstream commit 0642840b8bb008528dbdf929cec9f65ac4231ad0 ] The way people generally use netlink_dump is that they fill in the skb as much as possible, breaking when nla

[PATCH 4.14 03/18] vxlan: fix the issue that neigh proxy blocks all icmpv6 packets

2017-11-22 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Xin Long [ Upstream commit 8bff3685a4bbf175a96bc6a528f13455d8d38244 ] Commit f1fb08f6337c ("vxlan: fix ND proxy when skb doesn't have transport header offset") removed icmp6_code and icmp6_ty

[PATCH 4.14 05/18] fealnx: Fix building error on MIPS

2017-11-22 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Huacai Chen [ Upstream commit cc54c1d32e6a4bb3f116721abf900513173e4d02 ] This patch try to fix the building error on MIPS. The reason is MIPS has already defined the LONG macro, which conflic

[PATCH 4.14 06/18] net/sctp: Always set scope_id in sctp_inet6_skb_msgname

2017-11-22 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: "Eric W. Biederman" [ Upstream commit 7c8a61d9ee1df0fb4747879fa67a99614eb62fec ] Alexandar Potapenko while testing the kernel with KMSAN and syzkaller discovered that in some configurations s

[PATCH 4.14 10/18] tpm-dev-common: Reject too short writes

2017-11-22 Thread Greg Kroah-Hartman
4.14-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 bytes in the communication buffe

[PATCH 4.14 08/18] serial: omap: Fix EFR write on RTS deassertion

2017-11-22 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Lukas Wunner commit 2a71de2f7366fb1aec632116d0549ec56d6a3940 upstream. Commit 348f9bb31c56 ("serial: omap: Fix RTS handling") sought to enable auto RTS upon manual RTS assertion and disable it

[PATCH 4.14 09/18] serial: 8250_fintek: Fix finding base_port with activated SuperIO

2017-11-22 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Ji-Ze Hong (Peter Hong) commit fd97e66c5529046e989a0879c3bb58fddb592c71 upstream. The SuperIO will be configured at boot time by BIOS, but some BIOS will not deactivate the SuperIO when the en

[PATCH 4.14 12/18] mm/pagewalk.c: report holes in hugetlb ranges

2017-11-22 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Jann Horn commit 373c4557d2aa362702c4c2d41288fb1e54990b7c upstream. This matters at least for the mincore syscall, which will otherwise copy uninitialized memory from the page allocator to use

[PATCH 4.14 13/18] ocfs2: fix cluster hang after a node dies

2017-11-22 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Changwei Ge commit 1c01967116a678fed8e2c68a6ab82abc8effeddc upstream. When a node dies, other live nodes have to choose a new master for an existed lock resource mastered by the dead node. As

[PATCH 4.14 14/18] ocfs2: should wait dio before inode lock in ocfs2_setattr()

2017-11-22 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: alex chen commit 28f5a8a7c033cbf3e32277f4cc9c6afd74f05300 upstream. we should wait dio requests to finish before inode lock in ocfs2_setattr(), otherwise the following deadlock will happen: p

[PATCH 4.14 00/18] 4.14.2-stable review

2017-11-22 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.14.2 release. There are 18 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 Fri Nov 24 10:11:38 UTC 2017. Anything receive

[PATCH 4.14 16/18] mm/page_alloc.c: broken deferred calculation

2017-11-22 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Pavel Tatashin commit d135e5750205a21a212a19dbb05aeb339e2cbea7 upstream. In reset_deferred_meminit() we determine number of pages that must not be deferred. We initialize pages for at least 2

[PATCH 4.14 15/18] ipmi: fix unsigned long underflow

2017-11-22 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Corey Minyard commit 392a17b10ec4320d3c0e96e2a23ebaad1123b989 upstream. When I set the timeout to a specific value such as 500ms, the timeout event will not happen in time due to the overflow

[PATCH 4.14 11/18] rcu: Fix up pending cbs check in rcu_prepare_for_idle

2017-11-22 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Neeraj Upadhyay commit 135bd1a230bb69a68c9808a7d25467318900b80a upstream. The pending-callbacks check in rcu_prepare_for_idle() is backwards. It should accelerate if there are pending callback

[PATCH 4.14 17/18] mm/page_ext.c: check if page_ext is not prepared

2017-11-22 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Jaewon Kim commit e492080e640c2d1235ddf3441cae634cfffef7e1 upstream. online_page_ext() and page_ext_init() allocate page_ext for each section, but they do not allocate if the first PFN is !pfn

[PATCH 4.14 18/18] coda: fix kernel memory exposure attempt in fsync

2017-11-22 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Jan Harkes commit d337b66a4c52c7b04eec661d86c2ef6e168965a2 upstream. When an application called fsync on a file in Coda a small request with just the file identifier was allocated, but the dec

[PATCH 4.14 07/18] ima: do not update security.ima if appraisal status is not INTEGRITY_PASS

2017-11-22 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Roberto Sassu commit 020aae3ee58c1af0e7ffc4e2cc9fe4dc630338cb upstream. Commit b65a9cfc2c38 ("Untangling ima mess, part 2: deal with counters") moved the call of ima_file_check() from may_open

[PATCH 4.13 05/35] netfilter/ipvs: clear ipvs_property flag when SKB net namespace changed

2017-11-22 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Ye Yin [ Upstream commit 2b5ec1a5f9738ee7bf8f5ec0526e75e00362c48f ] When run ipvs in two different network namespace at the same host, and one ipvs transport network traffic to the other netw

[PATCH 4.13 31/35] ipmi: fix unsigned long underflow

2017-11-22 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Corey Minyard commit 392a17b10ec4320d3c0e96e2a23ebaad1123b989 upstream. When I set the timeout to a specific value such as 500ms, the timeout event will not happen in time due to the overflow

[PATCH 4.13 30/35] ocfs2: should wait dio before inode lock in ocfs2_setattr()

2017-11-22 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: alex chen commit 28f5a8a7c033cbf3e32277f4cc9c6afd74f05300 upstream. we should wait dio requests to finish before inode lock in ocfs2_setattr(), otherwise the following deadlock will happen: p

[PATCH 4.13 03/35] tcp: do not mangle skb->cb[] in tcp_make_synack()

2017-11-22 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 3b11775033dc87c3d161996c54507b15ba26414a ] Christoph Paasch sent a patch to address the following issue : tcp_make_synack() is leaving some TCP private info in

Re: objtool - what if I want to clobber rbp?

2017-11-22 Thread Jason A. Donenfeld
Hi Josh, On Wed, Nov 22, 2017 at 4:31 AM, Josh Poimboeuf wrote: > - Make your feature conflict with CONFIG_FRAME_POINTER on x86_64. The > ORC unwinder is now the default anyway for 4.15, and we renamed the > configs, so most people will be actively switching to ORC. > BTW, since CONFIG_FRAME

[PATCH 4.13 24/35] serial: omap: Fix EFR write on RTS deassertion

2017-11-22 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Lukas Wunner commit 2a71de2f7366fb1aec632116d0549ec56d6a3940 upstream. Commit 348f9bb31c56 ("serial: omap: Fix RTS handling") sought to enable auto RTS upon manual RTS assertion and disable it

[PATCH 4.13 29/35] ocfs2: fix cluster hang after a node dies

2017-11-22 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Changwei Ge commit 1c01967116a678fed8e2c68a6ab82abc8effeddc upstream. When a node dies, other live nodes have to choose a new master for an existed lock resource mastered by the dead node. As

[PATCH 4.13 21/35] fealnx: Fix building error on MIPS

2017-11-22 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Huacai Chen [ Upstream commit cc54c1d32e6a4bb3f116721abf900513173e4d02 ] This patch try to fix the building error on MIPS. The reason is MIPS has already defined the LONG macro, which conflic

[PATCH 4.13 22/35] net/sctp: Always set scope_id in sctp_inet6_skb_msgname

2017-11-22 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: "Eric W. Biederman" [ Upstream commit 7c8a61d9ee1df0fb4747879fa67a99614eb62fec ] Alexandar Potapenko while testing the kernel with KMSAN and syzkaller discovered that in some configurations s

[PATCH 4.13 20/35] sctp: do not peel off an assoc from one netns to another one

2017-11-22 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Xin Long [ Upstream commit df80cd9b28b9ebaa284a41df611dbf3a2d05ca74 ] Now when peeling off an association to the sock in another netns, all transports in this assoc are not to be rehashed and

[PATCH 4.13 17/35] af_netlink: ensure that NLMSG_DONE never fails in dumps

2017-11-22 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: "Jason A. Donenfeld" [ Upstream commit 0642840b8bb008528dbdf929cec9f65ac4231ad0 ] The way people generally use netlink_dump is that they fill in the skb as much as possible, breaking when nla

[PATCH 4.13 16/35] net/mlx5e: Set page to null in case dma mapping fails

2017-11-22 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Inbar Karmy [ Upstream commit 2e50b2619538ea0224c037f6fa746023089e0654 ] Currently, when dma mapping fails, put_page is called, but the page is not set to null. Later, in the page_reuse treat

[PATCH 4.13 13/35] tcp: fix tcp_fastretrans_alert warning

2017-11-22 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Yuchung Cheng [ Upstream commit 0eb96bf754d7fa6635aa0b0f6650c74b8a6b1cc9 ] This patch fixes the cause of an WARNING indicatng TCP has pending retransmission in Open state in tcp_fastretrans_a

[PATCH 4.9 24/25] mm/page_alloc.c: broken deferred calculation

2017-11-22 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Pavel Tatashin commit d135e5750205a21a212a19dbb05aeb339e2cbea7 upstream. In reset_deferred_meminit() we determine number of pages that must not be deferred. We initialize pages for at least 2G

[PATCH 4.9 18/25] serial: omap: Fix EFR write on RTS deassertion

2017-11-22 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Lukas Wunner commit 2a71de2f7366fb1aec632116d0549ec56d6a3940 upstream. Commit 348f9bb31c56 ("serial: omap: Fix RTS handling") sought to enable auto RTS upon manual RTS assertion and disable it

Re: [RFC v2] prctl: prctl(PR_SET_IDLE, PR_IDLE_MODE_KILLME), for stateless idle loops

2017-11-22 Thread peter enderborg
On 11/03/2017 07:35 AM, Shawn Landden wrote: > It is common for services to be stateless around their main event loop. > If a process sets PR_SET_IDLE to PR_IDLE_MODE_KILLME then it > signals to the kernel that epoll_wait() and friends may not complete, > and the kernel may send SIGKILL if resource

[PATCH v4.1 2/2] livepatch: force transition to finish

2017-11-22 Thread Miroslav Benes
If a task sleeps in a set of patched functions uninterruptedly, it could block the whole transition indefinitely. Thus it may be useful to clear its TIF_PATCH_PENDING to allow the process to finish. Admin can do that now by writing to force sysfs attribute in livepatch sysfs directory. TIF_PATCH_

Re: [PATCH] mm: migrate: fix an incorrect call of prep_transhuge_page()

2017-11-22 Thread Michal Hocko
On Wed 22-11-17 10:35:10, Michal Hocko wrote: [...] > Moreover I am not really sure this is really working properly. Just look > at the split_huge_page. It moves all the tail pages to the LRU list > while migrate_pages has a list of pages to migrate. So we will migrate > the head page and all the r

[PATCH 4.9 17/25] ima: do not update security.ima if appraisal status is not INTEGRITY_PASS

2017-11-22 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Roberto Sassu commit 020aae3ee58c1af0e7ffc4e2cc9fe4dc630338cb upstream. Commit b65a9cfc2c38 ("Untangling ima mess, part 2: deal with counters") moved the call of ima_file_check() from may_open(

[PATCH 4.9 11/25] af_netlink: ensure that NLMSG_DONE never fails in dumps

2017-11-22 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: "Jason A. Donenfeld" [ Upstream commit 0642840b8bb008528dbdf929cec9f65ac4231ad0 ] The way people generally use netlink_dump is that they fill in the skb as much as possible, breaking when nla_

[PATCH 4.9 12/25] sctp: do not peel off an assoc from one netns to another one

2017-11-22 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Xin Long [ Upstream commit df80cd9b28b9ebaa284a41df611dbf3a2d05ca74 ] Now when peeling off an association to the sock in another netns, all transports in this assoc are not to be rehashed and

[PATCH 4.4 06/16] sctp: do not peel off an assoc from one netns to another one

2017-11-22 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Xin Long [ Upstream commit df80cd9b28b9ebaa284a41df611dbf3a2d05ca74 ] Now when peeling off an association to the sock in another netns, all transports in this assoc are not to be rehashed and

[PATCH 4.4 05/16] af_netlink: ensure that NLMSG_DONE never fails in dumps

2017-11-22 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: "Jason A. Donenfeld" [ Upstream commit 0642840b8bb008528dbdf929cec9f65ac4231ad0 ] The way people generally use netlink_dump is that they fill in the skb as much as possible, breaking when nla_

[PATCH 4.4 04/16] vlan: fix a use-after-free in vlan_device_event()

2017-11-22 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Cong Wang [ Upstream commit 052d41c01b3a2e3371d66de569717353af489d63 ] After refcnt reaches zero, vlan_vid_del() could free dev->vlan_info via RCU: RCU_INIT_POINTER(dev->vlan_info, NU

[PATCH 4.4 15/16] mm/page_alloc.c: broken deferred calculation

2017-11-22 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Pavel Tatashin commit d135e5750205a21a212a19dbb05aeb339e2cbea7 upstream. In reset_deferred_meminit() we determine number of pages that must not be deferred. We initialize pages for at least 2G

[PATCH 4.4 14/16] ipmi: fix unsigned long underflow

2017-11-22 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Corey Minyard commit 392a17b10ec4320d3c0e96e2a23ebaad1123b989 upstream. When I set the timeout to a specific value such as 500ms, the timeout event will not happen in time due to the overflow i

[PATCH 4.4 01/16] tcp: do not mangle skb->cb[] in tcp_make_synack()

2017-11-22 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 3b11775033dc87c3d161996c54507b15ba26414a ] Christoph Paasch sent a patch to address the following issue : tcp_make_synack() is leaving some TCP private info in

[PATCH 3.18 06/12] fealnx: Fix building error on MIPS

2017-11-22 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Huacai Chen [ Upstream commit cc54c1d32e6a4bb3f116721abf900513173e4d02 ] This patch try to fix the building error on MIPS. The reason is MIPS has already defined the LONG macro, which conflic

[PATCH 3.18 02/12] net/sctp: Always set scope_id in sctp_inet6_skb_msgname

2017-11-22 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: "Eric W. Biederman" [ Upstream commit 7c8a61d9ee1df0fb4747879fa67a99614eb62fec ] Alexandar Potapenko while testing the kernel with KMSAN and syzkaller discovered that in some configurations s

Re: [tegra186]: emmc resume failing after booting from snapshot image

2017-11-22 Thread Jon Hunter
Hi Pintu, I think that the appropriate place to ask about this issue is on the TX2 forum [0]. Someone should be able to help you there. Cheers Jon [0] https://devtalk.nvidia.com/default/board/188/jetson-tx2/ On 22/11/17 09:11, Mikko Perttunen wrote: > The upstream kernel currently has no core r

Re: [PATCH 1/4] rk3399_dmc: Fix line continuation format

2017-11-22 Thread Joe Perches
On Wed, 2017-11-22 at 14:13 +0900, Chanwoo Choi wrote: > On 2017년 11월 17일 00:27, Joe Perches wrote: > > Line continuations with excess spacing causes unexpected output. > > > > Signed-off-by: Joe Perches > > --- > > drivers/devfreq/rk3399_dmc.c | 4 ++-- > > 1 file changed, 2 insertions(+), 2 de

Re: kernel CI: printk loglevels in kernel boot logs?

2017-11-22 Thread Mark Brown
On Wed, Nov 22, 2017 at 02:26:30PM +0900, Sergey Senozhatsky wrote: > so may be we can add "syslog" mode for console drivers and do print_prefix() > in console_unlock() [unless have nr_ext_console_drivers]. if this is what > you guys are talking about. (frankly, I have no idea if there are tools >

memcpy_to/fromio() is badly optimised on x86

2017-11-22 Thread David Laight
I believe that it is valid to use memcpy_to/fromio() to copy data to/from memory BARs on PCIe cards. However on x86 they are both aliases for memcpy(). The x86 kernel has several implementations of memcpy(). The 'best' one for the current cpu is selected during boot. For more recent Intel cpus (

[PATCH] move libgcc.h to include/linux

2017-11-22 Thread Christoph Hellwig
Introducing a new include/lib directory just for this file totally messes up tab completion for include/linux, which is highly annoying. Move it to include/linux where we have headers for all kinds of other lib/ code as well. Signed-off-by: Christoph Hellwig --- include/{lib => linux}/libgcc.h

[GIT PULL] pwm: Changes for v4.15-rc1

2017-11-22 Thread Thierry Reding
Hi Linus, The following changes since commit 2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e: Linux 4.14-rc1 (2017-09-16 15:47:51 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm.git tags/pwm/for-4.15-rc1 for you to fetch chang

Re: Failed IRQ assignment for INT0002 on Braswell

2017-11-22 Thread Hans de Goede
Hi, On 21-11-17 23:35, Oleksandr Natalenko wrote: Hi, Hans. v4.13 kernel introduced new fancy warning in the dmesg: === kernel: acpi INT0002:00: Device [GPED] is in always present list kernel: genirq: Flags mismatch irq 9. 00010084 (INT0002) vs. 2080 (acpi) kernel: INT0002 Virtual GPIO INT

Re: [PATCH v3] staging: fsl-mc: use 32bits to support 64K size mc-portals

2017-11-22 Thread Laurentiu Tudor
On 11/22/2017 09:48 AM, Bharat Bhushan wrote: > As per APIs each mc-portal is of 64K size while currently > 16bits (type u16) is used to store size of mc-portal. > In these cases upper bit of portal size gets truncated. > > Signed-off-by: Bharat Bhushan > --- Ok, so just to clarify this fixes t

[PATCH 1/1] stackdepot: interface to check entries and size of stackdepot.

2017-11-22 Thread Maninder Singh
This patch provides interface to check all the stack enteries saved in stackdepot so far as well as memory consumed by stackdepot. 1) Take current depot_index and offset to calculate end address for one iteration of (/sys/kernel/debug/depot_stack/depot_entries). 2) Fill end marker in ever

Re: [PATCH 3/4] ARM: dts: imx6q: Add Variscite DART-MX6 Carrier-board support

2017-11-22 Thread Neil Armstrong
Hi Fabio, On 21/11/2017 17:45, Fabio Estevam wrote: > On Tue, Nov 21, 2017 at 2:28 PM, Neil Armstrong > wrote: > >> + gpio-keys { >> + compatible = "gpio-keys"; >> + #address-cells = <1>; >> + #size-cells = <0>; >> + autorepeat; >> +

Re: [PATCH 4/4] cpu_cooling: Drop static-power related stuff

2017-11-22 Thread Sudeep Holla
(sorry for chiming in quite late) On 21/11/17 18:12, Eduardo Valentin wrote: > On Tue, Nov 21, 2017 at 06:00:07PM +, Javi Merino wrote: >> Hi, >> >> On Tue, Nov 21, 2017 at 08:57:06AM -0800, Eduardo Valentin wrote: >> [...] >> >> In a nutshell, mainline does not want platform specific code,

Re: [PATCH v5 11/11] intel_sgx: driver documentation

2017-11-22 Thread Borislav Petkov
On Tue, Nov 21, 2017 at 04:27:45PM -0800, Jethro Beekman wrote: > See http://www.spinics.net/lists/platform-driver-x86/msg13829.html under > "Launch control". Essentially, firmware can make it so that user has no > control over IA32_SGXLEPUBKEYHASHn value. ... and we're back full circle to my init

[PATCH v2 0/6] ARM: Add Variscite DART-MX6 SoM and Carrier-board support

2017-11-22 Thread Neil Armstrong
This patchset adds support for the Variscite DART-MX6 SoM with : - i.MX6 Quad or Dual Lite SoC - 1Gb/2Gb LPDDR2 - 4-64 GB eMMC - Camera Interface - HDMI+CEC interface - LVDS / DSI / Parallel RGB interfaces - Ethernet RGMII interface - On-SoM Wi-Fi/Bluetooth with WiLink wl1835 SDIO Module - SD/MMC/S

[PATCH v2 4/6] ARM: dts: imx6qdl: Add Variscite DART-MX6 SoM support

2017-11-22 Thread Neil Armstrong
This patch adds support for the Variscite DART-MX6 SoM with : - i.MX6 Quad or Dual Lite SoC - 1Gb/2Gb LPDDR2 - 4-64 GB eMMC - Camera Interface - HDMI+CEC interface - LVDS / DSI / Parallel RGB interfaces - Ethernet RGMII interface - On-SoM Wi-Fi/Bluetooth with WiLink wl1835 SDIO Module - SD/MMC/SDIO

[PATCH v2 6/6] ARM: configs: Add missing config for DART-MX6 SoM

2017-11-22 Thread Neil Armstrong
This patch adds the missing configs for the DART-MX6 SoM support : - SERDEV bluetooth driver + SERIAL_DEV_BUS configs - WL18XX driver - DEFAULT_ON Led Trigger Reviewed-by: Fabio Estevam Signed-off-by: Neil Armstrong --- arch/arm/configs/imx_v6_v7_defconfig | 6 ++ 1 file changed, 6 insertio

[PATCH v2 1/6] ARM: dts: imx6qdl-pinfunc: Add missing MX6QDL_PAD_ENET_RXD0__OSC32K_32K_OUT

2017-11-22 Thread Neil Armstrong
Add missing pinmux entry for OSC32K_32K_OUT on pad ENET_RXD0 used by the Variscite DART-MX6 SoM. Reviewed-by: Fabio Estevam Signed-off-by: Neil Armstrong --- arch/arm/boot/dts/imx6dl-pinfunc.h | 1 + arch/arm/boot/dts/imx6q-pinfunc.h | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/a

[PATCH v2 3/6] devicetree/bindings: display: Add bindings for SGD GKTW70SDAE4SE Panel

2017-11-22 Thread Neil Armstrong
The GKTW70SDAE4SE is an LVDS display panel. Their bindings are modelled on the the LVDS panel bindings. Signed-off-by: Neil Armstrong --- .../bindings/display/panel/sgd,gktw70sdae4se.txt | 41 ++ 1 file changed, 41 insertions(+) create mode 100644 Documentation/devicetree

[PATCH v2 5/6] ARM: dts: imx6q: Add Variscite DART-MX6 Carrier-board support

2017-11-22 Thread Neil Armstrong
This patch adds support for the i.MX6 Quad variant of the Variscite DART-MX6 SoM Carrier-Board. This Carrier-Board has the following : - LVDS interface for the VLCD-CAP-GLD-LVDS 7" LCD 800 x 480 touch display - HDMI Connector - USB Host + USB OTG Connector - 10/100/1000 Mbps Ethernet - miniPCI-Exp

Re: Linux & FAT32 label

2017-11-22 Thread Karel Zak
On Wed, Nov 22, 2017 at 09:52:03AM +0100, Pali Rohár wrote: > I can prepare patches for blkid (util-linux), but I do not like idea to > have different algorithm how is read label in fatlabel and blkid. Both > tools are used by different GUI programs and it is a bad if one GUI > program on linux (e.

[PATCH v2 2/6] dt-bindings: Add vendor prefix for Solomon Goldentek Display Corporation

2017-11-22 Thread Neil Armstrong
Solomon Goldentek Display Corporation is a Taiwanese LCD/LCM manufacturer. Company Site: http://www.goldentek.com.tw Signed-off-by: Neil Armstrong --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendo

Re: [PATCH v2 04/18] x86/gdt: Put per-cpu GDT remaps in ascending order

2017-11-22 Thread Borislav Petkov
On Tue, Nov 21, 2017 at 08:43:59PM -0800, Andy Lutomirski wrote: > We currently have CPU 0's GDT at the top of the GDT range and > higher-numbered CPUs at lower addreses. This happens because the > fixmap is upside down (index 0 is the top of the fixmap). > > Flip it so that GDTs are in ascending

Re: [PATCH 4/4] cpu_cooling: Drop static-power related stuff

2017-11-22 Thread Viresh Kumar
On 22-11-17, 06:55, Viresh Kumar wrote: > On 21-11-17, 18:00, Javi Merino wrote: > > As Ionela pointed out earlier in the thread, the cpufreq driver for Juno > > was not acceptable for mainline because it used platform specific code. > > Can we get a link to that thread? I don't remember what I ha

Re: [PATCH 4/4] cpu_cooling: Drop static-power related stuff

2017-11-22 Thread Viresh Kumar
On 22-11-17, 10:59, Sudeep Holla wrote: > IMO, if the $subject code is expected to be used on Juno, then my answer > is no if one can't test it reliably and also prove that static power > really matters on Juno. So far, I have heard both the above is not > possible. So please delete the code if Jun

Re: [patch V4 01/11] Documentation: Add license-rules.rst to describe how to properly identify file licenses

2017-11-22 Thread Thomas Gleixner
On Fri, 17 Nov 2017, Christoph Hellwig wrote: > On Fri, Nov 17, 2017 at 07:11:41PM +0100, Thomas Gleixner wrote: > > Introcude a MODULE_LICENSE_SPDX macro which flags the module info storage > > as 'SPDXIFY' and let the postprocessor do: > > Shouldn;t this be a FILE_LICENSE_SPDX? I'd also much pr

Re: [PATCH 4/4] cpu_cooling: Drop static-power related stuff

2017-11-22 Thread Sudeep Holla
On 22/11/17 11:10, Viresh Kumar wrote: > On 22-11-17, 10:59, Sudeep Holla wrote: >> IMO, if the $subject code is expected to be used on Juno, then my answer >> is no if one can't test it reliably and also prove that static power >> really matters on Juno. So far, I have heard both the above is no

Re: kernel CI: printk loglevels in kernel boot logs?

2017-11-22 Thread Petr Mladek
On Wed 2017-11-22 11:27:02, Fengguang Wu wrote: > [CC LKML for possible printk improvements] > > On Wed, Nov 22, 2017 at 09:56:10AM +0800, Fengguang Wu wrote: > > Hi Kevin, > > > > On Tue, Nov 21, 2017 at 12:27:48PM -0800, Kevin Hilman wrote: > > > Hi Fenguang, > > > > > > In automated testing,

Re: [PATCHv3 2/2] x86/selftests: Add test for mapping placement for 5-level paging

2017-11-22 Thread Aneesh Kumar K.V
"Kirill A. Shutemov" writes: > On Wed, Nov 22, 2017 at 11:11:36AM +0530, Aneesh Kumar K.V wrote: >> "Kirill A. Shutemov" writes: >> >> > With 5-level paging, we have 56-bit virtual address space available for >> > userspace. But we don't want to expose userspace to addresses above >> > 47-bits,

Re: [PATCH] PCI: designware-ep: Fix ->get_msi() to check MSI_EN bit

2017-11-22 Thread Lorenzo Pieralisi
On Wed, Nov 22, 2017 at 02:34:27PM +0530, Kishon Vijay Abraham I wrote: > ->get_msi() now checks MSI_EN bit in the MSI CAPABILITY register to > find whether the host supports MSI instead of using the > MSI ADDRESS in the MSI CAPABILITY register. I think that's a sensible thing to do regardless, gi

Re: Regression with a91d66129fb9 ("ALSA: hda - Fix incorrect TLV callback check introduced during set_fs() removal")

2017-11-22 Thread Takashi Iwai
On Wed, 22 Nov 2017 08:52:51 +0100, Takashi Iwai wrote: > > On Tue, 21 Nov 2017 17:25:05 +0100, > Takashi Iwai wrote: > > > > On Tue, 21 Nov 2017 17:14:42 +0100, > > Laura Abbott wrote: > > > > > > Hi, > > > > > > Fedora got a bug report > > > (https://bugzilla.redhat.com/show_bug.cgi?id=15128

[PATCH 7/8] MAINTAINERS: add entries for UniPhier ASoC sound drivers

2017-11-22 Thread Katsuhiro Suzuki
Signed-off-by: Katsuhiro Suzuki --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index b05bc2c5e85c..0959fd951f80 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -12579,6 +12579,12 @@ F: include/media/soc* F: drivers/media/i2c/soc_camera/

[PATCH 4/8] ASoC: uniphier: add support for UniPhier EVEA codec

2017-11-22 Thread Katsuhiro Suzuki
This patch adds EVEA codec driver. This codec core is in inside of UniPhier SoC. Signed-off-by: Katsuhiro Suzuki --- sound/soc/Kconfig | 1 + sound/soc/Makefile | 1 + sound/soc/uniphier/Kconfig | 19 ++ sound/soc/uniphier/Makefile | 3 + sound/soc/uniphier/evea.c |

[PATCH 8/8] arm64: dts: uniphier: add sound node for UniPhier

2017-11-22 Thread Katsuhiro Suzuki
This patch adds audio controller, codec and simple card node of UniPhier AIO sound system for LD11/20 SoCs. Signed-off-by: Katsuhiro Suzuki --- .../boot/dts/socionext/uniphier-ld11-global.dts| 72 ++ arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi | 31 ++ .../

[PATCH 0/8] add UniPhier audio system support

2017-11-22 Thread Katsuhiro Suzuki
This series adds support for Socionext audio system for UniPhier LD11/LD20 SoCs. This driver supports I2S output for Line-In, Line-Out and S/PDIF output. UniPhier AIO DAI driver provides sound devices such as I2S, S/PDIF. Since the AIO has mixed register map for those I/Os, it is hard to split reg

[PATCH 5/8] ASoC: uniphier: add support for UniPhier AIO driver

2017-11-22 Thread Katsuhiro Suzuki
This patch adds for UniPhier AIO audio sound system. This provides commonly used APIs for input/output control registers and DMA interfaces for UniPhier AIO. This module provides all sound devices for I2S, S/PDIF and so on. Since the AIO has mixed register map for those I/Os, it is hard to split r

[PATCH 6/8] ASoC: uniphier: add support for UniPhier LD11/LD20 AIO driver

2017-11-22 Thread Katsuhiro Suzuki
This patch adds support for UniPhier AIO sound driver which is included in UniPhier LD11/LD20 SoCs. Signed-off-by: Katsuhiro Suzuki --- sound/soc/uniphier/Kconfig| 10 ++ sound/soc/uniphier/Makefile | 1 + sound/soc/uniphier/aio-ld11.c | 343 ++ 3

[PATCH 1/8] ASoC: spdif: Add S32_LE support for S/PDIF dummy codec drivers

2017-11-22 Thread Katsuhiro Suzuki
AIO on UniPhier can output S/PDIF where no codec is needed. This patch adds S32_LE support for dummy codec drivers. If one S/PDIF controller has its own limitation, its CPU DAI driver should set the supported format by its own circumstance, since the soc-pcm driver will use the intersection of cpu

[PATCH 2/8] ASoC: uniphier: add DT bindings documentation for UniPhier EVEA

2017-11-22 Thread Katsuhiro Suzuki
This patch adds DT binding documentation for UniPhier EVEA that is SoC inner sound codec of UniPhier series. Signed-off-by: Katsuhiro Suzuki --- .../devicetree/bindings/sound/uniphier,evea.txt| 26 ++ 1 file changed, 26 insertions(+) create mode 100644 Documentation/devi

[PATCH 3/8] ASoC: uniphier: add DT bindings documentation for UniPhier AIO

2017-11-22 Thread Katsuhiro Suzuki
This patch adds DT binding documentation for UniPhier AIO audio subsystem. Signed-off-by: Katsuhiro Suzuki --- .../devicetree/bindings/sound/uniphier,aio.txt | 36 ++ 1 file changed, 36 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/uniphier,aio

Re: [PATCH] xen-netfront: remove warning when unloading module

2017-11-22 Thread kbuild test robot
/linux/commits/Eduardo-Otubo/xen-netfront-remove-warning-when-unloading-module/20171122-163844 base: https://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git linux-next config: x86_64-allmodconfig (attached as .config) compiler: gcc-6 (Debian 6.4.0-9) 6.4.0 20171026 reproduce: # save the

Re: [PATCH v2] powerpc: fix boot on BOOK3S_32 with CONFIG_STRICT_KERNEL_RWX

2017-11-22 Thread Michael Ellerman
Christophe LEROY writes: > Le 22/11/2017 à 00:07, Balbir Singh a écrit : >> On Wed, Nov 22, 2017 at 1:28 AM, Christophe Leroy >> wrote: >>> On powerpc32, patch_instruction() is called by apply_feature_fixups() >>> which is called from early_init() >>> >>> There is the following note in front of

Re: [PATCH] Staging: comedi: adl_pci9118: fixed some parentheses coding style issue

2017-11-22 Thread Guilherme Tadashi Maeoka
Thank you. I'll keep that in mind next time! On Wed, Nov 22, 2017 at 11:28:51AM +1100, Tobin C. Harding wrote: > You may like to limit the git log brief description to 50 characters > (this is going to be hard with such a long pre-fix though :) > > Brief description should be in imperative mood i

Re: [patch V4 01/11] Documentation: Add license-rules.rst to describe how to properly identify file licenses

2017-11-22 Thread Mauro Carvalho Chehab
Em Wed, 22 Nov 2017 12:12:04 +0100 (CET) Thomas Gleixner escreveu: > On Fri, 17 Nov 2017, Christoph Hellwig wrote: > > On Fri, Nov 17, 2017 at 07:11:41PM +0100, Thomas Gleixner wrote: > > > Introcude a MODULE_LICENSE_SPDX macro which flags the module info storage > > > as 'SPDXIFY' and let the

Re: [PATCH v2] powerpc: fix boot on BOOK3S_32 with CONFIG_STRICT_KERNEL_RWX

2017-11-22 Thread Michael Ellerman
Christophe Leroy writes: > On powerpc32, patch_instruction() is called by apply_feature_fixups() > which is called from early_init() > > There is the following note in front of early_init(): > * Note that the kernel may be running at an address which is different > * from the address that it wa

Re: [PATCH] PCI: designware-ep: Fix ->get_msi() to check MSI_EN bit

2017-11-22 Thread Kishon Vijay Abraham I
Hi Lorenzo, On Wednesday 22 November 2017 05:07 PM, Lorenzo Pieralisi wrote: > On Wed, Nov 22, 2017 at 02:34:27PM +0530, Kishon Vijay Abraham I wrote: >> ->get_msi() now checks MSI_EN bit in the MSI CAPABILITY register to >> find whether the host supports MSI instead of using the >> MSI ADDRESS in

Re: [RFC PATCH 0/7] Fix Intel audio Kconfig issues

2017-11-22 Thread Mark Brown
On Tue, Nov 21, 2017 at 06:10:52PM +0100, Takashi Iwai wrote: > Takashi Iwai wrote: > > FYI, I've put these to a test branch, test/asoc-intel-kconfig, so that > > 0day bot can catch issues. Let's see. > No news is a good news, it seems that your patchset doesn't break > builds, at least. Let's

Re: [PATCH v3 10/18] powerpc/vas, nx-842: Define and use chip_to_vas_id()

2017-11-22 Thread Michael Ellerman
Josh Boyer writes: > On Tue, Nov 7, 2017 at 9:23 PM, Sukadev Bhattiprolu > wrote: ... >> diff --git a/arch/powerpc/platforms/powernv/vas.c >> b/arch/powerpc/platforms/powernv/vas.c >> index abb7090..cd9a733 100644 >> --- a/arch/powerpc/platforms/powernv/vas.c >> +++ b/arch/powerpc/platforms/pow

Re: [PATCH 1/1] mm/cma: fix alloc_contig_range ret code/potential leak

2017-11-22 Thread Johannes Weiner
On Mon, Nov 20, 2017 at 11:39:30AM -0800, Mike Kravetz wrote: > If the call __alloc_contig_migrate_range() in alloc_contig_range > returns -EBUSY, processing continues so that test_pages_isolated() > is called where there is a tracepoint to identify the busy pages. > However, it is possible for bus

Re: [BUG] 4.4.x-rt - memcg: refill_stock() use get_cpu_light() has data corruption issue

2017-11-22 Thread Steven Rostedt
On Wed, 22 Nov 2017 06:36:45 +0100 Mike Galbraith wrote: > On Tue, 2017-11-21 at 22:50 -0500, Steven Rostedt wrote: > > > > Does it work if you revert the patch? > > That would restore the gripe.  How about this.. Would it? The gripe you report is: refill_stock() get_cpu_v

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