RE: [RFC 2/8] ARM: twd: register clock event for 1 core SMP

2013-02-19 Thread Mohammed, Afzal
Hi Rob, On Mon, Feb 18, 2013 at 19:17:29, Rob Herring wrote: On 02/18/2013 12:30 AM, Afzal Mohammed wrote: Register percpu local timer for scheduler tick in the case of one core SMP configuration. In other cases - secondary cpu's as well as boot cpu's having more than one core, this is

Re: [PATCH v2 1/5] drivers: phy: add generic PHY framework

2013-02-19 Thread Felipe Balbi
Hi, On Tue, Feb 19, 2013 at 11:23:14AM +0530, Kishon Vijay Abraham I wrote: The PHY framework provides a set of APIs for the PHY drivers to create/destroy a PHY and APIs for the PHY users to obtain a reference to the PHY with or without using phandle. To obtain a reference to the PHY without

Re: Re[2]: [PATCH v3] mfd: syscon: Add non-DT support

2013-02-19 Thread Dong Aisheng
On 19 February 2013 15:03, Alexander Shiyan shc_w...@mail.ru wrote: Hello. Strange, but I not received an original answer from Arnd, have only this mail. ... diff --git a/drivers/mfd/syscon.c b/drivers/mfd/syscon.c index 4a7ed5a..3c0abcb 100644 --- a/drivers/mfd/syscon.c +++

Re: [PATCHv2 vringh 3/3] caif_virtio: Introduce caif over virtio

2013-02-19 Thread Rusty Russell
sjur.brandel...@stericsson.com writes: From: Vikram ARV vikram@stericsson.com Add the the Virtio shared memory driver for STE Modems. caif_virtio is implemented utilizing the virtio framework for data transport and is managed with the remoteproc frameworks. The Virtio queue is used for

Re: [PATCH vringh 2/2] caif_virtio: Introduce caif over virtio

2013-02-19 Thread Rusty Russell
Sjur Brændeland sjurb...@gmail.com writes: Sjur Brændeland sjurb...@gmail.com writes: How about supporting struct vringh_kiov and struct kvec as well? I currently get the following complaints with my V2 patch-set: drivers/net/caif/caif_virtio.c:486:2: warning: passing argument 1 of

[PATCH 16/16] 9p/trans_virtio.c: use virtio_add_sgs[]

2013-02-19 Thread Rusty Russell
virtio_add_buf() is going away, replaced with virtio_add_sgs() which takes multiple terminated scatterlists. Signed-off-by: Rusty Russell ru...@rustcorp.com.au --- net/9p/trans_virtio.c | 48 +++- 1 file changed, 39 insertions(+), 9 deletions(-)

[PATCH 15/16] virtio_balloon: use simplified virtqueue accessors.

2013-02-19 Thread Rusty Russell
We never add buffers with input and output parts, so use the new accessors. Signed-off-by: Rusty Russell ru...@rustcorp.com.au --- drivers/virtio/virtio_balloon.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/virtio/virtio_balloon.c

[PATCH 10/16] virtio_net: use virtqueue_add_sgs[] for command buffers.

2013-02-19 Thread Rusty Russell
It's a bit cleaner to hand multiple sgs, rather than one big one. Signed-off-by: Rusty Russell ru...@rustcorp.com.au --- drivers/net/virtio_net.c | 50 ++ 1 file changed, 24 insertions(+), 26 deletions(-) diff --git a/drivers/net/virtio_net.c

[PATCH 12/16] virtio_console: use simplified virtqueue accessors.

2013-02-19 Thread Rusty Russell
We never add buffers with input and output parts, so use the new accessors. Signed-off-by: Rusty Russell ru...@rustcorp.com.au --- drivers/char/virtio_console.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/char/virtio_console.c

[PATCH 11/16] virtio_rng: use simplified virtqueue accessors.

2013-02-19 Thread Rusty Russell
We never add buffers with input and output parts, so use the new accessors. Signed-off-by: Rusty Russell ru...@rustcorp.com.au --- drivers/char/hw_random/virtio-rng.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/hw_random/virtio-rng.c

Re: [Xen-devel] [PATCH] xen: netback: remove redundant xenvif_put

2013-02-19 Thread Jan Beulich
On 19.02.13 at 06:53, David Miller da...@davemloft.net wrote: From: Andrew Jones drjo...@redhat.com Date: Mon, 18 Feb 2013 21:29:20 +0100 netbk_fatal_tx_err() calls xenvif_carrier_off(), which does a xenvif_put(). As callers of netbk_fatal_tx_err should only have one reference to the vif

Re: [PATCH 0/9] virtio: new API for addition of buffers, scatterlist changes

2013-02-19 Thread Rusty Russell
Paolo Bonzini pbonz...@redhat.com writes: virtio_ring: virtqueue_add_sgs, to add multiple sgs. virtio_scsi and virtio_blk can really use these, to avoid their current hack of copying the whole sg array. Signed-off-by: Ruty Russell ru...@rustcorp.com.au It's much better than the other

[PATCH 14/16] virtio_rpmsg_bus: use simplified virtqueue accessors.

2013-02-19 Thread Rusty Russell
We never add buffers with input and output parts, so use the new accessors. Signed-off-by: Rusty Russell ru...@rustcorp.com.au --- drivers/rpmsg/virtio_rpmsg_bus.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/rpmsg/virtio_rpmsg_bus.c

[PATCH 13/16] caif_virtio: use simplified virtqueue accessors.

2013-02-19 Thread Rusty Russell
We never add buffers with input and output parts, so use the new accessors. Signed-off-by: Rusty Russell ru...@rustcorp.com.au --- drivers/net/caif/caif_virtio.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/caif/caif_virtio.c

[PATCH 09/16] virtio_net: use simplified virtqueue accessors.

2013-02-19 Thread Rusty Russell
We never add buffers with input and output parts, so use the new accessors. Signed-off-by: Rusty Russell ru...@rustcorp.com.au --- drivers/net/virtio_net.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c index

[PATCH 07/16] virtio_ring: don't count elements twice for add_buf path.

2013-02-19 Thread Rusty Russell
Extract the post-counting code into virtqueue_add(), make both callers use it. Signed-off-by: Rusty Russell ru...@rustcorp.com.au --- drivers/virtio/virtio_ring.c | 147 +++--- 1 file changed, 80 insertions(+), 67 deletions(-) diff --git

Re: [PATCH 4/7] ACPI / scan: Introduce acpi_scan_handler_matching()

2013-02-19 Thread Yasuaki Ishimatsu
2013/02/18 0:23, Rafael J. Wysocki wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com Introduce new helper routine acpi_scan_handler_matching() for checking if the given ACPI scan handler matches a given device ID and rework acpi_scan_match_handler() to use the new routine (that routine

[PATCH 08/16] virtio_ring: virtqueue_add_outbuf / virtqueue_add_inbuf.

2013-02-19 Thread Rusty Russell
These are specialized versions of virtqueue_add_buf(), which cover over 50% of cases and are far clearer. In particular, the scatterlists passed to these functions don't have to be clean (ie. we ignore end markers). FIXME: I'm not sure about the unclean sglist bit. I had a more ambitious one

[PATCH 06/16] virtio_blk: remove nents member.

2013-02-19 Thread Rusty Russell
It's simply a flag as to whether we have data now, so make it an explicit function parameter rather than a member of struct virtblk_req. Signed-off-by: Rusty Russell ru...@rustcorp.com.au --- drivers/block/virtio_blk.c | 22 +++--- 1 file changed, 11 insertions(+), 11

Re: Re[2]: [PATCH v3] mfd: syscon: Add non-DT support

2013-02-19 Thread Dong Aisheng
On 19 February 2013 15:55, Dong Aisheng dong.aish...@linaro.org wrote: On 19 February 2013 15:03, Alexander Shiyan shc_w...@mail.ru wrote: Hello. Strange, but I not received an original answer from Arnd, have only this mail. ... diff --git a/drivers/mfd/syscon.c b/drivers/mfd/syscon.c

[PATCH 05/16] virtio-blk: use virtqueue_add_sgs on req path

2013-02-19 Thread Rusty Russell
From: Paolo Bonzini pbonz...@redhat.com (This is a respin of Paolo Bonzini's patch, but it calls virtqueue_add_sgs() instead of his multi-part API). This is similar to the previous patch, but a bit more radical because the bio and req paths now share the buffer construction code. Because the

Re: [PATCH] acer-wmi: do not use 'devices' uninitialized

2013-02-19 Thread Paul Bolle
Joey. On Tue, 2013-02-19 at 10:38 +0800, joeyli wrote: Zhang Rui sent similar patch for fix the warning: http://www.mail-archive.com/platform-driver-x86@vger.kernel.org/msg04016.html I see. It didn't make it into the v3.8 release. Could someone please send a note to the stable list once

Re: [PATCH] param, charp: Cache val length

2013-02-19 Thread Rusty Russell
Borislav Petkov b...@alien8.de writes: From: Borislav Petkov b...@suse.de ... instead of doing strlen twice. I'm delighted with your enthusiasm for making trivial changes, but I have trouble sharing in it. In this case, it's so marginal that I'll leave the status quo. Thanks, Rusty. -- To

[PATCH 04/16] virtio-blk: use virtqueue_start_buf on bio path

2013-02-19 Thread Rusty Russell
(This is a respin of Paolo Bonzini's patch, but it calls virtqueue_add_sgs() instead of his multi-part API). Move the creation of the request header and response footer to __virtblk_add_req. vbr-sg only contains the data scatterlist, the header/footer are added separately using

[PATCH 03/16] virtio-blk: reorganize virtblk_add_req

2013-02-19 Thread Rusty Russell
From: Paolo Bonzini pbonz...@redhat.com Right now, both virtblk_add_req and virtblk_add_req_wait call virtqueue_add_buf. To prepare for the next patches, abstract the call to virtqueue_add_buf into a new function __virtblk_add_req, and include the waiting logic directly in virtblk_add_req.

[PATCH 02/16] virtio_ring: virtqueue_add_sgs, to add multiple sgs.

2013-02-19 Thread Rusty Russell
virtio_scsi can really use this, to avoid the current hack of copying the whole sg array. Some other things get slightly neater, too. Signed-off-by: Rusty Russell ru...@rustcorp.com.au --- drivers/virtio/virtio_ring.c | 144 ++ include/linux/virtio.h

[PATCH 5/5] tools/virtio: add vring_test.

2013-02-19 Thread Rusty Russell
This is mainly to test the drivers/vhost/vringh.c code, but it also uses the drivers/virtio/virtio_ring.c code for the guest side. Usage for testing the basic implementation: ./vringh_test # Test with indirect descriptors ./vringh_test --indirect # Test with

[PATCH 01/16] scatterlist: introduce sg_unmark_end

2013-02-19 Thread Rusty Russell
From: Paolo Bonzini pbonz...@redhat.com This is useful in places that recycle the same scatterlist multiple times, and do not want to incur the cost of sg_init_table every time in hot paths. Acked-by: Jens Axboe ax...@kernel.dk Signed-off-by: Paolo Bonzini pbonz...@redhat.com Signed-off-by:

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

2013-02-19 Thread Ingo Molnar
* Ingo Molnar mi...@kernel.org wrote: I'll remove it if Linus insists on it, but I think you guys are putting form before substance and utility :-( So, just to bring this to a conclusion, obviously Linus is insisting on it, so I've removed tools/kvm from tip:auto-latest, by going back from

[PATCH 00/16] virtio ring rework.

2013-02-19 Thread Rusty Russell
OK, this is (ab)uses some of Paolo's patches. The first 7 are candidates for this merge window (maybe), the rest I'm not so sure about. Thanks, Rusty. Paolo Bonzini (3): scatterlist: introduce sg_unmark_end virtio-blk: reorganize virtblk_add_req virtio-blk: use virtqueue_add_sgs on req

[PATCH 4/5] tools/virtio: separate headers more.

2013-02-19 Thread Rusty Russell
This makes them a bit more like the kernel headers, so we can include more real kernel headers in our tests. Signed-off-by: Rusty Russell ru...@rustcorp.com.au --- tools/virtio/asm/barrier.h | 14 +++ tools/virtio/linux/bug.h| 10 ++ tools/virtio/linux/err.h

[PATCH 2/5] vringh: host-side implementation of virtio rings.

2013-02-19 Thread Rusty Russell
Getting use of virtio rings correct is tricky, and a recent patch saw an implementation of in-kernel rings (as separate from userspace). This abstracts the business of dealing with the virtio ring layout from the access (userspace or direct); to do this, we use function pointers, which gcc

[PATCH 1/5] virtio_ring: expose virtio barriers for use in vringh.

2013-02-19 Thread Rusty Russell
The host side of ring needs this logic too. Signed-off-by: Rusty Russell ru...@rustcorp.com.au --- drivers/virtio/virtio_ring.c | 33 +--- include/linux/virtio_ring.h | 57 ++ 2 files changed, 63 insertions(+), 27 deletions(-)

[PATCH 3/5] tools/virtio: fix compile.

2013-02-19 Thread Rusty Russell
Didn't test that it actually works, mind you! Signed-off-by: Rusty Russell ru...@rustcorp.com.au --- tools/virtio/linux/virtio.h |9 - tools/virtio/virtio_test.c |6 +++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/tools/virtio/linux/virtio.h

[PATCH 0/5] vringh

2013-02-19 Thread Rusty Russell
This introduces vringh, which are generic accessors for virtio rings (host side). There's a host-side implementation in vhost, but it assumes that the rings are in userspace, and is tied to the vhost implementation. I have patches to adapt it to use vringh, but I'm pushing this in the next merge

Re: [PATCH 0/5] vringh

2013-02-19 Thread Michael S. Tsirkin
On Tue, Feb 19, 2013 at 08:59:27AM +1030, Rusty Russell wrote: This introduces vringh, which are generic accessors for virtio rings (host side). There's a host-side implementation in vhost, but it assumes that the rings are in userspace, and is tied to the vhost implementation. I have

Re: [PATCH v2 2/5] usb: phy: omap-usb2: use the new generic PHY framework

2013-02-19 Thread Felipe Balbi
Hi, On Tue, Feb 19, 2013 at 11:23:15AM +0530, Kishon Vijay Abraham I wrote: Used the generic PHY framework API to create the PHY. omap_usb2_suspend is split into omap_usb_suspend and omap_usb_resume in order to align with the new framework. However using the old USB PHY library cannot be

[PATCH] mips: remove unecessary __linux__ check

2013-02-19 Thread liguang
sgidefs.h has strict check for __linux__, it seems too harsh, as far as I test, 2 cross compiler for mips will not define it automatically, and exit build process with error #error Use a Linux compiler or give up. remove it will not hurt, I think. Signed-off-by: liguang lig.f...@cn.fujitsu.com

Re: [PATCH v4 6/6] Input: Add ChromeOS EC keyboard driver

2013-02-19 Thread Dmitry Torokhov
On Mon, Feb 18, 2013 at 11:20:43PM -0800, Joe Perches wrote: On Mon, 2013-02-18 at 20:13 -0800, Simon Glass wrote: On Sat, Feb 16, 2013 at 12:49 PM, Dmitry Torokhov On Fri, Feb 15, 2013 at 08:16:12PM -0800, Simon Glass wrote: + for (row = 0; row ckdev-rows; row++) { +

Re: [Bisected][-next-20130204+] [x86/kvm] udevd:[97]: segfault at ffffffffff5fd020 ip 00007fff069e277f sp 00007fff068c9ef8 error d

2013-02-19 Thread Gleb Natapov
On Mon, Feb 18, 2013 at 08:12:21PM -0500, Peter Hurley wrote: On Mon, 2013-02-18 at 19:59 -0300, Marcelo Tosatti wrote: On Wed, Feb 13, 2013 at 06:57:09AM -0500, Peter Hurley wrote: On Wed, 2013-02-13 at 12:51 +0200, Gleb Natapov wrote: On Tue, Feb 12, 2013 at 04:39:03PM -0800, H. Peter

Re: Should a swapped out page be deleted from swap cache?

2013-02-19 Thread Ric Mason
On 02/19/2013 02:06 AM, Hugh Dickins wrote: On Mon, 18 Feb 2013, Li Haifeng wrote: For explain my question, the two points should be displayed as below. 1. If an anonymous page is swapped out, this page will be deleted from swap cache and be put back into buddy system. Yes, unless the page

Re: [PATCH v4 6/6] Input: Add ChromeOS EC keyboard driver

2013-02-19 Thread li guang
在 2013-02-15五的 20:16 -0800,Simon Glass写道: Use the key-matrix layer to interpret key scan information from the EC and inject input based on the FDT-supplied key map. This driver registers itself with the ChromeOS EC driver to perform communications. [snip ...] +/* + * Returns true when there

Re: [PATCH 1/1] VSOCK: Introduce VM Sockets

2013-02-19 Thread Gerd Hoffmann
On 02/18/13 18:07, Andy King wrote: Hi Gerd, + written = transport-stream_enqueue( + vsk, msg-msg_iov, + len - total_written); Hmm, shouldn't we pass total_written to stream_enqueue here? In case a blocking send(big-buffer)

Re: [patch 1/2] kcmp: Make it to depend on CONFIG_KCMP

2013-02-19 Thread KOSAKI Motohiro
(2/19/13 1:48 AM), Cyrill Gorcunov wrote: Since kcmp syscall has been implemented (initially on x86 architecture) a number of other archs wire it up as well: xtensa, sparc, sh, s390, mips, microblaze, m68k (not taking into account those who uses asm-generic/unistd.h for syscall numbers

Re: Debugging Thinkpad T430s occasional suspend failure.

2013-02-19 Thread Paul E. McKenney
On Mon, Feb 18, 2013 at 09:41:30AM +0100, Ingo Molnar wrote: * H. Peter Anvin h...@zytor.com wrote: On 02/16/2013 11:46 AM, Linus Torvalds wrote: Adding Peter Anvin to the people, just in case he sees what's wrong with the system call stub generation that keeps excessively old object

Re[4]: [PATCH v3] mfd: syscon: Add non-DT support

2013-02-19 Thread Alexander Shiyan
... struct regmap *syscon_regmap_lookup_by_compatible(const char *s) { struct device_node *syscon_np; struct regmap *regmap; + struct syscon *syscon; + struct device *dev; syscon_np = of_find_compatible_node(NULL, NULL, s); - if

Re: Debugging Thinkpad T430s occasional suspend failure.

2013-02-19 Thread Ingo Molnar
* Paul E. McKenney paul...@linux.vnet.ibm.com wrote: On Mon, Feb 18, 2013 at 09:41:30AM +0100, Ingo Molnar wrote: * H. Peter Anvin h...@zytor.com wrote: On 02/16/2013 11:46 AM, Linus Torvalds wrote: Adding Peter Anvin to the people, just in case he sees what's wrong with the

Re: [Xen-devel] [PATCH] xen: netback: remove redundant xenvif_put

2013-02-19 Thread Andrew Jones
On Tue, 19 Feb 2013 08:03:49 + Jan Beulich jbeul...@suse.com wrote: On 19.02.13 at 06:53, David Miller da...@davemloft.net wrote: From: Andrew Jones drjo...@redhat.com Date: Mon, 18 Feb 2013 21:29:20 +0100 netbk_fatal_tx_err() calls xenvif_carrier_off(), which does a

Re: sched: circular dependency between sched_domains_mutex and oom_notify_list

2013-02-19 Thread Michael Wang
On 02/19/2013 12:48 PM, Michael Wang wrote: On 02/17/2013 01:42 PM, Sasha Levin wrote: Hi all, I was fuzzing with trinity inside a KVM tools guest, with today's -next kernel when I've hit the following spew. I suspect it's the result of adding the new rcu_oom_notify, but that happened

Re: [Xen-devel] [PATCH] xen: netback: remove redundant xenvif_put

2013-02-19 Thread Ian Campbell
On Tue, 2013-02-19 at 08:03 +, Jan Beulich wrote: On 19.02.13 at 06:53, David Miller da...@davemloft.net wrote: From: Andrew Jones drjo...@redhat.com Date: Mon, 18 Feb 2013 21:29:20 +0100 netbk_fatal_tx_err() calls xenvif_carrier_off(), which does a xenvif_put(). As callers of

Re: [PATCH] dw_dmac: adjust slave_id accordingly to request line base

2013-02-19 Thread Andy Shevchenko
On Mon, 2013-01-28 at 13:04 +0200, Andy Shevchenko wrote: On some hardware configurations we have got the request line with the offset. The patch introduces convert_slave_id() helper for that cases. The request line base is got from the platform device resources provided by the

[PATCH linux-next v2] firewire: fw_device_init: 'minor' may be used uninitialized

2013-02-19 Thread Stefan Richter
Date: Mon, 18 Feb 2013 14:24:36 -0700 From: Tim Gardner tim.gard...@canonical.com 'firewire: convert to idr_alloc()' accidentally orphaned 'minor'. drivers/firewire/core-device.c: In function ‘fw_device_init’: drivers/firewire/core-device.c:1029:24: warning: ‘minor’ may be used uninitialized in

Re: [PATCH 8/9] Thermal: Add ABI Documentation for sysfs interfaces

2013-02-19 Thread Pavel Machek
On Mon 2013-01-07 12:43:25, Durgadoss R wrote: This patch adds Documentation for ABI's introduced for thermal subsystem (under /sys/class/thermal/). So... we have deciCelsius and deciKelvin in ACPI (IIRC) and miliCelsius here. Perhaps using deciCelsius to be consistent with ACPI would be nice?

RE: [PATCH, RFC 7/8] ARM: dts: am4372: initial support

2013-02-19 Thread Mohammed, Afzal
Hi Felipe, On Mon, Feb 18, 2013 at 23:52:40, Balbi, Felipe wrote: On Mon, Feb 18, 2013 at 05:08:16PM +0530, Afzal Mohammed wrote: + uart1: serial@44e09000 { + compatible = ti,am4372-uart,ti,omap2-uart; + clock-frequency = 4800; +

Re: [PATCH 0/9] virtio: new API for addition of buffers, scatterlist changes

2013-02-19 Thread Paolo Bonzini
Il 19/02/2013 08:49, Rusty Russell ha scritto: But modulo devastating benchmarks, this wins. Because the three-part API is really, really ugly. It *looks* like a generic start - work ... work - end API, but it's not. Because you need to declare exactly what you're doing in

Re: [PATCH linux-next v2] firewire: fw_device_init: 'minor' may be used uninitialized

2013-02-19 Thread Stefan Richter
On Feb 18 Tim Gardner wrote: 'firewire: convert to idr_alloc()' accidentally orphaned 'minor'. [...] If this patch is correct, then it also ought to go to stable if it misses 3.8 final. firewire: convert to idr_alloc() is pending for merge after 3.8/ before 3.9-rc1, IOW 3.8 is not affected.

Re: [PATCH 00/16] virtio ring rework.

2013-02-19 Thread Paolo Bonzini
Il 19/02/2013 08:56, Rusty Russell ha scritto: OK, this is (ab)uses some of Paolo's patches. The first 7 are candidates for this merge window (maybe), the rest I'm not so sure about. Cool, thanks. Thanks, Rusty. Paolo Bonzini (3): scatterlist: introduce sg_unmark_end virtio-blk:

Re: [PATCH 02/16] virtio_ring: virtqueue_add_sgs, to add multiple sgs.

2013-02-19 Thread Wanlong Gao
On 02/19/2013 03:56 PM, Rusty Russell wrote: virtio_scsi can really use this, to avoid the current hack of copying the whole sg array. Some other things get slightly neater, too. Signed-off-by: Rusty Russell ru...@rustcorp.com.au I like this simple implementation. Reviewed-by: Wanlong Gao

Re: [regression] openSUSE 12.2 stable kernel 3.7.8-1 big USB 2.0 slowdown

2013-02-19 Thread Jiri Slaby
On 02/19/2013 03:56 AM, Alan Stern wrote: On Mon, 18 Feb 2013, Jiri Slaby wrote: On 02/18/2013 06:25 AM, Anja Nützel wrote: Maybe it startet with 3.7.7. I could copy several MB onto my USB 2.0 sticks with 3.7.6. (I think). Even with full speed. With openSUSE 12.2 DVD (kernel 3.4.x) it

Re: [PATCHv5 1/8] zsmalloc: add to mm/

2013-02-19 Thread Joonsoo Kim
Hello, Seth. I'm not sure that this is right time to review, because I already have seen many effort of various people to promote zxxx series. I don't want to be a stopper to promote these. :) But, I read the code, now, and then some comments below. On Wed, Feb 13, 2013 at 12:38:44PM -0600, Seth

Re: [PATCH, RFC 7/8] ARM: dts: am4372: initial support

2013-02-19 Thread Felipe Balbi
On Tue, Feb 19, 2013 at 10:10:17AM +0100, Mohammed, Afzal wrote: Hi Felipe, On Mon, Feb 18, 2013 at 23:52:40, Balbi, Felipe wrote: On Mon, Feb 18, 2013 at 05:08:16PM +0530, Afzal Mohammed wrote: + uart1: serial@44e09000 { + compatible =

Re: [RFC][PATCH] vfs: always protect diretory file-fpos with inode mutex

2013-02-19 Thread Jan Kara
On Tue 19-02-13 09:22:40, Li Zefan wrote: There's a long long-standing bug...As long as I don't know when it dates from. I've written and attached a simple program to reproduce this bug, and it can immediately trigger the bug in my box. It uses two threads, one keeps calling read(), and the

[PATCH] HID: make sensor autodetection independent of underlying bus

2013-02-19 Thread Mika Westerberg
Instead of limiting HID sensors to USB and I2C busses we can just make everything that has usage page of HID_UP_SENSOR to be included in HID_GROUP_SENSOR_HUB group. This allows the sensor-hub to work over bluetooth (and other transports) as well. Reported-by: Alexander Holler hol...@ahsoftware.de

Re: [patch 1/2] kcmp: Make it to depend on CONFIG_KCMP

2013-02-19 Thread Michal Marek
On 19.2.2013 07:48, Cyrill Gorcunov wrote: --- linux-2.6.git.orig/init/Kconfig +++ linux-2.6.git/init/Kconfig @@ -279,6 +279,15 @@ config FHANDLE get renamed. Enables open_by_handle_at(2) and name_to_handle_at(2) syscalls. +config KCMP + bool kcmp syscall +

Re: [patch 1/2] kcmp: Make it to depend on CONFIG_KCMP

2013-02-19 Thread Cyrill Gorcunov
On Tue, Feb 19, 2013 at 10:22:21AM +0100, Michal Marek wrote: On 19.2.2013 07:48, Cyrill Gorcunov wrote: --- linux-2.6.git.orig/init/Kconfig +++ linux-2.6.git/init/Kconfig @@ -279,6 +279,15 @@ config FHANDLE get renamed. Enables open_by_handle_at(2) and name_to_handle_at(2)

[PATCH] vt: add init_hide parameter to suppress boot output

2013-02-19 Thread Kirill A. Shutemov
From: Andy Ross andy.r...@windriver.com When vt.init_hide=1 is set, suppress output on newly created consoles until an affirmative switched to that console. This prevents boot output from displaying (and clobbering splash screens, etc...) without disabling the console entirely. Signed-off-by:

Re: [PATCH] ptrace: add ability to retrieve signals without removing them from a queue

2013-02-19 Thread Andrey Wagin
2013/2/16 Pedro Alves pal...@redhat.com: Forgot to reply to this bit: On 02/15/2013 07:43 PM, Oleg Nesterov wrote: We'd miss the poke variant, but that looks like something that could be always be added later. Yes. _POKE_ or _QUEUE_ or _DEQUEUE_, we can add more features if user- space

Re: [PATCH v6 08/46] CPU hotplug: Provide APIs to prevent CPU offline from atomic context

2013-02-19 Thread Michel Lespinasse
On Tue, Feb 19, 2013 at 2:50 AM, Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com wrote: But, the whole intention behind removing the parts depending on the recursive property of rwlocks would be to make it easier to make rwlocks fair (going forward) right? Then, that won't work for CPU

What is tip-bot?

2013-02-19 Thread Alexander Holler
Hello, until now I could successfully suppress my curiosity about those tip:foo messages, but as the bot (or one of them) has now catched me too, I want to ask what it is. Searching for tip(-)bot or similiar doesn't reveal some useful info (for obvious reasons). Could someone give me an URL

Re: Question about fixed-clock

2013-02-19 Thread Daniel Mack
Hi Fabio, Hi Afzal, On 19.02.2013 02:33, Fabio Estevam wrote: On Mon, Feb 18, 2013 at 8:55 PM, Daniel Mack zon...@gmail.com wrote: Hi, This might be a stupid question, but I'm somehow stuck here. I'm using a driver with the following DTS sub-node: ref25: ref25M {

[PATCH] NET/PHY: Eliminate the forced speed reduction algorithm.

2013-02-19 Thread Kirill Kapranov
NET/PHY: Eliminate the forced speed reduction algorithm. The purpose of the introduced patch is deletion of the forced speed reduction algorithm realisation from the driver module phy. The above mentioned algorithm works in the following way: if the phy detected unlink line state (connector

Re: What is tip-bot?

2013-02-19 Thread richard -rw- weinberger
On Tue, Feb 19, 2013 at 10:40 AM, Alexander Holler hol...@ahsoftware.de wrote: Hello, until now I could successfully suppress my curiosity about those tip:foo messages, but as the bot (or one of them) has now catched me too, I want to ask what it is. Searching for tip(-)bot or similiar

Re: [PATCH 1/2] mm: hotplug: implement non-movable version of get_user_pages() called get_user_pages_non_movable()

2013-02-19 Thread Lin Feng
Hi Mel, On 02/18/2013 11:17 PM, Mel Gorman wrote: SNIP result. It's a little clumsy but the memory hot-remove failure message could list what applications have pinned the pages that cannot be removed so the administrator has the option of force-killing the application. It is

Re: [PATCH v6 08/46] CPU hotplug: Provide APIs to prevent CPU offline from atomic context

2013-02-19 Thread Srivatsa S. Bhat
On 02/19/2013 03:10 PM, Michel Lespinasse wrote: On Tue, Feb 19, 2013 at 2:50 AM, Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com wrote: But, the whole intention behind removing the parts depending on the recursive property of rwlocks would be to make it easier to make rwlocks fair (going

Re: Re[4]: [PATCH v3] mfd: syscon: Add non-DT support

2013-02-19 Thread Dong Aisheng
On 19 February 2013 16:56, Alexander Shiyan shc_w...@mail.ru wrote: ... struct regmap *syscon_regmap_lookup_by_compatible(const char *s) { struct device_node *syscon_np; struct regmap *regmap; + struct syscon *syscon; + struct device *dev;

Re: [BONUS PATCH 2/2] base: core: WARN() about bogus permissions on device attributes

2013-02-19 Thread Felipe Balbi
Hi, On Mon, Feb 18, 2013 at 09:20:10PM +0200, Felipe Balbi wrote: On Mon, Feb 18, 2013 at 11:17:19AM -0800, Greg KH wrote: On Mon, Feb 18, 2013 at 09:09:04PM +0200, Felipe Balbi wrote: Whenever a struct device_attribute is registered with mismatched permissions - read permission without

Re: SYSFS errors

2013-02-19 Thread Mauro Carvalho Chehab
Em Mon, 18 Feb 2013 23:44:05 +0100 Borislav Petkov b...@alien8.de escreveu: On Mon, Feb 18, 2013 at 02:26:18PM -0800, Greg KH wrote: I don't know, it depends on if userspace can handle this properly or not. What tools rely on this sysfs file? WHat happens when they get a non-number in the

Re: [PATCH 6/6 v8] iommu/fsl: Freescale PAMU driver and IOMMU API implementation.

2013-02-19 Thread Diana Craciun
On 02/18/2013 02:52 PM, Varun Sethi wrote: + +#define PAACE_TCEF_FORMAT0_8B 0x00 +#define PAACE_TCEF_FORMAT1_RSVD 0x01 + +#define PAACE_NUMBER_ENTRIES0x1FF Where is this number coming from? Diana -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of

Re: [PATCH] mips: remove unecessary __linux__ check

2013-02-19 Thread Ralf Baechle
On Tue, Feb 19, 2013 at 04:12:51PM +0800, liguang wrote: sgidefs.h has strict check for __linux__, it seems too harsh, as far as I test, 2 cross compiler for mips will not define it automatically, and exit build process with error #error Use a Linux compiler or give up. remove it will not

Re: [PATCH] zsmalloc: Fix TLB coherency and build problem

2013-02-19 Thread Simon Jeons
On 01/28/2013 09:00 AM, Minchan Kim wrote: Recently, Matt Sealey reported he fail to build zsmalloc caused by using of local_flush_tlb_kernel_range which are architecture dependent function so !CONFIG_SMP in ARM couldn't implement it so it ends up build error following as. Confuse me! 1) Why

Re: Debugging Thinkpad T430s occasional suspend failure.

2013-02-19 Thread Frederic Weisbecker
2013/2/18 Linus Torvalds torva...@linux-foundation.org: On Mon, Feb 18, 2013 at 7:53 AM, Frederic Weisbecker fweis...@gmail.com wrote: Here is an updated version. It cleans up things a bit and boots fine with my usual config. There might be still some small details to work on but here is

Re: [PATCH, RFC 0/8] ARM: AM43 (OMAP2+) boot support

2013-02-19 Thread Santosh Shilimkar
On Monday 18 February 2013 05:05 PM, Afzal Mohammed wrote: (Resending, since it seems, LAKML doesn't accept patches with subject prefix only as RFC, but requires PATCH prefix also) Hi, This series adds minimal support to boot Linux on platforms having AM43 based SoC's. This is being sent as

Re: [PATCH] irqchip: Renesas INTC External IRQ pin driver

2013-02-19 Thread Thomas Gleixner
Magnus, On Mon, 18 Feb 2013, Magnus Damm wrote: +static inline unsigned long intc_irqpin_read(struct intc_irqpin_priv *p, + int reg) +{ + struct intc_irqpin_iomem *i = p-iomem[reg]; Newline between variable and code please. + return

Re: SYSFS errors

2013-02-19 Thread Felipe Balbi
Hi, On Tue, Feb 19, 2013 at 07:03:10AM -0300, Mauro Carvalho Chehab wrote: But my gut feeling says to stay concervative and not touch this code - we don't know what uses it and how much we would break by fixing it. The current situation is not that big of a deal IMVHO and I'd be willing

Re: SYSFS errors

2013-02-19 Thread Felipe Balbi
+netdev On Tue, Feb 19, 2013 at 08:41:47AM +0100, Alexander Stein wrote: On Monday 18 February 2013 09:49:16, Greg KH wrote: Invalid argument - /sys/devices/virtual/net/lo/speed Invalid argument - /sys/devices/virtual/net/lo/duplex This is even true for ethernet devices which do not

Re: [PATCH, RFC 2/8] ARM: twd: register clock event for 1 core SMP

2013-02-19 Thread Santosh Shilimkar
On Monday 18 February 2013 05:07 PM, Afzal Mohammed wrote: Register percpu local timer for scheduler tick in the case of one core SMP configuration. In other cases - secondary cpu's as well as boot cpu's having more than one core, this is being registered as per existing boot flow, with a

Re: [PATCH] vt: add init_hide parameter to suppress boot output

2013-02-19 Thread Pavel Machek
Hi! --- a/drivers/tty/vt/vt.c +++ b/drivers/tty/vt/vt.c @@ -165,6 +165,9 @@ module_param(global_cursor_default, int, S_IRUGO | S_IWUSR); static int cur_default = CUR_DEFAULT; module_param(cur_default, int, S_IRUGO | S_IWUSR); +static int init_hide; +module_param(init_hide, int,

Re: [PATCH, RFC 3/8] ARM: twd: clock rate from DT (if no DT clk tree)

2013-02-19 Thread Santosh Shilimkar
On Monday 18 February 2013 05:07 PM, Afzal Mohammed wrote: Add an optional property to find clock-frequency from DT. This helps as a fallback mechanism in case there is no representation of clock tree in DT. Signed-off-by: Afzal Mohammed af...@ti.com --- This won't work always because twd

RE: [PATCH v3] mmc: dw_mmc: Add MSHC compatible for Exynos4412

2013-02-19 Thread Seungwon Jeon
On Tuesday, February 19, 2013, Dongjin Kim wrote: This patch adds the compatible string for MSHC controller of Exynos4412, and share the controller specific properties with Exynos5250 since they have same features. Its driver data name is changed to exynos_drv_data instead SoC specific name.

Re: [PATCH, RFC 1/8] ARM: localtimer: return percpu clkevt on register

2013-02-19 Thread Santosh Shilimkar
On Monday 18 February 2013 05:06 PM, Afzal Mohammed wrote: Return percpu clock event on local timer register. It is the boot cpu that calls this and it can use the returned percpu clock event to register a clock event in the case of SMP configuration with one core. SMP configuration with 1 core

Re: [PATCH, RFC 4/8] ARM: am33xx: ll debug config help

2013-02-19 Thread Santosh Shilimkar
On Monday 18 February 2013 05:07 PM, Afzal Mohammed wrote: Selecting DEBUG_AM33XXUART1 routes low level debug messages to first UART instance of AM335x based SoC's. This selection is valid for upcoming AM43 based SoC's too. Make this information available upon configuring. Signed-off-by: Afzal

Re: [PATCH, RFC 5/8] ARM: OMAP2+: am43: Kconfig

2013-02-19 Thread Santosh Shilimkar
On Monday 18 February 2013 05:08 PM, Afzal Mohammed wrote: Add Kconfig option for AM43 family of SoC's, these are ARM Cortex A9 based (SMP configuration with 1 core). Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/Kconfig | 11 +++ 1 file changed, 11 insertions(+)

RE: [PATCH 6/6 v8] iommu/fsl: Freescale PAMU driver and IOMMU API implementation.

2013-02-19 Thread Sethi Varun-B16395
-Original Message- From: Craciun Diana Madalina-STFD002 Sent: Tuesday, February 19, 2013 3:34 PM To: Sethi Varun-B16395 Cc: io...@lists.linux-foundation.org; linuxppc-...@lists.ozlabs.org; linux-kernel@vger.kernel.org; Wood Scott-B07421; j...@8bytes.org; Yoder Stuart-B08248

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

2013-02-19 Thread Daniel Vetter
On Tue, Feb 19, 2013 at 3:01 AM, Stephen Rothwell s...@canb.auug.org.au wrote: On Fri, 15 Feb 2013 08:16:26 -0800 Jesse Barnes jbar...@virtuousgeek.org wrote: On Fri, 15 Feb 2013 10:30:16 +0100 Daniel Vetter daniel.vet...@ffwll.ch wrote: On Fri, Feb 15, 2013 at 3:37 AM, Stephen Rothwell

Re: [PATCH v2 1/2] sched: fix init NOHZ_IDLE flag

2013-02-19 Thread Vincent Guittot
On 18 February 2013 16:40, Frederic Weisbecker fweis...@gmail.com wrote: 2013/2/18 Vincent Guittot vincent.guit...@linaro.org: On 18 February 2013 15:38, Frederic Weisbecker fweis...@gmail.com wrote: I pasted the original at: http://pastebin.com/DMm5U8J8 We can clear the idle flag only in the

RE: [PATCH, RFC 4/8] ARM: am33xx: ll debug config help

2013-02-19 Thread Mohammed, Afzal
Hi Santosh, On Tue, Feb 19, 2013 at 15:55:59, Shilimkar, Santosh wrote: With DT, IIRC DEBUGLL is broken. So did you hack debug-macro.S to get the earlyprintk working ? No, on linux-next, ll debug works properly. Regards Afzal

Re: [patch 1/2] mm: fincore()

2013-02-19 Thread Simon Jeons
Hi Johannes, On 02/15/2013 02:34 PM, Johannes Weiner wrote: On Mon, Feb 11, 2013 at 02:12:39PM -0800, Andrew Morton wrote: Also, having to mmap the file to be able to query pagecache state is a hack. Whatever happened to the fincore() patch? I don't know, but how about this one: --- From:

Re: [PATCH] irqchip: Renesas INTC External IRQ pin driver

2013-02-19 Thread Magnus Damm
On Tue, Feb 19, 2013 at 10:03 AM, Simon Horman ho...@verge.net.au wrote: On Mon, Feb 18, 2013 at 11:28:34PM +0900, Magnus Damm wrote: From: Magnus Damm d...@opensource.se This patch adds a driver for external IRQ pins connected to the INTC block on recent SoCs from Renesas. The INTC

Re: [PATCH, RFC 6/8] ARM: OMAP2+: am43: basic dt support

2013-02-19 Thread Santosh Shilimkar
On Monday 18 February 2013 05:08 PM, Afzal Mohammed wrote: Describe minimal DT boot machine details for AM43 based SoC's. AM43 family of SoC's are ARM Cortex-A9 based with one core in SMP configuration. Low level debug could be achieved by selecting DEBUG_AM33XXUART1. To boot AM43 SoC, this

Re: [PATCH v5 00/45] CPU hotplug: stop_machine()-free CPU hotplug

2013-02-19 Thread Vincent Guittot
On 18 February 2013 20:53, Steven Rostedt rost...@goodmis.org wrote: On Mon, 2013-02-18 at 17:50 +0100, Vincent Guittot wrote: yes for sure. The problem is more linked to cpuidle and function tracer. cpu hotplug and function tracer work when cpuidle is disable. cpu hotplug and cpuidle works

  1   2   3   4   5   6   7   8   9   10   >