Re: [PATCH v2] netfilter: Clean up tests if NULL returned on failure

2017-03-28 Thread Jan Engelhardt
On Tuesday 2017-03-28 18:23, SIMRAN SINGHAL wrote: >On Tue, Mar 28, 2017 at 7:24 PM, Jan Engelhardt wrote: >> On Tuesday 2017-03-28 15:13, simran singhal wrote: >> >>>Some functions like kmalloc/kzalloc return NULL on failure. When NULL >>>represents failure, !x is commonly used. >>> >>>@@ -910,7

[PATCH v3 0/2] add dts files for hi3798cv200-Poplar board

2017-03-28 Thread Jiancheng Xue
This patch set mainly adds dts files for hi3798cv200-Poplar board. Jiancheng Xue (2): dt-bindings: arm: hisilicon: add bindings for hi3798cv200 SoC and Poplar board arm64: dts: hisilicon: add dts files for hi3798cv200-poplar board .../bindings/arm/hisilicon/hisilicon.txt | 4

Re: [RFC PATCH 2/3] iio: adc: sun4i-gpadc-iio: add support for H3 thermal sensor

2017-03-28 Thread Quentin Schulz
Hi, On 28/03/2017 19:30, Icenowy Zheng wrote: > This adds support for the Allwinner H3 thermal sensor. > > Allwinner H3 has a thermal sensor like the one in A33, but have its > registers nearly all re-arranged, sample clock moved to CCU and a pair > of bus clock and reset added. It's also the bas

[PATCH 1/1] drivers: staging: fbtft: Hush Checkpatch.pl Error about unnecessary whitespace and comma

2017-03-28 Thread vaibhavddit
From: Vaibhav Kothari Removed whitespace & comma in fbtft-bus.c as a part of checkpatch.pl fix-up. Signed-off-by: Vaibhav Kothari --- drivers/staging/fbtft/fbtft-bus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/fbtft/fbtft-bus.c b/drivers/staging/f

[PATCH v3 2/2] arm64: dts: hisilicon: add dts files for hi3798cv200-poplar board

2017-03-28 Thread Jiancheng Xue
Add basic dts files for hi3798cv200-poplar board. Poplar is the first development board compliant with the 96Boards Enterprise Edition TV Platform specification. The board features the Hi3798CV200 with an integrated quad-core 64-bit ARM Cortex A53 processor and high performance Mali T720 GPU. Sign

[PATCH v3 1/2] dt-bindings: arm: hisilicon: add bindings for hi3798cv200 SoC and Poplar board

2017-03-28 Thread Jiancheng Xue
Add bindings for HiSilicon hi3798cv200 SoC and Poplar Board. Signed-off-by: Jiancheng Xue Reviewed-by: Alex Elder Acked-by: Peter Griffin Acked-by: Rob Herring --- Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentati

Re: [PATCH v2] nfc: don't be making arch specific unaligned decisions at driver level.

2017-03-28 Thread Samuel Ortiz
Hi Paul, On Tue, Mar 28, 2017 at 06:55:26PM -0400, Paul Gortmaker wrote: > On Mon, Jan 9, 2017 at 12:52 PM, Paul Gortmaker > wrote: > > Currently ia64 fails building allmodconfig with variations of: > > > >In file included from drivers/nfc/nxp-nci/i2c.c:39:0: > >./include/linux/unaligned/

[PATCH] net: netfilter: replace explicit NULL comparison with ! operator

2017-03-28 Thread Arushi Singhal
Replace explicit NULL comparison with ! operator to simplify code. Signed-off-by: Arushi Singhal --- net/netfilter/ipvs/ip_vs_ctl.c | 8 ++--- net/netfilter/ipvs/ip_vs_proto.c | 8 ++--- net/netfilter/nf_conntrack_broadcast.c | 2 +- net/netfilter/nf_conntrack_core.c | 2 +

Re: [RFC]mm/zsmalloc,: trigger BUG_ON in function zs_map_object.

2017-03-28 Thread Sergey Senozhatsky
On (03/29/17 09:20), Minchan Kim wrote: > Hello, > > On Tue, Mar 28, 2017 at 03:20:22PM +0800, Yisheng Xie wrote: > > Hi, all, > > > > We had backport the no-lru migration to linux-4.1, meanwhile change the > > ZS_MAX_ZSPAGE_ORDER to 3. Then we met a BUG_ON(!page[1]). > > Hmm, I don't know how y

[PATCH] net: bridge: netfilter: Comparison to NULL could be written

2017-03-28 Thread Arushi Singhal
Fixed coding style for null comparisons to be more consistant with the rest of the kernel coding style. Signed-off-by: Arushi Singhal --- net/bridge/netfilter/ebt_among.c | 12 ++-- net/bridge/netfilter/ebt_arp.c | 10 +- net/bridge/netfilter/ebt_arpreply.c

Re: [PATCH] Revert "net: stmmac: enable multiple buffers"

2017-03-28 Thread Corentin Labbe
On Tue, Mar 28, 2017 at 10:11:23PM -0700, David Miller wrote: > > Did you even test all 3 of Thierry's patches? > > I want you to do that before we revert. > Yes I tested all 3, dwmac-sunxi is still broken with them

Re: [PATCH] drm/vc4: Allocate the right amount of space for boot-time CRTC state.

2017-03-28 Thread Daniel Vetter
On Tue, Mar 28, 2017 at 01:13:43PM -0700, Eric Anholt wrote: > Without this, the first modeset would dereference past the allocation > when trying to free the mm node. > > Signed-off-by: Eric Anholt > Tested-by: Stefan Wahren Fixes: d8dbf44f13b9 ("drm/vc4: Make the CRTCs cooperate on allocating

Re: [RFC PATCH tip/master 2/3] kprobes: Allocate kretprobe instance if its free list is empty

2017-03-28 Thread Ingo Molnar
* Masami Hiramatsu wrote: > @@ -1824,6 +1823,30 @@ void unregister_jprobes(struct jprobe **jps, int num) > EXPORT_SYMBOL_GPL(unregister_jprobes); > > #ifdef CONFIG_KRETPROBES > + > +/* Try to use free instance first, if failed, try to allocate new instance */ > +struct kretprobe_instance *kr

[PATCH] x86/fpu: Turn WARN_ON in context switch into WARN_ON_FPU

2017-03-28 Thread Andi Kleen
From: Andi Kleen copy_xregs_to_kernel checks if the alternatives have been already patched. This WARN_ON is always executed in every context switch. All the other checks in fpu internal.h are WARN_ON_FPU, but this one is plain WARN_ON. I assume it was forgotten to switch it. So switch it to WA

Re: [PATCH V4 2/2] perf/x86: add sysfs entry to freeze counter on SMI

2017-03-28 Thread Ingo Molnar
* kan.li...@intel.com wrote: > +static void flip_smm_bit(void *data) > +{ > + int val = *(int *)data; > + > + msr_flip_bit(MSR_IA32_DEBUGCTLMSR, DEBUGCTLMSR_FREEZE_WHILE_SMM_BIT, > (bool)val); > +} BTW., you can probably shorten that and remove a type cast by using a more natural typ

[PATCH v2] net: veth: use new api ethtool_{get|set}_link_ksettings

2017-03-28 Thread Philippe Reynes
The ethtool api {get|set}_settings is deprecated. We move this driver to new api {get|set}_link_ksettings. Signed-off-by: Philippe Reynes --- Changelog: v2: - avoid useless initiazation to zero (thanks Xin Long) drivers/net/veth.c | 19 +++ 1 files changed, 7 insertions(+), 12

Re: Random guest crashes since 5c34d002dcc7 ("virtio_pci: use shared interrupts for virtqueues")

2017-03-28 Thread Mike Galbraith
On Mon, 2017-03-27 at 20:18 +0200, Mike Galbraith wrote: > BTW, WRT RT woes with $subject, I tried booting a generic kernel with > threadirqs, and bingo, same deal, just a bit more painful than for RT, > where there's no watchdog moaning accompanying the (preemptible) spin. BTW++: the last hunk o

Re: [PATCH v2,1/3] meson_uart: expose CLKID_UARTx

2017-03-28 Thread Jerome Brunet
On Tue, 2017-03-28 at 23:24 +0200, Martin Blumenstingl wrote: > Hi Jerome, > > On Tue, Mar 28, 2017 at 9:14 PM, Jerome Brunet wrote: > > On Tue, 2017-03-28 at 20:18 +0200, Helmut Klein wrote: > > > i know for sure that the bluetooth chip of my system is connected to > > > uart_A. so this clock mu

linux-next: Tree for Mar 29

2017-03-28 Thread Stephen Rothwell
Hi all, Changes since 20170328: Dropped tree: xen-tip (conflicts too extensive) The kvms390 tree gained a conflict against the kvm-mips tree. The xen-tip tree gained extensive conflicts against the tip tree. The mailbox tree gained a build failure for which I applied a patch. The akpm

Re: [alsa-devel] [PATCH v2 6/8] regulator: arizona-micbias: Add regulator driver for Arizona micbiases

2017-03-28 Thread kbuild test robot
Hi Charles, [auto build test WARNING on regulator/for-next] [also build test WARNING on v4.11-rc4 next-20170328] [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/Charles-Keepax/regulator-arizona

[PATCH] bluetooth: 6lowpan: fix delay work init in add_peer_chan()

2017-03-28 Thread Michael Scott
When adding 6lowpan devices very rapidly we sometimes see a crash: [23122.306615] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.9.0-43-arm64 #1 Debian 4.9.9.linaro.43-1 [23122.315400] Hardware name: HiKey Development Board (DT) [23122.320623] task: 800075443080 task.stack: 800075484000 [2312

[PATCH] bluetooth: 6lowpan: fix use after free in chan_suspend/resume

2017-03-28 Thread Michael Scott
A status field in the skb_cb struct was storing a channel status based on channel suspend/resume events. This stored status was then used to return EAGAIN if there were packet sending issues in snd_pkt(). The issue is that the skb has been freed by the time the callback to 6lowpan's suspend/resum

Re: [PATCH 1/2] extcon: usb-gpio: Add level trigger support

2017-03-28 Thread Baolin Wang
Hi, On 24 March 2017 at 20:41, Rob Herring wrote: > On Fri, Mar 24, 2017 at 6:56 AM, Baolin Wang wrote: >> Hi, >> >> On 24 March 2017 at 19:08, Chanwoo Choi wrote: >>> Hi, >>> >>> On 2017년 03월 20일 16:59, Baolin Wang wrote: Now extcon-usb-gpio only supports for GPIO egdge trigger, but VBUS/

Re: [Outreachy kernel] [PATCH] staging: iio: Use devm functions

2017-03-28 Thread Julia Lawall
On Wed, 29 Mar 2017, Arushi Singhal wrote: > Use managed resource functions devm_request_irq instead of request_irq. > Remove corresponding calls to free_irq in the probe. This transformation is dangerous, because it moves the stopping of interrupts from where the free_irq is to after the end o

Re: [PATCH v6 0/4] Broadcom SBA RAID support

2017-03-28 Thread Anup Patel
On Tue, Mar 21, 2017 at 2:48 PM, Vinod Koul wrote: > On Tue, Mar 21, 2017 at 02:17:21PM +0530, Anup Patel wrote: >> On Tue, Mar 21, 2017 at 2:00 PM, Vinod Koul wrote: >> > On Mon, Mar 06, 2017 at 03:13:24PM +0530, Anup Patel wrote: >> >> The Broadcom SBA RAID is a stream-based device which provid

Re: Synaptics RMI4 touchpad regression in 4.11-rc1

2017-03-28 Thread Peter Hutterer
On Tue, Mar 28, 2017 at 06:50:44PM -0700, Andrew Duggan wrote: > On 03/19/2017 10:00 PM, Peter Hutterer wrote: > > On Fri, Mar 17, 2017 at 12:23:36PM -0700, Andrew Duggan wrote: > > > On 03/17/2017 09:57 AM, Benjamin Tissoires wrote: > > > > On Wed, Mar 15, 2017 at 2:19 AM, Andrew Duggan > > > >

[PATCH v2] module: check if memory leak by module.

2017-03-28 Thread Maninder Singh
This patch checks if any module which is going to be unloaded is doing vmalloc memory leak or not. Logs:- [ 129.336368] Module [test_module] is getting unloaded before doing vfree [ 129.336371] Memory still allocated: addr:0xc90001461000 - 0xc900014c7000, pages 101 [ 129.336376] Alloca

Re: [PATCH V4 2/2] perf/x86: add sysfs entry to freeze counter on SMI

2017-03-28 Thread Thomas Gleixner
On Tue, 28 Mar 2017, kan.li...@intel.com wrote: > +static void flip_smm_bit(void *data) > +{ > + int val = *(int *)data; > + > + msr_flip_bit(MSR_IA32_DEBUGCTLMSR, DEBUGCTLMSR_FREEZE_WHILE_SMM_BIT, > (bool)val); I asked you before to use line breaks for lines over 80 chars. Is it that har

[RFC][CFT][PATCHSET v1] uaccess unification

2017-03-28 Thread Al Viro
We have several primitives for bulk kernel<->userland copying. That stuff lives in various asm/uaccess.h, with serious code duplication _and_ seriously inconsistent semantics. That code has grown a lot of cruft and more than a few bugs. Some got caught and fixed last year, but some

Re: [PATCH v7 0/3] Broadcom FlexRM ring manager support

2017-03-28 Thread Anup Patel
On Wed, Mar 29, 2017 at 11:05 AM, Jassi Brar wrote: > On Wed, Mar 29, 2017 at 11:00 AM, Anup Patel wrote: >> The Broadcom FlexRM ring manager provides producer-consumer style >> ring interface for offload engines on Broadcom iProc SoCs. We can >> have one or more instances of Broadcom FlexRM ring

Re: linux-next: manual merge of the tty tree with the tty.current tree

2017-03-28 Thread Greg KH
On Mon, Mar 20, 2017 at 10:26:43AM +0100, Dmitry Vyukov wrote: > On Mon, Mar 20, 2017 at 10:21 AM, Dmitry Vyukov wrote: > > On Mon, Mar 20, 2017 at 3:28 AM, Stephen Rothwell > > wrote: > >> Hi Greg, > >> > >> Today's linux-next merge of the tty tree got a conflict in: > >> > >> drivers/tty/tty

[PATCH] net: ipv6: netfilter: replace explicit NULL comparison with ! operator

2017-03-28 Thread Arushi Singhal
Replace explicit NULL comparison with ! operator to simplify code. Signed-off-by: Arushi Singhal --- net/ipv6/netfilter/ip6_tables.c| 4 ++-- net/ipv6/netfilter/ip6t_SYNPROXY.c | 16 net/ipv6/netfilter/ip6t_ah.c | 2 +- net/ipv6/ne

Re: [PATCH 4.9 00/88] 4.9.19-stable review

2017-03-28 Thread Greg Kroah-Hartman
On Tue, Mar 28, 2017 at 12:32:16PM -0700, Kevin Hilman wrote: > kernelci.org bot writes: > > > stable-rc/linux-4.9.y boot: 186 boots: 12 failed, 153 passed with 21 > > offline (v4.9.18-89-g4c510f546717) > > This can be ignored. > > These emails were supposed to be disabled while we are working

Re: [PATCH V4 1/2] x86/msr: expose msr_flip_bit function

2017-03-28 Thread Thomas Gleixner
On Tue, 28 Mar 2017, kan.li...@intel.com wrote: > From: Kan Liang > > There is no exported kernel interfaces which can flip a MSR bit. It has > to do read-modify-write operation on the MSR through rd/wrmsr* > interfaces. But the method is not atomic. > > There is already __flip_bit support. Just

Re: [PATCH 4.10 000/111] 4.10.7-stable review

2017-03-28 Thread Greg Kroah-Hartman
On Tue, Mar 28, 2017 at 07:59:36PM -0700, Guenter Roeck wrote: > On 03/28/2017 05:29 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.10.7 release. > > There are 111 patches in this series, all will be posted as a response > > to this one. If anyone has any

Re: [PATCH 4.10 000/111] 4.10.7-stable review

2017-03-28 Thread Greg Kroah-Hartman
On Tue, Mar 28, 2017 at 01:37:16PM -0600, Shuah Khan wrote: > On 03/28/2017 06:29 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.10.7 release. > > There are 111 patches in this series, all will be posted as a response > > to this one. If anyone has any iss

[PATCH] net: netfilter: Use list_{next/prev}_entry instead of list_entry

2017-03-28 Thread simran singhal
This patch replace list_entry with list_prev_entry as it makes the code more clear to read. Signed-off-by: simran singhal --- net/netfilter/nf_tables_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/netfilter/nf_tables_api.c b/net/netfilter/nf_tables_api.c index b764

Re: linux-next: manual merge of the akpm-current tree with the sparc tree

2017-03-28 Thread David Miller
From: Stephen Rothwell Date: Wed, 29 Mar 2017 16:37:46 +1100 > 3f506bf2a354 ("sparc64: NG4 memset 32 bits overflow") Andrew, this change still needs discussion and review and I intended to push it via my tree once everything was sorted out. Thank you.

[PATCH] Staging: nvec: Remove FSF's mailing address

2017-03-28 Thread Riku Salminen
Removed Free Software Foundation's address from the copyright notice and replaced it with a link to http://www.gnu.org/licenses Signed-off-by: Riku Salminen --- drivers/staging/nvec/nvec-keytable.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/nvec/nvec-ke

linux-next: manual merge of the akpm-current tree with the sparc tree

2017-03-28 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm-current tree got a conflict in: arch/sparc/lib/NG4memset.S between commit: 0ae2d26ffe70 ("arch/sparc: Avoid DCTI Couples") from the sparc tree and commit: 3f506bf2a354 ("sparc64: NG4 memset 32 bits overflow") from the akpm-current tree.

Re: [PATCH v7 0/3] Broadcom FlexRM ring manager support

2017-03-28 Thread Jassi Brar
On Wed, Mar 29, 2017 at 11:00 AM, Anup Patel wrote: > The Broadcom FlexRM ring manager provides producer-consumer style > ring interface for offload engines on Broadcom iProc SoCs. We can > have one or more instances of Broadcom FlexRM ring manager in a SoC. > > This patchset adds a mailbox driver

[PATCH v7 3/3] mailbox: Remove depends on COMPILE_TEST for BCM_FLEXRM_MBOX

2017-03-28 Thread Anup Patel
The Broadcom FlexRM mailbox driver uses platform MSI support but not all ARCHs provide asm/msi.h. Due to this, we get compilation error in Broadcom FlexRM mailbox driver via linux/msi.h on ARCHs which lack asm/msi.h. This patch removes "depends on COMPILE_TEST" for Kconfig option BCM_FLEXRM_MBOX s

[PATCH v7 2/3] dt-bindings: Add DT bindings info for FlexRM ring manager

2017-03-28 Thread Anup Patel
This patch adds device tree bindings document for the FlexRM ring manager found on Broadcom iProc SoCs. Acked-by: Rob Herring Reviewed-by: Ray Jui Reviewed-by: Scott Branden Signed-off-by: Anup Patel --- .../bindings/mailbox/brcm,iproc-flexrm-mbox.txt| 59 ++ 1 file ch

[PATCH v7 1/3] mailbox: Add driver for Broadcom FlexRM ring manager

2017-03-28 Thread Anup Patel
Some of the Broadcom iProc SoCs have FlexRM ring manager which provides a ring-based programming interface to various offload engines (e.g. RAID, Crypto, etc). This patch adds a common mailbox driver for Broadcom FlexRM ring manager which can be shared by various offload engine drivers (implemente

[PATCH v7 0/3] Broadcom FlexRM ring manager support

2017-03-28 Thread Anup Patel
The Broadcom FlexRM ring manager provides producer-consumer style ring interface for offload engines on Broadcom iProc SoCs. We can have one or more instances of Broadcom FlexRM ring manager in a SoC. This patchset adds a mailbox driver for Broadcom FlexRM ring manager which can be used by offload

Re: [PATCH v3 2/3] irqchip: mtk-cirq: Add mediatek mtk-cirq implement

2017-03-28 Thread Youlin Pei
On Fri, 2017-03-24 at 16:22 +, Marc Zyngier wrote: > On 14/02/17 02:56, Youlin Pei wrote: > > In Mediatek SOCs, the CIRQ is a low power interrupt controller > > designed to works outside MCUSYS which comprises with Cortex-Ax > > cores,CCI and GIC. > > > > The CIRQ controller is integrated in b

[RFC PATCH tip/master 3/3] kprobes: Limit kretprobe maximum instances

2017-03-28 Thread Masami Hiramatsu
Limit kretprobe maximum instance up to MAXACTIVE_ALLOC. Without this limit, kretprobe user can specify huge number (e.g. forget to zero-fill struct kretprobe) to maxactive and may cause out-of-memory. Signed-off-by: Masami Hiramatsu --- kernel/kprobes.c |3 +++ 1 file changed, 3 insertions(+

[RFC PATCH tip/master 2/3] kprobes: Allocate kretprobe instance if its free list is empty

2017-03-28 Thread Masami Hiramatsu
Try to allocate kretprobe instance by GFP_ATOMIC if kretprobe's free list is empty. This can prevent kretprobe miss-hit on the function which can be heavily invoked and slept inside (like locking syscall entries.) NOTE: This may easily cause nested kprobe call which will be just skipped (but nmiss

[RFC PATCH tip/master 1/3] trace: kprobes: Show sum of probe/retprobe nmissed count

2017-03-28 Thread Masami Hiramatsu
Show sum of probe and retprobe nmissed count in kprobe_profile, since retprobe can be missed even if the kprobe itself succeeeded. This explains user why their return probe didn't hit sometimes. Signed-off-by: Masami Hiramatsu --- kernel/trace/trace_kprobe.c |2 +- 1 file changed, 1 insertio

[RFC PATCH tip/master 0/3] kprobes: tracing: kretprobe_instance dynamic allocation

2017-03-28 Thread Masami Hiramatsu
Here is a correction of patches to introduce kretprobe_instance dynamic allocation for avoiding kretprobe silently miss-hits. Original issue was reported by Lukasz on linux-trace ml. https://www.spinics.net/lists/linux-trace/msg00448.html Also Alban is working on kprobe-tracer side because of io

linux-next: build failure after merge of the mailbox tree

2017-03-28 Thread Stephen Rothwell
Hi Jassi, After merging the mailbox tree, today's linux-next build (powerpc allyesconfig) failed like this: In file included from /home/sfr/next/next/include/linux/kvm_host.h:20:0, from /home/sfr/next/next/arch/powerpc/kernel/asm-offsets.c:54: /home/sfr/next/next/include/linux/ms

Re: [PATCH v22 02/11] clocksource: arm_arch_timer: separate out device-tree code and remove arch_timer_detect_rate

2017-03-28 Thread Fu Wei
Hi Daniel, On 29 March 2017 at 11:41, Fu Wei wrote: > Hi Daniel, > > Great thanks for your review, allow me to answer your question below: > > On 28 March 2017 at 22:58, Daniel Lezcano wrote: >> On Wed, Mar 22, 2017 at 12:31:13AM +0800, fu@linaro.org wrote: >>> From: Fu Wei >>> >>> Currentl

Re: [PATCH] Revert "net: stmmac: enable multiple buffers"

2017-03-28 Thread David Miller
Did you even test all 3 of Thierry's patches? I want you to do that before we revert.

[PATCH] staging: iio: Use devm functions

2017-03-28 Thread Arushi Singhal
Use managed resource functions devm_request_irq instead of request_irq. Remove corresponding calls to free_irq in the probe. Signed-off-by: Arushi Singhal --- drivers/staging/iio/trigger/iio-trig-bfin-timer.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/stag

[PATCH] Revert "net: stmmac: enable multiple buffers"

2017-03-28 Thread Corentin Labbe
The commit aff3d9eff843 ("net: stmmac: enable multiple buffers") breaks numerous boards. while some patch exists for fixing some of it, dwmac-sunxi is still broken with it. Since this patch is very huge, it will be better to split it in smaller part. Signed-off-by: Corentin Labbe --- drivers/net

RE: [PATCH v2 07/11] ARM: at91: pm: Tie the memory controller type to the ramc id

2017-03-28 Thread Wenyou.Yang
> -Original Message- > From: Alexandre Belloni [mailto:alexandre.bell...@free-electrons.com] > Sent: 2017年3月28日 19:20 > To: Nicolas Ferre - M43238 > Cc: linux-kernel@vger.kernel.org; linux-arm-ker...@lists.infradead.org; Boris > Brezillon ; Wenyou Yang - A41535 > ; Alexandre Belloni ele

[RFC PATCH tip/master V3 8/8] kprobes/x86: Consolidate insn decoder users for copying code

2017-03-28 Thread Masami Hiramatsu
Consolidate x86 instruction decoder users on the path of copying original code for kprobes. Kprobes decodes same instruction 3 times in maximum when preparing instruction buffer. The first time for getting the length of instruction, the 2nd for adjusting displacement, and the 3rd for checking whet

Re: [PATCH net-next] net: dsa: fix copyright holder

2017-03-28 Thread David Miller
From: Vivien Didelot Date: Tue, 28 Mar 2017 15:10:36 -0400 > I do not hold the copyright of the DSA core and drivers source files, > since these changes have been written as an initiative of my day job. > Fix this. > > Signed-off-by: Vivien Didelot Applied.

Re: [PATCH net-next] net: dsa: mv88e6xxx: unconditionally set ATU trunk

2017-03-28 Thread David Miller
From: Vivien Didelot Date: Tue, 28 Mar 2017 15:09:43 -0400 > Set the trunk member of the mv88e6xxx_atu_entry structure regardless its > value, so that uninitialized structures gets the correct boolean value. > > Note that no mainline code is affected by the current behavior. > > Signed-off-by:

[RFC PATCH tip/master V3 7/8] kprobes/x86: Use probe_kernel_read instead of memcpy

2017-03-28 Thread Masami Hiramatsu
Use probe_kernel_read() for avoiding unexpected faults while copying kernel text in __recover_probed_insn(), __recover_optprobed_insn() and __copy_instruction(). Signed-off-by: Masami Hiramatsu --- Note that this is just an update patch which I had been sent to LKML last month ( https://lkml.

[RFC PATCH tip/master V3 6/8] kprobes/x86: Set kprobes pages readonly

2017-03-28 Thread Masami Hiramatsu
Set the pages which is used for kprobes' singlestep buffer and optprobe's trampoline instruction buffer to readonly. This can prevent unexpected (or unintended) instruction modification. This also passes rodata_test as below. Without this patch, rodata_test shows a warning: [ 10.041310] --

RE: [PATCH v2 06/11] ARM: at91: pm: Workaround DDRSDRC self-refresh bug with LPDDR1 memories.

2017-03-28 Thread Wenyou.Yang
> -Original Message- > From: Alexandre Belloni [mailto:alexandre.bell...@free-electrons.com] > Sent: 2017年3月28日 19:20 > To: Nicolas Ferre - M43238 > Cc: linux-kernel@vger.kernel.org; linux-arm-ker...@lists.infradead.org; Boris > Brezillon ; Wenyou Yang - A41535 > ; Alexandre Belloni ele

[RFC PATCH tip/master V3 5/8] kprobes/x86: Make boostable flag boolean

2017-03-28 Thread Masami Hiramatsu
Make arch_specific_insn.boostable to boolean, since it has only 2 states, boostable or not. So it is better to use boolean from the viewpoint of code readability. Signed-off-by: Masami Hiramatsu --- arch/x86/include/asm/kprobes.h |7 +++ arch/x86/kernel/kprobes/core.c | 12 ++--

RE: [PATCH v2 04/11] ARM: at91: pm: Use struct at91_pm_data in pm_suspend.S

2017-03-28 Thread Wenyou.Yang
> -Original Message- > From: Alexandre Belloni [mailto:alexandre.bell...@free-electrons.com] > Sent: 2017年3月28日 19:20 > To: Nicolas Ferre - M43238 > Cc: linux-kernel@vger.kernel.org; linux-arm-ker...@lists.infradead.org; Boris > Brezillon ; Wenyou Yang - A41535 > ; Alexandre Belloni ele

[RFC PATCH tip/master V3 4/8] kprobes/x86: Do not modify singlestep buffer while resuming

2017-03-28 Thread Masami Hiramatsu
Do not modify singlestep execution buffer (kprobe.ainsn.insn) while resuming from single-stepping, instead, modifies the buffer to add a jump back instruction at preparing buffer. Signed-off-by: Masami Hiramatsu --- Changes in v3: - Fix imbalance curly braces. - Remove unneeded (void *) c

[RFC PATCH tip/master V3 3/8] kprobes/x86: Use instruction decoder for booster

2017-03-28 Thread Masami Hiramatsu
Use x86 instruction decoder for checking whether the probed instruction is able to boost or not, instead of hand-written code. Signed-off-by: Masami Hiramatsu --- arch/x86/kernel/kprobes/core.c | 39 --- 1 file changed, 16 insertions(+), 23 deletions(-) dif

[RFC PATCH tip/master V3 2/8] kprobes/x86: Fix the description of __copy_instruction()

2017-03-28 Thread Masami Hiramatsu
Fix the description comment of __copy_instruction() function since it has already been changed to return the length of copied instruction. Signed-off-by: Masami Hiramatsu --- arch/x86/kernel/kprobes/core.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/x86/

RE: [PATCH v2 09/11] ARM: at91: pm: Merge all at91sam9*_pm_init

2017-03-28 Thread Wenyou.Yang
> -Original Message- > From: Alexandre Belloni [mailto:alexandre.bell...@free-electrons.com] > Sent: 2017年3月28日 19:20 > To: Nicolas Ferre - M43238 > Cc: linux-kernel@vger.kernel.org; linux-arm-ker...@lists.infradead.org; Boris > Brezillon ; Wenyou Yang - A41535 > ; Alexandre Belloni ele

[RFC PATCH tip/master V3 1/8] kprobes/x86: Fix not to boost call far instruction

2017-03-28 Thread Masami Hiramatsu
Fix kprobe-booster not to boost call far instruction, because call may store the address in singlestep execution buffer to the stack, which should be modified after single stepping. Currently, this instruction will be filtered as not boostable in resume_execution(), so this is not a critical issue

RE: [PATCH v2 08/11] ARM: at91: pm: Tie the USB clock mask to the pmc

2017-03-28 Thread Wenyou.Yang
> -Original Message- > From: Alexandre Belloni [mailto:alexandre.bell...@free-electrons.com] > Sent: 2017年3月28日 19:20 > To: Nicolas Ferre - M43238 > Cc: linux-kernel@vger.kernel.org; linux-arm-ker...@lists.infradead.org; Boris > Brezillon ; Wenyou Yang - A41535 > ; Alexandre Belloni ele

[RFC PATCH tip/master V3 0/8] kprobes/x86: Make kprobes instruction buffers read-only

2017-03-28 Thread Masami Hiramatsu
Hi, This is the 3rd version of the series. I just updated 4/8 according to Ingo's comment. This series tries to make kprobes instruction buffers read-only pages. Since those buffers are used for trampoline code, those are a part of "text area" and it should be marked as ro for avoiding unexpected

Re: [PATCH net-next] net: dsa: mv88e6xxx: debug ATU Age Time

2017-03-28 Thread David Miller
From: Vivien Didelot Date: Tue, 28 Mar 2017 14:13:53 -0400 > Hi David, > > Vivien Didelot writes: > >> The ATU ageing time value programmed in the switch is rounded up to the >> nearest multiple of its coefficient (variable depending on the model.) >> >> Add a debug message to inform the user

Re: [PATCH net-next 0/4] net: dsa: fix chip definitions

2017-03-28 Thread David Miller
From: Vivien Didelot Date: Tue, 28 Mar 2017 13:50:31 -0400 > The definitions of some of the mv88e6xxx_ops and mv88e6xxx_info > structures are misordered and erroneous for 88E6191 and 88E6391. > > This patch series cleans that up. Series applied.

RE: [PATCH v2 10/11] ARM: at91: pm: Remove at91_pm_set_standby

2017-03-28 Thread Wenyou.Yang
> -Original Message- > From: Alexandre Belloni [mailto:alexandre.bell...@free-electrons.com] > Sent: 2017年3月28日 19:20 > To: Nicolas Ferre - M43238 > Cc: linux-kernel@vger.kernel.org; linux-arm-ker...@lists.infradead.org; Boris > Brezillon ; Wenyou Yang - A41535 > ; Alexandre Belloni ele

RE: [PATCH v2 03/11] ARM: at91: pm: Move global variables into at91_pm_data

2017-03-28 Thread Wenyou.Yang
> -Original Message- > From: Alexandre Belloni [mailto:alexandre.bell...@free-electrons.com] > Sent: 2017年3月28日 19:20 > To: Nicolas Ferre - M43238 > Cc: linux-kernel@vger.kernel.org; linux-arm-ker...@lists.infradead.org; Boris > Brezillon ; Wenyou Yang - A41535 > ; Alexandre Belloni ele

RE: [PATCH v2 02/11] ARM: at91: pm: Move at91_ramc_read/write to pm.c

2017-03-28 Thread Wenyou.Yang
> -Original Message- > From: Alexandre Belloni [mailto:alexandre.bell...@free-electrons.com] > Sent: 2017年3月28日 19:19 > To: Nicolas Ferre - M43238 > Cc: linux-kernel@vger.kernel.org; linux-arm-ker...@lists.infradead.org; Boris > Brezillon ; Wenyou Yang - A41535 > ; Alexandre Belloni ele

Re: [PATCH] VSOCK: remove unnecessary ternary operator on return value

2017-03-28 Thread David Miller
From: Colin King Date: Tue, 28 Mar 2017 16:54:24 +0100 > From: Colin Ian King > > Rather than assign the positive errno values to ret and then > checking if it is positive and flip the sign, just set ret to > be the -ve errno value. > > Detected by CoverityScan, CID#986649 ("Logically Dead Cod

RE: [PATCH v2 01/11] ARM: at91: pm: Cleanup headers

2017-03-28 Thread Wenyou.Yang
> -Original Message- > From: Alexandre Belloni [mailto:alexandre.bell...@free-electrons.com] > Sent: 2017年3月28日 19:19 > To: Nicolas Ferre - M43238 > Cc: linux-kernel@vger.kernel.org; linux-arm-ker...@lists.infradead.org; Boris > Brezillon ; Wenyou Yang - A41535 > ; Alexandre Belloni ele

Re: [PATCH 4.9 00/88] 4.9.19-stable review

2017-03-28 Thread Guenter Roeck
On 03/28/2017 05:30 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.9.19 release. There are 88 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be ma

Re: [RFC PATCH 1/3] of/pci: dma-ranges to account highest possible host bridge dma_mask

2017-03-28 Thread Oza Oza
On Tue, Mar 28, 2017 at 7:59 PM, Robin Murphy wrote: > On 28/03/17 06:27, Oza Oza wrote: >> On Mon, Mar 27, 2017 at 8:16 PM, Rob Herring wrote: >>> On Sat, Mar 25, 2017 at 12:31 AM, Oza Pawandeep >>> wrote: it is possible that PCI device supports 64-bit DMA addressing, and thus it's d

Re: [PATCH] rocker: fix Wmaybe-uninitialized false-positive

2017-03-28 Thread David Miller
From: Arnd Bergmann Date: Tue, 28 Mar 2017 16:11:18 +0200 > gcc-7 reports a warning that earlier versions did not have: > > drivers/net/ethernet/rocker/rocker_ofdpa.c: In function > 'ofdpa_port_stp_update': > arch/x86/include/asm/string_32.h:79:22: error: '*((void *)&prev_ctrls+4)' may > be us

Re: [v6 PATCH 00/21] x86: Enable User-Mode Instruction Prevention

2017-03-28 Thread Ricardo Neri
On Tue, 2017-03-28 at 12:38 +0300, Stas Sergeev wrote: > 28.03.2017 02:46, Ricardo Neri пишет: > > On Tue, 2017-03-14 at 00:25 +0300, Stas Sergeev wrote: > >> 11.03.2017 02:59, Ricardo Neri пишет: > >>> On Fri, 2017-03-10 at 14:33 +0300, Stas Sergeev wrote: > >>> > Why would you need one? > >>

Re: [PATCH v2 0/8] thermal: ti-soc-thermal: Migrate slope/offset data to device tree

2017-03-28 Thread Eduardo Valentin
Keerthy, On Fri, Mar 24, 2017 at 07:26:10AM -0700, Tony Lindgren wrote: > * Keerthy [170323 20:29]: > > > > > > On Friday 24 March 2017 02:22 AM, Tony Lindgren wrote: > > > * Keerthy [170321 20:45]: > > >> > > >> > > >> On Thursday 09 March 2017 01:35 PM, Keerthy wrote: > > >>> Currently the s

Re: [Xen-devel] maybe revert commit c275a57f5ec3 "xen/balloon: Set balloon's initial state to number of existing RAM pages"

2017-03-28 Thread Juergen Gross
On 28/03/17 18:32, Boris Ostrovsky wrote: > On 03/28/2017 11:30 AM, Juergen Gross wrote: >> On 28/03/17 16:27, Boris Ostrovsky wrote: >>> On 03/28/2017 04:08 AM, Jan Beulich wrote: >>> On 28.03.17 at 03:57, wrote: > I think there is indeed a disconnect between target memory (provided by >

Re: [PATCH v2 3/8] ARM: OMAP5: Thermal: Add slope and offset values

2017-03-28 Thread Eduardo Valentin
On Thu, Mar 09, 2017 at 01:35:57PM +0530, Keerthy wrote: > Currently the slope and offset values for calculating the > hot spot temperature of a particular thermal zone is part > of driver data. Pass them here instead and obtain the values > while of node parsing. The patch is fine.. but > > Si

Bestes Darlehen Angebot

2017-03-28 Thread info
Sie suchen ein sehr echtes Darlehen? Zu einem erschwinglichen zinssatz Innerhalb von 3 bis 5 Tagen verarbeitet. Wurden Sie ständig von Ihnen abgelehnt Banken und andere Finanzinstitute? Die gute Nachricht ist hier !!! Wir Bieten Darlehen von $ 5.000,00 Min. Auf $ 5.000.000,00 Max. 3% Zinsen pro Ann

Re: [PATCH V4 2/2] perf/x86: add sysfs entry to freeze counter on SMI

2017-03-28 Thread Andi Kleen
> + if (x86_pmu.attr_freeze_on_smi == val) > + return count; > + > + mutex_lock(&freeze_on_smi_mutex); I don't think the mutex is really needed, but if it was it would need to include the previous check too to be atomic. > + > + get_online_cpus(); > + > + flip_smm_bit

Re: [PATCH] ARM: dts: vf610-zii-dev-rev-b: change switch2 label

2017-03-28 Thread Shawn Guo
On Tue, Mar 28, 2017 at 03:24:26PM -0400, Vivien Didelot wrote: > Rename the switch2@0 label of the switch2 node to switch@0 to respect > the general unit@address DTS rule, and be consistent with the other > switch nodes of the DTS file. > > Signed-off-by: Vivien Didelot Applied, thanks.

Re: [PATCH v2 00/15] ARM: dts: i.MX6: Add lcdif/sound nodes on Engicam SOMs

2017-03-28 Thread Shawn Guo
On Fri, Mar 24, 2017 at 09:48:35PM +0530, Jagan Teki wrote: > Jagan Teki (15): > ARM: dts: imx6ul-geam: Add backlight support for lcdif > ARM: dts: imx6ul-isiot: Add backlight support for lcdif > ARM: dts: imx6ul-isiot: Add imx6ul-isiot-common.dtsi > ARM: dts: imx6ul-isiot: Add i2c nodes >

Re: [PATCH v22 02/11] clocksource: arm_arch_timer: separate out device-tree code and remove arch_timer_detect_rate

2017-03-28 Thread Fu Wei
Hi Daniel, Great thanks for your review, allow me to answer your question below: On 28 March 2017 at 22:58, Daniel Lezcano wrote: > On Wed, Mar 22, 2017 at 12:31:13AM +0800, fu@linaro.org wrote: >> From: Fu Wei >> >> Currently, the counter frequency detection call(arch_timer_detect_rate) >>

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

2017-03-28 Thread Stephen Rothwell
Hi all, On Wed, 29 Mar 2017 14:36:18 +1100 Stephen Rothwell wrote: > > Today's linux-next merge of the xen-tip tree got a conflict in: > > arch/x86/xen/mmu.c > > between commits: > > 69218e47994d ("x86: Remap GDT tables in the fixmap section") > 907cd4390290 ("x86/xen: Change __xen_pgd_

linux-next: manual merge of the xen-tip tree with the tip tree

2017-03-28 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the xen-tip tree got a conflict in: arch/x86/xen/mmu.c between commits: 69218e47994d ("x86: Remap GDT tables in the fixmap section") 907cd4390290 ("x86/xen: Change __xen_pgd_walk() and xen_cleanmfnmap() to support p4d") f2a6a7050109 ("x86: Convert th

linux-next: manual merge of the xen-tip tree with the tip tree

2017-03-28 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the xen-tip tree got a conflict in: arch/x86/xen/enlighten.c between commits: 6415813bae75 ("x86/cpu: Drop wp_works_ok member of struct cpuinfo_x86") 69218e47994d ("x86: Remap GDT tables in the fixmap section") b23adb7d3f7d ("x86/xen/gdt: Use X86_FEAT

[PATCH] Remove atomisp/i2c style errors.

2017-03-28 Thread Daniel Cashman
From: Dan Cashman Remove two ' , ' issues and change spaces to tabs found by poking around in drivers/staging/. Warnings left untouched. Test: Run checkpatch script in drivers/staging/media/atomisp/i2c before and after change. Errors go from 3 to 0. Signed-off-by: Dan Cashman --- drivers/sta

Re: [PATCH v2 10/15] ARM: dts: imx6dl-icore-rqs: Add sgtl5000 codec node

2017-03-28 Thread Shawn Guo
On Fri, Mar 24, 2017 at 09:48:45PM +0530, Jagan Teki wrote: > From: Jagan Teki > > - Moved sound card node on imx6qdl-icore-rqs.dtsi > - Added codec node in imx6dl-icore-rqs from imx6q-icore-rqs > > Cc: Shawn Guo > Cc: Matteo Lisi > Cc: Michael Trimarchi > Signed-off-by: Jagan Teki > --- > C

Re: [PATCH v4 2/2] extable: verify address is read-only

2017-03-28 Thread Eddie Kovsky
On 03/27/17, Kees Cook wrote: > On Mon, Mar 27, 2017 at 1:43 AM, kbuild test robot wrote: > > Hi Eddie, > > > > [auto build test ERROR on next-20170323] > > [cannot apply to linus/master linux/master jeyu/modules-next v4.9-rc8 > > v4.9-rc7 v4.9-rc6 v4.11-rc4] > > [if your patch is applied to the

Re: [PATCH v2 07/15] ARM: dts: imx6ul-isiot: Add Sound card with codec node

2017-03-28 Thread Shawn Guo
On Fri, Mar 24, 2017 at 09:48:42PM +0530, Jagan Teki wrote: > From: Jagan Teki > > Add support for Sound card and related codec(via i2c1) nodes > on Engicam Is.IoT MX6UL variant module boards. > > Cc: Shawn Guo > Cc: Matteo Lisi > Cc: Michael Trimarchi > Signed-off-by: Jagan Teki > diff -

Re: [PATCH v3 1/5] dt-bindings: Document STM32 IWDG bindings

2017-03-28 Thread Guenter Roeck
On 03/22/2017 08:04 AM, Yannick Fertre wrote: From: Yannick Fertre This adds documentation of device tree bindings for the STM32 IWDG (Independent WatchDoG). Change-Id: Idadacc806d00205fe9af2e8606af229b4b760558 Please drop. Signed-off-by: Yannick Fertre --- .../devicetree/bindings/watchd

Re: [PATCH v3 2/5] drivers: watchdog: Add STM32 IWDG driver

2017-03-28 Thread Guenter Roeck
On 03/22/2017 08:04 AM, Yannick Fertre wrote: This patch adds IWDG (Independent WatchDoG) support for STM32 platform. Change-Id: Iab218745fc25566f12558fae7f52e2f8c21db74e No gerrit tags, please. Signed-off-by: Yannick FERTRE --- drivers/watchdog/Kconfig | 11 ++ drivers/watchdog/Make

linux-next: manual merge of the kvms390 tree with the kvm-mips tree

2017-03-28 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the kvms390 tree got a conflict in: include/uapi/linux/kvm.h between commits: a8a3c426772e ("KVM: MIPS: Add VZ & TE capabilities") 578fd61d2d21 ("KVM: MIPS: Add 64BIT capability") from the kvm-mips tree and commit: 4e0b1ab72b8a ("KVM: s390: gs suppo

  1   2   3   4   5   6   7   8   9   10   >