[ 85/89] mm: vmscan: fix endless loop in kswapd balancing

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Weiner commit 60cefed485a02bd99b6299dad70666fe49245da7 upstream. Kswapd does not in all places have the same criteria for a balanced zone. Zones are only being reclaimed when their hi

[ 79/89] dm: fix deadlock with request based dm and queue request_fn recursion

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Jens Axboe commit a8c32a5c98943d370ea606a2e7dc04717eb92206 upstream. Request based dm attempts to re-run the request queue off the request completion path. If used with a driver that potentiall

[ 81/89] jbd: Fix lock ordering bug in journal_unmap_buffer()

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit 25389bb207987b5774182f763b9fb65ff08761c8 upstream. Commit 09e05d48 introduced a wait for transaction commit into journal_unmap_buffer() in the case we are truncating a buffer un

[ 84/89] mm/vmemmap: fix wrong use of virt_to_page

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Jianguo Wu commit ae64ffcac35de0db628ba9631edf8ff34c5cd7ac upstream. I enable CONFIG_DEBUG_VIRTUAL and CONFIG_SPARSEMEM_VMEMMAP, when doing memory hotremove, there is a kernel BUG at arch/x86/m

[ 87/89] workqueue: exit rescuer_thread() as TASK_RUNNING

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Mike Galbraith commit 412d32e6c98527078779e5b515823b2810e40324 upstream. A rescue thread exiting TASK_INTERRUPTIBLE can lead to a task scheduling off, never to be seen again. In the case where

[ 88/89] intel_idle: initial IVB support

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Len Brown commit 6edab08c24f9141d69cfa4683a0a027d86ab303e upstream. >From an OS point of view, IVB looks like SNB, but quicker. Signed-off-by: Len Brown [bwh: Backported to 3.2: add model num

[ 89/89] intel_idle: enable IVB Xeon support

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings commit 23795e580cad5d6b73d47d51b9074ce3e58bf334 upstream. IVB Xeon currently shares the same parameters IVB client. For 3.2, add model number to the switch in intel_idle_probe(),

[ 06/89] device_cgroup: fix RCU usage

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Tejun Heo commit 201e72acb2d3821e2de9ce6091e98859c316b29a upstream. dev_cgroup->exceptions is protected with devcgroup_mutex for writes and RCU for reads; however, RCU usage isn't correct. * d

[ 13/89] USB: option: add Alcatel X220/X500D USB IDs

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Dan Williams commit c0bc3098871dd9b964f6b45ec1e4d70d87811744 upstream. Signed-off-by: Dan Williams Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings --- drivers/usb/serial/opti

[ 19/89] x86, mm: Find_early_table_space based on ranges that are actually being mapped

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Jacob Shin commit 844ab6f993b1d32eb40512503d35ff6ad0c57030 upstream. Current logic finds enough space for direct mapping page tables from 0 to end. Instead, we only need to find enough space to

[ 16/89] memcg: oom: fix totalpages calculation for memory.swappiness==0

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Michal Hocko commit 9a5a8f19b43430752067ecaee62fc59e11e88fa6 upstream. oom_badness() takes a totalpages argument which says how many pages are available and it uses it as a base for the score c

[ 10/89] drm/i915/sdvo: clean up connectors on intel_sdvo_init() failures

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Jani Nikula commit d0ddfbd3d1346c1f481ec2289eef350cdba64b42 upstream. Any failures in intel_sdvo_init() after the intel_sdvo_setup_output() call left behind ghost connectors, attached (with a d

[ 15/89] ttm: Clear the ttm page allocated from high memory zone correctly

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Zhao Yakui commit ac207ed2471150e06af0afc76e4becc701fa2733 upstream. The TTM page can be allocated from high memory. In such case it is wrong to use the page_address(page) as the virtual addres

[ 04/89] mac80211: sync acccess to tx_filtered/ps_tx_buf queues

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Arik Nemtsov commit 987c285c2ae2e4e32aca3a9b3252d28171c75711 upstream. These are accessed without a lock when ending STA PSM. If the sta_cleanup timer accesses these lists at the same time, we

[ 09/89] wireless: allow 40 MHz on world roaming channels 12/13

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Berg commit 43c771a1963ab461a2f194e3c97fded1d5fe262f upstream. When in world roaming mode, allow 40 MHz to be used on channels 12 and 13 so that an AP that is, e.g., using HT40+ on cha

[ 17/89] tmpfs: change final i_blocks BUG to WARNING

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Hugh Dickins commit 0f3c42f522dc1ad7e27affc0a4aa8c790bce0a66 upstream. Under a particular load on one machine, I have hit shmem_evict_inode()'s BUG_ON(inode->i_blocks), enough times to narrow i

[ 14/89] drm/radeon: fix logic error in atombios_encoders.c

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit b9196395c905edec512dfd6690428084228c16ec upstream. Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=50431 Reported-by: David Binderman Signed-off-by: Alex Deucher Revie

[ 03/89] futex: Handle futex_pi OWNER_DIED take over correctly

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner commit 59fa6245192159ab5e1e17b8e31f15afa9cff4bf upstream. Siddhesh analyzed a failure in the take over of pi futexes in case the owner died and provided a workaround. See: http:

[ 18/89] x86: Exclude E820_RESERVED regions and memory holes above 4 GB from direct mapping.

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Jacob Shin commit 1e779aabe1f0768c2bf8f8c0a5583679b54a upstream. On systems with very large memory (1 TB in our case), BIOS may report a reserved region or a hole in the E820 map, even abov

[ 12/89] USB: option: add Novatel E362 and Dell Wireless 5800 USB IDs

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Dan Williams commit fcb21645f1bd86d2be29baf48aa1b298de52ccc7 upstream. The Dell 5800 appears to be a simple rebrand of the Novatel E362. Signed-off-by: Dan Williams Signed-off-by: Greg Kroah-

[ 07/89] ASoC: dapm: Use card_list during DAPM shutdown

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Misael Lopez Cruz commit 445632ad6dda42f4d3f9df2569a852ca0d4ea608 upstream. DAPM shutdown incorrectly uses "list" field of codec struct while iterating over probed components (codec_dev_list).

[ 05/89] ASoC: wm8978: pll incorrectly configured when codec is master

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Eric Millbrandt commit 55c6f4cb6ef49afbb86222c6a3ff85329199c729 upstream. When MCLK is supplied externally and BCLK and LRC are configured as outputs (codec is master), the PLL values are only

[ 00/89] 3.2.35-stable review

2012-12-03 Thread Ben Hutchings
This is the start of the stable review cycle for the 3.2.35 release. There are 89 patches in this series, which will be posted as responses to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Wed Dec 5 22:00:00 UTC 2012. Anything receiv

[RFC PATCH 0/9] Upstream merge of core of Goldfish AVD support

2012-12-03 Thread Alan Cox
This is a port and clean up of the core platform and driver code for the Goldfish AVD (Android Virtual Device). With these patches applied you can boot Debian on Goldfish for minimal testing purposes. It won't boot Android as there are other drivers needed, some of which still need out of tree And

[PATCH 1/9] goldfish: definitions for Goldfish on x86 platforms

2012-12-03 Thread Alan Cox
From: Jun Nakajima Based on code by Jun Nakajima but stripped of all the old x86 mach-foo stuff and turned into a single include file for the Goldfish virtual bus layer Signed-off-by: Sheng Yang Signed-off-by: Yunhong Jiang Signed-off-by: Xiaohui Xin Signed-off-by: Jun Nakajima Signed-off-by

[PATCH 2/9] goldfish: add the goldfish virtual bus

2012-12-03 Thread Alan Cox
From: Jun Nakajima This imports the current Google code and cleans it up slightly to use pr_ and to properly request its resources. Goldfish is an emulator used for Android development. It has a virtual bus where the emulator passes platform device information to the guest which then creates the

[PATCH 3/9] goldfish: tty driver

2012-12-03 Thread Alan Cox
From: Arve Hjønnevåg This provides a console driver for the Goldfish virtual platform. The original is from Arve with changes from Jun Nakajima and Tom Keel. This has been then been ported to the current kernel and to the tty port mechanism by Alan Cox. In the process it gained proper POSIX seman

[PATCH 4/9] goldfish: virtual input event driver

2012-12-03 Thread Alan Cox
From: Brian Swetland This device is a direct pipe from "hardware" to the input event subsystem, allowing us to avoid having to route "keypad" style events through an AT keyboard driver (gross!) As with the other submissions this driver is cross architecture. Signed-off-by: Mike A. Chan [Tided

[PATCH 5/9] goldfish: framebuffer

2012-12-03 Thread Alan Cox
From: Arve Hjønnevåg Framebuffer support for the Goldfish emulator. This takes the Google emulator and applies the x86 cleanups as well as moving the blank methods to the usual Linux place and dropping the Android early suspend logic (for now at least, that can be looked at as Android and upstrea

[PATCH 6/9] goldfish: emulated MMC device

2012-12-03 Thread Alan Cox
From: Mike Lockwood This driver handles the virtual MMC device present in the Goldfish emulator. The patch folds together initial work from Mike Lockwood and patches by San Mehat, Jun Nakajima and Tom Keel plus cleanups by Alan Cox to get it all into 3.6 shape. Signed-off-by: Mike A. Chan [cle

[PATCH 7/9] goldfish: power device

2012-12-03 Thread Alan Cox
From: Mike Lockwood Add the emulated power driver for the Goldfish platform. This folds together the code from the Google tree, Jun Nakajima's cleanups and x86 porting work, and then a tidy up to pass checkpatch. Signed-off-by: Mike A. Chan [cleanup and x86 support] Signed-off-by: Sheng Yang

[PATCH 8/9] goldfish: real time clock

2012-12-03 Thread Alan Cox
From: Arve Hjønnevåg Gets the current time from the host. Alarms are not supported yet. Signed-off-by: Mike A. Chan Signed-off-by: Arve Hjønnevåg [Ported to 3.4] Signed-off-by: Tom Keel [Cleaned up to use ioremap, types, unload etc] Signed-off-by: Alan Cox --- arch/x86/include/asm/goldfish

[PATCH 9/9] goldfish: NAND flash driver

2012-12-03 Thread Alan Cox
From: Arve Hjønnevåg Fold together the NAND driver for Goldfish from Arve with cleanups by Jun Nakajima and a tidy up to 3.7 and checkpatch. Signed-off-by: Mike A. Chan Signed-off-by: Arve Hjønnevåg [Ported to handle x86] Signed-off-by: Sheng Yang Signed-off-by: Yunhong Jiang Signed-off-by:

[PATCH v2 0/4] uprobes/powerpc: Replace ptrace helpers for single stepping

2012-12-03 Thread Suzuki K. Poulose
The following series replaces the ptrace helpers used for single step enable/disable for uprobes on powerpc, with uprobe specific code. We reuse the kprobe code to enable single stepping by making it generic and save/restore the MSR (and DBCR for BookE) across the single step. This series applies

[PATCH v2 1/4] kprobes/powerpc: Do not disable External interrupts during single step

2012-12-03 Thread Suzuki K. Poulose
From: Suzuki K. Poulose External/Decrement exceptions have lower priority than the Debug Exception. So, we don't have to disable the External interrupts before a single step. However, on BookE, Critical Input Exception(CE) has higher priority than a Debug Exception. Hence we mask them. Signed-of

Re: switcheroo registration vs switching race...

2012-12-03 Thread Daniel J Blueman
On 3 December 2012 22:40, Takashi Iwai wrote: > At Mon, 3 Dec 2012 22:25:52 +0800, > Daniel J Blueman wrote: >> >> On 3 December 2012 19:17, Takashi Iwai wrote: >> > At Wed, 28 Nov 2012 09:45:39 +0100, >> > Takashi Iwai wrote: >> >> >> >> At Wed, 28 Nov 2012 11:45:07 +0800, >> >> Daniel J Blueman

[PATCH v2 2/4] powerpc: Move the single step enable code to a generic path

2012-12-03 Thread Suzuki K. Poulose
From: Suzuki K. Poulose This patch moves the single step enable code used by kprobe to a generic routine header so that, it can be re-used by other code, in this case, uprobes. No functional changes. Signed-off-by: Suzuki K. Poulose Cc: Ananth N Mavinakaynahalli Cc: Kumar Gala Cc:

[PATCH v2 3/4] uprobes/powerpc: Introduce routines for save/restore context

2012-12-03 Thread Suzuki K. Poulose
From: Suzuki K. Poulose Introduce routines for saving and restoring the context befre/after the single step. No functional changes involved. These will be extended later to save/restore more info about the process once we replace the ptrace helpers. Signed-off-by: Suzuki K. Poulose --- arch/p

[PATCH v2 4/4] uprobes/powerpc: Make use of generic routines to enable single step

2012-12-03 Thread Suzuki K. Poulose
From: Suzuki K. Poulose Replace the ptrace helpers with the powerpc generic routines to enable/disable single step. We save/restore the MSR (and DCBR for BookE) across for the operation. We don't have to disable the single step, as restoring the MSR/DBCR would restore the previous state. Signed-

Hardware locality (hwloc) v1.6 released]

2012-12-03 Thread Samuel Thibault
The Hardware Locality (hwloc) team is pleased to announce the release of v1.6: http://www.open-mpi.org/projects/hwloc/ v1.6 is a major new release series. It includes many new features and changes over the v1.5.x series. It brings a significant rework of the core which eases the combining of

Re: [PATCH v2 3/4] uprobes/powerpc: Introduce routines for save/restore context

2012-12-03 Thread Ananth N Mavinakayanahalli
On Mon, Dec 03, 2012 at 08:39:35PM +0530, Suzuki K. Poulose wrote: > From: Suzuki K. Poulose > > Introduce routines for saving and restoring the context > befre/after the single step. No functional changes involved. > > These will be extended later to save/restore more info about > the process o

Re: [PATCH for 3.2.34] memcg: do not trigger OOM from add_to_page_cache_locked

2012-12-03 Thread Michal Hocko
On Fri 30-11-12 17:19:23, Michal Hocko wrote: [...] > The important question is why you see VM_FAULT_OOM and whether memcg > charging failure can trigger that. I don not see how this could happen > right now because __GFP_NORETRY is not used for user pages (except for > THP which disable memcg OOM

Re: [PATCH] drivers:staging: fix compilation warning

2012-12-03 Thread Greg Kroah-Hartman
On Mon, Dec 03, 2012 at 10:34:08AM +, Cong Ding wrote: > We do not allow old-style function definition. Always spell foo(void) if > a function does not take any parameters. > > Signed-off-by: Cong Ding > --- > drivers/staging/telephony/ixj.c |2 +- > 1 files changed, 1 insertions(+), 1

Re: [PATCHSET cgroup/for-3.8] cpuset: decouple cpuset locking from cgroup core

2012-12-03 Thread Michal Hocko
Hi Tejun, I have glanced through the series and spotten nothing obviously wrong. I do not feel I could give my r-b because I am not familiar with cpusets internals enough and some patches looks quite scary (like #8). Anyway the resulting outcome seems nice. Thanks! -- Michal Hocko SUSE Labs -- To

Re: linux-next: unusual update of the security tree

2012-12-03 Thread James Morris
On Tue, 27 Nov 2012, Linus Torvalds wrote: > On Nov 27, 2012 4:01 PM, "Stephen Rothwell" wrote: > > > > Hi > > This is the shortlog for the changes in the security tree between > > yesterday and today; > > This is an excellent example of the kind of tree I will not pull from. > > There are more

Re: [ 67/89] drm/radeon: properly track the crtc not_enabled case evergreen_mc_stop()

2012-12-03 Thread Josh Boyer
On Mon, Dec 3, 2012 at 9:32 AM, Ben Hutchings wrote: > 3.2-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Alex Deucher > > commit 804cc4a0ad3a896ca295f771a28c6eb36ced7903 upstream. > > The save struct is not initialized previously so expli

Re: kswapd craziness in 3.7

2012-12-03 Thread Zdenek Kabelac
Dne 28.11.2012 10:45, Mel Gorman napsal(a): (Adding Thorsten to cc) On Tue, Nov 27, 2012 at 03:48:34PM -0500, Johannes Weiner wrote: Hi everyone, I hope I included everybody that participated in the various threads on kswapd getting stuck / exhibiting high CPU usage. We were looking at at lea

RE: [ 67/89] drm/radeon: properly track the crtc not_enabled case evergreen_mc_stop()

2012-12-03 Thread Deucher, Alexander
> -Original Message- > From: Josh Boyer [mailto:jwbo...@gmail.com] > Sent: Monday, December 03, 2012 10:25 AM > To: Ben Hutchings; Greg KH > Cc: linux-kernel@vger.kernel.org; sta...@vger.kernel.org; akpm@linux- > foundation.org; a...@lxorguk.ukuu.org.uk; Deucher, Alexander > Subject: Re: [

Re: [PATCHv2 3/5] serial: 8250_dw: Map IO memory

2012-12-03 Thread Jamie Iles
Hi Heikki, On Mon, Dec 03, 2012 at 01:17:57PM +0200, Heikki Krogerus wrote: > This needs to be done in order to later access the > Designware specific registers. > > Signed-off-by: Heikki Krogerus > --- > drivers/tty/serial/8250/8250_dw.c |7 +-- > 1 file changed, 5 insertions(+), 2 del

Re: [PATCHv2 0/5] serial: 8250: 8250_dw changes and dynamic capabilities

2012-12-03 Thread Jamie Iles
Hi Heikki, On Mon, Dec 03, 2012 at 01:17:54PM +0200, Heikki Krogerus wrote: > > Changes since v1: > - rebased on top of Greg's tty-next > > These are mainly small 8250_dw.c changes. The interesting patch is > probable the first one that changes 8250.c so the drivers are able to > deliver their U

Re: [PATCH 18/52] mm/numa: Migrate on reference policy

2012-12-03 Thread Mel Gorman
On Sun, Dec 02, 2012 at 07:43:10PM +0100, Ingo Molnar wrote: > From: Mel Gorman > > This is the simplest possible policy that still does something > of note. When a pte_numa is faulted, it is moved immediately. > Any replacement policy must at least do better than this and in > all likelihood thi

[PATCH v2] drivers: cma: fix addressing on PAE machines

2012-12-03 Thread Vitaly Andrianov
This patch fixes a couple of bugs that otherwise impair CMA functionality on PAE machines: - alignment must be a 64-bit type when running on systems with 64-bit physical addresses. If this is not the case, the limit calculation thunks allocations down to an address range < 4G. - The

Re: [PATCH v2 3/4] uprobes/powerpc: Introduce routines for save/restore context

2012-12-03 Thread Suzuki K. Poulose
On 12/03/2012 08:45 PM, Ananth N Mavinakayanahalli wrote: On Mon, Dec 03, 2012 at 08:39:35PM +0530, Suzuki K. Poulose wrote: From: Suzuki K. Poulose Introduce routines for saving and restoring the context befre/after the single step. No functional changes involved. These will be extended late

Re: [patch] bdi: add a user-tunable cpu_list for the bdi flusher threads

2012-12-03 Thread Jeff Moyer
Zach Brown writes: >> +ret = cpulist_parse(buf, newmask); >> +if (!ret) { >> +spin_lock(&bdi->wb_lock); >> +task = wb->task; >> +get_task_struct(task); >> +spin_unlock(&bdi->wb_lock); >> +if (task) >> +ret = s

Re: [PATCH 00/52] RFC: Unified NUMA balancing tree, v1

2012-12-03 Thread Rik van Riel
On 12/02/2012 01:42 PM, Ingo Molnar wrote: Most of the outstanding objections against numa/core centered around Mel and Rik objecting to the PROT_NONE approach Peter implemented in numa/core. To settle that question objectively I've performed performance testing of those differences, by picking

Re: [PATCHSET cgroup/for-3.8] cpuset: drop cpuset->stack_list and ->parent

2012-12-03 Thread Michal Hocko
On Wed 28-11-12 14:26:58, Tejun Heo wrote: [...] > 0001 implements cgroup_rightmost_descendant() which can be used to > skip subtree during pre-order tree walk. Michal, maybe memcg can use > it too? I like this but I do not see any immediate use for it because we do not have any generic condition

Re: [PATCH 12/18] perf ui/hist: Add support for event group view

2012-12-03 Thread Jiri Olsa
On Mon, Dec 03, 2012 at 07:39:31PM +0900, Namhyung Kim wrote: > On Mon, 3 Dec 2012 11:23:27 +0100, Jiri Olsa wrote: > > On Mon, Dec 03, 2012 at 10:56:28AM +0900, Namhyung Kim wrote: > >> On Fri, Nov 30, 2012 at 10:29 PM, Jiri Olsa wrote: > >> > ok, so this is the part thats common for both multi d

Re: [net-next RFC] pktgen: don't wait for the device who doesn't free skb immediately after sent

2012-12-03 Thread Stephen Hemminger
On Mon, 03 Dec 2012 14:45:46 +0800 Jason Wang wrote: > On Tuesday, November 27, 2012 08:49:19 AM Stephen Hemminger wrote: > > On Tue, 27 Nov 2012 14:45:13 +0800 > > > > Jason Wang wrote: > > > On 11/27/2012 01:37 AM, Stephen Hemminger wrote: > > > > On Mon, 26 Nov 2012 15:56:52 +0800 > > > > >

Re: [PATCH] synclink fix ldisc buffer argument

2012-12-03 Thread Paul Fulghum
On 12/2/2012 8:20 PM, Chen Gang wrote: > pardon (I am just learning) > does 65535 mean HDLC_MAX_FRAME_SIZE ? > why do we need info->max_frame_size >= 4096 ? > in drivers/tty/synclink_gt.c: > 3550 if (info->max_frame_size < 4096) > 3551 info->max_frame_size = 4096; > 3552

Re: [PATCH 1/3] cpuset: implement cgroup_rightmost_descendant()

2012-12-03 Thread Michal Hocko
On Wed 28-11-12 14:26:59, Tejun Heo wrote: > Implement cgroup_rightmost_descendant() which returns the right most > descendant of the specified cgroup. This can be used to skip the > cgroup's subtree while iterating with > cgroup_for_each_descendant_pre(). > > Signed-off-by: Tejun Heo > Cc: Mich

Re: MIPS Function Tracer question

2012-12-03 Thread Ralf Baechle
On Mon, Dec 03, 2012 at 09:40:48AM -0500, Steven Rostedt wrote: > The issue is with x86. Gcc wont compile if you have -pg and > -fomit-frame-pointer on x86. I originally forced function tracing to > select FRAME_POINTER, but because now on x86 with -mfentry, -pg no > longer requires frame pointers

Re: [PATCH V7 2/7] ARM: dt: change .dtb build rules to build in dts directory

2012-12-03 Thread Rob Herring
On 11/27/2012 05:29 PM, Stephen Warren wrote: > From: Grant Likely > > The current rules have the .dtb files build in a different directory > from the .dts files. The only reason for this is that it was what > PowerPC has done historically. This patch changes ARM to use the generic > dtb rule whi

Re: [PATCH 2/3] cpuset: replace cpuset->stack_list with cpuset_for_each_descendant_pre()

2012-12-03 Thread Michal Hocko
On Wed 28-11-12 14:27:00, Tejun Heo wrote: > Implement cpuset_for_each_descendant_pre() and replace the > cpuset-specific tree walking using cpuset->stack_list with it. > > Signed-off-by: Tejun Heo Reviewed-by: Michal Hocko > --- > kernel/cpuset.c | 123 > ++--

Re: [PATCH 12/18] perf ui/hist: Add support for event group view

2012-12-03 Thread Namhyung Kim
On Mon, 3 Dec 2012 16:57:36 +0100, Jiri Olsa wrote: > On Mon, Dec 03, 2012 at 07:39:31PM +0900, Namhyung Kim wrote: >> On Mon, 3 Dec 2012 11:23:27 +0100, Jiri Olsa wrote: >> > On Mon, Dec 03, 2012 at 10:56:28AM +0900, Namhyung Kim wrote: >> >> On Fri, Nov 30, 2012 at 10:29 PM, Jiri Olsa wrote: >>

Re: [PATCH 3/3] cpuset: remove cpuset->parent

2012-12-03 Thread Michal Hocko
On Wed 28-11-12 14:27:01, Tejun Heo wrote: > cgroup already tracks the hierarchy. Follow cgroup->parent to find > the parent and drop cpuset->parent. > > Signed-off-by: Tejun Heo Yes, makes total sense. Reviewed-by: Michal Hocko > --- > kernel/cpuset.c | 28 +--- > 1

Re: [patch] bdi: add a user-tunable cpu_list for the bdi flusher threads

2012-12-03 Thread Jeff Moyer
Jeff Moyer writes: >>> + bdi->flusher_cpumask = kmalloc(sizeof(cpumask_t), GFP_KERNEL); >>> + if (!bdi->flusher_cpumask) >>> + return -ENOMEM; >> >> The bare GFP_KERNEL raises an eyebrow. Some bdi_init() callers like >> blk_alloc_queue_node() look like they'

Re: switcheroo registration vs switching race...

2012-12-03 Thread Takashi Iwai
At Mon, 3 Dec 2012 23:08:28 +0800, Daniel J Blueman wrote: > > On 3 December 2012 22:40, Takashi Iwai wrote: > > At Mon, 3 Dec 2012 22:25:52 +0800, > > Daniel J Blueman wrote: > >> > >> On 3 December 2012 19:17, Takashi Iwai wrote: > >> > At Wed, 28 Nov 2012 09:45:39 +0100, > >> > Takashi Iwai w

[PATCH 1/2] scripts/tags.sh: Support subarch for ARM

2012-12-03 Thread Joonsoo Kim
Current tags.sh doesn't handle subarch for ARM. There are too many subarch on ARM, it is hard that we locate some functions which are defined in every subarch with tags util family. Therefore support subarch for removing this unconvenience. We can use ARM subarch functionality like below. "make cs

[PATCH 2/2] scripts/tags.sh: Support compiled source

2012-12-03 Thread Joonsoo Kim
We usually have interst in compiled files only, because they are strongly related to individual's work. Current tags.sh can't select compiled files, so support it. We can use this functionality like below. "make cscope O=. SRCARCH= SUBARCH=compiled" It must be executed after building the kern

Re: [Line6linux-devel] [PATCH] line6: Use kmemdup rather than duplicating its implementation

2012-12-03 Thread Stefan Hajnoczi
On Mon, Dec 3, 2012 at 2:20 PM, Laurent Navet wrote: > staging: line6: driver.c > The semantic patch that makes this output is available > in scripts/coccinelle/api/memdup.cocci. > > Signed-off-by: Laurent Navet > --- > drivers/staging/line6/driver.c |5 ++--- > 1 file changed, 2 insertion

Re: [PATCH RESEND] cgroup: remove subsystem files when remounting cgroup

2012-12-03 Thread Tejun Heo
On Mon, Dec 03, 2012 at 09:28:18AM +0800, Gao feng wrote: > cgroup_clear_directroy is called by cgroup_d_remove_dir > and cgroup_remount. > > when we call cgroup_remount to remount the cgroup,the subsystem > may be unlinked from cgroupfs_root->subsys_list in rebind_subsystem,this > subsystem's fil

[PATCH] PCI AER: pci_get_domain_bus_and_slot() call missing required pci_dev_put()

2012-12-03 Thread Betty Dall
The function aer_recover_queue() makes a call to pci_get_domain_bus_and_slot(). That function is documented to require that the caller decrement the reference count by calling pci_dev_put(). This patch adds the missing call to pci_dev_put(). Signed-off-by: Betty Dall --- drivers/pci/pcie/aer/aer

Re: [PATCH -next] tile/PCI: use for_each_pci_dev to simplify the code

2012-12-03 Thread Chris Metcalf
On 12/3/2012 8:28 AM, Wei Yongjun wrote: > From: Wei Yongjun > > Use for_each_pci_dev to simplify the code. > > Signed-off-by: Wei Yongjun Thanks, I've taken this into my tree for -next. -- Chris Metcalf, Tilera Corp. http://www.tilera.com -- To unsubscribe from this list: send the line "unsu

Re: [PATCH 2/2] scripts/tags.sh: Support compiled source

2012-12-03 Thread Michal Marek
On 3.12.2012 17:22, Joonsoo Kim wrote: > We usually have interst in compiled files only, > because they are strongly related to individual's work. > Current tags.sh can't select compiled files, so support it. > > We can use this functionality like below. > "make cscope O=. SRCARCH= SUBARCH=com

Re: [PATCH] nommu: Enable the strict alignment (CR_A) bit only if ARCH < v6

2012-12-03 Thread Armando Visconti
On 11/29/2012 12:04 PM, Armando VISCONTI wrote: This patch keeps disabled the strict alignment CP15 bit for all armv6 and armv7 processor without the mmu. This behaviour is now same as in the mmu case. Signed-off-by: Armando Visconti --- arch/arm/kernel/head-nommu.S |2 +- 1 files changed

Re: switcheroo registration vs switching race...

2012-12-03 Thread Daniel J Blueman
On 4 December 2012 00:23, Takashi Iwai wrote: > At Mon, 3 Dec 2012 23:08:28 +0800, > Daniel J Blueman wrote: >> >> On 3 December 2012 22:40, Takashi Iwai wrote: >> > At Mon, 3 Dec 2012 22:25:52 +0800, >> > Daniel J Blueman wrote: >> >> >> >> On 3 December 2012 19:17, Takashi Iwai wrote: >> >> >

Re: [PATCH] nommu: Enable the strict alignment (CR_A) bit only if ARCH < v6

2012-12-03 Thread Nicolas Pitre
On Mon, 3 Dec 2012, Armando Visconti wrote: > On 11/29/2012 12:04 PM, Armando VISCONTI wrote: > > This patch keeps disabled the strict alignment CP15 bit for > > all armv6 and armv7 processor without the mmu. This behaviour > > is now same as in the mmu case. > > > > Signed-off-by: Armando Viscon

Re: [PATCHSET cgroup/for-3.8] cpuset: decouple cpuset locking from cgroup core

2012-12-03 Thread Tejun Heo
Hello, Michal. On Mon, Dec 03, 2012 at 04:22:05PM +0100, Michal Hocko wrote: > I have glanced through the series and spotten nothing obviously wrong. I > do not feel I could give my r-b because I am not familiar with cpusets > internals enough and some patches looks quite scary (like #8). > Anyway

Re: [PATCH] nommu: Enable the strict alignment (CR_A) bit only if ARCH < v6

2012-12-03 Thread Will Deacon
On Mon, Dec 03, 2012 at 04:44:11PM +, Armando Visconti wrote: > On 11/29/2012 12:04 PM, Armando VISCONTI wrote: > > This patch keeps disabled the strict alignment CP15 bit for > > all armv6 and armv7 processor without the mmu. This behaviour > > is now same as in the mmu case. > > > > Signed-of

Re: [PATCH 5/8] mmci: replace readsl/writesl with ioread32_rep/iowrite32_rep

2012-12-03 Thread Davide Ciminaghi
On Mon, Dec 03, 2012 at 02:47:54PM +, Will Deacon wrote: > Hi Davide, > > On Fri, Nov 23, 2012 at 03:08:27PM +, Davide Ciminaghi wrote: > > Not all the architectures have readsl/writesl, > > use the more portable ioread32_rep/iowrite32_rep functions instead. > > I've already got a patch f

RE: [PATCH 3/4 v5] iommu/fsl: Add iommu domain attributes required by fsl PAMU driver.

2012-12-03 Thread Sethi Varun-B16395
> -Original Message- > From: iommu-boun...@lists.linux-foundation.org [mailto:iommu- > boun...@lists.linux-foundation.org] On Behalf Of Joerg Roedel > Sent: Sunday, December 02, 2012 7:33 PM > To: Sethi Varun-B16395 > Cc: linux-kernel@vger.kernel.org; io...@lists.linux-foundation.org; Woo

Re: [PATCH v4 16/31] loop: use aio to perform io on the underlying file

2012-12-03 Thread Dave Kleikamp
On 11/22/2012 05:06 PM, Dave Chinner wrote: > On Wed, Nov 21, 2012 at 04:40:56PM -0600, Dave Kleikamp wrote: >> From: Zach Brown >> >> This uses the new kernel aio interface to process loopback IO by >> submitting concurrent direct aio. Previously loop's IO was serialized >> by synchronous proces

Re: [PATCH 3/4 v5] iommu/fsl: Add iommu domain attributes required by fsl PAMU driver.

2012-12-03 Thread Scott Wood
On 12/03/2012 10:57:29 AM, Sethi Varun-B16395 wrote: > -Original Message- > From: iommu-boun...@lists.linux-foundation.org [mailto:iommu- > boun...@lists.linux-foundation.org] On Behalf Of Joerg Roedel > Sent: Sunday, December 02, 2012 7:33 PM > To: Sethi Varun-B16395 > Cc: linux-kernel

Re: [PATCH v3 2/4] input: Cypress PS/2 Trackpad psmouse driver

2012-12-03 Thread Dmitry Torokhov
On Mon, Dec 03, 2012 at 08:45:20AM +0100, Henrik Rydberg wrote: > > +/* > > + * reset trackpad device to standard relative mode. > > + * This is also the defalut mode when trackpad powered on. > > + */ > > +static void cypress_reset(struct psmouse *psmouse) > > +{ > > + struct cytp_data *cytp = p

Re: [PATCH] merge_config.sh: Add option to specify output dir

2012-12-03 Thread John Stultz
On 12/02/2012 11:36 PM, Zhangfei Gao wrote: Provide a -O option to specify dir to put generated .config Then merge_config.sh does not need to be copied to target dir, for easy re-usage in other script Signed-off-by: Zhangfei Gao Tested-by: Jon Medhurst (Tixy) Acked-by: John Stultz thanks -j

Re: switcheroo registration vs switching race...

2012-12-03 Thread Takashi Iwai
At Tue, 4 Dec 2012 00:50:56 +0800, Daniel J Blueman wrote: > > On 4 December 2012 00:23, Takashi Iwai wrote: > > At Mon, 3 Dec 2012 23:08:28 +0800, > > Daniel J Blueman wrote: > >> > >> On 3 December 2012 22:40, Takashi Iwai wrote: > >> > At Mon, 3 Dec 2012 22:25:52 +0800, > >> > Daniel J Bluema

Re: [PATCH 00/52] RFC: Unified NUMA balancing tree, v1

2012-12-03 Thread Ingo Molnar
* Rik van Riel wrote: > >Rik van Riel (1): > > sched, numa, mm: Add credits for NUMA placement > > Where did the TLB flush optimizations go? :) They are still very much there, unchanged for a long time and acked by everyone - I thought I'd spare a few electrons by not doing a 60+ patches f

[PATCH] synclink fix ldisc buffer argument

2012-12-03 Thread Paul Fulghum
Fix call to line discipline receive_buf by synclink drivers. Dummy flag buffer argument is ignored by N_HDLC line discipline but might be of insufficient size if accessed by a different line discipline selected by mistake. flag buffer allocation now matches max size of data buffer. Unused char_buf

Re: [PATCH V7 2/7] ARM: dt: change .dtb build rules to build in dts directory

2012-12-03 Thread Stephen Warren
On 12/03/2012 09:15 AM, Rob Herring wrote: > On 11/27/2012 05:29 PM, Stephen Warren wrote: >> From: Grant Likely >> >> The current rules have the .dtb files build in a different directory >> from the .dts files. The only reason for this is that it was what >> PowerPC has done historically. This pa

Re: [PATCH 3/4 v5] iommu/fsl: Add iommu domain attributes required by fsl PAMU driver.

2012-12-03 Thread Joerg Roedel
On Mon, Dec 03, 2012 at 04:57:29PM +, Sethi Varun-B16395 wrote: > > > > -Original Message- > > From: iommu-boun...@lists.linux-foundation.org [mailto:iommu- > > boun...@lists.linux-foundation.org] On Behalf Of Joerg Roedel > > Sent: Sunday, December 02, 2012 7:33 PM > > To: Sethi Varu

Re: [PATCH V7 3/7] arm64: use new common dtc rule

2012-12-03 Thread Stephen Warren
On 11/29/2012 07:30 AM, Catalin Marinas wrote: > On Tue, Nov 27, 2012 at 11:29:12PM +, Stephen Warren wrote: >> From: Stephen Warren >> >> The current rules have the .dtb files build in a different directory >> from the .dts files. This patch changes arm64 to use the generic dtb >> rule which

Re: [PATCH] uio.c: Fix warning: 'ret' might be used uninitialized

2012-12-03 Thread Hans J. Koch
On Mon, Dec 03, 2012 at 10:53:45AM +0200, Vitalii Demianets wrote: > > On Friday 30 November 2012 23:39:06 Hans J. Koch wrote: > > > Thanks a lot for reporting and discussing that problem. I'll add a > > > > > > Reported-by: Vitalii Demianets > > > > > > if you have no objections. > > > > No objec

[PATCH] vhost-net: initialize zcopy packet counters

2012-12-03 Thread Michael S. Tsirkin
These packet counters are used to drive the zercopy selection heuristic so nothing too bad happens if they are off a bit - and they are also reset once in a while. But it's cleaner to clear them when backend is set so that we start in a known state. Signed-off-by: Michael S. Tsirkin --- drivers/

Re: [PATCH] nommu: Enable the strict alignment (CR_A) bit only if ARCH < v6

2012-12-03 Thread Russell King - ARM Linux
On Mon, Dec 03, 2012 at 05:44:11PM +0100, Armando Visconti wrote: > On 11/29/2012 12:04 PM, Armando VISCONTI wrote: >> This patch keeps disabled the strict alignment CP15 bit for >> all armv6 and armv7 processor without the mmu. This behaviour >> is now same as in the mmu case. >> >> Signed-off-by:

Re: [PATCH 1/5] device_cgroup: fix locking in devcgroup_destroy()

2012-12-03 Thread Tejun Heo
On Tue, Nov 27, 2012 at 02:35:02PM -0500, Aristeu Rozanski wrote: > Cc: Tejun Heo > Cc: Serge Hallyn > Signed-off-by: Aristeu Rozanski Acked-by: Tejun Heo Thanks. -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.k

Re: [PATCH 2/5] device_cgroup: prepare exception list handling functions for two lists

2012-12-03 Thread Tejun Heo
On Tue, Nov 27, 2012 at 02:35:03PM -0500, Aristeu Rozanski wrote: > In the following patches, device_cgroup structure will have two sets of > behavior and exceptions list (actual one, another with the local settings) > so rework the functions to use exception list, not a device_cgroup. > > Cc: Tej

Re: [PATCH 1/2] vfio powerpc: enabled on powernv platform

2012-12-03 Thread Alex Williamson
On Mon, 2012-12-03 at 13:52 +1100, Alexey Kardashevskiy wrote: > This patch initializes IOMMU groups based on the IOMMU > configuration discovered during the PCI scan on POWERNV > (POWER non virtualized) platform. The IOMMU groups are > to be used later by VFIO driver (PCI pass through). > > It al

Re: [PATCH 3/4 v5] iommu/fsl: Add iommu domain attributes required by fsl PAMU driver.

2012-12-03 Thread Scott Wood
On 12/03/2012 11:27:12 AM, Joerg Roedel wrote: On Mon, Dec 03, 2012 at 04:57:29PM +, Sethi Varun-B16395 wrote: > > > > -Original Message- > > From: iommu-boun...@lists.linux-foundation.org [mailto:iommu- > > boun...@lists.linux-foundation.org] On Behalf Of Joerg Roedel > > Sent: Sunda

Re: [PATCH 1/1] DMA: PL330: Use devm_* functions

2012-12-03 Thread Vinod Koul
On Mon, 2012-12-03 at 16:50 +0530, Sachin Kamat wrote: > On 15 November 2012 11:57, Sachin Kamat wrote: > > devm_* functions are device managed and make the code and error > > handling a bit simpler. > > > > Cc: Jassi Brar > > Signed-off-by: Sachin Kamat Applied, Thanks -- Vinod Koul Intel Co

i915 freakout with latest 3.7 git

2012-12-03 Thread Heinz Diehl
Hi, with latest linus-3.7 git from today, after some time, my machine gets more and more unresponsible, fanspeed increases, and that's what I see in the logs: Dec 3 18:08:10 wildsau kernel: [35092.535757] [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung Dec 3 18:08:10 wil

<    1   2   3   4   5   6   >