Re: Dead Kconfig Option OMAP4_ERRATA_I688

2015-02-25 Thread Tony Lindgren
Hi, Adding Santosh to Cc on this one. * Stefan Hengelein stefan.hengel...@fau.de [150225 09:13]: During the research for my masters thesis i came across the OMAP4_ERRATA_I688 option and realized, it is never possible to enable this option. The a62a6e98 commit added the !ARCH_MULTIPLATFORM

Re: [PATCH 13/13] x86/microcode/intel: Fix printing of microcode blobs in show_saved_mc()

2015-02-25 Thread Borislav Petkov
On Wed, Feb 25, 2015 at 10:41:25AM +0100, Quentin Casasnovas wrote: Yup that's how I understood your patchset :) If I may though, I think the issue I raised on your patch 8 is serious enough to get a fix before you merge this patchset - it should just be a matter of adding some parentheses at

Re: [PATCH v3 0/3] epoll: introduce round robin wakeup mode

2015-02-25 Thread Jason Baron
On 02/25/2015 02:38 AM, Ingo Molnar wrote: * Jason Baron jba...@akamai.com wrote: Hi, When we are sharing a wakeup source among multiple epoll fds, we end up with thundering herd wakeups, since there is currently no way to add to the wakeup source exclusively. This series introduces a

Re: [PATCH v4 4/4] phy: add phy-hi6220-usb

2015-02-25 Thread Felipe Balbi
On Wed, Feb 25, 2015 at 09:28:36PM +0800, zhangfei wrote: +static void hi6220_detect_work(struct work_struct *work) +{ + struct hi6220_priv *priv = + container_of(work, struct hi6220_priv, work.work); + int gpio_id, gpio_vbus; + enum usb_otg_state state; + + if

Re: [PATCH 0/2] powerpc/kvm: Enable running guests on RT Linux

2015-02-25 Thread Sebastian Andrzej Siewior
* Scott Wood | 2015-02-23 17:27:31 [-0600]: This isn't a host PIC driver. It's guest PIC emulation, some of which is indeed not suitable for a rawlock (in particular, openpic_update_irq which loops on the number of vcpus, with a loop body that calls IRQ_check() which loops over all pending

[PATCH 2/2] cpusets,isolcpus: add file to show isolated cpus in cpuset

2015-02-25 Thread riel
From: Rik van Riel r...@redhat.com The previous patch makes it so the code skips over isolcpus when building scheduler load balancing domains. This makes it hard to see for a user which of the CPUs in a cpuset are participating in load balancing, and which ones are isolated cpus. Add a

[PATCH 1/2] cpusets,isolcpus: exclude isolcpus from load balancing in cpusets

2015-02-25 Thread riel
From: Rik van Riel r...@redhat.com Ensure that cpus specified with the isolcpus= boot commandline option stay outside of the load balancing in the kernel scheduler. Operations like load balancing can introduce unwanted latencies, which is exactly what the isolcpus= commandline is there to

[PATCH -v2 0/2] cpusets,isolcpus: resolve conflict between cpusets and isolcpus

2015-02-25 Thread riel
-v2 addresses the conflict David Rientjes spotted between my previous patches and commit e8e6d97c9b (cpuset: use %*pb[l] to print bitmaps including cpumasks and nodemasks) Ensure that cpus specified with the isolcpus= boot commandline option stay outside of the load balancing in the kernel

[PATCH] ARM: dts: warp: Add initial WaRP Board support

2015-02-25 Thread Otavio Salvador
The WaRP Board is a Wearable Reference Plaform. The board features: - Freescale i.MX6 SoloLite processor with 512MB of RAM - Freescale FXOS8700CQ 6-axis Xtrinsic sensor - Freescale Kinetis KL16 MCU - Freescale Xtrinsic MMA955xL intelligent motion sensing platform The board implements a

[PATCH] ARM: dts: am335x-boneblack: enable aes and sham

2015-02-25 Thread Matt Porter
Beaglebone Black doesn't have AES and SHAM enabled like the original Beaglebone White dts. This breaks applications that leverage the crypto blocks so fix this by enabling these nodes. Signed-off-by: Matt Porter mpor...@konsulko.com --- arch/arm/boot/dts/am335x-boneblack.dts | 8 1 file

[PATCH] drm: atmel-hlcdc: remove clock polarity from crtc driver

2015-02-25 Thread Nicolas Ferre
Remove this configuration bit in crtc driver as the rising edge clock is widely used. Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c | 2 +- 1 file changed, 1 insertion(+),

Re: [PATCH 5/8 v2] ARM OMAP2+ GPMC: change get_gpmc_timing_reg output for DTS

2015-02-25 Thread Robert Abel
Hi Tony, On 25 Feb 2015 16:23, Tony Lindgren wrote: * Roger Quadros rog...@ti.com [150225 05:28]: On 24/02/15 22:05, Robert ABEL wrote: DTS output was formatted to require additional work when copy-pasting into DTS. Nano-second timings were removed, because they were not a confidence interval

[PATCH v2 2/2] HID: wacom: add full support of the Wacom Bamboo PAD

2015-02-25 Thread Benjamin Tissoires
The stylus of this device works just fine out of the box. The touch is seen by default as a mouse with relative events and some gestures. The wireless and the wired version have slightly different firmwares, but the debug mode 2 on the feature 2 is common to the 2 devices. In this mode, all the

Re: [PATCH 2/3 v3] x86: entry_64.S: always allocate complete struct pt_regs

2015-02-25 Thread Denys Vlasenko
On 02/25/2015 01:37 PM, Andrey Wagin wrote: Hello Denys, My test vm doesn't boot with this patch. Could you help to investigate this issue? I have attached a kernel config and console log. [2.508252] traps: systemd-cgroups[380] general protection ip:7f68ad096028 sp:7fffba298af8

Re: [PATCH 8/8 v2] ARM OMAP2+ GPMC: fix WAITMONITORINGTIME divider bug

2015-02-25 Thread Roger Quadros
Robert, On 24/02/15 22:05, Robert ABEL wrote: The WAITMONITORINGTIME is expressed as a number of GPMC_CLK clock cycles, even though the access is defined as asynchronous, and no GPMC_CLK clock is provided to the external device. Still, GPMCFCLKDIVIDER is used as a divider for the GPMC

Re: [RFC PATCH] arm: asm/cmpxchg.h: Add support half-word xchg()

2015-02-25 Thread Arnd Bergmann
On Wednesday 25 February 2015 11:11:28 Pranith Kumar wrote: On Wed, Feb 25, 2015 at 10:58 AM, Arnd Bergmann a...@arndb.de wrote: On Wednesday 25 February 2015 10:36:20 Pranith Kumar wrote: This patch adds support for a half-word xchg() for ARM using ldrexh/strexh instructions. It also fixes

Re: [PATCH v2 2/2] ARM: perf: Add support for Scorpion PMUs

2015-02-25 Thread Ashwin Chaugule
On 24 February 2015 at 12:23, Ashwin Chaugule ashwin.chaug...@linaro.org wrote: On 20 February 2015 at 15:16, Stephen Boyd sb...@codeaurora.org wrote: On 02/20, Will Deacon wrote: On Fri, Feb 13, 2015 at 06:24:09PM +, Stephen Boyd wrote: +static void scorpion_evt_setup(int idx, u32

Re: [PATCH] coresight-stm: adding driver for CoreSight STM component

2015-02-25 Thread Mathieu Poirier
On 5 February 2015 at 04:27, Paul Bolle pebo...@tiscali.nl wrote: On Wed, 2015-02-04 at 15:22 -0700, mathieu.poir...@linaro.org wrote: From: Pratik Patel prat...@codeaurora.org This driver adds support for the STM CoreSight IP block, allowing any system compoment (HW or SW) to log and

Some results (was: Re: [RFC PATCH] x86, fpu: Use eagerfpu by default on all CPUs)

2015-02-25 Thread Borislav Petkov
On Fri, Feb 20, 2015 at 10:58:15AM -0800, Andy Lutomirski wrote: - /* Auto enable eagerfpu for xsaveopt */ - if (cpu_has_xsaveopt eagerfpu != DISABLE) + /* Auto enable eagerfpu for everyone */ + if (eagerfpu != DISABLE) eagerfpu = ENABLE; So Mel did run some

Re: [PATCH] coresight-stm: adding driver for CoreSight STM component

2015-02-25 Thread Russell King - ARM Linux
On Thu, Feb 05, 2015 at 12:27:31PM +0100, Paul Bolle wrote: I'm _guessing_ that CPU_32v4 and CPU_32v4T are needed for the ldrd and strd assembler instructions. If that's right a next _guess_ would be that you also need to mention CPU_32v3 here. No. Double word instructions are available in

Re: [PATCH v5 0/6] hwmon: thermal: Odroid U3: Provide support for Odroid U3 fan

2015-02-25 Thread Guenter Roeck
On Wed, Feb 25, 2015 at 04:34:16PM +0100, Lukasz Majewski wrote: Presented patches add support for Odroid's U3 optional CPU FAN, which uses PWM subsystem for low level control. After successful probe it registers itself as a cooling device for thermal subsystem. This driver also supports

Re: [PATCH 8/8 v2] ARM OMAP2+ GPMC: fix WAITMONITORINGTIME divider bug

2015-02-25 Thread Robert Abel
Hi Roger, On 25 Feb 2015 18:17, Roger Quadros wrote: How will the user know by looking at the kernel log that it was really an error? We don't fail probe if set_gpmc_timing_reg() fails so I feel it is necessary to clearly show an Error message. You can probably reword it like %s: Error!! GPMC

Re: [RFC PATCH] arm: asm/cmpxchg.h: Add support half-word xchg()

2015-02-25 Thread Pranith Kumar
On Wed, Feb 25, 2015 at 12:02 PM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: Unfortunately, the BUG message seems incomplete, can you reproduce this with CONFIG_DEBUG_BUGVERBOSE enabled? That isn't because CONFIG_DEBUG_BUGVERBOSE isn't set. It's because the message author decided

Re: [PATCH 7/8 v2] ARM OMAP2+ GPMC: calculate GPMCFCLKDIVIDER based on WAITMONITORINGTIME

2015-02-25 Thread Robert Abel
On 25 Feb 2015 18:20, Roger Quadros wrote: Need to patch mach-omap2/usb-tusb6010.c as well. else we get arch/arm/mach-omap2/usb-tusb6010.c: In function ‘tusb_set_async_mode’: arch/arm/mach-omap2/usb-tusb6010.c:74:2: error: too few arguments to function ‘gpmc_cs_set_timings’ In file included

Re: [PATCH 3/8 v2] ARM OMAP2+ GPMC: add bus children

2015-02-25 Thread Robert Abel
Hi Roger, On 25 Feb 2015 17:18, Roger Quadros wrote: OK. Would be interesting to see how unconditional call to of_platform_decide_create() behaves for your case. I'm not able to test today, so results will be in tomorrow. If that doesn't work, I'll just resubmit my first patch with the

Re: [PATCH 3/8 v2] ARM OMAP2+ GPMC: add bus children

2015-02-25 Thread Roger Quadros
On 25/02/15 18:23, Robert Abel wrote: Hi Roger, On 25 Feb 2015 17:18, Roger Quadros wrote: OK. Would be interesting to see how unconditional call to of_platform_decide_create() behaves for your case. I'm not able to test today, so results will be in tomorrow. If that doesn't work, I'll

Re: [PATCH 7/8 v2] ARM OMAP2+ GPMC: calculate GPMCFCLKDIVIDER based on WAITMONITORINGTIME

2015-02-25 Thread Roger Quadros
On 24/02/15 22:05, Robert ABEL wrote: The WAITMONITORINGTIME is expressed as a number of GPMC_CLK clock cycles, even though the access is defined as asynchronous, and no GPMC_CLK clock is provided to the external device. Still, GPMCFCLKDIVIDER is used as a divider for the GPMC clock, so it

[PATCH v2 0/2] HID: wacom: add support of Bamboo PAD

2015-02-25 Thread Benjamin Tissoires
So here is the v2 of the patch set to support the Bamboo PAD. It has been tested by Josep (thanks!) on the wired version and I developped it on the wireless version. I guess it should be good to go if the reviews goes well. Cheers, Benjamin Benjamin Tissoires (2): HID: wacom: store the

Re: [PATCH 3.14 00/17] 3.14.34-stable review

2015-02-25 Thread Guenter Roeck
On Tue, Feb 24, 2015 at 06:10:02PM -0800, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.14.34 release. There are 17 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know.

Re: [PATCH 1/2] Drivers: hv: hv_balloon: report offline pages as being used

2015-02-25 Thread Vitaly Kuznetsov
KY Srinivasan k...@microsoft.com writes: -Original Message- From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] Sent: Thursday, February 19, 2015 8:27 AM To: KY Srinivasan; de...@linuxdriverproject.org Cc: Haiyang Zhang; linux-kernel@vger.kernel.org; Dexuan Cui Subject: [PATCH 1/2]

Re: [PATCH net-next v4 0/3] Linn Ethernet Packet Sniffer driver

2015-02-25 Thread Richard Cochran
On Wed, Feb 25, 2015 at 04:19:45PM +0100, Richard Cochran wrote: Let me suggest another approach that stays in line with the existing frame work. Based on the device's limitations and your own example, it seems clear that the intended use case is synchronization for AVB applications using

Re: [PATCH 8/8 v2] ARM OMAP2+ GPMC: fix WAITMONITORINGTIME divider bug

2015-02-25 Thread Robert Abel
Hi Roger, On 25 Feb 2015 17:58, Roger Quadros wrote: static unsigned int gpmc_ticks_to_ps(unsigned int ticks) @@ -346,16 +395,22 @@ static void gpmc_cs_bool_timings(int cs, const struct gpmc_bool_timings *p) * @st_bit Start Bit * @end_bit End Bit. Must be = @st_bit. * @nameDTS

Re: [PATCH 7/8 v2] ARM OMAP2+ GPMC: calculate GPMCFCLKDIVIDER based on WAITMONITORINGTIME

2015-02-25 Thread Roger Quadros
Robert, On 25/02/15 18:33, Roger Quadros wrote: On 24/02/15 22:05, Robert ABEL wrote: The WAITMONITORINGTIME is expressed as a number of GPMC_CLK clock cycles, even though the access is defined as asynchronous, and no GPMC_CLK clock is provided to the external device. Still, GPMCFCLKDIVIDER

Re: [PATCH 7/8 v2] ARM OMAP2+ GPMC: calculate GPMCFCLKDIVIDER based on WAITMONITORINGTIME

2015-02-25 Thread Robert Abel
Hi Roger, On 25 Feb 2015 17:33, Roger Quadros wrote: ./scripts/checkpatch.pl detects some styling errors. Well, there's like a million lines over 80 characters. I'm also a heathen and don't use an 80 character terminal either. I'll fix the more serious issues checkpatch finds, but some styling

Re: [PATCH V6 00/12] Tegra xHCI support

2015-02-25 Thread Andrew Bresticker
Hi Thierry, Sorry for taking so awfully long to look at this. I've spent some time looking at various pieces of documentation and I concluded that representing the port assignment as muxing options doesn't seem right after all. Instead I've come up with an alternate proposal (attached).

build warning on v4.0-rc1

2015-02-25 Thread Felipe Balbi
Hi Al, commit 3b994d98a815d934ab6a77a380882865982c14f9 (get rid of the second argument of acct_kill()) added a new build warning when building kernel/acct.c. Warning can be seen below. Revert of that commit is non-trivial, so I haven't tried to check if reverting it fixes the warning. One one to

Re: [PATCH 3.18 00/20] 3.18.8-stable review

2015-02-25 Thread Greg Kroah-Hartman
On Wed, Feb 25, 2015 at 08:46:29AM -0800, Guenter Roeck wrote: On Tue, Feb 24, 2015 at 06:10:15PM -0800, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.18.8 release. There are 20 patches in this series, all will be posted as a response to this one. If

[PATCH 4/4] net/core/dev.c : Race condition in net_tx_action.

2015-02-25 Thread Ameen Ali
Transmitting asynchronously on all the network devices available we will notice the following behaviour: a) The instruction if (sd-completion_queue) { saves on a CPU register the pointer value (register contents is used for the comparison) b) The interupt is disabled (using local_irq_disable)

Re: [PATCH v3 3/3] tomoyo: reduce mmap_sem hold for mm-exe_file

2015-02-25 Thread Davidlohr Bueso
On Wed, 2015-02-25 at 20:40 +0900, Tetsuo Handa wrote: Davidlohr Bueso wrote: The mm-exe_file is currently serialized with mmap_sem (shared) in order to both safely (1) read the file and (2) compute the realpath by calling tomoyo_realpath_from_path, making it an absolute overkill. Good

[PATCH 3/3] Hal8188ERateAdaptive.c : Expression is always false because 'else if' condition matches previous condition at line 404.

2015-02-25 Thread Ameen Ali
else if at line 406 has the same condition as the else if at line 404. i chosed 0x5 because it's half 0xb (just a rate controller) Signed-off-by : Ameen Ali ameenali...@gmail.com --- drivers/staging/rtl8188eu/hal/Hal8188ERateAdaptive.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [PATCH v2 00/18] Add support to STMicroelectronics STM32 family

2015-02-25 Thread David Howells
Maxime Coquelin mcoquelin.st...@gmail.com wrote: Is support for this in upstream binutils and gcc? What's the preferred target tuple? I'll add support to Fedora's cross-binutils and cross-gcc sets if I can. I just rebuilt using latest upstream binutils and gcc. To compile Kernel and

Re: [PATCH 3.10 00/16] 3.10.70-stable review

2015-02-25 Thread Guenter Roeck
On Tue, Feb 24, 2015 at 06:09:52PM -0800, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.10.70 release. There are 16 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know.

Re: [RFC v2 0/5] introduce gcma

2015-02-25 Thread SeongJae Park
On Wed, 25 Feb 2015, Michal Hocko wrote: On Wed 25-02-15 14:31:08, SeongJae Park wrote: Hello Michal, Thanks for your comment :) On Tue, 24 Feb 2015, Michal Hocko wrote: On Tue 24-02-15 04:54:18, SeongJae Park wrote: [...] include/linux/cma.h |4 + include/linux/gcma.h | 64 +++

Re: [PATCH v2] ARM: Don't use complete() during __cpu_die

2015-02-25 Thread Nicolas Pitre
On Wed, 25 Feb 2015, Russell King - ARM Linux wrote: On Thu, Feb 05, 2015 at 04:11:00PM +, Russell King - ARM Linux wrote: On Thu, Feb 05, 2015 at 06:29:18AM -0800, Paul E. McKenney wrote: Works for me, assuming no hidden uses of RCU in the IPI code. ;-) Sigh... I kind'a new it

Re: [PATCH] perf, tools, record: Support recording running/enabled time

2015-02-25 Thread David Ahern
On 2/24/15 4:13 PM, Andi Kleen wrote: --- a/tools/perf/Documentation/perf-record.txt +++ b/tools/perf/Documentation/perf-record.txt @@ -241,6 +241,9 @@ Capture machine state (registers) at interrupt, i.e., on counter overflows for each sample. List of captured registers depends on the

Re: [PATCH] ARM: dts: warp: Add initial WaRP Board support

2015-02-25 Thread Fabio Estevam
On Wed, Feb 25, 2015 at 2:02 PM, Otavio Salvador ota...@ossystems.com.br wrote: The WaRP Board is a Wearable Reference Plaform. The board features: - Freescale i.MX6 SoloLite processor with 512MB of RAM - Freescale FXOS8700CQ 6-axis Xtrinsic sensor - Freescale Kinetis KL16 MCU -

Re: [PATCH 8/8 v2] ARM OMAP2+ GPMC: fix WAITMONITORINGTIME divider bug

2015-02-25 Thread Roger Quadros
On 25/02/15 19:22, Robert Abel wrote: Hi Roger, On 25 Feb 2015 18:17, Roger Quadros wrote: How will the user know by looking at the kernel log that it was really an error? We don't fail probe if set_gpmc_timing_reg() fails so I feel it is necessary to clearly show an Error message.

Re: [RFC PATCH] arm: asm/cmpxchg.h: Add support half-word xchg()

2015-02-25 Thread Pranith Kumar
On Wed, Feb 25, 2015 at 11:21 AM, Arnd Bergmann a...@arndb.de wrote: More information: [ 45.833303] xchg: bad data size: pc 0xbe806020, ptr 0xeb18deee, size 2 [ 45.833324] [ cut here ] [ 45.837939] kernel BUG at

Re: [PATCH] doc:input : Fix typo in Documentations/input

2015-02-25 Thread Randy Dunlap
On 02/25/15 03:30, Masanari Iida wrote: This patch fix spelling typos in Documentations/input. Signed-off-by: Masanari Iida standby2...@gmail.com Acked-by: Randy Dunlap rdun...@infradead.org Thanks. --- Documentation/input/alps.txt| 4 ++--

[PATCH] locking/rtmutex: drop usage of __HAVE_ARCH_CMPXCHG

2015-02-25 Thread Sebastian Andrzej Siewior
The rtmutex code is the only user of __HAVE_ARCH_CMPXCHG and we have a few other user of cmpxchg() which do not care about __HAVE_ARCH_CMPXCHG. This define was first introduced in 23f78d4a0 ([PATCH] pi-futex: rt mutex core) which is v2.6.18. The generic cmpxchg was introduced later in 068fbad288

Re: [RFC][PATCH v2] sched/rt: Use IPI to trigger RT task push migration instead of pulling

2015-02-25 Thread Steven Rostedt
On Wed, 25 Feb 2015 18:11:10 +0100 Peter Zijlstra pet...@infradead.org wrote: Actually, this is a speed up, but if exiting a irq handler is also a full barrier, then it is not needed. Barrieres are _NEVER_ about speedups, they're either required or not. speed up was a wrong word.

Re: [PATCH Resend] cpufreq: Set cpufreq_cpu_data to NULL before putting kobject

2015-02-25 Thread santosh shilimkar
On 2/24/2015 9:47 PM, Ethan Zhao wrote: Viresh, Will do that when I get the test box. Thanks Ethan. On Wed, Feb 25, 2015 at 12:35 PM, viresh kumar viresh.ku...@linaro.org wrote: On Wednesday 25 February 2015 08:54 AM, Ethan Zhao wrote: Viresh, With this patch applied, still got

Re: [PATCH v6 1/5] mfd: max77843: Add max77843 MFD driver core driver

2015-02-25 Thread Lee Jones
On Tue, 24 Feb 2015, Jaewon Kim wrote: This patch adds MAX77843 core/irq driver to support PMIC, MUIC(Micro USB Interface Controller), Charger, Fuel Gauge, LED and Haptic device. Cc: Lee Jones lee.jo...@linaro.org Signed-off-by: Jaewon Kim jaewon02@samsung.com Signed-off-by: Beomho

Re: [PATCH 3.18 00/20] 3.18.8-stable review

2015-02-25 Thread Guenter Roeck
On Tue, Feb 24, 2015 at 06:10:15PM -0800, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.18.8 release. There are 20 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know.

Re: [PATCH v2] ARM: Don't use complete() during __cpu_die

2015-02-25 Thread Russell King - ARM Linux
On Wed, Feb 25, 2015 at 11:47:48AM -0500, Nicolas Pitre wrote: I completely agree with the r/w spinlock. Something like this ought to be sufficient to make gic_raise_softirq() reentrant which is the issue here, right? I've been stress-testing it for a while with no problems so far. No.

Re: [RFC PATCH] arm: asm/cmpxchg.h: Add support half-word xchg()

2015-02-25 Thread Russell King - ARM Linux
On Wed, Feb 25, 2015 at 04:58:35PM +0100, Arnd Bergmann wrote: On Wednesday 25 February 2015 10:36:20 Pranith Kumar wrote: This patch adds support for a half-word xchg() for ARM using ldrexh/strexh instructions. It also fixes an asm comment for __cmpxchg2. Currently using a half-word

Re: [RFC][PATCH v2] sched/rt: Use IPI to trigger RT task push migration instead of pulling

2015-02-25 Thread Peter Zijlstra
On Wed, Feb 25, 2015 at 10:51:16AM -0500, Steven Rostedt wrote: +static void try_to_push_tasks(void *arg) +{ + struct rt_rq *rt_rq = arg; + struct rq *rq, *next_rq; + int next_cpu = -1; + int next_prio = MAX_PRIO + 1; + int this_prio; + int src_prio; + int prio; + int

Re: [PATCH 8/8 v2] ARM OMAP2+ GPMC: fix WAITMONITORINGTIME divider bug

2015-02-25 Thread Roger Quadros
Robert, On 25/02/15 19:07, Robert Abel wrote: Hi Roger, On 25 Feb 2015 17:58, Roger Quadros wrote: static unsigned int gpmc_ticks_to_ps(unsigned int ticks) @@ -346,16 +395,22 @@ static void gpmc_cs_bool_timings(int cs, const struct gpmc_bool_timings *p) * @st_bit Start Bit *

Re: [PATCH net-next v4 0/3] Linn Ethernet Packet Sniffer driver

2015-02-25 Thread Richard Cochran
On Wed, Feb 25, 2015 at 05:12:08PM +, Stathis Voukelatos wrote: Regarding this last point, the actual counter that generates the timestamps is not part of the sniffer H/W module. Timestamps are provided to the sniffer externally in H/W by a different module. Apart of that there is not eg.

Re: [RFC PATCH] arm: asm/cmpxchg.h: Add support half-word xchg()

2015-02-25 Thread Pranith Kumar
On Wed, Feb 25, 2015 at 12:14 PM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: Actually, I think we ought to get rid of __bad_xchg() so that cases like this cause a link error instead of a runtime error, just like we do in other cases as well. That's something that goes back ages

Re: Dead Kconfig Option OMAP4_ERRATA_I688

2015-02-25 Thread santosh shilimkar
On 2/25/2015 9:14 AM, Tony Lindgren wrote: Hi, Adding Santosh to Cc on this one. * Stefan Hengelein stefan.hengel...@fau.de [150225 09:13]: During the research for my masters thesis i came across the OMAP4_ERRATA_I688 option and realized, it is never possible to enable this option. The

Re: [RFC PATCH] arm: asm/cmpxchg.h: Add support half-word xchg()

2015-02-25 Thread Russell King - ARM Linux
On Wed, Feb 25, 2015 at 12:34:35PM -0500, Pranith Kumar wrote: On Wed, Feb 25, 2015 at 12:14 PM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: Actually, I think we ought to get rid of __bad_xchg() so that cases like this cause a link error instead of a runtime error, just like we

Re: [RFC][PATCH v2] sched/rt: Use IPI to trigger RT task push migration instead of pulling

2015-02-25 Thread Peter Zijlstra
On Wed, Feb 25, 2015 at 06:11:10PM +0100, Peter Zijlstra wrote: #define IPS_BUSY 0x01 #define IPS_LOOPED0x02 struct ipi_pull_struct { struct irq_work work; raw_spinlock_t lock; int flags; int dst_cpu;/* CPU that issued this search */ int

Re: [PATCH] locking/rtmutex: drop usage of __HAVE_ARCH_CMPXCHG

2015-02-25 Thread Sebastian Andrzej Siewior
* Sebastian Andrzej Siewior | 2015-02-25 18:56:13 [+0100]: To put some numbers on it: preempt -RT, am335x, 10 loops of 10 invocations of rt_spin_lock() + rt_spin_unlock() (time total is the average of the 10 loops for the 10 invocations, loop is total / 10 * 1000): This is the test

RE: [PATCH] comedi: Change error return code for if statement in the function,cb_pcimdas_ai_rinsn

2015-02-25 Thread Hartley Sweeten
On Tuesday, February 24, 2015 9:13 PM, Nicholas Krause wrote: This changes us using the incorrect error,-ETIMEOUT when checking if the channel we are allocating to on the device structure pointer passed to this function is greater then the maximum available channels for this device to the

Re: [PATCH v2] ARM: Don't use complete() during __cpu_die

2015-02-25 Thread Nicolas Pitre
On Wed, 25 Feb 2015, Russell King - ARM Linux wrote: On Wed, Feb 25, 2015 at 11:47:48AM -0500, Nicolas Pitre wrote: I completely agree with the r/w spinlock. Something like this ought to be sufficient to make gic_raise_softirq() reentrant which is the issue here, right? I've been

Re: 0001-media-vb2-Fill-vb2_buffer-with-bytesused-from-user.patch

2015-02-25 Thread Jean-Michel Hautbois
Hi Sudip, 2015-02-25 19:23 GMT+01:00 Jeremiah Mahler jmmah...@gmail.com: Sudip, On Wed, Feb 25, 2015 at 03:29:22PM +0800, Sudip JAIN wrote: Dear Maintainer, PFA attached patch that prevents user from being returned garbage bytesused value from vb2 framework. Regards, Sudip Jain

Re: [PATCH 2/3 v3] x86: entry_64.S: always allocate complete struct pt_regs

2015-02-25 Thread Andrey Wagin
2015-02-25 21:42 GMT+03:00 Denys Vlasenko dvlas...@redhat.com: On 02/25/2015 01:37 PM, Andrey Wagin wrote: 2015-02-13 0:54 GMT+03:00 Denys Vlasenko dvlas...@redhat.com: 64-bit code was using six stack slots less by not saving/restoring registers which are callee-preserved according to C ABI,

Re: [PATCH v2] ARM: Don't use complete() during __cpu_die

2015-02-25 Thread Nicolas Pitre
On Wed, 25 Feb 2015, Nicolas Pitre wrote: On Wed, 25 Feb 2015, Russell King - ARM Linux wrote: We could just use the spin-and-poll solution instead of an IPI, but I really don't like that - when you see the complexity needed to re-initialise it each time, it quickly becomes very yucky

Re: [PATCH] clk: fractional-divider: support for divider bypassing

2015-02-25 Thread Mike Turquette
Quoting Stephen Boyd (2015-02-02 11:42:55) On 02/02/15 05:37, Heikki Krogerus wrote: If the divider or multiplier values values are 0 in the s/values// register, bypassing the divider and returning the parent clock rate in clk_fd_recalc_rate(). Signed-off-by: Heikki Krogerus

Re: [PATCH 1/1] serial: 8250_dw: Fix get_mctrl behaviour

2015-02-25 Thread Jonathan Richardson
Hi Arnd, On 15-02-25 11:21 AM, Arnd Bergmann wrote: On Wednesday 25 February 2015 11:04:16 Jonathan Richardson wrote: +- msr-override : array of strings to be used to override the individual + modem status signals for DCD, DSR, CTS, and RI. If the property is not + present, the individual

Re: [RFC] New of_io_release_and_unmap()

2015-02-25 Thread Joshua Clayton
On Wed, Feb 25, 2015 at 11:23 AM, Arnd Bergmann a...@arndb.de wrote: On Wednesday 25 February 2015 11:20:41 Joshua Clayton wrote: Hello folks, I notice that io_request_and_map has no inverse. I would like to add a new function to undo what it does. What do you want to use this for? So far

Re: [PATCH] clk: qcom: fix platform_no_drv_owner.cocci warnings

2015-02-25 Thread Mike Turquette
Quoting Stephen Boyd (2015-01-28 12:51:05) On 01/27/15 23:11, kbuild test robot wrote: drivers/clk/qcom/lcc-msm8960.c:577:3-8: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Generated by:

Re: [PATCH] clk: qcom: fix platform_no_drv_owner.cocci warnings

2015-02-25 Thread Mike Turquette
Quoting Stephen Boyd (2015-01-28 12:49:32) On 01/27/15 23:00, kbuild test robot wrote: drivers/clk/qcom/lcc-ipq806x.c:465:3-8: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Generated by:

Re: [PATCH v7 2/7] mfd: da9150: Add DT binding documentation for core

2015-02-25 Thread Sebastian Reichel
Hi, On Wed, Feb 18, 2015 at 02:08:26PM +, Adam Thomson wrote: Signed-off-by: Adam Thomson adam.thomson.opensou...@diasemi.com --- Documentation/devicetree/bindings/mfd/da9150.txt | 43 1 file changed, 43 insertions(+) create mode 100644

Re: [PATCH 2/3 v3] x86: entry_64.S: always allocate complete struct pt_regs

2015-02-25 Thread Andy Lutomirski
On Wed, Feb 25, 2015 at 11:59 AM, Andrey Wagin ava...@gmail.com wrote: 2015-02-25 21:42 GMT+03:00 Denys Vlasenko dvlas...@redhat.com: On 02/25/2015 01:37 PM, Andrey Wagin wrote: 2015-02-13 0:54 GMT+03:00 Denys Vlasenko dvlas...@redhat.com: 64-bit code was using six stack slots less by not

Re: [PATCH] clk: fractional-divider: support for divider bypassing

2015-02-25 Thread Mike Turquette
Quoting Stephen Boyd (2015-02-02 11:42:55) On 02/02/15 05:37, Heikki Krogerus wrote: If the divider or multiplier values values are 0 in the s/values// register, bypassing the divider and returning the parent clock rate in clk_fd_recalc_rate(). Signed-off-by: Heikki Krogerus

[PATCH v2 1/2] hwrng: iproc-rng200 - Add device tree bindings

2015-02-25 Thread Scott Branden
Documents the IPROC random number generator device tree bindings used in some Broadcom chipsets. Reviewed-by: Ray Jui r...@broadcom.com Signed-off-by: Scott Branden sbran...@broadcom.com --- .../devicetree/bindings/hwrng/brcm,iproc-rng200.txt | 12 1 file changed, 12

Re: [PATCH 1/3] x86: Move msr accesses out of line

2015-02-25 Thread Andi Kleen
Still, I wondered, so I ran me a little test. Note that I used a serializing instruction (LOCK XCHG) because WRMSR is too. WRMSR has a lot of uops internally unlike LOCK XCHG, so I expect it will mostly overlap with what it does. I'll run some benchmarks on this today. Also we do quite a few

Re: [SUSPECT SPAM] Re: [PATCH] Add a quirk for the Dell XPS 13 (2015) when in PS/2 mode.

2015-02-25 Thread Mario Limonciello
On 02/23/2015 06:01 PM, Pali Rohár wrote: On Tuesday 24 February 2015 00:31:52 Mario Limonciello wrote: For older dell models (some old inspirions and maybe also latitude) it was possible to use undocumented DELLDIAG interface (which enter into SMM mode and call some functions) to enable that

[PATCH v2 2/2] hwrng: iproc-rng200 - Add Broadcom IPROC RNG driver

2015-02-25 Thread Scott Branden
This adds a driver for random number generator present on Broadcom IPROC devices. Reviewed-by: Ray Jui r...@broadcom.com Signed-off-by: Scott Branden sbran...@broadcom.com --- drivers/char/hw_random/Kconfig| 13 ++ drivers/char/hw_random/Makefile | 1 +

Re: Video option for a big endian machine?

2015-02-25 Thread One Thousand Gnomes
On Thu, 12 Feb 2015 07:08:10 +1000 Dave Airlie airl...@gmail.com wrote: On 12 February 2015 at 00:44, Alex Deucher alexdeuc...@gmail.com wrote: On Wed, Feb 11, 2015 at 3:53 AM, lausg...@gmail.com wrote: Hello. I'm looking for a PCI or AGP video card that would work on a Linux port

Re: [PATCH 2/2] mmc: dw_mmc: Give a good reset after we give power

2015-02-25 Thread Javier Martinez Canillas
Hello Doug, On 02/20/2015 07:57 PM, Doug Anderson wrote: We should give dw_mmc a good reset after we apply power. On some boards vqmmc may actually be connected to the IP block in the SoC so it's good to reset after power comes in. Without this we sometimes see failures enumerating cards

Re: [PATCH] f2fs: fix recover orphan inodes

2015-02-25 Thread Jaegeuk Kim
Hi Wanpeng, On Wed, Feb 25, 2015 at 12:53:37PM +0800, Wanpeng Li wrote: recover_orphan_inodes is used to recover orphan inodes, the meta pages which readahead should be orphan_blkaddr - start_blk instead of orphan_blkaddr. This patch fix it. Signed-off-by: Wanpeng Li

Re: [PATCH] ARM: dts: am335x-boneblack: enable aes and sham

2015-02-25 Thread Matt Porter
On Wed, Feb 25, 2015 at 12:36:11PM -0600, Robert Nelson wrote: On Wed, Feb 25, 2015 at 11:07 AM, Matt Porter mpor...@konsulko.com wrote: Beaglebone Black doesn't have AES and SHAM enabled like the original Beaglebone White dts. This breaks applications that leverage the crypto blocks so fix

Re: [PATCH] PCI/AER: Avoid info leak in __print_tlp_header

2015-02-25 Thread Borislav Petkov
On Tue, Feb 24, 2015 at 11:50:46PM +0100, Rasmus Villemoes wrote: Commit fab4c256a58b (PCI/AER: Add a TLP header print helper) introduced the helper function __print_tlp_header, but contrary to the intention, the behaviour did change: Since we're taking the address of Whoops, good catch. the

[PATCH 0/1] Synopsis 8250 serial port driver fix

2015-02-25 Thread Jonathan Richardson
Hi, This patchset fixes a bug in the Synopsis 8250 serial driver which causes the driver to hang. The bug occurs on simple 2 wire serial ports when modem control signalling has been enabled. It can be reproduced from user space by enabling modem control signals (stty -clocal), then opening a

[PATCH] of/address: Add of_io_release_and_unmap()

2015-02-25 Thread Joshua Clayton
New Fumction of_io_release_an_unmap frees resources and io memory allocated by io_request_and_map() Signed-off-by: Joshua Clayton stillcompil...@gmail.com --- drivers/of/address.c | 29 + include/linux/of_address.h | 2 ++ 2 files changed, 31 insertions(+)

Re: [PATCH v9 0/4] Add gpio/pinconf support to Broadcom Cygnus SoC

2015-02-25 Thread Dmitry Torokhov
On Tue, Feb 10, 2015 at 02:16:20PM -0800, Ray Jui wrote: This patchset contains the initial GPIO/PINCONF support for the Broadcom Cygnus SoC. Cygnus has 3 GPIO controllers: 1) the ASIU GPIO; 2) the chipCommonG GPIO; and 3) the ALWAYS-ON GPIO. All 3 types of GPIO controllers are supported by

SYMTAB_SHNDX has bad sh_link build error

2015-02-25 Thread Vinson Lee
Hi. With Linux 4.0-rc1, I get this allyesconfig build error on CentOS 5. This build error occurs starting with Linux 3.15-rc1. + modpost_link vmlinux.o + ld -m elf_x86_64 -r -o vmlinux.o arch/x86/kernel/head_64.o arch/x86/kernel/he$ + make -f ./scripts/Makefile.modpost vmlinux.o

[PATCH] KVM: SVM: fix interrupt injection (apic-isr_count always 0)

2015-02-25 Thread Radim Krčmář
2015-02-25 17:00+0100, Borislav Petkov: Hi, commit in $Subject breaks my kvm guest on AMD host, causing it to do the following below. Mouse doesn't work anymore in the guest, network is gone too. Reverting it fixes the issue. Thanks, this patch should fix it. ---8--- In commit

Re: [PATCH] clk: Use lockdep asserts to find missing hold of prepare_lock

2015-02-25 Thread Mike Turquette
Quoting Krzysztof Kozlowski (2015-01-09 00:28:10) Add lockdep asserts for holding the prepare_lock to all functions marking this as a requirement in description. Add this to private and exported functions so all locking misuse could be detected during debugging. Signed-off-by: Krzysztof

Re: [PATCH] perf: Fix sigbus with perf-top

2015-02-25 Thread Arnaldo Carvalho de Melo
Em Wed, Feb 18, 2015 at 07:03:18PM -0500, David Ahern escreveu: perf-top is terminating due to SIGBUS on sparc64. git bisect points to: commit 82396986032915c1572bfb74b224fcc2e4e8ba7c Author: Arnaldo Carvalho de Melo a...@redhat.com Date: Mon Sep 8 13:26:35 2014 -0300

Re: [PATCH] thermal: armada: read stable temp on Armada XP

2015-02-25 Thread Tyler Hall
Hi Gregory, Eduardo, On Wed, Feb 25, 2015 at 05:10:14PM +0100, Gregory CLEMENT wrote: By using it by default do you mean removing marvell,armadaxp-thermal and adding armadaxp-filtered-thermal instead ? Yes, replacing it in device tree. For me, /sys/class/thermal/thermal_zone0/temp returns the

Re: [RFC 1/3] i2c: Enhancement of i2c API to address circular lock dependency problem

2015-02-25 Thread Mike Turquette
Quoting Mark Brown (2015-01-18 05:41:24) On Sun, Jan 18, 2015 at 11:54:56AM +0100, Krzysztof Kozlowski wrote: W dniu 18.01.2015 o 07:30, Tomasz Figa pisze: So, the question is, do we actually have hardware that _really_ requires _actual_ preparation or all the clk_prepare_enable()s in I2C

Re: [PATCH v7 1/7] mfd: Add support for DA9150 combined charger fuel-gauge device

2015-02-25 Thread Sebastian Reichel
Hi, On Wed, Feb 18, 2015 at 02:08:24PM +, Adam Thomson wrote: DA9150 is a combined Charger and Fuel-Gauge IC, with additional GPIO and GPADC functionality. Signed-off-by: Adam Thomson adam.thomson.opensou...@diasemi.com Acked-by: Lee Jones lee.jo...@linaro.org This patch is already in

Re: [PATCH 0/3] MSM8960 LCC fixes

2015-02-25 Thread Mike Turquette
Quoting Stephen Boyd (2015-01-29 15:38:10) A couple of small fixes found while testing the audio clock control on apq8064. Applied to clk-fixes. Regards, Mike Stephen Boyd (3): clk: qcom: lcc-msm8960: Fix slimbus n and m val offsets clk: qcom: lcc-msm8960: Fix PLL rate detection

Re: Question about Old Fix Me comment in mempool.c

2015-02-25 Thread Mikulas Patocka
On Tue, 16 Dec 2014, nick wrote: Greetings Andrew and other maintainers, I am wondering why the below comment is even in mempool.c and this has not been changed to a call to io_schedule as the kernel version is stupidly old and this should be fixed by now and the issues with DM would have

Re: [PATCH v2] mmc: dw_mmc: fix bug that cause mmc_test failture

2015-02-25 Thread Javier Martinez Canillas
Hello Addy, On 02/20/2015 03:55 AM, Addy Ke wrote: The STOP command can terminate a data transfer between a memory card and mmc controller. As show in Synopsys DesignWare Cores Mobile Stroage Host Databook: s/Stroage/Storage but maybe Ulf can amend the typo when applying? Data timeout and

Re: [PATCH v2 3/4] clk: Provide an always-on clock domain framework

2015-02-25 Thread Mike Turquette
Quoting Lee Jones (2015-02-25 07:48:08) On Wed, 25 Feb 2015, Rob Herring wrote: On Mon, Feb 23, 2015 at 11:23 AM, Mike Turquette mturque...@linaro.org wrote: Quoting Lee Jones (2015-02-18 08:15:00) Much h/w contain clocks which if turned off would prove fatal. The only way to

<    7   8   9   10   11   12   13   14   15   16   >