Re: [PATCH 08/36] AArch64: Kernel booting and initialisation

2012-07-17 Thread Jon Masters
On 07/06/2012 05:05 PM, Catalin Marinas wrote: > +- CPU mode > + All forms of interrupts must be masked in PSTATE.DAIF (Debug, SError, > + IRQ and FIQ). > + The CPU must be in either EL2 (RECOMMENDED) or non-secure EL1. Even though this stuff is likely to be replaced with the result of some of

Re: [PATCH] xhci: EHCI/xHCI ports switching on Intense-PC.

2012-07-17 Thread Denis Turischev
On 07/17/2012 07:54 AM, Sarah Sharp wrote: > On Mon, Jul 16, 2012 at 07:46:06PM +0300, Denis Turischev wrote: >> Intense-PC is Compulab's mini-desktop with Intel Panther Point >> chipset. >> >> Unconditional ports switching provided by function >> usb_enable_xhci_ports() leads to surprising results

Re: [PATCH 3/4] UBI: use the whole MTD device size to get bad_peb_limit

2012-07-17 Thread Artem Bityutskiy
On Tue, 2012-07-10 at 18:23 +0200, Richard Genoud wrote: > > The Kconfig option is in per1024 blocks, thus it can have a default > value of 20 which is *very* common for NAND devices. Why do you prefer per1024? I'd make it centi-percent instead, wouldn't that be more human-friendly. It is just %

Re: question about IO-sched

2012-07-17 Thread Corrado Zoccolo
On Sun, Jul 15, 2012 at 9:08 AM, gaoqiang wrote: > > many thanks. but why the sys_read operation hangs on sync_page ? there are > still > many free memory.I mean ,the actually free memory,excluding the various > kinds of > caches or buffers. http://kerneltrap.org/node/4941 explains sync_page: > >

Re: [PATCH] epoll: Add a flag, EPOLLWAKEUP, to prevent suspend while epoll events are ready

2012-07-17 Thread Michael Kerrisk (man-pages)
On Tue, Jul 17, 2012 at 9:22 PM, Rafael J. Wysocki wrote: [...] > I'm going to push your patch for v3.5, Thanks. > but then I'm considering the following > one for v3.6. I wouldn't like to make more changes in v3.5-rc at this point, Acked-by: Michael Kerrisk Thanks, Michael > --- > From:

[PATCH] regulator: tps65217: fix build error if REGULATOR is not enabled

2012-07-17 Thread AnilKumar Ch
Fixes below build error if CONFIG_REGULATOR is not enabled. drivers/built-in.o: In function `tps65217_probe': tps65217.c:(.devinit.text+0x13e37): undefined reference to `of_regulator_match' Signed-off-by: AnilKumar Ch --- drivers/mfd/Kconfig |1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v3 10/11] arm/dts: omap: Add usb_otg and glue data

2012-07-17 Thread Kishon Vijay Abraham I
Add usb otg data node in omap4/omap3 device tree file. Also update the node with board specific setting in omapx-.dts file. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/omap3-beagle.dts |6 ++ arch/arm/boot/dts/omap3-evm.dts|6 ++ arch/arm/boot/dts/omap3.dtsi

[PATCH v3 11/11] arm: omap: phy: remove unused functions from omap-phy-internal.c

2012-07-17 Thread Kishon Vijay Abraham I
All the unnessary functions in omap-phy-internal is removed. These functionality are now handled by omap-usb2 phy driver. Cc: Felipe Balbi Signed-off-by: Kishon Vijay Abraham I Acked-by: Tony Lindgren --- arch/arm/mach-omap2/omap_phy_internal.c | 138 --- arch/arm/

[PATCH v3 09/11] drivers: usb: musb: Add device tree support for omap musb glue

2012-07-17 Thread Kishon Vijay Abraham I
Added device tree support for omap musb driver and updated the Documentation with device tree binding information. Signed-off-by: Kishon Vijay Abraham I --- Documentation/devicetree/bindings/usb/omap-usb.txt | 34 - drivers/usb/musb/omap2430.c| 55

[PATCH v3 07/11] drivers: usb: twl4030: Add device tree support for twl4030 usb

2012-07-17 Thread Kishon Vijay Abraham I
Add device tree support for twl4030 usb driver. Update the Documentation with device tree binding information. Signed-off-by: Kishon Vijay Abraham I --- .../devicetree/bindings/usb/twl-usb.txt| 19 ++ drivers/usb/otg/twl4030-usb.c | 26 +++

[PATCH v3 02/11] arm/dts: omap: Add omap-usb2 dt data

2012-07-17 Thread Kishon Vijay Abraham I
Add omap-usb2 data node in omap4 device tree file. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/omap4.dtsi |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi index 29c6243..15f1890 100644 --- a/a

[PATCH v3 04/11] arm: omap: hwmod: add a new addr space in otg for writing to control module

2012-07-17 Thread Kishon Vijay Abraham I
The mailbox register for usb otg in omap is present in control module. On detection of any events VBUS or ID, this register should be written to send the notification to musb core. Till we have a separate control module driver to write to control module, omap2430 will handle the register writes to

[PATCH v3 03/11] drivers: usb: otg: make twl6030_usb as a comparator driver to omap_usb2

2012-07-17 Thread Kishon Vijay Abraham I
All the PHY configuration other than VBUS, ID GND and OTG SRP are removed from twl6030. The phy configurations are taken care by the dedicated usb2 phy driver. So twl6030 is made as comparator driver for VBUS and ID detection. Writing to control module which is now handled in omap2430.c should be

Re: [PATCH 1/1] Honor state disabling in the cpuidle ladder governor

2012-07-17 Thread Deepthi Dharwar
On 07/18/2012 12:29 AM, Carsten Emde wrote: > There are two cpuidle governors ladder and menu. While the ladder > governor is always available, if CONFIG_CPU_IDLE is selected, the > menu governor additionally requires CONFIG_NO_HZ. > > A particular C state can be disabled by writing to the sysfs

[PATCH v3 06/11] arm/dts: Add twl6030-usb data

2012-07-17 Thread Kishon Vijay Abraham I
Add twl6030-usb data node in twl6030 device tree file Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/omap4-panda.dts |4 arch/arm/boot/dts/omap4-sdp.dts |4 arch/arm/boot/dts/twl6030.dtsi|6 ++ 3 files changed, 14 insertions(+), 0 deletions(-) diff -

[PATCH v3 05/11] drivers: usb: twl6030: Add dt support for twl6030 usb

2012-07-17 Thread Kishon Vijay Abraham I
Add device tree support for twl6030 usb driver. Update the Documentation with device tree binding information. Signed-off-by: Kishon Vijay Abraham I --- .../devicetree/bindings/usb/twl-usb.txt| 22 +++ drivers/usb/otg/twl6030-usb.c | 39 +-

[PATCH v3 08/11] arm/dts: Add twl4030-usb data

2012-07-17 Thread Kishon Vijay Abraham I
Add twl4030-usb data node in twl4030 device tree file. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/twl4030.dtsi | 21 + 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/twl4030.dtsi b/arch/arm/boot/dts/twl4030.dtsi index 22f4

[PATCH v3 01/11] drivers: usb: otg: add a new driver for omap usb2 phy

2012-07-17 Thread Kishon Vijay Abraham I
All phy related programming like enabling/disabling the clocks, powering on/off the phy is taken care of by this driver. It is also used for OTG related functionality like srp. This also includes device tree support for usb2 phy driver and the documentation with device tree binding information is

[PATCH v3 00/11] omap: musb: Add device tree support

2012-07-17 Thread Kishon Vijay Abraham I
This patch series adds device tree support for MUSB and device tree support for all the related modules to get MUSB working in OMAP platform. A new omap-usb2 phy driver has been added (with only dt suppport) to perform phy configurations. Previously this configuration was performed by twl6030, usi

Re: [PATCH v2 1/1] mmc: block: Add write packing control

2012-07-17 Thread merez
Hi Chris, Is there anything else that holds this patch from being pushed to mmc-next? Thanks, Maya On Tue, July 17, 2012 3:50 pm, Chris Ball wrote: > Hi Muthu, > > On Mon, Jul 16 2012, Muthu Kumar wrote: >> On Sun, Jul 15, 2012 at 7:46 PM, Chris Ball wrote: >>> Hi, >>> >>> On Sun, Jul 15 2012, M

[PATCH v2 1/2] drivers: bus: add a new driver for omap-ocp2scp

2012-07-17 Thread Kishon Vijay Abraham I
Adds a new driver *omap-ocp2scp*. This driver takes the responsibility of creating all the devices that is connected to OCP2SCP. In the case of OMAP4, USB2PHY is connected to ocp2scp. This also includes device tree support for ocp2scp driver and the documentation with device tree binding informati

[PATCH v2 2/2] arm/dts: omap4: Add ocp2scp data

2012-07-17 Thread Kishon Vijay Abraham I
Add ocp2scp data node in omap4 device tree file. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/omap4.dtsi |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi index 359c497..29c6243 100644 --- a/

[PATCH v2 0/2] omap: add ocp2scp as a bus driver

2012-07-17 Thread Kishon Vijay Abraham I
This patch series is done as a preparatory step for adding phy drivers for dwc3 and musb. This series adds a new driver for ocp2scp (only dt) to which phy drivers are connected. Since currently there is no generic way to create a child device along with doing a pm_runtime_enable (the exact requir

[PATCH V3 6/6] mfd: tps6586x: remove gpio support from core driver

2012-07-17 Thread Laxman Dewangan
The GPIO functionality of device tps6586x is added through platform gpio driver and it can be register as the mfd sub device and hence removing the duplicates code which register the gpio functionality from core driver. Signed-off-by: Laxman Dewangan Acked-by: Linus Walleij --- Changes from V1->

[PATCH V3 4/6] gpio: tps6586x: add gpio support through platform driver

2012-07-17 Thread Laxman Dewangan
Converting the gpio driver of tps6586x to a platform driver in place of registering the gpio through core driver. The motivation of the change is: - This is inline with the mfd drivers implementation. - This will move the related gpio support to gpio driver folder where all gpio related drivers a

[PATCH V3 3/6] mfd: tps6586x: cache register through regmap

2012-07-17 Thread Laxman Dewangan
To cache the interrupt mask register, use the regmap RB_TREE cache-ing mechanism in place of implementing it locally. Signed-off-by: Laxman Dewangan Reviewed-by: Mark Brown --- Changes V1 -> V2: No change, generated new patch for V2 series. Changes V2 -> V3: No change, generated new patch for

[PATCH V3 5/6] ARM: tegra: defconfig: enable tps6586x gpio

2012-07-17 Thread Laxman Dewangan
Enable GPIO_TPS6586X as the gpio functionality of this device moved as platform driver. Signed-off-by: Laxman Dewangan --- Changes V1 -> V2: New change in V2 series. To avoid bisect, added change in defconfig. Changes V2->V3: No Change, just recreated part of series. arch/arm/configs/tegra_de

[PATCH V3 2/6] mfd: Use regmap for tps6586x register access.

2012-07-17 Thread Laxman Dewangan
Using regmap apis for accessing the device registers. Signed-off-by: Laxman Dewangan Reviewed-by: Mark Brown --- Changes V1 -> V2: No change, generated new patch for V2 series. Changes V2 -> V3: No change, generated new patch for V3 series. drivers/mfd/Kconfig|1 + drivers/mfd/tps6586x

[PATCH V3 1/6] mfd: tps6586x:use devm managed resources

2012-07-17 Thread Laxman Dewangan
Allocate memory for device state using devm_kzalloc() to simplify accounting and letting the kernel do the garbage-collection. Signed-off-by: Laxman Dewangan --- Changes V1 -> V2: No change, generated new patch for V2 series. Changes V2->V3: Revert the request registration through devm_* and use

[PATCH V3 0/6] mfd: tp6586x: enhancements in the driver

2012-07-17 Thread Laxman Dewangan
Doing some enhancements in the tps6586x core driver which is based on some recent driver framework enhancements. Following are highlights of changes: - Use devm for allocation to remove the code for freeing it. - Use regmap i2c for register access in place of direct i2c apis. This will give the d

Re: [PATCH v5 3/4] kvm: Create kvm_clear_irq()

2012-07-17 Thread Gleb Natapov
On Tue, Jul 17, 2012 at 07:14:52PM +0300, Michael S. Tsirkin wrote: > > _Seems_ racy, or _is_ racy? Please identify the race. > > Look at this: > > static inline int kvm_irq_line_state(unsigned long *irq_state, > int irq_source_id, int level) > { > /*

Re: [PATCH 02/17] input/serio/hp_sdc.c: remove IRQF_SAMPLE_RANDOM which is now a no-op

2012-07-17 Thread Dmitry Torokhov
On Tue, Jul 17, 2012 at 05:32:21PM -0400, Theodore Ts'o wrote: > With the changes in the random tree, IRQF_SAMPLE_RANDOM is now a > no-op; interrupt randomness is now collected unconditionally in a very > low-overhead fashion; see commit 775f4b297b. The IRQF_SAMPLE_RANDOM > flag was scheduled to b

[PATCH] CHROMIUM: Input: synaptics - use firmware data for Cr-48

2012-07-17 Thread Chung-yih Wang
The profile sensor clickpad in a Cr-48 Chromebook does a reasonable job of tracking individual fingers. This tracking isn't perfect, but, experiments show that it works better than just passing "semi-mt" data to userspace, and making userspace try to deduce where the fingers are given a bounding bo

Re: [RFC 3/3] memory-hotplug: bug fix race between isolation and allocation

2012-07-17 Thread Minchan Kim
On Wed, Jul 18, 2012 at 01:29:47PM +0800, Bob Liu wrote: > On Wed, Jul 18, 2012 at 11:56 AM, Minchan Kim wrote: > > On Wed, Jul 18, 2012 at 11:12:27AM +0800, Bob Liu wrote: > >> On Wed, Jul 18, 2012 at 10:41 AM, Minchan Kim wrote: > >> > On Wed, Jul 18, 2012 at 10:12:57AM +0800, Bob Liu wrote: >

Re: [PATCH 02/36] ipc: Add COMPAT_SHMLBA support

2012-07-17 Thread Jon Masters
On 07/06/2012 05:05 PM, Catalin Marinas wrote: > The reason for this patch is that we want SHMLBA to be 64K on AArch64 Presumably this is to obviate differences between 64K or 4K pages? Jon. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to ma

Re: [PATCH v4 1/3] mm: introduce compaction and migration for virtio ballooned pages

2012-07-17 Thread Minchan Kim
Hi Rafael, On Tue, Jul 17, 2012 at 01:50:41PM -0300, Rafael Aquini wrote: > This patch introduces the helper functions as well as the necessary changes > to teach compaction and migration bits how to cope with pages which are > part of a guest memory balloon, in order to make them movable by memor

Re: [PATCH 2/2] arm/dts: omap4: Add ocp2scp data

2012-07-17 Thread ABRAHAM, KISHON VIJAY
Hi, On Tue, Jul 17, 2012 at 6:06 PM, Sergei Shtylyov wrote: > Hello. > > > On 16-07-2012 18:13, Kishon Vijay Abraham I wrote: > >> Add ocp2scp data node in omap4 device tree file. > > >> Signed-off-by: Kishon Vijay Abraham I >> --- >> arch/arm/boot/dts/omap4.dtsi |8 >> 1 files c

Re: [PATCH V2 1/6] mfd: tps6586x:use devm managed resources

2012-07-17 Thread Laxman Dewangan
On Tuesday 17 July 2012 10:23 PM, Mark Brown wrote: * PGP Signed by an unknown key On Tue, Jul 17, 2012 at 10:12:39AM +0530, Laxman Dewangan wrote: On Tuesday 17 July 2012 01:31 AM, Mark Brown wrote: On Mon, Jul 16, 2012 at 12:21:45PM +0530, Laxman Dewangan wrote: I think device_remove will

Re: [PATCH v2 02/11] arm/dts: omap: Add omap-usb2 dt data

2012-07-17 Thread ABRAHAM, KISHON VIJAY
Hi, On Tue, Jul 17, 2012 at 5:57 PM, Sergei Shtylyov wrote: > Hello. > > > On 17-07-2012 12:10, Kishon Vijay Abraham I wrote: > >> Add omap-usb2 data node in omap4 device tree file. > > >> Signed-off-by: Kishon Vijay Abraham I >> --- >> arch/arm/boot/dts/omap4.dtsi |5 + >> 1 files ch

Re: [PATCH 00/36] AArch64 Linux kernel port

2012-07-17 Thread Jon Masters
On 07/06/2012 05:05 PM, Catalin Marinas wrote: > These patches are also available on this branch: > > git://git.kernel.org/pub/scm/linux/kernel/git/cmarinas/linux-aarch64.git > upstream Catalin, What's your general plan for tracking development with this branch? Jon. -- To unsubscribe from th

[PATCH] hugetlb/cgroup: Simplify pre_destroy callback

2012-07-17 Thread Aneesh Kumar K.V
From: "Aneesh Kumar K.V" Since we cannot fail in hugetlb_cgroup_move_parent, we don't really need to check whether cgroup have any change left after that. Also skip those hstates for which we don't have any charge in this cgroup. Based on an earlier patch from Wanpeng Li Signed-off-by: Aneesh

Re: Deadlocks due to per-process plugging

2012-07-17 Thread Mike Galbraith
On Wed, 2012-07-18 at 06:44 +0200, Mike Galbraith wrote: > The patch in question for missing Cc. Maybe should be only mutex, but I > see no reason why IO dependency can only possibly exist for mutexes... Well that was easy, box quickly said "nope, mutex only does NOT cut it". -Mike -- To unsub

Re: [RFC 3/3] memory-hotplug: bug fix race between isolation and allocation

2012-07-17 Thread Bob Liu
On Wed, Jul 18, 2012 at 11:56 AM, Minchan Kim wrote: > On Wed, Jul 18, 2012 at 11:12:27AM +0800, Bob Liu wrote: >> On Wed, Jul 18, 2012 at 10:41 AM, Minchan Kim wrote: >> > On Wed, Jul 18, 2012 at 10:12:57AM +0800, Bob Liu wrote: >> >> On Wed, Jul 18, 2012 at 7:40 AM, Minchan Kim wrote: >> >> >

[Bug 3.4.5] reiserfs: mutex_destroy called with locked mutex

2012-07-17 Thread Knut Petersen
I hit the following problem during a heavy compile job on kernel 3.4.5: Jul 17 20:29:59 golem kernel: [27408.140718] [ cut here ] Jul 17 20:29:59 golem kernel: [27408.140739] WARNING: at kernel/mutex-debug.c:106 mutex_destroy+0x35/0x3f() Jul 17 20:29:59 golem kernel: [27

Re: show_uevent() and general protection fault

2012-07-17 Thread Fengguang Wu
On Mon, Jul 16, 2012 at 06:33:42PM -0700, Greg Kroah-Hartman wrote: > On Fri, Jul 13, 2012 at 04:46:16PM +0800, Fengguang Wu wrote: > > This is another kconfig, produced a bit different call trace, however > > also related to sysfs_read_file(). > > Any hint as to which file is being read? Good id

Re: linux-next: manual merge of the arm-soc tree with the i2c-embedded tree

2012-07-17 Thread Shawn Guo
On Tue, Jul 17, 2012 at 04:20:01PM +0100, Mark Brown wrote: > Looking at what's specified in the platform data in the current kernel > it seems like there's a mixture of things in there that are board and > silicon specific. We've got parameters like the the speed mode and > timeout which are reas

Re: [PATCH v5 5/5] ARM: exynos: add thermal sensor driver platform data support

2012-07-17 Thread jonghwa3 . lee
Hi, Amit, On 2012년 07월 14일 16:30, amit kachhap wrote: > On Sat, Jul 14, 2012 at 7:03 AM, Kyungmin Park wrote: >> On Fri, Jul 13, 2012 at 8:10 PM, Amit Daniel Kachhap >> wrote: >>> Add necessary default platform data support needed for TMU driver. This >>> dt/non-dt values are tested for origen e

[Xen-devel] [PATCH -v2] xen: populate correct number of pages when across mem boundary

2012-07-17 Thread zhenzhong.duan
When populate pages across a mem boundary at bootup, the page count populated isn't correct. This is due to mem populated to non-mem region and ignored. Pfn range is also wrongly aligned when mem boundary isn't page aligned. -v2: If xen_do_chunk fail(populate), abort this chunk and any others. Su

Re: [PATCH 04/17] pda_power: remove IRQF_SAMPLE_RANDOM which is now a no-op

2012-07-17 Thread Anton Vorontsov
On Wed, Jul 18, 2012 at 12:18:20AM -0400, Theodore Ts'o wrote: > On Tue, Jul 17, 2012 at 09:00:09PM -0700, Anton Vorontsov wrote: > > On Tue, Jul 17, 2012 at 05:32:23PM -0400, Theodore Ts'o wrote: > > > With the changes in the random tree, IRQF_SAMPLE_RANDOM is now a > > > no-op; interrupt randomne

Re: [PATCH] Simplify the kobject_init function.

2012-07-17 Thread don
于 2012年07月18日 00:40, Greg KH 写道: On Thu, Jul 12, 2012 at 02:09:35PM +0800, Dong Hao wrote: The printk() function at the end of function kobject_init() already had '\n', so remove it. While the kobject has been initialized, assign error string and jump to error case directly. Signed-off-by: Don

Re: [RESEND PATCH 1/2] mfd: add irq domain support for max8997 interrupts

2012-07-17 Thread Greg KH
On Wed, Jul 18, 2012 at 10:48:04AM +0900, Chanwoo Choi wrote: > On 07/18/2012 01:34 AM, Greg KH wrote: > > > On Mon, Jul 02, 2012 at 09:02:55AM +0900, Chanwoo Choi wrote: > >> From: Thomas Abraham > >> > >> Add irq domain support for max8997 interrupts. The reverse mapping method > >> used is lin

Re: Deadlocks due to per-process plugging

2012-07-17 Thread Mike Galbraith
(adds rather important missing Cc) On Tue, 2012-07-17 at 15:10 +0200, Mike Galbraith wrote: > On Mon, 2012-07-16 at 12:19 +0200, Thomas Gleixner wrote: > > > > @@ -647,8 +648,11 @@ static inline void rt_spin_lock_fastlock > > > > > > if (likely(rt_mutex_cmpxchg(lock, NULL, current))) > > >

Re: [PATCH 08/17] uartlite: remove IRQF_SAMPLE_RANDOM which is now a no-op

2012-07-17 Thread Peter Korsgaard
> "Theodore" == Theodore Ts'o writes: Theodore> With the changes in the random tree, IRQF_SAMPLE_RANDOM is now a Theodore> no-op; interrupt randomness is now collected unconditionally in a very Theodore> low-overhead fashion; see commit 775f4b297b. The IRQF_SAMPLE_RANDOM Theodore> flag

Re: [Xen-devel] [PATCH-v2] xen: populate correct number of pages when across mem boundary

2012-07-17 Thread zhenzhong.duan
Sorry, pls ignore it. Tab still be translated to space. 于 2012-07-18 11:08, zhenzhong.duan 写道: From c40ea05842fec8f6caa053b2d58f54608ed0835f Mon Sep 17 00:00:00 2001 From: Zhenzhong Duan Date: Wed, 4 Jul 2012 14:08:10 +0800 Subject: [PATCH] xen: populate right count of pages when across mem bou

[RFT][PATCH v2 5/5] regulator: palmas: Convert palmas_ops_ldo to [get|set]_voltage_sel_regmap

2012-07-17 Thread Axel Lin
Signed-off-by: Axel Lin --- drivers/regulator/palmas-regulator.c | 45 -- 1 file changed, 5 insertions(+), 40 deletions(-) diff --git a/drivers/regulator/palmas-regulator.c b/drivers/regulator/palmas-regulator.c index 46c7e88..2ba7502 100644 --- a/drivers/regul

Re: [PATCH 01/36] atomic64_test: Simplify the #ifdef for atomic64_dec_if_positive() test

2012-07-17 Thread Benjamin Herrenschmidt
On Fri, 2012-07-06 at 22:05 +0100, Catalin Marinas wrote: > This patch introduces ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE and uses this > instead of the multitude of #if defined() checks in atomic64_test.c > > Signed-off-by: Will Deacon > Signed-off-by: Catalin Marinas I'll let other paint the bike s

[RFT][PATCH 4/5] regulator: palmas: Fix palmas_probe error handling

2012-07-17 Thread Axel Lin
Fix below error handling cases: 1. If reading PALMAS_SMPS_CTRL fails, simply returns ret rather than goto err_unregister_regulator because we have not call regulator_register(). 2. If palmas_ldo_init() fails, we need to call regulator_unregister() for the regulator we just successfully regis

[RFT][PATCH 3/5] regulator: palmas: Call palmas_ldo_[read|write] in palmas_ldo_init

2012-07-17 Thread Axel Lin
Current code uses wrong calls palmas_smps_[read|write] in palmas_ldo_init(), should be palmas_ldo_[read|write] instead. Signed-off-by: Axel Lin --- drivers/regulator/palmas-regulator.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/regulator/palmas-regulator.c

[RFT][PATCH 2/5] regulator: palmas: Fix regmap offsets for PALMAS_REG_SMPS10 vsel_reg

2012-07-17 Thread Axel Lin
Signed-off-by: Axel Lin --- drivers/regulator/palmas-regulator.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/regulator/palmas-regulator.c b/drivers/regulator/palmas-regulator.c index 0fcf355..9e3e7f3 100644 --- a/drivers/regulator/palmas-regulator.c +++ b/dr

[RFT][PATCH 1/5] regulator: palmas: Fix calculating selector in palmas_map_voltage_ldo

2012-07-17 Thread Axel Lin
This patch fixes below issues when choosing selector: 1. Current code returns negative selector if min_uV < 90 which is wrong. For example, it is possible to satisfy the request with selector = 1 if the requested min_uV is 85. 2. Current code may select a voltage lower than requested

Re: [PATCH RFT 2/2] regulator: palmas: Convert palmas_ops_ldo to [get|set]_voltage_sel_regmap

2012-07-17 Thread Axel Lin
於 三,2012-07-18 於 11:49 +0800,Axel Lin 提到: > Also remove palmas_ldo_write() function because it is not used after this > conversion. Oh. Just found another issue in current code. Current code in palmas_ldo_init() calls palmas_smps_[read|write] is wrong. It should call palmas_ldo_[read|write] instea

Re: [PATCH 04/17] pda_power: remove IRQF_SAMPLE_RANDOM which is now a no-op

2012-07-17 Thread Theodore Ts'o
On Tue, Jul 17, 2012 at 09:00:09PM -0700, Anton Vorontsov wrote: > On Tue, Jul 17, 2012 at 05:32:23PM -0400, Theodore Ts'o wrote: > > With the changes in the random tree, IRQF_SAMPLE_RANDOM is now a > > no-op; interrupt randomness is now collected unconditionally in a very > > low-overhead fashion;

Re: [PATCH 04/17] pda_power: remove IRQF_SAMPLE_RANDOM which is now a no-op

2012-07-17 Thread Anton Vorontsov
On Tue, Jul 17, 2012 at 05:32:23PM -0400, Theodore Ts'o wrote: > With the changes in the random tree, IRQF_SAMPLE_RANDOM is now a > no-op; interrupt randomness is now collected unconditionally in a very > low-overhead fashion; see commit 775f4b297b. The IRQF_SAMPLE_RANDOM > flag was scheduled to b

Re: [RFC 3/3] memory-hotplug: bug fix race between isolation and allocation

2012-07-17 Thread Minchan Kim
On Wed, Jul 18, 2012 at 11:12:27AM +0800, Bob Liu wrote: > On Wed, Jul 18, 2012 at 10:41 AM, Minchan Kim wrote: > > On Wed, Jul 18, 2012 at 10:12:57AM +0800, Bob Liu wrote: > >> On Wed, Jul 18, 2012 at 7:40 AM, Minchan Kim wrote: > >> > Hi Bob, > >> > > >> > On Tue, Jul 17, 2012 at 06:13:17PM +08

[PATCH RFT 2/2] regulator: palmas: Convert palmas_ops_ldo to [get|set]_voltage_sel_regmap

2012-07-17 Thread Axel Lin
Also remove palmas_ldo_write() function because it is not used after this conversion. Signed-off-by: Axel Lin --- drivers/regulator/palmas-regulator.c | 55 -- 1 file changed, 5 insertions(+), 50 deletions(-) diff --git a/drivers/regulator/palmas-regulator.c b

[PATCH] pstore/ftrace: Convert to its own enable/disable debugfs knob

2012-07-17 Thread Anton Vorontsov
With this patch we no longer reuse function tracer infrastructure, now we register our own tracer back-end via a debugfs knob. It's a bit more code, but that is the only downside. On the bright side we have: - Ability to make persistent_ram module removable (when needed, we can move ftrace_ops

[PATCH RFT 1/2] regulator: palmas: Fix regmap offsets for PALMAS_REG_SMPS10 vsel_reg

2012-07-17 Thread Axel Lin
Signed-off-by: Axel Lin --- drivers/regulator/palmas-regulator.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/regulator/palmas-regulator.c b/drivers/regulator/palmas-regulator.c index 0fcf355..9e3e7f3 100644 --- a/drivers/regulator/palmas-regulator.c +++ b/dr

[PATCH] regulator: palmas: Fix calculating selector in palmas_map_voltage_ldo

2012-07-17 Thread Axel Lin
This patch fixes below issues when choosing selector: 1. Current code returns negative selector if min_uV < 90 which is wrong. For example, it is possible to satisfy the request with selector = 1 if the requested min_uV is 85. 2. Current code may select a voltage lower than requested

Re: [PATCH 5/7 v2] dma: sh: use an integer slave ID to improve API compatibility

2012-07-17 Thread Vinod Koul
On Mon, 2012-07-16 at 14:47 +0200, Guennadi Liakhovetski wrote: > > > Yes, that's right - these values have to be written to DMAC channel > > > configuration registers, so, we do not have to change anything, those > > > values can remain DMAC parameters and be passed to it directly from > > > pl

Re: [RFC 3/3] memory-hotplug: bug fix race between isolation and allocation

2012-07-17 Thread Bob Liu
On Wed, Jul 18, 2012 at 10:41 AM, Minchan Kim wrote: > On Wed, Jul 18, 2012 at 10:12:57AM +0800, Bob Liu wrote: >> On Wed, Jul 18, 2012 at 7:40 AM, Minchan Kim wrote: >> > Hi Bob, >> > >> > On Tue, Jul 17, 2012 at 06:13:17PM +0800, Bob Liu wrote: >> >> Hi Minchan, >> >> >> >> On Tue, Jul 17, 2012

[PATCH] uprobe: fix misleading log entry

2012-07-17 Thread Jovi Zhang
>From 68232ef2decae95b807f2f3763e8ea99c1a3b2ae Mon Sep 17 00:00:00 2001 From: Jovi Zhang Date: Wed, 18 Jul 2012 17:51:26 +0800 Subject: [PATCH] uprobe: fix misleading log entry There don't have any 'r' prefix in uprobe event naming, remove it. Signed-off-by: Jovi Zhang --- kernel/trace/trace_u

[Xen-devel] [PATCH-v2] xen: populate correct number of pages when across mem boundary

2012-07-17 Thread zhenzhong.duan
From c40ea05842fec8f6caa053b2d58f54608ed0835f Mon Sep 17 00:00:00 2001 From: Zhenzhong Duan Date: Wed, 4 Jul 2012 14:08:10 +0800 Subject: [PATCH] xen: populate right count of pages when across mem boundary When populate pages across a mem boundary at bootup, the page count populated isn't correct

[PATCH] mm/memcg: wrap mem_cgroup_from_css function

2012-07-17 Thread Wanpeng Li
wrap mem_cgroup_from_css function to clarify get mem cgroup from cgroup_subsys_state. Signed-off-by: Wanpeng Li Cc: Michal Hocko Cc: Johannes Weiner Cc: KAMEZAWA Hiroyuki Cc: Andrew Morton Cc: Gavin Shan Cc: Wanpeng Li Cc: linux-kernel@vger.kernel.org --- mm/memcontrol.c | 14 ++-

[Xen-devel] [PATCH -v2] xen: populate correct number of pages when across mem boundary

2012-07-17 Thread zhenzhong.duan
When populate pages across a mem boundary at bootup, the page count populated isn't correct. This is due to mem populated to non-mem region and ignored. Pfn range is also wrongly aligned when mem boundary isn't page aligned. -v2: If xen_do_chunk fail(populate), abort this chunk and any others. S

Re: [PATCH v5 2/4] kvm: KVM_EOIFD, an eventfd for EOIs

2012-07-17 Thread Alex Williamson
On Wed, 2012-07-18 at 01:24 +0300, Michael S. Tsirkin wrote: > On Tue, Jul 17, 2012 at 04:09:25PM -0600, Alex Williamson wrote: > > On Wed, 2012-07-18 at 00:23 +0300, Michael S. Tsirkin wrote: > > > On Tue, Jul 17, 2012 at 02:03:05PM -0600, Alex Williamson wrote: > > > > On Tue, 2012-07-17 at 21:58

Re: uprobes: fix uprobe tracer wrong documentation

2012-07-17 Thread Rob Landley
On 07/16/2012 03:49 AM, Jovi Zhang wrote: > From e382d2d14b8177bcd2e6bac2fee004fd1f052cb5 Mon Sep 17 00:00:00 2001 > From: Jovi Zhang mailto:bookj...@gmail.com>> > Date: Tue, 17 Jul 2012 00:35:30 +0800 > Subject: [PATCH] uprobes: fix uprobe tracer wrong documentation > > The uprobe example is wron

Re: [RFC 3/3] memory-hotplug: bug fix race between isolation and allocation

2012-07-17 Thread Minchan Kim
On Wed, Jul 18, 2012 at 10:12:57AM +0800, Bob Liu wrote: > On Wed, Jul 18, 2012 at 7:40 AM, Minchan Kim wrote: > > Hi Bob, > > > > On Tue, Jul 17, 2012 at 06:13:17PM +0800, Bob Liu wrote: > >> Hi Minchan, > >> > >> On Tue, Jul 17, 2012 at 3:01 PM, Minchan Kim wrote: > >> > Like below, memory-hotp

Re: [PATCH 00/36] AArch64 Linux kernel port

2012-07-17 Thread Jon Masters
On 07/17/2012 05:50 AM, Alan Cox wrote: >> Right, I would say that with any CPU core more powerful than this one >> or with more than a few of these, you will also have trouble coming >> up with workloads that really require the CPU performance but don't >> also require a 64 bit virtual address spa

Re: uprobe: checking probe event include directory

2012-07-17 Thread Jovi Zhang
On Wed, Jul 18, 2012 at 1:27 AM, Srikar Dronamraju wrote: > * Frederic Weisbecker [2012-07-17 12:59:39]: > >> On Tue, Jul 17, 2012 at 06:12:28PM +0800, Jovi Zhang wrote: >> > From 16ed13ee9098ae01705e8456005d1ad6d9909128 Mon Sep 17 00:00:00 2001 >> > From: Jovi Zhang >> > Date: Wed, 18 Jul 2012

Re: [PATCH 00/36] AArch64 Linux kernel port

2012-07-17 Thread Jon Masters
On 07/17/2012 06:35 PM, Joe Perches wrote: > On Tue, 2012-07-17 at 23:18 +0100, Catalin Marinas wrote: > >> The uname will still report >> "aarch64" to match the compiler triplet and also avoid confusion of >> existing 32-bit ARM scripts that simply check for "arm*" in the machine >> name. > > Th

Re: [PATCH RFC V4 3/3] kvm: Choose better candidate for directed yield

2012-07-17 Thread Raghavendra K T
On 07/17/2012 02:39 PM, Raghavendra K T wrote: [...] But if vcpu A is spinning for x% of its time and processing on the other, then vcpu B will flip its dy_eligible for those x%, and not flip it when it's processing. I don't understand how this is useful. Suppose A is doing really good job an

Re: [PATCH 1/2] [trivial] tools: perf: Fix typo in tools/perf

2012-07-17 Thread Namhyung Kim
Hi, Masanari On Wed, 18 Jul 2012 01:20:59 +0900, Masanari Iida wrote: > Correct spelling typo in tools/perf. > > Signed-off-by: Masanari iida > --- > tools/perf/util/callchain.h | 2 +- > tools/perf/util/parse-events-test.c | 2 +- > tools/perf/util/python-ext-sources | 2 +- > 3 files

Re: [PATCH 3.5 2/2] seccomp: Future-proof against silly tracers

2012-07-17 Thread Will Drewry
On Tue, Jul 17, 2012 at 6:19 PM, Andy Lutomirski wrote: > Currently, if a tracer changes a syscall nr to __NR_future_enosys, > behavior will differ between kernels that know about > __NR_future_enosys (and return -ENOSYS) and older kernels (which > return the value from pt_regs). This is silly; w

Re: [RFC 3/3] memory-hotplug: bug fix race between isolation and allocation

2012-07-17 Thread Bob Liu
On Wed, Jul 18, 2012 at 7:40 AM, Minchan Kim wrote: > Hi Bob, > > On Tue, Jul 17, 2012 at 06:13:17PM +0800, Bob Liu wrote: >> Hi Minchan, >> >> On Tue, Jul 17, 2012 at 3:01 PM, Minchan Kim wrote: >> > Like below, memory-hotplug makes race between page-isolation >> > and page-allocation so it can

Re: [PATCH 3.5 0/2] seccomp and vsyscall fixes

2012-07-17 Thread Will Drewry
On Tue, Jul 17, 2012 at 6:19 PM, Andy Lutomirski wrote: > Apologies for the lateness of this stuff. I was at a conference last > week when the Chrome issue was discovered and I couldn't do this > properly until I got back. > > Will, can you confirm that this version is okay and passes your tests?

Re: [PATCH RESEND 0/5] Add vhost-blk support

2012-07-17 Thread Asias He
On 07/17/2012 11:09 PM, Michael S. Tsirkin wrote: On Fri, Jul 13, 2012 at 04:55:06PM +0800, Asias He wrote: Hi folks, [I am resending to fix the broken thread in the previous one.] This patchset adds vhost-blk support. vhost-blk is a in kernel virito-blk device accelerator. Compared to usersp

Re: [RFC/PATCH] Use kernel supplied MMU info for kvm tool

2012-07-17 Thread Michael Ellerman
On Tue, 2012-07-17 at 17:09 +0300, Pekka Enberg wrote: > On Tue, Jul 17, 2012 at 12:33 PM, Matt Evans wrote: > > Just had a look, all good. Thanks for tidying some old FIXMEs, especially > > the page/segment DT props encoding grot -- and the designated inits in the > > cpuinfo struct, whew, I hea

[PATCH RT 1/5] cpu/rt: Rework cpu down for PREEMPT_RT

2012-07-17 Thread Steven Rostedt
From: Steven Rostedt Bringing a CPU down is a pain with the PREEMPT_RT kernel because tasks can be preempted in many more places than in non-RT. In order to handle per_cpu variables, tasks may be pinned to a CPU for a while, and even sleep. But these tasks need to be off the CPU if that CPU is go

[PATCH RT 4/5] workqueue: Revert workqueue: Fix cpuhotplug trainwreck

2012-07-17 Thread Steven Rostedt
From: Steven Rostedt Revert Author: Peter Zijlstra Date: Fri Sep 30 11:57:58 2011 +0200 workqueue: Fix cpuhotplug trainwreck As TREAD_BOUND no longer affects cpu down, and this code introduced a lot of races with taking down a CPU. Signed-off-by: Steven Rostedt Signed-off-by: T

[PATCH RT 5/5] Linux 3.2.23-rt37-rc1

2012-07-17 Thread Steven Rostedt
From: Steven Rostedt --- localversion-rt |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localversion-rt b/localversion-rt index 2294034..5e05b14 100644 --- a/localversion-rt +++ b/localversion-rt @@ -1 +1 @@ --rt36 +-rt37-rc1 -- 1.7.10.4 -- To unsubscribe from this lis

[PATCH RT 2/5] cpu/rt: Fix cpu_hotplug variable initialization

2012-07-17 Thread Steven Rostedt
From: Steven Rostedt The commit "cpu/rt: Rework cpu down for PREEMPT_RT" changed the double meaning of the cpu_hotplug.lock, where it was a spinlock for RT and a mutex for non-RT, to just a mutex for both. But the initialization of the variable was not updated to reflect this change. Cc: stable

[PATCH RT 3/5] workqueue: Revert workqueue: Fix PF_THREAD_BOUND abuse

2012-07-17 Thread Steven Rostedt
From: Steven Rostedt Revert commit Author: Peter Zijlstra Date: Mon Oct 3 12:43:25 2011 +0200 workqueue: Fix PF_THREAD_BOUND abuse As TREAD_BOUND no longer affects cpu down, and this code introduced a lot of races with taking down a CPU. Signed-off-by: Steven Rostedt Signed-off

[PATCH RT 0/5] [ANNOUNCE] 3.2.23-rt37-rc1 stable review

2012-07-17 Thread Steven Rostedt
Dear RT Folks, This is the RT stable review cycle of patch 3.2.23-rt37-rc1. Please scream at me if I messed something up. Please test the patches too. The -rc release will be uploaded to kernel.org and will be deleted when the final release is out. This is just a review release (or release cand

Re: [RFC/PATCH] Use kernel supplied MMU info for kvm tool

2012-07-17 Thread Michael Ellerman
On Tue, 2012-07-17 at 10:33 +0100, Matt Evans wrote: > Hi Michael, > > On 2012-07-17 06:00, Michael Ellerman wrote: > > > This is a series for kvmtool that uses a newish kernel API to get > > MMU info, which is then fed to the guest. > > > > Currently we just make a good guess based on the PVR, b

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

2012-07-17 Thread Wen Congyang
At 07/06/2012 07:05 PM, Jan Kiszka Wrote: > On 2012-07-06 11:41, Wen Congyang wrote: >> If the target is x86/x86_64, the guest's kernel will write 0x01 to the >> port KVM_PV_PORT when it is panciked. This patch introduces a new qom >> device kvm_pv_ioport to listen this I/O port, and deal with pani

Re: [RESEND PATCH 1/2] mfd: add irq domain support for max8997 interrupts

2012-07-17 Thread Chanwoo Choi
On 07/18/2012 01:34 AM, Greg KH wrote: > On Mon, Jul 02, 2012 at 09:02:55AM +0900, Chanwoo Choi wrote: >> From: Thomas Abraham >> >> Add irq domain support for max8997 interrupts. The reverse mapping method >> used is linear mapping since the sub-drivers of max8997 such as regulator >> and charge

Re: [PATCH RESEND 5/5] vhost-blk: Add vhost-blk support

2012-07-17 Thread Asias He
On 07/18/2012 03:10 AM, Jeff Moyer wrote: Asias He writes: vhost-blk is a in kernel virito-blk device accelerator. This patch is based on Liu Yuan's implementation with various improvements and bug fixes. Notably, this patch makes guest notify and host completion processing in parallel which

Re: [PATCH] staging/et131x: fix checkpatch warnings

2012-07-17 Thread Joe Perches
On Wed, 2012-07-18 at 10:02 +0900, Toshiaki Yamane wrote: > Signed-off-by: Toshiaki Yamane Hello. Just some trivial notes: > diff --git a/drivers/staging/et131x/et131x.c b/drivers/staging/et131x/et131x.c [] > @@ -2553,8 +2555,8 @@ static int et131x_rx_dma_memory_alloc(struct > et131x_adapter *

[PATCH] staging/cptm1217: fix checkpatch warnings

2012-07-17 Thread Toshiaki Yamane
The below checkpatch error was fixed, drivers/staging/cptm1217/cp_tm1217.h:5: ERROR: open brace '{' following struct go on the same line Signed-off-by: Toshiaki Yamane --- drivers/staging/cptm1217/cp_tm1217.h |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/st

[ANNOUNCE] 3.2.23-rt36

2012-07-17 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.2.23-rt36 stable release. This release is just an update to the new stable 3.2.23 version and no RT specific changes have been made. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.g

  1   2   3   4   5   6   7   >