[PATCH v3 02/19] perf/x86: improve sysfs event mapping with event string

2012-11-21 Thread Stephane Eranian
This patch extends Jiri's changes to make generic events mapping visible via sysfs. The patch extends the mechanism to non-generic events by allowing the mappings to be hardcoded in strings. This mechanism will be used by the PEBS-LL patch later on. Signed-off-by: Stephane Eranian --- arch/x86/

[PATCH v3 12/19] perf report: add support for mem access profiling

2012-11-21 Thread Stephane Eranian
This patch adds the --mem-mode option to perf report. This mode requires a perf.data file created with memory access samples. Signed-off-by: Stephane Eranian --- tools/perf/builtin-report.c | 131 +-- 1 file changed, 127 insertions(+), 4 deletions(-) di

[PATCH v3 09/19] perf/x86: export PEBS load latency threshold register to sysfs

2012-11-21 Thread Stephane Eranian
Make the PEBS Load Latency threshold register layout and encoding visible to user level tools. Signed-off-by: Stephane Eranian --- arch/x86/kernel/cpu/perf_event_intel.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/x86/kernel/cpu/perf_event_intel.c b/arch/x86/kernel/cpu/perf_e

[PATCH v3 06/19] perf: add support for PERF_SAMPLE_ADDR in dump_sampple()

2012-11-21 Thread Stephane Eranian
Was missing from current code yet PERF_SAMPLE_ADDR has been present for a long time. Needed for PEBS-LL mode. Signed-off-by: Stephane Eranian --- tools/perf/util/session.c |4 1 file changed, 4 insertions(+) diff --git a/tools/perf/util/session.c b/tools/perf/util/session.c index 962c0

[PATCH v3 04/19] perf, core: Add a concept of a weightened sample

2012-11-21 Thread Stephane Eranian
From: Andi Kleen For some events it's useful to weight sample with a hardware provided number. This expresses how expensive the action the sample represent was. This allows the profiler to scale the samples to be more informative to the programmer. There is already the period which is used simi

Re: [PATCHv9 1/3] Runtime Interpreted Power Sequences

2012-11-21 Thread Thierry Reding
On Wed, Nov 21, 2012 at 02:04:17PM +0200, Tomi Valkeinen wrote: > On 2012-11-21 13:40, Thierry Reding wrote: > > On Wed, Nov 21, 2012 at 01:06:03PM +0200, Tomi Valkeinen wrote: > > (sorry for bouncing back and forth with my private and my @ti addresses. > I can't find an option in thunderbird to o

[V2 PATCH 2/3] staging: ozwpan: Remove redundant null check before kfree in ozproto.c

2012-11-21 Thread Rupesh Gujare
Free memory if timer pool count > OZ_MAX_TIMER_POOL_SIZE Signed-off-by: Sachin Kamat Signed-off-by: Rupesh Gujare --- drivers/staging/ozwpan/ozproto.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/staging/ozwpan/ozproto.c b/drivers/staging/ozwpan/ozproto.

Re: [REPOST-v2] sched: Prevent wakeup to enter critical section needlessly

2012-11-21 Thread Ivo Sieben
Hi 2012/11/19 Oleg Nesterov : > > Because on a second thought I suspect this change is wrong. > > Just for example, please look at kauditd_thread(). It does > > set_current_state(TASK_INTERRUPTIBLE); > > add_wait_queue(&kauditd_wait, &wait); > > if (!CONDITION) // <

Re: [V2 PATCH 1/3] staging: ozwpan: Remove redundant null check before kfree in ozpd.c

2012-11-21 Thread Dan Carpenter
On Wed, Nov 21, 2012 at 12:46:15PM +, Rupesh Gujare wrote: > Call kfree only if required else return from function. > > Signed-off-by: Sachin Kamat > Signed-off-by: Rupesh Gujare I'm not sure this is right. Signed-off-by is intended to have a legal meaning that you are signing off that you

Re: [PATCH] mm: cma: allocate pages from CMA if NR_FREE_PAGES approaches low water mark

2012-11-21 Thread Michal Nazarewicz
On Wed, Nov 21 2012, Minchan Kim wrote: > So your concern is that too many free pages in MIGRATE_CMA when OOM happens > is odd? It's natural with considering CMA design which kernel never fallback > non-movable page allocation to CMA area. I guess it's not a your concern. > > Let's think below extr

[PATCH v4 00/11] Support for AM33xx PWM Subsystem

2012-11-21 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 & clock

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

2012-11-21 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 s

[PATCH v4 02/11] ARM: am33xx: clk: Add optional clock for EHRPWM

2012-11-21 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 1a45d6b... 08b21d2... M arch/arm/mach-omap2/clock33xx_data.c :100644 100644 a89e825... c0e34e6... M arch/arm/mach-omap2/cont

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

2012-11-21 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 f

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

2012-11-21 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 i

[PATCH v4 05/11] pwm: pwm-tiecap: pinctrl support

2012-11-21 Thread Philip, Avinash
Enable pinctrl for pwm-tiecap Signed-off-by: Philip, Avinash --- :100644 100644 e0bcc85... 646f8b4... 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 e0bcc

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

2012-11-21 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 p

[PATCH v4 07/11] pwm: pwm-tiehrpwm: pinctrl support

2012-11-21 Thread Philip, Avinash
Enable pinctrl for pwm-tiehrpwm Signed-off-by: Philip, Avinash --- :100644 100644 34f9378... 23fd3c3... M drivers/pwm/pwm-tiehrpwm.c drivers/pwm/pwm-tiehrpwm.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/drivers/pwm/pwm-tiehrpwm.c b/drivers/pwm/pwm-tiehrpwm.c i

[PATCH v4 08/11] pwm: pwm-tiehrpwm: Adding TBCLK gating support.

2012-11-21 Thread Philip, Avinash
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 DT node populated with tbclkgating. This helps the driver can coexist f

[PATCH v4 09/11] ARM: dts: AM33XX: Add PWMSS device tree nodes

2012-11-21 Thread Philip, Avinash
Add PWMSS device tree nodes in relation with ECAP & EHRPWM DT nodes to AM33XX SoC family. Also populates device tree nodes for ECAP & EHRPWM by adding necessary properties like pwm-cells, base reg & set disabled as status. Signed-off-by: Philip, Avinash --- Changes since v2: - ranges prop

[PATCH v4 11/11] ARM: dts: AM33XX: Add PWM backlight DT data to am335x-evmsk

2012-11-21 Thread Philip, Avinash
PWM output from ecap2 uses as backlight source. Also adds low threshold value to have a uniform divisions in brightness-levels scales with inverse polarity. Signed-off-by: Philip, Avinash --- :100644 100644 f5a6162... 6f3de83... M arch/arm/boot/dts/am335x-evmsk.dts arch/arm/boot/dts/am335x-evms

Re: [PATCH 17/42] sh-pfc: Move driver from drivers/sh/ to drivers/pinctrl/

2012-11-21 Thread Laurent Pinchart
Hi Viresh, On Wednesday 21 November 2012 08:58:19 viresh kumar wrote: > On Wed, Nov 21, 2012 at 7:57 AM, Laurent Pinchart wrote: > > Signed-off-by: Laurent Pinchart > > > > --- > > > > drivers/pinctrl/Kconfig |1 + > > drivers/pinctrl/Makefile |1 + > > drivers/pinctrl/

[PATCH v4 10/11] ARM: dts: AM33XX: Add PWM backlight DT data to am335x-evm

2012-11-21 Thread Philip, Avinash
PWM output from ecap0 uses as backlight source. Also adds low threshold value to have a uniform divisions in brightness-levels scales. Signed-off-by: Philip, Avinash --- Changes since v3: - Add epwmss parent status="okay" field. :100644 100644 9f65f17... 4178ba4c.. M arch/arm/boot/dts/a

[PATCH v5 0/8] fat: fix estale error on VFAT over NFS.

2012-11-21 Thread Namjae Jeon
From: Namjae Jeon This patch-set eliminates the client side ESTALE errors when a FAT partition exported over NFS has its dentries evicted from the cache. One of the reasons for this error is lack of permanent inode numbers on FAT which makes it difficult to construct persistent file handles. Thi

[PATCH v5 1/8] fat: modify nfs mount option

2012-11-21 Thread Namjae Jeon
From: Namjae Jeon Provide two possible values 'stale_rw' and 'nostale_ro' for the -o nfs mount option.The first one allows all file operations but does not reduce ESTALE errors on memory constrained systems. The second one eliminates ESTALE errors but mounts the filesystem as read-only. Not speci

[PATCH v5 2/8] fat: move fat_i_pos_read to fat.h

2012-11-21 Thread Namjae Jeon
From: Namjae Jeon Move fat_i_pos_read to fat.h so that it can be called from nfs.c in the subsequent patches to encode the file handle. Signed-off-by: Namjae Jeon Signed-off-by: Ravishankar N Signed-off-by: Amit Sahrawat --- fs/fat/fat.h | 14 ++ fs/fat/inode.c | 14 ---

[PATCH v5 4/8] fat: introduce a helper fat_get_blknr_offset()

2012-11-21 Thread Namjae Jeon
From: Namjae Jeon Introduce helper function to get the block number and offset for a given i_pos value. Use it in __fat_write_inode() now and later on in nfs.c Signed-off-by: Namjae Jeon Signed-off-by: Ravishankar N Signed-off-by: Amit Sahrawat --- fs/fat/fat.h |7 +++ fs/fat/inode

[PATCH v5 3/8] fat: pass superblock pointer instead of inode pointer to fat_ent_read()

2012-11-21 Thread Namjae Jeon
From: Namjae Jeon Currently fat_ent_read() receives a pointer to inode as an argument which is used only to get a reference to the superblock.Instead, directly pass the superblock pointer to it. This change is being done so that we can call fat_ent_read() from nfs.c even though we don't have a r

[PATCH v5 5/8] fat: restructure export_operations

2012-11-21 Thread Namjae Jeon
From: Namjae Jeon Define two nfs export_operation structures,one for 'stale_rw' mounts and the other for 'nostale_ro'.The latter uses i_pos as a basis for encoding and decoding file handles. Also, assign i_pos to kstat->ino.The logic for rebuilding the inode is added in the subsequent patches.

Re: [PATCH V4 1/2] mfd: add TI TPS80031 mfd core driver

2012-11-21 Thread Samuel Ortiz
Hi Laxman, On Wed, Nov 14, 2012 at 09:09:28PM +0530, Laxman Dewangan wrote: > TPS80031/ TPS80032 Fully Integrated Power Management with Power > Path and Battery Charger. The device provides five configurable > step-down converters, 11 general purpose LDOs, USB OTG Module, > ADC, RTC, 2 PWM, System

[PATCH v5 6/8] fat (exportfs): rebuild inode if ilookup() fails

2012-11-21 Thread Namjae Jeon
From: Namjae Jeon If the cache lookups fail,use the i_pos value to find the directory entry of the inode and rebuild the inode.Since this involves accessing the FAT media, do this only if the "nostale_ro" nfs mount option is specified. Signed-off-by: Namjae Jeon Signed-off-by: Ravishankar N Si

[PATCH v5 7/8] fat (exportfs): rebuild directory-inode if fat_dget() fails

2012-11-21 Thread Namjae Jeon
From: Namjae Jeon This patch enables rebuilding of directory inodes which are not present in the cache.This is done by traversing the disk clusters to find the directory entry of the parent directory and using its i_pos to build the inode. Do this only if the "nostale_ro" nfs mount option is spec

[PATCH v5 8/8] Documentation: update nfs option in filesystem/vfat.txt

2012-11-21 Thread Namjae Jeon
From: Namjae Jeon update nfs option in filesystem/vfat.txt Signed-off-by: Namjae Jeon Signed-off-by: Ravishankar N Signed-off-by: Amit Sahrawat --- Documentation/filesystems/vfat.txt | 23 ++- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/Documentation/

Re: [PATCH] mm: cma: allocate pages from CMA if NR_FREE_PAGES approaches low water mark

2012-11-21 Thread Minchan Kim
On Wed, Nov 21, 2012 at 02:07:04PM +0100, Michal Nazarewicz wrote: > On Wed, Nov 21 2012, Minchan Kim wrote: > > So your concern is that too many free pages in MIGRATE_CMA when OOM happens > > is odd? It's natural with considering CMA design which kernel never fallback > > non-movable page allocati

[PATCH] Staging: rtl8187se: bugfix in r8180_wx.c

2012-11-21 Thread MAACHE Mehdi
This bug was introduced in de171bd6ff "Staging: rtl8187se: r8180_wx: fixed a lot of checkpatch.pl issues". Signed-off-by: Mehdi MAACHE --- drivers/staging/rtl8187se/r8180_wx.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8187se/r8180_wx.c b/drive

Re: [PATCHv9 1/3] Runtime Interpreted Power Sequences

2012-11-21 Thread Tomi Valkeinen
On 2012-11-21 15:00, Thierry Reding wrote: > On Wed, Nov 21, 2012 at 02:04:17PM +0200, Tomi Valkeinen wrote: >> On 2012-11-21 13:40, Thierry Reding wrote: >>> On Wed, Nov 21, 2012 at 01:06:03PM +0200, Tomi Valkeinen wrote: >> >> (sorry for bouncing back and forth with my private and my @ti addresse

Re: [PATCH RESEND 0/5] mfd: tps65090: cleanups and use regmap-irq for interrupt support

2012-11-21 Thread Samuel Ortiz
Hi Laxman, On Tue, Nov 20, 2012 at 08:44:44AM +0530, Laxman Dewangan wrote: > This patch series cleanups the driver code by removing unused > member, rearranging code and moving irq implementation to regmap-irq > framework. > > Just resending in case of it is missed. > > Laxman Dewangan (5): >

Re: [PATCH v3 0/2] rtsx patch for for-next branch in MFD tree

2012-11-21 Thread Samuel Ortiz
Hi Wei, On Tue, Nov 20, 2012 at 11:24:29AM +0800, wei_w...@realsil.com.cn wrote: > From: Wei WANG > > Wei WANG (2): > mmc/host/rtsx: Configure SD_CFG2 register in sd_rw_multi > mmc/host/rtsx: Explicitely include slab.h in rtsx_pci_sdmmc.c > > drivers/mmc/host/rtsx_pci_sdmmc.c |2 ++ >

Re: [PATCH] of/i2c: support more interrupt specifiers

2012-11-21 Thread Rob Herring
On 11/21/2012 02:58 AM, Bongkyu Kim wrote: > This patch supports more interrupt specifiers for i2c client. Why? > Signed-off-by: Bongkyu Kim > --- > drivers/of/of_i2c.c | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/drivers/of/of_i2c.c b/drivers/of/of_i2c.c > inde

Re: [PATCH] PM / devfreq: missing rcu_read_lock() added for find_device_opp()

2012-11-21 Thread Serge E. Hallyn
Quoting MyungJoo Ham (myungjoo@samsung.com): > opp_get_notifier() uses find_device_opp(), which requires to > held rcu_read_lock. In order to keep the notifier-header > valid, we have added rcu_read_lock(). > > Reported-by: Kees Cook > Signed-off-by: MyungJoo Ham > --- > drivers/devfreq/dev

Re: [PATCH] Staging: rtl8187se: bugfix in r8180_wx.c

2012-11-21 Thread Dan Carpenter
On Wed, Nov 21, 2012 at 02:20:42PM +0100, MAACHE Mehdi wrote: > This bug was introduced in de171bd6ff "Staging: rtl8187se: r8180_wx: fixed a > lot of checkpatch.pl issues". > The change log should describe the patch so we don't have to read the code to know what it does. Idealy it would describ

Re: [PATCH] of/i2c: check status property for i2c client

2012-11-21 Thread Rob Herring
On 11/21/2012 02:57 AM, Bongkyu Kim wrote: > Because of_i2c_register_devices() do not check status property, > all i2c clients are registered. > > This patch add checking status property for i2c client. > After this patch, if status property is absent or "okay" or "ok", > i2c client will be regist

Re: [REPOST-v2] sched: Prevent wakeup to enter critical section needlessly

2012-11-21 Thread Alan Cox
> But we try to understand your fault scenario: How can the LOAD leak > into the critical section? As far as we understand the spin_unlock() > function also contains a memory barrier to prevent such a reordering > from happening. It does - it would be very interesting for someone to look at the as

Re: [V2 PATCH 1/3] staging: ozwpan: Remove redundant null check before kfree in ozpd.c

2012-11-21 Thread Rupesh Gujare
On 21/11/12 13:05, Dan Carpenter wrote: On Wed, Nov 21, 2012 at 12:46:15PM +, Rupesh Gujare wrote: Call kfree only if required else return from function. Signed-off-by: Sachin Kamat Signed-off-by: Rupesh Gujare I'm not sure this is right. Signed-off-by is intended to have a legal meanin

Re: [PATCH RESEND] acpi: Fix logging when no pci_irq is allocated

2012-11-21 Thread Joe Perches
On Wed, 2012-11-21 at 16:43 +0800, Daniel J Blueman wrote: > Previously a new line is implicitly added in the no GSI case: > > [7.185182] pci 0001:00:12.0: can't derive routing for PCI INT A > [7.191352] pci 0001:00:12.0: PCI INT A: no GSI > [7.195956] - using ISA IRQ 10 > > The code

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

2012-11-21 Thread leonid.moiseichuk
-Original Message- From: ext Glauber Costa [mailto:glom...@parallels.com] Sent: 21 November, 2012 13:55 So I'll say it again: if this is always global, there is no reason any cgroup needs to be involved. If this turns out to be per-process, as Anton suggested in a recent e-mail, I do

WARNING: at arch/x86/kernel/apic/ipi.c:109 default_send_IPI_mask_logical+0x97/0xc7()

2012-11-21 Thread Ralf Hildebrandt
from dmesg on a vanilla 3.6.7 # uname -a Linux mail2.charite.de 3.6.7 #1 SMP Sun Nov 18 19:49:09 CET 2012 i686 GNU/Linux Nov 19 10:54:16 mail2 kernel: [52464.940539] [ cut here ] Nov 19 10:54:16 mail2 kernel: [52464.940566] WARNING: at arch/x86/kernel/apic/ipi.c:109 defa

[PATCH] regulator: max8997: skip gpio dvs setup if not used

2012-11-21 Thread Thomas Abraham
If gpio based voltage selection for buck 1/2/5 are not used, then the execution of gpio dvs setup code during probe can be skipped completly. Cc: MyungJoo Ham Cc: Mark Brown Signed-off-by: Thomas Abraham --- drivers/regulator/max8997.c | 31 ++- 1 files changed, 1

Re: [PATCH] watchdog: using u64 in get_sample_period()

2012-11-21 Thread Don Zickus
On Wed, Nov 21, 2012 at 06:56:07PM +0800, Chuansheng Liu wrote: > > In get_sample_period(), unsigned long is not enough: > watchdog_thresh * 2 * (NSEC_PER_SEC / 5) > > case1: watchdog_thresh is 10 by default, > the sample value will be: 0xEE6B 2800 > > case2: set watchdog_thresh is 20, > the sam

Re: [REPOST-v2] sched: Prevent wakeup to enter critical section needlessly

2012-11-21 Thread Oleg Nesterov
On 11/21, Ivo Sieben wrote: > Hi > > 2012/11/19 Oleg Nesterov : > > > > Because on a second thought I suspect this change is wrong. > > > > Just for example, please look at kauditd_thread(). It does > > > > set_current_state(TASK_INTERRUPTIBLE); > > > > add_wait_queue(&kauditd_wait,

Re: [PATCH] tty: don't dead while flushing workqueue

2012-11-21 Thread Alan Cox
> I don't see any problems in my testcase. This looks fine to me as by the time we call tty_ldisc_release we have already set TTY_CLOSING on both sides. Alan -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More major

Re: [PATCH] [firmware_class] Fix compile with no builtin firmware

2012-11-21 Thread Solomon Peachy
On Wed, Nov 21, 2012 at 09:35:28AM +0800, Ming Lei wrote: > Solomon, I can't duplicate the build failure with your .config on > 3.7-rc5-next. Okay, so it's since been fixed. > > * The #ifdef wraps code that pertains solely to built-in firmware, (ie > >CONFIG_FIRMWARE_IN_KERNEL) and has a

Re: [PATCH] mfd: wm5102: Make FLL NCO test registers readable

2012-11-21 Thread Samuel Ortiz
Hi Mark, On Tue, Nov 20, 2012 at 04:53:47PM +0900, Mark Brown wrote: > They contain documented status readback fields. > > Signed-off-by: Mark Brown > --- > drivers/mfd/wm5102-tables.c |4 > 1 file changed, 4 insertions(+) Applied, thanks. Cheers, Samuel. -- Intel Open Source Techno

Re: [PATCH 2/9] ext4: honor the O_SYNC flag for aysnchronous direct I/O requests

2012-11-21 Thread Jeff Moyer
Jan Kara writes: >> Just to be clear, are you saying you would like me to remove the >> mutex_lock/unlock pair from ext4_sync_file? (I had already factored out >> the common code between this new code path and the fsync path in my tree.) > Yes, after some thinking I came to that conclusion. We

Re: [PATCH 1/1] mfd/twl6040: Remove duplicate inclusion of linux/err.h

2012-11-21 Thread Samuel Ortiz
Hi Sachin, On Tue, Nov 20, 2012 at 11:19:15AM +0530, Sachin Kamat wrote: > linux/err.h was included twice. > > Signed-off-by: Sachin Kamat > --- > drivers/mfd/twl6040.c |1 - > 1 files changed, 0 insertions(+), 1 deletions(-) Applied, thanks. Cheers, Samuel. -- Intel Open Source Technolo

[no subject]

2012-11-21 Thread roman
Hi, I've found your discussion about a gma500 Atom E6xx graphics device with PCI ID 0x4108. I'm currently working on such a box, too. There are two variants of my hardware, one with LVDS output for smaller panels, and one with a Chrontel 7308 SDVO->LVDS converter for larger ones. My HW developer

Re: [PATCH] Staging: rtl8187se: bugfix in r8180_wx.c

2012-11-21 Thread MAACHE Mehdi
Le 21/11/2012 14:42, Dan Carpenter a écrit : > > Here is a better changelog. Please resend with this or something > similar. > > --- > Subject: [PATCH v2] Staging: rtl8187se: remove check for IW_ENCODE_DISABLED > > The original code had a no-op stub where it checked if > IW_ENCODE_DISABLED and

Re: [PATCH 1/2] mfd: stmpe: Use devm_*() routines

2012-11-21 Thread Samuel Ortiz
Hi Viresh, On Fri, Nov 09, 2012 at 09:01:54PM +0530, Viresh Kumar wrote: > This patch frees stmpe driver from tension of freeing resources :) > devm_* derivatives of multiple routines are used while allocating resources, > which would be freed automatically by kernel. > > Signed-off-by: Viresh Ku

Re: [PATCH] arch_check_bp_in_kernelspace: fix the range check

2012-11-21 Thread Oleg Nesterov
Hi Amnon, Please read my previous email ;) http://marc.info/?l=linux-kernel&m=135342649119153 On 11/21, u3...@miso.sublimeip.com wrote: > > Hi Oleg, > > > Or. Perhaps we can define TRAP_VSYSCALL and change emulate_vsyscall() to > > do > > > > > > if (current->ptrace && test_thread_flag(TIF_SY

Re: [PATCH 2/2] mfd: stmpe: Add DT support in stmpe driver

2012-11-21 Thread Samuel Ortiz
Hi Viresh, On Fri, Nov 09, 2012 at 09:01:55PM +0530, Viresh Kumar wrote: > From: Vipul Kumar Samar > > This patch adds support to probe stmpe devices via DT. Bindings are mentioned > in > binding document. > > Signed-off-by: Vipul Kumar Samar > Signed-off-by: Viresh Kumar > --- > Documentat

[PATCH v2] Staging: rtl8187se: remove check for IW_ENCODE_DISABLED

2012-11-21 Thread MAACHE Mehdi
The original code had a no-op stub where it checked if IW_ENCODE_DISABLED and did nothing. Then in a cleanup patch we accidentally turned the check on. That was: de171bd6ff "Staging: rtl8187se: r8180_wx: fixed a lot of checkpatch.pl issues". The check should just be removed. Signed-off-by: Mehd

[PATCH] kfifo: initialize fifo accordingly to C99 standard

2012-11-21 Thread Andy Shevchenko
When build a kernel with "make W=1" we will get a warning about missing initializer. It comes from kfifo usage style. The DEFINE_KFIFO macro doesn't initialize the buf[] field of the fifo structure. So, using C99 style helps in such case. Signed-off-by: Andy Shevchenko Cc: Stefani Seibold Cc: Gr

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

2012-11-21 Thread leonid.moiseichuk
-Original Message- From: ext Kirill A. Shutemov [mailto:kir...@shutemov.name] Sent: 21 November, 2012 11:31 ... BTW, there's interface for OOM notification in memcg. See oom_control. I guess other pressure levels can also fit to the interface. --- Hi, I have tracking this conversation v

Re: [PATCH v4 2/4] mfd: introduce retu-mfd driver

2012-11-21 Thread Samuel Ortiz
Hi Aaro, On Sun, Nov 18, 2012 at 06:36:20PM +0200, Aaro Koskinen wrote: > Retu is a multi-function device found on Nokia Internet Tablets > implementing at least watchdog, RTC, headset detection and power button > functionality. > > This patch implements minimum functionality providing register a

Re: [PATCH] regulator: max8997: skip gpio dvs setup if not used

2012-11-21 Thread MyungJoo Ham
On Wed, Nov 21, 2012 at 11:23 PM, Thomas Abraham wrote: > If gpio based voltage selection for buck 1/2/5 are not used, then the > execution > of gpio dvs setup code during probe can be skipped completly. Even if GPIO-DVS feature is turned off, you need to setup BUCKxDVS1 anyway. Otherwise, you m

[PATCH, resend] kfifo: initialize fifo accordingly to C99 standard

2012-11-21 Thread Andy Shevchenko
When build a kernel with "make W=1" we will get a warning about missing initializer. It comes from kfifo usage style. The DEFINE_KFIFO macro doesn't initialize the buf[] field of the fifo structure. So, using C99 style helps in such case. Signed-off-by: Andy Shevchenko Cc: Stefani Seibold Cc: Gr

Re: [3.7-rc6] capture_free_page() frees page without accounting for them??

2012-11-21 Thread Mel Gorman
On Tue, Nov 20, 2012 at 12:25:37PM -0800, Dave Hansen wrote: > Hi Mel, > > I'm chasing an apparent memory leak introduced post-3.6. An accounting leak could also contribute to the kswapd bugs we've been seeing recently. Andrew, this is quite important and might be worth wedging in before 3.7 co

Re: [GIT PULL] extcon fixes for Linux 3.7 rc6

2012-11-21 Thread Greg KH
On Wed, Nov 21, 2012 at 08:15:25PM +0900, MyungJoo Ham wrote: > The following changes since commit f4a75d2eb7b1e2206094b901be09adb31ba63681: > > Linux 3.7-rc6 (2012-11-16 17:42:40 -0800) > > are available in the git repository at: > git://git.kernel.org/pub/scm/linux/kernel/git/mzx/extcon.git

Re: [RFT PATCH v1 1/5] mm: introduce new field "managed_pages" to struct zone

2012-11-21 Thread Jiang Liu
On 11/21/2012 03:31 AM, Andrew Morton wrote: @@ -106,6 +106,7 @@ static void get_page_bootmem(unsigned long info, struct page *page, void __ref put_page_bootmem(struct page *page) { unsigned long type; + static DEFINE_MUTEX(ppb_lock); type = (un

[RFC] driver-core: Remove dummy 'platform_bus'

2012-11-21 Thread Grant Likely
The "platform_bus" (note: not platform_bus_type) only exists as an empty directory to put platform devices into. However, it really doesn't make sense to segregate all the platform devices into a sub directory when typically they are memory mapped devices that doen't go through any particular bus.

Re:

2012-11-21 Thread Alan Cox
> Anyway, the small LVDS one works fine so far, at least when I hardcode the > panel resolution (there's no VBT etc. in BIOS yet). However, the SDVO one > stays black. No wonder, as there's no SDVO code in the Oaktrail part of the > driver. Indeed - the Oaktrail processors don't have SDVO support.

Re: [PATCH 1/1] tty: vt: Remove redundant null check before kfree.

2012-11-21 Thread Greg KH
On Wed, Nov 21, 2012 at 10:49:07AM +0530, Sachin Kamat wrote: > kfree on a NULL pointer is a no-op. > > Signed-off-by: Sachin Kamat > --- > drivers/tty/vt/consolemap.c |6 ++ > 1 files changed, 2 insertions(+), 4 deletions(-) > > diff --git a/drivers/tty/vt/consolemap.c b/drivers/tty/vt

Re: [PATCH 0/4] Dove pinctrl fixes and DT enabling

2012-11-21 Thread Linus Walleij
On Wed, Nov 21, 2012 at 11:20 AM, Sebastian Hesselbarth wrote: > On 11/21/2012 10:59 AM, Linus Walleij wrote: >> >> On Mon, Nov 19, 2012 at 10:39 AM, Sebastian Hesselbarth >> wrote: >>> >>> This patch relies on a patch set for mvebu pinctrl taken through >>> Linus' pinctrl branch. As there is no

Re: Streamlining Developer's Certificate of Origin, Signed-off-by tag

2012-11-21 Thread Alan Cox
> > If you have a single master official copy and a link then you break all > > that and you'd have to have everyones consensus and planning to change a > > word of it. > > Ah so keep the original in place to let references to the original in > whatever way those may exist to keep pointing but pro

Re: [RFC] driver-core: Remove dummy 'platform_bus'

2012-11-21 Thread Greg Kroah-Hartman
On Wed, Nov 21, 2012 at 02:44:31PM +, Grant Likely wrote: > The "platform_bus" (note: not platform_bus_type) only exists as an empty > directory to put platform devices into. However, it really doesn't make > sense to segregate all the platform devices into a sub directory when > typically they

Re: [PATCH 1/1] tty: vt: Remove redundant null check before kfree.

2012-11-21 Thread Sachin Kamat
On 21 November 2012 20:16, Greg KH wrote: > On Wed, Nov 21, 2012 at 10:49:07AM +0530, Sachin Kamat wrote: >> kfree on a NULL pointer is a no-op. >> >> Signed-off-by: Sachin Kamat >> --- >> drivers/tty/vt/consolemap.c |6 ++ >> 1 files changed, 2 insertions(+), 4 deletions(-) >> >> diff -

Re: [PATCH 00/42] SH pin control and GPIO rework

2012-11-21 Thread Linus Walleij
On Wed, Nov 21, 2012 at 3:27 AM, Laurent Pinchart wrote: > The idea behind these patches is to move SoC-specific pin control code from > arch/ to drivers/pinctrl/ and use the Linux device model to instantiate the > pin control device. This is required to add device tree support for the pin > cont

Re: [RFT PATCH v1 4/5] mm: provide more accurate estimation of pages occupied by memmap

2012-11-21 Thread Jiang Liu
On 11/21/2012 03:19 AM, Andrew Morton wrote: > On Tue, 20 Nov 2012 23:18:34 +0800 > Jiang Liu wrote: > +static unsigned long calc_memmap_size(unsigned long spanned_pages, +unsigned long present_pages) +{ + unsigned long pages = spanned_pages; >

Re: [PATCH 00/13] MFD: twl drivers: Convert to regmap IO and cleanups

2012-11-21 Thread Samuel Ortiz
Hi Peter, On Tue, Nov 13, 2012 at 09:28:41AM +0100, Peter Ujfalusi wrote: > Hello, > > This series converts the twl-core to use regmap for IO towards the chip. > With the conversion to regmap IO we no longer need to allocate bigger buffer > for > writes. > I have appended patches to this series

Re: [PATCH 2/7] gpio/em: convert to linear IRQ domain

2012-11-21 Thread Grant Likely
On Tue, 16 Oct 2012 21:22:20 +0200, Linus Walleij wrote: > The code in the em driver seems to want to try to do the job of > the linear IRQ domain (allocate descriptors and grab a virtual > range). So why not just use the linear IRQ domain? > > Also fixed the FIXME to remove the domain after use

Re: [PATCH 0/4] Dove pinctrl fixes and DT enabling

2012-11-21 Thread Thomas Petazzoni
Linus, On Wed, 21 Nov 2012 15:45:42 +0100, Linus Walleij wrote: > > I am referring to patches for a pinctrl/mvebu subfolder. IIRC Thomas > > posted that patch a while ago. Jason is currently sorting things out > > for mvebu pull requests. I guess both can comment on your question, > > as I don't

Re: [PATCH 1/4 v2] gpio/tc3589x: convert to use the simple irqdomain

2012-11-21 Thread Grant Likely
On Fri, 19 Oct 2012 12:53:45 +0200, Linus Walleij wrote: > The special checks for whether we have a base IRQ offset or not > is surplus if we use the simple IRQ domain. The IRQ offset > zero will be interpreted as a linear domain case. > > Plus this makes sure we allocate descriptors where need

Re: [PATCH v2] checkpatch: add double empty line check

2012-11-21 Thread Joe Perches
On Wed, 2012-11-21 at 11:42 +0200, Eilon Greenstein wrote: > On Tue, 2012-11-20 at 15:41 -0800, Joe Perches wrote: > > On Tue, 2012-11-20 at 23:19 +, Andy Whitcroft wrote: > > > On Tue, Nov 20, 2012 at 01:58:48PM -0800, Joe Perches wrote: > > > > > > > +# check for multiple blank lines, warn o

Re: [PATCH] mtd_blkdev: Use a different name for block_device_operations variable

2012-11-21 Thread Artem Bityutskiy
On Fri, 2012-11-09 at 12:36 -0300, Ezequiel Garcia wrote: > struct mtd_blktrans_ops is a type, and mtd_blktrans_ops is a variable. > To improve code clarity it's better to not use the same names, > so we just change the latter. > > Cc: David Woodhouse > Signed-off-by: Ezequiel Garcia Pushed to

Re: [RFC 3/3] man-pages: Add man page for vmpressure_fd(2)

2012-11-21 Thread Mel Gorman
On Tue, Nov 20, 2012 at 10:12:28AM -0800, David Rientjes wrote: > On Mon, 19 Nov 2012, Anton Vorontsov wrote: > > > We try to make userland freeing resources when the system becomes low on > > memory. Once we're short on memory, sometimes it's better to discard > > (free) data, rather than let the

Re: [RFC/PATCH] mtd_blkdevs: Replace request handler kthread with a workqueue

2012-11-21 Thread Artem Bityutskiy
On Sat, 2012-11-10 at 13:08 -0300, Ezequiel Garcia wrote: > By replacing a kthread with a workqueue, the code is now a bit clearer. > There's also a slight reduction of code size (numbers apply for x86): > Before: >text data bss dec hex filename >324836

Re: [PATCHv9 1/3] Runtime Interpreted Power Sequences

2012-11-21 Thread Alexandre Courbot
Mmmm so maybe I am misinterpreting things, but it looks like we have just buried the power sequences here, haven't we? Alex. On Wed, Nov 21, 2012 at 10:32 PM, Tomi Valkeinen wrote: > On 2012-11-21 15:00, Thierry Reding wrote: >> On Wed, Nov 21, 2012 at 02:04:17PM +0200, Tomi Valkeinen wrote: >>>

Re: [PATCH 3/4 v2] gpio/mvebu: convert to use irq_domain_add_simple()

2012-11-21 Thread Grant Likely
On Fri, 19 Oct 2012 12:54:02 +0200, Linus Walleij wrote: > The MVEBU driver probably just wants a few IRQs. Using the simple > domain has the upside of allocating IRQ descriptors if need be, > especially in a SPARSE_IRQ environment. > > Cc: Rob Herring > Cc: Grant Likely > Cc: Thomas Petazzoni

Re: [PATCH 3/9] xfs: factor out everything but the filemap_write_and_wait from xfs_file_fsync

2012-11-21 Thread Jeff Moyer
Christoph Hellwig writes: > On Mon, Nov 19, 2012 at 11:41:38PM -0800, Darrick J. Wong wrote: >> Hi, >> >> Fsyncing is tricky business, so factor out the bits of the xfs_file_fsync >> function that can be used from the I/O post-processing path. > > Why would we need to skip the filemap_write_and_

[PATCH] nfsd4: remove state lock from nfs4_state_shutdown

2012-11-21 Thread Stanislav Kinsbursky
Protection of __nfs4_state_shutdown() with nfs4_lock_state() looks redundant. This function is called by the last NFSd thread on it's exit and state lock protects actually two functions (del_recall_lru is protected by recall_lock): 1) nfsd4_client_tracking_exit 2) __nfs4_state_shutdown_net "nfsd4

Re: [PATCH] MTD: use SQUASHFS_MAGIC from uapi/linux/magic.h

2012-11-21 Thread Artem Bityutskiy
On Sun, 2012-11-11 at 20:32 +0100, Luka Perkov wrote: > Signed-off-by: Luka Perkov > --- Pushed to l2-mtd.git, thanks! -- Best Regards, Artem Bityutskiy signature.asc Description: This is a digitally signed message part

Re: [PATCH 4/4 v2] gpio/tegra: convert to use linear irqdomain

2012-11-21 Thread Grant Likely
On Fri, 19 Oct 2012 12:54:12 +0200, Linus Walleij wrote: > The Tegra driver tries to do the work of irq_domain_add_linear() > by reserving a bunch of descriptors somewhere and keeping track > of the base offset, then calling irq_domain_add_legacy(). Let's > stop doing that and simply use the line

[RFT PATCH v2 1/5] mm: introduce new field "managed_pages" to struct zone

2012-11-21 Thread Jiang Liu
Currently a zone's present_pages is calcuated as below, which is inaccurate and may cause trouble to memory hotplug. spanned_pages - absent_pages - memmap_pages - dma_reserve. During fixing bugs caused by inaccurate zone->present_pages, we found zone->present_pages has been abused. The fie

Re: [PATCH] Revert "mm: remove __GFP_NO_KSWAPD"

2012-11-21 Thread Mel Gorman
On Tue, Nov 20, 2012 at 10:38:45AM -0500, Josh Boyer wrote: > On Fri, Nov 16, 2012 at 3:06 PM, Mel Gorman wrote: > > On Fri, Nov 16, 2012 at 02:14:47PM -0500, Josh Boyer wrote: > >> On Mon, Nov 12, 2012 at 6:37 AM, Mel Gorman wrote: > >> > With "mm: vmscan: scale number of pages reclaimed by recl

[RFT PATCH v2 4/5] mm: provide more accurate estimation of pages occupied by memmap

2012-11-21 Thread Jiang Liu
If SPARSEMEM is enabled, it won't build page structures for non-existing pages (holes) within a zone, so provide a more accurate estimation of pages occupied by memmap if there are bigger holes within the zone. And pages for highmem zones' memmap will be allocated from lowmem, so charge nr_kernel_

Re: [PATCHv9 1/3] Runtime Interpreted Power Sequences

2012-11-21 Thread Thierry Reding
On Thu, Nov 22, 2012 at 12:02:47AM +0900, Alexandre Courbot wrote: > Mmmm so maybe I am misinterpreting things, but it looks like we > have just buried the power sequences here, haven't we? I don't think so. In fact I was just starting to think that maybe for Tegra we could have a generic panel dr

您好!

2012-11-21 Thread Mr. Paul Fletch.
您好! 这实在是我的荣幸,你写这封信,我相信这将是一个惊喜给你,因为我们从来没有遇到过,我感到非常抱歉,如果我以任何方式干扰您的隐私。我郑明陈伟伟从Harlsden,位于伦敦西北部,在英国的。我的工作与桑坦德银行有限公司伦敦。与应有的尊重和重视,我写你从我的办公室,这将是对我们双方巨大的好处。在我的部门,即私人银行经理(大伦敦地区办事处)。我的个人会计师下旬Mr.Ron布拉姆利奇一个商人,一个美国公民不幸失去了他的生命,他的妻子和他们的四个孩子被打死时,他们的小飞机撞上佛罗里达州中部的沼泽区,2012年6月7日。罗恩布拉姆利奇先生,一个杰出的商人,谁拥有路边风险投资有限责任公司和一个房地产

Re: [PATCH 1/1] tty: vt: Remove redundant null check before kfree.

2012-11-21 Thread Greg KH
On Wed, Nov 21, 2012 at 08:21:40PM +0530, Sachin Kamat wrote: > On 21 November 2012 20:16, Greg KH wrote: > > On Wed, Nov 21, 2012 at 10:49:07AM +0530, Sachin Kamat wrote: > >> kfree on a NULL pointer is a no-op. > >> > >> Signed-off-by: Sachin Kamat > >> --- > >> drivers/tty/vt/consolemap.c |

Re: [PATCH 1/2] wait: add wait_event_lock_irq() interface

2012-11-21 Thread Lukáš Czerner
On Tue, 20 Nov 2012, Andrew Morton wrote: > Date: Tue, 20 Nov 2012 12:14:14 -0800 > From: Andrew Morton > To: Lukas Czerner > Cc: linux-kernel@vger.kernel.org, linux-r...@vger.kernel.org, ax...@kernel.dk, > jmo...@redhat.com, Neil Brown , > David Howells , Ingo Molnar , > Peter Zijls

Re: [PATCH] Documentation: Move common leds properties description to separate file.

2012-11-21 Thread Grant Likely
On Thu, 15 Nov 2012 15:36:34 -0700, Stephen Warren wrote: > On 11/15/2012 02:51 PM, Marek Belisko wrote: > > A commit description might be nice. Aside from that, Indeed. I've applied the patch and written a commit description, but please take pity on a poor maintainer and write propper commit

<    1   2   3   4   5   >