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 > > +++

[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

[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

[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:

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

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

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

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,

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

[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 ---

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

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

[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

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

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

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

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

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

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

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. > > > >

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

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

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. > >

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

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

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

[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

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

[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

[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

[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

[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

[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

[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

[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

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

[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

[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

[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

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

[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

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: >> >>

[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

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 > >

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

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

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

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

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

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

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

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

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: > > > >

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

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. > > > >

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

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

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 =

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:

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

Re: Re: [for-next PATCH V2] PM / devfreq: Add sysfs node to expose available frequencies

2012-10-30 Thread MyungJoo Ham
> On Friday, October 26, 2012 06:16:36 AM MyungJoo Ham wrote: > > > devfreq governors such as ondemand are controlled by a min and > > > max frequency, while governors like userspace governor allow us > > > to set a specific frequency. > > > However, for the same specific device, depending on the

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 12:30 AM, Oliver Neukum wrote: >> If the USB mass-storage device is being reseted, the flag should be set >> already generally. If the flag is still unset, that means the disk/network >> device isn't added into system(or removed just now), so memory allocation >> with

Re: [PATCH V3 0/5] Fix thermal bugs and Upstream ST-Ericsson thermal driver

2012-10-30 Thread viresh kumar
On Tue, Oct 30, 2012 at 10:18 PM, hongbo.zhang wrote: > From: "hongbo.zhang" > > V2->V3 Changes: > > 2. Update ST-Ericsson thermal driver due to review comments from Viresh Kumar > and Francesco Lavra. You expect people, who want to know what has changed, to go and check our comments? That

linux-next: manual merge of the block tree with Linus' tree

2012-10-30 Thread Stephen Rothwell
Hi Jens, Today's linux-next merge of the block tree got a conflict in drivers/block/floppy.c between a set of common patches from Linus' tree and commit b33d002f4b6b ("genhd: Make put_disk() safe for disks that have not been registered") from the block tree. I fixed it up (by using the block

[PATCH] 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 v3 0/3] zram/zsmalloc promotion

2012-10-30 Thread Minchan Kim
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 it under /lib. > > > > Greg, > > What should I do for promoting this

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

2012-10-30 Thread zhangyanfei
于 2012年10月31日 08:18, Marcelo Tosatti 写道: > On Fri, Oct 19, 2012 at 01:44:31PM +0800, Zhang Yanfei wrote: >> 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 >>

ACPI errors with 3.7-rc3

2012-10-30 Thread Greg KH
Hi Len and Rafael, With 3.7-rc3, I'm seeing a constant stream of these errors in the kernel log for my MacBook Pro: [30443.430133] ACPI: EC: input buffer is not empty, aborting transaction [30443.430145] ACPI Exception: AE_TIME, Returned by Handler for [EmbeddedControl] (20120913/evregion-501)

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

2012-10-30 Thread Wen Congyang
At 10/31/2012 09:12 AM, Marcelo Tosatti Wrote: > On Thu, Oct 25, 2012 at 11:42:32AM +0800, Hu Tao wrote: >> We can know the guest is panicked when the guest runs on xen. >> But we do not have such feature on kvm. >> >> Another purpose of this feature is: management app(for example: >> libvirt) can

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

2012-10-30 Thread Greg Kroah-Hartman
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 it under /lib. > > Greg, > What should I do for promoting this dragging patchset? You need to get the -mm developers to agree that this is something that is

Console font corruption on tty1 after using xorg in 3.6 with i915

2012-10-30 Thread Ken Moffat
Hi, since 3.6-rc7 I'm *sometimes* seeing console font corruption on tty1 after I leave xorg [ I'm old enough to use 'startx' ]. This is with a 512-glyph font. What seems to be happening is that many lower-case ASCII letters, and also '0', are replaced by other glyphs. Many of these other glyphs

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

2012-10-30 Thread Sasha Levin
Hi Linus, > 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-next. Yup, I switched to using -next because I've been

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

2012-10-30 Thread Steven Rostedt
On Tue, 2012-10-30 at 18:25 -0700, Linus Torvalds wrote: > On Tue, Oct 30, 2012 at 6:16 PM, Steven Rostedt wrote: > > > > ({\ > > sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits); \ > > }) > > > > Is the

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

2012-10-30 Thread Huang Ying
On Tue, 2012-10-30 at 00:48 -0400, Theodore Ts'o wrote: > On Tue, Oct 30, 2012 at 09:49:58AM +0800, Huang Ying wrote: > > The uuid_le/be_gen() in lib/uuid.c has set UUID variants to be DCE, > > that is done in __uuid_gen_common() with "b[8] = (b[8] & 0x3F) | 0x80". > > Oh, I see, I missed that. >

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

2012-10-30 Thread Marcelo Tosatti
On Fri, Oct 19, 2012 at 01:44:31PM +0800, Zhang Yanfei wrote: > 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: zhangyanfei >

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

2012-10-30 Thread Marcelo Tosatti
On Thu, Oct 25, 2012 at 11:42:32AM +0800, Hu Tao wrote: > We can know the guest is panicked when the guest runs on xen. > But we do not have such feature on kvm. > > Another purpose of this feature is: management app(for example: > libvirt) can do auto dump when the guest is panicked. If

[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
>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 firmware is used by other code(for example:

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:16 PM, Steven Rostedt wrote: > > ({\ > sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits); \ > }) > > Is the better way to go. We are C programmers, we like to see the ?: on > a single

[ANNOUNCE] 3.6.4-rt11

2012-10-30 Thread Thomas Gleixner
Dear RT Folks, I'm pleased to announce the 3.6.4-rt11 release. Changes since 3.6.3-rt10: * Crypto wreckage fix (Milan Broz) Another proof why copy and paste should be forbidden, but if that would happen most of us would be serving time. * Another attempt to tame SLUB My

Re: [PATCH 5/6] power: export opp cpufreq functions

2012-10-30 Thread Nishanth Menon
On 16:04-20121030, Mark Langsdorf wrote: $subject PM / OPP: Also adding info that this allows cpufreq drivers to be used as module might be helpful. > Signed-off-by: Mark Langsdorf > Cc: linux...@vger.kernel.org Side note: Applies on v3.7-rc3 on rafael's linux-next branch: linux-next 2

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

2012-10-30 Thread Steven Rostedt
On Tue, 2012-10-30 at 20:33 -0400, Sasha Levin wrote: > On Tue, Oct 30, 2012 at 5:42 PM, Tejun Heo wrote: > > Hello, > > > > Just some nitpicks. > > > > On Tue, Oct 30, 2012 at 02:45:57PM -0400, Sasha Levin wrote: > >> +/* Use hash_32 when possible to allow for fast 32bit hashing in 64bit > >>

  1   2   3   4   5   6   7   8   9   10   >