[Patch 0/5] dt: unittest: fix breakage and warnings

2015-03-13 Thread Frank Rowand
Running checkpatch on early versions of my patchset to fix the devicetree make dependency issues exposed a large number of warnings, including some that are actual bugs. http://lkml.iu.edu/hypermail/linux/kernel/1503.1/03335.html These patches fix those bugs, and another bug exposed by fixing

Re: [PATCH v2 net-next 1/2] bpf: allow extended BPF programs access skb fields

2015-03-13 Thread Alexei Starovoitov
On 3/13/15 7:27 PM, Alexei Starovoitov wrote: On 3/13/15 7:16 PM, Daniel Borkmann wrote: On 03/14/2015 03:08 AM, Alexei Starovoitov wrote: On 3/13/15 7:06 PM, Daniel Borkmann wrote: On 03/14/2015 02:46 AM, Daniel Borkmann wrote: ... Previously, it was much more consistent, which I like

[PATCH v6 3/3] cgroups: add a pids subsystem

2015-03-13 Thread Aleksa Sarai
Adds a new single-purpose pids subsystem to limit the number of tasks that can be forked inside a cgroup. Essentially this is an implementation of RLIMIT_NPROC that will applies to a cgroup rather than a process tree. However, it should be noted that organisational operations (adding and removing

[PATCH v6 2/3] cgroups: allow a cgroup subsystem to reject a fork

2015-03-13 Thread Aleksa Sarai
Add a new cgroup subsystem callback can_fork that conditionally states whether or not the fork is accepted or rejected by a cgroup policy. In addition, add a cancel_fork callback so that if an error occurs later in the forking process, any state modified by can_fork can be reverted. In order to

[PATCH v6 1/3] cgroups: use bitmask to filter for_each_subsys

2015-03-13 Thread Aleksa Sarai
Add a new macro for_each_subsys_which that allows all enabled cgroup subsystems to be filtered by a bitmask, such that mask & (1 << ssid) determines if the subsystem is to be processed in the loop body (where ssid is the unique id of the subsystem). Signed-off-by: Aleksa Sarai ---

[PATCH v6 0/3] cgroups: add pids subsystem

2015-03-13 Thread Aleksa Sarai
This is a revised version of the pids v5 patchset, modified to deal with several stylistic and correctness issues put forward by Tejun Heo. The main changes include: * Add bitmask filtering of for_each_subsys() in the form of for_each_subsys_which(). * Revert all succeeded can_fork() callbacks

Re: [PATCH v2 1/2] i2c_imc: New driver for Intel's iMC, found on LGA2011 chips

2015-03-13 Thread Guenter Roeck
On 03/09/2015 01:55 PM, Andy Lutomirski wrote: Sandy Bridge Xeon and Extreme chips have integrated memory controllers with (rather limited) onboard SMBUS masters. This driver gives access to the bus. There are various groups working on standardizing a way to arbitrate access to the bus between

Re: [PATCH] axp288_fuel_gauge: Add original author details

2015-03-13 Thread Todd E Brandt
On Fri, Mar 13, 2015 at 09:49:09PM +0530, Ramakrishna Pallala wrote: > Add the original author details of the axp288_fuel_gauge driver. > Acked-by: Todd Brandt > Signed-off-by: Ramakrishna Pallala > --- > drivers/power/axp288_fuel_gauge.c |1 + > 1 file changed, 1 insertion(+) > > diff

[PATCH v5 0/2] ARM: sun9i: Add USB host controller support for A80

2015-03-13 Thread Chen-Yu Tsai
Hi everyone, This is v5 of my A80 USB support series. v5 addresses some comments on the phy driver, and adds a patch switching the dts from phy driver regulator bindings to phy core bindings. Changes since v4: - Fixed copyright date - Dropped unused header files - Dropped regulator

[PATCH v5 2/2] ARM: dts: sun9i: optimus: Switch to phy core regulator bindings for usb phys

2015-03-13 Thread Chen-Yu Tsai
Since the phy core already supports specifying a regulator to handle during power up/down, it was decided to drop the regulator support in the sun9i usb phy driver. This patch switches the DT to the core bindings. This and the phy driver would be in the same release and should not be a problem as

[PATCH v5 1/2] phy: Add driver to support individual USB PHYs on sun9i

2015-03-13 Thread Chen-Yu Tsai
Unlike previous Allwinner SoCs, there is no central PHY control block on the A80. Also, OTG support is completely split off into a different controller. This adds a new driver to support the regular USB PHYs. Signed-off-by: Chen-Yu Tsai Acked-by: Maxime Ripard ---

[PATCHv4] [media] saa7164: use an MSI interrupt when available

2015-03-13 Thread Brendan McGrath
Enhances driver to use an MSI interrupt when available. Adds the module option 'enable_msi' (type bool) which by default is enabled. Can be set to 'N' to disable. Fixes (or can reduce the occurrence of) a crash which is most commonly reported when both digital tuners of the saa7164 chip is in

Commit 0e32b39c ("drm/i915: add DP 1.2 MST support (v0.7)") breaking DP audio on T440s

2015-03-13 Thread Paul Moore
Ever since v3.17 I've had a problem with displayport audio on my system, but until lately I haven't had a chance to bisect the problem. After a few rounds I've isolated the buggy commit to 0e32b39c ("drm/i915: add DP 1.2 MST support (v0.7)"). Simply put, prior to v3.17 everything worked

Re: [PATCH 2/2] selftests/timers: change to use shared logic to run and install tests

2015-03-13 Thread John Stultz
On Fri, Mar 13, 2015 at 3:57 PM, Shuah Khan wrote: > Change the timers Makefile to make use of shared run and install > logic in lib.mk. Destructive tests are installed. Regular tests > are emited to run_kselftest script to match the run_tests behavior. > > Signed-off-by: Shuah Khan > --- >

Re: [PATCH v3 1/7] x86, kaslr: Use init_size instead of run_size

2015-03-13 Thread Yinghai Lu
On Fri, Mar 13, 2015 at 5:27 AM, Ingo Molnar wrote: > > * Yinghai Lu wrote: > >> commit e6023367d779 ("x86, kaslr: Prevent .bss from overlaping initrd") >> introduced one run_size for kaslr. >> We should use real runtime size (include copy/decompress) aka init_size. > > Why, what happens if we

Re: [PATCH v2 net-next 1/2] bpf: allow extended BPF programs access skb fields

2015-03-13 Thread Alexei Starovoitov
On 3/13/15 7:16 PM, Daniel Borkmann wrote: On 03/14/2015 03:08 AM, Alexei Starovoitov wrote: On 3/13/15 7:06 PM, Daniel Borkmann wrote: On 03/14/2015 02:46 AM, Daniel Borkmann wrote: ... Previously, it was much more consistent, which I like better. And only because of the simple

Re: [PATCH v2 net-next 1/2] bpf: allow extended BPF programs access skb fields

2015-03-13 Thread Daniel Borkmann
On 03/14/2015 03:08 AM, Alexei Starovoitov wrote: On 3/13/15 7:06 PM, Daniel Borkmann wrote: On 03/14/2015 02:46 AM, Daniel Borkmann wrote: ... Previously, it was much more consistent, which I like better. And only because of the simple BUILD_BUG_ON()? :/ Alternative is to move all of them

Re: [PATCH v2 net-next 1/2] bpf: allow extended BPF programs access skb fields

2015-03-13 Thread Alexei Starovoitov
On 3/13/15 7:06 PM, Daniel Borkmann wrote: On 03/14/2015 02:46 AM, Daniel Borkmann wrote: ... Previously, it was much more consistent, which I like better. And only because of the simple BUILD_BUG_ON()? :/ Alternative is to move all of them into a central place, something like in

Re: [PATCH v2 net-next 1/2] bpf: allow extended BPF programs access skb fields

2015-03-13 Thread Alexei Starovoitov
On 3/13/15 6:46 PM, Daniel Borkmann wrote: On 03/13/2015 07:57 PM, Alexei Starovoitov wrote: introduce user accessible mirror of in-kernel 'struct sk_buff': struct __sk_buff { __u32 len; __u32 pkt_type; __u32 mark; __u32 queue_mapping; }; bpf programs can do: int

Re: [PATCH v2 net-next 1/2] bpf: allow extended BPF programs access skb fields

2015-03-13 Thread Daniel Borkmann
On 03/14/2015 02:46 AM, Daniel Borkmann wrote: ... Previously, it was much more consistent, which I like better. And only because of the simple BUILD_BUG_ON()? :/ Alternative is to move all of them into a central place, something like in twsk_build_assert() or __mld2_query_bugs[]. -- To

Hello Dear Friend!I

2015-03-13 Thread kabiru wahid
Hello Dear Friend!, It is my wish to solicit your assistance in a claim of $15.5 USD, this is genuine claim that will be of great benefit for both of us, and i cannot achieve it without the support of a foreigner, therefore, i need your cooperation to Claim This fund is from diseased customer who

Re: [PATCH v2 net-next 1/2] bpf: allow extended BPF programs access skb fields

2015-03-13 Thread Daniel Borkmann
On 03/13/2015 07:57 PM, Alexei Starovoitov wrote: introduce user accessible mirror of in-kernel 'struct sk_buff': struct __sk_buff { __u32 len; __u32 pkt_type; __u32 mark; __u32 queue_mapping; }; bpf programs can do: int bpf_prog(struct __sk_buff *skb) { __u32 var =

[PATCH] selftests: Fix kcmp build to not require headers install

2015-03-13 Thread Shuah Khan
Change CFLAGS to look in uapi to allow kcmp to be built without requiring headers install. This will make it easier to run tests without going through the headers install step. Signed-off-by: Shuah Khan --- tools/testing/selftests/kcmp/Makefile | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH] selftests: Fix build failures when invoked from kselftest target

2015-03-13 Thread Shuah Khan
Several tests that rely on implicit build rules fail to build, when invoked from the main Makefile kselftest target. These failures are due to --no-builtin-rules and --no-builtin-variables options set in the inherited MAKEFLAGS. --no-builtin-rules eliminates the use of built-in implicit rules and

[PATCH] cpqarray: simplify bitops usages

2015-03-13 Thread Akinobu Mita
Remove unnecessary adjustment for bit number and address of bitmask. This change just simplifies the code a bit. Signed-off-by: Akinobu Mita Cc: Don Brace Cc: iss_storage...@hp.com --- drivers/block/cpqarray.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH] hpsa: cleanup bitops usage

2015-03-13 Thread Akinobu Mita
Remove unnecessary adjustment for bit number and address of bitmask, and use BITS_TO_LONGS macro to calculate bitmap size. This change just simplifies the code a bit. Signed-off-by: Akinobu Mita Cc: Don Brace Cc: iss_storage...@hp.com Cc: storage...@pmcs.com Cc: "James E.J. Bottomley" Cc:

[PATCH] pktcdvd: convert char array to bitmap

2015-03-13 Thread Akinobu Mita
The written[] array in pkt_gather_data() can be converted to bitmap. It can reduce stack usage and simplify the code a bit. Signed-off-by: Akinobu Mita Cc: Jiri Kosina --- drivers/block/pktcdvd.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git

[PATCH] ia64: Use bitmap_weight

2015-03-13 Thread Akinobu Mita
Use bitmap_weight to count the total number of bits set in bitmap. This change just simplifies the code a bit. Signed-off-by: Akinobu Mita Cc: Tony Luck Cc: Fenghua Yu Cc: linux-i...@vger.kernel.org --- arch/ia64/hp/common/sba_iommu.c | 9 - 1 file changed, 4 insertions(+), 5

[PATCH] drbd: use bitmap_weight()

2015-03-13 Thread Akinobu Mita
Use bitmap_weight to count the total number of bits set in bitmap. This change just simplifies the code a bit. Signed-off-by: Akinobu Mita Cc: Philipp Reisner Cc: Lars Ellenberg Cc: drbd-...@lists.linbit.com --- drivers/block/drbd/drbd_bitmap.c | 26 ++ 1 file changed,

Re: [PATCH 0/6] CLONE_FD: Task exit notification via file descriptor

2015-03-13 Thread Thiago Macieira
On Friday 13 March 2015 14:51:47 Andy Lutomirski wrote: > In any event, we should find out what FreeBSD does in response to > read(2) on the fd. I've just successfully installed FreeBSD and compiled qtbase (main package of Qt 5) on it. I'll test pdfork during the weekend and report its

[PATCH] include/linux: fix checkpatch issues

2015-03-13 Thread Valentina-Camelia Bojan
Fix checkpatch issues of the following type: * ERROR: "foo * bar" should be "foo *bar" * WARNING: space prohibited between function name and open parenthesis '(' Signed-off-by: Valentina-Camelia Bojan --- include/linux/acpi.h | 34 +- 1 file

[PATCH] ARM: dts: rockchip: disable gmac by default in rk3288.dtsi

2015-03-13 Thread Alexandru M Stan
This block should not be enabled by default or else if the kconfig is set, it will try to load/probe even if there's no phy connected. Signed-off-by: Alexandru M Stan --- arch/arm/boot/dts/rk3288.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/rk3288.dtsi

[PATCH 0/1] ARM: dts: rockchip: disable gmac by default in rk3288.dtsi

2015-03-13 Thread Alexandru M Stan
The way it is right now, each board using rk3288.dtsi has to disable it or else (given CONFIG_DWMAC_RK is set) it will try loading the driver and looking for phy's even though none are connected. The status should be "disabled". PS: I'm ok with "the big relicensing"

Re: [PATCH 3/4] workqueue: Create low-level unbound workqueues cpumask

2015-03-13 Thread Kevin Hilman
Kevin Hilman writes: > Lai Jiangshan writes: > >> From: Frederic Weisbecker >> >> Create a cpumask that limit the affinity of all unbound workqueues. >> This cpumask is controlled though a file at the root of the workqueue >> sysfs directory. >> >> It works on a lower-level than the per

Re: [patch 1/2] mm, mempool: poison elements backed by slab allocator

2015-03-13 Thread David Rientjes
On Thu, 12 Mar 2015, Andrew Morton wrote: > > Mempools keep elements in a reserved pool for contexts in which > > allocation may not be possible. When an element is allocated from the > > reserved pool, its memory contents is the same as when it was added to > > the reserved pool. > > > >

Re: + lib-vsprintfc-even-faster-decimal-conversion.patch added to -mm tree

2015-03-13 Thread Rasmus Villemoes
On Fri, Mar 13 2015, Alexey Dobriyan wrote: > On Thu, Mar 12, 2015 at 12:54 AM, wrote: >> Subject: lib/vsprintf.c: even faster binary to decimal conversion > > I spent some time to microbenchmark changes in userspace (audience: fool!). > Results are below. > > Legend is "number avg+-1sigma

Re: [PATCH 3/4] workqueue: Create low-level unbound workqueues cpumask

2015-03-13 Thread Kevin Hilman
Lai Jiangshan writes: > From: Frederic Weisbecker > > Create a cpumask that limit the affinity of all unbound workqueues. > This cpumask is controlled though a file at the root of the workqueue > sysfs directory. > > It works on a lower-level than the per WQ_SYSFS workqueues cpumask files >

Re: [PATCH] fs/pstore/ram.c: Fix the ramoops module parameters update

2015-03-13 Thread Kees Cook
On Mon, Mar 9, 2015 at 12:39 AM, Wang Long wrote: > In the function ramoops_probe, the console_size, pmsg_size, > ftrace_size may be update because the value is not the power > of two. We should update the module parameter variables > as well so they are visible through

Re: [PATCH V5] Allow compaction of unevictable pages

2015-03-13 Thread Rik van Riel
On 03/13/2015 07:18 PM, David Rientjes wrote: > On Fri, 13 Mar 2015, Eric B Munson wrote: > --- a/mm/compaction.c +++ b/mm/compaction.c @@ -1046,6 +1046,8 @@ typedef enum { ISOLATE_SUCCESS,/* Pages isolated, migrate */ } isolate_migrate_t; +int

[PATCH] checkpatch: match more world writable permissions

2015-03-13 Thread Joe Perches
Currently checkpatch will fuss if one uses world writable settings in debugfs files and DEVICE_ATTR uses by testing S_IWUGO but not testing S_IWOTH, S_IRWXUGO or S_IALLUGO. Extend the check to catch all cases exporting world writable permissions including octal values. Original-patch-by:

Re: [PATCH v3 1/2] remoteproc: use a flag to detect the presence of IOMMU

2015-03-13 Thread Suman Anna
On 03/12/2015 04:04 AM, Ohad Ben-Cohen wrote: > On Fri, Jan 9, 2015 at 11:21 PM, Suman Anna wrote: >> The remoteproc driver core currently relies on iommu_present() on >> the bus the device is on, to perform MMU management. However, this >> logic doesn't scale for multi-arch, especially for

[PATCH v2] staging: panel: change struct bits to a bit array

2015-03-13 Thread Isaac Lleida
This path implements a bit array representing the LCD signal states instead of the old "struct bits", which used char to represent a single bit. This will reduce the memory usage. Signed-off-by: Isaac Lleida >= 1; @@ -814,7 +826,7 @@ static void lcd_backlight(int on) /* The backlight

[PATCH 4/4] drm/msm/mdp5: Enable DSI connector in msm drm driver

2015-03-13 Thread Hai Li
This change adds the support in mdp5 kms driver for single and dual DSI. Dual DSI case depends on the framework API and sequence change to support dual data path. Signed-off-by: Hai Li --- drivers/gpu/drm/msm/mdp/mdp5/mdp5_cfg.c | 4 + drivers/gpu/drm/msm/mdp/mdp5/mdp5_crtc.c| 11 +-

[PATCH 3/4] drm/msm: Initial add DSI connector support

2015-03-13 Thread Hai Li
This change adds the DSI connector support in msm drm driver. Signed-off-by: Hai Li --- drivers/gpu/drm/msm/Kconfig | 11 + drivers/gpu/drm/msm/Makefile |4 + drivers/gpu/drm/msm/dsi/dsi.c | 203 drivers/gpu/drm/msm/dsi/dsi.h | 115 ++

[PATCH 1/4] drm/msm/dsi: Update generated DSI header file

2015-03-13 Thread Hai Li
Prepare for initial DSI implementation Signed-off-by: Hai Li --- drivers/gpu/drm/msm/dsi/dsi.xml.h | 418 ++ 1 file changed, 376 insertions(+), 42 deletions(-) diff --git a/drivers/gpu/drm/msm/dsi/dsi.xml.h b/drivers/gpu/drm/msm/dsi/dsi.xml.h index

[PATCH 2/4] drm/msm: Add split display interface

2015-03-13 Thread Hai Li
This change is to add an interface to MDP for connector devices setting split display information. Signed-off-by: Hai Li --- drivers/gpu/drm/msm/msm_kms.h | 4 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/msm/msm_kms.h b/drivers/gpu/drm/msm/msm_kms.h index 3a78cb4..a9f17bd

Re: [patch 1/2] block, drbd: fix drbd_req_new() initialization

2015-03-13 Thread David Rientjes
On Sat, 7 Mar 2015, David Rientjes wrote: > > >>> mempool_alloc() does not support __GFP_ZERO since elements may come from > > >>> memory that has already been released by mempool_free(). > > >>> > > >>> Remove __GFP_ZERO from mempool_alloc() in drbd_req_new() and properly > > >>> initialize it

[PATCH 0/4] drm/msm: Initial add DSI support

2015-03-13 Thread Hai Li
DSI is supported by both mdp4 and mdp5. This patch series adds the common DSI controller driver and also enable it in mdp5. Hai Li (4): drm/msm/dsi: Update generated DSI header file drm/msm: Add split display interface drm/msm: Initial add DSI connector support drm/msm/mdp5: Enable DSI

[PATCH] rnndb: Update DSI core and PHY registers for 8084

2015-03-13 Thread Hai Li
DSI core registers in DSI6G are compatible with the old versions. The offsets are 4-byte shift down because of the addition of a HW_VERSION register. This difference will be handled in source code. DSI PHY registers are incompatible. This change adds a new domain for 28nm PHY and PHY regulator,

Re: [PATCH 01/32] do_fork(): Rename 'stack_size' argument to reflect actual use

2015-03-13 Thread David Rientjes
On Fri, 13 Mar 2015, j...@joshtriplett.org wrote: > On Fri, Mar 13, 2015 at 08:04:16PM +0200, Alex Dowad wrote: > > The 'stack_size' argument is never used to pass a stack size. It's only > > used when > > forking a kernel thread, in which case it is an argument which should be > > passed > >

Re: [PATCH V5] Allow compaction of unevictable pages

2015-03-13 Thread David Rientjes
On Fri, 13 Mar 2015, Eric B Munson wrote: > > > --- a/mm/compaction.c > > > +++ b/mm/compaction.c > > > @@ -1046,6 +1046,8 @@ typedef enum { > > > ISOLATE_SUCCESS,/* Pages isolated, migrate */ > > > } isolate_migrate_t; > > > > > > +int sysctl_compact_unevictable; > > > + > > > /* >

Re: [BUG] n_tty: 4.0-rc3+: Unable to handle kernel paging request at virtual address 000044d0

2015-03-13 Thread Ming Lei
On Fri, Mar 13, 2015 at 8:59 PM, Peter Hurley wrote: > [ +cc Will Deacon, linux-arm ] > > Hi Ming, > > On 03/13/2015 02:02 AM, Ming Lei wrote: >> Hi Guys, >> >> Just found the following oops during kernel booting when I >> test the latest linus tree on one arm64 VM booted from uefi >> plus grub2:

Re: [PATCH v4 4/9] selftests: Add install target

2015-03-13 Thread Shuah Khan
On 03/13/2015 03:32 PM, Shuah Khan wrote: > On 03/13/2015 11:20 AM, Shuah Khan wrote: >> On 03/10/2015 10:06 PM, Michael Ellerman wrote: >>> This adds make install support to selftests. The basic usage is: >>> >>> $ cd tools/testing/selftests >>> $ make install >>> >>> That installs into

[PATCH] radeon: Update Kaveri MEC firmware to #396

2015-03-13 Thread Oded Gabbay
This patch updates the Kaveri MEC firmware to #396 (from #391). The MEC firmware is mainly used for amdkfd - AMD's HSA Linux kernel driver. Signed-off-by: Oded Gabbay --- radeon/kaveri_mec.bin | Bin 17024 -> 17024 bytes radeon/kaveri_mec2.bin | Bin 17024 -> 17024 bytes 2 files changed, 0

[PATCH v3] led/led-class: Handle LEDs with the same name

2015-03-13 Thread Ricardo Ribalda Delgado
The current code expected that every LED had an unique name. This is a legit expectation when the device tree can no be modified or extended. But with device tree overlays this requirement can be easily broken. This patch finds out if the name is already in use and adds the suffix _1, _2... if

Re: [PATCH 01/32] do_fork(): Rename 'stack_size' argument to reflect actual use

2015-03-13 Thread josh
On Fri, Mar 13, 2015 at 08:04:16PM +0200, Alex Dowad wrote: > The 'stack_size' argument is never used to pass a stack size. It's only used > when > forking a kernel thread, in which case it is an argument which should be > passed > to the 'main' function which the kernel thread executes. Hence,

Re: [PATCH 2/6] x86: Opt into HAVE_COPY_THREAD_TLS, for both 32-bit and 64-bit

2015-03-13 Thread josh
On Fri, Mar 13, 2015 at 03:45:16PM -0700, Andy Lutomirski wrote: > On Fri, Mar 13, 2015 at 3:43 PM, wrote: > > On Fri, Mar 13, 2015 at 03:38:31PM -0700, Andy Lutomirski wrote: > >> On Fri, Mar 13, 2015 at 3:31 PM, wrote: > >> > On Fri, Mar 13, 2015 at 03:01:16PM -0700, Andy Lutomirski wrote: >

Re: [RFCv3 PATCH 30/48] sched: Calculate energy consumption of sched_group

2015-03-13 Thread Sai Gurrappadi
On 02/04/2015 10:31 AM, Morten Rasmussen wrote: > For energy-aware load-balancing decisions it is necessary to know the > energy consumption estimates of groups of cpus. This patch introduces a > basic function, sched_group_energy(), which estimates the energy > consumption of the cpus in the

[PATCH 2/4] CLK: TI: OMAP5: Correct the DT clock aliases for timers

2015-03-13 Thread Suman Anna
The DT clock aliases for Timers use the legacy (non-DT) device names and a source clock named sys_ck. OMAP5 is DT-boot only, so correct the DT clock aliases to use the DT device names instead. Also, the source clock name is corrected from 'sys_ck' to 'timer_sys_ck', the name used by the OMAP

[PATCH 4/4] CLK: TI: DRA7: Add timer_sys_ck aliases for Timers 13 through 16

2015-03-13 Thread Suman Anna
The OMAP DMTimer API, omap_dm_timer_set_source(), uses the clock name timer_sys_ck for setting a timer's clock source for the source index OMAP_TIMER_SRC_SYS_CLK. There is currently no clock alias data for the Timers 13 through 16 for this clock name, so add the same. Signed-off-by: Suman Anna

[PATCH 0/4] CLK: TI: Timer clock alias fixes

2015-03-13 Thread Suman Anna
Hi Tero, Please find couple of cleanup/fixes on the DT clock aliases for the GPTimers. Patches are based on 4.0-rc1 and following is the summary of the changes, 1. Patch 1 is a cleanup for OMAP4 2. Patch 2 fixes the failures for OMAP5 if omap_dm_timer_set_source() API is called to set the

[PATCH 3/4] CLK: TI: DRA7: Correct timer_sys_ck clock aliases for Timers

2015-03-13 Thread Suman Anna
The OMAP DMTimer API, omap_dm_timer_set_source(), can set the parent of a timer node using 3 different values that use fixed parent names for the clocks. The parent name, timer_sys_ck, is used for setting the parent when used with the source index OMAP_TIMER_SRC_SYS_CLK. This should point to the

[PATCH 1/4] CLK: TI: OMAP4: Remove the legacy timer DT clock aliases

2015-03-13 Thread Suman Anna
The DT clock aliases for timers using the legacy OMAP timer device names have been cleaned up. These device names reflect the names used in legacy boot, and are no longer applicable as OMAP4 is DT boot only now. Signed-off-by: Suman Anna --- drivers/clk/ti/clk-44xx.c | 11 --- 1 file

[PATCH 1/2] selftests: add ability to run and emit script for tests args to lib.mk

2015-03-13 Thread Shuah Khan
Add ability to run, emit, install tests take arguments to the shared logic in lib.mk. lib.mk provides a way to override the default RUN_TESTS and EMIT_TESTS, however in the cases where a test has several executables that don't require any special args and/or handling and some that do, overrding

[PATCH 2/2] selftests/timers: change to use shared logic to run and install tests

2015-03-13 Thread Shuah Khan
Change the timers Makefile to make use of shared run and install logic in lib.mk. Destructive tests are installed. Regular tests are emited to run_kselftest script to match the run_tests behavior. Signed-off-by: Shuah Khan --- tools/testing/selftests/timers/Makefile | 20 +++- 1

[PATCH 0/2] Changes to timers Maefile to use shared logic for run_tests and install

2015-03-13 Thread Shuah Khan
This patch set: adds ability to run and emit script for tests args to lib.mk. lib.mk provides a way to override the default RUN_TESTS and EMIT_TESTS, however in the cases where a test has several executables that don't require any special args and/or handling and some that do, overrding will be

[PATCH V2 2/5] MIPS: Allow platforms to specify the decompressor load address

2015-03-13 Thread Andrew Bresticker
Platforms which use raw zboot images may need to link the image at a fixed address if there is no other way to communicate the load address to the bootloader. Allow the per-platform Kbuild files to specify an optional zboot image load address (zload-y) and fall back to calc_vmlinuz_load_addr if

[PATCH V2 1/5] MIPS: Create a common

2015-03-13 Thread Andrew Bresticker
From: Kevin Cernekee 11 platforms require at least one of these workarounds to be enabled; 22 platforms do not. In the latter case we can fall back to a generic version. Note that this also deletes an orphaned reference to RM9000_CDEX_SMP_WAR. Suggested-by: Arnd Bergmann Signed-off-by: Kevin

[PATCH V2 4/5] MIPS: Add support for the IMG Pistachio SoC

2015-03-13 Thread Andrew Bresticker
Add initial support for boards based on the Imagination Pistachio SoC. Pistachio is based on a dual-core MIPS interAptiv CPU and will boot using device-tree. Signed-off-by: James Hartley Signed-off-by: Andrew Bresticker --- Changes from v1: - switched to MIPS UHI hand-off protocol ---

[PATCH V2 5/5] MIPS: pistachio: Add an initial defconfig

2015-03-13 Thread Andrew Bresticker
From: Govindraj Raja Add a defconfig for Pistachio which enables drivers for all the currently supported peripherals on the SoC. Signed-off-by: Govindraj Raja Signed-off-by: Andrew Bresticker --- No changes from v1. --- arch/mips/configs/pistachio_defconfig | 336

[PATCH V2 3/5] MIPS: Document Pistachio boot protocol and device-tree bindings

2015-03-13 Thread Andrew Bresticker
The Pistachio SoC boots only with device-tree. Document the required properties and nodes as well as the boot protocol between the bootlaoder and the kernel. Signed-off-by: Andrew Bresticker Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala --- Changes from

[PATCH V2 0/5] MIPS: Initial IMG Pistachio SoC support

2015-03-13 Thread Andrew Bresticker
This series adds basic support for the Imagination Technologies Pistachio SoC. Pistachio will boot using device-tree only. v4.0-rc1 already includes support for several of the peripherals on Pistachio, including MMC, SPI, I2C, DMA, watchdog timer, PWM, and IR. Clock and pinctrl support for

Re: [RFCv3 PATCH 33/48] sched: Energy-aware wake-up task placement

2015-03-13 Thread Sai Gurrappadi
On 02/04/2015 10:31 AM, Morten Rasmussen wrote: > Let available compute capacity and estimated energy impact select > wake-up target cpu when energy-aware scheduling is enabled. > energy_aware_wake_cpu() attempts to find group of cpus with sufficient > compute capacity to accommodate the task and

Re: [PATCH 2/6] x86: Opt into HAVE_COPY_THREAD_TLS, for both 32-bit and 64-bit

2015-03-13 Thread Andy Lutomirski
On Fri, Mar 13, 2015 at 3:43 PM, wrote: > On Fri, Mar 13, 2015 at 03:38:31PM -0700, Andy Lutomirski wrote: >> On Fri, Mar 13, 2015 at 3:31 PM, wrote: >> > On Fri, Mar 13, 2015 at 03:01:16PM -0700, Andy Lutomirski wrote: >> >> On Thu, Mar 12, 2015 at 6:40 PM, Josh Triplett >> >> wrote: >> >>

Re: [PATCH 2/6] x86: Opt into HAVE_COPY_THREAD_TLS, for both 32-bit and 64-bit

2015-03-13 Thread josh
On Fri, Mar 13, 2015 at 03:38:31PM -0700, Andy Lutomirski wrote: > On Fri, Mar 13, 2015 at 3:31 PM, wrote: > > On Fri, Mar 13, 2015 at 03:01:16PM -0700, Andy Lutomirski wrote: > >> On Thu, Mar 12, 2015 at 6:40 PM, Josh Triplett > >> wrote: > >> > For 32-bit userspace on a 64-bit kernel, this

Re: [PATCH 6/6] clone4: Introduce new CLONE_FD flag to get task exit notification via fd

2015-03-13 Thread Andy Lutomirski
On Fri, Mar 13, 2015 at 3:34 PM, wrote: > On Fri, Mar 13, 2015 at 03:28:26PM -0700, Andy Lutomirski wrote: >> On Fri, Mar 13, 2015 at 3:20 PM, wrote: >> > On Fri, Mar 13, 2015 at 02:34:58PM -0700, Andy Lutomirski wrote: >> >> On Fri, Mar 13, 2015 at 12:57 PM, wrote: >> >> > A process

Re: [PATCH 2/6] x86: Opt into HAVE_COPY_THREAD_TLS, for both 32-bit and 64-bit

2015-03-13 Thread Andy Lutomirski
On Fri, Mar 13, 2015 at 3:31 PM, wrote: > On Fri, Mar 13, 2015 at 03:01:16PM -0700, Andy Lutomirski wrote: >> On Thu, Mar 12, 2015 at 6:40 PM, Josh Triplett wrote: >> > For 32-bit userspace on a 64-bit kernel, this requires modifying >> > stub32_clone to actually swap the appropriate arguments

[PATCH] staging: vt6656: don't return zero on failure path in vt6656_probe()

2015-03-13 Thread Alexey Khoroshilov
If ieee80211_alloc_hw() fails in vt6656_probe(), it breaks off initialization, but returns zero. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov --- drivers/staging/vt6656/main_usb.c | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH 6/6] clone4: Introduce new CLONE_FD flag to get task exit notification via fd

2015-03-13 Thread josh
On Fri, Mar 13, 2015 at 03:28:26PM -0700, Andy Lutomirski wrote: > On Fri, Mar 13, 2015 at 3:20 PM, wrote: > > On Fri, Mar 13, 2015 at 02:34:58PM -0700, Andy Lutomirski wrote: > >> On Fri, Mar 13, 2015 at 12:57 PM, wrote: > >> > A process launching a new process with CLONE_FD is explicitly

Re: [PATCH 2/6] x86: Opt into HAVE_COPY_THREAD_TLS, for both 32-bit and 64-bit

2015-03-13 Thread josh
On Fri, Mar 13, 2015 at 03:01:16PM -0700, Andy Lutomirski wrote: > On Thu, Mar 12, 2015 at 6:40 PM, Josh Triplett wrote: > > For 32-bit userspace on a 64-bit kernel, this requires modifying > > stub32_clone to actually swap the appropriate arguments to match > > CONFIG_CLONE_BACKWARDS, rather

Re: [PATCH 6/6] clone4: Introduce new CLONE_FD flag to get task exit notification via fd

2015-03-13 Thread Andy Lutomirski
On Fri, Mar 13, 2015 at 3:20 PM, wrote: > On Fri, Mar 13, 2015 at 02:34:58PM -0700, Andy Lutomirski wrote: >> On Fri, Mar 13, 2015 at 12:57 PM, wrote: >> > A process launching a new process with CLONE_FD is explicitly requesting >> > that the process be automatically reaped without any other

[PATCH 13/13] builtin-sched.c %ld in format string %ld in format string requires 'long' but the argument type is 'unsigned long'.

2015-03-13 Thread Ameen Ali
Signed-off-by: Ameen Ali --- tools/perf/builtin-sched.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/tools/perf/builtin-sched.c b/tools/perf/builtin-sched.c index 891c393..dbc417a 100644 --- a/tools/perf/builtin-sched.c +++

Re: [PATCH v2] mce: use safe MSR accesses

2015-03-13 Thread Borislav Petkov
On Fri, Mar 13, 2015 at 11:03:39AM -0500, jesse.lar...@amd.com wrote: > From: Jesse Larrew > > Certain MSRs are only relevant to a kernel in host mode, and kvm had > chosen not to implement these MSRs at all for guests. If a guest kernel > ever tried to access these MSRs, the result was a

Re: [PATCH v2] powercap/rapl: handle domain energy unit

2015-03-13 Thread Rafael J. Wysocki
On Friday, March 13, 2015 03:48:56 AM Jacob Pan wrote: > The current driver assumes all RAPL domains within a CPU package > have the same energy unit. This is no longer true for HSW server > CPUs since DRAM domain has is own fixed energy unit which can be > different than the package energy unit

Re: [PATCH 6/6] clone4: Introduce new CLONE_FD flag to get task exit notification via fd

2015-03-13 Thread josh
On Fri, Mar 13, 2015 at 02:34:58PM -0700, Andy Lutomirski wrote: > On Fri, Mar 13, 2015 at 12:57 PM, wrote: > > A process launching a new process with CLONE_FD is explicitly requesting > > that the process be automatically reaped without any other process > > having to wait on it. The task

Re: [Patch v4 2/2] dmaengine: Add ADM driver

2015-03-13 Thread Andy Gross
On Fri, Mar 13, 2015 at 02:27:45PM +0530, Vinod Koul wrote: > On Wed, Feb 11, 2015 at 11:46:05PM -0600, Andy Gross wrote: > > +++ b/drivers/dma/qcom_adm.c > > @@ -0,0 +1,901 @@ > > +/* > > + * Copyright (c) 2013-2014, The Linux Foundation. All rights reserved. > shouldn't this be 15 :) yeah, need

Re: [PATCH v3 0/7] Switch mach-at91 to multiplatform

2015-03-13 Thread Alexandre Belloni
Nicolas, On 13/03/2015 at 22:57:17 +0100, Alexandre Belloni wrote : > AT91 is now ready to switch to multiplatform. Do it and clean the remaining > mach > includes. > > Changes in v3: > - use a menu structure as asked by Arnd > - remove useless selects as pointed by Rob > - drop a patch that

Re: [PATCH 2/6] x86: Opt into HAVE_COPY_THREAD_TLS, for both 32-bit and 64-bit

2015-03-13 Thread Andy Lutomirski
On Thu, Mar 12, 2015 at 6:40 PM, Josh Triplett wrote: > For 32-bit userspace on a 64-bit kernel, this requires modifying > stub32_clone to actually swap the appropriate arguments to match > CONFIG_CLONE_BACKWARDS, rather than just leaving the C argument for tls > broken. > > Signed-off-by: Josh

[PATCH v3 7/7] ARM: at91: drop AT91_TIMER_HZ

2015-03-13 Thread Alexandre Belloni
Drop AT91_TIMER_HZ as this can be handled using HZ_FIXED. Initial help message was: On AT91rm9200 chips where you're using a system clock derived from the 32768 Hz hardware clock, this tick rate should divide it exactly: use a power-of-two value, such as 128 or 256, to reduce timing errors caused

[PATCH v3 4/7] ARM: at91: remove useless mach/cpu.h

2015-03-13 Thread Alexandre Belloni
mach/cpu.h is not used anymore, remove it. Signed-off-by: Alexandre Belloni --- arch/arm/mach-at91/include/mach/at91sam9_smc.h | 2 - arch/arm/mach-at91/include/mach/cpu.h | 216 - arch/arm/mach-at91/pm.c| 1 - 3 files changed, 219

[PATCH v3 5/7] ARM: at91: remove SoC headers

2015-03-13 Thread Alexandre Belloni
Remove the now useless SoC headers. Signed-off-by: Alexandre Belloni --- arch/arm/mach-at91/include/mach/at91rm9200.h | 103 --- arch/arm/mach-at91/include/mach/at91sam9260.h | 129 --- arch/arm/mach-at91/include/mach/at91sam9261.h | 99 --

[PATCH v3 6/7] ARM: at91: remove hardware.h

2015-03-13 Thread Alexandre Belloni
hardware.h is now mostyl unused, move the remaining declarations to pm.c and remove it. Signed-off-by: Alexandre Belloni --- arch/arm/mach-at91/include/mach/hardware.h | 123 - arch/arm/mach-at91/pm.c| 11 ++- arch/arm/mach-at91/pm_suspend.S

Re: [GIT PULL] at91: cleanup for 4.1 #2

2015-03-13 Thread Alexandre Belloni
On 13/03/2015 at 18:12:29 +0100, Nicolas Ferre wrote : > Another cleanup series on top of the previous one that I sent you this > afternoon ;-) I think it is the last time that we can remove a whole bunch of > files and legacy code... We were getting used to it! Actually, the switch to

[PATCH v3 1/7] ARM: at91: switch to multiplatform

2015-03-13 Thread Alexandre Belloni
Switch AT91 to multiplatform as all SoCs are properly handled. Signed-off-by: Alexandre Belloni --- arch/arm/Kconfig| 13 - arch/arm/mach-at91/Kconfig | 119 +++- arch/arm/mach-at91/Makefile | 2 + 3 files changed, 52 insertions(+), 82

[PATCH v3 2/7] ARM: at91: switch at91_dt_defconfig to multiplatform

2015-03-13 Thread Alexandre Belloni
Signed-off-by: Alexandre Belloni --- arch/arm/configs/at91_dt_defconfig | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/arm/configs/at91_dt_defconfig b/arch/arm/configs/at91_dt_defconfig index 811e72bbe642..bcef49a21801 100644 ---

[PATCH v3 0/7] Switch mach-at91 to multiplatform

2015-03-13 Thread Alexandre Belloni
AT91 is now ready to switch to multiplatform. Do it and clean the remaining mach includes. Changes in v3: - use a menu structure as asked by Arnd - remove useless selects as pointed by Rob - drop a patch that has already been applied - add a patch to remove AT91_TIMER_HZ Changes in v2: -

[PATCH v3 3/7] ARM: at91: remove unused headers

2015-03-13 Thread Alexandre Belloni
Following the switch to multiplatform, uncompress.h is not used anymore. Remove it. at91_dbgu.h is also not used anymore Signed-off-by: Alexandre Belloni --- arch/arm/mach-at91/include/mach/at91_dbgu.h | 63 arch/arm/mach-at91/include/mach/uncompress.h | 218

[PATCH 12/12] Add option to automatically set trusted_kernel when in Secure Boot mode

2015-03-13 Thread Matthew Garrett
UEFI Secure Boot provides a mechanism for ensuring that the firmware will only load signed bootloaders and kernels. Certain use cases may also require that the kernel prevent userspace from inserting untrusted kernel code at runtime. Add a configuration option that enforces this automatically when

[PATCH 10/12] x86: Restrict MSR access when trusted_kernel is true

2015-03-13 Thread Matthew Garrett
Permitting write access to MSRs allows userspace to modify the running kernel. Prevent this if trusted_kernel is true. Based on a patch by Kees Cook. Cc: Kees Cook Signed-off-by: Matthew Garrett --- arch/x86/kernel/msr.c | 8 1 file changed, 8 insertions(+) diff --git

[PATCH 11/12] asus-wmi: Restrict debugfs interface when trusted_kernel is true

2015-03-13 Thread Matthew Garrett
We have no way of validating what all of the Asus WMI methods do on a given machine, and there's a risk that some will allow hardware state to be manipulated in such a way that arbitrary code can be executed in the kernel. Prevent that if trusted_kernel is true. Signed-off-by: Matthew Garrett

  1   2   3   4   5   6   7   8   9   10   >