Re: [PATCH v4 3/5] irqchip: Add DT binding doc for the virtual irq demuxer chip

2015-02-20 Thread Mark Rutland
[...] IRQF_NO_SUSPEND and wakeup fundamentally don't match due to the way wakeup is implemented in the IRQ core now. Unless drivers with IRQF_NO_SUSPEND do the wakeup behind the core's back which is just disgusting and should never happen. I completely agree that using

live patching design (was: Re: [PATCH 1/3] sched: add sched_task_call())

2015-02-20 Thread Ingo Molnar
* Jiri Kosina jkos...@suse.cz wrote: On Fri, 20 Feb 2015, Ingo Molnar wrote: So if your design is based on being able to discover 'live' functions in the kernel stack dump of all tasks in the system, I think you need a serious reboot of the whole approach and get rid of that

Re: live patching design (was: Re: [PATCH 1/3] sched: add sched_task_call())

2015-02-20 Thread Jiri Kosina
On Fri, 20 Feb 2015, Ingo Molnar wrote: - the complicated method spread out over time: uses the same essential mechanism plus the ftrace patching machinery to detect whether all tasks have transitioned through a version flip. [this is what kgraft does in part.] The

Re: [B.A.T.M.A.N.] checkpatch: CHECK: No space is necessary after a cast

2015-02-20 Thread Marek Lindner
On Thursday, February 19, 2015 11:55:41 Joe Perches wrote: Can you make a suggestion / patch for checkpatch to better handle this case ? The sizeof test in the current script doesn't work. I believe the patch below works with no false positives but shrug it's perl regexes against odd

Re: [PATCH] clockevents: Add (missing) default case for switch blocks

2015-02-20 Thread Viresh Kumar
On 20 February 2015 at 17:11, Ingo Molnar mi...@kernel.org wrote: * Peter Zijlstra pet...@infradead.org wrote: Maybe we should break that enum into two; one for devices and one for the core interface and avoid the problem that way. Yeah, that would do the trick. Thanks for your

Re: [PATCH 1/2] kprobes/x86: Use 5-byte NOP when the code might be modified by ftrace

2015-02-20 Thread Ingo Molnar
* Petr Mladek pmla...@suse.cz wrote: can_probe() checks if the given address points to the beginning of an instruction. It analyzes all the instructions from the beginning of the function until the given address. The code might be modified by another Kprobe. In this case, the current

[tip:x86/asm] x86/asm: Add support for the pcommit instruction

2015-02-20 Thread tip-bot for Ross Zwisler
Commit-ID: 719d359dc7b6be3e43d6661f192ceb980b10ee26 Gitweb: http://git.kernel.org/tip/719d359dc7b6be3e43d6661f192ceb980b10ee26 Author: Ross Zwisler ross.zwis...@linux.intel.com AuthorDate: Thu, 19 Feb 2015 10:37:28 -0700 Committer: Ingo Molnar mi...@kernel.org CommitDate: Fri, 20 Feb

[tip:x86/urgent] x86/mm/ASLR: Avoid PAGE_SIZE redefinition for UML subarch

2015-02-20 Thread tip-bot for Jiri Kosina
Commit-ID: 570e1aa84c376ff39809442f09c7606ddf62cfd1 Gitweb: http://git.kernel.org/tip/570e1aa84c376ff39809442f09c7606ddf62cfd1 Author: Jiri Kosina jkos...@suse.cz AuthorDate: Fri, 20 Feb 2015 10:18:59 +0100 Committer: Ingo Molnar mi...@kernel.org CommitDate: Fri, 20 Feb 2015 10:55:32

Re: [PATCH] clockevents: Add (missing) default case for switch blocks

2015-02-20 Thread Ingo Molnar
* Viresh Kumar viresh.ku...@linaro.org wrote: So why is a 'default' mode needed then? It makes the addition of new modes to the legacy handler easier, which looks backwards. The requirement was to add another mode ONESHOT_STOPPED [1], to be supported only by the new per-mode

[patch] w1: small cleanup in w1_family_notify()

2015-02-20 Thread Dan Carpenter
sl-family-fops and fops are the same thing, but it's nicer to use fops everywhere. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git a/drivers/w1/w1.c b/drivers/w1/w1.c index 181f41c..59f932f 100644 --- a/drivers/w1/w1.c +++ b/drivers/w1/w1.c @@ -649,7 +649,7 @@ static int

Call for Papers

2015-02-20 Thread MRI Net Journals
Microbiology Research International Dear Colleague, Microbiology Research International (MRI) is an international peer-reviewed open access journal, which publishes innovative work from all areas related to Microbiology. MRI covers a wide range of problems in the areas of fundamental and

Re: Fw: [PATCH] lib/kstrtox.c Stop parsing integer on overflow

2015-02-20 Thread Alexey Dobriyan
On Thu, Feb 19, 2015 at 8:53 PM, Anshul Garg aksgarg1...@gmail.com wrote: On Wed, Feb 18, 2015 at 1:14 PM, Alexey Dobriyan adobri...@gmail.com wrote: On Tue, Feb 17, 2015 at 04:17:24PM -0800, Andrew Morton wrote: ? Begin forwarded message: Date: Mon, 16 Feb 2015 10:48:50 -0800 From: Anshul

[PATCH v10 1/2] mfd: AXP20x: Add bindings documentation

2015-02-20 Thread Chen-Yu Tsai
From: Carlo Caione ca...@caione.org Bindings documentation for the AXP20x driver. In this file also sub-nodes are documented. Signed-off-by: Carlo Caione ca...@caione.org [w...@csie.org: clarify interrupt source for the axp PMIC] [w...@csie.org: explain dcdc-workmode in detail and trim lines to

Re: [PATCH v2 1/2] dma: at_hdmac: Fix calculation of the residual bytes

2015-02-20 Thread Nicolas Ferre
Le 19/02/2015 18:07, Torsten Fleischer a écrit : From: Torsten Fleischer torfl6...@gmail.com This patch fixes the following issues regarding to the calculation of the residue: 1. The residue is always calculated for the current transfer even if the cookie is associated to a pending

Re: [Xen-devel] NUMA_BALANCING and Xen PV guest regression in 3.20-rc0

2015-02-20 Thread Kirill A. Shutemov
On Fri, Feb 20, 2015 at 10:47:52AM +, Andrew Cooper wrote: On 20/02/15 01:49, Linus Torvalds wrote: On Thu, Feb 19, 2015 at 5:05 PM, Kirill A. Shutemov kir...@shutemov.name wrote: I'm feeling I miss very basic background on how Xen works, but why does it set _PAGE_GLOBAL on userspace

Re: [PATCH RESEND v9 00/10] sched: consolidation of CPU capacity and usage

2015-02-20 Thread Peter Zijlstra
On Thu, Feb 19, 2015 at 12:49:40PM +, Morten Rasmussen wrote: Also, it still not clear why patch 10 uses relative capacity reduction instead of absolute capacity available to CFS tasks. As present in your asymmetric big and small systems? Yes it would be unfortunate to migrate a task to an

Re: [PATCH] clockevents: Add (missing) default case for switch blocks

2015-02-20 Thread Peter Zijlstra
On Fri, Feb 20, 2015 at 10:36:59AM +0100, Ingo Molnar wrote: But it does mean we need to be able to add values to the enum. So I'm confused: if we are using proper callbacks (like my example outlined) , why is a 'mode enum' needed at all? Ah, its because the enum is shared between two

Re: [Xen-devel] NUMA_BALANCING and Xen PV guest regression in 3.20-rc0

2015-02-20 Thread Andrew Cooper
On 20/02/15 11:29, Kirill A. Shutemov wrote: On Fri, Feb 20, 2015 at 10:47:52AM +, Andrew Cooper wrote: On 20/02/15 01:49, Linus Torvalds wrote: On Thu, Feb 19, 2015 at 5:05 PM, Kirill A. Shutemov kir...@shutemov.name wrote: I'm feeling I miss very basic background on how Xen works, but

Re: [PATCH v5 2/3] mm: cma: allocation trigger

2015-02-20 Thread Sasha Levin
Stefan, Andrew, I ended up cherry-picking and older patch here by mistake. Joonsoo pointed it out but I didn't have time to address it yet since I'm travelling and they got pulled in to mmotm in the meanwhile. I'll send out patches to add documentation and fix the issues raised here early next

Re: [Xen-devel] NUMA_BALANCING and Xen PV guest regression in 3.20-rc0

2015-02-20 Thread David Vrabel
On 19/02/15 23:09, Linus Torvalds wrote: On Thu, Feb 19, 2015 at 5:06 AM, David Vrabel david.vra...@citrix.com wrote: The NUMA_BALANCING series beginning with 5d833062139d (mm: numa: do not dereference pmd outside of the lock during NUMA hinting fault) and specifically 8a0516ed8b90 (mm:

Re: [PATCH v4 4/4] phy: add phy-hi6220-usb

2015-02-20 Thread zhangfei
On 02/20/2015 12:38 PM, Felipe Balbi wrote: On Fri, Feb 20, 2015 at 11:07:21AM +0800, zhangfei wrote: Hi, Balbi On 02/18/2015 10:35 PM, Felipe Balbi wrote: On Wed, Feb 18, 2015 at 01:44:21PM +0800, zhangfei wrote: Hi, Kishon On 02/18/2015 01:35 PM, Kishon Vijay Abraham I wrote: Hi, On

Re: [PATCH v2] x86: fix output of show_stack_log_lvl()

2015-02-20 Thread Borislav Petkov
On Fri, Feb 20, 2015 at 09:10:03AM +0100, Ingo Molnar wrote: This approach looks good to me, we want to print multi-line messages with the same consistent loglevel. Right, I'll pick this one up for now as it is obviously correct and whatever we end up doing to pr_cont() won't influence it.

Re: [PATCH v4] dma: Add Xilinx AXI Direct Memory Access Engine driver support

2015-02-20 Thread Michal Simek
Hi Vinod, On 02/20/2015 07:29 AM, Vinod Koul wrote: On Sat, Feb 14, 2015 at 02:21:52PM +, Appana Durga Kedareswara Rao wrote: Hi Vinod, -Original Message- From: Vinod Koul [mailto:vinod.k...@intel.com] Sent: Thursday, February 12, 2015 3:05 PM To: Appana Durga Kedareswara Rao

Re: [Xen-devel] NUMA_BALANCING and Xen PV guest regression in 3.20-rc0

2015-02-20 Thread Andrew Cooper
On 20/02/15 01:49, Linus Torvalds wrote: On Thu, Feb 19, 2015 at 5:05 PM, Kirill A. Shutemov kir...@shutemov.name wrote: I'm feeling I miss very basic background on how Xen works, but why does it set _PAGE_GLOBAL on userspace entries? It sounds strange to me. It is definitely strange. I'm

Re: [PATCH V2 RESEND] clk: mxs: Fix invalid 32-bit access to frac registers

2015-02-20 Thread Stefan Wahren
Hi Fabio, Stefan Wahren stefan.wah...@i2se.com hat am 11. Februar 2015 um 21:31 geschrieben: Hi Fabio, Fabio Estevam feste...@gmail.com hat am 11. Februar 2015 um 17:58 geschrieben: Hi Stefan, On Tue, Feb 10, 2015 at 7:24 PM, Stefan Wahren stefan.wah...@i2se.com wrote: Hi

Re: [PATCH RESEND v9 08/10] sched: replace capacity_factor by usage

2015-02-20 Thread Peter Zijlstra
On Thu, Jan 15, 2015 at 11:09:28AM +0100, Vincent Guittot wrote: Finally, the sched_group-sched_group_capacity-capacity_orig has been removed because it's no more used during load balance. Maybe do that in a separate patch to avoid cluttering this one? [1] https://lkml.org/lkml/2014/8/12/295

[PATCH v10 2/2] dt-bindings: add vendor-prefix for X-Powers

2015-02-20 Thread Chen-Yu Tsai
From: Carlo Caione ca...@caione.org Signed-off-by: Carlo Caione ca...@caione.org Signed-off-by: Chen-Yu Tsai w...@csie.org Acked-by: Lee Jones lee.jo...@linaro.org --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v10 0/2] mfd: axp20x: Add DT binding documentation

2015-02-20 Thread Chen-Yu Tsai
Hi everyone, This is v10 of the axp20x series. v10 reverts back to the DT bindings from v8. This is the binding currently supported by the kernel drivers since 3.18. Mark Brown raised concern on the needless changes to active regulator bindings in v9. Maxime, I dropped your Acked-by because of

Re: [PATCH RESEND v9 10/10] sched: move cfs task on a CPU with higher capacity

2015-02-20 Thread Peter Zijlstra
On Thu, Jan 15, 2015 at 11:09:30AM +0100, Vincent Guittot wrote: As a sidenote, this will note generate more spurious ilb because we already s/note/not/ trig an ilb if there is more than 1 busy cpu. If this cpu is the only one that has a task, we will trig the ilb once for migrating the task.

Re: [PATCH] fs: record task name which froze superblock

2015-02-20 Thread Alexey Dobriyan
On Wed, Feb 18, 2015 at 12:13 PM, Jan Kara j...@suse.cz wrote: On Wed 18-02-15 10:34:55, Alexey Dobriyan wrote: On Mon, Feb 16, 2015 at 10:38:52AM +0100, Jan Kara wrote: On Sat 14-02-15 21:55:24, Alexey Dobriyan wrote: Freezing and thawing are separate system calls, task which is supposed

Re: [PATCH] clockevents: Add (missing) default case for switch blocks

2015-02-20 Thread Ingo Molnar
* Peter Zijlstra pet...@infradead.org wrote: On Fri, Feb 20, 2015 at 10:36:59AM +0100, Ingo Molnar wrote: But it does mean we need to be able to add values to the enum. So I'm confused: if we are using proper callbacks (like my example outlined) , why is a 'mode enum' needed at

Re: [PATCH] net: macb: Add big endian CPU support

2015-02-20 Thread Arun Chandran
On Thu, Feb 19, 2015 at 5:52 PM, Michal Simek mon...@monstr.eu wrote: On 02/18/2015 12:29 PM, Arun Chandran wrote: This patch converts all __raw_readl and __raw_writel function calls to their corresponding readl_relaxed and writel_relaxed variants. It also tells the driver to set

Re: [PATCH RESEND v9 00/10] sched: consolidation of CPU capacity and usage

2015-02-20 Thread Morten Rasmussen
On Fri, Feb 20, 2015 at 11:34:47AM +, Peter Zijlstra wrote: On Thu, Feb 19, 2015 at 12:49:40PM +, Morten Rasmussen wrote: Also, it still not clear why patch 10 uses relative capacity reduction instead of absolute capacity available to CFS tasks. As present in your asymmetric big

Re: [PATCH 2/4] of: DT quirks infrastructure

2015-02-20 Thread Ludovic Desroches
On Thu, Feb 19, 2015 at 09:30:58AM -0800, Frank Rowand wrote: On 2/19/2015 9:00 AM, Pantelis Antoniou wrote: Hi Frank, On Feb 19, 2015, at 18:48 , Frank Rowand frowand.l...@gmail.com wrote: On 2/19/2015 6:29 AM, Pantelis Antoniou wrote: Hi Mark, On Feb 18, 2015, at 19:31 , Mark

Re: [PATCH v2] x86: fix output of show_stack_log_lvl()

2015-02-20 Thread Ingo Molnar
* Adrien Schildknecht adrien+...@schischi.me wrote: show_stack_log_lvl() does not set the log level after a new line, the following messages printed with pr_cont are thus assigned to the default log level. This patch prepends the log level to the next message following a new line.

Re: [RFC PATCH 1/3] eeprom: Add a simple EEPROM framework

2015-02-20 Thread Srinivas Kandagatla
On 20/02/15 02:36, Stephen Boyd wrote: On 02/19/15 09:08, Srinivas Kandagatla wrote: diff --git a/drivers/Kconfig b/drivers/Kconfig index c70d6e4..d7afc82 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -184,4 +184,6 @@ source drivers/thunderbolt/Kconfig source

Re: [PATCH] kernel/panic/kexec: fix crash_kexec_post_notifiers option issue in oops path

2015-02-20 Thread HATAYAMA, Daisuke
Hello Eric, Vivek, Do you have any comment to this patch? On 2015/02/05 17:59, HATAYAMA Daisuke wrote: The commit f06e5153f4ae2e2f3b0300f0e260e40cb7fefd45 introduced crash_kexec_post_notifiers kernel boot option, which toggles wheather panic() calls crash_kexec() before or after

Re: [PATCH] dmaengine: qcom_bam_dma: fix wrong register offsets

2015-02-20 Thread Archit Taneja
On 02/19/2015 10:15 PM, Stanimir Varbanov wrote: The commit fb93f520e (dmaengine: qcom_bam_dma: Generalize BAM register offset calculations) wrongly populated base offsets for event registers for bam v1.4. Signed-off-by: Stanimir Varbanov svarba...@mm-sol.com --- drivers/dma/qcom_bam_dma.c

Re: [PATCH] clockevents: Add (missing) default case for switch blocks

2015-02-20 Thread Peter Zijlstra
On Fri, Feb 20, 2015 at 09:38:42AM +0100, Ingo Molnar wrote: * Viresh Kumar viresh.ku...@linaro.org wrote: Many clockevent drivers are using a switch block for handling modes in their -set_mode() callback. Some of these do not have a 'default' case and adding a new mode in the 'enum

Re: [PATCH 1/3] sched: add sched_task_call()

2015-02-20 Thread Jiri Kosina
Alright, so to sum it up: - current stack dumping (even looking at /proc/pid/stack) is not guaranteed to yield correct results in case the task is running at the time the stack is being examined - the only fool-proof way is to send IPI-NMI to all CPUs, and synchronize the handlers

Re: [PATCH tip/core/rcu 0/4] Programmatic nestable expedited grace periods

2015-02-20 Thread Peter Zijlstra
On Thu, Feb 19, 2015 at 09:08:50PM -0800, Paul E. McKenney wrote: Hello! This series, possibly for v3.21, contains changes that allow in-kernel code to specify that all subsequent synchronous grace-period primitives (synchronize_rcu() and friends) be expedited. New rcu_expedite_gp() and

Re: [PATCH 2/3] stacktrace: add save_stack_trace_tsk_safe()

2015-02-20 Thread Jiri Kosina
On Tue, 17 Feb 2015, Andrew Morton wrote: It isn't possible to get the stack of a running task (other than current) because we don't have the stack pointer and the stack can be inconsistent anyway. Add a safe stack saving facility which only saves the stack of the task if it's sleeping

Re: [PATCH] [media] [kbuild] Add and use IS_REACHABLE macro

2015-02-20 Thread Mauro Carvalho Chehab
Em Fri, 20 Feb 2015 10:29:42 +0100 Arnd Bergmann a...@arndb.de escreveu: On Thursday 19 February 2015 16:06:18 Michal Marek wrote: We have similar problems in other areas of the kernel. In theory, we could enforce the VIDEO_TUNER driver to be modular here by adding lots of dependencies

Re: [PATCH 1/3] sched: add sched_task_call()

2015-02-20 Thread Jiri Kosina
On Fri, 20 Feb 2015, Ingo Molnar wrote: So if your design is based on being able to discover 'live' functions in the kernel stack dump of all tasks in the system, I think you need a serious reboot of the whole approach and get rid of that fragility before any of that functionality gets

fs: hfsplus: use after free in

2015-02-20 Thread Sasha Levin
Hi all, While fuzzing with trinity inside a KVM tools guest running the latest -next kernel, I've stumbled on the following spew: [ 2014.561050] BUG: KASan: use after free in memcpy+0x21/0x50 at addr 880ff138afee [ 2014.561050] Read of size 4 by task trinity-main/10201 [ 2014.561050]

[PATCH 2/3] vhost: add support for legacy virtio

2015-02-20 Thread Greg Kurz
Signed-off-by: Greg Kurz gk...@linux.vnet.ibm.com --- drivers/vhost/vhost.h | 20 ++-- 1 file changed, 14 insertions(+), 6 deletions(-) Michael, The vhost_is_little_endian() helper adds unconditionnal overhead to fixed endian architectures: that is all architectures except arm

Re: [PATCH v2] kprobes/x86: Use 5-byte NOP when the code might be modified by ftrace

2015-02-20 Thread Petr Mladek
On Wed 2015-02-18 22:22:05, Ingo Molnar wrote: * Petr Mladek pmla...@suse.cz wrote: On Tue 2015-02-03 16:41:39, Masami Hiramatsu wrote: (2015/02/03 2:48), Petr Mladek wrote: can_probe() checks if the given address points to the beginning of an instruction. It analyzes all the

[PATCH 2/2] kprobes/x86: Check for invalid ftrace location in __recover_probed_insn()

2015-02-20 Thread Petr Mladek
__recover_probed_insn() should always be called from an address where an instructions starts. The check for ftrace_location() might help to discover a potential inconsistency. Something goes terribly wrong when an address inside the ftrace location is checked. Let's BUG() in this case.

Re: [GIT PULL] Btrfs

2015-02-20 Thread Markus Trippelsdorf
On 2015.02.19 at 15:36 -0500, Chris Mason wrote: Hi Linus, Please pull my for-linus branch: git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git for-linus I get the following warnings during Firefox LTO build. lto1-wpa-stream outputs the final object files in parallel and

Re: [RFC PATCH 1/3] eeprom: Add a simple EEPROM framework

2015-02-20 Thread Srinivas Kandagatla
Thanks Andrew for your comments, On 19/02/15 18:12, Andrew Lunn wrote: + +Required properties: + +eeproms: List of phandle and data cell specifier triplet, one triplet +for each data cell the device might be interested in. The +triplet consists of the phandle to the eeprom

Re: [PATCH 1/3] usb: gadget: function: phonet: balance usb_ep_disable calls

2015-02-20 Thread Pavel Machek
In current state I review all 3 patches as: Rejected-by: Pali Rohár pali.ro...@gmail.com [It breaks booting Nokia N900 device] next step, figure why it's broken. Working just fine here on AM335x which has the same musb IP. Why is broken? That is

Re: [PATCH] clockevents: Add (missing) default case for switch blocks

2015-02-20 Thread Ingo Molnar
* Viresh Kumar viresh.ku...@linaro.org wrote: Many clockevent drivers are using a switch block for handling modes in their -set_mode() callback. Some of these do not have a 'default' case and adding a new mode in the 'enum clock_event_mode', starts giving following warnings for these

Re: [PATCH] perf: Only include tsc file for x86

2015-02-20 Thread Adrian Hunter
On 19/02/15 21:42, Jiri Olsa wrote: On Thu, Feb 19, 2015 at 01:22:33PM -0500, David Ahern wrote: perf_time_to_tsc and tsc_to_perf_time are only used for x86. Make inclusion of tsc.c dependent on x86 as well. hum, should we move it to arch/x86/util/tsc.c and remove util/tsc.c? It is not

Re: [RFC 1/1 linux-next] DRIVERS: replace current-state by set_current_state()

2015-02-20 Thread Peter Zijlstra
On Thu, Feb 19, 2015 at 09:21:51PM +0100, Fabian Frederick wrote: replace remaining direct access to current-state by slower helper function in drivers branch. Some of them could be optimized later using __set_current_state(). This changelog needs help. Going by this you just make the drivers

Re: [PATCH RESEND v9 04/10] sched: Make sched entity usage tracking scale-invariant

2015-02-20 Thread Morten Rasmussen
On Thu, Feb 19, 2015 at 05:05:28PM +, Peter Zijlstra wrote: On Thu, Feb 19, 2015 at 05:02:36PM +, Morten Rasmussen wrote: There is no actual function definition in this patch; this would hinder linking, no? The function definition already lives further down in fair.c. I can

Re: [RFC PATCH 5/8] KEYS: exec request-key within the requesting task's init namespace

2015-02-20 Thread Ian Kent
On Wed, 2015-02-18 at 20:31 -0500, J. Bruce Fields wrote: On Thu, Feb 19, 2015 at 08:39:01AM +0800, Ian Kent wrote: On Wed, 2015-02-18 at 15:59 -0500, J. Bruce Fields wrote: On Wed, Feb 18, 2015 at 12:31:32PM -0500, J. Bruce Fields wrote: On Wed, Feb 18, 2015 at 12:06:20PM -0500, J.

Re: [PATCH] Revert smc91x: retrieve IRQ and trigger flags in a modern way

2015-02-20 Thread Linus Walleij
On Thu, Feb 19, 2015 at 9:48 PM, Robert Jarzmik robert.jarz...@free.fr wrote: David Miller da...@davemloft.net writes: Now if you can make it in -rc2 or -rc3, this revert should be forgotten. But if you can't make it for 3.20, I'll push for the revert. So I think it's up to you now, and

Re: [PATCH] clockevents: Add (missing) default case for switch blocks

2015-02-20 Thread Ingo Molnar
* Peter Zijlstra pet...@infradead.org wrote: So this whole approach looks fragile for several reasons: - 'mode setting' callbacks are just bad by design because they mix several functions into the same entry point, complicating the handler functions unnecessarily.

[perf/core PATCH v4 1/2] perf buildid-cache: Add new buildid cache if update target is not cached

2015-02-20 Thread Masami Hiramatsu
Add new buildid cache if the update target file is not cached. This can happen when an old binary is replaced by new one after caching the old one. In this case, user sees his operation just failed. But it does not look straight, since user just pass the binary path, not build-id. #

[perf/core PATCH v4 2/2] perf buildid-cache: Add --purge FILE to remove all caches of FILE

2015-02-20 Thread Masami Hiramatsu
Add --purge FILE to remove all caches of FILE. Since the current --remove FILE removes a cache which has same build-id of given FILE. Since the command takes a FILE path, it can confuse user who tries to remove cache about FILE path. - # ./perf buildid-cache -v --add ./perf Adding

Re: [PATCH] gpio: tps65912: fix wrong container_of arguments

2015-02-20 Thread Linus Walleij
On Thu, Feb 19, 2015 at 2:52 AM, Nicolas Saenz Julienne nicolassae...@gmail.com wrote: The gpio_chip operations receive a pointer the gpio_chip struct which is contained in the driver's private struct, yet the container_of call in those functions point to the mfd struct defined in

[perf/core PATCH v4 0/2] perf-buildid-cache: Enhance --update and add --purge

2015-02-20 Thread Masami Hiramatsu
Hi, Here is the 4th version of of perf buildid-cache update. This has a small updates from v2 for each patch. According to Arnaldo's comment, I updated the document about --update option in the first patch, and renamed --remove-all to --purge in the second patch (it also updated document). Only

Re: [PATCH] pinctrl: mediatek: Fix build error in Mediatek pinctrl driver.

2015-02-20 Thread Linus Walleij
On Thu, Feb 12, 2015 at 8:56 AM, Hongzhou Yang hongzhou.y...@mediatek.com wrote: Since pinconf relate API changes in pinctrl devel branch, a build error happened. Send this small patch to fix it. --- Due to pinconf_generic_parse_dt_config() API changes in pinctrl devel branch, add one

[PATCH 1/3] vhost: add VHOST_VRING_F_LEGACY_BIG_ENDIAN flag

2015-02-20 Thread Greg Kurz
The VHOST_VRING_F_LEGACY_BIG_ENDIAN flag informs the kernel that the associated device is big endian. Of course, this only makes sense for legacy virtio devices since modern virtio devices are always little endian. It will be used by the vhost memory accessors to byteswap vring data when we have

[PATCH 0/3] vhost_net: support for cross endian guests

2015-02-20 Thread Greg Kurz
Hi, This patchset allows vhost_net to be used with legacy virtio when guest and host have a different endianness. It is based on previous work by Cédric Le Goater: https://www.mail-archive.com/kvm-ppc@vger.kernel.org/msg09848.html As suggested by MST: - the API now asks for a specific format

Re: [PATCH] clockevents: Add (missing) default case for switch blocks

2015-02-20 Thread Viresh Kumar
On 20 February 2015 at 15:06, Ingo Molnar mi...@kernel.org wrote: * Peter Zijlstra pet...@infradead.org wrote: So this whole approach looks fragile for several reasons: - 'mode setting' callbacks are just bad by design because they mix several functions into the same entry

Re: [PATCH v3] pci: spear: Drop __initdata from spear13xx_pcie_driver

2015-02-20 Thread Matwey V. Kornilov
2015-02-20 13:06 GMT+03:00 Stanimir Varbanov svarba...@mm-sol.com: On 02/19/2015 07:41 PM, Matwey V. Kornilov wrote: spear13xx_pcie_driver.driver is allocated in text.init section and then the pointer to it is passed futher. This patch is to avoid crashes like the following, when freed memory

[PATCH 3/3] vhost_net: fix virtio_net header endianness

2015-02-20 Thread Greg Kurz
Without this patch, packets are being silently dropped by the tap backend. Signed-off-by: Greg Kurz gk...@linux.vnet.ibm.com --- drivers/vhost/net.c | 32 ++-- 1 file changed, 26 insertions(+), 6 deletions(-) diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c

Re: [PATCH] ARM: OMAP2+: Return correct error values from device and hwmod

2015-02-20 Thread Pavel Machek
On Fri 2015-02-20 00:41:41, Pali Rohár wrote: Without this patch function pm_runtime_get_sync() returns 0 even when some omap subfunction fails. This patch properly propagate error codes from omap functions back to caller. This patch fix problem, when loading omap-aes driver in qemu cause

Re: [PATCH v3] staging: writeboost: Add dm-writeboost

2015-02-20 Thread Akira Hayakawa
Hi, Very very sad to not receive any comments from dm maintainers in the past 2 mouths. I implemented read-caching for v3 because they like to see this feature in but no comment... I still believe they reevaluate dm-writeboost because I don't think this driver isn't bad as they claim. They

s390: references to MARCH_G5

2015-02-20 Thread Paul Bolle
Your commit c5f43f0a70fc (s390: remove 31 bit support) is included in today's linux-next (ie, next-20150220). I noticed because a script I use to check linux-next spotted a problem with it. That commit removed the Kconfig symbol MARCH_G5. It didn't remove all references to it (there are three

[PATCH] component: fix build warning on arm64 builds

2015-02-20 Thread Russell King
Fix: drivers/base/component.c: In function 'find_components': drivers/base/component.c:97:3: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'size_t' [-Wformat] on ARM64 builds. Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk ---

[PATCH] x86/mm/ASLR: avoid PAGE_SIZE redefinition for UML subarch

2015-02-20 Thread Jiri Kosina
Commit f47233c2d34 (x86/mm/ASLR: Propagate base load address calculation) causes PAGE_SIZE redefinition warnings for UML subarch builds. This is caused by added includes that were leftovers from previous patch versions are are not actually needed (especially page_types.h inlcude in module.c).

Re: [PATCH] [media] [kbuild] Add and use IS_REACHABLE macro

2015-02-20 Thread Arnd Bergmann
On Thursday 19 February 2015 16:06:18 Michal Marek wrote: We have similar problems in other areas of the kernel. In theory, we could enforce the VIDEO_TUNER driver to be modular here by adding lots of dependencies to it: config VIDEO_TUNER tristate depends on

Re: smp_call_function_single lockups

2015-02-20 Thread Ingo Molnar
* Linus Torvalds torva...@linux-foundation.org wrote: On Thu, Feb 19, 2015 at 9:39 AM, Linus Torvalds torva...@linux-foundation.org wrote: On Thu, Feb 19, 2015 at 8:59 AM, Linus Torvalds torva...@linux-foundation.org wrote: Are there known errata for the x2apic? .. and in

Re: s390: references to MARCH_G5

2015-02-20 Thread Heiko Carstens
On Fri, Feb 20, 2015 at 09:54:48AM +0100, Paul Bolle wrote: Your commit c5f43f0a70fc (s390: remove 31 bit support) is included in today's linux-next (ie, next-20150220). I noticed because a script I use to check linux-next spotted a problem with it. That commit removed the Kconfig symbol

Re: [PATCH 1/3] sched: add sched_task_call()

2015-02-20 Thread Ingo Molnar
* Jiri Kosina jkos...@suse.cz wrote: Alright, so to sum it up: - current stack dumping (even looking at /proc/pid/stack) is not guaranteed to yield correct results in case the task is running at the time the stack is being examined Don't even _think_ about trying to base something

Re: [PATCH] ARM: OMAP2+: Return correct error values from device and hwmod

2015-02-20 Thread Pali Rohár
On Friday 20 February 2015 09:22:26 Pavel Machek wrote: On Fri 2015-02-20 00:41:41, Pali Rohár wrote: Without this patch function pm_runtime_get_sync() returns 0 even when some omap subfunction fails. This patch properly propagate error codes from omap functions back to caller. This

Re: [PATCH v3] pci: spear: Drop __initdata from spear13xx_pcie_driver

2015-02-20 Thread Stanimir Varbanov
On 02/19/2015 07:41 PM, Matwey V. Kornilov wrote: spear13xx_pcie_driver.driver is allocated in text.init section and then the pointer to it is passed futher. This patch is to avoid crashes like the following, when freed memory is used. Also, __init has been dropped from the probe() function

[PATCH 1/2] kprobes/x86: Use 5-byte NOP when the code might be modified by ftrace

2015-02-20 Thread Petr Mladek
can_probe() checks if the given address points to the beginning of an instruction. It analyzes all the instructions from the beginning of the function until the given address. The code might be modified by another Kprobe. In this case, the current code is read into a buffer, int3 breakpoint is

Re: [PATCH 2/4] of: DT quirks infrastructure

2015-02-20 Thread Ludovic Desroches
On Thu, Feb 19, 2015 at 12:01:14PM -0600, Rob Herring wrote: On Wed, Feb 18, 2015 at 8:08 PM, Frank Rowand frowand.l...@gmail.com wrote: On 2/18/2015 6:59 AM, Pantelis Antoniou wrote: Implement a method of applying DT quirks early in the boot sequence. A DT quirk is a subtree of the boot

Re: [perf/core PATCH v3 2/2] perf buildid-cache: Add --purge FILE to remove all caches of FILE

2015-02-20 Thread Masami Hiramatsu
(2015/02/19 17:08), Masami Hiramatsu wrote: Add --purge FILE to remove all caches of FILE. Since the current --remove FILE removes a cache which has same build-id of given FILE. Since the command takes a FILE path, it can confuse user who tries to remove cache about FILE path. - #

Re: [PATCH] ARM: dts: OMAP3-N900: Fix offset for smc91x ethernet

2015-02-20 Thread Arnd Bergmann
On Thursday 19 February 2015 17:49:50 Pali Rohár wrote: Offset for smc91x must be zero otherwise smc91x linux kernel driver does not detect smc91x ethernet hardware in qemu N900 machine. Signed-off-by: Pali Rohár pali.ro...@gmail.com Is that the same offset on real hardware, or could this

Re: [PATCH] x86, boot: Allow 64bit EFI kernel to be loaded above 4G

2015-02-20 Thread Baoquan He
On 02/19/15 at 07:35pm, Yinghai Lu wrote: On Thu, Feb 19, 2015 at 6:13 PM, Baoquan He b...@redhat.com wrote: On 02/18/15 at 11:47am, Yinghai Lu wrote: Kaslr need both virtual and physical address be randomized, otherwise it doesn't make sense. Please check what hpa said about this issue:

Re: [PATCH] ARM: dts: OMAP3-N900: Fix offset for smc91x ethernet

2015-02-20 Thread Pali Rohár
On Friday 20 February 2015 10:24:35 Arnd Bergmann wrote: On Thursday 19 February 2015 17:49:50 Pali Rohár wrote: Offset for smc91x must be zero otherwise smc91x linux kernel driver does not detect smc91x ethernet hardware in qemu N900 machine. Signed-off-by: Pali Rohár

Re: [PATCH v2] extcon: otg_gpio: add driver for USB OTG port controlled by GPIO(s)

2015-02-20 Thread Linus Walleij
On Fri, Feb 20, 2015 at 7:41 AM, Robert Baldyga r.bald...@samsung.com wrote: Hi David, On 02/19/2015 08:59 PM, David Cohen wrote: Some Intel platforms have an USB OTG port fully (or partially) controlled by GPIOs: (1) USB ID is connected directly to a pulled up GPIO. Optionally: (2) VBUS

Re: [PATCH 2/2] kprobes/x86: Check for invalid ftrace location in __recover_probed_insn()

2015-02-20 Thread Ingo Molnar
* Petr Mladek pmla...@suse.cz wrote: __recover_probed_insn() should always be called from an address where an instructions starts. The check for ftrace_location() might help to discover a potential inconsistency. Something goes terribly wrong when an address inside the ftrace location is

[bug] logger 2.26: regression, option -i not combinable with other options

2015-02-20 Thread Juergen Daubert
Hello, with logger from util-linux 2.25.x it's possible to combine the option -i with other options like: logger -is with 2.26 I get the following error message: $:~ logger -is logger: failed to parse id: 's' The changed behaviour breaks existing scripts like dhcpcd-run-hooks [1] from

Re: [RFC PATCH 1/3] eeprom: Add a simple EEPROM framework

2015-02-20 Thread Srinivas Kandagatla
On 20/02/15 08:14, Srinivas Kandagatla wrote: Doesn't this need some sort of select REGMAP somewhere? May be depends REGMAP would be good. You are right, just realized that it should be select REGMAP and for QFPROM it should be select REGMAP_MMIO --srini -- To unsubscribe from this list:

Re: [PATCH] [media] [kbuild] Add and use IS_REACHABLE macro

2015-02-20 Thread Michal Marek
On 2015-02-20 10:29, Arnd Bergmann wrote: On Thursday 19 February 2015 16:06:18 Michal Marek wrote: We have similar problems in other areas of the kernel. In theory, we could enforce the VIDEO_TUNER driver to be modular here by adding lots of dependencies to it: config VIDEO_TUNER

Re: [PATCH v6 2/2] fbcon: expose cursor blink interval via sysfs

2015-02-20 Thread Tomi Valkeinen
On 30/01/15 11:40, Scot Doyle wrote: fbcon toggles cursor display state every 200 milliseconds when blinking. Since users prefer different toggle intervals, expose the interval via /sys/class/graphics/fbcon/cursor_blink_ms so that it may be customized. Values written to the interface set the

RE: [PATCH 0/2] bmc150-accel driver optimizations

2015-02-20 Thread Tirdea, Irina
-Original Message- From: linux-iio-ow...@vger.kernel.org [mailto:linux-iio-ow...@vger.kernel.org] On Behalf Of Peter Meerwald Sent: 16 February, 2015 21:27 To: Tirdea, Irina Cc: Jonathan Cameron; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; Pandruvada, Srinivas;

Re: [PATCH] video: fbdev: make of_device_id array const

2015-02-20 Thread Tomi Valkeinen
On 09/02/15 13:02, Sanjeev Sharma wrote: Make of_device_id array const. Signed-off-by: Sanjeev Sharma sanjeev_sha...@mentor.com --- drivers/video/fbdev/imxfb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbdev/imxfb.c b/drivers/video/fbdev/imxfb.c

[PATCH] drivers: dma: Remove extra check

2015-02-20 Thread Tapasweni Pathak
Remove double check on chan-desc. Found by Coccinelle. Signed-off-by: Tapasweni Pathak tapaswenipat...@gmail.com Acked-by: Julia Lawall julia.law...@lip6.fr --- drivers/dma/dma-jz4740.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/dma-jz4740.c

[PATCH] Drivers: hv: hv_balloon: keep locks balanced on add_memory() failure

2015-02-20 Thread Vitaly Kuznetsov
When add_memory() fails the following BUG is observed: [ 743.646107] hv_balloon: hot_add memory failed error is -17 [ 743.679973] [ 743.680930] = [ 743.680930] [ BUG: bad unlock balance detected! ] [ 743.680930] 3.19.0-rc5_bug1131426+ #552 Not tainted [

Re: [PATCH 1/2] kprobes/x86: Use 5-byte NOP when the code might be modified by ftrace

2015-02-20 Thread Masami Hiramatsu
(2015/02/20 19:26), Ingo Molnar wrote: * Petr Mladek pmla...@suse.cz wrote: can_probe() checks if the given address points to the beginning of an instruction. It analyzes all the instructions from the beginning of the function until the given address. The code might be modified by

[RFT PATCH v2 2/2] compal-laptop: Check return value of power_supply_register

2015-02-20 Thread Krzysztof Kozlowski
The return value of power_supply_register() call was not checked and even on error probe() function returned 0. If registering failed then during unbind the driver tried to unregister power supply which was not actually registered. This could lead to memory corruption because

[PATCH] usb: gadget: function: Replace GFP_KERNEL with GFP_ATOMIC

2015-02-20 Thread Tapasweni Pathak
To avoid deadlock, do not call blocking functions with spinlocks held. Replace GFP_KERNEL with GFP_ATOMIC, as the latter will fail if the heap doesn't have enough free pages but will not sleep and hence deadlock can be avoided. Found by Coccinelle. Signed-off-by: Tapasweni Pathak

Re: usb serial: pl2303 driver TxD break stays after close() bug

2015-02-20 Thread Jari Ruusu
On 2/20/15, Johan Hovold jo...@kernel.org wrote: On Thu, Feb 19, 2015 at 03:38:39PM +0200, Jari Ruusu wrote: To clear it, you need to poke it with ioctl(fd, TIOCCBRK, 0) or disconnect the device. That's definitely a bug. Care to test the patch below? Your patch fixes the bug. Thanks. --

Re: [PATCH] clockevents: Add (missing) default case for switch blocks

2015-02-20 Thread Ingo Molnar
* Viresh Kumar viresh.ku...@linaro.org wrote: On 20 February 2015 at 17:11, Ingo Molnar mi...@kernel.org wrote: * Peter Zijlstra pet...@infradead.org wrote: Maybe we should break that enum into two; one for devices and one for the core interface and avoid the problem that way.

  1   2   3   4   5   6   7   8   9   10   >