Re: [PATCH V7 13/17] perf, x86: enable LBR callstack when recording callchain

2014-11-05 Thread Andi Kleen
On Wed, Nov 05, 2014 at 05:29:32PM +0100, Peter Zijlstra wrote: On Wed, Nov 05, 2014 at 03:53:34PM +, Liang, Kan wrote: I don't think it would be very hard to modify the patch set to make that 3rd mode visible. Just need to make that new PERF_RECORD_* type visible to user and

Re: [PATCH 3/4] OOM, PM: OOM killed task shouldn't escape PM suspend

2014-11-05 Thread Tejun Heo
On Wed, Nov 05, 2014 at 06:46:09PM +0100, Michal Hocko wrote: Because out_of_memory can be called from mutliple paths. And the only interesting one should be the page allocation path. pagefault_out_of_memory is not interesting because it cannot happen for the frozen task. Hmmm wouldn't

Re: [PATCH V7 13/17] perf, x86: enable LBR callstack when recording callchain

2014-11-05 Thread Andi Kleen
LBR callstack fails for leaf function optimization. Where the callee does not return to its caller but instead to the caller's caller. That is the one case I know about. There are others I believe. No it should work fine for this case. You just don't see the tail call, but the call stack does

Re: [PATCH 2/3] input: touchscreen: of: Register multitouch axes

2014-11-05 Thread Dmitry Torokhov
On Wed, Nov 05, 2014 at 04:07:49PM +0100, Maxime Ripard wrote: So far, the DT parsing code was only setting up the regular input axes, completely ignoring their multitouch counter parts. Fill them with the same parameters than the regular axes. Signed-off-by: Maxime Ripard

Re: [PATCH 6/7] SELinux: The copy-up operation must have read permission on the lower file

2014-11-05 Thread Stephen Smalley
On 11/05/2014 11:43 AM, Stephen Smalley wrote: On 11/05/2014 10:43 AM, David Howells wrote: The copy-up operation must have read permission on the lower file for the task that caused the copy-up. This helps prevent overlayfs from being used to access something it shouldn't. Signed-off-by:

Re: [PATCH] PCI: Do not enable async suspend for JMicron chips

2014-11-05 Thread Barto
I tried the patch, it solves the problem, but I had to change the patch in order to be compatible with 3.18rc3 source code : patching file drivers/pci/pci.c Hunk #1 FAILED at 2046. 1 out of 1 hunk FAILED -- saving rejects to file drivers/pci/pci.c.rej here is the correct patch for kernel

Re: [PATCH v8 1/5] PM / Runtime: Add getter for querying the IRQ safe option

2014-11-05 Thread Laurent Pinchart
Hi Russell, On Monday 03 November 2014 17:04:08 Russell King - ARM Linux wrote: On Mon, Nov 03, 2014 at 09:57:28PM +0530, Vinod Koul wrote: On Sat, Nov 01, 2014 at 02:29:42AM +0200, Laurent Pinchart wrote: Many other drivers suffer from the same problem. While I won't reject your proposed

Re: [PATCH 2/7] pinctrl: pinconf-generic: Infer map type from DT property

2014-11-05 Thread Laurent Pinchart
Hi Soren, Thank you for the patch. On Monday 03 November 2014 11:05:26 Soren Brinkmann wrote: With the new 'groups' property, the DT parser can infer the map type from the fact whether 'pins' or 'groups' is used to specify the pin group to work on. To maintain backwards compatibitliy with

Re: [PATCH net 0/5] Implement ndo_gso_check() for vxlan nics

2014-11-05 Thread Tom Herbert
On Wed, Nov 5, 2014 at 9:50 AM, Joe Stringer joestrin...@nicira.com wrote: On 5 November 2014 04:38, Or Gerlitz gerlitz...@gmail.com wrote: On Tue, Nov 4, 2014 at 11:56 PM, Joe Stringer joestrin...@nicira.com wrote: Most NICs that report NETIF_F_GSO_UDP_TUNNEL support VXLAN, and not other

Re: [PATCH] PCI: Do not enable async suspend for JMicron chips

2014-11-05 Thread Bjorn Helgaas
On Tue, Nov 4, 2014 at 6:31 PM, Chuansheng Liu chuansheng@intel.com wrote: The JMicron chip 361/363/368 contains one SATA controller and one PATA controller, they are brother-relation ship in PCI tree, but for powering on these both controller, we must follow the sequence one by one,

Re: Linus GIT 3.18.0-rc2+ - BUG: unable to handle kernel paging request at ffff88021dc52000 - IP: [ffffffff810f5514] scan_block+0x59/0x100

2014-11-05 Thread Catalin Marinas
On Sat, Nov 01, 2014 at 10:11:39PM +, Miles Lane wrote: [ 69.271345] BUG: unable to handle kernel paging request at 88021dc52000 [ 69.271417] IP: [810f5514] scan_block+0x59/0x100 [...] [ 69.273425] Call Trace: [ 69.273452] [81507471] ?

Re: [PATCH] PCI: Do not enable async suspend for JMicron chips

2014-11-05 Thread Tejun Heo
On Wed, Nov 05, 2014 at 11:31:59AM -0500, Tejun Heo wrote: On Wed, Nov 05, 2014 at 09:07:45AM +0800, Chuansheng Liu wrote: The JMicron chip 361/363/368 contains one SATA controller and one PATA controller, they are brother-relation ship in PCI tree, but for powering on these both

Re: [PATCH 2/7] pinctrl: pinconf-generic: Infer map type from DT property

2014-11-05 Thread Sören Brinkmann
On Wed, 2014-11-05 at 03:56PM +0200, Laurent Pinchart wrote: Hi Soren, Thank you for the patch. On Monday 03 November 2014 11:05:26 Soren Brinkmann wrote: With the new 'groups' property, the DT parser can infer the map type from the fact whether 'pins' or 'groups' is used to specify the

Re: [PATCH v2 05/11] memory: add Atmel EBI (External Bus Interface) driver

2014-11-05 Thread Jean-Jacques Hiblot
2014-11-05 17:01 GMT+01:00 Boris Brezillon boris.brezil...@free-electrons.com: The EBI (External Bus Interface) is used to access external peripherals (NOR, SRAM, NAND, and other specific devices like ethernet controllers). Each device is assigned a CS line and an address range and can have its

Re: [PATCH] ASoC: samsung: Add MODULE_DEVICE_TABLE for Snow

2014-11-05 Thread Andreas Färber
Am 05.11.2014 um 18:09 schrieb Mark Brown: On Wed, Nov 05, 2014 at 05:44:52PM +0100, Andreas Färber wrote: This enables the snd_soc_snow module to be auto-loaded. Applied, thanks. Thanks. I notice you dropped my Fixes: line that SubmittingPatches asks for. When do I need it and when should I

Re: [PATCH] mfd: qcom-spmi-pmic: Add support for more chips versions

2014-11-05 Thread Bjorn Andersson
On Tue, Nov 4, 2014 at 5:33 AM, Ivan T. Ivanov iiva...@mm-sol.com wrote: [..] @@ -28,11 +144,27 @@ static int pmic_spmi_probe(struct spmi_device *sdev) { struct device_node *root = sdev-dev.of_node; struct regmap *regmap; + struct property *prop; + int major,

[PATCH -next 0/5] set_ldisc notification fixes

2014-11-05 Thread Peter Hurley
Hi Greg, This patch series fixes several locking and functional problems with the .set_ldisc() notification sent by the tty core: 1) termios is used without holding termios_rwsem 2) uart port flags are changed without holding port mutex 3) several of the drivers call their enable_ms() routines

[PATCH -next 5/5] serial: Test/disable MSIs if switching from N_PPS

2014-11-05 Thread Peter Hurley
Switching to the N_PPS line discipline may require enabling modem status interrupts; conversely switching from N_PPS may require disabling modem status interrupts. Affected drivers: 8250 amba-pl010 atmel Cc: Nicolas Ferre nicolas.fe...@atmel.com Cc: Russell King li...@arm.linux.org.uk

[PATCH -next 4/5] serial: Take uart port lock for direct *_enable_ms()

2014-11-05 Thread Peter Hurley
Three UART drivers (8250, atmel amba-pl010) directly call their enable_ms() method; the uart port lock must be acquired before any h/w programming. Signed-off-by: Peter Hurley pe...@hurleysoftware.com --- drivers/tty/serial/8250/8250_core.c | 2 ++ drivers/tty/serial/amba-pl010.c | 2 ++

[PATCH -next 1/5] tty: Allow safe access to termios for set_ldisc() handlers

2014-11-05 Thread Peter Hurley
Allow a tty driver to safely access termios settings while handling the set_ldisc() notification. UART drivers use the set_ldisc() notification to check if the N_PPS line discipline is being enabled; if so, modem status interrupts may also need to be enabled. Conversely, modem status interrupts

Re: [PATCH] rtlwifi: Add more checks for get_btc_status callback

2014-11-05 Thread Larry Finger
On 11/05/2014 03:16 AM, Mike Galbraith wrote: On Wed, 2014-10-29 at 23:30 -0500, Larry Finger wrote: On 10/29/2014 06:28 PM, Murilo Opsfelder Araujo wrote: This is a complement of commit 08054200117a95afc14c3d2ed3a38bf4e345bf78 rtlwifi: Add check for get_btc_status callback. With this patch,

[PATCH -next 2/5] serial: core: Claim port mutex for set_ldisc()

2014-11-05 Thread Peter Hurley
Three UART drivers (8250, atmel amba-pl010) enable modem status interrupts if the line discipline is changed to N_PPS. However, the uart port flags may only be safely modified while holding the port mutex. Signed-off-by: Peter Hurley pe...@hurleysoftware.com --- drivers/tty/serial/serial_core.c

[PATCH -next 3/5] serial: core: Pass termios to set_ldisc() notifications

2014-11-05 Thread Peter Hurley
UART drivers which enable modem status interrupts when switching to N_PPS line discipline need to determine if modem status interrupts should be disabled when switching from N_PPS. Specifically, the set_ldisc() notification needs to evaluate UART_ENABLE_MS() which requires termios-c_cflag.

Re: [RFA][PATCH 0/8] seq_file: Remove return checks of seq_printf()

2014-11-05 Thread Steven Rostedt
On Wed, 5 Nov 2014 17:50:21 + Al Viro v...@zeniv.linux.org.uk wrote: On Tue, Nov 04, 2014 at 08:04:36AM -0500, Steven Rostedt wrote: On Wed, 29 Oct 2014 17:56:02 -0400 Steven Rostedt rost...@goodmis.org wrote: [ REQUEST FOR ACKS ] Al, Can you take a look at these, and

Re: [PATCH v7 3/8] arm64: introduce is_device_dma_coherent

2014-11-05 Thread Stefano Stabellini
On Wed, 5 Nov 2014, Catalin Marinas wrote: On Mon, Nov 03, 2014 at 11:10:18AM +, Stefano Stabellini wrote: On Mon, 3 Nov 2014, Will Deacon wrote: On Mon, Nov 03, 2014 at 10:46:03AM +, Stefano Stabellini wrote: On Mon, 27 Oct 2014, Stefano Stabellini wrote: Introduce a

[tip:x86/apic] x86, irq: Move local APIC related code from io_apic.c into vector.c

2014-11-05 Thread tip-bot for Jiang Liu
Commit-ID: cccea9a19a5abb6fcd6be8c9544bccce13954d84 Gitweb: http://git.kernel.org/tip/cccea9a19a5abb6fcd6be8c9544bccce13954d84 Author: Jiang Liu jiang@linux.intel.com AuthorDate: Mon, 27 Oct 2014 16:12:00 +0800 Committer: Thomas Gleixner t...@linutronix.de CommitDate: Wed, 5 Nov 2014

[tip:x86/apic] x86, irq: Replace printk(KERN_LVL) with pr_lvl() utilities

2014-11-05 Thread tip-bot for Jiang Liu
Commit-ID: 347d44b458c7a9ddc538909d67157f2b662c5778 Gitweb: http://git.kernel.org/tip/347d44b458c7a9ddc538909d67157f2b662c5778 Author: Jiang Liu jiang@linux.intel.com AuthorDate: Mon, 27 Oct 2014 16:12:01 +0800 Committer: Thomas Gleixner t...@linutronix.de CommitDate: Wed, 5 Nov 2014

Re: [PATCH 2/7] pinctrl: pinconf-generic: Infer map type from DT property

2014-11-05 Thread Laurent Pinchart
Hi Sören, On Wednesday 05 November 2014 10:09:35 Sören Brinkmann wrote: On Wed, 2014-11-05 at 03:56PM +0200, Laurent Pinchart wrote: On Monday 03 November 2014 11:05:26 Soren Brinkmann wrote: With the new 'groups' property, the DT parser can infer the map type from the fact whether

[tip:x86/apic] x86, irq: Move HT IRQ related code from io_apic.c into htirq.c

2014-11-05 Thread tip-bot for Jiang Liu
Commit-ID: 051825cab15c8180f2f0dbc3a9de5a3db7476065 Gitweb: http://git.kernel.org/tip/051825cab15c8180f2f0dbc3a9de5a3db7476065 Author: Jiang Liu jiang@linux.intel.com AuthorDate: Mon, 27 Oct 2014 16:12:03 +0800 Committer: Thomas Gleixner t...@linutronix.de CommitDate: Wed, 5 Nov 2014

Re: [3.16.1 BISECTED REGRESSION]: Simtec Entropy Key (cdc-acm) broken in 3.16

2014-11-05 Thread Johan Hovold
On Wed, Nov 05, 2014 at 03:14:49PM +, Nix wrote: On 5 Nov 2014, Johan Hovold stated: On Fri, Oct 31, 2014 at 04:44:46PM +, Nix wrote: Sorry for the delay: illness and work-related release time flurries. On 24 Oct 2014, Johan Hovold told this: The log appears incomplete

Re: [Regression][v3.17][v3.18] USB: Fix persist resume of some SS USB devices

2014-11-05 Thread Joseph Salisbury
On 11/05/2014 03:48 AM, Pratyush Anand wrote: On Wed, Nov 05, 2014 at 10:53:35AM +0530, Pratyush Anand wrote: Hello Joe, On Wed, Nov 05, 2014 at 06:20:06AM +0800, Joseph Salisbury wrote: Hello Pratyush, A kernel bug report was opened against Ubuntu [0]. After a kernel bisect, it was found

Re: [PATCH/v2] [trivial] treewide: Fix typo in printk and Kconfig

2014-11-05 Thread Randy Dunlap
On 11/05/14 05:26, Masanari Iida wrote: This patch fix spelling typo in printk and Kconfig within various part of kernel sources. Signed-off-by: Masanari Iida standby2...@gmail.com Acked-by: Randy Dunlap rdun...@infradead.org Thanks. --- arch/mips/cavium-octeon/setup.c

Re: [PATCH v4 5/5] perf/sdt: Add support to perf record to trace SDT events

2014-11-05 Thread Hemant Kumar
On 11/05/2014 12:36 PM, Namhyung Kim wrote: On Tue, 04 Nov 2014 21:56:53 +0900, Masami Hiramatsu wrote: Hi, (2014/11/04 17:06), Hemant Kumar wrote: Hi Namhyung, On 11/04/2014 01:08 PM, Namhyung Kim wrote: Hi Hemant, As you know, you need to keep an eye on how (kprobes) event cache

Re: [PATCH 1/2 v2] x86, mce, severity: extend the the mce_severity

2014-11-05 Thread Tony Luck
+#define ONEXCP.excp = NO_EXCP Shouldn't this be named NOEXCP and used in the initializations for the deferred and UCNA table entries? -Tony -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo

[PATCH] init: calibrate.c: Fixed some coding style issues.

2014-11-05 Thread Daniel Dawson
Fixed some coding style issues in init/calibrate.c Signed-off-by: Daniel Dawson dhdawson...@hotmail.co.uk --- init/calibrate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init/calibrate.c b/init/calibrate.c index ce635dc..f61375e 100644 --- a/init/calibrate.c +++

Re: [PATCH 0/4] extcon: gpio: add DT support

2014-11-05 Thread Felipe Balbi
On Wed, Nov 05, 2014 at 08:55:17PM +0530, George Cherian wrote: On 11/04/2014 08:11 PM, Felipe Balbi wrote: On Tue, Nov 04, 2014 at 11:42:04AM +0530, George Cherian wrote: Hi Felipe et al. Another series was posted by removing the platform support. https://lkml.org/lkml/2014/10/14/244

Re: [RESEND PATCH 1/2] extcon: gpio: Add dt support for the driver

2014-11-05 Thread Felipe Balbi
On Wed, Nov 05, 2014 at 08:59:47PM +0530, George Cherian wrote: Add device tree support to extcon-gpio driver. Add devicetree binding documentation While at that - Cleanup the pdata as there are no users for the same. should be a patch of its own. - Convert the driver to use

Re: [PATCH] mfd: qcom-spmi-pmic: Add support for more chips versions

2014-11-05 Thread Ivan T. Ivanov
On Wed, 2014-11-05 at 10:11 -0800, Bjorn Andersson wrote: On Tue, Nov 4, 2014 at 5:33 AM, Ivan T. Ivanov iiva...@mm-sol.com wrote: [..] @@ -28,11 +144,27 @@ static int pmic_spmi_probe(struct spmi_device *sdev) { struct device_node *root = sdev-dev.of_node; struct

Re: [PATCH -next 5/9] serial: hp300: Remove obsolete comments

2014-11-05 Thread Geert Uytterhoeven
On Wed, Nov 5, 2014 at 6:26 PM, Peter Hurley pe...@hurleysoftware.com wrote: setup_serial_console() is obsolete and has been superseded by early_serial_setup() which is called at the end of the function. The IA64 arch does not call this function; only the m68k arch setup calls this function.

[PATCH 3/4] PNP: Allow device to override ACPI device sleep

2014-11-05 Thread Peter Hurley
If the serial console is an ACPI PNP device, the PNP bus attempts to power-down the device, even though the no_console_suspend command line parameter is specified (eg., debugging suspend/resume). Add PNP_SUSPEND capability which is on by default, but when cleared, prevents pnpacpi_suspend()

[PATCH 0/4] fix serial console suspend on PNP

2014-11-05 Thread Peter Hurley
Hi Greg, The kernel command line parameter, no_console_suspend, enables the serial console to continue to output kernel message during system suspend/resume. However, the PNP bus will disable and power-down pnp devices on system suspend, which defeats the purpose of no_console_suspend; namely to

[PATCH 4/4] serial: 8250_pnp: Override pnp suspend for no_console_suspend

2014-11-05 Thread Peter Hurley
Prevent PNP bus from powering down the serial console device when suspending if the no_console_suspend command line option is set. Signed-off-by: Peter Hurley pe...@hurleysoftware.com --- drivers/tty/serial/8250/8250_pnp.c | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-)

[PATCH 2/4] serial: 8250_pnp: Override pnp disable for no_console_suspend

2014-11-05 Thread Peter Hurley
When the kernel command line parameter, no_console_suspend, is used, the console should continue to output console messages. For a serial console, the serial core ensures that the device is not shutdown when no_console_suspend is specified. However, the pnp bus subsequently disables the device and

Re: [PATCH -mm 7/8] slab: introduce slab_free helper

2014-11-05 Thread Christoph Lameter
Some comments would be good for the commit. Acked-by: Christoph Lameter c...@linux.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the

Re: [RFC][PATCH 03/12 v3] tracing: Create seq_buf layer in trace_seq

2014-11-05 Thread Steven Rostedt
On Wed, 5 Nov 2014 15:22:22 +0100 Petr Mladek pmla...@suse.cz wrote: On Tue 2014-11-04 10:52:40, Steven Rostedt wrote: From: Steven Rostedt (Red Hat) rost...@goodmis.org Create a seq_buf layer that trace_seq sits on. The seq_buf will not be limited to page size. This will allow other

[PATCH] checkpatch: Add --strict test for function pointer calling style

2014-11-05 Thread Joe Perches
Peter Hurley wrote: The use of older function ptr calling style, (*fn)(), makes static analysis more error-prone; replace with modern fn() style. So make checkpatch emit a --strict test for that condition. Update the unnecessary parentheses test for dereferencing objects at the same time and

Re: [PATCH -mm 8/8] slab: recharge slab pages to the allocating memory cgroup

2014-11-05 Thread Christoph Lameter
On Mon, 3 Nov 2014, Vladimir Davydov wrote: +static __always_inline void slab_free(struct kmem_cache *cachep, void *objp); + static __always_inline void * slab_alloc_node(struct kmem_cache *cachep, gfp_t flags, int nodeid, unsigned long caller) @@ -3185,6 +3187,10 @@

[PATCH 1/4] serial: core: Simplify console suspend logic in uart_suspend_port()

2014-11-05 Thread Peter Hurley
When the uart port being suspended is a console and consoles are not suspending (kernel command line contains no_console_suspend), then no action is performed for that port, and the function can return early. If the function has not returned early, then one of the conditions is not true, so the

Re: [RFC][PATCH 03/12 v3] tracing: Create seq_buf layer in trace_seq

2014-11-05 Thread Steven Rostedt
On Wed, 5 Nov 2014 15:26:20 +0100 Petr Mladek pmla...@suse.cz wrote: index ..97872154d51c --- /dev/null +++ b/include/linux/seq_buf.h @@ -0,0 +1,72 @@ +#ifndef _LINUX_SEQ_BUF_H +#define _LINUX_SEQ_BUF_H + +#include linux/fs.h + +#include asm/page.h One more

Re: [PATCH 4/4] serial: 8250_pnp: Override pnp suspend for no_console_suspend

2014-11-05 Thread Peter Hurley
On 11/05/2014 01:40 PM, Peter Hurley wrote: Prevent PNP bus from powering down the serial console device when suspending if the no_console_suspend command line option is set. Whoops! I set the debug version blush. Signed-off-by: Peter Hurley pe...@hurleysoftware.com ---

Re: [PATCH] ASoC: samsung: Add MODULE_DEVICE_TABLE for Snow

2014-11-05 Thread Mark Brown
On Wed, Nov 05, 2014 at 07:11:06PM +0100, Andreas Färber wrote: Am 05.11.2014 um 18:09 schrieb Mark Brown: On Wed, Nov 05, 2014 at 05:44:52PM +0100, Andreas Färber wrote: This enables the snd_soc_snow module to be auto-loaded. Applied, thanks. Thanks. I notice you dropped my Fixes: line

Re: [PATCH] PCI: Do not enable async suspend for JMicron chips

2014-11-05 Thread Barto
this patch solves these 2 bug reports : https://bugzilla.kernel.org/show_bug.cgi?id=84861 https://bugzilla.kernel.org/show_bug.cgi?id=81551 in simple words : JMicron IDE/Sata controlers family ( JMBxxx ) are not fully compatible with async_suspend feature, when a user tries to put his PC on

Re: Confusing behaviour with /proc/sys/kernel/nmi_watchdog

2014-11-05 Thread Anton Blanchard
Hi Don, commit 9919e39a1738 (kvm: ensure hard lockup detection is disabled by default) provided a way for the kernel to disable the hard lockup detector at runtime. I'm using it on ppc64 but notice some weird behaviour with the nmi_watchdog procfs variable. At boot, that the hard

Payment

2014-11-05 Thread Finance Department
Dear Recipient, You have been awarded the sum of 8,000,000.00 (Eight Million Pounds sterling) with reference number 77100146 by office of the ministry of finance UK.Send us your personal details to deliver your funds. Gloria Peter -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH v2 05/11] memory: add Atmel EBI (External Bus Interface) driver

2014-11-05 Thread Jean-Jacques Hiblot
2014-11-05 17:59 GMT+01:00 Boris Brezillon boris.brezil...@free-electrons.com: On Wed, 5 Nov 2014 17:53:42 +0100 Jean-Jacques Hiblot jjhib...@traphandler.com wrote: 2014-11-05 17:01 GMT+01:00 Boris Brezillon boris.brezil...@free-electrons.com: The EBI (External Bus Interface) is used to

[PATCH v2 4/4] serial: 8250_pnp: Override pnp suspend for no_console_suspend

2014-11-05 Thread Peter Hurley
Prevent PNP bus from powering down the serial console device when suspending if the no_console_suspend command line option is set. Signed-off-by: Peter Hurley pe...@hurleysoftware.com --- drivers/tty/serial/8250/8250_pnp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

Re: [PATCH] PCI: Do not enable async suspend for JMicron chips

2014-11-05 Thread Bjorn Helgaas
On Wed, Nov 5, 2014 at 11:46 AM, Barto mister.free...@laposte.net wrote: this patch solves these 2 bug reports : https://bugzilla.kernel.org/show_bug.cgi?id=84861 https://bugzilla.kernel.org/show_bug.cgi?id=81551 Those bugs were already mentioned. But e6b7e41cdd8c claims to solve

[PATCH v5] drivers: s390: net: ctcm: migrate variables to handle y2038 problem

2014-11-05 Thread Aya Mahfouz
This patch is concerned with migrating the time variables for the s390 network driver. The changes handle the y2038 problem where timespec will overflow in the year 2038. timespec was replaced by unsigned long and all time variables get their values from the jiffies global variable. This was done

Re: [PATCH] usb: gadget: don't create new string_container if already exist

2014-11-05 Thread Felipe Balbi
On Tue, Nov 04, 2014 at 03:05:57AM -0800, Neil Zhang wrote: -Original Message- From: Andrzej Pietrasiewicz [mailto:andrze...@samsung.com] Sent: 2014年10月28日 21:10 To: Neil Zhang; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org Cc: ba...@ti.com; gre...@linuxfoundation.org

Re: [PATCH] checkpatch: Add --strict test for function pointer calling style

2014-11-05 Thread Peter Hurley
On 11/05/2014 01:41 PM, Joe Perches wrote: Peter Hurley wrote: The use of older function ptr calling style, (*fn)(), makes static analysis more error-prone; replace with modern fn() style. So make checkpatch emit a --strict test for that condition. Update the unnecessary parentheses

[PATCH 3/8] netfilter: Convert print_tuple functions to return void

2014-11-05 Thread Steven Rostedt
From: Joe Perches j...@perches.com Since adding a new function to seq_file (seq_has_overflowed()) there isn't any value for functions called from seq_show to return anything. Remove the int returns of the various print_tuple/foo_print_tuple functions. Link:

[PATCH 0/8] [GIT PULL] seq_file: Add seq_has_overflowed() and start using it

2014-11-05 Thread Steven Rostedt
Al, I'm looking to clean up the seq_file code and to eventually merge the trace_seq code with seq_file as well, since they basically do the same thing. Part of this process is to remove the return code of seq_printf() and friends as they are rather inconsistent. It is better to use the new

[PATCH 5/8] dlm: Remove seq_printf() return checks and use seq_has_overflowed()

2014-11-05 Thread Steven Rostedt
From: Joe Perches j...@perches.com The seq_printf() return is going away soon and users of it should check seq_has_overflowed() to see if the buffer is full and will not accept any more data. Convert functions returning int to void where seq_printf() is used. Link:

[PATCH 1/8] seq_file: Rename seq_overflow() to seq_has_overflowed() and make public

2014-11-05 Thread Steven Rostedt
From: Joe Perches j...@perches.com The return values of seq_printf/puts/putc are frequently misused. Start down a path to remove all the return value uses of these functions. Move the seq_overflow() to a global inlined function called seq_has_overflowed() that can be used by the users of

[PATCH 1/1] fanotify: ignore marks not respected

2014-11-05 Thread Heinrich Schuchardt
The fanotify API allows to mark mounts, directories, and files for notification. Furthermore it allows to create marks with an ignore mask to indicate which events shall be ignored. Function fsnotify_add_inode_mark() stores marks for inodes as list in attribute i_list of the inode. The list is

[PATCH 2/8] netfilter: Remove return values for print_conntrack callbacks

2014-11-05 Thread Steven Rostedt
From: Steven Rostedt (Red Hat) rost...@goodmis.org The seq_printf() and friends are having their return values removed. The print_conntrack() returns the result of seq_printf(), which is meaningless when seq_printf() returns void. Might as well remove the return values of print_conntrack() as

[PATCH 6/8] dlm: Use seq_puts() instead of seq_printf() for constant strings

2014-11-05 Thread Steven Rostedt
From: Joe Perches j...@perches.com Convert the seq_printf output with constant strings to seq_puts. Link: http://lkml.kernel.org/p/b416b016f4a6e49115ba736cad6ea2709a8bc1c4.1412031505.git@perches.com Cc: Christine Caulfield ccaul...@redhat.com Cc: David Teigland teigl...@redhat.com Cc:

[PATCH 4/8] netfilter: Remove checks of seq_printf() return values

2014-11-05 Thread Steven Rostedt
From: Steven Rostedt (Red Hat) rost...@goodmis.org The return value of seq_printf() is soon to be removed. Remove the checks from seq_printf() in favor of seq_has_overflowed(). Link: http://lkml.kernel.org/r/20141104142236.GA10239@salvia Acked-by: Pablo Neira Ayuso pa...@netfilter.org Cc:

[PATCH 7/8] fs: Convert show_fdinfo functions to void

2014-11-05 Thread Steven Rostedt
From: Joe Perches j...@perches.com seq_printf functions shouldn't really check the return value. Checking seq_has_overflowed() occasionally is used instead. Update vfs documentation. Link: http://lkml.kernel.org/p/e37e6e7b76acbdcc3bb4ab2a57c8f8ca1ae11b9a.1412031505.git@perches.com Cc:

Re: [PATCH] checkpatch: Add --strict test for function pointer calling style

2014-11-05 Thread Joe Perches
On Wed, 2014-11-05 at 14:12 -0500, Peter Hurley wrote: On 11/05/2014 01:41 PM, Joe Perches wrote: Peter Hurley wrote: The use of older function ptr calling style, (*fn)(), makes static analysis more error-prone; replace with modern fn() style. So make checkpatch emit a --strict test

Re: [RFC] The SIGINFO signal from BSD

2014-11-05 Thread Austin S Hemmelgarn
On 2014-11-05 10:17, Martin Tournoij wrote: Hi there, As a long-time BSD user, I have become quite used to the SIGINFO (sent with ^t) feature; after switching to Linux as my desktop a few months ago, I very much miss this. SIGINFO prints the status of the process to the terminal; BSD cp, for

Re: [PATCH] audit_tree: keep inode pinned

2014-11-05 Thread Miklos Szeredi
On Wed, Nov 5, 2014 at 5:58 PM, Richard Guy Briggs r...@redhat.com wrote: On 14/11/04, Miklos Szeredi wrote: From: Miklos Szeredi mszer...@suse.cz Hi Miklos, Audit rules disappear when an inode they watch is evicted from the cache. This is likely not what we want. The guilty commit is

Re: [linux-nics] [PATCH net 3/5] fm10k: Implement ndo_gso_check()

2014-11-05 Thread Jeff Kirsher
On Wed, 2014-11-05 at 10:26 -0800, Joe Stringer wrote: On 5 November 2014 04:47, Jeff Kirsher jeffrey.t.kirs...@intel.com wrote: On Wed, 2014-11-05 at 14:44 +0200, Or Gerlitz wrote: On Wed, Nov 5, 2014 at 2:34 PM, Jeff Kirsher jeffrey.t.kirs...@intel.com wrote: On Tue, 2014-11-04 at

Re: [PATCH 03/12] serial_core: Handle TIOC[GS]RS485 ioctls.

2014-11-05 Thread Ricardo Ribalda Delgado
Hello Alan After almost one month with no other comments I am planning to resend the patchset including the lock patch. May I add your Reviewed or Acked by to any of the patches? Thanks :) On Thu, Oct 9, 2014 at 4:16 PM, Alan Cox a...@linux.intel.com wrote: On Thu, 2014-10-09 at 10:07 +0200,

Re: [RFC v5] usb: phy: Hold wakeupsource when USB is enumerated in peripheral mode

2014-11-05 Thread Felipe Balbi
On Tue, Nov 04, 2014 at 03:30:54PM +0530, Kiran Kumar Raparthy wrote: From: Todd Poynor toddpoy...@google.com usb: phy: Hold wakeupsource when USB is enumerated in peripheral mode Some systems require a mechanism to prevent system to enter into suspend state when USB is connected and

Re: [PATCH v2 03/13] backports: allow for different backport prefix

2014-11-05 Thread Luis R. Rodriguez
On Wed, Nov 05, 2014 at 10:22:44AM +0100, Johannes Berg wrote: On Wed, 2014-11-05 at 10:16 +0100, Luis R. Rodriguez wrote: IMHO this would be better handled in the code that uses the return value to add things to the Kconfig dependencies, there you could just go if integrate:

Re: [PATCH v4] usb: gadget: f_fs: add no_disconnect mode

2014-11-05 Thread Felipe Balbi
On Mon, Nov 03, 2014 at 10:11:02AM -0600, Felipe Balbi wrote: Hi, On Thu, Oct 09, 2014 at 03:21:51PM +0200, Robert Baldyga wrote: Since we can compose gadgets from many functions, there is the problem related to gadget breakage while FunctionFS daemon being closed. FFS function is

Re: [PATCH 11/13] arm: dts: dra7: add DMA properties for UART

2014-11-05 Thread Lennart Sorensen
On Wed, Nov 05, 2014 at 05:30:51PM +0100, Sebastian Andrzej Siewior wrote: On 11/05/2014 05:20 PM, Lennart Sorensen wrote: On Wed, Nov 05, 2014 at 10:33:15AM -0500, Lennart Sorensen wrote: Two systems ran 16 hours each so far with no issues. Pushed 170MB of data through the pair of serial

[PATCH] kvm: x86: add trace event for pvclock updates

2014-11-05 Thread David Matlack
The new trace event records: * the id of vcpu being updated * the pvclock_vcpu_time_info struct being written to guest memory This is useful for debugging pvclock bugs, such as the bug fixed by [PATCH] kvm: x86: Fix kvm clock versioning.. Signed-off-by: David Matlack dmatl...@google.com ---

Re: [PATCH 3.2 019/102] xfs: don't dirty buffers beyond EOF

2014-11-05 Thread Ben Hutchings
On Tue, 2014-11-04 at 18:09 +1100, Dave Chinner wrote: On Sat, Nov 01, 2014 at 10:28:03PM +, Ben Hutchings wrote: 3.2.64-rc1 review patch. If anyone has any objections, please let me know. I'm not sure it's a good idea to pull stuff like this back into really old stable kernels. OK,

Re: kdbus: add code for buses, domains and endpoints

2014-11-05 Thread Djalal Harouni
On Thu, Oct 30, 2014 at 06:46:48PM +, Simon McVittie wrote: On 30/10/14 18:08, Djalal Harouni wrote: So, this is similar to AF_UNIX sockets. For them there's SCM_CREDENTIALS and SO_PEERCRED. The former uses credentials at the time of when messages are being sent, the latter uses the

Re: [RFC][PATCH 03/12 v3] tracing: Create seq_buf layer in trace_seq

2014-11-05 Thread Steven Rostedt
On Wed, 5 Nov 2014 13:41:47 -0500 Steven Rostedt rost...@goodmis.org wrote: + */ +int seq_buf_bitmask(struct seq_buf *s, const unsigned long *maskp, + int nmaskbits) +{ + unsigned int len = SEQ_BUF_LEFT(s); + int ret; + + WARN_ON(s-size == 0); + +

Re: [PATCH 4/5] of: Add old prop argument on OF_RECONFIG_UPDATE_PROPERTY

2014-11-05 Thread Grant Likely
On Tue, 28 Oct 2014 22:33:52 +0200 , Pantelis Antoniou pantelis.anton...@konsulko.com wrote: The notifier now includes the old_prop argument when updating properties, propagate this API to changeset internals while also retaining the old behaviour of retrieving the old_property when NULL is

Re: [RESEND PATCH V2] mtd: block2mtd: Present block2mtd timely on boot time

2014-11-05 Thread Brian Norris
On Thu, Oct 09, 2014 at 11:07:31AM -0400, Rodrigo Freire wrote: From: Felix Fietkau n...@openwrt.org mtd: block2mtd: Ensure that block2mtd is presented in a timely fashion Currently, a block MTD device is not presented to the system on time, in order to start mounting the filesystems.

[PATCH 8/8] debugfs: Have debugfs_print_regs32() return void

2014-11-05 Thread Steven Rostedt
From: Joe Perches j...@perches.com The seq_printf() will soon just return void, and seq_has_overflowed() should be used instead to see if the seq can no longer accept input. As the return value of debugfs_print_regs32() has no users and the seq_file descriptor should be checked with

[PATCH 1/2] lib: bitmap: Added alignment offset for bitmap_find_next_zero_area()

2014-11-05 Thread Gregory Fong
From: Michal Nazarewicz m.nazarew...@samsung.com This commit adds a bitmap_find_next_zero_area_off() function which works like bitmap_find_next_zero_area() function expect it allows an offset to be specified when alignment is checked. This lets caller request a bit such that its number plus the

Re: [PATCH 5/5] of: of_reconfig_get_state_change() of notifier helper.

2014-11-05 Thread Grant Likely
On Tue, 28 Oct 2014 22:33:53 +0200 , Pantelis Antoniou pantelis.anton...@konsulko.com wrote: Introduce of_reconfig_get_state_change() which allows an of notifier to query about device state changes. Signed-off-by: Pantelis Antoniou pantelis.anton...@konsulko.com Applied, thanks. g. ---

[PATCH 2/2] mm: cma: Align to physical address, not CMA region position

2014-11-05 Thread Gregory Fong
The alignment in cma_alloc() was done w.r.t. the bitmap. This is a problem when, for example: - a device requires 16M (order 12) alignment - the CMA region is not 16 M aligned In such a case, can result with the CMA region starting at, say, 0x2f80 but any allocation you make from there will

Re: [PATCH 4/5] of: Add old prop argument on OF_RECONFIG_UPDATE_PROPERTY

2014-11-05 Thread Pantelis Antoniou
Hi Grant, On Nov 5, 2014, at 22:01 , Grant Likely grant.lik...@secretlab.ca wrote: On Tue, 28 Oct 2014 22:33:52 +0200 , Pantelis Antoniou pantelis.anton...@konsulko.com wrote: The notifier now includes the old_prop argument when updating properties, propagate this API to changeset

Re: [PATCH v2 05/13] backports: use BACKPORT_DIR prefix on kconfig sources

2014-11-05 Thread Luis R. Rodriguez
On Wed, Nov 05, 2014 at 08:51:45AM +0100, Johannes Berg wrote: On Tue, 2014-11-04 at 19:18 -0800, Luis R. Rodriguez wrote: @@ -21,23 +22,53 @@ class ConfigTree(object): yield f for l in open(os.path.join(self.basedir, f), 'r'): m = src_line.match(l) -

Re: [RFC][PATCH 04/12 v3] tracing: Convert seq_buf_path() to be like seq_path()

2014-11-05 Thread Steven Rostedt
On Wed, 5 Nov 2014 15:45:53 +0100 Petr Mladek pmla...@suse.cz wrote: */ -int seq_buf_path(struct seq_buf *s, const struct path *path) +int seq_buf_path(struct seq_buf *s, const struct path *path, const char *esc) { - unsigned int len = SEQ_BUF_LEFT(s); - unsigned char *p;

[PATCH] solo6x10: just pass frame motion flag from hardware, drop additional handling as complicated and unstable

2014-11-05 Thread Andrey Utkin
Dropping code (introduced in 316d9e84a72069e04e483de0d5934c1d75f6a44c) which intends to make raising of motion events more smooth(?). It made motion event never appear in my installation. That code is complicated, so I couldn't figure out quickly how to fix it, so dropping it seems better to me.

Re: [PATCH v2 06/13] backports: update dependencies map file

2014-11-05 Thread Luis R. Rodriguez
On Wed, Nov 05, 2014 at 08:54:11AM +0100, Johannes Berg wrote: On Tue, 2014-11-04 at 19:18 -0800, Luis R. Rodriguez wrote: From: Luis R. Rodriguez mcg...@suse.com During development of kernel integration support using CONFIG_BACKPORT was evaluated as a prefix over CPTCFG even for

Re: [PATCH v2 07/13] backports: split Kconfig into Kconfig.package and Kconfig.sources

2014-11-05 Thread Luis R. Rodriguez
On Wed, Nov 05, 2014 at 08:55:33AM +0100, Johannes Berg wrote: On Tue, 2014-11-04 at 19:18 -0800, Luis R. Rodriguez wrote: +++ b/backport/Kconfig.package @@ -0,0 +1,32 @@ +mainmenu Backports from $BACKPORTED_KERNEL_NAME $BACKPORTED_KERNEL_VERSION (backports $BACKPORTS_VERSION) +

Re: [RFC] The SIGINFO signal from BSD

2014-11-05 Thread Theodore Ts'o
On Wed, Nov 05, 2014 at 02:31:12PM -0500, Austin S Hemmelgarn wrote: SIGINFO prints the status of the process to the terminal; BSD cp, for example, shows show much data it's copied: $ cp large_file /dev/null press ^t load: 1.39 cmd: cp 85837 [running] 3.91r 0.00u 0.98s

Re: [RFC][PATCH 05/12 v3] tracing: Convert seq_buf fields to be like seq_file fields

2014-11-05 Thread Steven Rostedt
On Wed, 5 Nov 2014 16:57:11 +0100 Petr Mladek pmla...@suse.cz wrote: On Tue 2014-11-04 10:52:42, Steven Rostedt wrote: From: Steven Rostedt (Red Hat) rost...@goodmis.org In facilitating the conversion of seq_file to use seq_buf, have the seq_buf fields match the types used by seq_file.

Re: [PATCH 01/10] added media agnostic (MA) USB HCD driver

2014-11-05 Thread sostalle
On Mon, Nov 03, 2014 at 04:13:55PM -0800, Greg KH wrote: On Mon, Nov 03, 2014 at 04:04:42PM -0800, steph wrote: On Mon, Nov 03, 2014 at 01:21:39PM -0800, Greg KH wrote: On Mon, Nov 03, 2014 at 12:42:48PM -0800, Stephanie Wallick wrote: [snip] +static int mausb_hcd_init(void) +{

Re: [RFC][PATCH 07/12 v3] tracing: Have seq_buf use full buffer

2014-11-05 Thread Steven Rostedt
On Wed, 5 Nov 2014 17:31:50 +0100 Petr Mladek pmla...@suse.cz wrote: /** * seq_buf_print_seq - move the contents of seq_buf into a seq_file @@ -55,7 +55,7 @@ int seq_buf_vprintf(struct seq_buf *s, const char *fmt, va_list args) if (s-len s-size) { len =

Re: [PATCH 3.2 087/102] nEPT: Nested INVEPT

2014-11-05 Thread Ben Hutchings
On Mon, 2014-11-03 at 16:29 +0100, Paolo Bonzini wrote: On 03/11/2014 14:44, Ben Hutchings wrote: You can just use the same scheme as your patch 88/102: Why is that? Why should I not use the upstream version? Because it makes no sense to invalidate nested EPT page tables, if the kernel

Re: [PATCH V2] mtd: block2mtd: Present block2mtd timely on boot time

2014-11-05 Thread Brian Norris
On Wed, Sep 17, 2014 at 04:28:03PM -0400, Rodrigo Freire wrote: From: Felix Fietkau n...@openwrt.org mtd: block2mtd: Ensure that block2mtd is presented in a timely fashion Currently, a block MTD device is not presented to the system on time, in order to start mounting the filesystems. This

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