Re: [PATCH] ALSA: emu10k1: casting (void *) value returned by kcalloc is useless

2013-09-05 Thread Joe Perches
On Thu, 2013-09-05 at 13:57 +0800, Duan Jiong wrote: From: Duan Jiong duanj.f...@cn.fujitsu.com Casting (void *) value returned by kcalloc is useless as mentioned in Documentation/CodingStyle, Chap 14. __user is an important marker that is lost here. diff --git a/sound/pci/emu10k1/emufx.c

Re: [PATCH 25/30] ACPI / hotplug / PCI: Check for new devices on enabled slots

2013-09-05 Thread Lan Tianyu
2013/9/5 Alex Williamson alex.william...@redhat.com: On Thu, 2013-09-05 at 01:35 +0200, Rafael J. Wysocki wrote: On Wednesday, September 04, 2013 05:12:14 PM Alex Williamson wrote: On Thu, 2013-09-05 at 00:54 +0200, Rafael J. Wysocki wrote: On Wednesday, September 04, 2013 02:36:34 PM Alex

[PATCH 1/2 v3] memcg: refactor mem_control_numa_stat_show()

2013-09-05 Thread Greg Thelen
Refactor mem_control_numa_stat_show() to use a new stats structure for smaller and simpler code. This consolidates nearly identical code. text data bssdec hex filename 8,055,980 1,675,648 1,896,448 11,628,076 b16e2c vmlinux.before 8,055,276 1,675,648 1,896,448

[PATCH 2/2 v3] memcg: support hierarchical memory.numa_stats

2013-09-05 Thread Greg Thelen
From: Ying Han ying...@google.com The memory.numa_stat file was not hierarchical. Memory charged to the children was not shown in parent's numa_stat. This change adds the hierarchical_ stats to the existing stats. The new hierarchical stats include the sum of all children's values in addition

Re: [PATCH 4/7] x86/pci: use pcie_cap to simplify code

2013-09-05 Thread Yijing Wang
On 2013/9/4 10:59, Bjorn Helgaas wrote: On Tue, Sep 03, 2013 at 03:35:12PM +0800, Yijing Wang wrote: PCI core saves PCIe Cap offset in pcie_cap, use pcie_cap to simplify code. Signed-off-by: Yijing Wang wangyij...@huawei.com --- arch/x86/pci/fixup.c |2 +- 1 files changed, 1

Re: [PATCH V3]hrtimer: Fix a performance regression by disable reprogramming in remove_hrtimer

2013-09-05 Thread Mike Galbraith
On Thu, 2013-08-08 at 15:32 +0800, ethan.zhao wrote: ... That is great improvement, So it is worth to merge. It didn't swim upstream for some reason. -Mike -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More

Re: [PATCH] mm/thp: fix comments in transparent_hugepage_flags

2013-09-05 Thread Jianguo Wu
On 2013/9/5 12:58, Wanpeng Li wrote: Hi Jianguo, On Thu, Sep 05, 2013 at 11:54:00AM +0800, Jianguo Wu wrote: On 2013/9/5 11:37, Wanpeng Li wrote: On Thu, Sep 05, 2013 at 11:04:22AM +0800, Jianguo Wu wrote: Hi Wanpeng, On 2013/9/5 10:11, Wanpeng Li wrote: Hi Jianguo, On Wed, Sep 04,

[GIT PULL] fbdev changes for 3.12

2013-09-05 Thread Tomi Valkeinen
Hi Linus, Here are the fbdev changes for 3.12. There's a conflict in drivers/video/simplefb.c, which you can resolve by using the version in your tree. I guess the simplefb changes were taken through Ingo's tree because the series includes x86 arch changes, but it would have been nice to see

[GIT PULL] OMAP fbdev changes for 3.12

2013-09-05 Thread Tomi Valkeinen
Hi Linus, Here are the OMAP specific fbdev changes for 3.12. I've got this pull request separate from the main fbdev pull request, as this contains a bunch of OMAP board file changes and thus could possibly be rejected in case of bad conflicts. The removal of the old display drivers depend on

Re: [PATCH 0/4] slab: implement byte sized indexes for the freelist of a slab

2013-09-05 Thread Joonsoo Kim
On Wed, Sep 04, 2013 at 05:33:05PM +0900, Joonsoo Kim wrote: On Tue, Sep 03, 2013 at 02:15:42PM +, Christoph Lameter wrote: On Mon, 2 Sep 2013, Joonsoo Kim wrote: This patchset implements byte sized indexes for the freelist of a slab. Currently, the freelist of a slab consist of

[PATCH] mtd: bcm47xxsflash: the argument to kfree should not be the address of a structure field

2013-09-05 Thread Duan Jiong
From: Duan Jiong duanj.f...@cn.fujitsu.com Signed-off-by: Duan Jiong duanj.f...@cn.fujitsu.com --- drivers/mtd/devices/bcm47xxsflash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/devices/bcm47xxsflash.c b/drivers/mtd/devices/bcm47xxsflash.c index

Re: [PATCH 06/11] iio: pressure-core: st: Expand and rename LPS331AP's channel descriptor

2013-09-05 Thread Lee Jones
On Wed, 04 Sep 2013, Denis CIOCCA wrote: Due to the MACRO used, the task of reading, understanding and maintaining the LPS331AP's channel descriptor is substantially difficult. This patch is based on the view that it's better to have easy to read, maintainable code than to save a few

Re: [PATCH 1/7] scsi/bfa: use pcie_capability_xxx to simplify code

2013-09-05 Thread Yijing Wang
@@ -794,10 +793,8 @@ bfad_pci_init(struct pci_dev *pdev, struct bfad_s *bfad) break; } -pcie_cap_reg = pci_find_capability(pdev, PCI_CAP_ID_EXP); -if (mask != 0x pcie_cap_reg) { -pcie_cap_reg += 0x08; -

Re: linux-next: rebase of the jdelvare-hwmon quilt series

2013-09-05 Thread Jean Delvare
Hi Stephen, On Thu, 5 Sep 2013 10:19:03 +1000, Stephen Rothwell wrote: Why did you bother rebasing the jdelvare-hwmon quilt series? None of the patches changed (not that that even matters). I'm not rebasing. Rebasing is a git thing, and I'm using quilt, not git, to feed linux-next. Until the

Re: [PATCH 4/5] uas: add dead request list

2013-09-05 Thread Oliver Neukum
On Mon, 2013-09-02 at 13:25 +0200, Gerd Hoffmann wrote: +static void uas_zap_dead(struct uas_dev_info *devinfo) +{ + struct uas_cmd_info *cmdinfo; + struct uas_cmd_info *temp; + struct list_head list; + unsigned long flags; + + spin_lock_irq(uas_lists_lock);

Re: dvb-usb/technisat-usb2: Fix cut-n-paste thinko

2013-09-05 Thread Patrick Boettcher
Hi Dave, On Wednesday 04 September 2013 19:59:17 Dave Jones wrote: This looks like it was cut and pasted from the code above which does similar checks on txlen, but someone forgot to change the variable. This someone would be me. Signed-off-by: Dave Jones da...@fedoraproject.org diff

linux-next: bad commits in the drivers-x86 tree

2013-09-05 Thread Stephen Rothwell
Hi Matthew, Unfortunately, it looks like you cherry-picked (or somehow) managed to get copies of quite a few commits from Linus' tree into your tree. Maybe a failed rebase? This has been causing conflicts in linux-next for the past couple of days and I am sure that Linus will not want to pull

Re: [PATCH 06/11] iio: pressure-core: st: Expand and rename LPS331AP's channel descriptor

2013-09-05 Thread Denis CIOCCA
Due to the MACRO used, the task of reading, understanding and maintaining the LPS331AP's channel descriptor is substantially difficult. This patch is based on the view that it's better to have easy to read, maintainable code than to save a few lines here and there. For that reason we're

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

2013-09-05 Thread Daniel Borkmann
On 09/05/2013 07:19 AM, Stephen Rothwell wrote: Hi all, Today's linux-next merge of the net-next tree got a conflict in net/bridge/br_multicast.c between commit 2d98c29b6fb3 (net: bridge: convert MLDv2 Query MRC into msecs_to_jiffies for max_delay) from Linus' tree and commit e3f5b17047de (net:

Re: [PATCH] clocksource: em_sti: Set cpu_possible_mask to fix SMP broadcast

2013-09-05 Thread Simon Horman
On Wed, Sep 04, 2013 at 09:29:53AM -0700, Stephen Boyd wrote: On 09/04/13 01:44, Daniel Lezcano wrote: On Wed, Sep 04, 2013 at 05:01:51PM +0900, Magnus Damm wrote: From: Magnus Damm d...@opensource.se Update the STI driver by setting cpu_possible_mask to make EMEV2 SMP work as

Re: [PATCH 2/7] scsi/csiostor: use pcie_capability_xxx to simplify code

2013-09-05 Thread Yijing Wang
On 2013/9/4 7:43, Bjorn Helgaas wrote: On Tue, Sep 03, 2013 at 03:35:10PM +0800, Yijing Wang wrote: Pcie_capability_xxx() interfaces were introudced to s/introudced/introduced/ Will update it. simplify code to access PCIe Cap config space. And because PCI core saves the PCIe Cap offset

Re: [PATCH 05/11] iio: pressure-core: st: Describe LPS331AP defines by name

2013-09-05 Thread Lee Jones
They're currently named *_1_*, for 'Sensor 1', but the code will be much more readable if we use the naming convention *_LPS331AP_* instead. You are right, but the reason is to maintain the same structure of the other sensors drivers (like accel, gyro and magn). Often some sensors can use

Re: [Xen-devel] [PATCH] net/core: Order-3 frag allocator causes SWIOTLB bouncing under Xen

2013-09-05 Thread Ian Campbell
On Wed, 2013-09-04 at 17:11 -0400, Konrad Rzeszutek Wilk wrote: On Wed, Sep 04, 2013 at 02:00:40PM -0700, Eric Dumazet wrote: Maybe you could add proper infrastructure to deal with Xen limitations. I think Ian posted at some point an sysctl patch for that (more for debugging that anything

Re: RFD: Non-Disruptive Core Dump Infrastructure

2013-09-05 Thread Janani Venkataraman
On 09/04/2013 05:03 PM, Pavel Emelyanov wrote: On 09/04/2013 02:53 PM, Janani Venkataraman wrote: On 09/03/2013 04:24 PM, Pavel Emelyanov wrote: On 09/03/2013 02:47 PM, Janani Venkataraman wrote: On 09/03/2013 04:01 PM, Pavel Emelyanov wrote: On 09/03/2013 12:39 PM, Janani Venkataraman

Re: [GIT PULL] fbdev changes for 3.12

2013-09-05 Thread David Herrmann
Hi Tomi On Thu, Sep 5, 2013 at 8:48 AM, Tomi Valkeinen tomi.valkei...@ti.com wrote: Hi Linus, Here are the fbdev changes for 3.12. There's a conflict in drivers/video/simplefb.c, which you can resolve by using the version in your tree. No, both need to be merged. The current version lacks

Re: [GIT PULL] fbdev changes for 3.12

2013-09-05 Thread Stephen Rothwell
Hi Linus, On Thu, 5 Sep 2013 09:48:18 +0200 David Herrmann dh.herrm...@gmail.com wrote: On Thu, Sep 5, 2013 at 8:48 AM, Tomi Valkeinen tomi.valkei...@ti.com wrote: Here are the fbdev changes for 3.12. There's a conflict in drivers/video/simplefb.c, which you can resolve by using

[PATCH v2 4/6] x86/pci: use pcie_cap to simplify code

2013-09-05 Thread Yijing Wang
v1-v2: use pci_bus_set_ops to replace pci_ops and add a dev_info() to notify user that the pci_ops was replaced suggested by Bjorn. PCI core saves PCIe Cap offset in pcie_cap, use pcie_cap to simplify code. Also we should use pci_bus_set_ops() to replace pci_ops for safety and add

[PATCH v2 2/6] scsi/csiostor: use pcie_capability_xxx to simplify code

2013-09-05 Thread Yijing Wang
v1-v2: add #define for Completion Timeout Value, and use pcie_capability_clear_and_set_word() instead suggested by Bjorn. Pcie_capability_xxx() interfaces were introduced to simplify code to access PCIe Cap config space. And because PCI core saves the PCIe Cap offset in

[PATCH v2 1/6] scsi/bfa: use pcie_set/get_readrq to simplify code

2013-09-05 Thread Yijing Wang
v1-v2: use pcie_get/set_readrq to simplify code a lot suggestd by Bjorn. Use pcie_get_readrq()/pcie_set_readrq() to simplify code. Signed-off-by: Yijing Wang wangyij...@huawei.com Cc: Jiang Liu jiang@huawei.com Cc: Anil Gurumurthy aguru...@brocade.com Cc: Vijaya Mohan Guvva

[PATCH v2] mm/thp: fix stale comments of transparent_hugepage_flags

2013-09-05 Thread Jianguo Wu
Changelog: *v1 - v2: also update the stale comments about default transparent hugepage support pointed by Wanpeng Li. Since commit 13ece886d9(thp: transparent hugepage config choice), transparent hugepage support is disabled by default, and TRANSPARENT_HUGEPAGE_ALWAYS is configured when

[PATCH v2 3/6] powerpc/pci: use pci_is_pcie() to simplify code

2013-09-05 Thread Yijing Wang
Use pci_is_pcie() to simplify code. Acked-by: Kumar Gala ga...@kernel.crashing.org Reviewed-by: Gavin Shan sha...@linux.vnet.ibm.com Signed-off-by: Yijing Wang wangyij...@huawei.com Cc: Gavin Shan sha...@linux.vnet.ibm.com Cc: Benjamin Herrenschmidt b...@kernel.crashing.org Cc: Paul Mackerras

[PATCH v2 6/6] scsi/qla2xxx: use pcie_is_pcie() to simplify code

2013-09-05 Thread Yijing Wang
Use pci_is_pcie() instead of pci_find_capability to simplify code. Acked-by: Chad Dupuis chad.dup...@qlogic.com Signed-off-by: Yijing Wang wangyij...@huawei.com Cc: Andrew Vasquez andrew.vasq...@qlogic.com Cc: linux-dri...@qlogic.com Cc: James E.J. Bottomley jbottom...@parallels.com Cc:

[PATCH v2 5/6] PCI: use pci_is_pcie() to simplify code

2013-09-05 Thread Yijing Wang
Use pci_is_pcie() instead of pci_find_capability to simplify code. Signed-off-by: Yijing Wang wangyij...@huawei.com --- drivers/pci/probe.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index eeb50bd..0fa9075 100644 ---

Re: [PATCH 06/11] iio: pressure-core: st: Expand and rename LPS331AP's channel descriptor

2013-09-05 Thread Lee Jones
On Thu, 05 Sep 2013, Denis CIOCCA wrote: Due to the MACRO used, the task of reading, understanding and maintaining the LPS331AP's channel descriptor is substantially difficult. This patch is based on the view that it's better to have easy to read, maintainable code than to save a few

Re: [GIT PULL] fbdev changes for 3.12

2013-09-05 Thread Tomi Valkeinen
On 05/09/13 10:48, David Herrmann wrote: There's a conflict in drivers/video/simplefb.c, which you can resolve by using the version in your tree. No, both need to be merged. The current version lacks support for ABGR. The fbdev tree lacks the DRM format, which should be: {

Re: [PATCHv7 2/2] ARM: sunxi: dt: Add sunxi-sid to dts for sun4i, sun5i and sun7i

2013-09-05 Thread Maxime Ripard
Hi Oliver, On Tue, Sep 03, 2013 at 12:33:28PM +0200, oliver+l...@schinagl.nl wrote: From: Oliver Schinagl oli...@schinagl.nl This patch shall add support for the sunxi-sid driver to the device tree for A10, A10s, A13 and A20. Signed-off-by: Oliver Schinagl oli...@schinagl.nl Merged in my

[PATCH v2][RESEND] mm/thp: fix stale comments of transparent_hugepage_flags

2013-09-05 Thread Jianguo Wu
Changelog: *v1 - v2: also update the stale comments about default transparent hugepage support pointed by Wanpeng Li. Since commit 13ece886d9(thp: transparent hugepage config choice), transparent hugepage support is disabled by default, and TRANSPARENT_HUGEPAGE_ALWAYS is configured when

[PATCH 1/2] mm: use pgdat_end_pfn() to simplify the code in arch

2013-09-05 Thread Xishi Qiu
Use pgdat_end_pfn() instead of pgdat-node_start_pfn + pgdat-node_spanned_pages. Simplify the code, no functional change. Signed-off-by: Xishi Qiu qiuxi...@huawei.com --- arch/ia64/mm/init.c|4 +--- arch/metag/mm/init.c |2 +- arch/powerpc/mm/numa.c |3 +-- arch/sh/mm/init.c

[GIT PULL] f2fs updates for v3.12

2013-09-05 Thread Jaegeuk Kim
Hi Linus, Here is the pull request on f2fs updates for v3.12. This patch-set includes several enhancements such as inline-xattrs, sysfs, proc entry, and performance improvement at worst case scenarios. It also includes some bug fixes. Thank you very much. The following changes since commit

[PATCH 2/2] mm: use pgdat_end_pfn() to simplify the code in others

2013-09-05 Thread Xishi Qiu
Use pgdat_end_pfn() instead of pgdat-node_start_pfn + pgdat-node_spanned_pages. Simplify the code, no functional change. Signed-off-by: Xishi Qiu qiuxi...@huawei.com --- fs/proc/kcore.c |3 +-- mm/bootmem.c|2 +- mm/memory_hotplug.c |9 - 3 files changed, 6

Awaiting your urgent and favorable response!

2013-09-05 Thread Larry Williams
Regards, Larry Williams. Mr. Larry Williams..pdf Description: Adobe PDF document

Re: [PATCH v2] efifb: prevent null dereferences by removing unused array indices from dmi_list

2013-09-05 Thread Tomi Valkeinen
Hi James, Can you resend this? I don't know how I could apply the patch from this mail without re-creating it manually. Tomi On 16/08/13 23:19, James Bates wrote: On Fri, 2013-08-16 at 15:37 +0200, David Herrmann wrote: Hi (CC'ing hpa) Yepp, this patch looks good: Reviewed-by: David

Re: [PATCH] HID: roccat: MAINTAINERS: Adding Roccat drivers 2nd try

2013-09-05 Thread Jiri Kosina
On Thu, 5 Sep 2013, Stefan Achatz wrote: Adding maintainer for Roccat hid drivers I sent this patch some weeks ago, seemingly unnoticed. Maybe I have more luck via Jiri's hid repo. Signed-off-by: Stefan Achatz erazor...@users.sourceforge.net --- MAINTAINERS |8 1 files

RE: [PATCH v4 3/3] dma: Add Freescale eDMA engine driver support

2013-09-05 Thread Lu Jingchang-B35083
-Original Message- From: Vinod Koul [mailto:vinod.k...@intel.com] Sent: Tuesday, September 03, 2013 7:32 PM To: Lu Jingchang-B35083 Cc: shawn@linaro.org; linux-kernel@vger.kernel.org; linux-arm- ker...@lists.infradead.org; devicet...@vger.kernel.org Subject: Re: [PATCH v4 3/3]

[PATCH] video/drm: Drop superfluous select VT_HW_CONSOLE_BINDING

2013-09-05 Thread Geert Uytterhoeven
commit 765d5b9c2b72f5b99722cdfcf4bf8f88c556cf92 (fbdev: fbcon: select VT_HW_CONSOLE_BINDING) made FRAMEBUFFER_CONSOLE always select VT_HW_CONSOLE_BINDING, but forgot to remove select VT_HW_CONSOLE_BINDING if FRAMEBUFFER_CONSOLE from the individual drivers' sections that already did this

Re: [PATCH V3 11/11] Add option to automatically enforce module signatures when in Secure Boot mode

2013-09-05 Thread joeyli
於 二,2013-09-03 於 19:50 -0400,Matthew Garrett 提到: UEFI Secure Boot provides a mechanism for ensuring that the firmware will only load signed bootloaders and kernels. Certain use cases may also require that all kernel modules also be signed. Add a configuration option that enforces this

[PATCH] scsi: Add printk to detect retry loop

2013-09-05 Thread Eiichi Tsukata
Hello, This patch is to avoid indefinite command retry loop. The previous RFC patch is here: http://marc.info/?t=13769053762r=1w=3 In the previous discuss, James says that once retry loop is detected, whether or not to panic(offline) should be decided by user, and not in scsi subsystem. So

[PATCH] scsi: Add printk to detect retry loop

2013-09-05 Thread Eiichi Tsukata
Currently, scsi error handling in scsi_decide_disposition() unconditionally retries on some errors. This is because retriable errors are thought to be temporary and the scsi device will soon recover from those errors. But there is no guarantee that the device is able to recover from error state

Re: [PATCH 06/11] iio: pressure-core: st: Expand and rename LPS331AP's channel descriptor

2013-09-05 Thread Denis CIOCCA
Lee, I got your point. For me is ok... Denis On Thu, 05 Sep 2013, Denis CIOCCA wrote: Due to the MACRO used, the task of reading, understanding and maintaining the LPS331AP's channel descriptor is substantially difficult. This patch is based on the view that it's better to have easy to read,

Re: [PATCH] mtd: bcm47xxsflash: the argument to kfree should not be the address of a structure field

2013-09-05 Thread David Woodhouse
On Thu, 2013-09-05 at 15:02 +0800, Duan Jiong wrote: err_dev_reg: - kfree(b47s-mtd); + kfree(b47s); out: return err; } Thanks, but this is already fixed in linux-next, and will be going to Linus very shortly: http://git.infradead.org/linux-mtd.git/commitdiff/d2b1bd1422

Re: [PATCH v2] mm/thp: fix stale comments of transparent_hugepage_flags

2013-09-05 Thread Jianguo Wu
Hi Wanpeng, Thanks for your review, but this patch has minor format problem, please see below. Please review the resend one, thanks. Thanks, Jianguo Wu On 2013/9/5 16:09, Wanpeng Li wrote: On Thu, Sep 05, 2013 at 03:57:47PM +0800, Jianguo Wu wrote: Changelog: *v1 - v2: also update the stale

[PATCH] staging/lustre: Correct default for LUSTRE_TRANSLATE_ERRNOS

2013-09-05 Thread Geert Uytterhoeven
LUSTRE_TRANSLATE_ERRNOS is never enabled, a true is not a valid value. Use default y instead of default true to fix this. Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org --- drivers/staging/lustre/lustre/Kconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH 11/18] Hibernate: introduced RSA key-pair to verify signature of snapshot

2013-09-05 Thread Matt Fleming
On Thu, 22 Aug, at 07:01:50PM, Lee, Chun-Yi wrote: +static int efi_status_to_err(efi_status_t status) +{ + int err; + + switch (status) { + case EFI_INVALID_PARAMETER: + err = -EINVAL; + break; + case EFI_OUT_OF_RESOURCES: + err =

Re: [PATCH] video/drm: Drop superfluous select VT_HW_CONSOLE_BINDING

2013-09-05 Thread David Herrmann
Hi On Thu, Sep 5, 2013 at 10:20 AM, Geert Uytterhoeven ge...@linux-m68k.org wrote: commit 765d5b9c2b72f5b99722cdfcf4bf8f88c556cf92 (fbdev: fbcon: select VT_HW_CONSOLE_BINDING) made FRAMEBUFFER_CONSOLE always select VT_HW_CONSOLE_BINDING, but forgot to remove select

linux-next: manual merge of the akpm tree with the vfs tree

2013-09-05 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in include/linux/fs.h between commit 7b7a8665edd8 (direct-io: Implement generic deferred AIO completions) from the vfs tree and commit dcache: convert to use new lru list infrastructure from the akpm tree. I fixed it up (see

Re: [PATCH 00/11] x86, memblock: Allocate memory near kernel image before SRAT parsed.

2013-09-05 Thread Tang Chen
Hi tj, On 09/05/2013 03:22 AM, Tejun Heo wrote: .. I'm expectedly happier with this approach but some overall review points. * I think patch splitting went a bit too far. e.g. it doesn't make much sense or helps anything to split introduction of a param from the param doing

[PULL REQUEST] i2c for 3.12

2013-09-05 Thread Wolfram Sang
Linus, please pull the changes from the I2C subsystem for the 3.12 release. Highlights: * OF and ACPI helpers are now included in the core, and not in external files anymore. This removes dependency problems for modules and is cleaner, in general. * mv64xxx-driver gains fifo usage to support

[PATCH] sparc64: Export flush_ptrace_access() (needed by lustre)

2013-09-05 Thread Geert Uytterhoeven
ERROR: flush_ptrace_access [drivers/staging/lustre/lustre/libcfs/libcfs.ko] undefined! Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org --- arch/sparc/kernel/ptrace_64.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/sparc/kernel/ptrace_64.c b/arch/sparc/kernel/ptrace_64.c

[PATCH] mm: use populated_zone() instead of if(zone-present_pages)

2013-09-05 Thread Xishi Qiu
Use if (zone-present_pages) instead of if (zone-present_pages). Simplify the code, no functional change. Signed-off-by: Xishi Qiu qiuxi...@huawei.com --- mm/page_alloc.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/page_alloc.c b/mm/page_alloc.c index

Re: [PATCH 02/10] vfs: check submounts and drop atomically

2013-09-05 Thread Miklos Szeredi
On Wed, Sep 4, 2013 at 7:58 PM, Al Viro v...@zeniv.linux.org.uk wrote: On Wed, Sep 04, 2013 at 04:05:48PM +0200, Miklos Szeredi wrote: +static void check_and_drop(void *_data, struct dentry *dentry) +{ + struct select_data *data = _data; + + /* We're only interested in the root of

Re: [PATCH RESEND] HID: New hid-cp2112 driver.

2013-09-05 Thread David Herrmann
Hi On Tue, Sep 3, 2013 at 11:51 PM, David Barksdale dbarksd...@uplogix.com wrote: On 08/29/2013 11:43 AM, David Herrmann wrote: Hi On Tue, Aug 27, 2013 at 5:01 PM, David Barksdale dbarksd...@uplogix.com wrote: This patch adds support for the Silicon Labs CP2112 Single-Chip HID USB to

[PATCH] perf tools: Clarify error when running perf lock record

2013-09-05 Thread Rodrigo Campos
If you have the config options enabled in your kernel, you still need to be root to run perf lock. And is kind of misleading when you have that options enabled and the error says that they might not be. So, this patch just adds to the error that it should be run as root. Although we can probably

Re: [patch 0/7] improve memcg oom killer robustness v2

2013-09-05 Thread azurIt
[...] My script has just detected (and killed) another freezed cgroup. I must say that i'm not 100% sure that cgroup was really freezed but it has 99% or more memory usage for at least 30 seconds (well, or it has 99% memory usage in both two cases the script was checking it). Here are

[PATCHv2] perf tools: Separate progress bar update when processing events

2013-09-05 Thread Jiri Olsa
On Wed, Sep 04, 2013 at 10:47:22AM -0600, David Ahern wrote: On 9/4/13 10:27 AM, Jiri Olsa wrote: SNIP index 1fc0c62..4df449c 100644 --- a/tools/perf/util/session.c +++ b/tools/perf/util/session.c @@ -495,7 +495,7 @@ static int perf_session_deliver_event(struct perf_session *session,

[PATCH v2] sparc64: Export flush_ptrace_access() (needed by lustre)

2013-09-05 Thread Geert Uytterhoeven
ERROR: flush_ptrace_access [drivers/staging/lustre/lustre/libcfs/libcfs.ko] undefined! Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org --- v2: Use EXPORT_SYMBOL_GPL instead of EXPORT_SYMBOL arch/sparc/kernel/ptrace_64.c |2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [PATCH 1/2] hugetlbfs: support split page table lock

2013-09-05 Thread Aneesh Kumar K.V
Naoya Horiguchi n-horigu...@ah.jp.nec.com writes: Hi Aneesh, On Wed, Sep 04, 2013 at 12:43:19PM +0530, Aneesh Kumar K.V wrote: Naoya Horiguchi n-horigu...@ah.jp.nec.com writes: Currently all of page table handling by hugetlbfs code are done under mm-page_table_lock. So when a process

Re: [PATCH 05/11] memblock: Introduce allocation order to memblock.

2013-09-05 Thread Tang Chen
Hi Wanpeng, On 09/05/2013 05:16 PM, Wanpeng Li wrote: .. +/* Allocation order. */ How about replace Allocation order by Allocation sequence. The Allocation order is ambiguity. Yes, order is ambiguity. But as tj suggested, I think maybe direction is better. Thanks. :) -- To

[PATCH] MIPS: Export copy_from_user_page() (needed by lustre)

2013-09-05 Thread Geert Uytterhoeven
ERROR: copy_from_user_page [drivers/staging/lustre/lustre/libcfs/libcfs.ko] undefined! Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org --- arch/mips/mm/init.c |1 + 1 file changed, 1 insertion(+) diff --git a/arch/mips/mm/init.c b/arch/mips/mm/init.c index 4e73f10..e205ef5 100644

[PATCH 3/6] GFS2: Merge ordered and writeback writepage

2013-09-05 Thread Steven Whitehouse
The writepages function was recently merged between writeback and ordered mode. This completes the change by doing the same with writepage. The remaining differences in writepage were left over from some earlier time and not actually doing anything useful. Signed-off-by: Steven Whitehouse

GFS2 Pre-pull patch posting (merge window)

2013-09-05 Thread Steven Whitehouse
Hi, This is the smallest merge window patch set for GFS2 for quite some time. Only one of the patches (moving gfs2_sync_meta) is a non-bug fix patch, although the merge ordered and writeback writepage patch is also a nice clean up. A couple of the patches are quite recently added, due to my only

[PATCH 6/6] GFS2: dirty inode correctly in gfs2_write_end

2013-09-05 Thread Steven Whitehouse
From: Benjamin Marzinski bmarz...@redhat.com GFS2 was only setting I_DIRTY_DATASYNC on files that it wrote to, when it actually increased the file size. If gfs2_fsync was called without I_DIRTY_DATASYNC set, it didn't flush the incore data to the log before returning, so any metadata or

[PATCH 4/6] GFS2: Remove unnecessary memory barrier

2013-09-05 Thread Steven Whitehouse
From: Bob Peterson rpete...@redhat.com Function test_and_clear_bit implies a memory barrier, so subsequent memory barriers are unnecessary. Signed-off-by: Bob Peterson rpete...@redhat.com Signed-off-by: Steven Whitehouse swhit...@redhat.com diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c index

[PATCH 2/6] GFS2: Take glock reference in examine_bucket()

2013-09-05 Thread Steven Whitehouse
We need to check the glock ref counter in a race free way in order to ensure that the gfs2_glock_hold() call will succeed. The easiest way to do that is to simply take the reference count early in the common code of examine_bucket, skipping any glocks with zero ref count. That means that the

[PATCH 5/6] GFS2: Don't flag consistency error if first mounter is a spectator

2013-09-05 Thread Steven Whitehouse
From: Bob Peterson rpete...@redhat.com This patch checks for the first mounter being a specator. If so, it makes sure all the journals are clean. If there's a dirty journal, the mount fails. Testing results: # insmod gfs2.ko # mount -tgfs2 -o spectator /dev/sasdrives/scratch /mnt/gfs2 mount:

[PATCH 1/6] GFS2: Move gfs2_sync_meta to lops.c

2013-09-05 Thread Steven Whitehouse
Since gfs2_sync_meta() is only called from a single file, lets move it to lops.c where it is used, and mark it static. At the same time, we can clean up the meta_io.h header too. Signed-off-by: Steven Whitehouse swhit...@redhat.com diff --git a/fs/gfs2/lops.c b/fs/gfs2/lops.c index

linux-next: Tree for Sep 5

2013-09-05 Thread Stephen Rothwell
Hi all, Please do not add any code for v3.13 to your linux-next included branches until after v3.12-rc1 is released. Changes since 20130904: The arm tree lost its build failure. The h8300-remove tree gained a conflict against the net tree. The vfs tree gained conflicts against the aio-direct

[PATCH] parisc: Export flush_cache_page() (needed by lustre)

2013-09-05 Thread Geert Uytterhoeven
ERROR: flush_cache_page [drivers/staging/lustre/lustre/libcfs/libcfs.ko] undefined! Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org --- arch/parisc/kernel/cache.c |1 + 1 file changed, 1 insertion(+) diff --git a/arch/parisc/kernel/cache.c b/arch/parisc/kernel/cache.c index

Re: [PATCH] can: pcan_usb_core: fix memory leak on failure paths in peak_usb_start()

2013-09-05 Thread Marc Kleine-Budde
Added Stephane to Cc. On 09/04/2013 11:46 PM, Alexey Khoroshilov wrote: Tx and rx urbs are not deallocated if something goes wrong in peak_usb_start(). The patch fixes error handling to deallocate all the resources. Found by Linux Driver Verification project (linuxtesting.org).

Re: [PATCH RFC v2 01/16] ARM: call clk_of_init from time_init

2013-09-05 Thread Arnd Bergmann
On Wednesday 04 September 2013, Sören Brinkmann wrote: On Wed, Sep 04, 2013 at 10:52:09PM +0200, Sebastian Hesselbarth wrote: On 09/04/2013 10:41 PM, Sören Brinkmann wrote: Anyways, having a custom .init_time gives you full control over of_clk_init and clocksource_of_init back again thanks

Re: [PATCH 1/3] kconfig: do not special-case 'MODULES' symbol

2013-09-05 Thread Michal Marek
On 3.9.2013 23:04, Yann E. MORIN wrote: From: Yann E. MORIN yann.morin.1...@free.fr Currently, the 'MODULES' symbol is hard-coded to be the default symbol that enables/disables tristates, if no other symbol was declared with 'option modules'. While this used to be needed for the Linux

[PATCH 00/11] [v4] safely drop directory dentry on failed revalidate

2013-09-05 Thread Miklos Szeredi
Here's a series for fixing issues with d_drop on a directory dentry with children and adding support for such dropped directories in fuse. Address comments: kill -leave() callback, select_parent() and __check_submounts_and_drop(). Don't spam everybody: dropped most Cc's. Thanks, Miklos ---

[PATCH 01/11] vfs: restructure d_genocide()

2013-09-05 Thread Miklos Szeredi
From: Miklos Szeredi mszer...@suse.cz It shouldn't matter when we decrement the refcount during the walk as long as we do it exactly once. Restructure d_genocide() to do the killing on entering the dentry instead of when leaving it. This helps creating a common helper for tree walking.

[PATCH] mfd: rtsx: Modify rts5249_optimize_phy

2013-09-05 Thread wei_wang
From: Wei WANG wei_w...@realsil.com.cn In some platforms, specially Thinkpad series, rts5249 won't be initialized properly. So we need adjust some phy parameters to improve the compatibility issue. Signed-off-by: Wei WANG wei_w...@realsil.com.cn --- drivers/mfd/rts5249.c | 25

[PATCH 03/11] vfs: check submounts and drop atomically

2013-09-05 Thread Miklos Szeredi
From: Miklos Szeredi mszer...@suse.cz We check submounts before doing d_drop() on a non-empty directory dentry in NFS (have_submounts()), but we do not exclude a racing mount. Process A: have_submounts() - returns false Process B: mount() - success Process A: d_drop() This patch prepares the

[PATCH 09/11] fuse: use d_materialise_unique()

2013-09-05 Thread Miklos Szeredi
From: Miklos Szeredi mszer...@suse.cz Use d_materialise_unique() instead of d_splice_alias(). This allows dentry subtrees to be moved to a new place if there moved, even if something is referencing a dentry in the subtree (open fd, cwd, etc..). This will also allow us to drop a subtree if it is

[PATCH 10/11] fuse: clean up return in fuse_dentry_revalidate()

2013-09-05 Thread Miklos Szeredi
From: Miklos Szeredi mszer...@suse.cz On errors unrelated to the filesystem's state (ENOMEM, ENOTCONN) return the error itself from -d_revalidate() insted of returning zero (invalid). Also make a common label for invalidating the dentry. This will be used by the next patch. Signed-off-by:

[PATCH 11/11] fuse: drop dentry on failed revalidate

2013-09-05 Thread Miklos Szeredi
From: Anand Avati av...@redhat.com Drop a subtree when we find that it has moved or been delated. This can be done as long as there are no submounts under this location. If the directory was moved and we come across the same directory in a future lookup it will be reconnected by

[PATCH 05/11] afs: use check_submounts_and_drop()

2013-09-05 Thread Miklos Szeredi
From: Miklos Szeredi mszer...@suse.cz Do have_submounts(), shrink_dcache_parent() and d_drop() atomically. check_submounts_and_drop() can deal with negative dentries as well. Signed-off-by: Miklos Szeredi mszer...@suse.cz CC: David Howells dhowe...@redhat.com --- fs/afs/dir.c | 10 +++---

[PATCH 06/11] gfs2: use check_submounts_and_drop()

2013-09-05 Thread Miklos Szeredi
From: Miklos Szeredi mszer...@suse.cz Do have_submounts(), shrink_dcache_parent() and d_drop() atomically. check_submounts_and_drop() can deal with negative dentries and non-directories as well. Non-directories can also be mounted on. And just like directories we don't want these to disappear

[PATCH 08/11] sysfs: use check_submounts_and_drop()

2013-09-05 Thread Miklos Szeredi
From: Miklos Szeredi mszer...@suse.cz Do have_submounts(), shrink_dcache_parent() and d_drop() atomically. check_submounts_and_drop() can deal with negative dentries and non-directories as well. Non-directories can also be mounted on. And just like directories we don't want these to disappear

[PATCH 07/11] nfs: use check_submounts_and_drop()

2013-09-05 Thread Miklos Szeredi
From: Miklos Szeredi mszer...@suse.cz Do have_submounts(), shrink_dcache_parent() and d_drop() atomically. check_submounts_and_drop() can deal with negative dentries and non-directories as well. Non-directories can also be mounted on. And just like directories we don't want these to disappear

[PATCH 04/11] vfs: check unlinked ancestors before mount

2013-09-05 Thread Miklos Szeredi
From: Miklos Szeredi mszer...@suse.cz We check submounts before doing d_drop() on a non-empty directory dentry in NFS (have_submounts()), but we do not exclude a racing mount. Nor do we prevent mounts to be added to the disconnected subtree using relative paths after the d_drop(). This patch

[PATCH 02/11] vfs: add d_walk()

2013-09-05 Thread Miklos Szeredi
From: Miklos Szeredi mszer...@suse.cz This one replaces three instances open coded tree walking (have_submounts, select_parent, d_genocide) with a common helper. In addition to slightly reducing the kernel size, this simplifies the callers and makes them less bug prone. Signed-off-by: Miklos

Re: [patch 0/7] improve memcg oom killer robustness v2

2013-09-05 Thread Michal Hocko
On Thu 05-09-13 11:14:30, azurIt wrote: [...] My script detected another freezed cgroup today, sending stacks. Is there anything interesting? 3 tasks are sleeping and waiting for somebody to take an action to resolve memcg OOM. The memcg oom killer is enabled for that group? If yes, which task

Re: memcg creates an unkillable task in 3.11-rc2

2013-09-05 Thread Michal Hocko
It seems that this one fell though the cracks? On Thu 01-08-13 11:06:20, Michal Hocko wrote: On Wed 31-07-13 15:09:16, Eric W. Biederman wrote: Michal Hocko mho...@suse.cz writes: [I am CCing David here as well] On Tue 30-07-13 09:37:46, Eric W. Biederman wrote: Michal Hocko

[PATCH v5 3/3] dma: Add Freescale eDMA engine driver support

2013-09-05 Thread Jingchang Lu
Add Freescale enhanced direct memory(eDMA) controller support. The eDMA controller deploys DMAMUXs routing DMA request sources(slot) to eDMA channels. This module can be found on Vybrid and LS-1 SoCs. Signed-off-by: Alison Wang b18...@freescale.com Signed-off-by: Jingchang Lu b35...@freescale.com

Re: [PATCH net-next 2/2] tuntap: orphan frags before trying to set tx timestamp

2013-09-05 Thread Jason Wang
On 09/04/2013 09:27 PM, Sergei Shtylyov wrote: Hello. On 04-09-2013 8:33, Jason Wang wrote: sock_tx_timestamp() will clear all zerocopy flags of skb which may lead the frags never to be orphaned. This will break guest to guest traffic when zerocopy is enabled. Fix this by orphaning the

RE: [PATCH] video/drm: Drop superfluous select VT_HW_CONSOLE_BINDING

2013-09-05 Thread Inki Dae
-Original Message- From: Geert Uytterhoeven [mailto:ge...@linux-m68k.org] Sent: Thursday, September 05, 2013 5:21 PM To: David Herrmann; H. Peter Anvin Cc: Inki Dae; David Airlie; Geoff Levand; dri-de...@lists.freedesktop.org; linux-fb...@vger.kernel.org;

Re: [PATCH 1/3] kconfig: do not special-case 'MODULES' symbol

2013-09-05 Thread Michal Marek
On 5.9.2013 11:38, Michal Marek wrote: On 3.9.2013 23:04, Yann E. MORIN wrote: From: Yann E. MORIN yann.morin.1...@free.fr This patch changes the way we enable/disable tristates: if a symbol was found with 'option modules' attached to it, then that symbol controls enabling tristates.

[PATCH V2 net-next 2/2] tuntap: orphan frags before trying to set tx timestamp

2013-09-05 Thread Jason Wang
sock_tx_timestamp() will clear all zerocopy flags of skb which may lead the frags never to be orphaned. This will break guest to guest traffic when zerocopy is enabled. Fix this by orphaning the frags before trying to set tx time stamp. The issue were introduced by commit

  1   2   3   4   5   6   7   8   9   10   >