[PATCH] ARM: dts: sun9i: Enable ARM architected timer on A80

2015-03-18 Thread Chen-Yu Tsai
The A80 SoC has the architected timer, but the existing firmware from Allwinner does not set CNTFRQ at all. Signed-off-by: Chen-Yu Tsai w...@csie.org --- I'm not so sure about the cpu mask, but there's no SMP support to actually test it. --- arch/arm/boot/dts/sun9i-a80.dtsi | 10 ++ 1

Re: [PATCH RT 26/39] scheduling while atomic in cgroup code

2015-03-18 Thread Sebastian Andrzej Siewior
On 03/17/2015 09:10 PM, Paul Gortmaker wrote: [[PATCH RT 26/39] scheduling while atomic in cgroup code] On 12/03/2015 (Thu 15:13) Steven Rostedt wrote: 3.14.34-rt32-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Mike Galbraith

Re: Re: [PATCH V2] gpio: mmp: add GPIO driver for Marvell MMP series

2015-03-18 Thread Linus Walleij
On Wed, Mar 18, 2015 at 6:09 AM, Chao Xie xiechao_m...@163.com wrote: At 2015-03-17 18:25:24, Linus Walleij linus.wall...@linaro.org wrote: So this driver duplicates drivers/gpio/gpio-pxa.c in some sense but is nicer and cleaner and thus an incentive for me to merge it. At the same time I don't

Re: [PATCH v2] ARM: EXYNOS: Fix failed second suspend on Exynos4

2015-03-18 Thread Krzysztof Kozlowski
On śro, 2015-03-18 at 03:05 +0900, Kukjin Kim wrote: On 03/11/15 19:29, Krzysztof Kozlowski wrote: On śro, 2015-03-11 at 11:20 +0100, Krzysztof Kozlowski wrote: On Exynos4412 boards (Trats2, Odroid U3) after enabling L2 cache in 56b60b8bce4a (ARM: 8265/1: dts: exynos4: Add nodes for L2

Re: [PATCH 1/2 v2] mm: Allow small allocations to fail

2015-03-18 Thread Vlastimil Babka
On 03/17/2015 08:41 PM, Michal Hocko wrote: On Tue 17-03-15 13:26:28, Johannes Weiner wrote: On Tue, Mar 17, 2015 at 03:17:29PM +0100, Michal Hocko wrote: On Tue 17-03-15 09:29:26, Johannes Weiner wrote: On Tue, Mar 17, 2015 at 11:25:08AM +0100, Michal Hocko wrote: On Mon 16-03-15 17:11:46,

Re: [PATCH] x86: Unbreak early processor microcode loading

2015-03-18 Thread Daniel J Blueman
On Wed, Mar 4, 2015 at 7:45 PM, Borislav Petkov b...@alien8.de wrote: On Wed, Mar 04, 2015 at 10:18:47AM +0100, Borislav Petkov wrote: Let me try to reproduce that here. Well, it works fine on a single-socket box here: [1.045426] microcode: updated early to new patch_level=0x01dc [

Re: [PATCH v10 18/21] ARM64 / ACPI: Select ACPI_REDUCED_HARDWARE_ONLY if ACPI is enabled on ARM64

2015-03-18 Thread Lorenzo Pieralisi
On Mon, Mar 16, 2015 at 11:33:29AM +, Hanjun Guo wrote: On 2015年03月13日 19:04, Lorenzo Pieralisi wrote: On Fri, Mar 13, 2015 at 03:28:45AM +, Hanjun Guo wrote: [...] /* * acpi_boot_table_init() called from setup_arch(), always. * 1. find RSDP and get its address,

Re: regression: nested: L1 3.15+ fails to load kvm-intel on L0 3.15

2015-03-18 Thread Paolo Bonzini
On 18/03/2015 09:46, Stefan Bader wrote: Regardless of that, I wonder whether the below (this version untested) sound acceptable for upstream? At least it would make debugging much simpler. :) --- a/arch/x86/kvm/vmx.c +++ b/arch/x86/kvm/vmx.c @@ -2953,8 +2953,11 @@ static __init int

[PATCH v6 08/12] ARM: tegra: Set spi-max-frequency property to flash node

2015-03-18 Thread Tomeu Vizoso
Otherwise spi core will refuse to register the device. Signed-off-by: Tomeu Vizoso tomeu.viz...@collabora.com Acked-by: Stephen Warren swar...@nvidia.com Reviewed-by: Alexandre Courbot acour...@nvidia.com --- arch/arm/boot/dts/tegra124-nyan.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH v2 2/3] w1: masters: omap_hdq: Add support for 1-wire mode

2015-03-18 Thread Vignesh R
Gentle Ping On Monday 02 March 2015 04:19 PM, Vignesh R wrote: This patches makes following changes to omap_hdq driver - Enable 1-wire mode. - Implement w1_triplet callback to facilitate search rom procedure and auto detection of 1-wire slaves. - Proper enabling and disabling of

[PATCH v6 02/12] ARM: tegra: Move out nyan-generic parts out from the nyan-big DT

2015-03-18 Thread Tomeu Vizoso
In preparation for adding the DT for the nyan-blaze board. Signed-off-by: Tomeu Vizoso tomeu.viz...@collabora.com Acked-by: Stephen Warren swar...@nvidia.com Reviewed-by: Alexandre Courbot acour...@nvidia.com --- arch/arm/boot/dts/tegra124-nyan-big.dts | 689 +---

Re: [PATCH RFC] mm: protect suid binaries against rowhammer with copy-on-read mappings

2015-03-18 Thread Kirill A. Shutemov
On Wed, Mar 18, 2015 at 11:30:40AM +0300, Konstantin Khlebnikov wrote: From: Konstantin Khlebnikov khlebni...@yandex-team.ru Each user gets private copy of the code thus nobody will be able to exploit pages in the page cache. This works for statically-linked binaries. Shared libraries are

Re: [PATCH v2 3/3] leds: Add ktd2692 flash LED driver

2015-03-18 Thread Jacek Anaszewski
Hi Ingi, Thanks for the update. Please find my comments below. On 03/17/2015 09:45 AM, Ingi Kim wrote: This patch adds a driver to support the ktd2692 flash LEDs. ktd2692 can control flash current by ExpressWire interface. Signed-off-by: Ingi Kim ingi2@samsung.com ---

Re: [PATCH] pinmux: allow exlusive pin allocation among GPIO and peripheral funtions via flag strict in struct pinctrl_desc

2015-03-18 Thread Linus Walleij
On Thu, Mar 12, 2015 at 10:56 AM, Sonic Zhang sonic@gmail.com wrote: From: Sonic Zhang sonic.zh...@analog.com The blackfin pinmux and gpio controller doesn't allow user to set up 1 pin for both GPIO and peripheral function. So, add flag strict in struct pinctrl to check both gpio_owner

Re: [PATCH v2] ARM: EXYNOS: Fix failed second suspend on Exynos4

2015-03-18 Thread Bartlomiej Zolnierkiewicz
Hi, On Wednesday, March 18, 2015 09:57:27 AM Krzysztof Kozlowski wrote: On śro, 2015-03-18 at 03:05 +0900, Kukjin Kim wrote: On 03/11/15 19:29, Krzysztof Kozlowski wrote: On śro, 2015-03-11 at 11:20 +0100, Krzysztof Kozlowski wrote: On Exynos4412 boards (Trats2, Odroid U3) after

Re: [PATCH 2/3] ARM: sun8i: Add SMP support for the Allwinner A23

2015-03-18 Thread Maxime Ripard
On Wed, Mar 18, 2015 at 11:24:01AM +0800, Chen-Yu Tsai wrote: The A23 is a dual Cortex-A7. Add the logic to use the IPs used to control the CPU configuration and the CPU power so that we can bring up secondary CPUs at boot. Signed-off-by: Chen-Yu Tsai w...@csie.org --- We can't use

Re: [BUG/PATCH] kernel RNG and its secrets

2015-03-18 Thread Daniel Borkmann
[ Cc'ing Cesar ] On 03/18/2015 10:53 AM, mancha wrote: Hi. The kernel RNG introduced memzero_explicit in d4c5efdb9777 to protect memory cleansing against things like dead store optimization: void memzero_explicit(void *s, size_t count) { memset(s, 0, count);

Re: regression: nested: L1 3.15+ fails to load kvm-intel on L0 3.15

2015-03-18 Thread Stefan Bader
On 18.03.2015 11:27, Paolo Bonzini wrote: On 18/03/2015 10:59, Stefan Bader wrote: @@ -2850,7 +2851,7 @@ static __init int setup_vmcs_config(struct vmcs_config *vmcs_conf) vmx_capability.ept, vmx_capability.vpid); } - min = 0; + min = VM_EXIT_SAVE_DEBUG_CONTROLS; #ifdef

Re: [BUG/PATCH] kernel RNG and its secrets

2015-03-18 Thread Stephan Mueller
Am Mittwoch, 18. März 2015, 11:56:43 schrieb Daniel Borkmann: Hi Daniel, On 03/18/2015 11:50 AM, Hannes Frederic Sowa wrote: On Wed, Mar 18, 2015, at 10:53, mancha wrote: Hi. The kernel RNG introduced memzero_explicit in d4c5efdb9777 to protect memory cleansing against things like dead

[LKP] [lockdep] ef9db2383c7: WARNING: CPU: 0 PID: 1 at kernel/locking/lockdep.c:3538 check_flags+0x22d/0x240()

2015-03-18 Thread Huang Ying
FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git locking/urgent commit ef9db2383c74a9cc0f7f4e0ec2740c865f6532d9 (lockdep: Fix module unload) ++--++ |

Re: [Intel-gfx] [Regression] WARNING: drivers/gpu/drm/i915/i915_gem.c:4525 i915_gem_free_object

2015-03-18 Thread Jani Nikula
On Wed, 18 Mar 2015, Steven Rostedt rost...@goodmis.org wrote: On Tue, 17 Mar 2015 08:53:21 +0100 Daniel Vetter dan...@ffwll.ch wrote: Can you please cherry pick 42a7b088127f (\drm/i915: Make sure the primary plane is enabled before reading out the fb state\) from -next to 4.0-rc to test

Re: [PATCH v2 6/6] staging: sm750fb: Remove spinlock helper function

2015-03-18 Thread Lorenzo Stoakes
On 18 March 2015 at 07:52, Sudip Mukherjee sudipm.mukher...@gmail.com wrote: your series is not applying anymore to linux-next. looks like some patches came from the Outreachy and were already applied. please redo it against staging-testing. Will do that now! I think at this point it'll be

Re: [PATCH 2/7] modpost: add .sched.text and .kprobes.text to the TEXT_SECTIONS list.

2015-03-18 Thread Quentin Casasnovas
Adding Rusty and Michal to CC. On Tue, Mar 17, 2015 at 01:39:57PM +0100, Quentin Casasnovas wrote: .sched.text and .kprobes.text should behave exactly like .text with regards to how we should warn about referencing sections which might get discarded at runtime. Signed-off-by: Quentin

Re: [PATCH 3/7] modpost: add handler function pointer to sectioncheck.

2015-03-18 Thread Quentin Casasnovas
Adding Rusty and Michal to CC. On Tue, Mar 17, 2015 at 01:39:58PM +0100, Quentin Casasnovas wrote: This will be useful when we want to have special handlers which need to go through more hops to print useful information to the user. Signed-off-by: Quentin Casasnovas

[PATCH v6 03/12] drm/panel: add support for Samsung LTN140AT29 panel

2015-03-18 Thread Tomeu Vizoso
From: Stéphane Marchesin marc...@chromium.org This panel is used by the Nyan Blaze board and supported by the simple-panel driver. Signed-off-by: Stéphane Marchesin marc...@chromium.org [tomeu.viz...@collabora.com: add device tree binding document] Signed-off-by: Tomeu Vizoso

Re: regression: nested: L1 3.15+ fails to load kvm-intel on L0 3.15

2015-03-18 Thread Stefan Bader
On 18.03.2015 10:18, Paolo Bonzini wrote: On 18/03/2015 09:46, Stefan Bader wrote: Regardless of that, I wonder whether the below (this version untested) sound acceptable for upstream? At least it would make debugging much simpler. :) --- a/arch/x86/kvm/vmx.c +++ b/arch/x86/kvm/vmx.c

[PATCH v6 04/12] ARM: tegra: Add DTS for the nyan-blaze board

2015-03-18 Thread Tomeu Vizoso
It's commercial name is HP Chromebook 14 and is substantially similar to the Acer Chromebook 13 (nyan-big). Signed-off-by: Tomeu Vizoso tomeu.viz...@collabora.com Acked-by: Stephen Warren swar...@nvidia.com Reviewed-by: Alexandre Courbot acour...@nvidia.com --- arch/arm/boot/dts/Makefile

[PATCH v6 00/12] Improvements to Tegra-based Chromebook support

2015-03-18 Thread Tomeu Vizoso
v6: * Added Acked-by and Reviewed-By tags * Rebased on top of 4.0-rc1 * Added patch that marks the WiFi card as powered during suspend v5: * Moved to use gpio-restart for reboots, had to make tegra_pmc_restart a notification handler v4: * Added support for the

Re: [PATCH -next] pinctrl: mediatek: Fix include directive

2015-03-18 Thread Linus Walleij
On Wed, Mar 11, 2015 at 5:05 PM, Guenter Roeck li...@roeck-us.net wrote: Fix the following build failure: In file included from drivers/pinctrl/mediatek/pinctrl-mt8135.c:24:0: drivers/pinctrl/mediatek/pinctrl-mtk-mt8135.h:19:32: fatal error: pinctrl-mtk-common.h: No such file or

Re: [PATCH RESEND 1/5] staging: sm750fb: Use memset_io instead of memset

2015-03-18 Thread Dan Carpenter
On Wed, Mar 18, 2015 at 01:17:17PM +0300, Dan Carpenter wrote: Why is there a RESEND in the subject. On Wed, Mar 18, 2015 at 08:57:22AM +, Lorenzo Stoakes wrote: This patch uses memset_io instead of memset when using memset on __iomem qualified pointers. This fixes the following sparse

Re: [PATCH RESEND 1/5] staging: sm750fb: Use memset_io instead of memset

2015-03-18 Thread Dan Carpenter
On Wed, Mar 18, 2015 at 10:46:52AM +, Lorenzo Stoakes wrote: On 18 March 2015 at 10:17, Dan Carpenter dan.carpen...@oracle.com wrote: Why is there a RESEND in the subject. To avoid confusion (and Sudip explicitly mentioned there might be some), and in addition I had to update my patch

[PATCH] clocksource: atmel-st: select REGMAP_MMIO

2015-03-18 Thread Alexandre Belloni
Enforce REGMAP_MMIO selection as the driver needs it. Else, it will still compile with some warning about X1, x2 or sr being used uninitialized. Reported-by: fengguang...@intel.com Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- Daniel, I think this should go through

Re: [PATCH RESEND 1/5] staging: sm750fb: Use memset_io instead of memset

2015-03-18 Thread Lorenzo Stoakes
On 18 March 2015 at 10:59, Dan Carpenter dan.carpen...@oracle.com wrote: Btw, sorry for coming down hard on you. You're a newbie and expected to make these mistakes. Your patches are good and appreciated. Thanks and no problem, I expect to receive robust criticism given the high standards in

Re: [PATCH] Check ARCH and IS_64_BIT instead of IS_X86_64 in perf

2015-03-18 Thread Adrian Hunter
Hi +Arnaldo +Jiri I would change the commit message and subject. Say: Subject: perf tools: Fix perf-read-vdsox32 not building and lib64 install dir Commit: c6e5e9fbc3ea (perf tools: Fix building error in x86_64 when dwarf unwind is on) removed the definition of IS_X86_64 but not all

Re: [PATCH 2/3] TTY: add support for tty_slave devices.

2015-03-18 Thread Paul Bolle
Just two nits to look into once you get to fix up all the smaller issues. NeilBrown schreef op wo 18-03-2015 om 16:58 [+1100]: --- /dev/null +++ b/drivers/tty/slave/Kconfig @@ -0,0 +1,7 @@ +menuconfig TTY_SLAVE + tristate TTY slave devices + depends on OF + help +

Re: [PATCH v6 13/13] HACK: Hide RPMB partitions

2015-03-18 Thread Tomeu Vizoso
Sorry about the noise, I didn't intend to send this one. Regards, Tomeu On 18 March 2015 at 10:52, Tomeu Vizoso tomeu.viz...@collabora.com wrote: --- drivers/mmc/card/block.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/card/block.c

[PATCH v6 09/12] drm/tegra: Reset the SOR on probe

2015-03-18 Thread Tomeu Vizoso
As there isn't a way for the firmware on the Nyan chromebooks to hand over the display to the kernel. Signed-off-by: Tomeu Vizoso tomeu.viz...@collabora.com Acked-by: Stephen Warren swar...@nvidia.com Reviewed-by: Alexandre Courbot acour...@nvidia.com --- drivers/gpu/drm/tegra/sor.c | 14

Re: [PATCH RFC 0/2] x86/fpu: avoid xstate_fault in xsave_user/xrestore_user

2015-03-18 Thread Borislav Petkov
On Wed, Mar 18, 2015 at 10:06:32AM +0100, Quentin Casasnovas wrote: What if we renamed it to check_asm()/check_user_asm() and have the first argument be a string, like an asm statement? So basically check_asm() would be exactly like an asm() statement except that it'll use a comma to separate

[PATCH] net: nl80211 - pass name_assign_type to rdev_add_virtual_intf()

2015-03-18 Thread Tom Gundersen
This will expose in /sys whether the ifname of a device is set by userspace or generated by the kernel. The latter kind (wlanX, etc) is not deterministic, so userspace needs to rename these devices to names that are guaranteed to stay the same between reboots. The former, however should never be

Re: [PATCH v2] drm/i915: gen4: work around hang during hibernation

2015-03-18 Thread Ville Syrjälä
On Wed, Mar 18, 2015 at 10:37:16AM +0100, Paul Bolle wrote: Imre Deak schreef op ma 02-03-2015 om 13:04 [+0200]: Bjørn reported that his machine hang during hibernation and eventually bisected the problem to the following commit: commit da2bc1b9db3351addd293e5b82757efe1f77ed1d Author:

[RFC PATCH] v4l2-subdev: allow subdev to send an event to the v4l2_device notify function

2015-03-18 Thread Jean-Michel Hautbois
All drivers use custom notifications, in particular when source changes. The bridge only has to map the subdev that sends it to whatever video node it is connected to. Signed-off-by: Jean-Michel Hautbois jean-michel.hautb...@vodalys.com --- Documentation/video4linux/v4l2-framework.txt | 4

Re: [BUG/PATCH] kernel RNG and its secrets

2015-03-18 Thread Hannes Frederic Sowa
On Wed, Mar 18, 2015, at 10:53, mancha wrote: Hi. The kernel RNG introduced memzero_explicit in d4c5efdb9777 to protect memory cleansing against things like dead store optimization: void memzero_explicit(void *s, size_t count) { memset(s, 0, count);

Re: [PATCH RESEND 1/5] staging: sm750fb: Use memset_io instead of memset

2015-03-18 Thread Vitaly Kuznetsov
Lorenzo Stoakes lstoa...@gmail.com writes: This patch uses memset_io instead of memset when using memset on __iomem qualified pointers. This fixes the following sparse warnings:- drivers/staging/sm750fb/sm750.c:489:17: warning: incorrect type in argument 1 (different address spaces)

[PATCH V2] tick/broadcast-hrtimer : Fix suspicious RCU usage in idle loop

2015-03-18 Thread Preeti U Murthy
The hrtimer mode of broadcast queues hrtimers in the idle entry path so as to wakeup cpus in deep idle states. The associated call graph is : cpuidle_idle_call() | clockevents_notify(CLOCK_EVT_NOTIFY_BROADCAST_ENTER, )) |_tick_broadcast_set_event()

Re: Linux XIA - merge proposal

2015-03-18 Thread Oded Gabbay
On 03/17/2015 02:25 PM, Michel Machado wrote: On 03/15/2015 05:37 AM, Greg KH wrote: On Fri, Mar 13, 2015 at 11:26:46AM -0400, Michel Machado wrote: On 03/10/2015 01:01 PM, Bjorn Helgaas wrote: From my point of view (far outside the networking world and completely incompetent to judge the

Re: [PATCH v2] phy: Add a driver for dm816x USB PHY

2015-03-18 Thread Paul Bolle
Two trivialities I failed the spot the first time. On Tue, 2015-03-17 at 17:12 -0700, Tony Lindgren wrote: diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig index 2962de2..c858c2b 100644 --- a/drivers/phy/Kconfig +++ b/drivers/phy/Kconfig +config PHY_DM816X_USB + tristate TI

Re: [PATCH RESEND 1/5] staging: sm750fb: Use memset_io instead of memset

2015-03-18 Thread Lorenzo Stoakes
On 18 March 2015 at 10:50, Vitaly Kuznetsov vkuzn...@redhat.com wrote: ERROR is reported by scripts/checkpatch.pl (spaces are missing after ','). This coding style problem was there before your patch but I don't think it makes sense to preserve it. [snip] WARNING: please, no spaces at the

Re: linux-next: manual merge of the slave-dma tree with the renesas tree

2015-03-18 Thread Vinod Koul
On Wed, Mar 18, 2015 at 12:03:22PM +1100, Stephen Rothwell wrote: Hi Vinod, Today's linux-next merge of the slave-dma tree got a conflict in arch/arm/mach-shmobile/board-ape6evm.c between commit 9d07d414d4c3 (ARM: shmobile: r8a73a4: ape6evm: Remove legacy platform) from the renesas tree and

Re: linux-next: manual merge of the kvm-arm tree with Linus' tree

2015-03-18 Thread Christoffer Dall
Hi Stephen, On Wed, Mar 18, 2015 at 02:41:11PM +1100, Stephen Rothwell wrote: Hi all, Today's linux-next merge of the kvm-arm tree got a conflict in virt/kvm/arm/vgic.c between commit ae705930fca6 (arm/arm64: KVM: Keep elrsr/aisr in sync with software model) from Linus' tree and commit

Re: [PATCH v2 3/5] PCI: st: Provide support for the sti PCIe controller

2015-03-18 Thread Fabrice Gasnier
Hi Paul, On 03/16/2015 04:11 PM, Paul Bolle wrote: +config PCI_ST + bool ST PCIe controller You add a bool Kconfig symbol. A week or two ago I saw some patches fly by that - I think - allowed PCIe controllers to be built modular. Thanks for your review. Are you talking about PCI:

Re: [LKP] [lockdep] ef9db2383c7: WARNING: CPU: 0 PID: 1 at kernel/locking/lockdep.c:3538 check_flags+0x22d/0x240()

2015-03-18 Thread Peter Zijlstra
On Wed, Mar 18, 2015 at 04:15:07PM +0800, Huang Ying wrote: [0.043211] [ cut here ] [0.043778] WARNING: CPU: 0 PID: 1 at kernel/locking/lockdep.c:3538 check_flags+0x22d/0x240() [0.044000] DEBUG_LOCKS_WARN_ON(current-hardirqs_enabled) [0.044000]

Re: [PATCH 1/7] modpost: add strict white-listing when referencing sections.

2015-03-18 Thread Quentin Casasnovas
On Tue, Mar 17, 2015 at 09:25:07AM -0700, Linus Torvalds wrote: On Tue, Mar 17, 2015 at 5:39 AM, Quentin Casasnovas quentin.casasno...@oracle.com wrote: Prints a warning when a section references a section outside a strict white-list. This will be useful to print a warning if __ex_table

Re: [PATCHv3 0/5] arm-cci400: PMU monitoring support on ARM64

2015-03-18 Thread Suzuki K. Poulose
On 17/03/15 18:54, Will Deacon wrote: On Tue, Mar 10, 2015 at 03:18:50PM +, Suzuki K. Poulose wrote: From: Suzuki K. Poulose suzuki.poul...@arm.com This series enables the PMU monitoring support for CCI400 on ARM64. The existing CCI400 driver code is a mix of PMU driver and the MCPM driver

[PATCH] net: macb: fix endian code for avr32

2015-03-18 Thread Ben Dooks
[note this has yet to be compile tested on avr32] The changes to run the macb driver in 29af05aeb98e (net: macb: Add big endian CPU support) to support big endian operation on ARM may not work on AVR32 which already is naturally big endian architecture (and the driver already works here). In

[LKP] [regression] d7aa432ad5f: -5.6% will-it-scale.per_thread_ops

2015-03-18 Thread Huang Ying
FYI, we noticed the below changes on git://flatbed.openfabrics.org/~amirv/linux.git for-upstream commit d7aa432ad5fa589c56a11bd7993cff05e9b87d05 (regression: Disable FENTRY [topic: regression] [net-next:regression]) testbox/testcase/testparams: lkp-sb03/will-it-scale/poll2 5cd08c4aa1751f04

[LKP] [Btrfs] 3a8b36f3780: -62.6% fileio.requests_per_sec

2015-03-18 Thread Huang Ying
FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit 3a8b36f378060d20062a0918e99fae39ff077bf0 (Btrfs: fix data loss in the fast fsync path) testbox/testcase/testparams:

Re: [PATCH RFC 0/2] x86/fpu: avoid xstate_fault in xsave_user/xrestore_user

2015-03-18 Thread Quentin Casasnovas
On Tue, Mar 17, 2015 at 01:07:39PM +0100, Borislav Petkov wrote: On Tue, Mar 17, 2015 at 12:36:58PM +0100, Quentin Casasnovas wrote: Right, FWIW I think your approach is valid, but not very generic. Re-using the check_insn() and making it more generic so we can widen its use felt like a

Re: [PATCH] perf tools: Work around lack of sched_getcpu in glibc 2.6.

2015-03-18 Thread Peter Zijlstra
On Tue, Mar 17, 2015 at 04:49:13PM -0700, Vinson Lee wrote: On Mon, Feb 16, 2015 at 12:50 PM, Yann Droneaud ydrone...@opteya.com wrote: +#ifdef __GLIBC_PREREQ +#if __GLIBC_PREREQ(2, 6) +#define HAVE_SCHED_GETCPU +#endif +#endif @@ -21,9 +27,13 @@ static int perf_flag_probe(void)

[PATCH v1] qcom: opensource: mmc-utils: fix building errors

2015-03-18 Thread Yaniv Gardi
3rd party HMAC SHA256 implementation has been added to the driver, and since driver common code (mmc_cmds.c) includes calling to routines and data structures that reside in these 3rd party files (under 3rdparty\hmac_sha) these files should be compiled as well in Android.mk makefile. Change-Id:

Re: [PATCH v2] ARM: EXYNOS: Fix failed second suspend on Exynos4

2015-03-18 Thread Krzysztof Kozlowski
On śro, 2015-03-18 at 09:57 +0100, Krzysztof Kozlowski wrote: On śro, 2015-03-18 at 03:05 +0900, Kukjin Kim wrote: On 03/11/15 19:29, Krzysztof Kozlowski wrote: On śro, 2015-03-11 at 11:20 +0100, Krzysztof Kozlowski wrote: On Exynos4412 boards (Trats2, Odroid U3) after enabling L2 cache

[PATCH 0/6] pinctrl: st: Fix disparity between Pinctrl GPIO in /sysfs

2015-03-18 Thread Lee Jones
ST's hardware differentiates between GPIO mode and Pinctrl alternate functions. When a pin is in GPIO mode, there are dedicated registers to set and obtain direction status. However, If a pin's alternate function is in use then the direction is set and status is derived from a bunch of syscon

Re: [PATCH RESEND 1/5] staging: sm750fb: Use memset_io instead of memset

2015-03-18 Thread Dan Carpenter
On Wed, Mar 18, 2015 at 11:12:20AM +, Lorenzo Stoakes wrote: On 18 March 2015 at 10:50, Vitaly Kuznetsov vkuzn...@redhat.com wrote: ERROR is reported by scripts/checkpatch.pl (spaces are missing after ','). This coding style problem was there before your patch but I don't think it makes

Re: [PATCH v2] drivers: hwspinlock: add CSR atlas7 implementation

2015-03-18 Thread Barry Song
2015-03-09 14:11 GMT+08:00 Barry Song 21cn...@gmail.com: From: Wei Chen wei.c...@csr.com Add hwspinlock support for the CSR atlas7 SoC. The Hardware Spinlock device on atlas7 provides hardware assistance for synchronization between the multiple processors in the system (dual Cortex-A7, CAN

Re: [PATCH 5/7] modpost: mismatch_handler: retrieve tosym information only when needed.

2015-03-18 Thread Quentin Casasnovas
Adding Rusty and Michal to CC. On Tue, Mar 17, 2015 at 01:40:00PM +0100, Quentin Casasnovas wrote: Signed-off-by: Quentin Casasnovas quentin.casasno...@oracle.com --- scripts/mod/modpost.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/mod/modpost.c

Re: [PATCH 4/7] modpost: factorize symbol pretty print in get_pretty_name().

2015-03-18 Thread Quentin Casasnovas
Adding Rusty and Michal to CC. On Tue, Mar 17, 2015 at 01:39:59PM +0100, Quentin Casasnovas wrote: Signed-off-by: Quentin Casasnovas quentin.casasno...@oracle.com --- scripts/mod/modpost.c | 23 --- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git

Re: [PATCH 6/7] scripts: add check_extable.sh script.

2015-03-18 Thread Quentin Casasnovas
Adding Rusty and Michal to CC. On Tue, Mar 17, 2015 at 01:40:01PM +0100, Quentin Casasnovas wrote: This shell script can be used to sanity check the __ex_table section on an object file, making sure the relocations in there are pointing to valid executable sections. If it finds some

[PATCH v6 07/12] ARM: tegra: Use the generated pinmux data

2015-03-18 Thread Tomeu Vizoso
Google has submitted a board config for the pinmux programming of the Nyan Big board. Use the whole of it as it's generated to make it easier to update as the configuration gets fixed in the future. Signed-off-by: Tomeu Vizoso tomeu.viz...@collabora.com Acked-by: Stephen Warren swar...@nvidia.com

[PATCH v6 05/12] ARM: tegra: Add node for trackpad in Nyan boards

2015-03-18 Thread Tomeu Vizoso
The Nyan boards have a eKTH3000 from Elan as their trackpad, connected through I2C. Signed-off-by: Tomeu Vizoso tomeu.viz...@collabora.com Acked-by: Stephen Warren swar...@nvidia.com Reviewed-by: Alexandre Courbot acour...@nvidia.com --- arch/arm/boot/dts/tegra124-nyan.dtsi | 8 1 file

[PATCH v6 12/12] ARM: tegra: The WiFi card is kept powered during suspend

2015-03-18 Thread Tomeu Vizoso
Even if the host controller doesn't have power during suspend, the card is kept powered. Signed-off-by: Tomeu Vizoso tomeu.viz...@collabora.com --- arch/arm/boot/dts/tegra124-nyan.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/tegra124-nyan.dtsi

[PATCH v6 13/13] HACK: Hide RPMB partitions

2015-03-18 Thread Tomeu Vizoso
--- drivers/mmc/card/block.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/card/block.c b/drivers/mmc/card/block.c index c69afb5..f9d8fc3 100644 --- a/drivers/mmc/card/block.c +++ b/drivers/mmc/card/block.c @@ -2252,7 +2252,7 @@ static int

[PATCH v6 11/12] ARM: tegra: Add gpio-restart node

2015-03-18 Thread Tomeu Vizoso
The Nyan Chromebooks have a GPIO line dedicated to restarting the system. Using this line will make sure that the TPM is restarted as well. Signed-off-by: Tomeu Vizoso tomeu.viz...@collabora.com Acked-by: Stephen Warren swar...@nvidia.com Reviewed-by: Alexandre Courbot acour...@nvidia.com ---

[PATCH v6 10/12] soc/tegra: pmc: move to using a restart handler

2015-03-18 Thread Tomeu Vizoso
From: David Riley davidri...@chromium.org The pmc driver was previously exporting tegra_pmc_restart, which was assigned to machine_desc.init_machine, taking precedence over the restart handlers registered through register_restart_handler(). Signed-off-by: David Riley davidri...@chromium.org

Re: regression: nested: L1 3.15+ fails to load kvm-intel on L0 3.15

2015-03-18 Thread Paolo Bonzini
On 18/03/2015 10:59, Stefan Bader wrote: @@ -2850,7 +2851,7 @@ static __init int setup_vmcs_config(struct vmcs_config *vmcs_conf) vmx_capability.ept, vmx_capability.vpid); } -min = 0; + min = VM_EXIT_SAVE_DEBUG_CONTROLS; #ifdef CONFIG_X86_64 min |= VM_EXIT_HOST_ADDR_SPACE_SIZE;

[PATCH 1/6] ARM: STi: DT: STiH407: Fix retime pin mask for PIO5 and PIO35

2015-03-18 Thread Lee Jones
From: Karim BEN BELGACEM karim.ben-belga...@st.com This will avoid programming the retime registers when not implemented - PIO5 : no retime registers assigned to pins 6 and 7 - PIO35 : pin 7 is reserved so no retime register assigned to it Signed-off-by: Karim BEN BELGACEM

[PATCH v4 0/3] genirq: Saving/restoring the irqchip state of an irq line

2015-03-18 Thread Marc Zyngier
Despite Linux offering a rather fine grained control over the life cycle of an interrupt, there is a few cases where it would be very useful to snapshot (or even set) the internal state of the interrupt controller for a given interrupt line: - With KVM, a device shared between VMs must have its

[PATCH v4 2/3] irqchip: GIC: Add support for irq_{get,set}_irqchip_state

2015-03-18 Thread Marc Zyngier
Add the required hooks for the internal state of an interrupt to be exposed to other subsystems. Signed-off-by: Marc Zyngier marc.zyng...@arm.com --- drivers/irqchip/irq-gic.c | 69 --- 1 file changed, 65 insertions(+), 4 deletions(-) diff --git

[PATCH v4 3/3] irqchip: GICv3: Add support for irq_{get,set}_irqchip_state

2015-03-18 Thread Marc Zyngier
Add the required hooks for the internal state of an interrupt to be exposed to other subsystems. Signed-off-by: Marc Zyngier marc.zyng...@arm.com --- drivers/irqchip/irq-gic-v3.c | 83 +--- 1 file changed, 70 insertions(+), 13 deletions(-) diff --git

Re: [Linux-nvdimm] [RFC PATCH 3/7] dma-mapping: allow archs to optionally specify a -map_pfn() operation

2015-03-18 Thread Boaz Harrosh
On 03/16/2015 10:25 PM, Dan Williams wrote: This is in support of enabling block device drivers to perform DMA to/from persistent memory which may not have a backing struct page entry. Signed-off-by: Dan Williams dan.j.willi...@intel.com --- arch/Kconfig |3

Re: [PATCH_V3 2/3] dma: jz4780: add driver for the Ingenic JZ4780 DMA controller

2015-03-18 Thread Vinod Koul
On Tue, Mar 17, 2015 at 06:07:36PM +, Zubair Lutfullah Kakakhel wrote: +static uint32_t jz4780_dma_transfer_size(unsigned long val, int *ord) +{ + *ord = ffs(val) - 1; + + /* 8 byte transfer sizes unsupported so fall back on 4. */ okay falling back is not a good idea, same

Re: [PATCH 2/5] iommu/mediatek: Add mt8173 IOMMU driver

2015-03-18 Thread Yong Wu
Hi Tomasz, Thanks very much for your review. please help check below. The others I will fix in the next version. Hi Robin, There are some place I would like you can have a look and give me some suggestion. On Wed, 2015-03-11 at 19:53 +0900, Tomasz Figa wrote: Hi, Please find next part

[PATCH RFC] mm: protect suid binaries against rowhammer with copy-on-read mappings

2015-03-18 Thread Konstantin Khlebnikov
From: Konstantin Khlebnikov khlebni...@yandex-team.ru Each user gets private copy of the code thus nobody will be able to exploit pages in the page cache. This works for statically-linked binaries. Shared libraries are still vulnerable, but setting suid bit will protect them too. [1]

[PATCH RESEND 3/5] staging: sm750fb: Remove unused function

2015-03-18 Thread Lorenzo Stoakes
This patch removes the unused hw712_fillrect function. This patch fixes the following sparse warning:- drivers/staging/sm750fb/sm750_accel.c:95:5: warning: symbol 'hw712_fillrect' was not declared. Should it be static? Signed-off-by: Lorenzo Stoakes lstoa...@gmail.com ---

[PATCH RESEND 2/5] staging: sm750fb: Make internal functions static

2015-03-18 Thread Lorenzo Stoakes
This patch declares externally unavailable functions static. This fixes the following sparse warnings:- drivers/staging/sm750fb/ddk750_swi2c.c:223:6: warning: symbol 'swI2CStart' was not declared. Should it be static? drivers/staging/sm750fb/ddk750_swi2c.c:234:6: warning: symbol 'swI2CStop' was

Re: [PATCH] hwrng: core - allow perfect entropy from hardware devices

2015-03-18 Thread Herbert Xu
On Wed, Mar 18, 2015 at 12:15:49AM -0700, Keith Packard wrote: Herbert Xu herb...@gondor.apana.org.au writes: Please cc all hwrng patches to linux-cry...@vger.kernel.org so that it gets picked up by patchworks. Thanks! Thanks! I didn't catch that in the MAINTAINERS file. Might be a good

[PATCH RESEND 4/5] staging: sm750fb: Fix __iomem pointer types

2015-03-18 Thread Lorenzo Stoakes
This patch annotates pointers as referring to I/O mapped memory where they ought to be, removes now unnecessary ugly casts, eliminates an incorrect deref on I/O mapped memory by using iowrite16 instead, and updates the pointer arithmetic accordingly to take into account that the pointers are now

[PATCH RESEND 1/5] staging: sm750fb: Use memset_io instead of memset

2015-03-18 Thread Lorenzo Stoakes
This patch uses memset_io instead of memset when using memset on __iomem qualified pointers. This fixes the following sparse warnings:- drivers/staging/sm750fb/sm750.c:489:17: warning: incorrect type in argument 1 (different address spaces) drivers/staging/sm750fb/sm750.c:490:17: warning:

[PATCH RESEND 5/5] staging: sm750fb: Remove spinlock helper function

2015-03-18 Thread Lorenzo Stoakes
This patch removes the unnecessary spinlock helper function and instead calls spin_lock and spin_unlock directly. This does *not* resolve sparse warnings about context imbalances but these are spurious. Signed-off-by: Lorenzo Stoakes lstoa...@gmail.com --- drivers/staging/sm750fb/sm750.c | 53

Re: [PATCH 7/7] modpost: handle relocations mismatch in __ex_table.

2015-03-18 Thread Quentin Casasnovas
Adding Rusty and Michal to CC. On Tue, Mar 17, 2015 at 01:40:02PM +0100, Quentin Casasnovas wrote: __ex_table is a simple table section where each entry is a pair of addresses - the first address is an address which can fault in kernel space, and the second address points to where the kernel

[PATCH v6 01/12] ARM: tegra: Change model of sound card in Nyan Big

2015-03-18 Thread Tomeu Vizoso
Change it from Acer Chromebook 13 to GoogleNyanBig so it's unique and identifiable. With this change the card id exposed to userspace becomes GoogleNyanBig instead of the current A13. Signed-off-by: Tomeu Vizoso tomeu.viz...@collabora.com Acked-by: Stephen Warren swar...@nvidia.com Reviewed-by:

[PATCH v6 06/12] ARM: tegra: Use pwrseq-simple for the wifi in Nyan

2015-03-18 Thread Tomeu Vizoso
The Nyan boards have a Marvell 88w8897 wifi card connected through SDIO that needs the reset line to be asserted before mmc power up and deasserted afterwards. This patch also adds references to the power supplies of the card so that the regulators are enabled when it's probed. Signed-off-by:

Re: [LKP] [Btrfs] 3a8b36f3780: -62.6% fileio.requests_per_sec

2015-03-18 Thread Filipe Manana
On 03/18/2015 08:20 AM, Huang Ying wrote: FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit 3a8b36f378060d20062a0918e99fae39ff077bf0 (Btrfs: fix data loss in the fast fsync path) testbox/testcase/testparams:

Re: [PATCHv3 xfstests 2/3] generic: test openat and new O_BENEATH flag

2015-03-18 Thread David Drysdale
[resend, remembering to tick the Plaintext button this time -- sorry] On Wed, Mar 18, 2015 at 2:52 AM, Dave Chinner da...@fromorbit.com wrote: On Tue, Mar 17, 2015 at 08:33:27AM -0700, Kees Cook wrote: On Mon, Mar 16, 2015 at 4:24 PM, Dave Chinner da...@fromorbit.com wrote: On Mon, Mar 09,

Re: Hit a deadlock: between AER and pcieport/pciehp

2015-03-18 Thread Guenter Roeck
On Tue, Mar 17, 2015 at 09:28:24PM -0500, Bjorn Helgaas wrote: [+cc Rafael] Hi Rajat, On Tue, Mar 17, 2015 at 2:11 PM, Rajat Jain rajatxj...@gmail.com wrote: Hello, I was wondering if any one has a any suggestions to make here. I believe this is a pretty serious deadlock - and I'm

Re: [PATCH] ARM: dts: sun9i: Enable ARM architected timer on A80

2015-03-18 Thread Maxime Ripard
On Wed, Mar 18, 2015 at 04:00:28PM +0800, Chen-Yu Tsai wrote: The A80 SoC has the architected timer, but the existing firmware from Allwinner does not set CNTFRQ at all. Signed-off-by: Chen-Yu Tsai w...@csie.org Merged, thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel

Re: [PATCH v2 3/5] PCI: st: Provide support for the sti PCIe controller

2015-03-18 Thread Paul Bolle
Hi Fabrice, Fabrice Gasnier schreef op wo 18-03-2015 om 09:49 [+0100]: On 03/16/2015 04:11 PM, Paul Bolle wrote: +config PCI_ST + bool ST PCIe controller You add a bool Kconfig symbol. A week or two ago I saw some patches fly by that - I think - allowed PCIe controllers to be built

Re: [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-18 Thread Boaz Harrosh
On 03/16/2015 10:25 PM, Dan Williams wrote: Avoid the impending disaster of requiring struct page coverage for what is expected to be ever increasing capacities of persistent memory. If you are saying disaster, than we need to believe you. Or is there a scientific proof for this. Actually

Re: [PATCH RESEND 1/5] staging: sm750fb: Use memset_io instead of memset

2015-03-18 Thread Lorenzo Stoakes
On 18 March 2015 at 10:17, Dan Carpenter dan.carpen...@oracle.com wrote: Why is there a RESEND in the subject. To avoid confusion (and Sudip explicitly mentioned there might be some), and in addition I had to update my patch series to take into account that it no longer applied due to another

Re: [PATCH v2] ARM: EXYNOS: Fix failed second suspend on Exynos4

2015-03-18 Thread Bartlomiej Zolnierkiewicz
Hi, On Wednesday, March 18, 2015 10:47:44 AM Krzysztof Kozlowski wrote: On śro, 2015-03-18 at 09:57 +0100, Krzysztof Kozlowski wrote: On śro, 2015-03-18 at 03:05 +0900, Kukjin Kim wrote: On 03/11/15 19:29, Krzysztof Kozlowski wrote: On śro, 2015-03-11 at 11:20 +0100, Krzysztof

Re: [PATCH RESEND 1/5] staging: sm750fb: Use memset_io instead of memset

2015-03-18 Thread Lorenzo Stoakes
On 18 March 2015 at 10:52, Dan Carpenter dan.carpen...@oracle.com wrote: I often say don't resend because something is minor and I don't want to slow you down but since you were resending it anyway then please fix it. Also changelogs are really easy to fix. In mutt, you can do it without

Re: [PATCH 1/5] USB: ehci-atmel: rework clk handling

2015-03-18 Thread Nicolas Ferre
Le 17/03/2015 20:01, Alan Stern a écrit : On Tue, 17 Mar 2015, Boris Brezillon wrote: The EHCI IP only needs the UTMI/UPLL (uclk) and the peripheral (iclk) clocks to work properly. Remove the useless system clock (fclk). Avoid calling set_rate on the fixed rate UTMI/IPLL clock and remove

  1   2   3   4   5   6   7   8   9   10   >