Re: [PATCH] dmaengine/dmatest: terminate transfers only in case of errors

2012-11-09 Thread Dan Williams
On 11/9/12 7:26 AM, "Viresh Kumar" wrote: >From: Shiraz Hashim > >dmatest erroneously terminated transfers in normal cases also leading to >test failures for multiple threads over a channel. Fix this and >terminate transfers only in case of errors. > >Signed-off-by: Shiraz Hashim >Signed-off-

Re: [PATCH] ARM: tegra: harmony: Add ADT7641 temperature sensor

2012-11-09 Thread Thierry Reding
On Fri, Nov 09, 2012 at 10:36:13AM -0700, Stephen Warren wrote: > On 11/09/2012 06:22 AM, Thierry Reding wrote: > > On Fri, Nov 09, 2012 at 01:56:55PM +0100, Thierry Reding wrote: > >> The Harmony board has an Analog Devices ADT7461 temperature > >> sensor connected to the DVC bus. It can be used t

Re: [ANNOUNCE] Extended stable support for Linux 3.5 (linux-3.5.y-ext.z)

2012-11-09 Thread Herton Ronaldo Krzesinski
On Fri, Nov 09, 2012 at 07:22:03AM -0800, Jonathan Nieder wrote: > Hi Herton, > > Herton Ronaldo Krzesinski wrote: > > > I plan to do a similar workflow as to what is done today with current > > stable releases. I'll send email notifications to everyone involved in > > each patch when it's added

[patch,v3 00/10] make I/O path allocations more numa-friendly

2012-11-09 Thread Jeff Moyer
Hi, This patch set makes memory allocations for data structures used in the I/O path more numa friendly by allocating them from the same numa node as the storage device. I've only converted a handful of drivers at this point. My testing showed that, for workloads where the I/O processes were not

[patch,v3 02/10] scsi: make __scsi_alloc_queue numa-aware

2012-11-09 Thread Jeff Moyer
Pass the numa node id set in the Scsi_Host on to blk_init_queue_node in order to keep all allocations local to the numa node the device is closest to. Signed-off-by: Jeff Moyer --- drivers/scsi/scsi_lib.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/scs

[patch,v3 03/10] scsi: make scsi_alloc_sdev numa-aware

2012-11-09 Thread Jeff Moyer
Use the numa node id set in the Scsi_Host to allocate the sdev structure on the device-local numa node. Signed-off-by: Jeff Moyer --- drivers/scsi/scsi_scan.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/scsi_scan.c b/drivers/scsi/scsi_scan.c index 3e5

[patch,v3 08/10] mpt2sas: use scsi_host_alloc_node

2012-11-09 Thread Jeff Moyer
Signed-off-by: Jeff Moyer --- drivers/scsi/mpt2sas/mpt2sas_scsih.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/mpt2sas/mpt2sas_scsih.c b/drivers/scsi/mpt2sas/mpt2sas_scsih.c index af4e6c4..a4d6b36 100644 --- a/drivers/scsi/mpt2sas/mpt2sas_scsih.c +++

[patch,v3 06/10] ata: use scsi_host_alloc_node

2012-11-09 Thread Jeff Moyer
Signed-off-by: Jeff Moyer --- drivers/ata/libata-scsi.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/ata/libata-scsi.c b/drivers/ata/libata-scsi.c index e3bda07..9d5dd09 100644 --- a/drivers/ata/libata-scsi.c +++ b/drivers/ata/libata-scsi.c @@ -3586,7 +3586,

[patch,v3 07/10] megaraid_sas: use scsi_host_alloc_node

2012-11-09 Thread Jeff Moyer
Signed-off-by: Jeff Moyer --- drivers/scsi/megaraid/megaraid_sas_base.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c b/drivers/scsi/megaraid/megaraid_sas_base.c index d2c5366..707a6cd 100644 --- a/drivers/scsi/megaraid/me

[patch,v3 10/10] cciss: use blk_init_queue_node

2012-11-09 Thread Jeff Moyer
Signed-off-by: Jeff Moyer --- drivers/block/cciss.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c index b0f553b..5fe5546 100644 --- a/drivers/block/cciss.c +++ b/drivers/block/cciss.c @@ -1930,7 +1930,8 @@ static void cci

[patch,v3 09/10] lpfc: use scsi_host_alloc_node

2012-11-09 Thread Jeff Moyer
Acked-By: James Smart Signed-off-by: Jeff Moyer --- drivers/scsi/lpfc/lpfc_init.c | 10 ++ 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c index 7dc4218..65956d3 100644 --- a/drivers/scsi/lpfc/lpfc_init.c +++

Re: [PATCH v5] staging: ste_rmi4: Convert to Type-B support

2012-11-09 Thread Henrik Rydberg
On Thu, Nov 08, 2012 at 03:05:29PM +0800, Alexandra Chin wrote: > Convert to MT-B because Synaptics touch devices are capable > of tracking identifiable fingers. > > Signed-off-by: Alexandra Chin > --- > Changes from v5: > - Incorporated Henrik's review comments > *rollback to v

[patch,v3 01/10] scsi: add scsi_host_alloc_node

2012-11-09 Thread Jeff Moyer
Allow an LLD to specify on which numa node to allocate scsi data structures. Thanks to Bart Van Assche for the suggestion. Signed-off-by: Jeff Moyer --- drivers/scsi/hosts.c | 13 +++-- include/scsi/scsi_host.h | 28 2 files changed, 39 insertions(+)

[patch,v3 04/10] scsi: allocate scsi_cmnd-s from the device's local numa node

2012-11-09 Thread Jeff Moyer
Signed-off-by: Jeff Moyer --- drivers/scsi/scsi.c | 16 ++-- 1 files changed, 10 insertions(+), 6 deletions(-) diff --git a/drivers/scsi/scsi.c b/drivers/scsi/scsi.c index 2936b44..1750702 100644 --- a/drivers/scsi/scsi.c +++ b/drivers/scsi/scsi.c @@ -173,16 +173,19 @@ static DEFI

[patch,v3 05/10] sd: use alloc_disk_node

2012-11-09 Thread Jeff Moyer
Signed-off-by: Jeff Moyer --- drivers/scsi/sd.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c index 12f6fdf..a5dae6b 100644 --- a/drivers/scsi/sd.c +++ b/drivers/scsi/sd.c @@ -2714,7 +2714,7 @@ static int sd_probe(struct device *d

fadvise interferes with readahead

2012-11-09 Thread Claudio Freire
Hi. First of all, I'm not subscribed to this list, so I'd suggest all replies copy me personally. I have been trying to implement some I/O pipelining in Postgres (ie: read the next data page asynchronously while working on the current page), and stumbled upon some puzzling behavior involving the i

Re: [PATCH] virtio-scsi: Fix incorrect lock release order in virtscsi_kick_cmd

2012-11-09 Thread Nicholas A. Bellinger
Hi Paolo, On Fri, 2012-11-09 at 09:42 +0100, Paolo Bonzini wrote: > Il 09/11/2012 07:29, Nicholas A. Bellinger ha scritto: > > From: Nicholas Bellinger > > > > This patch fixes a regression bug in virtscsi_kick_cmd() that relinquishes > > the acquired spinlocks in the incorrect order using the w

Re: tty, vt: lockdep warnings (Patch v3)

2012-11-09 Thread Hugh Dickins
On Thu, 8 Nov 2012, Alan Cox wrote: > commit f35b3fbf24c4e4debb6a7a864b09854ccc2a22e7 > Author: Alan Cox > Date: Wed Nov 7 16:35:08 2012 + > > fb: Rework locking to fix lock ordering on takeover > > Adjust the console layer to allow a take over call where the caller > already

Re: tty, vt: lockdep warnings (Patch v3)

2012-11-09 Thread Sasha Levin
On 11/09/2012 02:34 PM, Hugh Dickins wrote: > On Thu, 8 Nov 2012, Alan Cox wrote: >> commit f35b3fbf24c4e4debb6a7a864b09854ccc2a22e7 >> Author: Alan Cox >> Date: Wed Nov 7 16:35:08 2012 + >> >> fb: Rework locking to fix lock ordering on takeover >> >> Adjust the console layer to

kernel 3.6.5 and 3.6.6 GPF when use CONFIG_USB_SERIAL_KEYSPAN_USA49W

2012-11-09 Thread Richard
On my Gentoo system using kernel.org kernel sources, 3.6.5 and 3.6.6, I receive a "general protection fault" (GPF) when a program tries to access my Keyspan 4-port serial to usb adapter using the USB_SERIAL_KEYSPAN_USA49W driver moddule. This GPF does not occur when using kernel versions less than

Re: [GIT PULL] drbd-8.4.2 for the linux-3.8 merge window

2012-11-09 Thread Jens Axboe
On 2012-11-09 16:19, Philipp Reisner wrote: > Am Freitag, 9. November 2012, 15:50:24 schrieb Jens Axboe: >> On 2012-11-09 15:18, Jens Axboe wrote: >>> On 2012-11-09 14:33, Philipp Reisner wrote: Jens, here it is without the sysfs stuff >>> >>> Thanks, pulled into for-3.8/drivers >> >> I didn't

Re: scsi target, likely GPL violation

2012-11-09 Thread Andy Grover
On 11/09/2012 03:03 AM, Alan Cox wrote: > I fail to understand the maintainer question however. If you were trying > to block people adding target features that competed that would be a > different thing. You think it's ok for us to have an unrepentant GPL violator as a subsystem maintainer?? If

Re: [PATCH] lib/raid6: Add AVX2 optimized recovery functions

2012-11-09 Thread Jim Kukunas
On Fri, Nov 09, 2012 at 10:50:25PM +1100, Neil Brown wrote: > On Fri, 09 Nov 2012 12:39:05 +0100 "H. Peter Anvin" wrote: > > > Sorry, we cannot share those at this time since the hardwarenis not yet > > released. > > Can I take that to imply "Acked-by: "H. Peter Anvin" " ?? > > It would be nic

Re: [PATCH] dmaengine/dmatest: terminate transfers only in case of errors

2012-11-09 Thread Jon Mason
On Fri, Nov 09, 2012 at 06:44:18PM +, Dan Williams wrote: > > > On 11/9/12 7:26 AM, "Viresh Kumar" wrote: > > >From: Shiraz Hashim > > > >dmatest erroneously terminated transfers in normal cases also leading to > >test failures for multiple threads over a channel. Fix this and > >terminate

Re: [PATCH v6 25/29] memcg/sl[au]b: shrink dead caches

2012-11-09 Thread Christoph Lameter
On Thu, 8 Nov 2012, Andrew Morton wrote: > > kmem_cache_shrink is also used internally. Its simply releasing unused > > cached objects. > > Only in slub. It could be removed outright from the others and > simplified in slub. Both SLAB and SLUB must purge their queues before closing/destroying a

Re: [PATCH v6 25/29] memcg/sl[au]b: shrink dead caches

2012-11-09 Thread Christoph Lameter
On Thu, 8 Nov 2012, Andrew Morton wrote: > I'd still like to give ACPI a thwap. That kmem_cache_shrink() in > drivers/acpi/osl.c was added unchangelogged in a megapatch > (73459f73e5d1602c59) so it's a mystery. Cc's optimistically added. It does not hurt though and releasing cache objects when

Re: [PATCH 03/16] mm: check rb_subtree_gap correctness

2012-11-09 Thread Hugh Dickins
[ 117.031024] invalid opcode: [#1] PREEMPT SMP DEBUG_PAGEALLOC > [ 117.032933] Dumping ftrace buffer: > [ 117.033972](ftrace buffer empty) > [ 117.035085] CPU 4 > [ 117.035676] Pid: 6859, comm: trinity-child46 Tainted: GW > 3.7.0-rc4-next-20121109-sasha-00

Re: [PATCH v3 1/9] net: core: use this_cpu_ptr per-cpu helper

2012-11-09 Thread Christoph Lameter
On Fri, 9 Nov 2012, Shan Wei wrote: > diff --git a/net/core/flow.c b/net/core/flow.c > index e318c7e..b0901ee 100644 > --- a/net/core/flow.c > +++ b/net/core/flow.c > @@ -327,11 +327,9 @@ static void flow_cache_flush_tasklet(unsigned long data) > static void flow_cache_flush_per_cpu(void *data) >

Re: [PATCH v3 2/9] net: rds: use this_cpu_ptr per-cpu helper

2012-11-09 Thread Christoph Lameter
On Fri, 9 Nov 2012, Shan Wei wrote: > net/rds/ib_recv.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/net/rds/ib_recv.c b/net/rds/ib_recv.c > index 8d19491..a4a5064 100644 > --- a/net/rds/ib_recv.c > +++ b/net/rds/ib_recv.c > @@ -423,7 +423,7 @@ static void rds_ib

Re: [PATCH v3 3/9] net: xfrm: use __this_cpu_read per-cpu helper

2012-11-09 Thread Christoph Lameter
On Fri, 9 Nov 2012, Shan Wei wrote: > v3 fix compile warning: > net/xfrm/xfrm_ipcomp.c: In function 'ipcomp_alloc_tfms': > net/xfrm/xfrm_ipcomp.c:285: warning: assignment from incompatible pointer type Why exactly is the pointer type not compatible? Looks like we have a problem here. -- To unsub

Re: [PATCH v3 4/9] net: openvswitch: use this_cpu_ptr per-cpu helper

2012-11-09 Thread Christoph Lameter
On Fri, 9 Nov 2012, Shan Wei wrote: > just use more faster this_cpu_ptr instead of per_cpu_ptr(p, > smp_processor_id()); Reviewed-by: Christoph Lameter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo

Re: [PATCH v3 5/9] kernel: padata : use __this_cpu_read per-cpu helper

2012-11-09 Thread Christoph Lameter
On Fri, 9 Nov 2012, Shan Wei wrote: > For bottom halves off, __this_cpu_read is better. Reviewed-by: Christoph Lameter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/m

Re: [PATCH v3 6/9] rcu: use __this_cpu_read helper instead of per_cpu_ptr(p, raw_smp_processor_id())

2012-11-09 Thread Christoph Lameter
On Fri, 9 Nov 2012, Shan Wei wrote: > /* Funnel through hierarchy to reduce memory contention. */ > - rnp = per_cpu_ptr(rsp->rda, raw_smp_processor_id())->mynode; > + rnp = __this_cpu_read(rsp->rda->mynode); > for (; rnp != NULL; rnp = rnp->parent) { Acked-by: Christoph Lamete

Re: [PATCH v3 7/9] trace: use this_cpu_ptr per-cpu helper

2012-11-09 Thread Christoph Lameter
On Fri, 9 Nov 2012, Shan Wei wrote: > - return buffer->buffer; > + return (char *)this_cpu_ptr(&percpu_buffer->buffer); > } Add a comment to explain the cast? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org

Re: [PATCH v3 1/9] net: core: use this_cpu_ptr per-cpu helper

2012-11-09 Thread Eric Dumazet
On Fri, 2012-11-09 at 20:08 +, Christoph Lameter wrote: > On Fri, 9 Nov 2012, Shan Wei wrote: > > > diff --git a/net/core/flow.c b/net/core/flow.c > > index e318c7e..b0901ee 100644 > > --- a/net/core/flow.c > > +++ b/net/core/flow.c > > @@ -327,11 +327,9 @@ static void flow_cache_flush_tasklet

Re: [PATCH v11] kvm: notify host when the guest is panicked

2012-11-09 Thread Sasha Levin
On Mon, Nov 5, 2012 at 8:58 PM, Hu Tao wrote: > But in the case of panic notification, more dependency means more > chances of failure of panic notification. Say, if we use a virtio device > to do panic notification, then we will fail if: virtio itself has > problems, virtio for some reason can't

Re: [PATCH 2/2] drm: tegra: Add HDMI support

2012-11-09 Thread Thierry Reding
On Fri, Nov 09, 2012 at 05:04:09PM +0100, Rafał Miłecki wrote: > 2012/11/9 Christian König : > > On 09.11.2012 16:45, Rafał Miłecki wrote: > >> I was told it won't work on different endian devices. See > >> [RFC][PATCH] drm/radeon/hdmi: define struct for AVI infoframe > >> http://lists.freedesktop.

Re: scsi target, likely GPL violation

2012-11-09 Thread Alan Cox
On Fri, 09 Nov 2012 11:52:19 -0800 Andy Grover wrote: > On 11/09/2012 03:03 AM, Alan Cox wrote: > > I fail to understand the maintainer question however. If you were trying > > to block people adding target features that competed that would be a > > different thing. > > You think it's ok for us

Re: [GIT PULL REQUEST] UniCore32 update for v3.7-rc4

2012-11-09 Thread Linus Torvalds
On Fri, Nov 9, 2012 at 10:35 AM, guanxuetao wrote: > > git://github.com/gxt/linux.git ..BRANCH.NOT.VERIFIED.. Let's try that again. With you checking what you send me. I hope there's a signed tag somewhere, but the above certainly isn't that.. Linus -- To unsubscribe from this lis

ipi.c:109 default_send_IPI_mask_logical+0xa3/0xe0()

2012-11-09 Thread Toralf Förster
With recent stable kernels (3.6.x) at my stable Gentoo Linux I observed few times within the last month this warning in my syslog : 2012-11-08T19:12:35.334+01:00 n22 kernel: [ cut here ] 2012-11-08T19:12:35.334+01:00 n22 kernel: WARNING: at arch/x86/kernel/apic/ipi.c:109 d

Re: [PATCH -v3 0/7] x86: Use BRK to pre mapping page table to make xen happy

2012-11-09 Thread Yinghai Lu
On Wed, Nov 7, 2012 at 8:06 PM, Yinghai Lu wrote: > On Wed, Nov 7, 2012 at 5:40 PM, Konrad Rzeszutek Wilk > wrote: >> >> I ran in a problem with launching an 8GB guest. When launching a 4GB it >> worked >> fine, but with 8GB I get: >> >> .00] init_memory_mapping: [mem 0x1f400-0x1f47f

Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices to mach-omap2)

2012-11-09 Thread Grant Likely
On Wed, Nov 7, 2012 at 11:02 AM, Pantelis Antoniou wrote: > On Nov 7, 2012, at 11:19 AM, Benoit Cousson wrote: >> Maybe some extra version match table can just be passed during the board >> machine_init >> >> of_platform_populate(NULL, omap_dt_match_table, NULL, NULL, >> panda_version_matc

[PATCH] dmatest: Fix NULL pointer dereference on ioat

2012-11-09 Thread Jon Mason
device_control is an optional and not implemented in all DMA drivers. Any calls to these will result in a NULL pointer dereference. dmatest makes two of these calls when completing the kernel thread and removing the module. These are corrected by calling the dmaengine_device_control wrapper and c

Re: [PATCH 1/2] drm: Add NVIDIA Tegra20 support

2012-11-09 Thread Thierry Reding
On Fri, Nov 09, 2012 at 10:26:27AM -0600, Rob Clark wrote: > On Fri, Nov 9, 2012 at 10:00 AM, Thierry Reding > wrote: > > On Fri, Nov 09, 2012 at 09:18:58AM -0600, Rob Clark wrote: > >> On Fri, Nov 9, 2012 at 7:59 AM, Thierry Reding > >> wrote: > > [...] > >> > +static int regs_open(struct inode

Re: [PATCH 04/11] ARM: set arch_gettimeoffset directly

2012-11-09 Thread Stephen Warren
On 11/08/2012 04:06 PM, Ryan Mallon wrote: > On 09/11/12 08:01, Stephen Warren wrote: >> remove ARM's struct sys_timer .offset function pointer, and instead >> directly set the arch_gettimeoffset function pointer when the timer >> driver is initialized. This requires multiplying all function result

Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices to mach-omap2)

2012-11-09 Thread Grant Likely
On Fri, Nov 9, 2012 at 2:26 AM, David Gibson wrote: >> Summary points: >> - Create an FDT overlay data format and usage model >> - SHALL reliable resolve or validate of phandles between base and >> overlay trees > > So, I'm not at all clear on what this proposed phandle validation > would in

Re: [PATCH 0/2] Device tree updates for host1x support

2012-11-09 Thread Stephen Warren
On 11/09/2012 11:44 AM, Thierry Reding wrote: > On Fri, Nov 09, 2012 at 10:34:41AM -0700, Stephen Warren wrote: ... >> I really hope soon that Tegra will support DT bindings for clocks >> so we can get rid of the AUXDATA, but unfortunately I haven't >> seen any movement towards this:-( > > Oh yes

[PATCH] ARM: add get_user() support for 8 byte types

2012-11-09 Thread Rob Clark
From: Rob Clark A new atomic modeset/pageflip ioctl being developed in DRM requires get_user() to work for 64bit types (in addition to just put_user()). Signed-off-by: Rob Clark --- arch/arm/include/asm/uaccess.h | 25 - arch/arm/lib/getuser.S | 17 +

Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices to mach-omap2)

2012-11-09 Thread Grant Likely
On Fri, Nov 9, 2012 at 5:32 AM, Joel A Fernandes wrote: > Hi Pantelis, > > I hope I'm not too late to reply as I'm traveling. > > On Nov 6, 2012, at 5:30 AM, Pantelis Antoniou > wrote: > >> >>> >>> Joanne has purchased one of Jane's capes and packaged it into a rugged >>> case for data logging. A

Re: [PATCH] bonding: rlb mode of bond should not alter ARP replies originating via bridge

2012-11-09 Thread David Miller
From: Zheng Li Date: Wed, 7 Nov 2012 11:23:00 +0800 > ARP traffic passing through a bridge and out via the bond (when the bond is a > port of the bridge) should not have its source MAC address adjusted by the > receive load balance code in rlb_arp_xmit. > > Signed-off-by: Zheng Li Please fo

Re: [PATCH v3 8/7] pppoatm: fix missing wakeup in pppoatm_send()

2012-11-09 Thread David Miller
From: David Woodhouse Date: Wed, 07 Nov 2012 12:52:14 + > Now that we can return zero from pppoatm_send() for reasons *other* than > the queue being full, that means we can't depend on a subsequent call to > pppoatm_pop() waking the queue, and we might leave it stalled > indefinitely. > > Fi

[PATCH 1/4] staging/serqt_usb2: fixed line over issue in serqt_usb2.c

2012-11-09 Thread YAMANE Toshiaki
Fixed a description of the procedure call dev_dbg(). Signed-off-by: YAMANE Toshiaki --- drivers/staging/serqt_usb2/serqt_usb2.c | 59 +-- 1 file changed, 40 insertions(+), 19 deletions(-) diff --git a/drivers/staging/serqt_usb2/serqt_usb2.c b/drivers/staging/serqt

[patch] mm: introduce a common interface for balloon pages mobility fix

2012-11-09 Thread David Rientjes
Fixes build failure from "mm: introduce a common interface for balloon pages mobility": mm/balloon_compaction.c: In function 'balloon_page_putback': mm/balloon_compaction.c:243: error: implicit declaration of function '__WARN' Generic code calls WARN_ON(), not __WARN() directly. Signed-off-by:

Re: [PATCH] ARM: tegra: harmony: Add ADT7641 temperature sensor

2012-11-09 Thread Stephen Warren
On 11/09/2012 06:22 AM, Thierry Reding wrote: > On Fri, Nov 09, 2012 at 01:56:55PM +0100, Thierry Reding wrote: >> The Harmony board has an Analog Devices ADT7461 temperature >> sensor connected to the DVC bus. It can be used to monitor the >> ambient (local) and on-die (remote) temperatures. > >

[PATCH 2/4] staging/serqt_usb2: refactor qt_read_bulk_callback() in serqt_usb2.c

2012-11-09 Thread YAMANE Toshiaki
Modified to eliminate the deep nesting and redundant description. Signed-off-by: YAMANE Toshiaki --- drivers/staging/serqt_usb2/serqt_usb2.c | 147 +-- 1 file changed, 80 insertions(+), 67 deletions(-) diff --git a/drivers/staging/serqt_usb2/serqt_usb2.c b/drivers/

[PATCH 3/4] staging/serqt_usb2: refactor qt_open() in serqt_usb2.c

2012-11-09 Thread YAMANE Toshiaki
Modified to eliminate the deep nesting. Signed-off-by: YAMANE Toshiaki --- drivers/staging/serqt_usb2/serqt_usb2.c | 51 --- 1 file changed, 27 insertions(+), 24 deletions(-) diff --git a/drivers/staging/serqt_usb2/serqt_usb2.c b/drivers/staging/serqt_usb2/serqt_u

Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices to mach-omap2)

2012-11-09 Thread Grant Likely
On Fri, Nov 9, 2012 at 2:26 AM, David Gibson wrote: > (3) Resolving phandle references from the subtree to the main tree. > > So, I think this can actually be avoided, at least in cases where what > physical connections are available to the expansion module is well > defined. The main causes to h

[PATCH 03/21] perf hists: Free branch_info when freeing hist_entry

2012-11-09 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim Those data should be free along with the associated hist_entry, otherwise it'll be leaked. Signed-off-by: Namhyung Kim Cc: Andi Kleen Cc: Ingo Molnar Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Stephane Eranian Link: http://lkml.kernel.org/r/1352273234-28912-7-git-send-em

[PATCH 07/21] perf tools: Don't try to lookup objdump for live mode

2012-11-09 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim Arnaldo reported that annotation during perf top resulted in a segfault. It was because the env->arch was NULL and we don't set it for a live session. In fact, no need to look up objdump in this case since we can use system's default (native) objdump. Reported-by: Arnaldo Car

[PATCH 01/21] perf machine: Set kernel data mapping length

2012-11-09 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim Currently only text (function) mapping was set, so that the kernel data addresses couldn't parsed correctly. Fix it. Signed-off-by: Namhyung Kim Cc: Andi Kleen Cc: Ingo Molnar Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Stephane Eranian Link: http://lkml.kernel.org/r/135

[PATCH 16/21] perf annotate: Merge same lines in summary view

2012-11-09 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim The --print-line option of perf annotate command shows summary for each source line. But it didn't merge same lines so that it can appear multiple times. * before: Sorted summary for file /home/namhyung/bin/mcol -- 21.71 /

[PATCH 06/21] perf tools: Add arbitary aliases and support names with -

2012-11-09 Thread Arnaldo Carvalho de Melo
From: Andi Kleen - Add missing scanner symbol for arbitrary aliases inside the config region. - looks nicer than _, so allow - in the event names. Used for various of the arch perfmon and Haswell events. Signed-off-by: Andi Kleen Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter

[PATCH 02/21] perf tools: Fix detection of stack area

2012-11-09 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim Output of /proc//maps contains helpful information to anonymous mappings like stack, heap, ... For the case of stack, it can show multiple stack area for each thread in the process: $ cat /proc/$(pidof gnome-shell)/maps | grep stack 7fe019946000-7fe01a146000 rw-p

[GIT PULL 00/21] perf/core improvements and fixes

2012-11-09 Thread Arnaldo Carvalho de Melo
Hi Ingo, Please consider pulling. - Arnaldo The following changes since commit 8dfec403e39b7c37fd6e8813bacc01da1e1210ab: perf tests: Removing 'optional' field (2012-11-05 14:03:59 -0300) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/acme/lin

Re: mmotm 2012-11-08-15-17 uploaded (mm/balloon_compaction.c)

2012-11-09 Thread David Rientjes
On Fri, 9 Nov 2012, Randy Dunlap wrote: > on i386: > > mm/balloon_compaction.c: In function 'balloon_page_putback': > mm/balloon_compaction.c:243:3: error: implicit declaration of function > '__WARN' > Sent a fix for this an hour ago: http://marc.info/?l=linux-kernel&m=135249681031225 -- To u

Re: [PATCH] ARM: tegra: harmony: Add ADT7641 temperature sensor

2012-11-09 Thread Thierry Reding
On Fri, Nov 09, 2012 at 02:33:51PM -0700, Stephen Warren wrote: > On 11/09/2012 06:22 AM, Thierry Reding wrote: > > On Fri, Nov 09, 2012 at 01:56:55PM +0100, Thierry Reding wrote: > >> The Harmony board has an Analog Devices ADT7461 temperature > >> sensor connected to the DVC bus. It can be used t

Re: mmotm 2012-11-08-15-17 uploaded (acpi)

2012-11-09 Thread David Rientjes
On Fri, 9 Nov 2012, Randy Dunlap wrote: > on x86_64: > > drivers/built-in.o: In function `acpi_pm_device_sleep_state': > (.text+0x21855): undefined reference to `acpi_target_system_state' > drivers/built-in.o: In function `acpi_pm_device_sleep_wake': > (.text+0x2198e): undefined reference to `acp

[RFC, RFT] [PATCH] staging: ft1000: unify struct ft1000_info between USB and PCMCIA drivers

2012-11-09 Thread Ondrej Zary
Unify struct ft1000_info between ft1000-usb and ft1000-pcmcia and move it to common ft1000.h. ft1000-pcmcia seems to work. Please test ft1000-usb. Signed-off-by: Ondrej Zary --- drivers/staging/ft1000/ft1000-pcmcia/ft1000.h | 33 +- drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c

[PATCH 18/21] tools lib traceevent: Avoid comparisions between signed/unsigned

2012-11-09 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Fixing this warning-as-error on f14 32-bit: tools/lib/traceevent/event-parse.c:5564:17: error: comparison between signed and unsigned integer expressions tools/lib/traceevent/event-parse.c:5586:17: error: comparison between signed and unsigned integer express

[PATCH 21/21] tools lib traceevent: Use 'const' in variables pointing to const strings

2012-11-09 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Fixing the build on fedora 14, 32-bit: tools/lib/traceevent/event-parse.c: In function ‘find_cmdline’: tools/lib/traceevent/event-parse.c:183:3: error: return discards qualifiers from pointer target type tools/lib/traceevent/event-parse.c:186:3: error: retur

[PATCH 20/21] tools lib traceevent: Handle INVALID_ARG_TYPE errno in pevent_strerror

2012-11-09 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo gcc on f14 32-bit rightly complains: tools/lib/traceevent/event-parse.c:5097:2: error: enumeration value ‘PEVENT_ERRNO__INVALID_ARG_TYPE’ not handled in switch The entry for it is in the error strings array pevent_error_str[]: _PE(INVALID_ARG_TYPE,

[PATCH 17/21] tools lib traceevent: Add __maybe_unused to unused parameters

2012-11-09 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Fixing the build on 32-bit Fedora 14: tools/lib/traceevent/event-parse.c: In function ‘print_event_fields’: tools/lib/traceevent/event-parse.c:3934:69: error: unused parameter ‘size’ tools/lib/traceevent/event-parse.c: In function ‘pevent_strerror’: tools/l

[PATCH 12/21] perf machine: Move more methods to machine.[ch]

2012-11-09 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo This time out of map.[ch] mostly, just code move plus a buch of 'self' removal, using machine or machines instead. Cc: David Ahern Cc: Frederic Weisbecker Cc: Jiri Olsa Cc: Mike Galbraith Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Stephane Er

[PATCH 09/21] perf diff: Move hists__match to the hists lib

2012-11-09 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Its not 'diff' specific and will be useful for other use cases, like bucketizing multiple events in a single session. Cc: David Ahern Cc: Frederic Weisbecker Cc: Jiri Olsa Cc: Mike Galbraith Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Stephane

Re: mmotm 2012-11-08-15-17 uploaded (acpi)

2012-11-09 Thread Randy Dunlap
On 11/09/2012 01:45 PM, David Rientjes wrote: > On Fri, 9 Nov 2012, Randy Dunlap wrote: > >> on x86_64: >> >> drivers/built-in.o: In function `acpi_pm_device_sleep_state': >> (.text+0x21855): undefined reference to `acpi_target_system_state' >> drivers/built-in.o: In function `acpi_pm_device_slee

[PATCH 08/21] perf diff: Start moving to support matching more than two hists

2012-11-09 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo We want to match more than two hists, so that we can match more than two perf.data files and moreover, match hist_entries (buckets) in multiple events in a group. So the "baseline"/"leader" will instead of a ->pair pointer, use a list_head, that will link to the pa

[PATCH 10/21] perf hists: Introduce hists__link

2012-11-09 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo That given two hists will find the hist_entries (buckets) in the second hists that are for the same bucket in the first and link them, then it will look for all buckets in the second that don't have a counterpart in the first and will create a dummy counterpart that

[PATCH 14/21] perf annotate: Whitespace fixups

2012-11-09 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim Some lines are indented by whitespace characters rather than tabs. Fix them. Signed-off-by: Namhyung Kim Cc: Andi Kleen Cc: David Ahern Cc: Ingo Molnar Cc: Jiri Olsa Cc: Peter Zijlstra Cc: Stephane Eranian Link: http://lkml.kernel.org/r/1352482044-3443-3-git-send-emai

[PATCH 04/21] perf tests: Move attr.py temp dir cleanup into finally section

2012-11-09 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Currently if there's 'Unsup' exception raised, we do not clean up the temp directory. Solving this by adding 'finally' to make the cleanup in any case. Signed-off-by: Jiri Olsa Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Paul Mackerras Cc: Peter Zijlstra L

[PATCH 19/21] tools lib traceevent: No need to check for < 0 on an unsigned enum

2012-11-09 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo gcc on f14 32-bit complains: tools/lib/traceevent/event-parse.c: In function ‘pevent_register_print_function’: tools/lib/traceevent/event-parse.c:5366:3: error: comparison of unsigned expression < 0 is always false This is because: enum pevent_fun

[PATCH 13/21] perf test: fix a build error on builtin-test

2012-11-09 Thread Arnaldo Carvalho de Melo
From: Zheng Liu Recently I build perf and get a build error on builtin-test.c. The error is as following: $ make CC perf.o CC builtin-test.o cc1: warnings being treated as errors builtin-test.c: In function ‘sched__get_first_possible_cpu’: builtin-test.c:977: warning: implicit declaratio

[PATCH 15/21] perf annotate: Don't try to follow jump target on PLT symbols

2012-11-09 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim The perf annotate browser on TUI can identify a jump target for a selected instruction. It assumes that the jump target is within the function but it's not the case of PLT symbols which have offset out of the function as a target. Since it caused a segmentation fault, do not

[PATCH 11/21] perf diff: Use hists__link when not pairing just with baseline

2012-11-09 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Previously there were blind spots because we were not looking at symbols that didn't ocurred in the latest run: # perf record usleep 1 [ perf record: Woken up 1 times to write data ] [ perf record: Captured and wrote 0.018 MB perf.data (~801 samples) ] # pe

[PATCH 05/21] perf tools: Add LIBDW_DIR Makefile variable to for alternate libdw

2012-11-09 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Adding LIBDW_DIR Makefile variable to be able to specify alternate libdw library location. To use it run make like: $ make LIBDW_DIR=/opt/libdw/ Signed-off-by: Jiri Olsa Cc: Arnaldo Carvalho de Melo Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa

Re: [PATCH 1/2] ARM: tegra: tamonten: Add DDC/PTA pinmux

2012-11-09 Thread Stephen Warren
On 11/09/2012 06:04 AM, Thierry Reding wrote: > This commit allows the I2C2 controller on Tegra20 to be routed either to > the DDC or the PTA pin group at runtime. On Tamonten this allows the I2C > bus to be used for the DDC of the HDMI connector or to access I2C chips > on the carrier board. Both

[PATCH v2] ARM: tegra: harmony: Add ADT7641 temperature sensor

2012-11-09 Thread Thierry Reding
The Harmony board has an Analog Devices ADT7461 temperature sensor connected to the DVC bus. It can be used to monitor the ambient (local) and on-die (remote) temperatures. Signed-off-by: Thierry Reding --- Changes in v2: - rename adt7641 node to temperature-sensor arch/arm/boot/dts/tegra20-har

[PATCH v2] ARM: tegra: tamonten: Add NCT1008 temperature sensor

2012-11-09 Thread Thierry Reding
The Tamonten SOM has an ON Semiconductor NCT1008 connected to the DVC bus which is used to measure the ambient (local) temperature as well as the on-die (remote) temperature. Signed-off-by: Thierry Reding --- Changes in v2: - rename nct1008 node to temperature-sensor arch/arm/boot/dts/tegra20-t

[PATCH] ARM: tegra: ventana: Add NCT1008 temperature sensor

2012-11-09 Thread Thierry Reding
The Harmony board has an ON Semiconductors NCT1008 temperature sensor connected to the DVC bus. It can be used to monitor the ambient (local) and on-die (remote) temperatures. Signed-off-by: Thierry Reding Tested-by: Stephen Warren --- arch/arm/boot/dts/tegra20-ventana.dts | 5 + 1 file cha

Re: [PATCH] vmxnet3: convert BUG_ON(true) into a simple BUG()

2012-11-09 Thread David Miller
From: Shreyas Bhatewara Date: Thu, 8 Nov 2012 22:02:16 -0800 (PST) > > - Original Message - >> Signed-off-by: Sasha Levin >> --- >> drivers/net/vmxnet3/vmxnet3_drv.c |2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) > > Signed-off-by: Shreyas N Bhatewara Applied, thanks. -

Re: [PATCH v2] ARM: tegra: harmony: Add ADT7641 temperature sensor

2012-11-09 Thread Thierry Reding
On Fri, Nov 09, 2012 at 10:58:43PM +0100, Thierry Reding wrote: > The Harmony board has an Analog Devices ADT7461 temperature sensor > connected to the DVC bus. It can be used to monitor the ambient (local) > and on-die (remote) temperatures. > > Signed-off-by: Thierry Reding I forgot to add you

Re: [PATCH v2] ARM: tegra: tamonten: Add NCT1008 temperature sensor

2012-11-09 Thread Stephen Warren
On 11/09/2012 03:00 PM, Thierry Reding wrote: > The Tamonten SOM has an ON Semiconductor NCT1008 connected to the DVC > bus which is used to measure the ambient (local) temperature as well as > the on-die (remote) temperature. Thanks, applied to Tegra's for-3.8/dt branch. -- To unsubscribe from t

Re: [PATCH] ARM: tegra: ventana: Add NCT1008 temperature sensor

2012-11-09 Thread Stephen Warren
On 11/09/2012 03:01 PM, Thierry Reding wrote: > The Harmony board has an ON Semiconductors NCT1008 temperature sensor > connected to the DVC bus. It can be used to monitor the ambient (local) > and on-die (remote) temperatures. Thanks, applied to Tegra's for-3.8/dt branch. -- To unsubscribe from

Re: [PATCH v2] ARM: tegra: harmony: Add ADT7641 temperature sensor

2012-11-09 Thread Stephen Warren
On 11/09/2012 03:03 PM, Thierry Reding wrote: > On Fri, Nov 09, 2012 at 10:58:43PM +0100, Thierry Reding wrote: >> The Harmony board has an Analog Devices ADT7461 temperature >> sensor connected to the DVC bus. It can be used to monitor the >> ambient (local) and on-die (remote) temperatures. >> >

Re: [PATCH] [trivial] isdn: Fix typo in drivers/isdn

2012-11-09 Thread David Miller
From: Masanari Iida Date: Sat, 10 Nov 2012 00:02:49 +0900 > Correct spelling typo in printk within drivers/isdn > > Signed-off-by: Masanari Iida Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org Mor

Re: kmemleak report on isp1763 and sierra MC8705

2012-11-09 Thread Richard Retanubun
On 29/10/12 06:14 PM, Alan Stern wrote: On Mon, 29 Oct 2012, Richard Retanubun wrote: Focusing down on one of the dumps: unreferenced object 0xd3849740 (size 8): comm "khubd", pid 1026, jiffies 232553037 (age 506.597s) hex dump (first 8 bytes): 4d 43 38 37 30 35 00 00

[PATCH] mm: compaction: Fix compiler warning

2012-11-09 Thread Thierry Reding
The compact_capture_page() function is only used if compaction is enabled so it should be moved into the corresponding #ifdef. Signed-off-by: Thierry Reding --- mm/compaction.c | 108 1 file changed, 54 insertions(+), 54 deletions(-) diff

Re: [PATCH 1/2] drm: Add NVIDIA Tegra20 support

2012-11-09 Thread Stephen Warren
On 11/09/2012 06:59 AM, Thierry Reding wrote: > This commit adds a KMS driver for the Tegra20 SoC. This includes basic > support for host1x and the two display controllers found on the Tegra20 > SoC. Each display controller can drive a separate RGB/LVDS output. > diff --git > a/Documentation/devi

Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices to mach-omap2)

2012-11-09 Thread Stephen Warren
On 11/08/2012 07:26 PM, David Gibson wrote: ... > I also think graft will handle most of your use cases, although as I > said I don't fully understand the implications of some of them, so I > could be wrong. So, the actual insertion of the subtree is pretty > trivial to implement. phandles are th

Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices to mach-omap2)

2012-11-09 Thread Stephen Warren
On 11/08/2012 10:32 PM, Joel A Fernandes wrote: ... > Alternatively to hashing, reading David Gibson's paper I followed, > phandle is supposed to 'uniquely' identity node. I wonder why the node > name itself is not sufficient to uniquely identify. The code that does > the tree walking can then just

Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices to mach-omap2)

2012-11-09 Thread Stephen Warren
On 11/05/2012 01:40 PM, Grant Likely wrote: > As promised, here is my early draft to try and capture what device > tree overlays need to do and how to get there. Comments and > suggestions greatly appreciated. Here's one other requirement I'd like that I don't think I saw explicitly mentioned in y

<    1   2   3   4   5   6   >