[PATCH 1/6] i2c: tegra: Add missing new line characters

2016-08-11 Thread Jon Hunter
Add missing new line characters for the various error messages. Signed-off-by: Jon Hunter --- drivers/i2c/busses/i2c-tegra.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/i2c/busses/i2c-tegra.c b/drivers/i2c/busses/i2c-tegra.c index

[PATCH 2/6] i2c: tegra: Remove non device-tree support

2016-08-11 Thread Jon Hunter
Tegra has only supported device-tree for platform/board configuration for quite some time now and so simplify the Tegra I2C driver by dropping code for non device-tree platforms/boards. Signed-off-by: Jon Hunter --- drivers/i2c/busses/i2c-tegra.c | 10 +++--- 1 file

[PATCH 2/2] efi/capsule: Allocate whole capsule into virtual memory

2016-08-11 Thread Matt Fleming
From: Austin Christ According to UEFI 2.6 section 7.5.3, the capsule should be in contiguous virtual memory and firmware may consume the capsule immediately. To correctly implement this functionality, the kernel driver needs to vmap the entire capsule at the time it is

[PATCH 1/2] x86/platform/uv: Skip UV runtime services mapping in the efi_runtime_disabled case

2016-08-11 Thread Matt Fleming
From: Alex Thorlton This problem has actually been in the UV code for a while, but we didn't catch it until recently, because we had been relying on EFI_OLD_MEMMAP to allow our systems to boot for a period of time. We noticed the issue when trying to kexec a recent community

[PATCH] PM / Domains: Always enable debugfs support if available

2016-08-11 Thread Jon Hunter
Debugfs support for PM domains is only enabled if both CONFIG_PM_DEBUG and CONFIG_PM_ADVANCED_DEBUG are enabled. CONFIG_PM_ADVANCED_DEBUG is described as "extra PM attributes in sysfs for low-level debugging/testing" which does not seem related. Given that the debugfs for PM domains only allows

[RFC 1/4] dma-buf/fence: kerneldoc: remove unused struct members

2016-08-11 Thread Sumit Semwal
Commit 0431b9065f28ecf6c320fefebe0241620049984f ("staging/android: bring struct sync_pt back") removed child_list and active_list from struct fence, but left it in kernel doc. Delete them. Fixes: 0431b9065f28 ("staging/android: bring struct sync_pt back") Signed-off-by: Sumit Semwal

[PATCH net 1/4] hv_netvsc: don't lose VF information

2016-08-11 Thread Vitaly Kuznetsov
struct netvsc_device is not suitable for storing VF information as this structure is being destroyed on MTU change / set channel operation (see rndis_filter_device_remove()). Move all VF related stuff to struct net_device_context which is persistent. Signed-off-by: Vitaly Kuznetsov

Re: [PATCH v10 0/8] acpi, clocksource: add GTDT driver and GTDT support in arm_arch_timer

2016-08-11 Thread Lorenzo Pieralisi
On Thu, Aug 11, 2016 at 06:22:03PM +0800, Fu Wei wrote: > Hi Hanjun, Tomasz, > > On 11 August 2016 at 18:15, Hanjun Guo wrote: > > Hi, > > > > On 2016/8/11 17:37, Tomasz Nowicki wrote: > >> > >> Hi Fu, > >> > >> Do you mind if I send IORT series where new

Re: [PATCHv6] support for AD5820 camera auto-focus coil

2016-08-11 Thread Sakari Ailus
On Tue, Aug 09, 2016 at 01:23:23AM +0200, Pavel Machek wrote: > On Wed 2016-08-10 15:01:05, Sakari Ailus wrote: > > On Mon, Aug 08, 2016 at 11:41:32PM +0200, Pavel Machek wrote: > > > On Mon 2016-08-08 11:09:56, Sakari Ailus wrote: > > > > On Fri, Aug 05, 2016 at 12:26:11PM +0200, Pavel Machek

Re: [RFC PATCH v3 05/13] drivers: iommu: make iommu_fwspec OF agnostic

2016-08-11 Thread Lorenzo Pieralisi
On Mon, Jul 25, 2016 at 04:51:00PM +0100, Robin Murphy wrote: > On 25/07/16 16:41, Lorenzo Pieralisi wrote: > [...] > >>> diff --git a/include/linux/of_iommu.h b/include/linux/of_iommu.h > >>> index 308791f..2362232 100644 > >>> --- a/include/linux/of_iommu.h > >>> +++ b/include/linux/of_iommu.h >

[tip:x86/urgent] x86/mm: Fix swap entry comment and macro

2016-08-11 Thread tip-bot for Dave Hansen
Commit-ID: ace7fab7a6cdd363a615ec537f2aa94dbc761ee2 Gitweb: http://git.kernel.org/tip/ace7fab7a6cdd363a615ec537f2aa94dbc761ee2 Author: Dave Hansen AuthorDate: Wed, 10 Aug 2016 10:23:25 -0700 Committer: Ingo Molnar CommitDate: Thu, 11 Aug

[tip:x86/urgent] x86/boot: Rework reserve_real_mode() to allow multiple tries

2016-08-11 Thread tip-bot for Andy Lutomirski
Commit-ID: 5ff3e2c3c3eebe13967d81ad1f23b9468fefea81 Gitweb: http://git.kernel.org/tip/5ff3e2c3c3eebe13967d81ad1f23b9468fefea81 Author: Andy Lutomirski AuthorDate: Wed, 10 Aug 2016 02:29:16 -0700 Committer: Ingo Molnar CommitDate: Thu, 11 Aug 2016

Re: clocksource_watchdog causing scheduling of timers every second (was [v13] support "task_isolation" mode)

2016-08-11 Thread Frederic Weisbecker
On Thu, Aug 11, 2016 at 10:40:02AM +0200, Peter Zijlstra wrote: > On Thu, Aug 11, 2016 at 12:16:58AM +0200, Frederic Weisbecker wrote: > > I had similar issues, this seems to happen when the tsc is considered not > > reliable > > (which doesn't necessarily mean unstable. I think it has to do with

Re: [Regression] "irqdomain: Don't set type when mapping an IRQ" breaks nexus7 gpio buttons

2016-08-11 Thread Linus Walleij
On Thu, Aug 11, 2016 at 10:37 AM, Marc Zyngier wrote: > On 08/08/16 22:48, Linus Walleij wrote: >> On Sat, Aug 6, 2016 at 1:45 AM, John Stultz wrote: >> >>> @@ -614,7 +615,11 @@ unsigned int irq_create_fwspec_mapping(struct >>> irq_fwspec *fwspec)

[tip:x86/urgent] x86/boot: Defer setup_real_mode() to early_initcall time

2016-08-11 Thread tip-bot for Andy Lutomirski
Commit-ID: d0de0f685db7faf2ae4597a39a59996dd84e18c7 Gitweb: http://git.kernel.org/tip/d0de0f685db7faf2ae4597a39a59996dd84e18c7 Author: Andy Lutomirski AuthorDate: Wed, 10 Aug 2016 02:29:15 -0700 Committer: Ingo Molnar CommitDate: Thu, 11 Aug 2016

Re: [PATCH] perf tools mem: Fix -t store option for record command

2016-08-11 Thread Jiri Olsa
On Thu, Aug 11, 2016 at 08:51:38AM -0300, Arnaldo Carvalho de Melo wrote: > Em Thu, Aug 11, 2016 at 10:50:57AM +0200, Jiri Olsa escreveu: > > Michael reported 'perf mem -t store record' being broken. > > The reason is latest rework of this area: > > commit acbe613e0c03 ("perf tools: Add

Re: [RFC 3/4] Documentation: move dma-buf documentation to rst

2016-08-11 Thread Markus Heiser
Am 11.08.2016 um 13:58 schrieb Markus Heiser : >> +.. note:: Until this stage, the buffer-exporter has the option to choose >> not to >> + actually allocate the backing storage for this buffer, but wait for the >> + first buffer-user to request use of buffer for

[PATCH] X.509: Fix double free in x509_cert_parse().

2016-08-11 Thread Artem Savkov
Patch "crypto: KEYS: convert public key and digsig asym to the akcipher api" introduced double freeing of cert->pub->key. There is no need to free it in error_decode label as it is later freed in x509_free_certificate(). Signed-off-by: Artem Savkov ---

[PATCH v6 4/5] crypto: LRNG - enable compile

2016-08-11 Thread Stephan Mueller
Add LRNG compilation support. Signed-off-by: Stephan Mueller --- crypto/Kconfig | 11 +++ crypto/Makefile | 2 ++ 2 files changed, 13 insertions(+) diff --git a/crypto/Kconfig b/crypto/Kconfig index 84d7148..71df7fc 100644 --- a/crypto/Kconfig +++

[PATCH v5 2/2] mfd: dm355evm_msp: Change error messages in add_child()

2016-08-11 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 11 Aug 2016 14:00:43 +0200 Delete an error message at the end while increasing the importance of related information. Link: https://lkml.kernel.org/g/<20160809153615.GU5243@dell> Suggested-by: Lee Jones

[PATCH v6 0/5] /dev/random - a new approach

2016-08-11 Thread Stephan Mueller
Hi Herbert, Ted, The following patch set provides a different approach to /dev/random which I call Linux Random Number Generator (LRNG) to collect entropy within the Linux kernel. The main improvements compared to the legacy /dev/random is to provide sufficient entropy during boot time as well as

Re: [PATCH] perf/core: Fix the mask in perf_output_sample_regs

2016-08-11 Thread Peter Zijlstra
Sorry, found it in my inbox while clearing out backlog.. On Sun, Jul 03, 2016 at 11:31:58PM +0530, Madhavan Srinivasan wrote: > When decoding the perf_regs mask in perf_output_sample_regs(), > we loop through the mask using find_first_bit and find_next_bit functions. > While the exisitng code

[PATCH v6 5/5] crypto: LRNG - add ChaCha20 support

2016-08-11 Thread Stephan Mueller
In case the kernel crypto API is not compiled, use ChaCha20 stream cipher as DRNG. The LRNG ChaCha20 support provides the DRNG implementation with the generate and update functions. Th DRNG implements enhanced backward secrecy by re-creating the entire internal state after generating random

[PATCH v6 2/5] random: conditionally compile code depending on LRNG

2016-08-11 Thread Stephan Mueller
When selecting the LRNG for compilation, disable the legacy /dev/random implementation. The LRNG is a drop-in replacement for the legacy /dev/random which implements the same in-kernel and user space API. Only the hooks of /dev/random into other parts of the kernel need to be disabled.

[PATCH v2 RESEND 0/4] Drivers: hv: balloon: fix WS2012 memory hotplug issues and do some cleanup

2016-08-11 Thread Vitaly Kuznetsov
Changes since v2: - I'm sorry, I screwed up Alex's address, this is just a resend. Changes since v1: - Keep ol_waitevent and wait when kernel memory onlining is disabled [Alex Ng] Crashes with Hyper-V balloon driver are reported with WS2012 (non-R2), hosts I was able to identify two issues which

[PATCH v2 RESEND 3/4] Drivers: hv: balloon: don't wait for ol_waitevent when memhp_auto_online is enabled

2016-08-11 Thread Vitaly Kuznetsov
With the recently introduced in-kernel memory onlining (MEMORY_HOTPLUG_DEFAULT_ONLINE) these is no point in waiting for pages to come online in the driver and we can get rid of the waiting. Signed-off-by: Vitaly Kuznetsov --- drivers/hv/hv_balloon.c | 14 -- 1

Re: [PATCH] vfio: Enable VFIO device for powerpc

2016-08-11 Thread Paolo Bonzini
On 26/08/2015 20:54, Paul Mackerras wrote: > On Wed, Aug 26, 2015 at 11:34:26AM +0200, Alexander Graf wrote: >> On 13.08.15 03:15, David Gibson wrote: >>> ec53500f "kvm: Add VFIO device" added a special KVM pseudo-device which is >>> used to handle any necessary interactions between KVM and

[PATCH] cputime: Fix omitted ticks passed in parameter (was: Re: [tip:sched/urgent] sched/cputime: Fix steal time accounting)

2016-08-11 Thread Frederic Weisbecker
Commit f9bcf1e0e0145323ba2cf72ecad5264ff3883eb1 ("sched/cputime: Fix steal time accounting") fixes a leak on steal time accounting but forgets to account the ticks passed in parameters, assuming there is only one to take into account. Let's consider that parameter back. Cc: Wanpeng Li

[PATCH v4 1/4] mfd: pm8921: Add support for pm8018

2016-08-11 Thread Neil Armstrong
In order to support the Qualcomm MDM9615 PMIC, add support for the pm8018 in pm8921 mfd driver. Reviewed-by: Bjorn Andersson Acked-by: Lee Jones Signed-off-by: Neil Armstrong --- drivers/mfd/pm8921-core.c | 1 + 1 file

RE: mwifiex: PCIe8997 chip specific handling

2016-08-11 Thread Amitkumar Karwar
Hi Steve, > From: Steve deRosier [mailto:deros...@gmail.com] > Sent: Thursday, August 11, 2016 2:39 AM > To: Amitkumar Karwar > Cc: Brian Norris; linux-wirel...@vger.kernel.org; Cathy Luo; Nishant > Sarmukadam; linux-kernel@vger.kernel.org; Wei-Ning Huang > Subject: Re: mwifiex: PCIe8997 chip

Re: [PATCH 1/2] Revert "drm/fb-helper: Reduce READ_ONCE(master) to lockless_dereference"

2016-08-11 Thread Daniel Vetter
On Thu, Aug 11, 2016 at 11:50:21AM +0200, Johannes Berg wrote: > From: Johannes Berg > > This reverts commit fa7d81bb3c269a2ee38b6e4d569d9eb8be1a78ad. > > As Peter explained: > [...] lockless_dereference() is _stronger_ than READ_ONCE(), not weaker. > > [...] > >

[PATCH] implement constant-folding in __builtin_bswap*()

2016-08-11 Thread Johannes Berg
Since gcc does this, it's apparently valid to write switch (x) { case __builtin_bswap16(12): break; } but sparse will flag it as an error today. The constant folding used to be done in the kernel's htons() and friends, but due to gcc bugs that isn't done anymore since commit 7322dd755e7d

Re: [PATCH 2/8] [media] v4l2-async: call registered_async after subdev registration

2016-08-11 Thread Sakari Ailus
On Thu, Aug 11, 2016 at 02:10:43PM +0300, Sakari Ailus wrote: > Hi Javier, > > On Fri, Feb 05, 2016 at 04:09:52PM -0300, Javier Martinez Canillas wrote: > > V4L2 sub-devices might need to do initialization that depends on being > > registered with a V4L2 device. As an example, sub-devices with

Re: [PATCH v7] gpio: add Intel WhiskeyCove PMIC GPIO driver

2016-08-11 Thread Linus Walleij
On Mon, Jul 25, 2016 at 11:59 PM, Bin Gao wrote: > This patch introduces a separate GPIO driver for Intel WhiskeyCove PMIC. > This driver is based on gpio-crystalcove.c. > > Signed-off-by: Ajay Thomas > Signed-off-by: Bin Gao

Re: [Regression] "irqdomain: Don't set type when mapping an IRQ" breaks nexus7 gpio buttons

2016-08-11 Thread Marc Zyngier
On 11/08/16 10:47, Jon Hunter wrote: > > On 11/08/16 09:37, Marc Zyngier wrote: >> On 08/08/16 22:48, Linus Walleij wrote: >>> On Sat, Aug 6, 2016 at 1:45 AM, John Stultz wrote: >>> @@ -614,7 +615,11 @@ unsigned int irq_create_fwspec_mapping(struct irq_fwspec

[PATCH 4.8-rc1 v23 1/4] irqchip: gic: Optimize locking in gic_raise_softirq

2016-08-11 Thread Daniel Thompson
Currently gic_raise_softirq() is locked using irq_controller_lock. This lock is primarily used to make register read-modify-write sequences atomic but gic_raise_softirq() uses it instead to ensure that the big.LITTLE migration logic can figure out when it is safe to migrate interrupts between

[PATCH 4.8-rc1 v23 3/4] irqchip: gic: Introduce plumbing for IPI FIQ

2016-08-11 Thread Daniel Thompson
Currently it is not possible to exploit FIQ for systems with a GIC, even on systems that are capable of it. This patch makes it possible for IPIs to be delivered using FIQ. To do so it modifies the register state so that normal interrupts are placed in group 1 and specific IPIs are placed into

Re: [PATCH] byteswap: don't use __builtin_bswap*() with sparse

2016-08-11 Thread Arnd Bergmann
On Thursday, August 11, 2016 1:15:02 PM CEST Johannes Berg wrote: > From: Johannes Berg > > Although sparse declares __builtin_bswap*(), it can't actually > do constant folding inside them (yet). As such, things like > > switch (protocol) { > case htons(ETH_P_IP): >

[PATCH 4.8-rc1 v23 2/4] irqchip: gic: Make gic_raise_softirq FIQ-safe

2016-08-11 Thread Daniel Thompson
It is currently possible for FIQ handlers to re-enter gic_raise_softirq() and lock up. gic_raise_softirq() lock(x); -~-> FIQ handle_fiq() gic_raise_softirq() lock(x); <-- Lockup arch/arm/ uses IPIs to implement arch_irq_work_raise(),

Re: [PATCH 3/5] mm/page_owner: move page_owner specific function to page_owner.c

2016-08-11 Thread Vlastimil Babka
On 08/10/2016 08:16 AM, js1...@gmail.com wrote: + page_mt = gfpflags_to_migratetype(page_ext->gfp_mask); + if (pageblock_mt != page_mt) { + count[pageblock_mt]++; + + pfn = block_end_pfn; +

[PATCH v2 1/4] Drivers: hv: balloon: keep track of where ha_region starts

2016-08-11 Thread Vitaly Kuznetsov
Windows 2012 (non-R2) does not specify hot add region in hot add requests and the logic in hot_add_req() is trying to find a 128Mb-aligned region covering the request. It may also happen that host's requests are not 128Mb aligned and the created ha_region will start before the first specified PFN.

Re: powerpc allyesconfig / allmodconfig linux-next next-20160729 - next-20160729 build failures

2016-08-11 Thread Nicholas Piggin
On Wed, 03 Aug 2016 22:13:28 +0200 Arnd Bergmann wrote: > On Wednesday, August 3, 2016 2:44:29 PM CEST Segher Boessenkool wrote: > > Hi Arnd, > > > > On Wed, Aug 03, 2016 at 08:52:48PM +0200, Arnd Bergmann wrote: > > > From my first look, it seems that all of lib/*.o is now

[PATCH v2 3/4] Drivers: hv: balloon: don't wait for ol_waitevent when memhp_auto_online is enabled

2016-08-11 Thread Vitaly Kuznetsov
With the recently introduced in-kernel memory onlining (MEMORY_HOTPLUG_DEFAULT_ONLINE) these is no point in waiting for pages to come online in the driver and we can get rid of the waiting. Signed-off-by: Vitaly Kuznetsov --- drivers/hv/hv_balloon.c | 14 -- 1

[PATCH v2 RESEND 2/4] Drivers: hv: balloon: account for gaps in hot add regions

2016-08-11 Thread Vitaly Kuznetsov
I'm observing the following hot add requests from the WS2012 host: hot_add_req: start_pfn = 0x108200 count = 330752 hot_add_req: start_pfn = 0x158e00 count = 193536 hot_add_req: start_pfn = 0x188400 count = 239616 As the host doesn't specify hot add regions we're trying to create 128Mb-aligned

[RESEND PATCH v2 1/3] dt-bindings: Add MDM9615 DT bindings include files for GCC and LCC

2016-08-11 Thread Neil Armstrong
Signed-off-by: Neil Armstrong --- include/dt-bindings/clock/qcom,gcc-mdm9615.h | 327 +++ include/dt-bindings/clock/qcom,lcc-mdm9615.h | 52 + include/dt-bindings/reset/qcom,gcc-mdm9615.h | 136 +++ 3 files changed, 515 insertions(+)

Re: [PATCH 1/2] gpio: add bindings for Technologic I2C-FPGA gpio controller

2016-08-11 Thread Linus Walleij
On Fri, Aug 5, 2016 at 4:41 PM, Lucile Quirion wrote: > Device tree binding documentation for Technologic's I2C-FPGA GPIO > controller. > > Signed-off-by: Lucile Quirion (...) > +Optional property: > +- ngpios: see

Re: [tip:smp/hotplug] cpu/hotplug: Prevent alloc/free of irq descriptors during CPU up/down (again)

2016-08-11 Thread Sebastian Andrzej Siewior
On 2016-08-11 08:53:31 [-0400], Boris Ostrovsky wrote: > Since this patch requires > http://marc.info/?l=xen-devel=147024499722041=2 it may be better to > take it via Xen tree. Why are you adding more register_cpu_notifier() users? > -boris Sebastian

Re: [Regression] "irqdomain: Don't set type when mapping an IRQ" breaks nexus7 gpio buttons

2016-08-11 Thread Jon Hunter
On 11/08/16 13:46, Marc Zyngier wrote: > On 11/08/16 10:47, Jon Hunter wrote: >> >> On 11/08/16 09:37, Marc Zyngier wrote: >>> On 08/08/16 22:48, Linus Walleij wrote: On Sat, Aug 6, 2016 at 1:45 AM, John Stultz wrote: > @@ -614,7 +615,11 @@ unsigned int

Re: [PATCH] x86/smp: Fix __max_logical_packages value setup

2016-08-11 Thread Peter Zijlstra
On Thu, Aug 11, 2016 at 03:05:21PM +0200, Jiri Olsa wrote: > hum, so we either need some acpi solution to get number of all > sockets or This.. So the problem here is that the BIOS completely screws us over. It wrecks the ACPI-ID table with that option to limit the number of CPUs exposed to the

Re: [PATCH v10 0/8] acpi, clocksource: add GTDT driver and GTDT support in arm_arch_timer

2016-08-11 Thread Fu Wei
Hi Hanjun, Tomasz, On 11 August 2016 at 18:15, Hanjun Guo wrote: > Hi, > > On 2016/8/11 17:37, Tomasz Nowicki wrote: >> >> Hi Fu, >> >> Do you mind if I send IORT series where new drivers/acpi/arm64 directory >> would be introduced in first place ? This means your GTDT set

[ANNOUNCE] util-linux v2.28.1

2016-08-11 Thread Karel Zak
The util-linux release v2.28.1 is available at http://ftp.kernel.org/pub/linux/utils/util-linux/v2.28 Feedback and bug reports, as always, are welcomed. Karel util-linux 2.28.1 Release Notes === agetty: - call uname() only when necessary [Karel Zak] -

Re: [RFC PATCH] tracing: add sched_prio_update

2016-08-11 Thread Peter Zijlstra
On Mon, Jul 04, 2016 at 03:46:04PM -0400, Julien Desfossez wrote: > The effective priority of running threads can also be temporarily > changed in the PI code, but a dedicated tracepoint is already in place > to cover this case. So while we have that tracepoint its not really all that useful. I

[GIT PULL 0/2] EFI urgent fixes

2016-08-11 Thread Matt Fleming
Please pull the following two patches that fix EFI issues in v4.7. They're both tagged for stable. The following changes since commit 29b4817d4018df78086157ea3a55c1d9424a7cfc: Linux 4.8-rc1 (2016-08-07 18:18:00 -0700) are available in the git repository at:

[PATCH net 0/4] hv_netvsc: fixes for VF removal path

2016-08-11 Thread Vitaly Kuznetsov
Kernel crash is reported after VF is removed and detached from netvsc device. My investigation led me to PATCH2 of this series but PATCH1 is required to support the change. I also noticed a couple of other issues while debugging and I fix them with PATCH3 and PATCH4. Please review. Vitaly

Re: [PATCH 2/8] [media] v4l2-async: call registered_async after subdev registration

2016-08-11 Thread Sakari Ailus
Hi Javier, On Fri, Feb 05, 2016 at 04:09:52PM -0300, Javier Martinez Canillas wrote: > V4L2 sub-devices might need to do initialization that depends on being > registered with a V4L2 device. As an example, sub-devices with Media > Controller support may need to register entities and create pad

[PATCH v2 2/2] rtc: bq32k: Fix handling of oscillator failure flag

2016-08-11 Thread Daniel Romell
From: Jan Östlund While the oscillator failure flag is set, the RTC registers should be considered invalid. bq32k_rtc_read_time() now returns an error instead of an invalid time. The failure flag is cleared the next time the clock is set. Signed-off-by: Daniel Romell

Re: c6x linker issue on linux-next-20160808 + some linker table work

2016-08-11 Thread Mark Salter
On Thu, 2016-08-11 at 07:56 +0200, Luis R. Rodriguez wrote: > On Wed, Aug 10, 2016 at 07:04:09PM -0400, Mark Salter wrote: > > > > On Wed, 2016-08-10 at 23:30 +0200, Luis R. Rodriguez wrote: > > > > > > On Tue, Aug 09, 2016 at 11:04:07PM -0400, Mark Salter wrote: > > > > > > > > > > > > On

[PATCH v2 1/2] rtc: bq32k: Use correct mask name for 'minutes' register.

2016-08-11 Thread Daniel Romell
From: Jan Östlund The BQ32K_SECONDS_MASK and BQ32K_MINUTES_MASK both has the same value. This is no functional change. Signed-off-by: Daniel Romell --- drivers/rtc/rtc-bq32k.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-bq32k.c

[PATCH v2 0/2] bq32000 fixes

2016-08-11 Thread Daniel Romell
Changes since v1: * Return -EINVAL instead of -EIO when failure flag is set. Jan Östlund (2): rtc: bq32k: Use correct mask name for 'minutes' register. rtc: bq32k: Fix handling of oscillator failure flag drivers/rtc/rtc-bq32k.c | 16 ++-- 1 file changed, 10 insertions(+), 6

Re: [PATCH] gpio: Add GPIO support for the Diamond Systems GPIO-MM

2016-08-11 Thread Linus Walleij
On Tue, Aug 2, 2016 at 3:57 PM, William Breathitt Gray wrote: > The Diamond Systems GPIO-MM device features 48 lines of digital I/O via > the emulation of dual 82C55A PPI chips. This driver provides GPIO > support for these 48 channels of digital I/O. The base port

Re: [PATCH] xfrm: constify xfrm_replay structures

2016-08-11 Thread Steffen Klassert
On Tue, Aug 09, 2016 at 06:27:08PM +0200, Julia Lawall wrote: > The xfrm_replay structures are never modified, so declare them as const. > > Done with the help of Coccinelle. > > Signed-off-by: Julia Lawall Applied to the ipsec-next tree, thanks!

[PATCH][RFC] Documentation/: update hibernation debug documentation

2016-08-11 Thread Chen Yu
Update the description of test_resume mode for hibernation. Signed-off-by: Chen Yu --- Documentation/power/basic-pm-debugging.txt | 7 +++ 1 file changed, 7 insertions(+) diff --git a/Documentation/power/basic-pm-debugging.txt

Re: [PATCH net 2/4] hv_netvsc: reset vf_inject on VF removal

2016-08-11 Thread Vitaly Kuznetsov
Yuval Mintz writes: >> +static void netvsc_inject_enable(struct net_device_context >> +*net_device_ctx) { >> +net_device_ctx->vf_inject = true; >> +} >> + >> +static void netvsc_inject_disable(struct net_device_context >> +*net_device_ctx) { >> +

[PATCH v2] powerpc: move hmi.c to arch/powerpc/kvm/

2016-08-11 Thread Paolo Bonzini
hmi.c functions are unused unless sibling_subcore_state is nonzero, and that in turn happens only if KVM is in use. So move the code to arch/powerpc/kvm/, putting it under CONFIG_KVM_BOOK3S_HV_POSSIBLE rather than CONFIG_PPC_BOOK3S_64. The sibling_subcore_state is also included in struct

Re: [PATCH] vfio: Enable VFIO device for powerpc

2016-08-11 Thread Cornelia Huck
On Thu, 11 Aug 2016 14:57:24 +0200 Paolo Bonzini wrote: > On 26/08/2015 20:54, Paul Mackerras wrote: > > On Wed, Aug 26, 2015 at 11:34:26AM +0200, Alexander Graf wrote: > >> On 13.08.15 03:15, David Gibson wrote: > >>> ec53500f "kvm: Add VFIO device" added a special KVM

Re: [PATCH] KVM: x86: Expose more Intel AVX512 feature to guest

2016-08-11 Thread Paolo Bonzini
> > Expose AVX512DQ, AVX512BW, AVX512VL feature to guest. > > Its spec can be found at: > > https://software.intel.com/sites/default/files/managed/b4/3a/319433-024.pdf > > > > Signed-off-by: Luwei Kang > > --- > > arch/x86/kvm/cpuid.c | 3 ++- > > 1 file changed, 2

Re: Resend: Another 4.4 to 4.5 floppy issue

2016-08-11 Thread Jiri Kosina
On Wed, 3 Aug 2016, Mark Hounschell wrote: > I'm not sure how to get "for-linus" branch. I don't see it in linux-block.git. It's there. > A patch for 4.5 would be easy for me though. Anyway the commit landed in Linus' tree already (ff06db1ef). Testing it in your environment would be

Re: [Patch v4 3/9] driver/edac/fsl-ddr: Separate FSL DDR EDAC driver from MPC85xx

2016-08-11 Thread Borislav Petkov
On Tue, Aug 09, 2016 at 02:55:40PM -0700, York Sun wrote: > The mpc85xx compatible DDR controllers are used on ARM-based SoCs. > Separate the DDR part from mpc85xx EDAC driver and prepare to support > both architecture. > > Signed-off-by: York Sun > > --- > Change log > v4:

[PATCH 0/6] Some Tegra I2C Updates

2016-08-11 Thread Jon Hunter
Add runtime-pm and pinctrl support for Tegra I2C driver. The first 4 patches are trivial clean-up/simplification changes. Jon Hunter (6): i2c: tegra: Add missing new line characters i2c: tegra: Remove non device-tree support i2c: tegra: Use device name for adapter name i2c: tegra:

[PATCH 5/6] i2c: tegra: Add runtime power-management support

2016-08-11 Thread Jon Hunter
Update the Tegra I2C driver to use runtime PM and move the code in the tegra_i2c_clock_enable/disable() functions to the PM runtime resume and suspend callbacks, respectively. Note that given that CONFIG_PM is not mandatory for Tegra, if CONFIG_PM is not enabled and so runtime PM is not enabled,

[PATCH 3/6] i2c: tegra: Use device name for adapter name

2016-08-11 Thread Jon Hunter
All Tegra I2C devices have the name "Tegra I2C adapter" which is not very useful when viewing the I2C adapter names via the sysfs. Therefore, use the device name, which is unique for each I2C device, instead. Signed-off-by: Jon Hunter --- drivers/i2c/busses/i2c-tegra.c | 2

[PATCH 4/6] i2c: tegra: Simplify I2C resume

2016-08-11 Thread Jon Hunter
The I2C adapter is unlocked regardless of whether the tegra_i2c_init() called during the resume is successful or not. However, if the tegra_i2c_init() is not successful, then ->is_suspended is not set to false. Simplify the resume code by only setting ->is_suspended to false if tegra_i2c_init() is

[PATCH 6/6] i2c: tegra: Add pinctrl support

2016-08-11 Thread Jon Hunter
On Tegra124/132 the pins for I2C6 are shared with the Display Port AUX (DPAUX) channel and on Tegra210 the pins for I2C4 and I2C6 are shared with DPAUX1 and DPAUX0, respectively. The multiplexing of the pins is handled by a register in the DPAUX and so the Tegra DPAUX driver has been updated to

Re: [PATCH v4 2/2] mmc: dw_mmc: add reset support to dwmmc host controller

2016-08-11 Thread Jaehoon Chung
Hi Guodong, On 08/11/2016 11:23 AM, Shawn Lin wrote: > On 2016/8/10 16:03, Guodong Xu wrote: >> Dwmmc host controller may in unknown state when entering kernel boot. One >> example is when booting from eMMC, bootloader need initialize MMC host >> controller into some state so it can read. In

warning: (PMAC_BACKLIGHT && ..) selects FB_BACKLIGHT which has unmet direct dependencies (HAS_IOMEM && ..)

2016-08-11 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 85e97be32c6242c98dbbc7a241b4a78c1b93327b commit: 339b19e3c4ff728a5dcdbd388a5fbe83c1aabc37 drm/ast: make fbdev support really optional date: 3 weeks ago config: x86_64-randconfig-b0-08111650 (attached as

[RFC 0/4] doc: dma-buf: sphinx conversion and cleanup

2016-08-11 Thread Sumit Semwal
Convert dma-buf documentation over to sphinx; also cleanup to address sphinx warnings. While at that, convert dma-buf-sharing.txt as well, and make it the dma-buf API guide. There is no content change yet; only format conversion and creation of some hyperlinks. Sumit Semwal (4):

[RFC 3/4] Documentation: move dma-buf documentation to rst

2016-08-11 Thread Sumit Semwal
Branch out dma-buf related documentation into its own rst file to allow adding it to the sphinx documentation generated. While at it, move dma-buf-sharing.txt into rst as the dma-buf guide too. Signed-off-by: Sumit Semwal --- Documentation/DocBook/device-drivers.tmpl |

[RFC 4/4] Documentation/sphinx: link dma-buf rsts

2016-08-11 Thread Sumit Semwal
Include dma-buf sphinx documentation into top level index. Signed-off-by: Sumit Semwal --- Documentation/index.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/index.rst b/Documentation/index.rst index 43c722f15292..2fe8e82d7d8c 100644 ---

[RFC 2/4] dma-buf/fence: kerneldoc: remove spurious section header

2016-08-11 Thread Sumit Semwal
Commit e941759c74a44d6ac2eed21bb0a38b21fe4559e2 ("fence: dma-buf cross-device synchronization (v18)") had a spurious kerneldoc section header that caused Sphinx to complain. Fix it. Fixes: e941759c74a4 ("fence: dma-buf cross-device synchronization (v18)") Signed-off-by: Sumit Semwal

Re: [PATCH 4/4] befs: remove unnecessary initialization

2016-08-11 Thread Luis de Bethencourt
On 10/08/16 23:12, Salah Triki wrote: > There is no need to init block, since it will be overwitten later by > iaddr2blockno(). > > Signed-off-by: Salah Triki > --- > fs/befs/io.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/fs/befs/io.c

Re: [PATCH] powerpc: move hmi.c to arch/powerpc/kvm/

2016-08-11 Thread Michael Ellerman
Michael Ellerman writes: > Radim Krčmář writes: > >> 2016-08-03 13:36+0200, Paolo Bonzini: >>> hmi.c functions are unused unless sibling_subcore_state is nonzero, and >>> that in turn happens only if KVM is in use. So move the code to >>>

Re: [RFC 3/4] Documentation: move dma-buf documentation to rst

2016-08-11 Thread Markus Heiser
Hi Sumit, I haven't compiled your patch yet, just my 2cent about the reStructuredText (reST) ASCII markup ... Here are some handy links about reST and the Sphinx markup constructs, we have not yet added to the documentation (sorry): * reST primer:

[tip:x86/urgent] x86/boot: Run reserve_bios_regions() after we initialize the memory map

2016-08-11 Thread tip-bot for Andy Lutomirski
Commit-ID: 007b756053386af079ba963a8f5817ac651c7c59 Gitweb: http://git.kernel.org/tip/007b756053386af079ba963a8f5817ac651c7c59 Author: Andy Lutomirski AuthorDate: Wed, 10 Aug 2016 02:29:13 -0700 Committer: Ingo Molnar CommitDate: Thu, 11 Aug 2016

[tip:x86/urgent] x86/boot: Synchronize trampoline_cr4_features and mmu_cr4_features directly

2016-08-11 Thread tip-bot for Andy Lutomirski
Commit-ID: 18bc7bd523e0fc5be8d76bf84bde733a97a8c375 Gitweb: http://git.kernel.org/tip/18bc7bd523e0fc5be8d76bf84bde733a97a8c375 Author: Andy Lutomirski AuthorDate: Wed, 10 Aug 2016 02:29:14 -0700 Committer: Ingo Molnar CommitDate: Thu, 11 Aug 2016

[tip:x86/urgent] x86/mm/kaslr: Fix -Wformat-security warning

2016-08-11 Thread tip-bot for Nicolas Iooss
Commit-ID: 62d16b5a3fca4d186e13215e0d7d2f6d36191796 Gitweb: http://git.kernel.org/tip/62d16b5a3fca4d186e13215e0d7d2f6d36191796 Author: Nicolas Iooss AuthorDate: Sat, 6 Aug 2016 12:20:39 +0200 Committer: Ingo Molnar CommitDate: Thu, 11 Aug

[tip:x86/urgent] x86/irq: Do not substract irq_tlb_count from irq_call_count

2016-08-11 Thread tip-bot for Aaron Lu
Commit-ID: 82ba4faca1bffad429f15c90c980ffd010366c25 Gitweb: http://git.kernel.org/tip/82ba4faca1bffad429f15c90c980ffd010366c25 Author: Aaron Lu AuthorDate: Thu, 11 Aug 2016 15:44:30 +0800 Committer: Ingo Molnar CommitDate: Thu, 11 Aug 2016 11:14:59

[tip:sched/urgent] sched/cputime: Fix steal time accounting

2016-08-11 Thread tip-bot for Wanpeng Li
Commit-ID: f9bcf1e0e0145323ba2cf72ecad5264ff3883eb1 Gitweb: http://git.kernel.org/tip/f9bcf1e0e0145323ba2cf72ecad5264ff3883eb1 Author: Wanpeng Li AuthorDate: Thu, 11 Aug 2016 13:36:35 +0800 Committer: Ingo Molnar CommitDate: Thu, 11 Aug 2016

[PATCH v5 0/2] mfd: dm355evm_msp: Improve implementation of add_child()

2016-08-11 Thread SF Markus Elfring
From: Markus Elfring Adjust jump targets together with three error messages. Markus Elfring (2): Refactoring Change error messages drivers/mfd/dm355evm_msp.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) -- 2.9.2

Re: [PATCH RESEND v2 0/8] Cache-coherent DMA access using UIO

2016-08-11 Thread Alex Williamson
On Thu, 11 Aug 2016 10:06:19 +0530 Anup Patel wrote: > Hi Alex, > > On Thu, Aug 11, 2016 at 9:46 AM, Alex Williamson > wrote: > > On Thu, 11 Aug 2016 09:30:19 +0530 > > Anup Patel wrote: > > > >> Hi Arnd, > >> >

Re: [RFC 3/4] Documentation: move dma-buf documentation to rst

2016-08-11 Thread Sumit Semwal
Hello Jani, On 11 August 2016 at 17:17, Jani Nikula wrote: > On Thu, 11 Aug 2016, Sumit Semwal wrote: >> diff --git a/Documentation/dma-buf/guide.rst >> b/Documentation/dma-buf/guide.rst >> new file mode 100644 >> index

Re: [PATCH] treewide: fix a bunch of typos

2016-08-11 Thread Masahiro Yamada
Hi Linus, 2016-08-09 3:03 GMT+09:00 Linus Torvalds : > On Sun, Aug 7, 2016 at 6:56 AM, Masahiro Yamada > wrote: >> >> Sorry for chiming in at the last minute of the MW. >> >> I am not sure if you like this, but here is a bunch of

Re: [PATCH 5/5] mm/page_owner: don't define fields on struct page_ext by hard-coding

2016-08-11 Thread Vlastimil Babka
On 08/10/2016 08:16 AM, js1...@gmail.com wrote: From: Joonsoo Kim There is a memory waste problem if we define field on struct page_ext by hard-coding. Entry size of struct page_ext includes the size of those fields even if it is disabled at runtime. Now, extra memory

Re: [PATCH] cputime: Fix omitted ticks passed in parameter (was: Re: [tip:sched/urgent] sched/cputime: Fix steal time accounting)

2016-08-11 Thread Wanpeng Li
2016-08-11 20:58 GMT+08:00 Frederic Weisbecker : > Commit f9bcf1e0e0145323ba2cf72ecad5264ff3883eb1 > ("sched/cputime: Fix steal time accounting") fixes a leak on steal time > accounting but forgets to account the ticks passed in parameters, > assuming there is only one to take

Re: powerpc allyesconfig / allmodconfig linux-next next-20160729 - next-20160729 build failures

2016-08-11 Thread Nicholas Piggin
On Thu, 11 Aug 2016 15:04:00 +0200 Arnd Bergmann wrote: > On Thursday, August 11, 2016 10:43:20 PM CEST Nicholas Piggin wrote: > > On Wed, 03 Aug 2016 22:13:28 +0200 > > Final ld time > > inclink > > real0m0.378s > > user0m0.304s > > sys 0m0.076s > > > > thinarc

Re: [PATCH 2/2] gpio: add Technologic I2C-FPGA gpio support

2016-08-11 Thread Linus Walleij
On Fri, Aug 5, 2016 at 4:41 PM, Lucile Quirion wrote: > This driver is generic and aims to support all Technologic Systems's > boards embedding FPGA GPIOs with an I2C interface. > > This driver supports TS-4900, TS-7970, TS-7990 and TS-4100 series. > >

Re: [Regression] "irqdomain: Don't set type when mapping an IRQ" breaks nexus7 gpio buttons

2016-08-11 Thread Marc Zyngier
On 11/08/16 14:29, Jon Hunter wrote: > > On 11/08/16 13:46, Marc Zyngier wrote: >> On 11/08/16 10:47, Jon Hunter wrote: >>> >>> On 11/08/16 09:37, Marc Zyngier wrote: On 08/08/16 22:48, Linus Walleij wrote: > On Sat, Aug 6, 2016 at 1:45 AM, John Stultz >

[PATCH v2 3/4] arm64: kaslr: Fix incorrect placement of __initdata and __read_mostly

2016-08-11 Thread Jisheng Zhang
__initdata and __read_mostly should be placed after the variable name for the variable to be placed in the intended section. Signed-off-by: Jisheng Zhang --- arch/arm64/kernel/kaslr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH 03/11] pinctrl: nomadik: use of_property_read_bool

2016-08-11 Thread Linus Walleij
On Fri, Aug 5, 2016 at 10:56 AM, Julia Lawall wrote: > Use of_property_read_bool to check for the existence of a property. > > The semantic patch that makes this change is as follows: > (http://coccinelle.lip6.fr/) > > // > @@ > expression e1,e2; > statement S2,S1; > @@ >

Re: [Regression] "irqdomain: Don't set type when mapping an IRQ" breaks nexus7 gpio buttons

2016-08-11 Thread Marc Zyngier
On 11/08/16 12:45, Marc Zyngier wrote: > On 11/08/16 10:47, Jon Hunter wrote: >> >> On 11/08/16 09:37, Marc Zyngier wrote: >>> On 08/08/16 22:48, Linus Walleij wrote: On Sat, Aug 6, 2016 at 1:45 AM, John Stultz wrote: > @@ -614,7 +615,11 @@ unsigned int

Re: [PATCH] perf tools mem: Fix -t store option for record command

2016-08-11 Thread Arnaldo Carvalho de Melo
Em Thu, Aug 11, 2016 at 10:50:57AM +0200, Jiri Olsa escreveu: > Michael reported 'perf mem -t store record' being broken. > The reason is latest rework of this area: > commit acbe613e0c03 ("perf tools: Add monitored events array") > > We don't mark perf_mem_events store record when -t store >

  1   2   3   4   5   6   7   8   9   10   >