Re: [PATCH 2/2] regulator: core: Ensure we are at least in bounds for our constraints

2016-03-28 Thread Bjorn Andersson
On Sun, Mar 27, 2016 at 2:08 AM, Mark Brown wrote: > On Sat, Mar 26, 2016 at 04:50:41PM -0700, Bjorn Andersson wrote: > >> Reinstating the following snippet in of_get_regulation_constraints() >> sort this out: > >> if (constraints->min_uV && constraints->max_uV) >>

Re: ARC dw-mshc binding compat string

2016-03-28 Thread Vladimir Zapolskiy
Hi, On 28.03.2016 15:50, Marek Vasut wrote: > On 03/28/2016 12:34 PM, Jaehoon Chung wrote: >> Hi, > > Hi, > > [...] > > That said, I would rather prefer to see "snps,dw-mshc" prefix on > description > of an MMC controller found on SoCFPGA series, "altr,socfpga-dw-mshc"

[PATCH] intel_menlow: set cdev after null device check to avoid null pointer dereference

2016-03-28 Thread Colin King
From: Colin Ian King intel_menlow_memory_remove sanity checks to see if device is null, however, this check is performed after we have already passed device into a call to acpi_driver_data. If device is null, then acpi_driver_data will produce a null pointer dereference on device. The correct ac

[PATCH] platform/x86: panasonic-laptop: set pcc after null device check to avoid null pointer dereference

2016-03-28 Thread Colin King
From: Colin Ian King acpi_pcc_hotkey_remove sanity checks to see if device is null, however, this check is performed after we have already passed device into a call to acpi_driver_data. If device is null, then acpi_driver_data will produce a null pointer dereference on device. The correct action

Re: rcu_preempt self-detected stall on CPU from 4.5-rc3, since 3.17

2016-03-28 Thread Paul E. McKenney
On Mon, Mar 28, 2016 at 04:12:19PM +, Mathieu Desnoyers wrote: > - On Mar 28, 2016, at 11:56 AM, Paul E. McKenney > paul...@linux.vnet.ibm.com wrote: > > > On Mon, Mar 28, 2016 at 03:07:36PM +, Mathieu Desnoyers wrote: > >> - On Mar 28, 2016, at 9:29 AM, Paul E. McKenney > >> pau

Re: [PATCH 1/2] sched/fair: move cpufreq hook to update_cfs_rq_load_avg()

2016-03-28 Thread Steve Muckle
Hi Dietmar, On 03/28/2016 05:02 AM, Dietmar Eggemann wrote: > Hi Steve, > > these patches fall into the bucket of 'optimization of updating the > value only if the root cfs_rq util has changed' as discussed in '[PATCH > 5/8] sched/cpufreq: pass sched class into cpufreq_update_util' of Mike > T's

[PATCH V2] ARM: dts: AM572x-IDK Initial Support

2016-03-28 Thread Nishanth Menon
From: Schuyler Patton The AM572x-IDK board is a board based on TI's AM5728 SOC which has a dual core 1.5GHz A15 processor. This board is a development platform for the Industrial market with: - 2GB of DDR3L - Dual 1Gbps Ethernet - HDMI, - PRU-ICSS - uSD - 16GB eMMC - CAN - RS-485 - PCIe - USB3.0

Re: [PATCH] ARM: dts: AM572x-IDK Initial Support

2016-03-28 Thread Nishanth Menon
On 03/25/2016 10:03 AM, Rob Herring wrote: > On Thu, Mar 24, 2016 at 05:30:44PM -0500, Nishanth Menon wrote: >> From: Schuyler Patton [...] >> +- AM5728 IDK >> + compatible = "ti,am5728-idk", "ti,am5728", "ti,dra742", "ti,dra74", >> "ti,dra7" > > Okay, but I think the TI folks have gone a bit

[PATCH v2 1/2] x86/mm: TLB_REMOTE_SEND_IPI should count pages

2016-03-28 Thread Nadav Amit
TLB_REMOTE_SEND_IPI was recently introduced, but it counts bytes instead of pages. In addition, it does not report correctly the case in which flush_tlb_page flushes a page. Fix it to be consistent with other TLB counters. Fixes: 4595f9620cda8a1e973588e743cf5f8436dd20c6 Signed-off-by: Nadav Amit

[PATCH v2 2/2] mm/rmap: batched invalidations should use existing api

2016-03-28 Thread Nadav Amit
The recently introduced batched invalidations mechanism uses its own mechanism for shootdown. However, it does wrong accounting of interrupts (e.g., inc_irq_stat is called for local invalidations), trace-points (e.g., TLB_REMOTE_SHOOTDOWN for local invalidations) and may break some platforms as it

Re: [PATCH v3 02/16] mfd: da8xx-cfgchip: New header file for CFGCHIP registers.

2016-03-28 Thread Sergei Shtylyov
Hello. On 03/28/2016 06:02 PM, David Lechner wrote: +/* register offsets */ +#define CFGCHIP_REG(n)(n * 4) +#define CFGCHIP0_REGCFGCHIP_REG(0) +#define CFGCHIP1_REGCFGCHIP_REG(1) +#define CFGCHIP2_REGCFGCHIP_REG(2) +#define CFGCHIP

[PATCH v2 0/2] Fixes for batched TLB flushes

2016-03-28 Thread Nadav Amit
The recent introduction of batched TLB flushes causes accounting problems in vmstat and misses some tracepoints. In addition, I am afraid it might cause problems in some platforms (Xen, UV) since it uses non-standard APIs. v1->v2 * Added second patch to use standard api for invalidations * cc'ing

Re: [PATCH v6 6/7][Resend] cpufreq: Support for fast frequency switching

2016-03-28 Thread Steve Muckle
On 03/25/2016 06:46 PM, Rafael J. Wysocki wrote: >>> @@ -1726,6 +1810,34 @@ EXPORT_SYMBOL(cpufreq_unregister_notifie >>> >> * GOVERNORS* >>> >> */ >>> >> >>> >> +/** >>>

[PATCH V2 3/3] sched/deadline: Tracepoints for deadline scheduler

2016-03-28 Thread Daniel Bristot de Oliveira
Deadline tasks behave differently of other tasks because deadline task's also depend on their period, deadline and runtime. Hence, the well known sched:sched_wakeup and sched:sched_switch tracepoints are not always enough to precisely explain the behavior of a deadline task with respect to the tas

[PATCH V2 2/3] sched: Move deadline container_of() helper functions into sched.h

2016-03-28 Thread Daniel Bristot de Oliveira
Move dl_task_of(), dl_rq_of_se() and rq_of_dl_rq() helper functions from kernel/sched/deadline.c to kernel/sched/sched.h, so they can be used on other scheduler files. Signed-off-by: Daniel Bristot de Oliveira diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c index affd97e..f6bfb0a

[PATCH V2 1/3] tracing: Add __print_ns_to_secs() and __print_ns_without_secs() helpers

2016-03-28 Thread Daniel Bristot de Oliveira
From: "Steven Rostedt (Red Hat)" To have nanosecond output displayed in a more human readable format, its nicer to convert it to a seconds format (XXX.Y). The problem is that to do so, the numbers must be divided by NSEC_PER_SEC, and moded too. But as these numbers are 64 bit, this can no

[PATCH V2 0/3] Tracepoints for deadline scheduler

2016-03-28 Thread Daniel Bristot de Oliveira
Deadline tasks behave differently of other tasks because deadline task's also depend on their period, deadline and runtime. Hence, the well known sched:sched_wakeup and sched:sched_switch tracepoints are not always enough to precisely explain the behavior of a deadline task with respect to the tas

Re: [PATCH 07/17] watchdog: qcom: add option for standalone watchdog not in timer block

2016-03-28 Thread Matthew McClintock
> On Mar 25, 2016, at 11:23 AM, Guenter Roeck wrote: > >> -#define WDT_RST 0x38 >> -#define WDT_EN 0x40 >> -#define WDT_BITE_TIME 0x5C >> +enum wdt_reg { >> +WDT_RST, >> +WDT_EN, >> +WDT_BITE_TIME, >> +}; >> + >> +static const u32 reg_offset_data_apcs_t

Re: [PATCH] HID: wacom: fix Bamboo ONE oops

2016-03-28 Thread Ping Cheng
On Fri, Mar 25, 2016 at 7:26 AM, Benjamin Tissoires wrote: > > Looks like recent changes in the Wacom driver made the Bamboo ONE crashes. > The tablet behaves as if it was a regular Bamboo device with pen, touch > and pad, but there is no physical pad connected to it. > The weird part is that the

Re: [PATCH RESEND v2 11/18] fs: Ensure the mounter of a filesystem is privileged towards its inodes

2016-03-28 Thread Seth Forshee
On Fri, Mar 04, 2016 at 04:43:06PM -0600, Eric W. Biederman wrote: > In general this is only an issue if uids and gids on the filesystem > do not map into the user namespace. > > Therefore the general fix is to limit the logic of checking for > capabilities in s_user_ns if we are dealing with INVA

Re: [PATCH 09/17] watchdog: qcom: add kpss-standalone to device tree binding

2016-03-28 Thread Matthew McClintock
On Mar 25, 2016, at 9:15 AM, Rob Herring wrote: > > On Wed, Mar 23, 2016 at 05:05:04PM -0500, Matthew McClintock wrote: >> Update the compatible string to add new device tree binding >> >> CC: linux-watch...@vger.kernel.org >> Signed-off-by: Matthew McClintock >> --- >> Documentation/devicetree

[PATCH 1/1] iio: accel: bmc150: fix endianness when reading axes

2016-03-28 Thread Irina Tirdea
For big endian platforms, reading the axes will return invalid values. The device stores each axis value in a 16 bit little endian register. The driver uses regmap_read_bulk to get the axis value, resulting in a 16 bit little endian value. This needs to be converted to cpu endianness to work on bi

fs/ocfs2/aops.c:1881:2-7: WARNING: NULL check before freeing functions like kfree, debugfs_remove, debugfs_remove_recursive or usb_free_urb is not needed. Maybe consider reorganizing relevant code to

2016-03-28 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: f55532a0c0b8bb6148f4e07853b876ef73bc69ca commit: 4506cfb6f8cad594ac73e0df2b2961ca10dbd25e ocfs2: record UNWRITTEN extents when populate write desc date: 3 days ago coccinelle warnings: (new ones prefixed

[PATCH 1/1] iio: gyro: bmg160: fix endianness when reading axes

2016-03-28 Thread Irina Tirdea
For big endian platforms, reading the axes will return invalid values. The device stores each axis value in a 16 bit little endian register. The driver uses regmap_read_bulk to get the axis value, resulting in a 16 bit little endian value. This needs to be converted to cpu endianness to work on bi

[PATCH 1/1] iio: gyro: bmg160: fix buffer read values

2016-03-28 Thread Irina Tirdea
When reading gyroscope axes using iio buffers, the values returned are always 0. In the interrupt handler, the return value of the read operation is returned to the user instead of the value read. Return the value read to the user. This is also fixed in commit 82d8e5da1a33 ("iio: accel: bmg160: op

Re: [PATCH v14 3/4] ARM64: add SBSA Generic Watchdog device node in amd-seattle-soc.dtsi

2016-03-28 Thread Fu Wei
Hi Pratyush, Guenter, On 28 March 2016 at 22:11, Pratyush Anand wrote: > On 28/03/2016:06:46:20 AM, Guenter Roeck wrote: >> On 03/28/2016 06:12 AM, Fu Wei wrote: >> >Hi Wim, Guenter: >> > >> >Great thanks for reviewing and applying this patchset :-) >> >Now I can see almost all the patches of thi

Re: [LKP] [lkp] [futex] 65d8fc777f: +25.6% will-it-scale.per_process_ops

2016-03-28 Thread Darren Hart
On Mon, Mar 21, 2016 at 04:42:47PM +0800, Huang, Ying wrote: > Thomas Gleixner writes: > > > On Mon, 21 Mar 2016, Huang, Ying wrote: > >> > FYI, we noticed 25.6% performance improvement due to commit > >> > > >> >65d8fc777f6d "futex: Remove requirement for lock_page() in > >> > get_futex_ke

4.5 shmem lockdep/out-of-bound/list corruption disaster

2016-03-28 Thread Dave Jones
I hit this a few days ago. I'm not 100% what kernel it was running, but I'm pretty sure it was a post 4.5 kernel from this merge window. WARNING: CPU: 2 PID: 28919 at kernel/locking/lockdep.c:3198 __lock_acquire+0x74d/0x1c60 DEBUG_LOCKS_WARN_ON(class_idx > MAX_LOCKDEP_KEYS) CPU: 2 PID: 28919 Com

[PATCH v2 1/1] iio: accel: bmc150: use common definition for regmap conf

2016-03-28 Thread Irina Tirdea
bmc150_i2c_regmap_conf is defined three times (in bmc150-accel-core.c, bmc150-accel-i2c.c and and bmc150-accel-spi.c), although the definition is the same. Use one common definition for bmc150_i2c_regmap_conf in all included files. Signed-off-by: Irina Tirdea --- Changes from v1: - instead of

Re: [PATCH 09/17] watchdog: qcom: add kpss-standalone to device tree binding

2016-03-28 Thread Rob Herring
On Mon, Mar 28, 2016 at 12:02 PM, Matthew McClintock wrote: > On Mar 25, 2016, at 9:15 AM, Rob Herring wrote: >> >> On Wed, Mar 23, 2016 at 05:05:04PM -0500, Matthew McClintock wrote: >>> Update the compatible string to add new device tree binding >>> >>> CC: linux-watch...@vger.kernel.org >>> Si

Re: [PATCH] net: macb: Only call GPIO functions if there is a valid GPIO

2016-03-28 Thread Sergei Shtylyov
Hello. On 03/28/2016 03:47 PM, Charles Keepax wrote: GPIOlib will print warning messages if we call GPIO functions without a valid GPIO. Change the code to avoid doing so. Signed-off-by: Charles Keepax --- drivers/net/ethernet/cadence/macb.c | 8 +--- 1 file changed, 5 insertions(+), 3

Re: [PATCH 07/31] Add mips-specific parity functions

2016-03-28 Thread David Daney
On 03/26/2016 11:06 PM, zhaoxiu.zeng wrote: From: Zeng Zhaoxiu There is nothing MIPS specific here. Why not put it in asm-generic or some similar place where it can be shared by all architectures? Also, are you sure __builtin_popcount() is available on all GCC versions that are supported

Re: [PATCH v3] dell-rbtn: Ignore ACPI notifications if device is suspended

2016-03-28 Thread Darren Hart
On Thu, Mar 24, 2016 at 12:24:56PM +0100, Gabriele Mazzotta wrote: > 2016-03-24 10:39 GMT+01:00 Pali Rohár : > > On Monday 21 March 2016 16:13:34 Gabriele Mazzotta wrote: > >> 2016-03-21 13:17 GMT+01:00 Pali Rohár : > >> > On Friday 18 March 2016 23:44:23 Gabriele Mazzotta wrote: > >> >> +#ifdef CO

[PATCH] f2fs: fix stale nids in an indirect node block

2016-03-28 Thread Jaegeuk Kim
In truncate_inode_blocks, we can get some stale node block addresses in the following scenario. 1. ipage = get_node_page(ino) 2. unlock_page(ipage) 3. trundate_dnode() - invalidates all the data indices - truncate node block 4. lock_page(ipage) and then failed, goto restart 5. -ENOMEM or -EIO be

Re: [PATCH v2 1/1] iio: accel: bmc150: use common definition for regmap conf

2016-03-28 Thread kbuild test robot
Hi Irina, [auto build test ERROR on iio/togreg] [also build test ERROR on v4.6-rc1 next-20160327] [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/Irina-Tirdea/iio-accel-bmc150-use-common-defini

Re: [PATCH 1/1] iio: accel: bmc150: fix endianness when reading axes

2016-03-28 Thread Peter Meerwald-Stadler
On Mon, 28 Mar 2016, Irina Tirdea wrote: > For big endian platforms, reading the axes will return > invalid values. > > The device stores each axis value in a 16 bit little > endian register. The driver uses regmap_read_bulk to get > the axis value, resulting in a 16 bit little endian value. > Th

Re: [PATCH v2 1/2] x86/mm: TLB_REMOTE_SEND_IPI should count pages

2016-03-28 Thread Nadav Amit
The commit message should have said: Fixes: 5b74283ab251b9db55cbbe31d19ca72482103290 (and not what it currently says). Let me know whether to submit v3. Nadav On 3/26/16, 1:25 AM, "Nadav Amit" wrote: >TLB_REMOTE_SEND_IPI was recently introduced, but it counts bytes instead >of pages. In addi

Re : Re: Ihre Finanzierung/Kredit/Darlehen

2016-03-28 Thread Finanzierung Kredit
Guten Tag Sie benötigen Hilfe finanziell für Ihr Projekt? Kraftfahrzeug? Haus? Unternehmen? Schuld? Rechnung? auf der Suche einer ehrlichen Person, nach Wort und Ernst wir sind dort, um Sie zu dienen, um Ihnen zu stellen an der Bequemlichkeit Sie könnten mit unserer Hilfe für die Erlangung unm

[PATCH 3/5] perf, tools, script: Add support for printing assembler

2016-03-28 Thread Andi Kleen
From: Andi Kleen When dumping PT traces with perf script it is very useful to see the assembler for each sample, so that it is easily possible to follow the control flow. As using objdump is difficult and inefficient from perf script this patch uses the udis86 library to implement assembler outp

[PATCH 1/5] perf, tools: Add support for skipping itrace instructions

2016-03-28 Thread Andi Kleen
From: Andi Kleen When using perf script to look at PT traces it is often useful to ignore the initialization code at the beginning. On larger traces which may have many millions of instructions in initialization code doing that in a pipeline can be very slow, with perf script spending a lot of C

[PATCH 4/5] perf, tools, script: Add brstackasm output for branch stacks

2016-03-28 Thread Andi Kleen
From: Andi Kleen Implement printing full disassembled sequences for branch stacks in perf script. This allows to directly print hot paths for individual samples, together with branch misprediction and even cycle count information. % perf record -b ... % perf script -F brstackasm ...

[PATCH 2/5] perf, tools: Add probing for udev86

2016-03-28 Thread Andi Kleen
From: Andi Kleen Add autoprobing for the udev86 disassembler library. Signed-off-by: Andi Kleen --- tools/build/Makefile.feature | 6 -- tools/build/feature/Makefile | 8 ++-- tools/build/feature/test-all.c| 5 + tools/build/feature/test-udis86.c | 8 tools/p

[PATCH 5/5] perf, tools, report: Add srcline_from/to branch sort keys

2016-03-28 Thread Andi Kleen
From: Andi Kleen Add srcline_from and srcline_to branch sort keys that allow to show the source lines of a branch. That makes it much easier to track down where particular branches happen in the program, for example to examine branch mispredictions, or to associate it with cycle counts: % perf r

Re: [PATCH] fujitsu-laptop: Support radio LED

2016-03-28 Thread Darren Hart
On Tue, Mar 22, 2016 at 02:30:51PM +0100, Michał Kępień wrote: ... > > > First of all, this patch raises a couple of checkpatch warnings. > > > > The code on the whole reads well so I would be happy with it as is. Making > > it (and the existing code) fully compliant with checkpatch results in

Re: [PATCH] pps: kc: fix non-tickless system config dependency

2016-03-28 Thread Maciej S. Szmigiero
Hi Andrew, Could you take this patch, please? Thanks, Maciej On 21.03.2016 15:38, Rodolfo Giometti wrote: > On Mon, Mar 21, 2016 at 03:28:26PM +0100, Maciej S. Szmigiero wrote: >> Hi Rodolfo, >> >> On 06.03.2016 20:13, Rodolfo Giometti wrote: >>> On Sat, Mar 05, 2016 at 06:37:39PM +0100, Maciej

Re: [PATCH v3] dell-rbtn: Ignore ACPI notifications if device is suspended

2016-03-28 Thread Gabriele Mazzotta
2016-03-28 19:33 GMT+02:00 Darren Hart : > On Thu, Mar 24, 2016 at 12:24:56PM +0100, Gabriele Mazzotta wrote: >> 2016-03-24 10:39 GMT+01:00 Pali Rohár : >> > On Monday 21 March 2016 16:13:34 Gabriele Mazzotta wrote: >> >> 2016-03-21 13:17 GMT+01:00 Pali Rohár : >> >> > On Friday 18 March 2016 23:44

[PATCH] ACPICA: Remove unnecessary "\n" from an ACPI_INFO boot message

2016-03-28 Thread Daniel Bristot de Oliveira
A "\n" at the end of bellow ACPI_INFO message is causing a blank line in the kernel log: ACPI_INFO(("%u ACPI AML tables successfully acquired and loaded\n", tables_loaded)); This patch removes the "\n". Kernel log before this patch: ACPI: Core revision 20160108 ACPI: 2 ACPI AM

Re: [PATCHv4 00/25] THP-enabled tmpfs/shmem

2016-03-28 Thread Kirill A. Shutemov
On Fri, Mar 25, 2016 at 05:00:50PM -0700, Hugh Dickins wrote: > On Fri, 25 Mar 2016, Kirill A. Shutemov wrote: > > On Thu, Mar 24, 2016 at 12:08:55PM -0700, Hugh Dickins wrote: > > > On Thu, 24 Mar 2016, Kirill A. Shutemov wrote: > > > > On Wed, Mar 23, 2016 at 01:09:05PM -0700, Hugh Dickins wrote:

Re: [RFC PATCH 0/4] ACPI based PCI host driver with generic ECAM

2016-03-28 Thread Jayachandran C
On Mon, Mar 28, 2016 at 7:12 PM, Sinan Kaya wrote: > Hi, > > On 3/23/2016 6:22 AM, Gabriele Paoloni wrote: >> I had a look at your patchset and also in your git repo at the other >> patches that you ported over from Tomasz; it seems that now we miss >> a quirk mechanism to enable controller that a

Re: [RESEND PATCH 0/3 v4] powercap, intel_rapl, implement time window checks

2016-03-28 Thread Pandruvada, Srinivas
+Jacob On Mon, 2016-03-21 at 08:27 -0400, Prarit Bhargava wrote: > This was submitted back in December and not picked up after review. > > P. > > -8< > The Intel ASDM provides a maximum time window that can be specified > when > setting a time window in the RAPL driver.  While the ASDM d

Re: [PATCH 07/17] watchdog: qcom: add option for standalone watchdog not in timer block

2016-03-28 Thread Guenter Roeck
On Mon, Mar 28, 2016 at 11:55:28AM -0500, Matthew McClintock wrote: > > > On Mar 25, 2016, at 11:23 AM, Guenter Roeck wrote: > > > >> -#define WDT_RST 0x38 > >> -#define WDT_EN0x40 > >> -#define WDT_BITE_TIME 0x5C > >> +enum wdt_reg { > >> + WDT_RST, > >> + WDT_EN, >

Re: [PATCH 09/17] watchdog: qcom: add kpss-standalone to device tree binding

2016-03-28 Thread Guenter Roeck
On Mon, Mar 28, 2016 at 12:02:47PM -0500, Matthew McClintock wrote: > On Mar 25, 2016, at 9:15 AM, Rob Herring wrote: > > > > On Wed, Mar 23, 2016 at 05:05:04PM -0500, Matthew McClintock wrote: > >> Update the compatible string to add new device tree binding > >> > >> CC: linux-watch...@vger.ker

Re: [PATCH v5] iio: potentiometer: add driver for Microchip MCP413X/414X/415X/416X/423X/424X/425X/426X

2016-03-28 Thread Joachim Eastwood
On 28 March 2016 at 16:58, Jonathan Cameron wrote: > On 23/03/16 08:57, Slawomir Stepien wrote: >> The following functionalities are supported: >> - write, read from volatile memory >> >> Datasheet: http://ww1.microchip.com/downloads/en/DeviceDoc/22060b.pdf >> >> Signed-off-by: Slawomir Stepien

Re: [PATCH v6 7/7][Resend] cpufreq: schedutil: New governor based on scheduler utilization data

2016-03-28 Thread Steve Muckle
On 03/26/2016 06:36 PM, Rafael J. Wysocki wrote: +static int sugov_limits(struct cpufreq_policy *policy) >>> +{ >>> + struct sugov_policy *sg_policy = policy->governor_data; >>> + >>> + if (!policy->fast_switch_enabled) { >>> + mutex_lock(&sg_policy

Re: [PATCH v1 0/2] genirq: support multiple IRQ notifier.

2016-03-28 Thread Weongyo Jeong
On Fri, Mar 25, 2016 at 12:32:43PM -0700, Christoph Hellwig wrote: > On Fri, Mar 25, 2016 at 08:51:51AM -0700, Weongyo Jeong wrote: > > Each irq_desc only supports one IRQ affinity notifier at current > > implementation so when we try to register another notifier, it silently > > unregister previou

[PATCH] x86/thread_info: Merge two !__ASSEMBLY__ sections

2016-03-28 Thread Borislav Petkov
From: Borislav Petkov We have #ifndef __ASSEMBLY__ ... #endif #ifndef __ASSEMBLY__ ... #endif Merge the two. No functionality change. Signed-off-by: Borislav Petkov --- arch/x86/include/asm/thread_info.h | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/

Re: [PATCH] intel_menlow: set cdev after null device check to avoid null pointer dereference

2016-03-28 Thread Darren Hart
On Mon, Mar 28, 2016 at 05:18:39PM +0100, Colin King wrote: > From: Colin Ian King > > intel_menlow_memory_remove sanity checks to see if device is null, however, > this check is performed after we have already passed device into a call > to acpi_driver_data. If device is null, then acpi_driver_

Re: [RFC PATCH 1/4] media: Add Media Device Allocator API

2016-03-28 Thread Mauro Carvalho Chehab
Hi Shuah, I reviewed the entire patch series, but I'm adding the comments only here, as the other patches are coherent with this one. Em Fri, 25 Mar 2016 22:38:42 -0600 Shuah Khan escreveu: > Add Media Device Allocator API to manage Media Device life time problems. > There are known problems wi

Re: [RFC PATCH 2/4] media: Add Media Device Allocator API documentation

2016-03-28 Thread Mauro Carvalho Chehab
Em Fri, 25 Mar 2016 22:38:43 -0600 Shuah Khan escreveu: > Add Media Device Allocator API documentation. Please merge this with the previous patch. > > Signed-off-by: Shuah Khan > --- > include/media/media-dev-allocator.h | 32 > 1 file changed, 32 insertions(

Re: [RFC PATCH 4/4] drivers: change au0828, uvcvideo, snd-usb-audio to use Media Device Allocator

2016-03-28 Thread Mauro Carvalho Chehab
Em Fri, 25 Mar 2016 22:38:45 -0600 Shuah Khan escreveu: > Change au0828, uvcvideo, snd-usb-audio to use Media Device Allocator and > new Media Controller API media_device_unregister_put(). > > Signed-off-by: Shuah Khan > --- > drivers/media/usb/au0828/au0828-core.c | 7 +-- > drivers/medi

Re: [RFC PATCH 3/4] media: Add refcount to keep track of media device registrations

2016-03-28 Thread Mauro Carvalho Chehab
Em Fri, 25 Mar 2016 22:38:44 -0600 Shuah Khan escreveu: > Add refcount to keep track of media device registrations to avoid release > of media device when one of the drivers does unregister when media device > belongs to more than one driver. Also add a new interfaces to unregister > a media devi

Re: [PATCH 2/3] swiotlb: prefix dma_to_phys and phys_to_dma functions

2016-03-28 Thread Konrad Rzeszutek Wilk
On Fri, Mar 18, 2016 at 11:00 AM, Sinan Kaya wrote: > On 3/18/2016 8:12 AM, Robin Murphy wrote: >> Since we know for sure that swiotlb_to_phys is a no-op on arm64, it might be >> cleaner to simply not reference it at all. I suppose we could have some >> private local wrappers, e.g.: >> >> #defin

Re: [PATCH 03/31] Add alpha-specific parity functions

2016-03-28 Thread Richard Henderson
On 03/26/2016 10:43 PM, zhaoxiu.zeng wrote: From: Zeng Zhaoxiu Signed-off-by: Zeng Zhaoxiu --- arch/alpha/include/asm/bitops.h | 27 +++ 1 file changed, 27 insertions(+) Acked-by: Richard Henderson r~

Re: [4.4-rc1][Regression] drm/i915: Check live status before reading edid

2016-03-28 Thread Joseph Salisbury
On 03/02/2016 04:58 PM, Joseph Salisbury wrote: > On 02/29/2016 04:33 AM, Jani Nikula wrote: >> On Wed, 24 Feb 2016, Joseph Salisbury wrote: >>> Hi Sonika, >>> >>> A kernel bug report was opened against Ubuntu [0]. After a kernel >>> bisect, it was found that reverting the following commit resolv

Re: [PATCHv4 00/25] THP-enabled tmpfs/shmem

2016-03-28 Thread Hugh Dickins
On Mon, 28 Mar 2016, Kirill A. Shutemov wrote: > > I think I found it. I have refcounting screwed up in faultaround. > > This should fix the problem: Yes, this fixes it for me - thanks. Hugh > > diff --git a/mm/filemap.c b/mm/filemap.c > index 94c097ec08e7..1325bb4568d1 100644 > --- a/mm/file

Re: [RFC PATCH v1 0/4] Add Rockchip RGA support

2016-03-28 Thread Heiko Stübner
Am Montag, 28. März 2016, 13:21:02 schrieb Emil Velikov: > On 22 March 2016 at 00:42, Heiko Stuebner wrote: > > Hi Yakir, > > > > Am Montag, 21. März 2016, 20:17:46 schrieb Yakir Yang: > >> On 03/21/2016 07:29 PM, Heiko Stübner wrote: > >> > Am Montag, 21. März 2016, 17:28:38 schrieb Yakir Yang:

Re: [RFC v0] Use swait in completion

2016-03-28 Thread Steven Rostedt
On Wed, 9 Mar 2016 13:24:23 +0100 Sebastian Andrzej Siewior wrote: > * Josh Cartwright | 2016-03-08 12:26:56 [-0600]: > > >Is it really just about latency? Does this deferral not lead to an > >inversion in the case where the single woken task isn't the highest > >priority waiter on the completi

Re: [PATCH v3] dell-rbtn: Ignore ACPI notifications if device is suspended

2016-03-28 Thread Darren Hart
On Mon, Mar 28, 2016 at 07:58:09PM +0200, Gabriele Mazzotta wrote: > 2016-03-28 19:33 GMT+02:00 Darren Hart : > > On Thu, Mar 24, 2016 at 12:24:56PM +0100, Gabriele Mazzotta wrote: > >> 2016-03-24 10:39 GMT+01:00 Pali Rohár : > >> > On Monday 21 March 2016 16:13:34 Gabriele Mazzotta wrote: > >> >>

Re: ARC dw-mshc binding compat string

2016-03-28 Thread Rob Herring
On Mon, Mar 28, 2016 at 11:16 AM, Vladimir Zapolskiy wrote: > Hi, > > On 28.03.2016 15:50, Marek Vasut wrote: >> On 03/28/2016 12:34 PM, Jaehoon Chung wrote: >>> Hi, >> >> Hi, >> >> [...] >> >> That said, I would rather prefer to see "snps,dw-mshc" prefix on >> description >>>

[GIT PULL] arch/tile bugfixes for 4.6-rc2

2016-03-28 Thread Chris Metcalf
Linus, Please pull the following changes for 4.6-rc2 from: git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile.git master These include updates to MAINTAINERS, some comment spelling fixes, and a bugfix to the tile kgdb.c support. Adam Buchbinder (1): tile: Fix misspelling

Re: [PATCH 07/23] drm: omapdrm: crtc: switch pending variable to atomic bitset

2016-03-28 Thread Laurent Pinchart
Hi Sebastian, Thank you for the patch. On Tuesday 08 Mar 2016 17:39:39 Sebastian Reichel wrote: > Having the pending variable available as atomic bit helps > with the later addition of manually updated display support. > > Signed-off-by: Sebastian Reichel > --- > drivers/gpu/drm/omapdrm/omap_c

Re: [PATCH 14/23] drm: omapdrm: crtc: save framedone callback from dss

2016-03-28 Thread Laurent Pinchart
Hi Sebastian, Thank you for the patch. On Tuesday 08 Mar 2016 17:39:46 Sebastian Reichel wrote: > Save the framedone callback supplied by dss for later > usage. We already have too many callbacks in the driver, making the code difficult to understand. Wouldn't it be possible to cal directly fro

Re: [PATCH 11/23] include: video: omapdss: provide fifo threshold methods

2016-03-28 Thread Laurent Pinchart
Hi Sebastian, Thank you for the patch. On Tuesday 08 Mar 2016 17:39:43 Sebastian Reichel wrote: > The FIFO thresholds must be configured by omapdrm for > manually updated DSI panels due to a hardware bug. I find the subject a bit misleading, it made me think that the patch added new methods, wh

Re: [PATCH 08/23] drm: omapdrm: crtc: add enabled bit to state

2016-03-28 Thread Laurent Pinchart
Hi Sebastian, Thank you for the patch. Given that you only add four lines of code here, and given that the enabled bit is unused here, I'd just squash this patch with the one that makes use of the enabled bit. On Tuesday 08 Mar 2016 17:39:40 Sebastian Reichel wrote: > Signed-off-by: Sebastian

Re: [PATCH 13/23] drm: omapdrm: crtc: update plane fifos on lcd config change

2016-03-28 Thread Laurent Pinchart
Hi Sebastian, Thank you for the patch. On Tuesday 08 Mar 2016 17:39:45 Sebastian Reichel wrote: > Due to a hardware bug, FIFOs thresholds must be > configured very carefully for manually updated > displays. Could you please provide more information about the bug and how the code handles it ? >

Re: [PATCH 10/23] drm: omapdrm: crtc: detect manually updated displays

2016-03-28 Thread Laurent Pinchart
Hi Sebastian, Thank you for the patch. On Tuesday 08 Mar 2016 17:39:42 Sebastian Reichel wrote: > Signed-off-by: Sebastian Reichel > --- > drivers/gpu/drm/omapdrm/omap_crtc.c | 31 ++- > drivers/gpu/drm/omapdrm/omap_drv.h | 1 + > 2 files changed, 31 insertions(+),

Re: [RFC PATCH] Add support for eXclusive Page Frame Ownership (XPFO)

2016-03-28 Thread Laura Abbott
On 03/21/2016 01:37 AM, Juerg Haefliger wrote: ... +void xpfo_free_page(struct page *page, int order) +{ +int i; +unsigned long kaddr; + +for (i = 0; i < (1 << order); i++) { + +/* The page frame was previously allocated to user space */ +if (TEST_AND_CLEAR_XPFO_FLAG(u

Re: arm:collie_defconfig broken since commit ff2b135922 ("gpio: make the gpiochip a real device")

2016-03-28 Thread Guenter Roeck
On Sun, Mar 27, 2016 at 10:03:53PM -0700, Guenter Roeck wrote: > Hi, > > arm:collie_defconfig is broken since commit ff2b135922 ("gpio: make the > gpiochip a real device"). > > Test is quite simple: > > Build arm:collie_defconfig, run with > qemu-system-arm -M collie -kernel arch/arm/boot

Re: [PATCH 1/2] sched/fair: move cpufreq hook to update_cfs_rq_load_avg()

2016-03-28 Thread Steve Muckle
On 03/28/2016 11:30 AM, Dietmar Eggemann wrote: > On 03/28/2016 06:34 PM, Steve Muckle wrote: >> Hi Dietmar, >> >> On 03/28/2016 05:02 AM, Dietmar Eggemann wrote: >>> Hi Steve, >>> >>> these patches fall into the bucket of 'optimization of updating the >>> value only if the root cfs_rq util has cha

Re: [PATCH v3] dell-rbtn: Ignore ACPI notifications if device is suspended

2016-03-28 Thread Gabriele Mazzotta
2016-03-28 20:56 GMT+02:00 Darren Hart : > On Mon, Mar 28, 2016 at 07:58:09PM +0200, Gabriele Mazzotta wrote: >> 2016-03-28 19:33 GMT+02:00 Darren Hart : >> > On Thu, Mar 24, 2016 at 12:24:56PM +0100, Gabriele Mazzotta wrote: >> >> 2016-03-24 10:39 GMT+01:00 Pali Rohár : >> >> > On Monday 21 March

[GIT] IDE

2016-03-28 Thread David Miller
Just two small changes: 1) Remove bogus init annotation in icside, from Arnd Bergmann. 2) Don't use zero clock rates in palm_bk3710 driver, from Wolfram Sang. Please pull, thanks a lot! The following changes since commit 142b9e6c9de0fd7c0dff9a1d4a25390de46abf5e: x86/kallsyms: fix GOLD li

[GIT] Sparc

2016-03-28 Thread David Miller
Minor typing cleanup from Joe Perches, and some comment typo fixes from Adam Buchbinder. Please pull, thanks! The following changes since commit 142b9e6c9de0fd7c0dff9a1d4a25390de46abf5e: x86/kallsyms: fix GOLD link failure with new relative kallsyms table format (2016-03-20 13:52:37 -0700)

Re: [fuse-devel] Horrible mmap write performance (kernel writeback issue?)

2016-03-28 Thread Miklos Szeredi
On Sat, Mar 26, 2016 at 10:42 PM, Jakob Unterwurzacher wrote: > On 16.03.2016 10:44, Miklos Szeredi wrote: >> On Tue, Mar 15, 2016 at 8:55 AM, Jakob Unterwurzacher >> wrote: >>> Just for anybody finding this thread: This still happens in v4.4, it >>> just took longer to trigger. >>> >>> I have po

Re: [PATCH 1/3] perf config: Remove duplicated the code calling set_buildid_dir

2016-03-28 Thread Jiri Olsa
On Mon, Mar 28, 2016 at 02:22:18AM +0900, Taeung Song wrote: > Cc: Jiri Olsa > Cc: Namhyung Kim > Signed-off-by: Taeung Song for the patchset: Acked-by: Jiri Olsa thanks, jirka > --- > tools/perf/perf.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/tools/perf/

Re: [PATCH] i.MX6 PCIe: Fix imx6_pcie_deassert_core_reset() polarity

2016-03-28 Thread Tim Harvey
On Sun, Mar 27, 2016 at 5:26 PM, Fabio Estevam wrote: > On Sun, Mar 27, 2016 at 11:44 AM, Fabio Estevam wrote: > >> Good catch! >> >> Reviewed-by: Fabio Estevam >> >> I will fix imx6q-sabresd.dtsi when this patch gets applied. > > After thinking more about it, I think the correct fix is to rever

Re: [PATCH 04/31] Add avr32-specific parity functions

2016-03-28 Thread Hans-Christian Noren Egtvedt
Around Sun 27 Mar 2016 13:47:02 +0800 or thereabout, zhaoxiu.zeng wrote: > From: Zeng Zhaoxiu > > Signed-off-by: Zeng Zhaoxiu Acked-by: Hans-Christian Noren Egtvedt > --- > arch/avr32/include/asm/bitops.h | 32 > 1 file changed, 32 insertions(+) -- Best r

Re: [PATCH] x86: cpufreq: remove duplicated TDP MSR macro definitions

2016-03-28 Thread Srinivas Pandruvada
On Sat, 2016-03-26 at 20:47 +0200, Vladimir Zapolskiy wrote: > The list of CPU model specific registers contains two copies of TDP > registers, remove the one, which is out of numerical order in the > list. > Thanks for finding this. > Fixes: 6a35fc2d6c22 ("cpufreq: intel_pstate: get P1 from TAR

Re: [PATCH 1/2] sched/fair: move cpufreq hook to update_cfs_rq_load_avg()

2016-03-28 Thread Dietmar Eggemann
On 03/28/2016 06:34 PM, Steve Muckle wrote: Hi Dietmar, On 03/28/2016 05:02 AM, Dietmar Eggemann wrote: Hi Steve, these patches fall into the bucket of 'optimization of updating the value only if the root cfs_rq util has changed' as discussed in '[PATCH 5/8] sched/cpufreq: pass sched class int

Re: [PATCH] i.MX6 PCIe: Fix imx6_pcie_deassert_core_reset() polarity

2016-03-28 Thread Fabio Estevam
Hi Tim, On Mon, Mar 28, 2016 at 4:59 PM, Tim Harvey wrote: > Fabio, > > I would agree with you on this - 5c5fb40de8f143 ("PCI: imx6: Add > support for active-low reset GPIO") should be reverted. > > I just finished bisecting an issue to this specific patch only to find > out Krzysztof found it

Re: [PATCH v4 1/2] watchdog: imx2_wdt: add external reset support via 'ext-reset-output' dt prop

2016-03-28 Thread Akshay Bhat
Hi Shawn, On 02/28/2016 08:56 AM, Fabio Estevam wrote: Rob, On Thu, Jan 28, 2016 at 6:28 PM, Akshay Bhat wrote: I have no objections against the idea and the code itself. But as Guenter pointed out: it would be handy to get feedback from the devicetree maintainers on the above discussion. K

Re: [PATCH v4 5/8] arm64: dts: rockchip: Clean up gpio-keys nodes

2016-03-28 Thread Heiko Stübner
Am Mittwoch, 16. März 2016, 14:58:43 schrieb Andreas Färber: > Drop superfluous #address-cells and #size-cells. > Use KEY_POWER define for 116. > Rename sub-nodes to avoid new dtc warnings. > > Reported-by: Julien Chauveau > Cc: Julien Chauveau > Signed-off-by: Andreas Färber applied to my dts

Re: [PATCH v4 5/8] arm64: dts: rockchip: Clean up gpio-keys nodes

2016-03-28 Thread Heiko Stübner
Am Montag, 28. März 2016, 22:24:12 schrieb Heiko Stübner: > Am Mittwoch, 16. März 2016, 14:58:43 schrieb Andreas Färber: > > Drop superfluous #address-cells and #size-cells. > > Use KEY_POWER define for 116. > > Rename sub-nodes to avoid new dtc warnings. > > > > Reported-by: Julien Chauveau > >

Re: [PATCH v4 2/8] Documentation: devicetree: Add vendor prefix for GeekBuying.com

2016-03-28 Thread Heiko Stübner
Am Mittwoch, 16. März 2016, 14:58:40 schrieb Andreas Färber: > Use "geekbuying". > > Acked-by: Rob Herring > Signed-off-by: Andreas Färber applied to my dts64 branch for 4.7 Thanks Heiko

Re: [RFC PATCH] regulator: Try to resolve regulators supplies on registration

2016-03-28 Thread Javier Martinez Canillas
Hello, [add Bjorn Andersson to cc since I forgot and he authored the mentioned commit] On 03/23/2016 08:59 PM, Javier Martinez Canillas wrote: > Commit 6261b06de565 ("regulator: Defer lookup of supply to regulator_get") > moved the regulator supplies lookup logic from the regulators registration

Question on rhashtable in worst-case scenario.

2016-03-28 Thread Ben Greear
Hello! I have a use case for mac80211 where I create multiple stations to the same remote peer MAC address. I'm seeing cases where the rhashtable logic is returning -16 (EBUSY) on insert (see sta_info_hash_add). This is with the 4.4.6+ (plus local patches) kernel, and it has the patch mentioned

Re: [PATCH v2 1/2] x86/mm: TLB_REMOTE_SEND_IPI should count pages

2016-03-28 Thread Andrew Morton
On Sat, 26 Mar 2016 01:25:04 -0700 Nadav Amit wrote: > TLB_REMOTE_SEND_IPI was recently introduced, but it counts bytes instead > of pages. In addition, it does not report correctly the case in which > flush_tlb_page flushes a page. Fix it to be consistent with other TLB > counters. > > Fixes: 4

Re: [PATCH 07/17] watchdog: qcom: add option for standalone watchdog not in timer block

2016-03-28 Thread Matthew McClintock
On Mar 28, 2016, at 1:13 PM, Guenter Roeck wrote: > >>> bit 0 is the enable bit, and bit 1 enables interrupts. At address 0x08 (eg >>> LPASS_QDSP6SS_WDOG_UNMASKED_INT_EN), bit 0 enables interrupts and bit 1 is >>> undefined. >> >> I honestly don’t see anything at 0x8 for either blocks that looks

Re: [PATCH] i.MX6 PCIe: Fix imx6_pcie_deassert_core_reset() polarity

2016-03-28 Thread Tim Harvey
On Mon, Mar 28, 2016 at 1:13 PM, Fabio Estevam wrote: > Hi Tim, > > On Mon, Mar 28, 2016 at 4:59 PM, Tim Harvey wrote: > >> Fabio, >> >> I would agree with you on this - 5c5fb40de8f143 ("PCI: imx6: Add >> support for active-low reset GPIO") should be reverted. >> >> I just finished bisecting an

Re: [PATCH v2 1/2] x86/mm: TLB_REMOTE_SEND_IPI should count pages

2016-03-28 Thread Nadav Amit
On 3/28/16, 1:38 PM, "Andrew Morton" wrote: >On Sat, 26 Mar 2016 01:25:04 -0700 Nadav Amit wrote: > >> TLB_REMOTE_SEND_IPI was recently introduced, but it counts bytes instead >> of pages. In addition, it does not report correctly the case in which >> flush_tlb_page flushes a page. Fix it to be

Re: linux-next: build failure in Linus' tree

2016-03-28 Thread Arnaldo Carvalho de Melo
Em Sun, Mar 27, 2016 at 05:06:18PM +1100, Stephen Rothwell escreveu: > Hi all, > > After merging the fixes tree, today's linux-next build (perf powerpcle) > failed like this: > > arch/powerpc/util/header.c:17:1: error: no previous prototype for 'get_cpuid' > [-Werror=missing-prototypes] > get_c

<    1   2   3   4   5   6   >