Re: [PATCH 12/13] [RFC] thermal: rcar: Add binding docs for new R-Car Gen2 SoCs

2014-07-11 Thread Simon Horman
On Wed, Jul 09, 2014 at 02:23:42PM +0200, Geert Uytterhoeven wrote: > - r8a7792 (R-Car V2H) > - r8a7793 (R-Car M2-N) > - r8a7794 (R-Car E2) > > r8a7791 is now called "R-Car M2-W". I don't feel strongly about this either way. But it seems to me that if we want to start using "M2-W" then we

Re: [PATCH 1/2 V3] PCI: introduce device assignment interface and refactory related code

2014-07-11 Thread Alex Williamson
On Fri, 2014-07-11 at 07:13 -0600, Alex Williamson wrote: > On Fri, 2014-07-11 at 20:30 +0800, Ethan Zhao wrote: > > This patch introduces two new device assignment functions > > > > pci_iov_assign_device(), > > pci_iov_deassign_device() > > > > along with the existed one > > > >

Re: [PATCH 12/13] cpufreq: Add cpufreq driver for Tegra124

2014-07-11 Thread Tuomas Tynkkynen
On 11/07/14 07:35, Viresh Kumar wrote: Hi Tuomas, On 11 July 2014 03:12, Tuomas Tynkkynen wrote: Add a new cpufreq driver for Tegra124. Instead of using the PLLX as the CPU clocksource, switch immediately to the DFLL. It allows the use of higher clock rates, and will automatically scale the

[PATCH] bus: ARM CCN PMU driver

2014-07-11 Thread Pawel Moll
Driver providing perf backend for ARM Cache Coherent Network interconnect. Supports counting all hardware events and crosspoint watchpoints. Currently works with CCN-504 only, although there should be no changes required for CCN-508 (just impossible to test it now). Signed-off-by: Pawel Moll

[PATCH] kbuild: make -s should be used with kernelrelease/kernelversion/image_name

2014-07-11 Thread Michal Marek
If .config has been edited, there will be a silentoldconfig run: $ make defconfig ... $ make kernelrelease scripts/kconfig/conf --silentoldconfig Kconfig 3.16.0-rc1+ Recently, kbuild started to print the name of the build directory when using O= $ make O=build kernelrelease

[PATCH/RFC v4 15/21] media: Add registration helpers for V4L2 flash

2014-07-11 Thread Jacek Anaszewski
This patch adds helper functions for registering/unregistering LED class flash devices as V4L2 subdevs. The functions should be called from the LED subsystem device driver. In case the support for V4L2 Flash sub-devices is disabled in the kernel config the functions' empty versions will be used.

Re: [patch 02/55] timekeeping: Simplify arch_gettimeoffset()

2014-07-11 Thread Geert Uytterhoeven
Hi Thomas, On Fri, Jul 11, 2014 at 3:44 PM, Thomas Gleixner wrote: > Provide a default stub function instead of having the extra > conditional. Cuts binary size on a m68k build by ~100 bytes. Thanks about caring about binary size. > Signed-off-by: Thomas Gleixner Acked-by: Geert Uytterhoeven

Re: [PATCH v8 6/9] pci: Introduce a domain number for pci_host_bridge.

2014-07-11 Thread Catalin Marinas
On Thu, Jul 10, 2014 at 11:36:10PM +0100, Bjorn Helgaas wrote: > Most of the rest of the v7 discussion was about "Introduce a domain > number for pci_host_bridge." I think we should add arm64 using the > existing pci_scan_root_bus() and keep the domain number in the arm64 > sysdata structure like

[PATCH/RFC v4 04/21] leds: Reorder include directives

2014-07-11 Thread Jacek Anaszewski
Reorder include directives so that they are arranged in alphabetical order. Signed-off-by: Jacek Anaszewski Acked-by: Kyungmin Park Cc: Bryan Wu Cc: Richard Purdie --- drivers/leds/led-class.c | 13 +++-- drivers/leds/led-core.c |3 ++- include/linux/leds.h |2 +- 3

Re: [Linux-parport] [PATCHv3 2/2] Add force_epp module option for parport_pc.

2014-07-11 Thread Matwey V. Kornilov
Here usb-stick image with the new (Alan) version of the patches. https://susestudio.com/download/1cbfcf5c4ca89206fc170f00b962be0a/openSUSE_13.1_parport_pc.i686-0.1.0.oem.tar.gz login root:linux or tux:linux Heiko, could you please also check that you see EPP? 2014-07-11 1:48 GMT+04:00 Leopold

[PATCH/RFC v4 05/21] leds: avoid using deprecated DEVICE_ATTR macro

2014-07-11 Thread Jacek Anaszewski
Make the sysfs attributes definition consistent in the whole file. The modification entails change of the function name: led_max_brightness_show -> max_brightness_show Signed-off-by: Jacek Anaszewski Acked-by: Kyungmin Park Cc: Bryan Wu Cc: Richard Purdie --- drivers/leds/led-class.c |4

[PATCH/RFC v4 03/21] leds: Improve and export led_update_brightness

2014-07-11 Thread Jacek Anaszewski
led_update_brightness helper function used to be exploited only locally in the led-class.c module, where its result was being passed to the brightness_show sysfs callback. With the introduction of v4l2-flash subdevice the same functionality became required for reading current brightness from a LED

[PATCH/RFC v4 02/21] leds: implement sysfs interface locking mechanism

2014-07-11 Thread Jacek Anaszewski
Add mechanism for locking LED subsystem sysfs interface. This patch prepares ground for addition of LED Flash Class extension. Signed-off-by: Jacek Anaszewski Acked-by: Kyungmin Park Cc: Bryan Wu Cc: Richard Purdie --- drivers/leds/led-class.c| 13 +++-- drivers/leds/led-core.c

[PATCH/RFC v4 01/21] leds: make brightness type consistent across whole subsystem

2014-07-11 Thread Jacek Anaszewski
Documentations states that brightness units type is enum led_brightness and this is the type used by the led API functions. Adjust the type of brightness variables in the struct led_classdev accordingly. Signed-off-by: Jacek Anaszewski Acked-by: Kyungmin Park Cc: Bryan Wu Cc: Richard Purdie

[PATCH/RFC v4 06/21] leds: add API for setting torch brightness

2014-07-11 Thread Jacek Anaszewski
This patch prepares ground for addition of LED Flash Class extension to the LED subsystem. Since turning the torch on must have guaranteed immediate effect the brightness_set op can't be used for it. Drivers must schedule a work queue task in this op to be compatible with led-triggers, which call

[PATCH/RFC v4 11/21] DT: leds: Add flash led devices related properties

2014-07-11 Thread Jacek Anaszewski
Addition of a LED Flash Class extension entails the need for flash led specific device tree properties. The properties being added are: iout-torch, iout-flash, iout-indicator and flash-timeout. Signed-off-by: Jacek Anaszewski Acked-by: Kyungmin Park Cc: Stephen Warren Cc: Grant Likely Cc: Rob

[PATCH/RFC v4 10/21] Documentation: leds: add exemplary asynchronous mux driver

2014-07-11 Thread Jacek Anaszewski
Exemplary driver showing usage of the Flash Manager API for registering/unregistering asynchronous multiplexers Signed-off-by: Jacek Anaszewski Acked-by: Kyungmin Park Cc: Bryan Wu Cc: Richard Purdie --- Documentation/leds/leds-async-mux.c | 65 +++ 1 file

[PATCH/RFC v4 14/21] v4l2-ctrls: add control for flash strobe signal providers

2014-07-11 Thread Jacek Anaszewski
Add V4L2_CID_STROBE_PROVIDER of type menu, which allows for enumerating of available external flash strobe signal providers and setting the active one. Signed-off-by: Jacek Anaszewski Acked-by: Kyungmin Park Cc: Sakari Ailus Cc: Hans Verkuil --- Documentation/DocBook/media/v4l/controls.xml |

[PATCH/RFC v4 16/21] leds: Add support for max77693 mfd flash cell

2014-07-11 Thread Jacek Anaszewski
This patch adds led-flash support to Maxim max77693 chipset. A device can be exposed to user space through LED subsystem sysfs interface or through V4L2 subdevice when the support for V4L2 Flash sub-devices is enabled. Device supports up to two leds which can work in flash and torch mode. Leds can

[PATCH/RFC v4 17/21] DT: Add documentation for the mfd Maxim max77693

2014-07-11 Thread Jacek Anaszewski
This patch adds device tree binding documentation for the flash cell of the Maxim max77693 multifunctional device. Signed-off-by: Andrzej Hajda Acked-by: Kyungmin Park Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala ---

[PATCH/RFC v4 13/21] v4l2-device: add v4l2_device_register_subdev_node API

2014-07-11 Thread Jacek Anaszewski
Extract the code executed for each entry of the subdev list and put it to the separate function. Export it as a public API. It allows for registering single sub-device at a time. Signed-off-by: Jacek Anaszewski Acked-by: Kyungmin Park Cc: Hans Verkuil Cc: Laurent Pinchart ---

[PATCH/RFC v4 07/21] of: add of_node_ncmp wrapper

2014-07-11 Thread Jacek Anaszewski
The wrapper for strnicmp is required for checking whether a node has expected prefix. Signed-off-by: Jacek Anaszewski Acked-by: Kyungmin Park Cc: Grant Likely Cc: Benjamin Herrenschmidt Cc: Michal Simek --- include/linux/of.h |1 + 1 file changed, 1 insertion(+) diff --git

[PATCH/RFC v4 09/21] Documentation: leds: Add description of LED Flash Class extension

2014-07-11 Thread Jacek Anaszewski
The documentation being added contains overall description of the LED Flash Class and the related sysfs attributes. There are also chapters devoted specifically to the Flash Manager feature. Signed-off-by: Jacek Anaszewski Acked-by: Kyungmin Park Cc: Bryan Wu Cc: Richard Purdie ---

[patch 19/55] timekeeping: Use ktime_t based data for ktime_get_clocktai()

2014-07-11 Thread Thomas Gleixner
Signed-off-by: Thomas Gleixner --- include/linux/timekeeping.h |9 - kernel/time/timekeeping.c | 15 --- 2 files changed, 8 insertions(+), 16 deletions(-) Index: tip/include/linux/timekeeping.h === ---

Re: [tip:sched/core] sched/numa: Use effective_load() to balance NUMA loads

2014-07-11 Thread Peter Zijlstra
On Wed, Jul 09, 2014 at 12:02:03PM -0400, Rik van Riel wrote: > On 07/05/2014 06:44 AM, tip-bot for Rik van Riel wrote: > > Commit-ID: 6dc1a672ab15604947361dcd02e459effa09bad5 > > Gitweb: > > http://git.kernel.org/tip/6dc1a672ab15604947361dcd02e459effa09bad5 > > Author: Rik van Riel > >

[patch 15/55] timekeeping: Use ktime_t based data for ktime_get()

2014-07-11 Thread Thomas Gleixner
Speed up ktime_get() by using ktime_t based data. Text size shrinks by 64 bytes on x8664. Signed-off-by: Thomas Gleixner --- kernel/time/timekeeping.c |9 + 1 file changed, 5 insertions(+), 4 deletions(-) Index: tip/kernel/time/timekeeping.c

[patch 16/55] timekeeping: Provide ktime_get_with_offset()

2014-07-11 Thread Thomas Gleixner
Provide a helper function which lets us implement ktime_t based interfaces for real, boot and tai clocks. Signed-off-by: Thomas Gleixner --- include/linux/timekeeping.h |9 + kernel/time/timekeeping.c | 27 +++ 2 files changed, 36 insertions(+) Index:

[PATCH/RFC v4 20/21] DT: Add documentation for the Skyworks AAT1290

2014-07-11 Thread Jacek Anaszewski
This patch adds device tree binding documentation for 1.5A Step-Up Current Regulator for Flash LEDs. Signed-off-by: Jacek Anaszewski Acked-by: Kyungmin Park Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala --- .../devicetree/bindings/leds/leds-aat1290.txt

[PATCH/RFC v4 21/21] ARM: dts: add aat1290 current regulator device node

2014-07-11 Thread Jacek Anaszewski
Add device node for AAT1290 1.5A Step-Up Current Regulator for Flash LEDs along with flash_muxes node containing information about a multiplexer that is used for switching between software and external strobe signal source. Signed-off-by: Jacek Anaszewski Signed-off-by: Kyungmin Park Cc: Kukjin

[PATCH/RFC v4 18/21] leds: Add driver for AAT1290 current regulator

2014-07-11 Thread Jacek Anaszewski
This patch adds a driver for the 1.5A Step-Up Current Regulator for Flash LEDs. The device is programmed through a Skyworks' proprietary AS2Cwire serial digital interface. Signed-off-by: Jacek Anaszewski Acked-by: Kyungmin Park Cc: Bryan Wu Cc: Richard Purdie --- drivers/leds/Kconfig

[PATCH/RFC v4 12/21] DT: Add documentation for LED Class Flash Manger

2014-07-11 Thread Jacek Anaszewski
This patch documents LED Class Flash Manager related bindings. Signed-off-by: Jacek Anaszewski Acked-by: Kyungmin Park Cc: Bryan Wu Cc: Richard Purdie Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala --- .../bindings/leds/leds-flash-manager.txt |

[PATCH/RFC v4 19/21] of: Add Skyworks Solutions, Inc. vendor prefix

2014-07-11 Thread Jacek Anaszewski
Use "skyworks" as the vendor prefix for the Skyworks Solutions, Inc. Signed-off-by: Jacek Anaszewski Acked-by: Kyungmin Park Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala --- .../devicetree/bindings/vendor-prefixes.txt|1 + 1 file changed, 1

Re: [patch 38/55] fs: lockd: Use ktime_get_ns()

2014-07-11 Thread Trond Myklebust
On Fri, Jul 11, 2014 at 9:44 AM, Thomas Gleixner wrote: > Replace the ever recurring: > ts = ktime_get_ts(); > ns = timespec_to_ns(); > with > ns = ktime_get_ns(); > > Signed-off-by: Thomas Gleixner > Cc: "J. Bruce Fields" > Cc: Trond Myklebust > --- > fs/lockd/mon.c |

[PATCH/RFC v4 00/21] LED / flash API integration

2014-07-11 Thread Jacek Anaszewski
This is is the fourth version of the patch series being a follow up of the discussion on Media summit 2013-10-23, related to the LED / flash API integration (the notes from the discussion were enclosed in the message [1], paragraph 5). The series is based on linux-next-20140707 Description of the

Re: [PATCH] can: flexcan: add vf61x support for flexcan

2014-07-11 Thread Lucas Stach
Am Freitag, den 11.07.2014, 15:58 +0200 schrieb Stefan Agner: > Hi Marc, > > Am 2014-07-11 14:09, schrieb Marc Kleine-Budde: > > IMHO it should be 4 seperate patches: > > - dt > > - clocks > > - flexcan_get_berr_counter fixes > > - your flexcan enhancements > > Ok, will split. > > >> @@ -362,7

[patch 02/55] timekeeping: Simplify arch_gettimeoffset()

2014-07-11 Thread Thomas Gleixner
Provide a default stub function instead of having the extra conditional. Cuts binary size on a m68k build by ~100 bytes. Signed-off-by: Thomas Gleixner --- kernel/time/timekeeping.c | 18 ++ 1 file changed, 6 insertions(+), 12 deletions(-) Index: tip/kernel/time/timekeeping.c

[patch 00/55] timekeeping: 2038, optimizations, NMI safe accessors

2014-07-11 Thread Thomas Gleixner
The patch series addresses the following points: 1) Make the core timekeeping code ready for 2038 This is work done by John Stultz with a few clenaups and modifications from me. This switches ktime_t to the scalar nanoseconds format. We can ged rid of the union now, but

[patch 05/55] ktime: Sanitize ktime_to_us/ms conversion

2014-07-11 Thread Thomas Gleixner
With the plain nanoseconds based ktime_t we can simply use ktime_divns() instead of going through loops and hoops of timespec/timeval conversion. Reported-by: John Stultz Signed-off-by: Thomas Gleixner --- include/linux/hrtimer.h |6 -- include/linux/ktime.h | 12 2

[patch 03/55] hrtimer: Cleanup hrtimer accessors to the timekepeing state

2014-07-11 Thread Thomas Gleixner
From: John Stultz Rather then having two similar but totally different implementations that provide timekeeping state to the hrtimer code, try to unify the two implementations to be more simliar. Thus this clarifies ktime_get_update_offsets to ktime_get_update_offsets_now and changes

Re: [PATCH 3/3] arm64: Use include/asm-generic/io.h

2014-07-11 Thread Catalin Marinas
On Fri, Jul 11, 2014 at 02:01:59PM +0100, Thierry Reding wrote: > On Fri, Jul 11, 2014 at 02:58:09PM +0200, Arnd Bergmann wrote: > > On Friday 11 July 2014, Catalin Marinas wrote: > > > ioread32() is indeed an alias for readl on arm64 but if the address it > > > gets as argument looks like an I/O

[patch 04/55] ktime: Kill non-scalar ktime_t implementation for 2038

2014-07-11 Thread Thomas Gleixner
From: John Stultz The non-scalar ktime_t implementation is basically a timespec which has to be changed to support dates past 2038 on 32bit systems. This patch removes the non-scalar ktime_t implementation, forcing the scalar s64 nanosecond version on all architectures. This may have

[patch 07/55] time64: Add time64.h header and define struct timespec64

2014-07-11 Thread Thomas Gleixner
From: John Stultz Define the timespec64 structure and standard helper functions. [ tglx: Make it 32bit only. 64bit really can map timespec to timespec64 ] Signed-off-by: John Stultz Signed-off-by: Thomas Gleixner --- include/linux/time.h | 15 include/linux/time64.h | 163

[patch 06/55] ktime: Change ktime_set() to take 64bit seconds value

2014-07-11 Thread Thomas Gleixner
From: John Stultz In order to support dates past 2038 on 32bit systems, ktime_set() needs to handle 64bit second values. [ tglx: Removed the BITS_PER_LONG check ] Signed-off-by: John Stultz Signed-off-by: Thomas Gleixner --- include/linux/ktime.h |7 +++ 1 file changed, 3

[patch 08/55] time: More core infrastructure for timespec64

2014-07-11 Thread Thomas Gleixner
From: John Stultz Helper and conversion functions for timespec64. Signed-off-by: John Stultz Signed-off-by: Thomas Gleixner --- include/linux/ktime.h | 28 ++ include/linux/time64.h | 28 ++ kernel/time/time.c | 62

[patch 10/55] time: Consolidate the time accessor prototypes

2014-07-11 Thread Thomas Gleixner
Right now we have time related prototypes in 3 different header files. Move it to a single timekeeping header file and move the core internal stuff into a core private header. Signed-off-by: Thomas Gleixner --- include/linux/hrtimer.h | 11 -- include/linux/ktime.h |8 +---

[patch 29/55] sched: Make task->real_start_time nanoseconds based

2014-07-11 Thread Thomas Gleixner
Simplify the only user of this data by removing the timespec conversion. Signed-off-by: Thomas Gleixner --- fs/proc/array.c |7 +-- include/linux/sched.h |2 +- kernel/fork.c |3 +-- 3 files changed, 3 insertions(+), 9 deletions(-) Index: tip/fs/proc/array.c

[patch 33/55] powerpc: cell: Use ktime_get_ns()

2014-07-11 Thread Thomas Gleixner
Replace the ever recurring: ts = ktime_get_ts(); ns = timespec_to_ns(); with ns = ktime_get_ns(); Signed-off-by: Thomas Gleixner Cc: Arnd Bergmann --- arch/powerpc/platforms/cell/spu_base.c | 11 +++ arch/powerpc/platforms/cell/spufs/context.c |4 +---

[patch 31/55] delayacct: Make accounting nanosecond based

2014-07-11 Thread Thomas Gleixner
Kill the timespec juggling and calculate with plain nanoseconds. Signed-off-by: Thomas Gleixner --- include/linux/sched.h |4 ++-- kernel/delayacct.c| 34 -- 2 files changed, 14 insertions(+), 24 deletions(-) Index: tip/include/linux/sched.h

[patch 13/55] timekeeping: Cache optimize struct timekeeper

2014-07-11 Thread Thomas Gleixner
struct timekeeper is quite badly sorted for the hot readout path. Most time access functions need to load two cache lines. Rearrange it so ktime_get() and getnstimeofday() are happy with a single cache line. Signed-off-by: Thomas Gleixner --- include/linux/timekeeper_internal.h | 84

[patch 14/55] timekeeping: Provide internal ktime_t based data

2014-07-11 Thread Thomas Gleixner
The ktime_t based interfaces are used a lot in performance critical code pathes. Add ktime_t based data so the interfaces don't have to convert from the xtime/timespec based data. Signed-off-by: Thomas Gleixner --- include/linux/timekeeper_internal.h |3 +++ kernel/time/timekeeping.c

Re: No uart output on my snowball board

2014-07-11 Thread Lee Jones
On Fri, 11 Jul 2014, Linus Walleij wrote: > On Fri, Jul 11, 2014 at 4:30 AM, Steven Rostedt wrote: > > > commit a0998b8321eb5f53ef51924f5ab6c69237ac1025 > > Author: Lee Jones > > Date: Thu Aug 22 16:18:56 2013 +0100 > > > > ARM: ux500: Remove UART support when booting without Device Tree

Re: vmstat: On demand vmstat workers V8

2014-07-11 Thread Frederic Weisbecker
On Fri, Jul 11, 2014 at 08:56:04AM -0500, Christoph Lameter wrote: > On Fri, 11 Jul 2014, Frederic Weisbecker wrote: > > > > @@ -1228,20 +1244,105 @@ static const struct file_operations proc > > > #ifdef CONFIG_SMP > > > static DEFINE_PER_CPU(struct delayed_work, vmstat_work); > > > int

[patch 11/55] timekeeping: Provide timespec64 based interfaces

2014-07-11 Thread Thomas Gleixner
To convert callers of the core code to timespec64 we need to provide the proper interfaces. Signed-off-by: Thomas Gleixner --- include/linux/timekeeping.h | 66 kernel/time/ntp.c |7 ++-- kernel/time/timekeeping.c | 47

Re: [PATCH] can: flexcan: add vf61x support for flexcan

2014-07-11 Thread Stefan Agner
Hi Marc, Am 2014-07-11 14:09, schrieb Marc Kleine-Budde: > IMHO it should be 4 seperate patches: > - dt > - clocks > - flexcan_get_berr_counter fixes > - your flexcan enhancements Ok, will split. >> @@ -362,7 +374,7 @@ >> >> esdhc1: esdhc@400b2000 { >>

[patch 09/55] timekeeping: Convert timekeeping core to use timespec64s

2014-07-11 Thread Thomas Gleixner
From: John Stultz Convert the core timekeeping logic to use timespec64s. This moves the 2038 issues out of the core logic and into all of the accessor functions. Future changes will need to push the timespec64s out to all timekeeping users, but that can be done interface by interface.

[patch 12/55] timekeeper: Move tk_xtime to core code

2014-07-11 Thread Thomas Gleixner
No users outside of the core. Signed-off-by: Thomas Gleixner --- include/linux/timekeeper_internal.h | 18 - kernel/time/timekeeping.c | 70 ++-- 2 files changed, 43 insertions(+), 45 deletions(-) Index:

Re: vmstat: On demand vmstat workers V8

2014-07-11 Thread Christoph Lameter
On Fri, 11 Jul 2014, Frederic Weisbecker wrote: > > @@ -1228,20 +1244,105 @@ static const struct file_operations proc > > #ifdef CONFIG_SMP > > static DEFINE_PER_CPU(struct delayed_work, vmstat_work); > > int sysctl_stat_interval __read_mostly = HZ; > > +struct cpumask *cpu_stat_off; > > I

[patch 18/55] timekeeping; Use ktime_t based data for ktime_get_boottime()

2014-07-11 Thread Thomas Gleixner
Signed-off-by: Thomas Gleixner --- include/linux/timekeeping.h | 12 +++- kernel/time/timekeeping.c | 17 - 2 files changed, 11 insertions(+), 18 deletions(-) Index: tip/include/linux/timekeeping.h ===

Re: No uart output on my snowball board

2014-07-11 Thread Lee Jones
On Fri, 11 Jul 2014, Steven Rostedt wrote: > On Fri, 11 Jul 2014 14:00:55 +0200 > Linus Walleij wrote: > > > On Fri, Jul 11, 2014 at 4:30 AM, Steven Rostedt wrote: > > > > > commit a0998b8321eb5f53ef51924f5ab6c69237ac1025 > > > Author: Lee Jones > > > Date: Thu Aug 22 16:18:56 2013 +0100 >

[patch 17/55] timekeeping: Use ktime_t based data for ktime_get_real()

2014-07-11 Thread Thomas Gleixner
Speed up the readout. Signed-off-by: Thomas Gleixner --- include/linux/timekeeping.h |9 - kernel/time/timekeeping.c | 15 --- 2 files changed, 8 insertions(+), 16 deletions(-) Index: tip/include/linux/timekeeping.h

[patch 21/55] timekeeping; Use ktime based data for ktime_get_update_offsets_tick()

2014-07-11 Thread Thomas Gleixner
No need to juggle with timespecs. Signed-off-by: Thomas Gleixner --- kernel/time/timekeeping.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) Index: tip/kernel/time/timekeeping.c === ---

[patch 20/55] timekeeping: Use ktime_t data for ktime_get_update_offsets_now()

2014-07-11 Thread Thomas Gleixner
No need to juggle with timespecs. Signed-off-by: Thomas Gleixner --- kernel/time/timekeeping.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) Index: tip/kernel/time/timekeeping.c === ---

[patch 22/55] timekeeping: Provide ktime_mono_to_any()

2014-07-11 Thread Thomas Gleixner
ktime based conversion function to map a monotonic time stamp to a different CLOCK. Signed-off-by: Thomas Gleixner --- include/linux/timekeeping.h |9 + kernel/time/timekeeping.c | 20 2 files changed, 29 insertions(+) Index: tip/include/linux/timekeeping.h

[patch 24/55] input: evdev: Use ktime_mono_to_real()

2014-07-11 Thread Thomas Gleixner
Convert the monotonic timestamp with ktime_mono_to_real() in evdev_events(). In evdev_queue_syn_dropped() we can call either ktime_get() or ktime_get_real() depending on the clkid. No point in having two calls for CLOCK_REALTIME. Signed-off-by: Thomas Gleixner --- drivers/input/evdev.c |7

[patch 25/55] drm: Use ktime_mono_to_real()

2014-07-11 Thread Thomas Gleixner
Convert the monotonic timestamp with ktime_mono_to_real() in drm_calc_vbltimestamp_from_scanoutpos(). In get_drm_timestamp we can call either ktime_get() or ktime_get_real() depending on drm_timestamp_monotonic. No point in having two calls into the core for CLOCK_REALTIME. Signed-off-by: Thomas

[patch 28/55] time-export-nsecs-to-jiffies.patch

2014-07-11 Thread Thomas Gleixner
Signed-off-by: Thomas Gleixner --- kernel/time/time.c |1 + 1 file changed, 1 insertion(+) Index: tip/kernel/time/time.c === --- tip.orig/kernel/time/time.c +++ tip/kernel/time/time.c @@ -757,6 +757,7 @@ unsigned long

[patch 23/55] timerfd: Use ktime_mono_to_real()

2014-07-11 Thread Thomas Gleixner
We have a few other use cases of ktime_get_monotonic_offset() which can be optimized with ktime_mono_to_real(). The timerfd code uses the offset only for comparison, so we can use ktime_mono_to_real(0) for this as well. Funny enough text size shrinks with that on ARM and x8664 !? Signed-off-by:

[patch 27/55] timekeeping: Provide ktime_get[*]_ns() helpers

2014-07-11 Thread Thomas Gleixner
A lot of code converts either timespecs or ktime_t to nanoseconds. Provide helper functions. Signed-off-by: Thomas Gleixner --- include/linux/timekeeping.h | 15 +++ 1 file changed, 15 insertions(+) Index: tip/include/linux/timekeeping.h

[patch 26/55] timekeeping: Remove ktime_get_monotonic_offset()

2014-07-11 Thread Thomas Gleixner
No more users. Signed-off-by: Thomas Gleixner --- include/linux/timekeeping.h |1 - kernel/time/timekeeping.c | 18 -- 2 files changed, 19 deletions(-) Index: tip/include/linux/timekeeping.h === ---

[patch 52/55] clocksource: Move cycle_last validation to core code

2014-07-11 Thread Thomas Gleixner
The only user of the cycle_last validation is the x86 TSC. In order to provide NMI safe accessor functions for clock monotonic and monotonic_raw we need to do that in the core. We can't do the TSC specific if (now < cycle_last) now = cycle_last; for the other wrapping around

[patch 38/55] fs: lockd: Use ktime_get_ns()

2014-07-11 Thread Thomas Gleixner
Replace the ever recurring: ts = ktime_get_ts(); ns = timespec_to_ns(); with ns = ktime_get_ns(); Signed-off-by: Thomas Gleixner Cc: "J. Bruce Fields" Cc: Trond Myklebust --- fs/lockd/mon.c |4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) Index:

[patch 43/55] x86: kvm: Make kvm_get_time_and_clockread() nanoseconds based

2014-07-11 Thread Thomas Gleixner
Convert the relevant base data right away to nanoseconds instead of doing the conversion on every readout. Reduces text size by 160 bytes. Signed-off-by: Thomas Gleixner Cc: Gleb Natapov Cc: k...@vger.kernel.org --- arch/x86/kvm/x86.c | 44 ++-- 1 file

[patch 42/55] x86: kvm: Use ktime_get_boot_ns()

2014-07-11 Thread Thomas Gleixner
Use the new nanoseconds based interface and get rid of the timespec conversion dance. Signed-off-by: Thomas Gleixner Cc: Gleb Natapov Cc: k...@vger.kernel.org --- arch/x86/kvm/x86.c |6 +- 1 file changed, 1 insertion(+), 5 deletions(-) Index: tip/arch/x86/kvm/x86.c

[patch 45/55] timekeeping: Use ktime_get_boottime() for get_monotonic_boottime()

2014-07-11 Thread Thomas Gleixner
get_monotonic_boottime() is not used in fast pathes, so the extra timespec conversion is not problematic. Signed-off-by: Thomas Gleixner --- include/linux/timekeeping.h |9 - kernel/time/timekeeping.c | 34 -- 2 files changed, 8 insertions(+), 35

[patch 01/55] tile: Convert VDSO timekeeping to the precise mechanism

2014-07-11 Thread Thomas Gleixner
The code was only halfarsed converted to the new VSDO update mechanism and still uses the inaccurate base value which lacks the fractional part of xtime_nsec. Fix it up. Signed-off-by: Thomas Gleixner --- arch/tile/kernel/time.c |9 -

Re: [RFC Patch V1 07/30] mm: Use cpu_to_mem()/numa_mem_id() to support memoryless node

2014-07-11 Thread Christoph Lameter
On Fri, 11 Jul 2014, Jiang Liu wrote: > If CONFIG_HAVE_MEMORYLESS_NODES is disabled, cpu_to_mem()/numa_mem_id() > is the same as cpu_to_node()/numa_node_id(). Reviewed-by: Christoph Lameter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

[patch 55/55] ftrace: Provide trace clocks mono and mono_raw

2014-07-11 Thread Thomas Gleixner
Expose the new NMI safe accessors to clock monotonic and monotonic raw to the tracer. Signed-off-by: Thomas Gleixner Cc: Steven Rostedt Cc: Peter Zijlstra Cc: Mathieu Desnoyers --- kernel/trace/trace.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) Index:

Re: [PATCH 00/15] Input - Wacom: switch from an USB to a HID driver

2014-07-11 Thread Jiri Kosina
On Fri, 11 Jul 2014, Benjamin Tissoires wrote: > Thanks Jason. That's really appreciated. As said I will resend a full > cleanup of these with your Rev-by and fixes, so Dmitry or Jiri can > take the various series. Just for the record, I will be mostly offline for the upcoming 2 weeks. -- Jiri

Re: [PATCH] ARM: omap2+: gpmc-nand: Use dynamic platform_device_alloc()

2014-07-11 Thread Roger Quadros
On 06/04/2014 05:24 PM, Rostislav Lisovy wrote: > GPMC controller supports up to 8 memory devices connected to it. > Since there is one statically allocated "struct platform_device > gpmc_nand_device" it is not possible to configure the system to > use more than one NAND device connected to the

[patch 32/55] delayacct: Remove braindamaged type conversions

2014-07-11 Thread Thomas Gleixner
Converting cputime to timespec and timespec to nanoseconds makes no sense. Use cputime_to_ns() and be done with it. Signed-off-by: Thomas Gleixner --- kernel/delayacct.c | 18 +++--- 1 file changed, 7 insertions(+), 11 deletions(-) Index: tip/kernel/delayacct.c

[patch 34/55] connector: Use ktime_get_ns()

2014-07-11 Thread Thomas Gleixner
Replace the ever recurring: ts = ktime_get_ts(); ns = timespec_to_ns(); with ns = ktime_get_ns(); Signed-off-by: Thomas Gleixner Cc: Evgeniy Polyakov --- drivers/connector/cn_proc.c | 36 +--- 1 file changed, 9 insertions(+), 27

[patch 30/55] sched: Make task->start_time nanoseconds based

2014-07-11 Thread Thomas Gleixner
Simplify the timespec to nsec/usec conversions. Signed-off-by: Thomas Gleixner --- include/linux/sched.h |2 +- kernel/acct.c | 10 +++--- kernel/fork.c |2 +- kernel/tsacct.c | 19 +-- 4 files changed, 14 insertions(+), 19 deletions(-)

[git pull] device mapper fixes for 3.16-rc5

2014-07-11 Thread Mike Snitzer
Hi Linus, The following changes since commit 4c834452aad01531db949414f94f817a86348d59: Linux 3.16-rc3 (2014-06-29 14:11:36 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git tags/dm-3.16-fixes for you to fetch changes

[patch 37/55] net: mlx5: Use ktime_get_ns()

2014-07-11 Thread Thomas Gleixner
This code is beyond silly: struct timespec ts = ktime_get_ts(); ktime_t ktime = timespec_to_ktime(ts); Further down the code builds the delta of two ktime_t values and converts the result to nanoseconds. Use ktime_get_ns() and replace all the nonsense. Signed-off-by: Thomas Gleixner

[patch 35/55] mfd: cros_ec_spi: Use ktime_get_ns()

2014-07-11 Thread Thomas Gleixner
Replace the ever recurring: ts = ktime_get_ts(); ns = timespec_to_ns(); with ns = ktime_get_ns(); Signed-off-by: Thomas Gleixner Cc: Samuel Ortiz --- drivers/mfd/cros_ec_spi.c |7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) Index:

[patch 54/55] timekeeping: Provide fast and NMI safe access to CLOCK_MONOTONIC[_RAW]

2014-07-11 Thread Thomas Gleixner
Tracers want a correlated time between the kernel instrumentation and user space. We really do not want to export sched_clock() to user space, so we need to provide something sensible for this. Using separate data structures with an non blocking sequence count based update mechanism allows us to

[patch 53/55] seqcount: Provide raw_read_seqcount()

2014-07-11 Thread Thomas Gleixner
raw_read_seqcount opens a read critical section of the given seqcount without any lockdep checking and without checking or masking the LSB. Calling code is responsible for handling that. Preparatory patch to provide NMI safe clock monotonic[_raw] accessor functions. Signed-off-by: Thomas

[patch 41/55] arm: bL_switcher:k Use ktime_get_real_ns()

2014-07-11 Thread Thomas Gleixner
Use the nanoseconds based interface instead of converting from a timespec. Signed-off-by: Thomas Gleixner Cc: Russell King Cc: linux-arm-ker...@lists.infradead.org --- arch/arm/common/bL_switcher.c | 16 +++- 1 file changed, 3 insertions(+), 13 deletions(-) Index:

[patch 39/55] hwmon: ibmaem: Use ktime_get_ns()

2014-07-11 Thread Thomas Gleixner
Using the wall clock time for delta time calculations is wrong to begin with because wall clock time can be set from userspace and NTP. Such data wants to be based on clock monotonic. The calcuations also are done on a nanosecond basis. Use the nanoseconds based interface right away.

[patch 44/55] timekeeping: Remove monotonic_to_bootbased

2014-07-11 Thread Thomas Gleixner
No more users. Signed-off-by: Thomas Gleixner --- include/linux/timekeeping.h |1 - kernel/time/timekeeping.c | 15 --- 2 files changed, 16 deletions(-) Index: tip/include/linux/timekeeping.h === ---

[patch 36/55] misc: ioc4: Use ktime_get_ns()

2014-07-11 Thread Thomas Gleixner
Replace the ever recurring: ts = ktime_get_ts(); ns = timespec_to_ns(); with ns = ktime_get_ns(); Signed-off-by: Thomas Gleixner Cc: Arnd Bergmann Cc: Greg Kroah-Hartman --- drivers/misc/ioc4.c |7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) Index:

[patch 40/55] iio: Use ktime_get_real_ns()

2014-07-11 Thread Thomas Gleixner
No idea why iio needs wall clock based time stamps, but we can avoid the timespec conversion dance by using the new interfaces. Signed-off-by: Thomas Gleixner Cc: Jonathan Cameron --- include/linux/iio/iio.h |9 + 1 file changed, 1 insertion(+), 8 deletions(-) Index:

[patch 51/55] clocksource: Make delta calculation a function

2014-07-11 Thread Thomas Gleixner
We want to move the TSC sanity check into core code to make NMI safe accessors to clock monotonic[_raw] possible. For this we need to sanity check the delta calculation. Create a helper function and convert all sites to use it. [ Build fix from jstultz ] Signed-off-by: Thomas Gleixner ---

[patch 48/55] drm: i915: Use nsec based interfaces

2014-07-11 Thread Thomas Gleixner
No point in converting timespecs back and forth. Signed-off-by: Thomas Gleixner Cc: Daniel Vetter --- drivers/gpu/drm/i915/i915_drv.h |2 +- drivers/gpu/drm/i915/i915_gem.c | 33 - drivers/gpu/drm/i915/intel_pm.c | 12 +--- 3 files changed, 18

[patch 50/55] wireless: ath9k: Get rid of timespec conversions

2014-07-11 Thread Thomas Gleixner
We have interfaces. Remove the open coded cruft. Reduces text size along with the code. Signed-off-by: Thomas Gleixner Cc: QCA ath9k Development Cc: "John W. Linville" --- drivers/net/wireless/ath/ath9k/hw.c |7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) Index:

[patch 46/55] timekeeping: Provide ktime_get_raw()

2014-07-11 Thread Thomas Gleixner
Provide a ktime_t based interface for raw monotonic time. Signed-off-by: Thomas Gleixner --- include/linux/timekeeper_internal.h |3 +++ include/linux/timekeeping.h |6 ++ kernel/time/timekeeping.c | 26 ++ 3 files changed, 35

Re: [PATCH tip/core/rcu 2/2] rcu: Don't offload callbacks unless specifically requested

2014-07-11 Thread Frederic Weisbecker
On Fri, Jul 11, 2014 at 06:35:03AM -0700, Paul E. McKenney wrote: > From: "Paul E. McKenney" > > Enabling NO_HZ_FULL currently has the side effect of enabling callback > offloading on all CPUs. This results in lots of additional rcuo kthreads, > and can also increase context switching and

Re: [RFC PATCH] mmc: mmci: Add qcom dml support to the driver.

2014-07-11 Thread Linus Walleij
On Fri, Jul 11, 2014 at 1:48 PM, Srinivas Kandagatla wrote: > On Qualcomm APQ8064 SOCs, SD card controller has an additional glue > called DML (Data Mover Local/Lite) to assist dma transfers. > This hardware needs to be setup before any dma transfer is requested. > DML itself is not a DMA

[patch 47/55] hangcheck-timer: Use ktime_get_raw_ns()

2014-07-11 Thread Thomas Gleixner
Use the nanoseconds based interface instead of converting timespecs. Signed-off-by: Thomas Gleixner Cc: Arnd Bergmann Cc: Greg Kroah-Hartman --- drivers/char/hangcheck-timer.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) Index: tip/drivers/char/hangcheck-timer.c

[patch 49/55] drm: vmwgfx: Use nsec based interfaces

2014-07-11 Thread Thomas Gleixner
No point in converting timespecs back and forth. Signed-off-by: Thomas Gleixner Cc: Thomas Hellstrom --- drivers/gpu/drm/vmwgfx/vmwgfx_drv.h|4 +-- drivers/gpu/drm/vmwgfx/vmwgfx_marker.c | 44 ++--- 2 files changed, 16 insertions(+), 32 deletions(-)

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