Re: [RFC PATCH] x86/debug: Dump more detailed segfault info

2016-11-12 Thread Ingo Molnar
* Borislav Petkov wrote: > On Sat, Nov 12, 2016 at 12:06:49PM +0100, Ingo Molnar wrote: > > Note that on recent kernels, with printk log timestamping enabled, this > > looks > > like: > > > > [ 206.721243] CR2: CR3: 00042ab75000 CR4: > > 001406e0 > > [ 206.7292

Re: [PATCH] genetlink: fix unsigned int comparison with less than zero

2016-11-12 Thread Johannes Berg
> > I suppose it could be, since family IDs are allocated in a 16-bit > > range > > anyway. But family IDs can also never actually be negative, so > > having > > an unsigned int in the struct makes sense too. > > All idr_* API's accept int, rather than unsigned int. This is my > point. Sure, but

[PATCH v5 0/3] Add clockevet for timer-nps driver to NPS400 SoC

2016-11-12 Thread Noam Camus
From: Noam Camus Change log --- V4 --> V5 Apply several comments made by Daneil Lezcano: 1) Add __init attribute to nps_get_timer_clk() 2) Fix return value of nps_get_timer_clk() when failing to get clk rate 3) Change clocksource rate from 301 -> 300 V3 --> V4 Main changes are [Thanks for the r

Re: [PATCH 2/6] pinctrl: rockchip: add support for rk1108

2016-11-12 Thread Andy Yan
Hi Heiko, Jacob: On 2016年11月13日 05:44, Heiko Stübner wrote: Hi Jacob, Am Sonntag, 13. November 2016, 01:41:21 schrieb 陈豪: 2016-11-03 20:34 GMT+08:00 Andy Yan : Add basic support for rk1108 soc Signed-off-by: Andy Yan --- drivers/pinctrl/pinctrl-rockchip.c | 27 ++

Re: [PATCH 5/9] efi/arm*: libstub: Invoke EFI_RNG_PROTOCOL to seed the UEFI RNG table

2016-11-12 Thread Ingo Molnar
* Matt Fleming wrote: > From: Ard Biesheuvel > > Invoke the EFI_RNG_PROTOCOL protocol in the context of the stub and > install the Linux-specific RNG seed UEFI config table. This will be > picked up by the EFI routines in the core kernel to seed the kernel > entropy pool. > > Cc: Matt Fleming

Re: [net-next 1/2] net: ethernet: slicoss: add slicoss gigabit ethernet driver

2016-11-12 Thread kbuild test robot
Hi Lino, [auto build test WARNING on net-next/master] url: https://github.com/0day-ci/linux/commits/Lino-Sanfilippo/net-ethernet-slicoss-add-slicoss-gigabit-ethernet-driver/20161113-125131 config: alpha-allyesconfig (attached as .config) compiler: alpha-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20

Re: [PATCH] Input: psmouse - disable automatic probing of BYD touchpads

2016-11-12 Thread Dmitry Torokhov
On Sat, Nov 12, 2016 at 11:39 AM, Pali Rohár wrote: > On Saturday 12 November 2016 20:15:45 Dmitry Torokhov wrote: >> BYD automatic protocol detection is extremely unreliable and is often >> triggers false positives on regular mice, Sentelic touchpads, and >> other devices. BYD has several documen

core.c:undefined reference to `fpu_save'

2016-11-12 Thread kbuild test robot
Hi Andrew, It's probably a bug fix that unveils the link errors. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 86e4ee760ef2f7571e233a3abf065ffd0bb4089d commit: c60f169202c7643991a8b4bfeea60e06843d5b5a arch/mn10300/kernel/fpu-nofpu.c: needs asm/elf.h d

[PATCH v2 2/3] Input: ti_am335x_tsc: Add support for ti,charge-delay-ns

2016-11-12 Thread Mugunthan V N
ti,charge-delay will be deprecated as it represents number of clock cycles and the DT entries are done in assumption of 3MHz TSCADC clock, but clock can be set upto 24MHz. So driver add support for ti,charge-delay-ns and do not drop support for ti,charge-delay to support old dtbs and it will be ass

Re: [PATCH] genetlink: fix unsigned int comparison with less than zero

2016-11-12 Thread Cong Wang
On Sat, Nov 12, 2016 at 1:37 PM, Johannes Berg wrote: > On Thu, 2016-11-10 at 09:11 -0800, Cong Wang wrote: >> On Thu, Nov 10, 2016 at 7:57 AM, Colin King > > wrote: >> > >> > From: Colin Ian King >> > >> > family->id is unsigned, so the less than zero check for >> > failure return from idr_alloc

Re: [PATCH v6 7/9] iommu/amd: Update domain into to dte entry during device driver init

2016-11-12 Thread Baoquan He
Hi Joerg, Thanks for your reviewing and great comments! On 11/10/16 at 12:48pm, Joerg Roedel wrote: > On Thu, Oct 20, 2016 at 07:37:18PM +0800, Baoquan He wrote: > > prot = dir2prot(direction); > > + if (translation_pre_enabled(iommu) && !dev_data->domain_updated) { > > + dev_data

Re: [PATCH v6 0/9] Fix kdump faults on system with amd iommu

2016-11-12 Thread Baoquan He
On 11/10/16 at 12:52pm, Joerg Roedel wrote: > Hi Baoquan, > > thanks for working on this, really appreciated! > > On Thu, Oct 20, 2016 at 07:37:11PM +0800, Baoquan He wrote: > > This is v6 post. > > > > The principle of the fix is similar to intel iommu. Just defer the > > assignment > > of de

[PATCH v2 2/2] bnx2: Wait for in-flight DMA to complete at probe stage

2016-11-12 Thread Baoquan He
In-flight DMA from 1st kernel could continue going in kdump kernel. New io-page table has been created before bnx2 does reset at open stage. We have to wait for the in-flight DMA to complete to avoid it look up into the newly created io-page table at probe stage. Suggested-by: Michael Chan Signed

[PATCH v2 0/2] bnx2: Wait for in-flight DMA to complete at probe stage

2016-11-12 Thread Baoquan He
This is v2 post. In commit 3e1be7a ("bnx2: Reset device during driver initialization"), firmware requesting code was moved from open stage to probe stage. The reason is in kdump kernel hardware iommu need device be reset in driver probe stage, otherwise those in-flight DMA from 1st kernel will con

[PATCH v2 1/2] Revert "bnx2: Reset device during driver initialization"

2016-11-12 Thread Baoquan He
This reverts commit 3e1be7ad2d38c6bd6aeef96df9bd0a7822f4e51c. When people build bnx2 driver into kernel, it will fail to detect and load firmware because firmware is contained in initramfs and initramfs has not been uncompressed yet during do_initcalls. So revert commit 3e1be7a and work out a new

Re: [PATCH v2 2/2] bnx2: Wait for in-flight DMA to complete at probe stage

2016-11-12 Thread Baoquan He
On 11/12/16 at 11:40pm, David Miller wrote: > From: Baoquan He > Date: Sun, 13 Nov 2016 12:15:24 +0800 > > > In-flight DMA from 1st kernel could continue going in kdump kernel. > > New io-page table has been created before bnx2 does reset at open stage. > > We have to wait for the in-flight DMA t

[net-next 2/2] MAINTAINERS: add entry for slicoss ethernet driver

2016-11-12 Thread Lino Sanfilippo
Add myself as maintainer for the slicoss ethernet driver. Signed-off-by: Lino Sanfilippo --- MAINTAINERS | 5 + 1 file changed, 5 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 6781a3f..bb9af28 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -562,6 +562,11 @@ T: git git://linuxtv.

Gigabit ethernet driver for Alacritechs SLIC devices

2016-11-12 Thread Lino Sanfilippo
Hi, this is a rework of the slicoss gigabit ethernet driver from Alacritech that is currently part of the staging area. The driver is supposed to support Mojave, Oasis and Kalahari cards, for both copper and fiber. If this code is accepted the staging version can be removed (as Greg told me by

[net-next 1/2] net: ethernet: slicoss: add slicoss gigabit ethernet driver

2016-11-12 Thread Lino Sanfilippo
Add driver for Alacritech gigabit ethernet cards with SLIC (session-layer interface control) technology. The driver provides basic support without SLIC for the following devices: - Mojave cards (single port PCI Gigabit) both copper and fiber - Oasis cards (single and dual port PCI-x Gigabit) coppe

Re: linux-next: manual merge of the net-next tree with the netfilter tree

2016-11-12 Thread David Miller
From: Pablo Neira Ayuso Date: Thu, 10 Nov 2016 01:31:17 +0100 > I think I cannot help to address this conflict myself. > > 8fbfef7f505b is in my nf tree, while 489111e5c25b is in net-next. So > you will hit this conflict by when you pull net into net-next. > > So please keep this patch from Ste

Re: [PATCH v2 2/2] bnx2: Wait for in-flight DMA to complete at probe stage

2016-11-12 Thread David Miller
From: Baoquan He Date: Sun, 13 Nov 2016 12:15:24 +0800 > In-flight DMA from 1st kernel could continue going in kdump kernel. > New io-page table has been created before bnx2 does reset at open stage. > We have to wait for the in-flight DMA to complete to avoid it look up > into the newly created

Re: [PATCH 4/10] clk: sunxi-ng: Add clocks and resets indices for sun5i

2016-11-12 Thread Chen-Yu Tsai
On Wed, Nov 9, 2016 at 1:23 AM, Maxime Ripard wrote: > The SoCs part of the sun5i family share the DTs, so we need consistant > indices in order to still share the DTs. > > Signed-off-by: Maxime Ripard > --- > include/dt-bindings/clock/sun5i-ccu.h | 126 +++- > include/dt

drivers/gpu/drm/i915/i915_gem_gtt.c:2367: error: 'gtt_entry' may be used uninitialized in this function

2016-11-12 Thread kbuild test robot
Hi Dave, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 86e4ee760ef2f7571e233a3abf065ffd0bb4089d commit: 85d1225ec066b2ef46fbd0ed1bae78ae1f3e6c91 drm/i915: Introduce & use new lightweight SGL iterators date: 6 mo

Re: [PATCH 5/10] clk: sunxi-ng: Implement multiplier maximum

2016-11-12 Thread Chen-Yu Tsai
On Wed, Nov 9, 2016 at 1:23 AM, Maxime Ripard wrote: > Signed-off-by: Maxime Ripard > --- > drivers/clk/sunxi-ng/ccu_mult.h | 10 ++ > 1 file changed, 6 insertions(+), 4 deletions(-) > > diff --git a/drivers/clk/sunxi-ng/ccu_mult.h b/drivers/clk/sunxi-ng/ccu_mult.h > index 84839641dfdf..

Re: [PATCH 3/10] clk: sunxi-ng: Implement multiplier offsets

2016-11-12 Thread Chen-Yu Tsai
On Wed, Nov 9, 2016 at 1:23 AM, Maxime Ripard wrote: > The multipliers we've seen so far all had an offset of one. However, on the Explaining that the offset refers to the difference between the register value and the actual multiplier/divider applied to the clock rate would be nice. > earlier A

[PATCH v2 2/2] bnx2: Wait for in-flight DMA to complete at probe stage

2016-11-12 Thread Baoquan He
In-flight DMA from 1st kernel could continue going in kdump kernel. New io-page table has been created before bnx2 does reset at open stage. We have to wait for the in-flight DMA to complete to avoid it look up into the newly created io-page table at probe stage. Suggested-by: Michael Chan Signed

drivers/regulator/lp872x.c:773: undefined reference to `devm_gpio_request_one'

2016-11-12 Thread kbuild test robot
Hi Linus, It's probably a bug fix that unveils the link errors. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 86e4ee760ef2f7571e233a3abf065ffd0bb4089d commit: 2527ecc9195e9c66252af24c4689e8a67cd4ccb9 gpio: Fix OF build problem on UM date: 3 months a

Re: [PATCH 0/2] bnx2: Hard reset bnx2 chip at probe stage

2016-11-12 Thread Baoquan He
Hi Michael, On 11/11/16 at 09:37am, Michael Chan wrote: > On Fri, Nov 11, 2016 at 6:02 AM, Baoquan He wrote: > > On 11/11/16 at 09:46pm, Baoquan He wrote: > >> Hi bnx2 experts, > >> > >> In commit 3e1be7a ("bnx2: Reset device during driver initialization"), > >> firmware requesting code was move

Re: [PATCH 2/10] clk: sunxi-ng: nkm: Deal with fixed post dividers

2016-11-12 Thread Chen-Yu Tsai
On Sun, Nov 13, 2016 at 11:48 AM, Chen-Yu Tsai wrote: > On Wed, Nov 9, 2016 at 1:23 AM, Maxime Ripard > wrote: > > It'd be better if you mentioned what clock needs this. > >> Signed-off-by: Maxime Ripard >> --- >> drivers/clk/sunxi-ng/ccu_nkm.c | 17 ++--- >> drivers/clk/sunxi-ng/cc

Re: [PATCH 2/10] clk: sunxi-ng: nkm: Deal with fixed post dividers

2016-11-12 Thread Chen-Yu Tsai
On Wed, Nov 9, 2016 at 1:23 AM, Maxime Ripard wrote: It'd be better if you mentioned what clock needs this. > Signed-off-by: Maxime Ripard > --- > drivers/clk/sunxi-ng/ccu_nkm.c | 17 ++--- > drivers/clk/sunxi-ng/ccu_nkm.h | 2 ++ > 2 files changed, 16 insertions(+), 3 deletions(-

Re: module: extend 'rodata=off' boot cmdline parameter to module mappings

2016-11-12 Thread Jessica Yu
+++ AKASHI Takahiro [21/10/16 10:13 +0900]: The current "rodata=off" parameter disables read-only kernel mappings under CONFIG_DEBUG_RODATA: commit d2aa1acad22f ("mm/init: Add 'rodata=off' boot cmdline parameter to disable read-only kernel mappings") This patch is a logical extension to mo

cc1: error: '-march=r3900' requires '-mfp32'

2016-11-12 Thread kbuild test robot
Hi James, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 86e4ee760ef2f7571e233a3abf065ffd0bb4089d commit: 034827c727f7f3946a18355b63995b402c226c82 MIPS: Fix -mabi=64 build of vdso.lds date: 5 weeks ago config: mi

Re: [PATCH] net: ethernet: ti: davinci_cpdma: free memory while channel destroy

2016-11-12 Thread David Miller
From: Ivan Khoronzhuk Date: Tue, 8 Nov 2016 15:16:05 +0200 > While create/destroy channel operation memory is not freed. It was > supposed that memory is freed while driver remove. But a channel > can be created and destroyed many times while changing number of > channels with ethtool. > > Base

Re: [PATCH] r8169: Module parameter for opt-in of ASPM

2016-11-12 Thread David Miller
From: Kast Bernd Date: Fri, 4 Nov 2016 00:33:06 +0100 > This patch adds a module parameter in order to activate ASPM. By that > the CPU can enter deep sleep modes (PC6) and power consumption can be > reduced (for example from 13W to 8W on my notebook with a Haswell CPU). > Basically, it reapplies

arch/mips/vdso/gettimeofday.c:1:0: error: '-march=r3900' requires '-mfp32'

2016-11-12 Thread kbuild test robot
Hi Guenter, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 86e4ee760ef2f7571e233a3abf065ffd0bb4089d commit: 398c7500a1f5f74e207bd2edca1b1721b3cc1f1e MIPS: VDSO: Fix build error with binutils 2.24 and earlier date

[PATCH] [STYLE]staging:dgcn:digi.h Spelling correction

2016-11-12 Thread Walt Feasel
Make spelling correction for "regular" Signed-off-by: Walt Feasel --- drivers/staging/dgnc/digi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/dgnc/digi.h b/drivers/staging/dgnc/digi.h index 4e36573..bfd80ca 100644 --- a/drivers/staging/dgnc/digi.h +++ b/dr

[PATCH] [STYLE 4/4]staging:dgnc:dgnc_tty.c waitqueue_active comment

2016-11-12 Thread Walt Feasel
Made suggested modifications from checkpatch in reference to WARNING: waitqueue_active without comment Signed-off-by: Walt Feasel --- drivers/staging/dgnc/dgnc_tty.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/dgnc/dgnc_tty.c b/drivers/staging/dgnc/dgnc_tty.c index 72f47

arch/mips/vdso/elf.S:1:0: error: '-march=r3900' requires '-mfp32'

2016-11-12 Thread kbuild test robot
Hi Alex, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 86e4ee760ef2f7571e233a3abf065ffd0bb4089d commit: ebb5e78cc63417a35254a791de66e1cc84f963cc MIPS: Initial implementation of a VDSO date: 1 year ago config: mi

[PATCH] [STYLE 3/4]staging:dgnc:dgnc_tty.c Modify block comments

2016-11-12 Thread Walt Feasel
Make block comment format changes to comply with style guides Signed-off-by: Walt Feasel --- drivers/staging/dgnc/dgnc_tty.c | 166 1 file changed, 66 insertions(+), 100 deletions(-) diff --git a/drivers/staging/dgnc/dgnc_tty.c b/drivers/staging/dgnc/dgn

include/linux/kprobes.h:361:2: error: invalid use of undefined type 'struct kprobe_ctlblk'

2016-11-12 Thread kbuild test robot
Hi Russell, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 86e4ee760ef2f7571e233a3abf065ffd0bb4089d commit: b2c0b2cbb282f0cf42518ffacbe197e6f2884168 nmi: create generic NMI backtrace implementation date: 1 year,

[PATCH v2] [STYLE 2/4]staging:dgnc:dgnc_tty.c Spelling corrections

2016-11-12 Thread Walt Feasel
Make spelling corrections for satisfy and transitions Signed-off-by: Walt Feasel --- v2 resubmitted without behaviour drivers/staging/dgnc/dgnc_tty.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/dgnc/dgnc_tty.c b/drivers/staging/dgnc/dgnc_tty.c i

Re: Source address fib invalidation on IPv6

2016-11-12 Thread Jason A. Donenfeld
Hi Hannes, On Sun, Nov 13, 2016 at 1:51 AM, Hannes Frederic Sowa wrote: > You probably need some combination of ipv6_chk_addr and/or > ipv6_check_addr_and_flags (where dev can also be NULL). Be careful if a > IFA_HOST or IFA_LINK address switches from one interface to another. I can confirm this

Re: Source address fib invalidation on IPv6

2016-11-12 Thread Hannes Frederic Sowa
On Sun, Nov 13, 2016, at 01:43, Jason A. Donenfeld wrote: > On Sat, Nov 12, 2016 at 8:08 PM, Jason A. Donenfeld > wrote: > >> Gotcha. I don't see any checks that the saddr is valid similar to what > >> IPv4 does. > >> > >> I think the right place to add a check is in ip6_dst_lookup_tail(): > >>

Re: Source address fib invalidation on IPv6

2016-11-12 Thread Jason A. Donenfeld
On Sun, Nov 13, 2016 at 1:43 AM, Jason A. Donenfeld wrote: > In perusing through the v6 FIB code, I don't even see an analog of > __ip_dev_find... Hm? Of all places, the iscsi code actually has a nice side-by-side comparison. So far as I can see, the other protocols just omit this check in the v6

Re: Source address fib invalidation on IPv6

2016-11-12 Thread Jason A. Donenfeld
On Sat, Nov 12, 2016 at 8:08 PM, Jason A. Donenfeld wrote: >> Gotcha. I don't see any checks that the saddr is valid similar to what IPv4 >> does. >> >> I think the right place to add a check is in ip6_dst_lookup_tail(): >> if (!ipv6_addr_any(&fl6->saddr)) { >> // saddr is valid for L

arch/ia64/kernel/entry.S:621: Error: Operand 2 of `adds' should be a 14-bit integer (-8192-8191)

2016-11-12 Thread kbuild test robot
Hi Will, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 86e4ee760ef2f7571e233a3abf065ffd0bb4089d commit: da48d094ce5d7c7dcdad9011648a81c42fd1c2ef Kconfig: remove HAVE_LATENCYTOP_SUPPORT date: 10 months ago config

arch/xtensa/include/asm/initialize_mmu.h:41: Error: invalid register 'atomctl' for 'wsr' instruction

2016-11-12 Thread kbuild test robot
Hi Pete, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 86e4ee760ef2f7571e233a3abf065ffd0bb4089d commit: d0b73b488c55df905ea8faaad079f8535629ed26 xtensa: Add config files for Diamond 233L - Rev C processor variant

{standard input}:508: Error: unknown opcode

2016-11-12 Thread kbuild test robot
Hi Rich, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 86e4ee760ef2f7571e233a3abf065ffd0bb4089d commit: b4214e41b7152b1964a3421a40251d202ae2d2c0 sh: add SMP support for J2 date: 3 months ago config: sh-j2_defconf

Re: [PATCH] [STYLE 2/4]staging:dgnc:dgnc_tty.c Spelling corrections

2016-11-12 Thread Randy Dunlap
On 11/12/16 15:53, Walt Feasel wrote: > Made various spelling corrections in the comments Make > > Signed-off-by: Walt Feasel > --- > drivers/staging/dgnc/dgnc_tty.c | 12 ++-- > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/drivers/staging/dgnc/dgnc_tty.c b/drive

Re: [PATCH v2 2/5] ARM: bus: da8xx-mstpri: new driver

2016-11-12 Thread Sekhar Nori
On Wednesday 09 November 2016 11:54 PM, Rob Herring wrote: > On Mon, Oct 31, 2016 at 03:45:35PM +0100, Bartosz Golaszewski wrote: >> Create the driver for the da8xx master peripheral priority >> configuration and implement support for writing to the three >> Master Priority registers on da850 SoCs.

[PATCH] [STYLE 2/4]staging:dgnc:dgnc_tty.c Spelling corrections

2016-11-12 Thread Walt Feasel
Made various spelling corrections in the comments Signed-off-by: Walt Feasel --- drivers/staging/dgnc/dgnc_tty.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/dgnc/dgnc_tty.c b/drivers/staging/dgnc/dgnc_tty.c index 52be33f..4240609 100644 --- a/

Re: [PATCH 10/10] ARM: gr8: Convert to CCU

2016-11-12 Thread kbuild test robot
Hi Maxime, [auto build test ERROR on ] url: https://github.com/0day-ci/linux/commits/Maxime-Ripard/ARM-sun5i-Convert-sun5i-SoCs-to-sunxi-ng/20161109-014935 base: config: arm-pxa168_defconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce:

[PATCH v2 3/3] drivers: mfd: ti_am335x_tscadc: increase ADC ref clock to 24MHz

2016-11-12 Thread Mugunthan V N
Increase ADC reference clock from 3MHz to 24MHz so that the sampling rates goes up from 100K samples per second to 800K samples per second on AM335x and AM437x SoC. Signed-off-by: Mugunthan V N --- include/linux/mfd/ti_am335x_tscadc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -

Re: [[PATCH repost v21] 01/11] of/overlay: add of overlay notifications

2016-11-12 Thread atull
On Thu, 10 Nov 2016, Greg Kroah-Hartman wrote: > On Tue, Nov 01, 2016 at 02:14:22PM -0500, Alan Tull wrote: > > This patch add of overlay notifications. > > Your crazy way of doing [ ] in the subject messed up git, please don't > do that... > > Just do: > [PATCH repost v21 01/11] > >

[PATCH] net/phy/vitesse: Configure RGMII skew on VSC8601, if needed

2016-11-12 Thread Alexandru Gagniuc
With RGMII, we need a 1.5 to 2ns skew between clock and data lines. The VSC8601 can handle this internally. While the VSC8601 can set more fine-grained delays, the standard skew settings work out of the box. The same heuristic is used to determine when this skew should be enabled as in vsc824x_conf

[GIT PULL] More block fixes for 4.9-rc

2016-11-12 Thread Jens Axboe
Hi Linus, Since I mistakenly left out the lightnvm regression fix yesterday and the aoeblk seems adequately tested at this point, might as well send out another pull to make -rc5. Please pull! git://git.kernel.dk/linux-block.git for-linus ---

Re: [PATCH v3] poly1305: generic C can be faster on chips with slow unaligned access

2016-11-12 Thread Jason A. Donenfeld
Hello friendly test robot, On Sun, Nov 13, 2016 at 12:27 AM, kbuild test robot wrote: > Hi Jason, > > [auto build test ERROR on cryptodev/master] That error was fixed by v4 in this series. The version that should be tested and ultimately applied is v4 and can be found here: https://www.mail-arc

[PATCH] [STYLE 1/4]staging:dgnc:dgnc_tty.c Space preferred around

2016-11-12 Thread Walt Feasel
Made suggested modifications from checkpatch in reference to: CHECK: spaces preferred around that '|' Signed-off-by: Walt Feasel --- drivers/staging/dgnc/dgnc_tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/dgnc/dgnc_tty.c b/drivers/staging/dgnc/dgnc_tty

Re: [PATCH v3] poly1305: generic C can be faster on chips with slow unaligned access

2016-11-12 Thread kbuild test robot
Hi Jason, [auto build test ERROR on cryptodev/master] [also build test ERROR on v4.9-rc4 next-2016] [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/Jason-A-Donenfeld/poly1305-generic-C-can-be

Re: [PATCH] [STYLE]staging:skein:threefish_block.c remove blank lines

2016-11-12 Thread Jason Cooper
Hi Walt, Thanks for the patch, unfortunately, it's a NAK. If you search the ml archives, you'll see this has been addressed before. On Sat, Nov 12, 2016 at 03:02:53PM -0500, Walt Feasel wrote: > Made suggested modifications from checkpatch in reference > to CHECK: Please don't use multiple blank

fs/xfs/xfs_ondisk.h:96:2: error: call to '__compiletime_assert_96' declared with attribute error: XFS: sizeof(xfs_dir2_sf_entry_t) is wrong, expected 3

2016-11-12 Thread kbuild test robot
Hi Dave, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 86e4ee760ef2f7571e233a3abf065ffd0bb4089d commit: ab9d1e4f7b0217948a3b35a64178602ab30ff45d Merge branch 'xfs-misc-fixes-4.6-3' into for-next date: 8 months a

[PATCH] [STYLE 2/2]staging:dgnc:dgnc_sysfs.c Delete blank line

2016-11-12 Thread Walt Feasel
Removed unnecessary blankline at end of file Signed-off-by: Walt Feasel --- drivers/staging/dgnc/dgnc_sysfs.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/dgnc/dgnc_sysfs.c b/drivers/staging/dgnc/dgnc_sysfs.c index 6e8c53b..d41517c 100644 --- a/drivers/staging/dgnc/dgnc_sy

[PATCH] [STYLE 1/2]staging:dgnc:dgnc_sysfs.c Modify block text

2016-11-12 Thread Walt Feasel
Modified multiline comment for style consistency Signed-off-by: Walt Feasel --- drivers/staging/dgnc/dgnc_sysfs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/dgnc/dgnc_sysfs.c b/drivers/staging/dgnc/dgnc_sysfs.c index 290bf6e..6e8c53b 100644 --- a/drive

[PATCH V2 linux-next] ALSA: pci: don't opencode IS_REACHABLE()

2016-11-12 Thread Fabian Frederick
Signed-off-by: Fabian Frederick --- V2: Convert everything in PCI branch in one patch (suggested by Takashi Iwai) sound/pci/als4000.c | 2 +- sound/pci/au88x0/au88x0_game.c | 2 +- sound/pci/azt3328.c | 2 +- sound/pci/cmipci.c | 2 +- sound/pci/cs4281.c

kvm: paging fault in kvm_gfn_to_hva_cache_init

2016-11-12 Thread Dmitry Vyukov
Hello, I've got the following crash while running syzkaller fuzzer: BUG: unable to handle kernel paging request at c90005204408 IP: [< inline >] __read_once_size include/linux/compiler.h:243 IP: [< inline >] atomic_read arch/x86/include/asm/atomic.h:26 IP: [< inline >]

[PATCH] net: atheros: atl1e: use new api ethtool_{get|set}_link_ksettings

2016-11-12 Thread Philippe Reynes
The ethtool api {get|set}_settings is deprecated. We move this driver to new api {get|set}_link_ksettings. The previous implementation of set_settings was modifying the value of advertising, but with the new API, it's not possible. The structure ethtool_link_ksettings is defined as const. Signed-

Kernel 4.8.7 crashing

2016-11-12 Thread Ashton Holmes
I upgraded to 4.8.7 and the system boots and my root partition gets decrypted but right after that both of my monitors turn off and looking at syslog from 4.8.6 shows the following: Nov 12 11:54:24 user-desktop kernel: [ 19.853197] [ cut here ] Nov 12 11:54:24 user-deskto

[PATCH] [STYLE 1/2]staging:dgnc:dgnc_neo.c block comment modifications

2016-11-12 Thread Walt Feasel
Modified block comments for style consistency Signed-off-by: Walt Feasel --- drivers/staging/dgnc/dgnc_neo.c | 24 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/drivers/staging/dgnc/dgnc_neo.c b/drivers/staging/dgnc/dgnc_neo.c index 5becb37..03fc58e 1006

kvm: GPF in gfn_to_rmap

2016-11-12 Thread Dmitry Vyukov
Hello, The following program triggers GPF in gfn_to_rmap: https://gist.githubusercontent.com/dvyukov/6669049830e8786d2cfa0ffec5928186/raw/b7d1ec4dc555146ac0175b5b0aae98c1904299eb/gistfile1.txt On commit 015ed9433be2b476ec7e2e6a9a411a56e3b5b035 (Nov 11). general protection fault: [#1] SMP KA

Re: [PATCH] x86/cpuid: Deal with broken firmware once more

2016-11-12 Thread M. Vefa Bicakci
On 11/10/2016 01:50 PM, Charles (Chas) Williams wrote: > > > On 11/09/2016 10:57 PM, M. Vefa Bicakci wrote: >> [0.002000] mvb: CPU: Physical Processor ID: 0 >> [0.002000] mvb: CPU: Processor Core ID: 0 >> [0.002000] mvb: identify_cpu:1112: c: 880013b0a040, >> c->logical_proc_id: 6

Re: [PATCH] x86/cpuid: Deal with broken firmware once more

2016-11-12 Thread M. Vefa Bicakci
On 11/10/2016 06:31 PM, Boris Ostrovsky wrote: > On 11/10/2016 10:05 AM, Charles (Chas) Williams wrote: >> >> >> On 11/10/2016 09:02 AM, Boris Ostrovsky wrote: >>> On 11/10/2016 06:13 AM, Thomas Gleixner wrote: On Thu, 10 Nov 2016, M. Vefa Bicakci wrote: > I have found that your patch

[PATCH] [STYLE 2/2]staging:dgnc:dgnc_neo.c block comment modifications

2016-11-12 Thread Walt Feasel
Modified block comments for style consistency Signed-off-by: Walt Feasel --- drivers/staging/dgnc/dgnc_neo.c | 48 - 1 file changed, 23 insertions(+), 25 deletions(-) diff --git a/drivers/staging/dgnc/dgnc_neo.c b/drivers/staging/dgnc/dgnc_neo.c index 03f

Re: [PATCH 2/3] mtd: use min_t() to refactor mtd_ooblayout_{get, set}_bytes()

2016-11-12 Thread Marek Vasut
On 11/09/2016 03:08 AM, Masahiro Yamada wrote: > I hope this will make the code a little more readable. > > Signed-off-by: Masahiro Yamada Reviewed-by: Marek Vasut > --- > > drivers/mtd/mtdcore.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/mtd/mtdcor

Re: [PATCH 03/11] mtd: nand: denali: remove bogus comment about interrupt handler setup

2016-11-12 Thread Marek Vasut
On 11/09/2016 05:35 AM, Masahiro Yamada wrote: > The interrupt handler is setup in denali_init(), not in > denali_drv_init(). This comment is false. > > Such a comment adds no value, so just delete it instead of move. > > Signed-off-by: Masahiro Yamada Reviewed-by: Marek Vasut > --- > > dr

Re: [PATCH 02/11] mtd: nand: denali: remove unused struct member denali_nand_info::idx

2016-11-12 Thread Marek Vasut
On 11/09/2016 05:35 AM, Masahiro Yamada wrote: > The struct member "idx" was used as an index for debug_array long > ago, but the DEBUG_DENALI feature was removed by commit 7cfffac06ca0 > ("nand/denali: use dev_xx debug function to replace nand_dbg_print > and some printk"). Since then, this has b

Re: [PATCH 06/11] mtd: nand: denali: remove unused struct member totalblks, blksperchip

2016-11-12 Thread Marek Vasut
On 11/09/2016 05:35 AM, Masahiro Yamada wrote: > The denali->blksperchip is set, but not referenced any more. The > denali->totalblks is used only for calculating denali->blksperchip. > Both of them are unneeded. > > Signed-off-by: Masahiro Yamada Reviewed-by: Marek Vasut > --- > > drivers/

Re: [PATCH 04/11] mtd: nand: denali: remove detect_partition_feature()

2016-11-12 Thread Marek Vasut
On 11/09/2016 05:35 AM, Masahiro Yamada wrote: > The denali->fwblks is set by detect_partition_feature(), but it is > not referenced from anywhere. That means the struct member fwblks > and the whole of detect_partition_feature() are unneeded. > > The comment block implies this function is only f

Re: [PATCH 1/3] mtd: remove unneeded initializer in mtd_ooblayout_{get, set}_bytes()

2016-11-12 Thread Marek Vasut
On 11/09/2016 03:08 AM, Masahiro Yamada wrote: > There is no need to initialize oobregion and section since they will > be filled by mtd_ooblayout_find_region(). > > Signed-off-by: Masahiro Yamada Reviewed-by: Marek Vasut > --- > > drivers/mtd/mtdcore.c | 8 > 1 file changed, 4 inse

Re: [PATCH 01/11] mtd: nand: denali: remove unneeded includes

2016-11-12 Thread Marek Vasut
On 11/09/2016 05:35 AM, Masahiro Yamada wrote: > The driver calls devm_kzalloc()/devm_kfree() to allocate/free memory. > They are declared in , not in . > > Signed-off-by: Masahiro Yamada Reviewed-by: Marek Vasut > --- > > drivers/mtd/nand/denali.c | 1 - > drivers/mtd/nand/denali_dt.c

Re: [PATCH 11/11] mtd: nand: denali: remove debug lines of __FILE__, __LINE__, __func__

2016-11-12 Thread Marek Vasut
On 11/09/2016 05:35 AM, Masahiro Yamada wrote: > Such debug lines might be useful when debugging the driver first, > but should be deleted from the upstream code. > > Signed-off-by: Masahiro Yamada Reviewed-by: Marek Vasut > --- > > drivers/mtd/nand/denali.c | 12 > 1 file chang

Re: [PATCH 10/11] mtd: nand: denali: remove unneeded parentheses

2016-11-12 Thread Marek Vasut
On 11/09/2016 05:35 AM, Masahiro Yamada wrote: > Remove parentheses surrounding the whole right side of an assignment. > > Signed-off-by: Masahiro Yamada Reviewed-by: Marek Vasut > --- > > drivers/mtd/nand/denali.c | 14 +++--- > 1 file changed, 7 insertions(+), 7 deletions(-) > > d

Re: [PATCH 07/11] mtd: nand: denali: use managed devm_irq_request()

2016-11-12 Thread Marek Vasut
On 11/09/2016 05:35 AM, Masahiro Yamada wrote: > Use the managed variant instead of request_irq() and free_irq(). > > Signed-off-by: Masahiro Yamada Reviewed-by: Marek Vasut > --- > > drivers/mtd/nand/denali.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > > diff --git a/dri

Re: [PATCH 09/11] mtd: nand: denali: return error code from nand_scan_ident/tail on error

2016-11-12 Thread Marek Vasut
On 11/09/2016 05:35 AM, Masahiro Yamada wrote: > The nand_scan_ident/tail() returns an appropriate error value when > it fails. Use it instead of the fixed -ENXIO. > > Signed-off-by: Masahiro Yamada Reviewed-by: Marek Vasut > --- > > drivers/mtd/nand/denali.c | 10 -- > 1 file chang

Re: [PATCH 08/11] mtd: nand: denali: return error code from devm_request_irq() on error

2016-11-12 Thread Marek Vasut
On 11/09/2016 05:35 AM, Masahiro Yamada wrote: > The devm_request_irq() returns an appropriate error value when it > fails. Use it instead of the fixed -ENODEV. > > While we are here, reword the comment to make it fit in a single > line, fixing the misspelling of "initialization". > > Signed-off

Re: [PATCH 00/11] mtd: nand: denali: first round of cleanups of Denali NAND driver

2016-11-12 Thread Marek Vasut
On 11/09/2016 05:35 AM, Masahiro Yamada wrote: > I am tackling on this driver to use it for my SoCs. > The difficulty is a bunch of platform specific stuff > (more specifically, Intel MRST specific) is hard-coded in this driver. > > I need lots of rework to utilize the driver for generic cases, >

Re: [PATCH 05/11] mtd: nand: denali: remove "Spectra:" prefix from printk strings

2016-11-12 Thread Marek Vasut
On 11/09/2016 05:35 AM, Masahiro Yamada wrote: > As far as I understood from the Kconfig menu deleted by commit > be7f39c5ecf5 ("Staging: delete spectra driver"), the "Spectra" is > specific to Intel Moorestown Platform. > > The Denali NAND controller IP is used for various SoCs such as > Altera S

Re: [PATCH 3/3] mtd: remove unneeded initializer in mtd_ooblayout_count_bytes()

2016-11-12 Thread Marek Vasut
On 11/09/2016 03:08 AM, Masahiro Yamada wrote: > There is no need to initialize oobregion since it will be filled by > the iterator. > > This function is called with mtd_ooblayout_free or mtd_ooblayout_ecc > for the iterator; both of them calls memset() to clear the oobregion. > > Signed-off-by:

[PATCH] [STYLE 2/2]staging:dgnc:dgnc_driver.h block comment modifications

2016-11-12 Thread Walt Feasel
Modified block comments for style consistency Signed-off-by: Walt Feasel --- drivers/staging/dgnc/dgnc_neo.c | 48 - 1 file changed, 23 insertions(+), 25 deletions(-) diff --git a/drivers/staging/dgnc/dgnc_neo.c b/drivers/staging/dgnc/dgnc_neo.c index 03f

[PATCH] [STYLE 1/2]staging:dgnc:dgnc_driver.h block comment modifications

2016-11-12 Thread Walt Feasel
Modified block comments for style consistency Signed-off-by: Walt Feasel --- drivers/staging/dgnc/dgnc_neo.c | 24 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/drivers/staging/dgnc/dgnc_neo.c b/drivers/staging/dgnc/dgnc_neo.c index 5becb37..03fc58e 1006

Re: kvm: GPF in irqfd_shutdown/eventfd_ctx_remove_wait_queue

2016-11-12 Thread Dmitry Vyukov
On Sat, Nov 12, 2016 at 1:27 PM, Dmitry Vyukov wrote: > Hello, > > I've got the following crash while running syzkaller fuzzer. > On commit 015ed9433be2b476ec7e2e6a9a411a56e3b5b035 (Nov 11). > Unfortunately it is not reproducible. > May be related to: > https://groups.google.com/forum/#!topic/syzk

Re: [PATCH 2/6] pinctrl: rockchip: add support for rk1108

2016-11-12 Thread Heiko Stübner
Hi Jacob, Am Sonntag, 13. November 2016, 01:41:21 schrieb 陈豪: > 2016-11-03 20:34 GMT+08:00 Andy Yan : > > Add basic support for rk1108 soc > > > > Signed-off-by: Andy Yan > > --- > > > > drivers/pinctrl/pinctrl-rockchip.c | 27 ++- > > 1 file changed, 26 insertions(+),

FW:

2016-11-12 Thread GOOGLE FREE-LOTTO
GOOGLE EUROPA INTERLOTTO / EUROMILLINEN FREE-LOTTO BONUS-PROGRAMM BÜRO: PLAZA EMILIO JIM NEZ MILLAS 3352, MADRID, SPANIEN. Aufmerksamkeit: Dies soll Ihnen mitteilen, dass Sie 1,450,000.00Euro von Google Inc-Free-Lotto, 2016 saction gewonnen haben und keine öffentliche Verlosung durchgeführt w

Re: [PATCH] genetlink: fix unsigned int comparison with less than zero

2016-11-12 Thread Johannes Berg
On Thu, 2016-11-10 at 09:11 -0800, Cong Wang wrote: > On Thu, Nov 10, 2016 at 7:57 AM, Colin King > wrote: > > > > From: Colin Ian King > > > > family->id is unsigned, so the less than zero check for > > failure return from idr_alloc is never true and so the error exit > > is never handled.  In

Re: [PATCH 04/12] target: avoid to access .bi_vcnt directly

2016-11-12 Thread Sagi Grimberg
Reviewed-by: Sagi Grimberg

[PATCH 1/9] efi/libstub: Fix allocation size calculations

2016-11-12 Thread Matt Fleming
From: Roy Franz Adjust the size used in calculations to match the actual size of allocation that will be performed based on EFI size/alignment constraints. efi_high_alloc() and efi_low_alloc() use the passed size in bytes directly to find space in the memory map for the allocation, rather than th

[PATCH 6/9] efi: Add device path parser

2016-11-12 Thread Matt Fleming
From: Lukas Wunner We're about to extended the efistub to retrieve device properties from EFI on Apple Macs. The properties use EFI Device Paths to indicate the device they belong to. This commit adds a parser which, given an EFI Device Path, locates the corresponding struct device and returns a

[PATCH 5/9] efi/arm*: libstub: Invoke EFI_RNG_PROTOCOL to seed the UEFI RNG table

2016-11-12 Thread Matt Fleming
From: Ard Biesheuvel Invoke the EFI_RNG_PROTOCOL protocol in the context of the stub and install the Linux-specific RNG seed UEFI config table. This will be picked up by the EFI routines in the core kernel to seed the kernel entropy pool. Cc: Matt Fleming Reviewed-by: Kees Cook Signed-off-by:

[PATCH 2/9] MAINTAINERS: Add ARM and arm64 EFI specific files to EFI subsystem

2016-11-12 Thread Matt Fleming
From: Ard Biesheuvel Since I will be co-maintaining the EFI subsystem, it makes sense to mention the ARM and arm64 EFI bits in the EFI section in MAINTAINERS so that Matt, the list and I get cc'ed on proposed changes. Acked-by: Will Deacon Acked-by: Russell King Cc: Matt Fleming Signed-off-by

[PATCH 4/9] efi/libstub: Add random.c to ARM build

2016-11-12 Thread Matt Fleming
From: Ard Biesheuvel Make random.c build for ARM by moving the fallback definition of EFI_ALLOC_ALIGN to efistub.h, and replacing a division by a value we know to be a power of 2 with a right shift (this is required since ARM does not have any integer division helper routines in its decompressor)

[PATCH 9/9] thunderbolt: Use Device ROM retrieved from EFI

2016-11-12 Thread Matt Fleming
From: Lukas Wunner Macs with Thunderbolt 1 do not have a unit-specific DROM: The DROM is empty with uid 0x1. (Apple started factory-burning a unit- specific DROM with Thunderbolt 2.) Instead, the NHI EFI driver supplies a DROM in a device property. Use it if available. It's only avai

  1   2   3   4   >