[PATCH v3] iwlwifi: dvm: use alloc_ordered_workqueue()

2016-03-18 Thread Eva Rachel Retuya
Use alloc_ordered_workqueue() to allocate the workqueue instead of create_singlethread_workqueue() since the latter is deprecated and is scheduled for removal. There are work items doing related operations that shouldn't be swapped when queued in a certain order hence preserve the strict execution

Re: [PATCH 4/5] pwm: pwm-tipwmss: Update documentation to use empty range property

2016-03-18 Thread Franklin S Cooper Jr.
On 03/17/2016 10:01 AM, Rob Herring wrote: > On Mon, Mar 07, 2016 at 01:51:57PM -0600, Franklin S Cooper Jr wrote: >> Since the PWMSS and its subdevices (eCAP and ePWM) use the same address >> space then the range property should be empty. Update the documentation >> to show the correct usage. >

Re: [PATCH 04/15] irqchip/gic: WARN if setting the interrupt type fails

2016-03-18 Thread Jon Hunter
On 18/03/16 09:20, Geert Uytterhoeven wrote: > On Thu, Mar 17, 2016 at 5:20 PM, Jon Hunter wrote: >> On 17/03/16 15:18, Jason Cooper wrote: >>> On Thu, Mar 17, 2016 at 03:04:01PM +, Jon Hunter wrote: On 17/03/16 14:51, Thomas Gleixner wrote: > On Thu, 17 Mar 2016, Jon Hunter wrote: >

Re: [PATCH V4] PM / clk: Add support for obtaining clocks from device-tree

2016-03-18 Thread Rafael J. Wysocki
On Tuesday, March 15, 2016 01:15:16 PM Geert Uytterhoeven wrote: > On Tue, Mar 15, 2016 at 12:33 PM, Jon Hunter wrote: > > The PM clocks framework requires clients to pass either a con-id or a > > valid clk pointer in order to add a clock to a device. Add a new > > function of_pm_clk_add_clks() to

Re: [PATCH 7/7] regulator: act8865: Init at subsys level

2016-03-18 Thread Maarten ter Huurne
On Monday 29 February 2016 20:35:37 Mark Brown wrote: > On Sun, Feb 28, 2016 at 04:53:29PM +0100, Maarten ter Huurne wrote: > > Since the defined regulators are used in other drivers, we can avoid > > deferred probing by registering this driver sooner. > > No, don't play silly link order games. W

Re: [PATCH v4 7/7] cpufreq: schedutil: New governor based on scheduler utilization data

2016-03-18 Thread Peter Zijlstra
On Wed, Mar 16, 2016 at 03:59:18PM +0100, Rafael J. Wysocki wrote: > +static void sugov_work(struct work_struct *work) > +{ > + struct sugov_policy *sg_policy = container_of(work, struct > sugov_policy, work); > + > + mutex_lock(&sg_policy->work_lock); > + __cpufreq_driver_target(sg_po

Re: [PATCH 2/5] ftrace perf: Move exclude_kernel tracepoint check to init event

2016-03-18 Thread Steven Rostedt
On Wed, 16 Mar 2016 15:34:30 +0100 Jiri Olsa wrote: > We suppress events with attr::exclude_kernel set when > the event is generated, so following capture will > give no warning but won't produce any data: > > $ sudo perf record -e sched:sched_switch:u ls > $ sudo /perf script | wc -l > 0

Re: [PATCH] iio: add driver for Microchip MCP414X/416X/424X/426X

2016-03-18 Thread Daniel Baluta
On Wed, Mar 16, 2016 at 6:25 PM, Slawomir Stepien wrote: > On Mar 16, 2016 13:30, Peter Meerwald-Stadler wrote: >> On Wed, 16 Mar 2016, Slawomir Stepien wrote: >> >> > The following functionalities are supported: >> > - write, read from volatile and non volatile memory >> > - increase and decrea

Re: [PATCH v9 2/3] kernel.h: add to_user_ptr()

2016-03-18 Thread Joe Perches
On Thu, 2016-03-17 at 16:50 -0400, Rob Clark wrote: > On Thu, Mar 17, 2016 at 4:40 PM, Joe Perches wrote: [] > > It's a name that seems like it should be a straightforward > > cast of a kernel pointer to a __user pointer like: > > > > static inline void __user *to_user_ptr(void *p) > > { > >

Re: 4.5.0+ panic when setup loop device

2016-03-18 Thread Mike Galbraith
On Thu, 2016-03-17 at 10:52 +0100, Peter Zijlstra wrote: > Andreas; Borislav said to Cc you since you wrote all this. > The issue is that Linux assumes: > > > nr_logical_cpus = nr_cores * nr_siblings It also seems to now assume that if SMT is possible, it's enabled. Below is my 8 socket D

[PATCH v2 7/9] drm: atmel-hlcdc: rework the output code to support drm bridges

2016-03-18 Thread Boris Brezillon
The current output code only supports connection to drm panels. First simplify the drm panel code, and then add support for external drm bridges. Signed-off-by: Boris Brezillon Tested-by: Nicolas Ferre --- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | 2 +- drivers/gpu/drm/atmel-hlcdc/at

[PATCH v2 0/2] iommu/vt-d: Fault logging improvements

2016-03-18 Thread Alex Williamson
Ratelimit and improve formatting. v2: - Use a single ratelimit state as suggested by Joe Perches, except I chose to move it up to dmar_fault() so that it includes the "handling fault status reg" pr_err and we can avoid collecting entries for logging if we don't plan to print them. - Ad

[RELEASE] LTTng modules 2.8.0-rc1 (Linux kernel tracer)

2016-03-18 Thread Mathieu Desnoyers
Hi, We announce the first LTTng 2.8 - "Isseki Nicho" release candidate. LTTng modules is a Linux kernel tracer. The "Isseki Nicho" LTTng release name is a microbrew beer, following our usual theme. Its description: The result of a collaboration between "Dieu du Ciel!" and Nagano-based "Shiga Ko

Re: 4.5.0+ panic when setup loop device

2016-03-18 Thread Peter Zijlstra
On Thu, Mar 17, 2016 at 11:21:24AM +0100, Thomas Gleixner wrote: > On Thu, 17 Mar 2016, Peter Zijlstra wrote: > > > Could you please try? I'm not sure how this would explain your loop > > device bug fail, but it certainly pointed towards broken. > > It definitely does not explain it. The wreckage

Re: [PATCH] qeth: Default to allow promiscuous mode

2016-03-18 Thread Evgeny Cherkashin
Hello all, -Alexander Graf wrote: - >To: linux-s...@vger.kernel.org >From: Alexander Graf >Date: 2016-03-17 20:01 >Cc: Evgeny Cherkashin/Russia/IBM@IBMRU, linux-kernel@vger.kernel.org, >Heiko Carstens , Martin Schwidefsky >, Ursula Braun , >i...@suse.de, m...@suse.com, pwieczorkiew...@s

Re: [PATCH] media: add GFP flag to media_*() that could get called in atomic context

2016-03-18 Thread Mauro Carvalho Chehab
Em Wed, 16 Mar 2016 10:28:35 +0200 Sakari Ailus escreveu: > Hi Mauro, > > On Tue, Mar 15, 2016 at 12:55:35PM -0300, Mauro Carvalho Chehab wrote: > > Em Mon, 14 Mar 2016 14:09:09 +0200 > > Sakari Ailus escreveu: > > > > > Hi Mauro, > > > ... > > > Notify callbacks, perhaps not, but the lis

Re: [PATCH v10 02/59] sparc/PCI: Use correct bus address to resource offset

2016-03-18 Thread Yinghai Lu
On Sat, Mar 12, 2016 at 3:26 AM, Bjorn Helgaas wrote: > On Sat, Mar 12, 2016 at 12:22:06AM -0800, Yinghai Lu wrote: >> Good findings, that would break the sparc for a while. >> (we should use res->start instead) > > We haven't even gotten to the part that your patch changes. If my > analysis is

Re: [PATCH v4 0/5] acpi, clocksource, kvm: add GTDT and ARM memory-mapped timer support

2016-03-18 Thread Fu Wei
Hi Rafael, Great thanks for your feedback! On 18 March 2016 at 08:41, Rafael J. Wysocki wrote: > On Thursday, March 17, 2016 10:07:30 AM Timur Tabi wrote: >> fu@linaro.org wrote: >> > From: Fu Wei >> > >> > This patchset: >> > (1)Move some enums and marcos to header file for arm_arch_t

Re: [PATCH v2 12/18] dt-bindings: Add PLX Technology OXNAS pinctrl and gpio bindings

2016-03-18 Thread Rob Herring
On Wed, Mar 09, 2016 at 11:24:14AM +0100, Neil Armstrong wrote: > Signed-off-by: Neil Armstrong > --- > .../devicetree/bindings/gpio/gpio_oxnas.txt| 27 ++ > .../bindings/pinctrl/plxtech,pinctrl.txt | 100 > + > 2 files changed, 127 insertions(+) > cre

Re: [RFC PATCH v4 5/7] vfio-pci: Allow to mmap sub-page MMIO BARs if the mmio page is exclusive

2016-03-18 Thread Yongji Xie
On 2016/3/17 0:30, Alex Williamson wrote: On Mon, 7 Mar 2016 15:48:36 +0800 Yongji Xie wrote: Current vfio-pci implementation disallows to mmap sub-page(size < PAGE_SIZE) MMIO BARs because these BARs' mmio page may be shared with other BARs. But we should allow to mmap these sub-page MMIO BA

Re: [PATCH v2 1/9] efi/x86: prepare GOP handling code for reuse as generic code

2016-03-18 Thread kbuild test robot
Hi Ard, [auto build test ERROR on arm64/for-next/core] [also build test ERROR on v4.5 next-20160318] [cannot apply to efi/next] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Ard-Biesheuvel

Re: [PATCH 6/8] cpufreq/schedutil: sum per-sched class utilization

2016-03-18 Thread Peter Zijlstra
On Wed, Mar 16, 2016 at 11:20:45AM -0700, Steve Muckle wrote: > On 03/16/2016 12:38 AM, Peter Zijlstra wrote: > > Somewhere in the giant discussions I mentioned that we should be looking > > at a CPPC like interface and pass {min,max} tuples to the cpufreq > > selection thingy. > > > > In that sam

RE: [PATCH v11 3/9] arm64: add copy_to/from_user to kprobes blacklist

2016-03-18 Thread 平松雅巳 / HIRAMATU,MASAMI
>From: "David A. Long" > >Currrently taking exceptions when accessing user data from a kprobe'd >instruction doesn't work. Avoid this situation by blacklisting the relevant >functions. > >Signed-off-by: David A. Long Looks good to me. Reviewed-by: Masami Hiramatsu Thanks, >--- > arch/arm64/l

Re: [PATCH v7 2/4] gadget: Support for the usb charger framework

2016-03-18 Thread kbuild test robot
Hi Baolin, [auto build test ERROR on v4.5-rc7] [also build test ERROR on next-20160316] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Baolin-Wang/Introduce-usb-charger-framework-to-deal-with-

[git pull] m68knommu/coldfire fixes for 4.6

2016-03-18 Thread Greg Ungerer
Hi Linus, Can you please pull the m68knommu git tree, for-next branch. The main change is the removal of the bit-rotten 68360 support. Also a fix to always make the ethernet FEC platform info available. Regards Greg The following changes since commit f6cede5b49e822ebc41a099fe41ab4989f64e2cb:

[PATCH] lib/spinlock_debug: Prevent a unnecessary recursive spin_dump()

2016-03-18 Thread Byungchul Park
This can protect an infinit recursion by unnecessary warning, too. -8<- >From 81f06a6f9c7f2e782267a2539c6c869d4214354c Mon Sep 17 00:00:00 2001 From: Byungchul Park Date: Fri, 18 Mar 2016 11:35:24 +0900 Subject: [PATCH] lib/spinlock_debug: Prevent a unnecessary recursive spin_dump() Pri

Re: [PATCH] drm/sti: restore mode_fixup callback

2016-03-18 Thread Vincent ABRIOU
Thank you Arnd for highlighting this. Acked-by: Vincent ABRIOU On 03/17/2016 10:02 AM, Arnd Bergmann wrote: > Commit 8a2fa38fddd3 removed the mode_fixup because it was empty, > but 652353e6e561 modified it to call drm_mode_set_crtcinfo() > instead. > > Both commits are correct, but the merge of

[PATCH 1/2] irqdomain: Export irq_domain_free_irqs_common

2016-03-18 Thread Axel Lin
Export irq_domain_free_irqs_common so it can be used by modules. Signed-off-by: Axel Lin --- kernel/irq/irqdomain.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/irq/irqdomain.c b/kernel/irq/irqdomain.c index 3a519a0..245a485 100644 --- a/kernel/irq/irqdomain.c +++ b/kernel/irq/irqd

[PATCH] clk: sunxi: Add CSI (camera's Sensors Interface) module clock driver for sun[457]i

2016-03-18 Thread yassinjaffer
From: Yassin Jaffer This patch adds a composite clock type consisting of a clock gate, mux, configurable dividers, and a reset control. Signed-off-by: Yassin Jaffer --- Documentation/devicetree/bindings/clock/sunxi.txt | 1 + drivers/clk/sunxi/Makefile| 1 + drivers

Re: [PATCH v2 1/4] nmi_backtrace: add more trigger_*_cpu_backtrace() methods

2016-03-18 Thread Paul E. McKenney
On Thu, Mar 17, 2016 at 08:36:00PM +0100, Peter Zijlstra wrote: > On Wed, Mar 16, 2016 at 01:02:10PM -0400, Chris Metcalf wrote: > > Currently you can only request a backtrace of either all cpus, or > > all cpus but yourself. It can also be helpful to request a remote > > backtrace of a single cpu

Re: [PATCH 1/3] crypto: marvell/cesa - replace dma_to_phys with dma_map_single

2016-03-18 Thread Sinan Kaya
On 3/18/2016 10:20 AM, Boris Brezillon wrote: > On Fri, 18 Mar 2016 09:51:37 -0400 > Sinan Kaya wrote: > >> On 3/18/2016 7:25 AM, Robin Murphy wrote: >>> On 18/03/16 09:30, Boris Brezillon wrote: On Thu, 17 Mar 2016 23:50:20 + Russell King - ARM Linux wrote: > On Thu, Mar

[PATCH v4 01/14] i2c-octeon: Cleanup i2c-octeon driver

2016-03-18 Thread Jan Glauber
Cleanup only without functional change. - removed DRV_VERSION - defines: use defines instead of plain values, use BIT_ULL macro, add comments - rename waitqueue return value to time_left - sort local variables by length - fix indentation and whitespace errors - make function return void if the r

Re: [RFC v2 -next 1/2] virtio: Start feature MTU support

2016-03-18 Thread Stephen Hemminger
On Thu, 17 Mar 2016 17:10:55 -0400 Aaron Conole wrote: > Stephen Hemminger writes: > > > On Tue, 15 Mar 2016 17:04:12 -0400 > > Aaron Conole wrote: > > > >> --- a/include/uapi/linux/virtio_net.h > >> +++ b/include/uapi/linux/virtio_net.h > >> @@ -55,6 +55,7 @@ > >> #define VIRTIO_NET_F_MQ 2

Re: [PATCH v5 1/5] ARM: at91: pm: create a separate procedure for the ULP0 mode

2016-03-18 Thread Alexandre Belloni
On 16/03/2016 at 14:58:05 +0800, Wenyou Yang wrote : > To make the code more legible and prepare to add the ULP1 mode > support in the future, create a separate procedure for the ULP0 mode. > > Signed-off-by: Wenyou Yang Acked-by: Alexandre Belloni > --- > > Changes in v5: None > Changes in v4

Re: [PATCH 1/2] of: add vendor prefix for Holtek Semiconductor

2016-03-18 Thread Rob Herring
On Wed, Mar 16, 2016 at 04:52:08PM +0100, Robin van der Gracht wrote: > This patch introduces a vendor prefix for Holtek Semiconductor Inc. > > Signed-off-by: Robin van der Gracht > --- > Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + > 1 file changed, 1 insertion(+) > > diff --gi

Re: [PATCH] cpufreq: Do not schedule policy update work in cpufreq_resume()

2016-03-18 Thread Rafael J. Wysocki
On Wed, Mar 16, 2016 at 5:47 AM, Viresh Kumar wrote: > On 15-03-16, 13:11, Rafael J. Wysocki wrote: >> On Tue, Mar 15, 2016 at 7:10 AM, Viresh Kumar >> wrote: >> > On 12-03-16, 03:05, Rafael J. Wysocki wrote: >> >> From: Rafael J. Wysocki >> >> >> >> cpufreq_resume() attempts to resync the curr

Re: [PATCH] MAINTAINERS: Add the stlinux kernel mailing list for the STi drm driver.

2016-03-18 Thread Maxime Coquelin
On 03/17/2016 04:07 PM, Peter Griffin wrote: Hi Lee, On Thu, 17 Mar 2016, Lee Jones wrote: On Thu, 17 Mar 2016, Peter Griffin wrote: Most drivers for STi are under the ARM/STI Architecture section which includes this mailing list. Signed-off-by: Peter Griffin --- MAINTAINERS | 1 + 1

Re: [PATCH 5/8] sched/cpufreq: pass sched class into cpufreq_update_util

2016-03-18 Thread Peter Zijlstra
On Wed, Mar 16, 2016 at 02:23:21PM +0100, Rafael J. Wysocki wrote: > On Wed, Mar 16, 2016 at 2:10 PM, Peter Zijlstra wrote: > > (this would of course require we allocate struct update_util_data with > > the proper alignment thingies etc..) > > diff --git a/include/linux/sched.h b/include/linux/sc

Re: [PATCH 3/3] dma-mapping: move swiotlb dma-phys functions to common header

2016-03-18 Thread Robin Murphy
On 17/03/16 22:02, Sinan Kaya wrote: Moving the default implementation of swiotlb_dma_to_phys and swiotlb_phys_to_dma functions to dma-mapping.h so that we can get rid of the duplicate code in multiple ARCH. Signed-off-by: Sinan Kaya --- arch/arm64/include/asm/dma-mapping.h | 14

Re: [RFC v2 -next 0/2] virtio-net: Advised MTU feature

2016-03-18 Thread Aaron Conole
Rick Jones writes: > On 03/15/2016 02:04 PM, Aaron Conole wrote: >> The following series adds the ability for a hypervisor to set an MTU on the >> guest during feature negotiation phase. This is useful for VM orchestration >> when, for instance, tunneling is involved and the MTU of the various sy

Re: [PATCH] livepatch: Update maintainers

2016-03-18 Thread Vojtech Pavlik
On Wed, Mar 16, 2016 at 10:03:36AM -0500, Josh Poimboeuf wrote: > Seth and Vojtech are no longer active maintainers of livepatch, so > remove them in favor of Jessica and Miroslav. > > Also add Petr as a designated reviewer. > > Signed-off-by: Josh Poimboeuf > --- > MAINTAINERS | 5 +++-- > 1

[ANNOUNCE] Git v2.7.4 (and updates to older maintenance tracks)

2016-03-18 Thread Junio C Hamano
The latest maintenance release Git v2.7.4 is now available at the usual places. The same set of bugfix patches from the current 'master' have been backported to older maintenance tracks and are available as v2.4.11, v2.5.5 and v2.6.6. These are to fix a heap corruption / buffer overflow bug and u

Re: [PATCH V2 2/3] vfio, platform: make reset driver a requirement

2016-03-18 Thread Sinan Kaya
Hi Baptiste, >> I couldn't see a reset function for AMBA devices. >> >> Is there anyway to write reset function for it? I have no experience with >> AMBA devices. > To my knowledge only the PL330 DMA controller (drivers/dma/pl330.c) was > passthrough'ed at some point, rather for development purpo

Re: [PATCH 2/2] block: create ioctl to discard-or-zeroout a range of blocks

2016-03-18 Thread Ric Wheeler
On 03/16/2016 06:23 PM, Chris Mason wrote: On Tue, Mar 15, 2016 at 05:51:17PM -0700, Chris Mason wrote: On Tue, Mar 15, 2016 at 07:30:14PM -0500, Eric Sandeen wrote: On 3/15/16 7:06 PM, Linus Torvalds wrote: On Tue, Mar 15, 2016 at 4:52 PM, Dave Chinner wrote: It is pretty clear that the onu

[PATCH] mtip32xx: fix checks for dma mapping errors

2016-03-18 Thread Alexey Khoroshilov
exec_drive_taskfile() checks for dma mapping errors by comparison returned address with zero, while pci_dma_mapping_error() should be used. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov --- drivers/block/mtip32xx/mtip32xx.c | 4 ++-- 1 file cha

Re: [PATCH 1/2] x86/perf/intel/uncore: Make Intel uncore modular

2016-03-18 Thread Peter Zijlstra
On Thu, Mar 17, 2016 at 05:34:14AM -0700, kan.li...@intel.com wrote: > +static void __exit intel_uncore_exit(void) > +{ > + cpu_notifier_register_done(); Did you even test this? That should be _begin(); > + __unregister_cpu_notifier(&uncore_cpu_nb); > + uncore_types_exit(uncore_msr_un

Linux 3.12.57

2016-03-18 Thread Jiri Slaby
I'm announcing the release of the 3.12.57 kernel. All users of the 3.12 kernel series must upgrade. The updated 3.12.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.12.y and can be browsed at the normal kernel.org git web browser:

Re: [PATCH] regulator: Don't print error in devm_regulator_bulk_get() on -EPROBE_DEFER

2016-03-18 Thread Javier Martinez Canillas
Hello Mark, On 03/16/2016 06:59 AM, Mark Brown wrote: > On Tue, Mar 15, 2016 at 05:35:14PM -0300, Javier Martinez Canillas wrote: > >> The regulators may not be available just because their driver's probe was >> not executed and the regulators were not registered yet. So don't print an >> error i

Re: [PATCH v4 7/7] cpufreq: schedutil: New governor based on scheduler utilization data

2016-03-18 Thread Rafael J. Wysocki
On Wednesday, March 16, 2016 06:35:41 PM Peter Zijlstra wrote: > On Wed, Mar 16, 2016 at 03:59:18PM +0100, Rafael J. Wysocki wrote: > > > +static unsigned int get_next_freq(struct cpufreq_policy *policy, > > + unsigned long util, unsigned long max) > > +{ > > + unsign

[PATCH v5 0/6] (mostly) Arch-independent livepatch

2016-03-18 Thread Jessica Yu
This patchset removes livepatch's need for architecture-specific relocation code by leveraging existing code in the module loader to perform arch-dependent work. Specifically, instead of duplicating code and re-implementing what the apply_relocate_add() function in the module loader already does in

linux-next: build failure after merge of the drm tree

2016-03-18 Thread Stephen Rothwell
Hi Dave, After merging the drm tree, today's linux-next build (powerpc allyesconfig) failed like this: drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c: In function 'amdgpu_gem_userptr_ioctl': drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c:321:2: error: implicit declaration of function 'release_pages' [-Werror=

Re: [RFC][PATCH v3 1/5] mm/zsmalloc: introduce class auto-compaction

2016-03-18 Thread Sergey Senozhatsky
Hi, On (03/18/16 10:17), Minchan Kim wrote: > > > > hm, in this scenario both solutions are less than perfect. we jump > > > > X times over 40% margin, we have X*NR_CLASS compaction scans in the > > > > end. the difference is that we queue less works, yes, but we don't > > > > have to use workqueu

[PATCH] sound/usb: Fix memory leak in media_snd_stream_delete() during unbind

2016-03-18 Thread Shuah Khan
media_snd_stream_delete() fails to release resources during unbind. This leads to use-after-free in media_gobj_create() on a subsequent bind. [ 1445.086410] BUG: KASAN: use-after-free in media_gobj_create+0x3a1/0x470 [media] at addr 8801ead49998 [ 1445.086771] Call Trace: [ 1445.086779] []

[PATCH v2] openvswitch: call only into reachable nf-nat code

2016-03-18 Thread Arnd Bergmann
The openvswitch code has gained support for calling into the nf-nat-ipv4/ipv6 modules, however those can be loadable modules in a configuration in which openvswitch is built-in, leading to link errors: net/built-in.o: In function `__ovs_ct_lookup': :(.text+0x2cc2c8): undefined reference to `nf_nat

[PATCH v20 15/23] richacl: Update the file masks in chmod()

2016-03-18 Thread Andreas Gruenbacher
Doing a chmod() sets the file mode, which includes the file permission bits. When a file has a richacl, the permissions that the richacl grants need to be limited to what the new file permission bits allow. This is done by setting the file masks in the richacl to what the file permission bits map

Re: [PATCH V5 02/10] perf/amd/iommu: Consolidate and move perf_event_amd_iommu header

2016-03-18 Thread Borislav Petkov
On Fri, Mar 18, 2016 at 02:07:25PM +0700, Suravee Suthikulpanit wrote: > Actually the exposed APIs (in both files) are from the AMD IOMMU driver, > which is not necessary x86-specific. They mostly use struct pci_dev, which > is also arch-agnostic. It is correct that the current IOMMU IP is only > a

Re: net/bluetooth: workqueue destruction WARNING in hci_unregister_dev

2016-03-18 Thread Jiri Slaby
Hello, On 03/11/2016, 06:12 PM, Tejun Heo wrote: > On Thu, Mar 03, 2016 at 10:12:01AM +0100, Jiri Slaby wrote: >> On 03/02/2016, 04:45 PM, Tejun Heo wrote: >>> On Fri, Feb 19, 2016 at 01:10:00PM +0100, Jiri Slaby wrote: > 1. didn't help, the problem persists. So I haven't applied the patch fro

Re: Nokia N900 - audio TPA6130A2 problems

2016-03-18 Thread Ивайло Димитров
Hi On Fri Mar 18 12:33:14 2016 Peter Ujfalusi wrote: > > But enabling the pull via DT for the i2c2 works? > No :(. I even migrated the driver to regmap - no gain. Maybe i2c bus is blocked by another device held in reset. The next thing I am going to try is to deassert reset/power gpios on al

[PATCH v12 2/2] drm/bridge: Add I2C based driver for ps8640 bridge

2016-03-18 Thread Jitao Shi
This patch adds drm_bridge driver for parade DSI to eDP bridge chip. Signed-off-by: Jitao Shi --- Changes since v11: - Remove depends on I2C, add DRM depends - Reuse ps8640_write_bytes() in ps8640_write_byte() - Use timer check for polling like the routines in - Fix no drm_connector_unregist

[PATCH 3.19.y-ckt 41/70] ALSA: seq: oss: Don't drain at closing a client

2016-03-18 Thread Kamal Mostafa
v3.19.8-ckt17 -stable review patch. If anyone has any objections, please let me know. ---8< From: Takashi Iwai commit 197b958c1e76a575d77038cc98b4bebc2134279f upstream. The OSS sequencer client tries to drain the pending events at r

Re: [PATCH V2 1/2] x86/perf/intel/uncore: Make Intel uncore modular

2016-03-18 Thread Thomas Gleixner
On Fri, 18 Mar 2016, kan.li...@intel.com wrote: > From: Kan Liang > > This patch makes Intel uncore pmu driver modular. > By default, the uncore driver will be built in the kernel. If it is > configured as module, the supported cpu model can be auto loaded. > This patch also cleans up the code o

[PATCH] dma-buf/sync_file: de-stage sync_file

2016-03-18 Thread Gustavo Padovan
From: Gustavo Padovan sync_file is useful to connect one or more fences to the file. The file is used by userspace to track fences. Signed-off-by: Gustavo Padovan --- drivers/Kconfig| 2 + drivers/dma-buf/Kconfig| 11 + drivers

Re: [PATCH] serial-uartlite: fix build warning

2016-03-18 Thread Geert Uytterhoeven
On Thu, Mar 10, 2016 at 2:14 PM, Sudip Mukherjee wrote: > We were getting build warnings about: > drivers/tty/serial/uartlite.c: In function ‘ulite_request_port’: > drivers/tty/serial/uartlite.c:348:21: warning: assignment discards > 'const' qualifier from pointer target type > port->priva

Re: [PART1 RFC v3 03/12] KVM: x86: Introducing kvm_x86_ops VCPU blocking/unblocking hooks

2016-03-18 Thread Paolo Bonzini
On 18/03/2016 07:09, Suravee Suthikulpanit wrote: > Adding new function pointer in struct kvm_x86_ops, and calling them > from the kvm_arch_vcpu[blocking/unblocking]. > > Signed-off-by: Suravee Suthikulpanit > --- > arch/x86/include/asm/kvm_host.h | 17 +++-- > 1 file changed, 15 i

[PATCH v2 06/11] phy: da8xx-usb: new driver for DA8XX SoC USB PHY

2016-03-18 Thread David Lechner
This is a new phy driver for the SoC USB controllers on the TI DA8XX family of microcontrollers. The USB 1.1 PHY is just a simple on/off. The USB 2.0 PHY also allows overriding the VBUS and ID pins. Signed-off-by: David Lechner --- v2 changes: This is new patch in v2. drivers/phy/Kconfig

[PATCH v6 5/5] x86, acpi, cpu-hotplug: Set persistent cpuid <-> nodeid mapping when booting.

2016-03-18 Thread Zhu Guihua
From: Gu Zheng The whole patch-set aims at making cpuid <-> nodeid mapping persistent. So that, when node online/offline happens, cache based on cpuid <-> nodeid mapping such as wq_numa_possible_cpumask will not cause any problem. It contains 4 steps: 1. Enable apic registeration flow to handle

[PATCH 1/3] ARM: at91: use chipid device for soc detection

2016-03-18 Thread Ludovic Desroches
So far, the CIDR and EXID registers were in the DBGU interface. This device has disappeared with the SAMA5D2 family. These registers are exposed through a new device called chipid. Signed-off-by: Ludovic Desroches [nicolas.fe...@atmel.com: remove useless warnings] --- .../devicetree/bindings/arm

[PATCH v4 2/2] auxdisplay: ht16k33: Driver for LED controller

2016-03-18 Thread Robin van der Gracht
This is a driver for the Holtek HT16K33 RAM mapping LED controller with keyscan. Signed-off-by: Robin van der Gracht --- Changes in v4: - Removed trailing dot from patch title - Removed unused defines - Fixed brightness range (0 was presumed to be off but its 1/16 duty cycle) - No longer che

[GIT PULL] Driver core patches for 4.6-rc1

2016-03-18 Thread Greg KH
The following changes since commit 18558cae0272f8fd9647e69d3fec1565a7949865: Linux 4.5-rc4 (2016-02-14 13:05:20 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git/ tags/driver-core-4.6-rc1 for you to fetch changes up to 112d1

[PART1 RFC v3 08/12] KVM: x86: Add trace events for AVIC

2016-03-18 Thread Suravee Suthikulpanit
Introduce trace events for AMD AVIC incomplete IPI vmexit, and AVIC unaccelerate access vmexit. Signed-off-by: Suravee Suthikulpanit --- arch/x86/kvm/trace.h | 57 arch/x86/kvm/x86.c | 2 ++ 2 files changed, 59 insertions(+) diff --git a/a

[PATCH v14.1 09/17] drm: rockchip: dp: add rockchip platform dp driver

2016-03-18 Thread Heiko Stübner
Rockchip have three clocks for dp controller, we leave pclk_edp to analogix_dp driver control, and keep the sclk_edp_24m and sclk_edp in platform driver. Signed-off-by: Yakir Yang Tested-by: Javier Martinez Canillas --- Changes in v14.1: - replace rockchip_drm_encoder_get_mux_id with the new d

Re: [PATCH] acpi: Issue _OSC call for native thermal interrupt handling

2016-03-18 Thread Srinivas Pandruvada
On Wed, 2016-03-16 at 23:48 +0100, Rafael J. Wysocki wrote: > On Wednesday, March 16, 2016 03:25:19 PM Srinivas Pandruvada wrote: > > There are several reports of freeze on enabling HWP (Hardware > > PStates) > > feature on Skylake based systems by Intel P states driver. The root > > cause is ident

Re: [PATCH v4 01/13] pinctrl: sunxi: Add A83T R_PIO controller

2016-03-18 Thread Vishnu Patekar
Hello Linus, On Thu, Mar 17, 2016 at 10:51 PM, Linus Walleij wrote: > On Wed, Mar 16, 2016 at 5:04 PM, Vishnu Patekar > wrote: > >> The A83T has R_PIO pin controller, it's same as A23, execpt A83T >> interrupt bit is 6th and A83T has one extra pin PL12. >> >> Signed-off-by: Vishnu Patekar >> Ac

[PATCH 3.19.y-ckt 32/70] ALSA: hdsp: Fix wrong boolean ctl value accesses

2016-03-18 Thread Kamal Mostafa
v3.19.8-ckt17 -stable review patch. If anyone has any objections, please let me know. ---8< From: Takashi Iwai commit eab3c4db193f5fcccf70e884de9a922ca2c63d80 upstream. snd-hdsp driver accesses enum item values (int) instead of bool

[PATCH v3 5/5] ARM: davinci: remove mmc dma resources

2016-03-18 Thread David Lechner
The davinci_mmc driver no longer uses platform resources for getting dma channels. Instead lookup is now done using dma_slave_map. Signed-off-by: David Lechner Acked-by: Sekhar Nori --- v3 changes: none. arch/arm/mach-davinci/devices-da8xx.c | 20 arch/arm/mach-davinci/d

Re: [v3,1/8] powerpc: Create a helper for getting the kernel toc value

2016-03-18 Thread Torsten Duwe
On Wed, Mar 16, 2016 at 09:23:19PM +1100, Michael Ellerman wrote: > > Sure. I'll try and get something working, though this merge window is not > starting well so I may not get time for a few weeks :) Do you already have something in mind? Can you give us a hint? Torsten

Re: [PART1 RFC v2 07/10] svm: Add VMEXIT handlers for AVIC

2016-03-18 Thread Suravee Suthikulpanit
Hi Radim, On 03/10/2016 03:55 AM, Radim Krčmář wrote: >+ pr_debug("%s: offset=%#x, rw=%#x, vector=%#x, vcpu_id=%#x, cpu=%#x\n", >+__func__, offset, rw, vector, svm->vcpu.vcpu_id, svm->vcpu.cpu); >+ >+ BUG_ON(offset >= 0x400); These are valid faulting registers, so our implementa

Re: [PATCH v4 02/13] clk: sunxi: add ahb1 clock for A83T

2016-03-18 Thread Maxime Ripard
On Thu, Mar 17, 2016 at 12:04:25AM +0800, Vishnu Patekar wrote: > AHB1 on A83T is similar to ahb1 on A31, except parents are different. > clock index 0b1x is PLL6. > > Signed-off-by: Vishnu Patekar > Acked-by: Chen-Yu Tsai > Acked-by: Rob Herring > --- > Documentation/devicetree/bindings/clock

[PATCH v10 3/3] staging/android: refactor SYNC IOCTLs

2016-03-18 Thread Gustavo Padovan
From: Gustavo Padovan Change SYNC_IOC_FILE_INFO (former SYNC_IOC_FENCE_INFO) behaviour to avoid future API breaks and optimize buffer allocation. Now num_fences can be filled by the caller to inform how many fences it wants to retrieve from the kernel. If the num_fences passed is greater than ze

kernel/irq: Null-ptr deref on handle_irq_event_percpu function

2016-03-18 Thread Baozeng Ding
+linux-kernel and irq maitainer. Best Regards, Baozeng Ding On Thu, Feb 25, 2016 at 04:16:10AM -0500, Red Hat Product Security wrote: > On Wed Feb 24 08:44:30 2016, splovi...@gmail.com wrote: > > Dear all, > > > > I hit the following bug when fuzzing kernel using > > syzkaller: > > > > kasan: CON

[PATCH 0/2] usb: dwc3: gadget: Fix erratic interrupts and delayed enumeration

2016-03-18 Thread Roger Quadros
Hi, The existing workaround (for STAR#9000525659) of forcing DEVSPD to SUPER_SPEED for HIGH_SPEED ports is causing another side effect which causes erratic interrupts and delayed gadget enumeration of upto 2 seconds. Work around the run/stop issue by detecting if it happened using debug LTSSM sta

Re: [PATCH 1/2] pinctrl: sh-pfc: enable to indicate GPSR/IPSR/MOD_SEL for debug

2016-03-18 Thread Laurent Pinchart
Hi Morimoto-san, Thank you for the patch. On Wednesday 16 March 2016 00:47:48 Kuninori Morimoto wrote: > From: Kuninori Morimoto > > Current sh_pfc can't indicate GPSR/IPSR/MOD_SEL name for debug. > Of course we can get it from indicated register address, but it > is not convenient. This patch

Re: next-20160314 - crash in i2c_dev_init/bus_register_notifier at boot

2016-03-18 Thread Valdis . Kletnieks
On Thu, 17 Mar 2016 21:52:25 +0100, Wolfram Sang said: > Can you try a newer -next or apply this patch on top? > > https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/patch/drivers/i2c?id=3Db980a26d02d1f54be3134222304fcd27ea33 > > I think this should solve it. Confirming that iss

Re: [GIT PULL v2 rcu/next] memory-barriers.txt commits for 4.6

2016-03-18 Thread Paul E. McKenney
On Wed, Mar 16, 2016 at 08:26:25AM +0100, Ingo Molnar wrote: > > * Paul E. McKenney wrote: > > > [...] In fact, in view of the no-diagrams and no-quizzes restrictions, I > > don't > > see a way to improve on comments in the source code. [...] > > So I don't think there's such a hard restricti

[PATCH v2 1/1] arm64/dma-mapping: reduce an unnecessary conversion for coherent DMA

2016-03-18 Thread Zhen Lei
1.For coherent DMA In swiotlb_alloc_coherent, it directly return vaddr on success, and pass vaddr to free_pages on failure. So, we can directly transparent pass vaddr from __dma_free to swiotlb_free_coherent. 2.Keep no change for non-coherent DMA. Signed-off-by: Zhen Lei --- arch/arm64/mm/dma

Re: [PATCH 1/3] crypto: marvell/cesa - replace dma_to_phys with dma_map_single

2016-03-18 Thread Russell King - ARM Linux
On Thu, Mar 17, 2016 at 06:02:15PM -0400, Sinan Kaya wrote: > Getting ready to remove dma_to_phys API. Drivers should not be > using this API for DMA operations. Instead, they should go > through the dma_map or dma_alloc APIs. > > Signed-off-by: Sinan Kaya > --- > drivers/crypto/marvell/cesa.c |

Re: [PATCH] staging: rtl8192e: fixed coding style issues

2016-03-18 Thread Greg KH
On Thu, Mar 17, 2016 at 04:55:37PM +, Yousof El-Sayed wrote: > Signed-off-by: Yousof El-Sayed I can't take patches without any changelog entry, sorry. And be specific about what and why you are changing anything, "coding style issues" is very vague. thanks, greg k-h

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Get rid of intel_dp_dpcd_read_wake()

2016-03-18 Thread Ville Syrjälä
On Fri, Mar 18, 2016 at 04:13:45PM +0200, Ville Syrjälä wrote: > On Thu, Mar 17, 2016 at 11:40:45AM -0400, Lyude wrote: > > Since we've fixed up drm_dp_dpcd_read() to allow for retries when things > > timeout, there's no use for having this function anymore. Good riddens. > > > > Signed-off-by: Ly

Re: [alsa-devel] [PATCH] ASoC: dapm: Do not traverse widget hooks to snd-soc-dummy

2016-03-18 Thread Vinod Koul
On Thursday 17 March 2016 09:12 PM, Mark Brown wrote: On Thu, Mar 17, 2016 at 01:37:16PM +0100, Lars-Peter Clausen wrote: I'd say as a quick fix for stable check that card is not NULL in dapm_widget_show_component(). And as a longterm fix get rid of dapm_widget file. Nobody should hopefully use

Re: [PATCH v2 2/3] Run dump pipe in container's namespace

2016-03-18 Thread kbuild test robot
Hi Zhao, [auto build test ERROR on tip/sched/core] [also build test ERROR on v4.5 next-20160318] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Zhao-Lei/Make-core_pattern-support-namespace

[PATCH] drm/fb_cma_helper: Implement fb_mmap callback

2016-03-18 Thread Robin Murphy
In the absence of an fb_mmap callback, the fbdev code falls back to a naive implementation which relies upon the DMA address being the same as the physical address, and the buffer being physically contiguous from there. Whilst this often holds for standard CMA allocations via the platform's regular

Re: [RFT] iommu/amd: use subsys_initcall() on amdv2 iommu

2016-03-18 Thread Joerg Roedel
On Wed, Mar 16, 2016 at 05:57:47PM +0100, Luis R. Rodriguez wrote: > I'm afraid I am not sure where that hack is, can someone construct a patch to > revert that so this is a proper RFT series ? Oded mentioned 1bacc894c227fad8a727eb99728df708eba57654, which reverts fine here on v4.5. Joer

[PATCH v2 08/11] ARM: dt: da850: Add usb phy node

2016-03-18 Thread David Lechner
Add a node for the new usb phy driver. Signed-off-by: David Lechner --- v2 changes: This is new patch in v2. arch/arm/boot/dts/da850.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi index 591660d..06f36cd 100644 --- a/a

Re: [PATCH v4 6/7] cpufreq: Support for fast frequency switching

2016-03-18 Thread Peter Zijlstra
On Wed, Mar 16, 2016 at 03:52:28PM +0100, Rafael J. Wysocki wrote: > +/** > + * cpufreq_enable_fast_switch - Enable fast frequency switching for policy. > + * @policy: cpufreq policy to enable fast frequency switching for. > + * > + * Try to enable fast frequency switching for @policy. > + * > + *

Re: [PATCH 0/8 v4] bcm2835 DMA slave support

2016-03-18 Thread Martin Sperl
On 16.03.2016 20:24, Eric Anholt wrote: Here's the series for DMA slave and memcpy support for 2835, with the DT changes to enable the remaining channels dropped out while that goes through review. I had to do some minor conflict resolution, but it was pretty mechanical, and I tested again with

Re: [PATCH 1/3] ARM: at91: use chipid device for soc detection

2016-03-18 Thread Alexandre Belloni
On 18/03/2016 at 08:21:19 +0100, Ludovic Desroches wrote : > So far, the CIDR and EXID registers were in the DBGU interface. This device > has disappeared with the SAMA5D2 family. These registers are exposed > through a new device called chipid. > > Signed-off-by: Ludovic Desroches > [nicolas.fe.

Re: [PATCH v4 3/7] usb: mux: add common code for Intel dual role port mux

2016-03-18 Thread Lu Baolu
On 03/17/2016 03:27 PM, Chanwoo Choi wrote: > Hi Lu, > > On 2016년 03월 17일 16:16, Lu Baolu wrote: >> Hi Chanwoo, >> >> On 03/17/2016 02:07 PM, Chanwoo Choi wrote: >>> Hi Lu, >>> >>> To handle extcon (external connector), I implemented the unique id >>> for each external connector on patch[1] inste

[PATCH v6 14/17] XEN: EFI: Move x86 specific codes to architecture directory

2016-03-18 Thread Shannon Zhao
From: Shannon Zhao Move x86 specific codes to architecture directory and export those EFI runtime service functions. This will be useful for initializing runtime service on ARM later. Signed-off-by: Shannon Zhao Reviewed-by: Stefano Stabellini --- arch/x86/xen/efi.c| 112 +

Re: [PATCH v8 3/6] cpufreq: powernv: Remove cpu_to_chip_id() from hot-path

2016-03-18 Thread Michael Neuling
On Wed, 2016-02-03 at 01:11 +0530, Shilpasri G Bhat wrote: > cpu_to_chip_id() does a DT walk through to find out the chip id by > taking a contended device tree lock. This adds an unnecessary overhead > in a hot path. So instead of calling cpu_to_chip_id() everytime cache > the chip ids for all co

Re: [RFC v2 -next 2/2] virtio_net: Read the advised MTU

2016-03-18 Thread Michael S. Tsirkin
On Tue, Mar 15, 2016 at 05:04:13PM -0400, Aaron Conole wrote: > This patch checks the feature bit for the VIRTIO_NET_F_MTU feature. If it > exists, read the advised MTU and use it. > > No proper error handling is provided for the case where a user changes the > negotiated MTU. A future commit will

  1   2   3   4   5   >