Re: [PATCH V6 2/4] audit: clean simple fsnotify implementation

2015-08-01 Thread Richard Guy Briggs
On 15/07/16, Paul Moore wrote: > On Tuesday, July 14, 2015 11:50:24 AM Richard Guy Briggs wrote: > > This is to be used to audit by executable rules, but audit watches > > should be able to share this code eventually. > > > > At the moment the audit watch code is a lot more complex, that code only

Re: linux: sata_nv: adma support

2015-08-01 Thread Pali Rohár
On Thursday 25 December 2014 07:22:13 Robert Hancock wrote: > On Tue, Dec 23, 2014 at 1:51 PM, Pali Rohár > wrote: > > Hello, > > > > I have nvidia nforce4 motherboard with nvidia sata controller: > > > > 00:07.0 IDE interface [0101]: NVIDIA Corporation CK804 Serial ATA > > Controller [10de:0054

RE: [PATCH v4 1/7] locking/pvqspinlock: Unconditional PV kick with _Q_SLOW_VAL

2015-08-01 Thread Long, Wai Man
Davidlohr, I am sorry that I forgot to put in your tag. Cheers, Longman -Original Message- From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel-ow...@vger.kernel.org] On Behalf Of Davidlohr Bueso Sent: Saturday, August 01, 2015 2:01 PM To: Long, Wai Man Cc: Peter Zijlstra; Ingo

Re: [PATCH] dmaengine: xgene-dma: Add ACPI support for X-Gene DMA engine driver

2015-08-01 Thread Arnd Bergmann
On Thursday 30 July 2015 14:21:07 Rameshwar Sahu wrote: > Hi Arnd, > > On Wed, Jul 29, 2015 at 8:04 PM, Arnd Bergmann wrote: > > On Tuesday 21 July 2015 18:44:39 Rameshwar Prasad Sahu wrote: > >> This patch adds ACPI support for the APM X-Gene DMA engine driver. > >> > >> Signed-off-by: Rameshwar

[PATCH 00/28] Drivers: hv: vmbus

2015-08-01 Thread K. Y. Srinivasan
Miscellaneous fixes/improvements. The patches that were sent over the last couple of months have been consolidated in this submission. All review comments have been addressed. Alex Ng (1): Drivers: hv: balloon: Enable dynamic memory protocol negotiation with Windows 10 hosts Christopher Oo

[PATCH 05/28] Drivers: hv: vmbus: add special crash handler

2015-08-01 Thread K. Y. Srinivasan
From: Vitaly Kuznetsov Full kernel hang is observed when kdump kernel starts after a crash. This hang happens in vmbus_negotiate_version() function on wait_for_completion() as Hyper-V host (Win2012R2 in my testing) never responds to CHANNELMSG_INITIATE_CONTACT as it thinks the connection is alrea

[PATCH 03/28] Drivers: hv: vmbus: add special kexec handler

2015-08-01 Thread K. Y. Srinivasan
From: Vitaly Kuznetsov When general-purpose kexec (not kdump) is being performed in Hyper-V guest the newly booted kernel fails with an MCE error coming from the host. It is the same error which was fixed in the "Drivers: hv: vmbus: Implement the protocol for tearing down vmbus state" commit - mo

[PATCH 17/28] Drivers: hv: vmbus: Consider ND NIC in binding channels to CPUs

2015-08-01 Thread K. Y. Srinivasan
We cycle through all the "high performance" channels to distribute load across the available CPUs. Process the NetworkDirect as a high performance device. Signed-off-by: K. Y. Srinivasan --- drivers/hv/channel_mgmt.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/driver

[PATCH 04/28] Drivers: hv: don't do hypercalls when hypercall_page is NULL

2015-08-01 Thread K. Y. Srinivasan
From: Vitaly Kuznetsov At the very late stage of kexec a driver (which are not being unloaded) can try to post a message or signal an event. This will crash the kernel as we already did hv_cleanup() and the hypercall page is NULL. Move all common (between 32 and 64 bit code) declarations to the

[PATCH 02/28] kexec: define kexec_in_progress in !CONFIG_KEXEC case

2015-08-01 Thread K. Y. Srinivasan
From: Vitaly Kuznetsov If some piece of code wants to check kexec_in_progress it has to be put in #ifdef CONFIG_KEXEC block to not break the build in !CONFIG_KEXEC case. Overcome this limitation by defining kexec_in_progress to false. Signed-off-by: Vitaly Kuznetsov Signed-off-by: K. Y. Sriniva

[PATCH 07/28] Drivers: hv: kvp: check kzalloc return value

2015-08-01 Thread K. Y. Srinivasan
From: Vitaly Kuznetsov kzalloc() return value check was accidentally lost in 11bc3a5fa91f: "Drivers: hv: kvp: convert to hv_utils_transport" commit. We don't need to reset kvp_transaction.state here as we have the kvp_timeout_func() timeout function and in case we're in OOM situation it is prefe

[PATCH 08/28] Drivers: hv: fcopy: dynamically allocate smsg_out in fcopy_send_data()

2015-08-01 Thread K. Y. Srinivasan
From: Vitaly Kuznetsov struct hv_start_fcopy is too big to be on stack on i386, the following warning is reported: >> drivers/hv/hv_fcopy.c:159:1: warning: the frame size of 1088 bytes is larger >> than 1024 bytes [-Wframe-larger-than=] Reported-by: kbuild test robot Signed-off-by: Vitaly Kuz

[PATCH 21/28] drivers/hv: Migrate to new 'set-state' interface

2015-08-01 Thread K. Y. Srinivasan
From: Viresh Kumar Migrate hv driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Cc: "K. Y. Srinivasan" Cc

[PATCH 01/28] Drivers: hv: vmbus: remove hv_synic_free_cpu() call from hv_synic_cleanup()

2015-08-01 Thread K. Y. Srinivasan
From: Vitaly Kuznetsov We already have hv_synic_free() which frees all per-cpu pages for all CPUs, let's remove the hv_synic_free_cpu() call from hv_synic_cleanup() so it will be possible to do separate cleanup (writing to MSRs) and final freeing. This is going to be used to assist kexec. Signed

[PATCH 06/28] Drivers: hv: vmbus: prefer 'die' notification chain to 'panic'

2015-08-01 Thread K. Y. Srinivasan
From: Vitaly Kuznetsov current_pt_regs() sometimes returns regs of the userspace process and in case of a kernel crash this is not what we need to report. E.g. when we trigger crash with sysrq we see the following: ... RIP: 0010:[] [] sysrq_handle_crash+0x16/0x20 RSP: 0018:8800db0a7d88 E

[PATCH 27/28] cpu-hotplug: export cpu_hotplug_enable/cpu_hotplug_disable

2015-08-01 Thread K. Y. Srinivasan
From: Vitaly Kuznetsov Hyper-V module needs to disable cpu hotplug (offlining) as there is no support from hypervisor side to reassign already opened event channels to a different CPU. Currently it is been done by altering smp_ops.cpu_disable but it is hackish. Signed-off-by: Vitaly Kuznetsov R

[PATCH 15/28] Drivers: hv: vmbus: don't send CHANNELMSG_UNLOAD on pre-Win2012R2 hosts

2015-08-01 Thread K. Y. Srinivasan
From: Vitaly Kuznetsov Pre-Win2012R2 hosts don't properly handle CHANNELMSG_UNLOAD and wait_for_completion() hangs. Avoid sending such request on old hosts. Signed-off-by: Vitaly Kuznetsov Signed-off-by: K. Y. Srinivasan --- drivers/hv/channel_mgmt.c |4 1 files changed, 4 insertions

[PATCH 23/28] Drivers: hv: vmbus: add a sysfs attr to show the binding of channel/VP

2015-08-01 Thread K. Y. Srinivasan
From: Dexuan Cui This is useful to analyze performance issue. Signed-off-by: Dexuan Cui Signed-off-by: K. Y. Srinivasan --- drivers/hv/vmbus_drv.c | 38 ++ 1 files changed, 38 insertions(+), 0 deletions(-) diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv

[PATCH 16/28] mshyperv: fix recognition of Hyper-V guest crash MSR's

2015-08-01 Thread K. Y. Srinivasan
From: Denis V. Lunev Hypervisor Top Level Functional Specification v3.1/4.0 notes that cpuid (0x4003) EDX's 10th bit should be used to check that Hyper-V guest crash MSR's functionality available. This patch should fix this recognition. Currently the code checks EAX register instead of EDX.

[PATCH 13/28] hv: util: checking the wrong variable

2015-08-01 Thread K. Y. Srinivasan
From: Dan Carpenter We don't catch this allocation failure because there is a typo and we check the wrong variable. Fixes: 14b50f80c32d ('Drivers: hv: util: introduce hv_utils_transport abstraction') Signed-off-by: Dan Carpenter Reviewed-by: Vitaly Kuznetsov Signed-off-by: K. Y. Srinivasan

[PATCH 12/28] drivers:hv: Move MMIO range picking from hyper_fb to hv_vmbus

2015-08-01 Thread K. Y. Srinivasan
From: ja...@microsoft.com This patch deletes the logic from hyperv_fb which picked a range of MMIO space for the frame buffer and adds new logic to hv_vmbus which picks ranges for child drivers. The new logic isn't quite the same as the old, as it considers more possible ranges. Signed-off-by:

[PATCH 14/28] Drivers: hv: vmbus: fix typo in hv_port_info struct

2015-08-01 Thread K. Y. Srinivasan
From: Nik Nyby This fixes a typo: base_flag_bumber to base_flag_number Signed-off-by: Nik Nyby Signed-off-by: K. Y. Srinivasan --- drivers/hv/hyperv_vmbus.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/hv/hyperv_vmbus.h b/drivers/hv/hyperv_vmbus.h index cd

[PATCH 22/28] Drivers: hv: vmbus: Implement a clocksource based on the TSC page

2015-08-01 Thread K. Y. Srinivasan
The current Hyper-V clock source is based on the per-partition reference counter and this counter is being accessed via s synthetic MSR - HV_X64_MSR_TIME_REF_COUNT. Hyper-V has a more efficient way of computing the per-partition reference counter value that does not involve reading a synthetic MSR

[PATCH 19/28] Drivers: hv: vmbus: Further improve CPU affiliation logic

2015-08-01 Thread K. Y. Srinivasan
From: Dexuan Cui Keep track of CPU affiliations of sub-channels within the scope of the primary channel. This will allow us to better distribute the load amongst available CPUs. Signed-off-by: Dexuan Cui Signed-off-by: K. Y. Srinivasan --- drivers/hv/channel_mgmt.c | 20 ++--

[PATCH 26/28] cpu-hotplug: convert cpu_hotplug_disabled to a counter

2015-08-01 Thread K. Y. Srinivasan
From: Vitaly Kuznetsov As a prerequisite to exporting cpu_hotplug_enable/cpu_hotplug_disable functions to modules we need to convert cpu_hotplug_disabled to a counter to properly support disable -> disable -> enable call sequences. E.g. after Hyper-V vmbus module (which is supposed to be the firs

[PATCH 25/28] Drivers: hv: vmbus: document the VMBus sysfs files

2015-08-01 Thread K. Y. Srinivasan
From: Dexuan Cui The 4 sysfs files should be stable ABIs to the user space. Signed-off-by: Dexuan Cui Signed-off-by: K. Y. Srinivasan --- Documentation/ABI/stable/sysfs-bus-vmbus | 29 + MAINTAINERS |1 + 2 files changed, 30 inser

[PATCH 18/28] Drivers: hv: vmbus: Improve the CPU affiliation for channels

2015-08-01 Thread K. Y. Srinivasan
The current code tracks the assigned CPUs within a NUMA node in the context of the primary channel. So, if we have a VM with a single NUMA node with 8 VCPUs, we may end up unevenly distributing the channel load. Fix the issue by tracking affiliations globally. Signed-off-by: K. Y. Srinivasan --

[PATCH 28/28] Drivers: hv: vmbus: use cpu_hotplug_enable/disable

2015-08-01 Thread K. Y. Srinivasan
From: Vitaly Kuznetsov Commit e513229b4c38 ("Drivers: hv: vmbus: prevent cpu offlining on newer hypervisors") was altering smp_ops.cpu_disable to prevent CPU offlining. We can bo better by using cpu_hotplug_enable/disable functions instead of such hard-coding. Reported-by: Radim Kr.má Signed-o

[PATCH 09/28] Drivers: hv: balloon: Enable dynamic memory protocol negotiation with Windows 10 hosts

2015-08-01 Thread K. Y. Srinivasan
From: Alex Ng Support Win10 protocol for Dynamic Memory. Thia patch allows guests on Win10 hosts to hot-add memory even when dynamic memory is not enabled on the guest. Signed-off-by: Alex Ng Signed-off-by: K. Y. Srinivasan --- drivers/hv/hv_balloon.c | 26 -- 1 fil

[PATCH 24/28] tools: hv: add a python script lsvmbus to list VMBus devices

2015-08-01 Thread K. Y. Srinivasan
From: Dexuan Cui By default lsvmbus lists all the devices in the VMBus. With -v or -vv, more information is printed, including the VMBus Rel_ID, class ID, device ID and which channel is bound to which virtual processor, etc. Signed-off-by: Dexuan Cui Signed-off-by: K. Y. Srinivasan --- tools/

[PATCH 20/28] Drivers: hv_vmbus: Fix signal to host condition

2015-08-01 Thread K. Y. Srinivasan
From: Christopher Oo Fixes a bug where previously hv_ringbuffer_read would pass in the old number of bytes available to read instead of the expected old read index when calculating when to signal to the host that the ringbuffer is empty. Since the previous write size is already saved, also change

[PATCH 11/28] drivers:hv: Modify hv_vmbus to search for all MMIO ranges available.

2015-08-01 Thread K. Y. Srinivasan
From: ja...@microsoft.com This patch changes the logic in hv_vmbus to record all of the ranges in the VM's firmware (BIOS or UEFI) that offer regions of memory-mapped I/O space for use by paravirtual front-end drivers. The old logic just found one range above 4GB and called it good. This logic

[PATCH 10/28] Drivers: hv: vmbus: Permit sending of packets without payload

2015-08-01 Thread K. Y. Srinivasan
The guest may have to send a completion packet back to the host. To support this usage, permit sending a packet without a payload - we would be only sending the descriptor in this case. Signed-off-by: K. Y. Srinivasan --- drivers/hv/channel.c |4 +++- 1 files changed, 3 insertions(+), 1 dele

[PATCH v1] of: Add vendor prefix for Nuvoton

2015-08-01 Thread Constantine Shulyupin
Signed-off-by: Constantine Shulyupin --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index 181b53e..449805a 100644 --- a/Doc

Re: [PATCH v4 1/7] locking/pvqspinlock: Unconditional PV kick with _Q_SLOW_VAL

2015-08-01 Thread Peter Zijlstra
On Fri, Jul 31, 2015 at 10:21:58PM -0400, Waiman Long wrote: > The smp_store_release() is not a full barrier. In order to avoid missed > wakeup, we may need to add memory barrier around locked and cpu state > variables adding to complexity. As the chance of spurious wakeup is very > low, it is easi

Re: [PATCH v2 6/6] stop_machine: kill stop_cpus_lock and lg_double_lock/unlock()

2015-08-01 Thread Peter Zijlstra
On Sat, Aug 01, 2015 at 12:57:18PM +0200, Oleg Nesterov wrote: > > > + if (stop_work_pending(stopper1) != stop_work_pending(stopper2)) > > > + goto unlock; > > > > You could DoS/false positive this by running stop_one_cpu() in a loop, > > and thereby 'always' having work pending on one but

Re: Re: [PATCH] kselftests/ftrace : Add event trigger testcases

2015-08-01 Thread Masami Hiramatsu
On 2015/07/27 18:34, Namhyung Kim wrote: > Hi Masami, > > On Sat, Jul 25, 2015 at 10:13:10AM +0900, Masami Hiramatsu wrote: >> This adds simple event trigger testcases for ftracetest, >> which covers following triggers. >> - traceon-traceoff trigger >> - enable/disable_event trigger >> - snapsh

Re: [PATCH] i2c: Drop owner assignment from i2c_driver

2015-08-01 Thread Wolfram Sang
On Fri, Jul 10, 2015 at 02:52:31PM +0900, Krzysztof Kozlowski wrote: > i2c_driver does not need to set an owner because i2c_register_driver() > will set it. > > Signed-off-by: Krzysztof Kozlowski > Applied to for-next, thanks! signature.asc Description: Digital signature

Re: [PATCH] misc: Drop owner assignment from i2c_driver

2015-08-01 Thread Wolfram Sang
On Fri, Jul 10, 2015 at 03:23:17PM +0900, Krzysztof Kozlowski wrote: > i2c_driver does not need to set an owner because i2c_register_driver() > will set it. > > Signed-off-by: Krzysztof Kozlowski > I took the liberty and applied it to my for-next, thanks! signature.asc Description: Digital s

[PATCH 3.2 014/164] UBI: fix out of bounds write

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Brian Norris commit d74adbdb9abf0d2506a6c4afa534d894f28b763f upstream. If aeb->len >= vol->reserved_pebs, we should not be writing aeb into the PEB->LEB mapping. Caught by Coverity, CID #71121

[PATCH 3.2 094/164] ext4: check for zero length extent explicitly

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Eryu Guan commit 2f974865ffdfe7b9f46a9940836c8b167342563d upstream. The following commit introduced a bug when checking for zero length extent 5946d08 ext4: check for overlapping extents in ex

[PATCH 3.2 154/164] MIPS: Octeon: Remove udelay() causing huge IRQ latency

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Alexander Sverdlin commit 73bf3c2a500b2db8ac966469591196bf55afb409 upstream. udelay() in PCI/PCIe read/write callbacks cause 30ms IRQ latency on Octeon platforms because these operations are ca

[PATCH 3.2 126/164] udp: fix behavior of wrong checksums

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit beb39db59d14990e401e235faf66a6b9b31240b0 upstream. We have two problems in UDP stack related to bogus checksums : 1) We return -EAGAIN to application even if receive queue

[PATCH 3.2 127/164] sctp: fix ASCONF list handling

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Marcelo Ricardo Leitner commit 2d45a02d0166caf2627fe91897c6ffc3b19514c4 upstream. ->auto_asconf_splist is per namespace and mangled by functions like sctp_setsockopt_auto_asconf() which doesn't

[PATCH 3.2 001/164] Bluetooth: ath3k: Add support Atheros AR5B195 combo Mini PCIe card

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Alexander Ploumistos commit 2eeff0b4317a02f0e281df891d990194f0737aae upstream. Add 04f2:aff1 to ath3k.c supported devices list and btusb.c blacklist, so that the device can load the ath3k firmw

[PATCH 3.2 017/164] Drivers: hv: vmbus: Don't wait after requesting offers

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: "K. Y. Srinivasan" commit 73cffdb65e679b98893f484063462c045adcf212 upstream. Don't wait after sending request for offers to the host. This wait is unnecessary and simply adds 5 seconds to the b

[git pull] vfs.git spurious ENOTDIR fix

2015-08-01 Thread Al Viro
On Sat, Aug 01, 2015 at 09:09:24AM -0700, Linus Torvalds wrote: > Al, do you plan a pull request? It would be good to get this into rc5 > (tomorrow) regardless of whether there might be other issues lurking > too. Please, pull from the usual place: git://git.kernel.org/pub/scm/linux/kernel/git/vi

[PATCH 3.2 007/164] pinctrl: fix example .get_group_pins implementation signature

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Baruch Siach commit 838d030bda9e2da5f9dcf7251f4e117c6258cb2f upstream. The callback function signature has changed in commit a5818a8bd0 (pinctrl: get_group_pins() const fixes) Fixes: a5818a8bd

[PATCH 3.2 145/164] Fix sb_edac compilation with 32 bits kernels

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Mauro Carvalho Chehab commit 5b889e379f340f43b1252abde5d37a7084c846b9 upstream. As reported by Josh Boyer : > drivers/edac/sb_edac.c: In function 'get_memory_error_data': > drivers/

[PATCH 3.2 015/164] UBI: initialize LEB number variable

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Brian Norris commit f16db8071ce18819fbd705ddcc91c6f392fb61f8 upstream. In some of the 'out_not_moved' error paths, lnum may be used uninitialized. Don't ignore the warning; let's fix it. This

[PATCH 3.2 003/164] e1000: add dummy allocator to fix race condition between mtu change and netpoll

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Sabrina Dubroca commit 08e8331654d1d7b2c58045e549005bc356aa7810 upstream. There is a race condition between e1000_change_mtu's cleanups and netpoll, when we change the MTU across jumbo size: C

[PATCH 3.2 006/164] compal-laptop: Check return value of power_supply_register

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Krzysztof Kozlowski commit 1915a718b1872edffcb13e5436a9f7302d3d36f0 upstream. The return value of power_supply_register() call was not checked and even on error probe() function returned 0. If

[PATCH 3.2 004/164] KVM: s390: Zero out current VMDB of STSI before including level3 data.

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Ekaterina Tumanova commit b75f4c9afac2604feb971441116c07a24ecca1ec upstream. s390 documentation requires words 0 and 10-15 to be reserved and stored as zeros. As we fill out all other fields, w

[PATCH 3.2 018/164] Btrfs: fix log tree corruption when fs mounted with -o discard

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Filipe Manana commit dcc82f4783ad91d4ab654f89f37ae9291cdc846a upstream. While committing a transaction we free the log roots before we write the new super block. Freeing the log roots implies m

[PATCH 3.2 163/164] ACPICA: Utilities: Cleanup to convert physical address printing formats.

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Lv Zheng commit cc2080b0e5a7c6c33ef5e9ffccbc2b8f6f861393 upstream. ACPICA commit 7f06739db43a85083a70371c14141008f20b2198 For physical addresses, since the address may exceed 32-bit address ra

[PATCH 3.2 160/164] sparc32,leon: fix leon build

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Sam Ravnborg commit d657784b70ef653350d7aa49da90a8484c29da7d upstream. Minimal fix to allow leon to be built. Signed-off-by: Sam Ravnborg Cc: Konrad Eisele Cc: Daniel Hellstrom Signed-off-b

[PATCH 3.2 156/164] MIPS: Octeon: Delete override of cpu_has_mips_r2_exec_hazard.

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Ralf Baechle commit f05ff43355e6997c18f82ddcee370a6e5f8643ce upstream. This is no longer needed with the fixed, new and improved definition of cpu_has_mips_r2_exec_hazard in . For a discussion

[PATCH 3.2 019/164] btrfs: don't accept bare namespace as a valid xattr

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: David Sterba commit 3c3b04d10ff1811a27f86684ccd2f5ba6983211d upstream. Due to insufficient check in btrfs_is_valid_xattr, this unexpectedly works: $ touch file $ setfattr -n user. -v 1 file

[PATCH 3.2 155/164] MIPS: Fix cpu_has_mips_r2_exec_hazard.

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Ralf Baechle commit 9cdf30bd3bac697fc533988f44a117434a858f69 upstream. Returns a non-zero value if the current processor implementation requires an IHB instruction to deal with an instruction h

[PATCH 3.2 011/164] cdc-wdm: fix endianness bug in debug statements

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Oliver Neukum commit 323ece54e0761198946ecd0c2091f1d2bfdfcb64 upstream. Values directly from descriptors given in debug statements must be converted to native endianness. Signed-off-by: Oliver

[PATCH 3.2 005/164] usb: musb: core: fix TX/RX endpoint order

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Felipe Balbi commit e3c93e1a3f35be4cf1493d3ccfb0c6d9209e4922 upstream. As per Mentor Graphics' documentation, we should always handle TX endpoints before RX endpoints. This patch fixes that er

[PATCH 3.2 008/164] drm/radeon: fix doublescan modes (v2)

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit fd99a0943ffaa0320ea4f69d09ed188f950c0432 upstream. Use the correct flags for atom. v2: handle DRM_MODE_FLAG_DBLCLK Signed-off-by: Alex Deucher Signed-off-by: Ben Hutching

[PATCH 3.2 078/164] ipvs: fix memory leak in ip_vs_ctl.c

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Tommi Rantala commit f30bf2a5cac6c60ab366c4bc6db913597bf4d6ab upstream. Fix memory leak introduced in commit a0840e2e165a ("IPVS: netns, ip_vs_ctl local vars moved to ipvs struct."): unreferen

[PATCH 3.2 083/164] ahci: un-staticize ahci_dev_classify

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Rob Herring commit bbb4ab43f82adf02c8b4d0d7e7b7e79d24204b05 upstream. Make ahci_dev_classify available to the ahci platform driver for custom hard reset function. Signed-off-by: Rob Herring S

[PATCH 3.2 092/164] dmi_scan: refactor dmi_scan_machine(), {smbios,dmi}_present()

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings commit 79bae42d51a5d498500c890c19ef76df41d2bf59 upstream. Move the calls to memcpy_fromio() up into the loop in dmi_scan_machine(), and move the signature checks back down into dm

[PATCH 3.2 161/164] ACPICA: Tables: Change acpi_find_root_pointer() to use acpi_physical_address.

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Lv Zheng commit 85e014b4304626972bff42249556748ad3fcf812 upstream. commit f254e3c57b9d952e987502aefa0804c177dd2503 upstream. ACPICA commit 7d9fd64397d7c38899d3dc497525f6e6b044e0e3 OSPMs like

[PATCH 3.2 164/164] ACPICA: Utilities: Cleanup to remove useless ACPI_PRINTF/FORMAT_xxx helpers.

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Lv Zheng commit 1d0a0b2f6df2bf2643fadc990eb143361eca6ada upstream. ACPICA commit b60612373a4ef63b64a57c124576d7ddb6d8efb6 For physical addresses, since the address may exceed 32-bit address ra

[PATCH 3.2 086/164] KVM: MMU: fix CR4.SMEP=1, CR0.WP=0 with shadow pages

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Paolo Bonzini commit 898761158be7682082955e3efa4ad24725305fc7 upstream. smep_andnot_wp is initialized in kvm_init_shadow_mmu and shadow pages should not be reused for different values of it. T

[PATCH 3.2 079/164] xhci: fix isoc endpoint dequeue from advancing too far on transaction error

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Mathias Nyman commit d104d0152a97fade389f47635b73a9ccc7295d0b upstream. Isoc TDs usually consist of one TRB, sometimes two. When all goes well we receive only one success event for a TD, and mo

[PATCH 3.2 100/164] crypto: s390/ghash - Fix incorrect ghash icv buffer handling.

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Harald Freudenberger commit a1cae34e23b1293eccbcc8ee9b39298039c3952a upstream. Multitheaded tests showed that the icv buffer in the current ghash implementation is not handled correctly. A move

[PATCH 3.2 099/164] USB: serial: ftdi_sio: Add support for a Motion Tracker Development Board

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Patrick Riphagen commit 1df5b888f54070a373a73b34488cc78c2365b7b4 upstream. This adds support for new Xsens device, Motion Tracker Development Board, using Xsens' own Vendor ID Signed-off-by: P

[PATCH 3.2 134/164] unix/caif: sk_socket can disappear when state is unlocked

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Mark Salyzyn [ Upstream commit b48732e4a48d80ed4a14812f0bab09560846514e ] got a rare NULL pointer dereference in clear_bit Signed-off-by: Mark Salyzyn Acked-by: Hannes Frederic Sowa v2:

[PATCH 3.2 000/164] 3.2.70-rc1 review

2015-08-01 Thread Ben Hutchings
This is the start of the stable review cycle for the 3.2.70 release. There are 164 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 Wed Aug 05 23:00:00 UTC 2015. Anything recei

[PATCH 3.2 158/164] parisc: Provide __ucmpdi2 to resolve undefined references in 32 bit builds.

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: John David Anglin commit ca0ad83da17b6ba07f9eb5902e69daac90c4fa61 upstream. The Debian experimental linux source package (3.8.5-1) build fails with the following errors: ... MODPOST 2016 module

[PATCH 3.2 082/164] usb-storage: Add NO_WP_DETECT quirk for Lacie 059f:0651 devices

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Hans de Goede commit 172115090f5e739660b97694618a2ba86457063a upstream. Without this flag some versions of these enclosures do not work. Reported-and-tested-by: Christian Schaller Signed-off-

[PATCH 3.2 091/164] powerpc: Align TOC to 256 bytes

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Anton Blanchard commit 5e95235ccd5442d4a4fe11ec4eb99ba1b7959368 upstream. Recent toolchains force the TOC to be 256 byte aligned. We need to enforce this alignment in our linker script, otherwi

[PATCH 3.2 138/164] packet: avoid out of bounds read in round robin fanout

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Willem de Bruijn [ Upstream commit 468479e6043c84f5a65299cc07cb08a22a28c2b1 ] PACKET_FANOUT_LB computes f->rr_cur such that it is modulo f->num_members. It returns the old value unconditionally

[PATCH 3.2 131/164] powerpc: Make logical to real cpu mapping code endian safe

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Anton Blanchard commit ac13282dff13cd0f4da0f0ccb134bc29bfa10255 upstream. Signed-off-by: Anton Blanchard Signed-off-by: Benjamin Herrenschmidt [jt: fixed up context due to commit 59a53afe70fd

[PATCH 3.2 151/164] softirq: reduce latencies

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit c10d73671ad30f54692f7f69f0e09e75d3a8926a upstream. In various network workloads, __do_softirq() latencies can be up to 20 ms if HZ=1000, and 200 ms if HZ=100. This is becau

[PATCH 3.2 124/164] tracing: Have filter check for balanced ops

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Steven Rostedt commit 2cf30dc180cea808077f003c5116388183e54f9e upstream. When the following filter is used it causes a warning to trigger: # cd /sys/kernel/debug/tracing # echo "((dev==1)blo

[PATCH 3.2 148/164] include/linux/sched.h: don't use task->pid/tgid in same_thread_group/has_group_leader_pid

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Oleg Nesterov commit e1403b8edf669ff49bbdf602cc97fefa2760cb15 upstream. task_struct->pid/tgid should go away. 1. Change same_thread_group() to use task->signal for comparison. 2. Change has_g

[PATCH 3.2 142/164] slub: refactoring unfreeze_partials()

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Joonsoo Kim commit 43d77867a4f333de4e4189114c480dd365133c09 upstream. Current implementation of unfreeze_partials() is so complicated, but benefit from it is insignificant. In addition many cod

[PATCH 3.2 071/164] ext4: move check under lock scope to close a race.

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Davide Italiano commit 280227a75b56ab5d35854f3a77ef74a7ad56a203 upstream. fallocate() checks that the file is extent-based and returns EOPNOTSUPP in case is not. Other tasks can convert from an

Re: [git pull] vfs.git spurious ENOTDIR fix

2015-08-01 Thread Al Viro
On Sun, Aug 02, 2015 at 01:14:02AM +0100, Al Viro wrote: > On Sat, Aug 01, 2015 at 09:09:24AM -0700, Linus Torvalds wrote: > > > Al, do you plan a pull request? It would be good to get this into rc5 > > (tomorrow) regardless of whether there might be other issues lurking > > too. > > Please, pull

[PATCH 3.2 069/164] gpio: sysfs: fix memory leaks and device hotplug

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit 483d821108791092798f5d230686868112927044 upstream. Unregister GPIOs requested through sysfs at chip remove to avoid leaking the associated memory and sysfs entries. The sta

[PATCH 3.2 060/164] rtlwifi: rtl8192cu: Fix kernel deadlock

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Larry Finger commit 414b7e3b9ce8b0577f613e656fdbc36b34b444dd upstream. The USB mini-driver in rtlwifi, which is used by rtl8192cu, issues a call to usb_control_msg() with a timeout value of 0.

Re: [RFC PATCH 07/16] efi: Public the function of transferring EFI status to kernel error

2015-08-01 Thread Valdis . Kletnieks
On Thu, 30 Jul 2015 17:23:22 +0100, Matt Fleming said: > On Thu, 2015-07-16 at 22:25 +0800, Lee, Chun-Yi wrote: > > Moved the function of transferring EFI status to kernel error for > > later used by EFI stub. > > > > Signed-off-by: Lee, Chun-Yi > > --- > > drivers/firmware/efi/vars.c | 33 -

[PATCH 3.2 065/164] USB: cp210x: add ID for KCF Technologies PRN device

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Mark Edwards commit c735ed74d83f8ecb45c4c4c95a16853c9c3c8157 upstream. Added the USB serial console device ID for KCF Technologies PRN device which has a USB port for its serial console. Signe

[PATCH 3.2 072/164] mmc: core: add missing pm event in mmc_pm_notify to fix hib restore

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Grygorii Strashko commit 184af16b09360d6273fd6160e6ff7f8e2482ef23 upstream. The PM_RESTORE_PREPARE is not handled now in mmc_pm_notify(), as result mmc_rescan() could be scheduled and executed

[PATCH 3.2 077/164] md/raid5: don't record new size if resize_stripes fails.

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: NeilBrown commit 6e9eac2dcee5e19f125967dd2be3e36558c42fff upstream. If any memory allocation in resize_stripes fails we will return -ENOMEM, but in some cases we update conf->pool_size anyway.

[PATCH 3.2 061/164] serial: xilinx: Use platform_get_irq to get irq description structure

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Michal Simek commit 5c90c07b98c02198d9777a7c4f3047b0a94bf7ed upstream. For systems with CONFIG_SERIAL_OF_PLATFORM=y and device_type = "serial"; property in DT of_serial.c driver maps and unmaps

[PATCH 3.2 035/164] selinux/nlmsg: add XFRM_MSG_REPORT

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Nicolas Dichtel commit b0b59b0056acd6f157a04cc895f7e24692fb08aa upstream. This command is missing. Fixes: 97a64b4577ae ("[XFRM]: Introduce XFRM_MSG_REPORT.") Reported-by: Stephen Smalley Sign

[PATCH 3.2 064/164] ALSA: emu10k1: Emu10k2 32 bit DMA mode

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Peter Zubaj commit 7241ea558c6715501e777396b5fc312c372e11d9 upstream. Looks like audigy emu10k2 (probably emu10k1 - sb live too) support two modes for DMA. Second mode is useful for 64 bit os w

[PATCH 3.2 063/164] ALSA: emux: Fix mutex deadlock in OSS emulation

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 1c94e65c668f44d2c69ae7e7fc268ab3268fba3e upstream. The OSS emulation in synth-emux helper has a potential AB/BA deadlock at the simultaneous closing and opening: close ->

[PATCH 3.2 066/164] USB: pl2303: Remove support for Samsung I330

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: "Jason A. Donenfeld" commit 48ef23a4f686b1e4519d4193c20d26834ff810ff upstream. This phone is already supported by the visor driver. Signed-off-by: Jason A. Donenfeld Fixes: 1da177e4c3f4 ("Lin

[PATCH 3.2 073/164] nfsd: fix the check for confirmed openowner in nfs4_preprocess_stateid_op

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Christoph Hellwig commit ebe9cb3bb13e7b9b281969cd279ce70834f7500f upstream. If we find a non-confirmed openowner we jump to exit the function, but do not set an error value. Fix this by factor

[PATCH 3.2 067/164] xen-pciback: Add name prefix to global 'permissive' variable

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings commit 8014bcc86ef112eab9ee1db312dba4e6b608cf89 upstream. The variable for the 'permissive' module parameter used to be static but was recently changed to be extern. This puts it

[PATCH 3.2 087/164] ASoC: dapm: Modify widget stream name according to prefix

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Koro Chen commit fdb6eb0a12871d5bfaf266c5a0d5259a5437a72f upstream. When there is prefix specified, currently we will add this prefix in widget->name, but not in widget->sname. it causes failur

[PATCH 3.2 085/164] mac80211: move WEP tailroom size check

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Janusz Dziedzic commit 47b4e1fc4972cc43a19121bc2608a60aef3bf216 upstream. Remove checking tailroom when adding IV as it uses only headroom, and move the check to the ICV generation that actuall

[PATCH 3.2 162/164] ACPICA: Debug output: Update output for Processor object.

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Bob Moore commit 0b232fcad225c35513c9d5719613ae552abccd82 upstream. Cleanup output for Processor(). Length is a byte, not a word. Signed-off-by: Bob Moore Signed-off-by: Feng Tang Signed-off

<    1   2   3   4   >