RE: [PATCH 0/2] usb: dwc2: Revert patches causing problems

2014-09-11 Thread Paul Zimmerman
From: linux-usb-ow...@vger.kernel.org [mailto:linux-usb-ow...@vger.kernel.org] On Behalf Of Paul Zimmerman Sent: Thursday, September 11, 2014 1:10 PM From: Paul Zimmerman Sent: Thursday, September 11, 2014 12:11 PM From: Robert Baldyga [mailto:r.bald...@samsung.com] Sent:

Re: [PATCH] pinctrl: berlin: fix the dt_free_map function

2014-09-11 Thread Sebastian Hesselbarth
On 09/10/2014 11:15 AM, Antoine Tenart wrote: The berlin_pinctrl_dt_free_map function tries to free memory allocated and handled by the of subsystem. This is wrong and already handled by pinctrl_dt_free_maps() which calls of_node_put(). This patch fixes the Berlin pinctrl way of freeing its

Re: [PATCH] ARM: dts: berlin: enable timer 1 for sched_clock

2014-09-11 Thread Sebastian Hesselbarth
On 09/09/2014 04:47 PM, Antoine Tenart wrote: Enable timer 1 to be the source for the sched_clock, allowing to have a more precise value than 1/HZ. Signed-off-by: Antoine Tenart antoine.ten...@free-electrons.com Applied to berlin/dt. For the record, I managed to configure UTF-8, so feel

Re: [PATCH 30/35] irqchip: add irq-omap-intc.h header

2014-09-11 Thread Tony Lindgren
* Felipe Balbi ba...@ti.com [140728 14:19]: OMAP INTC irqchip driver will be moved under drivers/irqchip/ soon but we still have a dependency with mach-omap2 when it comes to idle functions. In order to make it easy to share those function prototypes with OMAP PM code, we introduce this new

Re: [RFC v2 3/6] kthread: warn on kill signal if not OOM

2014-09-11 Thread Luis R. Rodriguez
On Thu, Sep 11, 2014 at 1:53 PM, Dmitry Torokhov dmitry.torok...@gmail.com wrote: On Thu, Sep 11, 2014 at 01:42:20PM -0700, Luis R. Rodriguez wrote: On Thu, Sep 11, 2014 at 1:23 PM, Dmitry Torokhov dmitry.torok...@gmail.com wrote: There are elements in common, but by and large the

[PATCH 1/3] x86: axe the lightly-used cpu_has_pae

2014-09-11 Thread Dave Hansen
From: Dave Hansen dave.han...@linux.intel.com cpu_has_pae is only referenced in one place: the X86_32 kexec code (in a file not even built on 64-bit). It hardly warrants its own macro, or the trouble we go to ensuring that it can't be called in X86_64 code. Axe the macro and replace it with a

[PATCH 0/3] [v3] x86: disabled features macros

2014-09-11 Thread Dave Hansen
There were only minor changes here from the last version. I'd like to get this in before the MPX patch set so that the MPX patches can use this instead of 'cpu_has_mpx'. Could this get queued up for 3.18? Changes from v2: * also axe PAE macro * fix typo in comment * put K6_MTRR in the right

[PATCH 2/3] x86: introduce disabled-features

2014-09-11 Thread Dave Hansen
From: Dave Hansen dave.han...@linux.intel.com I believe the REQUIRED_MASK aproach was taken so that it was easier to consult in assembly (arch/x86/kernel/verify_cpu.S). DISABLED_MASK does not have the same restriction, but I implemented it the same way for consistency. We have a

[PATCH 3/3] x86: add more disabled features

2014-09-11 Thread Dave Hansen
From: Dave Hansen dave.han...@linux.intel.com The original motivation for these patches was for an Intel CPU feature called MPX. The patch to add a disabled feature for it will go in with the other parts of the support. But, in the meantime, there are a few other features than MPX that we can

Re: [PATCH 2/3] mm: introduce VM_BUG_ON_MM

2014-09-11 Thread Andrew Morton
On Sat, 6 Sep 2014 15:38:45 -0400 Sasha Levin sasha.le...@oracle.com wrote: Very similar to VM_BUG_ON_PAGE and VM_BUG_ON_VMA, dump struct_mm when the bug is hit. ... +void dump_mm(const struct mm_struct *mm) +{ + printk(KERN_ALERT I'm not sure why we should use KERN_ALERT here -

Re: [PATCH] Put each per-cpu kdump ELF notes into a single page

2014-09-11 Thread Vivek Goyal
On Thu, Sep 11, 2014 at 10:43:30PM +0200, Petr Tesarik wrote: On Thu, 11 Sep 2014 16:01:10 -0400 Vivek Goyal vgo...@redhat.com wrote: On Fri, Sep 05, 2014 at 06:33:14PM +0200, Petr Tesarik wrote: On architectures that use percpu-vm, the percpu region is not guaranteed to be contiguous

Re: [nohz] WARNING: CPU: 0 PID: 0 at arch/x86/kernel/cpu/common.c:1430 warn_pre_alternatives()

2014-09-11 Thread Fengguang Wu
Hi Frederic, On Thu, Sep 11, 2014 at 05:53:19PM +0200, Frederic Weisbecker wrote: Hi, On Thu, Sep 11, 2014 at 03:17:04PM +0800, Fengguang Wu wrote: Greetings, 0day kernel testing robot got the below dmesg and the first bad commit is

[GIT PULL] Ceph fixes for 3.17-rc5

2014-09-11 Thread Sage Weil
Hi Linus, Please pull the following Ceph fixes from git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client.git for-linus The main thing here is a set of three patches that fix a buffer overrun for large authentication tickets (sigh). There is also a trivial warning fix and an error

Re: [BUG] Bisected Problem with LSI PCI FC Adapter

2014-09-11 Thread Dirk Gouders
Bjorn Helgaas bhelg...@google.com writes: On Thu, Sep 11, 2014 at 2:33 PM, Dirk Gouders d...@gouders.net wrote: What I was currently trying was to construct a test-environment so that I do not need to do tests and diagnosis on a busy machine. I noticed that this problem seems to start with

Re: [PATCH 2/6] KEYS: Reinstate EPERM for a key type name beginning with a '.'

2014-09-11 Thread David Howells
Mimi Zohar zo...@linux.vnet.ibm.com wrote: The concept of dot prefixing should probably be documented either in the code and/or documentation. At this point, both types and keyring names are reserved. Indeed. There is one type whose name begins with a '.' that's sort of internal to the

Re: [PATCH] spi: pl022: Add support for chip select extension

2014-09-11 Thread Anders Berg
On Thu, Sep 11, 2014 at 3:26 PM, Linus Walleij linus.wall...@linaro.org wrote: On Wed, Sep 10, 2014 at 4:40 PM, Anders Berg anders.b...@avagotech.com wrote: Add support for a extended PL022 which has an extra register for controlling up to five chip select signals. This controller is found

Re: [PATCH v2 1/2] ARM: dts: dra7: Add CPSW and MDIO module nodes for dra7

2014-09-11 Thread Lennart Sorensen
On Thu, Sep 11, 2014 at 12:07:45PM +0530, Mugunthan V N wrote: On Wednesday 10 September 2014 07:20 PM, Nishanth Menon wrote: On 09/10/2014 08:37 AM, Mugunthan V N wrote: Add CPSW and MDIO related device tree data for DRA7XX and made as status disabled. Phy-id, pinmux for active and sleep

Re: perf top -g -U --sort=symbol --children == lalalalala?

2014-09-11 Thread Arnaldo Carvalho de Melo
Em Thu, Sep 11, 2014 at 10:43:38AM -0300, Arnaldo Carvalho de Melo escreveu: Em Thu, Sep 11, 2014 at 02:43:12PM +0200, Mike Galbraith escreveu: On Thu, 2014-09-11 at 17:09 +0900, Namhyung Kim wrote: On Tue, Sep 9, 2014 at 10:37 PM, Arnaldo Carvalho de Melo a...@ghostprotocols.net wrote:

[tip:x86/cpufeature] x86: Axe the lightly-used cpu_has_pae

2014-09-11 Thread tip-bot for Dave Hansen
Commit-ID: c8128cceb4f4b02c53096cb173628184c7e9bc36 Gitweb: http://git.kernel.org/tip/c8128cceb4f4b02c53096cb173628184c7e9bc36 Author: Dave Hansen dave.han...@linux.intel.com AuthorDate: Thu, 11 Sep 2014 14:15:11 -0700 Committer: H. Peter Anvin h...@linux.intel.com CommitDate: Thu, 11

[tip:x86/cpufeature] x86: Introduce disabled-features

2014-09-11 Thread tip-bot for Dave Hansen
Commit-ID: 381aa07a9b4e1f82969203e9e4863da2a157781d Gitweb: http://git.kernel.org/tip/381aa07a9b4e1f82969203e9e4863da2a157781d Author: Dave Hansen dave.han...@linux.intel.com AuthorDate: Thu, 11 Sep 2014 14:15:13 -0700 Committer: H. Peter Anvin h...@linux.intel.com CommitDate: Thu, 11

[tip:x86/cpufeature] x86: Add more disabled features

2014-09-11 Thread tip-bot for Dave Hansen
Commit-ID: 9298b815efe500b272e4084ed05eeae7a92b5340 Gitweb: http://git.kernel.org/tip/9298b815efe500b272e4084ed05eeae7a92b5340 Author: Dave Hansen dave.han...@linux.intel.com AuthorDate: Thu, 11 Sep 2014 14:15:24 -0700 Committer: H. Peter Anvin h...@linux.intel.com CommitDate: Thu, 11

Re: [PATCH v2] PM / AVS: rockchip-io: add driver handling Rockchip io domains

2014-09-11 Thread Santosh Shilimkar
On Thursday 11 September 2014 05:00 PM, Doug Anderson wrote: From: Heiko Stübner he...@sntech.de IO domain voltages on some Rockchip SoCs are variable but need to be kept in sync between the regulators and the SoC using a special register. A specific example using rk3288: - If the

Re: [RFC 00/14] perf pollfd v3

2014-09-11 Thread Arnaldo Carvalho de Melo
Em Thu, Sep 11, 2014 at 10:30:29AM -0300, Arnaldo Carvalho de Melo escreveu: Em Thu, Sep 11, 2014 at 01:48:25PM +0200, Jiri Olsa escreveu: so the reason was that my fd lib stuff did not get rebuilt.. Thanks a lot! I missed that one, will fold it into the patch that introduces fdarray and

Re: [PATCH 00/48] staging: comedi: avoid using comedi_board()

2014-09-11 Thread Greg Kroah-Hartman
On Thu, Sep 11, 2014 at 05:57:34PM +, Hartley Sweeten wrote: On Tuesday, September 09, 2014 3:26 AM, Ian Abbott wrote: The `comedi_board` inline function takes a single parameter of type `struct comedi_device *` and merely returns the value of the `board_ptr` member therein. This is

Re: [PATCH v2] btrfs: LLVMLinux: Remove VLAIS

2014-09-11 Thread Behan Webster
On 09/11/14 09:34, Chris Mason wrote: On 09/05/2014 06:58 PM, beh...@converseincode.com wrote: From: Vinícius Tinti viniciusti...@gmail.com Replaced the use of a Variable Length Array In Struct (VLAIS) with a C99 compliant equivalent. This is the original VLAIS struct. struct {

Re: [systemd-devel] [RFC v2 3/6] kthread: warn on kill signal if not OOM

2014-09-11 Thread Tom Gundersen
On Wed, Sep 10, 2014 at 11:10 PM, Luis R. Rodriguez mcg...@do-not-panic.com wrote: More than two years have gone by on growing design and assumptions on top of that original commit. I'm not sure if *systemd folks* yet believe its was a design regression? I don't think so. udev should not

[PATCH 2/2] kernel.h: use __COUNTER__ in min and max macros to avoid -Wshadow warnings

2014-09-11 Thread Michal Nazarewicz
Because min and max macros use the same variable names no matter how many times they are called (or how deep the nesting of their calls), each time min or max calls are nested, the same variables are declared. This is especially noisy after min3 and max3 have been changed to nest min/max calls.

[PATCH 1/2] include: kernel.h: deduplicate code implementing min*, max* and clamp* macros

2014-09-11 Thread Michal Nazarewicz
Apart from temporary variable names, min and max macros have only one difference -- the operator used to compare the arguments. Furthermore, min and min_t differ only in the type used for the temporary variables. Same with max and max_t. All of those macros can be trivially folded into a single

Re: [PATCH] slab: fix for_each_kmem_cache_node

2014-09-11 Thread Mikulas Patocka
On Thu, 11 Sep 2014, Andrew Morton wrote: On Mon, 8 Sep 2014 09:16:34 -0500 (CDT) Christoph Lameter c...@linux.com wrote: Acked-by: Christoph Lameter c...@linux.com I suspect the original patch got eaten by the linux-foundation.org DNS outage, and whoever started this thread

Re: futex_wait_setup sleeping while atomic bug.

2014-09-11 Thread Thomas Gleixner
On Thu, 11 Sep 2014, Dave Jones wrote: Hit this overnight on Linus tree from yesterday. BUG: sleeping function called from invalid context at include/linux/freezer.h:56 in_atomic(): 1, irqs_disabled(): 0, pid: 31948, name: trinity-c121 Preemption disabled at:[b90f2512]

Re: [PATCH v11 net-next 00/12] eBPF syscall, verifier, testsuite

2014-09-11 Thread Andy Lutomirski
On Thu, Sep 11, 2014 at 1:33 PM, Alexei Starovoitov a...@plumgrid.com wrote: On Thu, Sep 11, 2014 at 12:47 PM, Daniel Borkmann dbork...@redhat.com wrote: On 09/10/2014 07:32 PM, Alexei Starovoitov wrote: On Wed, Sep 10, 2014 at 2:03 AM, Daniel Borkmann dbork...@redhat.com wrote:

Re: a case for a common efuse API?

2014-09-11 Thread Stephen Boyd
On 07/10/14 07:26, Maxime Ripard wrote: I guess that the kind of things we could discuss after posting these patches, but yep, it looks reasonnable. I'll try to get things a bit cleaner, and post them in the next days. I never saw anything. Did you do any cleaning/posting? I'm going to try

Re: Ask help about pre_init_apic_IRQ0()

2014-09-11 Thread Thomas Gleixner
On Thu, 11 Sep 2014, Andy Shevchenko wrote: On Thu, 2014-09-11 at 16:35 +0200, Thomas Gleixner wrote: On Thu, 11 Sep 2014, Andy Shevchenko wrote: On Thu, 2014-09-11 at 14:58 +0200, Thomas Gleixner wrote: [] According to the MID code the apbt horror is only used for moorestown.

Re: [RFC v2 8/9] KVM: KVM-VFIO: generic KVM_DEV_VFIO_DEVICE command and IRQ forwarding control

2014-09-11 Thread Christoffer Dall
On Thu, Sep 11, 2014 at 12:14:10PM -0600, Alex Williamson wrote: On Thu, 2014-09-11 at 19:10 +0200, Christoffer Dall wrote: On Wed, Sep 10, 2014 at 11:05:49PM -0600, Alex Williamson wrote: On Thu, 2014-09-11 at 05:10 +0200, Christoffer Dall wrote: On Mon, Sep 01, 2014 at 02:52:47PM

RE: [PATCH 00/48] staging: comedi: avoid using comedi_board()

2014-09-11 Thread Hartley Sweeten
On Thursday, September 11, 2014 2:38 PM, Greg Kroah-Hartman wrote: On Thu, Sep 11, 2014 at 05:57:34PM +, Hartley Sweeten wrote: Just wanted to give you a heads up on this series and the ones I have posted. The series are: From Ian, [PATCH 00/48] staging: comedi: avoid using

Re: [PATCH] staging: android: checkpatch fixes for sw_sync files

2014-09-11 Thread Greg KH
On Wed, Sep 10, 2014 at 10:10:49PM +0100, Purnendu Kapadia wrote: - add line after declaration - allignment should match open parenthesis - remove unnecessary new line Signed-off-by: Purnendu Kapadia pro8li...@gmail.com --- drivers/staging/android/sw_sync.c | 9 +

[GIT PULL] USB fixes for v3.17-rc4

2014-09-11 Thread Felipe Balbi
Hi Greg, Here's another set of fixes for v3.17. By the looks of things, I suppose this is my last pull request for v3.17. I should have my v3.18 pull ready by end of next week. Let me know if you need anything to be changed. cheers The following changes since commit

mmc: freeing host while host-detect work queue is still active

2014-09-11 Thread Stephen Warren
Running Fedora rawhides's 3.17.0-0.rc4.git2.1.fc22.armv7hl kernel on Jetson TK1 (an ARM board containing Tegra SoC), I see the following during boot most times the Tegra SDHCI driver defers probe for the SD slot: [8.377719] sdhci-tegra 700b0400.sdhci: Got CD GPIO #170. [8.377780]

Re: [PATCH] coresight: bindings for coresight drivers

2014-09-11 Thread Rob Herring
On Thu, Sep 11, 2014 at 11:04 AM, mathieu.poir...@linaro.org wrote: From: Mathieu Poirier mathieu.poir...@linaro.org Coresight IP blocks allow for the support of HW assisted tracing on ARM SoCs. Bindings for the currently available blocks are presented herein. Signed-off-by: Pratik Patel

Re: [PATCH] mtd: nand: atmel_nand: retrieve NFC clock

2014-09-11 Thread Thomas Petazzoni
Dear Boris BREZILLON, On Thu, 11 Sep 2014 17:38:54 +0200, Boris BREZILLON wrote: Anyway, with or without the docs I think this patch breaks DT backward compatibility. Or am I missing something? Indeed, this block of code should be placed at the end of the probe function. I'll fix

Re: [PATCH v2] PM / AVS: rockchip-io: add driver handling Rockchip io domains

2014-09-11 Thread Doug Anderson
Santosh, On Thu, Sep 11, 2014 at 2:31 PM, Santosh Shilimkar santosh.shilim...@ti.com wrote: +Required properties: +- compatible: should be one of: + - rockchip,rk3188-iodomain for rk3188 + - rockchip,rk3288-iodomain for rk3288 The key word 'voltage' is missing from the compatible. iodomain

Re: [GIT PULL] USB fixes for v3.17-rc4

2014-09-11 Thread Greg KH
On Thu, Sep 11, 2014 at 05:02:10PM -0500, Felipe Balbi wrote: Hi Greg, Here's another set of fixes for v3.17. By the looks of things, I suppose this is my last pull request for v3.17. I should have my v3.18 pull ready by end of next week. Let me know if you need anything to be changed.

Re: [PATCH v8 06/10] mips: sync struct siginfo with general version

2014-09-11 Thread Thomas Gleixner
On Thu, 11 Sep 2014, Qiaowei Ren wrote: Due to new fields about bound violation added into struct siginfo, this patch syncs it with general version to avoid build issue. You completely fail to explain which build issue is addressed by this patch. The code you added to kernel/signal.c which

[PATCH] drivers: net: b44: Fix typo in returning multicast stats

2014-09-11 Thread Mark Einon
nstat-multicast refers to received packets, not transmitted as is returned here. Change it so that received packet stats are given. Signed-off-by: Mark Einon mark.ei...@gmail.com --- drivers/net/ethernet/broadcom/b44.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [RFC v2 1/9] KVM: ARM: VGIC: fix multiple injection of level sensitive forwarded IRQ

2014-09-11 Thread Christoffer Dall
On Thu, Sep 11, 2014 at 08:17:49PM +0200, Eric Auger wrote: On 09/11/2014 05:09 AM, Christoffer Dall wrote: On Mon, Sep 01, 2014 at 02:52:40PM +0200, Eric Auger wrote: Fix multiple injection of level sensitive forwarded IRQs. With current code, the second injection fails since the state

[PATCH/RESEND] tty: serial: msm: Add DT based earlycon support

2014-09-11 Thread Stephen Boyd
Add support for DT based early console on platforms with the msm serial hardware. Cc: Rob Herring r...@kernel.org Signed-off-by: Stephen Boyd sb...@codeaurora.org --- drivers/tty/serial/Kconfig | 1 + drivers/tty/serial/msm_serial.c | 72 ++--- 2 files

Re: [PATCH] Put each per-cpu kdump ELF notes into a single page

2014-09-11 Thread Petr Tesarik
On Thu, 11 Sep 2014 17:16:37 -0400 Vivek Goyal vgo...@redhat.com wrote: On Thu, Sep 11, 2014 at 10:43:30PM +0200, Petr Tesarik wrote: On Thu, 11 Sep 2014 16:01:10 -0400 Vivek Goyal vgo...@redhat.com wrote: On Fri, Sep 05, 2014 at 06:33:14PM +0200, Petr Tesarik wrote: On

Re: futex_wait_setup sleeping while atomic bug.

2014-09-11 Thread Darren Hart
On Thu, Sep 11, 2014 at 11:52:02PM +0200, Thomas Gleixner wrote: On Thu, 11 Sep 2014, Dave Jones wrote: Hit this overnight on Linus tree from yesterday. BUG: sleeping function called from invalid context at include/linux/freezer.h:56 in_atomic(): 1, irqs_disabled(): 0, pid: 31948,

Re: [PATCH v8 07/10] x86, mpx: decode MPX instruction to get bound violation information

2014-09-11 Thread Thomas Gleixner
On Thu, 11 Sep 2014, Qiaowei Ren wrote: This patch sets bound violation fields of siginfo struct in #BR exception handler by decoding the user instruction and constructing the faulting pointer. This patch does't use the generic decoder, and implements a limited special-purpose decoder to

[PATCH v2] clocksource: arch_timer: Fix code to use physical timers when requested

2014-09-11 Thread Sonny Rao
This is a bug fix for using physical arch timers when the arch_timer_use_virtual boolean is false. It restores the arch_counter_get_cntpct() function after removal in 0d651e4e clocksource: arch_timer: use virtual counters and completes the implementation of memory mapped access for physical

Re: [PATCH v2] PM / AVS: rockchip-io: add driver handling Rockchip io domains

2014-09-11 Thread Santosh Shilimkar
On Thursday 11 September 2014 06:07 PM, Doug Anderson wrote: Santosh, On Thu, Sep 11, 2014 at 2:31 PM, Santosh Shilimkar santosh.shilim...@ti.com wrote: +Required properties: +- compatible: should be one of: + - rockchip,rk3188-iodomain for rk3188 + - rockchip,rk3288-iodomain for rk3288

[PATCH Resend] drivers: net: b44: Fix typo in returning multicast stats

2014-09-11 Thread Mark Einon
nstat-multicast refers to received packets, not transmitted as is returned here. Change it so that received packet stats are given. Signed-off-by: Mark Einon mark.ei...@gmail.com --- changing to send to alternate address for Gary Zambrano, maintainers entry bounced.

Re: [PATCH/RFC 1/2] lib: string: Remove duplicated function

2014-09-11 Thread Andrew Morton
On Wed, 27 Aug 2014 09:36:01 +0200 Rasmus Villemoes li...@rasmusvillemoes.dk wrote: lib/string.c contains two functions, strnicmp and strncasecmp, which do roughly the same thing, namely compare two strings case-insensitively up to a given bound. They have slightly different implementations,

Re: [PATCH 2/4] mfd/axp2xx: extend axp20x to support axp288 pmic

2014-09-11 Thread Jacob Pan
On Tue, 9 Sep 2014 15:37:04 +0200 Maxime Ripard maxime.rip...@free-electrons.com wrote: On Tue, Sep 09, 2014 at 05:45:17AM -0700, Jacob Pan wrote: -static int axp20x_i2c_probe(struct i2c_client *i2c, -const struct i2c_device_id *id) +static int

[PATCH 2/2] ACPIPHP / radeon / nouveau: Remove acpi_bus_no_hotplug()

2014-09-11 Thread Bjorn Helgaas
Revert parts of f244d8b623da (ACPIPHP / radeon / nouveau: Fix VGA switcheroo problem related to hotplug). A previous commit 5493b31f0b55 (PCI: Add pci_ignore_hotplug() to ignore hotplug events for a device) added equivalent functionality implemented in a different way for both acpiphp and pciehp.

[PATCH 1/2] PCI: Add pci_ignore_hotplug() to ignore hotplug events for a device

2014-09-11 Thread Bjorn Helgaas
Powering off a hot-pluggable device, e.g., with pci_set_power_state(D3cold), normally generates a hot-remove event that unbinds the driver. Some drivers expect to remain bound to a device even while they power it off and back on again. This can be dangerous, because if the device is removed or

[PATCH 0/2] PCI: Ignore hotplug events for dual GPU systems

2014-09-11 Thread Bjorn Helgaas
These are intended to resolve problems on dual GPU systems where the radeon driver becomes unusable because of problems suspending or resuming a GPU. When the GPU is powered off, we may get hotplug remove events, and we would normally unbind the driver and destroy the pci_dev. But in this case,

Re: [systemd-devel] [RFC v2 3/6] kthread: warn on kill signal if not OOM

2014-09-11 Thread Luis R. Rodriguez
On Thu, Sep 11, 2014 at 2:43 PM, Tom Gundersen t...@jklm.no wrote: On Wed, Sep 10, 2014 at 11:10 PM, Luis R. Rodriguez mcg...@do-not-panic.com wrote: More than two years have gone by on growing design and assumptions on top of that original commit. I'm not sure if *systemd folks* yet believe

Re: [PATCH 3/4] regulator/axp20x: use axp2xx consolidated header

2014-09-11 Thread Jacob Pan
On Tue, 9 Sep 2014 12:25:16 +0100 Mark Brown broo...@debian.org wrote: On Mon, Sep 08, 2014 at 03:24:05PM -0700, Jacob Pan wrote: AXP20x driver has been extended to support axp288 variant. Header file and common data structures has also been renamed to suit the new scope of devices

repeated bugs in new rtl wifi drivers

2014-09-11 Thread Kees Cook
Hi, I keep fixing this same bug that keeps showing up in the rtl wifi drivers. CL_PRINTF keeps getting redefined (incorrectly) instead of using a correctly fixed global. Is there a way to stop this from happening again? Here are the past three (identical) fixes I've landed:

Re: [3.16-rcX][pciehp][radeon] PCIe HotPlug conflicts with radeon GPU

2014-09-11 Thread Bjorn Helgaas
[+cc linux-pci] On Sat, Aug 2, 2014 at 10:02 AM, Shawn Starr shawn.st...@rogers.com wrote: Hello devs, There are two issues I am encountering with the PCIe Hotplug driver on my Lenovo Laptop (W500). I note this goes back further than 3.15. It is noted here:

Re: [PATCH v11 net-next 00/12] eBPF syscall, verifier, testsuite

2014-09-11 Thread Alexei Starovoitov
On Thu, Sep 11, 2014 at 2:54 PM, Andy Lutomirski l...@amacapital.net wrote: the verifier log contains full trace. Last unsafe instruction + error in many cases is useless. What we found empirically from using it over last 2 years is that developers have different learning curve to adjust to

Re: [PATCH v8 07/10] x86, mpx: decode MPX instruction to get bound violation information

2014-09-11 Thread Dave Hansen
On 09/11/2014 03:18 PM, Thomas Gleixner wrote: On Thu, 11 Sep 2014, Qiaowei Ren wrote: This patch sets bound violation fields of siginfo struct in #BR exception handler by decoding the user instruction and constructing the faulting pointer. This patch does't use the generic decoder, and

Re: [PATCH v8 07/10] x86, mpx: decode MPX instruction to get bound violation information

2014-09-11 Thread H. Peter Anvin
On 09/11/2014 03:32 PM, Dave Hansen wrote: On 09/11/2014 03:18 PM, Thomas Gleixner wrote: On Thu, 11 Sep 2014, Qiaowei Ren wrote: This patch sets bound violation fields of siginfo struct in #BR exception handler by decoding the user instruction and constructing the faulting pointer. This

Re: [PATCH 2/3] mm: introduce VM_BUG_ON_MM

2014-09-11 Thread Sasha Levin
On 09/11/2014 05:16 PM, Andrew Morton wrote: On Sat, 6 Sep 2014 15:38:45 -0400 Sasha Levin sasha.le...@oracle.com wrote: Very similar to VM_BUG_ON_PAGE and VM_BUG_ON_VMA, dump struct_mm when the bug is hit. ... +void dump_mm(const struct mm_struct *mm) +{ +printk(KERN_ALERT I'm

Re: repeated bugs in new rtl wifi drivers

2014-09-11 Thread Greg KH
On Thu, Sep 11, 2014 at 03:27:39PM -0700, Kees Cook wrote: Hi, I keep fixing this same bug that keeps showing up in the rtl wifi drivers. CL_PRINTF keeps getting redefined (incorrectly) instead of using a correctly fixed global. Is there a way to stop this from happening again? Here are

Re: [PATCH v2] eeepc-laptop: simplify parse_arg()

2014-09-11 Thread Darren Hart
On Wed, Sep 10, 2014 at 10:05:20PM +0200, Paul Bolle wrote: parse_arg() has three possible return values: -EINVAL if sscanf(), in short, fails; zero if count is zero; and count in all other cases But count will never be zero. See, parse_arg() is called by the various store

Re: mm: BUG in unmap_page_range

2014-09-11 Thread Sasha Levin
On 09/11/2014 12:28 PM, Mel Gorman wrote: Agreed. If 3.17-rc4 looks stable with the VM_BUG_ON then it would be really nice if you could bisect 3.17-rc4 to linux-next carrying the VM_BUG_ON(!(val _PAGE_PRESENT)) check at each bisection point. I'm not 100% sure if I'm seeing the same corruption

Re: [PATCH v2 5/5] toshiba_acpi: Change touchpad store to check for invalid values

2014-09-11 Thread Darren Hart
On Wed, Sep 10, 2014 at 09:01:57PM -0600, Azael Avalos wrote: The function toshiba_touchpad_store is not checking for invalid values and simply returns silently. This patch checks for invalid values and returns accordingly. Signed-off-by: Azael Avalos coproscef...@gmail.com Queued, thanks

[PATCH v3] PM / AVS: rockchip-io: add driver handling Rockchip io domains

2014-09-11 Thread Doug Anderson
From: Heiko Stübner he...@sntech.de IO domain voltages on some Rockchip SoCs are variable but need to be kept in sync between the regulators and the SoC using a special register. A specific example using rk3288: - If the regulator hooked up to a pin like SDMMC0_VDD is 3.3V then bit 7 of

Re: [BUG] Bisected Problem with LSI PCI FC Adapter

2014-09-11 Thread Bjorn Helgaas
On Thu, Sep 11, 2014 at 3:24 PM, Dirk Gouders d...@gouders.net wrote: Bjorn Helgaas bhelg...@google.com writes: On Thu, Sep 11, 2014 at 2:33 PM, Dirk Gouders d...@gouders.net wrote: What I was currently trying was to construct a test-environment so that I do not need to do tests and diagnosis

Deadlock in vtime_account_user() vs itself across a page fault

2014-09-11 Thread David Howells
Whilst trying to use docker, I'm occasionally seeing the attached deadlock in user time accounting, with a page fault in the middle. The relevant lines from the pre-fault bits of stack: [8106d954] ? cpuacct_account_field+0x65/0x9a (gdb) i li *0x8106d954

[PATCH v8 3/4] dt-bindings: pci: xgene pcie device tree bindings

2014-09-11 Thread Tanmay Inamdar
This patch adds the bindings for X-Gene PCIe driver. The driver resides under 'drivers/pci/host/pci-xgene.c' file. Signed-off-by: Tanmay Inamdar tinam...@apm.com --- .../devicetree/bindings/pci/xgene-pci.txt | 55 ++ 1 file changed, 55 insertions(+) create mode

[PATCH v8 0/4] APM X-Gene PCIe host controller

2014-09-11 Thread Tanmay Inamdar
This patch adds support for AppliedMicro X-Gene PCIe host controller. The driver is tested on X-Gene platform with different gen1/2/3 PCIe endpoint cards. X-Gene PCIe controller driver has depedency on the pcie arm64 arch support. Liviu Dudau from ARM has sent a patch set for pcie arm64 arch

[PATCH v8 4/4] MAINTAINERS: entry for APM X-Gene PCIe host driver

2014-09-11 Thread Tanmay Inamdar
Add entry for AppliedMicro X-Gene PCIe host driver. Signed-off-by: Tanmay Inamdar tinam...@apm.com --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 5e7866a..cd9bb3da 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -6941,6 +6941,14 @@ L:

[PATCH v8 2/4] arm64: dts: APM X-Gene PCIe device tree nodes

2014-09-11 Thread Tanmay Inamdar
This patch adds the device tree nodes for APM X-Gene PCIe host controller and PCIe clock interface. Since X-Gene SOC supports maximum 5 ports, 5 dts nodes are added. Signed-off-by: Tanmay Inamdar tinam...@apm.com --- arch/arm64/boot/dts/apm-mustang.dts | 8 ++

Re: [PATCH V2] ASoC: fsl_ssi: refine ipg clock usage in this module

2014-09-11 Thread Nicolin Chen
On Thu, Sep 11, 2014 at 01:38:29PM +0800, Shengjiu Wang wrote: Move the ipg clock enable and disable operation to startup and shutdown, that is only enable ipg clock when ssi is working. Keep clock is disabled when ssi is in idle. otherwise, _fsl_ssi_set_dai_fmt function need to be called in

Re: [PATCH 1/2] KVM: document KVM_SET_GUEST_DEBUG api

2014-09-11 Thread Christoffer Dall
On Tue, Sep 09, 2014 at 05:27:18PM +0100, Alex Bennée wrote: In preparation for working on the ARM implementation I noticed the debug interface was missing from the API document. I've pieced together the expected behaviour from the code and commit messages written it up as best I can.

[PATCH v8 1/4] pci:host: APM X-Gene PCIe host controller driver

2014-09-11 Thread Tanmay Inamdar
This patch adds the AppliedMicro X-Gene SOC PCIe host controller driver. X-Gene PCIe controller supports maximum up to 8 lanes and GEN3 speed. X-Gene SOC supports maximum 5 PCIe ports. Signed-off-by: Tanmay Inamdar tinam...@apm.com --- drivers/pci/host/Kconfig | 10 +

Re: [PATCH] clk: samsung: exynos5260: fix typo in clock name

2014-09-11 Thread Tomasz Figa
Hi Pankaj, On 10.09.2014 07:56, Pankaj Dubey wrote: From: Chander Kashyap k.chan...@samsung.com The parent name added in parent list as mout_phyclk_mipi_dphy_4l_m_txbyte_clkhs_p, is different than the defined parent due to typo. Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com

Re: [PATCH v16 0/7] MADV_FREE support

2014-09-11 Thread Minchan Kim
Hello Andrew, This patchset have been pended for a long time. Is there any problem to proceed? On Mon, Sep 01, 2014 at 04:20:41PM +0900, Minchan Kim wrote: This patch enable MADV_FREE hint for madvise syscall, which have been supported by other OSes. [PATCH 1] includes the details. [1]

[PATCH v3] kbuild: add support to generate LLVM bitcode files

2014-09-11 Thread Vinícius Tinti
Allows kbuild to generate LLVM bitcode files using '.ll' suffix. # from c code CC=clang make kernel/pid.ll # from asm code CC=clang make arch/x86/kernel/preempt.ll Signed-off-by: Vinícius Tinti viniciusti...@gmail.com Signed-off-by: Behan Webster beh...@converseincode.com ---

[PATCH v3 3/5] regulator/axp20x: use axp2xx consolidated header

2014-09-11 Thread Jacob Pan
AXP20x driver has been extended to support axp288 variant. Header file and common data structures has also been renamed to suit the new scope of devices supported. This patch makes use of the renamed header and structure. Acked-by: Mark Brown broo...@kernel.org Signed-off-by: Jacob Pan

Re: Ask help about pre_init_apic_IRQ0()

2014-09-11 Thread David Cohen
On Thu, Sep 11, 2014 at 12:08:56PM +0300, Andy Shevchenko wrote: On Thu, 2014-09-11 at 11:53 +0300, Mika Westerberg wrote: On Thu, Sep 11, 2014 at 04:44:54PM +0800, Jiang Liu wrote: Hi Thomas, When converting IOAPIC to hierarchy irqdomain, I ran into trouble when dealing with

[PATCH v3 1/5] mfd/axp20x: rename files to support more devices

2014-09-11 Thread Jacob Pan
More XPowers PMIC devices can be supported by extending this driver, so rename it to axp2xx to cover axp288 variant. Acked-by: Lee Jones lee.jo...@linaro.org Signed-off-by: Jacob Pan jacob.jun@linux.intel.com --- drivers/mfd/Kconfig | 7 --- drivers/mfd/Makefile

[PATCH v3 5/5] iio: add documentation for current attribute

2014-09-11 Thread Jacob Pan
Add documentation for input current raw reading and scale. Signed-off-by: Jacob Pan jacob.jun@linux.intel.com --- Documentation/ABI/testing/sysfs-bus-iio | 8 1 file changed, 8 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-bus-iio

[PATCH v3 0/5] Initial support for XPowers AXP288 PMIC

2014-09-11 Thread Jacob Pan
XPowers AXP288 is a customized PMIC found on some Intel Baytrail-CR platforms. It comes with sub-functions such as USB charging, fuel gauge, ADC, and many LDO and BUCK channels. By extending the existing AXP20x driver, this patchset adds basic support for AXP288 PMIC with GPADC as one MFD cell

[PATCH v3 4/5] iio/adc/axp288: add support for axp288 gpadc

2014-09-11 Thread Jacob Pan
Platform driver for XPowers AXP288 ADC, which is a sub-device of the customized PMIC for Intel Baytrail-CR platforms. GPADC device enumerates as one of the MFD cell devices. It uses IIO infrastructure to communicate with userspace and consumer drivers. Usages of ADC channels include battery

RE: page fault in mem_cgroup_page_lruvec() due to memory hot-add

2014-09-11 Thread KY Srinivasan
-Original Message- From: Michal Hocko [mailto:msts...@gmail.com] On Behalf Of Michal Hocko Sent: Thursday, September 11, 2014 5:29 AM To: Dexuan Cui Cc: linux...@kvack.org; linux-kernel@vger.kernel.org; Johannes Weiner; Hugh Dickins; KY Srinivasan Subject: Re: page fault in

[PATCH v3 2/5] mfd/axp2xx: extend axp20x to support axp288 pmic

2014-09-11 Thread Jacob Pan
XPower AXP288 is a customized PMIC for Intel Baytrail-CR platforms. Similar to AXP202/209, AXP288 comes with USB charger, more LDO and BUCK channels, and AD converter. It also provides extended status and interrupt reporting capabilities than the devices supported in axp20x.c. In addition to

Re: [PATCH] zram: use notify_free to account all free notifications

2014-09-11 Thread Minchan Kim
Hey Sergey, Sorry for late review. On Fri, Sep 05, 2014 at 09:57:09PM +0900, Sergey Senozhatsky wrote: notify_free device attribute accounts the number of slot free notifications and internally represents the number of zram_free_page() calls. Slot free notifications are sent only when device

Re: [PATCH v8 08/10] x86, mpx: add prctl commands PR_MPX_REGISTER, PR_MPX_UNREGISTER

2014-09-11 Thread Thomas Gleixner
On Thu, 11 Sep 2014, Qiaowei Ren wrote: This patch adds the PR_MPX_REGISTER and PR_MPX_UNREGISTER prctl() commands. These commands can be used to register and unregister MPX related resource on the x86 platform. I cant see anything which is registered/unregistered. The base of the bounds

Re: [PATCH RFC 3/4] xen, blkfront: introduce support for multiple hw queues

2014-09-11 Thread Arianna Avanzini
Hello, thank you for all your comments and sorry if it took so long to reply and address them. On Fri, Aug 22, 2014 at 01:52:57PM +0100, David Vrabel wrote: On 22/08/14 12:20, Arianna Avanzini wrote: This commit introduces in xen-blkfront actual support for multiple hardware queues. The

Re: [PATCH v8 07/10] x86, mpx: decode MPX instruction to get bound violation information

2014-09-11 Thread Thomas Gleixner
On Thu, 11 Sep 2014, H. Peter Anvin wrote: On 09/11/2014 03:32 PM, Dave Hansen wrote: On 09/11/2014 03:18 PM, Thomas Gleixner wrote: On Thu, 11 Sep 2014, Qiaowei Ren wrote: This patch sets bound violation fields of siginfo struct in #BR exception handler by decoding the user instruction

Re: repeated bugs in new rtl wifi drivers

2014-09-11 Thread Larry Finger
On 09/11/2014 05:27 PM, Kees Cook wrote: Hi, I keep fixing this same bug that keeps showing up in the rtl wifi drivers. CL_PRINTF keeps getting redefined (incorrectly) instead of using a correctly fixed global. Is there a way to stop this from happening again? Here are the past three

Re: /proc/pid/exe symlink behavior change in =3.15.

2014-09-11 Thread Chuck Ebbert
On Sun, 7 Sep 2014 09:56:08 +0200 Mateusz Guzik mgu...@redhat.com wrote: On Sat, Sep 06, 2014 at 11:44:32PM +0200, Piotr Karbowski wrote: Hi, Starting with kernel 3.15 the 'exe' symlink under /proc/pid/ acts diffrent than it used to in all the pre-3.15 kernels. The usecase:

[PATCH] drivers: staging: lustre: Cleanup src/dst comparisons in obdo_cmp_md()

2014-09-11 Thread Greg Donald
Cleanup obdo_cmp_md() src/dst comparisons using bitwise OR assignments Suggested-by: Joe Perches j...@perches.com Signed-off-by: Greg Donald gdon...@gmail.com --- drivers/staging/lustre/lustre/obdclass/obdo.c | 32 +-- 1 file changed, 16 insertions(+), 16 deletions(-)

Re: [PATCH RFC 4/4] xen, blkback: add support for multiple block rings

2014-09-11 Thread Arianna Avanzini
On Fri, Aug 22, 2014 at 02:15:58PM +0100, David Vrabel wrote: On 22/08/14 12:20, Arianna Avanzini wrote: This commit adds to xen-blkback the support to retrieve the block layer API being used and the number of available hardware queues, in case the block layer is using the multi-queue API.

Re: repeated bugs in new rtl wifi drivers

2014-09-11 Thread Kees Cook
On Thu, Sep 11, 2014 at 4:38 PM, Larry Finger larry.fin...@lwfinger.net wrote: On 09/11/2014 05:27 PM, Kees Cook wrote: Hi, I keep fixing this same bug that keeps showing up in the rtl wifi drivers. CL_PRINTF keeps getting redefined (incorrectly) instead of using a correctly fixed global.

[PATCH] xen/hvc: Fix warning compilation when CONFIG_HVC_XEN_FRONTEND is not enabled

2014-09-11 Thread Julien Grall
The below warning appears when the hvc xen driver is compiled without CONFIG_HVC_XEN_FRONTEND not enabled: drivers/tty/hvc/hvc_xen.c:333:12: warning: ‘xen_console_remove’ defined but not used [-Wunused-function] static int xen_console_remove(struct xencons_info *info) ^ Move the

  1   2   3   4   5   6   7   8   9   10   >