[PATCH] powerpc: cputhreads: Add missing include file

2016-08-14 Thread Guenter Roeck
Powerpc builds may fail with the following build error. Error log: In file included from ./arch/powerpc/include/asm/mmu_context.h:11:0, from ./include/linux/mmu_context.h:4, from mm/mmu_context.c:8: ./arch/powerpc/include/asm/cputhreads.h: In function 'get_tensr':

[PATCH 4.7 11/41] qed: Fix setting/clearing bit in completion bitmap

2016-08-14 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Manish Chopra [ Upstream commit 59d3f1ceb69b54569685d0c34dff16a1e0816b19 ] Slowpath completion handling is incorrectly changing SPQ_RING_SIZE bits instead of a single one. Fixes: 76a9a3642a0b

[PATCH 4.6 23/56] x86/mm/pat: Add support of non-default PAT MSR setting

2016-08-14 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Toshi Kani commit 02f037d641dc6672be5cfe7875a48ab99b95b154 upstream. In preparation for fixing a regression caused by: 9cd25aac1f44 ("x86/mm/pat: Emulate PAT when it is disabled")' ... PAT

ERROR: "bad_dma_ops" [drivers/media/platform/mtk-vpu/mtk-vpu.ko] undefined!

2016-08-14 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 118253a593bd1c57de2d1193df1ccffe1abe745b commit: 3003a180ef6b9462f32a89884ef2332d2a1c [media] VPU: mediatek: support Mediatek VPU date: 5 weeks ago config: m32r-allmodconfig (attached as .config) compi

[PATCH 4.6 31/56] udf: Prevent stack overflow on corrupted filesystem mount

2016-08-14 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Alden Tondettar commit a47241cdeee2689ee7089ec95cadfcf66588fbdb upstream. Presently, a corrupted or malicious UDF filesystem containing a very large number (or cycle) of Logical Volume Integrit

[PATCH 4.6 29/56] x86/pat: Document the PAT initialization sequence

2016-08-14 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Toshi Kani commit b6350c21cfe8aa9d65e189509a23c0ea4b8362c2 upstream. Update PAT documentation to describe how PAT is initialized under various configurations. Signed-off-by: Toshi Kani Review

[PATCH 4.6 55/56] ext4: short-cut orphan cleanup on error

2016-08-14 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Vegard Nossum commit c65d5c6c81a1f27dec5f627f67840726fcd146de upstream. If we encounter a filesystem error during orphan cleanup, we should stop. Otherwise, we may end up in an infinite loop wh

[PATCH 4.6 26/56] x86/mtrr: Fix Xorg crashes in Qemu sessions

2016-08-14 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Toshi Kani commit edfe63ec97ed8d4496225f7ba54c9ce4207c5431 upstream. A Xorg failure on qemu32 was reported as a regression [1] caused by commit 9cd25aac1f44 ("x86/mm/pat: Emulate PAT when it is

[PATCH 4.6 52/56] ext4: fix deadlock during page writeback

2016-08-14 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit 646caa9c8e196880b41cd3e3d33a2ebc752bdb85 upstream. Commit 06bd3c36a733 (ext4: fix data exposure after a crash) uncovered a deadlock in ext4_writepages() which was previously muc

[PATCH 4.6 49/56] crypto: scatterwalk - Fix test in scatterwalk_done

2016-08-14 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Herbert Xu commit 5f070e81bee35f1b7bd1477bb223a873ff657803 upstream. When there is more data to be processed, the current test in scatterwalk_done may prevent us from calling pagedone even when

[PATCH 4.6 43/56] fuse: fuse_flush must check mapping->flags for errors

2016-08-14 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Maxim Patlasov commit 9ebce595f63a407c5cec98f98f9da8459b73740a upstream. fuse_flush() calls write_inode_now() that triggers writeback, but actual writeback will happen later, on fuse_sync_write

[PATCH 4.6 40/56] x86/microcode: Fix suspend to RAM with builtin microcode

2016-08-14 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Borislav Petkov commit 4b703305d98bf7350d4b2953ee39a3aa2eeb1778 upstream. Usually, after we have found the proper microcode blob for the current machine, we stash it away for later use with sav

[PATCH 4.6 42/56] fuse: fsync() did not return IO errors

2016-08-14 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Alexey Kuznetsov commit ac7f052b9e1534c8248f814b6f0068ad8d4a06d2 upstream. Due to implementation of fuse writeback filemap_write_and_wait_range() does not catch errors. We have to do this direc

[PATCH 4.6 24/56] x86/mm/pat: Add pat_disable() interface

2016-08-14 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Toshi Kani commit 224bb1e5d67ba0f2872c98002d6a6f991ac6fd4a upstream. In preparation for fixing a regression caused by: 9cd25aac1f44 ("x86/mm/pat: Emulate PAT when it is disabled") ... PAT n

[PATCH 4.6 36/56] x86/syscalls/64: Add compat_sys_keyctl for 32-bit userspace

2016-08-14 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: David Howells commit f7d665627e103e82d34306c7d3f6f46f387c0d8b upstream. x86_64 needs to use compat_sys_keyctl for 32-bit userspace rather than calling sys_keyctl(). The latter will work in a lo

[PATCH 4.6 33/56] powerpc/bpf/jit: Disable classic BPF JIT on ppc64le

2016-08-14 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Naveen N. Rao commit 844e3be47693f92a108cb1fb3b0606bf25e9c7a6 upstream. Classic BPF JIT was never ported completely to work on little endian powerpc. However, it can be enabled and will crash t

[PATCH 4.6 20/56] apparmor: fix ref count leak when profile sha1 hash is read

2016-08-14 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: John Johansen commit 0b938a2e2cf0b0a2c8bac9769111545aff0fee97 upstream. Signed-off-by: John Johansen Acked-by: Seth Arnold Signed-off-by: Greg Kroah-Hartman --- security/apparmor/apparmorf

[PATCH 4.6 19/56] IB/hfi1: Fix deadlock with txreq allocation slow path

2016-08-14 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Mike Marciniszyn commit 2aee309d3e01447c55fdf89cef05a0e2be372655 upstream. A failure in the get_txreq() inline will result in a slow path retry using __get_txreq(). __get_txreq() attempts to p

[PATCH 4.6 08/56] vlan: use a valid default mtu value for vlan over macsec

2016-08-14 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Paolo Abeni [ Upstream commit 18d3df3eab23796d7f852f9c6bb60962b8372ced ] macsec can't cope with mtu frames which need vlan tag insertion, and vlan device set the default mtu equal to the underl

[PATCH 4.6 07/56] net: bgmac: Fix infinite loop in bgmac_dma_tx_add()

2016-08-14 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Florian Fainelli [ Upstream commit e86663c475d384ab5f46cb5637e9b7ad08c5c505 ] Nothing is decrementing the index "i" while we are cleaning up the fragments we could not successful transmit. Fix

[PATCH 4.6 03/56] ppp: defer netns reference release for ppp channel

2016-08-14 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: WANG Cong [ Upstream commit 205e1e255c479f3fd77446415706463b282f94e4 ] Matt reported that we have a NULL pointer dereference in ppp_pernet() from ppp_connect_channel(), i.e. pch->chan_net is NU

[PATCH 4.6 04/56] tcp: make challenge acks less predictable

2016-08-14 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 75ff39ccc1bd5d3c455b6822ab09e533c551f758 ] Yue Cao claims that current host rate limiting of challenge ACKS (RFC 5961) could leak enough information to allow a pa

[PATCH 4.6 06/56] bonding: set carrier off for devices created through netlink

2016-08-14 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Beniamino Galvani [ Upstream commit 005db31d5f5f7c31cfdc43505d77eb3ca5cf8ec6 ] Commit e826eafa65c6 ("bonding: Call netif_carrier_off after register_netdevice") moved netif_carrier_off() from bo

[PATCH 4.6 21/56] regulator: qcom_smd: Remove list_voltage callback for rpm_smps_ldo_ops_fixed

2016-08-14 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Axel Lin commit 43160ffd12c8d1d331362362eea3c70e04b6f9c4 upstream. Use regulator_list_voltage_linear_range in rpm_smps_ldo_ops_fixed is wrong because it is used for fixed regulator without any

[PATCH] fix for sparse warning

2016-08-14 Thread Harinath Nampally
To fix the below warning added static qualifier "warning: symbol 'verify_sha256_digest' was not declared" Signed-off-by: Harinath Nampally --- arch/x86/purgatory/purgatory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/purgatory/purgatory.c b/arch/x86/purgato

[PATCH] trivial: remove exec bit from random files

2016-08-14 Thread Xose Vazquez Perez
These are not scripts. Cc: Jiri Kosina Cc: linux-kernel@vger.kernel.org Signed-off-by: Xose Vazquez Perez --- arch/nios2/boot/dts/10m50_devboard.dts | 0 arch/nios2/configs/10m50_defconfig | 0 arch/sh/boot/dts/j2_mimas_v2.dts

Re: Who reordered my disks (probably v4.8-rc1 problem)

2016-08-14 Thread james harvey
On Sun, Aug 14, 2016 at 5:09 AM, Pavel Machek wrote: >> Use static (persistent) naming instead, /dev/disk/by-label, >> /dev/disk/by-id, /dev/disk/by-uuid, and if gpt /dev/disk/by-partlabel >> and /dev/disk/by-partuuid > > Explain that to my bootloader. Kernel needs root= on a command line. It doe

Re: [PATCH] i2c: don't print error when adding adapter fails

2016-08-14 Thread Wolfram Sang
On Tue, Aug 09, 2016 at 01:36:16PM +0200, Wolfram Sang wrote: > Since v4.8-rc1, the I2C core will print detailed information when adding an > I2C > adapter fails. So, drivers can skip this now. > > I am still undecided if I apply this as a single patch or break it out. But > for > reviewing, avo

Re: [PATCH] i2c: uniphier{-f}: don't print error when adding adapter fails

2016-08-14 Thread Wolfram Sang
On Tue, Aug 09, 2016 at 10:11:40PM +0200, Wolfram Sang wrote: > The core will do this for us now. > > Signed-off-by: Wolfram Sang Applied to for-next, thanks! signature.asc Description: PGP signature

Re: [PATCH v2] eeprom: at24: check if the chip is functional in probe()

2016-08-14 Thread Wolfram Sang
On Fri, Aug 12, 2016 at 01:32:57PM +0200, Bartosz Golaszewski wrote: > The at24 driver doesn't check if the chip is functional in its probe > function. This leads to instantiating devices that are not physically > present. For example the cape EEPROMs for BeagleBone Black are defined > in the devic

Re: [RESEND PATCH 1/2] i2c: cros-ec-tunnel: Fix usage of cros_ec_cmd_xfer()

2016-08-14 Thread Wolfram Sang
On Wed, Aug 10, 2016 at 01:37:18PM -0700, Brian Norris wrote: > cros_ec_cmd_xfer returns success status if the command transport > completes successfully, but the execution result is incorrectly ignored. > In many cases, the execution result is assumed to be successful, leading > to ignored errors

[PATCH] ARM: pxa: remove irq init from dt machines

2016-08-14 Thread Robert Jarzmik
The init_irq and handle_irq can be declared through standard irqchip declaration and are not necessary in machine descriptions. This is another step towards the generic kernel for the pxa architecture. Signed-off-by: Robert Jarzmik Cc: Arnd Bergmann --- arch/arm/mach-pxa/generic.h | 3 --- ar

Re: [PATCH] i2c: ocores: add missed clk_disable_unprepare() on failure paths

2016-08-14 Thread Wolfram Sang
On Thu, Aug 04, 2016 at 02:38:44AM +0300, Alexey Khoroshilov wrote: > clk_disable_unprepare() is missed on failure paths in ocores_i2c_probe(). > > Found by Linux Driver Verification project (linuxtesting.org). > > Signed-off-by: Alexey Khoroshilov Applied to for-current, thanks! signature.a

Re: [PATCH] i2c: at91: fix support of the "alternative command" feature

2016-08-14 Thread Wolfram Sang
On Wed, Aug 03, 2016 at 04:58:26PM +0200, Ludovic Desroches wrote: > From: Cyrille Pitchen > > The "alternative command" feature was introduced with sama5d2 SoCs. > > Its purpose is to let the hardware i2c controller automatically send the > STOP condition on the i2c bus at the end of a data tra

[ANNOUNCE] Git v2.10.0-rc0

2016-08-14 Thread Junio C Hamano
An early preview release Git v2.10.0-rc0 is now available for testing at the usual places. It is comprised of 589 non-merge commits since v2.9.0, contributed by 67 people, 20 of which are new faces. The tarballs are found at: https://www.kernel.org/pub/software/scm/git/testing/ The followin

Re: [PATCH 0/4] Use complete() instead of complete_all()

2016-08-14 Thread Wolfram Sang
On Fri, Aug 05, 2016 at 11:25:59AM +0200, Daniel Wagner wrote: > From: Daniel Wagner > > Hi, > > Using complete_all() is not wrong per se but it suggest that there > might be more than one reader. For -rt I am reviewing all > complete_all() users and would like to leave only the real ones in the

Re: [PATCH 3.16 304/305] netfilter: ensure number of counters is >0 in do_replace()

2016-08-14 Thread Ben Hutchings
On Sun, 2016-08-14 at 11:06 -0400, Dave Jones wrote: > On Sat, Aug 13, 2016 at 06:42:51PM +0100, Ben Hutchings wrote: >  > 3.16.37-rc1 review patch.  If anyone has any objections, please > let me know. >  >  >  > -- >  >  >  > From: Dave Jones >  >  >  > commit 1086bbe97a074844188c

Re: [tip:x86/boot] x86/mm: Enable KASLR for physical mapping memory regions

2016-08-14 Thread Baoquan He
On 08/14/16 at 12:25am, Brian Gerst wrote: > On Fri, Jul 8, 2016 at 4:35 PM, tip-bot for Thomas Garnier > wrote: > > Commit-ID: 021182e52fe01c1f7b126f97fd6ba048dc4234fd > > Gitweb: > > http://git.kernel.org/tip/021182e52fe01c1f7b126f97fd6ba048dc4234fd > > Author: Thomas Garnier > > Auth

Re: [RFC 0/4] RFC: Add Checmate, BPF-driven minor LSM

2016-08-14 Thread Mickaël Salaün
Hi, I've been working on an extension to seccomp-bpf since last year and published a first RFC about it [1]. I'm working on a second RFC/PoC which use eBPF instead of cBPF and is more close to a common LSM than the first RFC. I plan to publish this second RFC by the end of the month. Our appro

Re: [LKP] [lkp] [xfs] 68a9f5e700: aim7.jobs-per-min -13.6% regression

2016-08-14 Thread Dave Chinner
On Sun, Aug 14, 2016 at 06:17:24PM +0200, Christoph Hellwig wrote: > Snipping the long contest: > > I think there are three observations here: > > (1) removing the mark_page_accessed (which is the only significant > change in the parent commit) hurts the > aim7/1BRD_48G-xfs-disk_rr-30

Re: [RFC 5/7] Bluetooth: hci_nokia: Introduce new driver

2016-08-14 Thread Paul Gortmaker
On Fri, Aug 12, 2016 at 11:14 PM, Sebastian Reichel wrote: > This driver adds support for Nokia H4+ procotol used > for example by Nokia's internet tablets (N770 - N950). > --- > drivers/bluetooth/Kconfig | 10 + > drivers/bluetooth/Makefile| 1 + > drivers/bluetooth/hci_ldisc.c | 6

Re: [LKP] [lkp] [xfs] 68a9f5e700: aim7.jobs-per-min -13.6% regression

2016-08-14 Thread Fengguang Wu
Hi Christoph, On Sun, Aug 14, 2016 at 06:17:24PM +0200, Christoph Hellwig wrote: Snipping the long contest: I think there are three observations here: (1) removing the mark_page_accessed (which is the only significant change in the parent commit) hurts the aim7/1BRD_48G-xfs-disk_rr-30

[PATCH] drm: make drm_get_format_name thread-safe

2016-08-14 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- I moved the main bits to be the first diffs, shouldn't affect anything when applying the patch, but I wanted to ask: I don't like the hard-coded `32` the appears in both kmalloc() and snprintf(), what do you think? If you don't like it either, what would you sugg

Re: [PATCH 1/3] clk: meson: Add GXBB AO Clock and Reset controller driver

2016-08-14 Thread Paul Gortmaker
On Tue, Aug 9, 2016 at 5:13 AM, Neil Armstrong wrote: > Adds a Clock and Reset controller driver for the Always-On part > of the Amlogic Meson GXBB SoC. > > It exports paired Clocks and Resets lines that will be used by > peripherals in the Always-On subsystem. [...] > +static const struct of_de

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

2016-08-14 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in: kernel/bpf/verifier.c between commit: 747ea55e4f78 ("bpf: fix bpf_skb_in_cgroup helper naming") from the net tree and commit: 60d20f9195b2 ("bpf: Add bpf_current_task_under_cgroup helper") from the net-next tree.

Re: [PATCH 02/12] pinctrl: Add core pinctrl support for Aspeed SoCs

2016-08-14 Thread Andrew Jeffery
On Sat, 2016-08-13 at 10:58 +1000, Benjamin Herrenschmidt wrote: > On Fri, 2016-08-12 at 15:18 +0200, Linus Walleij wrote: > > > > I would probably prefer that option (introduce another field) > > but you should make the overall decision, it's no strong opinion > > from my side. > > > > > > > >

[PATCH v6 2/2] Documentation: kdump: add description of enable multi-cpus support

2016-08-14 Thread Zhou Wenjian
multi-cpu support is useful to improve the performance of kdump in some cases. So add the description of enable multi-cpu support in dump-capture kernel. Signed-off-by: Zhou Wenjian Acked-by: Baoquan He --- Documentation/kdump/kdump.txt | 7 +++ 1 file changed, 7 insertions(+) diff --git a

[PATCH v6 0/2] update the doc of kdump

2016-08-14 Thread Zhou Wenjian
v5->v6: replace "we" with "you" v4->v5: move change log to cover letter v3->v4: update the description of bring up SMP dump-capture kernel v2->v3: add description of nr_cpus. v1->v2: change nr_cpus to maxcpus Zhou Wenjian (2): Documentation: kdump: remind user of nr_cpus Documentation: kdump:

[PATCH v6 1/2] Documentation: kdump: remind user of nr_cpus

2016-08-14 Thread Zhou Wenjian
nr_cpus can help to save memory. So we should remind user of it. Signed-off-by: Zhou Wenjian Acked-by: Baoquan He --- Documentation/kdump/kdump.txt | 2 +++- 1 file changed, 2 insertions(+) diff --git a/Documentation/kdump/kdump.txt b/Documentation/kdump/kdump.txt index 88ff63d..96da2b7 100644

Re: [LKP] [lkp] [xfs] 68a9f5e700: aim7.jobs-per-min -13.6% regression

2016-08-14 Thread Dave Chinner
On Fri, Aug 12, 2016 at 11:03:33AM -0700, Linus Torvalds wrote: > On Thu, Aug 11, 2016 at 8:56 PM, Dave Chinner wrote: > > On Thu, Aug 11, 2016 at 07:27:52PM -0700, Linus Torvalds wrote: > >> > >> I don't recall having ever seen the mapping tree_lock as a contention > >> point before, but it's not

Re: [RFC PATCH v7 7/7] Restartable sequences: self-tests

2016-08-14 Thread Boqun Feng
On Sun, Aug 14, 2016 at 03:02:20PM +, Mathieu Desnoyers wrote: > - On Aug 12, 2016, at 9:28 PM, Boqun Feng boqun.f...@gmail.com wrote: > > > On Fri, Aug 12, 2016 at 06:11:45PM +, Mathieu Desnoyers wrote: > >> - On Aug 12, 2016, at 12:35 PM, Boqun Feng boqun.f...@gmail.com wrote: >

Re: [RFC 5/7] Bluetooth: hci_nokia: Introduce new driver

2016-08-14 Thread Sebastian Reichel
Hi Paul, On Sun, Aug 14, 2016 at 07:54:28PM -0400, Paul Gortmaker wrote: > On Fri, Aug 12, 2016 at 11:14 PM, Sebastian Reichel wrote: > > This driver adds support for Nokia H4+ procotol used > > for example by Nokia's internet tablets (N770 - N950). > > > > [...] > > > > +config BT_HCIUART_NOKIA

Re: [LKP] [lkp] [xfs] 68a9f5e700: aim7.jobs-per-min -13.6% regression

2016-08-14 Thread Linus Torvalds
On Sun, Aug 14, 2016 at 5:48 PM, Dave Chinner wrote: >> >> Does this attached patch help your contention numbers? > > No. If anything, it makes it worse. Without the patch, I was > measuring 36-37% in _raw_spin_unlock_irqrestore. With the patch, it > is 42-43%. Write throughtput is the same at ~50

Re: [PATCH 1/3] mem-hotplug: introduce movablenode option

2016-08-14 Thread Xishi Qiu
On 2016/8/12 7:13, Andrew Morton wrote: > On Thu, 4 Aug 2016 19:23:54 +0800 Xishi Qiu wrote: > >> This patch introduces a new boot option movablenode. >> >> To support memory hotplug, boot option "movable_node" is needed. And to >> support debug memory hotplug, boot option "movable_node" and "mo

Re: [PATCH] mailbox-Hi6220: Delete owner assignment

2016-08-14 Thread Leo Yan
On Sun, Aug 14, 2016 at 09:18:53PM +0200, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sun, 14 Aug 2016 21:08:41 +0200 > > The field "owner" is set by core. Thus delete an extra initialisation. > > Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci > Signed-off-by: Marku

[GIT PULL] Thermal management updates for v4.8-rc2

2016-08-14 Thread Zhang Rui
Hi, Linus, Please pull from   git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux.git next to receive the latest Thermal Management updates for v4.8-rc2 with top-most commit 1577ddfac75ff9690ebd0d210bc7f1345c9d29ef:   Merge branches 'thermal-intel' and 'thermal-core' into next (2016-08- 0

[PATCH v6] vcodec: mediatek: Add g/s_selection support for V4L2 Encoder

2016-08-14 Thread Tiffany Lin
This patch add g/s_selection for MT8173 V4L2 Encoder. Only output queue support g/s_selection to configure crop. The top/left of active rectangle should always be (0,0) Signed-off-by: Tiffany Lin --- v6: - remove unused err variable from s_selection v5: - remove visible_height change to a separat

[PATCH 0/2] block: skd_main: Neatening and object size reduction

2016-08-14 Thread Joe Perches
Joe Perches (2): block: skd_main: Neaten pr_debug uses by adding and using skd_dbg block: skd_main: Reduce dynamic_debug size drivers/block/skd_main.c | 604 ++- 1 file changed, 228 insertions(+), 376 deletions(-) -- 2.8.0.rc4.16.g56331f8

[PATCH 2/2] block: skd_main: Reduce dynamic_debug size

2016-08-14 Thread Joe Perches
Delete __func__ and __LINE__ from skd_dbg. skd_main does not enable DEBUG so these skd_dbg/pr_debug uses are not enabled unless dynamic_debug is enabled. dynamic_debug can optionally emit __func__ and __LINE__ so the default use of %s:%d is not necessary. $ size drivers/block/skd_main.o* text

[PATCH 1/2] block: skd_main: Neaten pr_debug uses by adding and using skd_dbg

2016-08-14 Thread Joe Perches
Shorten and neaten the code around these pr_debug uses. Removes ~150 lines of essentially noise by using a standardized macro. Miscellanea: o Coalesce formats adding missing space where appropriate o Realign arguments Signed-off-by: Joe Perches --- drivers/block/skd_main.c | 605 +

Re: [PATCH 4.4 133/146] ovl: Copy up underlying inodes ->i_mode to overlay inode

2016-08-14 Thread Eryu Guan
On Sun, Aug 14, 2016 at 04:52:16PM +0200, Greg Kroah-Hartman wrote: > > Did a fix for this ever get into Linus's tree? > > thanks, > > greg k-h Yes, please see commit c1892c37769c ("vfs: fix deadlock in file_remove_privs() on overlayfs"), which is tagged as "stable". Thanks, Eryu

Re: [LKP] [lkp] [xfs] 68a9f5e700: aim7.jobs-per-min -13.6% regression

2016-08-14 Thread Dave Chinner
On Sun, Aug 14, 2016 at 06:37:33PM -0700, Linus Torvalds wrote: > On Sun, Aug 14, 2016 at 5:48 PM, Dave Chinner wrote: > >> > >> Does this attached patch help your contention numbers? > > > > No. If anything, it makes it worse. Without the patch, I was > > measuring 36-37% in _raw_spin_unlock_irqr

[PATCH for v4.8] vcodec:mediatek:code refine for v4l2 Encoder driver

2016-08-14 Thread Tiffany Lin
This patch remove unused header and define from haeder files Signed-off-by: Tiffany Lin --- drivers/media/platform/mtk-vcodec/mtk_vcodec_drv.h |1 - .../media/platform/mtk-vcodec/mtk_vcodec_intr.h|1 - 2 files changed, 2 deletions(-) diff --git a/drivers/media/platform/mtk-vcodec/mt

Re: [PATCH v9 01/10] clk: fix initial state of critical clock's parents

2016-08-14 Thread James Liao
Hi Stephen, On Fri, 2016-08-12 at 17:39 -0700, Stephen Boyd wrote: > On 08/12, James Liao wrote: > > On Wed, 2016-08-10 at 14:09 -0700, Stephen Boyd wrote: > > > (Including lists) > > > > > > On 08/09, James Liao wrote: > > > > On Wed, 2016-08-03 at 13:46 +0800, James Liao wrote: > > > >> > > > >

[PATCH for v4.8] vcodec:mediatek: Fix fops_vcodec_release flow for V4L2 Encoder

2016-08-14 Thread Tiffany Lin
This patch fix that mtk_vcodec_venc_release should be called after v4l2_m2m_ctx_release Signed-off-by: Tiffany Lin --- drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c |7 ++- .../media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c |6 +- 2 files changed, 11 insertions(+), 2 deleti

Re: [PATCH 1/2] block: skd_main: Neaten pr_debug uses by adding and using skd_dbg

2016-08-14 Thread kbuild test robot
Hi Joe, [auto build test WARNING on linus/master] [also build test WARNING on v4.8-rc1 next-20160812] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Joe-Perches/block-skd_main-Neaten-pr_debug-us

Re: [LKP] [lkp] [xfs] 68a9f5e700: aim7.jobs-per-min -13.6% regression

2016-08-14 Thread Linus Torvalds
On Sun, Aug 14, 2016 at 7:28 PM, Dave Chinner wrote: >> >> Maybe your symbol table came from a old kernel, and functions moved >> around enough that the profile attributions ended up bogus. > > No, I don't think so. I don't install symbol tables on my test VMs, > I let /proc/kallsyms do that work

Re: [PATCH v3] vfio : add aer process

2016-08-14 Thread Zhou Jie
ping On 2016/8/2 11:57, Zhou Jie wrote: During aer err occurs and resume do following to protect device from being accessed. 1. Make config space read only. 2. Disable INTx/MSI Interrupt. 3. Do nothing for bar regions. Signed-off-by: Zhou Jie --- v2-v3: 1. Call init_completion() in vfio_pci

Re: [PATCH 1/2] block: skd_main: Neaten pr_debug uses by adding and using skd_dbg

2016-08-14 Thread Joe Perches
On Mon, 2016-08-15 at 10:53 +0800, kbuild test robot wrote: > Hi Joe, Hi Fengguang. None of these are "new" errors, it's just using a new and different call. I'm not suggesting these shouldn't be fixed later, just that these shouldn't be fixed in this specific patch as it would intermix a style

Re: [PATCH v9 06/10] clk: mediatek: Add MT2701 clock support

2016-08-14 Thread James Liao
Hi Stephen, On Fri, 2016-08-12 at 17:44 -0700, Stephen Boyd wrote: > On 06/22, Erin Lo wrote: > > diff --git a/drivers/clk/mediatek/clk-mt2701-bdp.c > > b/drivers/clk/mediatek/clk-mt2701-bdp.c > > new file mode 100644 > > index 000..81f628c > > --- /dev/null > > +++ b/drivers/clk/mediatek/clk

Re: [RFC 0/4] RFC: Add Checmate, BPF-driven minor LSM

2016-08-14 Thread Sargun Dhillon
On Mon, Aug 15, 2016 at 12:57:44AM +0200, Mickaël Salaün wrote: > Hi, > > I've been working on an extension to seccomp-bpf since last year and > published > a first RFC about it [1]. I'm working on a second RFC/PoC which use eBPF > instead of cBPF and is more close to a common LSM than the firs

[PATCH for v4.8] vcodec:mediatek: Fix visible_height larger than coded_height issue in s_fmt_out

2016-08-14 Thread Tiffany Lin
The original code add extra 32 line to visible_height. It is incorrect, 32 line should be add to coded_height. The purpose is that user space could calcuate real buffer size needed by using coded_width * coded_height. But this method will make v4l2-compliance test fail, since g_fmt != s_fmt(g_fmt)

[PATCH for v4.8] vcodec:mediatek: Add timestamp and timecode copy for V4L2 Encoder

2016-08-14 Thread Tiffany Lin
This patch add copying timestamp and timecode from src buffer to dst buffer Signed-off-by: Tiffany Lin --- drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c | 23 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_e

Linux 4.8-rc2

2016-08-14 Thread Linus Torvalds
We've had a week since the merge window closed, and rc2 is out. Go test it. The diffstat for rc2 looks unusual, in that only about 1/6th is drivers (normally drivers account for about half the bulk of the updates). Instead, it's dominated by arch updates, and fs/ and mm/. But that's most likely ju

[PATCH for v4.8] vcodec:mediatek: change H264 profile default to profile high

2016-08-14 Thread Tiffany Lin
This patch change default H264 profile from V4L2_MPEG_VIDEO_H264_PROFILE_MAIN to V4L2_MPEG_VIDEO_H264_PROFILE_HIGH Signed-off-by: Tiffany Lin --- drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/mtk-v

linux-next: Tree for Aug 15

2016-08-14 Thread Stephen Rothwell
Hi all, Changes since 20160812: The net-next tree gained a conflict against the net tree. The akpm tree lost a patch that turned up elsewhere. Non-merge commits (relative to Linus' tree): 1667 1761 files changed, 70815 insertions(+), 19458 deletions(-)

[PATCH for v4.8] vcodec:mediatek: Refine H264 encoder driver

2016-08-14 Thread Tiffany Lin
This patch : 1. remove field and function that unused anymore 2. add support V4L2_MPEG_VIDEO_H264_LEVEL_4_2 Signed-off-by: Tiffany Lin --- .../media/platform/mtk-vcodec/venc/venc_h264_if.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/media/platf

[PATCH for v4.8] vcodec:mediatek: Refine VP8 encoder driver

2016-08-14 Thread Tiffany Lin
This patch remove field and function that unused anymore Signed-off-by: Tiffany Lin --- .../media/platform/mtk-vcodec/venc/venc_vp8_if.c | 16 +++- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/drivers/media/platform/mtk-vcodec/venc/venc_vp8_if.c b/drivers/media/

Re: [PATCH] vcodec: mediatek: bug fix and code refine for mt8173 v4l2 Encoder

2016-08-14 Thread Tiffany Lin
Hi Hans, On Sun, 2016-08-14 at 13:40 +0200, Hans Verkuil wrote: > On 08/12/2016 04:35 PM, Tiffany Lin wrote: > > This patch include fixs: > > 1. Remove unused include in mtk_vcodec_drv.h > > 2. Fix visible_height larger than coded_height issue in s_fmt_out > > 3. Add timestamp and

Re: [PATCH v2 0/3] Make /proc per net namespace objects belong to container

2016-08-14 Thread David Miller
From: Dmitry Torokhov Date: Wed, 10 Aug 2016 14:35:59 -0700 > Currently [almost] all /proc objects belong to the global root, even if > data belongs to a given namespace within a container and (at least for > sysctls) we work around permssions checks to allow container's root to > access the data

Re: [RFC 1/2] netvsc: reference counting fix

2016-08-14 Thread David Miller
From: Stephen Hemminger Date: Sat, 13 Aug 2016 11:35:59 -0700 > This is how I think it should be fixed, but not tested yet. > > Subjec: netvsc: use device not module reference counts > > Fix how the cross-device reference counting is handled. When VF is > associated with the synthetic interfac

Re: [PATCH] mlxsw: spectrum_router: Fix use after free

2016-08-14 Thread David Miller
From: Vincent Stehlé Date: Sun, 14 Aug 2016 15:38:29 +0200 > In mlxsw_sp_router_fib4_add_info_destroy(), the fib_entry pointer is used > after it has been freed by mlxsw_sp_fib_entry_destroy(). Use a temporary > variable to fix this. > > Fixes: 61c503f976b5449e ("mlxsw: spectrum_router: Implemen

Loan Application

2016-08-14 Thread Lisa Collins
Do You Need A Loan Of Any Kind ? If Yes Email Now For More Info on internationalloanp...@gmail.com Benötigen Sie ein Darlehen jeglicher Art? Wenn ja E-Mail jetzt für mehr Info auf internationalloanp...@gmail.com

[lkp] [usb] ad05399d68: BUG: unable to handle kernel NULL pointer dereference at 0000000000000012

2016-08-14 Thread kernel test robot
FYI, we noticed the following commit: https://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git testing/next commit ad05399d68b6ae1649cdcfc82ce3ffea1a7c5104 ("usb: udc: core: fix error handling") in testcase: boot on test machine: 1 threads qemu-system-x86_64 -enable-kvm -cpu SandyBridge w

[lkp] 8700e3e7c4: BUG: unable to handle kernel NULL pointer dereference at 000001fc

2016-08-14 Thread kernel test robot
FYI, we noticed the following commit: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit 8700e3e7c4857d28ebaa824509934556da0b3e76 ("Soft RoCE driver") in testcase: boot on test machine: 1 threads qemu-system-i386 -enable-kvm with 256M memory caused below changes:

[PATCH] drm/nouveau/tegra: Modify error handling

2016-08-14 Thread Amitoj Kaur Chawla
iommu_domain_alloc returns NULL on error so replace an incorrect IS_ERR check with a NULL check. The Coccinelle semantic patch used to find this issue is as follows: @@ expression e; statement S; @@ *e = iommu_domain_alloc(...); if (IS_ERR(e)) S Signed-off-by: Amitoj Kaur Chawla --- drivers/gp

Re: [PATCH v3 3/4] arm64: kaslr: Fix incorrect placement of __initdata and __read_mostly

2016-08-14 Thread Jisheng Zhang
Hi Ard, On Fri, 12 Aug 2016 14:02:40 +0200 Ard Biesheuvel wrote: > Hi Jisheng, > > On 12 August 2016 at 10:01, Jisheng Zhang wrote: > > __initdata and __read_mostly should be placed after the variable name > > for the variable to be placed in the intended section. > > > > Why? include/linux

[PATCH v2] drm/tegra: dpaux: Modify error handling

2016-08-14 Thread Amitoj Kaur Chawla
devm_pinctrl_register returns an ERR_PTR in case of error and should have an IS_ERR check instead of a null check. The Coccinelle semantic patch used to make this change is as follows: @@ expression e; @@ e = devm_pinctrl_register(...); if( -!e +IS_ERR(e) ) { <+... return -

Re: [LKP] [lkp] [xfs] 68a9f5e700: aim7.jobs-per-min -13.6% regression

2016-08-14 Thread Dave Chinner
On Sun, Aug 14, 2016 at 07:53:40PM -0700, Linus Torvalds wrote: > On Sun, Aug 14, 2016 at 7:28 PM, Dave Chinner wrote: > >> > >> Maybe your symbol table came from a old kernel, and functions moved > >> around enough that the profile attributions ended up bogus. > > > > No, I don't think so. I don'

Re: [LKP] [lkp] [xfs] 68a9f5e700: aim7.jobs-per-min -13.6% regression

2016-08-14 Thread Ingo Molnar
* Linus Torvalds wrote: > Make sure you actually use "perf record -e cycles:pp" or something > that uses PEBS to get real profiles using CPU performance counters. Btw., 'perf record -e cycles:pp' is the default now for modern versions of perf tooling (on most x86 systems) - if you do 'perf reco

Re: [PATCH v3 0/7] x86: Rewrite switch_to()

2016-08-14 Thread Ingo Molnar
* Brian Gerst wrote: > > Something like this: > > > > taskset 1 perf stat -a -e '{instructions,cycles}' --repeat 10 perf bench > > sched pipe > > > > ... will give a very good idea about the general impact of these changes on > > context switch overhead. > > Before: > Performance counter st

[PATCH] [media] radio-si470x-i2c: Delete owner assignment

2016-08-14 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 15 Aug 2016 07:01:56 +0200 The field "owner" is set by core. Thus delete an extra initialisation. Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: Markus Elfring --- drivers/media/radio/si470x/radio-si470x-i2c.c | 1 - 1 file chang

Re: [PATCH] x86/power/64: Use __pa() for physical address computation

2016-08-14 Thread Ingo Molnar
* Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The value of temp_level4_pgt is the physical address of the > top-level page directory, so use __pa() to compute it. > > Signed-off-by: Rafael J. Wysocki > --- > arch/x86/power/hibernate_64.c |2 +- > 1 file changed, 1 insertion(+

Re: [PATCH 2/2] KVM: nVMX: postpone VMCS changes on MSR_IA32_APICBASE write

2016-08-14 Thread Wanpeng Li
2016-08-12 19:39 GMT+08:00 Radim Krčmář : > 2016-08-12 18:14+0800, Wanpeng Li: >> 2016-08-12 17:44 GMT+08:00 Radim Krčmář : >>> 2016-08-12 14:07+0800, Wanpeng Li: 2016-08-09 2:16 GMT+08:00 Radim Krčmář : > If vmcs12 does not intercept APIC_BASE writes, then KVM will handle the > write

Re: [PATCH] edac: wq: Remove deprecated create_singlethread_workqueue

2016-08-14 Thread Borislav Petkov
On Sat, Aug 13, 2016 at 10:11:24PM +0530, Bhaktipriya Shridhar wrote: > alloc_ordered_workqueue() with WQ_MEM_RECLAIM set replaces > deprecated create_singlethread_workqueue(). This is the identity > conversion. > > wq has been identity converted since it is used to detect things like > ECC memory

Re: [PATCH v2] clocksource/drivers/time-armada-370-xp: Fix the clock reference

2016-08-14 Thread Stefan Roese
On 10.08.2016 15:14, Gregory CLEMENT wrote: While converting the init function to return an error, the wrong clock was get. This lead to wrong clock rate and slow down the kernel. For example, before the patch a typical boot was around 15s after it was 1 minute slower. Fixes: 12549e27c63c ("cloc

RE: [PATCH] nvme/quirk: Add a delay before checking device ready for memblaze device

2016-08-14 Thread Wenbo Wang
Keith, Is this patch accepted? Thanks. -Original Message- From: Wenbo Wang Sent: Tuesday, August 9, 2016 11:18 AM To: 'keith.bu...@intel.com'; 'ax...@fb.com' Cc: linux-n...@lists.infradead.org; linux-kernel@vger.kernel.org Subject: [PATCH] nvme/quirk: Add a delay before checking device r

[PATCH] mmc: sdhci-brcmstb: Delete owner assignment

2016-08-14 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 15 Aug 2016 07:32:45 +0200 The field "owner" is set by core. Thus delete an extra initialisation. Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: Markus Elfring --- drivers/mmc/host/sdhci-brcmstb.c | 1 - 1 file changed, 1 deletio

Re: [PATCH 3.2 44/94] wext: Fix 32 bit iwpriv compatibility issue with 64 bit Kernel

2016-08-14 Thread Johannes Berg
On Sat, 2016-08-13 at 17:42 +, Ben Hutchings wrote: > 3.2.82-rc1 review patch.  If anyone has any objections, please let me > know. > > -- > > From: Prasun Maiti > > commit 3d5fdff46c4b2b9534fa2f9fc78e90a48e0ff724 upstream. > Did you just include this by accident? You had

[PATCH v2] clocksource: sun4i: Clear interrupts after stopping timer in probe function

2016-08-14 Thread Chen-Yu Tsai
The bootloader (U-boot) sometimes uses this timer for various delays. It uses it as a ongoing counter, and does comparisons on the current counter value. The timer counter is never stopped. In some cases when the user interacts with the bootloader, or lets it idle for some time before loading Linu

<    4   5   6   7   8   9   10   >