Re: [Patch v1 10/10] perf tools: add new mem command for memory access profiling

2012-10-30 Thread Namhyung Kim
On Mon, 29 Oct 2012 16:15:52 +0100, Stephane Eranian wrote: > This new command is a wrapper on top of perf record and > perf report to make it easier to configure for memory > access profiling. So this new command will be run only on speicific (PEBS > 2?) Intel machines, right? Is there anything

Re: [PATCH 1/3] mm/slob: Drop usage of page->private for storing page-sized allocations

2012-10-30 Thread Pekka Enberg
On Fri, Oct 19, 2012 at 1:41 AM, Ezequiel Garcia wrote: > This field was being used to store size allocation so it could be > retrieved by ksize(). However, it is a bad practice to not mark a page > as a slab page and then use fields for special purposes. > There is no need to store the allocated

Re: [PATCH 2/2] mm/slob: Use free_page instead of put_page for page-size kmalloc allocations

2012-10-30 Thread Pekka Enberg
> On 10/22/2012 04:04 PM, Ezequiel Garcia wrote: >> When freeing objects, the slob allocator currently free empty pages >> calling __free_pages(). However, page-size kmallocs are disposed >> using put_page() instead. >> >> It makes no sense to call put_page() for kernel pages that are provided >> b

Re: [PATCH v3 0/3] zram/zsmalloc promotion

2012-10-30 Thread Minchan Kim
On Tue, Oct 30, 2012 at 07:43:07PM -0700, Greg Kroah-Hartman wrote: > On Wed, Oct 31, 2012 at 11:39:48AM +0900, Minchan Kim wrote: > > Greg, what do you think about LTSI? > > Is it proper feature to add it? For it, still do I need ACK from mm > > developers? > > It's already in LTSI, as it's in t

Re: [PATCH 1/2] kfifo: round up the fifo size power of 2

2012-10-30 Thread Andrew Morton
On Wed, 31 Oct 2012 07:30:33 +0100 Stefani Seibold wrote: > > Yes, and I guess the same to give them a 64-element one. > > > > > > > > If there's absolutely no prospect that the kfifo code will ever support > > > 100-byte fifos then I guess we should rework the API so that the caller > > > has

Re: [PATCH 1/2] kfifo: round up the fifo size power of 2

2012-10-30 Thread Yuanhan Liu
On Wed, Oct 31, 2012 at 07:30:33AM +0100, Stefani Seibold wrote: > Am Mittwoch, den 31.10.2012, 13:59 +0800 schrieb Yuanhan Liu: > > On Mon, Oct 29, 2012 at 01:59:35PM -0700, Andrew Morton wrote: > > > On Fri, 26 Oct 2012 15:56:57 +0800 > > > Yuanhan Liu wrote: > > > > > > > Say, if we want to al

[PATCH v2 1/2] thermal: exynos: Fix wrong bit to control tmu core

2012-10-30 Thread Jonghwan Choi
[0]bit is used to enable/disable tmu core. [1] bit is a reserved bit. Signed-off-by: Jonghwan Choi --- drivers/thermal/exynos_thermal.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/thermal/exynos_thermal.c b/drivers/thermal/exynos_thermal.c index fd03e85..6

[PATCH v2 2/2] therma: exynos: Supports thermal tripping

2012-10-30 Thread Jonghwan Choi
TMU urgently sends active-high signal (thermal trip) to PMU, and thermal tripping by hardware logic i.e PMU is performed. Thermal tripping means that PMU cut off the whole power of SoC by controlling external voltage regulator. Signed-off-by: Jonghwan Choi --- drivers/thermal/exynos_thermal.c |

RE: [PATCH v2] Thermal: exynos: Add sysfs node supporting exynos's emulation mode.

2012-10-30 Thread R, Durgadoss
Hi, Looks like a nice feature :-) Without something like this, we had been spending time on writing test drivers, to actually test our thermal framework code. BTW, against which tree this patch was generated ? Rui's -next or master or Linux-next ? Some comments below, on a quick glance.. >

Re: [PATCH V2 RFC 0/3] kvm: Improving undercommit,overcommit scenarios

2012-10-30 Thread Raghavendra K T
On 10/30/2012 05:47 PM, Andrew Theurer wrote: On Mon, 2012-10-29 at 19:36 +0530, Raghavendra K T wrote: In some special scenarios like #vcpu <= #pcpu, PLE handler may prove very costly, because there is no need to iterate over vcpus and do unsuccessful yield_to burning CPU. Similarly, when we

Re: [RFC][PATCH] perf: Add a few generic stalled-cycles events

2012-10-30 Thread Sukadev Bhattiprolu
Peter Zijlstra [pet...@infradead.org] wrote: | On Tue, 2012-10-16 at 11:31 -0700, Sukadev Bhattiprolu wrote: | > On a side note, how does the kernel on x86 use the 'config' information in | > say /sys/bus/event_source/devices/cpu/format/cccr ? On Power7, the raw | > code encodes the information su

RE: [PATCH] omap2-clk: Add missing lcdc clock definition

2012-10-30 Thread Hiremath, Vaibhav
On Wed, Oct 31, 2012 at 11:19:44, Paul Walmsley wrote: > On Wed, 31 Oct 2012, Hiremath, Vaibhav wrote: > > > As far as lck clock node is concerned, we had deliberately dropped all leaf- > > node clocks from the clock tree, please refer to the description mentioned > > in - > > http://lists.infrad

[PATCH] userns: Support fuse interacting with multiple user namespaces

2012-10-30 Thread Eric W. Biederman
Use kuid_t and kgid_t in struct fuse_conn and struct fuse_mount_data. The connection between between a fuse filesystem and a fuse daemon is established when a fuse filesystem is mounted and provided with a file descriptor the fuse daemon created by opening /dev/fuse. For now restrict the communi

Re: [PATCH v3] epoll: Support for disabling items, and a self-test app.

2012-10-30 Thread Michael Wang
On 10/26/2012 08:08 AM, Paton J. Lewis wrote: > From: "Paton J. Lewis" > > It is not currently possible to reliably delete epoll items when using the > same epoll set from multiple threads. After calling epoll_ctl with > EPOLL_CTL_DEL, another thread might still be executing code related to an >

Re: [PATCH 1/2] kfifo: round up the fifo size power of 2

2012-10-30 Thread Stefani Seibold
Am Mittwoch, den 31.10.2012, 13:59 +0800 schrieb Yuanhan Liu: > On Mon, Oct 29, 2012 at 01:59:35PM -0700, Andrew Morton wrote: > > On Fri, 26 Oct 2012 15:56:57 +0800 > > Yuanhan Liu wrote: > > > > > Say, if we want to allocate a filo with size of 6 bytes, it would be safer > > > to allocate 8 byt

[PATCH] perf: x86 filter_events() - use hw event id ?

2012-10-30 Thread Sukadev Bhattiprolu
>From c3b53a5733fdea35807f4513255bca05e3aee5c5 Mon Sep 17 00:00:00 2001 From: Sukadev Bhattiprolu Date: Tue, 30 Oct 2012 23:05:05 -0700 Subject: [PATCH] perf: x86 filter_events() - use hw event id ? The ->event_map() operation expects to index through the _hardware event id_. But filter_events()

linux-next: Tree for Oct 31

2012-10-30 Thread Stephen Rothwell
Hi all, Changes since 20121030: The v4l-dvb tree still had its build failure so I used the version from next-20121026. The block tree gained a conflict against Linus' tree. The arm-soc tree gained a conflict against the staging

RE: [PATCH] thermal: solve compilation errors in rcar_thermal

2012-10-30 Thread Zhang, Rui
Sorry, I can not see the original post of this patch. Can you resend it so that I can apply it? > -Original Message- > From: kuninori morimoto [mailto:kuninori.morimoto...@gmail.com] On > Behalf Of Kuninori Morimoto > Sent: Wednesday, October 31, 2012 11:21 AM > To: Andrew Morton; Zhang,

RE: [PATCH 2/2] therma: exynos: Supports thermal tripping

2012-10-30 Thread Jonghwan Choi
Thanks. Let me check. > -Original Message- > From: jonghwa3@samsung.com [mailto:jonghwa3@samsung.com] > Sent: Wednesday, October 31, 2012 2:06 PM > To: Jonghwan Choi > Cc: 'open list'; 'Amit Daniel Kachhap'; 'Zhang Rui'; 'Sachin Kamat' > Subject: Re: [PATCH 2/2] therma: exynos: Sup

Re: [PATCH V2 RFC 3/3] kvm: Check system load and handle different commit cases accordingly

2012-10-30 Thread Raghavendra K T
On 10/30/2012 01:44 PM, Peter Zijlstra wrote: On Tue, 2012-10-30 at 11:27 +0530, Raghavendra K T wrote: Okay, now IIUC, usage of *any* global measure is bad? Yep, people like to carve up their machines, esp. now that they're somewhat bigger than they used to be. This can result in very asymmet

Re: [Patch v1 08/10] perf report: add support for mem access profiling

2012-10-30 Thread Namhyung Kim
On Mon, 29 Oct 2012 16:15:50 +0100, Stephane Eranian wrote: > This patch adds the --mem-mode option to perf report. > > This mode requires a perf.data file created with memory > access samples. > > Signed-off-by: Stephane Eranian > --- [snip] > + cost = mi->cost; > + if (!cost) > +

Re: [PATCH 1/2] kfifo: round up the fifo size power of 2

2012-10-30 Thread Yuanhan Liu
On Mon, Oct 29, 2012 at 01:59:35PM -0700, Andrew Morton wrote: > On Fri, 26 Oct 2012 15:56:57 +0800 > Yuanhan Liu wrote: > > > Say, if we want to allocate a filo with size of 6 bytes, it would be safer > > to allocate 8 bytes instead of 4 bytes. > > > > ... > > > > --- a/kernel/kfifo.c > > +++ b/

[PATCH 4/4] AMD64 EDAC: Use appropriate name for NB indexing

2012-10-30 Thread Daniel J Blueman
Use the same 'amd' prefix as related functions for clarity. Signed-off-by: Daniel J Blueman --- arch/x86/include/asm/amd_nb.h |2 +- drivers/edac/amd64_edac.c |6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/x86/include/asm/amd_nb.h b/arch/x86/include/as

[PATCH 3/4] AMD64 EDAC: Cleanup type usage to be consistent

2012-10-30 Thread Daniel J Blueman
As the Northbridge IDs are at most 16-bits, use the same type consistently. Signed-off-by: Daniel J Blueman --- arch/x86/include/asm/amd_nb.h|2 +- arch/x86/include/asm/processor.h |2 +- arch/x86/kernel/cpu/amd.c|4 ++-- drivers/edac/amd64_edac.c| 26 ++

[PATCH 2/4] AMD64 EDAC: Add support for >255 memory controllers

2012-10-30 Thread Daniel J Blueman
As the AMD64 last-level-cache ID is 16-bits and federated systems eg using Numascale's NumaConnect/NumaChip can have more than 255 memory controllers, use 16-bits to store the ID. Signed-off-by: Daniel J Blueman --- drivers/edac/amd64_edac.c | 18 +- 1 file changed, 9 insertion

[PATCH 1/4, v4] AMD64 EDAC: Add multi-domain support to AMD EDAC

2012-10-30 Thread Daniel J Blueman
Fix the handling of memory controller detection to index the array of detected Northbridges, allowing memory controllers over multiple PCI domains in federated systems eg using Numascale's NumaConnect/ NumaChip. v4: Generate linear Northbridge ID by indexing detected Northbridges Signed-off-by: D

Re: [PATCH] Input: select INPUT_MATRIXKMAP for lpc32xx-keys

2012-10-30 Thread Dmitry Torokhov
On Sat, Oct 27, 2012 at 09:40:48AM +0200, Roland Stigge wrote: > This patch adds a "select" dependency of KEYBOARD_LPC32XX on INPUT_MATRIXKMAP, > as the other drivers are doing in this regard. This fixes the following > compile > error if KEYBOARD_LPC32XX is enabled but INPUT_MATRIXKMAP is not: >

Re: [Patch v1 07/10] perf tools: add mem access sampling core support

2012-10-30 Thread Namhyung Kim
On Mon, 29 Oct 2012 16:15:49 +0100, Stephane Eranian wrote: > This patch adds the sorting and histogram support > functions to enable profiling of memory accesses. > > The following sorting orders are added: > - symbol_daddr: data address symbol (or raw address) > - dso_daddr: data address shared

Re: [PATCH] ti_tscadc: Match mfd sub devices to regmap interface

2012-10-30 Thread Dmitry Torokhov
On Tue, Oct 30, 2012 at 09:41:00PM -0700, Russ Dill wrote: > On Wed, Oct 31, 2012 at 8:55 AM, Pantelis Antoniou > wrote: > > The MFD parent device now uses a regmap, instead of direct > > memory access. Use the same method in the sub devices to avoid > > nasty surprises. > > > > Also rework the ch

Re: [PATCH] tools: Allow tools to be installed in a user specified location

2012-10-30 Thread Len Brown
Applied. thanks, Len Brown, Intel Open Source Technology Center -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.t

RE: [PATCH] omap2-clk: Add missing lcdc clock definition

2012-10-30 Thread Paul Walmsley
On Wed, 31 Oct 2012, Hiremath, Vaibhav wrote: > As far as lck clock node is concerned, we had deliberately dropped all leaf- > node clocks from the clock tree, please refer to the description mentioned > in - > http://lists.infradead.org/pipermail/linux-arm-kernel/2012-May/101987.html Ach, shoul

Incomplete vmcore file

2012-10-30 Thread Ritesh Majumdar
Hello, I am using kernel version 2.6.34.4 and trying to enable kernel crash using kexec (kdump). Every time the crash occurs, the size of the dump file (vmcore) is incomplete (around 20 MB).OS is installed with 8 GB of RAM. Due to this gdb/crash fails to analyze the core dump. Does anyone know wh

[PATCH] cpufreq: remove the unnecessary initialization of a local variable

2012-10-30 Thread Jingoo Han
This patch removes unnecessary initializer for the 'ret' variable. Signed-off-by: Jingoo Han --- drivers/cpufreq/cpufreq.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c index 261ef65..4e9fcc5 100644 --- a/drivers

Re: [PATCH v4 9/9] bug.h: Convert BUILD_BUG{,_ON} to use BUILD_BUG_ON_MSG

2012-10-30 Thread Daniel Santos
On 10/30/2012 08:02 PM, Josh Triplett wrote: > On Tue, Oct 30, 2012 at 08:19:05PM +0100, Borislav Petkov wrote: >> On Sun, Oct 28, 2012 at 03:57:15PM -0500, danielfsan...@att.net wrote: >>> Remove duplicate code by converting BUILD_BUG and BUILD_BUG_ON to just >>> call BUILD_BUG_ON_MSG. This not o

RE: [PATCH] ARM: OMAP2+: AM33XX: clock data: fix mcasp entries

2012-10-30 Thread Hebbar, Gururaja
On Wed, Oct 31, 2012 at 01:58:32, Joel A Fernandes wrote: > Hi Gururaja, > > On Mon, Oct 29, 2012 at 10:45 AM, Hebbar, Gururaja > wrote: > > Matt, > > > > On Wed, Oct 10, 2012 at 20:00:49, Porter, Matt wrote: > >> 6ea74cb ARM: OMAP2+: hwmod: get rid of all omap_clk_get_by_name usage > >> exposes

Re: [PATCH] To crash dump, we need keep other memory type except E820_RAM, because other type come from BIOS or firmware is used by other code(for example: PCI_MMCONFIG).

2012-10-30 Thread H. Peter Anvin
On 10/30/2012 10:22 PM, Zhang, Jun wrote: Hello, Anvin You are right. Thanks! Hello, All Please review it again. Thanks! From bf7506ac7e9ce0df0b915164dbb7a6d858ef2e40 Mon Sep 17 00:00:00 2001 From: jzha144 Date: Wed, 31 Oct 2012 08:51:18 +0800 Subject: [PATCH] When we are doing a crash

Re: [ANNOUNCE] 3.6.4-rt11

2012-10-30 Thread Paul Gortmaker
[[ANNOUNCE] 3.6.4-rt11] On 31/10/2012 (Wed 02:19) Thomas Gleixner wrote: > Dear RT Folks, > > I'm pleased to announce the 3.6.4-rt11 release. The rt11 content is present on master in the 3.6-rt patch repo: http://git.kernel.org/?p=linux/kernel/git/paulg/3.6-rt-patches.git I've also created a

[PART1 Patch 3/3] memory_hotplug: ensure every online node has NORMAL memory

2012-10-30 Thread Wen Congyang
From: Lai Jiangshan Old memory hotplug code and new online/movable may cause a online node don't have any normal memory, but memory-management acts bad when we have nodes which is online but don't have any normal memory. Example: it may cause a bound task fail on all kernel allocation and cause

[PART1 Patch 0/3] mm, memory-hotplug: allow to online movable memory

2012-10-30 Thread Wen Congyang
From: Lai Jiangshan This patch is part1 of the following patchset: https://lkml.org/lkml/2012/10/29/319 The patchset is based on Linus's tree with these three patches already applied: https://lkml.org/lkml/2012/10/24/151 https://lkml.org/lkml/2012/10/26/150 Movable memory is a very

[PART1 Patch 2/3] memory_hotplug: handle empty zone when online_movable/online_kernel

2012-10-30 Thread Wen Congyang
From: Lai Jiangshan make online_movable/online_kernel can empty a zone or can move memory to a empty zone. Signed-off-by: Lai Jiangshan --- mm/memory_hotplug.c | 51 +-- 1 file changed, 45 insertions(+), 6 deletions(-) diff --git a/mm/memory_hot

[PART1 Patch 1/3] mm, memory-hotplug: dynamic configure movable memory and portion memory

2012-10-30 Thread Wen Congyang
From: Lai Jiangshan Add online_movable and online_kernel for logic memory hotplug. This is the dynamic version of "movablecore" & "kernelcore". We have the same reason to introduce it as to introduce "movablecore" & "kernelcore". It has the same motive as "movablecore" & "kernelcore", but it is

Re: [PATCH v4 6/9] compiler.h, bug.h: Prevent double error messages with BUILD_BUG{,_ON}

2012-10-30 Thread Daniel Santos
On 10/30/2012 11:19 AM, Borislav Petkov wrote: > On Sun, Oct 28, 2012 at 03:57:12PM -0500, danielfsan...@att.net wrote: >> Prior to the introduction of __attribute__((error("msg"))) in gcc 4.3, >> creating compile-time errors required a little trickery. >> BUILD_BUG{,_ON} uses this attribute when a

Re: [PATCH v3] Add support for AMD64 EDAC on multiple PCI domains

2012-10-30 Thread Daniel J Blueman
On 29/10/2012 18:32, Borislav Petkov wrote: + Andreas. Dude, look at this boot log below: http://quora.org/2012/16-server-boot-2.txt That's 192 F10h's! We were booting 384 a while back, but I'll let you know when reach 4096! On Mon, Oct 29, 2012 at 04:54:59PM +0800, Daniel J Blueman wrote:

RE: [PATCH] da8xx: Allow use by am33xx based devices

2012-10-30 Thread Manjunathappa, Prakash
Hi, On Wed, Oct 31, 2012 at 21:26:08, Pantelis Antoniou wrote: > This driver can be used for AM33xx devices, like the popular beaglebone. > > Signed-off-by: Pantelis Antoniou > --- > drivers/video/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/video/Kc

RE: [PATCH] To crash dump, we need keep other memory type except E820_RAM, because other type come from BIOS or firmware is used by other code(for example: PCI_MMCONFIG).

2012-10-30 Thread Zhang, Jun
Hello, Anvin You are right. Thanks! Hello, All Please review it again. Thanks! From bf7506ac7e9ce0df0b915164dbb7a6d858ef2e40 Mon Sep 17 00:00:00 2001 From: jzha144 Date: Wed, 31 Oct 2012 08:51:18 +0800 Subject: [PATCH] When we are doing a crash dump, we still need non-E820_RAM memory type a

Re: [Patch v1 06/10] perf/x86: add support for PEBS Precise Store

2012-10-30 Thread Namhyung Kim
On Mon, 29 Oct 2012 16:15:48 +0100, Stephane Eranian wrote: > This patch adds support for PEBS Precise Store > which is available on Intel Sandy Bridge and > Ivy Bridge processors. > > To use Precise store, the proper PEBS event > must be used: mem_trans_retired:precise_stores. > For the perf tool,

linux-next: manual merge of the arm-soc tree with the staging tree

2012-10-30 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/mach-omap2/drm.c between commit 5e3b08749951 ("staging: drm/omap: add support for ARCH_MULTIPLATFORM") from the staging tree and commit 2a296c8f89bc ("ARM: OMAP: Make plat/omap_hwmod.h local to mach-omap2") from the ar

RE: [PATCH] omap2-clk: Add missing lcdc clock definition

2012-10-30 Thread Hiremath, Vaibhav
On Wed, Oct 31, 2012 at 04:56:40, Paul Walmsley wrote: > + Vaibhav Hiremath > > On Tue, 30 Oct 2012, Tony Lindgren wrote: > > > * Pantelis Antoniou [121030 11:04]: > > > Looks like the lcdc clock definition got dropped. > > > It is required for the LCD controller to work. Reintroduce. > > > > T

Re: [PATCH 2/5] mm, highmem: remove useless pool_lock

2012-10-30 Thread Minchan Kim
Hi Andrew, On Tue, Oct 30, 2012 at 02:31:07PM -0700, Andrew Morton wrote: > On Mon, 29 Oct 2012 04:12:53 +0900 > Joonsoo Kim wrote: > > > The pool_lock protects the page_address_pool from concurrent access. > > But, access to the page_address_pool is already protected by kmap_lock. > > So remove

Re: [PATCH]Documentation: Chinese translation of Documentation/arm/kernel_user_helpers.txt

2012-10-30 Thread Dongsheng Song
Hi, There have some misleading in the translation: origin User space is expected to bypass those helpers and implement those things inline (either in the code emitted directly by the compiler, or part of the implementation of a li

Re: [PATCH 2/2] therma: exynos: Supports thermal tripping

2012-10-30 Thread jonghwa3 . lee
On 2012년 10월 30일 14:32, Jonghwan Choi wrote: > TMU urgently sends active-high signal (thermal trip) to PMU, > and thermal tripping by hardware logic i.e PMU is performed. > Thermal tripping means that PMU cut off the whole power of SoC > by controlling external voltage regulator. > > Signed-off-by:

Re: [PATCH RFT] leds: blinkm: Don't init a workqueue per brightness_set call

2012-10-30 Thread Bryan Wu
On Tue, Oct 30, 2012 at 8:49 PM, Axel Lin wrote: > > > 2012/10/29 Axel Lin >> >> Calling INIT_WORK in blinkm_led_common_set() means we init a workqueue >> every time >> when brightness_set callback is called. >> Move INIT_WORK to blinkm_probe() so we only need to init the workqueue >> once. >> >>

Re: [GIT PULL] target fixes for v3.7-rc4

2012-10-30 Thread Nicholas A. Bellinger
On Tue, 2012-10-30 at 21:29 -0700, Nicholas A. Bellinger wrote: > Hello Linus! > > The following are the current target pending fixes headed for v3.7-rc4 > code. This includes the following highlights: > > - Fix long-standing qla2xxx target bug where certain fc_port_t state > transitions could c

Re: [PATCH] ti_tscadc: Match mfd sub devices to regmap interface

2012-10-30 Thread Russ Dill
On Wed, Oct 31, 2012 at 8:55 AM, Pantelis Antoniou wrote: > The MFD parent device now uses a regmap, instead of direct > memory access. Use the same method in the sub devices to avoid > nasty surprises. > > Also rework the channel initialization of tiadc a bit. > > Signed-off-by: Pantelis Antoniou

Re: [PATCH] To crash dump, we need keep other memory type except E820_RAM, because other type come from BIOS or firmware is used by other code(for example: PCI_MMCONFIG).

2012-10-30 Thread H. Peter Anvin
On 10/30/2012 08:39 PM, Zhang, Jun wrote: Hello, Anvin Thanks! Hello, all Next is my the latest version, please review it. Thanks! You're still starting in the wrong end which is confusing for the reader. What you probably want to say is something more like: "We are doing a crash dump, so re

[git pull] drm nouveau fixes

2012-10-30 Thread Dave Airlie
Hi Linus, just a nouveau set, since we have a couple of reports on lkml/dri-devel of regressions that this should fix I sent it along on its own. Dave. The following changes since commit 8f0d8163b50e01f398b14bcd4dc039ac5ab18d64: Linux 3.7-rc3 (2012-10-28 12:24:48 -0700) are available in th

Re: [PATCH] exynos: mmc: use correct variable for MODULE_DEVICE_TABLE

2012-10-30 Thread Jaehoon Chung
Looks good to me. Acked-by: Jaehoon Chung On 10/31/2012 07:21 AM, Sergei Trofimovich wrote: > From: Sergei Trofimovich > > Found by gcc: > > linux-2.6/drivers/mmc/host/dw_mmc-exynos.c: At top level: > linux-2.6/drivers/mmc/host/dw_mmc-exynos.c:226:1: error: > '__mod_of_device_table'

[GIT PULL] target fixes for v3.7-rc4

2012-10-30 Thread Nicholas A. Bellinger
Hello Linus! The following are the current target pending fixes headed for v3.7-rc4 code. This includes the following highlights: - Fix long-standing qla2xxx target bug where certain fc_port_t state transitions could cause the internal session b-tree list to become out-of-sync. (Roland) - Fix ta

[PATCHSET] cgroup: simplify cgroup removal path

2012-10-30 Thread Tejun Heo
Hello, guys. cgroup removal path is quite ugly. A lot of the ugliness comes from the weird design which allows ->pre_destroy() to fail and the feature to drain existing CSS reference counts before committing to removal. Both mean that it should be possible to roll-back cgroup destruction after so

[PATCH 2/8] cgroup: kill CSS_REMOVED

2012-10-30 Thread Tejun Heo
CSS_REMOVED is one of the several contortions which were necessary to support css reference draining on cgroup removal. All css->refcnts which need draining should be deactivated and verified to equal zero atomically w.r.t. css_tryget(). If any one isn't zero, all refcnts needed to be re-activate

[PATCH 4/8] cgroup: deactivate CSS's and mark cgroup dead before invoking ->pre_destroy()

2012-10-30 Thread Tejun Heo
Because ->pre_destroy() could fail and can't be called under cgroup_mutex, cgroup destruction did something very ugly. 1. Grab cgroup_mutex and verify it can be destroyed; fail otherwise. 2. Release cgroup_mutex and call ->pre_destroy(). 3. Re-grab cgroup_mutex and verify it can still be d

[PATCH 5/8] cgroup: remove CGRP_WAIT_ON_RMDIR, cgroup_exclude_rmdir() and cgroup_release_and_wakeup_rmdir()

2012-10-30 Thread Tejun Heo
CGRP_WAIT_ON_RMDIR is another kludge which was added to make cgroup destruction rollback somewhat working. cgroup_rmdir() used to drain CSS references and CGRP_WAIT_ON_RMDIR and the associated waitqueue and helpers were used to allow the task performing rmdir to wait for the next relevant event.

[PATCH 3/8] cgroup: use cgroup_lock_live_group(parent) in cgroup_create()

2012-10-30 Thread Tejun Heo
This patch makes cgroup_create() fail if @parent is marked removed. This is to prepare for further updates to cgroup_rmdir() path. Note that this change isn't strictly necessary. cgroup can only be created via mkdir and the removed marking and dentry removal happen without releasing cgroup_mutex,

[PATCH 1/8] cgroup: kill cgroup_subsys->__DEPRECATED_clear_css_refs

2012-10-30 Thread Tejun Heo
2ef37d3fe4 ("memcg: Simplify mem_cgroup_force_empty_list error handling") removed the last user of __DEPRECATED_clear_css_refs. This patch removes __DEPRECATED_clear_css_refs and mechanisms to support it. * Conditionals dependent on __DEPRECATED_clear_css_refs removed. * ->pre_destroy() now can

[PATCH 7/8] hugetlb: do not fail in hugetlb_cgroup_pre_destroy

2012-10-30 Thread Tejun Heo
From: Michal Hocko Now that pre_destroy callbacks are called from the context where neither any task can attach the group nor any children group can be added there is no other way to fail from hugetlb_pre_destroy. Signed-off-by: Michal Hocko Reviewed-by: Tejun Heo Reviewed-by: Glauber Costa S

[PATCH 8/8] cgroup: make ->pre_destroy() return void

2012-10-30 Thread Tejun Heo
All ->pre_destory() implementations return 0 now, which is the only allowed return value. Make it return void. Signed-off-by: Tejun Heo Cc: Michal Hocko Cc: Balbir Singh Cc: KAMEZAWA Hiroyuki Cc: Vivek Goyal --- block/blk-cgroup.c | 3 +-- include/linux/cgroup.h | 2 +- kernel/cgroup.c

[PATCH 6/8] memcg: make mem_cgroup_reparent_charges non failing

2012-10-30 Thread Tejun Heo
From: Michal Hocko Now that pre_destroy callbacks are called from the context where neither any task can attach the group nor any children group can be added there is no other way to fail from mem_cgroup_pre_destroy. mem_cgroup_pre_destroy doesn't have to take a reference to memcg's css because a

[PATCH v2] Thermal: exynos: Add sysfs node supporting exynos's emulation mode.

2012-10-30 Thread Jonghwa Lee
This patch supports exynos's emulation mode with newly created sysfs node. Exynos 4x12 (4212, 4412) and 5 series provide emulation mode for thermal management unit. Thermal emulation mode supports software debug for TMU's operation. User can set temperature manually with software code and TMU will

Re: [PATCH 1/2] zram: factor-out zram_decompress_page() function

2012-10-30 Thread Nitin Gupta
On 10/30/2012 02:04 PM, Sergey Senozhatsky wrote: On (10/29/12 10:14), Nitin Gupta wrote: == zram: Fix use-after-free in partial I/O case When the compressed size of a page exceeds a threshold, the page is stored as-is i.e. in uncompressed form. In the partial I/O i.e. non-PAGE_SIZE'ed I/O

RE: [PATCH] da8xx: Fix revision check on the da8xx driver

2012-10-30 Thread Manjunathappa, Prakash
On Wed, Oct 31, 2012 at 21:26:24, Pantelis Antoniou wrote: > The revision check fails for the beaglebone; Add new revision ID. > > Signed-off-by: Pantelis Antoniou > --- > drivers/video/da8xx-fb.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/video/da8xx-fb.c b/drivers/video/

Re: [PATCH v8 01/16] hashtable: introduce a small and naive hashtable

2012-10-30 Thread Linus Torvalds
On Tue, Oct 30, 2012 at 8:24 PM, Al Viro wrote: > > Oh, well... there go my blackmail plans ;-) Seriously, though, I'm at loss > regarding several embedded architectures - arch/score, in particular, > seems to be completely orphaned. Don't worry about it. Do a best-effort, and if nobody ever rea

[PATCH tip/core/rcu 1/2] rcu: Add callback-free CPUs

2012-10-30 Thread Paul E. McKenney
From: "Paul E. McKenney" RCU callback execution can add significant OS jitter and also can degrade scheduling latency. This commit therefore adds the ability for selected CPUs ("rcu_nocbs=" boot parameter) to have their callbacks offloaded to kthreads. If the "rcu_nocb_poll" boot parameter is a

[PATCH tip/core/rcu 2/2] rcu: Separate accounting of callbacks from callback-free CPUs

2012-10-30 Thread Paul E. McKenney
From: "Paul E. McKenney" Currently, callback invocations from callback-free CPUs are accounted to the CPU that registered the callback, but using the same field that is used for normal callbacks. This makes it impossible to determine from debugfs output whether callbacks are in fact being divert

[PATCH tip/core/rcu 0/2] v2 Add callback-free CPUs

2012-10-30 Thread Paul E. McKenney
Hello! RCU callback execution can add significant OS jitter and also can degrade scheduling latency. This commit therefore adds the ability for selected CPUs ("rcu_nocbs=" boot parameter) to have their callbacks offloaded to kthreads, inspired by Joe Korty's and Jim Houston's JRCU. If the "rcu_no

RE: [PATCH] To crash dump, we need keep other memory type except E820_RAM, because other type come from BIOS or firmware is used by other code(for example: PCI_MMCONFIG).

2012-10-30 Thread Zhang, Jun
Hello, Anvin Thanks! Hello, all Next is my the latest version, please review it. Thanks! >From 141546c77ff7be523a9e72f5259df4a6827f2c1a Mon Sep 17 00:00:00 2001 From: jzha144 Date: Wed, 31 Oct 2012 08:51:18 +0800 Subject: [PATCH] If we are doing a crash dump, we still need non-E820_RAM memory

[PATCH v3 2/2] KVM: make crash_clear_loaded_vmcss valid when loading kvm_intel module

2012-10-30 Thread zhangyanfei
Signed-off-by: Zhang Yanfei --- arch/x86/kvm/vmx.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index 4ff0ab9..f6a16b2 100644 --- a/arch/x86/kvm/vmx.c +++ b/arch/x86/kvm/vmx.c @@ -41,6 +41,7 @@ #include #include #inc

[PATCH v3 1/2] x86/kexec: VMCLEAR vmcss on all cpus if necessary

2012-10-30 Thread zhangyanfei
This patch provides a way to VMCLEAR vmcss related to guests on all cpus before executing the VMXOFF when doing kdump. This is used to ensure the VMCSs in the vmcore updated and non-corrupted. Signed-off-by: Zhang Yanfei --- arch/x86/include/asm/kexec.h |2 ++ arch/x86/kernel/crash.c |

Re: [RFC][PATCH 00/23] Load keys from signed PE binaries

2012-10-30 Thread Rusty Russell
David Howells writes: > Hi Rusty, > > Here's a set of patches to load a key out of a signed PE format binary: > > > http://git.kernel.org/?p=linux/kernel/git/dhowells/linux-modsign.git;a=shortlog;h=refs/heads/devel-pekey AFAICT this is no longer a module issue, so I'm not going to take th

Re: Linux-next changes for module and virtio trees.

2012-10-30 Thread Rusty Russell
Stephen Rothwell writes: > Hi Rusty, > > On Tue, 02 Oct 2012 15:56:56 +0930 Rusty Russell > wrote: >> >> Please remove my quilt tree >> http://ozlabs.org/~rusty/kernel/rr-latest/ from linux-next, and use my >> git trees from now on: >> >> git://git.kernel.org/pub/scm/linux/kernel/git/ru

[PATCH v3 0/2] x86: clear vmcss on all cpus when doing kdump if necessary

2012-10-30 Thread zhangyanfei
Currently, kdump just makes all the logical processors leave VMX operation by executing VMXOFF instruction, so any VMCSs active on the logical processors may be corrupted. But, sometimes, we need the VMCSs to debug guest images contained in the host vmcore. To prevent the corruption, we should VMCL

Re: [PATCH 1/9] random32: introduce random32_get_bytes() and prandom32_get_bytes()

2012-10-30 Thread Theodore Ts'o
On Tue, Oct 30, 2012 at 08:12:39PM +0900, Akinobu Mita wrote: > >> > >> How about prandom32_get_bytes_state() and prandom32_get_bytes() instead? > > > > I agree with your suggestion. I'll rename them and try again. > > > > By the way, should we also rename the existing random32() and > > prandom32

Re: [PATCH v8 01/16] hashtable: introduce a small and naive hashtable

2012-10-30 Thread Al Viro
On Tue, Oct 30, 2012 at 07:48:19PM -0700, Linus Torvalds wrote: > On Tue, Oct 30, 2012 at 7:24 PM, Al Viro wrote: > > > > BTW, how serious have you been back at KS when you were talking about > > pull requests killing a thousand of lines of code being acceptable > > at any point in the cycle? > >

Re: [PATCH] staging: csr: Remove struct CsrEvent

2012-10-30 Thread SeongJae Park
Sorry and Thank you about that. I will not forget it next time. Thanks and Regards. SeongJae Park. On Wed, Oct 31, 2012 at 2:38 AM, Greg KH wrote: > > On Tue, Oct 30, 2012 at 11:26:13AM +0900, SeongJae Park wrote: > > Nobody use struct CsrEvent. So, remove it. > > Signed-off-by: SeongJae Park

Re: [PATCH] thermal: solve compilation errors in rcar_thermal

2012-10-30 Thread Kuninori Morimoto
Hi Zhang, Andrew This patch is needed on latest linus/master branch. Please re-check this patch. And, similar patch was added on linux-next/master branch b5da4e6d5603633835a1da267e0e699eea66f317 (Thermal: Pass zone parameters as argument to tzd_register) but it seems wrong (?) At Tue, 21 Aug 20

Re: [PATCH 2/9] uuid: use random32_get_bytes()

2012-10-30 Thread Huang Ying
On Tue, 2012-10-30 at 22:38 -0400, Theodore Ts'o wrote: > On Wed, Oct 31, 2012 at 09:35:37AM +0800, Huang Ying wrote: > > > > The intention of lib/uuid.c is to unify various UUID related code, and > > put them in same place. In addition to UUID generation, it provide some > > other utility and ma

Re: [PATCH v3 2/6] PM / Runtime: introduce pm_runtime_set[get]_memalloc_noio()

2012-10-30 Thread Ming Lei
On Wed, Oct 31, 2012 at 10:08 AM, Ming Lei wrote: >> I am afraid it is, because a disk may just have been probed as the deviceis >> being reset. > > Yes, it is probable, and sounds like similar with 'root_wait' problem, see > prepare_namespace(): init/do_mounts.c, so looks no good solution > for

Re: [PATCH 2/2] irq_work: Fix racy IRQ_WORK_BUSY flag setting

2012-10-30 Thread Frederic Weisbecker
2012/10/31 Steven Rostedt : > More confidence over what? The xchg()? They are equivalent (wrt memory > barriers). > > Here's the issue that currently exists. Let's look at the code: > > > /* > * Claim the entry so that no one else will poke at it. > */ > static bool irq_work_claim(struct irq_work

Re: [PATCH v8 01/16] hashtable: introduce a small and naive hashtable

2012-10-30 Thread Linus Torvalds
On Tue, Oct 30, 2012 at 7:24 PM, Al Viro wrote: > > BTW, how serious have you been back at KS when you were talking about > pull requests killing a thousand of lines of code being acceptable > at any point in the cycle? Well... I'm absolutely a lot more open to pull requests that kill code than n

Re: [PATCH] To crash dump, we need keep other memory type except E820_RAM, because other type come from BIOS or firmware is used by other code(for example: PCI_MMCONFIG).

2012-10-30 Thread H. Peter Anvin
On 10/30/2012 06:26 PM, Zhang, Jun wrote: > From aebc336baa7ec2d4ccb6f21166770c7d2ee26cba Mon Sep 17 00:00:00 2001 > From: jzha144 > Date: Wed, 31 Oct 2012 08:51:18 +0800 > Subject: [PATCH] To crash dump, we need keep other memory type except > E820_RAM, because other type come from BIOS or firmw

Re: [PATCH v3 0/3] zram/zsmalloc promotion

2012-10-30 Thread Greg Kroah-Hartman
On Wed, Oct 31, 2012 at 11:39:48AM +0900, Minchan Kim wrote: > Greg, what do you think about LTSI? > Is it proper feature to add it? For it, still do I need ACK from mm > developers? It's already in LTSI, as it's in the 3.4 kernel, right? -- To unsubscribe from this list: send the line "unsubscr

Re: [PATCH 2/9] uuid: use random32_get_bytes()

2012-10-30 Thread Theodore Ts'o
On Wed, Oct 31, 2012 at 09:35:37AM +0800, Huang Ying wrote: > > The intention of lib/uuid.c is to unify various UUID related code, and > put them in same place. In addition to UUID generation, it provide some > other utility and may provide/collect more in the future. So do you > think it is a g

Re: [PATCH V3 4/5] Thermal: Add ST-Ericsson DB8500 thermal driver.

2012-10-30 Thread Viresh Kumar
Sorry for late comments :( On 30 October 2012 22:19, hongbo.zhang wrote: > From: "hongbo.zhang" > > This diver is based on the thermal management framework in thermal_sys.c. A s/diver/driver > thermal zone device is created with the trip points to which cooling devices > can be bound, the curr

Re: [PATCH v3 0/3] zram/zsmalloc promotion

2012-10-30 Thread Minchan Kim
On Tue, Oct 30, 2012 at 07:16:18PM -0700, Greg Kroah-Hartman wrote: > On Wed, Oct 31, 2012 at 11:04:43AM +0900, Minchan Kim wrote: > > Hi Greg, > > > > On Tue, Oct 30, 2012 at 06:42:09PM -0700, Greg Kroah-Hartman wrote: > > > On Wed, Oct 31, 2012 at 10:06:42AM +0900, Minchan Kim wrote: > > > > Tha

Re: [PATCH v11] kvm: notify host when the guest is panicked

2012-10-30 Thread Sasha Levin
On Tue, Oct 30, 2012 at 9:48 PM, Wen Congyang wrote: > At 10/31/2012 09:12 AM, Marcelo Tosatti Wrote: >> It has been asked earlier why a simple virtio device is not usable >> for this (with no response IIRC). > > 1. We can't use virtio device when the kernel is booting. So the issue here is the s

Re: Re: [linux-next PATCH] PM / devfreq: documentation cleanups for devfreq header

2012-10-30 Thread 함명주
> On Tuesday, October 30, 2012 08:09:09 AM MyungJoo Ham wrote: [] > > > > Acked-by: MyungJoo Ham > > > > Applying to git://git.kernel.org/pub/scm/linux/kernel/git/mzx/devfreq.git > > for-rafael, which is based on rafael's linux-pm.git / linux-next. > > > > http://git.kernel.org/?p=linux/kernel

Re: [PATCH v8 01/16] hashtable: introduce a small and naive hashtable

2012-10-30 Thread Al Viro
On Tue, Oct 30, 2012 at 06:25:46PM -0700, Linus Torvalds wrote: > But whatever. This series has gotten way too much bike-shedding > anyway. I think it should just be applied, since it does remove lines > of code overall. I'd even possibly apply it to mainline, but it seems > to be against linux-ne

Re: [PATCH v8 01/16] hashtable: introduce a small and naive hashtable

2012-10-30 Thread Linus Torvalds
On Tue, Oct 30, 2012 at 6:36 PM, Sasha Levin wrote: > > I can either rebase that on top of mainline, or we can ask maintainers > to take it to their own trees if you take only 01/16 into mainline. > What would you prefer? I don't really care deeply. The only reason to merge it now would be to avo

Re: [PATCH 2/2] irq_work: Fix racy IRQ_WORK_BUSY flag setting

2012-10-30 Thread Steven Rostedt
On Wed, 2012-10-31 at 01:36 +0100, Frederic Weisbecker wrote: > 2012/10/30 anish kumar : > > As I understand without the memory barrier proposed by you the situation > > would be as below: > > CPU 0 CPU 1 > > > > data = something flags = IRQ_WORK_

Re: [PATCH V3 5/5] Thermal: Add ST-Ericsson DB8500 thermal properties and platform data.

2012-10-30 Thread viresh kumar
On Tue, Oct 30, 2012 at 10:19 PM, hongbo.zhang wrote: > From: "hongbo.zhang" Just a minor comment below. > This patch adds device tree properties for ST-Ericsson DB8500 thermal driver, > also adds the platform data to support the old fashion. > > Signed-off-by: hongbo.zhang Reviewed-by: Vires

Re: [PATCH v3 0/3] zram/zsmalloc promotion

2012-10-30 Thread Greg Kroah-Hartman
On Wed, Oct 31, 2012 at 11:04:43AM +0900, Minchan Kim wrote: > Hi Greg, > > On Tue, Oct 30, 2012 at 06:42:09PM -0700, Greg Kroah-Hartman wrote: > > On Wed, Oct 31, 2012 at 10:06:42AM +0900, Minchan Kim wrote: > > > Thanks all, > > > > > > At last, everybody who contributes to zsmalloc want to put

  1   2   3   4   5   6   7   8   9   >