Re: [PATCH v9 5/6] introduce a new qom device to deal with panicked event

2012-08-24 Thread Wen Congyang
At 08/23/2012 06:51 PM, Jan Kiszka Wrote: On 2012-08-23 04:32, Wen Congyang wrote: If the target is x86/x86_64, the guest's kernel will write 0x01 to the port KVM_PV_EVENT_PORT when it is panciked. This patch introduces a new qom device kvm_pv_ioport to listen this I/O port, and deal with

Re: linux-next: build failure after merge of the ubi tree

2012-08-24 Thread Artem Bityutskiy
On Fri, 2012-08-24 at 11:34 +1000, Stephen Rothwell wrote: Hi Artem, After merging the ubi tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/mtd/ubi/build.c: In function 'io_init': drivers/mtd/ubi/build.c:658:3: error: 'mtd' undeclared (first use in this

Re: [PATCH v9 5/6] introduce a new qom device to deal with panicked event

2012-08-24 Thread Jan Kiszka
On 2012-08-24 08:05, Wen Congyang wrote: At 08/23/2012 06:51 PM, Jan Kiszka Wrote: On 2012-08-23 04:32, Wen Congyang wrote: If the target is x86/x86_64, the guest's kernel will write 0x01 to the port KVM_PV_EVENT_PORT when it is panciked. This patch introduces a new qom device kvm_pv_ioport

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

2012-08-24 Thread Kent Overstreet
On Wed, Aug 22, 2012 at 02:07:40PM -0700, Tejun Heo wrote: On Wed, Aug 22, 2012 at 10:04:09AM -0700, Kent Overstreet wrote: Previously, there was bio_clone() but it only allocated from the fs bio set; as a result various users were open coding it and using __bio_clone(). This changes

Re: [PATCH v9 5/6] introduce a new qom device to deal with panicked event

2012-08-24 Thread Wen Congyang
At 08/24/2012 02:21 PM, Jan Kiszka Wrote: On 2012-08-24 08:05, Wen Congyang wrote: At 08/23/2012 06:51 PM, Jan Kiszka Wrote: On 2012-08-23 04:32, Wen Congyang wrote: If the target is x86/x86_64, the guest's kernel will write 0x01 to the port KVM_PV_EVENT_PORT when it is panciked. This patch

Re: [PATCH v9 5/6] introduce a new qom device to deal with panicked event

2012-08-24 Thread Jan Kiszka
On 2012-08-24 08:33, Wen Congyang wrote: At 08/24/2012 02:21 PM, Jan Kiszka Wrote: On 2012-08-24 08:05, Wen Congyang wrote: At 08/23/2012 06:51 PM, Jan Kiszka Wrote: On 2012-08-23 04:32, Wen Congyang wrote: If the target is x86/x86_64, the guest's kernel will write 0x01 to the port

Re: [PATCH 1/7] mfd: add imx syscon driver based on regmap

2012-08-24 Thread Shawn Guo
On Wed, Aug 22, 2012 at 03:18:42PM +0800, Dong Aisheng wrote: From: Dong Aisheng dong.aish...@linaro.org Add regmap based imx syscon driver. This is usually used for access misc bits in registers which does not belong to a specific module, for example, IOMUXC GPR and ANATOP. With this

[PATCH] Documentation: Fix typo in Documentation

2012-08-24 Thread Masanari Iida
Correct spelling typo various documents in Documentations Singed-off-by: Masanari Iida standby2...@gmail.com --- Documentation/ABI/testing/dev-kmsg | 2 +- Documentation/ABI/testing/sysfs-devices-power | 2 +- Documentation/DocBook/kernel-hacking.tmpl

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

2012-08-24 Thread Kent Overstreet
On Wed, Aug 22, 2012 at 02:10:45PM -0700, Tejun Heo wrote: Hello, Kent. On Wed, Aug 22, 2012 at 10:04:10AM -0700, Kent Overstreet wrote: bcache creates large bios internally, and then splits them according to the device requirements before it sends them down. If a lower level device

Re: FW: [PATCH V5 0/5] clk: mmp: add clock framework for mmp

2012-08-24 Thread Chao Xie
hi, Mike Can you help to review and merge these patches? On Wed, Aug 22, 2012 at 4:00 PM, Haojian Zhuang haojian.zhu...@gmail.com wrote: On Wed, Aug 22, 2012 at 2:41 PM, Arnd Bergmann a...@arndb.de wrote: On Wednesday 22 August 2012, Chao Xie wrote: Reviewed-by: Arnd Bergmann a...@arndb.de

Re: [PATCH v4 2/2] powerpc: Uprobes port to powerpc

2012-08-24 Thread Benjamin Herrenschmidt
On Fri, 2012-08-24 at 11:13 +1000, Michael Ellerman wrote: Yeah. A NULL regs here is a kernel bug, so I think it's actually preferable to crash than silently return. Or best, if you think there's a remote chance that the bug might hit: if (WARN(!regs)) return

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

2012-08-24 Thread Jani Nikula
On Fri, 24 Aug 2012, Stephen Rothwell s...@canb.auug.org.au wrote: Hi Dave, Today's linux-next merge of the drm tree got a conflict in drivers/gpu/drm/i915/intel_modes.c between commit 4eab81366465 (drm/i915: extract connector update from intel_ddc_get_modes() for reuse) from Linus' tree and

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

2012-08-24 Thread Dave Airlie
On Fri, Aug 24, 2012 at 5:13 PM, Jani Nikula jani.nik...@intel.com wrote: On Fri, 24 Aug 2012, Stephen Rothwell s...@canb.auug.org.au wrote: Hi Dave, Today's linux-next merge of the drm tree got a conflict in drivers/gpu/drm/i915/intel_modes.c between commit 4eab81366465 (drm/i915: extract

Re: [PATCH 1/1] clk: add DT support for clock gating control

2012-08-24 Thread Sebastian Hesselbarth
On 08/24/2012 06:29 AM, Tony Prisk wrote: On Thu, 2012-08-23 at 19:31 -0700, Mike Turquette wrote: Quoting Sebastian Hesselbarth (2012-07-08 10:15:26) This patch adds support for using clock gates (clk-gate) from DT based on Rob Herrings DT clk binding support for 3.6. It adds a helper

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

2012-08-24 Thread Kent Overstreet
On Wed, Aug 22, 2012 at 05:30:10PM -0400, Vivek Goyal wrote: On Wed, Aug 22, 2012 at 10:03:59AM -0700, Kent Overstreet wrote: Previously, dm_rq_clone_bio_info needed to be freed by the bio's destructor to avoid a memory leak in the blk_rq_prep_clone() error path. This gets rid of a memory

Re: [RFC PATCH] tty: move the async flags from the serial code into the tty includes

2012-08-24 Thread Jiri Slaby
On 08/22/2012 04:44 PM, Alan Cox wrote: Jiri - this seem more sensible ? I would be faster if you CCed me :). From: Alan Cox a...@linux.intel.com These are used with the tty_port flags which are tty generic so move the flags into a more sensible place. This then makes it possible to add

linux-next: build failure after merge of the final tree (sound tree related)

2012-08-24 Thread Stephen Rothwell
Hi all, After merging the final tree, today's linux-next build (i386 defconfig) failed like this: sound/pci/hda/hda_codec.c: In function 'snd_hda_codec_new': sound/pci/hda/hda_codec.c:1323:7: error: 'struct hda_codec' has no member named 'd3_stop_clk' sound/pci/hda/hda_codec.c:1326:12: error:

[PATCH] mm: cma: fix alignment requirements for contiguous regions

2012-08-24 Thread Marek Szyprowski
Contiguous Memory Allocator requires each of its regions to be aligned in such a way that it is possible to change migration type for all pageblocks holding it and then isolate page of largest possible order from the buddy allocator (which is MAX_ORDER-1). This patch relaxes alignment requirements

[RFC] [PATCH] vfs: remount all file-systems R/O on emergency remount.

2012-08-24 Thread Artem Bityutskiy
From: Artem Bityutskiy artem.bityuts...@linux.intel.com Currently the emergency remount (triggered by Sysrq-u) re-mounting only those file-systems R/O, which have an associated block device (sb-s_bdev). This does not work for file-systems like UBIFS and JFFS2 which work on top of MTD devices

Re: [next-20120823] NOHZ: local_softirq_pending 200 on s/r

2012-08-24 Thread Mike Galbraith
On Thu, 2012-08-23 at 12:04 +0200, Sedat Dilek wrote: Jack Winter confirmed to see similiar NOHZ messages also on v3.4.9-rt17 kernel (CPU: Core2Duo when no suspend performed): [15223.171585] NOHZ: local_softirq_pending 08 These can be caused by blocking while holding local_softirq_lock.

[PATCH 1/3] powerpc: Consolidate *probe definitions

2012-08-24 Thread Ananth N Mavinakayanahalli
From: Ananth N Mavinakayanahalli ana...@in.ibm.com Move is_trap() and relatives to a common file to be shared between *probes. Code movement only; no change in functionality. Suggested by Michael Ellerman. Signed-off-by: Ananth N Mavinakayanahalli ana...@in.ibm.com ---

[PATCH 2/3] powerpc: Add trap_nr to thread_struct

2012-08-24 Thread Ananth N Mavinakayanahalli
From: Ananth N Mavinakayanahalli ana...@in.ibm.com Add thread_struct.trap_nr and use it to store the last exception the thread experienced. In this patch, we populate the field at various places where we force_sig_info() to the process. This is also used in uprobes to determine if the probed

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

2012-08-24 Thread Peter.Huewe
From: James Morris [mailto:jmor...@namei.org] I'm getting this error when building i2c as a module WARNING: __i2c_transfer [drivers/char/tpm/tpm_i2c_infineon.ko] undefined! This is unconditionally (except I2C) available in Linus' master tree. And was introduced by b37d2a3a75cb in June by Jean

linux-next: Tree for Aug 24

2012-08-24 Thread Stephen Rothwell
Hi all, Changes since 20120823: The ubi tree gained a build failure so I used the version from next-20120823. The drm tree gained conflicts against Linus' tree and a build failure so I used the version from next-20120823. The sound tree gained a build failure for which I reverted a commit.

[PATCH v5 3/3] powerpc: Uprobes port to powerpc

2012-08-24 Thread Ananth N Mavinakayanahalli
From: Ananth N Mavinakayanahalli ana...@in.ibm.com This is the port of uprobes to powerpc. Usage is similar to x86. [root@ ~]# ./bin/perf probe -x /lib64/libc.so.6 malloc Added new event: probe_libc:malloc(on 0xb4860) You can now use it in all perf tools, such as: perf record

Re: Build regressions/improvements in v3.6-rc3

2012-08-24 Thread Geert Uytterhoeven
On Fri, Aug 24, 2012 at 2:33 AM, Guenter Roeck li...@roeck-us.net wrote: On Thu, Aug 23, 2012 at 03:18:11PM -0700, Randy Dunlap wrote: On 08/23/2012 01:46 PM, Geert Uytterhoeven wrote: *** ERRORS *** 54 regressions: + drivers/net/can/usb/peak_usb/pcan_usb_core.c: error: conflicting

Re: [PATCH v9 5/6] introduce a new qom device to deal with panicked event

2012-08-24 Thread Wen Congyang
At 08/24/2012 02:30 PM, Jan Kiszka Wrote: On 2012-08-24 08:33, Wen Congyang wrote: At 08/24/2012 02:21 PM, Jan Kiszka Wrote: On 2012-08-24 08:05, Wen Congyang wrote: At 08/23/2012 06:51 PM, Jan Kiszka Wrote: On 2012-08-23 04:32, Wen Congyang wrote: If the target is x86/x86_64, the guest's

Re: [PATCH v4 2/2] powerpc: Uprobes port to powerpc

2012-08-24 Thread Ananth N Mavinakayanahalli
On Fri, Aug 24, 2012 at 05:07:31PM +1000, Benjamin Herrenschmidt wrote: On Fri, 2012-08-24 at 11:13 +1000, Michael Ellerman wrote: Yeah. A NULL regs here is a kernel bug, so I think it's actually preferable to crash than silently return. Or best, if you think there's a remote chance

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

2012-08-24 Thread Marc Dietrich
Am Mittwoch, 22. August 2012, 15:32:38 schrieb Tejun Heo: There isn't much reason to use custom workqueue in nvec. It can use system_nrt_wq instead and cancel the two work items on removal. Signed-off-by: Tejun Heo t...@kernel.org --- Marc, I think I'll do this conversion in two steps.

linux-next: probably no trees for the next week

2012-08-24 Thread Stephen Rothwell
Hi all, Since I will be at Kernel Summit/Plumbers/Linuxcon for the next week, there will probably be no linux-next releases until September 4. I have been known to get bored in the past while attending KS, so there may be one or two, but no promises. :-) -- Cheers, Stephen Rothwell

Re: [PATCH v4] clock: max77686: Add driver for Maxim 77686 32KHz crystal oscillator

2012-08-24 Thread jonghwa3 . lee
Hi Mike, On 2012년 08월 24일 11:07, Mike Turquette wrote: Hello Jonghwa, Quoting Jonghwa Lee (2012-06-27 03:31:17) +#include linux/kernel.h +#include linux/slab.h +#include linux/err.h +#include linux/platform_device.h +#include linux/mfd/max77686.h +#include linux/mfd/max77686-private.h

man-pages-3.42 is released

2012-08-24 Thread Michael Kerrisk (man-pages)
Gidday, I've released man-pages-3.42.tar.gz - man pages for Linux. Tarball download: http://www.kernel.org/doc/man-pages/download.html Git repository: http://git.kernel.org/pub/scm/docs/man-pages/man-pages.git Online changelog:

Re: [PATCH v8 1/5] mm: introduce a common interface for balloon pages mobility

2012-08-24 Thread Michael S. Tsirkin
On Thu, Aug 23, 2012 at 11:12:17PM -0400, Rik van Riel wrote: On 08/23/2012 07:36 PM, Michael S. Tsirkin wrote: --- virtio-balloon: replace page-lru list with page-private. The point is to free up page-lru for use by compaction. Warning: completely untested, will provide tested version

Re: Fixup the page of buddy_higher address's calculation

2012-08-24 Thread Michal Hocko
On Fri 24-08-12 10:08:20, Li Haifeng wrote: [...] Subject: [PATCH] Fix the page address of higher page's buddy calculation Calculate the page address of higher page's buddy should be based higher_page with the offset between index of higher page and index of higher page's buddy. Sorry for

Re: [RFC patch 7/7] thp, s390: architecture backend for thp on System z

2012-08-24 Thread Heiko Carstens
On Thu, Aug 23, 2012 at 07:17:40PM +0200, Gerald Schaefer wrote: +#define __HAVE_ARCH_PMDP_TEST_AND_CLEAR_YOUNG +static inline int pmdp_test_and_clear_young(struct vm_area_struct *vma, + unsigned long address, +

Re: [PATCH v4] clock: max77686: Add driver for Maxim 77686 32KHz crystal oscillator

2012-08-24 Thread jonghwa3 . lee
On 2012년 08월 24일 16:47, jonghwa3@samsung.com wrote: On 2012년 08월 24일 11:07, Mike Turquette wrote: + struct clk *clk; + + clk = clk_register(dev, clk_name[clk_id], clk_max77686_ops, + max77686-hw, NULL, 0, CLK_IS_ROOT); + + if (IS_ERR(clk))

Re: apparent regressions from TLB range flushing page set

2012-08-24 Thread Alex Shi
On 08/22/2012 09:22 PM, Jan Beulich wrote: On 22.08.12 at 10:54, Alex Shi alex@intel.com wrote: On 08/22/2012 03:39 PM, Jan Beulich wrote: Alex Shi alex@intel.com 08/22/12 5:24 AM On 08/20/2012 10:12 PM, Jan Beulich wrote: I was thought you have 'Agreed' for xen part code. :) I

Shutdown problem in SMP system happened on Tegra20

2012-08-24 Thread Bill Huang
Hi, When doing shutdown on Tegra20/Tegra30, we need to read/write PMIC registers through I2C to perform the power off sequence. Unfortunately, sometimes we'll fail to shutdown due to I2C timeout on Tegra20. And the cause of the timeout is due to the CPU which I2C controller IRQ affined to will

Re: v3.6-rc1: modprobe hangs with sdhci failure on dell e6410

2012-08-24 Thread Arend van Spriel
On 08/23/2012 04:58 PM, Aaron Lu wrote: On Wed, Aug 22, 2012 at 10:11 PM, Arend van Spriel ar...@broadcom.com wrote: A quick search using google did not provide clues. Regardless if there is anything inserted the hang occurs. Gr. AvS Also, your .config might be helpful. True. Here it is.

Re: [patch 01/16] sched: track the runnable average on a per-task entitiy basis

2012-08-24 Thread Namhyung Kim
Hi, Just typos below.. On Thu, 23 Aug 2012 07:14:23 -0700, From: Paul Turner p...@google.com Instead of tracking averaging the load parented by a cfs_rq, we can track entity load directly. With the load for a given cfs_rq then being the sum of its children. To do this we represent the

[v3 0/4] ARM: dma-mapping: IOMMU atomic allocation

2012-08-24 Thread Hiroshi Doyu
Hi, The commit e9da6e9 ARM: dma-mapping: remove custom consistent dma region breaks the compatibility with existing drivers. This causes the following kernel oops(*1). That driver has called dma_pool_alloc() to allocate memory from the interrupt context, and it hits BUG_ON(in_interrpt()) in

[v3 1/4] ARM: dma-mapping: atomic_pool with struct page **pages

2012-08-24 Thread Hiroshi Doyu
struct page **pages is necessary to align with non atomic path in __iommu_get_pages(). atomic_pool() has the intialized **pages instead of just *page. Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- arch/arm/mm/dma-mapping.c | 17 + 1 files changed, 13 insertions(+), 4

[v3 3/4] ARM: dma-mapping: Introduce __atomic_get_pages() for __iommu_get_pages()

2012-08-24 Thread Hiroshi Doyu
Support atomic allocation in __iommu_get_pages(). Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- arch/arm/mm/dma-mapping.c | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/arch/arm/mm/dma-mapping.c b/arch/arm/mm/dma-mapping.c index 508fde1..58a852b 100644

[v3 2/4] ARM: dma-mapping: Refactor out to introduce __in_atomic_pool

2012-08-24 Thread Hiroshi Doyu
Check the given range(start, size) is included in atomic_pool or not. Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- arch/arm/mm/dma-mapping.c | 25 +++-- 1 files changed, 19 insertions(+), 6 deletions(-) diff --git a/arch/arm/mm/dma-mapping.c b/arch/arm/mm/dma-mapping.c

[v3 4/4] ARM: dma-mapping: IOMMU allocates pages from atomic_pool with GFP_ATOMIC

2012-08-24 Thread Hiroshi Doyu
Make use of the same atomic pool as DMA does, and skip a kernel page mapping which can involve sleep'able operations at allocating a kernel page table. Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- arch/arm/mm/dma-mapping.c | 36 1 files changed, 36

Re: [ANNOUNCE] 3.4.9-rt17

2012-08-24 Thread Tim Sander
Hi After fixing the realtime prios which got shuffled due to other irq thread names I just tested the realtime latency for interrupts on the i.mx35. With our own systemtimer which does not get into the way of the measurement interrupt this kernel has 30µs worst time (caveat: short measurement

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

2012-08-24 Thread Peter.Huewe
From: James Morris [mailto:jmor...@namei.org] I'm getting this error when building i2c as a module WARNING: __i2c_transfer [drivers/char/tpm/tpm_i2c_infineon.ko] undefined! This is unconditionally (except I2C) available in Linus' master tree. And was introduced by b37d2a3a75cb in June by

Re: [patch 14/16] sched: make __update_entity_runnable_avg() fast

2012-08-24 Thread Namhyung Kim
On Thu, 23 Aug 2012 07:14:36 -0700, From: Paul Turner p...@google.com __update_entity_runnable_avg forms the core of maintaining an entity's runnable load average. In this function we charge the accumulated run-time since last update and handle appropriate decay. In some cases, e.g. a

Re: [PATCHv2 1/1] perf: Port to Android

2012-08-24 Thread Ingo Molnar
* Matthew Garrett mj...@srcf.ucam.org wrote: On Thu, Aug 23, 2012 at 03:32:50PM -0600, David Ahern wrote: Why not add support for the missing functions (on_exit, getsid, psignal and getline) to Bionic instead of perf? Many vendors need to target existing Android platforms and don't

Re: Build regressions/improvements in v3.6-rc3

2012-08-24 Thread Wim Van Sebroeck
Hi Randi, *** WARNINGS *** 6202 regressions: + Documentation/watchdog/src/watchdog-test.c: warning: no previous prototype for 'term' [-Wmissing-prototypes]: = 34:6 patch posted by me... not merged anywhere AFAIK. is in linux-watchdog-next. Will go to Linus this weekend. Kind

[PATCH] xen: fix logical error in tlb flushing

2012-08-24 Thread Alex Shi
While TLB_FLUSH_ALL gets passed as 'end' argument to flush_tlb_others(), the Xen code was made to check its 'start' parameter. That may give a incorrect op.cmd to MMUEXT_INVLPG_MULTI instead of MMUEXT_TLB_FLUSH_MULTI. Then it causes some page can not be flushed from TLB. This patch fixed this

[PATCH] UV: fix incorrect tlb flush all issue

2012-08-24 Thread Alex Shi
The flush tlb optimization code has logical issue on UV platform. It doesn't flush the full range at all, since it simply ignores its 'end' parameter (and hence also the all indicator) in uv_flush_tlb_others() function. This patch fixed this issue, but untested due to hardware leaking.

[PATCH 06/13] perf test: Add perf_event_attr record graph test

2012-08-24 Thread Jiri Olsa
Adding tests to validate perf_event_attr data for commands: 'record -g --' 'record -g fp 'record -g dwarf Cc: Arnaldo Carvalho de Melo a...@ghostprotocols.net Cc: Peter Zijlstra a.p.zijls...@chello.nl Cc: Ingo Molnar mi...@elte.hu Cc: Paul Mackerras pau...@samba.org Cc: Corey Ashford

[PATCH 12/13] perf test: Add perf_event_attr stat group test

2012-08-24 Thread Jiri Olsa
Adding test to validate perf_event_attr data for command: 'stat --group -e cycles,instructions' Cc: Arnaldo Carvalho de Melo a...@ghostprotocols.net Cc: Peter Zijlstra a.p.zijls...@chello.nl Cc: Ingo Molnar mi...@elte.hu Cc: Paul Mackerras pau...@samba.org Cc: Corey Ashford

[PATCH 13/13] perf test: Add attr tests under builtin test command

2012-08-24 Thread Jiri Olsa
The test attr suite is run only if it's run under perf source directory, because test attr files are not installed. If run elsewhere, tests are ommited (notification is displayed) and finished as successfull. Cc: Arnaldo Carvalho de Melo a...@ghostprotocols.net Cc: Peter Zijlstra

[PATCH 09/13] perf test: Add perf_event_attr record no-inherit test

2012-08-24 Thread Jiri Olsa
Adding test to validate perf_event_attr data for command: 'record -i' Cc: Arnaldo Carvalho de Melo a...@ghostprotocols.net Cc: Peter Zijlstra a.p.zijls...@chello.nl Cc: Ingo Molnar mi...@elte.hu Cc: Paul Mackerras pau...@samba.org Cc: Corey Ashford cjash...@linux.vnet.ibm.com Cc: Frederic

[PATCH 04/13] perf test: Add perf_event_attr record freq test

2012-08-24 Thread Jiri Olsa
Adding test to validate perf_event_attr data for command: 'record -F 100' Cc: Arnaldo Carvalho de Melo a...@ghostprotocols.net Cc: Peter Zijlstra a.p.zijls...@chello.nl Cc: Ingo Molnar mi...@elte.hu Cc: Paul Mackerras pau...@samba.org Cc: Corey Ashford cjash...@linux.vnet.ibm.com Cc: Frederic

Re: [PATCH v2] microblaze: improve failure handling for GPIO reset

2012-08-24 Thread Michal Simek
On 08/22/2012 08:02 AM, Peter Crosthwaite wrote: On Thu, Aug 9, 2012 at 4:43 AM, Stephan Linz l...@li-pro.net wrote: Early exit from of_platform_reset_gpio_probe() if there was no GPIO reset line configured. Avoid kernel oops in gpio_system_reset(): [ 96.603690] Restarting system. [

[PATCH 11/13] perf test: Add perf_event_attr stat no-inherit test

2012-08-24 Thread Jiri Olsa
Adding test to validate perf_event_attr data for command: 'stat -i' Cc: Arnaldo Carvalho de Melo a...@ghostprotocols.net Cc: Peter Zijlstra a.p.zijls...@chello.nl Cc: Ingo Molnar mi...@elte.hu Cc: Paul Mackerras pau...@samba.org Cc: Corey Ashford cjash...@linux.vnet.ibm.com Cc: Frederic

[PATCH 08/13] perf test: Add perf_event_attr record no samples test

2012-08-24 Thread Jiri Olsa
Adding test to validate perf_event_attr data for command: 'record -n' Cc: Arnaldo Carvalho de Melo a...@ghostprotocols.net Cc: Peter Zijlstra a.p.zijls...@chello.nl Cc: Ingo Molnar mi...@elte.hu Cc: Paul Mackerras pau...@samba.org Cc: Corey Ashford cjash...@linux.vnet.ibm.com Cc: Frederic

[PATCH 10/13] perf test: Add perf_event_attr stat basic test

2012-08-24 Thread Jiri Olsa
Adding test to validate perf_event_attr data for command: 'stat' Cc: Arnaldo Carvalho de Melo a...@ghostprotocols.net Cc: Peter Zijlstra a.p.zijls...@chello.nl Cc: Ingo Molnar mi...@elte.hu Cc: Paul Mackerras pau...@samba.org Cc: Corey Ashford cjash...@linux.vnet.ibm.com Cc: Frederic Weisbecker

[PATCH 07/13] perf test: Add perf_event_attr record period test

2012-08-24 Thread Jiri Olsa
Adding test to validate perf_event_attr data for command: 'record -c 100 -P' Cc: Arnaldo Carvalho de Melo a...@ghostprotocols.net Cc: Peter Zijlstra a.p.zijls...@chello.nl Cc: Ingo Molnar mi...@elte.hu Cc: Paul Mackerras pau...@samba.org Cc: Corey Ashford cjash...@linux.vnet.ibm.com Cc:

[PATCH 05/13] perf test: Add perf_event_attr record count test

2012-08-24 Thread Jiri Olsa
Adding test to validate perf_event_attr data for command: 'record -c 123' Cc: Arnaldo Carvalho de Melo a...@ghostprotocols.net Cc: Peter Zijlstra a.p.zijls...@chello.nl Cc: Ingo Molnar mi...@elte.hu Cc: Paul Mackerras pau...@samba.org Cc: Corey Ashford cjash...@linux.vnet.ibm.com Cc: Frederic

[PATCH 03/13] perf test: Add perf_event_attr record group test

2012-08-24 Thread Jiri Olsa
Adding test to validate perf_event_attr data for command: 'record --group -e cycles,instructions' Cc: Arnaldo Carvalho de Melo a...@ghostprotocols.net Cc: Peter Zijlstra a.p.zijls...@chello.nl Cc: Ingo Molnar mi...@elte.hu Cc: Paul Mackerras pau...@samba.org Cc: Corey Ashford

[RFC 00/13] perf test: Add perf_event_attr tests

2012-08-24 Thread Jiri Olsa
hi, this code tests the link between perf stat/record command line options and final perf_event_attr struct values. Also it tests the group fd linkage. It's probably missing many command line option combinations worth testing. I wanted to check with others for more ideas before diving into this.

[PATCH 02/13] perf test: Add perf_event_attr record basic test

2012-08-24 Thread Jiri Olsa
Adding test to validate perf_event_attr data for command: 'record' Cc: Arnaldo Carvalho de Melo a...@ghostprotocols.net Cc: Peter Zijlstra a.p.zijls...@chello.nl Cc: Ingo Molnar mi...@elte.hu Cc: Paul Mackerras pau...@samba.org Cc: Corey Ashford cjash...@linux.vnet.ibm.com Cc: Frederic

[PATCH 01/13] perf test: Add framework for atomated perf_event_attr tests

2012-08-24 Thread Jiri Olsa
Adding automated test to check event's perf_event_attr values. The idea is run perf session with kidnaping sys_perf_event_open function. For each sys_perf_event_open call we store the perf_event_attr data to the file to be checked later against what we expect. You can run this by: # python

Re: Fixup the page of buddy_higher address's calculation

2012-08-24 Thread Li Haifeng
2012/8/24 Michal Hocko mho...@suse.cz: On Fri 24-08-12 10:08:20, Li Haifeng wrote: [...] Subject: [PATCH] Fix the page address of higher page's buddy calculation Calculate the page address of higher page's buddy should be based higher_page with the offset between index of higher page and

Re: [PATCHv2 1/1] perf: Port to Android

2012-08-24 Thread Namhyung Kim
Hi, Bernhard On Thu, 23 Aug 2012 17:01:52 +0200, Bernhard Rosenkraenzer wrote: commit 4dc79eed16e3bb03b3cf92fcc6127e107e7537aa Author: Bernhard Rosenkraenzer bernhard.rosenkran...@linaro.org Date: Sat Jun 23 06:18:05 2012 +0200 perf: Port to Android Adapt perf to deal with

Re: [PATCHv2 1/1] perf: Port to Android

2012-08-24 Thread Namhyung Kim
On Fri, 24 Aug 2012 18:02:24 +0900, Namhyung Kim wrote: On Thu, 23 Aug 2012 17:01:52 +0200, Bernhard Rosenkraenzer wrote: [SNIP] + +/* Assorted functions that are missing from Bionic */ +static void psignal(int sig, const char *s) +{ +if(sig = 0 sig NSIG) { +if(s) +

[PATCH 2/5] ARM i.MX53, i.MX6q: Add IRAM to device tree

2012-08-24 Thread Philipp Zabel
Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- arch/arm/boot/dts/imx53.dtsi |5 + arch/arm/boot/dts/imx6q.dtsi |5 + 2 files changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/imx53.dtsi b/arch/arm/boot/dts/imx53.dtsi index e3e8694..6d99d8a 100644 ---

[PATCH 1/5] ARM i.MX: Switch IRAM allocator to device tree initialization

2012-08-24 Thread Philipp Zabel
Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- arch/arm/plat-mxc/include/mach/iram.h |6 - arch/arm/plat-mxc/iram_alloc.c| 44 ++--- 2 files changed, 41 insertions(+), 9 deletions(-) diff --git a/arch/arm/plat-mxc/include/mach/iram.h

[PATCH 0/5] Add device tree support for on-chip SRAM

2012-08-24 Thread Philipp Zabel
These patches add support to configure the on-chip SRAM via device-tree node and to obtain the resulting genalloc pool from a phandle pointing at the node. This allows drivers to allocate SRAM with the genalloc API without hard-coding the genalloc pool address. regards Philipp ---

[PATCH 4/5] genalloc: add a global pool list, allow to find pools by phys address

2012-08-24 Thread Philipp Zabel
This patch keeps all created pools in a global list and adds two functions that allow to retrieve the gen_pool pointer from a known physical address and from a device tree node. Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- include/linux/genalloc.h | 14 + lib/genalloc.c

[PATCH 5/5] ARM i.MX: Remove iram_alloc/free, as they are unused in-tree

2012-08-24 Thread Philipp Zabel
Users of the iram_alloc/free API should convert to the genalloc API instead: - virt = iram_alloc(SIZE, phys); + gen_pool_alloc(iram_pool, SIZE); + phys = gen_pool_virt_to_phys(iram_pool, virt); /* ... */ - iram_free(virt, SIZE); + gen_pool_free(iram_pool,

[PATCH 3/5] iram_alloc: store the virt and phys mem address in gen_pool chunks

2012-08-24 Thread Philipp Zabel
This improves the symmetry of iram_alloc and iram_free in that iram_free has to be called with the virtual address now. Also, gen_pool_virt_to_phys is now functional. Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- arch/arm/plat-mxc/iram_alloc.c | 39

Re: [PATCH v4 1/3] Runtime Interpreted Power Sequences

2012-08-24 Thread Alex Courbot
On Tuesday 21 August 2012 17:54:20 Tomi Valkeinen wrote: However this also means we'll essentially just be moving the board code. What do you mean just? Wasn't the point of the whole arm board file mess to get rid of the code from the board files? If the code in the board file is device

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

2012-08-24 Thread Yann Cantin
Hi, Le 23/08/2012 08:54, Oliver Neukum a écrit : On Thursday 23 August 2012 00:11:54 Yann Cantin wrote: + /* input final setup */ + err = input_register_device(ebeam-input); + if (err) { + dev_dbg(intf-dev, + %s - input_register_device

Re: Use PCI ROMs from EFI boot services

2012-08-24 Thread David Woodhouse
On Thu, 2012-08-23 at 12:36 -0400, Matthew Garrett wrote: V3 just fixes all the casting issues and incorporates David's change in search ordering. I appreciate there are other issues with kexec under EFI, but let's not make it worse. What is the plan for making this work *after* kexec? Do these

Re: [PATCH v7 02/12] x86/Kconfig: Add config switch for CPU0 hotplug

2012-08-24 Thread Borislav Petkov
On Thu, Aug 23, 2012 at 05:56:01PM -0700, Fenghua Yu wrote: From: Fenghua Yu fenghua...@intel.com New config switch CONFIG_BOOTPARAM_HOTPLUG_CPU0 sets default state of whether the CPU0 hotplug is on or off. If the switch is off, CPU0 is not hotpluggable by default. But the CPU0 hotplug

Re: [PATCH v7 07/12] start_cpu0() is defined in head_32.S for 32-bit. The function sets up stack and jumps to start_secondary() for CPU0 wake up.

2012-08-24 Thread Borislav Petkov
On Thu, Aug 23, 2012 at 05:56:06PM -0700, Fenghua Yu wrote: From: Fenghua Yu fenghua...@intel.com Looks like the extra-long Subject line belongs in here where the commit message should be. Signed-off-by: Fenghua Yu fenghua...@intel.com --- arch/x86/kernel/head_32.S | 12 1

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

2012-08-24 Thread Yann Cantin
Hi, Le 23/08/2012 09:23, Oliver Neukum a écrit : On Thursday 23 August 2012 00:11:54 Yann Cantin wrote: +static int ebeam_resume(struct usb_interface *intf) +{ + struct ebeam_device *ebeam = usb_get_intfdata(intf); + struct input_dev *input = ebeam-input; + int result = 0;

[PATCH v4 0/2] Add modules to support realtek PCIE card reader

2012-08-24 Thread wei_wang
From: Wei WANG wei_w...@realsil.com.cn Support for Realtek PCI-Express driver-based card readers including rts5209 and rts5229. v2: 1. Using platform device to replace realtek slot bus v3: 1. Fix a bug that DMA out of SW-IOMMU space in Lenovo Thinkpad x121e 2. Tested by Borislav Petkov

[PATCH v4 2/2] drivers/mmc: Add realtek pcie sdmmc host driver

2012-08-24 Thread wei_wang
From: Wei WANG wei_w...@realsil.com.cn Realtek PCI-E SD/MMC card host driver is used to access SD/MMC card, with the help of Realtek PCI-E card reader MFD driver. Signed-off-by: Wei WANG wei_w...@realsil.com.cn Reviewed-by: Arnd Bergmann a...@arndb.de Tested-by: Borislav Petkov b...@alien8.de

Re: [PATCH v7 04/12] Don't offline CPU0 if any PIC irq can not be migrated out of it.

2012-08-24 Thread Borislav Petkov
On Thu, Aug 23, 2012 at 05:56:03PM -0700, Fenghua Yu wrote: From: Fenghua Yu fenghua...@intel.com Change smp_store_cpu_info() to store cpu info for a CPU when it's brought up. This includes bringing up CPU0 or AP after it's offline. But don't store cpu info when BSP first boots during boot

Re: [PATCH v7 05/12] Because x86 BIOS requires CPU0 to resume from sleep, suspend or hibernate can't be executed if CPU0 is detected offline. To make suspend or hibernate and further resume succeed, C

2012-08-24 Thread Borislav Petkov
On Thu, Aug 23, 2012 at 05:56:04PM -0700, Fenghua Yu wrote: From: Fenghua Yu fenghua...@intel.com Ditto for too long Subject line and missing commit message. Signed-off-by: Fenghua Yu fenghua...@intel.com --- arch/x86/power/cpu.c | 44 1

Re: Fixup the page of buddy_higher address's calculation

2012-08-24 Thread Michal Hocko
On Fri 24-08-12 17:08:36, Li Haifeng wrote: 2012/8/24 Michal Hocko mho...@suse.cz: On Fri 24-08-12 10:08:20, Li Haifeng wrote: [...] Subject: [PATCH] Fix the page address of higher page's buddy calculation Calculate the page address of higher page's buddy should be based higher_page

Re: [PATCH v4 0/2] Add modules to support realtek PCIE card reader

2012-08-24 Thread wwang
于 2012年08月24日 17:36, 王炜 写道: From: Wei WANG wei_w...@realsil.com.cn Support for Realtek PCI-Express driver-based card readers including rts5209 and rts5229. Oh, bad mail thread. I will resend them all. Please ignore these mails. Sorry for that. -- To unsubscribe from this list: send the

[Tech-board-discuss] Linux Foundation Technical Advisory Board Elections and Nomination process

2012-08-24 Thread James Bottomley
The elections for five of the ten members of the Linux Foundation Technical Advisory Board[TAB] are held every year. Currently the election will be at the 2012 Kernel Summit at one of the Joint events (probably on the Wednesday 29 August) and will be open to all attendees of the Weeks events

Re: Drop support for x86-32

2012-08-24 Thread wbrana
On 8/23/12, Brian Gerst brge...@gmail.com wrote: On Thu, Aug 23, 2012 at 3:08 PM, wbrana wbr...@gmail.com wrote: On 8/23/12, Brian Gerst brge...@gmail.com wrote: Nobody here cares about closed source drivers. There are also open source software which don't support X32 like Oracle Java,

Re: [PATCH v2 02/31] arm64: Kernel booting and initialisation

2012-08-24 Thread Catalin Marinas
On Fri, Aug 17, 2012 at 02:13:59PM +0100, Tony Lindgren wrote: * Shilimkar, Santosh santosh.shilim...@ti.com [120817 03:11]: On Fri, Aug 17, 2012 at 3:35 PM, Catalin Marinas catalin.mari...@arm.com wrote: On Fri, Aug 17, 2012 at 10:41:10AM +0100, Santosh Shilimkar wrote: So you

Re: Drop support for x86-32

2012-08-24 Thread wbrana
On 8/23/12, Al Viro v...@zeniv.linux.org.uk wrote: ... which gives you no right whatsoever to demand anything. Let me repharse what Pekka has suggested - off to the wankers' stall with you; take it to linux-visionaries. your e-mail is off topic, try to say something relevant -- To unsubscribe

Re: Drop support for x86-32

2012-08-24 Thread wbrana
On 8/23/12, Brian Gerst brge...@gmail.com wrote: Windows mostly sells with new hardware, and by the time win9 is released all new hardware designed for it will be 64-bit capable. Therefore it is not *profitable* for Microsoft to continue to develop a 32-bit version. That doesn't apply to

scripts/tags.sh: Add magic for pci access functions

2012-08-24 Thread Kirill Tkhai
scripts/tags.sh: Add magic for pci access functions Make [ce]tags find the pci_bus_read_config_* and pci_bus_write_config_* definitions Signed-off-by: Kirill Tkhai tk...@yandex.ru --- scripts/tags.sh |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/scripts/tags.sh

[PATCH v4 0/2] Add modules to support realtek PCIE card reader

2012-08-24 Thread wei_wang
From: Wei WANG wei_w...@realsil.com.cn Support for Realtek PCI-Express driver-based card readers including rts5209 and rts5229. v2: 1. Using platform device to replace realtek slot bus v3: 1. Fix a bug that DMA out of SW-IOMMU space in Lenovo Thinkpad x121e 2. Tested by Borislav Petkov

[PATCH v4 2/2] drivers/mmc: Add realtek pcie sdmmc host driver

2012-08-24 Thread wei_wang
From: Wei WANG wei_w...@realsil.com.cn Realtek PCI-E SD/MMC card host driver is used to access SD/MMC card, with the help of Realtek PCI-E card reader MFD driver. Signed-off-by: Wei WANG wei_w...@realsil.com.cn Reviewed-by: Arnd Bergmann a...@arndb.de Tested-by: Borislav Petkov b...@alien8.de

Re: [PATCH v4 1/2] XEN/X86: Improve semantic support for x86_init.mapping.pagetable_reserve

2012-08-24 Thread Borislav Petkov
On Thu, Aug 23, 2012 at 06:13:39PM +0100, Attilio Rao wrote: You seriously think that adding a single-check, that will be certainly skipped (now), in a boot-time function is going to add any performance burden? What you are doing is actively wrong. You suggest that it's fine to call that

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

2012-08-24 Thread Catalin Marinas
On Fri, Aug 24, 2012 at 01:52:50AM +0100, Michael Wang wrote: On 08/17/2012 12:33 PM, Michael Wang wrote: From: Michael Wang wang...@linux.vnet.ibm.com This patch replaces list_for_each_continue_rcu() with list_for_each_entry_continue_rcu() to save a few lines of code and allow

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

2012-08-24 Thread halfdog
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kirill A. Shutemov wrote: On Wed, Aug 22, 2012 at 09:49:35PM +, halfdog wrote: Got a hint via IRC, that I should not send patch idea for review to generic list, but to maintainers and last (or relevant) comitters of code.

Re: [PATCH v4 1/2] XEN/X86: Improve semantic support for x86_init.mapping.pagetable_reserve

2012-08-24 Thread Attilio Rao
On 24/08/12 11:03, Borislav Petkov wrote: On Thu, Aug 23, 2012 at 06:13:39PM +0100, Attilio Rao wrote: You seriously think that adding a single-check, that will be certainly skipped (now), in a boot-time function is going to add any performance burden? What you are doing is actively

  1   2   3   4   5   6   7   8   9   10   >