[PATCH net-next] RDS: Invoke ->laddr_check() in rds_bind() for explicitly bound transports.

2015-10-11 Thread Sowmini Varadhan
The IP address passed to rds_bind() should be vetted by the transport's ->laddr_check() for a previously bound transport. This needs to be done to avoid cases where, for example, the application has asked for an IB transport, but the IP address passed to bind is only usable on ethernet interfaces.

Re: [PATCH] powerpc/mpc5xxx: Use of_get_next_parent to simplify code

2015-10-11 Thread Julia Lawall
On Sun, 11 Oct 2015, Christophe JAILLET wrote: > of_get_next_parent can be used to simplify the while() loop and > avoid the need of a temp variable. Can you do something with the loop in __of_translate_address, in drivers/of/address.c? Is there not an iterator for this? julia > > Signed-of

Re: [PATCH] sched_clock: add data pointer argument to read callback

2015-10-11 Thread Thomas Gleixner
Mans, On Fri, 9 Oct 2015, Mans Rullgard wrote: > This passes a data pointer specified in the sched_clock_register() > call to the read callback allowing simpler implementations thereof. > > In this patch, existing uses of this interface are simply updated > with a null pointer. I can't see any s

[PATCH] powerpc/mpc5xxx: Use of_get_next_parent to simplify code

2015-10-11 Thread Christophe JAILLET
of_get_next_parent can be used to simplify the while() loop and avoid the need of a temp variable. Signed-off-by: Christophe JAILLET --- arch/powerpc/sysdev/mpc5xxx_clocks.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/arch/powerpc/sysdev/mpc5xxx_clocks.c b/arch/power

[PATCH] powerpc/numa: Use of_get_next_parent to simplify code

2015-10-11 Thread Christophe JAILLET
of_get_next_parent can be used to simplify the while() loop and avoid the need of a temp variable. Signed-off-by: Christophe JAILLET --- arch/powerpc/mm/numa.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/arch/powerpc/mm/numa.c b/arch/powerpc/mm/numa.c index 8b9502a..b

Re: [PATCH, resend 1/1] x86/kernel: re-use %*ph specifier

2015-10-11 Thread Thomas Gleixner
On Fri, 2 Oct 2015, Andy Shevchenko wrote: > %*ph specifier allows to dump data in hex format using the poiter to a buffer. > This is suitable to use here. > > Signed-off-by: Andy Shevchenko > --- > arch/x86/kernel/jump_label.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > di

[tip:timers/core] timers: Use __fls in apply_slack()

2015-10-11 Thread tip-bot for Rasmus Villemoes
Commit-ID: 9fc4468d546b6eb55b0aa5b04b0c36238ebf57e7 Gitweb: http://git.kernel.org/tip/9fc4468d546b6eb55b0aa5b04b0c36238ebf57e7 Author: Rasmus Villemoes AuthorDate: Fri, 2 Oct 2015 09:45:30 +0200 Committer: Thomas Gleixner CommitDate: Sun, 11 Oct 2015 22:13:46 +0200 timers: Use __fls in

[tip:timers/core] clocksource: Remove return statement from void functions

2015-10-11 Thread tip-bot for Guillaume Gomez
Commit-ID: cfed432d7f4114e16e0163bcfe65e96f0c304493 Gitweb: http://git.kernel.org/tip/cfed432d7f4114e16e0163bcfe65e96f0c304493 Author: Guillaume Gomez AuthorDate: Wed, 23 Sep 2015 13:19:19 +0200 Committer: Thomas Gleixner CommitDate: Sun, 11 Oct 2015 22:13:46 +0200 clocksource: Remove

Re: [PATCH] clock: Remove unneeded return statement from void

2015-10-11 Thread Thomas Gleixner
On Wed, 23 Sep 2015, Guillaume Gomez wrote: FYI, the proper subsystem is clocksource not clock > Signed-off-by: Guillaume Gomez > --- > kernel/time/clocksource.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/kernel/time/clocksource.c b/kernel/time/clocksource.c >

[tip:timers/core] timers: Use __fls in apply_slack()

2015-10-11 Thread tip-bot for Rasmus Villemoes
Commit-ID: 3e17510cbc3e75cae0c96fa38ca469ffe754aedf Gitweb: http://git.kernel.org/tip/3e17510cbc3e75cae0c96fa38ca469ffe754aedf Author: Rasmus Villemoes AuthorDate: Fri, 2 Oct 2015 09:45:30 +0200 Committer: Thomas Gleixner CommitDate: Sun, 11 Oct 2015 22:07:23 +0200 timers: Use __fls in

[tip:timers/core] clock: Remove return statement from void functions

2015-10-11 Thread tip-bot for Guillaume Gomez
Commit-ID: 784e452870c028a03e42af3bd437ec45a88dfe6d Gitweb: http://git.kernel.org/tip/784e452870c028a03e42af3bd437ec45a88dfe6d Author: Guillaume Gomez AuthorDate: Wed, 23 Sep 2015 13:19:19 +0200 Committer: Thomas Gleixner CommitDate: Sun, 11 Oct 2015 22:07:23 +0200 clock: Remove return

Re: [RFC v6 00/25] Re-use nvram module

2015-10-11 Thread Laurent Vivier
On 23/08/2015 12:41, Finn Thain wrote: > The generic NVRAM module, drivers/char/generic_nvram, implements a > /dev/nvram misc device. It is used only by 32-bit PowerPC platforms and > isn't generic enough to be more widely used. > > The RTC NVRAM module, drivers/char/nvram, also implements a /de

Re: [PATCH v4 00/26] ARM: pxa: magician: Rework HTC Magician support

2015-10-11 Thread Robert Jarzmik
Robert Jarzmik writes: > Petr Cvek writes: > >>> Thanks (a pozdrav :-), >>> >>> Pavel > Hi Petr, > > I'll start applying part of this serie today evening (my evening). > All Philipp's acked patches for a start. > > For the minor change

Re: [PATCH v3 4/5] mtd: ofpart: document the lock flag.

2015-10-11 Thread Brian Norris
On Tue, Aug 18, 2015 at 03:34:08PM -, Michal Suchanek wrote: > The lock flag of ofpart is undocumented. Add to binding doc. Good catch. There are a lot of small corners of very old code that never really got reviewed properly, I expect... (And the flag looks very odd. Why exactly is it in the

Re: [PATCH v3 3/5] mtd: ofpart: update devicetree binding specification

2015-10-11 Thread Brian Norris
Hi DT maintainers, It's a bit hypocritical of me, since I've been a slow reviewer as well, but... can we get some review on this one? Usually, I'm comfortable taking driver DT bindings without your review, but this one is a bit more generic and is more far-reaching than the average driver. I'm no

Re: [PATCH v3 2/5] mtd: mtdpart: Do not fail mtd probe when parsing partitions fails.

2015-10-11 Thread Brian Norris
Hi Michal, Sorry for the very long waits here. Unfortunately, I've been saying that a lot lately, as I haven't had a lot of time and have generated a lot of backlog. I really like that you've been working on this though, since there are definitely problems here. On Tue, Aug 18, 2015 at 03:34:07PM

Re: [PATCH v4 1/5] mtd: nand: Create a BBT flag to access bad block markers in raw mode

2015-10-11 Thread Brian Norris
Hi Boris, On Fri, Oct 02, 2015 at 08:27:38AM +0200, Boris Brezillon wrote: > Brian, Archit, > > On Thu, 1 Oct 2015 19:44:34 -0700 > Brian Norris wrote: > > > On Wed, Aug 19, 2015 at 10:19:02AM +0530, Archit Taneja wrote: > > > Some controllers can access the factory bad block marker from OOB on

Re: [PATCH v3 1/5] mtd: mtdpart: add debug prints to partition parser.

2015-10-11 Thread Brian Norris
On Tue, Aug 18, 2015 at 03:34:07PM -, Michal Suchanek wrote: > The probe of a mtd device can fail when a partition parser returns > error. The failure due to partition parsing can be quite mysterious when > multiple partitioning schemes are comiled in and any of them can fail > the probe. > >

Re: [PATCH] kref: prefer atomic_inc_not_zero to atomic_add_unless

2015-10-11 Thread Thomas Hellstrom
Reviewed-by: Thomas Hellstrom On 10/10/2015 12:56 PM, Jason A. Donenfeld wrote: > On most platforms, there exists this ifdef: > > #define atomic_inc_not_zero(v) atomic_add_unless((v), 1, 0) > > This makes this patch functionally useless. However, on PPC, there is > actually an explicit definiti

Re: [PATCH V2 0/5] x86: Intel Code Data Prioritization Support

2015-10-11 Thread Thomas Gleixner
On Thu, 1 Oct 2015, Fenghua Yu wrote: > This patch set supports Intel code data prioritization which is an > extension of cache allocation and allows to allocate code and data cache > seperately. It also includes cgroup interface for the user as seperate > patches. The cgroup interface for cache a

Re: [PATCH V15 00/11] x86: Intel Cache Allocation Technology Support

2015-10-11 Thread Thomas Gleixner
Fenghua, On Thu, 1 Oct 2015, Fenghua Yu wrote: +Cc: Marcelo > This series has some preparatory patches and Intel cache allocation > support. > Changes in v15: > - Add a global IPI to update the closid on CPUs for current tasks. > - Other minor changes where I remove the updating of clos_cbm

Re: [patch] sched: disable task group re-weighting on the desktop

2015-10-11 Thread paul . szabo
Dear Mike, Did you check whether setting min_- and max_interval e.g. as per https://lkml.org/lkml/2015/10/11/34 would help with your issue (instead of your "horrible gs destroying" patch)? Cheers, Paul Paul Szabo p...@maths.usyd.edu.au http://www.maths.usyd.edu.au/u/psz/ School of Mathemat

Re: [PATCH] x86: Fix thermal throttling reporting after kexec

2015-10-11 Thread Thomas Gleixner
Andi, On Fri, 2 Oct 2015, Thomas Gleixner wrote: > On Thu, 1 Oct 2015, Andi Kleen wrote: > > On Thu, Oct 01, 2015 at 11:50:00PM +0200, Andi Kleen wrote: > > > > I see it under the correctness aspect. Mop up before you shut down. > > > > > > Ok. I suspect if you want to clean up all registers ther

Re: [RFC PATCH 0/2] VFIO no-iommu

2015-10-11 Thread Alex Williamson
On Sun, 2015-10-11 at 21:29 +0300, Michael S. Tsirkin wrote: > On Sun, Oct 11, 2015 at 09:28:09PM +0300, Michael S. Tsirkin wrote: > > On Fri, Oct 09, 2015 at 12:40:56PM -0600, Alex Williamson wrote: > > > Recent patches for UIO have been attempting to add MSI/X support, > > > which unfortunately i

Re: [PATCH 2/3] hwrng: stm32 - add support for STM32 HW RNG

2015-10-11 Thread Daniel Thompson
On 5 October 2015 at 10:22, Daniel Thompson wrote: > On 4 October 2015 at 11:32, Linus Walleij wrote: >> On Sat, Oct 3, 2015 at 10:35 PM, Daniel Thompson >> wrote: >> Then this construct: >> >>> +static int stm32_rng_read(struct hwrng *rng, void *data, size_t max, bool >>> wait) >>> +{ >> (...)

Re: [PATCH v2 1/1] x86/early_printk: Use __iomem address space for IO

2015-10-11 Thread Thomas Gleixner
Andy, On Fri, 9 Oct 2015, Andy Shevchenko wrote: > #ifdef CONFIG_PCI > static void mem32_serial_out(unsigned long addr, int offset, int value) > { > - u32 *vaddr = (u32 *)addr; > + void __iomem *vaddr = (void __iomem *)addr; > /* shift implied by pointer type */ > writel(val

Re: [PATCH v3 1/4] usb: gadget: f_midi: free usb request when done

2015-10-11 Thread Clemens Ladisch
Felipe Balbi wrote: > Clemens Ladisch writes: >> Felipe Tonello wrote: >>> req->actual == req->length means that there is no data left to enqueue, >> >> This condition is not checked in the patch. >> >>> so free the request. >>> >>> Signed-off-by: Felipe F. Tonello >>> --- >>> drivers/usb/gadget

Re: [PATCH 2/3] hwrng: stm32 - add support for STM32 HW RNG

2015-10-11 Thread Daniel Thompson
On 5 October 2015 at 10:22, Daniel Thompson wrote: > On 4 October 2015 at 11:32, Linus Walleij wrote: >> On Sat, Oct 3, 2015 at 10:35 PM, Daniel Thompson >> 3. I took out the datasheet for Nomadik STn8820 and it seems that >> the hardware is very similar to what this driver is trying to drive. >>

Re: [PATCH v3] scsi: ufs: add ioctl interface for query request

2015-10-11 Thread Arnd Bergmann
On Sunday 11 October 2015 11:02:34 yga...@codeaurora.org wrote: > > > > no need for the #ifdef here. > > in include\scsi\scsi_host.h > the hook - compat_ioctl is defined inside #ifdef CONFIG_COMPAT > > #ifdef CONFIG_COMPAT > int (* compat_ioctl)(struct scsi_device *dev, int cmd, void __us

Re: [PATCH v4] scsi: ufs: add ioctl interface for query request

2015-10-11 Thread Arnd Bergmann
On Sunday 11 October 2015 14:22:12 Yaniv Gardi wrote: > * @cookie: cookie data > @@ -5106,6 +5308,10 @@ static struct scsi_host_template > ufshcd_driver_template = { > .eh_device_reset_handler = ufshcd_eh_device_reset_handler, > .eh_host_reset_handler = ufshcd_eh_host_reset_han

[tip:x86/apic] x86/io_apic: Make eoi_ioapic_pin() static

2015-10-11 Thread tip-bot for Andy Shevchenko
Commit-ID: 4faefda97bc1be6ca909ba0fd0927ea78f37f67e Gitweb: http://git.kernel.org/tip/4faefda97bc1be6ca909ba0fd0927ea78f37f67e Author: Andy Shevchenko AuthorDate: Fri, 9 Oct 2015 17:24:45 +0300 Committer: Thomas Gleixner CommitDate: Sun, 11 Oct 2015 21:10:31 +0200 x86/io_apic: Make eoi

[tip:x86/cpufeature] x86/cpu/intel: Enable X86_FEATURE_NONSTOP_TSC_S3 for Merrifield

2015-10-11 Thread tip-bot for Andy Shevchenko
Commit-ID: 1cc0166752d598a69f6bb99381d828cbfb5fa9a5 Gitweb: http://git.kernel.org/tip/1cc0166752d598a69f6bb99381d828cbfb5fa9a5 Author: Andy Shevchenko AuthorDate: Thu, 8 Oct 2015 18:56:26 +0300 Committer: Thomas Gleixner CommitDate: Sun, 11 Oct 2015 21:07:26 +0200 x86/cpu/intel: Enable

[tip:x86/platform] x86/intel-mid: Make intel_mid_ops static

2015-10-11 Thread tip-bot for Andy Shevchenko
Commit-ID: d1f0f6c72c14af8a27a6549e0623f7cd61805e83 Gitweb: http://git.kernel.org/tip/d1f0f6c72c14af8a27a6549e0623f7cd61805e83 Author: Andy Shevchenko AuthorDate: Fri, 9 Oct 2015 17:25:41 +0300 Committer: Thomas Gleixner CommitDate: Sun, 11 Oct 2015 21:03:12 +0200 x86/intel-mid: Make i

Re: [PATCH v7 1/2] efi: export efi_capsule_supported() function symbol

2015-10-11 Thread Matt Fleming
On Sun, 11 Oct, at 02:28:30PM, Kweh Hock Leong wrote: > > -Original Message- > > From: Matt Fleming [mailto:m...@console-pimps.org] > > Sent: Sunday, October 11, 2015 6:02 AM > > > > I agree that it makes sense to fold this patch into your PATCH 2, because > > then > > we know why we need

Re: [PATCH 1/6] mmput: use notifier chain to call subsystem exit handler.

2015-10-11 Thread David Woodhouse
On Tue, 2014-07-08 at 13:03 -0400, Jerome Glisse wrote: > > Now regarding the device side, if we were to cleanup inside the file release > callback than we would be broken in front of fork. Imagine the following : > - process A open device file and mirror its address space (hmm or kfd) > thr

Re: [PATCH 1/3] sched: select_task_rq() should check cpu_active() like select_fallback_rq()

2015-10-11 Thread Thomas Gleixner
On Sun, 11 Oct 2015, Oleg Nesterov wrote: > On 10/10, Oleg Nesterov wrote: > > > > I do not understand the cpu_active() check in select_fallback_rq(). > > x86 doesn't need it, and the recent commit dd9d3843755d "sched: Fix > > cpu_active_mask/cpu_online_mask race" documents the fact that on any > >

Linux 4.3-rc5

2015-10-11 Thread Linus Torvalds
The 4.3 release cycle continues to be fairly smooth - knock wood. There's nothing particularly worrying here: we had some annoying fallout from the new strscpy stuff (it's not actually *used* anywhere yet, but we had build failures on some architectures), and a vfs layer change uncovered an ancient

Re: [RFC] nohz: no update idle entry time on get_cpu_idle/iowait_time_us()

2015-10-11 Thread Thomas Gleixner
On Mon, 28 Sep 2015, Yunhong Jiang wrote: > Currently the get_cpu_idle/iowait_time_us() updates the idle_entrytime. > When it's invoked from another CPU and the target CPU has been on idle > already, it will update the idle_entrytime to now, which is incorrect. > > However, the get_cpu_idle/iowait

Re: [RFC PATCH 0/2] VFIO no-iommu

2015-10-11 Thread Michael S. Tsirkin
On Sun, Oct 11, 2015 at 09:28:09PM +0300, Michael S. Tsirkin wrote: > On Fri, Oct 09, 2015 at 12:40:56PM -0600, Alex Williamson wrote: > > Recent patches for UIO have been attempting to add MSI/X support, > > which unfortunately implies DMA support, which users have been > > enabling anyway, but wa

Re: [RFC PATCH 0/2] VFIO no-iommu

2015-10-11 Thread Michael S. Tsirkin
On Fri, Oct 09, 2015 at 12:40:56PM -0600, Alex Williamson wrote: > Recent patches for UIO have been attempting to add MSI/X support, > which unfortunately implies DMA support, which users have been > enabling anyway, but was never intended for UIO. VFIO on the other > hand expects an IOMMU to prov

Re: [RFC PATCH 0/2] VFIO no-iommu

2015-10-11 Thread Alex Williamson
On Sun, 2015-10-11 at 17:29 +, Varun Sethi wrote: > Hi Alex, > Thanks for the patch Alex. This would also require support in Qemu to expose > the physical address to the VM. Are you looking at that part as well? Quoting from below: It should be obvious, but I always feel obligated to

Re: [PATCH] timer: Lazily wakup nohz CPU when adding new timer.

2015-10-11 Thread Thomas Gleixner
On Mon, 28 Sep 2015, Yunhong Jiang wrote: > static void internal_add_timer(struct tvec_base *base, struct timer_list > *timer) > { > + bool kick_nohz = false; > + > /* Advance base->jiffies, if the base is empty */ > if (!base->all_timers++) > base->timer_jiffies =

Re: [PATCH 1/3] sched: select_task_rq() should check cpu_active() like select_fallback_rq()

2015-10-11 Thread Oleg Nesterov
On 10/10, Oleg Nesterov wrote: > > I do not understand the cpu_active() check in select_fallback_rq(). > x86 doesn't need it, and the recent commit dd9d3843755d "sched: Fix > cpu_active_mask/cpu_online_mask race" documents the fact that on any > architecture we can ignore !active starting from CPU_

RE: [RFC PATCH 0/2] VFIO no-iommu

2015-10-11 Thread Varun Sethi
Hi Alex, Thanks for the patch Alex. This would also require support in Qemu to expose the physical address to the VM. Are you looking at that part as well? Regards Varun -Original Message- From: iommu-boun...@lists.linux-foundation.org [mailto:iommu-boun...@lists.linux-foundation.org] O

Re: [PATCH v6 1/2] ARM: irqchip: mxs: prepare driver for HW with different offsets

2015-10-11 Thread Thomas Gleixner
Oleksij, On Sat, 10 Oct 2015, Oleksij Rempel wrote: The proper subject line starts with: irqchip/mxs: > Some HW has similar functionality but different register offsets. > Make sure we can change offsets dynamically. The patch does way more than that. I told you in V2 already: > > You forgot

Re: [Linux] Linux PID algorithm is BRAINDEAD!

2015-10-11 Thread Dave Goel
Ted, Here's a method to achieve the same goal (no immediate pid re-use), but without using any queues whatsoever: All freshly available PIDs are entered into PoolA. Every N seconds, a timer moves PoolA->PoolB, and PoolB->Free PIDs. And, the current PID allocation algo continues its allocation j

4.3 group scheduling regression

2015-10-11 Thread Mike Galbraith
(change subject, CCs) On Sun, 2015-10-11 at 04:25 +0200, Mike Galbraith wrote: > > Is the interactivity the same (horrible) at fe32d3cd5e8e (ie, before the > > load tracking rewrite from Yuyang)? It is the rewrite, 9d89c257dfb9c51a532d69397f6eed75e5168c35. Watching 8 single hog groups vs 1 tben

[PATCHv4 1/2] ARM: exynos_defconfig: Enable rtl8152 ethernet driver for Odroid-XU4

2015-10-11 Thread Anand Moon
Odroid XU4 has a RTL8153-CG gigabit Ethernet adapter, connected over USB 3.0. Signed-off-by: Anand Moon Reviewed-by: Krzysztof Kozlowski --- Changes: Fixed the commit message thanks to Krzysztof Kozlowski Added reviewed by Krzysztof Kozlowski --- arch/arm/configs/exynos_defconfig | 1 +

[PATCHv4 2/2] ARM: multi_v7_defconfig: Enable rtl8152 ethernet driver for Odroid-XU4

2015-10-11 Thread Anand Moon
Odroid XU4 has a RTL8153-CG gigabit Ethernet adapter, connected over USB 3.0. Signed-off-by: Anand Moon Reviewed-by: Krzysztof Kozlowski --- Changes: Fixed the commit message thanks to Krzysztof KozlowskAdded reviewed by Krzysztof Kozlowski Added reviewed by Krzysztof Kozlowski

Re: [PATCH 1/1] I have a board it block on i8259A_shutdown when I want to poweroff. It is not always re-produce.

2015-10-11 Thread Thomas Gleixner
Figo, On Sat, 10 Oct 2015, Figo wrote: Thanks for resending, but let me clarify a few things. Subject line: [PATCH 1/1] I have a board it block on i8259A_shutdown when I want to poweroff. It is not always re-produce. That's not a proper patch subject line. It should start with the s

Re: [PATCH 2/4] Staging: rtl8712: Use ether_addr_equal() over memcmp()

2015-10-11 Thread Joe Perches
On Sun, 2015-10-11 at 16:42 +0530, punit vara wrote: > following are the two structure need to be consider for alignment. > > struct iw_pmksa { > __u32 cmd; /* 0 4 */ > struct sockaddrbssid;/* 416 */ > __u8

[PATCH 2/5] cpufreq: create cpu/cpufreq at boot time

2015-10-11 Thread Viresh Kumar
Later patches will need to create policy specific directories in /sys/devices/system/cpu/cpufreq/ directory and so the cpufreq directory wouldn't be ever empty. And so no fun creating/destroying it on need basis anymore. Create it once on system boot. Signed-off-by: Viresh Kumar --- drivers/cpu

[PATCH 3/5] cpufreq: remove cpufreq_sysfs_{create|remove}_file()

2015-10-11 Thread Viresh Kumar
They don't do anything special now, remove the unnecessary wrapper. Signed-off-by: Viresh Kumar --- drivers/cpufreq/cpufreq.c | 22 +- include/linux/cpufreq.h | 2 -- 2 files changed, 5 insertions(+), 19 deletions(-) diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufre

[PATCH 1/5] cpufreq: Use cpumask_copy instead of cpumask_or to copy a mask

2015-10-11 Thread Viresh Kumar
Signed-off-by: Viresh Kumar --- drivers/cpufreq/cpufreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c index 25c4c15103a0..b32521432db4 100644 --- a/drivers/cpufreq/cpufreq.c +++ b/drivers/cpufreq/cpufreq.c @@ -1221,7 +1

[PATCH 5/5] cpufreq: Drop redundant check for inactive policies

2015-10-11 Thread Viresh Kumar
We just made sure policy->cpu is online and this check will always fail as the policy is active. Drop it. Signed-off-by: Viresh Kumar --- drivers/cpufreq/cpufreq.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c index 58aabe0f2d2c..

[PATCH 4/5] cpufreq: create cpu/cpufreq/policyX directories

2015-10-11 Thread Viresh Kumar
The cpufreq sysfs interface had been a bit inconsistent as one of the CPUs for a policy had a real directory within its sysfs 'cpuX' directory and all other CPUs had links to it. That also made the code a bit complex as we need to take care of moving the sysfs directory if the CPU containing the re

Re: [PATCH v3 5/5] ARM: sun5i: Add C.H.I.P DTS

2015-10-11 Thread Maxime Ripard
On Fri, Oct 09, 2015 at 11:22:23PM +0800, Chen-Yu Tsai wrote: > On Fri, Oct 9, 2015 at 4:42 PM, Maxime Ripard > wrote: > > The C.H.I.P. is a small SBC with an Allwinner R8, 8GB of NAND, 512MB of > > RAM, USB host and OTG, a wifi / bluetooth combo chip, an audio/video jack > > and two connectors to

Re: [PATCH RFC 1/1] irqchip/GICv2m: Add support for multiple v2m frames

2015-10-11 Thread Duc Dang
On Fri, Oct 9, 2015 at 2:10 AM, Marc Zyngier wrote: > Hi Duc, > > On 08/10/15 08:48, Duc Dang wrote: >> GICv2m driver currently only supports single v2m frame. This >> patch extend this driver to support multiple v2m frames. All of >> the v2m frames will be own by a single MSI domain. Each PCIe no

[PATCH] gpio: fix platform_no_drv_owner.cocci warnings

2015-10-11 Thread kbuild test robot
drivers/gpio/gpio-tps65218.c:153:3-8: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci CC: Nicolas Saenz Julienne Signed-off-by: Fengguang Wu --- gpio-tps65218.

Re: [PATCH] gpio: add tps65218 gpio driver

2015-10-11 Thread kbuild test robot
Hi Nicolas, [auto build test WARNING on gpio/for-next -- if it's inappropriate base, please ignore] coccinelle warnings: (new ones prefixed by >>) >> drivers/gpio/gpio-tps65218.c:153:3-8: No need to set .owner here. The core >> will do it. Please review and possibly fold the followup patch.

Re: [PATCH v3 4/5] ARM: sun5i: dt: Add UART3 CTS and RTS pins

2015-10-11 Thread Maxime Ripard
On Fri, Oct 09, 2015 at 10:24:56PM +0800, Chen-Yu Tsai wrote: > On Fri, Oct 9, 2015 at 4:42 PM, Maxime Ripard > wrote: > > Add a separate pinctrl node for the UART3 CTS and RTS pins shared between > > the A10s and A13. > > > > Signed-off-by: Maxime Ripard > > Reviewed-by: Hans de Goede > > Revi

Re: [PATCH v3 3/5] ARM: sun5i: dt: Move uart3 pinctrl node to common DTSI

2015-10-11 Thread Maxime Ripard
On Fri, Oct 09, 2015 at 10:22:40PM +0800, Chen-Yu Tsai wrote: > On Fri, Oct 9, 2015 at 4:42 PM, Maxime Ripard > wrote: > > The uart3 pins are shared between the A10s and A13, move the pinctrl node > > to the common DTSI to avoid duplication. > > > > Signed-off-by: Maxime Ripard > > Reviewed-by: H

Re: [PATCH v3 1/5] ARM: sunxi: Add R8 support

2015-10-11 Thread Maxime Ripard
On Fri, Oct 09, 2015 at 10:20:29PM +0800, Chen-Yu Tsai wrote: > On Fri, Oct 9, 2015 at 4:42 PM, Maxime Ripard > wrote: > > The R8 is a new Allwinner SoC based on the A13. While both are very > > similar, there's still a few differences. Introduce a new compatible to > > deal with them. > > > > In

Re: thinkpad_acpi: Lenovo ThinkPad Yoga 12 side lock button (0x6020)

2015-10-11 Thread Darren Hart
On Sun, Oct 11, 2015 at 09:12:54AM -0300, Henrique de Moraes Holschuh wrote: > On Sat, 10 Oct 2015, Darren Hart wrote: > > The Lenovo ThinkPad Yogo 12 has a button on the side by the power and volume > > keys with a padlock icon on it, I presume intended to be used as Screenlock. > > > > It emits

Re: [PATCH v5 1/3] initialize each mbigen device node as a interrupt controller.

2015-10-11 Thread Thomas Gleixner
On Sun, 11 Oct 2015, Marc Zyngier wrote: > On Sun, 11 Oct 2015 11:54:49 +0200 > Thomas Gleixner wrote: > > > On Sat, 10 Oct 2015, Marc Zyngier wrote: > > > On Sat, 10 Oct 2015 17:01:32 +0800 > > > "majun (F)" wrote: > > > > But there is a problem If i make the structure like you said. > > > > >

Re: [PATCH v3] ARM: dts: sunxi: Add regulators for LeMaker BananaPi

2015-10-11 Thread Maxime Ripard
On Thu, Oct 08, 2015 at 12:18:36AM +0200, Timo Sigurdsson wrote: > sun7i-a20-bananapi.dts doesn't contain regulator nodes for the AXP209 PMU > driver, so add them to allow for voltage-scaling with cpufreq-dt. Also > add board-specific OPP to use slightly higher voltages at lower > frequencies since

[PATCH] gpio: add tps65218 gpio driver

2015-10-11 Thread Nicolas Saenz Julienne
Driver for the GPIO block found in ti's tps65218 pmics. The device has two GPIOs and one GPO pin which can be configured as follows: GPIO1: -general-purpose, open-drain output controlled by GPO1 user bit and/or sequencer -DDR3 reset input signal from SOC. Signal is either

Re: [PATCH v3] ALSA: bebob: constify various snd_bebob structures

2015-10-11 Thread Takashi Iwai
On Sun, 11 Oct 2015 14:29:30 +0200, Takashi Sakamoto wrote: > > On Oct 11 2015 15:10, Julia Lawall wrote: > > The structures of type snd_bebob_clock_spec, snd_bebob_rate_spec, > > snd_bebob_meter_spec, and snd_bebob_spec are never modified after they are > > initialized. Make them all const. > >

[PATCH 2/3] ARM: dts: use vmmc-supply of emmc/sd for exynos5422-odroidxu3

2015-10-11 Thread Anand Moon
Added support for vmmc/vqmmc-supply for emmc/sd cards. Fixed the min values for regulator ldo13_reg (VDDQ_MMC2). Added ramp-delay for LDO9(VDD33_USB3_0). Added ramp-delay for LDO13(VDDQ_MMC2). Added ramp-delay for LDO15(ETH_P3V3). Signed-off-by: Anand Moon --- Changes based on git://git.kernel.

[PATCH 1/3] ARM: dts: exynos5422-odroidxu3: use cd-gpio method to detect sd-card

2015-10-11 Thread Anand Moon
From: Jaehoon Chung To detect sd-card use the cd-gpio method. It can decrease the interrupt for detecting sd-card. Signed-off-by: Jaehoon Chung Signed-off-by: Anand Moon --- Changes based on git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git v4.4-next/dt-samsung branch --

RE: [PATCH] [v4] x86, suspend: Save/restore extra MSR registers for suspend

2015-10-11 Thread Doug Smythies
Hi Yu, thanks for your reply. On 2015.10.10 19:27 Chen, Yu C wrote: > On 2105.10.10 02:56 Doug Smythies wrote: > >>> The current version of the intel_pstate driver is incompatible with >>> any use of Clock Modulation, always resulting in driving the target >>> pstate to the minimum, regardless of

[PATCH 3/3] ARM: dts: exynos5422-odroidxu3: Added UHS-I bus speed support

2015-10-11 Thread Anand Moon
Added support for UHS-I bus speed 50MB/s (SDR50, DDR50) 104MB/s (SDR104) Signed-off-by: Anand Moon --- Changes based on git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git v4.4-next/dt-samsung branch Changes Fixed the UHS-I bus speed detedtion on cold boot. [2.439806] m

Re: [PATCH] Documentation: Remove misleading examples of the barriers in wake_*()

2015-10-11 Thread Boqun Feng
On Tue, Oct 06, 2015 at 06:06:50PM +0200, Peter Zijlstra wrote: > On Thu, Sep 24, 2015 at 09:21:22PM +0800, Boqun Feng wrote: > > > Included in it are some of the details on this subject, because a wakeup > > > has two prior states that are of importance, the tasks own prior state > > > and the wak

[PATCH] Staging: vt6655: Renamed uRATE to rate

2015-10-11 Thread Paul McQuade
Renamed uRATE to rate to avoid camelcase Signed-off-by: Paul McQuade --- drivers/staging/vt6655/rf.c | 12 ++-- drivers/staging/vt6655/rf.h | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/staging/vt6655/rf.c b/drivers/staging/vt6655/rf.c index c537321..4

[PATCH v2] nouveau: fix OpenFirmware support

2015-10-11 Thread Laurent Vivier
On PowerMac G5 (and I think on all OpenFirmware platforms), nvbios_pcirTp() returns NULL. But in fact the OpenFirmware has given us the size we can store in image->size. The NV34 has a small image and an invalid checksum, we manage this by changing the size of the header we try to fetch (reduce fr

Re: [RFC PATCH 1/2] usb: doc: Add bindings for ULPI platform driver

2015-10-11 Thread Kishon Vijay Abraham I
Hi, On Sunday 11 October 2015 04:45 PM, punnaiah choudary kalluri wrote: > On Wed, Sep 30, 2015 at 9:48 PM, Felipe Balbi wrote: >> On Thu, Sep 24, 2015 at 11:18:01AM -0500, Rob Herring wrote: >>> On Thu, Sep 24, 2015 at 4:26 AM, Subbaraya Sundeep Bhatta >>> wrote: Hi Peter, > -

Re: [PATCH] nouveau: fix OpenFirmware support

2015-10-11 Thread Laurent Vivier
Le 11/10/2015 01:49, Ilia Mirkin a écrit : > On Sat, Oct 10, 2015 at 7:45 PM, Laurent Vivier wrote: >> >> >> Le 10/10/2015 21:56, Ilia Mirkin a écrit : >>> On Sat, Oct 10, 2015 at 3:29 PM, Laurent Vivier wrote: Le 10/10/2015 20:41, Ilia Mirkin a écrit : > Hi Laurent, > >>

Re: [PATCH 1/3] iio:adc: add iio driver for Palmas (twl6035/7) gpadc

2015-10-11 Thread Jonathan Cameron
On 04/10/15 17:04, H. Nikolaus Schaller wrote: > > Am 27.09.2015 um 17:21 schrieb Jonathan Cameron : > >> On 23/09/15 13:48, H. Nikolaus Schaller wrote: >>> This driver code was found as: >>> >>> https://android.googlesource.com/kernel/tegra/+/aaabb2e045f31e5a970109ffdaae900dd403d17e/drivers/stag

RE: [PATCH v7 1/2] efi: export efi_capsule_supported() function symbol

2015-10-11 Thread Kweh, Hock Leong
> -Original Message- > From: Matt Fleming [mailto:m...@console-pimps.org] > Sent: Sunday, October 11, 2015 6:02 AM > > I agree that it makes sense to fold this patch into your PATCH 2, because then > we know why we need the above symbol to be exported. > Okay, I will squash that into my

Re: [PATCH v2 1/3] iio:adc: add iio driver for Palmas (twl6035/7) gpadc

2015-10-11 Thread Jonathan Cameron
On 05/10/15 07:14, H. Nikolaus Schaller wrote: > This driver code was found as: > > https://android.googlesource.com/kernel/tegra/+/aaabb2e045f31e5a970109ffdaae900dd403d17e/drivers/staging/iio/adc > > Fixed various compilation issues and test this driver on omap5 evm. > > Signed-off-by: Pradeep

Re: [kbuild-all] [PATCH 4/5 v2] pseries/iommu: implement DDW-aware dma_get_page_shift

2015-10-11 Thread Fengguang Wu
Hi Michael, > > > > How did the robot decide to build this series in the first place? Does > > > > it build > > > > everything sent to one of the lists on CC? > > > > > > Yes, currently the following mailing lists are subscribed. Patches > > > sent to them will be tested if they can be git-am t

Re: [PATCH v3 7/7] ARM: bcm2835: Add VC4 to the device tree.

2015-10-11 Thread Stefan Wahren
Am 09.10.2015 um 23:27 schrieb Eric Anholt: VC4 is the GPU (display and 3D) present on the 2835. Signed-off-by: Eric Anholt --- v2: Sort by register address, mark HDMI as disabled by default in the SoC file and enable it from -rpi. v3: Add references to the pixel/HSM clocks for HDMI. Re

testing email patches

2015-10-11 Thread Fengguang Wu
Hi Christoph, On Thu, Oct 08, 2015 at 12:46:16AM -0700, Christoph Hellwig wrote: > Hi Fengguang, > > I think this proactive testing does a little more harm than good in > it's current form. While offering testing for patches that aren't in > git trees and or by people that don't even have a git

Re: [PATCH 1/2] staging: fbtft: add support for ST7789V display controller

2015-10-11 Thread Noralf Trønnes
Den 11.10.2015 09:31, skrev Dennis Menschel: Am 10.10.2015 um 17:36 schrieb Noralf Trønnes: Den 07.10.2015 22:15, skrev Dennis Menschel: This patch adds support for the Sitronix ST7789V display controller. The controller is intended for small color displays with a resolution of up to 320x240 p

[PATCH 1/1] HID: fix some indenting issues

2015-10-11 Thread Jiri Slaby
Some drivers indent some lines in a very weird manner. Fix that. Signed-off-by: Jiri Slaby Cc: Josenivaldo Benito Junior Cc: Franco Catrin Cc: Nikolai Kondrashov Cc: Don Prince Cc: srinivas pandruvada --- drivers/hid/hid-aureal.c | 3 ++- drivers/hid/hid-elecom.c | 2 +- drivers/hid

Re: [PATCH] vf610_adc: Fix internal temperature calculation

2015-10-11 Thread Jonathan Cameron
On 11/10/15 15:05, Jonathan Cameron wrote: > On 08/10/15 03:01, Duan Andy wrote: >> From: Jonathan Cameron Sent: Sunday, September 27, 2015 >> 11:53 PM >>> To: Bhuvanchandra DV; linux-...@vger.kernel.org >>> Cc: ste...@agner.ch; maitysancha...@gmail.com; Duan Fugang-B38611; >>> knaac...@gmx.de; l

Re: [PATCH] vf610_adc: Fix internal temperature calculation

2015-10-11 Thread Jonathan Cameron
On 08/10/15 03:01, Duan Andy wrote: > From: Jonathan Cameron Sent: Sunday, September 27, 2015 > 11:53 PM >> To: Bhuvanchandra DV; linux-...@vger.kernel.org >> Cc: ste...@agner.ch; maitysancha...@gmail.com; Duan Fugang-B38611; >> knaac...@gmx.de; l...@metafoo.de; pme...@pmeerw.net; shawn@linar

Re: [PATCH] iio: mxs-lradc: Fix temperature offset

2015-10-11 Thread Jonathan Cameron
On 07/10/15 00:13, Marek Vasut wrote: > On 10/06/2015 16:22, Alexandre Belloni wrote: >> 0° Kelvin is actually −273.15°C, not -272.15°C. Fix the temperature offset. >> >> Reported-by: Janusz Użycki >> Signed-off-by: Alexandre Belloni > > Nice find :-) > > Acked-by: Marek Vasut Ah, missed this

Re: [PATCH v3 3/7] drm/vc4: Add KMS support for Raspberry Pi.

2015-10-11 Thread Stefan Wahren
Hi Eric, Am 09.10.2015 um 23:27 schrieb Eric Anholt: This is enough for fbcon and bringing up X using xf86-video-modesetting. It doesn't support the 3D accelerator or power management yet. Signed-off-by: Eric Anholt Acked-by: Daniel Vetter --- v2: Drop FB_HELPER select thanks to Archit's pa

Re: [PATCH 1/5] iio: adc: add IMX7D ADC driver support

2015-10-11 Thread Jonathan Cameron
On 08/10/15 11:59, Haibo Chen wrote: > Freescale i.MX7D soc contains a new ADC IP. This patch add this ADC > driver support, and the driver only support ADC software trigger. > > Signed-off-by: Haibo Chen Hi Haibo, A very nice clean driver. I've noted a few minor stylistic things inline that I w

[PATCH] staging: rtl8192u: r8192U_wx: fix negative noise and level values

2015-10-11 Thread Luis de Bethencourt
range->max_qual.noise and level are of type uint8, so they shouldn't be assigned a negative number. Assigning them 0x100 - 98, and 0x100 - 78 which are the equivalent to -98 dBm and -78 dBm, respectively, when IW_QUAL_DBM is set. Signed-off-by: Luis de Bethencourt --- drivers/staging/rtl8192u/r8

Re: [PATCH 2/5] Documentation: add the binding file for Freescale imx7d ADC driver

2015-10-11 Thread Jonathan Cameron
On 11/10/15 14:31, Jonathan Cameron wrote: > On 08/10/15 11:59, Haibo Chen wrote: >> The patch adds the binding file for Freescale imx7d ADC driver. >> >> Signed-off-by: Haibo Chen > Couple of trivial typos.. otherwise fine. >> --- >> .../devicetree/bindings/iio/adc/imx7d-adc.txt | 26 >> +

Re: [PATCH 2/5] Documentation: add the binding file for Freescale imx7d ADC driver

2015-10-11 Thread Jonathan Cameron
On 08/10/15 11:59, Haibo Chen wrote: > The patch adds the binding file for Freescale imx7d ADC driver. > > Signed-off-by: Haibo Chen Couple of trivial typos.. otherwise fine. > --- > .../devicetree/bindings/iio/adc/imx7d-adc.txt | 26 > ++ > 1 file changed, 26 insertio

Re: [PATCH v4 1/3] net: unix: fix use-after-free in unix_dgram_poll()

2015-10-11 Thread Rainer Weikusat
Hannes Frederic Sowa writes: > Jason Baron writes: > >> The unix_dgram_poll() routine calls sock_poll_wait() not only for the wait >> queue associated with the socket s that we are poll'ing against, but also >> calls >> sock_poll_wait() for a remote peer socket p, if it is connected. Thus, >> if

[PATCH] staging: rtl8192u: r8192U_core: fix negative noise value

2015-10-11 Thread Luis de Bethencourt
ieee80211_rx_stats.noise is of type uint8, so it shouldn't be assigned a negative number. Assigning it 0x100 - 98, which is the equivalent to -98 dBm when IW_QUAL_DBM is set. Signed-off-by: Luis de Bethencourt --- drivers/staging/rtl8192u/r8192U_core.c | 4 ++-- 1 file changed, 2 insertions(+),

[PATCH 13/14] cgroup: keep zombies associated with their original cgroups

2015-10-11 Thread Tejun Heo
cgroup_exit() is called when a task exits and disassociates the exiting task from its cgroups and half-attach it to the root cgroup. This is unnecessary and undesirable. No controller actually needs an exiting task to be disassociated with non-root cgroups. Both cpu and perf_event controllers upd

[PATCH 14/14] cgroup: add cgroup_subsys->free() method and use it to fix pids controller

2015-10-11 Thread Tejun Heo
pids controller is completely broken in that it uncharges when a task exits allowing zombies to escape resource control. With the recent updates, cgroup core now maintains cgroup association till task free and pids controller can be fixed by uncharging on free instead of exit. This patch adds cgr

[PATCH 12/14] cgroup: make css_set_rwsem a spinlock and rename it to css_set_lock

2015-10-11 Thread Tejun Heo
css_set_rwsem is the inner lock protecting css_sets and is accessed from hot paths such as fork and exit. Internally, it has no reason to be a rwsem or even mutex. There are no internal blocking operations while holding it. This was rwsem because css task iteration used to expose it to external

[PATCH 11/14] cgroup: don't hold css_set_rwsem across css task iteration

2015-10-11 Thread Tejun Heo
css_sets are synchronized through css_set_rwsem but the locking scheme is kinda bizarre. The hot paths - fork and exit - have to write lock the rwsem making the rw part pointless; furthermore, many readers already hold cgroup_mutex. One of the readers is css task iteration. It read locks the rws

Re: [PATCH] iio: Move IIO Dummy Driver out of staging

2015-10-11 Thread Jonathan Cameron
On 09/10/15 14:31, Cristina Opriceana wrote: > This patch moves the reference IIO dummy driver from drivers/staging/iio > into a separate folder, drivers/iio/dummy and adds the proper Kconfig > and Makefile for it. > > A new config menu entry called IIO dummy driver has also been added > in the In

<    1   2   3   4   >