Re: [PATCH 6/7] perf tools: Do not need to read symbols for source line lookup

2013-12-04 Thread Adrian Hunter
On 03/12/13 22:24, Arnaldo Carvalho de Melo wrote: Em Tue, Dec 03, 2013 at 09:23:09AM +0200, Adrian Hunter escreveu: When using libbfd to lookup source filename and line number, libbfd does not need the symbol table. Removing the symbol table reading, doubles the speed of 'perf script' with

Re: [PATCH 1/3] perf/x86/amd: AMD support for bp_len HW_BREAKPOINT_LEN_8

2013-12-04 Thread Oleg Nesterov
On 12/03, Frederic Weisbecker wrote: 2013/11/11 Oleg Nesterov o...@redhat.com: On 11/11, Frederic Weisbecker wrote: On Sat, Nov 09, 2013 at 04:54:28PM +0100, Oleg Nesterov wrote: Up to you and Suravee, but can't we cleanup this later? This series was updated many times to

[GIT PULL] GPIO fixes for the v3.13 series, take two

2013-12-04 Thread Linus Walleij
Hi Linus, here is a few more GPIO patches, we're a bit noisy for being the GPIO subsystem, mostly due to the new descriptor API, but all is getting into shape. Please pull it in! Yours, Linus Walleij The following changes since commit dc1ccc48159d63eca5089e507c82c7d22ef60839: Linux 3.13-rc2

Re: [PATCH 2/3] clk: bcm281xx: add initial clock framework support

2013-12-04 Thread Alex Elder
On 12/04/2013 07:06 AM, Alex Elder wrote: + name_size = strlen(node-name) + 1; + ccu = kzalloc(sizeof(*ccu) + name_size, GFP_KERNEL); + if (!ccu) { + pr_err(%s: unable to map allocate CCU struct for %s\n, + __func__, node-name); +

Re: [PATCH 1/7] perf script: Do not call perf_event__preprocess_sample() twice)

2013-12-04 Thread Adrian Hunter
On 03/12/13 20:23, Arnaldo Carvalho de Melo wrote: Em Tue, Dec 03, 2013 at 09:23:04AM +0200, Adrian Hunter escreveu: perf_event__preprocess_sample() is called in process_sample_event(). Instead of calling it again in perf_evsel__print_ip(), pass though the resultant addr_location. SNIP

Re: [PATCH 1/6] GenWQE PCI support, health monitoring and recovery

2013-12-04 Thread Frank Haverkamp
Hi Arnd Greg, please let me know if my following changes are ok: Am Dienstag, den 03.12.2013, 15:28 +0100 schrieb Frank Haverkamp: +/* Read/write from/to registers */ +struct genwqe_regs_io { + __u32 num; /* register offset/address */ + union { +

Re: [PATCH v2] OF: base: match each node compatible against all given matches first

2013-12-04 Thread Thierry Reding
On Wed, Dec 04, 2013 at 03:08:39PM +0200, Meelis Roos wrote: I added Meelis on Cc because he found a regression with my original proposal (107a84e61cdd of: match by compatible property first). That got later reverted in commit bc51b0c22ceb (Revert of: match by compatible property first).

[PATCH driver-core-linus] sysfs: bail early from sysfs_bin_mmap() to avoid spurious lockdep warning

2013-12-04 Thread Tejun Heo
027a485d12e0 (sysfs: use a separate locking class for open files depending on mmap) assigned different lockdep key to sysfs_open_file-mutex depending on whether the file implements mmap or not in an attempt to avoid spurious lockdep warning caused by merging of regular and bin file paths. While

[patch] mfd: max14577: cleanup an error message

2013-12-04 Thread Dan Carpenter
pdata is a NULL not an ERR_PTR so there is no use printing it. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git a/drivers/mfd/max14577.c b/drivers/mfd/max14577.c index 1337c4527028..a5e1c370c609 100644 --- a/drivers/mfd/max14577.c +++ b/drivers/mfd/max14577.c @@ -96,8 +96,7 @@

Re: [PATCH 4/4] usb: chipidea: msm: Use USB PHY API to control PHY state

2013-12-04 Thread Peter Chen
On Wed, Dec 04, 2013 at 11:35:54AM +0200, Ivan T. Ivanov wrote: Hi Peter, On Wed, 2013-12-04 at 13:37 +0800, Peter Chen wrote: On Mon, Nov 11, 2013 at 04:36:09PM +0200, Ivan T. Ivanov wrote: Hi Peter, On Mon, 2013-11-11 at 21:59 +0800, Peter Chen wrote: On Mon, Nov 11,

Re: [PATCH V2 1/7] perf script: Do not call perf_event__preprocess_sample() twice)

2013-12-04 Thread Adrian Hunter
perf_event__preprocess_sample() is called in process_sample_event(). Instead of calling it again in perf_evsel__print_ip(), pass though the resultant addr_location. Signed-off-by: Adrian Hunter adrian.hun...@intel.com --- V2: removed unused 'event' parameter from perf_evsel__print_ip()

Re: [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-04 Thread Hanjun Guo
On 2013年12月04日 00:41, Matthew Garrett wrote: Given the number of #ifdefs you're adding, wouldn't it make more sense to just add stub functions to include/linux/pci.h? Thanks for the suggestion :) I can add stub functions in include/linux/pci.h for raw_pci_read()/ raw_pci_write(), then can

Re: [PATCH 2/3] clk: bcm281xx: add initial clock framework support

2013-12-04 Thread Mark Rutland
On Wed, Dec 04, 2013 at 01:57:39PM +, Alex Elder wrote: On 12/04/2013 07:06 AM, Alex Elder wrote: + name_size = strlen(node-name) + 1; + ccu = kzalloc(sizeof(*ccu) + name_size, GFP_KERNEL); + if (!ccu) { + pr_err(%s: unable to map allocate CCU struct

Re: [PATCH v10 7/7] thermal:exynos:boost: Automatic enable/disable of BOOST feature (at Exynos4412)

2013-12-04 Thread Eduardo Valentin
Hey Lukasz!, On 03-12-2013 11:42, Lukasz Majewski wrote: Hi Eduardo, On 03-12-2013 03:31, Lukasz Majewski wrote: Hi Eduardo, On 05-11-2013 13:26, Lukasz Majewski wrote: This patch provides auto disable/enable operation for boost. It uses already present thermal infrastructure to provide

Re: [PATCH v4 2/3] regulator: tps6586x: add and use correct voltage table

2013-12-04 Thread Stefan Agner
Am 2013-12-04 13:14, schrieb Mark Brown: On Tue, Dec 03, 2013 at 11:18:47PM +0100, Stefan Agner wrote: Depending on the regulator version, the voltage table might be different. Use version specific regulator tables in order to select correct voltage table. For the following regulator versions

Re: [RFC part1 PATCH 3/7] ACPI / processor_core: Rework _PDC related stuff to make it more arch-independent

2013-12-04 Thread Hanjun Guo
On 2013年12月04日 00:46, Matthew Garrett wrote: On Wed, Dec 04, 2013 at 12:36:47AM +0800, Hanjun Guo wrote: +#if defined(CONFIG_X86) || defined(CONFIG_IA64) /* Enable coordination with firmware's _TSD info */ buf[2] = ACPI_PDC_SMP_T_SWCOORD; + if (boot_option_idle_override

Re: [PATCH RESEND v10 0/7] cpufreq:boost: CPU Boost mode support

2013-12-04 Thread Eduardo Valentin
On 04-12-2013 02:59, Lukasz Majewski wrote: Hi Rafael, This patch series introduces support for CPU overclocking technique called Boost. It is a follow up of a LAB governor proposal. Boost is a LAB component: http://thread.gmane.org/gmane.linux.kernel/1484746/match=cpufreq Boost unifies

Re: [PATCH driver-core-linus] sysfs: bail early from sysfs_bin_mmap() to avoid spurious lockdep warning

2013-12-04 Thread Tejun Heo
On Wed, Dec 04, 2013 at 09:06:39AM -0500, Tejun Heo wrote: 027a485d12e0 (sysfs: use a separate locking class for open files depending on mmap) assigned different lockdep key to sysfs_open_file-mutex depending on whether the file implements mmap or not in an attempt to avoid spurious lockdep

Re: [PATCH 1/2] usb: chipidea: fix mistake in device tree binding of nspire-usb to use vendor name 'lsi' instead of SoC name 'zevio'

2013-12-04 Thread Peter Chen
On Wed, Dec 04, 2013 at 08:20:07PM +1100, dt.ta...@gmail.com wrote: From: Daniel Tang dt.ta...@gmail.com The SoC name was mistakenly used instead of the vendor name in the device tree binding for nspire-usb. This patch fixes this before the driver becomes widely adopted. Signed-off-by:

Re: [patch] mfd: max14577: cleanup an error message

2013-12-04 Thread Lee Jones
pdata is a NULL not an ERR_PTR so there is no use printing it. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com Applied with the $SUBJECT line correctly capitalised. -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro:

[PATCH] perf tools: Fix random fd closing with no libelf

2013-12-04 Thread Adrian Hunter
When built without libelf, perf tools was failing to initialize a file descriptor, but nevertheless closing it. That sometimes resulted in the output being truncated because the stdout file descriptor got closed. Signed-off-by: Adrian Hunter adrian.hun...@intel.com ---

Re: [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-04 Thread Hanjun Guo
On 2013年12月04日 00:47, One Thousand Gnomes wrote: diff --git a/drivers/acpi/reboot.c b/drivers/acpi/reboot.c index a6c77e8b..89a181f 100644 --- a/drivers/acpi/reboot.c +++ b/drivers/acpi/reboot.c @@ -3,12 +3,43 @@ #include linux/acpi.h #include acpi/reboot.h +/* + * There are some rare

Re: [RFC part1 PATCH 3/7] ACPI / processor_core: Rework _PDC related stuff to make it more arch-independent

2013-12-04 Thread Hanjun Guo
On 2013年12月04日 00:51, One Thousand Gnomes wrote: On Wed, 4 Dec 2013 00:36:47 +0800 Hanjun Guo hanjun@linaro.org wrote: _PDC related stuff in processor_core.c is little bit X86/IA64 dependent, rework the code to make it more arch-independent. The return value of acpi_processor_eval_pdc()

Re: Supporting 4 way connections in LKSCTP

2013-12-04 Thread Vlad Yasevich
On 12/03/2013 08:59 PM, Sun Paul wrote: This is the most puzzling area. I really not sure whether it is really valid or not. Is there any documented statement supporting this? Let me summarize the behavior again. NODE-A eth1: IP-A eth2: IP-B NODE-B eth1: IP-X eth2: IP-Y In normal

Re: [RFC part1 PATCH 4/7] ARM64 / ACPI: Introduce the skeleton of _PDC related for ARM64

2013-12-04 Thread Hanjun Guo
On 2013年12月04日 00:53, One Thousand Gnomes wrote: O +enum idle_boot_override { IDLE_NO_OVERRIDE = 0, IDLE_HALT, IDLE_NOMWAIT, + IDLE_POLL, IDLE_FORCE_MWAIT }; This should probably move out of the arch directory to be a single enum including both platforms values. That will

Re: [PATCH v2 1/4] introduce for_each_thread() to replace the buggy while_each_thread()

2013-12-04 Thread Frederic Weisbecker
On Wed, Dec 04, 2013 at 02:49:17PM +0100, Oleg Nesterov wrote: On 12/04, Frederic Weisbecker wrote: On Wed, Dec 04, 2013 at 02:04:09PM +0100, Oleg Nesterov wrote: For example, do/while_each_thread() always sees at least one task, while for_each_thread() can do nothing if the whole

[PATCH driver-core-linus] sysfs: give different locking key to regular and bin files

2013-12-04 Thread Tejun Heo
Dave, can you please test this one too? Greg, once this turns out to be okay, I'll send you a merged branch which pulls in driver-core-linus + this patch into driver-core-next which will surely generate conflict. Thanks. - 8 -- 027a485d12e0 (sysfs: use a separate locking class for open

Re: [RFC part2 PATCH 2/9] ARM64 / ACPI: Prefill cpu possible/present maps and map logical cpu id to APIC id

2013-12-04 Thread Hanjun Guo
On 2013年12月04日 00:57, One Thousand Gnomes wrote: diff --git a/drivers/acpi/plat/arm-core.c b/drivers/acpi/plat/arm-core.c index 45ff625..8527ecc 100644 --- a/drivers/acpi/plat/arm-core.c +++ b/drivers/acpi/plat/arm-core.c @@ -58,6 +58,13 @@ EXPORT_SYMBOL(acpi_pci_disabled); */ static u64

Re: [RFC part3 PATCH 1/2] clocksource / arch_timer: Use ACPI GTDT table to initialize arch timer

2013-12-04 Thread Hanjun Guo
On 2013年12月04日 01:04, Mark Rutland wrote: On Tue, Dec 03, 2013 at 04:41:30PM +, Hanjun Guo wrote: ACPI GTDT (Generic Timer Description Table) contains information for arch timer initialization, this patch use this table to probe arm timer. GTDT table is used for ARM/ARM64 only, please

Re: [RFC part3 PATCH 2/2] ARM64 / clocksource: Use arch_timer_acpi_init()

2013-12-04 Thread Hanjun Guo
On 2013年12月04日 01:08, Mark Rutland wrote: On Tue, Dec 03, 2013 at 04:41:31PM +, Hanjun Guo wrote: Use arch_timer_acpi_init() on ARM64 to initialise arch timer in ACPI way when DT is not available. Signed-off-by: Hanjun Guo hanjun@linaro.org --- arch/arm64/kernel/time.c |4

Re: [PATCH 3/5] perf tools: Update the Document for perf kvm record for new behavior.

2013-12-04 Thread Arnaldo Carvalho de Melo
Em Wed, Dec 04, 2013 at 05:56:41PM -0500, Dongsheng Yang escreveu: As we have changed the default behavior of perf kvm to --guest enabled, the document about perf kvm record is outdated. This patch update it to show the correct output with --host/--guest/neither/both of them. +++

Re: [PATCH RFC 1/4] phy: Add new Exynos5 USB 3.0 PHY driver

2013-12-04 Thread Kishon Vijay Abraham I
Hi Vivek, On Wednesday 20 November 2013 09:14 PM, Kishon Vijay Abraham I wrote: Hi, On Wednesday 20 November 2013 03:02 PM, Vivek Gautam wrote: On Wed, Nov 20, 2013 at 2:34 PM, Kishon Vijay Abraham I kis...@ti.com wrote: On Wednesday 20 November 2013 02:27 PM, Vivek Gautam wrote: Hi

Re: [RFC part1 PATCH 4/7] ARM64 / ACPI: Introduce the skeleton of _PDC related for ARM64

2013-12-04 Thread Hanjun Guo
On 2013年12月04日 01:12, Rob Herring wrote: On Tue, Dec 3, 2013 at 10:36 AM, Hanjun Guo hanjun@linaro.org wrote: [...] +#ifndef _ASM_ARM_ACPI_H +#define _ASM_ARM_ACPI_H + +static inline bool arch_has_acpi_pdc(void) +{ + return false; /* always false for now */ +} + +static inline void

Re: [PATCH v4 2/3] regulator: tps6586x: add and use correct voltage table

2013-12-04 Thread Mark Brown
On Wed, Dec 04, 2013 at 03:17:59PM +0100, Stefan Agner wrote: Am 2013-12-04 13:14, schrieb Mark Brown: Acked-by: Mark Brown broo...@linaro.org I won't apply since I think that patch 3 needs to go along with this, unless people decide the regulator tree is the easiest way to merge. I

[PATCH] mm: compaction: Trace compaction begin and end

2013-12-04 Thread Mel Gorman
This patch adds two tracepoints for compaction begin and end of a zone. Using this it is possible to calculate how much time a workload is spending within compaction and potentially debug problems related to cached pfns for scanning. In combination with the direct reclaim and slab trace points it

Re: [PATCH 14/15] mm: numa: Flush TLB if NUMA hinting faults race with PTE scan update

2013-12-04 Thread Rik van Riel
On 12/03/2013 06:46 PM, Mel Gorman wrote: On Tue, Dec 03, 2013 at 06:07:06PM -0500, Rik van Riel wrote: On 12/03/2013 03:52 AM, Mel Gorman wrote: NUMA PTE updates and NUMA PTE hinting faults can race against each other. The setting of the NUMA bit defers the TLB flush to reduce overhead.

Re: [PATCH v4 2/3] regulator: tps6586x: add and use correct voltage table

2013-12-04 Thread Lee Jones
Acked-by: Mark Brown broo...@linaro.org I won't apply since I think that patch 3 needs to go along with this, unless people decide the regulator tree is the easiest way to merge. I merged the dependent DT changes into that patch, so from my side, patch 3 don't needs to go along

Re: [PATCH v3 04/10] usb: dwc3: use quirks to know if a particualr platform doesn't have PHY

2013-12-04 Thread Heikki Krogerus
Hi guys, Kishon, sorry I did not see this v3 set. On Mon, Nov 25, 2013 at 03:31:24PM +0530, Kishon Vijay Abraham I wrote: There can be systems which does not have an external phy, so get phy only if no quirks are added that indicates the PHY is not present. Introduced two quirk flags to

Re: [PATCH] mm: compaction: Trace compaction begin and end

2013-12-04 Thread Vlastimil Babka
On 12/04/2013 03:30 PM, Mel Gorman wrote: This patch adds two tracepoints for compaction begin and end of a zone. Using this it is possible to calculate how much time a workload is spending within compaction and potentially debug problems related to cached pfns for scanning. I guess for

RE: Supporting 4 way connections in LKSCTP

2013-12-04 Thread David Laight
In normal operation, IP-A sends INIT to IP-X, IP-X returns INIT_ACK to IP-A. IP-A then sends HB to IP-X, IP-X then returns HB_ACK to IP-A. In the meantime, IP-B sends HB to IP-Y and IPY returns HB_ACK. In case of the path between IP-A and IP-X is broken, IP-B sends INIT to IP-X, NODE-B

Re: [PATCH 1/2] clocksource: sh_tmu: remove unnecessary platform_set_drvdata()

2013-12-04 Thread Daniel Lezcano
On 12/03/2013 07:50 AM, Jingoo Han wrote: The driver core clears the driver data to NULL after device_release or on probe failure. Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingoo Han jg1@samsung.com Acked-by: Simon Horman

Re: [PATCH 2/2] clocksource: sh_mtu2: remove unnecessary platform_set_drvdata()

2013-12-04 Thread Daniel Lezcano
On 12/03/2013 07:51 AM, Jingoo Han wrote: The driver core clears the driver data to NULL after device_release or on probe failure. Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingoo Han jg1@samsung.com Acked-by: Simon Horman

Re: [PATCH] aio: clean up aio ring in the fail path

2013-12-04 Thread Dave Jones
On Wed, Dec 04, 2013 at 06:19:06PM +0800, Gu Zheng wrote: Clean up the aio ring file in the fail path of aio_setup_ring and ioctx_alloc. And maybe it can fix the GPF issue reported by Dave Jones: https://lkml.org/lkml/2013/11/25/898 Signed-off-by: Gu Zheng guz.f...@cn.fujitsu.com

Re: [PATCH v2 00/23] mm: Use memblock interface instead of bootmem

2013-12-04 Thread Santosh Shilimkar
On Tuesday 03 December 2013 05:48 PM, Tejun Heo wrote: FYI, the series is missing the first patch. Patch at least made it to the list [1]. Not sure why you didn't get it but it has your ack ;) Regards, Santosh [1] https://lkml.org/lkml/2013/12/2/999 -- To unsubscribe from this list: send the

Re: [PATCH v2 06/23] mm/char: remove unnecessary inclusion of bootmem.h

2013-12-04 Thread Santosh Shilimkar
On Tuesday 03 December 2013 05:55 PM, Tejun Heo wrote: On Mon, Dec 02, 2013 at 09:27:21PM -0500, Santosh Shilimkar wrote: From: Grygorii Strashko grygorii.stras...@ti.com Clean-up to remove depedency with bootmem headers. Cc: Yinghai Lu ying...@kernel.org Cc: Tejun Heo t...@kernel.org Cc:

Re: [RFC part2 PATCH 9/9] ACPI / GIC: Initialize GIC using the information in MADT

2013-12-04 Thread Hanjun Guo
On 2013年12月04日 01:09, Rob Herring wrote: On Tue, Dec 3, 2013 at 10:39 AM, Hanjun Guo hanjun@linaro.org wrote: In MADT table, there are GIC cpu interface base address and GIC distributor base address, use them to convert GIC to ACPI. Signed-off-by: Hanjun Guo hanjun@linaro.org ---

Re: [PATCH v2 02/23] mm/memblock: debug: don't free reserved array if !ARCH_DISCARD_MEMBLOCK

2013-12-04 Thread Santosh Shilimkar
On Tuesday 03 December 2013 05:52 PM, Tejun Heo wrote: On Mon, Dec 02, 2013 at 09:27:17PM -0500, Santosh Shilimkar wrote: ... Cc: Yinghai Lu ying...@kernel.org Cc: Tejun Heo t...@kernel.org Cc: Andrew Morton a...@linux-foundation.org Signed-off-by: Grygorii Strashko grygorii.stras...@ti.com

Re: [RFC part1 PATCH 2/7] ARM64 : Add dummy asm/cpu.h

2013-12-04 Thread Hanjun Guo
On 2013年12月04日 01:13, Mark Rutland wrote: On Tue, Dec 03, 2013 at 04:36:46PM +, Hanjun Guo wrote: ACPI requires a cpu.h, add a dummy one copied from arm. This will need updated or replaced as ACPI based cpu hotplug for armv8 is worked out. What exactly requires cpu.h, and why? CPI core

Re: [RFC part3 PATCH 2/2] ARM64 / clocksource: Use arch_timer_acpi_init()

2013-12-04 Thread Mark Rutland
On Wed, Dec 04, 2013 at 02:27:22PM +, Hanjun Guo wrote: On 2013年12月04日 01:08, Mark Rutland wrote: On Tue, Dec 03, 2013 at 04:41:31PM +, Hanjun Guo wrote: Use arch_timer_acpi_init() on ARM64 to initialise arch timer in ACPI way when DT is not available. Signed-off-by: Hanjun Guo

Re: Need help on Linux PCIe

2013-12-04 Thread Bjorn Helgaas
On Tue, Dec 3, 2013 at 11:20 PM, Jagan Teki jagannadh.t...@gmail.com wrote: Thanks for your quick response. Please find my comments below. On Tue, Dec 3, 2013 at 11:09 PM, Bjorn Helgaas bhelg...@google.com wrote: On Tue, Dec 3, 2013 at 4:24 AM, Jagan Teki jagannadh.t...@gmail.com wrote: Hi,

Re: [PATCH v2 2/6] x86: Add Intel graphics stolen memory quirk for gen2 platforms

2013-12-04 Thread Ville Syrjälä
On Wed, Dec 04, 2013 at 10:08:14AM +0100, Ingo Molnar wrote: * ville.syrj...@linux.intel.com ville.syrj...@linux.intel.com wrote: v2: Rewrite to use the TOM-TSEG_SIZE-stolen_size and TOUD methods I guess v2 is a reaction to my review feedback? I got no reply to my mail from you so I'm

Re: [PATCH] x86: Add check for number of available vectors before CPU down

2013-12-04 Thread Prarit Bhargava
On 12/03/2013 06:42 PM, Yu, Fenghua wrote: -Original Message- From: Prarit Bhargava [mailto:pra...@redhat.com] Second try at this ... Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=64791 When a cpu is downed on a system, the irqs on the cpu are assigned to other cpus.

Re: [PATCH v2 2/6] x86: Add Intel graphics stolen memory quirk for gen2 platforms

2013-12-04 Thread Ingo Molnar
* Ville Syrjälä ville.syrj...@linux.intel.com wrote: On Wed, Dec 04, 2013 at 10:08:14AM +0100, Ingo Molnar wrote: * ville.syrj...@linux.intel.com ville.syrj...@linux.intel.com wrote: v2: Rewrite to use the TOM-TSEG_SIZE-stolen_size and TOUD methods I guess v2 is a reaction to my

Re: [patch 2/2] fs: buffer: move allocation failure loop into the allocator

2013-12-04 Thread Christoph Lameter
On Tue, 3 Dec 2013, Andrew Morton wrote: page = alloc_slab_page(alloc_gfp, node, oo); if (unlikely(!page)) { oo = s-min; What is the value of s-min? Please tell me it's zero. It usually is. @@ -1349,7 +1350,7 @@ static struct page *allocate_slab(struct kmem_cache

Re: [PATCH 3/3] usb: ohci-at91: use device managed clk retrieval

2013-12-04 Thread Alan Stern
On Wed, 4 Dec 2013, boris brezillon wrote: The patches look fine to me. But only the 1/3 patch fixes a bug; the others merely change the resource management. Do you want me to split this series ? 1) the 1st patch that should be merged in 3.13 2) patches 2 to 4 that might be applied

Re: [patch 2/8] mm, mempolicy: rename slab_node for clarity

2013-12-04 Thread Christoph Lameter
On Tue, 3 Dec 2013, David Rientjes wrote: slab_node() is actually a mempolicy function, so rename it to mempolicy_slab_node() to make it clearer that it used for processes with mempolicies. Acked-by: Christoph Lameter c...@linux.com -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH] usb: core: Abort deauthorization if unsetting configuration fails

2013-12-04 Thread Alan Stern
On Tue, 3 Dec 2013, Julius Werner wrote: usb_deauthorize_device() tries to unset the configuration of a USB device and then unconditionally blows away the configuration descriptors with usb_destroy_configuration(). This is bad if the usb_set_configuration() call failed before the

Re: [PATCHSET REPOST driver-core-next] kernfs: implement trusted.* xattr support

2013-12-04 Thread Tejun Heo
FYI, these two patches still apply as-is on top of the current driver-core-next e756bc5670d0 (kobject: fix kset sample error path). Thanks. -- tejun -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info

Re: [PATCH 2/3] ARM Coresight: Add address control support for ETM

2013-12-04 Thread Greg Kroah-Hartman
On Tue, Dec 03, 2013 at 11:40:25PM -0500, Adrien Vergé wrote: In the same manner as for enabling tracing, an entry is created in sysfs to set the address range that triggers tracing. Signed-off-by: Adrien Vergé adrienve...@gmail.com Cc: Russell King li...@arm.linux.org.uk Cc: Ben Dooks

Re: [PATCH 3/3] ARM Coresight: Add PID control support for ETM tracing

2013-12-04 Thread Greg Kroah-Hartman
On Tue, Dec 03, 2013 at 11:40:59PM -0500, Adrien Vergé wrote: @@ -616,7 +670,7 @@ static int etm_probe(struct amba_device *dev, const struct amba_id *id) if (ret) goto out_unmap; - /* failing to create any of these three is not fatal */ + /* failing to create any of these four is not

Re: [BUG] Re: [PATCH v10 1/3] aerdrv: Trace Event for AER

2013-12-04 Thread Ethan Zhao
Rui, Agree with that, there are really many such confusing error type definition need to be standardized or unified, some of them are ambiguous、inconsistent, some of them violates ACPI/PCI spec. According to the ACPI spec, the 'FATAL' in fact, is a sub-category of 'UNCORRECTABLE' , the

Re: [patch 3/8] mm, mempolicy: remove per-process flag

2013-12-04 Thread Christoph Lameter
On Tue, 3 Dec 2013, David Rientjes wrote: PF_MEMPOLICY is an unnecessary optimization for CONFIG_SLAB users. There's no significant performance degradation to checking current-mempolicy rather than current-flags PF_MEMPOLICY in the allocation path, especially since this is considered

[PATCH v2 0/3] clk: bcm281xx: define Broadcom kona clocks

2013-12-04 Thread Alex Elder
This series adds support for Kona clock control units (CCUs) and clocks, used by Broadcom BCM281xx family SoCs. Kona CCUs are represented by nodes in the device tree, and the names of the clocks provided by a CCU are included in its node. Implementation details of those clocks are defined in a C

Re: [tip:x86/urgent] x86-64, build: Always pass in -mno-sse

2013-12-04 Thread H. Peter Anvin
I can regenerate the patch if you want. Ingo Molnar mi...@kernel.org wrote: * tip-bot for H. Peter Anvin tip...@zytor.com wrote: Commit-ID: 5551a34e5aeab868f8d37f70d8754868921b4ee5 Gitweb: http://git.kernel.org/tip/5551a34e5aeab868f8d37f70d8754868921b4ee5 Author: H. Peter Anvin

Re: [PATCHSET REPOST driver-core-next] kernfs: implement trusted.* xattr support

2013-12-04 Thread Greg KH
On Wed, Dec 04, 2013 at 10:24:55AM -0500, Tejun Heo wrote: FYI, these two patches still apply as-is on top of the current driver-core-next e756bc5670d0 (kobject: fix kset sample error path). Ick, sorry about that, thanks for the poke, I forgot about them (they are burried in my todo mbox. They

Re: [RFC part3 PATCH 1/2] clocksource / arch_timer: Use ACPI GTDT table to initialize arch timer

2013-12-04 Thread Rob Herring
On Tue, Dec 3, 2013 at 5:15 AM, Hanjun Guo hanjun@linaro.org wrote: ACPI GTDT (Generic Timer Description Table) contains information for arch timer initialization, this patch use this table to probe arm timer. GTDT table is used for ARM/ARM64 only, please refer to chapter 5.2.24 of ACPI

Re: [RFC part2 PATCH 9/9] ACPI / GIC: Initialize GIC using the information in MADT

2013-12-04 Thread Hanjun Guo
On 2013年12月04日 01:26, Marc Zyngier wrote: Hi Hanjun, On 03/12/13 16:39, Hanjun Guo wrote: In MADT table, there are GIC cpu interface base address and GIC distributor base address, use them to convert GIC to ACPI. Signed-off-by: Hanjun Guo hanjun@linaro.org --- arch/arm64/kernel/irq.c

[PATCH v2 1/3] clk: bcm281xx: define kona clock binding

2013-12-04 Thread Alex Elder
Document the device tree binding for Broadcom Kona architecture clock control units and clocks. Kona device nodes are represented with compatible strings having bcm11351 in their name. Kona clocks are managed by clock control units (CCUs). Each CCU has a device tree node, and within that node

Re: [PATCH] ARM:INTEGRATOR: Default enable ARM_PATCH_PHYS_VIRT, AUTO_ZRELADDR

2013-12-04 Thread Linus Walleij
On Mon, Dec 2, 2013 at 12:28 PM, panchaxari panchaxari.prasannamur...@linaro.org wrote: ARM_PATCH_PHYS_VIRT and AUTO_ZRELADDR has been enabled as default configs to integrator platform. I have tested this now on Integrator/AP and Integrator/CP and it works fine, so I'm queueing this for v3.14.

Re: [PATCH v2 2/4] oom_kill: change oom_kill.c to use for_each_thread()

2013-12-04 Thread Michal Hocko
On Wed 04-12-13 14:04:12, Oleg Nesterov wrote: Change oom_kill.c to use for_each_thread() rather than the racy while_each_thread() which can loop forever if we race with exit. Note also that most users were buggy even if while_each_thread() was fine, the task can exit even _before_

Re: [tip:x86/urgent] x86-64, build: Always pass in -mno-sse

2013-12-04 Thread Ingo Molnar
* H. Peter Anvin h...@zytor.com wrote: I can regenerate the patch if you want. No need, I think a separate cleanup patch might be better (in a non-urgent branch), because currently a number of other lines in arch/x86/Makefile are violating this kbuild convention as well. Thanks,

Re: [PATCH v2 3/4] oom_kill: has_intersects_mems_allowed() needs rcu_read_lock()

2013-12-04 Thread Michal Hocko
On Wed 04-12-13 14:04:16, Oleg Nesterov wrote: At least out_of_memory() calls has_intersects_mems_allowed() without even rcu_read_lock(), this is obviously buggy. Add the necessary rcu_read_lock(). This means that we can not simply return from the loop, we need bool ret and break. While

Re: [RFC part2 PATCH 7/9] irqdomain: Add a new API irq_create_acpi_mapping()

2013-12-04 Thread Hanjun Guo
On 2013年12月04日 01:25, Rob Herring wrote: On Tue, Dec 3, 2013 at 10:39 AM, Hanjun Guo hanjun@linaro.org wrote: From: Amit Daniel Kachhap amit.dan...@samsung.com This patch introduces a new API for acpi based irq mapping. [hanjun: Rework this patch to delete the reference to

[PATCH v2 3/3] ARM: dts: bcm281xx: define real clocks

2013-12-04 Thread Alex Elder
Replace the fake clocks defined in the bcm11351.dtsi device tree file with real definitions backed by the new BCM281xx clock driver.. Signed-off-by: Alex Elder el...@linaro.org Reviewed-by: Matt Porter matt.por...@linaro.org Reviewed-by: Tim Kryger tim.kry...@linaro.org --- v2: - got rid of the

Re: [RFC part2 PATCH 2/9] ARM64 / ACPI: Prefill cpu possible/present maps and map logical cpu id to APIC id

2013-12-04 Thread Rob Herring
On Wed, Dec 4, 2013 at 8:21 AM, Hanjun Guo hanjun@linaro.org wrote: On 2013年12月04日 00:57, One Thousand Gnomes wrote: diff --git a/drivers/acpi/plat/arm-core.c b/drivers/acpi/plat/arm-core.c index 45ff625..8527ecc 100644 --- a/drivers/acpi/plat/arm-core.c +++

Re: [PATCH v2 4/4] oom_kill: add rcu_read_lock() into find_lock_task_mm()

2013-12-04 Thread Michal Hocko
On Wed 04-12-13 14:04:20, Oleg Nesterov wrote: find_lock_task_mm() expects it is called under rcu or tasklist lock, but it seems that at least oom_unkillable_task()-task_in_mem_cgroup() and mem_cgroup_out_of_memory()-oom_badness() can call it lockless. Perhaps we could fix the callers, but

[tip:perf/core] perf tools: Use correct return type for readn function

2013-12-04 Thread tip-bot for Jiri Olsa
Commit-ID: 727ebd544f85285a223ecc6a2a57ef90202cdc7b Gitweb: http://git.kernel.org/tip/727ebd544f85285a223ecc6a2a57ef90202cdc7b Author: Jiri Olsa jo...@redhat.com AuthorDate: Thu, 28 Nov 2013 11:30:14 +0100 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Mon, 2 Dec 2013

[tip:perf/core] perf tools: Add perf_data_file__write interface

2013-12-04 Thread tip-bot for Jiri Olsa
Commit-ID: 6f9a317f2a2d4950880ecfa7eea53ed79f85255f Gitweb: http://git.kernel.org/tip/6f9a317f2a2d4950880ecfa7eea53ed79f85255f Author: Jiri Olsa jo...@redhat.com AuthorDate: Thu, 28 Nov 2013 11:30:17 +0100 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Mon, 2 Dec 2013

Re: Supporting 4 way connections in LKSCTP

2013-12-04 Thread Vlad Yasevich
On 12/04/2013 09:50 AM, David Laight wrote: In normal operation, IP-A sends INIT to IP-X, IP-X returns INIT_ACK to IP-A. IP-A then sends HB to IP-X, IP-X then returns HB_ACK to IP-A. In the meantime, IP-B sends HB to IP-Y and IPY returns HB_ACK. In case of the path between IP-A and IP-X is

[tip:perf/core] perf timechart: Introduce tool struct

2013-12-04 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 985b12e633246750b5424f0a28d5f8cea04de07a Gitweb: http://git.kernel.org/tip/985b12e633246750b5424f0a28d5f8cea04de07a Author: Arnaldo Carvalho de Melo a...@redhat.com AuthorDate: Thu, 28 Nov 2013 11:25:19 -0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Mon,

[tip:perf/core] perf timechart: Move wake_events list to ' struct timechart'

2013-12-04 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 436b0da02fc12970f2f5ecdef03160c7a401b121 Gitweb: http://git.kernel.org/tip/436b0da02fc12970f2f5ecdef03160c7a401b121 Author: Arnaldo Carvalho de Melo a...@redhat.com AuthorDate: Thu, 28 Nov 2013 13:26:33 -0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Mon,

[tip:perf/core] perf tools: Add writen function

2013-12-04 Thread tip-bot for Jiri Olsa
Commit-ID: bc3a502bc2bc78d03526d6abcc5697aab18d5ae9 Gitweb: http://git.kernel.org/tip/bc3a502bc2bc78d03526d6abcc5697aab18d5ae9 Author: Jiri Olsa jo...@redhat.com AuthorDate: Thu, 28 Nov 2013 11:30:16 +0100 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Mon, 2 Dec 2013

[tip:perf/core] perf tools: Correct the message in feature-libnuma checking.

2013-12-04 Thread tip-bot for Dongsheng Yang
Commit-ID: 6305edfc4079668ce02e360a6e5aeea88b9dd279 Gitweb: http://git.kernel.org/tip/6305edfc4079668ce02e360a6e5aeea88b9dd279 Author: Dongsheng Yang yangds.f...@cn.fujitsu.com AuthorDate: Mon, 2 Dec 2013 10:26:48 -0500 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Mon,

[tip:perf/core] perf timechart: Move all_data per_pid list to ' struct timechart'

2013-12-04 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 5e22f6d22bae494ffc23da4032c477c54fd7c2d9 Gitweb: http://git.kernel.org/tip/5e22f6d22bae494ffc23da4032c477c54fd7c2d9 Author: Arnaldo Carvalho de Melo a...@redhat.com AuthorDate: Thu, 28 Nov 2013 11:50:41 -0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Mon,

[tip:perf/core] perf timechart: Move power_events list to ' struct timechart'

2013-12-04 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 66cc3ada4ec3c277a21cba9996cc0cab3409033d Gitweb: http://git.kernel.org/tip/66cc3ada4ec3c277a21cba9996cc0cab3409033d Author: Arnaldo Carvalho de Melo a...@redhat.com AuthorDate: Thu, 28 Nov 2013 13:23:05 -0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Mon,

[tip:perf/core] perf trace: Honour -m option

2013-12-04 Thread tip-bot for Jiri Olsa
Commit-ID: f885037ef6400ce4a4c122a88845dea2c9bca256 Gitweb: http://git.kernel.org/tip/f885037ef6400ce4a4c122a88845dea2c9bca256 Author: Jiri Olsa jo...@redhat.com AuthorDate: Thu, 28 Nov 2013 17:57:22 +0100 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Mon, 2 Dec 2013

[tip:perf/core] perf tools: Include test-stackprotector-all.c in test-all

2013-12-04 Thread tip-bot for Jiri Olsa
Commit-ID: bc32358b569247ceabba14dab297070a8fb255c4 Gitweb: http://git.kernel.org/tip/bc32358b569247ceabba14dab297070a8fb255c4 Author: Jiri Olsa jo...@redhat.com AuthorDate: Thu, 28 Nov 2013 12:33:01 +0100 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Mon, 2 Dec 2013

[tip:perf/core] perf record: Unify data output code into perf_record__write function

2013-12-04 Thread tip-bot for Jiri Olsa
Commit-ID: 6233dd5efdf9e2c2da1b003cfb70307b7b2028e8 Gitweb: http://git.kernel.org/tip/6233dd5efdf9e2c2da1b003cfb70307b7b2028e8 Author: Jiri Olsa jo...@redhat.com AuthorDate: Thu, 28 Nov 2013 11:30:13 +0100 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Mon, 2 Dec 2013

[tip:perf/core] perf tools: Fine tune readn function

2013-12-04 Thread tip-bot for Jiri Olsa
Commit-ID: 838d14520267769648fb2fc2a637107a1d102590 Gitweb: http://git.kernel.org/tip/838d14520267769648fb2fc2a637107a1d102590 Author: Jiri Olsa jo...@redhat.com AuthorDate: Thu, 28 Nov 2013 11:30:15 +0100 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Mon, 2 Dec 2013

[PATCH RFCv2 5/6] net: phy: suspend unused PHYs on mdio_bus in late_initcall

2013-12-04 Thread Sebastian Hesselbarth
Since phy_attach ensures PHYs are resumed, we can now suspend all PHYs that have no attached netdev after initcalls. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Changelog: RFCv1-RFCv2: - only check for phydev-attached_dev and let phy_suspend decide on performing

[PATCH RFCv2 6/6] net: phy: suspend phydev when going to HALTED

2013-12-04 Thread Sebastian Hesselbarth
When phydev is going to HALTED state, we can try to suspend it to safe more power. phy_suspend helper will check if PHY can be suspended, so just call it when entering HALTED state. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Changelog: RFCv1-RFCv2: - initial,

[PATCH RFCv2 1/6] net: mv643xx_eth: properly start/stop phy device

2013-12-04 Thread Sebastian Hesselbarth
When using phydev, it should be phy_start/phy_stop'ed properly. This driver doesn't do that, so add the corresponding calls to port_start/ stop respectively. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Changelog: RFCv1-RFCv2: - initial, derived from netdev specific

[PATCH RFCv2 0/6] net: phy: Ethernet PHY powerdown optimization

2013-12-04 Thread Sebastian Hesselbarth
This is v2 of an RFC sent earlier [1] to reduce power consumption of network PHYs with link that are either unused or the corresponding netdev is down. In contrast to RFCv1, this now integrates phy_suspend/phy_resume transparent to the netdev drivers. Also, phy_suspend now only suspends the PHY

[PATCH RFCv2 4/6] net: phy: resume/suspend PHYs on attach/detach

2013-12-04 Thread Sebastian Hesselbarth
This ensures PHYs are resumed on attach and suspended on detach. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Changelog: RFCv1-RFCv2: - none Cc: David Miller da...@davemloft.net Cc: Florian Fainelli f.faine...@gmail.com Cc: Mugunthan V N mugunthan...@ti.com Cc:

[PATCH RFCv2 2/6] net: phy: marvell: provide genphy suspend/resume

2013-12-04 Thread Sebastian Hesselbarth
Marvell PHYs support generic PHY suspend/resume, so provide those callbacks to all marvell specific drivers. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Changelog: RFCv1-RFCv2: - none Cc: David Miller da...@davemloft.net Cc: Florian Fainelli f.faine...@gmail.com Cc:

Re: [RFC part2 PATCH 2/9] ARM64 / ACPI: Prefill cpu possible/present maps and map logical cpu id to APIC id

2013-12-04 Thread Rob Herring
On Tue, Dec 3, 2013 at 10:39 AM, Hanjun Guo hanjun@linaro.org wrote: When boot the kernel with MADT, the cpu possible and present maps should be prefilled for cpu topology and acpi based cpu hot-plug. The logic cpu id maps to APIC id (GIC id) is also implemented, it is needed for acpi

[PATCH RFCv2 3/6] net: phy: provide phy_resume/phy_suspend helpers

2013-12-04 Thread Sebastian Hesselbarth
This adds helper functions to resume and suspend a given phy_device by calling the corresponding driver callbacks if available. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Changelog: RFCv1-RFCv2: - only suspend if WOL is not enabled - remove EXPORT_SYMBOL for

Re: [RFC part1 PATCH 5/7] ARM64 / ACPI: Introduce arm_core.c and its related head file

2013-12-04 Thread Hanjun Guo
+CC Lv Zheng On 2013年12月04日 02:03, Mark Rutland wrote: On Tue, Dec 03, 2013 at 04:36:49PM +, Hanjun Guo wrote: introduce arm_core.c and its related head file, after this patch, we can get ACPI tables from BIOS on ARM64 now. Signed-off-by: Al Stone al.st...@linaro.org Signed-off-by: Graeme

Re: [RFC part2 PATCH 9/9] ACPI / GIC: Initialize GIC using the information in MADT

2013-12-04 Thread Marc Zyngier
On 04/12/13 15:32, Hanjun Guo wrote: On 2013年12月04日 01:26, Marc Zyngier wrote: Hi Hanjun, On 03/12/13 16:39, Hanjun Guo wrote: In MADT table, there are GIC cpu interface base address and GIC distributor base address, use them to convert GIC to ACPI. Signed-off-by: Hanjun Guo

Re: [PATCH 3/3] usb: ohci-at91: use device managed clk retrieval

2013-12-04 Thread Douglas Gilbert
On 13-12-04 04:21 PM, Alan Stern wrote: On Wed, 4 Dec 2013, boris brezillon wrote: The patches look fine to me. But only the 1/3 patch fixes a bug; the others merely change the resource management. Do you want me to split this series ? 1) the 1st patch that should be merged in 3.13 2)

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