[PATCH 2/3] lockd: per-net NSM client creation and destruction helpers introduced

2012-09-14 Thread Stanislav Kinsbursky
NSM RPC client can be required on NFSv3 umount, when child reaper is dying (and destroying it's mount namespace). It means, that current nsproxy is set to NULL already, but creation of RPC client requires UTS namespace for gaining hostname string. This patch introduces reference counted NFS RPC cli

[PATCH 1/3] lockd: use rpc client's cl_nodename for id encoding

2012-09-14 Thread Stanislav Kinsbursky
Taking hostname from uts namespace if not safe, because this cuold be performind during umount operation on child reaper death. And in this case current->nsproxy is NULL already. Signed-off-by: Stanislav Kinsbursky Cc: --- fs/lockd/mon.c | 14 -- 1 files changed, 8 insertions(+),

[PATCH 0/3] lockd: use per-net refrence-counted NSM clients

2012-09-14 Thread Stanislav Kinsbursky
This is a bug fix for https://bugzilla.redhat.com/show_bug.cgi?id=830862. The problem is that with NFSv4 mount in container (with separated mount namesapce) and active lock on it, dying child reaped of this container will try to umount NFS and doing this will try to create RPC client to send unmon

Re: [PATCH v4 16/24] xen: clear IRQ_NOAUTOEN and IRQ_NOREQUEST

2012-09-14 Thread Marc Zyngier
On 14/09/12 15:28, Stefano Stabellini wrote: > On Fri, 14 Sep 2012, Marc Zyngier wrote: >> On 14/09/12 15:13, Stefano Stabellini wrote: >>> On Fri, 14 Sep 2012, Marc Zyngier wrote: On 14/09/12 12:13, Stefano Stabellini wrote: > Reset the IRQ_NOAUTOEN and IRQ_NOREQUEST flags that are enable

Re: tulip Ethernet driver messes up USB keyboard

2012-09-14 Thread Sergey Vlasov
On Fri, Sep 14, 2012 at 12:49:45PM +0300, Marti Raudsepp wrote: > After installing an old 100Mbit PCI Ethernet card to my machine, it has > complained a few times about spurious interrupts ("nobody cared") at a > random time of the day. After the oops is reported, my USB keyboard (HP > smart card k

Re: [PATCH] pinctrl: document semantics vs GPIO

2012-09-14 Thread Domenico Andreoli
On Fri, Sep 14, 2012 at 03:48:05PM +0200, Linus Walleij wrote: > On Fri, Sep 14, 2012 at 12:11 AM, Domenico Andreoli wrote: > > On Thu, Sep 13, 2012 at 10:11:29AM -0600, Stephen Warren wrote: > > >> I think it makes sense to more strongly recommend that for GPIO muxing, > >> the GPIO driver alway

[PATCH] CLK: clk-twl6040: Initial clock driver for OMAP4+ McPDM fclk clock

2012-09-14 Thread Peter Ujfalusi
On OMAP4+ platforms the functional clock for the McPDM IP is suplied by the twl6040 codec (bit clock on the PDM bus). This common clock driver for twl6040 will register the mcpdm_fclk clock to be used by the McPDM driver to make sure that the needed clocks are available when needed. Signed-off-by:

Re: [PATCH v4 16/24] xen: clear IRQ_NOAUTOEN and IRQ_NOREQUEST

2012-09-14 Thread Stefano Stabellini
On Fri, 14 Sep 2012, Marc Zyngier wrote: > On 14/09/12 15:13, Stefano Stabellini wrote: > > On Fri, 14 Sep 2012, Marc Zyngier wrote: > >> On 14/09/12 12:13, Stefano Stabellini wrote: > >>> Reset the IRQ_NOAUTOEN and IRQ_NOREQUEST flags that are enabled by > >>> default on ARM. If IRQ_NOAUTOEN is se

Re: [PATCH] i915: Quirk out disconnected backlight

2012-09-14 Thread David Woodhouse
On Fri, 2012-09-14 at 14:48 +0100, Matthew Garrett wrote: > On Fri, Sep 14, 2012 at 01:57:06PM +0100, Grant Likely wrote: > > > Tested on MacbookPro8,3. Without this patch both the intel_backlight and > > gmux_backlight devices get registered and userspace doesn't know which > > it should use. >

Re: [PATCH] staging: usbip: stub_dev: Fixed oops during removal of usbip_host

2012-09-14 Thread navin patidar
hi, I have sent this patch again with corrections. thank for reviewing the patch. --navin-patidar On 9/14/12, Sebastian Andrzej Siewior wrote: > On Fri, Sep 14, 2012 at 03:42:42PM +0400, Sergei Shtylyov wrote: >> >diff --git a/drivers/staging/usbip/stub_dev.c >> > b/drivers/staging/usbip/stub_d

Re: [PATCH] staging: usbip: stub_dev: Fixed oops during removal of usbip_host

2012-09-14 Thread Sebastian Andrzej Siewior
On Fri, Sep 14, 2012 at 05:16:38PM +0300, Dan Carpenter wrote: > I don't think this text is allowed on patches. Oh Oh Oh Dan, I think you crossed a line here. You were not one of the recipient and you reviewed and forwarded the email but you should have deleted this email instead. Now legal action

Re: [PATCH] Xen backend support for paged out grant targets.

2012-09-14 Thread Andres Lagar-Cavilla
On Sep 14, 2012, at 8:44 AM, Konrad Rzeszutek Wilk wrote: > On Fri, Sep 14, 2012 at 08:19:01AM +0100, Ian Campbell wrote: >> On Thu, 2012-09-13 at 20:45 +0100, Andres Lagar-Cavilla wrote: >>> On Sep 13, 2012, at 2:11 PM, Ian Campbell wrote: >>> On Thu, 2012-09-13 at 18:28 +0100, Andres Laga

Re: [PATCH v4 06/24] docs: Xen ARM DT bindings

2012-09-14 Thread Stefano Stabellini
On Fri, 14 Sep 2012, Konrad Rzeszutek Wilk wrote: > On Fri, Sep 14, 2012 at 12:13:08PM +0100, Stefano Stabellini wrote: > > Add a doc to describe the Xen ARM device tree bindings > > > > > > Changes in v4: > > > > - "xen,xen" should be last as it is less specific; > > - update reg property using

[PATCH] Xen backend support for paged out grant targets V4.

2012-09-14 Thread Andres Lagar-Cavilla
Since Xen-4.2, hvm domains may have portions of their memory paged out. When a foreign domain (such as dom0) attempts to map these frames, the map will initially fail. The hypervisor returns a suitable errno, and kicks an asynchronous page-in operation carried out by a helper. The foreign domain is

Re: [RFC] cgroup TODOs

2012-09-14 Thread Vivek Goyal
On Thu, Sep 13, 2012 at 01:58:27PM -0700, Tejun Heo wrote: [..] > * blkio is the most problematic. It has two sub-controllers - cfq > and blk-throttle. Both are utterly broken in terms of hierarchy > support and the former is known to have pretty hairy code base. I > don't see any

Re: [PATCH] strings: helper for maximum decimal encoding of an unsigned integer

2012-09-14 Thread Jan Engelhardt
On Friday 2012-09-14 15:46, Jim Rees wrote: >Jan Engelhardt wrote: > > >A pure K&R-C version would use a string: > >#define base10len(i) "\0x1\0x3\0x5\0x8\0x0A\0x0D\0x0F\0x11\0x14"[sizeof(i)] > >(if I converted them properly into hexadecimal) > The syntax is \x01\x03\x05... > >K&R doesn't have

Re: [PATCH v4 16/24] xen: clear IRQ_NOAUTOEN and IRQ_NOREQUEST

2012-09-14 Thread Marc Zyngier
On 14/09/12 15:13, Stefano Stabellini wrote: > On Fri, 14 Sep 2012, Marc Zyngier wrote: >> On 14/09/12 12:13, Stefano Stabellini wrote: >>> Reset the IRQ_NOAUTOEN and IRQ_NOREQUEST flags that are enabled by >>> default on ARM. If IRQ_NOAUTOEN is set, __setup_irq doesn't call >>> irq_startup, that i

Re: [PATCH] staging: usbip: stub_dev: Fixed oops during removal of usbip_host

2012-09-14 Thread Sergei Shtylyov
Hello. On 09/14/2012 04:36 PM, navin patidar wrote: > hi Sergei, > checkpatch.pl didn't complain any thing about patch > coding style. checkpatch.pl only complains about // comments, IIRC. But see Documentation/CodingStyle chapter 8 about multi-line comments. As for add

Re: [PATCH] staging: usbip: stub_dev: Fixed oops during removal of usbip_host

2012-09-14 Thread Dan Carpenter
On Fri, Sep 14, 2012 at 06:51:33PM +0530, navin patidar wrote: > stub_device_reset should set kernel thread pointers to NULL. > so that at the time of usbip_host removal stub_shoutdown_connection > doesn't try to kill kernel threads which are already killed. > If you wanted to put a sample Oops s

Re: [PATCH 3/6] HID: picoLCD: Add support for CIR

2012-09-14 Thread Mauro Carvalho Chehab
Em 19-08-2012 14:32, Bruno Prémont escreveu: > Implement support for picoLCD's CIR header using RC_CORE for decoding > the IR event stream. > > Signed-off-by: Bruno Prémont Sorry for a late answer. I'm with a huge backlog due to KS/2012 workshop. Acked-by: Mauro Carvalho Chehab > --- > drive

Re: [PATCH v4 16/24] xen: clear IRQ_NOAUTOEN and IRQ_NOREQUEST

2012-09-14 Thread Stefano Stabellini
On Fri, 14 Sep 2012, Marc Zyngier wrote: > On 14/09/12 12:13, Stefano Stabellini wrote: > > Reset the IRQ_NOAUTOEN and IRQ_NOREQUEST flags that are enabled by > > default on ARM. If IRQ_NOAUTOEN is set, __setup_irq doesn't call > > irq_startup, that is responsible for calling irq_unmask at startup

Inconsistency in /proc/cpuinfo about topology ?

2012-09-14 Thread JA Magallón
Hi... Probably there is something I don't understand, but it looks to me like an inconsistency in the info given by /proc/cpuinfo about processor/core/thread topology. For new processors, data seems to account for each 'physycal id', all virtual processors in the same package repeat the same inf

Re: [PATCH 1/1] pinctrl: Samsung: Fix return value

2012-09-14 Thread Linus Walleij
On Fri, Sep 14, 2012 at 2:02 PM, Sachin Kamat wrote: > Return the value obtained from of_property_count_strings() > instead of -EINVAL. > > Silences the following smatch warning: > drivers/pinctrl/pinctrl-samsung.c:529 samsung_pinctrl_parse_dt_pins() > info: why not propagate '*npins' from of_pro

[PATCH] davinci: vpif: remove unwanted header file inclusion

2012-09-14 Thread Prabhakar Lad
From: Hans Verkuil Remove old videobuf-core.h includes. Signed-off-by: Hans Verkuil Signed-off-by: Lad, Prabhakar --- drivers/media/platform/davinci/vpif_capture.h |1 - drivers/media/platform/davinci/vpif_display.h |1 - 2 files changed, 0 insertions(+), 2 deletions(-) diff --git a/

Re: [PATCH v4 02/24] xen/arm: hypercalls

2012-09-14 Thread Marc Zyngier
On 14/09/12 15:02, Stefano Stabellini wrote: > On Fri, 14 Sep 2012, Marc Zyngier wrote: >>> +/* HVC 0xEA1 */ >>> +#ifdef CONFIG_THUMB2_KERNEL >>> +#define xen_hvc .word 0xf7e08ea1 >>> +#else >>> +#define xen_hvc .word 0xe140ea71 >>> +#endif >> >> You should consider using Dave Martin's opcode injec

Re: [PATCH v4 02/24] xen/arm: hypercalls

2012-09-14 Thread Stefano Stabellini
On Fri, 14 Sep 2012, Marc Zyngier wrote: > On 14/09/12 12:13, Stefano Stabellini wrote: > > Use r12 to pass the hypercall number to the hypervisor. > > > > We need a register to pass the hypercall number because we might not > > know it at compile time and HVC only takes an immediate argument. > >

Re: [PATCH v4 16/24] xen: clear IRQ_NOAUTOEN and IRQ_NOREQUEST

2012-09-14 Thread Marc Zyngier
On 14/09/12 12:13, Stefano Stabellini wrote: > Reset the IRQ_NOAUTOEN and IRQ_NOREQUEST flags that are enabled by > default on ARM. If IRQ_NOAUTOEN is set, __setup_irq doesn't call > irq_startup, that is responsible for calling irq_unmask at startup time. > As a result event channels remain masked.

Re: [PATCH 01/19] ARM: ux500: Add skeleton Device Tree for the HREF reference board

2012-09-14 Thread Linus Walleij
On Fri, Sep 14, 2012 at 11:37 AM, Lee Jones wrote: > On Mon, Sep 10, 2012 at 01:47:09AM -0700, Linus Walleij wrote: >> On Fri, Sep 7, 2012 at 1:14 PM, Lee Jones wrote: >> >> > First commit applying the new Device Tree for ST-Ericsson's u8500 >> > based hardware reference board. >> > >> > Signed-o

Re: [PATCH] davinci: vpif: capture/display: fix race condition

2012-09-14 Thread Sergei Shtylyov
Hello. On 09/14/2012 05:53 PM, Prabhakar Lad wrote: > From: Lad, Prabhakar > channel_first_int[][] variable is used as a flag for the ISR, > This flag was being set after enabling the interrupts, There > where suitaions when the isr ocuurend even before the flag was set s/suitaions/situatio

Re: [PATCH 06/19] ARM: ux500: Add nodes for the MSP into the HREF Device Tree

2012-09-14 Thread Linus Walleij
On Fri, Sep 14, 2012 at 11:23 AM, Lee Jones wrote: > On Mon, Sep 10, 2012 at 02:53:45AM -0700, Linus Walleij wrote: >> On Fri, Sep 7, 2012 at 1:14 PM, Lee Jones wrote: >> >> > + msp3: msp@80125000 { >> > + status = "okay"; >> > + }; >> > }

Re: [RFC] cgroup TODOs

2012-09-14 Thread Vivek Goyal
On Fri, Sep 14, 2012 at 10:10:32AM +0100, Daniel P. Berrange wrote: [..] > > 6. Multiple hierarchies > > > > Apart from the apparent whness of it (I think I talked about > > that enough the last time[1]), there's a basic problem when more > > than one controllers interact - it's imp

Re: [PATCH 10/19] ARM: ux500: Remove redundant #gpio-cell properties from HREF and Snowball DT

2012-09-14 Thread Linus Walleij
On Fri, Sep 14, 2012 at 11:10 AM, Lee Jones wrote: > On Mon, Sep 10, 2012 at 04:12:23AM -0700, Linus Walleij wrote: >> On Fri, Sep 7, 2012 at 1:14 PM, Lee Jones wrote: >> >> > These properties have no place here as the populated nodes are >> > not related to GPIO Controllers. >> > >> > Signed-off

Re: [PATCH v4 00/24] Introduce Xen support on ARM (based on 3.6-rc5)

2012-09-14 Thread Stefano Stabellini
On Fri, 14 Sep 2012, Konrad Rzeszutek Wilk wrote: > I already put in these > > 1) xen/events: fix unmask_evtchn for PV on HVM guests > 2) xen: missing includes > 3) xen: update xen_add_to_physmap interface > 4) xen: Introduce xen_pfn_t for pfn and mfn types > 5) xen: clear

Re: [PATCH] pinctrl: use kasprintf() in pinmux_request_gpio()

2012-09-14 Thread Linus Walleij
On Fri, Sep 14, 2012 at 9:18 AM, Colin Cross wrote: > The one it's replacing is worse, it never sets gpiostr[15] to 0 and > kstrdup will read past the end of the buffer if the string is > truncated. I recorded this as an Acked-by ... :-) Yours, Linus Walleij -- To unsubscribe from this list: se

Re: [PATCH] strings: helper for maximum decimal encoding of an unsigned integer

2012-09-14 Thread Jim Rees
Jan Engelhardt wrote: Your way does not function as originally desired. * base10len(i) no longer expands to a compile-time constant * you will definitely have a variable base10len_vals in your objects, so you waste a read operation whenever it is used. No, I meant my original w

[PATCH] davinci: vpif: capture/display: fix race condition

2012-09-14 Thread Prabhakar Lad
From: Lad, Prabhakar channel_first_int[][] variable is used as a flag for the ISR, This flag was being set after enabling the interrupts, There where suitaions when the isr ocuurend even before the flag was set dues to which it was causing the applicaiotn hang. This patch sets channel_first_int[

Fwd: Linux hfsplus corrupts chflags bits?

2012-09-14 Thread Paolo Giarrusso
[Re-sending to LKML - it was rejected because my phone sent the mail also in HTML.] On Thu, Sep 13, 2012 at 11:35 PM, Matthew Garrett wrote: > There was a similar problem with the userflags field - we were writing > random data. Ouch, sorry for the noise! I'm pretty sure it's exactly the same pro

Re: [PATCH] strings: helper for maximum decimal encoding of an unsigned integer

2012-09-14 Thread Jim Rees
Bernd Petrovitsch wrote: [] > Pure K&R: We can (and should) make it "const" too. No "const" in K&R either. But I think we can assume the kernel will be compiled with something a bit more advance. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

[PATCH v2] pinctrl: document semantics vs GPIO

2012-09-14 Thread Linus Walleij
From: Linus Walleij The semantics of the interactions between GPIO and pinctrl may be unclear, e.g. which one do you request first? This amends the documentation to make this clear. Reported-by: Domenico Andreoli Signed-off-by: Linus Walleij --- ChangeLog v1->v2: - Reworded a bit in accordance

Re: [PATCH] Fix queueing work if !bdi_cap_writeback_dirty()

2012-09-14 Thread OGAWA Hirofumi
Fengguang Wu writes: >> > And BDI_CAP_NO_WRITEBACK is expected to be a static/constant flag that >> > always evaluate to true/false for a given bdi. There will be >> > correctness problems if you change the BDI_CAP_NO_WRITEBACK flag >> > dynamically. >> >> I'm going to use it as static or per-s

Re: [PATCH] i915: Quirk out disconnected backlight

2012-09-14 Thread Matthew Garrett
On Fri, Sep 14, 2012 at 01:57:06PM +0100, Grant Likely wrote: > Tested on MacbookPro8,3. Without this patch both the intel_backlight and > gmux_backlight devices get registered and userspace doesn't know which > it should use. Userspace should be figuring out which one to use from the type field.

Re: [PATCH] pinctrl: document semantics vs GPIO

2012-09-14 Thread Linus Walleij
On Fri, Sep 14, 2012 at 12:11 AM, Domenico Andreoli wrote: > On Thu, Sep 13, 2012 at 10:11:29AM -0600, Stephen Warren wrote: >> I think it makes sense to more strongly recommend that for GPIO muxing, >> the GPIO driver always call into the pinctrl subsystem (if needed by the >> HW) to perform tha

Re: [PATCH] strings: helper for maximum decimal encoding of an unsigned integer

2012-09-14 Thread Jim Rees
Jan Engelhardt wrote: >A pure K&R-C version would use a string: >#define base10len(i) "\0x1\0x3\0x5\0x8\0x0A\0x0D\0x0F\0x11\0x14"[sizeof(i)] >(if I converted them properly into hexadecimal) The syntax is \x01\x03\x05... K&R doesn't have the \x escape, only \0 (octal). -- To unsubscribe fr

Re: [PATCH v4 02/24] xen/arm: hypercalls

2012-09-14 Thread Marc Zyngier
On 14/09/12 12:13, Stefano Stabellini wrote: > Use r12 to pass the hypercall number to the hypervisor. > > We need a register to pass the hypercall number because we might not > know it at compile time and HVC only takes an immediate argument. > > Among the available registers r12 seems to be the

Re: [PATCH] Fix queueing work if !bdi_cap_writeback_dirty()

2012-09-14 Thread OGAWA Hirofumi
Jan Kara writes: >> page reclaim and fsync path have FS handler. So, FS can control those. >> >> The modern FS have to control to flush carefully. Many FSes are already >> ignoring if wbc->sync_mode != WB_SYNC_ALL (e.g. ext3_write_inode, >> nilfs_writepages), and have own FS task to flush. > O

Re: [RFC][PATCH] perf, intel: Expose SMI_COUNT as a fixed counter

2012-09-14 Thread Peter Zijlstra
On Wed, 2012-09-12 at 13:27 +0200, Peter Zijlstra wrote: > Subject: perf, intel: Expose SMI_COUNT as a fixed counter > From: Peter Zijlstra > Date: Wed Sep 12 13:10:53 CEST 2012 > > The Intel SMI_COUNT sadly isn't a proper PMU event but a free-running > MSR, expose it by creating another fake fix

[PATCH v1] i2c-hid: introduce HID over i2c specification implementation

2012-09-14 Thread benjamin.tissoires
From: Benjamin Tissoires Microsoft published the protocol specification of HID over i2c: http://msdn.microsoft.com/en-us/library/windows/hardware/hh852380.aspx This patch introduces an implementation of this protocol. This implementation does not includes the ACPI part of the specification. Thi

Re: [PATCH] pinctrl: document semantics vs GPIO

2012-09-14 Thread Linus Walleij
On Thu, Sep 13, 2012 at 6:11 PM, Stephen Warren wrote: > On 09/13/2012 01:01 AM, Linus Walleij wrote: >> +Here we first request a certain pin state and then request GPIO 14 to be >> +used. If you're using the subsystems orthogonally like this, always get >> +your pinctrl handle and select the des

Re: [PATCH] strings: helper for maximum decimal encoding of an unsigned integer

2012-09-14 Thread Jan Engelhardt
On Friday 2012-09-14 14:30, Jim Rees wrote in an odd quote style (the > are mine): >Bernd Petrovitsch wrote: > > A pure K&R-C version would use a string: > snip > #define base10len(i) "\0x1\0x3\0x5\0x8\0x0A\0x0D\0x0F\0x11\0x14"[sizeof(i)] > snip > (if I converted them p

Re: [PATCH] i915: Quirk out disconnected backlight

2012-09-14 Thread Chris Wilson
On Fri, 14 Sep 2012 14:12:19 +0100, David Woodhouse wrote: > On Fri, 2012-09-14 at 14:09 +0100, Grant Likely wrote: > > On Fri, Sep 14, 2012 at 2:01 PM, Chris Wilson > > wrote: > > > On Fri, 14 Sep 2012 13:57:06 +0100, Grant Likely > > > wrote: > > >> Some platforms (for instance MacbookPros)

Re: [PATCH 1/2] Update FSF postal address to be URL's.

2012-09-14 Thread Steven Rostedt
On Fri, 2012-09-07 at 16:32 -0400, Jon Stanley wrote: > The FSF now prefers to use URL's in copyright headers rather than > their postal address. This change updates the address to be > per http://www.gnu.org/licenses/gpl-howto.html > > Signed-off-by: Jon Stanley > C

Re: [PATCH] Fix queueing work if !bdi_cap_writeback_dirty()

2012-09-14 Thread Fengguang Wu
On Fri, Sep 14, 2012 at 10:07:48PM +0900, OGAWA Hirofumi wrote: > Fengguang Wu writes: > > >> The writeback task is always called with sync_mode != WB_SYNC_ALL except > >> sync_inodes_sb(). But FS has sb->s_op->sync_fs() handler for > >> sync_inodes_sb() path. So, writeback task just bothers FS t

Re: [PATCH v4 00/24] Introduce Xen support on ARM (based on 3.6-rc5)

2012-09-14 Thread Konrad Rzeszutek Wilk
On Fri, Sep 14, 2012 at 12:12:59PM +0100, Stefano Stabellini wrote: > Hi all, > this patch series implements Xen support for ARMv7 with virtualization > extensions. It allows a Linux guest to boot as dom0 and > as domU on Xen on ARM. PV console, disk and network frontends and > backends are all wo

[PULL REQUEST] i2c-embedded for 3.6

2012-09-14 Thread Wolfram Sang
Linus, please pull the last bunch of (typical) i2c-embedded driver fixes for 3.6. Also update the MAINTAINERS file to point to my tree since people keep asking where to find their patches. Thanks, Wolfram The following changes since commit 55d512e245bc7699a8800e23df1a24195dd08217: Linux 3

Re: [PATCH] cgroup: fix invalid rcu dereference

2012-09-14 Thread Aristeu Rozanski
On Fri, Sep 14, 2012 at 11:40:12AM +0200, Jiri Slaby wrote: > Commit "device_cgroup: convert device_cgroup internally to policy + > exceptions" removed rcu locks which are needed in task_devcgroup > called in this chain: devcgroup_inode_mknod OR > __devcgroup_inode_permission -> __devcgroup_inode_p

Re: [PATCH v4 15/24] xen/arm: receive Xen events on ARM

2012-09-14 Thread Konrad Rzeszutek Wilk
On Fri, Sep 14, 2012 at 12:13:17PM +0100, Stefano Stabellini wrote: > Compile events.c on ARM. > Parse, map and enable the IRQ to get event notifications from the device > tree (node "/xen"). > > Signed-off-by: Stefano Stabellini Acked-by: Konrad Rzeszutek Wilk > --- > arch/arm/include/asm/xe

Re: [PATCH v4 23/24] xen: update xen_add_to_physmap interface

2012-09-14 Thread Konrad Rzeszutek Wilk
On Fri, Sep 14, 2012 at 12:13:25PM +0100, Stefano Stabellini wrote: > Update struct xen_add_to_physmap to be in sync with Xen's version of the > structure. > The size field was introduced by: > > changeset: 24164:707d27fe03e7 > user:Jean Guyader > date:Fri Nov 18 13:42:08 2011 +

Re: [PATCH] i915: Quirk out disconnected backlight

2012-09-14 Thread Grant Likely
On Fri, Sep 14, 2012 at 2:12 PM, David Woodhouse wrote: > On Fri, 2012-09-14 at 14:09 +0100, Grant Likely wrote: >> On Fri, Sep 14, 2012 at 2:01 PM, Chris Wilson >> wrote: >> > On Fri, 14 Sep 2012 13:57:06 +0100, Grant Likely >> > wrote: >> >> Some platforms (for instance MacbookPros) have cus

Re: [PATCH v4 19/24] xen/arm: compile blkfront and blkback

2012-09-14 Thread Konrad Rzeszutek Wilk
On Fri, Sep 14, 2012 at 12:13:21PM +0100, Stefano Stabellini wrote: > Signed-off-by: Stefano Stabellini > Acked-by: Konrad Rzeszutek Wilk So this should go through Jen's tree or at least get his Ack. But doing all of these patches seperatly is painfull - and remembering where they go is a bit of

Re: Block IO controller hierarchy suppport (Was: Re: [PATCH RFC cgroup/for-3.7] cgroup: mark subsystems with broken hierarchy support and whine if cgroups are nested for them)

2012-09-14 Thread Vivek Goyal
On Fri, Sep 14, 2012 at 12:20:42PM +0400, Glauber Costa wrote: > On 09/14/2012 06:53 AM, Vivek Goyal wrote: > > On Thu, Sep 13, 2012 at 03:06:13PM -0700, Tejun Heo wrote: > >> Hey, Vivek. > >> > >> (cc'ing Rakesh and Chad who work on iosched in google). > >> > >> On Thu, Sep 13, 2012 at 10:53:41AM

[PATCH] staging: usbip: stub_dev: Fixed oops during removal of usbip_host

2012-09-14 Thread navin patidar
stub_device_reset should set kernel thread pointers to NULL. so that at the time of usbip_host removal stub_shoutdown_connection doesn't try to kill kernel threads which are already killed. Signed-off-by: navin patidar --- drivers/staging/usbip/stub_dev.c |7 --- 1 file changed, 4 insert

Re: [PATCH v4 14/24] xen/arm: initialize grant_table on ARM

2012-09-14 Thread Konrad Rzeszutek Wilk
On Fri, Sep 14, 2012 at 12:13:16PM +0100, Stefano Stabellini wrote: > Initialize the grant table mapping at the address specified at index 0 > in the DT under the /xen node. > After the grant table is initialized, call xenbus_probe (if not dom0). So we don't really care about the grant's size then

Re: [PATCH v4 24/24] MAINTAINERS: add myself as Xen ARM maintainer

2012-09-14 Thread Konrad Rzeszutek Wilk
On Fri, Sep 14, 2012 at 12:13:26PM +0100, Stefano Stabellini wrote: > Signed-off-by: Stefano Stabellini > CC: Arnd Bergmann > CC: Konrad Rzeszutek Wilk Acked-by: Konrad Rzeszutek Wilk > --- > MAINTAINERS |7 +++ > 1 files changed, 7 insertions(+), 0 deletions(-) > > diff --git a/MAI

Re: [PATCH] Fix queueing work if !bdi_cap_writeback_dirty()

2012-09-14 Thread Jan Kara
On Fri 14-09-12 21:12:02, OGAWA Hirofumi wrote: > Fengguang Wu writes: > >> >> @@ -120,6 +120,9 @@ __bdi_start_writeback(struct backing_dev > >> >> { > >> >> struct wb_writeback_work *work; > >> >> > >> >> + if (!bdi_cap_writeback_dirty(bdi)) > >> >> + return; > >> >

Re: [PATCH] strings: helper for maximum decimal encoding of an unsigned integer

2012-09-14 Thread Bernd Petrovitsch
On Fre, 2012-09-14 at 08:30 -0400, Jim Rees wrote: > Bernd Petrovitsch wrote: [...] > A pure K&R-C version would use a string: > snip > #define base10len(i) "\0x1\0x3\0x5\0x8\0x0A\0x0D\0x0F\0x11\0x14"[sizeof(i)] > snip > (if I converted them properly into hexadecim

Re: [PATCH v4 07/24] xen/arm: Xen detection and shared_info page mapping

2012-09-14 Thread Konrad Rzeszutek Wilk
On Fri, Sep 14, 2012 at 12:13:09PM +0100, Stefano Stabellini wrote: > Check for a node in the device tree compatible with "xen,xen", if it is > present set xen_domain_type to XEN_HVM_DOMAIN and continue > initialization. > > Map the real shared info page using XENMEM_add_to_physmap with > XENMAPSP

Re: [PATCH 0/6] fuse: allocate req->pages[] dynamically

2012-09-14 Thread Maxim V. Patlasov
Hi Miklos, 09/12/2012 08:49 PM, Miklos Szeredi пишет: "Maxim V. Patlasov" writes: Hi Miklos, So far as no objections appeared, I'll go ahead and replace fuse req->page with req->pagevec. It will point to an array of structs: struct page_vec { struct page*pv_page; unsigned int

[Patch v1 2/7] DA9055 Regulator driver

2012-09-14 Thread Ashish Jangam
This is the Regulator patch for the DA9055 PMIC and has got dependency on the DA9055 MFD core. This patch support all of the DA9055 regulators. The output voltages are fully programmable through I2C interface only. The platform data with regulation constraints is passed down from the board to the

Re: [RFC PATCH] drivers: phy: add generic PHY framework

2012-09-14 Thread Felipe Balbi
On Fri, Sep 14, 2012 at 02:28:19PM +0200, Marc Kleine-Budde wrote: > On 09/14/2012 01:58 PM, Kishon Vijay Abraham I wrote: > > The PHY framework provides a set of API's for the PHY drivers to > > create/remove a PHY and the PHY users to obtain a reference to the PHY > > using or without using phand

Re: [PATCH v4 09/24] xen/arm: Introduce xen_ulong_t for unsigned long

2012-09-14 Thread Konrad Rzeszutek Wilk
On Fri, Sep 14, 2012 at 12:13:11PM +0100, Stefano Stabellini wrote: > All the original Xen headers have xen_ulong_t as unsigned long type, however > when they have been imported in Linux, xen_ulong_t has been replaced with > unsigned long. That might work for x86 and ia64 but it does not for arm. >

[Patch v1 1/7] DA9055 MFD core driver

2012-09-14 Thread Ashish Jangam
This is the DA9055 MFD core driver that instantiate all the dependent component drivers and provides them the device access via I2C. This patch is functionally tested on Samsung SMDK6410. Signed-off-by: David Dajun Chen Signed-off-by: Ashish Jangam --- drivers/mfd/Kconfig | 17 +

Re: [PATCH] strings: helper for maximum decimal encoding of an unsigned integer

2012-09-14 Thread J. Bruce Fields
On Fri, Sep 14, 2012 at 08:30:14AM -0400, Jim Rees wrote: > But I still like my way better. Yeah. It looks less mysterious once you realize it's just a straightforward application of the usual coincidence 2^10 = 1024 ~ 1000 = 10^3 How about this? Also with some more defines because I l

Re: [PATCH v4 10/24] xen/arm: compile and run xenbus

2012-09-14 Thread Konrad Rzeszutek Wilk
On Fri, Sep 14, 2012 at 12:13:12PM +0100, Stefano Stabellini wrote: > bind_evtchn_to_irqhandler can legitimately return 0 (irq 0): it is not > an error. > > If Linux is running as an HVM domain and is running as Dom0, use > xenstored_local_init to initialize the xenstore page and event channel. L

RE: [PATCH] sch_red: fix weighted average calculation

2012-09-14 Thread Eric Dumazet
On Fri, 2012-09-14 at 13:01 +, Dowdal, John wrote: > Eric, thank you for reviewing the code. I now see the problem with > the patch since backlog is an integer and qavg is a fixed point number > at logW. > > We are considering another patch to update the comments to this code > (with the ac

Re: [PATCH v4 06/24] docs: Xen ARM DT bindings

2012-09-14 Thread Konrad Rzeszutek Wilk
On Fri, Sep 14, 2012 at 12:13:08PM +0100, Stefano Stabellini wrote: > Add a doc to describe the Xen ARM device tree bindings > > > Changes in v4: > > - "xen,xen" should be last as it is less specific; > - update reg property using 2 address-cells and 2 size-cells. > > > Signed-off-by: Stefano

Re: [PATCH] i915: Quirk out disconnected backlight

2012-09-14 Thread David Woodhouse
On Fri, 2012-09-14 at 14:09 +0100, Grant Likely wrote: > On Fri, Sep 14, 2012 at 2:01 PM, Chris Wilson > wrote: > > On Fri, 14 Sep 2012 13:57:06 +0100, Grant Likely > > wrote: > >> Some platforms (for instance MacbookPros) have custom backlight drivers > >> and don't use the integrated i915 bac

[Patch v1 0/7] DA9055 PMIC driver

2012-09-14 Thread Ashish Jangam
The following patch series adds support to the DA9055 PMIC. The DA9055 is a low power Power Management Integrated Circuit. This PMIC device is only controlled from an I2C device. The driver for the DA9055 consists of a core (i2c) device driver and its dependent component device drivers for: regul

Re: [PATCH] i915: Quirk out disconnected backlight

2012-09-14 Thread Grant Likely
On Fri, Sep 14, 2012 at 2:01 PM, Chris Wilson wrote: > On Fri, 14 Sep 2012 13:57:06 +0100, Grant Likely > wrote: >> Some platforms (for instance MacbookPros) have custom backlight drivers >> and don't use the integrated i915 backlight control. This patch adds a >> quirk to disable registering th

Re: [PATCH v4 02/24] xen/arm: hypercalls

2012-09-14 Thread Konrad Rzeszutek Wilk
On Fri, Sep 14, 2012 at 12:13:04PM +0100, Stefano Stabellini wrote: > Use r12 to pass the hypercall number to the hypervisor. > > We need a register to pass the hypercall number because we might not > know it at compile time and HVC only takes an immediate argument. > > Among the available regist

Re: [PATCH] Fix queueing work if !bdi_cap_writeback_dirty()

2012-09-14 Thread OGAWA Hirofumi
Fengguang Wu writes: >> The writeback task is always called with sync_mode != WB_SYNC_ALL except >> sync_inodes_sb(). But FS has sb->s_op->sync_fs() handler for >> sync_inodes_sb() path. So, writeback task just bothers FS to control to >> flush. >> >> Also it wants to control the reclaimable of

Re: [PATCH] gmux: Fix backlight set function

2012-09-14 Thread Grant Likely
On Thu, Sep 13, 2012 at 9:35 PM, David Woodhouse wrote: > On Thu, 2012-09-13 at 21:02 +0100, Grant Likely wrote: >> In commit 7e30ed6b, "gmux: Add generic write32 function", the new >> gmux_write32() function didn't include the io offset when writing >> registers. This means that backlight update

Re: [RFC PATCH] drivers: phy: add generic PHY framework

2012-09-14 Thread ABRAHAM, KISHON VIJAY
Hi, On Fri, Sep 14, 2012 at 5:58 PM, Marc Kleine-Budde wrote: > On 09/14/2012 01:58 PM, Kishon Vijay Abraham I wrote: >> The PHY framework provides a set of API's for the PHY drivers to >> create/remove a PHY and the PHY users to obtain a reference to the PHY >> using or without using phandle. If

Re: [PATCH v4 21/24] arm/v2m: initialize arch_timers even if v2m_timer is not present

2012-09-14 Thread Pawel Moll
On Fri, 2012-09-14 at 13:48 +0100, Stefano Stabellini wrote: > On Fri, 14 Sep 2012, Pawel Moll wrote: > > On Fri, 2012-09-14 at 12:13 +0100, Stefano Stabellini wrote: > > > Signed-off-by: Stefano Stabellini > > > CC: Russell King > > > CC: Pawel Moll > > > CC: Marc Zyngier > > > --- > > > arch

Re: [PATCH] i915: Quirk out disconnected backlight

2012-09-14 Thread Chris Wilson
On Fri, 14 Sep 2012 13:57:06 +0100, Grant Likely wrote: > Some platforms (for instance MacbookPros) have custom backlight drivers > and don't use the integrated i915 backlight control. This patch adds a > quirk to disable registering the intel backlight when unused on a > platform. > > Tested on

kernel 3.4.0 (i686): pagevec_lookup_tag+0x21/0x30

2012-09-14 Thread Justin Piszcz
Hi, Was curious why this occurs with postfix's cleanup every so often? [562320.275125] INFO: task cleanup:5921 blocked for more than 120 seconds. [562320.275127] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [562320.275129] cleanup D 000d 0 5921 2437

RE: [PATCH] sch_red: fix weighted average calculation

2012-09-14 Thread Dowdal, John
Eric, thank you for reviewing the code. I now see the problem with the patch since backlog is an integer and qavg is a fixed point number at logW. We are considering another patch to update the comments to this code (with the actual C code change reverted) to stop the FPP by showing the deriv

Re: [PATCH] strings: helper for maximum decimal encoding of an unsigned integer

2012-09-14 Thread Jan Engelhardt
On Friday 2012-09-14 11:17, Bernd Petrovitsch wrote: >Shouldn't that have been > snip >#define base10len(i) ((const int[]){1,3,5,8,10,13,15,17,20}[sizeof(i)]) > snip Yeah. >A pure K&R-C version would use a string: >#define base10len(i) "\0x1\0x3\0x5\0x8\0x0A\0x0D\0x0F\0x11\0x1

[PATCH] i915: Quirk out disconnected backlight

2012-09-14 Thread Grant Likely
Some platforms (for instance MacbookPros) have custom backlight drivers and don't use the integrated i915 backlight control. This patch adds a quirk to disable registering the intel backlight when unused on a platform. Tested on MacbookPro8,3. Without this patch both the intel_backlight and gmux_b

Re: [PATCH] amd64_edac: Memory size reported double on processor family 0Fh

2012-09-14 Thread Josh Hunt
On 09/12/2012 12:23 PM, Borislav Petkov wrote: Ok, I have something preliminary which seems to work fine on my K8 here. If you'd like, you can give it a run: git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp.git error-queue I've changed also debug messages, etc, so pls take a look at those an

Re: [RFC] cgroup TODOs

2012-09-14 Thread Daniel P. Berrange
On Fri, Sep 14, 2012 at 01:15:02PM +0200, Peter Zijlstra wrote: > On Thu, 2012-09-13 at 13:58 -0700, Tejun Heo wrote: > > The cpu ones handle nesting correctly - parent's accounting includes > > children's, parent's configuration affects children's unless > > explicitly overridden, and childr

Re: [PATCH] Xen backend support for paged out grant targets.

2012-09-14 Thread Konrad Rzeszutek Wilk
On Fri, Sep 14, 2012 at 08:19:01AM +0100, Ian Campbell wrote: > On Thu, 2012-09-13 at 20:45 +0100, Andres Lagar-Cavilla wrote: > > On Sep 13, 2012, at 2:11 PM, Ian Campbell wrote: > > > > > On Thu, 2012-09-13 at 18:28 +0100, Andres Lagar-Cavilla wrote: > > >> > > >> * Add placeholder in array of

[PATCH 14/14] [media] davinci: vpfe: Add documentation

2012-09-14 Thread Prabhakar Lad
From: Manjunath Hadli Add documentation on the Davinci VPFE driver. Document the subdevs, and private IOTCLs the driver implements Signed-off-by: Manjunath Hadli Signed-off-by: Lad, Prabhakar Cc: Rob Landley Cc: --- Documentation/video4linux/davinci-vpfe-mc.txt | 95 ++

Re: [PATCH] Fix queueing work if !bdi_cap_writeback_dirty()

2012-09-14 Thread Fengguang Wu
On Fri, Sep 14, 2012 at 09:12:02PM +0900, OGAWA Hirofumi wrote: > Fengguang Wu writes: > > >> >> @@ -120,6 +120,9 @@ __bdi_start_writeback(struct backing_dev > >> >> { > >> >> struct wb_writeback_work *work; > >> >> > >> >> + if (!bdi_cap_writeback_dirty(bdi)) > >> >> +

RE: [PATCH] Add 2-level GPUVM pagetables support to radeon driver.

2012-09-14 Thread Deucher, Alexander
> -Original Message- > From: Christian König [mailto:deathsim...@vodafone.de] > Sent: Friday, September 14, 2012 4:49 AM > To: Jerome Glisse > Cc: Alex Deucher; Cherkasov, Dmitrii; linux-kernel@vger.kernel.org; dri- > de...@lists.freedesktop.org; Deucher, Alexander; Dave Airlie; Dmitry > Ch

[PATCH 05/14] davinci: vpfe: add ccdc driver with media controller interface

2012-09-14 Thread Prabhakar Lad
From: Manjunath Hadli Add the CCDC driver for davinci Dm3XX SoCs. The driver supports CCDC as a media entity with 2 pads - 1 input and 1 output. The driver implements streaming support and subdev interface. The ccdc supports bayer and YUV formats. Signed-off-by: Manjunath Hadli Signed-off-by: L

[PATCH 13/14] davinci: vpfe: build infrastructure for dm365

2012-09-14 Thread Prabhakar Lad
From: Manjunath Hadli add build infrastructure for dm365 specific modules such as IPIPE, AEW, AF. Signed-off-by: Manjunath Hadli Signed-off-by: Lad, Prabhakar --- drivers/media/platform/davinci/Kconfig | 40 +- drivers/media/platform/davinci/Makefile |9

[PATCH 12/14] dm365: vpss: add vpss helper functions to be used in the main driver for setting hardware parameters

2012-09-14 Thread Prabhakar Lad
From: Manjunath Hadli add function to set sync polarity , interrupt completion and pageframe size in vpss to be used by the main driver. Signed-off-by: Manjunath Hadli Signed-off-by: Lad, Prabhakar --- drivers/media/platform/davinci/vpss.c | 32 include/medi

[PATCH 10/14] dm365: vpss: setup ISP registers

2012-09-14 Thread Prabhakar Lad
From: Manjunath Hadli enable PPCR, enbale ISIF out on BCR and disable all events. Signed-off-by: Manjunath Hadli Signed-off-by: Lad, Prabhakar --- drivers/media/platform/davinci/vpss.c | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/drivers/media/platform

[PATCH 11/14] dm365: vpss: set vpss clk ctrl

2012-09-14 Thread Prabhakar Lad
From: Manjunath Hadli request_mem_region for VPSS_CLK_CTRL register and ioremap. and enable clocks appropriately. Signed-off-by: Manjunath Hadli Signed-off-by: Lad, Prabhakar --- drivers/media/platform/davinci/vpss.c | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff

[PATCH 09/14] davinci: vpfe: resizer driver based on media framework

2012-09-14 Thread Prabhakar Lad
From: Manjunath Hadli Add the video resizer driver with the v4l2 media controller framework which takes care of resizing the video frames with both up-scaling downscaling facility. The formats that is supported is YUV422. The driver supports both continuous mode where it works in tandem with the

<    1   2   3   4   5   6   >