Re: [PATCH 2/6] xen/pvh: Extend vcpu_guest_context, p2m, event, and xenbus to support PVH.

2012-10-23 Thread Stefano Stabellini
On Mon, 22 Oct 2012, Konrad Rzeszutek Wilk wrote: > On Mon, Oct 22, 2012 at 11:31:54AM -0700, Mukesh Rathor wrote: > > On Mon, 22 Oct 2012 14:44:40 +0100 > > Stefano Stabellini wrote: > > > > > On Sat, 20 Oct 2012, Konrad Rzeszutek Wilk wrote: > > > > From: Mukesh Rathor > > > > > > > > make

Re: [PATCH 06/19] x86, mm: setup page table in top-down

2012-10-23 Thread Stefano Stabellini
On Mon, 22 Oct 2012, Yinghai Lu wrote: > On Mon, Oct 22, 2012 at 6:19 AM, Stefano Stabellini > wrote: > > >> > The series is starting to get in good shape! > >> > I tested it on a 2G and an 8G VM and it seems to be working fine. > >> > >> domU on 32bit and 64bit? > > domU 64bit > > Can you test

Re: [PATCH 06/19] x86, mm: setup page table in top-down

2012-10-23 Thread Stefano Stabellini
On Mon, 22 Oct 2012, Yinghai Lu wrote: > On Mon, Oct 22, 2012 at 11:17 AM, Yinghai Lu wrote: > > On Mon, Oct 22, 2012 at 6:19 AM, Stefano Stabellini > > > How about put sth: > > --- > > Xen mmu requires pages from this function should be directly mapped already. > > --- > > > > or you can

Re: [PATCH 04/34] perf, x86: Support the TSX intx/intx_cp qualifiers

2012-10-23 Thread Peter Zijlstra
On Thu, 2012-10-18 at 16:19 -0700, Andi Kleen wrote: > @@ -826,7 +827,8 @@ static inline bool intel_pmu_needs_lbr_smpl(struct > perf_event *event) > return true; > > /* implicit branch sampling to correct PEBS skid */ > - if (x86_pmu.intel_cap.pebs_trap &&

Re: [PATCH 1/6] perf, x86: Basic Haswell LBR call stack support

2012-10-23 Thread Stephane Eranian
On Tue, Oct 23, 2012 at 7:41 AM, Yan, Zheng wrote: > On 10/22/2012 06:35 PM, Peter Zijlstra wrote: >> On Mon, 2012-10-22 at 14:11 +0800, Yan, Zheng wrote: >>> --- a/include/uapi/linux/perf_event.h >>> +++ b/include/uapi/linux/perf_event.h >>> @@ -160,8 +160,9 @@ enum perf_branch_sample_type { >>>

Re: [PATCH 3/6] perf, x86: Save/resotre LBR stack during context switch

2012-10-23 Thread Stephane Eranian
On Tue, Oct 23, 2012 at 6:19 AM, Yan, Zheng wrote: > On 10/22/2012 04:31 PM, Stephane Eranian wrote: >> On Mon, Oct 22, 2012 at 7:57 AM, Yan, Zheng wrote: >>> From: "Yan, Zheng" >>> >>> When the LBR call stack is enabled, it is necessary to save/restore >>> the stack on context switch. The

Re: [PATCH v2] Fix a hard coding style when determining if a device is a container.

2012-10-23 Thread Tang Chen
Hi, Would somebody give some comments ? Thanks. :) On 10/12/2012 08:31 PM, Tang Chen wrote: "ACPI0004","PNP0A05" and "PNP0A06" are all defined in array container_device_ids[], so use it, but not the hard coding style. Also, introduce a new api is_container_device() to determine if a device

Re: [PATCH 03/34] perf, x86: Basic Haswell PEBS support v2

2012-10-23 Thread Peter Zijlstra
On Thu, 2012-10-18 at 16:19 -0700, Andi Kleen wrote: > +struct event_constraint intel_hsw_pebs_event_constraints[] = { > + INTEL_UEVENT_CONSTRAINT(0x01c0, 0x2), /* INST_RETIRED.PRECDIST */ > + INTEL_UEVENT_CONSTRAINT(0x01c2, 0xf), /* UOPS_RETIRED.ALL */ > +

Re: [PATCH] perf, stat: Add --pre and --post command

2012-10-23 Thread Ingo Molnar
* Peter Zijlstra wrote: > In order to measure kernel builds, one has to do some pre/post cleanup > work in order to do the repeat build. > > So provide --pre and --post command hooks to allow doing just that. > > perf stat --repeat 10 --null --sync --pre 'make -s O=defconfig-build/ >

Re: [PATCH 01/16 v2] f2fs: add document

2012-10-23 Thread Vyacheslav Dubeyko
On Tue, 2012-10-23 at 11:25 +0900, Jaegeuk Kim wrote: > This adds a document describing the mount options, proc entries, usage, and > design of Flash-Friendly File System, namely F2FS. > > Signed-off-by: Jaegeuk Kim > --- > Documentation/filesystems/00-INDEX |2 + >

[PATCH] perf, stat: Add --pre and --post command

2012-10-23 Thread Peter Zijlstra
In order to measure kernel builds, one has to do some pre/post cleanup work in order to do the repeat build. So provide --pre and --post command hooks to allow doing just that. perf stat --repeat 10 --null --sync --pre 'make -s O=defconfig-build/ clean' -- make -s -j64 O=defconfig-build/

Re: [PATCH v4 3/4] fat (exportfs): rebuild directory-inode if fat_dget() fails

2012-10-23 Thread Namjae Jeon
2012/10/23, OGAWA Hirofumi : > Namjae Jeon writes: > >>>And this is doing same >>> thing with readdir, so we will have to clean this up as I said before. >> When I checked, I didn't understand about same thing readdir and this >> function yet. Because even though minor conditions match but >>

RE: [PATCH 3/3 v3] iommu/fsl: Freescale PAMU driver and IOMMU API implementation.

2012-10-23 Thread Sethi Varun-B16395
> -Original Message- > From: Wood Scott-B07421 > Sent: Tuesday, October 23, 2012 5:23 AM > To: Tabi Timur-B04825 > Cc: Sethi Varun-B16395; joerg.roe...@amd.com; iommu@lists.linux- > foundation.org; linuxppc-...@lists.ozlabs.org; linux- > ker...@vger.kernel.org > Subject: Re: [PATCH 3/3

RE: [PATCH 3/3 v3] iommu/fsl: Freescale PAMU driver and IOMMU API implementation.

2012-10-23 Thread Sethi Varun-B16395
> -Original Message- > From: Tabi Timur-B04825 > Sent: Tuesday, October 23, 2012 2:48 AM > To: Sethi Varun-B16395 > Cc: joerg.roe...@amd.com; io...@lists.linux-foundation.org; linuxppc- > d...@lists.ozlabs.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH 3/3 v3] iommu/fsl:

Re: [PATCH v2 1/2] Replace if statement with WARN_ON_ONCE() in cmci_rediscover().

2012-10-23 Thread Tang Chen
On 10/23/2012 05:52 PM, Borislav Petkov wrote: On Tue, Oct 23, 2012 at 10:55:13AM +0800, Tang Chen wrote: So, how about warn once, and continue: if (cpu == dying) { WARN_ON_ONCE(cpu == dying); continue; } or, use BUG_ON() instead ? Let me ask

Re: [PATCHv2] Input: omap4-keypad: Add pinctrl support

2012-10-23 Thread Thomas Petazzoni
On Tue, 23 Oct 2012 12:45:33 +0200, Linus Walleij wrote: > Hm so I have had this idea of runtime PM core helping out > with pins, so I could add something like > > pm_pins_fetch() > pm_pins_default() > pm_pins_idle() > pm_pins_sleep() > > So if one is using the pin states defined in > then

[GIT PULL] x86 fix

2012-10-23 Thread Ingo Molnar
Linus, Please pull the latest x86-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-for-linus HEAD: 235d220e1b55c1f8683fd4f59c3e8e39ba6ca915 Merge tag 'numascale_mce_fix' of git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras into

Re: [Patch v3 2/7] Regulator: DA9055 Regulator driver

2012-10-23 Thread Mark Brown
On Tue, Oct 23, 2012 at 03:32:25PM +0530, Ashish Jangam wrote: > Does this patch looks good for you? Don't top post and don't send contentless pings. I've not yet read the patch and as previously explained nagging like this just means things take longer; you'd achieve more with basic stuff like

Re: [RFC PATCH] gpiolib: add gpio get direction support

2012-10-23 Thread Mathias Nyman
On 10/23/2012 01:23 AM, Linus Walleij wrote: On Mon, Oct 22, 2012 at 3:44 PM, Mathias Nyman wrote: If the .get_direction callback is set, then gpiolib will use it for showing correct gpio direction in sysfs and debug. If not set then it will work the old way; e.g. guessing everything is

[GIT PULL] perf fixes

2012-10-23 Thread Ingo Molnar
Linus, Please pull the latest perf-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-urgent-for-linus HEAD: ef8ff74ed8dd9d4b3ba8cb9f2fc927a27c697a8b Merge branch 'tip/perf/urgent' of

[tip:numa/core] numa, mm, sched: Use down_write() in task_numa_work()

2012-10-23 Thread tip-bot for Ingo Molnar
Commit-ID: 9d6800cb12d36964a6fd4e68da06cd0c5c8d1ca0 Gitweb: http://git.kernel.org/tip/9d6800cb12d36964a6fd4e68da06cd0c5c8d1ca0 Author: Ingo Molnar AuthorDate: Sat, 20 Oct 2012 23:06:00 +0200 Committer: Ingo Molnar CommitDate: Tue, 23 Oct 2012 11:53:53 +0200 numa, mm, sched: Use

[tip:numa/core] numa, mm: Rename the PROT_NONE fault handling functions to *_numa()

2012-10-23 Thread tip-bot for Rik van Riel
Commit-ID: b3c01da073d82c8aaf3aa12f6214b64d2d1d83f8 Gitweb: http://git.kernel.org/tip/b3c01da073d82c8aaf3aa12f6214b64d2d1d83f8 Author: Rik van Riel AuthorDate: Thu, 18 Oct 2012 17:20:21 -0400 Committer: Ingo Molnar CommitDate: Tue, 23 Oct 2012 11:53:51 +0200 numa, mm: Rename the

[tip:numa/core] sched, numa: Add NUMA_MIGRATION feature flag

2012-10-23 Thread tip-bot for Ingo Molnar
Commit-ID: 496a3089b908c8c0beea77df9e753d24b1fa2237 Gitweb: http://git.kernel.org/tip/496a3089b908c8c0beea77df9e753d24b1fa2237 Author: Ingo Molnar AuthorDate: Sat, 20 Oct 2012 22:20:19 +0200 Committer: Ingo Molnar CommitDate: Tue, 23 Oct 2012 11:53:46 +0200 sched, numa: Add

Re: [PATCH v3 resend] USB: PHY: Re-organize Tegra USB PHY driver

2012-10-23 Thread Felipe Balbi
Hi, On Tue, Oct 23, 2012 at 04:23:19PM +0530, Venu Byravarasu wrote: > > -Original Message- > > From: Venu Byravarasu > > Sent: Monday, October 22, 2012 4:04 PM > > To: 'ba...@ti.com' > > Cc: st...@rowland.harvard.edu; gre...@linuxfoundation.org; linux- > > u...@vger.kernel.org;

[GIT PULL] core kernel fixes

2012-10-23 Thread Ingo Molnar
Linus, Please pull the latest core-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-urgent-for-linus HEAD: fd0587339d80dd2fea5ead7f734676c9c618eace Documentation: Reflect the new location of the NMI watchdog info Two small fixes. Thanks,

RE: [PATCH v3 resend] USB: PHY: Re-organize Tegra USB PHY driver

2012-10-23 Thread Venu Byravarasu
> -Original Message- > From: Venu Byravarasu > Sent: Monday, October 22, 2012 4:04 PM > To: 'ba...@ti.com' > Cc: st...@rowland.harvard.edu; gre...@linuxfoundation.org; linux- > u...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: RE: [PATCH v3 resend] USB: PHY: Re-organize Tegra

Re: [PATCH 2/2] slab: move kmem_cache_free to common code

2012-10-23 Thread Glauber Costa
On 10/23/2012 12:07 PM, Glauber Costa wrote: > On 10/23/2012 04:48 AM, JoonSoo Kim wrote: >> Hello, Glauber. >> >> 2012/10/23 Glauber Costa : >>> On 10/22/2012 06:45 PM, Christoph Lameter wrote: On Mon, 22 Oct 2012, Glauber Costa wrote: > + * kmem_cache_free - Deallocate an object

Re: [PATCHv2] Input: omap4-keypad: Add pinctrl support

2012-10-23 Thread Felipe Balbi
Hi, On Tue, Oct 23, 2012 at 12:45:33PM +0200, Linus Walleij wrote: > On Tue, Oct 23, 2012 at 12:29 PM, Felipe Balbi wrote: > > On Tue, Oct 23, 2012 at 12:29:28PM +0200, Linus Walleij wrote: > > >> So the biggest implementation of the notifier approach to resource > >> handling is the SH clock

Re: [PATCH RESEND] media: davinci: vpbe: fix build warning

2012-10-23 Thread Prabhakar Lad
Hi Laurent, On Mon, Oct 22, 2012 at 5:53 PM, Laurent Pinchart wrote: > Hi Prabhakar, > > On Monday 22 October 2012 17:47:51 Prabhakar Lad wrote: >> From: Lad, Prabhakar >> >> Warnings were generated because of the following commit changed data type >> for address pointer >> >> 195bbca ARM:

[PATCH 1/1] MFD: ti_tscadc: Add device tree binding for TI's TSC/ADC MFD driver

2012-10-23 Thread Patil, Rachna
Add DT binding for TI's touchscreen / ADC multifunctional driver. Usage details are added to device tree documentation and the driver was tested on AM335x EVM. This patch is based on top of [1]. [1] "Subject: [PATCH 0/3] input: ti_am335x_tsc: Remove hard coded values and add variance filter

Re: [PATCHv2] Input: omap4-keypad: Add pinctrl support

2012-10-23 Thread Linus Walleij
On Tue, Oct 23, 2012 at 12:29 PM, Felipe Balbi wrote: > On Tue, Oct 23, 2012 at 12:29:28PM +0200, Linus Walleij wrote: >> So the biggest implementation of the notifier approach to resource >> handling is the SH clock thing: >> drivers/base/power/clock_ops.c > > that's different right ? It's just

Re: [PATCH] ACPI video: Ignore errors after _DOD evaluation.

2012-10-23 Thread Zhang Rui
On 六, 2012-10-13 at 04:41 +0400, Igor Murzov wrote: > There are systems where video module known to work fine regardless > of broken _DOD and ignoring returned value here doesn't cause > any issues later. This should fix brightness controls on some laptops. > > Bugzilla:

Re: [PATCHv2] Input: omap4-keypad: Add pinctrl support

2012-10-23 Thread Felipe Balbi
Hi, On Tue, Oct 23, 2012 at 12:29:28PM +0200, Linus Walleij wrote: > On Tue, Oct 23, 2012 at 12:23 PM, Thomas Petazzoni > wrote: > > > > On Tue, 23 Oct 2012 13:03:33 +0300, Felipe Balbi wrote: > > > >> > But it appears that shmobile prefer to get all resources using > >> > bus notifiers. > >> >

Re: [PATCH] mm: make zone_pcp_reset independ on MEMORY_HOTREMOVE

2012-10-23 Thread Yasuaki Ishimatsu
2012/10/23 18:37, Michal Hocko wrote: > 340175b7 (mm/hotplug: free zone->pageset when a zone becomes empty) > introduced zone_pcp_reset and hided it inside CONFIG_MEMORY_HOTREMOVE. > The function is since 506e5fb7 (memory-hotplug: allocate zone's pcp > before onlining pages) called also called

Re: [PATCH] vlan: set sysfs device_type to 'vlan'

2012-10-23 Thread Kay Sievers
On Tue, Oct 23, 2012 at 8:36 AM, David Miller wrote: > From: Doug Goldstein > Date: Mon, 22 Oct 2012 00:53:57 -0500 > >> Sets the sysfs device_type to 'vlan' for udev. This makes it easier for >> applications that query network information via udev to identify vlans >> instead of using

Re: [PATCH v2 1/3] mm: highmem: export kmap_to_page for modules

2012-10-23 Thread Will Deacon
On Tue, Oct 23, 2012 at 12:55:57AM +0100, Rusty Russell wrote: > Will Deacon writes: > > > Some virtio device drivers (9p) need to translate high virtual addresses > > to physical addresses, which are inserted into the virtqueue for > > processing by userspace. > > > > This patch exports the

Re: [PATCH v2 1/2] Replace if statement with WARN_ON_ONCE() in cmci_rediscover().

2012-10-23 Thread Miao Xie
On tue, 23 Oct 2012 12:20:08 +0200, Borislav Petkov wrote: > On Tue, Oct 23, 2012 at 06:17:31PM +0800, Miao Xie wrote: >> This function is called after a cpu is offline, in other words, it is >> impossible that the cpu is still in cpu_online_mask. otherwise there >> is something wrong in the code.

Re: [PATCH v2 00/12] memory-hotplug: hot-remove physical memory

2012-10-23 Thread Wen Congyang
At 10/23/2012 06:30 PM, Ni zhan Chen Wrote: > On 10/23/2012 06:30 PM, we...@cn.fujitsu.com wrote: >> From: Wen Congyang > > The patchset doesn't support kernel memory hot-remove, correct? If the > answer is yes, you should point out in your patchset changelog. The answer is no. If you only

Re: [PATCH v2 00/12] memory-hotplug: hot-remove physical memory

2012-10-23 Thread Ni zhan Chen
On 10/23/2012 06:30 PM, we...@cn.fujitsu.com wrote: From: Wen Congyang The patchset doesn't support kernel memory hot-remove, correct? If the answer is yes, you should point out in your patchset changelog. The patch-set was divided from following thread's patch-set.

Re: [PATCHv2] Input: omap4-keypad: Add pinctrl support

2012-10-23 Thread Linus Walleij
On Tue, Oct 23, 2012 at 12:23 PM, Thomas Petazzoni wrote: > > On Tue, 23 Oct 2012 13:03:33 +0300, Felipe Balbi wrote: > >> > But it appears that shmobile prefer to get all resources using >> > bus notifiers. >> > >> > So we need to form some kind of consensus ... or live with >> > the fact that

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

2012-10-23 Thread wency
From: Wen Congyang 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 /sys/devices/system/memory/. If CONFIG_MEMCG

[PATCH v2 03/12] memory-hotplug: remove redundant codes

2012-10-23 Thread wency
From: Wen Congyang offlining memory blocks and checking whether memory blocks are offlined are very similar. This patch introduces a new function to remove redundant codes. CC: David Rientjes CC: Jiang Liu CC: Len Brown CC: Christoph Lameter Cc: Minchan Kim CC: Andrew Morton CC: KOSAKI

[PATCH v2 06/12] memory-hotplug: unregister memory section on SPARSEMEM_VMEMMAP

2012-10-23 Thread wency
From: Yasuaki Ishimatsu Currently __remove_section for SPARSEMEM_VMEMMAP does nothing. But even if we use SPARSEMEM_VMEMMAP, we can unregister the memory_section. So the patch add unregister_memory_section() into __remove_section(). CC: David Rientjes CC: Jiang Liu CC: Len Brown CC:

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

2012-10-23 Thread wency
From: Wen Congyang 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 (I don't know how

[PATCH v2 07/12] memory-hotplug: implement register_page_bootmem_info_section of sparse-vmemmap

2012-10-23 Thread wency
From: Yasuaki Ishimatsu 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 get_page_bootmem(). Note:

[PATCH v2 08/12] memory-hotplug: remove memmap of sparse-vmemmap

2012-10-23 Thread wency
From: Yasuaki Ishimatsu All pages of virtual mapping in removed memory cannot be freed, since some pages used as PGD/PUD includes not only removed memory but also other memory. So the patch checks whether page can be freed or not. How to check whether page can be freed or not? 1. When removing

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

2012-10-23 Thread wency
From: Yasuaki Ishimatsu 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 must be offlined before removing

[PATCH v2 11/12] memory-hotplug: remove sysfs file of node

2012-10-23 Thread wency
From: Wen Congyang 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. CC: David Rientjes CC: Jiang Liu CC: Len Brown CC:

[PATCH v2 09/12] memory-hotplug: remove page table of x86_64 architecture

2012-10-23 Thread wency
From: Wen Congyang For hot removing memory, we sholud remove page table about the memory. So the patch searches a page table about the removed memory, and clear page table. CC: David Rientjes CC: Jiang Liu CC: Len Brown CC: Christoph Lameter Cc: Minchan Kim CC: Andrew Morton CC: KOSAKI

Re: mmotm 2012-10-22-17-08 uploaded (memory_hotplug.c)

2012-10-23 Thread Michal Hocko
On Mon 22-10-12 21:40:09, Randy Dunlap wrote: > On 10/22/2012 05:09 PM, a...@linux-foundation.org wrote: > > > The mm-of-the-moment snapshot 2012-10-22-17-08 has been uploaded to > > > >http://www.ozlabs.org/~akpm/mmotm/ > > > > mmotm-readme.txt says > > > > README for mm-of-the-moment: >

[PATCH v2 12/12] memory-hotplug: free node_data when a node is offlined

2012-10-23 Thread wency
From: Wen Congyang We call hotadd_new_pgdat() to allocate memory to store node_data. So we should free it when removing a node. CC: David Rientjes CC: Jiang Liu CC: Len Brown CC: Benjamin Herrenschmidt CC: Paul Mackerras CC: Christoph Lameter Cc: Minchan Kim CC: Andrew Morton CC: KOSAKI

[PATCH v2 04/12] memory-hotplug: remove /sys/firmware/memmap/X sysfs

2012-10-23 Thread wency
From: Yasuaki Ishimatsu 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 firmware_map_entry which is allocated by

[PATCH v2 10/12] memory-hotplug: memory_hotplug: clear zone when removing the memory

2012-10-23 Thread wency
From: Yasuaki Ishimatsu 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. CC: David Rientjes CC: Jiang Liu CC: Len Brown

[PATCH v2 00/12] memory-hotplug: hot-remove physical memory

2012-10-23 Thread wency
From: Wen Congyang The patch-set was divided from following thread's patch-set. https://lkml.org/lkml/2012/9/5/201 The last version of this patchset: https://lkml.org/lkml/2012/10/5/469 If you want to know the reason, please read following thread. https://lkml.org/lkml/2012/10/2/83 The

Re: [PATCHv2] Input: omap4-keypad: Add pinctrl support

2012-10-23 Thread Thomas Petazzoni
On Tue, 23 Oct 2012 13:03:33 +0300, Felipe Balbi wrote: > > But it appears that shmobile prefer to get all resources using > > bus notifiers. > > > > So we need to form some kind of consensus ... or live with > > the fact that different systems do it different ways. Which will > > explode the

Re: [PATCH] mm: make zone_pcp_reset independ on MEMORY_HOTREMOVE

2012-10-23 Thread Michal Hocko
On Tue 23-10-12 18:14:28, Wen Congyang wrote: > At 10/23/2012 05:37 PM, Michal Hocko Wrote: > > 340175b7 (mm/hotplug: free zone->pageset when a zone becomes empty) > > introduced zone_pcp_reset and hided it inside CONFIG_MEMORY_HOTREMOVE. > > The function is since 506e5fb7 (memory-hotplug:

Re: [PATCH v2 1/2] Replace if statement with WARN_ON_ONCE() in cmci_rediscover().

2012-10-23 Thread Borislav Petkov
On Tue, Oct 23, 2012 at 06:17:31PM +0800, Miao Xie wrote: > This function is called after a cpu is offline, in other words, it is > impossible that the cpu is still in cpu_online_mask. otherwise there > is something wrong in the code. And? Are you answering my question or explaining the code

RE: [PATCH 2/4] mtd: devices: elm: Add support for ELM error correction

2012-10-23 Thread Philip, Avinash
On Tue, Oct 16, 2012 at 01:10:47, Peter Korsgaard wrote: > > Philip, Avinash writes: > > > Platforms containing the ELM module can be used to correct errors > > reported by BCH 4, 8 & 16 bit ECC scheme. For now only 4 & 8 bit > > support is added. > > This sounds odd to me. What about

RE: [PATCH 3/4] ARM: OMAP2: gpmc: Add support for BCH ECC scheme

2012-10-23 Thread Philip, Avinash
On Tue, Oct 16, 2012 at 00:18:30, Peter Korsgaard wrote: > > Philip, Avinash writes: > > > Add support for BCH ECC scheme to gpmc driver and also enabling multi > > sector read/write. This helps in doing single shot NAND page read and > > write. > > > ECC engine configurations > > BCH

RE: [PATCH 1/4] mtd: nand: omap2: Update nerrors using ecc.strength

2012-10-23 Thread Philip, Avinash
On Tue, Oct 16, 2012 at 00:26:40, Peter Korsgaard wrote: > > Philip, Avinash writes: > > > Update number of errors using nand ecc strength. > > Also add macro definitions BCH8_ERROR_MAX & BCH4_ERROR_MAX > > > Signed-off-by: Philip, Avinash > > --- > > :100644 100644 5b31386...

RE: [PATCH 2/2] mmc: sdhci: Defer probe if regulator_get fails

2012-10-23 Thread Pavan Kunapuli
For platforms where the board can control vmmc or vqmmc, if the regulator supplies registration is not done before sdhci probe, deferring sdhci probe would ensure that the regulators are available the next time around. For platforms where the board can't control vmmc or vqmmc, we can have a

Re: [PATCH v2 1/2] Replace if statement with WARN_ON_ONCE() in cmci_rediscover().

2012-10-23 Thread Miao Xie
On tue, 23 Oct 2012 11:52:34 +0200, Borislav Petkov wrote: > On Tue, Oct 23, 2012 at 10:55:13AM +0800, Tang Chen wrote: >> So, how about warn once, and continue: >> if (cpu == dying) { >> WARN_ON_ONCE(cpu == dying); >> continue; >> } >> >> or, use BUG_ON()

Re: process hangs on do_exit when oom happens

2012-10-23 Thread Michal Hocko
On Tue 23-10-12 18:10:33, Qiang Gao wrote: > On Tue, Oct 23, 2012 at 5:50 PM, Michal Hocko wrote: > > On Tue 23-10-12 15:18:48, Qiang Gao wrote: > >> This process was moved to RT-priority queue when global oom-killer > >> happened to boost the recovery of the system.. > > > > Who did that? oom

Re: [PATCH 1/6] perf, x86: Basic Haswell LBR call stack support

2012-10-23 Thread Peter Zijlstra
On Tue, 2012-10-23 at 13:41 +0800, Yan, Zheng wrote: > On 10/22/2012 06:35 PM, Peter Zijlstra wrote: > > On Mon, 2012-10-22 at 14:11 +0800, Yan, Zheng wrote: > >> --- a/include/uapi/linux/perf_event.h > >> +++ b/include/uapi/linux/perf_event.h > >> @@ -160,8 +160,9 @@ enum perf_branch_sample_type

Re: [PATCH v2] mm: thp: Set the accessed flag for old pages on access fault.

2012-10-23 Thread Will Deacon
On Mon, Oct 22, 2012 at 07:18:43PM +0100, Andrew Morton wrote: > On Mon, 22 Oct 2012 11:35:03 +0100 > Will Deacon wrote: > > > On Fri, Oct 19, 2012 at 07:49:55PM +0100, Andrew Morton wrote: > > > Ho hum. I'll drop > > > mm-thp-set-the-accessed-flag-for-old-pages-on-access-fault.patch and > > >

Re: [PATCH 2/2] mmc: sdhci: Defer probe if regulator_get fails

2012-10-23 Thread Jaehoon Chung
I didn't understand why defer the probe? I think that some board can't control vqmmc or vmmc. Best Regards, Jaehoon Chung On 10/23/2012 04:18 PM, Pavan Kunapuli wrote: > vmmc and vqmmc regulators control the voltage to > the host and device. Defer the probe if either of > them is not registered.

Re: [PATCH] arm: sched: stop sched_clock() during suspend

2012-10-23 Thread Linus Walleij
On Mon, Oct 22, 2012 at 1:54 PM, Felipe Balbi wrote: > The scheduler imposes a requirement to sched_clock() > which is to stop the clock during suspend, if we don't > do that IRQ threads will be rescheduled in the future > which might cause transfers to timeout depending on > how driver is

Re: [PATCH 0/9] Staging: winbond: Fixed coding style issues

2012-10-23 Thread Adil Mujeeb
On Tue, Oct 23, 2012 at 2:04 AM, Greg KH wrote: > On Fri, Oct 12, 2012 at 10:07:06PM +0530, Adil Mujeeb wrote: >> >> winbond directory files have lots of coding style issues. The patch set >> tries to remove *most* (if not all) of the coding style issues. >> checkpatch.pl script is still

Re: process hangs on do_exit when oom happens

2012-10-23 Thread Qiang Gao
On Tue, Oct 23, 2012 at 5:50 PM, Michal Hocko wrote: > On Tue 23-10-12 15:18:48, Qiang Gao wrote: >> This process was moved to RT-priority queue when global oom-killer >> happened to boost the recovery of the system.. > > Who did that? oom killer doesn't boost the priority (scheduling class) >

Re: [PATCHv2] Input: omap4-keypad: Add pinctrl support

2012-10-23 Thread Felipe Balbi
Hi, On Tue, Oct 23, 2012 at 12:04:01PM +0200, Linus Walleij wrote: > On Tue, Oct 23, 2012 at 11:35 AM, Benoit Cousson wrote: > > On 10/23/2012 11:13 AM, Linus Walleij wrote: > > >> So Sourav, please tell us a bit about your plans for this > >> and other drivers! > > > > Yeah, this idea is to

Re: [PATCH] mm: make zone_pcp_reset independ on MEMORY_HOTREMOVE

2012-10-23 Thread Wen Congyang
At 10/23/2012 05:37 PM, Michal Hocko Wrote: > 340175b7 (mm/hotplug: free zone->pageset when a zone becomes empty) > introduced zone_pcp_reset and hided it inside CONFIG_MEMORY_HOTREMOVE. > The function is since 506e5fb7 (memory-hotplug: allocate zone's pcp > before onlining pages) called also

Re: [PATCHv2] Input: omap4-keypad: Add pinctrl support

2012-10-23 Thread Linus Walleij
On Tue, Oct 23, 2012 at 11:35 AM, Benoit Cousson wrote: > On 10/23/2012 11:13 AM, Linus Walleij wrote: >> So Sourav, please tell us a bit about your plans for this >> and other drivers! > > Yeah, this idea is to handle pinctrl from all the drivers, and > potentially change the mode during

Re: [Patch v3 3/7] RTC: DA9055 RTC driver

2012-10-23 Thread Ashish Jangam
Does this patch looks good? On Thu, 2012-10-11 at 16:10 +0530, Ashish Jangam wrote: > This is the RTC patch for the DA9055 PMIC. This patch has got dependency on > the DA9055 MFD core. > > This patch is functionally tested on Samsung SMDKV6410. > > Signed-off-by: David Dajun Chen >

Re: [Patch v3 2/7] Regulator: DA9055 Regulator driver

2012-10-23 Thread Ashish Jangam
Does this patch looks good for you? On Thu, 2012-10-11 at 15:39 +0530, Ashish Jangam wrote: > This is the Regulator patch for the DA9055 PMIC and has got dependency on > the DA9055 MFD core. > > This patch support all of the DA9055 regulators. The output voltages are > fully programmable through

Re: [Pv-drivers] 3.7-rc2 regression : file copied to CIFS-mounted directory corrupted

2012-10-23 Thread Shreyas Bhatewara
Well, actually the driver does split large frags into frags of VMXNET3_MAX_TX_BUF_SIZE bytes each. vmxnet3_drv.c 711 while (len) { 712 u32 buf_size; 713 714 if (len < VMXNET3_MAX_TX_BUF_SIZE) { 715 buf_size = len; 716

Re: [Patch v4 7/7] Onkey: DA9055 Onkey driver

2012-10-23 Thread Ashish Jangam
Does this patch looks good? On Fri, 2012-10-12 at 15:02 +0530, Ashish Jangam wrote: > This is the ONKEY driver of the Dialog DA9055 PMIC and depends on the DA9055 > MFD > core driver. > > This patch is functionally tested on SMDK6410 board. > > Signed-off-by: David Dajun Chen > Signed-off-by:

Re: [Intel-gfx] drm_kms_helper problems

2012-10-23 Thread Mark Hounschell
On 10/23/2012 02:36 AM, Bruno Prémont wrote: On Mon, 22 Oct 2012 17:54:26 Mark Hounschell wrote: Another interesting thing. I changed the boot file to only "video=HDMI-A-1:e" and the monitor on the DVI port complains about the resolution being to high. I then put the hdmi cable onto my dvi/hdmi

Re: ext3 issue on 3.6.1

2012-10-23 Thread Jan Kara
On Mon 22-10-12 18:18:10, Fabio Coatti wrote: > 2012/10/22 Jan Kara : > > On Mon 22-10-12 18:01:56, Fabio Coatti wrote: > >> 2012/10/22 Jan Kara : > >> >> Uhu, my fault, I was sure to have answered to your request, sorry. > >> >> So yes, we have an ext3 R/O partition mounted on that machine. The >

Re: [PATCH RESEND] ARM: dm365: replace V4L2_OUT_CAP_CUSTOM_TIMINGS with V4L2_OUT_CAP_DV_TIMINGS

2012-10-23 Thread Prabhakar Lad
Hi Sergei, On Tue, Oct 23, 2012 at 3:18 PM, Sergei Shtylyov wrote: > Hello. > > > On 22-10-2012 16:12, Prabhakar Lad wrote: > >> From: Lad, Prabhakar > > >> This patch replaces V4L2_OUT_CAP_CUSTOM_TIMINGS macro with >> V4L2_OUT_CAP_DV_TIMINGS. As V4L2_OUT_CAP_CUSTOM_TIMINGS is being phased >>

Re: [PATCH 2/3] PWM: vt8500: Update vt8500 PWM driver support

2012-10-23 Thread Thierry Reding
On Tue, Oct 23, 2012 at 10:31:28AM +0100, Russell King - ARM Linux wrote: > On Tue, Oct 23, 2012 at 11:22:47AM +0200, Thierry Reding wrote: > > On Tue, Oct 23, 2012 at 09:41:46PM +1300, Tony Prisk wrote: > > > Further to the discussion, my preference is still for of_clk_get() > > > (although I've

Re: [PATCH] serial: 8250 check iir rdi in interrupt

2012-10-23 Thread Alan Cox
> Added module parameter skip_rdi_check to opt out this workaround. NAK. Anything like this should be runtime. > Tested on Radisys ATCA 46XX which uses FPGA 16550-compatible and > other generic 16550 UART. It takes from an hour to days to reproduce by > pumping inputs to serial console

Re: [PATCH 2/2] Documentation: Describe Device Tree bindings for GPIO Regulator driver

2012-10-23 Thread Lee Jones
On Tue, 23 Oct 2012, Mark Brown wrote: > On Mon, Oct 15, 2012 at 02:17:00PM +0100, Lee Jones wrote: > > Here we specify all non-standard bindings which can be used when > > requesting the use of an GPIO controlled regulator from Device Tree. > > > > Mark Brown > > Signed-off-by: Lee Jones > >

[PATCH] clk: Make the generic clock API available by default

2012-10-23 Thread Mark Brown
Rather than requiring platforms to select the generic clock API to make it available make the API available as a user selectable option unless the user either selects HAVE_CUSTOM_CLK (if they have their own implementation) or selects COMMON_CLK (if they depend on the generic implementation). All

Re: [PATCH v2 1/2] Replace if statement with WARN_ON_ONCE() in cmci_rediscover().

2012-10-23 Thread Borislav Petkov
On Tue, Oct 23, 2012 at 10:55:13AM +0800, Tang Chen wrote: > So, how about warn once, and continue: > if (cpu == dying) { > WARN_ON_ONCE(cpu == dying); > continue; > } > > or, use BUG_ON() instead ? Let me ask you again, but I want you to think real hard

BUG: enabling psacct breaks fsfreeze

2012-10-23 Thread Nikola Ciprich
Hi, while trying to create consistent backups of KVM guest, I've discovered that fsfreeze always hangs.. deeper investigation revealed psacct to be the culprit. When psacct is disabled, fsfreeze works fine, when enabled, the command never returns. I suppose that the problem is /var is not on

RE: [PATCH v4 1/1] Input: serio - Add ARC PS/2 driver

2012-10-23 Thread Mischa Jonker
Hi Dmitry, > > This adds support for the PS/2 block that is used in various ARC FPGA > > platforms. > Applied with minor edits, please take a look at my 'next' branch and holler > if you see something wrong. Looks good & works fine, thanks for applying! > BTW, does the patch below work for

Re: process hangs on do_exit when oom happens

2012-10-23 Thread Michal Hocko
On Tue 23-10-12 15:18:48, Qiang Gao wrote: > This process was moved to RT-priority queue when global oom-killer > happened to boost the recovery of the system.. Who did that? oom killer doesn't boost the priority (scheduling class) AFAIK. > but it wasn't get properily dealt with. I still have no

Re: [PATCH v5] posix timers: allocate timer id per process

2012-10-23 Thread Thomas Gleixner
B1;2601;0cOn Tue, 23 Oct 2012, Stanislav Kinsbursky wrote: > Patch replaces global idr with global hash table for posix timers and > makes timer ids unique not globally, but per process. Next free timer id is > type of integer and stored on signal struct (posix_timer_id). If free timer id >

Re: [PATCH RESEND] ARM: dm365: replace V4L2_OUT_CAP_CUSTOM_TIMINGS with V4L2_OUT_CAP_DV_TIMINGS

2012-10-23 Thread Sergei Shtylyov
Hello. On 22-10-2012 16:12, Prabhakar Lad wrote: From: Lad, Prabhakar This patch replaces V4L2_OUT_CAP_CUSTOM_TIMINGS macro with V4L2_OUT_CAP_DV_TIMINGS. As V4L2_OUT_CAP_CUSTOM_TIMINGS is being phased out. Signed-off-by: Lad, Prabhakar Signed-off-by: Manjunath Hadli Cc: Sekhar Nori

Re: [PATCH] clk: Make the generic clock API available by default

2012-10-23 Thread Mark Brown
On Mon, Oct 22, 2012 at 09:56:54AM -0600, Stephen Warren wrote: > Since v3.7-rc1, Tegra uses common clock, so I don't think the change > above is right is it? No, updated. It really shouldn't take multiple kernel releases to get something like this done... signature.asc Description: Digital

[PATCH] pinctrl/nomadik: pass DT node to the irqdomain

2012-10-23 Thread Linus Walleij
From: Linus Walleij When creating the simple irqdomain, pass the DT node pointer along, as is apropriate. Cc: Lee Jones Reported-by: Gabriel Fernandez Signed-off-by: Linus Walleij --- drivers/pinctrl/pinctrl-nomadik.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH 0/1] staging: Add firewire-serial driver

2012-10-23 Thread Alan Cox
> 1. The ldisc drops the contents of tty_buffer on hangup (rather than > waiting for completion). Maybe for other devices this isn't so > noticeable because the ldisc can mostly keep up with the device, but on > firewire the ldisc lags well behind. Right now, this driver works around > this by

Re: [PATCH 2/2] Documentation: Describe Device Tree bindings for GPIO Regulator driver

2012-10-23 Thread Mark Brown
On Mon, Oct 15, 2012 at 02:17:00PM +0100, Lee Jones wrote: > Here we specify all non-standard bindings which can be used when > requesting the use of an GPIO controlled regulator from Device Tree. > > Mark Brown > Signed-off-by: Lee Jones The reason I didn't get this patch is that you didn't

Re: [PATCH] Staging: android: binder: Fixed multi-line strings

2012-10-23 Thread Anmol Sarma
>From 949ecac6fcd58ffa6d02f6761058dbcfb1c2ba42 Mon Sep 17 00:00:00 2001 From: Anmol Sarma Date: Tue, 23 Oct 2012 13:47:14 +0530 Subject: [PATCH] Staging: android: binder: Strings cleanup Changed all user visible multi-line stings to single line. Removed 'binder:' prefix on strings.

Re: [PATCH 1/2] firmware: Convert firmware path setup from an array to a list

2012-10-23 Thread Dimitris Papastamos
On Mon, Oct 22, 2012 at 08:42:02AM -0700, Greg Kroah-Hartman wrote: > On Wed, Oct 10, 2012 at 11:56:24AM +0100, Dimitris Papastamos wrote: > > In preparation to support dynamic listing/updating of firmware > > paths via procfs, this patch converts the firmware path configuration > > from an array

Re: process hangs on do_exit when oom happens

2012-10-23 Thread Michal Hocko
On Tue 23-10-12 17:08:40, Qiang Gao wrote: > this is just an example to show how to reproduce. actually,the first time I > saw > this situation was on a machine with 288G RAM with many tasks running and > we limit 30G for each. but finanlly, no one exceeds this limit the the system > oom. Yes

[PATCH] mm: make zone_pcp_reset independ on MEMORY_HOTREMOVE

2012-10-23 Thread Michal Hocko
340175b7 (mm/hotplug: free zone->pageset when a zone becomes empty) introduced zone_pcp_reset and hided it inside CONFIG_MEMORY_HOTREMOVE. The function is since 506e5fb7 (memory-hotplug: allocate zone's pcp before onlining pages) called also called from online_pages which is called outside

Re: [PATCHv2] Input: omap4-keypad: Add pinctrl support

2012-10-23 Thread Benoit Cousson
Hi Linus, On 10/23/2012 11:13 AM, Linus Walleij wrote: > On Mon, Oct 22, 2012 at 5:50 PM, Dmitry Torokhov > wrote: >> Hi Sourav, >> >> On Mon, Oct 22, 2012 at 06:43:00PM +0530, Sourav Poddar wrote: >>> Adapt keypad to use pinctrl framework. >>> >>> Tested on omap4430 sdp with 3.7-rc1 kernel. >>

Re: [PATCH 11/16 v2] f2fs: add inode operations for special inodes

2012-10-23 Thread Marco Stornelli
2012/10/23 Jaegeuk Kim : >> 2012/10/23 Jaegeuk Kim : >> > >> >> -Original Message- >> >> From: Marco Stornelli [mailto:marco.storne...@gmail.com] >> >> Sent: Tuesday, October 23, 2012 4:02 PM >> >> To: Jaegeuk Kim >> >> Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; >>

Re: [PATCH 2/3] PWM: vt8500: Update vt8500 PWM driver support

2012-10-23 Thread Russell King - ARM Linux
On Tue, Oct 23, 2012 at 11:22:47AM +0200, Thierry Reding wrote: > On Tue, Oct 23, 2012 at 09:41:46PM +1300, Tony Prisk wrote: > > Further to the discussion, my preference is still for of_clk_get() > > (although I've changed the patch anyway as you saw because it makes no > > difference in this

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