Re: [PATCHv3 3/8] rtc: add STM32 RTC driver

2017-01-11 Thread Amelie DELAUNAY
Hi Alexandre, On 01/11/2017 01:08 AM, Alexandre Belloni wrote: Looks good to me, however... On 05/01/2017 at 14:43:24 +0100, Amelie Delaunay wrote : +struct stm32_rtc { + struct rtc_device *rtc_dev; + void __iomem *base; + struct clk *ck_rtc; + spinlock_t lock; /* Prot

Re: lkp: make.cross: old aarch64-gcc has been removed

2017-01-11 Thread Masami Hiramatsu
Ping? BTW, I found that the old toolchain is archived in release.linaro.org. So I made a patch for that. Thank you, On Fri, 30 Dec 2016 07:43:45 +0900 Masami Hiramatsu wrote: > Hi Fengguang, > > Recently I tried to build a cross-build environment ( > https://github.com/mhiramat/linux-cross )

Re: [PATCH v3 12/15] livepatch: store function sizes

2017-01-11 Thread Kamalesh Babulal
On Thursday 08 December 2016 11:38 PM, Josh Poimboeuf wrote: For the consistency model we'll need to know the sizes of the old and new functions to determine if they're on the stacks of any tasks. Signed-off-by: Josh Poimboeuf Reviewed-by: Kamalesh Babulal -- cheers, Kamalesh.

[PATCH] lpfc: avoid double free of resource identifiers

2017-01-11 Thread Johannes Thumshirn
From: Roberto Sassu Set variables initialized in lpfc_sli4_alloc_resource_identifiers() to NULL if an error occurred. Otherwise, lpfc_sli4_driver_resource_unset() attempts to free the memory again. Signed-off-by: Roberto Sassu Signed-off-by: Johannes Thumshirn --- drivers/scsi/lpfc/lpfc_sli.c

[PATCH v4] ARM64: dts: meson-gx: Add reserved memory zone and usable memory range

2017-01-11 Thread Neil Armstrong
The Amlogic Meson GXBB/GXL/GXM secure monitor uses part of the memory space, this patch adds this reserved zone and redefines the usable memory range. The memory node is also moved from the dtsi files into the proper dts files to handle variants memory sizes. This patch also fixes the memory size

[PATCH] arm64: Add support for DMA_ATTR_SKIP_CPU_SYNC attribute to swiotlb

2017-01-11 Thread Geert Uytterhoeven
From: Takeshi Kihara This patch adds support for DMA_ATTR_SKIP_CPU_SYNC attribute for dma_{un}map_{page,sg} functions family to swiotlb. DMA_ATTR_SKIP_CPU_SYNC allows platform code to skip synchronization of the CPU cache for the given buffer assuming that it has been already transferred to 'dev

[PATCH v2 1/3] dt: bindings: add documentation for zx2967 family thermal sensor

2017-01-11 Thread Baoyou Xie
This patch adds dt-binding documentation for zx2967 family thermal sensor. Signed-off-by: Baoyou Xie --- .../devicetree/bindings/thermal/zx2967-thermal.txt | 21 + 1 file changed, 21 insertions(+) create mode 100644 Documentation/devicetree/bindings/thermal/zx2967-thermal.t

[PATCH v2 2/3] MAINTAINERS: add zx2967 thermal drivers to ARM ZTE architecture

2017-01-11 Thread Baoyou Xie
Add the zx2967 thermal drivers as maintained by ARM ZTE architecture maintainers, as they're parts of the core IP. Signed-off-by: Baoyou Xie --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 64f04df..2593296 100644 --- a/MAINTAINERS +++ b/MAINTAI

[PATCH v2 3/3] thermal: zx2967: add thermal driver for ZTE's zx2967 family

2017-01-11 Thread Baoyou Xie
This patch adds thermal driver for ZTE's zx2967 family. Signed-off-by: Baoyou Xie --- drivers/thermal/Kconfig | 6 + drivers/thermal/Makefile | 1 + drivers/thermal/zx2967_thermal.c | 247 +++ 3 files changed, 254 insertions(+) create mod

Re: [PATCHv3 3/8] rtc: add STM32 RTC driver

2017-01-11 Thread Alexandre Belloni
On 11/01/2017 at 11:07:16 +0100, Amelie DELAUNAY wrote : > > This will never happen, tm is already checked multiple times (up to > > three) in the core before this function can be called. > > > You're right. I'll remove all rtc_valid_tm calls. You can keep the one in read_time -- Alexandre Bell

Re: net/atm: warning in alloc_tx/__might_sleep

2017-01-11 Thread Andrey Konovalov
On Tue, Jan 10, 2017 at 6:40 PM, Eric Dumazet wrote: > On Tue, Jan 10, 2017 at 9:35 AM, Cong Wang wrote: >> On Mon, Jan 9, 2017 at 9:20 AM, Andrey Konovalov >> wrote: >> >> The fix should be straight-forward. Mind to try the attached patch? Hi Cong, Your patch with schedule() removed as sugge

Re: [char-misc for 4.10-rc4 V2] mei: bus: enable OS version only for SPT and newer

2017-01-11 Thread Paul Menzel
Dear Tomas, On 01/11/17 10:24, Winkler, Tomas wrote: On Wed, Jan 11, 2017 at 01:27:21AM +0200, Tomas Winkler wrote: On older platforms the command should be just ignored by the firmware but some older platforms misbehave so it's safer to send the command only if required. Thanks! This fixes

Re: [PATCH v6 02/14] irqchip: gic-v3-its: keep the head file include in alphabetic order

2017-01-11 Thread Matthias Brugger
On 02/01/17 14:31, Hanjun Guo wrote: The head file is strictly in alphabetic order now, so let's be the rule breaker. As acpi_iort.h includes acpi.h so remove the duplidate acpi.h inclusion as well. Sounds strange, maybe someting like: Rearrange header file includes to alphabetic order. As a

Re: [PATCH v8 3/3] arm64: dts: exynos: Add support for S6E3HA2 panel device on TM2 board

2017-01-11 Thread hoegeun kwon
On 01/11/2017 04:46 PM, Andrzej Hajda wrote: On 11.01.2017 07:33, Hoegeun Kwon wrote: From: Hyungwon Hwang This patch add the panel device tree node for S6E3HA2 display controller to TM2 dts. Signed-off-by: Hyungwon Hwang Signed-off-by: Andrzej Hajda Signed-off-by: Chanwoo Choi Signed-of

Re: [PATCH v6 02/14] irqchip: gic-v3-its: keep the head file include in alphabetic order

2017-01-11 Thread Matthias Brugger
On 02/01/17 14:31, Hanjun Guo wrote: The head file is strictly in alphabetic order now, so let's be the rule breaker. As acpi_iort.h includes acpi.h so remove the duplidate acpi.h inclusion as well. Sounds strange, maybe someting like: Rearrange header file includes to alphabetic order. As a

Re: 174cc7187e6f ACPICA: Tables: Back port acpi_get_table_with_size() and early_acpi_os_unmap_memory() from Linux kernel

2017-01-11 Thread Paul E. McKenney
On Wed, Jan 11, 2017 at 11:03:23AM +0100, Borislav Petkov wrote: > On Wed, Jan 11, 2017 at 01:51:56AM -0800, Paul E. McKenney wrote: > > Yes, you could make RCU expedited grace periods go back to using the > > requesting task, and that would allow expedited grace periods to run early > > in the boo

Re: [PATCH v8 3/3] arm64: dts: exynos: Add support for S6E3HA2 panel device on TM2 board

2017-01-11 Thread hoegeun kwon
On 01/11/2017 06:39 PM, Andrzej Hajda wrote: On 11.01.2017 09:40, Inki Dae wrote: 2017년 01월 11일 16:46에 Andrzej Hajda 이(가) 쓴 글: On 11.01.2017 07:33, Hoegeun Kwon wrote: From: Hyungwon Hwang This patch add the panel device tree node for S6E3HA2 display controller to TM2 dts. Signed-off-by:

[PATCH] PCI/MSI: pci-xgene-msi: Fix CPU hotplug registration handling

2017-01-11 Thread Marc Zyngier
The conversion to the new hotplug state machine introduced a regression where a successful hotplug registration would be treated as an error, effectively disabling the MSI driver forever. Fix it by doing the proper check on the return value. Fixes: 9c248f8896e6 ("PCI/xgene-msi: Convert to hotplug

Re: [PATCH v8 3/3] arm64: dts: exynos: Add support for S6E3HA2 panel device on TM2 board

2017-01-11 Thread hoegeun kwon
On 01/11/2017 06:51 PM, hoegeun kwon wrote: On 01/11/2017 04:46 PM, Andrzej Hajda wrote: On 11.01.2017 07:33, Hoegeun Kwon wrote: From: Hyungwon Hwang This patch add the panel device tree node for S6E3HA2 display controller to TM2 dts. Signed-off-by: Hyungwon Hwang Signed-off-by: Andrze

Re: [RFC] drm: Parse HDMI 2.0 YCbCr 4:2:0 VDB and VCB

2017-01-11 Thread Jose Abreu
Hi Ville, On 10-01-2017 17:21, Ville Syrjälä wrote: [snip] >> But we already have color_formats field in drm_display_info >> struct, right? Shouldn't we instead create for example a helper >> which returns the best output colorspace? According to what you >> said it would be something like: >>

Re: [PATCH v8 3/3] arm64: dts: exynos: Add support for S6E3HA2 panel device on TM2 board

2017-01-11 Thread Andrzej Hajda
On 11.01.2017 11:23, hoegeun kwon wrote: > > On 01/11/2017 06:39 PM, Andrzej Hajda wrote: >> On 11.01.2017 09:40, Inki Dae wrote: >>> 2017년 01월 11일 16:46에 Andrzej Hajda 이(가) 쓴 글: On 11.01.2017 07:33, Hoegeun Kwon wrote: > From: Hyungwon Hwang > > This patch add the panel device tr

Re: [PATCH] perf/x86/intel/uncore: Initialize with correct logical package ID

2017-01-11 Thread Thomas Gleixner
On Tue, 3 Jan 2017, Prarit Bhargava wrote: > On multi-socket Intel v3 processor systems (aka Haswell) kdump can fail with: > > BUG: unable to handle kernel paging request at 006563a1 > IP: [] hswep_uncore_cpu_init+0x52/0xa0 > PGD 0 [2.313897] > Oops: [#1] SMP > Modules linked in:

Re: [PATCH v6 04/14] irqchip: gicv3-its: platform-msi: refactor its_pmsi_prepare()

2017-01-11 Thread Matthias Brugger
On 02/01/17 14:31, Hanjun Guo wrote: Adding ACPI support for platform MSI, we need to retrieve the dev id in ACPI way instead of device tree, we already have a well formed function its_pmsi_prepare() to get the dev id but it's OF dependent, so collect OF related code and put them into a single

Re: [PATCH] PCI/MSI: pci-xgene-msi: Fix CPU hotplug registration handling

2017-01-11 Thread Sebastian Andrzej Siewior
On 2017-01-11 10:26:47 [+], Marc Zyngier wrote: > The conversion to the new hotplug state machine introduced a regression > where a successful hotplug registration would be treated as an error, > effectively disabling the MSI driver forever. > > Fix it by doing the proper check on the return v

Re: [PATCH v7 1/7] perf/amd/iommu: Misc fix up perf_iommu_read

2017-01-11 Thread Borislav Petkov
On Mon, Jan 09, 2017 at 09:33:41PM -0600, Suravee Suthikulpanit wrote: > This patch contains the following minor fixup: For the future: never say "this patch" in the commit message - just explain *why* the patch is needed. > * Fixed overflow handling since u64 delta would lose the MSB sign bit.

mm, vmscan: commit makes PAE kernel crash nightly (bisected)

2017-01-11 Thread Trevor Cordes
Hi! I have biected a nightly oom-killer flood and crash/hang on one of the boxes I admin. It doesn't crash on Fedora 23/24 4.7.10 kernel but does on any 4.8 Fedora kernel. I did a vanilla bisect and the bug is here: commit b2e18757f2c9d1cdd746a882e9878852fdec9501 Author: Mel Gorman Date:

[tip:x86/urgent] perf/x86/intel/uncore: Do not use hard coded physical package id 0

2017-01-11 Thread tip-bot for Prarit Bhargava
Commit-ID: 42433049c51e326baa1f45c834af9572fdb65b35 Gitweb: http://git.kernel.org/tip/42433049c51e326baa1f45c834af9572fdb65b35 Author: Prarit Bhargava AuthorDate: Tue, 3 Jan 2017 14:24:31 -0500 Committer: Thomas Gleixner CommitDate: Wed, 11 Jan 2017 11:29:37 +0100 perf/x86/intel/uncore

Re: [PATCHv3 3/8] rtc: add STM32 RTC driver

2017-01-11 Thread Amelie DELAUNAY
On 01/11/2017 11:17 AM, Alexandre Belloni wrote: On 11/01/2017 at 11:07:16 +0100, Amelie DELAUNAY wrote : This will never happen, tm is already checked multiple times (up to three) in the core before this function can be called. You're right. I'll remove all rtc_valid_tm calls. You can keep

Re: [PATCH v2 5/5] ARM: dts: Add LEGO MINDSTORMS EV3 dts

2017-01-11 Thread Sekhar Nori
On Friday 06 January 2017 10:03 AM, David Lechner wrote: > + beeper { > + compatible = "pwm-beeper"; > + pinctrl-names = "default"; > + pinctrl-0 = <&ehrpwm0b_pins>, <&_pins>; > + pwms = <&ehrpwm0 1 0 0>; > + enable-gpios = <&gpio 111

Re: [PATCHSET for-4.11] cgroup: avoid spurious identity ->*attach() invocations

2017-01-11 Thread Zefan Li
On 2016/12/30 6:11, Tejun Heo wrote: > Hello, > > On the v2 hierarchy, when controllers are enabled and disabled, other > ->*attach() callbacks of other controllers are called spuriously with > the same source and destination. While this isn't critical, it's a > bit nasty and can lead to temporar

Re: [PATCHv3 3/8] rtc: add STM32 RTC driver

2017-01-11 Thread Alexandre Belloni
On 11/01/2017 at 11:42:50 +0100, Amelie DELAUNAY wrote : > > On 01/11/2017 11:17 AM, Alexandre Belloni wrote: > > On 11/01/2017 at 11:07:16 +0100, Amelie DELAUNAY wrote : > > > > This will never happen, tm is already checked multiple times (up to > > > > three) in the core before this function can

getting oom/stalls for ltp test cpuset01 with latest/4.9 kernel

2017-01-11 Thread Ganapatrao Kulkarni
Hi, we are seeing OOM/stalls messages when we run ltp cpuset01(cpuset01 -I 360) test for few minutes, even through the numa system has adequate memory on both nodes. this we have observed same on both arm64/thunderx numa and on x86 numa system! using latest ltp from master branch version 2016092

Re: [PATCH/RESEND 5/5] z3fold: add kref refcounting

2017-01-11 Thread Vitaly Wool
On Wed, Jan 4, 2017 at 7:42 PM, Dan Streetman wrote: > On Sun, Dec 25, 2016 at 7:40 PM, Vitaly Wool wrote: >> With both coming and already present locking optimizations, >> introducing kref to reference-count z3fold objects is the right >> thing to do. Moreover, it makes buddied list no longer ne

Re: [PATCH 56/62] watchdog: tangox_wdt: Convert to use device managed functions

2017-01-11 Thread Guenter Roeck
On 01/11/2017 01:07 AM, Marc Gonzalez wrote: @@ -134,12 +134,15 @@ static int tangox_wdt_probe(struct platform_device *pdev) err = clk_prepare_enable(dev->clk); if (err) return err; + err = devm_add_action_or_reset(&pdev->dev, +

Plastic Extrusion Design Services

2017-01-11 Thread Angel
Hi, Dong Guan RiTeng Industrial Co.,Ltd. a large plastic extrusion / co-extrusion profiles/ pipes manufacturer in China. Our product range includes PC/PMMA/PP/PS/PE/PVC/ABS plastic extrusion/co-extrusion profiles/pipes, extrusion production line. And we have a corresponding plastic extrusion m

[PATCH] mm: Ignore __GFP_NOWARN when reporting stalls

2017-01-11 Thread Tetsuo Handa
Currently, warn_alloc() prints warning messages only if __GFP_NOWARN is not specified. When warn_alloc() was proposed, I asserted that warn_alloc() should print stall warning messages even if __GFP_NOWARN is specified, but that assertion was not accepted [1]. Compared to asynchronous watchdog [2],

[PATCH v4 0/3] Add Support for Cavium Cryptographic Acceleration Unit

2017-01-11 Thread George Cherian
This series adds the support for Cavium Cryptographic Accelerarion Unit (CPT) CPT is available in Cavium's Octeon-Tx SoC series. The series was tested with ecryptfs and dm-crypt for in kernel

RE: [char-misc for 4.10-rc4 V2] mei: bus: enable OS version only for SPT and newer

2017-01-11 Thread Winkler, Tomas
> Dear Tomas, > > > On 01/11/17 10:24, Winkler, Tomas wrote: > >> > >> On Wed, Jan 11, 2017 at 01:27:21AM +0200, Tomas Winkler wrote: > >>> On older platforms the command should be just ignored by the > >>> firmware but some older platforms misbehave so it's safer to send > >>> the command only

[PATCH v4 2/3] drivers: crypto: Add the Virtual Function driver for CPT

2017-01-11 Thread George Cherian
Enable the CPT VF driver. CPT is the cryptographic Acceleration Unit in Octeon-tx series of processors. Signed-off-by: George Cherian Reviewed-by: David Daney --- drivers/crypto/cavium/cpt/Makefile | 3 +- drivers/crypto/cavium/cpt/cptvf.h| 135 drivers/crypto/caviu

[PATCH v4 3/3] drivers: crypto: Enable CPT options crypto for build

2017-01-11 Thread George Cherian
Add the CPT options in crypto Kconfig and update the crypto Makefile Signed-off-by: George Cherian Reviewed-by: David Daney --- drivers/crypto/Kconfig | 1 + drivers/crypto/Makefile | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig index 4d2b

[PATCH v4 1/3] drivers: crypto: Add Support for Octeon-tx CPT Engine

2017-01-11 Thread George Cherian
Enable the Physical Function driver for the Cavium Crypto Engine (CPT) found in Octeon-tx series of SoC's. CPT is the Cryptographic Accelaration Unit. CPT includes microcoded GigaCypher symmetric engines (SEs) and asymmetric engines (AEs). Signed-off-by: George Cherian Reviewed-by: David Daney -

Re: [PATCH 1/2] gpio: davinci: Remove redundant members davinci_gpio_controller stuct

2017-01-11 Thread Linus Walleij
On Wed, Jan 4, 2017 at 9:26 AM, Keerthy wrote: > davinci_gpio_controller struct has set_data, in_data, clr_data > members that are assigned and never used. > > Signed-off-by: Keerthy Nice catch! Patch applied. Yours, Linus Walleij

Re: [PATCH v4 2/3] watchdog: introduce watchdog.open_timeout commandline parameter

2017-01-11 Thread Guenter Roeck
On 01/11/2017 12:11 AM, Rasmus Villemoes wrote: On 2017-01-10 19:08, Guenter Roeck wrote: On Mon, Jan 09, 2017 at 04:02:32PM +0100, Rasmus Villemoes wrote: +static unsigned open_timeout; +module_param(open_timeout, uint, 0644); + +static bool watchdog_past_open_deadline(struct watchdog_core_da

Re: [tip:x86/urgent] perf/x86/intel/uncore: Do not use hard coded physical package id 0

2017-01-11 Thread Prarit Bhargava
On 01/11/2017 05:33 AM, tip-bot for Prarit Bhargava wrote: > Commit-ID: 42433049c51e326baa1f45c834af9572fdb65b35 > Gitweb: http://git.kernel.org/tip/42433049c51e326baa1f45c834af9572fdb65b35 > Author: Prarit Bhargava > AuthorDate: Tue, 3 Jan 2017 14:24:31 -0500 > Committer: Thomas Gleixne

Re: [PATCH 2/2] gpio: davinci: Remove gpio2regs function to accommodate multi instances

2017-01-11 Thread Linus Walleij
On Wed, Jan 4, 2017 at 9:26 AM, Keerthy wrote: > gpio2regs is written making an assumption that driver supports only > one instance of gpio controller. Removing this and adding a generic > array so as to support multiple instances of gpio controllers. > > Signed-off-by: Keerthy > -

Re: [PATCH 1/3] ARM: at91: flush the L2 cache before entering cpu idle

2017-01-11 Thread Jean-Jacques Hiblot
2017-01-11 9:15 GMT+01:00 : > Hi Jean-Jacques, > >> -Original Message- >> From: Jean-Jacques Hiblot [mailto:jjhib...@gmail.com] >> Sent: 2017年1月11日 0:51 >> To: Alexandre Belloni >> Cc: Wenyou Yang - A41535 ; Mark Rutland >> ; devicetree ; Russell >> King ; Wenyou Yang - A41535 >> ; Nicola

Re: getting oom/stalls for ltp test cpuset01 with latest/4.9 kernel

2017-01-11 Thread Vlastimil Babka
On 01/11/2017 11:50 AM, Ganapatrao Kulkarni wrote: > Hi, > > we are seeing OOM/stalls messages when we run ltp cpuset01(cpuset01 -I > 360) test for few minutes, even through the numa system has adequate > memory on both nodes. > > this we have observed same on both arm64/thunderx numa and on x86

Re: [PATCHv14 2/3] usb: USB Type-C connector class

2017-01-11 Thread Heikki Krogerus
Hi Guenter, On Tue, Jan 10, 2017 at 09:35:42AM -0800, Guenter Roeck wrote: > > I guess we might as well then split the VDO into header, cert stat and > > product parts. What do you think? > > > > If it's OK, then should we change that file to "identity" and dump the > > whole response from Discov

Re: [PATCH 4.9 000/206] 4.9.3-stable review

2017-01-11 Thread Guenter Roeck
On 01/10/2017 10:51 PM, Greg Kroah-Hartman wrote: On Tue, Jan 10, 2017 at 02:28:07PM -0800, Guenter Roeck wrote: On Tue, Jan 10, 2017 at 02:34:43PM +0100, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.9.3 release. There are 206 patches in this series, all will

Re: [tip:x86/urgent] perf/x86/intel/uncore: Do not use hard coded physical package id 0

2017-01-11 Thread Thomas Gleixner
On Wed, 11 Jan 2017, Prarit Bhargava wrote: > > Thomas, I self-nacked this and posted a v2. The v2 uses > boot_cpu_data.logical_proc_id instead. Which is a cosmetic change. > It was picked up here in tip by Ingo > yesterday. > > http://git.kernel.org/tip/fa37361e291bfe528872b9aef5c8644a3fc7ff2

Re: [PATCH v4 2/3] drivers: crypto: Add the Virtual Function driver for CPT

2017-01-11 Thread Stephan Müller
Am Mittwoch, 11. Januar 2017, 10:56:50 CET schrieb George Cherian: Hi George, > +int cvm_enc_dec_setkey(struct crypto_ablkcipher *cipher, const u8 *key, > +u32 keylen) > +{ > + struct crypto_tfm *tfm = crypto_ablkcipher_tfm(cipher); > + struct cvm_enc_ctx *ctx = crypto

Re: [PATCH v4 0/3] perf: add support for analyzing events for containers

2017-01-11 Thread Aravinda Prasad
On Wednesday 04 January 2017 02:34 PM, Krister Johansen wrote: > On Tue, Jan 03, 2017 at 04:57:54PM +0530, Hari Bathini wrote: >> On Thursday 29 December 2016 07:11 AM, Krister Johansen wrote: >>> On Fri, Dec 16, 2016 at 12:06:55AM +0530, Hari Bathini wrote: This patch-set overcomes this lim

[tip:perf/urgent] perf/x86/intel/uncore: Fix hardcoded socket 0 assumption in the Haswell init code

2017-01-11 Thread tip-bot for Prarit Bhargava
Commit-ID: 6d6daa20945f3f598e56e18d1f926c08754f5801 Gitweb: http://git.kernel.org/tip/6d6daa20945f3f598e56e18d1f926c08754f5801 Author: Prarit Bhargava AuthorDate: Thu, 5 Jan 2017 10:09:25 -0500 Committer: Thomas Gleixner CommitDate: Wed, 11 Jan 2017 12:13:21 +0100 perf/x86/intel/uncore

Re: [PATCH 1/3] ARM: at91: flush the L2 cache before entering cpu idle

2017-01-11 Thread Russell King - ARM Linux
On Wed, Jan 11, 2017 at 12:05:05PM +0100, Jean-Jacques Hiblot wrote: > 2017-01-11 9:15 GMT+01:00 : > > Hi Jean-Jacques, > > > >> -Original Message- > >> From: Jean-Jacques Hiblot [mailto:jjhib...@gmail.com] > >> Sent: 2017年1月11日 0:51 > >> To: Alexandre Belloni > >> Cc: Wenyou Yang - A4153

Re: [PATCH net-next] bridge: multicast to unicast

2017-01-11 Thread IgorMitsyanko
On 01/11/2017 12:27 AM, Felix Fietkau wrote: On 2017-01-10 11:56, Johannes Berg wrote: On Tue, 2017-01-10 at 05:18 +0100, Linus Lüssing wrote: On Mon, Jan 09, 2017 at 01:30:32PM -0800, Stephen Hemminger wrote: I wonder if MAC80211 should be doing IGMP snooping and not bridge in this environmen

Re: [PATCH v4 2/3] drivers: crypto: Add the Virtual Function driver for CPT

2017-01-11 Thread George Cherian
Hi Stephan, Thanks for pointing it out!! On 01/11/2017 04:42 PM, Stephan Müller wrote: Am Mittwoch, 11. Januar 2017, 10:56:50 CET schrieb George Cherian: Hi George, +int cvm_enc_dec_setkey(struct crypto_ablkcipher *cipher, const u8 *key, + u32 keylen) +{ + struct

Re: [PATCH] sched/fair: fix calc_cfs_shares fixed point arithmetics

2017-01-11 Thread Dietmar Eggemann
On 20/12/16 13:15, Peter Zijlstra wrote: > On Tue, Dec 20, 2016 at 02:04:34PM +0100, Dietmar Eggemann wrote: >> Hi Samuel, >> >> On 12/20/2016 12:45 AM, Samuel Thibault wrote: >>> Paul Turner, on Mon 19 Dec 2016 15:32:15 -0800, wrote: On Mon, Dec 19, 2016 at 3:29 PM, Samuel Thibault wr

Re: [PATCH net-next] bridge: multicast to unicast

2017-01-11 Thread Felix Fietkau
On 2017-01-11 12:26, IgorMitsyanko wrote: > On 01/11/2017 12:27 AM, Felix Fietkau wrote: >> On 2017-01-10 11:56, Johannes Berg wrote: >>> On Tue, 2017-01-10 at 05:18 +0100, Linus Lüssing wrote: On Mon, Jan 09, 2017 at 01:30:32PM -0800, Stephen Hemminger wrote: > I wonder if MAC80211 should

Re: [tpmdd-devel] [PATCH RFC 0/4] RFC: in-kernel resource manager

2017-01-11 Thread Jarkko Sakkinen
On Tue, Jan 10, 2017 at 01:05:58PM -0700, Jason Gunthorpe wrote: > On Tue, Jan 10, 2017 at 01:16:35AM +0200, Jarkko Sakkinen wrote: > > On Wed, Jan 04, 2017 at 10:12:41AM -0600, Dr. Greg Wettstein wrote: > > > The kernel needs a resource manager. Everyone needs to think VERY > > > hard and VERY, V

Re: [PATCH] mm: Respect FOLL_FORCE/FOLL_COW for thp

2017-01-11 Thread Kirill A. Shutemov
On Tue, Jan 10, 2017 at 11:06:10PM -0800, Hugh Dickins wrote: > On Tue, 10 Jan 2017, Hugh Dickins wrote: > > On Thu, 5 Jan 2017, Kirill A. Shutemov wrote: > > > On Thu, Jan 05, 2017 at 12:36:58AM -0500, Keno Fischer wrote: > > > > struct page *follow_devmap_pmd(struct vm_area_struct *vma, unsigned

Re: [RFC] drm: Parse HDMI 2.0 YCbCr 4:2:0 VDB and VCB

2017-01-11 Thread Ville Syrjälä
On Wed, Jan 11, 2017 at 10:27:03AM +, Jose Abreu wrote: > Hi Ville, > > > On 10-01-2017 17:21, Ville Syrjälä wrote: > > [snip] > > >> But we already have color_formats field in drm_display_info > >> struct, right? Shouldn't we instead create for example a helper > >> which returns the best

Re: [tpmdd-devel] [PATCH RFC 0/4] RFC: in-kernel resource manager

2017-01-11 Thread Jarkko Sakkinen
On Tue, Jan 10, 2017 at 02:29:08PM -0500, Ken Goldman wrote: > On 1/9/2017 6:16 PM, Jarkko Sakkinen wrote: > > > > Here's my cuts for the kernel: > > > > - Kernel virtualizes handle areas. It's mechanical. > > - Kernel does not virtualize bodies. It's not mechanical. > > - At least the first vers

Re: [PATCH] coresight: STM: Balance enable/disable

2017-01-11 Thread Chunyan Zhang
On 11 January 2017 at 01:36, Mathieu Poirier wrote: > On Tue, Jan 10, 2017 at 11:21:55AM +, Suzuki K Poulose wrote: >> The stm is automatically enabled when an application sets the policy >> via ->link() call back by using coresight_enable(), which keeps the >> refcount of the current users of

[PATCH] perf/x86/intel: fix integer overflow when shifting 32 places

2017-01-11 Thread Colin King
From: Colin Ian King When x86_pmu.num_counters is set to INTEL_PMC_MAX_GENERIC we end up with the 32 bit integer constant 1 being shifted 32 places leading to undefined behaviour. Fix this by shifting 1ULL instead of 1. Fixes CoverityScan CID#1192105 ("Bad bit shift operation") Signed-off-by:

[PATCH] ASoC: rt5651: use msleep for large delays

2017-01-11 Thread Nicholas Mc Guire
SND_SOC_INTEL_BYTCR_RT5651_MACH=m (implies CONFIG_SND_SOC_RT5651) Patch is aginast 4.10-rc3 (localversion-next is next-20170111) sound/soc/codecs/rt5651.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/codecs/rt5651.c b/sound/soc/codecs/rt5651.c index f5d3415..fb592b0

Re: imx: RS-485 problems during TX, maybe DMA related

2017-01-11 Thread Fabio Estevam
Hi Clemens, On Tue, Jan 10, 2017 at 10:33 PM, Clemens Gruber wrote: > Hi Fabio, > > On Sun, Jan 08, 2017 at 07:46:29PM -0200, Fabio Estevam wrote: >> > What's the revision of the i.MX6Q on your board? Mine is 1.5 (TO 1.3) >> >> Mine is a mx6solo rev1.1. > > Could it be dependent upon SMP? Do you

[PATCH 1/1] iommu/arm-smmu: Fix for ThunderX erratum #27704

2017-01-11 Thread Tomasz Nowicki
The goal of erratum #27704 workaround was to make sure that ASIDs and VMIDs are unique across all SMMU instances on affected Cavium systems. Currently, the workaround code partitions ASIDs and VMIDs by increasing global cavium_smmu_context_count which in turn becomes the base ASID and VMID value f

Re: [PATCH v2 2/2] Support for DW CSI-2 Host IPK

2017-01-11 Thread Hans Verkuil
Hi Ramiro, See my review comments below: On 12/12/16 16:00, Ramiro Oliveira wrote: Add support for the DesignWare CSI-2 Host IP Prototyping Kit Signed-off-by: Ramiro Oliveira --- MAINTAINERS | 7 + drivers/media/platform/Kconfig | 1 + drivers

Re: [PATCH] ASoC: rt5651: use msleep for large delays

2017-01-11 Thread Joe Perches
On Wed, 2017-01-11 at 12:49 +0100, Nicholas Mc Guire wrote: > ulseep_range() uses hrtimers and provides no advantage over msleep() > for larger delays. Fix up the 75/85ms delays here to use msleep() and > reduce the load on the hrtimer subsystem. If this is useful, why not convert all the large va

Crypto Fixes for 4.10

2017-01-11 Thread Herbert Xu
Hi Linus: This push fixes a regression in aesni that renders it useless if it's built-in with a modular pcbc configuration. Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git linus Herbert Xu (1): crypto: aesni - Fix failure when built-in with modular

Re: [PATCH v7 1/7] perf/amd/iommu: Misc fix up perf_iommu_read

2017-01-11 Thread Peter Zijlstra
On Mon, Jan 09, 2017 at 09:33:41PM -0600, Suravee Suthikulpanit wrote: > This patch contains the following minor fixup: > * Fixed overflow handling since u64 delta would lose the MSB sign bit. Please explain.. afaict this actually introduces a bug. > diff --git a/arch/x86/events/amd/iommu.c b/

[PATCH v4] lib/scatterlist: Avoid potential scatterlist entry overflow

2017-01-11 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Since the scatterlist length field is an unsigned int, make sure that sg_alloc_table_from_pages does not overflow it while coallescing pages to a single entry. v2: Drop reference to future use. Use UINT_MAX. v3: max_segment must be page aligned. v4: Do not rely on compiler t

Re: [PATCH 0/4] fujitsu-laptop: acpi_fujitsu_hotkey_notify() cleanup

2017-01-11 Thread Jonathan Woithe
On Wed, Jan 11, 2017 at 09:59:29AM +0100, Micha?? K??pie?? wrote: > I am currently preparing a patch series which makes fujitsu-laptop use a > sparse keymap for hotkey handling. Before that will happen, though, > acpi_fujitsu_hotkey_notify() could use a revamp because it is pretty > hard to read a

[PATCH v5] lib/scatterlist: Introduce and export __sg_alloc_table_from_pages

2017-01-11 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Drivers like i915 benefit from being able to control the maxium size of the sg coallesced segment while building the scatter- gather list. Introduce and export the __sg_alloc_table_from_pages function which will allow it that control. v2: Reorder parameters. (Chris Wilson)

[PATCH v6] drm/i915: Use __sg_alloc_table_from_pages for userptr allocations

2017-01-11 Thread Tvrtko Ursulin
From: Tvrtko Ursulin With the addition of __sg_alloc_table_from_pages we can control the maximum coallescing size and eliminate a separate path for allocating backing store here. Similar to 871dfbd67d4e ("drm/i915: Allow compaction upto SWIOTLB max segment size") this enables more compact sg lis

Re: [PATCH v6] x86: fix kaslr and memmap collision

2017-01-11 Thread Thomas Gleixner
On Tue, 10 Jan 2017, Dave Jiang wrote: > +unsigned long simple_strtoul(const char *cp, char **endp, unsigned int base); > +long simple_strtol(const char *cp, char **endp, unsigned int base); What are those functions for? They are not used in that patch at all. > +static void mem_avoid_memmap(void

Re: [PATCH] ASoC: rt5651: use msleep for large delays

2017-01-11 Thread Nicholas Mc Guire
On Wed, Jan 11, 2017 at 03:55:49AM -0800, Joe Perches wrote: > On Wed, 2017-01-11 at 12:49 +0100, Nicholas Mc Guire wrote: > > ulseep_range() uses hrtimers and provides no advantage over msleep() > > for larger delays. Fix up the 75/85ms delays here to use msleep() and > > reduce the load on the hr

Re: [PATCH v8 1/3] dt-bindings: Add support for samsung s6e3ha2 panel binding

2017-01-11 Thread Chanwoo Choi
Hi Hoegeun, 2017-01-11 15:33 GMT+09:00 Hoegeun Kwon : > The Samsung s6e3ha2 is a 5.7" 1440x2560 AMOLED panel connected > using MIPI-DSI interfaces. > > Signed-off-by: Donghwa Lee > Signed-off-by: Hyungwon Hwang > Signed-off-by: Hoegeun Kwon > Tested-by: Chanwoo Choi I think my tested-by tag i

[PATCH 4/5] PCI: dwc: dra7xx: Enable MSI and legacy interrupts simultaneously

2017-01-11 Thread Kishon Vijay Abraham I
pci-dra7xx driver had a bug in that if CONFIG_PCI_MSI config is enabled, it doesn't support legacy interrupt. Fix it here so that both MSI and legacy interrupts can be enabled simultaneously and the interrupt mechanism supported by the endpoint device will be used. Signed-off-by: Kishon Vijay Abra

[PATCH 1/5] PCI: dwc: Add COMPILE_TEST to all designware based drivers

2017-01-11 Thread Kishon Vijay Abraham I
Add COMPILE_TEST to all designware based drivers so that it is possible to perform compile test even when a particular architecture specific config symbol is not set. Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/dwc/Kconfig | 16 1 file changed, 8 insertions(+), 8 del

[PATCH 5/5] PCI: dwc: dra7xx: Group phy API invocations

2017-01-11 Thread Kishon Vijay Abraham I
No functional change. Phy APIs like phy_init/phy_power_on is being invoked from multiple places. Group all the phy APIs in dra7xx_pcie_enable_phy() and dra7xx_pcie_disable_phy() and use these functions for enabling or disabling the phy. Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/dwc/p

[PATCH 2/5] PCI: dwc: dra7xx: Simplify the probe code

2017-01-11 Thread Kishon Vijay Abraham I
No functional change. Use the new devm_gpiod_get_optional() to simplify the probe code. Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/dwc/pci-dra7xx.c | 21 + 1 file changed, 5 insertions(+), 16 deletions(-) diff --git a/drivers/pci/dwc/pci-dra7xx.c b/drivers/pci/d

[PATCH 0/5] PCI: dwc: miscellaneous cleanups and fixes

2017-01-11 Thread Kishon Vijay Abraham I
This series includes miscellaneous cleanups and fixes in dra7xx pci driver and it also adds COMPILE_TEST to all designware based drivers (except dra7xx driver and hisi driver), since dra7xx driver doesn't depend on architecture specific config and hisi driver is compiled based on only ARM64. These

[PATCH 3/5] PCI: dwc: dra7xx: Add support to force RC to work in GEN1 mode

2017-01-11 Thread Kishon Vijay Abraham I
PCIe in AM57x/DRA7x devices is by default configured to work in GEN2 mode. However there may be situations when working in GEN1 mode is desired. One example is limitation i925 (PCIe GEN2 mode not supported at junction temperatures < 0C). Add support to force Root Complex to work in GEN1 mode if s

Re: [PATCH v3 4/7] mtd: nand: raw: prefix conflicting names with nandc instead of nand

2017-01-11 Thread Marek Vasut
On 01/11/2017 08:46 AM, Boris Brezillon wrote: > On Tue, 10 Jan 2017 20:08:23 +0100 > Marek Vasut wrote: > >> On 11/21/2016 01:45 PM, Boris Brezillon wrote: >>> Some raw NAND function names conflict with names defined in nand.h. >>> Prefix all those functions with nandc (for nand chip) instead of

[PATCH] usb: gadget: udc: atmel: remove memory leak

2017-01-11 Thread Alexandre Belloni
Commit bbe097f092b0 ("usb: gadget: udc: atmel: fix endpoint name") introduced a memory leak when unbinding the driver. The endpoint names would not be freed. Solve that by including the name as a string in struct usba_ep so it is freed when the endpoint is. Signed-off-by: Alexandre Belloni --- d

[PATCH] arm64: errata: Provide macro for major and minor cpu revisions

2017-01-11 Thread Robert Richter
Definition of cpu ranges are hard to read if the cpu variant is not zero. Provide MIDR_CPU_FULL_REV() macro to describe the full hardware revision of a cpu including variant and (minor) revision. Signed-off-by: Robert Richter --- arch/arm64/include/asm/cputype.h | 3 +++ arch/arm64/kernel/cpu_e

Re: mm, vmscan: commit makes PAE kernel crash nightly (bisected)

2017-01-11 Thread Mel Gorman
On Wed, Jan 11, 2017 at 04:32:43AM -0600, Trevor Cordes wrote: > Hi! I have biected a nightly oom-killer flood and crash/hang on one of > the boxes I admin. It doesn't crash on Fedora 23/24 4.7.10 kernel but > does on any 4.8 Fedora kernel. I did a vanilla bisect and the bug is > here: > > c

Re: mm, vmscan: commit makes PAE kernel crash nightly (bisected)

2017-01-11 Thread Mel Gorman
On Wed, Jan 11, 2017 at 12:11:46PM +, Mel Gorman wrote: > On Wed, Jan 11, 2017 at 04:32:43AM -0600, Trevor Cordes wrote: > > Hi! I have biected a nightly oom-killer flood and crash/hang on one of > > the boxes I admin. It doesn't crash on Fedora 23/24 4.7.10 kernel but > > does on any 4.8 F

Re: [PATCH net-next] bridge: multicast to unicast

2017-01-11 Thread IgorMitsyanko
On 01/11/2017 02:30 PM, Felix Fietkau wrote: On 2017-01-11 12:26, IgorMitsyanko wrote: On 01/11/2017 12:27 AM, Felix Fietkau wrote: On 2017-01-10 11:56, Johannes Berg wrote: On Tue, 2017-01-10 at 05:18 +0100, Linus Lüssing wrote: On Mon, Jan 09, 2017 at 01:30:32PM -0800, Stephen Hemminger wro

Re: [PATCH 55/62] watchdog: sunxi_wdt: Convert to use device managed functions and other improvements

2017-01-11 Thread Maxime Ripard
On Tue, Jan 10, 2017 at 06:09:09PM -0800, Guenter Roeck wrote: > Use device managed functions to simplify error handling, reduce > source code size, improve readability, and reduce the likelyhood of bugs. > Other improvements as listed below. > > The conversion was done automatically with coccinel

[PATCH v1 1/1] mfd: intel-lpss: Add Intel Gemini Lake PCI IDs

2017-01-11 Thread Andy Shevchenko
Intel Gemini Lake is essentially Broxton with different PCI IDs. Add these new PCI IDs to the list of supported devices. Signed-off-by: Mika Westerberg Signed-off-by: Andy Shevchenko --- drivers/mfd/intel-lpss-pci.c | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) diff -

Re: [RFC v4 0/6] CPU reclaiming for SCHED_DEADLINE

2017-01-11 Thread Juri Lelli
Hi, On 04/01/17 19:30, Luca Abeni wrote: > 2017-01-04 19:00 GMT+01:00, Daniel Bristot de Oliveira : > [...] > > Some tasks start to use more CPU time, while others seems to use less > > CPU than it was reserved for them. See the task 14926, it is using > > only 23.8 % of the CPU, which

Re: [PATCH RESEND] splice: introduce FMODE_SPLICE_READ and FMODE_SPLICE_WRITE

2017-01-11 Thread Jeff Layton
On Wed, 2017-01-11 at 10:51 +0100, Johannes Thumshirn wrote: > Introduce FMODE_SPLICE_READ and FMODE_SPLICE_WRITE. These modes check > whether it is legal to read or write a file using splice. Both get > automatically set on regular files and are not checked when a 'struct > fileoperations' include

Re: [PATCH 1/1] iommu/arm-smmu: Fix for ThunderX erratum #27704

2017-01-11 Thread Robin Murphy
On 11/01/17 11:51, Tomasz Nowicki wrote: > The goal of erratum #27704 workaround was to make sure that ASIDs and VMIDs > are unique across all SMMU instances on affected Cavium systems. > > Currently, the workaround code partitions ASIDs and VMIDs by increasing > global cavium_smmu_context_count w

Re: [PATCH net-next] bridge: multicast to unicast

2017-01-11 Thread Felix Fietkau
On 2017-01-11 13:15, IgorMitsyanko wrote: > On 01/11/2017 02:30 PM, Felix Fietkau wrote: >> On 2017-01-11 12:26, IgorMitsyanko wrote: >>> On 01/11/2017 12:27 AM, Felix Fietkau wrote: On 2017-01-10 11:56, Johannes Berg wrote: > On Tue, 2017-01-10 at 05:18 +0100, Linus Lüssing wrote: >>

Re: [PATCH 0/4] fujitsu-laptop: acpi_fujitsu_hotkey_notify() cleanup

2017-01-11 Thread Michał Kępień
> On Wed, Jan 11, 2017 at 09:59:29AM +0100, Micha?? K??pie?? wrote: > > I am currently preparing a patch series which makes fujitsu-laptop use a > > sparse keymap for hotkey handling. Before that will happen, though, > > acpi_fujitsu_hotkey_notify() could use a revamp because it is pretty > > hard

Re: [PATCH 56/62] watchdog: tangox_wdt: Convert to use device managed functions

2017-01-11 Thread Marc Gonzalez
On 11/01/2017 11:52, Guenter Roeck wrote: > On 01/11/2017 01:07 AM, Marc Gonzalez wrote: > >>> @@ -134,12 +134,15 @@ static int tangox_wdt_probe(struct platform_device >>> *pdev) >>> err = clk_prepare_enable(dev->clk); >>> if (err) >>> return err; >>> + err = devm_add_actio

Re: [PATCH 1/4] mm, page_alloc: Split buffered_rmqueue

2017-01-11 Thread Jesper Dangaard Brouer
On Mon, 9 Jan 2017 16:35:15 + Mel Gorman wrote: > buffered_rmqueue removes a page from a given zone and uses the per-cpu > list for order-0. This is fine but a hypothetical caller that wanted > multiple order-0 pages has to disable/reenable interrupts multiple > times. This patch structures

Re: [PATCH 2/4] mm, page_alloc: Split alloc_pages_nodemask

2017-01-11 Thread Jesper Dangaard Brouer
On Mon, 9 Jan 2017 16:35:16 + Mel Gorman wrote: > alloc_pages_nodemask does a number of preperation steps that determine > what zones can be used for the allocation depending on a variety of > factors. This is fine but a hypothetical caller that wanted multiple > order-0 pages has to do the

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