[PATCH v2 2/3] ARM: OMAP4: add _dev_attr_ to ocp2scp for representing usb_phy

2012-10-08 Thread Kishon Vijay Abraham I
In order to reflect devices(usb_phy) attached to ocp2scp bus, ocp2scp is assigned a device attribute to represent the attached devices. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com Cc: Benoit Cousson b-cous...@ti.com --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 28

[PATCH v2 3/3] ARM: OMAP: ocp2scp: create omap device for ocp2scp

2012-10-08 Thread Kishon Vijay Abraham I
Platfrom device for ocp2scp is created using omap_device_build in devices file. This is used for both omap4(musb) and omap5(dwc3). Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/mach-omap2/devices.c | 76 + 1 file changed, 76

[PATCH v2 0/3] ocp2scp: add non-dt support

2012-10-08 Thread Kishon Vijay Abraham I
This patch series allows ocp2scp driver to create its child devices from the platform data. In omap platforms, usb phy is connected to ocp2scp and usb phy is needed for MUSB to be functional. When ocp2scp driver was added, it had only dt support which means it wont create usb phy devices for

[PATCH v2 1/3] drivers: bus: ocp2scp: add pdata support

2012-10-08 Thread Kishon Vijay Abraham I
ocp2scp was not having pdata support which makes *musb* fail for non-dt boot in OMAP platform. The pdata will have information about the devices that is connected to ocp2scp. ocp2scp driver will now make use of this information to create the devices that is attached to ocp2scp. Signed-off-by:

Re: [PATCH v3]mconf: Add Save button

2012-10-08 Thread Borislav Petkov
On Mon, Oct 08, 2012 at 01:05:14PM +0800, Wang YanQing wrote: mconf make me annoying I have to make menuconfig exit to save the config when I am tuning .config time by time, it is even worse I have to search down to my desire submenu time by time. Well, there are a bunch of patches from

Re: [REGRESSION] cgroup: notify_on_release may not be triggered in some cases

2012-10-08 Thread Li Zefan
On 2012/10/4 15:37, Daisuke Nishimura wrote: notify_on_release must be triggered when the last process in a cgroup is move to another. But if the first(and only) process in a cgroup is moved to another, notify_on_release is not triggered. # mkdir /cgroup/cpu/SRC # mkdir

Re: [PATCH 6/6] gpio: gpio-da9052: Convert to the new da9052 interrupt functions

2012-10-08 Thread Linus Walleij
On Thu, Oct 4, 2012 at 5:15 AM, Fabio Estevam feste...@gmail.com wrote: From: Fabio Estevam fabio.este...@freescale.com Convert to the new da9052 interrupt functions, so that we can get rid of irq_base references. Cc: Grant Likely grant.lik...@secretlab.ca Cc: Linus Walleij

Re: [PATCH 0/3] Volatile Ranges (v7) Lots of words

2012-10-08 Thread Minchan Kim
Hi John, On Fri, Sep 28, 2012 at 11:16:30PM -0400, John Stultz wrote: After Kernel Summit and Plumbers, I wanted to consider all the various side-discussions and try to summarize my current thoughts here along with sending out my current implementation for review. Also: I'm going on four

Re: [PATCH] pppoatm: don't send frames to destroyed vcc

2012-10-08 Thread Krzysztof Mazur
On Sat, Oct 06, 2012 at 05:38:04PM +0200, Krzysztof Mazur wrote: On Sat, Oct 06, 2012 at 02:32:50PM +0100, David Woodhouse wrote: On Sat, 2012-10-06 at 14:19 +0200, Krzysztof Mazur wrote: Now pppoatm_send(), like vcc_sendmsg(), checks for vcc flags that indicate that vcc is not ready.

Re: [PATCH] gpio: add TS-5500 DIO headers support

2012-10-08 Thread Linus Walleij
On Fri, Oct 5, 2012 at 1:18 AM, Vivien Didelot vivien.dide...@gmail.com wrote: Grant, Linus, any feedback? On the entire driver or on the config fragment? The latter looks OK, I'll look at the driver per se now. (I was busy with the merge window you know...) Yours, Linus Walleij -- To

Re: [PATCH 4/5] mfd: tps65090: move register access APIs to header

2012-10-08 Thread Laxman Dewangan
On Monday 08 October 2012 11:07 AM, Venu Byravarasu wrote: -Original Message- From: Laxman Dewangan Sent: Sunday, October 07, 2012 8:52 PM To: sa...@linux.intel.com Cc: linux-kernel@vger.kernel.org; Venu Byravarasu; Laxman Dewangan Subject: [PATCH 4/5] mfd: tps65090: move register access

Re: [PATCH 3/5] mfd: tps65090: remove unused member of struct tps65090

2012-10-08 Thread Laxman Dewangan
On Monday 08 October 2012 11:10 AM, Venu Byravarasu wrote: -Original Message- From: Laxman Dewangan Sent: Sunday, October 07, 2012 8:52 PM To: sa...@linux.intel.com Cc: linux-kernel@vger.kernel.org; Venu Byravarasu; Laxman Dewangan Subject: [PATCH 3/5] mfd: tps65090: remove unused member

Re: [PATCH 5/5] regulator: tps65090: add external control support for DCDC

2012-10-08 Thread Laxman Dewangan
On Monday 08 October 2012 11:15 AM, Venu Byravarasu wrote: -Original Message- From: Laxman Dewangan Sent: Saturday, October 06, 2012 8:48 PM To: broo...@opensource.wolfsonmicro.com; l...@ti.com; sa...@linux.intel.com Cc: Venu Byravarasu; axel@gmail.com; linux-kernel@vger.kernel.org;

Re: [PATCH 0/2] ARM: Exynos4: Migrate to common clock framework.

2012-10-08 Thread Thomas Abraham
Hi Tomasz, Thanks for reviewing this patch series. On 3 October 2012 16:26, Tomasz Figa t.f...@samsung.com wrote: Hi Chander, Thomas, On Monday 01 of October 2012 17:39:19 chander.kash...@linaro.org wrote: From: Thomas Abraham thomas.abra...@linaro.org This patch series migrates Exynos4

Re: [PATCH 1/5] regulator: tps65090: rename driver name and regulator name

2012-10-08 Thread Laxman Dewangan
On Monday 08 October 2012 11:23 AM, Venu Byravarasu wrote: -Original Message- From: Laxman Dewangan Sent: Saturday, October 06, 2012 8:48 PM static struct platform_driver tps65090_regulator_driver = { .driver = { - .name = tps65090-regulator, +

Re: [PATCH 2/2] ARM: Exynos4: Register clocks via common clock framework

2012-10-08 Thread Thomas Abraham
Hi Tomasz, On 3 October 2012 17:25, Tomasz Figa t.f...@samsung.com wrote: Hi Chander, Thomas, I think this patch could be split into several smaller, while retaining logical integrity of particular patches, e.g.: - the change introduced to __clk_init (with proper description and rationale

Re: [PATCH 2/2] ARM: Exynos4: Register clocks via common clock framework

2012-10-08 Thread Thomas Abraham
Hi Tomasz, On 3 October 2012 19:40, Tomasz Figa t.f...@samsung.com wrote: Hi Chander, Thomas, I can see one more problem here. Based on the fact that sdhci-s3c driver receives only the endpoint gate clock (hsmmc), doesn't the following setup make the driver unable to change the frequency

Re: [PATCH 2/2] ARM: Exynos4: Register clocks via common clock framework

2012-10-08 Thread Thomas Abraham
Hi Sylwester, Thanks for reviewing this patch series. On 6 October 2012 00:21, Sylwester Nawrocki sylvester.nawro...@gmail.com wrote: Hello, On 10/01/2012 02:09 PM, chander.kash...@linaro.org wrote: From: Thomas Abrahamthomas.abra...@linaro.org Register clocks for Exynos4 platfotms using

Re: [PATCH 04/13] x86, mm: Revert back good_end setting for 64bit

2012-10-08 Thread Yinghai Lu
On Fri, Oct 5, 2012 at 7:58 AM, Yinghai Lu ying...@kernel.org wrote: On Fri, Oct 5, 2012 at 4:27 AM, Stefano Stabellini stefano.stabell...@eu.citrix.com wrote: On Fri, 5 Oct 2012, Yinghai Lu wrote: On Thu, Oct 4, 2012 at 2:54 PM, H. Peter Anvin h...@zytor.com wrote: See my other post.

Re: [PATCH 2/5] mfd: tps65090: add error prints when mem alloc failed

2012-10-08 Thread Laxman Dewangan
On Sunday 07 October 2012 09:43 PM, Joe Perches wrote: On Sun, 2012-10-07 at 20:52 +0530, Laxman Dewangan wrote: Add error prints when memory allocation failed for tps65090 data. Also cleanups the melloc arguments. The new dev_err is unnecessary. A dump_stack is already done on alloc failures.

linux-next: Tree for Oct 8

2012-10-08 Thread Stephen Rothwell
Hi all, Do not add stuff destined for v3.8 to your linux-next included branches until after v3.7-rc1 is released. Changes since 201201005: New tree: asm-generic Conflicts are migrating as trees are merged by Linus. The ia64 tree gained a conflict against the asm-generic tree. The acpi tree

Re: [PATCH 2/4] acpi,memory-hotplug : rename remove_memory() to offline_memory()

2012-10-08 Thread Wen Congyang
At 10/05/2012 05:31 AM, KOSAKI Motohiro Wrote: On Wed, Oct 3, 2012 at 6:02 AM, Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com wrote: From: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com add_memory() hot adds a physical memory. But remove_memory does not hot remove a phsical memory. It

Re: [PATCH 4/4] acpi,memory-hotplug : store the node id in acpi_memory_device

2012-10-08 Thread Wen Congyang
At 10/06/2012 02:56 AM, KOSAKI Motohiro Wrote: On Wed, Oct 3, 2012 at 6:11 AM, Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com wrote: From: Wen Congyang we...@cn.fujitsu.com The memory device has only one node id. Store the node id when enable the memory device, and we can reuse it when

Re: [PATCH 1/3] x86, mm: Include the entire kernel memory map in trampoline_pgd

2012-10-08 Thread Jan Beulich
H. Peter Anvin h...@zytor.com 10/07/12 12:27 PM Actually, no, because we may need to double-map in the low address space per discussion at LPC. Now this I don't follow (due to lack of context), but it would of course be relevant for determining the need eventual further adjustments to the

[PATCH 0/8] perf tools: fixes for Android

2012-10-08 Thread Irina Tirdea
From: Irina Tirdea irina.tir...@intel.com Hi, I have gathered in this set all remaining patches with Android fixes. Starting from Bernhard's patch [1], I added 2 patches (patch 1 and 2) that include on_exit implementation and Android support in the Makefile. I have also added some documentation

[PATCH 1/8] perf tools: add on_exit implementation

2012-10-08 Thread Irina Tirdea
From: Bernhard Rosenkraenzer bernhard.rosenkran...@linaro.org on_exit() is only available in new versions of glibc. It is not implemented in Bionic and will lead to linking errors when compiling for Android. Implement a wrapper for on_exit using atexit. The implementation for on_exit is the one

[PATCH 2/8] perf tools: update Makefile for Android

2012-10-08 Thread Irina Tirdea
From: Irina Tirdea irina.tir...@intel.com For cross-compiling on Android, some specific changes are needed in the Makefile. Update the Makefile to support cross-compiling for Android. The original ideea for this was send by Bernhard Rosenkraenzer in https://lkml.org/lkml/2012/8/23/316, but this

[PATCH 3/8] Documentation: add documentation on compiling for Android

2012-10-08 Thread Irina Tirdea
From: Irina Tirdea irina.tir...@intel.com Add documentation for cross-compiling on Android including: () instructions on how to set the Android NDK environment () how to cross-compile perf for Android () how to install on an Android device/emulator, set the runtime environment and run it

[PATCH v3 5/8] perf tools: configure shell path at compile time

2012-10-08 Thread Irina Tirdea
From: Irina Tirdea irina.tir...@intel.com Shell path /bin/sh is hardcoded in various places in perf. Android has a different folder structure and does not have /bin/sh. Set the shell path at compile time in the Makefile by setting PERF_SHELL_PATH. By default it is set to /bin/sh. Signed-off-by:

[PATCH v3 6/8] perf tools: Try to find cross-built objdump path

2012-10-08 Thread Irina Tirdea
From: Namhyung Kim namhyung@lge.com As we have architecture information of saved perf.data file, we can try to find cross-built objdump path. The triplets include support for Android (arm, x86 and mips architectures). Signed-off-by: Namhyung Kim namhy...@kernel.org Signed-off-by: Irina

[PATCH v3 8/8] perf stat: implement --big-num grouping

2012-10-08 Thread Irina Tirdea
From: Irina Tirdea irina.tir...@intel.com In glibc, printf supports ' to group numbers with thousands' grouping characters. Bionic does not support ' for printf. Implement thousands's grouping for numbers according to locale. The implementation uses the algorithm from glibc

[PATCH v3 7/8] perf tools: configure addr2line for cross-compiling

2012-10-08 Thread Irina Tirdea
From: Irina Tirdea irina.tir...@intel.com When analyzing data recorded on a target with a different architecture than the host, we must use addr2line from the toolchain for that architecture. Add a command line option to set addr2line at runtime. As we have architecture information of saved

[PATCH v3 4/8] perf tools: configure tmp path at build time

2012-10-08 Thread Irina Tirdea
From: Irina Tirdea irina.tir...@intel.com Temporary perf files are hardcoded to point to /tmp. Android does not have a /tmp directory so it needs to set this path at compile time. Add a compile-time definition (PERF_TMP_DIR) in the Makefile that sets the path to temp directory. By default it

Re: [PATCH] mm: compaction: Iron out isolate_freepages_block() and isolate_freepages_range() -fix2

2012-10-08 Thread Minchan Kim
On Fri, Oct 05, 2012 at 10:59:45AM +0100, Mel Gorman wrote: Thierry reported offline that the strict check mm: compaction: Iron out isolate_freepages_block() and isolate_freepages_range() -fix1 check is still too strict because it's possible for more pages to be isolated than required. This

Re: [PATCH] mm: compaction: Iron out isolate_freepages_block() and isolate_freepages_range() -fix1

2012-10-08 Thread Minchan Kim
On Thu, Oct 04, 2012 at 03:00:17PM +0100, Mel Gorman wrote: The following patch is still missing from linux-next/akpm so am resending in case it got lost in the mess. CMA is reported to be broken in next-20120926. Minchan Kim pointed out that this was due to nr_scanned != total_isolated in

Re: [PATCH 1/4] acpi,memory-hotplug : add memory offline code to acpi_memory_device_remove()

2012-10-08 Thread Wen Congyang
At 10/05/2012 04:53 AM, KOSAKI Motohiro Wrote: On Wed, Oct 3, 2012 at 5:58 AM, Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com wrote: From: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com The memory device can be removed by 2 ways: 1. send eject request by SCI 2. echo 1

Re: [PATCH] usb: gadget: ncm: correct endianess conversion

2012-10-08 Thread Felipe Balbi
On Fri, Oct 05, 2012 at 01:58:21AM +0300, Dmytro Milinevskyy wrote: Signed-off-by: Dmytro Milinevskyy milinevs...@gmail.com missing commit log. NAK. Just resend with a proper commit log and I can apply. -- balbi signature.asc Description: Digital signature

CPU utilization between physical CPU and virtual CPU in KVM

2012-10-08 Thread Dennis Chen
Hi All, I am confused by the following observed scenario: In my 4-CPU (KVM supported, 2 core with 2 thread for each) host machine box, I create only one VM with 3-vCPU through virsh/libvirt tools and also I pin this VM process to the physical processor 3. I guess the CPU utilization for the

RE: [tpmdd-devel] [PATCH] TPM: Issue TPM_STARTUP at driver load if the TPM has not been started

2012-10-08 Thread Peter.Huewe
Hi Kent, Peter, you mentioned you have some embedded setups, would you be able to test? I could probably test it on the beagleboard c4 with our Infineon SLB9635 TT1.2 I2C TPM, but I'm currently not sure if I have the suspend/resume thing currently running correctly. Apart from that I also

re: block: Add driver for Micron RealSSD pcie flash cards

2012-10-08 Thread Dan Carpenter
Hello Sam Bradshaw, The patch 88523a61558a: block: Add driver for Micron RealSSD pcie flash cards from Aug 30, 2011, creates an endian bug: drivers/block/mtip32xx/mtip32xx.c:2468 mtip_hw_submit_io() drivers/block/mtip32xx/mtip32xx.c 2465 fis-opts= 1 7; 2466

Re: [PATCH v3]mconf: Add Save button

2012-10-08 Thread Wang YanQing
On Mon, Oct 08, 2012 at 08:03:40AM +0200, Borislav Petkov wrote: Well, there are a bunch of patches from Benjamin Poirier adding the possibility to jump to search results and you could use them to go to your desired submenu. First there are two ways to save the .config in menuconfig 1:Exit

[PATCH] [RESEND] qla2xxx: fix potential deadlock on ha-hardware_lock

2012-10-08 Thread Jiri Kosina
Lockdep reports: === [ cut here ] === = [ INFO: possible irq lock inversion dependency detected ] 3.6.0-0.0.0.28.36b5ec9-default #1 Not tainted - qla2xxx_1_dpc/368 just changed the

[PATCH] [RESEND] mm, slab: release slab_mutex earlier in kmem_cache_destroy()

2012-10-08 Thread Jiri Kosina
Commit 1331e7a1bbe1 (rcu: Remove _rcu_barrier() dependency on __stop_machine()) introduced slab_mutex - cpu_hotplug.lock dependency through kmem_cache_destroy() - rcu_barrier() - _rcu_barrier() - get_online_cpus(). Lockdep thinks that this might actually result in ABBA deadlock, and reports it

Re: [PATCH 2/2] ARM: Exynos4: Register clocks via common clock framework

2012-10-08 Thread Tomasz Figa
On Monday 08 of October 2012 12:04:18 Thomas Abraham wrote: Hi Tomasz, On 3 October 2012 19:40, Tomasz Figa t.f...@samsung.com wrote: Hi Chander, Thomas, I can see one more problem here. Based on the fact that sdhci-s3c driver receives only the endpoint gate clock (hsmmc),

Re: [PATCH 04/10] of/i2c: Add support for I2C_CLIENT_WAKE when booting with Device Tree

2012-10-08 Thread Lee Jones
On Fri, 05 Oct 2012, Rob Herring wrote: On 10/05/2012 10:31 AM, Lee Jones wrote: It's important for wakeup sources such as keyboards, power buttons and the like to identify themselves as wakeup devices. Until now this has not been possible when platforms are booting via Device Tree. A

Re: Sound got mute in kernel 3.5.4 (Fast Track Pro USB Sound Card), found commit that causes it - how to proceed?

2012-10-08 Thread Takashi Iwai
At Sat, 06 Oct 2012 18:23:57 +0200, Andrzej Giniewicz wrote: On 28.09.2012 15:00, Dan Carpenter wrote: I've filed a bugzilla entry for this. Shouldn't be hard to fix now that you've bisected it, thanks for that. https://bugzilla.kernel.org/show_bug.cgi?id=48051 in 3.5.5 USB

Re: [PATCH 13/13] drivers/media/tuners/e4000.c: use macros for i2c_msg initialization

2012-10-08 Thread Antti Palosaari
On 10/08/2012 05:11 AM, Ryan Mallon wrote: On 08/10/12 12:56, Mauro Carvalho Chehab wrote: Em Sun, 07 Oct 2012 14:51:58 -0700 Joe Perches j...@perches.com escreveu: On Sun, 2012-10-07 at 23:43 +0200, Julia Lawall wrote: On Sun, 7 Oct 2012, Joe Perches wrote: Are READ and WRITE the action

Re: [PATCH] ALSA: hda - Add inverted internal mic quirk for Lenovo IdeaPad U310

2012-10-08 Thread Takashi Iwai
At Wed, 26 Sep 2012 01:20:44 +0200, Felix Kaechele wrote: The Lenovo IdeaPad U310 has an internal mic where the right channel is phase inverted. Signed-off-by: Felix Kaechele fe...@fetzig.org Applied (with Cc to stable) to sound git tree. thanks, Takashi ---

Re: CMA broken in next-20120926

2012-10-08 Thread Minchan Kim
Hi Mel, On Tue, Oct 02, 2012 at 04:12:17PM +0100, Mel Gorman wrote: On Tue, Oct 02, 2012 at 05:03:07PM +0200, Thierry Reding wrote: On Tue, Oct 02, 2012 at 03:41:35PM +0100, Mel Gorman wrote: On Tue, Oct 02, 2012 at 02:48:14PM +0200, Thierry Reding wrote: So this really isn't all that

[PATCH 3/7] PM / QoS: Prepare struct dev_pm_qos_request for more request types

2012-10-08 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com The subsequent patches will use struct dev_pm_qos_request for representing both latency requests and flags requests. To make that easier, put the node member of struct dev_pm_qos_request (under the name pnode) into a union called data that will

[PATCH 0/7] PM / QoS: Support for PM QoS device flags

2012-10-08 Thread Rafael J. Wysocki
Hi All, On Friday 28 of September 2012 23:51:10 Rafael J. Wysocki wrote: The following patch series extends the existing device PM QoS core code to support PM QoS flags representing binary (on/off) requirements, such as whether or not power may be removed entirely from the device or whether

[PATCH 1/7] PM / QoS: Prepare device structure for adding more constraint types

2012-10-08 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com Currently struct dev_pm_info contains only one PM QoS constraints pointer reserved for latency requirements. Since one more device constraints type (i.e. flags) will be necessary, introduce a new structure, struct dev_pm_qos, that eventually

[PATCH 2/7] PM / QoS: Introduce request and constraint data types for PM QoS flags

2012-10-08 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com Introduce struct pm_qos_flags_request and struct pm_qos_flags representing PM QoS flags request type and PM QoS flags constraint type, respectively. With these definitions the data structures will be arranged so that the list member of a struct

[PATCH 7/7] PM / ACPI: Take device PM QoS flags into account

2012-10-08 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com Make ACPI power management routines and PCI power management routines depending on ACPI take device PM QoS flags into account when deciding what power state to put the device into. In particular, after this change acpi_pm_device_sleep_state()

[PATCH 6/7] PM / Domains: Check device PM QoS flags in pm_genpd_poweroff()

2012-10-08 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com Make the generic PM domains pm_genpd_poweroff() function take device PM QoS flags into account when deciding whether or not to remove power from the domain. After this change the routine will return -EBUSY without executing the domain's

Re: [PATCH] [RESEND] qla2xxx: fix potential deadlock on ha-hardware_lock

2012-10-08 Thread Srivatsa S. Bhat
On 10/08/2012 12:53 PM, Jiri Kosina wrote: Lockdep reports: === [ cut here ] === = [ INFO: possible irq lock inversion dependency detected ] 3.6.0-0.0.0.28.36b5ec9-default #1 Not tainted

[PATCH 4/7] PM / QoS: Introduce PM QoS device flags support

2012-10-08 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com Modify the device PM QoS core code to support PM QoS flags requests. First, add a new field of type struct pm_qos_flags called flags to struct dev_pm_qos for representing the list of PM QoS flags requests for the given device. Accordingly, add

[PATCH 5/7] PM / QoS: Make it possible to expose PM QoS device flags to user space

2012-10-08 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com Define two device PM QoS flags, PM_QOS_FLAG_NO_POWER_OFF and PM_QOS_FLAG_REMOTE_WAKEUP, and introduce routines dev_pm_qos_expose_flags() and dev_pm_qos_hide_flags() allowing the caller to expose those two flags to user space or to hide them from

[REGRESSION][PATCH] ACPI idle, CPU hotplug: Fix NULL pointer dereference during hotplug

2012-10-08 Thread Srivatsa S. Bhat
On a KVM guest, when a CPU is taken offline and brought back online, we hit the following NULL pointer dereference: [ 45.400843] Unregister pv shared memory for cpu 1 [ 45.412331] smpboot: CPU 1 is now offline [ 45.529894] SMP alternatives: lockdep: fixing up alternatives [ 45.533472]

Re: [PATCH v4 1/3] devfreq: Core updates to support devices which can idle

2012-10-08 Thread MyungJoo Ham
Prepare devfreq core framework to support devices which can idle. When device idleness is detected perhaps through runtime-pm, need some mechanism to suspend devfreq load monitoring and resume back when device is online. Present code continues monitoring unless device is removed from devfreq

Re: [PATCH v2] Convert properly UTF-8 to UTF-16

2012-10-08 Thread Frediano Ziglio
On Wed, 2012-10-03 at 14:49 -0500, Steve French wrote: Merged - but doesn't the reverse also have to be added in cifs_from_utf16? ie utf16s_to_utf8s(uni, ... ); Not strictly necessary, at least to be able to mount shares. I am glad that someone added these multiword handling

Re: [alsa-devel] [PATCH V7 12/15] ALSA: HDA: Make hda sound card usable for Loongson

2012-10-08 Thread Takashi Iwai
At Fri, 5 Oct 2012 21:25:09 +0800, Huacai Chen wrote: Lemote A1004(Laptop) and A1205(All-In-One) use Conexant's hda codec, this patch modify patch_conexant.c to add Lemote specific code. Both A1004 and A1205 use the same pin configurations, but A1004 need to increase the default boost of

RE: [PATCH 00/16] f2fs: introduce flash-friendly file system

2012-10-08 Thread Jaegeuk Kim
-Original Message- From: Vyacheslav Dubeyko [mailto:sl...@dubeyko.com] Sent: Sunday, October 07, 2012 9:09 PM To: Jaegeuk Kim Cc: 'Marco Stornelli'; 'Jaegeuk Kim'; 'Al Viro'; ty...@mit.edu; gre...@linuxfoundation.org; linux- ker...@vger.kernel.org; chur@samsung.com;

Re: [PATCH v3]mconf: Add Save button

2012-10-08 Thread Borislav Petkov
On Mon, Oct 08, 2012 at 03:22:49PM +0800, Wang YanQing wrote: With one terminal, I can do: 1: make menuconfig 2: ajust and use Save button to save .config 3: use CRTL-Z(konsole) to menuconfig run in background 3: make test kernel 4: fg or %1 to resume the menuconfig I understand all that,

Re: [PATCH 13/13] drivers/media/tuners/e4000.c: use macros for i2c_msg initialization

2012-10-08 Thread Julia Lawall
I found only 15 uses of I2C_MSG_OP, out of 653 uses of one of the three macros. Since I2C_MSG_OP has the complete set of flags, I think it should be OK? One of the uses, in drivers/media/i2c/adv7604.c, is as follows: struct i2c_msg msg[2] = { { client-addr, 0, 1, msgbuf0 },

Re: [PATCH v4 1/3] devfreq: Core updates to support devices which can idle

2012-10-08 Thread Rajagopal Venkat
On 8 October 2012 13:44, MyungJoo Ham myungjoo@samsung.com wrote: Prepare devfreq core framework to support devices which can idle. When device idleness is detected perhaps through runtime-pm, need some mechanism to suspend devfreq load monitoring and resume back when device is online.

Re: [RFC PATCH 0/5] net: socket bind to file descriptor introduced

2012-10-08 Thread Stanislav Kinsbursky
06.10.2012 00:00, J. Bruce Fields пишет: On Tue, Sep 04, 2012 at 03:00:07PM -0400, bfields wrote: On Mon, Aug 20, 2012 at 02:18:13PM +0400, Stanislav Kinsbursky wrote: 16.08.2012 07:03, Eric W. Biederman пишет: Stanislav Kinsbursky skinsbur...@parallels.com writes: This patch set introduces

Re: [PATCH v4 2/3] devfreq: Add suspend and resume apis

2012-10-08 Thread Rajagopal Venkat
On 8 October 2012 03:31, Rafael J. Wysocki r...@sisk.pl wrote: On Thursday 04 of October 2012 14:58:33 Rajagopal Venkat wrote: Add devfreq suspend/resume apis for devfreq users. This patch supports suspend and resume of devfreq load monitoring, required for devices which can idle.

Re: [PATCH v2 1/6] Add header files and Kbuild plumbing for SI476x MFD core

2012-10-08 Thread Hans Verkuil
On Sat October 6 2012 03:54:57 Andrey Smirnov wrote: This patch adds all necessary header files and Kbuild plumbing for the core driver for Silicon Laboratories Si476x series of AM/FM tuner chips. The driver as a whole is implemented as an MFD device and this patch adds a core portion of it

Re: [PATCH v3]mconf: Add Save button

2012-10-08 Thread Wang YanQing
On Mon, Oct 08, 2012 at 10:28:32AM +0200, Borislav Petkov wrote: On Mon, Oct 08, 2012 at 03:22:49PM +0800, Wang YanQing wrote: With one terminal, I can do: 1: make menuconfig 2: ajust and use Save button to save .config 3: use CRTL-Z(konsole) to menuconfig run in background 3: make

[PATCH 1/1] ARM: OMAP: Add maintainer entry for IGEP machines

2012-10-08 Thread Javier Martinez Canillas
Enric and I have been mantained this machine and while we are moving to device trees, it is good that people cc us when reporting bugs or regression on the board file until we have proper DT support. Signed-off-by: Javier Martinez Canillas jav...@dowhile0.org --- MAINTAINERS |8 1

Re: CMA broken in next-20120926

2012-10-08 Thread Mel Gorman
On Mon, Oct 08, 2012 at 05:06:54PM +0900, Minchan Kim wrote: Hi Mel, On Tue, Oct 02, 2012 at 04:12:17PM +0100, Mel Gorman wrote: On Tue, Oct 02, 2012 at 05:03:07PM +0200, Thierry Reding wrote: On Tue, Oct 02, 2012 at 03:41:35PM +0100, Mel Gorman wrote: On Tue, Oct 02, 2012 at

Re: [PATCH v2 3/6] Add commands abstraction layer for SI476X MFD

2012-10-08 Thread Hans Verkuil
On Sat October 6 2012 03:54:59 Andrey Smirnov wrote: This patch adds all the functions used for exchanging commands with the chip. Signed-off-by: Andrey Smirnov andrey.smir...@convergeddevices.net --- drivers/mfd/si476x-cmd.c | 1493 ++ 1 file

Re: [PATCH V7 0/5] [Media] Radio: Fixes and New features for FM

2012-10-08 Thread Hans Verkuil
Hi Manjunatha, Can you make a v8? The tuner band issues have been settled and are now merged, so it would be good to finalize this. On Mon May 21 2012 19:12:01 manjunatha_ha...@ti.com wrote: From: Manjunatha Halli x0130...@ti.com Mauro and the list, This version 7 of patchset resolves the

[PATCH] task_work: avoid unneeded cmpxchg() in task_work_run()

2012-10-08 Thread Lai Jiangshan
We only require cmpxchg()retry when task is exiting. xchg() is enough in other cases like original code in ac3d0da8. So we try our best to use xchg() and avoid competitionlatency from task_work_add(). Also remove the inner loop Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com --- diff --git

[PATCH v3 1/7] usb: dwc3-omap: use device_for_each_child to handle child removal

2012-10-08 Thread Kishon Vijay Abraham I
Used device_for_each_child() to handle child device (dwc3 core) removal during devexit of dwc3 omap. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/dwc3/dwc3-omap.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git

[PATCH v3 6/7] usb: dwc3-omap: Minor fixes to get dt working

2012-10-08 Thread Kishon Vijay Abraham I
Includes few minor fixes in dwc3-omap like populating the compatible string in a correct way, extracting the utmi-mode property properly and changing the index of get_irq since irq of core is removed from hwmod entry. Also updated the documentation with dwc3-omap device tree binding information.

[PATCH v3 4/7] usb: dwc3-omap: Remove explicit writes to SYSCONFIG register

2012-10-08 Thread Kishon Vijay Abraham I
The runtime API's takes care of setting the SYSCONFIG register with appropriate values. Hence explicit writes to SYSCONFIG register is removed. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/dwc3/dwc3-omap.c | 26 -- 1 file changed, 26 deletions(-)

[PATCH v3 7/7] usb: dwc3: core: add dt support for dwc3 core

2012-10-08 Thread Kishon Vijay Abraham I
Added dwc3 support for dwc3 core and update the documentation with device tree binding information. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- Documentation/devicetree/bindings/usb/dwc3.txt | 23 +++ drivers/usb/dwc3/core.c| 14

[PATCH v3 5/7] usb: dwc3-omap: Add an API to write to dwc mailbox

2012-10-08 Thread Kishon Vijay Abraham I
Add an API in the omap glue layer to write to the mailbox register which can be used by comparator driver(twl). To pass the detection of the attached device (signified by VBUS, ID) to the dwc3 core, dwc3 core has to write to the mailbox regiter. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com

[PATCH v3 3/7] usb: dwc3-omap: use runtime API's to enable clocks

2012-10-08 Thread Kishon Vijay Abraham I
Before accessing any register, runtime API's should be invoked to enable the clocks. runtime API's are added here to prevent abort during register access. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/dwc3/dwc3-omap.c | 10 ++ 1 file changed, 10 insertions(+)

[PATCH v3 2/7] usb: dwc3-omap: use of_platform API to create dwc3 core pdev

2012-10-08 Thread Kishon Vijay Abraham I
Used of_platform_populate() to populate dwc3 core platform_device from device tree data. Since now the allocation of unique device id is handled be of_*, removed the call to dwc3_get_device_id. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/dwc3/dwc3-omap.c | 52

Re: [PATCH] ARM: imx: fix return value check in imx3_init_l2x0()

2012-10-08 Thread Sascha Hauer
On Thu, Sep 27, 2012 at 01:54:01PM +0800, Wei Yongjun wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn In case of error, the function ioremap() returns NULL not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. dpatch engine is used to auto

[PATCH v3 0/7] usb: dwc3-omap: add dt support

2012-10-08 Thread Kishon Vijay Abraham I
This patch series adds dt support to dwc3 core and fixes few minor stuff in dwc3-omap glue to get dwc3 working. While at that it also uses *of_platform* to create the child device (dwc3-core) and fixes to use runtime API's to enable clock and write to SYSCONFIG register. Changes from v2: * Fixed

Re: [PATCH v2 5/6] Add a V4L2 driver for SI476X MFD

2012-10-08 Thread Hans Verkuil
On Sat October 6 2012 03:55:01 Andrey Smirnov wrote: This commit adds a driver that exposes all the radio related functionality of the Si476x series of chips via the V4L2 subsystem. Signed-off-by: Andrey Smirnov andrey.smir...@convergeddevices.net --- drivers/media/radio/Kconfig|

Re: [PATCH v2 0/6] A driver for Si476x series of chips

2012-10-08 Thread Hans Verkuil
Hi Andrey! On Sat October 6 2012 03:54:56 Andrey Smirnov wrote: This is a second version of the patchset originaly posted here: https://lkml.org/lkml/2012/9/13/590 To save everyone's time I'll repost the original description of it: This patchset contains a driver for a Silicon

Re: [PATCH v3 12/13] execute the whole memcg freeing in rcu callback

2012-10-08 Thread Glauber Costa
On 10/05/2012 07:31 PM, Johannes Weiner wrote: On Thu, Oct 04, 2012 at 02:53:13PM +0400, Glauber Costa wrote: On 10/01/2012 05:27 PM, Michal Hocko wrote: On Tue 18-09-12 18:04:09, Glauber Costa wrote: A lot of the initialization we do in mem_cgroup_create() is done with softirqs enabled.

Re: [RFC] vmevent: Implement pressure attribute

2012-10-08 Thread Mel Gorman
On Sun, Oct 07, 2012 at 01:14:17AM -0700, Anton Vorontsov wrote: On Fri, Oct 05, 2012 at 10:29:12AM +0100, Mel Gorman wrote: [...] The implemented approach can notify userland about two things: - Constantly rising number of scanned pages shows that Linux is busy w/ rehashing

Re: [patch net] sky2: fix rx filter setup on link up

2012-10-08 Thread Mirko Lindner
On Thu, 2012-10-04 at 00:40 -0700, Jiri Pirko wrote: Tue, Sep 18, 2012 at 02:38:52AM CEST, mlind...@marvell.com wrote: Mon, Sep 17, 2012 at 06:12:14PM CEST, shemmin...@vyatta.com wrote: On Mon, 17 Sep 2012 17:10:17 +0200 Jiri Pirko j...@resnulli.us wrote: In my case I have following

Re: [PATCH 00/16] f2fs: introduce flash-friendly file system

2012-10-08 Thread Namjae Jeon
2012/10/8, Jaegeuk Kim jaegeuk@samsung.com: -Original Message- From: Vyacheslav Dubeyko [mailto:sl...@dubeyko.com] Sent: Sunday, October 07, 2012 9:09 PM To: Jaegeuk Kim Cc: 'Marco Stornelli'; 'Jaegeuk Kim'; 'Al Viro'; ty...@mit.edu; gre...@linuxfoundation.org; linux-

[PATCH v4 04/14] kmem accounting basic infrastructure

2012-10-08 Thread Glauber Costa
This patch adds the basic infrastructure for the accounting of the slab caches. To control that, the following files are created: * memory.kmem.usage_in_bytes * memory.kmem.limit_in_bytes * memory.kmem.failcnt * memory.kmem.max_usage_in_bytes They have the same meaning of their user memory

[PATCH v4 03/14] memcg: change defines to an enum

2012-10-08 Thread Glauber Costa
This is just a cleanup patch for clarity of expression. In earlier submissions, people asked it to be in a separate patch, so here it is. [ v2: use named enum as type throughout the file as well ] Signed-off-by: Glauber Costa glom...@parallels.com Acked-by: Kamezawa Hiroyuki

[PATCH v4 00/14] kmem controller for memcg.

2012-10-08 Thread Glauber Costa
Hi, This is the first part of the kernel memory controller for memcg. It has been discussed many times, and I consider this stable enough to be on tree. A follow up to this series are the patches to also track slab memory. They are not included here because I believe we could benefit from merging

[PATCH v4 01/14] memcg: Make it possible to use the stock for more than one page.

2012-10-08 Thread Glauber Costa
From: Suleiman Souhlal ssouh...@freebsd.org We currently have a percpu stock cache scheme that charges one page at a time from memcg-res, the user counter. When the kernel memory controller comes into play, we'll need to charge more than that. This is because kernel memory allocations will also

[PATCH v4 11/14] memcg: allow a memcg with kmem charges to be destructed.

2012-10-08 Thread Glauber Costa
Because the ultimate goal of the kmem tracking in memcg is to track slab pages as well, we can't guarantee that we'll always be able to point a page to a particular process, and migrate the charges along with it - since in the common case, a page will contain data belonging to multiple processes.

[PATCH v4 08/14] res_counter: return amount of charges after res_counter_uncharge

2012-10-08 Thread Glauber Costa
It is useful to know how many charges are still left after a call to res_counter_uncharge. While it is possible to issue a res_counter_read after uncharge, this can be racy. If we need, for instance, to take some action when the counters drop down to 0, only one of the callers should see it. This

[PATCH v4 05/14] Add a __GFP_KMEMCG flag

2012-10-08 Thread Glauber Costa
This flag is used to indicate to the callees that this allocation is a kernel allocation in process context, and should be accounted to current's memcg. It takes numerical place of the of the recently removed __GFP_NO_KSWAPD. [ v4: make flag unconditional, also declare it in trace code ]

[PATCH v4 10/14] memcg: use static branches when code not in use

2012-10-08 Thread Glauber Costa
We can use static branches to patch the code in or out when not used. Because the _ACTIVE bit on kmem_accounted is only set after the increment is done, we guarantee that the root memcg will always be selected for kmem charges until all call sites are patched (see memcg_kmem_enabled). This

[PATCH v4 06/14] memcg: kmem controller infrastructure

2012-10-08 Thread Glauber Costa
This patch introduces infrastructure for tracking kernel memory pages to a given memcg. This will happen whenever the caller includes the flag __GFP_KMEMCG flag, and the task belong to a memcg other than the root. In memcontrol.h those functions are wrapped in inline acessors. The idea is to

[PATCH v4 07/14] mm: Allocate kernel pages to the right memcg

2012-10-08 Thread Glauber Costa
When a process tries to allocate a page with the __GFP_KMEMCG flag, the page allocator will call the corresponding memcg functions to validate the allocation. Tasks in the root memcg can always proceed. To avoid adding markers to the page - and a kmem flag that would necessarily follow, as much

  1   2   3   4   5   6   7   8   9   10   >