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

2015-04-30 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 wi

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

2015-04-30 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 (s

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

2015-04-30 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 insertion

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

2015-04-30 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. Signed-off

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

2015-04-30 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-04-30 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-04-30 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 Zanke

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

2015-04-30 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-04-30 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 Uytterh

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

2015-04-30 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 tick.

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

2015-04-30 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-04-30 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 e

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

2015-04-30 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 pr

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

2015-04-30 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 _FORTIFY_SOURC

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

2015-04-30 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 l

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

2015-04-30 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 th

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

2015-04-30 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 bel

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

2015-04-30 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 3ae2a9b..f4fd

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

2015-04-30 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 de

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

2015-04-30 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 CP

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

2015-04-30 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 >> >> /sys/devices/system/cpu/

Re: [PATCH] Timer: fix a race condition between init_timers_cpu() and get_next_timer_interrupt()

2015-04-30 Thread Ethan Zhao
This patches works with 4.0.1, but doesn't work with 4.1-rc1+ Thanks, Ethan On Wed, Apr 29, 2015 at 10:58 PM, 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 >> > /sys/devices/syste

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

2015-04-30 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 >> >> /sys/devices/system/cpu/

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

2015-04-30 Thread Abelardo Ricart III
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 snippet: >8 [ 165.592136] ata5.00: exception Emask 0x60 SAct 0x7000 SErr 0x800 action 0x6 frozen [ 165.592140]

[PATCH V2 1/2] mm/thp: Use new functions to clear pmd on splitting and collapse

2015-04-30 Thread Aneesh Kumar K.V
Some arch may require an explicit IPI before a THP PMD split or collapse. This enable us to use local_irq_disable to prevent a parallel THP PMD split or collapse. Signed-off-by: Aneesh Kumar K.V --- include/asm-generic/pgtable.h | 32 mm/huge_memory.c

[PATCH V2 2/2] powerpc/thp: Remove _PAGE_SPLITTING and related code

2015-04-30 Thread Aneesh Kumar K.V
With the new thp refcounting we don't need to mark the PMD splitting. Drop the code to handle this. Signed-off-by: Aneesh Kumar K.V --- arch/powerpc/include/asm/kvm_book3s_64.h | 6 -- arch/powerpc/include/asm/pgtable-ppc64.h | 29 ++-- arch/powerpc/mm/hugepage-hash64.c| 3 - ar

[PATCH V2 0/2] Remove _PAGE_SPLITTING from ppc64

2015-04-30 Thread Aneesh Kumar K.V
The changes are on top of what is posted at http://mid.gmane.org/1429823043-157133-1-git-send-email-kirill.shute...@linux.intel.com git://git.kernel.org/pub/scm/linux/kernel/git/kas/linux.git thp/refcounting/v5 Changes from V1: * Fold part of patch 3 to 1 and 2 * Drop patch 3. * Make generic

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

2015-04-30 Thread Sascha Hauer
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 08, 2015 at 06:23:44PM +0100, Lee Jones wrote: > > > >

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

2015-04-30 Thread David Gibson
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 locked_vm counter. This is going to b

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

2015-04-30 Thread David Gibson
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 will > >>use so it can be accounted in the

Re: mmotm 2015-04-30-15-43 uploaded

2015-04-30 Thread Guenter Roeck
On Thu, Apr 30, 2015 at 03:44:10PM -0700, a...@linux-foundation.org wrote: > The mm-of-the-moment snapshot 2015-04-30-15-43 has been uploaded to > >http://www.ozlabs.org/~akpm/mmotm/ > > mmotm-readme.txt says > > README for mm-of-the-moment: > > http://www.ozlabs.org/~akpm/mmotm/ > > This

Re: [1/4] watchdog: MAX63XX_WATCHDOG does not depend on ARM

2015-04-30 Thread Guenter Roeck
On Thu, Jan 29, 2015 at 12:15:42PM -0500, Vivien Didelot wrote: > Remove the ARM Kconfig dependency since the Maxim MAX63xx devices are > architecture independent. > > Signed-off-by: Vivien Didelot Reviewed-by: Guenter Roeck -- To unsubscribe from this list: send the line "unsubscribe linux-ker

Re: [RFC 1/2] ACPI: activate&export acpi_os_get_physical_address

2015-04-30 Thread Matthew Garrett
On Fri, May 01, 2015 at 03:45:52AM +0200, Rafael J. Wysocki wrote: > And I don't really understand the Matthew's comment regarding limiting > operation regions to system memory. This is about a specific operation > region (which BTW only seems to be used as a means to access system memory > at th

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

2015-04-30 Thread David Gibson
On Fri, May 01, 2015 at 10:46:08AM +1000, Benjamin Herrenschmidt wrote: > On Thu, 2015-04-30 at 19:33 +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 pe

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

2015-04-30 Thread David Gibson
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 track > >>the use of every registered memory

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

2015-04-30 Thread David Gibson
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 CPUs have more flexible design and all

[PATCH 1/2] dt-bindings: Add pxa1928 clock binding

2015-04-30 Thread Rob Herring
This adds the clock binding documentation for the Marvell PXA1928 SOC. The PXA1928 has 3 clock control blocks for different subsystems of the chip. Signed-off-by: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala --- .../devicetree/bindings/clock/marvell,pxa1928.txt

[PATCH 2/2] clk: mmp: add PXA1928 clock support

2015-04-30 Thread Rob Herring
Add initial clock support for Marvell PXA1928. The PXA1928 is a mobile SOC and is similar to other MMP/PXA series of SOCs, so a lot of the existing infrastructure is reused here. Currently the PLLs are just fixed clocks, and not all leaf clocks are implemented. Signed-off-by: Rob Herring Cc: Mik

Re: 3.17.0+ files disappearing after playing old dos game on nfsroot laptop

2015-04-30 Thread Eric W. Biederman
Hans de Bruin writes: >> I expect what needs to happen is to confirm that nfs directory entry >> revalidation is buggy, and at least for the short term re-add the nfs >> logic that will avoid dropping a dentry if it is a mount point, or >> path to a mount point, to avoid the nfs bugs. >> > > ok,

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

2015-04-30 Thread Alexei Starovoitov
On 4/30/15 3:52 AM, Wang Nan wrote: This series of patches is an approach to integrate eBPF with perf. 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 The required BPF code and the loading proc

Re: [PATCH V2 net-next 1/1] hv_netvsc: Use the xmit_more skb flag to optimize signaling the host

2015-04-30 Thread Eric Dumazet
On Thu, 2015-04-30 at 16:29 -0700, K. Y. Srinivasan wrote: > Based on the information given to this driver (via the xmit_more skb flag), > we can defer signaling the host if more packets are on the way. This will help > make the host more efficient since it can potentially process a larger batch >

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

2015-04-30 Thread Alexey Kardashevskiy
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 locked_vm counter. This is going to be worse with multiple containers and huge DMA windows. Also, real-time accountin

linux-next: Tree for May 1

2015-04-30 Thread Stephen Rothwell
Hi all, Changes since 20150430: The sound-asoc tree lost its build failure. The akpm-current tree gained a build failure for which I apllied a fix patch. Non-merge commits (relative to Linus' tree): 1233 1252 files changed, 78167 insertions(+), 22093 dele

[PATCH 3/3] Change all uses of JOBCTL_* from int to long

2015-04-30 Thread Palmer Dabbelt
c56fb6564dcd ("Fix a misaligned load inside ptrace_attach()") makes jobctl an "unsigned long". It makes sense to have the masks applied to it match that type. This is currently just a cosmetic change, but it will prevent the mask from being unexpectedly truncated if we ever end up with masks with

[PATCH 1/3] Fix a misaligned load inside ptrace_attach()

2015-04-30 Thread Palmer Dabbelt
The misaligned load exception arises when running ptrace_attach() on the RISC-V (which hasn't been upstreamed yet). The problem is that wait_on_bit() takes a void* but then proceeds to call test_bit(), which takes a long*. This allows an int-aligned pointer to be passed to test_bit(), which promp

[PATCH 2/3] Change wait_on_bit*() to take an unsigned long*, not a void*

2015-04-30 Thread Palmer Dabbelt
The implementations of wait_on_bit*() will only work with long-aligned memory on systems that don't support misaligned loads and stores. This patch changes the function prototypes to ensure that the compiler will enforce alignment. Running make defconfig make KFLAGS="-Werror" seems to indica

[PATCH 0/3] Fix a misaligned load inside ptrace_attach()

2015-04-30 Thread Palmer Dabbelt
I ran across what I believe is a bug in some asm-generic code while working on the RISC-V Linux port. Essentially the problem is that wait_on_bit() takes a void *, but then perfroms long-aligned operation. As far as I can tell, this bug could manifest on any other architecture that doesn't suppor

linux-next: build failure after merge of the akpm-current tree

2015-04-30 Thread Stephen Rothwell
Hi Andrew, After merging the akpm tree, today's linux-next build (sparc defconfig) failed like this: mm/bootmem.c: In function 'free_all_bootmem_core': mm/bootmem.c:237:32: error: 'cur' undeclared (first use in this function) __free_pages_bootmem(page++, cur++, 0);

Re: [PATCH 2/4] x86/mce/amd: Introduce deferred error interrupt handler

2015-04-30 Thread Aravind Gopalakrishnan
On 4/30/15 3:41 PM, Andy Lutomirski wrote: On Thu, Apr 30, 2015 at 7:49 AM, Aravind Gopalakrishnan wrote: Changes introduced in the patch- - Assign vector number 0xf4 for Deferred errors - Declare deferred_interrupt, allocate gate and bind it to DEFERRED_APIC_VECTOR. - Declare sm

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

2015-04-30 Thread Alexey Kardashevskiy
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 will use so it can be accounted in the locked_vm limit before allocation happens. This stores the allocated table siz

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

2015-04-30 Thread Alexey Kardashevskiy
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 track the use of every registered memory region and only allow unregistration if a region is not in use anymore. So we n

Re: [PATCH kernel v9 28/32] powerpc/mmu: Add userspace-to-physical addresses translation cache

2015-04-30 Thread David Gibson
On Thu, Apr 30, 2015 at 06:25:25PM +1000, Paul Mackerras wrote: > On Thu, Apr 30, 2015 at 04:34:55PM +1000, David Gibson wrote: > > On Sat, Apr 25, 2015 at 10:14:52PM +1000, Alexey Kardashevskiy wrote: > > > We are adding support for DMA memory pre-registration to be used in > > > conjunction with

Re: [PATCH kernel v9 23/32] powerpc/powernv/ioda: Define and implement DMA table/window management callbacks

2015-04-30 Thread David Gibson
On Thu, Apr 30, 2015 at 07:56:17PM +1000, Alexey Kardashevskiy wrote: > On 04/30/2015 02:37 PM, David Gibson wrote: > >On Wed, Apr 29, 2015 at 07:44:20PM +1000, Alexey Kardashevskiy wrote: > >>On 04/29/2015 03:30 PM, David Gibson wrote: > >>>On Sat, Apr 25, 2015 at 10:14:47PM +1000, Alexey Kardashe

Re: [PATCH] i2c: rk3x: Increase wait timeout to 1 second

2015-04-30 Thread Caesar Wang
在 2015年05月01日 05:44, Doug Anderson 写道: While it's not sensible for an i2c command to _actually_ need more than 200ms to complete, let's increase the timeout anyway. Why? It turns out that if you've got a large number of printks going out to a serial console, interrupts on a CPU can be disable

Re: [PATCH] i2c: rk3x: Increase wait timeout to 1 second

2015-04-30 Thread Caesar Wang
在 2015年05月01日 05:44, Doug Anderson 写道: While it's not sensible for an i2c command to _actually_ need more than 200ms to complete, let's increase the timeout anyway. Why? It turns out that if you've got a large number of printks going out to a serial console, interrupts on a CPU can be disable

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

2015-04-30 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 pending per work I/O as 16, and will fackback to single queue mode when the max number is reached. This patch fixes Fedora 22 live

[PATCH] fs: ext3: super: fixed a space coding style issue

2015-04-30 Thread Adir Kuhn
Fixed a coding style issue Signed-off-by: Adir Kuhn --- fs/ext3/super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ext3/super.c b/fs/ext3/super.c index a9312f0..5ed0044 100644 --- a/fs/ext3/super.c +++ b/fs/ext3/super.c @@ -1908,7 +1908,7 @@ static int ext3_fill_super

Re: [PATCH 01/11] drivers/crypto: include for modular caam code

2015-04-30 Thread Herbert Xu
On Thu, Apr 30, 2015 at 09:47:37PM -0400, Paul Gortmaker wrote: > This file is built off of a tristate Kconfig option and also contains > modular function calls so it should explicitly include module.h to > avoid compile breakage during header shuffles done in the future. > > Cc: Herbert Xu > Cc:

Re: [PATCH 1/2] crypto: Constify (de)compression parameters

2015-04-30 Thread Herbert Xu
On Tue, Apr 28, 2015 at 03:36:30PM +0100, David Howells wrote: > In testmgr, struct pcomp_testvec takes a non-const 'params' field, which is > pointed to a const deflate_comp_params or deflate_decomp_params object. With > gcc-5 this incurs the following warnings: > > In file included from ../cryp

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

2015-04-30 Thread Herbert Xu
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; > } > > + /* cancel any previously invoked seeding */ > + mutex_unlock(&drbg->drbg_m

Re: [RFD 5/5] tracing: Add trace_irqsoff tracepoints

2015-04-30 Thread Steven Rostedt
On Thu, 30 Apr 2015 21:14:52 -0500 Tom Zanussi wrote: > > 'hist:key=latency.bucket:val=hitcount:sort=latency if cpu==0' > > > > but I haven't got this working. I didn't spend much time figuring out > > why this doesn't work. Even if the above is working you still > > I think it doesn't work be

Re: [PATCH 2/2] sched/rt: Optimizate task_woken_rt()

2015-04-30 Thread Steven Rostedt
On Fri, 1 May 2015 10:02:47 +0800 pang.xun...@zte.com.cn wrote: > > > > > > - Remove "!test_tsk_need_resched(rq->curr)" condition, because > > > the flag might be set right before the waking up, but we still > > > need to push equal or lower priority tasks, it should be removed. > > > Without thi

god dag

2015-04-30 Thread Loan Engine®
hallo Få et lån nå med lån motor ®, med en rente på 3%. Fyll ut skjemaet nedenfor hvis du er interessert i: Kjønn: Land: Forbruk: Lengde: Formål: Det er mange grunner til hvorfor et lån kan hjelpe Hilsener, Kennel Turid -- To unsubscribe from this list: send the line "unsubscribe linux-kernel

Re: [PATCH 09/11] drivers/scsi: include for modular ufshcd-pltfrm code

2015-04-30 Thread James Bottomley
On Thu, 2015-04-30 at 21:47 -0400, Paul Gortmaker wrote: > This file is built off of a tristate Kconfig option and also contains > modular function calls so it should explicitly include module.h to > avoid compile breakage during header shuffles done in the future. I don't understand your logic.

Re: [RFD 5/5] tracing: Add trace_irqsoff tracepoints

2015-04-30 Thread Tom Zanussi
On Thu, 2015-04-30 at 12:06 +0200, Daniel Wagner wrote: > Finally we place a few tracepoint at the end of critical section. With > the hist trigger in place we can generate the plots. > > There are a few drawbacks compared to the latency_hist.patch [1] > > The latency plots contain the values fro

Re: [RFD 3/5] tracing: Add option to quantize key values

2015-04-30 Thread Tom Zanussi
On Thu, 2015-04-30 at 12:06 +0200, Daniel Wagner wrote: > Let's group some values together. This avoids a too detailed > histogram. Some sort of logarythmic scale could be useful > for latency plots. > > Now we can write something like: > > 'hist:key=latency.bucket:val=hitcount:sort=latency' > >

Re: [RFD 2/5] tracing: Add support to sort on the key

2015-04-30 Thread Tom Zanussi
On Thu, 2015-04-30 at 12:06 +0200, Daniel Wagner wrote: > The hist patch allows sorting on values only. By allowing to > sort also on the key we can do something like this: > > 'hist:key=latency:val=hitcount:sort=latency' > > latency: 16 hitcount: 3 > latency: 17 hitcount

Re: [RFD 0/5] Add latency histogram

2015-04-30 Thread Tom Zanussi
Hi Daniel, On Thu, 2015-04-30 at 12:06 +0200, Daniel Wagner wrote: > Hi, > > I would like to discuss a possible way of getting the feature of the > latecy_hist.patch [1] added to mainline. > > "Latency histograms are primarily relevant in the context of real-time > enabled kernels (CONFIG_PREEMP

[PATCH 04/11] drivers/gpu: include for modular rockchip code

2015-04-30 Thread Paul Gortmaker
These files are built off of a tristate Kconfig option and also contain modular function calls so they should explicitly include module.h to avoid compile breakage during header shuffles done in the future. Cc: David Airlie Cc: Mark Yao Cc: dri-de...@lists.freedesktop.org Signed-off-by: Paul Gor

[PATCH 11/11] sh: mach-highlander/psw.c is tristate and should use module.h

2015-04-30 Thread Paul Gortmaker
This file is controlled by a tristate Kconfig option, and hence needs to include module.h so that it can get module_init() once we relocate it from init.h into module.h in the future. Note that module_exit() appears to be missing from the driver, so it is questionable whether it would actually wor

[PATCH 01/11] drivers/crypto: include for modular caam code

2015-04-30 Thread Paul Gortmaker
This file is built off of a tristate Kconfig option and also contains modular function calls so it should explicitly include module.h to avoid compile breakage during header shuffles done in the future. Cc: Herbert Xu Cc: "David S. Miller" Signed-off-by: Paul Gortmaker --- drivers/crypto/caam/

[PATCH 07/11] drivers/pcmcia: include for modular xxs1500_ss code

2015-04-30 Thread Paul Gortmaker
This file is built off of a tristate Kconfig option and also contains modular function calls so it should explicitly include module.h to avoid compile breakage during header shuffles done in the future. Cc: Wolfram Sang Cc: linux-pcm...@lists.infradead.org Signed-off-by: Paul Gortmaker --- driv

[PATCH 06/11] drivers/net: include for modular stmmac_platform code

2015-04-30 Thread Paul Gortmaker
This file is built off of a tristate Kconfig option and also contains modular function calls so it should explicitly include module.h to avoid compile breakage during header shuffles done in the future. Cc: Giuseppe Cavallaro Cc: net...@vger.kernel.org Signed-off-by: Paul Gortmaker --- drivers/

[PATCH 02/11] drivers/clk: include for clk-max77xxx modular code

2015-04-30 Thread Paul Gortmaker
These files are built off of the tristate COMMON_CLK_MAX77686 and COMMON_CLK_MAX77802 respectively. They also contains modular function calls so they should explicitly include module.h to avoid compile breakage during header shuffles done in the future. Cc: Mike Turquette Cc: Stephen Boyd Signe

[PATCH 08/11] drivers/pcmcia: include for modular max77802 code

2015-04-30 Thread Paul Gortmaker
This file is built off of a tristate Kconfig option and also contains modular function calls so it should explicitly include module.h to avoid compile breakage during header shuffles done in the future. Cc: Liam Girdwood Cc: Mark Brown Signed-off-by: Paul Gortmaker --- drivers/regulator/max778

[PATCH 03/11] drivers/gpio: include for modular crystalcove code

2015-04-30 Thread Paul Gortmaker
This file is built off of a tristate Kconfig option and also contains modular function calls so it should explicitly include module.h to avoid compile breakage during header shuffles done in the future. Cc: Linus Walleij Cc: Alexandre Courbot Cc: linux-g...@vger.kernel.org Signed-off-by: Paul Go

[PATCH 10/11] drivers/staging: include for modular android tegra_ion code

2015-04-30 Thread Paul Gortmaker
This file is built off of a tristate Kconfig option and also contains modular function calls so it should explicitly include module.h to avoid compile breakage during header shuffles done in the future. Cc: Greg Kroah-Hartman Cc: "Arve Hj�nnev�g" Cc: Riley Andrews Cc: Stephen Warren Cc: Thierr

[PATCH 09/11] drivers/scsi: include for modular ufshcd-pltfrm code

2015-04-30 Thread Paul Gortmaker
This file is built off of a tristate Kconfig option and also contains modular function calls so it should explicitly include module.h to avoid compile breakage during header shuffles done in the future. Cc: Vinayak Holikatti Cc: "James E.J. Bottomley" Cc: linux-s...@vger.kernel.org Signed-off-by

[PATCH 05/11] drivers/hsi: include for modular omap_ssi code

2015-04-30 Thread Paul Gortmaker
These files are built off of a tristate Kconfig option and also contain modular function calls so they should explicitly include module.h to avoid compile breakage during header shuffles done in the future. We change the one header file wich gives us coverage on both files: drivers/hsi/controll

[PATCH 00/11] Fix implicit includes of that will break.

2015-04-30 Thread Paul Gortmaker
The files changed here are simply modular source files that are implicitly relying on being present. We fix them up now, so that we can decouple some of the module related init code from the core init code in another pending series. This is the second series; a pseudo followup to the 1st series[

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

2015-04-30 Thread Benjamin Herrenschmidt
On Thu, 2015-04-30 at 19:33 +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 CPUs have more flexible design and allows

Re: [PATCH 2/2] clk: qcom: Fix MSM8916 gfx3d_clk_src configuration

2015-04-30 Thread Stephen Boyd
On 04/29, Georgi Djakov wrote: > The gfx3d_clk_src parents configuration is incorrect. Fix it. > > Fixes: 3966fab8b6ab "clk: qcom: Add MSM8916 Global Clock Controller support" > Signed-off-by: Georgi Djakov Applied to clk-fixes -- Qualcomm Innovation Center, Inc. is a member of Code Aurora For

Re: [PATCH 1/2] clk: qcom: Fix MSM8916 venus divider value

2015-04-30 Thread Stephen Boyd
On 04/29, Georgi Djakov wrote: > One of the video codec clock frequencies has incorrect divider value. Fix it. > > Fixes: 3966fab8b6ab "clk: qcom: Add MSM8916 Global Clock Controller support" > Signed-off-by: Georgi Djakov Applied to clk-fixes -- Qualcomm Innovation Center, Inc. is a member of

Re: [PATCH RESEND] clk: Fix JSON output in debugfs

2015-04-30 Thread Stephen Boyd
On 04/30, Felipe Balbi wrote: > On Thu, Apr 30, 2015 at 05:37:12PM -0700, Stephen Boyd wrote: > > On 04/29, Stefan Wahren wrote: > > > key/value pairs in a JSON object must be separated by a comma. > > > After adding the properties "accuracy" and "phase" the JSON output > > > of /sys/kernel/debug/c

context tracking vs. syscall_trace_leave & do_notify_resume loop

2015-04-30 Thread Rik van Riel
Andy pointed out to me something I should have seen earlier: both syscall_trace_leave and do_notify_resume call both user_exit() and user_enter(), which has the potential to greatly increase the cost of context tracking. I believe (though it is hard to know for sure) there are legitimate reasons w

Re: [PATCH] clk: at91: Constify irq_domain_ops

2015-04-30 Thread Stephen Boyd
On 04/27, Boris Brezillon wrote: > On Mon, 27 Apr 2015 21:52:38 +0900 > Krzysztof Kozlowski wrote: > > > The irq_domain_ops are not modified by the driver and the irqdomain core > > code accepts pointer to a const data. > > > > Signed-off-by: Krzysztof Kozlowski > > Acked-by: Boris Brezillon

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

2015-04-30 Thread Ming Lei
On Fri, May 1, 2015 at 12:59 AM, Jeff Moyer wrote: > Ming Lei writes: > >> On Wed, Apr 29, 2015 at 12:36 AM, Jeff Moyer wrote: >>> Ming Lei writes: >>> If there are too many pending per work I/O, too many high priority work thread can be generated so that system performance can b

Re: [RFC 1/2] ACPI: activate&export acpi_os_get_physical_address

2015-04-30 Thread Rafael J. Wysocki
On Friday, May 01, 2015 03:32:29 AM Rafael J. Wysocki wrote: > On Thursday, April 30, 2015 11:10:25 AM Darren Hart wrote: > > On Wed, Apr 22, 2015 at 04:12:24PM +0200, Kast Bernd wrote: > > > acpi_os_get_physical_address will be needed by an acpi driver > > > (asus-wmi.c). > > > Additionally it co

Re: [PATCH 6/6] dt-bindings: ARM: Mediatek: Document devicetree bindings for clock/reset controllers

2015-04-30 Thread Stephen Boyd
On 04/23, Sascha Hauer wrote: > This adds the binding documentation for the apmixedsys, perisys and > infracfg controllers found on Mediatek SoCs. > > Signed-off-by: Sascha Hauer Please Cc devicetree reviewers on bindings (CCed now). > --- > .../bindings/arm/mediatek/mediatek,apmixedsys.txt |

Re: [PATCH 1/3] HID: wacom: Do not add suffix to name of devices with an unknown type

2015-04-30 Thread Ping Cheng
On Thu, Apr 30, 2015 at 5:51 PM, Jason Gerecke wrote: > The naming logic currently assumes that all devices will be a pen, finger, > or pad. Though this has historically been the case, the new HID_GENERIC > catch-all may cause us to probe devices with Wacom's 056A VID which aren't > any of these t

Re: [PATCH RFC v1 5/5] clk: introduce clk_core_enable_lock and clk_core_disable_lock functions

2015-04-30 Thread Stephen Boyd
On 04/15, Dong Aisheng wrote: > This can be usefully when clock core wants to enable/disable clocks. > Then we don't have to convert the struct clk_core to struct clk to call > clk_enable/clk_disable which is a bit un-align with exist using. > > Cc: Mike Turquette > Cc: Stephen Boyd > Signed-off

Re: [PATCH RFC v1 4/5] clk: core: add CLK_SET_PARENT_ON flags to support clocks require parent on

2015-04-30 Thread Stephen Boyd
On 04/15, Dong Aisheng wrote: > diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c > index 7af553d..f2470e5 100644 > --- a/drivers/clk/clk.c > +++ b/drivers/clk/clk.c > @@ -43,6 +43,11 @@ static int clk_core_get_phase(struct clk_core *clk); > static bool clk_core_is_prepared(struct clk_core *clk);

Re: [RFC 1/2] ACPI: activate&export acpi_os_get_physical_address

2015-04-30 Thread Rafael J. Wysocki
On Thursday, April 30, 2015 11:10:25 AM Darren Hart wrote: > On Wed, Apr 22, 2015 at 04:12:24PM +0200, Kast Bernd wrote: > > acpi_os_get_physical_address will be needed by an acpi driver (asus-wmi.c). > > Additionally it could be used by dell-laptop.c instead of directly calling > > virt_to_phys.

Re: [PATCH RESEND] clk: Fix JSON output in debugfs

2015-04-30 Thread Felipe Balbi
On Thu, Apr 30, 2015 at 05:37:12PM -0700, Stephen Boyd wrote: > On 04/29, Stefan Wahren wrote: > > key/value pairs in a JSON object must be separated by a comma. > > After adding the properties "accuracy" and "phase" the JSON output > > of /sys/kernel/debug/clk/clk_dump is invalid. > > > > So add

Re: [PATCH v2 02/20] libnd, nd_acpi: initial libnd infrastructure and NFIT support

2015-04-30 Thread Rafael J. Wysocki
On Thursday, April 30, 2015 05:39:06 PM Dan Williams wrote: > On Thu, Apr 30, 2015 at 4:23 PM, Rafael J. Wysocki wrote: > > On Tuesday, April 28, 2015 02:24:23 PM Dan Williams wrote: > >> 1/ Autodetect an NFIT table for the ACPI namespace device with _HID of > >>"ACPI0012" > >> > >> 2/ libnd b

[PATCH 2/3] HID: wacom: Discover device_type from HID descriptor for all devices

2015-04-30 Thread Jason Gerecke
Currently, we assume a device_type of BTN_TOOL_PEN before scanning the HID descriptor and then change the device_type if what we discover proves that assumption wrong. This way of doing things makes it more difficult to figure out if a device (particularly a HID_GENERIC device) actually does tablet

[PATCH 3/3] HID: wacom: Fail probe if HID_GENERIC device has unknown device_type

2015-04-30 Thread Jason Gerecke
The last patch was careful to maintain backwards-compatible behavior by forcing device_type to BTN_TOOL_PEN (and printing a warning) if it were still uninitialized after scanning the HID descriptor and applying quirks. We should be more strict with HID_GENERIC devices, however, since there is no a

[PATCH 1/3] HID: wacom: Do not add suffix to name of devices with an unknown type

2015-04-30 Thread Jason Gerecke
The naming logic currently assumes that all devices will be a pen, finger, or pad. Though this has historically been the case, the new HID_GENERIC catch-all may cause us to probe devices with Wacom's 056A VID which aren't any of these types (e.g. the "Cintiq 24HDT Monitor Control"). This patch upda

Re: [PATCH RESEND] clk: Fix JSON output in debugfs

2015-04-30 Thread Stefan Wahren
> Stephen Boyd hat am 1. Mai 2015 um 02:37 geschrieben: > > > On 04/29, Stefan Wahren wrote: > > key/value pairs in a JSON object must be separated by a comma. > > After adding the properties "accuracy" and "phase" the JSON output > > of /sys/kernel/debug/clk/clk_dump is invalid. > > > > So add t

Re: [PATCH v2 02/20] libnd, nd_acpi: initial libnd infrastructure and NFIT support

2015-04-30 Thread Dan Williams
On Thu, Apr 30, 2015 at 4:23 PM, Rafael J. Wysocki wrote: > On Tuesday, April 28, 2015 02:24:23 PM Dan Williams wrote: >> 1/ Autodetect an NFIT table for the ACPI namespace device with _HID of >>"ACPI0012" >> >> 2/ libnd bus registration >> >> The NFIT provided by ACPI is one possible method b

  1   2   3   4   5   6   7   8   9   10   >