[PATCH 18/24] bpf tools: Introduce accessors for struct bpf_program

2015-08-07 Thread Arnaldo Carvalho de Melo
From: Wang Nan This patch introduces accessors for user of libbpf to retrieve section name and fd of a opened/loaded eBPF program. 'struct bpf_prog_handler' is used for that purpose. Accessors of programs section name and file descriptor are provided. Set/get private data are also impelmented.

[PATCH 12/24] bpf tools: Record map accessing instructions for each program

2015-08-07 Thread Arnaldo Carvalho de Melo
From: Wang Nan This patch records the indices of instructions which are needed to be relocated. That information is saved in the 'reloc_desc' field in 'struct bpf_program'. In the loading phase (this patch takes effect in the opening phase), the collected instructions will be replaced by map

[PATCH 07/24] bpf tools: Collect version and license from ELF sections

2015-08-07 Thread Arnaldo Carvalho de Melo
From: Wang Nan Expand bpf_obj_elf_collect() to collect license and kernel version information in eBPF object file. eBPF object file should have a section named 'license', which contains a string. It should also have a section named 'version', contains a u32 LINUX_VERSION_CODE.

[PATCH 17/24] bpf tools: Load eBPF programs in object files into kernel

2015-08-07 Thread Arnaldo Carvalho de Melo
From: Wang Nan This patch utilizes previous introduced bpf_load_program to load programs in the ELF file into kernel. Result is stored in 'fd' field in 'struct bpf_program'. During loading, it allocs a log buffer and free it before return. Note that that buffer is not passed to

[PATCH 02/24] bpf tools: Allow caller to set printing function

2015-08-07 Thread Arnaldo Carvalho de Melo
From: Wang Nan By libbpf_set_print(), users of libbpf are allowed to register he/she own debug, info and warning printing functions. Libbpf will use those functions to print messages. If not provided, default info and warning printing functions are fprintf(stderr, ...); default debug printing is

[PATCH 21/24] perf tools: Call clang to compile C source to object code

2015-08-07 Thread Arnaldo Carvalho de Melo
From: Wang Nan This is the core patch for supporting eBPF on-the-fly compiling, does the following work: 1. Search clang compiler using search_program(). 2. Run command template defined in llvm-bpf-cmd-template option in [llvm] config section using read_from_pipe(). Patch of clang and

[PATCH 24/24] perf tests: Add LLVM test for eBPF on-the-fly compiling

2015-08-07 Thread Arnaldo Carvalho de Melo
From: Wang Nan Previous patches introduce llvm__compile_bpf() to compile source file to eBPF object. This patch adds testcase to test it. It also tests libbpf by opening generated object after applying next patch which introduces HAVE_LIBBPF_SUPPORT option. Since llvm__compile_bpf() prints long

[PATCH 04/24] bpf tools: Read eBPF object from buffer

2015-08-07 Thread Arnaldo Carvalho de Melo
From: Wang Nan To support dynamic compiling, this patch allows caller to pass a in-memory buffer to libbpf by bpf_object__open_buffer(). libbpf calls elf_memory() to open it as ELF object file. Because __bpf_object__open() collects all required data and won't need that buffer anymore, libbpf

[PATCH 03/24] bpf tools: Open eBPF object file and do basic validation

2015-08-07 Thread Arnaldo Carvalho de Melo
From: Wang Nan This patch defines basic interface of libbpf. 'struct bpf_object' will be the handler of each object file. Its internal structure is hide to user. eBPF object files are compiled by LLVM as ELF format. In this patch, libelf is used to open those files, read EHDR and do basic

Re: [PATCH] zram: fix possible race when checking idle_strm

2015-08-07 Thread Minchan Kim
Hi Joonsoo, On Fri, Aug 07, 2015 at 05:03:29PM +0900, Joonsoo Kim wrote: > Currently, when we enter the wait state due to lack of idle stream, > we check idle_strm list without holding the lock in expanding of > wait_event define. In this case, some one can see stale value and > process could

Re: page-flags behavior on compound pages: a worry

2015-08-07 Thread Kirill A. Shutemov
On Thu, Aug 06, 2015 at 12:24:22PM -0700, Hugh Dickins wrote: > > I'm trying to wrap my head around this mail and not sure if I succeed > > much. :-| > > Sorry for not being clearer. Not your fault. The problem you've pointed to is on edge of my understanding of concurrency. > On Thu, 6 Aug

Re: [PATCH 5/9] x86/intel_rdt: Add new cgroup and Class of service management

2015-08-07 Thread Tejun Heo
Hello, On Thu, Aug 06, 2015 at 01:58:39PM -0700, Vikas Shivappa wrote: > >I'm having hard time believing that. There definitely are use cases > >where cachelines are trashed among service threads. Are you > >proclaiming that those cases aren't gonna be supported? > > Please refer to the noisy

Re: [PATCH v2] staging: ion: Add a default struct device for cma heap

2015-08-07 Thread Michal Nazarewicz
On Fri, Aug 07 2015, Feng Tang wrote: > As I described above, the dummy struct device is only needed for > dma request, its lifetime is align with the cma_heap itself. Again, this is from perspective of someone who is unfamiliar with ION, but perhaps a viable solution is to bypass DMA API and

Last Info

2015-08-07 Thread Lennie Buchholz
We are now providing business & personal loans: at 2.09% with flexible repayment period. For more info and application, kindly contact me back via this email: mkaren...@gmail.com To un-subscribe please reply with "un-subscribe" as subject. -- To unsubscribe from this list: send the line

[GIT PULL] hwmon fixes for v4.2-rc6

2015-08-07 Thread Guenter Roeck
Hi Linus, Please pull hwmon fixes for Linux v4.2-rc6 from signed tag: git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-for-linus-v4.2-rc6 Thanks, Guenter -- The following changes since commit 74d33293e467df61de1b1d8b2fbe29e550dec33b: Linux 4.2-rc5

Re: [PATCH] dma: omap-dma: add support for pause of non-cyclic transfers

2015-08-07 Thread Peter Hurley
On 08/07/2015 09:25 AM, Russell King - ARM Linux wrote: > On Fri, Aug 07, 2015 at 03:22:56PM +0200, Sebastian Andrzej Siewior wrote: >> For TX-transfers, I would need to update the start-address so the >> transfers begins where it stopped. However based on your concern I >> can't really assume

Re: [PATCH 00/11] omap_hsmmc: voltage switching and tuning

2015-08-07 Thread Kishon Vijay Abraham I
Hi, On Thursday 06 August 2015 12:18 PM, Tony Lindgren wrote: > * Kishon Vijay Abraham I [150805 08:03]: >> Hi, >> >> On Wednesday 05 August 2015 04:13 PM, Tony Lindgren wrote: >>> * Kishon Vijay Abraham I [150730 00:49]: Patch series implements voltage switching and tuning for omap_hsmmc

Re: [PATCH v3 3/5] pci: altera: Add Altera PCIe MSI driver

2015-08-07 Thread Marc Zyngier
On 07/08/15 08:43, Ley Foon Tan wrote: > This patch adds Altera PCIe MSI driver. This soft IP supports configurable > number of vectors, which is a dts parameter. > > Signed-off-by: Ley Foon Tan > --- > drivers/pci/host/Kconfig | 8 + > drivers/pci/host/Makefile | 1 + >

Re: [PATCH] coredump: Replace opencoded set_mask_bits()

2015-08-07 Thread Vineet Gupta
On Friday 07 August 2015 05:27 PM, Oleg Nesterov wrote: > On 08/07, Vineet Gupta wrote: >> >> --- a/fs/exec.c >> +++ b/fs/exec.c >> @@ -1690,15 +1690,10 @@ EXPORT_SYMBOL(set_binfmt); >> */ >> void set_dumpable(struct mm_struct *mm, int value) >> { >> -unsigned long old, new; >> - >>

Re: kdbus: to merge or not to merge?

2015-08-07 Thread Daniel Mack
On 08/06/2015 08:43 PM, Andy Lutomirski wrote: > Nonetheless, it looks like the slice logic (aside: it looks *way* more > complicated than necessary -- what's wrong with circular buffers) > will, under most (but not all!) workloads, concentrate access to a > smallish fraction of the pool. This is

[PATCH 2/4] kdbus: inform caller about exact updates on NAME_ACQUIRE

2015-08-07 Thread Daniel Mack
From: David Herrmann This adds two new return flags for KDBUS_CMD_NAME_ACQUIRE: * The KDBUS_NAME_PRIMARY flag is set for a name if, and only if, the connection is currently the primary owner of a name. It is thus the negation of KDBUS_NAME_IN_QUEUE, but is required to distinguish the

[PATCH 3/4] kdbus: never return <0 from ioctls if we changed state

2015-08-07 Thread Daniel Mack
From: David Herrmann If an ioctl() returns <0, user-space should be safe to assume it had no effect on the state of any object. This might not be always possible, but in kdbus we adhered to this rule. But there's one exception, namely KDBUS_CMD_NAME_ACQUIRE. This call used to fail with -EALREADY

Re: [Xen-devel] [PATCH v2] xen-apic: Enable on domU as well

2015-08-07 Thread Jason A. Donenfeld
On Fri, Aug 7, 2015 at 4:23 PM, Konrad Rzeszutek Wilk wrote: > Anyhow, your patch seems to fix a regression my patch > feb44f1f7a4ac299d1ab1c3606860e70b9b89d69 > "x86/xen: Provide a "Xen PV" APIC driver to support >255 VCPUs" > introduced. Ahhh, good, okay. That explains why I didn't encounter

[PATCH 4/4] kdbus: selftests: add more name registry tests

2015-08-07 Thread Daniel Mack
Add some more code for testing the name registry state. This can now be used to track the state of queued names and per-name queing settings. Also add new tests to check the newly added KDBUS_NAME_PRIMARY and KDBUS_NAME_ACQUIRED flags and name takeovers. Signed-off-by: Daniel Mack ---

Re: [V3 PATCH 0/4] Fix race issues among panic, NMI and crash_kexec

2015-08-07 Thread Michal Hocko
JFYI I have those patches tested on the largish box. Will come back to you as soon as I have some feedback. I will also try to review these patches sometimes next week. Thanks! On Thu 06-08-15 14:45:43, Hidehiro Kawai wrote: > When an HA cluster software or administrator detects non-response >

[PATCH 1/4] kdbus: restructure name-registry to follow dbus-spec

2015-08-07 Thread Daniel Mack
From: David Herrmann The DBus Specification [1] is pretty clear about how name-acquisition, queueing and releasing must work. Most of it's peculiarities nobody relies on, but we better comply to them to at least allow proper backwards compatibility via bus-proxy. In particular, this means we

[PATCH 0/4] kdbus: name registry cleanup patches

2015-08-07 Thread Daniel Mack
Hi Greg, Here are some patches for kdbus-next David and I prepared: * The first one cleans up the name registry code and brings the name queuing logic in sync with what the DBus spec requires. We were off in some small details concerning flags updates of already queued names. * The second

[PATCH v7 1/5] lightnvm: Support for Open-Channel SSDs

2015-08-07 Thread Matias Bjørling
Open-channel SSDs are devices that share responsibilities with the host in order to implement and maintain features that typical SSDs keep strictly in firmware. These include (i) the Flash Translation Layer (FTL), (ii) bad block management, and (iii) hardware units such as the flash controller,

Re: [PATCH v3 2/5] pci:host: Add Altera PCIe host controller driver

2015-08-07 Thread Marc Zyngier
On 07/08/15 08:42, Ley Foon Tan wrote: > This patch adds the Altera PCIe host controller driver. > > Signed-off-by: Ley Foon Tan > --- > drivers/pci/host/Kconfig | 7 + > drivers/pci/host/Makefile | 1 + > drivers/pci/host/pcie-altera.c | 532 >

[spi:topic/mtk 2/2] drivers/spi/spi-mt65xx.c:362:24: sparse: incorrect type in argument 1 (different base types)

2015-08-07 Thread kbuild test robot
tree: git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi topic/mtk head: a568231f463225eb31593f71446a267a03ae0528 commit: a568231f463225eb31593f71446a267a03ae0528 [2/2] spi: mediatek: Add spi bus for Mediatek MT8173 reproduce: # apt-get install sparse git checkout

[PATCH v7 4/5] null_nvm: Lightnvm test driver

2015-08-07 Thread Matias Bjørling
This driver implements the I/O flow for a LightNVM device driver. It does no transfers. It can be used to test setup/teardown of devices and evaluating performance of block managers and targets. The framework of the driver is derived from the null_blk module. Signed-off-by: Matias Bjørling ---

[PATCH 1/1] mm: compaction: include compact_nodes in compaction.h

2015-08-07 Thread Pintu Kumar
This patch declares compact_nodes prototype in compaction.h header file. This will allow us to call compaction from other places. For example, during system suspend, suppose we want to check the fragmentation state of the system. Then based on certain threshold, we can invoke compaction, when

[PATCH v7 3/5] lightnvm: Hybrid Open-Channel SSD block manager

2015-08-07 Thread Matias Bjørling
The host implementation for Open-Channel SSDs is divided into block management and targets. This patch implements the block manager for hybrid open-channel SSDs. On top a target, such as rrpc is initialized. Signed-off-by: Matias Bjørling --- drivers/lightnvm/Kconfig | 7 +

Re: [PATCH 1/7] fs: Add user namesapace member to struct super_block

2015-08-07 Thread Seth Forshee
On Thu, Aug 06, 2015 at 09:20:29AM -0500, Seth Forshee wrote: > On Wed, Aug 05, 2015 at 04:19:03PM -0500, Eric W. Biederman wrote: > > Seth Forshee writes: > > > > > On Wed, Jul 15, 2015 at 09:47:11PM -0500, Eric W. Biederman wrote: > > >> Seth Forshee writes: > > >> > > >> > Initially this

[PATCH v7 5/5] nvme: LightNVM support

2015-08-07 Thread Matias Bjørling
The first generation of Open-Channel SSDs will be based on NVMe. The integration requires that a NVMe device exposes itself as a LightNVM device. The way this is done currently is by hooking into the Controller Capabilities (CAP register) and a bit in NSFEAT for each namespace. After detection,

[PATCH spi] spi: mediatek: mtk_spi_driver can be static

2015-08-07 Thread kbuild test robot
Signed-off-by: Fengguang Wu --- spi-mt65xx.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spi-mt65xx.c b/drivers/spi/spi-mt65xx.c index 4676b01..e62d304 100644 --- a/drivers/spi/spi-mt65xx.c +++ b/drivers/spi/spi-mt65xx.c @@ -731,7 +731,7 @@ static const

Re: [PATCH V9 3/3] audit: add audit by children of executable path

2015-08-07 Thread Paul Moore
On Friday, August 07, 2015 02:37:15 AM Richard Guy Briggs wrote: > On 15/08/06, Paul Moore wrote: > > > I guess what I'm saying is that I'm not currently convinced that > > there is enough value in this to offset the risk I feel the loop > > presents. I understand the use cases that you are

[PATCH v7 0/5] Support for Open-Channel SSDs

2015-08-07 Thread Matias Bjørling
These patches implement support for Open-Channel SSDs. Applies against axboe's linux-block/for-4.3/drivers and can be found in the lkml_v7 branch at https://github.com/OpenChannelSSD/linux Any feedback is greatly appreciated. Changes since v6: - Multipage support (Javier Gonzalez) - General

[PATCH v7 2/5] lightnvm: Hybrid Open-Channel SSD RRPC target

2015-08-07 Thread Matias Bjørling
This target implements a simple strategy FTL for Open-Channel SSDs. It does round-robin selection across channels and luns. It uses a simple greedy cost-based garbage collector and exposes the physical flash as a block device. Signed-off-by: Javier González Signed-off-by: Matias Bjørling ---

Re: [PATCH 1/1] mm: vmstat: introducing vm counter for slowpath

2015-08-07 Thread Michal Hocko
On Fri 07-08-15 18:16:47, PINTU KUMAR wrote: [...] > > On Fri 07-08-15 12:38:54, Pintu Kumar wrote: > > > This patch add new counter slowpath_entered in /proc/vmstat to track > > > how many times the system entered into slowpath after first allocation > > > attempt is failed. > > > > This is too

Re: [PATCH 0/4] omap: Fix broken pbias device creation

2015-08-07 Thread Kishon Vijay Abraham I
Hi Peter, On Friday 07 August 2015 05:18 PM, Peter Robinson wrote: > On Wed, Aug 5, 2015 at 11:00 AM, Tony Lindgren wrote: >> * Grygorii Strashko [150729 02:01]: >>> On 07/27/2015 03:16 PM, Kishon Vijay Abraham I wrote: pbias device creation got broken once SCM cleanup got merged.

Re: [PATCH 2/2] usb: musb: gadget: fix build break by adding missing 'break'

2015-08-07 Thread Felipe Balbi
On Fri, Aug 07, 2015 at 02:13:34PM +0200, Robert Baldyga wrote: > Add missing break after 'default' label to fix compilation error. > > Signed-off-by: Robert Baldyga the funny thing is that this doesn't break with ARM build: $ make ARCH=arm drivers/usb/musb/ CHK

Re: [RFC][PATCH 1/4] sched: Fix a race between __kthread_bind() and sched_setaffinity()

2015-08-07 Thread Peter Zijlstra
On Fri, May 15, 2015 at 11:56:53AM -0400, Tejun Heo wrote: > On Fri, May 15, 2015 at 05:43:34PM +0200, Peter Zijlstra wrote: > > Because sched_setscheduler() checks p->flags & PF_NO_SETAFFINITY > > without locks, a caller might observe an old value and race with the > > set_cpus_allowed_ptr() call

Re: [PATCH V9 2/3] audit: implement audit by executable

2015-08-07 Thread Paul Moore
On Friday, August 07, 2015 02:25:14 AM Richard Guy Briggs wrote: > On 15/08/06, Paul Moore wrote: > > > Merged, although some more minor whitespace tweaks were necessary for > > checkpatch. On a related note, if you're not running > > ./scripts/checlpatch.pl on your patches before sending them

Re: [PATCH 2/3] zswap: dynamic pool creation

2015-08-07 Thread Dan Streetman
On Fri, Aug 7, 2015 at 2:30 AM, Sergey Senozhatsky wrote: > Hello, > > On (08/05/15 09:46), Dan Streetman wrote: > [..] >> -enum comp_op { >> - ZSWAP_COMPOP_COMPRESS, >> - ZSWAP_COMPOP_DECOMPRESS >> +struct zswap_pool { >> + struct zpool *zpool; >> + struct kref kref; >> +

Re: [PATCH 1/7] fs: Add user namesapace member to struct super_block

2015-08-07 Thread Seth Forshee
On Thu, Aug 06, 2015 at 12:11:53PM -0400, Stephen Smalley wrote: > On 08/06/2015 11:44 AM, Seth Forshee wrote: > > On Thu, Aug 06, 2015 at 10:51:16AM -0400, Stephen Smalley wrote: > >> On 08/06/2015 10:20 AM, Seth Forshee wrote: > >>> On Wed, Aug 05, 2015 at 04:19:03PM -0500, Eric W. Biederman

Re: [Xen-devel] [PATCH v2] xen-apic: Enable on domU as well

2015-08-07 Thread Konrad Rzeszutek Wilk
On Thu, Aug 06, 2015 at 06:37:05PM +0200, Jason A. Donenfeld wrote: > It turns out that domU also requires the Xen APIC driver. Otherwise we > get stuck in busy loops that never exit, such as in this stack trace: > > (gdb) target remote localhost: > Remote debugging using localhost: >

Re: [PATCH V4 (was V6)] audit: use macros for unset inode and device values

2015-08-07 Thread Paul Moore
On Thursday, August 06, 2015 02:31:57 PM Casey Schaufler wrote: > I remember the Orange Book days when we were *required* to audit by > dev/inode because it was the only true way to identify the object. Yes, > it's analogous to auditing the pid, but we had to audit by that, too. The > dev/indode

Re: [PATCH 1/2] drm: bridge/dw_hdmi: Cache edid data

2015-08-07 Thread Lucas Stach
Am Freitag, den 07.08.2015, 15:13 +0100 schrieb Russell King - ARM Linux: > On Fri, Aug 07, 2015 at 03:59:20PM +0200, Sascha Hauer wrote: > > Instead of rereading the edid data each time userspace asks for them > > read them once and cache them in the previously unused edid field in > > struct

Re: [PATCH 1/1] mm: compaction: include compact_nodes in compaction.h

2015-08-07 Thread Vlastimil Babka
On 08/07/2015 04:03 PM, Pintu Kumar wrote: This patch declares compact_nodes prototype in compaction.h header file. This will allow us to call compaction from other places. For example, during system suspend, suppose we want to check the fragmentation state of the system. Then based on certain

Re: [PATCH 1/2] drm: bridge/dw_hdmi: Cache edid data

2015-08-07 Thread Russell King - ARM Linux
On Fri, Aug 07, 2015 at 03:59:20PM +0200, Sascha Hauer wrote: > Instead of rereading the edid data each time userspace asks for them > read them once and cache them in the previously unused edid field in > struct dw_hdmi. This makes the code a little bit more efficient. How has this been tested?

Re: [RFC PATCH] regulator: Fix recursive mutex lockdep warning

2015-08-07 Thread Mark Brown
On Thu, Aug 06, 2015 at 12:49:22PM +0100, Srinivas Kandagatla wrote: > On 06/08/15 12:40, Mark Brown wrote: > >>lock_class per regulator makes more sense, I will try to cookup an RFC > >>patch. > >There's an issue there with all lock classes needing to be statically > >allocated which makes

Re: [PATCH] clk: s5pv210: add missing call to samsung_clk_of_add_provider()

2015-08-07 Thread Marek Szyprowski
Hello, On 2014-09-19 11:00, Marek Szyprowski wrote: Commit d5e136a21b2028fb1f45143ea7112d5869bfc6c7 ("clk: samsung: Register clk provider only after registering its all clocks", merged to v3.17-rc1) modified a way that driver registers registers to core framework. This change has not been

Re: [PATCH 2/6] x86: clean up conditional pmem includes

2015-08-07 Thread Ross Zwisler
On Thu, 2015-08-06 at 23:39 -0700, Christoph Hellwig wrote: > On Thu, Aug 06, 2015 at 11:43:16AM -0600, Ross Zwisler wrote: > > Prior to this change x86_64 used the pmem defines in > > arch/x86/include/asm/cacheflush.h, and UM used the default ones at the > > top of include/linux/pmem.h. The

Re: [PATCH 1/6] pmem: remove indirection layer arch_has_pmem_api()

2015-08-07 Thread Ross Zwisler
On Thu, 2015-08-06 at 23:38 -0700, Christoph Hellwig wrote: > On Thu, Aug 06, 2015 at 11:43:15AM -0600, Ross Zwisler wrote: > > Prior to this change arch_has_wmb_pmem() was only called by > > arch_has_pmem_api(). Both arch_has_wmb_pmem() and arch_has_pmem_api() > > checked to make sure that

[PATCH] mei, make modules.alias UUID information easier to read

2015-08-07 Thread Prarit Bhargava
scripts/mod/file2alias.c:add_uuid() munges a UUID into a single string which does not conform to the standard little endian UUID. This patch changes add_uuid() to use the UUID correctly so that future drivers which use UUID matches can simply use the %pUL format, and modifies the mei driver with

Applied "thermal: sti: Add parentheses around bridge->ops->regmap_init call" to the regmap tree

2015-08-07 Thread Mark Brown
The patch thermal: sti: Add parentheses around bridge->ops->regmap_init call has been applied to the regmap tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the

[PATCH RT 6/6] Linux 3.12.44-rt62-rc1

2015-08-07 Thread Steven Rostedt
3.12.44-rt62-rc1 stable review patch. If anyone has any objections, please let me know. -- From: "Steven Rostedt (Red Hat)" --- localversion-rt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localversion-rt b/localversion-rt index

[PATCH RT 2/6] mm/slub: move slab initialization into irq enabled region

2015-08-07 Thread Steven Rostedt
3.12.44-rt62-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner Initializing a new slab can introduce rather large latencies because most of the initialization runs always with interrupts disabled. There is no point in doing so.

[PATCH RT 5/6] powerpc/kvm: Disable in-kernel MPIC emulation for PREEMPT_RT_FULL

2015-08-07 Thread Steven Rostedt
3.12.44-rt62-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Bogdan Purcareata While converting the openpic emulation code to use a raw_spinlock_t enables guests to run on RT, there's still a performance issue. For interrupts sent in directed

Applied "regmap: Use different lockdep class for each regmap init call" to the regmap tree

2015-08-07 Thread Mark Brown
The patch regmap: Use different lockdep class for each regmap init call has been applied to the regmap tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

[PATCH RT 4/6] xfs: Disable percpu SB on PREEMPT_RT_FULL

2015-08-07 Thread Steven Rostedt
3.12.44-rt62-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Steven Rostedt Running a test on a large CPU count box with xfs, I hit a live lock with the following backtraces on several CPUs: Call Trace: [] __const_udelay+0x28/0x30 []

[PATCH RT 0/6] Linux 3.12.44-rt62-rc1

2015-08-07 Thread Steven Rostedt
Dear RT Folks, This is the RT stable review cycle of patch 3.12.44-rt62-rc1. Please scream at me if I messed something up. Please test the patches too. The -rc release will be uploaded to kernel.org and will be deleted when the final release is out. This is just a review release (or release

Applied "Input: Remove the max77843 haptic driver" to the regulator tree

2015-08-07 Thread Mark Brown
The patch Input: Remove the max77843 haptic driver has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent

Applied "Input: max77693: Prepare for adding support for Maxim 77843" to the regulator tree

2015-08-07 Thread Mark Brown
The patch Input: max77693: Prepare for adding support for Maxim 77843 has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next

Applied "Input: max77693: Add support for Maxim 77843" to the regulator tree

2015-08-07 Thread Mark Brown
The patch Input: max77693: Add support for Maxim 77843 has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and

Re: [PATCH 2/2] net, thunder, bgx: Add support for ACPI binding.

2015-08-07 Thread Mark Rutland
On Fri, Aug 07, 2015 at 01:33:10AM +0100, David Daney wrote: > From: David Daney > > Find out which PHYs belong to which BGX instance in the ACPI way. > > Set the MAC address of the device as provided by ACPI tables. This is > similar to the implementation for devicetree in >

[PATCH RT 3/6] x86-Tell-irq-work-about-self-IPI-support-3.14

2015-08-07 Thread Steven Rostedt
3.12.44-rt62-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Frederic Weisbecker commit 3010279f0fc36f0388872203e63ca49912f648fd Author: Frederic Weisbecker Date: Sat Aug 16 18:47:15 2014 +0200 x86: Tell irq work about self IPI support

Applied "Input: max77693: Remove a read-only pwm_divisor field" to the regulator tree

2015-08-07 Thread Mark Brown
The patch Input: max77693: Remove a read-only pwm_divisor field has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

[PATCH RT 1/6] Revert "slub: delay ctor until the object is requested"

2015-08-07 Thread Steven Rostedt
3.12.44-rt62-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior This approach is broken with SLAB_DESTROY_BY_RCU allocations. Reported by Steven Rostedt and Koehrer Mathias. Cc: stable...@vger.kernel.org Signed-off-by:

Applied "mfd: vexpress: Add parentheses around bridge->ops->regmap_init call" to the regmap tree

2015-08-07 Thread Mark Brown
The patch mfd: vexpress: Add parentheses around bridge->ops->regmap_init call has been applied to the regmap tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the

[PATCH 2/2] drm: bridge/dw_hdmi: remove unused code

2015-08-07 Thread Sascha Hauer
The cable_plugin field in struct dw_hdmi is never set. Remove it and with it all code that is only executed when the variable is true. Signed-off-by: Sascha Hauer --- drivers/gpu/drm/bridge/dw_hdmi.c | 17 - 1 file changed, 17 deletions(-) diff --git

drm: bridge/dw_hdmi patches

2015-08-07 Thread Sascha Hauer
Two small updates for the dw_hdmi driver. We should cache EDID data to make handling it a bit more efficient. Also remove some unused code. Sascha Hauer (2): drm: bridge/dw_hdmi: Cache edid data drm: bridge/dw_hdmi:

[PATCH 1/2] drm: bridge/dw_hdmi: Cache edid data

2015-08-07 Thread Sascha Hauer
Instead of rereading the edid data each time userspace asks for them read them once and cache them in the previously unused edid field in struct dw_hdmi. This makes the code a little bit more efficient. Signed-off-by: Sascha Hauer --- drivers/gpu/drm/bridge/dw_hdmi.c | 41

Re: [PATCH] kvm:powerpc:Fix error handling in the function mpic_set_default_irq_routing

2015-08-07 Thread Paolo Bonzini
On 07/08/2015 15:47, Nicholas Krause wrote: > - kvm_set_irq_routing(opp->kvm, routing, 0, 0); > + ret = kvm_set_irq_routing(opp->kvm, routing, 0, 0); > + if (ret) { > + kfree(routing); > + return ret; > + } > > kfree(routing); > return 0;

Re: [PATCH v3 06/18] regulator: core: Probe regulators on demand

2015-08-07 Thread Rob Herring
On Fri, Aug 7, 2015 at 7:09 AM, Mark Brown wrote: > On Thu, Aug 06, 2015 at 04:11:43PM +0200, Tomeu Vizoso wrote: > >> When looking up a regulator through its OF node, probe it if it hasn't >> already. >> >> The goal is to reduce deferred probes to a minimum, as it makes it very >> cumbersome to

[PATCH 3/3] ARM:Gemini:setup timer3 as free running timer

2015-08-07 Thread Hans Ulli Kroll
In the original driver it is missed to setup a free running driver. This timer is needed for the scheduler. So setup it. Signed-off-by: Hans Ulli Kroll --- arch/arm/mach-gemini/time.c | 21 - 1 file changed, 20 insertions(+), 1 deletion(-) diff --git

[PATCH 1/3] ARM:Gemini:Add missing register definitions for gemini timer

2015-08-07 Thread Hans Ulli Kroll
Add missing register defintions for the gemini clocksource Also do some #define' cleanup to make the code more readable. Signed-off-by: Hans Ulli Kroll --- arch/arm/mach-gemini/include/mach/hardware.h | 3 - arch/arm/mach-gemini/time.c | 85 ++-- 2

ARM:Gemini:clocksource update for 4.3

2015-08-07 Thread Hans Ulli Kroll
Hi all, sorry for being late in this cycle ... I asked Roman to send me his patchset with 2 patched, but he don't respond. So here is my patchset. But I used one more patch to cleanup the register definitions in the driver. These where somewhat annoying, if a "autocomplete" editor is used. The

Re: [PATCH] dma: omap-dma: add support for pause of non-cyclic transfers

2015-08-07 Thread Russell King - ARM Linux
On Fri, Aug 07, 2015 at 03:42:06PM +0200, Sebastian Andrzej Siewior wrote: > On 08/07/2015 03:22 PM, Russell King - ARM Linux wrote: > > On Fri, Aug 07, 2015 at 12:36:14PM +0200, Sebastian Andrzej Siewior wrote: > >> On 08/07/2015 11:44 AM, Peter Ujfalusi wrote: > >>> with a short testing audio

[PATCH 2/3] ARM:Gemini:use timer1 for clockevent

2015-08-07 Thread Hans Ulli Kroll
Use timer1 as clockevent timer. The old driver uses timer2, which has some issues to setup Also in the old driver it is forgotten to enable to interrupts. Signed-off-by: Hans Ulli Kroll --- arch/arm/mach-gemini/time.c | 94 + 1 file changed, 60

[PATCH 2/3] thermal: Add Mediatek thermal controller support

2015-08-07 Thread Sascha Hauer
This adds support for the Mediatek thermal controller found on MT8173 and likely other SoCs. The controller is a bit special. It does not have its own ADC, instead it controls the on-SoC AUXADC via AHB bus accesses. For this reason we need the physical address of the AUXADC. Also it controls a mux

[PATCH 3/3] ARM64: dts: mt8173: Add thermal/auxadc device nodes

2015-08-07 Thread Sascha Hauer
Signed-off-by: Sascha Hauer --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index 27237a1..ddacb86 100644 ---

[PATCH 1/3] dt-bindings: thermal: Add binding document for Mediatek thermal controller

2015-08-07 Thread Sascha Hauer
Signed-off-by: Sascha Hauer --- .../bindings/thermal/mediatek-thermal.txt | 38 ++ include/dt-bindings/thermal/mt8173.h | 13 2 files changed, 51 insertions(+) create mode 100644 Documentation/devicetree/bindings/thermal/mediatek-thermal.txt

[PATCH v4] Add Mediatek thermal support

2015-08-07 Thread Sascha Hauer
This series adds support for the thermal sensors included in the MT8173 SoC. Currently only basic temperature reading is supported without any interrupt support. The cpufreq driver for MT8173 is currently under review, so there's no real cooling device available in mainline. Until this is

Re: [PATCH v3 5/7] iio: Support triggered events

2015-08-07 Thread Lars-Peter Clausen
Hi, On 07/29/2015 02:57 PM, Vladimir Barinov wrote: > Support triggered events. > > This is useful for chips that don't have their own interrupt sources. > It allows to use generic/standalone iio triggers for those drivers. > Thanks for the patch. Can you describe in more detail how

Re: [PATCH RT 0/7] Linux 3.18.18-rt16-rc1

2015-08-07 Thread Steven Rostedt
On Fri, 07 Aug 2015 10:47:03 +0200 "Wolfgang M. Reimer" wrote: > Hi all, > > only after additionally installing my > "3.18.17-rt14 locktorture: Do NOT include rwlock.h" patch > I could build the kernel with CONFIG_PREEMPT_RT_FULL=y. Is this something I need to add to 3.18.18-rt16? -- Steve >

[PATCH 4/4] selftests: vm: Pick up sanitized kernel headers

2015-08-07 Thread Thierry Reding
From: Thierry Reding Add the usr/include subdirectory of the top-level tree to the include path, and make sure to include headers without relative paths to make sure the sanitized headers get picked up. Otherwise the compiler will not be able to find the linux/compiler.h header included by the

[PATCH 3/4] selftests: vm: Use the right arguments for main()

2015-08-07 Thread Thierry Reding
From: Thierry Reding The prototype for the main() function is: int main(int argc, char **argv); but the mlock2-tests test program lists the arguments in the wrong order. It gets away with this because the arguments are never used. Fix it nevertheless to keep recent versions of GCC from

[PATCH 1/4] selftests: vm: Fix mlock2-tests for 32-bit architectures

2015-08-07 Thread Thierry Reding
From: Thierry Reding According to Documentation/vm/pagemap.txt, the /proc/pid/pagemap file contains one 64-bit value for each virtual page. The test code relies on the size of unsigned long being 64-bit, which breaks the test when run on 32-bit architectures. Use a uint64_t to store values read

[PATCH 2/4] selftests: vm: Ensure the mlock2 syscall number can be found

2015-08-07 Thread Thierry Reding
From: Thierry Reding Include the syscall.h header to ensure that the mlock2 syscall number is available. Otherwise the test program will always return ENOSYS from the mlock2() implementation. Signed-off-by: Thierry Reding --- tools/testing/selftests/vm/mlock2-tests.c | 1 + 1 file changed, 1

Re: [PATCH 09/20] perf tools: Parse probe points of eBPF programs during preparation

2015-08-07 Thread Arnaldo Carvalho de Melo
Adding back lkml and Ingo, noticed it wasn't there :-\ Em Fri, Aug 07, 2015 at 01:27:39PM +0800, Wangnan (F) escreveu: > On 2015/8/6 23:50, Arnaldo Carvalho de Melo wrote: > >Em Tue, Aug 04, 2015 at 06:28:38AM +, Wang Nan escreveu: > >>This patch parses section name of each program, and

Re: [PATCH v3 4/7] iio: trigger: Add periodic polling to SYSFS trigger

2015-08-07 Thread Lars-Peter Clausen
On 07/29/2015 02:57 PM, Vladimir Barinov wrote: > Add periodic polling functionality to SYSFS trigger Daniel's hrtimer trigger should be used for this instead of modifying the sysfs trigger timer. See https://lkml.org/lkml/2015/5/8/367 He said he'll send out a new version shortly. - Lars -- To

Re: [PATCH] dma: omap-dma: add support for pause of non-cyclic transfers

2015-08-07 Thread Sebastian Andrzej Siewior
On 08/07/2015 03:22 PM, Russell King - ARM Linux wrote: > On Fri, Aug 07, 2015 at 12:36:14PM +0200, Sebastian Andrzej Siewior wrote: >> On 08/07/2015 11:44 AM, Peter Ujfalusi wrote: >>> with a short testing audio did not broke (the only user of pause/resume) >>> Some comments embedded. >>>

Re: [PATCH] regulator: da9063: Add set_voltage_time_sel function

2015-08-07 Thread Philipp Zabel
Am Freitag, den 07.08.2015, 14:29 +0100 schrieb Mark Brown: > On Fri, Aug 07, 2015 at 03:21:36PM +0200, Philipp Zabel wrote: > > Am Freitag, den 07.08.2015, 13:31 +0100 schrieb Mark Brown: > > > > (or ideally split out the updates to the > > > drivers into separate patches). > > > When

Re: [PATCH] staging: rtl8723au: rtl8723a_hal_init: Improve code readability

2015-08-07 Thread Jes Sorensen
Johannes Postma writes: > This patch improves code readability in the function > rtl8723a_cal_txdesc_chksum. It improves the readability of the argument > of the function le16_to_cpu. > > Signed-off-by: Johannes Postma > --- > drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c | 2 +- > 1 file

Re: [PATCH] regulator: da9063: Add set_voltage_time_sel function

2015-08-07 Thread Mark Brown
On Fri, Aug 07, 2015 at 03:21:36PM +0200, Philipp Zabel wrote: > Am Freitag, den 07.08.2015, 13:31 +0100 schrieb Mark Brown: > > (or ideally split out the updates to the > > drivers into separate patches). > When splitting the patch, the series either won't be bisectable (core > patch first) or

Applied "regmap: debugfs: Fix misuse of IS_ENABLED" to the regmap tree

2015-08-07 Thread Mark Brown
The patch regmap: debugfs: Fix misuse of IS_ENABLED has been applied to the regmap tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to

Re: [PATCH] dma: omap-dma: add support for pause of non-cyclic transfers

2015-08-07 Thread Russell King - ARM Linux
On Fri, Aug 07, 2015 at 03:22:56PM +0200, Sebastian Andrzej Siewior wrote: > On 08/07/2015 03:17 PM, Russell King - ARM Linux wrote: > > On Fri, Aug 07, 2015 at 02:35:45PM +0200, Sebastian Andrzej Siewior wrote: > >> On 08/07/2015 12:55 PM, Russell King - ARM Linux wrote: > >>> On Fri, Aug 07,

Re: [PATCH] dma: omap-dma: add support for pause of non-cyclic transfers

2015-08-07 Thread Sebastian Andrzej Siewior
On 08/07/2015 03:17 PM, Russell King - ARM Linux wrote: > On Fri, Aug 07, 2015 at 02:35:45PM +0200, Sebastian Andrzej Siewior wrote: >> On 08/07/2015 12:55 PM, Russell King - ARM Linux wrote: >>> On Fri, Aug 07, 2015 at 10:41:57AM +0200, Sebastian Andrzej Siewior wrote: This DMA driver is

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