linux-next: manual merge of the powerpc tree with the powerpc-fixes tree

2017-02-02 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the powerpc tree got a conflict in: arch/powerpc/Kconfig between commit: f2574030b0e3 ("powerpc: Revert the initial stack protector support") from the powerpc-fixes tree and commit: d6c569b99558 ("powerpc/64: Move HAVE_CONTEXT_TRACKING from pseries

[tip:WIP.sched/core 61/63] sound/oss/dmasound/dmasound_core.c:635:4: error: implicit declaration of function 'signal_pending'

2017-02-02 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.sched/core head: 7f79b5e3727bae36481c9bc5587291d88742291f commit: 851f7523d850c32dc63b04cacf3a447e1b08e1e9 [61/63] sched/headers: Move signal wakeup & sigpending methods from into config: m68k-multi_defconfig (attached

[tip:WIP.sched/core 101/122] drivers/misc/cxl/fault.c:228:10: warning: assignment makes pointer from integer without a cast

2017-02-02 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.sched/core head: a69a38e26e87ddbe993e33b55f693405cd62c76f commit: 18722d63da35b5846c7d79eedd1b35f46eefea07 [101/122] sched/headers, signals: Separate out task_struct::signal and task_struct::sighand types and accessors

Re: linux-next: build failure after merge of the v4l-dvb tree

2017-02-02 Thread Stephen Rothwell
Hi Mauro, On Thu, 2 Feb 2017 21:24:40 -0200 Mauro Carvalho Chehab wrote: > > I actually push the patches on a different tree: > git://linuxtv.org/media_tree.git > > At the branches "master" and "fixes", where > > master - for rolling develoment patches > fixes -

Re: [PATCH 6/7] efi: Handle secure boot from UEFI-2.6 [ver #7]

2017-02-02 Thread Matt Fleming
On Wed, 01 Feb, at 03:02:14PM, Ard Biesheuvel wrote: > > Let's wait for Matt to comment on the x86 bits before reissuing > anything, but if the subsequent patches still apply cleanly, I don't > think there is a need to resend or re-sign. This all looks fine to me now, thanks for the re-work

[PATCH] arm64: cache: Skip an unnecessary data cache clean PoU operation

2017-02-02 Thread Shanker Donthineni
The cache management functions always do the data cache PoU (point of unification) operations even though it is not required on some systems. NO need to clean data cache till PoU if all the cache levels below PoUIS are WT (Write-Through) caches. It causes a huge performance degradation when

Re: [PATCH wq/for-4.11] workqueue: clean up enum definitions in workqueue.h

2017-02-02 Thread Tejun Heo
On Thu, Feb 02, 2017 at 03:29:22PM -0500, Tejun Heo wrote: > From 225248f9f11895dabd86e118b69220242aece94b Mon Sep 17 00:00:00 2001 > From: Tejun Heo > Date: Thu, 2 Feb 2017 15:25:08 -0500 > > Consistently use UL postfix for mask calculation and drop unnecessary > (unsigned

Re: [PATCH] [net-next] xgene_enet: remove bogus forward declarations

2017-02-02 Thread David Miller
From: Arnd Bergmann Date: Wed, 1 Feb 2017 17:46:02 +0100 > The device match tables for both the xgene_enet driver and its phy driver > have forward declarations that declare an array without a length, leading > to a clang warning when they are not followed by an actual

Re: [PATCH 0/7] mm: vmscan: fix kswapd writeback regression v2

2017-02-02 Thread Andrew Morton
On Thu, 2 Feb 2017 14:19:50 -0500 Johannes Weiner wrote: > here are some minor updates to the series. It's nothing functional, > just code comments and updates to the changelogs from the mailing list > discussions. Since we don't have a good delta system for changelogs > I'm

[PATCH 2/4] selftests, x86, protection_keys: remove dead code

2017-02-02 Thread Dave Hansen
From: Shuah Khan Remove commented out calls to pkey_get(). Signed-off-by: Shuah Khan Signed-off-by: Dave Hansen --- b/tools/testing/selftests/x86/protection_keys.c | 10 -- 1 file changed, 10

[PATCH 4/4] selftests, x86, protection_keys: fix wrong offset in siginfo

2017-02-02 Thread Dave Hansen
From: Dave Hansen The siginfo contains a bunch of information about the fault. For protection keys, it tells us which protection key's permissions were violated. The wrong offset in here leads to reading garbage and thus failures in the tests. We should probably

[PATCH 3/4] selftests, x86, protection_keys: fix uninitialized variable warning

2017-02-02 Thread Dave Hansen
From: Dave Hansen 'orig_pkru' might have been uninitialized here. Fix it. Signed-off-by: Dave Hansen --- b/tools/testing/selftests/x86/protection_keys.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN

[PATCH 1/4] selftests, x86, protection_keys: fix unused variable compile warnings

2017-02-02 Thread Dave Hansen
From: Shuah Khan Fix unused variable compile warnings in protection_keys.c Signed-off-by: Shuah Khan Signed-off-by: Dave Hansen --- b/tools/testing/selftests/x86/protection_keys.c |5 - 1 file changed, 5

[PATCH 0/4] selftests, x86: updates for x86 protection keys self tests

2017-02-02 Thread Dave Hansen
The memory protection keys selftests are spewing warnings. This fixes them up. Thanks, Shuah, for sending these first two a few weeks ago! I wrongly assumed they would get picked up somewhere. I also included a fix that affected the 32-bit version of the pkeys test case. It was parsing the

[tip:WIP.sched/core 120/122] arch/powerpc/platforms/83xx/suspend.c:271:7: error: implicit declaration of function 'signal_pending'

2017-02-02 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.sched/core head: a69a38e26e87ddbe993e33b55f693405cd62c76f commit: 88d0fe4cbc5e74cda2764df63cb369f32746af54 [120/122] sched/headers: Move signal wakeup & sigpending methods from into config: powerpc-mpc83xx_defconfig

[tip:WIP.sched/core 120/122] drivers/i2c/busses/i2c-ibm_iic.c:438:17: error: implicit declaration of function 'signal_pending'

2017-02-02 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.sched/core head: a69a38e26e87ddbe993e33b55f693405cd62c76f commit: 88d0fe4cbc5e74cda2764df63cb369f32746af54 [120/122] sched/headers: Move signal wakeup & sigpending methods from into config: powerpc-ppc44x_defconfig

Re: linux-next: build failure after merge of the v4l-dvb tree

2017-02-02 Thread Mauro Carvalho Chehab
Em Fri, 3 Feb 2017 11:01:17 +1100 Stephen Rothwell escreveu: > Hi Mauro, > > On Thu, 2 Feb 2017 21:24:40 -0200 Mauro Carvalho Chehab > wrote: > > > > I actually push the patches on a different tree: > > git://linuxtv.org/media_tree.git > >

Your secret pin code is ML0757985

2017-02-02 Thread PROMO AWARD
Congratulations! Your e-mail account has just won £750.000 GBP in the ongoing microsoft promotion. For claims and more info, please send an e-mail: jamesbarry...@qq.com Please Note: This is the third time we have been trying to contact you. Online Coordinator James Barry(Msc)

Re: [PATCH v4 3/4] device property: constify property arrays values

2017-02-02 Thread Rafael J. Wysocki
On Fri, Feb 3, 2017 at 1:16 AM, Dmitry Torokhov wrote: > On Fri, Feb 03, 2017 at 12:16:29AM +0100, Rafael J. Wysocki wrote: >> On Thu, Feb 2, 2017 at 7:38 PM, Dmitry Torokhov >> wrote: >> > On Thu, Feb 02, 2017 at 07:52:58PM +0200, Andy

Re: [PATCHSET for-4.11] cgroup: implement cgroup v2 thread mode

2017-02-02 Thread Tejun Heo
Hello, On Thu, Feb 02, 2017 at 01:32:19PM -0800, Andy Lutomirski wrote: > > * Thread mode is explicitly enabled on a cgroup by writing "enable" > > into "cgroup.threads" file. The cgroup shouldn't have any child > > cgroups or enabled controllers. > > Why do you need to manually turn it on?

Re: linux-next: build failure after merge of the v4l-dvb tree

2017-02-02 Thread Stephen Rothwell
Hi Mauro, On Tue, 31 Jan 2017 11:55:05 +1100 Stephen Rothwell wrote: > > After merging the v4l-dvb tree, today's linux-next build (arm > multi_v7_defconfig) failed like this: > > In file included from arch/arm/mach-omap2/pdata-quirks.c:15:0: >

Re: [PATCH v3 00/24] i.MX Media Driver

2017-02-02 Thread Russell King - ARM Linux
On Thu, Feb 02, 2017 at 11:12:41AM -0800, Steve Longerbeam wrote: > Here is the current .queue_setup() op in imx-media-capture.c: > > static int capture_queue_setup(struct vb2_queue *vq, >unsigned int *nbuffers, >unsigned int

[GIT PULL][PATCH] tracing/kprobes: Fix __init annotation

2017-02-02 Thread Steven Rostedt
Linus, Simple fix of s/static struct __init/static __init struct/ This time I made sure to push the tag. :-/ Please pull the latest trace-v4.10-rc2-2 tree, which can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git trace-v4.10-rc2-2 Tag SHA1:

[ANNOUNCE] Git v2.11.1

2017-02-02 Thread Junio C Hamano
The latest maintenance release Git v2.11.1 is now available at the usual places. The tarballs are found at: https://www.kernel.org/pub/software/scm/git/ The following public repositories all have a copy of the 'v2.11.1' tag and the 'maint' branch that the tag points at: url =

[git pull] drm fixes for 4.10-rc7

2017-02-02 Thread Dave Airlie
Hi Linus, Another fixes pull for v4.10, it's a bit big due to the backport of the VMA fixes for i915 that should fix the oops on shutdown problems that you've worked around. There are also two drm core connector registration fixes, a bunch of nouveau regression fixes and two AMD fixes. Dave.

RE: [PATCHv3 5/7] tap: Extending tap device create/destroy APIs

2017-02-02 Thread Grandhi, Sainath
> -Original Message- > From: David Miller [mailto:da...@davemloft.net] > Sent: Tuesday, January 31, 2017 9:51 AM > To: Grandhi, Sainath > Cc: net...@vger.kernel.org; mah...@bandewar.net; linux- > ker...@vger.kernel.org > Subject: Re: [PATCHv3 5/7] tap:

[PATCH V12 1/3] ACPI: Generic GSI: Do not attempt to map non-GSI IRQs during bus scan

2017-02-02 Thread Agustin Vega-Frias
ACPI extended IRQ resources may contain a Resource Source field to specify an alternate interrupt controller, attempting to map them as GSIs is incorrect, so just disable the platform resource. Since this field is currently ignored, we make this change conditional on CONFIG_ACPI_GENERIC_GSI to

[PATCH V12 3/3] irqchip: qcom: Add IRQ combiner driver

2017-02-02 Thread Agustin Vega-Frias
Driver for interrupt combiners in the Top-level Control and Status Registers (TCSR) hardware block in Qualcomm Technologies chips. An interrupt combiner in this block combines a set of interrupts by OR'ing the individual interrupt signals into a summary interrupt signal routed to a parent

Re: [PATCH v4 2nd 1/4] ramoops: Add __ramoops_init_prz() as generic function

2017-02-02 Thread Mark Salyzyn
On 01/30/2017 05:58 PM, Nobuhiro Iwamatsu wrote: + + if (zap && *paddr + sz - cxt->phys_addr > cxt->size) { + dev_err(dev, "no room for %s mem region (0x%zx@0x%llx) in (0x%lx@0x%llx)\n", + name, sz, (unsigned long long)*paddr, +

Re: [PATCH v3 20/24] media: imx: Add Camera Interface subdev driver

2017-02-02 Thread Russell King - ARM Linux
On Fri, Jan 06, 2017 at 06:11:38PM -0800, Steve Longerbeam wrote: > +struct camif_priv { > + struct device *dev; > + struct video_devicevfd; You can't do this. > +static struct video_device camif_videodev = { > + .fops = _fops, > + .ioctl_ops =

[tip:WIP.sched/core 58/63] fs/affs/super.c:199:14: error: incompatible types when assigning to type 'kuid_t' from type 'int'

2017-02-02 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.sched/core head: 7f79b5e3727bae36481c9bc5587291d88742291f commit: 8bda2af585fe321f2915cc8312fe4b14f8a2e602 [58/63] sched/headers: Remove inclusion from config: m68k-sun3_defconfig (attached as .config) compiler:

Re: linux-next: manual merge of the vfs-miklos tree with the overlayfs tree and build failure

2017-02-02 Thread Stephen Rothwell
Hi Miklos, On Tue, 31 Jan 2017 11:16:56 +1100 Stephen Rothwell wrote: > > Today's linux-next merge of the vfs-miklos tree got a conflict in: > > fs/read_write.c > > between commit: > > 97e147358bea ("vfs: wrap write f_ops with file_{start,end}_write()") > > from

[tip:WIP.sched/core 117/122] drivers/misc/vmw_vmci/vmci_host.c:321:9: error: implicit declaration of function 'get_current_cred'

2017-02-02 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.sched/core head: a69a38e26e87ddbe993e33b55f693405cd62c76f commit: bcdc18d4a46bc321d73fa769cfe294cf3cdae07d [117/122] sched/headers: Remove inclusion from config: x86_64-randconfig-s4-02030507 (attached as .config)

Re: [PATCH V6 2/5] PCI: Adapt pci_register_io_range() for indirect-IO and PCI I/O translation

2017-02-02 Thread Rafael J. Wysocki
On Thu, Feb 2, 2017 at 6:36 PM, John Garry wrote: > Hi Rafael, > > Could you kindly check the minor changes to drivers/acpi/pci_root.c? It > would also be appreciated if you could review the ACPI-relevant parts in > lib/extio.c, in [PATCH V5 5/5] LPC: Add the ACPI LPC

[PATCH] bcm2835: cleanup: remove deprecated include

2017-02-02 Thread Seraphime Kirkovski
This replaces the last occurrence of the deprecated include in the staging directory with the newer Signed-off-by: Seraphime Kirkovski --- drivers/staging/bcm2835-audio/bcm2835-vchiq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH] regulator: cpcap: Add basic regulator support

2017-02-02 Thread Tony Lindgren
* Rob Herring [170201 09:15]: > On Mon, Jan 30, 2017 at 04:12:41PM -0800, Tony Lindgren wrote: > > +Example: > > + > > +cpcap_regulator: regulator@600 { > > unit-address with no reg prop. Oops thanks for spotting that. Will resend v2 shortly. Regards, Tony

Re: [PATCH 2/4] selftests, x86, protection_keys: remove dead code

2017-02-02 Thread Shuah Khan
On 02/02/2017 04:28 PM, Dave Hansen wrote: > From: Shuah Khan > > Remove commented out calls to pkey_get(). > > Signed-off-by: Shuah Khan > Signed-off-by: Dave Hansen Hi Dave, This patches is already in

Re: [PATCH 1/4] selftests, x86, protection_keys: fix unused variable compile warnings

2017-02-02 Thread Shuah Khan
On 02/02/2017 04:28 PM, Dave Hansen wrote: > From: Shuah Khan > > Fix unused variable compile warnings in protection_keys.c > > Signed-off-by: Shuah Khan > Signed-off-by: Dave Hansen Hi Dave, This patches is

[tip:WIP.sched/core 117/122] drivers/misc/eeprom/eeprom.c:99:2: note: in expansion of macro 'if'

2017-02-02 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.sched/core head: a69a38e26e87ddbe993e33b55f693405cd62c76f commit: bcdc18d4a46bc321d73fa769cfe294cf3cdae07d [117/122] sched/headers: Remove inclusion from config: i386-randconfig-sb0-02030321 (attached as .config)

Re: [PATCH 1/4] selftests, x86, protection_keys: fix unused variable compile warnings

2017-02-02 Thread Shuah Khan
On 02/02/2017 04:45 PM, Dave Hansen wrote: > On 02/02/2017 03:36 PM, Shuah Khan wrote: >> This patches is already in linux-kselftest next for 4.11 >> >> Is there a reason why you chose to resend these. > > Oh, my apologies! I didn't realize it had been picked up elsewhere. > Ingo had mentioned a

Re: [tip:sched/core] sched/core: Add debugging code to catch missing update_rq_clock() calls

2017-02-02 Thread Matt Fleming
On Thu, 02 Feb, at 04:55:06PM, Peter Zijlstra wrote: > On Tue, Jan 31, 2017 at 10:22:47AM -0700, Ross Zwisler wrote: > > On Tue, Jan 31, 2017 at 4:48 AM, Mike Galbraith wrote: > > > On Tue, 2017-01-31 at 16:30 +0530, Sachin Sant wrote: > > > Could some of you test this? It seems

[PATCHv2] ARM: dts: Add EMAC AXI settings for Arria10

2017-02-02 Thread thor . thayer
From: Thor Thayer Add the device tree entries needed to support the EMAC AXI bus settings on the Arria10 SoCFPGA chip. Signed-off-by: Thor Thayer --- v2 Add the AXI configuration to the other DW EMACs in the chip. ---

Re: [PATCH V10 2/3] ACPI: Add support for ResourceSource/IRQ domain mapping

2017-02-02 Thread Agustin Vega-Frias
Hi Rafael, On 2017-01-31 17:10, Rafael J. Wysocki wrote: On Wed, Jan 18, 2017 at 5:46 PM, Agustin Vega-Frias wrote: ACPI extended IRQ resources may contain a ResourceSource to specify an alternate interrupt controller. Introduce acpi_irq_get and use it to implement

Re: [PATCH v3 16/24] media: Add i.MX media core driver

2017-02-02 Thread Russell King - ARM Linux
On Fri, Jan 06, 2017 at 06:11:34PM -0800, Steve Longerbeam wrote: > +struct imx_media_dev { > + struct media_device md; > + struct v4l2_device v4l2_dev; This is similarly buggy. struct v4l2_device { struct device *dev; #if defined(CONFIG_MEDIA_CONTROLLER) struct

[tip:WIP.sched/core 104/122] arch/powerpc/kernel/swsusp_64.c:17:2: error: implicit declaration of function 'touch_softlockup_watchdog'

2017-02-02 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.sched/core head: a69a38e26e87ddbe993e33b55f693405cd62c76f commit: 370156b19d7226a19a04691d550ee5121847abcd [104/122] sched/headers, softlockup: Move softlockup detector watchdog methods to config: powerpc-allmodconfig

Re: [PATCH v2] EDAC: mpc85xx: Add T2080 l2-cache support

2017-02-02 Thread Michael Ellerman
Borislav Petkov writes: > On Wed, Feb 01, 2017 at 11:46:23PM +, Chris Packham wrote: >> >> diff --git a/drivers/edac/mpc85xx_edac.c b/drivers/edac/mpc85xx_edac.c >> >> index 8f66cbed70b7..67f7bc3fe5b3 100644 >> >> --- a/drivers/edac/mpc85xx_edac.c >> >> +++

Re: [PATCH] staging: fbtft: change 'gamma' array to u32

2017-02-02 Thread Joe Perches
On Thu, 2017-02-02 at 15:43 +0100, Arnd Bergmann wrote: > Having a local variable of 1024 bytes on 64-bit architectures is a bit > too much, and I ran into this warning while trying to see what functions > use the largest stack: > > drivers/staging/fbtft/fbtft-sysfs.c: In function

Re: [PATCH v2] EDAC: mpc85xx: Add T2080 l2-cache support

2017-02-02 Thread Chris Packham
On 03/02/17 12:55, Michael Ellerman wrote: > Chris if you want to send a patch to add the compatible string to the > l2cache.txt I would merge that, but honestly it doesn't achieve much > other than possibly catching a typo in the compatible name. I think catching a typo might be worthwhile. It's

Re: [PATCH] libnvdimm, namespace: do not delete namespace-id 0

2017-02-02 Thread Johannes Thumshirn
On Wed, Feb 01, 2017 at 10:35:21AM -0800, Dan Williams wrote: > Given that the naming of pmem devices changes from the pmemX form to the > pmemX.Y form when namespace id is greater than 0, arrange for namespaces > with id-0 to be exempt from deletion. Otherwise a simple reconfiguration > of an

Re: [PATCH 04/11] [media] s5p-mfc: Support MFCv10.10 buffer requirements

2017-02-02 Thread Andrzej Hajda
Hi Smitha, Ups, I have missed this patch, I hope it wont influence the review :) On 18.01.2017 11:02, Smitha T Murthy wrote: > Aligning the luma_dpb_size, chroma_dpb_size, mv_size and me_buffer_size > for MFCv10.10. > > Signed-off-by: Smitha T Murthy > --- >

[char-misc-next 0/2] mei: reset flow fix

2017-02-02 Thread Tomas Winkler
These patches should fix possible stall after device reset. The patches should be applied to the stable kernels 4.4 and newer as well, however, they do not apply cleanly hence a separate patch will be sent after are applied upstream. Alexander Usyskin (2): mei: me: add a wrapper to set host

Re: [PATCH 08/11] [media] s5p-mfc: Add VP9 decoder support

2017-02-02 Thread Andrzej Hajda
On 18.01.2017 11:02, Smitha T Murthy wrote: > Add support for codec definition and corresponding buffer > requirements for VP9 decoder. > > Signed-off-by: Smitha T Murthy > --- > drivers/media/platform/s5p-mfc/regs-mfc-v10.h |6 + >

Re: [RESENT PATCH] ARM: bcm2835: Add devicetree for the Raspberry Pi 3, for arm (32)

2017-02-02 Thread Michael Zoran
On Wed, 2017-02-01 at 13:20 +0100, Gerd Hoffmann wrote: > > > I think just having links from > > > arch/arm64/boot/dts/broadcom/bcm2837*.dts* to arch/arm/boot/dts/ > > > would > > > be the solution, then this Makefile could just reference > > > bcm2837-rpi-3-b.dtb. > > > > I suspect it is not

[PATCH V2] Add devicetree for the Raspberry Pi 3, for arm (32)

2017-02-02 Thread Michael Zoran
Signed-off-by: Michael Zoran --- arch/arm/boot/dts/Makefile| 3 ++- arch/arm/boot/dts/bcm2837-rpi-3-b.dts | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 arch/arm/boot/dts/bcm2837-rpi-3-b.dts diff --git a/arch/arm/boot/dts/Makefile

Re: net/tcp: warning in tcp_try_coalesce/skb_try_coalesce

2017-02-02 Thread Dmitry Vyukov
On Tue, Jan 31, 2017 at 3:27 PM, 'Eric Dumazet' via syzkaller wrote: > On Tue, Jan 31, 2017 at 5:17 AM, Andrey Konovalov > wrote: >> Hi, >> >> I've got the following error report while running the syzkaller fuzzer. >> >> On commit

[PATCH v4 1/8] ASoC: sun4i-i2s: Update binding documentation to include A31

2017-02-02 Thread Mylène Josserand
Add a new compatible for sun4i-i2s driver to handle some SoCs that have a reset line that must be asserted/deasserted. This new compatible, "allwinner,sun6i-a31-i2s", requires the property "resets" which should be a phandle to the reset line. Except these differences, the compatible is identical

Re: [PATCH] staging: lustre: shut up clang warnings on CLASSERT()

2017-02-02 Thread Greg Kroah-Hartman
On Thu, Feb 02, 2017 at 07:50:24AM +, Dilger, Andreas wrote: > On Feb 1, 2017, at 09:52, Arnd Bergmann wrote: > > > > lustre uses a fake switch() statement as a compile-time assert, but > > unfortunately > > each use of that causes a warning when building with clang: > > > >

Re: [PATCHv7 6/8] printk: use printk_safe buffers in printk

2017-02-02 Thread Sergey Senozhatsky
On (02/02/17 10:07), Peter Zijlstra wrote: > On Thu, Feb 02, 2017 at 11:11:34AM +0900, Sergey Senozhatsky wrote: > > On (02/01/17 16:39), Petr Mladek wrote: > > [..] > > > I guess that you are talking about the introduction of > > > #define SCHED_WARN_ON(x) WARN_ONCE(x, #x) > > > > my guess

Re: [RFC v3 02/10] KVM: arm/arm64: Move cntvoff to each timer context

2017-02-02 Thread Christoffer Dall
On Wed, Feb 01, 2017 at 12:43:02PM -0500, Jintack Lim wrote: > Make cntvoff per each timer context. This is helpful to abstract kvm > timer functions to work with timer context without considering timer > types (e.g. physical timer or virtual timer). > > This also would pave the way for ever

[PATCH 2/3] ath10k: use size_t for len variables

2017-02-02 Thread Amadeusz Sławiński
cleanup to consolidate type used for len variables Signed-off-by: Amadeusz Sławiński --- drivers/net/wireless/ath/ath10k/core.c | 2 +- drivers/net/wireless/ath/ath10k/debug.c| 49 +++--- drivers/net/wireless/ath/ath10k/spectral.c |

[PATCH 1/3] ath10k: remove ath10k_vif_to_arvif()

2017-02-02 Thread Amadeusz Sławiński
it adds unnecessary level of indirection, while we just access structure field Signed-off-by: Amadeusz Sławiński --- drivers/net/wireless/ath/ath10k/mac.c | 68 +-- drivers/net/wireless/ath/ath10k/mac.h | 7 +---

[PATCH 3/3] ath10k: fix comment

2017-02-02 Thread Amadeusz Sławiński
I wanted to take a look and it's apparently in other header Signed-off-by: Amadeusz Sławiński --- drivers/net/wireless/ath/ath10k/wmi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath10k/wmi.h

Re: [RFC v3 07/10] KVM: arm/arm64: Set a background timer to the earliest timer expiration

2017-02-02 Thread Christoffer Dall
On Wed, Feb 01, 2017 at 12:43:07PM -0500, Jintack Lim wrote: > When scheduling a background timer, consider both of the virtual and > physical timer and pick the earliest expiration time. > > Signed-off-by: Jintack Lim Reviewed-by: Christoffer Dall

Re: [RFC v3 10/10] KVM: arm/arm64: Emulate the EL1 phys timer registers

2017-02-02 Thread Christoffer Dall
On Wed, Feb 01, 2017 at 12:43:10PM -0500, Jintack Lim wrote: > Emulate read and write operations to CNTP_TVAL, CNTP_CVAL and CNTP_CTL. > Now VMs are able to use the EL1 physical timer. > > Signed-off-by: Jintack Lim Reviewed-by: Christoffer Dall

Re: [RFC v3 08/10] KVM: arm/arm64: Set up a background timer for the physical timer emulation

2017-02-02 Thread Christoffer Dall
On Wed, Feb 01, 2017 at 12:43:08PM -0500, Jintack Lim wrote: > Set a background timer for the EL1 physical timer emulation while VMs > are running, so that VMs get the physical timer interrupts in a timely > manner. > > Schedule the background timer on entry to the VM and cancel it on exit. >

Re: [RFC v3 09/10] KVM: arm64: Add the EL1 physical timer access handler

2017-02-02 Thread Christoffer Dall
On Wed, Feb 01, 2017 at 12:43:09PM -0500, Jintack Lim wrote: > KVM traps on the EL1 phys timer accesses from VMs, but it doesn't handle > those traps. This results in terminating VMs. Instead, set a handler for > the EL1 phys timer access, and inject an undefined exception as an > intermediate

Re: [PATCH v3 22/24] media: imx: Add MIPI CSI-2 OV5640 sensor subdev driver

2017-02-02 Thread Laurent Pinchart
Hi Steve, Thank you for the patch. Many of the comments below apply to the ov5642 driver too, please take them into account when reworking patch 23/24. On Friday 06 Jan 2017 18:11:40 Steve Longerbeam wrote: > This driver is based on ov5640_mipi.c from Freescale imx_3.10.17_1.0.0_beta > branch,

[char-misc-next 2/2] mei: me: generate an interrupt if the hw indicates reset.

2017-02-02 Thread Tomas Winkler
From: Alexander Usyskin In rare case the driver may lose connection with the device after device reset due to a missed interrupt. The driver will unlock the flow by generating an interrupt towards the firmware (HIG) when the device is in the resetting state. The FW

[char-misc-next 1/2] mei: me: add a wrapper to set host generated data interrupt

2017-02-02 Thread Tomas Winkler
From: Alexander Usyskin Consolidate setting H_IG, an interrupt from host towards hw, into a wrapper to eliminate code duplication. Signed-off-by: Alexander Usyskin Signed-off-by: Tomas Winkler ---

Re: [PATCH] drm: change connector disconnected debug message to an error

2017-02-02 Thread Jani Nikula
On Thu, 02 Feb 2017, Shuah Khan wrote: > Change drm_helper_probe_single_connector_modes() to print an error to > report connector disconnected status instead of a debug message. > > When this condition occurs, application doesn't know the real error and > reports it as

Re: Build failure with v4.9-rc1 and GCC trunk -- compiler weirdness

2017-02-02 Thread Peter Zijlstra
On Wed, Feb 01, 2017 at 11:04:54AM -0800, Joe Perches wrote: > > +#define order_base_2(n)\ > > +( \ > > + __builtin_constant_p(n) ? ( \ > > + ((n) < 2) ? (n) : \ > > +

[RESEND PATCH V5 7/8] thermal: da9062/61: Thermal junction temperature monitoring driver

2017-02-02 Thread Steve Twiss
From: Steve Twiss Add junction temperature monitoring supervisor device driver, compatible with the DA9062 and DA9061 PMICs. A MODULE_DEVICE_TABLE() macro is added. If the PMIC's internal junction temperature rises above T_WARN (125 degC) an interrupt is issued.

[PATCH v7 3/3] watchdog: zx2967: add watchdog controller driver for ZTE's zx2967 family

2017-02-02 Thread Baoyou Xie
This patch adds watchdog controller driver for ZTE's zx2967 family. Signed-off-by: Baoyou Xie --- drivers/watchdog/Kconfig | 10 ++ drivers/watchdog/Makefile | 1 + drivers/watchdog/zx2967_wdt.c | 274 ++ 3 files

Re: Build failure with v4.9-rc1 and GCC trunk -- compiler weirdness

2017-02-02 Thread Ard Biesheuvel
On 1 February 2017 at 21:50, Laura Abbott wrote: > On 02/01/2017 09:36 AM, Ard Biesheuvel wrote: >> On 1 February 2017 at 16:58, Laura Abbott wrote: >>> On 10/19/2016 09:22 AM, Will Deacon wrote: On Wed, Oct 19, 2016 at 09:01:33AM -0700, Linus

[PATCH v4 3/8] ASoC: Add sun8i digital audio codec

2017-02-02 Thread Mylène Josserand
Add the sun8i audio codec which handles the digital register of A33 codec. The driver handles only the basic playback from the DAC to headphones. All other features (microphone, capture, etc) will be added later. Signed-off-by: Mylène Josserand Acked-by:

[PATCH v4 5/8] ASoC: codecs: Add sun8i-a33 binding documentation

2017-02-02 Thread Mylène Josserand
Add the documentation for dt-binding of the digital audio codec driver and the audio card driver for Sun8i-a33 SoCs. Signed-off-by: Mylène Josserand Acked-by: Maxime Ripard ---

Re: [PATCH] modules: mark __inittest/__exittest as __maybe_unused

2017-02-02 Thread Rusty Russell
Arnd Bergmann writes: > clang warns about unused inline functions by default: > > arch/arm/crypto/aes-cipher-glue.c:68:1: warning: unused function '__inittest' > [-Wunused-function] > arch/arm/crypto/aes-cipher-glue.c:69:1: warning: unused function '__exittest' >

[PATCH v4 7/8] ARM: dts: sun8i: parrot: Enable audio nodes

2017-02-02 Thread Mylène Josserand
Enable the audio codec and the audio dai for the sun8i R16 Parrot board. Signed-off-by: Mylène Josserand --- arch/arm/boot/dts/sun8i-r16-parrot.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-r16-parrot.dts

[PATCH v4 8/8] ARM: dts: sun8i: sinlinx: Enable audio nodes

2017-02-02 Thread Mylène Josserand
Enable the audio codec and the audio dai for the sun8i A33 sinlinx board. Signed-off-by: Mylène Josserand --- arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts | 12 1 file changed, 12 insertions(+) diff --git

Re: [PATCH] drm/amdgpu: shut up #warning for compile testing

2017-02-02 Thread Christian König
Am 02.02.2017 um 07:09 schrieb Michel Dänzer: [SNIP] OTOH the people running the kernel aren't always the same people building it, so the downside is that this would potentially delay getting X86_PAT enabled. And exactly for this reason I would rather like to keep the warning. Regards,

Re: [PATCH v3 0/2] iov_iter: allow iov_iter_get_pages_alloc to allocate more pages per call

2017-02-02 Thread Al Viro
On Wed, Jan 25, 2017 at 08:32:03AM -0500, Jeff Layton wrote: > Small respin of the patch that I sent yesterday for the same thing. > > This moves the maxsize handling into iov_iter_pvec_size, so that we don't > end up iterating past the max size we'll use anyway when trying to > determine the

Re: Cherryview wake up events

2017-02-02 Thread Johannes Stezenbach
Hi Mika, On Tue, Jan 31, 2017 at 03:37:40PM +0100, Johannes Stezenbach wrote: > - Powerbutton driver seems simple enough, the only specialty > of the TI dcove PB driver is the workarond for lost button > press event after resume. However, I still don't see how > the PB would cause thermal

Re: [RFC v3 03/10] KVM: arm/arm64: Decouple kvm timer functions from virtual timer

2017-02-02 Thread Christoffer Dall
On Wed, Feb 01, 2017 at 12:43:03PM -0500, Jintack Lim wrote: > Now that we have a separate structure for timer context, make functions > generic so that they can work with any timer context, not just the > virtual timer context. This does not change the virtual timer > functionality. > >

Re: [PATCH] staging: lustre: shut up clang warnings on CLASSERT()

2017-02-02 Thread Greg Kroah-Hartman
On Thu, Feb 02, 2017 at 11:40:32AM +0100, Arnd Bergmann wrote: > On Thu, Feb 2, 2017 at 10:54 AM, Greg Kroah-Hartman > wrote: > b/drivers/staging/lustre/include/linux/libcfs/libcfs_private.h > >> > index aab15d8112a4..2d5435029185 100644 > >> > ---

Re: [PATCH 06/11] [media] videodev2.h: Add v4l2 definition for HEVC

2017-02-02 Thread Andrzej Hajda
On 18.01.2017 11:02, Smitha T Murthy wrote: > Add V4L2 definition for HEVC compressed format > > Signed-off-by: Smitha T Murthy Beside small nitpick. Reviewed-by: Andrzej Hajda > --- > include/uapi/linux/videodev2.h |1 + > 1 files changed, 1

[PATCH v7 2/3] MAINTAINERS: add zx2967 watchdog controller driver to ARM ZTE architecture

2017-02-02 Thread Baoyou Xie
Add the zx2967 watchdog controller driver as maintained by ARM ZTE architecture maintainers, as they're parts of the core IP. Signed-off-by: Baoyou Xie --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index edfdea3..275c434

Re: [PATCH 7/8] mq-deadline: add blk-mq adaptation of the deadline IO scheduler

2017-02-02 Thread Paolo Valente
> Il giorno 02 feb 2017, alle ore 06:19, Jens Axboe ha scritto: > > On 02/01/2017 04:11 AM, Paolo Valente wrote: >>> +static bool dd_bio_merge(struct blk_mq_hw_ctx *hctx, struct bio *bio) >>> +{ >>> + struct request_queue *q = hctx->queue; >>> + struct deadline_data *dd =

Re: [PATCH v2 00/10] serial: st-asc: Allow handling of RTS line

2017-02-02 Thread Greg KH
On Thu, Feb 02, 2017 at 07:42:36AM +, Lee Jones wrote: > Hi Greg, Jiri, > > > When hardware flow-control is disabled, manual toggling of the UART's > > reset line (RTS) using userland applications (e.g. stty) is not > > possible, since the ASC IP does not provide this functionality in the > >

Re: [PATCH v3 4/4] i2c: allow specify device properties in i2c_board_info

2017-02-02 Thread Mika Westerberg
On Wed, Feb 01, 2017 at 09:31:25AM -0800, Dmitry Torokhov wrote: > With many drivers converting to using generic device properties, it is > useful to provide array of device properties when instantiating new i2c > client via i2c_board_info and have them automatically added to the device > in

Re: [RFC v3 06/10] KVM: arm/arm64: Update the physical timer interrupt level

2017-02-02 Thread Christoffer Dall
On Wed, Feb 01, 2017 at 12:43:06PM -0500, Jintack Lim wrote: > Now that we maintain the EL1 physical timer register states of VMs, > update the physical timer interrupt level along with the virtual one. > > Signed-off-by: Jintack Lim Acked-by: Christoffer Dall

Re: [RFC v3 05/10] KVM: arm/arm64: Initialize the emulated EL1 physical timer

2017-02-02 Thread Christoffer Dall
On Wed, Feb 01, 2017 at 12:43:05PM -0500, Jintack Lim wrote: > Initialize the emulated EL1 physical timer with the default irq number. > > Signed-off-by: Jintack Lim We really need to do something about that IRQ number thing. I'll add this to my todo list. Since this

Re: [RFC v3 04/10] KVM: arm/arm64: Add the EL1 physical timer context

2017-02-02 Thread Christoffer Dall
On Wed, Feb 01, 2017 at 12:43:04PM -0500, Jintack Lim wrote: > Add the EL1 physical timer context. > > Signed-off-by: Jintack Lim Acked-by: Christoffer Dall

Re: [Intel-gfx] [PATCH] drm/i915: fix i915 running as dom0 under Xen

2017-02-02 Thread Daniel Vetter
On Thu, Feb 02, 2017 at 10:47:11AM +0100, Juergen Gross wrote: > Commit 920cf4194954ec ("drm/i915: Introduce an internal allocator for > disposable private objects") introduced a regression for the kernel > running as Xen dom0: when switching to graphics mode a GPU HANG > occurred. > > Reason

Re: [PATCH 1/2 v3] mm: vmscan: do not pass reclaimed slab to vmpressure

2017-02-02 Thread Michal Hocko
On Thu 02-02-17 11:44:22, Michal Hocko wrote: > On Tue 31-01-17 14:32:08, Vinayak Menon wrote: > > During global reclaim, the nr_reclaimed passed to vmpressure > > includes the pages reclaimed from slab. But the corresponding > > scanned slab pages is not passed. This can cause total reclaimed > >

Re: [PATCH v3 0/2] iov_iter: allow iov_iter_get_pages_alloc to allocate more pages per call

2017-02-02 Thread Christoph Hellwig
On Thu, Feb 02, 2017 at 09:51:25AM +, Al Viro wrote: > On Wed, Jan 25, 2017 at 08:32:03AM -0500, Jeff Layton wrote: > > Small respin of the patch that I sent yesterday for the same thing. > > > > This moves the maxsize handling into iov_iter_pvec_size, so that we don't > > end up iterating

Re: [PATCH 0/2] pinctrl: sunxi: Merge A31s pinctrl driver with A31

2017-02-02 Thread Maxime Ripard
On Thu, Feb 02, 2017 at 12:25:45AM +0800, Chen-Yu Tsai wrote: > Hi everyone, > > This series merges support for the A31s' pin controller into the A31 > driver, using the new sunxi variants support code. The A31s is a trimmed > down version of the A31, with some hardware blocks removed, and some >

Re: [PATCH] pinctrl: sunxi: Remove stray printk call in sun5i driver's probe function

2017-02-02 Thread Maxime Ripard
On Thu, Feb 02, 2017 at 12:02:09AM +0800, Chen-Yu Tsai wrote: > There is a stray printk call in the new sun5i pinctrl driver's probe > function. > > Remove it. > > Signed-off-by: Chen-Yu Tsai Acked-by: Maxime Ripard Maxime -- Maxime Ripard,

Re: [PATCH 05/11] [media] s5p-mfc: Add support for HEVC decoder

2017-02-02 Thread Andrzej Hajda
On 02.02.2017 08:58, Andrzej Hajda wrote: > On 18.01.2017 11:02, Smitha T Murthy wrote: >> Add support for codec definition and corresponding buffer >> requirements for HEVC decoder. >> >> Signed-off-by: Smitha T Murthy >> --- >>

Re: [PATCH V7 3/4] drm/bridge: Add driver for GE B850v3 LVDS/DP++ Bridge

2017-02-02 Thread Archit Taneja
On 02/01/2017 05:51 PM, Peter Senna Tschudin wrote: On 01 February, 2017 12:35 CET, Daniel Vetter wrote: On Wed, Feb 01, 2017 at 10:58:43AM +, Peter Senna Tschudin wrote: Hi Archit, On 01 February, 2017 10:44 CET, Archit Taneja wrote: On

Re: [PATCH v3 3/4] driver property: constify property arrays values

2017-02-02 Thread Mika Westerberg
On Wed, Feb 01, 2017 at 09:31:24AM -0800, Dmitry Torokhov wrote: > Data that is fed into property arrays should not be modified, so let's mark > relevant pointers as const. This will allow us making source arrays as > const/__initconst. > > Also fix memory leaks on errors in

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