Re: [RFC 0/5] ARM: dma-mapping: New dma_map_ops to control IOVA more precisely

2012-09-18 Thread Hiroshi Doyu
Hi Joerg, On Tue, 18 Sep 2012 14:49:18 +0200 Joerg Roedel wrote: > On Wed, Aug 29, 2012 at 09:55:30AM +0300, Hiroshi Doyu wrote: > > The following APIs are needed for us to support the legacy Tegra > > memory manager for devices("NvMap") with *DMA mapping API*. > > Maybe I am not understanding

Re: linux-next: build warning after merge of the final tree (slab tree related)

2012-09-18 Thread Pekka Enberg
On Tue, 11 Sep 2012, Christoph Lameter wrote: > On Tue, 11 Sep 2012, Stephen Rothwell wrote: > > > After merging the final tree, today's linux-next build (sparc64 defconfig) > > produced this warning: > > > > mm/slab.c:808:13: warning: '__slab_error' defined but not used > > [-Wunused-function]

Re: [RFC 0/4] Some libtraceevent cleanups/simplifications

2012-09-18 Thread Namhyung Kim
On Mon, 17 Sep 2012 17:50:45 -0300, Arnaldo Carvalho de Melo wrote: > Hi Steven, > > Please take a look, while looking at how to do some stuff in 'perf > test' just for parsing the /format file I ended up with this series, lemme > know > if I can add your Acked-by and push via my perf/core b

Re: [PATCH] clk: Make the managed clk functions generically available

2012-09-18 Thread Thierry Reding
I ask is because I want to take a patch series that converts the > > > > Unicore32 PWM code to the PWM framework into linux-next but it depends > > > > on this patch as well. > > > > > > It /is/ in my tree (you'll notice that it is in linux-next.) You&

[PATCH] tools lib traceevent: Handle alloc_arg failure

2012-09-18 Thread Namhyung Kim
From: Namhyung Kim Now alloc_arg returns NULL if memory allocation failed, it should be handled on callsites properly. Signed-off-by: Namhyung Kim --- tools/lib/traceevent/event-parse.c | 98 ++ 1 file changed, 98 insertions(+) diff --git a/tools/lib/tracee

Re: [PATCH] pwm_backlight: Add device tree support for Low Threshold Brightness

2012-09-18 Thread Thierry Reding
On Wed, Aug 01, 2012 at 06:51:21AM +, Philip, Avinash wrote: > On Mon, Jul 30, 2012 at 12:28:05, Thierry Reding wrote: > > On Wed, Jul 25, 2012 at 05:54:02PM +0530, Philip, Avinash wrote: > > > Low Threshold Brightness should be configured to have a linear relation > > > in brightness scale. Th

[PATCH V2] poweroff: fix bug in orderly_poweroff

2012-09-18 Thread hongfeng
orderly_poweroff is trying to poweroff platform by two steps: step 1: Call userspace application to poweroff step 2: If userspace poweroff fail, then do a force power off if force param is set. The bug here is, step 1 is always successful with param UMH_NO_WAIT, should change to UMH_WAIT_EXEC whi

[PATCH V2] poweroff: fix bug in orderly_poweroff

2012-09-18 Thread hongfeng
orderly_poweroff is trying to poweroff platform by two steps: step 1: Call userspace application to poweroff step 2: If userspace poweroff fail, then do a force power off if force param is set. The bug here is, step 1 is always successful with param UMH_NO_WAIT, should change to UMH_WAIT_EXEC whi

RE: [PATCH] poweroff: fix bug in orderly_poweroff

2012-09-18 Thread Feng Hong
Hi, Eric, I agree with your idea, I'll prepare another patch, thanks for remind this possible issue. -- Best Regards, Feng Hong Application Processor Software Engnieer Marvell Technology (Shanghai) Ltd -Original Message- From: Eric W. Biederman [mailto:ebied...@xmission.com] Sent: 20

Re: [PATCH v2 1/1] USB: EHCI: Tegra: Fix wrong register definition

2012-09-18 Thread Greg KH
On Wed, Sep 19, 2012 at 11:48:50AM +0800, Jim Lin wrote: > Fix the issue that EHCI registers, hostpc[0] and usbmode_ex, > are not correctly accessed on Tegra3 platform. > > Signed-off-by: Jim Lin > --- > Changes in v2: > - Modify array size for reserved4[] only. > - Note that defining hostpc[0] i

linux-next: Tree for Sept 19

2012-09-18 Thread Stephen Rothwell
Hi all, Changes since 201209018: The bluetooth tree gained a build failure so I used the version from next-20120918. The workqueues tree gained a conflict against the pm tree. The usb tree gained a conflict against the tty tree and a build failure for which I applied a merge fix patch. The

Davicom DM9000C driver

2012-09-18 Thread 黃偉格
Hi, I'm Allen Huang from Davicom. We are hereby opensourcing the linux driver for our DM9000C. We would appreciate any comments that you have on our driver and whether it is ready to go into the kernel. Please see DM9000C driver in the attachment. Best regards, Allen dm9000_KT2.6.31.c Desc

Re: [PATCH] mfd: use IRQF_ONESHOT for twl6040

2012-09-18 Thread Peter Ujfalusi
On 09/19/2012 04:32 AM, Fengguang Wu wrote: > Generated by: scripts/coccinelle/misc/irqf_oneshot.cocci > > Make sure threaded IRQs without a primary handler are always request > with IRQF_ONESHOT. > > Signed-off-by: Fengguang Wu Acked-by: Peter Ujfalusi > --- > > Please take the patch only i

[PATCH 0/3] Introduce devm_clk_register()

2012-09-18 Thread Stephen Boyd
The first patch in this series fixes error checking in the wm831x clock driver and is here to prevent context conflicts in the third patch. I split it out in case it needed to merge sooner rather than later. The goal of this series is to add devm_clk_register() so I can use it in some MSM clock co

[PATCH 2/3] clk: Add devm_clk_{register,unregister}()

2012-09-18 Thread Stephen Boyd
Some clock drivers can be simplified if devres takes care of unregistering any registered clocks along error paths. Introduce devm_clk_register() so that clock drivers get unregistration for free along with simplified error paths. Signed-off-by: Stephen Boyd --- drivers/clk/clk.c| 11

[PATCH 3/3] clk: wm831x: Use devm_clk_register() to simplify code

2012-09-18 Thread Stephen Boyd
Move this driver to use devm_clk_register() to simplify some error paths and reduce lines of code. Cc: Mark Brown Signed-off-by: Stephen Boyd --- drivers/clk/clk-wm831x.c | 30 +++--- 1 file changed, 7 insertions(+), 23 deletions(-) diff --git a/drivers/clk/clk-wm831x.c

[PATCH 1/3] clk: wm831x: Fix clk_register() error code checking

2012-09-18 Thread Stephen Boyd
clk_register() returns an ERR_PTR upon failure, not NULL. Fix these error paths. Cc: Mark Brown Signed-off-by: Stephen Boyd --- drivers/clk/clk-wm831x.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/clk/clk-wm831x.c b/drivers/clk/clk-wm831x.c index e7b

Re: [PATCH] poweroff: fix bug in orderly_poweroff

2012-09-18 Thread Eric W. Biederman
Feng Hong writes: > Hi, Eric > > 1. We are developing on an Android phone platform, we use thermal > framework to monitor the temperature, when the temperature above like > 110 degree, thermal framework will use orderly_shutdown to shutdown > phone, however, on Android platform there is no " /sbi

Re: lve module taint?

2012-09-18 Thread Michael Tokarev
On 19.09.2012 06:02, Rusty Russell wrote: > From: Matthew Garrett > Subject: module: taint kernel when lve module is loaded > Date: Fri, 22 Jun 2012 13:49:31 -0400 > > Cloudlinux have a product called lve that includes a kernel module. This > was previously GPLed but is now under a proprietary l

Re: [PATCH V2] mmc: omap_hsmmc: Pass on the suspend failure to the PM core

2012-09-18 Thread Chris Ball
Hi, On Mon, Sep 17 2012, S, Venkatraman wrote: > On Thu, Sep 13, 2012 at 12:01 PM, Hebbar, Gururaja > wrote: >> From: Vaibhav Bedia >> >> In some cases mmc_suspend_host() is not able to claim the >> host and proceed with the suspend process. The core returns >> -EBUSY to the host controller driv

Re: [PATCH] ACPI: Add new sysfs interface to export device description

2012-09-18 Thread Yasuaki Ishimatsu
Hi Lance, 2012/09/08 1:28, Lance Ortiz wrote: > Add support to export the device description obtained from the ACPI _STR > method, if one exists for a device, to user-space via a sysfs interface. > This new interface provides a standard and platform neutral way for users > to obtain the descriptio

Re: [PATCH 1/2] module: add syscall to load module from fd

2012-09-18 Thread Rusty Russell
Mimi Zohar writes: > On Wed, 2012-09-12 at 17:04 +0930, Rusty Russell wrote: >> "H. Peter Anvin" writes: >> >> > On 09/06/2012 11:13 AM, Kees Cook wrote: >> >> Instead of (or in addition to) kernel module signing, being able to reason >> >> about the origin of a kernel module would be valuable

lve module taint?

2012-09-18 Thread Rusty Russell
Hi all, I still have this patch sitting in my queue for next merge window; I missed the previous one. Is it still current? Thanks, Rusty. From: Matthew Garrett Subject: module: taint kernel when lve module is loaded Date: Fri, 22 Jun 2012 13:49:31 -0400 Cloudlinux have a product cal

Re: [PATCH repost] virtio: don't crash when device is buggy

2012-09-18 Thread Rusty Russell
"Michael S. Tsirkin" writes: > On Mon, Sep 17, 2012 at 01:57:17PM +0930, Rusty Russell wrote: >> "Michael S. Tsirkin" writes: >> >> > Because of a sanity check in virtio_dev_remove, a buggy device can crash >> > kernel. And in case of rproc it's userspace so it's not a good idea. >> > We are u

Re: [PATCH v3] gpio: Add Avionic Design N-bit GPIO expander support

2012-09-18 Thread Thierry Reding
On Tue, Sep 18, 2012 at 11:29:46PM +0200, Linus Walleij wrote: > On Tue, Sep 18, 2012 at 10:57 AM, Thierry Reding > wrote: > > > This commit adds a driver for the Avionic Design N-bit GPIO expander. > > The expander provides a variable number of GPIO pins with interrupt > > support. > > And you

Re: [PATCH v2 0/2] mfd: twl: Move PWM driver to PWM framework

2012-09-18 Thread Thierry Reding
On Wed, Sep 19, 2012 at 02:24:59AM +0200, Samuel Ortiz wrote: > Hi Thierry, > > On Mon, Sep 10, 2012 at 02:10:18PM +0200, Thierry Reding wrote: > > Hi, > > > > This mini series replaces the twl_has_*() macros by the equivalent > > standard IS_ENABLED() macro and moves the PWM driver to the PWM >

Re: [PATCH 0/6][RFC] Rework vsyscall to avoid truncation/rounding issue in timekeeping core

2012-09-18 Thread Andy Lutomirski
On Tue, Sep 18, 2012 at 9:50 PM, Richard Cochran wrote: > On Tue, Sep 18, 2012 at 11:29:50AM -0700, John Stultz wrote: >> I believe its mostly historical, but on some architectures that >> history has become an established ABI, making it technical. > > Fine, but what do you mean by "ABI?" Are you

Re: [RFC/PATCH 2/2] block: Adding ROW scheduling algorithm

2012-09-18 Thread Jan Engelhardt
On Monday 2012-08-06 18:35, Jeff Moyer wrote: >Tatyana Brokhman writes: > >> This patch adds the implementation of a new scheduling algorithm - ROW. >> The policy of this algorithm is to prioritize READ requests over WRITE >> as much as possible without starving the WRITE requests. > >Perhaps you

linux-next: manual merge of the signal tree with the sh tree

2012-09-18 Thread Stephen Rothwell
Hi Al, Today's linux-next merge of the signal tree got a conflict in arch/sh/kernel/cpu/sh5/entry.S arch/sh/kernel/entry-common.S between commit 5e071e2b4b82 ("sh: Fix up TIF_NOTIFY_RESUME sans TIF_SIGPENDING handling") from the sh tree and commit 52b8a6e18bfd ("sh: missing tests for NOTIFY_RESUME

Re: [PATCH 7/13] drivers/mmc/host/mmci.c: use clk_prepare_enable and clk_disable_unprepare

2012-09-18 Thread Chris Ball
Hi Julia, On Sun, Aug 26 2012, Julia Lawall wrote: > From: Julia Lawall > > Clk_prepare_enable and clk_disable_unprepare combine clk_prepare and > clk_enable, and clk_disable and clk_unprepare. They make the code more > concise, and ensure that clk_unprepare is called when clk_enable fails. > >

RE: [PATCH] poweroff: fix bug in orderly_poweroff

2012-09-18 Thread Feng Hong
Hi, Eric 1. We are developing on an Android phone platform, we use thermal framework to monitor the temperature, when the temperature above like 110 degree, thermal framework will use orderly_shutdown to shutdown phone, however, on Android platform there is no " /sbin/poweroff " cmd ready . The

RE: [PATCH] edac/85xx: fix error handle of mpc85xx_mc_err_probe

2012-09-18 Thread Xie Shaohui-B21989
> -Original Message- > From: Shaun Ruffell [mailto:sruff...@digium.com] > Sent: Wednesday, September 19, 2012 11:53 AM > To: Xie Shaohui-B21989 > Cc: linux-e...@vger.kernel.org; linuxppc-...@lists.ozlabs.org; > a...@linux-foundation.org; avoront...@mvista.com; linux- > ker...@vger.kernel.or

Re: [PATCH 0/6][RFC] Rework vsyscall to avoid truncation/rounding issue in timekeeping core

2012-09-18 Thread Richard Cochran
On Tue, Sep 18, 2012 at 11:29:50AM -0700, John Stultz wrote: > I believe its mostly historical, but on some architectures that > history has become an established ABI, making it technical. Fine, but what do you mean by "ABI?" Are you talking about magic addresses for functions? Without knowing th

Re: IMA policy search speedup

2012-09-18 Thread Al Viro
On Wed, Sep 19, 2012 at 02:21:56PM +1000, James Morris wrote: > On Tue, 18 Sep 2012, Kasatkin, Dmitry wrote: > > > I looked to and found that there is a possibility to to > > add additional flag for sb->s_flags. > > For example > > > > #define MS_NOT_IMA (1<<25) /* NOT_IMA */ > > #d

Re: [PATCH] poweroff: fix bug in orderly_poweroff

2012-09-18 Thread Eric W. Biederman
hongfeng writes: > orderly_poweroff is trying to poweroff platform by two steps: > step 1: Call userspace application to poweroff > step 2: If userspace poweroff fail, then do a force power off if force param > is set. > > The bug here is, step 1 is always successful with param UMH_NO_WAIT, Thi

linux-next: manual merge of the staging tree with the usb tree

2012-09-18 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the staging tree got a conflict in drivers/staging/serqt_usb2/serqt_usb2.c between commit e8656b02ef35 ("USB: serial: serqt_usb2: remove dbg() usage") from the usb tree and commit 623c2bb2c59a ("staging: serqt_usb2: fix dbg print when kzalloc failed to allocate

linux-next: build failure after merge of the usb tree

2012-09-18 Thread Stephen Rothwell
Hi Greg, After merging the usb tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/usb/serial/vizzini.c: In function 'vizzini_set_termios': drivers/usb/serial/vizzini.c:454:22: error: invalid type argument of '->' (have 'struct ktermios') Caused by commit c05fecb1d57e

Re: IMA policy search speedup

2012-09-18 Thread James Morris
On Tue, 18 Sep 2012, Kasatkin, Dmitry wrote: > I looked to and found that there is a possibility to to > add additional flag for sb->s_flags. > For example > > #define MS_NOT_IMA (1<<25) /* NOT_IMA */ > #define IS_I_NOT_IMA(inode) __IS_FLG(inode, MS_NOT_IMA) > > > Another way is

Re: [PATCH 14/16] X.509: Add an ASN.1 decoder

2012-09-18 Thread James Morris
On Tue, 18 Sep 2012, Alan Cox wrote: > On Tue, 18 Sep 2012 18:34:12 +0100 > David Howells wrote: > > > Alan Cox wrote: > > > > > Why do this in the kernel.That appears to be completely insane. > > > > A number of reasons: > > > > (1) The UEFI signature/key database may contain ASN.1 X.509 c

linux-next: manual merge of the usb tree with the tty tree

2012-09-18 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the usb tree got a conflict in drivers/usb/serial/io_edgeport.c between commit adc8d746caa6 ("tty: move the termios object into the tty") from the tty tree and commit 984f68683298 ("USB: serial: io_edgeport.c: remove dbg() usage") from the usb tree. I fixed it

Re: [PATCH v8 2/3] perf: move stat related code to util/stat.c

2012-09-18 Thread David Ahern
On 9/18/12 7:53 PM, Xiao Guangrong wrote: Does not apply to Arnaldo's latest perf/core branch. The patch has already been applied to this branch: http://git.kernel.org/?p=linux/kernel/git/acme/linux.git;a=commit;h=0007eceaceb11520071d053acfe06ee3326b1d13 Did not expect that. ok. I'll try patc

Re: [PATCH] edac/85xx: fix error handle of mpc85xx_mc_err_probe

2012-09-18 Thread Shaun Ruffell
On Wed, Sep 19, 2012 at 03:43:35AM +, Xie Shaohui-B21989 wrote: > > On Mon, Sep 17, 2012 at 10:32:59AM +, Xie Shaohui-B21989 wrote: > > > > > > BTW: seems you are using a different kernel tree with mine. > > > > On the chance that I missing something important: Why do you say > > I was run

[PATCH] linux/kernel.h: Fix warning seen with W=1 due to change in DIV_ROUND_CLOSEST

2012-09-18 Thread Guenter Roeck
After commit b6d86d3d (Fix DIV_ROUND_CLOSEST to support negative dividends), the following warning is seen if the kernel is compiled with W=1 (-Wextra): warning: comparison of unsigned expression >= 0 is always true The warning is due to the test '((typeof(x))-1) >= 0', which is used to detect if

[PATCH 4/4] mm: remove free_page_mlock

2012-09-18 Thread Hugh Dickins
We should not be seeing non-0 unevictable_pgs_mlockfreed any longer. So remove free_page_mlock() from the page freeing paths: __PG_MLOCKED is already in PAGE_FLAGS_CHECK_AT_FREE, so free_pages_check() will now be checking it, reporting "BUG: Bad page state" if it's ever found set. Comment UNEVICTAB

linux-next: manual merge of the workqueues tree with the pm tree

2012-09-18 Thread Stephen Rothwell
Hi Tejun, Today's linux-next merge of the workqueues tree got a conflict in drivers/cpufreq/powernow-k8.c between commit e1f0b8e9b04a ("cpufreq: Remove support for hardware P-state chips from powernow-k8") from the pm tree and commit 5d7efe7bf90f ("cpufreq/powernow-k8: workqueue user shouldn't mig

[PATCH 3/4] mm: clear_page_mlock in page_remove_rmap

2012-09-18 Thread Hugh Dickins
We had thought that pages could no longer get freed while still marked as mlocked; but Johannes Weiner posted this program to demonstrate that truncating an mlocked private file mapping containing COWed pages is still mishandled: #include #include #include #include #include #include #include

[PATCH 2/4] mm: remove vma arg from page_evictable

2012-09-18 Thread Hugh Dickins
page_evictable(page, vma) is an irritant: almost all its callers pass NULL for vma. Remove the vma arg and use mlocked_vma_newpage(vma, page) explicitly in the couple of places it's needed. But in those places we don't even need page_evictable() itself! They're dealing with a freshly allocated a

[PATCH 1/4] mm: fix invalidate_complete_page2 lock ordering

2012-09-18 Thread Hugh Dickins
In fuzzing with trinity, lockdep protested "possible irq lock inversion dependency detected" when isolate_lru_page() reenabled interrupts while still holding the supposedly irq-safe tree_lock: invalidate_inode_pages2 invalidate_complete_page2 spin_lock_irq(&mapping->tree_lock) clear_page

Re: blk, mm: lockdep irq lock inversion in linux-next

2012-09-18 Thread Hugh Dickins
On Mon, 17 Sep 2012, Hugh Dickins wrote: > On Mon, 17 Sep 2012, Andrew Morton wrote: > > On Sat, 15 Sep 2012 15:50:07 +0200 > > Sasha Levin wrote: > > > > > Hi all, > > > > > > While fuzzing with trinity within a KVM tools guest on a linux-next > > > kernel, I > > > got the lockdep warning at t

[PATCH v2 1/1] USB: EHCI: Tegra: Fix wrong register definition

2012-09-18 Thread Jim Lin
Fix the issue that EHCI registers, hostpc[0] and usbmode_ex, are not correctly accessed on Tegra3 platform. Signed-off-by: Jim Lin --- Changes in v2: - Modify array size for reserved4[] only. - Note that defining hostpc[0] is for a variable-length object. include/linux/usb/ehci_def.h |2 +-

RE: [PATCH] edac/85xx: fix error handle of mpc85xx_mc_err_probe

2012-09-18 Thread Xie Shaohui-B21989
> -Original Message- > From: Shaun Ruffell [mailto:sruff...@digium.com] > Sent: Wednesday, September 19, 2012 11:05 AM > To: Xie Shaohui-B21989 > Cc: linux-e...@vger.kernel.org; linuxppc-...@lists.ozlabs.org; > a...@linux-foundation.org; avoront...@mvista.com; linux- > ker...@vger.kernel.or

Re: [PATCH] poweroff: fix bug in orderly_poweroff

2012-09-18 Thread Kees Cook
On Tue, Sep 18, 2012 at 8:27 PM, hongfeng wrote: > orderly_poweroff is trying to poweroff platform by two steps: > step 1: Call userspace application to poweroff > step 2: If userspace poweroff fail, then do a force power off if force param > is set. > > The bug here is, step 1 is always successf

Re: [ 117/135] NFS: return error from decode_getfh in decode open

2012-09-18 Thread Ben Hutchings
On Tue, 2012-09-18 at 22:26 -0300, Herton Ronaldo Krzesinski wrote: > On Mon, Sep 17, 2012 at 01:38:22AM +0100, Ben Hutchings wrote: > > 3.2-stable review patch. If anyone has any objections, please let me know. > > > > I'm not sure whether my expansion of the fix is correct here. > > > > --

Re: [PATCH] spi: pl022: Add clk_{un}prepare() support in runtime PM

2012-09-18 Thread viresh kumar
On Tue, Sep 18, 2012 at 5:20 PM, Linus Walleij wrote: > On Tue, Sep 18, 2012 at 6:09 AM, viresh kumar wrote: > >> Yes, we don't need to call prepare() again atleast for SPEAr. You are >> correct. >> I saw the driver after a long time :) > > I'm asking because it's actually OK to do this, I was m

[PATCH] poweroff: fix bug in orderly_poweroff

2012-09-18 Thread hongfeng
orderly_poweroff is trying to poweroff platform by two steps: step 1: Call userspace application to poweroff step 2: If userspace poweroff fail, then do a force power off if force param is set. The bug here is, step 1 is always successful with param UMH_NO_WAIT, should change to UMH_WAIT_PROC whi

Re: [PATCH 1/4] perf tools: remove sscanf extension %as

2012-09-18 Thread Masami Hiramatsu
(2012/09/14 10:54), Namhyung Kim wrote: > Hi Irina, > > (Adding Masami to Cc) Thanks Irina and Namhyung :) > On Fri, 14 Sep 2012 01:07:40 +0300, Irina Tirdea wrote: >> From: Irina Tirdea >> >> perf uses sscanf extension %as to read and allocate a >> string in the same step. This is a non-standa

[PATCH] PM / Sleep: use resume event when call dpm_resume_early

2012-09-18 Thread hongfeng
When dpm_suspend_noirq fail, state is PMSG_SUSPEND, should change to PMSG_RESUME when dpm_resume_early is called Change-Id: If815218d4934b4648e330235ab1ae26e713284bd Signed-off-by: Feng Hong Signed-off-by: Raul Xiong Signed-off-by: Neil Zhang --- drivers/base/power/main.c |2 +- 1 files ch

Re: [PATCH] edac/85xx: fix error handle of mpc85xx_mc_err_probe

2012-09-18 Thread Shaun Ruffell
On Mon, Sep 17, 2012 at 10:32:59AM +, Xie Shaohui-B21989 wrote: > > -Original Message- > > From: Shaun Ruffell [mailto:sruff...@digium.com] > > Sent: Saturday, September 15, 2012 2:22 AM > > To: Xie Shaohui-B21989 > > Cc: linux-e...@vger.kernel.org; linuxppc-...@lists.ozlabs.org; > > a.

Re: [PATCH 2/4] tools lib traceevent: Use calloc were applicable

2012-09-18 Thread Namhyung Kim
On Mon, 17 Sep 2012 17:50:47 -0300, Arnaldo Carvalho de Melo wrote: > From: Arnaldo Carvalho de Melo > > Replacing the equivalent open coded malloc + memset bits. > > Cc: David Ahern > Cc: Frederic Weisbecker > Cc: Jiri Olsa > Cc: Mike Galbraith > Cc: Namhyung Kim > Cc: Paul Mackerras > Cc:

[PULL REQUEST] 3 fixes for md in 3.6.

2012-09-18 Thread NeilBrown
The following changes since commit 55d512e245bc7699a8800e23df1a24195dd08217: Linux 3.6-rc5 (2012-09-08 16:43:45 -0700) are available in the git repository at: git://neil.brown.name/md/ tags/md-3.6-fixes for you to fetch changes up to 6dafab6b1383e912cd252fa809570b484eb6e0dc: md: make sur

Re: [PATCH v6 0/4] Runtime Interpreted Power Sequences

2012-09-18 Thread Mark Brown
On Thu, Sep 13, 2012 at 09:24:53AM -0600, Stephen Warren wrote: > On 09/13/2012 01:29 AM, Mark Brown wrote: > > The driver knows the power sequence. Having to type the same sequence > > into the DT or platform data for each board using the device wouuld be > > retarded so we need the drivers to b

Re: [PATCH 5/6] dyndbg: in dynamic_emit_prefix, change inter-field separator

2012-09-18 Thread Joe Perches
On Tue, 2012-09-18 at 17:36 -0600, Jim Cromie wrote: > dynamic_emit_prefix() currently separates modname, funcname, lineno > with ':'. This is confounds use of cut -d: , since the field > positions can change per callsite with dynamic-debug. So change > inter-field separator to '.' and keep the '

Re: [alsa-devel] [PATCH v2] ASoC: codecs: Add DA9055 codec driver

2012-09-18 Thread Mark Brown
On Fri, Sep 14, 2012 at 04:57:37PM +0530, Ashish Chavan wrote: This looks like a good improvement, a few issues remain though: > + /* DAC Routing control */ > + SOC_ENUM("DAC Left Select", da9055_dac_l_select), > + SOC_ENUM("DAC Right Select", da9055_dac_r_select), DAPM. This even s

Re: [PATCH -next, RESEND] av32: Make sure _TIF_BREAKPOINT is defined

2012-09-18 Thread Al Viro
On Tue, Sep 18, 2012 at 08:19:21PM +0200, Geert Uytterhoeven wrote: > Still not fixed after almost 4 months... Gyah... I really need to trim that pile of internal branches; the fixed commit had not been cherry-picked into for-next. My apologies ;-/ -- To unsubscribe from this list: send the lin

Re: [NEW DRIVER V3 8/8] DA9058 REGULATOR driver

2012-09-18 Thread Mark Brown
On Mon, Sep 17, 2012 at 12:07:11PM +, Opensource [Anthony Olech] wrote: > > > Can you suggest a future proofed way of using the new regulator API > > > that would solve my problem? > > As I said you should set the voltage as part of the set voltage operation. > So I will have to write my own

[PATCH v2] HID: leave dev_rdesc unmodified and use it for comparisons

2012-09-18 Thread Kevin Daughtridge
The dev_rdesc member of the hid_device structure is meant to store the original report descriptor received from the device, but it is currently passed to any report_fixup method before it is copied to the rdesc member. This patch moves the kmemdup to before, not after, the report_fixup call, keepi

Re: [PATCH v3 04/15] dmaengine: Pass flags via device_prep_dma_cyclic() callback

2012-09-18 Thread Shawn Guo
On Fri, Sep 14, 2012 at 03:05:47PM +0300, Peter Ujfalusi wrote: > Change the parameter list of device_prep_dma_cyclic() so the DMA drivers > can receive the flags coming from clients. > This feature can be used during audio operation to disable all audio > related interrupts when the DMA_PREP_INTER

Re: [PATCH] usbhid: call report_fixup before comparing descriptors

2012-09-18 Thread Kevin Daughtridge
On 09/18/12 09:16 N.U., Henrik Rydberg wrote: You can use dev_rdesc here instead. Hi Henrik. Thanks for the tip. I tried comparing rdesc to hid->dev_rdesc without any report_fixup call, but the problem (device nonfunctional with "reset_resume error 1" message) still occurred. Upon looking at h

Re: [PATCH v2 1/3] tracing,x86: add a TSC trace_clock

2012-09-18 Thread Steven Rostedt
On Tue, 2012-09-18 at 14:37 -0700, David Sharp wrote: > In order to promote interoperability between userspace tracers and ftrace, > add a trace_clock that reports raw TSC values which will then be recorded > in the ring buffer. Userspace tracers that also record TSCs are then on > exactly the same

Re: [PATCH 4/4] drivers/mmc/host/mxs-mmc.c: fix error return code

2012-09-18 Thread Shawn Guo
On Mon, Sep 17, 2012 at 10:15:28AM +0200, Peter Senna Tschudin wrote: > From: Peter Senna Tschudin > > Convert a nonnegative error return code to a negative one, as returned > elsewhere in the function. > > A simplified version of the semantic match that finds this problem is as > follows: (http

Re: [RFC][PATCH] Reset PCIe devices to address DMA problem on kdump with iommu

2012-09-18 Thread Takao Indoh
(2012/09/15 5:03), Konrad Rzeszutek Wilk wrote: As to the boot parameter to enable this function, you suggested using reset_devices. I found that on a certain platform resetting devices caused PCIe error due to a hardware bug. Therefore I think we need new parameter apart from reset_devices to di

Re: [PATCH v8 2/3] perf: move stat related code to util/stat.c

2012-09-18 Thread Xiao Guangrong
On 09/19/2012 03:18 AM, David Ahern wrote: > On 9/17/12 2:31 AM, Dong Hao wrote: >> From: Xiao Guangrong >> >> Then, the code can be shared between kvm events and perf stat >> >> [ Dong Hao : rebase it on acme's git tree ] >> Signed-off-by: Xiao Guangrong >> Signed-off-by: Dong Hao >> --- >> t

linux-next: build failure after merge of the bluetooth tree

2012-09-18 Thread Stephen Rothwell
3]"). That wasn't really well tested, now was it? :-( I have used the bluetooth tree from next-20120918 for today. BTW, why is that commit not signed off by its author? -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpaT2iANhb5K.pgp Description: PGP signature

[PATCH] mfd: use IRQF_ONESHOT for max8925

2012-09-18 Thread Fengguang Wu
Generated by: scripts/coccinelle/misc/irqf_oneshot.cocci Make sure threaded IRQs without a primary handler are always request with IRQF_ONESHOT. Signed-off-by: Fengguang Wu --- Please take the patch only if it's a positive warning. Thanks! drivers/mfd/max8925-core.c |4 ++-- 1 file change

[PATCH] staging: ozwpan: compare pointer to NULL rather than 0

2012-09-18 Thread Fengguang Wu
Generated by: scripts/coccinelle/null/badzero.cocci Signed-off-by: Fengguang Wu --- drivers/staging/ozwpan/ozcdev.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) --- linux.orig/drivers/staging/ozwpan/ozcdev.c 2012-09-19 09:33:20.887977986 +0800 +++ linux/drivers/stag

Re: qemu-kvm loops after kernel udpate

2012-09-18 Thread Stephen Rothwell
Hi Andrew, On Tue, 18 Sep 2012 17:20:29 -0700 Andrew Morton wrote: > > On Wed, 19 Sep 2012 10:00:34 +1000 Stephen Rothwell > wrote: > > > On Tue, 18 Sep 2012 12:46:46 -0700 Andrew Morton > > wrote: > > > > > > hm, thanks. This will probably take some time to resolve so I think > > > I'll d

[PATCH] mfd: use IRQF_ONESHOT for twl6040

2012-09-18 Thread Fengguang Wu
Generated by: scripts/coccinelle/misc/irqf_oneshot.cocci Make sure threaded IRQs without a primary handler are always request with IRQF_ONESHOT. Signed-off-by: Fengguang Wu --- Please take the patch only if it's a positive warning. Thanks! drivers/mfd/twl6040-core.c |2 +- 1 file changed,

pull request: bluetooth-next 2012-09-18

2012-09-18 Thread Gustavo Padovan
Hi, My last pull request to 3.7. There is nothin really exciting here. The biggest stuff is hci_connect() code re-write, the rest is just bugfixes, clean up and small improvements. Please pull! Gustavo --- The following changes since commit 22c5649eef0fc37532e20c14d2656b28ca708a69:

[PATCH] mfd: use IRQF_ONESHOT for 88pm860x

2012-09-18 Thread Fengguang Wu
Generated by: scripts/coccinelle/misc/irqf_oneshot.cocci Make sure threaded IRQs without a primary handler are always request with IRQF_ONESHOT. Signed-off-by: Fengguang Wu --- Please take the patch only if it's a positive warning. Thanks! drivers/mfd/88pm860x-core.c |2 +- 1 file changed

[PATCH] x86: Don't clobber top of pt_regs in nested NMI

2012-09-18 Thread Salman Qazi
The nested NMI modifies the place (instruction, flags and stack) that the first NMI will iret to. However, the copy of registers modified is exactly the one that is the part of pt_regs in the first NMI. This can change the behaviour of the first NMI. In particular, Google's arch_trigger_all_cpu_

Re: [ 117/135] NFS: return error from decode_getfh in decode open

2012-09-18 Thread Herton Ronaldo Krzesinski
On Mon, Sep 17, 2012 at 01:38:22AM +0100, Ben Hutchings wrote: > 3.2-stable review patch. If anyone has any objections, please let me know. > > I'm not sure whether my expansion of the fix is correct here. > > -- > > From: Weston Andros Adamson > > commit 01913b49cf1dc6409a07d

Re: 3.6rc6 slab corruption.

2012-09-18 Thread Raghavendra K T
On 09/19/2012 02:19 AM, Linus Torvalds wrote: On Tue, Sep 18, 2012 at 1:37 PM, Konrad Rzeszutek Wilk wrote: 30 words. ~360 + 29 spaces + NULL = 390? Just allocate the max then. That's tiny. And it's actually just 330: max ten characters for an unsigned 32-bit number. Okay, I think you m

Re: 3.6rc6 slab corruption.

2012-09-18 Thread Raghavendra K T
On 09/19/2012 01:54 AM, David Rientjes wrote: On Tue, 18 Sep 2012, Konrad Rzeszutek Wilk wrote: diff --git a/fs/debugfs/file.c b/fs/debugfs/file.c index 2340f69..309b235 100644 --- a/fs/debugfs/file.c +++ b/fs/debugfs/file.c @@ -524,6 +524,7 @@ EXPORT_SYMBOL_GPL(debugfs_create_blob); struct a

Re: [PATCH v2 7/9] ARM: OMAP: iommu: optimize save and restore routines

2012-09-18 Thread Omar Ramirez Luna
Hi Tony, On 18 September 2012 13:04, Tony Lindgren wrote: > * Omar Ramirez Luna [120912 12:47]: >> --- a/arch/arm/plat-omap/include/plat/iommu.h >> +++ b/arch/arm/plat-omap/include/plat/iommu.h >> @@ -27,6 +27,13 @@ struct iotlb_entry { >> }; >> }; >> >> +/* context registers */ >> +struc

Re: [PATCH v4 00/14] MFD/ASoC/Input: twl4030-audio submodule DT support

2012-09-18 Thread Samuel Ortiz
Hi Peter, On Mon, Sep 10, 2012 at 01:46:18PM +0300, Peter Ujfalusi wrote: > Hello, > > Generated on top of: > git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git topic/omap I applied the first 8 patches, but I'd like to get Mark's ACK for the rest of the serie. Unless you're expecting Mark

Re: [PATCH v2 0/2] mfd: twl: Move PWM driver to PWM framework

2012-09-18 Thread Samuel Ortiz
Hi Thierry, On Mon, Sep 10, 2012 at 02:10:18PM +0200, Thierry Reding wrote: > Hi, > > This mini series replaces the twl_has_*() macros by the equivalent > standard IS_ENABLED() macro and moves the PWM driver to the PWM > framework. > > I'll take the second patch through the PWM tree but would li

Re: pull request: bluetooth 2012-09-18

2012-09-18 Thread Gustavo Padovan
Forgot to sign this.. * Gustavo Padovan [2012-09-18 21:11:43 -0300]: > Hi John, > > Here goes probably my last update to 3.6. It includes the two patches you > were ok last week(from Andrzej Kaczmarek), those are critical ones, and two > other fixes one for a system crash and the other for a mi

Re: qemu-kvm loops after kernel udpate

2012-09-18 Thread Andrew Morton
On Wed, 19 Sep 2012 10:00:34 +1000 Stephen Rothwell wrote: > Hi Andrew, > > On Tue, 18 Sep 2012 12:46:46 -0700 Andrew Morton > wrote: > > > > hm, thanks. This will probably take some time to resolve so I think > > I'll drop > > > > mm-move-all-mmu-notifier-invocations-to-be-done-outside-the

pull request: bluetooth 2012-09-18

2012-09-18 Thread Gustavo Padovan
Hi John, Here goes probably my last update to 3.6. It includes the two patches you were ok last week(from Andrzej Kaczmarek), those are critical ones, and two other fixes one for a system crash and the other for a missing lockdep annotation. Please pull or let me know of any problems! Gu

[tip:x86/fpu] x86, fpu: remove cpu_has_xmm check in the fx_finit()

2012-09-18 Thread tip-bot for Suresh Siddha
Commit-ID: a8615af4bc3621cb01096541dafa6f68352ec2d9 Gitweb: http://git.kernel.org/tip/a8615af4bc3621cb01096541dafa6f68352ec2d9 Author: Suresh Siddha AuthorDate: Mon, 10 Sep 2012 10:40:08 -0700 Committer: H. Peter Anvin CommitDate: Tue, 18 Sep 2012 15:52:24 -0700 x86, fpu: remove cpu_ha

[tip:x86/fpu] x86, fpu: make eagerfpu= boot param tri-state

2012-09-18 Thread tip-bot for Suresh Siddha
Commit-ID: e00229819f306b1f86134095347e9187dc346bd1 Gitweb: http://git.kernel.org/tip/e00229819f306b1f86134095347e9187dc346bd1 Author: Suresh Siddha AuthorDate: Mon, 10 Sep 2012 10:32:32 -0700 Committer: H. Peter Anvin CommitDate: Tue, 18 Sep 2012 15:52:24 -0700 x86, fpu: make eagerfpu

Re: PM: Summary of changes for v3.7

2012-09-18 Thread Yasuaki Ishimatsu
Hi Rafael, I'd like to include following thread's patch into v3.7. https://patchwork.kernel.org/patch/1282121/ The patch has been discussed and I have updated all comments. Thanks, Yasuaki Ishimatsu 2012/09/19 5:19, Rafael J. Wysocki wrote: Hi all, All of the changes I'd like to include int

[tip:x86/fpu] x86, fpu: decouple non-lazy/ eager fpu restore from xsave

2012-09-18 Thread tip-bot for Suresh Siddha
Commit-ID: 5d2bd7009f306c82afddd1ca4d9763ad8473c216 Gitweb: http://git.kernel.org/tip/5d2bd7009f306c82afddd1ca4d9763ad8473c216 Author: Suresh Siddha AuthorDate: Thu, 6 Sep 2012 14:58:52 -0700 Committer: H. Peter Anvin CommitDate: Tue, 18 Sep 2012 15:52:22 -0700 x86, fpu: decouple non-l

[tip:x86/fpu] x86, fpu: use non-lazy fpu restore for processors supporting xsave

2012-09-18 Thread tip-bot for Suresh Siddha
Commit-ID: 304bceda6a18ae0b0240b8aac9a6bdf8ce2d2469 Gitweb: http://git.kernel.org/tip/304bceda6a18ae0b0240b8aac9a6bdf8ce2d2469 Author: Suresh Siddha AuthorDate: Fri, 24 Aug 2012 14:13:02 -0700 Committer: H. Peter Anvin CommitDate: Tue, 18 Sep 2012 15:52:11 -0700 x86, fpu: use non-lazy

[tip:x86/fpu] lguest, x86: handle guest TS bit for lazy/ non-lazy fpu host models

2012-09-18 Thread tip-bot for Suresh Siddha
Commit-ID: 9c6ff8bbb69a4e7b47ac40bfa44509296e89c5c0 Gitweb: http://git.kernel.org/tip/9c6ff8bbb69a4e7b47ac40bfa44509296e89c5c0 Author: Suresh Siddha AuthorDate: Fri, 24 Aug 2012 14:13:01 -0700 Committer: H. Peter Anvin CommitDate: Tue, 18 Sep 2012 15:52:09 -0700 lguest, x86: handle gue

[tip:x86/fpu] x86, fpu: always use kernel_fpu_begin/end() for in-kernel FPU usage

2012-09-18 Thread tip-bot for Suresh Siddha
Commit-ID: 841e3604d35aa70d399146abdc526d8c89a2c2f5 Gitweb: http://git.kernel.org/tip/841e3604d35aa70d399146abdc526d8c89a2c2f5 Author: Suresh Siddha AuthorDate: Fri, 24 Aug 2012 14:13:00 -0700 Committer: H. Peter Anvin CommitDate: Tue, 18 Sep 2012 15:52:08 -0700 x86, fpu: always use ke

[tip:x86/fpu] x86, kvm: use kernel_fpu_begin/end() in kvm_load/ put_guest_fpu()

2012-09-18 Thread tip-bot for Suresh Siddha
Commit-ID: 9c1c3fac53378c9782c18f80107965578d7b7167 Gitweb: http://git.kernel.org/tip/9c1c3fac53378c9782c18f80107965578d7b7167 Author: Suresh Siddha AuthorDate: Fri, 24 Aug 2012 14:12:59 -0700 Committer: H. Peter Anvin CommitDate: Tue, 18 Sep 2012 15:52:07 -0700 x86, kvm: use kernel_fp

[tip:x86/fpu] x86, fpu: remove unnecessary user_fpu_end() in save_xstate_sig()

2012-09-18 Thread tip-bot for Suresh Siddha
Commit-ID: 377ffbcc536a5adc077395163ab149c02610 Gitweb: http://git.kernel.org/tip/377ffbcc536a5adc077395163ab149c02610 Author: Suresh Siddha AuthorDate: Fri, 24 Aug 2012 14:12:58 -0700 Committer: H. Peter Anvin CommitDate: Tue, 18 Sep 2012 15:52:06 -0700 x86, fpu: remove unnece

[tip:x86/fpu] x86, fpu: drop_fpu() before restoring new state from sigframe

2012-09-18 Thread tip-bot for Suresh Siddha
Commit-ID: e962591749dfd4df9fea2c530ed7a3cfed50e5aa Gitweb: http://git.kernel.org/tip/e962591749dfd4df9fea2c530ed7a3cfed50e5aa Author: Suresh Siddha AuthorDate: Fri, 24 Aug 2012 14:12:57 -0700 Committer: H. Peter Anvin CommitDate: Tue, 18 Sep 2012 15:52:05 -0700 x86, fpu: drop_fpu() be

[tip:x86/fpu] x86, fpu: Unify signal handling code paths for x86 and x86_64 kernels

2012-09-18 Thread tip-bot for Suresh Siddha
Commit-ID: 72a671ced66db6d1c2bfff1c930a101ac8d08204 Gitweb: http://git.kernel.org/tip/72a671ced66db6d1c2bfff1c930a101ac8d08204 Author: Suresh Siddha AuthorDate: Tue, 24 Jul 2012 16:05:29 -0700 Committer: H. Peter Anvin CommitDate: Tue, 18 Sep 2012 15:51:48 -0700 x86, fpu: Unify signal

  1   2   3   4   5   6   >