[GIT PULL] MMC updates for 3.11-rc1

2013-07-09 Thread Chris Ball
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc.git tags/mmc-updates-for-3.11-rc1 to receive the MMC merge for 3.11. There are currently no conflicts, and these patches have been tested in linux-next. Thanks. The following changes since commit 4a29b5591fa

Re: [PATCH 0/2] powerpc: allow kvm to use kerel debug framework

2013-07-09 Thread Alexander Graf
On 09.07.2013, at 06:24, Michael Neuling wrote: > Alexander Graf wrote: > >> >> On 04.07.2013, at 08:15, Bharat Bhushan wrote: >> >>> From: Bharat Bhushan >>> >>> This patchset moves the debug registers in a structure, which allows >>> kvm to use same structure for debug emulation. >>> >>>

Re: [PATCH 2/2] spi: convert drivers to use bits_per_word_mask

2013-07-09 Thread Mark Brown
On Tue, Jul 09, 2013 at 10:49:10PM +0100, Mark Brown wrote: > On Tue, Jul 09, 2013 at 05:47:04PM +0200, Michal Simek wrote: > > > Probably the best solution is just revert this part of patch. > > Mark: What do you think? > > We should make it so that the user does not need to supply empty > funct

Re: [PATCH V3 3/3] ARM: mmp: bring up pxa988 with device tree support

2013-07-09 Thread Arnd Bergmann
On Tuesday 09 July 2013, Neil Zhang wrote: > + soc { > + compatible = "simple-bus"; > + #address-cells = <1>; > + #size-cells = <1>; > + interrupt-parent = <&gic>; > + ranges; > + > + gic: interrupt-controller@d1dfe100 { >

Re: [PATCH 0/3] [SCSI] megaraid: Remove local (struct pci_dev) pdev's

2013-07-09 Thread adam radford
On Tue, Jul 9, 2013 at 2:18 PM, James Bottomley wrote: > On Tue, 2013-07-09 at 14:39 -0600, Myron Stowe wrote: >> Is the "megaraid" driver still actively used and maintained? I originally >> posted this series on 06.07.2013 and after receiving no comments, pinged >> the list again on 06.17.2013 a

Re: [PATCH] ocfs2/refcounttree: add the missing NULL check of the return value of find_or_create_page()

2013-07-09 Thread Joel Becker
On Mon, Jul 08, 2013 at 03:52:53PM +0800, Gu Zheng wrote: > Add the missing NULL check of the return value of find_or_create_page() in > function ocfs2_duplicate_clusters_by_page(). > > Signed-off-by: Gu Zheng > --- > fs/ocfs2/refcounttree.c |6 +- > 1 files changed, 5 insertions(+), 1 d

Re: [PATCH net-next] net: rename low latency sockets functions to busy poll

2013-07-09 Thread Jonathan Corbet
On Mon, 08 Jul 2013 16:20:34 +0300 Eliezer Tamir wrote: > Rename POLL_LL to POLL_BUSY_LOOP. So pardon me if I speak out of turn, but it occurs to me to wonder...should the SO_LL socket option be renamed in a similar fashion before this interface escapes into the wild? Thanks, jon -- To unsubsc

Re: [PATCH 2/2] PCI,pciehp: avoid add a device already exist during pciehp_resume

2013-07-09 Thread Bjorn Helgaas
On Tue, Jul 9, 2013 at 1:56 AM, Yijing Wang wrote: > Currently, pciehp_resume will call pciehp_enable_slot() to add > device if there is a device in the slot. But if the device was > present before suspend, it's no necessary to add again. Now in > such case, there is some uncomfortable message lik

{Spam?} Notification.

2013-07-09 Thread UKNL
Serial No: S/N-472-9768-79 Full Name: Contact Address: Tel: Age: Country: -- Esta mensagem foi verificada pelo sistema de antivirus e acredita-se estar livre de perigo. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vge

Re: WARNING: at drivers/iommu/dmar.c:484 warn_invalid_dmar with Intel Motherboard

2013-07-09 Thread Guenter Roeck
On Tue, Jul 09, 2013 at 03:05:39PM -0600, Bjorn Helgaas wrote: > [+cc Joerg, David, iommu list] > > On Tue, Jul 9, 2013 at 2:24 PM, Guenter Roeck wrote: > > I started seeing this problem after updating the BIOS trying fix another > > issue, > > though I may have missed it earlier. > > > > I unde

Re: [Xen-devel] [PATCH] xen: remove unused Kconfig parameter

2013-07-09 Thread Sander Eikelenboom
Tuesday, July 9, 2013, 5:05:54 PM, you wrote: > On Tue, Jul 09, 2013 at 10:48:40AM -0400, Konrad Rzeszutek Wilk wrote: >> Then that should be discussed on grub2 to remove said check and modify >> the code so that it can properly work without regression. > Actually, the kernel patch removing that

timer: lockup in run_timer_softirq()

2013-07-09 Thread Sasha Levin
0x120 [ 2536.440007] CPU: 0 PID: 12368 Comm: trinity-child86 Tainted: GW 3.10.0-next-20130709-sasha #3953 [ 2536.440007] task: 8807dea03000 ti: 8807d7c14000 task.ti: 8807d7c14000 [ 2536.440007] RIP: 0010:[] [] _raw_spin_unlock_irq+0x4c/0x80 [ 2536.440007] RSP: :8808076

Re: [PATCH] Revert "drm/i915: unconditionally use mt forcewake on hsw/ivb"

2013-07-09 Thread Guenter Roeck
On Tue, Jul 09, 2013 at 10:33:22PM +0200, Daniel Vetter wrote: > On Tue, Jul 09, 2013 at 01:14:09PM -0700, Guenter Roeck wrote: > > This reverts commit 36ec8f877481449bdfa072e6adf2060869e2b970. > > > > The commit results in repeated 'Timed out waiting for forcewake old ack > > to clear' messages o

[PATCH RFC nohz_full 3/7] nohz_full: Add per-CPU idle-state tracking

2013-07-09 Thread Paul E. McKenney
From: "Paul E. McKenney" This commit adds the code that updates the rcu_dyntick structure's new fields to track the per-CPU idle state based on interrupts and transitions into and out of the idle loop (NMIs are ignored because NMI handlers cannot cleanly read out the time anyway). This code is s

Re: timer: lockup in run_timer_softirq()

2013-07-09 Thread Dave Jones
On Tue, Jul 09, 2013 at 06:35:27PM -0400, Sasha Levin wrote: > Hi all, > > While fuzzing with trinity inside a KVM tools guest running latest -next, > I've > stumbled on the following spew: > > [ 2536.440007] BUG: soft lockup - CPU#0 stuck for 23s! > [trinity-child86:12368] > [ 2536.44

Re: timer: lockup in run_timer_softirq()

2013-07-09 Thread Sasha Levin
On 07/09/2013 06:47 PM, Dave Jones wrote: On Tue, Jul 09, 2013 at 06:35:27PM -0400, Sasha Levin wrote: > Hi all, > > While fuzzing with trinity inside a KVM tools guest running latest -next, I've > stumbled on the following spew: > > [ 2536.440007] BUG: soft lockup - CPU#0 stuck for

[PATCH v2] Partially revert "drm/i915: unconditionally use mt forcewake on hsw/ivb"

2013-07-09 Thread Guenter Roeck
This patch partially reverts commit 36ec8f877481449bdfa072e6adf2060869e2b970 for IvyBridge CPUs. The original commit results in repeated 'Timed out waiting for forcewake old ack to clear' messages on a Supermicro C7H61 board (BIOS version 2.00 and 2.00b) with i7-3770K CPU. It ultimately results in

Re: [PATCH net-next] r8169: add a new chip for RTL8411

2013-07-09 Thread Francois Romieu
David Miller : [...] > Francois, please review. The style is consistent with the driver. The commit message may state that this 8411 chipset does not require any special action in rtl_link_chg_patch (whence differing from the previous "F" 8411). Most of the code shared by rtl_hw_start_8168g_2 a

Re: timer: lockup in run_timer_softirq()

2013-07-09 Thread Dave Jones
On Tue, Jul 09, 2013 at 06:49:29PM -0400, Sasha Levin wrote: > On 07/09/2013 06:47 PM, Dave Jones wrote: > > > [ 2536.500130] INFO: NMI handler > > (arch_trigger_all_cpu_backtrace_handler) took too long to run: > > > 697182.008 msecs > > > > I've been reporting these (and other traces)

Re: [PATCH net-next] net: rename low latency sockets functions to busy poll

2013-07-09 Thread David Miller
From: Jonathan Corbet Date: Tue, 9 Jul 2013 16:25:14 -0600 > On Mon, 08 Jul 2013 16:20:34 +0300 > Eliezer Tamir wrote: > >> Rename POLL_LL to POLL_BUSY_LOOP. > > So pardon me if I speak out of turn, but it occurs to me to > wonder...should the SO_LL socket option be renamed in a similar fashio

Re: timer: lockup in run_timer_softirq()

2013-07-09 Thread Sasha Levin
e this spew I'm currently working on, it seems related: [ 1443.380407] [ cut here ] [ 1443.381713] WARNING: CPU: 20 PID: 49263 at kernel/lockdep.c:3552 check_flags+0x16b/0x220() [ 1443.383988] DEBUG_LOCKS_WARN_ON(current->softirqs_enabled) [ 1443.385452] Modules linked in: [

Re: cgroup: status-quo and userland efforts

2013-07-09 Thread Jiri Kosina
On Wed, 3 Jul 2013, Kay Sievers wrote: > >> > But that's not my point. It seems pretty easy to make this cgroup > >> > management (in "native mode") a library that can have either a thin > >> > veneer of a main() function, while also being usable by systemd. The > >> > point is to solve all of t

[PATCH v2 5/5] mmc: dw_mmc: Set timeout to max upon resume

2013-07-09 Thread Doug Anderson
The TMOUT register is initted to 0x at probe time but isn't initted after suspend/resume. Add an init of this value. No problems were observed without this (it will also get initted in __dw_mci_start_request if there is data to send), but it makes the register dump before and after suspen

[PATCH v2 1/5] mmc: dw_mmc: Invalidate cache of current_speed after suspend/resume

2013-07-09 Thread Doug Anderson
The dw_mmc driver keeps a cache of the current slot->clock in order to avoid doing a whole lot of work every time set_ios() is called. However, after suspend/resume the register values are bogus so we need to ensure that the cached value is invalidated. In many cases we got by without this since t

[PATCH v2 3/5] mmc: dw_mmc: Add exynos resume_noirq callback to clear WAKEUP_INT

2013-07-09 Thread Doug Anderson
If the WAKEUP_INT is asserted at wakeup and not cleared, we'll end up looping around forever. This has been seen to happen on exynos5420 silicon despite the fact that we haven't enabled any wakeup events. Signed-off-by: Doug Anderson --- Changes in v2: - Use suspend_noirq as per James Hogan. d

[PATCH v2 4/5] mmc: dw_mmc: Always setup the bus after suspend/resume

2013-07-09 Thread Doug Anderson
After suspend/resume all of the dw_mmc registers are reset to defaults. We restore most of them, but specifically don't setup the clock registers after resume unless we've got a powered card. Things still work because the core will eventually call set_ios() and we'll set things up. There doesn't

[PATCH v2 0/5] mmc: dw_mmc: fixes for suspend/resume on exynos

2013-07-09 Thread Doug Anderson
This series of patches addresses some suspend/resume problems with dw_mmc on exynos platforms. Since suspend/resume is not fully working on ToT Linux (3.10) on exynos5250-snow, this series was tested against the current ToT ChromeOS 3.8 tree. I have confirmed basic booting and eMMC / SD card usag

[PATCH v2 2/5] mmc: dw_mmc: Add suspend_noirq/resume_noirq callbacks for dw_mmc-pltfm

2013-07-09 Thread Doug Anderson
On some devices (like exynos5420) the dw_mmc controller may be in a strange state after we wake up from sleep. Add callbacks to allow for dealing with these quirks. We use the "_noirq" versions of the callbacks since in the case of exynos5420 the strange state caused interrupts to fire so we need

Re: [PATCH 8/8] KVM: PPC: Add hugepage support for IOMMU in-kernel handling

2013-07-09 Thread Alexey Kardashevskiy
On 07/10/2013 03:32 AM, Alexander Graf wrote: > On 07/06/2013 05:07 PM, Alexey Kardashevskiy wrote: >> This adds special support for huge pages (16MB). The reference >> counting cannot be easily done for such pages in real mode (when >> MMU is off) so we added a list of huge pages. It is populate

[PATCH cgroup/for-3.11-fixes] cgroup: remove bcache_subsys_id which got added stealthily

2013-07-09 Thread Tejun Heo
>From add0c59d802e6118e51e21244c3871be35164e4b Mon Sep 17 00:00:00 2001 From: Tejun Heo Date: Tue, 9 Jul 2013 16:17:39 -0700 cafe563591 ("bcache: A block layer cache") added a new cgroup subsystem bcache_subsys without proper review and ack. bcache_subsys seems to use cgroup for group stats and

Re: [PATCH 2/8] KVM: PPC: reserve a capability and ioctl numbers for realmode VFIO

2013-07-09 Thread Alexey Kardashevskiy
On 07/10/2013 01:35 AM, Alexander Graf wrote: > On 06/27/2013 07:02 AM, Alexey Kardashevskiy wrote: >> Signed-off-by: Alexey Kardashevskiy >> --- >> include/uapi/linux/kvm.h |2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/include/uapi/linux/kvm.h b/include/uapi/linux/kvm.h >> in

Re: [RFC][PATCH 5/8] ACPI / hotplug / PCI: Unified notify handler for hotplug events

2013-07-09 Thread Rafael J. Wysocki
On Tuesday, July 09, 2013 12:30:45 PM Mika Westerberg wrote: > On Tue, Jul 09, 2013 at 02:19:04AM +0200, Rafael J. Wysocki wrote: > > Index: linux-pm/drivers/pci/hotplug/acpiphp.h > > === > > --- linux-pm.orig/drivers/pci/hotplug/acpip

Re: [RFC] mm: Honor min_free_kbytes set by user

2013-07-09 Thread Jiri Kosina
On Thu, 4 Jul 2013, Michal Hocko wrote: > On Thu 04-07-13 18:16:41, Michal Hocko wrote: > > On Thu 04-07-13 09:10:39, Joe Perches wrote: > > > On Thu, 2013-07-04 at 18:07 +0200, Michal Hocko wrote: > > > > A warning is printed when the new value is ignored. > > > > > > [] > > > > > > > +

Re: WARNING: at drivers/iommu/dmar.c:484 warn_invalid_dmar with Intel Motherboard

2013-07-09 Thread Guenter Roeck
On Tue, Jul 09, 2013 at 04:22:52PM -0700, Chris Wright wrote: > * Guenter Roeck (li...@roeck-us.net) wrote: > > On Tue, Jul 09, 2013 at 03:05:39PM -0600, Bjorn Helgaas wrote: > > > [+cc Joerg, David, iommu list] > > > > > > On Tue, Jul 9, 2013 at 2:24 PM, Guenter Roeck wrote: > > > > I started se

[Update][RFC][PATCH 4/8] ACPI / hotplug / PCI: Hotplug context objects for bridges and functions

2013-07-09 Thread Rafael J. Wysocki
On Tuesday, July 09, 2013 12:23:53 PM Mika Westerberg wrote: > On Tue, Jul 09, 2013 at 02:18:12AM +0200, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > When either a new hotplug brigde or a new hotplug function is added > ^^ >

Re: [RFC][PATCH 6/8] ACPI / hotplug / PCI: Drop acpiphp_handle_to_bridge()

2013-07-09 Thread Rafael J. Wysocki
On Tuesday, July 09, 2013 12:37:26 PM Mika Westerberg wrote: > On Tue, Jul 09, 2013 at 02:20:31AM +0200, Rafael J. Wysocki wrote: > > @@ -953,37 +937,49 @@ static void acpiphp_sanitize_bus(struct > > * ACPI event handlers > > */ > > > > -static acpi_status > > -check_sub_bridges(acpi_handle h

Re: WARNING: at drivers/iommu/dmar.c:484 warn_invalid_dmar with Intel Motherboard

2013-07-09 Thread Chris Wright
* Guenter Roeck (li...@roeck-us.net) wrote: > On Tue, Jul 09, 2013 at 03:05:39PM -0600, Bjorn Helgaas wrote: > > [+cc Joerg, David, iommu list] > > > > On Tue, Jul 9, 2013 at 2:24 PM, Guenter Roeck wrote: > > > I started seeing this problem after updating the BIOS trying fix another > > > issue,

Re: [PATCH] ACPI / scan: Always call acpi_bus_scan() for bus check notifications

2013-07-09 Thread Rafael J. Wysocki
On Tuesday, July 09, 2013 01:32:42 PM Toshi Kani wrote: > On Mon, 2013-07-08 at 02:10 +0200, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > An ACPI_NOTIFY_BUS_CHECK notification means that we should scan the > > entire namespace starting from the given handle even if the device > >

Re: WARNING: at drivers/iommu/dmar.c:484 warn_invalid_dmar with Intel Motherboard

2013-07-09 Thread Chris Wright
* Guenter Roeck (li...@roeck-us.net) wrote: > On Tue, Jul 09, 2013 at 04:22:52PM -0700, Chris Wright wrote: > > * Guenter Roeck (li...@roeck-us.net) wrote: > > > On Tue, Jul 09, 2013 at 03:05:39PM -0600, Bjorn Helgaas wrote: > > > > [+cc Joerg, David, iommu list] > > > > > > > > On Tue, Jul 9, 201

Re: [PATCH] perf tools: Fixup for removing -f option in perf record

2013-07-09 Thread Namhyung Kim
Hi David, 2013-07-09 오후 11:21, David Ahern 쓴 글: On 7/9/13 1:41 AM, Namhyung Kim wrote: Hi Arnaldo, You may want to merge this patch too. :) He did. See 77d03596 and the note: [ combined patch removing the -f usage in various sub-commands, such as 'perf sched', etc, by Namhyung Kim ]

Re: linux-next: reminder

2013-07-09 Thread Stephen Rothwell
Hi all, On Tue, 2 Jul 2013 17:09:57 +1000 Stephen Rothwell wrote: > > We are in the merge window, so please do not add anything to your > linux-next included branches that is not destined for v3.11 until after > v3.11-rc1 is released. No, really :-( i.e. maintainers should be saying "No" to an

Re: WARNING: at drivers/iommu/dmar.c:484 warn_invalid_dmar with Intel Motherboard

2013-07-09 Thread Guenter Roeck
On Tue, Jul 09, 2013 at 05:05:11PM -0700, Chris Wright wrote: > * Guenter Roeck (li...@roeck-us.net) wrote: > > On Tue, Jul 09, 2013 at 04:22:52PM -0700, Chris Wright wrote: > > > * Guenter Roeck (li...@roeck-us.net) wrote: > > > > On Tue, Jul 09, 2013 at 03:05:39PM -0600, Bjorn Helgaas wrote: > >

Re: [RFC PATCH 0/5] Support multiple pages allocation

2013-07-09 Thread Joonsoo Kim
On Thu, Jul 04, 2013 at 12:00:44PM +0200, Michal Hocko wrote: > On Thu 04-07-13 13:24:50, Joonsoo Kim wrote: > > On Thu, Jul 04, 2013 at 12:01:43AM +0800, Zhang Yanfei wrote: > > > On 07/03/2013 11:51 PM, Zhang Yanfei wrote: > > > > On 07/03/2013 11:28 PM, Michal Hocko wrote: > > > >> On Wed 03-07-

[PATCH] usb: phy: samsung-usb2: Toggle HSIC GPIO from device tree

2013-07-09 Thread Julius Werner
This patch adds support for a new 'samsung,hsic-reset-gpio' in the device tree, which will be interpreted as an active-low reset pin during PHY initialization when it exists. Useful for intergrated HSIC devices like an SMSC 3503 hub. It is necessary to add this directly to the PHY initialization to

Re: WARNING: at drivers/iommu/dmar.c:484 warn_invalid_dmar with Intel Motherboard

2013-07-09 Thread David Woodhouse
On Tue, 2013-07-09 at 17:18 -0700, Guenter Roeck wrote: > > I meant warning as in pr_warn or dev_warn, not WARNING as in traceback. > Keep in mind that a casual user doesn't expect to see a traceback and will > tend > to get alarmed. Several bugs have been filed against this "issue" in various >

Re: [PATCH REPOST] kexec: return error of machine_kexec() fails

2013-07-09 Thread Zhang Yanfei
于 2013/7/10 0:16, Stephen Warren 写道: > From: Stephen Warren > > Prior to commit 3ab8352 "kexec jump", if machine_kexec() returned, > sys_reboot() would return -EINVAL. This patch restores this behaviour > for the non-KEXEC_JUMP case, where machine_kexec() is not expected to > return. > > This si

Re: [RFC PATCH 0/5] Support multiple pages allocation

2013-07-09 Thread Zhang Yanfei
于 2013/7/10 8:31, Joonsoo Kim 写道: > On Thu, Jul 04, 2013 at 12:00:44PM +0200, Michal Hocko wrote: >> On Thu 04-07-13 13:24:50, Joonsoo Kim wrote: >>> On Thu, Jul 04, 2013 at 12:01:43AM +0800, Zhang Yanfei wrote: On 07/03/2013 11:51 PM, Zhang Yanfei wrote: > On 07/03/2013 11:28 PM, Michal H

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

2013-07-09 Thread Stephen Rothwell
Hi Sage, Today's linux-next merge of the ceph tree got conflicts in drivers/block/rbd.c and net/ceph/osd_client.c because the ceph tree was rebased before being sent to Linus and it looks like one patch was dropped and several more added. I just used the upstream version of the cpeh tree for toda

[Information] gcc '-O2' may skip some of uninitialized variables warnings (exist almost 10 years).

2013-07-09 Thread Chen Gang
Hell All: gcc '-O2' may skip some of uninitialized variables warnings which may be real bugs. This is gcc issue which keep existence almost 10 years, and now it seems can not be fixed in recent years. Please reference: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18501, for kernel special case, al

Re: [PATCH] ocfs2/refcounttree: add the missing NULL check of the return value of find_or_create_page()

2013-07-09 Thread Gu Zheng
On 07/10/2013 06:11 AM, Joel Becker wrote: > On Mon, Jul 08, 2013 at 03:52:53PM +0800, Gu Zheng wrote: >> Add the missing NULL check of the return value of find_or_create_page() in >> function ocfs2_duplicate_clusters_by_page(). >> >> Signed-off-by: Gu Zheng >> --- >> fs/ocfs2/refcounttree.c |

virtio indirect with lots of descriptors

2013-07-09 Thread Dave Airlie
Hi Rusty, playing with my virtio gpu, I started hitting the qemu error_report("Too many read descriptors in indirect table"); Now I'm not sure but this doesn't seem to be a virtio limit that the guest catches from what I can see, since my host dies quite quickly, when I'm doing transfers in/out o

Re: 3.9-rc6 ext4: free_rb_tree_fname oops

2013-07-09 Thread Zheng Liu
Hi Daniel, On Mon, Jun 24, 2013 at 02:34:00PM +0800, Daniel J Blueman wrote: > On 16 April 2013 15:37, Daniel J Blueman wrote: > > When using e4defrag on a ext4 filesystem created a month ago, I ran > > into this fatal page fault [1] > > while running e4defrag on 3.9-rc6 (Ubuntu mainline). > > >

Re: [PATCH] kernel/params.c: print failure information instead of 'KOBJ_ADD' to user space, when sysfs_create_file() fails.

2013-07-09 Thread Rusty Russell
Chen Gang writes: > When sysfs_create_file() fails, recommend to print the related failure > information. And it is useless to still 'KOBJ_ADD' to user space. > > Signed-off-by: Chen Gang sysfs_create_file() should not fail during boot, should it? Cheers, Rusty. > --- > kernel/params.c |8

Re: [PATCH] virtio-net: put virtio net header inline with data

2013-07-09 Thread Rusty Russell
"Michael S. Tsirkin" writes: > On Tue, Jul 09, 2013 at 11:46:23AM +0930, Rusty Russell wrote: >> "Michael S. Tsirkin" writes: >> > For small packets we can simplify xmit processing >> > by linearizing buffers with the header: >> > most packets seem to have enough head room >> > we can use for thi

[REGRESSION] x86 vmalloc issue from recent 3.10.0+ commit

2013-07-09 Thread Michael L. Semon
Hi! I'm doing volunteer testing of xfstests and was sent here to ask about this issue. I apologize in advance if the problem has already been solved... I've been testing XFS from various git kernels on 32-bit Pentium 4 and Pentium III PCs. There was an issue with xfstests test xfs/167, whic

Re: [PATCH v3 1/2] sched: smart wake-affine foundation

2013-07-09 Thread Sam Ben
On 07/08/2013 10:36 AM, Michael Wang wrote: Hi, Sam On 07/07/2013 09:31 AM, Sam Ben wrote: On 07/04/2013 12:55 PM, Michael Wang wrote: wake-affine stuff is always trying to pull wakee close to waker, by theory, this will bring benefit if waker's cpu cached hot data for wakee, or the extreme pi

Re: [GIT] Networking

2013-07-09 Thread Rob Landley
On 07/09/2013 12:32:56 PM, Linus Torvalds wrote: On Mon, Jul 8, 2013 at 7:29 PM, Rob Landley wrote: > > Um, does that mean I should have cc'd you on the initmpfs patch series > back before the merge window opened? So I personally don't tend to care about that kind of patch-series - it doesn'

[PATCH] kexec: return error of machine_kexec() fails

2013-07-09 Thread Simon Horman
From: Stephen Warren Prior to commit 3ab8352 "kexec jump", if machine_kexec() returned, sys_reboot() would return -EINVAL. This patch restores this behaviour for the non-KEXEC_JUMP case, where machine_kexec() is not expected to return. This situation can occur on ARM, where kexec requires disabl

Re: [REGRESSION] x86 vmalloc issue from recent 3.10.0+ commit

2013-07-09 Thread Dave Jones
On Tue, Jul 09, 2013 at 09:51:32PM -0400, Michael L. Semon wrote: > kernel: [ 2580.395592] vmap allocation for size 20480 failed: use > vmalloc= to increase size. > kernel: [ 2580.395761] vmalloc: allocation failure: 16384 bytes I was seeing a lot of these recently too. (Though I also saw mem

[PATCH v3] btusb: fix wrong use of PTR_ERR()

2013-07-09 Thread Adam Lee
PTR_ERR() returns a signed long type value which is limited by IS_ERR(), it must be a negative number whose range is [-MAX_ERRNO, 0). The bug here returns negative numbers as error codes, then check it by "if (ret < 0)", but -PTR_ERR() is actually positive. The wrong use here leads to failure as b

[RESEND] The initmpfs patches.

2013-07-09 Thread Rob Landley
Attached, so you don't have to fish them out of: http://lkml.indiana.edu/hypermail/linux/kernel/1306.3/04204.html Do they look worth applying, or should I wash it through linux-next for a bit? (Which I'm not sure how to do if I don't host a git tree on a server, or I'd have done it already

Re: [RFC][PATCH 1/9] sched: Introduce power scheduler

2013-07-09 Thread Arjan van de Ven
On 7/9/2013 8:55 AM, Morten Rasmussen wrote: + mod_delayed_work_on(schedule_cpu(), system_wq, &dwork, + msecs_to_jiffies(INTERVAL)); so thinking about this more, this really really should not be a work queue. a work queue will cause a large number of context

Re: [PATCH v3 1/2] sched: smart wake-affine foundation

2013-07-09 Thread Michael Wang
On 07/10/2013 09:52 AM, Sam Ben wrote: > On 07/08/2013 10:36 AM, Michael Wang wrote: >> Hi, Sam >> >> On 07/07/2013 09:31 AM, Sam Ben wrote: >>> On 07/04/2013 12:55 PM, Michael Wang wrote: wake-affine stuff is always trying to pull wakee close to waker, by theory, this will bring ben

Re: virtio indirect with lots of descriptors

2013-07-09 Thread Rusty Russell
Dave Airlie writes: > Hi Rusty, > > playing with my virtio gpu, I started hitting the qemu > error_report("Too many read descriptors in indirect table"); > > Now I'm not sure but this doesn't seem to be a virtio limit that the > guest catches from what I can see, since my host dies quite quickly,

Re: [PATCH 2/4] extcon: palmas: enable ID_GND and ID_FLOAT detection always

2013-07-09 Thread Chanwoo Choi
Hi Laxman, On 07/09/2013 10:04 PM, Laxman Dewangan wrote: > When integrating driver with Tegra platform, it is found that > the ID pins get detected only once after booting system and > further removal and re-insert does not detect the ID pin. > > Fixing this issue with enabling interrupt on ID_G

Re: [PATCH] kernel/params.c: print failure information instead of 'KOBJ_ADD' to user space, when sysfs_create_file() fails.

2013-07-09 Thread Chen Gang F T
On 07/09/2013 04:07 PM, Rusty Russell wrote: > Chen Gang writes: >> When sysfs_create_file() fails, recommend to print the related failure >> information. And it is useless to still 'KOBJ_ADD' to user space. >> >> Signed-off-by: Chen Gang > > sysfs_create_file() should not fail during boot, shou

[PATCH V2] relay: fix timer madness

2013-07-09 Thread zhangwei(Jovi)
When I'm using ktap script to tracing all event tracepoints by relay transport, without this patch, the system will hang in few seconds. I found the original patch discussion in 2007. http://marc.info/?l=linux-kernel&m=118544794717162&w=2 (In that mail thread, the patch didn't fix that problem, bu

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-07-09 Thread Dave Chinner
On Mon, Jul 08, 2013 at 02:53:52PM +0200, Michal Hocko wrote: > On Thu 04-07-13 18:36:43, Michal Hocko wrote: > > On Wed 03-07-13 21:24:03, Dave Chinner wrote: > > > On Tue, Jul 02, 2013 at 02:44:27PM +0200, Michal Hocko wrote: > > > > On Tue 02-07-13 22:19:47, Dave Chinner wrote: > > > > [...] > >

Re: [PATCH] kernel/params.c: print failure information instead of 'KOBJ_ADD' to user space, when sysfs_create_file() fails.

2013-07-09 Thread Chen Gang
On 07/10/2013 10:17 AM, Chen Gang F T wrote: > On 07/09/2013 04:07 PM, Rusty Russell wrote: >> Chen Gang writes: >>> When sysfs_create_file() fails, recommend to print the related failure >>> information. And it is useless to still 'KOBJ_ADD' to user space. >>> >>> Signed-off-by: Chen Gang >> >>

Re: [PATCH v2 2/2] perf tools: Make Power7 events available for perf

2013-07-09 Thread Michael Ellerman
On Tue, Jul 09, 2013 at 11:20:50AM -0400, Vince Weaver wrote: > On Tue, 9 Jul 2013, Michael Ellerman wrote: > > > On Mon, Jul 08, 2013 at 10:24:34PM -0400, Vince Weaver wrote: > > > why is it a hack to use cpuid? > > > > Because you're assuming that the PMU the kernel has exposed is for the > > c

Re: [v3.10 regression] deadlock on cpu hotplug

2013-07-09 Thread Michael Wang
On 07/09/2013 07:51 PM, Bartlomiej Zolnierkiewicz wrote: [snip] > > It doesn't help and unfortunately it just can't help as it only > addresses lockdep functionality while the issue is not a lockdep > problem but a genuine locking problem. CPU hot-unplug invokes > _cpu_down() which calls cpu_hotpl

Re: [GIT] Networking

2013-07-09 Thread Linus Torvalds
On Tue, Jul 9, 2013 at 2:53 PM, David Miller wrote: > > This is a re-do of the net-next pull request for the current merge > window. The only difference from the one I made the other day is that > this has Eliezer's interface renames and the timeout handling changes > made based upon your feedbac

Re: [PATCH] of: match the compatible in the order set by the dts file

2013-07-09 Thread Huang Shijie
于 2013年07月09日 20:03, Rob Herring 写道: > the same and that is the assumption. Matching is not just based on > compatible properties and your patch does not handle the other cases. Could you show a example of "the other cases"? After this patch, [1] the matching will first check the @match->type and

linux-next: build failure after merge of the slab tree

2013-07-09 Thread Stephen Rothwell
mleak.h:50:16: error: 'SLAB_NOLEAKTRACE' undeclared (first use in this function) if (!(flags & SLAB_NOLEAKTRACE)) ^ Probably caused by commit 590a63973e36 ("mm/sl[aou]b: Move kmalloc definitions to slab.h"). I have used the slab tree from next-20130709

Re: [PATCH 2/2] PCI,pciehp: avoid add a device already exist during pciehp_resume

2013-07-09 Thread Yijing Wang
Hi Bjorn, Thanks for your review and comments! >> We can use PCIe Device Serial Number to identify the device if >> device support DSN. > > I think I like the idea of this, especially because the Microsoft PCI > Hardware Compliance Test apparently requires DSN for hot-pluggable > PCIe devices

Re: [PATCH] kernel/params.c: print failure information instead of 'KOBJ_ADD' to user space, when sysfs_create_file() fails.

2013-07-09 Thread Chen Gang F T
On 07/10/2013 10:35 AM, Chen Gang wrote: > On 07/10/2013 10:17 AM, Chen Gang F T wrote: >> On 07/09/2013 04:07 PM, Rusty Russell wrote: >>> Chen Gang writes: When sysfs_create_file() fails, recommend to print the related failure information. And it is useless to still 'KOBJ_ADD' to user

nfsd changes for 3.11

2013-07-09 Thread J. Bruce Fields
Please pull nfsd changes for 3.11 from the for-3.11 branch at git://linux-nfs.org/~bfields/linux.git for-3.11 Changes this time include: - 4.1 enabled on the server by default: the last 4.1-specific issues I know of are fixed, so we're not going to find the rest of

Re: [PATCH v2 2/2] perf tools: Make Power7 events available for perf

2013-07-09 Thread Michael Ellerman
On Tue, Jul 09, 2013 at 10:14:34AM +0200, Peter Zijlstra wrote: > On Mon, Jul 08, 2013 at 10:24:34PM -0400, Vince Weaver wrote: > > > > So something like they have on ARM? > > > > vince@pandaboard:/sys/bus/event_source/devices$ ls -l > > lrwxrwxrwx 1 root root 0 Jul 8 21:57 ARMv7 Cortex-A9 -> >

Re: [Xen-devel] [PATCH] xen: remove unused Kconfig parameter

2013-07-09 Thread Borislav Petkov
On Wed, Jul 10, 2013 at 12:34:58AM +0200, Sander Eikelenboom wrote: > Grub does this in it's update script to prevent adding a xen + kernel > combination that has no chance of booting when dom0 support has not > been configured in the kernel. That doesn't seem to be a unreasonable > thought. Actua

Re: [PATCH 5/8] powerpc: add real mode support for dma operations on powernv

2013-07-09 Thread Alexey Kardashevskiy
On 07/10/2013 02:02 AM, Alexander Graf wrote: > On 07/06/2013 05:07 PM, Alexey Kardashevskiy wrote: >> The existing TCE machine calls (tce_build and tce_free) only support >> virtual mode as they call __raw_writeq for TCE invalidation what >> fails in real mode. >> >> This introduces tce_build_rm a

Re: [PATCH net-next] net: rename low latency sockets functions to busy poll

2013-07-09 Thread Eliezer Tamir
On 10/07/2013 02:06, David Miller wrote: > From: Jonathan Corbet > Date: Tue, 9 Jul 2013 16:25:14 -0600 > >> On Mon, 08 Jul 2013 16:20:34 +0300 >> Eliezer Tamir wrote: >> >>> Rename POLL_LL to POLL_BUSY_LOOP. >> >> So pardon me if I speak out of turn, but it occurs to me to >> wonder...should th

Re: [v3.10 regression] deadlock on cpu hotplug

2013-07-09 Thread Michael Wang
On 07/09/2013 09:07 PM, Srivatsa S. Bhat wrote: [snip] >> > > Yeah, exactly! > > So I had proposed doing an asynchronous cancel-work or doing the > synchronous cancel-work in the CPU_POST_DEAD phase, where the > cpu_hotplug.lock is not held. See this thread: > > http://marc.info/?l=linux-kernel&

Re: [PATCH 5/8] powerpc: add real mode support for dma operations on powernv

2013-07-09 Thread Benjamin Herrenschmidt
On Tue, 2013-07-09 at 18:02 +0200, Alexander Graf wrote: > On 07/06/2013 05:07 PM, Alexey Kardashevskiy wrote: > > The existing TCE machine calls (tce_build and tce_free) only support > > virtual mode as they call __raw_writeq for TCE invalidation what > > fails in real mode. > > > > This introduce

Re: [PATCH V2] relay: fix timer madness

2013-07-09 Thread Li Zefan
On 2013/7/10 10:18, zhangwei(Jovi) wrote: > When I'm using ktap script to tracing all event tracepoints by relay > transport, without this patch, the system will hang in few seconds. > > I found the original patch discussion in 2007. > http://marc.info/?l=linux-kernel&m=118544794717162&w=2 > (In t

Re: [PATCH RFC] fsio: filesystem io accounting cgroup

2013-07-09 Thread Tejun Heo
Hello, On Tue, Jul 09, 2013 at 11:09:55PM -0400, Vivek Goyal wrote: > Stacking drivers are pretty important ones and we expect throttling > to work with them. By throttling bio, a single hook worked both for > request based drivers and bio based drivers. Oh yeah, sure, we have them working now, s

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

2013-07-09 Thread Stephen Rothwell
Hi Steven, Today's linux-next merge of the ftrace tree got a conflict in kernel/panic.c between commit dcb6b45254e2 ("panic: add cpu/pid to warn_slowpath_common in WARNING printk()s") from the tree and commit de7edd31457b ("tracing: Disable tracing on warning") from the ftrace tree. I fixed it u

Re: WARNING: at drivers/iommu/dmar.c:484 warn_invalid_dmar with Intel Motherboard

2013-07-09 Thread Guenter Roeck
On Wed, Jul 10, 2013 at 01:53:15AM +0100, David Woodhouse wrote: > On Tue, 2013-07-09 at 17:18 -0700, Guenter Roeck wrote: > > > > I meant warning as in pr_warn or dev_warn, not WARNING as in traceback. > > Keep in mind that a casual user doesn't expect to see a traceback and will > > tend > > to

Re: [PATCH V2] relay: fix timer madness

2013-07-09 Thread Andrew Morton
On Wed, 10 Jul 2013 11:37:26 +0800 Li Zefan wrote: > On 2013/7/10 10:18, zhangwei(Jovi) wrote: > > When I'm using ktap script to tracing all event tracepoints by relay > > transport, without this patch, the system will hang in few seconds. > > > > I found the original patch discussion in 2007. >

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

2013-07-09 Thread Sage Weil
On Wed, 10 Jul 2013, Stephen Rothwell wrote: > Hi Sage, > > Today's linux-next merge of the ceph tree got conflicts in > drivers/block/rbd.c and net/ceph/osd_client.c because the ceph tree was > rebased before being sent to Linus and it looks like one patch > was dropped and several more added. >

Re: [Xen-devel] [PATCH] xen: remove unused Kconfig parameter

2013-07-09 Thread H. Peter Anvin
On 07/09/2013 03:34 PM, Sander Eikelenboom wrote: > > Grub does this in it's update script to prevent adding a xen + kernel > combination that has no chance of booting when dom0 support has not been > configured in the kernel. > That doesn't seem to be a unreasonable thought. > Except it does

[PULL] modules-next

2013-07-09 Thread Rusty Russell
The following changes since commit 06df44ee41442d83be061c5fd1b1de4f5fc6fbbf: modpost.c: Add .text.unlikely to TEXT_SECTIONS (2013-05-20 12:08:45 +0930) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux.git tags/modules-next-for-linus for you

Re: [PATCH 1/2] virtio: support unlocked queue poll

2013-07-09 Thread Rusty Russell
"Michael S. Tsirkin" writes: > This adds a way to check ring empty state after enable_cb outside any > locks. Will be used by virtio_net. > > Note: there's room for more optimization: caller is likely to have a > memory barrier already, which means we might be able to get rid of a > barrier here.

[PULL] virtio-next

2013-07-09 Thread Rusty Russell
The following changes since commit b3087e48ce20be784fae1dbabc2e42e2ad0f21bc: virtio: remove virtqueue_add_buf(). (2013-05-20 12:16:01 +0930) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux.git tags/virtio-next-for-linus for you to fetch cha

Re: early microcode on amd is broken when no initramfs provided

2013-07-09 Thread Borislav Petkov
On Tue, Jul 09, 2013 at 10:53:31PM -0500, Jacob Shin wrote: > I won't have access to a box for a while, Boris or Suravee, could you > please try and reproduce it and get the stack trace when you get the > chance? > > So sorry, No worries, Jacob, I'm on it. Take your time. :) -- Regards/Gruss,

Re: [RESEND][PATCH] mtd: refactor call to request_module

2013-07-09 Thread Rusty Russell
Kees Cook writes: > This reduces the size of the stack frame when calling request_module(). > Performing the sprintf before the call is not needed. > > Signed-off-by: Kees Cook Acked-by: Rusty Russell Thanks, Rusty. > --- > drivers/mtd/chips/gen_probe.c |4 +--- > 1 file changed, 1 inser

[PATCH 2/4] rtc: convert rtc-cmos to dev_pm_ops from legacy pm_ops

2013-07-09 Thread Shuah Khan
Convert drivers/rtc/rtc-cmos to use dev_pm_ops instead of legacy pm_ops. This patch depends on pnp driver bus ops change to invoke pnp_driver dev_pm_ops. Signed-off-by: Shuah Khan --- drivers/rtc/rtc-cmos.c | 24 +--- 1 file changed, 5 insertions(+), 19 deletions(-) diff -

[PATCH 3/4] tpm: Convert tpm_tis driver to use dev_pm_ops from legacy pm_ops

2013-07-09 Thread Shuah Khan
Convert drivers/char/tpm/tpm_tis.c to use dev_pm_ops instead of legacy pm_ops. This patch depends on pnp driver bus ops change to invoke pnp_driver dev_pm_ops. Signed-off-by: Shuah Khan --- drivers/char/tpm/tpm_tis.c | 60 ++-- 1 file changed, 24 inserti

[PATCH 1/4] pnp: Change pnp bus pm_ops to invoke pnp driver dev_pm_ops if specified

2013-07-09 Thread Shuah Khan
pnp_bus_suspend() and pnp_bus_resume() invoke legacy pm_ops from pnp_driver. Changed pnp_bus_suspend() and pnp_bus_resume() to check if pnp driver has dev_pm_ops and call. If dev_pm_ops don't exist, then call use legacy pm_ops. Without this change, pnp_driver dev_pm_ops will not get called. Signed

[PATCH 4/4] platform: Convert apple-gmux driver to dev_pm_ops from legacy pm_ops

2013-07-09 Thread Shuah Khan
Convert drivers/platform/x86/apple-gmux to use dev_pm_ops instead of legacy pm_ops. This patch depends on pnp driver bus ops change to invoke pnp_driver dev_pm_ops. Signed-off-by: Shuah Khan --- drivers/platform/x86/apple-gmux.c | 18 ++ 1 file changed, 14 insertions(+), 4 dele

[PATCH 0/4] pnp: Change pnp bus pm_ops to invoke pnp driver dev_pm_ops if specified

2013-07-09 Thread Shuah Khan
pnp_bus_suspend() and pnp_bus_resume() invoke legacy pm_ops from pnp_driver. Changed pnp_bus_suspend() and pnp_bus_resume() to check if pnp driver has dev_pm_ops and call. If dev_pm_ops don't exist, then call use legacy pm_ops. Without this change, pnp_driver dev_pm_ops will not get called. In add

<    1   2   3   4   5   6   >