Re: [PATCH v5 6/8] iio: gyro: bmg160: optimize i2c transfers in trigger handler

2015-08-17 Thread Markus Pargmann
On Sun, Aug 16, 2015 at 10:24:47AM +0100, Jonathan Cameron wrote: > On 12/08/15 15:31, Irina Tirdea wrote: > > Some i2c busses (e.g.: Synopsys DesignWare I2C adapter) need to > > enable/disable the bus at each i2c transfer and must wait for > > the enable/disable to happen before sending the data.

[PATCH v4 0/5] Altera PCIe host controller driver with MSI support

2015-08-17 Thread Ley Foon Tan
This is the 4th version of patch set to add support for Altera PCIe host controller with MSI feature on Altera FPGA device families. This patchset mainly resolve comments from Marc Zyngier in v3. It is based on patch series from Marc Zyngier "Per-device MSI domain & platform MSI" [1] to get rid

Re: [PATCH 1/3] staging: wilc1000: code style: fix macro with multiple statements

2015-08-17 Thread Dan Carpenter
On Sun, Aug 16, 2015 at 01:30:12AM -0400, Raphaël Beamonte wrote: > #define MALLOC_WILC_BUFFER(name, size) \ > - exported_ ## name = kmalloc(size, GFP_KERNEL);\ > - if (!exported_ ## name) { \ > - printk("fail to alloc: %s memory\n", exported_ ## name); \ > -

Re: [PATCH v4 2/5] PM / OPP: add a function to get the voltage for disabled OPPs

2015-08-17 Thread Javi Merino
On Sat, Aug 15, 2015 at 06:59:25AM +0100, Viresh Kumar wrote: > On 14-08-15, 18:56, Javi Merino wrote: > > The OPP library is now used for power models to calculate the power > > that a device would consume at a specific OPP. To do that, we use a > > simple power model which takes frequency and

Re: [PATCH] gpiolib: irqchip: use different lockdep class for each gpio irqchip

2015-08-17 Thread Linus Walleij
On Fri, Aug 14, 2015 at 2:40 PM, Lars-Peter Clausen wrote: > On 08/14/2015 02:34 PM, Linus Walleij wrote: > [...] >> Every chip will get their own lock class on the heap. >> >> But I think it is a bit kludgy. >> >> Is it not possible to have the lock key in struct gpio_chip >> be a real member

Re: [PATCH v2 2/4] PCI: pci-host-generic: Fix lookup of linux,pci-probe-only property

2015-08-17 Thread Will Deacon
On Fri, Aug 14, 2015 at 09:26:21PM +0100, Bjorn Helgaas wrote: > On Fri, Aug 14, 2015 at 11:43 AM, Will Deacon wrote: > > On Fri, Aug 14, 2015 at 05:40:51PM +0100, Bjorn Helgaas wrote: > >> Do we need support for pci-probe-only in pci-host-generic at all? > >> You're removing the use in

Re: [RFC PATCH v2] memory-barriers: remove smp_mb__after_unlock_lock()

2015-08-17 Thread Will Deacon
On Mon, Aug 17, 2015 at 07:15:01AM +0100, Paul E. McKenney wrote: > On Mon, Aug 17, 2015 at 02:06:07PM +1000, Michael Ellerman wrote: > > On Wed, 2015-08-12 at 08:43 -0700, Paul E. McKenney wrote: > > > On Wed, Aug 12, 2015 at 02:44:15PM +0100, Will Deacon wrote: > > > > On Fri, Jul 24, 2015 at

[RESEND PATCH v5] clk: mediatek: Export CPU mux clocks for CPU frequency control

2015-08-17 Thread Pi-Cheng Chen
From: "pi-cheng.chen" This patch adds CPU mux clocks which are used by Mediatek cpufreq driver for intermediate clock source switching. Signed-off-by: Pi-Cheng Chen Reviewed-by: Daniel Kurtz --- Changes in v5: - Replace __initdata with __initconst to fix compiling error Changes in v4: - Fix

Re: [PATCH] Staging: gdm72xx: usb_ids: fix a macro coding style error

2015-08-17 Thread Dan Carpenter
On Fri, Aug 14, 2015 at 01:08:32PM -0400, Raphaël Beamonte wrote: > Fix a macro with complex value coding style error. > This patch description is too vague. regards, dan carpenter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH] gpio/grgpio: fix deadlock in grgpio_irq_unmap()

2015-08-17 Thread Linus Walleij
On Mon, Aug 17, 2015 at 10:23 AM, Alexandre Courbot wrote: > As reported by Alexey Khoroshilov: > > grgpio_irq_unmap() code looks quite suspicious regarding usage of > priv->bgc.lock spinlock. > > It locks the spinlock in line 310: > > spin_lock_irqsave(>bgc.lock, flags); > >

[PATCH v4] fs/pstore: provide panic data even in suspend

2015-08-17 Thread check.kernel
From: Dongdong Yang If system restart after panic, this patch also enables panic and oops messages which in suspend context to be logged into ramoops console buffer where it can be read back at some later point. Signed-off-by: Dongdong Yang Signed-off-by: Linghua Gu Signed-off-by: Hui Du ---

Re: [PATCH 2/2] crypto: qat - Don't move data inside output buffer

2015-08-17 Thread Herbert Xu
On Fri, Aug 14, 2015 at 07:24:23AM -0700, Tadeusz Struk wrote: > > If you don't like the first option then we still need this, as you pointed > out. Yes this looks like the right fix for qat. Please add a sign-off. You might be able to just do it by replying to this thread, and patchwork may be

Re: [PATCH 2/2] crypto: qat - Don't move data inside output buffer

2015-08-17 Thread Herbert Xu
On Fri, Aug 14, 2015 at 07:21:29AM -0700, Tadeusz Struk wrote: > > Yes, that was wrong, sorry. The reason I wanted to change it is that > the SW implementation can return a number with leading zeros. > This is because mpi_read_buffer() returns the whole thing. I think mpi_read_buffer is broken.

Re: [RFC v5 00/26] Re-use nvram module

2015-08-17 Thread Finn Thain
On Mon, 17 Aug 2015, Geert Uytterhoeven wrote: > On Mon, Aug 17, 2015 at 10:04 AM, Finn Thain > wrote: > >> BTW, checkpatch reported a few newly-introduced whitespace errors in > >> patches 03, 05, 16, 24, and 25. > > > > I will check again, but I'm sure those are all deliberate. I examined

Re: [PATCH] net/wireless: enable wiphy device to suspend/resume asynchronously

2015-08-17 Thread Arend van Spriel
+ Rafael On 08/17/2015 09:29 AM, Johannes Berg wrote: On Mon, 2015-08-17 at 09:48 +0800, Fu, Zhonghui wrote: The suspend/resume timing of wiphy device and related devices will be ensured by their parent/child relationship. So, enabling wiphy device to suspend/resume asynchronously does not

Re: Build regressions/improvements in v4.2-rc7

2015-08-17 Thread Geert Uytterhoeven
On Mon, Aug 17, 2015 at 10:43 AM, Geert Uytterhoeven wrote: > JFYI, when comparing v4.2-rc7[1] to v4.2-rc6[3], the summaries are: > - build errors: +6/-14 + /home/kisskb/slave/src/arch/arm/kernel/devtree.c: error: implicit declaration of function 'early_init_dt_scan_nodes'

Build regressions/improvements in v4.2-rc7

2015-08-17 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v4.2-rc7[1] compared to v4.1[2]. Summarized: - build errors: +13/-53 - build warnings: +133/-278 JFYI, when comparing v4.2-rc7[1] to v4.2-rc6[3], the summaries are: - build errors: +6/-14 - build warnings: +25/-54 Note

Re: [PATCH 1/2] gpio: don't override irq_*_resources() callbacks

2015-08-17 Thread Geert Uytterhoeven
On Mon, Aug 3, 2015 at 10:53 AM, Linus Walleij wrote: > On Fri, Jul 31, 2015 at 2:48 PM, Rabin Vincent wrote: > >> If the driver has specified its own irq_{request/release}_resources() >> functions, don't override them. The gpio-etraxfs driver will use this. >> >> Signed-off-by: Rabin Vincent

Re: [PATCH 1/3] platform/chrome: Don't make CHROME_PLATFORMS depends on X86 || ARM

2015-08-17 Thread Javier Martinez Canillas
Hello Geert, Thanks a lot for your feedback. On Mon, Aug 17, 2015 at 9:56 AM, Geert Uytterhoeven wrote: > On Thu, Jun 25, 2015 at 2:20 AM, Javier Martinez Canillas > wrote: >> The Chrome platform support depends on X86 || ARM because there are >> only Chromebooks using those architectures. But

dom0 panic with Upstream Linux 4.1 tree

2015-08-17 Thread Zhenzhong Duan
Hi Maintainers I found below panic when bootup OVM3.3.3 on HP PROLIANT DL980 G7 with dom0_mem=max:128G, not reproduce with dom0_mem=max:127G. Dom0 kernel is uek4 4.1.5-5.el6uek which is based on Upstream Linux 4.1 tree. This looks like an upstream issue. Appereciate any patch/fix. Thanks

Crypto Fixes for 4.2

2015-08-17 Thread Herbert Xu
Hi Linus: This push fixes the following issues: * A regression caused by the conversion of IPsec ESP to the new AEAD interface: ESN with authencesn no longer works because it relied on the AD input SG list having a specific layout which is no longer the case. In linux-next authencesn is

Re: [PATCH] leds: leds-fsg: Use devm_led_classdev_register

2015-08-17 Thread Jacek Anaszewski
Hi Vaishali, Thanks for the patch. Unfortunately it causes build break. Please fix the issues and resubmit. On 08/15/2015 12:21 PM, Vaishali Thakkar wrote: Use resource-managed function devm_led_classdev_register instead of led_classdev_register to make the error-path simpler. To be

[PATCH] x86, suspend: Save/restore THERM_CONTROL register for suspend

2015-08-17 Thread Chen Yu
A bug is reported(https://bugzilla.redhat.com/show_bug.cgi?id=1227208) that, after resuming from S3, CPU is working at a low speed. After investigation, it is found that, BIOS has modified the value of THERM_CONTROL register during S3, changes it from 0 to 0x10, while the latter means CPU can only

Re: [PATCH] dma: pxa_dma: don't use config direction parameter

2015-08-17 Thread Vinod Koul
On Tue, Aug 11, 2015 at 10:16:32PM +0200, Robert Jarzmik wrote: > From: Robert Jarzmik > > Don't use the direction passed in the configuration, and rely on each > transfer's direction to prepare the transfers. This will enable > future removal of direction parameter from dma_slave_config.

[PATCH] gpio/grgpio: fix deadlock in grgpio_irq_unmap()

2015-08-17 Thread Alexandre Courbot
As reported by Alexey Khoroshilov: grgpio_irq_unmap() code looks quite suspicious regarding usage of priv->bgc.lock spinlock. It locks the spinlock in line 310: spin_lock_irqsave(>bgc.lock, flags); and then it can call grgpio_set_imask() in line 317:

Re: Deadlock in grgpio_irq_unmap()

2015-08-17 Thread Alexandre Courbot
On Mon, Aug 3, 2015 at 1:15 AM, Alexey Khoroshilov wrote: > Dear colleagus, > > grgpio_irq_unmap() code looks quite suspicious regarding usage of > priv->bgc.lock spinlock. > > It locks the spinlock in line 310: > spin_lock_irqsave(>bgc.lock, flags); > and then it can call

Re: [RFC v5 00/26] Re-use nvram module

2015-08-17 Thread Geert Uytterhoeven
Hi Finn, On Mon, Aug 17, 2015 at 10:04 AM, Finn Thain wrote: >> BTW, checkpatch reported a few newly-introduced whitespace errors in >> patches 03, 05, 16, 24, and 25. > > I will check again, but I'm sure those are all deliberate. I examined all > the "errors" and "warnings" before submitting. >

Re: [ANNOUNCE] rt-tests-0.93

2015-08-17 Thread Uwe Kleine-König
Hello John, On Thu, Aug 13, 2015 at 05:20:26PM +0100, John Kacur wrote: > Clark Williams and I are pleased to announce a new rt-tests release. > Note we have a new git location, > make sure you update your repo to one of the following > > git://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git

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

2015-08-17 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the staging tree got conflicts in: drivers/staging/Kconfig drivers/staging/Makefile between commit: c2347d1b409d ("RDMA/amso1100: deprecate the amso1100 provider") 17465e48756f ("IB/ipath: Move ipath driver to staging.") 97748be1d6d0 ("Move hfi1

[PATCH] mmc/android-goldfish: remove incorrect __iomem annotation

2015-08-17 Thread Christoph Hellwig
Make sparse happy: drivers/mmc/host/android-goldfish.c:535:56: sparse: incorrect type in argument 3 (different address spaces) Signed-off-by: Christoph Hellwig --- drivers/mmc/host/android-goldfish.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [RFC v5 00/26] Re-use nvram module

2015-08-17 Thread Finn Thain
On Sun, 16 Aug 2015, Geert Uytterhoeven wrote: > Hi Finn, > > On Sat, Jul 25, 2015 at 9:45 AM, Finn Thain > wrote: > > The generic NVRAM module, drivers/char/generic_nvram, implements a > > /dev/nvram misc device. It is used only by 32-bit PowerPC platforms > > and isn't generic enough to

Re: [v3] powerpc: Add an inline function to update POWER8 HID0

2015-08-17 Thread Michael Ellerman
On Wed, 2015-05-08 at 07:08:31 UTC, "Gautham R. Shenoy" wrote: > Section 3.7 of Version 1.2 of the Power8 Processor User's Manual > prescribes that updates to HID0 be preceded by a SYNC instruction and > followed by an ISYNC instruction (Page 91). > > Create an inline function name

Re: linux-next: manual merge of the thermal-soc tree with the arm tree

2015-08-17 Thread Stephen Rothwell
Hi Russell, On Mon, 17 Aug 2015 08:55:49 +0100 Russell King - ARM Linux wrote: > > Yes it does. It's above the explanation of why it's there. However, > now that Eduardo has taken patches to fix the long standing bug, I can > drop this commit. Ah, yes, I only expect to see them at the end.

Re: [PATCH 20/20] iio: bmc150: Add SPI driver

2015-08-17 Thread Markus Pargmann
On Sat, Aug 15, 2015 at 02:47:20PM +0100, Jonathan Cameron wrote: > On 12/08/15 11:12, Markus Pargmann wrote: > > Add a simple SPI driver which initializes the spi regmap for the bmc150 > > core driver. > > > > Signed-off-by: Markus Pargmann > 1 thing inline, plus the change of kconfig approach

Re: [GIT PULL] x86 fixes

2015-08-17 Thread Ingo Molnar
(Sorry about the late reply, wasn't around on the weekend.) * Linus Torvalds wrote: > Now that said, I doubt anybody cares. Since we don't support the original > 80386, > the only way to ever trigger FP emulation is by having a 486SX or possibly a > couple of even rarer clone chips. [...]

Re: [RFC 0/1] i2c: acpi: revert setting a "stable" device name

2015-08-17 Thread Jarkko Nikula
On 15.08.2015 18:13, Guenter Roeck wrote: On Fri, Aug 14, 2015 at 12:37:13PM -0700, Dustin Byford wrote: 70762ab from 11/2014 (i2c: Use stable dev_name for ACPI enumerated I2C slaves) modified the sysfs-visible dev_name() for ACPI enumerated I2C devices. With that change,

Re: [PATCH 20/20] iio: bmc150: Add SPI driver

2015-08-17 Thread Markus Pargmann
On Wed, Aug 12, 2015 at 01:03:00PM +0100, Mark Brown wrote: > On Wed, Aug 12, 2015 at 12:12:45PM +0200, Markus Pargmann wrote: > > > + .use_single_rw = false, > > + .cache_type = REGCACHE_NONE, > > +}; > > No need to initialise defaults. Thanks, removed those. Best regards, Markus --

Re: [PATCH 19/20] iio: bmc150: Split the driver into core and i2c

2015-08-17 Thread Markus Pargmann
On Sat, Aug 15, 2015 at 02:41:29PM +0100, Jonathan Cameron wrote: > On 12/08/15 11:12, Markus Pargmann wrote: > > Signed-off-by: Markus Pargmann > There are a few bits in here following through from earlier > patches that I haven't bothered mentioning as you'll have fixed > them already before

Re: [PATCH 18/20] iio: bcm150: Remove i2c_client from private data

2015-08-17 Thread Markus Pargmann
On Sat, Aug 15, 2015 at 02:33:51PM +0100, Jonathan Cameron wrote: > On 12/08/15 11:12, Markus Pargmann wrote: > > i2c_client struct is now only used for debugging output. We can use the > > device struct as well so we can remove all struct i2c_client usage. > > > > Signed-off-by: Markus Pargmann

Re: [PATCH 1/3] platform/chrome: Don't make CHROME_PLATFORMS depends on X86 || ARM

2015-08-17 Thread Geert Uytterhoeven
On Thu, Jun 25, 2015 at 2:20 AM, Javier Martinez Canillas wrote: > The Chrome platform support depends on X86 || ARM because there are > only Chromebooks using those architectures. But only some drivers > depend on a given architecture, and the ones that do already have > a dependency on their

Re: linux-next: manual merge of the thermal-soc tree with the arm tree

2015-08-17 Thread Russell King - ARM Linux
On Mon, Aug 17, 2015 at 12:17:54PM +1000, Stephen Rothwell wrote: > Hi Eduardo, > > Today's linux-next merge of the thermal-soc tree got a conflict in: > > drivers/thermal/cpu_cooling.c > > between commit: > > df6f527755a5 ("thermal: cpu_cooling: fix lockdep problems in cpu_cooling") > >

Re: [PATCH v3 0/5] PCI: st: provide support for dw pcie

2015-08-17 Thread Gabriel Fernandez
Hi Bjorn, To be honest I'm wainting that Zhou patch (PCI: designware: Add ARM64 support) is accepted. Because this patch allows to remove "pci: designware: remove pci_common_init_dev()" from my patchset. I think it's more judicious to do that. I can send a v4 based on Zhou patchset ([PATCH v6

Re: [PATCH] cpupower tools: Fix error when running cpupower monitor

2015-08-17 Thread Shreyas B Prabhu
On 08/10/2015 05:58 PM, Thomas Renninger wrote: > On Monday, August 03, 2015 11:46:00 AM Shreyas B. Prabhu wrote: >> get_cpu_topology() tries to get topology info from all cpus by reading >> files in the topology sysfs dir. If a cpu is offlined, since it doesn't >> have topology dir, this

Re: [PATCH v4] pinctrl: mediatek: Implement wake handler and suspend resume

2015-08-17 Thread Yingjoe Chen
On Fri, 2015-08-14 at 16:38 +0800, maoguang.m...@mediatek.com wrote: > From: Maoguang Meng > > This patch implement irq_set_wake to get who is wakeup source and > setup on suspend resume. > > Signed-off-by: Maoguang Meng > > --- > changes since v3: > -add a comment in mtk_eint_chip_read_mask.

Re: [PATCH 17/20] iio: bmc150: Use i2c regmap

2015-08-17 Thread Markus Pargmann
On Sat, Aug 15, 2015 at 02:27:47PM +0100, Jonathan Cameron wrote: > On 12/08/15 11:12, Markus Pargmann wrote: > > This replaces all usage of direct i2c accesses with regmap accesses. > > > > Signed-off-by: Markus Pargmann > Clearly there is some work needed on the earlier patches and this >

Re: [PATCH RFC 1/5] drm/edid: Add support to get edid early

2015-08-17 Thread Jani Nikula
On Fri, 14 Aug 2015, Srinivas Kandagatla wrote: > This patch adds support to get edid way early before the connector is > created, this is mainly used for panel drivers to auto-probe the panel > based on the vendor and product id from EDID. > > Signed-off-by: Srinivas Kandagatla > --- >

[PATCH v2 2/3] sched: introduce functions for attaching(detaching) a task to cfs_rq

2015-08-17 Thread byungchul . park
From: Byungchul Park two functions are introduced for attaching(detaching) a task to a cfs_rq. it does mainly adjusting its vruntime and load avg with the cfs_rq. switched_from_fair(), switched_to_fair() and task_move_group_fair() can use these functions, now. Signed-off-by: Byungchul Park ---

[PATCH v2 3/3] sched: decay a detached se when it's attached to its cfs_rq

2015-08-17 Thread byungchul . park
From: Byungchul Park se's load can be valuable just after being detached from cfs_rq, however it will become useless over time, e.g. in case of switching to another sched class and switching back to fair class. therefore even in case where se is already detached from cfs, decaying its load is

Re: [PATCH 0/4] ARC futex fixes

2015-08-17 Thread Vineet Gupta
On Thursday 06 August 2015 06:05 PM, Vineet Gupta wrote: Hi Thomas/Peter, Of late I've been debugging a seeming lost wakeup when running a specific EEMBC Multibench workload (4M-check -w4) on a quad core HS38 config on FPGA CONFIG_SMP, CONFIG_PREEMPT. I've yet to nail that issue down, but in

[PATCH v2 0/3] sched: sync a se with its cfs_rq when attaching and dettaching

2015-08-17 Thread byungchul . park
From: Byungchul Park change from v1 to v2 * introduce two functions for adjusting vruntime and load when attaching and detaching. * call the introduced functions instead of switched_from(to)_fair() directly in task_move_group_fair(). * add decaying logic for a se which has detached from a

[PATCH v2 1/3] sched: sync a se with its cfs_rq when attaching and dettaching

2015-08-17 Thread byungchul . park
From: Byungchul Park current code is wrong with cfs_rq's avg loads when changing a task's cfs_rq to another. i tested with "echo pid > cgroup" and found that e.g. cfs_rq->avg.load_avg became larger and larger whenever i changed a cgroup to another again and again. we have to sync se's avg loads

Re: [RFC PATCH kernel vfio] mm: vfio: Move pages out of CMA before pinning

2015-08-17 Thread Vlastimil Babka
On 08/05/2015 10:08 AM, Alexey Kardashevskiy wrote: This is about VFIO aka PCI passthrough used from QEMU. KVM is irrelevant here. QEMU is a machine emulator. It allocates guest RAM from anonymous memory and these pages are movable which is ok. They may happen to be allocated from the

Re: [PATCH v7 4/5] clk: Provide critical clock support

2015-08-17 Thread Lee Jones
On Mon, 17 Aug 2015, Barry Song wrote: > 2015-07-22 21:04 GMT+08:00 Lee Jones : > > Lots of platforms contain clocks which if turned off would prove fatal. > > The only way to recover from these catastrophic failures is to restart > > the board(s). Now, when a clock provider is registered with

Re: [PATCH v3] MIPS: Remove all the uses of custom gpio.h

2015-08-17 Thread Alexandre Courbot
On Tue, Aug 4, 2015 at 5:50 PM, Alban Bedel wrote: > Currently CONFIG_ARCH_HAVE_CUSTOM_GPIO_H is defined for all MIPS > machines, and each machine type provides its own gpio.h. However > only a handful really implement the GPIO API, most just forward > everythings to gpiolib. > > The Alchemy

Re: [PATCH V2] perf: x86: Improve accuracy of perf/sched clock

2015-08-17 Thread Adrian Hunter
On 29/07/15 00:14, Adrian Hunter wrote: > When TSC is stable perf/sched clock is based on it. > However the conversion from cycles to nanoseconds > is not as accurate as it could be. Because > CYC2NS_SCALE_FACTOR is 10, the accuracy is +/- 1/2048 > > The change is to calculate the maximum shift

Re: [rtc-linux] RE: [PATCH v2] rtc/ds3232: fix ds3232 get a WARNING trace in resume function

2015-08-17 Thread Krzysztof Kozlowski
2015-08-17 16:10 GMT+09:00 Wang Dongsheng : > Hi Alexandre, > > Could you apply this patch? Give some time before pinging. > > Regards, > -Dongsheng > >> -Original Message- >> From: Dongsheng Wang [mailto:dongsheng.w...@freescale.com] >> Sent: Wednesday, August 12, 2015 5:14 PM >> To:

Re: [PATCH] ASoC: davinci-vcif: Use devm_snd_soc_register_component

2015-08-17 Thread Peter Ujfalusi
On 08/15/2015 05:31 AM, Vaishali Thakkar wrote: > Use resource managed function devm_snd_soc_register_component for > component registration instead of snd_soc_register_component. > > Also, remove davinci_vcif_remove as it is now redundant. Acked-by: Peter Ujfalusi > Signed-off-by: Vaishali

Re: [PATCH] Input: psmouse - add small delay for IBM trackpoint pass-through mode

2015-08-17 Thread Stefan Assmann
On 16.08.2015 17:33, Andreas Mohr wrote: > Hi, > > [rogue out-of-band reply, sorry - lkml.org mail info is broken] Hi Andreas, > >> There are trackpoint devices that fail to respond to the PS2 command >> PSMOUSE_CMD_GETID if immediately queried after the parent device is >> deactivated. Add a

Re: [BUG/RFC] perf test fails on AMD CPUs

2015-08-17 Thread Jiri Olsa
On Mon, Aug 17, 2015 at 06:36:03AM +0200, Borislav Petkov wrote: > On Mon, Aug 17, 2015 at 12:29:56AM +0200, Jiri Olsa wrote: > > hi, > > 'perf test 18' is failing on systems with AMD processor. > > Hmm, still using that b0rked test box? :-) heh, nope.. have seen this on at least 2 boxes so far

dom0 panic with Upstream Linux 4.1 tree

2015-08-17 Thread Zhenzhong Duan
Hi Maintainers I found below panic when bootup OVM3.3.3 on HP PROLIANT DL980 G7 with dom0_mem=max:128G, not reproduce with dom0_mem=max:127G. Dom0 kernel is uek4 4.1.5-5.el6uek which is based on Upstream Linux 4.1 tree. This looks like an upstream issue. Appereciate any patch/fix. Thanks

Re: [PATCH v2] Input: drivers/joystick: use parallel port device model

2015-08-17 Thread Sudip Mukherjee
On Fri, Aug 14, 2015 at 09:05:55AM +0200, Pali Rohár wrote: > On Friday 14 August 2015 12:25:42 Sudip Mukherjee wrote: > > On Thu, Aug 13, 2015 at 09:26:02AM -0700, Dmitry Torokhov wrote: > > > On Thu, Aug 13, 2015 at 07:16:14PM +0530, Sudip Mukherjee wrote: > > > > Pali Rohár has the hardware and

Re: [PATCH] net/wireless: enable wiphy device to suspend/resume asynchronously

2015-08-17 Thread Johannes Berg
On Mon, 2015-08-17 at 09:48 +0800, Fu, Zhonghui wrote: > > The suspend/resume timing of wiphy device and related devices will be > ensured by their parent/child relationship. So, enabling wiphy device > to suspend/resume asynchronously does not change any dependency. It > can only take

Re: [PATCH 16/20] iio: bmc150: Fix irq checks

2015-08-17 Thread Markus Pargmann
On Sat, Aug 15, 2015 at 02:13:14PM +0100, Jonathan Cameron wrote: > On 12/08/15 11:12, Markus Pargmann wrote: > > Valid irqs are > 0. This patch fixes the check which fails for the new > > spi driver part if no interrupt was given. > > > > Signed-off-by: Markus Pargmann > This one crossed with

[PATCH 1/4] serial: xuartps: Fix termios issue for enabling odd parity

2015-08-17 Thread Michal Simek
From: Anirudha Sarangi Existing set_termios does not handle the option for enabling odd parity. This patch fixes it. Signed-off-by: Anirudha Sarangi Signed-off-by: Michal Simek --- drivers/tty/serial/xilinx_uartps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 3/4] serial: xuartps: Do not enable parity error interrupt

2015-08-17 Thread Michal Simek
From: Anirudha Sarangi The patch makes changes not to enable parity error interrupt. With the current implementation, each parity error results in two distinct interrupts (almost always). The first one is normal parity error interrupt with no data in the fifo and the second one is a proper Rx

[PATCH 2/4] serial: xuartps: Do not handle overrun errors under IGNPAR option

2015-08-17 Thread Michal Simek
From: Anirudha Sarangi The existing implementation includes overrun errors under IGNPAR option. This patch fixes it by including only parity and framing error under IGNPAR option. Signed-off-by: Anirudha Sarangi Signed-off-by: Michal Simek --- drivers/tty/serial/xilinx_uartps.c | 2 +- 1

[PATCH 4/4] serial: xuartps: Rewrite the interrupt handling logic

2015-08-17 Thread Michal Simek
From: Anirudha Sarangi The existing interrupt handling logic has followins issues. - Upon a parity error with default configuration, the control never comes out of the ISR thereby hanging Linux. - The error handling logic around framing and parity error are buggy. There are chances that the

RE: [PATCH v2] dmaengine: fsl-edma: add PM suspend/resume support

2015-08-17 Thread Yao Yuan
Hi Nigel, On Mon, Aug 17, 2015 at 2:49 PM, Nigel Cunningham < ni...@nigelcunningham.com.au > wrote: > On 17/08/15 13:59, Yao Yuan wrote: > > On Sat, Aug 15, 2015 at 7:48 AM, pku.leo < pku@gmail.com > wrote: > >> On Fri, Aug 14, 2015 at 1:24 AM, Yao Yuan wrote: > >>> Hi Leo, > >>> > >>>

Re: [PATCH 01/20] regmap: Add missing comments about struct regmap_bus

2015-08-17 Thread Markus Pargmann
On Wed, Aug 12, 2015 at 10:12:22PM +0200, Hartmut Knaack wrote: > Markus Pargmann schrieb am 12.08.2015 um 12:12: > > There are some fields of this struct undocumented or old. This patch > > updates the missing comments. > > > > Signed-off-by: Markus Pargmann > > --- > > include/linux/regmap.h

Re: [PATCH] ASoC: tegra: Convert to managed resources

2015-08-17 Thread Alexandre Courbot
On Thu, Aug 13, 2015 at 4:29 PM, Vaishali Thakkar wrote: > Use managed resource functions devm_clk_put and > devm_snd_soc_register_component to simplify error handling. > > To be compatible with the change various gotos are replaced > with direct returns, and unneeded labels are dropped. > >

Re: [PATCH v2 00/10] pwm: add support for atomic update

2015-08-17 Thread Boris Brezillon
On Sat, 25 Jul 2015 08:36:57 +0200 Boris Brezillon wrote: > Hi Thierry, > > Should I resend a new version rebased on Mark's pwm topic branch or > would you like to review this one first ? Ping. > > Best Regards, > > Boris > > On Mon, 20 Jul 2015 17:31:57 +0200 > Boris Brezillon wrote: >

[PATCH 3/5] dma-mapping: cosolidate dma_mapping_error

2015-08-17 Thread Christoph Hellwig
Currently there are three valid implementations of dma_mapping_error: (1) call ->mapping_error (2) check for a hardcoded error code (3) always return 0 This patch provides a common implementation that calls ->mapping_error if present, then checks for DMA_ERROR_CODE if defined or otherwise

[PATCH 4/5] dma-mapping: consolidate dma_supported

2015-08-17 Thread Christoph Hellwig
Most architectures just call into ->dma_supported, but some also return 1 if the method is not present, or 0 if no dma ops are present (although that should never happeb). Consolidate this more broad version into common code. Also fix h8300 which inorrectly always returned 0, which would have

[PATCH 5/5] dma-mapping: consolidate dma_set_mask

2015-08-17 Thread Christoph Hellwig
Almost everyone implements dma_set_mask the same way, although some time that's hidden in ->set_dma_mask methods. This patch consolidates those into a common implementation that either calls ->set_dma_mask if present or otherwise uses the default implementation. Some architectures used to only

provide more common DMA API functions V2

2015-08-17 Thread Christoph Hellwig
Since 2009 we have a nice asm-generic header implementing lots of DMA API functions for architectures using struct dma_map_ops, but unfortunately it's still missing a lot of APIs that all architectures still have to duplicate. This series consolidates the remaining functions, although we still

[PATCH 1/5] dma-mapping: consolidate dma_{alloc,free}_{attrs,coherent}

2015-08-17 Thread Christoph Hellwig
The coherent DMA allocator works the same over all architectures supporting dma_map operations. This patch consolidates them and converges the minor differences: - the debug_dma helpers are now called from all architectures, including those that were previously missing them -

[PATCH 2/5] dma-mapping: consolidate dma_{alloc,free}_noncoherent

2015-08-17 Thread Christoph Hellwig
Most architectures do not support non-coherent allocations and either define dma_{alloc,free}_noncoherent to their coherent versions or stub them out. Openrisc uses dma_{alloc,free}_attrs to implement them, and only Mips implements them directly. This patch moves the Openrisc version to common

RE: [PATCH v2] rtc/ds3232: fix ds3232 get a WARNING trace in resume function

2015-08-17 Thread Wang Dongsheng
Hi Alexandre, Could you apply this patch? Regards, -Dongsheng > -Original Message- > From: Dongsheng Wang [mailto:dongsheng.w...@freescale.com] > Sent: Wednesday, August 12, 2015 5:14 PM > To: alexandre.bell...@free-electrons.com > Cc: a.zu...@towertech.it; rtc-li...@googlegroups.com;

Re: linux-next: build failure after merge of the drm-exynos tree

2015-08-17 Thread Inki Dae
Hi Stephen, On 2015년 08월 17일 14:53, Stephen Rothwell wrote: > Hi Inki, > > On Mon, 17 Aug 2015 13:53:42 +1000 Stephen Rothwell > wrote: >> >> On Mon, 17 Aug 2015 13:51:30 +1000 Stephen Rothwell >> wrote: >>> >>> After merging the drm-exynos tree, today's linux-next build (arm >>>

[PATCH] regulator: core: Use IS_ERR_OR_NULL()

2015-08-17 Thread Viresh Kumar
Use IS_ERR_OR_NULL() rather than open coding it. Signed-off-by: Viresh Kumar --- drivers/regulator/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c index 78387a6cbae5..55b49acfd9b3 100644 ---

Re: [PATCH] input: gpio_keys: Don't report events on gpio failure

2015-08-17 Thread Alexandre Courbot
On Thu, Aug 13, 2015 at 10:06 PM, Linus Walleij wrote: > On Tue, Aug 11, 2015 at 12:41 AM, Bjorn Andersson > wrote: > >> But then the question first goes to Linus & co. >> >> gpio_chip->get() can return a negative value to indicate errors (and did >> so in this case), all parts of the API seems

Re: [PATCH v2] dmaengine: fsl-edma: add PM suspend/resume support

2015-08-17 Thread Nigel Cunningham
Hi Yao. On 17/08/15 13:59, Yao Yuan wrote: > On Sat, Aug 15, 2015 at 7:48 AM, pku.leo < pku@gmail.com > wrote: >> On Fri, Aug 14, 2015 at 1:24 AM, Yao Yuan wrote: >>> Hi Leo, >>> >>> Thanks for your review. >>> About those two methods for DMA suspend that you have mentioned. We >> have a lot

Re: [PATCH] mmc: enable mmc host device to suspend/resume asynchronously

2015-08-17 Thread Adrian Hunter
On 17/08/15 06:36, Fu, Zhonghui wrote: > > Hi, > > Any comments are welcome. Same comments as here: http://marc.info/?l=linux-kernel=143979428424353=2 > > > Thanks, > Zhonghui > > On 2015/8/3 20:39, Fu, Zhonghui wrote: >> Enable mmc host device to suspend/resume asynchronously. >>

Re: [PATCH v2 08/16] x86/efi: Carrying hibernation key by setup data

2015-08-17 Thread Nigel Cunningham
Hi all. I've rejoined LKML, so I'll try to help with reviewing PM patches. I'd forgotten how much it is a case of sipping at a fire hydrant! Regards, Nigel On 17/08/15 07:23, Jiri Kosina wrote: > On Sat, 15 Aug 2015, Pavel Machek wrote: > >>> For forwarding hibernation key from EFI stub to

Re: [PATCH] mmc/sdhci-acpi: enable sdhci-acpi device to suspend/resume asynchronously

2015-08-17 Thread Adrian Hunter
On 17/08/15 06:38, Fu, Zhonghui wrote: > > Hi, > > Any comments are welcome. Same comments as here: http://marc.info/?l=linux-kernel=143979428424353=2 > > > Thanks, > Zhonghui > > On 2015/8/3 21:10, Fu, Zhonghui wrote: >> Enable sdhci-acpi device to suspend/resume asynchronously.

Re: [PATCH] MMC/SDIO: enable SDIO device to suspend/resume asynchronously

2015-08-17 Thread Adrian Hunter
On 17/08/15 06:26, Fu, Zhonghui wrote: > > Hi, > > Any comments are welcome. > > > Thanks, > Zhonghui > > On 2015/7/30 15:40, Fu, Zhonghui wrote: >> Enable SDIO card and function device to suspend/resume asynchronously. >> This can improve system suspend/resume speed. For me, it needs more

Re: [PATCH] mmc: block: disable the reliable write If the card does not support CMD23

2015-08-17 Thread Shawn Lin
On 2015/8/15 20:14, LIYONG wrote: Thanks Shawn. Please help to check the below in the mmc_blk_rw_rq_prep: if (do_rel_wr) mmc_apply_rel_rw(brq, card, req); I think we need to set the do_rel_wr to false( at the beginning of this function) if the card does not support the

Re: [PATCH v3 6/6] iio: bmg160: Add SPI driver

2015-08-17 Thread Markus Pargmann
Hi, On Sat, Aug 15, 2015 at 04:03:24PM +0100, Jonathan Cameron wrote: > On 12/08/15 16:19, Peter Meerwald wrote: > > On Wed, 12 Aug 2015, Markus Pargmann wrote: > > > >> Signed-off-by: Markus Pargmann > > > > the spelling of Bosch is inconsistent, sometimes it is BOSCH, I'd prefer > > the

Re: [PATCH v3 6/6] iio: bmg160: Add SPI driver

2015-08-17 Thread Markus Pargmann
On Wed, Aug 12, 2015 at 05:19:37PM +0200, Peter Meerwald wrote: > On Wed, 12 Aug 2015, Markus Pargmann wrote: > > > Signed-off-by: Markus Pargmann > > the spelling of Bosch is inconsistent, sometimes it is BOSCH, I'd prefer > the former Right, I can fix it in this patch, yes. > > please

[PATCH] of: fdt: mark unflattened tree as detached

2015-08-17 Thread Michal Suchanek
The tree returned from of_fdt_unflatten_tree cannot be attached to the live tree because it is not marked as detached so mark it as such. The dt resolver checks the flag and refuses to process the tree otherwise. Signed-off-by: Michal Suchanek --- drivers/of/fdt.c | 12 +--- 1 file

Re: [RFT PATCH] arm: omap1_defconfig: convert to use libata PATA drivers

2015-08-17 Thread Tony Lindgren
* Bartlomiej Zolnierkiewicz [150814 10:10]: > IDE subsystem has been deprecated since 2009 and the majority > (if not all) of Linux distributions have switched to use > libata for ATA support exclusively. However there are still > some users (mostly old or/and embedded non-x86 systems) that >

Re: [RFC PATCH v5 1/9] mmc: dw_mmc: Add external dma interface support

2015-08-17 Thread Shawn Lin
在 2015/8/17 5:10, Doug Anderson 写道: Heiko, On Fri, Aug 14, 2015 at 3:13 PM, Heiko Stübner wrote: Hi Shawn, Am Freitag, 14. August 2015, 16:34:35 schrieb Shawn Lin: DesignWare MMC Controller can supports two types of DMA mode: external dma and internal dma. We get a RK312x platform

Re: [RFC PATCH] driver: base: memory: Maintain correct mem->end_section_nr when memory block is partially filled

2015-08-17 Thread Bharata B Rao
On Fri, Aug 14, 2015 at 10:27:53AM -0500, Nathan Fontenot wrote: > On 08/13/2015 04:17 AM, Bharata B Rao wrote: > > Last section of memory block is always initialized to > > > > mem->start_section_nr + sections_per_block - 1 > > > > which will not be true for a section that doesn't contain

[PATCH 01/10] nbd: Fix timeout detection

2015-08-17 Thread Markus Pargmann
At the moment the nbd timeout just detects hanging tcp operations. This is not enough to detect a hanging or bad connection as expected of a timeout. This patch redesigns the timeout detection to include some more cases. The timeout is now in relation to replies from the server. If the server

[PATCH 05/10] nbd: Move clear queue debug message

2015-08-17 Thread Markus Pargmann
This message was a warning without a reason. This patch moves it into nbd_clear_que and transforms it to a debug message. Signed-off-by: Markus Pargmann --- drivers/block/nbd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c index

[PATCH 07/10] nbd: Add debugfs entries

2015-08-17 Thread Markus Pargmann
Add some debugfs files that help to understand the internal state of NBD. This exports the different sizes, flags, tasks and so on. Signed-off-by: Markus Pargmann --- drivers/block/nbd.c | 178 +++- 1 file changed, 177 insertions(+), 1 deletion(-)

[PATCH 03/10] nbd: restructure sock_shutdown

2015-08-17 Thread Markus Pargmann
This patch restructures sock_shutdown to avoid having the main code path in an if block. Signed-off-by: Markus Pargmann Acked-by: Pavel Machek --- drivers/block/nbd.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c

[PATCH 06/10] nbd: Remove variable 'pid'

2015-08-17 Thread Markus Pargmann
This patch uses nbd->task_recv to determine the value of the previously used variable 'pid' for sysfs. Signed-off-by: Markus Pargmann --- drivers/block/nbd.c | 19 +-- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c index

[PATCH 08/10] nbd: Change 'disconnect' to be boolean

2015-08-17 Thread Markus Pargmann
Signed-off-by: Markus Pargmann Acked-by: Pavel Machek --- drivers/block/nbd.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c index 188fe0d2b1ac..44160a9e493e 100644 --- a/drivers/block/nbd.c +++ b/drivers/block/nbd.c @@

[PATCH 02/10] nbd: sock_shutdown, remove conditional lock

2015-08-17 Thread Markus Pargmann
Move the conditional lock from sock_shutdown into the surrounding code. Signed-off-by: Markus Pargmann Acked-by: Pavel Machek --- drivers/block/nbd.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c index

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