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

2012-11-07 Thread Philip, Avinash
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 PWM subsystem common config space. 4. When here set .owner member in

[PATCH v2 05/10] pwm: pwm-tiecap: pinctrl support

2012-11-07 Thread Philip, Avinash
Enable pinctrl for pwm-tiecap Signed-off-by: Philip, Avinash --- :100644 100644 0d43266... 6071f7a... M drivers/pwm/pwm-tiecap.c drivers/pwm/pwm-tiecap.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/drivers/pwm/pwm-tiecap.c b/drivers/pwm/pwm-tiecap.c index

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

2012-11-07 Thread Philip, Avinash
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 configuration from device tree. 3. Add enable/disable clock gating in PWM subsystem common config space. 4. When here set .owner member

[PATCH v2 03/10] ARM: OMAP: AM33xx hwmod: Add parent-child relationship for PWM subsystem

2012-11-07 Thread Philip, Avinash
As part of PWM subsystem integration, PWM subsystem are sharing resources like clock across submodules (ECAP, EQEP & EHRPWM). To handle resource sharing & IP integration 1. Rework on parent child relation between PWMSS and ECAP, EQEP & EHRPWM child devices to support runtime PM. 2. Add support

[PATCH v2 02/10] ARM: am33xx: clk: Add optional clock for EHRPWM

2012-11-07 Thread Philip, Avinash
EHRPWM module requires explicit clock gating from control module. Hence add clock node in clock tree for EHRPWM modules. Signed-off-by: Philip, Avinash --- :100644 100644 17e3de5... 833260f... M arch/arm/mach-omap2/clock33xx_data.c :100644 100644 a89e825... c0e34e6... M

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

2012-11-07 Thread Philip, Avinash
In some platforms (like am33xx), PWM sub modules (ECAP, EHRPWM, EQEP) are integrated to PWM subsystem. These PWM submodules has resources shared and only one register bit-field is provided to control module/clock enable/disable, makes it difficult to handle common resources from independent PWMSS

[PATCH v2 00/10] Support for AM33xx PWM Susbsytem

2012-11-07 Thread Philip, Avinash
In AM33xx PWM sub modules like ECAP, EHRPWM & EQEP are integrated to PWM subsystem. All these submodules shares the resources (clock) & has a clock gating register in PWM Subsystem. This patch series creates a parent PWM Subsystem driver to handle access synchronization of shared resources &

Re: [PATCH 3/3] pwm: New driver to support PWM driven LEDs on TWL4030/6030 series of PMICs

2012-11-07 Thread Péter Ujfalusi
On 11/07/2012 07:12 PM, Grazvydas Ignotas wrote: >> +static int twl4030_pwmled_config(struct pwm_chip *chip, struct pwm_device >> *pwm, >> + int duty_ns, int period_ns) >> +{ >> + int duty_cycle = (duty_ns * TWL4030_LED_MAX) / period_ns; >> + u8 on_time; >>

Re: A reliable kernel panic (3.6.2) and system crash when visiting a particular website

2012-11-07 Thread Daniel Mack
On 08.11.2012 07:43, Takashi Iwai wrote: > At Thu, 08 Nov 2012 01:42:59 +0100, > Daniel Mack wrote: >> >> On 07.11.2012 20:19, Takashi Iwai wrote: >>> At Wed, 7 Nov 2012 12:34:43 -0500 (EST), >>> Alan Stern wrote: On Mon, 5 Nov 2012, Christof Meerwald wrote: > BTW, I have been

Re: [PATCH 4/4] Staging: winbond: wb35rx_s: Fixed coding style issue

2012-11-07 Thread Dan Carpenter
It's better to use more descriptive subjects on the patches. This one could probably have been broken into smaller patches [patch 4/x] Staging: winbond: wb35rx_s: fix white space [patch 5/x] Staging: winbond: wb35rx_s: fix comments [patch 6/x] Staging: winbond: wb35rx_s: allow header to be

Re: [PATCH 2/3] pwm: New driver to support PWMs on TWL4030/6030 series of PMICs

2012-11-07 Thread Péter Ujfalusi
On 11/07/2012 06:50 PM, Grazvydas Ignotas wrote: >> +static int twl4030_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) >> +{ >> + int ret; >> + u8 val; >> + >> + ret = twl_i2c_read_u8(TWL4030_MODULE_INTBR, , TWL4030_GPBR1_REG); >> + if (ret < 0) { >> +

Re: [PATCH v6 25/29] memcg/sl[au]b: shrink dead caches

2012-11-07 Thread Glauber Costa
On 11/07/2012 11:46 PM, Andrew Morton wrote: > On Wed, 7 Nov 2012 10:22:17 +0100 > Glauber Costa wrote: > > container synchronously. If those objects are normally left floating > around in an allocated but reclaimable state then we can address that > by synchronously freeing them if

Re: [RFC PATCH v1 08/31] ARC: Fundamental ARCH data-types/defines

2012-11-07 Thread Jonas Bonn
On 7 November 2012 10:47, Vineet Gupta wrote: > diff --git a/arch/arc/include/asm/ptrace.h b/arch/arc/include/asm/ptrace.h > new file mode 100644 > index 000..c178357 > --- /dev/null > +++ b/arch/arc/include/asm/ptrace.h > @@ -0,0 +1,120 @@ > +/* THE pt_regs: Defines how regs are saved during

Re: [PATCH] gpio: mvebu: Set free callback for gpio_chip

2012-11-07 Thread Thomas Petazzoni
On Thu, 08 Nov 2012 10:27:29 +0800, Axel Lin wrote: > We call pinctrl_request_gpio() in request callback, thus we need to call > pinctrl_free_gpio() in free callback. > > Both mvebu_gpio_request() and mvebu_gpio_free() are not referenced outside of > this file, make them static. Indeed, thanks.

[PATCH v5] staging: ste_rmi4: Convert to Type-B support

2012-11-07 Thread Alexandra Chin
Convert to MT-B because Synaptics touch devices are capable of tracking identifiable fingers. Signed-off-by: Alexandra Chin --- Changes from v5: - Incorporated Henrik's review comments *rollback to v3 from v4 *fix odd line break in v3 - Include Alexandra in

Re: [RFC PATCH 00/19] Foundation for automatic NUMA balancing

2012-11-07 Thread Zhouping Liu
On 11/08/2012 02:39 PM, 杨竹 wrote: > Hi all: > I got a problem: > 1. on intel cpu xeon E5000 family which support xapic ,one NIC > irq can share on the CPUs basic on smp_affinity. > 2. but on intel cpu xeon E5-2600 family which support x2apic, one > NIC irq only on

[PATCH] mm: remove watermark hacks for CMA

2012-11-07 Thread Marek Szyprowski
Commits 2139cbe627b89 ("cma: fix counting of isolated pages") and d95ea5d18e69951 ("cma: fix watermark checking") introduced a reliable method of free page accounting when memory is being allocated from CMA regions, so the workaround introduced earlier by commit 49f223a9cd96c72 ("mm: trigger page

[PATCH] mm: skip watermarks check for already isolated blocks in split_free_page()

2012-11-07 Thread Marek Szyprowski
Since commit 2139cbe627b8 ("cma: fix counting of isolated pages") free pages in isolated pageblocks are not accounted to NR_FREE_PAGES counters, so watermarks check is not required if one operates on a free page in isolated pageblock. Signed-off-by: Marek Szyprowski --- mm/page_alloc.c | 10

[PATCH 1/1] v3.0.x: mtd: check partition count not partition array pointer

2012-11-07 Thread Anthony Foiani
mtd: check partition count not partition array pointer The documentation claims that "nr_parts" is the determining factor, while the code originally tested whether "parts" is non-null. In at least one driver (fsl_elbc_nand), parts is never initialized to 0; even though nr_parts is correctly 0,

Re: [PATCH v6 28/29] slub: slub-specific propagation changes.

2012-11-07 Thread Glauber Costa
On 11/07/2012 04:53 PM, Sasha Levin wrote: > On 11/01/2012 08:07 AM, Glauber Costa wrote: >> SLUB allows us to tune a particular cache behavior with sysfs-based >> tunables. When creating a new memcg cache copy, we'd like to preserve >> any tunables the parent cache already had. >> >> This can be

Re: A reliable kernel panic (3.6.2) and system crash when visiting a particular website

2012-11-07 Thread Takashi Iwai
At Wed, 7 Nov 2012 15:37:17 -0500 (EST), Alan Stern wrote: > > On Wed, 7 Nov 2012, Takashi Iwai wrote: > > > > What is the right solution for this problem? > > > > How about the patch below? (It's for 3.6, and won't be applied cleanly > > to 3.7, but easy to adapt.) > > I simplified your

[PATCH]backlight: lm3639: fix coccinelle warning.

2012-11-07 Thread G.Shark Jeong
From: "G.Shark Jeong" Fix coccinelle warning. Signed-off-by: G.Shark Jeong --- drivers/video/backlight/lm3639_bl.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/backlight/lm3639_bl.c b/drivers/video/backlight/lm3639_bl.c index 585949b..868a9da

Re: A reliable kernel panic (3.6.2) and system crash when visiting a particular website

2012-11-07 Thread Takashi Iwai
At Thu, 08 Nov 2012 01:42:59 +0100, Daniel Mack wrote: > > On 07.11.2012 20:19, Takashi Iwai wrote: > > At Wed, 7 Nov 2012 12:34:43 -0500 (EST), > > Alan Stern wrote: > >> > >> On Mon, 5 Nov 2012, Christof Meerwald wrote: > >> > >>> BTW, I have been able to reproduce the problem on a completely >

Re: PT_EXITKILL (Was: pdeath_signal)

2012-11-07 Thread Amnon Shiloh
Dear Oleg, Thanks for the patch, I tried it and it works nicely! (except that I have no "include/uapi/" directory for "include/uapi/linux/ptrace.h", so I applied that part of the patch to "include/linux/ptrace.h" as well). Also, I just noticed that this new option (PTRACE_O_EXITKILL) is not

[PATCH] mm: dmapool: use provided gfp flags for all dma_alloc_coherent() calls

2012-11-07 Thread Marek Szyprowski
dmapool always calls dma_alloc_coherent() with GFP_ATOMIC flag, regardless the flags provided by the caller. This causes excessive pruning of emergency memory pools without any good reason. This patch changes the code to correctly use gfp flags provided by the dmapool caller. This should solve the

Re: [RFC PATCH 00/19] Foundation for automatic NUMA balancing

2012-11-07 Thread Zhouping Liu
On 11/07/2012 11:25 PM, Mel Gorman wrote: On Wed, Nov 07, 2012 at 05:27:12PM +0800, Zhouping Liu wrote: Hello Mel, my 2 nodes machine hit a panic fault after applied the patch set(based on kernel-3.7.0-rc4), please review it: Early initialisation problem by the looks of things. Try this

[PATCH] gpio: tegra: read output value when gpio is set in direction_out

2012-11-07 Thread Laxman Dewangan
Read the output value when gpio is set for the output mode for gpio_get_value(). Reading input value in direction out does not give correct value. Signed-off-by: Laxman Dewangan --- drivers/gpio/gpio-tegra.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git

Re: [PATCH 1/4] thermal: Add new thermal trend type to support quick cooling

2012-11-07 Thread Amit Kachhap
On 8 November 2012 11:31, Zhang Rui wrote: > On Thu, 2012-11-08 at 09:56 +0530, Amit Daniel Kachhap wrote: >> This modification adds 2 new thermal trend type THERMAL_TREND_RAISE_FULL >> and THERMAL_TREND_DROP_FULL. This thermal trend can be used to quickly >> jump to the upper or lower cooling

82571EB: Detected Hardware Unit Hang

2012-11-07 Thread Joe Jin
Hi list, IHAC reported "82571EB Detected Hardware Unit Hang" on HP ProLiant DL360 G6, and have to reboot the server to recover: e1000e :06:00.1: eth3: Detected Hardware Unit Hang: TDH <1a> TDT <1a> next_to_use <1a> next_to_clean<18>

Re: + binfmt_elfc-use-get_random_int-to-fix-entropy-depleting.patch added to -mm tree

2012-11-07 Thread Jeff Liu
On 11/07/2012 11:10 PM, Kees Cook wrote: > On Wed, Nov 7, 2012 at 1:32 AM, Theodore Ts'o wrote: >> On Tue, Nov 06, 2012 at 05:11:17PM -0800, Kees Cook wrote: >>> Hrm, I don't like this. get_random_int() specifically says: "Get a >>> random word for internal kernel use only." The intent of

Re: How about a gpio_get(device *, char *) function?

2012-11-07 Thread Alex Courbot
On Thursday 08 November 2012 05:24:19 Linus Walleij wrote: > On Tue, Nov 6, 2012 at 2:33 AM, Alex Courbot wrote: > > How about, in a first time (and because I'd also like to get the power > > seqs > > moving on), a typedef from int to gpio_handle_t and a first implementation > > of the

Re: [PATCH] rtc: avoid calling platform_device_put() twice in test_init()

2012-11-07 Thread Wei Yongjun
On 11/07/2012 08:51 AM, Andrew Morton wrote: > On Tue, 23 Oct 2012 13:08:41 +0800 > Wei Yongjun wrote: > >> From: Wei Yongjun >> >> In case of error, the function test_init() need to call >> platform_device_del() instead of platform_device_unregister(). >> Otherwise, we may call

Re: How about a gpio_get(device *, char *) function?

2012-11-07 Thread Alex Courbot
On Thursday 08 November 2012 05:24:19 Linus Walleij wrote: > I would prefer to create, e.g. in > something like: > > struct gpio; > > struct gpio *gpio_get(struct device *dev, const char *name); > > int gpio_get_value(struct gpio *g); > > Nothing more! I.e. struct gpio is an opaque cookie,

Re: [PATCH 1/4] thermal: Add new thermal trend type to support quick cooling

2012-11-07 Thread Zhang Rui
On Thu, 2012-11-08 at 09:56 +0530, Amit Daniel Kachhap wrote: > This modification adds 2 new thermal trend type THERMAL_TREND_RAISE_FULL > and THERMAL_TREND_DROP_FULL. This thermal trend can be used to quickly > jump to the upper or lower cooling level instead of incremental increase > or

[PATCH v2 2/2] Xen/acpi: revert pad config check in xen_check_mwait

2012-11-07 Thread Liu, Jinsong
With Xen acpi pad logic added into kernel, we can now revert xen mwait related patch df88b2d96e36d9a9e325bfcd12eb45671cbbc937. The reason is, when running under newer Xen platform, Xen pad driver would be early loaded, so native pad driver would fail to be loaded, and hence no mwait/monitor #UD

[PATCH v2 1/2] Xen/acpi: ACPI PAD driver

2012-11-07 Thread Liu, Jinsong
PAD is acpi Processor Aggregator Device which provides a control point that enables the platform to perform specific processor configuration and control that applies to all processors in the platform. This patch is to implement Xen acpi pad logic. When running under Xen virt platform, native pad

Re: [PATCH v7 0/3] Add modules to support realtek PCIE card reader

2012-11-07 Thread wwang
于 2012年11月08日 12:01, Alex Dubov 写道: Hi, Do you have any comment on the MEMSTICK part in this v7 patchset? Can you help to merge the patch to the kernel tree? I'm afraid that presently I don't have much time to look at the memstick related stuff any further. Hopefully, somebody else can step

Re: [PATCH 1/2] gpio: tegra: Staticize non-exported symbols

2012-11-07 Thread Stephen Warren
On 11/07/2012 07:45 PM, Axel Lin wrote: > Both tegra_gpio_request() and tegra_gpio_free() are not referenced outside of > this file, make them static. Both patches, Acked-by: Stephen Warren -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH v2] mmc: core: Add support for idle time BKOPS

2012-11-07 Thread Jaehoon Chung
Hi Maya, I tested with dw-mmc controller. It's look good to me. Tested-by: Jaehoon Chung On 11/07/2012 01:28 PM, me...@codeaurora.org wrote: > Hi Jaehoon, > > Any update on this patch review and testing? > > Thanks, > Maya > On Mon, October 15, 2012 11:53 pm, Jaehoon Chung wrote: >> Hi

Re: crash in rb_insert_color()

2012-11-07 Thread xrjrunning
i 在 2008年2月2日星期六UTC+8上午1时27分50秒,Zoltan Menyhart写道: > I have got a crash on an 8 processor ia64 machine with the kernel 2.6.18.8: > > [] ia64_fault+0x14b0/0x1600 > sp=e0019ea5f930 bsp=e0019ea51408 > r32 : 001a r33 : 00040020 r34 :

Re: [PATCH] xfs: add hot tracking support.

2012-11-07 Thread Dave Chinner
On Wed, Nov 07, 2012 at 04:38:23PM +0800, Zhi Yong Wu wrote: > HI, Dave, > > I guess that you should add some hot tracking stuff in some > xfs_show_xxx function, right? Yes, it should - I thought I did that. I recall seeing int /proc/mounts, but maybe I was just hallucinating. I'll send an

Re: [PATCH] eCryptfs: Avoid unnecessary disk read and data decryption during writing

2012-11-07 Thread Tyler Hicks
On 2012-10-30 19:52:40, Li Wang wrote: > ecryptfs_write_begin grabs a page from page cache for writing. > If the page contains invalid data, or data older than the > counterpart on the disk, eCryptfs will read out the > corresponing data from the disk into the page, decrypt them, > then perform

[ANNOUNCE] kmod 11

2012-11-07 Thread Lucas De Marchi
kmod 11 is out: ftp://ftp.kernel.org/pub/linux/utils/kernel/kmod/kmod-11.tar.xz ftp://ftp.kernel.org/pub/linux/utils/kernel/kmod/kmod-11.tar.sign This is the greatest release ever for those using compressed modules (I'd like to rather remove it, but some distros are using it so it's unlikely to

Re: [PATCH 6/9] cgroup_freezer: make freezer->state mask of flags

2012-11-07 Thread Kamezawa Hiroyuki
(2012/11/08 13:42), Tejun Heo wrote: Hello, Kame. On Thu, Nov 08, 2012 at 01:37:50PM +0900, Kamezawa Hiroyuki wrote: How about enum { __CGROUP_FREEZING, __CGROUP_FROZEN, }; #define CGROUP_FREEZER_STATE_MASK 0x3 #define CGROUP_FREEZER_STATE(state) ((state) &

Re: [PATCH 7/9] cgroup_freezer: introduce CGROUP_FREEZING_[SELF|PARENT]

2012-11-07 Thread Kamezawa Hiroyuki
(2012/11/08 13:45), Tejun Heo wrote: Hello, On Thu, Nov 08, 2012 at 01:42:22PM +0900, Kamezawa Hiroyuki wrote: (2012/11/03 17:38), Tejun Heo wrote: Introduce FREEZING_SELF and FREEZING_PARENT and make FREEZING OR of the two flags. This is to prepare for full hierarchy support.

linux-next: Tree for Nov 8

2012-11-07 Thread Stephen Rothwell
Hi all, Changes since 20121107: The pci tree still has its build failure for which I applied a merge fix patch. The v4l-dvb tree still has its build failure so I used the version from next-20121026. The pinctrl tree still has its build failure for which I applied a patch

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

2012-11-07 Thread Kukjin Kim
Bartlomiej Zolnierkiewicz wrote: > > > Hmm...above change and adding definition of EXYNOS_PA_S_MDMA1 address > > can fix the problem you commented on EXYNOS4210 Rev0 without others?... > > The problem is affecting only EXYNOS4210 Rev0 and the fix is applied only > for case when

Re: [PATCH 8/9] cgroup_freezer: add ->post_create() and ->pre_destroy() and track online state

2012-11-07 Thread Kamezawa Hiroyuki
(2012/11/03 17:38), Tejun Heo wrote: > A cgroup is online and visible to iteration between ->post_create() > and ->pre_destroy(). This patch introduces CGROUP_FREEZER_ONLINE and > toggles it from the newly added freezer_post_create() and > freezer_pre_destroy() while holding freezer->lock such

Re: ACPI errors with 3.7-rc3

2012-11-07 Thread Greg KH
On Wed, Nov 07, 2012 at 10:49:40PM +0100, 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

Re: [PATCH 7/9] cgroup_freezer: introduce CGROUP_FREEZING_[SELF|PARENT]

2012-11-07 Thread Tejun Heo
Hello, On Thu, Nov 08, 2012 at 01:42:22PM +0900, Kamezawa Hiroyuki wrote: > (2012/11/03 17:38), Tejun Heo wrote: > >Introduce FREEZING_SELF and FREEZING_PARENT and make FREEZING OR of > >the two flags. This is to prepare for full hierarchy support. > > > >freezer_apply_date() is updated such

Re: [PATCH] Thermal: exynos: Add support for temperature falling interrupt.

2012-11-07 Thread Amit Kachhap
Hi Jonghwa Lee, Adding Zhang Rui and Durgadoss. I reviewed and tested this patch. This is a nice feature to have but this will not call the cpufreq cooling device properly as thermal framework calls the frequency states in a step wise fashion which is not possible if we disable polling

Re: [PATCH 6/9] cgroup_freezer: make freezer->state mask of flags

2012-11-07 Thread Tejun Heo
Hello, Kame. On Thu, Nov 08, 2012 at 01:37:50PM +0900, Kamezawa Hiroyuki wrote: > How about > enum { >__CGROUP_FREEZING, >__CGROUP_FROZEN, > }; > > #define CGROUP_FREEZER_STATE_MASK 0x3 > #define CGROUP_FREEZER_STATE(state) ((state) & CGROUP_FREEZER_STATE_MASK) > #define

Re: [PATCH 7/9] cgroup_freezer: introduce CGROUP_FREEZING_[SELF|PARENT]

2012-11-07 Thread Kamezawa Hiroyuki
(2012/11/03 17:38), Tejun Heo wrote: Introduce FREEZING_SELF and FREEZING_PARENT and make FREEZING OR of the two flags. This is to prepare for full hierarchy support. freezer_apply_date() is updated such that it can handle setting and clearing of both flags. The two flags are also exposed to

Re: [PATCH 6/9] cgroup_freezer: make freezer->state mask of flags

2012-11-07 Thread Kamezawa Hiroyuki
(2012/11/03 17:38), Tejun Heo wrote: freezer->state was an enum value - one of THAWED, FREEZING and FROZEN. As the scheduled full hierarchy support requires more than one freezing condition, switch it to mask of flags. If FREEZING is not set, it's thawed. FREEZING is set if freezing or frozen.

Re: [PATCH -next] ACPI: fix missing unlock on error in acpi_memory_remove_memory()

2012-11-07 Thread Wei Yongjun
Hi Wen, On 11/08/2012 09:31 AM, Wen Congyang wrote: > Hi, wei > > At 11/07/2012 08:38 PM, Wei Yongjun Wrote: >> From: Wei Yongjun >> >> Add the missing mutex_unlock() before return from function >> acpi_memory_remove_memory() in the error handling case. >> >> Introduce by commit

Re: [PATCH 1/2] gpio: tegra: create irq mapping in gpio_to_irq

2012-11-07 Thread Laxman Dewangan
On Wednesday 07 November 2012 10:38 PM, Stephen Warren wrote: On 11/07/2012 08:01 AM, Laxman Dewangan wrote: The gpio interrupts get mapped linearly and hence the mapping of irq need to be created by irq_create_mapping(). The function gpio_to_irq() returns the irq by irq_find_mapping() and so

[PATCH 3/4] thermal: exynos: Miscellaneous fixes to support falling threshold interrupt

2012-11-07 Thread Amit Daniel Kachhap
Below fixes are done to support falling threshold interrupt, * Falling interrupt status macro corrected according to exynos5 data sheet. * The get trend function modified to calculate trip temperature correctly. * The clearing of interrupt status in the isr is now done after handling the the

[PATCH 2/4] Thermal: exynos: Add support for temperature falling interrupt.

2012-11-07 Thread Amit Daniel Kachhap
From: Jonghwa Lee This patch introduces using temperature falling interrupt in exynos thermal driver. Former patch, it only use polling way to check whether if system themperature is fallen. However, exynos SOC also provides temperature falling interrupt way to do same things by hw. This feature

[PATCH 1/4] thermal: Add new thermal trend type to support quick cooling

2012-11-07 Thread Amit Daniel Kachhap
This modification adds 2 new thermal trend type THERMAL_TREND_RAISE_FULL and THERMAL_TREND_DROP_FULL. This thermal trend can be used to quickly jump to the upper or lower cooling level instead of incremental increase or decrease. This is needed for temperature sensors which support rising/falling

[PATCH 0/4] thermal: Add support for interrupt based notification to thermal layer

2012-11-07 Thread Amit Daniel Kachhap
The patch submitted by Jonghwa Lee (https://patchwork.kernel.org/patch/1683441/) adds support for interrupt based notification to thermal layer. This is a good feature but the current thermal framework needs polling/regular notification for invoking suitable cooling action. So adding 2 new thermal

Re: [PATCH 5/9] cgroup_freezer: prepare freezer_change_state() for full hierarchy support

2012-11-07 Thread Kamezawa Hiroyuki
(2012/11/03 17:38), Tejun Heo wrote: * Make freezer_change_state() take bool @freeze instead of enum freezer_state. * Separate out freezer_apply_state() out of freezer_change_state(). This makes freezer_change_state() a rather silly thin wrapper. It will be filled with hierarchy

[PATCH V2] gpio: tegra: fix suspend/resume apis

2012-11-07 Thread Laxman Dewangan
Following are changes done to fix the suspend/resume functionality of tegra gpio driver: - Protect suspend/resume callbacks with CONFIG_PM_SLEEP because CONFIG_PM doesn't actually enable any of the PM callbacks, it only allows to enable CONFIG_PM_SLEEP and CONFIG_PM_RUNTIME. This means if

Re: [PATCH v7 0/3] Add modules to support realtek PCIE card reader

2012-11-07 Thread Alex Dubov
> > > Hi Alex: Hi, > > Do you have any comment on the MEMSTICK part in this v7 patchset? Can > you help to merge the patch to the kernel tree? I'm afraid that presently I don't have much time to look at the memstick related stuff any further. Hopefully, somebody else can step in and take

Re: [PATCH -v3 0/7] x86: Use BRK to pre mapping page table to make xen happy

2012-11-07 Thread Yinghai Lu
On Wed, Nov 7, 2012 at 5:40 PM, Konrad Rzeszutek Wilk wrote: > > I ran in a problem with launching an 8GB guest. When launching a 4GB it worked > fine, but with 8GB I get: > > .00] init_memory_mapping: [mem 0x1f400-0x1f47f] > [0.00] [mem 0x1f400-0x1f47f] page 4k > [

RE: [PATCH v4] staging: ste_rmi4: Convert to Type-B support

2012-11-07 Thread Alexandra Chin
Hi Henrik. > > Convert to MT-B because Synaptics touch devices are capable of tracking > > identifiable fingers. > > > > Signed-off-by: Alexandra Chin > > --- > > Changes from v4: > > - Incorporated Henrik's review comments > > *split function synpatics_rmi4_touchscreen_report

Re:If you need, call me pls then we talk details.

2012-11-07 Thread Shibakawa ink
High quality color ink, good price, close to the original one. Duplicator ink and master, copier toner and printer cartridge, spare parts and used machineone package service If you need, call me pls then we talk details. (*^__^*). Skype: luckyme991 Yahoo! Messenger:

Re: [PATCH 4/9] cgroup_freezer: trivial cleanups

2012-11-07 Thread Kamezawa Hiroyuki
(2012/11/03 17:38), Tejun Heo wrote: * Clean-up indentation and line-breaks. Drop the invalid comment about freezer->lock. * Make all internal functions take @freezer instead of both @cgroup and @freezer. Signed-off-by: Tejun Heo Reviewed-by: KAMEZAWA Hiroyuki -- To unsubscribe

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

2012-11-07 Thread Kamezawa Hiroyuki
(2012/11/03 17:38), 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. > > *

Re: [PATCH v2] MODSIGN: Only sign modules if built in-tree

2012-11-07 Thread Bruno Wolff III
On Wed, Nov 07, 2012 at 13:21:41 -0600, Bruno Wolff III wrote: I tested building dahdi-linux with kernel-3.7.0-0.rc4.git1.1.fc19 which has this patch and the build went fine. I won't be able to test that the module works until tonight, but even if it ends up being broken the signing patch

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

2012-11-07 Thread Kamezawa Hiroyuki
(2012/11/03 17: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. This

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

2012-11-07 Thread Kamezawa Hiroyuki
(2012/11/08 2:15), Tejun Heo wrote: 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 generic descendants walking to cgroup which can be used

Re: [PATCH v7 0/3] Add modules to support realtek PCIE card reader

2012-11-07 Thread wwang
于 2012年11月08日 03:41, Chris Ball 写道: On Mon, Oct 29 2012, wwang wrote: Hi Chris, Samuel and Alex: Can you help to review this patchset, please? I have asked Greg to remove rts_pstor from the staging tree. So this driver have to be merged into 3.8 kernel, or else Realtek'sPCI-E card reader can

Re: [RFC v4+ hot_track 10/19] vfs: introduce hot func register framework

2012-11-07 Thread Zhi Yong Wu
On Thu, Nov 8, 2012 at 2:58 AM, Darrick J. Wong wrote: > On Wed, Nov 07, 2012 at 04:34:35PM +0800, Zhi Yong Wu wrote: >> On Wed, Nov 7, 2012 at 7:30 AM, Darrick J. Wong >> wrote: >> > On Mon, Oct 29, 2012 at 12:30:52PM +0800, zwu.ker...@gmail.com wrote: >> >> From: Zhi Yong Wu >> >> >> >>

[PATCH 5/5] drivers: mfd: Fix resource request for [mem 0x00000000]

2012-11-07 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

[PATCH 4/5] x86: acpi: Print warning for malformed host bridge resources

2012-11-07 Thread Peter Hurley
An incorrectly specified host bridge window may prevent other devices from claiming assigned resources. For example, this flawed _CRS resource descriptor from a Dell T5400: DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite, 0x, //

[PATCH 3/5] resources: Print warning when inserting resource [mem 0x00000000]

2012-11-07 Thread Peter Hurley
Inserting iomem resource [0x0-0x0] is most likely a bug; at least print a warning message. Eg., resource: inserting NULL resource iTCO_wdt [mem 0x] Cc: Bjorn Helgaas Signed-off-by: Peter Hurley --- kernel/resource.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

[PATCH 2/5] resources: Print resource conflicts for failed requests

2012-11-07 Thread Peter Hurley
When resource requests fail, the conflicting resource is not always apparent. Emit diagnostic print when resource conflicts prevent resource requests. For example, kernel: resource: Requested i5k_amb [mem 0xfe00-0xfe01 flags 0x8000] conflicts with PCI Bus :00 [mem

[PATCH 1/5] resources: Print resource ranges when expanding overlaps

2012-11-07 Thread Peter Hurley
Resource names can be too generic to distinguish which resources overlap; eg., kernel: Expanded resource reserved due to conflict with PCI Bus :00 kernel: Expanded resource reserved due to conflict with PCI Bus :00 Rather, print decoded resource info as well; eg., kernel: resource:

[PATCH 0/5] Add diagnostics for iomem resources

2012-11-07 Thread Peter Hurley
The first 3 patches add diagnostics to iomem resource management. The x86 patch adds a diagnostic for bogus ACPI resource definitions. Lastly, the issue addressed by the mfd driver patch emerged while testing the other patches in this series. Peter Hurley (5): kernel: Print resource ranges when

Re: [RFC v4+ hot_track 03/19] vfs: add I/O frequency update function

2012-11-07 Thread Zhi Yong Wu
On Thu, Nov 8, 2012 at 2:49 AM, Darrick J. Wong wrote: > On Wed, Nov 07, 2012 at 04:27:05PM +0800, Zhi Yong Wu wrote: >> On Wed, Nov 7, 2012 at 6:45 AM, Darrick J. Wong >> wrote: >> > On Mon, Oct 29, 2012 at 12:30:45PM +0800, zwu.ker...@gmail.com wrote: >> >> From: Zhi Yong Wu >> >> >> >>

[PATCH 2/2] gpio: tegra: Drop exporting static functions

2012-11-07 Thread Axel Lin
Both tegra_gpio_enable() and tegra_gpio_disable() are static functions, it does not make sense to export them. Signed-off-by: Axel Lin --- drivers/gpio/gpio-tegra.c |2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpio/gpio-tegra.c b/drivers/gpio/gpio-tegra.c index

Re: [PATCH V2 1/3] mmc: esdhc: enable polling to detect card by itself

2012-11-07 Thread yongd
On 2012年11月06日 20:52, Shawn Guo wrote: On Tue, Nov 06, 2012 at 04:49:42PM +0800, yongd wrote: From your info, we can see that on your platform, those pins (including power, clk, DATA) necessary for MMC_SEND_STATUS transaction still keep connected for some time just after the GPIO's level

[PATCH 1/2] gpio: tegra: Staticize non-exported symbols

2012-11-07 Thread Axel Lin
Both tegra_gpio_request() and tegra_gpio_free() are not referenced outside of this file, make them static. Signed-off-by: Axel Lin --- drivers/gpio/gpio-tegra.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpio/gpio-tegra.c b/drivers/gpio/gpio-tegra.c index

Re: [PATCH v4 5/7] mfd: max8925: support dt for regulator

2012-11-07 Thread Qing Xu
On 11/07/2012 10:20 PM, Mark Brown wrote: On Wed, Nov 07, 2012 at 06:09:53PM +0800, Qing Xu wrote: From: Qing Xu Signed-off-by: Qing Xu Applied, thanks. +max8925 regulator device register is still handled by mfd_add_devices, not by +of_xxx, so, it is not necessary to add compatible name.

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

2012-11-07 Thread Qing Xu
From: Qing Xu remove linux specific references, enumerates all supported regulators Signed-off-by: Qing Xu --- .../bindings/regulator/max8925-regulator.txt | 51 1 files changed, 31 insertions(+), 20 deletions(-) diff --git

[PATCH] gpio: mvebu: Set free callback for gpio_chip

2012-11-07 Thread Axel Lin
We call pinctrl_request_gpio() in request callback, thus we need to call pinctrl_free_gpio() in free callback. Both mvebu_gpio_request() and mvebu_gpio_free() are not referenced outside of this file, make them static. Signed-off-by: Axel Lin --- drivers/gpio/gpio-mvebu.c |5 +++-- 1 file

Re: [PATCH] tcp: Avoid infinite loop on recvmsg bug

2012-11-07 Thread Julius Werner
> So you probably are fighting a bug we already fixed in upstream kernel. > > (commit c8628155ece363 "tcp: reduce out_of_order memory use" did not > played well with cloned skbs.) > > This issue was already discussed on netdev in the past. Thanks for the hint. Unfortunately, we have not pulled

[PATCH] Revert "Staging: Android alarm: IOCTL command encoding fix"

2012-11-07 Thread Colin Cross
Commit 6bd4a5d96c08dc2380f8053b1bd4f879f55cd3c9 changed the ANDROID_ALARM_GET_TIME ioctls from IOW to IOR. While technically correct, the _IOC_DIR bits are ignored by alarm_ioctl, so the commit breaks a userspace ABI used by all existing Android devices for a purely cosmetic reason. Revert it.

[PATCH V3] firmware loader: Fix the race FW_STATUS_DONE is followed by class_timeout

2012-11-07 Thread Chuansheng Liu
There is a race as below when calling request_firmware(): CPU1 CPU2 write 0 > loading mutex_lock(_lock) ... set_bit FW_STATUS_DONE class_timeout is coming set_bit FW_STATUS_ABORT complete_all ...

RE: [PATCH V2] firmware loader: Fix the race FW_STATUS_DONE is followed by class_timeout

2012-11-07 Thread Liu, Chuansheng
> -Original Message- > From: Ming Lei [mailto:ming@canonical.com] > Sent: Thursday, November 08, 2012 10:02 AM > To: Liu, Chuansheng > Cc: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH V2] firmware loader: Fix the race FW_STATUS_DONE is > followed by

Re: [BUGFIX] PM: Fix active child counting when disabled and forbidden

2012-11-07 Thread Huang Ying
On Thu, 2012-11-08 at 02:35 +0100, Rafael J. Wysocki wrote: > On Thursday, November 08, 2012 09:15:08 AM Huang Ying wrote: > > On Thu, 2012-11-08 at 00:09 +0100, Rafael J. Wysocki wrote: > > > On Wednesday, November 07, 2012 11:51:15 PM Rafael J. Wysocki wrote: > > > > On Wednesday, November 07,

Re: [PATCH V2] firmware loader: Fix the race FW_STATUS_DONE is followed by class_timeout

2012-11-07 Thread Ming Lei
On Thu, Nov 8, 2012 at 6:29 PM, Chuansheng Liu wrote: > > There is a race as below when calling request_firmware(): > CPU1 CPU2 > write 0 > loading > mutex_lock(_lock) > ... > set_bit FW_STATUS_DONE class_timeout is coming >

Re: scsi target, likely GPL violation

2012-11-07 Thread Chris Friesen
On 11/07/2012 07:02 PM, Jon Mason wrote: I'm not a lawyer, nor do I play one on TV, but if I understand the GPL correctly, RTS only needs to provide the relevant source to their customers upon request. Not quite. Assuming the GPL applies, and that they have modified the code, then they must

Re: [PATCH -next] ACPI: fix missing unlock on error in acpi_memory_remove_memory()

2012-11-07 Thread Wen Congyang
Hi, wei At 11/07/2012 08:38 PM, Wei Yongjun Wrote: > From: Wei Yongjun > > Add the missing mutex_unlock() before return from function > acpi_memory_remove_memory() in the error handling case. > > Introduce by commit 85fcb3758c10e063a2a30dfad75017097999deed > 'ACPI / memory-hotplug: introduce a

Re: [PATCH v3 1/1] percpu_rw_semaphore: reimplement to not block the readers unnecessarily

2012-11-07 Thread Paul E. McKenney
On Wed, Nov 07, 2012 at 12:04:48PM -0500, Mikulas Patocka wrote: > It looks sensible. > > Here I'm sending an improvement of the patch - I changed it so that there > are not two-level nested functions for the fast path and so that both > percpu_down_read and percpu_up_read use the same piece of

RE: [PATCH] firmware loader: Fix the race FW_STATUS_DONE is followed by class_timeout

2012-11-07 Thread Liu, Chuansheng
> -Original Message- > From: Ming Lei [mailto:ming@canonical.com] > Sent: Wednesday, November 07, 2012 6:40 PM > To: Liu, Chuansheng > Cc: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH] firmware loader: Fix the race FW_STATUS_DONE is > followed by

Re: [BUGFIX] PM: Fix active child counting when disabled and forbidden

2012-11-07 Thread Rafael J. Wysocki
On Thursday, November 08, 2012 09:15:08 AM Huang Ying wrote: > On Thu, 2012-11-08 at 00:09 +0100, Rafael J. Wysocki wrote: > > On Wednesday, November 07, 2012 11:51:15 PM Rafael J. Wysocki wrote: > > > On Wednesday, November 07, 2012 04:56:49 PM Alan Stern wrote: > > > > On Wed, 7 Nov 2012, Rafael

[PATCH V2] firmware loader: Fix the race FW_STATUS_DONE is followed by class_timeout

2012-11-07 Thread Chuansheng Liu
There is a race as below when calling request_firmware(): CPU1 CPU2 write 0 > loading mutex_lock(_lock) ... set_bit FW_STATUS_DONE class_timeout is coming set_bit FW_STATUS_ABORT complete_all ...

Re: [PATCH] extcon : callback function to read cable property

2012-11-07 Thread Chanwoo Choi
On 10/17/2012 03:34 PM, Tc, Jenny wrote: Subject: Re: [PATCH] extcon : callback function to read cable property I think the reason why we have extcon is in first place is to only notify the clients of cable connection and disconnection and it is up to the client to

Re: [PATCH] add tpm_xenu.ko: Xen Virtual TPM frontend driver

2012-11-07 Thread Konrad Rzeszutek Wilk
On Wed, Nov 07, 2012 at 01:14:25PM -0500, Matthew Fioravante wrote: > On 11/07/2012 09:46 AM, Kent Yoder wrote: > >Hi Matthew, > > > >On Mon, Nov 05, 2012 at 10:09:57AM -0500, Matthew Fioravante wrote: > >>This patch ports the xen vtpm frontend driver for linux > >>from the linux-2.6.18-xen.hg

  1   2   3   4   5   6   7   8   9   10   >