Re: [PATCH] pinctrl/pinconfig: add debug interface

2013-02-11 Thread Tony Lindgren
* Stephen Warren [130211 13:17]: > On 02/11/2013 02:00 PM, Tony Lindgren wrote: > > * Stephen Warren [130211 12:57]: > >> On 02/10/2013 01:11 PM, Linus Walleij wrote: > >>> From: Laurent Meunier > >>> > >>> This update adds a debugfs interface to modify a pin configuration > >>> for a given

Re: [PATCH] pinctrl/pinconfig: add debug interface

2013-02-11 Thread Stephen Warren
On 02/11/2013 02:21 PM, Tony Lindgren wrote: > * Stephen Warren [130211 13:17]: >> On 02/11/2013 02:00 PM, Tony Lindgren wrote: >>> * Stephen Warren [130211 12:57]: On 02/10/2013 01:11 PM, Linus Walleij wrote: > From: Laurent Meunier > > This update adds a debugfs interface to

Re: [PATCH v2] gpio: mcp23s08: convert driver to DT

2013-02-11 Thread Grant Likely
On Mon, 11 Feb 2013 12:52:42 +0100, Lars Poeschel wrote: > From: Lars Poeschel > > This converts the mcp23s08 driver to be able to be used with device > tree. > Explicitly allow -1 as a legal value for the > mcp23s08_platform_data->base. This is the special value lets the > kernel choose a

Re: [PATCH v3 4/7] memcg: remove memcg from the reclaim iterators

2013-02-11 Thread Michal Hocko
On Mon 11-02-13 14:58:24, Johannes Weiner wrote: > On Mon, Feb 11, 2013 at 08:29:29PM +0100, Michal Hocko wrote: > > On Mon 11-02-13 12:56:19, Johannes Weiner wrote: > > > On Mon, Feb 11, 2013 at 04:16:49PM +0100, Michal Hocko wrote: > > > > Maybe we could keep the counter per memcg but that would

Re: [PATCH] fs: encode_fh: return FILEID_INVALID if invalid fid_type

2013-02-11 Thread Dave Chinner
On Mon, Feb 11, 2013 at 05:25:58PM +0900, Namjae Jeon wrote: > From: Namjae Jeon > > This patch is a follow up on below patch: > > [PATCH] exportfs: add FILEID_INVALID to indicate invalid fid_type > commit: 216b6cbdcbd86b1db0754d58886b466ae31f5a63 > diff --git a/fs/xfs/xfs_export.c

Re: [PATCH] pinctrl/pinconfig: add debug interface

2013-02-11 Thread Tony Lindgren
* Stephen Warren [130211 13:27]: > On 02/11/2013 02:21 PM, Tony Lindgren wrote: > > * Stephen Warren [130211 13:17]: > >> On 02/11/2013 02:00 PM, Tony Lindgren wrote: > >>> * Stephen Warren [130211 12:57]: > On 02/10/2013 01:11 PM, Linus Walleij wrote: > > From: Laurent Meunier >

[PATCH linux-next] drm/radeon: Avoid NULL pointer dereference from atom_index_iio() allocation failure

2013-02-11 Thread Tim Gardner
Smatch anlysis: drivers/gpu/drm/radeon/atom.c:1242 atom_index_iio() error: potential null dereference 'ctx->iio'. (kzalloc returns null) Also cleaned up some checks before calls to kfree(). kfree(NULL) is OK. Cc: David Airlie Cc: Alex Deucher Cc: "Michel Dänzer" Cc: Dave Airlie Cc:

Re: [PATCH V4 3/4] input: keyboard: tegra: add support for rows/cols configuration from dt

2013-02-11 Thread Grant Likely
On Sun, 6 Jan 2013 16:44:59 +0530, Laxman Dewangan wrote: > The NVIDIA's Tegra KBC has maximum 24 pins to make matrix keypad. > Any pin can be configured as row or column. The maximum column pin > can be 8 and maximum row pin can be 16. > > Remove the assumption that all first 16 pins will be

[PATCH]sched/stop_task: Do not account zero delta_exec in put_prev_task_stop

2013-02-11 Thread Kirill Tkhai
Simple return Signed-off-by: Kirill V Tkhai CC: Steven Rostedt CC: Ingo Molnar CC: Peter Zijlstra CC: linux-rt-users --- kernel/sched/stop_task.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/sched/stop_task.c b/kernel/sched/stop_task.c index

[PATCH] sched/rt: Unthrottle the highest RT task of the rq if there are no another available tasks to be picked

2013-02-11 Thread Kirill Tkhai
It's possible a situation when rq->rt is throttled or it has no child entities and there are RT tasks ready for execution in the rq which are the only tasks of TASK_RUNNING state. In this case pick_next_task takes idle tasks and idle wastes cpu time. The patch change logic of pre_schedule a

RE: [PATCH] staging/zcache: Fix/improve zcache writeback code, tie to a config option

2013-02-11 Thread Dan Magenheimer
> From: Greg KH [mailto:gre...@linuxfoundation.org] > So, how about this, please draw up a specific plan for how you are going > to get this code out of drivers/staging/ I want to see the steps > involved, who is going to be doing the work, and who you are going to > have to get to agree with

Re: [PATCH 00/11] extcon-arizona updates

2013-02-11 Thread Greg Kroah-Hartman
On Mon, Feb 11, 2013 at 04:26:14PM +, Mark Brown wrote: > The following changes since commit 689557d3c7045320958d5bc4141088f7b4dff7ba: > > mfd: wm5102: Add microphone clamp control registers (2013-01-15 15:42:18 > +0900) > > are available in the git repository at: > >

[patch for-3.8] fs, dlm: fix build error when EXPERIMENTAL is disabled

2013-02-11 Thread David Rientjes
CONFIG_IP_SCTP relies on being able to select things like CONFIG_CRC32C to build. Thus, nothing should be selecting CONFIG_IP_SCTP that does not meet its requirements. For example, if CONFIG_EXPERIMENTAL is disabled and CONFIG_DLM is enabled, the build fails at link time:

Re: [PATCH] staging/zcache: Fix/improve zcache writeback code, tie to a config option

2013-02-11 Thread Greg KH
On Mon, Feb 11, 2013 at 01:43:58PM -0800, Dan Magenheimer wrote: > > From: Greg KH [mailto:gre...@linuxfoundation.org] > > > So, how about this, please draw up a specific plan for how you are going > > to get this code out of drivers/staging/ I want to see the steps > > involved, who is going to

[PATCH] MIPS: early_printk: drop __init annotations

2013-02-11 Thread Aaro Koskinen
We cannot use __init for earlyprintk code or data, since the kernel parameter "keep_bootcon" allows leaving the boot console enabled. Currently MIPS will crash/hang/die if you use keep_bootcon. The patch fixes it at least on Lemote FuLoong mini-PC. Changes for other boards were done based on what

Re: [PATCH 1/2] powerpc/5200: Add Lite5200 on-board LEDs as devices

2013-02-11 Thread Anatolij Gustschin
On Fri, 8 Feb 2013 08:02:50 + Grant Likely wrote: > The Lite5200 evaluation board has a number of debug LEDs that Linux > doesn't know about yet. This change adds a gpio-leds stanza to the > lite5200 device tree so that the correct driver can get hooked up. > > Also, make use of the dtc

Re: [PATCH 2/2] powerpc/5200: Use the gpt* labels to simplify mpc5200 dts files

2013-02-11 Thread Anatolij Gustschin
On Fri, 8 Feb 2013 08:02:51 + Grant Likely wrote: > The DTC labels feature allows a dts file to reference a node without > having to reproduce the entire node hierarchy above it. We can use this > to simplify the MPC5200 board dts files by referencing the gpt nodes by > label. > > Cc:

Re: [RFC 2/2] initramfs with digital signature protection

2013-02-11 Thread Vivek Goyal
On Fri, Feb 08, 2013 at 03:27:30PM +0200, Kasatkin, Dmitry wrote: > >> > >> Dmitry, > >> > >> How do we make sure that this is the first call to user mode helpers. I > >> see that we first unpacked unsigned initramfs. Then after a while we > >> unpacked signed initramfs on /root and did a chroot.

RE: [PATCH] staging/zcache: Fix/improve zcache writeback code, tie to a config option

2013-02-11 Thread Dan Magenheimer
> From: Greg KH [mailto:gre...@linuxfoundation.org] > Subject: Re: [PATCH] staging/zcache: Fix/improve zcache writeback code, tie > to a config option > > On Mon, Feb 11, 2013 at 01:43:58PM -0800, Dan Magenheimer wrote: > > > From: Greg KH [mailto:gre...@linuxfoundation.org] > > > > > So, how

[PATCH] staging/zcache: Fix/improve zcache writeback code, tie to a config option

2013-02-11 Thread Dan Magenheimer
It was observed by Andrea Arcangeli in 2011 that zcache can get "full" and there must be some way for compressed swap pages to be (uncompressed and then) sent through to the backing swap disk. A prototype of this functionality, called "unuse", was added in 2012 as part of a major update to zcache

Re: [PATCH v3 4/7] memcg: remove memcg from the reclaim iterators

2013-02-11 Thread Michal Hocko
On Mon 11-02-13 22:27:56, Michal Hocko wrote: [...] > I will get back to this tomorrow. Maybe not a great idea as it is getting late here and brain turns into cabbage but there we go: --- >From f927358fe620837081d7a7ec6bf27af378deb35d Mon Sep 17 00:00:00 2001 From: Michal Hocko Date: Mon, 11 Feb

Re: [PATCH 2/2] ima: Support appraise_type=imasig_optional

2013-02-11 Thread Mimi Zohar
On Mon, 2013-02-11 at 15:11 -0500, Vivek Goyal wrote: > appraise_type=imasig_optional will allow appraisal to pass even if no > signatures are present on the file. If signatures are present, then it > has to be valid digital signature, otherwise appraisal will fail. > > This can allow to

Re: RFC: mincore: add a bit to indicate a page is dirty.

2013-02-11 Thread Andrew Morton
On Mon, 11 Feb 2013 11:27:01 -0500 Johannes Weiner wrote: > > Is PG_dirty the right choice? Is that right for huge pages? Should I > > assume is_migration_entry(entry) means it's not dirty, or is there some > > other check here? > > If your only consequence of finding dirty pages is to sync,

Re: [PATCH 11/11] ksm: stop hotremove lockdep warning

2013-02-11 Thread Hugh Dickins
On Fri, 8 Feb 2013, Gerald Schaefer wrote: > On Fri, 25 Jan 2013 18:10:18 -0800 (PST) > Hugh Dickins wrote: > > > Complaints are rare, but lockdep still does not understand the way > > ksm_memory_callback(MEM_GOING_OFFLINE) takes ksm_thread_mutex, and > > holds it until the

Re: [PATCH 1/2] vfio powerpc: enabled on powernv platform

2013-02-11 Thread Alex Williamson
On Mon, 2013-02-11 at 22:54 +1100, Alexey Kardashevskiy wrote: > This patch initializes IOMMU groups based on the IOMMU > configuration discovered during the PCI scan on POWERNV > (POWER non virtualized) platform. The IOMMU groups are > to be used later by VFIO driver (PCI pass through). > > It

Re: [PATCH 2/2] vfio powerpc: implemented IOMMU driver for VFIO

2013-02-11 Thread Alex Williamson
On Mon, 2013-02-11 at 22:54 +1100, Alexey Kardashevskiy wrote: > VFIO implements platform independent stuff such as > a PCI driver, BAR access (via read/write on a file descriptor > or direct mapping when possible) and IRQ signaling. > > The platform dependent part includes IOMMU initialization >

Re: IO_PAGE_FAULTs on unity mapped regions during amd_iommu_init() in Linux 3.4

2013-02-11 Thread Joerg Roedel
On Mon, Feb 11, 2013 at 01:57:03PM -0700, Shuah Khan wrote: > I was hoping Joerg's patch would make it into Linus's tree by now. I > tested the original patch and did the back-port to 3.4 and 3.0 at the > same time, before I loose the test system. I will send the patch with the next merge window.

Re: [PATCH next v2] OF: convert devtree lock from rw_lock to raw spinlock

2013-02-11 Thread Grant Likely
to raw_spin_unlock. >>>> Retested (boot) on sbc8548, defconfig builds on arm/sparc; no >>>> new warnings observed.] >>>> >>>> arch/sparc/kernel/prom_common.c | 4 +- >>>> drivers/of/base.c | 100 >>>> ++

[PATCH] of: Fix locking when calling of_get_next_available_child()

2013-02-11 Thread Grant Likely
of_get_next_available_child() obtains the devtree_lock and then calls of_device_is_available() which also attempts to claim the lock. This is obviously incorrect and causes a deadlock on boot. Fix issue by adding an variant of of_device_is_available() which doesn't obtain the lock. Cc: Stephen

Re: [PATCH next v2] OF: convert devtree lock from rw_lock to raw spinlock

2013-02-11 Thread Rob Herring
f: Add /proc device tree >>>>> updating to of node add/remove") added two more instances of >>>>> write_unlock that also needed converting to raw_spin_unlock. >>>>> Retested (boot) on sbc8548, defconfig builds on arm/sparc; no >>>>> new warnings obser

Re: [PATCH] fs: encode_fh: return FILEID_INVALID if invalid fid_type

2013-02-11 Thread Namjae Jeon
2013/2/12, Dave Chinner : > On Mon, Feb 11, 2013 at 05:25:58PM +0900, Namjae Jeon wrote: >> From: Namjae Jeon >> >> This patch is a follow up on below patch: >> >> [PATCH] exportfs: add FILEID_INVALID to indicate invalid fid_type >> commit: 216b6cbdcbd86b1db0754d58886b466ae31f5a63 > >> diff

Re: [PATCH] of: Fix locking when calling of_get_next_available_child()

2013-02-11 Thread Rob Herring
On 02/11/2013 04:19 PM, Grant Likely wrote: > of_get_next_available_child() obtains the devtree_lock and then calls > of_device_is_available() which also attempts to claim the lock. This is > obviously incorrect and causes a deadlock on boot. Fix issue by adding > an variant of

Re: [PATCH next v2] OF: convert devtree lock from rw_lock to raw spinlock

2013-02-11 Thread Grant Likely
On Mon, Feb 11, 2013 at 10:21 PM, Rob Herring wrote: > On 02/11/2013 04:18 PM, Grant Likely wrote: >> On Mon, Feb 11, 2013 at 7:54 PM, Rob Herring wrote: >>> I found the problem. of_get_next_available_child -> >>> of_device_is_available -> of_get_property -> of_get_property. An >>> unlocked

Re: [PATCH] of: Fix locking when calling of_get_next_available_child()

2013-02-11 Thread Grant Likely
On Mon, Feb 11, 2013 at 10:27 PM, Rob Herring wrote: > On 02/11/2013 04:19 PM, Grant Likely wrote: >> of_get_next_available_child() obtains the devtree_lock and then calls >> of_device_is_available() which also attempts to claim the lock. This is >> obviously incorrect and causes a deadlock on

Re: [PATCH 1/2] add helper for highmem checks

2013-02-11 Thread Borislav Petkov
On Mon, Feb 11, 2013 at 11:44:12AM -0800, H. Peter Anvin wrote: > Oh, craptastic. X used to hash /dev/mem to get a random seed. It > should have stopped that long ago, and used /dev/[u]random. That's because debian still has this WINGs window manager which hasn't seen any new releases since 2005:

Re: [PATCH] of: fix recursive locking in of_get_next_available_child()

2013-02-11 Thread Grant Likely
On Mon, 11 Feb 2013 14:15:32 -0700, Stephen Warren wrote: > From: Stephen Warren > > of_get_next_available_child() acquires devtree_lock, then calls > of_device_is_available() which calls of_get_property() which calls > of_find_property() which tries to re-acquire devtree_lock, thus causing >

Re: [PATCH v3 0/6] Driver for Si476x series of chips

2013-02-11 Thread Alexey Klimov
Hello Andrey, Mauro, Hans, On Tue, Oct 23, 2012 at 6:44 PM, Andrey Smirnov wrote: > This is a third version of the patchset originaly posted here: > https://lkml.org/lkml/2012/9/13/590 > > Second version of the patch was posted here: > https://lkml.org/lkml/2012/10/5/598 > > To save everyone's

Re: [PATCH v3 4/7] memcg: remove memcg from the reclaim iterators

2013-02-11 Thread Johannes Weiner
On Mon, Feb 11, 2013 at 10:27:56PM +0100, Michal Hocko wrote: > On Mon 11-02-13 14:58:24, Johannes Weiner wrote: > > On Mon, Feb 11, 2013 at 08:29:29PM +0100, Michal Hocko wrote: > > > On Mon 11-02-13 12:56:19, Johannes Weiner wrote: > > > > On Mon, Feb 11, 2013 at 04:16:49PM +0100, Michal Hocko

Re: [Bisected] [-next-20130204] usb/hcd: irq 18: nobody cared

2013-02-11 Thread Bjorn Helgaas
[+cc linux-acpi, linux-pci] On Mon, Feb 11, 2013 at 01:06:27PM -0800, Yinghai Lu wrote: > On Mon, Feb 11, 2013 at 11:57 AM, Yinghai Lu wrote: > >> > >> Bjorn, Rafael, > >> > >> acpi_pci_irq_add_prt need to be called after pci bridge get scanned, > >> so we can not call it from pci_acpi_setup,

Re: [PATCH 06/16] ARM idle: delete pm_idle

2013-02-11 Thread Len Brown
On 02/11/2013 11:11 AM, Russell King - ARM Linux wrote: > On Mon, Feb 11, 2013 at 04:02:30PM +, Catalin Marinas wrote: >> On Sun, Feb 10, 2013 at 05:58:13AM +, Len Brown wrote: >>> pm_idle() on ARM was a synonym for default_idle(), >>> so simply invoke default_idle() directly. >> >> The

[PATCH] ACPI: Remove the use of CONFIG_ACPI_CONTAINER_MODULE

2013-02-11 Thread Toshi Kani
config ACPI_CONTAINER has been changed to bool (y/n), and its module option is no longer valid. So, remove the use of CONFIG_ACPI_CONTAINER_MODULE. Signed-off-by: Toshi Kani --- include/linux/acpi.h |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/linux/acpi.h

Re: [PATCH 47/62] scsi/lpfc: convert to idr_alloc()

2013-02-11 Thread James Smart
Acked-by: James Smart -- james s On 2/2/2013 8:20 PM, Tejun Heo wrote: Convert to the much saner new idr interface. Only compile tested. Signed-off-by: Tejun Heo Cc: James Smart Cc: linux-s...@vger.kernel.org --- This patch depends on an earlier idr changes and I think it would be best

Re: [PATCH 63/77] scsi/lpfc: convert to idr_alloc()

2013-02-11 Thread James Smart
Acked-by: James Smart -- james s On 2/6/2013 2:40 PM, Tejun Heo wrote: Convert to the much saner new idr interface. Only compile tested. Signed-off-by: Tejun Heo Cc: James Smart Cc: linux-s...@vger.kernel.org --- drivers/scsi/lpfc/lpfc_init.c | 12 1 file changed, 4

Re: [PATCH 1/2] add helper for highmem checks

2013-02-11 Thread H. Peter Anvin
On 02/11/2013 02:34 PM, Borislav Petkov wrote: > On Mon, Feb 11, 2013 at 11:44:12AM -0800, H. Peter Anvin wrote: >> Oh, craptastic. X used to hash /dev/mem to get a random seed. It >> should have stopped that long ago, and used /dev/[u]random. > > That's because debian still has this WINGs window

Re: [PATCH 01/16] APM idle: register apm_cpu_idle via cpuidle

2013-02-11 Thread Len Brown
On 02/11/2013 04:18 AM, Daniel Lezcano wrote: > On 02/10/2013 06:58 AM, Len Brown wrote: >> From: Len Brown >> >> Update APM to register its local idle routine with cpuidle. >> >> This allows us to stop exporting pm_idle to modules on x86. >> >> The Kconfig sub-option, APM_CPU_IDLE, now depends

Re: [PATCH 1/2] add helper for highmem checks

2013-02-11 Thread Borislav Petkov
On Mon, Feb 11, 2013 at 02:46:43PM -0800, H. Peter Anvin wrote: > The X server itself used to do that. Are you saying that wdm is a > *privileged process*? Nah, it is a simple display manager you start with /etc/init.d/wdm init script. Like the other display managers gdm, kdm, etc. But it looks

[PATCH 0/4] pci: Add PCI_BUS() and PCI_DEVID() interfaces to return bus number and device id

2013-02-11 Thread Shuah Khan
pci defines PCI_DEVFN(), PCI_SLOT(), and PCI_FUNC() interfaces, however, it doesn't have interfaces to return PCI bus and PCI device id. Drivers (AMD IOMMU, and AER) have module specific definitions for PCI_BUS() and AMD_IOMMU driver also has a module specific interface to calculate PCI device id

[PATCH 1/4] pci: Add PCI_BUS() and PCI_DEVID() interfaces to return bus number and device id

2013-02-11 Thread Shuah Khan
pci defines PCI_DEVFN(), PCI_SLOT(), and PCI_FUNC() interfaces, however, it doesn't have interfaces to return PCI bus and PCI device id. Drivers (AMD IOMMU, and AER) implement module specific definitions for PCI_BUS() and AMD_IOMMU driver also has a module specific interface to calculate PCI

[PATCH 2/4] pci/aer: Remove local PCI_BUS() define and use PCI_BUS() from pci

2013-02-11 Thread Shuah Khan
Change to remove local PCI_BUS() define and use the new PCI_BUS interface from pci. Signed-off-by: Shuah Khan --- drivers/pci/pcie/aer/aerdrv_core.c |2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/pci/pcie/aer/aerdrv_core.c b/drivers/pci/pcie/aer/aerdrv_core.c index

[PATCH 3/4] amd_iommu: Remove local PCI_BUS() define and use PCI_BUS() from pci

2013-02-11 Thread Shuah Khan
Change to remove local PCI_BUS() define and use the new PCI_BUS interface from pci. Signed-off-by: Shuah Khan --- drivers/iommu/amd_iommu_types.h |4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/iommu/amd_iommu_types.h b/drivers/iommu/amd_iommu_types.h index

[PATCH 4/4] amd_iommu: Remove calc_devid() and use PCI_DEVID() from pci

2013-02-11 Thread Shuah Khan
Change to remove calc_devid() and use PCI_DEVID() from pci instead. Signed-off-by: Shuah Khan --- drivers/iommu/amd_iommu.c |2 +- drivers/iommu/amd_iommu_init.c |6 +++--- drivers/iommu/amd_iommu_types.h |7 --- 3 files changed, 4 insertions(+), 11 deletions(-) diff

Re: [PATCH 1/2] add helper for highmem checks

2013-02-11 Thread H. Peter Anvin
On 02/11/2013 03:00 PM, Borislav Petkov wrote: > On Mon, Feb 11, 2013 at 02:46:43PM -0800, H. Peter Anvin wrote: >> The X server itself used to do that. Are you saying that wdm is a >> *privileged process*? > > Nah, it is a simple display manager you start with /etc/init.d/wdm init > script. Like

APM: Request to Test

2013-02-11 Thread Len Brown
Thanks, Daniel, for reviewing the patch -- never would have worked... Here is v2. Is there anybody out there with an APM box that can run an upstream kernel with this patch in it? thanks, -Len -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message

[PATCH v2] APM idle: register apm_cpu_idle via cpuidle

2013-02-11 Thread Len Brown
From: Len Brown Update APM to register its local idle routine with cpuidle. This allows us to stop exporting pm_idle to modules on x86. The Kconfig sub-option, APM_CPU_IDLE, now depends on on CPU_IDLE. Compile-tested only. Signed-off-by: Len Brown Cc: Jiri Kosina --- v2: updates from

Re: [PATCH] driver core: add wait event for deferred probe

2013-02-11 Thread Andrew Morton
On Sun, 10 Feb 2013 00:57:57 +0800 Haojian Zhuang wrote: > do_initcalls() could call all driver initialization code in kernel_init > thread. It means that probe() function will be also called from that > time. After this, kernel could access console & release __init section > in the same thread.

[PATCH] pstore: Create a convenient mount point for pstore

2013-02-11 Thread Josh Boyer
Using /dev/pstore as a mount point for the pstore filesystem is slightly awkward. We don't normally mount filesystems in /dev/ and the /dev/pstore file isn't created automatically by anything. While this method will still work, we can create a persistent mount point in sysfs. This will put

Re: [PATCH] ACPI: Remove the use of CONFIG_ACPI_CONTAINER_MODULE

2013-02-11 Thread Rafael J. Wysocki
On Monday, February 11, 2013 03:33:20 PM Toshi Kani wrote: > config ACPI_CONTAINER has been changed to bool (y/n), and its > module option is no longer valid. So, remove the use of > CONFIG_ACPI_CONTAINER_MODULE. > > Signed-off-by: Toshi Kani I'm going to take it. Thanks, Rafael > --- >

Re: [PATCH 1/2] vfio powerpc: enabled on powernv platform

2013-02-11 Thread Alexey Kardashevskiy
On 12/02/13 09:16, Alex Williamson wrote: On Mon, 2013-02-11 at 22:54 +1100, Alexey Kardashevskiy wrote: This patch initializes IOMMU groups based on the IOMMU configuration discovered during the PCI scan on POWERNV (POWER non virtualized) platform. The IOMMU groups are to be used later by VFIO

Re: [PATCH] ACPI: Remove the use of CONFIG_ACPI_CONTAINER_MODULE

2013-02-11 Thread Toshi Kani
On Tue, 2013-02-12 at 00:22 +0100, Rafael J. Wysocki wrote: > On Monday, February 11, 2013 03:33:20 PM Toshi Kani wrote: > > config ACPI_CONTAINER has been changed to bool (y/n), and its > > module option is no longer valid. So, remove the use of > > CONFIG_ACPI_CONTAINER_MODULE. > > > >

Re: linux-next: build failure after merge of the final tree (acpi tree related)

2013-02-11 Thread Len Brown
On 02/11/2013 02:34 AM, Stephen Rothwell wrote: > Hi all, > > After merging the final tree, today's linux-next build (sparc64 defconfig) > failed like this: > > arch/sparc/include/asm/processor.h: Assembler messages: > arch/sparc/include/asm/processor.h:10: Error: Unknown opcode: `extern' > >

Re: [PATCH] of: Fix locking when calling of_get_next_available_child()

2013-02-11 Thread Stephen Warren
On 02/11/2013 03:19 PM, Grant Likely wrote: > of_get_next_available_child() obtains the devtree_lock and then calls > of_device_is_available() which also attempts to claim the lock. This is > obviously incorrect and causes a deadlock on boot. Fix issue by adding > an variant of

Re: [PATCH] lib: memcmp_nta: add timing-attack secure memcmp

2013-02-11 Thread Daniel Borkmann
On 02/11/2013 08:00 PM, Florian Weimer wrote: > * Daniel Borkmann: Thanks for your feedback, Florian! >> + * memcmp_nta - memcmp that is secure against timing attacks > > It's not providing an ordering, so it should not have "cmp" in the > name. I agree. What would you suggest? Probably, it

Re: kvmtool tree (Was: Re: [patch] config: fix make kvmconfig)

2013-02-11 Thread Linus Torvalds
On Mon, Feb 11, 2013 at 9:58 AM, Ingo Molnar wrote: > > So basically Pekka optimistically thought it's an eventual 'tit > for tat', a constant stream of benefits to the kernel, in the > hope of finding a home in the upstream kernel which would > further help both projects. The kernel wants to

Re: linux-next: manual merge of the acpi tree with the pm tree

2013-02-11 Thread Len Brown
On 02/10/2013 08:58 PM, Stephen Rothwell wrote: > Hi Len, > > Today's linux-next merge of the acpi tree got a conflict in > drivers/acpi/processor_idle.c between commit 4f8429166818 ("ACPICA: > Cleanup PM_TIMER_FREQUENCY definition") from the pm tree and commit > 41cdb0efc42e ("ACPI / idle:

Re: [PATCH 1/6] idr: fix top layer handling

2013-02-11 Thread Andrew Morton
On Fri, 8 Feb 2013 13:00:50 -0800 Tejun Heo wrote: > Most functions in idr fail to deal with the high bits when the idr > tree grows to the maximum height. > > * idr_get_empty_slot() stops growing idr tree once the depth reaches > MAX_IDR_LEVEL - 1, which is one depth shallower than necessary

[PATCH V3 1/2] get_maintainer: allow keywords to match filenames

2013-02-11 Thread Stephen Warren
From: Stephen Warren Allow K: entries in MAINTAINERS to match directly against filenames; either those extracted from patch +++ or --- lines, or those specified on the command-line using the -f option. This potentially allows fewer lines in a MAINTAINERS entry, if all the relevant files are

[PATCH V3 2/2] MAINTAINERS: update Tegra section to capture all Tegra files

2013-02-11 Thread Stephen Warren
From: Stephen Warren The intent is to ensure that all Tegra-related patches are sent to the linux-tegra@ mailing list, so people can keep up-to-date on all misc driver changes. Doing this with a keyword is far simpler and more compact than listing all Tegra-related drivers, even if wildcards

Re: [PATCH 2/2] vfio powerpc: implemented IOMMU driver for VFIO

2013-02-11 Thread Alexey Kardashevskiy
On 12/02/13 09:17, Alex Williamson wrote: On Mon, 2013-02-11 at 22:54 +1100, Alexey Kardashevskiy wrote: VFIO implements platform independent stuff such as a PCI driver, BAR access (via read/write on a file descriptor or direct mapping when possible) and IRQ signaling. The platform dependent

Re: [patch 10/40] sched: Convert to state machine callbacks

2013-02-11 Thread Paul E. McKenney
On Thu, Jan 31, 2013 at 12:11:19PM -, Thomas Gleixner wrote: > The scheduler sports quite a bunch of hotplug notifiers. One reason > for multiple notifiers is the fact, that the startup and teardown > process are asymetric. Now the scheduler wants to be called early on > startup and late on

Re: [PATCH 14/16] intel_idle: remove use and definition of MWAIT_MAX_NUM_CSTATES

2013-02-11 Thread Len Brown
On 02/11/2013 03:53 AM, Daniel Lezcano wrote: > On 02/09/2013 02:08 AM, Len Brown wrote: >> The reason to change is that intel_idle will soon be able >> to export more than the 8 "major" states supported by MWAIT. >> When we hit that limit, it is important to know >> where the limit comes from. >

Fwd: Xonar DG pci sound card driver incomplete

2013-02-11 Thread kernel kernel
Requesting guidance on how to implement the missing mic input support for this Asus Xonar card. I've downloaded the relevant datasheets but am unsure how to proceed. I have physical access to this hardware. I would appreciate a description of a workflow towards finishing this driver or any other

Re: [PATCH 1/2] ACPI / scan: Make acpi_bus_hot_remove_device() acquire the scan lock

2013-02-11 Thread Toshi Kani
On Sat, 2013-02-09 at 15:29 +0100, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The ACPI scan lock has been introduced to prevent acpi_bus_scan() > and acpi_bus_trim() from running in parallel with each other for > overlapping ACPI namespace scopes. However, it is not sufficient > to

Re: [v2 3/3] ARM: tegra: Unify Device tree board files

2013-02-11 Thread Stephen Warren
On 02/10/2013 11:05 PM, Hiroshi Doyu wrote: > Unify board-dt-tegra{30,114} to the Tegra20 DT board file, "tegra.c". > diff --git a/arch/arm/mach-tegra/Makefile b/arch/arm/mach-tegra/Makefile > obj-$(CONFIG_CPU_FREQ) += cpu-tegra.o > obj-$(CONFIG_TEGRA_PCI)

Re: Odd ENOMEM being returned in 3.8-rcX

2013-02-11 Thread Andrew Morton
On Fri, 08 Feb 2013 12:13:09 -0800 ebied...@xmission.com (Eric W. Biederman) wrote: > If mock has called unshare(CLONE_NEWPID). And then forked a process and > that process exited, and then forked anothe process that second and all > subsequent fork calls will fail with -ENOMEM (because init has

Re: [PATCH V3 1/2] get_maintainer: allow keywords to match filenames

2013-02-11 Thread Joe Perches
On Mon, 2013-02-11 at 16:40 -0700, Stephen Warren wrote: > From: Stephen Warren > > Allow K: entries in MAINTAINERS to match directly against filenames; > either those extracted from patch +++ or --- lines, or those specified > on the command-line using the -f option. [] > I don't think setting

Re: [PATCH 1/2] vfio powerpc: enabled on powernv platform

2013-02-11 Thread Alex Williamson
On Tue, 2013-02-12 at 10:19 +1100, Alexey Kardashevskiy wrote: > On 12/02/13 09:16, Alex Williamson wrote: > > On Mon, 2013-02-11 at 22:54 +1100, Alexey Kardashevskiy wrote: > >> @@ -707,11 +709,39 @@ struct iommu_table *iommu_init_table(struct > >> iommu_table *tbl, int nid) > >>return tbl;

Re: [patch 32/40] rcu: Convert rcutree to hotplug state machine

2013-02-11 Thread Paul E. McKenney
On Thu, Jan 31, 2013 at 12:11:38PM -, Thomas Gleixner wrote: > Do we really need so many states here ? Well, all that RCU does for CPU_DYING is to do tracing, which could be ditched. Required changes called out inline below. All that the CPU_ONLINE and CPU_DOWN_PREPARE notifiers do is set

Re: [PATCH V3 2/2] MAINTAINERS: update Tegra section to capture all Tegra files

2013-02-11 Thread Joe Perches
On Mon, 2013-02-11 at 16:40 -0700, Stephen Warren wrote: > From: Stephen Warren > > The intent is to ensure that all Tegra-related patches are sent to the > linux-tegra@ mailing list, so people can keep up-to-date on all misc > driver changes. > > Doing this with a keyword is far simpler and

Re: [Bisected] [-next-20130204] usb/hcd: irq 18: nobody cared

2013-02-11 Thread Yinghai Lu
On Mon, Feb 11, 2013 at 2:41 PM, Bjorn Helgaas wrote: > [+cc linux-acpi, linux-pci] > > The _PRT describes motherboard interrupt wiring, which has nothing to > do with PCI bus numbers. Our current drivers/acpi/pci_irq.c caches > the PCI bus number along with the _PRT, and I think that's a

Re: [PATCH V3 1/2] get_maintainer: allow keywords to match filenames

2013-02-11 Thread Stephen Warren
On 02/11/2013 05:00 PM, Joe Perches wrote: > On Mon, 2013-02-11 at 16:40 -0700, Stephen Warren wrote: >> From: Stephen Warren >> >> Allow K: entries in MAINTAINERS to match directly against filenames; >> either those extracted from patch +++ or --- lines, or those specified >> on the command-line

Re: [PATCH] pstore: Create a convenient mount point for pstore

2013-02-11 Thread Kees Cook
On Mon, Feb 11, 2013 at 3:15 PM, Josh Boyer wrote: > Using /dev/pstore as a mount point for the pstore filesystem is slightly > awkward. We don't normally mount filesystems in /dev/ and the /dev/pstore > file isn't created automatically by anything. While this method will > still work, we can

Re: Improving AIO cancellation

2013-02-11 Thread Anatol Pomozov
Hi On Fri, Feb 8, 2013 at 1:11 PM, Kent Overstreet wrote: > On Fri, Feb 08, 2013 at 09:38:11AM -0800, Zach Brown wrote: >> > The draft implementation will look like this. struct bio should have >> > some way to get current status of kiocb that generated bio. So we add >> > a pointer to bool

Re: [PATCH V3 1/2] get_maintainer: allow keywords to match filenames

2013-02-11 Thread Joe Perches
On Mon, 2013-02-11 at 17:08 -0700, Stephen Warren wrote: > Does "that" above mean "not setting exact_pattern_match_hash", or > "changing the patch so that it does set exact_pattern_match_hash". Sorry... I think what you have is fine. -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH 2/2] vfio powerpc: implemented IOMMU driver for VFIO

2013-02-11 Thread Alex Williamson
On Tue, 2013-02-12 at 10:45 +1100, Alexey Kardashevskiy wrote: > On 12/02/13 09:17, Alex Williamson wrote: > > On Mon, 2013-02-11 at 22:54 +1100, Alexey Kardashevskiy wrote: > >> VFIO implements platform independent stuff such as > >> a PCI driver, BAR access (via read/write on a file descriptor >

Re: [PATCH] drivers/block/xsysace - replace in(out)_8/in(out)_be16/in(out)_le16 with generic iowrite(read)8/16(be)

2013-02-11 Thread Benjamin Herrenschmidt
On Mon, 2013-02-11 at 16:57 +0100, Michal Simek wrote: > But it reminds me that maybe the easiest solution is not to use endian > accessors just use two simple macros which should work on all systems. > > #define _readreg(offset) ({__raw_readl(offset); rmb(); }) > #define

Re: [PATCH] drivers/block/xsysace - replace in(out)_8/in(out)_be16/in(out)_le16 with generic iowrite(read)8/16(be)

2013-02-11 Thread Benjamin Herrenschmidt
On Mon, 2013-02-11 at 16:08 +, Arnd Bergmann wrote: > I tend to disagree. You should never assume that a device is the same > endianess as the the CPU, and you should try not to use the __raw_* > accessors in device drivers either. > > In particular, ARM can run both big- and little-endian

Re: [PATCH v2 0/7] pci/e1000e: return runtime-pm back to work

2013-02-11 Thread Bjorn Helgaas
On Mon, Feb 4, 2013 at 1:23 PM, Rafael J. Wysocki wrote: > On Monday, February 04, 2013 03:55:47 PM Konstantin Khlebnikov wrote: >> This patchset contains some fixes for e1000e diver (broken since v2.6.35) >> and some related fixes and useful debug for PCI code. >> >> All together this fixes my

[PATCH V4 1/2] get_maintainer: allow keywords to match filenames

2013-02-11 Thread Stephen Warren
From: Stephen Warren Allow K: entries in MAINTAINERS to match directly against filenames; either those extracted from patch +++ or --- lines, or those specified on the command-line using the -f option. This potentially allows fewer lines in a MAINTAINERS entry, if all the relevant files are

[PATCH V4 2/2] MAINTAINERS: update Tegra section to capture all Tegra files

2013-02-11 Thread Stephen Warren
From: Stephen Warren The intent is to ensure that all Tegra-related patches are sent to the linux-tegra@ mailing list, so people can keep up-to-date on all misc driver changes. Doing this with a keyword is far simpler and more compact than listing all Tegra-related drivers, even if wildcards

Re: [regression] external HDD in USB3 enclosure cannot be dynamically removed (Re: Linux 3.7.5)

2013-02-11 Thread Sarah Sharp
Hi Holger, Can you turn on CONFIG_USB_DEBUG and CONFIG_USB_XHCI_HCD_DEBUGGING, recompile the 3.7.5 kernel, and send me dmesg starting from the point you unmount the device and then power it off? I'd like to keep that patch in stable, but I need to understand what exactly is failing with it.

Re: [PATCH v2 0/7] pci/e1000e: return runtime-pm back to work

2013-02-11 Thread Bjorn Helgaas
On Mon, Feb 11, 2013 at 5:34 PM, Bjorn Helgaas wrote: > On Mon, Feb 4, 2013 at 1:23 PM, Rafael J. Wysocki wrote: >> On Monday, February 04, 2013 03:55:47 PM Konstantin Khlebnikov wrote: >>> This patchset contains some fixes for e1000e diver (broken since v2.6.35) >>> and some related fixes and

[PATCH] atl1c: add error checking for pci_map_single functions

2013-02-11 Thread xiong
it is reported that code hit DMA-API errors on 3.8-rc6+, (see https://bugzilla.redhat.com/show_bug.cgi?id=908436, and https://bugzilla.redhat.com/show_bug.cgi?id=908550) this patch just adds error handler for pci_map_single and skb_frag_dma_map. Signed-off-by: xiong ---

[PATCH v3 1/2] i2c-core: dt: Pick i2c bus number from i2c alias if present

2013-02-11 Thread Doug Anderson
This allows you to get the equivalent functionality of i2c_add_numbered_adapter() with all data in the device tree and no special case code in your driver. This is a common device tree technique. For quick reference, the FDT syntax for using an alias to provide an ID looks like: aliases {

[PATCH v3 2/2] i2c: pxa: Use i2c-core to get bus number now

2013-02-11 Thread Doug Anderson
The commit: "i2c-core: dt: Pick i2c bus number from i2c alias if present" adds support for automatically picking the bus number based on the alias ID. Remove the now unnecessary code from i2c-pxa that did the same thing. Signed-off-by: Doug Anderson --- Changes in v3: None Changes in v2: - No

Re: [PATCH v2 1/2] i2c-core: dt: Pick i2c bus number from i2c alias if present

2013-02-11 Thread Doug Anderson
Wolfram, Thanks for the review. New patch was just sent. :) On Sun, Feb 10, 2013 at 4:19 AM, Wolfram Sang wrote: >> +static int i2c_get_number_from_dt(struct i2c_adapter *adap) > > i2c_get_id_from_dt()? Done. >> + if (!dev->of_node) >> + return -1; > > -ESOMETHING?

Re: [BUG] irq_dispose_mapping after irq request failure

2013-02-11 Thread Benjamin Herrenschmidt
On Mon, 2013-02-11 at 20:52 +, Grant Likely wrote: > Really the irq mappings should be using reference counting. The existing > code is naive on this count and just releases the irq on the first call > to irq_dispose_mapping(). I've not gotten around to fixing that. Anyone > want to take that

[PATCH v3 0/2] Add automatic bus number support for i2c busses with device tree

2013-02-11 Thread Doug Anderson
This was suggested by Mark Brown in response to a patch for adding this functionality only for the s3c2410 bus: https://lkml.org/lkml/2012/11/20/681 I have also modified the i2c-pxa driver to use this new functionality. The i2c-pxa driver changes have only been compile-tested and are just for

[PATCH][WIP] dio rewrite

2013-02-11 Thread Kent Overstreet
I finally started hacking on the dio code, and it's far from done but it's turning out better than I expected so I thought I'd show off what I've got so far. The end result is _vastly_ simpler - direct-io.c is now ~700 lines, vs. ~1300 previously. dio_submit is almost gone, I'm down to 4 things

Re: [regression] external HDD in USB3 enclosure cannot be dynamically removed (Re: Linux 3.7.5)

2013-02-11 Thread Jonathan Nieder
Sarah Sharp wrote: > Can you turn on CONFIG_USB_DEBUG and CONFIG_USB_XHCI_HCD_DEBUGGING, > recompile the 3.7.5 kernel, and send me dmesg starting from the point > you unmount the device and then power it off? > > I'd like to keep that patch in stable, but I need to understand what > exactly is

linux-next: manual merge of the net-next tree with the net tree

2013-02-11 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c between commit 0aba93e2b9fb ("bnx2x: set gso_type") from the net tree and commit cbf1de72324a ("bnx2x: fix GRO parameters") from the net-next tree. I fixed it up (since the

<    6   7   8   9   10   11   12   >