Re: [PATCH v4 6/7] net: ethernet: bgmac: add NS2 support

2016-11-01 Thread Scott Branden
One change in this patch On 16-11-01 01:04 PM, Jon Mason wrote: Add support for the variant of amac hardware present in the Broadcom Northstar2 based SoCs. Northstar2 requires an additional register to be configured with the port speed/duplexity (NICPM). This can be added to the link callback

Re: [PATCH 9/9] clocksource: import ARC timer driver

2016-11-01 Thread Daniel Lezcano
On Mon, Oct 31, 2016 at 03:48:16PM -0700, Vineet Gupta wrote: > Signed-off-by: Vineet Gupta > --- > MAINTAINERS| 1 + > arch/arc/Kconfig | 12 + > arch/arc/kernel/Makefile | 2 +- > drive

Re: [ANNOUNCE] Git v2.11.0-rc0

2016-11-01 Thread Stefan Beller
> * "git clone --resurse-submodules --reference $path $URL" is a way to "recurse"

Re: S3 resume regression [1cf4f629d9d2 ("cpu/hotplug: Move online calls to hotplugged cpu")]

2016-11-01 Thread Ville Syrjälä
On Fri, Oct 28, 2016 at 08:58:41PM +0200, Thomas Gleixner wrote: > On Fri, 28 Oct 2016, Ville Syrjälä wrote: > > On Thu, Oct 27, 2016 at 10:41:18PM +0200, Thomas Gleixner wrote: > > > On Thu, 27 Oct 2016, Ville Syrjälä wrote: > > > > On Thu, Oct 27, 2016 at 09:25:05PM +0200, Thomas Gleixner wrote:

Re: [PATCH v4 2/7] Documentation: devicetree: add PHY lane swap binding

2016-11-01 Thread Andrew Lunn
> +- enet-phy-lane-swap: If set, indicates the PHY device requires swapping the > + TX/RX lanes to function properly. Is 'requires' the right word here? The PHY performs the actual swap of the Tx/Rx lanes. Andrew

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

2016-11-01 Thread Marc Zyngier
On Tue, Nov 01 2016 at 11:52:01 AM, Youlin Pei wrote: > In Mediatek SOCs, the CIRQ is a low power interrupt controller > designed to works outside MCUSYS which comprises with Cortex-Ax > cores,CCI and GIC. > > The CIRQ controller is integrated in between MCUSYS( include > Cortex-Ax, CCI and GIC )

Re: [PATCH] net: ip, diag -- Adjust raw_abort to use unlocked __udp_disconnect

2016-11-01 Thread Eric Dumazet
On Tue, 2016-11-01 at 23:05 +0300, Cyrill Gorcunov wrote: > While being preparing patches for killing raw sockets via > diag netlink interface I noticed that my runs are stuck: > > | [root@pcs7 ~]# cat /proc/`pidof ss`/stack > | [] __lock_sock+0x80/0xc4 > | [] lock_sock_nested+0x47/0x95 > | []

Re: [PATCH 9/9] clocksource: import ARC timer driver

2016-11-01 Thread Vineet Gupta
Hi Daniel, On 11/01/2016 01:42 PM, Daniel Lezcano wrote: > Please stay consistent with the rest of the Kconfig. > > config ARC_TIMER_RTC > bool "64-bit cycle counter in HS38 cores" if COMPILE_TEST > select CLKSRC_OF > help > This counter provides 64-bit resolution vs. th

RE: [tpmdd-devel] tpm_tis regression in 4.9?

2016-11-01 Thread Winkler, Tomas
> > On Mon, Oct 31, 2016 at 08:16:59PM +, Winkler, Tomas wrote: > > > > > > On Fri, Oct 28, 2016 at 05:37:45PM +0300, Jarkko Sakkinen wrote: > > > > > > > > I think this patch from Jarkko's next is the fix: > > > > > > > > > > http://git.infradead.org/users/jjs/linux-tpmdd.git/commit/65da72b7d

Re: [PATCH] net: ip, diag -- Adjust raw_abort to use unlocked __udp_disconnect

2016-11-01 Thread Cyrill Gorcunov
On Tue, Nov 01, 2016 at 01:52:34PM -0700, Eric Dumazet wrote: > > The preferred way to cite a bug origin is : > > Fixes: 286c72deabaa ("udp: must lock the socket in udp_disconnect()") Aha. Thank you, will do this way next time. > > CC: David S. Miller > > CC: Eric Dumazet > > CC: David Ahern

Re: [PATCH v4 2/7] Documentation: devicetree: add PHY lane swap binding

2016-11-01 Thread Jon Mason
On Tue, Nov 01, 2016 at 09:48:26PM +0100, Andrew Lunn wrote: > > +- enet-phy-lane-swap: If set, indicates the PHY device requires swapping > > the > > + TX/RX lanes to function properly. > > Is 'requires' the right word here? The PHY performs the actual swap of > the Tx/Rx lanes. What I'm tryin

Re: [PATCH v4 2/7] Documentation: devicetree: add PHY lane swap binding

2016-11-01 Thread Scott Branden
On 16-11-01 01:59 PM, Jon Mason wrote: On Tue, Nov 01, 2016 at 09:48:26PM +0100, Andrew Lunn wrote: +- enet-phy-lane-swap: If set, indicates the PHY device requires swapping the + TX/RX lanes to function properly. Is 'requires' the right word here? The PHY performs the actual swap of the Tx

Re: [PATCH v2 2/3] cpuidle:powernv: Add helper function to populate powernv idle states.

2016-11-01 Thread Paul Mackerras
On Tue, Nov 01, 2016 at 07:32:58PM +1100, Oliver O'Halloran wrote: > On Thu, Oct 27, 2016 at 7:35 PM, Gautham R. Shenoy > wrote: > > From: "Gautham R. Shenoy" > > > > In the current code for powernv_add_idle_states, there is a lot of code > > duplication while initializing an idle state in powern

Re: [PATCHv3 1/3] z3fold: make counters atomic

2016-11-01 Thread Vitaly Wool
On Tue, Nov 1, 2016 at 9:03 PM, Dan Streetman wrote: > On Thu, Oct 27, 2016 at 7:08 AM, Vitaly Wool wrote: >> This patch converts pages_nr per-pool counter to atomic64_t. >> It also introduces a new counter, unbuddied_nr, which is >> atomic64_t, too, to track the number of unbuddied (compactable)

[PATCH 2/4] block: move poll code to blk-mq

2016-11-01 Thread Jens Axboe
The poll code is blk-mq specific, let's move it to blk-mq.c. This is a prep patch for improving the polling code. Signed-off-by: Jens Axboe --- block/blk-core.c | 36 +--- block/blk-mq.c | 33 + block/blk-mq.h | 2 ++ 3 files c

Re: [PATCH v4 6/7] net: ethernet: bgmac: add NS2 support

2016-11-01 Thread Jon Mason
On Tue, Nov 01, 2016 at 01:34:30PM -0700, Scott Branden wrote: > One change in this patch > > On 16-11-01 01:04 PM, Jon Mason wrote: > >Add support for the variant of amac hardware present in the Broadcom > >Northstar2 based SoCs. Northstar2 requires an additional register to be > >configured wit

Re: [PATCHv3 2/3] z3fold: change per-pool spinlock to rwlock

2016-11-01 Thread Vitaly Wool
On Tue, Nov 1, 2016 at 9:16 PM, Dan Streetman wrote: > On Thu, Oct 27, 2016 at 7:12 AM, Vitaly Wool wrote: >> Mapping/unmapping goes with no actual modifications so it makes >> sense to only take a read lock in map/unmap functions. >> >> This change gives up to 10% performance gain and lower late

[PATCH 4/4] blk-mq: make the polling code adaptive

2016-11-01 Thread Jens Axboe
The previous commit introduced the hybrid sleep/poll mode. Take that one step further, and use the completion latencies to automatically sleep for half the mean completion time. This is a good approximation. This changes the 'io_poll_delay' sysfs file a bit to expose the various options. Depending

[PATCHSET] block: IO polling improvements

2016-11-01 Thread Jens Axboe
This builds on top of Christophs simplified bdev O_DIRECT code, posted earlier today [1]. This patchset adds support for a hybrid polling mode, where a poll cycle can be split into an upfront sleep, then a busy poll. On the devices where we care about IO polling, generally we have fairly determini

[PATCH 3/4] blk-mq: implement hybrid poll mode for sync O_DIRECT

2016-11-01 Thread Jens Axboe
This patch enables a hybrid polling mode. Instead of polling after IO submission, we can induce an artificial delay, and then poll after that. For example, if the IO is presumed to complete in 8 usecs from now, we can sleep for 4 usecs, wake up, and then do our polling. This still puts a sleep/wake

[PATCH 1/4] block: add scalable completion tracking of requests

2016-11-01 Thread Jens Axboe
For legacy block, we simply track them in the request queue. For blk-mq, we track them on a per-sw queue basis, which we can then sum up through the hardware queues and finally to a per device state. The stats are tracked in, roughly, 0.1s interval windows. Add sysfs files to display the stats.

Re: [RFC v3 1/6] Track the active utilisation

2016-11-01 Thread luca abeni
Hi Juri, On Tue, 1 Nov 2016 16:45:43 + Juri Lelli wrote: > Hi, > > a few nitpicks on subject and changelog and a couple of questions below. > > Subject should be changed to something like > > sched/deadline: track the active utilisation Ok; that's easy :) I guess a similar change should

Re: [PATCH v4 2/7] Documentation: devicetree: add PHY lane swap binding

2016-11-01 Thread Andrew Lunn
> If set, indicates the PHY will swap the TX/RX lanes to compensate > for the board being designed with the lanes swapped. Thanks, much better. Andrew

[PATCH 8/8] block: hook up writeback throttling

2016-11-01 Thread Jens Axboe
Enable throttling of buffered writeback to make it a lot more smooth, and has way less impact on other system activity. Background writeback should be, by definition, background activity. The fact that we flush huge bundles of it at the time means that it potentially has heavy impacts on foreground

RE: [RFC/RFT][PATCH] cpufreq: intel_pstate: Generic governors support

2016-11-01 Thread Doug Smythies
On 2016.10.22 17:17 Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > There may be reasons to use generic cpufreq governors (eg. schedutil) > on Intel platforms instead of the intel_pstate driver's internal > governor. However, that currently can only be done by disabling > intel_pstate alt

[PATCH 7/8] blk-wbt: add general throttling mechanism

2016-11-01 Thread Jens Axboe
We can hook this up to the block layer, to help throttle buffered writes. wbt registers a few trace points that can be used to track what is happening in the system: wbt_lat: 259:0: latency 2446318 wbt_stat: 259:0: rmean=2446318, rmin=2446318, rmax=2446318, rsamples=1, wmean=518866

[PATCH 4/8] writeback: track if we're sleeping on progress in balance_dirty_pages()

2016-11-01 Thread Jens Axboe
Note in the bdi_writeback structure whenever a task ends up sleeping waiting for progress. We can use that information in the lower layers to increase the priority of writes. Signed-off-by: Jens Axboe --- include/linux/backing-dev-defs.h | 2 ++ mm/backing-dev.c | 1 + mm/page-wr

[PATCH 3/8] writeback: mark background writeback as such

2016-11-01 Thread Jens Axboe
If we're doing background type writes, then use the appropriate background write flags for that. Signed-off-by: Jens Axboe --- include/linux/writeback.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/writeback.h b/include/linux/writeback.h index 50c96ee8108f..c78f9f0920b5 10

[PATCH 2/8] writeback: add wbc_to_write_flags()

2016-11-01 Thread Jens Axboe
Add wbc_to_write_flags(), which returns the write modifier flags to use, based on a struct writeback_control. No functional changes in this patch, but it prepares us for factoring other wbc fields for write type. Signed-off-by: Jens Axboe Reviewed-by: Jan Kara --- fs/buffer.c | 2

[PATCHSET] Throttled buffered writeback

2016-11-01 Thread Jens Axboe
I have addressed the (small) review comments from Christoph, and rebased it on top of for-4.10/block, since that now has the flag unification and fs side cleanups as well. This impacted the prep patches, and the wbt code. I'd really like to get this merged for 4.10. It's block specific at this poi

[PATCH 6/8] block: add scalable completion tracking of requests

2016-11-01 Thread Jens Axboe
For legacy block, we simply track them in the request queue. For blk-mq, we track them on a per-sw queue basis, which we can then sum up through the hardware queues and finally to a per device state. The stats are tracked in, roughly, 0.1s interval windows. Add sysfs files to display the stats.

[PATCH 5/8] block: add code to track actual device queue depth

2016-11-01 Thread Jens Axboe
For blk-mq, ->nr_requests does track queue depth, at least at init time. But for the older queue paths, it's simply a soft setting. On top of that, it's generally larger than the hardware setting on purpose, to allow backup of requests for merging. Fill a hole in struct request with a 'queue_depth

[PATCH v2 0/3] Clean up watchdog handlers

2016-11-01 Thread Babu Moger
This is an attempt to cleanup watchdog handlers. Right now, kernel/watchdog.c implements both softlockup and hardlockup detectors. Softlockup code is generic. Hardlockup code is arch specific. Some architectures don't use hardlockup detectors. They use their own watchdog detectors. To make both the

[PATCH 1/8] block: add WRITE_BACKGROUND

2016-11-01 Thread Jens Axboe
This adds a new request flag, REQ_BACKGROUND, that callers can use to tell the block layer that this is background (non-urgent) IO. Signed-off-by: Jens Axboe --- include/linux/blk_types.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/blk_types.h b/include/linux/blk_types.h

[PATCH v2 2/3] watchdog: Move hardlockup detector to separate file

2016-11-01 Thread Babu Moger
Separate hardlockup code from watchdog.c and move it to watchdog_hld.c. It is mostly straight forward. Remove everything inside CONFIG_HARDLOCKUP_DETECTORS. This code will go to file watchdog_hld.c. Also update the makefile accordigly. Signed-off-by: Babu Moger --- kernel/Makefile |1 +

[PATCH v2 1/3] watchdog: Move shared definitions to nmi.h

2016-11-01 Thread Babu Moger
Move shared macros and definitions to nmi.h so that watchdog.c, new file watchdog_hld.c or any other architecture specific handler can use those definitions. Signed-off-by: Babu Moger --- include/linux/nmi.h | 24 kernel/watchdog.c | 28

[PATCH v2 3/3] sparc: Implement watchdog_nmi_enable and watchdog_nmi_disable

2016-11-01 Thread Babu Moger
Implement functions watchdog_nmi_enable and watchdog_nmi_disable to enable/disable nmi watchdog. Sparc uses arch specific nmi watchdog handler. Currently, we do not have a way to enable/disable nmi watchdog dynamically. With these patches we can enable or disable arch specific nmi watchdogs using p

[PATCH] spi: imx: set spi_bus_clk for mx21 and mx27

2016-11-01 Thread Robert Baldyga
Introduce additional output parameter in spi_imx_clkdiv_1() function to return result frequency and set it to spi_bus_clk. This fixes division by zero bug, which occurred in spi_imx_calculate_timeout() function. Signed-off-by: Robert Baldyga --- drivers/spi/spi-imx.c | 14 +- 1 file

Re: [GIT PULL] lkdtm fixes for v4.9-rc4

2016-11-01 Thread Kees Cook
On Tue, Nov 1, 2016 at 1:19 PM, Greg KH wrote: > On Tue, Nov 01, 2016 at 10:32:03AM -0700, Kees Cook wrote: >> Hi, >> >> Please pull this lkdtm fix for v4.9-rc4. >> >> Thanks! >> >> -Kees >> >> The following changes since commit 07d9a380680d1c0eb51ef87ff2eab5c994949e69: >> >> Linux 4.9-rc2 (2016

Re: [PATCH 0/4 v2] Audio support for adv7511 hdmi bridge

2016-11-01 Thread John Stultz
On Tue, Oct 18, 2016 at 5:26 PM, Kuninori Morimoto wrote: > >> > Here's what I'm using to get it working: >> > https://git.linaro.org/people/john.stultz/android-dev.git/commitdiff/1024cb4 >> > 85b6f00a7e355ce60425f04a584481148 >> >> Thank you. >> >> We need to standardize DT bindings for HDMI soun

[PATCH] lkdtm: Do not use flush_icache_range() on user addresses

2016-11-01 Thread Kees Cook
From: Catalin Marinas The flush_icache_range() API is meant to be used on kernel addresses only as it may not have the infrastructure (exception entries) to handle user memory faults. The lkdtm execute_user_location() function tests the kernel execution of user space addresses by mmap'ing an ano

Re: [RFC v3 2/6] Improve the tracking of active utilisation

2016-11-01 Thread luca abeni
Hi Juri, On Tue, 1 Nov 2016 16:46:04 + Juri Lelli wrote: [...] > > diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c > > index 3d95c1d..80d1541 100644 > > --- a/kernel/sched/deadline.c > > +++ b/kernel/sched/deadline.c > > @@ -47,6 +47,7 @@ static void add_running_bw(struct sched

Re: [PATCH 0/2] mmc: dw_mmc: fix the wrong operation for reset controller

2016-11-01 Thread John Stultz
On Sun, Oct 30, 2016 at 7:49 PM, Jaehoon Chung wrote: > This patch adds the "reset-names" as reset controller for dwmmc controller. > Linaro guys had reported the issue about booting stuck. > > Some SoCs are enabled the CONFIG_RESET_CONTROLLER. > then dwmmc controller are waiting for getting reset

Re: make pdfdocs fails with v4.9-rc3

2016-11-01 Thread Jim Davis
On Mon, Oct 31, 2016 at 3:41 PM, Mauro Carvalho Chehab wrote: > Em Mon, 31 Oct 2016 16:40:02 -0600 > Mauro Carvalho Chehab escreveu: > >> Em Mon, 31 Oct 2016 15:04:42 -0700 >> Jim Davis escreveu: >> >> > On Mon, Oct 31, 2016 at 1:58 PM, Mauro Carvalho Chehab >> > wrote: >> > > Em Mon, 31 Oct 20

Re: [PATCH v4] media: Driver for Toshiba et8ek8 5MP sensor

2016-11-01 Thread Ivaylo Dimitrov
On 1.11.2016 22:11, Sakari Ailus wrote: Hi Ivaylo, On Tue, Nov 01, 2016 at 08:36:57AM +0200, Ivaylo Dimitrov wrote: Hi, On 1.11.2016 00:54, Sakari Ailus wrote: Hi Pavel, On Sun, Oct 23, 2016 at 10:33:15PM +0200, Pavel Machek wrote: Hi! Thanks, this answered half of my questions alread

Re: [PATCHv3 3/3] z3fold: add compaction worker

2016-11-01 Thread Dan Streetman
On Thu, Oct 27, 2016 at 7:13 AM, Vitaly Wool wrote: > This patch implements compaction worker thread for z3fold. This > worker does not free up any pages directly but it allows for a > denser placement of compressed objects which results in less > actual pages consumed and higher compression ratio

Re: [PATCHv3 1/3] z3fold: make counters atomic

2016-11-01 Thread Dan Streetman
On Tue, Nov 1, 2016 at 5:03 PM, Vitaly Wool wrote: > On Tue, Nov 1, 2016 at 9:03 PM, Dan Streetman wrote: >> On Thu, Oct 27, 2016 at 7:08 AM, Vitaly Wool wrote: >>> This patch converts pages_nr per-pool counter to atomic64_t. >>> It also introduces a new counter, unbuddied_nr, which is >>> atomi

Re: [PATCH 1/4] block: add scalable completion tracking of requests

2016-11-01 Thread Johannes Thumshirn
On Tue, Nov 01, 2016 at 03:05:22PM -0600, Jens Axboe wrote: > For legacy block, we simply track them in the request queue. For > blk-mq, we track them on a per-sw queue basis, which we can then > sum up through the hardware queues and finally to a per device > state. > > The stats are tracked in,

[PATCH 3/4] Staging: vme: Add required identifier names.

2016-11-01 Thread Anton Leshchenko
Add identifier names for function definition arguments. Signed-off-by: Anton Leshchenko --- drivers/staging/vme/devices/vme_pio2.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/vme/devices/vme_pio2.h b/drivers/staging/vme/devices/vme_pio2.h index 9d

[PATCH 1/4] Staging: vme: Remove excessive blank lines.

2016-11-01 Thread Anton Leshchenko
To make code more readable, remove excessive blank lines. Signed-off-by: Anton Leshchenko --- drivers/staging/vme/devices/vme_pio2.h | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/staging/vme/devices/vme_pio2.h b/drivers/staging/vme/devices/vme_pio2.h index d5d94c4..0b280ae 100

[PATCH 2/4] Staging: vme: Use BIT macro for bit field definitions.

2016-11-01 Thread Anton Leshchenko
Instead of using shift operation use BIT macro for bit field definitions. Signed-off-by: Anton Leshchenko --- drivers/staging/vme/devices/vme_pio2.h | 102 - 1 file changed, 51 insertions(+), 51 deletions(-) diff --git a/drivers/staging/vme/devices/vme_pio2.h b/

[PATCH 4/4] Staging: vme: Fix parenthesis alignment.

2016-11-01 Thread Anton Leshchenko
Align broken line for code readability. Signed-off-by: Anton Leshchenko --- drivers/staging/vme/devices/vme_pio2_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/vme/devices/vme_pio2_core.c b/drivers/staging/vme/devices/vme_pio2_core.c index 8e66a52..20

Re: [PATCH v6 09/16] drivers: acpi: iort: add support for ARM SMMU platform devices creation

2016-11-01 Thread Graeme Gregory
On Fri, Oct 28, 2016 at 04:50:07PM +0100, Lorenzo Pieralisi wrote: > On Tue, Oct 18, 2016 at 05:04:07PM +0100, Lorenzo Pieralisi wrote: > > In ARM ACPI systems, IOMMU components are specified through static > > IORT table entries. In order to create platform devices for the > > corresponding ARM SM

[PATCH] [TRIVIAL] Remove last traces of ikconfig.h

2016-11-01 Thread Paul Bolle
The build system stopped generating ikconfig.h in v2.6.8. Remove an entry for it in dontdiff. There's also a reference to it in a small comment. Remove that comment too, as it is of little help in any case. Signed-off-by: Paul Bolle --- Documentation/dontdiff | 1 - kernel/Makefile| 2 --

[PATCH] pci-hyperv: move hypercall buffer from stack to heap

2016-11-01 Thread Long Li
From: Long Li We need to pass a segment from a physically continuous buffer to hv_do_hypercall. Buffer allocated on the stack may not work if CONFIG_VMAP_STACK=y is set. Moving the params buffer from stack to buffer returned by kmalloc. Signed-off-by: Long Li Reported-by: Haiyang Zhang ---

[PATCH net-next] i40evf: Move some i40evf_reset_task code to separate function

2016-11-01 Thread Joe Perches
The i40evf_reset_task function is a couple hundred lines and it has a separable block that disables vf. Move that block to a new i40evf_disable_vf function to shorten i40evf_reset_task a bit. Signed-off-by: Joe Perches --- drivers/net/ethernet/intel/i40evf/i40evf_main.c | 86 +--

Re: [PATCH] MIPS: VDSO: Always select -msoft-float

2016-11-01 Thread Maciej W. Rozycki
On Sun, 30 Oct 2016, Guenter Roeck wrote: > Some toolchains fail to build mips images with the following build error. > > arch/mips/vdso/gettimeofday.c:1:0: error: '-march=r3000' requires '-mfp32' > > This is seen, for example, with the 'mipsel-linux-gnu-gcc (Debian 6.1.1-9) > 6.1.1 20160705' to

[PATCH RFC 4/4] [media] subdev-formats.rst: add missing columns to tabularcolumns

2016-11-01 Thread Mauro Carvalho Chehab
There are several missing columns on the size specification, causing LaTeX to complain on interactive mode. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/v4l/subdev-formats.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/media/uapi/v4l/su

[PATCH RFC 1/4] docs-rst: fix PDF build errors

2016-11-01 Thread Mauro Carvalho Chehab
PDF build on Kernel 4.9-rc? returns an error. This is because we're re-defining a command too late. Move such redefinition to LaTeX preamble. Tested by building the documentation on interactive mode: make PDFLATEX=xelatex -C Documentation/output/./latex Fixes: e61a39baf74d ("[media] index

[PATCH RFC 0/4] Fix PDF build errors

2016-11-01 Thread Mauro Carvalho Chehab
This series address a series of errors during PDF generation from media documentation. Please notice that patch 2 carries on a PDF conversion from a PNG image, because Sphinx is not smart enough to do the convertion. This is a temporary solution (That's why I'm marking this series as RFC). I'm

Re: [GIT PULL] seccomp fixes for v4.9-rc4

2016-11-01 Thread James Morris
On Tue, 1 Nov 2016, Kees Cook wrote: > Hi, > > Please pull these seccomp fixes for v4.9-rc4. > > - fix function prototype documentation > - fix samples to include NNP setting > - fix samples to avoid rule truncation > - fix samples

Re: make pdfdocs fails with v4.9-rc3

2016-11-01 Thread Mauro Carvalho Chehab
Em Tue, 1 Nov 2016 15:11:55 -0700 Jim Davis escreveu: > On Mon, Oct 31, 2016 at 3:41 PM, Mauro Carvalho Chehab > wrote: > > Em Mon, 31 Oct 2016 16:40:02 -0600 > > Mauro Carvalho Chehab escreveu: > > > >> Em Mon, 31 Oct 2016 15:04:42 -0700 > >> Jim Davis escreveu: > >> > >> > On Mon, Oct 31

Re: [PATCH 0/2] soc: rockchip: fix probe error path in power-domain driver

2016-11-01 Thread Heiko Stuebner
Am Freitag, 16. September 2016, 00:14:37 CET schrieb Heiko Stuebner: > A recent change to generic power-domains revealed that the rockchip > driver cannot safely fail it's probe. Also pm_genpd_init creates a > situation where a probe error leads to the generic power-domains > accessing already free

Re: [PATCH v8 7/7] KVM: x86: virtualize cpuid faulting

2016-11-01 Thread Paolo Bonzini
On 01/11/2016 19:33, Thomas Gleixner wrote: > On Tue, 1 Nov 2016, Paolo Bonzini wrote: > >> >>> + vcpu->arch.cpuid_fault = false; >> >> This should be conditional on "if (!init_event)". Most MSRs are untouched >> on an INIT IPI. >> >> Otherwise looks good. The patch is independent of the res

Re: [PATCH RFC 0/4] Fix PDF build errors

2016-11-01 Thread Mauro Carvalho Chehab
Em Tue, 1 Nov 2016 16:44:09 -0600 Mauro Carvalho Chehab escreveu: > This series address a series of errors during PDF generation from > media documentation. > > Please notice that patch 2 carries on a PDF conversion from a PNG > image, because Sphinx is not smart enough to do the convertion. >

Re: [PATCH] kbuild: add %/built-in.o target in top Makefile

2016-11-01 Thread Wei Yang
On Tue, Nov 01, 2016 at 05:27:34PM +0100, Michal Marek wrote: >On 2016-10-24 14:45, Wei Yang wrote: > >> diff --git a/Makefile b/Makefile >> index addb235..546998e 100644 >> --- a/Makefile >> +++ b/Makefile >> @@ -1627,6 +1627,8 @@ endif >> $(Q)$(MAKE) $(build)=$(build-dir) $(target-dir)$(notd

Re: [PATCH] x86/copy_user: Remove 64-bit asm _copy_*_user variants

2016-11-01 Thread Linus Torvalds
On Mon, Oct 31, 2016 at 9:10 AM, Borislav Petkov wrote: > From: Borislav Petkov > > We already have the same functionality in usercopy_32.c. Share it with > 64-bit and get rid of some more asm glue which is not needed anymore. I see this already made it into -tip, but it looks good to me. I thin

Re: [PATCH] EFI loader: remove dead code

2016-11-01 Thread Linn Crosetto
On Tue, Nov 01, 2016 at 08:38:08PM +0300, Eugene Korenevsky wrote: > *e820ext is always NULL in 'alloc_e820ext()' (see the code of 'exit_boot()'). > Therefore the 'if' condition is always false and the entire 'if' statement is > pointless. Remove it. > > --- > arch/x86/boot/compressed/eboot.c | 6

Re: [PATCH 2/3] firmware: qcom: scm: Remove core, iface and bus clocks dependency

2016-11-01 Thread Stephen Boyd
On 10/28, Sarangdhar Joshi wrote: > @@ -380,33 +384,43 @@ EXPORT_SYMBOL(qcom_scm_is_available); > static int qcom_scm_probe(struct platform_device *pdev) > { > struct qcom_scm *scm; > + uint64_t clks; > int ret; > > scm = devm_kzalloc(&pdev->dev, sizeof(*scm), GFP_KERNEL);

[PATCH] net: 3com: typhoon: use new api ethtool_{get|set}_link_ksettings

2016-11-01 Thread Philippe Reynes
The ethtool api {get|set}_settings is deprecated. We move this driver to new api {get|set}_link_ksettings. Signed-off-by: Philippe Reynes --- drivers/net/ethernet/3com/typhoon.c | 60 +- 1 files changed, 30 insertions(+), 30 deletions(-) diff --git a/drivers/ne

Re: [PATCH v8 1/3] ARM: dts: da850: Add cfgchip syscon node

2016-11-01 Thread David Lechner
On 11/01/2016 04:53 AM, Sekhar Nori wrote: Hi David, On Tuesday 01 November 2016 02:17 AM, David Lechner wrote: Add a syscon node for the SoC CFGCHIPn registers. It includes a child node for the USB PHY that is part of this range of registers. Also have to add OF_DEV_AUXDATA() entry so that cl

Re: [PATCH v2] soc: rockchip: avoid infinite loop for power domain

2016-11-01 Thread Heiko Stuebner
Am Donnerstag, 13. Oktober 2016, 02:16:08 CET schrieb Caesar Wang: > In some cases, we have met the infinite loop in > rockchip_pmu_set_idle_request() or rockchip_do_pmu_set_power_domain(). > > As the crosbug.com/p/57351 reported, the boot hangs right after this > [1.629163] bootconsole [uart8250]

Re: [PATCH] clk: rockchip: optimize the configuration for 800MHz and 1GHz on RK3399

2016-11-01 Thread Heiko Stuebner
Am Dienstag, 1. November 2016, 11:22:06 CET schrieb Xing Zheng: > Usually, the 800MHz and 1GHz are supplied for CPLL and NPLL in the RK3399. > But dues to the carelessly copying from RK3036 when the RK3399 bringing up, > the refdiv == 6, it will increase the lock time, and it is not an optimal > co

Re: [PATCH] MIPS: VDSO: Always select -msoft-float

2016-11-01 Thread Guenter Roeck
On Tue, Nov 01, 2016 at 10:40:24PM +, Maciej W. Rozycki wrote: > On Sun, 30 Oct 2016, Guenter Roeck wrote: > > > Some toolchains fail to build mips images with the following build error. > > > > arch/mips/vdso/gettimeofday.c:1:0: error: '-march=r3000' requires '-mfp32' > > > > This is seen,

Re: [PATCH] cxl: Fix error handling

2016-11-01 Thread Jim Davis
On Sun, Oct 30, 2016 at 10:37 PM, Michael Ellerman wrote: > Christophe JAILLET writes: > >> 'cxl_dev_context_init()' returns an error pointer in case of error, not >> NULL. So test it with IS_ERR. >> >> Signed-off-by: Christophe JAILLET >> --- >> un-compiled because I don't have the required cr

Re: Bus error on shm_open/ftruncate/mmap after changing kernel boot partition: FIXED

2016-11-01 Thread Thierry Moreau
Fixed (but still puzzled) -- see below. On 01/11/16 07:57 PM, Thierry Moreau wrote: Strange bug after changing the boot partition (the previous was on a hard disk with a few media errors). Ah! mounting tmpfs on /dev/shm (manually or through fstab) fixes this. I am somehow puzzled as I think

[PATCH] dmaengine: pl330: Handle xferred count if DMAMOV hasn't finished

2016-11-01 Thread Stephen Barber
After executing DMAGO it's possible that a request can come in for the current xferred count, but if that happens too soon then DMAMOV SAR/DAR may not have yet completed. If that happens, we should explicitly return 0 since nothing has been transferred yet. Signed-off-by: Stephen Barber --- driv

Re: [4.9-rc3] BUG: unable to handle kernel paging request at ffffc900144dfc60

2016-11-01 Thread Linus Torvalds
On Tue, Nov 1, 2016 at 8:36 AM, Tetsuo Handa wrote: > > I got an Oops with khungtaskd. This kernel was built with > CONFIG_THREAD_INFO_IN_TASK=y . > Is this same reason? CONFIG_THREAD_INFO_IN_TASK is always set on x86, but I assume you also did VMAP_STACK And yes, it looks like it's the same "t

Re: tmpfs returns incorrect data on concurrent pread() and truncate()

2016-11-01 Thread Hugh Dickins
On Wed, 26 Oct 2016, Jakob Unterwurzacher wrote: > tmpfs seems to be incorrectly returning 0-bytes when reading from > a file that is concurrently being truncated. That is an interesting observation, and you got me worried; but in fact, it is not a tmpfs problem: if we call it a problem at all, i

[PATCH] ARM: dts: imx6: Add imx-weim parameters to dtsi's

2016-11-01 Thread Joshua Clayton
imx-weim should always set address-cells to 2, and size_cells to 1. On imx6, fsl,weim-cs-gpr will always be &gpr Set these common parameters in the dtsi file, rather than in a downstream dts. Signed-off-by: Joshua Clayton --- arch/arm/boot/dts/imx6q-evi.dts | 3 --- arch/arm/boot/dts/i

Re: [PATCH V4] pinctrl: qcom: Add msm8994 pinctrl driver

2016-11-01 Thread Stephen Boyd
On 10/31, Michael Scott wrote: > + > +static const struct msm_pingroup msm8994_groups[] = { > + PINGROUP(0, blsp_spi1, blsp_uart1, blsp_uim1, NA, NA, NA, NA, NA, NA, > + NA, NA), I see an hdmi_rcv group here after blsp_uim1. Please add it for this gpio. > + PINGROUP(1, bl

[PATCH] ARM: socfpga: updates for socfpga_defconfig

2016-11-01 Thread Alan Tull
This patch enables the following in the socfpga_defconfig: +CONFIG_OF_OVERLAY=y Enable support for Device Tree Overlays +CONFIG_FPGA_REGION=y Enable device tree overlay support for FPGA programming +CONFIG_FPGA_MGR_SOCFPGA_A10=y Enable partial reconfiguration for Altera Arria 10 FPGA

Kernel regression introduced by "e1000e: Do not write lsc to ics in msi-x mode" and/or "e1000e: Do not read ICR in Other interrupt"

2016-11-01 Thread Jack Suter
Hi there, I have some servers with an 82574L based NIC and recently upgraded from a 4.4 series kernel to 4.7. Upon doing so, servers with this chipset have begun frequently reporting "Link is Down" and "Link is Up" messages. No other related network errors are reported by the kernel or e1000e driv

Re: [RFC/RFT][PATCH] cpufreq: intel_pstate: Generic governors support

2016-11-01 Thread Srinivas Pandruvada
On Tue, 2016-11-01 at 14:11 -0700, Doug Smythies wrote: > On 2016.10.22 17:17 Rafael J. Wysocki wrote: > > > > > From: Rafael J. Wysocki > > > > There may be reasons to use generic cpufreq governors (eg. > > schedutil) > > on Intel platforms instead of the intel_pstate driver's internal > > gov

Re: [PATCH 1/3] clk: qcom: gdsc: Add support for gdscs with HW control

2016-11-01 Thread Stephen Boyd
On 10/24, Sricharan R wrote: > @@ -164,6 +171,10 @@ static int gdsc_enable(struct generic_pm_domain *domain) >*/ > udelay(1); > > + /* Turn on HW trigger mode if supported */ > + if (sc->flags & HW_CTRL) > + gdsc_hwctrl(sc, true); > + It sounds like this will ca

Re: [PATCH 9/9] clocksource: import ARC timer driver

2016-11-01 Thread Daniel Lezcano
On Tue, Nov 01, 2016 at 01:57:05PM -0700, Vineet Gupta wrote: > Hi Daniel, > > On 11/01/2016 01:42 PM, Daniel Lezcano wrote: > > Please stay consistent with the rest of the Kconfig. > > > > config ARC_TIMER_RTC > > bool "64-bit cycle counter in HS38 cores" if COMPILE_TEST > > select CLKSR

Re: [PATCH 1/3] clk: keystone: Fix an error checking

2016-11-01 Thread Stephen Boyd
On 10/24, Christophe JAILLET wrote: > clk_register_pll() can return ERR_PTR(-ENOMEM) so checking the return value > against NULL only is not correct. The code just doesn't propagate the error up to the caller. Instead the caller treats NULL as an error and non-NULL as valid. If the callee detects

Re: [PATCH] net: 3com: typhoon: use new api ethtool_{get|set}_link_ksettings

2016-11-01 Thread David Dillow
On Wed, 2016-11-02 at 00:11 +0100, Philippe Reynes wrote: > The ethtool api {get|set}_settings is deprecated. > We move this driver to new api {get|set}_link_ksettings. > > Signed-off-by: Philippe Reynes LGTM. Reviewed-by: David Dillow

Re: [RFC v2 1/7] mm: Provide generic VDSO unmap and remap functions

2016-11-01 Thread Christopher Covington
On November 1, 2016 11:23:54 AM MDT, Dmitry Safonov <0x7f454...@gmail.com> wrote: >Hi Christopher, > > by this moment I got another patch for this. I hope, you don't mind >if I send it concurrently. I haven't sent it yet as I was testing it in > qemu. Please do, that'd be great. Thanks, Cov

Re: [PATCH 2/2] clk: qcom: mmcc-8996: Add gpu gdscs

2016-11-01 Thread Stephen Boyd
On 10/20, Rajendra Nayak wrote: > Add gpu gdsc data for msm8996 > > Signed-off-by: Rajendra Nayak > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project

Re: [PATCH 1/2] clk: qcom: Handle the clamp_io assert/deassert sequence

2016-11-01 Thread Stephen Boyd
On 10/20, Rajendra Nayak wrote: > Add a flag to mark gdscs which need to support the clamp deassert/assert > before and after the gdsc enable/disable > > Signed-off-by: Rajendra Nayak > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Founda

Re: [PATCH] clk: nxp: clk-lpc18xx-ccu: Unmap region obtained by of_iomap

2016-11-01 Thread Stephen Boyd
On 09/20, Arvind Yadav wrote: > From: Arvind Yadav > > Free memory mapping, if lpc18xx_ccu_init is not successful. > > Signed-off-by: Arvind Yadav > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project

Re: [PATCH 1/4] clk: Enable compile testing for s2mps11 and max77686

2016-11-01 Thread Stephen Boyd
On 10/02, Krzysztof Kozlowski wrote: > s2mps11 and max77686 clock drivers can be compile tested to increase > build coverage. > > Signed-off-by: Krzysztof Kozlowski > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative

Re: [PATCH 10/15] clk: keystone: improve function-level documentation

2016-11-01 Thread Stephen Boyd
On 10/01, Julia Lawall wrote: > Adjust the documentation to use the actual function names. > > Issue detected using Coccinelle (http://coccinelle.lip6.fr/) > > Signed-off-by: Julia Lawall > > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linu

Re: [PATCH v4 1/1] clk: mvebu: migrate CP110 system controller to clk_hw API and registration

2016-11-01 Thread Stephen Boyd
On 09/25, Marcin Wojtas wrote: > Now that we have clk_hw based provider APIs to register clks, we > can get rid of struct clk pointers while registering clks in Armada > CP110 system controller driver. This commit introduces new > API and registration for all clocks in CP110 HW blocks. > > Signed-

Re: [PATCH 12/15] clk: tegra: dfll: improve function-level documentation

2016-11-01 Thread Stephen Boyd
On 10/01, Julia Lawall wrote: > Adjust variables to correspond to the names used in the parameter list of > the function. Move the struct device * variable up to the place where it > appears in the parameter list. > > Issue detected using Coccinelle (http://coccinelle.lip6.fr/) > > Signed-off-by

RE: [PATCH v2] phy: rcar-gen3-usb2: add sysfs for usb role swap

2016-11-01 Thread Yoshihiro Shimoda
Hi Peter, > From: Peter Chen [mailto:hzpeterc...@gmail.com] > Sent: Tuesday, November 01, 2016 8:38 PM > > On Tue, Nov 01, 2016 at 04:01:58PM +0900, Yoshihiro Shimoda wrote: > > This patch adds sysfs "otg_inputs" for usb role swap. This parameter > > is write-only and if you use them as the follo

Re: [PATCH] clk: qoriq: add ls1046a support

2016-11-01 Thread Stephen Boyd
On 09/07, shh@gmail.com wrote: > From: Mingkai Hu > > Signed-off-by: Mingkai Hu > Signed-off-by: Shaohui Xie > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project

Re: [PATCH v4] media: Driver for Toshiba et8ek8 5MP sensor

2016-11-01 Thread Laurent Pinchart
Hello, On Tuesday 01 Nov 2016 00:58:45 Sakari Ailus wrote: > On Sun, Oct 23, 2016 at 10:40:01PM +0200, Pavel Machek wrote: > > Hi! > > > > > Thanks, this answered half of my questions already. ;-) > > > > > > Do all the modes work for you currently btw.? > > > > Aha, went through my notes. This

Re: [PATCH] clk: qoriq: add ls1046a support

2016-11-01 Thread Stephen Boyd
On 09/07, shh@gmail.com wrote: > From: Mingkai Hu > > Signed-off-by: Mingkai Hu > Signed-off-by: Shaohui Xie Would have been nice to have some blurb here about the chip being supported, but ok. -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Colla

<    1   2   3   4   5   6   7   >