Re: [tpmdd-devel] [PATCH] tpm: unified PPI interface for TPM 1.x/2.0 devices

2015-04-08 Thread Jarkko Sakkinen
Gave this some rethought :) On Wed, Apr 08, 2015 at 10:26:07AM +0300, Jarkko Sakkinen wrote: > On Wed, Apr 01, 2015 at 12:19:25PM -0600, Jason Gunthorpe wrote: > > On Wed, Apr 01, 2015 at 03:28:52PM +0300, Jarkko Sakkinen wrote: > > > Added PPI interface to the character device. PPI interface is a

Re: [PATCH v2 13/17] IB/Verbs: Reform cma/ucma with management helpers

2015-04-08 Thread Michael Wang
Hi, Sean Thanks for the review :-) cma is the most tough part during reform, I really need some guide in here. On 04/07/2015 11:36 PM, Hefty, Sean wrote: >> diff --git a/drivers/infiniband/core/cma.c b/drivers/infiniband/core/cma.c >> index d8a8ea7..c23f483 100644 >> --- a/drivers/infiniband/cor

Re: [PATCH v2 2/2] nohz: make nohz_full imply isolcpus

2015-04-08 Thread Peter Zijlstra
On Mon, Apr 06, 2015 at 02:16:45PM -0400, cmetc...@ezchip.com wrote: > From: Chris Metcalf > > It's not clear that nohz_full is useful without isolcpus also > set, since otherwise the scheduler has to run periodically to > try to determine whether to steal work from other cores. So the Changelog

RE: [PATCH] ethernet: e1000e: define lat_ns as u64 instead of s64

2015-04-08 Thread David Laight
From: yanjiang@windriver.com > Sent: 03 April 2015 10:18 > From: Yanjiang Jin > > do_div() expects the type of "n" to be uint64_t, define "lat_ns" as u64 to > avoid the below warning, also update its correlative operations and data. > > In file included from ./arch/powerpc/include/asm/div64.

Re: [PATCH] param: fixup quote parsing of kernel arguments

2015-04-08 Thread Arthur Gautier
On Wed, Apr 08, 2015 at 03:29:43PM +0930, Rusty Russell wrote: > Arthur Gautier writes: > > When starting kernel with arguments like: > > init=/bin/sh -c "echo arguments" > > the trailing double quote is not removed which results in following command > > being executed: > > /bin/sh -c 'echo ar

Re: [PATCH 3/6] ARM:dts exynos5422 Update the thermal sensor for tmu_cpu0

2015-04-08 Thread Anand Moon
Hi Lukasz, I have Odroidxu3 board with fan. Odroid xu3 board and run on high temperature. As per my understating as the sensors temperature cross the first alert it triggers fan to run. I was doing some stress testing to trigger this overheating with my changes. -Anand Moon On 8 April 2015 at 1

Re: [PATCH v6 4/4] clk: dt: Introduce binding for always-on clock support

2015-04-08 Thread Maxime Ripard
On Wed, Apr 08, 2015 at 09:14:50AM +0100, Lee Jones wrote: > > > + > > > + This property is not to be abused. It is only to be used to > > > + protect platforms from being crippled by gated clocks, not > > > + as a convenience function to avoid using the framewo

Re: patch "drivers: thermal: st: remove several sparse warnings" added to thermal-soc tree

2015-04-08 Thread Lee Jones
On Wed, 08 Apr 2015, Pavel Machek wrote: > On Wed 2015-04-08 08:26:34, Lee Jones wrote: > > On Tue, 07 Apr 2015, Eduardo Valentin wrote: > > > > > > > > This is a simple automated notification to let you know that > > > I've just added the patch titled > > > > > > drivers: thermal: st: rem

Re: [PATCH 1/2] perf, record: Add clockid parameter

2015-04-08 Thread Peter Zijlstra
On Tue, Apr 07, 2015 at 07:33:37PM +0200, Jiri Olsa wrote: > On Tue, Apr 07, 2015 at 05:48:51PM +0200, Peter Zijlstra wrote: > > On Tue, Apr 07, 2015 at 11:09:53AM +0200, Peter Zijlstra wrote: > > > @@ -739,6 +813,7 @@ static struct record record = { > > > .uses_mmap = true, > >

Re: [PATCH 1/2] perf tools: Add support for MIPS userspace DWARF callchains.

2015-04-08 Thread Jiri Olsa
On Wed, Apr 08, 2015 at 01:58:46AM +0200, David Daney wrote: > From: David Daney > > Hack up the Makefile and add support code for mips unwinding > and dwarf-regs. hi, we changed our build system just recently and this patch is made over the old one.. comments below > > Signed-off-by: David Da

Re: [PATCH 0/1] ASoC: max98090: add shutdown callback for max98090

2015-04-08 Thread Mark Brown
On Wed, Apr 08, 2015 at 04:52:07PM +0800, Caesar Wang wrote: > > Tested on veyron devices,play music then shutdown device,here carefully > to speaker or headphone. > > > > Caesar Wang (1): > ASoC: max98090: add shutdown callback for max98090 Don't send cover letters for single patches, if th

Re: [PATCH v3 1/2] mfd/axp20x: add support for extcon cell

2015-04-08 Thread Lee Jones
When submitting patches, please observe the $SUBJECT line formatting of the subsystem you're sending to. You can do so by: `git log --oneline -- drivers/` In the case of MFD it's: mfd: : Note the ':' separators and the capitalisation of the first letter of the description string. > This patch

Re: [PATCH] ASoC: max98090: add shutdown callback for max98090

2015-04-08 Thread Mark Brown
On Wed, Apr 08, 2015 at 04:52:08PM +0800, Caesar Wang wrote: > +static void max98090_i2c_shutdown(struct i2c_client *i2c) > +{ > + struct max98090_priv *max98090 = dev_get_drvdata(&i2c->dev); > + > + dev_info(&i2c->dev, "shut down device\n"); Remove this, it's adding noise. > + > + /

Re: [PATCH -mm] slab: use cgroup ino for naming per memcg caches

2015-04-08 Thread Vladimir Davydov
On Tue, Apr 07, 2015 at 01:38:19PM -0700, Andrew Morton wrote: > On Tue, 7 Apr 2015 16:53:18 +0300 Vladimir Davydov > wrote: > > > The name of a per memcg kmem cache consists of three parts: the global > > kmem cache name, the cgroup name, and the css id. The latter is used to > > guarantee cach

RE: [PATCH v3 1/2] mfd/axp20x: add support for extcon cell

2015-04-08 Thread Pallala, Ramakrishna
> When submitting patches, please observe the $SUBJECT line formatting of the > subsystem you're sending to. > > You can do so by: `git log --oneline -- drivers/` > > In the case of MFD it's: > > mfd: : > > Note the ':' separators and the capitalisation of the first letter of the > descriptio

Re: [PATCH 2/2] perf tools: Hook up MIPS unwind and dwarf-regs in the Makefile

2015-04-08 Thread Jiri Olsa
On Wed, Apr 08, 2015 at 01:58:47AM +0200, David Daney wrote: > From: David Daney > > Define a new symbol (ARCH_SUPPORTS_LIBUNWIND) in config/Makefile. > Use this from x86 and MIPS to gate testing of libunwind. hum.. hows ARCH_SUPPORTS_LIBUNWIND being used? I dont see it.. are there more patches?

Re: patch "drivers: thermal: st: remove several sparse warnings" added to thermal-soc tree

2015-04-08 Thread Pavel Machek
On Wed 2015-04-08 10:45:07, Lee Jones wrote: > On Wed, 08 Apr 2015, Pavel Machek wrote: > > > On Wed 2015-04-08 08:26:34, Lee Jones wrote: > > > On Tue, 07 Apr 2015, Eduardo Valentin wrote: > > > > > > > > > > > This is a simple automated notification to let you know that > > > > I've just adde

[PATCH] of: add vendor prefix for Artesyn

2015-04-08 Thread Alessio Igor Bogani
Signed-off-by: Alessio Igor Bogani --- https://www.artesyn.com/about-us/company-profile The prefix is already used in the MVME2500 powerpc system (arch/powerpc/boot/dts/mvme2500.dts). Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Docum

Re: [PATCH] sdhci: rtsx: fix 64 BIT DMA quirks

2015-04-08 Thread Ulf Hansson
On 7 April 2015 at 05:32, wrote: > From: Micky Ching > > rts5250 chip failed handle 64 bit ADMA for address below 4G. > Add 64 BIT quirks to disable this feature. > > Signed-off-by: Micky Ching Thanks! Applied, with a minor updated commit message header. Kind regards Uffe > --- > drivers/mm

Re: [PATCH] mmc: sdhci-of-arasan: Call OF parsing for MMC

2015-04-08 Thread Ulf Hansson
On 7 April 2015 at 07:57, Michal Simek wrote: > Also check MMC OF properties. The controller supports MMC too. > > Signed-off-by: Michal Simek Thanks! Applied. Kind regards Uffe > --- > > drivers/mmc/host/sdhci-of-arasan.c |6 ++ > 1 files changed, 6 insertions(+), 0 deletions(-) > >

Re: [PATCH] ASoC: max98090: add shutdown callback for max98090

2015-04-08 Thread Caesar Wang
Heiko, 在 2015年04月08日 17:25, Heiko Stübner 写道: Hi Caesar, Am Mittwoch, 8. April 2015, 16:52:08 schrieb Caesar Wang: To fix pop noise when shutdown,the pop noise during shutdown is the pmic cutoff power of codec without any notice. Signed-off-by: jay.xu Signed-off-by: zhengxing Signed-off-by:

[PATCH] net: phy: broadcom: Add BCM54616S phy entry

2015-04-08 Thread Alessio Igor Bogani
Signed-off-by: Alessio Igor Bogani --- This phy is used in the MVME2500 powerpc system (arch/powerpc/boot/dts/mvme2500.dts) drivers/net/phy/Kconfig| 4 ++-- drivers/net/phy/broadcom.c | 14 ++ include/linux/brcmphy.h| 1 + 3 files changed, 17 insertions(+), 2 deletions(-)

Re: patch "drivers: thermal: st: remove several sparse warnings" added to thermal-soc tree

2015-04-08 Thread Lee Jones
On Wed, 08 Apr 2015, Pavel Machek wrote: > On Wed 2015-04-08 10:45:07, Lee Jones wrote: > > On Wed, 08 Apr 2015, Pavel Machek wrote: > > > > > On Wed 2015-04-08 08:26:34, Lee Jones wrote: > > > > On Tue, 07 Apr 2015, Eduardo Valentin wrote: > > > > > > > > > > > > > > This is a simple automated

Re: [PATCH] ASoC: max98090: add shutdown callback for max98090

2015-04-08 Thread Caesar Wang
Mark, 在 2015年04月08日 17:50, Mark Brown 写道: On Wed, Apr 08, 2015 at 04:52:08PM +0800, Caesar Wang wrote: +static void max98090_i2c_shutdown(struct i2c_client *i2c) +{ + struct max98090_priv *max98090 = dev_get_drvdata(&i2c->dev); + + dev_info(&i2c->dev, "shut down device\n"); Remov

Re: [PATCH] gpio: dwapb: enable for ARC

2015-04-08 Thread Vineet Gupta
On Tuesday 07 April 2015 07:25 PM, Alexey Brodkin wrote: Hi Linus, On Tue, 2015-03-31 at 11:30 +0300, Alexey Brodkin wrote: > From: Vineet Gupta > > Synopsys SDP platform uses DW GPIO controller in design with > ARC cores. So adding ARC to architectures that may sel

[PATCH v2] ASoC: max98090: add shutdown callback for max98090

2015-04-08 Thread Caesar Wang
To fix pop noise when shutdown,the pop noise during shutdown is the pmic cutoff power of codec without any notice. Signed-off-by: jay.xu Signed-off-by: zhengxing Signed-off-by: Caesar Wang Serien-cc: linux-kernel@vger.kernel.org Serien-cc: devicet...@vger.kernel.org Serien-cc: diand...@chromiu

Re: [RESEND PATCH 4.0-rc5 v19 3/6] irqchip: gic: Introduce plumbing for IPI FIQ

2015-04-08 Thread Daniel Thompson
On 08/04/15 09:19, Hillf Danton wrote: +/* + * Fully acknowledge (both ack and eoi) any outstanding FIQ-based IPI, + * otherwise do nothing. + */ +void gic_handle_fiq_ipi(void) +{ + struct gic_chip_data *gic = &gic_data[0]; + void __iomem *cpu_base = gic_data_cpu_base(gic); + un

Re: Topology updates and NUMA-level sched domains

2015-04-08 Thread Brice Goglin
Le 07/04/2015 21:41, Peter Zijlstra a écrit : > No, that's very much not the same. Even if it were dealing with hotplug > it would still assume the cpu to return to the same node. > > But mostly people do not even bother to handle hotplug. > You said userspace assumes the cpu<->node relation is a

Re: [PATCH] Documentation/scheduler/sched-deadline.txt: correct definition of density as C_i/min{D_i,P_i}

2015-04-08 Thread Luca Abeni
On 04/08/2015 11:31 AM, Juri Lelli wrote: Hi Luca, On 03/04/15 11:52, Luca Abeni wrote: Hi, On Fri, 3 Apr 2015 16:18:33 +0800 Zhiqiang Zhang wrote: >From the contex,the definition of the destiny of a task C_i/min{D_i,T_i},where T_i is not referred before, should be substituted by C_i/min{D_

Re: patch "drivers: thermal: st: remove several sparse warnings" added to thermal-soc tree

2015-04-08 Thread Pavel Machek
> > > > And there's no harm in having patch available in git for easy testing. > > > > > > If we weren't so deep into the release cycle, I'd agree with you. But > > > even if we weren't so close to the merge-window, I'd still expect a > > > note to the tune of "tentatively applying this for reas

Re: [PATCH 4/4] UBI: Implement bitrot checking

2015-04-08 Thread Richard Weinberger
Am 02.04.2015 um 21:19 schrieb Andrea Scian: > Il 02/04/2015 19:54, Richard Weinberger ha scritto: >> Hi! >> >> Am 02.04.2015 um 19:34 schrieb Andrea Scian: >>> Richard, >>> >>> Il 29/03/2015 14:13, Richard Weinberger ha scritto: + mutex_lock(&ubi->buf_mutex); + err = ubi_io_read(ubi, u

Re: [PATCH 4/5] spi: img-spfi: Setup TRANSACTION register before CONTROL register

2015-04-08 Thread Mark Brown
On Mon, Apr 06, 2015 at 02:29:06PM -0700, Andrew Bresticker wrote: > From: Sifan Naeem > > Setting the transfer length in the TRANSACTION register after the > CONTROL register is programmed causes intermittent timeout issues in > SPFI transfers when using the SPI framework to control the CS GPIO

Re: [PATCH v6 4/4] clk: dt: Introduce binding for always-on clock support

2015-04-08 Thread Lee Jones
On Wed, 08 Apr 2015, Maxime Ripard wrote: > On Wed, Apr 08, 2015 at 09:14:50AM +0100, Lee Jones wrote: > > > > + > > > > + This property is not to be abused. It is only to > > > > be used to > > > > + protect platforms from being crippled by gated > > > > clo

Re: 答复: [PATCH v2 2/5] mmc: mediatek: Add Mediatek MMC driver

2015-04-08 Thread Ulf Hansson
[...] >> > + >> > +struct mt_bdma_desc { >> > + u32 first_u32; >> > +#define BDMA_DESC_EOL (1 << 0) >> > +#define BDMA_DESC_CHECKSUM (0xff << 8) /* bit8 ~ bit15 */ >> > +#define BDMA_DESC_BLKPAD (1 << 17) >> > +#define BDMA_DESC_DWPAD(1 << 18) >> > +

Re: [PATCH] KVM: dirty all pages in kvm_write_guest_cached()

2015-04-08 Thread Paolo Bonzini
On 08/04/2015 11:26, Radim Krčmář wrote: > 2015-04-08 10:49+0200, Paolo Bonzini: >> On 07/04/2015 22:34, Radim Krčmář wrote: >>> We dirtied only one page because writes originally couldn't span more. >>> Use improved syntax for '>> PAGE_SHIFT' while at it. >>> >>> Fixes: 8f964525a121 ("KVM: Allow

Re: [PATCH] mtd: Expand the ecc placement locations to 1260

2015-04-08 Thread punnaiah choudary kalluri
Ping On Tue, Mar 24, 2015 at 8:04 AM, punnaiah choudary kalluri wrote: > On Fri, Mar 20, 2015 at 4:51 AM, Jeff Lauruhn (jlauruhn) > wrote: >> This device has a Page size x8: 17,600 bytes (16,384 + 1216 bytes) and >> minimum required ECC 24-bit ECC per 1100 bytes of data. Spare area needed >>

Re: [RESEND PATCH 4.0-rc5 v19 6/6] ARM: Add support for on-demand backtrace of other CPUs

2015-04-08 Thread Daniel Thompson
On 08/04/15 09:35, Hillf Danton wrote: +void ipi_cpu_backtrace(struct pt_regs *regs) +{ + int cpu = smp_processor_id(); + + if (cpumask_test_cpu(cpu, to_cpumask(backtrace_mask))) { + printk_nmi_backtrace_this_cpu_begin(); + pr_warn("FIQ backtrace for cpu %

[bnx2x] Re: Kernel 3.18.11 hangs when inserting netconsle module on a DELL M620 VRTX Blade

2015-04-08 Thread Peter Hurley
[ + Ariel Elior for bnx2x driver, netdev ] On 04/08/2015 04:27 AM, Urban Loesch wrote: > Hi, > > I'have installed a new DELL VRTX M620 Blade with kernel 3.18.11. > After system startup I tried to activate the kernel netconsole with remote > logging enabled. > > I executed the following command

[PATCH v4] perf: kmaps: enforce usage of kmaps to protect futher bugs.

2015-04-08 Thread Wang Nan
This patch add checkings on places where use map__kmap and get kmaps from struct kmap. Error messages are added at map__kmap to warn invalud accessing of kmap (for the case of !map->dso->kernel, kmap(map) is not exists at all). Also, introduces map__kmaps() to warn uninitialized kmaps. Signed-off-

Re: Topology updates and NUMA-level sched domains

2015-04-08 Thread Peter Zijlstra
On Wed, Apr 08, 2015 at 12:32:01PM +0200, Brice Goglin wrote: > Le 07/04/2015 21:41, Peter Zijlstra a écrit : > > No, that's very much not the same. Even if it were dealing with hotplug > > it would still assume the cpu to return to the same node. > > > > But mostly people do not even bother to han

Re: [PATCH v2] ARM: dts: mt8173: support arm64 cpuidle-dt

2015-04-08 Thread Lorenzo Pieralisi
On Tue, Apr 07, 2015 at 09:05:05AM +0100, Howard Chen wrote: > This patch adds an idle-states node to describe the mt8173 idle states and > also adds references to the idle-states node in all CPU nodes. > > Signed-off-by: Howard Chen Is copying me in too much effort to ask ? > arch/arm64/boot/

[PATCH] ARM: tegra: cpuidle: implement cpuidle_state.enter_freeze()

2015-04-08 Thread Tomeu Vizoso
This callback is expected to do the same as enter() only that all non-wakeup IRQs are expected to be disabled. It will be called when the system goes to suspend-to-idle and will reduce power usage because CPUs won't be awaken for unnecessary IRQs. Signed-off-by: Tomeu Vizoso Cc: Rafael J. Wysock

Re: linux-next: manual merge of the kvm-arm tree with Linus' tree

2015-04-08 Thread Christoffer Dall
On Wed, Apr 08, 2015 at 09:15:13AM +0100, Marc Zyngier wrote: > On Tue, 7 Apr 2015 17:20:15 +0100 > Paolo Bonzini wrote: > > Hi Paolo, > > > On 18/03/2015 08:55, Christoffer Dall wrote: > > > Hi Stephen, > > > > > > On Wed, Mar 18, 2015 at 02:41:11PM +1100, Stephen Rothwell wrote: > > >> Hi all

Re: 4.0.0-rc mouse/keyboard events get stuck

2015-04-08 Thread Hans de Bruin
On 04/06/2015 11:23 PM, Dmitry Torokhov wrote: Hi Hans, On Mon, Apr 6, 2015 at 11:39 AM, Hans de Bruin wrote: Since 4.0.0-rc something mu laptop has some mouse /keyboard problems. When I play KDE kpatience, a card game, card stick to my mousepointer: left mouse button down on a card, move mous

[PATCH] perf: report: don't call map__kmap if map is NULL.

2015-04-08 Thread Wang Nan
report__warn_kptr_restrict() calls map__kmap(kernel_map) before checking kernel_map againest NULL. Which is dangerous, since map__kmap() will return a invalid and not NULL address. It will trigger a warning message in map__kmap() after patch "perf: kmaps: enforce usage of kmaps to protect futher bu

Re: [PATCH v2] ASoC: max98090: add shutdown callback for max98090

2015-04-08 Thread Kever Yang
Hi Caesar, On 04/08/2015 06:18 PM, Caesar Wang wrote: To fix pop noise when shutdown,the pop noise during shutdown is the pmic cutoff power of codec without any notice. Signed-off-by: jay.xu Signed-off-by: zhengxing Signed-off-by: Caesar Wang Serien-cc: linux-kernel@vger.kernel.org Serien-c

Re: [PATCH v5 3/6] arm64: Kprobes with single stepping support

2015-04-08 Thread David Long
On 04/08/15 02:07, Pratyush Anand wrote: Hi Dave, On Wed, Feb 18, 2015 at 4:41 AM, David Long wrote: From: Sandeepa Prabhu Add support for basic kernel probes(kprobes) and jump probes (jprobes) for ARM64. [...] +#ifdef CONFIG_KPROBES +static inline int notify_page_fault(struct pt_regs

Re: [PATCH] regulator: max8660: fix assignment of pdata to data that becomes dead

2015-04-08 Thread Mark Brown
On Tue, Apr 07, 2015 at 11:06:46PM +0100, Colin King wrote: > From: Colin Ian King > > pdata is assigned to &pdata_of, however, pdata_of becomes dead (when it > goes out of scope) so pdata effectively becomes a dead pointer to the > out of scope object. This is detected by static analysis: Appl

Re: [PATCH v2] ASoC: max98090: add shutdown callback for max98090

2015-04-08 Thread Caesar Wang
Kever, 在 2015年04月08日 18:51, Kever Yang 写道: Hi Caesar, On 04/08/2015 06:18 PM, Caesar Wang wrote: To fix pop noise when shutdown,the pop noise during shutdown is the pmic cutoff power of codec without any notice. Signed-off-by: jay.xu Signed-off-by: zhengxing Signed-off-by: Caesar Wang Ser

Re: [PATCH v2 1/9] ata: at91: use syscon to configure the smc

2015-04-08 Thread Bartlomiej Zolnierkiewicz
Hi, On Monday, March 23, 2015 08:29:07 PM Alexandre Belloni wrote: > Use syscon/regmap to configure the smc. This allows to avoid using > at91sam9_smc.h and to compile the driver in a multiplatform configuration. > > The driver will still not probe until the proper DT bindings are added. That >

linux-next: Tree for Apr 8

2015-04-08 Thread Stephen Rothwell
Hi all, Changes since 20150407: The arm-soc tree still had its build failure for which I reverted a commit. The spi tree lost its build failure. The tip tree's build failure was a semantic merge conflict so I applied a supplied fix. The akpm-current tree gained conflicts against the tip tree.

[PATCH v3] ASoC: max98090: add shutdown callback for max98090

2015-04-08 Thread Caesar Wang
To fix pop noise when shutdown,the pop noise during shutdown is the pmic cutoff power of codec without any notice. Signed-off-by: jay.xu Signed-off-by: zhengxing Signed-off-by: Caesar Wang --- Changes in v3: - modify the shutdown function before remove(..) - fix the `Serien-cc` Changes in v2

Re: [PATCH] media: cxd2099: move pre-init values out of init()

2015-04-08 Thread Mauro Carvalho Chehab
Em Sun, 8 Feb 2015 20:55:36 + luisbg escreveu: > Improve code readability by moving out all pre-init values from the init > function. > > Signed-off-by: Luis de Bethencourt > --- > drivers/staging/media/cxd2099/cxd2099.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff

Re: sched: Improve load balancing in the presence of idle CPUs

2015-04-08 Thread Srikar Dronamraju
* Jason Low [2015-04-07 17:07:46]: > On Tue, 2015-04-07 at 16:28 -0700, Jason Low wrote: > > > Okay, so perhaps we can also try continuing nohz load balancing if we > > find that there are overloaded CPUs in the system. > > Something like the following. > > --- > diff --git a/kernel/sched/fair

Re: [PATCH v2 1/9] ata: at91: use syscon to configure the smc

2015-04-08 Thread Alexandre Belloni
Hi, On 08/04/2015 at 13:04:19 +0200, Bartlomiej Zolnierkiewicz wrote : > On Monday, March 23, 2015 08:29:07 PM Alexandre Belloni wrote: > > Use syscon/regmap to configure the smc. This allows to avoid using > > at91sam9_smc.h and to compile the driver in a multiplatform configuration. > > > > The

[PATCH 00/14] parport: check success of attach call

2015-04-08 Thread Sudip Mukherjee
Currently we are not checking if attach has succeeded or not. Also parport_register_driver() always return 0 even if attach fails. But in many places where attach has been used, it can fail. So, modified the parport code to check the return value of attach and accordingly return either 0 or error c

[PATCH 02/14] ALSA: portman2x4: return proper error values from attach

2015-04-08 Thread Sudip Mukherjee
now that we are monitoring the return value from attach, make the required changes to return proper value from its attach function. Signed-off-by: Sudip Mukherjee --- sound/drivers/portman2x4.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/sound/drivers/por

[PATCH 08/14] [SCSI] imm: return proper error values from attach

2015-04-08 Thread Sudip Mukherjee
now that we are monitoring the return value from attach, make the required changes to return proper value from its attach function. Signed-off-by: Sudip Mukherjee --- drivers/scsi/imm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/imm.c b/drivers/scsi/imm.

[PATCH 12/14] i2c-parport: return proper error values from attach

2015-04-08 Thread Sudip Mukherjee
now that we are monitoring the return value from attach, make the required changes to return proper value from its attach function. Signed-off-by: Sudip Mukherjee --- drivers/i2c/busses/i2c-parport.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/i2c/busses/i2

[PATCH 07/14] [SCSI] ppa: return proper error values from attach

2015-04-08 Thread Sudip Mukherjee
now that we are monitoring the return value from attach, make the required changes to return proper value from its attach function. Signed-off-by: Sudip Mukherjee --- drivers/scsi/ppa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/ppa.c b/drivers/scsi/ppa.

[PATCH 11/14] net: plip: return proper error values from attach

2015-04-08 Thread Sudip Mukherjee
now that we are monitoring the return value from attach, make the required changes to return proper value from its attach function. also return the proper error code in module_init. Signed-off-by: Sudip Mukherjee --- drivers/net/plip/plip.c | 16 ++-- 1 file changed, 10 insertions(+)

[PATCH 13/14] ppdev: return proper error values from attach

2015-04-08 Thread Sudip Mukherjee
now that we are monitoring the return value from attach, make the required changes to return proper value from its attach function. Signed-off-by: Sudip Mukherjee --- drivers/char/ppdev.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/char/ppdev.c b/driver

[PATCH 04/14] staging: panel: return proper error values from attach

2015-04-08 Thread Sudip Mukherjee
now that we are monitoring the return value from attach, make the required changes to return proper value from its attach function. Signed-off-by: Sudip Mukherjee --- drivers/staging/panel/panel.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/staging/pan

[PATCH 06/14] spi: butterfly: return proper error values from attach

2015-04-08 Thread Sudip Mukherjee
now that we are monitoring the return value from attach, make the required changes to return proper value from its attach function. Signed-off-by: Sudip Mukherjee --- drivers/spi/spi-butterfly.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/spi/spi-butterfly.

[PATCH 10/14] pps: return proper error values from attach

2015-04-08 Thread Sudip Mukherjee
now that we are monitoring the return value from attach, make the required changes to return proper value from its attach function. Signed-off-by: Sudip Mukherjee --- drivers/pps/clients/pps_parport.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/pps/clients/

Re: [PATCH] usb: Enable LPM for USB 2.01+ full-speed devices

2015-04-08 Thread rtatiya
>> >> USB 2.01+ full-speed devices can have extended descriptor as well >> and can support LPM. > > Yes, they in theory can, but what happens if they are actually > asked to do so? On how many devices have you tested this patch? > I have tested this on Qualcomm USB controller, LPM works. LPM works

[PATCH 14/14] char: lp: return proper error values from attach

2015-04-08 Thread Sudip Mukherjee
now that we are monitoring the return value from attach, make the required changes to return proper value from its attach function. Signed-off-by: Sudip Mukherjee --- drivers/char/lp.c | 16 +++- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/drivers/char/lp.c b/drive

[PATCH 09/14] pps: return proper error values from attach

2015-04-08 Thread Sudip Mukherjee
now that we are monitoring the return value from attach, make the required changes to return proper value from its attach function. Signed-off-by: Sudip Mukherjee --- drivers/pps/generators/pps_gen_parport.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/pps

Re: [PATCH v3 0/5] Refactor Qualcomm RPM regulator to single platform_device

2015-04-08 Thread Mark Brown
On Mon, Apr 06, 2015 at 04:33:55PM -0700, Bjorn Andersson wrote: > Stephen Boyd pointed out that the current design of the Qualcomm RPM and > regulator driver consumes 12-20kB of ram just for the platform_device structs. Applied the regulator patches, thanks. signature.asc Description: Digital s

Re: [PATCH] usb: Enable LPM for USB 2.01+ full-speed devices

2015-04-08 Thread rtatiya
> On Wed, Mar 25, 2015 at 12:23:19PM +0530, rtat...@codeaurora.org wrote: >> From: Rupesh Tatiya >> >> USB 2.01+ full-speed devices can have extended descriptor as well >> and can support LPM. >> >> Change-Id: Ic055d51c02651810d3eb7141bab20a090fe8453b > > We can't take patches with this in it, as

[PATCH 03/14] ALSA: mts64: return proper error values from attach

2015-04-08 Thread Sudip Mukherjee
now that we are monitoring the return value from attach, make the required changes to return proper value from its attach function. Signed-off-by: Sudip Mukherjee --- sound/drivers/mts64.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/sound/drivers/mts64.c b/s

[PATCH 05/14] spi: lm70llp: return proper error values from attach

2015-04-08 Thread Sudip Mukherjee
now that we are monitoring the return value from attach, make the required changes to return proper value from its attach function. Signed-off-by: Sudip Mukherjee --- drivers/spi/spi-lm70llp.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/spi/spi-lm70llp.c b/

[PATCH 01/14] parport: return value of attach and parport_register_driver

2015-04-08 Thread Sudip Mukherjee
as of now, we are not checking if attach or parport_register_driver has succeeded or failed. But attach can fail in the places where they have been used. Lets check the return of attach, and if attach fails then parport_register_driver should also fail. We can have multiple parallel port so we only

[PATCH 0/5] Ensure that lun ids are contiguous

2015-04-08 Thread Krzysztof Opasiak
Dear list, This series fix configfs interface for mass storage function. According to mass storage specification[1]: "Logical Unit Numbers on the device shall be numbered contiguously starting from LUN 0 to a maximum LUN of 15 (Fh)." Currently configfs interface allows to create LUNs with arbit

[PATCH 3/5] usb: gadget: mass_storage: Store lun_opts in fsg_opts

2015-04-08 Thread Krzysztof Opasiak
Signed-off-by: Krzysztof Opasiak --- drivers/usb/gadget/function/f_mass_storage.c |5 + drivers/usb/gadget/function/f_mass_storage.h |1 + 2 files changed, 6 insertions(+) diff --git a/drivers/usb/gadget/function/f_mass_storage.c b/drivers/usb/gadget/function/f_mass_storage.c index

[PATCH 5/5] Documentation: ABI: Fix documentation for mass_storage function

2015-04-08 Thread Krzysztof Opasiak
Luns in mass storage function are identified using their id. While creating lun's directory user cannot choose any arbitrary name other than arabic numeral from 1 to FSG_MAX_LUNS. Signed-off-by: Krzysztof Opasiak --- .../ABI/testing/configfs-usb-gadget-mass-storage |7 ++- 1 file chang

[PATCH 4/5] usb: gadget: mass_storage: Ensure that lun ids are contiguous

2015-04-08 Thread Krzysztof Opasiak
Signed-off-by: Krzysztof Opasiak --- drivers/usb/gadget/function/f_mass_storage.c | 35 +++--- 1 file changed, 31 insertions(+), 4 deletions(-) diff --git a/drivers/usb/gadget/function/f_mass_storage.c b/drivers/usb/gadget/function/f_mass_storage.c index 095b618..9d9fafb 1

[PATCH 1/5] fs: configfs: Fix typo in comment

2015-04-08 Thread Krzysztof Opasiak
Signed-off-by: Krzysztof Opasiak --- fs/configfs/dir.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/configfs/dir.c b/fs/configfs/dir.c index cf0db00..dee1cb5 100644 --- a/fs/configfs/dir.c +++ b/fs/configfs/dir.c @@ -325,7 +325,7 @@ static void configfs_dir_set_ready(

[PATCH 2/5] fs: configfs: Add unlocked version of configfs_depend_item()

2015-04-08 Thread Krzysztof Opasiak
Sometimes it might be desirable to prohibit removing a directory in configfs. One example is USB gadget (mass_storage function): when gadget is already bound, if lun directory is removed, the gadget must be thrown away, too. A better solution would be to fail with e.g. -EBUSY. Currently configfs h

Re: [PATCH v4 2/4] mmc: core: Add mmc_regulator_set_vqmmc()

2015-04-08 Thread Mark Brown
On Tue, Apr 07, 2015 at 01:05:43PM -0700, Doug Anderson wrote: > Mark: I know you said you were considering writing a better > regulator_set_voltage_tol() yourself, but I don't know if you've > already started work on it. > I'm expecting to maybe have time to take a crack at it in a few weeks > i

Re: [PATCH] rc: img-ir: Add and enable sys clock for IR

2015-04-08 Thread Mauro Carvalho Chehab
Em Tue, 3 Feb 2015 17:30:29 + Sifan Naeem escreveu: > Gets a handle to the system clock, already described in the binding > document, and calls the appropriate common clock > framework functions to mark it prepared/enabled, the common clock > framework initially enables the clock and doesn't

Re: [PATCH 2/2] x86/earlyprintk: setup earlyprintk as early as possible

2015-04-08 Thread Peter Hurley
Hi Alexander, On 04/08/2015 05:31 AM, Alexander Kuleshov wrote: > As setup_early_printk passed to the early_param, it will be usable only after > 'parse_early_param' function will be called from the 'setup_arch'. So we have > earlyprintk during early boot and decompression. Next point after > dec

Re: [PATCH v2 00/17] IB/Verbs: IB Management Helpers

2015-04-08 Thread Tom Talpey
On 4/7/2015 8:25 AM, Michael Wang wrote: Mapping List: node-type link-layer old-transport new-transport nes RNICETH IWARP IWARP amso1100RNICETH IWARP IWARP cxgb3 RNIC

Re: [PATCH] usb: Enable LPM for USB 2.01+ full-speed devices

2015-04-08 Thread Greg KH
On Wed, Apr 08, 2015 at 11:27:40AM -, rtat...@codeaurora.org wrote: > > On Wed, Mar 25, 2015 at 12:23:19PM +0530, rtat...@codeaurora.org wrote: > >> From: Rupesh Tatiya > >> > >> USB 2.01+ full-speed devices can have extended descriptor as well > >> and can support LPM. > >> > >> Change-Id: Ic

Re: [PATCH 01/14] parport: return value of attach and parport_register_driver

2015-04-08 Thread Dan Carpenter
1) We can't apply this patch on its own so this way of breaking up the patches doesn't work. 2) I was thinking that all the ->attach() calls would have to succeed or we would bail. Having some of them succeed and some fail doesn't seem like it will simplify the driver code very much. But I can a

Re: [PATCH 01/14] parport: return value of attach and parport_register_driver

2015-04-08 Thread Dan Carpenter
On Wed, Apr 08, 2015 at 02:38:32PM +0300, Dan Carpenter wrote: > 1) We can't apply this patch on its own so this way of breaking up the > patches doesn't work. > The right thing is to do add an attach_ret(). static int do_attach(drv) { if (drv->attach_ret) return drv->att

Re: 4.0.0-rc mouse/keyboard events get stuck

2015-04-08 Thread Hans de Goede
Hi, On 08-04-15 12:59, Hans de Bruin wrote: On 04/06/2015 11:23 PM, Dmitry Torokhov wrote: Hi Hans, On Mon, Apr 6, 2015 at 11:39 AM, Hans de Bruin wrote: Since 4.0.0-rc something mu laptop has some mouse /keyboard problems. When I play KDE kpatience, a card game, card stick to my mousepointe

Oops in 4.0.0-rc6: __destroy_inode

2015-04-08 Thread Tobias Hoffmann
Hi, after updating from 3.19.0-rc4 to 4.0.0-rc6 I've experienced the appended two similar oopses. In both cases they occurred without obvious cause after less than 2 days uptime, and caused Xorg to hang - requiring a manual reboot (init 6 via ssh did not run to completion). The only other thin

Re: [PATCH 4/4] UBI: Implement bitrot checking

2015-04-08 Thread David Oberhollenzer
Reviewed-by: David Oberhollenzer -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH] brcmsmac: Move each system tracepoints to their own header

2015-04-08 Thread Steven Rostedt
On Wed, 8 Apr 2015 09:32:44 +0200 Arend van Spriel wrote: > On 04/07/15 18:11, Steven Rostedt wrote: > > > > Every tracing file must have its own TRACE_SYSTEM defined. > > The brcmsmac tracepoint header broke this and added in the middle > > of the file: > > > > #undef TRACE_SYSTEM > > #defin

Re: [PATCH 01/14] parport: return value of attach and parport_register_driver

2015-04-08 Thread Sudip Mukherjee
On Wed, Apr 08, 2015 at 02:38:32PM +0300, Dan Carpenter wrote: > 1) We can't apply this patch on its own so this way of breaking up the > patches doesn't work. yes, if the first patch is reverted for any reason all the others need to be reverted also. so then everything in one single patch? > > 2)

Re: [PATCH] ARM: tegra: cpuidle: implement cpuidle_state.enter_freeze()

2015-04-08 Thread Lorenzo Pieralisi
On Wed, Apr 08, 2015 at 11:54:38AM +0100, Tomeu Vizoso wrote: > This callback is expected to do the same as enter() only that all > non-wakeup IRQs are expected to be disabled. This is not true or at least it is misworded. The enter_freeze() function is expected to return from the state with IRQs

[RFC 3/4] Documentation/scheduler/sched-deadline.txt: Some notes on EDF schedulability

2015-04-08 Thread Luca Abeni
Add a short discussion about sufficient and necessary schedulability tests, and a simple example showing that if D_i != P_i then density based tests are only sufficient. Also add some references to scientific papers on schedulability tests for EDF that are both necessary and sufficient, and on thei

[RFC 2/4] Documentation/scheduler/sched-deadline.txt: use consistent namings

2015-04-08 Thread Luca Abeni
The names "C_i" and "T_i" were used (without previously defining them) instead of "WCET_i" and "P_i". Based on a patch by Zhiqiang Zhang --- Documentation/scheduler/sched-deadline.txt |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/scheduler/sched-deadline

[RFC 1/4] Documentation/scheduler/sched-deadline.txt: fix typos

2015-04-08 Thread Luca Abeni
--- Documentation/scheduler/sched-deadline.txt |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/scheduler/sched-deadline.txt b/Documentation/scheduler/sched-deadline.txt index 21461a0..b29b16c 100644 --- a/Documentation/scheduler/sched-deadline.txt +++ b/Do

Re: [PATCH v2 1/9] ata: at91: use syscon to configure the smc

2015-04-08 Thread Bartlomiej Zolnierkiewicz
On Wednesday, April 08, 2015 01:13:35 PM Alexandre Belloni wrote: > Hi, > > On 08/04/2015 at 13:04:19 +0200, Bartlomiej Zolnierkiewicz wrote : > > On Monday, March 23, 2015 08:29:07 PM Alexandre Belloni wrote: > > > Use syscon/regmap to configure the smc. This allows to avoid using > > > at91sam9_

[RFC 4/4] Documentation/scheduler/sched-deadline.txt: add some references

2015-04-08 Thread Luca Abeni
Add a description of the Dhall's effect, some discussion about schedulability tests for global EDF, and references to real-time literature, --- Documentation/scheduler/sched-deadline.txt | 81 1 file changed, 71 insertions(+), 10 deletions(-) diff --git a/Documentat

[RFC 0/4] SCHED_DEADLINE documentation update

2015-04-08 Thread Luca Abeni
Hi all, here is the promised update for Documentation/scheduler/sched-deadline.txt. I send it as an RFC because of the following doubts: 1) I split the patches trying to isolate related changes. So, - the first patch fixes 2 typos that I noticed when updating the documentation - the sec

Re: [Xen-devel] [PATCH v15 12/15] pvqspinlock, x86: Enable PV qspinlock for Xen

2015-04-08 Thread David Vrabel
On 07/04/15 03:55, Waiman Long wrote: > This patch adds the necessary Xen specific code to allow Xen to > support the CPU halting and kicking operations needed by the queue > spinlock PV code. This basically looks the same as the version I wrote, except I think you broke it. > +static void xen_ql

Re: Why not build kernel with -O3

2015-04-08 Thread Austin S Hemmelgarn
On 2015-04-07 21:00, Pengfei Yuan wrote: Could you please provide some examples that I can investigate? Thanks! 2015-04-08 2:05 GMT+08:00 Austin S Hemmelgarn : On 2015-04-07 06:09, Mike Galbraith wrote: On Tue, 2015-04-07 at 15:56 +0800, Pengfei Yuan wrote: I am trying legacy GCC versions. Bu

<    1   2   3   4   5   6   7   8   9   >