Re: [PATCH 03/35] UBI: Fastmap: Add self check to detect absent PEBs

2014-11-05 Thread Richard Weinberger
Am 05.11.2014 um 17:01 schrieb Artem Bityutskiy: On Wed, 2014-11-05 at 16:56 +0100, Richard Weinberger wrote: I did that to have alloc and free balanced. I.e. to not have a naked kfree(). Always when I see a kfree() somewhere I'd like to see the k*alloc(). OK. Please, just make the

[PATCH v2 07/11] ARM: at91: select ATMEL_EBI when compiling a kernel for at91sam9 or sama5d3

2014-11-05 Thread Boris Brezillon
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- arch/arm/mach-at91/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig index 0e6d548..a72402a 100644 --- a/arch/arm/mach-at91/Kconfig +++

[PATCH v2 01/11] mfd: syscon: Add atmel-matrix registers definition

2014-11-05 Thread Boris Brezillon
AT91 SoCs have a memory range reserved for internal bus configuration. Expose those registers so that drivers can make use of the matrix syscon declared in at91 DTs. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- include/linux/mfd/syscon/atmel-matrix.h | 114

Re: [PATCH v4] iio: iadc: Qualcomm SPMI PMIC current ADC driver

2014-11-05 Thread Jonathan Cameron
On 03/11/14 08:45, Ivan T. Ivanov wrote: On Fri, 2014-10-31 at 21:48 +0100, Peter Meerwald wrote: Ivan T. Ivanov schrieb am 22.10.2014 16:13: The current ADC is peripheral of Qualcomm SPMI PMIC chips. It has 16 bits resolution and register space inside PMIC accessible across SPMI bus. The

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

2014-11-05 Thread Boris Brezillon
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 own configuration (timings, access mode, bus width, ...). This driver provides a

Re: Early test: hangs in mm/compact.c w. Linus's 12d7aacab56e9ef185c

2014-11-05 Thread P. Christeas
On Wednesday 05 November 2014, Vlastimil Babka wrote: I see. I've tried to reproduce such issues with 3.18-rc3 but wasn't successful. But I noticed a possible issue that could lead to your problem. Can you please try the following patch? OK, I can give it a try. FYI, the stability canary is

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

2014-11-05 Thread Boris Brezillon
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 own configuration (timings, access mode, bus width, ...). This driver provides a

[PATCH v2 06/11] memory: atmel-ebi: add DT bindings documentation

2014-11-05 Thread Boris Brezillon
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- .../bindings/memory-controllers/atmel-ebi.txt | 153 + 1 file changed, 153 insertions(+) create mode 100644 Documentation/devicetree/bindings/memory-controllers/atmel-ebi.txt diff --git

Re: [PATCH 10/10] mm/hugetlb: share the i_mmap_rwsem

2014-11-05 Thread Hugh Dickins
On Tue, 4 Nov 2014, Davidlohr Bueso wrote: 8 From: Davidlohr Bueso d...@stgolabs.net Subject: [PATCH 11/10] mm/memory.c: share the i_mmap_rwsem The unmap_mapping_range family of functions do the unmapping of user pages (ultimately via

Re: [PATCH 06/35] UBI: Fastmap: Ensure that all fastmap work is done upon WL shutdown

2014-11-05 Thread Artem Bityutskiy
On Wed, 2014-11-05 at 16:59 +0100, Richard Weinberger wrote: Am 05.11.2014 um 16:54 schrieb Artem Bityutskiy: On Wed, 2014-11-05 at 16:49 +0100, Richard Weinberger wrote: If you want I can rebase. That would be very helpful. I did all fixes first and then the cleanups. Well,

Re: [ANNOUNCE] 3.14.23-rt20

2014-11-05 Thread Thomas Gleixner
On Wed, 5 Nov 2014, Steven Rostedt wrote: On Wed, 5 Nov 2014 14:50:41 +0100 Juerg Haefliger jue...@gmail.com wrote: On Sun, Nov 2, 2014 at 8:30 AM, Mike Galbraith umgwanakikb...@gmail.com wrote: On Fri, 2014-10-31 at 17:03 -0400, Steven Rostedt wrote: Dear RT Folks, I'm

[PATCH v2 04/11] mfd: syscon: Add Atmel SMC binding doc

2014-11-05 Thread Boris Brezillon
The SMC registers are used to configure Atmel EBI (External Bus Interface) to interface with standard memory devices (NAND, NOR, SRAM or specialized devices like FPGAs). Declare this memory region as a syscon, so that different drivers can configure the SMC interface (mostly timing configuration)

Re: [ANNOUNCE] 3.14.23-rt20

2014-11-05 Thread Thomas Gleixner
On Wed, 5 Nov 2014, Mike Galbraith wrote: On Wed, 2014-11-05 at 10:00 -0500, Steven Rostedt wrote: On Wed, 5 Nov 2014 15:43:24 +0100 Juerg Haefliger jue...@gmail.com wrote: Thanks for the explanation. So is this considered a temporary failure until multiple readers are allowed or

[PATCH] Staging: rtl8192e: Fix segfault upon alloc failure

2014-11-05 Thread Daniel Dressler
Kernel space allocations can fail. This patch fixes a crash condition upon allocation failure. Should this condition occur init_firmware() will goto its error handler and declare download failure. Of interesting note is that prior to this patch fw_download_code() could never fail yet our caller

[PATCH 0/1] perf: fix corruption of sibling list with hotplug

2014-11-05 Thread Mark Rutland
Hi, The following patch prevents events from being freed while still part of a sibling list, which can happen if all references to CPU-bound events in a sibling list are dropped while the relevant CPU is offline. We currnetly rely on a cross call to __perf_remove_from_context to remove an event

[PATCH 1/1] perf: fix corruption of sibling list with hotplug

2014-11-05 Thread Mark Rutland
When a CPU hotplugged out, we call perf_remove_from_context (via perf_event_exit_cpu) to rip each CPU-bound event out of its PMU's cpu context, but leave siblings grouped together. Freeing of these events is left to the mercy of the usual refcounting. When a CPU-bound event's refcount drops to

Re: [3.16 stable PATCH 0/2] virtio-rng: two backports to fix stuck

2014-11-05 Thread Amos Kong
On Wed, Nov 05, 2014 at 04:02:49PM +, Luis Henriques wrote: Hi Amos On Tue, Nov 04, 2014 at 12:32:27PM +0800, Amos Kong wrote: On Sat, Oct 11, 2014 at 06:51:47AM +0800, Amos Kong wrote: I received two mails about faile to apply patches to 3.16-stable tree: FAILED: patch [PATCH]

RE: asix: Don't reset PHY on if_up for ASIX 88772 breaks netonarndale platform

2014-11-05 Thread Stam, Michel [FINT]
Hello Charles, First of all, my apologies. I manually applied your patch and made a mistake; I swapped ax88772_link_reset with ax88772_reset for struct driver_info_ax88772_info structure, which caused the software reset failures. Blame it on a lack of coffee... Please disregard my previous mail.

[char-misc V5 3.18] mei: nfc: clean nfc internal struct on host exit

2014-11-05 Thread Tomas Winkler
NFC internal structure cleaning was dropped by commit commit 487056932d372cc4f6c636f21a928d6667b151d7 Author: Tomas Winkler tomas.wink...@intel.com Date: Mon Feb 17 15:13:19 2014 +0200 mei: Remove all bus devices from the mei_dev list when stopping the MEI When stopping the MEI, we

Re: [PATCH v2 1/4] of: Rename poweroff-source property to system-power-controller

2014-11-05 Thread Romain Perier
2014-11-05 11:08 GMT+01:00 Johan Hovold jo...@kernel.org: [ Resend with lkml, arm, Felipe on CC -- why were these dropped from CC? ] On Wed, Oct 29, 2014 at 07:35:32AM +, Romain Perier wrote: As discussed on the mailing list, it makes more sense to rename this property to

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

2014-11-05 Thread Lennart Sorensen
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 ports on one system at 230400. The console on uart3 doesn't appear to be using the dma assuming the values in /sys for the dma

[char-misc V5 3.18] mei: nfc: clean nfc internal struct on host exit

2014-11-05 Thread Tomas Winkler
NFC internal structure cleaning was dropped by commit commit 487056932d372cc4f6c636f21a928d6667b151d7 Author: Tomas Winkler tomas.wink...@intel.com Date: Mon Feb 17 15:13:19 2014 +0200 mei: Remove all bus devices from the mei_dev list when stopping the MEI When stopping the MEI, we

RE: asix: Don't reset PHY on if_up for ASIX 88772 breaks net onarndale platform

2014-11-05 Thread Stam, Michel [FINT]
Hello Riku, I will quickly reply to your message, and reserve any further comments for the other thread. My concern is, that none of us with this problem is a linux network drivers expert. And no such expert joined the thread to help us. Thus if we hurry to have proper fix for 3.18, our fix

RE: [PATCH V7 00/17] perf, x86: Haswell LBR call stack support

2014-11-05 Thread Liang, Kan
So if I take all except 11,13,16,17 but instead do something like the below, everything will work just fine, right? Or am I missing something? Yes, it should work. Then LBR callstack will rely on user to enable it. But user never get the LBR callstack data if it's available. I'm

Re: [RFC PATCH v2] sched/deadline: support dl task migration during cpu hotplug

2014-11-05 Thread Peter Zijlstra
On Wed, Nov 05, 2014 at 04:14:00PM +0300, Kirill Tkhai wrote: @@ -538,6 +539,39 @@ again: update_rq_clock(rq); dl_se-dl_throttled = 0; dl_se-dl_yielded = 0; + + /* +* So if we find that the rq the task was on is no longer +* available, we need to select a new

Re: [PATCH V7 00/17] perf, x86: Haswell LBR call stack support

2014-11-05 Thread Peter Zijlstra
On Wed, Nov 05, 2014 at 04:22:09PM +, Liang, Kan wrote: So if I take all except 11,13,16,17 but instead do something like the below, everything will work just fine, right? Or am I missing something? Yes, it should work. Then LBR callstack will rely on user to enable it.

Re: [PATCH v3] usb: Remove references to non-existent PLAT_S5P symbol

2014-11-05 Thread Greg KH
On Wed, Nov 05, 2014 at 11:23:36AM +0100, Sylwester Nawrocki wrote: On 04/11/14 20:52, Paul Bolle wrote: On Tue, 2014-11-04 at 11:42 -0800, Greg KH wrote: As it's something that no one seemed to ever need before (i.e. it's not a regression fix), but it would be a new feature, I don't

[PATCH V5 2/3] mm: Update generic gup implementation to handle hugepage directory

2014-11-05 Thread Aneesh Kumar K.V
Update generic gup implementation with powerpc specific details. On powerpc at pmd level we can have hugepte, normal pmd pointer or a pointer to the hugepage directory. Tested-by: Steve Capper steve.cap...@linaro.org Acked-by: Steve Capper steve.cap...@linaro.org Signed-off-by: Aneesh Kumar K.V

Re: [PATCH v2] staging:rtl8723au: core: Fix error reported by checkpatch.

2014-11-05 Thread Greg KH
On Wed, Nov 05, 2014 at 05:05:03PM +0530, Sanjeev Sharma wrote: This is a patch to the rtw_cmd.c file that fixes Error reported by checkpatch. What error are you fixing? Please be specific. thanks, greg k-h -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

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

2014-11-05 Thread Peter Zijlstra
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 modify the compatibility checks. It's not hard. But LBR is not an

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

2014-11-05 Thread Tejun Heo
Hello, Michal. On Wed, Nov 05, 2014 at 05:01:15PM +0100, Michal Hocko wrote: I am not sure I am following. With the latest patch OOM path is no longer blocked by the PM (aka oom_killer_disable()). Allocations simply fail if the read_trylock fails. oom_killer_disable is moved before tasks are

[PATCH V5 3/3] powerpc/mm: Switch to generic RCU get_user_pages_fast

2014-11-05 Thread Aneesh Kumar K.V
This patch switch the ppc arch to use the generic RCU based gup implementation. Signed-off-by: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com --- arch/powerpc/Kconfig | 1 + arch/powerpc/include/asm/hugetlb.h | 8 +- arch/powerpc/include/asm/page.h | 3

Re: [PATCH] staging: media: lirc: modify print calls

2014-11-05 Thread Greg Kroah-Hartman
On Wed, Nov 05, 2014 at 03:43:44PM +0200, Aya Mahfouz wrote: On Wed, Nov 05, 2014 at 08:17:11AM -0200, Mauro Carvalho Chehab wrote: Em Tue, 4 Nov 2014 23:43:07 +0200 Aya Mahfouz mahfouz.saif.elya...@gmail.com escreveu: This patches replaces one pr_debug call by dev_dbg and changes

[PATCH V5 1/3] powerpc/mm: Add missing pmd accessors

2014-11-05 Thread Aneesh Kumar K.V
This patch add documentation and missing accessors. Signed-off-by: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com --- arch/powerpc/include/asm/pgtable-ppc64-4k.h | 16 - arch/powerpc/include/asm/pgtable-ppc64-64k.h | 3 ++ arch/powerpc/include/asm/pgtable-ppc64.h | 51

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

2014-11-05 Thread Sebastian Andrzej Siewior
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 ports on one system at 230400. The console on uart3 doesn't appear to be

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

2014-11-05 Thread Petr Mladek
On Tue 2014-11-04 10:52:44, Steven Rostedt wrote: From: Steven Rostedt (Red Hat) rost...@goodmis.org Currently seq_buf is full when all but one byte of the buffer is filled. Change it so that the seq_buf is full when all of the buffer is filled. Some of the functions would fill the buffer

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

2014-11-05 Thread Tejun Heo
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 controller, we must follow the sequence one by one, otherwise one of

[tip:x86/apic] x86, irq, ACPI: Fix building warning of unused code

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

[tip:x86/apic] x86, irq: Provide empty send_cleanup_vector() stub for UP builds

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

[tip:x86/apic] ACPI, irq, x86: Get rid of special handling of GSI for ACPI SCI

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

[tip:x86/apic] x86, irq: Refine hw_irq.h to prepare for irqdomain support

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

[tip:x86/apic] x86, irq: Rename local APIC related functions in io_apic.c as apic_xxx()

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

Re: [PATCH] ACPI / GPIO: Pass index to acpi_get_gpiod_by_index() when using properties

2014-11-05 Thread Darren Hart
On 11/4/14 14:54, Rafael J. Wysocki wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com Subject: ACPI / property: Drop size_prop from acpi_dev_get_property_reference() The size_prop argument of the recently added function acpi_dev_get_property_reference() is not used by the only

[tip:x86/apic] x86, irq: Introduce helpers to access struct irq_cfg

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

[tip:x86/apic] x86, irq: Protect __clear_irq_vector() with vector_lock

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

Re: [PATCH v2 06/11] memory: atmel-ebi: add DT bindings documentation

2014-11-05 Thread Boris Brezillon
On Wed, 5 Nov 2014 17:22:57 +0100 Jean-Jacques Hiblot jjhib...@traphandler.com wrote: Hi Boris, 2014-11-05 17:01 GMT+01:00 Boris Brezillon boris.brezil...@free-electrons.com: Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com ---

[tip:x86/apic] x86, irq: Move IOAPIC related declarations from hw_irq.h into io_apic.h

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

[tip:x86/apic] x86: irq_remapping: Use helpers to access irq_cfg data structure associated with IRQ

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

[tip:x86/apic] x86, irq: Make MSI and HT_IRQ indepenent of X86_IO_APIC

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

[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: 2dff6cde7a99bf1464910a99698f85a6a4ec7e81 Gitweb: http://git.kernel.org/tip/2dff6cde7a99bf1464910a99698f85a6a4ec7e81 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: Kill useless parameter 'irq_attr' of IO_APIC_get_PCI_irq_vector()

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

[PATCH TRIVIAL] net: unix_listen: remove unused old_pid variable

2014-11-05 Thread Vladimir Davydov
Signed-off-by: Vladimir Davydov vdavy...@parallels.com --- net/unix/af_unix.c |2 -- 1 file changed, 2 deletions(-) diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c index e96884380732..2948f39b9a4f 100644 --- a/net/unix/af_unix.c +++ b/net/unix/af_unix.c @@ -478,7 +478,6 @@ static int

[PATCH 2/3] PMC Driver : Expose the power gate status for BYT

2014-11-05 Thread Mahesh Kumar P
The PSS register reflects the power state of each island on SoC. It would be useful to know which of the islands is on or off at the momemnt. This interface would help indicate the S0ix blocker IPs in the system. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com Signed-off-by:

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

2014-11-05 Thread Michal Hocko
On Wed 05-11-14 11:29:29, Tejun Heo wrote: Hello, Michal. On Wed, Nov 05, 2014 at 05:01:15PM +0100, Michal Hocko wrote: I am not sure I am following. With the latest patch OOM path is no longer blocked by the PM (aka oom_killer_disable()). Allocations simply fail if the read_trylock

[tip:x86/apic] x86, irq: Move IRQ initialization routines from io_apic.c into vector.c

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

[PATCH 1/3] PMC driver: Add Cherrytrail PMC interface

2014-11-05 Thread Mahesh Kumar P
The patch adds CHT PMC interface. This exposes all the South IP device power states and S0ix states for CHT. The bit map of FUNC_DIS and D3_STS registers for SOCs are consistent. The D3_STS1 and FUNC_DIS2 registers, however are not aligned. This is fixed by adding an extra field, fn_dis bit, in

Re: [PATCH v4] tty: serial: men_z135_uart: Fix driver for changes in hardware

2014-11-05 Thread Johannes Thumshirn
On Mon, Nov 03, 2014 at 04:26:39PM -0500, Peter Hurley wrote: On 11/03/2014 04:01 PM, Peter Hurley wrote: On 11/03/2014 11:05 AM, Johannes Thumshirn wrote: * Enable the handling of UART core's automatic flow control feature. When AFE is active disable generation of modem status IRQs.

Pte_special broken on Xen PV when NUMA balancing is enabled

2014-11-05 Thread Wei Liu
Hi all I'm developing virtual NUMA support for Xen. One thing I notice is that when NUMA balancing is enabled, kernel will crash with following backtrace. [ 404.281396] CPU: 0 PID: 1058 Comm: dd Tainted: GB W 3.18.0-rc3-bp+ #3 [ 404.281403] 7fd62eca3000

[tip:x86/apic] x86, irq: Convert irq_2_pin list to generic list

2014-11-05 Thread tip-bot for Yinghai Lu
Commit-ID: ad6b879eac110587bc6dc01ccea479e15de017df Gitweb: http://git.kernel.org/tip/ad6b879eac110587bc6dc01ccea479e15de017df Author: Yinghai Lu ying...@kernel.org AuthorDate: Mon, 27 Oct 2014 16:11:55 +0800 Committer: Thomas Gleixner t...@linutronix.de CommitDate: Wed, 5 Nov 2014

[PATCH 3/3] PMC Driver : Expose the power gate status for CHT

2014-11-05 Thread Mahesh Kumar P
The PSS register reflects the power state of each island on SoC. It would be useful to know which of the islands is on or off at the moment. The patch adds the Pwr Gate status interface to CHT Signed-off-by: Kumar P Mahesh mahesh.kuma...@intel.com --- arch/x86/include/asm/pmc_atom.h | 20

[tip:x86/apic] iommu/amd: Use helpers to access irq_cfg data structure associated with IRQ

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

[tip:x86/apic] iommu/vt-d: Use helpers to access irq_cfg data structure associated with IRQ

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

[tip:x86/apic] x86, irq: Use helpers to access irq_cfg data structure associated with IRQ

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

Re: [PATCH v9 3/4] dma: pl330: add Power Management support

2014-11-05 Thread Vinod Koul
On Wed, Nov 05, 2014 at 03:21:39PM +0100, Krzysztof Kozlowski wrote: +static int __maybe_unused pl330_resume(struct device *dev) +{ + struct amba_device *pcdev = to_amba_device(dev); + + amba_pclk_prepare(pcdev); + + /* + * TODO: Idea for future. The device should not be

[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: 2a4974e35bb7dd99629979e22dfbd2a670d7bf31 Gitweb: http://git.kernel.org/tip/2a4974e35bb7dd99629979e22dfbd2a670d7bf31 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: [PATCH v3] bitops: Fix shift overflow in GENMASK macros

2014-11-05 Thread Peter Zijlstra
On Wed, Nov 05, 2014 at 04:47:14PM +0100, Maxime Coquelin wrote: On 11/05/2014 12:10 PM, Rasmus Villemoes wrote: On Tue, Nov 04 2014, Maxime COQUELIN maxime.coque...@st.com wrote: -#define GENMASK(h, l) (((U32_C(1) ((h) - (l) + 1)) - 1) (l)) -#define GENMASK_ULL(h, l)

[PATCH] ASoC: samsung: Add MODULE_DEVICE_TABLE for Snow

2014-11-05 Thread Andreas Färber
This enables the snd_soc_snow module to be auto-loaded. Fixes: da5993df2374 (ASoC: samsung: Add sound card driver for Snow board) Signed-off-by: Andreas Färber afaer...@suse.de --- Tested using patches for Spring, but should apply to Snow/Peach-pi equally. Rebased onto sound.git for-next

[tip:x86/apic] x86, irq: Move PCI MSI related code from io_apic.c into msi.c

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

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 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: David Howells dhowe...@redhat.com ---

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

2014-11-05 Thread tip-bot for Jiang Liu
Commit-ID: 4451646b745acafc89a88a17f09c6d0be4213161 Gitweb: http://git.kernel.org/tip/4451646b745acafc89a88a17f09c6d0be4213161 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: [tip:x86/apic] x86, irq: Replace printk(KERN_LVL) with pr_lvl() utilities

2014-11-05 Thread Joe Perches
On Wed, 2014-11-05 at 08:37 -0800, tip-bot for Jiang Liu wrote: x86, irq: Replace printk(KERN_LVL) with pr_lvl() utilities Replace printk(KENR_LVL) with pr_lvl() to keep checkpatch script silent. This is actually a small behavioral change. pr_debug is not quite the same as printk(KERN_DEBUG

Re: [PATCH v2] crypto: caam: fix error reporting

2014-11-05 Thread Kim Phillips
On Wed, 5 Nov 2014 11:21:24 +0200 Cristian Stoica cristian.sto...@freescale.com wrote: The error code returned by hardware is four bits wide with an expected zero MSB. A hardware error condition where the error code can get between 0x8 and 0xf will trigger an out of bound array access on the

Re: [RFC][PATCH 08/12 v3] tracing: Add seq_buf_get_buf() and seq_buf_commit() helper functions

2014-11-05 Thread Petr Mladek
On Tue 2014-11-04 10:52:45, Steven Rostedt wrote: From: Steven Rostedt (Red Hat) rost...@goodmis.org Add two helper functions; seq_buf_get_buf() and seq_buf_commit() that are used by seq_buf_path(). This makes the code similar to the seq_file: seq_path() function, and will help to be able to

Re: [PATCH] mm: slub: fix format mismatches in slab_err() callers

2014-11-05 Thread Christoph Lameter
On Wed, 5 Nov 2014, Andrey Ryabinin wrote: Adding __printf(3, 4) to slab_err exposed following: 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

Re: [PATCH 5/7] SELinux: Handle opening of a unioned file

2014-11-05 Thread Stephen Smalley
On 11/05/2014 10:43 AM, David Howells wrote: Handle the opening of a unioned file by trying to derive the label that would be attached to the union-layer inode if it doesn't exist. If the union-layer inode does exist (as it necessarily does in overlayfs, but not in unionmount), we assume

Re: [PATCH 2/4] chardev: Increment cdev reference count when i_cdev references it

2014-11-05 Thread Jan Kara
On Tue 04-11-14 16:03:03, Al Viro wrote: On Tue, Nov 04, 2014 at 04:55:43PM +0100, Jan Kara wrote: That consequence looks broken, IMO. Hum, it already behaves for block devices that way (and noone complained - but admittedly block devices tied to strange modules are less common than

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 05:39:56PM +0100, Michal Hocko wrote: On Wed 05-11-14 11:29:29, Tejun Heo wrote: Hello, Michal. On Wed, Nov 05, 2014 at 05:01:15PM +0100, Michal Hocko wrote: I am not sure I am following. With the latest patch OOM path is no longer blocked by the PM (aka

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

2014-11-05 Thread Catalin Marinas
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 boolean flag and an accessor function to check whether

Re: [RFC][PATCH 09/12 v3] seq_buf: Move the seq_buf code to lib/

2014-11-05 Thread Petr Mladek
On Tue 2014-11-04 10:52:46, Steven Rostedt wrote: From: Steven Rostedt (Red Hat) rost...@goodmis.org The seq_buf functions are rather useful outside of tracing. Instead of having it be dependent on CONFIG_TRACING, move the code into lib/ and allow other users to have access to it even when

Re: Using list_for_each_entry() in place of list_for_each_entry_rcu() ?

2014-11-05 Thread Paul E. McKenney
On Tue, Nov 04, 2014 at 08:18:03PM +0900, Tetsuo Handa wrote: Paul E. McKenney wrote: But if you only ever add it to the list that one time, then the list_for_each_entry_rcu() could become list_for_each_entry(), and rcu_read_lock() and rcu_read_unlock() are not needed. Again, this

Re: [PATCH] audit_tree: keep inode pinned

2014-11-05 Thread Richard Guy Briggs
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 fsnotify: allow marks to not pin inodes in core, which didn't take into

Re: Pte_special broken on Xen PV when NUMA balancing is enabled

2014-11-05 Thread David Vrabel
On 05/11/14 16:41, Wei Liu wrote: Hi all I'm developing virtual NUMA support for Xen. One thing I notice is that when NUMA balancing is enabled, kernel will crash with following backtrace. [ 404.281396] CPU: 0 PID: 1058 Comm: dd Tainted: GB W 3.18.0-rc3-bp+ #3 [ 404.281403]

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

2014-11-05 Thread Boris Brezillon
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 access external peripherals (NOR, SRAM, NAND, and other specific devices like

[PATCH v4 00/11] mtd: nand: Support for new DT NAND driver

2014-11-05 Thread Lee Jones
Hi Brian, I believe all of your queries have either been answered or addressed and I am hoping this will be the last submission [v2]. :) This is v4 of the squashed submission. v1 had a small typo which prevented the BBT code from being truly configurable, v2 had some build issues due to a

[PATCH v4 10/11] mtd: nand: stm_nand_bch: add support for ST's BCH NAND controller

2014-11-05 Thread Lee Jones
Reviewed-by: Pekon Gupta pe...@pek-sem.com Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/mtd/nand/Kconfig|7 + drivers/mtd/nand/Makefile |1 + drivers/mtd/nand/stm_nand_bch.c | 1645 +++ include/linux/mtd/stm_nand.h| 131

[PATCH v4 08/11] mtd: nand: stm_nand_bch: add shared register defines for ST's NAND Controller drivers

2014-11-05 Thread Lee Jones
Provide register and bit definitions used by STM's BCH Controller driver. We place these into a shared location as they will be used by other STM NAND Controllers as they appear. Reviewed-by: Pekon Gupta pe...@pek-sem.com Signed-off-by: Lee Jones lee.jo...@linaro.org ---

[PATCH v4 11/11] mtd: nand: stm_nand_bch: provide ST's implementation of Bad Block Table

2014-11-05 Thread Lee Jones
This is the BBT format ST use internally. It has to be used on boards which were flashed with or actively use ST's tooling and boards which are booted using ST's bootloaders. Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/mtd/nand/Kconfig| 8 + drivers/mtd/nand/Makefile

[PATCH v4 02/11] ARM: sti: Add two new clock definitions for use with ST's NAND controllers

2014-11-05 Thread Lee Jones
The EMISS and NAND Control clocks are used when conducting operations on attached NAND Flash chips. Reviewed-by: Pekon Gupta pe...@pek-sem.com Signed-off-by: Lee Jones lee.jo...@linaro.org --- include/dt-bindings/clock/stih416-clks.h | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH v4 06/11] mtd: nand: WARN() if EEC Bytes per page is larger than the OOB

2014-11-05 Thread Lee Jones
EEC information is held in the Out-Of-Bounds (OOB) area, so can not be larger than the area it's stored in. If the math is out, we issue a warning to the user. Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/mtd/nand/nand_base.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH v4 09/11] mtd: nand: stm_nand_bch: adding BBT header

2014-11-05 Thread Lee Jones
This header will be used firstly by the BCH main driver, then the Bad Block Table (BBT) code which will be added immediately after. Doing it this way provides the cleanest method of keeping the patch-set bisectable. Signed-off-by: Lee Jones lee.jo...@linaro.org ---

[PATCH v4 04/11] ARM: sti: Enable BCH NAND for STiH416 B2020-RevE

2014-11-05 Thread Lee Jones
Also supply the platform specific clocks required by the NAND driver. Reviewed-by: Pekon Gupta pe...@pek-sem.com Signed-off-by: Lee Jones lee.jo...@linaro.org --- arch/arm/boot/dts/stih416-b2020e.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/stih416-b2020e.dts

[PATCH v4 03/11] ARM: sti: Add BCH (NAND Flash) Controller support for STiH41x (Orly) SoCs

2014-11-05 Thread Lee Jones
Provide device information and flash layout for the NAND Micron MT29F8G08ABABAWP chip found on the STM B2020 Development Board. Reviewed-by: Pekon Gupta pe...@pek-sem.com Signed-off-by: Lee Jones lee.jo...@linaro.org --- arch/arm/boot/dts/stih41x-b2020.dtsi | 35

[PATCH v4 05/11] mtd: nand: Add new generic NAND Device Tree property 'nand-chip-select'

2014-11-05 Thread Lee Jones
Signed-off-by: Lee Jones lee.jo...@linaro.org --- Documentation/devicetree/bindings/mtd/nand.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/mtd/nand.txt b/Documentation/devicetree/bindings/mtd/nand.txt index b53f92e..1d542c51 100644 ---

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 11:54:28AM -0500, Tejun Heo wrote: Still not following. How do you want to detect an on-going OOM without any interface around out_of_memory? I thought you were using oom_killer_allowed_start() outside OOM path. Ugh why is everything weirdly structured?

[PATCH v4 07/11] mtd: nand: stm_nand_bch: provide Device Tree documentation

2014-11-05 Thread Lee Jones
This is where we describe the different new and generic options used by the ST BCH driver. Cc: devicet...@vger.kernel.org Reviewed-by: Pekon Gupta pe...@pek-sem.com Signed-off-by: Lee Jones lee.jo...@linaro.org --- Documentation/devicetree/bindings/mtd/stm-nand.txt | 74 ++ 1

Re: Early comments on kdbus v2 (Re: [PATCH 00/12] Add kdbus implementation)

2014-11-05 Thread Simon McVittie
On 05/11/14 15:56, Andy Lutomirski wrote: - I tend to think that pid and tid should be separate. They're really their own thing, and, as noted in all the perfectly valid dislike directed at SO_PEERCRED, they have extremely limited value. Traditional D-Bus has GetConnectionUnixProcessID(),

[PATCH v10 2/3] i2c: add support for Diolan DLN-2 USB-I2C adapter

2014-11-05 Thread Octavian Purdila
From: Laurentiu Palcu laurentiu.pa...@intel.com This patch adds support for the Diolan DLN-2 I2C master module. Due to hardware limitations it does not support SMBUS quick commands. Information about the USB protocol interface can be found in the Programmer's Reference Manual [1], see section

[PATCH v10 3/3] gpio: add support for the Diolan DLN-2 USB GPIO driver

2014-11-05 Thread Octavian Purdila
From: Daniel Baluta daniel.bal...@intel.com This patch adds GPIO and IRQ support for the Diolan DLN-2 GPIO module. Information about the USB protocol interface can be found in the Programmer's Reference Manual [1], see section 2.9 for the GPIO module commands and responses. [1]

RE: [PATCH V7 00/17] perf, x86: Haswell LBR call stack support

2014-11-05 Thread Liang, Kan
On Wed, Nov 05, 2014 at 04:22:09PM +, Liang, Kan wrote: So if I take all except 11,13,16,17 but instead do something like the below, everything will work just fine, right? Or am I missing something? Yes, it should work. Then LBR callstack will rely on user to

Re: [tip:x86/boot] x86-64: Use RIP-relative addressing for most per-CPU accesses

2014-11-05 Thread Jan Beulich
H. Peter Anvin h...@zytor.com 11/04/14 9:11 PM On 11/04/2014 11:45 AM, tip-bot for Jan Beulich wrote: x86-64: Use RIP-relative addressing for most per-CPU accesses Observing that per-CPU data (in the SMP case) is reachable by exploiting 64-bit address wraparound (building on the default

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