Re: [PATCH 1/5] capemgr: Beaglebone DT overlay based cape manager

2013-01-07 Thread Pantelis Antoniou
Hi Tony, On Jan 7, 2013, at 10:09 PM, Tony Lindgren wrote: * Pantelis Antoniou pa...@antoniou-consulting.com [130107 10:54]: A cape loader based on DT overlays and DT objects. Beaglebone cape manager implementation. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com ---

Re: [PATCH v3 2/4] videobuf2-dma-streaming: new videobuf2 memory allocator

2013-01-07 Thread Mauro Carvalho Chehab
Em Mon, 7 Jan 2013 12:40:50 -0700 Jonathan Corbet cor...@lwn.net escreveu: On Mon, 7 Jan 2013 00:09:47 +0100 Alessandro Rubini rub...@gnudd.com wrote: I don't expect you'll see serious performance differences on the PC. I think ARM users will have better benefits, due to the different

Re: [PATCH v7 0/5] Reset PCIe devices to address DMA problem on kdump with iommu

2013-01-07 Thread Yinghai Lu
On Mon, Jan 7, 2013 at 11:09 AM, Thomas Renninger tr...@suse.de wrote: e820: BIOS-provided physical RAM map: BIOS-e820: [mem 0x0100-0x0009bfff] usable BIOS-e820: [mem 0x0010-0xbd2e] usable BIOS-e820: [mem 0xbd2f-0xbd31bfff]

Re: [PATCH 1/5] capemgr: Beaglebone DT overlay based cape manager

2013-01-07 Thread Tony Lindgren
* Pantelis Antoniou pa...@antoniou-consulting.com [130107 12:16]: Hi Tony, On Jan 7, 2013, at 10:09 PM, Tony Lindgren wrote: * Pantelis Antoniou pa...@antoniou-consulting.com [130107 10:54]: A cape loader based on DT overlays and DT objects. Beaglebone cape manager implementation.

[PATCHv2 1/9] staging: zsmalloc: add gfp flags to zs_create_pool

2013-01-07 Thread Seth Jennings
zs_create_pool() currently takes a gfp flags argument that is used when growing the memory pool. However it is not used in allocating the metadata for the pool itself. That is currently hardcoded to GFP_KERNEL. zswap calls zs_create_pool() at swapon time which is done in atomic context,

[PATCHv2 2/9] staging: zsmalloc: remove unsed pool name

2013-01-07 Thread Seth Jennings
zs_create_pool() currently takes a name argument which is never used in any useful way. This patch removes it. Signed-off-by: Seth Jennnings sjenn...@linux.vnet.ibm.com --- drivers/staging/zcache/zcache-main.c |2 +- drivers/staging/zram/zram_drv.c |2 +-

[PATCHv2 7/9] mm: break up swap_writepage() for frontswap backends

2013-01-07 Thread Seth Jennings
swap_writepage() is currently where frontswap hooks into the swap write path to capture pages with the frontswap_store() function. However, if a frontswap backend wants to resume the writeback of a page to the swap device, it can't call swap_writepage() as the page will simply reenter the backend.

[PATCHv2 9/9] zswap: add documentation

2013-01-07 Thread Seth Jennings
This patch adds the documentation file for the zswap functionality Signed-off-by: Seth Jennings sjenn...@linux.vnet.ibm.com --- Documentation/vm/zswap.txt | 73 1 file changed, 73 insertions(+) create mode 100644 Documentation/vm/zswap.txt diff

[PATCHv2 4/9] staging: zsmalloc: make CLASS_DELTA relative to PAGE_SIZE

2013-01-07 Thread Seth Jennings
Right now ZS_SIZE_CLASS_DELTA is hardcoded to be 16. This creates 254 classes for systems with 4k pages. However, on PPC64 with 64k pages, it creates 4095 classes which is far too many. This patch makes ZS_SIZE_CLASS_DELTA relative to PAGE_SIZE so that regardless of the page size, there will be

[PATCHv2 8/9] zswap: add to mm/

2013-01-07 Thread Seth Jennings
zswap is a thin compression backend for frontswap. It receives pages from frontswap and attempts to store them in a compressed memory pool, resulting in an effective partial memory reclaim and dramatically reduced swap device I/O. Additional, in most cases, pages can be retrieved from this

[PATCHv2 5/9] debugfs: add get/set for atomic types

2013-01-07 Thread Seth Jennings
debugfs currently lack the ability to create attributes that set/get atomic_t values. This patch adds support for this through a new debugfs_create_atomic_t() function. Signed-off-by: Seth Jennings sjenn...@linux.vnet.ibm.com --- fs/debugfs/file.c | 42

Re: [PATCH 1/5] capemgr: Beaglebone DT overlay based cape manager

2013-01-07 Thread Pantelis Antoniou
Hi Tony, On Jan 7, 2013, at 10:23 PM, Tony Lindgren wrote: * Pantelis Antoniou pa...@antoniou-consulting.com [130107 12:16]: Hi Tony, On Jan 7, 2013, at 10:09 PM, Tony Lindgren wrote: * Pantelis Antoniou pa...@antoniou-consulting.com [130107 10:54]: A cape loader based on DT overlays

[PATCHv2 3/9] staging: zsmalloc: add page alloc/free callbacks

2013-01-07 Thread Seth Jennings
This patch allows users of zsmalloc to register the allocation and free routines used by zsmalloc to obtain more pages for the memory pool. This allows the user more control over zsmalloc pool policy and behavior. If the user does not wish to control this, alloc_page() and __free_page() are used

[PATCHv2 0/9] zswap: compressed swap caching

2013-01-07 Thread Seth Jennings
on documentation file * Rebase to next-20130107 Zswap Overview: Zswap is a lightweight compressed cache for swap pages. It takes pages that are in the process of being swapped out and attempts to compress them into a dynamically allocated RAM-based memory pool. If this process is successful

Re: [PATCHv2 5/9] debugfs: add get/set for atomic types

2013-01-07 Thread Greg Kroah-Hartman
On Mon, Jan 07, 2013 at 02:24:36PM -0600, Seth Jennings wrote: debugfs currently lack the ability to create attributes that set/get atomic_t values. I hate to ask, but why would you ever want to do such a thing? greg k-h -- To unsubscribe from this list: send the line unsubscribe linux-kernel

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

2013-01-07 Thread Yinghai Lu
On Mon, Jan 7, 2013 at 7:26 AM, Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: On Fri, Jan 04, 2013 at 02:10:25PM -0800, Yinghai Lu wrote: On Fri, Jan 4, 2013 at 1:02 PM, Shuah Khan shuahk...@gmail.com wrote: Pani'cing the system doesn't sound like a good option to me in this case. This

Re: [PATCH 1/5] capemgr: Beaglebone DT overlay based cape manager

2013-01-07 Thread Tony Lindgren
* Pantelis Antoniou pa...@antoniou-consulting.com [130107 12:29]: On Jan 7, 2013, at 10:23 PM, Tony Lindgren wrote: Well how about split it to an eeprom driver, and Linux generic device loader parts? All that's left is the eeprom driver (accessor) and calls to the generic DT

Re: [PATCH 1/7] KVM: Write protect the updated slot only when we start dirty logging

2013-01-07 Thread Marcelo Tosatti
On Tue, Dec 18, 2012 at 04:26:47PM +0900, Takuya Yoshikawa wrote: This is needed to make kvm_mmu_slot_remove_write_access() rmap based: otherwise we may end up using invalid rmap's. Signed-off-by: Takuya Yoshikawa yoshikawa_takuya...@lab.ntt.co.jp Why? memslot-arch.rmap[] has been properly

Re: [PATCH 0/7] KVM: Alleviate mmu_lock hold time when we start dirty logging

2013-01-07 Thread Marcelo Tosatti
On Tue, Dec 18, 2012 at 04:25:58PM +0900, Takuya Yoshikawa wrote: This patch set makes kvm_mmu_slot_remove_write_access() rmap based and adds conditional rescheduling to it. The motivation for this change is of course to reduce the mmu_lock hold time when we start dirty logging for a large

[ 3.5.y.z extended stable ] Patch MIPS: Fix poweroff failure when HOTPLUG_CPU configured. has been added to staging queue

2013-01-07 Thread Herton Ronaldo Krzesinski
This is a note to let you know that I have just added a patch titled MIPS: Fix poweroff failure when HOTPLUG_CPU configured. to the linux-3.5.y-queue branch of the 3.5.y.z extended stable tree which can be found at:

Re: [PATCH] omap: am33xx-hwmod: Fix wrongly terminated am33xx_usbss_mpu_irqs array

2013-01-07 Thread Tony Lindgren
* Paul Walmsley p...@pwsan.com [130107 12:12]: On Mon, 7 Jan 2013, Tony Lindgren wrote: * Pantelis Antoniou pa...@antoniou-consulting.com [130103 14:35]: The IRQ array must be terminated by -1 and not by -1+OMAP_INTC_START This led to having a resource list of 100s of IRQs. This is

Re: [PATCH 1/5] capemgr: Beaglebone DT overlay based cape manager

2013-01-07 Thread Pantelis Antoniou
Hi Tony, On Jan 7, 2013, at 10:35 PM, Tony Lindgren wrote: * Pantelis Antoniou pa...@antoniou-consulting.com [130107 12:29]: On Jan 7, 2013, at 10:23 PM, Tony Lindgren wrote: Well how about split it to an eeprom driver, and Linux generic device loader parts? All that's left is the

Re: [PATCHv2 5/9] debugfs: add get/set for atomic types

2013-01-07 Thread Seth Jennings
On 01/07/2013 02:32 PM, Greg Kroah-Hartman wrote: On Mon, Jan 07, 2013 at 02:24:36PM -0600, Seth Jennings wrote: debugfs currently lack the ability to create attributes that set/get atomic_t values. I hate to ask, but why would you ever want to do such a thing? There are a few atomic_t

USB autosuspend vs. URB submission

2013-01-07 Thread Josh Boyer
Hi, We've had a few reports in Fedora of users hitting the WARN_ONCE in drivers/usb/core/urb.c that prints a warning about a usb_submit_urb being called on an active URB. One of them[1] is from the ums_realtek driver and the other[2] is from the uvcvideo driver. However, I noticed that in both

Re: [PATCH 4/4] block: Optionally snapshot page contents to provide stable pages during write

2013-01-07 Thread Darrick J. Wong
On Fri, Dec 28, 2012 at 06:48:35AM +0900, OGAWA Hirofumi wrote: Darrick J. Wong darrick.w...@oracle.com writes: I think this flag should be separated into FS provide stable page and FS needs bounce buffer for stable page. My fs (I guess btrfs also) provides stable page by better way,

Re: [PATCH v4 5/5] KVM: x86: improve reexecute_instruction

2013-01-07 Thread Marcelo Tosatti
On Sat, Jan 05, 2013 at 04:16:37PM +0800, Xiao Guangrong wrote: On 01/05/2013 06:44 AM, Marcelo Tosatti wrote: index b0a3678..44c6992 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c @@ -4756,15 +4756,8 @@ static int handle_emulation_failure(struct kvm_vcpu *vcpu) static

Re: [PATCH tip/core/rcu 05/14] rcu: Distinguish rcuo kthreads by RCU flavor

2013-01-07 Thread Paul E. McKenney
On Sun, Jan 06, 2013 at 06:34:17PM -0500, Paul Gortmaker wrote: On Sat, Jan 5, 2013 at 12:48 PM, Paul E. McKenney paul...@linux.vnet.ibm.com wrote: From: Paul E. McKenney paul.mcken...@linaro.org Currently, the per-no-CBs-CPU kthreads are named rcuo followed by the CPU number, for

Re: [PATCH] ACPI / scan: Treat power resources in a special way

2013-01-07 Thread Rafael J. Wysocki
On Monday, January 07, 2013 10:16:59 AM Toshi Kani wrote: On Mon, 2012-12-31 at 00:46 +, Rafael J. Wysocki wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com Commit 1d57433 (ACPI: Separate adding ACPI device objects from probing ACPI drivers) introduced an ACPI power resources

[PATCH] ARM: dts: exynos5250: Set HDMI version to v1.4

2013-01-07 Thread Sean Paul
Set the HDMI version to v1.4 for all exynos5250 targets. This property was previously being inferred by the existence of the hdmi node. Signed-off-by: Sean Paul seanp...@chromium.org --- arch/arm/boot/dts/exynos5250.dtsi |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git

Re: [PATCH] drivers/staging/speakup: avoid out-of-range access

2013-01-07 Thread Samuel Thibault
Greg KH, le Mon 07 Jan 2013 09:44:53 -0800, a écrit : Wait, Nickolai wrote the first patch, so how could he sign off on your patch? How about sending me an add-on patch on top of the first one which adds the additional check? Right, here it is: Check that array index is in-bounds before

Re: [PATCH 1/5] capemgr: Beaglebone DT overlay based cape manager

2013-01-07 Thread Tony Lindgren
* Pantelis Antoniou pa...@antoniou-consulting.com [130107 12:43]: Hi Tony, On Jan 7, 2013, at 10:35 PM, Tony Lindgren wrote: * Pantelis Antoniou pa...@antoniou-consulting.com [130107 12:29]: On Jan 7, 2013, at 10:23 PM, Tony Lindgren wrote: Well how about split it to an eeprom

Re: [PATCH 1/2] drivers/media/platform/soc_camera/pxa_camera.c: reposition free_irq to avoid access to invalid data

2013-01-07 Thread Julia Lawall
On Mon, 7 Jan 2013, Robert Jarzmik wrote: Guennadi Liakhovetski g.liakhovet...@gmx.de writes: (adding Robert to CC) I don't think any data is freed by pxa_free_dma(), it only disables DMA on a certain channel. Theoretically there could be a different problem: pxa_free_dma()

Re: [PATCH v2] mm: memblock: fix wrong memmove size in memblock_merge_regions()

2013-01-07 Thread Andrew Morton
On Mon, 7 Jan 2013 11:41:36 +0800 Lin Feng linf...@cn.fujitsu.com wrote: The memmove span covers from (next+1) to the end of the array, and the index of next is (i+1), so the index of (next+1) is (i+2). So the size of remaining array elements is (type-cnt - (i + 2)). What are the user-visible

Re: [PATCH] mm/huge_memory: use new hashtable implementation

2013-01-07 Thread Andrew Morton
On Sun, 6 Jan 2013 12:32:04 -0500 Sasha Levin levinsasha...@gmail.com wrote: Ping? Pong? http://ozlabs.org/~akpm/mmotm/broken-out/mm-huge_memory-use-new-hashtable-implementation.patch -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

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

2013-01-07 Thread Yinghai Lu
On Mon, Jan 7, 2013 at 12:32 PM, Yinghai Lu ying...@kernel.org wrote: 2). The check for 1MB is suspect. Why only 1MB? You mentioned it is b/c of crashkernel_low=72M (which I am not seeing in v3.8 kernel-parameters.txt? Is that part of your mega-patchset?). Anyhow, there seems to be

Re: Regression: drm/radeon: brightness control hard system lockup

2013-01-07 Thread Eldad Zack
On Mon, 7 Jan 2013, Alex Deucher wrote: On Sun, Jan 6, 2013 at 7:59 AM, Eldad Zack el...@fogrefinery.com wrote: Hi Alex, Commit 0ecebb9e0d14e9948e0b1529883a776758117d6f drm/radeon: switch to a finer grained reset for evergreen introduced a hard system lockup to my setup. I found it

Re: [PATCH] mm: compaction: fix echo 1 compact_memory return error issue

2013-01-07 Thread Andrew Morton
On Mon, 7 Jan 2013 13:57:21 + Mel Gorman mgor...@suse.de wrote: On Sun, Jan 06, 2013 at 03:44:33PM +0800, Jason Liu wrote: when run the folloing command under shell, it will return error sh/$ echo 1 /proc/sys/vm/compact_memory sh/$ sh: write error: Bad address After strace, I

Re: [PATCH v2] context_tracking: Add comments on interface and internals

2013-01-07 Thread Frederic Weisbecker
2012/12/16 Ingo Molnar mi...@kernel.org: * Frederic Weisbecker fweis...@gmail.com wrote: + +/** + * context_tracking_task_switch - context switch the syscall hooks + * + * The context tracking uses the syscall slow path to implement its user-kernel + * boundaries hooks on syscalls. This

Re: [PATCH 1/5] capemgr: Beaglebone DT overlay based cape manager

2013-01-07 Thread Arnd Bergmann
(Adding Sascha Hauer, Linus Walleij, Lee Jones to Cc) On Monday 07 January 2013, Tony Lindgren wrote: At the end of the line, some kind of hardware glue is going to be needed. I just feel that drawing from a sample size of 1 (maybe 2 if I get to throw in the beagleboard), it is a bit

Re: [PATCH RFC] exec: avoid possible undefined behavior in count()

2013-01-07 Thread Andrew Morton
On Sun, 6 Jan 2013 00:29:05 -0500 Xi Wang xi.w...@gmail.com wrote: The tricky problem is this check: if (i++ = max) icc (mis)optimizes this check as: if (++i max) The check now becomes a no-op since max is MAX_ARG_STRINGS (0x7FFF). This is allowed by the C

Re: Regression: drm/radeon: brightness control hard system lockup

2013-01-07 Thread Alex Deucher
On Mon, Jan 7, 2013 at 4:33 PM, Eldad Zack el...@fogrefinery.com wrote: On Mon, 7 Jan 2013, Alex Deucher wrote: On Sun, Jan 6, 2013 at 7:59 AM, Eldad Zack el...@fogrefinery.com wrote: Hi Alex, Commit 0ecebb9e0d14e9948e0b1529883a776758117d6f drm/radeon: switch to a finer grained reset

Re: [PATCH] cpuidle: fix number of initialized/destroyed states

2013-01-07 Thread Rafael J. Wysocki
Hi, Thanks for the patch! I'd like Daniel to have a look at it still. Thanks, Rafael On Monday, January 07, 2013 08:12:01 PM Krzysztof Mazur wrote: Commit bf4d1b5ddb78f86078ac6ae0415802d5f0c68f92 (cpuidle: support multiple drivers) changed the number of initialized state kobjects in

[PATCH 0/1] vfio-pci: Towards VGA support

2013-01-07 Thread Alex Williamson
vfio makes a nice interface to start looking at supporting VGA devices assigned to virtual machines (ie. userspace drivers) because we can so easily add additional ranges for a device. In this patch we add legacy MMIO (below 1MB) and I/O port (64k) to devices with PCI class code VGA. We can then

[PATCH] vfio-pci: [NOT FOR COMMIT] Add support for legacy MMIO I/O port towards VGA support

2013-01-07 Thread Alex Williamson
Create two new legacy regions, one for MMIO space below 1MB and another for 64k of I/O port space. For devices of PCI class VGA these ranges will be exposed and allow direct access to the device at the PCI defined VGA addresses, 0xa, 0x3b0, 0x3c0. VFIO makes use of the host VGA arbiter to

Re: [ 104/173] rt2x00: Dont let mac80211 send a BAR when an AMPDU subframe fails

2013-01-07 Thread Andreas Hartmann
Hello Stanislaw! Stanislaw Gruszka wrote: On Mon, Jan 07, 2013 at 07:38:35PM +0100, Andreas Hartmann wrote: Stanislaw Gruszka wrote: On Mon, Jan 07, 2013 at 04:04:01PM +0100, Andreas Hartmann wrote: Ben Hutchings wrote: On Mon, 2013-01-07 at 09:10 +0100, Stanislaw Gruszka wrote: On Mon, Jan

[PATCH] staging/csr: Fix dereference before check

2013-01-07 Thread Peter Huewe
Smatch complains about some pointers that are dereferenced before being checked: drivers/staging/csr/sme_sys.c:285 CsrWifiRouterCtrlHipReqHandler() warn: variable dereferenced before check 'priv' (see line 283) drivers/staging/csr/sme_sys.c:1503 CsrWifiRouterMaPacketReqHandler() warn: variable

Re: [PATCH tip/core/rcu 04/14] rcu: Provide compile-time control for no-CBs CPUs

2013-01-07 Thread Paul E. McKenney
On Mon, Jan 07, 2013 at 08:50:23AM -0800, Josh Triplett wrote: On Sat, Jan 05, 2013 at 09:48:54AM -0800, Paul E. McKenney wrote: From: Paul E. McKenney paul.mcken...@linaro.org Currently, the only way to specify no-CBs CPUs is via the rcu_nocbs kernel command-line parameter. This is

Re: [PATCH 04/32] aio: remove retry-based AIO

2013-01-07 Thread Kent Overstreet
On Sat, Dec 29, 2012 at 03:36:38PM +0800, Hillf Danton wrote: On Thu, Dec 27, 2012 at 9:59 AM, Kent Overstreet koverstr...@google.com wrote: - /* -* This is so that aio_complete knows it doesn't need to -* pull the iocb off the run list (We can't just call -

Re: [PATCH 04/32] aio: remove retry-based AIO

2013-01-07 Thread Kent Overstreet
On Sat, Dec 29, 2012 at 03:47:37PM +0800, Hillf Danton wrote: On Thu, Dec 27, 2012 at 9:59 AM, Kent Overstreet koverstr...@google.com wrote: @@ -1585,18 +1278,27 @@ static int io_submit_one(struct kioctx *ctx, struct iocb __user *user_iocb, * don't see ctx-dead set here,

Re: [PATCH tip/core/rcu 4/6] rcu: Silence compiler array out-of-bounds false positive

2013-01-07 Thread Steven Rostedt
On Mon, 2013-01-07 at 09:19 -0800, Paul E. McKenney wrote: On Mon, Jan 07, 2013 at 09:16:02AM -0800, Paul E. McKenney wrote: On Mon, Jan 07, 2013 at 07:50:02AM -0800, Josh Triplett wrote: On Sat, Jan 05, 2013 at 09:09:36AM -0800, Paul E. McKenney wrote: From: Paul E. McKenney

Re: [PATCH tip/core/rcu 1/1] Tiny RCU changes for 3.9

2013-01-07 Thread Paul E. McKenney
On Mon, Jan 07, 2013 at 09:56:06AM -0800, Josh Triplett wrote: On Mon, Jan 07, 2013 at 08:57:48AM -0800, Paul E. McKenney wrote: On Mon, Jan 07, 2013 at 07:58:10AM -0800, Josh Triplett wrote: On Sat, Jan 05, 2013 at 09:50:59AM -0800, Paul E. McKenney wrote: rcu: Provide RCU CPU stall

[PATCH] staging/sb105x: remove asm/segment.h dependency

2013-01-07 Thread Jeff Mahoney
sb105x doesn't seem to actually need asm/segment.h (builds on x86 without it) and ppc/ppc64 doesn't provide it so it fails to build there. This patch removes the dependency. Unfortunately, it now fails to build because STD_COM_FLAGS isn't defined on most architectures. I'm not familiar enough

Re: [PATCH] jump_label: constify jump_label_text_reserved and friends

2013-01-07 Thread Steven Rostedt
On Mon, 2013-01-07 at 11:40 -0500, Jason Baron wrote: On Mon, Jan 07, 2013 at 08:58:09AM -0500, Sasha Levin wrote: jump_label_text_reserved() doesn't modify the memory it works on, it just checks whether there are any jump labels there. Constify the parameters of it to prevent warnings

Re: [PATCH] OMAP: add pwm driver using dmtimers.

2013-01-07 Thread Jon Hunter
On 01/06/2013 03:12 PM, NeilBrown wrote: [snip] I've been playing with off-mode and discovered that the first attempt to set the PWM after resume didn't work, but subsequent ones did. I did some digging and came up with the following patch. With this in place, the omap_pwm_suspend() above

linux-next: please cleanup the cpuidle tree

2013-01-07 Thread Stephen Rothwell
Hi Daniel, All the commits in the cpuidle tree have been included upstream before v3.6-rc1. They were rewritten before being merged upstream and so are now causing merge conflicts in linux-next. Could you please reset the head of your tree

Re: [PATCH V2 Resend 3/4] workqueue: Schedule work on non-idle cpu instead of current one

2013-01-07 Thread Steven Rostedt
On Mon, 2013-01-07 at 23:29 +0530, Viresh Kumar wrote: By default, I would suggest for cache locality, that we try to keep it on the same CPU. But if there's a better CPU to run on, it runs there. That would break our intention behind this routine. We should run it on a cpu which we

Re: [RFC]x86: clearing access bit don't flush tlb

2013-01-07 Thread H. Peter Anvin
On 01/07/2013 07:14 AM, Rik van Riel wrote: On 01/07/2013 03:12 AM, Shaohua Li wrote: We use access bit to age a page at page reclaim. When clearing pte access bit, we could skip tlb flush for the virtual address. The side effect is if the pte is in tlb and pte access bit is unset, when cpu

Re: [RESEND][PATCH v3] mm: Use aligned zone start for pfn_to_bitidx calculation

2013-01-07 Thread Andrew Morton
On Sat, 5 Jan 2013 11:28:31 -0800 Laura Abbott lau...@codeaurora.org wrote: The current calculation in pfn_to_bitidx assumes that (pfn - zone-zone_start_pfn) pageblock_order will return the same bit for all pfn in a pageblock. If zone_start_pfn is not aligned to pageblock_nr_pages, this may

Re: [PATCH tip/core/rcu 4/6] rcu: Silence compiler array out-of-bounds false positive

2013-01-07 Thread Paul E. McKenney
On Mon, Jan 07, 2013 at 05:18:37PM -0500, Steven Rostedt wrote: On Mon, 2013-01-07 at 09:19 -0800, Paul E. McKenney wrote: On Mon, Jan 07, 2013 at 09:16:02AM -0800, Paul E. McKenney wrote: On Mon, Jan 07, 2013 at 07:50:02AM -0800, Josh Triplett wrote: On Sat, Jan 05, 2013 at 09:09:36AM

linux-next: comment in commit in the slave-dma tree (dmaengine: dw_dmac: Enhance device tree support)

2013-01-07 Thread Stephen Rothwell
Hi Vinod, In commit 548860697046 (dmaengine: dw_dmac: Enhance device tree support) (which was changed since yesterday :-(), an instance of __devinit has been added. We are in the process of making CONFIG_HOTPLUG always true, and since commit 78d86c213f28 (init.h: Remove __dev* sections from the

Re: [PATCH] staging/sb105x: remove asm/segment.h dependency

2013-01-07 Thread Steven Rostedt
This patch is obsoleted by: https://lkml.org/lkml/2012/12/13/710 Which I just got the automated reply, and it's in Greg's staging tree now. When I get time, I do want to try to get this driver (and device) working on my ppc64 box. Thanks, -- Steve On Mon, 2013-01-07 at 17:20 -0500, Jeff

Re: [PATCH] staging/sb105x: remove asm/segment.h dependency

2013-01-07 Thread Greg Kroah-Hartman
On Mon, Jan 07, 2013 at 05:20:43PM -0500, Jeff Mahoney wrote: sb105x doesn't seem to actually need asm/segment.h (builds on x86 without it) and ppc/ppc64 doesn't provide it so it fails to build there. This patch removes the dependency. Unfortunately, it now fails to build because

Re: ppoll() stuck on POLLIN while TCP peer is sending

2013-01-07 Thread Eric Dumazet
On Mon, 2013-01-07 at 12:25 +, Mel Gorman wrote: === 28014[28017]/stack === [8129fc1d] release_sock+0xe5/0x11b [812a642c] sk_stream_wait_memory+0x1f7/0x1fc [81040d5e] autoremove_wake_function+0x0/0x2a [812d8fc3] tcp_sendmsg+0x710/0x86d

Re: ppoll() stuck on POLLIN while TCP peer is sending

2013-01-07 Thread Eric Wong
Mel Gorman mgor...@suse.de wrote: Right now it's difficult to see how the capture could be the source of this bug but I'm not ruling it out either so try the following (untested but should be ok) patch. It's not a proper revert, it just disables the capture page logic to see if it's at fault.

Re: [PATCH 2/2] Staging: comedi: addi_common.h: checkpatch.pl fixes

2013-01-07 Thread Greg KH
On Sat, Jan 05, 2013 at 06:12:55PM +0400, Lijo Antony wrote: Reduced line lengths to 80 chars by removing extra spaces. Signed-off-by: Lijo Antony lijo.ker...@gmail.com --- .../staging/comedi/drivers/addi-data/addi_common.h | 20 ++-- 1 file changed, 10 insertions(+),

Re: linux-next: comment in commit in the slave-dma tree (dmaengine: dw_dmac: Enhance device tree support)

2013-01-07 Thread Greg Kroah-Hartman
On Tue, Jan 08, 2013 at 09:35:57AM +1100, Stephen Rothwell wrote: Hi Vinod, In commit 548860697046 (dmaengine: dw_dmac: Enhance device tree support) (which was changed since yesterday :-(), an instance of __devinit has been added. We are in the process of making CONFIG_HOTPLUG always true,

RE: [PATCH 2/2] Staging: comedi: addi_common.h: checkpatch.pl fixes

2013-01-07 Thread H Hartley Sweeten
On Monday, January 07, 2013 3:40 PM, Greg KH wrote: On Sat, Jan 05, 2013 at 06:12:55PM +0400, Lijo Antony wrote: Reduced line lengths to 80 chars by removing extra spaces. Signed-off-by: Lijo Antony lijo.ker...@gmail.com --- .../staging/comedi/drivers/addi-data/addi_common.h | 20

[PATCH V2 1/3] gpio: pca953x: make the register access by GPIO bank

2013-01-07 Thread Gregory CLEMENT
Until now the pca953x driver accessed all the bank of a given register in a single command using only a 32 bits variable. New expanders from the pca53x family come with 40 GPIOs which no more fit in a 32 variable. This patch make access to the registers more generic by relying on an array of u8

[PATCH V2 3/3] arm: mvebu: enable gpio expander over i2c on Mirabox platform

2013-01-07 Thread Gregory CLEMENT
The Globalscale Mirabox platform can be connected to the JTAG/GPIO box through the Multi-IO port. The GPIO box use the NXP PCA9505 I/O port expansion IC to provide 40-bit parallel input/output GPIOs. This patch enable the use of this expander on the Mirabox. Signed-off-by: Gregory CLEMENT

[PATCH V2 2/3] gpio: pca953x: add support for pca9505

2013-01-07 Thread Gregory CLEMENT
Now that pca953x driver can handle GPIO expanders with more than 32 bits this patch adds the support for the pca9505 which cam with 40 GPIOs. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- drivers/gpio/gpio-pca953x.c |2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH V2 0/3] Add support for gpio expander pca9505 used on Mirabox

2013-01-07 Thread Gregory CLEMENT
Hello, This patch set adds the support for the i2c gpio expander pca9505 used on the JTAG/GPIO box which can be connected to the Mirabox. To be able to use the pca9505 I had to do several changes in the driver. Indeed, until now the pca953x driver accessed all the bank of a given register in a

Re: [PATCH] cpuidle: fix number of initialized/destroyed states

2013-01-07 Thread Daniel Lezcano
On 01/07/2013 10:58 PM, Rafael J. Wysocki wrote: Hi, Thanks for the patch! I'd like Daniel to have a look at it still. I agree with this patch. I was about to send exactly the same. Thanks Krzysztof for fixing this. On Monday, January 07, 2013 08:12:01 PM Krzysztof Mazur wrote: Commit

Re: linux-next: comment in commit in the slave-dma tree (dmaengine: dw_dmac: Enhance device tree support)

2013-01-07 Thread Stephen Rothwell
will get copies of those. So, if Linus takes it, I will cope. This is what git grep -E '__dev(init|exit)' returns for next-20130107: arch/ia64/kernel/iosapic.c: * __init/__devinit attributes. drivers/dma/dw_dmac.c:__devinit dw_dma_parse_dt(struct platform_device *pdev

Re: linux-next: Tree for Jan 7 (rcutorture)

2013-01-07 Thread Stephen Rothwell
the following, also pushed to -next in that same batch from -rcu? Including Steven Rostedt on CC for his take. That commit was certainly in next-20130107. tracing: Export trace_clock_local() The rcutorture tests need

Re: [PATCH] Staging: android: fixed const coding style issue in binder.c

2013-01-07 Thread Greg KH
On Mon, Jan 07, 2013 at 07:11:52PM +0100, Patrik Karlin wrote: This is a patch to add const to the lists of strings in binder.c as suggested by checkpatch.pl Signed-off-by: Patrik Kårlin patrik.kar...@gmail.com --- drivers/staging/android/binder.c |6 +++--- 1 file changed, 3

Re: [PATCH] staging: wlan-ng: Update get_tx_power()/set_tx_power() signature

2013-01-07 Thread Greg Kroah-Hartman
On Sun, Dec 16, 2012 at 01:28:42PM +0100, Geert Uytterhoeven wrote: In file included from drivers/staging/wlan-ng/p80211netdev.c:92: drivers/staging/wlan-ng/cfg80211.c:735: warning: initialization from incompatible pointer type drivers/staging/wlan-ng/cfg80211.c:736: warning: initialization

Re: kernel BUG at kernel/sched_rt.c:493!

2013-01-07 Thread Shawn Bohrer
On Mon, Jan 07, 2013 at 11:58:18AM -0600, Shawn Bohrer wrote: On Sat, Jan 05, 2013 at 11:46:32AM -0600, Shawn Bohrer wrote: I've tried reproducing the issue, but so far I've been unsuccessful but I believe that is because my RT tasks aren't using enough CPU cause borrowing from the other

Re: linux-next: please cleanup the cpuidle tree

2013-01-07 Thread Daniel Lezcano
On 01/07/2013 11:27 PM, Stephen Rothwell wrote: Hi Daniel, All the commits in the cpuidle tree have been included upstream before v3.6-rc1. They were rewritten before being merged upstream and so are now causing merge conflicts in linux-next. Could you please reset the head of your tree

Re: linux-next: Tree for Jan 7 (rcutorture)

2013-01-07 Thread Steven Rostedt
/rcutorture.ko] undefined! Hello, Randy, Did your build include the following, also pushed to -next in that same batch from -rcu? Including Steven Rostedt on CC for his take. That commit was certainly in next-20130107. Could be bad config dependencies. Stephen, can you send me the config

Re: [PATCH 25/32] aio: use xchg() instead of completion_lock

2013-01-07 Thread Kent Overstreet
On Thu, Jan 03, 2013 at 03:34:14PM -0800, Andrew Morton wrote: On Wed, 26 Dec 2012 18:00:04 -0800 Kent Overstreet koverstr...@google.com wrote: So, for sticking kiocb completions on the kioctx ringbuffer, we need a lock - it unfortunately can't be lockless. When the kioctx is shared

Re: [PATCH v2 0/5] staging/fwserial: Address reviewer comments

2013-01-07 Thread Greg Kroah-Hartman
On Sat, Dec 15, 2012 at 01:03:14AM -0500, Peter Hurley wrote: Overdue respin. v2 changes: Don't use 'card' when referring to firewire node Removed lower clamp in link_speed_to_max_payload() Ripped out the bandwidth limit logic Drop suggestion to integrate

Re: linux-next: please cleanup the cpuidle tree

2013-01-07 Thread Stephen Rothwell
Hi Daniel, On Tue, 08 Jan 2013 00:11:50 +0100 Daniel Lezcano daniel.lezc...@linaro.org wrote: On 01/07/2013 11:27 PM, Stephen Rothwell wrote: All the commits in the cpuidle tree have been included upstream before v3.6-rc1. They were rewritten before being merged upstream and so are

RE: [PATCH RFT] regulator: lp8788-ldo: Use ldo-en_pin to check if regulator is enabled by external pin

2013-01-07 Thread Kim, Milo
-Original Message- From: Mark Brown [mailto:broo...@opensource.wolfsonmicro.com] Sent: Monday, January 07, 2013 8:08 PM To: Axel Lin Cc: Kim, Milo; Girdwood, Liam; linux-kernel@vger.kernel.org Subject: Re: [PATCH RFT] regulator: lp8788-ldo: Use ldo-en_pin to check if regulator is

Re: linux-next: Tree for Jan 7 (rcutorture)

2013-01-07 Thread Stephen Rothwell
was certainly in next-20130107. Could be bad config dependencies. Stephen, can you send me the config that gave you that error. It was Randy and the config was in the mail the Paul cc'd you on. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpBghO3P44Vi.pgp Description

Re: linux-next: Tree for Jan 7 (rcutorture)

2013-01-07 Thread Steven Rostedt
On Tue, 2013-01-08 at 10:24 +1100, Stephen Rothwell wrote: Stephen, can you send me the config that gave you that error. It was Randy and the config was in the mail the Paul cc'd you on. Ah, I didn't read that far. I'm use to just cutting off Paul's emails short anyway. He never trims

Re: [PATCH 29/32] block, aio: Batch completion for bios/kiocbs

2013-01-07 Thread Kent Overstreet
On Fri, Jan 04, 2013 at 10:22:35AM +0100, Jens Axboe wrote: On 2012-12-27 03:00, Kent Overstreet wrote: When completing a kiocb, there's some fixed overhead from touching the kioctx's ring buffer the kiocb belongs to. Some newer high end block devices can complete multiple IOs per

Re: [PATCH 25/32] aio: use xchg() instead of completion_lock

2013-01-07 Thread Andrew Morton
On Mon, 7 Jan 2013 15:21:15 -0800 Kent Overstreet koverstr...@google.com wrote: On Thu, Jan 03, 2013 at 03:34:14PM -0800, Andrew Morton wrote: On Wed, 26 Dec 2012 18:00:04 -0800 Kent Overstreet koverstr...@google.com wrote: So, for sticking kiocb completions on the kioctx ringbuffer,

Re: [PATCH] cpuidle: fix number of initialized/destroyed states

2013-01-07 Thread Rafael J. Wysocki
On Monday, January 07, 2013 11:56:36 PM Daniel Lezcano wrote: On 01/07/2013 10:58 PM, Rafael J. Wysocki wrote: Hi, Thanks for the patch! I'd like Daniel to have a look at it still. I agree with this patch. I was about to send exactly the same. Thanks Krzysztof for fixing this.

Re: linux-next: Tree for Jan 7 (rcutorture)

2013-01-07 Thread Paul E. McKenney
On Mon, Jan 07, 2013 at 06:31:41PM -0500, Steven Rostedt wrote: On Tue, 2013-01-08 at 10:24 +1100, Stephen Rothwell wrote: Stephen, can you send me the config that gave you that error. It was Randy and the config was in the mail the Paul cc'd you on. Ah, I didn't read that far.

Re: [PATCH 23/32] Generic dynamic per cpu refcounting

2013-01-07 Thread Kent Overstreet
On Thu, Jan 03, 2013 at 02:48:39PM -0800, Andrew Morton wrote: On Wed, 26 Dec 2012 18:00:02 -0800 Kent Overstreet koverstr...@google.com wrote: This implements a refcount with similar semantics to atomic_get()/atomic_dec_and_test(), that starts out as just an atomic_t but dynamically

[GIT PULL] ACPI and power management fixes for v3.8-rc3

2013-01-07 Thread Rafael J. Wysocki
Hi Linus, Please pull from the git repository at git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git pm+acpi-for-3.8-rc3 to receive ACPI and power management fixes for v3.8-rc3 with top-most commit f67ffa95836b31be5d8fe336aee3bfc6412c5696 Merge branch 'pm-sleep' on top of

Re: [PATCH 20/32] aio: Give shared kioctx fields their own cachelines

2013-01-07 Thread Kent Overstreet
On Thu, Jan 03, 2013 at 03:25:12PM -0800, Andrew Morton wrote: On Wed, 26 Dec 2012 17:59:59 -0800 Kent Overstreet koverstr...@google.com wrote: struct { - struct mutexring_lock; + atomic_treqs_active; } cacheline_aligned; Is there a reason

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

2013-01-07 Thread Bjorn Helgaas
[+cc David, Michal, Koichi, Ben, Paul] On Fri, Dec 7, 2012 at 12:15 AM, Yinghai Lu ying...@kernel.org wrote: On Sat, Nov 3, 2012 at 9:39 PM, Yinghai Lu ying...@kernel.org wrote: For root bus hot add, fw could assign some resource for the devices for that root bus before notifying os via acpi,

Re: [PATCH 25/32] aio: use xchg() instead of completion_lock

2013-01-07 Thread Kent Overstreet
On Mon, Jan 07, 2013 at 03:35:24PM -0800, Andrew Morton wrote: On Mon, 7 Jan 2013 15:21:15 -0800 Kent Overstreet koverstr...@google.com wrote: On Thu, Jan 03, 2013 at 03:34:14PM -0800, Andrew Morton wrote: On Wed, 26 Dec 2012 18:00:04 -0800 Kent Overstreet koverstr...@google.com wrote:

Re: [PATCH] backlight: check null deference of name when device is registered

2013-01-07 Thread Andrew Morton
On Fri, 04 Jan 2013 17:29:11 +0900 Jingoo Han jg1@samsung.com wrote: NULL deference of name is checked when device is registered. If the name is null, it will cause a kernel oops in dev_set_name(). ... --- a/drivers/video/backlight/backlight.c +++ b/drivers/video/backlight/backlight.c

Re: [PATCH v3 3/7] ACPI/pci_bind: correctly update binding relationship for PCI hotplug

2013-01-07 Thread Bjorn Helgaas
[+cc Rafael] On Tue, Sep 25, 2012 at 8:29 AM, Jiang Liu liu...@gmail.com wrote: From: Jiang Liu jiang@huawei.com Currently pci_bind.c is used to maintain binding relationship between ACPI and PCI devices. But it's broken when handling PCI hotplug events. For the acpiphp driver, it's

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

2013-01-07 Thread Maurizio Avogadro
Takashi Iwai tiwai at suse.de writes: [...] If it's new in 3.7, this could be a regression by runtime D3. Try to pass power_save_controller=0 option to snd-hda-intel module (or change it via sysfs dynamically). thanks, Takashi Hi Takashi same codec here (ALC269VB on a Clevo

Re: [PATCH 13/32] wait: Add wait_event_hrtimeout()

2013-01-07 Thread Kent Overstreet
On Thu, Jan 03, 2013 at 03:08:16PM -0800, Andrew Morton wrote: On Wed, 26 Dec 2012 17:59:51 -0800 Kent Overstreet koverstr...@google.com wrote: Analagous to wait_event_timeout() and friends, this adds wait_event_hrtimeout() and wait_event_interruptible_hrtimeout(). Note that unlike

3.2.35 problem with M5A97 PRO ram: bad_page free_pages_prepare mem_init

2013-01-07 Thread l...@tigusoft.pl
linux kernel 3.2.0-0.bpo.4-rt-amd64 #1 SMP PREEMPT RT Debian 3.2.35-2~bpo60+1 x86_64 GNU/Linux running on mainboard M5A97 PRO (Version: 0813 Date: 10/24/2011) with 16 GB RAM (ECC not used) with AMD Bulldozer CPU, reports problems same on each boot: [0.00] Pid: 0, comm: swapper Not tainted

Re: [PATCH 01/17] ARM: shmobile: fix memory size for kota2_defconfig

2013-01-07 Thread Simon Horman
On Mon, Jan 07, 2013 at 01:33:56PM +, Arnd Bergmann wrote: On Monday 07 January 2013, Simon Horman wrote: I have my kota2 board up and running now and I believe that the correct value is 0x1e00. I will apply a patch to my defconfigs branch accordingly. Ok, thanks! Should we

<    5   6   7   8   9   10   11   12   >