Re: [PATCH] HID: i2c-hid: add ACPI support

2013-01-09 Thread Mika Westerberg
On Tue, Jan 08, 2013 at 10:55:59PM +0100, Benjamin Tissoires wrote: On Tue, Jan 8, 2013 at 7:09 PM, Mika Westerberg mika.westerb...@linux.intel.com wrote: On Tue, Jan 08, 2013 at 02:51:53PM +0100, Benjamin Tissoires wrote: Hi Mika, On Tue, Jan 8, 2013 at 2:05 PM, Mika Westerberg

Re: [RFC PATCH 0/2] sched: simplify the select_task_rq_fair()

2013-01-09 Thread Michael Wang
On 12/27/2012 02:08 PM, Michael Wang wrote: This patch set is trying to simplify the select_task_rq_fair() with schedule balance map. After get rid of the complex code and reorganize the logical, pgbench show the improvement. Prev: | db_size | clients | tps |

[PATCH v6 09/15] memory-hotplug: remove page table of x86_64 architecture

2013-01-09 Thread Tang Chen
This patch searches a page table about the removed memory, and clear page table for x86_64 architecture. Signed-off-by: Wen Congyang we...@cn.fujitsu.com Signed-off-by: Jianguo Wu wujian...@huawei.com Signed-off-by: Jiang Liu jiang@huawei.com Signed-off-by: Tang Chen tangc...@cn.fujitsu.com

[PATCH v6 14/15] memory-hotplug: free node_data when a node is offlined

2013-01-09 Thread Tang Chen
From: Wen Congyang we...@cn.fujitsu.com We call hotadd_new_pgdat() to allocate memory to store node_data. So we should free it when removing a node. Signed-off-by: Wen Congyang we...@cn.fujitsu.com Reviewed-by: Kamezawa Hiroyuki kamezawa.hir...@jp.fujitsu.com --- mm/memory_hotplug.c | 30

[PATCH v6 05/15] memory-hotplug: introduce new function arch_remove_memory() for removing page table depends on architecture

2013-01-09 Thread Tang Chen
From: Wen Congyang we...@cn.fujitsu.com For removing memory, we need to remove page table. But it depends on architecture. So the patch introduce arch_remove_memory() for removing page table. Now it only calls __remove_pages(). Note: __remove_pages() for some archtecuture is not implemented

[PATCH v6 13/15] memory-hotplug: remove sysfs file of node

2013-01-09 Thread Tang Chen
This patch introduces a new function try_offline_node() to remove sysfs file of node when all memory sections of this node are removed. If some memory sections of this node are not removed, this function does nothing. Signed-off-by: Wen Congyang we...@cn.fujitsu.com Signed-off-by: Tang Chen

[PATCH v6 12/15] memory-hotplug: memory_hotplug: clear zone when removing the memory

2013-01-09 Thread Tang Chen
From: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com When a memory is added, we update zone's and pgdat's start_pfn and spanned_pages in the function __add_zone(). So we should revert them when the memory is removed. The patch adds a new function __remove_zone() to do this. Signed-off-by:

[PATCH v6 10/15] memory-hotplug: remove memmap of sparse-vmemmap

2013-01-09 Thread Tang Chen
This patch introduces a new API vmemmap_free() to free and remove vmemmap pagetables. Since pagetable implements are different, each architecture has to provide its own version of vmemmap_free(), just like vmemmap_populate(). Note: vmemmap_free() are not implemented for ia64, ppc, s390, and

[PATCH v6 02/15] memory-hotplug: check whether all memory blocks are offlined or not when removing memory

2013-01-09 Thread Tang Chen
From: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com We remove the memory like this: 1. lock memory hotplug 2. offline a memory block 3. unlock memory hotplug 4. repeat 1-3 to offline all memory blocks 5. lock memory hotplug 6. remove memory(TODO) 7. unlock memory hotplug All memory blocks

[PATCH v6 04/15] memory-hotplug: remove /sys/firmware/memmap/X sysfs

2013-01-09 Thread Tang Chen
From: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com When (hot)adding memory into system, /sys/firmware/memmap/X/{end, start, type} sysfs files are created. But there is no code to remove these files. The patch implements the function to remove them. Note: The code does not free

[PATCH v6 06/15] memory-hotplug: implement register_page_bootmem_info_section of sparse-vmemmap

2013-01-09 Thread Tang Chen
From: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com For removing memmap region of sparse-vmemmap which is allocated bootmem, memmap region of sparse-vmemmap needs to be registered by get_page_bootmem(). So the patch searches pages of virtual mapping and registers the pages by

[PATCH v6 08/15] memory-hotplug: Common APIs to support page tables hot-remove

2013-01-09 Thread Tang Chen
From: Wen Congyang we...@cn.fujitsu.com When memory is removed, the corresponding pagetables should alse be removed. This patch introduces some common APIs to support vmemmap pagetable and x86_64 architecture pagetable removing. All pages of virtual mapping in removed memory cannot be freedi if

[PATCH v6 07/15] memory-hotplug: move pgdat_resize_lock into sparse_remove_one_section()

2013-01-09 Thread Tang Chen
In __remove_section(), we locked pgdat_resize_lock when calling sparse_remove_one_section(). This lock will disable irq. But we don't need to lock the whole function. If we do some work to free pagetables in free_section_usemap(), we need to call flush_tlb_all(), which need irq enabled. Otherwise

[PATCH v6 00/15] memory-hotplug: hot-remove physical memory

2013-01-09 Thread Tang Chen
Here is the physical memory hot-remove patch-set based on 3.8rc-2. This patch-set aims to implement physical memory hot-removing. The patches can free/remove the following things: - /sys/firmware/memmap/X/{end, start, type} : [PATCH 4/15] - memmap of sparse-vmemmap : [PATCH

[PATCH] nfsd: fix unused nn variable warning in free_client()

2013-01-09 Thread Stanislav Kinsbursky
If CONFIG_LOCKDEP is disabled, then there would be a warning like this: CC [M] fs/nfsd/nfs4state.o fs/nfsd/nfs4state.c: In function ‘free_client’: fs/nfsd/nfs4state.c:1051:19: warning: unused variable ‘nn’ [-Wunused-variable] So, let's add maybe_unused tag to this variable. Signed-off-by:

Re: [PATCH] nfsd: fix unused nn variable warning in free_client()

2013-01-09 Thread Stanislav Kinsbursky
Bruce, sorry, forgot to add: Reported-by: Toralf Förster toralf.foers...@gmx.de 09.01.2013 13:38, Stanislav Kinsbursky пишет: If CONFIG_LOCKDEP is disabled, then there would be a warning like this: CC [M] fs/nfsd/nfs4state.o fs/nfsd/nfs4state.c: In function ‘free_client’:

[PATCH v6 03/15] memory-hotplug: remove redundant codes

2013-01-09 Thread Tang Chen
From: Wen Congyang we...@cn.fujitsu.com offlining memory blocks and checking whether memory blocks are offlined are very similar. This patch introduces a new function to remove redundant codes. Signed-off-by: Wen Congyang we...@cn.fujitsu.com Signed-off-by: Tang Chen tangc...@cn.fujitsu.com

[PATCH v6 01/15] memory-hotplug: try to offline the memory twice to avoid dependence

2013-01-09 Thread Tang Chen
From: Wen Congyang we...@cn.fujitsu.com memory can't be offlined when CONFIG_MEMCG is selected. For example: there is a memory device on node 1. The address range is [1G, 1.5G). You will find 4 new directories memory8, memory9, memory10, and memory11 under the directory

Re: [PATCH V3 4/8] memcg: add per cgroup dirty pages accounting

2013-01-09 Thread Sha Zhengju
On Mon, Jan 7, 2013 at 4:07 AM, Greg Thelen gthe...@google.com wrote: On Tue, Dec 25 2012, Sha Zhengju wrote: From: Sha Zhengju handai@taobao.com This patch adds memcg routines to count dirty pages, which allows memory controller to maintain an accurate view of the amount of its dirty

Re: [PATCHSET] cpuset: decouple cpuset locking from cgroup core, take#2

2013-01-09 Thread Glauber Costa
On 01/04/2013 01:35 AM, Tejun Heo wrote: Note that this leaves memcg as the only external user of cgroup_mutex. Michal, Kame, can you guys please convert memcg to use its own locking too? I've already done this, I just have to rework it according to latest feedback and repost it. It should be

[PATCH RESEND] dma: tegra: implement flags parameters for cyclic transfer

2013-01-09 Thread Laxman Dewangan
The flag parameter is added in the cyclic transfer request. Use the flag option of: - DMA_PREP_INTERRUPT for enabling interrupt. - DMA_CTRL_ACK for deciding whether ack is requred or not for descriptor. Signed-off-by: Laxman Dewangan ldewan...@nvidia.com --- Vinod, This patch was sent before

[PATCH v6 15/15] memory-hotplug: Do not allocate pdgat if it was not freed when offline.

2013-01-09 Thread Tang Chen
Since there is no way to guarentee the address of pgdat/zone is not on stack of any kernel threads or used by other kernel objects without reference counting or other symchronizing method, we cannot reset node_data and free pgdat when offlining a node. Just reset pgdat to 0 and reuse the memory

[PATCH v6 11/15] memory-hotplug: Integrated __remove_section() of CONFIG_SPARSEMEM_VMEMMAP.

2013-01-09 Thread Tang Chen
Currently __remove_section for SPARSEMEM_VMEMMAP does nothing. But even if we use SPARSEMEM_VMEMMAP, we can unregister the memory_section. Signed-off-by: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com Signed-off-by: Wen Congyang we...@cn.fujitsu.com Signed-off-by: Tang Chen

Re: [3.6.9 - 3.7.1 regression] sound: snd_hda_intel codec probing issue?

2013-01-09 Thread Takashi Iwai
At Tue, 08 Jan 2013 21:25:21 +0100, Vincent Blut wrote: Le mardi 08 janvier 2013 à 13:56 +0100, Takashi Iwai a écrit : At Tue, 08 Jan 2013 13:28:55 +0100, From: Takashi Iwai ti...@suse.de Subject: [PATCH] ALSA: hda - Disable runtime D3 for Intel CPT co We've got a few bug reports

[PATCH 1/3] mfd: Fix compile errors and warnings when !CONFIG_AB8500_BM

2013-01-09 Thread Lee Jones
drivers/mfd/ab8500-core.c:1015:21: error: ‘ab8500_bm_data’ undeclared here include/linux/mfd/abx500/ab8500-bm.h:445:13: warning: ‘ab8500_fg_reinit’ defined but not used include/linux/mfd/abx500/ab8500-bm.h:448:13: warning: ‘ab8500_charger_usb_state_changed’ defined but not used

[PATCH 3/3] ARM: ux500: Add Snowball pin configuration for user LED

2013-01-09 Thread Lee Jones
Here we setup the GPIO pin responsible for illuminating the user LED on the Snowball low-cost development board. Signed-off-by: Lee Jones lee.jo...@linaro.org --- arch/arm/mach-ux500/board-mop500-pins.c |2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH 2/3] ARM: ux500: Turn on the 'heartbeat' LED trigger

2013-01-09 Thread Lee Jones
As Snowball is a community board it should have its default LED trigger set in 'heartbeat' mode, meaning that it double flashes ~1HZ. This provides an excellent debugging tool when community members are hacking. Signed-off-by: Lee Jones lee.jo...@linaro.org --- arch/arm/mach-ux500/Kconfig |2

Re: [PATCH 2/7] uprobes: Fold xol_alloc_area() into get_xol_area()

2013-01-09 Thread Anton Arapov
On Mon, Dec 31, 2012 at 06:52:16PM +0100, Oleg Nesterov wrote: Currently only xol_get_insn_slot() does get_xol_area() + xol_alloc_area(), but this will have more users and we do not want to copy-and-paste this code. This patch simply moves xol_alloc_area() into get_xol_area() to simplify the

Re: [PATCH 2/3] ARM: ux500: Turn on the 'heartbeat' LED trigger

2013-01-09 Thread Arnd Bergmann
On Wednesday 09 January 2013, Lee Jones wrote: diff --git a/arch/arm/mach-ux500/Kconfig b/arch/arm/mach-ux500/Kconfig index 5dea906..0f25b07 100644 --- a/arch/arm/mach-ux500/Kconfig +++ b/arch/arm/mach-ux500/Kconfig @@ -43,6 +43,8 @@ config MACH_HREFV60 config MACH_SNOWBALL bool

[LTP] [ANNOUNCE] The Linux Test Project has been released for JANUARY 2013

2013-01-09 Thread shubham
Hello all, The first release of New year 2013 has been done for Linux Test Project test suite. The latest version of the test-suite contains 3000+ tests for the Linux OS and can be found at: http://ltp.sourceforge.net/ You can explore our new github page at:

Re: [PATCH 0/7] uprobes: alloc utask/xol_area cleanups and minor fix

2013-01-09 Thread Anton Arapov
On Mon, Dec 31, 2012 at 06:51:50PM +0100, Oleg Nesterov wrote: Hello. This series fixes the minor bug and cleanups the usage of add_utask() and xol_alloc_area(). Plus it cleanups the initializaion of -utask in handle_swbp() paths. Anton, this conflicts with your uretprobe patches, but I

Re: [PATCH 1/4] gpiolib: introduce descriptor-based GPIO interface

2013-01-09 Thread Russell King - ARM Linux
On Wed, Jan 09, 2013 at 10:06:16AM +0900, Alexandre Courbot wrote: On Tue, Jan 8, 2013 at 9:59 PM, Arnd Bergmann a...@arndb.de wrote: Please avoid the use of IS_ERR_OR_NULL(), especially on interfaces you introduce yourself. AFAICT, gpiod_get cannot return NULL, so you should not check for

Re: [PATCH] PCI: Make pci_find_upstream_pcie_bridge() handle non PCIE VFs well

2013-01-09 Thread Tadeusz Struk
On 01/08/2013 05:05 PM, Don Dutile wrote: (a) no such thing as a non-PCIe VF -- all VFs are PCIe-based. The sriov spec says that a VF doesn't necessarily has to have PCIE cap: 3.5 PCI Express Capability: ... PFs and VFs are required to implement this capability ... subject to the

Re: [PATCH 2/3] ARM: ux500: Turn on the 'heartbeat' LED trigger

2013-01-09 Thread Russell King - ARM Linux
On Wed, Jan 09, 2013 at 10:18:54AM +, Arnd Bergmann wrote: On Wednesday 09 January 2013, Lee Jones wrote: diff --git a/arch/arm/mach-ux500/Kconfig b/arch/arm/mach-ux500/Kconfig index 5dea906..0f25b07 100644 --- a/arch/arm/mach-ux500/Kconfig +++ b/arch/arm/mach-ux500/Kconfig @@ -43,6

Re: [PATCH 1/4] gpiolib: introduce descriptor-based GPIO interface

2013-01-09 Thread Arnd Bergmann
On Wednesday 09 January 2013, Alexandre Courbot wrote: On Tue, Jan 8, 2013 at 9:59 PM, Arnd Bergmann a...@arndb.de wrote: Please avoid the use of IS_ERR_OR_NULL(), especially on interfaces you introduce yourself. AFAICT, gpiod_get cannot return NULL, so you should not check for that.

Re: [PATCH] HID: i2c-hid: add ACPI support

2013-01-09 Thread Benjamin Tissoires
On Wed, Jan 9, 2013 at 10:28 AM, Mika Westerberg mika.westerb...@linux.intel.com wrote: On Tue, Jan 08, 2013 at 10:55:59PM +0100, Benjamin Tissoires wrote: On Tue, Jan 8, 2013 at 7:09 PM, Mika Westerberg mika.westerb...@linux.intel.com wrote: On Tue, Jan 08, 2013 at 02:51:53PM +0100, Benjamin

Re: [PATCH 1/4] gpiolib: introduce descriptor-based GPIO interface

2013-01-09 Thread Russell King - ARM Linux
On Wed, Jan 09, 2013 at 10:35:22AM +, Arnd Bergmann wrote: On Wednesday 09 January 2013, Alexandre Courbot wrote: On Tue, Jan 8, 2013 at 9:59 PM, Arnd Bergmann a...@arndb.de wrote: Please avoid the use of IS_ERR_OR_NULL(), especially on interfaces you introduce yourself. AFAICT,

Re: [PATCH 0/4] gpio: introduce descriptor-based interface

2013-01-09 Thread Arnd Bergmann
On Wednesday 09 January 2013, Alexandre Courbot wrote: On Tue, Jan 8, 2013 at 10:06 PM, Arnd Bergmann a...@arndb.de wrote: I like the interface, good idea! Great! This was initially suggested by Linus W. A few questions: Is there a plan for migrating all the existing users of the

Re: [PATCH 05/11] spi/pxa2xx: make clock rate configurable from platform data

2013-01-09 Thread Mika Westerberg
On Tue, Jan 08, 2013 at 10:33:55PM +0100, Rafael J. Wysocki wrote: On 1/8/2013 2:10 PM, Mark Brown wrote: On Tue, Jan 08, 2013 at 02:41:53PM +0200, Mika Westerberg wrote: On Tue, Jan 08, 2013 at 11:02:28AM +, Mark Brown wrote: No, the way to do this is to fix x86 to enable the clock API

Re: [PATCH v5] pwm: atmel: add Timer Counter Block PWM driver

2013-01-09 Thread Boris BREZILLON
On 09/01/2013 08:46, Thierry Reding wrote: On Tue, Jan 08, 2013 at 04:36:42PM +0100, Boris BREZILLON wrote: Hi, This patch adds a PWM driver based on Atmel Timer Counter Block. Timer Counter Block is used in Waveform generator mode. A Timer Counter Block provides up to 6 PWM devices grouped

Re: [PATCH] of: add missing documentation for of_platform_populate()

2013-01-09 Thread Jiri Kosina
On Fri, 23 Nov 2012, Javi Merino wrote: 15c3597d (dt/platform: allow device name to be overridden) added a lookup parameter to of_platform_populate() but did not update the documentation. This patch adds the missing documentation entry. Cc: Grant Likely grant.lik...@secretlab.ca Cc: Jiri

Re: [PATCH] HID: i2c-hid: add ACPI support

2013-01-09 Thread Mika Westerberg
On Wed, Jan 09, 2013 at 11:38:24AM +0100, Benjamin Tissoires wrote: If they have reset GPIO or something like that, how else we should we handle this if not in the driver? The i2c-hid core doesn't know for what purpose a given GPIO line is. But the hid protocol aims at reducing the

Re: [PATCH 2/3] ARM: ux500: Turn on the 'heartbeat' LED trigger

2013-01-09 Thread Lee Jones
On Wed, 09 Jan 2013, Russell King - ARM Linux wrote: On Wed, Jan 09, 2013 at 10:18:54AM +, Arnd Bergmann wrote: On Wednesday 09 January 2013, Lee Jones wrote: diff --git a/arch/arm/mach-ux500/Kconfig b/arch/arm/mach-ux500/Kconfig index 5dea906..0f25b07 100644 ---

Re: [PATCH 1/4] gpiolib: introduce descriptor-based GPIO interface

2013-01-09 Thread Russell King - ARM Linux
On Wed, Jan 09, 2013 at 10:44:14AM +, Russell King - ARM Linux wrote: On Wed, Jan 09, 2013 at 10:35:22AM +, Arnd Bergmann wrote: On Wednesday 09 January 2013, Alexandre Courbot wrote: On Tue, Jan 8, 2013 at 9:59 PM, Arnd Bergmann a...@arndb.de wrote: Please avoid the use of

Re: [PATCH 2/3] ARM: ux500: Turn on the 'heartbeat' LED trigger

2013-01-09 Thread Russell King - ARM Linux
On Wed, Jan 09, 2013 at 11:08:40AM +, Lee Jones wrote: On Wed, 09 Jan 2013, Russell King - ARM Linux wrote: On Wed, Jan 09, 2013 at 10:18:54AM +, Arnd Bergmann wrote: On Wednesday 09 January 2013, Lee Jones wrote: diff --git a/arch/arm/mach-ux500/Kconfig

[PATCH 0/3] Add and use new macro module_platform_driver_probe()

2013-01-09 Thread Fabio Porcedda
For simple modules that contain a single platform_driver without any additional setup code then ends up being a block of duplicated boilerplate. This patch adds a new macro, module_platform_driver_probe(), which replaces the module_init()/module_exit() registrations with template functions.

[PATCH 1/3] driver core: add helper macro for platform_driver_probe() boilerplate

2013-01-09 Thread Fabio Porcedda
For simple modules that contain a single platform_driver without any additional setup code then ends up being a block of duplicated boilerplate. This patch adds a new macro, module_platform_driver_probe(), which replaces the module_init()/module_exit() registrations with template functions. This

[PATCH 3/3] usb: converto drivers/usb/* to use module_platform_driver_probe()

2013-01-09 Thread Fabio Porcedda
This patch converts the drivers in drivers/usb/* to use the module_platform_driver_probe() macro which makes the code smaller and a bit simpler. Signed-off-by: Fabio Porcedda fabio.porce...@gmail.com Cc: linux-...@vger.kernel.org Cc: Greg Kroah-Hartman gre...@linuxfoundation.org Cc: Felipe Balbi

[PATCH 2/3] watchdog: convert drivers/watchdog/* to use module_platform_driver_probe

2013-01-09 Thread Fabio Porcedda
This makes the code a bit smaller by getting rid of some boilerplate code. Signed-off-by: Fabio Porcedda fabio.porce...@gmail.com Cc: linux-watch...@vger.kernel.org Cc: Wim Van Sebroeck w...@iguana.be Cc: Linus Walleij linus.wall...@linaro.org --- drivers/watchdog/at32ap700x_wdt.c | 12

[PATCH] cpufreq: Simplify __cpufreq_remove_dev()

2013-01-09 Thread Viresh Kumar
__cpufreq_remove_dev() is called on multiple occasions: cpufreq_driver unregister and cpu removals. Current implementation of this routine is overly complex without much need. If the cpu to be removed is the policy-cpu, we remove the policy first and add all other cpus again from policy-cpus and

Re: [PATCH 7/8] mm: use vm_unmapped_area() on powerpc architecture

2013-01-09 Thread Michel Lespinasse
On Wed, Jan 09, 2013 at 02:32:56PM +1100, Benjamin Herrenschmidt wrote: Ok. I think at least you can move that construct: + if (addr SLICE_LOW_TOP) { + slice = GET_LOW_SLICE_INDEX(addr); + addr = (slice + 1) SLICE_LOW_SHIFT; +

[RFC PATCH v2 0/4] uprobes: return probe implementation

2013-01-09 Thread Anton Arapov
There are RFC uretprobes implementation. I'd be grateful for review. RFCv1: https://lkml.org/lkml/2012/12/21/133 I've intentionally removed the retprobe bypass logic, it requires a bit more work. not fixed since last prior RFC review: unify xol_get_trampoline_slot() and

[RFC PATCH v2 2/4] uretprobes: trampoline implementation

2013-01-09 Thread Anton Arapov
The first time a uprobe with return consumer is hit for a process, a trampoline slot is obtained in the xol_area and initialized with a breakpoint instruction. This slot is subsequently used by all uretprobes. todo: unify with xol_take_insn_slot() Signed-off-by: Anton Arapov an...@redhat.com

[RFC PATCH v2 3/4] uretprobes: return probe entry, prepare uretprobe

2013-01-09 Thread Anton Arapov
When a uprobe with return consumer is hit, prepare_uretprobe function is invoked. It creates return_instance, hijacks return address and replaces it with the trampoline. v2: get rid of -return_consumers todo: protect uprobe Signed-off-by: Anton Arapov an...@redhat.com ---

[RFC PATCH v2 4/4] uretprobes: invoke return probe handlers

2013-01-09 Thread Anton Arapov
uretprobe handlers are invoked when the trampoline is hit, on completion the trampoline is replaced with the saved return address and the uretprobe instance deleted. v2: get rid of -return_consumers use rp_handler() Signed-off-by: Anton Arapov an...@redhat.com ---

Re: dw_dmac patches

2013-01-09 Thread Andy Shevchenko
On Tue, 2013-01-08 at 07:54 -0800, Vinod Koul wrote: On Mon, Jan 07, 2013 at 02:54:54PM +0200, Andy Shevchenko wrote: Hi, Vinod. I noticed you missed the 3.8 merge window and I can't see any of my recent patches [1] in your next branch. So, what is your plan regarding to them? Yes i

Re: Hangcheck timer elapsed... GPU hung in 3.8.0-rc2

2013-01-09 Thread Daniel Vetter
On Tue, Jan 8, 2013 at 3:37 PM, J. Bruce Fields bfie...@fieldses.org wrote: please grab the i915_error_state file from debugfs As I said in the original mail, I've already done that: http://fieldses.org/~bfields/3.8-hang/ Sorry, missed that the first time around. and file a bug on

Re: [3.8-rc2] stuck at reading CIFS mounted directory

2013-01-09 Thread Jeff Layton
On Wed, 09 Jan 2013 03:17:40 + (GMT) 허종만 jongman@samsung.com wrote: Hi, --- Original Message --- Sender : Jeff Laytonjlay...@redhat.com Date : 2013-01-08 00:13 (GMT+09:00) Title : Re: [3.8-rc2] stuck at reading CIFS mounted directory On Mon, 07 Jan 2013 15:10:05

[PATCH v2] regulator: max8998: Ensure enough delay time for max8998_set_voltage_buck_time_sel

2013-01-09 Thread Axel Lin
Use DIV_ROUND_UP to prevent truncation by integer division issue. This ensures we return enough delay time. Signed-off-by: Axel Lin axel@ingics.com --- v2: Only fix integer division truncation issue, remove other optimization. drivers/regulator/max8998.c |2 +- 1 file changed, 1

Re: oops in copy_page_rep()

2013-01-09 Thread Hillf Danton
On Wed, Jan 9, 2013 at 2:21 AM, Linus Torvalds torva...@linux-foundation.org wrote: On Tue, Jan 8, 2013 at 10:03 AM, Andrea Arcangeli aarca...@redhat.com wrote: It looks very fine to me, but I suggest to move it above the pmd_numa() check because of the newly introduced

Re: oops in copy_page_rep()

2013-01-09 Thread Mel Gorman
On Tue, Jan 08, 2013 at 08:52:14AM -0800, Linus Torvalds wrote: On Tue, Jan 8, 2013 at 8:31 AM, Kirill A. Shutemov kir...@shutemov.name wrote: Heh. I was more thinking about why do_huge_pmd_wp_page() needs it, but do_huge_pmd_numa_page() does not. It does. The check should be moved

[PATCH v5 02/11] cgroup: implement CFTYPE_NO_PREFIX

2013-01-09 Thread Glauber Costa
From: Tejun Heo t...@kernel.org When cgroup files are created, cgroup core automatically prepends the name of the subsystem as prefix. This patch adds CFTYPE_NO_PREFIX which disables the automatic prefix. This will be used to deprecate cpuacct which will make cpu create and serve the cpuacct

[PATCH v5 08/11] sched: Push put_prev_task() into pick_next_task()

2013-01-09 Thread Glauber Costa
From: Peter Zijlstra a.p.zijls...@chello.nl In order to avoid having to do put/set on a whole cgroup hierarchy when we context switch, push the put into pick_next_task() so that both operations are in the same function. Further changes then allow us to possibly optimize away redundant work. [

[PATCH v5 07/11] account guest time per-cgroup as well.

2013-01-09 Thread Glauber Costa
We already track multiple tick statistics per-cgroup, using the task_group_account_field facility. This patch accounts guest_time in that manner as well. Signed-off-by: Glauber Costa glom...@parallels.com CC: Peter Zijlstra a.p.zijls...@chello.nl CC: Paul Turner p...@google.com ---

[PATCH v5 11/11] sched: introduce cgroup file stat_percpu

2013-01-09 Thread Glauber Costa
The file cpu.stat_percpu will show various scheduler related information, that are usually available to the top level through other files. For instance, most of the meaningful data in /proc/stat is presented here. Given this file, a container can easily construct a local copy of /proc/stat for

[PATCH v5 05/11] sched: adjust exec_clock to use it as cpu usage metric

2013-01-09 Thread Glauber Costa
exec_clock already provides per-group cpu usage metrics, and can be reused by cpuacct in case cpu and cpuacct are comounted. However, it is only provided by tasks in fair class. Doing the same for rt is easy, and can be done in an already existing hierarchy loop. This is an improvement over the

3.8-rc2: lockdep warning in nouveau driver

2013-01-09 Thread Arend van Spriel
Maybe this one is already known, but I did not find a post about it. So here it is. Regards, Arend == [9.422018] usb 1-1.2: new high-speed USB device number 4 using ehci-pci [9.436177] [TTM] Zone kernel: Available

[PATCH v5 10/11] sched: change nr_context_switches calculation.

2013-01-09 Thread Glauber Costa
This patch changes the calculation of nr_context_switches. The variable nr_switches is now used to account for the number of transition to the idle task, or stop task. It is removed from the schedule() path. The total calculation can be made using the fact that the transitions to fair and rt

[PATCH v5 01/11] don't call cpuacct_charge in stop_task.c

2013-01-09 Thread Glauber Costa
Commit 8f618968 changed stop_task to do the same bookkeping as the other classes. However, the call to cpuacct_charge() doesn't affect the scheduler decisions at all, and doesn't need to be moved over. Moreover, being a kthread, the migration thread won't belong to any cgroup anyway, rendering

[PATCH v5 00/11] per-cgroup cpu-stat

2013-01-09 Thread Glauber Costa
[ update: I thought I posted this already before leaving for holidays. However, now that I am checking for replies, I can't find nor replies nor the original mail in my boxes or archives. I am posting again for safety sake, but sorry you are getting this twice by any chance ] Hi all, This

[PATCH v5 09/11] record per-cgroup number of context switches

2013-01-09 Thread Glauber Costa
Context switches are, to this moment, a property of the runqueue. When running containers, we would like to be able to present a separate figure for each container (or cgroup, in this context). The chosen way to accomplish this is to increment a per cfs_rq or rt_rq, depending on the task, for

[PATCH v5 03/11] cgroup, sched: let cpu serve the same files as cpuacct

2013-01-09 Thread Glauber Costa
From: Tejun Heo t...@kernel.org cpuacct being on a separate hierarchy is one of the main cgroup related complaints from scheduler side and the consensus seems to be * Allowing cpuacct to be a separate controller was a mistake. In general multiple controllers on the same type of resource

[PATCH v5 06/11] cpuacct: don't actually do anything.

2013-01-09 Thread Glauber Costa
All the information we have that is needed for cpuusage (and cpuusage_percpu) is present in schedstats. It is already recorded in a sane hierarchical way. If we have CONFIG_SCHEDSTATS, we don't really need to do any extra work. All former functions become empty inlines. Signed-off-by: Glauber

[PATCH v5 04/11] cgroup, sched: deprecate cpuacct

2013-01-09 Thread Glauber Costa
From: Tejun Heo t...@kernel.org Now that cpu serves the same files as cpuacct and using cpuacct separately from cpu is deprecated, we can deprecate cpuacct. To avoid disturbing userland which has been co-mounting cpu and cpuacct, implement some hackery in cgroup core so that cpuacct co-mounting

Re: linux-next: manual merge of the tegra tree with the tree

2013-01-09 Thread Will Deacon
On Wed, Jan 09, 2013 at 02:58:16AM +, Stephen Rothwell wrote: Hi all, Today's linux-next merge of the tegra tree got a conflict in arch/arm/mach-tegra/headsmp.S between commit bc4f1bdabc89 (ARM: coresight: common definition for (OS) Lock Access Register key value) from the arm-perf tree

Re: [PATCH 1/4] gpiolib: introduce descriptor-based GPIO interface

2013-01-09 Thread Arnd Bergmann
On Wednesday 09 January 2013, Russell King - ARM Linux wrote: d = debugfs_create_dir(pm_debug, NULL); if (IS_ERR_OR_NULL(d)) return PTR_ERR(d); Well, covered above. NULL is success here. This one is actually worse, because in case of debugfs_create_dir, a

[RFC PATCH v2 1/4] uretprobes/x86: hijack return address

2013-01-09 Thread Anton Arapov
Function to hijack the return address, replace it with a trampoline and function to predict the stack pointer address value at return. v2: remove -doomed flag, kill task immediately Signed-off-by: Anton Arapov an...@redhat.com --- arch/x86/include/asm/uprobes.h | 1 +

Re: [PATCH 2/3] ARM: ux500: Turn on the 'heartbeat' LED trigger

2013-01-09 Thread Arnd Bergmann
On Wednesday 09 January 2013, Russell King - ARM Linux wrote: If so, that's wrong, as it covers many more boards than just Snowball and this is only applicable on the Snowball board. So how else can I enable this feature? And why is it wrong to enable an optional feature in a defconfig

Re: [PATCH 2/3] ARM: ux500: Turn on the 'heartbeat' LED trigger

2013-01-09 Thread Russell King - ARM Linux
On Wed, Jan 09, 2013 at 11:56:55AM +, Arnd Bergmann wrote: On Wednesday 09 January 2013, Russell King - ARM Linux wrote: If so, that's wrong, as it covers many more boards than just Snowball and this is only applicable on the Snowball board. So how else can I enable this feature?

[PATCH 1/4] ARM: EXYNOS5: Add PPMU device tree support

2013-01-09 Thread Abhilash Kesavan
PPMU is required by the devfreq driver. Add a device tree node for it. Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com Cc: Jonghwan Choi jhbird.c...@samsung.com Cc: Kukjin Kim kgene@samsung.com --- .../bindings/arm/exynos/ppmu-exynos5.txt | 28

[PATCH 2/4] ARM: EXYNOS5: Support Exynos5-bus devfreq driver

2013-01-09 Thread Abhilash Kesavan
Setup the INT clock ops to control/vary INT frequency Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com Cc: Jonghwan Choi jhbird.c...@samsung.com Cc: Kukjin Kim kgene@samsung.com --- arch/arm/mach-exynos/clock-exynos5.c | 143

Re: [Xen-devel] [PATCH v2] xen/grant-table: correctly initialize grant table version 1

2013-01-09 Thread Ian Campbell
On Wed, 2013-01-09 at 02:40 +, ANNIE LI wrote: @@ -1080,18 +1081,18 @@ static void gnttab_request_version(void) panic(we need grant tables version 2, but only version 1 is available); } else { grant_table_version = 1; + grefs_per_grant_frame =

Re: [PATCH 2/3] ARM: ux500: Turn on the 'heartbeat' LED trigger

2013-01-09 Thread Arnd Bergmann
On Wednesday 09 January 2013, Russell King - ARM Linux wrote: On Wed, Jan 09, 2013 at 11:56:55AM +, Arnd Bergmann wrote: Right. The change I suggested fixes the build errors but doesn't actually make the intended behavior correct. Just using a configuration file is the right solution

[PATCH 4/4] PM/Devfreq: Add Exynos5-bus devfreq driver for Exynos5250

2013-01-09 Thread Abhilash Kesavan
Exynos5-bus device devfreq driver monitors PPMU counters and adjusts operating frequencies and voltages with OPP. ASV should be used to provide appropriate voltages as per the speed group of the SoC rather than using a constant 1.025V. Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com Cc:

[PATCH] mm: migrate: Check page_count of THP before migrating accounting fix

2013-01-09 Thread Mel Gorman
As pointed out by Hugh Dickins, mm: migrate: Check page_count of THP before migrating can leave nr_isolated_anon elevated, correct it. This is a fix to mm-migrate-check-page_count-of-thp-before-migrating.patch Signed-off-by: Mel Gorman mgor...@suse.de --- mm/migrate.c |5 - 1 file

RE: [PATCH 1/9] mailbox: OMAP: introduce mailbox framework

2013-01-09 Thread Bedia, Vaibhav
Hi Loic, On Fri, Dec 21, 2012 at 16:23:24, Loic PALLARDY wrote: On 12/21/2012 11:49 AM, Bedia, Vaibhav wrote: On Fri, Dec 21, 2012 at 14:24:26, Loic PALLARDY wrote: I have a few patches which are dependent on this patch series. Could you please keep me in cc for the future versions.

[PATCH char-misc-next] mei: Fix some more kernel-doc typos in hw-me.c

2013-01-09 Thread Sedat Dilek
Signed-off-by: Sedat Dilek sedat.di...@gmail.com --- drivers/misc/mei/hw-me.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/misc/mei/hw-me.c b/drivers/misc/mei/hw-me.c index 93a2a56..94b203e 100644 --- a/drivers/misc/mei/hw-me.c +++ b/drivers/misc/mei/hw-me.c

Re: [PATCH 2/3] ARM: ux500: Turn on the 'heartbeat' LED trigger

2013-01-09 Thread Lee Jones
On Wed, 09 Jan 2013, Russell King - ARM Linux wrote: On Wed, Jan 09, 2013 at 11:08:40AM +, Lee Jones wrote: On Wed, 09 Jan 2013, Russell King - ARM Linux wrote: On Wed, Jan 09, 2013 at 10:18:54AM +, Arnd Bergmann wrote: On Wednesday 09 January 2013, Lee Jones wrote: diff

Re: [PATCH 05/11] spi/pxa2xx: make clock rate configurable from platform data

2013-01-09 Thread Mark Brown
On Tue, Jan 08, 2013 at 10:33:55PM +0100, Rafael J. Wysocki wrote: On 1/8/2013 2:10 PM, Mark Brown wrote: On Tue, Jan 08, 2013 at 02:41:53PM +0200, Mika Westerberg wrote: Do you mean enabling CONFIG_COMMON_CLK on x86? Yes. Why so? x86 doesn't have a notion of direct clock control, at

Re: [PATCH 1/9] mailbox: OMAP: introduce mailbox framework

2013-01-09 Thread Loic PALLARDY
Hi Vaibhav, On 01/09/2013 01:11 PM, Bedia, Vaibhav wrote: Hi Loic, On Fri, Dec 21, 2012 at 16:23:24, Loic PALLARDY wrote: On 12/21/2012 11:49 AM, Bedia, Vaibhav wrote: On Fri, Dec 21, 2012 at 14:24:26, Loic PALLARDY wrote: I have a few patches which are dependent on this patch series.

RE: [PATCH 1/9] mailbox: OMAP: introduce mailbox framework

2013-01-09 Thread Bedia, Vaibhav
On Wed, Jan 09, 2013 at 17:59:39, Loic PALLARDY wrote: Hi Vaibhav, On 01/09/2013 01:11 PM, Bedia, Vaibhav wrote: Hi Loic, On Fri, Dec 21, 2012 at 16:23:24, Loic PALLARDY wrote: On 12/21/2012 11:49 AM, Bedia, Vaibhav wrote: On Fri, Dec 21, 2012 at 14:24:26, Loic PALLARDY wrote:

Re: [PATCH 2/3] ARM: ux500: Turn on the 'heartbeat' LED trigger

2013-01-09 Thread Russell King - ARM Linux
On Wed, Jan 09, 2013 at 12:23:23PM +, Lee Jones wrote: Excuse my ignorance, but I'm a little confused by this. What's the difference between 'select OPTION' in the Kconfig and 'CONFIG_OPTION=y' in the defconfig; besides the fact that if we do it in the Kconfig file, we can be more

Re: [PATCH V2 3/3] ARM: davinci: da850: add NAND driver entries

2013-01-09 Thread Sekhar Nori
On 1/8/2013 1:50 PM, Kumar, Anil wrote: Add NAND driver entries to export NAND functionality on da850 EVM and NAND pinctrl node to do pin mux according to pinctrl-single driver. Subject line should have DT and da850 evm somewhere. Otherwise NAND has been supported on DA850 for long.

Re: [PATCH 0/5] x86,smp: make ticket spinlock proportional backoff w/ auto tuning

2013-01-09 Thread Raghavendra K T
On 01/09/2013 03:56 AM, Rik van Riel wrote: Many spinlocks are embedded in data structures; having many CPUs pounce on the cache line the lock is in will slow down the lock holder, and can cause system performance to fall off a cliff. The paper Non-scalable locks are dangerous is a good

Re: [PATCH V3 6/8] memcg: Don't account root_mem_cgroup page statistics

2013-01-09 Thread Michal Hocko
On Sat 05-01-13 18:52:12, Sha Zhengju wrote: On Wed, Jan 2, 2013 at 8:27 PM, Michal Hocko mho...@suse.cz wrote: On Wed 26-12-12 01:27:27, Sha Zhengju wrote: [...] @@ -5396,18 +5406,70 @@ static inline void mem_cgroup_lru_names_not_uptodate(void)

Re: [PATCH 2/3] ARM: ux500: Turn on the 'heartbeat' LED trigger

2013-01-09 Thread Lee Jones
Excuse my ignorance, but I'm a little confused by this. What's the difference between 'select OPTION' in the Kconfig and 'CONFIG_OPTION=y' in the defconfig; besides the fact that if we do it in the Kconfig file, we can be more selective with regards to which platform it gets enabled

Re: [PATCH v7u1 26/31] x86: Don't enable swiotlb if there is not enough ram for it

2013-01-09 Thread Konrad Rzeszutek Wilk
On Tue, Jan 08, 2013 at 04:58:14PM -0800, Eric W. Biederman wrote: Konrad Rzeszutek Wilk konrad.w...@oracle.com writes: On Tue, Jan 08, 2013 at 03:40:11PM -0800, Yinghai Lu wrote: On Mon, Jan 7, 2013 at 7:50 PM, Yinghai Lu ying...@kernel.org wrote: On Mon, Jan 7, 2013 at 7:13 PM, Eric W.

Re: [PATCH] mm: migrate: Check page_count of THP before migrating

2013-01-09 Thread Mel Gorman
On Tue, Jan 08, 2013 at 08:17:59PM -0800, Hugh Dickins wrote: On Mon, 7 Jan 2013, Mel Gorman wrote: Hugh Dickins pointed out that migrate_misplaced_transhuge_page() does not check page_count before migrating like base page migration and khugepage. He could not see why this was safe and he

Re: [PATCH v7u1 26/31] x86: Don't enable swiotlb if there is not enough ram for it

2013-01-09 Thread Konrad Rzeszutek Wilk
On Tue, Jan 08, 2013 at 05:12:02PM -0800, Yinghai Lu wrote: On Tue, Jan 8, 2013 at 5:07 PM, Yinghai Lu ying...@kernel.org wrote: On Tue, Jan 8, 2013 at 4:58 PM, Eric W. Biederman ebied...@xmission.com wrote: So instead we need to say? + if (no_iotlb_memory) +

Re: [PATCH v12 0/9] LSM: Multiple concurrent LSMs

2013-01-09 Thread James Morris
On Tue, 8 Jan 2013, John Johansen wrote: I'd say we need to see the actual use-case for Smack and Apparmor being used together, along with at least one major distro committing to support this. Ubuntu is very interested in stacking Which modules? -- James Morris jmor...@namei.org

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