[PATCH] staging: ade7759: Fix open parenthesis alignment

2018-02-10 Thread rodrigosiqueira
This patch fixes the CHECKs reported by checkpatch.pl for "alignment should match open parenthesis" Signed-off-by: rodrigosiqueira --- drivers/staging/iio/meter/ade7759.c | 80 ++--- 1 file changed, 38 insertions(+), 42 deletions(-)

[PATCH 2/4] watchdog: omap_wdt: change order for setting default timeout

2018-02-10 Thread Marcus Folkesson
watchdog_init_timeout() will preserve wdd->timeout value if no parameter nor timeout-secs dt property is set. Signed-off-by: Marcus Folkesson --- drivers/watchdog/omap_wdt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 4/4] watchdog: lpc18xx: remove assignment of unused ret-value

2018-02-10 Thread Marcus Folkesson
Signed-off-by: Marcus Folkesson --- drivers/watchdog/lpc18xx_wdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/watchdog/lpc18xx_wdt.c b/drivers/watchdog/lpc18xx_wdt.c index b4221f43cd94..331cadb459ac 100644 ---

[PATCH 3/4] watchdog: gpio: change order for setting default timeout

2018-02-10 Thread Marcus Folkesson
watchdog_init_timeout() will preserve wdd->timeout value if no parameter nor timeout-secs dt property is set. Signed-off-by: Marcus Folkesson --- drivers/watchdog/gpio_wdt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v2 4/6] X86/nVMX: Properly set spec_ctrl and pred_cmd before merging MSRs

2018-02-10 Thread David Woodhouse
From: KarimAllah Ahmed These two variables should check whether SPEC_CTRL and PRED_CMD are supposed to be passed through to L2 guests or not. While msr_write_intercepted_l01 would return 'true' if it is not passed through. So just invert the result of

[PATCH v2 2/6] Revert "x86/speculation: Simplify indirect_branch_prediction_barrier()"

2018-02-10 Thread David Woodhouse
This reverts commit 64e16720ea0879f8ab4547e3b9758936d483909b. We cannot call C functions like that, without marking all the call-clobbered registers as, well, clobbered. We might have got away with it for now because the __ibp_barrier() function was *fairly* unlikely to actually use any other

[PATCH v2 0/6] Spectre v2 updates

2018-02-10 Thread David Woodhouse
Using retpoline ensures the kernel is safe because it doesn't contain any indirect branches, but firmware still can — and we make calls into firmware at runtime. Where the IBRS microcode support is available, use that before calling into firmware. While doing that, I noticed that we were calling

[PATCH v2 1/6] x86/speculation: Update Speculation Control microcode blacklist

2018-02-10 Thread David Woodhouse
Intel have retroactively blessed the 0xc2 microcode on Skylake mobile and desktop parts, and the Gemini Lake 0x22 microcode is apparently fine too. We blacklisted the latter purely because it was present with all the other problematic ones in the 2018-01-08 release, but now it's explicitly listed

Re: [PATCH] seq_file: remove redundant assignment of index to m->index

2018-02-10 Thread Matthew Wilcox
On Sat, Feb 10, 2018 at 10:04:23AM -0800, Joe Perches wrote: > > @@ -120,14 +120,12 @@ static int traverse(struct seq_file *m, loff_t offset) > > if (pos + m->count > offset) { > > m->from = offset - pos; > > m->count -= m->from; > > -m->index =

[PATCH v3 1/3] KVM: Introduce dedicated vCPUs hint KVM_HINTS_DEDICATED

2018-02-10 Thread Wanpeng Li
From: Wanpeng Li This patch introduces dedicated vCPUs hint KVM_HINTS_DEDICATED, guest checks this feature bit to determine if they run on dedicated vCPUs, allowing optimizations. Cc: Paolo Bonzini Cc: Radim Krčmář Cc: Eduardo

[PATCH v3 3/3] KVM: X86: Don't use PV TLB flush with dedicated vCPUs and steal time disabled

2018-02-10 Thread Wanpeng Li
From: Wanpeng Li vCPUs are very unlikely to get preempted when they are the only task running on a CPU. PV TLB flush is slower that the native flush in that case. In addition, avoid traversing all the cpus for pv tlb flush when steal time is disabled since pv tlb flush

[PATCH v3 2/3] KVM: X86: Choose qspinlock when dedicated vCPUs available

2018-02-10 Thread Wanpeng Li
From: Wanpeng Li Waiman Long mentioned that: Generally speaking, unfair lock performs well for VMs with a small number of vCPUs. Native qspinlock may perform better than pvqspinlock if there is vCPU pinning and there is no vCPU over-commitment. This patch uses a

Re: Kconfig:12: can't open file "arch/powerpc64/Kconfig"

2018-02-10 Thread Masahiro Yamada
Hi test robot, 2018-02-11 12:41 GMT+09:00 kbuild test robot : > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: d48fcbd864a008802a90c58a9ceddd9436d11a49 > commit: 9e3e10c725360b9d07018cfcd5b7b6b7d325fae5 kconfig: send error

[PATCH 3.16 083/136] sctp: Fixup v4mapped behaviour to comply with Sock API

2018-02-10 Thread Ben Hutchings
3.16.54-rc1 review patch. If anyone has any objections, please let me know. -- From: Jason Gunthorpe commit 299ee123e19889d511092347f5fc14db0f10e3a6 upstream. The SCTP socket extensions API document describes the v4mapping option as follows:

[PATCH 3.16 088/136] KVM: vmx: Inject #GP on invalid PAT CR

2018-02-10 Thread Ben Hutchings
3.16.54-rc1 review patch. If anyone has any objections, please let me know. -- From: Nadav Amit commit 4566654bb9be9e8864df417bb72ceee5136b6a6a upstream. Guest which sets the PAT CR to invalid value should get a #GP. Currently, if vmx supports

[PATCH 3.16 073/136] s390: fix transactional execution control register handling

2018-02-10 Thread Ben Hutchings
3.16.54-rc1 review patch. If anyone has any objections, please let me know. -- From: Heiko Carstens commit a1c5befc1c24eb9c1ee83f711e0f21ee79cbb556 upstream. Dan Horák reported the following crash related to transactional execution: User process

Re: [RFC PATCH 4/7] kconfig: support new special property shell=

2018-02-10 Thread Linus Torvalds
On Sat, Feb 10, 2018 at 8:13 PM, Kees Cook wrote: > > It's been there since the very beginning when Arjan added it to > validate that the compiler actually produces a stack protector when > you give it -fstack-protector. Older gccs broke this entirely, more > recent

[PATCH 3.16 086/136] dm: discard support requires all targets in a table support discards

2018-02-10 Thread Ben Hutchings
3.16.54-rc1 review patch. If anyone has any objections, please let me know. -- From: Mike Snitzer commit 8a74d29d541cd86569139c6f3f44b2d210458071 upstream. A DM device with a mix of discard capabilities (due to some underlying devices not having discard

[PATCH 3.16 102/136] ARM: 8721/1: mm: dump: check hardware RO bit for LPAE

2018-02-10 Thread Ben Hutchings
3.16.54-rc1 review patch. If anyone has any objections, please let me know. -- From: Philip Derrin commit 3b0c0c922ff4be275a8beb87ce5657d16f355b54 upstream. When CONFIG_ARM_LPAE is set, the PMD dump relies on the software read-only bit to determine whether

[PATCH 3.16 081/136] ocfs2: should wait dio before inode lock in ocfs2_setattr()

2018-02-10 Thread Ben Hutchings
3.16.54-rc1 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

[PATCH 3.16 004/136] ipmi: fix unsigned long underflow

2018-02-10 Thread Ben Hutchings
3.16.54-rc1 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

[PATCH 3.16 121/136] ALSA: seq: Make ioctls race-free

2018-02-10 Thread Ben Hutchings
3.16.54-rc1 review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit b3defb791b26ea0683a93a4f49c77ec45ec96f10 upstream. The ALSA sequencer ioctls have no protection against racy calls while the concurrent operations may lead

[PATCH 3.16 011/136] iommu/vt-d: Don't register bus-notifier under dmar_global_lock

2018-02-10 Thread Ben Hutchings
3.16.54-rc1 review patch. If anyone has any objections, please let me know. -- From: Joerg Roedel commit ec154bf56b276a0bb36079a5d22a267b5f417801 upstream. The notifier function will take the dmar_global_lock too, so lockdep complains about inverse locking

[PATCH 3.16 136/136] kaiser: Set _PAGE_NX only if supported

2018-02-10 Thread Ben Hutchings
3.16.54-rc1 review patch. If anyone has any objections, please let me know. -- From: Lepton Wu This finally resolve crash if loaded under qemu + haxm. Haitao Shan pointed out that the reason of that crash is that NX bit get set for page tables. It seems we

[PATCH 3.2 28/79] media: Don't do DMA on stack for firmware upload in the AS102 driver

2018-02-10 Thread Ben Hutchings
3.2.99-rc1 review patch. If anyone has any objections, please let me know. -- From: Michele Baldessari commit b3120d2cc447ee77b9d69bf4ad7b452c9adb4d39 upstream. Firmware load on AS102 is using the stack which is not allowed any longer. We currently fail

[PATCH 3.2 48/79] nfs: Fix ugly referral attributes

2018-02-10 Thread Ben Hutchings
3.2.99-rc1 review patch. If anyone has any objections, please let me know. -- From: Chuck Lever commit c05cefcc72416a37eba5a2b35f0704ed758a9145 upstream. Before traversing a referral and performing a mount, the mounted-on directory looks strange:

[PATCH 3.2 27/79] eCryptfs: use after free in ecryptfs_release_messaging()

2018-02-10 Thread Ben Hutchings
3.2.99-rc1 review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit db86be3a12d0b6e5c5b51c2ab2a48f06329cb590 upstream. We're freeing the list iterator so we should be using the _safe() version of

[PATCH 3.2 40/79] s390/disassembler: increase show_code buffer size

2018-02-10 Thread Ben Hutchings
3.2.99-rc1 review patch. If anyone has any objections, please let me know. -- From: Vasily Gorbik commit b192571d1ae375e0bbe0aa3ccfa1a3c3704454b9 upstream. Current buffer size of 64 is too small. objdump shows that there are instructions which would

[PATCH 3.2 34/79] dm: fix race between dm_get_from_kobject() and __dm_destroy()

2018-02-10 Thread Ben Hutchings
3.2.99-rc1 review patch. If anyone has any objections, please let me know. -- From: Hou Tao commit b9a41d21dceadf8104812626ef85dc56ee8a60ed upstream. The following BUG_ON was hit when testing repeat creation and removal of DM devices: kernel BUG at

[PATCH 3.2 32/79] video: udlfb: Fix read EDID timeout

2018-02-10 Thread Ben Hutchings
3.2.99-rc1 review patch. If anyone has any objections, please let me know. -- From: Ladislav Michl commit c98769475575c8a585f5b3952f4b5f90266f699b upstream. While usb_control_msg function expects timeout in miliseconds, a value of HZ is used. Replace it

[PATCH 3.2 71/79] usbip: Fix sscanf handling

2018-02-10 Thread Ben Hutchings
3.2.99-rc1 review patch. If anyone has any objections, please let me know. -- From: Alan commit 2d32927127f44d755780aa5fa88c8c34e72558f8 upstream. Scan only to the length permitted by the buffer One of a set of sscanf problems noted by Jackie

[PATCH 3.2 42/79] sctp: fully initialize the IPv6 address in sctp_v6_to_addr()

2018-02-10 Thread Ben Hutchings
3.2.99-rc1 review patch. If anyone has any objections, please let me know. -- From: Alexander Potapenko commit 15339e441ec46fbc3bf3486bb1ae4845b0f1bb8d upstream. KMSAN reported use of uninitialized sctp_addr->v4.sin_addr.s_addr and

[PATCH 3.2 36/79] blktrace: fix unlocked access to init/start-stop/teardown

2018-02-10 Thread Ben Hutchings
3.2.99-rc1 review patch. If anyone has any objections, please let me know. -- From: Jens Axboe commit 1f2cac107c591c24b60b115d6050adc213d10fc0 upstream. sg.c calls into the blktrace functions without holding the proper queue mutex for doing setup, start/stop,

[PATCH 3.2 54/79] ALSA: timer: Remove kernel warning at compat ioctl error paths

2018-02-10 Thread Ben Hutchings
3.2.99-rc1 review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 3d4e8303f2c747c8540a0a0126d0151514f6468b upstream. Some timer compat ioctls have NULL checks of timer instance with snd_BUG_ON() that bring up WARN_ON() when

[PATCH 3.2 00/79] 3.2.99-rc1 review

2018-02-10 Thread Ben Hutchings
This is the start of the stable review cycle for the 3.2.99 release. There are 79 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 Feb 13 12:00:00 UTC 2018. Anything

[PATCH 3.2 03/79] rtc: set the alarm to the next expiring timer

2018-02-10 Thread Ben Hutchings
3.2.99-rc1 review patch. If anyone has any objections, please let me know. -- From: Alexandre Belloni commit 74717b28cb32e1ad3c1042cafd76b264c8c0f68d upstream. If there is any non expired timer in the queue, the RTC alarm is never set.

[PATCH 3.2 02/79] rtc: interface: ignore expired timers when enqueuing new timers

2018-02-10 Thread Ben Hutchings
3.2.99-rc1 review patch. If anyone has any objections, please let me know. -- From: Colin Ian King commit 2b2f5ff00f63847d95adad6289bd8b05f5983dd5 upstream. This patch fixes a RTC wakealarm issue, namely, the event fires during hibernate and is not

[PATCH 3.2 68/79] RDS: null pointer dereference in rds_atomic_free_op

2018-02-10 Thread Ben Hutchings
3.2.99-rc1 review patch. If anyone has any objections, please let me know. -- From: Mohamed Ghannam commit 7d11f77f84b27cef452cee332f4e469503084737 upstream. set rm->atomic.op_active to 0 when rds_pin_pages() fails or the user supplied address is

[PATCH 3.2 78/79] kaiser: Set _PAGE_NX only if supported

2018-02-10 Thread Ben Hutchings
3.2.99-rc1 review patch. If anyone has any objections, please let me know. -- From: Guenter Roeck This resolves a crash if loaded under qemu + haxm under windows. See https://www.spinics.net/lists/kernel/msg2689835.html for details. Here is a boot log (the

[PATCH 3.2 10/79] IB/srp: Avoid that a cable pull can trigger a kernel crash

2018-02-10 Thread Ben Hutchings
3.2.99-rc1 review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche commit 8a0d18c62121d3c554a83eb96e2752861d84d937 upstream. This patch fixes the following kernel crash: general protection fault: [#1] PREEMPT SMP

[PATCH 3.16 028/136] net/9p: Switch to wait_event_killable()

2018-02-10 Thread Ben Hutchings
3.16.54-rc1 review patch. If anyone has any objections, please let me know. -- From: Tuomas Tynkkynen commit 9523feac272ccad2ad8186ba4fcc89103754de52 upstream. Because userspace gets Very Unhappy when calls like stat() and execve() return -EINTR on 9p

[PATCH 3.16 034/136] l2tp: initialise l2tp_eth sessions before registering them

2018-02-10 Thread Ben Hutchings
3.16.54-rc1 review patch. If anyone has any objections, please let me know. -- From: Guillaume Nault commit ee28de6bbd78c2e18111a0aef43ea746f28d2073 upstream. Sessions must be initialised before being made externally visible by l2tp_session_register().

[PATCH 3.16 020/136] elf_fdpic: fix unused variable warning

2018-02-10 Thread Ben Hutchings
3.16.54-rc1 review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 11e3e8d6d9274bf630859b4c47bc4e4d76f289db upstream. The elf_fdpic code shows a harmless warning when built with MMU disabled, I ran into this now that fdpic

[PATCH 3.16 060/136] ACPI / APEI: Replace ioremap_page_range() with fixmap

2018-02-10 Thread Ben Hutchings
3.16.54-rc1 review patch. If anyone has any objections, please let me know. -- From: James Morse commit 4f89fa286f6729312e227e7c2d764e8e7b9d340e upstream. Replace ghes_io{re,un}map_pfn_{nmi,irq}()s use of ioremap_page_range() with __set_fixmap() as

[PATCH 3.16 067/136] ima: fix hash algorithm initialization

2018-02-10 Thread Ben Hutchings
3.16.54-rc1 review patch. If anyone has any objections, please let me know. -- From: Boshi Wang commit ebe7c0a7be92bbd34c6ff5b55810546a0ee05bee upstream. The hash_setup function always sets the hash_setup_done flag, even when the hash algorithm is

[PATCH 3.2 16/79] l2tp: push all ppp pseudowire shutdown through .release handler

2018-02-10 Thread Ben Hutchings
3.2.99-rc1 review patch. If anyone has any objections, please let me know. -- From: Tom Parkin commit cf2f5c886a209377daefd5d2ba0bcd49c3887813 upstream. If userspace deletes a ppp pseudowire using the netlink API, either by directly deleting the session

[PATCH 3.2 17/79] l2tp: ensure sessions are freed after their PPPOL2TP socket

2018-02-10 Thread Ben Hutchings
3.2.99-rc1 review patch. If anyone has any objections, please let me know. -- From: Guillaume Nault commit cdd10c9627496ad25c87ce6394e29752253c69d3 upstream. If l2tp_tunnel_delete() or l2tp_tunnel_closeall() deletes a session right after

[PATCH 3.2 14/79] l2tp: add session reorder queue purge function to core

2018-02-10 Thread Ben Hutchings
3.2.99-rc1 review patch. If anyone has any objections, please let me know. -- From: Tom Parkin commit 48f72f92b31431c40279b0fba6c5588e07e67d95 upstream. If an l2tp session is deleted, it is necessary to delete skbs in-flight on the session's reorder queue

drivers/net/ethernet/intel/i40e/i40e_ethtool.c:4326:6: error: implicit declaration of function 'cmpxchg64'; did you mean 'cmpxchg'?

2018-02-10 Thread kbuild test robot
Hi Alice, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: d48fcbd864a008802a90c58a9ceddd9436d11a49 commit: 60f481b9703867330dc6010868054f68f6d52f7a i40e: change flags to use 64 bits date: 2 weeks ago config:

Re: [PATCH 2/2] xen: xenbus: WARN_ON XS_TRANSACTION_{START,END} misuse

2018-02-10 Thread Simon Gaiser
Boris Ostrovsky: > On 02/07/2018 05:22 PM, Simon Gaiser wrote: >> +users_old = xs_state_users; >> xs_state_users--; >> if ((req->type == XS_TRANSACTION_START && req->msg.type == XS_ERROR) || >> req->type == XS_TRANSACTION_END) >> xs_state_users--; >> +if

[RFC PATCH v15 0/6] mm: security: ro protection for dynamic data

2018-02-10 Thread Igor Stoppa
This patch-set introduces the possibility of protecting memory that has been allocated dynamically. The memory is managed in pools: when a memory pool is turned into R/O, all the memory that is part of it, will become R/O. A R/O pool can be destroyed, to recover its memory, but it cannot be

arch/microblaze/lib/fastcopy.S:33:2: error: #error Microblaze LE not support ASM optimized lib func. Disable OPT_LIB_ASM.

2018-02-10 Thread kbuild test robot
Hi Arnd, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: d48fcbd864a008802a90c58a9ceddd9436d11a49 commit: 71e7673dadfdae0605d4c1f66ecb4b045c79fe0f microblaze: fix endian handling date: 4 weeks ago config:

[PATCH 3.16 074/136] dm: fix race between dm_get_from_kobject() and __dm_destroy()

2018-02-10 Thread Ben Hutchings
3.16.54-rc1 review patch. If anyone has any objections, please let me know. -- From: Hou Tao commit b9a41d21dceadf8104812626ef85dc56ee8a60ed upstream. The following BUG_ON was hit when testing repeat creation and removal of DM devices: kernel BUG at

[PATCH 3.16 076/136] blktrace: fix unlocked access to init/start-stop/teardown

2018-02-10 Thread Ben Hutchings
3.16.54-rc1 review patch. If anyone has any objections, please let me know. -- From: Jens Axboe commit 1f2cac107c591c24b60b115d6050adc213d10fc0 upstream. sg.c calls into the blktrace functions without holding the proper queue mutex for doing setup,

[PATCH 3.16 069/136] USB: usbfs: compute urb->actual_length for isochronous

2018-02-10 Thread Ben Hutchings
3.16.54-rc1 review patch. If anyone has any objections, please let me know. -- From: Alan Stern commit 2ef47001b3ee3ded579b7532ebdcf8680e4d8c54 upstream. The USB kerneldoc says that the actual_length field "is read in non-iso completion functions",

[PATCH 3.16 078/136] IB/mlx4: Increase maximal message size under UD QP

2018-02-10 Thread Ben Hutchings
3.16.54-rc1 review patch. If anyone has any objections, please let me know. -- From: Mark Bloch commit 5f22a1d87c5315a98981ecf93cd8de226cffe6ca upstream. Maximal message should be used as a limit to the max message payload allowed, without the headers. The

[PATCH 3.16 085/136] net/sctp: Always set scope_id in sctp_inet6_skb_msgname

2018-02-10 Thread Ben Hutchings
3.16.54-rc1 review patch. If anyone has any objections, please let me know. -- From: "Eric W. Biederman" commit 7c8a61d9ee1df0fb4747879fa67a99614eb62fec upstream. Alexandar Potapenko while testing the kernel with KMSAN and syzkaller discovered that in

[PATCH 3.16 045/136] drm/ttm: once more fix ttm_buffer_object_transfer

2018-02-10 Thread Ben Hutchings
3.16.54-rc1 review patch. If anyone has any objections, please let me know. -- From: Christian König commit 4d98e5ee6084f6d7bc578c5d5f86de7156aaa4cb upstream. When the mutex is locked just in the moment we copy it we end up with a warning that we

[PATCH 3.16 040/136] arm64: vdso: minor ABI fix for clock_getres

2018-02-10 Thread Ben Hutchings
3.16.54-rc1 review patch. If anyone has any objections, please let me know. -- From: Nathan Lynch commit e1b6b6ce55a0a25c8aa8af019095253b2133a41a upstream. The vdso implementation of clock_getres currently returns 0 (success) whenever a null timespec

[PATCH 3.16 072/136] rt2x00usb: mark device removed when get ENOENT usb error

2018-02-10 Thread Ben Hutchings
3.16.54-rc1 review patch. If anyone has any objections, please let me know. -- From: Stanislaw Gruszka commit bfa62a52cad93686bb8d8171ea5288813248a7c6 upstream. ENOENT usb error mean "specified interface or endpoint does not exist or is not enabled". Mark

[PATCH 3.16 049/136] crypto: caam - fix incorrect define

2018-02-10 Thread Ben Hutchings
3.16.54-rc1 review patch. If anyone has any objections, please let me know. -- From: Radu Alexe commit cc2f8ab5334a736fa0e775cfccf06c1e268667f0 upstream. Fixes: 3ebfa92f49a6 ("crypto: caam - Add new macros for building extended SEC descriptors (> 64

[PATCH 3.16 128/136] x86, vdso: Move the vvar area before the vdso text

2018-02-10 Thread Ben Hutchings
3.16.54-rc1 review patch. If anyone has any objections, please let me know. -- From: Andy Lutomirski commit e6577a7ce99a506b587bcd1d2cd803cb45119557 upstream. Putting the vvar area after the vdso text is rather complicated: it only works of the total

[PATCH 3.16 015/136] p54: don't unregister leds when they are not initialized

2018-02-10 Thread Ben Hutchings
3.16.54-rc1 review patch. If anyone has any objections, please let me know. -- From: Andrey Konovalov commit fc09785de0a364427a5df63d703bae9a306ed116 upstream. ieee80211_register_hw() in p54_register_common() may fail and leds won't get initialized.

[PATCH 3.16 131/136] x86/vdso: Get pvclock data from the vvar VMA instead of the fixmap

2018-02-10 Thread Ben Hutchings
3.16.54-rc1 review patch. If anyone has any objections, please let me know. -- From: Andy Lutomirski commit dac16fba6fc590fa7239676b35ed75dae4c4cd2b upstream. Signed-off-by: Andy Lutomirski Reviewed-by: Paolo Bonzini

[PATCH 3.16 125/136] usbip: prevent vhci_hcd driver from leaking a socket pointer address

2018-02-10 Thread Ben Hutchings
3.16.54-rc1 review patch. If anyone has any objections, please let me know. -- From: Shuah Khan commit 2f2d0088eb93db5c649d2a5e34a3800a8a935fc5 upstream. When a client has a USB device attached over IP, the vhci_hcd driver is locally leaking a socket

[PATCH 3.16 014/136] drm/i915/bios: parse DDI ports also for CHV for HDMI DDC pin and DP AUX channel

2018-02-10 Thread Ben Hutchings
3.16.54-rc1 review patch. If anyone has any objections, please let me know. -- From: Jani Nikula commit 348e4058ebf53904e817eec7a1b25327143c2ed2 upstream. While technically CHV isn't DDI, we do look at the VBT based DDI port info for HDMI DDC pin and DP

[PATCH 3.2 08/79] KVM: nVMX: set IDTR and GDTR limits when loading L1 host state

2018-02-10 Thread Ben Hutchings
3.2.99-rc1 review patch. If anyone has any objections, please let me know. -- From: Ladi Prosek commit 21f2d551183847bc7fbe8d866151d00cdad18752 upstream. Intel SDM 27.5.2 Loading Host Segment and Descriptor-Table Registers: "The GDTR and IDTR limits are

[PATCH 3.2 04/79] PCI/AER: Report non-fatal errors only to the affected endpoint

2018-02-10 Thread Ben Hutchings
3.2.99-rc1 review patch. If anyone has any objections, please let me know. -- From: Gabriele Paoloni commit 86acc790717fb60fb51ea3095084e331d8711c74 upstream. Previously, if an non-fatal error was reported by an endpoint, we called

[PATCH 3.2 79/79] kaiser: Set _PAGE_NX only if supported

2018-02-10 Thread Ben Hutchings
3.2.99-rc1 review patch. If anyone has any objections, please let me know. -- From: Lepton Wu This finally resolve crash if loaded under qemu + haxm. Haitao Shan pointed out that the reason of that crash is that NX bit get set for page tables. It seems we

Re: [PATCH] KVM: lapic: stop advertising DIRECTED_EOI when in-kernel IOAPIC is in use

2018-02-10 Thread Peter Xu
On Fri, Feb 09, 2018 at 02:01:33PM +0100, Vitaly Kuznetsov wrote: > Devices which use level-triggered interrupts under Windows 2016 with > Hyper-V role enabled don't work: Windows disables EOI broadcast in SPIV > unconditionally. Our in-kernel IOAPIC implementation emulates an old IOAPIC > version

[PATCH 3.2 06/79] USB: serial: garmin_gps: fix memory leak on probe errors

2018-02-10 Thread Ben Hutchings
3.2.99-rc1 review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit 74d471b598444b7f2d964930f7234779c80960a0 upstream. Make sure to free the port private data before returning after a failed probe attempt. Fixes:

[PATCH 3.2 01/79] Input: adxl34x - do not treat FIFO_MODE() as boolean

2018-02-10 Thread Ben Hutchings
3.2.99-rc1 review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 1dbc080c9ef6bcfba652ef0d6ae919b8c7c85a1d upstream. FIFO_MODE() is a macro expression with a '<<' operator, which gcc points out could be misread as a '<':

Re: [PATCH 3.2 39/79] ocfs2: should wait dio before inode lock in ocfs2_setattr()

2018-02-10 Thread alex chen
Hi Ben, ocfs2_dio_end_io_write() was introduced in 4.6 and the problem this patch fixes is only exist in the kernel 4.6 and above 4.6. Thanks, Alex On 2018/2/11 12:20, Ben Hutchings wrote: > 3.2.99-rc1 review patch. If anyone has any objections, please let me know. > > -- > >

Re: [PATCH 09/31] x86/entry/32: Leave the kernel via trampoline stack

2018-02-10 Thread Linus Torvalds
On Sat, Feb 10, 2018 at 7:26 AM, David Laight wrote: > > The alignment doesn't matter, 'rep movsl' will still work. .. no it won't. It might not copy the last two bytes or whatever, because the shift of the count will have ignored the low bits. But since an unaligned

[PATCH 1/2] gpio: omap: Delete an error message for a failed memory allocation in omap_gpio_probe()

2018-02-10 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 10 Feb 2018 21:46:30 +0100 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring ---

Re: [PATCH] x86_64: trim clear_page.S includes

2018-02-10 Thread Borislav Petkov
On Sat, Jan 13, 2018 at 10:06:48PM +0300, Alexey Dobriyan wrote: > After alternatives were shifted to the call site, only 2 headers are > necessary. > > Signed-off-by: Alexey Dobriyan > --- > > arch/x86/lib/clear_page_64.S |2 -- > 1 file changed, 2 deletions(-) > >

[PATCH] gpio-ml-ioh: Delete an error message for a failed memory allocation in ioh_gpio_probe()

2018-02-10 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 10 Feb 2018 22:27:15 +0100 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring ---

Re: [PATCH] MAINTAINERS: auxdisplay: remove obsolete webpages

2018-02-10 Thread Joe Perches
On Sat, 2018-02-10 at 09:32 -0800, Randy Dunlap wrote: > On 02/10/2018 01:56 AM, Miguel Ojeda wrote: > > Cc: Randy Dunlap > > Signed-off-by: Miguel Ojeda > > Acked-by: Randy Dunlap > > Are you merging this directly

Re: [PATCH] f2fs: set_code_data in move_data_block

2018-02-10 Thread Yunlong Song
Ping... move_data_block misses set_cold_data, then the F2FS_WB_CP_DATA will lack these data pages in move_data_block, and write_checkpoint can not make sure this pages committed to the flash. On 2018/2/8 20:33, Yunlong Song wrote: Signed-off-by: Yunlong Song ---

[PATCH 3.16 035/136] l2tp: protect sock pointer of struct pppol2tp_session with RCU

2018-02-10 Thread Ben Hutchings
3.16.54-rc1 review patch. If anyone has any objections, please let me know. -- From: Guillaume Nault commit ee40fb2e1eb5bc0ddd3f2f83c6e39a454ef5a741 upstream. pppol2tp_session_create() registers sessions that can't have their corresponding socket

[PATCH 3.16 046/136] drm/radeon: fix atombios on big endian

2018-02-10 Thread Ben Hutchings
3.16.54-rc1 review patch. If anyone has any objections, please let me know. -- From: Roman Kapl commit 4f626a4ac8f57ddabf06d03870adab91e463217f upstream. The function for byteswapping the data send to/from atombios was buggy for num_bytes not divisible by

[PATCH 3.16 031/136] mtd: nand: omap2: Fix subpage write

2018-02-10 Thread Ben Hutchings
3.16.54-rc1 review patch. If anyone has any objections, please let me know. -- From: Roger Quadros commit 739c64414f01748a36e7d82c8e0611dea94412bd upstream. Since v4.12, NAND subpage writes were causing a NULL pointer dereference on OMAP platforms (omap2-nand)

[PATCH 3.16 029/136] net: bcmgenet: enable loopback during UniMAC sw_reset

2018-02-10 Thread Ben Hutchings
3.16.54-rc1 review patch. If anyone has any objections, please let me know. -- From: Doug Berger commit 28c2d1a7a0bfdf3617800d2beae1c67983c03d15 upstream. It is necessary for the UniMAC to be clocked at least 5 cycles while the sw_reset is asserted to

[PATCH 3.16 033/136] l2tp: don't register sessions in l2tp_session_create()

2018-02-10 Thread Ben Hutchings
3.16.54-rc1 review patch. If anyone has any objections, please let me know. -- From: Guillaume Nault commit 3953ae7b218df4d1e544b98a393666f9ae58a78c upstream. Sessions created by l2tp_session_create() aren't fully initialised: some pseudo-wire specific

[PATCH 3.16 037/136] btrfs: avoid null pointer dereference on fs_info when calling btrfs_crit

2018-02-10 Thread Ben Hutchings
3.16.54-rc1 review patch. If anyone has any objections, please let me know. -- From: Colin Ian King commit 3993b112dac968612b0b213ed59cb30f50b0015b upstream. There are checks on fs_info in __btrfs_panic to avoid dereferencing a null fs_info, however,

[PATCH 3.16 122/136] usbip: fix NULL pointer dereference on errors

2018-02-10 Thread Ben Hutchings
3.16.54-rc1 review patch. If anyone has any objections, please let me know. -- From: Alexander Popov commit 8c7003a3b4b4afd3734cdcc39217ef22d78a4a16 upstream. Fix NULL pointer dereference and obsolete comments forgotten when usbip server was converted

[PATCH 3.16 124/136] usbip: fix stub_rx: harden CMD_SUBMIT path to handle malicious input

2018-02-10 Thread Ben Hutchings
3.16.54-rc1 review patch. If anyone has any objections, please let me know. -- From: Shuah Khan commit c6688ef9f29762e65bce325ef4acd6c675806366 upstream. Harden CMD_SUBMIT path to handle malicious input that could trigger large memory allocations. Add

[PATCH 3.16 111/136] igbvf: Use smp_rmb rather than read_barrier_depends

2018-02-10 Thread Ben Hutchings
3.16.54-rc1 review patch. If anyone has any objections, please let me know. -- From: Brian King commit 1e1f9ca546556e508d021545861f6b5fc75a95fe upstream. The original issue being fixed in this patch was seen with the ixgbe driver, but the same issue

[PATCH 3.16 106/136] ALSA: usb-audio: Fix potential zero-division at parsing FU

2018-02-10 Thread Ben Hutchings
3.16.54-rc1 review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 8428a8ebde2db1e988e41a58497a28beb7ce1705 upstream. parse_audio_feature_unit() contains a code dividing potentially with zero when a malformed FU descriptor

[PATCH 3.16 105/136] ALSA: usb-audio: Fix potential out-of-bound access at parsing SU

2018-02-10 Thread Ben Hutchings
3.16.54-rc1 review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit f658f17b5e0e339935dca23e77e0f3cad591926b upstream. The usb-audio driver may trigger an out-of-bound access at parsing a malformed selector unit, as it

[PATCH 3.16 109/136] i40e: Use smp_rmb rather than read_barrier_depends

2018-02-10 Thread Ben Hutchings
3.16.54-rc1 review patch. If anyone has any objections, please let me know. -- From: Brian King commit 52c6912fde0133981ee50ba08808f257829c4c93 upstream. The original issue being fixed in this patch was seen with the ixgbe driver, but the same issue

[PATCH 3.16 104/136] ALSA: usb-audio: Add sanity checks to FE parser

2018-02-10 Thread Ben Hutchings
3.16.54-rc1 review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit d937cd6790a2bef2d07b500487646bd794c039bb upstream. When the usb-audio descriptor contains the malformed feature unit description with a too short length,

[PATCH 3.16 113/136] i40evf: Use smp_rmb rather than read_barrier_depends

2018-02-10 Thread Ben Hutchings
3.16.54-rc1 review patch. If anyone has any objections, please let me know. -- From: Brian King commit f72271e2a0ae4277d53c4053f5eed8bb346ba38a upstream. The original issue being fixed in this patch was seen with the ixgbe driver, but the same issue

[PATCH 3.16 000/136] 3.16.54-rc1 review

2018-02-10 Thread Ben Hutchings
This is the start of the stable review cycle for the 3.16.54 release. There are 136 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 Feb 13 12:00:00 UTC 2018. Anything

[PATCH 3.16 135/136] kaiser: Set _PAGE_NX only if supported

2018-02-10 Thread Ben Hutchings
3.16.54-rc1 review patch. If anyone has any objections, please let me know. -- From: Guenter Roeck This resolves a crash if loaded under qemu + haxm under windows. See https://www.spinics.net/lists/kernel/msg2689835.html for details. Here is a boot log

[PATCH 3.16 006/136] rtc: interface: ignore expired timers when enqueuing new timers

2018-02-10 Thread Ben Hutchings
3.16.54-rc1 review patch. If anyone has any objections, please let me know. -- From: Colin Ian King commit 2b2f5ff00f63847d95adad6289bd8b05f5983dd5 upstream. This patch fixes a RTC wakealarm issue, namely, the event fires during hibernate and is not

[PATCH 3.2 35/79] blktrace: Fix potential deadlock between delete & sysfs ops

2018-02-10 Thread Ben Hutchings
3.2.99-rc1 review patch. If anyone has any objections, please let me know. -- From: Waiman Long commit 5acb3cc2c2e9d3020a4fee43763c6463767f1572 upstream. The lockdep code had reported the following unsafe locking scenario: CPU0

[PATCH 3.2 69/79] ALSA: seq: Make ioctls race-free

2018-02-10 Thread Ben Hutchings
3.2.99-rc1 review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit b3defb791b26ea0683a93a4f49c77ec45ec96f10 upstream. The ALSA sequencer ioctls have no protection against racy calls while the concurrent operations may lead

[PATCH 3.16 008/136] usbip: tools: Install all headers needed for libusbip development

2018-02-10 Thread Ben Hutchings
3.16.54-rc1 review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings commit c15562c0dcb2c7f26e891923b784cf1926b8c833 upstream. usbip_host_driver.h now depends on several additional headers, which need to be installed along

[PATCH v2] Input: gpio_keys: Add level trigger support for GPIO keys

2018-02-10 Thread Baolin Wang
On some platforms (such as Spreadtrum platform), the GPIO keys can only be triggered by level type. So this patch introduces one property to indicate if the GPIO trigger type is level trigger or edge trigger. Signed-off-by: Baolin Wang --- Changes since v1: - Diable the

  1   2   3   4   5   >