[PATCH] Staging/media: Use dev_ printks in cxd2099/cxd2099.h

2012-11-07 Thread YAMANE Toshiaki
fixed below checkpatch warning. - WARNING: Prefer netdev_warn(netdev, ... then dev_warn(dev, ... then pr_warn(... to printk(KERN_WARNING ... Signed-off-by: YAMANE Toshiaki --- drivers/staging/media/cxd2099/cxd2099.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH 2/4] ipc: convert prepare_copy() from macro to function

2012-11-07 Thread Andrew Morton
On Wed, 07 Nov 2012 13:05:00 +0300 Stanislav Kinsbursky wrote: > This code works if CONFIG_CHECKPOINT_RESTORE is disabled. > > ... > > --- a/ipc/msg.c > +++ b/ipc/msg.c > @@ -803,8 +803,15 @@ static inline void free_copy(struct msg_msg *copy) > free_msg(copy); > } > #else >

Re: A reliable kernel panic (3.6.2) and system crash when visiting a particular website

2012-11-07 Thread Takashi Iwai
At Wed, 7 Nov 2012 12:34:43 -0500 (EST), Alan Stern wrote: > > On Mon, 5 Nov 2012, Christof Meerwald wrote: > > > BTW, I have been able to reproduce the problem on a completely > > different machine (also running Ubuntu 12.10, but different hardware). > > The important thing appears to be that

[PATCH 4/4] perf: Create a sysfs entry for Power event format

2012-11-07 Thread Sukadev Bhattiprolu
>From bafc551c31ce23c1cba0b75d23de6c46aba90f26 Mon Sep 17 00:00:00 2001 From: Sukadev Bhattiprolu Date: Tue, 6 Nov 2012 16:30:28 -0800 Subject: [PATCH 4/4] perf: Create a sysfs entry for Power event format Create a sysfs entry, '/sys/bus/event_source/devices/cpu/format/event' which describes

[PATCH 3/4] perf/POWER7: Make event translations available in sysfs

2012-11-07 Thread Sukadev Bhattiprolu
>From d05d1ce6d55bf339eee6230ded9f5dd1351f60e5 Mon Sep 17 00:00:00 2001 From: Sukadev Bhattiprolu Date: Tue, 6 Nov 2012 14:07:36 -0800 Subject: [PATCH 3/4] perf/POWER7: Make event translations available in sysfs Make the perf events supported by POWER7 available via sysfs. $ ls

[PATCH 2/4] perf/Power7: Use macros to identify perf events

2012-11-07 Thread Sukadev Bhattiprolu
>From 8a0dbd8f3fce2834292efa50c15ca64d4f6a6536 Mon Sep 17 00:00:00 2001 From: Sukadev Bhattiprolu Date: Wed, 7 Nov 2012 09:36:14 -0800 Subject: [PATCH 2/4] perf/Power7: Use macros to identify perf events Define and use macros to identify perf events codes This would make it easier and more

Re: [PATCH v3 1/1] percpu_rw_semaphore: reimplement to not block the readers unnecessarily

2012-11-07 Thread Mikulas Patocka
On Wed, 7 Nov 2012, Oleg Nesterov wrote: > On 11/07, Mikulas Patocka wrote: > > > > It looks sensible. > > > > Here I'm sending an improvement of the patch - I changed it so that there > > are not two-level nested functions for the fast path and so that both > > percpu_down_read and

[PATCH 1/4] perf/powerpc: Use uapi/unistd.h to fix build error

2012-11-07 Thread Sukadev Bhattiprolu
>From b8beef080260c1625c8f801105504a82005295e5 Mon Sep 17 00:00:00 2001 From: Sukadev Bhattiprolu Date: Wed, 31 Oct 2012 11:21:28 -0700 Subject: [PATCH 1/4] perf/powerpc: Use uapi/unistd.h to fix build error Use the 'unistd.h' from arch/powerpc/include/uapi to build the perf tool.

[PATCH 1/1] TPM: STMicroelectronics ST33 I2C V1.2.0

2012-11-07 Thread Mathias Leblanc
* STMicroelectronics version 1.2.0, Copyright (C) 2010 * STMicroelectronics comes with ABSOLUTELY NO WARRANTY. * This is free software, and you are welcome to redistribute it * under certain conditions. This is the driver for TPM chip from ST Microelectronics. If you have a TPM security chip

Re: [PATCH v3 2/7] atm: add owner of push() callback to atmvcc

2012-11-07 Thread chas williams - CONTRACTOR
On Tue, 6 Nov 2012 23:16:57 +0100 Krzysztof Mazur wrote: > The atm is using atmvcc->push(vcc, NULL) callback to notify protocol > that vcc will be closed and protocol must detach from it. This callback > is usually used by protocol to decrement module usage count by module_put(), > but it

Re: [PATCH 2/5] ARM: AT91SAM9G45: same platform data structure for all crypto peripherals

2012-11-07 Thread Jean-Christophe PLAGNIOL-VILLARD
On 17:32 Tue 06 Nov , Nicolas Royer wrote: > Only AES use DMA in AT91SAM9G45 (TDES and SHA use PDC). > > However latest Atmel TDES and SHA IP releases use DMA instead of PDC. > --> Atmel TDES and SHA drivers need DMA platform data for those IP releases. > > Goal of this patch is to use the

Re: [PATCH 0/3] mtip32xx: Few small fixes

2012-11-07 Thread Jens Axboe
On 2012-11-07 13:57, Selvan Mani wrote: > Hi Jens, > > Few more minor fixes for 3.7. > > This patchset contains fix for the lba address problem in big-endian, > potential > crash on secure erase operation and incorrect erase mode mask > > Asai Thambi S P (3): > mtip32xx: fix potential crash

Re: [RFC v4+ hot_track 10/19] vfs: introduce hot func register framework

2012-11-07 Thread Darrick J. Wong
On Wed, Nov 07, 2012 at 04:34:35PM +0800, Zhi Yong Wu wrote: > On Wed, Nov 7, 2012 at 7:30 AM, Darrick J. Wong > wrote: > > On Mon, Oct 29, 2012 at 12:30:52PM +0800, zwu.ker...@gmail.com wrote: > >> From: Zhi Yong Wu > >> > >> Introduce one framwork to enable that specific FS > >> can

Re: [REGRESSION] 3.7-rc3+git hard lockup on CPU after inserting/removing USB stick

2012-11-07 Thread Martin Steigerwald
Am Mittwoch, 7. November 2012 schrieb Greg Kroah-Hartman: > On Wed, Nov 07, 2012 at 03:01:38PM +0100, Martin Steigerwald wrote: > > Hi! > > > > I had this with something in between 3.7-rc3 und 3.7-rc4 after > > inserting and removing an USB stick. This example is with a kernel + > > f2fs patches

Re: [PATCH 0/9] Staging: winbond: Fixed coding style issues

2012-11-07 Thread Adil Mujeeb
Hi, On Wed, Oct 24, 2012 at 12:15 AM, Greg KH wrote: > On Tue, Oct 23, 2012 at 03:41:08PM +0530, Adil Mujeeb wrote: >> On Tue, Oct 23, 2012 at 2:04 AM, Greg KH wrote: >> > On Fri, Oct 12, 2012 at 10:07:06PM +0530, Adil Mujeeb wrote: >> >> >> >> winbond directory files have lots of coding style

Re: [PATCH 6/6 v4] cpufreq, highbank: add support for highbank cpufreq

2012-11-07 Thread Rob Herring
On 11/07/2012 12:32 PM, Mark Langsdorf wrote: > Highbank processors depend on the external ECME to perform voltage > management based on a requested frequency. Communication between the > highbank and ECME cores happens over the pl320 IPC channel. > > Signed-off-by: Mark Langsdorf > Cc:

Re: BUG: enabling psacct breaks fsfreeze

2012-11-07 Thread Jan Kara
On Thu 01-11-12 23:50:53, Jan Kara wrote: > On Thu 01-11-12 15:23:25, Nikola Ciprich wrote: > > Nov 1 14:23:25 vmnci22 [ 1075.178123] SysRq : Show Blocked State > > Nov 1 14:23:25 vmnci22 [ 1075.180555] taskPC > > stack pid father > > Nov 1 14:23:25 vmnci22 [

[PATCH 4/4] Staging: winbond: wb35rx_s: Fixed coding style issue

2012-11-07 Thread Adil Mujeeb
Fixed checpatch.pl reported ERRORs (excluding WARNING of line over 80 characters) Signed-off-by: Adil Mujeeb --- drivers/staging/winbond/wb35rx_s.h | 62 ++-- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/drivers/staging/winbond/wb35rx_s.h

[PATCH 3/4] Staging: winbond: wb35rx_f: Fixed coding style issues

2012-11-07 Thread Adil Mujeeb
Fixed checkpatch.pl reported ERRORs Signed-off-by: Adil Mujeeb --- drivers/staging/winbond/wb35rx_f.h | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/winbond/wb35rx_f.h b/drivers/staging/winbond/wb35rx_f.h index 1fdf65e..559bdca 100644 ---

Re: [RFC v4+ hot_track 03/19] vfs: add I/O frequency update function

2012-11-07 Thread Darrick J. Wong
On Wed, Nov 07, 2012 at 04:27:05PM +0800, Zhi Yong Wu wrote: > On Wed, Nov 7, 2012 at 6:45 AM, Darrick J. Wong > wrote: > > On Mon, Oct 29, 2012 at 12:30:45PM +0800, zwu.ker...@gmail.com wrote: > >> From: Zhi Yong Wu > >> > >> Add some util helpers to update access frequencies > >> for one

[PATCH 2/4] Staging: winbond: mds: Fixed coding style issues

2012-11-07 Thread Adil Mujeeb
Removed printk tracing call Signed-off-by: Adil Mujeeb --- drivers/staging/winbond/mds.c |5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/staging/winbond/mds.c b/drivers/staging/winbond/mds.c index 43990e8..faa93f0 100644 --- a/drivers/staging/winbond/mds.c +++

[PATCH 0/4] Staging: winbond: wbusb: Fixed coding style issue

2012-11-07 Thread Adil Mujeeb
winbond directory files have lots of coding style issues. The patch set tries to remove *most* (if not all) of the coding style issues. checkpatch.pl script can still complain but major part of the serious coding style issues have been rectified. -- To unsubscribe from this list: send the

[PATCH 1/4] Staging: winbond: wbusb: Fixed coding style issue

2012-11-07 Thread Adil Mujeeb
Removed unnecessary printk and pr_debug tracing calls Signed-off-by: Adil Mujeeb --- drivers/staging/winbond/wbusb.c | 14 -- 1 file changed, 14 deletions(-) diff --git a/drivers/staging/winbond/wbusb.c b/drivers/staging/winbond/wbusb.c index 48aa136..3fa1ae4 100644 ---

Re: [PATCH] nouveau: Fix crash after D3

2012-11-07 Thread Marcin Slusarz
On Tue, Nov 06, 2012 at 10:03:40PM +0800, Daniel J Blueman wrote: > In 3.7-rc4, when starting X with the integrated GPU and suspending the > discrete GPU, > after one or more 32-bit applications are used (eg Skype) and X is stopped, > we hit a panic. > > Prevent this by testing if the fini

[PATCH 6/6] VSOCK: header and config files.

2012-11-07 Thread George Zhang
VSOCK header files, Makefiles and Kconfig systems for Linux VSocket module. Signed-off-by: George Zhang --- include/linux/socket.h |4 net/Kconfig |1 net/Makefile|1 net/vmw_vsock/Kconfig | 14 +

Re: [PATCH 1/4] mfd: ab8500: add devicetree support for fuelgauge

2012-11-07 Thread Rajanikanth H V
On Thu, 1 Nov 2012, Francesco Lavra wrote: [...] + btech = of_get_property(np_bat_supply, + "stericsson,battery-type", NULL); + if (!btech) { + dev_warn(dev, "missing property battery-name/type\n"); + strcpy(bat_tech, "UNKNOWN"); + }

[PATCH 5/6] VSOCK: utility functions.

2012-11-07 Thread George Zhang
VSOCK utility functions for Linux VSocket module. Signed-off-by: George Zhang --- net/vmw_vsock/util.c | 626 ++ net/vmw_vsock/util.h | 312 + 2 files changed, 938 insertions(+), 0 deletions(-) create mode 100644

[PATCH 4/6] VSOCK: statistics implementation.

2012-11-07 Thread George Zhang
VSOCK stats for VMCI Stream Sockets protocol. Signed-off-by: George Zhang --- net/vmw_vsock/stats.c | 37 net/vmw_vsock/stats.h | 219 + 2 files changed, 256 insertions(+), 0 deletions(-) create mode 100644 net/vmw_vsock/stats.c

[PATCH 3/6] VSOCK: notification implementation.

2012-11-07 Thread George Zhang
VSOCK control notifications for VMCI Stream Sockets protocol. Signed-off-by: George Zhang --- net/vmw_vsock/notify.c | 984 net/vmw_vsock/notify.h | 130 ++ 2 files changed, 1114 insertions(+), 0 deletions(-) create mode 100644

[PATCH 2/6] VSOCK: vsock address implementaion.

2012-11-07 Thread George Zhang
VSOCK linux address code implementation. Signed-off-by: George Zhang --- net/vmw_vsock/vsock_addr.c | 264 net/vmw_vsock/vsock_addr.h | 40 +++ 2 files changed, 304 insertions(+), 0 deletions(-) create mode 100644 net/vmw_vsock/vsock_addr.c

[PATCH 0/6] VSOCK for Linux upstreaming

2012-11-07 Thread George Zhang
* * * This series of VSOCK linux upstreaming patches include latest udpate from VMware. Summary of changes: - Fix some new sparse issues. - Remove some unneeded casts for VMCI. - add more __user annotations for VMCI. - Remove kernel version-specific bits from

Re: [GIT] floppy

2012-11-07 Thread Sasha Levin
Hi guys! This is me complaining that I still see the spews that this pull request should fix, probably because this mail got lost. Thanks, Sasha On Fri, Oct 26, 2012 at 3:15 PM, Jiri Kosina wrote: > Jens, > > please pull from > >

[PATCH 12/12] VMCI: Some header and config files.

2012-11-07 Thread George Zhang
VMCI head config patch Adds all the necessary files to enable building of the VMCI module with the Linux Makefiles and Kconfig systems. Also adds the header files used for building modules against the driver. Signed-off-by: George Zhang --- drivers/misc/Kconfig|1

[PATCH 11/12] VMCI: host side driver implementation.

2012-11-07 Thread George Zhang
VMCI host side driver code implementation. Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_host.c | 1033 + 1 files changed, 1033 insertions(+), 0 deletions(-) create mode 100644 drivers/misc/vmw_vmci/vmci_host.c diff --git

[PATCH 10/12] VMCI: guest side driver implementation.

2012-11-07 Thread George Zhang
VMCI guest side driver code implementation. Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_guest.c | 762 1 files changed, 762 insertions(+), 0 deletions(-) create mode 100644 drivers/misc/vmw_vmci/vmci_guest.c diff --git

[PATCH 09/12] VMCI: routing implementation.

2012-11-07 Thread George Zhang
VMCI routing code is responsible for routing between various hosts/guests as well as routing in nested scenarios. Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_route.c | 229 drivers/misc/vmw_vmci/vmci_route.h | 30 + 2 files changed,

[PATCH 08/12] VMCI: resource object implementation.

2012-11-07 Thread George Zhang
VMCI resource tracks all used resources within the vmci code. Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_resource.c | 232 + drivers/misc/vmw_vmci/vmci_resource.h | 59 2 files changed, 291 insertions(+), 0 deletions(-) create mode

[PATCH 06/12] VMCI: handle array implementation.

2012-11-07 Thread George Zhang
VMCI handle code adds support for dynamic arrays that will grow if they need to. Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_handle_array.c | 142 + drivers/misc/vmw_vmci/vmci_handle_array.h | 52 +++ 2 files changed, 194 insertions(+), 0

[PATCH 05/12] VMCI: event handling implementation.

2012-11-07 Thread George Zhang
VMCI event code that manages event handlers and handles callbacks when specific events fire. Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_event.c | 229 drivers/misc/vmw_vmci/vmci_event.h | 25 2 files changed, 254 insertions(+), 0

[PATCH 04/12] VMCI: device driver implementaton.

2012-11-07 Thread George Zhang
VMCI driver code implementes both the host and guest personalities of the VMCI driver. Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_driver.c | 116 +++ drivers/misc/vmw_vmci/vmci_driver.h | 50 +++ 2 files changed, 166

[PATCH 03/12] VMCI: doorbell implementation.

2012-11-07 Thread George Zhang
VMCI doorbell code allows for notifcations between host and guest. Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_doorbell.c | 605 + drivers/misc/vmw_vmci/vmci_doorbell.h | 51 +++ 2 files changed, 656 insertions(+), 0 deletions(-) create mode

[PATCH 02/12] VMCI: datagram implementation.

2012-11-07 Thread George Zhang
VMCI datagram Implements datagrams to allow data to be sent between host and guest. Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_datagram.c | 506 + drivers/misc/vmw_vmci/vmci_datagram.h | 52 +++ 2 files changed, 558 insertions(+), 0

[PATCH 01/12] VMCI: context implementation.

2012-11-07 Thread George Zhang
VMCI Context code maintains state for vmci and allows the driver to communicate with multiple VMs. Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_context.c | 1246 ++ drivers/misc/vmw_vmci/vmci_context.h | 183 + 2 files changed, 1429

[PATCH 00/12] VMCI for Linux upstreaming

2012-11-07 Thread George Zhang
* * * This series of VMCI linux upstreaming patches include latest udpate from VMware. Summary of changes: - Fix some new sparse issues. - Remove some unneeded casts for VMCI. - add more __user annotations for VMCI. - Remove kernel version-specific bits from

[PATCH 3/6 v4] cpufreq: tolerate inexact values when collecting stats

2012-11-07 Thread Mark Langsdorf
When collecting stats, if a frequency doesn't match the table, go through the table again with both the search frequency and table values shifted left by 10 bits. Signed-off-by: Mark Langsdorf Cc: MyungJoo Ham --- Changes from v3, v2 None Changes from v1: Implemented a simple

Re: [PATCH v3] SUNRPC: set desired file system root before connecting local transports

2012-11-07 Thread J. Bruce Fields
On Tue, Nov 06, 2012 at 08:36:05AM -0500, J. Bruce Fields wrote: > On Tue, Nov 06, 2012 at 08:10:18AM -0500, Christoph Hellwig wrote: > > On Tue, Nov 06, 2012 at 08:07:06AM -0500, J. Bruce Fields wrote: > > > So you're worried that a bug in the nfs code could modify the root and > > > then not

[PATCH 4/6 v4] arm highbank: add support for pl320 IPC

2012-11-07 Thread Mark Langsdorf
From: Rob Herring The pl320 IPC allows for interprocessor communication between the highbank A9 and the EnergyCore Management Engine. The pl320 implements a straightforward mailbox protocol. Signed-off-by: Mark Langsdorf Signed-off-by: Rob Herring --- Changes from v3, v2 None Changes

[PATCH 6/6 v4] cpufreq, highbank: add support for highbank cpufreq

2012-11-07 Thread Mark Langsdorf
Highbank processors depend on the external ECME to perform voltage management based on a requested frequency. Communication between the highbank and ECME cores happens over the pl320 IPC channel. Signed-off-by: Mark Langsdorf Cc: devicetree-disc...@lists.ozlabs.org Cc: Rafael J. Wysocki ---

[PATCH 5/6 v4] power: export opp cpufreq functions

2012-11-07 Thread Mark Langsdorf
These functions are needed to make the cpufreq-core0 and highbank-cpufreq drivers loadable as modules. Signed-off-by: Mark Langsdorf Acked-by: Nishanth Menon --- Changes from v3 includes linux/export.h instead of module.h Changes from v2 None. Changes from v1 Added

[PATCH 0/6 v4] cpufreq: add support for Calxeda ECX-1000 (highbank)

2012-11-07 Thread Mark Langsdorf
This patch series adds cpufreq support for the Calxeda ECX-1000 (highbank) SoCs. The driver is based on the cpufreq-cpu0 driver. Because of the unique way that highbank uses the EnergyCore Management Engine to manage voltages, it was not possible to use the cpufreq-cpu0 driver. --Mark Langsdorf

[PATCH 2/6 v4] clk, highbank: Prevent glitches in non-bypass reset mode

2012-11-07 Thread Mark Langsdorf
The highbank clock will glitch with the current code if the clock rate is reset without relocking the PLL. Program the PLL correctly to preven glitches. Signed-off-by: Mark Langsdorf Signed-off-by: Rob Herring Cc: mturque...@linaro.org --- Changes from v3 Changelog text and patch name

[PATCH 1/6 v4] arm: use devicetree to get smp_twd clock

2012-11-07 Thread Mark Langsdorf
From: Rob Herring Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf --- Changes from v3 No longer setting *clk to NULL in twd_get_clock() Changes from v2 Turned the check for the node pointer into an if-then-else statement. Removed the second, redundant

Re: Why Cypress does not upstream its trackpad driver?

2012-11-07 Thread Kamal Mostafa
On Tue, 2012-11-06 at 17:47 -0500, Ozan Çağlayan wrote: > Hi, > > This driver [0] was written with a cooperation of Cypress, Dell and > Canonical Engineers within the last 3-4 months. It is very nice that > Cypress as a vendor cooperated with Canonical (Because Canonical works > with Dell for

Re: [PATCH v4 0/3] ocp2scp: add non-dt support

2012-11-07 Thread Tony Lindgren
* Kishon Vijay Abraham I [121102 01:16]: > This patch series allows ocp2scp driver to create its child devices > from the platform data. > > In omap platforms, usb phy is connected to ocp2scp and usb phy is needed > for MUSB to be functional. When ocp2scp driver was added, it had only dt >

Re: [PATCH v4 1/2] x86, pci: Reset PCIe devices at boot time

2012-11-07 Thread Yinghai Lu
On Tue, Nov 6, 2012 at 10:48 PM, Takao Indoh wrote: > I'm rewriting my reset code using your dummy pci_dev patch. Do you have > a plan to post it or can I post it with my patches? Yes, you can post it with your patches if you like. Yinghai -- To unsubscribe from this list: send the line

Re: [PATCH] add tpm_xenu.ko: Xen Virtual TPM frontend driver

2012-11-07 Thread Matthew Fioravante
On 11/07/2012 09:46 AM, Kent Yoder wrote: Hi Matthew, On Mon, Nov 05, 2012 at 10:09:57AM -0500, Matthew Fioravante wrote: This patch ports the xen vtpm frontend driver for linux from the linux-2.6.18-xen.hg tree to linux-stable. Signed-off-by: Matthew Fioravante ---

Re: [PATCH 3/3] pwm: New driver to support PWM driven LEDs on TWL4030/6030 series of PMICs

2012-11-07 Thread Grazvydas Ignotas
On Wed, Nov 7, 2012 at 4:44 PM, Peter Ujfalusi wrote: > The driver supports the following LED outputs as generic PWM driver: > TWL4030 LEDA and LEDB (PWMA and PWMB) > TWL6030 Charging indicator LED (PWM LED) > > On TWL6030 when the PWM requested LED is configured to be controlled by SW. > In this

Re: [PATCH 0/6 v3] cpufreq: add support for Calxeda ECX-1000 (highbank)

2012-11-07 Thread Mark Langsdorf
On 11/06/2012 02:18 PM, Mark Langsdorf wrote: > This patch series adds cpufreq support for the Calxeda > ECX-1000 (highbank) SoCs. The driver is based on the > cpufreq-cpu0 driver. Because of the unique way that > highbank uses the EnergyCore Management Engine to manage > voltages, it was not

Re: [PATCH 2/2] oom: rework dump_tasks to optimize memcg-oom situation

2012-11-07 Thread David Rientjes
On Wed, 7 Nov 2012, Sha Zhengju wrote: > From: Sha Zhengju > > If memcg oom happening, don't scan all system tasks to dump memory state of > eligible tasks, instead we iterates only over the process attached to the oom > memcg and avoid the rcu lock. > Avoiding the rcu lock isn't actually

Re: [PATCH 1/2] memcg, oom: provide more precise dump info while memcg oom happening

2012-11-07 Thread David Rientjes
On Wed, 7 Nov 2012, Sha Zhengju wrote: > diff --git a/mm/memcontrol.c b/mm/memcontrol.c > index 0eab7d5..2df5e72 100644 > --- a/mm/memcontrol.c > +++ b/mm/memcontrol.c > @@ -118,6 +118,14 @@ static const char * const mem_cgroup_events_names[] = { > "pgmajfault", > }; > > +static const

Re: [PATCH v3 1/1] percpu_rw_semaphore: reimplement to not block the readers unnecessarily

2012-11-07 Thread Oleg Nesterov
On 11/07, Mikulas Patocka wrote: > > It looks sensible. > > Here I'm sending an improvement of the patch - I changed it so that there > are not two-level nested functions for the fast path and so that both > percpu_down_read and percpu_up_read use the same piece of code (to reduce > cache

Re: [PATCH 2/3] pwm: New driver to support PWMs on TWL4030/6030 series of PMICs

2012-11-07 Thread Grazvydas Ignotas
On Wed, Nov 7, 2012 at 4:44 PM, Peter Ujfalusi wrote: > The driver supports the following PWM outputs: > TWL4030 PWM0 and PWM1 > TWL6030 PWM1 and PWM2 > > On TWL4030 the PWM signals are muxed. Upon requesting the PWM the driver > will select the correct mux so the PWM can be used. When the PWM

Re: [PATCH 3/9] cgroup: implement generic child / descendant walk macros

2012-11-07 Thread Michal Hocko
On Wed 07-11-12 09:01:18, Tejun Heo wrote: > Hello, Michal. > > On Wed, Nov 07, 2012 at 05:54:57PM +0100, Michal Hocko wrote: > > > +struct cgroup *cgroup_next_descendant_pre(struct cgroup *pos, > > > + struct cgroup *cgroup) > > > +{ > > > + struct cgroup *next;

Re: [PATCH 1/1] TPM: STMicroelectronics ST33 I2C

2012-11-07 Thread Kent Yoder
On Wed, Nov 07, 2012 at 04:23:14PM +0100, Mathias LEBLANC wrote: > Hi Kent, > > Sorry for sending new driver, it was a mistake. > Today, I will upload the new version of the Linux driver without the errors > that you have mentioned in your previous mail. Ok, np. > > About : > > +/* > > + *

Re: [PATCH 1/9 v2] cgroup: add cgroup_subsys->post_create()

2012-11-07 Thread Michal Hocko
On Wed 07-11-12 09:15:08, Tejun Heo wrote: [...] > This patch adds ->post_create(). It's called after all ->create() > succeeded and the cgroup is linked into the generic cgroup hierarchy. > This plays the counterpart of ->pre_destroy(). > > When used in combination with the to-be-added generic

Re: A reliable kernel panic (3.6.2) and system crash when visiting a particular website

2012-11-07 Thread Alan Stern
On Mon, 5 Nov 2012, Christof Meerwald wrote: > BTW, I have been able to reproduce the problem on a completely > different machine (also running Ubuntu 12.10, but different hardware). > The important thing appears to be that the USB audio device is > connected via a USB 2.0 hub (and then using the

[PATCH 2/5 v3] ARM: AT91SAM9G45: same platform data structure for all crypto peripherals

2012-11-07 Thread Nicolas Royer
Only AES use DMA in AT91SAM9G45 (TDES and SHA use PDC). However latest Atmel TDES and SHA IP releases use DMA instead of PDC. --> Atmel TDES and SHA drivers need DMA platform data for those IP releases. Goal of this patch is to use the same platform data structure for all Atmel crypto

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

2012-11-07 Thread Stephen Warren
On 11/07/2012 03:19 AM, Benoit Cousson wrote: > Hi Panto, > > On 11/07/2012 09:13 AM, Pantelis Antoniou wrote: >> Hi Grant >> >> On Nov 6, 2012, at 9:45 PM, Grant Likely wrote: >> >>> On Tue, Nov 6, 2012 at 7:34 PM, Pantelis Antoniou >>> wrote: >> >> [ snip ] >>> >>> g. >> >> Since we've started

Re: [PATCH 2/5 v2] ARM: AT91SAM9G45: same platform data structure for all crypto peripherals

2012-11-07 Thread Jean-Christophe PLAGNIOL-VILLARD
On 17:59 Wed 07 Nov , Eric Bénard wrote: > Hi Jean-Christophe, > > Le Wed, 7 Nov 2012 17:45:23 +0100, > Jean-Christophe PLAGNIOL-VILLARD a écrit : > > > @@ -1900,7 +1900,7 @@ static void __init at91_add_device_tdes(void) {} > > > *

Re: [RFC v3 0/3] vmpressure_fd: Linux VM pressure notifications

2012-11-07 Thread Greg Thelen
On Wed, Nov 07 2012, Kirill A. Shutemov wrote: > On Wed, Nov 07, 2012 at 02:53:49AM -0800, Anton Vorontsov wrote: >> Hi all, >> >> This is the third RFC. As suggested by Minchan Kim, the API is much >> simplified now (comparing to vmevent_fd): >> >> - As well as Minchan, KOSAKI Motohiro didn't

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

2012-11-07 Thread Stephen Warren
On 11/07/2012 01:47 AM, Pantelis Antoniou wrote: > Hi Stephen, > > On Nov 6, 2012, at 11:37 PM, Stephen Warren wrote: > >> On 11/05/2012 01:40 PM, Grant Likely wrote: >>> Hey folks, >>> >>> As promised, here is my early draft to try and capture what device >>> tree overlays need to do and how to

Re: [BUGFIX] PM: Fix active child counting when disabled and forbidden

2012-11-07 Thread Alan Stern
On Wed, 7 Nov 2012, Rafael J. Wysocki wrote: > > The PCI subsystem assumes that > > driverless devices are not in use, so they are disabled for runtime PM > > and marked as suspended. This is not appropriate for VGA devices, > > which can indeed be used without a driver. > > > > I'm not sure

Re: [PATCH] tcp: Replace infinite loop on recvmsg bug with proper crashusers

2012-11-07 Thread Dave Jones
On Wed, Nov 07, 2012 at 09:05:02AM -0800, Eric Dumazet wrote: > On Wed, 2012-11-07 at 11:43 -0500, Dave Jones wrote: > > > dude, look at the bug reports I just pointed you at. > > People _are_ aware there are bugs there. > > > If I remember well, I helped to fix some of them. indeed, and

[PATCH 1/9 v2] cgroup: add cgroup_subsys->post_create()

2012-11-07 Thread Tejun Heo
Currently, there's no way for a controller to find out whether a new cgroup finished all ->create() allocatinos successfully and is considered "live" by cgroup. This becomes a problem later when we add generic descendants walking to cgroup which can be used by controllers as controllers don't

Re: [PATCH 2/2] gpio: tegra: fix suspend/resume apis

2012-11-07 Thread Stephen Warren
On 11/07/2012 08:01 AM, Laxman Dewangan wrote: > Following are changes done to fix the suspend/resume > functionality of tegra gpio driver: > - Protect suspend/resume callbacks with CONFIG_PM_SLEEP > because CONFIG_PM doesn't actually enable any of the PM callbacks, it > only allows to enable

Re: [PATCH 1/2] gpio: tegra: create irq mapping in gpio_to_irq

2012-11-07 Thread Stephen Warren
On 11/07/2012 08:01 AM, Laxman Dewangan wrote: > The gpio interrupts get mapped linearly and hence the mapping > of irq need to be created by irq_create_mapping(). > > The function gpio_to_irq() returns the irq by irq_find_mapping() > and so returns 0 as there is no mapping created. Fix the

[PATCH v3 1/1] percpu_rw_semaphore: reimplement to not block the readers unnecessarily

2012-11-07 Thread Mikulas Patocka
It looks sensible. Here I'm sending an improvement of the patch - I changed it so that there are not two-level nested functions for the fast path and so that both percpu_down_read and percpu_up_read use the same piece of code (to reduce cache footprint). --- Currently the writer does

Re: [PATCH] tcp: Replace infinite loop on recvmsg bug with proper crashusers

2012-11-07 Thread Eric Dumazet
On Wed, 2012-11-07 at 11:43 -0500, Dave Jones wrote: > dude, look at the bug reports I just pointed you at. > People _are_ aware there are bugs there. > If I remember well, I helped to fix some of them. > If you turn that into a BUG() those reports would never have been filed. > How is that

Re: [PATCH 1/9] cgroup: add cgroup_subsys->post_create()

2012-11-07 Thread Tejun Heo
Hello, Michal. On Wed, Nov 07, 2012 at 04:25:16PM +0100, Michal Hocko wrote: > > This patch adds ->post_create(). It's called after all ->create() > > succeeded and the cgroup is linked into the generic cgroup hierarchy. > > This plays the counterpart of ->pre_destroy(). > > Hmm, I had to look

Re: [PATCH 3/9] cgroup: implement generic child / descendant walk macros

2012-11-07 Thread Tejun Heo
Hello, Michal. On Wed, Nov 07, 2012 at 05:54:57PM +0100, Michal Hocko wrote: > > +struct cgroup *cgroup_next_descendant_pre(struct cgroup *pos, > > + struct cgroup *cgroup) > > +{ > > + struct cgroup *next; > > + > > + WARN_ON_ONCE(!rcu_read_lock_held()); >

Re: tty, vt: lockdep warnings

2012-11-07 Thread Alan Cox
On Wed, 07 Nov 2012 17:15:45 +0100 Bjørn Mork wrote: > Alan Cox writes: > > > + > > +static int bind_con_driver(const struct consw *csw, int first, int last, > > + int deflt) > > +{ > > + int ret; > > + > > + console_unlock(); > > console_lock() maybe... Thanks

Re: [PATCH 3/9] cgroup: implement generic child / descendant walk macros

2012-11-07 Thread Michal Hocko
On Sat 03-11-12 01:38:29, Tejun Heo wrote: [...] > diff --git a/kernel/cgroup.c b/kernel/cgroup.c > index cc5d2a0..8bd662c 100644 > --- a/kernel/cgroup.c > +++ b/kernel/cgroup.c > @@ -2985,6 +2985,92 @@ static void cgroup_enable_task_cg_lists(void) > write_unlock(_set_lock); > } > > +/**

Re: [PATCH 2/5 v2] ARM: AT91SAM9G45: same platform data structure for all crypto peripherals

2012-11-07 Thread Jean-Christophe PLAGNIOL-VILLARD
On 17:27 Wed 07 Nov , Nicolas Royer wrote: > Only AES use DMA in AT91SAM9G45 (TDES and SHA use PDC). > > However latest Atmel TDES and SHA IP releases use DMA instead of PDC. > --> Atmel TDES and SHA drivers need DMA platform data for those IP releases. > > Goal of this patch is to use the

Re: [PATCH V2 3/3] checkpatch: Emit an warning when floating point values are used

2012-11-07 Thread Andrew Morton
On Wed, 07 Nov 2012 03:09:35 -0800 Joe Perches wrote: > On Tue, 2012-11-06 at 15:36 -0800, Andrew Morton wrote: > > On Thu, 1 Nov 2012 00:12:18 -0700 > > Joe Perches wrote: > > > Linux kernel doesn't like floating point, say so. > [] > > > --- a/scripts/checkpatch.pl > > > +++

RE: [Xen-devel] [PATCH 1/2] Xen acpi pad implement

2012-11-07 Thread Liu, Jinsong
Konrad Rzeszutek Wilk wrote: > On Wed, Nov 07, 2012 at 12:58:19PM +, Liu, Jinsong wrote: > > If it is generic ACPI code, than it can depend only on ACPI. > If it is ACPI code that contains X86 specific info, than it needs > to depend on X86 too. No x86 specific so

scsi target, likely GPL violation

2012-11-07 Thread Andy Grover
Nick, Your company appears to be shipping kernel features in RTS OS that are not made available under the GPL, specifically support for the EXTENDED_COPY and COMPARE_AND_WRITE SCSI commands, in order to claim full Vmware vSphere 5 VAAI support. http://www.risingtidesystems.com/storage.html

Re: [PATCH 2/5] ARM: AT91SAM9G45: same platform data structure for all crypto peripherals

2012-11-07 Thread Eric Bénard
Hi Jean-Christophe, Le Wed, 7 Nov 2012 16:26:15 +0100, Jean-Christophe PLAGNIOL-VILLARD a écrit : > > @@ -1931,9 +1931,9 @@ static struct platform_device at91sam9g45_aes_device > > = { > > static void __init at91_add_device_aes(void) > > { > > struct at_dma_slave *atslave; > > -

Re: [PATCH] tcp: Replace infinite loop on recvmsg bug with proper crashusers

2012-11-07 Thread Dave Jones
On Wed, Nov 07, 2012 at 08:29:12AM -0800, Eric Dumazet wrote: > On Wed, 2012-11-07 at 10:54 -0500, Dave Jones wrote: > > > It sounds more appropriate to me, instead of silently wedging the box. > > At least with that approach we have a chance of finding out what happened. > > Its quite the

Re: [PATCH v4 0/3] zram/zsmalloc promotion

2012-11-07 Thread Luigi Semenzato
Since Chrome OS was mentioned: the main reason why we don't use swap to a disk (rotating or SSD) is because it doesn't degrade gracefully and leads to a bad interactive experience. Generally we prefer to manage RAM at a higher level, by transparently killing and restarting processes. But we

[PATCH 9/9 v2] cgroup_freezer: implement proper hierarchy support

2012-11-07 Thread Tejun Heo
Up until now, cgroup_freezer didn't implement hierarchy properly. cgroups could be arranged in hierarchy but it didn't make any difference in how each cgroup_freezer behaved. They all operated separately. This patch implements proper hierarchy support. If a cgroup is frozen, all its descendants

Re: [PATCH 9/9] cgroup_freezer: implement proper hierarchy support

2012-11-07 Thread Tejun Heo
Hello, Michal. On Wed, Nov 07, 2012 at 12:00:57PM +0100, Michal Hocko wrote: > > +* Update all its descendants in pre-order traversal. Each > > +* descendant will try to inherit its parent's FREEZING state as > > +* CGROUP_FREEZING_PARENT. > > +*/ > > + rcu_read_lock(); > > +

[PATCH, RESEND] nouveau: Prevent kernel log mangling

2012-11-07 Thread Daniel J Blueman
On 3.7-rc4, add missing newline to to prevent the following kernel log line getting appended to the current one after switching the integrated GPU and suspending the discrete GPU. Signed-off-by: Daniel J Blueman --- drivers/gpu/drm/nouveau/core/subdev/i2c/aux.c |2 +- 1 file changed, 1

Re: [PATCH] tcp: Replace infinite loop on recvmsg bug with proper crashusers

2012-11-07 Thread Eric Dumazet
On Wed, 2012-11-07 at 10:54 -0500, Dave Jones wrote: > It sounds more appropriate to me, instead of silently wedging the box. > At least with that approach we have a chance of finding out what happened. Its quite the opposite. If bug is still there 6 months after the commits that broke the

Re: Is this a kernel bug?

2012-11-07 Thread Tejun Heo
Hello, Cyberman. On Sat, Nov 03, 2012 at 04:03:21PM +0800, Cyberman Wu wrote: > Recent days we got a exception in kernel thread [kworker/n:m], but > exception handler Can you please post kernel messages for the initial exception? Thanks. -- tejun -- To unsubscribe from this list: send the

[PATCH 2/5 v2] ARM: AT91SAM9G45: same platform data structure for all crypto peripherals

2012-11-07 Thread Nicolas Royer
Only AES use DMA in AT91SAM9G45 (TDES and SHA use PDC). However latest Atmel TDES and SHA IP releases use DMA instead of PDC. --> Atmel TDES and SHA drivers need DMA platform data for those IP releases. Goal of this patch is to use the same platform data structure for all Atmel crypto

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

2012-11-07 Thread Konrad Rzeszutek Wilk
On Mon, Nov 05, 2012 at 12:25:12PM -0800, Yinghai Lu wrote: > On Sat, Nov 3, 2012 at 2:37 PM, H. Peter Anvin wrote: > > I am travelling at the moment... I hope to be able to look at it Sunday. > >> > >>can you put for-x86-mm-test to tip for more testing? > >> > >>or you want to rebase the whole

Re: [PATCH] add tpm_xenu.ko: Xen Virtual TPM frontend driver

2012-11-07 Thread Konrad Rzeszutek Wilk
On Wed, Nov 07, 2012 at 09:05:26AM -0500, Matthew Fioravante wrote: > On 11/06/2012 02:39 PM, Konrad Rzeszutek Wilk wrote: > >On Mon, Nov 05, 2012 at 10:09:57AM -0500, Matthew Fioravante wrote: > >>This patch ports the xen vtpm frontend driver for linux > >>from the linux-2.6.18-xen.hg tree to

Re: Debugging system freezes on filesystem writes

2012-11-07 Thread Jan Kara
On Fri 02-11-12 04:19:24, Marcus Sundman wrote: > On 01.11.2012 21:01, Jan Kara wrote: > >On Mon 29-10-12 00:39:46, Marcus Sundman wrote: > > Hello, > > > >>I have a big problem with the system freezing and would appreciate > >>any help on debugging this and pinpointing where exactly the problem

Re: tty, vt: lockdep warnings

2012-11-07 Thread Bjørn Mork
Alan Cox writes: > + > +static int bind_con_driver(const struct consw *csw, int first, int last, > +int deflt) > +{ > + int ret; > + > + console_unlock(); console_lock() maybe... > + ret = do_bind_con_driver(csw, first, last, deflt); > +

Re: [Xen-devel] [PATCH 1/2] Xen acpi pad implement

2012-11-07 Thread Konrad Rzeszutek Wilk
On Wed, Nov 07, 2012 at 12:58:19PM +, Liu, Jinsong wrote: > >>> > >>> If it is generic ACPI code, than it can depend only on ACPI. > >>> If it is ACPI code that contains X86 specific info, than it needs to > >>> depend on X86 too. > >> > >> No x86 specific so let's depend on ACPI. > > > >

<    1   2   3   4   5   6   7   8   9   10   >