Re: [PATCH v3 3/3] pci: dra7xx: use pdata callbacks to perform reset

2016-02-11 Thread Suman Anna
On 02/11/2016 01:27 PM, Paul Walmsley wrote: > Hi Kishon, Suman, > > On Wed, 10 Feb 2016, Kishon Vijay Abraham I wrote: > >> On Wednesday 10 February 2016 07:12 AM, Suman Anna wrote: >>> On 02/09/2016 01:36 PM, Paul Walmsley wrote: On Tue, 9 Feb 2016, Suman Anna wrote: > On 02/09/2016 02

Re: [PATCH v16 0/6] Device Tree support for FPGA programming

2016-02-11 Thread atull
On Thu, 11 Feb 2016, Rob Herring wrote: > On Thu, Feb 11, 2016 at 2:49 PM, atull wrote: > > On Fri, 5 Feb 2016, at...@opensource.altera.com wrote: > > > >> From: Alan Tull > >> > >> v16 Refactors the FPGA Area and FPGA Bus into single thing called an > >> FPGA Region and eliminates using simple-

Re: computing drop-able caches

2016-02-11 Thread Rik van Riel
On Wed, 2016-02-10 at 11:11 -0800, Daniel Walker wrote: > On 02/10/2016 10:13 AM, Dave Hansen wrote: > > On 02/10/2016 10:04 AM, Daniel Walker wrote: > > > > [Linux_0:/]$ echo 3 > /proc/sys/vm/drop_caches > > > > [Linux_0:/]$ cat /proc/meminfo > > > > MemTotal:3977836 kB > > > > MemFree:   

Re: [PATCH V5 0/6] cpufreq: Locking fixes and cleanups

2016-02-11 Thread Rafael J. Wysocki
On Thursday, February 11, 2016 05:31:10 PM Viresh Kumar wrote: > Hi Rafael, > > These are rest of the patches that fix some more locking issues with > policy->rwsem and do some minor optimization/cleanups. > > V4->V5: > - Changelog updated for 1-2 as suggested by Rafael > - 4th patch is dropped,

[PATCH] arm64: make irq_stack_ptr more robust

2016-02-11 Thread Yang Shi
Switching between stacks is only valid if we are tracing ourselves while on the irq_stack, so it is only valid when in current and non-preemptible context, otherwise is is just zeroed off. Signed-off-by: Yang Shi --- arch/arm64/kernel/stacktrace.c | 13 ++--- arch/arm64/kernel/traps.c

RE: [PATCH v11 0/4] Machine check recovery when kernel accesses poison

2016-02-11 Thread Luck, Tony
> That's some changelog, I tell ya. Well, it took us long enough so for all 4: I'll see if Peter Jackson wants to turn it into a series of movies. > Reviewed-by: Borislav Petkov Ingo: Boris is happy ... your turn to find things for me to fix (or is it ready for 4.6 now??) -Tony

Re: [PATCH v4 01/17] Xen: ACPI: Hide UART used by Xen

2016-02-11 Thread Rafael J. Wysocki
On Thursday, February 11, 2016 04:04:14 PM Stefano Stabellini wrote: > On Wed, 10 Feb 2016, Rafael J. Wysocki wrote: > > On Tuesday, February 09, 2016 11:19:02 AM Stefano Stabellini wrote: > > > On Mon, 8 Feb 2016, Rafael J. Wysocki wrote: > > > > On Monday, February 08, 2016 10:57:01 AM Stefano St

Re: [PATCH RFC 09/22] block, cfq: replace CFQ with the BFQ-v0 I/O scheduler

2016-02-11 Thread Tejun Heo
Hello, Here's the biggest question I have. If I'm reading the paper and code correctly, bfq is using bandwidth as the virtual time used for scheduling. This doesn't make sense to me because for most IO devices and especially for rotating disks bandwidth is a number which fluctuates easily and wi

Re: [PATCH RFC 10/22] block, bfq: add full hierarchical scheduling and cgroups support

2016-02-11 Thread Tejun Heo
Hello, On Mon, Feb 01, 2016 at 11:12:46PM +0100, Paolo Valente wrote: > From: Arianna Avanzini > > Complete support for full hierarchical scheduling, with a cgroups > interface. The name of the added policy is bfq. > > Weights can be assigned explicitly to groups and processes through the > cgr

Re: [PATCH v11 0/4] Machine check recovery when kernel accesses poison

2016-02-11 Thread Borislav Petkov
On Thu, Feb 11, 2016 at 10:16:56PM +, Luck, Tony wrote: > > That's some changelog, I tell ya. Well, it took us long enough so for all 4: > > I'll see if Peter Jackson wants to turn it into a series of movies. LOL. A passing title might be "The Fellowship of the MCA"! :-) -- Regards/Gruss,

Re: gigaset: memory leak in gigaset_initcshw

2016-02-11 Thread Paul Bolle
On vr, 2016-02-05 at 22:25 +0100, Dmitry Vyukov wrote: > On Fri, Feb 5, 2016 at 7:36 PM, Paul Bolle wrote: > > Does that make any difference? > Nope. > Almost 500 objects leaked in less than 10 seconds: Too bad. Still a nice (potential) clean up though. Thanks, Paul Bolle

Re: [PATCH v16 0/6] Device Tree support for FPGA programming

2016-02-11 Thread atull
On Thu, 11 Feb 2016, atull wrote: > On Thu, 11 Feb 2016, Rob Herring wrote: > > > On Thu, Feb 11, 2016 at 2:49 PM, atull wrote: > > > On Fri, 5 Feb 2016, at...@opensource.altera.com wrote: > > > > > >> From: Alan Tull > > >> > > >> v16 Refactors the FPGA Area and FPGA Bus into single thing call

Re: [PATCH V1 6/6] acpi: apei: handle SEA notification type for ARMv8

2016-02-11 Thread Baicar, Tyler
Hello Will, On 2/10/2016 11:03 AM, Will Deacon wrote: On Fri, Feb 05, 2016 at 12:13:28PM -0700, Tyler Baicar wrote: ARM APEI extension proposal added SEA (Synchrounous External Abort) notification type for ARMv8. Add a new GHES error source handling function for SEA. If an error source's notif

Re: [PATCH v2 2/2] dax: move writeback calls into the filesystems

2016-02-11 Thread Dave Chinner
On Thu, Feb 11, 2016 at 12:58:38PM -0800, Dan Williams wrote: > On Thu, Feb 11, 2016 at 12:46 PM, Dave Chinner wrote: > [..] > >> It seems to me we need to modify the > >> metadata i/o paths to bypass the page cache, > > > > XFS doesn't use the block device page cache for it's metadata - it > > ha

[PATCH] perf data convert: fix possible leak

2016-02-11 Thread Philippe Proulx
This patch removes the need to manually update the static size of data.array in struct ctf_writer. Signed-off-by: Philippe Proulx --- tools/perf/util/data-convert-bt.c | 57 --- 1 file changed, 29 insertions(+), 28 deletions(-) diff --git a/tools/perf/util/da

RE: [PATCH v6 0/3] cpufreq: Replace timers with utilization update callbacks

2016-02-11 Thread Doug Smythies
On 2016.02.10 15:18 Rafael J. Wysocki wrote: > On Wednesday, February 10, 2016 03:11:43 PM Doug Smythies wrote: >> On 2016.02.10 07:17 Rafael J. Wysocki wrote: >>> On Friday, January 29, 2016 11:52:15 PM Rafael J. Wysocki wrote: >> This patch set solves a long standing issue with the intel_ps

Re: [PATCH 0/7][v5]Add OTG support for FSL socs

2016-02-11 Thread Li Yang
On Mon, Feb 8, 2016 at 3:18 AM, Ramneek Mehresh wrote: > Hi Balbi, > > A kind reminder for the below request. Please let me know if any changes are > required on my side. You are still using the obsolete email address of Balbi trying to get his attention. commit a55f6286575863ebfa5577d4d3bb3b6f

Re: [PATCH 05/15] c6x: use of_platform_default_populate() to populate default bus

2016-02-11 Thread Mark Salter
On Wed, 2016-01-27 at 12:27 +0800, Kefeng Wang wrote: > Use helper of_platform_default_populate() in linux/of_platform > when possible, instead of calling of_platform_populate() with > the default match table. > > Cc: Mark Salter > Cc: Aurelien Jacquiot > Signed-off-by: Kefeng Wang > --- Acked

Re: [PATCH 18/31] Add debugger entry points for C6X

2016-02-11 Thread Mark Salter
On Thu, 2016-01-28 at 12:47 -0700, Jeffrey Merkey wrote: > This patch series adds an export which can be set by system debuggers to > direct the hard lockup and soft lockup detector to trigger a breakpoint > exception and enter a debugger if one is active.  It is assumed that if > someone sets this

Re: gigaset: memory leak in gigaset_initcshw

2016-02-11 Thread Paul Bolle
Hi Dmitry, On vr, 2016-02-05 at 17:06 +0100, Paul Bolle wrote: > On vr, 2016-02-05 at 14:28 +0100, Dmitry Vyukov wrote: > > I wonder why you don't see the leak I am seeing... > > So do I, for a few days now. 0) I finally managed to reliably trigger this leak on an i686, single core machine (yet

Re: [PATCH v8 2/4] perf inject: add jitdump mmap injection support

2016-02-11 Thread Arnaldo Carvalho de Melo
Em Mon, Feb 08, 2016 at 10:53:48AM -0800, Stephane Eranian escreveu: > Hi Arnaldo, > > Sorry for the delay, I missed your message. > > I tried with openjdk-8 on Ubuntu/Wily and I do not get the crash using > the same hello world test program. > In fact, if I print file_name, it is never NULL for

[RFC PATCH] perf hists: Do column alignment on the format iterator

2016-02-11 Thread Arnaldo Carvalho de Melo
We were doing column alignment in the format function for each cell, returning a string padded with spaces so that when the next column is printed the cursor is at its column alignment. This ends up needlessly printing trailing spaces, do it at the format iterator, that is where we know if it is n

Re: [RFC] perf build: Add EXTRA_LDFLAGS option to makefile

2016-02-11 Thread Arnaldo Carvalho de Melo
Em Tue, Feb 09, 2016 at 01:33:38PM +, Zubair Lutfullah Kakakhel escreveu: > To compile for little-endian systems, you need to pass -EL to CC > and LD. > > EXTRA_CFLAGS works to pass -EL to CC. > Add EXTRA_LDFLAGS to pass -EL to LD. > > Signed-off-by: Zubair Lutfullah Kakakhel Looks ok, appl

Re: [PATCH v2 2/2] dax: move writeback calls into the filesystems

2016-02-11 Thread Dan Williams
On Thu, Feb 11, 2016 at 2:46 PM, Dave Chinner wrote: > On Thu, Feb 11, 2016 at 12:58:38PM -0800, Dan Williams wrote: >> On Thu, Feb 11, 2016 at 12:46 PM, Dave Chinner wrote: >> [..] >> >> It seems to me we need to modify the >> >> metadata i/o paths to bypass the page cache, >> > >> > XFS doesn't

Re: [PATCH] perf python scripting: Append examples to err msg about audit-libs-python

2016-02-11 Thread Arnaldo Carvalho de Melo
Em Tue, Feb 09, 2016 at 08:53:10PM +0900, Taeung Song escreveu: > To print the syscall name, the audit-libs-python package > should be required. If not installed, print > the erron string e.g. After fixing spelling mistakes, applied, thanks, - Arnaldo > > # perf script syscall-counts >

Re: [PATCH V2 03/12] dtb: amd: Fix DMA ranges in device tree

2016-02-11 Thread Suravee Suthikulpanit
Ok, I'll send the incremental patch out again. Thanks, Suravee On 2/12/16 04:23, Olof Johansson wrote: Hi, On Wed, Feb 10, 2016 at 1:13 PM, Suravee Suthikulpanit wrote: Hi Arnd, On 2/9/16 21:57, Arnd Bergmann wrote: On Monday 08 February 2016 11:59:08 Suravee Suthikulpanit wrote: From:

Re: [PATCH v2 5/6] serial: 8250/mediatek: fix building with SERIAL_8250=m

2016-02-11 Thread Matthias Brugger
On 11/02/16 16:41, Arnd Bergmann wrote: The Mediatek 8250 driver has a 'bool' Kconfig symbol, but that breaks when SERIAL_8250 is a loadable module: drivers/tty/built-in.o: In function `mtk8250_set_termios': :(.text+0x1bee8): undefined reference to `serial8250_do_set_termios' :(.text+0x1bf10):

Re: [PATCH] of/irq: Fix msi-map calculation for nonzero rid-base

2016-02-11 Thread Rob Herring
On Thu, Feb 11, 2016 at 5:04 AM, Marc Zyngier wrote: > On 09/02/16 11:04, Robin Murphy wrote: >> The existing msi-map code is fine for shifting the entire RID space >> upwards, but attempting finer-grained remapping reveals a bug. It turns >> out that we are mistakenly treating the msi-base part a

Re: [PATCH v2] of: resolver: Add missing of_node_get and of_node_put

2016-02-11 Thread Rob Herring
On Wed, Feb 3, 2016 at 12:09 PM, Amitoj Kaur Chawla wrote: > In __of_find_node_by_full_name, add an of_node_get when detecting the > desired element, to ensure that it ends up with a reference count that is > one greater than on entering the function. > > Also in __of_find_node_by_full_name, add a

Re: [lxc-devel] CGroup Namespaces (v10)

2016-02-11 Thread Alban Crequy
On 29 January 2016 at 09:54, wrote: > Hi, > > following is a revised set of the CGroup Namespace patchset which Aditya > Kali has previously sent. The code can also be found in the cgroupns.v10 > branch of > > https://git.kernel.org/cgit/linux/kernel/git/sergeh/linux-security.git/ > > To summari

[PATCH 1/2] ftrace: move the CALLER_ADDRx macros into its own header

2016-02-11 Thread Sebastian Andrzej Siewior
This patch moves the CALLER_ADDRx macros into their own header so it is not required to include ftrace.h just for them. Signed-off-by: Sebastian Andrzej Siewior --- include/linux/ftrace.h| 25 + include/linux/ftrace_caller.h | 28 2 fi

[PATCH 2/2] kernel: sched: fix preempt_disable_ip recodring for preempt_disable()

2016-02-11 Thread Sebastian Andrzej Siewior
The preempt_disable() invokes preempt_count_add() which saves the caller in ->preempt_disable_ip. It uses CALLER_ADDR1 which does not look for its caller but for the parent of the caller. Which means we get the correct caller for something like spin_lock() unless the architectures inlines those inv

Re: [PATCH 2/2] kernel: sched: fix preempt_disable_ip recodring for preempt_disable()

2016-02-11 Thread Sebastian Andrzej Siewior
Before: preempt_test(1) kernel_init_freeable+0x1bd/0x239 preempt_test(2) preempt_test+0x75/0x15c preempt_test(3) preempt_test+0xaa/0x15c preempt_test(4) kernel_init_freeable+0x1bd/0x239 preempt_test(5) kernel_init_freeable+0x1bd/0x239 After: preempt_test(1) preempt_test+0x2f/0x15c preempt_t

Re: [PATCH] ath10k: fix erroneous return value

2016-02-11 Thread Julian Calaby
Hi All, On Thu, Feb 11, 2016 at 3:58 AM, Anton Protopopov wrote: > The ath10k_pci_hif_exchange_bmi_msg() function may return the positive > value EIO instead of -EIO in case of error. > > Signed-off-by: Anton Protopopov This looks right to me. Reviewed-by: Julian Calaby > --- > drivers/net/

Re: [PATCH v3 5/5] arm: dts: Add pinctrl/GPIO/EINT node for mt2701

2016-02-11 Thread Matthias Brugger
On 07/01/16 11:14, Linus Walleij wrote: On Thu, Dec 31, 2015 at 12:23 PM, Matthias Brugger wrote: On 28/12/15 08:09, Biao Huang wrote: Add pinctrl and GPIO node to mt2701.dtsi Signed-off-by: Biao Huang Acked-by: Linus Walleij --- arch/arm/boot/dts/mt2701.dtsi | 19 ++

Re: [PATCH v6 0/3] cpufreq: Replace timers with utilization update callbacks

2016-02-11 Thread Rafael J. Wysocki
Hi Doug, On Thu, Feb 11, 2016 at 11:50 PM, Doug Smythies wrote: > On 2016.02.10 15:18 Rafael J. Wysocki wrote: >> On Wednesday, February 10, 2016 03:11:43 PM Doug Smythies wrote: >>> On 2016.02.10 07:17 Rafael J. Wysocki wrote: On Friday, January 29, 2016 11:52:15 PM Rafael J. Wysocki wrote:

[PATCH v2] x86/mm/vmfault: Make vmalloc_fault() handle large pages

2016-02-11 Thread Toshi Kani
The following oops was observed when a read syscall was made to a pmem device after a huge amount (>512GB) of vmalloc ranges was allocated by ioremap() on a x86_64 system. BUG: unable to handle kernel paging request at 88084ff8 IP: [] vmalloc_fault+0x1be/0x300 PGD c7f03a067 PUD 0 Oops:

[PATCH v3 22/22] sound/usb: Use Media Controller API to share media resources

2016-02-11 Thread Shuah Khan
Change ALSA driver to use Media Controller API to share media resources with DVB and V4L2 drivers on a AU0828 media device. Media Controller specific initialization is done after sound card is registered. ALSA creates Media interface and entity function graph nodes for Control, Mixer, PCM Playback,

[PATCH v3 18/22] media: au0828-core register entity_notify hook

2016-02-11 Thread Shuah Khan
Register entity_notify async hook to create links between existing bridge driver entities and a newly added non-bridge driver entities. For example, this handler creates link between V4L decoder entity and ALSA mixer entity. Signed-off-by: Shuah Khan --- drivers/media/usb/au0828/au0828-core.c |

Re: [PATCH v2 2/2] dax: move writeback calls into the filesystems

2016-02-11 Thread Dave Chinner
On Thu, Feb 11, 2016 at 02:59:14PM -0800, Dan Williams wrote: > On Thu, Feb 11, 2016 at 2:46 PM, Dave Chinner wrote: > > On Thu, Feb 11, 2016 at 12:58:38PM -0800, Dan Williams wrote: > >> On Thu, Feb 11, 2016 at 12:46 PM, Dave Chinner wrote: > >> Maybe I don't need to worry because it's already t

[PATCH v3 21/22] media: au0828 video change to use v4l_enable_media_source()

2016-02-11 Thread Shuah Khan
Change au0828 to check if tuner is free or not before changing tuner configuration. vidioc_g_tuner(), and au0828_v4l2_close() now call v4l-core interface v4l_enable_media_source() before changing tuner configuration. Remove au0828_enable_analog_tuner() as it is no longer needed because v4l2-core

[PATCH v3 20/22] media: dvb-frontend invoke enable/disable_source handlers

2016-02-11 Thread Shuah Khan
Change dvb frontend to check if tuner is free when device opened in RW mode. Call to enable_source handler either returns with an active pipeline to tuner or error if tuner is busy. Tuner is released when frontend is released calling the disable_source handler. Signed-off-by: Shuah Khan --- driv

[PATCH v3 19/22] media: au0828 add enable, disable source handlers

2016-02-11 Thread Shuah Khan
Add enable_source and disable_source handlers. The enable source handler is called from v4l2-core, dvb-core, and ALSA drivers to check if the shared media source is free. The disable source handler is called to release the shared media source. Signed-off-by: Shuah Khan --- drivers/media/usb/au08

[PATCH v3 00/22] Sharing media resources across ALSA and au0828 drivers

2016-02-11 Thread Shuah Khan
This patch series updates ALSA driver, and au0828 core driver to use Managed Media controller API and Media Controller API to share media resource (tuner). This Patch v3 series is based on linux_media master. This work addresses Mauro and Takashi's comments on Patch v2 series. Changes since Patch

[PATCH v3 17/22] media: au0828 disable tuner to demod link

2016-02-11 Thread Shuah Khan
Change au0828_create_media_graph() to find and disable tuner and demod link. This helps avoid an additional disable step when tuner is requested by video or audio. Signed-off-by: Shuah Khan --- drivers/media/usb/au0828/au0828-core.c | 20 +++- 1 file changed, 19 insertions(+), 1

[PATCH v3 16/22] media: au0828 create tuner to decoder link in disabled state

2016-02-11 Thread Shuah Khan
Create tuner to demod pad link in disabled state to avoid disable step when tuner resource is requested by dvb. Signed-off-by: Shuah Khan --- drivers/media/usb/au0828/au0828-core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/usb/au0828/au0828-core.c b/d

[PATCH v3 10/22] media: Move au8522_media_pads enum to au8522.h from au8522_priv.h

2016-02-11 Thread Shuah Khan
Move the au8522_media_pads enum to au8522.h from au8522_priv.h to export them. This will allow au0828-core to use these defines instead of hard-coding them them. Signed-off-by: Shuah Khan --- drivers/media/dvb-frontends/au8522.h | 7 +++ drivers/media/dvb-frontends/au8522_priv.h | 8 ---

[PATCH v3 01/22] [media] Docbook: media-types.xml: Add ALSA Media Controller Intf types

2016-02-11 Thread Shuah Khan
Add ALSA Media Controller Intf types Signed-off-by: Shuah Khan --- Documentation/DocBook/media/v4l/media-types.xml | 40 + 1 file changed, 40 insertions(+) diff --git a/Documentation/DocBook/media/v4l/media-types.xml b/Documentation/DocBook/media/v4l/media-types.xml ind

[PATCH v3 15/22] media: au0828 handle media_init and media_register window

2016-02-11 Thread Shuah Khan
Media device initialization and registration steps are split. There is a window between media device init and media device register during usb probe. au0828 bridge driver and snd-usb-audio could try to initialize the media device, if they simply checked, whether the device has been registered. The

[PATCH v3 02/22] uapi/media.h: Declare interface types for ALSA

2016-02-11 Thread Shuah Khan
Declare the interface types to be used on alsa for the new G_TOPOLOGY ioctl. Signed-off-by: Shuah Khan --- drivers/media/media-entity.c | 16 include/uapi/linux/media.h | 10 ++ 2 files changed, 26 insertions(+) diff --git a/drivers/media/media-entity.c b/drivers/medi

[PATCH v3 14/22] media: au0828 change to use Managed Media Controller API

2016-02-11 Thread Shuah Khan
Change au0828 to use Managed Media Controller API to share media device and coordinate creating/deleting the shared media device with the snd-usb-audio driver. The shared media device is created as device resource of the parent usb device of the two drivers. Populate media device model with USB De

Re: WARNING: CPU: 0 PID: 3031 at ./arch/x86/include/asm/fpu/internal.h:530 fpu__restore+0x90/0x130()

2016-02-11 Thread Andy Lutomirski
On Thu, Feb 11, 2016 at 11:27 AM, Borislav Petkov wrote: > Hey Andy, > > can you make any sense of this: > > [ 90.573923] [ cut here ] > [ 90.574977] WARNING: CPU: 0 PID: 3031 at > ./arch/x86/include/asm/fpu/internal.h:530 fpu__restore+0x90/0x130() > [ 90.576108] Mod

[PATCH v3 03/22] [media] Docbook: media-types.xml: Add Audio Function Entities

2016-02-11 Thread Shuah Khan
Add Audio Function Entities Signed-off-by: Shuah Khan --- Documentation/DocBook/media/v4l/media-types.xml | 12 1 file changed, 12 insertions(+) diff --git a/Documentation/DocBook/media/v4l/media-types.xml b/Documentation/DocBook/media/v4l/media-types.xml index 3730967..924a604 10

[PATCH v3 05/22] media: Media Controller register/unregister entity_notify API

2016-02-11 Thread Shuah Khan
Add new interfaces to register and unregister entity_notify hook to media device. These interfaces allow drivers to add hooks to take appropriate actions when new entities get added to a shared media device. For example, au0828 bridge driver registers an entity_notify hook to create links as needed

[PATCH v3 13/22] media: Change v4l-core to check if source is free

2016-02-11 Thread Shuah Khan
Change s_input, s_fmt, s_tuner, s_frequency, querystd, s_hw_freq_seek, and vb2_core_streamon interfaces that alter the tuner configuration to check if it is free, by calling v4l_enable_media_source(). If source isn't free, return -EBUSY. v4l_disable_media_source() is called from v4l2_fh_exit() to r

[PATCH v3 04/22] media: Add ALSA Media Controller function entities

2016-02-11 Thread Shuah Khan
Add ALSA Media Controller capture, playback, and mixer function entity defines. Signed-off-by: Shuah Khan --- include/uapi/linux/media.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/include/uapi/linux/media.h b/include/uapi/linux/media.h index 3cc0366..449462e 100644 --- a/include/

[PATCH v3 06/22] media: Media Controller enable/disable source handler API

2016-02-11 Thread Shuah Khan
Add new fields to struct media_device to add enable_source, and disable_source handlers, and source_priv to stash driver private data that is used to run these handlers. The enable_source handler finds source entity for the passed in entity and checks if it is available. When link is found, it acti

[PATCH v3 12/22] media: au0828 Use au8522_media_pads enum for pad defines

2016-02-11 Thread Shuah Khan
Change au0828-core to use au8522_media_pads enum defines instead of hard-coding the pad values. Signed-off-by: Shuah Khan --- drivers/media/usb/au0828/au0828-core.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/media/usb/au0828/au0828-core.c b/drivers/media/

[PATCH v3 07/22] media: Media Controller export non locking __media_entity_setup_link()

2016-02-11 Thread Shuah Khan
Export __media_entity_setup_link() to be used from code paths that hold the graph_mutex. Signed-off-by: Shuah Khan --- drivers/media/media-entity.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/media-entity.c b/drivers/media/media-entity.c index 6179543..9b4d712 100644 --- a/

[PATCH v3 11/22] media: au8522 change to create MC pad for ALSA Audio Out

2016-02-11 Thread Shuah Khan
Add new pad for ALSA Audio Out to au8522_media_pads. Signed-off-by: Shuah Khan --- drivers/media/dvb-frontends/au8522.h | 1 + drivers/media/dvb-frontends/au8522_decoder.c | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/media/dvb-frontends/au8522.h b/drivers/media/dvb-fron

[PATCH v3 08/22] media: Media Controller non-locking __media_entity_pipeline_start/stop()

2016-02-11 Thread Shuah Khan
Add non-locking __media_entity_pipeline_start/stop() interfaces to be called from code paths that hold the graph_mutex. Signed-off-by: Shuah Khan --- drivers/media/media-entity.c | 34 -- include/media/media-entity.h | 19 +++ 2 files changed, 43 i

[PATCH v3 09/22] media: v4l-core add enable/disable source common interfaces

2016-02-11 Thread Shuah Khan
Add a new interfaces to be used by v4l-core to invoke enable source and disable_source handlers in the media_device. The enable_source helper function invokes the enable_source handler to find media source entity connected to the entity and check is it is available or busy. If source is available,

Re: [PATCH] perf python scripting: Append examples to err msg about audit-libs-python

2016-02-11 Thread Taeung Song
Hi, Arnaldo On 02/12/2016 07:20 AM, Arnaldo Carvalho de Melo wrote: Em Tue, Feb 09, 2016 at 08:53:10PM +0900, Taeung Song escreveu: To print the syscall name, the audit-libs-python package should be required. If not installed, print the erron string e.g. After fixing spelling mistakes, applie

Re: [PATCH 8/8] netfilter: implement xt_cgroup cgroup2 path match

2016-02-11 Thread Alban Crequy
Hi, On 7 December 2015 at 23:38, Tejun Heo wrote: > This patch implements xt_cgroup path match which matches cgroup2 > membership of the associated socket. The match is recursive and > invertible. Is there any plans to implement a similar cgroup2 path match in a cgroup classifier in tc? I wonde

Re: [PATCH v2 1/4] regulator: lp872x: Remove warning about invalid DVS GPIO

2016-02-11 Thread Kim, Milo
On 2/6/2016 3:42 AM, Paul Kocialkowski wrote: Some devices don't hook the DVS pin to a GPIO but to ground or VCC. In those cases, it is not a problem to have no DVS GPIO provided, as the current code will already switch to software-only DVS selection: When the DVS GPIO is invalid, lp872x_init_dv

Re: [PATCH v2 2/4] regulator: lp872x: Add enable GPIO pin support

2016-02-11 Thread Kim, Milo
Hi Paul, Thanks for the patch. Please see my comments below. On 2/6/2016 3:42 AM, Paul Kocialkowski wrote: LP872x regulators are made active via the EN pin, which might be hooked to a GPIO. This adds support for driving the GPIO high when the driver is in use. Signed-off-by: Paul Kocialkowski

Re: [PATCH v4] regulator: qcom-saw: Add support for SAW regulators

2016-02-11 Thread Stephen Boyd
On 02/11, Georgi Djakov wrote: > On 02/11/2016 12:46 AM, Stephen Boyd wrote: > > On 02/10, Mark Brown wrote: > >> On Wed, Feb 10, 2016 at 11:04:36AM -0800, Stephen Boyd wrote: > >> > [..] > >>> I'm not really excited about the binding we have here either. > >>> We're going to have two places in DT

[PATCH] dtb: amd: Fix-up for ccn504 and kcs nodes

2016-02-11 Thread Suravee Suthikulpanit
From: Suravee Suthikulpanit This is a fix-up patch based on the review comment from Arnd regarding: * fix ccn504 address in the node name * remove kcs interrupt-name Signed-off-by: Brijesh Singh Signed-off-by: Suravee Suthikulpanit Cc: Arnd Bergmann --- Hi Olof, Here are the changes

Re: [PATCH 2/2] kernel: sched: fix preempt_disable_ip recodring for preempt_disable()

2016-02-11 Thread kbuild test robot
Hi Sebastian, [auto build test ERROR on tip/sched/core] [also build test ERROR on v4.5-rc3 next-20160211] [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/Sebastian-Andrzej-Siewior/ftrace-move

Re: [PATCH v2 2/6] clk: qcom: gdsc: Add support for gdscs with gds hw controller

2016-02-11 Thread Stephen Boyd
On 12/01, Rajendra Nayak wrote: > Some gdsc power domains can have a gds_hw_controller block inside > to help ensure all slave devices within the power domain are idle > before the gdsc is actually switched off. > This is mainly useful in power domains which host a MMU, in which > case its necessar

Re: [PATCH v2 3/6] clk: qcom: gdsc: Add support for votable gdscs

2016-02-11 Thread Stephen Boyd
On 12/01, Rajendra Nayak wrote: > Some gdscs might be controlled via voting registers and might not > really disable when the kernel intends to disable them (due to other > votes keeping them enabled) > Mark these gdscs with a flag for we do not check/wait on a disable > status for these gdscs with

Re: [PATCH v2 1/6] clk: qcom: gdsc: Add support for hierarchical power domains

2016-02-11 Thread Stephen Boyd
On 12/01, Rajendra Nayak wrote: > Some qcom SoCs' can have hierarchical power domains. Let the gdsc structs > specify the parents (if any) and the driver add genpd subdomains for them. > > Signed-off-by: Rajendra Nayak > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member o

Re: [PATCH v2 2/2] drm/fsl-dcu: use flat regmap cache

2016-02-11 Thread Stefan Agner
On 2016-02-02 17:06, Stefan Agner wrote: > Using flat regmap cache instead of RB-tree to avoid the following > lockdep warning on driver load: > [0.697285] WARNING: CPU: 0 PID: 1 at kernel/locking/lockdep.c:2755 > lockdep_trace_alloc+0x15c/0x160() > [0.697449] DEBUG_LOCKS_WARN_ON(irqs_disab

Re: [PATCH v2 4/6] clk: qcom: gdsc: Add GDSCs in msm8996 GCC

2016-02-11 Thread Stephen Boyd
On 12/01, Rajendra Nayak wrote: > Add all data for the GDSCs which are part of msm8996 GCC block > > Signed-off-by: Rajendra Nayak > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project

Re: [PATCH v2 6/6] clk: qcom: mmcc8974: Use gdscs .parent and remove genpd calls

2016-02-11 Thread Stephen Boyd
On 12/01, Rajendra Nayak wrote: > With gdsc driver capable of handling hierarchical power domains, > specify oxili_gdsc as parent of oxilicx_gdsc. > > Remove all direct calls to genpd from the mmcc clock driver. The > adding and removing of subdomains is now handled from within > the gdsc driver.

Re: [PATCH v2 5/6] clk: qcom: gdsc: Add mmcc gdscs for msm8996 family

2016-02-11 Thread Stephen Boyd
On 12/01, Rajendra Nayak wrote: > Add all gdsc data which are part of mmcc on msm8996 family > > Signed-off-by: Rajendra Nayak > --- Applied to clk-next, but I dropped dtsi changes and squashed in this patch ---8<--- diff --git a/drivers/clk/qcom/mmcc-msm8996.c b/drivers/clk/qcom/mmcc-msm8996.c

Re: [PATCH v2 4/6] clk: qcom: gdsc: Add GDSCs in msm8996 GCC

2016-02-11 Thread Stephen Boyd
On 12/01, Rajendra Nayak wrote: > Add all data for the GDSCs which are part of msm8996 GCC block > > Signed-off-by: Rajendra Nayak > --- Forgot to mention that I left out the dtsi change here too. -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collabor

Re: [PATCH RFC 09/22] block, cfq: replace CFQ with the BFQ-v0 I/O scheduler

2016-02-11 Thread Mark Brown
On Thu, Feb 11, 2016 at 05:22:10PM -0500, Tejun Heo wrote: > > +/** > > + * struct bfq_data - per device data structure. > > + * @queue: request queue for the managed device. > > + * @sched_data: root @bfq_sched_data for the device. > > + * @busy_queues: number of bfq_queues containing requests (i

Re: [PATCH v6 0/2] Add initial support for RPM clocks

2016-02-11 Thread Stephen Boyd
On 12/15, Georgi Djakov wrote: > > .../devicetree/bindings/clock/qcom,rpmcc.txt | 37 ++ > drivers/clk/qcom/Kconfig | 29 ++ > drivers/clk/qcom/Makefile |2 + > drivers/clk/qcom/clk-rpm.c | 290 +

Re: [PATCH v6 2/2] clk: qcom: Add support for RPM Clocks

2016-02-11 Thread Stephen Boyd
On 12/15, Georgi Djakov wrote: > diff --git a/drivers/clk/qcom/clk-rpm.c b/drivers/clk/qcom/clk-rpm.c > new file mode 100644 > index ..7b0e85eefe70 > --- /dev/null > +++ b/drivers/clk/qcom/clk-rpm.c > @@ -0,0 +1,290 @@ > + > +static int clk_rpm_prepare(struct clk_hw *hw) > +{ > + st

RE: VMware PCI passthrough regression

2016-02-11 Thread Jason Taylor
> Actually that is a 4.2 kernel according to the dmesg in the bug tracker. It's both. I had reproduced on 4.4. > The oops is a genuine driver bug probably unearthed by the irq issue. That > should be reported seperately to the megasas folks. Thanks, I sent an email to their list. > - whether t

Re: [PATCH 2/2] kernel: sched: fix preempt_disable_ip recodring for preempt_disable()

2016-02-11 Thread Steven Rostedt
On Fri, 12 Feb 2016 08:27:01 +0800 kbuild test robot wrote: > Hi Sebastian, > > [auto build test ERROR on tip/sched/core] > [also build test ERROR on v4.5-rc3 next-20160211] > [if your patch is applied to the wrong git tree, please drop us a note to > help improving the syst

Re: [PATCH v3 4/4] selftests/x86: Add tests for UC_SIGCONTEXT_SS and UC_STRICT_RESTORE_SS

2016-02-11 Thread Andy Lutomirski
On Thu, Feb 11, 2016 at 11:53 AM, Borislav Petkov wrote: > On Mon, Jan 25, 2016 at 01:34:15PM -0800, Andy Lutomirski wrote: >> This tests the two ABI-preserving cases that DOSEMU cares about, and >> it also explicitly tests the new UC_SIGCONTEXT_SS and >> UC_STRICT_RESTORE_SS flags. >> >> Signed-o

Re: [PATCH] scripts/dtc: dtx_diff - add info to error message

2016-02-11 Thread Frank Rowand
On 2/2/2016 11:02 AM, Frank Rowand wrote: > From: Frank Rowand > > If kernel config options are not properly set, "make scripts" will not > compile dtc. Update the unable to find dtc error message to check > the kernel config and give better advice on how to create dtc. > > Reword another error

Re: [PATCH] component: remove device from master match list on failed add

2016-02-11 Thread Akshay Bhat
Daniel Stone collabora.com> writes: > > Fixes: ffc30b74fd6d01588bd3fdebc3b1acc0857e6fc8 > Signed-off-by: Daniel Stone collabora.com> Tested-by: Akshay Bhat Tested on imx6 processor based board where re-probe was broken after a probe deferral.

Re: [PATCH v3 3/4] x86/signal/64: Re-add support for SS in the 64-bit signal context

2016-02-11 Thread Andy Lutomirski
On Thu, Feb 11, 2016 at 11:49 AM, Borislav Petkov wrote: > On Mon, Jan 25, 2016 at 01:34:14PM -0800, Andy Lutomirski wrote: > >> + * with a flat 32-bit selector. How about: Sigreturn restores SS as follows: if (saved SS is valid || UC_STRICT_RESTORE_SS is set || saved CS is not 64-bit) new SS

RE: [PATCH v6 0/3] cpufreq: Replace timers with utilization update callbacks

2016-02-11 Thread Doug Smythies
On 2016.02.11 15:28 Rafael J. Wysocki wrote: > On 2106.02.11 14:50 Doug Smythies wrote: >> What I do have from my 2 hour idle tests is the of total number of passes >> through >> the intel_pstate driver: >> >> Control sample: Kernel 4.3-rc3: 37949 passes. >> Kernel 4.3-rc3 + rjw 3 patch set v5: 1

Re: WARNING: CPU: 0 PID: 3031 at ./arch/x86/include/asm/fpu/internal.h:530 fpu__restore+0x90/0x130()

2016-02-11 Thread Andy Lutomirski
On Thu, Feb 11, 2016 at 3:47 PM, Andy Lutomirski wrote: > On Thu, Feb 11, 2016 at 11:27 AM, Borislav Petkov wrote: >> Hey Andy, >> >> can you make any sense of this: >> >> [ 90.573923] [ cut here ] >> [ 90.574977] WARNING: CPU: 0 PID: 3031 at >> ./arch/x86/include/asm

Re: [PATCH v6 0/3] cpufreq: Replace timers with utilization update callbacks

2016-02-11 Thread Rafael J. Wysocki
On Fri, Feb 12, 2016 at 2:02 AM, Doug Smythies wrote: > On 2016.02.11 15:28 Rafael J. Wysocki wrote: >> On 2106.02.11 14:50 Doug Smythies wrote: > >>> What I do have from my 2 hour idle tests is the of total number of passes >>> through >>> the intel_pstate driver: >>> >>> Control sample: Kernel

Re: [PATCH] scripts/dtc: dtx_diff - add info to error message

2016-02-11 Thread Rob Herring
On Thu, Feb 11, 2016 at 6:50 PM, Frank Rowand wrote: > On 2/2/2016 11:02 AM, Frank Rowand wrote: >> From: Frank Rowand >> >> If kernel config options are not properly set, "make scripts" will not >> compile dtc. Update the unable to find dtc error message to check >> the kernel config and give b

[PATCH v8 07/10] mfd: axp20x: Add support for RSB based AXP223 PMIC

2016-02-11 Thread Chen-Yu Tsai
The AXP223 is a new PMIC commonly paired with Allwinner A23/A33 SoCs. It is functionally identical to AXP221; only the regulator default voltage/status and the external host interface are different. Signed-off-by: Chen-Yu Tsai Acked-by: Lee Jones --- drivers/mfd/Kconfig| 11 +++ dri

[PATCH v8 04/10] mfd: axp20x: Add missing copyright notice

2016-02-11 Thread Chen-Yu Tsai
Supply a backdated copyright notice. Cc: Carlo Caione Signed-off-by: Chen-Yu Tsai Acked-by: Carlo Caione Acked-by: Lee Jones --- drivers/mfd/axp20x.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c index 3e186f2dcac3..cec51e689d1d 100644 --- a

[PATCH v8 10/10] ARM: dts: sun8i: q8-common: Add AXP223 PMIC device and regulator nodes

2016-02-11 Thread Chen-Yu Tsai
A23/A33 Q8 tablets have an X-Powers AXP223 PMIC connected via RSB. Its regulators provide power to various parts of the SoC and the board. Also add lcd regulator supply for simplefb and update the existing vmmc-supply for mmc0. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-q8-common.d

[PATCH v8 05/10] mfd: axp20x: Split the driver into core and i2c bits

2016-02-11 Thread Chen-Yu Tsai
The axp20x driver assumes the device is i2c based. This is not the case with later chips, which use a proprietary 2 wire serial bus by Allwinner called "Reduced Serial Bus". This patch follows the example of mfd/wm831x and splits it into an interface independent core, and an i2c specific glue laye

[PATCH v8 09/10] ARM: dts: sun8i: sinlinx-sina33: Add AXP223 PMIC device and regulator nodes

2016-02-11 Thread Chen-Yu Tsai
This board has a X-Powers AXP223 PMIC connected via RSB. Its regulators provide power to various parts of the SoC and the board. Also update the regulator supply phandles. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts | 76 +- 1 file chan

[PATCH v8 06/10] mfd: axp20x: Whitespace, open parenthesis alignment code style fixes

2016-02-11 Thread Chen-Yu Tsai
This fixes some leftover code style issues in the axp20x core. Signed-off-by: Chen-Yu Tsai Acked-by: Lee Jones --- drivers/mfd/axp20x.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c index 8e569bcfe3bc..3054ea4b95e8 100644

[PATCH v8 02/10] mfd: axp20x: Remove second struct device * parameter for axp20x_match_device()

2016-02-11 Thread Chen-Yu Tsai
The first argument passed to axp20x_match_device(), struct axp20x_dev *, already contains a pointer to the device. By rearranging some code, moving the assignment of the pointer before axp20x_match_device() is called, we can eliminate the second parameter. Suggested-by: Andy Shevchenko Signed-off

Re: [linux-sunxi] Re: [PATCH v7 04/10] mfd: axp20x: Add missing copyright notice

2016-02-11 Thread Chen-Yu Tsai
On Thu, Feb 11, 2016 at 11:24 PM, Lee Jones wrote: > On Mon, 25 Jan 2016, Lee Jones wrote: > >> On Wed, 13 Jan 2016, Chen-Yu Tsai wrote: >> >> > When the driver was merged, the original author did not include a proper >> > copyright notice. This patch adds the notice, backdated to when the >> > dr

[PATCH v8 08/10] regulator: axp20x: Support new AXP223 PMIC

2016-02-11 Thread Chen-Yu Tsai
The AXP223 is a new PMIC commonly paired with Allwinner A23/A33 SoCs. It is functionally identical to AXP221; only the regulator default voltage/status and the external host interface are different. Signed-off-by: Chen-Yu Tsai Reviewed-by: Mark Brown --- drivers/regulator/axp20x-regulator.c | 3

[PATCH v8 00/10] mfd: axp20x: Add support for RSB based AXP223

2016-02-11 Thread Chen-Yu Tsai
Hi everyone, This is v8 of the AXP223 PMIC series. All the driver bits are acked. Lee, please merge the first 8 patches. Once they're in, Maxime can take the DTS patches. Changes since v7: - Shortened commit message of "mfd: axp20x: Add missing copyright notice" Changes since v6: - Add cop

<    3   4   5   6   7   8   9   >