Re: [PATCH] pwm-backlight: Pinctrl-fy

2012-11-09 Thread Thierry Reding
On Wed, Oct 31, 2012 at 05:57:27PM +0200, Pantelis Antoniou wrote: Enable pinctrl for pwm-backlight. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com --- drivers/video/backlight/pwm_bl.c | 7 +++ 1 file changed, 7 insertions(+) diff --git

Re: [PATCH v2 06/10] pwm: pwm-tiehrpwm: Add device-tree binding support for EHRPWM driver

2012-11-09 Thread Thierry Reding
On Thu, Nov 08, 2012 at 01:23:13PM +0530, Philip, Avinash wrote: This patch 1. Add support for device-tree binding for EHRWPM driver. 2. Set size of pwm-cells set to 3 to support PWM channel number, PWM period polarity configuration from device tree. 3. Add enable/disable clock gating in

Re: kswapd0: excessive CPU usage

2012-11-09 Thread Zdenek Kabelac
Dne 9.11.2012 05:22, Seth Jennings napsal(a): On 11/02/2012 02:45 PM, Jiri Slaby wrote: On 11/02/2012 11:53 AM, Jiri Slaby wrote: On 11/02/2012 11:44 AM, Zdenek Kabelac wrote: Yes, applying this instead of the revert fixes the issue as well. I've applied this patch on 3.7.0-rc3 kernel - and

Re: [PATCH v2 08/10] pwm: pwm-tiehrpwm: Adding TBCLK gating support.

2012-11-09 Thread Thierry Reding
On Thu, Nov 08, 2012 at 01:23:15PM +0530, Philip, Avinash wrote: Some platforms (like AM33XX) requires clock gating from control module explicitly for TBCLK. Enabling of this clock required for the functioning of the time base sub module in EHRPWM module. So adding optional TBCLK handling if

Re: [PATCH v2 04/10] pwm: pwm-tiecap: Add device-tree binding support for APWM driver

2012-11-09 Thread Thierry Reding
On Fri, Nov 09, 2012 at 08:52:19AM +0100, Thierry Reding wrote: On Thu, Nov 08, 2012 at 01:23:11PM +0530, Philip, Avinash wrote: [...] static int __devinit ecap_pwm_probe(struct platform_device *pdev) __devinit can go away. [...] static int __devexit ecap_pwm_remove(struct

Re: [PATCH V3] memcg, oom: provide more precise dump info while memcg oom happening

2012-11-09 Thread Kamezawa Hiroyuki
(2012/11/09 0:52), Sha Zhengju wrote: From: Sha Zhengju handai@taobao.com Current when a memcg oom is happening the oom dump messages is still global state and provides few useful info for users. This patch prints more pointed memcg page statistics for memcg-oom. We set up a simple

Re: [PATCH] firmware loader: Fix the concurrent request_firmware() race for kref_get/put

2012-11-09 Thread Ming Lei
On Fri, Nov 9, 2012 at 8:28 PM, Chuansheng Liu chuansheng@intel.com wrote: There is one race that both request_firmware() with the same firmware name. The race scenerio is as below: CPU1 CPU2 request_firmware() --

RE: [PATCH] firmware loader: Fix the concurrent request_firmware() race for kref_get/put

2012-11-09 Thread Liu, Chuansheng
$./scripts/checkpatch.pl ERROR: space required before the open parenthesis '(' #97: FILE: drivers/base/firmware_class.c:267: + if(!kref_put(buf-ref, __fw_free_buf)) + spin_unlock(fwc-lock); } /* direct firmware loading support */ After fixing the patch style

[PATCH V2] firmware loader: Fix the concurrent request_firmware() race for kref_get/put

2012-11-09 Thread Chuansheng Liu
There is one race that both request_firmware() with the same firmware name. The race scenerio is as below: CPU1 CPU2 request_firmware() -- _request_firmware_load() return err another request_firmware() is coming --

Re: [PATCH] pwm: Device tree support for PWM polarity.

2012-11-09 Thread Thierry Reding
On Mon, Oct 29, 2012 at 11:10:27PM +0530, Philip, Avinash wrote: From: Philip, Avinash avinashphi...@ti.com Adds support for 3rd cell in pwm-specifier. PWM polarity is encoded in device tree support in bit encoded form. Platforms require polarity of PWM device initialized during PWM device

Re: [RFC v3 0/3] vmpressure_fd: Linux VM pressure notifications

2012-11-09 Thread Luiz Capitulino
Hi Anton, On Wed, 7 Nov 2012 02:53:49 -0800 Anton Vorontsov anton.voront...@linaro.org wrote: Hi all, This is the third RFC. As suggested by Minchan Kim, the API is much simplified now (comparing to vmevent_fd): Which tree is this against? I'd like to try this series, but it doesn't apply

Re: [PATCH] Revert mm: vmscan: scale number of pages reclaimed by reclaim/compaction based on failures

2012-11-09 Thread Mel Gorman
On Tue, Nov 06, 2012 at 11:15:54AM +0100, Johannes Hirte wrote: Am Mon, 5 Nov 2012 14:24:49 + schrieb Mel Gorman mgor...@suse.de: Jiri Slaby reported the following: (It's an effective revert of mm: vmscan: scale number of pages reclaimed by reclaim/compaction based on

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

2012-11-09 Thread John Crispin
On 17/08/12 11:09, Takashi Iwai wrote: At Fri, 17 Aug 2012 16:43:32 +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

Re: kswapd0: excessive CPU usage

2012-11-09 Thread Mel Gorman
On Thu, Nov 08, 2012 at 10:22:05PM -0600, Seth Jennings wrote: On 11/02/2012 02:45 PM, Jiri Slaby wrote: On 11/02/2012 11:53 AM, Jiri Slaby wrote: On 11/02/2012 11:44 AM, Zdenek Kabelac wrote: Yes, applying this instead of the revert fixes the issue as well. I've applied this patch on

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

2012-11-09 Thread Takashi Iwai
At Fri, 09 Nov 2012 09:36:34 +0100, John Crispin wrote: On 17/08/12 11:09, Takashi Iwai wrote: At Fri, 17 Aug 2012 16:43:32 +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

Re: [PATCH] virtio-scsi: Fix incorrect lock release order in virtscsi_kick_cmd

2012-11-09 Thread Paolo Bonzini
Il 09/11/2012 07:29, Nicholas A. Bellinger ha scritto: From: Nicholas Bellinger n...@linux-iscsi.org This patch fixes a regression bug in virtscsi_kick_cmd() that relinquishes the acquired spinlocks in the incorrect order using the wrong spin_unlock macros, namely releasing vq-vq_lock before

Re: [PATCH V2 RESEND RFC 2/3] kvm: Handle yield_to failure return code for potential undercommit case

2012-11-09 Thread Raghavendra K T
Handle yield_to failure return code for potential undercommit case From: Raghavendra K T raghavendra...@linux.vnet.ibm.com yield_to returns -ESRCH when When source and target of yield_to run queue length is one. When we see two successive failures of yield_to we assume we are in potential

Re: [PATCH v3 12/13] HID: introduce Scan Time

2012-11-09 Thread Dmitry Torokhov
Hi Benjamin, On Wed, Nov 07, 2012 at 05:37:35PM +0100, Benjamin Tissoires wrote: Win 8 digitizer devices provides the actual scan time computed by the hardware itself. The value is global to the frame and is not specific to the multitouch protocol (though only touch, not pen, should use it

Re: [PATCH] virtio_scsi: fix memory leak on full queue condition.

2012-11-09 Thread Paolo Bonzini
Il 08/11/2012 10:55, Eric Northup ha scritto: virtscsi_queuecommand was leaking memory when the virtio queue was full. Tested: Guest operates correctly even with very small queue sizes, validated we're not leaking kmalloc-192 sized allocations anymore. Signed-off-by: Eric Northup

Re: [PATCH 00/31] numa/core patches

2012-11-09 Thread Rik van Riel
On 10/30/2012 08:20 AM, Mel Gorman wrote: On Thu, Oct 25, 2012 at 02:16:17PM +0200, Peter Zijlstra wrote: Hi all, Here's a re-post of the NUMA scheduling and migration improvement patches that we are working on. These include techniques from AutoNUMA and the sched/numa tree and form a unified

Re: [RFC PATCH 0/8][Sorted-buddy] mm: Linux VM Infrastructure to support Memory Power Management

2012-11-09 Thread Mel Gorman
On Fri, Nov 09, 2012 at 10:44:16AM +0530, Vaidyanathan Srinivasan wrote: * Mel Gorman mgor...@suse.de [2012-11-08 18:02:57]: On Wed, Nov 07, 2012 at 01:22:13AM +0530, Srivatsa S. Bhat wrote: Hi Mel, Thanks for detailed

Re: [RFC PATCH 6/8] mm: Demarcate and maintain pageblocks in region-order in the zones' freelists

2012-11-09 Thread Srivatsa S. Bhat
Hi Ankita, On 11/09/2012 11:31 AM, Ankita Garg wrote: Hi Srivatsa, I understand that you are maintaining the page blocks in region sorted order. So that way, when the memory requests come in, you can hand out memory from the regions in that order. Yes, that's right. However, do you take

Re: kswapd0: excessive CPU usage

2012-11-09 Thread Mel Gorman
On Fri, Nov 09, 2012 at 09:07:45AM +0100, Zdenek Kabelac wrote: fe2c2a106663130a5ab45cb0e3414b52df2fff0c is the first bad commit commit fe2c2a106663130a5ab45cb0e3414b52df2fff0c Author: Rik van Riel r...@redhat.com Date: Wed Mar 21 16:33:51 2012 -0700 vmscan: reclaim at order 0 when

Re: [RFC v3 0/3] vmpressure_fd: Linux VM pressure notifications

2012-11-09 Thread Anton Vorontsov
On Fri, Nov 09, 2012 at 09:32:03AM +0100, Luiz Capitulino wrote: Anton Vorontsov anton.voront...@linaro.org wrote: This is the third RFC. As suggested by Minchan Kim, the API is much simplified now (comparing to vmevent_fd): Which tree is this against? I'd like to try this series, but it

[PATCH] spi: make sure all transfer has bits_per_word set

2012-11-09 Thread Laxman Dewangan
When spi client does the spi transfer and does not sets the bits_per_word for each transfer then set it as default of spi device in spi core before calling low level transfer. Removing the similar code from spi-tegra20-slink driver as it is not required. Signed-off-by: Laxman Dewangan

Re: [PATCH 1/9 v3] cgroup: add cgroup_subsys-post_create()

2012-11-09 Thread Li Zefan
On 2012/11/9 3:07, Tejun Heo wrote: Subject: cgroup: add cgroup_subsys-post_create() Currently, there's no way for a controller to find out whether a new cgroup finished all -create() allocatinos successfully and is considered live by cgroup. This becomes a problem later when we add

Re: [PATCH 1/9 v3] cgroup: add cgroup_subsys-post_create()

2012-11-09 Thread Li Zefan
On 2012/11/9 3:07, Tejun Heo wrote: Subject: cgroup: add cgroup_subsys-post_create() Currently, there's no way for a controller to find out whether a new cgroup finished all -create() allocatinos successfully and is considered live by cgroup. This becomes a problem later when we add

Re: [PATCH 2/9] cgroup: Use rculist ops for cgroup-children

2012-11-09 Thread Li Zefan
On 2012/11/3 16:38, Tejun Heo wrote: Use RCU safe list operations for cgroup-children. This will be used to implement cgroup children / descendant walking which can be used by controllers. Note that cgroup_create() now puts a new cgroup at the end of the -children list instead of head.

[PATCH] spi: tegra: sequence compatible strings as per preference

2012-11-09 Thread Laxman Dewangan
Sequence compatible list for tegra20-slink driver to first look for Tegra30 and then Tegra20. Tegra30 have additional feature in HW which need to be utilize if it is provided from DT. Signed-off-by: Laxman Dewangan ldewan...@nvidia.com --- drivers/spi/spi-tegra20-slink.c |2 +- 1 files

Re: [PATCH] Revert mm: vmscan: scale number of pages reclaimed by reclaim/compaction based on failures

2012-11-09 Thread Mel Gorman
On Mon, Nov 05, 2012 at 02:24:49PM +, Mel Gorman wrote: Jiri Slaby reported the following: (It's an effective revert of mm: vmscan: scale number of pages reclaimed by reclaim/compaction based on failures.) Given kswapd had hours of runtime in ps/top output yesterday in

Re: [PATCH 3/9 v2] cgroup: implement generic child / descendant walk macros

2012-11-09 Thread Li Zefan
On 2012/11/9 1:59, Tejun Heo wrote: Currently, cgroup doesn't provide any generic helper for walking a given cgroup's children or descendants. This patch adds the following three macros. * cgroup_for_each_child() - walk immediate children of a cgroup. * cgroup_for_each_descendant_pre() -

[PATCH] mtd: de-select the chip when it is not used

2012-11-09 Thread Huang Shijie
When we scan several nand chips with nand_scan(), such as ... nand_scan(*, 2); ... In nand_scan_ident(), the maxchips will become 2, so the current code will select chip 1 to read the device ID. But the chip 0 is still selected in this case.

Re: [PATCH] ARM: kprobes: use BUG_ON where possible

2012-11-09 Thread Jon Medhurst (Tixy)
On Thu, 2012-11-08 at 15:23 -0500, Sasha Levin wrote: Just use BUG_ON() instead of constructions such as: if (...) BUG() A simplified version of the semantic patch that makes this transformation is as follows: (http://coccinelle.lip6.fr/) // smpl @@ expression e;

Re: [PATCH] mfd: rtsx_pcr: Include linux/slab.h to fix build error

2012-11-09 Thread Samuel Ortiz
Hi Axel, On Fri, Nov 09, 2012 at 01:16:41PM +0800, Axel Lin wrote: Fix below build error: I already pushed a similar patch, thanks. Cheers, Samuel. -- Intel Open Source Technology Centre http://oss.intel.com/ -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: ACPI errors with 3.7-rc3

2012-11-09 Thread Feng Tang
On Thu, Nov 08, 2012 at 05:49:40AM +0800, Rafael J. Wysocki wrote: On Tuesday, November 06, 2012 01:48:26 PM Greg KH wrote: On Tue, Nov 06, 2012 at 04:42:24PM +0400, Azat Khuzhin wrote: I'v also have such errors on my macbook pro. $ dmesg | tail [17056.008564] ACPI Error: Method

Crypto Fixes for 3.7

2012-11-09 Thread Herbert Xu
Hi Linus: This push fixes a potential panic in cryptd which may occur with crypto drivers such as aesni-intel. Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git or master.kernel.org:/pub/scm/linux/kernel/git/herbert/crypto-2.6.git Jussi Kivilinna (1):

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

2012-11-09 Thread Dmytro Milinevskyy
Hi Felipe, On Thu, Nov 8, 2012 at 8:30 PM, Felipe Balbi ba...@ti.com wrote: Hi, On Thu, Nov 08, 2012 at 08:07:57PM +0100, Dmytro Milinevskyy wrote: On Wed, Nov 07, 2012 at 02:14:00PM +0100, Dmytro Milinevskyy wrote: Unfortunately I have some issues with git send-email. I've attached the

Re: [PATCH] crypto: picoxcell: Add terminating entry for platform_device_id table

2012-11-09 Thread Herbert Xu
On Sun, Nov 04, 2012 at 11:36:25PM +0800, Axel Lin wrote: The platform_device_id table is supposed to be zero-terminated. Signed-off-by: Axel Lin axel@ingics.com Patch applied. Thanks! -- Email: Herbert Xu herb...@gondor.apana.org.au Home Page: http://gondor.apana.org.au/~herbert/ PGP

[GIT PULL REQUEST] UniCore32 update for v3.7-rc4

2012-11-09 Thread guanxuetao
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The following changes since commit 0e4a43ed08e2f44aa7b96aa95d0a540d675483e1: Linus Torvalds (1): Merge git://git.kernel.org/.../steve/gfs2-3.0-fixes are available in the git repository at: git://github.com/gxt/linux.git

Re: [PATCH 2/2] drivres/power/jz4740-battery.c: Use devm_request_and_ioremap

2012-11-09 Thread Lars-Peter Clausen
On 11/07/2012 12:11 AM, Marcos Paulo de Souza wrote: No functional changes. Just a cleanup. Signed-off-by: Marcos Paulo de Souza marcos.souza@gmail.com Looks good to me: Acked-by: Lars-Peter Clausen l...@metafoo.de One minor comment though: --- drivers/power/jz4740-battery.c | 33

Re: [PATCH] bluetooth: ath3k: Add support for VAIO VPCEH [0489:e027]

2012-11-09 Thread Gustavo Padovan
Hi Marcos, * Marcos Chaparro mar...@mrkindustries.com.ar [2012-11-06 16:19:11 -0300]: Added Atheros AR3011 internal bluetooth device found in Sony VAIO VPCEH to the devices list. Before this, the bluetooth module was identified as an Foxconn / Hai bluetooth device [0489:e027], now it claims

Re: [PATCH v2] i2c-hid: introduce HID over i2c specification implementation

2012-11-09 Thread Jiri Kosina
On Tue, 16 Oct 2012, Benjamin Tissoires wrote: --- /dev/null +++ b/drivers/hid/i2c-hid/i2c-hid.c ... +static int i2c_hid_alloc_buffers(struct i2c_hid *ihid) +{ + /* the worst case is computed from the set_report command with a + * reportID 15 and the maximum report length

Re: [RFC PATCH v1 14/31] ARC: syscall support

2012-11-09 Thread James Hogan
On 07/11/12 14:21, Arnd Bergmann wrote: On Wednesday 07 November 2012, Vineet Gupta wrote: + * Being uClibc based we need some of the deprecated syscalls: + * -Not emulated by uClibc at all + * unlink, mkdir,... (needed by Busybox, LTP etc) + * times (needed by LTP pan test harness)

[Acked] [PATCH V2 3/5] checkpatch: Remove reference to feature-removal-schedule.txt.

2012-11-09 Thread Andy Whitcroft
On Fri, Nov 09, 2012 at 09:38:12AM +0800, Tao Ma wrote: From: Tao Ma boyu...@taobao.com In 9c0ece069, Linus removes feature-removal-schedule.txt from Documentation, but there is still some reference to this file. So remove them. Cc: Andrew Morton a...@linux-foundation.org Cc: Andy

Re: [PATCH v2] i2c-hid: introduce HID over i2c specification implementation

2012-11-09 Thread Benjamin Tissoires
Hi Jiri, On Fri, Nov 9, 2012 at 4:49 AM, Jiri Kosina jkos...@suse.cz wrote: On Tue, 16 Oct 2012, Benjamin Tissoires wrote: --- /dev/null +++ b/drivers/hid/i2c-hid/i2c-hid.c ... +static int i2c_hid_alloc_buffers(struct i2c_hid *ihid) +{ + /* the worst case is computed from the

[PATCH] fix build waring: drivers/regulator/core.c: warning: ‘val’ may be used uninitialized in this function [-Wuninitialized]

2012-11-09 Thread helight
fix build waring on drivers/regulator/core.c drivers/regulator/core.c: In function ‘regulator_get_bypass_regmap’: drivers/regulator/core.c:2748:16: warning: ‘val’ may be used uninitialized in this function [-Wuninitialized] drivers/regulator/core.c: In function ‘regulator_get_voltage_sel_regmap’:

Re: linux-next: build warning after merge of the akpm tree

2012-11-09 Thread Grant Likely
On Fri, Nov 9, 2012 at 3:43 AM, Stephen Rothwell s...@canb.auug.org.au wrote: Hi Andrew, After merging the akpm tree, today's linux-next build (powerpc allnoconfig - among others) produced this warning: drivers/of/fdt.c: In function 'of_scan_flat_dt': drivers/of/fdt.c:490:10: warning:

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

2012-11-09 Thread Linus Walleij
On Fri, Nov 9, 2012 at 3:31 AM, Stephen Rothwell s...@canb.auug.org.au wrote: Today's linux-next merge of the arm-soc tree got a conflict in drivers/pinctrl/pinctrl-nomadik.c between commit 241e51ebd3b2 (pinctrl/nomadik: make independent of prcmu driver) from the pinctrl tree and commit

RE: [PATCH 2/4] ARM: EXYNOS: PL330 MDMA1 fix for revision 0 of Exynos4210 SOC

2012-11-09 Thread Kukjin Kim
Bartlomiej Zolnierkiewicz wrote: Ah, okay. Here is full simplified patch. From: Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com Subject: [PATCH v2] ARM: EXYNOS: PL330 MDMA1 fix for revision 0 of Exynos4210 SOC Commit 8214513 (ARM: EXYNOS: fix address for EXYNOS4 MDMA1) changed

Re: [PATCH V3] memcg, oom: provide more precise dump info while memcg oom happening

2012-11-09 Thread Sha Zhengju
On 11/09/2012 12:25 AM, Michal Hocko wrote: On Thu 08-11-12 23:52:47, Sha Zhengju wrote: [...] (2) After change [ 269.225628] mal invoked oom-killer: gfp_mask=0xd0, order=0, oom_score_adj=0 [ 269.225633] mal cpuset=/ mems_allowed=0-1 [ 269.225636] Pid: 4616, comm: mal Not tainted 3.6.0+ #25

Re: [PATCH 2/2] pinctrl/nomadik: make independent of prcmu driver

2012-11-09 Thread Linus Walleij
On Thu, Nov 8, 2012 at 6:11 PM, Stephen Warren swar...@wwwdotorg.org wrote: Do you actually need to store the run-time data in struct nmk_pinctrl_soc_data too? I would have expected all the soc_data pointers to remain const, and to store the runtime register pointer somewhere else, and

Re: perf: POWER-event translation questions

2012-11-09 Thread Stephane Eranian
On Thu, Nov 8, 2012 at 2:10 AM, Sukadev Bhattiprolu suka...@linux.vnet.ibm.com wrote: Looking for feedback on this prototype for making POWER-specific event translations available in sysfs. It is based on the patchset: https://lkml.org/lkml/2012/11/7/402 which makes the

[PATCH v2] pinctrl/nomadik: make independent of prcmu driver

2012-11-09 Thread Linus Walleij
From: Jonas Aaberg jonas.ab...@stericsson.com Currently there are some unnecessary criss-cross dependencies between the PRCMU driver in MFD and a lot of other drivers, mainly because other drivers need to poke around in the PRCM register range. In cases like this there are actually just a few

[GIT PULL] sound fixes for 3.7-rc5

2012-11-09 Thread Takashi Iwai
Linus, The following changes since commit 16c2e1fae8d60a9d6d16e009a76ba3472568e094: ALSA: ice1724: Fix rate setup after resume (2012-10-31 07:41:42 +0100) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-3.7 for you to fetch

Re: [PATCH V3] memcg, oom: provide more precise dump info while memcg oom happening

2012-11-09 Thread Sha Zhengju
On 11/09/2012 04:12 PM, Kamezawa Hiroyuki wrote: (2012/11/09 0:52), Sha Zhengju wrote: From: Sha Zhengju handai@taobao.com Current when a memcg oom is happening the oom dump messages is still global state and provides few useful info for users. This patch prints more pointed memcg page

Re: [PATCH V3] memcg, oom: provide more precise dump info while memcg oom happening

2012-11-09 Thread Michal Hocko
On Fri 09-11-12 18:23:07, Sha Zhengju wrote: On 11/09/2012 12:25 AM, Michal Hocko wrote: On Thu 08-11-12 23:52:47, Sha Zhengju wrote: [...] + for (i = 0; i MEM_CGROUP_STAT_NSTATS; i++) { + long long val = 0; + if (i == MEM_CGROUP_STAT_SWAP !do_swap_account) +

[PATCH] regulator: core: Update regulator_is_supported_voltage for fixed voltages

2012-11-09 Thread Tushar Behera
Commit c5f3939b8fe0 (regulator: core: Support fixed voltages in regulator_is_supported_voltage()) adds support for fixed regulators in regulator_is_supported_voltage. In case of fixed regulators for which voltage cannot be changed, regulator_is_supported_voltage should return success only if the

[git pull] drm vmwgfx

2012-11-09 Thread Dave Airlie
Hi Linus, dropped the ball on a vmware patch, so two more fixes for vmwgfx are here, one for hibernate issue, one for a BUG trigger. Dave. The following changes since commit 4a48ed2334b7ae61dd11bb114fa35bd4ebdc1ca0: Merge branch 'drm-nouveau-fixes' of

Re: scsi target, likely GPL violation

2012-11-09 Thread Alan Cox
For our commercial target core, we only use Linux kernel symbols that are not marked as GPL. In addition, we define the API between the target And this has what meaning ? The Linux kernel is a GPL work, any derivative work is a GPL work. The symbol tags are just a guidance. You do not have

RE: [PATCH v2 04/10] pwm: pwm-tiecap: Add device-tree binding support for APWM driver

2012-11-09 Thread Philip, Avinash
On Fri, Nov 09, 2012 at 13:22:19, Thierry Reding wrote: On Thu, Nov 08, 2012 at 01:23:11PM +0530, Philip, Avinash wrote: This patch 1. Add support for device-tree binding for ECAP APWM driver. 2. Set size of pwm-cells set to 3 to support PWM channel number, PWM period polarity

RE: [PATCH] pwm: Device tree support for PWM polarity.

2012-11-09 Thread Philip, Avinash
On Fri, Nov 09, 2012 at 14:00:28, Thierry Reding wrote: On Mon, Oct 29, 2012 at 11:10:27PM +0530, Philip, Avinash wrote: From: Philip, Avinash avinashphi...@ti.com Adds support for 3rd cell in pwm-specifier. PWM polarity is encoded in device tree support in bit encoded form. Platforms

RE: [PATCH v2 08/10] pwm: pwm-tiehrpwm: Adding TBCLK gating support.

2012-11-09 Thread Philip, Avinash
On Fri, Nov 09, 2012 at 13:41:04, Thierry Reding wrote: On Thu, Nov 08, 2012 at 01:23:15PM +0530, Philip, Avinash wrote: ... + /* Some platforms require explicit tbclk gating */ + if (of_property_read_bool(pdev-dev.of_node, tbclkgating)) { Is it really necessary to have an extra

RE: [PATCH v2 01/10] PWMSS: Add PWM Subsystem driver for parent-child relationship

2012-11-09 Thread Philip, Avinash
On Fri, Nov 09, 2012 at 12:59:57, Thierry Reding wrote: On Thu, Nov 08, 2012 at 01:23:08PM +0530, Philip, Avinash wrote: diff --git a/Documentation/devicetree/bindings/pwm/tipwmss.txt b/Documentation/devicetree/bindings/pwm/tipwmss.txt new file mode 100644 index 000..b6c2814 ---

Re: How to debug system freeze (not detected by kernel debug options)

2012-11-09 Thread Alan Cox
On Fri, 09 Nov 2012 02:19:33 + (GMT) Jongman Heo jongman@samsung.com wrote: Dear kernel hackers, I have a problem in SMP environment, in x86 platform (Intel Atom based embedded system) In UP, there is no issue, but in SMP, system freezed in tens of minutes (or shorter), if I

Re: [PATCH] fix build waring: drivers/regulator/core.c: warning: ‘val’ may be used uninitialized in this function [-Wuninitialized]

2012-11-09 Thread Mark Brown
On Fri, Nov 09, 2012 at 05:29:40PM +0800, helight wrote: - unsigned int val; int ret; + unsigned int val = 0; This sort of change is really not at all helpful, we should be making sure that whatever path should be initialising the value but isn't does so, just initialising at

Re: [PATCH 1/9 v3] cgroup: add cgroup_subsys-post_create()

2012-11-09 Thread Daniel Wagner
Hi Tejun, On 08.11.2012 20:07, Tejun Heo wrote: Subject: cgroup: add cgroup_subsys-post_create() Currently, there's no way for a controller to find out whether a new cgroup finished all -create() allocatinos successfully and is considered live by cgroup. I'd like add hierarchy support to

Re: [PATCH v2 04/10] pwm: pwm-tiecap: Add device-tree binding support for APWM driver

2012-11-09 Thread Thierry Reding
On Fri, Nov 09, 2012 at 10:59:30AM +, Philip, Avinash wrote: On Fri, Nov 09, 2012 at 13:22:19, Thierry Reding wrote: On Thu, Nov 08, 2012 at 01:23:11PM +0530, Philip, Avinash wrote: +#define ECAPCLK_EN BIT(0) +#define ECAPCLK_STOP_REQ BIT(1) This one doesn't

Re: [PATCH cifs-next] fs: cifs: make smb_echo_interval tunable

2012-11-09 Thread Jeff Layton
On Thu, 8 Nov 2012 14:50:28 -0600 Chris J Arges chris.j.ar...@canonical.com wrote: Change SMB_ECHO_INTERVAL to make it a module parameter. BugLink: http://bugs.launchpad.net/bugs/1017622 BugLink: https://bugzilla.samba.org/show_bug.cgi?id=9006 It's customary to write up the reason for a

[PATCH V5 0/2] Upstream ST-Ericsson thermal driver

2012-11-09 Thread hongbo.zhang
From: hongbo.zhang hongbo.zh...@linaro.com V4-V5 Changes: In patch Thermal: Add ST-Ericsson DB8500 thermal driver: - use flush_work instead of flush_work_sync since the later is deprecated now. - parameter trip_points of db8500_thermal_match_cdev is renamed to trip_point; - re-order

[PATCH V5 1/2] Thermal: Add ST-Ericsson DB8500 thermal driver.

2012-11-09 Thread hongbo.zhang
From: hongbo.zhang hongbo.zh...@linaro.com This driver is based on the thermal management framework in thermal_sys.c. A thermal zone device is created with the trip points to which cooling devices can be bound, the current cooling device is cpufreq, e.g. CPU frequency is clipped down to cool the

[PATCH V5 2/2] Thermal: Add ST-Ericsson DB8500 thermal properties and platform data.

2012-11-09 Thread hongbo.zhang
From: hongbo.zhang hongbo.zh...@linaro.com This patch adds device tree properties for ST-Ericsson DB8500 thermal driver, also adds the platform data to support the old fashion. Signed-off-by: hongbo.zhang hongbo.zh...@linaro.com Reviewed-by: Viresh Kumar viresh.ku...@linaro.org ---

Re: [PATCH] lib/raid6: Add AVX2 optimized recovery functions

2012-11-09 Thread Paul Menzel
Dear Jim, Am Donnerstag, den 08.11.2012, 13:47 -0800 schrieb Jim Kukunas: Optimize RAID6 recovery functions to take advantage of the 256-bit YMM integer instructions introduced in AVX2. in my experiencing optimizations always have to be back up by benchmarks. Could you add those to the commit

[GIT PULL] drbd-8.4.2 for the linux-3.8 merge window

2012-11-09 Thread Philipp Reisner
Hi Jens, Please pull drbd-8.4.2 into your for-3.8/drivers branch. The most noticeable change is the support for multiple replicated volumes in a single DRBD connection. This release requires new drbd userland tools = 8.4.0 (available since July 2011). 8.4.x is network protocol compatible with

Re: [PATCH V5 0/2] Upstream ST-Ericsson thermal driver

2012-11-09 Thread Hongbo Zhang
Hi Rui Zhang, Please have a look at this patch set. Since the previous 1/5, 2/5, 3/5 have been accepted, I'd like to send these last two updated patches with Reviewed-by added in this new thread. Thanks. On 9 November 2012 19:29, hongbo.zhang hongbo.zh...@linaro.org wrote: From: hongbo.zhang

Re: [PATCH] lib/raid6: Add AVX2 optimized recovery functions

2012-11-09 Thread H. Peter Anvin
Sorry, we cannot share those at this time since the hardwarenis not yet released. Paul Menzel pm.deb...@googlemail.com wrote: Dear Jim, Am Donnerstag, den 08.11.2012, 13:47 -0800 schrieb Jim Kukunas: Optimize RAID6 recovery functions to take advantage of the 256-bit YMM integer instructions

Re: [GIT PULL] drbd-8.4.2 for the linux-3.8 merge window

2012-11-09 Thread Jens Axboe
On 2012-11-09 12:36, Philipp Reisner wrote: Hi Jens, Please pull drbd-8.4.2 into your for-3.8/drivers branch. The most noticeable change is the support for multiple replicated volumes in a single DRBD connection. This release requires new drbd userland tools = 8.4.0 (available since

Re: [PATCH] mfd: max8925: update dt regulator binding doc

2012-11-09 Thread Mark Brown
On Thu, Nov 08, 2012 at 10:31:32AM +0800, Qing Xu wrote: remove linux specific references, enumerates all supported regulators Applied. As I said the other day please do use subject lines appropriate for the subsystem. signature.asc Description: Digital signature

[PATCH 0/8] Fix coding style in sdhci.c

2012-11-09 Thread Tushar Behera
Documents/CodingStyle Chapter 3 recommends usage of braces for both if and else statements if any of the branches contains multiple statements. Cleaning up drivers/mmc/host/sdhci.c for all these occurrences. Tushar Behera (8): mmc: sdhci: fix coding style in sdhci_calc_timeout mmc: sdhci:

[PATCH 1/8] mmc: sdhci: fix coding style in sdhci_calc_timeout

2012-11-09 Thread Tushar Behera
Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- drivers/mmc/host/sdhci.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index c7851c0..2ff2b9e 100644 --- a/drivers/mmc/host/sdhci.c +++

[PATCH 3/8] mmc: sdhci: fix coding style in sdhci_finish_data

2012-11-09 Thread Tushar Behera
Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- drivers/mmc/host/sdhci.c |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index 2d3d76e..73bb41f 100644 --- a/drivers/mmc/host/sdhci.c +++

[PATCH 5/8] mmc: sdhci: fix coding style in sdhci_do_set_ios

2012-11-09 Thread Tushar Behera
Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- drivers/mmc/host/sdhci.c | 11 ++- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index 28da461..b947155 100644 --- a/drivers/mmc/host/sdhci.c +++

[PATCH 6/8] mmc: sdhci: fix coding style in sdhci_execute_tuning

2012-11-09 Thread Tushar Behera
Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- drivers/mmc/host/sdhci.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index b947155..4bed582 100644 --- a/drivers/mmc/host/sdhci.c +++

[PATCH 7/8] mmc: sdhci: fix coding style in sdhci_data_irq

2012-11-09 Thread Tushar Behera
Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- drivers/mmc/host/sdhci.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index 4bed582..47cac71 100644 --- a/drivers/mmc/host/sdhci.c +++

[PATCH 8/8] mmc: sdhci: fix coding style in sdhci_add_host

2012-11-09 Thread Tushar Behera
Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- drivers/mmc/host/sdhci.c | 20 1 files changed, 12 insertions(+), 8 deletions(-) diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index 47cac71..5cddb74 100644 --- a/drivers/mmc/host/sdhci.c +++

Re: [PATCH] lib/raid6: Add AVX2 optimized recovery functions

2012-11-09 Thread Paul Menzel
Am Freitag, den 09.11.2012, 12:39 +0100 schrieb H. Peter Anvin: Sorry, we cannot share those at this time since the hardwarenis not yet released. Too bad. Then I suggest an additional run time switch to enable and disable that code path. So people later can easily test themselves. Thanks,

[PATCH 4/8] mmc: sdhci: fix coding style in sdhci_set_clock

2012-11-09 Thread Tushar Behera
Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- drivers/mmc/host/sdhci.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index 73bb41f..28da461 100644 --- a/drivers/mmc/host/sdhci.c +++

[PATCH 2/8] mmc: sdhci: fix coding style in sdhci_set_transfer_mode

2012-11-09 Thread Tushar Behera
Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- drivers/mmc/host/sdhci.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index 2ff2b9e..2d3d76e 100644 --- a/drivers/mmc/host/sdhci.c +++

[PATCH 1/1] ARM: mm: Remove unused variable in mmap.c

2012-11-09 Thread Sachin Kamat
...@linaro.org --- This patch is based linux-next tree of 20121109 --- arch/arm/mm/mmap.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/arch/arm/mm/mmap.c b/arch/arm/mm/mmap.c index f4fec6d..10062ce 100644 --- a/arch/arm/mm/mmap.c +++ b/arch/arm/mm/mmap.c @@ -57,7 +57,6

Re: [RESEND PATCH 1/2] ASoC: Ux500: Fixup use of clocks

2012-11-09 Thread Mark Brown
On Wed, Nov 07, 2012 at 04:42:41PM +0100, Ulf Hansson wrote: From: Ulf Hansson ulf.hans...@linaro.org Make sure clocks are being prepared and unprepared as well as enabled and disabled. Both of these patches are already applied... signature.asc Description: Digital signature

Re: [PATCH] lib/raid6: Add AVX2 optimized recovery functions

2012-11-09 Thread NeilBrown
On Fri, 09 Nov 2012 12:39:05 +0100 H. Peter Anvin h...@zytor.com wrote: Sorry, we cannot share those at this time since the hardwarenis not yet released. Can I take that to imply Acked-by: H. Peter Anvin h...@zytor.com ?? It would be nice to have at least a statement like: These patches

[PATCH] pwm: spear: Staticize spear_pwm_config()

2012-11-09 Thread Axel Lin
spear_pwm_config() is not referenced outside of this file, make it static. Signed-off-by: Axel Lin axel@ingics.com --- drivers/pwm/pwm-spear.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pwm/pwm-spear.c b/drivers/pwm/pwm-spear.c index 6a8fd9b..83b21d9

Re: [PATCH] pwm: spear: Staticize spear_pwm_config()

2012-11-09 Thread Viresh Kumar
On 9 November 2012 17:22, Axel Lin axel@ingics.com wrote: spear_pwm_config() is not referenced outside of this file, make it static. Signed-off-by: Axel Lin axel@ingics.com Acked-by: Viresh Kumar viresh.ku...@linaro.org -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH V3 3/5] Thermal: Remove the cooling_cpufreq_list.

2012-11-09 Thread Hongbo Zhang
On 7 November 2012 14:54, Zhang Rui rui.zh...@intel.com wrote: On Tue, 2012-10-30 at 17:48 +0100, hongbo.zhang wrote: From: hongbo.zhang hongbo.zh...@linaro.com Problem of using this list is that the cpufreq_get_max_state callback will be called when register cooling device by

[PATCH v3] mfd: lpc_ich: Fix resource request for [mem 0x00000000]

2012-11-09 Thread Peter Hurley
The older southbridges supported by the lpc_ich driver do not provide memory-mapped space of the root complex. The driver correctly avoids computing the iomem address in this case, yet submits a zeroed resource request anyway (via mfd_add_devices()). Remove the iomem resource from the resource

Re: [PATCH 2/4] arch/arm: move secure_computing into trace

2012-11-09 Thread Will Deacon
One really minor nit... On Thu, Nov 08, 2012 at 08:59:31PM +, Kees Cook wrote: There is very little difference in the TIF_SECCOMP and TIF_SYSCALL_WORK path in entry-common.S, so merge TIF_SECCOMP into TIF_SYSCALL_WORK and move seccomp into the syscall_trace_enter() handler. Expanded

Re: [PATCH] pwm: spear: Staticize spear_pwm_config()

2012-11-09 Thread Thierry Reding
On Fri, Nov 09, 2012 at 07:52:22PM +0800, Axel Lin wrote: spear_pwm_config() is not referenced outside of this file, make it static. Signed-off-by: Axel Lin axel@ingics.com --- drivers/pwm/pwm-spear.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH] pwm: spear: Staticize spear_pwm_config()

2012-11-09 Thread Viresh Kumar
On 9 November 2012 17:28, Thierry Reding thierry.red...@avionic-design.de wrote: Applied, thanks. Aah.. That's pretty fast :) within 5 minutes of posting the patch you got ACK and got applied too :) -- viresh -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

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

2012-11-09 Thread Felipe Balbi
Hi, On Fri, Nov 09, 2012 at 10:31:47AM +0100, Dmytro Milinevskyy wrote: Hi Felipe, On Thu, Nov 8, 2012 at 8:30 PM, Felipe Balbi ba...@ti.com wrote: Hi, On Thu, Nov 08, 2012 at 08:07:57PM +0100, Dmytro Milinevskyy wrote: On Wed, Nov 07, 2012 at 02:14:00PM +0100, Dmytro Milinevskyy

Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices to mach-omap2)

2012-11-09 Thread Grant Likely
On Mon, Nov 5, 2012 at 11:22 PM, Tony Lindgren t...@atomide.com wrote: Hi, * Tabi Timur-B04825 b04...@freescale.com [121105 13:42]: On Mon, Nov 5, 2012 at 2:40 PM, Grant Likely grant.lik...@secretlab.ca wrote: Jane is building custom BeagleBone expansion boards called 'capes'. She can

Re: [PATCH V3] memcg, oom: provide more precise dump info while memcg oom happening

2012-11-09 Thread Sha Zhengju
On 11/09/2012 06:50 PM, Michal Hocko wrote: On Fri 09-11-12 18:23:07, Sha Zhengju wrote: On 11/09/2012 12:25 AM, Michal Hocko wrote: On Thu 08-11-12 23:52:47, Sha Zhengju wrote: [...] + for (i = 0; i MEM_CGROUP_STAT_NSTATS; i++) { + long long val = 0; + if

  1   2   3   4   5   6   7   8   9   10   >