[ 71/89] kvm: Fix irqfd resampler list walk

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Alex Williamson commit 49f8a1a5394d8baee5e56fb71e5cf993c228689a upstream. Typo for the next pointer means we're walking random data here. Signed-off-by: Alex Williamson Signed-off-by: Marcelo

[ 67/89] x86, efi: Set runtime_version to the EFI spec revision

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Matt Fleming commit 712ba9e9afc4b3d3d6fa81565ca36fe518915c01 upstream. efi.runtime_version is erroneously being set to the value of the vendor's firmware revision instead of that of the impleme

[ 66/89] efi, x86: Pass a proper identity mapping in efi_call_phys_prelog

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Nathan Zimmer commit b8f2c21db390273c3eaf0e5308faeaeb1e233840 upstream. Update efi_call_phys_prelog to install an identity mapping of all available memory. This corrects a bug on very large sy

Re: [PATCH 2/3] X86: Add a check to catch Xen emulation of Hyper-V

2013-02-01 Thread Stefano Stabellini
On Thu, 31 Jan 2013, H. Peter Anvin wrote: > On 01/30/2013 12:53 AM, Jan Beulich wrote: > > > > I'm not convinced that's the right approach - any hypervisor > > could do similar emulation, and hence you either want to make > > sure you run on Hyper-V (by excluding all others), or you > > tolerate

[ 62/89] efi: Make efi_enabled a function to query EFI facilities

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Matt Fleming commit 83e68189745ad931c2afd45d8ee3303929233e7f upstream. Originally 'efi_enabled' indicated whether a kernel was booted from EFI firmware. Over time its semantics have changed, an

[ 53/89] NFS: Fix error reporting in nfs_xdev_mount

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust commit dee972b967ae111ad5705733de17a3bfc4632311 upstream. Currently, nfs_xdev_mount converts all errors from clone_server() to ENOMEM, which can then leak to userspace (for inst

[ 33/89] mac80211: fix FT roaming

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Berg commit 1626e0fa740dec8665a973cf2349405cdfeb46dc upstream. During FT roaming, wpa_supplicant attempts to set the key before association. This used to be rejected, but as a side eff

[ 39/89] ath9k: fix rx flush handling

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Felix Fietkau commit 4b883f021b9ccf2df3d14425e6e610281fb6a35e upstream. Right now the rx flush is not doing anything useful on AR9003+, as it only works if the buffers in the rx FIFO have not b

[ 40/89] ath9k: remove sc->rx.rxbuflock to fix a deadlock

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Felix Fietkau commit 463e3ed3eacc8f47866e5d612bd8ee0bcee5e2f0 upstream. The commit "ath9k: fix rx flush handling" added a deadlock that happens because ath_rx_tasklet is called in a section tha

[ 49/89] ASoC: arizona: Use actual rather than desired BCLK when calculating LRCLK

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Mark Brown commit b59e0f82aa350e380142353fbd30706092ba6312 upstream. Otherwise we'll get the wrong LRCLK if we need to pick a higher BCLK than is required. Signed-off-by: Mark Brown Signed-of

[ 48/89] EDAC: Test correct variable in ->store function

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 8024c4c0b1057d1cd811fc9c3f88f81de9729fcd upstream. We're testing for ->show but calling ->store(). Signed-off-by: Dan Carpenter Signed-off-by: Borislav Petkov Signed-off

[ 54/89] NFS: Dont silently fail setattr() requests on mountpoints

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust commit ab225417825963b6dc66be7ea80f94ac1378dfdf upstream. Ensure that any setattr and getattr requests for junctions and/or mountpoints are sent to the server. Ever since commit

[ 38/89] ath9k: add a better fix for the rx tasklet vs rx flush race

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Felix Fietkau commit 7fc00a3054b70b1794c2d64db703eb467ad0365c upstream. Ensure that the rx tasklet is no longer running when entering the reset path. Also remove the distinction between flush a

[ 45/89] ALSA: hda - Add a fixup for Packard-Bell desktop with ALC880

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 0712eea349d8e2b6d0e44b94a752d999319027fb upstream. A Packard-Bell desktop machine gives no proper pin configuration from BIOS. It's almost equivalent with the 6stack+fp sta

[ 41/89] ath9k: disable the tasklet before taking the PCU lock

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Felix Fietkau commit 4668cce527acb3bd048c5e6c99b157a14b214671 upstream. Fixes a reported CPU soft lockup where the tasklet tries to acquire the lock and blocks while ath_prepare_reset (holding

[ 29/89] brcmsmac: increase timer reference count for new timers only

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Piotr Haber commit a1fe52801a992e590cdaee2fb47a94bac9b5da90 upstream. On hardware reintialization reference count of already existing timers would be increased again. This leads to problems on

[ 23/89] drm/i915: Disable AsyncFlip performance optimisations

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Chris Wilson commit 1c8c38c588ea91f8deeae21284840459d1bb58e3 upstream. This is a required workarounds for all products, especially on gen6+ where it causes the command streamer to fail to parse

[ 10/89] ARM: S3C64XX: Fix up IRQ mapping for balblair on Cragganmore

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Dimitris Papastamos commit b86dc0d8c12bbb9fed3f392c284bdc7114ce00c1 upstream. We are using S3C_EINT(4) instead of S3C_EINT(5). Signed-off-by: Dimitris Papastamos Signed-off-by: Mark Brown Si

[ 14/89] ARM: virt: boot secondary CPUs through the right entry point

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Marc Zyngier commit 6e484be1ccca3ea495db45900fd42aac8d49d754 upstream. Secondary CPUs should use the __hyp_stub_install_secondary entry point, so boot mode inconsistencies can be detected. Ack

[ 03/89] can: pch_can: fix invalid error codes

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Olivier Sobrie commit ee50e135aeb048b90fab662e661c58b67341830b upstream. Errors in CAN protocol (location) are reported in data[3] of the can frame instead of data[2]. Signed-off-by: Olivier S

[ 04/89] fs/cifs/cifs_dfs_ref.c: fix potential memory leakage

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Cong Ding commit 10b8c7dff5d3633b69e77f57d404dab54ead3787 upstream. When it goes to error through line 144, the memory allocated to *devname is not freed, and the caller doesn't free it either

[ 07/89] ARM: DMA: Fix struct page iterator in dma_cache_maint() to work with sparsemem

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Russell King commit 15653371c67c3fbe359ae37b720639dd4c7b42c5 upstream. Subhash Jadavani reported this partial backtrace: Now consider this call stack from MMC block driver (this is on the ARM

[ 08/89] ARM: OMAP2+: omap4-panda: add UART2 muxing for WiLink shared transport

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Luciano Coelho commit 7662a9c60fee25d7234da4be6d8eab2b2ac88448 upstream. Add the UART2 muxing data to the board file (this used to be, erroneously, done in the bootloader). Signed-off-by: Luci

[ 02/89] can: ti_hecc: fix invalid error codes

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Olivier Sobrie commit 71088c4bd9b8f8cbffb0e66f2abc14297e4b2ca8 upstream. Errors in CAN protocol (location) are reported in data[3] of the can frame instead of data[2]. Signed-off-by: Olivier S

[PATCH] [Watchdog][Trivial] Added comments to explain watchdog_disabled variable

2013-02-01 Thread anish kumar
From: anish kumar This watchdog_disabled flag is bit of cryptic.Howerver it's usefullnes is multifold. Uses are: 1. Check if smpboot_register_percpu_thread function passed. 2. Makes sure that user enables and disables the watchdog in sequence i.e. enable watchdog->disable watchdog->enable wat

Re: [patch 09/40] cpu: hotplug: Implement setup/removal interface

2013-02-01 Thread Hillf Danton
On Thu, Jan 31, 2013 at 8:11 PM, Thomas Gleixner wrote: > +/** > + * __cpuhp_setup_state - Setup the callbacks for an hotplug machine state > + * @state: The state to setup > + * @invoke:If true, the startup function is invoked for cpus where > + * cpu state >= @state > + * @st

[PATCH] [Watchdog][Trivial] Added comments to explain watchdog_disabled variable

2013-02-01 Thread anish kumar
From: anish kumar This watchdog_disabled flag is bit of cryptic.Howerver it's usefullnes is multifold. Uses are: 1. Check if smpboot_register_percpu_thread function passed. 2. Makes sure that user enables and disables the watchdog in sequence i.e. enable watchdog->disable watchdog->enable wat

Re: [PATCH] [Watchdog][Trivial] Added comments to explain watchdog_disabled variable

2013-02-01 Thread anish kumar
Please ignore this patch. On Fri, 2013-02-01 at 19:03 +0530, anish kumar wrote: > From: anish kumar > > This watchdog_disabled flag is bit of cryptic.Howerver it's usefullnes is > multifold. > Uses are: > 1. Check if smpboot_register_percpu_thread function passed. > 2. Makes sure that user enabl

Re: [PATCH v6 05/12] iommu/exynos: support for device tree

2013-02-01 Thread Joerg Roedel
Cho, On Wed, Jan 02, 2013 at 02:53:49PM +0900, KyongHo Cho wrote: > On Tuesday, January 1, 2013, Sylwester Nawrocki > > Cc: devicetree-disc...@lists.ozlabs.org Since patch 7 of this set is already merged, do you mind to re-post the rest of this patch-set with the latest comments addressed? I ca

Re: clock_nanosleep() task_struct leak

2013-02-01 Thread Thomas Gleixner
B1;2601;0cOn Fri, 1 Feb 2013, Tommi Rantala wrote: > Hello, > > Trinity discovered a task_struct leak with clock_nanosleep(), reproducible > with: > > -8<-8<-8<- > #include > > static const struct timespec req; > > int main(void) { > return clock_nanosleep(CLOCK_PROCE

Re: [patch 09/40] cpu: hotplug: Implement setup/removal interface

2013-02-01 Thread Thomas Gleixner
On Fri, 1 Feb 2013, Hillf Danton wrote: > On Thu, Jan 31, 2013 at 8:11 PM, Thomas Gleixner wrote: > > +/** > > + for_each_present_cpu(cpu) { > > + int ret, cpustate = per_cpu(cpuhp_state, cpu); > > s/ret,// Duh, yes. -- To unsubscribe from this list: send the line "unsubscrib

Re: [PATCH v6 1/4] iommu/shmobile: Add iommu driver for Renesas IPMMU modules

2013-02-01 Thread Joerg Roedel
On Mon, Jan 21, 2013 at 07:54:26PM +0900, Hideki EIRAKU wrote: > This is the Renesas IPMMU driver and IOMMU API implementation. > > The IPMMU module supports the MMU function and the PMB function. The > MMU function provides address translation by pagetable compatible with > ARMv6. The PMB funct

Re: [PATCH v6 0/4] Renesas IPMMU driver for sh7372, sh73a0 and r8a7740

2013-02-01 Thread Joerg Roedel
On Mon, Jan 21, 2013 at 07:54:25PM +0900, Hideki EIRAKU wrote: > Hideki EIRAKU (4): > iommu/shmobile: Add iommu driver for Renesas IPMMU modules > ARM: mach-shmobile: sh7372: Add IPMMU device > ARM: mach-shmobile: sh73a0: Add IPMMU device > ARM: mach-shmobile: r8a7740: Add IPMMU device Pau

Re: [PATCH] zsmalloc: Fix TLB coherency and build problem

2013-02-01 Thread Russell King - ARM Linux
On Mon, Jan 28, 2013 at 10:00:08AM +0900, Minchan Kim wrote: > @@ -663,7 +661,7 @@ static inline void __zs_unmap_object(struct mapping_area > *area, > > flush_cache_vunmap(addr, end); > unmap_kernel_range_noflush(addr, PAGE_SIZE * 2); > - local_flush_tlb_kernel_range(addr, end);

Re: ext4-next: Backport of jbd2 fixes?

2013-02-01 Thread Theodore Ts'o
On Fri, Feb 01, 2013 at 10:33:04AM +0100, Sedat Dilek wrote: > Hi Ted, > > will those JBD2 fixes in ext4.git#dev [1] get also into mainline kernel(s)? > > [ Cut-n-paste out of tig ] > > 2013-01-31 13:00 Theodore Ts'o │ o jbd2: track request delay statistics > 2013-01-30 00:41 Theodore Ts'o

Re: [PATCH v6 0/4] Renesas IPMMU driver for sh7372, sh73a0 and r8a7740

2013-02-01 Thread Paul Mundt
On Fri, Feb 01, 2013 at 02:56:33PM +0100, Joerg Roedel wrote: > On Mon, Jan 21, 2013 at 07:54:25PM +0900, Hideki EIRAKU wrote: > > Hideki EIRAKU (4): > > iommu/shmobile: Add iommu driver for Renesas IPMMU modules > > ARM: mach-shmobile: sh7372: Add IPMMU device > > ARM: mach-shmobile: sh73a0:

Re: [RFC] perf: need to expose sched_clock to correlate user samples with kernel samples

2013-02-01 Thread Pawel Moll
Hello, I'd like to revive the topic... On Tue, 2012-10-16 at 18:23 +0100, Peter Zijlstra wrote: > On Tue, 2012-10-16 at 12:13 +0200, Stephane Eranian wrote: > > Hi, > > > > There are many situations where we want to correlate events happening at > > the user level with samples recorded in the pe

Re: [PATCH 2/7] liblock: public headers for mutex implementation

2013-02-01 Thread Sasha Levin
On 02/01/2013 04:57 AM, Ingo Molnar wrote: > > * Sasha Levin wrote: > >> These headers provide the same API as their pthread mutex counterparts. >> >> The design here is to allow to easily switch to liblock lock validation >> just by adding a "liblock_" to pthread_mutex_*() calls, which means th

RE: [PATCH v2 00/30] USB: omap-ehci: Move PHY management to PHY driver

2013-02-01 Thread Mohammed, Afzal
Hi Felipe, Roger, On Wed, Jan 30, 2013 at 18:49:17, Mohammed, Afzal wrote: > On Wed, Jan 30, 2013 at 18:45:04, Balbi, Felipe wrote: > > On Wed, Jan 30, 2013 at 02:48:50PM +0200, Roger Quadros wrote: > > > I would appreciate if someone who knows more about beaglebone can help > > > with verificati

Re: [PATCH v2 00/30] USB: omap-ehci: Move PHY management to PHY driver

2013-02-01 Thread Roger Quadros
On 02/01/2013 04:21 PM, Mohammed, Afzal wrote: > Hi Felipe, Roger, > > On Wed, Jan 30, 2013 at 18:49:17, Mohammed, Afzal wrote: >> On Wed, Jan 30, 2013 at 18:45:04, Balbi, Felipe wrote: >>> On Wed, Jan 30, 2013 at 02:48:50PM +0200, Roger Quadros wrote: > I would appreciate if someone who kno

RE: [PATCH v2 00/30] USB: omap-ehci: Move PHY management to PHY driver

2013-02-01 Thread Mohammed, Afzal
Hi Roger, On Fri, Feb 01, 2013 at 19:55:14, Quadros, Roger wrote: > Thanks Afzal :). You mean the non device tree boot right? No, dt boot, am335x can only dt boot. Regards Afzal

Re: [PATCH v2 00/30] USB: omap-ehci: Move PHY management to PHY driver

2013-02-01 Thread Roger Quadros
On 02/01/2013 04:27 PM, Mohammed, Afzal wrote: > Hi Roger, > > On Fri, Feb 01, 2013 at 19:55:14, Quadros, Roger wrote: > >> Thanks Afzal :). You mean the non device tree boot right? > > No, dt boot, am335x can only dt boot. but DT boot is not supported for OMAP USB Host. How did you get it to w

RE: [PATCH v2 00/30] USB: omap-ehci: Move PHY management to PHY driver

2013-02-01 Thread Mohammed, Afzal
Hi Roger, On Fri, Feb 01, 2013 at 20:01:38, Quadros, Roger wrote: > but DT boot is not supported for OMAP USB Host. How did you get it to work? > > Are you testing the Host connector or the OTG connector? If you see latest changes on musb_dsps.c, you will be able to find out. As beagle bone fi

Re: [PATCH 2/3] mmc: use regulator_can_change_voltage() instead of regulator_count_voltages() hacks

2013-02-01 Thread Marek Szyprowski
Hello, On 12/4/2012 3:01 PM, Marek Szyprowski wrote: mmc_regulator_set_ocr() depends on the ability of regulator to change the voltage value. When regulator cannot change its voltage output, some code is skipped to avoid reporting false errors on some boards, which use MMC hosts with fixed regul

Re: [PATCH 3/3] mmc: sdhci: check voltage range only on regulators aware of voltage value

2013-02-01 Thread Marek Szyprowski
Hello, On 12/4/2012 3:01 PM, Marek Szyprowski wrote: Some regulators don't report any voltage values, so checking supported voltage range results in disabling all SDHCI_CAN_VDD_* flags and registration failure. This patch finally provides a correct fix for the registration of SDHCI driver with a

Re: How to online remove an error scsi disk from the system?

2013-02-01 Thread Hillf Danton
On Fri, Feb 1, 2013 at 2:13 PM, Tao Ma wrote: > Hi All, > In our product system, we have several sata disks attached to one > machine. So when one of the disk fails, the jbd2(yes, we use ext4) will > hang forever and we will get something in /var/log/messages like below. > It seems to me t

Re: [PATCH] parisc: unbreak automounter support on 64-bit kernel with 32-bit userspace

2013-02-01 Thread Catalin Marinas
On 31 January 2013 22:10, Rolf Eike Beer wrote: > H. Peter Anvin wrote: >> On 01/31/2013 01:42 PM, James Bottomley wrote: >> > On Thu, 2013-01-31 at 13:29 -0800, H. Peter Anvin wrote: >> >> On 01/31/2013 12:26 PM, James Bottomley wrote: >> >>> [adding autofs list and maintainer for their perusal a

Re: [PATCH v4 3/3] ARM: mm: use static_vm for managing static mapped areas

2013-02-01 Thread JoonSoo Kim
2013/2/1 Nicolas Pitre : > On Thu, 31 Jan 2013, Joonsoo Kim wrote: > >> A static mapped area is ARM-specific, so it is better not to use >> generic vmalloc data structure, that is, vmlist and vmlist_lock >> for managing static mapped area. And it causes some needless overhead and >> reducing this o

Re: [PATCH v2 00/30] USB: omap-ehci: Move PHY management to PHY driver

2013-02-01 Thread Roger Quadros
On 02/01/2013 04:35 PM, Mohammed, Afzal wrote: > Hi Roger, > > On Fri, Feb 01, 2013 at 20:01:38, Quadros, Roger wrote: > >> but DT boot is not supported for OMAP USB Host. How did you get it to work? >> >> Are you testing the Host connector or the OTG connector? > > If you see latest changes on

Re: [PATCH] [Watchdog][Trivial] Added comments to explain watchdog_disabled variable

2013-02-01 Thread Don Zickus
On Fri, Feb 01, 2013 at 07:19:07PM +0530, anish kumar wrote: > From: anish kumar > > This watchdog_disabled flag is bit of cryptic.Howerver it's usefullnes is > multifold. > Uses are: > 1. Check if smpboot_register_percpu_thread function passed. > 2. Makes sure that user enables and disables the

Re: [PATCH 04/12] perf, x86: Support the TSX intx/intx_cp qualifiers v3

2013-02-01 Thread Andi Kleen
> > As requested before, please keep those in a completely separate > series so that minimal support can be merged upstream. This is Hi Ingo, The goal is not to merge "minimal support" but full support. All of these features have users. But I subsetted it to make reviewing easier. I think the

Re: [PATCH 07/10] TTY: switch tty_schedule_flip

2013-02-01 Thread Jiri Slaby
On 02/01/2013 01:37 PM, Peter Hurley wrote: > On Thu, 2013-01-03 at 15:53 +0100, Jiri Slaby wrote: >> Now, we start converting tty buffer functions to actually use >> tty_port. This will allow us to get rid of the need of tty in many >> call sites. Only tty_port will needed and hence no more >> tty

Re: Radeon RV100 init fails with specific card+mobo - IRQ problem

2013-02-01 Thread Jerome Glisse
On Fri, Feb 1, 2013 at 7:24 AM, Meelis Roos wrote: > I have a test PC with AMD 760MPX chipset (Tyan S2466 Tiger MPX board) > and Radeon RV100-based AGP card where radeon KMS modesetting does not > work (does not work with any kernel tried so far (2.6.32, 3.2, 3.7, > 3.8-rc6). > > >From dmesg with

Re: [PATCH v4 00/13] ARM LPAE Fixes - Part 1

2013-02-01 Thread Cyril Chemparathy
Hi Nico, On 01/31/2013 11:00 PM, Nicolas Pitre wrote: On Thu, 31 Jan 2013, Cyril Chemparathy wrote: This series is a repost of the LPAE related changes in preparation for the introduction of the Keystone sub-architecture. The original series has now been split, and this particular series excl

Re: [PATCH v8 4/4] sd: change to auto suspend mode

2013-02-01 Thread Alan Stern
On Fri, 1 Feb 2013, Aaron Lu wrote: > On Thu, Jan 31, 2013 at 10:13:05AM -0500, Alan Stern wrote: > > On Thu, 31 Jan 2013, Aaron Lu wrote: > > > > > > > +static int scsi_blk_runtime_suspend(struct device *dev) > > > > > +{ > > > > > + struct scsi_device *sdev = to_scsi_device(dev); > > > > >

RE: [PATCH 2/3] X86: Add a check to catch Xen emulation of Hyper-V

2013-02-01 Thread KY Srinivasan
> -Original Message- > From: Stefano Stabellini [mailto:stefano.stabell...@eu.citrix.com] > Sent: Friday, February 01, 2013 8:20 AM > To: H. Peter Anvin > Cc: Jan Beulich; KY Srinivasan; o...@aepfle.de; b...@alien8.de; > a...@canonical.com; x...@kernel.org; t...@linutronix.de; > de...@lin

Re: [PATCHv4 0/7] zswap: compressed swap caching

2013-02-01 Thread Seth Jennings
On 01/31/2013 07:39 PM, Simon Jeons wrote: > Hi Seth, > On Tue, 2013-01-29 at 15:40 -0600, Seth Jennings wrote: >> Performance, Kernel Building: >> >> Setup >> >> Gentoo w/ kernel v3.7-rc7 >> Quad-core i5-2500 @ 3.3GHz >> 512MB DDR3 1600MHz (limited with mem=512m on boot) >> Filesystem an

Re: [PATCH v4 00/13] ARM LPAE Fixes - Part 1

2013-02-01 Thread Russell King - ARM Linux
On Fri, Feb 01, 2013 at 10:10:37AM -0500, Cyril Chemparathy wrote: > With this, I ran simple network and filesystem performance tests to > compare the code-patching vs. non-code-patching variants. These tests > didn't yield any significant performance difference between the two on > an ARMv7

Re: [PATCH] leds-ot200: Fix error caused by shifted mask

2013-02-01 Thread Christian Gmeiner
ping -- Christian Gmeiner, MSc 2013/1/23 GMEINER.Christian : >> -Ursprüngliche Nachricht- >> Von: Christian Gmeiner [mailto:christian.gmei...@gmail.com] >> Gesendet: Mittwoch, 23. Januar 2013 09:11 >> An: linux-n...@vger.kernel.org; a...@linux-foundation.org; >> rpur...@rpsys.net; linux-k

Re: [PATCH v4 2/3] ARM: ioremap: introduce an infrastructure for static mapped area

2013-02-01 Thread JoonSoo Kim
Hello, Nicolas. 2013/2/1 Nicolas Pitre : > On Thu, 31 Jan 2013, Joonsoo Kim wrote: > >> In current implementation, we used ARM-specific flag, that is, >> VM_ARM_STATIC_MAPPING, for distinguishing ARM specific static mapped area. >> The purpose of static mapped area is to re-use static mapped area

Re: Radeon RV100 init fails with specific card+mobo - IRQ problem

2013-02-01 Thread Meelis Roos
> > Adding some printks reveals it calls > > r100_init() -> radeon_irq_kms_init() -> drm_irq_install() -> > > drm_dev_to_irq() and that fails. So no IRQ, no KMS. > > > > lspci does not show Interrupt like on some other PCI devices. > > /proc/interrupts obviously does not contain the irq since we do

Re: [PATCH 1/2] don't wait on disk to start on resume

2013-02-01 Thread Alan Stern
On Fri, 1 Feb 2013, Aaron Lu wrote: > Hi Derek, > > On 12/21/2012 12:35 PM, Derek Basehore wrote: > > We no longer wait for the disk to spin up in sd_resume. It now enters the > > request to spinup the disk into the elevator and returns. > > > > A function is scheduled under the scsi_sd_probe_do

Re: [ 82/89] netfilter: xt_hashlimit: fix race that results in duplicated entries

2013-02-01 Thread Greg Kroah-Hartman
On Fri, Feb 01, 2013 at 11:04:36PM +0800, Feng Gao wrote: > Hi Greg, > > I have a question. > > There are two duplicated lines now. >                        dh->expires = now + > msecs_to_jiffies(hinfo->cfg.expire); >                        rateinfo_recalc(dh, now, hinfo->cfg.mode); > 1# case: T

Re: [PATCHv4 3/7] zswap: add to mm/

2013-02-01 Thread Seth Jennings
On 01/31/2013 08:38 PM, Minchan Kim wrote: > On Thu, Jan 31, 2013 at 01:06:46PM -0600, Seth Jennings wrote: >> On 01/31/2013 01:07 AM, Minchan Kim wrote: >>> On Tue, Jan 29, 2013 at 03:40:23PM -0600, Seth Jennings wrote: zswap is a thin compression backend for frontswap. It receives pages

linux-kernel@vger.kernel.org

2013-02-01 Thread chenggang . qin
From: chenggang Yesterday, I implemented these tracepoint events in VFS subsystem. It is not a good idea. Now, I modified two existing tracepoint events in ext4 subsystem to implement the same function. Many database systems use their own page cache subsystems and use the direct IO to access t

[PATCH] SubmittingPatches: add penalty for forcing a maintainer to edit a patch

2013-02-01 Thread Greg Kroah-Hartman
From: Greg Kroah-Hartman Maintainers have to hand-edit patches (body of patches and changelog entries) all the time. There needs to be some kind of penalty put into place to keep developers from abusing maintainers. Reported-by: Konrad Rzeszutek Wilk Signed-off-by: Greg Kroah-Hartman diff -

Re: Radeon RV100 init fails with specific card+mobo - IRQ problem

2013-02-01 Thread Alex Deucher
On Fri, Feb 1, 2013 at 10:26 AM, Meelis Roos wrote: >> > Adding some printks reveals it calls >> > r100_init() -> radeon_irq_kms_init() -> drm_irq_install() -> >> > drm_dev_to_irq() and that fails. So no IRQ, no KMS. >> > >> > lspci does not show Interrupt like on some other PCI devices. >> > /pro

Re: [PATCH] SubmittingPatches: add penalty for forcing a maintainer to edit a patch

2013-02-01 Thread Joe Perches
On Fri, 2013-02-01 at 16:43 +0100, Greg Kroah-Hartman wrote: > From: Greg Kroah-Hartman > > Maintainers have to hand-edit patches (body of patches and changelog > entries) all the time. There needs to be some kind of penalty put into > place to keep developers from abusing maintainers. No, ther

[PATCH v2] HWPOISON: fix wrong num_poisoned_pages in handling memory error on thp

2013-02-01 Thread Naoya Horiguchi
On Thu, Jan 31, 2013 at 06:35:45PM -0500, Naoya Horiguchi wrote: > On Thu, Jan 31, 2013 at 11:34:16AM -0800, Andrew Morton wrote: > > On Thu, 31 Jan 2013 10:25:58 -0500 > > Naoya Horiguchi wrote: > > > > > num_poisoned_pages counts up the number of pages isolated by memory > > > errors. > > > Bu

[PATCH v4] i2c: exynos5: add High Speed I2C controller driver

2013-02-01 Thread Naveen Krishna Chatradhi
Adds support for High Speed I2C driver found in Exynos5 and later SoCs from Samsung. This driver currently supports Auto mode. Driver only supports Device Tree method. Note: Added debugfs support for registers view, not tested. Signed-off-by: Taekgyun Ko Signed-off-by: Naveen Krishna Chatradhi

Re: [BUG?] false positive in soft lockup detector while unlzma initramfs on slow cpu

2013-02-01 Thread Don Zickus
On Fri, Feb 01, 2013 at 02:44:43PM +0400, Mike Lykov wrote: > 31.01.2013 18:46, Don Zickus пишет: > > >>>I also attached another patch as suggested by Andrew to add a > >>>touch_softlockup_watchdog in the unlzma routine. Probably makes things > >>>run a little slower. Compiled tested only. > >>

[PATCH 0/2] staging: android: ashmem: add 32bit compat support

2013-02-01 Thread Serban Constantinescu
Hi all, This set of patches will add support for existing 32bit Android ashmem syscalls on 64bit platforms. They also fix the ashmem pin/unpin interface without affecting the 32bit ABI but imposing a new, correct one, for any future 64bit Android userspace. They have been successfully tested on 3

[PATCH 1/2] staging: android: ashmem: fix ashmem pin/unpin interface

2013-02-01 Thread Serban Constantinescu
The values exchanged between kernel and userspace through struct ashmem_pin should be of type size_t. This change won't affect the existing interface but will stand as the basis of 64bit compat layer. Signed-off-by: Serban Constantinescu --- drivers/staging/android/ashmem.c |2 +- drivers/st

[PATCH 2/2] staging: android: ashmem: Add support for 32bit ashmem calls in a 64bit kernel

2013-02-01 Thread Serban Constantinescu
Android's shared memory subsystem, Ashmem, does not support calls from a 32bit userspace in a 64 bit kernel. This patch adds support for syscalls coming from a 32bit userspace in a 64bit kernel. The patch has been successfully tested on ARMv8 AEM(64bit platform model) and Versatile Express A9(32bi

Re: [RFC PATCH v5 0/8] introduce PCI bus notifier chain to get rid of the ACPI PCI subdriver interfaces

2013-02-01 Thread Jiang Liu
On 01/29/2013 10:04 AM, Jiang Liu wrote: > On 2013-1-29 8:34, Rafael J. Wysocki wrote: >> On Monday, January 28, 2013 01:56:33 PM Bjorn Helgaas wrote: >>> On Fri, Jan 18, 2013 at 9:07 AM, Jiang Liu wrote: This is an RFC patchset to address review comments in thread at: https://patchwork.

Re: [PATCH v4 00/13] ARM LPAE Fixes - Part 1

2013-02-01 Thread Cyril Chemparathy
On 02/01/2013 10:14 AM, Russell King - ARM Linux wrote: On Fri, Feb 01, 2013 at 10:10:37AM -0500, Cyril Chemparathy wrote: With this, I ran simple network and filesystem performance tests to compare the code-patching vs. non-code-patching variants. These tests didn't yield any significant perfo

Re: [PATCH 1/2] staging: android: ashmem: fix ashmem pin/unpin interface

2013-02-01 Thread Greg KH
On Fri, Feb 01, 2013 at 04:08:00PM +, Serban Constantinescu wrote: > The values exchanged between kernel and userspace through struct > ashmem_pin should be of type size_t. This change won't affect the > existing interface but will stand as the basis of 64bit compat layer. How do you define si

linux-kernel@vger.kernel.org

2013-02-01 Thread Theodore Ts'o
On Fri, Feb 01, 2013 at 11:37:38PM +0800, chenggang@gmail.com wrote: > > Many database systems use their own page cache subsystems and use > the direct IO to access the disks. Sometimes, the system engineers > want to know the misses rate of the database system's page > cache. They also requir

Re: [ 82/89] netfilter: xt_hashlimit: fix race that results in duplicated entries

2013-02-01 Thread Greg Kroah-Hartman
On Sat, Feb 02, 2013 at 12:19:40AM +0800, Feng Gao wrote: > Hi Greg, > > Yes. It is same. > But I am sorry that I could not get you about "it needs to be changed in > Linus's tree first before i can do anything in the stable kernels". > > Do you mean the patch need be commited to Linux tree first

Re: [BUG?] false positive in soft lockup detector while unlzma initramfs on slow cpu

2013-02-01 Thread Mike Lykov
01.02.2013 19:59, Don Zickus пишет: > Hmm, that seems to make sense. I was expecting that problem to pop up on > my end but didn't see. I just asusmed the boot code didn't use that > decompressor. Can you accumulate all our discussion and create one right-coded, kernelcode-styled patch? > Th

[PATCH v2 4/7] liblockdep: public headers for rwlock implementation

2013-02-01 Thread Sasha Levin
Both pthreads and lockdep support dealing with rwlocks, so here's the liblockdep implementation for those. Signed-off-by: Sasha Levin --- tools/lib/lockdep/include/liblockdep/rwlock.h | 91 +++ 1 file changed, 91 insertions(+) create mode 100644 tools/lib/lockdep/include

[PATCH v2 7/7] perf: integrate liblockdep support into perf

2013-02-01 Thread Sasha Levin
liblockdep is simply userspace lockdep. We can use that to analyze and verify the locking in perf. Usage is simple, to compile perf with liblockdep all that's needed it: make LIBLOCK=[path to liblockdep] Once liblockdep support is compiled in, perf will yell if locking goes wrong for any

[PATCH v2 1/7] liblockdep: wrap kernel/lockdep.c to allow usage from userspace

2013-02-01 Thread Sasha Levin
kernel/lockdep.c deals with validating locking scenarios for various architectures supported by the kernel. There isn't anything kernel specific going on in lockdep, and when we compare userspace to other architectures that don't have to deal with irqs such as s390, they become all too similar. We

[PATCH v2 3/7] liblockdep: mutex test suite

2013-02-01 Thread Sasha Levin
This is a rather simple and basic test suite to test common locking issues. Beyond tests, it also shows how to use the library. Signed-off-by: Sasha Levin --- tools/lib/lockdep/run_tests.sh | 15 +++ tools/lib/lockdep/tests/AA.c | 16 tools/lib

[PATCH v2 5/7] liblockdep: rwlock test suite

2013-02-01 Thread Sasha Levin
A simple test to make sure we handle rwlocks correctly. Signed-off-by: Sasha Levin --- tools/lib/lockdep/tests/WW.c | 16 1 file changed, 16 insertions(+) create mode 100644 tools/lib/lockdep/tests/WW.c diff --git a/tools/lib/lockdep/tests/WW.c b/tools/lib/lockdep/tests/WW.c n

[PATCH v2 2/7] liblockdep: public headers for mutex implementation

2013-02-01 Thread Sasha Levin
These headers provide the same API as their pthread mutex counterparts. The design here is to allow to easily switch to liblockdep lock validation just by adding a "liblockdep_" to pthread_mutex_*() calls, which means that it's easy to integrate liblockdep into existing codebases. Signed-off-by:

[PATCH v2 6/7] liblockdep: add a MAINTAINERS entry

2013-02-01 Thread Sasha Levin
Signed-off-by: Sasha Levin --- MAINTAINERS | 5 + 1 file changed, 5 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 212c255..a64abfb 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4637,6 +4637,11 @@ F: drivers/lguest/ F: include/linux/lguest*.h F: tools/lguest/ +

Re: [PATCH V7] kbuild: create a rule to run the pre-processor on *.dts files

2013-02-01 Thread Rob Herring
On 02/01/2013 03:01 AM, Srinivas KANDAGATLA wrote: > Hi Stephen, > Not sure if you have already noticed this but, > I did try this patch on my 3.8, and it looks like the intermediate dts > file replaces all instances of linux with 1 because of predefined macros > in gcc. > As a result > linux,s

Re: [PATCH 1/1] mtd: physmap_of: fix illegal dereference

2013-02-01 Thread Artem Bityutskiy
On Thu, 2013-01-17 at 19:22 +0100, Stef van Os wrote: > d68cbdd introduced a new way of getting the name of an mtd > partion. The character pointer is not initialized, and only > checked against NULL, not at other random garbage. > This patch fixes the resulting panic. > > Signed-off-by: Stef van

Re: [PATCH 1/2] staging: android: ashmem: fix ashmem pin/unpin interface

2013-02-01 Thread Serban Constantinescu
Hi Greg, On 01/02/13 16:18, Greg KH wrote: On Fri, Feb 01, 2013 at 04:08:00PM +, Serban Constantinescu wrote: The values exchanged between kernel and userspace through struct ashmem_pin should be of type size_t. This change won't affect the existing interface but will stand as the basis of

Re: [ 82/89] netfilter: xt_hashlimit: fix race that results in duplicated entries

2013-02-01 Thread Feng Gao
Thanks Pablo. I have a question about commiting the patch for kernel. Because i am the reporter of this issue, and I sent the similar fix to netfilter maillist and the owner of the xt_hashlimit.c before. Now it is that Greg commits the patch for this issue, not me, although the fix is similar wit

Re: PAE problems was [RFC] Reproducible OOM with just a few sleeps

2013-02-01 Thread H. Peter Anvin
On 02/01/2013 02:25 AM, Pavel Machek wrote: On Fri 2013-02-01 11:20:44, Pavel Machek wrote: On Thu 2013-01-31 23:38:27, Phil Turmel wrote: On 01/31/2013 10:13 PM, paul.sz...@sydney.edu.au wrote: [trim /] Does not that prove that PAE is broken? Please, Paul, take *yes* for an answer. It is

Re: [PATCH V2 1/6] pinctrl: pinctrl-single: use arch_initcall and module_exit

2013-02-01 Thread Tony Lindgren
* Linus Walleij [130129 03:03]: > On Tue, Jan 29, 2013 at 8:38 AM, Vishwanathrao Badarkhe, Manish > wrote: > > > Currently, I2C driver gets probed before pinctrl driver. > > To achieve I2C pin muxing via pinctrl driver before I2C > > probe get called, register pinctrl driver in arch_initcall. >

Re: [PATCH 1/1] mtd: physmap_of: fix illegal dereference

2013-02-01 Thread Stef van Os
On 02/01/2013 05:54 PM, Artem Bityutskiy wrote: On Thu, 2013-01-17 at 19:22 +0100, Stef van Os wrote: d68cbdd introduced a new way of getting the name of an mtd partion. The character pointer is not initialized, and only checked against NULL, not at other random garbage. This patch fixes the res

Re: [PATCH V2 1/6] pinctrl: pinctrl-single: use arch_initcall and module_exit

2013-02-01 Thread Tony Lindgren
* Tony Lindgren [130201 09:12]: > * Linus Walleij [130129 03:03]: > > On Tue, Jan 29, 2013 at 8:38 AM, Vishwanathrao Badarkhe, Manish > > wrote: > > > > > Currently, I2C driver gets probed before pinctrl driver. > > > To achieve I2C pin muxing via pinctrl driver before I2C > > > probe get calle

Re: [PATCH] init: fix name of root device in /proc/mounts

2013-02-01 Thread William Hubbs
On Thu, Jan 31, 2013 at 03:22:09PM -0800, H. Peter Anvin wrote: > On 01/31/2013 02:51 PM, William Hubbs wrote: > > On a system that does not use an initramfs, /dev/root was always > > listed in /proc/mounts. This breaks software which scans /proc/mounts to > > determine which file systems are mount

[PATCH v2 7/7] perf: integrate liblockdep support into perf

2013-02-01 Thread Sasha Levin
liblockdep is simply userspace lockdep. We can use that to analyze and verify the locking in perf. Usage is simple, to compile perf with liblockdep all that's needed it: make LIBLOCK=[path to liblockdep] Once liblockdep support is compiled in, perf will yell if locking goes wrong for any

Re: [PATCH 3/3] serial: tegra: Convert to devm_ioremap_resource()

2013-02-01 Thread Stephen Warren
On 02/01/2013 02:49 AM, Sachin Kamat wrote: > On 1 February 2013 09:54, Stephen Warren wrote: >>> >>> The entire series is merged in Greg's driver-core tree [1] and I >>> presume all other associated patches would also be picked up by him. >>> Isn't it Greg? >>> >>> [1] git://git.kernel.org/pub/sc

Re: [PATCH 01/12] perf, x86: Add PEBSv2 record support

2013-02-01 Thread Stephane Eranian
On Thu, Jan 31, 2013 at 11:51 PM, Andi Kleen wrote: > From: Andi Kleen > > Add support for the v2 PEBS format. It has a superset of the v1 PEBS > fields, but has a longer record so we need to adjust the code paths. > > The main advantage is the new "EventingRip" support which directly > gives the

Re: [PATCH] x86: Use enum instead of literals for trap values

2013-02-01 Thread Ben Hutchings
On Tue, 2013-01-22 at 23:44 +0100, John Kacur wrote: > From: Kees Cook > > commit c94082656dac74257f63e91f78d5d458ac781fa5 upstream > > The traps are referred to by their numbers and it can be difficult to > understand them while reading the code without context. This patch adds > enumeration of

<    1   2   3   4   5   6   7   >