[PATCH] checkpatch: don't check c99 types like uint8_t under tools

2016-11-15 Thread Tomas Winkler
Tools contains user space code so uintX_t types are just fine. Signed-off-by: Tomas Winkler --- scripts/checkpatch.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index a8368d1c4348..42c3221be6eb 100755 --- a/scripts/checkpat

Re: [PATCH] mtd: nand: nandsim: fix error check

2016-11-15 Thread Sudip Mukherjee
On Tuesday 15 November 2016 11:42 PM, Marek Vasut wrote: On 11/16/2016 12:09 AM, Sudip Mukherjee wrote: debugfs_create_dir() and debugfs_create_file() returns NULL on error or a pointer on success. They do not return the error value with ERR_PTR. So we should not check the return with IS_ERR_OR_

Re: [PATCHSET 0/7] perf sched: Introduce timehist command, again (v2)

2016-11-15 Thread Ingo Molnar
* Namhyung Kim wrote: > Hello, > > This patchset is a rebased version of David's sched timehist work [1]. > I plan to improve perf sched command more and think that having > timehist command before the work looks good. It seems David is busy > these days, so I'm retrying it by myself. > > *

[PATCH] b: re-queue tx dma request on herror

2016-11-15 Thread Max Uvarov
Some times dma transfer to usb endpoint fails: [ 78.378283] musb-hdrc musb-hdrc.1.auto: Start TX10 dma [ 78.410763] musb-hdrc musb-hdrc.1.auto: OUT/TX10 end, csr 3400, dma [ 78.410896] musb-hdrc musb-hdrc.1.auto: complete dc01eb00 usb_api_blocking_completion+0x0/0x24 [usbcore] (0), dev4 ep1out, 1

[PATCH] mm, rmap: handle anon_vma_prepare() common case inline

2016-11-15 Thread Vlastimil Babka
The anon_vma_prepare() function is mostly a large "if (unlikely(...))" block, as the expected common case is that an anon_vma already exists. We could turn the condition around and return 0, but it also makes sense to do it inline and avoid a call for the common case. Bloat-o-meter naturally shows

Re: [PATCH net-next 2/5] net: ethoc: Implement ethtool::nway_reset

2016-11-15 Thread Tobias Klauser
On 2016-11-15 at 20:19:46 +0100, Florian Fainelli wrote: > Implement ethtool::nway_reset using phy_ethtool_nway_reset. We are > already using dev->phydev all over the place so this comes for free. > > Signed-off-by: Florian Fainelli Reviewed-by: Tobias Klauser

i2c: undefined option I2C_ALGO_BUSCLEAR

2016-11-15 Thread Valentin Rothberg
Hi Shardar, your commit c3ca951fe41a ("i2c: Add Tegra BPMP I2C proxy driver") popped up in today's linux-next tree, adding Kconfig option I2C_TEGRA_BPMP, which further selects I2C_ALGO_BUSCLEAR, which is nowhere defined in Kconfig. Is there a patch queued somewhere to add I2C_ALGO_BUSCLEAR to Kco

Re: [PATCH] kasan: support use-after-scope detection

2016-11-15 Thread Dmitry Vyukov
On Wed, Nov 16, 2016 at 12:40 AM, Andrew Morton wrote: > On Tue, 15 Nov 2016 17:07:25 +0100 Dmitry Vyukov wrote: > >> Gcc revision 241896 implements use-after-scope detection. >> Will be available in gcc 7. Support it in KASAN. >> >> Gcc emits 2 new callbacks to poison/unpoison large stack >> obj

Re: [PATCH] vt: fix Scroll Lock LED trigger name

2016-11-15 Thread Greg Kroah-Hartman
On Wed, Nov 16, 2016 at 12:55:57AM +0100, Maciej S. Szmigiero wrote: > There is a disagreement between drivers/tty/vt/keyboard.c and > drivers/input/input-leds.c with regard to what is a Scroll Lock LED > trigger name: input calls it "kbd-scrolllock", but vt calls it > "kbd-scrollock" (two l's). >

Re: [PATCH] mm: don't cap request size based on read-ahead setting

2016-11-15 Thread Hillf Danton
On Wednesday, November 16, 2016 12:31 PM Jens Axboe wrote: > @@ -369,10 +369,25 @@ ondemand_readahead(struct address_space *mapping, > bool hit_readahead_marker, pgoff_t offset, > unsigned long req_size) > { > - unsigned long max = ra->ra_pages; > + unsig

[PATCH v2] kasan: support use-after-scope detection

2016-11-15 Thread Dmitry Vyukov
Gcc revision 241896 implements use-after-scope detection. Will be available in gcc 7. Support it in KASAN. Gcc emits 2 new callbacks to poison/unpoison large stack objects when they go in/out of scope. Implement the callbacks and add a test. Signed-off-by: Dmitry Vyukov Cc: aryabi...@virtuozzo.c

Re: Patch procedure

2016-11-15 Thread Walt Feasel
On Tue, Nov 15, 2016 at 08:55:11AM +, Ioana Ciornei wrote: > > > -Original Message- > > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > > ow...@vger.kernel.org] On Behalf Of feas > > Sent: Monday, November 14, 2016 7:16 PM > > To: de...@driverdev.osuosl.org; gre...@lin

Re: [OpenRISC] [PATCH v2 8/9] openrisc: Updates after openrisc.net has been lost

2016-11-15 Thread Olof Kindgren
On Mon, Nov 14, 2016 at 2:30 PM, Stafford Horne wrote: > The openrisc.net domain expired and was taken over by squatters. > These updates point documentation to the new domain, mailing lists > and git repos. > > Also, Jonas is not the main maintainer anylonger, he reviews changes > but does not ma

Re: [PATCH v2] staging: slicoss: fix different address space warnings

2016-11-15 Thread Greg KH
On Wed, Nov 16, 2016 at 05:07:37AM +0100, Sergio Paracuellos wrote: > This patch fix the following sparse warnings in slicoss driver: > warning: incorrect type in assignment (different address spaces) > > Changes in v2: > * Remove IOMEM_GET_FIELDADDR macro > * Add ioread64 and iowrite64 defines >

Re: [PATCH 1/3] virtio: Basic implementation of virtio pstore driver

2016-11-15 Thread Namhyung Kim
Hi, On Tue, Nov 15, 2016 at 11:38 PM, Paolo Bonzini wrote: > > > On 15/11/2016 15:36, Namhyung Kim wrote: >> Hi, >> >> On Tue, Nov 15, 2016 at 10:57:29AM +0100, Paolo Bonzini wrote: >>> >>> >>> On 15/11/2016 06:06, Michael S. Tsirkin wrote: On Tue, Nov 15, 2016 at 01:50:21PM +0900, Namhyung

[RESEND PATCH v7 3/3] clocksource: Add clockevent support to NPS400 driver

2016-11-15 Thread Noam Camus
From: Noam Camus Till now we used clockevent from generic ARC driver. This was enough as long as we worked with simple multicore SoC. When we are working with multithread SoC each HW thread can be scheduled to receive timer interrupt using timer mask register. This patch will provide a way to con

Re: [PATCH] clk: qoriq: added ls1012a clock configuration

2016-11-15 Thread Scott Wood
On Wed, 2016-11-16 at 13:58 +0800, yuantian.t...@nxp.com wrote: > From: Tang Yuantian > > Added ls1012a clock configuation information. Do we really need the same line in the changelog twice? > > Signed-off-by: Tang Yuantian > --- >  drivers/clk/clk-qoriq.c | 19 +++ >  1 file

[RESEND PATCH v7 1/3] soc: Support for NPS HW scheduling

2016-11-15 Thread Noam Camus
From: Noam Camus This new header file is for NPS400 SoC (part of ARC architecture). The header file includes macros for save/restore of HW scheduling. The control of HW scheduling is achieved by writing core registers. This code was moved from arc/plat-eznps so it can be used from drivers/clockso

Re: [PATCH v3 0/8] pstore: Improve performance of ftrace backend with ramoops

2016-11-15 Thread Joel Fernandes
On Tue, Nov 15, 2016 at 2:14 PM, Kees Cook wrote: > On Tue, Nov 15, 2016 at 2:06 PM, Joel Fernandes wrote: >> Hi Kees, >> >> On Tue, Nov 15, 2016 at 1:36 PM, Kees Cook wrote: >>> On Tue, Nov 15, 2016 at 11:55 AM, Joel Fernandes wrote: Hi Kees, On Fri, Nov 11, 2016 at 2:21 PM, Kee

Re: [PATCH v4 4/4] ARM: dts: da850: Add the usb otg device nodeg

2016-11-15 Thread Sekhar Nori
On Wednesday 16 November 2016 02:49 AM, Bin Liu wrote: > On Tue, Nov 15, 2016 at 04:16:02PM +0530, Sekhar Nori wrote: >> On Thursday 03 November 2016 09:29 PM, Alexandre Bailon wrote: >>> This adds the device tree node for the usb otg >>> controller present in the da850 family of SoC's. >>> This al

[RESEND PATCH v7 0/3] Add clockevent for timer-nps driver to NPS400 SoC

2016-11-15 Thread Noam Camus
From: Noam Camus Change log --- V6 --> V7 Apply several comments made by Daniel Lezcano: 1) Remove CLOCK_EVT_FEAT_PERIODIC support. This way it is pure oneshot driver. This simplifies driver so that: nps_clkevent_add_thread() nps_clkevent_rm_thread() are more clearer without any vague logic i

[RESEND PATCH v7 2/3] clocksource: update "fn" at CLOCKSOURCE_OF_DECLARE() of nps400 timer

2016-11-15 Thread Noam Camus
From: Noam Camus nps_setup_clocksource() should take node as only argument as defined by typedef int (*of_init_fn_1_ret)(struct device_node *) Therefore need to replace: int __init nps_setup_clocksource(struct device_node *node, struct clk *clk) with int __init nps_setup_clocksource(struct devic

[PATCH] edac: mpc85xx: implement "remove" for mpc85xx_pci_err_driver

2016-11-15 Thread yanjiang.jin
From: Yanjiang Jin Tested on a T4240QDS board. If we execute the below steps without this patch: 1. modprobe mpc85xx_edac [The first insmod, everything is well.] 2. modprobe -r mpc85xx_edac 3. modprobe mpc85xx_edac [insmod again, error happens.] We would get the below error: BUG: recent print

[PATCH v4 2/6] usb: chipidea: use bus->sysdev for DMA configuration

2016-11-15 Thread Sriram Dash
From: Arnd Bergmann Set the dma for chipidea from sysdev. This is inherited from its parent node. Also, do not set dma mask for child as it is not required now. Signed-off-by: Arnd Bergmann Signed-off-by: Sriram Dash Acked-by: Peter Chen --- Changes in v4: - No update Changes in v3: - No

[PATCH] clk: qoriq: added ls1012a clock configuration

2016-11-15 Thread yuantian.tang
From: Tang Yuantian Added ls1012a clock configuation information. Signed-off-by: Tang Yuantian --- drivers/clk/clk-qoriq.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/drivers/clk/clk-qoriq.c b/drivers/clk/clk-qoriq.c index 1bece0f..563d874 100644 --- a/drivers/clk/

[PATCH v4 4/6] usb: xhci: use bus->sysdev for DMA configuration

2016-11-15 Thread Sriram Dash
From: Arnd Bergmann For xhci-hcd platform device, all the DMA parameters are not configured properly, notably dma ops for dwc3 devices. So, set the dma for xhci from sysdev. sysdev is pointing to device that is known to the system firmware or hardware. Signed-off-by: Arnd Bergmann Signed-off-by

[PATCH v4 3/6] usb: ehci: fsl: use bus->sysdev for DMA configuration

2016-11-15 Thread Sriram Dash
From: Arnd Bergmann For the dual role ehci fsl driver, sysdev will handle the dma config. Signed-off-by: Arnd Bergmann Signed-off-by: Sriram Dash --- Changes in v4: - No update Changes in v3: - fix compile errors Changes in v2: - fix compile warnings drivers/usb/host/ehci-fsl.c | 4 ++

Re: [GIT PULL] fbdev fixes for 4.9

2016-11-15 Thread Michael Ellerman
Tomi Valkeinen writes: > [ Unknown signature status ] > On 14/11/16 18:25, Linus Torvalds wrote: >> On Mon, Nov 14, 2016 at 3:44 AM, Tomi Valkeinen >> wrote: >>> >>> Please pull two fbdev fixes for 4.9. >> >> No. >> >> This has obviously never even been test-compiled. It introduces two >> new

Re: [RFC PATCH] xen/x86: Increase xen_e820_map to E820_X_MAX possible entries

2016-11-15 Thread Juergen Gross
On 15/11/16 16:22, Alex Thorlton wrote: > On Tue, Nov 15, 2016 at 10:55:49AM +0100, Juergen Gross wrote: >> I'd go with the new error code. What about E2BIG or ENOSPC? >> >> I think the hypervisor should fill in the number of entries required >> in this case. >> >> In case nobody objects I can post

[PATCH v2 5/8] perf sched timehist: Add -w/--wakeups option

2016-11-15 Thread Namhyung Kim
From: David Ahern The -w option is to show wakeup events with timehist. $ perf sched timehist -w timecpu task name b/n time sch delay run time [tid/pid](msec) (msec) (msec) --- -- ---

Re: linux-next: unable to fetch the amlogic tree

2016-11-15 Thread Kevin Hilman
HI Stephen, On Tue, Nov 15, 2016 at 2:18 PM, Stephen Rothwell wrote: > Hi all, > > Fetching the amlogic tree > (git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic.git#for-next) > produces this error: > > fatal: Couldn't find remote ref refs/heads/for-next Hmm, must've been bad t

[PATCH v4 5/6] usb: dwc3: use bus->sysdev for DMA configuration

2016-11-15 Thread Sriram Dash
From: Arnd Bergmann The dma ops for dwc3 devices are not set properly. So, use a physical device sysdev, which will be inherited from parent, to set the hardware / firmware parameters like dma. Signed-off-by: Arnd Bergmann Signed-off-by: Sriram Dash Signed-off-by: Felipe Balbi Tested-by: Baol

RE: [PATCH] btusb: fix zero BD address problem during stress test

2016-11-15 Thread Amitkumar Karwar
Hi Marcel, > From: Amitkumar Karwar [mailto:akar...@marvell.com] > Sent: Tuesday, October 18, 2016 6:27 PM > To: linux-blueto...@vger.kernel.org > Cc: mar...@holtmann.org; linux-kernel@vger.kernel.org; Cathy Luo; > Nishant Sarmukadam; Ganapathi Bhat; Amitkumar Karwar > Subject: [PATCH] btusb: fix

[PATCH v4 6/6] usb: dwc3: Do not set dma coherent mask

2016-11-15 Thread Sriram Dash
From: Arnd Bergmann The dma mask is correctly set up by the DT probe function, no need to override it any more. Signed-off-by: Arnd Bergmann Signed-off-by: Sriram Dash --- Changes in v4: - No update Changes in v3: - No update Changes in v2: - club the cleanup for dma coherent mask for

[PATCH v4 1/6] usb: separate out sysdev pointer from usb_bus

2016-11-15 Thread Sriram Dash
From: Arnd Bergmann For xhci-hcd platform device, all the DMA parameters are not configured properly, notably dma ops for dwc3 devices. The idea here is that you pass in the parent of_node along with the child device pointer, so it would behave exactly like the parent already does. The differenc

[PATCH v4 0/6] inherit dma configuration from parent dev

2016-11-15 Thread Sriram Dash
For xhci-hcd platform device, all the DMA parameters are not configured properly, notably dma ops for dwc3 devices. The idea here is that you pass in the parent of_node along with the child device pointer, so it would behave exactly like the parent already does. The difference is that it also hand

Re: [PATCH] drm/bridge: analogix_dp: return error if transfer none byte

2016-11-15 Thread Archit Taneja
On 11/15/2016 10:39 PM, Sean Paul wrote: On Thu, Nov 3, 2016 at 3:17 AM, Jianqun Xu wrote: Reference from drm_dp_aux description (about transfer): Upon success, the implementation should return the number of payload bytes that were transferred, or a negative error-code on failure. Helpers pro

[PATCH v2 2/8] perf tools: Support printing callchains with arrows

2016-11-15 Thread Namhyung Kim
The EVSEL__PRINT_CALLCHAIN_ARROW options can be used to print callchains with arrows for readability. It will be used 'sched timehist' command like below: __schedule <- schedule <- schedule_timeout <- rcu_gp_kthread <- kthread <- ret_from_fork __schedule <- schedule <- schedule_timeout <

[PATCH v2 1/8] perf symbol: Print symbol offsets conditionally

2016-11-15 Thread Namhyung Kim
The __symbol__fprintf_symname_offs() always shows symbol offsets. So there's no difference between 'perf script -F ip,sym' and 'perf script -F ip,sym,symoff'. I don't think it's a desired behavior.. Signed-off-by: Namhyung Kim --- tools/perf/util/evsel_fprintf.c | 6 -- tools/perf/util/s

[PATCH v2 8/8] perf sched: Add documentation for timehist options

2016-11-15 Thread Namhyung Kim
From: David Ahern Add entry to perf-sched documentation for timehist command and its options. Signed-off-by: David Ahern Signed-off-by: Namhyung Kim --- tools/perf/Documentation/perf-sched.txt | 46 +++-- 1 file changed, 44 insertions(+), 2 deletions(-) diff --git

[PATCHSET 0/7] perf sched: Introduce timehist command, again (v2)

2016-11-15 Thread Namhyung Kim
Hello, This patchset is a rebased version of David's sched timehist work [1]. I plan to improve perf sched command more and think that having timehist command before the work looks good. It seems David is busy these days, so I'm retrying it by myself. * changes in v2) - change name 'b/n time'

[PATCH v2 7/8] perf sched timehist: Add -V/--cpu-visual option

2016-11-15 Thread Namhyung Kim
From: David Ahern The -V option provides a visual aid for sched switches by cpu: $ perf sched timehist -V timecpu 0123456789abc task name b/n time sch delay run time [tid/pid](msec) (msec) (ms

[PATCH v2 3/8] perf sched timehist: Introduce timehist command

2016-11-15 Thread Namhyung Kim
From: David Ahern 'perf sched timehist' provides an analysis of scheduling events. Example usage: perf sched record -- sleep 1 perf sched timehist By default it shows the individual schedule events, including the wait time (time between sched-out and next sched-in events for the task),

[PATCH v2 4/8] perf sched timehist: Add summary options

2016-11-15 Thread Namhyung Kim
From: David Ahern The -s/--summary option is to show process runtime statistics. And the -S/--with-summary option is to show the stats with the normal output. $ perf sched timehist -s Runtime summary comm parent sched-in run-timemin-run avg-run

[PATCH v2 6/8] perf sched timehist: Add call graph options

2016-11-15 Thread Namhyung Kim
From: David Ahern If callchains were recorded they are appended to the line with a default stack depth of 5: 79371.874569 [0011] gcc[31949]0.0140.0001.148 wait_for_completion_killable <- do_fork <- sys_vfork <- stub_vfork <- __vfork 79371.874591 [0010] gcc[

Re: [net] 34fad54c25: kernel BUG at include/linux/skbuff.h:1935!

2016-11-15 Thread Ye Xiaolong
On 11/16, Duyck, Alexander H wrote: >On Wed, 2016-11-16 at 05:20 +0800, kernel test robot wrote: >From what I can tell it looks like the size of the frame is 0x160 hex, >or 352.  For whatever reason we are only pulling 8 bytes into the >header which is giving us an skb->len of 352 (0x160), and a sk

Re: [PATCH v12 12/22] vfio: Add notifier callback to parent's ops structure of mdev

2016-11-15 Thread Jike Song
On 11/15/2016 11:19 PM, Alex Williamson wrote: > On Tue, 15 Nov 2016 14:45:42 +0800 > Jike Song wrote: > >> On 11/14/2016 11:42 PM, Kirti Wankhede wrote: >>> Add a notifier calback to parent's ops structure of mdev device so that per >>> device notifer for vfio module is registered through vfio_m

Re: [PATCH 2/3] thermal: hisilicon: fix for dependency

2016-11-15 Thread Leo Yan
On Tue, Nov 15, 2016 at 08:24:55PM +0800, Zhang Rui wrote: > On Sat, 2016-11-12 at 20:05 +0800, Leo Yan wrote: > > Hi Rui, Eduardo, > > > > On Wed, Aug 31, 2016 at 04:50:16PM +0800, Leo Yan wrote: > > > > > > The thermal driver is standalone driver which is used to enable > > > thermal sensors, s

Re: [PATCH] tpm: drop chip->is_open and chip->duration_adjusted

2016-11-15 Thread Jason Gunthorpe
On Mon, Nov 14, 2016 at 09:11:54PM -0800, Jarkko Sakkinen wrote: > How strong is your opposition here? I do not see any exceptional damage > done but see some subtle but still significant benefits. It seems OK, but I never like seeing locking made less clear - this should be manageable, and there

Re: [PATCH v4 2/2] mailbox: Add Tegra HSP driver

2016-11-15 Thread Jassi Brar
On Tue, Nov 15, 2016 at 9:18 PM, Thierry Reding wrote: > + > +struct tegra_hsp_channel; > +struct tegra_hsp; > + > +struct tegra_hsp_channel_ops { > + int (*send_data)(struct tegra_hsp_channel *channel, void *data); > + int (*startup)(struct tegra_hsp_channel *channel); > +

Re: [RFC PATCH 2/2] ptr_ring_ll: pop/push multiple objects at once

2016-11-15 Thread Michael S. Tsirkin
On Tue, Nov 15, 2016 at 08:42:03PM -0800, John Fastabend wrote: > On 16-11-14 03:06 PM, Michael S. Tsirkin wrote: > > On Thu, Nov 10, 2016 at 08:44:32PM -0800, John Fastabend wrote: > >> Signed-off-by: John Fastabend > > > > This will naturally reduce the cache line bounce > > costs, but so will

Re: linux-next: build warning after merge of the pstore tree

2016-11-15 Thread Joel Fernandes
On Tue, Nov 15, 2016 at 4:35 PM, Kees Cook wrote: > On Tue, Nov 15, 2016 at 4:27 PM, Stephen Rothwell > wrote: >> Hi Kees, >> >> After merging the pstore tree, today's linux-next build (x86_64 >> allmodconfig) produced this warning: >> >> In file included from include/linux/rcupdate.h:38:0, >>

Re: [alsa-devel] [PATCH v2] clkdev: add devm_of_clk_get()

2016-11-15 Thread Kuninori Morimoto
Hi Rob, Michael, Russell What is the conclusion of this patch ? We shouldn't add devm_of_clk_get() ? or can I continue ? The problem of current [devm_]clk_get() handles *dev only, but I need to get clocks from DT node, not dev sound_soc { ... cpu {

[patch v5 repost 1/1] i2c: add master driver for mellanox systems

2016-11-15 Thread vadimp
From: Vadim Pasternak Device driver for Mellanox I2C controller logic, implemented in Lattice CPLD device. Device supports: - Master mode - One physical bus - Polling mode The Kconfig currently controlling compilation of this code is: drivers/i2c/busses/Kconfig:config I2C_MLXCPLD Signed-off-

Re: [PATCH] rcu: Avoid unnecessary contention of rcu node lock

2016-11-15 Thread Byungchul Park
On Wed, Nov 09, 2016 at 05:57:13PM +0900, Byungchul Park wrote: > It's unnecessary to try to print stacks of blocked tasks in the case > that ndetected == 0. Furthermore, calling rcu_print_detail_task_stall() > causes to acquire rnp locks as many times as the number of leaf nodes > plus one for roo

Re: [RFC PATCH 2/2] ptr_ring_ll: pop/push multiple objects at once

2016-11-15 Thread John Fastabend
On 16-11-14 03:06 PM, Michael S. Tsirkin wrote: > On Thu, Nov 10, 2016 at 08:44:32PM -0800, John Fastabend wrote: >> Signed-off-by: John Fastabend > > This will naturally reduce the cache line bounce > costs, but so will a _many API for ptr-ring, > doing lock-add many-unlock. > > the number of a

[PATCH] mm: don't cap request size based on read-ahead setting

2016-11-15 Thread Jens Axboe
Hi, We ran into a funky issue, where someone doing 256K buffered reads saw 128K requests at the device level. Turns out it is read-ahead capping the request size, since we use 128K as the default setting. This doesn't make a lot of sense - if someone is issuing 256K reads, they should see 256K re

Re: [PATCH v13 11/22] vfio iommu: Add blocking notifier to notify DMA_UNMAP

2016-11-15 Thread Alex Williamson
On Wed, 16 Nov 2016 09:46:20 +0530 Kirti Wankhede wrote: > On 11/16/2016 9:28 AM, Alex Williamson wrote: > > On Wed, 16 Nov 2016 09:13:37 +0530 > > Kirti Wankhede wrote: > > > >> On 11/16/2016 8:55 AM, Alex Williamson wrote: > >>> On Tue, 15 Nov 2016 20:16:12 -0700 > >>> Alex Williamson wr

Re: [PATCH v5] drm/mediatek: fixed the calc method of data rate per lane

2016-11-15 Thread Daniel Kurtz
Hi Jitao, On Wed, Nov 16, 2016 at 11:20 AM, Jitao Shi wrote: > > Tune dsi frame rate by pixel clock, dsi add some extra signal (i.e. > Tlpx, Ths-prepare, Ths-zero, Ths-trail,Ths-exit) when enter and exit LP > mode, those signals will cause h-time larger than normal and reduce FPS. > So need to mu

Re: [PATCH] nvmem: qfprom: Fix to support single byte read/write

2016-11-15 Thread Vivek Gautam
Hi Stephen, On Wed, Nov 16, 2016 at 12:29 AM, Stephen Boyd wrote: > On 11/15, Vivek Gautam wrote: >> @@ -53,7 +53,7 @@ static int qfprom_remove(struct platform_device *pdev) >> static struct nvmem_config econfig = { >> .name = "qfprom", >> .owner = THIS_MODULE, >> - .stride = 4,

Re: [RFC PATCH 1/2] net: use cmpxchg instead of spinlock in ptr rings

2016-11-15 Thread John Fastabend
On 16-11-14 03:01 PM, Michael S. Tsirkin wrote: > On Thu, Nov 10, 2016 at 08:44:08PM -0800, John Fastabend wrote: >> >> --- >> include/linux/ptr_ring_ll.h | 136 >> +++ >> include/linux/skb_array.h | 25 >> 2 files changed, 161 insertions(+) >

linux-next: Tree for Nov 16

2016-11-15 Thread Stephen Rothwell
Hi all, Changes since 20161115: Non-merge commits (relative to Linus' tree): 5617 5979 files changed, 365287 insertions(+), 131171 deletions(-) I have created today's linux-next tree at git://git.kernel.o

Re: [PATCH v7 06/11] x86, paravirt: Add interface to support kvm/xen vcpu preempted check

2016-11-15 Thread Pan Xinhui
在 2016/11/15 23:47, Peter Zijlstra 写道: On Wed, Nov 02, 2016 at 05:08:33AM -0400, Pan Xinhui wrote: diff --git a/arch/x86/include/asm/paravirt_types.h b/arch/x86/include/asm/paravirt_types.h index 0f400c0..38c3bb7 100644 --- a/arch/x86/include/asm/paravirt_types.h +++ b/arch/x86/include/asm/pa

Re: [PATCH v13 11/22] vfio iommu: Add blocking notifier to notify DMA_UNMAP

2016-11-15 Thread Kirti Wankhede
On 11/16/2016 9:28 AM, Alex Williamson wrote: > On Wed, 16 Nov 2016 09:13:37 +0530 > Kirti Wankhede wrote: > >> On 11/16/2016 8:55 AM, Alex Williamson wrote: >>> On Tue, 15 Nov 2016 20:16:12 -0700 >>> Alex Williamson wrote: >>> On Wed, 16 Nov 2016 08:16:15 +0530 Kirti Wankhede wr

[PATCH v2] staging: slicoss: fix different address space warnings

2016-11-15 Thread Sergio Paracuellos
This patch fix the following sparse warnings in slicoss driver: warning: incorrect type in assignment (different address spaces) Changes in v2: * Remove IOMEM_GET_FIELDADDR macro * Add ioread64 and iowrite64 defines Signed-off-by: Sergio Paracuellos --- drivers/staging/slicoss/slicoss.c | 111 +

Re: [PATCH v13 11/22] vfio iommu: Add blocking notifier to notify DMA_UNMAP

2016-11-15 Thread Alex Williamson
On Wed, 16 Nov 2016 09:13:37 +0530 Kirti Wankhede wrote: > On 11/16/2016 8:55 AM, Alex Williamson wrote: > > On Tue, 15 Nov 2016 20:16:12 -0700 > > Alex Williamson wrote: > > > >> On Wed, 16 Nov 2016 08:16:15 +0530 > >> Kirti Wankhede wrote: > >> > >>> On 11/16/2016 3:49 AM, Alex Williamso

[PATCH 2/2] ahci: qoriq: report warning when ecc register is missing

2016-11-15 Thread yuantian.tang
From: Tang Yuantian For ls1021a and ls1046a socs, sata ecc must be disabled. If ecc register is not found in sata node in dts, report a warning. Signed-off-by: Tang Yuantian --- drivers/ata/ahci_qoriq.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/ata/ahci_qoriq.c b/drivers/at

[PATCH 1/2] ahci: qoriq: added a condition to enable dma coherence

2016-11-15 Thread yuantian.tang
From: Tang Yuantian Enable DMA coherence in SATA controller on condition that dma-coherent property exists in sata node in DTS. Signed-off-by: Tang Yuantian --- drivers/ata/ahci_qoriq.c | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/drivers/ata/ahci_qoriq.

Re: [PATCH v3] cpufreq: conservative: Decrease frequency faster when the update deferred

2016-11-15 Thread Viresh Kumar
On 15-11-16, 23:25, Stratos Karafotis wrote: > diff --git a/drivers/cpufreq/cpufreq_conservative.c > b/drivers/cpufreq/cpufreq_conservative.c > index 0681fcf..808cc4d 100644 > --- a/drivers/cpufreq/cpufreq_conservative.c > +++ b/drivers/cpufreq/cpufreq_conservative.c > @@ -66,6 +66,7 @@ static uns

Re: [PATCH] um: Fix compile failure due to current_text_address() definition

2016-11-15 Thread Keno Fischer
Just as an FYI, the linker bug has been fixed in binutils. On Fri, Nov 11, 2016 at 5:07 PM, Richard Weinberger wrote: > On 11.11.2016 22:03, Keno Fischer wrote: >> Did you have CONFIG_INET set? I'm attaching my full .config. This is >> on vanilla Ubuntu 16.10. > > Yes, CONFIG_INET is set. Let my

Re: [PATCH v13 11/22] vfio iommu: Add blocking notifier to notify DMA_UNMAP

2016-11-15 Thread Kirti Wankhede
On 11/16/2016 8:55 AM, Alex Williamson wrote: > On Tue, 15 Nov 2016 20:16:12 -0700 > Alex Williamson wrote: > >> On Wed, 16 Nov 2016 08:16:15 +0530 >> Kirti Wankhede wrote: >> >>> On 11/16/2016 3:49 AM, Alex Williamson wrote: On Tue, 15 Nov 2016 20:59:54 +0530 Kirti Wankhede wrote

Re: [PATCH net-next v8 0/9] dpaa_eth: Add the QorIQ DPAA Ethernet driver

2016-11-15 Thread David Miller
From: Madalin Bucur Date: Tue, 15 Nov 2016 10:41:00 +0200 > This patch series adds the Ethernet driver for the Freescale > QorIQ Data Path Acceleration Architecture (DPAA). Series applied, thanks.

Re: [PATCH net-next] tcp: allow to enable the repair mode for non-listening sockets

2016-11-15 Thread David Miller
From: Andrei Vagin Date: Mon, 14 Nov 2016 18:15:14 -0800 > The repair mode is used to get and restore sequence numbers and > data from queues. It used to checkpoint/restore connections. > > Currently the repair mode can be enabled for sockets in the established > and closed states, but for other

Re: [TEST PATCH] WIP: Test OPP multi regulator support with ti-opp-domain driver

2016-11-15 Thread Viresh Kumar
Thanks for this Dave :) On 15-11-16, 16:10, Dave Gerlach wrote: > NOT FOR MERGE! > > Introduce a test version of a 'ti-opp-domain' driver that will use new > multiple regulator support introduced to the OPP core by Viresh [1]. > Tested on v4.9-rc1 with that series applied. This is needed on TI >

Re: [PATCH v13 11/22] vfio iommu: Add blocking notifier to notify DMA_UNMAP

2016-11-15 Thread Alex Williamson
On Tue, 15 Nov 2016 20:16:12 -0700 Alex Williamson wrote: > On Wed, 16 Nov 2016 08:16:15 +0530 > Kirti Wankhede wrote: > > > On 11/16/2016 3:49 AM, Alex Williamson wrote: > > > On Tue, 15 Nov 2016 20:59:54 +0530 > > > Kirti Wankhede wrote: > > > > > ... > > > > >> @@ -854,7 +857,28 @

Re: [PATCH v10 01/11] remoteproc: st_slim_rproc: add a slimcore rproc driver

2016-11-15 Thread Vinod Koul
On Mon, Nov 14, 2016 at 11:42:16AM +, Peter Griffin wrote: > Hi Vinod, > > On Mon, 14 Nov 2016, Vinod Koul wrote: > > > On Mon, Nov 07, 2016 at 01:57:35PM +, Peter Griffin wrote: > > > > > > > > As you now make changes to the entire remoteproc Kconfig file, rather > > > > than simply add

Re: [PATCH] reset: hisilicon: add a polarity cell for reset line specifier

2016-11-15 Thread Jiancheng Xue
Hi Philipp, On 2016/11/15 18:43, Philipp Zabel wrote: > Hi Jiancheng, > > Am Dienstag, den 15.11.2016, 15:09 +0800 schrieb Jiancheng Xue: >> Add a polarity cell for reset line specifier. If the reset line >> is asserted when the register bit is 1, the polarity is >> normal. Otherwise, it is inver

[PATCH v5] drm/mediatek: fixed the calc method of data rate per lane

2016-11-15 Thread Jitao Shi
Tune dsi frame rate by pixel clock, dsi add some extra signal (i.e. Tlpx, Ths-prepare, Ths-zero, Ths-trail,Ths-exit) when enter and exit LP mode, those signals will cause h-time larger than normal and reduce FPS. So need to multiply a coefficient to offset the extra signal's effect. coefficient =

linux-next: build warnings after merge of the rpmsg tree

2016-11-15 Thread Stephen Rothwell
Hi Bjorn, After merging the rpmsg tree, today's linux-next build (arm multi_v7_defconfig) produced these warnings: drivers/remoteproc/Kconfig:3:error: recursive dependency detected! For a resolution refer to Documentation/kbuild/kconfig-language.txt subsection "Kconfig recursive dependency limita

Re: [PATCH V3 1/9] PM / OPP: Reword binding supporting multiple regulators per device

2016-11-15 Thread Viresh Kumar
On 15-11-16, 16:11, Dave Gerlach wrote: > On 11/15/2016 12:56 PM, Stephen Boyd wrote: > >On 11/15, Viresh Kumar wrote: > >>There are two important pieces of information we need for multiple > >>regulator support: > >>- Which regulator in the consumer node corresponds to which entry in > >> the OPP

Re: [PATCH v13 11/22] vfio iommu: Add blocking notifier to notify DMA_UNMAP

2016-11-15 Thread Alex Williamson
On Wed, 16 Nov 2016 08:16:15 +0530 Kirti Wankhede wrote: > On 11/16/2016 3:49 AM, Alex Williamson wrote: > > On Tue, 15 Nov 2016 20:59:54 +0530 > > Kirti Wankhede wrote: > > > ... > > >> @@ -854,7 +857,28 @@ static int vfio_dma_do_unmap(struct vfio_iommu *iommu, > >> */ > >>

[PATCH -v5 1/9] mm, swap: Make swap cluster size same of THP size on x86_64

2016-11-15 Thread Huang, Ying
From: Huang Ying In this patch, the size of the swap cluster is changed to that of the THP (Transparent Huge Page) on x86_64 architecture (512). This is for the THP swap support on x86_64. Where one swap cluster will be used to hold the contents of each THP swapped out. And some information of

[PATCH -v5 2/9] mm, memcg: Support to charge/uncharge multiple swap entries

2016-11-15 Thread Huang, Ying
From: Huang Ying This patch make it possible to charge or uncharge a set of continuous swap entries in the swap cgroup. The number of swap entries is specified via an added parameter. This will be used for the THP (Transparent Huge Page) swap support. Where a swap cluster backing a THP may be a

[PATCH -v5 9/9] mm, THP, swap: Delay splitting THP during swap out

2016-11-15 Thread Huang, Ying
From: Huang Ying In this patch, splitting huge page is delayed from almost the first step of swapping out to after allocating the swap space for the THP (Transparent Huge Page) and adding the THP into the swap cache. This will reduce lock acquiring/releasing for the locks used for the swap cache

[PATCH -v5 7/9] mm, THP: Add can_split_huge_page()

2016-11-15 Thread Huang, Ying
From: Huang Ying Separates checking whether we can split the huge page from split_huge_page_to_list() into a function. This will help to check that before splitting the THP (Transparent Huge Page) really. This will be used for delaying splitting THP during swapping out. Where for a THP, we wil

[PATCH -v5 6/9] mm, THP, swap: Support to add/delete THP to/from swap cache

2016-11-15 Thread Huang, Ying
From: Huang Ying With this patch, a THP (Transparent Huge Page) can be added/deleted to/from the swap cache as a set of (HPAGE_PMD_NR) sub-pages. This will be used for the THP (Transparent Huge Page) swap support. Where one THP may be added/delted to/from the swap cache. This will batch the swa

[PATCH -v5 8/9] mm, THP, swap: Support to split THP in swap cache

2016-11-15 Thread Huang, Ying
From: Huang Ying This patch enhanced the split_huge_page_to_list() to work properly for the THP (Transparent Huge Page) in the swap cache during swapping out. This is used for delaying splitting the THP during swapping out. Where for a THP to be swapped out, we will allocate a swap cluster, add

[PATCH -v5 3/9] mm, THP, swap: Add swap cluster allocate/free functions

2016-11-15 Thread Huang, Ying
From: Huang Ying The swap cluster allocation/free functions are added based on the existing swap cluster management mechanism for SSD. These functions don't work for the rotating hard disks because the existing swap cluster management mechanism doesn't work for them. The hard disks support may

[PATCH -v5 0/9] THP swap: Delay splitting THP during swapping out

2016-11-15 Thread Huang, Ying
From: Huang Ying This patchset is to optimize the performance of Transparent Huge Page (THP) swap. Hi, Andrew, could you help me to check whether the overall design is reasonable? Hi, Hugh, Shaohua, Minchan and Rik, could you help me to review the swap part of the patchset? Especially [1/9], [

[PATCH -v5 4/9] mm, THP, swap: Add get_huge_swap_page()

2016-11-15 Thread Huang, Ying
From: Huang Ying A variation of get_swap_page(), get_huge_swap_page(), is added to allocate a swap cluster (HPAGE_PMD_NR swap slots) based on the swap cluster allocation function. A fair simple algorithm is used, that is, only the first swap device in priority list will be tried to allocate the

[PATCH -v5 5/9] mm, THP, swap: Support to clear SWAP_HAS_CACHE for huge page

2016-11-15 Thread Huang, Ying
From: Huang Ying __swapcache_free() is added to support to clear the SWAP_HAS_CACHE flag for the huge page. This will free the specified swap cluster now. Because now this function will be called only in the error path to free the swap cluster just allocated. So the corresponding swap_map[i] ==

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

2016-11-15 Thread David Miller
From: Alex Date: Mon, 14 Nov 2016 13:54:57 -0800 > > > On 11/14/2016 01:25 PM, Florian Fainelli wrote: >> On 11/14/2016 01:18 PM, David Miller wrote: >>> From: Alexandru Gagniuc >>> Date: Sat, 12 Nov 2016 15:32:13 -0800 >>> + if (phydev->interface == PHY_INTERFACE_MODE_RGMII_ID) +

[PATCH v4 3/3] Make core_pattern support namespace

2016-11-15 Thread Cao Shufeng
From: Zhao Lei Currently, each container shared one copy of coredump setting with the host system, if host system changed the setting, each running containers will be affected. Same story happened when container changed core_pattern, both host and other container will be affected. For container

[PATCH v4 1/3] Make call_usermodehelper_exec possible to set namespaces

2016-11-15 Thread Cao Shufeng
Current call_usermodehelper_work() can not set namespaces for the executed program. This patch add above function for call_usermodehelper_work(). The init_intermediate is introduced for init works which should be done before fork(). So that we get a method to set namespaces for children. The clean

[PATCH v4 0/3] Make core_pattern support namespace

2016-11-15 Thread Cao Shufeng
This patchset includes following function points: 1: Let usermodehelper function possible to set pid namespace done by: [PATCH v4 1/3] Make call_usermodehelper_exec possible to set pid namespace. 2: Let pipe_type core_pattern write dump into container's rootfs done by: [PATCH v4 2/3] Limit

[PATCH v4 2/3] Limit dump_pipe program's permission to init for container

2016-11-15 Thread Cao Shufeng
Currently when we set core_pattern to a pipe, the pipe program is forked by kthread running with root's permission, and write dumpfile into host's filesystem. Same thing happened for container, the dumper and dumpfile are also in host(not in container). It have following program: 1: Not consistent

Re: [PATCH V3 1/9] PM / OPP: Reword binding supporting multiple regulators per device

2016-11-15 Thread Viresh Kumar
On 15-11-16, 10:56, Stephen Boyd wrote: > This is also possible from C code though. Right and this is what this patchset is doing right now. To make it clear, the order of regulator names in the call dev_pm_opp_set_regulators() is used now to communicate the order in which entries are present in t

linux-next: build warning after merge of the phy-next tree

2016-11-15 Thread Stephen Rothwell
Hi Kishon, After merging the phy-next tree, today's linux-next build (x86_64 allmodconfig) produced this warning: drivers/phy/phy-rockchip-inno-usb2.c: In function 'rockchip_chg_detect_work': drivers/phy/phy-rockchip-inno-usb2.c:717:7: warning: 'tmout' may be used uninitialized in this function

Re: [PATCH] usb: dwc3: core: Disable USB2.0 phy suspend when dwc3 acts as host role

2016-11-15 Thread Baolin Wang
Hi, On 15 November 2016 at 18:49, Felipe Balbi wrote: > > Hi, > > Baolin Wang writes: >> When dwc3 controller acts as host role with attaching slow speed device >> (like mouse or keypad). Then if we plugged out the slow speed device, >> it will timeout to run the deconfiguration endpoint command

Re: [PATCH -RFC] moduleparam: introduce core_param_named macro for non-modular code

2016-11-15 Thread Rusty Russell
Paul Gortmaker writes: > We have the case where module_param_named() in file "foo.c" for > parameter myparam translates that into the bootarg for the > non-modular use case as "foo.myparam=..." > > The problem exists where the use case with the filename and the > dot prefix is established, but the

  1   2   3   4   5   6   7   8   9   10   >