Re: [PATCH -v1.1] x86, boot: Further compress CPUs bootup message

2013-10-01 Thread Ingo Molnar
* Borislav Petkov b...@alien8.de wrote: On Mon, Sep 30, 2013 at 08:28:48AM +0200, Ingo Molnar wrote: * H. Peter Anvin h...@zytor.com wrote: If the goal is to feed this to the field width in printf, which I would think would be the dominant use, then you do have to account for the

Re: [PATCH 1/6] clocksource: em_sti: convert to clk_prepare/unprepare

2013-10-01 Thread Magnus Damm
On Tue, Sep 24, 2013 at 1:09 PM, takas...@ops.dti.ne.jp wrote: From: Shinya Kuribayashi shinya.kuribayashi...@renesas.com Add calls to clk_prepare and unprepare so that EMMA Mobile EV2 can migrate to the common clock framework. Signed-off-by: Shinya Kuribayashi

Re: [PATCH 2/6] serial8250-em: convert to clk_prepare/unprepare

2013-10-01 Thread Magnus Damm
On Tue, Sep 24, 2013 at 1:10 PM, takas...@ops.dti.ne.jp wrote: From: Shinya Kuribayashi shinya.kuribayashi...@renesas.com Add calls to clk_prepare and unprepare so that EMMA Mobile EV2 can migrate to the common clock framework. Signed-off-by: Shinya Kuribayashi

[tip:x86/boot] x86/boot: Further compress CPUs bootup message

2013-10-01 Thread tip-bot for Borislav Petkov
Commit-ID: a17bce4d1dce8f3cf714bc2e5d8e4bac009dc077 Gitweb: http://git.kernel.org/tip/a17bce4d1dce8f3cf714bc2e5d8e4bac009dc077 Author: Borislav Petkov b...@alien8.de AuthorDate: Mon, 30 Sep 2013 11:56:24 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Tue, 1 Oct 2013 10:52:30

Re: [PATCH 5/6] clk: emev2: Add support for emev2 SMU clocks with DT

2013-10-01 Thread Magnus Damm
On Tue, Sep 24, 2013 at 1:15 PM, takas...@ops.dti.ne.jp wrote: Common clock framework version of emev2 clock support. smu_clkdiv and smu_gclk are handled. So far, reparent is not implemented, and is fixed to index #0. SMU and small numbers of clocks are described in emev2.dtsi. That

Re: [PATCH 3/3] KVM: PPC: Book3S: Add support for hwrng found on some powernv systems

2013-10-01 Thread Paul Mackerras
On Tue, Oct 01, 2013 at 11:39:08AM +0300, Gleb Natapov wrote: On Tue, Oct 01, 2013 at 06:34:26PM +1000, Michael Ellerman wrote: On Thu, Sep 26, 2013 at 11:06:59AM +0200, Paolo Bonzini wrote: Il 26/09/2013 08:31, Michael Ellerman ha scritto: Some powernv systems include a hwrng. Guests

Re: [PATCH] regulator: tps65090: remove usage of IS_ERR_OR_NULL

2013-10-01 Thread Mark Brown
On Tue, Oct 01, 2013 at 09:41:04AM +0530, Manish Badarkhe wrote: This patch changes the driver to avoid the usage of IS_ERR_OR_NULL() macro. Why? signature.asc Description: Digital signature

Re: [PATCH 6/6] ARM: shmobile: kzm9d-reference: Use common clock framework

2013-10-01 Thread Magnus Damm
On Tue, Sep 24, 2013 at 1:17 PM, takas...@ops.dti.ne.jp wrote: Use common clock framework version of clock drivers/clk/shmobile/clk-emev2.c instead of sh-clkfwk version arch/arm/mach-shmobile/clock-emev2.c kzm9d(without -reference) still uses sh-clkfwk version. Because two of that

Re: [PATCH 3/6] sh: clkfwk: Select sh-/common- clkfwk alternatively

2013-10-01 Thread Magnus Damm
On Tue, Sep 24, 2013 at 1:12 PM, takas...@ops.dti.ne.jp wrote: Make sh clock framework core depend on HAVE_MACH_CLKDEV, and set it - y on sh for backward compatibility - !CONFIG_COMMON_CLK on sh-mobile This is a preparation for migration to common clock framework from sh clock framework on

[PATCH] acpi: processor_driver: fixed a brace coding style issue

2013-10-01 Thread Mathieu Rhéaume
Fixed a brace coding style issue. (Brace not on the good line) Signed-off-by: Mathieu Rhéaume math...@codingrhemes.com --- drivers/acpi/processor_driver.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/acpi/processor_driver.c b/drivers/acpi/processor_driver.c index

Re: [PATCH 3/3] KVM: PPC: Book3S: Add support for hwrng found on some powernv systems

2013-10-01 Thread Benjamin Herrenschmidt
On Tue, 2013-10-01 at 11:39 +0300, Gleb Natapov wrote: On Tue, Oct 01, 2013 at 06:34:26PM +1000, Michael Ellerman wrote: On Thu, Sep 26, 2013 at 11:06:59AM +0200, Paolo Bonzini wrote: Il 26/09/2013 08:31, Michael Ellerman ha scritto: Some powernv systems include a hwrng. Guests can

[PATCH -mm 1/8] x86: get pg_data_t's memory from other node

2013-10-01 Thread Zhang Yanfei
From: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com If system can create movable node which all memory of the node is allocated as ZONE_MOVABLE, setup_node_data() cannot allocate memory for the node's pg_data_t. So, invoke memblock_alloc_nid(...MAX_NUMNODES) again to retry when the first

Re: [PATCH v3] i2c: enable runtime PM for I2C adapter devices enumerated from ACPI

2013-10-01 Thread Mika Westerberg
On Mon, Sep 30, 2013 at 05:43:48PM +0300, Mika Westerberg wrote: +static void acpi_i2c_device_pm_get(struct i2c_client *client) +{ + struct i2c_adapter *adap = client-adapter; + + /* Make sure the adapter is active */ + if (ACPI_HANDLE(adap-dev.parent)) +

[PATCH -mm 2/8] memblock, numa: Introduce flag into memblock

2013-10-01 Thread Zhang Yanfei
From: Tang Chen tangc...@cn.fujitsu.com There is no flag in memblock to describe what type the memory is. Sometimes, we may use memblock to reserve some memory for special usage. And we want to know what kind of memory it is. So we need a way to differentiate memory for different usage. In

Re: using mmc2 on panda [was: Regression 3.11-rc1: omap4panda: no usb and consequently no ethernet]

2013-10-01 Thread Roger Quadros
Hi Arend, On 10/01/2013 11:05 AM, Arend van Spriel wrote: On 07/19/2013 12:57 PM, Arend van Spriel wrote: On 07/19/2013 12:49 PM, Roger Quadros wrote: On 07/19/2013 01:36 PM, Arend van Spriel wrote: On 07/18/2013 10:59 AM, Tony Lindgren wrote: Then for the SDIO with device tree, take a look

[PATCH -mm 3/8] memblock, mem_hotplug: Introduce MEMBLOCK_HOTPLUG flag to mark hotpluggable regions

2013-10-01 Thread Zhang Yanfei
From: Tang Chen tangc...@cn.fujitsu.com In find_hotpluggable_memory, once we find out a memory region which is hotpluggable, we want to mark them in memblock.memory. So that we could control memblock allocator not to allocte hotpluggable memory for the kernel later. To achieve this goal, we

Re: using mmc2 on panda [was: Regression 3.11-rc1: omap4panda: no usb and consequently no ethernet]

2013-10-01 Thread Roger Quadros
On 10/01/2013 12:49 PM, Roger Quadros wrote: Hi Arend, On 10/01/2013 11:05 AM, Arend van Spriel wrote: On 07/19/2013 12:57 PM, Arend van Spriel wrote: On 07/19/2013 12:49 PM, Roger Quadros wrote: On 07/19/2013 01:36 PM, Arend van Spriel wrote: On 07/18/2013 10:59 AM, Tony Lindgren wrote:

[PATCH -mm 4/8] memblock: Make memblock_set_node() support different memblock_type

2013-10-01 Thread Zhang Yanfei
From: Tang Chen tangc...@cn.fujitsu.com Signed-off-by: Tang Chen tangc...@cn.fujitsu.com Reviewed-by: Zhang Yanfei zhangyan...@cn.fujitsu.com --- arch/metag/mm/init.c |3 ++- arch/metag/mm/numa.c |3 ++- arch/microblaze/mm/init.c |3 ++- arch/powerpc/mm/mem.c |2 +-

[PATCH -mm 5/8] acpi, numa, mem_hotplug: Mark hotpluggable memory in memblock

2013-10-01 Thread Zhang Yanfei
From: Tang Chen tangc...@cn.fujitsu.com When parsing SRAT, we know that which memory area is hotpluggable. So we invoke function memblock_mark_hotplug() introduced by previous patch to mark hotpluggable memory in memblock. Besides, move setting back to top-down allocation just right after we

[PATCH -mm 6/8] acpi, numa, mem_hotplug: Mark all nodes the kernel resides un-hotpluggable

2013-10-01 Thread Zhang Yanfei
From: Tang Chen tangc...@cn.fujitsu.com At very early time, the kernel have to use some memory such as loading the kernel image. We cannot prevent this anyway. So any node the kernel resides in should be un-hotpluggable. Signed-off-by: Zhang Yanfei zhangyan...@cn.fujitsu.com Reviewed-by: Zhang

[PATCH -mm 7/8] memblock, mem_hotplug: Make memblock skip hotpluggable regions by default

2013-10-01 Thread Zhang Yanfei
From: Tang Chen tangc...@cn.fujitsu.com Linux kernel cannot migrate pages used by the kernel. As a result, hotpluggable memory used by the kernel won't be able to be hot-removed. To solve this problem, the basic idea is to prevent memblock from allocating hotpluggable memory for the kernel at

[PATCH -mm 8/8] x86, numa, acpi, memory-hotplug: Make movable_node have higher priority

2013-10-01 Thread Zhang Yanfei
From: Tang Chen tangc...@cn.fujitsu.com Arrange hotpluggable memory as ZONE_MOVABLE will cause NUMA performance down because the kernel cannot use movable memory. For users who don't use memory hotplug and who don't want to lose their NUMA performance, they need a way to disable this

Re: [PATCH 3/3] KVM: PPC: Book3S: Add support for hwrng found on some powernv systems

2013-10-01 Thread Paolo Bonzini
Il 01/10/2013 10:34, Michael Ellerman ha scritto: If you really want to have the hypercall, implementing it in QEMU means that you can support it on all systems, in fact even when running without KVM. Sure, I can add a fallback to /dev/hwrng for full emulation. The QEMU command line

Re: [PATCH 3/3] KVM: PPC: Book3S: Add support for hwrng found on some powernv systems

2013-10-01 Thread Gleb Natapov
On Tue, Oct 01, 2013 at 07:23:20PM +1000, Paul Mackerras wrote: On Tue, Oct 01, 2013 at 11:39:08AM +0300, Gleb Natapov wrote: On Tue, Oct 01, 2013 at 06:34:26PM +1000, Michael Ellerman wrote: On Thu, Sep 26, 2013 at 11:06:59AM +0200, Paolo Bonzini wrote: Il 26/09/2013 08:31, Michael

Re: [PATCH 3/3] KVM: PPC: Book3S: Add support for hwrng found on some powernv systems

2013-10-01 Thread Alexander Graf
On 10/01/2013 11:23 AM, Paul Mackerras wrote: On Tue, Oct 01, 2013 at 11:39:08AM +0300, Gleb Natapov wrote: On Tue, Oct 01, 2013 at 06:34:26PM +1000, Michael Ellerman wrote: On Thu, Sep 26, 2013 at 11:06:59AM +0200, Paolo Bonzini wrote: Il 26/09/2013 08:31, Michael Ellerman ha scritto: Some

[PATCH -mm 0/8] Arrange hotpluggable memory as ZONE_MOVABLE

2013-10-01 Thread Zhang Yanfei
Hello guys, this is the part2 of our memory hotplug work. This part is based on the part1: x86, memblock: Allocate memory near kernel image before SRAT parsed You could refer part1 from: https://lkml.org/lkml/2013/9/24/421 Any comments are welcome! Thanks! [Problem] The current Linux

Re: [PATCH] doc: fix some typos in documentations

2013-10-01 Thread Johannes Berg
On Wed, 2013-09-18 at 11:45 +0800, Xishi Qiu wrote: to ensure the driver cannot be built-in when rfkill is modular. The !RFKILL -case allows the driver to be built when rfkill is not configured, which which +case allows the driver to be built when rfkill is not configured, which case all

[PATCH v3 0/4] Add I2C support to ST SoCs

2013-10-01 Thread Maxime COQUELIN
The goal of this series is to add I2C support to ST SoCs. The DT definition is added for STiH415 and STiH416 SoCs on B2000 and B2020 boards. The series has been tested working on STiH416-B2020 board. It applies on top of v3.12-rc3. Changes since v2: - Create generic DT property for Anti-glitch

Re: [RFC PATCH REBASED 1/3] sh: Move fpu_counter into ARCH specific thread_struct

2013-10-01 Thread Vineet Gupta
Hi Paul/SH folks. Would appreciate your ACK/NAK on this. Thx, -Vineet On 09/17/2013 11:47 AM, Vineet Gupta wrote: Only a couple of arches (sh/x86) use fpu_counter in task_struct so it can be moved out into ARCH specific thread_struct, reducing the size of task_struct for other arches.

Re: [PATCH v2 2/6] PCI/MSI: Factor out pci_get_msi_cap() interface

2013-10-01 Thread Alexander Gordeev
On Tue, Oct 01, 2013 at 05:51:33PM +1000, Michael Ellerman wrote: The disadvantage is that any restriction imposed on us above the quota can only be reported as an error from pci_enable_msix(). The quota code, called from pci_get_msix_limit(), can only do so much to interogate firmware about

Re: [PATCH] x86/geode: fix incorrect placement of __initdata tag

2013-10-01 Thread Bartlomiej Zolnierkiewicz
Hi, On Tuesday, October 01, 2013 08:59:50 AM Ingo Molnar wrote: * Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com wrote: __initdata tag should be placed between the variable name and equal sign for the variable to be placed in the intended .init.data section. Signed-off-by:

[PATCH v3 0/4] Add I2C support to ST SoCs

2013-10-01 Thread Maxime COQUELIN
The goal of this series is to add I2C support to ST SoCs. The DT definition is added for STiH415 and STiH416 SoCs on B2000 and B2020 boards. The series has been tested working on STiH416-B2020 board. It applies on top of v3.12-rc3. Changes since v2: - Create generic DT property for Anti-glitch

[PATCH 2/4] ARM: STi: Supply I2C configuration to STiH416 SoC

2013-10-01 Thread Maxime COQUELIN
This patch supplies I2C configuration to STiH416 SoC. Cc: Srinivas Kandagatla srinivas.kandaga...@st.com Signed-off-by: Maxime Coquelin maxime.coque...@st.com --- arch/arm/boot/dts/stih416-pinctrl.dtsi | 35 + arch/arm/boot/dts/stih416.dtsi | 53

[PATCH 1/4] i2c: busses: i2c-st: Add ST I2C controller

2013-10-01 Thread Maxime COQUELIN
This patch adds support to SSC (Synchronous Serial Controller) I2C driver. This IP also supports SPI protocol, but this is not the aim of this driver. This IP is embedded in all ST SoCs for Set-top box platorms, and supports I2C Standard and Fast modes. Signed-off-by: Maxime Coquelin

[PATCH 4/4] ARM: STi: Add I2C config to B2000 and B2020 boards

2013-10-01 Thread Maxime COQUELIN
This patch supplies I2C configuration to B2000 and B2020 based on either STiH415 or STiH416 SoCs. Cc: Srinivas Kandagatla srinivas.kandaga...@st.com Signed-off-by: Maxime Coquelin maxime.coque...@st.com --- arch/arm/boot/dts/stih41x-b2000.dtsi |9 +

[PATCH 3/4] ARM: STi: Supply I2C configuration to STiH415 SoC

2013-10-01 Thread Maxime COQUELIN
This patch supplies I2C configuration to STiH415 SoC. Cc: Srinivas Kandagatla srinivas.kandaga...@st.com Signed-off-by: Maxime Coquelin maxime.coque...@st.com --- arch/arm/boot/dts/stih415-pinctrl.dtsi | 36 ++ arch/arm/boot/dts/stih415.dtsi | 53

Re: using mmc2 on panda [was: Regression 3.11-rc1: omap4panda: no usb and consequently no ethernet]

2013-10-01 Thread Arend van Spriel
On 10/01/2013 11:53 AM, Roger Quadros wrote: On 10/01/2013 12:49 PM, Roger Quadros wrote: Hi Arend, On 10/01/2013 11:05 AM, Arend van Spriel wrote: On 07/19/2013 12:57 PM, Arend van Spriel wrote: On 07/19/2013 12:49 PM, Roger Quadros wrote: On 07/19/2013 01:36 PM, Arend van Spriel wrote:

Re: applesmc oops in 3.10/3.11

2013-10-01 Thread Henrik Rydberg
Warning message triggered with 3.12.0-0.rc3.git0.1.fc21.x86_64. [ 10.886016] applesmc: key count changed from 261 to 1174405121 Explains the crash, but the new key count is very wrong. 1174405121 = 0x4601. Which I guess explains the subsequent memory allocation error in the log.

[GIT PULL v2] irq fix for 3.12-rc

2013-10-01 Thread Frederic Weisbecker
On Tue, Oct 01, 2013 at 08:55:16AM +0200, Ingo Molnar wrote: * Frederic Weisbecker fweis...@gmail.com wrote: On Mon, Sep 30, 2013 at 09:07:19AM -0700, Linus Torvalds wrote: On Mon, Sep 30, 2013 at 7:55 AM, Frederic Weisbecker fweis...@gmail.com wrote: ... the chances for

linux-next: Tree for Oct 1

2013-10-01 Thread Thierry Reding
Hi all, I've uploaded today's linux-next tree to the master branch of the repository below: git://gitorious.org/thierryreding/linux-next.git A next-20131001 tag is also provided for convenience. The situation is pretty much the same as yesterday. Some conflicts went away, but most

[GIT PULL v2] irq: updates for 3.13

2013-10-01 Thread Frederic Weisbecker
On Mon, Sep 30, 2013 at 05:02:47PM +0200, Frederic Weisbecker wrote: Ingo, Thomas, Please pull the irq/core-v5 branch that can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git irq/core-v5 HEAD: f6f626fa877c96974fadc595ddd72543d8c6106b I have

linux-next: manual merge of the net-next tree

2013-10-01 Thread Thierry Reding
Today's linux-next merge of the net-next tree got conflicts in arch/h8300/include/uapi/asm/socket.h drivers/net/usb/qmi_wwan.c drivers/net/wireless/brcm80211/brcmfmac/dhd_bus.h include/net/secure_seq.h I removed the h8300 file and fixed up the other three (see

linux-next: manual merge of the sh tree

2013-10-01 Thread Thierry Reding
Today's linux-next merge of the sh tree got conflicts in arch/sh/kernel/cpu/sh2a/Makefile drivers/tty/serial/sh-sci.c include/linux/serial_sci.h I fixed them up (see below). Please check if the resolution looks correct. Thanks, Thierry --- diff --cc

linux-next: manual merge of the block tree

2013-10-01 Thread Thierry Reding
Today's linux-next merge of the block tree got conflicts in: drivers/md/bcache/bcache.h drivers/md/bcache/bset.c drivers/md/bcache/journal.c drivers/md/bcache/request.c drivers/md/bcache/writeback.c I fixed it up (see below). Please check if the resolution

linux-next: manual merge of the cgroup tree

2013-10-01 Thread Thierry Reding
Today's linux-next merge of the cgroup tree got a conflict in: mm/memcontrol.c I fixed it up (see below). Please check if the resolution looks correct. Thanks, Thierry --- diff --cc mm/memcontrol.c index 1c52ddb,65a46ef..84dcc5c --- a/mm/memcontrol.c +++ b/mm/memcontrol.c @@@ -6203,9

linux-next: manual merge of the vfs tree

2013-10-01 Thread Thierry Reding
Today's linux-next merge of the vfs tree got conflicts in: fs/nfs/direct.c fs/nfs/file.c I fixed them up (see below). Please check if the resolution looks correct. Thanks, Thierry --- diff --cc fs/nfs/direct.c index 239c2fe,d71d66c..e83817c --- a/fs/nfs/direct.c +++

linux-next: manual merge of the random tree

2013-10-01 Thread Thierry Reding
Today's linux-next merge of the random tree got a conflict in: init/main.c I fixed it up (see below). Please check if the resolution looks correct. Thanks, Thierry --- diff --cc init/main.c index 7cc4b78,586cd33..379090f --- a/init/main.c +++ b/init/main.c @@@ -75,7 -75,7 +75,8 @@@

linux-next: manual merge of the driver-core tree

2013-10-01 Thread Thierry Reding
Today's linux-next merge of the driver-core tree got conflicts in include/linux/netdevice.h I fixed it up (see below). Please check if the resolution looks correct. Thanks, Thierry --- diff --cc drivers/mtd/nand/atmel_nand.c index ef9c9f5,bd1ce7d..2dbd913 ---

Re: [RFC PATCH 0/6] DRIVERS: IRQCHIP: Add support for crossbar IP

2013-10-01 Thread Sricharan R
Hi, On Monday 30 September 2013 08:39 PM, Rob Herring wrote: On 09/30/2013 08:59 AM, Sricharan R wrote: Some socs have a large number of interrupts requests to service the needs of its many peripherals and subsystems. All of the interrupt requests lines from the subsystems are not needed at

Re: [PATCH 1/2] gpio/omap: maintain GPIO and IRQ usage separately

2013-10-01 Thread Linus Walleij
On Tue, Oct 1, 2013 at 9:34 AM, Javier Martinez Canillas javier.marti...@collabora.co.uk wrote: Linus, Since this patch-set doesn't cause any regression and fix a long standing issue on OMAP, do you think that it would be possible to include on the -rc series as a bugfix or do you prefer

Re: [PATCH V4 0/3] perf/x86/amd: AMD Family 16h Data Breakpoint Extensions

2013-10-01 Thread Frederic Weisbecker
On Mon, Sep 30, 2013 at 09:09:47AM -0500, Suravee Suthikulpanit wrote: On 4/29/2013 7:30 AM, Oleg Nesterov wrote: On 04/29, Ingo Molnar wrote: * Oleg Nesterov o...@redhat.com wrote: Obviously I can't ack the changes in this area, but to me the whole series looks fine. Thanks Oleg - can I add

Re: [PATCH 3/3] KVM: PPC: Book3S: Add support for hwrng found on some powernv systems

2013-10-01 Thread Paolo Bonzini
Il 01/10/2013 11:38, Benjamin Herrenschmidt ha scritto: So for the sake of that dogma you are going to make us do something that is about 100 times slower ? (and possibly involves more lines of code) If it's 100 times slower there is something else that's wrong. It's most likely not 100 times

Re: [RFC] perf: mmap2 not covering VM_CLONE regions

2013-10-01 Thread Stephane Eranian
On Mon, Sep 30, 2013 at 6:54 PM, Peter Zijlstra pet...@infradead.org wrote: On Mon, Sep 30, 2013 at 06:48:55PM +0200, Stephane Eranian wrote: On Mon, Sep 30, 2013 at 6:15 PM, Peter Zijlstra pet...@infradead.org wrote: On Mon, Sep 30, 2013 at 05:44:41PM +0200, Stephane Eranian wrote:

Re: linux-next: manual merge of the random tree

2013-10-01 Thread Theodore Ts'o
On Tue, Oct 01, 2013 at 01:07:22PM +0200, Thierry Reding wrote: Today's linux-next merge of the random tree got a conflict in: init/main.c I fixed it up (see below). Please check if the resolution looks correct. Looks good, thanks. -

Re: using mmc2 on panda [was: Regression 3.11-rc1: omap4panda: no usb and consequently no ethernet]

2013-10-01 Thread Luca Coelho
Hi, On Tue, 2013-10-01 at 12:53 +0200, Arend van Spriel wrote: On 10/01/2013 11:53 AM, Roger Quadros wrote: On 10/01/2013 12:49 PM, Roger Quadros wrote: Hi Arend, On 10/01/2013 11:05 AM, Arend van Spriel wrote: On 07/19/2013 12:57 PM, Arend van Spriel wrote: On 07/19/2013 12:49 PM,

[PATCH] serial: sccnxp: replace memcpy with struct assignment

2013-10-01 Thread Fengguang Wu
Generated by: coccinelle/misc/memcpy-assign.cocci CC: Alexander Shiyan shc_w...@mail.ru Signed-off-by: Fengguang Wu fengguang...@intel.com --- drivers/tty/serial/sccnxp.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next.orig/drivers/tty/serial/sccnxp.c 2013-10-01

[PATCH] perf autodep: Remove strlcpy feature check, add __weak strlcpy implementation

2013-10-01 Thread Ingo Molnar
* Ingo Molnar mi...@kernel.org wrote: Checking why that strlcpy failed... I don't think glibc does strlcpy. It's not a standard C function, and My concern was more about the thinking: ``Is this red OFF thing a problem? I feel so much more confortable when all entries have

Re: [PATCH 4/6] ARM: shmobile: emev2: Define SMU clock DT bindings

2013-10-01 Thread Laurent Pinchart
Hi Yoshii-san and Simon, On Tuesday 24 September 2013 13:52:15 Simon Horman wrote: [ Cc Laurent ] On Tue, Sep 24, 2013 at 01:13:31PM +0900, takas...@ops.dti.ne.jp wrote: Device tree clock binding document for EMMA Mobile EV2 SMU. Following nodes are defined to describe clock tree. -

Re: [PATCH V3 1/3] mfd: add support for AMS AS3722 PMIC

2013-10-01 Thread Lee Jones
On Tue, 24 Sep 2013, Laxman Dewangan wrote: The AMS AS3722 is a compact system PMU suitable for mobile phones, s/AMS/ams tablets etc. It has 4 DC/DC step-down regulators, 3 DC/DC step-down controller, 11 LDOs, RTC, automatic battery, temperature and over-current monitoring, 8 GPIOs, ADC and

[PATCH] mm: don't forget to free shrinker-nr_deferred

2013-10-01 Thread Andrew Vagin
This leak was added by v3.11-8748-g1d3d443 vmscan: per-node deferred work unreferenced object 0x88006ada3bd0 (size 8): comm criu, pid 14781, jiffies 4295238251 (age 105.641s) hex dump (first 8 bytes): 00 00 00 00 00 00 00 00 backtrace:

Re: [PATCH v4 1/3] usb: dwc3: msm: Add device tree binding information

2013-10-01 Thread Ivan T. Ivanov
Hi, I am sorry for delay answer. On Thu, 2013-09-26 at 10:46 +0100, Mark Rutland wrote: On Mon, Sep 23, 2013 at 08:31:48PM +0100, Felipe Balbi wrote: Hi, On Tue, Aug 20, 2013 at 12:56:03PM +0300, Ivan T. Ivanov wrote: From: Ivan T. Ivanov iiva...@mm-sol.com MSM USB3.0 core

Re: [PATCH v4 1/3] usb: dwc3: msm: Add device tree binding information

2013-10-01 Thread Ivan T. Ivanov
Hi, On Mon, 2013-09-23 at 14:31 -0500, Felipe Balbi wrote: Hi, On Tue, Aug 20, 2013 at 12:56:03PM +0300, Ivan T. Ivanov wrote: From: Ivan T. Ivanov iiva...@mm-sol.com MSM USB3.0 core wrapper consist of USB3.0 IP from Synopsys (SNPS) and HS, SS PHY's control and configuration

Re: [PATCH v2 2/6] PCI/MSI: Factor out pci_get_msi_cap() interface

2013-10-01 Thread Tejun Heo
Hello, On Tue, Oct 01, 2013 at 05:35:48PM +1000, Michael Ellerman wrote: Roughly third of the drivers just do not care and bail out once pci_enable_msix() has not succeeded. Not sure how many of these are mandated by the hardware. Yeah, I mean, this type of interface is a trap.

Re: [PATCH] perf autodep: Remove strlcpy feature check, add __weak strlcpy implementation

2013-10-01 Thread Ingo Molnar
* Ingo Molnar mi...@kernel.org wrote: Overhead is down from 0.600 secs to 0.540 secs. The only remaining thing is the libperl bug, I'll have a look at that next. So, libperl detection works fine here, once I've installed the prereq package on Fedora, perl-ExtUtils-Embed:

Re: [PATCH 06/14] skd: remove SCSI subsystem specific includes

2013-10-01 Thread Christoph Hellwig
On Mon, Sep 30, 2013 at 03:25:47PM +0200, Bartlomiej Zolnierkiewicz wrote: This is not a SCSI host driver so remove SCSI subsystem specific includes. The sad thing is that it is a driver for a device speaking SCSI, but for some reason that was never discussed it is written to the block layer.

Re: [PATCH v5 1/3] usb: dwc3: msm: Add device tree binding information

2013-10-01 Thread Ivan T. Ivanov
Hi, On Mon, 2013-09-23 at 16:03 -0600, Stephen Warren wrote: On 09/23/2013 01:32 PM, Felipe Balbi wrote: Hi, On Wed, Aug 21, 2013 at 04:29:44PM +0300, Ivan T. Ivanov wrote: From: Ivan T. Ivanov iiva...@mm-sol.com MSM USB3.0 core wrapper consist of USB3.0 IP from Synopsys (SNPS)

Re: [PATCH v5 1/3] usb: dwc3: msm: Add device tree binding information

2013-10-01 Thread Ivan T. Ivanov
Hi, On Mon, 2013-09-23 at 14:32 -0500, Felipe Balbi wrote: Hi, On Wed, Aug 21, 2013 at 04:29:44PM +0300, Ivan T. Ivanov wrote: From: Ivan T. Ivanov iiva...@mm-sol.com MSM USB3.0 core wrapper consist of USB3.0 IP from Synopsys (SNPS) and HS, SS PHY's control and configuration

Re: using mmc2 on panda [was: Regression 3.11-rc1: omap4panda: no usb and consequently no ethernet]

2013-10-01 Thread Roger Quadros
On 10/01/2013 01:53 PM, Arend van Spriel wrote: On 10/01/2013 11:53 AM, Roger Quadros wrote: On 10/01/2013 12:49 PM, Roger Quadros wrote: Hi Arend, On 10/01/2013 11:05 AM, Arend van Spriel wrote: On 07/19/2013 12:57 PM, Arend van Spriel wrote: On 07/19/2013 12:49 PM, Roger Quadros wrote:

Re: Avoiding the dentry d_lock on final dput(), part deux: transactional memory

2013-10-01 Thread Paul E. McKenney
On Tue, Oct 01, 2013 at 02:52:28PM +1000, Michael Neuling wrote: Well we don't have to, I think Mikey wasn't totally clear about that making all registers volatile business :-) This is just something we need to handle in assembly if we are going to reclaim the suspended transaction.

Re: [PATCH 04/11] block: Return error code of elevator init function

2013-10-01 Thread Jeff Moyer
Andi Kleen a...@firstfloor.org writes: From: Andi Kleen a...@linux.intel.com The error code was ignored, which I assume is a mistake. Yeah, introduced in d50235b7bc3ee0a0427984d763ea7534149531b4, so I cc'd Jianpeng Ma, though it looks pretty obvious. Reviewed-by: Jeff Moyer jmo...@redhat.com

Re: [PATCH 5/6] clk: emev2: Add support for emev2 SMU clocks with DT

2013-10-01 Thread Laurent Pinchart
Hi Yoshii-san, Thank you for the patch. (CC'ing LAMK as a generic CCF question follows) On Tuesday 01 October 2013 18:15:26 Magnus Damm wrote: On Tue, Sep 24, 2013 at 1:15 PM, takas...@ops.dti.ne.jp wrote: Common clock framework version of emev2 clock support. smu_clkdiv and smu_gclk are

Re: FTRACE_WARN_ON((rec-flags ~FTRACE_FL_MASK) == 0))

2013-10-01 Thread Steven Rostedt
On Tue, 2013-10-01 at 00:20 -0400, Dave Jones wrote: It seems like trace-cmd needs to be run as root. all hell will break loose if trinity gets root privs. Then run this: trace-cmd record -e syscalls -B trinity su davej -c 'trinity args' -- Steve -- To unsubscribe from this list: send the

Re: [PATCH 01/11] random: don't feed stack data into pool when interrupt regs NULL

2013-10-01 Thread Theodore Ts'o
On Mon, Sep 30, 2013 at 08:51:43PM +, Luck, Tony wrote: In this case fast_mix would use two uninitialized ints from the stack and mix it into the pool. Is the concern here is that an attacker might know (or be able to control) what is on the stack - and so get knowledge of what is

Re: [PATCH 08/11] ext4: Fix end of group handling in ext4_mb_init_cache

2013-10-01 Thread Theodore Ts'o
On Mon, Sep 30, 2013 at 01:29:09PM -0700, Andi Kleen wrote: From: Andi Kleen a...@linux.intel.com The first loop in ext4_mb_init_cache can bail out when the end of all groups is reached. Unfortunately the later loops did not have that check and could access uninitialized buffer pointers in

[PATCH 2/2] skd: Restricted pr_debug() lines to 80 characters

2013-10-01 Thread OS Engineering
From 6ff5102b3cd8047bb4bfb4d0165f289249e23bbe Mon Sep 17 00:00:00 2001 From: rchinthekindi rchintheki...@stec-inc.com Date: Tue, 1 Oct 2013 17:49:58 +0530 Subject: [PATCH 2/2] skd: Restricted pr_debug() lines to 80 characters Restricted pr_debug() lines to 80 characters Signed-off-by: Ramprasad

Re: [PATCH] perf autodep: Remove strlcpy feature check, add __weak strlcpy implementation

2013-10-01 Thread Arnaldo Carvalho de Melo
Em Tue, Oct 01, 2013 at 02:04:55PM +0200, Ingo Molnar escreveu: So there's more speedups possible I think, for example we could construct an 'optimistic' testcase that is generated live and includes a concatenation of all the testcases. If the build of that file succeeds then we have a

[PATCH] perf autodep: Speed up the 'all features are present' case

2013-10-01 Thread Ingo Molnar
* Ingo Molnar mi...@kernel.org wrote: And the actual feature check is roughly 0.330 msecs of that: comet:~/tip/tools/perf/config/feature-checks time ( make -j /dev/null; \ for N in stackprotector-all volatile-register-var fortify-source libelf \ libelf-mmap glibc dwarf libelf-getphdrnum

[tip:x86/platform] x86/geode: Fix incorrect placement of __initdata tag

2013-10-01 Thread tip-bot for Bartlomiej Zolnierkiewicz
Commit-ID: a6d30e0fffb32ab9e48fa7fc8f463805d5b0bddb Gitweb: http://git.kernel.org/tip/a6d30e0fffb32ab9e48fa7fc8f463805d5b0bddb Author: Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com AuthorDate: Mon, 30 Sep 2013 15:21:15 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Tue, 1

Re: kobject_add_internal failed for msi_irqs with -EEXIST

2013-10-01 Thread Veaceslav Falico
On Fri, Sep 27, 2013 at 09:01:58PM +0200, Zdenek Kabelac wrote: Dne 27.9.2013 18:01, Veaceslav Falico napsal(a): On Fri, Sep 27, 2013 at 09:58:28AM -0600, Bjorn Helgaas wrote: [+cc Veaceslav, linux-pci] On Fri, Sep 27, 2013 at 7:34 AM, Zdenek Kabelac zkabe...@redhat.com wrote: Hi With

[PATCH v4] i2c: enable runtime PM for I2C adapter devices enumerated from ACPI

2013-10-01 Thread Mika Westerberg
The ACPI specification requires the parent device to be powered on before any of its children. It can be only powered off when all the children are already off. Currently whenever there is no I2C traffic going on, the I2C controller driver can put the device into low power state transparently to

[PATCHv4 1/9] Thermal: Check for validity before doing kfree

2013-10-01 Thread Durgadoss R
The thermal_release function is called whenever any device belonging to 'thermal' class unregisters. This function performs kfree(cdev) without any check. In cases where there are more device registrations other than just 'thermal_zone' and 'cooling_device' this might accidently free memory

[PATCHv4 3/9] Thermal: Create zone level APIs

2013-10-01 Thread Durgadoss R
This patch adds a new thermal_zone structure to thermal.h. Also, adds zone level APIs to the thermal framework. A thermal zone is a hot spot on the platform, which can have one or more sensors and cooling devices attached to it. These sensors can be mapped to a set of cooling devices, which when

[PATCHv4 9/9] Thermal: Dummy driver used for testing

2013-10-01 Thread Durgadoss R
This patch has a dummy driver that can be used for testing purposes. This patch is not for merge. Signed-off-by: Durgadoss R durgados...@intel.com --- drivers/thermal/Kconfig|5 + drivers/thermal/Makefile |3 + drivers/thermal/thermal_test.c | 322

[PATCHv4 4/9] Thermal: Add APIs to bind cdev to new zone structure

2013-10-01 Thread Durgadoss R
This patch creates new APIs to add/remove a cdev to/from a zone. This patch does not change the old cooling device implementation. Signed-off-by: Durgadoss R durgados...@intel.com --- drivers/thermal/thermal_core.c | 136 include/linux/thermal.h|

[PATCHv4 0/9] Thermal Framework Enhancements

2013-10-01 Thread Durgadoss R
This patch set is a v4 of the previous versions submitted here: [v3]: https://lkml.org/lkml/2013/2/5/228 [v2]: http://lwn.net/Articles/531720/ [v1]: https://lkml.org/lkml/2012/12/18/108 [RFC]:https://patchwork.kernel.org/patch/1758921/ This patch set is based on Rui's -next tree, on top of

[PATCHv4 8/9] Thermal: Add ABI Documentation for sysfs interfaces

2013-10-01 Thread Durgadoss R
This patch adds Documentation for ABI's introduced for thermal subsystem (under /sys/class/thermal/). Signed-off-by: Durgadoss R durgados...@intel.com --- Documentation/ABI/testing/sysfs-class-thermal | 137 + 1 file changed, 137 insertions(+) create mode 100644

[PATCHv4 7/9] Thermal: Add Documentation to new APIs

2013-10-01 Thread Durgadoss R
This patch adds Documentation for the new APIs introduced in this patch set. The documentation also has a model sysfs structure for reference. Signed-off-by: Durgadoss R durgados...@intel.com --- Documentation/thermal/sysfs-api2.txt | 248 ++ 1 file changed, 248

[PATCHv4 2/9] Thermal: Create sensor level APIs

2013-10-01 Thread Durgadoss R
This patch creates sensor level APIs, in the generic thermal framework. A Thermal sensor is a piece of hardware that can report temperature of the spot in which it is placed. A thermal sensor driver reads the temperature from this sensor and reports it out. This kind of driver can be in any

[PATCHv4 5/9] Thermal: Add trip point sysfs nodes for sensor

2013-10-01 Thread Durgadoss R
This patch adds a trip point related sysfs nodes for each sensor under a zone in /sys/class/thermal/zoneX/. The nodes will be named, sensorX_trip_activeY, sensorX_trip_passiveY, sensorX_trip_hot, sensorX_trip_critical for active, passive, hot and critical trip points respectively for sensorX.

[PATCHv4 6/9] Thermal: Create Thermal map sysfs attributes for a zone

2013-10-01 Thread Durgadoss R
This patch creates a thermal map sysfs node under /sys/class/thermal/zoneX/. The thermal map shows the binding relationship between a sensor and a cooling device within a particular zone. This contains entries named mapY_trip_type, mapY_sensor_name, mapY_cdev_name, mapY_trip_mask, mapY_weightX.

Re: using mmc2 on panda [was: Regression 3.11-rc1: omap4panda: no usb and consequently no ethernet]

2013-10-01 Thread Balaji T K
Hi Roger, It has been a while, but I would like to pickup this thread. We have a couple of pandaboards used as test setup. These have an SDIO adapter hooked up to expansion connector A using MMC2. I have attached the patch file (just ignore platform_data stuff). Now on one board it works, but

Re: kthread: Make kthread_create() killable.

2013-10-01 Thread Tetsuo Handa
David Rientjes wrote: On Sat, 28 Sep 2013, Tetsuo Handa wrote: Some of enterprise users might prefer kernel panic followed by kdump and automatic reboot to a system is not responding for unpredictable period, for the panic helps getting information for analyzing what process caused the

Re: [PATCH] perf session: Fix infinite loop on invalid perf.data file

2013-10-01 Thread David Ahern
On 10/1/13 1:16 AM, Ingo Molnar wrote: Just a detail: it would be nice to make all the user facing messages in tools/perf/util/header.c more specific and more structured. For example prefixing it with 'perf header:' would be fine: WARNING: perf/header: Data size is 0. Was the 'perf

FW: [PATCH] hidraw: close underlying device at removal of last reader

2013-10-01 Thread Manoj Chourasia
Hi Jiri, Mika Westerberg mika.westerb...@linux.intel.com reported a bug introduced in hid driver after commit 212a871a393 (HID: hidraw: correctly deallocate memory on device disconnect) that hidraw doesn't close the underlying hid device when the device node is closed last time. I am

Re: [PATCH v6 10/19] xen: introduce xen_alloc/free_coherent_pages

2013-10-01 Thread Catalin Marinas
On 30 Sep 2013, at 16:31, Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: On Fri, Sep 27, 2013 at 05:09:58PM +0100, Stefano Stabellini wrote: xen_swiotlb_alloc_coherent needs to allocate a coherent buffer for cpu and devices. On native x86 and ARMv8 is sufficient to call __get_free_pages

Re: Avoiding the dentry d_lock on final dput(), part deux: transactional memory

2013-10-01 Thread Paul E. McKenney
On Tue, Oct 01, 2013 at 05:16:54AM -0700, Paul E. McKenney wrote: On Tue, Oct 01, 2013 at 02:52:28PM +1000, Michael Neuling wrote: Well we don't have to, I think Mikey wasn't totally clear about that making all registers volatile business :-) This is just something we need to handle in

Re: linux-next: manual merge of the sh tree

2013-10-01 Thread Greg Kroah-Hartman
On Tue, Oct 01, 2013 at 01:07:23PM +0200, Thierry Reding wrote: Today's linux-next merge of the sh tree got conflicts in arch/sh/kernel/cpu/sh2a/Makefile drivers/tty/serial/sh-sci.c include/linux/serial_sci.h I fixed them up (see below). Please check if the resolution

Re: linux-next: manual merge of the driver-core tree

2013-10-01 Thread Greg Kroah-Hartman
On Tue, Oct 01, 2013 at 01:07:20PM +0200, Thierry Reding wrote: Today's linux-next merge of the driver-core tree got conflicts in include/linux/netdevice.h I fixed it up (see below). Please check if the resolution looks correct. Looks correct to me, thanks. greg k-h -- To

[PATCH] drivers: misc: add gpio wakeup driver

2013-10-01 Thread Daniel Mack
This patch adds a very simple driver that enables GPIO lines as wakeup sources. It only operates on information passed in via DT, and depends on CONFIG_OF CONFIG_PM_SLEEP. It can for example be used to connect wake-on-LAN (WOL) signals or other electric wakeup networks. The driver accepts a list

Re: [PATCH] USB: gadget: s3c-hsotg: fix maxpacket size

2013-10-01 Thread Felipe Balbi
Hi, On Fri, Sep 27, 2013 at 12:31:09PM +0200, Robert Baldyga wrote: This patch changes ep maxpacket value from 512 to 1024, becouse it's needed shouldn't you use 3072 instead to cope with high bandwidth ISO endpoints ? to handle interupt and isochronous endpoints in high-speed mode. This

  1   2   3   4   5   6   7   8   9   10   >