Re: [PATCH v7 4/8] time: Add driver cross timestamp interface for higher precision time synchronization

2016-02-15 Thread Richard Cochran
On Fri, Feb 12, 2016 at 12:25:25PM -0800, Christopher S. Hall wrote: > /** > + * get_device_system_crosststamp - Synchronously capture system/device > timestamp > + * @sync_devicetime: Callback to get simultaneous device time and > + * system counter from the device driver > + * @xtstamp:

[tip:x86/asm] x86/cpufeature: Speed up cpu_feature_enabled()

2016-02-15 Thread tip-bot for Borislav Petkov
Commit-ID: f2cc8e0791c70833758101d9756609a08dd601ec Gitweb: http://git.kernel.org/tip/f2cc8e0791c70833758101d9756609a08dd601ec Author: Borislav Petkov AuthorDate: Tue, 16 Feb 2016 00:19:18 +0100 Committer: Ingo Molnar CommitDate: Tue, 16 Feb 2016 08:45:15 +0100 x86/cpufeature: Speed up

[tip:perf/core] perf tests: Fix build on older systems where ' signal' is reserved

2016-02-15 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 1ad826bad5bd0b6ccfb203f78c70302b764df0be Gitweb: http://git.kernel.org/tip/1ad826bad5bd0b6ccfb203f78c70302b764df0be Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 12 Feb 2016 18:30:01 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 15 Feb 2016 17:33:26 -0300 pe

[tip:perf/core] perf data: Fix releasing event_class

2016-02-15 Thread tip-bot for Wang Nan
Commit-ID: 5141d7350d3d8a12f1f76b1015b937f14d2b97e2 Gitweb: http://git.kernel.org/tip/5141d7350d3d8a12f1f76b1015b937f14d2b97e2 Author: Wang Nan AuthorDate: Fri, 5 Feb 2016 14:01:30 + Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 12 Feb 2016 17:27:48 -0300 perf data: Fix rele

Re: [PATCH RFC 1/1] x86: fix bad memory access in fb_is_primary_device()

2016-02-15 Thread Ingo Molnar
(I've Cc:-ed the EFI-FB and FB gents. Mail quoted below.) * Alexander Popov wrote: > Currently the code in fb_is_primary_device() contains to_pci_dev() macro > which is applied to dev from struct fb_info. In some cases this causes > bad memory access when fb_is_primary_device() handles fb_info

[tip:perf/core] perf tools: Use perf_event_terms__purge() for non-malloced terms

2016-02-15 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 682dc24c2a0f13d5a16ac8f4303671eb8f11519f Gitweb: http://git.kernel.org/tip/682dc24c2a0f13d5a16ac8f4303671eb8f11519f Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 12 Feb 2016 16:48:00 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 12 Feb 2016 16:53:22 -0300 pe

[tip:perf/core] perf tools: Rename parse_events__free_terms() to parse_events_terms__delete()

2016-02-15 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 2146afc6b45b3f1b967f5605d4e6d97dd9e31061 Gitweb: http://git.kernel.org/tip/2146afc6b45b3f1b967f5605d4e6d97dd9e31061 Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 12 Feb 2016 17:09:17 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 12 Feb 2016 17:09:17 -0300 pe

[tip:perf/core] perf tools: Free the terms list_head in parse_events__free_terms()

2016-02-15 Thread tip-bot for Wang Nan
Commit-ID: d20a5f2b277b2f46548fb60f2bb95ad9a601d3fe Gitweb: http://git.kernel.org/tip/d20a5f2b277b2f46548fb60f2bb95ad9a601d3fe Author: Wang Nan AuthorDate: Fri, 12 Feb 2016 17:01:17 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 12 Feb 2016 17:01:17 -0300 perf tools: Free t

[tip:perf/core] perf hists: Do column alignment on the format iterator

2016-02-15 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 89fee70943232d73e3cc328634e0da253b6de9b5 Gitweb: http://git.kernel.org/tip/89fee70943232d73e3cc328634e0da253b6de9b5 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 11 Feb 2016 17:14:13 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 12 Feb 2016 12:52:25 -0300 pe

[tip:perf/core] perf tools: Unlink entries from terms list

2016-02-15 Thread tip-bot for Wang Nan
Commit-ID: a8adfceb389a0045e06af22517fa3326797b160a Gitweb: http://git.kernel.org/tip/a8adfceb389a0045e06af22517fa3326797b160a Author: Wang Nan AuthorDate: Fri, 12 Feb 2016 16:31:23 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 12 Feb 2016 16:51:15 -0300 perf tools: Unlink

[tip:perf/core] perf tools: Introduce parse_events_terms__purge()

2016-02-15 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: fc0a2c1d59beac70b8738f4ce14431b798837374 Gitweb: http://git.kernel.org/tip/fc0a2c1d59beac70b8738f4ce14431b798837374 Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 12 Feb 2016 16:43:02 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 12 Feb 2016 16:53:19 -0300 pe

[tip:perf/core] perf symbols: Fix symbols searching for module in buildid-cache

2016-02-15 Thread tip-bot for Wang Nan
Commit-ID: e7ee404757609067c8f261d90251f1e96459c535 Gitweb: http://git.kernel.org/tip/e7ee404757609067c8f261d90251f1e96459c535 Author: Wang Nan AuthorDate: Fri, 5 Feb 2016 14:01:27 + Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 12 Feb 2016 10:54:47 -0300 perf symbols: Fix s

[tip:perf/core] perf build: Add EXTRA_LDFLAGS option to makefile

2016-02-15 Thread tip-bot for Zubair Lutfullah Kakakhel
Commit-ID: 37b4e2020a5f4dbecf22ee3efe92de6dbea1c5f0 Gitweb: http://git.kernel.org/tip/37b4e2020a5f4dbecf22ee3efe92de6dbea1c5f0 Author: Zubair Lutfullah Kakakhel AuthorDate: Tue, 9 Feb 2016 13:33:38 + Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 12 Feb 2016 11:30:20 -0300 pe

[tip:perf/core] perf tools: Add comment explaining the repsep_snprintf function

2016-02-15 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 37d9bb580aa73c171c51fb93edf67a902bcb186f Gitweb: http://git.kernel.org/tip/37d9bb580aa73c171c51fb93edf67a902bcb186f Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 12 Feb 2016 11:27:51 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 12 Feb 2016 12:52:20 -0300 pe

[tip:perf/core] perf python scripting: Append examples to err msg about audit-libs-python

2016-02-15 Thread tip-bot for Taeung Song
Commit-ID: b416e204f88dd91d9e99f6deee3d57fbc90aee40 Gitweb: http://git.kernel.org/tip/b416e204f88dd91d9e99f6deee3d57fbc90aee40 Author: Taeung Song AuthorDate: Tue, 9 Feb 2016 20:53:10 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 12 Feb 2016 11:30:27 -0300 perf python scri

Re: [PATCH v7 3/8] time: Remove duplicated code in ktime_get_raw_and_real()

2016-02-15 Thread Richard Cochran
On Fri, Feb 12, 2016 at 12:25:24PM -0800, Christopher S. Hall wrote: > The code in ktime_get_snapshot() is a superset of the code in > ktime_get_raw_and_real() code. Further, ktime_get_raw_and_real() is > called only by the PPS code, pps_get_ts(). Consolidate the > pps_get_ts() code into a single f

[tip:perf/core] perf config: Add '--system' and '--user' options to select which config file is used

2016-02-15 Thread tip-bot for Taeung Song
Commit-ID: c7ac24178c50a01f14eebcddf5c7b7a2e54676cc Gitweb: http://git.kernel.org/tip/c7ac24178c50a01f14eebcddf5c7b7a2e54676cc Author: Taeung Song AuthorDate: Thu, 11 Feb 2016 02:51:17 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 12 Feb 2016 10:54:46 -0300 perf config: Ad

Re: [PART1 RFC 6/9] svm: Add interrupt injection via AVIC

2016-02-15 Thread Ingo Molnar
* Borislav Petkov wrote: > On Fri, Feb 12, 2016 at 07:56:59PM +0100, Paolo Bonzini wrote: > > Ok, next examples: MSR_VM_CR and MSR_VM_IGNNE. :) > > I knew you were going to dig out some. :-) > > > Are you okay with moving all the SVM MSRs to virtext.h instead? > > So I would not move any now

Re: [GIT PULL 00/13] perf/core improvements and fixes

2016-02-15 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > From: Arnaldo Carvalho de Melo > > Hi Ingo, > > Please consider pulling, > > - Arnaldo > > The following changes since commit a7636d9ecfa3ab7800a7c04c1f89378229eff609: > > kprobes: Optimize hot path by using percpu counter to collect 'nhit' > st

Re: [PATCH v4 5/8] [Media] vcodec: mediatek: Add Mediatek V4L2 Video Encoder Driver

2016-02-15 Thread Hans Verkuil
On 02/16/2016 07:37 AM, tiffany lin wrote: >>> +static int vidioc_venc_s_parm(struct file *file, void *priv, >>> + struct v4l2_streamparm *a) >>> +{ >>> + struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); >>> + >>> + if (a->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) { >>>

Re: [PATCH v4 1/4] x86/signal/64: Add a comment about sigcontext->fs and gs

2016-02-15 Thread Ingo Molnar
* Andy Lutomirski wrote: > These fields have a strange history. This tries to document it. > > This borrows from 9a036b93a344 ("x86/signal/64: Remove 'fs' and 'gs' > from sigcontext"), which was reverted by ed596cde9425 ("Revert x86 > sigcontext cleanups"). > > Signed-off-by: Andy Lutomirski

[PATCHv2 3/3] platform/chrome: pstore: Move to larger record size.

2016-02-15 Thread Enric Balletbo i Serra
From: Olof Johansson Accidentally specified a smaller record size, bring it back to the same size as we had when we used the config file. Signed-off-by: Olof Johansson Signed-off-by: Enric Balletbo i Serra Reviewed-by: Sameer Nanda --- drivers/platform/chrome/chromeos_pstore.c | 2 +- 1 file

[PATCHv2 2/3] platform/chrome: pstore: probe for ramoops buffer using acpi

2016-02-15 Thread Enric Balletbo i Serra
From: Aaron Durbin In order to handle the firmware placing the ramoops buffer in a different location than the kernel is configured to look probe for an ACPI device specified by GOOG acpi id. If no device is found or the first memory resource is not defined properly fall back to the configure

[PATCHv2 1/3] platform/chrome: chromeos_laptop: Add Leon Touch

2016-02-15 Thread Enric Balletbo i Serra
From: Gene Chen Add support for Leon touch devices, which is the same as slippy/falco/peppy/wolf on the same buses using the LynxPoint-LP I2C via the i2c-designware-pci driver. Based on the following patch: https://chromium-review.googlesource.com/#/c/168351/ Signed-off-by: Gene Chen Reviewed-

[PATCHv2 0/3] platform/chrome: upstream changes

2016-02-15 Thread Enric Balletbo i Serra
Dear all, Please take in consideration to include these patches that upstreams some changes already found in chromeos kernel. The three patches came from the chromeos tree and were tested in current mainline. The first patch simply adds the touch device for Leon Chromebook, the second and the thi

Re: [RFC] component: Fix: Unassign components' masters if bringing up master fails

2016-02-15 Thread Archit Taneja
On 02/16/2016 01:02 AM, Jon Medhurst (Tixy) wrote: On Thu, 2016-02-11 at 15:05 +0530, Archit Taneja wrote: component_master_add_with_match can fail if the master's bind op doesn't go through successfully. In such a scenario, all the components in the master's match array have their 'master' poi

[PATCH v3 06/06] devicetree: bindings: Remove deprecated properties

2016-02-15 Thread Magnus Damm
From: Magnus Damm The deprecated DT properties are part of the GIT history, no need to keep them around any longer. Signed-off-by: Magnus Damm Acked-by: Rob Herring Acked-by: Geert Uytterhoeven --- Changes since V2: - Added Acked-by from Rob - Fixed properties typo - Thanks Geert - Added

[PATCH v3 05/06] devicetree: bindings: Remove unused 32-bit CMT bindings

2016-02-15 Thread Magnus Damm
From: Magnus Damm Remove the 32-bit CMT compat strings to reduce maintenance burden. It should be fine to break DT compatibility because the 32-bit 32-bit CMT DT binding was never part of any upstream DTS file. Signed-off-by: Magnus Damm Acked-by: Rob Herring Acked-by: Geert Uytterhoeven ---

[PATCH v3 01/06] devicetree: bindings: Remove sh7372 CMT binding

2016-02-15 Thread Magnus Damm
From: Magnus Damm Remove the sh7372 CMT compat string to reduce maintenance burden. It should be fine to break DT compatibility because: 1) The sh7372 SoC support has been removed from upstream 2) The sh7372 CMT DT binding was never part of upstream DTS 3) The CMT driver never matches on the sh7

[PATCH v3 03/06] devicetree: bindings: r8a73a4 and R-Car Gen2 CMT bindings

2016-02-15 Thread Magnus Damm
From: Magnus Damm Update SoC-specific bindings for r8a73a4 and R-Car Gen2 CMT0 and CMT1. Signed-off-by: Magnus Damm Acked-by: Geert Uytterhoeven Acked-by: Laurent Pinchart Acked-by: Rob Herring --- Changes since V2: - Added Acked-by from Rob - Removed Tested-by tag from DT binding patch

[PATCH v3 04/06] devicetree: bindings: Deprecate property, update example

2016-02-15 Thread Magnus Damm
From: Magnus Damm Deprecate "renesas,channels-mask" and update the r8a7790 CMT example. Signed-off-by: Magnus Damm Acked-by: Geert Uytterhoeven Acked-by: Laurent Pinchart Acked-by: Rob Herring --- Changes since V2: - Added Acked-by from Rob - Removed Tested-by tag from DT binding patch -

[PATCH v3 02/06] devicetree: bindings: R-Car Gen2 CMT0 and CMT1 bindings

2016-02-15 Thread Magnus Damm
From: Magnus Damm Add documentation for new separate CMT0 and CMT1 DT compatible strings for R-Car Gen2. These compat strings allow us to enable CMT1-specific features in the driver. The old compat strings will be deprecated in the not so distant future. Signed-off-by: Magnus Damm Acked-by: Gee

[PATCH v3 00/06] clocksource: sh_cmt: DT binding rework V3

2016-02-15 Thread Magnus Damm
clocksource: sh_cmt: DT binding rework V3 [PATCH v3 01/06] devicetree: bindings: Remove sh7372 CMT binding [PATCH v3 02/06] devicetree: bindings: R-Car Gen2 CMT0 and CMT1 bindings [PATCH v3 03/06] devicetree: bindings: r8a73a4 and R-Car Gen2 CMT bindings [PATCH v3 04/06] devicetree: bindings: Depr

Re: [PATCH] kernel: fs: drop_caches: add dds drop_caches_count

2016-02-15 Thread Nag Avadhanam
On Mon, 15 Feb 2016, Dave Chinner wrote: On Tue, Feb 16, 2016 at 02:58:04AM +, Nag Avadhanam (nag) wrote: Its the calculation of the # of bytes of non-reclaimable file system cache pages that has been troubling us. We do not want to count inactive file pages (of programs/binaries) that were

Re: [STABLE] kernel oops which can be fixed by peterz's patches

2016-02-15 Thread Byungchul Park
On Mon, Jan 25, 2016 at 04:25:03PM +0900, Byungchul Park wrote: > On Tue, Jan 05, 2016 at 10:14:44AM +0100, Peter Zijlstra wrote: > > So the reason I didn't mark them for stable is that they were non > > trivial, however they've been in for a while now and nothing broke, so I > > suppose backportin

Re: [PATCH V2 2/4] gpio: gpio-f81504: Add Fintek F81504/508/512 PCIE-to-UART/GPIO GPIOLIB support

2016-02-15 Thread Peter Hung
Hi Linus, Linus Walleij 於 2016/2/10 下午 05:08 寫道: On Thu, Jan 28, 2016 at 10:20 AM, Peter Hung wrote: +#include +#include Drivers should just #include ok. +static struct f81504_gpio_chip *gpio_to_f81504_chip(struct gpio_chip *chip) +{ + return container_of(chip, struct f81504_gpi

[PATCH V3 2/4] gpio: gpio-f81504: Add Fintek F81504/508/512 PCIE-to-UART/GPIO GPIOLIB support

2016-02-15 Thread Peter Hung
This driver is GPIOLIB driver for F81504/508/512, it'll handle the GPIOLIB operation of this device. This module will depend on MFD_FINTEK_F81504_CORE. IC function list: F81504: Max 2x8 GPIOs and max 4 serial ports port2/3 are multi-function F81508: Max 6x8 GPIOs and max 8 serial p

[PATCH V3 1/4] mfd: f81504-core: Add Fintek F81504/508/512 PCIE-to-UART/GPIO core support

2016-02-15 Thread Peter Hung
The Fintek F81504/508/512 had implemented the basic serial port function in 8250_pci.c. We try to implement high baudrate & GPIOLIB with a spilt file 8250_f81504.c, but it seems too complex to add GPIOLIB. Alan & Andy recommend us to rewrite and spilt our driver with MFD architecture. https://lkml

[PATCH V3 3/4] 8250: 8250_f81504: Add Fintek F81504/508/512 PCIE-to-UART/GPIO UART support

2016-02-15 Thread Peter Hung
This driver is 8250 driver for F81504/508/512, it'll handle the serial port operation of this device. This module will depend on MFD_FINTEK_F81504_CORE. The serial ports support from 50bps to 1.5Mbps with Linux baudrate define excluding 1.0Mbps due to not support 16MHz clock source. PCI Configura

[PATCH V3 4/4] serial: 8250_pci: Remove Fintek F81504/508/512 UART driver

2016-02-15 Thread Peter Hung
Remove Fintek F81504/508/512 PCIE-to-UART device driver from 8250_pci.c Paul recommed us do less code deletion to avoid confusing problem when bisect. https://lkml.org/lkml/2016/1/18/646 But this patch is sent after with following patch. 8250: 8250_f81504: Add Fintek F81504/508/512 PCIE-to-UART/G

[PATCH V3 0/4] Transform Fintek PCIE driver from 8250 to MFD

2016-02-15 Thread Peter Hung
The Fintek F81504/508/512 is a multi-function PCIE devices. IC function list: F81504: Max 2x8 GPIOs and max 4 serial ports port2/3 are multi-function F81508: Max 6x8 GPIOs and max 8 serial ports port2/3 are multi-function, port8/9/10/11 are gpio only F81512: Max 6x8 GPIO

Re: [PATCH v4 0/8] Add MT8173 Video Encoder Driver and VPU Driver

2016-02-15 Thread tiffany lin
Hi Hans, On Mon, 2016-02-15 at 13:04 +0100, Hans Verkuil wrote: > Hi Tiffany, > > Once again, thanks for your patch series! > > I have some more comments below. > > On 02/04/2016 12:34 PM, Tiffany Lin wrote: > > > > == > > Introduction > > == > > > > The purpose of th

[PATCH v2 3/5] irqchip: add platform device driver for mbigen device

2016-02-15 Thread MaJun
From: Ma Jun Add the platform device driver for mbigen chip v1. This patch just same as mbigen v2. Signed-off-by: Ma Jun --- drivers/irqchip/Makefile|2 +- drivers/irqchip/irq-mbigen-v1.c | 76 +++ 2 files changed, 77 insertions(+), 1 deletions

[PATCH v2 4/5] irqchip:create irq domain for each mbigen device

2016-02-15 Thread MaJun
From: Ma Jun For peripheral devices which connect to mbigen,mbigen is a interrupt controller. So, we create irq domain for each mbigen device and add mbigen irq domain into irq hierarchy structure. Signed-off-by: Ma Jun --- drivers/irqchip/irq-mbigen-v1.c | 136 +++

[PATCH v2 2/5] dt-binding:Rename the mbigen binding file name

2016-02-15 Thread MaJun
From: Ma Jun Because added the mbigen-v1 compatible string, the origin name is not suitable any more. So,I remove the version number from file name. Signed-off-by: Ma Jun --- .../interrupt-controller/hisilicon,mbigen-v2.txt | 74 .../interrupt-controller/hisilicon,mbig

[PATCH v2 0/5] irqchip: Add support for Hisilicon mbigen v1 chip

2016-02-15 Thread MaJun
From: Ma Jun This patch set is used to support the mbigen v1 chip. Compared to mbigen v2 chip, the main difference between them is register layout(address,format) As a sequence of this difference, the functions used to get or calculate register address are also changed for this reason. Changes

[PATCH v2 5/5] irqchip:implement the mbigen irq chip operation functions

2016-02-15 Thread MaJun
From: Ma Jun Add the interrupt controller chip operation functions of mbigen chip. Signed-off-by: Ma Jun --- drivers/irqchip/irq-mbigen-v1.c | 75 +++ 1 files changed, 75 insertions(+), 0 deletions(-) diff --git a/drivers/irqchip/irq-mbigen-v1.c b/drivers

[PATCH] perf/jvmti: add check for java alternatives cmd in Makefile

2016-02-15 Thread Stephane Eranian
This patch modifies the jvmti makefile to check if /usr/sbin/java-update-alternatives is present. If so, then use it, if not then use the altenatives command. This helps handle the difference between Ubuntu and Fedora Linux distributions. Signed-off-by: Stephane Eranian --- tools/perf/jvmti/Make

Re: [PATCH v4 5/8] [Media] vcodec: mediatek: Add Mediatek V4L2 Video Encoder Driver

2016-02-15 Thread tiffany lin
Hi Hans, Thanks for your time. On Mon, 2016-02-15 at 12:21 +0100, Hans Verkuil wrote: > On 02/04/2016 12:35 PM, Tiffany Lin wrote: > > From: Andrew-CT Chen > > > > Add v4l2 layer encoder driver for MT8173 > > > > Signed-off-by: Tiffany Lin > > If Andrew is the author, shouldn't there be a Sig

[PATCH v2 1/5] dt-binding: Change the mbigen binding file to support the mbigen-v1

2016-02-15 Thread MaJun
From: Ma Jun Add the "hisilicon,mbigen-v1" string in binding file. Signed-off-by: Ma Jun --- .../interrupt-controller/hisilicon,mbigen-v2.txt |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Documentation/devicetree/bindings/interrupt-controller/hisilicon,mbigen-v2.t

[PATCH 3/5] dt-bindings: phy: bindings document for common Broadcom SATA3 PHY driver

2016-02-15 Thread Anup Patel
This patch: 1. Renames DT bindings document of Broadcom STB SATA3 PHY driver to common Broadcom SATA3 PHY driver bindings document 2. Adds bindings info for NS2 SATA3 PHY Signed-off-by: Anup Patel --- .../phy/{brcm,brcmstb-sata-phy.txt => brcm-sata-phy.txt} | 15 +-- 1 file changed,

[PATCH 4/5] dt-bindings: ata: add compatible string for iProc AHCI controller

2016-02-15 Thread Anup Patel
The Broadcom iProc SoCs have AHCI compliant SATA controller. This patch adds common compatible string for AHCI SATA controller on iProc SoCs. Signed-off-by: Anup Patel --- Documentation/devicetree/bindings/ata/ahci-platform.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/de

[PATCH 2/5] phy: Add support for NS2 SATA3 PHY in Broadcom SATA3 PHY driver

2016-02-15 Thread Anup Patel
This patch adds support for Broadcom NS2 SATA3 PHY in existing Broadcom SATA3 PHY driver. Signed-off-by: Anup Patel --- drivers/phy/phy-brcm-sata.c | 238 +--- 1 file changed, 200 insertions(+), 38 deletions(-) diff --git a/drivers/phy/phy-brcm-sata.c b/d

[PATCH 1/5] phy: Rename phy-brcmstb-sata driver to phy-brcm-sata driver

2016-02-15 Thread Anup Patel
Currently, we have a common SATA3 PHY driver for all Broadcom STB SoCs. This driver can be extended and re-used for Broadcom iProc SoCs having same SATA3 PHY. This patch renames existing Broadcom STB SATA3 PHY driver to common Broadcom SATA3 PHY driver to share this PHY driver across Broadcom SoCs

[PATCH 5/5] arm64: dts: Add SATA3 AHCI and SATA3 PHY DT nodes for NS2

2016-02-15 Thread Anup Patel
We have one dual-port SATA3 AHCI controller present in NS2 SoC. This patch enables SATA3 AHCI controller and SATA3 PHY for NS2 SoC in NS2 DT. Signed-off-by: Anup Patel Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- arch/arm64/boot/dts/broadcom/ns2-svk.dts | 12 + arch/arm64/boot/

[PATCH 0/5] Add SATA3 support for Broadcom NS2 SVK

2016-02-15 Thread Anup Patel
The Broadcom NS2 SoC has a AHCI compliant SATA3 controller with two ports. This patchset adds common Broadcom SATA3 PHY driver and related DT bindings document. It also adds appropriate DT nodes for NS2 DT. The patchset is based on v4.5-rc3 tag and is available in branch ns2_sata3_v1 of https://g

Re: [PART1 RFC 5/9] svm: Add VMEXIT handlers for AVIC

2016-02-15 Thread Suravee Suthikulpanit
Hi Paolo, On 2/12/16 22:38, Paolo Bonzini wrote: On 12/02/2016 14:59, Suravee Suthikulpanit wrote: +"icrh:icrl=%#010x:%08x, id=%u, index=%u\n", +__func__, svm->vcpu.cpu, svm->vcpu.vcpu_id, +icrh, icrl, id, index); + + switch (id) { +

[PATCH v5 1/3] clk: samsung: Enable COMPILE_TEST for Samsung clocks

2016-02-15 Thread Krzysztof Kozlowski
Enable the COMPILE_TEST to get build coverage of some of Samsung clock controller drivers. Still some of them will be built only if appropriate SoC is chosen (like SOC_EXYNOS4415 or ARCH_S3C64XX). Signed-off-by: Krzysztof Kozlowski Reviewed-by: Javier Martinez Canillas Tested-by: Javier Martinez

[PATCH v5 0/3] arm64/clk: EXYNOS: Consolidate Exynos7 symbol

2016-02-15 Thread Krzysztof Kozlowski
Hi, Patchset attempts to remove the ARCH_EXYNOS7 symbol. I rebased this on top of James': - clk: Move vendor's Kconfig into CCF menu section http://www.spinics.net/lists/devicetree/msg111953.html The third patch depends on previous ones so one way of merging this would be to prepare a tag fr

[PATCH v5 3/3] arm64: EXYNOS: Consolidate ARCH_EXYNOS7 symbol into ARCH_EXYNOS

2016-02-15 Thread Krzysztof Kozlowski
The ARMv8 Exynos family SoCs in Linux kernel are currently: - Exynos5433 (controlled by ARCH_EXYNOS), - Exynos7 (controlled by ARCH_EXYNOS7). It duplicates Kconfig symbols unnecessarily, so consolidate them into one ARCH_EXYNOS. Future SoCs could fall also under the ARCH_EXYNOS symbol. The comm

[PATCH v5 2/3] clk: samsung: Don't build ARMv8 clock drivers on ARMv7

2016-02-15 Thread Krzysztof Kozlowski
Currently the Exynos5433 (ARMv8 SoC) clock driver depends on ARCH_EXYNOS so it is built also on ARMv7. This does not bring any kind of benefit. There won't be a single kernel image for ARMv7 and ARMv8 SoCs (like multi_v7 for ARMv7). Instead build clock drivers only for respective SoC's architectur

Re: [PATCH v3 09/12] arm64: dts: add the Marvell Armada 3700 family and a development board

2016-02-15 Thread Jisheng Zhang
Dear Gregory, On Mon, 8 Feb 2016 18:14:17 +0100 Gregory CLEMENT wrote: > Add initial dtsi files to support Marvell Armada 3700 SoC with Cortex-A53 > CPUs. There are two members in this family: the Armada 3710 (Single CPU) > and the Armada 3720 (Dual CPUs). > > It also adds a dts file for the Marv

Re: [PATCH v3 05/12] arm64: add mvebu architecture entry

2016-02-15 Thread Jisheng Zhang
Dear Gregory, On Mon, 8 Feb 2016 18:14:13 +0100 Gregory CLEMENT wrote: > The Armada 3700 is an mvebu ARM64 SoC using one or two Cortex-A53 cores > depending of the variant. > > Signed-off-by: Gregory CLEMENT > Reviewed-by: Thomas Petazzoni > --- > arch/arm64/Kconfig.platforms | 6 ++ > 1

Re: [PATCH] kernel: fs: drop_caches: add dds drop_caches_count

2016-02-15 Thread Nag Avadhanam
On Mon, 15 Feb 2016, Dave Chinner wrote: On Mon, Feb 15, 2016 at 03:52:31PM -0800, Daniel Walker wrote: On 02/15/2016 03:05 PM, Dave Chinner wrote: What you are proposing isn't accurate, either, because it will be stale by the time the inode cache traversal is completed and the count returned

[PATCH 01/45] staging/lustre/ptlrpc: Get rid of /proc references in comments

2016-02-15 Thread green
From: Oleg Drokin Now that the sysfs conversion is complete, also convert all the remaining comments Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/lustre_dlm.h | 2 +- drivers/staging/lustre/lustre/include/lustre_net.h | 2 +- drivers/staging/lustre/lustre/ptlrpc/recover

[PATCH 02/45] staging/lustre/obdclass: Get rid of /proc references in comments.

2016-02-15 Thread green
From: Oleg Drokin Now that the sysfs conversion is complete, also convert all the remaining comments Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/cl_object.h | 2 +- drivers/staging/lustre/lustre/include/lprocfs_status.h | 2 +- drivers/staging/lustre/lustre/incl

[PATCH 05/45] staging/lustre/lov: Get rid of /proc references in comments

2016-02-15 Thread green
From: Oleg Drokin Now that the sysfs conversion is complete, also convert all the remaining comments Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/lov/lov_pool.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/lustre/lustre/lov/lov_pool.c

[PATCH 07/45] staging/lustre: Remove unused osc_on_mdt function

2016-02-15 Thread green
From: Oleg Drokin This only makes sense on metadata server, so get rid of it. Also remove now unused MDS_OSC_MAX_RIF_DEFAULT define Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/obd.h | 1 - drivers/staging/lustre/lustre/ldlm/ldlm_lib.c | 28 +

[PATCH 06/45] staging/lustre: Remove unused function oti_init

2016-02-15 Thread green
From: Oleg Drokin All the users seems to have disappeared. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/obd.h | 28 1 file changed, 28 deletions(-) diff --git a/drivers/staging/lustre/lustre/include/obd.h b/drivers/staging/lustre/lustre/in

[PATCH 11/45] staging/lustre/osc: Remove commented out osc_page_protected()

2016-02-15 Thread green
From: Oleg Drokin The complicated version of osc_page_protected and osc_page_is_dlocked are unsafe and were commented out for ages, so probably no point in carrying them on. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/osc/osc_page.c | 99 1 file ch

[PATCH 09/45] staging/lustre: Remove server code from class_get_type()

2016-02-15 Thread green
From: Oleg Drokin class_get_type has some references to various server modules that could not exist on the server, so get rid of them. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/obdclass/genops.c | 9 - 1 file changed, 9 deletions(-) diff --git a/drivers/staging/lust

[PATCH 04/45] staging/lustre/llite: Get rid of /proc references in comments

2016-02-15 Thread green
From: Oleg Drokin Now that the sysfs conversion is complete, also convert all the remaining comments Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/llite/lproc_llite.c | 2 +- drivers/staging/lustre/lustre/llite/vvp_io.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(

[PATCH 13/45] staging/lustre/lov: Adjust NULL comparison codestyle

2016-02-15 Thread green
From: Oleg Drokin All instances of "x == NULL" are changed to "!x" and "x != NULL" to "x" Also removed some redundant assertions. Signed-off-by: Oleg Drokin --- .../staging/lustre/lustre/lov/lov_cl_internal.h| 6 +-- drivers/staging/lustre/lustre/lov/lov_dev.c| 40

[RFC v2 4/6] lockdep: LOCKED_ACCESS: Introduce locked_access_point()

2016-02-15 Thread Boqun Feng
locked_access_point() is the entry point of the whole LOCKED_ACCESS framework, every time a locked_access_point() is called, LOCKE_ACCESS will correlate the data access location with the current acqchain. So putting locked_access_point() at the data accesses you care about is the step #2 to use LO

[RFC v2 5/6] lockdep: LOCKED_ACCESS: Add proc interface for locked access class

2016-02-15 Thread Boqun Feng
Provide the proc filesystem interface for LOCKED_ACCESS, for a locked access class whose name is , there will be a file at /proc/locked_access/ containing all the information the LOCKED_ACCESS has collected so far. Also add a macro to define a locked access class. Signed-off-by: Boqun Feng ---

[RFC v2 6/6] RCU: Track rcu_dereference() in RCU read-side critical section

2016-02-15 Thread Boqun Feng
The variables protected by an RCU read-side critical section are sometimes hard to figure out, especially when the critical section is long or has some function calls in it. However, figuring out which variable a RCU read-side critical section protects could save us a lot of time for code reviewing

[PATCH 18/45] staging/lustre/fld: Adjust NULL comparison codestyle

2016-02-15 Thread green
From: Oleg Drokin All instances of "x == NULL" are changed to "!x" and "x != NULL" to "x" Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/fld/fld_cache.c| 10 +++- drivers/staging/lustre/lustre/fld/fld_internal.h | 2 +- drivers/staging/lustre/lustre/fld/fld_request.c |

[RFC v2 0/6] Track RCU dereferences in RCU read-side critical sections

2016-02-15 Thread Boqun Feng
Hi all, This is the v2 for RCU_LOCKED_ACCESS. Link of v1: http://article.gmane.org/gmane.linux.kernel/2143674 Changes since v1: * Define newly introduced irq_context helpers as macros when lockdep doesn't trace irq_context, because these helpers will be quite simple then a

[RFC v2 3/6] lockdep: LOCKED_ACCESS: Maintain the keys of acqchains

2016-02-15 Thread Boqun Feng
Add held_lock::prev_acqchain_key and task_struct::curr_acqchain_key to maintain the keys of acqchains as the same as what lockdep does for keys of lock classes. Signed-off-by: Boqun Feng --- include/linux/lockdep.h | 3 +++ include/linux/sched.h| 3 +++ kernel/fork.c| 3 +++

[RFC v2 1/6] lockdep: Add helper functions of irq_context

2016-02-15 Thread Boqun Feng
Add two helper functions of irq_context: task_irq_context(): return the encoded irq_context of the task, the return value is encoded in the same as ->irq_context of held_lock. Always return 0 if !(CONFIG_TRACE_IRQFLAGS && CONFIG_PROVE_LOCKING) is_same_irq_context(): compare whether two irq_contex

[RFC v2 2/6] lockdep: LOCKED_ACCESS: Introduce locked access class and acqchain

2016-02-15 Thread Boqun Feng
As a similar concept as a lock class, a locked access class is a group of locks and related data accesses of those locks. A locked access class also contains the structures for allocation and lookup of acqchains and accesses. The address of a locked access class is used as its key, we tag a group

[PATCH 15/45] staging/lustre/ldlm: Adjust NULL comparison codestyle

2016-02-15 Thread green
From: Oleg Drokin All instances of "x == NULL" are changed to "!x" and "x != NULL" to "x" Also remove some redundant assertions. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/ldlm/interval_tree.c | 2 - drivers/staging/lustre/lustre/ldlm/ldlm_extent.c | 9 ++- drivers/stagi

[PATCH 19/45] staging/lustre/lclient: Adjust NULL comparison codestyle

2016-02-15 Thread green
From: Oleg Drokin All instances of "x == NULL" are changed to "!x" and "x != NULL" to "x" Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/lclient/lcommon_cl.c | 32 +++--- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/drivers/staging/lustre/lustre

[PATCH 16/45] staging/lustre/lmv: Adjust NULL comparison codestyle

2016-02-15 Thread green
From: Oleg Drokin All instances of "x == NULL" are changed to "!x" and "x != NULL" to "x" Also remove some redundant assertions. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/lmv/lmv_intent.c | 11 +-- drivers/staging/lustre/lustre/lmv/lmv_internal.h | 6 +- drivers/stagin

[PATCH 14/45] staging/lustre/llite: Adjust NULL comparison codestyle

2016-02-15 Thread green
From: Oleg Drokin All instances of "x == NULL" are changed to "!x" and "x != NULL" to "x" The only exception is ll_update_inode where dropping != NULL in the construction below would break the logic. I guess we could change lsm != NULL to !!lsm, but that's uglier. (lsm != NULL) == ((body->valid

[PATCH 21/45] staging/lustre/mdc: Adjust NULL comparison codestyle

2016-02-15 Thread green
From: Oleg Drokin All instances of "x == NULL" are changed to "!x" and "x != NULL" to "x" Also remove some redundant assertions. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/mdc/mdc_lib.c | 12 +-- drivers/staging/lustre/lustre/mdc/mdc_locks.c | 47 +- drivers/

[PATCH 20/45] staging/lustre/include: Adjust NULL comparison codestyle

2016-02-15 Thread green
From: Oleg Drokin All instances of "x == NULL" are changed to "!x" and "x != NULL" to "x" Also remove some redundant assertions. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/cl_object.h | 6 +-- drivers/staging/lustre/lustre/include/lclient.h| 4 +- drivers/stag

[PATCH 22/45] staging/lustre/mgc: Adjust NULL comparison codestyle

2016-02-15 Thread green
From: Oleg Drokin All instances of "x == NULL" are changed to "!x" and "x != NULL" to "x" Also remove some redundant assertions. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/mgc/mgc_request.c | 41 - 1 file changed, 20 insertions(+), 21 deletions(-) di

Re: [RFC 6/6] RCU: Track rcu_dereference() in RCU read-side critical section

2016-02-15 Thread Josh Triplett
On Tue, Feb 16, 2016 at 11:01:43AM +0800, Boqun Feng wrote: > On Mon, Feb 15, 2016 at 05:05:53PM -0800, Paul E. McKenney wrote: > > On Thu, Feb 04, 2016 at 12:45:12AM +0800, Boqun Feng wrote: > > > The variables protected by an RCU read-side critical section are > > > sometimes hard to figure out,

[PATCH 27/45] staging/lustre: Remove the "write to FSF to get a copy of GPL" wording

2016-02-15 Thread green
From: Oleg Drokin Checkpatch highlighted that some of our Lustre files carry this extra paragraph and indeed it does seem somewhat redundant, so remove it. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/include/linux/lnet/lnetctl.h | 4 drivers/staging/lustre/lnet/klnds/s

[PATCH 25/45] staging/lustre/osc: Adjust NULL comparison codestyle

2016-02-15 Thread green
From: Oleg Drokin All instances of "x == NULL" are changed to "!x" and "x != NULL" to "x" Also remove some redundant assertions. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/osc/lproc_osc.c | 4 +- drivers/staging/lustre/lustre/osc/osc_cache.c | 120 ++-

Re: [PATCH 43/45] staging/lustre/libcfs: Replace use of printk with pr_

2016-02-15 Thread Joe Perches
On Tue, 2016-02-16 at 00:47 -0500, gr...@linuxhacker.ru wrote: > From: Oleg Drokin > > This pacifies checkpatch amongst other things, also is shorter to write > and avoiding calls to printk_ratelimit() is also good. [] > diff --git a/drivers/staging/lustre/lustre/libcfs/linux/linux-tracefile.c >

[PATCH 31/45] staging/lustre/libcfs: reformat cfs_tcd_for_each_type_lock define

2016-02-15 Thread green
From: Oleg Drokin Avoid using leading spaces that make checkpatch unhappy. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/libcfs/tracefile.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/lustre/lustre/libcfs/tracefile.h b/drivers/stagi

linux-next: Tree for Feb 16

2016-02-15 Thread Stephen Rothwell
Hi all, Changes since 20160215: The char-misc tree gained conflicts against the staging tree. The gpio tree gained conflicts against the mfd and pinctrl trees and a build failure so I used the version from next-20160215. The clk tree gained conflicts against the samsung-krzk tree. The aio

[PATCH 26/45] staging/lustre/ptlrpc: Adjust NULL comparison codestyle

2016-02-15 Thread green
From: Oleg Drokin All instances of "x == NULL" are changed to "!x" and "x != NULL" to "x" Also remove some redundant assertions. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/ptlrpc/client.c | 75 +-- drivers/staging/lustre/lustre/ptlrpc/connection.c | 2

[PATCH 32/45] staging/lustre/libcfs: Remove stray spaces after function name

2016-02-15 Thread green
From: Oleg Drokin Problem highlighted by checkpatch. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/libcfs/linux/linux-debug.c | 2 +- drivers/staging/lustre/lustre/libcfs/tracefile.c | 2 +- drivers/staging/lustre/lustre/libcfs/tracefile.h | 3 +-- drivers/stagin

[PATCH 30/45] staging/lustre/libcfs: style change to add missing spaces for operations

2016-02-15 Thread green
From: Oleg Drokin This fixes checkpatch messages about "spaces preferred around that '-' (ctx:VxV)" Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/libcfs/debug.c | 2 +- drivers/staging/lustre/lustre/libcfs/linux/linux-mem.c | 2 +- drivers/staging/lustre/lu

[PATCH 33/45] staging/lustre/libcfs: Shortened too long lines

2016-02-15 Thread green
From: Oleg Drokin Lines that were too long for not good reason were shortened in this patch. Found with checkpatch. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/libcfs/linux/linux-debug.c | 6 -- drivers/staging/lustre/lustre/libcfs/tracefile.c | 6 +++--- drivers/s

[PATCH 29/45] staging/lustre/libcfs: Move EXPORT_SYMBOLs under function/variable

2016-02-15 Thread green
From: Oleg Drokin Found with checkpatch Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/libcfs/debug.c | 4 ++-- drivers/staging/lustre/lustre/libcfs/hash.c| 1 - drivers/staging/lustre/lustre/libcfs/linux/linux-curproc.c | 7 +++ drivers/staging/

[PATCH 28/45] staging/lustre/libcfs: Cleanup: parenthesis alignment adjustments

2016-02-15 Thread green
From: Oleg Drokin Adjust alignment of argments that were pushed to next lines to conform to kernel code style. Found with checkpatch. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/libcfs/debug.c| 3 +-- drivers/staging/lustre/lustre/libcfs/hash.c | 18 +-

  1   2   3   4   5   6   7   8   9   10   >