[RFC] omap3isp: add support for CSI1 bus

2017-03-05 Thread Pavel Machek
omap3isp: add rest of CSI1 support CSI1 needs one more bit to be set up. Do just that. Signed-off-by: Pavel Machek --- Hmm. Looking at that... num_data_lanes probably should be modified in local variable, not globally like this. Should I do that? Anything else that needs fixing? index 24a9fc

Re: [PATCH] ARM: dts: exynos: Add power button for Odroid XU3/4

2017-03-05 Thread Krzysztof Kozlowski
On Mon, Mar 6, 2017 at 4:52 AM, Brian Kim wrote: > The power button on Odroid XU3/4 is connected with the PWRON pin of > s2mps11 PMIC. The s2mps11 sends low signal to GPIO input in exynos 5422 > via ONOB pin. > > This patch adds devicetree bindings for the power button of Odroid > XU3/4. > > Signe

[PATCH] x86: thinkpad_acpi: Handle return error.

2017-03-05 Thread Arvind Yadav
This patch is for handling a return error. Signed-off-by: Arvind Yadav --- drivers/platform/x86/thinkpad_acpi.c | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c index 1d18b32..19ad3ec

Re: [PATCH RFC 00/14] Add the BFQ I/O Scheduler to blk-mq

2017-03-05 Thread Markus Trippelsdorf
On 2017.03.04 at 17:01 +0100, Paolo Valente wrote: > Hi, > at last, here is my first patch series meant for merging. It adds BFQ > to blk-mq. Don't worry, in this message I won't bore you again with > the wonderful properties of BFQ :) I gave BFQ a quick try. Unfortunately it hangs when I try to d

[PATCH] x86: thinkpad_acpi: Handle return error.

2017-03-05 Thread Arvind Yadav
This patch is for handling a return error. Signed-off-by: Arvind Yadav --- drivers/platform/x86/thinkpad_acpi.c | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c index 1d18b32..19ad3ec

Re: [PATCH v2] Input: sparse-keymap - use a managed allocation for keymap copy

2017-03-05 Thread Andy Shevchenko
On Mon, Mar 6, 2017 at 9:09 AM, Michał Kępień wrote: >> On Thu, Mar 2, 2017 at 2:02 PM, Michał Kępień wrote: >> > + * Since sparse_keymap_setup() now uses a managed allocation for the >> > + * keymap copy, use of this function is deprecated. >> >> So... >> >> > */ >> > void sparse_keymap_free

Re: [PATCH] scsi: sr: fix oob access in get_capabilities

2017-03-05 Thread Kefeng Wang
Hi all, On 2017/3/3 18:17, Kefeng Wang wrote: > 'n = header_length + block_descriptor_length' could be greater than 512, > and will lead to oob access, so enlarge transfer buffer to fix it. I am not familiar with scsi protocol,so the patch may be wrong. Question, is it reasonable for block_descri

[PATCH] v4l2-fwnode: Fix clock lane parsing

2017-03-05 Thread Pavel Machek
Fix clock lane parsing in v4l2-fwnode. Signed-off-by: Pavel Machek diff --git a/drivers/media/v4l2-core/v4l2-fwnode.c b/drivers/media/v4l2-core/v4l2-fwnode.c index dd3..44036b8 100644 --- a/drivers/media/v4l2-core/v4l2-fwnode.c +++ b/drivers/media/v4l2-core/v4l2-fwnode.c @@ -167,7 +167,

Re: [PATCH] ARM: dts: exynos: Use thermal fuse value for thermal zone 0 on Exynos5420

2017-03-05 Thread Anand Moon
Hi Krzysztof, On 4 March 2017 at 13:31, Krzysztof Kozlowski wrote: > On Fri, Mar 03, 2017 at 06:50:06PM -0300, Javier Martinez Canillas wrote: >> Hello Krzysztof, >> >> On 02/11/2017 05:14 PM, Krzysztof Kozlowski wrote: >> > In Odroid XU3 Lite board, the temperature levels reported for thermal >>

Re: Question Regarding ERMS memcpy

2017-03-05 Thread H. Peter Anvin
On 03/05/17 23:01, Logan Gunthorpe wrote: > > On 05/03/17 12:54 PM, Borislav Petkov wrote: >> Logan, wanna give that a try, see if it takes care of your issue? > > Well honestly my issue was solved by fixing my kernel config. I have no > idea why I had optimize for size in there in the first plac

[PATCH v9 2/8] devicetree: property-units: Add uWh and uAh units

2017-03-05 Thread Liam Breck
From: Matt Ranostay Add entries for microwatt-hours and microamp-hours. Cc: Rob Herring Cc: Mark Rutland Cc: devicet...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Matt Ranostay Signed-off-by: Liam Breck Acked-by: Sebastian Reichel Acked-by: Rob Herring --- Documentati

[PATCH] Revert "kref: double kref_put() in my_data_handler()"

2017-03-05 Thread Thomas Hellstrom
This reverts commit 8f1ecc9fbc5b223e4f5d5bb8bcd6f5672c4bc4b6. The correction is incorrect, see discussion at http://stackoverflow.com/questions/20093127/why-kref-doc-of-linux-kernel-omits-kref-put-when-kthread-run-fail Reported-by: KrishnamRaju raju Cc: Roel Kluin Cc: Randy Dunlap Cc: Krishna

Re: [4.11.0-rc1] kernel warning due to commit 3bb434cd, "vmw_vmci: switch to pci_irq_alloc_vectors"

2017-03-05 Thread gre...@linuxfoundation.org
On Mon, Mar 06, 2017 at 07:02:16AM +, 허종만 wrote: >   > > Hi, > > I'm running kernel 4.11-rc1 on VMWare Workstation 12 Pro (Host : windows 10, > Guest : Fedora 25). > > > I got kernel warning with latest kernel. > > According to git bisect, first bad commit is > [3bb434cdcc6af3d4e70ba041e

Re: [PATCH v2] Input: sparse-keymap - use a managed allocation for keymap copy

2017-03-05 Thread Michał Kępień
> On Thu, Mar 2, 2017 at 2:02 PM, Michał Kępień wrote: > > Some platform drivers use devm_input_allocate_device() together with > > sparse_keymap_setup() in their .probe callbacks. While using the former > > simplifies error handling, using the latter necessitates calling > > sparse_keymap_free()

Re: [PATCH] mmc: mediatek: Fixed bug where clock frequency could be set wrong

2017-03-05 Thread Daniel Kurtz
Hi Yong, On Sat, Mar 4, 2017 at 3:10 PM, Yong Mao wrote: > From: yong mao > > This patch can fix two issues: > > Issue 1: > In previous code, div may be overflow when setting clock frequency > as f_min. We can use DIV_ROUND_UP to fix this boundary related > issue. > > Issue 2: > In previous code

Re: Re: [4.11.0-rc1] kernel warning due to commit 3bb434cd, "vmw_vmci: switch to pci_irq_alloc_vectors"

2017-03-05 Thread Jongman Heo
> - Original Message - > Sender : gre...@linuxfoundation.org  > Date : 2017-03-06 16:08 (GMT+9) > Title : Re: [4.11.0-rc1] kernel warning due to commit 3bb434cd, "vmw_vmci: > switch to pci_irq_alloc_vectors" >   > On Mon, Mar 06, 2017 at 07:02:16AM +, 허종만 wrote: >   >  > Hi,

[4.11.0-rc1] kernel warning due to commit 3bb434cd, "vmw_vmci: switch to pci_irq_alloc_vectors"

2017-03-05 Thread 허종만
  Hi, I'm running kernel 4.11-rc1 on VMWare Workstation 12 Pro (Host : windows 10, Guest : Fedora 25). I got kernel warning with latest kernel. According to git bisect, first bad commit is [3bb434cdcc6af3d4e70ba041e6f596e465d11e14] vmw_vmci: switch to pci_irq_alloc_vectors. Reverting the co

Re: [PATCH] avr32: Fix build error caused by include file reshuffling

2017-03-05 Thread Hans-Christian Noren Egtvedt
Around Sun 05 Mar 2017 17:05:57 -0800 or thereabout, Guenter Roeck wrote: > Various avr32 builds fail as follows. > > arch/avr32/oprofile/backtrace.c:58: error: > dereferencing pointer to incomplete type > arch/avr32/oprofile/backtrace.c:60: error: > implicit declaration of function 'u

Re: [PATCH v2 06/12] dmaengine: sun6i: make gate bit in sun8i's DMA engines a common quirk

2017-03-05 Thread Chen-Yu Tsai
On Sun, Mar 5, 2017 at 9:37 PM, Icenowy Zheng wrote: > Originally we enable a special gate bit when the compatible indicates > A23/33. > > But according to BSP sources and user manuals, more SoCs will need this > gate bit. > > So make it a common quirk configured in the config struct. > > The BSP

Re: Question Regarding ERMS memcpy

2017-03-05 Thread Logan Gunthorpe
On Sun, Mar 05, 2017 at 11:19:42AM -0800, Linus Torvalds wrote: >> But it is *not* the right thing to use on IO memory, because the CPU >> only does the magic cacheline access optimizations on cacheable >> memory! Yes, and actually this is where I started. I thought my memcpy was using byte acces

Re: stack frame unwindind KASAN errors

2017-03-05 Thread Daniel J Blueman
On 27 February 2017 at 23:47, Josh Poimboeuf wrote: > On Mon, Feb 27, 2017 at 12:49:59PM +0800, Daniel J Blueman wrote: >> On 4.9.13 with KASAN enabled [1], we see a number of stack unwinding >> errors reported [2,3]. >> >> This seems to occur at half of boots. >> >> Let me know for further debug

[PATCH -stable 4.1 4/4] perf/core: Fix the perf_cpu_time_max_percent check

2017-03-05 Thread Tan Xiaojun
Use "proc_dointvec_minmax" instead of "proc_dointvec" to check the input value from user-space. If not, we can set a big value and some vars will overflow like "sysctl_perf_event_sample_rate" which will cause a lot of unexpected problems. Signed-off-by: Tan Xiaojun Signed-off-by: Peter Zijlstra

Re: [PATCH] extcon: int3496: add dependency on X86 as it's Intel specific

2017-03-05 Thread Chanwoo Choi
On 2017년 03월 03일 03:10, Peter Robinson wrote: > Add dependency on X86 so it doesn't show up on other arches and > add a option for compile test so it still gets build coverage. > > Signed-off-by: Peter Robinson > --- > drivers/extcon/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-

Re: [v10, 2/2] Documentation/ABI: Add ABI information for QCOM socinfo driver

2017-03-05 Thread Imran Khan
On 2/22/2017 7:34 PM, Rob Herring wrote: > On Mon, Feb 20, 2017 at 10:17:15PM +0530, Khan, Imran wrote: >> The socinfo ABI document describes the information provided >> by socinfo driver and the corresponding attributes to access >> that information. >> >> Signed-off-by: Imran Khan >> --- >> ...

[PATCH -stable 4.1 0/4] perf/core: Fix dynamic interrupt throttle

2017-03-05 Thread Tan Xiaojun
These four patches are needed for stable 4.1. They fix function of dynamic interrupt throttle. Kan Liang (1): perf/core: Fix implicitly enable dynamic interrupt throttle Peter Zijlstra (2): perf/core: Fix dynamic interrupt throttle perf/core: Make sysctl_perf_cpu_time_max_percent conform to

[PATCH -stable 4.1 2/4] perf/core: Fix implicitly enable dynamic interrupt throttle

2017-03-05 Thread Tan Xiaojun
From: Kan Liang This patch fixes an issue which was introduced by commit: 91a612eea9a3 ("perf/core: Fix dynamic interrupt throttle") ... which commit unconditionally sets the perf_sample_allowed_ns value to !0. But that could trigger a bug in the following corner case: The user can disable t

[PATCH -stable 4.1 3/4] perf/core: Make sysctl_perf_cpu_time_max_percent conform to documentation

2017-03-05 Thread Tan Xiaojun
From: Peter Zijlstra Markus reported that 0 should also disable the throttling we per Documentation/sysctl/kernel.txt. Reported-by: Markus Trippelsdorf Signed-off-by: Peter Zijlstra (Intel) Cc: Alexander Shishkin Cc: Arnaldo Carvalho de Melo Cc: Jiri Olsa Cc: Linus Torvalds Cc: Peter Zijls

[PATCH -stable 4.1 1/4] perf/core: Fix dynamic interrupt throttle

2017-03-05 Thread Tan Xiaojun
From: Peter Zijlstra There were two problems with the dynamic interrupt throttle mechanism, both triggered by the same action. When you (or perf_fuzzer) write a huge value into /proc/sys/kernel/perf_event_max_sample_rate the computed perf_sample_allowed_ns becomes 0. This effectively disables th

Re: [PATCH] Staging: wlan-ng: hfa384x.h: fixed a newline coding style issue

2017-03-05 Thread Greg KH
On Sun, Mar 05, 2017 at 09:09:12PM -0500, Mark Stenglein wrote: > Fixed a coding style issue. What issue would that be? > Signed-off-by: Mark Stenglein > --- > drivers/staging/wlan-ng/hfa384x.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/staging/wlan-ng/hfa384x.h > b/driv

Re: [linux-sunxi] [PATCH v2 02/12] ASoC: sun8i-codec-analog: split out line in

2017-03-05 Thread Chen-Yu Tsai
On Sun, Mar 5, 2017 at 9:36 PM, Icenowy Zheng wrote: > Allwinner V3s features an analog codec without LINEIN. > > Split out this part, in order to prepare for the V3s analog codec. > > Signed-off-by: Icenowy Zheng Acked-by: Chen-Yu Tsai

Re: [linux-sunxi] [PATCH v2 01/12] ASoC: sun8i-codec-analog: split out mic2

2017-03-05 Thread Chen-Yu Tsai
On Sun, Mar 5, 2017 at 9:36 PM, Icenowy Zheng wrote: > Allwinner V3s features an analog codec without MIC2. > > Split out this part, in order to prepare for the V3s analog codec. > > Signed-off-by: Icenowy Zheng Acked-by: Chen-Yu Tsai

Re: [PATCH v3 1/3] dt-bindings: phy: add assign clock property in usb2-phy node

2017-03-05 Thread Heiko Stübner
Hi Daniel, Am Montag, 6. März 2017, 09:29:36 CET schrieb Meng Dongyang: > On some platform such as RK3328, the 480m clock may need to assign > clock parent in dts in stead of clock driver. So this patch add > property of assigned-clocks and assigned-clock-parents to assign > parent for 480m clock.

Re: nvme, allocation failures, and aborted commands

2017-03-05 Thread Thomas Fjellstrom
Tonight I decided to try kernel 4.11-rc1. Still getting page allocation failures and aborted nvme commands once iozone gets to the fwrite/fread testing. The taint seems to be comming from previos warnings from the radeon kernel driver. Its a pretty simple: iozone -a -s 64G run. new log: [ 57

Re: [PATCH v3 2/3] dt-bindings: phy: add DT bindings for usb2-phy grf

2017-03-05 Thread Heiko Stübner
Am Montag, 6. März 2017, 09:29:37 CET schrieb Meng Dongyang: > Adds the device tree bindings description for usb2-phy grf > of RK3328 platform. > > Changes in v2: > - add usb2-phy grf specification > Chagnes in v3: > - remove the example of usb2-phy grf > > Signed-off-by: Meng Dongyang looks

[PATCH] MAINTAINERS: Remove self from Tegra maintainers

2017-03-05 Thread Alexandre Courbot
I have not been doing any Tegra maintainance work for a while, and this is unlikely to change in the foreseeable future. Better reflect the actual state of things by removing myself from the list. Signed-off-by: Alexandre Courbot --- MAINTAINERS | 1 - 1 file changed, 1 deletion(-) diff --git a

Re: [RFC] remove support for AVR32 architecture

2017-03-05 Thread Håvard Skinnemoen
On Wed, Mar 1, 2017 at 12:44 PM, Hans-Christian Noren Egtvedt wrote: > I have prepared three patches in my for-linus branch in git tree > https://git.kernel.org/cgit/linux/kernel/git/egtvedt/linux-avr32.git Acked-by: Haavard Skinnemoen Thank you for keeping it alive for so long! I looked throu

Re: [greybus-dev] [PATCH 2/3] staging: greybus: Replace "is is" with "is"

2017-03-05 Thread Viresh Kumar
On 04-03-17, 21:37, simran singhal wrote: > This patch replace "is is " with "is". The replacement couldn't be > automated because sometimes the first "is" was meant to be another > word. > > Signed-off-by: simran singhal > --- > drivers/staging/greybus/uart.c | 2 +- > 1 file changed, 1 inserti

[RFC] mm, swap: VMA based swap readahead

2017-03-05 Thread Huang, Ying
From: Huang Ying The swap readahead is a important mechanism to reduce the swap in latency. But the original swap readahead algorithm has some issues. a) The original swap readahead algorithm does readahead based on the consecutive blocks in swap device. But the consecutive blocks in swa

[PATCH v2] MIPS: Fix build breakage caused by header file changes

2017-03-05 Thread Guenter Roeck
Since commit f3ac60671954 ("sched/headers: Move task-stack related APIs from to ") and commit f780d89a0e82 ("sched/headers: Remove from "), various mips builds fail as follows. arch/mips/kernel/smp-mt.c: In function ‘vsmp_boot_secondary’: arch/mips/include/asm/processor.h:384:41: error:

RE: [PATCH] phy: core: fix the condition to enable pm_runtime in phy_create()

2017-03-05 Thread Yoshihiro Shimoda
Hi, > From: Yoshihiro Shimoda > Sent: Friday, March 03, 2017 8:33 PM > > This patch fixes an issue that phy_create() never enables the pm_runtime. > And then, we can remove calling the pm_runtime_{en,dis}able from some > phy drivers. > > Fixes: ff764963479a ("drivers: phy: add generic PHY framew

Re: [PATCH V3 0/4] Define coherent device memory node

2017-03-05 Thread Anshuman Khandual
On 02/22/2017 10:24 PM, Michal Hocko wrote: > On Wed 22-02-17 09:59:15, Jerome Glisse wrote: >> On Wed, Feb 22, 2017 at 10:29:21AM +0100, Michal Hocko wrote: >>> On Tue 21-02-17 18:39:17, Anshuman Khandual wrote: On 02/17/2017 07:02 PM, Mel Gorman wrote: >> >> [...] >> >>> [...] These are

Re: [linux-sunxi] [PATCH v2 08/12] ARM: dts: sun8i: restore the inclusion of ccu headers in V3s DTSI

2017-03-05 Thread Chen-Yu Tsai
Hi, On Sun, Mar 5, 2017 at 9:37 PM, Icenowy Zheng wrote: > When the V3s support patchset is applied, CCU headers and V3s DTSI went > into different trees, so the CCU inclusion is removed in the DTSI. > > Add back them. > > Signed-off-by: Icenowy Zheng > --- > arch/arm/boot/dts/sun8i-v3s.dtsi |

Re: [PATCH 2/6] cpufreq: schedutil: ignore the sugov kthread for frequencies selections

2017-03-05 Thread Viresh Kumar
On 03-03-17, 12:12, Patrick Bellasi wrote: > On 03-Mar 10:49, Viresh Kumar wrote: > > I always wanted to avoid such hacks when I moved to the RT thread :( > > Indeed, it is a bit of an hack... but still it's true that this is a > "special" RT thread which must not bias OPP selection. I agree. We

Re: [PATCH V3 0/4] Define coherent device memory node

2017-03-05 Thread Anshuman Khandual
On 02/23/2017 09:27 PM, Mel Gorman wrote: > On Tue, Feb 21, 2017 at 06:39:17PM +0530, Anshuman Khandual wrote: > In itself, the series does very little and as Vlastimil already pointed > out, it's not a good idea to try merge piecemeal when people could not > agree on the big picture (I

Re: [PATCH v4 1/5] arm64: dts: exynos: Add the burst and esc clock frequency properties to DSI node

2017-03-05 Thread Hoegeun Kwon
On 03/06/2017 01:49 PM, Andi Shyti wrote: Hi Hoegeun, On Mon, Mar 06, 2017 at 01:42:19PM +0900, Hoegeun Kwon wrote: The OF graph is not needed because the panel is a child of dsi. Add the burst and esc clock frequency properties to the parent (DSI node). Signed-off-by: Hoegeun Kwon Reviewed-b

Re: [PATCH v4 2/5] arm: dts: Add the burst and esc clock frequency properties to DSI node

2017-03-05 Thread Andi Shyti
Hi Hoegeun, On Mon, Mar 06, 2017 at 01:42:20PM +0900, Hoegeun Kwon wrote: > The OF graph is not needed because the panel is a child of dsi. Add > the burst and esc clock frequency properties to the parent (DSI node). > > Signed-off-by: Hoegeun Kwon > Reviewed-by: Andrzej Hajda Reviewed-by: And

Re: [PATCH v2 0/4] fujitsu_init() cleanup

2017-03-05 Thread Jonathan Woithe
Hi Michael On Mon, Mar 06, 2017 at 05:49:05AM +0100, Micha?? K??pie?? wrote: > > > With regard to patch 2/4 you wrote: > > > > Jonathan, this *really* needs testing on relevant hardware. After > > > > applying this patch, you should be able to turn LCD backlight on and off > > > > using /sys/clas

Re: [PATCH v4 4/5] arm64: dts: exynos: Remove the OF graph from DSI node

2017-03-05 Thread Andi Shyti
Hi Hoegeun, On Mon, Mar 06, 2017 at 01:42:22PM +0900, Hoegeun Kwon wrote: > The OF graph is not needed because the panel is a child of dsi. Remove > the ports node in DSI node. > > Signed-off-by: Hoegeun Kwon > Reviewed-by: Andrzej Hajda Reviewed-by: Andi Shyti Andi

Re: [PATCH v2 1/3] phy: sun4i-usb: support automatically switch PHY0 route to MUSB/HCI

2017-03-05 Thread Chen-Yu Tsai
Hi, On Thu, Mar 2, 2017 at 11:11 PM, Icenowy Zheng wrote: > On newer Allwinner SoCs (H3 and after), the PHY0 node is routed to both > MUSB controller for peripheral and host support (the host support is > slightly broken), and a pair of EHCI/OHCI controllers, which provide a > better support for

Re: [PATCH 08/12] gpio: davinci: use devm_irq_alloc_descs()

2017-03-05 Thread Keerthy
On Saturday 04 March 2017 09:53 PM, Bartosz Golaszewski wrote: This driver never frees the interrupt descriptors it allocates. Fix it by using the resource managed version of irq_alloc_descs(). Acked-by: Keerthy Signed-off-by: Bartosz Golaszewski --- drivers/gpio/gpio-davinci.c | 2 +-

Re: [PATCH v3 3/3] phy: rockchip-inno-usb2: add support of usb2-phy for rk3328

2017-03-05 Thread Heiko Stübner
Am Montag, 6. März 2017, 09:29:38 CET schrieb Meng Dongyang: > Add usb2-phy config information in the data of match table for > rk3328. > > Changes in v2: > - add support of otg port > Changes in v3: > - remove tuning function and id pin configs > > Signed-off-by: Meng Dongyang I didn't doubl

Re: [PATCH v4 3/5] drm/exynos: dsi: Fix the parse_dt function

2017-03-05 Thread Andi Shyti
Hi Hoegeun, On Mon, Mar 06, 2017 at 01:42:21PM +0900, Hoegeun Kwon wrote: > The dsi + panel is a parental relationship, so OF grpah is not needed. > Therefore, the current dsi_parse_dt function will throw an error, > because there is no linked OF graph for case such as fimd + dsi + > panel. So thi

Re: [PATCH v4 1/5] arm64: dts: exynos: Add the burst and esc clock frequency properties to DSI node

2017-03-05 Thread Andi Shyti
Hi Hoegeun, On Mon, Mar 06, 2017 at 01:42:19PM +0900, Hoegeun Kwon wrote: > The OF graph is not needed because the panel is a child of dsi. Add > the burst and esc clock frequency properties to the parent (DSI node). > > Signed-off-by: Hoegeun Kwon > Reviewed-by: Andrzej Hajda you forgot to pu

Re: [PATCH v4 5/5] arm: dts: Remove the OF graph from DSI node

2017-03-05 Thread Andi Shyti
Hi Hoegeun, On Mon, Mar 06, 2017 at 01:42:23PM +0900, Hoegeun Kwon wrote: > The OF graph is not needed because the panel is a child of dsi. Remove > the ports node in DSI node, and port node in panel node. > > Signed-off-by: Hoegeun Kwon > Reviewed-by: Andrzej Hajda Reviewed-by: Andi Shyti A

Re: [PATCH v2 0/4] fujitsu_init() cleanup

2017-03-05 Thread Michał Kępień
Hi Jonathan, Thanks for testing this series. > Hi Michael > > On Sat, Mar 04, 2017 at 12:17:23PM +1030, Jonathan Woithe wrote: > > On Wed, Mar 01, 2017 at 09:10:40AM +0100, Micha?? K??pie?? wrote: > > > These patches should make fujitsu_init() a bit more palatable. No > > > changes are made to

Re: [PATCH 3/3] cpufreq: schedutil: remove redundant code from sugov_next_freq_shared()

2017-03-05 Thread Viresh Kumar
On 04-03-17, 01:11, Rafael J. Wysocki wrote: > So one idea is that if SCHED_CPUFREQ_RT_DL is set in flags, we don't even > need to start the loop which is quite a cost to simply notice that there's > nothing to do. Hmm. Isn't the probability of this flag being set, same for all CPUs in the policy?

Re: [linux-sunxi] [PATCH v2 12/12] ARM: dts: sun8i: add device tree for Lichee Pi Zero with Dock

2017-03-05 Thread Chen-Yu Tsai
On Sun, Mar 5, 2017 at 9:37 PM, Icenowy Zheng wrote: > Lichee Pi Zero features a dock, which adds some functions, and should be > soldered with the core board of Lichee Pi Zero. > > Add support for the dock as a new dts, as soldering is needed to make > the dock usable and there's functions enable

[PATCH v4 5/5] arm: dts: Remove the OF graph from DSI node

2017-03-05 Thread Hoegeun Kwon
The OF graph is not needed because the panel is a child of dsi. Remove the ports node in DSI node, and port node in panel node. Signed-off-by: Hoegeun Kwon Reviewed-by: Andrzej Hajda --- arch/arm/boot/dts/exynos3250-rinato.dts | 21 - arch/arm/boot/dts/exynos4210-trats.dts

[PATCH v4 3/5] drm/exynos: dsi: Fix the parse_dt function

2017-03-05 Thread Hoegeun Kwon
The dsi + panel is a parental relationship, so OF grpah is not needed. Therefore, the current dsi_parse_dt function will throw an error, because there is no linked OF graph for case such as fimd + dsi + panel. So this patch parse the Pll, burst and esc clock frequency properties in dsi_parse_dt and

[PATCH v4 4/5] arm64: dts: exynos: Remove the OF graph from DSI node

2017-03-05 Thread Hoegeun Kwon
The OF graph is not needed because the panel is a child of dsi. Remove the ports node in DSI node. Signed-off-by: Hoegeun Kwon Reviewed-by: Andrzej Hajda --- arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi | 14 -- 1 file changed, 14 deletions(-) diff --git a/arch/arm64/boot/

[PATCH v4 2/5] arm: dts: Add the burst and esc clock frequency properties to DSI node

2017-03-05 Thread Hoegeun Kwon
The OF graph is not needed because the panel is a child of dsi. Add the burst and esc clock frequency properties to the parent (DSI node). Signed-off-by: Hoegeun Kwon Reviewed-by: Andrzej Hajda --- arch/arm/boot/dts/exynos3250-rinato.dts | 2 ++ arch/arm/boot/dts/exynos4210-trats.dts | 2 ++ a

[PATCH v4 1/5] arm64: dts: exynos: Add the burst and esc clock frequency properties to DSI node

2017-03-05 Thread Hoegeun Kwon
The OF graph is not needed because the panel is a child of dsi. Add the burst and esc clock frequency properties to the parent (DSI node). Signed-off-by: Hoegeun Kwon Reviewed-by: Andrzej Hajda --- arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi | 2 ++ 1 file changed, 2 insertions(+) di

[PATCH v4 0/5] Fix the parse_dt of exynos dsi and remove the OF graph

2017-03-05 Thread Hoegeun Kwon
Hi All, The dsi + panel is a parental relationship, so OF grpah is not needed. Therefore, the current dsi_parse_dt function will throw an error, because there is no linked OF graph for case such as fimd + dsi + panel. So the 1/5 patch parse the Pll, burst and esc clock frequency properties in dsi

Re: [PATCH] blk: improve order of bio handling in generic_make_request()

2017-03-05 Thread NeilBrown
On Fri, Mar 03 2017, Jack Wang wrote: > > Thanks Neil for pushing the fix. > > We can optimize generic_make_request a little bit: > - assign bio_list struct hold directly instead init and merge > - remove duplicate code > > I think better to squash into your fix. Hi Jack, I don't object to your c

Re: [PATCH v2 10/12] ARM: dts: sun8i: add audio codec support into V3s DTSI

2017-03-05 Thread Chen-Yu Tsai
On Sun, Mar 5, 2017 at 9:37 PM, Icenowy Zheng wrote: > Allwinner V3s SoC features an internal audio codec like the one in H3, > and a analog codec like the one in H3/A23 (but much simpler). > > Add them in the DTSI file. > > Signed-off-by: Icenowy Zheng Acked-by: Chen-Yu Tsai

Re: [linux-sunxi] [PATCH v2 11/12] ARM: dts: sun8i: add pinmux for V3s mmc1

2017-03-05 Thread Chen-Yu Tsai
On Sun, Mar 5, 2017 at 9:37 PM, Icenowy Zheng wrote: > Allwinner V3s SoC features 3 MMC controllers, mmc0 is used as the > MicroSD slot on Lichee Pi Zero, and on Lichee Pi Zero's dock mmc1 is > also soldered as a MicroSD slot. > > Add the pinmux for mmc1, thus we can enable the MicroSD slot on the

Re: [linux-sunxi] [PATCH v2 05/12] ASoC: sun4i-codec: Add support for V3s codec

2017-03-05 Thread Chen-Yu Tsai
On Mon, Mar 6, 2017 at 12:05 PM, Chen-Yu Tsai wrote: > On Sun, Mar 5, 2017 at 9:37 PM, Icenowy Zheng wrote: >> The codec in the V3s is similar to the one found on the A31. One key >> difference is the analog path controls are routed through the PRCM >> block. This is supported by the sun8i-codec-

Re: [linux-sunxi] [PATCH v2 09/12] ARM: dts: sun8i: add DMA engine in V3s DTSI

2017-03-05 Thread Chen-Yu Tsai
On Sun, Mar 5, 2017 at 9:37 PM, Icenowy Zheng wrote: > Allwinner V3s SoC features a DMA engine. > > Add it in the DTSI file. > > Signed-off-by: Icenowy Zheng Acked-by: Chen-Yu Tsai

Re: [linux-sunxi] [PATCH v2 05/12] ASoC: sun4i-codec: Add support for V3s codec

2017-03-05 Thread Chen-Yu Tsai
On Sun, Mar 5, 2017 at 9:37 PM, Icenowy Zheng wrote: > The codec in the V3s is similar to the one found on the A31. One key > difference is the analog path controls are routed through the PRCM > block. This is supported by the sun8i-codec-analog driver, and tied > into this codec driver with the a

Re: [PATCH 00/17] fs, btrfs refcount conversions

2017-03-05 Thread Qu Wenruo
At 03/03/2017 04:55 PM, Elena Reshetova wrote: Now when new refcount_t type and API are finally merged (see include/linux/refcount.h), the following patches convert various refcounters in the btrfs filesystem from atomic_t to refcount_t. By doing this we prevent intentional or accidental underf

Re: [linux-sunxi] [PATCH v2 07/12] dmaengine: sun6i: support V3s SoC variant

2017-03-05 Thread Chen-Yu Tsai
On Sun, Mar 5, 2017 at 9:37 PM, Icenowy Zheng wrote: > Allwinner V3s has a DMA engine similar to the ones from A31, but with > fewer channels and DRQs. > > Add support for it. > > Signed-off-by: Icenowy Zheng Acked-by: Chen-Yu Tsai

Re: [linux-sunxi] Re: [PATCH v2 03/12] ASoC: sun8i-codec-analog: split out mbias

2017-03-05 Thread Chen-Yu Tsai
On Sun, Mar 5, 2017 at 9:49 PM, Icenowy Zheng wrote: > > > 05.03.2017, 21:38, "Icenowy Zheng" : >> Allwinner V3s features an analog codec without MBIAS pin. >> >> Split out this part, in order to prepare for the V3s analog codec. >> >> Signed-off-by: Icenowy Zheng >> --- >> sound/soc/sunxi/sun8i

Re: [linux-sunxi] [PATCH v2 04/12] ASoC: sun8i-codec-analog: add support for V3s SoC

2017-03-05 Thread Chen-Yu Tsai
On Sun, Mar 5, 2017 at 9:37 PM, Icenowy Zheng wrote: > The V3s SoC features an analog codec with headphone support but without > mic2 and linein. You should also make new mixer control sets, with out linein and mic2, and split out the mixer widget for V3s. Otherwise ALSA is going to export MIC2 a

[GIT PULL] tracing: Fixes for 4.11

2017-03-05 Thread Steven Rostedt
Linus, There was some breakage with the changes for jump labels in the 4.11 merge window. Namely powerpc broke as jump labels uses the two LSB bits as flags in initialization. A check was added to make sure that all jump label entries were 4 bytes aligned, but powerpc didn't work that way for mod

Re: [PATCH v4 2/2] mmc: host: s3cmci: allow probing from device tree

2017-03-05 Thread Jaehoon Chung
On 03/03/2017 08:38 PM, Sergio Prado wrote: > On Fri, Mar 03, 2017 at 11:14:29AM +0900, Jaehoon Chung wrote: >> On 03/02/2017 10:18 AM, Sergio Prado wrote: >>> Allows configuring Samsung S3C24XX MMC/SD/SDIO controller using a device >>> tree. >>> >>> Signed-off-by: Sergio Prado >>> --- >>> driver

Re: [PATCH V11 10/10] arm/arm64: KVM: add guest SEA support

2017-03-05 Thread Xiongfeng Wang
Hi Marc, On 2017/3/2 17:39, Marc Zyngier wrote: > On 01/03/17 02:31, Xiongfeng Wang wrote: > > [lot of things] > >> If an SEA is injected into guest OS, the guest OS will jump to the SEA >> exception entry when the context switched to guest OS. And the CPSR and >> FAR_EL1 are recovered according

[PATCH] HID: hid-multitouch: change for touch height/width

2017-03-05 Thread hn.chen
From: HungNien Chen Just quote from Jonathan Clarke in previous thread(2017/01/24): "This division by 2 was added along with the touch width/height fields 6 years ago so that those fields 'match the visual scale of the touch' for a specific device (3M PCT)" "The scaling is also discarding informa

Re: [PATCH 0/3] mm/fs: get PG_error out of the writeback reporting business

2017-03-05 Thread NeilBrown
On Sun, Mar 05 2017, Jeff Layton wrote: > I recently did some work to wire up -ENOSPC handling in ceph, and found > I could get back -EIO errors in some cases when I should have instead > gotten -ENOSPC. The problem was that the ceph writeback code would set > PG_error on a writeback error, and th

[PATCH] ARM: dts: exynos: Add power button for Odroid XU3/4

2017-03-05 Thread Brian Kim
The power button on Odroid XU3/4 is connected with the PWRON pin of s2mps11 PMIC. The s2mps11 sends low signal to GPIO input in exynos 5422 via ONOB pin. This patch adds devicetree bindings for the power button of Odroid XU3/4. Signed-off-by: Brian Kim --- arch/arm/boot/dts/exynos5422-odroidxu3

Re: + mm-reclaim-madv_free-pages.patch added to -mm tree

2017-03-05 Thread Minchan Kim
On Fri, Mar 03, 2017 at 10:18:51AM -0500, Johannes Weiner wrote: > On Fri, Mar 03, 2017 at 11:52:37AM +0900, Minchan Kim wrote: > > On Tue, Feb 28, 2017 at 04:32:38PM -0800, a...@linux-foundation.org wrote: > > > > > > The patch titled > > > Subject: mm: reclaim MADV_FREE pages > > > has been

[PATCH] char: nwbutton: Fix build breakage caused by include file reshuffling

2017-03-05 Thread Guenter Roeck
Fix: drivers/char/nwbutton.c: In function 'button_sequence_finished': drivers/char/nwbutton.c:134:3: error: implicit declaration of function 'kill_cad_pid' The declaration has been moved from one include file to another. Fixes: c3edc4010e9d102 ("sched/headers: Move task_struct::signal an

LLC cache miss increases with the increases of hugepages

2017-03-05 Thread linhaifeng
Hi, I did a network forward test with ovs-dpdk, and found that LLC cache miss increases with the increases of hugepages. ovs-dpdk only use 4 hugepages, hugepage size is 1G.Why LLC cache miss increases ? I just echo more hugepages but haven't been used yet. some informations: CPU: Intel(R) Xeon(R

Re: nvme, allocation failures, and aborted commands

2017-03-05 Thread Thomas Fjellstrom
On Friday, March 3, 2017 8:27:40 AM MST Thomas Fjellstrom wrote: > I just got a new Samsung 960 Evo 256GB m.2 nvme drive, and put it through > some tests. > > When I run `iozone -a -s 60G` on my desktop (that has 32GB ram and a amd FX > 8320), i run into some errors. One time the drive completely

Re: [PATCH 3/4] thp: fix MADV_DONTNEED vs. MADV_FREE race

2017-03-05 Thread Aneesh Kumar K.V
"Kirill A. Shutemov" writes: > Basically the same race as with numa balancing in change_huge_pmd(), but > a bit simpler to mitigate: we don't need to preserve dirty/young flags > here due to MADV_FREE functionality. > > Signed-off-by: Kirill A. Shutemov > Cc: Minchan Kim > --- > mm/huge_memory

Re: [RFC 07/11] mm: remove SWAP_AGAIN in ttu

2017-03-05 Thread Minchan Kim
On Fri, Mar 03, 2017 at 06:24:06PM +0530, Anshuman Khandual wrote: > On 03/02/2017 12:09 PM, Minchan Kim wrote: > > In 2002, [1] introduced SWAP_AGAIN. > > At that time, ttuo used spin_trylock(&mm->page_table_lock) so it's > > Small nit: Please expand "ttuo" here. TTU in the first place is also >

Re: [RFC 11/11] mm: remove SWAP_[SUCCESS|AGAIN|FAIL]

2017-03-05 Thread Minchan Kim
On Fri, Mar 03, 2017 at 06:34:15PM +0530, Anshuman Khandual wrote: > On 03/02/2017 12:09 PM, Minchan Kim wrote: > > There is no user for it. Remove it. > > Last patches in the series prepared ground for this removal. The > entire series looks pretty straight forward. As it does not change Thanks.

[PATCH v2] arm64: kvm: Use has_vhe() instead of hyp_alternate_select()

2017-03-05 Thread Shanker Donthineni
Now all the cpu_hwcaps features have their own static keys. We don't need a separate function hyp_alternate_select() to patch the vhe/nvhe code. We can achieve the same functionality by using has_vhe(). It improves the code readability, uses the jump label instructions, and also compiler generates

[PATCH] Staging: wlan-ng: hfa384x.h: fixed a newline coding style issue

2017-03-05 Thread Mark Stenglein
Fixed a coding style issue. Signed-off-by: Mark Stenglein --- drivers/staging/wlan-ng/hfa384x.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/wlan-ng/hfa384x.h b/drivers/staging/wlan-ng/hfa384x.h index 5f1851c85f12..f19984747b1e 100644 --- a/drivers/staging/wlan-ng/hfa384x

[PATCH] arm64: kvm: Use has_vhe() instead of hyp_alternate_select()

2017-03-05 Thread Shanker Donthineni
Now all the cpu_hwcaps features have their own static keys. We don't need a separate function hyp_alternate_select() to patch the vhe/nvhe code. We can achieve the same functionality by using has_vhe(). It improves the code readability, uses the jump label instructions, and also compiler generates

[PATCH v2] can: m_can: enable transmission of FD frame on latest version

2017-03-05 Thread Wenyou Yang
Enables the transmission of CAN FD frames on M_CAN IP core >= v3.1.x and with the bit rate switching. Tested on M_CAN IP 3.1.0 (CREL = 0x31040730) of SAMA5D2 SoC. Signed-off-by: Wenyou Yang --- The testing is based on [RESEND PATCH 1/1] can: m_can: fix bitrate setup on latest silicon http://lkml

RE: [PATCH] can: m_can: support transmit frame in CAN FD format

2017-03-05 Thread Wenyou.Yang
Hi Oliver, Thank you for your review. > -Original Message- > From: Oliver Hartkopp [mailto:socket...@hartkopp.net] > Sent: 2017年3月6日 3:34 > To: Wenyou Yang - A41535 ; Wolfgang > Grandegger ; Marc Kleine-Budde > Cc: Alexandre Belloni ; Florian Fainelli > ; Quentin Schulz ; > Wenyou Yang -

Re: [PATCH] MIPS: jump_lable: Give __jump_table elements an entsize.

2017-03-05 Thread kbuild test robot
Hi David, [auto build test ERROR on linus/master] [also build test ERROR on v4.11-rc1 next-20170303] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/David-Daney/MIPS-jump_lable-Give-__jump_table-

Re: [RFC 06/11] mm: remove SWAP_MLOCK in ttu

2017-03-05 Thread Minchan Kim
Hi Anshuman, On Fri, Mar 03, 2017 at 06:06:38PM +0530, Anshuman Khandual wrote: > On 03/02/2017 12:09 PM, Minchan Kim wrote: > > ttu don't need to return SWAP_MLOCK. Instead, just return SWAP_FAIL > > because it means the page is not-swappable so it should move to > > another LRU list(active or un

Re: [PATCH 1/3] futex: remove duplicated code

2017-03-05 Thread Rich Felker
On Fri, Mar 03, 2017 at 01:27:10PM +0100, Jiri Slaby wrote: > There is code duplicated over all architecture's headers for > futex_atomic_op_inuser. Namely op decoding, access_ok check for uaddr, > and comparison of the result. > > Remove this duplication and leave up to the arches only the needed

Re: net/ipv4: deadlock in ip_ra_control

2017-03-05 Thread Cong Wang
On Fri, Mar 3, 2017 at 10:43 AM, Dmitry Vyukov wrote: > On Thu, Mar 2, 2017 at 10:40 AM, Dmitry Vyukov wrote: >> On Wed, Mar 1, 2017 at 6:18 PM, Cong Wang wrote: >>> On Wed, Mar 1, 2017 at 2:44 AM, Dmitry Vyukov wrote: Hello, I've got the following deadlock report while running s

Re: [PATCH v3 0/5] Do repair works for the mapping of cpuid <-> nodeid

2017-03-05 Thread Dou Liyang
At 03/03/2017 04:32 PM, Dou Liyang wrote: Hi All, My Simple Test Result: In our box: Fujitsu PQ2000 with 1 nodes for hot-plug. s/1 nodes/2 nodes in 1 SB which contains CPU, Memory.../ Thanks, Liyang Before the patchset: +-+ |

When will Linux support M2 on RAID ?

2017-03-05 Thread David F.
More and more systems are coming with M2 on RAID and Linux doesn't work unless you change the system out of RAID mode. This is becoming more and more of a problem. What is the status of Linux support for the new systems? TIA!!

Re: [RFC 05/11] mm: make the try_to_munlock void function

2017-03-05 Thread Minchan Kim
On Fri, Mar 03, 2017 at 05:13:54PM +0530, Anshuman Khandual wrote: > On 03/02/2017 12:09 PM, Minchan Kim wrote: > > try_to_munlock returns SWAP_MLOCK if the one of VMAs mapped > > the page has VM_LOCKED flag. In that time, VM set PG_mlocked to > > the page if the page is not pte-mapped THP which ca

Re: [PATCH 3/4] thp: fix MADV_DONTNEED vs. MADV_FREE race

2017-03-05 Thread Minchan Kim
Hello, Kirill, On Fri, Mar 03, 2017 at 01:26:36PM +0300, Kirill A. Shutemov wrote: > On Fri, Mar 03, 2017 at 01:35:11PM +0800, Hillf Danton wrote: > > > > On March 02, 2017 11:11 PM Kirill A. Shutemov wrote: > > > > > > Basically the same race as with numa balancing in change_huge_pmd(), but >

Re: [PATCH 1/9] mm: fix 100% CPU kswapd busyloop on unreclaimable nodes

2017-03-05 Thread Minchan Kim
Hi Michal, On Fri, Mar 03, 2017 at 08:59:54AM +0100, Michal Hocko wrote: > On Fri 03-03-17 10:26:09, Minchan Kim wrote: > > Hi Johannes, > > > > On Tue, Feb 28, 2017 at 04:39:59PM -0500, Johannes Weiner wrote: > > > Jia He reports a problem with kswapd spinning at 100% CPU when > > > requesting m

  1   2   3   >