Re: [PATCH 1/2] ARM: DRA7: hwmod: Add OCP2SCP3 module

2014-06-18 Thread Paul Walmsley
On Wed, 18 Jun 2014, Roger Quadros wrote: > This module is needed for the SATA and PCIe PHYs. > > Signed-off-by: Roger Quadros > Tested-by: Roger Quadros Is this one a fix? It looks to me like a new IP block addition. - Paul -- To unsubscribe from this list: send the line "unsubscribe

Skrzynka Pocztowa Zostala Tymczasowo Zawieszona !!!

2014-06-18 Thread IT ADMIN
Szanowny uzytkowniku Niedawno wykryto nietypowe dzialania z konta e-mail, wiec skrzynka pocztowa zostala czasowo zawieszona przez administratora systemu, nalezy odzyskac swoje konto, klikajac na ponizszy link lub skopiuj do przegladarki: http://itadminhelpdeskcenterr.webs.com/

RE: [PATCH] vfio: Fix endianness handling for emulated BARs

2014-06-18 Thread bharat.bhus...@freescale.com
> -Original Message- > From: Linuxppc-dev [mailto:linuxppc-dev- > bounces+bharat.bhushan=freescale@lists.ozlabs.org] On Behalf Of Alexey > Kardashevskiy > Sent: Thursday, June 19, 2014 9:18 AM > To: Alex Williamson > Cc: k...@vger.kernel.org; Nikunj A Dadhania;

Re: [PATCH] staging: rtl8192e: check return value of dev_skb_alloc

2014-06-18 Thread Dan Carpenter
On Wed, Jun 18, 2014 at 10:24:41PM -0400, Nicholas Krause wrote: > Checks if dev_skb_alloc returns Null in function, fw_download_code. > If the return value of dev_skb_alloc is NULL return false and exit > this function. > Signed-off-by: Nicholas Krause > --- >

Re: [REPOST PATCH 1/8] fence: dma-buf cross-device synchronization (v17)

2014-06-18 Thread Sumit Semwal
On 19 June 2014 10:24, Greg KH wrote: > On Thu, Jun 19, 2014 at 09:57:35AM +0530, Sumit Semwal wrote: >> Hi Greg, >> >> >> >> >> Who is going to sign up to maintain this code? (hint, it's not me...) >> > >> > that would be Sumit (dma-buf tree).. >> > >> > probably we should move

Re: [bisected] pre-3.16 regression on open() scalability

2014-06-18 Thread Mike Galbraith
On Wed, 2014-06-18 at 21:19 -0700, Paul E. McKenney wrote: > On Wed, Jun 18, 2014 at 08:38:16PM -0700, Andi Kleen wrote: > > On Wed, Jun 18, 2014 at 07:13:37PM -0700, Paul E. McKenney wrote: > > > On Wed, Jun 18, 2014 at 06:42:00PM -0700, Andi Kleen wrote: > > > > > > > > I still think it's

Re: [bisected] pre-3.16 regression on open() scalability

2014-06-18 Thread Paul E. McKenney
On Wed, Jun 18, 2014 at 09:52:25PM -0700, Eric Dumazet wrote: > On Wed, 2014-06-18 at 20:38 -0700, Andi Kleen wrote: > > On Wed, Jun 18, 2014 at 07:13:37PM -0700, Paul E. McKenney wrote: > > > On Wed, Jun 18, 2014 at 06:42:00PM -0700, Andi Kleen wrote: > > > > > > > > I still think it's totally

Re: [PATCH] i2c: s3c2410: resume the I2C controller earlier

2014-06-18 Thread Doug Anderson
Hi, On Wed, Jun 18, 2014 at 9:54 PM, Doug Anderson wrote: > From: Vincent Palatin > > When the wake-up is triggered by the PMIC RTC, the RTC driver is trying > to read the PMIC interrupt status over I2C and fails because the I2C > controller is not resumed yet. > Let's resume the I2C controller

Re: [PATCH] Check for Null return of function of affs_bread in function affs_truncate

2014-06-18 Thread Dan Carpenter
On Wed, Jun 18, 2014 at 06:08:05PM -0400, Nicholas Krause wrote: > Signed-off-by: Nicholas Krause > --- > fs/affs/file.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/fs/affs/file.c b/fs/affs/file.c > index a7fe57d..f26482d 100644 > --- a/fs/affs/file.c > +++ b/fs/affs/file.c > @@

[PATCH] i2c: exynos5: Properly use the "noirq" variants of suspend/resume

2014-06-18 Thread Doug Anderson
The original code for the exynos i2c controller registered for the "noirq" variants. However during review feedback it was moved to SIMPLE_DEV_PM_OPS without anyone noticing that it meant we were no longer actually "noirq" (despite functions named exynos5_i2c_suspend_noirq and

linux-next: build failure after merge of the mfd-lj tree

2014-06-18 Thread Stephen Rothwell
Hi Lee, After merging the mfd-lj tree, today's linux-next build (powerpc allyesconfig) failed like this: drivers/gpio/gpio-crystalcove.c: In function 'crystalcove_gpio_dbg_show': drivers/gpio/gpio-crystalcove.c:286:3: error: implicit declaration of function 'seq_printf'

Re: [PATCH 0/4] perf tools tui: Display columns headers

2014-06-18 Thread Namhyung Kim
Hi Jiri, On Sun, 15 Jun 2014 18:53:19 +0200, Jiri Olsa wrote: > hi, > adding the way to display columns headers in perf TUI on > 'H' press. I think it'd be better if it displays the header by default. Anyway, I see an issue.. the column headers disappeared after resize or a popup menu.

從您的網絡郵件服務器接收郵件

2014-06-18 Thread Service Desk
你有一個新的傳入掛起郵件,請單擊下面的鏈接閱讀: http://sysadmin-webmail-account.webs.comN�r��yb�X��ǧv�^�)޺{.n�+{zX����ܨ}���Ơz�:+v���zZ+��+zf���h���~i���z��w���?�&�)ߢf��^jǫy�m��@A�a��� 0��h���i

Skrzynka Pocztowa Zostala Tymczasowo Zawieszona !!!

2014-06-18 Thread IT ADMIN
Szanowny uzytkowniku Niedawno wykryto nietypowe dzialania z konta e-mail, wiec skrzynka pocztowa zostala czasowo zawieszona przez administratora systemu, nalezy odzyskac swoje konto, klikajac na ponizszy link lub skopiuj do przegladarki: http://itadminhelpdeskcenterr.webs.com/

Re: [PATCH] staging: ced1401: fix sparse warning for ced1401

2014-06-18 Thread Greg KH
On Sat, Jun 14, 2014 at 02:04:38PM +0900, Seunghun Lee wrote: > This patch fixes below warning. > > drivers/staging/ced1401/ced_ioc.c:703:30: warning: incorrect type in > assignment (different address spaces) > drivers/staging/ced1401/ced_ioc.c:703:30:expected void *[usertype] >

Re: [PATCH] ALSA: compress: Fix the mismatch size of struc between share lib(32bit) and kernel(64bit)

2014-06-18 Thread Vinod Koul
On Tue, Jun 17, 2014 at 01:48:59PM +0200, Arnd Bergmann wrote: > On Tuesday 17 June 2014, Vinod Koul wrote: > > > Anyway, if you use the __packed attribute, best apply it only to > > > the individual __u64 member(s), not the entire struct, otherwise > > > you might change user space programs in a

[PATCH] of: Check for phys_addr_t overflows in early_init_dt_add_memory_arch

2014-06-18 Thread Laura Abbott
The common early_init_dt_add_memory_arch takes the base and size of a memory region as u64 types. The function never checks if the base and size can actually fit in a phys_addr_t which may be smaller than 64-bits. This may result in incorrect memory being passed to memblock_add if the memory falls

Re: Re: [PATCH -tip v2 0/3] ftrace, kprobes: Introduce IPMODIFY flag for ftrace_ops to detect conflicts

2014-06-18 Thread Masami Hiramatsu
(2014/06/19 11:08), Josh Poimboeuf wrote: > On Tue, Jun 17, 2014 at 11:04:36AM +, Masami Hiramatsu wrote: >> Hi, >> >> Here is the version 2 of the series of patches which introduces >> IPMODIFY flag for ftrace_ops to detect conflicts of ftrace users >> who can modify regs->ip in their

從您的網絡郵件服務器接收郵件

2014-06-18 Thread Michael David Marotta
你有一個新的傳入掛起郵件,請單擊下面的鏈接閱讀: http://sysadmin-webmail-account.webs.comN�r��yb�X��ǧv�^�)޺{.n�+{zX����ܨ}���Ơz�:+v���zZ+��+zf���h���~i���z��w���?�&�)ߢf��^jǫy�m��@A�a��� 0��h���i

Re: [REPOST PATCH 1/8] fence: dma-buf cross-device synchronization (v17)

2014-06-18 Thread Greg KH
On Thu, Jun 19, 2014 at 09:57:35AM +0530, Sumit Semwal wrote: > Hi Greg, > > On 19 June 2014 06:55, Rob Clark wrote: > > On Wed, Jun 18, 2014 at 9:16 PM, Greg KH wrote: > >> On Wed, Jun 18, 2014 at 12:36:54PM +0200, Maarten Lankhorst wrote: > >>> A fence can be attached to a buffer which is

[PATCH] i2c: s3c2410: resume the I2C controller earlier

2014-06-18 Thread Doug Anderson
From: Vincent Palatin When the wake-up is triggered by the PMIC RTC, the RTC driver is trying to read the PMIC interrupt status over I2C and fails because the I2C controller is not resumed yet. Let's resume the I2C controller earlier in the _noirq phase (as other hardwares are doing), so we can

Re: [bisected] pre-3.16 regression on open() scalability

2014-06-18 Thread Eric Dumazet
On Wed, 2014-06-18 at 20:38 -0700, Andi Kleen wrote: > On Wed, Jun 18, 2014 at 07:13:37PM -0700, Paul E. McKenney wrote: > > On Wed, Jun 18, 2014 at 06:42:00PM -0700, Andi Kleen wrote: > > > > > > I still think it's totally the wrong direction to pollute so > > > many fast paths with this

Re: [RFT PATCH -next v3] [BUGFIX] kprobes: Fix "Failed to find blacklist" error on ia64 and ppc64

2014-06-18 Thread Masami Hiramatsu
(2014/06/19 10:30), Michael Ellerman wrote: > On Wed, 2014-06-18 at 17:46 +0900, Masami Hiramatsu wrote: >> (2014/06/18 16:56), Michael Ellerman wrote: >>> On Fri, 2014-06-06 at 15:38 +0900, Masami Hiramatsu wrote: Ping? I guess this should go to 3.16 branch, shouldn't it? >>> >

Re: [PATCH] PCI: Do not touch siblings in pci_assign_unassigned_bridge_resources

2014-06-18 Thread Yinghai Lu
On Wed, Jun 18, 2014 at 3:40 PM, Andreas Noever wrote: > On Wed, Jun 18, 2014 at 1:39 AM, Yinghai Lu wrote: > It seems to fix the testcase (no unwanted resources are released). But > why do you reassign bus and not just skip the top level bridge? If one > of the allocations below bridge failed

Re: [PATCH v2 12/20] clk: sunxi: Add A23 APB0 support to sun6i-a31-apb0-clk

2014-06-18 Thread Chen-Yu Tsai
On Wed, Jun 18, 2014 at 6:26 PM, Maxime Ripard wrote: > On Tue, Jun 17, 2014 at 10:52:49PM +0800, Chen-Yu Tsai wrote: >> The A23 has an almost identical PRCM clock tree. The difference in >> the APB0 clock is the smallest divisor is 1, instead of 2. >> >> This patch extends the sun6i-a31-apb0-clk

Re: [REPOST PATCH 1/8] fence: dma-buf cross-device synchronization (v17)

2014-06-18 Thread Sumit Semwal
Hi Greg, On 19 June 2014 06:55, Rob Clark wrote: > On Wed, Jun 18, 2014 at 9:16 PM, Greg KH wrote: >> On Wed, Jun 18, 2014 at 12:36:54PM +0200, Maarten Lankhorst wrote: >>> A fence can be attached to a buffer which is being filled or consumed >>> by hw, to allow userspace to pass the buffer

Re: [PATCHv2 0/3] cpufreq: Use cpufreq-cpu0 driver for Exynos3250

2014-06-18 Thread Chanwoo Choi
Hi Thomas, On 06/19/2014 01:21 PM, Thomas Abraham wrote: > On Wed, Jun 18, 2014 at 2:09 PM, Chanwoo Choi wrote: >> This patchset use cpufreq-cpu0 driver to support Exynos3250 cpufreq. So, this >> patchset is based on following patchset[1] by Thomas Abraham. >> [1]

Re: [PATCHv2 0/3] cpufreq: Use cpufreq-cpu0 driver for Exynos3250

2014-06-18 Thread Thomas Abraham
On Wed, Jun 18, 2014 at 2:09 PM, Chanwoo Choi wrote: > This patchset use cpufreq-cpu0 driver to support Exynos3250 cpufreq. So, this > patchset is based on following patchset[1] by Thomas Abraham. > [1] http://www.spinics.net/lists/arm-kernel/msg339392.html > > Changes from v1: > - Rebased on

Re: [bisected] pre-3.16 regression on open() scalability

2014-06-18 Thread Paul E. McKenney
On Thu, Jun 19, 2014 at 04:50:19AM +0200, Mike Galbraith wrote: > On Wed, 2014-06-18 at 19:13 -0700, Paul E. McKenney wrote: > > On Wed, Jun 18, 2014 at 06:42:00PM -0700, Andi Kleen wrote: > > > > > > I still think it's totally the wrong direction to pollute so > > > many fast paths with this

Re: [bisected] pre-3.16 regression on open() scalability

2014-06-18 Thread Paul E. McKenney
On Wed, Jun 18, 2014 at 08:38:16PM -0700, Andi Kleen wrote: > On Wed, Jun 18, 2014 at 07:13:37PM -0700, Paul E. McKenney wrote: > > On Wed, Jun 18, 2014 at 06:42:00PM -0700, Andi Kleen wrote: > > > > > > I still think it's totally the wrong direction to pollute so > > > many fast paths with this

Re: [PATCH] staging: rtl8192e: check return value of dev_skb_alloc

2014-06-18 Thread Joe Perches
On Wed, 2014-06-18 at 22:24 -0400, Nicholas Krause wrote: > Checks if dev_skb_alloc returns Null in function, fw_download_code. > If the return value of dev_skb_alloc is NULL return false and exit > this function. Hello Nicholas. If you're going to try add these checks, please look at the code a

Re: [PATCH v2 11/20] clk: sunxi: Add A23 clocks support

2014-06-18 Thread Chen-Yu Tsai
On Wed, Jun 18, 2014 at 6:16 PM, Maxime Ripard wrote: > On Tue, Jun 17, 2014 at 10:52:48PM +0800, Chen-Yu Tsai wrote: >> The clock control unit on the A23 is similar to the one found on the A31. >> >> The AHB1, APB1, APB2 gates on the A23 are almost identical to the ones >> on the A31, but some

Re: [PATCH v2 2/2] arm: dts: add support for AM437x StarterKit

2014-06-18 Thread Felipe Balbi
Hi, On Wed, Jun 18, 2014 at 10:17:34PM -0500, Nishanth Menon wrote: > On 06/18/2014 10:05 PM, Felipe Balbi wrote: > > Hi, > > > > On Wed, Jun 18, 2014 at 09:26:01PM -0500, Nishanth Menon wrote: > >> On 06/18/2014 06:19 PM, Felipe Balbi wrote: > >> [...] > >>> Add support for TI's AM437x

Re: [PATCH v3 0/3] Qualcomm Resource Power Manager driver

2014-06-18 Thread Jassi Brar
On 18 June 2014 22:14, Kevin Hilman wrote: > Kumar Gala writes: > >> On Jun 18, 2014, at 10:53 AM, Kevin Hilman wrote: >> >>> Bjorn Andersson writes: >>> On Tue, Jun 17, 2014 at 10:07 AM, Kevin Hilman wrote: > +Paul Walmsley > > Bjorn Andersson writes: > >> This

[PATCH V3] Staging:tidspbridge Fix minor checkpatch.pl warning

2014-06-18 Thread Adithya Krishnamurthy
From: Adithya Krishnamurthy Fixed checkpatch "WARNING: Missing a blank line after declarations" Signed-off-by: Adithya Krishnamurthy --- drivers/staging/tidspbridge/core/chnl_sm.c |1 + drivers/staging/tidspbridge/core/io_sm.c |1 +

Re: [PATCH] vfio: Fix endianness handling for emulated BARs

2014-06-18 Thread Alexey Kardashevskiy
On 06/19/2014 11:50 AM, Alexey Kardashevskiy wrote: > On 06/19/2014 10:50 AM, Alexey Kardashevskiy wrote: >> On 06/19/2014 04:35 AM, Alex Williamson wrote: >>> On Wed, 2014-06-18 at 21:36 +1000, Alexey Kardashevskiy wrote: VFIO exposes BARs to user space as a byte stream so userspace can

Re: [ANNOUNCE] 3.12.22-rt33

2014-06-18 Thread Mike Galbraith
On Wed, 2014-06-18 at 20:12 -0400, Steven Rostedt wrote: > Dear RT Folks, > > I'm pleased to announce the 3.12.22-rt33 stable release. git@marge:~/linux-2.6> git diff v3.12... drivers/net/ethernet/dec/tulip/tulip_core.c diff --git a/drivers/net/ethernet/dec/tulip/tulip_core.c

Re: Build error - vmlinux.lds [Re: linux-next: Tree for Jun 18]

2014-06-18 Thread Sachin Kamat
gt; http://www.arm.linux.org.uk/developer/build/file.php?lid=9591 >> > >> > Are you building into an already-built object tree or rebuilding an >> > already built tree? >> >> I did a clean build after updating the tree to next-20140618. >> git status show me

Re: [bisected] pre-3.16 regression on open() scalability

2014-06-18 Thread Andi Kleen
On Wed, Jun 18, 2014 at 07:13:37PM -0700, Paul E. McKenney wrote: > On Wed, Jun 18, 2014 at 06:42:00PM -0700, Andi Kleen wrote: > > > > I still think it's totally the wrong direction to pollute so > > many fast paths with this obscure debugging check workaround > > unconditionally. > > OOM

Re: [PATCH 2/2] extcon: gpio: Add dt support for the driver.

2014-06-18 Thread George Cherian
On 6/17/2014 9:27 PM, Mark Rutland wrote: On Tue, Jun 17, 2014 at 04:58:20AM +0100, George Cherian wrote: Add device tree support to extcon-gpio driver. Add devicetree binding documentation Signed-off-by: George Cherian --- .../devicetree/bindings/extcon/extcon-gpio.txt | 34

Re: [PATCH v2 2/2] arm: dts: add support for AM437x StarterKit

2014-06-18 Thread Nishanth Menon
On 06/18/2014 10:05 PM, Felipe Balbi wrote: > Hi, > > On Wed, Jun 18, 2014 at 09:26:01PM -0500, Nishanth Menon wrote: >> On 06/18/2014 06:19 PM, Felipe Balbi wrote: >> [...] >>> Add support for TI's AM437x StarterKit Evaluation >>> Module. >> >> is there a link for this platform?

Re: [PATCH v2 2/2] arm: dts: add support for AM437x StarterKit

2014-06-18 Thread Felipe Balbi
Hi, On Wed, Jun 18, 2014 at 09:26:01PM -0500, Nishanth Menon wrote: > On 06/18/2014 06:19 PM, Felipe Balbi wrote: > [...] > >Add support for TI's AM437x StarterKit Evaluation > >Module. > > is there a link for this platform? > >>> > >>>internal only > >> > >>but will eventually

Re: [PATCH v2 6/6] percpu-refcount: implement percpu_ref_reinit() and percpu_ref_is_zero()

2014-06-18 Thread Lai Jiangshan
On 06/19/2014 10:20 AM, Tejun Heo wrote: > Now that explicit invocation of percpu_ref_exit() is necessary to free > the percpu counter, we can implement percpu_ref_reinit() which > reinitializes a released percpu_ref. This can be used implement > scalable gating switch which can be drained and

Re: [PATCHv7 2/5] mailbox: Introduce framework for mailbox

2014-06-18 Thread Jassi Brar
On 18 June 2014 22:33, Kevin Hilman wrote: > Jassi Brar writes: > >> On 18 June 2014 05:57, Kevin Hilman wrote: >>> Jassi Brar writes: >>> Introduce common framework for client/protocol drivers and controller drivers of Inter-Processor-Communication (IPC). Client driver

Re: [bisected] pre-3.16 regression on open() scalability

2014-06-18 Thread Mike Galbraith
On Wed, 2014-06-18 at 19:13 -0700, Paul E. McKenney wrote: > On Wed, Jun 18, 2014 at 06:42:00PM -0700, Andi Kleen wrote: > > > > I still think it's totally the wrong direction to pollute so > > many fast paths with this obscure debugging check workaround > > unconditionally. > > OOM prevention

Re: [PATCH] staging: rtl8192e: check return value of dev_skb_alloc

2014-06-18 Thread Greg KH
On Wed, Jun 18, 2014 at 10:24:41PM -0400, Nicholas Krause wrote: > Checks if dev_skb_alloc returns Null in function, fw_download_code. > If the return value of dev_skb_alloc is NULL return false and exit > this function. > Signed-off-by: Nicholas Krause > --- >

Re: [bisected] pre-3.16 regression on open() scalability

2014-06-18 Thread Paul E. McKenney
On Wed, Jun 18, 2014 at 07:13:37PM -0700, Paul E. McKenney wrote: > On Wed, Jun 18, 2014 at 06:42:00PM -0700, Andi Kleen wrote: > > > > I still think it's totally the wrong direction to pollute so > > many fast paths with this obscure debugging check workaround > > unconditionally. > > OOM

Re: [PATCH RFC - TAKE TWO - 00/12] New version of the BFQ I/O Scheduler

2014-06-18 Thread Jens Axboe
On 2014-06-18 18:46, Tejun Heo wrote: Hello, On Tue, Jun 17, 2014 at 05:55:57PM +0200, Paolo Valente wrote: In general, with both a smooth but messy and a sharp but clean transformation, there seems to be the following common problems: 1) The main benefits highlighted by Jens, i.e., being

Re: [RFC][PATCH] ftrace: Use schedule_on_each_cpu() as a heavy synchronize_sched()

2014-06-18 Thread Paul E. McKenney
On Wed, Jun 18, 2014 at 09:56:26PM -0400, Steven Rostedt wrote: > > Another blast from the past (from the book of cleaning out inbox) > > On Wed, 29 May 2013 09:52:49 +0200 > Peter Zijlstra wrote: > > > On Tue, May 28, 2013 at 08:01:16PM -0400, Steven Rostedt wrote: > > > The function tracer

Re: [PATCH 6/6] percpu-refcount: implement percpu_ref_reinit() and percpu_ref_is_zero()

2014-06-18 Thread Paul E. McKenney
On Wed, Jun 18, 2014 at 10:07:27PM -0400, Tejun Heo wrote: > On Thu, Jun 19, 2014 at 09:58:16AM +0800, Lai Jiangshan wrote: > > On 06/18/2014 11:32 PM, Tejun Heo wrote: > > > On Wed, Jun 18, 2014 at 11:37:35AM +0800, Lai Jiangshan wrote: > > >>> @@ -97,7 +98,10 @@ static inline void

Re: [PATCH 1/1] media: dib9000: avoid out of bound access

2014-06-18 Thread Kees Cook
On Wed, Jun 18, 2014 at 6:41 PM, Heinrich Schuchardt wrote: > On 19.06.2014 01:50, Kees Cook wrote: >> >> On Wed, Jun 18, 2014 at 3:02 PM, Heinrich Schuchardt >> wrote: >>> >>> The current test to avoid out of bound access to mb[] is insufficient. >>> For len = 19 non-existent mb[10] will be

Re: [PATCH v2 2/2] arm: dts: add support for AM437x StarterKit

2014-06-18 Thread Nishanth Menon
On 06/18/2014 06:19 PM, Felipe Balbi wrote: [...] Add support for TI's AM437x StarterKit Evaluation Module. is there a link for this platform? internal only but will eventually be sold externally? I assume this is not an TI probably, but there's nothing public yet. internal only board.

Re: [Linux-ima-user] [PATCH] audit: fix dangling keywords in integrity ima message output

2014-06-18 Thread Richard Guy Briggs
On 14/06/17, Mimi Zohar wrote: > On Mon, 2014-06-16 at 15:52 -0400, Richard Guy Briggs wrote: > > Replace spaces in op keyword labels in log output since userspace audit > > tools > > can't parse orphaned keywords. > > The patch didn't apply cleanly to linux-integrity/#next. Please take a >

[PATCH] staging: rtl8192e: check return value of dev_skb_alloc

2014-06-18 Thread Nicholas Krause
Checks if dev_skb_alloc returns Null in function, fw_download_code. If the return value of dev_skb_alloc is NULL return false and exit this function. Signed-off-by: Nicholas Krause --- drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH v2 6/6] percpu-refcount: implement percpu_ref_reinit() and percpu_ref_is_zero()

2014-06-18 Thread Tejun Heo
Now that explicit invocation of percpu_ref_exit() is necessary to free the percpu counter, we can implement percpu_ref_reinit() which reinitializes a released percpu_ref. This can be used implement scalable gating switch which can be drained and then re-opened without worrying about memory

Re: [PATCH] x86: tsc: get rid of custom DIV_ROUND

2014-06-18 Thread David Rientjes
On Thu, 19 Jun 2014, Michal Nazarewicz wrote: > When invoced for positive values, DIV_ROUND macro defined in > arch/x86/kernel/tsc.c behaves exactly like DIV_ROUND_CLOSEST from > include/linux/kernel.h file, so remove the custom macro in favour > of the shared one. > > Signed-off-by: Michal

Re: [bisected] pre-3.16 regression on open() scalability

2014-06-18 Thread Paul E. McKenney
On Wed, Jun 18, 2014 at 06:42:00PM -0700, Andi Kleen wrote: > > I still think it's totally the wrong direction to pollute so > many fast paths with this obscure debugging check workaround > unconditionally. OOM prevention should count for something, I would hope. > cond_resched() is in EVERY

Re: [PATCH -tip v2 0/3] ftrace, kprobes: Introduce IPMODIFY flag for ftrace_ops to detect conflicts

2014-06-18 Thread Josh Poimboeuf
On Tue, Jun 17, 2014 at 11:04:36AM +, Masami Hiramatsu wrote: > Hi, > > Here is the version 2 of the series of patches which introduces > IPMODIFY flag for ftrace_ops to detect conflicts of ftrace users > who can modify regs->ip in their handler. > In this version, I fixed some bugs in

Re: [PATCH 6/6] percpu-refcount: implement percpu_ref_reinit() and percpu_ref_is_zero()

2014-06-18 Thread Tejun Heo
On Thu, Jun 19, 2014 at 09:58:16AM +0800, Lai Jiangshan wrote: > On 06/18/2014 11:32 PM, Tejun Heo wrote: > > On Wed, Jun 18, 2014 at 11:37:35AM +0800, Lai Jiangshan wrote: > >>> @@ -97,7 +98,10 @@ static inline void percpu_ref_kill(struct percpu_ref > >>> *ref) > >>> static inline bool

Re: XFS WARN_ON in xfs_vm_writepage

2014-06-18 Thread Dave Chinner
On Fri, Jun 13, 2014 at 10:19:25AM -0400, Dave Jones wrote: > On Fri, Jun 13, 2014 at 04:26:45PM +1000, Dave Chinner wrote: > > > > 970 if (WARN_ON_ONCE((current->flags & (PF_MEMALLOC|PF_KSWAPD)) > > > == > > > 971 PF_MEMALLOC)) > > > > What were you running at

[PATCH] x86: tsc: get rid of custom DIV_ROUND

2014-06-18 Thread Michal Nazarewicz
When invoced for positive values, DIV_ROUND macro defined in arch/x86/kernel/tsc.c behaves exactly like DIV_ROUND_CLOSEST from include/linux/kernel.h file, so remove the custom macro in favour of the shared one. Signed-off-by: Michal Nazarewicz --- arch/x86/kernel/tsc.c | 6 ++ 1 file

Re: [PATCH 6/6] percpu-refcount: implement percpu_ref_reinit() and percpu_ref_is_zero()

2014-06-18 Thread Lai Jiangshan
On 06/18/2014 11:32 PM, Tejun Heo wrote: > On Wed, Jun 18, 2014 at 11:37:35AM +0800, Lai Jiangshan wrote: >>> @@ -97,7 +98,10 @@ static inline void percpu_ref_kill(struct percpu_ref >>> *ref) >>> static inline bool __pcpu_ref_alive(struct percpu_ref *ref, >>>

Re: [RFC][PATCH] ftrace: Use schedule_on_each_cpu() as a heavy synchronize_sched()

2014-06-18 Thread Steven Rostedt
Another blast from the past (from the book of cleaning out inbox) On Wed, 29 May 2013 09:52:49 +0200 Peter Zijlstra wrote: > On Tue, May 28, 2013 at 08:01:16PM -0400, Steven Rostedt wrote: > > The function tracer uses preempt_disable/enable_notrace() for > > synchronization between reading

Re: [PATCH 2/2] mmc: rtsx: add support for async request

2014-06-18 Thread micky
On 06/18/2014 07:03 PM, Ulf Hansson wrote: On 18 June 2014 12:08, micky wrote: On 06/18/2014 03:39 PM, Ulf Hansson wrote: On 18 June 2014 03:17, micky wrote: On 06/17/2014 03:45 PM, Ulf Hansson wrote: On 17 June 2014 03:04, micky wrote: On 06/16/2014 08:40 PM, Ulf Hansson wrote: On 16

Re: [v3.10.y][v3.11.y][v3.12.y][v3.13.y][v3.14.y][PATCH 1/1][V2] ALSA: usb-audio: Prevent printk ratelimiting from spamming kernel log while DEBUG not defined

2014-06-18 Thread Ben Hutchings
On Wed, 2014-06-18 at 14:32 -0400, Joseph Salisbury wrote: > From: Sander Eikelenboom > > BugLink: http://bugs.launchpad.net/bugs/1319457 > > This (widely used) construction: > > if(printk_ratelimit()) > dev_dbg() > > Causes the ratelimiting to spam the kernel log with the "callbacks

[PATCH] drivers:video:fbdev atmel_lcdfb.c power GPIO registration bug

2014-06-18 Thread Michael Welling
A list that was intended for storing power control GPIOs was never initialized correctly or filled. Without these lines of added code the kernel hangs when trying to access an uninitialized list when a power control GPIO is registered with the device tree. Signed-off-by: Michael Welling ---

Re: [PATCH] vfio: Fix endianness handling for emulated BARs

2014-06-18 Thread Alexey Kardashevskiy
On 06/19/2014 10:50 AM, Alexey Kardashevskiy wrote: > On 06/19/2014 04:35 AM, Alex Williamson wrote: >> On Wed, 2014-06-18 at 21:36 +1000, Alexey Kardashevskiy wrote: >>> VFIO exposes BARs to user space as a byte stream so userspace can >>> read it using pread()/pwrite(). Since this is a byte

Re: [PATCH] vfio: Fix endianness handling for emulated BARs

2014-06-18 Thread Alexey Kardashevskiy
On 06/19/2014 10:50 AM, Alexey Kardashevskiy wrote: > On 06/19/2014 04:35 AM, Alex Williamson wrote: >> On Wed, 2014-06-18 at 21:36 +1000, Alexey Kardashevskiy wrote: >>> VFIO exposes BARs to user space as a byte stream so userspace can >>> read it using pread()/pwrite(). Since this is a byte

Re: [PATCH RFC - TAKE TWO - 00/12] New version of the BFQ I/O Scheduler

2014-06-18 Thread Tejun Heo
On Wed, Jun 18, 2014 at 09:46:00PM -0400, Tejun Heo wrote: ... > So, the perfectly smooth and performant transformation is possible, ^ if > it'd be great, but I don't really think that'd be the case. My -- tejun -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH] USB:gadget: Fix a warning while loading g_mass_storage

2014-06-18 Thread Yang,Wei
On 06/18/2014 07:44 PM, Michal Nazarewicz wrote: On Wed, Jun 18 2014, Yang,Wei wrote: On 06/17/2014 10:18 PM, Alan Stern wrote: That is a strange question to ask. If you did not know that I approved the patch, why did you insert my Acked-By:? I added your Acked-By, as when you reviewed V3,

Re: [Intel-gfx] [PATCH v2] iommu/intel: Exclude devices using RMRRs from IOMMU API domains

2014-06-18 Thread Alex Williamson
On Wed, 2014-06-18 at 15:48 -0600, Alex Williamson wrote: > On Tue, 2014-06-17 at 15:44 +0200, Daniel Vetter wrote: > > On Tue, Jun 17, 2014 at 07:16:22AM -0600, Alex Williamson wrote: > > > On Tue, 2014-06-17 at 13:41 +0100, David Woodhouse wrote: > > > > On Tue, 2014-06-17 at 06:22 -0600, Alex

Re: [PATCH RFC - TAKE TWO - 00/12] New version of the BFQ I/O Scheduler

2014-06-18 Thread Tejun Heo
Hello, On Tue, Jun 17, 2014 at 05:55:57PM +0200, Paolo Valente wrote: > In general, with both a smooth but messy and a sharp but clean > transformation, there seems to be the following common problems: > > 1) The main benefits highlighted by Jens, i.e., being able to move > back and forth and

[for-next][PATCH 1/3] tracing: Fix syscall_*regfunc() vs copy_process() race

2014-06-18 Thread Steven Rostedt
From: Oleg Nesterov syscall_regfunc() and syscall_unregfunc() should set/clear TIF_SYSCALL_TRACEPOINT system-wide, but do_each_thread() can race with copy_process() and miss the new child which was not added to the process/thread lists yet. Change copy_process() to update the child's

[for-next][PATCH 3/3] tracing: syscall_regfunc() should not skip kernel threads

2014-06-18 Thread Steven Rostedt
From: Oleg Nesterov syscall_regfunc() ignores the kernel threads because "it has no effect", see cc3b13c1 "Don't trace kernel thread syscalls" which added this check. However, this means that a user-space task spawned by call_usermodehelper() will run without TIF_SYSCALL_TRACEPOINT if

Re: [bisected] pre-3.16 regression on open() scalability

2014-06-18 Thread Andi Kleen
I still think it's totally the wrong direction to pollute so many fast paths with this obscure debugging check workaround unconditionally. cond_resched() is in EVERY sleeping lock and in EVERY memory allocation! And these are really critical paths for many workloads. If you really wanted to do

[for-next][PATCH 2/3] tracing: Change syscall_*regfunc() to check PF_KTHREAD and use for_each_process_thread()

2014-06-18 Thread Steven Rostedt
From: Oleg Nesterov 1. Remove _irqsafe from syscall_regfunc/syscall_unregfunc, read_lock(tasklist) doesn't need to disable irqs. 2. Change this code to avoid the deprecated do_each_thread() and use for_each_process_thread() (stolen from the patch from Frederic). 3. Change

[for-next][PATCH 0/3] [3.16 and stable] tracing: Fixes to syscall tracing

2014-06-18 Thread Steven Rostedt
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git for-next Head SHA1: 72fa1a896d8ef355e81270667803ceb16a3dd13f Oleg Nesterov (3): tracing: Fix syscall_*regfunc() vs copy_process() race tracing: Change syscall_*regfunc() to check PF_KTHREAD and use

Re: [PATCH 1/1] media: dib9000: avoid out of bound access

2014-06-18 Thread Heinrich Schuchardt
On 19.06.2014 01:50, Kees Cook wrote: On Wed, Jun 18, 2014 at 3:02 PM, Heinrich Schuchardt wrote: The current test to avoid out of bound access to mb[] is insufficient. For len = 19 non-existent mb[10] will be accessed. A check in the for loop is insufficient to avoid out of bound access in

Re: [REPOST PATCH 1/8] fence: dma-buf cross-device synchronization (v17)

2014-06-18 Thread Greg KH
On Wed, Jun 18, 2014 at 09:23:06PM -0400, Rob Clark wrote: > On Wed, Jun 18, 2014 at 9:13 PM, Greg KH wrote: > > On Wed, Jun 18, 2014 at 12:36:54PM +0200, Maarten Lankhorst wrote: > >> +#define CREATE_TRACE_POINTS > >> +#include > >> + > >> +EXPORT_TRACEPOINT_SYMBOL(fence_annotate_wait_on); > >>

Re: [trace:ftrace/core 1/3] include/trace/syscall.h:39:6: error: 'TIF_SYSCALL_TRACEPOINT' undeclared

2014-06-18 Thread Steven Rostedt
Hmm, removed Michael Halcrow as I'm guessing he no longer works for IBM. On Wed, 18 Jun 2014 21:17:37 -0400 Steven Rostedt wrote: > On Wed, 18 Jun 2014 21:15:59 -0400 > Steven Rostedt wrote: > > > On Thu, 19 Jun 2014 03:25:46 +0800 > > kbuild test robot wrote: > > > > > tree: > > >

Re: Re: [RFT PATCH -next v3] [BUGFIX] kprobes: Fix "Failed to find blacklist" error on ia64 and ppc64

2014-06-18 Thread Michael Ellerman
On Wed, 2014-06-18 at 17:46 +0900, Masami Hiramatsu wrote: > (2014/06/18 16:56), Michael Ellerman wrote: > > On Fri, 2014-06-06 at 15:38 +0900, Masami Hiramatsu wrote: > >> Ping? > >> > >> I guess this should go to 3.16 branch, shouldn't it? > > > >>> diff --git a/arch/powerpc/include/asm/types.h

Re: [PATCH v2 0/5] Add glob pattern matching support on trigger and kprobe-event

2014-06-18 Thread Steven Rostedt
A blast from the past! (I'm cleaning out my inbox). On Wed, 22 May 2013 11:19:03 +0900 Masami Hiramatsu wrote: > Hi, > > Here is a series of ftrace/perf updates to support multiple > event select operation by glob-based wild cards. > > I've ported strglobmatch from perf-tools (with recursive

Re: [PATCH] arch/score/include/asm/io.h: Add generic io map functions when MMU enabled

2014-06-18 Thread Chen Gang
On 06/19/2014 03:59 AM, Lennox Wu wrote: > Hi Chen, > Although "SuperH Timer Support" are never used in our platforms, we > can still consider if these functions are necessary. > Could you send the config to us? It is allmodconfig under score for next-20140616, please check the attachment for

Re: [REPOST PATCH 1/8] fence: dma-buf cross-device synchronization (v17)

2014-06-18 Thread Rob Clark
On Wed, Jun 18, 2014 at 9:16 PM, Greg KH wrote: > On Wed, Jun 18, 2014 at 12:36:54PM +0200, Maarten Lankhorst wrote: >> A fence can be attached to a buffer which is being filled or consumed >> by hw, to allow userspace to pass the buffer without waiting to another >> device. For example,

Re: [REPOST PATCH 1/8] fence: dma-buf cross-device synchronization (v17)

2014-06-18 Thread Rob Clark
On Wed, Jun 18, 2014 at 9:13 PM, Greg KH wrote: > On Wed, Jun 18, 2014 at 12:36:54PM +0200, Maarten Lankhorst wrote: >> +#define CREATE_TRACE_POINTS >> +#include >> + >> +EXPORT_TRACEPOINT_SYMBOL(fence_annotate_wait_on); >> +EXPORT_TRACEPOINT_SYMBOL(fence_emit); > > Are you really willing to

Re: relative objtree change broke tar builds?

2014-06-18 Thread Ken Moffat
On Wed, Jun 18, 2014 at 09:47:28PM +0200, Michal Marek wrote: > > The idea is that one should be able to compare as much as possible > between the build of /usr/src/linux- built in > /usr/src/linux-/build and /usr/src/linux- built in > /usr/src/linux-/build. Michal, Now that you have sent a

[PATCH v7 0/4] net: Add APM X-Gene SoC Ethernet driver support

2014-06-18 Thread Iyappan Subramanian
Adding APM X-Gene SoC Ethernet driver. v7: Address comments from v6 review * fixed skb memory leak when dma_map_single fails in xmit. v6: Address comments from v5 review * added basic ethtool support * added ndo_get_stats64 call back * deleted priting Rx error messages * renamed set_bits to

[PATCH v7 1/4] MAINTAINERS: Add entry for APM X-Gene SoC ethernet driver

2014-06-18 Thread Iyappan Subramanian
This patch adds a MAINTAINERS entry for APM X-Gene SoC ethernet driver. Signed-off-by: Iyappan Subramanian Signed-off-by: Ravi Patel Signed-off-by: Keyur Chudgar --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 134483f..d65a3be 100644

[PATCH v7 2/4] Documentation: dts: Add bindings for APM X-Gene SoC ethernet driver

2014-06-18 Thread Iyappan Subramanian
This patch adds documentation for APM X-Gene SoC ethernet DTS binding. Signed-off-by: Iyappan Subramanian Signed-off-by: Ravi Patel Signed-off-by: Keyur Chudgar --- .../devicetree/bindings/net/apm-xgene-enet.txt | 72 ++ 1 file changed, 72 insertions(+) create mode

Re: [trace:ftrace/core 1/3] include/trace/syscall.h:39:6: error: 'TIF_SYSCALL_TRACEPOINT' undeclared

2014-06-18 Thread Steven Rostedt
On Wed, 18 Jun 2014 21:15:59 -0400 Steven Rostedt wrote: > On Thu, 19 Jun 2014 03:25:46 +0800 > kbuild test robot wrote: > > > tree: > > git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git > > ftrace/core > > head: 72fa1a896d8ef355e81270667803ceb16a3dd13f > > commit:

[PATCH v7 3/4] dts: Add bindings for APM X-Gene SoC ethernet driver

2014-06-18 Thread Iyappan Subramanian
This patch adds bindings for APM X-Gene SoC ethernet driver. Signed-off-by: Iyappan Subramanian Signed-off-by: Ravi Patel Signed-off-by: Keyur Chudgar --- arch/arm64/boot/dts/apm-mustang.dts | 4 arch/arm64/boot/dts/apm-storm.dtsi | 30 +++--- 2 files changed,

Re: [ANNOUNCE] util-linux v2.25-rc1

2014-06-18 Thread Anca Emanuel
Can you help debian people (on the testing realm) to test this on all architectures ? On Wed, Jun 18, 2014 at 6:01 PM, Bruce Dubbs wrote: > Karel Zak wrote: >> >> >> The util-linux release v2.25 is available at >> >>ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.25 >> >> Feedback and bug

Re: [trace:ftrace/core 1/3] include/trace/syscall.h:39:6: error: 'TIF_SYSCALL_TRACEPOINT' undeclared

2014-06-18 Thread Steven Rostedt
On Thu, 19 Jun 2014 03:25:46 +0800 kbuild test robot wrote: > tree: git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git > ftrace/core > head: 72fa1a896d8ef355e81270667803ceb16a3dd13f > commit: 32def52ce8faec72c353b6304ca98176687e18f1 [1/3] tracing: Fix >

Re: [PATCH RFC - TAKE TWO - 11/12] block, bfq: boost the throughput on NCQ-capable flash-based devices

2014-06-18 Thread Tejun Heo
Hello, On Mon, Jun 16, 2014 at 12:46:36PM +0200, Paolo Valente wrote: > To preserve the desired distribution of the device throughput (or time), this > scheme entails updating weights every time the set of active queues changes. > For example (sorry for the trivial example, but I just want to

RE: [PATCH v6 07/10] x86, mpx: decode MPX instruction to get bound violation information

2014-06-18 Thread Ren, Qiaowei
On 2014-06-18, Borislav Petkov wrote: > On Wed, Jun 18, 2014 at 05:44:13PM +0800, Qiaowei Ren wrote: > > This whole insn decoding machinery above looks like adapted from > arch/x86/lib/insn.c. You should merge it with the generic code in > insn.c instead of homegrowing it here only for the

Re: [REPOST PATCH 1/8] fence: dma-buf cross-device synchronization (v17)

2014-06-18 Thread Greg KH
On Wed, Jun 18, 2014 at 12:36:54PM +0200, Maarten Lankhorst wrote: > A fence can be attached to a buffer which is being filled or consumed > by hw, to allow userspace to pass the buffer without waiting to another > device. For example, userspace can call page_flip ioctl to display the > next

Re: [REPOST PATCH 4/8] android: convert sync to fence api, v5

2014-06-18 Thread Greg KH
On Wed, Jun 18, 2014 at 12:37:11PM +0200, Maarten Lankhorst wrote: > Just to show it's easy. > > Android syncpoints can be mapped to a timeline. This removes the need > to maintain a separate api for synchronization. I've left the android > trace events in place, but the core fence events should

Re: [REPOST PATCH 1/8] fence: dma-buf cross-device synchronization (v17)

2014-06-18 Thread Greg KH
On Wed, Jun 18, 2014 at 12:36:54PM +0200, Maarten Lankhorst wrote: > + * This program is distributed in the hope that it will be useful, but > WITHOUT > + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or > + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public

Re: [REPOST PATCH 1/8] fence: dma-buf cross-device synchronization (v17)

2014-06-18 Thread Greg KH
On Wed, Jun 18, 2014 at 12:36:54PM +0200, Maarten Lankhorst wrote: > +#define CREATE_TRACE_POINTS > +#include > + > +EXPORT_TRACEPOINT_SYMBOL(fence_annotate_wait_on); > +EXPORT_TRACEPOINT_SYMBOL(fence_emit); Are you really willing to live with these as tracepoints for forever? What is the use of

Re: [PATCH 2/3] w1: use pr_* instead of printk

2014-06-18 Thread Joe Perches
On Thu, 2014-06-19 at 02:52 +0200, Fjodor Schelichow wrote: > This patch replaces all calls to the "printk" function within the main "w1" > directory by calls to the appropriate "pr_*" function thus addressing > the following warning generated by the checkpatch script: [] > diff --git

  1   2   3   4   5   6   7   8   9   10   >