Re: [PATCH] x86: set Pentium M as PAE capable

2014-03-02 Thread H. Peter Anvin
On 03/02/2014 12:56 PM, Andreas Mohr wrote: > > (BTW, would it be possible to transform Linux's PAE support into > boot-config or even fully runtime-detectable boot switching to > (non-)PAE, similar to or exceeding what XP offers with its static > boot-time flag? > Last time I checked PAE support

Re: Re: [PATCH] x86: set Pentium M as PAE capable

2014-03-02 Thread Andreas Mohr
Hi, > /* > + * PAE CPUID bug: Pentium M reports no PAE but has PAE > + */ Ain't that a tad strongly/incorrectly worded? It's probably not certain whether that's a "bug". Prior content in this discussion suggested that the flag might have been intentionally not advertised, due to

Re: [PATCH 1/9] block: Make generic_make_request handle arbitrary sized bios

2014-03-02 Thread Muthu Kumar
Never mind... The following code covers it: + if (split) { + bio_chain(split, *bio); + generic_make_request(*bio); + *bio = split; + } My other question is, can we avoid calling the queue_split from individual drivers make_request()? Can

Re: [PATCH 1/3] soc: Introduce drivers/soc place-holder for SOC specific drivers

2014-03-02 Thread Olof Johansson
On Sun, Mar 02, 2014 at 05:12:06PM +, One Thousand Gnomes wrote: > On Fri, 28 Feb 2014 18:18:38 -0500 > Santosh Shilimkar wrote: > > > Based on earlier thread "https://lkml.org/lkml/2013/10/7/662; and > > further discussion at Kernel Summit'2013, it was agreed to create > > 'driver/soc' for

Re: [PATCH v2 5/5] phy: mvebu-sata: prepare new Dove DT Kconfig variable

2014-03-02 Thread Sebastian Hesselbarth
On 03/01/2014 02:38 PM, Kishon Vijay Abraham I wrote: On Saturday 01 March 2014 02:03 PM, Sebastian Hesselbarth wrote: DT-enabled Dove will move over from ARCH_DOVE in mach-dove to MACH_DOVE in mach-mvebu. As non-DT ARCH_DOVE will stay to rot for a while, add a new DT-only MACH_DOVE Kconfig.

[PATCH 1/1] Remove duplicate assignment

2014-03-02 Thread xypron . glpk
From: Heinrich Schuchardt Signed-off-by: Heinrich Schuchardt --- tests/testutils.c |1 - 1 file changed, 1 deletion(-) diff --git a/tests/testutils.c b/tests/testutils.c index f185133..521f4f1 100644 --- a/tests/testutils.c +++ b/tests/testutils.c @@ -144,7 +144,6 @@ int nodename_eq(const

[PATCH 1/1] Consistently use xrealloc instead of realloc

2014-03-02 Thread xypron . glpk
From: Heinrich Schuchardt fdtput.c: Replace the remaining call to realloc by xrealloc. Some redundant lines in encode_value can be saved. Signed-off-by: Heinrich Schuchardt --- fdtput.c |7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/fdtput.c b/fdtput.c index

Re: Turn off the bubble machine.

2014-03-02 Thread Gene Heskett
On Sunday 02 March 2014, Ilia Mirkin wrote: >On Sun, Mar 2, 2014 at 1:27 PM, Gene Heskett wrote: >> Greetings; >> >> Something is stuck in a loop someplace and I am now being bombarded by >> reject messages from: >> >> Hi. This is the qmail-send program at mail.wdtv.com. >> I'm afraid I wasn't

Re: [PATCH 1/9] block: Make generic_make_request handle arbitrary sized bios

2014-03-02 Thread Muthu Kumar
Kent, The blk_queue_split(), splits a bio into at most two bios right? So, if the original bio spans larger space than two bios can cover (restriction by the lower driver in the stack), this might not work? Am I reading it incorrectly? Thanks! Regards, Muthu On Wed, Feb 26, 2014 at 3:39 PM,

Re: [PATCH RFC 0/3] clk: CCF clock primitives + custom IO accessors

2014-03-02 Thread Gerhard Sittig
On Fri, Feb 28, 2014 at 15:34 -0800, Soren Brinkmann wrote: > > [ MMIO registers assumed for clock control modules, but I2C > communication may be involved in other hardware, individual for > a (set of) clock(s) and not for an architecture or platform ] > > Does anybody have a good idea how we

Re: [PATCH 7/9] drivers: staging: rtl8187se: fixed checkpatch.pl errors

2014-03-02 Thread axel . rasmussen1
On Saturday 01 March 2014 9:36:31 PM Joe Perches wrote: > On Sat, 2014-03-01 at 22:22 -0700, Axel Rasmussen wrote: > > The definition of the driver's ChannelPlan array produced a large number > > of checkpatch.pl errors. This patch fixes all of them by adding spaces > > and wrapping the resulting

Re: [PATCHv4 4/7] hwspinlock/core: add common OF helpers

2014-03-02 Thread Bjorn Andersson
On Sat, Mar 1, 2014 at 9:14 PM, Ohad Ben-Cohen wrote: > On Mon, Feb 10, 2014 at 9:14 PM, Suman Anna wrote: >> On 02/07/2014 04:49 PM, Bjorn Andersson wrote: >>> It seems to be standard practice to pass the error value back to the >>> consumer, so you should >>> return ERR_PTR(ret); here instead

Bug in fs/kernfs/dir.c comment or code?

2014-03-02 Thread Richard Cochran
I stumbled across this in fs/kernfs/dir.c:39. /* Reserve hash numbers 0, 1 and INT_MAX for magic directory entries */ if (hash < 1) hash += 2; if (hash >= INT_MAX) hash = INT_MAX - 1; Shouldn't that be (hash < 2), or is 1 not reserved?

Re: Turn off the bubble machine.

2014-03-02 Thread Ilia Mirkin
On Sun, Mar 2, 2014 at 1:27 PM, Gene Heskett wrote: > Greetings; > > Something is stuck in a loop someplace and I am now being bombarded by > reject messages from: > > Hi. This is the qmail-send program at mail.wdtv.com. > I'm afraid I wasn't able to deliver your message to the following >

Re: [PATCH] x86: set Pentium M as PAE capable

2014-03-02 Thread Roland Kletzing
great to see that we have an enhaced version of the initial quick`n`dirty patch now. i just tested it on ubuntu 13.10 with kernel from 14.04 repository (complete package build). works as expected ! hopefully ubuntu #930447 can now be closed soon and the patch will quickly find it´s way into

Re: [PATCH 1/1] scripts/checkpatch.pl: to give more detailed warning message in case printk is used in any patch

2014-03-02 Thread Joe Perches
On Sun, 2014-03-02 at 21:51 +0530, Yogesh Chaudhari wrote: > I will send in a new patch with both the script file and the > documentation modifications. Separate patches please. Changes to CodingStyle generally bring another round of comments. -- To unsubscribe from this list: send the line

[PATCH 1/1] sched/deadline: Fix regression in cpudl_find.

2014-03-02 Thread Reiter Wolfgang
When using CONFIG_FTRACE_SELFTEST=y and CONFIG_FTRACE_STARTUP_TEST=y best_cpu is -1 and passed to function cpumask_check which takes unsigned int. Fix order of test arguments to avoid oops. Regression was introduced in commit 82b95800b256205cff2eeab5bbd03430d2d0f20d. Signed-off-by: Reiter

Turn off the bubble machine.

2014-03-02 Thread Gene Heskett
Greetings; Something is stuck in a loop someplace and I am now being bombarded by reject messages from: Hi. This is the qmail-send program at mail.wdtv.com. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't

Re: [PATCH v2 0/7] ARM: dts: omap3-gta04: Various devicetree updates

2014-03-02 Thread Tony Lindgren
* Marek Belisko [140301 06:02]: > This updated series fix issue with proper gta04 booting in 3.14 kernel > and add various devices to devicetree. > > Changes from V1: > - removed fixes which was merged to 3.14 already > - add bma180 accelerometer + booting fix > > Marek Belisko (2): > ARM:

Re: [PATCH 1/3] soc: Introduce drivers/soc place-holder for SOC specific drivers

2014-03-02 Thread One Thousand Gnomes
On Fri, 28 Feb 2014 18:18:38 -0500 Santosh Shilimkar wrote: > Based on earlier thread "https://lkml.org/lkml/2013/10/7/662; and > further discussion at Kernel Summit'2013, it was agreed to create > 'driver/soc' for drivers which are quite SOC specific. > > Lets take the discussion forward with

Re: Four people decided the fate of debian with systemd. Bad faith likely

2014-03-02 Thread One Thousand Gnomes
On Sat, 01 Mar 2014 21:12:25 + disbandtechc...@tfwno.gf wrote: > FOUR people made a decision that would once have required > thousands of votes. FOUR votes overrideds the decision > debian took before the tech-ctte dictatorship to standardize > on system V init rather than bsd style init

Re: [PATCH 2/3] perf: Disallow user space stack dump for function trace event

2014-03-02 Thread Steven Rostedt
On Sun, 2 Mar 2014 16:56:39 +0100 Jiri Olsa wrote: > Disabling user space stack dump for function trace event. > > Recent issues with user space callchains processing within > page fault handler tracing showed as Peter said 'there's > just too much fail surface'. > > The user space stack dump

Re: [patch] x86: Introduce BOOT_EFI and BOOT_CF9 into the reboot sequence loop

2014-03-02 Thread H. Peter Anvin
We are unambiguously dead after BIOS. There is no retry possible... On March 2, 2014 2:39:02 AM PST, "Li, Aubrey" wrote: >Patch refined as below, welcome any comments. > >Thanks, >-Aubrey > >[PATCH] x86/reboot: Introduce all of the known reboot methods into the >default list > >Reboot is the

Re: [PATCH 0/3] perf: Disable user space dumps for function trace event

2014-03-02 Thread Jiri Olsa
On Sun, Mar 02, 2014 at 04:56:37PM +0100, Jiri Olsa wrote: > hi, > recent issues with user space callchains processing within > page fault handler tracing showed as Peter said 'there's > just too much fail surface'. > > Related list discussions: > http://marc.info/?t=13930208651=1=2 >

Re: [PATCH v21 00/12] Add 32 bit VDSO time function support

2014-03-02 Thread Andy Lutomirski
On Sun, Mar 2, 2014 at 2:47 AM, Ingo Molnar wrote: > > * Stefani Seibold wrote: > >> This patch add the functions vdso_gettimeofday(), vdso_clock_gettime() >> and vdso_time() to the 32 bit VDSO. > > What I'm missing from all the series is any trace of the significant > review and debug work that

Re: [PATCH 1/1] scripts/checkpatch.pl: to give more detailed warning message in case printk is used in any patch

2014-03-02 Thread Yogesh Chaudhari
On 2 March 2014 21:19, Levente Kurusa wrote: > Hi, > > 2014-03-02 16:40 GMT+01:00 Joe Perches : >> On Sun, 2014-03-02 at 16:20 +0100, Levente Kurusa wrote: >>> IMHO, this message is too big. The one we already have is nice and clean. >>> I would simply do: s/netdev/[subsystem]/ or something among

Re: perf_fuzzer compiled for x32 causes reboot

2014-03-02 Thread Vince Weaver
On Fri, 28 Feb 2014, Steven Rostedt wrote: > On Fri, 28 Feb 2014 18:34:00 -0500 (EST) > Vince Weaver wrote: > > But perf_event bug finder is a much more prestigious title than > "college professor" ;-) yes, it's something to fall back on if/when I get denied tenure :) I do enjoy tracking down

[PATCH 0/3] perf: Disable user space dumps for function trace event

2014-03-02 Thread Jiri Olsa
hi, recent issues with user space callchains processing within page fault handler tracing showed as Peter said 'there's just too much fail surface'. Related list discussions: http://marc.info/?t=13930208651=1=2 http://marc.info/?t=13930143733=1=2 Disabling user space callchain and

[PATCH 3/3] perf tools: Disable user space callchain/stack for function trace event

2014-03-02 Thread Jiri Olsa
User space callchains and user space stack dump were disabled for function trace event. Mailing list discussions: http://marc.info/?t=13930208651=1=2 http://marc.info/?t=13930143733=1=2 Catching up with perf and disabling user space callchains and DWARF unwind (uses user stack dump)

[PATCH 2/3] perf: Disallow user space stack dump for function trace event

2014-03-02 Thread Jiri Olsa
Disabling user space stack dump for function trace event. Recent issues with user space callchains processing within page fault handler tracing showed as Peter said 'there's just too much fail surface'. The user space stack dump is just another source of the this issue. Related list

[PATCH 1/3] perf: Disallow user space callchains for function trace event

2014-03-02 Thread Jiri Olsa
Disabling user callchains for function trace event. Recent issues with user space callchains processing within page fault handler tracing showed as Peter said 'there's just too much fail surface'. Related list discussions: http://marc.info/?t=13930208651=1=2

Re: [PATCH 1/1] scripts/checkpatch.pl: to give more detailed warning message in case printk is used in any patch

2014-03-02 Thread Levente Kurusa
Hi, 2014-03-02 16:40 GMT+01:00 Joe Perches : > On Sun, 2014-03-02 at 16:20 +0100, Levente Kurusa wrote: >> IMHO, this message is too big. The one we already have is nice and clean. >> I would simply do: s/netdev/[subsystem]/ or something among the lines. > > maybe: > > "Prefer [subsystem eg:

Re: [PATCH 0/3] media/drx39xyj: fix DJH_DEBUG path null pointer dereferences, and compile errors.

2014-03-02 Thread Mauro Carvalho Chehab
Em Sat, 01 Mar 2014 07:57:42 -0300 Mauro Carvalho Chehab escreveu: > Hi Devin, > > Em Fri, 28 Feb 2014 19:13:16 -0500 > Devin Heitmueller escreveu: > > > Seems kind of strange that I wasn't on the CC for this, since I was the > > original author of all that code (in fact, DJH are my

Re: [PATCH 1/1] scripts/checkpatch.pl: to give more detailed warning message in case printk is used in any patch

2014-03-02 Thread Joe Perches
On Sun, 2014-03-02 at 16:20 +0100, Levente Kurusa wrote: > IMHO, this message is too big. The one we already have is nice and clean. > I would simply do: s/netdev/[subsystem]/ or something among the lines. maybe: "Prefer [subsystem eg: netdev]_$level2 then dev_$level2 then pr_$level to

Re: [PATCH 1/1] scripts/checkpatch.pl: to give more detailed warning message in case printk is used in any patch

2014-03-02 Thread Levente Kurusa
Hi, [+CC LKML, Joe] [Leaving full copy for LKML, Joe] On 03/02/2014 04:29 PM, Yogesh Chaudhari wrote: > On 2 March 2014 20:50, Levente Kurusa wrote: >> Hi, >> >> On 03/02/2014 04:01 PM, Yogesh Chaudhari wrote: >>> Based on the discussion here: >>> https://lkml.org/lkml/2014/3/2/17 >>> >>> I

Re: perf_fuzzer compiled for x32 causes reboot

2014-03-02 Thread Vince Weaver
On Sat, 1 Mar 2014, Andi Kleen wrote: > Steven Rostedt writes: > > > > BTW, is the perf_fuzzer code posted somewhere? It sounds like it can be > > really useful for us to do our own testing too. > > I believe it's part of trinity. > > http://codemonkey.org.uk/projects/trinity/ > > Perhaps it

Re: [PATCH 1/1] scripts/checkpatch.pl: to give more detailed warning message in case printk is used in any patch

2014-03-02 Thread Levente Kurusa
Hi, On 03/02/2014 04:01 PM, Yogesh Chaudhari wrote: > Based on the discussion here: > https://lkml.org/lkml/2014/3/2/17 > > I would like to propose this patch to improve the warning message in > checkpatch.pl. Comments/Suggestions on possible improvements are > welcome. > > >

Re: [PATCH 1/1] scripts/checkpatch.pl: to give more detailed warning message in case printk is used in any patch

2014-03-02 Thread Joe Perches
On Sun, 2014-03-02 at 20:31 +0530, Yogesh Chaudhari wrote: > Based on the discussion here: > https://lkml.org/lkml/2014/3/2/17 > > I would like to propose this patch to improve the warning message in > checkpatch.pl. Comments/Suggestions on possible improvements are > welcome. Messages are all

[PATCH 1/1] scripts/checkpatch.pl: to give more detailed warning message in case printk is used in any patch

2014-03-02 Thread Yogesh Chaudhari
Based on the discussion here: https://lkml.org/lkml/2014/3/2/17 I would like to propose this patch to improve the warning message in checkpatch.pl. Comments/Suggestions on possible improvements are welcome. = This patch modifies

Re: [PATCH RESEND 1/3] percpu_ida: Fix data race on cpus_have_tags cpumask

2014-03-02 Thread Ming Lei
On Thu, Feb 27, 2014 at 7:05 AM, Kent Overstreet wrote: > On Thu, Feb 06, 2014 at 01:24:53PM +0100, Alexander Gordeev wrote: >> Function steal_tags() might miss a bit in cpus_have_tags due to >> unsynchronized access from percpu_ida_free(). As result, function >> percpu_ida_alloc() might enter

[RFC PATCH] EDAC support for ARM PL310 cache controller

2014-03-02 Thread Punnaiah Choudary Kalluri
Hi, The following patch adds EDAC support for reporting the data and tag ram parity errors for ARM PL310 cache controller. As part of this driver implementtaion, the following options are considered and this patch is implemented as described in option 3 1. Enable the parity interrupts in

[RFC PATCH] edac: add support for ARM PL310 L2 cache parity

2014-03-02 Thread Punnaiah Choudary Kalluri
Add support for ARM Pl310 L2 cache controller parity error Signed-off-by: Punnaiah Choudary Kalluri --- .../devicetree/bindings/edac/pl310_edac_l2.txt | 19 ++ drivers/edac/Kconfig |7 + drivers/edac/Makefile |1 +

Re: [PATCH v2 2/5] watchdog: orion: prepare new Dove DT Kconfig variable

2014-03-02 Thread Wim Van Sebroeck
Hi Sebastian, > DT-enabled Dove will move over from ARCH_DOVE in mach-dove to MACH_DOVE in > mach-mvebu. As non-DT ARCH_DOVE will stay to rot for a while, add a new > DT-only MACH_DOVE Kconfig. > > Signed-off-by: Sebastian Hesselbarth > Acked-by: Wim Van Sebroeck Patch added to

Re: [PATCH 2/2] ktest: run make mrproper not only for OUTPUT_DIR but also for BUILD_DIR to avoid build failure

2014-03-02 Thread Steven Rostedt
On Sun, 02 Mar 2014 23:17:42 +0900 Satoru Takeuchi wrote: > At Sun, 2 Mar 2014 08:29:16 -0500, > Steven Rostedt wrote: > > > > On Sun, 02 Mar 2014 21:23:36 +0900 > > Satoru Takeuchi wrote: > > > > > From: Satoru Takeuchi > > > > > > Build failure hapens with the following log if BUILD_DIR

Re: [PATCH 2/2] ktest: run make mrproper not only for OUTPUT_DIR but also for BUILD_DIR to avoid build failure

2014-03-02 Thread Satoru Takeuchi
At Sun, 2 Mar 2014 08:29:16 -0500, Steven Rostedt wrote: > > On Sun, 02 Mar 2014 21:23:36 +0900 > Satoru Takeuchi wrote: > > > From: Satoru Takeuchi > > > > Build failure hapens with the following log if BUILD_DIR is dirty. > > If you want to do make mrproper in the BUILD_DIR, add the

[PATCH v7] ext4: Add support FALLOC_FL_COLLAPSE_RANGE for fallocate

2014-03-02 Thread Namjae Jeon
From: Namjae Jeon This patch implements fallocate's FALLOC_FL_COLLAPSE_RANGE for Ext4. The semantics of this flag are following: 1) It collapses the range lying between offset and length by removing any data blocks which are present in this range and than updates all the logical offsets

[PATCH v4 1/6] fat: add i_disksize to represent uninitialized size

2014-03-02 Thread Namjae Jeon
From: Namjae Jeon Add i_disksize to represent uninitialized allocated size. And mmu_private represent initialized allocated size. Signed-off-by: Namjae Jeon Signed-off-by: Amit Sahrawat --- fs/fat/cache.c | 6 +++--- fs/fat/fat.h | 3 ++- fs/fat/file.c | 4 +++- fs/fat/inode.c | 9

[PATCH v4 2/6] fat: add fat_fallocate operation

2014-03-02 Thread Namjae Jeon
From: Namjae Jeon Implement preallocation via the fallocate syscall on VFAT partitions. This patch is based on an earlier patch of the same name which had some issues detailed below and did not get accepted. Refer https://lkml.org/lkml/2007/12/22/130. a) The preallocated space was not

[PATCH v4 6/6] Documentation/filesystems/vfat.txt: update the limitation for fat fallocate

2014-03-02 Thread Namjae Jeon
From: Namjae Jeon Update the limitation for fat fallocate. Signed-off-by: Namjae Jeon Signed-off-by: Amit Sahrawat --- Documentation/filesystems/vfat.txt | 10 ++ 1 file changed, 10 insertions(+) diff --git a/Documentation/filesystems/vfat.txt b/Documentation/filesystems/vfat.txt

[PATCH v4 4/6] fat: fallback to buffered write in case of fallocated region on direct IO

2014-03-02 Thread Namjae Jeon
From: Namjae Jeon For normal cases of direct IO write, trying to seek to location greater than file size, makes it fall back to buffered write to fill that region. Similarly, in case for write in Fallocated region, make it fall to buffered write. Signed-off-by: Namjae Jeon Signed-off-by: Amit

[PATCH v4 5/6] fat: permit to return phy block number by fibmap in fallocated region

2014-03-02 Thread Namjae Jeon
From: Namjae Jeon Make the fibmap call the return the proper physical block number for any offset request in the fallocated range. Signed-off-by: Namjae Jeon Signed-off-by: Amit Sahrawat --- fs/fat/cache.c | 64 ++ fs/fat/fat.h | 3

[PATCH v4 3/6] fat: zero out seek range on _fat_get_block

2014-03-02 Thread Namjae Jeon
From: Namjae Jeon For normal buffered write operations, normally if we try to write to an offset > than file size, it does a cont_expand_zero till that offset. Now, in case of fallocated regions, since the blocks are already allocated. So, make it zero out that buffers for those blocks till the

[PATCH v4 0/6] fat: additions to support fat_fallocate

2014-03-02 Thread Namjae Jeon
From: Namjae Jeon This patch set provides support for doing fallocate operation on FAT filesystem. After series of review for the the feature The complete functionality is broken down into smaller subsets. v4: - ->i_disksize is aligned by block size in fill_inode. - use i_disksize when

Re: [PATCH] [media] s5p-fimc: Remove reference to outdated macro

2014-03-02 Thread Sylwester Nawrocki
On 02/12/2014 11:08 AM, Paul Bolle wrote: The Kconfig symbol S5P_SETUP_MIPIPHY was removed in v3.13. Remove a reference to its macro from a list of Kconfig options. Signed-off-by: Paul Bolle --- See commit e66f233dc7f7 ("ARM: Samsung: Remove the MIPI PHY setup code"). Should one or more options

[PATCH 1/1] mm: use macros from compiler.h instead of __attribute__((...))

2014-03-02 Thread Gideon Israel Dsouza
To increase compiler portability there is which provides convenience macros for various gcc constructs. Eg: __weak for __attribute__((weak)). I've replaced all instances of gcc attributes with the right macro in the memory management (/mm) subsystem. Signed-off-by: Gideon Israel Dsouza ---

[PATCH 0/1] mm: Use macros from compiler.h instead of gcc specific attribute

2014-03-02 Thread Gideon Israel Dsouza
I'm extremely sorry about the mistake in the earlier patch. The following patch is a corrected one. == Original Cover Letter == To increase compiler portability there is which provides convenience macros for various gcc constructs. Eg: __weak for

Fwd: [PATCH] input: ff-memless: don't schedule already playing effect to play again

2014-03-02 Thread Elias Vanderstuyft
-- Forwarded message -- From: Michal Malý Date: Sun, Mar 2, 2014 at 2:29 PM Subject: Re: [PATCH] input: ff-memless: don't schedule already playing effect to play again To: Elias Vanderstuyft On Sunday 02 of March 2014 14:17:58 you wrote: > On Sun, Mar 2, 2014 at 12:35 PM, Felix

Re: [iio:togreg 3/3] WARNING: Reusing the krealloc arg is almost always a bug

2014-03-02 Thread Joe Perches
That last one doesn't work if the krealloc has a cast like foo = (struct bar *)krealloc(foo, 1, GFP_KERNEL) Maybe this one is better... --- scripts/checkpatch.pl | 17 ++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/scripts/checkpatch.pl

Re: [PATCH] input: ff-memless: don't schedule already playing effect to play again

2014-03-02 Thread Michal Malý
On Sunday 02 of March 2014 14:17:58 you wrote: > On Sun, Mar 2, 2014 at 12:35 PM, Felix Rueegg wrote: > > When an effect with zero replay length, zero replay delay > > and zero envelope attack length is uploaded, it is played and then > > scheduled to play again one timer tick later. This

[PATCH] perf tools: Fix crash in elf_section_by_name

2014-03-02 Thread Jiri Olsa
Fixing crash in elf_section_by_name function caused by missing section name in elf binary. Reported-by: Albert Strasheim Signed-off-by: Jiri Olsa Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Arnaldo

Re: [PATCH 2/2] ktest: run make mrproper not only for OUTPUT_DIR but also for BUILD_DIR to avoid build failure

2014-03-02 Thread Steven Rostedt
On Sun, 02 Mar 2014 21:23:36 +0900 Satoru Takeuchi wrote: > From: Satoru Takeuchi > > Build failure hapens with the following log if BUILD_DIR is dirty. If you want to do make mrproper in the BUILD_DIR, add the command to PRE_BUILD or something. I have TAGS in my BUILD_DIRs and this will

Re: [PATCH 1/1] Remove dead code in util.c

2014-03-02 Thread David Gibson
On Sat, Mar 01, 2014 at 09:11:47AM +0100, xypron.g...@gmx.de wrote: > From: Heinrich Schuchardt > > xrealloc never returns null > > Signed-off-by: Heinrich Schuchardt Applied, thanks. -- David Gibson| I'll have my music baroque, and my code david AT gibson.dropbear.id.au

Re: [PATCH] input: ff-memless: don't schedule already playing effect to play again

2014-03-02 Thread Elias Vanderstuyft
On Sun, Mar 2, 2014 at 12:35 PM, Felix Rueegg wrote: > When an effect with zero replay length, zero replay delay > and zero envelope attack length is uploaded, it is played and then scheduled > to play > again one timer tick later. This triggers a warning (URB submitted while > active) in

Re: Four people decided the fate of debian with systemd. Bad faith likely

2014-03-02 Thread NoTo CTTE
Systemd is over 200,000 lines of ring0 running bullshit. Regular inits are under 10k lines of code inclusive. Some are 100 lines of code. Hmm which is easier to find exploits in. SystemD. Notice how the fknuts always try to change the tables. "It's YOU who are the shill!" And always it is the

Re: Proposal - preserve freedom of choice of init systems

2014-03-02 Thread NoTo CTTE
He has a right to call a GR. You are trying your hardest to make sure systemd is the only choice for all linux systems, all major linux distros, and if we don't like it we can "go use MacOSX or BSD" or "roll your own distro". The fact is that SysV works NOW. The scripts work and are stable and

[PATCH 2/2] staging :keucr:scsiglue.c : fixed a macros should not be colon terminated issue

2014-03-02 Thread Keerthimai Janarthanan
fixed a coding style issue. Signed-off-by: Keerthimai Janarthanan --- drivers/staging/keucr/scsiglue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/keucr/scsiglue.c b/drivers/staging/keucr/scsiglue.c index ac3d34d..fce19a4 100644 ---

[PATCH 2/2] ktest: run make mrproper not only for OUTPUT_DIR but also for BUILD_DIR to avoid build failure

2014-03-02 Thread Satoru Takeuchi
From: Satoru Takeuchi Build failure hapens with the following log if BUILD_DIR is dirty. === ... RUNNING TEST 1 of 1 with option build olddefconfig make O=/home/sat/ktest/output mrproper ... CLEAN arch/x86/tools

Re: Four people decided the fate of debian with systemd. Bad faith likely

2014-03-02 Thread disbandtechctte
Systemd is over 200,000 lines of ring0 running bullshit. Regular inits are under 10k lines of code inclusive. Some are 100 lines of code. Hmm which is easier to find exploits in. SystemD. Notice how the fknuts always try to change the tables. "It's YOU who are the shill!" And always it is the

[PATCH 1/2] ktest: add 2nd parameter of run_command() to set the redirect target file

2014-03-02 Thread Satoru Takeuchi
From: Satoru Takeuchi If we'd like to set the redirect target file of run_command(), we should define $redirect before calling this function and should undef it after calling this function. Since it's user-unfriendly, add 2nd parameter of run_command() for this purpose. Signed-off-by: Satoru

Re: scripts/checkpatch.pl

2014-03-02 Thread Joe Perches
On Sun, 2014-03-02 at 14:13 +0530, Yogesh Chaudhari wrote: > I think the [checkpatch] WARNING message should be > modified to mention that [subsystem]_dbg is preferred over dev_dbg. In > case this is correct and I am not missing something, I would like to > propose a patch to modify this script to

Re: [PATCH v6 07/14] ARM: Remove use of struct kprobe from generic probes code

2014-03-02 Thread Russell King - ARM Linux
On Sun, Mar 02, 2014 at 05:37:13AM -0500, David Long wrote: > On 02/28/14 05:12, Russell King - ARM Linux wrote: >> On Mon, Feb 10, 2014 at 02:38:58AM -0500, David Long wrote: >>> diff --git a/arch/arm/kernel/probes.c b/arch/arm/kernel/probes.c >>> index 7cd1763..179deac 100644 >>> ---

[PATCH] futexes: allow architectures to skip futex_atomic_cmpxchg_inatomic() test

2014-03-02 Thread Heiko Carstens
If an architecture has futex_atomic_cmpxchg_inatomic() implemented and there is no runtime check necessary, allow to skip the test within futex_init(). This allows to get rid of some code which would always give the same result, and also allows the compiler to optimize a couple of if statements

Re: [iio:togreg 3/3] WARNING: Reusing the krealloc arg is almost always a bug

2014-03-02 Thread Joe Perches
(Adding Andy Whitcroft to cc's) On Sun, 2014-03-02 at 10:11 +0100, Lars-Peter Clausen wrote: > On 03/02/2014 03:24 AM, Fengguang Wu wrote: > > > > Hi Lars-Peter, > > > > FYI, there are new warnings show up in > > > > tree: git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg > >

Re: [PATCH v6 00/14] uprobes: Add uprobes support for ARM

2014-03-02 Thread David Long
Oleg, I've been looking at arch/Kconfig and kernel/trace/Kconfig where they deal with uprobes. The relevant items are CONFIG_UPROBES and CONFIG_UPROBE_EVENT. It just doesn't look right to me. It looks like "select" is used in part maybe just to avoid the recursive dependency error that

Re: [PATCH v7 1/1] watchdog: Add tegra watchdog

2014-03-02 Thread Wim Van Sebroeck
Hi Andrew, > Add a driver for the hardware watchdogs in NVIDIA Tegra SoCs (Tegra30 and > later). This driver will configure one watchdog timer that will reset the > system in the case of a watchdog timeout. > > This driver binds to the nvidia,tegra30-timer device node and gets its > register

[PATCH] input: ff-memless: don't schedule already playing effect to play again

2014-03-02 Thread Felix Rueegg
When an effect with zero replay length, zero replay delay and zero envelope attack length is uploaded, it is played and then scheduled to play again one timer tick later. This triggers a warning (URB submitted while active) in combination with the xpad driver. Skipping the rescheduling of this

[PATCH v2] mmc: sdhci: add quirk for broken write protect detection

2014-03-02 Thread Eli Billauer
The write protection signal is absent on a board based upon Xilinx' Zynq processor ("ZyBo"). This leads the kernel to think that the MicroSD card is write protected, and causes a kernel panic during boot, as root fails to mount RW. This patch adds a quirk and an optional OF property,

Re: [PATCH v21 00/12] Add 32 bit VDSO time function support

2014-03-02 Thread Ingo Molnar
* Stefani Seibold wrote: > This patch add the functions vdso_gettimeofday(), vdso_clock_gettime() > and vdso_time() to the 32 bit VDSO. What I'm missing from all the series is any trace of the significant review and debug work that Andy Lutomirski did for the series. Please add Acked-by or

Re: [PATCH v21 12/12] x86: Zero-pad the VVAR page

2014-03-02 Thread Ingo Molnar
* Stefani Seibold wrote: > By coincidence, the VVAR page is at the end of an ELF segment. As a > result, if it ends up being a partial page, the kernel loader will > leave garbage behind at the end of the vvar page. Zero-pad it to a > full page to fix this issue. > > This has probably been

Re: [patch] x86: Introduce BOOT_EFI and BOOT_CF9 into the reboot sequence loop

2014-03-02 Thread Li, Aubrey
Patch refined as below, welcome any comments. Thanks, -Aubrey [PATCH] x86/reboot: Introduce all of the known reboot methods into the default list Reboot is the last service linux OS provides to the end user. We are supposed to make this function more robust than today. This patch adds all of

Re: [PATCH v6 07/14] ARM: Remove use of struct kprobe from generic probes code

2014-03-02 Thread David Long
On 02/28/14 05:12, Russell King - ARM Linux wrote: On Mon, Feb 10, 2014 at 02:38:58AM -0500, David Long wrote: diff --git a/arch/arm/kernel/probes.c b/arch/arm/kernel/probes.c index 7cd1763..179deac 100644 --- a/arch/arm/kernel/probes.c +++ b/arch/arm/kernel/probes.c @@ -12,11 +12,9 @@ */

[PATCH -next] cris: cpuinfo_op should depend on CONFIG_PROC_FS

2014-03-02 Thread Geert Uytterhoeven
Now allnoconfig started disabling CONFIG_PROC_FS: arch/cris/kernel/built-in.o:(.rodata+0xc): undefined reference to `show_cpuinfo' make: *** [vmlinux] Error 1 Signed-off-by: Geert Uytterhoeven --- http://kisskb.ellerman.id.au/kisskb/buildresult/10665698/ arch/cris/kernel/setup.c |

3.13 hangs when I tried to start a KVM at a 32 bit stable Gentoo

2014-03-02 Thread Toralf Förster
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hello Ingo, the issue I mentioned in [1] and [2] was bisected now few times in a row to this id : commit 37bf06375c90a42fe07b9bebdb07bc316ae5a0ce Merge: 6bfa687 d0e639c Author: Ingo Molnar Date: Wed Oct 9 12:36:13 2013 +0200 Merge tag

Re: [RFC][PATCH 0/5] arch: atomic rework

2014-03-02 Thread Peter Sewell
On 1 March 2014 08:03, Paul E. McKenney wrote: > On Sat, Mar 01, 2014 at 04:06:34AM -0600, Peter Sewell wrote: >> Hi Paul, >> >> On 28 February 2014 18:50, Paul E. McKenney >> wrote: >> > On Thu, Feb 27, 2014 at 12:53:12PM -0800, Paul E. McKenney wrote: >> >> On Thu, Feb 27, 2014 at 11:47:08AM

Re: [PATCH] i2c: i801: enable Intel BayTrail SMBUS

2014-03-02 Thread Jean Delvare
Hi Chew, On Sat, 1 Mar 2014 00:03:56 +0800, Chew Chiau Ee wrote: > From: Chew, Kean ho > > Add Device ID of Intel BayTrail SMBus Controller. > > Signed-off-by: Chew, Kean ho > Signed-off-by: Chew, Chiau Ee > --- > Documentation/i2c/busses/i2c-i801 |1 + > drivers/i2c/busses/Kconfig

[PATCH v21 10/12] Add 32 bit VDSO time support for 64 bit kernel

2014-03-02 Thread Stefani Seibold
This patch add the VDSO time support for the IA32 Emulation Layer. Due the nature of the kernel headers and the LP64 compiler where the size of a long and a pointer differs against a 32 bit compiler, there is some type hacking necessary for optimal performance. The vsyscall_gtod_data struture

[PATCH v21 12/12] x86: Zero-pad the VVAR page

2014-03-02 Thread Stefani Seibold
By coincidence, the VVAR page is at the end of an ELF segment. As a result, if it ends up being a partial page, the kernel loader will leave garbage behind at the end of the vvar page. Zero-pad it to a full page to fix this issue. This has probably been broken since the VVAR page was

[PATCH v21 09/12] Add 32 bit VDSO time support for 32 bit kernel

2014-03-02 Thread Stefani Seibold
This patch add the time support for 32 bit a VDSO to a 32 bit kernel. For 32 bit programs running on a 32 bit kernel, the same mechanism is used as for 64 bit programs running on a 64 bit kernel. Signed-off-by: Stefani Seibold --- arch/x86/include/asm/vdso.h | 3 ++

[PATCH v21 07/12] introduce VVAR marco for vdso32

2014-03-02 Thread Stefani Seibold
This patch revamp the vvar.h for introduce the VVAR macro for vdso32. Signed-off-by: Stefani Seibold --- arch/x86/include/asm/vvar.h | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/arch/x86/include/asm/vvar.h b/arch/x86/include/asm/vvar.h index

[PATCH v21 00/12] Add 32 bit VDSO time function support

2014-03-02 Thread Stefani Seibold
This patch add the functions vdso_gettimeofday(), vdso_clock_gettime() and vdso_time() to the 32 bit VDSO. The reason to do this was to get a fast reliable time stamp. Many developers uses TSC to get a fast time stamp, without knowing the pitfalls. VDSO time functions a fast and a reliable way,

[PATCH v21 01/12] Make vsyscall_gtod_data handling x86 generic

2014-03-02 Thread Stefani Seibold
This patch move the vsyscall_gtod_data handling out of vsyscall_64.c into an additonal file vsyscall_gtod.c to make the functionality available for x86 32 bit kernel. It also adds a new vsyscall_32.c which setup the VVAR page. Signed-off-by: Stefani Seibold --- arch/x86/Kconfig

[PATCH v21 06/12] cleanup __vdso_gettimeofday

2014-03-02 Thread Stefani Seibold
This patch do a little cleanup for the __vdso_gettimeofday() function. It kick out an unneeded ret local variable and makes the code faster if only the timezone is needed. Signed-off-by: Stefani Seibold --- arch/x86/vdso/vclock_gettime.c | 7 ++- 1 file changed, 2 insertions(+), 5

[PATCH v21 04/12] vclock_gettime.c __vdso_clock_gettime cleanup

2014-03-02 Thread Stefani Seibold
This patch is a small code cleanup for the __vdso_clock_gettime() function. It removes the unneeded return values from do_monotonic_coarse() and do_realtime_coarse() and add a fallback label for doing the kernel gettimeofday() system call. Signed-off-by: Stefani Seibold ---

[PATCH v21 03/12] revamp vclock_gettime.c

2014-03-02 Thread Stefani Seibold
This intermediate patch revamps the vclock_gettime.c by moving some functions around. It is only for spliting purpose, to make whole the 32 bit vdso timer patch easier to review. Signed-off-by: Stefani Seibold --- arch/x86/vdso/vclock_gettime.c | 85 +- 1

[PATCH v21 05/12] replace VVAR(vsyscall_gtod_data) by gtod macro

2014-03-02 Thread Stefani Seibold
There a currently more than 30 users of the gtod macro, so replace the last VVAR(vsyscall_gtod_data) by gtod macro. Signed-off-by: Stefani Seibold --- arch/x86/vdso/vclock_gettime.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/x86/vdso/vclock_gettime.c

[PATCH v21 08/12] Patch alternatives in the 32-bit vDSO

2014-03-02 Thread Stefani Seibold
rdtsc_barrier() needs this. Signed-off-by: Stefani Seibold --- arch/x86/include/asm/vdso.h | 2 ++ arch/x86/vdso/Makefile | 3 ++- arch/x86/vdso/vdso32-setup.c | 25 + arch/x86/vdso/vma.c | 13 ++--- 4 files changed, 27 insertions(+), 16

[PATCH v21 02/12] Add new func _install_special_mapping() to mmap.c

2014-03-02 Thread Stefani Seibold
The _install_special_mapping() is the new base function for install_special_mapping(). This function will return a pointer of the created VMA or a error code in an ERR_PTR() This new function will be needed by the for the vdso 32 bit support to map the additonal vvar and hpet pages into the 32

Re: [PATCH v5 06/11] drivers: of: initialize and assign reserved memory to newly created devices

2014-03-02 Thread Grant Likely
On Thu, 27 Feb 2014 11:10:44 +0100, Marek Szyprowski wrote: > Hello, > > On 2014-02-26 13:14, Grant Likely wrote: > > On Fri, 21 Feb 2014 13:25:22 +0100, Marek Szyprowski > > wrote: > > > Use recently introduced of_reserved_mem_device_init() function to > > > automatically assign respective

Re: [iio:togreg 3/3] WARNING: Reusing the krealloc arg is almost always a bug

2014-03-02 Thread Lars-Peter Clausen
On 03/02/2014 03:24 AM, Fengguang Wu wrote: Hi Lars-Peter, FYI, there are new warnings show up in tree: git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg head: bdc8cda1d010887c06bd8c29564b74cd61ec0a7b commit: bdc8cda1d010887c06bd8c29564b74cd61ec0a7b [3/3] iio:adc: Add

Re: [PATCH v6 02/11] drivers: of: add initialization code for static reserved memory

2014-03-02 Thread Grant Likely
On Fri, 28 Feb 2014 14:42:47 +0100, Marek Szyprowski wrote: > This patch adds support for static (defined by 'reg' property) reserved > memory regions declared in device tree. > > Memory blocks can be reliably reserved only during early boot. This must > happen before the whole memory

<    1   2   3   4   5   6   7   >