Re: [PATCH v9 4/5] serial: stm32-usart: Add STM32 USART Driver

2015-06-10 Thread Maxime Coquelin
2015-05-31 23:52 GMT+02:00 Greg Kroah-Hartman gre...@linuxfoundation.org: On Fri, May 22, 2015 at 11:03:35PM +0200, Maxime Coquelin wrote: This drivers adds support to the STM32 USART controller, which is a standard serial driver. Tested-by: Chanwoo Choi cw00.c...@samsung.com Reviewed-by:

Re: [PATCH] ARM: Re-enable TRACE_IRQFLAGS_SUPPORT on ARMv7-M

2015-06-10 Thread Maxime Coquelin
2015-06-09 19:37 GMT+02:00 Daniel Thompson daniel.thomp...@linaro.org: On 09/06/15 16:01, Russell King - ARM Linux wrote: On Tue, Jun 09, 2015 at 12:41:50PM +0100, Daniel Thompson wrote: Does the following patch, which makes the arch_irqs_disabled() implementation from asm-generic available

Re: [PATCH] regulator: Add lockdep asserts to help detecting locking misuse

2015-06-10 Thread Mark Brown
On Wed, Jun 10, 2015 at 03:23:12PM +0900, Krzysztof Kozlowski wrote: Add lockdep_assert_held_once() to functions explicitly mentioning that rdev or regulator_list mutex must be held. Using WARN_ONCE shouldn't pollute the dmesg to much. Applied, thanks. signature.asc Description: Digital

Re: [PATCH 0/3] TLB flush multiple pages per IPI v5

2015-06-10 Thread Mel Gorman
On Wed, Jun 10, 2015 at 11:08:13AM +0200, Ingo Molnar wrote: * Ingo Molnar mi...@kernel.org wrote: Stop this crap. I made a really clear and unambiguous chain of arguments: - I'm unconvinced about the benefits of INVLPG in general, and your patches adds a whole new bunch

Re: deleting a btrfs subvolume shut up a server

2015-06-10 Thread Liu Bo
On Thu, May 14, 2015 at 02:16:58PM +0200, Toralf Förster wrote: I created at a 3 TB btrfs formatted disk a btrfs subvolume, unpacked a minimal Gentoo Linux in it, created in addition few files within it under ./tmp and bind mount from the host few files onto those files. If I now delete in

Re: [PATCH v11 4/5] x86/earlyprintk: setup earlyprintk as early as possible

2015-06-10 Thread Alexander Kuleshov
2015-06-10 15:44 GMT+06:00 Andy Shevchenko andriy.shevche...@linux.intel.com: You do parsing twice (still original code and your piece here), and honestly I don't like your approach in this form. I just researched earlyprintk and we can use not only serial, but vga and pciserial. What if I'll

Re: Audio crackles with 4.1-rc1

2015-06-10 Thread Takashi Iwai
At Wed, 10 Jun 2015 13:41:35 +0300, Mihai Donțu wrote: On Wed, 10 Jun 2015 12:22:53 +0200 Takashi Iwai wrote: At Wed, 10 Jun 2015 13:17:55 +0300, Mihai Donțu wrote: On Wed, 20 May 2015 07:01:12 +0200 Takashi Iwai wrote: From: Takashi Iwai ti...@suse.de Subject: [PATCH] ALSA: hda -

Re: [PATCH 20/28] ARCv2: barriers

2015-06-10 Thread Peter Zijlstra
On Wed, Jun 10, 2015 at 09:34:18AM +, Vineet Gupta wrote: On Tuesday 09 June 2015 06:10 PM, Peter Zijlstra wrote: On Tue, Jun 09, 2015 at 05:18:20PM +0530, Vineet Gupta wrote: A description of how your hardware works; or a reference to the platform documentation would not go amiss.

Re: [PATCH 22/28] ARCv2: STAR 9000837815 workaround hardware exclusive transactions livelock

2015-06-10 Thread Peter Zijlstra
On Wed, Jun 10, 2015 at 10:01:01AM +, Vineet Gupta wrote: OK - I need some more time to rehash the exact details with our hardware folks. But AFAIKR, this was hardware livelock in llock/scond when 2 cores were doing r-m-w to two different words in the same cache line - adding prefetchw

[PATCH] s390/zcrypt: Convert use of __constant_cpu_to_le16 to cpu_to_le16

2015-06-10 Thread Vaishali Thakkar
In big endian cases, the macro cpu_to_le16 unfolds to __swab16 which provides special case for constants. In little endian cases, __constant_cpu_to_le16 and cpu_to_le16 expand directly to the same expression. So, replace __constant_cpu_to_le16 with cpu_to_le16 with the goal of getting rid of the

[PATCH] DRM: Armada: fixup wait_event_timeout being ignored

2015-06-10 Thread Nicholas Mc Guire
event API conformance testing with coccinelle spatches are being used to locate API usage inconsistencies this triggert with: ./drivers/gpu/drm/armada/armada_overlay.c:153 incorrect check for negative return Return type of wait_event_timeout is signed long not int and the return type is

Re: [PATCH v2] crypto: drbg - reseed often if seedsource is degraded

2015-06-10 Thread Herbert Xu
On Wed, Jun 10, 2015 at 03:33:37AM +0200, Stephan Mueller wrote: Changes v2: * port the patch to current cryptodev tree plus the async seeding DRBG patches Applied. -- Email: Herbert Xu herb...@gondor.apana.org.au Home Page: http://gondor.apana.org.au/~herbert/ PGP Key:

[PATCH] ARM: irqflags: Get arch_irqs_disabled from asm-generic

2015-06-10 Thread Daniel Thompson
Commit cb1293e2f594 (ARM: 8375/1: disable some options on ARMv7-M) causes the build to on ARMv7-M machines: CC arch/arm/kernel/asm-offsets.s In file included from include/linux/sem.h:5:0, from include/linux/sched.h:35, from

[PATCH] clk: Move debug_node field under DEBUG_FS flag in struct clk_core

2015-06-10 Thread Maxime Coquelin
The debug_node field is only used when DEBUG_FS config is selected, so declare it only if DEBUG_FS is selected. Signed-off-by: Maxime Coquelin maxime.coque...@st.com --- drivers/clk/clk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c

Re: [PATCH 00/21] On-demand device registration

2015-06-10 Thread Tomeu Vizoso
On 10 June 2015 at 09:30, Linus Walleij linus.wall...@linaro.org wrote: On Tue, Jun 2, 2015 at 12:14 PM, Tomeu Vizoso tomeu.viz...@collabora.com wrote: On 2 June 2015 at 10:48, Linus Walleij linus.wall...@linaro.org wrote: This is what systemd is doing in userspace for starting services: ask

Re: [PATCH] MIPS: bugfix of local_r4k_flush_icache_range - added L2 flush

2015-06-10 Thread Ralf Baechle
On Thu, May 28, 2015 at 01:37:24PM -0700, Leonid Yegoshin wrote: This function is used to flush code used in NMI and EJTAG debug exceptions. However, during that exceptions the Status.ERL bit is set, which means that code runs as UNCACHABLE. So, flush code down to memory is needed.

Re: [RFT v2 06/48] pinctrl: Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc

2015-06-10 Thread Matthias Brugger
2015-06-04 6:13 GMT+02:00 Jiang Liu jiang@linux.intel.com: Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc while we already have a pointer to corresponding irq_desc. Signed-off-by: Jiang Liu jiang@linux.intel.com Acked-by: Linus Walleij linus.wall...@linaro.org --- [...]

[PATCH] usb: udc: Convert use of __constant_cpu_to_leXX to cpu_to_leXX

2015-06-10 Thread Vaishali Thakkar
In big endian cases, the macro cpu_to_le{16,32} unfolds to __swab{16,32} which provides special case for constants. In little endian cases, __constant_cpu_to_le{16,32} and cpu_to_le{16,32} expand directly to the same expression. So, replace __constant_cpu_to_le{16,32} with cpu_to_le{16,32} with

Re: [PATCH v11 4/5] x86/earlyprintk: setup earlyprintk as early as possible

2015-06-10 Thread Alexander Kuleshov
2015-06-10 16:36 GMT+06:00 Alexander Kuleshov kuleshovm...@gmail.com: 2015-06-10 15:44 GMT+06:00 Andy Shevchenko andriy.shevche...@linux.intel.com: You do parsing twice (still original code and your piece here), and honestly I don't like your approach in this form. I just researched

Re: Audio crackles with 4.1-rc1

2015-06-10 Thread Mihai Donțu
On Wed, 10 Jun 2015 12:22:53 +0200 Takashi Iwai wrote: At Wed, 10 Jun 2015 13:17:55 +0300, Mihai Donțu wrote: On Wed, 20 May 2015 07:01:12 +0200 Takashi Iwai wrote: From: Takashi Iwai ti...@suse.de Subject: [PATCH] ALSA: hda - Disable widget power-saving for ALC292 co We've got

[LINUX RFC v3 2/2] spi: Add support for Zynq Ultrascale+ MPSoC GQSPI controller

2015-06-10 Thread Ranjit Waghmode
This patch adds support for GQSPI controller driver used by Zynq Ultrascale+ MPSoC Signed-off-by: Ranjit Waghmode ranjit.waghm...@xilinx.com --- In v3, accommodating review comments given by Shubhrajyoti. Changes in v3: - Updated chip assert/de-assert timeout loop using jiffies - Updated minor

Re: [PATCH] DRM: Armada: fixup wait_event_timeout being ignored

2015-06-10 Thread Russell King - ARM Linux
On Wed, Jun 10, 2015 at 01:07:08PM +0200, Nicholas Mc Guire wrote: The calling side seems to assume 0 as success and 0 as error so returning -ETIME should be fine here. The idea here is to allow the remainder of the code to execute when the condition succeeds _or_ times out. If it times out,

Re: Audio crackles with 4.1-rc1

2015-06-10 Thread Mihai Donțu
On Wed, 10 Jun 2015 12:50:22 +0200 Takashi Iwai wrote: At Wed, 10 Jun 2015 13:41:35 +0300, Mihai Donțu wrote: On Wed, 10 Jun 2015 12:22:53 +0200 Takashi Iwai wrote: At Wed, 10 Jun 2015 13:17:55 +0300, Mihai Donțu wrote: On Wed, 20 May 2015 07:01:12 +0200 Takashi Iwai wrote: From:

Re: [PATCH v2 1/4] VFIO: platform: add reset struct and lookup table

2015-06-10 Thread Eric Auger
Hi Alex, On 06/09/2015 08:26 PM, Alex Williamson wrote: On Fri, 2015-06-05 at 17:06 +0200, Eric Auger wrote: This patch introduces the vfio_platform_reset_combo struct that stores all the information useful to handle the reset modality: compat string, name of the reset function, name of the

Re: [PATCH v2 06/10] pinctrl: berlin: use proper compatibles

2015-06-10 Thread Linus Walleij
On Fri, Mar 6, 2015 at 4:05 PM, Antoine Tenart antoine.ten...@free-electrons.com wrote: The Berlin pin-controller driver was sharing the chip and system controller nodes with the clock and the reset drivers. They all shared the same compatible. With the introduction of the Marvell Berlin MFD

Re: [PATCH 1/2] staging/lustre/llite: remove LL_IOC_REMOVE_ENTRY handler

2015-06-10 Thread Oleg Drokin
On Jun 10, 2015, at 3:08 AM, Sudip Mukherjee wrote: On Wed, Jun 10, 2015 at 12:41:22AM -0400, gr...@linuxhacker.ru wrote: From: Oleg Drokin gr...@linuxhacker.ru It uses getname in unsafe manner and since it's to deal with corrupted or inconsistent filesystem, we are probably better to deal

Re: [PATCH 00/21] On-demand device registration

2015-06-10 Thread Linus Walleij
On Tue, Jun 2, 2015 at 12:14 PM, Tomeu Vizoso tomeu.viz...@collabora.com wrote: On 2 June 2015 at 10:48, Linus Walleij linus.wall...@linaro.org wrote: This is what systemd is doing in userspace for starting services: ask for your dependencies and wait for them if they are not there. So

Re: Discussion: quick_pit_calibrate is slow

2015-06-10 Thread Ingo Molnar
* George Spelvin li...@horizon.com wrote: Adrian Hunter wrote: A bigger issue for my case is that slow calibration is not that slow, taking only 10ms anyway which is much better than the 50ms max for so-called quick calibration. I read the code, and after figuring out which

Re: [kernel, v12, 17/34] powerpc/spapr: vfio: Switch from iommu_table to new iommu_table_group

2015-06-10 Thread Michael Ellerman
On Fri, 2015-05-06 at 06:35:09 UTC, Alexey Kardashevskiy wrote: So far one TCE table could only be used by one IOMMU group. However IODA2 hardware allows programming the same TCE table address to multiple PE allowing sharing tables. ... + pnv_pci_link_table_and_group(phb-hose-node, 0,

Re: [PATCH v5 05/21] libnvdimm: control (ioctl) messages for libnvdimm bus and dimm devices

2015-06-10 Thread Christoph Hellwig
On Mon, Jun 08, 2015 at 11:57:42PM -0700, Dan Williams wrote: Data payload size for one, these commands transfer more than a page worth of data at a time. Even if we killed the ioctl interface to userspace we still need all the ugly data marshaling code in the kernel to craft properly

Re: [PATCH] gpio: pcf857x: handle only enabled irqs

2015-06-10 Thread Linus Walleij
On Wed, Jun 3, 2015 at 9:33 PM, Grygorii Strashko grygorii.stras...@ti.com wrote: Now pcf857x_irq() IRQ's dispatcher will try to run nested IRQ handlers for each GPIO pin which state has changed. Such IRQs are, actually, spurious and nested IRQ handlers have to be called only for IRQs wich

Re: [PATCH] oom: always panic on OOM when panic_on_oom is configured

2015-06-10 Thread Michal Hocko
On Tue 09-06-15 15:28:40, David Rientjes wrote: On Tue, 9 Jun 2015, Michal Hocko wrote: On Mon 08-06-15 12:51:53, David Rientjes wrote: Do you actually have panic_on_oops enabled? CONFIG_PANIC_ON_OOPS_VALUE should be 0, I'm not sure why that's relevant. No I meant

Re: [PATCH] mtd: nand: support for Toshiba BENAND (Built-in ECC NAND)

2015-06-10 Thread Richard Weinberger
On Wed, Jun 10, 2015 at 9:08 AM, KOBAYASHI Yoshitake yoshitake.kobaya...@toshiba.co.jp wrote: This patch enables support for Toshiba BENAND. Toshiba BENAND is a SLC NAND solution that automatically generates ECC inside NAND chip. Newer generation SLC NAND devices of today need multi-bit

Re: [PATCH 2/3] spi: mediatek: Add spi bus for Mediatek MT8173

2015-06-10 Thread Eddie Huang
Hi Mark, On Tue, 2015-06-09 at 11:39 +0100, Mark Brown wrote: On Tue, Jun 09, 2015 at 06:05:21PM +0800, Eddie Huang wrote: --- a/drivers/spi/spi.c +++ b/drivers/spi/spi.c @@ -539,8 +539,8 @@ static int __spi_map_msg(struct spi_master *master, struct spi_message *msg) if

[RFT PATCH] dmaengine: Fix choppy sound because of unimplemented resume

2015-06-10 Thread Krzysztof Kozlowski
Some drivers implement only pause operation (no resuming). Example is pl330 where pause is needed for getting residuum. pl330 does not support resume operation, transfer must be stopped after pause. However for slaves this is exposed always as pause and resume which introduces subtle errors on

Re: [PATCH 3/4] mm: Defer flush of writable TLB entries

2015-06-10 Thread Mel Gorman
On Wed, Jun 10, 2015 at 09:50:34AM +0200, Ingo Molnar wrote: * Mel Gorman mgor...@suse.de wrote: + + /* +* If the PTE was dirty then it's best to assume it's writable. The +* caller must use try_to_unmap_flush_dirty() or try_to_unmap_flush() +* before the page any IO

Re: [PATCH 3/3] edac, mce_amd_inj: Inject errors on NBC for bank 4 errors

2015-06-10 Thread Borislav Petkov
On Tue, Jun 09, 2015 at 11:45:17AM -0500, Aravind Gopalakrishnan wrote: For bank 4 errors, MCE is logged and reported only on node base cores. Refer D18F3x44[NbMcaToMstCpuEn] field in Fam10h and later BKDGs. This patch ensures that we inject the error on the node base core for bank 4

RE: [PATCH] Input - elan_i2c: support multi ic type and iap format

2015-06-10 Thread DusonLin
Hi Dmitry, When can I fetch the newest linux source code and make sure this patch had be merged? Thank you Duson -Original Message- From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] Sent: Tuesday, June 09, 2015 8:09 AM To: duson Cc: linux-kernel@vger.kernel.org;

Re: [RFT v2 06/48] pinctrl: Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc

2015-06-10 Thread Heiko Stübner
Am Donnerstag, 4. Juni 2015, 12:13:16 schrieb Jiang Liu: Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc while we already have a pointer to corresponding irq_desc. Signed-off-by: Jiang Liu jiang@linux.intel.com Acked-by: Linus Walleij linus.wall...@linaro.org ---

[Patch v3 3/4] PCI: Add helpers to manage pci_dev-irq and pci_dev-irq_managed

2015-06-10 Thread Jiang Liu
Add three helpers to manage pci_dev-irq and pci_dev-irq_managed, which helps to improve maintenance. Signed-off-by: Jiang Liu jiang@linux.intel.com Acked-by: Bjorn Helgaas bhelg...@google.com --- arch/x86/pci/intel_mid_pci.c |4 ++-- arch/x86/pci/irq.c | 10 --

[Patch v3 4/4] PCI, MSI: Free legacy PCI IRQ when enabling MSI/MSI-X

2015-06-10 Thread Jiang Liu
Once PCI MSI/MSI-X is enabled by the device driver, PCI device won't make use of legacy PCI IRQ until PCI MSI/MSI-X is disabled again. This patch enhances the PCI MSI core to call pcibios_free_irq() when enabling MSI/MSI-X and to call pcibios_alloc_irq() when disabling MSI/MSI-X. So legacy PCI IRQ

[Patch v3 2/4] PCI, x86: Allocate PCI IRQ on demand and free it when not used anymore

2015-06-10 Thread Jiang Liu
To support IOAPIC hotplug, we need to correctly manage IOAPIC pin usage, which is to allocate IRQs on demand and free them when not used anymore. So use pcibios_alloc_irq() and pcibios_free_irq() to dynamically allocate and free PCI IRQs. Also remove obseleted code mp_should_keep_irq().

[PATCH 5/5] usb: dwc3: ep0: handle non maxpacket aligned transfers 512

2015-06-10 Thread Kishon Vijay Abraham I
Use chained TRB mechanism to handle non maxpacket aligned transfers greater than bounce buffer size. With this the first TRB will be programmed to receive 'ALIGN(ur-length - maxp, maxp)' data and the second TRB will be programmed to receive the remaining data using bounce buffer. Signed-off-by:

[PATCH 2/5] usb: dwc3: ep0: preparation for handling non maxpacket aligned transfers 512

2015-06-10 Thread Kishon Vijay Abraham I
No functional change. This is in preparation for handling non maxpacket aligned transfers greater than bounce buffer size. This is basically to avoid code duplication when using chained TRB transfers to handle non maxpacket aligned transfers greater than bounce buffer size. Signed-off-by: Kishon

Re: [PATCH 0/3] TLB flush multiple pages per IPI v5

2015-06-10 Thread Mel Gorman
On Wed, Jun 10, 2015 at 10:51:41AM +0200, Ingo Molnar wrote: * Mel Gorman mgor...@suse.de wrote: I think since it is you who wants to introduce additional complexity into the x86 MM code the burden is on you to provide proof that the complexity of pfn (or struct page)

Re: [PATCH] slub/slab: fix kmemleak didn't work on some case

2015-06-10 Thread Catalin Marinas
On Wed, Jun 10, 2015 at 08:45:50AM +0100, Zhang, Yanmin wrote: On 2015/6/9 23:03, Catalin Marinas wrote: On Tue, Jun 09, 2015 at 09:10:45AM +0100, Zhang, Yanmin wrote: On 2015/6/8 18:13, Catalin Marinas wrote: As I replied already, I don't think this is that bad, or at least not worse

[RFC] panic when reboot the system

2015-06-10 Thread Xishi Qiu
Kernel panic - not syncing: Attempted to kill init! exitcode=0x0007 Pid: 1, comm: init Tainted: G RO 3.4.24.19-0.11-default #1 Call Trace: [8144dd24] panic+0xc1/0x1e2 [8104483b] do_exit+0x7db/0x8d0 [81044c7a] do_group_exit+0x3a/0xa0 [8105394b]

[PATCH 3/4] spi: davinci: change the lower limit of pre-scale divider to 1

2015-06-10 Thread Murali Karicheri
SPI hardware spec for Keystone specifies a lower value of 0 for pre-scale divider that is used for generating spi clock which translates to a clock divider of 2. So fix the lower limit to allow using a higher SPI clock. Signed-off-by: Murali Karicheri m-kariche...@ti.com Acked-by: Sekhar Nori

Re: [PATCH v3 3/3] ARM: berlin: add SPI nodes for BG2Q

2015-06-10 Thread Linus Walleij
On Tue, Jun 2, 2015 at 11:37 AM, Antoine Tenart antoine.ten...@free-electrons.com wrote: The BG2Q SoC has two SPI controllers. Add the corresponding nodes. Signed-off-by: Antoine Tenart antoine.ten...@free-electrons.com Acked-by: Linus Walleij linus.wall...@linaro.org Take this through ARM

Re: [PATCH v3 2/3] pinctrl: berlin: comment the spi functions

2015-06-10 Thread Linus Walleij
On Tue, Jun 2, 2015 at 11:37 AM, Antoine Tenart antoine.ten...@free-electrons.com wrote: Add comments for the SPI functions, to distinguish CLK, SDI, SDO and C{0,1,2,3}n. Signed-off-by: Antoine Tenart antoine.ten...@free-electrons.com Patch applied. Yours, Linus Walleij -- To unsubscribe

[PATCH V15 00/19] perf, tools: Add support for PMU events in JSON format

2015-06-10 Thread Sukadev Bhattiprolu
CPUs support a large number of performance monitoring events (PMU events) and often these events are very specific to an architecture/model of the CPU. To use most of these PMU events with perf, we currently have to identify them by their raw codes: perf stat -e r100f2 sleep 1 This

Re: [PATCH v5 2/5] block: loop: set QUEUE_FLAG_NOMERGES for request queue of loop

2015-06-10 Thread Christoph Hellwig
On Tue, Jun 09, 2015 at 09:49:23PM +0800, Ming Lei wrote: It doesn't make sense to enable merge because the I/O submitted to backing file is handled page by page. Looks fine, but does it make any difference? -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: [PATCH v2 2/2] locking/qrwlock: Don't contend with readers when setting _QW_WAITING

2015-06-10 Thread Ingo Molnar
* Waiman Long waiman.l...@hp.com wrote: The current cmpxchg() loop in setting the _QW_WAITING flag for writers in queue_write_lock_slowpath() will contend with incoming readers causing possibly extra cmpxchg() operations that are wasteful. This patch changes the code to do a byte cmpxchg()

Re: [PATCH 2/2] staging/lustre/llite: fix ll_getname user buffer copy

2015-06-10 Thread Dan Carpenter
On Wed, Jun 10, 2015 at 12:41:23AM -0400, gr...@linuxhacker.ru wrote: From: Oleg Drokin gr...@linuxhacker.ru strncpy_from_user could return negative values on error, so need to take those into account. Since ll_getname is used to get a single component name from userspace to transfer to

Re: [PATCH v6 5/6] i2c: at91: print hardware version

2015-06-10 Thread Ludovic Desroches
On Tue, Jun 09, 2015 at 10:46:20PM +0300, Sergei Shtylyov wrote: Hello. On 06/09/2015 07:22 PM, Cyrille Pitchen wrote: The probe() function now prints the hardware version of the I2C controller. Signed-off-by: Cyrille Pitchen cyrille.pitc...@atmel.com ---

Re: [RFC 3/6] mm: mark dirty bit on swapped-in page

2015-06-10 Thread Cyrill Gorcunov
On Wed, Jun 10, 2015 at 05:00:35PM +0900, Minchan Kim wrote: Ah, I recall. If there is no way to escape dirtifying the page in pte itself maybe we should at least not make it softdirty on read faults? You mean this? diff --git a/mm/memory.c b/mm/memory.c index e1c45d0..c95340d

Re: [PATCH 2/4] mm: Send one IPI per CPU to TLB flush all entries after unmapping pages

2015-06-10 Thread Mel Gorman
On Wed, Jun 10, 2015 at 09:47:04AM +0200, Ingo Molnar wrote: * Mel Gorman mgor...@suse.de wrote: --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -1289,6 +1289,18 @@ enum perf_event_task_context { perf_nr_task_contexts, }; +/* Track pages that require TLB

[PATCH] ring-buffer-benchmark: Fix the wrong sched_priority of producer

2015-06-10 Thread Wang Long
The producer should be used producer_fifo as its sched_priority, so correct it. Signed-off-by: Wang Long long.wangl...@huawei.com --- kernel/trace/ring_buffer_benchmark.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/trace/ring_buffer_benchmark.c

Re: [PATCH] mtd: nand: support for Toshiba BENAND (Built-in ECC NAND)

2015-06-10 Thread Paul Bolle
On Wed, 2015-06-10 at 16:08 +0900, KOBAYASHI Yoshitake wrote: drivers/mtd/nand/Kconfig | 16 drivers/mtd/nand/Makefile|1 + drivers/mtd/nand/nand_base.c | 32 ++-- include/linux/mtd/nand.h |3 +++ 4 files changed, 50

Re: [PATCH 3/3] ARM: dts: qcom: Replace gpio node with pinctrl node

2015-06-10 Thread Linus Walleij
On Sat, Jun 6, 2015 at 12:52 AM, Bjorn Andersson bjorn.anders...@sonymobile.com wrote: Replace the standalone gpio driver with pinctrl-msm as we now have msm8660 support there. Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com Acked-by: Linus Walleij linus.wall...@linaro.org

Re: [PATCH 1/3] pinctrl: qcom: Add MSM8660 pinctrl definitions

2015-06-10 Thread Linus Walleij
On Sat, Jun 6, 2015 at 12:52 AM, Bjorn Andersson bjorn.anders...@sonymobile.com wrote: Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com Patch applied! Yours, Linus Walleij -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [PATCH] added device tree support to gpio-generic driver

2015-06-10 Thread Linus Walleij
This patch needs to go to the devicetree list too, see To: on this mail. On Fri, Jun 5, 2015 at 8:51 AM, Romain Baeriswyl romain.baeris...@alitech.com wrote: +Required properties: +- compatible : basic-mmio-gpio for little endian register access or + basic-mmio-gpio-be for big

[Patch v3 0/4] Introduce a mechanism to allocate PCI IRQ on demand

2015-06-10 Thread Jiang Liu
Hi Bjorn, I have verified that this patch set could be applied to the mainstream kernel without dependency on other patches, so could you please help to merge it? This patch set introduces a mechanism to allocate PCI IRQ on demand and free it when not used anymore by hooking

Re: [RFC PATCH 09/18] kthread: Make it easier to correctly sleep in iterant kthreads

2015-06-10 Thread Peter Zijlstra
On Tue, Jun 09, 2015 at 05:25:26PM +0200, Petr Mladek wrote: On Mon 2015-06-08 13:39:55, Peter Zijlstra wrote: On Mon, 2015-06-08 at 12:01 +0200, Petr Mladek wrote: Just to be sure. Do you suggest to use TASK_IDLE everywhere in kthreads or only when the uninterruptible sleep is really

Re: [RFC PATCH 09/18] kthread: Make it easier to correctly sleep in iterant kthreads

2015-06-10 Thread Peter Zijlstra
On Mon, Jun 08, 2015 at 01:48:10PM -0400, Steven Rostedt wrote: commit 80ed87c8a9ca0cad7ca66cf3bbdfb17559a66dcf Author: Peter Zijlstra pet...@infradead.org Date: Fri May 8 14:23:45 2015 +0200 sched/wait: Introduce TASK_NOLOAD and TASK_IDLE Currently people use

Re: [PATCH v11 0/10] iommu/vt-d: Fix intel vt-d faults in kdump kernel

2015-06-10 Thread Joerg Roedel
On Tue, Jun 09, 2015 at 01:55:50PM +0100, David Woodhouse wrote: On Mon, 2015-06-08 at 18:13 +0200, Joerg Roedel wrote: So I think we need to read out that bit when we find translation enabled and if it is different from what we would set it to, we bail out of any copying, disable

Re: [PATCH 3/5] soc: Mediatek: Add SCPSYS power domain driver

2015-06-10 Thread Matthias Brugger
2015-06-09 10:47 GMT+02:00 Sascha Hauer s.ha...@pengutronix.de: This adds a power domain driver for the Mediatek SCPSYS unit. The System Control Processor System (SCPSYS) has several power management related tasks in the system. The tasks include thermal measurement, dynamic voltage frequency

Re: [PATCH] ARM: module: Add .ref.text to arm unwind tables

2015-06-10 Thread vigneshr
Gentle reminder for review comments. Forgot to add Maintainers. Adding them now. On 05/13/2015 08:20 AM, Vignesh Radhakrishnan wrote: Functions inside kernel modules that use __ref will end up being placed in .ARM.exidx.ref.text section by gcc. Currently we don't consider adding these

Re: [PATCH 05/15] gpio: kill off set_irq_flags usage

2015-06-10 Thread Linus Walleij
On Tue, Jun 9, 2015 at 8:26 PM, Rob Herring r...@kernel.org wrote: set_irq_flags is ARM specific with custom flags which have genirq equivalents. Convert drivers to use the genirq interfaces directly, so we can kill off set_irq_flags. The translation of flags is as follows: IRQF_VALID -

Re: [PATCH 09/15] mfd: kill off set_irq_flags usage

2015-06-10 Thread Linus Walleij
On Tue, Jun 9, 2015 at 8:26 PM, Rob Herring r...@kernel.org wrote: set_irq_flags is ARM specific with custom flags which have genirq equivalents. Convert drivers to use the genirq interfaces directly, so we can kill off set_irq_flags. The translation of flags is as follows: IRQF_VALID -

[RFC][PATCH] printk: Fixup the nmi printk mess

2015-06-10 Thread Peter Zijlstra
Hi, I just stumbled upon: a9edc8809328 (x86/nmi: Perform a safe NMI stack trace on all CPUs) Which is not dissimilar to what I've proposed in the past. Except its squirreled away in some far and dark corner of one arch. Lets fix that. --- arch/Kconfig | 4 ++

[PATCH] x86/mm/fault: Put pgd_lock in its own cacheline

2015-06-10 Thread Waiman Long
On a large system with many cores, massive creation or destruction of processes/threads can sometime cause a fair amount of spinlock contention in the pgd_lock used by the pgd_alloc() and pgd_free() functions. This patch tries to reduce false cacheline sharing by putting the pgd_lock in its own

Re: [PATCHv3 00/16] vme DMA and user space driver improvements

2015-06-10 Thread Dmitry Kalinkin
On Sun, May 31, 2015 at 6:06 AM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Thu, May 28, 2015 at 03:06:57PM +0300, Dmitry Kalinkin wrote: The first item in this submission documents previously introduced vme_master_mmap() call. Following, there are three fixes for the tsi148

Re: [PATCH v5 07/10] x86/asm/acpi: Fix asmvalidate warnings for wakeup_64.S

2015-06-10 Thread Pavel Machek
Hi! Fix the following asmvalidate warnings: asmvalidate: arch/x86/kernel/acpi/wakeup_64.o: wakeup_long64()+0x15: unsupported jump to outside of function asmvalidate: arch/x86/kernel/acpi/wakeup_64.o: wakeup_long64()+0x55: unsupported jump to outside of function asmvalidate:

[patch added to the 3.12 stable tree] MIPS: KVM: Do not sign extend on unsigned MMIO load

2015-06-10 Thread Jiri Slaby
From: Nicholas Mc Guire hof...@osadl.org This patch has been added to the 3.12 stable tree. If you have any objections, please let us know. === commit ed9244e6c534612d2b5ae47feab2f55a0d4b4ced upstream. Fix possible unintended sign extension in unsigned MMIO loads by casting to

Re: [PATCH v4 2/9] x86: support kmap_atomic_pfn_t() for persistent memory

2015-06-10 Thread Christoph Hellwig
Btw, I don't think this actually is safe without refcounting your kmap structure. The driver model -remove callback can be called at any time, which will ioremap the memory and remap the kmap structure. But at this point a user might still be using it. -- To unsubscribe from this list: send the

Re: [PATCH 00/21] On-demand device registration

2015-06-10 Thread Andrzej Hajda
On 06/10/2015 12:19 PM, Tomeu Vizoso wrote: On 10 June 2015 at 09:30, Linus Walleij linus.wall...@linaro.org wrote: On Tue, Jun 2, 2015 at 12:14 PM, Tomeu Vizoso tomeu.viz...@collabora.com wrote: On 2 June 2015 at 10:48, Linus Walleij linus.wall...@linaro.org wrote: This is what systemd is

Re: [PATCH] devicetree: xilinx: zynqmp: add sata node

2015-06-10 Thread Michal Simek
On 06/10/2015 12:16 PM, Suneel Garapati wrote: add sata node with sata fixed clock nodes in dtsi file. enable sata in zynqmp-ep108.dts with broken-gen2. Signed-off-by: Suneel Garapati suneel.garap...@xilinx.com --- Note - Driver and bindings are added via libata/for-4.2 tree bindings is

Re: Audio crackles with 4.1-rc1

2015-06-10 Thread Takashi Iwai
At Wed, 10 Jun 2015 14:45:51 +0300, Mihai Donțu wrote: On Wed, 10 Jun 2015 12:50:22 +0200 Takashi Iwai wrote: At Wed, 10 Jun 2015 13:41:35 +0300, Mihai Donțu wrote: On Wed, 10 Jun 2015 12:22:53 +0200 Takashi Iwai wrote: At Wed, 10 Jun 2015 13:17:55 +0300, Mihai Donțu wrote: On

Re: [PATCH] ARM: module: Add .ref.text to arm unwind tables

2015-06-10 Thread Russell King - ARM Linux
On Wed, Jun 10, 2015 at 12:25:54PM -, vigne...@codeaurora.org wrote: Gentle reminder for review comments. I don't see anything wrong with the patch... but it needs to find its way into the patch system to be applied, so it doesn't get forgotten. Please add it there along with Laura's

Re: [PATCH 20/28] ARCv2: barriers

2015-06-10 Thread Will Deacon
On Wed, Jun 10, 2015 at 11:58:40AM +0100, Peter Zijlstra wrote: On Wed, Jun 10, 2015 at 09:34:18AM +, Vineet Gupta wrote: On Tuesday 09 June 2015 06:10 PM, Peter Zijlstra wrote: I think the most interesting part is the device side. +/* + * DSYNC: + * - Waits for completion of

Re: [PATCH v6 0/6] i2c: at91: add support to FIFOs and alternative command

2015-06-10 Thread Wolfram Sang
After fixing the version string in patch 5 as mentioned there, and added the acks from Ludovic for the previous version. Applied to for-next, thanks! And unrelated to your series, just in case you feel like it, my code checkers say: drivers/i2c/busses/i2c-at91.c:213: style: Checking if

Re: [RFT v2 34/48] pinctrl: Prepare for killing the first parameter 'irq' of irq_flow_handler_t

2015-06-10 Thread Linus Walleij
On Thu, Jun 4, 2015 at 6:13 AM, Jiang Liu jiang@linux.intel.com wrote: Change irq flow handler to prepare for killing the first parameter 'irq' of irq_flow_handler_t. Signed-off-by: Jiang Liu jiang@linux.intel.com Acked-by: Linus Walleij linus.wall...@linaro.org Yours, Linus Walleij

Re: [PATCH v5 07/10] x86/asm/acpi: Fix asmvalidate warnings for wakeup_64.S

2015-06-10 Thread Pavel Machek
On Wed 2015-06-10 07:06:15, Josh Poimboeuf wrote: Fix the following asmvalidate warnings: asmvalidate: arch/x86/kernel/acpi/wakeup_64.o: wakeup_long64()+0x15: unsupported jump to outside of function asmvalidate: arch/x86/kernel/acpi/wakeup_64.o: wakeup_long64()+0x55: unsupported

Re: [PATCH] overlayfs: Warn on copy up if a process has a R/O fd open to the lower file

2015-06-10 Thread David Howells
Hi Miklós, Al, Any thoughts on taking this upstream? David -- 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 FAQ at

linux-next: Tree for Jun 10

2015-06-10 Thread Stephen Rothwell
Hi all, Changes since 20150609: The drm tree still had its build failures for which I applied a supplied patch. Non-merge commits (relative to Linus' tree): 9544 8352 files changed, 893218 insertions(+), 188316 deletions(-)

Re: [PATCH v5 3/7] mmc: mediatek: Add PM support for MMC driver

2015-06-10 Thread Ulf Hansson
On 10 June 2015 at 04:24, Chaotian Jing chaotian.j...@mediatek.com wrote: Add PM support for Mediatek MMC driver Save/restore registers when PM Signed-off-by: Chaotian Jing chaotian.j...@mediatek.com --- drivers/mmc/host/mtk-sd.c | 88 +-- 1

Re: [PATCH v4 6/7] staging: fsl-mc: Add locking to serialize mc_send_command() calls

2015-06-10 Thread Dan Carpenter
On Tue, Jun 09, 2015 at 04:59:07PM -0500, J. German Rivera wrote: Add a locking mechanism to serialize mc_send_command() calls that use the same fsl_mc_io object (same MC portal). When the fsl_mc_io object is created the owner needs to know in which type of context the fsl_mc_io object is

[PATCH v5 10/10] x86/asm/lib: Fix asmvalidate warnings for rwsem.S

2015-06-10 Thread Josh Poimboeuf
Fix the following asmvalidate warnings: asmvalidate: arch/x86/lib/rwsem.o: call_rwsem_down_read_failed(): missing FP_SAVE/RESTORE macros asmvalidate: arch/x86/lib/rwsem.o: call_rwsem_down_write_failed(): missing FP_SAVE/RESTORE macros asmvalidate: arch/x86/lib/rwsem.o: call_rwsem_wake():

[PATCH v5 02/10] x86: Compile-time asm code validation

2015-06-10 Thread Josh Poimboeuf
Add a new CONFIG_ASM_VALIDATION option which adds an asmvalidate host tool which runs on every compiled .S file. Its goal is to enforce sane rules on all asm code, so that stack debug metadata (frame/back chain pointers and/or DWARF CFI metadata) can be made reliable. It enforces the following

[PATCH v5 06/10] x86/asm/efi: Fix asmvalidate warnings for efi_stub_64.S

2015-06-10 Thread Josh Poimboeuf
Fix the following asmvalidate warnings: asmvalidate: arch/x86/platform/efi/efi_stub_64.o: efi_call(): missing FP_SAVE/RESTORE macros asmvalidate: arch/x86/boot/compressed/efi_stub_64.o: efi_call(): missing FP_SAVE/RESTORE macros efi_call() is a non-leaf callable function, so save/restore

[PATCH v5 08/10] x86/asm/head: Fix asmvalidate warnings for head_64.S

2015-06-10 Thread Josh Poimboeuf
Fix the following asmvalidate warnings: asmvalidate: arch/x86/kernel/head_64.o: start_cpu0(): unsupported fallthrough at end of function asmvalidate: arch/x86/kernel/head_64.o: early_idt_handler_array()+0x4: unsupported jump to outside of function asmvalidate:

[PATCH v5 09/10] x86/asm/lib: Fix asmvalidate warnings for lib functions

2015-06-10 Thread Josh Poimboeuf
Fix the following asmvalidate warnings: asmvalidate: arch/x86/lib/clear_page_64.o: clear_page()+0x0: unsupported jump to outside of function asmvalidate: arch/x86/lib/clear_page_64.o: alternative jump to outside the scope of original function clear_page asmvalidate:

[PATCH v5 05/10] x86/asm/crypto: Fix asmvalidate warnings for ghash-clmulni-intel_asm.S

2015-06-10 Thread Josh Poimboeuf
Fix the following asmvalidate warnings: asmvalidate: arch/x86/crypto/ghash-clmulni-intel_asm.o: clmul_ghash_mul(): missing FP_SAVE/RESTORE macros asmvalidate: arch/x86/crypto/ghash-clmulni-intel_asm.o: clmul_ghash_update(): missing FP_SAVE/RESTORE macros These are non-leaf callable

[PATCH v5 03/10] x86/asm/entry: Fix asmvalidate warnings for entry_64_compat.S

2015-06-10 Thread Josh Poimboeuf
Fix the following asmvalidate warnings: asmvalidate: arch/x86/entry/entry_64_compat.o: native_usergs_sysret32(): unsupported fallthrough at end of function asmvalidate: arch/x86/entry/entry_64_compat.o: entry_SYSENTER_compat()+0xcf: unsupported jump to outside of function asmvalidate:

[PATCH v6 2/2] ASoC: qcom: add apq8016 sound card support

2015-06-10 Thread Srinivas Kandagatla
This patch adds apq8016 machine driver support. This patch is tested on DB410c and msm8916-mtp board for both hdmi and analog audio features. Acked-by: Kenneth Westfield kwest...@codeaurora.org Signed-off-by: Srinivas Kandagatla srinivas.kandaga...@linaro.org --- sound/soc/qcom/Kconfig |

[PATCH v6 1/2] ASoC: qcom: document apq8016 sbc machine driver bindings

2015-06-10 Thread Srinivas Kandagatla
This patch adds bindings for apq8016 sbc machine driver. APQ8016 has 4 MI2S which can be configured to different sinks like internal codec/external codec, this connection and various parameters are controlled via 2 iomux registers. Acked-by: Kenneth Westfield kwest...@codeaurora.org

[PATCH v6 0/2] ASoC: qcom: add support to apq8016 sbc machine driver

2015-06-10 Thread Srinivas Kandagatla
This patchset adds sound card support to APQ8016 SBC board aka DB410c. APQ8016 has 4 MI2S( Primary, Secondary, Tertiary, Quaternary) which can be routed to internal wcd codec or external codecs. This routing and various board specifics are controlled by 2 mux registers. All these patches are

Re: [PATCH v6 5/6] i2c: at91: print hardware version

2015-06-10 Thread Wolfram Sang
- dev_info(dev-dev, AT91 i2c bus driver.\n); + dev_info(dev-dev, AT91 i2c bus driver (version: %#x).\n, It looks as if you rather print the driver's version. :-) From my point of view, having a version number for a Linux driver would be strange Not everybody shares your

Re: [RFC] panic_on_oom_timeout

2015-06-10 Thread Tetsuo Handa
Michal Hocko wrote: Hi, during the last iteration of the timeout based oom killer discussion (http://marc.info/?l=linux-mmm=143351457601723) I've proposed to introduce panic_on_oom_timeout as an extension to panic_on_oom rather than oom timeout which would allow OOM killer to select another

<    7   8   9   10   11   12   13   14   15   16   >