Re: [PATCH 2/5] mempolicy: Remove mempolicy sharing

2012-08-22 Thread Mel Gorman
On Wed, Aug 22, 2012 at 12:03:14PM -0700, Andrew Morton wrote: > On Mon, 20 Aug 2012 17:36:31 +0100 > Mel Gorman wrote: > > > From: KOSAKI Motohiro > > > > Dave Jones' system call fuzz testing tool "trinity" triggered the following > > bug error with slab debugging enabled > > > > ... > > > >

Re: [PATCHv3 4/4] ARM: kprobes: make more tests conditional

2012-08-22 Thread Nicolas Pitre
On Wed, 22 Aug 2012, Arnd Bergmann wrote: > On Wednesday 22 August 2012, Nicolas Pitre wrote: > > On Wed, 22 Aug 2012, Arnd Bergmann wrote: > > > > > > > > The ldrex/strex instructions are available on ARMv6. It's only the d > > > > variants (strexd/ldrexd) which are only available from ARMv6k.

Re: [PATCH 0/4] [RFC] ARM: multiplatform: rename all mach headers

2012-08-22 Thread Stephen Warren
On 08/22/2012 06:53 AM, Arnd Bergmann wrote: > I've created this series some time ago, and updated it now to > v3.6-rc1. The idea is to get us a big step closer to the > single zImage kernel across multiple ARM platforms by > untangling the duplicate header file names. > > There are two branches a

Re: [PATCH] mm: mmu_notifier: fix inconsistent memory between secondary MMU and host

2012-08-22 Thread Andrea Arcangeli
Hi Andrew, On Wed, Aug 22, 2012 at 12:15:35PM -0700, Andrew Morton wrote: > On Wed, 22 Aug 2012 18:29:55 +0200 > Andrea Arcangeli wrote: > > > On Wed, Aug 22, 2012 at 02:03:41PM +0800, Xiao Guangrong wrote: > > > On 08/21/2012 11:06 PM, Andrea Arcangeli wrote: > > > > CPU0

Re: [PATCH v6 03/13] block: Add bio_reset()

2012-08-22 Thread Tejun Heo
On Wed, Aug 22, 2012 at 11:34:26AM -0700, Tejun Heo wrote: > On Wed, Aug 22, 2012 at 10:04:00AM -0700, Kent Overstreet wrote: > > Reusing bios is something that's been highly frowned upon in the past, > > but driver code keeps doing it anyways. If it's going to happen anyways, > > we should provide

Re: [PATCH] lpc_ich: Fix a 3.5 kernel regression for iTCO_wdt driver

2012-08-22 Thread Wim Van Sebroeck
Hi All, Cc-ing Samuel and Guenter also. > There are many reports (including 2 of my machines) that iTCO_wdt watchdog > driver fails to be initialized in 3.5 kernel with error message like: > > [5.265175] ACPI Warning: 0x1060-0x107f SystemIO conflicts with > Region \_SB_.PCI0.LPCB.TC

Re: [PATCH v6 04/13] pktcdvd: Switch to bio_kmalloc()

2012-08-22 Thread Tejun Heo
(cc'ing Jiri, hi!) On Wed, Aug 22, 2012 at 10:04:01AM -0700, Kent Overstreet wrote: > This is prep work for killing bi_destructor - previously, pktcdvd had > its own pkt_bio_alloc which was basically duplication bio_kmalloc(), > necessitating its own bi_destructor implementation. > > v5: Un-reord

Re: [PATCH] mm: mmu_notifier: fix inconsistent memory between secondary MMU and host

2012-08-22 Thread Andrew Morton
On Wed, 22 Aug 2012 21:50:43 +0200 Andrea Arcangeli wrote: > Hi Andrew, > > On Wed, Aug 22, 2012 at 12:15:35PM -0700, Andrew Morton wrote: > > On Wed, 22 Aug 2012 18:29:55 +0200 > > Andrea Arcangeli wrote: > > > > > On Wed, Aug 22, 2012 at 02:03:41PM +0800, Xiao Guangrong wrote: > > > > On 08/

Re: [PATCH v6 05/13] block: Kill bi_destructor

2012-08-22 Thread Tejun Heo
Hello, On Wed, Aug 22, 2012 at 10:04:02AM -0700, Kent Overstreet wrote: > +#define BIO_KMALLOC_POOL NULL I would much prefer just doing if (!bs) { /* do kmalloc/kfree thing */ } else { /* do bioset thing */ } NULL @bs indicating no bioset

Re: [PATCH 0/4] [RFC] ARM: multiplatform: rename all mach headers

2012-08-22 Thread Arnd Bergmann
On Wednesday 22 August 2012, Stephen Warren wrote: > On 08/22/2012 06:53 AM, Arnd Bergmann wrote: > > I've created this series some time ago, and updated it now to > > v3.6-rc1. The idea is to get us a big step closer to the > > single zImage kernel across multiple ARM platforms by > > untangling t

Re: [PATCH v6 1/4] xattr: extract simple_xattr code from tmpfs

2012-08-22 Thread Aristeu Rozanski
On Mon, Aug 20, 2012 at 09:47:15PM -0700, Hugh Dickins wrote: > On Mon, 20 Aug 2012, Aristeu Rozanski wrote: > > On Mon, Aug 20, 2012 at 12:10:09AM -0700, Hugh Dickins wrote: > > > Yes, it looks nice to me. I might have preferred more as inlines in > > > the header file to lower the slight init/ev

Re: [PATCH v6 08/13] block: Add an explicit bio flag for bios that own their bvec

2012-08-22 Thread Adrian Bunk
On Wed, Aug 22, 2012 at 12:22:41PM -0700, Kent Overstreet wrote: > On Wed, Aug 22, 2012 at 08:43:52PM +0300, Adrian Bunk wrote: > > On Wed, Aug 22, 2012 at 10:04:05AM -0700, Kent Overstreet wrote: > > >... > > > --- a/include/linux/blk_types.h > > > +++ b/include/linux/blk_types.h > > > @@ -117,6 +

[PATCH] NFS: Fix Oopses in nfs_lookup_revalidate and nfs4_lookup_revalidate

2012-08-22 Thread Trond Myklebust
Fix the following Oops in 3.5.1: BUG: unable to handle kernel NULL pointer dereference at 0038 IP: [] nfs_lookup_revalidate+0x2d/0x480 [nfs] PGD 337c63067 PUD 0 Oops: [#1] SMP CPU 5 Modules linked in: nfs fscache nfsd lockd nfs_acl auth_rpcgss sunrpc af_packet binfmt_misc c

RE: [PATCH 38/74] lto, watchdog/hpwdt.c: Make assembler label global

2012-08-22 Thread Mingarelli, Thomas
I am OK with the changes. We have a few more coming soon to improve the kdump process when hpwdt is running. Just a heads up. Thanks, Tom -Original Message- From: wi...@spo001.leaseweb.com [mailto:wi...@spo001.leaseweb.com] On Behalf Of Wim Van Sebroeck Sent: Wednesday, August 22, 2012

Re: [PATCH] mm: mmu_notifier: fix inconsistent memory between secondary MMU and host

2012-08-22 Thread Andrea Arcangeli
On Wed, Aug 22, 2012 at 12:58:05PM -0700, Andrew Morton wrote: > If you can suggest some text I'll type it in right now. Ok ;), I tried below: This is safe to start by updating the secondary MMUs, because the relevant primary MMU pte invalidate must have already happened with a ptep_clear_flush b

Re: [PATCH v6 06/13] block: Consolidate bio_alloc_bioset(), bio_kmalloc()

2012-08-22 Thread Tejun Heo
Hello, On Wed, Aug 22, 2012 at 10:04:03AM -0700, Kent Overstreet wrote: > Previously, bio_kmalloc() and bio_alloc_bioset() behaved slightly > different because there was some almost-duplicated code - this fixes > that issue. What were those slight differences? Why is it safe to change the behavi

Re: [PATCH 19/36] autonuma: memory follows CPU algorithm and task/mm_autonuma stats collection

2012-08-22 Thread Andi Kleen
Andrea Arcangeli writes: > +/* > + * In this function we build a temporal CPU_node<->page relation by > + * using a two-stage autonuma_last_nid filter to remove short/unlikely > + * relations. > + * > + * Using P(p) ~ n_p / n_t as per frequentest probability, we can > + * equate a node's CPU usag

Re: [PATCH 0/3 v2] HWPOISON: improve dirty pagecache error reporting

2012-08-22 Thread Andi Kleen
Naoya Horiguchi writes: > Hi, > > Based on the previous discussion, in this version I propose only error > reporting fix ("overwrite recovery" is sparated out from this series.) > > I think Fengguang's patch (patch 2 in this series) has a corner case > about inode cache drop, so I added patch 3 f

Re: [PATCH v6 1/4] xattr: extract simple_xattr code from tmpfs

2012-08-22 Thread Hugh Dickins
On Wed, 22 Aug 2012, Aristeu Rozanski wrote: > On Mon, Aug 20, 2012 at 09:47:15PM -0700, Hugh Dickins wrote: > > On Mon, 20 Aug 2012, Aristeu Rozanski wrote: > > > On Mon, Aug 20, 2012 at 12:10:09AM -0700, Hugh Dickins wrote: > > > > Yes, it looks nice to me. I might have preferred more as inlines

Re: [PATCH v6 07/13] block: Avoid deadlocks with bio allocation by stacking drivers

2012-08-22 Thread Tejun Heo
Hello, Kent. On Wed, Aug 22, 2012 at 10:04:04AM -0700, Kent Overstreet wrote: > Previously, if we ever try to allocate more than once from the same bio > set while running under generic_make_request(), we risk deadlock. > > This would happen if e.g. a bio ever needed to be split more than once, >

Re: [PATCH v2 1/9] pinctrl: mvebu: pinctrl driver core

2012-08-22 Thread Stephen Warren
On 08/22/2012 02:22 AM, Sebastian Hesselbarth wrote: > This patch adds a pinctrl driver core for Marvell SoCs plus DT > binding documentation. This core driver will be used by SoC family > specific drivers, i.e. Armada XP, Armada 370, Dove, Kirkwood, aso. > +++ b/Documentation/devicetree/bindings/

Re: [PATCH v2 7/9] ARM: mvebu: Add pinctrl support to Armada XP SoCs

2012-08-22 Thread Stephen Warren
On 08/22/2012 02:22 AM, Sebastian Hesselbarth wrote: > This commits adds the necessary device tree information to define the > compatible property for the pinctrl driver instance of Armada XP SoCs. > > Until now, the device tree representation considered the Armada XP as > a single SoC. But in fac

Re: [PATCH v6 10/13] block: Introduce new bio_split()

2012-08-22 Thread Tejun Heo
Hello, Kent. On Wed, Aug 22, 2012 at 10:04:07AM -0700, Kent Overstreet wrote: > @@ -672,7 +672,6 @@ void bio_integrity_trim(struct bio *bio, unsigned int > offset, > > BUG_ON(bip == NULL); > BUG_ON(bi == NULL); > - BUG_ON(!bio_flagged(bio, BIO_CLONED)); > > nr_sectors =

Re: [PATCH v2 8/9] ARM: mvebu: Add pinctrl support to Armada 370 SoC

2012-08-22 Thread Stephen Warren
On 08/22/2012 02:22 AM, Sebastian Hesselbarth wrote: > This commits adds the necessary device tree information to define the > compatible property for the pinctrl driver instance of Armada 370 SoC. > diff --git a/arch/arm/boot/dts/armada-370.dtsi > b/arch/arm/boot/dts/armada-370.dtsi > + > +

Re: ext4 write performance regression in 3.6-rc1 on RAID0/5

2012-08-22 Thread Dan Williams
On Tue, Aug 21, 2012 at 11:00 PM, NeilBrown wrote: > On Wed, 22 Aug 2012 11:57:02 +0800 Yuanhan Liu > wrote: > >> >> -#define NR_STRIPES 256 >> +#define NR_STRIPES 1024 > > Changing one magic number into another magic number might help your case, but > it not really a general

[PATCH v2] HID: multitouch: Remove the redundant touch state

2012-08-22 Thread Henrik Rydberg
With the input_mt_sync_frame() function in place, there is no longer any need to keep the full touch state in the driver. This patch removes the slot state and replaces the lookup code with the input-mt equivalent. The initialization code is moved to mt_input_configured(), to make sure the full HID

Linux 3.6-rc3

2012-08-22 Thread Linus Torvalds
A mid-week -rc release to match the mid-week rc2 release. It's just six days since rc2, but I'm not only making up for the longer -rc2, I'm also on the airport for San Diego, spending a few days there before the kernel summit. Also, it's already pretty big, probably because some people held off as

Re: [PATCH v6 1/4] xattr: extract simple_xattr code from tmpfs

2012-08-22 Thread Aristeu Rozanski
On Wed, Aug 22, 2012 at 01:25:06PM -0700, Hugh Dickins wrote: > > > Probably more important would be to remove spin_lock() and spin_unlock() > > > (and INIT_LIST_HEAD) from simple_xattrs_free() - those are unnecessary > > > in shmem_evict_inode(), and wouldn't they be unnecessary whenever > > > sim

Re: [PATCH v6 11/13] block: Rework bio_pair_split()

2012-08-22 Thread Tejun Heo
Hello, Kent. On Wed, Aug 22, 2012 at 10:04:08AM -0700, Kent Overstreet wrote: > This changes bio_pair_split() to use the new bio_split() underneath, > which gets rid of the single page bio limitation. The various callers > are fixed up for the slightly different struct bio_pair, and to remove > th

Re: [PATCHv3 7/9] arm: vt8500: doc: Add device tree bindings for arch-vt8500 devices

2012-08-22 Thread Stephen Warren
On 08/21/2012 02:47 PM, Tony Prisk wrote: > Bindings for gpio, interrupt controller, power management controller, > timer, realtime clock, serial uart, ehci and uhci controllers and > framebuffer controllers used on the arch-vt8500 platform. > > Framebuffer binding also specifies a 'display' node

Re: [PATCH v6 12/13] block: Add bio_clone_bioset(), bio_clone_kmalloc()

2012-08-22 Thread Tejun Heo
On Wed, Aug 22, 2012 at 10:04:09AM -0700, Kent Overstreet wrote: > Previously, there was bio_clone() but it only allocated from the fs bio > set; as a result various users were open coding it and using > __bio_clone(). > > This changes bio_clone() to become bio_clone_bioset(), and then we add > bi

Re: [PATCH v6 13/13] block: Only clone bio vecs that are in use

2012-08-22 Thread Tejun Heo
Hello, Kent. On Wed, Aug 22, 2012 at 10:04:10AM -0700, Kent Overstreet wrote: > bcache creates large bios internally, and then splits them according to > the device requirements before it sends them down. If a lower level > device tries to clone the bio, and the original bio had more than > BIO_MA

Re: [PATCH 0/3 v2] HWPOISON: improve dirty pagecache error reporting

2012-08-22 Thread Naoya Horiguchi
On Wed, Aug 22, 2012 at 01:22:36PM -0700, Andi Kleen wrote: > Naoya Horiguchi writes: > > > Hi, > > > > Based on the previous discussion, in this version I propose only error > > reporting fix ("overwrite recovery" is sparated out from this series.) > > > > I think Fengguang's patch (patch 2 in t

[PATCH V3 1/3] drivers/char/tpm: Add new device driver to support IBM vTPM

2012-08-22 Thread Ashley Lai
This patch adds a new device driver to support IBM virtual TPM (vTPM) for PPC64. IBM vTPM is supported through the adjunct partition with firmware release 740 or higher. With vTPM support, each lpar is able to have its own vTPM without the physical TPM hardware. This driver provides TPM function

Re: [BUG] net/core/sock.c won't compile on alpha

2012-08-22 Thread Michael Cree
On 23/08/2012, at 12:14 AM, Bob Tracy wrote: Kernel version 3.6.0-rc2, and probably -rc1 as well. I get the following compile-time error on alpha architecture: (...) CC net/core/sock.o net/core/sock.c:274:36: error: initializer element is not constant Try v3.6-rc3. It should be fixed n

Re: [PATCH 19/36] autonuma: memory follows CPU algorithm and task/mm_autonuma stats collection

2012-08-22 Thread Hugh Dickins
On Wed, 22 Aug 2012, Andi Kleen wrote: > Andrea Arcangeli writes: > > + /* > > +* Take the lock with irqs disabled to avoid a lock > > +* inversion with the lru_lock. The lru_lock is taken > > +* before the autonuma_migrate_lock in > > +* s

Re: [PATCH 19/36] autonuma: memory follows CPU algorithm and task/mm_autonuma stats collection

2012-08-22 Thread Andrea Arcangeli
Hi Andi, On Wed, Aug 22, 2012 at 01:19:04PM -0700, Andi Kleen wrote: > Andrea Arcangeli writes: > > > +/* > > + * In this function we build a temporal CPU_node<->page relation by > > + * using a two-stage autonuma_last_nid filter to remove short/unlikely > > + * relations. > > + * > > + * Using

Re: [PATCH v6 01/13] block: Generalized bio pool freeing

2012-08-22 Thread Nicholas A. Bellinger
On Wed, 2012-08-22 at 10:03 -0700, Kent Overstreet wrote: > With the old code, when you allocate a bio from a bio pool you have to > implement your own destructor that knows how to find the bio pool the > bio was originally allocated from. > > This adds a new field to struct bio (bi_pool) and chan

Re: [RFC PATCH 00/11] input: Synaptics RMI4 Touchscreen Driver

2012-08-22 Thread Christopher Heiny
On 08/22/2012 05:50 AM, Linus Walleij wrote: On Sat, Aug 18, 2012 at 12:17 AM, Christopher Heiny wrote: This patch implements a driver supporting Synaptics ClearPad and other touchscreen sensors that use the RMI4 protocol, as defined here: Nice! This patch is against the v2.6.38 tag of Lin

Re: [PATCH v6 02/13] dm: Use bioset's front_pad for dm_rq_clone_bio_info

2012-08-22 Thread Vivek Goyal
On Wed, Aug 22, 2012 at 10:03:59AM -0700, Kent Overstreet wrote: > Previously, dm_rq_clone_bio_info needed to be freed by the bio's > destructor to avoid a memory leak in the blk_rq_prep_clone() error path. > This gets rid of a memory allocation and means we can kill > dm_rq_bio_destructor. > > v6

Re: [PATCHv3 7/9] arm: vt8500: doc: Add device tree bindings for arch-vt8500 devices

2012-08-22 Thread Tony Prisk
On Wed, 2012-08-22 at 15:07 -0600, Stephen Warren wrote: > On 08/21/2012 02:47 PM, Tony Prisk wrote: > > Bindings for gpio, interrupt controller, power management controller, > > timer, realtime clock, serial uart, ehci and uhci controllers and > > framebuffer controllers used on the arch-vt8500 pl

Re: Regression associated with commit c8628155ece3 - "tcp: reduce out_of_order memory use"

2012-08-22 Thread Larry Finger
On 08/22/2012 12:15 AM, Eric Dumazet wrote: This particular commit is the start of a patches batch that ended in the generic TCP coalescing mechanism. It is known to have problem on drivers doing skb_clone() in their rx path. Current kernels should be ok, because coalescing doesnt happen if th

Re: [PATCH 00/36] AutoNUMA24

2012-08-22 Thread Ingo Molnar
* Rik van Riel wrote: > On 08/22/2012 10:58 AM, Andrea Arcangeli wrote: > >Hello everyone, > > > >Before the Kernel Summit, I think it's good idea to post a new > >AutoNUMA24 and to go through a new review cycle. The last review cycle > >has been fundamental in improving the patchset. Thanks! >

Re: [PATCH v5 0/2] Add PPI support in tpm driver

2012-08-22 Thread Kent Yoder
On Wed, Aug 22, 2012 at 06:47:20PM +0800, xiaoyan.zh...@intel.com wrote: > From: Xiaoyan Zhang > > The Physical Presence Interface enables the OS and the BIOS to cooperate to > provide a simple and straightforward platform user experience for > administering the TPM without sacrificing security.

Re: [PATCH V3 1/3] drivers/char/tpm: Add new device driver to support IBM vTPM

2012-08-22 Thread Kent Yoder
On Wed, Aug 22, 2012 at 04:17:43PM -0500, Ashley Lai wrote: > This patch adds a new device driver to support IBM virtual TPM > (vTPM) for PPC64. IBM vTPM is supported through the adjunct > partition with firmware release 740 or higher. With vTPM > support, each lpar is able to have its own vTPM w

Re: [PATCH] fs/proc: Move kfree outside pde_unload_lock

2012-08-22 Thread Eric Dumazet
On Wed, 2012-08-22 at 20:28 +0200, Eric Dumazet wrote: > > Thats interesting, but if you really want this to fly, one RCU > conversion would be much better ;) > > pde_users would be an atomic_t and you would avoid the spinlock > contention. Here is what I had in mind, I would be interested to k

Re: [PATCH 4/4] [RFC] ARM: treewide: manually change more mach-*/*.h includes

2012-08-22 Thread Russell King - ARM Linux
On Wed, Aug 22, 2012 at 01:01:19PM +, Arnd Bergmann wrote: > These are lots of device drivers that include machine > specific header files from ARM platforms and that are > not easily scriptable. The changes have been found through > manual inspection and should cause no visible changes > becau

Re: [RFC PATCH 1/17] input: RMI4 public header file and documentation.

2012-08-22 Thread Dmitry Torokhov
On Wednesday, August 22, 2012 09:08:00 PM Linus Walleij wrote: > On Sat, Aug 18, 2012 at 12:17 AM, Christopher Heiny > wrote: > > > +/* Helper fn to convert a byte array representing a short in the RMI > > + * endian-ness to a short in the native processor's specific endianness. Is RMI-endiannes

[PATCH] Smack: setprocattr memory leak fix

2012-08-22 Thread Casey Schaufler
From: Casey Schaufler Subject: [PATCH] Smack: setprocattr memory leak fix The data structure allocations being done in prepare_creds are duplicated in smack_setprocattr. This results in the structure allocated in prepare_creds being orphaned and never freed. The duplicate code is removed from sma

Re: Search for patch for kernel stack data disclosure in binfmt_script during execve

2012-08-22 Thread halfdog
Got a hint via IRC, that I should not send patch idea for review to "generic" list, but to maintainers and last (or relevant) comitters of code. http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=commitdiff;h=bf2a9a39639b8b51377905397a5005f444e9a892 CC to generic just for the rec

Re: [GIT PULL] x86, microcode, AMD: Per-family patches cache

2012-08-22 Thread H. Peter Anvin
On 08/20/2012 04:23 PM, H. Peter Anvin wrote: > On 08/17/2012 07:30 AM, Borislav Petkov wrote: >> Hi guys, >> >> please pull, thanks. >> >> The following changes since commit >> d9875690d9b89a866022ff49e3fcea892345ad92: >> >>Linux 3.6-rc2 (2012-08-16 14:51:24 -0700) >> >> are available in the g

Re: [PATCH] lpc_ich: Fix a 3.5 kernel regression for iTCO_wdt driver

2012-08-22 Thread Matthew Garrett
On Wed, Aug 22, 2012 at 09:55:12PM +0200, Wim Van Sebroeck wrote: > Any idea why the acpi_check_resource_conflict() check gives a conflict? Because the resource range is declared in ACPI and we assume that that means the firmware wants to scribble on it. We'd need the output of acpidump to work

Re: ext4 write performance regression in 3.6-rc1 on RAID0/5

2012-08-22 Thread NeilBrown
On Wed, 22 Aug 2012 13:47:07 -0700 Dan Williams wrote: > On Tue, Aug 21, 2012 at 11:00 PM, NeilBrown wrote: > > On Wed, 22 Aug 2012 11:57:02 +0800 Yuanhan Liu > > wrote: > > > >> > >> -#define NR_STRIPES 256 > >> +#define NR_STRIPES 1024 > > > > Changing one magic number int

New Defect(s) reported by Coverity Scan

2012-08-22 Thread Scan Subscription
Hi, Please find the latest report on new defect(s) that have been introduced to the Linux Kernel found with Coverity SCAN. Defect(s) Reported-by: Coverity Scan: ___ ** CID 716812: Unchecked return value (CHECKED_RETURN) /

Kernel Summit 2012 keysigning party

2012-08-22 Thread Konstantin Ryabitsev
Hi, all: I'm going to try to organize a keysigning party at the Kernel Summit. As it is pretty late in the game, I'm not sure we'd be able to fit it into the schedules, but it doesn't hurt to try. We'll be using the "hashed list" approach to make this quick and easy. If you are not familiar with

Re: [PATCH 33/36] autonuma: powerpc port

2012-08-22 Thread Benjamin Herrenschmidt
On Wed, 2012-08-22 at 16:59 +0200, Andrea Arcangeli wrote: > From: Vaidyanathan Srinivasan > > * PMD flaging is not required in powerpc since large pages > are tracked in ptes. > * Yet to be tested with large pages > * This is an initial patch that partially works > * knuma_

[GIT PULL] Some UDF, ext3 & reiserfs fixes for 3.5-rc4

2012-08-22 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 couple of fixes (udf, reiserfs, ext3) that accumulated over my vacation. Top of the tree is 68766a2. The full shortlog is: Ashish Sangwan (1): UDF: During mount

[RFC ebeam PATCH v4 0/2] new USB eBeam input driver

2012-08-22 Thread Yann Cantin
Hi, New USB input driver for eBeam devices. Currently supported (tested) : - Luidia eBeam classic projection and edge projection models - Nec "interactive solution" NP01Wi1 & NP01Wi2 accessories. In fact, from basic usb point of view, all these devices are indistinguishable : they have the same

[RFC ebeam PATCH v4 1/2] hid: Blacklist eBeam devices

2012-08-22 Thread Yann Cantin
Signed-off-by: Yann Cantin --- drivers/hid/hid-core.c |3 +++ drivers/hid/hid-ids.h |3 +++ 2 files changed, 6 insertions(+) diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c index 60ea284..efc68c8 100644 --- a/drivers/hid/hid-core.c +++ b/drivers/hid/hid-core.c @@ -1908,6 +

[RFC ebeam PATCH v4 2/2] input: misc: New USB eBeam input driver.

2012-08-22 Thread Yann Cantin
Signed-off-by: Yann Cantin --- drivers/input/misc/Kconfig | 22 ++ drivers/input/misc/Makefile |1 + drivers/input/misc/ebeam.c | 766 +++ 3 files changed, 789 insertions(+) create mode 100644 drivers/input/misc/ebeam.c diff --git a/drivers/inpu

Re: [PATCH 00/36] AutoNUMA24

2012-08-22 Thread Andrea Arcangeli
On Wed, Aug 22, 2012 at 11:40:48PM +0200, Ingo Molnar wrote: > > * Rik van Riel wrote: > > > On 08/22/2012 10:58 AM, Andrea Arcangeli wrote: > > >Hello everyone, > > > > > >Before the Kernel Summit, I think it's good idea to post a new > > >AutoNUMA24 and to go through a new review cycle. The la

[PATCH RESEND] mtd: lpc32xx_slc: Make driver independent of AMBA DMA engine driver

2012-08-22 Thread Roland Stigge
This patch makes the SLC NAND driver independent of the single AMBA DMA engine driver by using the platform data provided dma_filter callback. (This also fixes the build error of the SLC NAND driver in case of module linking because the (not exported) reference to pl08x_filter_id is gone now.) Si

[PATCH RESEND] mtd: lpc32xx_mlc: Make driver independent of AMBA DMA engine driver

2012-08-22 Thread Roland Stigge
This patch makes the MLC NAND driver independent of the single AMBA DMA engine driver by using the platform data provided dma_filter callback. (This also fixes the build error of the MLC NAND driver in case of module linking because the (not exported) reference to pl08x_filter_id is gone now.) Si

Re: [PATCH 3/3] netfilter: replace list_for_each_continue_rcu with new interface

2012-08-22 Thread Pablo Neira Ayuso
On Fri, Aug 17, 2012 at 12:33:39PM +0800, Michael Wang wrote: > From: Michael Wang > > This patch replaces list_for_each_continue_rcu() with > list_for_each_entry_continue_rcu() to allow removing > list_for_each_continue_rcu(). Applied, thanks. -- To unsubscribe from this list: send the line "un

[PATCH staging] nvec: use system_nrt_wq instead of custom one

2012-08-22 Thread Tejun Heo
There isn't much reason to use custom workqueue in nvec. It can use system_nrt_wq instead and cancel the two work items on removal. Signed-off-by: Tejun Heo --- Marc, I think I'll do this conversion in two steps. system_nrt_wq -> system_wq conversion should be trivial after 3.7 merge window. T

Re: [PATCH 33/36] autonuma: powerpc port

2012-08-22 Thread Andrea Arcangeli
On Thu, Aug 23, 2012 at 08:01:47AM +1000, Benjamin Herrenschmidt wrote: > On Wed, 2012-08-22 at 16:59 +0200, Andrea Arcangeli wrote: > > diff --git a/arch/powerpc/include/asm/pgtable.h > > b/arch/powerpc/include/asm/pgtable.h > > index 2e0e411..5f03079 100644 > > --- a/arch/powerpc/include/asm/pgt

Re: [PATCH 19/36] autonuma: memory follows CPU algorithm and task/mm_autonuma stats collection

2012-08-22 Thread Andi Kleen
> > This comment seems quite accurate to me (btw I taken it from > sched-numa rewrite with minor changes). I had expected it to describe the next function. If it's a strategic overview maybe it should be somewhere else. > Disabling irqs around lru_lock was an optimization to avoid increasing > t

Re: [ 04/16] drm/i915: correctly order the ring init sequence

2012-08-22 Thread Herton Ronaldo Krzesinski
On Wed, Aug 22, 2012 at 01:50:16AM -0300, Herton Ronaldo Krzesinski wrote: > On Tue, Aug 21, 2012 at 06:55:30PM +0200, Daniel Vetter wrote: > > On Tue, Aug 21, 2012 at 3:11 PM, Herton Ronaldo Krzesinski > > wrote: > > > On Tue, Aug 21, 2012 at 08:42:35AM +0200, Daniel Vetter wrote: > > >> On Tue,

Re: [PATCH 19/36] autonuma: memory follows CPU algorithm and task/mm_autonuma stats collection

2012-08-22 Thread Andrea Arcangeli
Hi Andi, On Thu, Aug 23, 2012 at 12:37:33AM +0200, Andi Kleen wrote: > > > > This comment seems quite accurate to me (btw I taken it from > > sched-numa rewrite with minor changes). > > I had expected it to describe the next function. If it's a strategic > overview maybe it should be somewhere e

Re: [GIT PULL] x86, microcode, AMD: Per-family patches cache

2012-08-22 Thread H. Peter Anvin
On 08/21/2012 02:16 AM, Borislav Petkov wrote: > On Mon, Aug 20, 2012 at 04:23:09PM -0700, H. Peter Anvin wrote: >>> git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp.git >>> tags/microcode-updates-for-3.7 >>> >> Hmmm... this isn't actually present on git.kernel.org, and 01/12 >> is missing from

[PATCH 0/3] Miscellaneous MSM fixes

2012-08-22 Thread Stephen Boyd
Here's a small collection of MSM patches I have lying around. The first removes a useless file and hook that nobody is using. The second marks some functions static in clock-pcom.c since they aren't used outside the file and the last removes idle.c because it's dead code. Stephen Boyd (3): ARM:

[PATCH 3/3] ARM: MSM: Remove unused idle.c

2012-08-22 Thread Stephen Boyd
Forcing arm_pm_idle to be msm_idle() doesn't make sense in configurations that don't have CONFIG_MSM7X00A_IDLE=y (i.e. any targets that aren't 7x00a). Furthermore, that config doesn't even exist, so this entire file is dead code. Just remove it so we can use the default idle support on MSM. Signed

[PATCH 2/3] ARM: MSM: clock-pcom: Mark functions static

2012-08-22 Thread Stephen Boyd
These functions are only used within clock-pcom.c, therefore mark them as static. Signed-off-by: Stephen Boyd --- arch/arm/mach-msm/clock-pcom.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/arch/arm/mach-msm/clock-pcom.c b/arch/arm/mach-msm/clock-pcom.c

[PATCH 1/3] ARM: MSM: Remove msm_hw_reset_hook

2012-08-22 Thread Stephen Boyd
This reset hook is never assigned and is dead code. Remove it so we have one less header file in the mach directory. Signed-off-by: Stephen Boyd --- arch/arm/mach-msm/board-mahimahi.c | 1 - arch/arm/mach-msm/board-sapphire.c | 1 - arch/arm/mach-msm/include/mach/system.h | 19 --

Re: [PATCH 33/36] autonuma: powerpc port

2012-08-22 Thread Benjamin Herrenschmidt
On Thu, 2012-08-23 at 08:01 +1000, Benjamin Herrenschmidt wrote: > On Wed, 2012-08-22 at 16:59 +0200, Andrea Arcangeli wrote: > > From: Vaidyanathan Srinivasan > > > > * PMD flaging is not required in powerpc since large pages > > are tracked in ptes. > > * Yet to be tested with lar

[PATCH 2/2] ARM: MSM: Add msm8660-surf.dts to Makefile.boot

2012-08-22 Thread Stephen Boyd
Add this entry to the Makefile so that we can build the dtb automatically with 'make dtbs'. Signed-off-by: Stephen Boyd --- arch/arm/mach-msm/Makefile.boot | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-msm/Makefile.boot b/arch/arm/mach-msm/Makefile.boot index 9b803a5..8de06

[PATCH 0/2] 8660 DT fixlets

2012-08-22 Thread Stephen Boyd
Two small fixes to 8660 DT support so that it boots up and gets interrupts and so that we can build the dtb via kernel Makefiles with 'make dtbs'. Stephen Boyd (2): ARM: MSM: Add handle_irq handler for 8660 DT machine ARM: MSM: Add msm8660-surf.dts to Makefile.boot arch/arm/mach-msm/Makefile

[PATCH 1/2] ARM: MSM: Add handle_irq handler for 8660 DT machine

2012-08-22 Thread Stephen Boyd
Commit 041f777 (ARM: msm: convert SMP platforms to CONFIG_MULTI_IRQ_HANDLER, 2011-09-06) forgot to add the .handle_irq for the DT machine record. Add it so we get interrupts instead of panics on DT enabled bootloaders. Signed-off-by: Stephen Boyd --- arch/arm/mach-msm/board-msm8x60.c | 1 + 1 fi

[PATCH 1/3] block: store partition_meta_info.uuid as a string

2012-08-22 Thread Stephen Warren
From: Stephen Warren This will allow other types of UUID to be stored here, aside from true UUIDs. This also simplifies code that uses this field, since it's usually constructed from a, used as a, or compared to other, strings. Note: A simplistic approach here would be to set uuid_str[36]=0 when

[PATCH 2/3] init: reduce PARTUUID min length to 1 from 36

2012-08-22 Thread Stephen Warren
From: Stephen Warren Reduce the minimum length for a root=PARTUUID= parameter to be considered valid from 36 to 1. EFI/GPT partition UUIDs are always exactly 36 characters long, hence the previous limit. However, the next patch will support DOS/MBR UUIDs too, which have a different, shorter, form

[PATCH 3/3] block: partition: msdos: provide UUIDs for partitions

2012-08-22 Thread Stephen Warren
From: Stephen Warren The MSDOS/MBR partition table includes a 32-bit unique ID, often referred to as the NT disk signature. When combined with a partition number within the table, this can form a unique ID similar in concept to EFI/GPT's partition UUID. Constructing and recording this value in st

3.6rc3 lockdep trace. tasklist_lock vs fasync

2012-08-22 Thread Dave Jones
This started showing up after todays pull. == [ INFO: HARDIRQ-safe -> HARDIRQ-unsafe lock order detected ] 3.6.0-rc3+ #35 Not tainted -- trinity-main/5043 [HC0[0]:SC0[0]:HE0:SE1] is trying to a

Re: [PATCH 33/36] autonuma: powerpc port

2012-08-22 Thread Andrea Arcangeli
Hi Benjamin, On Thu, Aug 23, 2012 at 08:56:34AM +1000, Benjamin Herrenschmidt wrote: > What I mean here is that it's fine as a proof of concept ;-) I don't > like it being in a series aimed at upstream... > > We can try to flush out the issues, but as it is, the patch isn't > upstreamable imho.

[tip:x86/urgent] x86, microcode, AMD: Fix broken ucode patch size check

2012-08-22 Thread tip-bot for Andreas Herrmann
Commit-ID: 36bf50d7697be18c6bfd0401e037df10bff1e573 Gitweb: http://git.kernel.org/tip/36bf50d7697be18c6bfd0401e037df10bff1e573 Author: Andreas Herrmann AuthorDate: Tue, 31 Jul 2012 15:41:45 +0200 Committer: H. Peter Anvin CommitDate: Wed, 22 Aug 2012 16:10:41 -0700 x86, microcode, AMD:

[PATCH] nfc: use system_nrt_wq instead of custom ones

2012-08-22 Thread Tejun Heo
NFC is using a number of custom ordered workqueues w/ WQ_MEM_RECLAIM. WQ_MEM_RECLAIM is unnecessary unless NFC is gonna be used as transport for storage device, and all use cases match one work item to one ordered workqueue - IOW, there's no actual ordering going on at all and using system_nrt_wq g

Re: [PATCH v2 09/11] memcg: propagate kmem limiting information to children

2012-08-22 Thread Greg Thelen
On Wed, Aug 22 2012, Glauber Costa wrote: I am fine with either, I just need a clear sign from you guys so I don't keep deimplementing and reimplementing this forever. >>> >>> I would be for make it simple now and go with additional features later >>> when there is a demand for them

Re: [GIT PULL] x86, microcode, AMD: Per-family patches cache

2012-08-22 Thread H. Peter Anvin
On 08/22/2012 03:48 PM, H. Peter Anvin wrote: > > Weird. I have never had to git fetch --tags before... > OK, sorted. Next complaint... please don't mix urgent (for the current version) and non-urgent (for next) in the same pull request. I have sorted it out, but it made things take a lot lon

Re: [RFC PATCH 1/17] input: RMI4 public header file and documentation.

2012-08-22 Thread Rafael J. Wysocki
On Wednesday, August 22, 2012, Linus Walleij wrote: > On Sat, Aug 18, 2012 at 12:17 AM, Christopher Heiny > wrote: > > (...) > > +#ifdef CONFIG_HAS_EARLYSUSPEND > > +#include > > +#endif > > This does not exist in the mainline kernel, I can see you're having fun with > Android ... check with Ra

Re: [PATCH 3/4] x86: Only direct map addresses that are marked as E820_RAM

2012-08-22 Thread H. Peter Anvin
On 08/14/2012 03:39 PM, Jacob Shin wrote: > Currently direct mappings are created for [ 0 to max_low_pfn< and [ 4GB to max_pfn< backed by actual DRAM. This is fine for holes under 4GB which are covered > by fixed and variable range MTRRs to be UC. However, we run into trouble > on higher memory add

[tip:x86/microcode] x86, microcode: Drop uci-> mc check on resume path

2012-08-22 Thread tip-bot for Borislav Petkov
Commit-ID: bb9d3e473d5b324907e15dff4e54410b28ea50e2 Gitweb: http://git.kernel.org/tip/bb9d3e473d5b324907e15dff4e54410b28ea50e2 Author: Borislav Petkov AuthorDate: Fri, 3 Aug 2012 15:26:50 +0200 Committer: H. Peter Anvin CommitDate: Wed, 22 Aug 2012 16:14:44 -0700 x86, microcode: Drop u

[PATCH RESEND RESEND] Bluetooth: Add support for Apple MacBook Pro 9,2

2012-08-22 Thread Shea Levy
$ usb-devices T: Bus=04 Lev=04 Prnt=04 Port=02 Cnt=01 Dev#= 9 Spd=12 MxCh= 0 D: Ver= 2.00 Cls=ff(vend.) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=05ac ProdID=821d Rev=00.86 S: Manufacturer=Apple Inc. S: Product=Bluetooth USB Host Controller C: #Ifs= 4 Cfg#= 1 Atr=e0 MxPwr=0mA I: If#= 0 A

[tip:x86/microcode] x86, microcode: Cleanup cpu hotplug notifier callback

2012-08-22 Thread tip-bot for Borislav Petkov
Commit-ID: 09c3f0d883300c8fc2bb62e9a70cf89a2ada9a80 Gitweb: http://git.kernel.org/tip/09c3f0d883300c8fc2bb62e9a70cf89a2ada9a80 Author: Borislav Petkov AuthorDate: Mon, 23 Jul 2012 20:15:10 +0200 Committer: H. Peter Anvin CommitDate: Wed, 22 Aug 2012 16:14:52 -0700 x86, microcode: Clean

[tip:x86/microcode] x86, microcode: Straighten out Kconfig text

2012-08-22 Thread tip-bot for Borislav Petkov
Commit-ID: e43f6e67ec1c142550860bbe0b51166c5ee4cac8 Gitweb: http://git.kernel.org/tip/e43f6e67ec1c142550860bbe0b51166c5ee4cac8 Author: Borislav Petkov AuthorDate: Wed, 1 Aug 2012 19:17:01 +0200 Committer: H. Peter Anvin CommitDate: Wed, 22 Aug 2012 16:15:16 -0700 x86, microcode: Straig

[PATCH] i915: use alloc_ordered_workqueue() instead of explicit UNBOUND w/ max_active = 1

2012-08-22 Thread Tejun Heo
This is an equivalent conversion and will ease scheduled removal of WQ_NON_REENTRANT. Signed-off-by: Tejun Heo --- drivers/gpu/drm/i915/i915_dma.c |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_dma.c b/drivers/gpu/drm/i915/i915_dma.c index

[tip:x86/microcode] x86, microcode, AMD: Remove useless get_ucode_data wrapper

2012-08-22 Thread tip-bot for Borislav Petkov
Commit-ID: e7e632f5ba240fbc313c49ed6559681ea57534e9 Gitweb: http://git.kernel.org/tip/e7e632f5ba240fbc313c49ed6559681ea57534e9 Author: Borislav Petkov AuthorDate: Fri, 20 Jul 2012 14:12:21 +0200 Committer: H. Peter Anvin CommitDate: Wed, 22 Aug 2012 16:15:26 -0700 x86, microcode, AMD:

Re: [GIT PULL] tpmdd: TPM drivers, tpm-rng and fixes

2012-08-22 Thread Jeff Garzik
On 08/22/2012 05:52 PM, Kent Yoder wrote: Hi James, The following changes since commit 51b743fe87d7fb3dba7a2ff4a1fe23bb65dc2245: Merge tag 'v3.6-rc2' into next (2012-08-17 20:42:30 +1000) are available in the git repository at: git://github.com/shpedoikal/linux.git v3.6-rc2-tpmdd Ne

[tip:x86/microcode] x86, microcode, AMD: Check before applying a patch

2012-08-22 Thread tip-bot for Borislav Petkov
Commit-ID: 685ca6d797af9d41164dd64dd60145d4946fc152 Gitweb: http://git.kernel.org/tip/685ca6d797af9d41164dd64dd60145d4946fc152 Author: Borislav Petkov AuthorDate: Wed, 20 Jun 2012 16:17:51 +0200 Committer: H. Peter Anvin CommitDate: Wed, 22 Aug 2012 16:15:41 -0700 x86, microcode, AMD:

[tip:x86/microcode] x86, microcode, AMD: Read CPUID(1). EAX on the correct cpu

2012-08-22 Thread tip-bot for Borislav Petkov
Commit-ID: 5f5b747282c6cc57b91baba37f76de27398b9e60 Gitweb: http://git.kernel.org/tip/5f5b747282c6cc57b91baba37f76de27398b9e60 Author: Borislav Petkov AuthorDate: Wed, 25 Jul 2012 20:06:54 +0200 Committer: H. Peter Anvin CommitDate: Wed, 22 Aug 2012 16:15:50 -0700 x86, microcode, AMD:

[tip:x86/microcode] x86, microcode: Add a refresh firmware flag to ->request_microcode_fw

2012-08-22 Thread tip-bot for Borislav Petkov
Commit-ID: 48e30685caa8bdc4b8d4417d8ac31db59689742c Gitweb: http://git.kernel.org/tip/48e30685caa8bdc4b8d4417d8ac31db59689742c Author: Borislav Petkov AuthorDate: Thu, 26 Jul 2012 15:51:00 +0200 Committer: H. Peter Anvin CommitDate: Wed, 22 Aug 2012 16:15:58 -0700 x86, microcode: Add a

[tip:x86/microcode] x86, microcode, AMD: Add reverse equiv table search

2012-08-22 Thread tip-bot for Borislav Petkov
Commit-ID: c96d2c0905cc48e34f2b37b775b59932c416b343 Gitweb: http://git.kernel.org/tip/c96d2c0905cc48e34f2b37b775b59932c416b343 Author: Borislav Petkov AuthorDate: Wed, 1 Aug 2012 14:55:01 +0200 Committer: H. Peter Anvin CommitDate: Wed, 22 Aug 2012 16:16:11 -0700 x86, microcode, AMD: A

<    1   2   3   4   5   6   7   8   >