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

2013-10-01 Thread Michael Ellerman
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 access it via the > > H_RANDOM hcall. > > Is there any reason to do this in the kernel? It's less code, and it's faster :) >

Re: [PATCH] extcon: arizona: Get pdata from arizona structure not device

2013-10-01 Thread Chanwoo Choi
On 10/01/2013 05:22 PM, Charles Keepax wrote: > On Tue, Oct 01, 2013 at 08:04:09AM +0900, Chanwoo Choi wrote: >> On 09/30/2013 06:52 PM, Charles Keepax wrote: >>> On Mon, Sep 30, 2013 at 08:37:30AM +0900, Chanwoo Choi wrote: No, extcon-arizona driver don't currently support DT to get platform

Re: Reworking dm-writeboost [was: Re: staging: Add dm-writeboost]

2013-10-01 Thread Joe Thornber
On Thu, Sep 26, 2013 at 01:43:25PM +1000, Dave Chinner wrote: > On Tue, Sep 24, 2013 at 09:20:50PM +0900, Akira Hayakawa wrote: > > * Deferring ACK for barrier writes > > Barrier flags such as REQ_FUA and REQ_FLUSH are handled lazily. > > Immediately handling these bios badly slows down

Re: [PATCH] rwsem: reduce spinlock contention in wakeup code path

2013-10-01 Thread Ingo Molnar
* Peter Zijlstra wrote: > On Tue, Oct 01, 2013 at 09:28:15AM +0200, Ingo Molnar wrote: > > > That I mostly agree with, except that without a serious usecase do we > > have a guarantee that bugs in fancies queueing in rwsems gets ironed > > out? > > Methinks mmap_sem is still a big enough

Re: [PATCH 2/3] hwrng: Add a driver for the hwrng found in power7+ systems

2013-10-01 Thread Michael Ellerman
On Thu, Sep 26, 2013 at 06:01:27PM +1000, Benjamin Herrenschmidt wrote: > On Thu, 2013-09-26 at 16:31 +1000, Michael Ellerman wrote: > > > + pr_info("registered powernv hwrng.\n"); > > First letter of a line should get a capital :-) Also since > it's per-device, at least indicate the OF

Re: [PATCH] extcon: arizona: Get pdata from arizona structure not device

2013-10-01 Thread Charles Keepax
On Tue, Oct 01, 2013 at 08:04:09AM +0900, Chanwoo Choi wrote: > On 09/30/2013 06:52 PM, Charles Keepax wrote: > > On Mon, Sep 30, 2013 at 08:37:30AM +0900, Chanwoo Choi wrote: > >> No, extcon-arizona driver don't currently support DT to get platform data. > >> I cannot find some dt function to

Re: [PATCH] rwsem: reduce spinlock contention in wakeup code path

2013-10-01 Thread Peter Zijlstra
On Tue, Oct 01, 2013 at 09:48:02AM +0200, Ingo Molnar wrote: > > * Peter Zijlstra wrote: > > > On Sat, Sep 28, 2013 at 11:55:26AM -0700, Linus Torvalds wrote: > > > So if the primary reason for this is really just that f*cking anon_vma > > > lock, then I would seriously suggest: > > > > I

Re: [PATCH] rwsem: reduce spinlock contention in wakeup code path

2013-10-01 Thread Peter Zijlstra
On Tue, Oct 01, 2013 at 09:28:15AM +0200, Ingo Molnar wrote: > That I mostly agree with, except that without a serious usecase do we have > a guarantee that bugs in fancies queueing in rwsems gets ironed out? Methinks mmap_sem is still a big enough lock to work out a locking primitive :-) In

Re: [RFC, PATCH] clocksource: provide timekeeping for efm32 SoCs

2013-10-01 Thread Uwe Kleine-König
On Wed, Sep 25, 2013 at 04:33:24PM +0200, Daniel Lezcano wrote: > On 09/16/2013 11:44 AM, Uwe Kleine-König wrote: > > Signed-off-by: Uwe Kleine-König > > --- > > Hello, > > > > I'm not sure that the way I implemented if a given timer is used as > > clock_source or clock_event_device is robust.

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

2013-10-01 Thread Arend van Spriel
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 at the following patches: [PATCH 0/3] WLAN support for

Re: perf, x86: Add last TSX PMU code for Haswell v3

2013-10-01 Thread Peter Zijlstra
On Tue, Oct 01, 2013 at 09:31:24AM +0200, Andi Kleen wrote: > Sorry I missed that. No change other than acks/rebase, > so the previous version should be fine. Thanks. Yeah, I didn't mail out and it hasn't landed it -tip yet. So you couldn't have known. > Outstanding TSX patches i have now

[PATCH V3] USB: gadget: epautoconf: fix ep maxpacket check

2013-10-01 Thread Robert Baldyga
This patch fix validation of maxpacket value given in endpoint descriptor. Add check of maxpacket for bulk endpoints. If maxpacket is not set in descriptor, it's set to maximum value for given type on endpoint in used speed. Correct maxpacket value is: FULL-SPEEDHIGH-SPEED

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

2013-10-01 Thread Michael Ellerman
On Wed, Sep 18, 2013 at 11:48:00AM +0200, Alexander Gordeev wrote: > On Wed, Sep 18, 2013 at 12:30:23AM +1000, Michael Ellerman wrote: > > How about no? > > > > We have a small number of MSIs available, limited by hardware & > > firmware, if we don't impose a quota then the first device that

Re: [PATCH] rwsem: reduce spinlock contention in wakeup code path

2013-10-01 Thread Ingo Molnar
* Peter Zijlstra wrote: > On Sat, Sep 28, 2013 at 11:55:26AM -0700, Linus Torvalds wrote: > > So if the primary reason for this is really just that f*cking anon_vma > > lock, then I would seriously suggest: > > I would still like to see the rwsem patches merged; even if we end up > going back

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

2013-10-01 Thread Michael Ellerman
On Wed, Sep 18, 2013 at 09:22:31AM -0500, Tejun Heo wrote: > Hello, > > On Wed, Sep 18, 2013 at 11:48:00AM +0200, Alexander Gordeev wrote: > > On Wed, Sep 18, 2013 at 12:30:23AM +1000, Michael Ellerman wrote: > > > How about no? > > > > > > We have a small number of MSIs available, limited by

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

2013-10-01 Thread Javier Martinez Canillas
On 09/27/2013 08:08 PM, Kevin Hilman wrote: > Javier Martinez Canillas writes: > >> The GPIO OMAP controller pins can be used as IRQ and GPIO >> independently so is necessary to keep track GPIO pins and >> IRQ lines usage separately to make sure that the bank will >> always be enabled while

Re: [PATCH] rwsem: reduce spinlock contention in wakeup code path

2013-10-01 Thread Ingo Molnar
* Waiman Long wrote: > > I think Waiman's patches (even the later ones) made the queued rwlocks > > be a side-by-side implementation with the old rwlocks, and I think > > that was just being unnecessarily careful. It might be useful for > > testing to have a config option to switch between

Re: perf, x86: Add last TSX PMU code for Haswell v3

2013-10-01 Thread Andi Kleen
On Tue, Oct 01, 2013 at 09:22:03AM +0200, Peter Zijlstra wrote: > On Mon, Sep 30, 2013 at 02:58:57PM -0700, Andi Kleen wrote: > > [This has kernel and user parts. > > Both sides have been reviewed now, so hopefully it's good > > to merge.] > > [v2: Address Peter's feedback for the kernel parts] >

Re: [PATCH] rwsem: reduce spinlock contention in wakeup code path

2013-10-01 Thread Ingo Molnar
* Peter Zijlstra wrote: > On Mon, Sep 30, 2013 at 09:13:52AM -0700, Linus Torvalds wrote: > > > So unlike a lot of other "let's try to make our locking fancy" that I > > dislike because it tends to hide the fundamental problem of > > contention, the rwlock patches make me go "those actually

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

2013-10-01 Thread Michael Ellerman
On Fri, Sep 20, 2013 at 07:26:03AM -0500, Tejun Heo wrote: > Hello, > > On Wed, Sep 18, 2013 at 06:50:45PM +0200, Alexander Gordeev wrote: > > Actually, I do not see much contradiction with what I proposed. The > > key words here "determine the number of MSIs the controller wants". > > > > In

Re: perf, x86: Add last TSX PMU code for Haswell v3

2013-10-01 Thread Peter Zijlstra
On Mon, Sep 30, 2013 at 02:58:57PM -0700, Andi Kleen wrote: > [This has kernel and user parts. > Both sides have been reviewed now, so hopefully it's good > to merge.] > [v2: Address Peter's feedback for the kernel parts] > [v3: Rebased to current tip. Added Ack/Reviewed-by for user tools code] I

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

2013-10-01 Thread Michael Ellerman
On Thu, Sep 26, 2013 at 04:39:02PM +0200, Alexander Gordeev wrote: > On Thu, Sep 26, 2013 at 09:11:47AM -0400, Tejun Heo wrote: > > > Because otherwise we will re-introduce a problem described by Michael: > > > "We have a small number of MSIs available, limited by hardware & > > > firmware, if we

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

2013-10-01 Thread Ingo Molnar
* Namhyung Kim wrote: > --- a/tools/perf/util/header.c > +++ b/tools/perf/util/header.c > @@ -2753,6 +2753,15 @@ int perf_session__read_header(struct perf_session > *session) > if (perf_file_header__read(_header, header, fd) < 0) > return -EINVAL; > > + /* > + *

Re: [PATCH] perf auto-dep: Speed up feature tests by building them in parallel

2013-10-01 Thread Geert Uytterhoeven
On Mon, Sep 30, 2013 at 7:34 PM, Linus Torvalds wrote: > On Mon, Sep 30, 2013 at 10:12 AM, Arnaldo Carvalho de Melo > wrote: >> >> Checking why that strlcpy failed... > > I don't think glibc does strlcpy. It's not a standard C function, and > it's somewhat controversial (although I dislike

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

2013-10-01 Thread Ingo Molnar
* Bartlomiej Zolnierkiewicz 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: Bartlomiej Zolnierkiewicz > Signed-off-by: Kyungmin Park > --- >

Re: [PATCH 2/3] nohz: Drop generic vtime obsolete dependency on CONFIG_64BIT

2013-10-01 Thread Ingo Molnar
* Frederic Weisbecker wrote: > config VIRT_CPU_ACCOUNTING_GEN > bool "Full dynticks CPU time accounting" > - depends on HAVE_CONTEXT_TRACKING && 64BIT > + depends on HAVE_CONTEXT_TRACKING > depends on HAVE_VIRT_CPU_ACCOUNTING_GEN > select VIRT_CPU_ACCOUNTING >

Re: [PATCH 3/6] thermal: exynos: Provide initial setting for TMU's test MUX address at Exynos4412

2013-10-01 Thread Lukasz Majewski
Hi Amit, > Hi, > > On Tue, Sep 24, 2013 at 1:38 PM, Lukasz Majewski > wrote: > > The commit d0a0ce3e77c795258d47f9163e92d5031d0c5221 ("thermal: > > exynos: Add missing definations and code cleanup") has removed > > setting of test MUX address value at TMU configuration setting. > > > > This

Re: [GIT PULL] irq fix for 3.12-rc

2013-10-01 Thread Ingo Molnar
* Frederic Weisbecker 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 > > wrote: > > > ... > > > the chances for a stack overrun as reported in powerpc for example: > > > > > > [ 1002.364577] do_IRQ:

Re: [PATCH v3 3/3] tile: enable VIRTIO support for KVM

2013-10-01 Thread Paolo Bonzini
Il 30/09/2013 22:11, Chris Metcalf ha scritto: > As I said to Gleb in the previous email - sorry for the delay in > replying to your thoughtful comments! > > > On 9/10/2013 8:47 AM, Paolo Bonzini wrote: >> Il 28/08/2013 22:58, Chris Metcalf ha scritto: >>> This change enables support for a

Re: [PATCH 6/6] sched, wait: Make the __wait_event*() interface more friendly

2013-10-01 Thread Ingo Molnar
* Peter Zijlstra wrote: > Change all __wait_event*() implementations to match the corresponding > wait_event*() signature for convenience. > > In particular this does away with the weird 'ret' logic. Since there > are __wait_event*() users this requires we update them too. > > Signed-off-by:

Re: [BUG] Regression in 2fdac010 drivers/net/ethernet/via/via-velocity.c: update napi implementation

2013-10-01 Thread Ruslan N. Marchenko
On Mon, Sep 30, 2013 at 03:54:27PM +0200, Ruslan N. Marchenko wrote: > On Mon, Sep 30, 2013 at 01:54:06PM +0200, Julia Lawall wrote: > > On Mon, 30 Sep 2013, Ruslan N. Marchenko wrote: > > > > > Hi Julia et al., > > > > > > With this commit VIA NANO board get CPU lockup in random places on any

Re: [PATCH -mm] mm, memory-hotpulg: Rename movablenode boot option to movable_node

2013-10-01 Thread Zhang Yanfei
Hello Ingo, On 10/01/2013 01:46 PM, Ingo Molnar wrote: > > * Zhang Yanfei wrote: > >> @@ -153,11 +153,18 @@ config MOVABLE_NODE >> help >>Allow a node to have only movable memory. Pages used by the kernel, >>such as direct mapping pages cannot be migrated. So the

Re: [PATCH] ll_temac: Reset dma descriptors on ndo_open

2013-10-01 Thread Ricardo Ribalda Delgado
Just send a v2 of the patch http://patchwork.ozlabs.org/patch/279339/ Thanks! On Tue, Oct 1, 2013 at 8:01 AM, David Miller wrote: > From: Ricardo Ribalda Delgado > Date: Tue, 1 Oct 2013 07:46:31 +0200 > >> What if I move >>lp->tx_bd_ci = 0; >>lp->tx_bd_next = 0; >>

[PATCH v2] ll_temac: Reset dma descriptors indexes on ndo_open

2013-10-01 Thread Ricardo Ribalda Delgado
The dma descriptors indexes are only initialized on the probe function. If a packet is on the buffer when temac_stop is called, the dma descriptors indexes can be left on a incorrect state where no other package can be sent. So an interface could be left in an usable state after ifdow/ifup.

Re: [PATCH] powerpc/legacy_serial: fix incorrect placement of __initdata tag

2013-10-01 Thread Michael Ellerman
On Mon, Sep 30, 2013 at 03:11:42PM +0200, Bartlomiej Zolnierkiewicz 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. I see lots of other occurences of that in arch/powerpc. Why not send a single

Re: [PATCH] ll_temac: Reset dma descriptors on ndo_open

2013-10-01 Thread David Miller
From: Ricardo Ribalda Delgado Date: Tue, 1 Oct 2013 07:46:31 +0200 > What if I move >lp->tx_bd_ci = 0; >lp->tx_bd_next = 0; >lp->tx_bd_tail = 0; >lp->rx_bd_ci = 0; > > to temac_dma_bd_init? Will this be more correct? Yes, that would be a lot better. -- To

Re: Linux 3.12-rc2 - MIPS regression

2013-10-01 Thread Yoichi Yuasa
Hi, On Sat, 28 Sep 2013 02:10:12 +0300 Aaro Koskinen wrote: > Hi, > > 3.12-rc2 breaks the boot (BUG: scheduling while atomic, see logs below) > on Lemote Mini-PC (MIPS). According to git bisect, this is caused by: > > ff522058bd717506b2fa066fa564657f2b86477e is the first bad commit > commit

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.

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