Re: [PATCH 3/3] md/raid5: per hash value and exclusive wait_for_stripe

2015-05-13 Thread Yuanhan Liu
On Thu, May 14, 2015 at 03:45:11PM +1000, NeilBrown wrote: > On Wed, 29 Apr 2015 10:48:55 +0800 Yuanhan Liu > wrote: > > > diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c > > index 64d5bea..697d77a 100644 > > --- a/drivers/md/raid5.c > > +++ b/drivers/md/raid5.c > > @@ -344,7 +344,8 @@

Re: [PATCH v3 4/5] phy: add Broadcom SATA3 PHY driver for Broadcom STB SoCs

2015-05-13 Thread Kishon Vijay Abraham I
Hi, On Thursday 14 May 2015 12:19 AM, Brian Norris wrote: On Wed, May 13, 2015 at 04:37:05PM +0530, Kishon Vijay Abraham I wrote: Hi, On Wednesday 13 May 2015 04:58 AM, Brian Norris wrote: Supports up to two ports which can each be powered on/off and configured independently. Signed-off-by:

Re: [PATCH 3/3] md/raid5: per hash value and exclusive wait_for_stripe

2015-05-13 Thread NeilBrown
On Wed, 29 Apr 2015 10:48:55 +0800 Yuanhan Liu wrote: > diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c > index 64d5bea..697d77a 100644 > --- a/drivers/md/raid5.c > +++ b/drivers/md/raid5.c > @@ -344,7 +344,8 @@ static void release_inactive_stripe_list(struct r5conf > *conf, >

[PATCH 1/1] Staging: xgifb: vb_setmode: Fixed spelling error

2015-05-13 Thread colinpatrickcronin
From: Colin Cronin Fixed spelling error in comment. Signed-off-by: Colin Cronin --- drivers/staging/xgifb/vb_setmode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/xgifb/vb_setmode.c b/drivers/staging/xgifb/vb_setmode.c index a47395e..3f7c10e 100644 ---

[PATCH 2/3] scripts/gdb: Fix PEP8 compliance

2015-05-13 Thread Thiébaud Weksteen
Signed-off-by: Thiébaud Weksteen --- scripts/gdb/linux/dmesg.py | 1 - scripts/gdb/linux/symbols.py | 9 - scripts/gdb/linux/tasks.py | 2 ++ scripts/gdb/linux/utils.py | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/gdb/linux/dmesg.py

[PATCH 1/3] scripts/gdb: Fix typo in exception name

2015-05-13 Thread Thiébaud Weksteen
Signed-off-by: Thiébaud Weksteen --- scripts/gdb/linux/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/gdb/linux/utils.py b/scripts/gdb/linux/utils.py index 128c306..d7ff3a3 100644 --- a/scripts/gdb/linux/utils.py +++ b/scripts/gdb/linux/utils.py @@ -83,7

[PATCH 0/3] scripts/gdb: clean up

2015-05-13 Thread Thiébaud Weksteen
Set of patches to clean up scripts/gdb Thiébaud Weksteen (3): scripts/gdb: Fix typo in exception name scripts/gdb: Fix PEP8 compliance scripts/gdb: Remove useless global instruction scripts/gdb/linux/dmesg.py | 1 - scripts/gdb/linux/symbols.py | 9 - scripts/gdb/linux/tasks.py

Re: [PATCH 2/6] clk: sunxi: Add H3 clocks support

2015-05-13 Thread Chen-Yu Tsai
On Tue, May 12, 2015 at 10:44 PM, Maxime Ripard wrote: > Hi, > > On Sun, May 10, 2015 at 12:54:50PM +0200, Jens Kuske wrote: >> On 09/05/15 13:27, Maxime Ripard wrote: >> > On Wed, May 06, 2015 at 11:31:29AM +0200, Jens Kuske wrote: >> >> The H3 clock control unit is similar to the those of other

Re: [PATCH 0/6] cpufreq: use generic cpufreq drivers for Exynos4210platform

2015-05-13 Thread Viresh Kumar
On 14-05-15, 13:07, Kukjin Kim wrote: > On 05/13/15 23:08, Bartlomiej Zolnierkiewicz wrote: > > > > Hi, > > > Hi Bart, > > > On Friday, April 03, 2015 06:43:43 PM Bartlomiej Zolnierkiewicz wrote: > >> Hi, > >> > >> This patch series removes the use of Exynos4210 specific support > >> from

Re: [PATCH 5/6] ARM: Exynos: switch to using generic cpufreq driver for Exynos4210

2015-05-13 Thread Viresh Kumar
On 03-04-15, 18:43, Bartlomiej Zolnierkiewicz wrote: > From: Thomas Abraham > > The new CPU clock type allows the use of generic CPUfreq driver. > Switch Exynos4210 to using generic cpufreq driver. > > Changes by Bartlomiej: > - removed non-Exynos4210 support for now > > Cc: Tomasz Figa > Cc:

Re: linux-next: manual merge of the tip tree with the kselftest-fixes tree

2015-05-13 Thread Ingo Molnar
* Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the tip tree got a conflict in > tools/testing/selftests/x86/run_x86_tests.sh between commit > c1e6e5cb941b ("selftests, x86: Remove useless run_tests rule") from > the kselftest-fixes tree and commit e22438f8e997 ("x86,

Re: [PATCH 6/6] cpufreq: exynos: remove Exynos4210 specific cpufreq driver support

2015-05-13 Thread Viresh Kumar
On 03-04-15, 18:43, Bartlomiej Zolnierkiewicz wrote: > From: Thomas Abraham > > Exynos4210 based platforms have switched over to use generic > cpufreq driver for cpufreq functionality. So the Exynos > specific cpufreq support for these platforms can be removed. > > Changes by Bartlomiej: > -

Re: [PATCH kernel v10 26/34] powerpc/powernv/ioda2: Introduce pnv_pci_ioda2_set_window

2015-05-13 Thread Gavin Shan
On Tue, May 12, 2015 at 01:39:15AM +1000, Alexey Kardashevskiy wrote: >This is a part of moving DMA window programming to an iommu_ops >callback. pnv_pci_ioda2_set_window() takes an iommu_table_group as >a first parameter (not pnv_ioda_pe) as it is going to be used as >a callback for VFIO DDW

Re: [PATCH net-next,1/1] hv_netvsc: use per_cpu stats to calculate TX/RX data

2015-05-13 Thread David Miller
From: six...@microsoft.com Date: Tue, 12 May 2015 15:50:02 -0700 > From: Simon Xiao > > Current code does not lock anything when calculating the TX and RX stats. > As a result, the RX and TX data reported by ifconfig are not accuracy in a > system with high network throughput and multiple CPUs

Re: [RFC v2 5/7] PCI/ACPI: Consolidate common PCI host bridge code into ACPI core

2015-05-13 Thread Jiang Liu
On 2015/5/14 12:05, Hanjun Guo wrote: > On 2015年05月14日 09:09, Jiang Liu wrote: >> On 2015/5/13 21:25, Hanjun Guo wrote: >>> On 2015年05月13日 20:24, Jiang Liu wrote: On 2015/5/13 17:29, Hanjun Guo wrote: > Hi Jiang, > > On 2015年05月05日 10:46, Jiang Liu wrote: > > struct

Re: [PATCH 4/4] netconsole: implement extended console support

2015-05-13 Thread David Miller
From: Tejun Heo Date: Wed, 13 May 2015 11:46:20 -0400 > Hello, David. > > On Tue, May 12, 2015 at 07:23:22PM -0400, David Miller wrote: >> Second question, is there an upper bound on this header size? >> Because if there is, it seems to me that there is no reason why we >> can't just avoid the

Re: [PATCH v3 2/2] ARM: EXYNOS: Use of_machine_is_compatible instead ofsoc_is_exynos4

2015-05-13 Thread Krzysztof Kozlowski
2015-05-14 11:41 GMT+09:00 Kukjin Kim : > On 05/11/15 10:27, Krzysztof Kozlowski wrote: >> of_machine_is_compatible() seems to be preferred over soc_is_exynos4(). >> >> Signed-off-by: Krzysztof Kozlowski >> >> --- >> Changes since v2: >> 1. New patch, requested by Kukjin Kim. >> --- >>

linux-next: manual merge of the tip tree with the kselftest-fixes tree

2015-05-13 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tip tree got a conflict in tools/testing/selftests/x86/run_x86_tests.sh between commit c1e6e5cb941b ("selftests, x86: Remove useless run_tests rule") from the kselftest-fixes tree and commit e22438f8e997 ("x86, selftests: Add a test for the

Re: [PATCH kernel v10 25/34] powerpc/powernv/ioda2: Introduce helpers to allocate TCE pages

2015-05-13 Thread Gavin Shan
On Tue, May 12, 2015 at 01:39:14AM +1000, Alexey Kardashevskiy wrote: >This is a part of moving TCE table allocation into an iommu_ops >callback to support multiple IOMMU groups per one VFIO container. > >This moves the code which allocates the actual TCE tables to helpers:

linux-next: manual merge of the tip tree with the kselftest-fixes tree

2015-05-13 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tip tree got a conflict in tools/testing/selftests/x86/Makefile between commit e9886ace222e ("selftests, x86: Rework x86 target architecture detection") from the kselftest-fixes tree and commit e22438f8e997 ("x86, selftests: Add a test for the

Re: [PATCH kernel v10 24/34] powerpc/powernv/ioda2: Rework iommu_table creation

2015-05-13 Thread Gavin Shan
On Tue, May 12, 2015 at 01:39:13AM +1000, Alexey Kardashevskiy wrote: >This moves iommu_table creation to the beginning to make following changes >easier to review. This starts using table parameters from the iommu_table >struct. > >This should cause no behavioural change. > >Signed-off-by: Alexey

Re: [PATCH 0/6] cpufreq: use generic cpufreq drivers for Exynos4210platform

2015-05-13 Thread Kukjin Kim
On 05/13/15 23:08, Bartlomiej Zolnierkiewicz wrote: > > Hi, > Hi Bart, > On Friday, April 03, 2015 06:43:43 PM Bartlomiej Zolnierkiewicz wrote: >> Hi, >> >> This patch series removes the use of Exynos4210 specific support >> from cpufreq-exynos driver and enables the use of cpufreq-dt driver >>

Re: [RFC v2 5/7] PCI/ACPI: Consolidate common PCI host bridge code into ACPI core

2015-05-13 Thread Hanjun Guo
On 2015年05月14日 09:09, Jiang Liu wrote: On 2015/5/13 21:25, Hanjun Guo wrote: On 2015年05月13日 20:24, Jiang Liu wrote: On 2015/5/13 17:29, Hanjun Guo wrote: Hi Jiang, On 2015年05月05日 10:46, Jiang Liu wrote: struct pci_controller { struct acpi_device *companion; void *iommu;

Re: [PATCH 0/3] cpuidle: updates related to tick_broadcast_enter() failures

2015-05-13 Thread Preeti U Murthy
On 05/14/2015 04:29 AM, Kevin Hilman wrote: > "Rafael J. Wysocki" writes: > > [...] > >> Second, quite honestly, I don't see a connection to genpd here. > > The connection with genpd is because the *reason* the timer was > shutdown/stopped is because it shares power with the CPU, which is why

Re: [RFC PATCH v6] Documentation/arch: Add Documentation/arch-features.txt

2015-05-13 Thread Paul Mackerras
On Wed, May 13, 2015 at 03:48:42PM +0200, Ingo Molnar wrote: > > Updated patch attached - I've added a few more features to the last > table, and restructured the explanations, now every feature > description also lists the Kconfig variable that it's tracking, e.g.: > > irq time acct:

Re: [PATCH kernel v10 23/34] powerpc/iommu/powernv: Release replaced TCE

2015-05-13 Thread Alexey Kardashevskiy
On 05/14/2015 01:00 AM, Thomas Huth wrote: On Tue, 12 May 2015 01:39:12 +1000 Alexey Kardashevskiy wrote: At the moment writing new TCE value to the IOMMU table fails with EBUSY if there is a valid entry already. However PAPR specification allows the guest to write new TCE value without

Re: [RFC][PATCHSET v3] non-recursive pathname resolution & RCU symlinks

2015-05-13 Thread Linus Torvalds
On Wed, May 13, 2015 at 8:30 PM, Al Viro wrote: > > Maybe... I'd like to see the profiles, TBH - especially getxattr() and > access() frequency on various loads. Sure, make(1) and cc(1) really care > about stat() very much, but I wouldn't be surprised if something like > httpd or samba would be

Re: [PATCH kernel v10 21/34] powerpc/powernv/ioda2: Add TCE invalidation for all attached groups

2015-05-13 Thread Alexey Kardashevskiy
On 05/14/2015 12:22 PM, Gavin Shan wrote: On Tue, May 12, 2015 at 01:39:10AM +1000, Alexey Kardashevskiy wrote: The iommu_table struct keeps a list of IOMMU groups it is used for. At the moment there is just a single group attached but further patches will add TCE table sharing. When sharing is

Re: Re: [PATCH v6 0/6] arm64: Add kernel probes (kprobes) support

2015-05-13 Thread Ananth N Mavinakayanahalli
On Thu, May 14, 2015 at 09:01:03AM +0900, Masami Hiramatsu wrote: > On 2015/05/14 0:41, William Cohen wrote: > > On 05/13/2015 05:22 AM, Masami Hiramatsu wrote: > >> On 2015/05/12 21:48, William Cohen wrote: > > > >>> Hi Dave, > >>> > >>> In some of the previous diagnostic output it looked like

Re: [PATCH Resend] sparc64: Resolve conflict between sparc v9 and M7 on usage of bit 9 of TTE

2015-05-13 Thread David Miller
From: Khalid Aziz Date: Mon, 27 Apr 2015 16:19:49 -0600 > @@ -342,9 +356,15 @@ static inline pgprot_t pgprot_noncached(pgprot_t prot) > " andn%0, %4, %0\n" > " or %0, %5, %0\n" > " .previous\n" > + " .section

Re: [PATCH kernel v10 20/34] powerpc/powernv/ioda2: Move TCE kill register address to PE

2015-05-13 Thread Alexey Kardashevskiy
On 05/14/2015 12:10 PM, Gavin Shan wrote: On Tue, May 12, 2015 at 01:39:09AM +1000, Alexey Kardashevskiy wrote: At the moment the DMA setup code looks for the "ibm,opal-tce-kill" property which contains the TCE kill register address. Writes to this register invalidates TCE cache on IODA/IODA2

Re: [PATCH kernel v10 19/34] powerpc/iommu: Fix IOMMU ownership control functions

2015-05-13 Thread Gavin Shan
On Tue, May 12, 2015 at 01:39:08AM +1000, Alexey Kardashevskiy wrote: >This adds missing locks in iommu_take_ownership()/ >iommu_release_ownership(). > >This marks all pages busy in iommu_table::it_map in order to catch >errors if there is an attempt to use this table while ownership over it >is

Re: [PATCH kernel v10 16/34] powerpc/spapr: vfio: Replace iommu_table with iommu_table_group

2015-05-13 Thread Alexey Kardashevskiy
On 05/14/2015 11:21 AM, Gavin Shan wrote: On Tue, May 12, 2015 at 01:39:05AM +1000, Alexey Kardashevskiy wrote: Modern IBM POWERPC systems support multiple (currently two) TCE tables per IOMMU group (a.k.a. PE). This adds a iommu_table_group container for TCE tables. Right now just one table is

Re: [RFC][PATCHSET v3] non-recursive pathname resolution & RCU symlinks

2015-05-13 Thread Al Viro
On Wed, May 13, 2015 at 06:39:53PM -0700, Linus Torvalds wrote: > On Wed, May 13, 2015 at 3:25 PM, Al Viro wrote: > > More on top of the current vfs.git#for-next (== the posted patchset > > with a couple of fixes): more fs/namei.c reorganization and stack footprint > > reduction (below

Re: [PATCH 1/4] edac, altera: Generalize driver to use DT Memory size

2015-05-13 Thread Dinh Nguyen
On 5/13/15 4:49 PM, ttha...@opensource.altera.com wrote: > From: Thor Thayer > > The Arria10 SOC uses a completely different SDRAM controller from the > earlier CycloneV and ArriaV SoCs. The memory size is calculated in > the bootloader and passed via the device tree. Using this device > tree

Re: [BUG/REGRESSION] Screen flickering

2015-05-13 Thread Matt Roper
On Tue, May 12, 2015 at 09:54:07PM +0200, Thomas Gummerer wrote: > > Hi, > > I noticed that on my machine the screen starts to flicker after I > suspend and resume my machine, on the main laptop display if an external > display is attached with kernel v4.1-rc1. I tracked the regression down >

Re: [PATCH kernel v10 15/34] powerpc/powernv/ioda/ioda2: Rework TCE invalidation in tce_build()/tce_free()

2015-05-13 Thread Alexey Kardashevskiy
On 05/14/2015 10:48 AM, Gavin Shan wrote: On Tue, May 12, 2015 at 01:39:04AM +1000, Alexey Kardashevskiy wrote: The pnv_pci_ioda_tce_invalidate() helper invalidates TCE cache. It is supposed to be called on IODA1/2 and not called on p5ioc2. It receives start and end host addresses of TCE table.

[PATCH] vf610: dt: Nomenclature fixup for PTC12 pin used in RMII mode.

2015-05-13 Thread Cory Tusar
This commit includes a minor nomenclature fixup for boards based on the Freescale VF610 SoC and which make use of the alternate "RMII1_RXD1" functionality for pin PTC12. This brings the macro name in-line with both the datasheet and other similar macros. Signed-off-by: Cory Tusar ---

Re: [PATCH v3] imx27: dt: only map 4 Kbyte for fec registers

2015-05-13 Thread Shawn Guo
On Wed, May 13, 2015 at 12:18:26AM +0200, Philippe Reynes wrote: > According to the imx27 documentation, fec has a 4 Kbyte > memory space map. Moreover, the actual 16 Kbyte mapping > overlaps the SCC (Security Controller) memory register > space. So, we reduce the memory register space to 4 Kbyte.

Re: [PATCH kernel v10 14/34] powerpc/iommu: Move tce_xxx callbacks from ppc_md to iommu_table

2015-05-13 Thread Alexey Kardashevskiy
On 05/14/2015 10:23 AM, Gavin Shan wrote: On Tue, May 12, 2015 at 01:39:03AM +1000, Alexey Kardashevskiy wrote: This adds a iommu_table_ops struct and puts pointer to it into the iommu_table struct. This moves tce_build/tce_free/tce_get/tce_flush callbacks from ppc_md to the new struct where

Re: [PATCH] lib: fix 842 build on 32-bit architectures

2015-05-13 Thread Herbert Xu
On Wed, May 13, 2015 at 10:56:39PM +0200, Arnd Bergmann wrote: > Building the 842 code on 32-bit ARM currently results in this link > error: > > ERROR: "__aeabi_uldivmod" [lib/842/842_decompress.ko] undefined! > > The reason is that the __do_index function performs a 64-bit > division by a

Re: [RFC v2 3/6] crypto: qat - address recursive dependency when fw signing is enabled

2015-05-13 Thread Herbert Xu
On Wed, May 13, 2015 at 11:23:53AM -0700, Luis R. Rodriguez wrote: > From: "Luis R. Rodriguez" > > We're going to add firmware module signing support, but when we do > this we end up with the following recursive dependency. Fix this by > just depending on FW_LOADER, which is typically always

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

2015-05-13 Thread Herbert Xu
On Wed, May 13, 2015 at 04:03:55PM +0100, David Howells wrote: > > So what if we want to use a key that's stored in a TPM? I presume then we > can't use the crypto interface, but must rather use the *key* as the primary > interface somehow. Then it has nothing to do with what we're trying to do

Re: [PATCH kernel v10 05/34] powerpc/iommu: Always release iommu_table in iommu_free_table()

2015-05-13 Thread Alex Williamson
On Thu, 2015-05-14 at 12:34 +1000, Alexey Kardashevskiy wrote: > On 05/14/2015 09:27 AM, Gavin Shan wrote: > > On Wed, May 13, 2015 at 02:51:36PM +0200, Thomas Huth wrote: > >> On Wed, 13 May 2015 16:30:16 +1000 > >> Alexey Kardashevskiy wrote: > >> > >>> On 05/13/2015 03:33 PM, Gavin Shan wrote:

[PATCH 3/3] max7359_keypad: implement DT bindings

2015-05-13 Thread Evgeniy Dushistov
max7359_keypad: implement DT bindings Signed-off-by: Evgeniy A. Dushistov --- .../devicetree/bindings/input/max7359-keypad.txt | 33 drivers/input/keyboard/max7359_keypad.c| 60 -- 2 files changed, 90 insertions(+), 3 deletions(-) create mode

Re: [PATCH kernel v10 13/34] powerpc/powernv: Do not set "read" flag if direction==DMA_NONE

2015-05-13 Thread Alexey Kardashevskiy
On 05/14/2015 10:00 AM, Gavin Shan wrote: On Tue, May 12, 2015 at 01:39:02AM +1000, Alexey Kardashevskiy wrote: Normally a bitmap from the iommu_table is used to track what TCE entry is in use. Since we are going to use iommu_table without its locks and do xchg() instead, it becomes essential

Re: [PATCH] MIPS: Flush cache after DMA_FROM_DEVICE for agressively speculative CPUs

2015-05-13 Thread Kevin Cernekee
On Wed, May 13, 2015 at 6:49 PM, Leonid Yegoshin wrote: > Some MIPS CPUs have an aggressive speculative load and may erroneuosly load > some cache line in the middle of DMA transaction. CPU discards result but > cache > doesn't. If DMA happens from device then additional cache invalidation is >

Re: [PATCH] atmel: fix an error handle in mxt_probe

2015-05-13 Thread Pan Xinhui
HI, Dmitry thanks for your reply :) On 2015年05月14日 01:41, Dmitry Torokhov wrote: Hi, On Wed, Apr 22, 2015 at 06:46:58PM +0800, Pan Xinhui wrote: mxt_probe() may fail at last step, and the queue_work scheduled by request_firmware_nowait may run later and then access some data which is

Re: [PATCH v3 2/2] ARM: EXYNOS: Use of_machine_is_compatible instead ofsoc_is_exynos4

2015-05-13 Thread Kukjin Kim
On 05/11/15 10:27, Krzysztof Kozlowski wrote: > of_machine_is_compatible() seems to be preferred over soc_is_exynos4(). > > Signed-off-by: Krzysztof Kozlowski > > --- > Changes since v2: > 1. New patch, requested by Kukjin Kim. > --- > arch/arm/mach-exynos/exynos.c | 2 +- > 1 file changed, 1

[PATCH 2/3] max7359_keypad: remove code duplication

2015-05-13 Thread Evgeniy Dushistov
max7359_keypad: remove code duplication, max7359_build_keycode do the same thing as matrix_keypad_build_keymap, but matrix_keypad_build_keymap can also handle DT bindings, so remove max7359_build_keycode and use matrix_keypad_build_keymap instead. Tested on beagleboard-xm. Signed-off-by:

[PATCH 1/3] max7359_keypad: Do not set MAX7359_CFG_INTERRUPT flag

2015-05-13 Thread Evgeniy Dushistov
max7359_keypad: Do not set MAX7359_CFG_INTERRUPT flag. In datasheet of max7359, there is description of this flag: 0 - INT cleared when FIFO empty, 1 - INT cleared after host read. In this mode, I2C should read FIFO until interrupt condition removed, or further INT may be lost. So, if we set

Re: [PATCH kernel v10 22/34] powerpc/powernv: Implement accessor to TCE entry

2015-05-13 Thread Gavin Shan
On Tue, May 12, 2015 at 01:39:11AM +1000, Alexey Kardashevskiy wrote: >This replaces direct accesses to TCE table with a helper which >returns an TCE entry address. This does not make difference now but will >when multi-level TCE tables get introduces. > >No change in behavior is expected. >

Re: [PATCH kernel v10 05/34] powerpc/iommu: Always release iommu_table in iommu_free_table()

2015-05-13 Thread Alexey Kardashevskiy
On 05/14/2015 09:27 AM, Gavin Shan wrote: On Wed, May 13, 2015 at 02:51:36PM +0200, Thomas Huth wrote: On Wed, 13 May 2015 16:30:16 +1000 Alexey Kardashevskiy wrote: On 05/13/2015 03:33 PM, Gavin Shan wrote: On Tue, May 12, 2015 at 01:38:54AM +1000, Alexey Kardashevskiy wrote: At the

[PATCH v9.5.1 09/20] drm/dsi: Add a helper to get bits per pixel of MIPI DSI pixel format

2015-05-13 Thread Liu Ying
This patch adds a helper to get bits per pixel value of MIPI DSI pixel format. The helper takes a parameter in the type 'enum mipi_dsi_pixel_format' and returns it's bits per pixel value if the parameter is valid, otherwise, it returns -EINVAL. The helper makes users' life easier to do the

Re: [PATCH 1/4] ASoC: rockchip: add rockchip machine driver

2015-05-13 Thread zhengxing
On 2015年05月14日 07:11, Dylan Reid wrote: On Wed, May 13, 2015 at 10:21 AM, Dylan Reid wrote: On Wed, May 13, 2015 at 9:42 AM, Mark Brown wrote: On Wed, May 13, 2015 at 09:23:01PM +0800, zhengxing wrote: On 2015年05月13日 03:22, Mark Brown wrote: Is it not possible to extend simple card to

Re: [PATCH kernel v10 21/34] powerpc/powernv/ioda2: Add TCE invalidation for all attached groups

2015-05-13 Thread Gavin Shan
On Tue, May 12, 2015 at 01:39:10AM +1000, Alexey Kardashevskiy wrote: >The iommu_table struct keeps a list of IOMMU groups it is used for. >At the moment there is just a single group attached but further >patches will add TCE table sharing. When sharing is enabled, TCE cache >in each PE needs to

Re: [PATCH kernel v10 20/34] powerpc/powernv/ioda2: Move TCE kill register address to PE

2015-05-13 Thread Gavin Shan
On Tue, May 12, 2015 at 01:39:09AM +1000, Alexey Kardashevskiy wrote: >At the moment the DMA setup code looks for the "ibm,opal-tce-kill" property >which contains the TCE kill register address. Writes to this register >invalidates TCE cache on IODA/IODA2 hub. > >This moves the register address

Re: [PATCH RFC v9.5 09/20] drm/dsi: Add a helper to get bits per pixel of MIPI DSI pixel format

2015-05-13 Thread Liu Ying
2015-05-12 21:36 GMT+08:00 Thierry Reding : > On Fri, Feb 13, 2015 at 01:25:19PM +0800, Liu Ying wrote: >> Signed-off-by: Liu Ying > > This could use a commit message. Describe for example why this is useful > or when to use it. Ok, I'll add it in the next version. > >> --- >> v9->v9.5: >> *

Re: [PATCH 2/5] PM / Wakeirq: Add automated device wake IRQ handling

2015-05-13 Thread Felipe Balbi
Hi, On Wed, May 13, 2015 at 04:36:33PM -0700, Tony Lindgren wrote: > Turns out we can automate the handling for the device_may_wakeup() > quite a bit by using the kernel wakeup source list. > > And as some hardware has separate dedicated wake-up interrupt > in addition to the IO interrupt, we

Re: [PATCH kernel v10 18/34] vfio: powerpc/spapr/iommu/powernv/ioda2: Rework IOMMU ownership control

2015-05-13 Thread Gavin Shan
On Tue, May 12, 2015 at 01:39:07AM +1000, Alexey Kardashevskiy wrote: >This adds tce_iommu_take_ownership() and tce_iommu_release_ownership >which call in a loop iommu_take_ownership()/iommu_release_ownership() >for every table on the group. As there is just one now, no change in >behaviour is

Re: [PATCH 03/18] f2fs crypto: declare some definitions for f2fs encryption feature

2015-05-13 Thread Jaegeuk Kim
On Thu, May 14, 2015 at 10:37:21AM +1000, Dave Chinner wrote: > On Tue, May 12, 2015 at 11:48:02PM -0700, Jaegeuk Kim wrote: > > On Wed, May 13, 2015 at 12:02:08PM +1000, Dave Chinner wrote: > > > On Fri, May 08, 2015 at 09:20:38PM -0700, Jaegeuk Kim wrote: > > > > This definitions will be used by

Re: [PATCH kernel v10 17/34] powerpc/spapr: vfio: Switch from iommu_table to new iommu_table_group

2015-05-13 Thread Gavin Shan
On Tue, May 12, 2015 at 01:39:06AM +1000, Alexey Kardashevskiy wrote: >Modern IBM POWERPC systems support multiple (currently two) TCE tables >per IOMMU group (a.k.a. PE). This adds a iommu_table_group container >for TCE tables. Right now just one table is supported. > >For IODA, instead of

[PATCH v4] livepatch: Prevent to apply the patch once coming module notifier fails

2015-05-13 Thread Minfei Huang
The previous patches can be applied, once the corresponding module is loaded. In general, the patch will do relocation (if necessary) and obtain/verify function address before we start to enable patch. There are three different situations in which the coming module notifier can fail: 1)

[PATCH] MIPS: Flush cache after DMA_FROM_DEVICE for agressively speculative CPUs

2015-05-13 Thread Leonid Yegoshin
Some MIPS CPUs have an aggressive speculative load and may erroneuosly load some cache line in the middle of DMA transaction. CPU discards result but cache doesn't. If DMA happens from device then additional cache invalidation is needed on that CPU's after DMA. Found in test. Signed-off-by:

Re: [net-next PATCH] net: Reserve skb headroom and set skb->dev even if using __alloc_skb

2015-05-13 Thread Felipe Balbi
copy of pfmemalloc to avoid accessing > > page") > > Reported-by: Felipe Balbi > > Signed-off-by: Alexander Duyck > > Tested this on top of next-20150513 on an ARM/OMAP > (am335x-boneblack.dts) an it fixes the boot problem for me. > > Tested-by: Kevin Hilman

[PATCH] perf record: Fix zomible status of child process

2015-05-13 Thread desire
If the child process exited between the following code, the child process will keep zomible status and perf process will keep "poll" forever if (done || draining) break; ---//child process exit, done to 1 err = perf_evlist__poll(rec->evlist,-1); so, change timeout to 1 second. ---

[PATCH] perf record: Fix zomible status of child process

2015-05-13 Thread desire
If the child process exited between the following code, the child process will keep zomible status and perf process will keep "poll" forever if (done || draining) break; ---//child process exit, done to 1 err = perf_evlist__poll(rec->evlist,-1); so, change timeout to 1 second. ---

Re: [RFC][PATCHSET v3] non-recursive pathname resolution & RCU symlinks

2015-05-13 Thread Linus Torvalds
On Wed, May 13, 2015 at 3:25 PM, Al Viro wrote: > More on top of the current vfs.git#for-next (== the posted patchset > with a couple of fixes): more fs/namei.c reorganization and stack footprint > reduction (below 1Kb now). One interesting piece of that is that we don't > touch

Re: [RFC v2 6/6] firmware: add firmware signature checking support

2015-05-13 Thread Luis R. Rodriguez
On Thu, May 14, 2015 at 10:31:52AM +1000, Julian Calaby wrote: > On Thu, May 14, 2015 at 4:23 AM, Luis R. Rodriguez > wrote: > > +"Require all firmware to be validly signed", under the same menu. > > You reference the relevant Kconfig symbols above, do you want to add > it here too? Sure,

Re: [PATCH v3] livepatch: Prevent to apply the patch once coming module notifier fails

2015-05-13 Thread Minfei Huang
On 05/13/15 at 09:14P, Josh Poimboeuf wrote: > On Tue, May 12, 2015 at 10:04:44PM +0800, Minfei Huang wrote: > > @@ -883,7 +883,7 @@ int klp_register_patch(struct klp_patch *patch) > > } > > EXPORT_SYMBOL_GPL(klp_register_patch); > > > > -static void klp_module_notify_coming(struct klp_patch

Re: [PATCH kernel v10 16/34] powerpc/spapr: vfio: Replace iommu_table with iommu_table_group

2015-05-13 Thread Gavin Shan
On Tue, May 12, 2015 at 01:39:05AM +1000, Alexey Kardashevskiy wrote: >Modern IBM POWERPC systems support multiple (currently two) TCE tables >per IOMMU group (a.k.a. PE). This adds a iommu_table_group container >for TCE tables. Right now just one table is supported. > >This defines

Re: [RFC v2 5/7] PCI/ACPI: Consolidate common PCI host bridge code into ACPI core

2015-05-13 Thread Jiang Liu
On 2015/5/13 21:25, Hanjun Guo wrote: > On 2015年05月13日 20:24, Jiang Liu wrote: >> On 2015/5/13 17:29, Hanjun Guo wrote: >>> Hi Jiang, >>> >>> On 2015年05月05日 10:46, Jiang Liu wrote: >>> >>> struct pci_controller { >>> struct acpi_device *companion; >>> void *iommu; >>>

Re: [PATCH 1/3] sched, cgroup: reorganize threadgroup locking

2015-05-13 Thread Sergey Senozhatsky
Hello, On (05/13/15 16:35), Tejun Heo wrote: [..] > -static inline void threadgroup_lock(struct task_struct *tsk) > +static inline void threadgroup_change_begin(struct task_struct *tsk) > { > - down_write(>signal->group_rwsem); > + might_sleep(); I think

[PATCH 2/2] Drivers: staging: skein: skein_api: Fixed spelling errors

2015-05-13 Thread Colin Cronin
Fixed a few spelling errors in comments. Signed-off-by: Colin Cronin --- drivers/staging/skein/skein_api.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/skein/skein_api.h b/drivers/staging/skein/skein_api.h index 171b875..7da8b38 100644 ---

[PATCH 1/2] Drivers: staging: comedi: comedi: Fixed comment spelling error

2015-05-13 Thread Colin Cronin
Fixed a spelling error in a comment. Signed-off-by: Colin Cronin --- drivers/staging/comedi/comedi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/comedi/comedi.h b/drivers/staging/comedi/comedi.h index 7455740..66edda1 100644 ---

RE: [v4 1/3] genirq: Introduce irq_set_vcpu_affinity() to target an interrupt to a VCPU

2015-05-13 Thread Wu, Feng
> -Original Message- > From: Thomas Gleixner [mailto:t...@linutronix.de] > Sent: Thursday, May 14, 2015 5:04 AM > To: Jiang Liu > Cc: Wu, Feng; mi...@redhat.com; h...@zytor.com; > linux-kernel@vger.kernel.org > Subject: Re: [v4 1/3] genirq: Introduce irq_set_vcpu_affinity() to target an

Re: [PATCH] regulator: Add SPMI regulator driver

2015-05-13 Thread Stephen Boyd
On 05/13/15 04:41, Mark Brown wrote: > On Tue, May 12, 2015 at 02:39:47PM -0700, Stephen Boyd wrote: > > Lots of things with the DT bindings here. In general if you're > introducing lots of custom properties I'd recommend doing a patch series > which starts off with the generic, bog standard

[PATCH] platform/chrome: cros_ec_dev - Add a platform device ID table

2015-05-13 Thread Javier Martinez Canillas
If the cros_ec_dev driver is built as a module, modalias information is not filled so the module is not autoloaded. Add a platform device table and use the MODULE_DEVICE_TABLE() macro to export that information in the module so user-space can match the modalias uevent and autoload it.

Re: [PATCH 1/2] percpu_counter: batch size aware __percpu_counter_compare()

2015-05-13 Thread Dave Chinner
On Wed, May 13, 2015 at 09:59:19AM -0400, Tejun Heo wrote: > Hello, Dave. > > On Wed, May 13, 2015 at 09:52:33AM +1000, Dave Chinner wrote: > > @@ -116,6 +121,12 @@ static inline int percpu_counter_compare(struct > > percpu_counter *fbc, s64 rhs) > > return 0; > > } > > > >

Re: [PATCH 3/4] powerpc32: memset(0): use cacheable_memzero

2015-05-13 Thread Scott Wood
On Tue, 2015-05-12 at 15:32 +0200, Christophe Leroy wrote: > cacheable_memzero uses dcbz instruction and is more efficient than > memset(0) when the destination is in RAM > > This patch renames memset as generic_memset, and defines memset > as a prolog to cacheable_memzero. This prolog checks if

Re: [PATCH 1/4] Partially revert "powerpc: Remove duplicate cacheable_memcpy/memzero functions"

2015-05-13 Thread Scott Wood
On Tue, 2015-05-12 at 15:32 +0200, Christophe Leroy wrote: > This partially reverts > commit 'powerpc: Remove duplicate cacheable_memcpy/memzero functions > ("f909a35bdfb7cb350d078a2cf888162eeb20381c")' I don't have that SHA. Do you mean b05ae4ee602b7dc90771408ccf0972e1b3801a35? > Functions

Re: [PATCH kernel v10 15/34] powerpc/powernv/ioda/ioda2: Rework TCE invalidation in tce_build()/tce_free()

2015-05-13 Thread Gavin Shan
On Tue, May 12, 2015 at 01:39:04AM +1000, Alexey Kardashevskiy wrote: >The pnv_pci_ioda_tce_invalidate() helper invalidates TCE cache. It is >supposed to be called on IODA1/2 and not called on p5ioc2. It receives >start and end host addresses of TCE table. > >IODA2 actually needs PCI addresses to

Re: [PATCH] pwm: samsung: Use MODULE_DEVICE_TABLE() to include OF modalias

2015-05-13 Thread Javier Martinez Canillas
Hello Krzysztof, On 05/14/2015 02:37 AM, Krzysztof Kozlowski wrote: > On 14.05.2015 09:32, Javier Martinez Canillas wrote: >> If the pwm-samsung driver is built as a module, modalias information is >> not filled so the module is not autoloaded. Use the MODULE_DEVICE_TABLE() >> macro to export the

Re: [Y2038] [PATCH] aoe: Use 64-bit timestamp in frame

2015-05-13 Thread Ed Cashin
On 05/13/2015 04:04 AM, Arnd Bergmann wrote: ... Shall we do the ktime_get_us() approach then? It still requires a 32-bit division like do_gettimeofday(), so it will not be as efficient as the shifted nanoseconds. It's no worse, though, right? So I think it's a good transition. Further

Re: [PATCH v4 0/6] selftests: Add futex functional tests

2015-05-13 Thread Shuah Khan
On 05/13/2015 05:34 PM, Darren Hart wrote: > On 5/13/15, 4:22 PM, "Shuah Khan" wrote: > >> On 05/12/2015 10:07 PM, Darren Hart wrote: >>> Hi Shuah, >>> >>> This series begins the process of migrating my futextest tests into >>> kselftest. >>> I've started with only the functional tests, as the

Re: [PATCH 0/3] A few small fixups to the alarmtimer-suspend test

2015-05-13 Thread Shuah Khan
On 05/13/2015 05:16 PM, John Stultz wrote: > On Wed, May 13, 2015 at 4:04 PM, Shuah Khan wrote: >> On 05/13/2015 04:13 PM, John Stultz wrote: >>> Hey Shuah, >>> Wanted to send along a few small fixups to the alarmtimer-suspend >>> test that I had pending. >>> >>> Let me know if you have any

Re: [PATCH 1/2] Drivers: staging: comedi: comedi: Fixed comment spelling error

2015-05-13 Thread Greg KH
On Wed, May 13, 2015 at 05:01:40PM -0700, colincronin wrote: > Fixed a spelling error in a comment. > > Signed-off-by: Colin Cronin This name doesn't match the "From:" line in your email header, please fix it up to match properly. thanks, greg k-h -- To unsubscribe from this list: send the

Re: [PATCH] pwm: samsung: Use MODULE_DEVICE_TABLE() to include OF modalias

2015-05-13 Thread Krzysztof Kozlowski
On 14.05.2015 09:32, Javier Martinez Canillas wrote: > If the pwm-samsung driver is built as a module, modalias information is > not filled so the module is not autoloaded. Use the MODULE_DEVICE_TABLE() > macro to export the OF device ID so the module contains that information. > > Signed-off-by:

Re: [PATCH 2/2] Drivers: staging: skein: skein_api: Fixed spelling errors

2015-05-13 Thread Greg KH
On Wed, May 13, 2015 at 05:03:04PM -0700, colincronin wrote: > Fixed a few spelling errors in comments. > > Signed-off-by: Colin Cronin > --- > drivers/staging/skein/skein_api.h | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) Same problem with the From: line. Can you fix your

Re: [PATCH 03/18] f2fs crypto: declare some definitions for f2fs encryption feature

2015-05-13 Thread Dave Chinner
On Tue, May 12, 2015 at 11:48:02PM -0700, Jaegeuk Kim wrote: > On Wed, May 13, 2015 at 12:02:08PM +1000, Dave Chinner wrote: > > On Fri, May 08, 2015 at 09:20:38PM -0700, Jaegeuk Kim wrote: > > > This definitions will be used by inode and superblock for encyption. > > > > How much of this crypto

Re: [PATCH v3 09/10] KVM: MMU: fix MTRR update

2015-05-13 Thread Wanpeng Li
On Wed, May 13, 2015 at 04:10:08PM +0200, Paolo Bonzini wrote: > > >On 13/05/2015 10:43, Wanpeng Li wrote: >> kvm_mmu_reset_context >> kvm_mmu_unload >> mmu_free_roots >> >> The original root shadow page will be freed in mmu_free_roots, where I >> miss? >> >> Another question maybe not

[PATCH] pwm: samsung: Use MODULE_DEVICE_TABLE() to include OF modalias

2015-05-13 Thread Javier Martinez Canillas
If the pwm-samsung driver is built as a module, modalias information is not filled so the module is not autoloaded. Use the MODULE_DEVICE_TABLE() macro to export the OF device ID so the module contains that information. Signed-off-by: Javier Martinez Canillas --- drivers/pwm/pwm-samsung.c | 1 +

Re: kernel >= 4.0: crashes when using traceroute6 with isatap

2015-05-13 Thread Wolfgang Walter
Am Dienstag, 12. Mai 2015, 16:18:54 schrieb Vlad Yasevich: > On 05/06/2015 06:11 PM, Wolfgang Walter wrote: > > Am Mittwoch, 6. Mai 2015, 11:15:18 schrieben Sie: > >> (Cc'ing netdev.) > >> > >> On Sat, May 2, 2015 at 5:29 AM, Wolfgang Walter wrote: > >>> Am Samstag, 2. Mai 2015, 02:16:36 schrieb

Re: [RFC v2 6/6] firmware: add firmware signature checking support

2015-05-13 Thread Julian Calaby
Hi Luis, On Thu, May 14, 2015 at 4:23 AM, Luis R. Rodriguez wrote: > From: "Luis R. Rodriguez" > > Systems that have module signing currently enabled may > wish to extend vetting of firmware passed to the kernel > as well. We can re-use most of the code for module signing > for firmware

Re: [PATCH 0/3] cpuidle: updates related to tick_broadcast_enter() failures

2015-05-13 Thread Kevin Hilman
"Rafael J. Wysocki" writes: > On Wednesday, May 13, 2015 05:13:27 PM Kevin Hilman wrote: >> On Wed, May 13, 2015 at 5:16 PM, Rafael J. Wysocki >> wrote: >> > On Wednesday, May 13, 2015 03:59:55 PM Kevin Hilman wrote: >> >> "Rafael J. Wysocki" writes: >> >> >> >> [...] >> >> >> >> > Second,

Re: [PATCH v5 18/21] clk: tegra: pll: Fix _pll_ramp_calc_pll logic and _calc_dynamic_ramp_rate

2015-05-13 Thread Benson Leung
On Tue, May 12, 2015 at 10:24 AM, Rhyland Klein wrote: > This removes the conversion from pdiv to hw, which is already taken > care of by _get_table_rate before this code is run. This avoids > incorrectly converting pdiv to hw twice and getting the wrong hw value. > > Also set the input_rate in

Re: [PATCH tip/core/rcu 15/24] rcu: Directly drive RCU_USER_QS from Kconfig

2015-05-13 Thread Frederic Weisbecker
On Wed, May 13, 2015 at 10:45:05AM -0700, Paul E. McKenney wrote: > On Wed, May 13, 2015 at 02:37:52AM +0200, Frederic Weisbecker wrote: > > On Tue, May 12, 2015 at 03:30:45PM -0700, Paul E. McKenney wrote: > > > From: "Paul E. McKenney" > > > > > > Currently, Kconfig will ask the user whether

Re: linux-next: Tree for May 13 (avr32 build error due to switchdev patch)

2015-05-13 Thread Guenter Roeck
On Wed, May 13, 2015 at 06:09:27PM +1000, Stephen Rothwell wrote: > Hi all, > > Changes since 20150512: > > New tree: h8300 > > The net-next tree gained a conflict against the net tree. > > The security tree gained conflicts against the vfs tree. > > The spi tree lost its build failure. > >

Re: [PATCH kernel v10 14/34] powerpc/iommu: Move tce_xxx callbacks from ppc_md to iommu_table

2015-05-13 Thread Gavin Shan
On Tue, May 12, 2015 at 01:39:03AM +1000, Alexey Kardashevskiy wrote: >This adds a iommu_table_ops struct and puts pointer to it into >the iommu_table struct. This moves tce_build/tce_free/tce_get/tce_flush >callbacks from ppc_md to the new struct where they really belong to. > >This adds the

Re: [PATCH v5 17/21] clk: tegra: pll: Add logic for SS

2015-05-13 Thread Benson Leung
On Tue, May 12, 2015 at 10:24 AM, Rhyland Klein wrote: > +static void pll_clk_start_ss(struct tegra_clk_pll *pll) > +{ > + if (pll->params->defaults_set && pll->params->ssc_ctrl_en_mask) { Is there any reason you're checking for the existence of ssc_ctrl_en_mask rather than ssc_ctrl_reg?

  1   2   3   4   5   6   7   8   9   10   >