[PATCHv2 2/7] Adding AES routines for VMX module

2015-02-06 Thread Marcelo H. Cerri
This patch adds AES routines to VMX module in order to make use of VMX cryptographic acceleration instructions on Power 8 CPU. Signed-off-by: Leonidas S. Barbosa --- drivers/crypto/vmx/aes.c | 139 + drivers/crypto/vmx/aesp8-ppc.h | 20 ++ 2

[PATCHv2 1/7] Adding VMX module for Power 8

2015-02-06 Thread Marcelo H. Cerri
This patch adds routines supporting VMX instructions on the Power 8. Signed-off-by: Leonidas S. Barbosa --- drivers/crypto/vmx/vmx.c | 88 1 file changed, 88 insertions(+) create mode 100644 drivers/crypto/vmx/vmx.c diff --git

[PATCH 1/1] ARM: dts: Add mclk entry for Snow and Peach Pit/Pi boards

2015-02-06 Thread Javier Martinez Canillas
From: Tushar Behera On Snow, Peach Pit and Peach Pi boards, the Exynos SoC XCLKOUT output pin provides the master clock (mclk) to codecs. So make them a clock consumer. Signed-off-by: Tushar Behera Signed-off-by: Javier Martinez Canillas --- arch/arm/boot/dts/exynos5250-snow.dts | 2 ++

[PATCHv2 0/7] Add VMX module for PPC64

2015-02-06 Thread Leonidas S. Barbosa
VMX cryptographic acceleration instructions were added to the POWER8 CPU. These instructions implement portions of AES and GHASH in hardware. This patch set adds a new module for PPC64, vmx, that support cryptographic routines such as AES and GHASH on hardware. In order to access VMX instructions

Re: [PATCH] Input: pixcir_i2c_ts - Add RESET gpio

2015-02-06 Thread Dmitry Torokhov
Hi Roger, On Fri, Feb 06, 2015 at 02:53:10PM +0200, Roger Quadros wrote: > The controller has a RESET pin which is usually controlled over > a GPIO line. If such a GPIO is provided, perform a RESET > during probe. > > Signed-off-by: Roger Quadros > --- >

[PATCH v2] usb: dwc2: Register interrupt handler only once gadget is correctly initialized

2015-02-06 Thread Romain Perier
Don't register interrupt handler before usb gadget is correctly initialized. For some embedded platforms which don't have a usb-phy, it crashes the driver because an interrupt is emitted with non-initialized hardware. According to devm_request_irq documentation, an interrupt can be emitted at any

Re: Linux 3.19-rc5

2015-02-06 Thread Linus Torvalds
On Fri, Feb 6, 2015 at 8:39 AM, Peter Zijlstra wrote: > > I like the macro one though; I worry a wee bit about non-documented > cases through. If someone is doing something way subtle we'll break it > :/ Yeah, I agree. And I wonder how much we should even care. People who do this thing by hand -

[PATCH 2/4] HID: Display the real wheel model and supported alternate modes through sysfs. This applies only to multimode wheels.

2015-02-06 Thread Michal Malý
Display the real wheel model and supported alternate modes through sysfs. This applies only to multimode wheels. Signed-off-by: Michal Malý --- drivers/hid/hid-lg4ff.c | 209 ++-- 1 file changed, 202 insertions(+), 7 deletions(-) diff --git

[PATCH 1/4] HID: Identify Logitech gaming wheels in compatibility modes accordingly to Logitech specifications

2015-02-06 Thread Michal Malý
Identify Logitech gaming wheels in compatibility modes accordingly to Logitech specifications. Logitech specification contains a general method of identifying various models of their gaming wheels while they are in "compatibility" mode. This patch implements the method instead of checking against

[PATCH 3/4] HID: Introduce a module parameter to disable automatic switch of Logitech gaming wheels from compatibility to native mode. This only applies to multimode wheels.

2015-02-06 Thread Michal Malý
Introduce a module parameter to disable automatic switch of Logitech gaming wheels from compatibility to native mode. This only applies to multimode wheels. Signed-off-by: Michal Malý --- drivers/hid/hid-lg.c| 6 ++ drivers/hid/hid-lg4ff.c | 4 +++- 2 files changed, 9 insertions(+), 1

[PATCH 0/4] HID: Improve handling of multimode Logitech handling wheels

2015-02-06 Thread Michal Malý
This patch series improves handling of various Logitech gaming wheels and allows switching between various compatibility modes which might be useful to improve compatibility with very old games and testing purposes. Signed-off-by: Michal Malý Michal Malý (4): Identify Logitech gaming wheels

[PATCH 4/4] HID: Allow switching of Logitech gaming wheels between available compatibility modes through sysfs. This only applies to multimode wheels.

2015-02-06 Thread Michal Malý
Allow switching of Logitech gaming wheels between available compatibility modes through sysfs. This only applies to multimode wheels. Signed-off-by: Michal Malý --- .../ABI/testing/sysfs-driver-hid-logitech-lg4ff| 45 + drivers/hid/hid-lg4ff.c| 203

Re: [PATCH 4/6] x86,fpu: use disable_task_lazy_fpu_restore helper

2015-02-06 Thread Rik van Riel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/02/2015 02:21 PM, Oleg Nesterov wrote: > I'll try to read this patch tomorrow. Too late for me. > > I think it is fine, but > > On 02/02, r...@redhat.com wrote: >> >> This also fixes the lazy FPU restore disabling in drop_fpu, >> which only

Re: [PATCH 7/7] Enabling VMX module for PPC64

2015-02-06 Thread Leonidas S. Barbosa
Thanks for the advices Paul. Resending patch set as V2. > > +vmx-crypto-objs := vmx.o aesp8-ppc.o ghashp8-ppc.o aes.o aes_cbc.o > > aes_ctr.o ghash.o > > + > > +ifeq ($(CONFIG_PPC64),y) > > Can this test ever fail? In fact we don't need this first IF, since it already depends on PPC64. ---

PATCH[3/3 RFC] PERF, Add remapping support for jit'ed code to perf

2015-02-06 Thread Carl Love
This is a repost to LKML of the patches I sent to the linux-perf-users mailing list. I am reposting it to lkml per Arnaldo Carvalho's request. The following is the jit library for the callbacks to capture the jit code information. This version is just for test purposes. It causes a remapping

PATCH[1/3 RFC] PERF, Add remapping support for jit'ed code to perf

2015-02-06 Thread Carl Love
This is a repost to LKML of the patches I sent to the linux-perf-users mailing list. I am reposting it to lkml per Arnaldo Carvalho's request. The following patch was submitted to the mailing list but is currently not accepted. I have forward ported it to the latest kernel version. The

Re: [PATCH] input: elan: Fix wrong %p extension

2015-02-06 Thread Dmitry Torokhov
On Fri, Feb 06, 2015 at 02:51:13PM +0100, Rasmus Villemoes wrote: > There's no %px extension. From the context I think the intention was > to dump the five bytes which were not as expected, and for that one > should use %ph. > > Signed-off-by: Rasmus Villemoes Applied, thank you. > --- > I

PATCH[2/3 RFC] PERF, Add remapping support for jit'ed code to perf

2015-02-06 Thread Carl Love
This is a repost to LKML of the patches I sent to the linux-perf-users mailing list. I am reposting it to lkml per Arnaldo Carvalho's request. - Added uevent call to process the remap request. The patch adds the calls to

PATCH[0/3 RFC] PERF, Add remapping support for jit'ed code to perf

2015-02-06 Thread Carl Love
This is a repost to LKML of the patches I sent to the linux-perf-users mailing list. I am reposting it to lkml per Arnaldo Carvalho's request. Arnaldo: I got my patch to work without causing perf to seg fault yesterday. So, I am now willing to post what I have as it appears to work. Here is

Re: Linux 3.19-rc5

2015-02-06 Thread Peter Zijlstra
On Fri, Feb 06, 2015 at 08:02:41AM -0800, Linus Torvalds wrote: > On Fri, Feb 6, 2015 at 3:50 AM, Peter Zijlstra wrote: > > > > Also, set_current_state(TASK_RUNNING) is almost always pointless, nobody > > cares about that barrier, so make it go away. > > I'd rather not mix this with the patch,

Re: [PATCH V2] x86, mce, amd: Enable interrupts by default if HW capable

2015-02-06 Thread Borislav Petkov
On Mon, Feb 02, 2015 at 11:02:41AM -0600, Aravind Gopalakrishnan wrote: > We setup APIC vectors for threshold errors if interrupt_capable. > However, we don't set interrupt_enable by default. > Re-working threshold_restart_bank() here so that the first time we > set up lvt_offset, we also set

[PATCH] livepatch: add missing newline to error message

2015-02-06 Thread Josh Poimboeuf
Signed-off-by: Josh Poimboeuf --- kernel/livepatch/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/livepatch/core.c b/kernel/livepatch/core.c index 9adf86b..ff7f47d 100644 --- a/kernel/livepatch/core.c +++ b/kernel/livepatch/core.c @@ -211,7 +211,7 @@ static int

[PATCH] pinctrl: imx: do not implicitly set pin regs to -1

2015-02-06 Thread Stefan Agner
Commit 3dac1918a491 ("pinctrl: imx: detect uninitialized pins") needs the values in struct imx_pin_reg to be -1. This has been done in a rather unorthodox way by setting the memory to 0xff using memset... Use a proper for loop to initialize the whole array with -1. Signed-off-by: Stefan Agner

Re: [PATCHv2, RESEND 01/19] alpha: expose number of page table levels on Kconfig level

2015-02-06 Thread Richard Henderson
On 02/06/2015 06:50 AM, Kirill A. Shutemov wrote: > We would want to use number of page table level to define mm_struct. > Let's expose it as CONFIG_PGTABLE_LEVELS. > > Signed-off-by: Kirill A. Shutemov > Cc: Richard Henderson > Cc: Ivan Kokshaysky > Cc: Matt Turner > Tested-by: Guenter Roeck

Re: [PATCH] x86 spinlock: Fix memory corruption on completing completions

2015-02-06 Thread Linus Torvalds
On Fri, Feb 6, 2015 at 6:49 AM, Raghavendra K T wrote: > Paravirt spinlock clears slowpath flag after doing unlock. [ fix edited out ] So I'm not going to be applying this for 3.19, because it's much too late and the patch is too scary. Plus the bug probably effectively never shows up in real

Re: [RFC][PATCH v2 3/7] trace_events_filter.c: switch to memcmp() and memmem() for matching

2015-02-06 Thread Steven Rostedt
On Fri, 6 Feb 2015 04:00:11 + Al Viro wrote: > From: Al Viro > > we know the lengths in advance... > > Signed-off-by: Al Viro > --- > kernel/trace/trace_events_filter.c | 10 +++--- > 1 file changed, 7 insertions(+), 3 deletions(-) > > diff --git

[PATCH 2/2] kernel/fork: handle put_user errors for CLONE_PARENT_SETTID

2015-02-06 Thread Konstantin Khlebnikov
Handling of flag CLONE_PARENT_SETTID has the same problem: error returned from put_user() is ignored. Glibc completely relies on that feature and uses value returned from syscall only for error checking. Kernels older than v2.6.24 handled that correctly but check has been removed in commit

[PATCH 1/2] kernel/fork: handle put_user errors for CLONE_CHILD_SETTID/CLEARTID

2015-02-06 Thread Konstantin Khlebnikov
Currently kernel ignores put_user() errors when it writes tid for syscall clone flags CLONE_CHILD_SETTID and CLONE_CHILD_CLEARTID. Unfortunately this code always worked in this way. We cannot abort syscall if client tid pointer is invalid. This patch adds get_user() after failed put_user(): if

Re: linux-3.18.y: Add "kconfig: Fix warning "‘jump’ may be used uninitialized""

2015-02-06 Thread Sedat Dilek
On Fri, Feb 6, 2015 at 4:50 PM, Greg Kroah-Hartman wrote: > On Fri, Feb 06, 2015 at 04:40:28PM +0100, Sedat Dilek wrote: >> Hi, >> >> I see the following... >> >> $ yes "" | make oldconfig && make silentoldconfig > HOSTCC scripts/basic/fixdep >> HOSTCC scripts/kconfig/conf.o >> SHIPPED

Re: [Linaro-acpi] [PATCH v8 11/21] ARM64 / ACPI: Get PSCI flags in FADT for PSCI init

2015-02-06 Thread Lorenzo Pieralisi
On Fri, Feb 06, 2015 at 07:56:07AM +, Hanjun Guo wrote: > Hi Lorenzo, Al, > > On 2015年02月06日 03:03, Al Stone wrote: > > On 02/05/2015 10:49 AM, Lorenzo Pieralisi wrote: > >> Hi Al, > > > > Howdy, Lorenzo. > > > >> On Thu, Feb 05, 2015 at 05:11:31PM +, Al Stone wrote: > >>> On 02/04/2015

Re: [PATCH v2 0/5] rcu,nohz,kvm: use RCU extended quiescent state when running KVM guest

2015-02-06 Thread Paul E. McKenney
On Fri, Feb 06, 2015 at 02:50:44PM +0100, Paolo Bonzini wrote: > > > On 06/02/2015 14:46, Frederic Weisbecker wrote: > > > When running a KVM guest on a system with NOHZ_FULL enabled > > > > I just need to clarify the motivation first, does the above situation > > really happen? Ok some distros

Re: [RFC][PATCH v2 2/7] implement memmem()

2015-02-06 Thread Steven Rostedt
On Fri, 6 Feb 2015 04:00:10 + Al Viro wrote: > From: Al Viro > > Signed-off-by: Al Viro > --- > include/linux/string.h | 1 + > lib/string.c | 34 ++ > 2 files changed, 23 insertions(+), 12 deletions(-) > > diff --git a/include/linux/string.h

Re: [PATCH] x86 spinlock: Fix memory corruption on completing completions

2015-02-06 Thread Linus Torvalds
On Fri, Feb 6, 2015 at 7:20 AM, Sasha Levin wrote: > > Can we modify it slightly to avoid potentially accessing invalid memory: So I think there's a race with that. And I'll warn you: the kernel does do speculative reads of memory that might be invalid, not just in places like this. See the

Re: [Update] Re: [PATCH v3]PM/Sleep: Timer quiesce in freeze state

2015-02-06 Thread Peter Zijlstra
On Fri, Feb 06, 2015 at 02:20:13AM +0100, Rafael J. Wysocki wrote: > void freeze_wake(void) > { > + unsigned long flags; > + > + spin_lock_irqsave(_freeze_lock, flags); > + if (suspend_freeze_state > FREEZE_STATE_NONE) { > + suspend_freeze_state = FREEZE_STATE_WAKE; > +

[PATCH] x86, smpboot: Call CLFLUSH only on X86_BUG_CLFLUSH_MONITOR-affected CPUs

2015-02-06 Thread Borislav Petkov
From: Borislav Petkov Subject: [PATCH] x86, smpboot: Call CLFLUSH only on X86_BUG_CLFLUSH_MONITOR-affected CPUs Make the AAI65 erratum workaround for Xeon 7400 machines only instead of punishing all CPUs doing idle with MWAIT with the CLFLUSH penalty. Based on a patch originally by Scotty

Re: [PATCH v2 3/3] misc: sram: switch to ioremap_wc from ioremap

2015-02-06 Thread Philipp Zabel
Am Freitag, den 06.02.2015, 19:15 +0530 schrieb Abhilash Kesavan: > Currently, the SRAM allocator returns device memory via ioremap. > This causes issues on ARM64 when the internal SoC SRAM allocated by > the generic sram driver is used for audio playback. The destination > buffer address (which

Re: [PATCH] x86/smpboot: check if CLFLUSH is actually necessary

2015-02-06 Thread Borislav Petkov
On Sat, Jan 31, 2015 at 12:31:42AM +0100, Borislav Petkov wrote: > asm volatile(ALTERNATIVE(ASM_NOP3, "clflush %[p]", > X86_BUG_CLFLUSH_MONITOR) > : [p] "+m" (*mwait_ptr)); > > Totally untested though - it is supposed to show the idea only. Yeah, here's a working diff,

Re: [PATCH 0/2] ARM: omap2+: omap_hwmod: Fix false lockdep warning

2015-02-06 Thread Peter Ujfalusi
On 02/06/2015 04:13 PM, Peter Zijlstra wrote: > On Fri, Feb 06, 2015 at 02:48:34PM +0200, Peter Ujfalusi wrote: >> Hi, >> >> In case when hwmods are used in nested way the lockdep validator will print >> out >> a warning message about possible deadlock situation: >> >> [4.514882]

[PATCH v4 3/6] Input: synaptics - Query min dimensions for fw v8.1

2015-02-06 Thread Benjamin Tissoires
From: Daniel Martin Query the min dimensions even if the check SYN_EXT_CAP_REQUESTS(priv->capabilities) >= 7 fails, but we know that the firmware version 8.1 is safe. With that we don't need quirks for post-2013 models anymore as they expose correct min and max dimensions. Bugzilla:

Re: Linux 3.19-rc5

2015-02-06 Thread Linus Torvalds
On Fri, Feb 6, 2015 at 3:50 AM, Peter Zijlstra wrote: > > Also, set_current_state(TASK_RUNNING) is almost always pointless, nobody > cares about that barrier, so make it go away. I'd rather not mix this with the patch, and wonder if we should just do that globally with some preprocessor magic.

Re: [RFC][PATCH] sched/rt: Use IPI to trigger RT task push migration instead of pulling

2015-02-06 Thread Mike Galbraith
On Fri, 2015-02-06 at 13:40 +0100, Peter Zijlstra wrote: > On Thu, Feb 05, 2015 at 11:04:20AM -0500, Steven Rostedt wrote: > Well, the thing is, with or without this patch, the worst case is still > the very same. The likelihood of actually triggering it goes down > dramatically [*], but any

Re: MADV_DONTNEED semantics? Was: [RFC PATCH] mm: madvise: Ignore repeated MADV_DONTNEED hints

2015-02-06 Thread Michael Kerrisk (man-pages)
Hi Michael On 02/05/2015 04:41 PM, Michal Hocko wrote: > On Wed 04-02-15 20:24:27, Michael Kerrisk wrote: > [...] >> So, how about this text: >> >> After a successful MADV_DONTNEED operation, the seman‐ >> tics of memory access in the specified region are >>

Re: [PATCH v8 1/2] x86: Add Isolated Memory Regions for Quark X1000

2015-02-06 Thread Bryan O'Donoghue
Ping. Bumping this up the list, as a reminder for 3.20 if possible. -- BOD -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at

[GIT PULL] Thermal SoC management updates for v3.20 #1

2015-02-06 Thread Eduardo Valentin
Hello Rui, Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc-thermal.git fixes to receive Thermal SoC Management updates for v3.20 with top-most 6c247393cfdd6695717f80ff31f9fd9af8c2c525: thermal: exynos: Add TMU support for Exynos7 SoC (2015-01-31 15:20:45

Re: linux-3.18.y: Add "kconfig: Fix warning "‘jump’ may be used uninitialized""

2015-02-06 Thread Greg Kroah-Hartman
On Fri, Feb 06, 2015 at 04:40:28PM +0100, Sedat Dilek wrote: > Hi, > > I see the following... > > $ yes "" | make oldconfig && make silentoldconfigHOSTCC scripts/basic/fixdep > HOSTCC scripts/kconfig/conf.o > SHIPPED scripts/kconfig/zconf.tab.c > SHIPPED scripts/kconfig/zconf.lex.c >

[PATCH v4 2/6] Input: synaptics - Log queried and quirked dimension values

2015-02-06 Thread Benjamin Tissoires
From: Daniel Martin Logging the dimension values we queried (info) and the values we use from a quirk to overwrite (warn) can be helpful for debugging. This partly relates to bug: https://bugzilla.kernel.org/show_bug.cgi?id=91541 Cc: sta...@vger.kernel.org Signed-off-by: Daniel Martin ---

[PATCH v4 4/6] Input: synaptics - Remove obsolete min/max quirk for X240

2015-02-06 Thread Benjamin Tissoires
From: Daniel Martin The firmware of the X240 (LEN0035, 2013/12) exposes the same values x [1232..5710], y [1156..4696] as the quirk applies. Cc: sta...@vger.kernel.org Signed-off-by: Daniel Martin --- drivers/input/mouse/synaptics.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH v4 6/6] Input: synaptics - Skip quirks when post-2013 dimensions

2015-02-06 Thread Benjamin Tissoires
post-2013 Lenovo laptops provide correct min/max dimensions, which are different with the ones currently quirked. According to https://bugzilla.kernel.org/show_bug.cgi?id=91541 The following board ids are assigned in the post-2013 touchpads: t440p/t440s: LEN0036 -> 2964/2962 t540p: LEN0034

[PATCH v4 0/6] synaptics: match PNP-Id is not sufficient for min/max quirks

2015-02-06 Thread Benjamin Tissoires
Hi, Here is the v4 of Daniel's patch series regarding https://bugzilla.kernel.org/show_bug.cgi?id=91541 I am resending the whole series to add the "cc: stable@" flags and to fix v3 5/5 which did not applied properly on top of input.git/for-next. Cheers, Benjamin Benjamin Tissoires (1):

[PATCH v4 1/6] Input: synaptics - Split synaptics_resolution(), query first

2015-02-06 Thread Benjamin Tissoires
From: Daniel Martin Split the function synaptics_resolution() into synaptics_resolution() and synaptics_quirks(). synaptics_resolution() will be called before synaptics_quirks() to query dimensions and resolutions before overwriting them with quirks. Cc: sta...@vger.kernel.org

[PATCH v4 5/6] Input: synaptics - Support min/max board id in min_max_pnpid_table

2015-02-06 Thread Benjamin Tissoires
From: Daniel Martin Add a min/max range for board ids to the min/max coordinates quirk. This makes it possible to restrict quirks to specific models based upon their board id. The define ANY_BOARD_ID (0) serves as a wildcard. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=91541 Cc:

Re: [PATCH v2 0/3] Switch to ioremap_wc in the SRAM allocator code

2015-02-06 Thread Catalin Marinas
On Fri, Feb 06, 2015 at 01:45:25PM +, Abhilash Kesavan wrote: > Fix alignment faults seen during play-back of files with specific > sampling rates such as 44.1K. This is based on the discussion here: > http://www.spinics.net/lists/arm-kernel/msg384647.html > > Patch 1 is needed as m32r arch

Re: MADV_DONTNEED semantics? Was: [RFC PATCH] mm: madvise: Ignore repeated MADV_DONTNEED hints

2015-02-06 Thread Michael Kerrisk (man-pages)
On 02/05/2015 02:07 AM, Minchan Kim wrote: > Hello, > > On Wed, Feb 04, 2015 at 08:24:27PM +0100, Michael Kerrisk (man-pages) wrote: >> On 4 February 2015 at 18:02, Vlastimil Babka wrote: >>> On 02/04/2015 03:00 PM, Michael Kerrisk (man-pages) wrote: Hello Vlastimil, On 4

Re: [PATCH] Input: bfin_rotary - mark suspend and resume code as __maybe_unused

2015-02-06 Thread Geert Uytterhoeven
On Fri, Feb 6, 2015 at 10:06 AM, Sonic Zhang wrote: >> static struct platform_driver bfin_rotary_device_driver = { >> .probe = bfin_rotary_probe, >> .remove = bfin_rotary_remove, >> .driver = { >> .name = "bfin-rotary", > > You

linux-3.18.y: Add "kconfig: Fix warning "‘jump’ may be used uninitialized""

2015-02-06 Thread Sedat Dilek
Hi, I see the following... $ yes "" | make oldconfig && make silentoldconfig offset = strlen(r->s); ^ scripts/kconfig/menu.c:551:19: note: ‘jump’ was declared here struct jump_key *jump; ^ HOSTLD scripts/kconfig/conf scripts/kconfig/conf --oldconfig

[PATCH 1/1] drivers/base: Remove unnecessary OOM message

2015-02-06 Thread Quentin Lambert
This patch fix checkpatch warnings concerning the possible duplication of an "out of memory" message. A simplified version of the semantic patch that finds this problem is as follows: (http://coccinelle.lip6.fr) @@ identifier f,print,l; expression e; constant char[] c; @@ e =

Re: [PATCH 3/3] arm64: dts: Add dts files for Hisilicon Hi6220 SoC

2015-02-06 Thread Brent Wang
Hello Mark, 2015-02-06 18:44 GMT+08:00 Mark Rutland : > On Fri, Feb 06, 2015 at 08:42:22AM +, Brent Wang wrote: >> Hello Mark, >> >> 2015-02-06 3:30 GMT+08:00 Mark Rutland : >> > On Thu, Feb 05, 2015 at 09:24:37AM +, Bintian Wang wrote: >> >> Add initial dtsi file to support Hisilicon

[PATCH] drm: atmel-hlcdc: reset layer A2Q and UPDATE bits when disabling it

2015-02-06 Thread Boris Brezillon
The A2Q (Add To Queue) and UPDATE bits are left in their previous state when resetting the layer. This lead to weird behavior when enabling the plane again: the framebuffer previously queued is dequeued and we end up with access to an old memory region. Reset those bits when resetting the

[PATCH] drm: atmel-hlcdc: add discard area support

2015-02-06 Thread Boris Brezillon
The HLCDC IP provides a way to discard a specific area on the primary plane (in case at least one of the overlay is activated and alpha blending is disabled). Doing this will reduce the amount of data to transfer from the main memory to the Display Controller, and thus alleviate the load on the

Re: [PATCH v6 0/7] PCI: get DMA configuration from parent device

2015-02-06 Thread Murali Karicheri
On 02/06/2015 10:15 AM, Catalin Marinas wrote: On Thu, Feb 05, 2015 at 09:52:52PM +, Murali Karicheri wrote: This patch add an important capability to PCI driver on Keystone. I hope to have this merged to the upstream branch so that it is available for v3.20. It's very late for 3.20 and

[PATCH] autofs4: Wrong format for printing dentry

2015-02-06 Thread Rasmus Villemoes
%pD for struct file*, %pd for struct dentry*. Fixes: a455589f181e ("assorted conversions to %p[dD]") Signed-off-by: Rasmus Villemoes --- fs/autofs4/root.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/autofs4/root.c b/fs/autofs4/root.c index dbb5b7212ce1..7ba355b8d4ac

Re: linux-next: Tree for Feb 4

2015-02-06 Thread Sedat Dilek
On Thu, Feb 5, 2015 at 8:46 PM, Sedat Dilek wrote: > On Thu, Feb 5, 2015 at 4:17 AM, Martin K. Petersen > wrote: >>> "Sedat" == Sedat Dilek writes: >> >> Sedat> No, but I am here on a so-called WUBI installation which >> Sedat> triggered some bugs being an exotic installation. My >> Sedat>

[PATCH v2] drm: atmel-hlcdc: Atomic mode-setting conversion

2015-02-06 Thread Boris Brezillon
Convert the HLCDC driver to atomic mode-setting. Signed-off-by: Boris Brezillon --- Changes since v1: - use atomic helper for DPMS handlers - remove unneeded DPMS handling functions drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c | 278 +---

[PATCH] xhci: Fix the lack of support for the Handle Port Configure Error

2015-02-06 Thread Gregory CLEMENT
From: Shimmer Huang Linux xHCI driver does not check the CEC bit in register PORTSC when handling port status events. If Port Configure Error for root hub port occurs, CEC bit in PORTSC would be set by xHC and remains 1. This happends when the root port fails to configure its link partner, e.g.

Re: [PATCH] x86 spinlock: Fix memory corruption on completing completions

2015-02-06 Thread Sasha Levin
On 02/06/2015 09:49 AM, Raghavendra K T wrote: > static __always_inline void arch_spin_unlock(arch_spinlock_t *lock) > { > if (TICKET_SLOWPATH_FLAG && > - static_key_false(_ticketlocks_enabled)) { > - arch_spinlock_t prev; > +

Re: [PATCH] llist: Fix missing memory barrier

2015-02-06 Thread Peter Hurley
On 02/06/2015 09:12 AM, Mathieu Desnoyers wrote: > - Original Message - >> From: "Pranith Kumar" >> To: "Mathieu Desnoyers" >> Cc: "Huang Ying" , "LKML" >> , "Paul McKenney" >> , "David Howells" >> Sent: Thursday, February 5, 2015 10:44:07 PM >> Subject: Re: [PATCH] llist: Fix missing

Re: [PATCH v4 0/7] clk: Add common clock support for Mediatek MT8135 and MT8173.

2015-02-06 Thread Sascha Hauer
On Fri, Feb 06, 2015 at 03:20:35PM +0100, Matthias Brugger wrote: > > I don't really understand the "as part of the clk driver part". I now > > have replaced the devm_regmap_init_mmio with syscon_node_to_regmap > > in the pericfg / infracfg drivers. Is that all that you want or do you > > want me

Re: [PATCH v6 0/7] PCI: get DMA configuration from parent device

2015-02-06 Thread Catalin Marinas
On Thu, Feb 05, 2015 at 09:52:52PM +, Murali Karicheri wrote: > This patch add an important capability to PCI driver on Keystone. I hope to > have this merged to the upstream branch so that it is available for v3.20. It's very late for 3.20 and the code hasn't been in linux-next at all (but

Linux 3.14.32

2015-02-06 Thread Greg KH
I'm announcing the release of the 3.14.32 kernel. All users of the 3.14 kernel series must upgrade. The updated 3.14.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.14.y and can be browsed at the normal kernel.org git web

Re: Linux 3.10.68

2015-02-06 Thread Greg KH
diff --git a/Makefile b/Makefile index 7c6711fa3c3f..dd67be657716 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 10 -SUBLEVEL = 67 +SUBLEVEL = 68 EXTRAVERSION = NAME = TOSSUG Baby Fish diff --git a/arch/arm/include/asm/atomic.h b/arch/arm/include/asm/atomic.h

Re: Linux 3.18.6

2015-02-06 Thread Greg KH
diff --git a/Makefile b/Makefile index 6276fcaabf21..d2bff2d5ae25 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 18 -SUBLEVEL = 5 +SUBLEVEL = 6 EXTRAVERSION = NAME = Diseased Newt diff --git a/arch/alpha/mm/fault.c b/arch/alpha/mm/fault.c index

Re: Linux 3.14.32

2015-02-06 Thread Greg KH
diff --git a/Makefile b/Makefile index 5abf670c6651..00fffa3f2310 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 14 -SUBLEVEL = 31 +SUBLEVEL = 32 EXTRAVERSION = NAME = Remembering Coco diff --git a/arch/arm/mm/dma-mapping.c b/arch/arm/mm/dma-mapping.c index

Linux 3.18.6

2015-02-06 Thread Greg KH
I'm announcing the release of the 3.18.6 kernel. All users of the 3.18 kernel series must upgrade. The updated 3.18.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.18.y and can be browsed at the normal kernel.org git web browser:

Linux 3.10.68

2015-02-06 Thread Greg KH
I'm announcing the release of the 3.10.68 kernel. All users of the 3.10 kernel series must upgrade. The updated 3.10.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.10.y and can be browsed at the normal kernel.org git web

Re: [PATCH v6 3/7] of: fix size when dma-range is not used

2015-02-06 Thread Catalin Marinas
On Fri, Feb 06, 2015 at 02:54:23PM +, Murali Karicheri wrote: > On 02/06/2015 09:38 AM, Catalin Marinas wrote: > > On Thu, Feb 05, 2015 at 09:52:55PM +, Murali Karicheri wrote: > >> Fix the dma-range size when the DT attribute is missing. i.e set size to > >> dev->coherent_dma_mask + 1

Re: [PATCH 4/4] ALSA: line6: Remove `usb_' prefix from structs

2015-02-06 Thread Takashi Iwai
At Fri, 6 Feb 2015 08:51:12 -0600, Chris Rorvick wrote: > > It is just noise that makes lines longer. > > Signed-off-by: Chris Rorvick Well, this kind of renames hides the code change history, so unless there is a clear win (e.g. converting supercalifragilisticexpialidocious_ with s_), I'm

Re: [PATCH 1/4] ALSA: line6: Add toneport_has_source_select()

2015-02-06 Thread Chris Rorvick
On Fri, Feb 6, 2015 at 8:56 AM, Takashi Iwai wrote: > At Fri, 6 Feb 2015 08:51:09 -0600, Chris Rorvick wrote: >> --- a/sound/usb/line6/toneport.c >> +++ b/sound/usb/line6/toneport.c >> @@ -343,6 +343,20 @@ static void toneport_remove_leds(struct >> usb_line6_toneport *toneport) >> } >> }

[PATCH 0/5] MODSIGN: Use PKCS#7 for module signatures [ver #3]

2015-02-06 Thread David Howells
are tagged with: modsign-pkcs7-20150206 These patches are based on the security tree's next branch. Changes: (*) Fixed a comment on x509_certificate::id to show the order of construction correctly [thanks to Vivek Goyal]. (*) The 'id' argument to x509_request_asymmetric_key() can be NUL

Re: [PATCH v2 1/1] drivers:hv:vmbus drivers:hv:vmbus Allow for more than one MMIO range for children

2015-02-06 Thread Vitaly Kuznetsov
Jake Oshins writes: > This set of changes finds the _CRS object in the ACPI namespace > that contains memory address space descriptors, intended to convey > to VMBus which ranges of memory-mapped I/O space are available for > child devices, and then builds a resource list that contains all >

Re: [PATCH 3/4] ALSA: line6: Pass driver name to line6_probe()

2015-02-06 Thread Takashi Iwai
At Fri, 6 Feb 2015 08:51:11 -0600, Chris Rorvick wrote: > > Provide a descriptive name for each driver instead of calling all of > them "line6usb". This needs to be done carefully. This string is referred in alsa-lib to pick up the the configuration file. So, this change shall break the

Re: [PATCH] llist: Fix missing memory barrier

2015-02-06 Thread Greg Kroah-Hartman
On Fri, Feb 06, 2015 at 02:12:32PM +, Mathieu Desnoyers wrote: > - Original Message - > > From: "Pranith Kumar" > > To: "Mathieu Desnoyers" > > Cc: "Huang Ying" , "LKML" > > , "Paul McKenney" > > , "David Howells" > > Sent: Thursday, February 5, 2015 10:44:07 PM > > Subject: Re:

Re: [PATCH v2 0/5] rcu,nohz,kvm: use RCU extended quiescent state when running KVM guest

2015-02-06 Thread Christian Borntraeger
Am 05.02.2015 um 21:23 schrieb r...@redhat.com: > When running a KVM guest on a system with NOHZ_FULL enabled, and the > KVM guest running with idle=poll mode, we still get wakeups of the > rcuos/N threads. > > This problem has already been solved for user space by telling the > RCU subsystem

Re: [RESEND Patch V2 1/4] xen: build infrastructure for generating hypercall depending symbols

2015-02-06 Thread Juergen Gross
Hey, x86 maintainers! could you please comment? Juergen On 01/28/2015 06:11 AM, Juergen Gross wrote: *Ping* David wants a comment from the x86 maintainers. Juergen On 01/21/2015 08:49 AM, Juergen Gross wrote: Today there are several places in the kernel which build tables containing one

[PATCH 5/5] MODSIGN: Use PKCS#7 messages as module signatures [ver #3]

2015-02-06 Thread David Howells
Move to using PKCS#7 messages as module signatures because: (1) We have to be able to support the use of X.509 certificates that don't have a subjKeyId set. We're currently relying on this to look up the X.509 certificate in the trusted keyring list. (2) PKCS#7 message signed

Re: sched: memory corruption on completing completions

2015-02-06 Thread Raghavendra K T
On 02/06/2015 12:18 PM, Raghavendra K T wrote: On 02/06/2015 04:27 AM, Linus Torvalds wrote: On Thu, Feb 5, 2015 at 2:37 PM, Davidlohr Bueso wrote: It is possible that the paravirt spinlocks could be saved by: - moving the clearing of TICKET_SLOWPATH_FLAG into the fastpath locking code.

Re: [PATCH v3 20/20] arm: mach-pxa: Decrement the power supply's device reference counter

2015-02-06 Thread Pavel Machek
On Fri 2015-02-06 15:43:08, Krzysztof Kozlowski wrote: > On pią, 2015-02-06 at 14:49 +0100, Pavel Machek wrote: > > On Fri 2015-01-30 15:47:58, Krzysztof Kozlowski wrote: > > > Use power_supply_put() to decrement the power supply's device reference > > > counter. > > > > > > Signed-off-by:

[PATCHv2, RESEND 13/19] sh: expose number of page table levels

2015-02-06 Thread Kirill A. Shutemov
We would want to use number of page table level to define mm_struct. Let's expose it as CONFIG_PGTABLE_LEVELS. Signed-off-by: Kirill A. Shutemov Cc: linux...@vger.kernel.org Tested-by: Guenter Roeck --- I've implemented accounting for pmd page tables as we have for pte (see mm->nr_ptes). It's

[PATCH 1/5] X.509: Extract both parts of the AuthorityKeyIdentifier [ver #3]

2015-02-06 Thread David Howells
Extract both parts of the AuthorityKeyIdentifier, not just the keyIdentifier, as the second part can be used to match X.509 certificates by issuer and serialNumber. Signed-off-by: David Howells Tested-by: Vivek Goyal --- crypto/asymmetric_keys/Makefile |8 +-

[PATCHv2, RESEND 01/19] alpha: expose number of page table levels on Kconfig level

2015-02-06 Thread Kirill A. Shutemov
We would want to use number of page table level to define mm_struct. Let's expose it as CONFIG_PGTABLE_LEVELS. Signed-off-by: Kirill A. Shutemov Cc: Richard Henderson Cc: Ivan Kokshaysky Cc: Matt Turner Tested-by: Guenter Roeck --- I've implemented accounting for pmd page tables as we have

[PATCHv2, RESEND 09/19] mn10300: mark PUD and PMD folded

2015-02-06 Thread Kirill A. Shutemov
Core mm expects __PAGETABLE_{PUD,PMD}_FOLDED to be defined if these page table levels folded. Signed-off-by: Kirill A. Shutemov Cc: David Howells Cc: Koichi Yasutake Tested-by: Guenter Roeck --- I've implemented accounting for pmd page tables as we have for pte (see mm->nr_ptes). It's

[PATCH 4/5] MODSIGN: Provide a utility to append a PKCS#7 signature to a module [ver #3]

2015-02-06 Thread David Howells
Provide a utility that: (1) Digests a module using the specified hash algorithm (typically sha256). [The digest can be dumped into a file by passing the '-d' flag] (2) Generates a PKCS#7 message that: (a) Has detached data (ie. the module content). (b) Is signed with the

[PATCH 3/5] PKCS#7: Allow detached data to be supplied for signature checking purposes [ver #3]

2015-02-06 Thread David Howells
It is possible for a PKCS#7 message to have detached data. However, to verify the signatures on a PKCS#7 message, we have to be able to digest the data. Provide a function to supply that data. An error is given if the PKCS#7 message included embedded data. This is used in a subsequent patch to

[PATCH 2/5] X.509: Support X.509 lookup by Issuer+Serial form AuthorityKeyIdentifier [ver #3]

2015-02-06 Thread David Howells
If an X.509 certificate has an AuthorityKeyIdentifier extension that provides an issuer and serialNumber, then make it so that these are used in preference to the keyIdentifier field also held therein for searching for the signing certificate. If both the issuer+serialNumber and the keyIdentifier

[PATCHv2, RESEND 07/19] m68k: mark PMD folded and expose number of page table levels

2015-02-06 Thread Kirill A. Shutemov
We would want to use number of page table level to define mm_struct. Let's expose it as CONFIG_PGTABLE_LEVELS. Core mm expects __PAGETABLE_{PUD,PMD}_FOLDED to be defined if these page table levels folded. Signed-off-by: Kirill A. Shutemov Cc: Geert Uytterhoeven Tested-by: Guenter Roeck ---

[PATCHv2, RESEND 06/19] m32r: mark PMD folded

2015-02-06 Thread Kirill A. Shutemov
Core mm expects __PAGETABLE_{PUD,PMD}_FOLDED to be defined if these page table levels folded. Signed-off-by: Kirill A. Shutemov Tested-by: Guenter Roeck --- I've implemented accounting for pmd page tables as we have for pte (see mm->nr_ptes). It's requires a new counter in mm_struct:

Re: [PATCH 1/4] ALSA: line6: Add toneport_has_source_select()

2015-02-06 Thread Takashi Iwai
At Fri, 6 Feb 2015 08:51:09 -0600, Chris Rorvick wrote: > > Add a predicate for testing if the device supports source selection to > make the conditional logic around this a bit cleaner. > > Signed-off-by: Chris Rorvick > --- > sound/usb/line6/toneport.c | 32

Re: [PATCH 2/4] ALSA: line6: Pass toneport pointer to toneport_has_led()

2015-02-06 Thread Takashi Iwai
At Fri, 6 Feb 2015 08:51:10 -0600, Chris Rorvick wrote: > > It is unlikely this function would ever be used in a context without a > pointer to a `struct usb_line6_toneport', so grab the device type from > it rather than having the caller do it. > > Signed-off-by: Chris Rorvick > --- >

[PATCHv2, RESEND 03/19] arm: expose number of page table levels on Kconfig level

2015-02-06 Thread Kirill A. Shutemov
We would want to use number of page table level to define mm_struct. Let's expose it as CONFIG_PGTABLE_LEVELS. Signed-off-by: Kirill A. Shutemov Cc: Russell King Tested-by: Guenter Roeck --- I've implemented accounting for pmd page tables as we have for pte (see mm->nr_ptes). It's requires a

Re: [PATCH v2 0/5] rcu,nohz,kvm: use RCU extended quiescent state when running KVM guest

2015-02-06 Thread Rik van Riel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/06/2015 08:46 AM, Frederic Weisbecker wrote: > On Thu, Feb 05, 2015 at 03:23:47PM -0500, r...@redhat.com wrote: >> When running a KVM guest on a system with NOHZ_FULL enabled > > I just need to clarify the motivation first, does the above >

[PATCHv2, RESEND 08/19] mips: expose number of page table levels on Kconfig level

2015-02-06 Thread Kirill A. Shutemov
We would want to use number of page table level to define mm_struct. Let's expose it as CONFIG_PGTABLE_LEVELS. Signed-off-by: Kirill A. Shutemov Cc: Ralf Baechle Tested-by: Guenter Roeck --- I've implemented accounting for pmd page tables as we have for pte (see mm->nr_ptes). It's requires a

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