Re: [PATCH 1/5] kbuild: LLVMLinux: Add Kbuild support for building kernel with Clang

2014-03-10 Thread Behan Webster
On 03/09/14 14:58, Sam Ravnborg wrote: On Tue, Feb 25, 2014 at 05:08:39PM -0800, beh...@converseincode.com wrote: From: Behan Webster Add support to toplevel Makefile for compiling with clang, both for HOSTCC and CC. Use cc-option to prevent gcc option from breaking clang, and from clang optio

Re: [PATCHv3 2/9] mfd: twl4030-madc: Add DT support and convert to IIO framework

2014-03-10 Thread Lee Jones
> This converts twl4030-madc module to use the Industrial IO ADC > framework and adds device tree support. > > Signed-off-by: Sebastian Reichel > Tested-by: Marek Belisko > --- > drivers/mfd/twl4030-madc.c | 127 > + > 1 file changed, 116 insertions(

Re: [PATCH] sound: sound_core: Reduce checkpatch noise

2014-03-10 Thread Takashi Iwai
At Mon, 10 Mar 2014 16:28:14 -0700, Joe Perches wrote: > > Mostly whitespace cleanups (spaces around operators, remove > trailing spaces and unnecessary blank lines, etc) and > > o Reduce indent of switch/case labels > o Use pr_ for printks, add pr_fmt > o Move braces to appropriate locations > o

Re: [PATCH] Revert "ALSA: emu10k1: Fix warning: "CCR" redefined"

2014-03-10 Thread Takashi Iwai
At Mon, 10 Mar 2014 21:20:55 +0100, Geert Uytterhoeven wrote: > > This reverts commit 83fc3bc09518d42e8f5073e2a65884701dfadf19. > > sh-specific "CCR" and "CCR2" have been prefixed by "SH_" in commit > a5f6ea29f9a918403629f8369ae55fac6b09cb53 ('sh: prefix sh-specific "CCR" and > "CCR2" by "SH_"').

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

2014-03-10 Thread Yang, Wenyou
> -Original Message- > From: Jean-Christophe PLAGNIOL-VILLARD [mailto:plagn...@jcrosoft.com] > Sent: Tuesday, March 11, 2014 12:16 PM > To: Yang, Wenyou > Cc: Jean-Christophe PLAGNIOL-VILLARD; mark.rutl...@arm.com; > devicet...@vger.kernel.org; pawel.m...@arm.com; > ijc+devicet...@hellion

[PATCH v2] gpio: clamp returned values to the boolean range

2014-03-10 Thread Alexandre Courbot
Nothing prevents GPIO drivers from returning values outside the boolean range, and as it turns out a few drivers are actually doing so. These values were passed as-is to unsuspecting consumers and created confusion. This patch makes the internal _gpiod_get_raw_value() function return a bool, effec

Re: [PATCH v6 6/6] pci: Add support for creating a generic host_bridge from device tree

2014-03-10 Thread Arnd Bergmann
On Monday 10 March 2014 21:56:00 Liviu Dudau wrote: > > PCI_IOBASE is always defined. See the discussion with Russell on this subject. > > include/asm-generic/io.h has at line 118: > > #ifndef PCI_IOBASE > #define PCI_IOBASE ((void __iomem *) 0) > #endif That is only defined for those that use

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

2014-03-10 Thread Lee Jones
> >>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" > >> > >>Signed-off-by: Pankaj D

[PATCH] tools, perf: Add asprintf replacement

2014-03-10 Thread Andi Kleen
From: Andi Kleen asprintf corrupts memory on some older glibc versions. Provide a replacement. This fixes various segfaults with --branch-history on older Fedoras. Signed-off-by: Andi Kleen --- tools/perf/Makefile.perf | 1 + tools/perf/util/asprintf.c | 28 2 f

Re: [PATCH 5/5] skbuff: skb_segment: orphan frags before copying

2014-03-10 Thread Michael S. Tsirkin
On Tue, Mar 11, 2014 at 08:39:41AM +0800, Herbert Xu wrote: > On Tue, Mar 11, 2014 at 12:30:01AM +0200, Michael S. Tsirkin wrote: > > > > How about we do the simple thing as the first step and try to optimize > > as a separate patch on top? > > Sure let's do that. > > Cheers, Could you send an a

Re: [PATCH 1/1] HFSPLUS: add __init to hfsplus_create_attr_tree_cache()

2014-03-10 Thread Vyacheslav Dubeyko
On Mon, 2014-03-10 at 21:56 +0100, Fabian Frederick wrote: > hfsplus_create_attr_tree_cache is only called by __init init_hfsplus_fs > I think that it is the reasonable fix. Looks good for me. Reviewed-by: Vyacheslav Dubeyko Thanks, Vyacheslav Dubeyko. > Signed-off-by: Fabian Frederick > ---

Re: [PATCH] x86: Remove compat vdso support

2014-03-10 Thread Andi Kleen
Andy Lutomirski writes: > The compat vDSO is a complicated hack that's needed to maintain > compatibility with a small range of never-released glibc versions. > > This removes it and replaces it with a much simpler hack: a config > option to disable the 32-bit vDSO by default. Nack! That breaks

[PATCH 2/2] pstore: correct the max_dump_cnt clearing of ramoops

2014-03-10 Thread Liu ShuoX
From: Liu ShuoX In case that ramoops_init_przs failed, max_dump_cnt won't be reset to zero in error handle path. Signed-off-by: Liu ShuoX --- fs/pstore/ram.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/pstore/ram.c b/fs/pstore/ram.c index 6f96d8c..522e530 100644

[PATCH 1/2] pstore: fix NULL pointer fault if get NULL prz in ramoops_get_next_prz

2014-03-10 Thread Liu ShuoX
These two patches are applied on top of patches: https://lkml.org/lkml/2014/3/3/368 It has been added in -mm tree. Below is the first patch, and i will send the second by replying this one. From: Liu ShuoX ramoops_get_next_prz get the prz according the paramters. If it get a uninitialized prz,

Re: [PATCH] module: LLVMLinux: Remove unused function warning from __param_check macro

2014-03-10 Thread Rusty Russell
beh...@converseincode.com writes: > From: Mark Charlebois > > This code makes a compile time type check that is optimized away. Clang > complains that it generates an unused function. > > I believe GCC won't complain for a static inline fuction but would if it > was just a static function. > > Add

Re: [PATCH v15 3/3] arm64: Add APM X-Gene SoC 15Gbps Multi-purpose PHY DTS entries

2014-03-10 Thread Kishon Vijay Abraham I
On Tuesday 11 March 2014 02:15 AM, Tejun Heo wrote: On Sun, Mar 09, 2014 at 10:23:33PM -0700, Loc Ho wrote: Hi Tejun, On Fri, Mar 7, 2014 at 9:28 AM, Loc Ho wrote: This patch adds the DTS entries for the APM X-Gene SoC 15Gbps Multi-purpose PHY driver. The PHY for SATA controller 2 and 3 ar

Re: [x86, vdso] BUG: unable to handle kernel paging request at d34bd000

2014-03-10 Thread H. Peter Anvin
On 03/10/2014 02:29 PM, stef...@seibold.net wrote: > > Do you except a complete new patch set or an incremental patch based on the > current patch set? > An incremental patch is probably easier. -hpa -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the bod

[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 --- This

[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. AS

[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 --- s

[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 reg

[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 hi

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 to

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 Please

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 arch/x

[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 uncore_cpu

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 Ros

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 hi

[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 a

[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: Dongsh

[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 --- a/fs/ocfs2/cluster/heartbe

[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 ni

[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 --- a/tools/testi

[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 a/drivers/staging/lustre/lustre

[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: > a...@linux-foundation.org,jmarc...@redhat.com,minc...@kernel.org,ngu...@vflare.org,sergey.senozhat...@gm

[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, which

[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 ind

[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 ab3

[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 +- drivers/s

[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 b/drivers/blo

[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 @@ -21

[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 [-2

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 fixe

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 fixe

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] i2c-cade

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 d

[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 pr

[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 a06b48d2f5cc..6a0e29

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 pag

[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 2

[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 des

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 list

[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 CONFIG_MTD_NAND_ECC_BC

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 q

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 w

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): http://users.

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 o

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 o

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(). uart_ops.release_port

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). > I

[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 tim

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: Acked-

[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 ioctl(),

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), u

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 si

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 e

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", becau

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, pleas

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 sup

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 se

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 th

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 [] > > > > --percentage

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 > CONFIG_USB_FUNC

[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 tim

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 rs

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 appro

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 ti

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 *l

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 an

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 sy

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: >O

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 used

[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 inde

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" Signed-off-b

  1   2   3   4   5   6   7   8   9   >