[PATCH 3.2 00/77] 3.2.75-rc1 review

2015-12-24 Thread Ben Hutchings
This is the start of the stable review cycle for the 3.2.75 release. There are 77 patches in this series, which will be posted as responses to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Tue Dec 29 18:00:00 UTC 2015. Anything

[PATCH 3.2 29/77] vfs: Make sendfile(2) killable even better

2015-12-24 Thread Ben Hutchings
3.2.75-rc1 review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit c725bfce7968009756ed2836a8cd7ba4dc163011 upstream. Commit 296291cdd162 (mm: make sendfile(2) killable) fixed an issue where sendfile(2) was doing a lot of tiny

[PATCH 3.2 57/77] mm: hugetlb: call huge_pte_alloc() only if ptep is null

2015-12-24 Thread Ben Hutchings
3.2.75-rc1 review patch. If anyone has any objections, please let me know. -- From: Naoya Horiguchi commit 0d777df5d8953293be090d9ab5a355db893e8357 upstream. Currently at the beginning of hugetlb_fault(), we call huge_pte_offset() and check whether

[PATCH 3.2 33/77] ext4: Fix handling of extended tv_sec

2015-12-24 Thread Ben Hutchings
3.2.75-rc1 review patch. If anyone has any objections, please let me know. -- From: David Turner commit a4dad1ae24f850410c4e60f22823cba1289b8d52 upstream. In ext4, the bottom two bits of {a,c,m}time_extra are used to extend the {a,c,m}time fields,

[PATCH 3.2 61/77] net, scm: fix PaX detected msg_controllen overflow in scm_detach_fds

2015-12-24 Thread Ben Hutchings
3.2.75-rc1 review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann [ Upstream commit 6900317f5eff0a7070c5936e5383f589e0de7a09 ] David and HacKurx reported a following/similar size overflow triggered in a grsecurity

[PATCH 3.2 07/77] USB: serial: ti_usb_3410_5052: add Abbott strip port ID to combined table as well.

2015-12-24 Thread Ben Hutchings
3.2.75-rc1 review patch. If anyone has any objections, please let me know. -- From: Diego Elio Pettenò commit c9d09dc7ad106492c17c587b6eeb99fe3f43e522 upstream. Without this change, the USB cable for Freestyle Option and compatible glucometers will not

[PATCH 3.2 21/77] ip6mr: call del_timer_sync() in ip6mr_free_table()

2015-12-24 Thread Ben Hutchings
3.2.75-rc1 review patch. If anyone has any objections, please let me know. -- From: WANG Cong commit 7ba0c47c34a1ea5bc7a24ca67309996cce0569b5 upstream. We need to wait for the flying timers, since we are going to free the mrtable right after it. Cc:

[PATCH 3.2 11/77] ASoC: wm8962: correct addresses for HPF_C_0/1

2015-12-24 Thread Ben Hutchings
3.2.75-rc1 review patch. If anyone has any objections, please let me know. -- From: Sachin Pandhare commit e9f96bc53c1b959859599cb30ce6fd4fbb4448c2 upstream. =46romdatasheet: R17408 (4400h) HPF_C_1 R17409 (4401h) HPF_C_0 17048 -> 17408 (0x4400) 17049

[PATCH 3.2 48/77] sched/core: Clear the root_domain cpumasks in init_rootdomain()

2015-12-24 Thread Ben Hutchings
3.2.75-rc1 review patch. If anyone has any objections, please let me know. -- From: Xunlei Pang commit 8295c69925ad53ec32ca54ac9fc194ff21bc40e2 upstream. root_domain::rto_mask allocated through alloc_cpumask_var() contains garbage data, this may cause

[PATCH 3.2 76/77] isdn_ppp: Add checks for allocation failure in isdn_ppp_open()

2015-12-24 Thread Ben Hutchings
3.2.75-rc1 review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings commit 0baa57d8dc32db78369d8b5176ef56c5e2e18ab3 upstream. Compile-tested only. Signed-off-by: Ben Hutchings Signed-off-by: David S.

[PATCH 3.2 01/77] fuse: break infinite loop in fuse_fill_write_pages()

2015-12-24 Thread Ben Hutchings
3.2.75-rc1 review patch. If anyone has any objections, please let me know. -- From: Roman Gushchin commit 3ca8138f014a913f98e6ef40e939868e1e9ea876 upstream. I got a report about unkillable task eating CPU. Further investigation shows, that the problem is

[PATCH 3.2 12/77] net: fix __netdev_update_features return on ndo_set_features failure

2015-12-24 Thread Ben Hutchings
3.2.75-rc1 review patch. If anyone has any objections, please let me know. -- From: Nikolay Aleksandrov commit 00ee5927177792a6e139d50b6b7564d35705556a upstream. If ndo_set_features fails __netdev_update_features() will return -1 but this is wrong

Re: [PATCH v2] r8152: fix lockup when runtime PM is enabled

2015-12-24 Thread Oliver Neukum
On Thu, 2015-12-24 at 10:14 -0500, Alan Stern wrote: > On Thu, 24 Dec 2015, Oliver Neukum wrote: > > > On Wed, 2015-12-23 at 20:32 -0500, Alan Stern wrote: > > But you cannot keep that setting if the system goes down > > or any broadcast packet would resume the whole system. > > Yet you cannot

[PATCH 1/2] i2c: enable i2c device to suspend/resume asynchronously

2015-12-24 Thread Fu, Zhonghui
Now, PM core supports asynchronous suspend/resume mode for devices during system suspend/resume, and the power state transition of one device may be completed in separate kernel thread. PM core ensures all power state transition dependency between devices. This patch enables i2c devices to

[PATCH 2/2] i2c: enable i2c adapter to suspend/resume asynchronously

2015-12-24 Thread Fu, Zhonghui
Now, PM core supports asynchronous suspend/resume mode for devices during system suspend/resume, and the power state transition of one device may be completed in separate kernel thread. PM core ensures all power state transition dependency between devices. This patch enables i2c adapters to

Re: [PATCH 0/5] watchdog: Do not use 'dev' from watchdog_device in watchdog drivers

2015-12-24 Thread Damien Riegel
On Wed, Dec 23, 2015 at 09:11:28PM -0800, Guenter Roeck wrote: > The 'dev' variable in watchdog drivers has a different lifetime than the > watchdog character device and should therefore not be used by watchdog > drivers. > > Some of the drivers use the variable to print kernel messages. Those

Re: [RFC PATCH v2 2/3] thread_local_abi: wire up x86 32/64 system call

2015-12-24 Thread Mathieu Desnoyers
- On Dec 23, 2015, at 10:42 PM, Josh Triplett j...@joshtriplett.org wrote: > On December 22, 2015 10:02:12 AM PST, Mathieu Desnoyers > wrote: >>Wire up the thread local ABI on x86 32/64. Call the >>thread_local_abi_handle_notify_resume() function on return to

Re: [PATCH 0/5] watchdog: Do not use 'dev' from watchdog_device in watchdog drivers

2015-12-24 Thread Guenter Roeck
On 12/24/2015 07:07 AM, Damien Riegel wrote: On Wed, Dec 23, 2015 at 09:11:28PM -0800, Guenter Roeck wrote: The 'dev' variable in watchdog drivers has a different lifetime than the watchdog character device and should therefore not be used by watchdog drivers. Some of the drivers use the

Re: [PATCH 1/3] ARM: ATAGS: move atags.h to include/asm so it can be included by files outside kernel/

2015-12-24 Thread Russell King - ARM Linux
On Thu, Dec 24, 2015 at 04:00:56PM +0200, Ivaylo Dimitrov wrote: > This is needed by a follow-up patch that saves atags on RX51 device > > Signed-off-by: Ivaylo Dimitrov > --- > arch/arm/include/asm/atags.h | 20 > arch/arm/kernel/atags.h

[PATCH 3.2 02/77] sctp: translate host order to network order when setting a hmacid

2015-12-24 Thread Ben Hutchings
3.2.75-rc1 review patch. If anyone has any objections, please let me know. -- From: lucien commit ed5a377d87dc4c87fb3e1f7f698cba38cd893103 upstream. now sctp auth cannot work well when setting a hmacid manually, which is caused by that we didn't use the

[PATCH 3.2 54/77] vgaarb: fix signal handling in vga_get()

2015-12-24 Thread Ben Hutchings
3.2.75-rc1 review patch. If anyone has any objections, please let me know. -- From: "Kirill A. Shutemov" commit 9f5bd30818c42c6c36a51f93b4df75a2ea2bd85e upstream. There are few defects in vga_get() related to signal hadning: - we shouldn't check for

[PATCH 3.2 34/77] jbd2: Fix unreclaimed pages after truncate in data=journal mode

2015-12-24 Thread Ben Hutchings
3.2.75-rc1 review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit bc23f0c8d7ccd8d924c4e70ce311288cb3e61ea8 upstream. Ted and Namjae have reported that truncated pages don't get timely reclaimed after being truncated in

[PATCH 3.2 64/77] dccp: remove unnecessary codes in ipv6.c

2015-12-24 Thread Ben Hutchings
3.2.75-rc1 review patch. If anyone has any objections, please let me know. -- From: "RongQing.Li" commit 0979e465c5ab205b63a1c1820fe833f396a120f0 upstream. opt always equals np->opts, so it is meaningless to define opt, and check if opt does not equal

[PATCH 3.2 09/77] USB: ti_usb_3410_5052: Add Honeywell HGI80 ID

2015-12-24 Thread Ben Hutchings
3.2.75-rc1 review patch. If anyone has any objections, please let me know. -- From: David Woodhouse commit 1bcb49e663f88bccee35b8688e6a3da2bea31fd4 upstream. The Honeywell HGI80 is a wireless interface to the evohome connected thermostat. It uses a TI

[PATCH 3.2 27/77] unix: avoid use-after-free in ep_remove_wait_queue

2015-12-24 Thread Ben Hutchings
3.2.75-rc1 review patch. If anyone has any objections, please let me know. -- From: Rainer Weikusat commit 7d267278a9ece963d77eefec61630223fce08c6c upstream. Rainer Weikusat writes: An AF_UNIX datagram

[PATCH 3.2 69/77] ipv6: sctp: clone options to avoid use after free

2015-12-24 Thread Ben Hutchings
3.2.75-rc1 review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 9470e24f35ab81574da54e69df90c1eb4a96b43f ] SCTP is lacking proper np->opt cloning at accept() time. TCP and DCCP use ipv6_dup_options()

[PATCH 3.2 72/77] pptp: verify sockaddr_len in pptp_bind() and pptp_connect()

2015-12-24 Thread Ben Hutchings
3.2.75-rc1 review patch. If anyone has any objections, please let me know. -- From: WANG Cong [ Upstream commit 09ccfd238e5a0e670d8178cf50180ea81ae09ae1 ] Reported-by: Dmitry Vyukov Signed-off-by: Cong Wang

[PATCH 3.2 20/77] mac: validate mac_partition is within sector

2015-12-24 Thread Ben Hutchings
3.2.75-rc1 review patch. If anyone has any objections, please let me know. -- From: Kees Cook commit 02e2a5bfebe99edcf9d694575a75032d53fe1b73 upstream. If md->signature == MAC_DRIVER_MAGIC and md->block_size == 1023, a single 512 byte sector would be

[PATCH 3.2 23/77] can: sja1000: clear interrupts on start

2015-12-24 Thread Ben Hutchings
3.2.75-rc1 review patch. If anyone has any objections, please let me know. -- From: Mirza Krak commit 7cecd9ab80f43972c056dc068338f7bcc407b71c upstream. According to SJA1000 data sheet error-warning (EI) interrupt is not cleared by setting the

[PATCH 3.2 60/77] tcp: initialize tp->copied_seq in case of cross SYN connection

2015-12-24 Thread Ben Hutchings
3.2.75-rc1 review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 142a2e7ece8d8ac0e818eb2c91f99ca894730e2a ] Dmitry provided a syzkaller (http://github.com/google/syzkaller) generated program that triggers

[PATCH 3.2 05/77] ALSA: usb-audio: work around CH345 input SysEx corruption

2015-12-24 Thread Ben Hutchings
3.2.75-rc1 review patch. If anyone has any objections, please let me know. -- From: Clemens Ladisch commit a91e627e3f0ed820b11d86cdc04df38f65f33a70 upstream. One of the many faults of the QinHeng CH345 USB MIDI interface chip is that it does not handle

[PATCH 3.2 15/77] macvlan: fix leak in macvlan_handle_frame

2015-12-24 Thread Ben Hutchings
3.2.75-rc1 review patch. If anyone has any objections, please let me know. -- From: Sabrina Dubroca commit e639b8d8a7a728f0b05ef2df6cb6b45dc3d4e556 upstream. Reset pskb in macvlan_handle_frame in case skb_share_check returned a clone. Fixes:

Re: [PATCH 0/3] OMAP: RX51: save atags data to be exported on /proc/atags

2015-12-24 Thread Arnd Bergmann
On Thursday 24 December 2015, Ivaylo Dimitrov wrote: > Nokia N900 legacy userspace needs ATAGS passed by the bootloder to be > available in /proc/atags. With DT booted kernel this information is > no longer availabe. Fix that by saving ATAGS data early in the boot > stage so it can be exported in

[PATCH 3.2 06/77] USB: serial: option: add support for Novatel MiFi USB620L

2015-12-24 Thread Ben Hutchings
3.2.75-rc1 review patch. If anyone has any objections, please let me know. -- From: Aleksander Morgado commit e07af133c3e2716db25e3e1e1d9f10c2088e9c1a upstream. Also known as Verizon U620L. The device is modeswitched from 1410:9020 to 1410:9022 by

[PATCH 3.2 16/77] xhci: Add XHCI_INTEL_HOST quirk

2015-12-24 Thread Ben Hutchings
3.2.75-rc1 review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings Extracted from commit e3567d2c15a7 ("xhci: Add Intel U1/U2 timeout policy.") Signed-off-by: Ben Hutchings --- ---

[PATCH 3.2 10/77] usb: musb: core: fix order of arguments to ulpi write callback

2015-12-24 Thread Ben Hutchings
3.2.75-rc1 review patch. If anyone has any objections, please let me know. -- From: Uwe Kleine-König commit 705e63d2b29c8bbf091119084544d353bda70393 upstream. There is a bit of a mess in the order of arguments to the ulpi write callback. There

[PATCH 3.2 22/77] net: ip6mr: fix static mfc/dev leaks on table destruction

2015-12-24 Thread Ben Hutchings
3.2.75-rc1 review patch. If anyone has any objections, please let me know. -- From: Nikolay Aleksandrov commit 4c6980462f32b4f282c5d8e5f7ea8070e2937725 upstream. Similar to ipv4, when destroying an mrt table the static mfc entries and the static

[PATCH 3.2 32/77] ring-buffer: Update read stamp with first real commit on page

2015-12-24 Thread Ben Hutchings
3.2.75-rc1 review patch. If anyone has any objections, please let me know. -- From: "Steven Rostedt (Red Hat)" commit b81f472a208d3e2b4392faa6d17037a89442f4ce upstream. Do not update the read stamp after swapping out the reader page from the write buffer.

[PATCH 3.2 66/77] ipv6: sctp: implement sctp_v6_destroy_sock()

2015-12-24 Thread Ben Hutchings
3.2.75-rc1 review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 602dd62dfbda3e63a2d6a3cbde953ebe82bf5087 ] Dmitry Vyukov reported a memory leak using IPV6 SCTP sockets. We need to call

RE: [PATCH v4 7/7] ACPI / x86: introduce acpi_os_readable() support

2015-12-24 Thread Chen, Yu C
(resend for messy code) Hi, Andy > -Original Message- > From: Andy Lutomirski [mailto:l...@amacapital.net] > Sent: Thursday, December 24, 2015 9:40 AM > To: Zheng, Lv > Cc: Chen, Yu C; Moore, Robert; Wysocki, Rafael J; Brown, Len; Andy > Lutomirski; Lv Zheng; linux-kernel@vger.kernel.org;

Re: [PATCH] regulator: mt6397: convert to arch_initcall

2015-12-24 Thread Yingjoe Chen
On Wed, 2015-12-23 at 12:00 +, Mark Brown wrote: > On Wed, Dec 23, 2015 at 06:16:08PM +0800, Henry Chen wrote: > > Please fix your mail client to word wrap within paragraphs at something > substantially less than 80 columns. Doing this makes your messages much > easier to read and reply to.

Re: [PATCH v2 0/2] Improve drm_of_component_probe() and move rockchip to use it

2015-12-24 Thread Jean-Francois Moine
On Wed, 23 Dec 2015 18:59:48 + Russell King - ARM Linux wrote: > > > Have a look at my v2 where I've introduced two compare functions and also > > > modified the Rockchip compare_port() to use port->parent in the > > > comparison. I > > > guess that should solve your problem. > > > >

Re: [PATCH] gpiolib: Fix uninitialized variable warning

2015-12-24 Thread Bjorn Andersson
On Wed 23 Dec 13:46 PST 2015, Ross Zwisler wrote: > Commit ef7c7553039b ("gpiolib: improve overlap check of range of gpio") > introduced the following compiler warning: > > drivers/gpio/gpiolib.c: In function ‘gpiochip_add’: > drivers/gpio/gpiolib.c:193:20: warning: ‘iterator’ may be used

[PATCH] soc: qcom: smem_state: Add stubs for disabled smem_state

2015-12-24 Thread Bjorn Andersson
Signed-off-by: Bjorn Andersson --- include/linux/soc/qcom/smem_state.h | 35 +++ 1 file changed, 35 insertions(+) diff --git a/include/linux/soc/qcom/smem_state.h b/include/linux/soc/qcom/smem_state.h index f35e1512fcaa..7b88697929e9 100644 ---

[PATCH] mac80211: Make addr const in SET_IEEE80211_PERM_ADDR()

2015-12-24 Thread Bjorn Andersson
Make the addr parameter const in SET_IEEE80211_PERM_ADDR() to save clients from having to cast away a const qualifier. Signed-off-by: Bjorn Andersson --- include/net/mac80211.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/net/mac80211.h b/include/net/mac80211.h

Re: [PATCH v2 09/11] KVM: MMU: simplify mmu_need_write_protect

2015-12-24 Thread Kai Huang
On 12/23/2015 07:25 PM, Xiao Guangrong wrote: Now, all non-leaf shadow page are page tracked, if gfn is not tracked there is no non-leaf shadow page of gfn is existed, we can directly make the shadow page of gfn to unsync Signed-off-by: Xiao Guangrong --- arch/x86/kvm/mmu.c | 26

Re: [GIT PULL 5/9] ARM: EXYNOS: Drivers for v4.5

2015-12-24 Thread Linus Walleij
On Wed, Dec 2, 2015 at 2:39 AM, Krzysztof Kozlowski wrote: > The following changes since commit 8005c49d9aea74d382f474ce11afbbc7d7130bec: > > Linux 4.4-rc1 (2015-11-15 17:00:27 -0800) > > are available in the git repository at: > >

Re: [PATCH] pinctrl: nsp-gpio: fix type of iterator

2015-12-24 Thread Linus Walleij
On Wed, Dec 23, 2015 at 11:37 AM, Andrzej Hajda wrote: > Iterator i declared as unsigned is always non-negative so the > loop will never end. > > The problem has been detected using proposed semantic patch > scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci [1]. > > [1]:

Re: [PATCH] gpiolib: Fix uninitialized variable warning

2015-12-24 Thread Linus Walleij
On Wed, Dec 23, 2015 at 10:46 PM, Ross Zwisler wrote: > Commit ef7c7553039b ("gpiolib: improve overlap check of range of gpio") > introduced the following compiler warning: > > drivers/gpio/gpiolib.c: In function ‘gpiochip_add’: > drivers/gpio/gpiolib.c:193:20: warning: ‘iterator’ may be used

Re: [PATCH v3 5/5] firmware: add an extensible system data helpers

2015-12-24 Thread kbuild test robot
Hi Luis, [auto build test WARNING on v4.4-rc6] [also build test WARNING on next-20151223] url: https://github.com/0day-ci/linux/commits/Luis-R-Rodriguez/firmware_class-extensible-firmware-API/20151224-053852 reproduce: make htmldocs All warnings (new ones prefixed by >>): include

Re: [PATCH] vxlan: Properly depend on ipv6 and revert to module_init()

2015-12-24 Thread kbuild test robot
Hi Calvin, [auto build test ERROR on net-next/master] [also build test ERROR on v4.4-rc6 next-20151223] url: https://github.com/0day-ci/linux/commits/Calvin-Owens/vxlan-Properly-depend-on-ipv6-and-revert-to-module_init/20151224-070557 config: i386-randconfig-b0-12241357 (attached as .config

Re: [PATCH v5] serial: rewrite pxa2xx-uart to use 8250_core

2015-12-24 Thread kbuild test robot
Hi Sergei, [auto build test ERROR on v4.4-rc6] [cannot apply to tty/tty-testing next-20151223] url: https://github.com/0day-ci/linux/commits/Sergei-Ianovich/serial-rewrite-pxa2xx-uart-to-use-8250_core/20151224-030409 config: arm-spitz_defconfig (attached as .config) reproduce: wget

Re: [PATCH v2 0/3] clocksource/vt8500: Fix hangs in small delays

2015-12-24 Thread Alexey Charkov
2015-12-24 0:35 GMT+03:00 Roman Volkov : > From: Roman Volkov > > vt8500 hangs in nanosleep() function, starting from commit > c6eb3f70d4482806dc2d3e1e3c7736f497b1d418, making the system unusable. > Per investigation, looks like set_next_event() now receives too small > delta and fails with

[PATCH] Move the judgement of timeout into mmc_switch_status_error()

2015-12-24 Thread 장영진
>From bc1e491b29d9199f16c6e002a69f9377677b93af Mon Sep 17 00:00:00 2001 From: "yj84.jang" Date: Wed, 16 Dec 2015 08:52:47 +0900 Subject: [PATCH] Move the judgement of timeout into mmc_switch_status_error() __mmc_switch() is possible to misjudge error. Although jiffies was overed

Re: [PATCH v2 09/11] KVM: MMU: simplify mmu_need_write_protect

2015-12-24 Thread Xiao Guangrong
On 12/24/2015 04:36 PM, Kai Huang wrote: On 12/23/2015 07:25 PM, Xiao Guangrong wrote: Now, all non-leaf shadow page are page tracked, if gfn is not tracked there is no non-leaf shadow page of gfn is existed, we can directly make the shadow page of gfn to unsync Signed-off-by: Xiao

Re: [PATCH v3 0/2] WM8505/WM8650 DT fixes for SD card controller

2015-12-24 Thread Alexey Charkov
2015-12-24 0:48 GMT+03:00 Roman Volkov : > В Sat, 4 Apr 2015 15:27:20 +0300 > Roman Volkov пишет: > >> В Sun, 1 Mar 2015 23:39:11 +0300 >> Roman Volkov пишет: >> >> > В Sun, 01 Mar 2015 20:52:55 +0100 >> > Arnd Bergmann пишет: >> > >> > > On Sunday 01 March 2015 19:06:45 Roman Volkov wrote: >>

Re: [PATCH] Move the judgement of timeout into mmc_switch_status_error()

2015-12-24 Thread Jaehoon Chung
Hi, Before send the patch at mailing list, you need to make the patch as mainline style. Maybe..maintainer should not review this patch. Refer to "Linux kernel coding style" and "submitting Patches". Also set your email environment. (Documentation/email-clients.txt) Best Regards, Jaehoon

Re: [PATCH v2 09/11] KVM: MMU: simplify mmu_need_write_protect

2015-12-24 Thread Kai Huang
On 12/24/2015 05:11 PM, Xiao Guangrong wrote: On 12/24/2015 04:36 PM, Kai Huang wrote: On 12/23/2015 07:25 PM, Xiao Guangrong wrote: Now, all non-leaf shadow page are page tracked, if gfn is not tracked there is no non-leaf shadow page of gfn is existed, we can directly make the shadow

Re: GPF in lrw_crypt

2015-12-24 Thread Herbert Xu
On Thu, Dec 17, 2015 at 01:59:11PM +0100, Dmitry Vyukov wrote: > > The following program causes GPF in lrw_crypt: OK, this is a result of certain implementations (such as lrw) not coping with there being no key gracefully. I think the easiest way is probably to check this in algif_skcipher.

Re: GPF in gf128mul_64k_bbe

2015-12-24 Thread Herbert Xu
On Thu, Dec 17, 2015 at 02:00:23PM +0100, Dmitry Vyukov wrote: > > The following program causes GPF in gf128mul_64k_bbe: This is identical to the lrw_crypt problem you found earlier. Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key:

Re: [PATCH 1/2] mm, oom: introduce oom reaper

2015-12-24 Thread Michal Hocko
On Wed 23-12-15 16:00:09, Ross Zwisler wrote: [...] > While running xfstests on next-20151223 I hit a pair of kernel BUGs > that bisected to this commit: > > 1eb3a80d8239 ("mm, oom: introduce oom reaper") Thank you for the report and the bisection. > Here is a BUG produced by generic/029 when

Re: [PATCH] cpufreq: scpi-cpufreq: signedness bug in scpi_get_dvfs_info()

2015-12-24 Thread Sudeep Holla
On 24/12/15 01:45, Rafael J. Wysocki wrote: On Wednesday, December 23, 2015 11:20:04 AM Sudeep Holla wrote: Hi Rafael, On Tue, Dec 15, 2015 at 11:16 AM, Sudeep Holla wrote: From: Dan Carpenter The "domain" variable needs to be signed for the error handling to work. Fixes: 8def31034d03

Re: Running arm:versatile_defconfig with qemu in linux-next

2015-12-24 Thread Arnd Bergmann
On Thursday 24 December 2015, Guenter Roeck wrote: > Hi all, > > various versatile and realview configurations fail to run for me with > qemu (2.5) in linux-next. Some of those are qemu configurations > I collected from various sources, so I guess I am on my own there. > However, the following

[PATCH 1/5] f2fs: add missing f2fs_balance_fs in __recover_dot_dentries

2015-12-24 Thread Chao Yu
__recover_do_dentries will try to grab free space in storage, so fix to add missing f2fs_balance_fs here. Signed-off-by: Chao Yu --- fs/f2fs/namei.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/f2fs/namei.c b/fs/f2fs/namei.c index e439f32..fb41c80 100644 --- a/fs/f2fs/namei.c +++

[PATCH 2/5] f2fs: let user being aware of IO error

2015-12-24 Thread Chao Yu
Sometimes we keep dumb when IO error occur in lower layer device, so user will not receive any error return value for some operation, but actually, the operation did not succeed. This sould be avoided, so this patch reports such kind of error to user. Signed-off-by: Chao Yu ---

[PATCH 3/5] f2fs: report readonly status in ->fsync

2015-12-24 Thread Chao Yu
Report readonly status of filesystem during fsync. Signed-off-by: Chao Yu --- fs/f2fs/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c index 2d87a3c..a60d088 100644 --- a/fs/f2fs/file.c +++ b/fs/f2fs/file.c @@ -197,7 +197,7 @@ int

[PATCH 1/1] first line in booting the kernel

2015-12-24 Thread Alexandru GOIA
What it does : first line of booting kernel, as seen in dmesg(1), will be the Linux kernel signature (version, compiler, compiler hostname). What it solves : it appers ahead of cgroup messages at booting. So, instead of the unaesthetic lines : Initializing cgroup subsys cpuset Initializing

[PATCH 4/5] f2fs: support data flush in ioctl

2015-12-24 Thread Chao Yu
Sometimes user want to sync all data belong to superblock into storage for persistence, 'syncfs' syscall is one option, still f2fs supports similar one through ioctl, difference is that sb releted kworker is online for writebacking concurrently. Signed-off-by: Chao Yu --- fs/f2fs/file.c | 10

Re: A blocksize problem about dax and ext4

2015-12-24 Thread Christoph Hellwig
On Thu, Dec 24, 2015 at 02:47:07AM +, Elliott, Robert (Persistent Memory) wrote: > > Did you mean that I should make the blocksize bigger until the mount > > command tell me that dax is enabled? > > To really use DAX, the filesystem block size must match the > system CPU's page size, which

[PATCH 5/5] f2fs: clean up f2fs_ioc_write_checkpoint

2015-12-24 Thread Chao Yu
Use f2fs_sync_fs to clean up codes in f2fs_ioc_write_checkpoint. Signed-off-by: Chao Yu --- fs/f2fs/file.c | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c index 91997a5..b75037b 100644 --- a/fs/f2fs/file.c +++ b/fs/f2fs/file.c @@

Re: [PATCH] Move the judgement of timeout into mmc_switch_status_error()

2015-12-24 Thread Jaehoon Chung
Hi, NAK. Maybe..It seems that this is not the patch based on latest kernel.. Which kernel version did you use? Plz, check the latest kernel. Best Regards, Jaehoon Chung On 12/24/2015 06:24 PM, Jaehoon Chung wrote: > Hi, > > Before send the patch at mailing list, you need to make the patch as

Re: [PATCH v3 0/2] Create specific kconfig for kselftest

2015-12-24 Thread Bamvor Zhang Jian
Hi, Michael On 12/18/2015 07:44 AM, Michael Ellerman wrote: > On Thu, 2015-12-17 at 17:57 +0800, Bamvor Jian Zhang wrote: > >> There is a discussion about improving the usability of kselftest by >> creating test-specific kconfig in recent kernel Summit. >> >> Patch 1 keep test-specific kconfig

Re: [PATCH] netconsole: Initialize after all core networking drivers

2015-12-24 Thread Hannes Frederic Sowa
Hi, On 24.12.2015 00:03, Calvin Owens wrote: > On Thursday 12/17 at 17:46 -0800, Calvin Owens wrote: >> On Thursday 12/17 at 17:08 -0800, Eric Dumazet wrote: >>> On Thu, 2015-12-17 at 15:52 -0800, Calvin Owens wrote: With built-in netconsole and IXGBE, configuring netconsole via the kernel

[PATCH] clk: ingenic: Allow divider value to be right shifted

2015-12-24 Thread Harvey Hunt
The JZ4780's MSC clock divider registers multiply the clock divider by 2. This means that MSC devices run at half their expected speed. Shift the clock divider for the affected registers to solve this. Signed-off-by: Harvey Hunt --- drivers/clk/ingenic/cgu.c| 11 ++-

Re: [PATCH v2 0/2] Improve drm_of_component_probe() and move rockchip to use it

2015-12-24 Thread Russell King - ARM Linux
On Thu, Dec 24, 2015 at 09:15:28AM +0100, Jean-Francois Moine wrote: > On Wed, 23 Dec 2015 18:59:48 + > Russell King - ARM Linux wrote: > > > > > Have a look at my v2 where I've introduced two compare functions and > > > > also > > > > modified the Rockchip compare_port() to use

Re: [V9fs-developer] Hang triggered by udev coldplug, looks like a race

2015-12-24 Thread Dominique Martinet
Andy Lutomirski wrote on Thu, Dec 17, 2015: > This could be QEMU's analysis script screwing up. Is there a good way > for me to gather more info? I finally took some time to reproduce it (sorry for the delay) Using your config, virtme commit (17363c2) and kernel tag v4.4-rc3 I was able to

Re: GPF in lrw_crypt

2015-12-24 Thread Dmitry Vyukov
On Thu, Dec 24, 2015 at 10:39 AM, Herbert Xu wrote: > On Thu, Dec 17, 2015 at 01:59:11PM +0100, Dmitry Vyukov wrote: >> >> The following program causes GPF in lrw_crypt: > > OK, this is a result of certain implementations (such as lrw) > not coping with there being no key gracefully. > > I think

Re: [PATCH v5] rtc: support DS1302 RTC on ICP DAS LP-8x4x

2015-12-24 Thread Alexandre Belloni
Hi, On 22/12/2015 at 12:16:41 -0600, Rob Herring wrote : > Well, the binding should reflect that, whether the driver needs to be > re-written is somewhat a separate question. That should probably have > been done for the DS1302 driver originally and it is not too fair for > the 2nd person to fix

Re: [PATCH 1/2] mm, oom: introduce oom reaper

2015-12-24 Thread Tetsuo Handa
Michal Hocko wrote: > This is VM_BUG_ON_PAGE(page_mapped(page), page), right? Could you attach > the full kernel log? It all smells like a race when OOM reaper tears > down the mapping and there is a truncate still in progress. But hitting > the BUG_ON just because of that doesn't make much sense

[PATCH 1/7][v4][RESEND]usb:fsl:otg: Make fsl otg driver as tristate

2015-12-24 Thread Ramneek Mehresh
Provide option to load fsl otg driver as loadable module. Signed-off-by: Ramneek Mehresh --- drivers/usb/phy/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/phy/Kconfig b/drivers/usb/phy/Kconfig index 22e8ecb..b6de4a7 100644 --- a/drivers/usb/phy/Kconfig

[PATCH 3/7][v4][RESEND]usb:fsl:otg: Add support to add/remove usb host driver

2015-12-24 Thread Ramneek Mehresh
Add workqueue to add/remove host driver (outside interrupt context) upon each id change, and to remove host driver upon otg initialization by changing have_hcd variable. Signed-off-by: Li Yang Signed-off-by: Ramneek Mehresh Reviewed-by: Alan Stern --- drivers/usb/host/ehci-fsl.c | 73

Re: [PATCH v5] rtc: support DS1302 RTC on ICP DAS LP-8x4x

2015-12-24 Thread Sergei Ianovich
On Thu, 2015-12-24 at 12:04 +0100, Alexandre Belloni wrote: > On 22/12/2015 at 12:16:41 -0600, Rob Herring wrote : > > Well, the binding should reflect that, whether the driver needs to > > be > > re-written is somewhat a separate question. That should probably > > have > > been done for the

[PATCH 7/7][v4][RESEND]usb:fsl:otg: Add host-gadget drv sync delay

2015-12-24 Thread Ramneek Mehresh
Resolve synchronization issue between host and gadget drivers upon role-reversal. Signed-off-by: Ramneek Mehresh Reviewed-by: Li Yang-R58472 Reviewed-by: Fleming Andrew-AFLEMING Tested-by: Fleming Andrew-AFLEMING --- drivers/usb/phy/phy-fsl-usb.c | 12 +++- 1 file changed, 11

[PATCH v3 1/4] mtd: spi-nor: fsl-quadspi: add big-endian support

2015-12-24 Thread Yuan Yao
Add R/W functions for big- or little-endian registers: The qSPI controller's endian is independent of the CPU core's endian. So far, the qSPI have two versions for big-endian and little-endian. Signed-off-by: Yuan Yao --- Changed in v3: Update my email to Changed in v2: Rebase to the lastest

[PATCH v2 2/4] mtd: spi-nor: fsl-quadspi: add support for ls1021a

2015-12-24 Thread Yuan Yao
LS1021a also support Freescale Quad SPI controller. Add fsl-quadspi support for ls1021a chip and make SPI_FSL_QUADSPI selectable for LS1021A SOC hardwares. Signed-off-by: Yuan Yao Acked-by: Han xu --- Changed in v2: Update my email to --- drivers/mtd/spi-nor/Kconfig | 2 +-

[PATCH 4/4] Documentation: fsl-quadspi: Add optional properties

2015-12-24 Thread Yuan Yao
Add optional properties for QSPI: big-endian if the register is big endian on this platform. Signed-off-by: Yuan Yao --- Documentation/devicetree/bindings/mtd/fsl-quadspi.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/mtd/fsl-quadspi.txt

[PATCH v2 1/4] Documentation: fsl-quadspi: Add fsl,ls2080a-dspi compatible string

2015-12-24 Thread Yuan Yao
new compatible string: "fsl,ls2080a-qspi". Signed-off-by: Yuan Yao --- Changed in v2: Update my email to --- Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt

[PATCH 6/7][v4][RESEND]usb:fsl:otg: Combine host/gadget start/resume for ID change

2015-12-24 Thread Ramneek Mehresh
Make call to fsl_otg_event for each id change even. Signed-off-by: Ramneek Mehresh Reviewed-by: Fleming Andrew-AFLEMING Tested-by: Fleming Andrew-AFLEMING --- drivers/usb/phy/phy-fsl-usb.c | 15 +++ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git

[PATCH v2 2/4] Documentation: fsl-quadspi: Add fsl, ls2080a-qspi compatible string

2015-12-24 Thread Yuan Yao
new compatible string: "fsl,ls2080a-qspi". Signed-off-by: Yuan Yao --- Changed in v2: Update my email to --- Documentation/devicetree/bindings/mtd/fsl-quadspi.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mtd/fsl-quadspi.txt

[PATCH 4/7][v4][RESEND]usb:fsl:otg: Signal host drv when host is otg

2015-12-24 Thread Ramneek Mehresh
Set is_otg boolean flag to signal host driver when host is running in context of otg host suspend/resume. Signed-off-by: Ramneek Mehresh --- drivers/usb/phy/phy-fsl-usb.c | 7 ++- include/linux/usb.h | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git

[PATCH 2/7][v4][RESEND]usb:fsl:otg: Add controller version based ULPI and UTMI phy

2015-12-24 Thread Ramneek Mehresh
Add controller version based ULPI and UTMI phy initialization for otg driver. Signed-off-by: Shengzhou Liu Signed-off-by: Ramneek Mehresh Reviewed-by: Fleming Andrew-AFLEMING Tested-by: Fleming Andrew-AFLEMING --- drivers/usb/phy/phy-fsl-usb.c | 20

[PATCH 0/7][v4][RESEND]Add OTG support for FSL socs

2015-12-24 Thread Ramneek Mehresh
Add support for otg for all freescale socs having internal usb phy. Ramneek Mehresh (7): usb:fsl:otg: Make fsl otg driver as tristate usb:fsl:otg: Add controller version based ULPI and UTMI phy usb:fsl:otg: Add support to add/remove usb host driver usb:fsl:otg: Signal host drv when host

[PATCH] staging: most: replace multiple if..else with table lookup

2015-12-24 Thread Gujulan Elango, Hari Prasath (H.)
From: Hari Prasath Gujulan Elango Replace multiple if..else if..statements with simple table lookup in two functions. Signed-off-by: Hari Prasath Gujulan Elango --- drivers/staging/most/mostcore/core.c | 39 1 file changed, 22 insertions(+), 17

[PATCH v2 3/4] mtd: spi-nor: fsl-quadspi: add support for layerscape

2015-12-24 Thread Yuan Yao
LS1043a and LS2080A in the Layerscape family also support Freescale Quad SPI, make Quad SPI selectable for these hardwares. Signed-off-by: Yuan Yao --- Changed in v2: Update my email to --- drivers/mtd/spi-nor/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 5/7][v4][RESEND]usb:fsl:otg: Modify otg_event to start host drv

2015-12-24 Thread Ramneek Mehresh
Add mechanism to start host driver from inside fsl_otg_even upon each id change interrupt. Signed-off-by: Ramneek Mehresh Reviewed-by: Fleming Andrew-AFLEMING Tested-by: Fleming Andrew-AFLEMING --- drivers/usb/phy/phy-fsl-usb.c | 4 1 file changed, 4 insertions(+) diff --git

[PATCH v2 4/4] mtd: spi-nor: fsl-quadspi: extend support for some special requerment.

2015-12-24 Thread Yuan Yao
Add extra info in LUT table to support some special requerments. Spansion S25FS-S family flash need some special operations. Signed-off-by: Yuan Yao --- Changed in v2: Update my email to --- drivers/mtd/spi-nor/fsl-quadspi.c | 41 +--

[PATCH v2 3/4] dts/ls2080a: update the DTS for QSPI and DSPI support

2015-12-24 Thread Yuan Yao
Signed-off-by: Yuan Yao --- Changed in v2: Update my email to --- arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts | 9 - arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi| 4 ++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git

Re: [PATCH 00/32] x86: Memory Protection Keys (v7)

2015-12-24 Thread Michael Kerrisk (man-pages)
Hi Dave, On 12/14/2015 08:05 PM, Dave Hansen wrote: > Memory Protection Keys for User pages is a CPU feature which will > first appear on Skylake Servers, but will also be supported on > future non-server parts (there is also a QEMU implementation). It > provides a mechanism for enforcing

Re: [PATCH v2] um: Fix build error and kconfig for i386

2015-12-24 Thread Mickaël Salaün
On 23/12/2015 22:42, Josh Triplett wrote: > On Wed, Dec 23, 2015 at 01:59:13PM +0100, Mickaël Salaün wrote: >> Fix build error by selecting COREDUMP when X86_32 is selected: >> >> arch/x86/um/built-in.o: In function `elf_core_write_extra_phdrs': >> (.text+0x3e62): undefined reference to

[PATCH v3] um: Fix build error and kconfig for i386

2015-12-24 Thread Mickaël Salaün
Fix build error by generating elfcore.o only when ELF_CORE (depending on COREDUMP) is selected: arch/x86/um/built-in.o: In function `elf_core_write_extra_phdrs': (.text+0x3e62): undefined reference to `dump_emit' arch/x86/um/built-in.o: In function `elf_core_write_extra_data': (.text+0x3eef):

<    1   2   3   4   5   6   7   >