Re: [PATCH v2 0/3] Fix dump-capture kernel hangs with notsc

2016-07-31 Thread Wei, Jiangang
Ping ... May I ask for some community attention to this series? I purpose is fixing the dump-capture kernel hangs in calibrate_delay_converge() while specifying notsc. Thanks in advance. wei On Tue, 2016-07-26 at 10:59 +0800, Wei Jiangang wrote: > v2: > Just about the commit ("x86/apic: Improved

Re: [PATCH] s390/pci: Remove unnecessary if condition

2016-07-31 Thread Julia Lawall
On Fri, 29 Jul 2016, Sebastian Ott wrote: > On Fri, 29 Jul 2016, Julia Lawall wrote: > > On Fri, 29 Jul 2016, Sebastian Ott wrote: > > > On Fri, 29 Jul 2016, Amitoj Kaur Chawla wrote: > > > > Remove unnecessary error handling because the only failure value that > > > > can be returned is NULL an

Re: xfs_icache.c:1298]: (style) Redundant condition

2016-07-31 Thread Christoph Hellwig
On Mon, Jul 25, 2016 at 04:13:28PM +0100, David Binderman wrote: > Hello there, > > linux-4.7/fs/xfs/xfs_icache.c:1298]: (style) Redundant condition: > eofb. '!eofb || (eofb && eofb.eof_scan_owner!=0)' is equivalent to > '!eofb || eofb.eof_scan_owner!=0' > > Source code is > >ASSERT(!eofb ||

RE: [PATCH v3] lib/bitmap.c: enhance bitmap syntax

2016-07-31 Thread Noam Camus
Ping... -Original Message- From: Noam Camus Sent: Monday, July 18, 2016 10:06 AM To: Pan Xinhui ; de...@googlers.com Cc: b...@decadent.org.uk; da...@davemloft.net; a...@linux-foundation.org; linux-kernel@vger.kernel.org Subject: RE: [PATCH v3] lib/bitmap.c: enhance bitmap syntax > From:

Re: [RFC PATCH 1/1] i2c: i2c-mux-pca954x: Add interrupt controller support.

2016-07-31 Thread Phil Reid
On 29/07/2016 13:48, Peter Rosin wrote: On 2016-07-28 04:44, Phil Reid wrote: G'day Peter, Thanks for the feedback. +linux-kernel@vger.kernel.org On 27/07/2016 13:32, Peter Rosin wrote: On 2016-07-27 05:05, Phil Reid wrote: +static void pca954x_irq_mask(struct irq_data *idata) +{ + str

Re: [PATCH] libnvdimm, nd_blk: mask off reserved status bits

2016-07-31 Thread joeyli
Hi Ross, On Fri, Jul 29, 2016 at 02:59:12PM -0600, Ross Zwisler wrote: > The "NVDIMM Block Window Driver Writer's Guide": > > http://pmem.io/documents/ > http://pmem.io/documents/NVDIMM_DriverWritersGuide-July-2016.pdf > > defines the layout of the block window status register. For the July 201

[PATCH 1/3] ASoC: sst-haswell-pcm: don't use snd_soc_pcm_set_drvdata()

2016-07-31 Thread Kuninori Morimoto
snd_soc_pcm_set_drvdata() will set driver data to rtd->dev, but driver data of rtd->dev is already used as "rtd" on soc_post_component_init(). static int soc_post_component_init(xxx) { ... dev_set_drvdata(rtd->dev, rtd); ...

[lkp] [blk] 9f9093afaf: kernel BUG at block/blk-mq.c:365!

2016-07-31 Thread kernel test robot
x86_64-lkp/gcc-6/9f9093afaff2c4d247e5bc7d25ec0574e3f8d12b/vmlinuz-4.7.0-03200-g9f9093a -append 'ip=vm-kbuild-2G-3::dhcp root=/dev/ram0 user=lkp job=/lkp/scheduled/vm-kbuild-2G-3/boot-1-debian-x86_64-2015-02-07.cgz-9f9093afaff2c4d247e5bc7d25ec0574e3f8d12b-20160731-116574-1tj3h35-63.yaml ARCH=x86_64 kconfig=x8

Re: [PATCH] thermal: hisilicon: Add dependency on the clock driver to allow frequency scaling

2016-07-31 Thread Amit Kucheria
On Mon, Jul 25, 2016 at 6:49 PM, Wei Xu wrote: > > > On 25/07/2016 13:29, Amit Kucheria wrote: >> On Thu, Jul 7, 2016 at 12:13 PM, Amit Kucheria >> wrote: >>> On Sun, Jun 26, 2016 at 10:02 PM, Amit Kucheria >>> wrote: On Mon, Jun 20, 2016 at 6:46 PM, Leo Yan wrote: > Hi Amit, > >>

[PATCH 3/3] ASoC: remove snd_soc_pcm_set/get_drvdata()

2016-07-31 Thread Kuninori Morimoto
From: Kuninori Morimoto snd_soc_pcm_set_drvdata() will set driver data to rtd->dev, but driver data of rtd->dev is already used as "rtd" on soc_post_component_init(). static int soc_post_component_init(xxx) { ... dev_set_drvdata(rtd->dev, rtd);

[PATCH 2/3] ASoC: lpass-platform: don't use snd_soc_pcm_set_drvdata()

2016-07-31 Thread Kuninori Morimoto
From: Kuninori Morimoto snd_soc_pcm_set_drvdata() will set driver data to rtd->dev, but driver data of rtd->dev is already used as "rtd" on soc_post_component_init(). static int soc_post_component_init(xxx) { ... dev_set_drvdata(rtd->dev, rtd);

[lkp] [writeback] c284d3afba: INFO: suspicious RCU usage. ]

2016-07-31 Thread kernel test robot
FYI, we noticed the following commit: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git wb-buf-throttle commit c284d3afba4e7f6a18122b416daceb994412ed6d ("writeback: throttle buffered writeback") in testcase: boot on test machine: 1 threads qemu-system-x86_64 -enable-kvm -c

[PATCH 0/3] ASoC: remove snd_soc_pcm_set/get_drvdata()

2016-07-31 Thread Kuninori Morimoto
Hi Mark snd_soc_pcm_set_drvdata() will set driver data to rtd->dev, but driver data of rtd->dev is already used as "rtd" on soc_post_component_init(). static int soc_post_component_init(xxx) { ... dev_set_drvdata(rtd->dev, rtd); ...

RE: [PATCH 1/2] ACPICA: adapt buffer length for Field Attrib Raw Process in Ops Region

2016-07-31 Thread Zheng, Lv
Hi, > From: Benjamin Tissoires [mailto:benjamin.tissoi...@redhat.com] > Subject: [PATCH 1/2] ACPICA: adapt buffer length for Field Attrib Raw > Process in Ops Region > > Detected on the Surface 3: > The MSHW0011 driver uses Field Attrib Raw Process to return information > for the ACPI Battery. Th

[PATCH v2 0/6] extcon: Add the support for extcon type and property

2016-07-31 Thread Chanwoo Choi
This patch-set add the support the extcon type, extcon property and the synchronization functions. The each external connector has the common characters. So, the external connectors are able to gather in the specific type. And the each external connectors has the specific H/W desigin to support th

[PATCH v2 3/6] extcon: Add the support for the capability of each property

2016-07-31 Thread Chanwoo Choi
This patch adds the support of the property capability setting. This function decides the supported properties of each external connector on extcon provider driver. Ths list of new extcon APIs to get/set the capability of property as following: - int extcon_get_property_capability(struct extcon_de

[PATCH v2 5/6] extcon: Add the synchronization extcon APIs to support the notification

2016-07-31 Thread Chanwoo Choi
This patch adds the synchronization extcon APIs to support the notifications for both state and property. When extcon_*_sync() functions is called, the extcon informs the information from extcon provider to extcon client. The extcon driver may need to change the both state and multiple properties

[PATCH v2 4/6] extcon: Rename the extcon_set/get_state() to maintain the function naming pattern

2016-07-31 Thread Chanwoo Choi
This patch just renames the existing extcon_get/set_cable_state_() as following because of maintaining the function naming pattern like as extcon APIs for property. - extcon_set_cable_state_() -> extcon_set_state() - extcon_get_cable_state_() -> extcon_get_state() But, this patch remains the old e

[PATCH v2 1/6] extcon: Add the extcon_type to gather each connector into five category

2016-07-31 Thread Chanwoo Choi
This patch adds the new extcon type to group the each connecotr into following five category. This type would be used to handle the connectors as a group unit instead of a connector unit. - EXTCON_TYPE_USB : USB connector - EXTCON_TYPE_CHG : Charger connector - EXTCON_TYPE_JACK : Jack connector -

[PATCH v2 6/6] extcon: Add EXTCON_DISP_DP and the property for USB Type-C

2016-07-31 Thread Chanwoo Choi
From: Chris Zhong Add EXTCON_DISP_DP for the Display external connector. For Type-C connector the DisplayPort can work as an Alternate Mode(VESA DisplayPort Alt Mode on USB Type-C Standard). The Type-C support both normal and flipped orientation, so add a property to extcon. Signed-off-by: Chris

[PATCH v2 2/6] extcon: Add the support for extcon property according to extcon type

2016-07-31 Thread Chanwoo Choi
This patch support the extcon property for the external connector because each external connector might have the property according to the H/W design and the specific characteristics. - EXTCON_PROP_USB_[property name] - EXTCON_PROP_CHG_[property name] - EXTCON_PROP_JACK_[property name] - EXTCON_PR

[PATCH net v2] 8139too: fix system hang when there is a tx timeout event.

2016-07-31 Thread Chunhao Lin
If tx timeout event occur, kernel will call rtl8139_tx_timeout_task() to reset hardware. But in this function, driver does not stop tx and rx function before reset hardware, that will cause system hang. In this patch, add stop tx and rx function before reset hardware. Signed-off-by: Chunhao Lin

Re: [RFC] can we use vmalloc to alloc thread stack if compaction failed

2016-07-31 Thread Joonsoo Kim
On Fri, Jul 29, 2016 at 12:47:38PM -0700, Andy Lutomirski wrote: > -- Forwarded message -- > From: "Joonsoo Kim" > Date: Jul 28, 2016 7:57 PM > Subject: Re: [RFC] can we use vmalloc to alloc thread stack if compaction > failed > To: "Andy Lutomirski" > Cc: "Xishi Qiu" , "Michal H

Re: [PATCH v2] bpf: silence warnings when building kernel/bpf/core.c with W=1

2016-07-31 Thread Valdis . Kletnieks
On Sun, 31 Jul 2016 21:42:22 -0700, Alexei Starovoitov said: > and at least 2 other such patches for other files... > Is there a single warning where -Woverride-init was useful? > May be worth disabling this warning for the whole build? There's a few other cases that *aren't* the "define the arra

Re:mips builds failing in v3.18.38 and v4.1.29

2016-07-31 Thread 陈华才
Hi, I have already told Sasha that "MIPS: Reserve nosave data for hibernation" should not be backported to 4.1/3.18. But he has no response. Huacai -- Original -- From: "Guenter Roeck"; Date: Mon, Aug 1, 2016 07:57 AM To: "Sasha Levin"; Cc: "stable"; "linux

Re: [PATCH 4/4] x86/efi: Allocate a trampoline if needed in efi_free_boot_services()

2016-07-31 Thread H. Peter Anvin
On 07/26/16 15:55, Andy Lutomirski wrote: > + /* > + * Nasty quirk: if all sub-1MB memory is used for boot > + * services, we can get here without having allocated the > + * real mode trampoline. It's too late to hand boot services > +

Re: [ANNOUNCE] git-series: track changes to a patch series over time

2016-07-31 Thread Christian Couder
On Fri, Jul 29, 2016 at 12:10 PM, Richard Ipsum wrote: > On Thu, Jul 28, 2016 at 11:40:55PM -0700, Josh Triplett wrote: > [snip] >> >> I'd welcome any feedback, whether on the interface and workflow, the >> internals and collaboration, ideas on presenting diffs of patch series, >> or anything else

Re: [PATCH 1/3] drm: bridge: add DesignWare HDMI I2S audio support

2016-07-31 Thread Kuninori Morimoto
Hi Jose Cc: Mark, Thierry, Daniel > > From: Kuninori Morimoto > > > > Current dw-hdmi is supporting sound via AHB bus, but it has > > I2S audio feature too. This patch adds I2S audio support to dw-hdmi. > > This HDMI I2S is supported by using ALSA SoC common HDMI encoder > > driver. > > > > Sign

Re: [PATCH 1/1] x86/entry: spell EBX register correctly in documentation

2016-07-31 Thread Borislav Petkov
On Fri, Jul 29, 2016 at 01:39:51PM +0200, Nicolas Iooss wrote: > As EBS does not mean anything reasonable in the context it is used, it > seems like a misspelling for EBX. > > Signed-off-by: Nicolas Iooss > --- > arch/x86/entry/entry_64.S | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >

Re: [PATCH v2] bpf: silence warnings when building kernel/bpf/core.c with W=1

2016-07-31 Thread Alexei Starovoitov
On Mon, Aug 01, 2016 at 12:33:30AM -0400, Valdis Kletnieks wrote: > Building with W=1 generates some 350 lines of warnings of the form: > > kernel/bpf/core.c: In function '__bpf_prog_run': > kernel/bpf/core.c:476:33: warning: initialized field overwritten > [-Woverride-init] >[BPF_ALU | BPF_A

[PATCH v2] bpf: silence warnings when building kernel/bpf/core.c with W=1

2016-07-31 Thread Valdis Kletnieks
Building with W=1 generates some 350 lines of warnings of the form: kernel/bpf/core.c: In function '__bpf_prog_run': kernel/bpf/core.c:476:33: warning: initialized field overwritten [-Woverride-init] [BPF_ALU | BPF_ADD | BPF_X] = &&ALU_ADD_X, ^~ kernel/bpf/core

[PATCH 1/2 v4] perf sched: fix wrong conversion of task state

2016-07-31 Thread Tomoki Sekiyama
Currently sched_out_state() converts the prev_state u64 bitmask to a char using the bitmask as an index, which may cause invalid memory access. This fixes the issue by using the __ffs() returned value as an index. Signed-off-by: Tomoki Sekiyama Fixes: cdce9d738b91e ("perf sched: Add sched latency

[PATCH 2/2 v4] perf sched: adapt TASK_STATE_TO_CHAR_STR to the latest kernel

2016-07-31 Thread Tomoki Sekiyama
Update TASK_STATE_TO_CHAR_STR macro to one from sched.h in the latest kernel, where 'N' and 'n' are introduced, 'X' and 'Z' are swapped. Signed-off-by: Tomoki Sekiyama Fixes: cdce9d738b91e ("perf sched: Add sched latency profiling") Cc: Jiri Olsa Cc: David Ahern Cc: Namhyung Kim Cc: Peter Zijl

RE: [PATCH v5 6/8] thunderbolt: Networking transmit and receive

2016-07-31 Thread Levy, Amir (Jer)
On Sun, Jul 31 2016, 09:45 PM, David Miller wrote: > From: "Levy, Amir (Jer)" > Date: Sun, 31 Jul 2016 10:15:52 + > > > The network stack thinks it is Ethernet, it might not accept Runt > > frames, so the driver pads the frame in receive. > > The network stack doesn't care about this at all.

[RESEND PATCH 0/6] fix and optimize some clock configuration for the RK3399 platfom

2016-07-31 Thread Xing Zheng
Hi: In the development work, we found that some of the previous incorrect clock configuration on the RK3399 platform, we should fix and optimize them. Elaine Zhang (1): clk: rockchip: rk3399: delete the CLK_IGNORE_UNUSED for aclk_pcie Xing Zheng (5): clk: rockchip: rk3399: export USBPHYx_

[RESEND PATCH 6/6] clk: rockchip: rk3399: Add support frac mode frequencies

2016-07-31 Thread Xing Zheng
We need to support various display resolutions for external display devices like HDMI/DP, the frac mode can help us to acquire almost any frequencies, and need higher VCOs to reduce clock jitters. Signed-off-by: Xing Zheng --- drivers/clk/rockchip/clk-rk3399.c | 21 - 1 fi

[RESEND PATCH 1/6] clk: rockchip: rk3399: export USBPHYx_480M_SRC clock IDs

2016-07-31 Thread Xing Zheng
We export some clock IDs for the usb phy 480m source clocks. Signed-off-by: Xing Zheng --- include/dt-bindings/clock/rk3399-cru.h |2 ++ 1 file changed, 2 insertions(+) diff --git a/include/dt-bindings/clock/rk3399-cru.h b/include/dt-bindings/clock/rk3399-cru.h index 50a44cf..c4d8311 100

[RESEND PATCH 3/6] clk: rockchip: rk3399: fix incorrect aclk_emmc source gate bits

2016-07-31 Thread Xing Zheng
Dues to incorrect diagram, we need to fix incorrect bits for (c/g)pll_aclk_emmc_src: cpll_aclk_emmc_src --> G6[13] gpll_aclk_emmc_src --> G6[12] Signed-off-by: Xing Zheng --- drivers/clk/rockchip/clk-rk3399.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk

[RESEND PATCH 2/6] clk: rockchip: rk3399: export 480M_SRC clock id for usbphy0/usbphy1

2016-07-31 Thread Xing Zheng
Export these source clocks for usbphy. Signed-off-by: Xing Zheng --- drivers/clk/rockchip/clk-rk3399.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/rockchip/clk-rk3399.c b/drivers/clk/rockchip/clk-rk3399.c index 78e51cb..f55f967f 100644 --- a/drivers/

[RESEND PATCH 5/6] clk: rockchip: rk3399: delete the CLK_IGNORE_UNUSED for aclk_pcie

2016-07-31 Thread Xing Zheng
From: Elaine Zhang allow aclk_pcie and aclk_perf_pcie disabled when unused. Signed-off-by: Elaine Zhang Signed-off-by: Xing Zheng --- drivers/clk/rockchip/clk-rk3399.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/rockchip/clk-rk3399.c b/drivers/clk

[RESEND PATCH 4/6] clk: rockchip: rk3399: add 65MHz and 106.5MHz clocks for HDMI

2016-07-31 Thread Xing Zheng
We need to add more clocks for supporting more display resolution for HDMI. Signed-off-by: Xing Zheng --- drivers/clk/rockchip/clk-rk3399.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clk/rockchip/clk-rk3399.c b/drivers/clk/rockchip/clk-rk3399.c index ad3860a..74afec0 1006

Re: [PATCH v2 3/3] powerpc: Convert fsl_rstcr_restart to a reset handler

2016-07-31 Thread Nicholas Piggin
On Thu, 28 Jul 2016 16:07:18 -0700 Andrey Smirnov wrote: > Convert fsl_rstcr_restart into a function to be registered with > register_reset_handler(). > > Signed-off-by: Andrey Smirnov > --- > > Changes since v1: > > - fsl_rstcr_restart is registered as a reset handler in > se

linux-next: Tree for Aug 1

2016-07-31 Thread Stephen Rothwell
Hi all, Please do not add material destined for v4.9 to your linux-next included branches until after v4.8-rc1 has been released. Changes since 20160729: New Tree: befs Non-merge commits (relative to Linus' tree): 4300 3495 files changed, 145910 insertions(+), 65285 deletions(-) -

[PATCH 5/6] clk: rockchip: rk3399: delete the CLK_IGNORE_UNUSED for aclk_pcie

2016-07-31 Thread Xing Zheng
From: Elaine Zhang allow aclk_pcie and aclk_perf_pcie disabled when unused. Signed-off-by: Elaine Zhang Signed-off-by: Xing Zheng --- drivers/clk/rockchip/clk-rk3399.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/rockchip/clk-rk3399.c b/drivers/clk

[PATCH 3/6] clk: rockchip: rk3399: fix incorrect aclk_emmc source gate bits

2016-07-31 Thread Xing Zheng
Dues to incorrect diagram, we need to fix incorrect bits for (c/g)pll_aclk_emmc_src: cpll_aclk_emmc_src --> G6[13] gpll_aclk_emmc_src --> G6[12] Signed-off-by: Xing Zheng --- drivers/clk/rockchip/clk-rk3399.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk

[PATCH 0/6] fix and optimize some clock configuration for the RK3399 platfom

2016-07-31 Thread Xing Zheng
Hi: In the development work, we found that some of the previous incorrect clock configuration on the RK3399 platform, we should fix and optimize them. Elaine Zhang (1): clk: rockchip: rk3399: delete the CLK_IGNORE_UNUSED for aclk_pcie Xing Zheng (5): clk: rockchip: rk3399: export USBPHYx_

[PATCH 1/6] clk: rockchip: rk3399: export USBPHYx_480M_SRC clock IDs

2016-07-31 Thread Xing Zheng
We export some clock IDs for the usb phy 480m source clocks. Signed-off-by: Xing Zheng --- include/dt-bindings/clock/rk3399-cru.h |2 ++ 1 file changed, 2 insertions(+) diff --git a/include/dt-bindings/clock/rk3399-cru.h b/include/dt-bindings/clock/rk3399-cru.h index 50a44cf..c4d8311 100

[PATCH 2/6] clk: rockchip: rk3399: export 480M_SRC clock id for usbphy0/usbphy1

2016-07-31 Thread Xing Zheng
Export these source clocks for usbphy. Signed-off-by: Xing Zheng --- drivers/clk/rockchip/clk-rk3399.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/rockchip/clk-rk3399.c b/drivers/clk/rockchip/clk-rk3399.c index 78e51cb..f55f967f 100644 --- a/drivers/

[PATCH 6/6] clk: rockchip: rk3399: Add support frac mode frequencies

2016-07-31 Thread Xing Zheng
We need to support various display resolutions for external display devices like HDMI/DP, the frac mode can help us to acquire almost any frequencies, and need higher VCOs to reduce clock jitters. Signed-off-by: Xing Zheng --- drivers/clk/rockchip/clk-rk3399.c | 21 - 1 fi

[PATCH 4/6] clk: rockchip: rk3399: add 65MHz and 106.5MHz clocks for HDMI

2016-07-31 Thread Xing Zheng
We need to add more clocks for supporting more display resolution for HDMI. Signed-off-by: Xing Zheng --- drivers/clk/rockchip/clk-rk3399.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clk/rockchip/clk-rk3399.c b/drivers/clk/rockchip/clk-rk3399.c index ad3860a..74afec0 1006

Re: [PATCH 1/1] net: i10e: use matching format indentifiers

2016-07-31 Thread David Miller
From: Heinrich Schuchardt Date: Sun, 31 Jul 2016 11:39:28 +0200 > i is defined as int but output as %u several times. > Change the definition to unsigned. > > Signed-off-by: Heinrich Schuchardt I hate changes like this. The canonical way to loop over a value is to use a signed integer, named

Re: [PATCH v2 2/3] powerpc: Call chained reset handlers during reset

2016-07-31 Thread Nicholas Piggin
On Thu, 28 Jul 2016 16:07:17 -0700 Andrey Smirnov wrote: > Call out to all restart handlers that were added via > register_restart_handler() API when restarting the machine. > > Signed-off-by: Andrey Smirnov > --- > > No changes compared to v1 > > arch/powerpc/kernel/setup-common.c | 4

Re: [PATCH 1/1] net: e1000: do not use uninitalized variable.

2016-07-31 Thread David Miller
From: Heinrich Schuchardt Date: Sun, 31 Jul 2016 11:30:58 +0200 > phy_data has to be set to zero to avoid undefined > behavior. In your opinion. phy_data is only used in conditions where it has been initialized in this function. Therefore, please read the function carefully instead of just hav

[PATCH] silence warning in drivers/ata/libata-scsi.c when building W=1

2016-07-31 Thread Valdis Kletnieks
When building with W=1, we get these warnings: drivers/ata/libata-scsi.c: In function 'ata_mselect_caching': drivers/ata/libata-scsi.c:3637:28: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] if (mpage[i + 2] & 0xfb != buf[i] & 0xfb) { ~

Re: [PATCH v3 00/15] net: thunderx: Add support for 81xx and 83xx

2016-07-31 Thread Sunil Kovvuri
Understood but unfortunately I don't see these patches in patchwork. http://patchwork.ozlabs.org/project/netdev/list/?submitter=&state=*&q=thunderx&archive=both&delegate= http://patchwork.ozlabs.org/project/netdev/list/?submitter=62159&state=*&q=&archive=both&delegate= Thanks, Sunil. On Mon, Aug

Re: [PATCH v2 1/3] powerpc: Factor out common code in setup-common.c

2016-07-31 Thread Nicholas Piggin
On Thu, 28 Jul 2016 16:07:16 -0700 Andrey Smirnov wrote: > Factor out a small bit of common code in machine_restart(), > machine_power_off() and machine_halt(). > > Signed-off-by: Andrey Smirnov > --- > > No changes compared to v1. > > arch/powerpc/kernel/setup-common.c | 23 ++--

Re: [PATCH] drm/analogix_dp: Ensure the panel is properly prepared/unprepared

2016-07-31 Thread Yakir Yang
Sean, On 07/30/2016 03:16 AM, Sean Paul wrote: Instead of just preparing the panel on bind, actually prepare/unprepare during modeset/disable. The panel must be prepared in order to read hpd status, so we need to refcount the prepares in order to ensure we don't accidentally turn the panel off a

Re: [PATCH v3 00/15] net: thunderx: Add support for 81xx and 83xx

2016-07-31 Thread David Miller
From: Sunil Kovvuri Date: Mon, 1 Aug 2016 08:59:16 +0530 > Understood but unfortunately I don't see these patches in patchwork. > http://patchwork.ozlabs.org/project/netdev/list/?submitter=&state=*&q=thunderx&archive=both&delegate= > http://patchwork.ozlabs.org/project/netdev/list/?submitter=6215

[PATCH] clocksource: mips-gic-timer: make gic_clocksource_of_init return int

2016-07-31 Thread Paul Gortmaker
In commit d8152bf85d2c057fc39c3e20a4d623f524d9f09c: ("clocksource/drivers/mips-gic-timer: Convert init function to return error") several return values were added to a void function resulting in: clocksource/mips-gic-timer.c: In function 'gic_clocksource_of_init': clocksource/mips-gic-timer.c

Re: [PATCH] silence warnings when building kernel/bpf/core.c with W=1

2016-07-31 Thread David Miller
From: Valdis Kletnieks Date: Sun, 31 Jul 2016 23:27:33 -0400 > Building with W=1 generates some 350 lines of warnings of the form: > > kernel/bpf/core.c: In function '__bpf_prog_run': > kernel/bpf/core.c:476:33: warning: initialized field overwritten > [-Woverride-init] >[BPF_ALU | BPF_ADD

Re: [PATCH net v2 0/3] r8169:fix 3 runtime pm related issues.

2016-07-31 Thread David Miller
From: Chunhao Lin Date: Fri, 29 Jul 2016 16:37:53 +0800 > v2: > use "struct device *d = &tp->pci_dev->dev" instead of "struct pci_dev *pdev = > tp->pci_dev" > > v1: > This series of patches fix 3 runtime pm related issues that are listed below. Series applied, thanks.

Re: [PATCH 1/1] net: qlcnic: avoid superfluous assignement

2016-07-31 Thread David Miller
From: zhuyj Date: Mon, 1 Aug 2016 10:57:20 +0800 > Sorry. > An inline function will be inserted into the calling function. Why > "Assigning NULL to parmeter dcb has no effect outside of the > inlined function." ? It doesn't do anything to "dcb" in the calling function, that's not how inlining wo

Re: [PATCH] drm/analogix_dp: Ensure the panel is properly prepared/unprepared

2016-07-31 Thread Yakir Yang
Sean, On 07/30/2016 03:16 AM, Sean Paul wrote: Instead of just preparing the panel on bind, actually prepare/unprepare during modeset/disable. The panel must be prepared in order to read hpd status, so we need to refcount the prepares in order to ensure we don't accidentally turn the panel off a

[PATCH] Suppress warnings when compiling fs/proc/task_mmu.c with W=1

2016-07-31 Thread Valdis Kletnieks
Suppress a bunch of warnings of the form: fs/proc/task_mmu.c: In function 'show_smap_vma_flags': fs/proc/task_mmu.c:635:22: warning: initialized field overwritten [-Wt override-init] [ilog2(VM_READ)] = "rd", ^~~~ fs/proc/task_mmu.c:635:22: note: (near initialization for '

[PATCH] silence warnings when building kernel/bpf/core.c with W=1

2016-07-31 Thread Valdis Kletnieks
Building with W=1 generates some 350 lines of warnings of the form: kernel/bpf/core.c: In function '__bpf_prog_run': kernel/bpf/core.c:476:33: warning: initialized field overwritten [-Woverride-init] [BPF_ALU | BPF_ADD | BPF_X] = &&ALU_ADD_X, ^~ kernel/bpf/core

[PATCH] make compiling X86 syscall tables safe for W=1

2016-07-31 Thread Valdis Kletnieks
Building an X86_64 kernel with W=1 throws a total of 9,948 lines of warnings of this form for both 32bit and 64bit syscall tables. Given that the entire rest of the build for my config only generates 8,375 lines of output, this is a big reduction in the warnings generated. ./arch/x86/include/gener

Re: [PATCH 0/5] Add power domain support for dw_mmc/sdhci-of-arasan

2016-07-31 Thread Shawn Lin
在 2016/7/29 17:21, Ulf Hansson 写道: On 29 July 2016 at 06:14, Shawn Lin wrote: We need to enable the power domain manually while probing as the power policy will turn off the pd which is not referenced. Otherwise I assume you are going to use the generic PM domain (genpd)? yes. If so, thi

Re: [PATCH v8 2/2] PCI: Rockchip: Add Rockchip PCIe controller support

2016-07-31 Thread Shawn Lin
Hi Bjorn, On 2016/7/30 0:48, Bjorn Helgaas wrote: Hi Shawn, You fixed some of the things I mentioned, but not all, and you over-fixed some things, leading to issues. On Fri, Jul 29, 2016 at 10:48:13AM +0800, Shawn Lin wrote: This patch adds Rockchip PCIe controller support found on RK3399 Soc

Re: [PATCH] Staging: android: ion: ion.c: Compression of lines for

2016-07-31 Thread Giedrius Statkevičius
On Sun, Jul 31, 2016 at 6:44 PM, Nadim almas wrote: > This patch compresses two lines in to a single line in file > ion.c > if immediate return statement is found.It also removes variable > ret as it is no longer needed. > > ne using script Coccinelle. And coccinelle uses following semantic > patc

[PATCH v4 2/3] irqchip/qeic: merge qeic init code from platforms to a common function

2016-07-31 Thread Zhao Qiang
The codes of qe_ic init from a variety of platforms are redundant, merge them to a common function and put it to irqchip/irq-qeic.c For non-p1021_mds mpc85xx_mds boards, use "qe_ic_init(np, 0, qe_ic_cascade_low_mpic, qe_ic_cascade_high_mpic);" instead of "qe_ic_init(np, 0, qe_ic_cascade_muxed_mpic

[PATCH v4 3/3] irqchip/qeic: merge qeic_of_init into qe_ic_init

2016-07-31 Thread Zhao Qiang
qeic_of_init just get device_node of qeic from dtb and call qe_ic_init, pass the device_node to qe_ic_init. So merge qeic_of_init into qe_ic_init to get the qeic node in qe_ic_init. Signed-off-by: Zhao Qiang --- Changes for v2: - modify subject and commit msg - return 0 and add pu

[PATCH v4 1/3] irqchip/qeic: move qeic driver from drivers/soc/fsl/qe

2016-07-31 Thread Zhao Qiang
move the driver from drivers/soc/fsl/qe to drivers/irqchip, merge qe_ic.h and qe_ic.c into irq-qeic.c. Signed-off-by: Zhao Qiang --- Changes for v2: - modify the subject and commit msg Changes for v3: - merge .h file to .c, rename it with irq-qeic.c Changes for v4: - modif

[GIT PULL] Mailbox changes for v4.8

2016-07-31 Thread Jassi Brar
Hi Linus, The following changes since commit 8714f8f5fe396ca513ccaaac2304497439c181fb: Merge branch 'for-linus' of git://git.kernel.dk/linux-block (2016-06-11 18:42:59 -0700) are available in the git repository at: git://git.linaro.org/landing-teams/working/fujitsu/integration.git mailbox-f

Re: [PATCH V6 3/9] irqdomain: Don't set type when mapping an IRQ

2016-07-31 Thread Masahiro Yamada
Hi Jon, 2016-07-29 17:31 GMT+09:00 Jon Hunter : > > On 29/07/16 04:53, Masahiro Yamada wrote: >> Hi. >> >> I noticed my board would not work any more >> when pulling recent updates. >> >> I did "git-bisect" and I found the following commit is it. >> >> commit 1e2a7d78499ec8859d2b469051b7b80bad3b08

Re: [PATCH v4 1/2] Documentation: bindings: add dt documentation for Rockchip PCIe PHY

2016-07-31 Thread Shawn Lin
在 2016/7/30 5:34, Rob Herring 写道: On Fri, Jul 29, 2016 at 09:22:05AM +0800, Shawn Lin wrote: This patch adds a binding that describes the Rockchip PCIe PHY found on Rockchip SoCs PCIe interface. Signed-off-by: Shawn Lin --- Changes in v4: None Changes in v3: - rename the node to pcie_phy: pc

RE

2016-07-31 Thread Mrs Alice Walton
I have a business proposal for you contact me for more info

Re: To add, or not to add, a bio REQ_ROTATIONAL flag

2016-07-31 Thread Eric Wheeler
[+cc from "Enable use of Solid State Hybrid Drives" https://lkml.org/lkml/2014/10/29/698 ] On Thu, 28 Jul 2016, Martin K. Petersen wrote: > > "Eric" == Eric Wheeler writes: > Eric> [...] This may imply that > Eric> we need a new way to flag cache bypass from userspace [...] > Eric> S

Re: [PATCH 1/1] net: qlcnic: avoid superfluous assignement

2016-07-31 Thread zhuyj
Sorry. An inline function will be inserted into the calling function. Why "Assigning NULL to parmeter dcb has no effect outside of the inlined function." ? On Sun, Jul 31, 2016 at 6:07 PM, Heinrich Schuchardt wrote: > Assigning NULL to parmeter dcb has no effect outside of the > inlined function.

Re: [PATCH v2 3/3] ntb: Test client drivers for asynchronous NTB devices

2016-07-31 Thread kbuild test robot
Hi Serge, [auto build test WARNING on ntb/ntb-next] [cannot apply to v4.7 next-20160729] [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/Serge-Semin/ntb-Asynchronous-NTB-devices-support/20160728-

Dirty/Writeback fields in /proc/meminfo affected by 20d74bf29c

2016-07-31 Thread Tomas Vondra
Hi, While investigating a strange OOM issue on the 3.18.x branch (which turned out to be already fixed by 52c84a95), I've noticed a strange difference in Dirty/Writeback fields in /proc/meminfo depending on kernel version. I'm wondering whether this is expected ... I've bisected the change t

Re: [PATCH v1] module: Fully remove the kernel_module_from_file hook

2016-07-31 Thread Mimi Zohar
On Do, 2016-07-28 at 11:30 -0700, Kees Cook wrote: > On Tue, Jul 12, 2016 at 5:48 AM, James Morris wrote: > > On Sat, 9 Jul 2016, Mickaël Salaün wrote: > > > >> Fixes: a1db74209483 ("module: replace copy_module_from_fd with kernel > >> version") > >> > >> Signed-off-by: Mickaël Salaün > >> Cc: M

Re: [v3,2/6] power: add power sequence library

2016-07-31 Thread Peter Chen
On Fri, Jul 29, 2016 at 01:06:48PM -0700, Matthias Kaehlcke wrote: > Hi Peter, > > Thanks for your work on this, a few comments inline > > > On 07/20/2016 02:40 AM, Peter Chen wrote: > > >... > > > >+static int pwrseq_generic_on(struct device_node *np, struct pwrseq *pwrseq) > >+{ > > > >... >

Re: [Qemu-devel] [PATCH v2 2/2] vfio : add aer process

2016-07-31 Thread Zhou Jie
Hi, Alex On 2016/7/30 1:12, Alex Williamson wrote: On Tue, 19 Jul 2016 15:32:43 +0800 Zhou Jie wrote: From: Chen Fan During aer err occurs and resume do following to protect device from being accessed. 1. Make config space read only. 2. Disable INTx/MSI Interrupt. 3. Do nothing for bar regi

Re: [PATCH v2 1/2] vfio : resume notifier

2016-07-31 Thread Zhou Jie
Hi, Alex On 2016/7/30 1:11, Alex Williamson wrote: On Tue, 19 Jul 2016 15:52:45 +0800 Zhou Jie wrote: From: Chen Fan An empty commit log is unacceptable for all but the most trivial patches. There's also no sign-off on this patch. Sorry. I should note it. I also don't know why we need

[PATCH v3] i2c: hibvt: add Hisilicon BVT I2C controller driver

2016-07-31 Thread Pan Wen
add Hisilicon BVT I2C controller driver support. Signed-off-by: Pan Wen --- change log v3: Add a SoC specific compatible string. v2: 1)Fixed a compile error. 2)Dropped the clock-names property. .../devicetree/bindings/i2c/i2c-hibvt.txt | 24 + drivers/i2c/busses/Kconfig

Re: [PATCH v14 0/17] Add Analogix Core Display Port Driver

2016-07-31 Thread Yakir Yang
On 07/29/2016 04:38 PM, Tomeu Vizoso wrote: On 5 April 2016 at 04:06, Yakir Yang wrote: Hi Daniel, On 03/31/2016 06:15 PM, Daniel Vetter wrote: On Mon, Feb 15, 2016 at 07:08:05PM +0800, Yakir Yang wrote: Hi all, The Samsung Exynos eDP controller and Rockchip RK3288 eDP controller shar

Re: [PATCH v7 2/2] [media] atmel-isc: DT binding for Image Sensor Controller driver

2016-07-31 Thread Rob Herring
On Sun, Jul 31, 2016 at 8:23 PM, Wu, Songjun wrote: > > > On 7/30/2016 05:44, Rob Herring wrote: >> >> On Fri, Jul 29, 2016 at 03:54:08PM +0800, Songjun Wu wrote: >>> >>> DT binding documentation for ISC driver. >>> >>> Signed-off-by: Songjun Wu >>> --- >>> >>> Changes in v7: None >>> Changes in

Re: [PULL] modules-next

2016-07-31 Thread Linus Torvalds
So this feels wrong to me, can you guys please explain: On Sun, Jul 31, 2016 at 9:02 PM, Rusty Russell wrote: > > Ben Hutchings (3): > module: Invalidate signatures on force-loaded modules > module: Disable MODULE_FORCE_LOAD when MODULE_SIG_FORCE is enabled forcing a load and SIG_FOR

Re: [PATCH 00/13] arm64: Allwinner A64 support based on sunxi-ng

2016-07-31 Thread André Przywara
Hi Maxime, On 26/07/16 21:30, Maxime Ripard wrote: > Hi, > > Here is the previous A64 patches made by Andre [1], reworked to use > the new sunxi-ng clock framework. > > This uses the current H3 clock code, as both are really similar. The > first patches are just meant to rework slightly the H3 c

[PATCH] pwm: add pwm driver for HiSilicon BVT SOCs

2016-07-31 Thread Jian Yuan
From: yuanjian Add pwm driver for HiSilicon BVT SOCs Reviewed-by: Jiancheng Xue Signed-off-by: Jian Yuan --- .../devicetree/bindings/pwm/pwm-hibvt.txt | 18 ++ drivers/pwm/Kconfig| 10 + drivers/pwm/Makefile | 1 + dri

Re: [Regression?] fib_rules: Added NLM_F_EXCL support to fib_nl_newrule breaks Android userspace

2016-07-31 Thread Lorenzo Colitti
On Sat, Jul 30, 2016 at 1:57 AM, John Stultz wrote: > > With the patch reverted, and the system working, I see: > > # ip rule ls > 0: from all lookup local > 1: from all fwmark 0xc/0xd lookup legacy_system > 13000: from all fwmark 0x10063/0x1 lookup local_network > 13000:

Re: [PATCH V6 3/9] irqdomain: Don't set type when mapping an IRQ

2016-07-31 Thread Masahiro Yamada
2016-07-29 17:10 GMT+09:00 Marc Zyngier : > On 29/07/16 04:53, Masahiro Yamada wrote: >> Hi. >> >> >> I noticed my board would not work any more >> when pulling recent updates. >> >> >> I did "git-bisect" and I found the following commit is it. > > It would help if you did post the log showing the

Re: [PATCH v7 2/2] [media] atmel-isc: DT binding for Image Sensor Controller driver

2016-07-31 Thread Wu, Songjun
On 7/30/2016 05:44, Rob Herring wrote: On Fri, Jul 29, 2016 at 03:54:08PM +0800, Songjun Wu wrote: DT binding documentation for ISC driver. Signed-off-by: Songjun Wu --- Changes in v7: None Changes in v6: - Add "iscck" and "gck" to clock-names. Changes in v5: - Add clock-output-names. Cha

ERROR: "__ucmpdi2" [drivers/scsi/sd_mod.ko] undefined!

2016-07-31 Thread kbuild test robot
Hi Mike, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: c9b95e5961c0294e0efffeaa847c1a1e6369204c commit: 4e1b2d52a80d79296a5d899d73249748dea71a53 block, fs, drivers: remove REQ_OP compat defs and related code date:

[PULL] modules-next

2016-07-31 Thread Rusty Russell
The following changes since commit 3fc9d690936fb2e20e180710965ba2cc3a0881f8: Merge branch 'for-4.8/drivers' of git://git.kernel.dk/linux-block (2016-07-26 15:37:51 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux.git tags/modules-next

Re: [PATCH v1 0/3] Fix seccomp for UM (next)

2016-07-31 Thread James Morris
On Thu, 28 Jul 2016, Kees Cook wrote: > On Mon, Jul 11, 2016 at 6:59 PM, Kees Cook wrote: > > On Mon, Jul 11, 2016 at 5:56 PM, Mickaël Salaün wrote: > >> Hi, > >> > >> This series fix the recent seccomp update for the User-mode Linux > >> architecture > >> (32-bit and 64-bit) since commit 26703

RE: [PATCH v2] ACPI / button: remove pointer to old lid_sysfs on unbind

2016-07-31 Thread Zheng, Lv
Hi, Benjamin > From: Benjamin Tissoires [mailto:benjamin.tissoi...@redhat.com] > Subject: [PATCH v2] ACPI / button: remove pointer to old lid_sysfs on > unbind > > When we removed the procfs dir on error or if the driver is > unbound, the two variables acpi_lid_dir and acpi_button_dir > were not

Re: [kernel-hardening] Re: [PATCH] [RFC] Introduce mmap randomization

2016-07-31 Thread Daniel Micay
> > It's very hard to quantify the benefits of fine-grained > > randomization, > > ?  N = # of possible addresses.  The bigger N is, the more chances the > attacker will trip up before finding what they were looking for. If the attacker is forcing the creation of many objects with a function poin

[PATCH v2] Documentation: kdump: add description of bringing up SMP dump-capture kernel

2016-07-31 Thread Zhou Wenjian
v1->v2: change nr_cpus to maxcpus SMP dump-capture kernel is useful to improve the performance of kdump in some cases. So add the description of bringing up SMP dump-capture kernel. Signed-off-by: Zhou Wenjian --- Documentation/kdump/kdump.txt | 6 ++ 1 file changed, 6 insertions(+) diff -

mips/sparc64 build failures in v3.18.38 and v4.1.29

2016-07-31 Thread Guenter Roeck
[ again, this time with Sasha's new e-mail address, and updated ] Build failures in v3.18.38 and 4.1.29: mips builds: arch/mips/kernel/setup.c: In function 'arch_mem_init': arch/mips/kernel/setup.c:689:2: error: implicit declaration of function 'reserve_bootmem_region' Offending commit is 1dd

  1   2   3   >