[PATCH 07/30] perf build: Add libperf objects building

2015-01-02 Thread Jiri Olsa
Move the util objects building under build framework. Add new libperf build object so it's separated from the rest of the perf code and could be librarized. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: F

[PATCH 26/30] perf make: Remove directory dependency rules

2015-01-02 Thread Jiri Olsa
Removing subdirectories creation support from Makefile.perf as it's no longer needed, since it's properly handled by new build system. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc:

[PATCH 09/30] perf build: Add dwarf objects building

2015-01-02 Thread Jiri Olsa
Move the dwarf objects building under build framework to be included in the libperf build object. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: P

[PATCH 17/30] perf build: Add perf.o object building

2015-01-02 Thread Jiri Olsa
Move the perf object building under build framework to be included in the perf build object. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul M

[PATCH 30/30] perf tools: Disable test code

2015-01-02 Thread Jiri Olsa
NOTE: hack Forcing test objects not to be compiled into perf code. This saves almost 1MB of perf binary size on my setup: # standard perf binary $ ls -l perf -rwxrwxr-x 1 jolsa jolsa 10283684 Jan 1 15:52 perf # current perf binary $ ls -l perf -rwxrwxr-x 1 jolsa jolsa 9303174 Jan 1

[PATCH 10/30] perf build: Add dwarf unwind objects building

2015-01-02 Thread Jiri Olsa
Move the dwarf unwind objects building under build framework to be included in the libperf build object. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim

[PATCH 25/30] perf build: Add single target build framework support

2015-01-02 Thread Jiri Olsa
Add support to build single targets, like: $ make util/map.o# objects $ make util/map.i# preprocessor $ make util/map.s# assembly Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weis

[PATCH 06/30] perf build: Add builtin objects building

2015-01-02 Thread Jiri Olsa
Move the rest of builtin objects (bench and test are already in) building under build framework. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Pa

[PATCH 28/30] perf make: Remove PERF-CFLAGS file

2015-01-02 Thread Jiri Olsa
Removing PERF-CFLAGS file, because the build framework stores full build command line for each object and triggers rebuilt if necessary. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker C

[PATCH 24/30] perf build: Add arch sparc objects building

2015-01-02 Thread Jiri Olsa
Move the sparc arch objects building under build framework to be included in the libperf build object. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim

[PATCH 20/30] perf build: Add arch arm64 objects building

2015-01-02 Thread Jiri Olsa
Move the arm64 arch objects building under build framework to be included in the libperf build object. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim

Re: [PATCH v10 2/8] ARM: l2c: Refactor the driver to use commit-like interface

2015-01-02 Thread Nishanth Menon
On 01/02/2015 03:13 AM, Tomasz Figa wrote: > However I'm not sure about your concern about using l2x0_data before > kmemdup(). I don't see any code potentially doing this. It is not terribly important, but anyways [1] is what I had in mind.. [1] https://github.com/nmenon/linux-2.6-playground/

[PATCH 21/30] perf build: Add arch powerpc objects building

2015-01-02 Thread Jiri Olsa
Move the powerpc arch objects building under build framework to be included in the libperf build object. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim

Re: [PATCH repost 09/16] metag/uaccess: fix sparse errors

2015-01-02 Thread James Hogan
Hi, On 25/12/14 09:29, Michael S. Tsirkin wrote: > virtio wants to read bitwise types from userspace using get_user. At the > moment this triggers sparse errors, since the value is passed through an > integer. > > Fix that up using __force. I still see these sparse warnings with metag even with

[PATCH 29/30] perf tools: Add support to configure builtin commands inclusion

2015-01-02 Thread Jiri Olsa
NOTE: hack Adding support to configure builtin commands inclusion in the build, so we could later disable particular builtin command. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc:

[PATCH 16/30] perf build: Add zlib objects building

2015-01-02 Thread Jiri Olsa
Move the zlib objects building under build framework to be included in the libperf build object. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Pa

[PATCH 27/30] perf make: Remove uneeded variables

2015-01-02 Thread Jiri Olsa
Removing uneeded variables from Makefile.perf: BUILTIN_OBJS LIB_OBJS GTK_OBJS - objects are now hold by in the build Makefiles LIB_H - header dependencies iare now handled by Build framework Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Pe

[PATCH 14/30] perf build: Add scripts objects building

2015-01-02 Thread Jiri Olsa
Move the scripts objects building under build framework to be included in the libperf build object. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc:

[PATCH 11/30] perf build: Add ui objects building

2015-01-02 Thread Jiri Olsa
Move the ui objects building under build framework to be included in the libperf build object. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul

[PATCH 13/30] perf build: Add gtk objects building

2015-01-02 Thread Jiri Olsa
Move the gtk objects building under build framework. Add new gtk build object so it's separated from the rest of the code and could be librarized. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic We

[PATCH 23/30] perf build: Add arch sh objects building

2015-01-02 Thread Jiri Olsa
Move the sh arch objects building under build framework to be included in the libperf build object. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc:

[PATCH 08/30] perf build: Add probe objects building

2015-01-02 Thread Jiri Olsa
Move the probe objects building under build framework to be included in the libperf build object. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: P

[PATCH 22/30] perf build: Add arch s390 objects building

2015-01-02 Thread Jiri Olsa
Move the s390 arch objects building under build framework to be included in the libperf build object. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim C

[PATCH 18/30] perf build: Add arch x86 objects building

2015-01-02 Thread Jiri Olsa
Move the x86 arch objects building under build framework to be included in the libperf build object. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc

[RFC/PATCHSET 00/30] perf tools: New build framework

2015-01-02 Thread Jiri Olsa
hi, I'm following up on latest post from Alexis: http://marc.info/?l=linux-kernel&m=141427580405357&w=2 Since it's actually small portion of kbuild that perf needs, I realized it's actually better to steal it than 'reconfigure' kbuild to be usable for perf. Also this patchset is kind of increme

[PATCH 04/30] perf build: Add bench objects building

2015-01-02 Thread Jiri Olsa
Move bench objects building under build framework and enable perf-in.o rule. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Pe

[PATCH 03/30] perf build: Add subdir framework support

2015-01-02 Thread Jiri Olsa
Add support to make directory any time we build objects out of the tree (O=/tmp/krava) and the output directory does not exist. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo M

[PATCH 15/30] perf build: Add perf regs objects building

2015-01-02 Thread Jiri Olsa
Move the regs objects building under build framework to be included in the libperf build object. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Pa

[PATCH 19/30] perf build: Add arch arm objects building

2015-01-02 Thread Jiri Olsa
Move the arm arch objects building under build framework to be included in the libperf build object. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc

[PATCH 12/30] perf build: Add slang objects building

2015-01-02 Thread Jiri Olsa
Move the slang objects building under build framework to be included in the libperf build object. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: P

Re: [PATCH v3 05/20] selftests/ftrace: add install target to enable test install

2015-01-02 Thread Steven Rostedt
On Wed, 24 Dec 2014 09:27:41 -0700 Shuah Khan wrote: > Add a new make target to enable installing test. This target > installs test in the kselftest install location and add to the > kselftest script to run the test. Install target can be run > only from top level kernel source directory. > > Si

[PATCH 01/30] perf tools: Add new build framework support

2015-01-02 Thread Jiri Olsa
Adding new build framework. There's no change for actual building at this point, it comes in the next patches. The idea and more details are explained in the 'Documentation/Build' file. I stole everything from the kernel build system, with some changes to allow for multiple binaries build definit

Re: [RFC PATCH v6 7/9] thermal: introduce the Power Allocator governor

2015-01-02 Thread Eduardo Valentin
Javi, Minor items as follows.. On Fri, Dec 05, 2014 at 07:04:18PM +, Javi Merino wrote: > The power allocator governor is a thermal governor that controls system > and device power allocation to control temperature. Conceptually, the > implementation divides the sustainable power of a therma

Re: [RFC PATCH v6 7/9] thermal: introduce the Power Allocator governor

2015-01-02 Thread Eduardo Valentin
Forgot to mention On Fri, Dec 05, 2014 at 07:04:18PM +, Javi Merino wrote: > + > +If you are using device tree, do add it as a property of the > +thermal-zone. For example: > + > + thermal-zones { > + soc_thermal { > + polling-delay = <1000>; > +

Re: [PATCH] staging: rtl8723au: changes stop ap mode to use reset function

2015-01-02 Thread Jes Sorensen
Matthew Emerson writes: > Changes stop_ap_mode23a() to use rtw_reset_securitypriv23a. This makes > the code cleaner and fixes two checkpatch.pl errors, one line over 80 > characters, and one spacing issue. > > Signed-off-by: Matthew Emerson > --- > drivers/staging/rtl8723au/core/rtw_ap.c | 6 ++-

Re: [PATCH] block: fix checking return value of blk_mq_init_queue

2015-01-02 Thread Jens Axboe
On 01/02/2015 07:25 AM, Ming Lei wrote: Check IS_ERR_OR_NULL(return value) instead of just return value. Thanks Ming, applied. -- Jens Axboe -- 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

Re: [RFC PATCH v6 9/9] of: thermal: Introduce sustainable power for a thermal zone

2015-01-02 Thread Eduardo Valentin
On Fri, Dec 05, 2014 at 07:04:20PM +, Javi Merino wrote: > From: Punit Agrawal > > Introduce an optional property called, sustainable-power, which > represents the power (in mW) which the thermal zone can safely > dissipate. > > If provided the property is parsed and associated with the ther

Re: [Xen-devel] xen/x86: properly retrieve NMI reason

2015-01-02 Thread Jan Beulich
>>> David Vrabel 12/23/14 12:01 PM >>> >On 19/12/14 16:16, Jan Beulich wrote: >> Using the native code here can't work properly, as the hypervisor would >> normally have cleared the two reason bits by the time Dom0 gets to see >> the NMI (if passed to it at all). There's a shared info field for th

Re: [PATCH] scripts: fix link-vmlinux.sh bash-ism

2015-01-02 Thread Michal Marek
On 2014-12-29 17:34, Sylvain BERTRAND wrote: > Chocked while compiling linux with dash shell instead of bash shell. > See: > http://pubs.opengroup.org/onlinepubs/95399/utilities/trap.html Please describe the actual problem in the changelog. I guess it's because of the 'ERR' trap? > Cc: Ingo

Re: [PATCH 22/38] metag: drop _PAGE_FILE and pte_file()-related helpers

2015-01-02 Thread James Hogan
On 24/12/14 12:22, Kirill A. Shutemov wrote: > We've replaced remap_file_pages(2) implementation with emulation. > Nobody creates non-linear mapping anymore. > > Signed-off-by: Kirill A. Shutemov > Cc: James Hogan Acked-by: James Hogan Cheers James > --- > arch/metag/include/asm/pgtable.h |

Re: [PATCH 1/2] kbuild: merge bounds.h and asm-offsets.h rules

2015-01-02 Thread Michal Marek
On 2014-12-24 07:49, Masahiro Yamada wrote: > The rules "cmd_bounds" and "cmd_offsets" are almost the same. > (The difference is only the include guards.) They can be merged. Good idea. > Signed-off-by: Masahiro Yamada > --- > > Kbuild | 59 +--

[PATCH] Staging: comedi: tab space coding style issue in pcl818.c

2015-01-02 Thread jitendra kumar khasdev
This is patch to the pcl818.c that fix up a use tab error found by the checkpatch.pl tool --- drivers/staging/comedi/drivers/pcl818.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/comedi/drivers/pcl818.c b/drivers/staging/comedi/drivers/pcl818.c index 8edea35

[PATCH RESEND] ARM: exynos_defconfig: Enable options for display panel support

2015-01-02 Thread Javier Martinez Canillas
Many Exynos devices have a display panel. Most of them just have a simple panel while others have more complex configurations that requires an embedded DisplayPort (eDP) to LVDS bridges. This patch enables the following features to be built in the kernel image to support both setups: - Direct Ren

Re: 答复:[PATCH] perf core: Use KSTK_ESP() instead of pt_regs->sp while output user regs

2015-01-02 Thread Jan Beulich
>>> Andy Lutomirski 12/31/14 3:00 AM >>> >On Tue, Dec 30, 2014 at 3:29 PM, Andy Lutomirski wrote: >> Given how the x86_64* entry code works, using task_pt_regs from >> anywhere except explicitly supported contexts (including exceptions >> that originated in userspace and a small handful of system

[PATCH 2/2] Staging: comedi: fix tab style issue

2015-01-02 Thread jitendra kumar khasdev
This is a patch to pcl818 that fix tab style error which is found by the checkpatch tool Signed-off-by: Jitendra Kumar Khasdev --- drivers/staging/comedi/drivers/pcl818.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/comedi/drivers/pcl818.c b/drivers/stagin

[PATCH] fs: isofs: Fix bug in the way to check if the year is a leap year

2015-01-02 Thread Oscar Forner Martinez
The way to check if the year is a leap year was incomplete. It was checking only if the year can be divided by 4, that is necessary but not a sufficient condition. It has to check as well if the year can not be divided by 100 or if the year can be divided by 400. Signed-off-by: Oscar Forner Martin

[PATCH] USB_EHCI_TT_NEWSCHED in *86 defconfig

2015-01-02 Thread Valdis Kletnieks
Some Gentoo users are encountering problems because USB_EHCI_TT_NEWSCHED isn't set in the defconfig (and Gentoo differs from other distros in not providing a distro .config). Alan Stern has said there's no reason to not set it, and the ability to turn it off at all should probably be yanked. http

Re: [PATCH v5 12/14] clk: tegra: Add EMC clock driver

2015-01-02 Thread Peter De Schrijver
On Tue, Nov 18, 2014 at 01:13:14PM +0100, Tomeu Vizoso wrote: > From: Mikko Perttunen > > The driver is currently only tested on Tegra124 Jetson TK1, but should > work with other Tegra124 boards, provided that correct EMC tables are > provided through the device tree. Older chip models have diffe

Re: [PATCH 30/30] perf tools: Disable test code

2015-01-02 Thread David Ahern
On 1/2/15 8:36 AM, Jiri Olsa wrote: NOTE: hack Forcing test objects not to be compiled into perf code. This saves almost 1MB of perf binary size on my setup: # standard perf binary $ ls -l perf -rwxrwxr-x 1 jolsa jolsa 10283684 Jan 1 15:52 perf # current perf binary $ ls -l per

Radeon R9 290 problem

2015-01-02 Thread Alex Kuznetsoff
I have an AMD Radeon R9 290 video card, and since commit https://github.com/torvalds/linux/commit/96212fe8c27b I cannot boot into the system any more with CONFIG_DRM_RADEON turned on ([m]). These are the symptoms: the screen either reports NO SIGNAL (sometimes all the LEDs, scroll lock, caps lo

Re: [PATCH] drivers:net:wireless: Add proper locking for the function, b43_op_beacon_set_tim in main.c

2015-01-02 Thread Larry Finger
On 01/02/2015 01:34 AM, Nicholas Krause wrote: This adds proper locking for the function, b43_op_beacon_set_tim in main.c by using the mutex lock in the structure pointer wl, as embedded into this pointer as a mutex in order to protect against multiple access to the pointer wl when updating the

[GIT PULL] SCSI fixes for 3.19-rc2

2015-01-02 Thread James Bottomley
This is a set of three fixes: one to correct an abort path thinko causing failures (and a panic) in USB on device misbehaviour, One to fix an out of order issue in the fnic driver and one to match discard expectations to qemu which otherwise cause Linux to behave badly as a guest. The patch is ava

Re: [PATCH v5 18/18] Documentation: ACPI for ARM64

2015-01-02 Thread Catalin Marinas
On 2 Jan 2015, at 09:28, Hanjun Guo wrote: >>> On 2015年01月02日 04:04, Graeme Gregory wrote: On Wed, Dec 31, 2014 at 04:34:46PM +0800, Hanjun Guo wrote: On 2014年12月31日 04:13, ashw...@codeaurora.org wrote: Hi Hanjun, Overall the document looks good to us. Some minor clarific

Re: [PATCH] adjtimex: PPM scaling is by 2^-16

2015-01-02 Thread Laurent Georget
Hi, Le 02/01/2015 07:29, Richard Cochran a écrit : > On Thu, Jan 01, 2015 at 08:41:20PM -0600, Jeff Epler wrote: >> Like Laurent Georget, I found by reading ntpd source >> the scale is 2^16 (i.e., 1 ~= 1.5e-5 ppm, 65536 = 1ppm) > > Yep, you wont find this documented in prose anywhere, not even at

[no subject]

2015-01-02 Thread Gloria C. Mackenzie
-- I am Mrs. Gloria C. Mackenzie, the power-ball lottery winner and I have donated $2,000,000.00 USD to you -- -- 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/majord

Re: [PATCH v2 3/3] X86: Add a thread cpu time implementation to vDSO

2015-01-02 Thread Shaohua Li
On Fri, Jan 02, 2015 at 08:31:33AM -0700, David Ahern wrote: > On 1/1/15 7:59 PM, Shaohua Li wrote: > >I'm wondering how we could use the perf to implament a clock_gettime. > >reading the perf fd or using ioctl is slow so reading the mmap > >ringbuffer is the only option. But as far as I know the r

Re: [PATCH v5 0/4] Fixes for SDIO interrupts for dw_mmc

2015-01-02 Thread Doug Anderson
Ulf, On Tue, Dec 30, 2014 at 2:29 AM, Ulf Hansson wrote: >>> In v5, I don't find a patch 1/4. Anyway, I have taken patch 2->4. >> >> Ah, maybe because it wasn't sent to linux-mmc? I messed that up and >> will try to do better in the future. Sorry. :( You were in the To >> line, though. You c

Re: [PATCH v2 3/3] X86: Add a thread cpu time implementation to vDSO

2015-01-02 Thread David Ahern
On 1/2/15 10:02 AM, Shaohua Li wrote: On Fri, Jan 02, 2015 at 08:31:33AM -0700, David Ahern wrote: On 1/1/15 7:59 PM, Shaohua Li wrote: I'm wondering how we could use the perf to implament a clock_gettime. reading the perf fd or using ioctl is slow so reading the mmap ringbuffer is the only opt

Re: [PATCH] fs: isofs: Fix bug in the way to check if the year is a leap year

2015-01-02 Thread Al Viro
On Fri, Jan 02, 2015 at 04:08:48PM +, Oscar Forner Martinez wrote: > The way to check if the year is a leap year was incomplete. > It was checking only if the year can be divided by 4, that is > necessary but not a sufficient condition. It has to check as well > if the year can not be divided b

Re: [PATCH v5 4/6] ARM: dts: AM335x: Make charge delay a DT parameter for TSC

2015-01-02 Thread Tony Lindgren
* Vignesh R [141223 23:07]: > The charge delay value is by default 0x400. But it can be set to lower > values on some boards, as long as false pen-ups are avoided. Lowering the > value increases the sampling rate (though current sampling rate is > sufficient for TSC operation). In some boards, the

Re: [PATCH v5 0/4] Fixes for SDIO interrupts for dw_mmc

2015-01-02 Thread Tony Lindgren
* Doug Anderson [150102 09:09]: > Ulf, > > On Tue, Dec 30, 2014 at 2:29 AM, Ulf Hansson wrote: > >>> In v5, I don't find a patch 1/4. Anyway, I have taken patch 2->4. > >> > >> Ah, maybe because it wasn't sent to linux-mmc? I messed that up and > >> will try to do better in the future. Sorry.

Re: [PATCH v2 3/3] X86: Add a thread cpu time implementation to vDSO

2015-01-02 Thread Shaohua Li
On Fri, Jan 02, 2015 at 10:09:10AM -0700, David Ahern wrote: > On 1/2/15 10:02 AM, Shaohua Li wrote: > >On Fri, Jan 02, 2015 at 08:31:33AM -0700, David Ahern wrote: > >>On 1/1/15 7:59 PM, Shaohua Li wrote: > >>>I'm wondering how we could use the perf to implament a clock_gettime. > >>>reading the p

[PATCH 2/2] ARM: l2c: AM437x: Introduce support for cache filter programming

2015-01-02 Thread Nishanth Menon
AM437x generation of processors support programming the PL310 L2Cache controller's address filter start and end registers using a secure montior service. Unfortunately, this secure monitor service is not supported on OMAP4 generation of processors. Information based on: OMAP4430 Public ROM Code A

[PATCH 1/2] ARM: l2c: OMAP4/AM437x: Introduce support for cache latency programming

2015-01-02 Thread Nishanth Menon
OMAP4 and AM437x generations of processors support programming the PL310 L2Cache controller's Latency control registers using a secure montior call. Unfortunately, this varies from other PL310 programming sequence with a requirement of two parameters instead of the generic single parameter configur

[PATCH 0/2] ARM: l2c: OMAP4/AM437x: Additional register programming support.

2015-01-02 Thread Nishanth Menon
Hi, OMAP4 and AM437x ROM code provides services to program PL310's latency registers and AM437x provides service for programming Address filter registers. Provide support in the kernel for the same. This provides some support to the series: http://marc.info/?l=linux-arm-kernel&m=141933190912495

Re: [PATCH v2 1/2] of/pci: add of_pci_dma_configure() update dma configuration

2015-01-02 Thread Murali Karicheri
Rob, See my response below. Arnd and Will, please review this as well. On 12/26/2014 02:33 PM, Rob Herring wrote: On Wed, Dec 24, 2014 at 4:11 PM, Murali Karicheri wrote: Add of_pci_dma_configure() to allow updating the dma configuration of the pci device using the configuration from DT of th

Re: [PATCH] ovl: Prevent rw remount when it should be ro mount

2015-01-02 Thread Seunghun Lee
On 01/02/2015 03:33 AM, Sedat Dilek wrote: > On Thu, Jan 1, 2015 at 4:38 PM, Seunghun Lee wrote: >> Overlayfs should be mounted read-only when upper fs is r/o or nonexistend. >> But now it can be remounted read-write and this can causes kernel panic. >> So we should prevent read-write remount whe

Re: [RFC 8/8] ARM64: Add uprobe support

2015-01-02 Thread Oleg Nesterov
Hi Pratyush, I'll try to actually read this patch (and the whole series) later, just a couple of quick questions for now. On 12/31, Pratyush Anand wrote: > > --- a/arch/arm64/include/asm/ptrace.h > +++ b/arch/arm64/include/asm/ptrace.h > @@ -205,6 +205,7 @@ static inline int valid_user_regs(struc

Re: [PATCH v2 3/3] X86: Add a thread cpu time implementation to vDSO

2015-01-02 Thread David Ahern
On 1/2/15 10:17 AM, Shaohua Li wrote: On Fri, Jan 02, 2015 at 10:09:10AM -0700, David Ahern wrote: On 1/2/15 10:02 AM, Shaohua Li wrote: On Fri, Jan 02, 2015 at 08:31:33AM -0700, David Ahern wrote: On 1/1/15 7:59 PM, Shaohua Li wrote: I'm wondering how we could use the perf to implament a clo

[PATCH] ovl: Prevent rw remount when it should be ro mount

2015-01-02 Thread Seunghun Lee
Overlayfs should be mounted read-only when upper-fs is read-only or nonexistent. But now it can be remounted read-write and this can cause kernel panic. So we should prevent read-write remount when the above situation happens. Signed-off-by: Seunghun Lee --- fs/overlayfs/super.c | 11 +++

Re: [PATCH] USB_EHCI_TT_NEWSCHED in *86 defconfig

2015-01-02 Thread Alan Stern
On Fri, 2 Jan 2015, Valdis Kletnieks wrote: > Some Gentoo users are encountering problems because USB_EHCI_TT_NEWSCHED isn't > set in the defconfig (and Gentoo differs from other distros in not providing a > distro .config). Alan Stern has said there's no reason to not set it, and the > ability t

Re: [PATCH] lib: proportions.c: Remove some unused functions

2015-01-02 Thread Jan Kara
On Mon 22-12-14 13:26:26, Andrew Morton wrote: > On Sat, 20 Dec 2014 15:51:53 +0100 Rickard Strandqvist > wrote: > > > Removes some functions that are not used anywhere: > > prop_change_shift() prop_descriptor_init() prop_fraction_percpu() > > prop_fraction_single() __prop_inc_percpu_max() prop

Re: Status of tip/x86/apic

2015-01-02 Thread Mathieu Desnoyers
- Original Message - > From: "Steven Rostedt" > To: "Thomas Gleixner" > Cc: "LKML" , "Jiang Liu" > , x...@kernel.org, "Linus Torvalds" > , "Andrew Morton" , > "Bjorn Helgaas" , > "Tony Luck" , "Borislav Petkov" , "Joerg > Roedel" , "Marc > Zyngier" , "Yinghai Lu" , "Alex > Williamson"

Re: [PATCH] ARM: OMAP2+: hwmod: Fix _wait_target_ready() for hwmods without sysc

2015-01-02 Thread Tony Lindgren
* Roger Quadros [141219 01:08]: > Lokesh, > > On 19/12/14 07:21, Lokesh Vutla wrote: > > Hi Roger, > > On Thursday 18 December 2014 09:22 PM, Roger Quadros wrote: > >> Fixing up Paul's email id. > >> > >> cheers, > >> -roger > >> > >> On 18/12/14 17:49, Roger Quadros wrote: > >>> There are quite

Re: [PATCH] block: fix checking return value of blk_mq_init_queue

2015-01-02 Thread Al Viro
On Fri, Jan 02, 2015 at 08:53:11AM -0700, Jens Axboe wrote: > On 01/02/2015 07:25 AM, Ming Lei wrote: > >Check IS_ERR_OR_NULL(return value) instead of just return value. > > Thanks Ming, applied. Umm... Looking at the callers, I'd suggest making it _never_ return NULL - it's always treates as ER

Re: [RFC/PATCHSET 00/30] perf tools: New build framework

2015-01-02 Thread Ingo Molnar
* Jiri Olsa wrote: > [...] The basic idea is the same as in kbuild system, with some > minor changes to allow for multiple binaries build definitions. > tools/perf/Build| 48 ++ > tools/perf/Build.include| 75 > tools/perf/Documen

[PATCH] fix kerneldoc of request_firmware_direct()

2015-01-02 Thread Jakub Kicinski
Fix trivial copy/paste error. Signed-off-by: Jakub Kicinski --- drivers/base/firmware_class.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/base/firmware_class.c b/drivers/base/firmware_class.c index 58470c3..96d994a 100644 --- a/drivers/base/firmware_class.c +++ b/

Re: [PATCH] block: fix checking return value of blk_mq_init_queue

2015-01-02 Thread Jens Axboe
On 01/02/2015 10:34 AM, Al Viro wrote: On Fri, Jan 02, 2015 at 08:53:11AM -0700, Jens Axboe wrote: On 01/02/2015 07:25 AM, Ming Lei wrote: Check IS_ERR_OR_NULL(return value) instead of just return value. Thanks Ming, applied. Umm... Looking at the callers, I'd suggest making it _never_ ret

Re: [PATCH 0/2] ARM: l2c: OMAP4/AM437x: Additional register programming support.

2015-01-02 Thread Tony Lindgren
* Nishanth Menon [150102 09:20]: > Hi, > > OMAP4 and AM437x ROM code provides services to program PL310's latency > registers and AM437x provides service for programming Address filter > registers. > > Provide support in the kernel for the same. > > This provides some support to the series: >

Re: [RFC 3/8] Kernel/uprobe: Define arch_uprobe_exception_notify as __weak

2015-01-02 Thread Oleg Nesterov
On 12/31, Pratyush Anand wrote: > > Both ARM and ARM64 handle uprobe exceptions through their own hooks.So > nothing to be done in arch_uprobe_exception_notify except to return > NOTIFY_DONE. Implement this as weak default function and remove > definition from arm arch code. > > Signed-off-by: Prat

[PATCH V2 0/2] ARM: l2c: OMAP4/AM437x: Additional register programming support.

2015-01-02 Thread Nishanth Menon
Hi, OMAP4 and AM437x ROM code provides services to program PL310's latency registers and AM437x provides service for programming Address filter registers. Provide support in the kernel for the same. V2 of the series contains documentation update and a bug fix due to a typo introduced during patch

[PATCH V2 2/2] ARM: l2c: AM437x: Introduce support for cache filter programming

2015-01-02 Thread Nishanth Menon
AM437x generation of processors support programming the PL310 L2Cache controller's address filter start and end registers using a secure montior service. Unfortunately, this secure monitor service is not supported on OMAP4 generation of processors. Information based on: OMAP4430 Public ROM Code A

[PATCH V2 1/2] ARM: l2c: OMAP4/AM437x: Introduce support for cache latency programming

2015-01-02 Thread Nishanth Menon
OMAP4 and AM437x generations of processors support programming the PL310 L2Cache controller's Latency control registers using a secure montior call. Unfortunately, this varies from other PL310 programming sequence with a requirement of two parameters instead of the generic single parameter configur

Re: [PATCH v2 3/3] X86: Add a thread cpu time implementation to vDSO

2015-01-02 Thread Andy Lutomirski
On Thu, Jan 1, 2015 at 6:59 PM, Shaohua Li wrote: > On Fri, Dec 19, 2014 at 06:03:34PM +0100, Peter Zijlstra wrote: >> On Fri, Dec 19, 2014 at 08:48:07AM -0800, Andy Lutomirski wrote: >> > On Fri, Dec 19, 2014 at 3:23 AM, Peter Zijlstra >> > wrote: >> > > On Thu, Dec 18, 2014 at 04:22:59PM -0800

Re: [RFC 5/8] ARM64: Re-factor flush_ptrace_access

2015-01-02 Thread Oleg Nesterov
On 12/31, Pratyush Anand wrote: > > Re-factor flush_ptrace_access to reuse vma independent part. But for what? The changelog should explain this. > Signed-off-by: Pratyush Anand > --- > arch/arm64/mm/flush.c | 24 +++- > 1 file changed, 15 insertions(+), 9 deletions(-) > >

Re: [PATCH 0/2] ARM: l2c: OMAP4/AM437x: Additional register programming support.

2015-01-02 Thread Nishanth Menon
On 01/02/2015 11:38 AM, Tony Lindgren wrote: > * Nishanth Menon [150102 09:20]: >> Hi, >> >> OMAP4 and AM437x ROM code provides services to program PL310's latency >> registers and AM437x provides service for programming Address filter >> registers. >> >> Provide support in the kernel for the same

[PATCH] sound: pci: hda: patch_analog: Remove some unused functions

2015-01-02 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: ad198x_ch_mode_put() ad198x_ch_mode_info() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- sound/pci/hda/patch_analog.c | 21 - 1 file changed, 21 d

[PATCH] kexec: Fix a typo in comment

2015-01-02 Thread Alexander Kuleshov
Signed-off-by: Alexander Kuleshov --- kernel/kexec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/kexec.c b/kernel/kexec.c index 9a8a01a..75a8b7e 100644 --- a/kernel/kexec.c +++ b/kernel/kexec.c @@ -444,7 +444,7 @@ arch_kexec_apply_relocations(const Elf_Ehdr *ehdr, E

Re: [PATCH v10 2/8] ARM: l2c: Refactor the driver to use commit-like interface

2015-01-02 Thread Nishanth Menon
On 01/02/2015 02:55 AM, Tomasz Figa wrote: > On 30.12.2014 03:23, Nishanth Menon wrote: >> On 12/23/2014 04:48 AM, Marek Szyprowski wrote: >> >>> -static void l2c310_resume(void) >>> +static void l2c310_configure(void __iomem *base) >>> { >>> - void __iomem *base = l2x0_base; >>> + unsigned r

Re: [HPDD-discuss] [PATCH] staging: lustre: lustre: include: lustre_update.h: Fix for possible null pointer dereference

2015-01-02 Thread Ashley Pittman
Rickard, > On 21 Dec 2014, at 22:43, Rickard Strandqvist > wrote: > > The NULL check was done to late, and there it was a risk > of a possible null pointer dereference. > > This was partially found by using a static code analysis program called > cppcheck. > > Signed-off-by: Rickard Strandq

Re: 答复:[PATCH] perf core: Use KSTK_ESP() instead of pt_regs->sp while output user regs

2015-01-02 Thread Andy Lutomirski
On Jan 2, 2015 8:11 AM, "Jan Beulich" wrote: > > >>> Andy Lutomirski 12/31/14 3:00 AM >>> > >On Tue, Dec 30, 2014 at 3:29 PM, Andy Lutomirski wrote: > >> Given how the x86_64* entry code works, using task_pt_regs from > >> anywhere except explicitly supported contexts (including exceptions > >>

[PATCH] Fix Mygica T230 support

2015-01-02 Thread Jonathan McDowell
Commit 2adb177e57417cf8409e86bda2c516e5f99a2099 removed 2 devices from the cxusb device table but failed to fix up the T230 properties that follow, meaning that this device no longer gets detected properly. Adjust the cxusb_table index appropriate so detection works. Signed-Off-By: Jonathan McDowe

Re: [RFC 6/8] ARM64: Handle TRAP_HWBRKPT for user mode as well

2015-01-02 Thread Oleg Nesterov
Let me repeat once again that I know absolutely nothing about arm* ;) On 12/31, Pratyush Anand wrote: > > uprobe registers a handler at step_hook. So, single_step_handler now > checks for user mode as well if there is a valid hook. > > Signed-off-by: Pratyush Anand > --- > arch/arm64/kernel/debu

[PATCH] arch: parisc: kernel: sys_parisc: Remove some unused functions

2015-01-02 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: parisc_personality() parisc_fallocate() parisc_sync_file_range() parisc_fadvise64_64() parisc_readahead() parisc_pwrite64() parisc_pread64() parisc_ftruncate64() parisc_truncate64() This was partially found by using a static code analysis program

Re: [PATCH] arch: parisc: kernel: sys_parisc: Remove some unused functions

2015-01-02 Thread Helge Deller
On 01/02/2015 07:09 PM, Rickard Strandqvist wrote: Removes some functions that are not used anywhere: parisc_personality() parisc_fallocate() parisc_sync_file_range() parisc_fadvise64_64() parisc_readahead() parisc_pwrite64() parisc_pread64() parisc_ftruncate64() parisc_truncate64() This was par

Re: [PATCH] arch: parisc: kernel: sys_parisc: Remove some unused functions

2015-01-02 Thread Al Viro
On Fri, Jan 02, 2015 at 07:09:50PM +0100, Rickard Strandqvist wrote: > Removes some functions that are not used anywhere: > parisc_personality() parisc_fallocate() parisc_sync_file_range() > parisc_fadvise64_64() parisc_readahead() parisc_pwrite64() parisc_pread64() > parisc_ftruncate64() parisc_tr

Re: [PATCH] sound: pci: hda: patch_analog: Remove some unused functions

2015-01-02 Thread Paul Bolle
On Fri, 2015-01-02 at 18:58 +0100, Rickard Strandqvist wrote: > Removes some functions that are not used anywhere: > ad198x_ch_mode_put() ad198x_ch_mode_info() > > This was partially found by using a static code analysis program called > cppcheck. > > Signed-off-by: Rickard Strandqvist > --- Y

Re: [RFC 2/4] PCI: generic: Add support for ARM64 and MSI(x)

2015-01-02 Thread Suravee Suthikulanit
On 1/2/2015 5:55 AM, Lorenzo Pieralisi wrote: Hi Suravee, On Mon, Dec 29, 2014 at 07:32:44PM +, Suravee Suthikulpanit wrote: >Hi, > >I am not sure if this thread is still alive. I'm trying to see what I >can do to help clean up/convert to make the PCI GHC also works for arm64 >w/ zero or mi

Re: [PATCH] Staging: comedi: tab space coding style issue in pcl818.c

2015-01-02 Thread Jeremiah Mahler
Jitendra, On Fri, Jan 02, 2015 at 09:37:44PM +0530, jitendra kumar khasdev wrote: > This is patch to the pcl818.c that fix up a use tab error > found by the checkpatch.pl tool > --- Your Signed-off-by is missing. > drivers/staging/comedi/drivers/pcl818.c | 2 +- > 1 file changed, 1 insertion(+),

Re: [GIT PULL] One more vdso fix for 3.19

2015-01-02 Thread Andy Lutomirski
On Thu, Jan 1, 2015 at 1:23 PM, Ingo Molnar wrote: > > * Andy Lutomirski wrote: > >> Hi Ingo et al, >> >> Please consider pulling for x86/urgent. >> >> Thanks, >> Andy >> >> >> The following changes since commit 394f56fe480140877304d342dec46d50dc823d46: >> >> x86_64, vdso: Fix the vdso address

<    1   2   3   4   >