[PATCH V2] mm/thp/migration: switch from flush_tlb_range to flush_pmd_tlb_range

2016-02-10 Thread Aneesh Kumar K.V
We remove one instace of flush_tlb_range here. That was added by f714f4f20e59ea6eea264a86b9a51fd51b88fc54 ("mm: numa: call MMU notifiers on THP migration"). But the pmdp_huge_clear_flush_notify should have done the require flush for us. Hence remove the extra flush. Signed-off-by: Aneesh Kumar

Re: [PATCH] Optimize int_sqrt for small values for faster idle

2016-02-10 Thread Fengguang Wu
On Tue, Feb 09, 2016 at 12:44:00PM -0800, Andi Kleen wrote: > On Sun, Feb 07, 2016 at 10:32:26PM +0100, Rasmus Villemoes wrote: > > On Mon, Feb 01 2016, Andi Kleen wrote: > > > > > On Mon, Feb 01, 2016 at 10:25:17PM +0100, Rasmus Villemoes wrote: > > >> On Thu, Jan 28 2016,

Re: [PATCH 2/2] vhost: disentangle vring endianness stuff from the core code

2016-02-10 Thread Greg Kurz
On Wed, 10 Feb 2016 14:23:33 +0100 Cornelia Huck wrote: > On Wed, 10 Feb 2016 14:08:43 +0100 > Greg Kurz wrote: > > > But you are right, there is a bug: we should rollback if vhost_init_used() > > fails. Something like below: > > > >

Re: [PATCH v2 2/2] gpio: Add driver for SPI serializers

2016-02-10 Thread Linus Walleij
On Mon, Jan 25, 2016 at 5:37 PM, Andrew F. Davis wrote: > Add generic parallel-in/serial-out shift register GPIO driver. > > This includes SPI compatible devices like SN74165 serial-out shift > registers and the SN65HVS88x series of industrial serializers that can > be read over the

Re: mm, compaction: fix build errors with kcompactd

2016-02-10 Thread Vlastimil Babka
On 02/09/2016 03:15 PM, Arnd Bergmann wrote: > The newly added kcompactd code introduces multiple build errors: > > include/linux/compaction.h:91:12: error: 'kcompactd_run' defined but not used > [-Werror=unused-function] > mm/compaction.c:1953:2: error: implicit declaration of function >

Re: [PATCH 14/23] perf ui/stdio: Implement hierarchy output mode

2016-02-10 Thread Namhyung Kim
On Wed, Feb 10, 2016 at 01:13:35PM +0100, Jiri Olsa wrote: > On Fri, Feb 05, 2016 at 10:01:46PM +0900, Namhyung Kim wrote: > > SNIP > > > + printed += fprintf(fp, "%s\n", buf); > > + > > + if (symbol_conf.use_callchain && he->leaf) { > > + u64 total = hists__total_period(hists); >

Re: [PATCH 6/8] arm: initial machine port for artpec-6 SoC

2016-02-10 Thread Arnd Bergmann
On Wednesday 10 February 2016 13:41:55 Lars Persson wrote: > @@ -0,0 +1,22 @@ > +menuconfig ARCH_ARTPEC > + bool "Axis Communications ARM based ARTPEC SoCs" if ARCH_MULTI_V7 > + > +if ARCH_ARTPEC > + > +config MACH_ARTPEC6 > + bool "Axis ARTPEC-6 ARM Cortex A9 Platform" if ARCH_MULTI_V7

[PATCH v5 0/2] add support for DWC UFS Controller

2016-02-10 Thread Joao Pinto
The work consisted of: - Fixed typo in ufshcd-pltfrm.c - Tweak ufshcd.c for UFS 2.0 support - Implement ufshcd-dwc which contains all DWC HW specific code - Unipro attributes were added and new registers were added to the driver - Implement a ufs-dwc glue platform driver - Implement a ufs-dwc-pci

Re: [PATCH 3/5] irqchip/gic-v2: Parse and export virtual GIC information

2016-02-10 Thread Julien Grall
Hi Marc, On 10/02/16 14:46, Marc Zyngier wrote: On 10/02/16 14:19, Julien Grall wrote: On 09/02/16 20:49, Christoffer Dall wrote: +static void __init gic_acpi_setup_kvm_info(void) +{ + gic_v2_kvm_info.type = GIC_V2; + + gic_v2_kvm_info.maint_irq = acpi_register_gsi(NULL, +

[PATCH v2] mfd: ab8500: Provide a small example using new MFD cell MACROs

2016-02-10 Thread Lee Jones
mfd: ab8500: Provide a small example using new MFD cell MACROs Signed-off-by: Lee Jones --- drivers/mfd/ab8500-core.c | 106 +++--- 1 file changed, 34 insertions(+), 72 deletions(-) diff --git a/drivers/mfd/ab8500-core.c

Re: [PATCH 1/2] vhost: helpers to enable/disable vring endianness

2016-02-10 Thread Greg Kurz
On Wed, 10 Feb 2016 17:08:52 +0200 "Michael S. Tsirkin" wrote: > On Wed, Feb 10, 2016 at 01:11:34PM +0100, Greg Kurz wrote: > > On Wed, 10 Feb 2016 13:21:22 +0200 > > "Michael S. Tsirkin" wrote: > > > > > On Wed, Jan 13, 2016 at 06:09:41PM +0100, Greg Kurz

Re: [PATCH v5] pinctrl: rockchip: add support for the rk3399

2016-02-10 Thread Linus Walleij
On Mon, Feb 1, 2016 at 3:58 AM, David Wu wrote: > The pinctrl of rk3399 is much different from other's, > especially the 3bits of drive strength. > > Signed-off-by: David Wu > Reviewed-by: Heiko Stuebner > --- > Changes in v5:

Re: [RFC PATCH v4 2/6] module: preserve Elf information for livepatch modules

2016-02-10 Thread Petr Mladek
On Wed 2016-02-03 20:11:07, Jessica Yu wrote: > diff --git a/kernel/module.c b/kernel/module.c > index 71c77ed..9c16eb2 100644 > --- a/kernel/module.c > +++ b/kernel/module.c > @@ -2676,6 +2764,23 @@ static int copy_module_from_user(const void __user > *umod, unsigned long len, > return 0;

Re: [PATCH 1/2] sched/deadline: add per rq tracking of admitted bandwidth

2016-02-10 Thread Juri Lelli
On 10/02/16 13:48, Luca Abeni wrote: > Hi, > > On Wed, 10 Feb 2016 11:32:58 + > Juri Lelli wrote: > [...] > > From 62f70ca3051672dce209e8355cf5eddc9d825c2a Mon Sep 17 00:00:00 2001 > > From: Juri Lelli > > Date: Sat, 6 Feb 2016 12:41:09 + > >

Re: [PATCH v2 3/3] mm/compaction: speed up pageblock_pfn_to_page() when zone is contiguous

2016-02-10 Thread Vlastimil Babka
On 02/09/2016 09:53 PM, Andrew Morton wrote: > On Tue, 9 Feb 2016 18:58:32 +0100 Vlastimil Babka wrote: > >> On 02/05/2016 05:11 PM, Joonsoo Kim wrote: >>> Yeah, it seems wrong to me. :) >>> Here goes fix. >> >> Doesn't apply for me, even after fixing the most obvious line wraps.

[PATCH] MIPS: OCTEON: Update OCTEON_FEATURE_PCIE for Octeon III

2016-02-10 Thread Zubair Lutfullah Kakakhel
Currently the driver tries to probe the pci driver and oops. Add CN7XXX to case so that driver probes the pcie driver. Signed-off-by: Zubair Lutfullah Kakakhel --- Based on v4.5-rc3 Boot tested only on CN7130 based utm8. It does not oops and proceeds with the rest

Re: [PATCH 4/4] KVM: x86: track actual TSC frequency from the timekeeper struct

2016-02-10 Thread Paolo Bonzini
On 09/02/2016 19:41, Owen Hofmann wrote: > Hi, > Should this patch change the condition in pvclock_gtod_notify? > Currently it looks like we'll only request a masterclock update when > tsc is no longer a good clocksource. Yes, you're right. Paolo

Re: [PATCH V4 15/23] acpi, mcfg: Implement two calls that might be used to inject/remove MCFG region.

2016-02-10 Thread Lorenzo Pieralisi
On Thu, Feb 04, 2016 at 06:28:53PM +0100, Tomasz Nowicki wrote: > Lets abstract two calls which allow to inject and remove MCFG regions > which may come from DSDT table. These calls will be used for x86 and ARM64 > PCI host bridge driver in the later patches. > > Signed-off-by: Tomasz Nowicki

Re: [RFC PATCH] mmc: sdhci-of-at91: don't put device in suspend after probe

2016-02-10 Thread Ludovic Desroches
On Wed, Feb 10, 2016 at 03:00:09PM +0200, Adrian Hunter wrote: > On 10/02/16 14:51, Ludovic Desroches wrote: > > Hi Adrian, > > > > On Wed, Feb 10, 2016 at 01:50:44PM +0200, Adrian Hunter wrote: > >> On 10/02/16 11:58, Ludovic Desroches wrote: > >>> By putting the device in suspend at the end of

Re: [PATCH 4/8] arm: dts: add Artpec-6 soc dtsi file

2016-02-10 Thread Arnd Bergmann
On Wednesday 10 February 2016 13:41:53 Lars Persson wrote: > Signed-off-by: Lars Persson > --- Missing changelog > arch/arm/boot/dts/artpec6.dtsi | 238 > + > 1 file changed, 238 insertions(+) > create mode 100644

Re: [PATCH v5 1/3] mailbox: Add support for APM X-Gene platform mailbox driver

2016-02-10 Thread Mathieu Poirier
On 9 February 2016 at 20:46, Duc Dang wrote: > On Tue, Feb 9, 2016 at 8:40 AM, Mathieu Poirier > wrote: >> On 8 February 2016 at 15:04, Duc Dang wrote: >>> X-Gene mailbox controller provides 8 mailbox channels, with >>> each channel

Re: [PATCH] af_packet: Raw socket destruction warning fix

2016-02-10 Thread Eric Dumazet
On Wed, 2016-02-10 at 12:43 +, Vaneet Narang wrote: > Hi, > > >What driver are you using (is that in-tree)? Can you reproduce the same issue > >with a latest -net kernel, for example (or, a 'reasonably' recent one like > >4.3 or > >4.4)? There has been quite a bit of changes in err queue

[PATCH] irq_work: unhide irq_work_queue_on declaration on non-SMP

2016-02-10 Thread Arnd Bergmann
The cpufreq code uses 'if (IS_ENABLED(CONFIG_SMP))' to check whether it should queue a task on the local CPU or a remote one, however the irq_work_queue_on() function is not declared when CONFIG_SMP is not set: drivers/cpufreq/cpufreq_governor.c: In function 'gov_queue_irq_work':

Re: [linux-sunxi] Re: [PATCH v3 1/5] clk: sunxi: Add apb0 gates for H3

2016-02-10 Thread Maxime Ripard
Hi, On Wed, Feb 10, 2016 at 08:17:14AM +0100, Krzysztof Adamski wrote: > On Tue, Feb 09, 2016 at 06:10:40PM +0100, Maxime Ripard wrote: > It seems that the other compatible strings are there for historical > reasons. Why do you need a new one with such a specific name? > > It

[PATCH v6 2/3] cpufreq: intel_pstate: Replace timers with utilization update callbacks

2016-02-10 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Instead of using a per-CPU deferrable timer for utilization sampling and P-states adjustments, register a utilization update callback that will be invoked from the scheduler on utilization changes. The sampling rate is still the same as what

[PATCH wq/for-4.5-fixes] workqueue: handle NUMA_NO_NODE for unbound pool_workqueue lookup

2016-02-10 Thread Tejun Heo
Hello, With 874bbfe600a6 reverted, this doesn't matter as much but I'm still committing it to wq/for-4.5-fixes. The commit message has been updated accordingly. Thanks. -- 8< -- >From 9354baa208f47bf088c28c1da5f38abe172db5d6 Mon Sep 17 00:00:00 2001 From: Tejun Heo

Re: [PATCH v9 2/2] mfd: add documentation for ACT8945A DT bindings

2016-02-10 Thread Lee Jones
On Wed, 27 Jan 2016, Wenyou Yang wrote: > The Active-semi ACT8945A PMIC is a Multi-Function Device, it has > two subdevices: > - Regulator > - Charger > > This patch adds documentation for ACT8945A DT bindings. > > Signed-off-by: Wenyou Yang > Acked-by: Rob Herring

Re: [PATCH 8/9] rfkill: Userspace control for airplane mode

2016-02-10 Thread Dan Williams
On Wed, 2016-02-10 at 17:07 +0100, Johannes Berg wrote: > On Mon, 2016-02-08 at 10:11 -0600, Dan Williams wrote: > > I'd like to clarify a bit, so tell me if I'm correct or not.  Using > > RFKILL_OP_AIRPLANE_MODE_CHANGE does not actually change any device > > state. It's just an indicator with no

Re: [PATCH V1] mfd: da9062: fix missing volatile registers in the core regmap_range volatile lists

2016-02-10 Thread Lee Jones
On Mon, 01 Feb 2016, Steve Twiss wrote: > From: Steve Twiss > > Add an updated set of registers listed in the core regmap_range volatile > ranges defined for the DA9062. > > These new registers contain bits that cannot be considered under the full > control of

Re: [PATCH v10 2/2] mfd: add documentation for ACT8945A DT bindings

2016-02-10 Thread Lee Jones
On Fri, 05 Feb 2016, Wenyou Yang wrote: > The Active-semi ACT8945A PMIC is a Multi-Function Device, it has > two subdevices: > - Regulator > - Charger > > This patch adds documentation for ACT8945A DT bindings. > > Signed-off-by: Wenyou Yang > Acked-by: Rob Herring

[PATCH] sched-deadline: Trivial fix to printk spelling typo

2016-02-10 Thread Steven Rostedt
It's "too much" not "to much". Signed-off-by: Steven Rostedt --- kernel/sched/deadline.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-trace.git/kernel/sched/deadline.c === ---

Re: [BUG] [REGRESSION] [BISECTED] -rc1 breaks audio over HDMI for i915

2016-02-10 Thread Martin Kepplinger
Am 2016-02-09 um 12:44 schrieb Takashi Iwai: > On Tue, 09 Feb 2016 07:34:48 +0100, > Martin Kepplinger wrote: >> >> The following change: >> >> 788d441 ALSA: hda - Use component ops for i915 HDMI/DP audio jack handling >> >> breaks audio over HDMI on my snd_hda_intel laptop. It is the first bad >>

[PATCH] Bluetooth: hci_intel: Fix a wrong comparison

2016-02-10 Thread Anton Protopopov
A return value of the intel_wait_booting() function compared with a constant ETIMEDOUT instead of -ETIMEDOUT. Signed-off-by: Anton Protopopov --- drivers/bluetooth/hci_intel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH] printk: avoid livelock if another CPU printks continuously

2016-02-10 Thread Petr Mladek
On Wed 2016-02-10 09:44:07, Steven Rostedt wrote: > On Wed, 10 Feb 2016 15:36:49 +0100 > Petr Mladek wrote: > > > Bcc: > > Subject: Re: [PATCH] printk: avoid livelock if another CPU printks > > continuously > > Reply-To: > > In-Reply-To:

Re: [PATCH RESEND 6/7] mfd: arizona: Update small typo in Arizona SPI Kconfig

2016-02-10 Thread Lee Jones
On Tue, 09 Feb 2016, Charles Keepax wrote: > The help text had a copy and paste error and refers to I2C in the SPI > section. This patch corrects this typo. > > Signed-off-by: Charles Keepax > --- > drivers/mfd/Kconfig | 2 +- > 1 file changed, 1

Re: [PATCH] printk: avoid livelock if another CPU printks continuously

2016-02-10 Thread Steven Rostedt
On Wed, 10 Feb 2016 17:10:16 +0100 Petr Mladek wrote: > > Note, it's not that performance critical, and the loop only happens if > > someone else is adding to the console, which hopefully, should be rare. > > I probably used too strong words. It is possible that the

Re: [PATCH v4] iio: adc: Add TI ADS1015 ADC driver support

2016-02-10 Thread Michael Welling
On Wed, Feb 10, 2016 at 08:39:04PM +0530, Sricharan wrote: > > Hi Sricharan, > > > > Are you looking at pca9685_pwm_probe in drivers/pwm/pwm-pca9685.c > > right? > > > Yes. > > > I'm asking this because this driver doesn't seem to support runtime pm and > > there is no check for

Re: [PATCH v1 6/6] platform/chrome: Check the USB PD feature before creating a charger

2016-02-10 Thread Lee Jones
On Fri, 05 Feb 2016, Tomeu Vizoso wrote: > From: Vincent Palatin > > Use the EC_CMD_GET_FEATURES message to check the supported features for > each MCU before instantied a USB-PD charger. > > Signed-off-by: Vincent Palatin > [tomeu: adapted to

Re: [PATCH v1 5/6] platform/chrome: Register USB PD charger device

2016-02-10 Thread Lee Jones
On Fri, 05 Feb 2016, Tomeu Vizoso wrote: > Check if a EC considers EC_CMD_USB_PD_PORTS a valid command and register > a USB PD charger device if so. This check is needed for older versions > of the ChromeOS EC firmware that don't support the EC_CMD_GET_FEATURES > command. > > Signed-off-by:

Re: [PATCH v1 4/6] power: cros_usbpd-charger: Add EC-based USB PD charger driver

2016-02-10 Thread Lee Jones
On Fri, 05 Feb 2016, Tomeu Vizoso wrote: > From: Sameer Nanda > > This driver exposes the charger functionality in the PD EC to userspace. > > Signed-off-by: Tomeu Vizoso > Cc: Sameer Nanda > Cc: Benson Leung

Re: [PATCH v10 1/2] mfd: act8945a: add Active-semi ACT8945A PMIC MFD driver

2016-02-10 Thread Lee Jones
On Fri, 05 Feb 2016, Wenyou Yang wrote: > This patch adds support for the Active-semi ACT8945A PMIC. > It is a Multi Function Device with the following subdevices: > - Regulator > - Charger > > It is interfaced to the host controller using I2C interface, > ACT8945A is a child device of the

Re: [PATCH V3 2/4] mfd: mt6397: int_con and int_status may vary in location

2016-02-10 Thread Lee Jones
On Wed, 27 Jan 2016, John Crispin wrote: > MT6323 has the INT_CON and INT_STATUS located at a different position. > Make the registers locations configurable. > > Signed-off-by: John Crispin > --- > drivers/mfd/mt6397-core.c | 27 +-- >

Re: [PATCH V3 5/5] perf/amd/iommu: Enable support for multiple IOMMUs

2016-02-10 Thread Borislav Petkov
On Tue, Feb 09, 2016 at 04:53:55PM -0600, Suravee Suthikulpanit wrote: > The current amd_iommu_pc_get_set_reg_val() does not support muli-IOMMU > system. This patch replace amd_iommu_pc_get_set_reg_val() with > amd_iommu_pc_set_reg_val() and amd_iommu_pc_[set|get]_cnt_vals(). > > Also, the

kernel BUG at net/netfilter/nf_nat_core.c:395

2016-02-10 Thread Oleksandr Natalenko
Hi. With 4.4.1 I've got BUG_ON() triggered in net/netfilter/nf_nat_core.c:395, nf_nat_setup_info(), today on my home router. Here is full trace got via netconsole: [1] I perform LAN NATting using nftables like this: === table ip nat { chain prerouting { type nat hook

[PATCH v8 2/8] ppc64le FTRACE_WITH_REGS implementation

2016-02-10 Thread Torsten Duwe
Implement FTRACE_WITH_REGS for powerpc64, on ELF ABI v2. Initial work started by Vojtech Pavlik, used with permission. * arch/powerpc/kernel/entry_64.S: - Implement an effective ftrace_caller that works from within the kernel binary as well as from modules. *

[PATCH v8 1/8] ppc64 (le): prepare for -mprofile-kernel

2016-02-10 Thread Torsten Duwe
The gcc switch -mprofile-kernel, available for ppc64 on gcc > 4.8.5, allows to call _mcount very early in the function, which low-level ASM code and code patching functions need to consider. Especially the link register and the parameter registers are still alive and not yet saved into a new stack

Re: [PATCH 0/3] cpufreq: Replace timers with utilization update callbacks

2016-02-10 Thread Juri Lelli
On 10/02/16 16:46, Rafael J. Wysocki wrote: > On Wed, Feb 10, 2016 at 3:46 PM, Juri Lelli wrote: > > On 10/02/16 15:26, Rafael J. Wysocki wrote: > >> On Wed, Feb 10, 2016 at 3:03 PM, Juri Lelli wrote: > >> > On 10/02/16 14:23, Rafael J. Wysocki wrote: > >>

Re: [PATCH v8 0/3] tty: Introduce software RS485 direction control support

2016-02-10 Thread Peter Hurley
Hi Matwey, On 02/01/2016 10:09 AM, Matwey V. Kornilov wrote: > Changes from v7: > - rework comments to follow guidelines > - minor style changes > Changes from v6: > - minor style changes > - timers are not IRQSAFE now > Changes from v5: > - rs485_emul variable has been renamed to em485 to

Re: [PATCH RESEND 2/7] mfd: wm5102: Fix defaults array based on testing

2016-02-10 Thread Lee Jones
On Tue, 09 Feb 2016, Charles Keepax wrote: > My automated test is back and now can check defaults against the actual > hardware. This patch updates the defaults array for the differences > detected and removes a couple of completely unused registers. > > Signed-off-by: Charles Keepax

Re: [PATCH RESEND 3/7] mfd: wm8998: Fix defaults array based on testing

2016-02-10 Thread Lee Jones
On Tue, 09 Feb 2016, Charles Keepax wrote: > My automated test is back and now can check defaults against the actual > hardware. This patch updates the defaults array for the differences > detected and removes a couple of completely unused registers. > > Signed-off-by: Charles Keepax

Re: [PATCH RESEND 1/7] mfd: wm5110: Fix defaults array based on testing

2016-02-10 Thread Lee Jones
On Tue, 09 Feb 2016, Charles Keepax wrote: > My automated test is back and now can check defaults against the actual > hardware. This patch updates the defaults array for the differences > detected and removes a couple of completely unused registers. > > Signed-off-by: Charles Keepax

Re: [PATCH v1 1/6] mfd: cros_ec: small kerneldoc fix

2016-02-10 Thread Lee Jones
On Fri, 05 Feb 2016, Tomeu Vizoso wrote: > s/cros_ec_register/cros_ec_query_all > > Signed-off-by: Tomeu Vizoso > --- > > include/linux/mfd/cros_ec.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/linux/mfd/cros_ec.h

Re: [PATCH v8 0/3] tty: Introduce software RS485 direction control support

2016-02-10 Thread Matwey V. Kornilov
2016-02-10 19:05 GMT+03:00 Peter Hurley : > Hi Matwey, > > On 02/01/2016 10:09 AM, Matwey V. Kornilov wrote: >> Changes from v7: >> - rework comments to follow guidelines >> - minor style changes >> Changes from v6: >> - minor style changes >> - timers are not IRQSAFE

Re: [PATCH 2/2] KVM: x86: allow BSP to handle INIT IPIs like APs do

2016-02-10 Thread Bruce Rogers
>>> On 2/8/2016 at 10:53 AM, Jan Kiszka wrote: > On 2016-02-08 18:38, Bruce Rogers wrote: > On 2/8/2016 at 10:27 AM, Bruce Rogers wrote: >> On 2/8/2016 at 09:40 AM, Paolo Bonzini wrote: >>> On 08/02/2016 17:33, Bruce Rogers wrote:

[PATCH V1] mfd: da9063: fix missing volatile registers in the core regmap_range volatile lists

2016-02-10 Thread Steve Twiss
From: Steve Twiss Add an updated set of registers listed in the core regmap_range volatile ranges defined for the DA9063. These new registers contain bits that cannot be considered under the full control of software. Under various conditions the hardware will set

Re: Another proposal for DAX fault locking

2016-02-10 Thread Boaz Harrosh
On 02/09/2016 07:24 PM, Jan Kara wrote: > Hello, > > I was thinking about current issues with DAX fault locking [1] (data > corruption due to racing faults allocating blocks) and also races which > currently don't allow us to clear dirty tags in the radix tree due to races > between faults and

[GIT PULL] libata fixes for v4.5-rc3

2016-02-10 Thread Tejun Heo
Hello, Linus. libata fixes for v4.5-rc3. * PORTS_IMPL workaround for very early ahci controllers is misbehaving on new systems. Disabled on recent ahci versions. * Old-style PIO state machine had a horrible locking problem. Don't know how we've been getting away this far. Fixed. * Other

[PATCH] ceph: fix a wrong comparison

2016-02-10 Thread Anton Protopopov
A negative value rc compared to the positive value ENOENT in the finish_read() function. Signed-off-by: Anton Protopopov --- fs/ceph/addr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ceph/addr.c b/fs/ceph/addr.c index c222137..1b809c9 100644

[PATCH v8 5/8] ppc64 ftrace_with_regs: disable profiling for some files

2016-02-10 Thread Torsten Duwe
Using -mprofile-kernel on early boot code not only confuses the checker but is also useless, as the infrastructure is not yet in place. Proceed like with -pg (remove it from CFLAGS), equally with time.o, ftrace and its helper files. * arch/powerpc/kernel/Makefile, arch/powerpc/lib/Makefile:

Re: [PATCH V1 0/6] Add UEFI 2.6 and ACPI 6.1 updates for RAS on ARM64

2016-02-10 Thread Will Deacon
On Fri, Feb 05, 2016 at 12:13:22PM -0700, Tyler Baicar wrote: > Add support for Generic Hardware Error Source (GHES) v2, which introduces the > capability for the OS to acknowledge the consumption of the error record > generated by the Reliability, Availability and Serviceability (RAS) >

[PATCH v6 1/2] fixed typo in ufshcd-pltfrm

2016-02-10 Thread Joao Pinto
Fixed typo in ufshcd-pltfrm. Signed-off-by: Joao Pinto --- Changes v0->v6: - Nothing changed (just to keep up with patch set version). drivers/scsi/ufs/ufshcd-pltfrm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/ufs/ufshcd-pltfrm.c

Re: [PATCH v3] powerpc32: provide VIRT_CPU_ACCOUNTING

2016-02-10 Thread kbuild test robot
Hi Christophe, [auto build test ERROR on powerpc/next] [also build test ERROR on v4.5-rc3 next-20160210] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Christophe-Leroy/powerpc32-provide

[PATCH] let kernfs_name_locked & kernfs_name return size_t

2016-02-10 Thread Christian Brauner
They return the length of kn->parent or kn->name and should be aligned with kernfs_path_len which also returns size_t. Signed-off-by: Christian Brauner --- fs/kernfs/dir.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/kernfs/dir.c

Re: [PATCH v7 04/10] mfd: axp20x: Add missing copyright notice

2016-02-10 Thread Lee Jones
On Mon, 25 Jan 2016, Maxime Ripard wrote: > On Mon, Jan 25, 2016 at 02:39:57PM +, Lee Jones wrote: > > On Wed, 13 Jan 2016, Chen-Yu Tsai wrote: > > > > > When the driver was merged, the original author did not include a proper > > > copyright notice. This patch adds the notice, backdated to

Re: [PATCH V2] mm/thp/migration: switch from flush_tlb_range to flush_pmd_tlb_range

2016-02-10 Thread Aneesh Kumar K.V
"Aneesh Kumar K.V" writes: > We remove one instace of flush_tlb_range here. That was added by > f714f4f20e59ea6eea264a86b9a51fd51b88fc54 ("mm: numa: call MMU notifiers > on THP migration"). But the pmdp_huge_clear_flush_notify should have > done the require flush

[PATCH] let kernfs_name_locked & kernfs_name return size_t

2016-02-10 Thread Christian Brauner
Simple patch that changes the return value of kernfs_name_locked and kernfs_name to size_t which alignes these functions with kernfs_path_len which also returns size_t. Patch was made against for-4.5 branch. (As per Tejun's request, ccing gre...@linuxfoundation.org and

Re: [PATCHSET] workqueue: break local execution guarantee of unbound work items

2016-02-10 Thread Tejun Heo
Hello, Jiri. On Wed, Feb 10, 2016 at 09:01:38AM +0100, Jiri Slaby wrote: > Thanks all for sorting the issue out. Now it remains to decide what > should go to stable. Given only 0001 is marked as "Fixes", is that enough? I think so. The other two are primarily for debugging anyway. > And what

Re: [PATCH V7 4/5] mfd: max77686: do not set i2c client data for rtc i2c client

2016-02-10 Thread Lee Jones
On Tue, 09 Feb 2016, Laxman Dewangan wrote: > There is different RTC I2C address for RTC block in MAX77686. > Driver is creating dummy i2c client for this address to access > the register of this IP block. > > As there is no call to i2c_get_clientdata() for rtc_i2c client, > there is no need to

Re: [PATCH V7 5/5] rtc: max77686: move initialisation of rtc regmap, irq chip locally

2016-02-10 Thread Lee Jones
On Tue, 09 Feb 2016, Laxman Dewangan wrote: > To make RTC block of MAX77686/MAX77802 as independent driver, > move the registration of i2c device, regmap for register access > and irq_chip for interrupt support inside the RTC driver. > Removed the same initialisation from MFD driver. > > Having

Re: [PATCH 1/2] sched/deadline: add per rq tracking of admitted bandwidth

2016-02-10 Thread Juri Lelli
On 10/02/16 09:37, Steven Rostedt wrote: > On Wed, 10 Feb 2016 11:32:58 + > Juri Lelli wrote: > > > Hi, > > > > I've updated this patch since, with a bit more testing and talking with > > Luca in private, I realized that the previous version didn't manage > > switching

Re: [PATCH] let kernfs_name_locked & kernfs_name return size_t

2016-02-10 Thread Tejun Heo
On Wed, Feb 10, 2016 at 05:18:59PM +0100, Christian Brauner wrote: > They return the length of kn->parent or kn->name and should be aligned with > kernfs_path_len which also returns size_t. > > Signed-off-by: Christian Brauner Acked-by: Tejun Heo

Re: [PATCHv3 1/3] rdmacg: Added rdma cgroup controller.

2016-02-10 Thread Haggai Eran
On 01/02/2016 20:59, Parav Pandit wrote: > On Tue, Feb 2, 2016 at 12:10 AM, Tejun Heo wrote: >> So, I'm really not gonna go for individual drivers defining resources >> on their own. That's a trainwreck waiting to happen. There needs to >> be a lot more scrutiny than that. >> >

Re: [PATCH] usb: core: hub: hub_port_init lock controller instead of bus

2016-02-10 Thread Mathias Nyman
On 08.02.2016 15:49, Chris Bainbridge wrote: The XHCI controller presents two USB buses to the system - one for USB 2 and one for USB 3. When only one bus is locked there is a race condition with two threads in hub_port_init: [8.984500] Call Trace: [8.985698] [] schedule+0x37/0x90 [

Re: [PATCH] gpio: TS-4800: remove useless bgpio_init flags

2016-02-10 Thread Julien Grossholtz
From: "Julien Grossholtz" To: "linus walleij" Cc: gnu...@gmail.com, linux-g...@vger.kernel.org, linux-kernel@vger.kernel.org, "Dan Carpenter" , ker...@savoirfairelinux.com, "Julien Grossholtz"

Re: [mpt3sas driver patches 00/10] mpt3sas driver enhancements and

2016-02-10 Thread Martin K. Petersen
> "Suganath" == Suganath prabu Subaramani > writes: Applied to 4.6/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] selftests/cgroupns: new test for cgroup namespaces

2016-02-10 Thread Serge E. Hallyn
On Sun, Jan 31, 2016 at 06:48:12PM +0100, Alban Crequy wrote: > From: Alban Crequy > > This adds the selftest "cgroupns_test" in order to test the CGroup > Namespace patchset. > > cgroupns_test creates two child processes. They perform a list of > actions defined by the array

Re: [PATCH] video: ARM CLCD: Added dt support to set tim2 register

2016-02-10 Thread Ray Jui
Hi Linus, On 2/10/2016 5:58 AM, Linus Walleij wrote: On Wed, Feb 25, 2015 at 10:01 PM, Arun Ramamurthy wrote: Added code based on linaro tree: http://git.linaro.org/kernel/linux-linaro-stable.git with commit id:6846e7822c4cab5a84672baace3b768c2d0db142 at

Re: [PATCH v8] SATA: OCTEON: support SATA on OCTEON platform

2016-02-10 Thread Tejun Heo
On Tue, Feb 09, 2016 at 12:04:29PM +, Zubair Lutfullah Kakakhel wrote: ... > .../devicetree/bindings/ata/ahci-platform.txt | 1 + > .../devicetree/bindings/mips/cavium/sata-uctl.txt | 42 + > arch/mips/include/asm/octeon/cvmx.h| 9 ++ > drivers/ata/Kconfig

Re: [PATCH 8/9] rfkill: Userspace control for airplane mode

2016-02-10 Thread Johannes Berg
On Mon, 2016-02-08 at 10:11 -0600, Dan Williams wrote: > I'd like to clarify a bit, so tell me if I'm correct or not.  Using > RFKILL_OP_AIRPLANE_MODE_CHANGE does not actually change any device > state. It's just an indicator with no relationship to any of the > registered rfkill switches, right?

Re: [PATCH v3] powerpc32: provide VIRT_CPU_ACCOUNTING

2016-02-10 Thread kbuild test robot
Hi Christophe, [auto build test ERROR on powerpc/next] [also build test ERROR on v4.5-rc3 next-20160210] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Christophe-Leroy/powerpc32-provide

Re: [PATCH] mfd: mt6397: Add platform device ID table

2016-02-10 Thread Lee Jones
On Tue, 09 Feb 2016, Javier Martinez Canillas wrote: > The platform bus_type .match callback attempts to match the platform device > name with an entry on the .id_table if provided and fallbacks to match with > the driver's name if a table is not provided. > > Using a platform device ID to match

Re: [PATCH v8 0/3] tty: Introduce software RS485 direction control support

2016-02-10 Thread Peter Hurley
On 02/10/2016 08:24 AM, Matwey V. Kornilov wrote: > 2016-02-10 19:05 GMT+03:00 Peter Hurley : >> Hi Matwey, >> >> On 02/01/2016 10:09 AM, Matwey V. Kornilov wrote: >>> Changes from v7: >>> - rework comments to follow guidelines >>> - minor style changes >>> Changes from

Re: [PATCH] Intel DNV device IDs SATA

2016-02-10 Thread Tejun Heo
On Fri, Feb 05, 2016 at 03:27:49PM -0800, Alexandra Yates wrote: > Adding Intel codename DNV platform device IDs for SATA. > > Signed-off-by: Alexandra Yates Applied to libata/for-4.5-fixes w/ stable cc'd. Thanks. -- tejun

Re: [PATCH] usb: host: xhci: Replace bus lock with host controller lock

2016-02-10 Thread Mathias Nyman
On 05.02.2016 17:14, Chris Bainbridge wrote: Running task list at fail point: ... Some of the functions appear to be inlined, the exact call chain is: hub_port_init usb_get_device_descriptor usb_get_descriptor usb_control_msg

Re: [PATCH V3 1/4] dt-bindings: mfd: Add bindings for the MediaTek MT6323 PMIC

2016-02-10 Thread Lee Jones
On Wed, 27 Jan 2016, John Crispin wrote: > Signed-off-by: John Crispin > Cc: devicet...@vger.kernel.org > --- > Documentation/devicetree/bindings/mfd/mt6397.txt | 10 ++ > 1 file changed, 6 insertions(+), 4 deletions(-) Applied, thanks. > diff --git

Re: [RFC][PATCH v3 2/4] printk: do not console_cont_flush() on every jump to again

2016-02-10 Thread Petr Mladek
On Sat 2016-01-23 17:15:11, Sergey Senozhatsky wrote: > Every jump to `again' label will call console_cont_flush(), > which is not really something big -- it just adds one extra > raw_spin_lock_irqsave/raw_spin_unlock_irqrestore. However, to > keep the previous behaviour we can call

Re: [PATCH] PCI/MSI: pci-xgene-msi: Enable MSI support in ACPI boot for X-Gene v1

2016-02-10 Thread Marc Zyngier
On 10/02/16 01:56, Duc Dang wrote: > This patch makes pci-xgene-msi driver ACPI-aware and provides > MSI capability for X-Gene v1 PCIe controllers in ACPI boot mode. > > Signed-off-by: Duc Dang Another nail on the ACPI "standardization" coffin, I suppose... Oh well. Acked-by:

RE: [PATCH V1] mfd: da9062: fix missing volatile registers in the core regmap_range volatile lists

2016-02-10 Thread Opensource [Steve Twiss]
On 10 February 2016 16:56, Lee Jones wrote: > To: Opensource [Steve Twiss] > Cc: LINUXKERNEL; David Dajun Chen; Support Opensource > Subject: Re: [PATCH V1] mfd: da9062: fix missing volatile registers in the > core > regmap_range volatile lists > > On Mon, 01 Feb 2016, Steve Twiss wrote: > >

[PATCH] iwlwifi: fix erroneous return value

2016-02-10 Thread Anton Protopopov
The iwl_trans_pcie_start_fw() function may return the positive value EIO instead of -EIO in case of error. Signed-off-by: Anton Protopopov --- drivers/net/wireless/intel/iwlwifi/pcie/trans.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH v2 1/7] irqchip/gic-v3: always return IRQ_SET_MASK_OK_DONE in gic_set_affinity

2016-02-10 Thread Marc Zyngier
On 10/02/16 13:22, Antoine Tenart wrote: > Always return IRQ_SET_MASK_OK_DONE instead of IRQ_SET_MASK_OK when the > affinity has been updated. When using stacked irqchips, returning > IRQ_SET_MASK_OK_DONE means skipping all descendant irqchips. > > Signed-off-by: Antoine Tenart

Re: [PATCH] wlcore: Fix regression in wlcore_set_partition()

2016-02-10 Thread Kalle Valo
Emil Goode writes: > The below commit introduced a regression causing the wlcore > to time out and go into recovery. > > commit 3719c17e1816695f415dd3b4ddcb679f7dc617c8 > ("wlcore/wl18xx: fw logger over sdio") > > Reverting the changes regarding write of the last partition

[PATCH v8 4/8] ppc64 ftrace_with_regs configuration variables

2016-02-10 Thread Torsten Duwe
* arch/powerpc/Makefile: - globally use -mprofile-kernel in case it's configured, available and bug-free. * arch/powerpc/gcc-mprofile-kernel-notrace.sh: - make sure -mprofile-kernel works and has none of the known bugs. * arch/powerpc/kernel/ftrace.c: - error out on

[PATCH v8 8/8] livepatch: Detect offset for the ftrace location during build

2016-02-10 Thread Torsten Duwe
From: Petr Mladek Livepatch works on x86_64 and s390 only when the ftrace call is at the very beginning of the function. But PPC is different. We need to handle TOC and save LR there before calling the global ftrace handler. Now, the problem is that the extra operations have

[PATCH v8 7/8] Enable LIVEPATCH to be configured on ppc64le and add livepatch.o if it is selected

2016-02-10 Thread Torsten Duwe
Signed-off-by: Torsten Duwe --- arch/powerpc/Kconfig | 3 +++ arch/powerpc/kernel/Makefile | 1 + 2 files changed, 4 insertions(+) diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index e5f288c..8c7a327 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig

[PATCH v8 6/8] Implement kernel live patching for ppc64le (ABIv2)

2016-02-10 Thread Torsten Duwe
* create the appropriate files+functions arch/powerpc/include/asm/livepatch.h klp_check_compiler_support, klp_arch_set_pc arch/powerpc/kernel/livepatch.c with a stub for klp_write_module_reloc This is architecture-independent work in progress. * introduce a

Re: [GIT PULL] bcm2835 DT changes for 4.6

2016-02-10 Thread Martin Sperl
> On 09.02.2016, at 01:32, Eric Anholt wrote: > > Hi Florian. Here's the first set of patches for bcm2835 for 4.6. > We've got more DT patches that are going to happen for new boards, > too, but they're still getting polished. > > The following changes since commit

Re: [PATCH v5 RESEND 2/5] ARM: sa1111: ensure no negative value gets returned on positive match

2016-02-10 Thread Ulf Hansson
On 10 February 2016 at 11:47, Marek Szyprowski wrote: > This patch ensures that existing bus match callbacks don't return > negative values (which might be interpreted as potential errors in the > future) in case of positive match. > > Signed-off-by: Marek Szyprowski

Re: [RFC][PATCH v3 1/4] printk: move can_use_console out of console_trylock_for_printk

2016-02-10 Thread Petr Mladek
On Sat 2016-01-23 17:15:10, Sergey Senozhatsky wrote: > This patch moves can_use_console() check out of > console_trylock_for_printk(). Instead it calls it in > console_unlock(), so now console_lock()/console_unlock() are > also 'protected' by can_use_console(). > > Signed-off-by: Sergey

Re: [PATCH v2 14/16] mfd: intel-lpss: Pass SDA hold time to I2C host controller driver

2016-02-10 Thread Lee Jones
On Mon, 30 Nov 2015, Andy Shevchenko wrote: > From: Mika Westerberg > > Intel Skylake the LPSS I2C pad circuit has internal delays that require > programming non-zero SDA hold time for the I2C host controller. If this is > not done communication to slave devices

Re: [PATCH] let kernfs_name_locked & kernfs_name return size_t

2016-02-10 Thread Greg KH
On Wed, Feb 10, 2016 at 05:18:59PM +0100, Christian Brauner wrote: > They return the length of kn->parent or kn->name and should be aligned with > kernfs_path_len which also returns size_t. > > Signed-off-by: Christian Brauner > --- > fs/kernfs/dir.c | 4 ++-- > 1

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