[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

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

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

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

[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

[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

[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

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

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

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,

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 |

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

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

[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

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 >

[[PATCH repost v21] 09/11] ARM: socfpga: fpga bridge driver support

2016-11-01 Thread Alan Tull
Supports Altera SOCFPGA bridges: * fpga2sdram * fpga2hps * hps2fpga * lwhps2fpga Allows enabling/disabling the bridges through the FPGA Bridge Framework API functions. The fpga2sdram driver only supports enabling and disabling of the ports that been configured early on. This is due to a

[[PATCH repost v21] 11/11] fpga-manager: Add Socfpga Arria10 support

2016-11-01 Thread Alan Tull
Add low level driver to support reprogramming FPGAs for Altera SoCFPGA Arria10. Signed-off-by: Alan Tull Reviewed-by: Moritz Fischer Signed-off-by: Greg Kroah-Hartman --- drivers/fpga/Kconfig | 6 +

Re: [PATCH v12 RESEND 0/4] generic TEE subsystem

2016-11-01 Thread Andrew F. Davis
On 10/28/2016 01:19 PM, Mark Brown wrote: > On Fri, Oct 28, 2016 at 10:43:24AM -0500, Andrew F. Davis wrote: > >> Do we see this as a chicken and egg situation, or is there any harm >> beyond the pains of supporting an out-of-tree driver for a while, to >> wait until we have at least one other

Re: [PATCH] UBIFS: Remove some dead code

2016-11-01 Thread Julia Lawall
On Tue, 1 Nov 2016, Christophe JAILLET wrote: > Le 01/11/2016 à 12:42, Richard Weinberger a écrit : > > On 01.11.2016 07:45, Christophe JAILLET wrote: > > > 'ubifs_fast_find_freeable()' can not return an error pointer, so this test > > > can be removed. > > > > > > Signed-off-by: Christophe

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 >

[PATCH] drm/exynos: gsc: fix spelling mistakes

2016-11-01 Thread Colin King
From: Colin Ian King Trivial fixes to spelling mistakes "precalser" to "prescaler" in dev_err messages Signed-off-by: Colin Ian King --- drivers/gpu/drm/exynos/exynos_drm_fimc.c | 2 +- drivers/gpu/drm/exynos/exynos_drm_gsc.c | 2 +- 2

Re: [PATCH] ARM: spear: Fix error handling

2016-11-01 Thread Viresh Kumar
On Sat, Oct 29, 2016 at 7:28 PM, Christophe JAILLET wrote: > 'clk_get_sys()' returns an error pointer in case of error, not NULL. So > test it with IS_ERR. > > Signed-off-by: Christophe JAILLET > --- > arch/arm/mach-spear/time.c | 2

[PATCH 1/1] usb: xhci: remove the use of xhci->addr_dev

2016-11-01 Thread Lu Baolu
xhci->addr_dev is used for the completion of both address device and enable slot commands. It's shared by enumerations of all USB devices connected to an xhci host. Hence, it's just a source for possible races. Since we've introduced command structure and the command queue to xhci driver. It is

[PATCH RFC 2/4] [media] subdev-formats.rst: we need a pdf picture for bayer

2016-11-01 Thread Mauro Carvalho Chehab
The png picture is not ok on Sphinx 1.4.8. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/v4l/subdev-formats.rst | 4 +--- .../media/uapi/v4l/subdev-formats_files/bayer.pdf | Bin 0 -> 11131 bytes 2 files changed, 1 insertion(+), 3

Re: [PATCH] drm/exynos: gsc: fix spelling mistakes

2016-11-01 Thread Javier Martinez Canillas
Hello Colin, On 11/01/2016 11:23 PM, Colin King wrote: > From: Colin Ian King > > Trivial fixes to spelling mistakes "precalser" to "prescaler" > in dev_err messages > > Signed-off-by: Colin Ian King > --- Reviewed-by: Javier Martinez

Re: [PATCH 28/60] block: introduce QUEUE_FLAG_SPLIT_MP

2016-11-01 Thread Kent Overstreet
On Mon, Oct 31, 2016 at 08:39:15AM -0700, Christoph Hellwig wrote: > On Sat, Oct 29, 2016 at 04:08:27PM +0800, Ming Lei wrote: > > Some drivers(such as dm) should be capable of dealing with multipage > > bvec, but the incoming bio may be too big, such as, a new singlepage bvec > > bio can't be

Re: [PATCH 1/1] mm/hugetlb: fix huge page reservation leak in private mapping error paths

2016-11-01 Thread Hillf Danton
On Wednesday, November 02, 2016 12:37 AM Mike Kravetz wrote: > On 10/19/2016 08:11 PM, Mike Kravetz wrote: > > Error paths in hugetlb_cow() and hugetlb_no_page() may free a newly > > allocated huge page. If a reservation was associated with the huge > > page, alloc_huge_page() consumed the

Re: [RFC PATCH 0/6] UART slave devices using serio

2016-11-01 Thread Rob Herring
On Mon, Oct 31, 2016 at 10:40 PM, Rob Herring wrote: > On Mon, Oct 31, 2016 at 3:00 PM, Peter Hurley > wrote: >> On Tue, Oct 25, 2016 at 4:02 PM, Rob Herring wrote: >>> >>> > Maybe you can try to find some minutes at the Kernel Summit

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

2016-11-01 Thread Dave Chinner
On Tue, Nov 01, 2016 at 06:38:26PM -0700, Hugh Dickins wrote: > On Wed, 2 Nov 2016, Dave Chinner wrote: > > On Tue, Nov 01, 2016 at 04:51:30PM -0700, Hugh Dickins wrote: > > > On Wed, 26 Oct 2016, Jakob Unterwurzacher wrote: > > > > > > > tmpfs seems to be incorrectly returning 0-bytes when

Re: [Qemu-devel] [PATCH v9 04/12] vfio iommu: Add support for mediated devices

2016-11-01 Thread Alexey Kardashevskiy
On 02/11/16 14:29, Kirti Wankhede wrote: > > > On 11/2/2016 6:54 AM, Alexey Kardashevskiy wrote: >> On 02/11/16 01:01, Kirti Wankhede wrote: >>> >>> >>> On 10/28/2016 7:48 AM, Alexey Kardashevskiy wrote: On 27/10/16 23:31, Kirti Wankhede wrote: > > > On 10/27/2016 12:50 PM,

[PATCH v2] EFI loader: remove redundant code

2016-11-01 Thread Eugene Korenevsky
*e820ext is always NULL in 'alloc_e820ext()' (see the code of 'exit_boot()'). Without loss of generality we can replace freeing with returning EFI_INVALID_PARAMETER. So if the caller would ever incorrectly pass non-NULL *e820ext, he will obtain a returned error code. ---

RE: [PATCH v3 3/3] clocksource: Add clockevent support to NPS400 driver

2016-11-01 Thread Thomas Gleixner
On Tue, 1 Nov 2016, Noam Camus wrote: > >> +static int nps_clkevent_set_next_event(unsigned long delta, > >> + struct clock_event_device *dev) { > >> + struct irq_desc *desc = irq_to_desc(nps_timer0_irq); > >> + struct irq_chip *chip =

[[PATCH repost v21] 03/11] doc: fpga-mgr: add fpga image info to api

2016-11-01 Thread Alan Tull
This patch adds a minor change in the FPGA Manager API to hold information that is specific to an FPGA image file. This change is expected to bring little, if any, pain. An FPGA image file will have particulars that affect how the image is programmed to the FPGA. One example is that current

Re: [PATCH] UBIFS: Remove some dead code

2016-11-01 Thread Christophe JAILLET
Le 01/11/2016 à 12:42, Richard Weinberger a écrit : On 01.11.2016 07:45, Christophe JAILLET wrote: 'ubifs_fast_find_freeable()' can not return an error pointer, so this test can be removed. Signed-off-by: Christophe JAILLET --- fs/ubifs/gc.c | 4 1 file

[[PATCH repost v21] 06/11] add sysfs document for fpga bridge class

2016-11-01 Thread Alan Tull
Add documentation for new FPGA bridge class's sysfs interface. Signed-off-by: Alan Tull Acked-by: Moritz Fischer Signed-off-by: Greg Kroah-Hartman --- Documentation/ABI/testing/sysfs-class-fpga-bridge | 11

[[PATCH repost v21] 10/11] fpga: add altera freeze bridge support

2016-11-01 Thread Alan Tull
Add a low level driver for Altera Freeze Bridges to the FPGA Bridge framework. A freeze bridge is a bridge that exists in the FPGA fabric to isolate one region of the FPGA from the busses while that one region is being reprogrammed. Signed-off-by: Alan Tull

Re: [PATCH] UBIFS: Remove some dead code

2016-11-01 Thread Julia Lawall
On Tue, 1 Nov 2016, Christophe JAILLET wrote: > Le 01/11/2016 à 12:42, Richard Weinberger a écrit : > > On 01.11.2016 07:45, Christophe JAILLET wrote: > > > 'ubifs_fast_find_freeable()' can not return an error pointer, so this test > > > can be removed. > > > > > > Signed-off-by: Christophe

Re: [PATCH v4] usb: musb: remove duplicated actions

2016-11-01 Thread Bin Liu
Hi, On Wed, Oct 26, 2016 at 09:10:07PM +0300, Kirill Esipov wrote: > Removing unnecessary duplicated actions that we've got while merging: > 19915e623458 ("Merge 4.1-rc7 into usb-next") > > Signed-off-by: Kirill Esipov Applied. Thanks. Regards, -Bin. > --- >

[PATCH] drm/via: use get_user_pages_unlocked()

2016-11-01 Thread Lorenzo Stoakes
Moving from get_user_pages() to get_user_pages_unlocked() simplifies the code and takes advantage of VM_FAULT_RETRY functionality when faulting in pages. Signed-off-by: Lorenzo Stoakes --- drivers/gpu/drm/via/via_dmablit.c | 10 +++--- 1 file changed, 3 insertions(+), 7

[PATCH] drivers/virt: use get_user_pages_unlocked()

2016-11-01 Thread Lorenzo Stoakes
Moving from get_user_pages() to get_user_pages_unlocked() simplifies the code and takes advantage of VM_FAULT_RETRY functionality when faulting in pages. Signed-off-by: Lorenzo Stoakes --- drivers/virt/fsl_hypervisor.c | 7 ++- 1 file changed, 2 insertions(+), 5

[PATCH] platform: goldfish: pipe: use get_user_pages_unlocked()

2016-11-01 Thread Lorenzo Stoakes
Moving from get_user_pages() to get_user_pages_unlocked() simplifies the code and takes advantage of VM_FAULT_RETRY functionality when faulting in pages. Signed-off-by: Lorenzo Stoakes --- drivers/platform/goldfish/goldfish_pipe.c | 6 ++ 1 file changed, 2 insertions(+),

[PATCH] rapidio: use get_user_pages_unlocked()

2016-11-01 Thread Lorenzo Stoakes
Moving from get_user_pages() to get_user_pages_unlocked() simplifies the code and takes advantage of VM_FAULT_RETRY functionality when faulting in pages. Signed-off-by: Lorenzo Stoakes --- drivers/rapidio/devices/rio_mport_cdev.c | 8 +++- 1 file changed, 3

[PATCH v4 7/7] arm64: dts: NS2: add AMAC ethernet support

2016-11-01 Thread Jon Mason
Add support for the AMAC ethernet to the Broadcom Northstar2 SoC device tree Signed-off-by: Jon Mason --- arch/arm64/boot/dts/broadcom/ns2-svk.dts | 5 + arch/arm64/boot/dts/broadcom/ns2.dtsi| 12 2 files changed, 17 insertions(+) diff --git

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

2016-11-01 Thread Jon Mason
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 to hide it from the instances that do not use this. Also, clearing

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

2016-11-01 Thread Cyrill Gorcunov
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 | [] udp_disconnect+0x19/0x33 | [] raw_abort+0x33/0x42 | []

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

2016-11-01 Thread Thierry Moreau
Strange bug after changing the boot partition (the previous was on a hard disk with a few media errors). I must apologize that the old partition is re-formatted. (As an excuse the other services on this server system work fine with the new partition.) Anyway, the bogus code sequence is

[PATCH v4 5/7] net: ethernet: bgmac: device tree phy enablement

2016-11-01 Thread Jon Mason
Change the bgmac driver to allow for phy's defined by the device tree Signed-off-by: Jon Mason --- drivers/net/ethernet/broadcom/bgmac-bcma.c | 48 drivers/net/ethernet/broadcom/bgmac-platform.c | 48 +++-

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

2016-11-01 Thread Jon Mason
Add the documentation for PHY lane swapping. This is a boolean entry to notify the phy device drivers that the TX/RX lanes need to be swapped. Signed-off-by: Jon Mason --- Documentation/devicetree/bindings/net/phy.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git

[PATCH v4 4/7] Documentation: devicetree: net: add NS2 bindings to amac

2016-11-01 Thread Jon Mason
Clean-up the documentation to the bgmac-amac driver, per suggestion by Rob Herring, and add details for NS2 support. Signed-off-by: Jon Mason --- Documentation/devicetree/bindings/net/brcm,amac.txt | 16 +++- 1 file changed, 11 insertions(+), 5 deletions(-)

[PATCH v9 05/16] dax: remove the last BUG_ON() from fs/dax.c

2016-11-01 Thread Ross Zwisler
Don't take down the kernel if we get an invalid 'from' and 'length' argument pair. Just warn once and return an error. Signed-off-by: Ross Zwisler Reviewed-by: Christoph Hellwig Reviewed-by: Jan Kara --- fs/dax.c | 3 ++- 1 file

[PATCH v9 01/16] ext4: tell DAX the size of allocation holes

2016-11-01 Thread Ross Zwisler
When DAX calls _ext4_get_block() and the file offset points to a hole we currently don't set bh->b_size. This is current worked around via buffer_size_valid() in fs/dax.c. _ext4_get_block() has the hole size information from ext4_map_blocks(), so populate bh->b_size so we can remove

[PATCH v9 06/16] dax: consistent variable naming for DAX entries

2016-11-01 Thread Ross Zwisler
No functional change. Consistently use the variable name 'entry' instead of 'ret' for DAX radix tree entries. This was already happening in most of the code, so update get_unlocked_mapping_entry(), grab_mapping_entry() and dax_unlock_mapping_entry(). Signed-off-by: Ross Zwisler

[PATCH v9 02/16] dax: remove buffer_size_valid()

2016-11-01 Thread Ross Zwisler
Now that ext4 properly sets bh.b_size when we call get_block() for a hole, rely on that value and remove the buffer_size_valid() sanity check. Signed-off-by: Ross Zwisler Reviewed-by: Jan Kara Reviewed-by: Christoph Hellwig --- fs/dax.c

[PATCH v4 0/7] add NS2 support to bgmac

2016-11-01 Thread Jon Mason
Changes in v4: * Actually send out the lane swap binding doc patch (Per Scott Branden) * Remove unused #define (Per Andrew Lunn) Changes in v3: * Clean-up the bgmac DT binding doc (per Rob Herring) * Document the lane swap binding and make it generic (Per Andrew Lunn) Changes in v2: * Remove

[PATCH v9 00/16] re-enable DAX PMD support

2016-11-01 Thread Ross Zwisler
DAX PMDs have been disabled since Jan Kara introduced DAX radix tree based locking. This series allows DAX PMDs to participate in the DAX radix tree based locking scheme so that they can be re-enabled. Previously we had talked about this series going through the XFS tree, but Jan has a patch set

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

2016-11-01 Thread Dan Streetman
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) > z3fold pages. so, with the use

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

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 > >

[PATCH] Use -mcount-record for dynamic ftrace

2016-11-01 Thread Andi Kleen
From: Andi Kleen gcc 5 supports a new -mcount-record option to generate ftrace tables directly. This avoids the need to run record_mcount manually. Use this option when available. It also has a -mcount-nop option to generate the mcount calls as nops. So far that is not

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

2016-11-01 Thread luca abeni
On Tue, 1 Nov 2016 22:46:33 +0100 luca abeni wrote: [...] > > > @@ -1074,6 +1161,14 @@ select_task_rq_dl(struct task_struct *p, int cpu, > > > int sd_flag, int flags) > > > } > > > rcu_read_unlock(); > > > > > > + rq = task_rq(p); > > > + raw_spin_lock(>lock); > > > +

Re: [PATCH 45/60] block: bio: introduce bio_for_each_segment_all_rd() and its write pair

2016-11-01 Thread Kent Overstreet
On Mon, Oct 31, 2016 at 08:11:23AM -0700, Christoph Hellwig wrote: > On Mon, Oct 31, 2016 at 09:59:43AM -0400, Theodore Ts'o wrote: > > What is _rd and _wt supposed to stand for? > > I think it's read and write, but I think the naming is highly > unfortunate. I started dabbling around with the

Re: 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 Benjamin Poirier
On 2016/11/01 19:56, Jack Suter wrote: > 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

Re: [Qemu-devel] [PATCH v9 04/12] vfio iommu: Add support for mediated devices

2016-11-01 Thread Kirti Wankhede
On 11/2/2016 6:54 AM, Alexey Kardashevskiy wrote: > On 02/11/16 01:01, Kirti Wankhede wrote: >> >> >> On 10/28/2016 7:48 AM, Alexey Kardashevskiy wrote: >>> On 27/10/16 23:31, Kirti Wankhede wrote: On 10/27/2016 12:50 PM, Alexey Kardashevskiy wrote: > On 18/10/16 08:22, Kirti

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

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

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

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

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

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

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.

Re: [PATCH] rtl8xxxu: Fix for agressive power saving by rtl8723bu wireless IC

2016-11-01 Thread John Heenan
Barry Day has submitted real world reports for the 8192eu and 8192cu. This needs to be acknowledged. I have submitted real world reports for the 8723bu. When it comes down to it, it looks like the kernel code changes are really going to be very trivial to fix this problem and we need to take the

Re: [PATCH v3 1/7] clk: qcom: ipq4019: Added the clock nodes and operations for pll

2016-11-01 Thread Stephen Boyd
On 09/21, Abhishek Sahu wrote: > The current ipq4019 clock driver registered the PLL clocks and > dividers as fixed clock. These fixed clock needs to be removed > from driver probe function and same need to be registered with > clock framework. These PLL clocks should be programmed only > once and

Re: [PATCH v3 6/7] clk: qcom: ipq4019: changed the frequency value for ddr pll

2016-11-01 Thread Stephen Boyd
On 09/21, Abhishek Sahu wrote: > diff --git a/drivers/clk/qcom/gcc-ipq4019.c b/drivers/clk/qcom/gcc-ipq4019.c > index b2decd5..a2809db 100644 > --- a/drivers/clk/qcom/gcc-ipq4019.c > +++ b/drivers/clk/qcom/gcc-ipq4019.c > @@ -546,7 +546,7 @@ static const struct freq_tbl ftbl_gcc_sdcc1_apps_clk[] =

Re: [PATCH v3 7/7] clk: qcom: ipq4019: changed i2c freq table

2016-11-01 Thread Stephen Boyd
On 09/21, Abhishek Sahu wrote: > The current I2C freq table uses MND values which is not > applicable for I2C since its RCG does not have MND > counter. This patch updates the freq table for 19.05 > MHz clk frequency with FEPLL_200 parent. That's concerning given that we read the registers, but I

Re: [PATCH] kobject: set state_initialized to 0 in kobject_cleanup

2016-11-01 Thread Wu, Songjun
On 11/1/2016 22:56, Greg KH wrote: On Tue, Nov 01, 2016 at 06:41:44PM +0800, Songjun Wu wrote: If state_initialized is not set to 0 when a kobject is released, a device is registered, unregistered, and registered again, the error below will occur. kobject (dec04bb0): tried to init an

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

2016-11-01 Thread Kuninori Morimoto
Hi John > > Above patch is using normal simple-card style for HDMI sound, but as Laurent > > said we want to use same DT style for HDMI video and sound (= OF graph > > style). > > Fortunately, I posted patch-set for OF graph support on sound card > > yesterday. > > Can you check this ? > >

[PATCH V4] mtd: nand: add Loongson1 NAND driver

2016-11-01 Thread Keguang Zhang
From: Kelvin Cheung This patch adds NAND driver for Loongson1B. Signed-off-by: Kelvin Cheung --- v4: Retrieve the controller from nand_hw_control. v3: Replace __raw_readl/__raw_writel with readl/writel. Split ls1x_nand into two

Re: [PATCH 45/60] block: bio: introduce bio_for_each_segment_all_rd() and its write pair

2016-11-01 Thread Ming Lei
On Tue, Nov 1, 2016 at 10:17 PM, Theodore Ts'o wrote: > On Tue, Nov 01, 2016 at 07:51:27AM +0800, Ming Lei wrote: >> Sorry for forgetting to mention one important point: >> >> - after multipage bvec is introduced, the iterated bvec pointer >> still points to singlge page bvec,

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

2016-11-01 Thread Kees Cook
On Tue, Nov 1, 2016 at 4:43 PM, James Morris wrote: > On Tue, 1 Nov 2016, Kees Cook wrote: > >> Hi, >> >> Please pull these seccomp fixes for v4.9-rc4. > >> >> - fix function prototype documentation >> - fix

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: [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

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,

Re: [PATCH net-next 04/11] net: dsa: mv88e6xxx: add port FID accessors

2016-11-01 Thread Vivien Didelot
Hi Andrew, Andrew Lunn writes: >> --- a/drivers/net/dsa/mv88e6xxx/port.c >> +++ b/drivers/net/dsa/mv88e6xxx/port.c >> @@ -61,6 +61,8 @@ int mv88e6xxx_port_set_state(struct mv88e6xxx_chip *chip, >> int port, u8 state) >> return 0; >> } >> >> +/* Offset 0x05: Port Control

Re: [Qemu-devel] [PATCH v10 00/19] Add Mediated device support

2016-11-01 Thread Jike Song
On 11/01/2016 11:24 PM, Gerd Hoffmann wrote: >> I rebased KVMGT upon v10, with 2 minor changes: >> >> 1, get_user_pages_remote has only 7 args > > Appears to be a 4.9 merge window change. v10 as-is applies and builds > fine against 4.8, after rebasing to 4.9-rc3 it stops building due to >

Re: [linux-sunxi] Re: [PATCH v3 1/2] drm/bridge: dumb-vga-dac: Support a VDD regulator supply

2016-11-01 Thread Chen-Yu Tsai
On Mon, Oct 31, 2016 at 2:28 PM, Rob Herring wrote: > On Sat, Oct 29, 2016 at 07:06:10PM +0800, Chen-Yu Tsai wrote: >> Some dumb VGA DACs are active components which require external power. >> Add support for specifying a regulator as its power supply. >> >> Signed-off-by:

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

2016-11-01 Thread Hugh Dickins
On Wed, 2 Nov 2016, Dave Chinner wrote: > On Tue, Nov 01, 2016 at 04:51:30PM -0700, Hugh Dickins wrote: > > 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

[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 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

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,

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

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

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

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/) > >

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

2016-11-01 Thread Vineet Gupta
On 11/01/2016 05:19 PM, Daniel Lezcano wrote: >>> >>> One question: >>> >>> Why ARC_TIMER_RTC can't be used in a SMP system ? Doesn't have each core its >>> own clocksource ? It seems you are assuming a clocksource can be used on SMP >>> only if the clocksource is unique and shared across the

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

2016-11-01 Thread Dave Chinner
On Tue, Nov 01, 2016 at 04:51:30PM -0700, Hugh Dickins wrote: > 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

[PATCH 1/1] xen-netfront: cast grant table reference first to type int

2016-11-01 Thread Dongli Zhang
IS_ERR_VALUE() in commit 87557efc27f6a50140fb20df06a917f368ce3c66 ("xen-netfront: do not cast grant table reference to signed short") would not return true for error code unless we cast ref first to type int. Signed-off-by: Dongli Zhang --- drivers/net/xen-netfront.c |

Re: [PATCH net-next 07/11] net: dsa: mv88e6xxx: add port link setter

2016-11-01 Thread Vivien Didelot
Hi Andrew, Andrew Lunn writes: >> +#define LINK_UNKNOWN-1 >> + >> +/* Port's MAC link state >> + * LINK_UNKNOWN for normal link detection, 0 to force link down, >> + * otherwise force link up. >> + */ >> +int (*port_set_link)(struct mv88e6xxx_chip

Re: [Qemu-devel] [PATCH v9 04/12] vfio iommu: Add support for mediated devices

2016-11-01 Thread Alexey Kardashevskiy
On 02/11/16 01:01, Kirti Wankhede wrote: > > > On 10/28/2016 7:48 AM, Alexey Kardashevskiy wrote: >> On 27/10/16 23:31, Kirti Wankhede wrote: >>> >>> >>> On 10/27/2016 12:50 PM, Alexey Kardashevskiy wrote: On 18/10/16 08:22, Kirti Wankhede wrote: > VFIO IOMMU drivers are designed for

<    1   2   3   4   5   6   7   8   9   10   >