Re: [PATCH] x86_64, asm: Work around AMD SYSRET SS descriptor attribute issue

2015-05-01 Thread Borislav Petkov
On Thu, Apr 30, 2015 at 04:23:26PM -0700, H. Peter Anvin wrote: > I probably should have added that the microbenchmark specifically tests > for an atomic 5-byte NOP (as required by tracepoints etc.) If the > requirement for 5-byte atomic is dropped there might be faster > combinations, e.g. 66 66

Re: A desktop environment[1] kernel wishlist

2015-05-01 Thread Tomeu Vizoso
On 30 April 2015 at 20:54, Chirantan Ekbote wrote: > On Thu, Apr 30, 2015 at 10:23 AM, Olof Johansson wrote: >> Hi, >> >> On Thu, Apr 30, 2015 at 10:10 AM, John Stultz wrote: >>> On Thu, Apr 30, 2015 at 9:25 AM, Bastien Nocera wrote: On Tue, 2014-10-21 at 10:04 -0700, John Stultz wrote:

Re: [PATCH v3] ARM: AM43xx: hwmod: add VPFE hwmod entries

2015-05-01 Thread Lad, Prabhakar
On Fri, Apr 10, 2015 at 11:51 PM, Paul Walmsley wrote: > Hi Prabhakar > > On Fri, 10 Apr 2015, Lad, Prabhakar wrote: > >> Hi Paul, >> >> On Tue, Feb 10, 2015 at 11:10 PM, Paul Walmsley wrote: >> > On Wed, 28 Jan 2015, Benoit Parrot wrote: >> > >> >> Suspend/resume is functional with this patch.

Re: [PATCH] ARM: dts: am437x-gp-evm: add DT nodes for ov2659 sensor

2015-05-01 Thread Lad, Prabhakar
On Fri, Apr 10, 2015 at 9:22 PM, Lad, Prabhakar wrote: > Hi Tony, > > On Tue, Mar 17, 2015 at 2:23 AM, Tony Lindgren wrote: >> * Lad, Prabhakar [150316 18:20]: >>> Hi Tony, >>> >>> On Mon, Mar 16, 2015 at 10:17 PM, Tony Lindgren wrote: >>> > * Lad Prabhakar [150312 16:38]: >>> >> From: "Lad,

Re: [PATCH v10 1/3] smpboot: allow excluding cpus from the smpboot threads

2015-05-01 Thread Frederic Weisbecker
On Thu, Apr 30, 2015 at 03:39:24PM -0400, Chris Metcalf wrote: > This change allows some cores to be excluded from running the > smp_hotplug_thread tasks. The following commit to update > kernel/watchdog.c to use this functionality is the motivating > example, and more information on the

Re: [PATCH RFC 0/2] crypto: Introduce Public Key Encryption API

2015-05-01 Thread Jean Delvare
I have nothing to do with this, please drop me from Cc. Thanks, Jean On Thu, 30 Apr 2015 15:36:47 -0700, Tadeusz Struk wrote: > This patch set introduces a Public Key Encryption API. > What is proposed is a new crypto type called crypto_pke_type > plus new struct pke_alg and struct pke_tfm

Re: [PATCH 2/5] arc: use for_each_sg()

2015-05-01 Thread Vineet Gupta
On Friday 01 May 2015 12:17 PM, Akinobu Mita wrote: > Since arc doesn't select ARCH_HAS_SG_CHAIN, it is not necessary to > use for_each_sg() in order to loop over each sg element. But this can > help find problems with drivers that do not properly initialize their > sg tables when CONFIG_DEBUG_SG

[PATCH V3 2/2 linux-next] cpufreq: pxa: make pxa_freqs arrays const

2015-05-01 Thread Fabian Frederick
pxa255_run_freqs and pxa255_turbo_freqs are only read. This patch updates arrays declaration, find_freq_tables() and its callsites. Suggested-by: Joe Perches Signed-off-by: Fabian Frederick --- Compiled but untested. drivers/cpufreq/pxa2xx-cpufreq.c | 12 ++-- 1 file changed, 6

[PATCH V3 1/2 linux-next] cpufreq: pxa: replace typedef pxa_freqs_t by structure

2015-05-01 Thread Fabian Frederick
typedef is not really useful here. Replace it by structure to improve readability. typedef should only be used in some cases. (See Documentation/CodingStyle Chapter 5 for details). Signed-off-by: Fabian Frederick --- Compiled but untested. V3: -constify arrays(patch 2) (suggested by Joe

Re: [PATCH] net: can: xilinx_can: fix extended frame handling

2015-05-01 Thread Marc Kleine-Budde
On 04/29/2015 05:05 PM, Jeppe Ledet-Pedersen wrote: > Using IDR_SRR in RXFIFO_ID to test for the presence of data is only > valid for standard frames. For extended frames the bit is always 1 and > IDR_RTR should be used instead. This patch switches the check to use > CAN_RTR_FLAG which is

Re: [PATCH 0/4] clk: si5351: Some fixes

2015-05-01 Thread Sebastian Hesselbarth
On 01.05.2015 00:36, Michael Welling wrote: On Fri, May 01, 2015 at 12:21:20AM +0200, Sebastian Hesselbarth wrote: On 30.04.2015 23:20, Michael Welling wrote: On Thu, Apr 30, 2015 at 10:44:07PM +0200, Sebastian Hesselbarth wrote: [...] What I noticed about your clk2 that you always measure

Re: High-resolution timers not supported when using smp_twd

2015-05-01 Thread Mason
Hello John, On 30/04/2015 18:42, John Stultz wrote: > On Thu, Apr 30, 2015 at 5:46 AM, Mason wrote: > >> I wanted to enable high-resolution timers on this Cortex A9 system, >> but it seems there is more to it than just enabling >> >> CONFIG_HIGH_RES_TIMERS=y >> >> (The system is limited to

Re: [PATCH v7 05/15] dt-bindings: Document the STM32 reset bindings

2015-05-01 Thread Daniel Thompson
On 30/04/15 17:20, Maxime Coquelin wrote: This adds documentation of device tree bindings for the STM32 reset controller. Tested-by: Chanwoo Choi Acked-by: Philipp Zabel Acked-by: Rob Herring Signed-off-by: Maxime Coquelin --- .../devicetree/bindings/reset/st,stm32-rcc.txt | 107

Re: [PATCH 2/2] ARM: dts: Fix pinctrl settings for S2MPS11 RTC alarm IRQ on Arndale Octa

2015-05-01 Thread Krzysztof Kozlowski
2015-05-01 0:58 GMT+09:00 Kevin Hilman : > Hi Krzystof, > > Krzysztof Kozlowski writes: > >> 2015-04-02 23:36 GMT+09:00 Krzysztof Kozlowski : >>> On Arndale Octa the S2MPS11 RTC alarm interrupt was not handled at all >>> because of wrong configuration of interrupt and gpx3-2. >>> 1. Interrupt is

Re: [RFT][PATCH 2/2] regulator: max77843: Convert to use regulator_is_enabled_regmap

2015-05-01 Thread Krzysztof Kozłowski
2015-05-01 15:17 GMT+09:00 Axel Lin : > Use regulator_is_enabled_regmap() to replace max77843_reg_is_enabled(). > > Signed-off-by: Axel Lin (sending one more time, this time without HTML) I did not update the max77843 driver with such change (as did for max77693) because I think they should be

[PATCH 4/7] devicetree: bindings: add new SMP enable method Mediatek SoC

2015-05-01 Thread Yingjoe Chen
This commit add new cpu enable method "mediatek,mt65xx-smp" and "mediatek,mt81xx-tz-smp". Signed-off-by: Yingjoe Chen --- Documentation/devicetree/bindings/arm/cpus.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/cpus.txt

[PATCH 6/7] ARM: dts: mt8135: enable basic SMP bringup for mt8135

2015-05-01 Thread Yingjoe Chen
Add arch timer node to enable arch-timer support. MT8135 firmware doesn't correctly setup arch-timer frequency and CNTVOFF, add properties to workaround this. This also set cpu enable-method to enable SMP. Signed-off-by: Yingjoe Chen --- arch/arm/boot/dts/mt8135.dtsi | 16 1

[PATCH 3/7] arm: mediatek: enable gpt6 on boot up to make arch timer working

2015-05-01 Thread Yingjoe Chen
From: Matthias Brugger We enable GTP6 which ungates the arch timer clock. In the future this should be done in the bootloader. Signed-off-by: Matthias Brugger Signed-off-by: Yingjoe Chen --- arch/arm/mach-mediatek/mediatek.c | 29 + 1 file changed, 29

[PATCH 5/7] ARM: mediatek: add smp bringup code

2015-05-01 Thread Yingjoe Chen
Add support for booting secondary CPUs on mt6589, mt8127 and mt8135. Signed-off-by: Yingjoe Chen --- arch/arm/mach-mediatek/Makefile | 3 + arch/arm/mach-mediatek/platsmp.c | 145 +++ 2 files changed, 148 insertions(+) create mode 100644

[PATCH 7/7] ARM: dts: mt8127: enable basic SMP bringup for mt8127

2015-05-01 Thread Yingjoe Chen
Add arch timer node to enable arch-timer support. MT8127 firmware doesn't correctly setup arch-timer frequency and CNTVOFF, add properties to workaround this. This also set cpu enable-method to enable SMP. Signed-off-by: Yingjoe Chen --- arch/arm/boot/dts/mt8127.dtsi | 16 1

[PATCH 2/7] clocksource: mediatek: Use GPT as sched clock source

2015-05-01 Thread Yingjoe Chen
When cpu is in deep idle, arch timer will stop counting. Setup GPT as sched clock source so it can keep counting in idle. Signed-off-by: Yingjoe Chen --- drivers/clocksource/mtk_timer.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/clocksource/mtk_timer.c

[PATCH 0/7] Add SMP bringup support for mt65xx socs

2015-05-01 Thread Yingjoe Chen
This series add SMP brinup support for mediatek SoCs. This is based on v4.1-rc1. There are 2 similar but different SMP bringup up methods on Mediatek mt65xx and mt81xx. On MT8135 & MT8127, system boots with a trustzone firmware. Others, like MT6589, doesn't have trustzone, and run kernel directly

[PATCH 1/7] clocksource: mediatek: Don't run event_handler if it is NULL

2015-05-01 Thread Yingjoe Chen
Spurious timer interrupt is noticed in mtk timer and cause kernel crash. In mtk_timer_interrupt(), only run event_handler if it is not NULL. Signed-off-by: Yingjoe Chen --- drivers/clocksource/mtk_timer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

Re: [PATCH] staging: i2o: Remove unwanted semicolon

2015-05-01 Thread gre...@linuxfoundation.org
On Thu, Apr 30, 2015 at 11:25:48PM +0100, One Thousand Gnomes wrote: > On Thu, 30 Apr 2015 16:14:06 +0200 > "gre...@linuxfoundation.org" wrote: > > > On Thu, Apr 23, 2015 at 04:09:28PM +0100, Alan Cox wrote: > > > On Thu, 2015-04-23 at 13:43 +, Gujulan Elango, Hari Prasath (H.) > > > wrote:

Re: [PATCH] staging: i2o: Remove unwanted semicolon

2015-05-01 Thread Dan Carpenter
On Fri, May 01, 2015 at 10:18:14AM +0300, Dan Carpenter wrote: > On Thu, Apr 30, 2015 at 10:05:00PM +0530, hari prasath wrote: > > >>> Greg I am not sure if this needs to go into next release. I send this > > >>> patch as checkpatch was complaining about it. May be the owners of this > > >>>

Re: [PATCH 1/3] ASoC: Add gtm601 codec driver

2015-05-01 Thread Paul Bolle
Just a nit: a license mismatch. On Thu, 2015-04-30 at 23:28 +0200, Marek Belisko wrote: > --- /dev/null > +++ b/sound/soc/codecs/gtm601.c > + * This program is free software; you can redistribute it and/or modify it > + * under the terms of the GNU General Public License as published by

Re: [PATCH 2/2] UV: NMI: simple dump failover if kdump fails

2015-05-01 Thread Ingo Molnar
* George Beshers wrote: > UV: NMI: simple dump failover if kdump fails > > The ability to trigger a kdump using the system NMI command > was added by > > commit 12ba6c990fab50fe568f3ad8715e81e356552428 > Author: Mike Travis > Date: Mon Sep 23 16:25:03 2013 -0500 > > When

Re: [PATCH RFC 1/2] crypto: add PKE API

2015-05-01 Thread Stephan Mueller
Am Donnerstag, 30. April 2015, 15:36:52 schrieb Tadeusz Struk: Hi Tadeusz, >Add Public Key Encryption API. > >Signed-off-by: Tadeusz Struk >--- > crypto/Kconfig |6 + > crypto/Makefile|1 > crypto/crypto_user.c | 23 + > crypto/pke.c | 114

Re: [PATCH 1/2] UV: NMI: insert per_cpu accessor function on uv_hub_nmi.

2015-05-01 Thread Ingo Molnar
* George Beshers wrote: > UV: NMI: insert this_cpu_read accessor function on uv_hub_nmi. > > UV NMI was accidently broken by this patch. Broken in what way? > commit e16321709c8270f9803bbfdb51e5e02235078c7f > Author: Christoph Lameter > Date: Sun Aug 17 12:30:41 2014 -0500

Re: [PATCH 0/4] Enable deferred error interrupts

2015-05-01 Thread Ingo Molnar
* Aravind Gopalakrishnan wrote: > Newer AMD processors can generate deferred errors and can be configured > to generate APIC interrupts on such events. What's the wider context of this? What is it good for? I suspect it's MCE related, but only from the diffstat: >

Re: [PATCH] staging: i2o: Remove unwanted semicolon

2015-05-01 Thread Dan Carpenter
On Thu, Apr 30, 2015 at 10:05:00PM +0530, hari prasath wrote: > >>> Greg I am not sure if this needs to go into next release. I send this > >>> patch as checkpatch was complaining about it. May be the owners of this > >>> driver can only decide >>> upon it. Alan cox also mentioned the same >

Re: [RFC PATCH 00/22] perf tools: introduce 'perf bpf' command to load eBPF programs.

2015-05-01 Thread Ingo Molnar
* Wang Nan wrote: > This series of patches is an approach to integrate eBPF with perf. Very promising! > After applying these patches, users are allowed to use following > command to load eBPF program compiled by LLVM into kernel: > > $ perf bpf sample_bpf.o Please keep space for a

Re: [PATCH kernel v9 26/32] powerpc/iommu: Add userspace view of TCE table

2015-05-01 Thread Alexey Kardashevskiy
On 05/01/2015 02:23 PM, David Gibson wrote: On Fri, May 01, 2015 at 02:01:17PM +1000, Alexey Kardashevskiy wrote: On 04/29/2015 04:31 PM, David Gibson wrote: On Sat, Apr 25, 2015 at 10:14:50PM +1000, Alexey Kardashevskiy wrote: In order to support memory pre-registration, we need a way to

[RFC][PATCH 3/4] perf/powerpc: Move mfspr and friends to header file

2015-05-01 Thread Sukadev Bhattiprolu
mfspr() and related macros will be needed in two separate files. Move these defintions to a common header file. Signed-off-by: Sukadev Bhattiprolu --- tools/perf/arch/powerpc/util/header.c |9 + tools/perf/arch/powerpc/util/header.h |9 + 2 files changed, 10

[RFC][PATCH 4/4] perf: Create aliases for PMU events

2015-05-01 Thread Sukadev Bhattiprolu
Using the tables of Power7 and Power8 events, create aliases for the Power PMU events. This would allow us to specify all Power events by name rather than by raw code: $ /tmp/perf stat -e PM_1PLUS_PPC_CMPL sleep 1 Performance counter stats for 'sleep 1':

[RFC][PATCH 1/4] perf: Create a table of Power7 PMU events

2015-05-01 Thread Sukadev Bhattiprolu
This table will be used in a follow-on patch to allow specifying Power7 events by name rather than by their raw codes. Signed-off-by: Sukadev Bhattiprolu --- tools/perf/arch/powerpc/util/power7-events.h | 3315 ++ 1 file changed, 3315 insertions(+) create mode 100644

[RFC][PATCH 0/4] perf: Enable symbolic event names

2015-05-01 Thread Sukadev Bhattiprolu
Implement ability to specify Power PMU events by their symbolic event names rather than raw codes. This approach pulls tables of the Power7 and Power8 PMU events into the perf source tree and uses these tables to create aliases for the PMU events. With these aliases users can run: perf

Re: [PATCH 3/3] MTD: spi-nor: add flag to not use sector erase.

2015-05-01 Thread Michal Suchanek
On 1 May 2015 at 01:13, Marek Vasut wrote: > On Thursday, April 30, 2015 at 11:13:12 PM, Michal Suchanek wrote: >> The sector size of the flash memory is unclear from datasheet or may >> possibly vary between chips so add a flag to always use 4k blocks. >> >> Currently 4k blocks are always used

Re: [PATCH v3 4/6] crypto: drbg - add async seeding operation

2015-05-01 Thread Stephan Mueller
Am Freitag, 1. Mai 2015, 11:13:31 schrieb Herbert Xu: Hi Herbert, >On Tue, Apr 28, 2015 at 05:00:03AM +0200, Stephan Mueller wrote: >> @@ -1081,6 +1115,11 @@ static int drbg_seed(struct drbg_state *drbg, struct >> drbg_string *pers,> >> return -EINVAL; >> >> } >> >> +

Re: perf: WARNING perfevents: irq loop stuck!

2015-05-01 Thread Ingo Molnar
* Vince Weaver wrote: > So this is just a warning, and I've reported it before, but the > perf_fuzzer triggers this fairly regularly on my Haswell system. > > It looks like fixed counter 0 (retired instructions) being set to > fffe occasionally causes an irq loop storm and gets

Re: [PATCH kernel v9 27/32] powerpc/iommu/ioda2: Add get_table_size() to calculate the size of future table

2015-05-01 Thread Alexey Kardashevskiy
On 05/01/2015 03:12 PM, David Gibson wrote: On Fri, May 01, 2015 at 02:10:58PM +1000, Alexey Kardashevskiy wrote: On 04/29/2015 04:40 PM, David Gibson wrote: On Sat, Apr 25, 2015 at 10:14:51PM +1000, Alexey Kardashevskiy wrote: This adds a way for the IOMMU user to know how much a new table

Re: [PATCH v2] scripts/gdb: Add command to check list consistency

2015-05-01 Thread Jan Kiszka
On 2015-04-24 03:57, Thiébaud Weksteen wrote: > Add a gdb script to verify the consistency of lists. > > Signed-off-by: Thiébaud Weksteen > --- > Implement suggestions from Jan. > > Changes in v2: > - Add copyright line > - Rename check_list to list_check > - Remove casting and only accept

[PATCH v2 2/2] arm64: dts: mt8173: Fixup pinctrl nodes

2015-05-01 Thread Yingjoe Chen
The 8173 pinctrl node doesn't follow dts convention. Fix them. Also add a comment to explain pinctrl register usage to make it more clear. Signed-off-by: Yingjoe Chen Reviewed-by: Daniel Kurtz --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 22 +- 1 file changed, 13

[PATCH v2 1/2] ARM: dts: mt8135: Add pinctrl/GPIO/EINT node for mt8135.

2015-05-01 Thread Yingjoe Chen
From: Hongzhou Yang Patches based on v4.1-rc1. Change according to Matthias' suggestion. - Remove comments on syscfg nodes - Sort nodes by instance address & name. ---8< Add pinctrl,GPIO and EINT node to mt8135.dtsi.

[PATCH 3/5] metag: use for_each_sg()

2015-05-01 Thread Akinobu Mita
Since metag doesn't select ARCH_HAS_SG_CHAIN, it is not necessary to use for_each_sg() in order to loop over each sg element. But this can help find problems with drivers that do not properly initialize their sg tables when CONFIG_DEBUG_SG is enabled. Signed-off-by: Akinobu Mita Cc: James Hogan

[PATCH 5/5] mips: use for_each_sg()

2015-05-01 Thread Akinobu Mita
Since mips doesn't select ARCH_HAS_SG_CHAIN, it is not necessary to use for_each_sg() in order to loop over each sg element. But this can help find problems with drivers that do not properly initialize their sg tables when CONFIG_DEBUG_SG is enabled. Signed-off-by: Akinobu Mita Cc: Ralf Baechle

[PATCH 4/5] xtensa: use for_each_sg()

2015-05-01 Thread Akinobu Mita
Since xtensa doesn't select ARCH_HAS_SG_CHAIN, it is not necessary to use for_each_sg() in order to loop over each sg element. But this can help find problems with drivers that do not properly initialize their sg tables when CONFIG_DEBUG_SG is enabled. Signed-off-by: Akinobu Mita Cc: Chris

[PATCH 2/5] arc: use for_each_sg()

2015-05-01 Thread Akinobu Mita
Since arc doesn't select ARCH_HAS_SG_CHAIN, it is not necessary to use for_each_sg() in order to loop over each sg element. But this can help find problems with drivers that do not properly initialize their sg tables when CONFIG_DEBUG_SG is enabled. Signed-off-by: Akinobu Mita Cc: Vineet Gupta

[PATCH 1/5] m68k: use for_each_sg()

2015-05-01 Thread Akinobu Mita
Since m68k doesn't select ARCH_HAS_SG_CHAIN, it is not necessary to use for_each_sg() in order to loop over each sg element. But this can help find problems with drivers that do not properly initialize their sg tables when CONFIG_DEBUG_SG is enabled. Signed-off-by: Akinobu Mita Cc: Geert

[BUG] Jiffies not incrementing, tick_handover_do_timer strictly tied to hotplug

2015-05-01 Thread pawandeep oza
Hi, Linux version 3.10.17 Problem Statement: The timekeeping/do_timer seems to be stopped and the core (in this case it is core0) which is aborting is stuck in the loop which relies on jiffies. The root cause/Reason: we have tickless kernel, so cpu goes to deep idle state, and stop sched

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

2015-05-01 Thread Lee Jones
On Fri, 01 May 2015, Sascha Hauer wrote: > On Thu, Apr 30, 2015 at 10:57:22AM +0100, Lee Jones wrote: > > On Wed, 29 Apr 2015, Maxime Ripard wrote: > > > > > On Wed, Apr 29, 2015 at 03:17:51PM +0100, Lee Jones wrote: > > > > On Wed, 22 Apr 2015, Maxime Ripard wrote: > > > > > > > > > On Wed, Apr

Re: [PATCH 3/3] context_tracking,x86: remove extraneous irq disable & enable from context tracking on syscall entry

2015-05-01 Thread Ingo Molnar
* r...@redhat.com wrote: > From: Rik van Riel > > On syscall entry with nohz_full on, we enable interrupts, call user_exit, > disable interrupts, do something, re-enable interrupts, and go on our > merry way. > > Profiling shows that a large amount of the nohz_full overhead comes > from the

Re: [PATCH v7 00/23] IB/Verbs: IB Management Helpers

2015-05-01 Thread ira.weiny
On Tue, Apr 28, 2015 at 05:10:00PM +0200, Michael Wang wrote: > Since v6: > * Thanks to Ira, Devesh for the review and testing :-) > * Thanks for the comments from Sean, Tom, Jason, Doug, Devesh, Ira, > Liran :-) Please remind me if anything missed :-P > * Use query_protocol() and enum

Re: [GIT PULL 0/7] perf/urgent fixes

2015-05-01 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Hi Ingo, > > Please consider pulling, this is on top of my previous > 'perf-urgent-for-mingo' > pull request. > > - Arnaldo > > The following changes since commit de28c15daf60e9625bece22f13a091fac8d05f1d: > > tools lib api: Undefine

Re: [PATCH kernel v9 29/32] vfio: powerpc/spapr: Register memory and define IOMMU v2

2015-05-01 Thread Alexey Kardashevskiy
On 05/01/2015 03:23 PM, David Gibson wrote: On Fri, May 01, 2015 at 02:35:23PM +1000, Alexey Kardashevskiy wrote: On 04/30/2015 04:55 PM, David Gibson wrote: On Sat, Apr 25, 2015 at 10:14:53PM +1000, Alexey Kardashevskiy wrote: The existing implementation accounts the whole DMA window in the

Re: [PATCH 2/2] brcmfmac: keep WiFi chip's power during system suspension

2015-05-01 Thread Fu, Zhonghui
On 2015/4/27 16:53, Arend van Spriel wrote: > On 04/27/15 07:06, Fu, Zhonghui wrote: >> Need to keep the power supply for WiFi chip during system suspension. >> Otherwise, the context of WiFi chip will be lost. > > I already submitted a patch doing exactly the same thing [1] OK, please ignore

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

2015-05-01 Thread NeilBrown
Hi Peter, I recently had a report of a regression in 3.12. I bisected it down to your patch f95499c3030f ("n_tty: Don't wait for buffer work in read() loop") Sometimes a poll on a master-pty will report there is nothing to read after the slave has written something. As test program is

[RFT][PATCH 2/2] regulator: max77843: Convert to use regulator_is_enabled_regmap

2015-05-01 Thread Axel Lin
Use regulator_is_enabled_regmap() to replace max77843_reg_is_enabled(). Signed-off-by: Axel Lin --- drivers/regulator/max77843.c | 18 ++ 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/drivers/regulator/max77843.c b/drivers/regulator/max77843.c index

[RFT][PATCH 1/2] regulator: max77843: Fix enable_mask for max77843 charger

2015-05-01 Thread Axel Lin
MAX77843_CHG_ENABLE is 0x05, so the enable_mask should be MAX77843_CHG_MASK | MAX77843_CHG_BUCK_MASK. Signed-off-by: Axel Lin --- Hi, I don't have this h/w, so please help to review and test this patch serial. Thanks, Axel drivers/regulator/max77843.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH kernel v9 31/32] vfio: powerpc/spapr: Support multiple groups in one container if possible

2015-05-01 Thread Alexey Kardashevskiy
On 05/01/2015 02:33 PM, David Gibson wrote: On Thu, Apr 30, 2015 at 07:33:09PM +1000, Alexey Kardashevskiy wrote: On 04/30/2015 05:22 PM, David Gibson wrote: On Sat, Apr 25, 2015 at 10:14:55PM +1000, Alexey Kardashevskiy wrote: At the moment only one group per container is supported. POWER8

Re: [PATCH] x86/mce: fix mce_restart() race with CPU hotplug operation

2015-05-01 Thread Ethan Zhao
On Fri, May 1, 2015 at 12:29 AM, Borislav Petkov wrote: > On Thu, Apr 30, 2015 at 12:04:53AM +0900, Ethan Zhao wrote: >> while testing CPU hotplug and MCE with following two scripts, >> >> script 1: >> >> for i in {1..30}; do while :; do ((a=$RANDOM%160)); echo 0 >> >>

Re: [1/2] RTC: Add core rtc support for Gemini Soc devices

2015-05-01 Thread Alexandre Belloni
Hi, On 14/12/2010 at 16:08:26 +0100, Hans Ulli Kroll wrote : driver for the rtc device on Cortina Systems CS3516 or StormlinkSemi SL3516 aka Gemini SoC Signed-off-by: Hans Ulli Kroll ulli.kr...@googlemail.com This driver has never been merged and the platform doesn't seem to be active

Re: Regression: Disk corruption with dm-crypt and kernels = 4.0

2015-05-01 Thread Abelardo Ricart III
On Fri, 2015-05-01 at 18:24 -0400, Abelardo Ricart III wrote: On Fri, 2015-05-01 at 17:17 -0400, Mike Snitzer wrote: On Fri, May 01 2015 at 12:37am -0400, Abelardo Ricart III aric...@memnix.com wrote: I made sure to run a completely vanilla kernel when testing why I was suddenly

Re: [PATCH] ktime: Fix ktime_divns to do signed division

2015-05-01 Thread John Stultz
On Fri, May 1, 2015 at 4:54 PM, Nicolas Pitre nicolas.pi...@linaro.org wrote: On Fri, 1 May 2015, John Stultz wrote: It was noted that the 32bit implementation of ktime_divns was doing unsgined division adn didn't properly handle negative values. This patch fixes the problem by checking and

[PATCH 3/7] x86/intel_rdt: Support cache bit mask for Intel CAT

2015-05-01 Thread Vikas Shivappa
Add support for cache bit mask manipulation. The change adds a file cache_mask to the RDT cgroup which represents the CBM(cache bit mask) for the cgroup. Update to the CBM is done by writing to the IA32_L3_MASK_n. The RDT cgroup follows cgroup hierarchy ,mkdir and adding tasks to the cgroup

[PATCH 6/7] x86/intel_rdt: Intel haswell CAT enumeration

2015-05-01 Thread Vikas Shivappa
CAT(Cache Allocation Technology) on hsw needs to be enumerated separately. CAT is only supported on certain HSW SKUs. This patch does a probe test for hsw CPUs by writing a CLOSid into high 32 bits of IA32_PQR_MSR and see if the bits stick. The probe test is only done after confirming that the

[PATCH 5/7] x86/intel_rdt: Software Cache for IA32_PQR_MSR

2015-05-01 Thread Vikas Shivappa
This patch implements a common software cache for IA32_PQR_MSR(RMID 0:9, CLOSId 32:63) to be used by both CMT and CAT. CMT updates the RMID where as CAT updates the CLOSid in the software cache. When the new RMID/CLOSid value is different from the cached values, IA32_PQR_MSR is updated. Since

[PATCH 7/7] x86/intel_rdt: Add CAT documentation and usage guide

2015-05-01 Thread Vikas Shivappa
Adds a description of Cache allocation technology, overview of kernel implementation and usage of CAT cgroup interface. Signed-off-by: Vikas Shivappa vikas.shiva...@linux.intel.com --- Documentation/cgroups/rdt.txt | 180 ++ 1 file changed, 180

[PATCH 1/7] x86/intel_rdt: Intel Cache Allocation Technology detection

2015-05-01 Thread Vikas Shivappa
This patch adds support for the new Cache Allocation Technology (CAT) feature found in future Intel Xeon processors. CAT is part of Intel Resource Director Technology(RDT) which enables sharing of processor resources. This patch includes CPUID enumeration routines for CAT and new values to track

[PATCH 2/7] x86/intel_rdt: Adds support for Class of service management

2015-05-01 Thread Vikas Shivappa
This patch adds a cgroup subsystem to support Intel Resource Director Technology(RDT) or Platform Shared resources Control. The resources that are currently supported for sharing is L3 cache (Cache Allocation Technology or CAT). When a RDT cgroup is created it has a CLOSid and CBM associated with

Re: [PATCH] ktime: Fix ktime_divns to do signed division

2015-05-01 Thread John Stultz
Bah. I forgot to add [RFC] to the subject. This patch isn't yet ready for submission, I just wanted to get some initial feedback on it. thanks -john On Fri, May 1, 2015 at 3:41 PM, John Stultz john.stu...@linaro.org wrote: It was noted that the 32bit implementation of ktime_divns was doing

Re: [PATCH 15/17] ACPICA/ARM: ACPI 5.1: Update for GTDT table changes.

2015-05-01 Thread Timur Tabi
On Tue, Jul 29, 2014 at 11:21 PM, Lv Zheng lv.zh...@intel.com wrote: From: Tomasz Nowicki tomasz.nowi...@linaro.org New fields and new subtables. Tomasz Nowicki. tomasz.nowi...@linaro.org Signed-off-by: Tomasz Nowicki tomasz.nowi...@linaro.org Signed-off-by: Hanjun Guo hanjun@linaro.org

[PATCH v1] x86: punit_atom: punit device state debug driver

2015-05-01 Thread Srinivas Pandruvada
The patch adds a debug driver, which dumps the power states of all the North complex (NC) devices. This debug interface is useful to figure out the NC IPs which blocks the S0ix transitions on the platform. This is extremely useful during enabling PM on customer platforms and derivatives. This

[PATCH v1] x86: punit_atom: punit device state debug driver

2015-05-01 Thread Srinivas Pandruvada
v1 Based on review comments - Changed to tristate instead of bool - Moved config to kconfig.debug - Added debug in module name - Returning -ENXIO on debugfs file create error v0: Base version Srinivas Pandruvada (1): x86: punit_atom: punit device state debug driver

Re: Tux3 Report: How fast can we fsync?

2015-05-01 Thread Daniel Phillips
On Friday, May 1, 2015 8:38:55 AM PDT, Dave Chinner wrote: Well, yes - I never claimed XFS is a general purpose filesystem. It is a high performance filesystem. Is is also becoming more relevant to general purpose systems as low cost storage gains capabilities that used to be considered the

[GIT PULL] Ceph RBD fix for -rc2

2015-05-01 Thread Sage Weil
Hi Linus, Please pull the following RBD fix from git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client.git for-linus Thanks! sage Ilya Dryomov (1): rbd: end I/O the entire obj_request on error

[PATCH 08/19] f2fs: clean up f2fs_lookup

2015-05-01 Thread Jaegeuk Kim
This patch cleans up to avoid deep indentation. Signed-off-by: Jaegeuk Kim jaeg...@kernel.org --- fs/f2fs/namei.c | 31 --- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/fs/f2fs/namei.c b/fs/f2fs/namei.c index 658e807..a311c3c 100644 ---

[PATCH 05/19] f2fs: add f2fs_map_blocks

2015-05-01 Thread Jaegeuk Kim
This patch introduces f2fs_map_blocks structure likewise ext4_map_blocks. Now, f2fs uses f2fs_map_blocks when handling get_block. Signed-off-by: Jaegeuk Kim jaeg...@kernel.org --- fs/f2fs/data.c | 72 ++--- fs/f2fs/f2fs.h | 16

[PATCH 05/10] parse_integer: convert lib/

2015-05-01 Thread Alexey Dobriyan
Convert away lib/ from deprecated simple_strto*() interfaces. (int []){0}[0] expression is anonymous variable, don't be scared. Filesystem option parser code does parsing 1.5 times: first to know boundaries of a value (args[0].from, args[0].to) and then actual parsing with match_number(). Noody

[PATCH 03/19] f2fs: move existing definitions into f2fs.h

2015-05-01 Thread Jaegeuk Kim
This patch moves some inode-related definitions from node.h to f2fs.h to add new features. Signed-off-by: Jaegeuk Kim jaeg...@kernel.org --- fs/f2fs/f2fs.h | 22 ++ fs/f2fs/node.h | 22 -- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git

Re: Regression: Disk corruption with dm-crypt and kernels = 4.0

2015-05-01 Thread Abelardo Ricart III
On Fri, 2015-05-01 at 17:17 -0400, Mike Snitzer wrote: On Fri, May 01 2015 at 12:37am -0400, Abelardo Ricart III aric...@memnix.com wrote: I made sure to run a completely vanilla kernel when testing why I was suddenly seeing some nasty libata errors with all kernels = v4.0. Here's a

[PATCH] Fix an error that can cause fsl espi task blocked for more than 120 seconds

2015-05-01 Thread Jane Wan
Incorrect condition is used in spin_event_timeout(). When the TX is done, the SPIE_NF bit in ESPI_SPIE register is set to 1 to indicate the Tx FIFO is not full. If the bit is 0, it indicates the Tx FIFO is full. Due to this error, if the Tx FIFO is full at the beginning, but becomes not full

Re: [PATCH 0/13] Parallel struct page initialisation v4

2015-05-01 Thread Waiman Long
On 05/01/2015 06:02 PM, Waiman Long wrote: Bad news! I tried your patch on a 24-TB DragonHawk and got an out of memory panic. The kernel log messages were: : [ 80.126186] CPU 474: hi: 186, btch: 31 usd: 0 [ 80.131457] CPU 475: hi: 186, btch: 31 usd: 0 [ 80.136726] CPU 476:

[PATCH 01/10] Add parse_integer() (replacement for simple_strto*())

2015-05-01 Thread Alexey Dobriyan
kstrto*() and kstrto*_from_user() family of functions were added to help with parsing one integer written as string to proc/sysfs/debugfs files. But they have a limitation: string passed must end with \0 or \n\0. There are enough places where kstrto*() functions can't be used because of this

[GIT] Networking

2015-05-01 Thread David Miller
1) Receive packet length needs to be adjust by 2 on RX to accomodate the two padding bytes in altera_tse driver. From Vlastimil Setka. 2) If rx frame is dropped due to out of memory in macb driver, we leave the receive ring descriptors in an undefined state. From Punnaiah Choudary

Re: [PATCH 3/3] context_tracking,x86: remove extraneous irq disable enable from context tracking on syscall entry

2015-05-01 Thread Mike Galbraith
On Fri, 2015-05-01 at 14:05 -0400, Rik van Riel wrote: On 05/01/2015 12:34 PM, Ingo Molnar wrote: * Rik van Riel r...@redhat.com wrote: I can understand people running hard-RT workloads not wanting to see the overhead of a timer tick or a scheduler tick with variable (and

Re: [PATCH] x86: Optimize variable_test_bit()

2015-05-01 Thread Vladimir Makarov
On 01/05/15 04:49 PM, Linus Torvalds wrote: On Fri, May 1, 2015 at 12:02 PM, Vladimir Makarov vmaka...@redhat.com wrote: GCC RA is a major reason to prohibit output operands for asm goto. Hmm.. Thinking some more about it, I think that what would actually work really well at least for the

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

2015-05-01 Thread Kuppuswamy Sathyanarayanan
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 input ABI. Signed-off-by: Kuppuswamy Sathyanarayanan sathyanarayanan.kuppusw...@linux.intel.com ---

Re: [PATCH] sysfs: tightened sysfs permission checks

2015-05-01 Thread Rusty Russell
Gobinda Charan Maji gobinda.cem...@gmail.com writes: There were some inconsistency in restriction to VERIFY_OCTAL_PERMISSIONS(). Previously the test was User perms = group perms = other perms. The permission field of User, Group or Other consists of three bits. LSB is EXECUTE permission, MSB

Re: [PATCH v3 0/2] clk: improve handling of orphan clocks

2015-05-01 Thread Stephen Boyd
On 05/01/15 15:07, Heiko Stübner wrote: Am Freitag, 1. Mai 2015, 13:52:47 schrieb Stephen Boyd: Instead I guess we could hook it less deep into clk_get_sys, like in the following patch? It looks like it will work at least, but still I'd prefer to keep the orphan check contained to clk.c. How

Re: [dm-devel] Regression: Disk corruption with dm-crypt and kernels = 4.0

2015-05-01 Thread Abelardo Ricart III
On Fri, 2015-05-01 at 22:47 +0100, Alasdair G Kergon wrote: On Fri, May 01, 2015 at 12:37:07AM -0400, Abelardo Ricart III wrote: # first bad commit: [cf2f1abfbd0dba701f7f16ef619e4d2485de3366] dm crypt: don't allocate pages for a partial request That's not a particularly good commit to

Re: [PATCH 3/3] ipc/mqueue: lockless pipelined wakeups

2015-05-01 Thread Davidlohr Bueso
On Fri, 2015-05-01 at 17:52 -0400, George Spelvin wrote: In general, Acked-by, but you're making me fix all your comments. :-) This is a nice use of the wake queue, since the code was already handling the same problem in a similar way with STATE_PENDING. * The receiver accepts the

[PATCH 12/19] f2fs: introduce dot and dotdot name check

2015-05-01 Thread Jaegeuk Kim
This patch adds an inline function to check dot and dotdot names. Signed-off-by: Jaegeuk Kim jaeg...@kernel.org --- fs/f2fs/f2fs.h | 11 +++ fs/f2fs/hash.c | 3 +-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index e99a404..b8f99fd

[PATCH 04/19] f2fs: add feature facility in superblock

2015-05-01 Thread Jaegeuk Kim
This patch introduces a feature in superblock, which will indicate any new features for f2fs. Signed-off-by: Jaegeuk Kim jaeg...@kernel.org --- fs/f2fs/f2fs.h | 7 +++ include/linux/f2fs_fs.h | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/fs/f2fs/f2fs.h

[PATCH 10/19] f2fs: add sbi and page pointer in f2fs_io_info

2015-05-01 Thread Jaegeuk Kim
This patch adds f2fs_sb_info and page pointers in f2fs_io_info structure. With this change, we can reduce a lot of parameters for IO functions. Signed-off-by: Jaegeuk Kim jaeg...@kernel.org --- fs/f2fs/checkpoint.c | 9 +++-- fs/f2fs/data.c | 47

[PATCH 13/19] f2fs: fix race on allocating and deallocating a dentry block

2015-05-01 Thread Jaegeuk Kim
There are two threads: f2fs_delete_entry() get_new_data_page() f2fs_reserve_block() dn.blkaddr = XXX lock_page(dentry_block) truncate_hole() dn.blkaddr = NULL unlock_page(dentry_block)

[PATCH 09/19] f2fs: add f2fs_may_inline_{data, dentry}

2015-05-01 Thread Jaegeuk Kim
This patch adds f2fs_may_inline_data and f2fs_may_inline_dentry. Signed-off-by: Jaegeuk Kim jaeg...@kernel.org --- fs/f2fs/f2fs.h | 3 ++- fs/f2fs/file.c | 2 +- fs/f2fs/inline.c | 13 - fs/f2fs/namei.c | 4 ++-- 4 files changed, 17 insertions(+), 5 deletions(-) diff --git

[PATCH CORRECT 03/10] parse_integer: convert sscanf()

2015-05-01 Thread Alexey Dobriyan
Rewrite kstrto*() functions through parse_integer(). _kstrtoul() and _kstrtol() are removed because parse_integer() can dispatch based on BITS_PER_LONG saving function call. Also move function definitions and comment one instance. Remove redundant boilerplate comments from elsewhere. High bit

[PATCH 4/7] x86/intel_rdt: Implement scheduling support for Intel RDT

2015-05-01 Thread Vikas Shivappa
Adds support for IA32_PQR_ASSOC MSR writes during task scheduling. The high 32 bits in the per processor MSR IA32_PQR_ASSOC represents the CLOSid. During context switch kernel implements this by writing the CLOSid of the cgroup to which the task belongs to the CPU's IA32_PQR_ASSOC MSR. For Cache

[PATCH V6 0/7] x86/intel_rdt: Intel Cache Allocation Technology

2015-05-01 Thread Vikas Shivappa
This patch adds a cgroup subsystem to support the new Cache Allocation Technology (CAT) feature found in future Intel Xeon Intel processors. CAT is part of Resource Director Technology(RDT) or Platform Shared resource control which provides support to control sharing of platform resources like

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