[tip:perf/urgent] perf evsel: Remove duplicate member zeroing after free

2014-01-23 Thread tip-bot for Stephane Eranian
Commit-ID: de256a4e6b9096070a5305950c7d693395150680 Gitweb: http://git.kernel.org/tip/de256a4e6b9096070a5305950c7d693395150680 Author: Stephane Eranian AuthorDate: Mon, 20 Jan 2014 16:15:13 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 20 Jan 2014 16:19:09 -0300 perf evsel

[tip:perf/urgent] perf stat: fix NULL pointer reference bug with event unit

2014-01-23 Thread tip-bot for Stephane Eranian
Commit-ID: 8a398897ff21f73cb8b15a19514660f032926882 Gitweb: http://git.kernel.org/tip/8a398897ff21f73cb8b15a19514660f032926882 Author: Stephane Eranian AuthorDate: Fri, 17 Jan 2014 16:34:05 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 20 Jan 2014 16:19:08 -0300 perf stat:

Re: [PATCH 2/2] Add at24 based EEPROMs to the eeprom_dev hardware class

2014-01-23 Thread Laszlo Papp
On Thu, Jan 23, 2014 at 3:05 PM, Curt Brune wrote: > On Thu Jan 23 07:44, Laszlo Papp wrote: >> On Wed, Jan 22, 2014 at 5:23 PM, Curt Brune wrote: >> > During device instantiation have the at24 driver add the new device to >> > the eeprom_dev hardware class. The functionality is enabled by >> >

Re: [PATCH v10 1/4] qrwlock: A queue read/write lock implementation

2014-01-23 Thread Waiman Long
On 01/23/2014 05:07 AM, Peter Zijlstra wrote: On Wed, Jan 22, 2014 at 04:33:55PM -0500, Waiman Long wrote: +/** + * queue_read_unlock - release read lock of a queue rwlock + * @lock : Pointer to queue rwlock structure + */ +static inline void queue_read_unlock(struct qrwlock *lock) +{ + /*

Re: [PATCH 02/11] x86: sysfb: remove sysfb when probing real hw

2014-01-23 Thread Ingo Molnar
* David Herrmann wrote: > >> +#ifdef CONFIG_X86_SYSFB > >> +# include > >> +#endif > > > > I guess a single space is sufficient? > > > > Better yet, I'd include sysfb.h unconditionally: > > Unconditionally won't work as only x86 has this header. [...] Well, in non-x86 code an #ifdef x86 look

[tip:perf/urgent] perf tools: Ensure sscanf does not overrun the "mem" field

2014-01-23 Thread tip-bot for Alan Cox
Commit-ID: a761a2d8a7175b7b4e8525e0672e1a8d3c051001 Gitweb: http://git.kernel.org/tip/a761a2d8a7175b7b4e8525e0672e1a8d3c051001 Author: Alan Cox AuthorDate: Mon, 20 Jan 2014 19:10:11 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 20 Jan 2014 16:19:08 -0300 perf tools: Ensure

Re: [PATCH v10 1/4] qrwlock: A queue read/write lock implementation

2014-01-23 Thread Linus Torvalds
On Thu, Jan 23, 2014 at 9:12 AM, Waiman Long wrote: > > I thought that all atomic RMW instructions are memory barrier. On x86 they are. Not necessarily elsewhere. > If they are not, what kind of barrier should be added? smp_mb__before_atomic_xyz() and smp_mb__after_atomic_xyz() will do it, and

[PATCH] Revert "mm/vmalloc: interchage the implementation of vmalloc_to_{pfn,page}"

2014-01-23 Thread malc
Sep 17 00:00:00 2001 From: Vladimir Murzin Date: Thu, 23 Jan 2014 14:54:20 +0400 Subject: [PATCH] Revert "mm/vmalloc: interchage the implementation of vmalloc_to_{pfn,page}" This reverts commit ece86e222db48d04bda218a2be70e384518bb08c. Despite being claimed that patch doesn't introduce any func

Re: [PATCH 0/2] Enable clock controllers on MSM

2014-01-23 Thread Kevin Hilman
Stephen Boyd writes: > These patches add the clock controller nodes, enable the clock drivers > on MSM based platforms, and hook it up enough to get the serial console > working. This is based on the merge of Mike's clk-next branch with > linux-next-20140116. The changes need the clk-next branch

Re: [PATCH 2/2] Add at24 based EEPROMs to the eeprom_dev hardware class

2014-01-23 Thread Wolfram Sang
Hi, No need to quote the whole message if you reply only to a bit of it. > > module_init(at24_init); > > > > static void __exit at24_exit(void) > > { > > i2c_del_driver(&at24_driver); > > } > > module_exit(at24_exit); > > Couldn't you use module_i2c_driver() instead of this? He did

Re: [PATCH] x86, kaslr: export offset in VMCOREINFO ELF notes

2014-01-23 Thread Kees Cook
On Thu, Jan 23, 2014 at 1:19 AM, Ingo Molnar wrote: > > * Kees Cook wrote: > >> Include kASLR offset in VMCOREINFO ELF notes to assist in debugging. >> >> Signed-off-by: Eugene Surovegin >> Signed-off-by: Kees Cook > > The signoff sequence is weird. If this came from Eugene then the patch > is

[PATCH v2] x86, kaslr: export offset in VMCOREINFO ELF notes

2014-01-23 Thread Kees Cook
From: Eugene Surovegin Include kASLR offset in VMCOREINFO ELF notes to assist in debugging. Signed-off-by: Eugene Surovegin Signed-off-by: Kees Cook --- v2: - make sure "From:" got sent correctly --- arch/x86/kernel/machine_kexec_64.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/

Re: [PATCH v2] dma: Add Xilinx AXI Video Direct Memory Access Engine driver support

2014-01-23 Thread Srikanth Thokala
Hi Levente, On Thu, Jan 23, 2014 at 3:00 AM, Levente Kurusa wrote: > Hello, > > 2014/1/22 Srikanth Thokala : >> This is the driver for the AXI Video Direct Memory Access (AXI >> VDMA) core, which is a soft Xilinx IP core that provides high- >> bandwidth direct memory access between memory and AXI

Re: [PATCH] gpu: host1x: do not check previously handled gathers

2014-01-23 Thread Erik Faye-Lund
Ping? On Tue, Jan 7, 2014 at 9:03 PM, Erik Faye-Lund wrote: > When patching gathers, we don't need to check against > gathers with lower indices than the current one, as > they are guaranteed to already have been handled. > > Signed-off-by: Erik Faye-Lund > --- > > Here's a trivial optimization

Re: [PATCH v10 1/4] qrwlock: A queue read/write lock implementation

2014-01-23 Thread Peter Zijlstra
On Thu, Jan 23, 2014 at 09:15:38AM -0800, Linus Torvalds wrote: > On Thu, Jan 23, 2014 at 9:12 AM, Waiman Long wrote: > > > > I thought that all atomic RMW instructions are memory barrier. > > On x86 they are. Not necessarily elsewhere. > > > If they are not, what kind of barrier should be added

Re: [PATCH 1/2] PWM: let of_xlate handlers check args count

2014-01-23 Thread Russell King - ARM Linux
On Thu, Jan 23, 2014 at 04:53:50PM +, Russell King - ARM Linux wrote: > On Thu, Jan 23, 2014 at 12:04:44PM +0100, Sascha Hauer wrote: > > On Thu, Jan 23, 2014 at 11:56:32AM +0100, Lothar Waßmann wrote: > > > Hi, > > > > > > Sascha Hauer wrote: > > > > of_pwm_n_cells for the of_xlate handler is

Re: [GIT PULL] SPI updates for v3.14 remerged

2014-01-23 Thread Linus Torvalds
On Thu, Jan 23, 2014 at 5:19 AM, Mark Brown wrote: > > spi: Updates for v3.14 gmail hates you. I just found four of your emails in my spam-box. I don't know why, since it's not the (somewhat) common issue with bad or missing SPF information. The only thing I can imagine is that gmail thinks you'

Re: [PATCH 2/8 v4] crypto:s5p-sss: Add device tree support

2014-01-23 Thread Sylwester Nawrocki
On 23/01/14 18:41, Mark Rutland wrote: >>> diff --git a/drivers/crypto/s5p-sss.c b/drivers/crypto/s5p-sss.c >>> > > index 93cddeb..2da5617 100644 >>> > > --- a/drivers/crypto/s5p-sss.c >>> > > +++ b/drivers/crypto/s5p-sss.c >>> > > @@ -22,6 +22,7 @@ >>> > > #include >>> > > #include >>> > > #i

Re: [GIT PULL] ACPI and power management updates for v3.14-rc1

2014-01-23 Thread Linus Torvalds
On Mon, Jan 20, 2014 at 3:23 PM, Rafael J. Wysocki wrote: > > Please pull from the git repository at gmail still hates you rjwysocki.net address, even if it now says "spf pass". So it's something else that makes gmail hate you. Spammy ISP? Linus -- To unsubscribe from this li

Re: [PATCH v10 1/4] qrwlock: A queue read/write lock implementation

2014-01-23 Thread Waiman Long
On 01/23/2014 12:15 PM, Linus Torvalds wrote: On Thu, Jan 23, 2014 at 9:12 AM, Waiman Long wrote: I thought that all atomic RMW instructions are memory barrier. On x86 they are. Not necessarily elsewhere. If they are not, what kind of barrier should be added? smp_mb__before_atomic_xyz() and

Re: [PATCH 2/8 v4] crypto:s5p-sss: Add device tree support

2014-01-23 Thread Mark Rutland
On Thu, Jan 23, 2014 at 10:28:08AM +, Sylwester Nawrocki wrote: > Hi, > > (Adding missing devicetre ML list at CC.) > > On 15/01/14 10:14, Naveen Krishna Chatradhi wrote: > > This patch adds device tree support to the s5p-sss.c crypto driver. > > > > Also, Documentation under devicetree/bind

Re: [PATCH 2/2] Add at24 based EEPROMs to the eeprom_dev hardware class

2014-01-23 Thread Laszlo Papp
On Thu, Jan 23, 2014 at 5:25 PM, Wolfram Sang wrote: > Hi, > > No need to quote the whole message if you reply only to a bit of it. > >> > module_init(at24_init); >> > >> > static void __exit at24_exit(void) >> > { >> > i2c_del_driver(&at24_driver); >> > } >> > module_exit(at24_exit);

[GIT PULL] VFIO update for 3.14-rc1

2014-01-23 Thread Alex Williamson
Hi Linus, The following changes since commit 319e2e3f63c348a9b66db4667efa73178e18b17d: Linux 3.13-rc4 (2013-12-15 12:31:33 -0800) are available in the git repository at: git://github.com/awilliam/linux-vfio.git tags/vfio-v3.14-rc1 for you to fetch changes up to 3be3a074cf5ba641529d8fdae0e0

Re: [PATCH 11/20] ARM64 / ACPI: Get the enable method for SMP initialization

2014-01-23 Thread Catalin Marinas
On Fri, Jan 17, 2014 at 12:25:05PM +, Hanjun Guo wrote: > --- a/arch/arm64/kernel/smp.c > +++ b/arch/arm64/kernel/smp.c > @@ -48,6 +48,7 @@ > #include > #include > #include > +#include > > /* > * as from 2.5, kernels no longer have an init_tasks structure > @@ -280,7 +281,7 @@ stati

Re: [PATCH v10 1/4] qrwlock: A queue read/write lock implementation

2014-01-23 Thread Linus Torvalds
On Thu, Jan 23, 2014 at 9:47 AM, Waiman Long wrote: > > Thank for the info. I am less familiar with that kind of issues on other > architecture. I will add a smp_mb__after_atomic_dec() & send out a new > patch. SInce it's the unlock path,. you need to use the "mb__*before*" versions, since presum

Re: [PATCH 09/20] ARM64 / ACPI: Implement core functions for parsing MADT table

2014-01-23 Thread Marc Zyngier
Hi Hanjun, On 17/01/14 12:25, Hanjun Guo wrote: > Implement core functions for parsing MADT table to get the information > about GIC cpu interface and GIC distributor to prepare for SMP and GIC > initialization. > > Signed-off-by: Hanjun Guo > --- > arch/arm64/include/asm/acpi.h |3 + > dri

[PATCH V4] regulator: ti-abb: Add support for interleaved LDO registers

2014-01-23 Thread Nishanth Menon
Signed-off-by: Nishanth Menon --- Testing code and relevant dts changes(pending 3.14-rc1 tag): https://github.com/nmenon/linux-2.6-playground/commits/abb-rev-v3.14-rc1-vnext-20140123 changes in v4 (since v3): - minor documentation fixes - logic fix of v3 to picking up setup and co

Re: [PATCH 2/8 v4] crypto:s5p-sss: Add device tree support

2014-01-23 Thread Mark Rutland
On Thu, Jan 23, 2014 at 05:47:25PM +, Sylwester Nawrocki wrote: > On 23/01/14 18:41, Mark Rutland wrote: > >>> diff --git a/drivers/crypto/s5p-sss.c b/drivers/crypto/s5p-sss.c > >>> > > index 93cddeb..2da5617 100644 > >>> > > --- a/drivers/crypto/s5p-sss.c > >>> > > +++ b/drivers/crypto/s5p-sss

Re: [GIT PULL] ACPI and power management updates for v3.14-rc1

2014-01-23 Thread Rafael J. Wysocki
On Thursday, January 23, 2014 09:47:44 AM Linus Torvalds wrote: > On Mon, Jan 20, 2014 at 3:23 PM, Rafael J. Wysocki wrote: > > > > Please pull from the git repository at > > gmail still hates you rjwysocki.net address, even if it now says "spf pass". > > So it's something else that makes gmail

Re: [GIT PULL] SPI updates for v3.14 remerged

2014-01-23 Thread Mark Brown
On Thu, Jan 23, 2014 at 09:40:44AM -0800, Linus Torvalds wrote: > On Thu, Jan 23, 2014 at 5:19 AM, Mark Brown wrote: > > spi: Updates for v3.14 > gmail hates you. I just found four of your emails in my spam-box. > I don't know why, since it's not the (somewhat) common issue with bad > or missin

Re: [PATCH 03/20] ARM64 / ACPI: Introduce the skeleton of _PDC related for ARM64

2014-01-23 Thread Catalin Marinas
On Fri, Jan 17, 2014 at 12:24:57PM +, Hanjun Guo wrote: > --- /dev/null > +++ b/arch/arm64/include/asm/acpi.h > @@ -0,0 +1,32 @@ > +/* > + * Copyright (C) 2013, Al Stone > + * > + * ~~ > + * > + * This program is free so

Re: [PATCH 1/2] serial: samsung: Move uart_register_driver call to device probe

2014-01-23 Thread Alan Cox
> I had earlier submitted a patch [1] to remove the hard coded > major/minor number for Samsung UART driver, but that was rejected > because of userspace breakage. Without this patch, Samsung UART driver > can't bind to the hard-coded device node. Changing the default > major/minor will also not he

Re: [PATCH] mm: Ignore VM_SOFTDIRTY on VMA merging, v2

2014-01-23 Thread Pavel Emelyanov
On 01/23/2014 07:14 PM, Cyrill Gorcunov wrote: > I think setting up dirty bit inside vma_merge() body is a big hammer > which should not be used, but it's up to caller of vma_merge() to figure > out if dirty bit should be set or not if merge successed. Thus softdirty > vma bit should be (and it al

Re: AMD microcode loading broken on 32 bit

2014-01-23 Thread Boris Ostrovsky
On 01/21/2014 01:25 PM, Borislav Petkov wrote: On Tue, Jan 21, 2014 at 12:55:53PM -0500, Boris Ostrovsky wrote: cat $(AMD_UCODE_PATH)/* > ucode_initrd/kernel/x86/microcode/AuthenticAMD.bin (cd ucode_initrd;find . | cpio -o -H newc > ../$(DISTDIR)/common/ucode_initrd.cpio)

Re: How to identify different ip tunnels

2014-01-23 Thread Cong Wang
On Wed, Jan 22, 2014 at 11:33 PM, zhuyj wrote: > Here are the result that we have got: > > Actual Tunnel type ifi->ifi_type > 4IN4 768 > GRE4 778 > 6IN4/6TO4/ISATAP 776 > 4IN6/6IN6/IPIN6 769 > > So, we can NOT distinguish the actual tunnel type via ifi_type attribute > except the GRE4 and 4IN4 tun

Re: [PATCH 2/2] Add at24 based EEPROMs to the eeprom_dev hardware class

2014-01-23 Thread Wolfram Sang
> Well, it is not the Copyrights section, or you are saying the same > people should go to MODULE_AUTHOR as in the Copyrights section, even > if it is potentially several names? I thought this would be the name > of the person who put the file together even if from existing sources. You may be ri

Re: [ANNOUNCE] Git v1.9-rc0

2014-01-23 Thread Junio C Hamano
Jeff King writes: > Junio, since you prepare such tarballs[1] anyway for kernel.org, it > might be worth uploading them to the "Releases" page of git/git. I > imagine there is a programmatic way to do so via GitHub's API, but I > don't know offhand. I can look into it if you are interested. I a

[PATCH 0/10] framebuffer patches

2014-01-23 Thread Mikulas Patocka
Hi Here I'm sending some framebuffer patches for matrox, mach64, tga and a fix for copying on vesafb. Mikulas -- 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-

[PATCH 10/10] tgafb: avoid restriction on modes with line length not a multiple of 64

2014-01-23 Thread Mikulas Patocka
In tgafb there is a restriction that prevents the user from setting a videomode with line length not a multiple of 64 bytes (for example, 800x600 is not allowed). The reason for this restriction it that functions copyarea_line_8bpp and copyarea_line_32bpp can not handle a line length that is not a

[PATCH 7/10] mach64: fix cursor when character width is not a multiple of 8 pixels

2014-01-23 Thread Mikulas Patocka
This patch fixes the hardware cursor on mach64 when font width is not a multiple of 8 pixels. If you load such a font, the cursor is expanded to the next 8-byte boundary and a part of the next character after the cursor is not visible. For example, when you load a font with 12-pixel width, the cur

[PATCH 5/10] atyfb: remove resolution limit 1600

2014-01-23 Thread Mikulas Patocka
The card works fine in 1980x1080 resolution. Therefore, there is no need to limit the resolution to 1600 pixels. Signed-off-by: Mikulas Patocka --- drivers/video/aty/atyfb_base.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Index: linux-3.11-rc7-fast/drivers/video/aty/atyfb_bas

[PATCH 6/10] mach64: use unaligned access

2014-01-23 Thread Mikulas Patocka
This patch fixes mach64 to use unaligned access to the font bitmap. This fixes unaligned access warning on sparc64 when 14x8 font is loaded. On x86(64), unaligned access is handled on hardware, so both functions le32_to_cpup and get_unaligned_le32 perform the same operation. On RISC machines, un

[PATCH 4/10] atyfb: set FBINFO_READS_FAST

2014-01-23 Thread Mikulas Patocka
Set FBINFO_READS_FAST so that the console code uses scrolling instead of rewriting. This improves scrolling speed. A time to do ls -la /usr/bin: original patched 32bpp 4.9 3.6 24bpp 4.9 2.9 16bpp 4.9 2.1 8bpp4.9 1.7 Signed-off-by: Mikulas Patocka --- drivers/v

[PATCH 2/10] matroxfb: restore the registers M_ACCESS and M_PITCH

2014-01-23 Thread Mikulas Patocka
When X11 is running and the user switches back to console, the card modifies the content of registers M_MACCESS and M_PITCH in periodic intervals. This patch fixes it by restoring the content of these registers before issuing any accelerator command. Signed-off-by: Mikulas Patocka Cc: sta...@vge

Re: spidev: fix hang when transfer_one_message fails

2014-01-23 Thread Mark Brown
On Thu, Jan 23, 2014 at 05:47:02PM +0100, Geert Uytterhoeven wrote: > Probably your transfer_one_message() forgot to call > spi_finalize_current_message()? Is this allowed in case of failure? Probably not, or at least we should be consistent about requiring it or not. Do you want to send a rever

[PATCH 1/10] matroxfb: set FBINFO_READS_FAST

2014-01-23 Thread Mikulas Patocka
Set FBINFO_READS_FAST so that the console code uses scrolling instead of rewriting. This improves scrolling speed. A time to do ls -la /usr/bin: original patched 32bpp 5.4 3.6 24bpp 5.1 3.0 16bpp 4.9 2.5 8bpp4.9 2.0 Signed-off-by: Mikulas Patocka --- drivers/v

[PATCH 3/10] framebuffer: fix cfb_copyarea

2014-01-23 Thread Mikulas Patocka
The function cfb_copyarea is buggy when the copy operation is not aligned on long boundary (4 bytes on 32-bit machines, 8 bytes on 64-bit machines). How to reproduce: - use x86-64 machine - use a framebuffer driver without acceleration (for example uvesafb) - set the framebuffer to 8-bit depth

[PATCH 8/10] tgafb: fix mode setting with fbset

2014-01-23 Thread Mikulas Patocka
Mode setting in the TGA driver is broken for these reasons: - info->fix.line_length is set just once in tgafb_init_fix function. If we change videomode, info->fix.line_length is not recalculated - so the video mode is changed but the screen is corrupted because of wrong info->fix.line_length

[PATCH 9/10] tgafb: fix data copying

2014-01-23 Thread Mikulas Patocka
The functions for data copying copyarea_foreward_8bpp and copyarea_backward_8bpp are buggy, they produce screen corruption. This patch fixes the functions and moves the logic to one function "copyarea_8bpp". For simplicity, the function only handles copying that is aligned on 8 pixes. If we copy a

Re: [PATCH v5] ACPI: Fix acpi_evaluate_object() return value check

2014-01-23 Thread Bjorn Helgaas
On Wed, Jan 22, 2014 at 8:42 PM, Yijing Wang wrote: > Since acpi_evaluate_object() returns acpi_status and not plain int, > ACPI_FAILURE() should be used for checking its return value. Also > add some detailed debug info when acpi_evaluate_object() failed. > > Reviewed-by: Jani Nikula > Acked-by:

[PATCH] arm64: delete non-required instances of

2014-01-23 Thread Paul Gortmaker
None of these files are actually using any __init type directives and hence don't need to include . Most are just a left over from __devinit and __cpuinit removal, or simply due to code getting copied from one place to the next. Cc: Catalin Marinas Cc: Will Deacon Cc: linux-arm-ker...@lists.inf

Re: [PATCH v5 7/8] ARM: brcmstb: gic: add compatible string for Broadcom Brahma15

2014-01-23 Thread Florian Fainelli
Hi Marc, 2014/1/22 Marc C : > Hi Florian, > >> Do not we also need to update drivers/irqchip/irq-gic.c to look for >> this compatible property? Alternatively should the example DTS contain >> the following: >> >> compatible = "brcm,brahma-b15-gic", "arm,cortex-a15-gic"? > > Patch #8 [1] of this se

[GIT PULL] UDF & jbd fixes

2014-01-23 Thread Jan Kara
Hello Linus, could you please pull from git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs.git for_linus to get a cleanup of JBD log messages and UDF fix of a lockdep warning. Top of the tree is 4ea7772f828a. The full shortlog is: Jan Kara (2): jbd: Revise KERN_EMERG error m

[PATCH] staging: usbip: convert usbip-host driver to usb_device_driver

2014-01-23 Thread Valentina Manea
This driver was previously an interface driver. Since USB/IP exports a whole device, not just an interface, it would make sense to be a device driver. This patch also modifies the way userspace sees and uses a shared device - dealing with interfaces is no longer required. Signed-off-by: Valentina

Re: [PATCH 1/8] ASoC: fsl: Add VF610 soc audio card Kconfig

2014-01-23 Thread Mark Brown
On Thu, Jan 23, 2014 at 01:02:43PM +0800, Xiubo Li wrote: > +menuconfig SND_VF610_SOC > + tristate "SoC Audio for Freescale VF610 CPUs" > + select DMA_ENGINE > + help > + Say Y or M if you want to add support for codecs attached to > + the VF610 CPUs. > + > +

Re: [PATCH-v2 1/3] percpu_ida: Make percpu_ida_alloc + callers accept task state bitmask

2014-01-23 Thread Nicholas A. Bellinger
On Wed, 2014-01-22 at 11:53 -0800, Nicholas A. Bellinger wrote: > Hi Peter, > > Does this satisfy your questions..? > > Do you have any more concerns about TASK_RUNNING + prepare_to_wait() > usage in percpu_ida_alloc() that need to be addressed before I can drop > this series into target-pending/

Re: Crash in elevator_dispatch_fn() (e.g. deadline_dispatch()) when changing elevators.

2014-01-23 Thread Frank Mayhar
On Wed, 2014-01-22 at 07:46 -0800, Frank Mayhar wrote: > On Tue, 2014-01-21 at 07:58 -0800, Frank Mayhar wrote: > > Replacing? Or adding to? Is BYPASS always set when DYING is set? (My > > guess is not but I haven't done an exhaustive analysis.) So the > > relevant code snippet in __elv_next_re

[PATCH 3.10 12/23] ftrace/x86: Load ftrace_ops in parameter not the variable holding it

2014-01-23 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Steven Rostedt commit 1739f09e33d8f66bf48ddbc3eca615574da6c4f6 upstream. Function tracing callbacks expect to have the ftrace_ops that registered it passed to them, not the address of the vari

[PATCH 3.10 01/23] ARM: 7815/1: kexec: offline non panic CPUs on Kdump panic

2014-01-23 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Vijaya Kumar K commit 4f9b4fb7a2091eec339413a460b1665758401828 upstream. In case of normal kexec kernel load, all cpu's are offlined before calling machine_kexec().But in case crash panic cpus

[PATCH 3.10 07/23] staging: comedi: adl_pci9111: fix incorrect irq passed to request_irq()

2014-01-23 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: H Hartley Sweeten commit 48108fe3daa0d142f9b97178fdb23704ea3a407b upstream. The dev->irq passed to request_irq() will always be 0 when the auto_attach function is called. The pcidev->irq shoul

[PATCH 3.10 23/23] ARM: 7938/1: OMAP4/highbank: Flush L2 cache before disabling

2014-01-23 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Taras Kondratiuk commit b25f3e1c358434bf850220e04f28eebfc45eb634 upstream. Kexec disables outer cache before jumping to reboot code, but it doesn't flush it explicitly. Flush is done implicitl

[PATCH 3.10 03/23] perf/x86/amd/ibs: Fix waking up from S3 for AMD family 10h

2014-01-23 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Robert Richter commit bee09ed91cacdbffdbcd3b05de8409c77ec9fcd6 upstream. On AMD family 10h we see following error messages while waking up from S3 for all non-boot CPUs leading to a failed IBS

[PATCH 3.10 15/23] drm/i915: fix DDI PLLs HW state readout code

2014-01-23 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Paulo Zanoni commit 0882dae983707455e97479e5e904e37673517ebc upstream. Properly zero the refcounts and crtc->ddi_pll_set so the previous HW state doesn't affect the result of reading the curre

[PATCH 3.10 16/23] md: fix problem when adding device to read-only array with bitmap.

2014-01-23 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: NeilBrown commit 8313b8e57f55b15e5b7f7fc5d1630bbf686a9a97 upstream. If an array is started degraded, and then the missing device is found it can be re-added and a minimal bitmap-based recovery

[PATCH 3.10 04/23] GFS2: Increase i_writecount during gfs2_setattr_chown

2014-01-23 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Bob Peterson commit 62e96cf81988101fe9e086b2877307b6adda5197 upstream. This patch calls get_write_access in function gfs2_setattr_chown, which merely increases inode->i_writecount for the dura

[PATCH 3.10 20/23] mm: Make {,set}page_address() static inline if WANT_PAGE_VIRTUAL

2014-01-23 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Geert Uytterhoeven commit f92f455f67fef27929e6043499414605b0c94872 upstream. {,set}page_address() are macros if WANT_PAGE_VIRTUAL. If !WANT_PAGE_VIRTUAL, they're plain C functions. If someon

[PATCH 3.10 17/23] md/raid10: fix bug when raid10 recovery fails to recover a block.

2014-01-23 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: NeilBrown commit e8b849158508565e0cd6bc80061124afc5879160 upstream. commit e875ecea266a543e643b19e44cf472f1412708f9 md/raid10 record bad blocks as needed during recovery. added code to th

[PATCH 3.10 21/23] serial: amba-pl011: use port lock to guard control register access

2014-01-23 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Jon Medhurst commit fe43390702a1b5741fdf217063b05c7612b38303 upstream. When the pl011 is being used for a console, pl011_console_write forces the control register (CR) to enable the UART for t

[PATCH 3.10 18/23] md/raid10: fix two bugs in handling of known-bad-blocks.

2014-01-23 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: NeilBrown commit b50c259e25d9260b9108dc0c2964c26e5ecbe1c1 upstream. If we discover a bad block when reading we split the request and potentially read some of it from a different device. The c

Re: [PATCH 1/2] serial: samsung: Move uart_register_driver call to device probe

2014-01-23 Thread Mark Brown
On Thu, Jan 23, 2014 at 06:04:23PM +, Alan Cox wrote: > We can then enable that config option for ARM (and in time for any other > architecture that turns out to need/want it). Eventually it can go away > (not that its exactly doing any harm if it doesnt). We'd need to leave it user selectabl

[PATCH 3.10 19/23] md/raid5: Fix possible confusion when multiple write errors occur.

2014-01-23 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: NeilBrown commit 1cc03eb93245e63b0b7a7832165efdc52e25b4e6 upstream. commit 5d8c71f9e5fbdd95650be00294d238e27a363b5c md: raid5 crash during degradation Fixed a crash in an overly simplisti

[PATCH 3.10 14/23] nilfs2: fix segctor bug that causes file system corruption

2014-01-23 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Andreas Rohner commit 70f2fe3a26248724d8a5019681a869abdaf3e89a upstream. There is a bug in the function nilfs_segctor_collect, which results in active data being written to a segment, that is

[PATCH 3.10 13/23] thp: fix copy_page_rep GPF by testing is_huge_zero_pmd once only

2014-01-23 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Hugh Dickins commit eecc1e426d681351a6026a7d3e7d225f38955b6c upstream. We see General Protection Fault on RSI in copy_page_rep: that RSI is what you get from a NULL struct page pointer. RIP

[PATCH 3.10 09/23] hwmon: (coretemp) Fix truncated name of alarm attributes

2014-01-23 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Jean Delvare commit 3f9aec7610b39521c7c69d754de7265f6994c194 upstream. When the core number exceeds 9, the size of the buffer storing the alarm attribute name is insufficient and the attribute

[PATCH 3.10 05/23] mm/memory-failure.c: recheck PageHuge() after hugetlb page migrate successfully

2014-01-23 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Jianguo Wu commit a49ecbcd7b0d5a1cda7d60e03df402dd0ef76ac8 upstream. After a successful hugetlb page migration by soft offline, the source page will either be freed into hugepage_freelists or

[PATCH 3.10 11/23] SELinux: Fix possible NULL pointer dereference in selinux_inode_permission()

2014-01-23 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Steven Rostedt commit 3dc91d4338d698ce77832985f9cb183d8eeaf6be upstream. While running stress tests on adding and deleting ftrace instances I hit this bug: BUG: unable to handle kernel NULL

[PATCH 3.10 08/23] vfs: In d_path dont call d_dname on a mount point

2014-01-23 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: "Eric W. Biederman" commit f48cfddc6729ef133933062320039808bafa6f45 upstream. Aditya Kali (adityak...@google.com) wrote: > Commit bf056bfa80596a5d14b26b17276a56a0dcb080e5: > "proc: Fix the nam

[PATCH 3.10 00/23] 3.10.28-stable review

2014-01-23 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 3.10.28 release. There are 23 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Sat Jan 25 18:38:43 UTC 2014. Anything receiv

Re: [PATCH 1/2] serial: samsung: Move uart_register_driver call to device probe

2014-01-23 Thread Tomasz Figa
On 23.01.2014 19:40, Mark Brown wrote: On Thu, Jan 23, 2014 at 06:04:23PM +, Alan Cox wrote: We can then enable that config option for ARM (and in time for any other architecture that turns out to need/want it). Eventually it can go away (not that its exactly doing any harm if it doesnt).

[GIT PULL 1/6] ARM: SoC non-critical fixes for 3.14

2014-01-23 Thread Olof Johansson
As usual, we have a batch of fixes that weren't considered significant enough to warrant going into the later -rcs for previous release, so they are queued up on this branch. A handful of these are for various DT fixups for Samsung platforms, and a handful of other minor things. There are also a

[GIT PULL 2/6] ARM: SoC cleanups for 3.14

2014-01-23 Thread Olof Johansson
This is the branch where we usually queue up cleanup efforts, moving drivers out of the architecture directory, header file restructuring, etc. Sometimes they tangle with new development so it's hard to keep it strictly to cleanups. Some of the things included in this branch are: * Atmel SAMA5 co

[GIT PULL 6/6] ARM: driver updates for 3.14

2014-01-23 Thread Olof Johansson
Updates of SoC-near drivers and other driver updates that makes more sense to take through our tree. The largest part of this is a conversion of device registration for some renesas shmobile/sh devices over to use resources. This has required coordination with the corresponding arch/sh changes, an

[PATCH net-next] bonding: Use do_div to divide 64 bit numbers

2014-01-23 Thread Zoltan Kiss
Nikolay Aleksandrov's recent bonding option API changes (25a9b54a and e4994612) introduced u64 as the type of downdelay and updelay. On 32 bit the division and modulo operations cause compile errors: ERROR: "__udivdi3" [drivers/net/bonding/bonding.ko] undefined! ERROR: "__umoddi3" [drivers/net/bon

[GIT PULL 5/6] ARM: SoC board updates for 3.14

2014-01-23 Thread Olof Johansson
This branch is reducing in size for every release since most board-related changes have started happening in devicetrees now. Still, we have some things going on here. * Renesas platforms are still adding a bit more legacy device support, something that should trail off shortly as they move to ful

[GIT PULL 0/6] ARM: SoC changes for 3.14

2014-01-23 Thread Olof Johansson
Here are the main branches for arm-soc for the 3.14 merge window. We'll have a few more patches towards the end, but this is the bulk of it. Nothing too surprising in any of it, and we've been able to stay away from too much conflicts this release cycle, I think the total was around 3 and none of

[GIT PULL 4/6] ARM: SoC DT updates for 3.14

2014-01-23 Thread Olof Johansson
DT and DT-conversion-related changes for various ARM platforms. Most of these are to enable various devices on various boards, etc, and not necessarily worth enumerating. New boards and systems continue to come in as new devicetree files that don't require corresponding C changes any more, which i

[GIT PULL 3/6] ARM: SoC platform changes for 3.14

2014-01-23 Thread Olof Johansson
New core SoC-specific changes. New platforms: * Introduction of a vendor, Hisilicon, and one of their SoCs with some random numerical product name. * Introduction of EFM32, embedded platform from Silicon Labs (ARMv7m, i.e. !MMU). * Marvell Berlin series of SoCs, which include the one in Chromecas

[PATCH 3.10 10/23] writeback: Fix data corruption on NFS

2014-01-23 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit f9b0e058cbd04ada76b13afffa7e1df830543c24 upstream. Commit 4f8ad655dbc8 "writeback: Refactor writeback_single_inode()" added a condition to skip clean inode. However this is wro

[PATCH 3.10 06/23] staging: comedi: addi_apci_1032: fix subdevice type/flags bug

2014-01-23 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: H Hartley Sweeten commit 90daf69a7a3f1d1a41018c799968a0bb896d65e0 upstream. The SDF_CMD_READ should be one of the s->subdev_flags not part of the s->type. Signed-off-by: H Hartley Sweeten Re

Re: x86: Inconsistent xAPIC synchronization in arch_irq_work_raise?

2014-01-23 Thread Jan Kiszka
On 2014-01-22 19:43, Andi Kleen wrote: >>> Huang Ying, can you explain to Jan why you do the wait afterwards? >> >> I borrow the code from the original MCE report event code. >> >> Andi, could you help us to explain it? > > I don't recall all the details, but I believe i also just copied > it fro

Re: AMD microcode loading broken on 32 bit

2014-01-23 Thread Gene Heskett
On Thursday 23 January 2014, Boris Ostrovsky wrote: >On 01/21/2014 01:25 PM, Borislav Petkov wrote: >> On Tue, Jan 21, 2014 at 12:55:53PM -0500, Boris Ostrovsky wrote: >>> cat $(AMD_UCODE_PATH)/* > >>> >>> ucode_initrd/kernel/x86/microcode/AuthenticAMD.bin >>> >>> (cd ucode_init

Re: Crash in elevator_dispatch_fn() (e.g. deadline_dispatch()) when changing elevators.

2014-01-23 Thread Tejun Heo
On Thu, Jan 23, 2014 at 10:38:33AM -0800, Frank Mayhar wrote: > On Wed, 2014-01-22 at 07:46 -0800, Frank Mayhar wrote: > > On Tue, 2014-01-21 at 07:58 -0800, Frank Mayhar wrote: > > > Replacing? Or adding to? Is BYPASS always set when DYING is set? (My > > > guess is not but I haven't done an ex

Re: 3.13 hangs when I tried to start a KVM at a 32 bit stable Gentoo

2014-01-23 Thread Dave Hansen
On 01/21/2014 08:38 AM, Toralf Förster wrote: > Jan 21 17:18:57 n22 kernel: INFO: rcu_sched self-detected stall on CPU { 2} > (t=60001 jiffies g=18494 c=18493 q=183951) > Jan 21 17:18:57 n22 kernel: sending NMI to all CPUs: > Jan 21 17:18:57 n22 kernel: NMI backtrace for cpu 2 > Jan 21 17:18:57 n

[PATCH 3.12 10/27] hwmon: (coretemp) Fix truncated name of alarm attributes

2014-01-23 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Jean Delvare commit 3f9aec7610b39521c7c69d754de7265f6994c194 upstream. When the core number exceeds 9, the size of the buffer storing the alarm attribute name is insufficient and the attribute

[GIT PULL] clk: changes for 3.14, part 1

2014-01-23 Thread Mike Turquette
The following changes since commit 6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae: Linux 3.13-rc1 (2013-11-22 11:30:55 -0800) are available in the git repository at: git://git.linaro.org/people/mike.turquette/linux.git tags/clk-for-linus-3.14-part1 for you to fetch changes up to 2e84d75116c17c20

[PATCH 3.12 00/27] 3.12.9-stable review

2014-01-23 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 3.12.9 release. There are 27 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Sat Jan 25 19:06:36 UTC 2014. Anything receive

[PATCH 3.12 13/27] thp: fix copy_page_rep GPF by testing is_huge_zero_pmd once only

2014-01-23 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Hugh Dickins commit eecc1e426d681351a6026a7d3e7d225f38955b6c upstream. We see General Protection Fault on RSI in copy_page_rep: that RSI is what you get from a NULL struct page pointer. RIP

[PATCH 3.12 18/27] drm/i915: fix DDI PLLs HW state readout code

2014-01-23 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Paulo Zanoni commit 0882dae983707455e97479e5e904e37673517ebc upstream. Properly zero the refcounts and crtc->ddi_pll_set so the previous HW state doesn't affect the result of reading the curre

[PATCH 3.12 11/27] writeback: Fix data corruption on NFS

2014-01-23 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit f9b0e058cbd04ada76b13afffa7e1df830543c24 upstream. Commit 4f8ad655dbc8 "writeback: Refactor writeback_single_inode()" added a condition to skip clean inode. However this is wro

[PATCH 3.12 17/27] nilfs2: fix segctor bug that causes file system corruption

2014-01-23 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Andreas Rohner commit 70f2fe3a26248724d8a5019681a869abdaf3e89a upstream. There is a bug in the function nilfs_segctor_collect, which results in active data being written to a segment, that is

<    1   2   3   4   5   6   7   >