Re: [PATCH 1/3] PM suspend/hibernate: Call notifier after freezing processes

2015-04-09 Thread Pali Rohár
On Thursday 09 April 2015 02:28:41 Rafael J. Wysocki wrote: On Sunday, April 05, 2015 07:20:17 PM Pali Rohár wrote: To prevent race conditions on userspace processes with I/O some taks must be called after processes are freezed. This patch adds new events which are delivered by

Re: [PATCH v4 6/9] rbtree: Implement generic latch_tree

2015-04-09 Thread Peter Zijlstra
On Thu, Apr 09, 2015 at 02:13:36PM +0200, Peter Zijlstra wrote: +struct module; + +struct mod_tree_node { + struct latch_tree_node node; + struct module *mod; +}; The module pointer should be first in this structure. -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH] RESEND RFT: pinctrl: sirf: move sgpio lock into state container

2015-04-09 Thread Linus Walleij
On Tue, Oct 21, 2014 at 10:32 AM, Linus Walleij linus.wall...@linaro.org wrote: On Tue, Sep 30, 2014 at 10:45 AM, Linus Walleij linus.wall...@linaro.org wrote: Instead of referring to a global static variable for the sgpio locking, use the state container to contain the lock. Signed-off-by:

Re: [PATCH 0/3] dm-crypt: Adds support for wiping key when doing suspend/hibernation

2015-04-09 Thread Pali Rohár
On Thursday 09 April 2015 10:08:43 Mike Snitzer wrote: On Thu, Apr 09 2015 at 9:28am -0400, Pali Rohár pali.ro...@gmail.com wrote: On Thursday 09 April 2015 09:12:08 Mike Snitzer wrote: On Mon, Apr 06 2015 at 9:29am -0400, Pali Rohár pali.ro...@gmail.com wrote: On Monday 06

Re: [PATCH] hwlat_detector: Detect hardware-induced latencies

2015-04-09 Thread Carsten Emde
Hi Daniel, BTW, are you also taking care of the latency-hist.patch patch? I do. However, the request (and the challenge) is not to simply rewrite the code. The idea is to provide a general histogram framework that can be used from anywhere in the kernel and to equip it with everything

Re: [PATCH v2 05/10] KVM: arm: introduce kvm_arch_setup/clear_debug()

2015-04-09 Thread Alex Bennée
Andrew Jones drjo...@redhat.com writes: On Wed, Apr 01, 2015 at 06:28:55PM +0200, David Hildenbrand wrote: This is a precursor for later patches which will need to do more to setup debug state before entering the hyp.S switch code. The existing functionality for setting mdcr_el2 has been

Re: [PATCH v2 04/10] KVM: arm: guest debug, add stub KVM_SET_GUEST_DEBUG ioctl

2015-04-09 Thread Alex Bennée
Andrew Jones drjo...@redhat.com writes: On Wed, Apr 01, 2015 at 05:55:29PM +0200, David Hildenbrand wrote: This commit adds a stub function to support the KVM_SET_GUEST_DEBUG ioctl. Currently any operation flag will return EINVAL. Actual Well it won't return -EINVAL if you push in

Re: [PATCH v2] iio/axp288_adc: add missing channel info mask

2015-04-09 Thread Jonathan Cameron
On 06/04/15 19:38, Jacob Pan wrote: Commit 65de7654d39c70c2b (iio: iio: Fix iio_channel_read return if channel havn't info) added a check for valid info masks. This patch adds missing channel info masks for all ADC channels. Otherwise, iio_read_channel_raw() would return -EINVAL when called

Re: [PATCH v4 1/1] mmc: dw_mmc: Add runtime pm to dw_mmc

2015-04-09 Thread Ulf Hansson
On 19 March 2015 at 14:44, Karol Wrona k.wr...@samsung.com wrote: This patch adds runtime pm handling to dw_mmc. It mainly uses mci_request/mci_request_end for mmc host state information. The goal of the runtime pm in dw_mmc host is mainly for giving an information for containing it power

Re: [PATCH v2 2/2] tty: serial: msm: Disable pclk when port is closed

2015-04-09 Thread Stephen Boyd
On 04/09, Pramod Gurav wrote: On Thu, April 9, 2015 5:21 am, Stephen Boyd wrote: It's not clear to me at all when this clock is enabled and when it's disabled during the lifetime of this driver. For example, why do we have a .pm op to turn clocks on and off? Shouldn't they already be

Re: [PATCH 2/3] jump_label: Allow jump labels to be used in assembly

2015-04-09 Thread Steven Rostedt
On Thu, 9 Apr 2015 13:51:31 +1000 Anton Blanchard an...@samba.org wrote: To use jump labels in assembly we need the HAVE_JUMP_LABEL define, so we select a fallback version if the toolchain does not support them. Modify linux/jump_label.h so it can be included by assembly files. We also

[PATCH] vfio-pci: Attempt bus/slot reset on open

2015-04-09 Thread Alex Williamson
Apply the same logic we use in vfio_pci_try_bus_reset() to perform a bus or slot reset as devices are released to the device open path. This not only improves our chances of handing the device to the user in a clean state, but we can also avoid duplicate resets if the device is released and

Re: [PATCH 3/3] PCI: Set pref for mem64 resource of pcie device

2015-04-09 Thread Yinghai Lu
On Thu, Apr 9, 2015 at 1:54 AM, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: On Wed, 2015-04-08 at 23:26 -0500, Bjorn Helgaas wrote: I'm not planning to review this until after the merge window opens, but I took a quick glance, and I agree with Ben. I don't want to add a new

Re: [PATCH v2 01/17] IB/Verbs: Implement new callback query_transport() for each HW

2015-04-09 Thread Doug Ledford
On Wed, 2015-04-08 at 14:10 -0600, Jason Gunthorpe wrote: On Wed, Apr 08, 2015 at 02:29:46PM -0400, Doug Ledford wrote: To straighten all this out, lets break management out into the two distinct types: rdma_port_ib_fabric_mgmt() - fabric specific management tasks: MAD, SM,

Re: [PATCH 2/2] ide: replace GFP_ATOMIC by GFP_KERNEL

2015-04-09 Thread Dan Carpenter
Sorry, my last email was bad. Splitting patches into logical parts is a bit tricky. Let me try explain better. Every patch should sort of make sense on its own. In the original code it's using GFP_ATOMIC but that's because the original API was bad and we had no choice. In the 1/1 patch we're

[PATCH v7 1/9] mfd: dt-bindings: Provide human readable defines for LPC mode choosing

2015-04-09 Thread Lee Jones
ST's Low Power Controller can currently operate in two supported modes; Watchdog and Real Time Clock. These defines will aid engineers to easily identify the selected mode. Reviewed-by: Guenter Roeck li...@roeck-us.net Signed-off-by: Lee Jones lee.jo...@linaro.org ---

Re: [PATCH 1/5] fs: configfs: Fix typo in comment

2015-04-09 Thread Krzysztof Opasiak
On 04/09/2015 03:46 PM, Felipe Balbi wrote: On Wed, Apr 08, 2015 at 01:28:44PM +0200, Krzysztof Opasiak wrote: Signed-off-by: Krzysztof Opasiak k.opas...@samsung.com --- fs/configfs/dir.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/configfs/dir.c

Re: drm/msm/mdp5: undefined CONFIG_MSM_BUS_SCALING

2015-04-09 Thread Rob Clark
On Thu, Apr 9, 2015 at 10:20 AM, Greg KH gre...@linuxfoundation.org wrote: On Thu, Apr 09, 2015 at 09:49:58AM -0400, Rob Clark wrote: On Thu, Apr 9, 2015 at 7:22 AM, Valentin Rothberg valentinrothb...@gmail.com wrote: Hi Hai, your commit d5af49c92a8a (drm/msm/mdp5: Enable DSI connector in

Re: [GIT PULL] selftest: Add futex functional tests

2015-04-09 Thread Darren Hart
On 4/8/15, 10:41 PM, Shuah Khan shua...@osg.samsung.com wrote: On 04/07/2015 10:12 PM, Darren Hart wrote: On Tue, Mar 31, 2015 at 10:37:51AM -0600, Shuah Khan wrote: On 03/31/2015 10:24 AM, Darren Hart wrote: On 3/31/15, 8:32 AM, Shuah Khan shua...@osg.samsung.com wrote: Hi Daren, On

Re: [PATCH 2/2] ide: replace GFP_ATOMIC by GFP_KERNEL

2015-04-09 Thread Quentin Lambert
On 09/04/2015 16:50, Dan Carpenter wrote: Sorry, my last email was bad. Splitting patches into logical parts is a bit tricky. Let me try explain better. Every patch should sort of make sense on its own. In the original code it's using GFP_ATOMIC but that's because the original API was bad

RE: [PATCH] iio: light: ltr501: Fix alignment to match open parenthesis

2015-04-09 Thread Kuppuswamy, Sathyanarayanan
Hi Daniel, You have asked me to include this patch in my LTR501 patch set. I have already sent few versions of my patch set with your patch. Do you want to submit it again separately? -- Sathyanarayanan KN -Original Message- From: Baluta, Daniel Sent: Thursday, April 09, 2015 7:18 AM

Re: [V6,1/9] elf: Add new powerpc specifc core note sections

2015-04-09 Thread Anshuman Khandual
On 04/09/2015 04:41 AM, Michael Neuling wrote: On Wed, 2015-04-08 at 19:50 +0200, Ulrich Weigand wrote: Anshuman Khandual khand...@linux.vnet.ibm.com wrote on 23.03.2015 11:34:30: With that in mind, do we have a way to set the top 32bits of the MSR (which contain the TM bits) when ptracing

[BUG] Macbook intermittent boot fail at Switched to clocksource tsc

2015-04-09 Thread Chris Bainbridge
Commit 7bc5a2b -- ACPI: Support _OSI(Darwin) correctly -- has introduced an intermittent boot failure on an IvyBridge Macbook Pro 13 (MacBookPro10,2). The failure rate is around 12%. This was diagnosed by doing a bisect with many boots for each kernel, then verifying failure on 7bc5a2b, and then

Re: [V2, 06/12] selftests, powerpc: Add test for system wide DSCR default

2015-04-09 Thread Anshuman Khandual
On 04/09/2015 04:01 PM, Anshuman Khandual wrote: On 03/27/2015 05:31 PM, Michael Ellerman wrote: On Tue, 2015-13-01 at 10:22:34 UTC, Anshuman Khandual wrote: This patch adds a test case for the system wide DSCR default value, which when changed through it's sysfs interface must be visible to

[PATCH 3.4 018/176] Input: xpad - use proper endpoint type

2015-04-09 Thread lizf
From: Greg Kroah-Hartman gre...@linuxfoundation.org 3.4.107-rc1 review patch. If anyone has any objections, please let me know. -- commit a1f9a4072655843fc03186acbad65990cc05dd2d upstream. The xpad wireless endpoint is not a bulk endpoint on my devices, but rather an

[PATCH v4] crypto: remove instance when test failed

2015-04-09 Thread Stephan Mueller
A cipher instance is added to the list of instances unconditionally regardless of whether the associated test failed. However, a failed test implies that during another lookup, the cipher instance will be added to the list again as it will not be found by the lookup code. That means that the list

[PATCH] Documentation: kdbus: Fix typos

2015-04-09 Thread Sergei Zviagintsev
Signed-off-by: Sergei Zviagintsev ser...@s15v.net --- Documentation/kdbus/kdbus.bus.xml| 9 - Documentation/kdbus/kdbus.connection.xml | 10 -- Documentation/kdbus/kdbus.endpoint.xml | 2 +- Documentation/kdbus/kdbus.item.xml | 9 -

Re: [RFC 3/4] Documentation/scheduler/sched-deadline.txt: Some notes on EDF schedulability

2015-04-09 Thread Henrik Austad
On Thu, Apr 09, 2015 at 11:34:37AM +0200, Luca Abeni wrote: Hi Henrik, On 04/09/2015 11:06 AM, Henrik Austad wrote: On Wed, Apr 08, 2015 at 01:59:39PM +0200, Luca Abeni wrote: [...] Also, density is equivalent to 'utilization', right? (which is referred to in sec 4.1 No; the utilisation

[PATCH] Documentation: kdbus: Fix list of KDBUS_CMD_ENDPOINT_UPDATE errors

2015-04-09 Thread Sergei Zviagintsev
Remove EEXIST. Signed-off-by: Sergei Zviagintsev ser...@s15v.net --- Documentation/kdbus/kdbus.endpoint.xml | 7 --- 1 file changed, 7 deletions(-) diff --git a/Documentation/kdbus/kdbus.endpoint.xml b/Documentation/kdbus/kdbus.endpoint.xml index f3eb4f8c58ce..6632485f3e84 100644 ---

[PATCH] smpboot: allow excluding cpus from the smpboot threads

2015-04-09 Thread Chris Metcalf
This change allows some cores to be excluded from running the smp_hotplug_thread tasks. The motivating example for this is the watchdog threads, which by default we don't want to run on any enabled nohz_full cores. A new smp_hotplug_thread field is introduced, valid_cpu, which is an optional

Re: [PATCH v15 09/15] pvqspinlock: Implement simple paravirt support for the qspinlock

2015-04-09 Thread Peter Zijlstra
On Thu, Apr 09, 2015 at 08:13:27PM +0200, Peter Zijlstra wrote: On Mon, Apr 06, 2015 at 10:55:44PM -0400, Waiman Long wrote: +#define PV_HB_PER_LINE (SMP_CACHE_BYTES / sizeof(struct pv_hash_bucket)) +static struct qspinlock **pv_hash(struct qspinlock *lock, struct pv_node *node)

Re: [PATCH] ARM: Remove deprecated symbol from defconfig files

2015-04-09 Thread Maxime Ripard
On Mon, Apr 06, 2015 at 10:57:22PM +0200, public_tim...@silentcreek.de wrote: From: Timo Sigurdsson public_tim...@silentcreek.de Commit b2b3a8b934e6 (power/reset: Remove sun6i reboot driver) removed the sun6i reboot driver. But sunxi_defconfig and multi_v7_defconfig still contain the symbol

Re: [PATCH 4/8] iio: accel: mma9553: refactor mma9553_read_activity_stepcnt

2015-04-09 Thread Jonathan Cameron
On 08/04/15 15:37, Irina Tirdea wrote: Refactor code for simplicity and clarity. This also fixes an endianness issue with the original code. When reading multiple registers, the received buffer of 16-bytes words is little endian (status, step count). On big endian machines, casting them to

[PATCH 3.4 052/176] drm/vmwgfx: Fix fence event code

2015-04-09 Thread lizf
From: Thomas Hellstrom thellst...@vmware.com 3.4.107-rc1 review patch. If anyone has any objections, please let me know. -- commit 89669e7a7f96be3ee8d9a22a071d7c0d3b4428fc upstream. The commit vmwgfx: Rework fence event action introduced a number of bugs that are fixed with

[Patch V2 09/15] xen: check for kernel memory conflicting with memory layout

2015-04-09 Thread Juergen Gross
Checks whether the pre-allocated memory of the loaded kernel is in conflict with the target memory map. If this is the case, just panic instead of run into problems later, as there is nothing we can do to repair this situation. Signed-off-by: Juergen Gross jgr...@suse.com ---

[Patch V2 14/15] xen: allow more than 512 GB of RAM for 64 bit pv-domains

2015-04-09 Thread Juergen Gross
64 bit pv-domains under Xen are limited to 512 GB of RAM today. The main reason has been the 3 level p2m tree, which was replaced by the virtual mapped linear p2m list. Parallel to the p2m list which is being used by the kernel itself there is a 3 level mfn tree for usage by the Xen tools and

[Patch V2 13/15] xen: move p2m list if conflicting with e820 map

2015-04-09 Thread Juergen Gross
Check whether the hypervisor supplied p2m list is placed at a location which is conflicting with the target E820 map. If this is the case relocate it to a new area unused up to now and compliant to the E820 map. As the p2m list might by huge (up to several GB) and is required to be mapped

[PATCH V4 5/5] serial: of_serial: Support big-endian register accesses

2015-04-09 Thread Kevin Cernekee
If the device node has a big-endian property and 32-bit registers, tell the serial driver to use UPIO_MEM32BE instead of UPIO_MEM32. Signed-off-by: Kevin Cernekee cerne...@gmail.com --- drivers/tty/serial/of_serial.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH V4 0/5] Add big-endian MMIO support to serial8250

2015-04-09 Thread Kevin Cernekee
V3-V4: Rebase on Linus' head of tree Tweak documentation per Grant's request Drop the of_earlycon patches in favor of Peter's series Kevin Cernekee (5): of: Add helper function to check MMIO register endianness of/fdt: Add endianness helper function for early init code of: Document

[PATCH V4 4/5] serial: 8250: Add support for big-endian MMIO accesses

2015-04-09 Thread Kevin Cernekee
Add cases for UPIO_MEM32BE wherever there are currently cases handling UPIO_MEM32. Signed-off-by: Kevin Cernekee cerne...@gmail.com --- drivers/tty/serial/8250/8250_core.c | 20 drivers/tty/serial/8250/8250_early.c | 5 + 2 files changed, 25 insertions(+) diff --git

[PATCH v2 1/6] Btrfs: lock superblock before remounting for rw subvol

2015-04-09 Thread Omar Sandoval
Since commit 0723a0473fb4 (btrfs: allow mounting btrfs subvolumes with different ro/rw options), when mounting a subvolume read/write when another subvolume has previously been mounted read-only, we first do a remount. However, this should be done with the superblock locked, as per

[PATCH v2 0/6] Btrfs: show subvolume name and ID in /proc/mounts

2015-04-09 Thread Omar Sandoval
Here's version 2 of providing the subvolume name and ID in /proc/mounts. It turns out that getting the name of a subvolume reliably is a bit trickier than it would seem because of how mounting subvolumes by ID is implemented. In particular, in that case, the dentry we get for the root of the

Re: [PATCH] drivers: CCI: fix used_mask init in validate_group()

2015-04-09 Thread Mark Rutland
On Wed, Apr 08, 2015 at 07:21:24PM +0100, Mark Salter wrote: Currently in validate_group(), there is a static initializer for fake_pmu.used_mask which is based on CPU_BITS_NONE but the used_mask array size is based on CCI_PMU_MAX_HW_EVENTS. CCI_PMU_MAX_HW_EVENTS is not based on NR_CPUS, so

Re: [PATCH V2 5/9 linux-next] udf: improve error management in udf_CS0toNLS()

2015-04-09 Thread Jan Kara
On Wed 08-04-15 21:23:55, Fabian Frederick wrote: Only callsite udf_get_filename() now returns error code as well. Did same modification as in the previous patch. Otherwise OK, so I've merged the patch. Honza Suggested-by: Jan

[PATCH 3.4 062/176] genirq: Prevent proc race against freeing of irq descriptors

2015-04-09 Thread lizf
From: Thomas Gleixner t...@linutronix.de 3.4.107-rc1 review patch. If anyone has any objections, please let me know. -- commit c291ee622165cb2c8d4e7af63fffd499354a23be upstream. Since the rework of the sparse interrupt code to actually free the unused interrupt descriptors

Re: [PATCH 2/2] locking/rwsem: Use a return variable in rwsem_spin_on_owner()

2015-04-09 Thread Linus Torvalds
On Thu, Apr 9, 2015 at 12:53 AM, Ingo Molnar mi...@kernel.org wrote: The point is to generally unify the 'out' paths - i.e. to merge it with the rcu_read_unlock() as well, so that we have really simple gotos and only a single exit path. Maybe just have the rcu read-locking be done in the

[PATCH 04/44] perf tools: Add support for AUX area recording

2015-04-09 Thread Adrian Hunter
Add support for reading from the AUX area tracing mmap and synthesizing AUX area tracing events. This patch introduces an abstraction for recording AUX area data. Recording is initialized by auxtrace_record__init() which is a weak function to be implemented by the architecture to provide

[PATCH 12/44] perf auxtrace: Add a heap for sorting AUX area tracing queues

2015-04-09 Thread Adrian Hunter
In order to process AUX area tracing data in time order, the queue with data with the lowest timestamp must be processed first. Provide a heap to keep track of which queue that is. As with the queues, a decoder does not have to use the heap, but Intel BTS and Intel PT will use it.

[PATCH 02/44] perf evlist: Add support for mmapping an AUX area buffer

2015-04-09 Thread Adrian Hunter
This patch supports the addition to the kernel of AUX area buffers that can be mmapped separately from the perf-events buffer. The AUX buffer can be configured to contain hardware-produced trace information. The first implementation will support Intel BTS and Intel PT. One auxtrace buffer is

[GIT PULL] Samsung Thermal for v4.1 merge window

2015-04-09 Thread Lukasz Majewski
Dear Eduardo, Please find my pull request for Samsung Thermal targeting v4.1 merge window. The following changes since commit 96d927aa14deb1c4bf6bfd758776ad942463865d: thermal: cpu_cooling: Fix power calculation when CPUs are offline (2015-04-07 11:01:22 -0700) are available in the git

Re: [PATCH] PPS: Restore lost capture-clear option to pps-gpio module.

2015-04-09 Thread Gary E. Miller
Yo Jan! On Thu, 09 Apr 2015 15:05:09 +0200 Jan Lübbe j...@pengutronix.de wrote: Hi Gary, On Do, 2015-04-02 at 12:21 -0700, Gary E. Miller wrote: In the conversion from platform to device tree the capture-clear option was lost. capture-clear is needed so that time_pps_fetch() will

[PATCH 3.4 082/176] virtio: use dev_to_virtio wrapper in virtio

2015-04-09 Thread lizf
From: Wanlong Gao gaowanl...@cn.fujitsu.com 3.4.107-rc1 review patch. If anyone has any objections, please let me know. -- commit 9bffdca8c64a72ac54c47a552734ab457bc720d4 upstream. Use dev_to_virtio wrapper in virtio to make code clearly. Cc: Rusty Russell

[PATCH 3.4 078/176] video/logo: prevent use of logos after they have been freed

2015-04-09 Thread lizf
From: Tomi Valkeinen tomi.valkei...@ti.com 3.4.107-rc1 review patch. If anyone has any objections, please let me know. -- commit 92b004d1aa9f367c372511ca0330f58216b25703 upstream. If the probe of an fb driver has been deferred due to missing dependencies, and the probe is

[PATCH 3.4 069/176] ocfs2: fix journal commit deadlock

2015-04-09 Thread lizf
From: Junxiao Bi junxiao...@oracle.com 3.4.107-rc1 review patch. If anyone has any objections, please let me know. -- commit 136f49b9171074872f2a14ad0ab10486d1ba13ca upstream. For buffer write, page lock will be got in write_begin and released in write_end, in

[PATCH 3.4 076/176] crypto: af_alg - fix backlog handling

2015-04-09 Thread lizf
From: Rabin Vincent rabin.vinc...@axis.com 3.4.107-rc1 review patch. If anyone has any objections, please let me know. -- commit 7e77bdebff5cb1e9876c561f69710b9ab8fa1f7e upstream. If a request is backlogged, it's complete() handler will get called twice: once with

[PATCH 3.4 079/176] USB: cp210x: fix ID for production CEL MeshConnect USB Stick

2015-04-09 Thread lizf
From: Preston Fick pff...@gmail.com 3.4.107-rc1 review patch. If anyone has any objections, please let me know. -- commit 90441b4dbe90ba0c38111ea89fa093a8c9627801 upstream. Fixing typo for MeshConnect IDs. The original PID (0x8875) is not in production and is not needed.

Re: drm/msm/mdp5: undefined CONFIG_MSM_BUS_SCALING

2015-04-09 Thread Greg KH
On Thu, Apr 09, 2015 at 10:50:58AM -0400, Rob Clark wrote: On Thu, Apr 9, 2015 at 10:20 AM, Greg KH gre...@linuxfoundation.org wrote: On Thu, Apr 09, 2015 at 09:49:58AM -0400, Rob Clark wrote: On Thu, Apr 9, 2015 at 7:22 AM, Valentin Rothberg valentinrothb...@gmail.com wrote: Hi Hai,

[PATCH 1/2] x86/setup: update boot_command_line with builtin_cmdline in separate function

2015-04-09 Thread Alexander Kuleshov
This patch introduces setup_cmdline function which appends/overrides boot_command_linew with builtin_cmdline if CONFIG_CMDLINE_BOOL is set. Previously this functional was in the setup_arch, but we need to move it for getting actual command line as early as possible in the

Re: [PATCH 3.4 037/176] PCI: Restore detection of read-only BARs

2015-04-09 Thread Myron Stowe
On Thu, 2015-04-09 at 16:44 +0800, l...@kernel.org wrote: From: Myron Stowe myron.st...@redhat.com 3.4.107-rc1 review patch. If anyone has any objections, please let me know. No objections, but I think you want 06cf35f903aa (PCI: Handle read-only BARs on AMD CS553x devices) at the same time.

Re: [PATCH] ALSA: hda - make power_save threshold per-codec

2015-04-09 Thread Takashi Iwai
At Wed, 8 Apr 2015 23:24:52 -0700, Matthew Garrett wrote: On Wed, Apr 8, 2015 at 10:20 PM, Takashi Iwai ti...@suse.de wrote: At Wed, 8 Apr 2015 18:53:48 -0700, Matthew Garrett wrote: Modern hardware will often have multiple HDA devices, and the desired power saving configuration

[PATCH 1/2] crypto: add new driver for Marvell CESA

2015-04-09 Thread Boris Brezillon
The existing mv_cesa driver supports some features of the CESA IP but is quite limited, and reworking it to support new features (like involving the TDMA engine to offload the CPU) is almost impossible. This driver has been rewritten from scratch to take those new features into account. This new

[PATCH 2/2] crypto: marvell/CESA: update DT bindings documentation

2015-04-09 Thread Boris Brezillon
Document new compatible strings, document the new method to reference the crypto SRAM and deprecate the old one and document the the 'clocks' and 'clock-names' properties. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- .../devicetree/bindings/crypto/mv_cesa.txt |

Re: [PATCH] iio: light: ltr501: Fix alignment to match open parenthesis

2015-04-09 Thread Daniel Baluta
On 04/09/2015 05:51 PM, Kuppuswamy, Sathyanarayanan wrote: Hi Daniel, You have asked me to include this patch in my LTR501 patch set. I have already sent few versions of my patch set with your patch. Do you want to submit it again separately? Hi Sathya, After Jonathan's comments on patch

Re: [PATCH v4 1/2] nohz: add tick_nohz_full_cpumask_or() and _andnot() APIs

2015-04-09 Thread Chris Metcalf
On 04/09/2015 01:07 PM, Peter Zijlstra wrote: On Thu, Apr 09, 2015 at 01:00:38PM -0400, Chris Metcalf wrote: +static inline void tick_nohz_full_cpumask_or(struct cpumask *mask) This still reads as if you're doing: nohz_full_mask |= mask. I think the suggestion done by Frederic is the right

Re: tcp: refine TSO autosizing causes performance regression on Xen

2015-04-09 Thread Eric Dumazet
On Thu, 2015-04-09 at 16:46 +0100, Stefano Stabellini wrote: Hi all, I found a performance regression when running netperf -t TCP_MAERTS from an external host to a Xen VM on ARM64: v3.19 and v4.0-rc4 running in the virtual machine are 30% slower than v3.18. Through bisection I found that

Re: [PATCH net-next 3/5] selinux/nlmsg: add XFRM_MSG_NEWSPDINFO

2015-04-09 Thread Nicolas Dichtel
Le 09/04/2015 14:32, Stephen Smalley a écrit : [snip] Seem to be missing a number of the other commands defined in include/uapi/linux/xfrm.h as well, e.g. XFRM_MSG_REPORT, XFRM_MSG_MIGRATE, XFRM_MSG_NEWSADINFO, XFRM_MSG_GETSADINFO, XFRM_MSG_GETSPDINFO, XFRM_MSG_MAPPING. Right, I will provide a

Re: [PATCH 1/5] arm64: kdump: reserve memory for crash dump kernel

2015-04-09 Thread Pratyush Anand
Hi Takahiro, On Thursday 26 March 2015 01:58 PM, AKASHI Takahiro wrote: Crash dump kernel will access memory regions in system kernel via copy_oldmem_page(), which reads a page with ioremap'ing it assuming that such pages are not part of main memory of crash dump kernel. This is true under

[PATCH V2 linux-next] scripts/coccinelle/misc/bugon.cocci: update bug_on conversion warning

2015-04-09 Thread Fabian Frederick
if()/BUG conversion to BUG_ON must be avoided when there's side effect in condition. The reason being BUG_ON won't execute the condition when CONFIG_BUG is not defined. Inspired-by: J. Bruce Fields bfie...@fieldses.org Suggested-by: Julia Lawall julia.law...@lip6.fr Acked-by: Julia Lawall

Re: [PATCH 2/2] locking/rwsem: Use a return variable in rwsem_spin_on_owner()

2015-04-09 Thread Jason Low
On Thu, Apr 9, 2015 at 12:58 PM, Paul E. McKenney paul...@linux.vnet.ibm.com wrote: On Thu, Apr 09, 2015 at 12:43:38PM -0700, Jason Low wrote: On Thu, 2015-04-09 at 11:16 -0700, Linus Torvalds wrote: On Thu, Apr 9, 2015 at 11:08 AM, Linus Torvalds torva...@linux-foundation.org wrote:

Re: [patch] rt, hotplug: Use set_cpus_allowed_ptr() in sync_unplug_thread()

2015-04-09 Thread Sebastian Andrzej Siewior
On 04/09/2015 04:23 PM, Mike Galbraith wrote: On Thu, 2015-04-09 at 16:05 +0200, Sebastian Andrzej Siewior wrote: * Mike Galbraith | 2015-03-24 08:14:49 [+0100]: do_set_cpus_allowed() is not safe vs -sched_class change. crash bt PID: 11676 TASK: 88026f979da0 CPU: 22 COMMAND:

Re: [PATCH 2/2] ide: replace GFP_ATOMIC by GFP_KERNEL

2015-04-09 Thread Quentin Lambert
On 09/04/2015 14:36, Dan Carpenter wrote: Oh. They're not GFP_ATOMIC. Fold these two patches together into one patch and resend. The reason I did it that way is because I feel that the two patches really are different. The first one do not change the execution of the code but the second one

Re: [PATCH] cpusets: Make cpus_allowed and mems_allowed masks hotplug invariant

2015-04-09 Thread Serge E. Hallyn
On Mon, Apr 06, 2015 at 01:47:35PM -0400, Tejun Heo wrote: Hello, Preeti. On Thu, Apr 02, 2015 at 12:26:32PM +0530, Preeti U Murthy wrote: By ensuring that the user configured cpusets are untouched, I don't see how we affect userspace adversely. The expectation usually is that the kernel

Re: [PATCH] hwlat_detector: Detect hardware-induced latencies

2015-04-09 Thread Steven Rostedt
On Thu, 09 Apr 2015 15:46:12 +0200 Carsten Emde c.e...@osadl.org wrote: Hi Daniel, BTW, are you also taking care of the latency-hist.patch patch? I do. However, the request (and the challenge) is not to simply rewrite the code. The idea is to provide a general histogram framework that

Re: [PATCH] drivers: CCI: fix used_mask init in validate_group()

2015-04-09 Thread Mark Salter
On Thu, 2015-04-09 at 14:51 +0100, Mark Rutland wrote: On Wed, Apr 08, 2015 at 07:21:24PM +0100, Mark Salter wrote: Currently in validate_group(), there is a static initializer for fake_pmu.used_mask which is based on CPU_BITS_NONE but the used_mask array size is based on

Re: [patch] rt, hotplug: Use set_cpus_allowed_ptr() in sync_unplug_thread()

2015-04-09 Thread Sebastian Andrzej Siewior
* Mike Galbraith | 2015-03-24 08:14:49 [+0100]: do_set_cpus_allowed() is not safe vs -sched_class change. crash bt PID: 11676 TASK: 88026f979da0 CPU: 22 COMMAND: sync_unplug/22 #0 [880274d25bc8] machine_kexec at 8103b41c #1 [880274d25c18] crash_kexec at 810d881a

[PATCH] platform/chrome: chromeos_laptop - do not probe devices on Pixel 1

2015-04-09 Thread Dmitry Torokhov
Atmel MXT devices use different i2c addresses, depending on the current mode of operation (bootloader or application). The Atmel MXT driver expects i2c client's address contain the application address of the chip, and calculates the expected bootloader address form the application address.

[PATCH 3.4 080/176] x86, um: actually mark system call tables readonly

2015-04-09 Thread lizf
From: Daniel Borkmann dbork...@redhat.com 3.4.107-rc1 review patch. If anyone has any objections, please let me know. -- commit b485342bd79af363c77ef1a421c4a0aef2de9812 upstream. Commit a074335a370e (x86, um: Mark system call tables readonly) was supposed to mark the

Re: [RFC PATCH 5/5] arm64: qcom: add cpu operations

2015-04-09 Thread Arnd Bergmann
On Thursday 09 April 2015 12:37:11 Kumar Gala wrote: From: Abhimanyu Kapur abhim...@codeaurora.org Add qcom cpu operations for arm-v8 cpus. Implement secondary cpu boot ops As a part of this change update device tree documentation for: 1. Arm cortex-a ACC device which provides percpu reg

[PATCH 3.4 118/176] regulator: core: fix race condition in regulator_put()

2015-04-09 Thread lizf
From: Ashay Jaiswal ash...@codeaurora.org 3.4.107-rc1 review patch. If anyone has any objections, please let me know. -- commit 83b0302d347a49f951e904184afe57ac3723476e upstream. The regulator framework maintains a list of consumer regulators for a regulator device and

[PATCH 3.4 123/176] usb-core bInterval quirk

2015-04-09 Thread lizf
From: James P Michels III james.p.mich...@gmail.com 3.4.107-rc1 review patch. If anyone has any objections, please let me know. -- commit cd83ce9e6195aa3ea15ab4db92892802c20df5d0 upstream. This patch adds a usb quirk to support devices with interupt endpoints and bInterval

[RFC PATCH 2/5] firmware: qcom: scm: Add support for ARM64 SoCs

2015-04-09 Thread Kumar Gala
Add an implementation of the SCM interface that works on ARM64/64-bit SoCs Signed-off-by: Kumar Gala ga...@codeaurora.org --- arch/arm64/Kconfig | 1 + drivers/firmware/Makefile | 4 + drivers/firmware/qcom_scm-64.c | 466 + 3 files

Re: NULL deref around xfs in v4.0-rc1–rc7

2015-04-09 Thread Linus Torvalds
On Wed, Apr 8, 2015 at 8:20 AM, Jan Engelhardt jeng...@inai.de wrote: On Wednesday 2015-04-08 15:41, Jan Engelhardt wrote: Starting somewhere around v4.0-rc1 and persisting through commit v4.0-rc7, there is a new NULL deference apparently happening in conjunction with xfs. This inhibits this

Re: [PATCH 3/3] powerpc: Include linux/jump_label.h to get HAVE_JUMP_LABEL define

2015-04-09 Thread Steven Rostedt
On Thu, 9 Apr 2015 13:51:32 +1000 Anton Blanchard an...@samba.org wrote: Commit 1bc9e47aa8e4 (powerpc/jump_label: Use HAVE_JUMP_LABEL) converted uses of CONFIG_JUMP_LABEL to HAVE_JUMP_LABEL in some assembly files. HAVE_JUMP_LABEL is defined in linux/jump_label.h, so we need to include

[PATCH v3 4/4] PCI: X-Gene: Add the MAINTAINERS entry for APM X-Gene v1 PCIe MSI driver

2015-04-09 Thread Duc Dang
This patch adds information of maintainers for APM X-Gene v1 PCIe MSI/MSIX termination driver Signed-off-by: Duc Dang dhd...@apm.com Signed-off-by: Tanmay Inamdar tinam...@apm.com --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index

Re: tcp: refine TSO autosizing causes performance regression on Xen

2015-04-09 Thread Eric Dumazet
On Thu, 2015-04-09 at 17:36 +0100, Stefano Stabellini wrote: A very big difference: echo 262144 /proc/sys/net/ipv4/tcp_limit_output_bytes brings us much closer to the original performance, the slowdown is just 8% Cool. echo 1048576 /proc/sys/net/ipv4/tcp_limit_output_bytes fills the

Donations

2015-04-09 Thread shatabdi
A personal Donation of 2,000,000.00 USD has been Donated To You, Contact (quezadapedr...@gmail.com) for more info -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH v15 09/15] pvqspinlock: Implement simple paravirt support for the qspinlock

2015-04-09 Thread Peter Zijlstra
On Mon, Apr 06, 2015 at 10:55:44PM -0400, Waiman Long wrote: +++ b/kernel/locking/qspinlock_paravirt.h @@ -0,0 +1,321 @@ +#ifndef _GEN_PV_LOCK_SLOWPATH +#error do not include this file +#endif + +/* + * Implement paravirt qspinlocks; the general idea is to halt the vcpus instead + * of

[Patch V2 03/15] xen: don't build mfn tree if tools don't need it

2015-04-09 Thread Juergen Gross
In case the Xen tools indicate they don't need the p2m 3 level tree as they support the virtual mapped linear p2m list, just omit building the tree. Signed-off-by: Juergen Gross jgr...@suse.com --- arch/x86/xen/p2m.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git

Re: [PATCH 4/6] clk: mediatek: Add basic clocks for Mediatek MT8135.

2015-04-09 Thread Matthias Brugger
2015-03-31 20:16 GMT+02:00 Sascha Hauer s.ha...@pengutronix.de: From: James Liao jamesjj.l...@mediatek.com This patch adds basic clocks for MT8135, including TOPCKGEN, PLLs, INFRA and PERI clocks. Signed-off-by: James Liao jamesjj.l...@mediatek.com Signed-off-by: Henry Chen

Re: [PATCH 2/3] jump_label: Allow jump labels to be used in assembly

2015-04-09 Thread Peter Zijlstra
On Thu, Apr 09, 2015 at 01:51:31PM +1000, Anton Blanchard wrote: To use jump labels in assembly we need the HAVE_JUMP_LABEL define, so we select a fallback version if the toolchain does not support them. Modify linux/jump_label.h so it can be included by assembly files. We also need to add

[PATCH 3.4 173/176] spi: dw: revisit FIFO size detection again

2015-04-09 Thread lizf
From: Andy Shevchenko andriy.shevche...@linux.intel.com 3.4.107-rc1 review patch. If anyone has any objections, please let me know. -- commit 9d239d353c319f9ff884c287ce47feb7cdf60ddc upstream. The commit d297933cc7fc (spi: dw: Fix detecting FIFO depth) tries to fix the logic

Re: [PATCH v8] x86: mce: kexec: switch MCE handler for kexec/kdump

2015-04-09 Thread Naoya Horiguchi
On Thu, Apr 09, 2015 at 10:21:25AM +0200, Borislav Petkov wrote: On Thu, Apr 09, 2015 at 10:00:30AM +0200, Ingo Molnar wrote: So the thing is, when we boot up the second kernel there will be a window where the old handler isn't valid (because the new kernel has its own pagetables, etc.)

Re: [PATCH] pty: Fix input race when closing

2015-04-09 Thread Peter Hurley
On 04/09/2015 01:43 PM, H.J. Lu wrote: On Thu, Apr 9, 2015 at 7:54 AM, Peter Hurley pe...@hurleysoftware.com wrote: A read() from a pty master may mistakenly indicate EOF (errno == -EIO) after the pty slave has closed, even though input data remains to be read. For example, pty slave

Re: [PATCH 0/2] crypto: add new driver for Marvell CESA

2015-04-09 Thread Sebastian Hesselbarth
On 09.04.2015 16:58, Boris Brezillon wrote: This is an attempt to replace the mv_cesa driver by a new one to address some limitations of the existing driver. From a performance and CPU load point of view the most important limitation is the lack of DMA support, thus preventing us from chaining

[PATCH 44/44] perf tools: Add example call-graph script

2015-04-09 Thread Adrian Hunter
Add a python script which will display a context-sensitive call-graph using data from a postrgreql database created by the export-to-postgresql.py script. Example: # Record 'ls' command ~/libexec/perf-core/perf-with-kcore record pt_ls -e intel_pt// -- ls # Create and export to database

[PATCH 40/44] perf tools: Output sample flags and insn_len from intel_pt

2015-04-09 Thread Adrian Hunter
intel_pt synthesizes samples. Fill in the new flags and insn_len members with instruction information. Signed-off-by: Adrian Hunter adrian.hun...@intel.com --- tools/perf/util/intel-pt.c | 4 1 file changed, 4 insertions(+) diff --git a/tools/perf/util/intel-pt.c

Re: [PATCH] kasan: Makefile: shut up warnings if CONFIG_COMPILE_TEST=y

2015-04-09 Thread Paul Bolle
On Thu, 2015-04-09 at 15:44 +0300, Andrey Ryabinin wrote: On 04/09/2015 02:06 PM, Paul Bolle wrote: On Wed, 2015-04-08 at 18:38 +0300, Andrey Ryabinin wrote: It might be annoying to constantly see this: scripts/Makefile.kasan:16: Cannot use CONFIG_KASAN: -fsanitize=kernel-address is

[PATCH 37/44] perf tools: Take Intel PT into use

2015-04-09 Thread Adrian Hunter
To record an AUX area, the weak function auxtrace_record__init() must be implemented. Equally to decode an AUX area, the AUX area tracing type must be added to the perf_event__process_auxtrace_info() function. This patch makes those two changes plus hooks up default config for the intel_pt PMU.

[PATCH 42/44] perf tools: Intel PT to always update thread stack trace number

2015-04-09 Thread Adrian Hunter
The enhanced thread stack is used by higher layers but still requires the trace number. The trace number is used to distinguish discontinuous sections of trace (for example from Snapshot mode or Sample mode), which cause the thread stack to be flushed. Signed-off-by: Adrian Hunter

[PATCH 41/44] perf tools: Output sample flags and insn_len from intel_bts

2015-04-09 Thread Adrian Hunter
intel_bts synthesizes samples. Fill in the new flags and insn_len members with instruction information. Signed-off-by: Adrian Hunter adrian.hun...@intel.com --- tools/perf/util/intel-bts.c | 128 ++-- 1 file changed, 124 insertions(+), 4 deletions(-)

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