Re: [PATCH 20/21] mm: drop vmtruncate

2012-11-15 Thread Marco Stornelli
2012/11/16 Jaegeuk Hanse : > On 11/03/2012 05:32 PM, Marco Stornelli wrote: >> >> Removed vmtruncate > > > Hi Marco, > > Could you explain me why vmtruncate need remove? What's the problem and how > to substitute it? > > Regards, > Jaegeuk > vmtruncate is a deprecated function so it'd be better

RE: [PATCH 2/3] [SCSI] mvsas: fix shift in mvs_94xx_free_reg_set()

2012-11-15 Thread Xiangliang Yu
Hi, Xi > > About patch 3, I check the ffz code and found it will check ~0 conditions. > > Can you point me to the ~0 check in ffz code? I also feel like using > __ffs64 makes the code simpler. Yes, it seem to be ok > > Does patch 1 look good to you? Thanks. > Yes Thanks! -- To unsubscribe

Re: [PATCH v3 0/2] NVIDIA Tegra DRM driver

2012-11-15 Thread Terje Bergström
On 15.11.2012 23:28, Thierry Reding wrote: > This third version of the patch series cleans up some minor issues that > were found in the previous versions, such as deferred probe not working > properly and the display remaining enabled after the driver is removed. > > I've also put the two

Re: [PATCH v8 1/3] Runtime Interpreted Power Sequences

2012-11-15 Thread Anton Vorontsov
Hi Alexandre, The code looks neat, thanks for you work! Just a couple of comments... On Fri, Nov 16, 2012 at 03:38:21PM +0900, Alexandre Courbot wrote: [...] > + > +#include "power_seq_delay.c" > +#include "power_seq_regulator.c" > +#include "power_seq_pwm.c" > +#include "power_seq_gpio.c"

Re: [PATCH 5/7] memcg: get rid of once-per-second cache shrinking for dead memcgs

2012-11-15 Thread Kamezawa Hiroyuki
(2012/11/16 16:11), Glauber Costa wrote: > On 11/16/2012 09:07 AM, Kamezawa Hiroyuki wrote: >> (2012/11/15 22:47), Glauber Costa wrote: >>> On 11/15/2012 01:41 PM, Kamezawa Hiroyuki wrote: (2012/11/15 11:54), Glauber Costa wrote: > The idea is to synchronously do it, leaving it up to the

Re: [PATCH] tools: hv: Netlink source address validation allows DoS

2012-11-15 Thread Tomas Hozza
- Original Message - > On Thu, Nov 08, 2012 at 10:53:29AM +0100, Tomas Hozza wrote: > > The source code without this patch caused hypervkvpd to exit when > > it processed > > a spoofed Netlink packet which has been sent from an untrusted > > local user. > > Now Netlink messages with a

Re: [PATCH] drm: Add NVIDIA Tegra30 support

2012-11-15 Thread Mark Zhang
On 11/16/2012 03:11 PM, Thierry Reding wrote: > * PGP Signed by an unknown key > > On Fri, Nov 16, 2012 at 02:48:55PM +0800, Mark Zhang wrote: >> On 11/16/2012 02:43 PM, Thierry Reding wrote: Old Signed by an unknown key >>> >>> On Fri, Nov 16, 2012 at 12:58:09PM +0800, Mark Zhang wrote:

Re: [PATCH 5/7] memcg: get rid of once-per-second cache shrinking for dead memcgs

2012-11-15 Thread Glauber Costa
On 11/16/2012 09:07 AM, Kamezawa Hiroyuki wrote: > (2012/11/15 22:47), Glauber Costa wrote: >> On 11/15/2012 01:41 PM, Kamezawa Hiroyuki wrote: >>> (2012/11/15 11:54), Glauber Costa wrote: The idea is to synchronously do it, leaving it up to the shrinking facilities in vmscan.c and/or

Re: [PATCH] drm: Add NVIDIA Tegra30 support

2012-11-15 Thread Thierry Reding
On Fri, Nov 16, 2012 at 02:48:55PM +0800, Mark Zhang wrote: > On 11/16/2012 02:43 PM, Thierry Reding wrote: > > * PGP Signed by an unknown key > > > > On Fri, Nov 16, 2012 at 12:58:09PM +0800, Mark Zhang wrote: > >> This patch is based on Thierry's drm patch for Tegra20: > >> - [PATCH v2 0/6]

Re: [PATCH] checkpatch: extend line continuation test

2012-11-15 Thread Joe Perches
On Fri, 2012-11-16 at 08:02 +0100, Geert Uytterhoeven wrote: > On Fri, Nov 16, 2012 at 7:21 AM, Joe Perches wrote: > > Preprocessor directives and asm statements should be > > allowed to have a line continuation. > > For preprocessor directives I agree. > > But why do asm statements need it?

Re: [PATCH 07/14] pinctrl: SPEAr: Update error check for unsigned variables

2012-11-15 Thread viresh kumar
On Fri, Nov 16, 2012 at 12:20 PM, Tushar Behera wrote: > Checking '< 0' for unsigned variables always returns false. For error > codes, use IS_ERR_VALUE() instead. > > CC: Linus Walleij > Signed-off-by: Tushar Behera > --- > drivers/pinctrl/spear/pinctrl-plgpio.c |2 +- > 1 files changed,

Re: [PATCH RFT RESEND linux-next] openrisc: dma-mapping: support debug_dma_mapping_error

2012-11-15 Thread Jonas Bonn
On Thu, 2012-11-15 at 11:00 -0700, Shuah Khan wrote: > On Fri, 2012-10-26 at 10:05 -0600, Shuah Khan wrote: > > Add support for debug_dma_mapping_error() call to avoid warning from > > debug_dma_unmap() interface when it checks for mapping error checked > > status. Without this patch, device

Re: [PATCH] checkpatch: extend line continuation test

2012-11-15 Thread Geert Uytterhoeven
On Fri, Nov 16, 2012 at 7:21 AM, Joe Perches wrote: > Preprocessor directives and asm statements should be > allowed to have a line continuation. For preprocessor directives I agree. But why do asm statements need it? They'r just strings, so just closing with a double quote at the end of the

[PATCH] Correct description of SwapFree in Documentation/filesystems/proc.txt

2012-11-15 Thread Michael Kerrisk
After migrating most of the information in Documentation/filesystems/proc.txt to the proc(5) man page, Jim Paris pointed out to me that the description of SwapFree in the man page seemed wrong. I think Jim is right, but am given pause by fact that that text has been in

[PATCH 02/14] [media] meye: Remove redundant check on unsigned variable

2012-11-15 Thread Tushar Behera
No need to check whether unsigned variable is less than 0. CC: Mauro Carvalho Chehab CC: linux-me...@vger.kernel.org Signed-off-by: Tushar Behera --- drivers/media/pci/meye/meye.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/media/pci/meye/meye.c

[PATCH 08/14] xen: netback: Remove redundant check on unsigned variable

2012-11-15 Thread Tushar Behera
No need to check whether unsigned variable is less than 0. CC: Ian Campbell CC: xen-de...@lists.xensource.com CC: net...@vger.kernel.org Signed-off-by: Tushar Behera --- drivers/net/xen-netback/netback.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 07/14] pinctrl: SPEAr: Update error check for unsigned variables

2012-11-15 Thread Tushar Behera
Checking '< 0' for unsigned variables always returns false. For error codes, use IS_ERR_VALUE() instead. CC: Linus Walleij Signed-off-by: Tushar Behera --- drivers/pinctrl/spear/pinctrl-plgpio.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[PATCH 06/14] pinctrl: samsung: Update error check for unsigned variables

2012-11-15 Thread Tushar Behera
Checking '< 0' for unsigned variables always returns false. For error codes, use IS_ERR_VALUE() instead. CC: Linus Walleij Signed-off-by: Tushar Behera --- drivers/pinctrl/pinctrl-samsung.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[PATCH 05/14] [media] atmel-isi: Update error check for unsigned variables

2012-11-15 Thread Tushar Behera
Checking '< 0' for unsigned variables always returns false. For error codes, use IS_ERR_VALUE() instead. CC: Mauro Carvalho Chehab CC: linux-me...@vger.kernel.org Signed-off-by: Tushar Behera --- drivers/media/platform/soc_camera/atmel-isi.c |2 +- 1 files changed, 1 insertions(+), 1

[PATCH 03/14] [media] saa7134: Remove redundant check on unsigned variable

2012-11-15 Thread Tushar Behera
No need to check whether the unsigned variable is less than 0. CC: Mauro Carvalho Chehab CC: linux-me...@vger.kernel.org Signed-off-by: Tushar Behera --- drivers/media/pci/saa7134/saa7134-video.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[PATCH 00/14] Modify signed comparisons of unsigned variables

2012-11-15 Thread Tushar Behera
The occurrences were identified through the coccinelle script at following location. http://www.emn.fr/z-info/coccinelle/rules/find_unsigned.cocci Signed checks for unsigned variables are removed if it is also checked for upper error limit. For error checks, IS_ERR_VALUE() macros is used.

[PATCH 10/14] atm: Removed redundant check on unsigned variable

2012-11-15 Thread Tushar Behera
No need to check whether unsigned variable is less than 0. CC: Chas Williams CC: linux-atm-gene...@lists.sourceforge.net CC: net...@vger.kernel.org Signed-off-by: Tushar Behera --- drivers/atm/fore200e.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[PATCH 12/14] gru: Remove redundant check on unsigned variable

2012-11-15 Thread Tushar Behera
No need to check whether unsigned variable is less than 0. CC: Jack Steiner Signed-off-by: Tushar Behera --- drivers/misc/sgi-gru/grukdump.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/misc/sgi-gru/grukdump.c b/drivers/misc/sgi-gru/grukdump.c index

[PATCH 14/14] wlcore: Remove redundant check on unsigned variable

2012-11-15 Thread Tushar Behera
No need to check whether unsigned variable is less than 0. CC: Luciano Coelho CC: linux-wirel...@vger.kernel.org CC: net...@vger.kernel.org Signed-off-by: Tushar Behera --- drivers/net/wireless/ti/wlcore/debugfs.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[PATCH 13/14] misc: tsl2550: Remove redundant check on unsigned variable

2012-11-15 Thread Tushar Behera
No need to check whether unsigned variable is less than 0. CC: Arnd Bergmann Signed-off-by: Tushar Behera --- drivers/misc/tsl2550.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/misc/tsl2550.c b/drivers/misc/tsl2550.c index 0beb298..0438569 100644 ---

[PATCH 11/14] HID: hiddev: Remove redundant check on unsigned variable

2012-11-15 Thread Tushar Behera
No need to check whether unsigned variable is less than 0. CC: Jiri Kosina CC: linux-...@vger.kernel.org CC: linux-in...@vger.kernel.org Signed-off-by: Tushar Behera --- drivers/hid/usbhid/hiddev.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[PATCH 09/14] xen: events: Remove redundant check on unsigned variable

2012-11-15 Thread Tushar Behera
No need to check whether unsigned variable is less than 0. CC: Konrad Rzeszutek Wilk CC: Jeremy Fitzhardinge CC: xen-de...@lists.xensource.com CC: virtualizat...@lists.linux-foundation.org Signed-off-by: Tushar Behera --- drivers/xen/events.c |2 +- 1 files changed, 1 insertions(+), 1

[PATCH 04/14] [media] tlg2300: Remove redundant check on unsigned variable

2012-11-15 Thread Tushar Behera
No need to check whether unsigned variable is less than 0. CC: Mauro Carvalho Chehab CC: linux-me...@vger.kernel.org Signed-off-by: Tushar Behera --- drivers/media/usb/tlg2300/pd-video.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[PATCH 01/14] [media] ivtv: Remove redundant check on unsigned variable

2012-11-15 Thread Tushar Behera
No need to check whether unsigned variable is less than 0. CC: Mauro Carvalho Chehab CC: ivtv-de...@ivtvdriver.org CC: linux-me...@vger.kernel.org Signed-off-by: Tushar Behera --- drivers/media/pci/ivtv/ivtv-ioctl.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

Re: [PATCH v2 1/3] gpio / ACPI: add ACPI support

2012-11-15 Thread Mika Westerberg
On Fri, Nov 16, 2012 at 02:34:22AM +0100, Rafael J. Wysocki wrote: > On Thursday, November 15, 2012 01:03:15 PM Mika Westerberg wrote: > > From: Mathias Nyman > > > > Add support for translating ACPI GPIO pin numbers to Linux GPIO API pins. > > Needs a gpio controller driver with the acpi

Re: [PATCH] drm: Add NVIDIA Tegra30 support

2012-11-15 Thread Mark Zhang
On 11/16/2012 02:43 PM, Thierry Reding wrote: > * PGP Signed by an unknown key > > On Fri, Nov 16, 2012 at 12:58:09PM +0800, Mark Zhang wrote: >> This patch is based on Thierry's drm patch for Tegra20: >> - [PATCH v2 0/6] Device tree updates for host1x support >> - [PATCH v3 0/2] NVIDIA Tegra DRM

Re: [PATCH] drm: Add NVIDIA Tegra30 support

2012-11-15 Thread Thierry Reding
On Fri, Nov 16, 2012 at 12:58:09PM +0800, Mark Zhang wrote: > This patch is based on Thierry's drm patch for Tegra20: > - [PATCH v2 0/6] Device tree updates for host1x support > - [PATCH v3 0/2] NVIDIA Tegra DRM driver > > It adds the support for NVIDIA Tegra30. > > Signed-off-by: Mark Zhang

Re: [PATCH] clk: mxs: Use a better name for the USB PHY clock

2012-11-15 Thread Shawn Guo
On Sat, Sep 22, 2012 at 01:54:55PM -0300, Fabio Estevam wrote: > From: Fabio Estevam > > Use a better name for the USB PHY clock. > > Signed-off-by: Fabio Estevam Mike, I was planning send a pull-request to you with all mxs clock patches collected for 3.8. It turns out this is the only one

Re: [PATCH] tilegx: request_irq with a non-null device name

2012-11-15 Thread David Miller
From: Simon Marchi Date: Thu, 15 Nov 2012 23:13:19 -0500 > This patch simply makes the tilegx net driver call request_irq with a > non-null name. It makes the output in /proc/interrupts more obvious, but > also helps tools that don't expect to find null there. > > Signed-off-by: Simon Marchi >

Re: [PATCH 20/21] mm: drop vmtruncate

2012-11-15 Thread Jaegeuk Hanse
On 11/03/2012 05:32 PM, Marco Stornelli wrote: Removed vmtruncate Hi Marco, Could you explain me why vmtruncate need remove? What's the problem and how to substitute it? Regards, Jaegeuk Signed-off-by: Marco Stornelli --- include/linux/mm.h |1 - mm/truncate.c | 23

[PATCH v8 2/3] pwm_backlight: use power sequences

2012-11-15 Thread Alexandre Courbot
Make use of the power sequences specified in the device tree or platform data to control how the backlight is powered on and off. Signed-off-by: Alexandre Courbot Reviewed-by: Stephen Warren --- .../bindings/video/backlight/pwm-backlight.txt | 63 +++- drivers/video/backlight/Kconfig

[PATCH v8 3/3] Take maintainership of power sequences

2012-11-15 Thread Alexandre Courbot
Add entry for power sequences into MAINTAINERS with all the needed contact and SCM info. Signed-off-by: Alexandre Courbot --- MAINTAINERS | 10 ++ 1 file changed, 10 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 59203e7..c86a93b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS

[PATCH v8 1/3] Runtime Interpreted Power Sequences

2012-11-15 Thread Alexandre Courbot
Some device drivers (e.g. panel or backlights) need to follow precise sequences for powering on and off, involving GPIOs, regulators, PWMs with a precise powering order and delays to respect between steps. These sequences are device-specific, and do not belong to a particular driver - therefore

[PATCH v8 0/3] Runtime Interpreted Power Sequences

2012-11-15 Thread Alexandre Courbot
Hopefully the final series before the feature gets merged. Anton Vorontsov kindly accepted to take it into his tree, so this series is mostly a call for acks, tests and reviews notices before the merge window for 3.8 opens. If you are interested in seeing this feature, please add your name. This

[PATCH] usb: dwc3: core: move dwc3_cache_hwparams before dwc3_alloc_event_buffers

2012-11-15 Thread Kishon Vijay Abraham I
commit 392142 moved event buffer allocation out of dwc3_core_init() but event buffer allocation uses the cached copy of hwparams to determine the number of event buffers and the caching is done in dwc3_core_init. So moved dwc3_cache_hwparams function before dwc3_alloc_event_buffers so that

Re: [RFC PATCH v1 26/31] ARC: Build system: Makefiles, Kconfig, Linker script

2012-11-15 Thread Vineet Gupta
On Friday 16 November 2012 01:00 AM, Ralf Baechle wrote: > On Thu, Nov 15, 2012 at 05:49:57PM +, James Hogan wrote: > >> On 07/11/12 09:47, Vineet Gupta wrote: >>> +config ARC >> I just came across arch/mips/Kconfig which also defines ARC (and ARC32). >> It's only used within arch/mips/,

Re: [PATCH] checkpatch: extend line continuation test

2012-11-15 Thread Jingoo Han
On Friday, November 16, 2012 3:21 PM, Joe Perches wrote > > Preprocessor directives and asm statements should be > allowed to have a line continuation. > > Signed-off-by: Joe Perches Hi Joe Perches, It works properly. :) Tested-by: Jingoo Han Best regards, Jingoo Han > --- >

[patch] paride: enable extra verbose debugging

2012-11-15 Thread Dan Carpenter
This debug settings here are: 0 - Off 1 - Some 2 - Lots The module_param() was incorrectly set to bool and later the variable was updated to be bool to match. Really they should both be int. Signed-off-by: Dan Carpenter diff --git a/drivers/block/paride/pg.c

Re: [PATCH 7/8] ata: highbank: mark ahci_highbank_probe as __devinit

2012-11-15 Thread Fabio Estevam
Hi Jeff, On Fri, Nov 16, 2012 at 2:44 AM, Jeff Garzik wrote: > On 11/06/2012 04:55 PM, Arnd Bergmann wrote: >> >> The ahci_highbank_probe function is incorrectly marked as __init, >> which means it can get discarded at boot time, which might be >> a problem if for some reason the device only

[PATCH] checkpatch: extend line continuation test

2012-11-15 Thread Joe Perches
Preprocessor directives and asm statements should be allowed to have a line continuation. Signed-off-by: Joe Perches --- scripts/checkpatch.pl |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index d2d5ba1..019f9be 100755

Re: [RFC v4+ hot_track 02/19] vfs: initialize and free data structures

2012-11-15 Thread Zhi Yong Wu
On Wed, Nov 7, 2012 at 6:24 AM, David Sterba wrote: > On Mon, Oct 29, 2012 at 12:30:44PM +0800, zwu.ker...@gmail.com wrote: >> +/* Frees the entire hot_range_tree. */ >> +static void hot_inode_item_free(struct kref *kref) >> +{ >> + struct hot_comm_item *comm_item = container_of(kref, >> +

Re: [PATCH 04/17] cgroup: create directory before linking while creating a new cgroup

2012-11-15 Thread Li Zefan
On 2012/11/15 3:04, Tejun Heo wrote: > Hello, Li. > > On Wed, Nov 14, 2012 at 11:20:47AM +0800, Li Zefan wrote: >>> It also removes the need to check whether cgroup->dentry is %NULL in >>> cgroup_path. If a cgroup is visible, its dentry is guaranteed to be >>> visible too. >> >> I'm afraid this

RE: [PATCH ] tbfadt.c: output warning only when 64bit 32bit address of FACS/DSDT all have value but not equal to each other

2012-11-15 Thread Moore, Robert
As I mentioned, we are going to be rewriting this part of the code, so I would rather wait to until then to make changes. However, this looks like a reasonable approach to the error check, at first glance. Thanks, Bob > -Original Message- > From: Ethan Zhao

Re: [PATCH 1/5] ata: suspend/resume callbacks should be conditionally compiled on CONFIG_PM_SLEEP

2012-11-15 Thread Jeff Garzik
On 10/16/2012 10:59 AM, Yuanhan Liu wrote: This will fix warnings like following when CONFIG_PM_SLEEP is not set: warning: 'xxx_suspend' defined but not used [-Wunused-function] warning: 'xxx_resume' defined but not used [-Wunused-function] Because

[PATCH 1/4] drivers: uio_dmem_genirq: Don't mix address spaces for dynamic region vaddr

2012-11-15 Thread Damian Hobson-Garcia
Assigning the virtual address returned from dma_alloc_coherent to the the internal_addr element of uioinfo produces the following sparse errors since internal_addr is a void __iomem * and dma_alloc_coherent returns void *. + drivers/uio/uio_dmem_genirq.c:65:39: sparse: incorrect type in

[PATCH 4/4] drivers: uio: Only allocate new private data when probing device tree node

2012-11-15 Thread Damian Hobson-Garcia
The same condition should be used both when allocating and freeing the driver private data. When dev.of_node is non NULL, allocate a new private data structure, otherwise use the values from the platform data. Reported-by: Fengguang Wu Signed-off-by: Damian Hobson-Garcia ---

[PATCH 3/4] drivers: uio_dmem_genirq: Allow partial success when opening device

2012-11-15 Thread Damian Hobson-Garcia
The uio device should not fail on open just because one memory allocation fails. The device might export several regions, the failure of some of which may or may not be a problem for the user space driver. Failing regions will remain unmapped, and successful regions will be mapped and exported to

[PATCH 2/4] drivers: uio_dmem_genirq: Don't use DMA_ERROR_CODE to indicate unmapped regions

2012-11-15 Thread Damian Hobson-Garcia
DMA_ERROR_CODE is not defined on all architectures and is architecture specific. Instead, use the constant, ~0 to indicate unmapped regions. Reported-by: Fengguang Wu Reported-by: Geert Uytterhoeven Signed-off-by: Damian Hobson-Garcia --- Documentation/DocBook/uio-howto.tmpl |2 +-

[PATCH 0/4] UIO platform device fixes

2012-11-15 Thread Damian Hobson-Garcia
Here are a few fixes for the uio_dmem_genirq driver which allows for dynamic allocation/deallocation of UIO memory resources via the DMA-mapping API. Damian Hobson-Garcia (4): drivers: uio_dmem_genirq: Don't mix address spaces for dynamic region vaddr drivers: uio_dmem_genirq: Don't use

Re: [PATCH ] tbfadt.c: output warning only when 64bit 32bit address of FACS/DSDT all have value but not equal to each other

2012-11-15 Thread Ethan Zhao
Bob, How about moving some checking code as following patch ? From f46d539d81c763aa4e3e98f9fc1e94e0af48bd15 Mon Sep 17 00:00:00 2001 From: ethan.zhao Date: Sat, 17 Nov 2012 00:48:41 -0800 Subject: [PATCH]acpica/tbfadt.c Move some checking and 32bit to 64bit assignment code from

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

2012-11-15 Thread Alex Courbot
On Friday 16 November 2012 05:07:53 Thierry Reding wrote: > This second version of this patch series splits the patches up into more > logical chunks as requested by Stephen. Instead of renaming the matching > parameters in the clock driver, this version renames the AUXDATA entries > to match what

Re: [RFC PATCH v1 16/31] ARC: Signal handling

2012-11-15 Thread Al Viro
> + if (insyscall) { > + /* No handler for syscall: restart it */ > + if (regs->r0 == -ERESTARTNOHAND || > + regs->r0 == -ERESTARTSYS || regs->r0 == -ERESTARTNOINTR) { > + regs->r0 = regs->orig_r0; > + regs->ret -=

Re: [PATCH 5/7] memcg: get rid of once-per-second cache shrinking for dead memcgs

2012-11-15 Thread Kamezawa Hiroyuki
(2012/11/15 22:47), Glauber Costa wrote: > On 11/15/2012 01:41 PM, Kamezawa Hiroyuki wrote: >> (2012/11/15 11:54), Glauber Costa wrote: >>> The idea is to synchronously do it, leaving it up to the shrinking >>> facilities in vmscan.c and/or others. Not actively retrying shrinking >>> may leave the

Re: [PATCH] staging: Add SystemBase Multi-2/PCI driver

2012-11-15 Thread Greg Kroah-Hartman
On Thu, Nov 15, 2012 at 11:39:31PM -0500, Steven Rostedt wrote: > I ported the driver supplied by SystemBase to mainline. > > As the driver had MODULE_LICENSE("GPL") it is declared as a GPL module > and thus I have the right to distribute it upstream. Note, I did the > bare minimum to get it

[git pull] drm fixes

2012-11-15 Thread Dave Airlie
Hi Linus, all pretty normal, one TTM oops fix, one radeon, a few intel and a vmwgfx fix. Dave. The following changes since commit 77b67063bb6bce6d475e910d3b886a606d0d91f7: Linux 3.7-rc5 (2012-11-11 13:44:33 +0100) are available in the git repository at:

[PATCH] ARM: dt: tegra: cardhu: Add drm components

2012-11-15 Thread Mark Zhang
This patch adds the rgb and hdmi nodes which are necessary for tegra drm driver. Signed-off-by: Mark Zhang --- arch/arm/boot/dts/tegra30-cardhu.dtsi | 23 +-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/tegra30-cardhu.dtsi

[PATCH] drm: Add NVIDIA Tegra30 support

2012-11-15 Thread Mark Zhang
This patch is based on Thierry's drm patch for Tegra20: - [PATCH v2 0/6] Device tree updates for host1x support - [PATCH v3 0/2] NVIDIA Tegra DRM driver It adds the support for NVIDIA Tegra30. Signed-off-by: Mark Zhang --- drivers/gpu/drm/tegra/dc.c |1 + drivers/gpu/drm/tegra/host1x.c

Re: [RFC PATCH v1 11/31] ARC: Low level IRQ/Trap/Exception(non-MMU) Handling

2012-11-15 Thread Al Viro
> + ; - check for signals/restore-sigmask > + bbit0 r9, TIF_SIGPENDING, chk_next_work > + > + ; save CALLEE Regs. > + ; (i) If this signal causes coredump - full regfile needed > + ; (ii) If signal is SIGTRAP/SIGSTOP, task is being traced thus > + ;

[PATCH] serial: ifx6x60: Add module parameters to manage the modem status through sysfs

2012-11-15 Thread Jun Chen
The Medfield Platform implements a recovery procedure consisting in an escalation from simple and light recovery procedures to stronger ones with increased visibility and impact to end-user.After platform find some problem from Modem,such as no response, platform will try do modem warm

Re: [PATCH] KVM: MMU: lazily drop large spte

2012-11-15 Thread Xiao Guangrong
On 11/16/2012 11:56 AM, Marcelo Tosatti wrote: > On Fri, Nov 16, 2012 at 11:39:12AM +0800, Xiao Guangrong wrote: >> On 11/16/2012 11:02 AM, Marcelo Tosatti wrote: >>> On Thu, Nov 15, 2012 at 07:17:15AM +0800, Xiao Guangrong wrote: On 11/14/2012 10:37 PM, Marcelo Tosatti wrote: > On Tue,

Re: [PATCH 7/8] ata: highbank: mark ahci_highbank_probe as __devinit

2012-11-15 Thread Jeff Garzik
On 11/06/2012 04:55 PM, Arnd Bergmann wrote: The ahci_highbank_probe function is incorrectly marked as __init, which means it can get discarded at boot time, which might be a problem if for some reason the device only becomes operational after loading another module. Using __devinit instead

Re: [PATCH] net/ethernet/intel/ixgbe/ixgbe_debugfs.c: fix error handling in ixgbe_dbg_reg_ops_read().

2012-11-15 Thread Jeff Kirsher
On Fri, 2012-11-16 at 04:26 +0100, Cyril Roelandt wrote: > > copy_to_user() cannot return a negative value: it returns the number > of bytes > that could not be copied. > > Return -EFAULT on failure rather than the number of bytes that could > not be > copied, as this seems more standard. > >

Re: [PATCH] ata: pata_arasan: Initialize cf clock to 166MHz

2012-11-15 Thread Jeff Garzik
On 11/08/2012 10:09 AM, Viresh Kumar wrote: From: Vipul Kumar Samar PATA arasan driver expects the clock to be set to 166 MHz for proper functioning. This patch sets clk to 166 MHz in probe. Signed-off-by: Vipul Kumar Samar Signed-off-by: Viresh Kumar --- drivers/ata/pata_arasan_cf.c | 6

Re: [PATCH v3 0/2] NVIDIA Tegra DRM driver

2012-11-15 Thread Alex Courbot
On Friday 16 November 2012 11:36:36 Alex Courbot wrote: > On Friday 16 November 2012 05:28:21 Thierry Reding wrote: > > This third version of the patch series cleans up some minor issues that > > were found in the previous versions, such as deferred probe not working > > properly and the display

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

2012-11-15 Thread Jeff Garzik
On 11/09/2012 02:18 PM, Jeff Moyer wrote: Signed-off-by: Jeff Moyer --- drivers/ata/libata-scsi.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) Acked-by: Jeff Garzik -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

RE: [ PATCH RESEND ] PCI-AER: Do not report successful error recovery for devices with AER-unaware drivers

2012-11-15 Thread Pandarathil, Vijaymohan R
> -Original Message- > From: Bjorn Helgaas [mailto:bhelg...@google.com] > Sent: Thursday, November 15, 2012 5:09 PM > To: Pandarathil, Vijaymohan R > Cc: linux-kernel@vger.kernel.org; linux-...@vger.kernel.org; > linasveps...@gmail.com; Myron Stowe; Ortiz, Lance E; Huang Ying; Hidetoshi

Re: [PATCH 2/2] dw_dmac: make usage of dw_dma_slave optional

2012-11-15 Thread Viresh Kumar
On 15 November 2012 23:28, Andy Shevchenko wrote: > On Thu, Nov 15, 2012 at 5:38 PM, Viresh Kumar wrote: >> On 15 November 2012 20:57, Andy Shevchenko >> wrote: >>> Well, the prep_* should assign the value due to changes of check in the >>> dwc_descriptor_complete. Otherwise we will potentially

Re: [PATCH] pata_cs5536: add quirk for broken udma

2012-11-15 Thread Jeff Garzik
On 11/15/2012 05:03 PM, Christian Gmeiner wrote: I am working on a device which uses the cs5536 pata driver. There are some broken hardware revisions out in the field, which can be detected via DMI. On older versions with an embedded BIOS I used libata.dma=0 to disable dma completely. Now we are

[PATCH] autofs4 - use simple_empty() for empty directory check

2012-11-15 Thread Ian Kent
From: Ian Kent For direct (and offset) mounts, if an automounted mount is manually umounted the trigger mount dentry can appear non-empty causing it to not trigger mounts. This can also happen if there is a file handle leak in a user space automounting application. It happens because, when the

[PATCH] tilegx: request_irq with a non-null device name

2012-11-15 Thread Simon Marchi
This patch simply makes the tilegx net driver call request_irq with a non-null name. It makes the output in /proc/interrupts more obvious, but also helps tools that don't expect to find null there. Signed-off-by: Simon Marchi Acked-by: Chris Metcalf --- I am not sure if this patch will get

Re: [RFC PATCH v1 30/31] ARC: switch to generic kernel_execve() and sys_execve()

2012-11-15 Thread Al Viro
On Wed, Nov 07, 2012 at 10:47:53AM +0100, Vineet Gupta wrote: > +; When we land here, pt_regs have already been updated in-place correctly > +; A pointer to them is also passed by kernel_execve, we just need to make > sure > +; that SP is set to point to them. > +ARC_ENTRY ret_from_kernel_execve

Re: [PATCH v3 0/2] NVIDIA Tegra DRM driver

2012-11-15 Thread Mark Zhang
Thierry, By the way, when do you plan to send drm patches for Tegra 3? I'm wondering if you don't have a Tegra 3 board for testing, I can do that for you. Mark On 11/16/2012 05:28 AM, Thierry Reding wrote: > This third version of the patch series cleans up some minor issues that > were found in

Re: [PATCH v3 0/2] NVIDIA Tegra DRM driver

2012-11-15 Thread Mark Zhang
Hi Thierry, Thank you for your hard work. The series, Acked-by: Mark Zhang Reviewed-by: Mark Zhang Tested-by: Mark Zhang On Ventana, LVDS and HDMI worked. PS: Alex's power sequence patch is needed to enable panel and backlight. Also we need to define dc and hdmi nodes in

Re: [PATCH] KVM: MMU: lazily drop large spte

2012-11-15 Thread Marcelo Tosatti
On Fri, Nov 16, 2012 at 11:39:12AM +0800, Xiao Guangrong wrote: > On 11/16/2012 11:02 AM, Marcelo Tosatti wrote: > > On Thu, Nov 15, 2012 at 07:17:15AM +0800, Xiao Guangrong wrote: > >> On 11/14/2012 10:37 PM, Marcelo Tosatti wrote: > >>> On Tue, Nov 13, 2012 at 04:26:16PM +0800, Xiao Guangrong

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

2012-11-15 Thread Mark Zhang
Hi Thierry, Thank you for your hard work. The series, Acked-by: Mark Zhang Reviewed-by: Mark Zhang Tested-by: Mark Zhang On Ventana, LVDS and HDMI worked. PS: Alex's power sequence patch is needed to enable panel and backlight. Also we need to define dc and hdmi nodes in

[PATCH] mmc,sdio: Fix the panic due to devname NULL when calling pm_runtime_set_active()

2012-11-15 Thread Chuansheng Liu
Subject: [PATCH] mmc,sdio: Fix the panic due to devname NULL when calling pm_runtime_set_active() Meet one panic as the below: <1>[ 15.067350] BUG: unable to handle kernel NULL pointer dereference at (null) <1>[ 15.074455] IP: [] strlen+0x12/0x20 <4>[ 15.078803] *pde = <0>[

Re: [PATCH] KVM: MMU: lazily drop large spte

2012-11-15 Thread Xiao Guangrong
On 11/16/2012 11:02 AM, Marcelo Tosatti wrote: > On Thu, Nov 15, 2012 at 07:17:15AM +0800, Xiao Guangrong wrote: >> On 11/14/2012 10:37 PM, Marcelo Tosatti wrote: >>> On Tue, Nov 13, 2012 at 04:26:16PM +0800, Xiao Guangrong wrote: Hi Marcelo, On 11/13/2012 07:10 AM, Marcelo Tosatti

Re: [PATCH v3 0/2] NVIDIA Tegra DRM driver

2012-11-15 Thread Alex Courbot
On Friday 16 November 2012 05:28:21 Thierry Reding wrote: > This third version of the patch series cleans up some minor issues that > were found in the previous versions, such as deferred probe not working > properly and the display remaining enabled after the driver is removed. > > I've also put

[PATCH] net/ethernet/intel/ixgbe/ixgbe_debugfs.c: fix error handling in ixgbe_dbg_reg_ops_read().

2012-11-15 Thread Cyril Roelandt
copy_to_user() cannot return a negative value: it returns the number of bytes that could not be copied. Return -EFAULT on failure rather than the number of bytes that could not be copied, as this seems more standard. Signed-off-by: Cyril Roelandt ---

Re: [RFC PATCH 0/2] kvm/vmx: Output TSC offset

2012-11-15 Thread Marcelo Tosatti
On Wed, Nov 14, 2012 at 10:36:21AM +0900, Yoshihiro YUNOMAE wrote: > Hi All, > > The following patch set can make disordered trace data of a guest and a host > sorted in chronological order. > > In a virtualization environment, it is difficult to analyze performance > problems, such as a delay

RE: [PATCH ] tbfadt.c: output warning only when 64bit 32bit address of FACS/DSDT all have value but not equal to each other

2012-11-15 Thread Moore, Robert
Basically, the flow goes like this: 1) We convert the original FADT (multiple versions) to a common internal FADT. 2) Then we check the common internal FADT for errors/inconsistencies. In this way, we don't need to have different error checking for different versions of the FADT, and this is

StyreneButadiene Rubbe r- shared photos with you

2012-11-15 Thread StyreneButadiene Rubbe r-
Hello Sir/Mam: Happy to contact you ! We would like to introudce our company.Our company is a large scale pertrochemical enterprise with synthetic rubber as the main product. We could supply SBR 1502 and 1712. It is manufactured by SINOPEC YANGZI. The following is the SBR quotation : *

IRQ_FORCED_THREADING - possible build issue?

2012-11-15 Thread Valdis Kletnieks
While trying to clean old cruft out of grub.conf, I chased down a 'threadirqs' parameter. kernel/irq/manage.c has this in it: #ifdef CONFIG_IRQ_FORCED_THREADING __read_mostly bool force_irqthreads; static int __init setup_forced_irqthreads(char *arg) { force_irqthreads = true;

Re: [3.6.6] panic on reboot / khungtaskd blocked? (WARNING: at arch/x86/kernel/smp.c:123 native_smp_send_reschedule)

2012-11-15 Thread Jan Kara
On Fri 16-11-12 10:50:43, Michael Wang wrote: > On 11/15/2012 05:40 PM, Jan Kara wrote: > > On Thu 15-11-12 09:41:40, Michael Wang wrote: > >> On 11/15/2012 05:10 AM, Paweł Sikora wrote: > >>> On Wednesday 14 of November 2012 10:32:41 Michael Wang wrote: > On 11/13/2012 05:40 PM, Paweł Sikora

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

2012-11-15 Thread Huang Ying
On Thu, 2012-11-15 at 10:51 +0100, Rafael J. Wysocki wrote: > On Thursday, November 15, 2012 09:03:44 AM Huang Ying wrote: > > On Thu, 2012-11-15 at 00:10 +0100, Rafael J. Wysocki wrote: > > > On Wednesday, November 14, 2012 04:45:01 PM Alan Stern wrote: > > > > On Wed, 14 Nov 2012, Rafael J.

[PATCH] serial: ifx6x60: ifx_spi_write don't need to do mrdy_assert when fifo is not empty.

2012-11-15 Thread Jun Chen
This patch check whether the fifo lenth is empty before writing new data to fifo.If condition is true,ifx_spi_write need to trigger one mrdy_assert. If condition is false,the mrdy_assert will be trigger by the next ifx_spi_io. Cc: Bi Chao Signed-off-by: Chen Jun ---

Re: [PATCH] KVM: MMU: lazily drop large spte

2012-11-15 Thread Marcelo Tosatti
On Thu, Nov 15, 2012 at 07:17:15AM +0800, Xiao Guangrong wrote: > On 11/14/2012 10:37 PM, Marcelo Tosatti wrote: > > On Tue, Nov 13, 2012 at 04:26:16PM +0800, Xiao Guangrong wrote: > >> Hi Marcelo, > >> > >> On 11/13/2012 07:10 AM, Marcelo Tosatti wrote: > >>> On Mon, Nov 05, 2012 at 05:59:26PM

[PATCH] audit: catch possible NULL buffers

2012-11-15 Thread Kees Cook
It's possible for audit_log_start() to return NULL. Handle it in various callers. Cc: sta...@vger.kernel.org Signed-off-by: Kees Cook --- kernel/audit.c |4 kernel/audit_tree.c | 26 +- kernel/audit_watch.c |2 ++ kernel/auditsc.c |8

Re: [PART3 Patch v2 13/14] page_alloc: use N_MEMORY instead N_HIGH_MEMORY change the node_states initialization

2012-11-15 Thread Wen Congyang
At 11/16/2012 08:29 AM, Andrew Morton Wrote: > On Thu, 15 Nov 2012 16:57:36 +0800 > Wen Congyang wrote: > >> N_HIGH_MEMORY stands for the nodes that has normal or high memory. >> N_MEMORY stands for the nodes that has any memory. >> >> The code here need to handle with the nodes which have

Re: [3.6.6] panic on reboot / khungtaskd blocked? (WARNING: at arch/x86/kernel/smp.c:123 native_smp_send_reschedule)

2012-11-15 Thread Michael Wang
On 11/15/2012 05:40 PM, Jan Kara wrote: > On Thu 15-11-12 09:41:40, Michael Wang wrote: >> On 11/15/2012 05:10 AM, Paweł Sikora wrote: >>> On Wednesday 14 of November 2012 10:32:41 Michael Wang wrote: On 11/13/2012 05:40 PM, Paweł Sikora wrote: > On Monday 12 of November 2012 13:33:39

Re: [RFC] dt/platform: Use cell-index for device naming if available

2012-11-15 Thread Stepan Moskovchenko
On 11/15/2012 8:10 AM, Grant Likely wrote: On Mon, 12 Nov 2012 18:48:43 -0800, Stepan Moskovchenko wrote: On 11/11/2012 5:45 PM, Stepan Moskovchenko wrote: On Sun, Nov 11, 2012 at 2:32 AM, Rob Herring wrote: On 11/09/2012 06:48 PM, Stepan Moskovchenko wrote: Use the cell-index property

[PATCH] Autoselect more relevant frontends for EM28XX DVB stick

2012-11-15 Thread Jonathan McDowell
Compiling up 3.6.6 for my media box recently I noticed that the EM28XX DVB driver doesn't auto select all of the appropriate DVB tuner modules required. In particular I needed DVB_LGDT3305 for my a340, but it looks like DVB_MT352 + DVB_S5H1409 were missing as well. Patch below adds the appropriate

[PATCHv3] tty: Added a CONFIG_TTY option to allow removal of TTY

2012-11-15 Thread Joe Millenbach
The option allows you to remove TTY and compile without errors. This saves space on systems that won't support TTY interfaces anyway. bloat-o-meter output is below. The bulk of this patch consists of Kconfig changes adding "depends on TTY" to various serial devices and similar drivers that

Re: [PATCH ] tbfadt.c: output warning only when 64bit 32bit address of FACS/DSDT all have value but not equal to each other

2012-11-15 Thread Ethan Zhao
Bob, Thanks for your detailed reviewing about the whole possible conditions. I.C. So that is impossible zero value for Xfacs /Xdsdt if facs/dsdt >0, for they are assigned in acpi_tb_convert_fadt(), I need to move my eyes one line code higher to see why it yelled twice but not using

[PATCH 3/9] irq_work: Remove CONFIG_HAVE_IRQ_WORK

2012-11-15 Thread Frederic Weisbecker
irq work can run on any arch even without IPI support because of the hook on update_process_times(). So lets remove HAVE_IRQ_WORK because it doesn't reflect any backend requirement. Signed-off-by: Frederic Weisbecker Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Andrew Morton

  1   2   3   4   5   6   7   8   9   10   >