Re: [PATCH v2 5/7] ARM: imx6q: convert to use syscon to access anatop registers

2012-08-27 Thread Dong Aisheng
On Tue, Aug 28, 2012 at 11:23:10AM +0800, Zhao Richard-B20223 wrote: ... > > np = of_find_compatible_node(NULL, NULL, "fsl,imx6q-anatop"); > np unused. Correct. Will drop it. Regards Dong Aisheng -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: [PATCH] kernel/resource.c: fix stack overflow in __reserve_region_with_split

2012-08-27 Thread Thavatchai Makphaibulchoke
On 08/27/2012 10:30 PM, Ram Pai wrote: > For example: > if the region requested is 1 to 100, but 20-30 is already reserved, than > the earlier behavior would reserve 1-20 and 30-100. With your > patch, it will just reserve 1-20. > > RP > Thanks RP for pointing the problem. Sorry for missing

Re: [PATCH 3/3] Add support to M54xx DMA FEC Driver

2012-08-27 Thread Greg Ungerer
Hi Stany, I haven't looked over it in detail, but a few little things anyway. On 21/08/12 22:18, Stany MARCEL wrote: Signed-off-by: Stany MARCEL --- This driver is an adaption of the one given by freescale for kernel 2.6.25. Tested with kernel 3.4.8 with arch/m68k backported from

RE: [PATCH v2] lis3lv02d: Add STMicroelectronics lis331dlh digital accelerometer

2012-08-27 Thread AnilKumar, Chimata
Hi Eric, On Wed, Aug 22, 2012 at 13:18:38, Arnd Bergmann wrote: > On Wednesday 22 August 2012, AnilKumar Ch wrote: > > This patch adds support for lis331dlh digital accelerometer to the > > lis3lv02d driver family. Adds ID field for detecting the lis331dlh > > module, based on this ID field

Re: Possible mptsas regression post 3.5.0

2012-08-27 Thread Dan Williams
On Mon, 2012-08-27 at 12:13 -0400, John Drescher wrote: > >> I have bisected it down to the following patch: > >> > >> Bisecting: 0 revisions left to test after this (roughly 0 steps) > >> [10f8d5b86743b33d841a175303e2bf67fd620f42] SCSI: fix hot unplug vs > >> async scan race > >> > >> It appears

Re: [PATCH v2 1/4] pinctrl: add samsung pinctrl and gpiolib driver

2012-08-27 Thread Thomas Abraham
On 28 August 2012 04:52, Linus Walleij wrote: > On Tue, Aug 21, 2012 at 9:22 PM, Thomas Abraham > wrote: [...] +/* list of all possible config options supported */ +struct pin_config { + char*prop_cfg; + unsigned intcfg_type; +} pcfgs[] = {

Fwd: [PATCH] Chinese translation of Documentation/arm/Booting

2012-08-27 Thread harryxiyou
-- Forwarded message -- From: harryxiyou Date: Tue, Aug 28, 2012 at 1:18 PM Subject: Re: [PATCH] Chinese translation of Documentation/arm/Booting To: Ninja Tekkaman 2012/8/28 Ninja Tekkaman : > This is a Chinese translated version of Documentation/arm/Booting > > Signed-off-by:

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

2012-08-27 Thread Hiroshi Doyu
Support atomic allocation in __iommu_get_pages(). Signed-off-by: Hiroshi Doyu --- arch/arm/mm/dma-mapping.c | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/arch/arm/mm/dma-mapping.c b/arch/arm/mm/dma-mapping.c index a62f552..4ef2d7b 100644 ---

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

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

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

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

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

2012-08-27 Thread Hiroshi Doyu
Check the given range("start", "size") is included in "atomic_pool" or not. Signed-off-by: Hiroshi Doyu --- arch/arm/mm/dma-mapping.c | 26 -- 1 files changed, 20 insertions(+), 6 deletions(-) diff --git a/arch/arm/mm/dma-mapping.c b/arch/arm/mm/dma-mapping.c index

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

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

[PATCH] drivrs/video/jz4740_fb.c: Use SIMPLE_DEV_PM_OPS instead of dev_pm_ops

2012-08-27 Thread Marcos Paulo de Souza
Just a cleanup, not functional changes. Signed-off-by: Marcos Paulo de Souza --- Just compile test. Please double check. drivers/video/jz4740_fb.c |7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/video/jz4740_fb.c b/drivers/video/jz4740_fb.c index

Re: [PATCH 6/7] workqueue: init 0 for idle_rebind.cnt

2012-08-27 Thread Lai Jiangshan
On Tue, Aug 28, 2012 at 4:05 AM, Tejun Heo wrote: > On Tue, Aug 28, 2012 at 01:58:26AM +0800, Lai Jiangshan wrote: >> Access idle_rebind.cnt is always protected by gcwq->lock, >> don't need to init it as 1. > > But then the completion could be triggered prematurely, no? No, the

[PATCH 1/4] regulator: core: Support bypass mode

2012-08-27 Thread Mark Brown
Many regulators support a bypass mode where they simply switch their input supply to the output. This is mainly used in low power retention states where power consumption is extremely low so higher voltage or less clean supplies can be used. This is not supported as a mode since the existing

[PATCH 2/4] regulator: core: Provide regmap get/set bypass operations

2012-08-27 Thread Mark Brown
Signed-off-by: Mark Brown --- drivers/regulator/core.c | 41 + 1 file changed, 41 insertions(+) diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c index d06a82e..e6bb1f9 100644 --- a/drivers/regulator/core.c +++ b/drivers/regulator/core.c

[PATCH 4/4] regulator: arizona-micsupp: Support get/set bypass

2012-08-27 Thread Mark Brown
Signed-off-by: Mark Brown --- drivers/regulator/arizona-micsupp.c |5 + 1 file changed, 5 insertions(+) diff --git a/drivers/regulator/arizona-micsupp.c b/drivers/regulator/arizona-micsupp.c index 450a069..d9b1f82 100644 --- a/drivers/regulator/arizona-micsupp.c +++

[PATCH 3/4] regulator: arizona-ldo: Support get/set bypass

2012-08-27 Thread Mark Brown
Signed-off-by: Mark Brown --- drivers/regulator/arizona-ldo1.c |4 1 file changed, 4 insertions(+) diff --git a/drivers/regulator/arizona-ldo1.c b/drivers/regulator/arizona-ldo1.c index 128fb94..d184aa3 100644 --- a/drivers/regulator/arizona-ldo1.c +++

Re: [PATCH] kernel/resource.c: fix stack overflow in __reserve_region_with_split

2012-08-27 Thread Ram Pai
On Mon, Aug 27, 2012 at 06:47:54PM -0600, T Makphaibulchoke wrote: > Using recurvise call to try adding a non-conflicting region in the function > __reserve_region_with_split() could result in a stack overflow in the case > that the recursive calls are too deep. Convert the recursive calls to >

RE: [PATCH 2/2] pwm: pwm-tiehrpwm: Add support for configuring polarity of PWM

2012-08-27 Thread Philip, Avinash
On Fri, Aug 24, 2012 at 22:23:14, Thierry Reding wrote: > On Thu, Aug 23, 2012 at 12:30:51PM +0530, Philip, Avinash wrote: > [...] > > diff --git a/drivers/pwm/pwm-tiehrpwm.c b/drivers/pwm/pwm-tiehrpwm.c > [...] > > @@ -100,10 +109,17 @@ > > > > #define NUM_PWM_CHANNEL2 /*

Re: [PATCH 1/2] dw_dmac: make driver endianness configurable

2012-08-27 Thread Viresh Kumar
On 27 August 2012 20:28, Hein Tibosch wrote: >>> +config DW_DMAC_MEM_64_BIT >>> +bool "Allow 64-bit memory transfers" >>> +default y if !AVR32 >>> +depends on DW_DMAC >>> +help >>> + Say yes if the DMA controller may do 64-bit memory transfers >>> + For AVR32, say no

Re: [PATCH v2 5/7] ARM: imx6q: convert to use syscon to access anatop registers

2012-08-27 Thread Richard Zhao
On Mon, Aug 27, 2012 at 03:24:43PM +0800, Dong Aisheng wrote: > From: Dong Aisheng > > Using syscon to access anatop registers. > > Signed-off-by: Dong Aisheng > --- > ChangeLog v1->v2: > * update to use generic regmap api > --- > arch/arm/mach-imx/Kconfig |2 +- >

Re: [PATCH] [RFC]Extcon: Change to add standard cable names in individual drivers.

2012-08-27 Thread anish singh
Hi, Here is the requirement: driver has to give the core the list of standard cable names(exported by the core) and can also specify the custom cable names. Something as this : char *cable_names_supported = { [0] = EXTCON_USB, /*defined in extcon core */ [1] =

Re: [PATCH v2 4/7] regulator: anatop-regulator: convert to use syscon to access anatop register

2012-08-27 Thread Dong Aisheng
On Tue, Aug 28, 2012 at 06:15:35AM +0800, Shawn Guo wrote: > > + sreg->anatop = syscon_regmap_lookup_by_phandle(np, "fsl,anatop"); > > + if (IS_ERR(sreg->anatop)) > > + return PTR_ERR(sreg->anatop); > > + > > All the anatop regulators are child nodes of anatop. It looks a

[PATCHv2] sound: fix emu8000 DRAM sized 512 KiB too small

2012-08-27 Thread David Flater
v2: Fixed result still wrong in the case of 512 KiB DRAM. Oops. Applicable to 3.5.3 mainline. In emu8000.c, size_dram determines the amount of memory on the sound card by doing write/readback tests starting at 512 KiB and incrementing by 512 KiB. On success, detected_size is updated to the

[PATCH v2 1/3] perf tools: Fix a compiling error in trace-event-perl.c for 32 bits machine

2012-08-27 Thread Feng Tang
>From 8e2fe258906fc83869be10a1b4a40ef9acc4a2a6 Mon Sep 17 00:00:00 2001 From: Feng Tang Date: Mon, 27 Aug 2012 14:01:33 +0800 Subject: [PATCH 1/3] perf tools: Fix a compiling error in trace-event-perl.c for 32 bits machine On my x86_32 mahcine, there is a compile error: CC

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

2012-08-27 Thread Dong Aisheng
On Tue, Aug 28, 2012 at 06:08:32AM +0800, Shawn Guo wrote: > On Mon, Aug 27, 2012 at 03:24:39PM +0800, Dong Aisheng wrote: > > From: Dong Aisheng > > > > Add regmap based syscon driver. > > This is usually used for access misc bits in registers which does not belong > > to a specific module, for

Re: [PATCH 1/6] fs/nfsd/nfs4idmap.c: adjust inconsistent IS_ERR and PTR_ERR

2012-08-27 Thread J. Bruce Fields
On Sat, Aug 25, 2012 at 09:57:04PM +0200, Julia Lawall wrote: > From: Julia Lawall > > Change the call to PTR_ERR to access the value just tested by IS_ERR. Applying for 3.7, thanks.--b. > > The semantic match that finds this problem is as follows: > (http://coccinelle.lip6.fr/) > > // > @@

Re: [PATCH] thermal: solve compilation errors in rcar_thermal

2012-08-27 Thread Kuninori Morimoto
Hi > following were the errors reported > > drivers/thermal/rcar_thermal.c: In function ‘rcar_thermal_probe’: > drivers/thermal/rcar_thermal.c:214:10: warning: passing argument 3 of > ‘thermal_zone_device_register’ makes integer from pointer without a cast > [enabled by default] >

Re: [RESEND BUGFIX PATCH 1/3] PCI/AER: fix pci_ops return NULL when hotplug a pci bus which was doing aer error inject

2012-08-27 Thread Yijing Wang
On 2012/8/28 8:38, Huang Ying wrote: > On Mon, 2012-08-27 at 23:05 +0800, Jiang Liu wrote: >> Is it ok to ignore such a case? After all, aer_inject is just a test tool:) >> It's not worth to change the core logic for such a corner case. >> --Gerry > > Why ignore? At least you can prevent

Re: [PATCH] clk.h: Fix shim ifdef guard (HAVE_CLK -> COMMON_CLK)

2012-08-27 Thread Russell King
On Mon, Aug 27, 2012 at 04:53:44PM -0400, Jeff Mahoney wrote: > Should the clk_devm stuff be moved someplace generic? I don't have a > horse in this race. My only interest here is to get these configs to > build again. :) devm_clk_get() should not be in clkdev.c, but should be entirely separate,

Re: [RESEND BUGFIX PATCH 1/3] PCI/AER: fix pci_ops return NULL when hotplug a pci bus which was doing aer error inject

2012-08-27 Thread Yijing Wang
>> bash[5908]: NaT consumption 17179869216 [1] >> Modules linked in: aer_inject cpufreq_conservative cpufreq_userspace >> cpufreq_pow >> ersave acpi_cpufreq binfmt_misc fuse nls_iso8859_1 loop ipmi_si(+) >> ipmi_devintf >> ipmi_msghandler dm_mod ppdev iTCO_wdt iTCO_vendor_support sg igb

[PATCH] kernel/resource.c: fix stack overflow in __reserve_region_with_split

2012-08-27 Thread T Makphaibulchoke
Using recurvise call to try adding a non-conflicting region in the function __reserve_region_with_split() could result in a stack overflow in the case that the recursive calls are too deep. Convert the recursive calls to an iterative loop to avoid the problem. Signed-off-by: T Makphaibulchoke

Re: [RESEND BUGFIX PATCH 1/3] PCI/AER: fix pci_ops return NULL when hotplug a pci bus which was doing aer error inject

2012-08-27 Thread Huang Ying
On Mon, 2012-08-27 at 23:05 +0800, Jiang Liu wrote: > Is it ok to ignore such a case? After all, aer_inject is just a test tool:) > It's not worth to change the core logic for such a corner case. > --Gerry Why ignore? At least you can prevent aer_inject from unload if something special happened.

[PATCH] sound: fix emu8000 DRAM sized 512 KiB too small

2012-08-27 Thread David Flater
[PATCH] sound: fix emu8000 DRAM sized 512 KiB too small Applicable to 3.5.3 mainline. In emu8000.c, size_dram determines the amount of memory on the sound card by doing write/readback tests starting at 512 KiB and incrementing by 512 KiB. On success, detected_size is updated to the successful

Re: [PATCH 13/13] drivers/rtc/rtc-coh901331.c: use clk_prepare_enable and clk_disable_unprepare

2012-08-27 Thread Linus Walleij
On Sun, Aug 26, 2012 at 9:01 AM, Julia Lawall wrote: > I'm not sure about this. Maybe it would be better to leave the disable and > unprepare separated, since there is no matching nearby clk_prepare. This is OK. Acked-by: Linus Walleij Yours, Linus Walleij -- To unsubscribe from this list:

Re: [RFC PATCH 00/11] input: Synaptics RMI4 Touchscreen Driver

2012-08-27 Thread Linus Walleij
On Mon, Aug 27, 2012 at 4:20 PM, Christopher Heiny wrote: > EARLY_SUSPEND/LATE_RESUME and other power management stuff. We're caught in > a bind here. Most of our customers are using some flavor of Android. They > have the expectation that our driver will (a) support the Android power >

[PATCH] userns: Add basic quota support v2

2012-08-27 Thread Eric W. Biederman
Add the data type struct qown which holds the owning identifier of a quota. struct qown is a replacement for the implicit union of uid, gid and project stored in an unsigned int and the quota type field that is was used in the quota data structures. Making the data type explicit allows the

Re: [PATCH] drivers/tty: Folding Android's keyreset driver in sysRQ

2012-08-27 Thread Randy Dunlap
On 08/27/2012 02:43 PM, mathieu.poir...@linaro.org wrote: > From: "Mathieu J. Poirier" > > This patch adds keyreset functionality to the sysrq driver. It > allows certain button/key combinations to be used in order to > trigger device resets. > Please document what button/key combinations

Re: [GIT PULL] at91: fixes for 3.6 (take 1 bis)

2012-08-27 Thread Olof Johansson
On Mon, Aug 27, 2012 at 10:08:07AM +0200, Nicolas Ferre wrote: > Hi, > > This pull request supersedes the previous one from August 24th. It removes > the ASoC SSC part which is now handled by Mark Brown. > > The following changes since commit d9875690d9b89a866022ff49e3fcea892345ad92: > >

Re: [PATCH] ARM: MSM: Implement read_current_timer for msm timers

2012-08-27 Thread Will Deacon
On Mon, Aug 27, 2012 at 10:18:39PM +0100, Stephen Boyd wrote: > Setup the same timer used as the clocksource to be used as the > read_current_timer implementation. This allows us to support a > stable udelay implementation on MSMs where it's possible for the > CPUs to scale speeds independently of

[PATCH 4/6] floppy: properly handle failure on add_disk loop

2012-08-27 Thread Herton Ronaldo Krzesinski
On floppy initialization, if something failed inside the loop we call add_disk, there was no cleanup of previous iterations in the error handling. Cc: sta...@vger.kernel.org Signed-off-by: Herton Ronaldo Krzesinski --- drivers/block/floppy.c | 11 ++- 1 file changed, 10 insertions(+),

[PATCH 5/6] floppy: use common function to check if floppies can be registered

2012-08-27 Thread Herton Ronaldo Krzesinski
The same checks to see if a drive can be or is registered are repeated through the code, factor out the checks in a common function and replace the repeated checks with it. Signed-off-by: Herton Ronaldo Krzesinski --- drivers/block/floppy.c | 23 +-- 1 file changed, 13

[PATCH 6/6] floppy: remove dr, reuse drive on do_floppy_init

2012-08-27 Thread Herton Ronaldo Krzesinski
This is a small cleanup, that also may turn error handling of unitialized disks more readable. We don't need a separate variable to track allocated disks, remove dr and reuse drive variable instead. Signed-off-by: Herton Ronaldo Krzesinski --- drivers/block/floppy.c | 43

[PATCH 3/6] genhd: Make put_disk() safe for disks that have not been registered

2012-08-27 Thread Herton Ronaldo Krzesinski
From: Ben Hutchings Since commit 523e1d3 ('block: make gendisk hold a reference to its queue'), add_disk() adds a reference to disk->queue, which is then dropped by disk_release(). But if a disk is destroyed without being registered through add_disk() (or if add_disk() fails at the first

[PATCH 2/6] floppy: do put_disk on current dr if blk_init_queue fails

2012-08-27 Thread Herton Ronaldo Krzesinski
If blk_init_queue fails, we do not call put_disk on the current dr (dr is decremented first in the error handling loop). Cc: sta...@vger.kernel.org Reviewed-by: Ben Hutchings Signed-off-by: Herton Ronaldo Krzesinski --- drivers/block/floppy.c |1 + 1 file changed, 1 insertion(+) diff

[PATCH 1/6] floppy: don't call alloc_ordered_workqueue inside the alloc_disk loop

2012-08-27 Thread Herton Ronaldo Krzesinski
Since commit 070ad7e ("floppy: convert to delayed work and single-thread wq"), we end up calling alloc_ordered_workqueue multiple times inside the loop, which shouldn't be intended. Besides the leak, other side effect in the current code is if blk_init_queue fails, we would end up calling

Bug fixes/cleanups for floppy driver (v4)

2012-08-27 Thread Herton Ronaldo Krzesinski
Following this are fixes for bugs noticed on floppy driver, and some extra cleanups. Version history below: v2: separate fixes, and incorporate suggestions by Vivek Goyal. also I splitted the cleanups from fixes. v3: remove dr, also this possibly makes error handling more readable

Re: [PATCH v3 4/6] floppy: properly handle failure on add_disk loop

2012-08-27 Thread Herton Ronaldo Krzesinski
On Tue, Aug 14, 2012 at 11:43:11AM -0300, Herton Ronaldo Krzesinski wrote: > On Tue, Aug 14, 2012 at 04:31:23AM +0100, Ben Hutchings wrote: > > On Mon, 2012-08-13 at 15:16 -0300, Herton Ronaldo Krzesinski wrote: > > > On do_floppy_init, if something failed inside the loop we call add_disk, > > >

RE: [PATCH RESEND] x86_dump_trace: avoiding endless " " is printed

2012-08-27 Thread Liu, Chuansheng
> Do you think we should add the same change to dumpstack_64.c too. Feels dumpstack_64.c has different with dumpstack_32 which just has three types stacks for normal thread, hardirq and softirq, so just want to use this patch to cover x86_32 case and it is the real case I meet also, thanks. >

[PATCH 2/5] hwrng: OMAP: store per-device data in per-device variables, not file statics

2012-08-27 Thread Paul Walmsley
Encapsulate all of the RNG per-device state into a single per-device structure record, as opposed to a set of per-driver file variables. Signed-off-by: Paul Walmsley Cc: Matt Mackall Cc: Herbert Xu --- drivers/char/hw_random/omap-rng.c | 115 + 1 file

[PATCH 5/5] hwrng: OMAP: remove SoC restrictions from driver registration

2012-08-27 Thread Paul Walmsley
Remove the SoC restriction code from the OMAP RNG driver. The integration code in arch/arm/*omap* should handle this. The device shouldn't be created if it doesn't exist on the currently-booted SoC. This allows us to remove some OMAP-specific cpu_is_omap*() calls from the driver. Also, if

[PATCH 3/5] hwrng: OMAP: convert to use runtime PM

2012-08-27 Thread Paul Walmsley
Convert the OMAP onboard hardware RNG driver to use runtime PM. This allows us to remove some OMAP-specific cpu_is_omap*() calls from the RNG driver. Signed-off-by: Paul Walmsley Cc: Matt Mackall Cc: Herbert Xu --- drivers/char/hw_random/omap-rng.c | 35 +--

Re: [PATCH 3/3] i2c: nomadik: Add Device Tree support to the Nomadik I2C driver

2012-08-27 Thread Linus Walleij
On Thu, Aug 23, 2012 at 8:01 AM, Lee Jones wrote: > Here we apply the bindings required for successful Device Tree > probing of the i2c-nomadik driver. > > Cc: linux-...@vger.kernel.org > Acked-by: srinidhi kasagar > Signed-off-by: Lee Jones Acked-by: Linus Walleij Yours, Linus Walleij --

Re: [PATCH 1/6] ARM: ux500: don't select LEDS_GPIO for snowball

2012-08-27 Thread Linus Walleij
On Thu, Aug 23, 2012 at 7:26 AM, Arnd Bergmann wrote: > I discussed this with Lee on IRC, he really wants to keep the LED enabled for > snowball > for his own convenience. How is this version instead? Sure, I guess you already merged it though? Acked-by. Yours, Linus Walleij -- To

Re: Q: What will happen if I insmod a new version driver when it has already been statically in kernel?

2012-08-27 Thread Randy Dunlap
On 08/27/2012 03:06 AM, Yang Bai wrote: > Hi all, > > We have one driver which has been statically compiled into kernel, and > now we want to upgrade it. But we only have a new version module for > this driver. Could I just insmod this module and make the new driver > work? No, that should not

[PATCH] ARM: MSM: Fix early debug uart mapping on some memory configs

2012-08-27 Thread Stephen Boyd
The uart mapping runs into the space allocated for lowmem on some 8960 boards when we have more than 512Mb of memory. We were getting lucky before and our mapping wasn't part of DDR. Move the mapping up into the vmalloc area which will always be outside of the lowmem mapping regardless of how much

Re: [PATCH 1/1] Document:add Chinese translation of basic_profiling.txt

2012-08-27 Thread Rob Landley
On 08/27/2012 08:02 AM, Greg KH wrote: > On Mon, Aug 27, 2012 at 05:15:06AM -0500, Rob Landley wrote: >> On 08/26/2012 11:06 AM, liang xie wrote: >>> This is a Chinese translated version of Documentation/basic_profiling.txt >>> >>> Signed-off-by: Liang Xie >> >> Not speaking Chinese, there's

Re: [PATCH v2 1/4] pinctrl: add samsung pinctrl and gpiolib driver

2012-08-27 Thread Linus Walleij
On Tue, Aug 21, 2012 at 9:22 PM, Thomas Abraham wrote: >>> + - samsung,pin-pud: Pull up/down configuration. >>> + - samsung,pin-drv: Drive strength configuration. >>> + - samsung,pin-pud-pdn: Pull up/down configuration in power down mode. >>> + - samsung,pin-drv-pdn: Drive strength

Re: [RFC PATCH 00/11] input: Synaptics RMI4 Touchscreen Driver

2012-08-27 Thread Christopher Heiny
On 08/22/2012 05:50 AM, Linus Walleij wrote: On Sat, Aug 18, 2012 at 12:17 AM, Christopher Heiny wrote: >This patch implements a driver supporting Synaptics ClearPad and other >touchscreen sensors that use the RMI4 protocol, as defined here: Nice! >This patch is against the v2.6.38 tag of

Re: [PATCH 04/22] ASoC: Ux500: Move MSP pinctrl setup into the MSP driver

2012-08-27 Thread Linus Walleij
On Mon, Aug 20, 2012 at 4:59 AM, Lee Jones wrote: > On Tue, Aug 14, 2012 at 10:51:02AM +0200, Linus Walleij wrote: >> But wait. These are just local statics. Surelty you can put these into >> struct ux500_msp instead? Here it looks like these will be used for >> all ports, so MSP2 will enable

Re: [PATCH 13/22] ARM: ux500: Fork MSP platform registration for step-by-step DT enablement

2012-08-27 Thread Linus Walleij
On Mon, Aug 20, 2012 at 1:06 AM, Lee Jones wrote: > On Tue, Aug 14, 2012 at 01:13:49PM +0200, Linus Walleij wrote: >> On Thu, Aug 9, 2012 at 5:47 PM, Lee Jones wrote: >> >> > We've done this before and it worked well last time. Here we're >> > duplicating a complex registration function to ease

Re: [RFC PATCH 00/11] input: Synaptics RMI4 Touchscreen Driver

2012-08-27 Thread Linus Walleij
On Fri, Aug 17, 2012 at 3:17 PM, Christopher Heiny wrote: > This patch implements a driver supporting Synaptics ClearPad and other > touchscreen sensors that use the RMI4 protocol, as defined here: OK I looked over the parts I understood, to my surprise there is a custom GPIO, LED and ADC

Re: [PATCH v2 2/2] Enable Stop_enable mode during configuration of pwm.

2012-08-27 Thread Shawn Guo
On Mon, Aug 27, 2012 at 05:34:32PM +0200, HACHIMI Samir wrote: > From: Samir Hachimi > > Enable Stop_enable mode during configuration of pwm. > Check architecture by looking in driver_data instead of cpu_is_xxx. It does 2 things, and should be split into 2 patches. Also you should have a

Re: [PATCH v3 06/25] docs: Xen ARM DT bindings

2012-08-27 Thread Rob Herring
On 08/16/2012 10:35 AM, Stefano Stabellini wrote: > Add a doc to describe the Xen ARM device tree bindings > > Signed-off-by: Stefano Stabellini > CC: devicetree-disc...@lists.ozlabs.org > CC: David Vrabel > --- > Documentation/devicetree/bindings/arm/xen.txt | 22 ++ > 1

Re: [RFC PATCH 17/17] input: RMI4 F54 analog data reporting

2012-08-27 Thread Linus Walleij
On Fri, Aug 17, 2012 at 3:17 PM, Christopher Heiny wrote: Verbose commit message. > Signed-off-by: Christopher Heiny > +#include > +#include > +#include > +#include > +#include > +#include This is not using the existing in-kernel framework for ADC (which I think is what you're doing),

Re: [RFC PATCH 14/17] input: RMI4 F30 GPIO/LED control

2012-08-27 Thread Linus Walleij
GPIO/LED, nice since I'm a GPIO maintainer I'll take a closer look. If the bus will start doing a lot of non-input business it should live under drivers/mfd but I think this is just one exception, right? On Fri, Aug 17, 2012 at 3:17 PM, Christopher Heiny wrote: (...) > diff --git

[PATCH] script: dtc: clean generated files

2012-08-27 Thread Magnus Damm
From: Magnus Damm Fix "make distclean" to clean up generated dtc files. Without this patch the following files are left around: - dtc-lexer.lex.c - dtc-parser.tab.c - dtc-parser.tab.h Signed-off-by: Magnus Damm --- scripts/dtc/Makefile |2 ++ 1 file changed, 2 insertions(+) ---

Re: [PATCH RT 0/2] [ANNOUNCE] 3.0.41-rt62-rc1 stable review

2012-08-27 Thread Frank Rowand
On 08/24/12 20:49, Steven Rostedt wrote: > > Dear RT Folks, > > This is the RT stable review cycle of patch 3.0.41-rt62-rc1. > > Please scream at me if I messed something up. Please test the patches too. I should have looked harder when Michael requested my patch be applied to the stable

Re: [RFC PATCH 9/17] input: RMI4 F11 multitouch sensing

2012-08-27 Thread Linus Walleij
This patch should definately be reviewed by Henrik Rydberg so include him on the next iteration. On Fri, Aug 17, 2012 at 3:17 PM, Christopher Heiny wrote: Verbose description of what the patch does please. (...) > +++ b/drivers/input/rmi4/rmi_f11.c (...) > +#ifdef CONFIG_RMI4_F11_TYPEB >

Re: [PATCH] Drop ProGear backlight driver

2012-08-27 Thread Alan Cox
On Mon, 27 Aug 2012 16:54:45 +0200 Marcin Juszkiewicz wrote: > From: Marcin Juszkiewicz > > This driver was for ProGear webpad device which was produced in > 2000/2001 and is not available on a market. I no longer have this > hardware so can not even check how Linux works on it. > >

Re: [PATCH v2 1/2] imx6q: pwm: Add device tree support

2012-08-27 Thread Shawn Guo
On Mon, Aug 27, 2012 at 05:34:31PM +0200, HACHIMI Samir wrote: > From: Samir Hachimi > > Add clock look-up for pwm. > Add the pinmux support for pwm. > Several pin can be set to PwmO for the same Pwm. > > Signed-off-by: Samir Hachimi > --- > arch/arm/boot/dts/imx6q.dtsi | 68 >

Re: [PATCH 1/5] drivers:tty:fix up ENOIOCTLCMD error handling

2012-08-27 Thread Alan Cox
On Mon, 27 Aug 2012 15:23:12 +0800 Wanlong Gao wrote: > At commit 07d106d0, Linus pointed out that ENOIOCTLCMD should be > translated as ENOTTY to user mode. > For example: > fd = open("/dev/tty", O_RDWR); > ioctl(fd, -1, ); > > then the errno should be ENOTTY but not EINVAL. > >

Re: kruft cutting

2012-08-27 Thread Max Filippov
On Tue, Aug 28, 2012 at 1:02 AM, Eric Furrmann wrote: > Ok, I know there will be a few old geezers who will get their panties > in a bunch about this but hear me out.. > > So.. i'ts established that the Desktop PC is dead > http://gizmodo.com/5301401/so-long-desktop-pc-you-suck >

Re: [PATCH 4/4] [RFC] ARM: treewide: manually change more mach-*/*.h includes

2012-08-27 Thread Haojian Zhuang
On Wed, Aug 22, 2012 at 9:01 PM, Arnd Bergmann wrote: > These are lots of device drivers that include machine > specific header files from ARM platforms and that are > not easily scriptable. The changes have been found through > manual inspection and should cause no visible changes > because of

Re: [PATCH v2 4/7] regulator: anatop-regulator: convert to use syscon to access anatop register

2012-08-27 Thread Shawn Guo
On Mon, Aug 27, 2012 at 03:24:42PM +0800, Dong Aisheng wrote: > From: Dong Aisheng > > Using syscon to access anatop register. > > Acked-by: Mark Brown > Signed-off-by: Dong Aisheng > --- > ChangeLog v1-v2: > * update to use generic regmap api > --- > arch/arm/boot/dts/imx6q.dtsi |

[PATCH] chipidea: Allow user to select PCI/IMX options

2012-08-27 Thread Jeff Mahoney
The chipidea driver currently has needless ifneq rules in the makefile for things that should be config options. This can be problematic, especially in the IMX case, since the OF_DEVICE dependency will be met on powerpc systems - which don't actually support the hardware via that method. This

Re: [PATCH 3/4] perf: teach perf inject to merge sched_stat_* and sched_switch events (v2)

2012-08-27 Thread Andi Kleen
On Mon, Aug 27, 2012 at 03:56:23PM -0600, David Ahern wrote: > On 8/27/12 2:51 PM, Andi Kleen wrote: > >Andrew Vagin writes: > >> > >>My code saves sched_switch event for each process and when it meets > >>stat_iowait, it reports the sched_switch event, because this event > >>contains a correct

[PATCH] ASoC: ams-delta: fix card initalization failure

2012-08-27 Thread Janusz Krzysztofik
Since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d, 'device-core: Ensure drvdata = NULL when no driver is bound', the Amstrad Delta sound card no longer initializes correctly due to drvdata reset to NULL by an upper layer before the codec device, required for successful card setup, is

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

2012-08-27 Thread Shawn Guo
On Mon, Aug 27, 2012 at 03:24:39PM +0800, Dong Aisheng wrote: > From: Dong Aisheng > > Add regmap based syscon driver. > This is usually used for access misc bits in registers which does not belong > to a specific module, for example, IMX IOMUXC GPR and ANATOP. > With this driver, client can use

Re: [RFC PATCH 8/17] input: RMI4 F09 Built-In Self Test

2012-08-27 Thread Linus Walleij
On Fri, Aug 17, 2012 at 3:17 PM, Christopher Heiny wrote: Put in a verbose description of what this is. (...) > +++ b/drivers/input/rmi4/rmi_f09.c > +/* data specific to fn $09 that needs to be kept around */ > +struct f09_query { > + u8 limit_register_count; > + union { > +

Re: [PATCH 3/3] HWPOISON: prevent inode cache removal to keep AS_HWPOISON sticky

2012-08-27 Thread Naoya Horiguchi
On Mon, Aug 27, 2012 at 08:26:07AM +1000, Dave Chinner wrote: > On Fri, Aug 24, 2012 at 01:24:16PM -0400, Naoya Horiguchi wrote: > > On Fri, Aug 24, 2012 at 02:39:17PM +1000, Dave Chinner wrote: > > > On Thu, Aug 23, 2012 at 10:39:32PM -0400, Naoya Horiguchi wrote: > > > > On Fri, Aug 24, 2012 at

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

2012-08-27 Thread James Morris
On Tue, 28 Aug 2012, James Morris wrote: > On Mon, 27 Aug 2012, Kent Yoder wrote: > > > > I may have missed something, but what do you mean by pullreq patches? > > > > Just the stuff I asked you to pull here. > > Looks like it could be an issue with the development repo I have on my >

Re: HDD problem, software bug, bios bug, or hardware ?

2012-08-27 Thread Borislav Petkov
On Mon, Aug 27, 2012 at 10:01:12AM -0700, Adko Branil wrote: > >Stupid question: have you tried replacing your DIMMs to see whether this > >can be caused by a faulty DRAM? > > I just tried it - i have 2 banks memory each of 1 Mb - i replaced You mean 1 Gb each, right? > the first , then the

Re: [RFC PATCH 7/17] input: RMI4 F01 device control

2012-08-27 Thread Linus Walleij
On Fri, Aug 17, 2012 at 3:17 PM, Christopher Heiny wrote: (...) > +++ b/drivers/input/rmi4/rmi_f01.c (...) > +union f01_device_commands { > + struct { > + u8 reset:1; > + u8 reserved:1; I would just use bool for one-bit variables. But I see that some protocol

Re: [PATCH] exynos-rng: Depend on ARCH_EXYNOS

2012-08-27 Thread Jeff Mahoney
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/27/12 5:37 PM, Mark Brown wrote: > On Mon, Aug 27, 2012 at 05:25:59PM -0400, Jeff Mahoney wrote: >> On 8/27/12 5:18 PM, Stephen Boyd wrote: > >>> Hmm the point of making it not depend on ARCH_EXYNOS was so >>> that it would get more build

Re: [PATCH 3/4] perf: teach perf inject to merge sched_stat_* and sched_switch events (v2)

2012-08-27 Thread David Ahern
On 8/27/12 2:51 PM, Andi Kleen wrote: Andrew Vagin writes: My code saves sched_switch event for each process and when it meets stat_iowait, it reports the sched_switch event, because this event contains a correct callchain. By another words it replaces all stat_iowait events on proper

Re: [PATCH RFC 0/3] Add guest cpu_entitlement reporting

2012-08-27 Thread Michael Wolf
On Mon, 2012-08-27 at 14:41 -0700, Glauber Costa wrote: > On 08/27/2012 02:27 PM, Michael Wolf wrote: > > On Mon, 2012-08-27 at 13:31 -0700, Avi Kivity wrote: > >> On 08/27/2012 01:23 PM, Michael Wolf wrote: > > How would a guest know what its entitlement is? > > > >>> > >>>

Re: [PATCH RFC 0/3] Add guest cpu_entitlement reporting

2012-08-27 Thread Avi Kivity
On 08/27/2012 02:27 PM, Michael Wolf wrote: > On Mon, 2012-08-27 at 13:31 -0700, Avi Kivity wrote: > > On 08/27/2012 01:23 PM, Michael Wolf wrote: > > > > > > > > How would a guest know what its entitlement is? > > > > > > > > > > > > > > Currently the Admin/management tool setting up the

Re: [PATCH RFC 0/3] Add guest cpu_entitlement reporting

2012-08-27 Thread Glauber Costa
On 08/27/2012 02:27 PM, Michael Wolf wrote: > On Mon, 2012-08-27 at 13:31 -0700, Avi Kivity wrote: >> On 08/27/2012 01:23 PM, Michael Wolf wrote: How would a guest know what its entitlement is? >>> >>> Currently the Admin/management tool setting up the guests will put it on >>>

[PATCH] drivers/tty: Folding Android's keyreset driver in sysRQ

2012-08-27 Thread mathieu . poirier
From: "Mathieu J. Poirier" This patch adds keyreset functionality to the sysrq driver. It allows certain button/key combinations to be used in order to trigger device resets. The first time the key-combo is detected a work function that syncs the filesystems is scheduled and the kernel

Re: [PATCH] ASoC: ams-delta: fix card initalization failure

2012-08-27 Thread Mark Brown
On Mon, Aug 27, 2012 at 11:28:30PM +0200, Janusz Krzysztofik wrote: > - platform_set_drvdata(ams_delta_audio_platform_device, > - _delta_audio_card); > - > - ret = platform_device_add(ams_delta_audio_platform_device); > - if (ret) > - goto err;

Re: [PATCH] exynos-rng: Depend on ARCH_EXYNOS

2012-08-27 Thread Mark Brown
On Mon, Aug 27, 2012 at 05:25:59PM -0400, Jeff Mahoney wrote: > On 8/27/12 5:18 PM, Stephen Boyd wrote: > > Hmm the point of making it not depend on ARCH_EXYNOS was so that > > it would get more build coverage. Is it devm_clk_get() that's > > missing? I believe Mark Brown sent some patches that

Re: [PATCH] NFS: Fix Oopses in nfs_lookup_revalidate and nfs4_lookup_revalidate

2012-08-27 Thread Ben Hutchings
On Mon, 2012-08-27 at 20:16 +, Myklebust, Trond wrote: > On Mon, 2012-08-27 at 13:09 -0700, Greg KH wrote: > > On Wed, Aug 22, 2012 at 04:08:17PM -0400, Trond Myklebust wrote: > > > Fix the following Oops in 3.5.1: [...] > > > This Oops affects 3.5 kernels and older, and is due to

Re: [PATCH RFC 0/3] Add guest cpu_entitlement reporting

2012-08-27 Thread Michael Wolf
On Mon, 2012-08-27 at 13:31 -0700, Avi Kivity wrote: > On 08/27/2012 01:23 PM, Michael Wolf wrote: > > > > > > How would a guest know what its entitlement is? > > > > > > > > > > Currently the Admin/management tool setting up the guests will put it on > > the qemu commandline. From this it is

Re: [PATCH] exynos-rng: Depend on ARCH_EXYNOS

2012-08-27 Thread Jeff Mahoney
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/27/12 5:18 PM, Stephen Boyd wrote: > On 8/27/2012 2:02 PM, Jeff Mahoney wrote: >> The exynos-rng device is only found on Samsung EXYNOS devices but >> has dependencies that allow it to be built on other >> architectures. This can result in build

Re: [PATCH] exynos-rng: Depend on ARCH_EXYNOS

2012-08-27 Thread Mark Brown
On Mon, Aug 27, 2012 at 02:18:33PM -0700, Stephen Boyd wrote: > On 8/27/2012 2:02 PM, Jeff Mahoney wrote: > > The exynos-rng device is only found on Samsung EXYNOS devices but has > > dependencies that allow it to be built on other architectures. This > > can result in build failures on powerpc

Re: [PATCH] exynos-rng: Depend on ARCH_EXYNOS

2012-08-27 Thread Stephen Boyd
On 8/27/2012 2:02 PM, Jeff Mahoney wrote: > The exynos-rng device is only found on Samsung EXYNOS devices but has > dependencies that allow it to be built on other architectures. This > can result in build failures on powerpc due to a missing clk_devm_get. > > This patch makes it depend on

[PATCH] ARM: MSM: Implement read_current_timer for msm timers

2012-08-27 Thread Stephen Boyd
Setup the same timer used as the clocksource to be used as the read_current_timer implementation. This allows us to support a stable udelay implementation on MSMs where it's possible for the CPUs to scale speeds independently of one another. Signed-off-by: Stephen Boyd --- I have some patches

Re: [PATCH for-3.6] kvm: fix KVM_GET_MSR for PV EOI

2012-08-27 Thread Marcelo Tosatti
On Mon, Aug 27, 2012 at 05:47:42PM -0300, Marcelo Tosatti wrote: > On Sun, Aug 26, 2012 at 06:00:29PM +0300, Michael S. Tsirkin wrote: > > KVM_GET_MSR was missing support for PV EOI, > > which is needed for migration. > > > > Signed-off-by: Michael S. Tsirkin > > --- > > > > Please consider

  1   2   3   4   5   6   7   8   >