Re: [PATCH v2] Add support for usbfs zerocopy.

2016-01-25 Thread Steinar H. Gunderson
On Sun, Jan 24, 2016 at 01:12:08PM -0800, Greg Kroah-Hartman wrote: > Something is really wrong with your email client, it is saying this is > sent on Nov 26, the same exact time as your previous patch, yet you sent > this in January. Which implies that this is an old patch and not an > updated on

Re: [PATCH v4 34/78] atari_NCR5380: Use arbitration timeout

2016-01-25 Thread Geert Uytterhoeven
Hi Finn, On Mon, Jan 25, 2016 at 3:45 AM, Finn Thain wrote: > On Sun, 24 Jan 2016, Geert Uytterhoeven wrote: >> On Sun, Jan 3, 2016 at 6:05 AM, Finn Thain >> wrote: >> > Allow target selection to fail with a timeout instead of waiting in >> > infinite loops. This gets rid of the unused NCR_TIME

Re: Linux 4.5-rc1

2016-01-25 Thread Sudip Mukherjee
On Sun, Jan 24, 2016 at 06:42:01PM -0800, Guenter Roeck wrote: > On Sun, Jan 24, 2016 at 02:08:22PM -0800, Linus Torvalds wrote: > > So the merge window is over, and rc1 is out there. Go test! > > > > Here are some early test results: > > Build results: > total: 146 pass: 142 fail: 4 > Fa

Build regressions/improvements in v4.5-rc1

2016-01-25 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v4.5-rc1[1] compared to v4.4[2]. Summarized: - build errors: +15/-23 - build warnings: +123/-190 Note that there may be false regressions, as some logs are incomplete. Still, they're build errors/warnings. As I haven't mast

Re: [PATCH/RFC] mm/debug_pagealloc: enable it by default

2016-01-25 Thread Christian Borntraeger
On 01/25/2016 07:41 AM, Joonsoo Kim wrote: > Hello, > > On Fri, Jan 22, 2016 at 12:44:40PM +0100, Christian Borntraeger wrote: >> since commit 031bc5743f158 ("mm/debug-pagealloc: make debug-pagealloc >> boottime configurable") CONFIG_DEBUG_PAGEALLOC is by default a no-op. >> >> This resulted in se

Re: Build regressions/improvements in v4.5-rc1

2016-01-25 Thread Geert Uytterhoeven
On Mon, Jan 25, 2016 at 9:18 AM, Geert Uytterhoeven wrote: > Below is the list of build error/warning regressions/improvements in > v4.5-rc1[1] compared to v4.4[2]. > > Summarized: > - build errors: +15/-23 > [1] http://kisskb.ellerman.id.au/kisskb/head/9841/ (all 261 configs) > [2] http://kiss

[PATCH] Revert "drm/i915: more virtual south bridge detection"

2016-01-25 Thread Jani Nikula
This reverts commit 39bfcd5235e07e95ad3e70eab8e0b85db181de9e Author: Gerd Hoffmann Date: Thu Nov 26 12:03:51 2015 +0100 drm/i915: more virtual south bridge detection because it mistakes real physical south bridges for virtual ones. Reported-by: Bjørn Mork Reference: http://mid.gmane.org

[PATCH 1/2] power/reset: versatile: support the actual versatile

2016-01-25 Thread Linus Walleij
While this driver is named after the Versatile family of boards (ARM reference designs) the machine actually called Versatile was not supported. This patch makes the driver handle also that machine. We augment the register names for the reset to *VERSATILE* as well since it is the same register off

Re: [PATCH v3 3/4] x86/efi: print size in binary units in efi_print_memmap

2016-01-25 Thread Andy Shevchenko
On Sat, 2016-01-23 at 10:03 -0800, James Bottomley wrote: > On Sat, 2016-01-23 at 19:18 +0200, Andy Shevchenko wrote: > > On Sat, Jan 23, 2016 at 6:44 PM, James Bottomley > > wrote: > > > On Sat, 2016-01-23 at 16:55 +0200, Andy Shevchenko wrote: > > > > > > +static char * __init efi_size_format(c

[PATCH v3] perf/x86/amd/power: Add AMD accumulated power reporting mechanism

2016-01-25 Thread Huang Rui
Introduce an AMD accumlated power reporting mechanism for Carrizo (Family 15h, Model 60h) processor that should be used to calculate the average power consumed by a processor during a measurement interval. The feature of accumulated power mechanism is indicated by CPUID Fn8000_0007_EDX[12]. --

[PATCH] powerpc/perf: Remove PPMU_HAS_SSLOT flag for Power8

2016-01-25 Thread Madhavan Srinivasan
Commit: 7a7868326d77 introduced PPMU_HAS_SSLOT flag to remove assumption of MMCRA[SLOT] with respect to PPMU_ALT_SIPR flag. Commit 7a7868326d77's message also specifies that Power8 does not support MMCRA[SLOT]. But still PPMU_HAS_SSLOT flag managed to get into Power8 code. Patch to remove the

Re: [PATCH 03/15] dmaengine: dw: rename masters to reflect actual topology

2016-01-25 Thread Andy Shevchenko
On Sun, 2016-01-24 at 22:36 +, Mark Brown wrote: > On Sun, Jan 24, 2016 at 07:21:50PM +, Mans Rullgard wrote: > > From: Andy Shevchenko > > > > The source and destination masters are reflecting buses or their > > layers to > > where the different devices can be connected. The patch change

Re: [PATCH] storvsc: use small sg_tablesize on x86

2016-01-25 Thread Olaf Hering
On Fri, Oct 02, Olaf Hering wrote: > On Thu, Oct 01, James Bottomley wrote: > > > On Thu, 2015-10-01 at 20:30 +, KY Srinivasan wrote: > > > > > +#if defined(CONFIG_X86_32) > > > Um, this is a bit architecture specific (I know Azure is x86, but > > still). Can you make the define check CONF

[PATCH v2 0/2] Modify static defined and wrong parameter used.

2016-01-25 Thread Eric Long
Both of the two patches optimize the code and remove the mistakes and warnings detected by the check tools. Changes since v1: - Adjust the patch by the changes not by the check tools. Eric Long (2): coresight: "DEVICE_ATTR_RO" should defined as static. coresight: etm4x: Check every parameter

[PATCH 4/5] perf core: Add backward attribute to perf event

2016-01-25 Thread Wang Nan
In perf_event_attr a new bit 'write_backward' is appended to indicate this event should write ring buffer from its end to beginning. In perf_output_begin(), prepare ring buffer according this bit. This patch introduces small overhead into perf_output_begin(): an extra memory read and a conditiona

[PATCH v2 2/2] coresight: etm4x: Check every parameter used by dma_xx_coherent.

2016-01-25 Thread Eric Long
The dma_alloc_coherent return an "void *" not an "void __iomen *". It uses the wrong parameters when calls dma_free_coherent function. The sparse tool output logs as the following: coresight-tmc.c:199:23:expected void * coresight-tmc.c:199:23:got void [noderef] *vaddr coresight-tmc.c:336:3

[PATCH 5/5] perf core: Reduce perf event output overhead by new overflow handler

2016-01-25 Thread Wang Nan
By creating onward and backward specific overflow handlers and setting them according to event's backward setting, normal sampling events don't need checking backward setting of an event any more. This is the last patch of backward writing patchset. After this patch, there's no extra overhead intr

[PATCH v2 1/2] coresight: "DEVICE_ATTR_RO" should defined as static.

2016-01-25 Thread Eric Long
"DEVICE_ATTR_RO(name)" should be defined as static. And there is an unnecessary space at the front of the code. The sparse tool output logs as the following: coresight-etm4x.c:2224:1: warning: symbol 'dev_attr_trcoslsr' was not declared. Should it be static? coresight-etm4x.c:2225:1: warning: symb

[PATCH 1/5] perf core: Introduce new ioctl options to pause and resume ring buffer

2016-01-25 Thread Wang Nan
Add new ioctl() to pause/resume ring-buffer output. In some situations we want to read from ring buffer only when we ensure nothing can write to the ring buffer during reading. Without this patch we have to turn off all events attached to this ring buffer to achieve this. This patch is for suppor

[PATCH 2/5] perf core: Set event's default overflow_handler

2016-01-25 Thread Wang Nan
Set a default event->overflow_handler in perf_event_alloc() so don't need checking event->overflow_handler in __perf_event_overflow(). Following commits can give a different default overflow_handler. No extra performance introduced into hot path because in the original code we still need reading t

Re: [PATCH v2] usb: devio: Add ioctl to disallow detaching kernel USB drivers.

2016-01-25 Thread Bjørn Mork
Emilio López writes: >>> diff --git a/include/uapi/linux/usbdevice_fs.h >>> b/include/uapi/linux/usbdevice_fs.h >>> index 019ba1e..9abcb34 100644 >>> --- a/include/uapi/linux/usbdevice_fs.h >>> +++ b/include/uapi/linux/usbdevice_fs.h >>> @@ -154,6 +154,10 @@ struct usbdevfs_streams { >>> uns

[PATCH 3/5] perf core: Prepare writing into ring buffer from end

2016-01-25 Thread Wang Nan
Convert perf_output_begin to __perf_output_begin and make the later function able to write records from the end of the ring buffer. Following commits will utilize the 'backward' flag. This patch doesn't introduce any extra performance overhead since we use always_inline. Signed-off-by: Wang Nan

[PATCH 0/5] perf core: Read from overwrite ring buffer

2016-01-25 Thread Wang Nan
This is the v3 of this series. Compare with v2, tailsize method is removed, ioctl command PERF_EVENT_IOC_PAUSE_OUTPUT is changed to _IOW('$', 9, __u32) since it has an input value, commit message is slightly adjusted. New test result on ARM64 is below (x86_64 result is copied from previous email,

Re: [PATCH V2 0/3] basic busy polling support for vhost_net

2016-01-25 Thread Jason Wang
On 01/25/2016 03:58 PM, Michael Rapoport wrote: > (restored 'CC, sorry for dropping it originally, Notes is still hard > for me) > > > Jason Wang wrote on 01/25/2016 05:00:05 AM: > > On 01/24/2016 05:00 PM, Mike Rapoport wrote: > > > Hi Jason, > > > > > >> Jason Wang redhat.com> writes: > > >>

Re: [PATCH 07/15] dmaengine: dw: revisit data_width property

2016-01-25 Thread Andy Shevchenko
On Sun, 2016-01-24 at 19:21 +, Mans Rullgard wrote: > From: Andy Shevchenko > > There are several changes are done here: > >  - Convert the property to be in bytes > >    Much more convenient than keeping encoded value. > >  - Use one value for all AHB masters for now > >    It seems in p

Re: [PATCH 2/3] net: macb: fix build warning

2016-01-25 Thread Nicolas Ferre
Le 25/01/2016 07:13, Sudip Mukherjee a écrit : > We are getting build warning about: > macb.c:2889:13: warning: 'tx_clk' may be used uninitialized in this function > macb.c:2888:11: warning: 'hclk' may be used uninitialized in this function > > In reality they are not used uninitialized as clk_ini

Re: [PATCH 07/15] dmaengine: dw: revisit data_width property

2016-01-25 Thread Andy Shevchenko
On Mon, 2016-01-25 at 07:32 +, Vineet Gupta wrote: > On Monday 25 January 2016 12:55 AM, Mans Rullgard wrote: > > From: Andy Shevchenko > > > > There are several changes are done here: > > > >  - Convert the property to be in bytes > > > >    Much more convenient than keeping encoded value.

Re: [PATCH 11/15] dmaengine: dw: platform: use field-by-field initialization

2016-01-25 Thread Andy Shevchenko
On Sun, 2016-01-24 at 19:21 +, Mans Rullgard wrote: > From: Andy Shevchenko > > This is a simple stylish change that allows to use less lines of > code. > > Signed-off-by: Andy Shevchenko > --- > I'm a little ambivalent on this one.  While the patch is correct as > such, > the change means

Re: regression 4.4: deadlock in with cgroup percpu_rwsem

2016-01-25 Thread Christoph Hellwig
On Fri, Jan 22, 2016 at 06:03:13PM -0800, Paul E. McKenney wrote: > > Yeah, it's hairy. I wondered about adding support for bouncing to > > workqueue in both percpu_ref and rcu which would make things easier to > > follow. Not sure how often this pattern happens tho. > > This came up recently of

Re: linux-next: Tree for Jan 25

2016-01-25 Thread Stephen Rothwell
Hi all, On Mon, 25 Jan 2016 13:11:41 +1100 Stephen Rothwell wrote: > > On Mon, 25 Jan 2016 12:32:48 +1100 Stephen Rothwell > wrote: > > > > Please do not add any material for v4.6 to your linux-next included > > branches until after v4.5-rc1 is released. > > It has been pointed out that thi

Re: [PATCH] mmc: dw_mmc: remove repetitive clear interrupt

2016-01-25 Thread Arnd Bergmann
On Monday 25 January 2016 12:56:25 Shawn Lin wrote: > On 2016/1/25 12:14, Jaehoon Chung wrote: > > Hi, Shawn. > > > > On 01/25/2016 10:13 AM, Shawn Lin wrote: > >> This patch remove repetitive clear interrupt while > >> probing dw_mmc. > > > > Could you explain to me more? > > yes, it's a trivial

Re: [PATCH v4 0/2] new control V4L2_CID_MPEG_VIDEO_FORCE_KEY_FRAME

2016-01-25 Thread Hans Verkuil
On 01/25/2016 05:46 AM, Wu-Cheng Li (李務誠) wrote: > Hi Hans, > Can you look at the patch again? I've changed the name from > V4L2_CID_MPEG_VIDEO_FORCE_I_FRAME to > V4L2_CID_MPEG_VIDEO_FORCE_KEY_FRAME. Thanks. Looks good to me. I'm planning to make a pull request for this once v4.5-rc1 is merged int

[PATCH v1 2/3] clk: rockchip: rk3368: enable the CLK_SET_RATE_PARENT flag for spdif_8ch

2016-01-25 Thread Zhang Qing
From: zhangqing SPDIF_8CH set freq need to select parent and calculate parent freq. so just mark it as the CLK_SET_RATE_PARENT flag. Signed-off-by: zhangqing --- drivers/clk/rockchip/clk-rk3368.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/clk/rockchip/clk-rk3

Re: [RESEND v2 1/2] clk: samsung: Don't build ARMv8 clock drivers on ARMv7

2016-01-25 Thread Arnd Bergmann
On Monday 25 January 2016 09:50:20 Krzysztof Kozlowski wrote: > > +# ARM64 SoCs (e.g. Exynos5433, Exynos7): > +config EXYNOS_ARM64_COMMON_CLK > + def_bool ARCH_EXYNOS > + depends on ARM64 || COMPILE_TEST > + select COMMON_CLK_SAMSUNG > So you always enable it on ARM64 when ARCH

[PATCH v1 3/3] clk: rockchip: rk3368: enable the CLK_SET_RATE_PARENT flag for i2s_2ch

2016-01-25 Thread Zhang Qing
From: zhangqing I2S_2CH set freq need to select parent and calculate parent freq. so just mark it as the CLK_SET_RATE_PARENT flag. Signed-off-by: zhangqing --- drivers/clk/rockchip/clk-rk3368.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/clk/rockchip/clk-rk336

[PATCH v1 0/3] clk: rockchip: rk3368: fix some error for rk3368 clk

2016-01-25 Thread Zhang Qing
From: zhangqing modify edp_24m parent select bit. enable CLK_SET_RATE_PARENT flag for spdif_8ch and i2s_2ch. zhangqing (3): clk: rockchip: rk3368: fix edp_24m parent clk: rockchip: rk3368: enable the CLK_SET_RATE_PARENT flag for spdif_8ch clk: rockchip: rk3368: enable the CLK_SET_RATE_

[PATCH v1 1/3] clk: rockchip: rk3368: fix edp_24m parent

2016-01-25 Thread Zhang Qing
From: zhangqing The edp_24m parent select bit define is: 1'b0:xin24m 1'b1:1'b0(dummy) so adapt the parent sel bit to the currect one. Signed-off-by: zhangqing --- drivers/clk/rockchip/clk-rk3368.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/rockchip/clk-rk33

[PATCHv2 0/4] net: rfkill: gpio: replace platform data with build-in property

2016-01-25 Thread Heikki Krogerus
Hi, The changes to the unified properties interface that I have been waiting for are finally available in v4.5-rc1. Heikki Krogerus (4): net: rfkill: add rfkill_find_type function net: rfkill: gpio: get the name and type from device property ARM: tegra: use build-in device properties with

[PATCHv2 1/4] net: rfkill: add rfkill_find_type function

2016-01-25 Thread Heikki Krogerus
Helper for finding the type based on name. Useful if the type needs to be determined based on device property. Signed-off-by: Heikki Krogerus --- include/linux/rfkill.h | 15 + net/rfkill/core.c | 57 +- 2 files changed, 44 inserti

[PATCHv2 3/4] ARM: tegra: use build-in device properties with rfkill_gpio

2016-01-25 Thread Heikki Krogerus
Pass the rfkill name and type to the device with properties instead of driver specific platform data. Signed-off-by: Heikki Krogerus CC: Alexandre Courbot CC: Thierry Reding CC: Stephen Warren --- arch/arm/mach-tegra/board-paz00.c | 17 ++--- 1 file changed, 10 insertions(+), 7 de

[PATCHv2 4/4] net: rfkill: gpio: remove rfkill_gpio_platform_data

2016-01-25 Thread Heikki Krogerus
No more users for it. Signed-off-by: Heikki Krogerus --- include/linux/rfkill-gpio.h | 37 - net/rfkill/Kconfig | 3 +-- net/rfkill/rfkill-gpio.c| 8 3 files changed, 1 insertion(+), 47 deletions(-) delete mode 100644 include/linux/rfk

[PATCHv2 2/4] net: rfkill: gpio: get the name and type from device property

2016-01-25 Thread Heikki Krogerus
This prepares the driver for removal of platform data. Signed-off-by: Heikki Krogerus --- net/rfkill/rfkill-gpio.c | 16 +++- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/net/rfkill/rfkill-gpio.c b/net/rfkill/rfkill-gpio.c index 4b1e3f3..1a9c031 100644 --- a/net/rfk

Re: [PATCH v2 1/5] dma-mapping: add dma_{map,unmap}_page_attrs

2016-01-25 Thread Arnd Bergmann
On Sunday 24 January 2016 22:43:57 Laurent Pinchart wrote: > Hi Niklas, > > (CC'ing LKML, linux-arch and Arnd Bergmann) > > Thank you for the patch. > > On Thursday 21 January 2016 15:01:31 Niklas Söderlund wrote: > > Add a version of dmap_{map,unmap}_page that can pass on attributes to > > the

Re: [RESEND v2 1/2] clk: samsung: Don't build ARMv8 clock drivers on ARMv7

2016-01-25 Thread Krzysztof Kozlowski
On 25.01.2016 17:59, Arnd Bergmann wrote: > On Monday 25 January 2016 09:50:20 Krzysztof Kozlowski wrote: >> >> +# ARM64 SoCs (e.g. Exynos5433, Exynos7): >> +config EXYNOS_ARM64_COMMON_CLK >> + def_bool ARCH_EXYNOS >> + depends on ARM64 || COMPILE_TEST >> + select COMMON_CLK_SAMSU

[PATCH v4 0/4] VT-d posted-interrupts follow ups

2016-01-25 Thread Feng Wu
This series contains 4 patches: [1/4]: Change back to remapped mode when posted mode is not used. [2/4]: Add vector-hashing support to deliver lowest-priority interrupts for non VT-d PI case. [3/4]: Add vector-hashing support to deliver lowest-priority interrupts for VT-d PI case. [4/

[PATCH v4 3/4] KVM: x86: Add lowest-priority support for vt-d posted-interrupts

2016-01-25 Thread Feng Wu
Use vector-hashing to deliver lowest-priority interrupts for VT-d posted-interrupts. This patch extends kvm_intr_is_single_vcpu() to support lowest-priority handling. Signed-off-by: Feng Wu --- v4: - Recover the function name to 'kvm_intr_is_single_vcpu' - Stylistic changes v3: - Remove unnecess

[PATCH v4 4/4] KVM/VMX: Add host irq information in trace event when updating IRTE for posted interrupts

2016-01-25 Thread Feng Wu
Add host irq information in trace event, so we can better understand which irq is in posted mode. Signed-off-by: Feng Wu Reviewed-by: Radim Krcmar --- arch/x86/kvm/trace.h | 12 arch/x86/kvm/vmx.c | 2 +- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/arch/x86/kv

Re: [PATCH] powerpc/perf: Remove PPMU_HAS_SSLOT flag for Power8

2016-01-25 Thread Anshuman Khandual
On 01/25/2016 02:03 PM, Madhavan Srinivasan wrote: > Commit: 7a7868326d77 introduced PPMU_HAS_SSLOT flag to > remove assumption of MMCRA[SLOT] with respect to > PPMU_ALT_SIPR flag. Commit 7a7868326d77's message also > specifies that Power8 does not support MMCRA[SLOT]. > But still PPMU_HAS_SSL

[PATCH v4 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-25 Thread Feng Wu
When the interrupt is not single destination any more, we need to change back IRTE to remapped mode explicitly. Signed-off-by: Feng Wu --- v4: - Don't need to Set SN before changing back to remapped mode arch/x86/kvm/vmx.c | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) d

[PATCH v4 2/4] KVM: x86: Use vector-hashing to deliver lowest-priority interrupts

2016-01-25 Thread Feng Wu
Use vector-hashing to deliver lowest-priority interrupts, As an example, modern Intel CPUs in server platform use this method to handle lowest-priority interrupts. Signed-off-by: Feng Wu --- v4: - Stylistic changes v3: - Fix a bug for sparse topologies, in that case, vcpu_id is not equal to the

Re: [PATCH] Revert "Staging: panel: usleep_range is preferred over udelay"

2016-01-25 Thread Dan Carpenter
Ugh... Checkpatch told us to introduce bugs... :( We almost certainly would have missed this bug in review, but it wasn't sent to the list so I guess we'll never know. regards, dan carpenter

Re: [PATCH] drivers/scsi/emcctd: drivers/scsi/emcctd: Client driver implementation for EMC-Symmetrix GuestOS emulated Cut-Through Device

2016-01-25 Thread Johannes Thumshirn
On Sat, Jan 23, 2016 at 05:33:31AM +, Singhal, Maneesh wrote: > Hello Thumshirn. > Thanks for taking out time to review the patch. I appreciate that. Please > find my comments inlined. > [...] > > > > Wouldn't it be nice to have this in the Kconfig file? No user will ever > > look > > at t

Re: [PATCH] Revert "drm/i915: more virtual south bridge detection"

2016-01-25 Thread Bjørn Mork
Jani Nikula writes: > This reverts > > commit 39bfcd5235e07e95ad3e70eab8e0b85db181de9e > Author: Gerd Hoffmann > Date: Thu Nov 26 12:03:51 2015 +0100 > > drm/i915: more virtual south bridge detection > > because it mistakes real physical south bridges for virtual ones. > > Reported-by: Bjø

[PATCH] mm/debug_pagealloc: Ask users for default setting of debug_pagealloc

2016-01-25 Thread Christian Borntraeger
since commit 031bc5743f158 ("mm/debug-pagealloc: make debug-pagealloc boottime configurable") CONFIG_DEBUG_PAGEALLOC is by default a no-op. This resulted in several unnoticed bugs, e.g. https://lkml.kernel.org/g/<569f5e29.3090...@de.ibm.com> or https://lkml.kernel.org/g/<56a20f30.4050...@de.ibm.c

Re: [PATCH] drivers/scsi/emcctd: drivers/scsi/emcctd: Client driver implementation for EMC-Symmetrix GuestOS emulated Cut-Through Device

2016-01-25 Thread Johannes Thumshirn
On Sat, Jan 23, 2016 at 05:51:50AM +, Singhal, Maneesh wrote: > Thanks for your time. My replies inlined... > [...] > > > + } > > > + > > > > You don't do any cleanup work at > > ctd_scsi_response_sanity_check_complete. You > > could just reutrn 0 here as well. > [MS>] Just avoidin

Re: [PATCH] clk: sunxi: usb: Sort clk providers by chip family and name

2016-01-25 Thread Maxime Ripard
On Mon, Jan 25, 2016 at 01:55:00PM +0800, Chen-Yu Tsai wrote: > The latest addition of H3 USB clocks placed them at the bottom. Move it > before A80 (sun9i), so they are sorted by SoC family then name. > > Signed-off-by: Chen-Yu Tsai Applied, thanks! Maxime -- Maxime Ripard, Free Electrons Em

Re: [PATCH] pinctrl: sunxi: guard sub-directory with CONFIG_PINCTRL_SUNXI

2016-01-25 Thread Maxime Ripard
On Sun, Jan 24, 2016 at 12:32:09AM +0900, Masahiro Yamada wrote: > CONFIG_PINCTRL_SUNXI is more suitable than CONFIG_ARCH_SUNXI > to guard the drivers/pinctrl/sunxi/ directory. > (I renamed CONFIG_PINCTRL_SUNXI_COMMON to CONFIG_PINCTRL_SUNXI.) > > Signed-off-by: Masahiro Yamada Acked-by: Maxime

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

2016-01-25 Thread Takashi Iwai
On Fri, 22 Jan 2016 03:40:45 +0100, Stephen Rothwell wrote: > > Hi all, > > On Fri, 22 Jan 2016 11:24:42 +1100 Stephen Rothwell > wrote: > > > > On Thu, 21 Jan 2016 07:38:59 +1100 Stephen Rothwell > > wrote: > > > > > > On Wed, 20 Jan 2016 15:09:47 +0100 Takashi Iwai wrote: > > > > > > > >

RE: [PATCH] drivers/scsi/emcctd: drivers/scsi/emcctd: Client driver implementation for EMC-Symmetrix GuestOS emulated Cut-Through Device

2016-01-25 Thread Singhal, Maneesh
Thanks Johannes for generously reviewing my patch. It indeed is going to improve the thing a lot. I agree with all your comments so far, and will submit a newer patch soon. Since this is my first patch, I have couple of questions regarding submitting the patch: 1. Is there a page/place where

[patch added to 3.12-stable] x86/boot: Double BOOT_HEAP_SIZE to 64KB

2016-01-25 Thread Jiri Slaby
From: "H.J. Lu" This patch has been added to the 3.12 stable tree. If you have any objections, please let us know. === commit 8c31902cffc4d716450be549c66a67a8a3dd479c upstream. When decompressing kernel image during x86 bootup, malloc memory for ELF program headers may run out of h

[patch added to 3.12-stable] ipmi: move timer init to before irq is setup

2016-01-25 Thread Jiri Slaby
From: Jan Stancek This patch has been added to the 3.12 stable tree. If you have any objections, please let us know. === commit 27f972d3e00b50639deb4cc1392afaeb08d3cecc upstream. We encountered a panic on boot in ipmi_si on a dell per320 due to an uninitialized timer as follows. s

Re: [PATCH] Revert "Staging: panel: usleep_range is preferred over udelay"

2016-01-25 Thread Dan Carpenter
Anyway, I'll update Smatch to warn about these in the future. regards, dan carpenter

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

2016-01-25 Thread Michael Ellerman
On Mon, 2016-01-25 at 10:29 +0100, Takashi Iwai wrote: > On Fri, 22 Jan 2016 03:40:45 +0100, Stephen Rothwell wrote: > > diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig > > index 50693c867e71..ee5f36b9c787 100644 > > --- a/sound/soc/codecs/Kconfig > > +++ b/sound/soc/codecs/Kconfig

Re: [PATCH] mm/debug_pagealloc: Ask users for default setting of debug_pagealloc

2016-01-25 Thread Heiko Carstens
On Mon, Jan 25, 2016 at 10:19:48AM +0100, Christian Borntraeger wrote: > since commit 031bc5743f158 ("mm/debug-pagealloc: make debug-pagealloc > boottime configurable") CONFIG_DEBUG_PAGEALLOC is by default a no-op. > > This resulted in several unnoticed bugs, e.g. > > https://lkml.kernel.org/g/<5

Re: [PATCH] Revert "Staging: panel: usleep_range is preferred over udelay"

2016-01-25 Thread Sudip Mukherjee
On Mon, Jan 25, 2016 at 12:16:01PM +0300, Dan Carpenter wrote: > Ugh... Checkpatch told us to introduce bugs... :( We almost certainly > would have missed this bug in review, but it wasn't sent to the list so > I guess we'll never know. I can find the v1 of the patch in usb list. http://permali

Re: [PATCH] x86/efi: Setup separate EFI page tables in kexec paths

2016-01-25 Thread Matt Fleming
On Thu, 21 Jan, at 08:58:15PM, Matt Fleming wrote: > > Ingo, this commit should unblock the EFI changes for v4.5. Looks like all this material missed v4.5. Was that intentional?

RE: [f2fs-dev] [PATCH 1/2] f2fs: avoid multiple node page writes due to inline_data

2016-01-25 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Sunday, January 24, 2016 4:16 AM > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Cc: Jaegeuk Kim > Subject: [f2fs-dev] [PATCH 1/2] f2fs: av

[PATCH V2 07/11] soc: mediatek: PMIC wrap: move wdt_src into the pmic_wrapper_type struct

2016-01-25 Thread John Crispin
Make the handling of wdt_src consitent with the rest of the code. Signed-off-by: John Crispin --- drivers/soc/mediatek/mtk-pmic-wrap.c |9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/soc/mediatek/mtk-pmic-wrap.c b/drivers/soc/mediatek/mtk-pmic-wrap.c inde

[PATCH V2 08/11] soc: mediatek: PMIC wrap: remove pwrap_is_mt8135() and pwrap_is_mt8173()

2016-01-25 Thread John Crispin
With ore SoCs being added the list of helper functions like these would grow. While at it also add a new flag "bridge" and use that insted of pwrap_is_mt8173() where appropriate. Signed-off-by: John Crispin --- drivers/soc/mediatek/mtk-pmic-wrap.c | 27 +++ 1 file chang

[PATCH V2 10/11] soc: mediatek: PMIC wrap: add mt6323 slave support

2016-01-25 Thread John Crispin
Add support for MT6323 slaves. This PMIC can be found on MT2701 and MT7623 EVB. The only function that we need to touch is pwrap_init_cipher(). Signed-off-by: John Crispin --- drivers/soc/mediatek/mtk-pmic-wrap.c | 46 -- 1 file changed, 44 insertions(+), 2 dele

[PATCH V2 11/11] soc: mediatek: PMIC wrap: add MT2701/7623 support

2016-01-25 Thread John Crispin
Add the registers, callbacks and data structures required to make the wrapper work on MT2701 and MT7623. Signed-off-by: John Crispin --- drivers/soc/mediatek/mtk-pmic-wrap.c | 160 ++ 1 file changed, 160 insertions(+) diff --git a/drivers/soc/mediatek/mtk-pmic-w

[PATCH V2 09/11] soc: mediatek: PMIC wrap: add a slave specific struct

2016-01-25 Thread John Crispin
This patch adds a new struct pwrap_slv_type that we use to store the slave specific data. The patch adds 2 new helper functions to access the dew registers. The slave type is looked up via the wrappers child node. Signed-off-by: John Crispin --- drivers/soc/mediatek/mtk-pmic-wrap.c | 170 ++

[PATCH V2 03/11] soc: mediatek: PMIC wrap: add wrapper callbacks for init_reg_clock

2016-01-25 Thread John Crispin
Split init_reg_clock up into SoC specific callbacks. The patch also reorders the code to avoid the need for callback function prototypes. Signed-off-by: John Crispin --- drivers/soc/mediatek/mtk-pmic-wrap.c | 70 ++ 1 file changed, 38 insertions(+), 32 deletions

Re: [PATCH] mm/debug_pagealloc: Ask users for default setting of debug_pagealloc

2016-01-25 Thread Christian Borntraeger
On 01/25/2016 10:41 AM, Heiko Carstens wrote: > On Mon, Jan 25, 2016 at 10:19:48AM +0100, Christian Borntraeger wrote: >> since commit 031bc5743f158 ("mm/debug-pagealloc: make debug-pagealloc >> boottime configurable") CONFIG_DEBUG_PAGEALLOC is by default a no-op. >> >> This resulted in several unn

[PATCH V2 06/11] soc: mediatek: PMIC wrap:: SPI_WRITE needs a different bitmask for MT2701/7623

2016-01-25 Thread John Crispin
MT2701 and MT7623 use a different bitmask for the SPI_WRITE command. Signed-off-by: John Crispin --- drivers/soc/mediatek/mtk-pmic-wrap.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/soc/mediatek/mtk-pmic-wrap.c b/drivers/soc/mediatek/mtk-pmic-wrap.c

[PATCH] cpufreq: Use list_is_last() to check last entry of the policy list

2016-01-25 Thread Gautham R. Shenoy
Currently next_policy() explicitly checks if a policy is the last policy in the cpufreq_policy_list. Use the standard list_is_last primitive instead. Cc: Viresh Kumar Signed-off-by: Gautham R. Shenoy --- drivers/cpufreq/cpufreq.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff

[PATCH V2 02/11] soc: mediatek: PMIC wrap: don't duplicate the wrapper data

2016-01-25 Thread John Crispin
As we add support for more devices struct pmic_wrapper_type will grow and we do not really want to start duplicating all the elements in struct pmic_wrapper. Signed-off-by: John Crispin --- drivers/soc/mediatek/mtk-pmic-wrap.c | 22 -- 1 file changed, 8 insertions(+), 14 de

[PATCH V2 05/11] soc: mediatek: PMIC wrap: WRAP_INT_EN needs a different bitmask for MT2701/7623

2016-01-25 Thread John Crispin
MT2701 and MT7623 use a different bitmask for PWRAP_INT_EN. Signed-off-by: John Crispin --- drivers/soc/mediatek/mtk-pmic-wrap.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/soc/mediatek/mtk-pmic-wrap.c b/drivers/soc/mediatek/mtk-pmic-wrap.c index ab2202d..

Re: [PATCH v4 1/2] ARM: dts: imx6: Add support for Toradex Apalis iMX6Q/D SoM

2016-01-25 Thread Petr Štetiar
Marcel Ziswiler [2016-01-24 23:48:22]: Hi Marcel, sorry for not commenting on your v3, I've missed it :( > + regulators { > + compatible = "simple-bus"; > + I've commented this on your v2 already. One of the Lucas's comments[1] about this node was following: "Get rid of th

Re: PKCS#7 parser and MS SpcSpOpusInfo OID

2016-01-25 Thread Juerg Haefliger
On Mon, Jan 18, 2016 at 3:54 PM, Juerg Haefliger wrote: > Hi, > > The pkcs7 kernel parser currently checks for the following AuthAttrs > (in pkcs7_sig_note_set_of_authattrs()): > > (ctx->msg->data_type == OID_msIndirectData && > !test_bit(sinfo_has_ms_opus_info, &sinfo->aa_set)) > > This check pas

[PATCH V2 01/11] dt-bindings: ARM: Mediatek: add MT2701/7623 string to the PMIC wrapper doc

2016-01-25 Thread John Crispin
Signed-off-by: John Crispin Cc: devicet...@vger.kernel.org --- Documentation/devicetree/bindings/soc/mediatek/pwrap.txt |1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/soc/mediatek/pwrap.txt b/Documentation/devicetree/bindings/soc/mediatek/pwrap.txt index

[PATCH V2 04/11] soc: mediatek: PMIC wrap: split SoC specific init into callback

2016-01-25 Thread John Crispin
This patch moves the SoC specific wrapper init code into separate callback to avoid pwrap_init() getting too large. Signed-off-by: John Crispin --- drivers/soc/mediatek/mtk-pmic-wrap.c | 68 +- 1 file changed, 42 insertions(+), 26 deletions(-) diff --git a/driv

RE: [f2fs-dev] [PATCH 2/2] f2fs: fix to overcome inline_data floods

2016-01-25 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Sunday, January 24, 2016 4:16 AM > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Cc: Jaegeuk Kim > Subject: [f2fs-dev] [PATCH 2/2] f2fs: fi

Re: [PATCH] cpufreq: Use list_is_last() to check last entry of the policy list

2016-01-25 Thread Viresh Kumar
On 25-01-16, 15:16, Gautham R. Shenoy wrote: > Currently next_policy() explicitly checks if a policy is the last > policy in the cpufreq_policy_list. Use the standard list_is_last > primitive instead. > > Cc: Viresh Kumar > Signed-off-by: Gautham R. Shenoy > --- > drivers/cpufreq/cpufreq.c | 6

Re: [PATCH V3 18/21] ACPI, PCI: Refine the way to handle translation_offset for ACPI resources

2016-01-25 Thread Lorenzo Pieralisi
On Tue, Jan 19, 2016 at 12:20:26PM +, Lorenzo Pieralisi wrote: > Gerry, > > On Wed, Jan 13, 2016 at 02:21:04PM +0100, Tomasz Nowicki wrote: > > From: Liu Jiang > > > > Some architectures, such as IA64 and ARM64, have no instructions to > > directly access PCI IO ports, so they map PCI IO por

RE: [PATCH v2 2/4] f2fs: introduce f2fs_submit_merged_bio_cond

2016-01-25 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Sunday, January 24, 2016 4:22 AM > To: Chao Yu > Cc: linux-f2fs-de...@lists.sourceforge.net; linux-kernel@vger.kernel.org > Subject: Re: [PATCH v2 2/4] f2fs: introduce f2fs_submit_merged_bio_cond > >

[PATCH V3 00/11] soc: mediatek: PMIC wrap: add MT6323/2701/7623 support

2016-01-25 Thread John Crispin
Changes in V3: * I accidentially sent a V2 about 15 minutes ago. Unfortunatley the time inside the VM that i used was wrong and lagged by 6 days. V3 is the same as V2 but with the correct time. Changes in V2: * rebase the code on the MTK internal driver John Crispin (11): dt-bindings: ARM:

[PATCH V3 04/11] soc: mediatek: PMIC wrap: split SoC specific init into callback

2016-01-25 Thread John Crispin
This patch moves the SoC specific wrapper init code into separate callback to avoid pwrap_init() getting too large. Signed-off-by: John Crispin --- drivers/soc/mediatek/mtk-pmic-wrap.c | 68 +- 1 file changed, 42 insertions(+), 26 deletions(-) diff --git a/driv

[PATCH V3 05/11] soc: mediatek: PMIC wrap: WRAP_INT_EN needs a different bitmask for MT2701/7623

2016-01-25 Thread John Crispin
MT2701 and MT7623 use a different bitmask for PWRAP_INT_EN. Signed-off-by: John Crispin --- drivers/soc/mediatek/mtk-pmic-wrap.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/soc/mediatek/mtk-pmic-wrap.c b/drivers/soc/mediatek/mtk-pmic-wrap.c index ab2202d..

[PATCH V3 03/11] soc: mediatek: PMIC wrap: add wrapper callbacks for init_reg_clock

2016-01-25 Thread John Crispin
Split init_reg_clock up into SoC specific callbacks. The patch also reorders the code to avoid the need for callback function prototypes. Signed-off-by: John Crispin --- drivers/soc/mediatek/mtk-pmic-wrap.c | 70 ++ 1 file changed, 38 insertions(+), 32 deletions

[PATCH V3 01/11] dt-bindings: ARM: Mediatek: add MT2701/7623 string to the PMIC wrapper doc

2016-01-25 Thread John Crispin
Signed-off-by: John Crispin Cc: devicet...@vger.kernel.org --- Documentation/devicetree/bindings/soc/mediatek/pwrap.txt |1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/soc/mediatek/pwrap.txt b/Documentation/devicetree/bindings/soc/mediatek/pwrap.txt index

[PATCH V3 08/11] soc: mediatek: PMIC wrap: remove pwrap_is_mt8135() and pwrap_is_mt8173()

2016-01-25 Thread John Crispin
With ore SoCs being added the list of helper functions like these would grow. While at it also add a new flag "bridge" and use that insted of pwrap_is_mt8173() where appropriate. Signed-off-by: John Crispin --- drivers/soc/mediatek/mtk-pmic-wrap.c | 27 +++ 1 file chang

[PATCH V3 10/11] soc: mediatek: PMIC wrap: add mt6323 slave support

2016-01-25 Thread John Crispin
Add support for MT6323 slaves. This PMIC can be found on MT2701 and MT7623 EVB. The only function that we need to touch is pwrap_init_cipher(). Signed-off-by: John Crispin --- drivers/soc/mediatek/mtk-pmic-wrap.c | 46 -- 1 file changed, 44 insertions(+), 2 dele

[PATCH V3 11/11] soc: mediatek: PMIC wrap: add MT2701/7623 support

2016-01-25 Thread John Crispin
Add the registers, callbacks and data structures required to make the wrapper work on MT2701 and MT7623. Signed-off-by: John Crispin --- drivers/soc/mediatek/mtk-pmic-wrap.c | 160 ++ 1 file changed, 160 insertions(+) diff --git a/drivers/soc/mediatek/mtk-pmic-w

[PATCH V3 09/11] soc: mediatek: PMIC wrap: add a slave specific struct

2016-01-25 Thread John Crispin
This patch adds a new struct pwrap_slv_type that we use to store the slave specific data. The patch adds 2 new helper functions to access the dew registers. The slave type is looked up via the wrappers child node. Signed-off-by: John Crispin --- drivers/soc/mediatek/mtk-pmic-wrap.c | 170 ++

[PATCH V3 07/11] soc: mediatek: PMIC wrap: move wdt_src into the pmic_wrapper_type struct

2016-01-25 Thread John Crispin
Make the handling of wdt_src consitent with the rest of the code. Signed-off-by: John Crispin --- drivers/soc/mediatek/mtk-pmic-wrap.c |9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/soc/mediatek/mtk-pmic-wrap.c b/drivers/soc/mediatek/mtk-pmic-wrap.c inde

[PATCH V3 06/11] soc: mediatek: PMIC wrap:: SPI_WRITE needs a different bitmask for MT2701/7623

2016-01-25 Thread John Crispin
MT2701 and MT7623 use a different bitmask for the SPI_WRITE command. Signed-off-by: John Crispin --- drivers/soc/mediatek/mtk-pmic-wrap.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/soc/mediatek/mtk-pmic-wrap.c b/drivers/soc/mediatek/mtk-pmic-wrap.c

Re: [PATCH] Let AHCI dirver skip Lenovo SWRAID controller

2016-01-25 Thread Christoph Hellwig
On Mon, Jan 25, 2016 at 03:11:40AM +, Ocean HY1 He wrote: > Lenovo SWRAID solution is based on Intel Non-RSTE RAID controller which > is called Lenovo SWRAID controller by set Lenovo dedicated PCI > SVID:SDID. > > Because AHCI driver now take control this Lenovo SWRAID controller for > MDRAID,

[PATCH V3 02/11] soc: mediatek: PMIC wrap: don't duplicate the wrapper data

2016-01-25 Thread John Crispin
As we add support for more devices struct pmic_wrapper_type will grow and we do not really want to start duplicating all the elements in struct pmic_wrapper. Signed-off-by: John Crispin --- drivers/soc/mediatek/mtk-pmic-wrap.c | 22 -- 1 file changed, 8 insertions(+), 14 de

[PATCH 16/54] perf tools: Introduce bpf-output event

2016-01-25 Thread Wang Nan
Commit a43eec304259a6c637f4014a6d4767159b6a3aa3 (bpf: introduce bpf_perf_event_output() helper) add a helper to enable BPF program output data to perf ring buffer through a new type of perf event PERF_COUNT_SW_BPF_OUTPUT. This patch enable perf to create perf event of that type. Now perf user can u

  1   2   3   4   5   6   7   8   9   10   >