Re: Issue with upgrade path from include/linux/version.h to uapi

2013-04-19 Thread David Howells
Mathieu Desnoyers wrote: > This leads to very unfortunate consequences for any user relying on > version.h to expose the kernel version accurately, since the old "stale" > kernel version will be seen by the build. > > Sadly, make clean does not even take care of removing this stale file. I

[GIT PULL] ARM: arm-soc fixes for 3.9

2013-04-19 Thread Olof Johansson
Hi Linus, The following changes since commit 71bd98aff05a644a2cfc3ac6ca848a586fa210b9: Merge tag 'mvebu_fixes_for_v3.9_round3' of git://git.infradead.org/users/jcooper/linux into fixes (2013-04-11 16:55:29 +0200) are available in the git repository at:

[PATCH] mtd: Convert logging messages

2013-04-19 Thread Joe Perches
Use a more current logging style. Convert homegrown ERROR/INFO macros to pr_. Convert homegrown parse_err macros to pr_err and expand hidden flow control. Signed-off-by: Joe Perches --- drivers/mtd/devices/block2mtd.c | 58 ++--- 1 file changed, 31

Re: [PATCH] mei: reseting -> resetting

2013-04-19 Thread Greg KH
On Thu, Apr 18, 2013 at 09:01:25PM +, Winkler, Tomas wrote: > > > > This enum leaks out to userspace via error messages, so fix the spelling. > > > > Signed-off-by: Bill Nottingham > ACK Why do you ack a patch that doesn't apply? :) thanks, greg k-h -- To unsubscribe from this list:

Re: [PATCH] usb: storage: Convert US_DEBUGP to usb_stor_dbg

2013-04-19 Thread Joe Perches
On Fri, 2013-04-19 at 10:35 -0700, Greg Kroah-Hartman wrote: > On Wed, Apr 17, 2013 at 08:00:55PM -0700, Joe Perches wrote: > > Use a more current logging style with dev_printk > > where possible. [] > With your other patch applied, this one seems to not apply to my tree: I'll respin and

Re: [alsa-devel] [PATCH 1/2] ALSA: ASoC davinci-pcm, davinci-mcasp Clean up active_serializers

2013-04-19 Thread Daniel Mack
On 19.04.2013 15:28, Michal Bachraty wrote: > As pointed of by Vaibhav, commit message: "ASoC: davinci-mcasp: Add support > for multichannel playback" > number of active serializers can be hidden into fifo_level variable, which is > set in davimci-mcasp. You need to reformat the commit log so

Re: [RFC] arm64: Early printk support for virtio-mmio console devices.

2013-04-19 Thread Peter Maydell
On 19 April 2013 18:14, Catalin Marinas wrote: > On Fri, Apr 19, 2013 at 05:33:18PM +0100, Peter Maydell wrote: >> The command line lives in the DTB anyway so if you can't look >> in the DTB you can't get at earlyprintk config either way. > > Linux indeed looks in the DT for the command line and

[GIT PULL] EFI fixes for v3.10

2013-04-19 Thread Matt Fleming
Hi guys, There's a few bug fixes sitting in the EFI urgent branch. Please consider pulling. The following changes since commit ca0ba26fbbd2d81c43085df49ce0abfe34535a90: efivars: Fix check for CONFIG_EFI_VARS_PSTORE_DEFAULT_DISABLE (2013-03-22 20:08:01 +) are available in the git

Re: [PATCH] process cputimer is moving faster than its corresponding clock

2013-04-19 Thread KOSAKI Motohiro
> I feel we are hitting the same issue than this patch: > https://lkml.org/lkml/2013/4/5/116 > > I'm adding Kosaki in Cc, who proposed roughly the same fix. Thanks to CCing. I'm now sitting LSF and I can't read whole tons emails. However the fix is definitely same and I definitely agree this

Re: [alsa-devel] [PATCH 2/2] ALSA: ASoc: davinci-mcasp: Add Support BCLK-to-LRCLK ratio for TDM modes

2013-04-19 Thread Daniel Mack
On 19.04.2013 15:28, Michal Bachraty wrote: > For TDM mode, BCLK-to-LCLK ratio is computed as (tdm_slots) x (word_length). > I2S mode is only subset of TDM mode with specific tdm_slots = 2 channels. > Also bclk_lrclk_ratio can be greater than 255, therefore u16 need to be used. > > Signed-off-by:

Re: [PATCH 1/2] ALSA: ASoc: spdif_transciever: Add DT support

2013-04-19 Thread Daniel Mack
Hi Michal, On 19.04.2013 15:38, Michal Bachraty wrote: > Add devicetree support for this dummy audio soc driver. I think Mark wants to see only "ASoC:" in the patch subjects now. > > Signed-off-by: Michal Bachraty > --- > sound/soc/codecs/spdif_transciever.c | 10 ++ > 1 file

Re: [PATCH] usb: storage: Convert US_DEBUGP to usb_stor_dbg

2013-04-19 Thread Greg Kroah-Hartman
On Wed, Apr 17, 2013 at 08:00:55PM -0700, Joe Perches wrote: > Use a more current logging style with dev_printk > where possible. > > o Convert uses of US_DEBUGP to usb_stor_dbg > o Add "struct us_data *" to usb_stor_dbg uses > o usb_stor_dbg now uses struct device */dev_vprint_emit > o Removed

Issue with upgrade path from include/linux/version.h to uapi

2013-04-19 Thread Mathieu Desnoyers
Hi, With a kernel tree that contains a generated include/linux/version.h, if someone just does a git pull to update to a newer kernel version that includes commit 10b63956fce7f369cc37fd4d994f09bd5203efe4 "UAPI: Plumb the UAPI Kbuilds into the user header installation and checking" and commit

Re: [PATCH 1/2] clocksource: arm_arch_timer: unify sched_clock init

2013-04-19 Thread Stephen Boyd
On 04/18/13 18:37, Rob Herring wrote: > On 04/18/2013 07:00 PM, Stephen Boyd wrote: >> On 04/18/13 12:30, Rob Herring wrote: >>> diff --git a/drivers/clocksource/arm_arch_timer.c >>> b/drivers/clocksource/arm_arch_timer.c >>> index 122ff05..17ed8e4 100644 >>> ---

Re: ahci driver cannot suspend a CF card, ata_piix can

2013-04-19 Thread Boszormenyi Zoltan
Hi, 2013-04-19 17:14 keltezéssel, Aaron Lu írta: On 04/16/2013 07:58 PM, Boszormenyi Zoltan wrote: Hi, The SATA interface can be switched between AHCI and legacy modes as usual: 00:1f.2 SATA controller: Intel Corporation NM10/ICH7 Family SATA Controller [AHCI mode] (rev 02) The device

[NEW DRIVER V6 2/7] drivers/iio/adc: DA9058 ADC driver

2013-04-19 Thread Anthony Olech
This patch is relative to next-20130419 of linux-next This is the ADC component driver of the Dialog DA9058 PMIC. This driver is just one component of the whole DA9058 PMIC driver. It depends on the DA9058 CORE component driver. The HWMON component driver depends on this ADC component driver

[PATCH] x86: Add check for P5 to microcode_intel_early

2013-04-19 Thread Bryan O'Donoghue
Architectural MSRs associated with microcode are for P6 or higher. Add a check to early microcode to detect < P6. Without a check for < P6 - we end up reading from unimplemented MSRs on Pentium. Signed-off-by: Bryan O'Donoghue --- arch/x86/kernel/microcode_intel_early.c | 21

Re: Kernel bug: opensuse 12.3, lenovo 3000 n100 laptop

2013-04-19 Thread Bjorn Helgaas
[+cc Bryan, Zhang] On Fri, Apr 19, 2013 at 8:51 AM, Scott Simpson wrote: > Stack trace is here: http://www.flickr.com/photos/94373754@N06/8662259093/ > -- Hi Scott, This is an openSUSE bug, so you'll probably get more help there. I added a CC: for that,

[NEW DRIVER V6 3/7] drivers/input/misc: DA9058 ONKEY driver

2013-04-19 Thread Anthony Olech
This patch is relative to next-20130419 of linux-next This is the ONKEY component driver of the Dialog DA9058 PMIC. This driver is just one component of the whole DA9058 PMIC driver. It depends on the CORE component driver of the DA9058 MFD. Changes relative to V5 of this patch: - rebased

Re: [RFC] arm64: Early printk support for virtio-mmio console devices.

2013-04-19 Thread Catalin Marinas
On Fri, Apr 19, 2013 at 05:33:18PM +0100, Peter Maydell wrote: > On 19 April 2013 17:22, Catalin Marinas wrote: > > earlyprintk is used for debugging early problems, like DT parsing. You > > don't have to use it unless you are debugging something. Without > > earlyprintk you just get a normal

[NEW DRIVER V6 6/7] drivers/hwmon: DA9058 HWMON driver

2013-04-19 Thread Anthony Olech
This patch is relative to next-20130419 of linux-next This is the HWMON component driver of the Dialog DA9058 PMIC. This driver is just one component of the whole DA9058 PMIC driver. It depends on the CORE and ADC component drivers of the DA9058 MFD. Please note that this driver does use regmap

[NEW DRIVER V6 4/7] drivers/rtc: DA9058 RTC driver

2013-04-19 Thread Anthony Olech
This patch is relative to next-20130419 of linux-next This is the RTC component driver of the Dialog DA9058 PMIC. This driver is just one component of the whole DA9058 PMIC driver. It depends on the CORE component driver of the DA9058 MFD. Changes relative to V5 of this patch: - rebased to next

[NEW DRIVER V6 7/7] drivers/regulator: DA9058 REGULATOR driver

2013-04-19 Thread Anthony Olech
This patch is relative to next-20130419 of linux-next This is the REGULATOR component driver of the Dialog DA9058 PMIC. This driver is just one component of the whole DA9058 PMIC driver. It depends on the CORE component driver of the DA9058 MFD. There are 4 CamelCase warnings from scripts

[NEW DRIVER V6 5/7] drivers/gpio: DA9058 GPIO driver

2013-04-19 Thread Anthony Olech
This patch is relative to next-20130419 of linux-next This is the GPIO component driver of the Dialog DA9058 PMIC. This driver is just one component of the whole DA9058 PMIC driver. It depends on the CORE component driver of the DA9058 MFD. The meaning of the PMIC register 21 bits 1 and 5 has

[NEW DRIVER V6 0/7] DA9058 PMIC - please comment on this new driver

2013-04-19 Thread Anthony Olech
to, but if I have missed something please let me know. In a clean check out of next-20130419 in linux-next, each patch has been applied individually and the final result has been built successfully. Many thanks, Anthony Olech, Dialog Semiconductor Ltd. Tony Olech (at Home) (7): drivers/mfd

[NEW DRIVER V6 6/7] drivers/hwmon: DA9058 HWMON driver

2013-04-19 Thread Anthony Olech
This patch is relative to next-20130419 of linux-next This is the HWMON component driver of the Dialog DA9058 PMIC. This driver is just one component of the whole DA9058 PMIC driver. It depends on the CORE and ADC component drivers of the DA9058 MFD. Please note that this driver does use regmap

[NEW DRIVER V6 7/7] drivers/regulator: DA9058 REGULATOR driver

2013-04-19 Thread Anthony Olech
This patch is relative to next-20130419 of linux-next This is the REGULATOR component driver of the Dialog DA9058 PMIC. This driver is just one component of the whole DA9058 PMIC driver. It depends on the CORE component driver of the DA9058 MFD. There are 4 CamelCase warnings from scripts

Re: [Xen-devel] [PATCH v6 1/4] arm: introduce psci_smp_ops

2013-04-19 Thread Stefano Stabellini
On Fri, 19 Apr 2013, Nicolas Pitre wrote: > On Fri, 19 Apr 2013, Ian Campbell wrote: > > > On Fri, 2013-04-19 at 16:47 +0100, Nicolas Pitre wrote: > > > No one should be probing registers without making sure it is safe to do > > > so. Even on non virtualized hardware this can be a dangerous

[NEW DRIVER V6 0/7] DA9058 PMIC - please comment on this new driver

2013-04-19 Thread Anthony Olech
to, but if I have missed something please let me know. In a clean check out of next-20130419 in linux-next, each patch has been applied individually and the final result has been built successfully. Many thanks, Anthony Olech, Dialog Semiconductor Ltd. Tony Olech (at Home) (7): drivers/mfd

Re: [RFC PATCH 0/2] sched: move content out of core files for load average

2013-04-19 Thread Rakib Mullick
On Fri, Apr 19, 2013 at 2:25 PM, Ingo Molnar wrote: > > * Paul Gortmaker wrote: > >> On 13-04-18 07:14 AM, Peter Zijlstra wrote: >> > On Mon, 2013-04-15 at 11:33 +0200, Ingo Molnar wrote: >> >> * Paul Gortmaker wrote: >> >> >> >>> Recent activity has had a focus on moving functionally related

Re: [PATCH v4, part3 13/41] mm/ARM: prepare for removing num_physpages and simplify mem_init()

2013-04-19 Thread Russell King - ARM Linux
On Sat, Apr 06, 2013 at 10:32:12PM +0800, Jiang Liu wrote: > Prepare for removing num_physpages and simplify mem_init(). > > Signed-off-by: Jiang Liu > Cc: Russell King > Cc: Catalin Marinas > Cc: Will Deacon > Cc: linux-arm-ker...@lists.infradead.org > Cc: linux-kernel@vger.kernel.org > ---

Re: [PATCH v4, part3 01/15] mm: fix build warnings caused by free_reserved_area()

2013-04-19 Thread Russell King - ARM Linux
On Sat, Apr 06, 2013 at 09:54:55PM +0800, Jiang Liu wrote: > Fix following build warnings cuased by free_reserved_area(): > > arch/arm/mm/init.c: In function 'mem_init': > arch/arm/mm/init.c:603:2: warning: passing argument 1 of 'free_reserved_area' > makes integer from pointer without a cast

Re: OOM-killer and strange RSS value in 3.9-rc7

2013-04-19 Thread Michal Hocko
[Do not drop people from the CC please] On Fri 19-04-13 10:33:45, Han Pingtian wrote: > On Thu, Apr 18, 2013 at 10:55:14AM -0700, Michal Hocko wrote: [...] > > What is the kernel that you are using and what config? > > > We are testing a alpha version of a enterprise linux which using a 3.7 >

Re: linux-next: Tree for Apr 18 [ call-trace: drm | x86 | smp | rcu related? ]

2013-04-19 Thread Sedat Dilek
parallel-make-jobs). >>>>> >>>>> Any hints welcome! >>>> >>>> The panic handlers in our modeset code are pretty decent fubar - they >>>> take mutexes all over the place. So I think the backtrace you see >>>> there is actual

[PATCH v2 9/9] bcache: use generic helper to set max_discard_sectors

2013-04-19 Thread Namjae Jeon
From: Namjae Jeon It is better to use blk_queue_max_discard_sectors helper function to set max_discard_sectors as it checks max_discard_sectors upper limit UINT_MAX >> 9 similar issue was reported for mmc in below link https://lkml.org/lkml/2013/4/1/292 If multiple discard requests get merged,

[PATCH v2 8/9] dm thin: use generic helper to set max_discard_sectors

2013-04-19 Thread Namjae Jeon
From: Namjae Jeon It is better to use blk_queue_max_discard_sectors helper function to set max_discard_sectors as it checks max_discard_sectors upper limit UINT_MAX >> 9 similar issue was reported for mmc in below link https://lkml.org/lkml/2013/4/1/292 If multiple discard requests get merged,

[PATCH v2 7/9] brd: use generic helper to set max_discard_sectors

2013-04-19 Thread Namjae Jeon
From: Namjae Jeon It is better to use blk_queue_max_discard_sectors helper function to set max_discard_sectors as it checks max_discard_sectors upper limit UINT_MAX >> 9 similar issue was reported for mmc in below link https://lkml.org/lkml/2013/4/1/292 If multiple discard requests get merged,

[PATCH v2 6/9] nbd: use generic helper to set max_discard_sectors

2013-04-19 Thread Namjae Jeon
From: Namjae Jeon It is better to use blk_queue_max_discard_sectors helper function to set max_discard_sectors as it checks max_discard_sectors upper limit UINT_MAX >> 9 similar issue was reported for mmc in below link https://lkml.org/lkml/2013/4/1/292 If multiple discard requests get merged,

[PATCH v2 5/9] loop: use generic helper to set max_discard_sectors

2013-04-19 Thread Namjae Jeon
From: Namjae Jeon It is better to use blk_queue_max_discard_sectors helper function to set max_discard_sectors as it checks max_discard_sectors upper limit UINT_MAX >> 9 similar issue was reported for mmc in below link https://lkml.org/lkml/2013/4/1/292 If multiple discard requests get merged,

Re: [RFC PATCH v1 0/3] clk: implement remuxing during set_rate

2013-04-19 Thread James Hogan
Hi Mike, On 03/04/13 22:34, Mike Turquette wrote: > diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h > index 9fdfae7..1a19186 100644 > --- a/include/linux/clk-provider.h > +++ b/include/linux/clk-provider.h > @@ -126,6 +126,9 @@ struct clk_ops { >

[PATCH v2 3/9] sd: use generic helper to set max_discard_sectors

2013-04-19 Thread Namjae Jeon
From: Namjae Jeon It is better to use blk_queue_max_discard_sectors helper function to set max_discard_sectors as it checks max_discard_sectors upper limit UINT_MAX >> 9 similar issue was reported for mmc in below link https://lkml.org/lkml/2013/4/1/292 If multiple discard requests get merged,

[PATCH v2 4/9] mtd: mtd_blkdevs: use generic helper to set

2013-04-19 Thread Namjae Jeon
From: Namjae Jeon It is better to use blk_queue_max_discard_sectors helper function to set max_discard_sectors as it checks max_discard_sectors upper limit UINT_MAX >> 9 similar issue was reported for mmc in below link https://lkml.org/lkml/2013/4/1/292 If multiple discard requests get merged,

[PATCH v2 2/9] mmc: fix max_discard_sectors

2013-04-19 Thread Namjae Jeon
From: Namjae Jeon https://lkml.org/lkml/2013/4/1/292 As per above discussion, there is possibility that request's __data_len field may overflow when max_discard_sectors greater than UINT_MAX >> 9 If multiple discard requests get merged, merged discard request's size exceeds 4GB, there is

[PATCH v2 1/9] block: fix max discard sectors limit

2013-04-19 Thread Namjae Jeon
From: Namjae Jeon https://lkml.org/lkml/2013/4/1/292 As per above discussion, it has been oberved that few drivers are setting q->limits.max_discard_sectors to more than (UINT_MAX >> 9) If multiple discard requests get merged, merged discard request's size exceeds 4GB, there is possibility

[PATCH v2 0/9] fix max discard sectors limit

2013-04-19 Thread Namjae Jeon
From: Namjae Jeon linux-v3.8-rc1 and later support for plug for blkdev_issue_discard with commit 0cfbcafcae8b7364b5fa96c2b26ccde7a3a296a9 (block: add plug for blkdev_issue_discard ) For example, 1) DISCARD rq-1 with size size 4GB 2) DISCARD rq-2 with size size 1GB If these 2 discard requests

RE: [tpmdd-devel] [PATCH 1/1] TPM: STMicroelectronics st33 driver SPI

2013-04-19 Thread Mathias LEBLANC
Hi Kent, > + /* u8 LOC+DIR u8 ADD u16 LENGHT u8* data */ > + /* u8 LATENCY u8 LATENCY */ Kent: What do these comments mean? Mathias: These comments describe the I2C command protocol. Regarding the return value of these W/R functions, it's an error of comment, these functions return 0

Re: [PATCH v3] perf: Check all MSRs before passing hw check

2013-04-19 Thread George Dunlap
Any comments? it's been 2 weeks now. Thanks, -George On 03/04/13 15:46, George Dunlap wrote: check_hw_exists has a number of checks which go to two exit paths: msr_fail and bios_fail. Checks classified as msr_fail will cause check_hw_exists() to return false, causing the PMU not to be used;

Re: [RFC] arm64: Early printk support for virtio-mmio console devices.

2013-04-19 Thread Peter Maydell
On 19 April 2013 17:22, Catalin Marinas wrote: > earlyprintk is used for debugging early problems, like DT parsing. You > don't have to use it unless you are debugging something. Without > earlyprintk you just get a normal console during boot, based on the DT > description. The command line

Re: [Xen-devel] [PATCH v6 1/4] arm: introduce psci_smp_ops

2013-04-19 Thread Nicolas Pitre
On Fri, 19 Apr 2013, Ian Campbell wrote: > On Fri, 2013-04-19 at 16:47 +0100, Nicolas Pitre wrote: > > No one should be probing registers without making sure it is safe to do > > so. Even on non virtualized hardware this can be a dangerous thing to > > do. > > Won't people writing per machine

[PATCH v4 6/7] f2fs: add tracepoints for write page operations

2013-04-19 Thread Namjae Jeon
From: Namjae Jeon Add tracepoints to debug the various page write operation like data pages, meta pages. Signed-off-by: Namjae Jeon Signed-off-by: Pankaj Kumar Acked-by: Steven Rostedt --- fs/f2fs/checkpoint.c|2 + fs/f2fs/data.c |2 + fs/f2fs/segment.c

Re: [PATCH v2] mfd:rtsx: Support RTS5249

2013-04-19 Thread Samuel Ortiz
Hi Wei, On Fri, Apr 19, 2013 at 09:50:33AM +0800, wwang wrote: > 于 2013年04月19日 06:50, Samuel Ortiz 写道: > >Hi Wei, > > > >On Thu, Apr 11, 2013 at 10:43:40AM +0800, wei_w...@realsil.com.cn wrote: > >>From: Wei WANG > >> > >>Support new model: RTS5249 > >Could you please provide me with a more

[PATCH v2 2/3] clk: add support for clock reparent on set_rate

2013-04-19 Thread James Hogan
Add core support to allow clock implementations to select the best parent clock when rounding a rate, e.g. the one which can provide the closest clock rate to that requested. This is by way of adding a new clock op, determine_rate(), which is like round_rate() but has an extra parameter to allow

[PATCH v2 3/3] clk: clk-mux: implement remuxing on set_rate

2013-04-19 Thread James Hogan
Add a new clock flag called CLK_SET_RATE_REMUX to indicate that the clock can have it's parent changed automatically in response to a set_rate. Implement clk-mux remuxing if the CLK_SET_RATE_REMUX flag is set. This implements determine_rate for clk-mux to propagate to each parent and to choose

[PATCH v2 1/3] clk: abstract parent cache

2013-04-19 Thread James Hogan
Abstract access to the clock parent cache by defining __clk_get_parent_by_index(clk, index). This allows access to parent clocks from clock drivers. Signed-off-by: James Hogan --- drivers/clk/clk.c| 21 ++--- include/linux/clk-provider.h | 1 + 2 files changed, 15

[PATCH v4 7/7] f2fs: add tracepoints to debug checkpoint request

2013-04-19 Thread Namjae Jeon
From: Namjae Jeon Add tracepoints to debug checkpoint request. Signed-off-by: Namjae Jeon Signed-off-by: Pankaj Kumar Acked-by: Steven Rostedt --- fs/f2fs/checkpoint.c|4 include/trace/events/f2fs.h | 22 ++ 2 files changed, 26 insertions(+) diff

[PATCH v2 0/3] clk: implement remuxing during set_rate

2013-04-19 Thread James Hogan
This patchset adds support for automatic selection of the best parent for a clock mux, i.e. the one which can provide the closest clock rate to that requested. It can be controlled by a new CLK_SET_RATE_REMUX flag so that it doesn't happen unless explicitly allowed. This works by way of adding a

[PATCH v4 4/7] f2fs: add tracepoints for GC threads

2013-04-19 Thread Namjae Jeon
From: Namjae Jeon Add tracepoints for tracing the garbage collector threads in f2fs with status of collection & type. Signed-off-by: Namjae Jeon Signed-off-by: Pankaj Kumar Acked-by: Steven Rostedt --- fs/f2fs/gc.c|2 ++ include/trace/events/f2fs.h | 38

[PATCH v4 5/7] f2fs: add tracepoints to debug the block allocation & fallocate

2013-04-19 Thread Namjae Jeon
From: Namjae Jeon Add tracepoints to debug the block allocation & fallocate. Signed-off-by: Namjae Jeon Signed-off-by: Pankaj Kumar Acked-by: Steven Rostedt --- fs/f2fs/data.c |1 + fs/f2fs/file.c |6 - include/trace/events/f2fs.h | 59

[PATCH v4 2/7] f2fs: add tracepoints for truncate operation

2013-04-19 Thread Namjae Jeon
From: Namjae Jeon add tracepoints for tracing the truncate operations like truncate node/data blocks, f2fs_truncate etc. Tracepoints are added at entry and exit of operation to trace the success & failure of operation. Signed-off-by: Namjae Jeon Signed-off-by: Pankaj Kumar Acked-by: Steven

[PATCH v4 3/7] f2fs: add tracepoint for tracing the page i/o operations

2013-04-19 Thread Namjae Jeon
From: Namjae Jeon Add tracepoints for page i/o operations and block allocation tracing during page read operation. Signed-off-by: Namjae Jeon Signed-off-by: Pankaj Kumar Acked-by: Steven Rostedt --- fs/f2fs/data.c | 16 +-- include/trace/events/f2fs.h | 63

[PATCH v4 1/7] f2fs: add tracepoints for sync & Inode operations

2013-04-19 Thread Namjae Jeon
From: Namjae Jeon Add tracepoints in f2fs for tracing the syncing operations like filesystem sync, file sync enter/exit. It will helf to trace the code under debugging scenarios. Also add tracepoints for tracing the various inode operations like building inode, eviction of inode, link/unlike of

[PATCH v4 0/7] f2fs: Add tracepoints support in f2fs filesystem

2013-04-19 Thread Namjae Jeon
From: Namjae Jeon Add tracepoints in f2fs filesystem for tracing the filesystem operations for information/debugging purpose if needed. All the tracepoints are clubbed with respect to functionalities. Change Log: v4: Modified the tracepoints as per the review comments of Jaegeuk Kim. Following

[PATCH 2/2] f2fs: add REQ_META about metadata requests for submit bio

2013-04-19 Thread Namjae Jeon
From: Namjae Jeon Adding REQ_META for all the metadata requests can help in improving the FS performance, if the underlying device supports TAGGING. So, when considering the submit_bio path for all the f2fs requests. We can add REQ_META for all the META requests. As a precursor to this change we

[PATCH 1/2] f2fs: make is_multimedia_file code align with its name

2013-04-19 Thread Namjae Jeon
From: Namjae Jeon The code conditions put inside the function is_multimedia_file are reverse to the name i.e, we need to negate the return to actually check if the file is a multimedia file. So, change the code and usage path to align both the name and comparision conditions. Signed-off-by:

[PATCHv5 01/11] clockevents: Prefer CPU local devices over global devices

2013-04-19 Thread Stephen Boyd
On an SMP system with only one global clockevent and a dummy clockevent per CPU we run into problems. We want the dummy clockevents to be registered as the per CPU tick devices, but we can only achieve that if we register the dummy clockevents before the global clockevent or if we artificially

Re: [RFC] arm64: Early printk support for virtio-mmio console devices.

2013-04-19 Thread Catalin Marinas
On Fri, Apr 19, 2013 at 05:14:36PM +0100, Peter Maydell wrote: > On 19 April 2013 17:12, Catalin Marinas wrote: > > On Fri, Apr 19, 2013 at 11:05:47AM +0100, Peter Maydell wrote: > >> Please make the kernel pick the device out of the device tree > >> blob. The whole point of device tree is that

[PATCHv5 03/11] ARM: smp: Remove duplicate dummy timer implementation

2013-04-19 Thread Stephen Boyd
Drop ARM's version of the dummy timer now that we have a generic implementation in drivers/clocksource. Cc: Russell King Signed-off-by: Stephen Boyd --- arch/arm/kernel/smp.c | 22 ++ 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/arch/arm/kernel/smp.c

Re: [RFC PATCH 0/2] cpufreq/regulator: Limit minimum voltage only

2013-04-19 Thread Nishanth Menon
On 14:55-20130419, Taras Kondratiuk wrote: > Using a "voltage tolerance" for doing DVFS is not a proper way. > It leads to a few issues: > - voltage is limited to a narrow range near OPP voltage, > so other consumers of the same regulator can't set their own constraints >

[PATCHv5 05/11] ARM: OMAP2+: Divorce from local timer API

2013-04-19 Thread Stephen Boyd
Now that the TWD doesn't rely on the local timer API, OMAP can stop selecting it in Kconfig and relying on the config option to decide if it should call smp_twd functions. Acked-by: Santosh Shilimkar Acked-by: Tony Lindgren Signed-off-by: Stephen Boyd --- arch/arm/mach-omap2/Kconfig | 1 -

[PATCHv5 04/11] ARM: smp_twd: Divorce smp_twd from local timer API

2013-04-19 Thread Stephen Boyd
Separate the smp_twd timers from the local timer API. This will allow us to remove ARM local timer support in the near future and gets us closer to moving this driver to drivers/clocksource. Cc: Russell King Cc: Tony Lindgren Tested-by: Mark Rutland Signed-off-by: Stephen Boyd ---

[PATCHv5 07/11] ARM: PRIMA2: Divorce timer-marco from local timer API

2013-04-19 Thread Stephen Boyd
Separate the marco local timers from the local timer API. This will allow us to remove ARM local timer support in the near future and gets us closer to moving this driver to drivers/clocksource. Cc: Barry Song Signed-off-by: Stephen Boyd --- drivers/clocksource/timer-marco.c | 100

[PATCHv5 06/11] ARM: EXYNOS4: Divorce mct from local timer API

2013-04-19 Thread Stephen Boyd
Separate the mct local timers from the local timer API. This will allow us to remove ARM local timer support in the near future and gets us closer to moving this driver to drivers/clocksource. Cc: Kukjin Kim Cc: Thomas Abraham Signed-off-by: Stephen Boyd --- drivers/clocksource/exynos_mct.c |

[PATCHv5 10/11] clocksource: time-armada-370-xp: Divorce from local timer API

2013-04-19 Thread Stephen Boyd
Separate the armada 370xp local timers from the local timer API. This will allow us to remove ARM local timer support in the near future and makes this driver multi-architecture friendly. Acked-by: Gregory CLEMENT Tested-by: Gregory CLEMENT Signed-off-by: Stephen Boyd ---

[PATCHv5 00/11] Remove ARM local timer API

2013-04-19 Thread Stephen Boyd
In light of Mark Rutland's recent work on divorcing the ARM architected timers from the ARM local timer API and introducing a generic arch hook for broadcast it seems that we should remove the local timer API entirely. Doing so will reduce the architecture dependencies of our timer drivers, reduce

[PATCHv5 08/11] ARM: msm: Divorce msm_timer from local timer API

2013-04-19 Thread Stephen Boyd
Separate the msm_timer from the local timer API. This will allow us to remove ARM local timer support in the near future and gets us closer to moving this driver to drivers/clocksource. Acked-by: David Brown Cc: Daniel Walker Cc: Bryan Huntsman Signed-off-by: Stephen Boyd ---

[PATCHv5 09/11] clocksource: time-armada-370-xp: Fix sparse warning

2013-04-19 Thread Stephen Boyd
drivers/clocksource/time-armada-370-xp.c:217:13: warning: symbol 'armada_370_xp_timer_init' was not declared. Should it be static? Also remove the __init marking in the prototype as it's unnecessary and drop the init.h file. Acked-by: Gregory CLEMENT Signed-off-by: Stephen Boyd ---

[PATCHv5 11/11] ARM: smp: Remove local timer API

2013-04-19 Thread Stephen Boyd
There are no more users of this API, remove it. Cc: Russell King Acked-by: Tony Lindgren Signed-off-by: Stephen Boyd --- arch/arm/Kconfig | 10 -- arch/arm/include/asm/localtimer.h | 34 --- arch/arm/kernel/smp.c | 69

[PATCHv5 02/11] clocksource: add generic dummy timer driver

2013-04-19 Thread Stephen Boyd
From: Mark Rutland Several architectures have a dummy timer driver tightly coupled with their broadcast code to support machines without cpu-local timers (or where there is a lack of driver support). Since 12ad100046: "clockevents: Add generic timer broadcast function" it's been possible to

Re: [Xen-devel] [PATCH v6 1/4] arm: introduce psci_smp_ops

2013-04-19 Thread Ian Campbell
On Fri, 2013-04-19 at 16:47 +0100, Nicolas Pitre wrote: > No one should be probing registers without making sure it is safe to do > so. Even on non virtualized hardware this can be a dangerous thing to > do. Won't people writing per machine code consider, not unreasonably, that having been

Re: [RFC] arm64: Early printk support for virtio-mmio console devices.

2013-04-19 Thread Peter Maydell
On 19 April 2013 17:12, Catalin Marinas wrote: > On Fri, Apr 19, 2013 at 11:05:47AM +0100, Peter Maydell wrote: >> Please make the kernel pick the device out of the device tree >> blob. The whole point of device tree is that it's how to tell >> the kernel where things live -- making kvmtool/QEMU

Re: [RFC] arm64: Early printk support for virtio-mmio console devices.

2013-04-19 Thread Catalin Marinas
On Fri, Apr 19, 2013 at 11:05:47AM +0100, Peter Maydell wrote: > On 19 April 2013 10:39, Will Deacon wrote: > > The point of mach-virt is that it is completely parameterised. So, if you're > > not emulating an 8250, then don't tell the kernel that you have one! > > Similarly, if you *do* emulate

Re: [PATCH] ARM: mx28: add dma channels for all auarts

2013-04-19 Thread Eric Bénard
Hi Fabio, Le Fri, 19 Apr 2013 12:26:33 -0300, Fabio Estevam a écrit : > On Fri, Apr 19, 2013 at 12:05 PM, Eric Bénard wrote: > > Only auart0 was filled. > > Tested on a custom i.MX283 board for ttyAPP1/2/3/4. > > > > Signed-off-by: Eric Bénard > > --- > > arch/arm/boot/dts/imx28.dtsi | 4

[git pull] Input updates for 3.9-rc7

2013-04-19 Thread Dmitry Torokhov
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git for-linus or master.kernel.org:/pub/scm/linux/kernel/git/dtor/input.git for-linus to receive 2 more small fixups to the wacom driver. Changelog: - Ping Cheng (2): Input:

[PATCHv2] arm: Preserve TPIDRURW on context switch

2013-04-19 Thread André Hentschel
From: =?UTF-8?q?Andr=C3=A9=20Hentschel?= There are more and more applications coming to WinRT, Wine could support them, but mostly they expect to have the thread environment block (TEB) in TPIDRURW. This register must be preserved per thread instead of being cleared. Signed-off-by: André

Re: [PATCH v6 1/4] arm: introduce psci_smp_ops

2013-04-19 Thread Nicolas Pitre
On Fri, 19 Apr 2013, Stefano Stabellini wrote: > On Thu, 18 Apr 2013, Nicolas Pitre wrote: > > On Thu, 18 Apr 2013, Stefano Stabellini wrote: > > > > > On Thu, 18 Apr 2013, Nicolas Pitre wrote: > > > > On Thu, 18 Apr 2013, Stefano Stabellini wrote: > > > > > > > > > On Thu, 18 Apr 2013, Russell

Re: Device driver memory 'mmap()' function helper cleanup

2013-04-19 Thread Michel Lespinasse
On Tue, Apr 16, 2013 at 8:12 PM, Linus Torvalds wrote: > Guys, I just pushed out a new helper function intended for cleaning up > various device driver mmap functions, because they are rather messy, > and at least part of the problem was the bad impedance between what a > driver author would want

Re: [PATCH v3 0/4] ARM: dts: Add USB host support for Panda and Beagle-xm

2013-04-19 Thread Tony Lindgren
* Roger Quadros [130419 03:02]: > Hi Benoit/Tony > > I've consolidated all the USB host device tree patches for Panda and Beagles > to one place and addressed Tony's comments. > > NOTE: patch 1 depends on OMAP clock binding introduced in > https://lkml.org/lkml/2013/4/12/407 > > v3: > -

Re: [PATCH 4/4] ARM: mmp: add SMP support for pxa988

2013-04-19 Thread Haojian Zhuang
On Fri, Apr 19, 2013 at 10:09 PM, Russell King - ARM Linux wrote: > On Sat, Apr 13, 2013 at 09:08:12PM +0800, Haojian Zhuang wrote: >> On Thu, Apr 11, 2013 at 11:39 AM, Neil Zhang wrote: >> > + /* >> > +* Synchronise with the boot thread. >> > +*/ >> > +

Re: Very poor latency when using hard drive (raid1)

2013-04-19 Thread Jan Kara
On Mon 15-04-13 11:59:59, l...@tigusoft.pl wrote: > There are 2 hard drives (normal, magnetic) in software raid 1 > on 3.2.41 kernel. Any possibility in trying a newer kernel? Like 3.8 / 3.9? > When I write into them e.g. using dd from /dev/zero to a local file > (ext4 on default settings),

[GIT PULL) xen (stable/for-linus-3.10-rc0-tag) for v3.10 merge window.

2013-04-19 Thread Konrad Rzeszutek Wilk
Hey Linus, I am heading out for a week of vacation but would hate to have missed the merge window. Hence sending it out early in anticipation that you will release v3.9 on Sunday. With that said, please git pull the following tag: git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git

Re: [PATCH] ARM: mx28: add dma channels for all auarts

2013-04-19 Thread Fabio Estevam
Hi Eric, On Fri, Apr 19, 2013 at 12:05 PM, Eric Bénard wrote: > Only auart0 was filled. > Tested on a custom i.MX283 board for ttyAPP1/2/3/4. > > Signed-off-by: Eric Bénard > --- > arch/arm/boot/dts/imx28.dtsi | 4 > 1 file changed, 4 insertions(+) > > diff --git

Re: [RFC PATCH v2 00/15][Sorted-buddy] mm: Memory Power Management

2013-04-19 Thread Srinivas Pandruvada
On 04/19/2013 12:12 AM, Srivatsa S. Bhat wrote: On 04/19/2013 11:04 AM, Simon Jeons wrote: Hi Srivatsa, On 04/10/2013 05:45 AM, Srivatsa S. Bhat wrote: [I know, this cover letter is a little too long, but I wanted to clearly explain the overall goals and the high-level design of this patchset

Re: [PATCH] ARM: dts: omap4-panda: Add USB Host support

2013-04-19 Thread Tony Lindgren
* Roger Quadros [130419 01:23]: > On 04/18/2013 11:09 PM, Tony Lindgren wrote: > > > the naming should be mode0name.modename to be consistent. Here's > > what I dumped out, please check and replace spaces with tabs: > > > > 0x82 0x10c /* > >

[PATCH 3/3] rtc: rtc-hid-sensor-time; add option hctosys to set time at boot

2013-04-19 Thread Alexander Holler
drivers/rtc/hctosys (CONFIG_RTC_HCTOSYS) doesn't work for rtc-hid-sensor-time because it will be called in late_init, and thus before rtc-hid-sensor-time gets loaded. To set the time through rtc-hid-sensor-time at startup, the module now checks by default if the system time is before 1970-01-02

[PATCH 2/3] rtc: rtc-hid-sensor-time: allow 16 and 32 bit values for all attributes.

2013-04-19 Thread Alexander Holler
There is no real reason to not support 16 or 32 bit values too. Signed-off-by: Alexander Holler --- drivers/rtc/rtc-hid-sensor-time.c | 59 +-- 1 file changed, 32 insertions(+), 27 deletions(-) diff --git a/drivers/rtc/rtc-hid-sensor-time.c

[GIT PULL] fuse build fix for 3.9

2013-04-19 Thread Miklos Szeredi
Linus, Could you please pull this single fix from git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git for-linus This fixes android builds. The patch appears large, but is just search & replace. Thanks, Miklos Miklos Szeredi (1): fuse: fix type definitions in uapi

[PATCH 1/3 RESEND] rtc: rtc-hid-sensor-time: allow full years (16bit) in HID reports

2013-04-19 Thread Alexander Holler
The draft for HID-sensors (HUTRR39) currently doesn't define the range for the attribute year. Asking one of the authors revealed that full years (e.g. 2013 instead of just 13) were meant. So we now allow both, 8 bit and 16 bit values for the attribute year and assuming full years when the value

[PATCH 0/3] rtc: rtc-hid-sensor-time

2013-04-19 Thread Alexander Holler
Hello, as I'm not sure if the maintainer of the RTC subsystem is active again, I've added the people which where involved with rtc-hid-sensor-time before to cc too. That might be a good idea even he is active again, as the driver depends on hid-sensor-hub and as such works a bit outside the

Re: ahci driver cannot suspend a CF card, ata_piix can

2013-04-19 Thread Aaron Lu
On 04/16/2013 07:58 PM, Boszormenyi Zoltan wrote: Hi, The SATA interface can be switched between AHCI and legacy modes as usual: 00:1f.2 SATA controller: Intel Corporation NM10/ICH7 Family SATA Controller [AHCI mode] (rev 02) The device attached to the SATA controller is always a CF card via

Re: [PATCH v3] irqchip: Add support for ARMv7-M's NVIC

2013-04-19 Thread Uwe Kleine-König
On Thu, Apr 18, 2013 at 11:35:22AM +0200, Thomas Gleixner wrote: > On Wed, 17 Apr 2013, Uwe Kleine-König wrote: > > +struct nvic_bank_data { > > + /* > > +* For irq i base holds nvic_base + 4 * i / 32. So you can access the > > +* right ISER register (i.e ISER[i / 32]) by just taking

<    1   2   3   4   5   6   7   8   9   10   >