Re: [PATCH] pci: Account for virtual buses in pci_acs_path_enabled

2012-08-05 Thread Alex Williamson
On Sun, 2012-08-05 at 23:30 -0600, Bjorn Helgaas wrote: > On Sat, Aug 4, 2012 at 12:19 PM, Alex Williamson > wrote: > > It's possible to have buses without an associated bridge > > (bus->self == NULL). SR-IOV can generate such buses. When > > we find these, skip to the parent bus to look for

Re: [GPIO] Crashed when not using

2012-08-05 Thread Shilimkar, Santosh
On Tue, Jul 31, 2012 at 6:26 PM, Poddar, Sourav wrote: > Hi Santosh, > > On Tue, Jul 31, 2012 at 6:02 PM, Shilimkar, Santosh > wrote: >> On Tue, Jul 31, 2012 at 8:52 AM, Felipe Balbi wrote: >>> >>> Hi, >>> >>> On Tue, Jul 31, 2012 at 10:23:16AM +0530, Poddar, Sourav wrote: >>> > The device

Re: [PATCH] pci: Account for virtual buses in pci_acs_path_enabled

2012-08-05 Thread Bjorn Helgaas
On Sat, Aug 4, 2012 at 12:19 PM, Alex Williamson wrote: > It's possible to have buses without an associated bridge > (bus->self == NULL). SR-IOV can generate such buses. When > we find these, skip to the parent bus to look for the next > ACS test. To make sure I understand the problem here, I

Re: [PATCH v3 1/2] lis3: add generic DT matching code

2012-08-05 Thread Daniel Mack
On 06.08.2012 06:52, Rob Herring wrote: > On 08/05/2012 11:18 AM, Daniel Mack wrote: >> Ping, anyone? >> >> On 30.07.2012 09:36, Daniel Mack wrote: >>> This patch adds logic to parse lis3 properties from a device tree node >>> and store them in a freshly allocated lis3lv02d_platform_data. >>> >>>

Re: [PATCH] Extcon: adc_jack: adc-jack driver to support 3.5 pi or simliar devices

2012-08-05 Thread MyungJoo Ham
> From: anish kumar > > External connector devices that decides connection information based on > ADC values may use adc-jack device driver. The user simply needs to > provide a table of adc range and connection states. Then, extcon > framework will automatically notify others. > >

Re: [PATCH v2] gpio: Add Avionic Design N-bit GPIO expander support

2012-08-05 Thread Thierry Reding
On Sun, Aug 05, 2012 at 12:50:54PM +0200, Linus Walleij wrote: > On Mon, Jul 30, 2012 at 9:47 AM, Thierry Reding > wrote: > > On Sun, Jul 29, 2012 at 07:13:57PM +0200, Linus Walleij wrote: > >> On Mon, Jul 23, 2012 at 1:59 PM, Thierry Reding > >> wrote: > > >> > +- interrupt-controller: Marks

[PATCH 3/3] perf/x86: Add Intel Westmere-EX uncore support

2012-08-05 Thread Yan, Zheng
From: "Yan, Zheng" The Westmere-EX uncore is similar to the Nehalem-EX uncore. The differences are: - Westmere-EX uncore has 10 instances of Cbox. The MSRs for Cbox8 and Cbox9 in the Westmere-EX aren't contiguous with Cbox 0~7. - The fvid field in the ZDP_CTL_FVC register in the Mbox is

[PATCH 2/3] perf/x86: Fixes for Nehalem-EX uncore driver

2012-08-05 Thread Yan, Zheng
From: "Yan, Zheng" This patch includes following fixes and update: - Only some events in the Sbox and Mbox can use the match/mask registers, add code to check this. - The format definitions for xbr_mm_cfg and xbr_match registers in the Rbox are wrong, xbr_mm_cfg should use 32 bits,

[PATCH 1/3] perf/x86: Fix section mismatch in uncore_types_exit()

2012-08-05 Thread Yan, Zheng
From: "Yan, Zheng" Fix section mismatch in uncore_types_exit(): WARNING: vmlinux.o(.text+0x13831): Section mismatch in reference from the function uncore_types_exit() to the function .init.text:uncore_type_exit() Signed-off-by: Yan, Zheng --- arch/x86/kernel/cpu/perf_event_intel_uncore.c | 2

how to implement platform specific per process parameter?

2012-08-05 Thread Alexey Kardashevskiy
Hi! There is a per core register on modern POWER processors (POWER6+) called "DSCR": The DSCR (aka Data Stream Control Register) is supported on some server PowerPC chips and allow some control over the prefetch of data streams. Its "per process" support has been added by

Re: linux-next: build failure after merge of the akpm tree

2012-08-05 Thread Michel Lespinasse
gfs2 calls RB_EMPTY_NODE() to check if nodes are not on an rbtree. The corresponding initialization function is RB_CLEAR_NODE(). rb_init_node() was never clearly defined and is going away. Signed-off-by: Michel Lespinasse --- fs/gfs2/rgrp.c |5 ++--- 1 files changed, 2 insertions(+), 3

Re: linux-next: build failure after merge of the akpm tree

2012-08-05 Thread Michel Lespinasse
On Sun, Aug 5, 2012 at 8:43 PM, Stephen Rothwell wrote: > Caused by commit 5599fe1ab023 ("rbtree: empty nodes have no color") from > the akpm tree interacting with commit cde7c325077b ("GFS2: Add structure > to contain rgrp, bitmap, offset tuple") from the gfs2 tree. > > I have applied the

Re: [PATCH 1/3] backlight: da9052: Use usleep_range() instead of msleep() for small sleeps

2012-08-05 Thread Jingoo Han
On Monday, August 06, 2012 1:48 PM Sachin Kamat wrote: > > Hi Jingoo, > > On 6 August 2012 10:13, Jingoo Han wrote: > > Since msleep might not sleep for the desired amount when less > > than 20ms, use usleep_range. > > > > Cc: Ashish Jangam > > Cc: Richard Purdie > > Signed-off-by: Jingoo Han

[PATCH] Extcon: adc_jack: adc-jack driver to support 3.5 pi or simliar devices

2012-08-05 Thread anish kumar
From: anish kumar External connector devices that decides connection information based on ADC values may use adc-jack device driver. The user simply needs to provide a table of adc range and connection states. Then, extcon framework will automatically notify others. Signed-off-by: anish kumar

Re: [PATCH v3 1/2] lis3: add generic DT matching code

2012-08-05 Thread Rob Herring
On 08/05/2012 11:18 AM, Daniel Mack wrote: > Ping, anyone? > > On 30.07.2012 09:36, Daniel Mack wrote: >> This patch adds logic to parse lis3 properties from a device tree node >> and store them in a freshly allocated lis3lv02d_platform_data. >> >> Note that the actual match tables are left out

Re: [RFC PATCH 3/5] drm/i915: register LVDS connector even if we can't get a panel mode

2012-08-05 Thread Seth Forshee
On Sun, Aug 05, 2012 at 07:20:31PM -0400, Alex Deucher wrote: > On Sun, Aug 5, 2012 at 5:44 PM, Dave Airlie wrote: > > On Mon, Aug 6, 2012 at 7:40 AM, Daniel Vetter wrote: > >> On Sun, Aug 05, 2012 at 10:18:38PM +0100, Matthew Garrett wrote: > >>> On Sun, Aug 05, 2012 at 11:14:12PM +0200, Daniel

Re: [PATCH] pci: Account for virtual buses in pci_acs_path_enabled

2012-08-05 Thread David Ahern
On 8/4/12 12:19 PM, Alex Williamson wrote: It's possible to have buses without an associated bridge (bus->self == NULL). SR-IOV can generate such buses. When we find these, skip to the parent bus to look for the next ACS test. Signed-off-by: Alex Williamson --- David Ahern reported an oops

Re: [PATCH 1/2] intel-iommu: Fix ACS path checking

2012-08-05 Thread David Ahern
On 8/4/12 12:08 PM, Alex Williamson wrote: SR-IOV can create buses without a bridge. There may be other cases where this happens as well. In these cases skip to the parent bus and continue testing devices there. Signed-off-by: Alex Williamson Tested-by: David Ahern -- To unsubscribe from

Re: [RFC][PATCH] Reset PCIe devices to address DMA problem on kdump with iommu

2012-08-05 Thread Takao Indoh
Hi Don, (2012/08/06 13:09), Don Dutile wrote: > On 08/03/2012 07:24 AM, Takao Indoh wrote: >> Hi all, >> >> This patch adds kernel parameter "reset_pcie_devices" which resets PCIe >> devices at boot time to address DMA problem on kdump with iommu. When >> this parameter is specified, a hot reset

[PATCH 3/4] perf tools: Support minimal build without libelf

2012-08-05 Thread Namhyung Kim
From: Namhyung Kim Now we have isolated all ELF-specific stuff, it's possible to build without libelf. The output binary can do most of jobs but lacks (user level) symbol information - kernel symbols are still accessable thanks to the kallsyms. To build perf without libelf (elfutils), give

[PATCH 1/4] perf symbols: Introduce symbol__elf_init()

2012-08-05 Thread Namhyung Kim
From: Namhyung Kim The symbol__elf_init() is for initializing internal libelf data structure and getting rid of its dependency outside of ELF/symboling handling code. Signed-off-by: Namhyung Kim --- tools/perf/builtin-buildid-list.c | 4 +--- tools/perf/util/symbol.c | 8 +++-

[PATCHSET 0/4] perf tools: Minimal build without libelf dependency (v4)

2012-08-05 Thread Namhyung Kim
Hi, This is my forth version of the series. Please consider applying. :) v4: * rebase on current tip/perf/core v3: * drop already merged (cross-build related) patches * drop SYMBIND_* change (Arnaldo) v2: * change make option name to NO_LIBELF * make it default when libelf doesn't exist

Re: [PATCH 0/4] promote zcache from staging

2012-08-05 Thread Minchan Kim
On Tue, Jul 31, 2012 at 11:36:04AM -0400, Konrad Rzeszutek Wilk wrote: > On Sun, Jul 29, 2012 at 10:54:28AM +0900, Minchan Kim wrote: > > On Fri, Jul 27, 2012 at 02:42:14PM -0700, Dan Magenheimer wrote: > > > > From: Konrad Rzeszutek Wilk [mailto:kon...@darnok.org] > > > > Sent: Friday, July 27,

Re: [PATCH 1/3] backlight: da9052: Use usleep_range() instead of msleep() for small sleeps

2012-08-05 Thread Sachin Kamat
Hi Jingoo, On 6 August 2012 10:13, Jingoo Han wrote: > Since msleep might not sleep for the desired amount when less > than 20ms, use usleep_range. > > Cc: Ashish Jangam > Cc: Richard Purdie > Signed-off-by: Jingoo Han > --- > drivers/video/backlight/da9052_bl.c |2 +- > 1 files changed,

[PATCH 2/4] perf tools: Split out util/symbol-elf.c

2012-08-05 Thread Namhyung Kim
From: Namhyung Kim Factor out the dependency of ELF handling into separate symbol-elf.c file. It is a preparation of building a minimalistic version perf tools which doesn't depend on the elfutils. Signed-off-by: Namhyung Kim --- tools/perf/Makefile | 1 + tools/perf/util/map.c

[PATCH 4/4] perf symbols: Implement poor man's ELF parser

2012-08-05 Thread Namhyung Kim
From: Namhyung Kim Implement a minimal elf parser for getting build-id. It assumes that required elf.h header is provided by libc header on the system and the parser only looks for PT_NOTE program header to check build-id. Signed-off-by: Namhyung Kim --- tools/perf/util/symbol-minimal.c |

[PATCH 3/3] backlight: kb3886: Use usleep_range() instead of msleep() for small sleeps

2012-08-05 Thread Jingoo Han
Since msleep might not sleep for the desired amount when less than 20ms, use usleep_range. Cc: Claudio Nieder Cc: Richard Purdie Signed-off-by: Jingoo Han --- drivers/video/backlight/kb3886_bl.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 2/3] backlight: ltv350qv: Use usleep_range() instead of msleep() for small sleeps

2012-08-05 Thread Jingoo Han
Since msleep might not sleep for the desired amount when less than 20ms, use usleep_range. Cc: Haavard Skinnemoen Cc: Richard Purdie Signed-off-by: Jingoo Han --- drivers/video/backlight/ltv350qv.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 1/3] backlight: da9052: Use usleep_range() instead of msleep() for small sleeps

2012-08-05 Thread Jingoo Han
Since msleep might not sleep for the desired amount when less than 20ms, use usleep_range. Cc: Ashish Jangam Cc: Richard Purdie Signed-off-by: Jingoo Han --- drivers/video/backlight/da9052_bl.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

Re: [RFC][PATCH] Reset PCIe devices to address DMA problem on kdump with iommu

2012-08-05 Thread Takao Indoh
Hi Vivek, (2012/08/03 20:46), Vivek Goyal wrote: > On Fri, Aug 03, 2012 at 08:24:31PM +0900, Takao Indoh wrote: >> Hi all, >> >> This patch adds kernel parameter "reset_pcie_devices" which resets PCIe >> devices at boot time to address DMA problem on kdump with iommu. When >> this parameter is

Re: i915 regression on 3.6-rc1: lid blanks screen

2012-08-05 Thread Hugh Dickins
On Sun, 5 Aug 2012, Takashi Iwai wrote: > At Sat, 4 Aug 2012 10:01:13 -0700 (PDT), > Hugh Dickins wrote: > > > > Sorry to report that with 3.6-rc1, closing and opening the lid on > > this ThinkPad T420s leaves the screen blank, and I have to reboot. > > > > I understand there's also an nVidia

Re: [PATCH 03/18] perf target: Fix check on buffer size

2012-08-05 Thread Namhyung Kim
Hi, David On Sun, 05 Aug 2012 22:14:42 -0600, David Ahern wrote: > On 8/5/12 9:53 PM, Namhyung Kim wrote: >> >> I think this should go to the urgent branch too as the offending patch >> seemed to go to the mainline already. >> > > It was picked up by Ingo today and included in his pull request

[PATCH] gpu/mfd/usb: Fix USB randconfig problems

2012-08-05 Thread Guenter Roeck
Fix config warning: warning: ( ... && DRM_USB) selects USB which has unmet direct dependencies (USB_SUPPORT && USB_ARCH_HAS_HCD) by adding the missing dependency on USB_ARCH_HAS_HCD to DRM_UDL and DRM_USB. This exposes: drivers/video/Kconfig:36:error: recursive dependency detected!

[PATCH] [media] Add USB dependency for IguanaWorks USB IR Transceiver

2012-08-05 Thread Guenter Roeck
This patch fixes the error drivers/usb/core/hub.c:3753: undefined reference to `usb_speed_string' seen in various random configurations. Cc: Sean Young Cc: Mauro Carvalho Chehab Signed-off-by: Guenter Roeck --- drivers/media/rc/Kconfig |1 + 1 file changed, 1 insertion(+) diff

Re: [PATCH 03/18] perf target: Fix check on buffer size

2012-08-05 Thread David Ahern
On 8/5/12 9:53 PM, Namhyung Kim wrote: I think this should go to the urgent branch too as the offending patch seemed to go to the mainline already. It was picked up by Ingo today and included in his pull request sent to Linus. David -- To unsubscribe from this list: send the line

Re: [RFC][PATCH] Reset PCIe devices to address DMA problem on kdump with iommu

2012-08-05 Thread Don Dutile
On 08/03/2012 07:24 AM, Takao Indoh wrote: > Hi all, > > This patch adds kernel parameter "reset_pcie_devices" which resets PCIe > devices at boot time to address DMA problem on kdump with iommu. When > this parameter is specified, a hot reset is triggered on each PCIe root > port and downstream

linux-next: Tree for Aug 6

2012-08-05 Thread Stephen Rothwell
Hi all, OK, so the merge window is closed. Time to clean up your trees and then start adding new stuff to them. Changes since 20120803: The cifs tree gained a build failure so I used the version from next-20120803. The acpi tree lost its build failure. The rr tree gained a conflict against

Re: [PATCH 03/18] perf target: Fix check on buffer size

2012-08-05 Thread Namhyung Kim
Hi, Arnaldo On Fri, 3 Aug 2012 17:17:03 +0300, Kirill A. Shutemov wrote: > On Fri, Aug 03, 2012 at 11:00:55AM -0300, Arnaldo Carvalho de Melo wrote: >> From: Namhyung Kim >> >> It was a mistake just replace assert to BUG_ON since its condition >> should be negated. Fix it. >> >> Signed-off-by:

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

2012-08-05 Thread Stephen Rothwell
Hi Andrew, After merging the akpm tree, today's linux-next build (x86_64 allmodconfig) failed like this: fs/gfs2/rgrp.c: In function 'gfs2_rs_alloc': fs/gfs2/rgrp.c:456:2: error: implicit declaration of function 'rb_init_node' [-Werror=implicit-function-declaration] Caused by commit

Re: [PATCH TRIVIAL] mm: Fix build warning in kmem_cache_create()

2012-08-05 Thread Shuah Khan
On Mon, 2012-07-30 at 13:18 +0300, Pekka Enberg wrote: > On Sat, Jul 14, 2012 at 2:12 AM, Shuah Khan wrote: > > The label oops is used in CONFIG_DEBUG_VM ifdef block and is defined > > outside ifdef CONFIG_DEBUG_VM block. This results in the following > > build warning when built with

RE: [PATCH 5/6] drivers/char/tlclk.c: fix error return code

2012-08-05 Thread Gross, Mark
Acked-by --mark Ps sorry for the outlook munged reply. -Original Message- From: Julia Lawall [mailto:julia.law...@lip6.fr] Sent: Sunday, August 05, 2012 2:53 AM To: Gross, Mark Cc: kernel-janit...@vger.kernel.org; Arnd Bergmann; Greg Kroah-Hartman; linux-kernel@vger.kernel.org; Julia

Re: [PATCH] Documentation/filesystems/porting: Update documentation.

2012-08-05 Thread Rob Landley
On 08/03/2012 12:34 PM, Sachidananda Urs wrote: > ->get_sb() is no longer used, update documentation to use ->mount(). Also > added > a example for struct file_system_type. > > Signed-off-by: Sachidananda Urs Acked-by: Rob Landley (Yesterday at Texas Linuxfest I _finally_ got some of the

RE: [PATCH 1/1]hid:hid-multitouch: add mt_resume for ELAN's production

2012-08-05 Thread 劉嘉駿
Mode change to 0644. From: Scott Liu Signed-off-by: Scott Liu --- 0 files changed mode change 100755 => 100644 drivers/hid/hid-ids.h mode change 100755 => 100644 drivers/hid/hid-multitouch.c diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h old mode 100755 new mode 100644 diff

linux-next: manual merge of the signal tree with the rcu tree

2012-08-05 Thread Stephen Rothwell
Hi Al, Today's linux-next merge of the signal tree got a conflict in arch/x86/kernel/signal.c between commit 1ea856be75ce ("x86: Exit RCU extended QS on notify resume") from the rcu tree and commit 02bf6b04fcd5 ("x86: switch uses of TIF_IRET to TIF_NOTIFY_RESUME, kill TIF_IRET") from the signal

Re: [PATCH 4/5] [RFC][HACK] Add LRU_VOLATILE support to the VM

2012-08-05 Thread Minchan Kim
Hi John, On Fri, Jul 27, 2012 at 11:57:11PM -0400, John Stultz wrote: > In an attempt to push the volatile range managment even > deeper into the VM code, this is my first attempt at > implementing Minchan's idea of a LRU_VOLATILE list in > the mm core. > > This list sits along side the

Re: [PATCH] Extcon: adc_jack: adc-jack driver to support 3.5 pi or simliar devices

2012-08-05 Thread anish kumar
On Mon, 2012-08-06 at 02:15 +, 함명주 wrote: > > From: anish kumar > > > > External connector devices that decides connection information based on > > ADC values may use adc-jack device driver. The user simply needs to > > provide a table of adc range and connection states. Then, extcon > >

Re: [PATCH 1/4] x86, CPU: Fixup tlb_flushall_shift formatting

2012-08-05 Thread Alex Shi
On 08/04/2012 12:37 AM, Borislav Petkov wrote: > From: Borislav Petkov > > The TLB characteristics appeared like this in dmesg: > > [0.065817] Last level iTLB entries: 4KB 512, 2MB 1024, 4MB 512 > [0.065817] Last level dTLB entries: 4KB 1024, 2MB 1024, 4MB 512 > [0.065817]

Re: [PATCH 09/22] ARM: LPAE: use 64-bit pgd physical address in switch_mm()

2012-08-05 Thread Nicolas Pitre
On Sun, 5 Aug 2012, Cyril Chemparathy wrote: > On 8/4/2012 3:04 AM, Nicolas Pitre wrote: > > On Tue, 31 Jul 2012, Cyril Chemparathy wrote: > > > > > This patch modifies the switch_mm() processor functions to use 64-bit > > > addresses. We use u64 instead of phys_addr_t, in order to avoid having

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

2012-08-05 Thread Stephen Rothwell
Hi Paul, Today's linux-next merge of the rcu tree got a conflict in include/linux/sched.h between commit 907aed48f65e ("mm: allow PF_MEMALLOC from softirq context") from Linus' tree and commit 46fc4e7c01b7 ("rcu: Switch task's syscall hooks on context switch") from the rcu tree. Just context

linux-next: manual merge of the rcu tree with the rr tree

2012-08-05 Thread Stephen Rothwell
Hi Paul, Today's linux-next merge of the rcu tree got a conflict in arch/Kconfig arch/x86/Kconfig between commit d673c23ca730 ("Make most arch asm/module.h files use asm-generic/module.h") from the rr tree and commits 3dbdfc26e27f ("rcu: Settle config for userspace extended quiescent state") and

Re: [RFC][PATCH v3 1/3] runtime interpreted power sequences

2012-08-05 Thread Alex Courbot
On 08/04/2012 11:12 PM, Mark Brown wrote: On Fri, Aug 03, 2012 at 10:15:46AM +0900, Alex Courbot wrote: On Fri 03 Aug 2012 03:11:12 AM JST, Mark Brown wrote: I missed some of the earlier bits of the thread here but why can't we do device based lookups? That is because the phandles would

Re: [PATCH 04/22] ARM: LPAE: support 64-bit virt/phys patching

2012-08-05 Thread Nicolas Pitre
On Sun, 5 Aug 2012, Cyril Chemparathy wrote: > Hi Nicolas, > > On 8/4/2012 2:49 AM, Nicolas Pitre wrote: > > On Tue, 31 Jul 2012, Cyril Chemparathy wrote: > > > > > This patch adds support for 64-bit physical addresses in virt_to_phys > > > patching. This does not do real 64-bit add/sub, but

Re: DT GPIO numbering?

2012-08-05 Thread Stephen Warren
On 08/05/2012 04:06 AM, Linus Walleij wrote: > On Wed, Aug 1, 2012 at 5:22 PM, Johannes Stezenbach wrote: > >> I'm currently learning how Linux devicetree support works, >> here is one question I couldn't find an answer for. >> >> I understand that within the devicetree GPIOs are referenced by

Re: [PATCH]: Mac80211

2012-08-05 Thread Julian Calaby
Hi Christopher, On Mon, Aug 6, 2012 at 12:02 PM, Christopher Sacchi wrote: > The source file needed a change that was told in the description to > know that the #include needed to be fixed, and the function changed > another value to 0 (yes) in the description (that said FIXME.) This still

Re: [PATCH v2 6/9] rbtree: low level optimizations in rb_erase()

2012-08-05 Thread Rik van Riel
On 08/02/2012 06:34 PM, Michel Lespinasse wrote: Various minor optimizations in rb_erase(): - Avoid multiple loading of node->__rb_parent_color when computing parent and color information (possibly not in close sequence, as there might be further branches in the algorithm) - In the 1-child

Re: [PATCH] Extcon: adc_jack: adc-jack driver to support 3.5 pi or simliar devices

2012-08-05 Thread 함명주
> From: anish kumar > > External connector devices that decides connection information based on > ADC values may use adc-jack device driver. The user simply needs to > provide a table of adc range and connection states. Then, extcon > framework will automatically notify others. > >

Re: [PATCH v2 9/9] rbtree: remove prior augmented rbtree implementation

2012-08-05 Thread Rik van Riel
On 08/02/2012 06:34 PM, Michel Lespinasse wrote: convert arch/x86/mm/pat_rbtree.c to the proposed augmented rbtree api and remove the old augmented rbtree implementation. Signed-off-by: Michel Lespinasse Acked-by: Rik van Riel -- All rights reversed -- To unsubscribe from this list: send

Re: [PATCH v2 8/9] rbtree: faster augmented rbtree manipulation

2012-08-05 Thread Rik van Riel
On 08/02/2012 06:34 PM, Michel Lespinasse wrote: Introduce new augmented rbtree APIs that allow minimal recalculation of augmented node information. A new callback is added to the rbtree insertion and erase rebalancing functions, to be called on each tree rotations. Such rotations preserve the

Re: [PATCH v2 7/9] rbtree: augmented rbtree test

2012-08-05 Thread Rik van Riel
On 08/02/2012 06:34 PM, Michel Lespinasse wrote: Small test to measure the performance of augmented rbtrees. Signed-off-by: Michel Lespinasse Acked-by: Rik van Riel -- All rights reversed -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Oops in loop_clr_fd => bd_set_size

2012-08-05 Thread Alan Curry
I got an Oops from running "losetup -d /dev/loop2". The trace shows loop_clr_fd calling bd_set_size, and the parameter bdev appears to have a NULL in its bd_disk field. The losetup command was run as part of a script that did this: losetup -d /dev/loop5 losetup -d /dev/loop4 losetup -d

Re: [PATCH 0/4] Remove Genesi Efika MX support

2012-08-05 Thread Shawn Guo
On Wed, Aug 01, 2012 at 12:49:27PM -0500, Matt Sealey wrote: > In an effort to start afresh we are removing the "legacy" Efika MX support > from the tree in this patch series so as to break ties with any > non-device-tree > code and minimize the possibility that there are two ways to build for

Re: [PATCH 02/22] ARM: use late patch framework for phys-virt patching

2012-08-05 Thread Nicolas Pitre
On Sun, 5 Aug 2012, Cyril Chemparathy wrote: > Hi Nicolas, > > On 8/4/2012 2:15 AM, Nicolas Pitre wrote: > > On Tue, 31 Jul 2012, Cyril Chemparathy wrote: > > > > > This patch replaces the original physical offset patching implementation > > > with one that uses the newly added patching

linux-next: build failure after merge of the spi-mb tree

2012-08-05 Thread Stephen Rothwell
Hi Mark, After merging the spi-mb tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/spi/spi-gpio.c: In function 'spi_gpio_setup': drivers/spi/spi-gpio.c:255:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] Caused by casting a

[PATCH]: Mac80211

2012-08-05 Thread Christopher Sacchi
The source file needed a change that was told in the description to know that the #include needed to be fixed, and the function changed another value to 0 (yes) in the description (that said FIXME.) Thanks, -- Christopher -- To unsubscribe from this list: send the line "unsubscribe linux-kernel"

Re: [PATCH]: Mac80211 Driver patch

2012-08-05 Thread Randy Dunlap
On 08/05/2012 06:52 PM, Christopher Sacchi wrote: > Patch for Mac80211, and no this is not spam, so do not ignore my > e-mails. This is a patch, so copy this into your favorite text editor > and save it as test.patch. Let the maintainers read and know! By the > way, it is under the first -- line

Re: linux-next: build failure after merge of the cifs tree

2012-08-05 Thread Steve French
On Sun, Aug 5, 2012 at 7:48 PM, Stephen Rothwell wrote: > Hi all, > > After merging the cifs tree, today's linux-next build (powerpc > ppc64_defconfig) failed like this: > > fs/cifs/Kconfig:3: syntax error > fs/Kconfig:244: missing end statement for this entry > > Caused by commit 12f3f9b7c80c

Re: [PATCH]: Mac80211 Driver patch

2012-08-05 Thread Julian Calaby
Hi Christopher, On Mon, Aug 6, 2012 at 11:52 AM, Christopher Sacchi wrote: > Patch for Mac80211, and no this is not spam, so do not ignore my > e-mails. This is a patch, so copy this into your favorite text editor > and save it as test.patch. Let the maintainers read and know! By the > way, it

Re: [PATCH]: With no attatchment NOT SPAM, a REWRITE

2012-08-05 Thread Julian Calaby
Hi Christopher, On Mon, Aug 6, 2012 at 11:01 AM, Christopher Sacchi wrote: > Hey guys, this should work now. I see the changes you made, however you're not going to get them accepted in this format. See Documentation/SubmittingPatches Online here:

[PATCH]: Mac80211 Driver patch

2012-08-05 Thread Christopher Sacchi
Patch for Mac80211, and no this is not spam, so do not ignore my e-mails. This is a patch, so copy this into your favorite text editor and save it as test.patch. Let the maintainers read and know! By the way, it is under the first -- line and to the 2nd to last line. :) -- --- main.c

Re: Emulating level IRQs

2012-08-05 Thread Eric Miao
On Mon, Aug 6, 2012 at 1:56 AM, Daniel Mack wrote: > On 05.08.2012 18:56, Haojian Zhuang wrote: >> On Mon, Aug 6, 2012 at 12:22 AM, Daniel Mack wrote: >>> On 24.07.2012 20:01, Daniel Mack wrote: On 23.07.2012 18:51, Dmitry Torokhov wrote: > On Thu, Jul 19, 2012 at 05:36:12PM +0200,

[PATCH] autofs4 - fix get_next_positive_subdir()

2012-08-05 Thread Ian Kent
From: Ian Kent Following a report of a crash during an automount expire I found that the locking in fs/autofs4/expire.c:get_next_positive_subdir() was wrong. Not only is the locking wrong but the function is more complex than it needs to be. The function is meant to calculate (and dget) the

[BUGFIX -v2 1/4] PCI/PM: enable D3/D3cold by default for most devices

2012-08-05 Thread Huang Ying
This patch fixes the following bug: http://marc.info/?l=linux-usb=134318961120825=2 Originally, device lower power states include D1, D2, D3. After that, D3 is further divided into D3hot and D3cold. To support both scenario safely, original D3 is mapped to D3cold. When adding D3cold support,

[BUGFIX -v2 3/4] PCI/PM: Fix config reg access for D3cold and bridge suspending

2012-08-05 Thread Huang Ying
This patch fixes the following bug: http://marc.info/?l=linux-pci=134338059022620=2 Where lspci does not work properly if a device and the corresponding parent bridge (such as PCIe port) is suspended. This is because the device configuration space registers will be not accessible if the

[PATCH -v2 0/4] PCI/PM: PCI D3cold support fixes for 3.6-rc1

2012-08-05 Thread Huang Ying
Changes: v2: - Change some pm_runtime_put to pm_runtime_put_sync per Alan and Rafael's comments. [BUGFIX -v2 1/4] PCI/PM: enable D3/D3cold by default for most devices [BUGFIX -v2 2/4] PCI/PM: Keep parent bridge active when probing device [BUGFIX -v2 3/4] PCI/PM: Fix config reg access for

[BUGFIX -v2 2/4] PCI/PM: Keep parent bridge active when probing device

2012-08-05 Thread Huang Ying
This patch fixes the following bug: http://marc.info/?l=linux-pci=134329923124234=2 The root cause of the bug is as follow. If a device is not bound with the corresponding driver, the device runtime PM will be disabled and the device will be put into suspended state. So that, the bridge/PCIe

[PATCH -v2 4/4] PCI/PM: Add ABI document for sysfs file d3cold_allowed

2012-08-05 Thread Huang Ying
This patch adds ABI document for the following sysfs file: /sys/bus/pci/devices/.../d3cold_allowed Signed-off-by: Huang Ying Acked-by: Rafael J. Wysocki --- Documentation/ABI/testing/sysfs-bus-pci | 12 1 file changed, 12 insertions(+) ---

Re: [PATCH v2 5/9] rbtree: handle 1-child recoloring in rb_erase() instead of rb_erase_color()

2012-08-05 Thread Rik van Riel
On 08/02/2012 06:34 PM, Michel Lespinasse wrote: An interesting observation for rb_erase() is that when a node has exactly one child, the node must be black and the child must be red. An interesting consequence is that removing such a node can be done by simply replacing it with its child and

linux-next: manual merge of the rr tree with the s390 tree

2012-08-05 Thread Stephen Rothwell
Hi Rusty, Today's linux-next merge of the rr tree got a conflict in arch/s390/Kconfig between commit 867c2dcb369b ("s390/seccomp: add support for system call filtering using BPF") from the s390 tree and commit d673c23ca730 ("Make most arch asm/module.h files use asm-generic/module.h") from the rr

Re: [PATCH 5/6] drivers/video/backlight/da9052_bl.c: drop devm_kfree of devm_kzalloc'd data

2012-08-05 Thread Jingoo Han
On Sunday, August 05, 2012 1:51 AM Julia Lawall wrote: > > From: Julia Lawall > > devm_kfree should not have to be explicitly used. > > The semantic patch that fixes this problem is as follows: > (http://coccinelle.lip6.fr/) > > // > @@ > expression x,d; > @@ > > x = devm_kzalloc(...) > ...

Re: [PATCH v2 4/9] rbtree: place easiest case first in rb_erase()

2012-08-05 Thread Rik van Riel
On 08/02/2012 06:34 PM, Michel Lespinasse wrote: In rb_erase, move the easy case (node to erase has no more than 1 child) first. I feel the code reads easier that way. Signed-off-by: Michel Lespinasse Reviewed-by: Rik van Riel -- All rights reversed -- To unsubscribe from this list: send

Re: [PATCH v2] PM / Sleep: Print name of wakeup source that aborts suspend

2012-08-05 Thread Alan Stern
On Sun, 5 Aug 2012, Rafael J. Wysocki wrote: > > v2 > > use ktime_to_ns() instead of comparisons on .tv64 field What is the reason for this? It apparently adds complexity and code (on non-64-bit systems) to no purpose. Alan Stern -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH] m68k: Correct the Atari ALLOWINT definition

2012-08-05 Thread Ben Hutchings
On Fri, 2012-08-03 at 23:21 +0200, Geert Uytterhoeven wrote: > From: Mikael Pettersson > > commit c663600584a596b5e66258cc10716fb781a5c2c9 upstream. > > Booting a 3.2, 3.3, or 3.4-rc4 kernel on an Atari using the > `nfeth' ethernet device triggers a WARN_ONCE() in generic irq > handling code on

[PATCH]: With no attatchment NOT SPAM, a REWRITE

2012-08-05 Thread Christopher Sacchi
Hey guys, this should work now. -- --- main.c 2012-07-21 20:58:29.0 + +++ mainnew.c 2012-08-05 20:00:37.0 + @@ -32,7 +32,7 @@ #include "led.h" #include "cfg.h" #include "debugfs.h" - +#include "net/rfkill/rfkill.h" static struct lock_class_key

Re: [PATCH v2 3/9] rbtree: add __rb_change_child() helper function

2012-08-05 Thread Rik van Riel
On 08/02/2012 06:34 PM, Michel Lespinasse wrote: Add __rb_change_child() as an inline helper function to replace code that would otherwise be duplicated 4 times in the source. No changes to binary size or speed. Signed-off-by: Michel Lespinasse Reviewed-by: Rik van Riel -- All rights

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

2012-08-05 Thread Stephen Rothwell
Hi all, After merging the cifs tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: fs/cifs/Kconfig:3: syntax error fs/Kconfig:244: missing end statement for this entry fs/Kconfig:5: missing end statement for this entry fs/cifs/Kconfig:2: invalid statement

Re: [PATCH 0/4] promote zcache from staging

2012-08-05 Thread Minchan Kim
Hi Konrad, On Tue, Jul 31, 2012 at 01:51:42PM -0400, Konrad Rzeszutek Wilk wrote: > On Tue, Jul 31, 2012 at 09:19:16AM -0700, Greg Kroah-Hartman wrote: > > On Tue, Jul 31, 2012 at 11:58:43AM -0400, Konrad Rzeszutek Wilk wrote: > > > So in my head I feel that it is Ok to: > > > 1) address the

PROBLEM: New Kernel Patch

2012-08-05 Thread Christopher Sacchi
Here is a new patch that should be tested that fixes a function issue in the description for the Mac80211 driver in tar.bz2 format. Let me know if it works. Thanks, -- Christopher patch-3.5.tar.bz2 Description: BZip2 compressed data

Re: WARNING: at mm/page_alloc.c:4514 free_area_init_node+0x4f/0x37b()

2012-08-05 Thread Minchan Kim
Hi Borislav, On Thu, Aug 02, 2012 at 01:06:41PM +0200, Borislav Petkov wrote: > On Thu, Aug 02, 2012 at 08:33:35AM +0900, Minchan Kim wrote: > > Hello Borislav, > > > > On Wed, Aug 01, 2012 at 07:38:37PM +0200, Borislav Petkov wrote: > > > Hi, > > > > > > I'm hitting the WARN_ON in $Subject

[PATCH 15/15] PM: Do not use the syscore flag for runtime PM

2012-08-05 Thread Rafael J. Wysocki
The syscore device PM flag used to mark the devices (belonging to PM domains) that should never be turned off, except for the system core (syscore) suspend/hibernation and resume stages, need not be accessed by the runtime PM core functions, because all of the devices it is set for need to be

[PATCH 2/15] PM / Domains: Add power off/on function for system core suspend stage

2012-08-05 Thread Rafael J. Wysocki
Introduce function pm_genpd_syscore_switch() and two wrappers around it, pm_genpd_syscore_poweroff() and pm_genpd_syscore_poweron(), allowing the callers to let the generic PM domains framework know that the given device is not necessary any more and its PM domain can be turned off (the former)

[PATCH 4/15] sh: TMU: Introduce clocksource/clock events suspend/resume routines

2012-08-05 Thread Rafael J. Wysocki
Introduce suspend/resume routines for SH TMU clock source and clock event device such that if those devices belong to a PM domain, the generic PM domains framework will be notified that the given domain may be turned off (during system suspend) or that it has to be turned on (during system

[PATCH 0/15] PM: Suspend/resume and runtime PM for clock sources/clock event devices in PM domains

2012-08-05 Thread Rafael J. Wysocki
Hi all, On Sunday, July 29, 2012, Rafael J. Wysocki wrote: > There is a problem with clock sources and clock event devices belonging to PM > domains that they have to be marked as "always on", to prevent those domains > from being turned off unexpectedly, which also prevents the domains from >

[PATCH 3/15] timekeeping: Add suspend and resume of clock event devices

2012-08-05 Thread Rafael J. Wysocki
Some clock event devices, for example such that belong to PM domains, need to be handled in a spcial way during the timekeeping suspend and resume (which takes place in the system core, or "syscore", stages of system power transitions) in analogy with clock sources. Introduce .suspend() and

[PATCH 8/15] PM / Runtime: Allow helpers to be called by early platform drivers

2012-08-05 Thread Rafael J. Wysocki
Runtime PM helper functions, like pm_runtime_get_sync(), cannot be called by early platform device drivers, because the devices' power management locks are not initialized at that time. This is quite inconvenient, so modify early_platform_add_devices() to initialize the devices power management

[PATCH 10/15] PM / Domains: Move syscore flag from subsys data to struct device

2012-08-05 Thread Rafael J. Wysocki
The syscore device PM flag is used to mark the devices (belonging to a PM domain) that should never be turned off, except for the system core (syscore) suspend/hibernation and resume stages. That flag is stored in the device's struct pm_subsys_data object whose address is available from struct

[PATCH 7/15] PM: Reorganize device PM initialization

2012-08-05 Thread Rafael J. Wysocki
Make the device power management initialization more straightforward by moving the initialization of common (i.e. used by both runtime PM and system suspend) fields to a separate routine. Signed-off-by: Rafael J. Wysocki --- drivers/base/power/main.c |7 ++- drivers/base/power/power.h

[PATCH 12/15] sh: TMU: Basic runtime PM support

2012-08-05 Thread Rafael J. Wysocki
Modify the SH TMU clock source/clock event device driver to support runtime PM at a basic level (i.e. device clocks can be disabled and enabled, but domain power must be on, because the devices have to be marked as "irq safe"). Signed-off-by: Rafael J. Wysocki --- drivers/clocksource/sh_tmu.c

[PATCH 5/15] sh: CMT: Introduce clocksource/clock events suspend/resume routines

2012-08-05 Thread Rafael J. Wysocki
Introduce suspend/resume routines for SH CMT clock event devices and modify the suspend/resume routines for SH CMT clock sources such that if those devices belong to a PM domain, the generic PM domains framework will be notified that the given domain may be turned off (during system suspend) or

[PATCH 6/15] sh: MTU2: Introduce clock events suspend/resume routines

2012-08-05 Thread Rafael J. Wysocki
Introduce suspend/resume routines for SH MTU2 clock event devices such that if those devices belong to a PM domain, the generic PM domains framework will be notified that the given domain may be turned off (during system suspend) or that it has to be turned on (during system resume).

[PATCH 13/15] sh: CMT: Basic runtime PM support

2012-08-05 Thread Rafael J. Wysocki
Modify the SH CMT clock source/clock event device driver to support runtime PM at a basic level (i.e. device clocks can be disabled and enabled, but domain power must be on, because the devices have to be marked as "irq safe"). Signed-off-by: Rafael J. Wysocki --- drivers/clocksource/sh_cmt.c

  1   2   3   4   5   6   >