[PATCH v2 1/5] x86: make dma_alloc_coherent() return zeroed memory if CMA is enabled

2014-01-14 Thread Akinobu Mita
Calling dma_alloc_coherent() with __GFP_ZERO must return zeroed memory. But when the contiguous memory allocator (CMA) is enabled on x86 and the memory region is allocated by dma_alloc_from_contiguous(), it doesn't return zeroed memory. Because dma_generic_alloc_coherent() forgot to fill the

Re: [PATCH 1/3] mfd: Add realtek USB card reader driver

2014-01-14 Thread Lee Jones
[ Sorry, I am coming down with the flu today so I'm doing dorky things like reviewing review comments. I'm not sure how coherent I am. ] Always welcome. NB: I did this review in double-quick time, which may account for some of the weird thought processes (or lack there of). +static

[PATCH v2 4/5] memblock: introduce memblock_alloc_range()

2014-01-14 Thread Akinobu Mita
This introduces memblock_alloc_range() which allocates memblock from the specified range of physical address. I would like to use this function to specify the location of CMA. Cc: Marek Szyprowski m.szyprow...@samsung.com Cc: Konrad Rzeszutek Wilk konrad.w...@oracle.com Cc: David Woodhouse

[PATCH v2 5/5] cma: add placement specifier for cma= kernel parameter

2014-01-14 Thread Akinobu Mita
Currently, cma= kernel parameter is used to specify the size of CMA, but we can't specify where it is located. We want to locate CMA below 4GB for devices only supporting 32-bit addressing on 64-bit systems without iommu. This enables to specify the placement of CMA by extending cma= kernel

Re: linux-next: build failure after merge of the tip tree

2014-01-14 Thread Peter Zijlstra
On Tue, Jan 14, 2014 at 02:26:27PM +1100, Stephen Rothwell wrote: Hi all, After merging the tip tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/cpufreq/speedstep-lib.c: In function 'speedstep_get_freqs': drivers/cpufreq/speedstep-lib.c:467:2: error: implicit

[PATCH v2 2/5] x86: enable DMA CMA with swiotlb

2014-01-14 Thread Akinobu Mita
The DMA Contiguous Memory Allocator support on x86 is disabled when swiotlb config option is enabled. So DMA CMA is always disabled on x86_64 because swiotlb is always enabled. This attempts to support for DMA CMA with enabling swiotlb config option. The contiguous memory allocator on x86 is

[PATCH v2 3/5] intel-iommu: integrate DMA CMA

2014-01-14 Thread Akinobu Mita
This adds support for the DMA Contiguous Memory Allocator for intel-iommu. This change enables dma_alloc_coherent() to allocate big contiguous memory. It is achieved in the same way as nommu_dma_ops currently does, i.e. trying to allocate memory by dma_alloc_from_contiguous() and alloc_pages() is

Re: [drm] BUG: spinlock lockup suspected on CPU#0, swapper/0/1

2014-01-14 Thread David Herrmann
Hi On Tue, Jan 14, 2014 at 2:45 PM, Fengguang Wu fengguang...@intel.com wrote: Hi David, I'm not sure if this is a good bisect because the errors are noisy, however it's good to inform you of this possibility. First bad commit may be a3483353c (drm: check for !kdev in drm_unplug_minor())

Re: [PATCH 5/7] drivers/usb/dwc3: don't check resource with devm_ioremap_resource

2014-01-14 Thread Felipe Balbi
On Tue, Jan 14, 2014 at 12:58:56PM +0100, Wolfram Sang wrote: devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang w...@the-dreams.de --- Should go via subsystem tree too late for v3.14, I'll merge this for

Re: [PATCH v2 07/12] at91: dt: smc: Added smc bus driver

2014-01-14 Thread Jean-Jacques Hiblot
2014/1/11 boris brezillon b.brezil...@overkiz.com: On 09/01/2014 22:04, Jean-Jacques Hiblot wrote: Hi Boris, 2014/1/9 boris brezillon b.brezil...@overkiz.com: Hello JJ, On 09/01/2014 13:31, Jean-Jacques Hiblot wrote: The EBI/SMC external interface is used to access external peripherals

Re: [PATCH 3/3] zram: rework reported to end-user zram statistics

2014-01-14 Thread Jerome Marchand
On 01/14/2014 03:09 PM, Sergey Senozhatsky wrote: On (01/14/14 15:02), Jerome Marchand wrote: On 01/14/2014 02:53 PM, Sergey Senozhatsky wrote: On (01/14/14 14:43), Jerome Marchand wrote: [..] That's weird: good/bad_compress are accounted, but it seems to me that they are to never used in

Re: [PATCH] perf tools: Fix build error on zfree()

2014-01-14 Thread Namhyung Kim
2014-01-13 (월), 15:00 -0300, Arnaldo Carvalho de Melo: Em Thu, Jan 09, 2014 at 11:07:59PM +0900, Namhyung Kim escreveu: It failed to build perf on my ubuntu 10.04 box (gcc 4.4.3): CC util/strlist.o cc1: warnings being treated as errors util/strlist.c: In function

Re: perf probe: Build error with missing libraries

2014-01-14 Thread Arnaldo Carvalho de Melo
Em Tue, Jan 14, 2014 at 02:15:40PM +0100, Jiri Olsa escreveu: On Tue, Jan 14, 2014 at 10:09:07AM -0300, Arnaldo Carvalho de Melo wrote: Em Tue, Jan 14, 2014 at 10:41:37AM +0900, Masami Hiramatsu escreveu: (2014/01/14 3:14), Arnaldo Carvalho de Melo wrote: Jiri, this is something else for

Re: [PATCH] ASoC: simple-card: simplify code

2014-01-14 Thread Mark Brown
On Tue, Jan 14, 2014 at 12:36:06PM +0100, Jean-Francois Moine wrote: This patch - removes the fields of the platform data which are of no use to the non-DT platform callers, - uses a new private structure to handle all the sound card information, - simplifies the code and make easier a

Re: [PATCH 2/5] phy: add support for indexed lookup

2014-01-14 Thread Heikki Krogerus
Hi Kishon, And happy new year.. On Tue, Jan 07, 2014 at 07:10:36PM +0530, Kishon Vijay Abraham I wrote: /** - * phy_get() - lookup and obtain a reference to a phy. + * phy_get_index() - obtain a phy based on index NAK. It still takes a 'char' argument and the name is misleading. Btw

Re: [PATCH 2/3] mm/memcg: fix endless iteration in reclaim

2014-01-14 Thread Michal Hocko
On Tue 14-01-14 14:27:27, Michal Hocko wrote: On Mon 13-01-14 17:52:30, Hugh Dickins wrote: On one home machine I can easily reproduce (by rmdir of memcgdir during reclaim) multiple processes stuck looping forever in mem_cgroup_iter(): __mem_cgroup_iter_next() keeps selecting the memcg

Re: [PATCH 00/12] [v2] Reorganize x86 Kconfig menu

2014-01-14 Thread Borislav Petkov
On Mon, Jan 13, 2014 at 11:22:45AM -0800, Dave Hansen wrote: Changes from v1: * put MTRR under Processor Options * fix circular dependency introduced in the paravirt shuffle * dump extended platforms down to the end of the menu -- The x86 Processor type and features menu has really

[PATCH] Staging: media: Fix line length exceeding 80 characters in as102_drv.c

2014-01-14 Thread Monam Agarwal
This patch fixes the following checkpatch.pl warning in as102/as102_drv.c WARNING: line over 80 characters in the file Signed-off-by: Monam Agarwal monamagarwal...@gmail.com --- drivers/staging/media/as102/as102_drv.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

Re: [PATCH 3/3] mm/memcg: iteration skip memcgs not yet fully initialized

2014-01-14 Thread Tejun Heo
Hey, Michal. On Tue, Jan 14, 2014 at 02:30:05PM +0100, Michal Hocko wrote: On Mon 13-01-14 17:54:04, Hugh Dickins wrote: It is surprising that the mem_cgroup iterator can return memcgs which have not yet been fully initialized. By accident (or trial and error?) this appears not to present

Re: [PATCH V3 2/2] mm/memblock: Add support for excluded memory areas

2014-01-14 Thread Santosh Shilimkar
On Tuesday 14 January 2014 08:17 AM, Grygorii Strashko wrote: Hi Philipp, On 01/13/2014 03:03 PM, Philipp Hachtmann wrote: Add a new memory state nomap to memblock. This can be used to truncate the usable memory in the system without forgetting about what is really installed. Sorry,

Re: [PATCH] spi: Clarify (a)synchronous transfer_one()

2014-01-14 Thread Mark Brown
On Tue, Jan 14, 2014 at 12:34:56PM +0100, Geert Uytterhoeven wrote: + * @transfer_one: transfer a single spi_transfer. + *Synchronous transfer methods must return 0 on success. + *Asynchronous transfer methods must return a strict-positive + *

Re: [PATCH] netfilter: nf_conntrack: fix RCU race in nf_conntrack_find_get (v3)

2014-01-14 Thread Eric Dumazet
On Tue, 2014-01-14 at 14:51 +0400, Andrew Vagin wrote: I think __nf_conntrack_alloc must use atomic_inc instead of atomic_set. And we must be sure, that the first object from a new page is zeroized. No you can not do that, and we do not need. If a new page is allocated, then you have the

Re: [PATCH] x86, acpi memory hotplug, add parameter to disable memory hotplug

2014-01-14 Thread Vivek Goyal
On Tue, Jan 14, 2014 at 06:05:15AM -0500, Prarit Bhargava wrote: On 01/13/2014 08:41 PM, Toshi Kani wrote: On Tue, 2014-01-14 at 10:11 +0900, Yasuaki Ishimatsu wrote: : I think we need a knob manually enable mem-hotplug when specify memmap. But it is another story. Acked-by:

Re: [PATCH 4/5] arm: omap3: twl: use the new lookup method with usb phy

2014-01-14 Thread Heikki Krogerus
On Tue, Jan 07, 2014 at 06:31:52PM +0530, Kishon Vijay Abraham I wrote: In any case, having two device names to deal with does not add any more risk. These associations should always be made in the place where the phy device is created so you will always know it's device name. huh.. we

Re: [PATCH 3/4] fix module autoloading for ACPI enumerated devices

2014-01-14 Thread Mark Brown
On Tue, Jan 14, 2014 at 04:00:17PM +0800, Zhang Rui wrote: On Mon, 2014-01-13 at 17:35 +, Mark Brown wrote: On Mon, Jan 13, 2014 at 09:48:31PM +0800, Zhang Rui wrote: ACPI enumerated devices has ACPI style _HID and _CID strings, all of these strings can be used for both driver loading

Re: Excessive WARN()s in Intel 915 driver

2014-01-14 Thread Alan Stern
On Tue, 14 Jan 2014, Daniel Vetter wrote: On Mon, Jan 13, 2014 at 03:16:42PM -0500, Alan Stern wrote: On Wed, 8 Jan 2014, Daniel Vetter wrote: On Wed, Jan 08, 2014 at 01:34:02PM -0500, Alan Stern wrote: On Wed, 8 Jan 2014, Daniel Vetter wrote: On Wed, Jan 08, 2014 at

RE: [alsa-devel] [RFC][PATCH] ASoC: simple-card: Add asoc_simple_card_data for the simple card driver data

2014-01-14 Thread li.xi...@freescale.com
Hi Jean-Francios, I do think split the muti-issues into deferent patches will be easier to upstream code, and the risk will be lower. So this patch is just the first step. Thanks, -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [PATCH 3.12 00/77] 3.12.8-stable review

2014-01-14 Thread Satoru Takeuchi
At Mon, 13 Jan 2014 16:27:21 -0800, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.12.8 release. There are 77 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know.

Re: [PATCH/RFC] spi: core: Fix logic mismatch in spi_master.set_cs()

2014-01-14 Thread Geert Uytterhoeven
On Tue, Jan 14, 2014 at 2:45 PM, Mark Brown broo...@kernel.org wrote: On Tue, Jan 14, 2014 at 02:23:37PM +0100, Geert Uytterhoeven wrote: On Tue, Jan 14, 2014 at 1:52 PM, Mark Brown broo...@kernel.org wrote: On Tue, Jan 14, 2014 at 12:36:51PM +0100, Geert Uytterhoeven wrote: This also pushes

Re: [PATCH 4/6] arm64: add EFI stub

2014-01-14 Thread Mark Salter
On Mon, 2014-01-13 at 19:49 +0100, Arnd Bergmann wrote: On Friday 10 January 2014, Mark Salter wrote: This patch adds PE/COFF header fields to the start of the Image so that it appears as an EFI application to EFI firmware. An EFI stub is included to allow direct booting of the kernel

Re: [PATCH/RFC] spi: core: Fix logic mismatch in spi_master.set_cs()

2014-01-14 Thread Mark Brown
On Tue, Jan 14, 2014 at 03:44:43PM +0100, Geert Uytterhoeven wrote: On Tue, Jan 14, 2014 at 2:45 PM, Mark Brown broo...@kernel.org wrote: If we're manually setting /CS it really makes no difference what the chip thinks the polarity is - something that is controlling /CS autonomously can't

Re: [Xen-devel] [PATCH v2] xen-blkfront: remove type check from blkfront_setup_discard

2014-01-14 Thread Olaf Hering
On Mon, Jan 13, David Vrabel wrote: Can we have a patch to blkif.h that clarifies this? What about this change? diff --git a/xen/include/public/io/blkif.h b/xen/include/public/io/blkif.h index 84eb7fd..56e2faa 100644 --- a/xen/include/public/io/blkif.h +++ b/xen/include/public/io/blkif.h @@

[PATCH driver-core-next] kernfs: fix get_active failure handling in kernfs_seq_*()

2014-01-14 Thread Tejun Heo
When kernfs_seq_start() fails to obtain an active reference, it returns ERR_PTR(-ENODEV). kernfs_seq_stop() is then invoked with the error pointer value; however, it still proceeds to invoke kernfs_put_active() on the node leading to unbalanced put. If kernfs_seq_stop() is called even after

Re: [PATCH v2 07/12] at91: dt: smc: Added smc bus driver

2014-01-14 Thread Nicolas Ferre
On 14/01/2014 15:20, Jean-Jacques Hiblot : 2014/1/11 boris brezillon b.brezil...@overkiz.com: On 09/01/2014 22:04, Jean-Jacques Hiblot wrote: Hi Boris, 2014/1/9 boris brezillon b.brezil...@overkiz.com: Hello JJ, On 09/01/2014 13:31, Jean-Jacques Hiblot wrote: The EBI/SMC external

Re: [GIT PULL] clockevents/clocksources: 3.13 fixes

2014-01-14 Thread Daniel Lezcano
On 12/30/2013 11:43 AM, Daniel Lezcano wrote: Hi Thomas and Ingo, here is a pull request for a single fix for 3.13. It is based on the latest timers/urgent update. * Soren Brinkmann fixed the cadence_ttc driver where a call to clk_get_rate happens in an interrupt context. More precisely in

[PATCH v1 1/5] pinctrl: st: Fix a typo in probe

2014-01-14 Thread srinivas.kandagatla
From: Srinivas Kandagatla srinivas.kandaga...@st.com Probe function had commas instead of semi-colons on some of the lines. This patch just fixes those lines. No functional chagnes done in this patch. Signed-off-by: Srinivas Kandagatla srinivas.kandaga...@st.com --- drivers/pinctrl/pinctrl-st.c

[PATCH v1 4/5] ARM:STi: STiH416: Add interrupt support for pin controller

2014-01-14 Thread srinivas.kandagatla
From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch adds interrupt support for STiH416 pin controllers. Signed-off-by: Srinivas Kandagatla srinivas.kandaga...@st.com --- arch/arm/boot/dts/stih416-pinctrl.dtsi | 81 1 files changed, 81

[PATCH v1 3/5] pinctrl: st: Add software edge trigger interrupt support.

2014-01-14 Thread srinivas.kandagatla
From: Srinivas Kandagatla srinivas.kandaga...@st.com ST pin controller does not have hardware support for detecting edge triggered interrupts, It only has level triggering support. This patch attempts to fake up edge triggers from hw level trigger support in software. With this facility now the

[PATCH v1 2/5] pinctrl: st: Add Interrupt support.

2014-01-14 Thread srinivas.kandagatla
From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch add interrupt support to the pincontroller driver. ST Pincontroller GPIO bank can have one of the two possible types of interrupt-wirings. First type is via irqmux, single interrupt is used by multiple gpio banks. This reduces

[PATCH v1 0/5] pinctrl: st: Add interrupt controller support.

2014-01-14 Thread srinivas.kandagatla
From: Srinivas Kandagatla srinivas.kandaga...@st.com Hi Linus W, This series of patches add interrupt controller support to ST pinctrl driver. ST pin controller GPIO bank can have one of the two possible types of interrupt-wirings. First type is via irqmux, single interrupt is used by multiple

[PATCH v1 5/5] ARM:STi: STiH415: Add interrupt support for pin controller

2014-01-14 Thread srinivas.kandagatla
From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch adds interrupt support for STiH415 pin controllers. Signed-off-by: Srinivas Kandagatla srinivas.kandaga...@st.com --- arch/arm/boot/dts/stih415-pinctrl.dtsi | 75 1 files changed, 75

Re: [PATCH] oprofile: check whether oprofile perf enabled in op_overflow_handler()

2014-01-14 Thread Robert Richter
On 14.01.14 09:52:11, Weng Meiling wrote: On 2014/1/13 16:45, Robert Richter wrote: On 20.12.13 15:49:01, Weng Meiling wrote: The problem was once triggered on kernel 2.6.34, the main information: 3BUG: soft lockup - CPU#0 stuck for 60005ms! [opcontrol:8673] Pid: 8673, comm:

Re: [PATCH] mm/zswap: add writethrough option

2014-01-14 Thread Dan Streetman
On Mon, Jan 13, 2014 at 7:11 PM, Minchan Kim minc...@kernel.org wrote: Hello Dan, Sorry for the late response and I didn't look at the code yet because I am not convinced. :( On Thu, Dec 19, 2013 at 08:23:27AM -0500, Dan Streetman wrote: Currently, zswap is writeback cache; stored pages are

Re: AMD errata 793 (CVE-2013-6885) needs a workaround in Linux?

2014-01-14 Thread H. Peter Anvin
On 01/14/2014 03:55 AM, Borislav Petkov wrote: On Tue, Jan 14, 2014 at 09:41:33AM -0200, Henrique de Moraes Holschuh wrote: I just got this assigned to amd64-microcode in Debian, but it is something that needs to be worked around by the EFI/BIOS and/or the kernel. Since we all know just how

Re: [PATCH, RFC 23/30] oss: msnd_pinnacle: avoid interruptible_sleep_on_timeout

2014-01-14 Thread Takashi Iwai
At Thu, 2 Jan 2014 13:07:47 +0100, Arnd Bergmann wrote: We want to remove all sleep_on variants from the kernel because they are racy. In case of the pinnacle driver, we can replace interruptible_sleep_on_timeout with wait_event_interruptible_timeout by changing the meaning of a few flags

Re: [PATCH V2 0/4] misc: xgene: Add support for APM X-Gene SoC Queue Manager/Traffic Manager

2014-01-14 Thread Arnd Bergmann
On Monday 13 January 2014, Ravi Patel wrote: Examples for local resource management (I had to think about this a long time, but probably some of these are wrong) would be * balancing between multiple non-busmaster devices connected to a dma-engine * distributing incoming ethernet data

Re: linux-next: manual merge of the akpm-current tree with the tip tree

2014-01-14 Thread H. Peter Anvin
On 01/14/2014 04:51 AM, Peter Zijlstra wrote: On Tue, Jan 14, 2014 at 03:53:31PM +1100, Stephen Rothwell wrote: Hi Andrew, Today's linux-next merge of the akpm-current tree got a conflict in kernel/futex.c between commit a52b89ebb6d4 (futexes: Increase hash table size for better performance)

Re: [PATCH/RFC] spi: core: Fix logic mismatch in spi_master.set_cs()

2014-01-14 Thread Geert Uytterhoeven
Hi Mark, On Tue, Jan 14, 2014 at 3:50 PM, Mark Brown broo...@kernel.org wrote: On Tue, Jan 14, 2014 at 03:44:43PM +0100, Geert Uytterhoeven wrote: On Tue, Jan 14, 2014 at 2:45 PM, Mark Brown broo...@kernel.org wrote: when calling set_cs() is probably OK though. Just flipping the sense of

Re: [Xen-devel] [PATCH v2] xen-blkfront: remove type check from blkfront_setup_discard

2014-01-14 Thread David Vrabel
On 14/01/14 14:53, Olaf Hering wrote: On Mon, Jan 13, David Vrabel wrote: Can we have a patch to blkif.h that clarifies this? What about this change? diff --git a/xen/include/public/io/blkif.h b/xen/include/public/io/blkif.h index 84eb7fd..56e2faa 100644 ---

Re: [PATCH] x86, acpi memory hotplug, add parameter to disable memory hotplug

2014-01-14 Thread Toshi Kani
On Tue, 2014-01-14 at 11:43 +0900, Yasuaki Ishimatsu wrote: (2014/01/14 10:41), Toshi Kani wrote: On Tue, 2014-01-14 at 10:11 +0900, Yasuaki Ishimatsu wrote: : I think we need a knob manually enable mem-hotplug when specify memmap. But it is another story. Acked-by: KOSAKI

Re: [PATCH 1/3] mfd: Add realtek USB card reader driver

2014-01-14 Thread Greg Kroah-Hartman
On Tue, Jan 14, 2014 at 03:47:34PM +0800, rogera...@realtek.com wrote: From: Roger Tseng rogera...@realtek.com Realtek USB card reader provides a channel to transfer command or data to flash memory cards. This driver exports host instances for mmc and memstick subsystems and handles

Re: linux-next: manual merge of the akpm-current tree with the tip tree

2014-01-14 Thread Geert Uytterhoeven
On Tue, Jan 14, 2014 at 4:15 PM, H. Peter Anvin h...@zytor.com wrote: On 01/14/2014 04:51 AM, Peter Zijlstra wrote: On Tue, Jan 14, 2014 at 03:53:31PM +1100, Stephen Rothwell wrote: Hi Andrew, Today's linux-next merge of the akpm-current tree got a conflict in kernel/futex.c between commit

Re: [PATCH] x86, acpi memory hotplug, add parameter to disable memory hotplug

2014-01-14 Thread Vivek Goyal
On Tue, Jan 14, 2014 at 06:05:15AM -0500, Prarit Bhargava wrote: [..] As mentioned, self-NAK. I have seen a system that I needed to specify memmap=exactmap had hotplug memory. I will only keep the acpi_no_memhotplug option in the next version of the patch. Your following first

Re: build_skb() and data corruption

2014-01-14 Thread Jonas Jensen
Thanks for the replies, you led me to a new solution, I now think build_skb() is not the right choice, my motivation for using it in the first place, that I thought it meant getting away with not copying memory. build_skb() is replaced by netdev_alloc_skb_ip_align() and memcpy() (derived from

Re: [PATCH v4 4/5] arm: Add [U]EFI runtime services support

2014-01-14 Thread Leif Lindholm
On 14 January 2014 13:26, Arnd Bergmann a...@arndb.de wrote: Are you suggesting that I should #ifndef ARM in common code, or that I should neglect to document what the common code will do with data it is given by UEFI? It would probably be good to document the fact that it won't work,

Re: In pci_fixup_video check if this is or should be the primary video device t

2014-01-14 Thread Sander Eikelenboom
Tuesday, January 14, 2014, 6:54:17 AM, you wrote: Hi Sander, It's calling the pci_fixup_video quirk ... and it's calling it twice .. which if i read the comment correctly .. shouldn't be the case: I think that there is only one bridge VGA Enable bit is set on normal machine. I guess two

Re: [PATCH v8 4/4] qrwlock: Use smp_store_release() in write_unlock()

2014-01-14 Thread Waiman Long
On 01/14/2014 06:03 AM, Peter Zijlstra wrote: On Tue, Jan 14, 2014 at 10:28:23AM +0800, Daniel J Blueman wrote: Peter, I found out that the build failure was caused by the fact that the __native_word() macro (used internally by compiletime_assert_atomic()) allows only a size of 4 or 8 for

Re: [PATCH] drm/panel: update EDID BLOB in panel_simple_get_modes()

2014-01-14 Thread Thierry Reding
On Thu, Jan 09, 2014 at 11:37:34AM -0700, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com This stashes away the EDID data so that the sysfs per-connector file edid can display it. Without this change, the edid file is always empty. Signed-off-by: Stephen Warren

Re: AMD errata 793 (CVE-2013-6885) needs a workaround in Linux?

2014-01-14 Thread Borislav Petkov
On Tue, Jan 14, 2014 at 07:14:48AM -0800, H. Peter Anvin wrote: Seriously, though, if this MSR can be set at runtime without problems (which covers 98% of all workarounds, but not 100%) then it seems like a no-brainer to just do it as long as the offending CPUs can be identified by the kernel.

perf tools: Random cleanups

2014-01-14 Thread Frederic Weisbecker
Hi, Just a bunch of non critical cleanups for comm and callchains. Based on latest acme:perf/core git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git perf/core-cleanups-for-acme Thanks, Frederic --- Frederic Weisbecker (3): perf tools: Do proper

[PATCH 2/3] perf tools: Spare double comparison of callchain first entry

2014-01-14 Thread Frederic Weisbecker
When a new callchain child branch matches an existing one in the rbtree, the comparison of its first entry is performed twice: 1) From append_chain_children() on branch lookup 2) If 1) reports a match, append_chain() then compares all entries of the new branch against the matching node in the

Re: [PATCH] x86, acpi memory hotplug, add parameter to disable memory hotplug

2014-01-14 Thread Toshi Kani
On Tue, 2014-01-14 at 10:26 -0500, Vivek Goyal wrote: On Tue, Jan 14, 2014 at 06:05:15AM -0500, Prarit Bhargava wrote: [..] As mentioned, self-NAK. I have seen a system that I needed to specify memmap=exactmap had hotplug memory. I will only keep the acpi_no_memhotplug option

[PATCH 1/3] perf tools: Do proper comm override error handling

2014-01-14 Thread Frederic Weisbecker
The comm overriding API ignores memory allocation failures by silently keeping the previous and out of date comm. As a result, the user may get buggy events without ever being notified about the problem and its source. Lets start to fix this by propagating the error from the API. Not all callers

[PATCH 3/3] perf tools: Remove unnecessary callchain cursor state restore on unmatch

2014-01-14 Thread Frederic Weisbecker
If a new callchain branch doesn't match a single entry of the node that it is given against comparison in append_chain(), then the cursor is expected to be at the same position as it was before the comparison loop. As such, there is no need to restore the cursor position on exit in case of non

Re: [RFC PATCH] mm: thp: Add per-mm_struct flag to control THP

2014-01-14 Thread Mel Gorman
On Fri, Jan 10, 2014 at 04:39:09PM -0600, Alex Thorlton wrote: On Fri, Jan 10, 2014 at 11:10:10PM +0100, Peter Zijlstra wrote: We already have the information to determine if a page is shared across nodes, Mel even had some prototype code to do splits under those conditions. I'm aware

Re: [PATCH RFC 04/10] base: power: Add generic OF-based power domain look-up

2014-01-14 Thread Kevin Hilman
Tomasz Figa tomasz.f...@gmail.com writes: This patch introduces generic code to perform power domain look-up using device tree and automatically bind devices to their power domains. Generic device tree binding is introduced to specify power domains of devices in their device tree nodes.

[PATCH 2/7] staging,dgap: Add dependency on HAS_IOMEM

2014-01-14 Thread Richard Weinberger
On archs like S390 or um this driver cannot build nor work. Make it depend on HAS_IOMEM to bypass build failures. drivers/staging/dgap/dgap_driver.c: In function ‘dgap_cleanup_board’: drivers/staging/dgap/dgap_driver.c:457:3: error: implicit declaration of function ‘iounmap’

Re: [PATCH -next] qlcnic: fix compiler warning

2014-01-14 Thread Martin Kaiser
re-sent as requested by David M. (I understand the concerns about portability that were raised. At the moment, I don't have a possiblity to do further rework and testing) Add an explicit cast to fix the following warning (seen on Debian Wheezy, gcc 4.7.2) CC [M]

Re: linux-next: manual merge of the akpm-current tree with the tip tree

2014-01-14 Thread Peter Zijlstra
On Tue, Jan 14, 2014 at 04:20:36PM +0100, Geert Uytterhoeven wrote: On Tue, Jan 14, 2014 at 4:15 PM, H. Peter Anvin h...@zytor.com wrote: On 01/14/2014 04:51 AM, Peter Zijlstra wrote: On Tue, Jan 14, 2014 at 03:53:31PM +1100, Stephen Rothwell wrote: Hi Andrew, Today's linux-next merge

[PATCH 6/7] power,goldfish: Add dependency on HAS_IOMEM

2014-01-14 Thread Richard Weinberger
On archs like S390 or um this driver cannot build nor work. Make it depend on HAS_IOMEM to bypass build failures. drivers/built-in.o: In function `goldfish_battery_probe': drivers/power/goldfish_battery.c:181: undefined reference to `devm_ioremap' Signed-off-by: Richard Weinberger rich...@nod.at

[PATCH 3/7] staging,spear_adc: Add dependency on HAS_IOMEM

2014-01-14 Thread Richard Weinberger
On archs like S390 or um this driver cannot build nor work. Make it depend on HAS_IOMEM to bypass build failures. drivers/staging/iio/adc/spear_adc.c: In function ‘spear_adc_probe’: drivers/staging/iio/adc/spear_adc.c:393:2: error: implicit declaration of function ‘iounmap’

[PATCH 5/7] net,marvell: Add dependency on HAS_IOMEM

2014-01-14 Thread Richard Weinberger
On archs like S390 or um this driver cannot build nor work. Make it depend on HAS_IOMEM to bypass build failures. drivers/built-in.o: In function `orion_mdio_probe': drivers/net/ethernet/marvell/mvmdio.c:228: undefined reference to `devm_ioremap' Signed-off-by: Richard Weinberger rich...@nod.at

Re: [RFC PATCH] mm: thp: Add per-mm_struct flag to control THP

2014-01-14 Thread Mel Gorman
On Sat, Jan 11, 2014 at 12:23:15AM +0200, Kirill A. Shutemov wrote: On Fri, Jan 10, 2014 at 04:01:55PM -0600, Alex Thorlton wrote: On Fri, Jan 10, 2014 at 10:23:10PM +0200, Kirill A. Shutemov wrote: Do you know what cause the difference? I prefer to fix THP instead of adding new knob to

[PATCH 7/7] staging,lpc32xx_adc: Add dependency on HAS_IOMEM

2014-01-14 Thread Richard Weinberger
On archs like S390 or um this driver cannot build nor work. Make it depend on HAS_IOMEM to bypass build failures. drivers/built-in.o: In function `lpc32xx_adc_probe': drivers/staging/iio/adc/lpc32xx_adc.c:149: undefined reference to `devm_ioremap' Signed-off-by: Richard Weinberger rich...@nod.at

Re: linux-next: manual merge of the akpm-current tree with the tip tree

2014-01-14 Thread H. Peter Anvin
On 01/14/2014 07:41 AM, Peter Zijlstra wrote: I am *guessing* that m68k is has get_fs() == KERNEL_DS at the point that futex_init() is called. This would seem a bit of a peculiarity to m68k, and as such it would seem like it would be better for it to belong in the m68k-specific code, but

[PATCH 1/7] ptp_pch: Add dependency on HAS_IOMEM

2014-01-14 Thread Richard Weinberger
On archs like S390 or um this driver cannot build nor work. Make it depend on HAS_IOMEM to bypass build failures. drivers/ptp/ptp_pch.c: In function ‘pch_remove’: drivers/ptp/ptp_pch.c:571:3: error: implicit declaration of function ‘iounmap’ [-Werror=implicit-function-declaration]

[PATCH 4/7] phy,exynos: Add dependency on HAS_IOMEM

2014-01-14 Thread Richard Weinberger
On archs like S390 or um this driver cannot build nor work. Make it depend on HAS_IOMEM to bypass build failures. drivers/built-in.o: In function `exynos_mipi_video_phy_probe': drivers/phy/phy-exynos-mipi-video.c:130: undefined reference to `devm_ioremap_resource' Signed-off-by: Richard

Re: [PATCH] ARM: OMAP4: sleep: byteswap data for big-endian

2014-01-14 Thread Nishanth Menon
On 01/14/2014 05:14 AM, Taras Kondratiuk wrote: On 13 January 2014 17:23, Nishanth Menon n...@ti.com wrote: On 01/13/2014 09:03 AM, Taras Kondratiuk wrote: From: Victor Kamensky victor.kamen...@linaro.org Assembler functions defined in sleep44xx.S need to byteswap values after read / before

Re: [PATCH] toshiba_acpi: Support RFKILL hotkey scancode

2014-01-14 Thread Matthew Garrett
On Tue, 2014-01-14 at 11:06 +0100, Unai Uribarri wrote: This scancode is used in new 2013 models like Satellite P75-A7200. Just to check - this is generated by a key that otherwise does nothing, right? Ie, hitting the key generates the scancode but doesn't automatically change the wireless

Re: build_skb() and data corruption

2014-01-14 Thread Arnd Bergmann
On Tuesday 14 January 2014, Jonas Jensen wrote: Thanks for the replies, you led me to a new solution, I now think build_skb() is not the right choice, my motivation for using it in the first place, that I thought it meant getting away with not copying memory. build_skb() is replaced by

Re: [PATCH 0/3] power_supply: modelgauge_battery: Add Maxim ModelGauge ICs gauge

2014-01-14 Thread Krzysztof Kozlowski
On 01/09/2014 05:49 PM, Vladimir Barinov wrote: This adds the folowing: - Maxim ModelGauge ICs gauge driver for MAX17040/41/43/44/48/49/58/59 chips - Document DT bindings - Remove superseded Maxim MAX17040 gauge driver Vladimir Barinov (3): [1/3] power_supply: modelgauge_battery: Maxim

Re: [PATCH RFC v2 0/4] perf: IRQ-bound performance events

2014-01-14 Thread Alexander Gordeev
On Mon, Jan 13, 2014 at 04:50:37PM +0100, Frederic Weisbecker wrote: On Sat, Jan 04, 2014 at 07:22:32PM +0100, Alexander Gordeev wrote: Hello, This is version 2 of RFC perf: IRQ-bound performance events. That is an introduction of IRQ-bound performance events - ones that only count in a

Re: [PATCH V2] ACPI/Battery: Add a _BIX quirk for NEC LZ750/LS

2014-01-14 Thread Matthew Garrett
On Mon, Jan 06, 2014 at 11:25:53PM +0100, Rafael J. Wysocki wrote: Queued up as a fix for 3.13 (I fixed up the indentation). Ah, sorry, I missed this chunk of the thread. If the system provides valid _BIF data then we should possibly just fall back to that rather than adding another quirk

Re: [x86, kaslr] BUG: kernel boot hang

2014-01-14 Thread H. Peter Anvin
On 01/14/2014 05:31 AM, Fengguang Wu wrote: Greetings, I got the below dmesg and the first bad commit is commit 82fa9637a2ba285bcc7c5050c73010b2c1b3d803 Author: Kees Cook keesc...@chromium.org AuthorDate: Thu Oct 10 17:18:16 2013 -0700 Commit: H. Peter Anvin h...@linux.intel.com

[PATCH] ARM: dts: imx28-apf28dev: add user button

2014-01-14 Thread Sébastien Szymanski
Signed-off-by: Sébastien Szymanski sebastien.szyman...@armadeus.com --- arch/arm/boot/dts/imx28-apf28dev.dts | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/imx28-apf28dev.dts b/arch/arm/boot/dts/imx28-apf28dev.dts index 334dea5..221cac4 100644 ---

Re: Please confirm your message

2014-01-14 Thread Krzysztof Kozlowski
On Tue, 2014-01-14 at 17:05 +0100, Gmane Remailer wrote: This message was created automatically by mail delivery software (TMDA). Your message attached below is being held because the address k.kozlow...@samsung.com has not been verified. To release your message for delivery, please

Re: [PATCH V2 0/6] Enable X-Gene platform reboot driver.

2014-01-14 Thread Matthew Garrett
On Tue, Jan 07, 2014 at 02:50:35PM -0800, Feng Kan wrote: Enable X-Gene platform driver for the X-Gene platform. Remove the use of the mask attribute from the reboot dts node. Add support for using the ACPI and DTS resource for the reboot driver. Why can't you just use the standard ACPI reboot

Re: [tip:x86/microcode] x86, microcode: Move to a proper location

2014-01-14 Thread H. Peter Anvin
On 01/14/2014 05:58 AM, tip-bot for Borislav Petkov wrote: Commit-ID: bad5fa631fca5466401cd4a48e30cc1f1cb6101e Gitweb: http://git.kernel.org/tip/bad5fa631fca5466401cd4a48e30cc1f1cb6101e Author: Borislav Petkov b...@suse.de AuthorDate: Sun, 1 Dec 2013 18:09:58 +0100 Committer:

[PATCH] [trivial] ixgbe: Fix format string in ixgbe_fcoe.c

2014-01-14 Thread Masanari Iida
cppcheck detected following warning in ixgbe_fcoe.c (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. Signed-off-by: Masanari Iida standby2...@gmail.com --- drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH] i2c: Re-instate body of i2c_parent_is_i2c_adapter()

2014-01-14 Thread Wolfram Sang
On Mon, Jan 13, 2014 at 02:29:04PM -0700, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com The body of i2c_parent_is_i2c_adapter() is currently guarded by CONFIG_I2C_MUX instead. This paragraph sounds strange to me. I'll update it a little. After that I'll go looking for a brown

Re: [PATCH RESEND] ACPI: Blacklist Win8 OSI for some HP laptop 2013 models

2014-01-14 Thread Matthew Garrett
On Mon, Jan 13, 2014 at 12:14:18PM +0100, Takashi Iwai wrote: The BIOS on recent HP laptops behaves differently with Win8 OSI, e.g. no backlight control and no rfkill are available. List them in the blacklist as a workaround. What's the plan for fixing this properly? -- Matthew Garrett |

Re: [PATCH] ACPI/Battery: Add a _BIX quirk for NEC LZ750/LS

2014-01-14 Thread Matthew Garrett
On Thu, Jan 02, 2014 at 03:37:57PM +0800, Lan Tianyu wrote: The aml method _BIX of NEC LZ750/LS returns a broken package which skip the first member Revision according ACPI 5.0 spec Table 10-234. Why don't we just ignore an invalid _BIX and fall back to _BIF? That seems more reasonable than

Re: [PATCH] ASoC: simple-card: simplify code

2014-01-14 Thread Jean-Francois Moine
On Tue, 14 Jan 2014 14:20:14 + Mark Brown broo...@kernel.org wrote: On Tue, Jan 14, 2014 at 12:36:06PM +0100, Jean-Francois Moine wrote: This patch - removes the fields of the platform data which are of no use to the non-DT platform callers, - uses a new private structure to handle

Re: linux-next: manual merge of the akpm-current tree with the tip tree

2014-01-14 Thread H. Peter Anvin
On 01/14/2014 05:17 AM, Geert Uytterhoeven wrote: This seems terribly broken, the *futex_value*() ops should not need that; they are supposed to access userspace without any of that. Why don't they need set_fs(USER_DS)? Gr{oetje,eeting}s, Geert Because USER_DS

Re: [PATCH net-next 09/10] can: use __dev_get_by_index instead of dev_get_by_index to find interface

2014-01-14 Thread Oliver Hartkopp
On 14.01.2014 08:41, Ying Xue wrote: As cgw_create_job() is always under rtnl_lock protection, __dev_get_by_index() instead of dev_get_by_index() should be used to find interface handler in it having us avoid to change interface reference counter. Cc: Oliver Hartkopp

Re: [tip:x86/microcode] x86, microcode: Move to a proper location

2014-01-14 Thread Ingo Molnar
* H. Peter Anvin h...@zytor.com wrote: On 01/14/2014 05:58 AM, tip-bot for Borislav Petkov wrote: Commit-ID: bad5fa631fca5466401cd4a48e30cc1f1cb6101e Gitweb: http://git.kernel.org/tip/bad5fa631fca5466401cd4a48e30cc1f1cb6101e Author: Borislav Petkov b...@suse.de AuthorDate:

Re: [PATCH] watchdog: add a parameter for stop wdt before register

2014-01-14 Thread Vivek Goyal
On Tue, Jan 14, 2014 at 12:16:39PM +, One Thousand Gnomes wrote: On Tue, 14 Jan 2014 16:23:23 +0800 Dave Young dyo...@redhat.com wrote: In kdump kernel watchdog could interrupt vmcore capturing because we have no way to disable/stop it while crashing happens. Lots of watchdogs

Re: serial8250: bogus low_latency destabilizes kernel, need sanity check

2014-01-14 Thread Pavel Roskin
Hi Alan, Quoting One Thousand Gnomes gno...@lxorguk.ukuu.org.uk: Maybe we should unset the low_latency flag as soon as DMA fails? There are two flags, one is state-uart_port-flags and the other is port-low_latency. I guess we need to unset both. Well low latency and DMA are pretty much

[PATCH 1/3] KGDB/KDB: Fix no KDB config problem v2.

2014-01-14 Thread Mike Travis
Some code added to the debug_core module had KDB dependencies that it shouldn't have. Move the KDB dependent REASON back to the caller to remove the dependency in the debug core code. Update the call from the UV NMI handler to conform to the new interface. Signed-off-by: Mike Travis

[PATCH 3/3] UV/NMI/KGDB/KDB: Fix UV NMI handler when KDB not configured v2

2014-01-14 Thread Mike Travis
Fix UV call into kgdb to depend only on whether KGDB is defined and not both KGDB and KDB. This allows the power nmi command to use the gdb remote connection if enabled. Note new action of 'kgdb' needs to be set as well to indicate user wants to wait for gdb to be connected. If it's set to

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