Re: [PATCH 1/3] HWPOISON, hugetlbfs: fix warning on freeing hwpoisoned hugepage

2012-12-06 Thread Aneesh Kumar K.V
Naoya Horiguchi writes: > On Fri, Dec 07, 2012 at 11:06:41AM +0530, Aneesh Kumar K.V wrote: > ... >> > From: Naoya Horiguchi >> > Date: Thu, 6 Dec 2012 20:54:30 -0500 >> > Subject: [PATCH v2] HWPOISON, hugetlbfs: fix warning on freeing hwpoisoned >> > hugepage >> > >> > This patch fixes the

Re: [PATCH] MCE: fix an error of mce_bad_pages statistics

2012-12-06 Thread Borislav Petkov
On Fri, Dec 07, 2012 at 03:35:15PM +0800, Xishi Qiu wrote: > Hi Borislav, you mean we should move this to the beginning of > soft_offline_page()? > > soft_offline_page() > { > ... > get_any_page() > ... > /* >* Synchronized using the page lock with

Re: [RFC PATCH 1/8] mm, vmalloc: change iterating a vmlist to find_vm_area()

2012-12-06 Thread Pekka Enberg
On Thu, Dec 6, 2012 at 6:09 PM, Joonsoo Kim wrote: > The purpose of iterating a vmlist is finding vm area with specific > virtual address. find_vm_area() is provided for this purpose > and more efficient, because it uses a rbtree. > So change it. You no longer take the 'vmlist_lock'. This is

Re: [PATCH] MCE: fix an error of mce_bad_pages statistics

2012-12-06 Thread Xishi Qiu
On 2012/12/7 15:25, Borislav Petkov wrote: > On Fri, Dec 07, 2012 at 10:53:41AM +0800, Xishi Qiu wrote: >> On x86 platform, if we use "/sys/devices/system/memory/soft_offline_page" to >> offline a >> free page twice, the value of mce_bad_pages will be added twice. So this is >> an error, >>

[PATCH] vfio powerpc: enabled on powernv platform

2012-12-06 Thread Alexey Kardashevskiy
This patch initializes IOMMU groups based on the IOMMU configuration discovered during the PCI scan on POWERNV (POWER non virtualized) platform. The IOMMU groups are to be used later by VFIO driver (PCI pass through). It also implements an API for mapping/unmapping pages for guest PCI drivers and

[PATCH] perf report: Add option to collapse undesired parts of call graph

2012-12-06 Thread Greg Price
If an application has an expensive function implemented with a large tree of calls to helper functions, the default call-graph presentation will be dominated by the many different call-chains within that function. By treating the function as a black box, we can collect the call-chains leading

[PATCH] vfio powerpc: implemented IOMMU driver for VFIO

2012-12-06 Thread Alexey Kardashevskiy
VFIO implements platform independent stuff such as a PCI driver, BAR access (via read/write on a file descriptor or direct mapping when possible) and IRQ signaling. The platform dependent part includes IOMMU initialization and handling. This patch implements an IOMMU driver for VFIO which does

Re: [PATCH] MCE: fix an error of mce_bad_pages statistics

2012-12-06 Thread Borislav Petkov
On Fri, Dec 07, 2012 at 10:53:41AM +0800, Xishi Qiu wrote: > On x86 platform, if we use "/sys/devices/system/memory/soft_offline_page" to > offline a > free page twice, the value of mce_bad_pages will be added twice. So this is > an error, > since the page was already marked HWPoison, we should

RE: [v2 PATCH 6/8] watchdog/at91sam9_wdt: Use module_platform_driver()

2012-12-06 Thread Yang, Wenyou
Hi, > -Original Message- > From: Sergei Shtylyov [mailto:sshtyl...@mvista.com] > Sent: 2012年12月7日 2:16 > To: Yang, Wenyou > Cc: linux-arm-ker...@lists.infradead.org; linux-watch...@vger.kernel.org; > Lin, JM; > Ferre, Nicolas; linux-kernel@vger.kernel.org; w...@iguana.be; >

Re: [PATCH 0/8] PCI, ACPI, x86: Reserve fw allocated resource for hot-add root bus

2012-12-06 Thread Yinghai Lu
On Sat, Nov 3, 2012 at 9:39 PM, Yinghai Lu wrote: > For root bus hot add, fw could assign some resource for the devices for > that root bus before notifying os via acpi, we should check and use those > resources at first just like we do for booting path. > > At first, we need to refactor x86 pci

Re: [v2 PATCH 07/14] spi/atmel_spi: add DT support

2012-12-06 Thread Jean-Christophe PLAGNIOL-VILLARD
On 15:53 Tue 04 Dec , Wenyou Yang wrote: > From: Jean-Christophe PLAGNIOL-VILLARD > > The atmel_spi use only gpio for chip select. no this patch need go on the TOP of mine that is plan for 3.8 Best Regards, J. > > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD > [wenyou.y...@atmel.com:

Re: [Patch v4 09/12] memory-hotplug: remove page table of x86_64 architecture

2012-12-06 Thread Jianguo Wu
On 2012/12/7 14:43, Tang Chen wrote: > On 11/27/2012 06:00 PM, Wen Congyang wrote: >> 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. > > (snip) > >> +void __meminit >>

Re: [PATCH 6/6 v9] cpufreq, highbank: add support for highbank cpufreq

2012-12-06 Thread Mike Turquette
On Thu, Dec 6, 2012 at 2:42 PM, Mark Langsdorf wrote: > Highbank processors depend on the external ECME to perform voltage > management based on a requested frequency. Communication between the > A9 cores and the ECME happens over the pl320 IPC channel. > > Signed-off-by: Mark Langsdorf >

Re: [PATCH] vhost-blk: Add vhost-blk support v6

2012-12-06 Thread Asias He
On 12/06/2012 09:00 PM, Michael S. Tsirkin wrote: > On Sun, Dec 02, 2012 at 09:33:53AM +0800, Asias He wrote: >> diff --git a/drivers/vhost/Kconfig.blk b/drivers/vhost/Kconfig.blk >> new file mode 100644 >> index 000..ff8ab76 >> --- /dev/null >> +++ b/drivers/vhost/Kconfig.blk >> @@ -0,0 +1,10

A typo about kernelcore= ?

2012-12-06 Thread Han Pingtian
Hi there, I'm wondering this is a typo in Documentation/kernel-parameters.txt about "kernelcore=": In the event, a node is too small to have both kernelcore and Movable pages, kernelcore pages will take priority and other nodes will have a larger number of kernelcore

Re: [RFC] gpiolib: introduce descriptor-based GPIO interface

2012-12-06 Thread Alex Courbot
Hi Guenter, On Friday 07 December 2012 10:49:47 Guenter Roeck wrote: > My own idea for a solution was to keep integer based handles, but replace > gpio_desc[] with a hash table. But ultimately I don't really care how > it is done. > > Do you have a solution for gpiochip_find_base() in mind, and

Re: [v2 PATCH 13/14] ARM: dts: add spi nodes for atmel SoC

2012-12-06 Thread Jean-Christophe PLAGNIOL-VILLARD
On 17:37 Thu 06 Dec , ludovic.desroches wrote: > Hi, > > On 12/04/2012 08:53 AM, Wenyou Yang wrote: > >From: Richard Genoud > > > >Signed-off-by: Richard Genoud > >[wenyou.y...@atmel.com: add spi nodes for other atmel SOC] > >Signed-off-by: Wenyou Yang > >Cc: li...@arm.linux.org.uk > >---

Re: kexec and struct boot_params

2012-12-06 Thread Yinghai Lu
On Wed, Dec 5, 2012 at 7:12 PM, Yinghai Lu wrote: > On Wed, Dec 5, 2012 at 5:57 PM, H. Peter Anvin wrote: >> Hi Eric, >> >> Could you give a list of struct boot_params field which are initialized >> properly by kexec? I think we need to do the sentinel hack, and want to >> know what to

Re: [PATCH 06/15] PCI/acpiphp: Convert "acpiphp" sub-driver's functionality to built-in only

2012-12-06 Thread Yinghai Lu
On Thu, Dec 6, 2012 at 10:25 PM, Myron Stowe wrote: > The "ACPI Hot Plug PCI Controller ("acpiphp")" sub-driver may be compiled > as a module. Kernel modules are instantiated somewhat randomly - the > order in which they are linked as the kernel as built - thus if there are > any dependencies on

RE: [PATCH v6] staging: ste_rmi4: Convert to Type-B support

2012-12-06 Thread Alexandra Chin
Hi Greg, > > Yes, I've received an email saying that the patch will show up in the next > > release of the linux-next tree, but I was not aware that linux-next tree > > means 3.8-rc1. > > It does not, you didn't read the next sentance which described when the > patch would be sent to Linus...

Re: [Patch v4 09/12] memory-hotplug: remove page table of x86_64 architecture

2012-12-06 Thread Tang Chen
On 11/27/2012 06:00 PM, Wen Congyang wrote: 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. (snip) +void __meminit +kernel_physical_mapping_remove(unsigned long start, unsigned long end)

linux-next: manual merge of the akpm tree with Linus' tree

2012-12-06 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in mm/vmscan.c between commit c702418f8a2f ("mm: vmscan: do not keep kswapd looping forever due to individual uncompactable zones") from Linus' tree and commit "mm: use IS_ENABLED(CONFIG_COMPACTION) instead of COMPACTION_BUILD"

[PATCH 03/15] PCI/acpiphp: Leave the "acpiphp" sub-driver registered and in place

2012-12-06 Thread Myron Stowe
The "ACPI Hot Plug PCI Controller Driver ("acpiphp")" can be either statically built-in or a kernel module. If statically built-in, the sub-driver needs to remain registered and in place in order to accommodate any future hot-plug insertion events of devices it supports. As currently

[PATCH 02/15] PCI/acpiphp: Fix coding style of external declarations in acpiphp.h

2012-12-06 Thread Myron Stowe
The external declarations trigger warnings from ./scripts/checkpatch.pl such as: WARNING: space prohibited between function name and open parenthesis '(' #32: FILE: drivers/pci/hotplug/acpiphp.h:194: +extern void acpiphp_glue_init (void); This patch removes the extraneous spaces between the

[patch] [SCSI] mpt3sas: cut and paste bug storing trigger mpi

2012-12-06 Thread Dan Carpenter
ioc->diag_trigger_mpi is an SL_WH_MPI_TRIGGERS_T struct. There is a cut and paste error here and SL_WH_EVENT_TRIGGERS_T is used instead of SL_WH_MPI_TRIGGERS_T. Since the SL_WH_EVENT_TRIGGERS_T is smaller than SL_WH_MPI_TRIGGERS_T, it means we only clear part of the buffer. Signed-off-by: Dan

[PATCH 06/15] PCI/acpiphp: Convert "acpiphp" sub-driver's functionality to built-in only

2012-12-06 Thread Myron Stowe
The "ACPI Hot Plug PCI Controller ("acpiphp")" sub-driver may be compiled as a module. Kernel modules are instantiated somewhat randomly - the order in which they are linked as the kernel as built - thus if there are any dependencies on the ordering of attaching sub-drivers, they can not be

[PATCH 04/15] PCI/acpiphp: Change acpiphp_glue_init() to return void instead of 0

2012-12-06 Thread Myron Stowe
acpiphp_glue_init() always returns 0. This patch changes the return type from an 'int' to 'void'. No functional change. Signed-off-by: Myron Stowe --- drivers/pci/hotplug/acpiphp.h |2 +- drivers/pci/hotplug/acpiphp_core.c |4 +++- drivers/pci/hotplug/acpiphp_glue.c |4 +---

[PATCH 15/15] PCI/ACPI: Remove the "pci_root" driver's sub-driver infrastructure

2012-12-06 Thread Myron Stowe
Both sub-drivers of the "PCI Root Bridge ("pci_bridge")" driver, "acpiphp" and "pci_slot", have been converted to statically built-in functionality added directly from within "pci_bridge". With the conversions there are no remaining usages of the 'struct acpi_pci_driver' list based

[PATCH 14/15] PCI/ACPI: Add "pci_slot" functionality statically within "pci_root"

2012-12-06 Thread Myron Stowe
With the "ACPI PCI Slot Detection Driver ("pci_slot")" conversion in place - being statically built-in to the kernel and no longer capable of being a kernel module - remove the use of acpi_pci_[un]register_driver() and add its functionality from directly within the "pci_root" driver.

[PATCH 12/15] PCI/ACPI: Move where dmi_check_system() is called from

2012-12-06 Thread Myron Stowe
This patch moves the call of dmi_check_system() from acpi_pci_slot_init() to acpi_pci_slot_add(). This is in preparation for converting the "pci_slot" sub-driver to being statically built into the kernel. No functional change. Signed-off-by: Myron Stowe --- drivers/acpi/pci_slot.c | 57

[PATCH 13/15] PCI/ACPI: Convert "pci_slot" sub-driver's functionality to built-in only

2012-12-06 Thread Myron Stowe
The "ACPI PCI Slot Detection ("pci_slot")" sub-driver may be compiled as a module. Kernel modules are instantiated somewhat randomly - the order in which they are linked as the kernel as built - thus if there are any dependencies on the ordering of attaching sub-drivers, they can not be

[PATCH 11/15] PCI/ACPI: Fix latent refcount issue in acpi_pci_root_start()

2012-12-06 Thread Myron Stowe
During early boot, the kernel performs ACPI enumeration in which host bridges are discovered (subsys_initcall(acpi_pci_root_init)). Later drivers, both built-in and modules such as the "ACPI PCI Slot Detection Driver ("pci_slot")", are loaded (module_init(acpi_pci_slot_init)) thus we end up with

[PATCH 10/15] PCI/acpiphp: Change acpiphp_add_bridge() to return void instead of 0

2012-12-06 Thread Myron Stowe
acpiphp_add_bridge() always returns 0. This patch changes the return type from an 'int' to 'void'. No functional change. Signed-off-by: Myron Stowe --- drivers/pci/hotplug/acpiphp_glue.c |8 +++- include/linux/pci-acpi.h |4 ++-- 2 files changed, 5 insertions(+), 7

[PATCH 09/15] PCI/acpiphp: Add "acpiphp" functionality statically within "pci_root"

2012-12-06 Thread Myron Stowe
With the "ACPI Hot Plug PCI Controller Driver ("acpiphp")" conversion in place - being statically built-in to the kernel and no longer capable of being a kernel module - remove the use of acpi_pci_[un]register_driver() and add its functionality from directly within the "pci_root" driver.

[PATCH 08/15] PCI/acpiphp: Collapse the initialization call chain of "acpiphp" further

2012-12-06 Thread Myron Stowe
This patch collapses the initialization call chain of "acpiphp" by calling acpi_pci_[un]register_driver() directly within acpiphp_{init,exit}(), removing the intervening acpiphp_glue_{init,exit}() call. No functional change. Signed-off-by: Myron Stowe --- drivers/pci/hotplug/acpiphp.h |

[PATCH 07/15] PCI/acpiphp: Declare acpi_{add, remove}_bridge() as external functions

2012-12-06 Thread Myron Stowe
This patch renames, and changes to external function types, add_bridge() and remove_bridge() so that they can used directly as the add and remove interfaces of "acpiphp". No functional change. Signed-off-by: Myron Stowe --- drivers/pci/hotplug/acpiphp.h |3 +++

[PATCH 05/15] PCI/acpiphp: Collapse initialization call chain of "acpiphp" sub-driver

2012-12-06 Thread Myron Stowe
This patch collapses the initialization call chain of "acpiphp" by calling acpiphp_glue_init() directly within acphphp_init(), removing the intervening init_acpi() call. No functional change. Signed-off-by: Myron Stowe --- drivers/pci/hotplug/acpiphp_core.c | 24 +++- 1

[PATCH 01/15] PCI, acpiphp: Separate out hot-add support of pci host bridge

2012-12-06 Thread Myron Stowe
From: Yinghai Lu It causes confusion. We may only need acpi hp for pci host bridge. Split host bridge hot-add support to pci_root_hp, and keep acpiphp simple. -v2: put back pci_root_hp change in one patch -v3: add pcibios_resource_survey_bus() calling -v4: remove not needed code with

[PATCH 00/15] PCI/ACPI: Remove "pci_root" sub-driver support

2012-12-06 Thread Myron Stowe
The "PCI Root Bridge ("pci_root")" driver includes support for attaching sub-drivers. acpi_pci_register_driver() and acpi_pci_unregister_driver() are the interfaces that sub-drivers use to attach themselves. Currently there are only two callers of acpi_pci_register_driver(): the "ACPI Hot Plug

Re: [PATCH] regulator: tps80031: Convert tps80031_ldo_ops to linear_min_sel and list_voltage_linear

2012-12-06 Thread Mark Brown
On Thu, Dec 06, 2012 at 08:24:11AM +0800, Axel Lin wrote: > Signed-off-by: Axel Lin Applied, thanks., -- 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 at

[patch] aoe: use after free in aoedev_by_aoeaddr()

2012-12-06 Thread Dan Carpenter
We should return NULL on failure instead of returning a freed pointer. Signed-off-by: Dan Carpenter diff --git a/drivers/block/aoe/aoedev.c b/drivers/block/aoe/aoedev.c index e66ccbf..98f2965 100644 --- a/drivers/block/aoe/aoedev.c +++ b/drivers/block/aoe/aoedev.c @@ -461,6 +461,7 @@

Re: [PATCH 1/3] HWPOISON, hugetlbfs: fix warning on freeing hwpoisoned hugepage

2012-12-06 Thread Naoya Horiguchi
On Fri, Dec 07, 2012 at 11:06:41AM +0530, Aneesh Kumar K.V wrote: ... > > From: Naoya Horiguchi > > Date: Thu, 6 Dec 2012 20:54:30 -0500 > > Subject: [PATCH v2] HWPOISON, hugetlbfs: fix warning on freeing hwpoisoned > > hugepage > > > > This patch fixes the warning from __list_del_entry() which

Re: [PATCH 2/3] MODSIGN: Avoid using .incbin in C source

2012-12-06 Thread Rusty Russell
Michal Marek writes: > It looks good, but looking at your patch, I just noticed that we have two > versions of the SYMBOL_PREFIX macro in the kernel now: > > scripts/Makefile.lib has had since some time > > ifdef CONFIG_SYMBOL_PREFIX > _sym_flags = -DSYMBOL_PREFIX=$(patsubst

Re: [PATCH 3.7-rc8] ttm: Fix possible _manager memory allocation oops

2012-12-06 Thread Dave Airlie
On Fri, Dec 7, 2012 at 9:05 AM, Tim Gardner wrote: > On 12/06/2012 03:46 PM, Dave Airlie wrote: > >>> >>> ttm_page_pool_init_locked(&_manager->wc_pool, GFP_HIGHUSER, >>> "wc"); >>> >>> @@ -817,6 +821,7 @@ int ttm_page_alloc_init(struct ttm_mem_global *glob, >>> unsigned max_pages) >>>

Re: [RFC PATCH v3 0/3] acpi: Introduce prepare_remove device operation

2012-12-06 Thread Jiang Liu
On 2012-12-7 10:57, Toshi Kani wrote: > On Fri, 2012-12-07 at 00:40 +0800, Jiang Liu wrote: >> On 12/04/2012 08:10 AM, Toshi Kani wrote: >>> On Mon, 2012-12-03 at 12:25 +0800, Hanjun Guo wrote: On 2012/11/30 6:27, Toshi Kani wrote: > On Thu, 2012-11-29 at 12:48 +0800, Hanjun Guo wrote:

Re: [PATCH 1/3] HWPOISON, hugetlbfs: fix warning on freeing hwpoisoned hugepage

2012-12-06 Thread Naoya Horiguchi
On Thu, Dec 06, 2012 at 06:20:24PM -0800, Andrew Morton wrote: > On Thu, 6 Dec 2012 21:03:44 -0500 Naoya Horiguchi > wrote: > > > This patch fixes the warning from __list_del_entry() which is triggered > > when a process tries to do free_huge_page() for a hwpoisoned hugepage. > > > >

[PATCH] x86/kexec: crash_vmclear_local_vmcss needs __rcu

2012-12-06 Thread Zhang Yanfei
This removes the sparse warning: arch/x86/kernel/crash.c:49:32: sparse: incompatible types in comparison expression (different address spaces) Reported-by: kbuild test robot Signed-off-by: Zhang Yanfei --- arch/x86/include/asm/kexec.h |4 +++- arch/x86/kernel/crash.c |4 ++-- 2

Re: [PATCH 1/3] HWPOISON, hugetlbfs: fix warning on freeing hwpoisoned hugepage

2012-12-06 Thread Aneesh Kumar K.V
Naoya Horiguchi writes: > On Thu, Dec 06, 2012 at 02:36:52PM -0800, Andrew Morton wrote: >> On Wed, 5 Dec 2012 16:47:36 -0500 >> Naoya Horiguchi wrote: >> >> > This patch fixes the warning from __list_del_entry() which is triggered >> > when a process tries to do free_huge_page() for a

Re: [PATCH] regulator: lp8788-ldo: Remove val array in lp8788_config_ldo_enable_mode

2012-12-06 Thread Mark Brown
On Fri, Dec 07, 2012 at 09:47:57AM +0800, Axel Lin wrote: > To clear the mask bit, setting data argument to be 0 with proper mask setting > for lp8788_update_bits. We don't need the var array here. Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

Re: [PATCH v6] staging: ste_rmi4: Convert to Type-B support

2012-12-06 Thread Greg Kroah-Hartman
On Fri, Dec 07, 2012 at 04:01:10AM +, Alexandra Chin wrote: > Hi Greg, > > > That is because they were new features, and not regressions, so they > > will be showing up in Linus's tree for 3.8-rc1. > > > > > May I know status of this patch? Please let me know if there is anything I > > >

RE: [PATCH] regulator: lp8788-ldo: Remove val array in lp8788_config_ldo_enable_mode

2012-12-06 Thread Kim, Milo
> To clear the mask bit, setting data argument to be 0 with proper mask > setting > for lp8788_update_bits. We don't need the var array here. > > Signed-off-by: Axel Lin Thanks! Acked-by: Milo(Woogyom) Kim

Re: [ 24/27] i915: Quirk no_lvds on Gigabyte GA-D525TUD ITX motherboard

2012-12-06 Thread Calvin Walton
Sorry, dropped the CCs when I replied... I don't normally use the Gmail web interface :) On Thu, Dec 6, 2012 at 7:59 PM, Greg Kroah-Hartman wrote: > 3.6-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Calvin Walton > > commit

RE: [PATCH v6] staging: ste_rmi4: Convert to Type-B support

2012-12-06 Thread Alexandra Chin
Hi Greg, > That is because they were new features, and not regressions, so they > will be showing up in Linus's tree for 3.8-rc1. > > > May I know status of this patch? Please let me know if there is anything I > > should do. > > Didn't you get an email when I applied the patches saying where

Re: [PATCH] spi: Fix comparison of different integer types

2012-12-06 Thread Mark Brown
On Thu, Dec 06, 2012 at 11:35:47PM +, Grant Likely wrote: > Fix problem discovered with sparse: > + drivers/spi/spi.c:1554:37: sparse: incompatible types in comparison > expression (different signedness) > drivers/spi/spi.c: In function 'spi_write_then_read': > drivers/spi/spi.c:1554:23:

Re: [patch v2 3/6] memcg: rework mem_cgroup_iter to use cgroup iterators

2012-12-06 Thread Ying Han
On Thu, Dec 6, 2012 at 7:39 PM, Ying Han wrote: > On Mon, Nov 26, 2012 at 10:47 AM, Michal Hocko wrote: >> mem_cgroup_iter curently relies on css->id when walking down a group >> hierarchy tree. This is really awkward because the tree walk depends on >> the groups creation ordering. The only

Re: Race condition between driver_probe_device and device_shutdown

2012-12-06 Thread Ming Lei
On Fri, Dec 7, 2012 at 8:09 AM, Wedson Almeida Filho wrote: > I don't have the setup anymore, I'll give it a shot if I ever get back it > back. > > I have a question though: why do we need to get a reference to the > parent? If the assumption is that the callee can release its reference Because

Re: [PATCH] spi: Remove SPI_BUFSIZ restriction on spi_write_then_read()

2012-12-06 Thread Mark Brown
On Thu, Dec 06, 2012 at 02:04:27PM +, Grant Likely wrote: > Alright, applied. I've also merged in your spi-next tree. Let me know if > that causes problems because it needs to be rebased. No problem - do you just want to take over the SPI tree again or should I carry on applying things? --

Re: [patch v2 3/6] memcg: rework mem_cgroup_iter to use cgroup iterators

2012-12-06 Thread Ying Han
On Mon, Nov 26, 2012 at 10:47 AM, Michal Hocko wrote: > mem_cgroup_iter curently relies on css->id when walking down a group > hierarchy tree. This is really awkward because the tree walk depends on > the groups creation ordering. The only guarantee is that a parent node > is visited before its

Re: [RFC PATCH 0/8] remove vm_struct list management

2012-12-06 Thread Bob Liu
Hi Joonsoo, On Fri, Dec 7, 2012 at 12:09 AM, Joonsoo Kim wrote: > This patchset remove vm_struct list management after initializing vmalloc. > Adding and removing an entry to vmlist is linear time complexity, so > it is inefficient. If we maintain this list, overall time complexity of > adding

Re: [PATCH] net: core: fix unused variable sparse warning

2012-12-06 Thread David Miller
From: Cong Ding Date: Fri, 7 Dec 2012 00:15:47 + > On Fri, Dec 07, 2012 at 12:06:44AM +, Cong Ding wrote: >> the variables zero and unres_qlen_max are only used when CONFIG_SYSCTL is >> defined, otherwise it causes the following sparse warning when we turn on >> CONFIG_SYSCTL. > sorry

linux-next: manual merge of the mfd tree with the mmc tree

2012-12-06 Thread Stephen Rothwell
Hi Samuel, Today's linux-next merge of the mfd tree got a conflict in drivers/mmc/host/Kconfig between commit 3a96dff0f828 ("mmc: SD/MMC Host Controller for Wondermedia WM8505/WM8650") from the mmc tree and commit ff984e57d36e ("mmc: Add realtek pcie sdmmc host driver") from the mfd tree. I

Re: 8250 UART doesn't work

2012-12-06 Thread Woody Wu
On 2012-12-06, H. Peter Anvin wrote: > On 12/05/2012 11:56 PM, Woody Wu wrote: >> Hi, list >> >> Does anyone here familiar to the serial 8250 driver? >> >> I enabled two uart ports in my board definition, but the ports doesn't >> appear after I loaded the kernel (3.4.19). I discovered, it failed

Re: [PATCH, 3.7-rc7, RESEND] fs: revert commit bbdd6808 to fallocate UAPI

2012-12-06 Thread Dave Chinner
On Fri, Dec 07, 2012 at 02:16:28AM +0100, Ingo Molnar wrote: > > * Christoph Hellwig wrote: > > > No, the problem is that the thing is not just a) wrong, but b) > > only made it in through sneaky ways. > > People disagree with a), and b) only really matters if a) is > true. Wow. Let me

Re: [RFC PATCH v3 0/3] acpi: Introduce prepare_remove device operation

2012-12-06 Thread Toshi Kani
On Fri, 2012-12-07 at 00:40 +0800, Jiang Liu wrote: > On 12/04/2012 08:10 AM, Toshi Kani wrote: > > On Mon, 2012-12-03 at 12:25 +0800, Hanjun Guo wrote: > >> On 2012/11/30 6:27, Toshi Kani wrote: > >>> On Thu, 2012-11-29 at 12:48 +0800, Hanjun Guo wrote: > On 2012/11/29 2:41, Toshi Kani

Re: blk: bd_block_size_semaphore related lockdep warning

2012-12-06 Thread Mikulas Patocka
Hi It should be fixed in 3.7-rc8 Mikulas On Sat, 1 Dec 2012, Sasha Levin wrote: > Hi all, > > While fuzzing with trinity inside a KVM tools guest, running latest -next, > I've > stumbled on: > > [ 3130.099477] == > [ 3130.104862] [ INFO:

[PATCH] MCE: fix an error of mce_bad_pages statistics

2012-12-06 Thread Xishi Qiu
On x86 platform, if we use "/sys/devices/system/memory/soft_offline_page" to offline a free page twice, the value of mce_bad_pages will be added twice. So this is an error, since the page was already marked HWPoison, we should skip the page and don't add the value of mce_bad_pages. $ cat

Re: [PATCH v2 00/14] printk() fixes, optimizations, and clean ups

2012-12-06 Thread Joe Perches
On Thu, 2012-12-06 at 16:19 -0800, Andrew Morton wrote: > On Thu, 06 Dec 2012 15:37:30 -0800 > Joe Perches wrote: > > Can you please pick this up for -next now and I'll > > redo my patches against -next for -rc1 so I'm not > > delayed until 3.9? > > It would be better to do things in the other

Re: [RFC] gpiolib: introduce descriptor-based GPIO interface

2012-12-06 Thread Guenter Roeck
On Thu, Dec 06, 2012 at 04:45:18PM +0900, Alexandre Courbot wrote: > With the current API, GPIOs are manipulated through an integer which > represents their unique number across the system. This poses problems in > terms of portability, scalability and flexibility: for instance, the > number of

linux-next: manual merge of the block tree with Linus' tree

2012-12-06 Thread Stephen Rothwell
Hi Jens, Today's linux-next merge of the block tree got a conflict in block/blk-exec.c between commit 893d290f1d74 ("block: Don't access request after it might be freed") from Linus' tree and commit c246e80d8673 ("block: Avoid that request_fn is invoked on a dead queue") from the block tree. I

Re: [PATCH, 3.7-rc7, RESEND] fs: revert commit bbdd6808 to fallocate UAPI

2012-12-06 Thread Dave Chinner
On Fri, Dec 07, 2012 at 02:08:37AM +0100, Ingo Molnar wrote: > > * Martin Steigerwald wrote: > > > > The thing that people are complaining about is exactly the > > > reverse of this. It's *protecting* us from making mistakes, > > > and doesn't actually add any new interfaces in itself. > > >

Re: [PATCH] printk: Fix print_time length computation when no buffer is given

2012-12-06 Thread Joe Perches
On Thu, 2012-12-06 at 18:09 +0100, Sylvain Munaut wrote: > The "%5lu" part of the sprintf only guarantees a minimum length, > not a maximum one. This patch should make it correct for any > possible timestamp. > > This problem dates back from the printk conversion to records AFAICT. > > I've

Re: [RFC PATCH v3 0/3] acpi: Introduce prepare_remove device operation

2012-12-06 Thread Toshi Kani
On Fri, 2012-12-07 at 00:47 +0800, Jiang Liu wrote: > On 12/05/2012 07:23 AM, Toshi Kani wrote: > > On Tue, 2012-12-04 at 17:16 +0800, Hanjun Guo wrote: > >> On 2012/12/4 8:10, Toshi Kani wrote: > >>> On Mon, 2012-12-03 at 12:25 +0800, Hanjun Guo wrote: > On 2012/11/30 6:27, Toshi Kani wrote:

Re: [PATCH] net: core: fix unused variable sparse warning

2012-12-06 Thread Cong Wang
On Fri, 07 Dec 2012 at 00:06 GMT, Cong Ding wrote: > the variables zero and unres_qlen_max are only used when CONFIG_SYSCTL is > defined, otherwise it causes the following sparse warning when we turn on > CONFIG_SYSCTL. > commit b93196dc5af7729ff7cc50d3d322ab1a364aa14f Author: Cong Wang Date:

Re: [Patch v4 08/12] memory-hotplug: remove memmap of sparse-vmemmap

2012-12-06 Thread Jianguo Wu
Hi Tang, On 2012/12/7 9:42, Tang Chen wrote: > Hi Wu, > > I met some problems when I was digging into the code. It's very > kind of you if you could help me with that. :) > > If I misunderstood your code, please tell me. > Please see below. :) > > On 12/03/2012 10:23 AM, Jianguo Wu wrote: >>

Re: [PATCH 1/3] HWPOISON, hugetlbfs: fix warning on freeing hwpoisoned hugepage

2012-12-06 Thread Andrew Morton
On Thu, 6 Dec 2012 21:03:44 -0500 Naoya Horiguchi wrote: > This patch fixes the warning from __list_del_entry() which is triggered > when a process tries to do free_huge_page() for a hwpoisoned hugepage. > > ChangeLog v2: > - simply use list_del_init instead of introducing new hugepage list

Re: [PATCH 1/3] HWPOISON, hugetlbfs: fix warning on freeing hwpoisoned hugepage

2012-12-06 Thread Naoya Horiguchi
On Wed, Dec 05, 2012 at 10:13:42PM +, Luck, Tony wrote: > > This patch fixes the warning from __list_del_entry() which is triggered > > when a process tries to do free_huge_page() for a hwpoisoned hugepage. > > Ultimately it would be nice to avoid poisoning huge pages. Generally we know >

Re: weakness of runnable load tracking?

2012-12-06 Thread Alex Shi
> > The treatment of a burst wake-up however is a little more interesting. > There are two reasonable trains of thought one can follow, the first > is that: > - If it IS truly bursty you don't really want it factoring into long > term averages since steady state is not going to include that

Re: [PATCH] synclink fix ldisc buffer argument

2012-12-06 Thread Chen Gang
Hello Greg Kroah-Hartman: 于 2012年12月04日 01:13, Paul Fulghum 写道: > Fix call to line discipline receive_buf by synclink drivers. > Dummy flag buffer argument is ignored by N_HDLC line discipline but might > be of insufficient size if accessed by a different line discipline > selected by mistake.

Re: [PATCH 3/3] HWPOISON, hugetlbfs: fix RSS-counter warning

2012-12-06 Thread Andrew Morton
On Thu, 6 Dec 2012 20:22:42 -0500 Naoya Horiguchi wrote: > > --- a/mm/rmap.c~hwpoison-hugetlbfs-fix-rss-counter-warning-fix > > +++ a/mm/rmap.c > > @@ -1249,14 +1249,14 @@ int try_to_unmap_one(struct page *page, > > update_hiwater_rss(mm); > > > > if (PageHWPoison(page) && !(flags &

[PATCH v6] Cypress PS/2 Trackpad driver

2012-12-06 Thread Kamal Mostafa
This driver, submitted on behalf of Cypress Semiconductor Corporation and additional contributors, provides support for the Cypress PS/2 Trackpad. Note that the patch "increase struct ps2dev cmdbuf[] to 8 bytes" [5] is a PREREQUISITE for this patch. This [PATCH v6] version differs from my

Re: [PATCH v5 2/3] input: Cypress PS/2 Trackpad psmouse driver

2012-12-06 Thread Kamal Mostafa
On Thu, 2012-12-06 at 00:08 -0800, Dmitry Torokhov wrote: > [...] Hi Dmitry- Thanks again for your review. The forthcoming PATCH v6 addresses all of your requests, except for: > > + __set_bit(INPUT_PROP_BUTTONPAD, input->propbit); > > I do not think it should be marked INPUT_PROP_BUTTONPAD

Re: [PATCH v2 -tip 3/4] tracing: make a snapshot feature available from userspace

2012-12-06 Thread Hiraku Toyooka
Hi, Steven, (2012/11/30 23:17), Steven Rostedt wrote: [snip] > > Actually, I would have: > > status\input | 0 | 1 |else| > --++++ > not allocated |(do nothing)| alloc+swap | EINVAL | >

linux-next: manual merge of the wireless-next tree with the mips tree

2012-12-06 Thread Stephen Rothwell
Hi John, Today's linux-next merge of the wireless-next tree got a conflict in include/linux/bcma/bcma_driver_chipcommon.h between commits ef85fb28305f ("bcma: add locking around GPIO register accesses") and cf0936b06d8e ("bcma: add GPIO driver") from the mips tree and commits a22a3114a820 ("bcma:

Re: [RFC] gpiolib: introduce descriptor-based GPIO interface

2012-12-06 Thread Alex Courbot
On Thursday 06 December 2012 22:42:59 Grant Likely wrote: > how about "gpio_chip_hwnum()" to somewhat match irqdomain convention? Sure, matching existing interfaces is better. "git grep hwnum" does not seem to reveal much related to irqdomain though? > I've only lightly scanned this patch, but

Re: [PATCH 1/3] HWPOISON, hugetlbfs: fix warning on freeing hwpoisoned hugepage

2012-12-06 Thread Naoya Horiguchi
On Thu, Dec 06, 2012 at 02:36:52PM -0800, Andrew Morton wrote: > On Wed, 5 Dec 2012 16:47:36 -0500 > Naoya Horiguchi wrote: > > > This patch fixes the warning from __list_del_entry() which is triggered > > when a process tries to do free_huge_page() for a hwpoisoned hugepage. > > > >

[PATCH] vxlan: Add capability of Rx checksum offload for inner packet

2012-12-06 Thread Joseph Gasparakis
This patch adds capability in vxlan to identify received checksummed inner packets and signal them to the upper layers of the stack. The driver needs to set the skb->encapsulation bit and also set the skb->ip_summed to CHECKSUM_UNNECESSARY. Signed-off-by: Joseph Gasparakis ---

Re: [PATCH, 3.7-rc7, RESEND] fs: revert commit bbdd6808 to fallocate UAPI

2012-12-06 Thread Dave Chinner
On Thu, Dec 06, 2012 at 11:50:24AM -0500, Theodore Ts'o wrote: > On Thu, Dec 06, 2012 at 07:06:45AM -0500, Christoph Hellwig wrote: > > > > Also the only conference outcome I remember is that everyone at LSF > > except for Ted basically said "no fucking way". > > > > At LSF, that's correct.

[PATCH v3 1/4] net: Add support for hardware-offloaded encapsulation

2012-12-06 Thread Joseph Gasparakis
This patch adds support in the kernel for offloading in the NIC Tx and Rx checksumming for encapsulated packets (such as VXLAN and IP GRE). Signed-off-by: Joseph Gasparakis Signed-off-by: Peter P Waskiewicz Jr Signed-off-by: Alexander Duyck --- include/linux/ip.h|5 ++

[PATCH v3 3/4] vxlan: capture inner headers during encapsulation

2012-12-06 Thread Joseph Gasparakis
Allow VXLAN to make use of Tx checksum offloading and Tx scatter-gather. The advantage to these two changes is that it also allows the VXLAN to make use of GSO. Signed-off-by: Joseph Gasparakis Signed-off-by: Peter P Waskiewicz Jr Signed-off-by: Alexander Duyck --- drivers/net/vxlan.c | 10

[PATCH v3 2/4] net: Handle encapsulated offloads before fragmentation or handing to lower dev

2012-12-06 Thread Joseph Gasparakis
From: Alexander Duyck This change allows the VXLAN to enable Tx checksum offloading even on devices that do not support encapsulated checksum offloads. The advantage to this is that it allows for the lower device to change due to routing table changes without impacting features on the VXLAN

[RFC PATCH v3 4/4] ixgbe: Adding tx encapsulation capability

2012-12-06 Thread Joseph Gasparakis
This patch allows ixgbe to recognize encapsulated packets and do the tx checksum offload in hardware. This patch is only for demonstration purposes and should not be applied. Signed-off-by: Joseph Gasparakis Signed-off-by: Alexander Duyck --- drivers/net/ethernet/intel/ixgbe/ixgbe_main.c |

[PATCH v3 net-next 0/4] tunneling: Add support for hardware-offloaded encapsulation

2012-12-06 Thread Joseph Gasparakis
The series contains updates to add in the NIC Rx and Tx checksumming support for encapsulated packets. The sk_buff needs to somehow have information of the inner packet, and adding three fields for the inner mac, network and transport headers was the prefered approach. Not adding these fields

[PATCH] regulator: lp8788-ldo: Remove val array in lp8788_config_ldo_enable_mode

2012-12-06 Thread Axel Lin
To clear the mask bit, setting data argument to be 0 with proper mask setting for lp8788_update_bits. We don't need the var array here. Signed-off-by: Axel Lin --- drivers/regulator/lp8788-ldo.c | 11 +-- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git

Re: [Patch v4 08/12] memory-hotplug: remove memmap of sparse-vmemmap

2012-12-06 Thread Tang Chen
Hi Wu, I met some problems when I was digging into the code. It's very kind of you if you could help me with that. :) If I misunderstood your code, please tell me. Please see below. :) On 12/03/2012 10:23 AM, Jianguo Wu wrote: Signed-off-by: Jianguo Wu Signed-off-by: Jiang Liu ---

Re: [ 06/89] device_cgroup: fix RCU usage

2012-12-06 Thread Ben Hutchings
On Thu, 2012-12-06 at 17:36 -0200, Herton Ronaldo Krzesinski wrote: > On Mon, Dec 03, 2012 at 02:31:52PM +, Ben Hutchings wrote: > > 3.2-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: Tejun Heo > > > > commit

Re: linux-next: manual merge of the arm-soc tree with the iommu tree

2012-12-06 Thread Paul Walmsley
On Thu, 6 Dec 2012, Omar Ramirez Luna wrote: > I was planning to wait until linux-omap had the changes from iommu > tree (probably at rc1), if the merge conflict resulted in > arch/arm/mach-omap2/cclock44xx_data.c still having ipu and dsp clocks, > in this case the hwmod data changes wouldn't be

Re: linux-next: manual merge of the arm-soc tree with the iommu tree

2012-12-06 Thread Omar Ramirez Luna
Hi Paul, On Thu, Dec 6, 2012 at 6:59 PM, Paul Walmsley wrote: > Hi Omar, > > On Thu, 6 Dec 2012, Omar Ramirez Luna wrote: > >> I have checked next-20121206, it's OK to delete that file as the patch >> from Paul is doing that for common clock framework migration; now the &

RE: [v2 PATCH 13/14] ARM: dts: add spi nodes for atmel SoC

2012-12-06 Thread Yang, Wenyou
Hi Ludovic, > -Original Message- > From: Desroches, Ludovic > Sent: 2012年12月7日 0:37 > To: Yang, Wenyou > Cc: linux-arm-ker...@lists.infradead.org; li...@arm.linux.org.uk; > richard.gen...@gmail.com; Lin, JM; Ferre, Nicolas; > linux-kernel@vger.kernel.org; > plagn...@jcrosoft.com;

Re: [PATCH 02/10] sched: fix find_idlest_group mess logical

2012-12-06 Thread Alex Shi
On 12/07/2012 08:56 AM, Frederic Weisbecker wrote: > 2012/12/3 Alex Shi : >> There is 4 situations in the function: >> 1, no task allowed group; >> so min_load = ULONG_MAX, this_load = 0, idlest = NULL >> 2, only local group task allowed; >> so min_load = ULONG_MAX, this_load

Re: [PATCH 01/10] sched: select_task_rq_fair clean up

2012-12-06 Thread Alex Shi
On 12/07/2012 09:02 AM, Frederic Weisbecker wrote: > 2012/12/7 Alex Shi : >> On 12/07/2012 01:50 AM, Frederic Weisbecker wrote: >>> 2012/12/3 Alex Shi : It is impossible to miss a task allowed cpu in a eligible group. And since find_idlest_group only return a different group which

  1   2   3   4   5   6   7   8   9   10   >