[PATCHv3 resend 3/3] ASoC: core: Fix check before setting default I/O up try regmap

2014-03-10 Thread Xiubo Li
Since the CODEC driver could specify its own I/O(read and write) while registering the CODEC for some reason, maybe the MFDs is used, etc. So just do check it, if they are not specified by CODEC driver then try to set up the default regmap I/O if regmap is used. Signed-off-by: Xiubo Li ---

[PATCHv3 resend 0/3] Simplify the CODEC ASoC probe code.

2014-03-10 Thread Xiubo Li
Resend this patch series, and this resend ones are based Lars's following patches: http://mailman.alsa-project.org/pipermail/alsa-devel/2014-March/073785.html http://mailman.alsa-project.org/pipermail/alsa-devel/2014-March/073786.html Xiubo Li (3): ASoC: codec: Simplify ASoC probe code.

[PATCHv3 resend 1/3] ASoC: codec: Simplify ASoC probe code.

2014-03-10 Thread Xiubo Li
For some CODEC drivers like who act as the MFDs children are ignored by this patch. Signed-off-by: Xiubo Li --- This patch has nothing changed. sound/soc/codecs/ad193x.c| 10 +- sound/soc/codecs/adau1373.c | 7 --- sound/soc/codecs/adav80x.c | 7 ---

[PATCHv3 resend 2/3] ASoC: io: New signature for snd_soc_codec_set_cache_io()

2014-03-10 Thread Xiubo Li
Now that all users have been converted to regmap and the config.reg_bits and config.val_bits can be setted by each user through regmap core API. So these two params are redundant here. Since the only control type that left is SND_SOC_REGMAP, so remove it. Drop the control params and add struct

[f2fs-dev] [PATCH] f2fs: recover inline xattr data in roll-forward process

2014-03-10 Thread Chao Yu
Previously we do not recover inline xattr data of inode after power-cut, so inline xattr data may be lost. We should recover the data during the roll-forward process. Signed-off-by: Chao Yu --- fs/f2fs/node.c | 33 + 1 file changed, 33 insertions(+) diff --git

Re: bad rss-counter message in 3.14rc5

2014-03-10 Thread Dave Jones
On Mon, Mar 10, 2014 at 10:01:58PM -0700, Andrew Morton wrote: > On Tue, 11 Mar 2014 00:51:09 -0400 Dave Jones wrote: > > > On Mon, Mar 10, 2014 at 09:46:12PM -0700, Andrew Morton wrote: > > > On Mon, 10 Mar 2014 20:13:40 -0700 Andrew Morton > > wrote: > > > > > > > > Anyone ? I'm

RE: [PATCH v2 1/2] i2c: add DMA support for freescale i2c driver

2014-03-10 Thread Yao Yuan
On Thu, Mar 10, 2014 at 10:01:42 AM, Marek Vasut wrote: > On Thu, Mar 06, 2014 at 12:57:42PM +0100, Marek Vasut wrote: > > On Thursday, March 06, 2014 at 06:02:03 AM, Yao Yuan wrote: > > > On Thu, March 06, 2014 at 12:44:14 PM, Marek Vasut wrote: > > > > On Thursday, March 06, 2014 at 05:36:14 AM,

Re: [PATCH v2] x86, calgary: use 8M TCE table size by default

2014-03-10 Thread Jon Mason
On Mon, Mar 10, 2014 at 8:54 AM, Muli Ben-Yehuda wrote: > Patch looks good to me. > > Acked-by: Muli Ben-Yehuda Me too (just in case you want us both). Acked-by: Jon Mason > > Cheers, > Muli -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message

kernel cross reference are added in www.xrefs.info: 3.13.6, 3.12.10-14, 3.10.33

2014-03-10 Thread John Smith
hi, kernel cross reference are added in http://www.xrefs.info: 3.13.6, 3.12.10-14, 3.10.33. Thx. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: How could we get rid of saved_max_pfn for calgary iommu?

2014-03-10 Thread Jon Mason
On Sun, Mar 9, 2014 at 12:06 AM, Muli Ben-Yehuda wrote: > On Thu, Mar 06, 2014 at 07:46:44AM -0700, Jon Mason wrote: > >> > I don't know of anyone still using it, but it's not >> > impossible. Calgary and CalIOC2 machines would now be ~5-8 years >> > old. >> >> It is getting a bit crufty in

[PATCH for-tip V2] perf/x86/uncore: Add __init for uncore_cpumask_init().

2014-03-10 Thread Dongsheng Yang
Commit 411cf180f introduce function uncore_cpumask_init() and it calls uncore_cpu_setup() which is marked as __init. But it is not marked with __init, then the following warning is there when building. WARNING: vmlinux.o(.text+0x2464a): Section mismatch in reference from the function

Re: [PATCH 1/3] tracing: Use inline task_nice() to get rid of an open coded implementation of it.

2014-03-10 Thread Dongsheng Yang
Hi steve, Could you take these three patches if they looks fine to you?? Thanx On 03/05/2014 08:36 PM, Dongsheng Yang wrote: Function task_nice() was reimplemented as inline function, we can use it here to replace the open coded implementation. Signed-off-by: Dongsheng Yang cc: Steven

Re: bad rss-counter message in 3.14rc5

2014-03-10 Thread Dave Jones
On Mon, Mar 10, 2014 at 10:01:58PM -0700, Andrew Morton wrote: > On Tue, 11 Mar 2014 00:51:09 -0400 Dave Jones wrote: > > > On Mon, Mar 10, 2014 at 09:46:12PM -0700, Andrew Morton wrote: > > > On Mon, 10 Mar 2014 20:13:40 -0700 Andrew Morton > > wrote: > > > > > > > > Anyone ? I'm

[PATCH 01/15] sched/prio: Add a macro named NICE_TO_RLIMIT in prio.h.

2014-03-10 Thread Dongsheng Yang
This patch add a macro named NICE_TO_RLIMIT in prio.h to convert nice value [19,-20] to rlimit style value [1,40]. Signed-off-by: Dongsheng Yang --- include/linux/sched/prio.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/linux/sched/prio.h b/include/linux/sched/prio.h index

[PATCH 07/15] ioprio: Add a macro named NICE_TO_IOPRIO.

2014-03-10 Thread Dongsheng Yang
As the task nice value is in [-20, 19] and the io priority is in [0, 7], and the convert method from niceval to ioprio is implemented with an opened code in task_nice_ioprio(). This patch move the implementation to a macro NICE_TO_IOPRIO, making it more readable and modular. Signed-off-by:

[PATCH 03/15] workqueue: Replace hardcoding of -20 with MIN_NICE.

2014-03-10 Thread Dongsheng Yang
Signed-off-by: Dongsheng Yang cc: Tejun Heo --- kernel/workqueue.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/workqueue.c b/kernel/workqueue.c index 3fa5b8f..7528bec 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c @@ -100,10 +100,10 @@ enum {

[PATCH 08/15] fs/hearbeat: Replace hardcoding of -20 with MIN_NICE.

2014-03-10 Thread Dongsheng Yang
Signed-off-by: Dongsheng Yang cc: ocfs2-de...@oss.oracle.com cc: Dong Fang --- fs/ocfs2/cluster/heartbeat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ocfs2/cluster/heartbeat.c b/fs/ocfs2/cluster/heartbeat.c index bf482df..7303929 100644 ---

[PATCH 13/15] sched/prio: Add a macro named RLIMIT_TO_NICE in prio.h.

2014-03-10 Thread Dongsheng Yang
Signed-off-by: Dongsheng Yang --- include/linux/sched/prio.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/sched/prio.h b/include/linux/sched/prio.h index 8e78c47..e34bf0a 100644 --- a/include/linux/sched/prio.h +++ b/include/linux/sched/prio.h @@ -45,5 +45,6 @@ * Convert

[PATCH 05/15] tools/mq_perf_tests: Replace hardcoding of -20 with MIN_NICE.

2014-03-10 Thread Dongsheng Yang
Signed-off-by: Dongsheng Yang --- tools/testing/selftests/mqueue/mq_perf_tests.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/testing/selftests/mqueue/mq_perf_tests.c b/tools/testing/selftests/mqueue/mq_perf_tests.c index 2fadd4b..09dce51 100644 ---

[PATCH 14/15] driver/staging/lustre: Replace hardcoding of -20 with MIN_NICE.

2014-03-10 Thread Dongsheng Yang
Signed-off-by: Dongsheng Yang cc: de...@driverdev.osuosl.org cc: Xiong Zhou cc: Andreas Dilger cc: Cyril Roelandt cc: Kent Overstreet cc: Peng Tao --- drivers/staging/lustre/lustre/llite/lloop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 12/15] driver/staging/android: Use RLIMIT_TO_NICE to replace opened code implementation.

2014-03-10 Thread Dongsheng Yang
There is a macro RLINIT_TO_NICE in linux/sched/prio.h to convert priority in rlimit to nice value. This patch replace the opened implementation with RLINIT_TO_NICE. Signed-off-by: Dongsheng Yang cc: de...@driverdev.osuosl.org cc: Masanari Iida cc: Bojan Prtvar cc: Serban Constantinescu ---

[PATCH 10/15] driver/char: Replace hardcoding of 19 with MAX_NICE.

2014-03-10 Thread Dongsheng Yang
Signed-off-by: Dongsheng Yang cc: openipmi-develo...@lists.sourceforge.net cc: Corey Minyard --- drivers/char/ipmi/ipmi_si_intf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c index 03f4189..03c0eed 100644

Re: + zram-propagate-error-to-user-fix.patch added to -mm tree

2014-03-10 Thread Minchan Kim
*slaps self* Thanks Sergey and Andrew! On Mon, Mar 10, 2014 at 01:16:38PM -0700, a...@linux-foundation.org wrote: > Subject: + zram-propagate-error-to-user-fix.patch added to -mm tree > To: >

[PATCH 02/15] kernel/sys: Replace opened code implementation with NICE_TO_RLIMIT macro.

2014-03-10 Thread Dongsheng Yang
From: Joe Perches Convert 20 - task_nice(p) to NICE_TO_RLIMIT(task_nice(p)). Reduce the indent the switch case labels while there. git diff -w shows 3 lines changed and a /* fall-through */ comment added $ git diff -w -U0 kernel/sys.c @@ -253 +253 @@ SYSCALL_DEFINE2(getpriority, int,

[PATCH 06/15] mm: Replace hardcoding of 19 with MAX_NICE.

2014-03-10 Thread Dongsheng Yang
Signed-off-by: Dongsheng Yang cc: linux...@kvack.org cc: Bob Liu cc: "Aneesh Kumar K.V" cc: "Kirill A. Shutemov" cc: Mel Gorman cc: Rik van Riel cc: Andrew Morton --- mm/huge_memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/huge_memory.c b/mm/huge_memory.c

[PATCH 11/15] drivers/s390: Replace hardcoding of 19 with MAX_NICE.

2014-03-10 Thread Dongsheng Yang
Signed-off-by: Dongsheng Yang cc: linux-s...@vger.kernel.org cc: Heiko Carstens cc: Martin Schwidefsky cc: Ingo Tuchscherer --- drivers/s390/crypto/ap_bus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/s390/crypto/ap_bus.c b/drivers/s390/crypto/ap_bus.c index

[PATCH 15/15] driver/scsi: Replace hardcoding of 20 with MIN_NICE.

2014-03-10 Thread Dongsheng Yang
Signed-off-by: Dongsheng Yang cc: fcoe-de...@open-fcoe.org cc: James Smart cc: Robert Jennings cc: Robert Love --- drivers/scsi/bnx2fc/bnx2fc_fcoe.c | 4 ++-- drivers/scsi/bnx2i/bnx2i_hwi.c| 2 +- drivers/scsi/fcoe/fcoe.c | 2 +- drivers/scsi/ibmvscsi/ibmvfc.c| 2 +-

[PATCH 09/15] driver/block: Replace hardcoding of -20 with MIN_NICE.

2014-03-10 Thread Dongsheng Yang
Signed-off-by: Dongsheng Yang cc: nbd-gene...@lists.sourceforge.net cc: Wei Yongjun cc: Tejun Heo --- drivers/block/loop.c| 2 +- drivers/block/nbd.c | 2 +- drivers/block/pktcdvd.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/block/loop.c

[PATCH 04/15] locktorture: Replace hardcoding of 19 with MAX_NICE.

2014-03-10 Thread Dongsheng Yang
Signed-off-by: Dongsheng Yang --- kernel/locking/locktorture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/locking/locktorture.c b/kernel/locking/locktorture.c index f26b1a1..23343be 100644 --- a/kernel/locking/locktorture.c +++ b/kernel/locking/locktorture.c @@

[PATCH 00/15] A series patch for priority.

2014-03-10 Thread Dongsheng Yang
Hi all, This patchset is all about priority. 1. Add two macros in prio.h named NICE_TO_RLIMIT and RLIMIT_TO_NICE. They are converting the value between nice value [-20, 19] and rlimit style value [1, 40]. 2. Add a macro in ioprio.h named NICE_TO_IOPRIO. It convert nice value

Re: bad rss-counter message in 3.14rc5

2014-03-10 Thread Andrew Morton
On Tue, 11 Mar 2014 00:51:09 -0400 Dave Jones wrote: > On Mon, Mar 10, 2014 at 09:46:12PM -0700, Andrew Morton wrote: > > On Mon, 10 Mar 2014 20:13:40 -0700 Andrew Morton > wrote: > > > > > > Anyone ? I'm hitting this trace on an almost daily basis, which is a > pain > > > > while trying

Re: [powerpc:next 45/53] warning: (PPC_C2K && ..) selects NOT_COHERENT_CACHE which has unmet direct dependencies (4xx || ..)

2014-03-10 Thread Fengguang Wu
On Mon, Mar 10, 2014 at 10:49:24AM -0400, Paul Gortmaker wrote: > On 14-03-08 03:07 AM, kbuild test robot wrote: > > tree: git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git next > > head: c7e64b9ce04aa2e3fad7396d92b5cb92056d16ac > > commit: 3c8464a9b12bf83807b6e2c896d7e7b633e1cae7

Re: bad rss-counter message in 3.14rc5

2014-03-10 Thread Dave Jones
On Mon, Mar 10, 2014 at 09:46:12PM -0700, Andrew Morton wrote: > On Mon, 10 Mar 2014 20:13:40 -0700 Andrew Morton > wrote: > > > > Anyone ? I'm hitting this trace on an almost daily basis, which is a pain > > > while trying to reproduce a different bug.. > > > > Damn, I thought we'd

Re: bad rss-counter message in 3.14rc5

2014-03-10 Thread Dave Jones
On Mon, Mar 10, 2014 at 09:46:12PM -0700, Andrew Morton wrote: > On Mon, 10 Mar 2014 20:13:40 -0700 Andrew Morton > wrote: > > > > Anyone ? I'm hitting this trace on an almost daily basis, which is a pain > > > while trying to reproduce a different bug.. > > > > Damn, I thought we'd

RE: [PATCH] i2c-cadence: Do not let signals interrupt I2C transfers

2014-03-10 Thread Suneel Garapati
Hi Mike/Soren, > -Original Message- > From: Sören Brinkmann [mailto:soren.brinkm...@xilinx.com] > Sent: Tuesday, March 11, 2014 03:30 > To: Mike Looijmans; Michal Simek > Cc: git; w...@the-dreams.de; linux-...@vger.kernel.org; linux- > ker...@vger.kernel.org > Subject: Re: [PATCH]

Re: [PATCH v5] can: xilinx CAN controller support.

2014-03-10 Thread Fengguang Wu
> > You probably want something like > > > > config CAN_XILINX > > tristate "Xilinx CAN" > > depends on ARCH_ZYNQ || MICROBLAZE || COMPILE_TEST > > depends on COMMON_CLK && HAS_MMIO # whatever you need for other > > architectures > > Fengguang: Are you use COMPILE_TEST in zero

[PATCH v9 net-next 1/3] filter: add Extended BPF interpreter and converter

2014-03-10 Thread Alexei Starovoitov
Extended BPF extends old BPF in the following ways: - from 2 to 10 registers Original BPF has two registers (A and X) and hidden frame pointer. Extended BPF has ten registers and read-only frame pointer. - from 32-bit registers to 64-bit registers semantics of old 32-bit ALU operations are

[PATCH v9 net-next 3/3] doc: filter: add Extended BPF documentation

2014-03-10 Thread Alexei Starovoitov
Signed-off-by: Alexei Starovoitov Reviewed-by: Daniel Borkmann --- Documentation/networking/filter.txt | 181 +++ 1 file changed, 181 insertions(+) diff --git a/Documentation/networking/filter.txt b/Documentation/networking/filter.txt index

Re: bad rss-counter message in 3.14rc5

2014-03-10 Thread Andrew Morton
On Mon, 10 Mar 2014 20:13:40 -0700 Andrew Morton wrote: > > Anyone ? I'm hitting this trace on an almost daily basis, which is a pain > > while trying to reproduce a different bug.. > > Damn, I thought we'd fixed that but it seems not. Cc's added. > > Guys, what stops the migration target

[PATCH v9 net-next 2/3] seccomp: convert seccomp to use extended BPF

2014-03-10 Thread Alexei Starovoitov
use sk_convert_filter() to convert seccomp BPF into extended BPF 05-sim-long_jumps.c of libseccomp was used as micro-benchmark: seccomp_rule_add_exact(ctx,... seccomp_rule_add_exact(ctx,... rc = seccomp_load(ctx); for (i = 0; i < 1000; i++) syscall(199, 100); 'short filter' has

[PATCH v9 net-next 0/3] filter: add Extended BPF interpreter and converter, seccomp

2014-03-10 Thread Alexei Starovoitov
Hi All, V1 patches: http://thread.gmane.org/gmane.linux.kernel/1605783 V2 patches: http://thread.gmane.org/gmane.linux.kernel/1642325 V3 patches: http://thread.gmane.org/gmane.linux.kernel/1656538 V4 summary: - addressed Daniel comments - RFC for seccomp with extended BPF - added extended BPF

Re: [PATCH] pinctrl: at91: add the config GPIO_OUTPUT_x

2014-03-10 Thread Jean-Christophe PLAGNIOL-VILLARD
On Mar 11, 2014, at 9:28 AM, Yang, Wenyou wrote: > Hi JC, > >> -Original Message- >> From: Yang, Wenyou >> Sent: Wednesday, March 05, 2014 1:32 PM >> To: Jean-Christophe PLAGNIOL-VILLARD >> Cc: linus.wall...@linaro.org; b.brezil...@overkiz.com; > ker...@lists.infradead.org> mailing

[PATCH] mtd: nand: fix mention to CONFIG_MTD_NAND_ECC_BCH

2014-03-10 Thread Erico Nunes
Mention to CONFIG_MTD_ECC_BCH in the warning message can be confusing as this doesn't match the exact name of the configuration option. This warning showed up once to me when I was starting to set up BCH. After checking my .config file, it took a moment before realizing it is

Re: [PATCH RT] fs: jbd2: pull your plug when waiting for space

2014-03-10 Thread Mike Galbraith
On Mon, 2014-03-10 at 13:47 -0400, Theodore Ts'o wrote: > On Fri, Feb 21, 2014 at 02:54:12PM +0100, Mike Galbraith wrote: > > > > ext3: dbench1 queues a buffer, blocks on journal mutex, it's plug is not > > pulled. dbench2 mutex owner is waiting for kjournald, who is waiting for > > the buffer

Re: [PATCH v2] x86: Remove compat vdso support

2014-03-10 Thread Andy Lutomirski
On Mon, Mar 10, 2014 at 8:09 PM, Linus Torvalds wrote: > On Mon, Mar 10, 2014 at 7:37 PM, Andy Lutomirski wrote: >> >> It does. My patch breaks OpenSuSE 9 when >> CONFIG_ENABLE_VDSO32_BY_DEFAULT=y unless it's overridden by sysctl or >> boot option. > > Oh, I missed that "when =y" part. > > But

Re: [for-next][PATCH 08/20] tracing: Warn if a tracepoint is not set via debugfs

2014-03-10 Thread Mathieu Desnoyers
- Original Message - > From: "Steven Rostedt" > To: "Frank Ch. Eigler" > Cc: "Mathieu Desnoyers" , > linux-kernel@vger.kernel.org, "Ingo Molnar" > , "Frederic Weisbecker" , "Andrew > Morton" , > "Johannes Berg" > Sent: Monday, March 10, 2014 10:58:20 PM > Subject: Re: [for-next][PATCH

Linking reviews and commits

2014-03-10 Thread Murtuza Mukadam
Hi, We have linked commits with their respective peer review discussion on LKML. You can search for reviews of commits here: http://cesel.encs.concordia.ca/process_request.php?repo=linux We also created a tool that allows you to load and view reviews within git (the tool is beta):

Re: wireless: Kconfig: add missing dependency for airo_cs

2014-03-10 Thread Zhao, Gang
On Mon, 2014-03-10 at 22:05:25 +0800, Arnd Bergmann wrote: > commit 4c59ff221e070 "wireless: Kconfig: add missing dependency" added a > number > of 'depends on CFG80211' statements, but missed the AIRO_CS driver that > also causes the airo.c file to be built. This adds the (hopefully) last > such

Re: [PATCH] sched/clock: prevent tracing recursion in sched_clock_cpu()

2014-03-10 Thread Steven Rostedt
On Mon, 10 Mar 2014 16:17:18 +0900 Fernando Luis Vázquez Cao wrote: > Thank you four your review, Peter, Steven. > > By the way, who is going to pick this patch? Do you want > me to resend with Steven's Acked-by added? I don't think you have to. I believe Peter got it. I know there's a bunch

Re: [PATCH] cpufreq: SPEAr: Instantiate as platform_driver

2014-03-10 Thread Viresh Kumar
On 11 March 2014 09:04, Rafael J. Wysocki wrote: > On Monday, March 10, 2014 03:43:18 PM Viresh Kumar wrote: >> As multiplatform build is being adopted by more and more ARM platforms, >> initcall >> function should be used very carefully. For example, when SPEAr cpufreq >> driver >> is enabled

Re: [PATCH 1/2] serial_core: Unregister console in uart_remove_one_port()

2014-03-10 Thread Peter Hurley
On 03/10/2014 09:06 PM, Peter Hurley wrote: [ +cc Alan ] On 02/28/2014 08:21 AM, Geert Uytterhoeven wrote: From: Geert Uytterhoeven If the serial port being removed is used as a console, it must also be unregistered from the console subsystem using unregister_console().

RE: [PATCHv2 RESEND] i2c: designware-pci: set ideal HCNT, LCNT and SDA hold time value

2014-03-10 Thread Chew, Chiau Ee
> Subject: [PATCHv2 RESEND] i2c: designware-pci: set ideal HCNT, LCNT and SDA > hold time value > > From: Chew, Chiau Ee > > On Intel BayTrail, there was case whereby the resulting fast mode bus speed > becomes slower (~20% slower compared to expected speed) if using the > HCNT/LCNT calculated

Re: [BUG] perf annotate: not reporting all events profiles

2014-03-10 Thread Arnaldo Carvalho de Melo
Em Mon, Mar 10, 2014 at 10:57:48PM +0100, Stephane Eranian escreveu: > Arnaldo, > > I am using tip.git perf and I do the following: > > $ perf record -e cycles,instructions foo > $ perf annotate --stdio > > (no explicit grouping). > > I only see the asm profile for the first event (cycles). >

[PATCHv2 RESEND] i2c: designware-pci: set ideal HCNT, LCNT and SDA hold time value

2014-03-10 Thread Chew Chiau Ee
From: Chew, Chiau Ee On Intel BayTrail, there was case whereby the resulting fast mode bus speed becomes slower (~20% slower compared to expected speed) if using the HCNT/LCNT calculated in the core layer. Thus, this patch is added to allow pci glue layer to pass in optimal HCNT/LCNT/SDA hold

Re: [PATCH v4 1/3] mfd: Add realtek USB card reader driver

2014-03-10 Thread Roger
On 03/03/2014 04:48 PM, Roger wrote: On 02/24/2014 11:00 AM, Chris Ball wrote: Hi, On Mon, Feb 24 2014, Roger wrote: Would you please help comment PATCH 2/3 and 3/3 (for mmc and memstick, respectively) or give Acks? Thus we can proceed with applying or revision if necessary. For 2/3:

[PATCH] staging: dgnc: replace unnecessary while() with if()

2014-03-10 Thread Daeseok Youn
It doesn't need to use while loop for getting newrate, because it always breaks out the end of while loop with "break". So just replace while with if. And the type of newrate is "unsigned int", this type is never less than zero. If it can be set to negative value by user application with

Re: serial core: crash / race condition on unbind

2014-03-10 Thread Peter Hurley
[ +cc Alan ] On 03/10/2014 04:48 PM, Geert Uytterhoeven wrote: On Fri, Mar 7, 2014 at 5:55 PM, Geert Uytterhoeven wrote: When unbinding a serial driver, uart_remove_one_port() clears uart_state.uart_port: state->uart_port = NULL; If the serial port is still in use (e.g. by getty),

Re: [PATCH v2] x86: Remove compat vdso support

2014-03-10 Thread Linus Torvalds
On Mon, Mar 10, 2014 at 7:37 PM, Andy Lutomirski wrote: > > It does. My patch breaks OpenSuSE 9 when > CONFIG_ENABLE_VDSO32_BY_DEFAULT=y unless it's overridden by sysctl or > boot option. Oh, I missed that "when =y" part. But why do we then want to have that "=y" as an option at all? If the

Re: bad rss-counter message in 3.14rc5

2014-03-10 Thread Andrew Morton
On Mon, 10 Mar 2014 22:49:06 -0400 Dave Jones wrote: > ... > > > > 124 static inline struct page *migration_entry_to_page(swp_entry_t > entry) > > > 125 { > > > 126 struct page *p = pfn_to_page(swp_offset(entry)); > > > 127 /* > > > 128 * Any use of migration

Re: [PATCH v8 net-next 1/3] filter: add Extended BPF interpreter and converter

2014-03-10 Thread Linus Torvalds
On Mon, Mar 10, 2014 at 7:33 PM, H. Peter Anvin wrote: > Why not for variables? My dislike of "bool" comes from the fact that you historically can't *trust* it. I guess it's becoming trustworthy these days, but quite often, traditionally, "bool" ended up being just another word for "char",

Re: [PATCH v8 net-next 1/3] filter: add Extended BPF interpreter and converter

2014-03-10 Thread Joe Perches
On Mon, 2014-03-10 at 19:02 -0700, Linus Torvalds wrote: > On Mon, Mar 10, 2014 at 6:51 PM, David Miller wrote: > > From: Alexei Starovoitov > > Date: Sun, 9 Mar 2014 23:04:02 -0700 > > > >> + unsigned intjited:1; > > > > The C language has a proper type for boolean states,

Re: [PATCH v7 2/2] iio: Add AS3935 lightning sensor support

2014-03-10 Thread Matt Ranostay
On Thu, Mar 6, 2014 at 11:04 AM, Jonathan Cameron wrote: > On 12/02/14 04:31, Matt Ranostay wrote: >> >> AS3935 chipset can detect lightning strikes and reports those back as >> events and the estimated distance to the storm. >> >> Signed-off-by: Matt Ranostay > > Given the resounding lack of

Re: [PATCH] kernel/sys: Replace hardcoding of 20 with MAX_NICE + 1

2014-03-10 Thread Dongsheng Yang
On 03/11/2014 10:21 AM, Joe Perches wrote: On Tue, 2014-03-11 at 09:17 +0800, Dongsheng Yang wrote: Hi Joe, On 03/11/2014 06:23 AM, Joe Perches wrote: Convert the use of 20 to NICE_MAX + 1. What about adding a macro in prio.h to convert nice value [19,-20] to rlimit style value [1,40]? It

Re: [PATCHSET 0/9] perf tools: Update on filtered entries' percentage output (v7)

2014-03-10 Thread Davidlohr Bueso
On Mon, 2014-03-10 at 19:58 -0700, Davidlohr Bueso wrote: > On Mon, 2014-03-10 at 23:08 +0100, Andi Kleen wrote: > > On Mon, Mar 10, 2014 at 04:43:51PM +0900, Namhyung Kim wrote: > > > Hello, > > > > > > I added --percentage option to perf report to control display of > > > percentage of filtered

Re: [for-next][PATCH 08/20] tracing: Warn if a tracepoint is not set via debugfs

2014-03-10 Thread Steven Rostedt
On Mon, 10 Mar 2014 22:41:31 -0400 f...@redhat.com (Frank Ch. Eigler) wrote: > > Hi - > > > >> From: Steven Rostedt > >> > >> Tracepoints were made to allow enabling a tracepoint in a module before > >> that > >> module was loaded. When a tracepoint is enabled and it does not exist, the >

Re: oops in slab/leaks_show

2014-03-10 Thread Joonsoo Kim
On Mon, Mar 10, 2014 at 09:24:55PM -0400, Dave Jones wrote: > On Tue, Mar 11, 2014 at 10:01:35AM +0900, Joonsoo Kim wrote: > > On Tue, Mar 11, 2014 at 09:35:00AM +0900, Joonsoo Kim wrote: > > > On Fri, Mar 07, 2014 at 11:18:30AM -0600, Christoph Lameter wrote: > > > > Joonsoo recently changed

Re: [PATCHSET 0/9] perf tools: Update on filtered entries' percentage output (v7)

2014-03-10 Thread Davidlohr Bueso
On Mon, 2014-03-10 at 23:08 +0100, Andi Kleen wrote: > On Mon, Mar 10, 2014 at 04:43:51PM +0900, Namhyung Kim wrote: > > Hello, > > > > I added --percentage option to perf report to control display of > > percentage of filtered entries. > > > > usage: perf report [] > > > >

Re: [PATCH v8 net-next 1/3] filter: add Extended BPF interpreter and converter

2014-03-10 Thread Alexei Starovoitov
On Mon, Mar 10, 2014 at 7:20 PM, H. Peter Anvin wrote: > Bool vs bitfield are orthogonal, at least under gcc, unless I'm completely > out to sea. It is probably not a good idea to create a bitfield when it > doesn't buy you anything, lest you generate rmw instructions when byte stores > would

Re: [PATCH RT 2/5] a few open coded completions

2014-03-10 Thread Steven Rostedt
On Tue, 11 Mar 2014 02:06:46 + Ben Hutchings wrote: > > I don't run a make allmodconfig as I do on my upstream work. Maybe I'll > > have to add that to the mix. > > You can enable all the affected code with: > > CONFIG_HERMES=m > CONFIG_ORINOCO_USB=m > CONFIG_USB_GADGET=m >

[PATCH v2] i2c: designware-pci: set ideal HCNT, LCNT and SDA hold time value

2014-03-10 Thread Chew Chiau Ee
From: Chew, Chiau Ee On Intel BayTrail, there was case whereby the resulting fast mode bus speed becomes slower (~20% slower compared to expected speed) if using the HCNT/LCNT calculated in the core layer. Thus, this patch is added to allow pci glue layer to pass in optimal HCNT/LCNT/SDA hold

Re: bad rss-counter message in 3.14rc5

2014-03-10 Thread Dave Jones
On Thu, Mar 06, 2014 at 07:22:10PM -0500, Dave Jones wrote: > On Wed, Mar 05, 2014 at 12:57:25PM -0500, Dave Jones wrote: > > On Wed, Mar 05, 2014 at 12:45:03PM -0500, Dave Jones wrote: > > > I just saw this on my box that's been running trinity.. > > > > > > [48825.517189] BUG: Bad

Re: [for-next][PATCH 08/20] tracing: Warn if a tracepoint is not set via debugfs

2014-03-10 Thread Frank Ch. Eigler
Hi - >> From: Steven Rostedt >> >> Tracepoints were made to allow enabling a tracepoint in a module before that >> module was loaded. When a tracepoint is enabled and it does not exist, the >> name is stored and will be enabled when the tracepoint is created. >> >> The problem with this

Re: [PATCH v8 net-next 1/3] filter: add Extended BPF interpreter and converter

2014-03-10 Thread David Miller
From: "H. Peter Anvin" Date: Mon, 10 Mar 2014 19:33:03 -0700 > Why not for variables? It makes a lot of sense of nothing else to > avoid the confusion that invariably happens when someone decides to > introduce the value 2 or -1 to an existing variable (and yes, thus > has happened a number of

Re: [PATCH v2] x86: Remove compat vdso support

2014-03-10 Thread Andy Lutomirski
On Mon, Mar 10, 2014 at 6:39 PM, Linus Torvalds wrote: > On Mon, Mar 10, 2014 at 6:03 PM, Andy Lutomirski wrote: >> >> This is a bit of an abuse of the no-breaking-userspace policy. > > No it's not, because it won't be applied. > > You need to fix it. > > I'm not sure what goes wrong, since it

Re: [PATCH v8 net-next 1/3] filter: add Extended BPF interpreter and converter

2014-03-10 Thread H. Peter Anvin
Why not for variables? It makes a lot of sense of nothing else to avoid the confusion that invariably happens when someone decides to introduce the value 2 or -1 to an existing variable (and yes, thus has happened a number of times.) Not to mention they take a single byte rather than four for

Re: [reboot] WARNING: CPU: 0 PID: 112 at kernel/events/core.c:5655 perf_swevent_add()

2014-03-10 Thread Fengguang Wu
Hi Jiri, On Mon, Mar 10, 2014 at 01:53:19PM +0100, Jiri Olsa wrote: > On Sat, Mar 08, 2014 at 02:51:53PM +0800, Fengguang Wu wrote: > > > > Hi all, > > > > This is a very old WARNING, too old to be bisectable. The below 3 different > > back traces show that it's always triggered by trinity at

Re: [PATCH v8 net-next 1/3] filter: add Extended BPF interpreter and converter

2014-03-10 Thread H. Peter Anvin
Bool vs bitfield are orthogonal, at least under gcc, unless I'm completely out to sea. It is probably not a good idea to create a bitfield when it doesn't buy you anything, lest you generate rmw instructions when byte stores would do. On March 10, 2014 7:02:18 PM PDT, Linus Torvalds wrote:

Re: [PATCH net-next v2] r8152: add skb_cow_head

2014-03-10 Thread David Miller
From: Hayes Wang Date: Tue, 11 Mar 2014 10:20:32 +0800 > Call skb_cow_head() before editing the tx packet header. The header > would be reallocated if it is shared. > > Signed-off-by: Hayes Wang Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

Re: [PATCH v8 net-next 1/3] filter: add Extended BPF interpreter and converter

2014-03-10 Thread David Miller
From: Linus Torvalds Date: Mon, 10 Mar 2014 19:02:18 -0700 > I would generally suggest that people only use "bool" for function > return types, and absolutely nothing else. Seriously. I think it makes sense for function arguments too. -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH] vlan: Set correct source MAC address with TX VLAN offload enabled

2014-03-10 Thread David Miller
From: Peter Boström Date: Mon, 10 Mar 2014 16:17:15 +0100 > With TX VLAN offload enabled the source MAC address for frames sent using the > VLAN interface is currently set to the address of the real interface. This is > wrong since the VLAN interface may be configured with a different address. >

Re: [PATCH] kernel/sys: Replace hardcoding of 20 with MAX_NICE + 1

2014-03-10 Thread Joe Perches
On Tue, 2014-03-11 at 09:17 +0800, Dongsheng Yang wrote: > Hi Joe, > > On 03/11/2014 06:23 AM, Joe Perches wrote: > > Convert the use of 20 to NICE_MAX + 1. > > What about adding a macro in prio.h to convert nice value [19,-20] to > rlimit > style value [1,40]? > > It seems that it will be

[PATCH net-next v2] r8152: add skb_cow_head

2014-03-10 Thread Hayes Wang
Call skb_cow_head() before editing the tx packet header. The header would be reallocated if it is shared. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c

Re: [PATCH] drivers: mfd: silence compiler warning in sec-core.c

2014-03-10 Thread Pankaj Dubey
On 03/11/2014 12:07 AM, Lee Jones wrote: When used 64bit compiler GCC warns as drivers/mfd/sec-core.c:199:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] This patch fixes this by type-casting "match->data" into "long" before converting into "int"

Re: [Intel-gfx] agp/intel: can't ioremap flush page - no chipset flushing

2014-03-10 Thread Bjorn Helgaas
On Mon, Mar 10, 2014 at 6:15 PM, Paul Bolle wrote: > On Mon, 2014-03-10 at 18:07 -0600, Bjorn Helgaas wrote: >> On Mon, Mar 10, 2014 at 5:45 PM, Paul Bolle wrote: >> > A bit of doubt is caused by two new boot time messages: >> > pnp 00:00: unknown resource type 10 in _CRS >> > pnp 00:00:

Re: [PATCH RT 2/5] a few open coded completions

2014-03-10 Thread Ben Hutchings
On Mon, 2014-03-10 at 14:14 -0400, Steven Rostedt wrote: > On Mon, 10 Mar 2014 17:52:42 + > Ben Hutchings wrote: > > > On Mon, 2014-03-10 at 10:29 -0400, Steven Rostedt wrote: > > > On Sun, 09 Mar 2014 00:27:21 + > > > Ben Hutchings wrote: > > > > > > > On Wed, 2013-12-11 at 14:49

Re: [PATCH] cpuidle: add 'failed' statistic

2014-03-10 Thread Len Brown
Exactly what use-case do you have in mind for this attribute? "failed" is a strong word. Some validation guy is going to send me e-mail when it is non-zero... I don't like that use-case. But even if re-named, I don't see see how it will be useful. When I want to see how C-state predictions are

Re: [PATCH v8 net-next 1/3] filter: add Extended BPF interpreter and converter

2014-03-10 Thread Linus Torvalds
On Mon, Mar 10, 2014 at 7:02 PM, Linus Torvalds wrote: > > So please don't sell "bool" as some kind of panacea. It has at least > as many problems as it has advantages. Side note: not that bitfields are all that great either, partly because gcc tends to occasionally generate absolutely

[PATCH] power: add an API to log wakeup reasons

2014-03-10 Thread Ruchi Kandoi
Add API log_wakeup_reason() and expose it to userspace via sysfs path /sys/kernel/wakeup_reasons/last_resume_reason This is useful for power management diagnostic purposes. Signed-off-by: Ruchi Kandoi Signed-off-by: Greg Hackmann --- include/linux/wakeup_reason.h | 23 +++

Re: [PATCH v8 net-next 1/3] filter: add Extended BPF interpreter and converter

2014-03-10 Thread Linus Torvalds
On Mon, Mar 10, 2014 at 6:51 PM, David Miller wrote: > From: Alexei Starovoitov > Date: Sun, 9 Mar 2014 23:04:02 -0700 > >> + unsigned intjited:1; > > The C language has a proper type for boolean states, please therefore > use 'bool', true, and false. No, the C standard

Re: [PATCH v2] tools/net/Makefile: Define PACKAGE to fix build problems

2014-03-10 Thread David Miller
From: Markos Chandras Date: Mon, 10 Mar 2014 10:39:48 + > Fixes the following build problem with binutils-2.24 > > gcc -Wall -O2 -c -o bpf_jit_disasm.o bpf_jit_disasm.c > In file included from bpf_jit_disasm.c:25:0: > /usr/include/bfd.h:35:2: error: #error config.h must be included >

Re: [PATCH v8 net-next 1/3] filter: add Extended BPF interpreter and converter

2014-03-10 Thread David Miller
From: Alexei Starovoitov Date: Sun, 9 Mar 2014 23:04:02 -0700 > + unsigned intjited:1; The C language has a proper type for boolean states, please therefore use 'bool', true, and false. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: [PATCHv2 2/2] bridge: multicast: enable snooping on general queries only

2014-03-10 Thread Linus Lüssing
On Mon, Mar 10, 2014 at 11:56:00PM +0100, Hannes Frederic Sowa wrote: > On Mon, Mar 10, 2014 at 10:25:25PM +0100, Linus Lüssing wrote: > > br_multicast_query_received(br, port, >ip6_querier, > > - !ipv6_addr_any(>saddr), max_delay); > > +

Re: oops in slab/leaks_show

2014-03-10 Thread Dave Jones
On Tue, Mar 11, 2014 at 09:35:00AM +0900, Joonsoo Kim wrote: > On Fri, Mar 07, 2014 at 11:18:30AM -0600, Christoph Lameter wrote: > > Joonsoo recently changed the handling of the freelist in SLAB. CCing him. > > > > On Thu, 6 Mar 2014, Dave Jones wrote: > > > > > I pretty much always use

Re: [PATCH v2] x86: Remove compat vdso support

2014-03-10 Thread Linus Torvalds
On Mon, Mar 10, 2014 at 6:03 PM, Andy Lutomirski wrote: > > This is a bit of an abuse of the no-breaking-userspace policy. No it's not, because it won't be applied. You need to fix it. I'm not sure what goes wrong, since it *looks* like you handle the "vdso_enabled" thing correctly, so I find

RE: [PATCH] pinctrl: at91: add the config GPIO_OUTPUT_x

2014-03-10 Thread Yang, Wenyou
Hi JC, > -Original Message- > From: Yang, Wenyou > Sent: Wednesday, March 05, 2014 1:32 PM > To: Jean-Christophe PLAGNIOL-VILLARD > Cc: linus.wall...@linaro.org; b.brezil...@overkiz.com; ker...@lists.infradead.org> mailing list; Linux Kernel list; > devicet...@vger.kernel.org;

Re: oops in slab/leaks_show

2014-03-10 Thread Dave Jones
On Tue, Mar 11, 2014 at 10:01:35AM +0900, Joonsoo Kim wrote: > On Tue, Mar 11, 2014 at 09:35:00AM +0900, Joonsoo Kim wrote: > > On Fri, Mar 07, 2014 at 11:18:30AM -0600, Christoph Lameter wrote: > > > Joonsoo recently changed the handling of the freelist in SLAB. CCing him. > > > > > > > I

Re: [PATCH] kernel/sys: Replace hardcoding of 20 with MAX_NICE + 1

2014-03-10 Thread Dongsheng Yang
Hi Joe, On 03/11/2014 06:23 AM, Joe Perches wrote: Convert the use of 20 to NICE_MAX + 1. What about adding a macro in prio.h to convert nice value [19,-20] to rlimit style value [1,40]? It seems that it will be used in several places. - Dongsheng Reduce the indent the switch case

[PATCH v3] shdma: add R-Car Audio DMAC peri peri driver

2014-03-10 Thread Kuninori Morimoto
From: Kuninori Morimoto Add support Audio DMAC peri peri driver for Renesas R-Car Gen2 SoC, using 'shdma-base' DMA driver framework. Signed-off-by: Kuninori Morimoto --- v2 -> v3 - modiry copyright - use %pad for dma_addr_t - use sizeof(*hoge) for devm_kzalloc() drivers/dma/sh/Kconfig

Re: [PATCH 8/8] mfd: lpc_ich: Add support for Intel Bay Trail SoC

2014-03-10 Thread Guenter Roeck
On Mon, Mar 10, 2014 at 04:34:58PM -0500, Peter Tyser wrote: > This patch adds the LPC Controller Device IDs for Watchdog and GPIO for > the Intel Bay Trail Atom SoC. > > Signed-off-by: Peter Tyser > Cc: Guenter Roeck > Cc: James Ralston > Cc: Samuel Ortiz > Cc: Lee Jones Reviewed-by:

[PATCH 5/8] perf, tools: Support source line numbers in annotate

2014-03-10 Thread Andi Kleen
From: Andi Kleen With srcline key/sort'ing it's useful to have line numbers in the annotate window. This patch implements this. Use objdump -l to request the line numbers and save them in the line structure. Then the browser displays them for source lines. The line numbers are not displayed by

  1   2   3   4   5   6   7   8   9   10   >