[RFC net-next 1/2] drivers/net: Create an ANCIENT_NETDEVICES symbol

2016-03-18 Thread Joe Perches
Many drivers are ancient and written for hardware that is no longer available. These drivers are effectively untested under current kernels. Add a symbol that could guard inclusions of these drivers into modern kernels unless specifically requested. Signed-off-by: Joe Perches

Re: [PATCH 1/2] regulator: DT: Add support to scale ramp delay based on platform behavior

2016-03-18 Thread Bjorn Andersson
On Tue, Mar 15, 2016 at 6:41 AM, Laxman Dewangan wrote: > > On Wednesday 02 March 2016 10:05 AM, Mark Brown wrote: >> >> * PGP Signed by an unknown key >> >> On Wed, Mar 02, 2016 at 09:05:26AM +0530, Laxman Dewangan wrote: >>> >>> On Wednesday 02 March 2016 09:08 AM, Mark

[PATCH v6 13/17] ARM: Xen: Document UEFI support on Xen ARM virtual platforms

2016-03-18 Thread Shannon Zhao
From: Shannon Zhao Add a "uefi" node under /hypervisor node in FDT, then Linux kernel could scan this to get the UEFI information. Signed-off-by: Shannon Zhao Acked-by: Rob Herring Reviewed-by: Stefano Stabellini

Re: [GIT PULL] Block driver changes for 4.6-rc

2016-03-18 Thread Jens Axboe
On 03/18/2016 05:32 PM, Linus Torvalds wrote: On Fri, Mar 18, 2016 at 10:33 AM, Jens Axboe wrote: 1) Pull for-4.6/drivers and do the merges yourself. This is the original branch. 2) Pull for-4.6/drivers-merged, which is the above branch, but with v4.5 merged into it and

[PATCH 2/2] storvsc_drv: make use of the lightweight FC transport class

2016-03-18 Thread James Bottomley
Signed-off-by: James Bottomley --- drivers/scsi/storvsc_drv.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/scsi/storvsc_drv.c b/drivers/scsi/storvsc_drv.c index 3ddcabb..dcb7393 100644 --- a/drivers/scsi/storvsc_drv.c +++

[RFC PATCH 0/2] of: Implement iterator for phandles

2016-03-18 Thread Joerg Roedel
Hi, here is an implementation of the iterator over phandles concept which Rob Herring suggested to me some time ago. My approach is a little bit different from what the diff showed back then, but it gets rid of the allocation and 'struct 'struct of_phandle_args' misuse. I also converted the

Re: [REGRESSION] 774ac8b7eff6 ("Thermal: initialize thermal zone device correctly") causes performance drop

2016-03-18 Thread Zhang Rui
Hi, all, On Wed, 2016-03-16 at 15:27 -0700, Laura Abbott wrote: > Hi, > > Fedora received a bug report > (https://bugzilla.redhat.com/show_bug.cgi?id=1317190) > of a major performance drop on various bench marks and general system > sluggishness with the 4.4.4 kernel update. The benchmarks

Re: [GIT PULL] GPIO bulk changes for kernel v4.6

2016-03-18 Thread Linus Torvalds
On Fri, Mar 18, 2016 at 2:39 AM, Laxman Dewangan wrote: > > Apologizing for the trouble created by me. Don't worry about it, we'll just have to make sure it doesn't happen again. I thought you must have had done something special to do this, and that made me upset. But

[PATCH 08/15] genirq: Add runtime power management support for IRQ chips

2016-03-18 Thread Jon Hunter
Some IRQ chips may be located in a power domain outside of the CPU subsystem and hence will require device specific runtime power management. In order to support such IRQ chips, add a pointer for a device structure to the irq_chip structure, and if this pointer is populated by the IRQ chip driver

Re: [GIT PULL v4.6] MDB Linux Kernel Debugger x86/x86_64

2016-03-18 Thread Jeffrey Merkey
On 3/15/16, Theodore Ts'o wrote: > On Tue, Mar 15, 2016 at 01:03:39PM +1100, Stephen Rothwell wrote: >> We don't generally PGP (GPG) sign commits in the kernel tree (so "-S" >> is not required), just tags. However we always require that anyone who >> handles a patch adds a

RE: arch/x86/um/user-offsets.c:8:24: fatal error: asm/ptrace.h: No such file or directory

2016-03-18 Thread Li, Philip
i386. > >>> > >>> sorry for late response, we have installed linux-libc-dev:i386 on our > >>> build > environment to have this head file. > >> > >> ... and does it help? Is the issue fixed? > > thanks, this package does help, and he

Re: [PATCH] ACPI / property: Export a couple of symbols.

2016-03-18 Thread Rafael J. Wysocki
On Thu, Mar 17, 2016 at 9:21 PM, David Daney wrote: > On 03/17/2016 06:00 AM, Rafael J. Wysocki wrote: >> >> On Thu, Mar 17, 2016 at 9:09 AM, Mika Westerberg >> wrote: >>> >>> On Wed, Mar 16, 2016 at 05:23:19PM -0700, David Daney wrote:

Re: [PATCH] powercap: intel_rapl: PSys support

2016-03-18 Thread Borislav Petkov
On Thu, Mar 17, 2016 at 03:23:29PM -0700, Srinivas Pandruvada wrote: > Skylake processor supports a new set of RAPL registers for controlling > entire platform instead of just CPU package. This is useful for thermal > and power control when source of power/thermal is not just CPU/GPU. > This

[PATCH 3/4] ext4: use dget_parent() in ext4_file_open()

2016-03-18 Thread Miklos Szeredi
From: Miklos Szeredi In f_op->open() lock on parent is not held, so there's no guarantee that parent dentry won't go away at any time. Even after this patch there's no guarantee that 'dir' will stay the parent of 'inode', but at least it won't be freed while being used.

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

2016-03-18 Thread Joe Perches
On Thu, 2016-03-17 at 14:12 -0600, Alex Williamson wrote: > Ratelimit and improve formatting. Makes sense, thanks.

[PATCH v20 07/23] richacl: Permission mapping functions

2016-03-18 Thread Andreas Gruenbacher
We need to map from POSIX permissions to NFSv4 permissions when a chmod() is done, from NFSv4 permissions to POSIX permissions when an acl is set (which implicitly sets the file permission bits), and from the MAY_READ/MAY_WRITE/MAY_EXEC/MAY_APPEND flags to NFSv4 permissions when doing an access

[GIT PULL] power supply changes for 4.6

2016-03-18 Thread Sebastian Reichel
Hi Linus, Please note, that I already sent the MAINTAINER update via a fixes pull request for 4.5. Since Stephen didn't report any merge problems I avoided rebasing my next branch (to drop the commit). The following changes since commit 92e963f50fc74041b5e9e744c330dca48e04f08d: Linux 4.5-rc1

Re: USB Sound oops in Linus's latest tree

2016-03-18 Thread Greg KH
On Fri, Mar 18, 2016 at 11:43:43PM +0100, Nicolai Stange wrote: > Greg KH writes: > > > Hi, > > > > I'm getting the following oops with my USB sound device using Linus's > > latest tree of the moment, which has the sound tree pull in it. Anyone > > seen this before?

[PATCH 3.19.y-ckt 12/70] mac80211: minstrel_ht: set default tx aggregation timeout to 0

2016-03-18 Thread Kamal Mostafa
v3.19.8-ckt17 -stable review patch. If anyone has any objections, please let me know. ---8< From: Felix Fietkau commit 7a36b930e6ed4702c866dc74a5ad07318a57c688 upstream. The value 5000 was put here with the

Re: RFC on fixing mutex spinning on owner

2016-03-18 Thread Thomas Gleixner
On Thu, 17 Mar 2016, Peter Zijlstra wrote: > On Thu, Mar 17, 2016 at 08:06:29AM -0400, Steven Rostedt wrote: > > On Thu, 17 Mar 2016 12:16:11 +0100 (CET) > > Thomas Gleixner wrote: > > > > > On Thu, 17 Mar 2016, Peter Zijlstra wrote: > > > > Also, maybe the tracer should

[PATCH v6 17/17] Xen: EFI: Parse DT parameters for Xen specific UEFI

2016-03-18 Thread Shannon Zhao
From: Shannon Zhao Add a new function to parse DT parameters for Xen specific UEFI just like the way for normal UEFI. Then it could reuse the existing codes. If Xen supports EFI, initialize runtime services. Signed-off-by: Shannon Zhao

[PATCH v9 1/3] staging/android: remove redundant comments on sync_merge_data

2016-03-18 Thread Gustavo Padovan
From: Gustavo Padovan struct sync_merge_data already have documentation on top of the struct definition. No need to duplicate it. Signed-off-by: Gustavo Padovan Reviewed-by: Maarten Lankhorst

[PATCH 00/10] iommu/ipmmu-vmsa: Initial r8a7795 support

2016-03-18 Thread Magnus Damm
iommu/ipmmu-vmsa: Initial r8a7795 support [PATCH 01/10] iommu/ipmmu-vmsa: Make use of IOMMU_OF_DECLARE() [PATCH 02/10] iommu/ipmmu-vmsa: Enable multi context support [PATCH 03/10] iommu/ipmmu-vmsa: Teach xlate() to skip disabled iommus [PATCH 04/10] iommu/ipmmu-vmsa: IPMMU device is 64-bit bus

[PATCH v4 2/8] Documentation: arm: define DT cpu capacity bindings

2016-03-18 Thread Juri Lelli
ARM systems may be configured to have cpus with different power/performance characteristics within the same chip. In this case, additional information has to be made available to the kernel (the scheduler in particular) for it to be aware of such differences and take decisions accordingly.

[PATCH 4/5] ftrace: Make ftrace_hash_rec_enable return update bool

2016-03-18 Thread Jiri Olsa
Change __ftrace_hash_rec_update to return true in case we need to update dynamic ftrace call records. It return false in case no update is needed. Signed-off-by: Jiri Olsa --- kernel/trace/ftrace.c | 27 +-- 1 file changed, 17 insertions(+), 10

[PATCH v3 4/5] mmc: davinci: prepare clock

2016-03-18 Thread David Lechner
When trying to use this driver with the common clock framework, enabling the clock fails because it was not prepared. This fixes the problem by calling clk_prepare and clk_enable in a single function. Ditto for clk_disable_unprepare. Signed-off-by: David Lechner Acked-by:

[PATCH v6 07/17] Xen: ARM: Add support for mapping AMBA device mmio

2016-03-18 Thread Shannon Zhao
From: Shannon Zhao Add a bus_notifier for AMBA bus device in order to map the device mmio regions when DOM0 booting with ACPI. Signed-off-by: Shannon Zhao Reviewed-by: Stefano Stabellini ---

Re: intel_pstate oopses and lockdep report with Linux v4.5-1822-g63e30271b04c

2016-03-18 Thread Josh Boyer
On Thu, Mar 17, 2016 at 8:20 PM, Rafael J. Wysocki wrote: > On Thursday, March 17, 2016 12:44:54 PM Josh Boyer wrote: >> On Thu, Mar 17, 2016 at 10:07 AM, Rafael J. Wysocki >> wrote: >> > On Thursday, March 17, 2016 09:02:29 AM Josh Boyer wrote: >> >>

Re: [PATCH] ARM: DMA: Fix kzalloc flags in __dma_alloc

2016-03-18 Thread Alexandre Courbot
On 03/18/2016 05:05 PM, Rabin Vincent wrote: On Fri, Mar 18, 2016 at 11:12:26AM +0900, Alexandre Courbot wrote: Commit 19e6e5e5392b ("ARM: 8547/1: dma-mapping: store buffer information") allocates a structure meant for internal buffer management with the GFP flags of the buffer itself. This can

Re: [tip:x86/urgent] x86/iopl/64: Properly context-switch IOPL on Xen PV

2016-03-18 Thread Borislav Petkov
On Thu, Mar 17, 2016 at 02:19:12AM -0700, tip-bot for Andy Lutomirski wrote: > Commit-ID: b7a584598aea7ca73140cb87b40319944dd3393f > Gitweb: http://git.kernel.org/tip/b7a584598aea7ca73140cb87b40319944dd3393f > Author: Andy Lutomirski > AuthorDate: Wed, 16 Mar 2016

Re: [PATCH] staging: unisys: visornic: Fixed Checkpatch Warnings

2016-03-18 Thread Greg KH
On Wed, Mar 16, 2016 at 06:24:47PM -0700, Gavin O'Leary wrote: > Fixed the coding style checkpatch warnings. Which ones? Always be specific. And only fix one type of thing at a time. > > Signed-off-by: Gavin O'Leary > --- >

[PATCH 3.19.y-ckt 39/70] USB: serial: option: add support for Quectel UC20

2016-03-18 Thread Kamal Mostafa
v3.19.8-ckt17 -stable review patch. If anyone has any objections, please let me know. ---8< From: Yegor Yefremov commit c0992d0f54847d0d1d85c60fcaa054f175ab1ccd upstream. Add support for Quectel UC20 and

Re: [PATCH] ftrace: use kasprintf() in ftrace_profile_tracefs()

2016-03-18 Thread Namhyung Kim
Hi Geliang, On Tue, Mar 15, 2016 at 11:12 PM, Geliang Tang wrote: > Use kasprintf() instead of kmalloc() and snprintf(). > > Signed-off-by: Geliang Tang Acked-by: Namhyung Kim Thanks, Namhyung > --- > kernel/trace/ftrace.c | 4

Re: [PATCH] regulator: Rename files for Maxim PMIC drivers

2016-03-18 Thread Krzysztof Kozlowski
On 18.03.2016 02:54, Javier Martinez Canillas wrote: > Most Maxim PMIC regulator drivers are for sub-devices of Multi-Function > Devices with drivers under drivers/mfd. But for many of these, the same > object file name was used for both the MFD and the regulator drivers. > > Having 2 different

[PATCH RESEND] media: dvb_ringbuffer: Add memory barriers

2016-03-18 Thread Soeren Moch
Implement memory barriers according to Documentation/circular-buffers.txt: - use smp_store_release() to update ringbuffer read/write pointers - use smp_load_acquire() to load write pointer on reader side - use ACCESS_ONCE() to load read pointer on writer side This fixes data stream corruptions

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

2016-03-18 Thread Eric Sandeen
On 3/16/16 7:15 PM, Theodore Ts'o wrote: > On Wed, Mar 16, 2016 at 03:45:49PM -0600, Andreas Dilger wrote: >>> Clearly, the performance hit of unwritten extent conversion is large >>> enough to tempt people to ask for no-hide-stale. But I'd rather hear >>> that directly from a developer, Ceph or

Quick Loans

2016-03-18 Thread Financial Growth
Apply for a loan at 3% reply to this Email for more Info

[PATCH v12 1/2] Documentation: bridge: Add documentation for ps8640 DT properties

2016-03-18 Thread Jitao Shi
Add documentation for DT properties supported by ps8640 DSI-eDP converter. Signed-off-by: Jitao Shi Acked-by: Rob Herring Reviewed-by: Philipp Zabel --- Changes since v11: - No change ---

Re: [PATCH v5 3/6] ARM: AM335x/AM437x: hwmod: Remove eQEP, ePWM and eCAP hwmod entries

2016-03-18 Thread Rob Herring
On Mon, Mar 07, 2016 at 07:23:41PM -0600, Franklin S Cooper Jr wrote: > Devices that utilize the OCP registers and/or PRCM registers and > register bit fields should be modelled using hwmod. Since eQEP, ePWM and s/modelled/modeled/ > eCAP don't fall under this category, remove their hwmod

Re: [PATCH v7 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2016-03-18 Thread Baolin Wang
On 16 March 2016 at 19:48, Felipe Balbi wrote: > > Hi Baolin, > > Baolin Wang writes: >> [ text/plain ] >> Currently the Linux kernel does not provide any standard integration of this >> feature that integrates the USB subsystem with the system power

[PATCH] staging: unisys: visornic: Made comments look nicer

2016-03-18 Thread Gavin O'Leary
Made comments not break coding style guidlines and easier to read. Signed-off-by: Gavin O'Leary --- drivers/staging/unisys/visornic/visornic_main.c | 29 +++-- 1 file changed, 17 insertions(+), 12 deletions(-) diff --git

Re: [PATCH v18 11/22] vfs: Cache base_acl objects in inodes

2016-03-18 Thread Andreas Gruenbacher
On Tue, Mar 15, 2016 at 8:12 AM, Christoph Hellwig wrote: > On Fri, Mar 11, 2016 at 05:24:45PM +0100, Andreas Gruenbacher wrote: >> POSIX ACLs and RichACLs are different objects, with different members >> and different algorithms operating on them. The only commonality is >>

[PATCH v13 1/2] Documentation: bridge: Add documentation for ps8640 DT properties

2016-03-18 Thread Jitao Shi
Add documentation for DT properties supported by ps8640 DSI-eDP converter. Signed-off-by: Jitao Shi Acked-by: Rob Herring Reviewed-by: Philipp Zabel --- Changes since v12: - No change ---

[PATCH v4 07/13] ARM: dts: sun8i-a83t: Add PRCM related clocks and resets

2016-03-18 Thread Vishnu Patekar
This adds A83T PRCM related clocks, clock resets. As a83t apb0 gates clock support is added earlier, this enables it. Apart from apb0 gates, other added clocks are compatible with earlier sun8i socs. Signed-off-by: Vishnu Patekar Acked-by: Chen-Yu Tsai

Re: [PATCH] nios2: Replace fdt_translate_address with of_flat_dt_translate_address

2016-03-18 Thread Ley Foon Tan
On Thu, 2016-03-17 at 20:22 -0700, Peter Hurley wrote: > Hi Guenter, > > On 03/17/2016 07:49 PM, Guenter Roeck wrote: > > nios2 builds fail with the following build error. > > > > arch/nios2/kernel/prom.c: In function 'early_init_dt_scan_serial': > > arch/nios2/kernel/prom.c:100:2: error: > >

[PATCH] x86/kallsyms: fix GOLD link failure with new relative kallsyms table format

2016-03-18 Thread Ard Biesheuvel
Commit 2213e9a66bb8 ("kallsyms: add support for relative offsets in kallsyms address table") changed the default kallsyms symbol table format to use relative references rather than absolute addresses. This reduces the size of the kallsyms symbol table by 50% on 64-bit architectures, and further

Re: [GIT PULL] GPIO bulk changes for kernel v4.6

2016-03-18 Thread Linus Torvalds
On Thu, Mar 17, 2016 at 1:59 AM, Linus Walleij wrote: > > NOTE: tree was a bit dirty and I realized it too late: Laxmans > devm_gpiochip_add() branch was based on my for-next branch rather > than my devel branch, making some commits appear twice and > a file named

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 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 17, 2016 at 07:17:24PM -0400, ok...@codeaurora.org wrote: What is the correct way? I don't

Re: [PATCH 3.12 36/58] Revert "drm/radeon: hold reference to fences in radeon_sa_bo_new"

2016-03-18 Thread Nicolai Hähnle
This is fine. Please consider applying the corrected backport that I sent around yesterday. Apologies for the mess - an unfortunate interaction with older code, plus then some stable branches already reverted the original backport while others didn't. The best way forward right now is to

[PATCH 09/15] irqchip/gic: Don't initialise chip if mapping IO space fails

2016-03-18 Thread Jon Hunter
If we fail to map the address space for the GIC distributor or CPU interface, then don't attempt to initialise the chip, just WARN and return. Signed-off-by: Jon Hunter --- drivers/irqchip/irq-gic.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git

Re: [PATCH 1/3] leds: triggers: add support for RGB triggers

2016-03-18 Thread Heiner Kallweit
Am 17.03.2016 um 14:41 schrieb Jacek Anaszewski: > Hi Heiner, > > On 03/13/2016 06:14 PM, Heiner Kallweit wrote: >> Add basic support for RGB triggers. Triggers with flag LED_TRIG_CAP_RGB >> set are available to RGB LED devices only. >> >> Signed-off-by: Heiner Kallweit >>

Re: Suspicious error for CMA stress test

2016-03-18 Thread Vlastimil Babka
On 03/14/2016 03:10 PM, Joonsoo Kim wrote: 2016-03-14 21:30 GMT+09:00 Vlastimil Babka : Now I see why this happen. I enabled CONFIG_DEBUG_PAGEALLOC and it makes difference. I tested on x86_64, gcc (Ubuntu 4.8.4-2ubuntu1~14.04.1) 4.8.4. With CONFIG_CMA + CONFIG_DEBUG_PAGEALLOC

[PATCH 3.19.y-ckt 35/70] ASoC: wm8958: Fix enum ctl accesses in a wrong type

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 d0784829ae3b0beeb69b476f017d5c8a2eb95198 upstream. "MBC Mode", "VSS Mode", "VSS HPF Mode" and

[PATCH] MIPS: Fix broken malta qemu

2016-03-18 Thread Qais Yousef
Malta defconfig compiles with GIC on. Hence when compiling for SMP it causes the new IPI code to be activated. But on qemu malta there's no GIC causing a BUG_ON(!ipidomain) to be hit in mips_smp_ipi_init(). Since in that configuration one can only run a single core SMP (!), skip IPI

[PATCH] ntb: test: fix pointer size warning

2016-03-18 Thread Brian Norris
drivers/ntb/test/ntb_perf.c: In function ‘perf_copy’: drivers/ntb/test/ntb_perf.c:213:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] drivers/ntb/test/ntb_perf.c:214:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] On 32-bit

[PATCH 3.19.y-ckt 56/70] jffs2: reduce the breakage on recovery from halfway failed rename()

2016-03-18 Thread Kamal Mostafa
v3.19.8-ckt17 -stable review patch. If anyone has any objections, please let me know. ---8< From: Al Viro commit f93812846f31381d35c04c6c577d724254355e7f upstream. d_instantiate(new_dentry, old_inode) is

[PATCH] Staging: rtl8192e: fix line length coding style issue in rtllib_softmac.c

2016-03-18 Thread Yousof El-Sayed
This is a patch to the rtllib_softmac.c file that fixes up all instances of the 'line over 80 characters' warnings found by the checkpatch.pl tool Signed-off-by: Yousof El-Sayed --- drivers/staging/rtl8192e/rtllib_softmac.c | 35 +++

[git pull] Input updates for 4.6-rc0

2016-03-18 Thread Dmitry Torokhov
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git for-linus to receive updates for the input subsystem. The most notable item is addition of support for Synaptics RMI4 protocol which is native protocol for all current Synaptics devices

Re: [PATCH] Revert "arm64: Increase the max granular size"

2016-03-18 Thread Mark Rutland
On Wed, Mar 16, 2016 at 08:06:22AM -0500, Timur Tabi wrote: > Will Deacon wrote: > >Unfortunately, the original patch is required to support the 128-byte L1 > >cache lines of Cavium ThunderX, so we can't simply revert it like this. > >Similarly, the desire for a single, multiplatform kernel image

Re: [PART1 RFC v3 01/12] KVM: x86: Misc LAPIC changes to expose helper functions

2016-03-18 Thread Paolo Bonzini
On 18/03/2016 07:09, Suravee Suthikulpanit wrote: > From: Suravee Suthikulpanit > > Exporting LAPIC utility functions and macros for re-use in SVM code. > > Signed-off-by: Suravee Suthikulpanit > --- > arch/x86/kvm/lapic.c | 110

Re: [PATCH 1/4 v3] drm: Add support of ARC PGU display controller

2016-03-18 Thread Alexey Brodkin
Hi Daniel, On Fri, 2016-03-18 at 09:02 +0100, Daniel Vetter wrote: > On Thu, Mar 17, 2016 at 08:27:10PM +, Alexey Brodkin wrote: > > > > Hi Daniel, > > > > On Tue, 2016-03-15 at 16:59 +0100, Daniel Vetter wrote: > > > > > > On Tue, Mar 15, 2016 at 03:24:46PM +, Alexey Brodkin wrote: >

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

2016-03-18 Thread Mark Brown
On Thu, Mar 17, 2016 at 10:38:36AM +, Pan, Harry wrote: > Allow me to explain more detail that I saw during debug; since the > commit 6e78108bda78 (ASoC: core: Don't probe the component which is > dummy), an exception has been made that dummy component won't be probed, > thus the 'card'

net/ppp: use-after-free in ppp_unregister_channel

2016-03-18 Thread Baozeng Ding
Dear all, I've got the following use-after-free report while running syzkaller fuzzer. Unfortunately no reproducer. It was found in the Linux kernel version(4.4, on commit 9638685e32af961943b679fcb72d4ddd458eb18f). == BUG: KASAN:

[PATCH] tty/hvc: Use IRQF_SHARED for hvc consoles

2016-03-18 Thread Samuel Mendoza-Jonas
Commit 2def86a7200c ("hvc: Convert to using interrupts instead of opal events") enabled the use of interrupts in the hvc_driver for OPAL platforms. However on machines with more than one hvc console, any console after the first will fail to register an interrupt handler in notifier_add_irq() since

Re: Major KVM issues with kernel 4.5 on the host

2016-03-18 Thread Marc Haber
Hi Borislav, On Thu, Mar 17, 2016 at 07:11:28PM +0100, Borislav Petkov wrote: > Do you have any funky messages in host's dmesg ? Not that I see. > Can you upload a full dmesg from both a good and a bad host kernel? http://q.bofh.de/~mh/stuff/20160317-fan-syslog-kvm-4.4.5

[PATCH 1/3 v4] powercap, intel_rapl, implement get_max_time_window

2016-03-18 Thread Prarit Bhargava
The MSR_PKG_POWER_INFO register (Intel ASDM, section 14.9.3 "Package RAPL Domain") provides a maximum time window which the system can support. This window is read-only and is currently not examined when setting the time windows for the package. This patch implements get_max_time_window_us() and

[GIT PULL] sound updates for 4.6-rc1

2016-03-18 Thread Takashi Iwai
Linus, please pull sound updates for v4.6-rc1 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-4.6-rc1 The topmost commit is 222bde03881c470de8aa4ca8e58f5950c2b84d12 sound updates for 4.6-rc1

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.

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

[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

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

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

[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

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

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:

[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

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

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

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

[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

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

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

[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

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

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

[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

[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

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

[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

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

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

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

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

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

[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

[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

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

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

Re: [STLinux Kernel] [PATCH v5 4/7] remoteproc: Supply controller driver for ST's Remote Processors

2016-03-18 Thread Peter Griffin
On Tue, 12 Jan 2016, Lee Jones wrote: > Signed-off-by: Ludovic Barre > Signed-off-by: Lee Jones > --- > drivers/remoteproc/Kconfig | 9 ++ > drivers/remoteproc/Makefile| 1 + > drivers/remoteproc/st_remoteproc.c | 297 >

[PATCH v6 16/17] FDT: Add a helper to get the subnode by given name

2016-03-18 Thread Shannon Zhao
From: Shannon Zhao Sometimes it needs to check if there is a subnode of given node in FDT by given name. Introduce this helper to get the subnode if it exists. CC: Rob Herring Signed-off-by: Shannon Zhao Acked-by: Stefano

  1   2   3   4   5   6   7   8   9   >