Re: [PATCH v3] adm8211: fix checkpatch error for trailing statements on next line

2015-05-05 Thread Okash Khawaja
On Mon, May 04, 2015 at 11:44:58PM -0700, Joe Perches wrote: On Tue, 2015-05-05 at 07:01 +0100, Okash Khawaja wrote: This patch fixes the checkpatch.pl error: Please fix the space/tab use too. Your email client seems to have converted all the tabs to spaces. default should use the

Re: not syncing: Attempted to kill init! exitcode=0x00000004 ?

2015-05-05 Thread Shawn Guo
On Tue, Apr 07, 2015 at 12:34:30PM +0900, Masahiro Yamada wrote: Hello experts, I hope this is the correct ML to ask this question. I am struggling to port Linux-4.0-rc7 onto my SoC/board, based on ARM cortex-A9 (single CPU), but the kernel fails to boot with the error: not syncing:

Re: [PATCH 2/9] ARM: tegra: fix hda2codec_2x clock name for Tegra30

2015-05-05 Thread Thierry Reding
On Fri, Apr 10, 2015 at 11:35:57PM +0200, Marcel Ziswiler wrote: From: Marcel Ziswiler marcel.ziswi...@toradex.com Signed-off-by: Marcel Ziswiler marcel.ziswi...@toradex.com --- drivers/clk/tegra/clk-tegra30.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) I think this isn't

[PATCH v4 3/5] clk: hi6220: Document devicetree bindings for hi6220 clock

2015-05-05 Thread Bintian Wang
Document DT files bindings for Hisilicon hi6220 clock. Signed-off-by: Bintian Wang bintian.w...@huawei.com Reviewed-by: Haojian Zhuang haojian.zhu...@linaro.org --- .../devicetree/bindings/clock/hi6220-clock.txt | 34 ++ 1 file changed, 34 insertions(+) create mode

[PATCH 4/9] usb:fsl:otg: Modify otg_event to start host drv

2015-05-05 Thread Ramneek Mehresh
Add mechanism to start host driver from inside fsl_otg_even upon each id change interrupt Signed-off-by: Ramneek Mehresh ramneek.mehr...@freescale.com Reviewed-by: Fleming Andrew-AFLEMING aflem...@freescale.com Tested-by: Fleming Andrew-AFLEMING aflem...@freescale.com ---

[PATCH 6/9] usb:fsl:otg: Remove host drv upon otg bring-up

2015-05-05 Thread Ramneek Mehresh
Change have_hcd variable to remove/suspend host driver on completion of otg initialization for otg auto detect Signed-off-by: Ramneek Mehresh ramneek.mehr...@freescale.com Reviewed-by: Li Yang-R58472 le...@freescale.com Reviewed-by: Fleming Andrew-AFLEMING aflem...@freescale.com Tested-by:

[PATCH 8/9] usb:fsl:otg: Resolve OTG crash issue with another host

2015-05-05 Thread Ramneek Mehresh
Resolves kernel crash issue when a USB flash drive is inserted into USB1 port with USB2 port configured as otg. Removing else block so that the controller coming up in non-otg mode doesn't return -ENODEV. Returning ENODEV results in platform framework unbinding platform-drv from controller

[PATCH 5/9] usb:fsl:otg: Combine host/gadget start/resume for ID change

2015-05-05 Thread Ramneek Mehresh
Make call to fsl_otg_event for each id change even Signed-off-by: Ramneek Mehresh ramneek.mehr...@freescale.com Reviewed-by: Fleming Andrew-AFLEMING aflem...@freescale.com Tested-by: Fleming Andrew-AFLEMING aflem...@freescale.com --- drivers/usb/phy/phy-fsl-usb.c | 15 +++ 1 file

[PATCH 9/9] usb:fsl:otg: Make fsl otg driver as tristate

2015-05-05 Thread Ramneek Mehresh
Provide option to load fsl otg driver as loadable module Signed-off-by: Ramneek Mehresh ramneek.mehr...@freescale.com --- drivers/usb/phy/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/phy/Kconfig b/drivers/usb/phy/Kconfig index 2175678..4927905 100644

Re: [PATCH 3.14 73/92] dm crypt: fix deadlock when async crypto algorithm returns -EBUSY

2015-05-05 Thread Mike Snitzer
On Tue, May 05 2015 at 2:42am -0400, Milan Broz mb...@redhat.com wrote: On 05/05/2015 05:22 AM, Mike Snitzer wrote: On Mon, May 04 2015 at 5:32pm -0400, Rabin Vincent ra...@rab.in wrote: On Sat, May 02, 2015 at 09:03:28PM +0200, Greg Kroah-Hartman wrote: 3.14-stable review patch.

[PATCH v8 01/23] IB/Verbs: Implement new callback query_protocol()

2015-05-05 Thread Michael Wang
Add new callback query_protocol() and implement for each HW. Mapping List: node-type link-layer transport protocol nes RNICETH IWARP IWARP amso1100RNICETH IWARP IWARP cxgb3

[PATCH 1/1] fcoe: use continue instead of goto+label

2015-05-05 Thread Jiri Slaby
There is a label pointing to the start of a while loop and a goto nested only in the loop. The goto jumps to the label in some cases. Replace the goto and the label by simple continue. Signed-off-by: Jiri Slaby jsl...@suse.cz Cc: Robert Love robert.w.l...@intel.com Cc: fcoe-de...@open-fcoe.org

Re: [PATCH 3.2 042/221] ALSA: hdspm - Constrain periods to 2 on older cards

2015-05-05 Thread Ben Hutchings
On Tue, 2015-05-05 at 14:46 +0200, Adrian Knoth wrote: On 05/05/15 03:16, Ben Hutchings wrote: 3.2.69-rc1 review patch. If anyone has any objections, please let me know. I do! :) From: Adrian Knoth a...@drcomp.erfurt.thur.de commit f0153c3d948c1764f6c920a0675d86fc1d75813e

[PATCH v8 02/23] IB/Verbs: Implement raw management helpers

2015-05-05 Thread Michael Wang
Add raw helpers: rdma_protocol_ib rdma_protocol_iboe rdma_protocol_iwarp rdma_ib_or_iboe (transition, clean up later) To help us detect which technology the port supported. Signed-off-by: Michael Wang yun.w...@profitbricks.com --- include/rdma/ib_verbs.h | 22

[PATCH v8 00/23] IB/Verbs: IB Management Helpers

2015-05-05 Thread Michael Wang
Since v7: * Thanks to Doug, Ira, Devesh for the testing :-) * Thanks for the comments from or, Doug, Ira, Jason :-) Please remind me if anything missed :-P * Use rdma_cap_XX() instead of cap_XX() for readability * Remove CC list in git log for maintainability * Use bool as return

Re: [PATCH v3 3/7] mmc: mediatek: Add PM support for MMC driver

2015-05-05 Thread Ulf Hansson
On 28 April 2015 at 11:48, Chaotian Jing chaotian.j...@mediatek.com wrote: Add PM support for Mediatek MMC driver Signed-off-by: Chaotian Jing chaotian.j...@mediatek.com --- drivers/mmc/host/mtk-sd.c | 58 +++ 1 file changed, 53 insertions(+), 5

Re: [PATCH V7 3/6] perf, x86: handle multiple records in PEBS buffer

2015-05-05 Thread Peter Zijlstra
On Mon, Apr 20, 2015 at 04:07:47AM -0400, Kan Liang wrote: From: Yan, Zheng zheng.z@intel.com snip Here lists some possible ways you may get a lot of collision. This is the first time the world 'collisions' is used; either define what you mean by it or avoid using it. - when you count

Re: [PATCH v4 00/20] Tegra210 Clock Support

2015-05-05 Thread Thierry Reding
On Mon, May 04, 2015 at 12:37:20PM -0400, Rhyland Klein wrote: This patch series updates the tegra common clock driver and adds support for the Tegra210 clocks. The clocks in Tegra210 changed significantly in some ways from earlier generations, so to support them, we need to extend our base

Re: [PATCH v2 7/7] ACPI / processor: Introduce invalid_phys_cpuid()

2015-05-05 Thread Hanjun Guo
On 2015年05月05日 19:25, Sudeep Holla wrote: On 05/05/15 03:46, Hanjun Guo wrote: Introduce invalid_phys_cpuid() to identify cpu with invalid physical ID, then used it as replacement of the direct comparisons with PHYS_CPUID_INVALID. Signed-off-by: Hanjun Guo hanjun@linaro.org ---

Re: [PATCH v2] staging: comedi: daqboard2000: Use preferred comment style

2015-05-05 Thread Ian Abbott
On 03/05/15 21:49, Arno Tiemersma wrote: Use the preferred block comment style for the copyright and driver description header comments. Signed-off-by: Arno Tiemersma arno.tiemer...@gmail.com --- drivers/staging/comedi/drivers/daqboard2000.c | 196 +- 1 file changed,

running hrtimer_start on an already active hrtimer?

2015-05-05 Thread Jiri Bohac
Hi, I came across a strange bug (in a very old kernel) that triggers the BUG_ON(timer-state != HRTIMER_STATE_CALLBACK); in __run_hrtimer(). The code runs hrtimer_start() on an already started hrtimer. Looking at the description of hrtimer_start() it looks like something that is

Re: [PATCH v4 0/5] arm64,hi6220: Enable Hisilicon Hi6220 SoC

2015-05-05 Thread Haojian Zhuang
On 5 May 2015 at 20:06, Bintian Wang bintian.w...@huawei.com wrote: Hi6220 is one mobile solution of Hisilicon, this patchset contains initial support for Hi6220 SoC and HiKey development board, which supports octal ARM Cortex A53 cores. Initial support is minimal and includes just the arch

Re: [PATCH RFC] Coccinelle: Check for return not matching function signature

2015-05-05 Thread SF Markus Elfring
How do you think about to import the result list into a database table? working on that re-cycling your parameter count example top 10: 488 ssize_t != int 195 int != unsigned int 183 long != int … Would you like to provide a static source code analysis directly in such a

Re: [PATCH 2/2] kernfs: do not account ino_ida allocations to memcg

2015-05-05 Thread Tejun Heo
On Tue, May 05, 2015 at 12:45:43PM +0300, Vladimir Davydov wrote: root-ino_ida is used for kernfs inode number allocations. Since IDA has a layered structure, different IDs can reside on the same layer, which is currently accounted to some memory cgroup. The problem is that each kmem cache of

Re: [PATCH v2 3/7] ACPI / processor: Introduce invalid_logical_cpuid()

2015-05-05 Thread Rafael J. Wysocki
On Tuesday, May 05, 2015 10:46:34 AM Hanjun Guo wrote: In ACPI processor drivers, we use direct comparisons of cpu logical id with -1 which are error prone in case logical cpuid is accidentally assinged an error code and prevents us from returning an error-encoding cpuid directly in some

[PATCH 1/7] drivers: CCI: fix used_mask init in validate_group()

2015-05-05 Thread Suzuki K. Poulose
From: Mark Salter msal...@redhat.com Currently in validate_group(), there is a static initializer for fake_pmu.used_mask which is based on CPU_BITS_NONE but the used_mask array size is based on CCI_PMU_MAX_HW_EVENTS. CCI_PMU_MAX_HW_EVENTS is not based on NR_CPUS, so CPU_BITS_NONE is not correct

Re: Patch breaks suspend

2015-05-05 Thread Rafael J. Wysocki
On Tuesday, May 05, 2015 11:38:50 AM Marian Marinov wrote: On 05/05/2015 02:37 AM, Rafael J. Wysocki wrote: On Saturday, May 02, 2015 11:27:32 PM Marian Marinov wrote: Hi guys, I have Lenovo T520 with one SSD and one SATA drive. I tried to upgrade to Linux 4.0 and found that after

[PATCH 0/7] ARM CCI-500 PMU driver support

2015-05-05 Thread Suzuki K. Poulose
From: Suzuki K. Poulose suzuki.poul...@arm.com This series adds the support for CCI-500 PMU, by reusing and rearranging the CCI-400 PMU driver code. CCI-500 (the new Cache Coherent Interconnect IP) has a PMU with 8 independent event counters and supports profiling events related to master/slave

Re: [PATCH 3.2 000/221] 3.2.69-rc1 review

2015-05-05 Thread Ben Hutchings
On Mon, 2015-05-04 at 21:48 -0700, Guenter Roeck wrote: On 05/04/2015 06:16 PM, Ben Hutchings wrote: This is the start of the stable review cycle for the 3.2.69 release. There are 221 patches in this series, which will be posted as responses to this one. If anyone has any issues with these

Re: [PATCH 5/9] ARM: tegra: fix hda2codec_2x clock name in Tegra124 device tree

2015-05-05 Thread Thierry Reding
On Fri, Apr 10, 2015 at 11:36:00PM +0200, Marcel Ziswiler wrote: From: Marcel Ziswiler marcel.ziswi...@toradex.com Signed-off-by: Marcel Ziswiler marcel.ziswi...@toradex.com --- arch/arm/boot/dts/tegra124.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) I have this exact

Re: [PATCH 7/9] ARM: tegra: enable HDA in defconfig

2015-05-05 Thread Thierry Reding
On Fri, Apr 10, 2015 at 11:36:02PM +0200, Marcel Ziswiler wrote: From: Marcel Ziswiler marcel.ziswi...@toradex.com Signed-off-by: Marcel Ziswiler marcel.ziswi...@toradex.com --- arch/arm/configs/tegra_defconfig | 8 1 file changed, 8 insertions(+) I've squashed this into a single

Re: [PATCH v4 04/10] eeprom: Add a simple EEPROM framework for eeprom consumers

2015-05-05 Thread Srinivas Kandagatla
Hi Stephen, Sorry I took so long to reply. On 09/04/15 15:45, Stephen Boyd wrote: On 04/07, Srinivas Kandagatla wrote: On 07/04/15 19:45, Stephen Boyd wrote: On 03/30, Srinivas Kandagatla wrote: Do you have an overview of how to use these APIs? Maybe some Documentation/ is in order? I'm

Email Przekroczono Limit!!!

2015-05-05 Thread Admin
Twój e-mail przekroczyla pole kwoty i nie mozna wysylac lub odbierac wiadomosci e-mail juz. Kliknij tutaj, ( http://pocztaadminsecurepadecenter.sitey.me/ ) aby uzyskac wiecej miejsca i uniknac zawieszenia uslug Dziekuje Za Wspólprace @2015 SYSTEM ADMINISTRATOR HELP DESK --- This email is

Re: [PATCH 3/9] Documentation: DT bindings: fix hda2codec_2x clock name for tegra30-hda

2015-05-05 Thread Thierry Reding
On Fri, Apr 10, 2015 at 11:35:58PM +0200, Marcel Ziswiler wrote: From: Marcel Ziswiler marcel.ziswi...@toradex.com Fix hda2codec_2x clock name in Tegra30 HDA controller device tree node documentation. While at it also fix coma vs. semicolon issue. Signed-off-by: Marcel Ziswiler

Re: [PATCH] serial/amba-pl011: fix minor bugs for pio mode

2015-05-05 Thread Dave Martin
On Tue, May 05, 2015 at 08:11:12PM +0800, Leo Yan wrote: On Tue, May 05, 2015 at 08:09:27PM +0800, Leo Yan wrote: On Tue, May 05, 2015 at 12:11:56PM +0100, Dave P Martin wrote: On Tue, May 05, 2015 at 04:00:25AM +0100, Leo Yan wrote: [...] Thanks for the fixes, but I already posted

Re:Re: Input: keyboard/Trackpad support for MacBookPro 12,1

2015-05-05 Thread Yang Hongyang
At 2015-05-05 19:18:00, Chris Bainbridge chris.bainbri...@gmail.com wrote: On 5 May 2015 at 04:29, Yang Hongyang macrosh...@163.com wrote: Any ideas? https://bugzilla.kernel.org/show_bug.cgi?id=96771 Thank you!N嫥叉靣笡y氊b瞂千v豝�)藓{.n�+壏{睉赙zXФ洝塄}财爖�j:+v墾�珣赙zZ+€�+zf"穐殘啳嗃iz�

Re: [PATCH 3.2 059/221] autofs4: check dev ioctl size before allocating

2015-05-05 Thread Ben Hutchings
On Tue, 2015-05-05 at 13:38 +0800, Ian Kent wrote: On Tue, 2015-05-05 at 02:16 +0100, Ben Hutchings wrote: 3.2.69-rc1 review patch. If anyone has any objections, please let me know. Perhaps you should also consider including commit 0a280962 along with this one. [...] I did, it's 60/221.

Re: [PATCH] drivers: dma: amba-pl08x: Supress spaces in indentation

2015-05-05 Thread Leonardo Carreras
Dear Dan, On Tue, May 5, 2015 at 4:58 AM, Dan Carpenter dan.carpen...@oracle.com wrote: On Mon, May 04, 2015 at 09:32:27PM -0400, Leonardo Carreras wrote: Removed checkpatch reported spaces in indentation. Signed-off-by: Leonardo Carreras leocarrera...@gmail.com ---

[PATCH] qxl: rewrite framebuffer support

2015-05-05 Thread Gerd Hoffmann
Completely different approach: Instead of encoding each and every framebuffer update as spice operation simply update the shadow framebuffer and maintain a dirty rectangle. Also schedule a worker to push an update for the dirty rectangle as spice operation. Usually a bunch of dirty rectangle

Re: [PATCH v2 2/5] clk: sunxi: support the cpus (cpu special) clock on the Allwinner A80

2015-05-05 Thread Maxime Ripard
On Tue, May 05, 2015 at 06:01:16PM +0800, Chen-Yu Tsai wrote: On Tue, May 5, 2015 at 4:25 PM, Maxime Ripard maxime.rip...@free-electrons.com wrote: On Mon, May 04, 2015 at 11:22:33PM +0800, Chen-Yu Tsai wrote: Hi, On Mon, May 4, 2015 at 8:51 PM, Maxime Ripard

Re: [PATCH 4/9] ARM: tegra: add Tegra30 HDA support

2015-05-05 Thread Thierry Reding
On Fri, Apr 10, 2015 at 11:35:59PM +0200, Marcel Ziswiler wrote: From: Marcel Ziswiler marcel.ziswi...@toradex.com Add a device node for the HDA controller found on Tegra30. Signed-off-by: Marcel Ziswiler marcel.ziswi...@toradex.com --- arch/arm/boot/dts/tegra30.dtsi | 15 +++

[PATCH v4 4/5] clk: hi6220: Clock driver support for Hisilicon hi6220 SoC

2015-05-05 Thread Bintian Wang
Add clock drivers for hi6220 SoC, this driver controls the SoC registers to supply different clocks to different IPs in the SoC. We add one divider clock for hi6220 because the divider in hi6220 also has a mask bit but it doesnot obey the rule defined by flag CLK_DIVIDER_HIWORD_MASK, we can not

Re: A desktop environment[1] kernel wishlist

2015-05-05 Thread Rafael J. Wysocki
On Tuesday, May 05, 2015 08:05:32 AM Tomeu Vizoso wrote: On 5 May 2015 at 00:19, Rafael J. Wysocki r...@rjwysocki.net wrote: On Friday, May 01, 2015 11:02:19 AM Tomeu Vizoso wrote: On 30 April 2015 at 20:54, Chirantan Ekbote chiran...@chromium.org wrote: On Thu, Apr 30, 2015 at 10:23 AM,

[PATCH v4 1/5] arm64: Enable Hisilicon ARMv8 SoC family in Kconfig and defconfig

2015-05-05 Thread Bintian Wang
This patch introduces ARCH_HISI to enable Hisilicon SoC family in Kconfig and defconfig. Signed-off-by: Bintian Wang bintian.w...@huawei.com Reviewed-by: Haojian Zhuang haojian.zhu...@linaro.org Reviewed-by: Wei Xu xuw...@hisilicon.com --- arch/arm64/Kconfig | 5 +

[PATCH v4 0/5] arm64,hi6220: Enable Hisilicon Hi6220 SoC

2015-05-05 Thread Bintian Wang
Hi6220 is one mobile solution of Hisilicon, this patchset contains initial support for Hi6220 SoC and HiKey development board, which supports octal ARM Cortex A53 cores. Initial support is minimal and includes just the arch configuration, clock driver, device tree configuration. PSCI is enabled

Re: [RFC v2 1/4] fs: Add generic file system event notifications

2015-05-05 Thread Beata Michalska
Hi again, On 04/29/2015 11:13 AM, Greg KH wrote: On Wed, Apr 29, 2015 at 09:42:59AM +0200, Jan Kara wrote: On Wed 29-04-15 09:03:08, Beata Michalska wrote: On 04/28/2015 07:39 PM, Greg KH wrote: On Tue, Apr 28, 2015 at 04:46:46PM +0200, Beata Michalska wrote: On 04/28/2015 04:09 PM, Greg KH

Re: [PATCH 8/9] ARM: tegra: colibri t30: activate stmpe811 touch controller

2015-05-05 Thread Thierry Reding
On Fri, Apr 10, 2015 at 11:36:03PM +0200, Marcel Ziswiler wrote: From: Marcel Ziswiler marcel.ziswi...@toradex.com Activate STMPE811 touch controller as found on Colibri T30 modules. While at it change order of HDMI sub nodes as well to be more in line with Apalis T30. While at it also

Re: [PATCH RFC] Coccinelle: Check for return not matching function signature

2015-05-05 Thread SF Markus Elfring
Check if the signature of a function and the return value type match. Is this a task that is usually performed by a compiler? In many cases this mismatch will have no side-effects but in some cases it may lead to hard to locate problems It is another software development challenge to find

[PATCH 7/9] usb:fsl:otg: Add host-gadget drv sync delay

2015-05-05 Thread Ramneek Mehresh
Resolve synchronization issue between host and gadget drivers upon role-reversal Signed-off-by: Ramneek Mehresh ramneek.mehr...@freescale.com Reviewed-by: Li Yang-R58472 le...@freescale.com Reviewed-by: Fleming Andrew-AFLEMING aflem...@freescale.com Tested-by: Fleming Andrew-AFLEMING

[PATCH 2/9][v3]usb:fsl:otg: Add support to add/remove usb host driver

2015-05-05 Thread Ramneek Mehresh
Add workqueue to add/remove host driver (outside interrupt context) upon each id change Signed-off-by: Ramneek Mehresh ramneek.mehr...@freescale.com --- Changes for v3: - use overrides for ehci_fsl_overrides - remove struct ehci_hcd from ehci_fsl - move ehci_fsl to

Re: [PATCH v1 1/1] iio: ltr501: Add light channel support

2015-05-05 Thread Daniel Baluta
On Sat, May 2, 2015 at 1:39 AM, Kuppuswamy Sathyanarayanan sathyanarayanan.kuppusw...@linux.intel.com wrote: Added support to calculate lux value from visible and IR spectrum adc count values. Also added IIO_LIGHT channel to enable user read the lux value directly from device using illuminance

Re: [PATCH V7 3/6] perf, x86: handle multiple records in PEBS buffer

2015-05-05 Thread Peter Zijlstra
On Mon, Apr 20, 2015 at 04:07:47AM -0400, Kan Liang wrote: +static inline void * +get_next_pebs_record_by_bit(void *base, void *top, int bit) +{ + struct cpu_hw_events *cpuc = this_cpu_ptr(cpu_hw_events); + void *at; + u64 pebs_status; + + if (base == NULL) +

Re: [PATCH v2 3/7] ACPI / processor: Introduce invalid_logical_cpuid()

2015-05-05 Thread Hanjun Guo
On 2015年05月05日 20:04, Rafael J. Wysocki wrote: On Tuesday, May 05, 2015 12:15:13 PM Sudeep Holla wrote: On 05/05/15 03:46, Hanjun Guo wrote: In ACPI processor drivers, we use direct comparisons of cpu logical id with -1 which are error prone in case logical cpuid is accidentally assinged an

[PATCH] drm/msm: fix unbalanced DRM framebuffer init/destroy

2015-05-05 Thread Stephane Viau
When msm_framebuffer_init() fails before calling drm_framebuffer_init(), drm_framebuffer_cleanup() [called in msm_framebuffer_destroy()] is still being called even though drm_framebuffer_init() was not called for that buffer. Thus a NULL pointer derefencing: [ 247.529691] Unable to handle kernel

Re: [PATCH] drivers: dma: amba-pl08x: Supress spaces in indentation

2015-05-05 Thread Dan Carpenter
On Tue, May 05, 2015 at 07:31:40AM -0400, Leonardo Carreras wrote: I will check this, but may I ask if that would be marked as an error by checkpatch. No, it won't. It is the correct way. regards, dan carpenter -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the

Re: [PATCH 1/2] timer: Avoid waking up an idle-core by migrate running timer

2015-05-05 Thread Thomas Gleixner
On Sat, 25 Apr 2015, Eric Dumazet wrote: On Thu, 2015-04-23 at 14:45 +0200, Thomas Gleixner wrote: You definitely have a point from the high throughput networking perspective. Though in a power optimizing scenario with minimal network traffic this might be the wrong decision. We have

Re: question about RCU dynticks_nesting

2015-05-05 Thread Peter Zijlstra
On Tue, May 05, 2015 at 05:34:46AM -0700, Paul E. McKenney wrote: On Tue, May 05, 2015 at 12:53:46PM +0200, Peter Zijlstra wrote: On Mon, May 04, 2015 at 12:39:23PM -0700, Paul E. McKenney wrote: But in non-preemptible RCU, we have PREEMPT=n, so there is no preempt counter in production

Re: [PATCH] gma500:Remove functions that are now deprecated and move to the newer functions in drm_dp_helper.c

2015-05-05 Thread Patrik Jakobsson
On Tue, May 5, 2015 at 12:29 AM, Nicholas Krause xerofo...@gmail.com wrote: This removes the deprecated functions,i2c_dp_aux_add_bus and i2c_dp_aux_prepare_bus and the only call in the function, cdv_intel_dp_i2c_init to i2c_dp_aux_add_bus respectfully. The call and use of these functions is

Re: [PATCH V7 3/6] perf, x86: handle multiple records in PEBS buffer

2015-05-05 Thread Peter Zijlstra
On Tue, May 05, 2015 at 03:07:23PM +0200, Peter Zijlstra wrote: On Mon, Apr 20, 2015 at 04:07:47AM -0400, Kan Liang wrote: From: Yan, Zheng zheng.z@intel.com +static void perf_log_lost(struct perf_event *event) +{ + struct perf_output_handle handle; + struct perf_sample_data

Re: [PATCH 1/2] x86/quark: Add Quark embedded SRAM support

2015-05-05 Thread Bryan O'Donoghue
On 04/05/15 08:00, Thomas Gleixner wrote: On Mon, 4 May 2015, Bryan O'Donoghue wrote: +++ b/arch/x86/include/asm/esram.h This should be in platform/quark/ +++ b/arch/x86/platform/intel-quark/esram.c No problem. +#define phys_to_esram(x) ((x) PAGE_SHIFT) There is a single

Re: [PATCH v2 3/7] ACPI / processor: Introduce invalid_logical_cpuid()

2015-05-05 Thread Rafael J. Wysocki
On Tuesday, May 05, 2015 12:15:13 PM Sudeep Holla wrote: On 05/05/15 03:46, Hanjun Guo wrote: In ACPI processor drivers, we use direct comparisons of cpu logical id with -1 which are error prone in case logical cpuid is accidentally assinged an error code and prevents us from returning an

Re: [PATCH 4/4] sched: cpufreq_cfs: pelt-based cpu frequency scaling

2015-05-05 Thread Juri Lelli
Hi Peter, thanks a lot for the fast reply! :) On 05/05/15 10:00, Peter Zijlstra wrote: On Mon, May 04, 2015 at 03:10:41PM -0700, Michael Turquette wrote: This policy is implemented using the cpufreq governor interface for two main reasons: 1) re-using the cpufreq machine drivers without

Re: question about RCU dynticks_nesting

2015-05-05 Thread Paul E. McKenney
On Tue, May 05, 2015 at 12:51:02PM +0200, Peter Zijlstra wrote: On Tue, May 05, 2015 at 12:48:34PM +0200, Peter Zijlstra wrote: On Mon, May 04, 2015 at 03:00:44PM -0400, Rik van Riel wrote: In case of the non-preemptible RCU, we could easily also increase current-rcu_read_lock_nesting at

Re: [PATCH 1/2] gpio / ACPI: Add support for retrieving GpioInt resources from a device

2015-05-05 Thread Mika Westerberg
On Tue, May 05, 2015 at 01:47:36AM +0200, Rafael J. Wysocki wrote: On Tuesday, April 28, 2015 06:05:06 PM Mika Westerberg wrote: ACPI specification knows two types of GPIOs: GpioIo and GpioInt. The latter is used to describe that a given device interrupt line is connected to a specific GPIO

[BUG ?] MIPS: KVM: condition with no effect

2015-05-05 Thread Nicholas Mc Guire
Hi ! Not sure if this is a bug or maybe a placeholder for something... so patch - but maybe someone that knows this code can give it a look. arch/mips/kvm/emulate.c:emulation_result kvm_mips_complete_mmio_load() snip 2414 case 2: 2415 if (vcpu-mmio_needed == 2)

Re: question about RCU dynticks_nesting

2015-05-05 Thread Paul E. McKenney
On Tue, May 05, 2015 at 12:53:46PM +0200, Peter Zijlstra wrote: On Mon, May 04, 2015 at 12:39:23PM -0700, Paul E. McKenney wrote: But in non-preemptible RCU, we have PREEMPT=n, so there is no preempt counter in production kernels. Even if there was, we have to sample this on other CPUs, so

Re: [PATCH v2 3/4] PM / Hibernate: fix SANITIZE_FREED_PAGES

2015-05-05 Thread Anisse Astier
On Tue, May 5, 2015 at 12:29 AM, Rafael J. Wysocki r...@rjwysocki.net wrote: I haven't seen it, for one, and I'm wondering why the clearing cannot be done at the swsusp_free() time? Because the validity of the free pages bitmap is short-lived since device resume code might do some

Re: [PATCH v3 2/7] mmc: mediatek: Add Mediatek MMC driver

2015-05-05 Thread Ulf Hansson
On 28 April 2015 at 11:48, Chaotian Jing chaotian.j...@mediatek.com wrote: Add Mediatek MMC driver code Support eMMC/SD/SDIO Signed-off-by: Chaotian Jing chaotian.j...@mediatek.com --- drivers/mmc/host/Kconfig |8 + drivers/mmc/host/Makefile |1 + drivers/mmc/host/mtk-sd.c | 1416

Re: [Query] PCIe power management with designware

2015-05-05 Thread Kishon Vijay Abraham I
Hi Pratyush, On Tuesday 05 May 2015 06:33 PM, Pratyush Anand wrote: Thank you for responding. Hi Kishon, Correcting Mohit's ID On Mon, May 4, 2015 at 9:54 PM, Kishon Vijay Abraham I kis...@ti.com wrote: Hi, I'm planning to add power management (suspend/resume) support for DRA7xx and have

Re: [patch v2 for-4.0] mm, thp: really limit transparent hugepage allocation to local node

2015-05-05 Thread Aneesh Kumar K.V
Vlastimil Babka vba...@suse.cz writes: On 04/21/2015 09:31 AM, Aneesh Kumar K.V wrote: Vlastimil Babka vba...@suse.cz writes: On 25.2.2015 22:24, David Rientjes wrote: alloc_pages_preferred_node() variant, change the exact_node() variant to pass __GFP_THISNODE, and audit and adjust all

Re: [PATCH bisected regression] input_available_p() sometimes says 'no' when it should say 'yes'

2015-05-05 Thread Peter Hurley
Stop top-posting. On 05/05/2015 08:03 AM, Nic Percival wrote: There is only ever one debuggee process. My original demo (and indeed the original test failure) is not threaded. The debugger is multi-threaded. I've brought in Chris, Fletch and Paul, my immediate colleagues, into the

Re: [Cocci] [PATCH RFC] Coccinelle: Check for return not matching function signature

2015-05-05 Thread Julia Lawall
On Tue, 5 May 2015, Nicholas Mc Guire wrote: On Tue, 05 May 2015, SF Markus Elfring wrote: Check if the signature of a function and the return value type match. Is this a task that is usually performed by a compiler? In many cases this mismatch will have no side-effects but in

Re: [PATCH] ARM: bcm2835: Use 0x4 prefix for DMA bus addresses to SDRAM.

2015-05-05 Thread Noralf Trønnes
Den 05.05.2015 02:07, skrev Eric Anholt: Noralf Trønnes nor...@tronnes.org writes: Den 04.05.2015 21:33, skrev Eric Anholt: There exists a tiny MMU, configurable only by the VC (running the closed firmware), which maps from the ARM's physical addresses to bus addresses. These bus addresses

[PATCH] adm8211: fix checkpatch errors for indentation and new line around switch-case

2015-05-05 Thread Okash Khawaja
This patch fixes these checkpatch.pl errors around a single switch-case block: ERROR: switch and case should be at the same indent ERROR: trailing statements should be on next line More specifically, the fix has been applied to the five occurances of the errors listed below. ERROR: switch and

[PATCH 7/7] arm-cci: Add aliases for PMU events

2015-05-05 Thread Suzuki K. Poulose
From: Suzuki K. Poulose suzuki.poul...@arm.com Each CCI model have different event/source codes and formats. This patch exports this information via the sysfs, which includes the aliases for the events. The aliases are listed by 'perf list', helping the users to specify the name of the event

[PATCH 2/2] block: loop: avoiding too many pending per work I/O

2015-05-05 Thread Ming Lei
If there are too many pending per work I/O, too many high priority work thread can be generated so that system performance can be effected. This patch limits the max_active parameter of workqueue as 16. This patch fixes Fedora 22 live booting performance regression when it is booted from

[PATCH 1/2] block: loop: convert to per-device workqueue

2015-05-05 Thread Ming Lei
Documentation/workqueue.txt: If there is dependency among multiple work items used during memory reclaim, they should be queued to separate wq each with WQ_MEM_RECLAIM. Loop devices can be stacked, so we have to convert to per-device workqueue. One example is Fedora live

[PATCH 0/2] block: loop: fix stacked loop and performance regression

2015-05-05 Thread Ming Lei
Hi, The 1st patch convers to per-device workqueue because loop devices can be stacked. The 2nd patch decreases max active works as 16, so that fedora 22's boot performance regression can be fixed. drivers/block/loop.c | 30 ++ drivers/block/loop.h | 1 + 2 files

Re: [PATCH 1/9] ARM: tegra: Cardhu device-tree comment spelling fix

2015-05-05 Thread Thierry Reding
On Fri, Apr 10, 2015 at 11:35:56PM +0200, Marcel Ziswiler wrote: From: Marcel Ziswiler marcel.ziswi...@toradex.com Signed-off-by: Marcel Ziswiler marcel.ziswi...@toradex.com --- arch/arm/boot/dts/tegra30-cardhu.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) I added a short

Re: [PATCH] serial/amba-pl011: fix minor bugs for pio mode

2015-05-05 Thread Leo Yan
On Tue, May 05, 2015 at 08:09:27PM +0800, Leo Yan wrote: On Tue, May 05, 2015 at 12:11:56PM +0100, Dave P Martin wrote: On Tue, May 05, 2015 at 04:00:25AM +0100, Leo Yan wrote: [...] Thanks for the fixes, but I already posted patches that probably fix the issues you are observing, And

[PATCH v8 06/23] IB/Verbs: Reform IB-core multicast

2015-05-05 Thread Michael Wang
Use raw management helpers to reform IB-core multicast. Signed-off-by: Michael Wang yun.w...@profitbricks.com --- drivers/infiniband/core/multicast.c | 12 +++- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/drivers/infiniband/core/multicast.c

[PATCH v8 07/23] IB/Verbs: Reform IB-ulp ipoib

2015-05-05 Thread Michael Wang
Use raw management helpers to reform IB-ulp ipoib. Signed-off-by: Michael Wang yun.w...@profitbricks.com --- drivers/infiniband/ulp/ipoib/ipoib_main.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/drivers/infiniband/ulp/ipoib/ipoib_main.c

[PATCH v8 17/23] IB/Verbs: Use management helper rdma_cap_ib_cm()

2015-05-05 Thread Michael Wang
Introduce helper rdma_cap_ib_cm() to help us check if the port of an IB device support Infiniband Communication Manager. Signed-off-by: Michael Wang yun.w...@profitbricks.com --- drivers/infiniband/core/cm.c | 6 +++--- drivers/infiniband/core/cma.c | 19 +--

[PATCH v8 18/23] IB/Verbs: Use management helper rdma_cap_iw_cm()

2015-05-05 Thread Michael Wang
Introduce helper rdma_cap_iw_cm() to help us check if the port of an IB device support IWARP Communication Manager. Signed-off-by: Michael Wang yun.w...@profitbricks.com --- drivers/infiniband/core/cma.c | 14 +++--- include/rdma/ib_verbs.h | 15 +++ 2 files changed, 22

[PATCH v8 16/23] IB/Verbs: Use management helper rdma_cap_ib_smi()

2015-05-05 Thread Michael Wang
Introduce helper rdma_cap_ib_smi() to help us check if the port of an IB device support Infiniband Subnet Management Interface. Signed-off-by: Michael Wang yun.w...@profitbricks.com --- drivers/infiniband/core/agent.c | 2 +- drivers/infiniband/core/mad.c | 2 +- include/rdma/ib_verbs.h

[PATCH v8 20/23] IB/Verbs: Use management helper rdma_cap_ib_mcast()

2015-05-05 Thread Michael Wang
Introduce helper rdma_cap_ib_mcast() to help us check if the port of an IB device support Infiniband Multicast. Signed-off-by: Michael Wang yun.w...@profitbricks.com --- drivers/infiniband/core/cma.c | 6 +++--- drivers/infiniband/core/multicast.c | 6 +++--- include/rdma/ib_verbs.h

[PATCH v8 19/23] IB/Verbs: Use management helper rdma_cap_ib_sa()

2015-05-05 Thread Michael Wang
Introduce helper rdma_cap_ib_sa() to help us check if the port of an IB device support Infiniband Subnet Administration. Signed-off-by: Michael Wang yun.w...@profitbricks.com --- drivers/infiniband/core/cma.c | 4 ++-- drivers/infiniband/core/sa_query.c | 10 +-

[PATCH v8 23/23] IB/Verbs: Use management helper rdma_cap_eth_ah()

2015-05-05 Thread Michael Wang
Introduce helper rdma_cap_eth_ah() to help us check if the port of an IB device support Ethernet Address Handler. Signed-off-by: Michael Wang yun.w...@profitbricks.com --- drivers/infiniband/core/cma.c | 2 +- drivers/infiniband/core/sa_query.c | 2 +- drivers/infiniband/core/verbs.c|

[PATCH v8 21/23] IB/Verbs: Use management helper rdma_cap_read_multi_sge()

2015-05-05 Thread Michael Wang
Introduce helper rdma_cap_read_multi_sge() to help us check if the port of an IB device support RDMA Read Multiple Scatter-Gather Entries. Signed-off-by: Michael Wang yun.w...@profitbricks.com --- include/rdma/ib_verbs.h | 16

[PATCH v8 22/23] IB/Verbs: Use management helper rdma_cap_af_ib()

2015-05-05 Thread Michael Wang
Introduce helper rdma_cap_af_ib() to help us check if the port of an IB device support Native Infiniband Address. Signed-off-by: Michael Wang yun.w...@profitbricks.com --- drivers/infiniband/core/cma.c | 2 +- include/rdma/ib_verbs.h | 15 +++ 2 files changed, 16

Re: [PATCH v2 0/3] leds: blink resolution improvements

2015-05-05 Thread Stas Sergeev
05.05.2015 11:22, Jacek Anaszewski пишет: On 05/04/2015 07:20 PM, Stas Sergeev wrote: 04.05.2015 18:22, Jacek Anaszewski пишет: On 05/04/2015 02:12 PM, Stas Sergeev wrote: Only under that condition: --- if (led_cdev-blink_delay_on || led_cdev-blink_delay_off) {

Re: [PATCH v2 3/7] ACPI / processor: Introduce invalid_logical_cpuid()

2015-05-05 Thread Hanjun Guo
On 2015年05月05日 20:01, Rafael J. Wysocki wrote: On Tuesday, May 05, 2015 10:46:34 AM Hanjun Guo wrote: In ACPI processor drivers, we use direct comparisons of cpu logical id with -1 which are error prone in case logical cpuid is accidentally assinged an error code and prevents us from returning

Re: [RESEND PATCH] xen: vcpu_info would be reset to wrong place on canceled suspend on PVOPS VM which has multi-cpu

2015-05-05 Thread Ouyang Zhaowei (Charles)
On 2015.5.5 17:09, David Vrabel wrote: On 04/05/15 03:56, Ouyang Zhaowei (Charles) wrote: The hypervisor continues assuming that vcpu_info is stored in per-cpu data which was set up by xen_vcpu_setup(), while on canceled suspend, the call to xen_hvm_init_shared_info() will now make the

Re: [RFC kgr on klp 4/9] livepatch: add kgr infrastructure

2015-05-05 Thread Jiri Slaby
On 05/04/2015, 02:23 PM, Martin Schwidefsky wrote: On Mon, 4 May 2015 13:40:20 +0200 Jiri Slaby jsl...@suse.cz wrote: This means: * add a per-thread flag to indicate whether a task is in the old or in the new universe, * reset it in _slow_ paths of syscall's entry/exit, * add helpers

Re: [PATCH v2 04/15] posix timers:Introduce the 64bit methods with timespec64 type for k_clock structure

2015-05-05 Thread Thomas Gleixner
On Thu, 30 Apr 2015, Baolin Wang wrote: diff --git a/include/linux/posix-timers.h b/include/linux/posix-timers.h index 907f3fd..35786c5 100644 --- a/include/linux/posix-timers.h +++ b/include/linux/posix-timers.h @@ -98,9 +98,13 @@ struct k_itimer { struct k_clock { int

Re: [PATCH v3 0/5] arm64,hi6220: Enable Hisilicon Hi6220 SoC

2015-05-05 Thread Haojian Zhuang
On 5 May 2015 at 12:30, Bintian Wang bintian.w...@huawei.com wrote: Hi6220 is one mobile solution of Hisilicon, this patchset contains initial support for Hi6220 SoC and HiKey development board, which supports octal ARM Cortex A53 cores. Initial support is minimal and includes just the arch

Re: [PATCH v3 7/8] ASoC: wm8998: Initial WM8998 codec driver

2015-05-05 Thread Richard Fitzgerald
+static const char * const wm8998_inmux_texts[] = { + A, + B, Those are some fun input names... ... that's what the mux positions are called and it seems nice to have consistent naming for all similar muxes across channels and across future codecs. Like

RE: [PATCH bisected regression] input_available_p() sometimes says 'no' when it should say 'yes'

2015-05-05 Thread Chris Purvis
A way of giving context. This message has been scanned for malware by Websense. www.websense.com N�r��yb�X��ǧv�^�)޺{.n�+{zX����ܨ}���Ơz�j:+v���zZ+��+zf���h���~i���z��w���?��)ߢf��^jǫy�m��@A�a��� 0��h���i

Re: [PATCH 9/9] ARM: tegra: apalis t30: fix pin muxing and add HDA in device tree

2015-05-05 Thread Thierry Reding
On Fri, Apr 10, 2015 at 11:36:04PM +0200, Marcel Ziswiler wrote: From: Marcel Ziswiler marcel.ziswi...@toradex.com Fix pin muxing, add digital audio aka HDA pin muxing and activate HDA driver. Fix pu vs. gpio_pu pin muxing. While at it also update comment about supported module hardware

[PATCH 1/9] usb:fsl:otg: Add controller version based ULPI and UTMI phy

2015-05-05 Thread Ramneek Mehresh
Add controller version based ULPI and UTMI phy initialization for otg driver Signed-off-by: Shengzhou Liu shengzhou@freescale.com Signed-off-by: Ramneek Mehresh ramneek.mehr...@freescale.com Reviewed-by: Fleming Andrew-AFLEMING aflem...@freescale.com Tested-by: Fleming Andrew-AFLEMING

  1   2   3   4   5   6   7   8   9   10   >