Re: [PATCH v4 1/2] pinctrl: Add driver for Alphascale asm9260 pinctrl

2015-09-08 Thread Oleksij Rempel
Hi, finally i'm able to continue to work on it. Am 13.05.2015 um 13:00 schrieb Linus Walleij: > On Tue, May 12, 2015 at 6:25 PM, Oleksij Rempel > wrote: >> Am 05.05.2015 um 17:12 schrieb Linus Walleij: > >>> Just reference the statically defined array by a pointer instead, >>> this just takes

Re: [PATCH] net: tipc: fix stall during bclink wakeup procedure

2015-09-08 Thread David Miller
From: Kolmakov Dmitriy Date: Mon, 7 Sep 2015 09:05:48 + > If an attempt to wake up users of broadcast link is made when there is > no enough place in send queue than it may hang up inside the > tipc_sk_rcv() function since the loop breaks only after the wake up > queue becomes empty. This

Re: [PATCH] powerpc: Kconfig: remove BE-only platforms from LE kernel build

2015-09-08 Thread Michael Ellerman
On Wed, 2015-09-09 at 11:25 +0800, Boqun Feng wrote: > Hi Michael, > > On Wed, Sep 09, 2015 at 12:26:44PM +1000, Michael Ellerman wrote: > > On Mon, 2015-09-07 at 07:58 +0800, Boqun Feng wrote: > > > diff --git a/arch/powerpc/platforms/cell/Kconfig > > > b/arch/powerpc/platforms/cell/Kconfig > >

Re: [PATCH 1/3] doc: dt: add documentation for Mediatek spi-nor controller

2015-09-08 Thread Sascha Hauer
On Tue, Sep 08, 2015 at 05:49:54PM +0800, Bayi Cheng wrote: > Add device tree binding documentation for serial flash with > Mediatek serial flash controller > > Signed-off-by: Bayi Cheng > --- > Documentation/devicetree/bindings/mtd/mtk_nor.txt | 25 > +++ > 1 file changed,

Re: [PATCH v2 1/3] ARM: Make FORCE_MAX_ZONEORDER configurable if ARM_SINGLE_ARMV7M

2015-09-08 Thread Uwe Kleine-König
On Tue, Sep 08, 2015 at 11:19:13PM +0100, Russell King - ARM Linux wrote: > On Tue, Sep 08, 2015 at 10:38:04PM +0200, Maxime Coquelin wrote: > > This patch makes FORCE_MAX_ZONEORDER configurable in defconfig for ARMV7-M > > when built for a single platform. > > I'd prefer if we didn't do this,

Re: [PATCH linux-next v9 2/3] mfd: devicetree: add bindings for Atmel Flexcom

2015-09-08 Thread Rob Herring
On 09/01/2015 09:46 AM, Cyrille Pitchen wrote: > This patch documents the DT bindings for the Atmel Flexcom which will be > introduced by sama5d2x SoCs. These bindings will be used by the actual > Flexcom driver to be sent in another patch. > > Signed-off-by: Cyrille Pitchen > Acked-by: Boris

Re: [PATCH v6 2/2] devicetree: Add documentation for UPISEMI us5182d ALS and Proximity sensor

2015-09-08 Thread Rob Herring
On 09/07/2015 08:59 AM, Adriana Reus wrote: > Thanks for your feedback, some comments inline. > > On 31.08.2015 18:38, Rob Herring wrote: >> On Thu, Aug 27, 2015 at 3:23 PM, Jonathan Cameron >> wrote: >>> On 20/08/15 11:12, Adriana Reus wrote: Added entries in i2c/vendor-prefixes for the

Re: [PATCH v7 1/5] dt-bindings: Add usb3.0 phy binding for MT65xx SoCs

2015-09-08 Thread Rob Herring
On 09/08/2015 01:17 AM, Chunfeng Yun wrote: > add a DT binding documentation of usb3.0 phy for MT65xx > SoCs from Mediatek. > > Signed-off-by: Chunfeng Yun One comment, otherwise: Acked-by: Rob Herring > --- > .../devicetree/bindings/phy/phy-mt65xx-usb.txt | 69 > ++

Re: [PATCH] net: stmmac: Use msleep rather then udelay for reset delay

2015-09-08 Thread David Miller
From: Sjoerd Simons Date: Sun, 6 Sep 2015 17:50:59 +0200 > @@ -161,11 +161,16 @@ int stmmac_mdio_reset(struct mii_bus *bus) > > if (!gpio_request(reset_gpio, "mdio-reset")) { > gpio_direction_output(reset_gpio, active_low ? 1 : 0); > -

Re: [PATCHv2 2/3] devicetree: Add new ANX7814 SlimPort transmitter binding.

2015-09-08 Thread Rob Herring
On 09/08/2015 02:25 AM, Enric Balletbo i Serra wrote: > The ANX7814 is an ultra-low power Full-HD (1080p60) SlimPort transmitter > designed for portable devices. > > You can add support to your board with current binding. > > Example: > > anx7814: anx7814@38 { > compatible =

Re: [PATCH v4 04/22] of: add function to allow probing a device from a OF node

2015-09-08 Thread Rob Herring
On 09/07/2015 07:23 AM, Tomeu Vizoso wrote: > Walks the OF tree up and finds the closest ancestor that has a struct > device associated with it, probing it if isn't bound to a driver yet. > > The above should ensure that the dependency represented by the passed OF > node is available, because

Re: [PATCH v4 0/22] On-demand device probing

2015-09-08 Thread Rob Herring
On 09/08/2015 02:30 AM, Tomeu Vizoso wrote: > On 7 September 2015 at 22:50, Rob Herring wrote: >> On Mon, Sep 7, 2015 at 7:23 AM, Tomeu Vizoso >> wrote: >>> Hello, >>> >>> I have a problem with the panel on my Tegra Chromebook taking longer >>> than expected to be ready during boot (Stéphane

Re: [PATCH 1/3] ARM: uniphier: add outer cache support

2015-09-08 Thread Rob Herring
On 09/08/2015 08:09 AM, Linus Walleij wrote: > On Fri, Aug 28, 2015 at 12:24 PM, Masahiro Yamada > wrote: >> 2015-08-26 22:39 GMT+09:00 Linus Walleij : > >>> cache-unified and cache-level are *not* optional and should be required. >> >> "cache-unified" is mentioned in "3.7.3 Internal (L1) Cache

Re: [PATCH 3/3] arm64: dts: mt8173: Add nor flash node

2015-09-08 Thread Rob Herring
On 09/08/2015 10:18 AM, Ezequiel Garcia wrote: > On 8 September 2015 at 08:53, Jagan Teki wrote: >> On 8 September 2015 at 15:19, Bayi Cheng wrote: >>> Add Mediatek nor flash node >>> >>> Signed-off-by: Bayi Cheng >>> --- >>> arch/arm64/boot/dts/mediatek/mt8173.dtsi | 10 ++ >>> 1 file

Re: [PATCH linux-next v5 4/5] Documentation: atmel-quadspi: add binding file for Atmel QSPI driver

2015-09-08 Thread Rob Herring
On 08/26/2015 07:30 AM, Cyrille Pitchen wrote: > This patch documents the DT bindings for the driver of the Atmel QSPI > controller embedded inside sama5d2x SoCs. > > Signed-off-by: Cyrille Pitchen > Acked-by: Nicolas Ferre > Acked-by: Marek Vasut Acked-by: Rob Herring > --- >

Re: [PATCH v7 2/5] dt-bindings: Add a binding for Mediatek xHCI host controller

2015-09-08 Thread Rob Herring
On 09/08/2015 01:18 AM, Chunfeng Yun wrote: > add a DT binding documentation of xHCI host controller for the > MT8173 SoC from Mediatek. > > Signed-off-by: Chunfeng Yun > --- > .../devicetree/bindings/usb/mt8173-xhci.txt| 52 > ++ > 1 file changed, 52 insertions(+)

Re: [PATCH-v2 2/7] mmc: sdhci-pxav3: binding: Add pxa1928 compatible support

2015-09-08 Thread Rob Herring
On 09/07/2015 06:18 AM, Vaibhav Hiremath wrote: > With support for pxa1928 family of devices , this patch > updates the binding document with compatible property > of "marvell,pxav3-1928-sdhci". > > Signed-off-by: Vaibhav Hiremath > --- > Documentation/devicetree/bindings/mmc/sdhci-pxa.txt | 2

Re: [PATCHv2 1/3] of: Add vendor prefix for Analogix Semiconductor, Inc.

2015-09-08 Thread Rob Herring
On 09/08/2015 02:25 AM, Enric Balletbo i Serra wrote: > Analogix Semiconductor develops analog and mixed-signal devices for digital > media and communications interconnect applications. > > Signed-off-by: Enric Balletbo i Serra Acked-by: Rob Herring > --- >

Re: [PATCH linux-next v9 1/3] mfd: atmel-flexcom: create include file with macros used by DT bindings

2015-09-08 Thread Rob Herring
On 09/01/2015 09:46 AM, Cyrille Pitchen wrote: > This patch defines some macros to be used as value for the > "atmel,flexcom-mode" DT property. This value is then written into > the Operating Mode (OPMODE) bit field of the Flexcom Mode Register. > > Signed-off-by: Cyrille Pitchen Acked-by: Rob

Re: [PATCH 1/2 v3] watchdog: bcm7038: add device tree binding documentation

2015-09-08 Thread Rob Herring
On 09/08/2015 12:45 PM, Justin Chen wrote: > Add device tree binding documentation for the watchdog hardware block > on bcm7038 and newer SoCs. > > Signed-off-by: Justin Chen > Acked-by: Guenter Roeck Some minor comments, otherwise: Acked-by: Rob Herring > --- >

Re: [PATCH 2/2] fbdev: ssd1307fb: add ssd1309 support

2015-09-08 Thread Rob Herring
On 09/08/2015 02:19 PM, Olliver Schinagl wrote: > The ssd1307fb driver supports a lot of chips from the ssd130xfb series. > This patch adds the ssd1309 chip, a 128x64 OLED driver chip. It is very > similar to the other chips and only has some definitions added to > support it. > > Signed-off-by:

Re: [PATCH] net: bridge: remove unnecessary switchdev include

2015-09-08 Thread David Miller
From: Vivien Didelot Date: Sat, 5 Sep 2015 21:49:41 -0400 > Remove the unnecessary switchdev.h include from br_netlink.c. > > Signed-off-by: Vivien Didelot Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH net] net: bridge: check __vlan_vid_del for error

2015-09-08 Thread David Miller
From: Vivien Didelot Date: Sat, 5 Sep 2015 21:27:57 -0400 > Since __vlan_del can return an error code, change its inner function > __vlan_vid_del to return an eventual error from switchdev_port_obj_del. > > Signed-off-by: Vivien Didelot Applied, thanks. -- To unsubscribe from this list: send

Re: [PATCH v5 3/5] thermal: Add devfreq cooling

2015-09-08 Thread Eduardo Valentin
Hi On Thu, Aug 27, 2015 at 11:55:49AM +0100, Javi Merino wrote: > From: Ørjan Eide > > Add a generic thermal cooling device for devfreq, that is similar to > cpu_cooling. > > The device must use devfreq. In order to use the power extension of the > cooling device, it must have registered its

Re: [PATCH] power: bq24261_charger: Add support for TI BQ24261 charger

2015-09-08 Thread Krzysztof Kozlowski
On 09.09.2015 11:26, Andreas Dannenberg wrote: > On Mon, Sep 07, 2015 at 12:57:56PM +0900, Krzysztof Kozlowski wrote: >> 2015-09-07 2:23 GMT+09:00 Ramakrishna Pallala >> : >>> >>> Add new charger driver support for BQ24261 charger IC. >>> >>> BQ24261 charger driver relies on extcon notifications

Re: [PATCH] x86: serialize LVTT and TSC_DEADLINE write

2015-09-08 Thread Shaohua Li
On Tue, Sep 08, 2015 at 08:39:37PM -0700, Andi Kleen wrote: > > Hmm, I didn't mean mfence can't serialize the instructions. For a true > > IO, a serialization can't guarantee device finishes the IO, we generally > > read some safe IO registers to wait IO finish. I completely don't know > > if this

Re: [PATCH 1/3] sysfs: Fix is_visible() support for binary attributes

2015-09-08 Thread Guenter Roeck
On 09/08/2015 08:58 PM, Greg KH wrote: On Tue, Sep 08, 2015 at 06:10:16PM -0700, Guenter Roeck wrote: Hi Emilio, On 09/08/2015 05:51 PM, Emilio López wrote: Hi Greg & Guenter, [ ... ] Unless I am missing something, this is not explained anywhere, but it is not entirely trivial to

Re: [PATCH] of: add vendor prefix for Socionext Inc.

2015-09-08 Thread Masahiro Yamada
Hi Lee, Rob, 2015-08-25 0:11 GMT+09:00 Rob Herring : > On Mon, Aug 24, 2015 at 1:57 AM, Lee Jones wrote: >> On Wed, 29 Jul 2015, Masahiro Yamada wrote: >> >>> Signed-off-by: Masahiro Yamada >>> --- >>> >>> Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + >>> 1 file changed, 1

Re: [PATCH] cgroup: fix seq_show_option merge with legacy_name

2015-09-08 Thread Zefan Li
On 2015/9/9 2:30, Kees Cook wrote: When seq_show_option (068acf2ee776) was merged, it did not correctly collide with cgroup's addition of legacy_name (3e1d2eed39d8) changes. This fixes the reported name. Signed-off-by: Kees Cook Acked-by: Zefan Li -- To unsubscribe from this list: send the

Re: [PATCH] ARM: multi_v7_defconfig: Enable PBIAS regulator

2015-09-08 Thread Guenter Roeck
On Sun, Sep 06, 2015 at 04:41:10PM -0700, Guenter Roeck wrote: > On Thu, Sep 03, 2015 at 03:25:11PM +0530, Kishon Vijay Abraham I wrote: > > PBIAS regulator is required for MMC module in OMAP2, OMAP3, OMAP4, > > OMAP5 and DRA7 SoCs. Enable it here. > > > > Signed-off-by: Kishon Vijay Abraham I >

[PATCH 1/2] lib: test_kasan: add some testcases

2015-09-08 Thread Wang Long
This patch add some out of bounds testcases to test_kasan module. Signed-off-by: Wang Long --- lib/test_kasan.c | 69 1 file changed, 69 insertions(+) diff --git a/lib/test_kasan.c b/lib/test_kasan.c index c1efb1b..c32f3b0 100644 ---

[PATCH 2/2] kasan: Fix a type conversion error

2015-09-08 Thread Wang Long
The current KASAN code can find the following out-of-bounds bugs: char *ptr; ptr = kmalloc(8, GFP_KERNEL); memset(ptr+7, 0, 2); the cause of the problem is the type conversion error in *memory_is_poisoned_n* function. So this patch fix that. Signed-off-by: Wang Long ---

[PATCH 0/2] KASAN: fix a type conversion error and add test

2015-09-08 Thread Wang Long
Hi, This patchset fix a type conversion error for KASAN. patch 1: this patch add some out-of-bounds testcases, the current KASAN code can not find these bugs. patch 2: fix the type conversion error, with this patch, KASAN could find these out-of-bounds bugs. Wang Long (2): lib: test_kasan:

Re: [PATCH 1/3] sysfs: Fix is_visible() support for binary attributes

2015-09-08 Thread Greg KH
On Tue, Sep 08, 2015 at 06:10:16PM -0700, Guenter Roeck wrote: > Hi Emilio, > > On 09/08/2015 05:51 PM, Emilio López wrote: > >Hi Greg & Guenter, > > > [ ... ] > > Unless I am missing something, this is not explained anywhere, but it is > not entirely trivial to understand. I think

Re: [PATCH 0/7] devcg: device cgroup extension for rdma resource

2015-09-08 Thread Parav Pandit
On Tue, Sep 8, 2015 at 8:53 PM, Tejun Heo wrote: > Hello, Parav. > > On Tue, Sep 08, 2015 at 02:08:16AM +0530, Parav Pandit wrote: >> Currently user space applications can easily take away all the rdma >> device specific resources such as AH, CQ, QP, MR etc. Due to which other >> applications in

Re: [llvmlinux] percpu | bitmap issue? (Cannot boot on bare metal due to a kernel NULL pointer dereference)

2015-09-08 Thread Sedat Dilek
On Wed, Sep 9, 2015 at 5:25 AM, Baoquan He wrote: > Hi Sedat, > > On 09/09/15 at 04:51am, Sedat Dilek wrote: >> On Wed, Sep 9, 2015 at 4:29 AM, Baoquan He wrote: >> commit 1a1d48a4a8fde49aedc045d894efe67173d59fe0 >> "linux/bitmap: Force inlining of bitmap weight functions" >> >> ...on top of

Re: [PATCH] x86: serialize LVTT and TSC_DEADLINE write

2015-09-08 Thread Andi Kleen
> Hmm, I didn't mean mfence can't serialize the instructions. For a true > IO, a serialization can't guarantee device finishes the IO, we generally > read some safe IO registers to wait IO finish. I completely don't know > if this case fits here though. Sorry for the late answer. We (Intel)

Re: [PATCH 3/3] staging: slimport: Add anx7814 driver support by analogix.

2015-09-08 Thread Daniel Kurtz
Hi Eric, Thanks for starting to upstream this Analogix Slimport driver! As Greg says, please move this driver to its intended directory, I presume: /drivers/gpu/drm/bridge And when you submit, use get_maintainer.pl to add the proper reviewers and lists. At present, you have no DRM folks, nor

Re: [PATCH v4 10/13] usb: hcd: Adapt to OTG core

2015-09-08 Thread Peter Chen
On Mon, Aug 24, 2015 at 04:21:21PM +0300, Roger Quadros wrote: > The existing usb_add/remove_hcd() functionality > remains unchanged for non-OTG devices. For OTG > devices they only register the HCD with the OTG core. > > Introduce usb_otg_add/remove_hcd() for use by OTG core. > These functions

Re: [PATCH v4 07/13] usb: otg: add OTG core

2015-09-08 Thread Peter Chen
On Tue, Sep 08, 2015 at 03:25:25PM +0300, Roger Quadros wrote: > > > On 08/09/15 11:31, Peter Chen wrote: > > On Mon, Sep 07, 2015 at 01:23:01PM +0300, Roger Quadros wrote: > >> On 07/09/15 04:23, Peter Chen wrote: > >>> On Mon, Aug 24, 2015 at 04:21:18PM +0300, Roger Quadros wrote: > + *

RE: similar files amd vs radeon

2015-09-08 Thread Deucher, Alexander
> -Original Message- > From: Peter Senna Tschudin [mailto:peter.se...@gmail.com] > Sent: Monday, September 07, 2015 11:09 AM > To: David Airlie; Deucher, Alexander; Koenig, Christian; Zhou, Jammy; dri- > de...@lists.freedesktop.org; linux-kernel@vger.kernel.org > Subject: similar files amd

linux-next: Tree for Sep 9

2015-09-08 Thread Stephen Rothwell
Hi all, Please do not add material for v4.4 until after v4.3-rc1 is out. Changes since 20150908: I used the h8300 tree from next-20150828 since the current tree has been rebased onto something very old :-( The drm-misc tree lost its build failure. The kvm tree gained a build failure for which

Re: [llvmlinux] percpu | bitmap issue? (Cannot boot on bare metal due to a kernel NULL pointer dereference)

2015-09-08 Thread Baoquan He
Hi Sedat, On 09/09/15 at 04:51am, Sedat Dilek wrote: > On Wed, Sep 9, 2015 at 4:29 AM, Baoquan He wrote: > commit 1a1d48a4a8fde49aedc045d894efe67173d59fe0 > "linux/bitmap: Force inlining of bitmap weight functions" > > ...on top of Linux v4.2. > > This resulted in the same call-trace in QEMU.

Re: [PATCH] powerpc: Kconfig: remove BE-only platforms from LE kernel build

2015-09-08 Thread Boqun Feng
Hi Michael, On Wed, Sep 09, 2015 at 12:26:44PM +1000, Michael Ellerman wrote: > On Mon, 2015-09-07 at 07:58 +0800, Boqun Feng wrote: > > diff --git a/arch/powerpc/platforms/cell/Kconfig > > b/arch/powerpc/platforms/cell/Kconfig > > index 2f23133..808a904 100644 > > ---

RE: [PATCH v2] dmaengine: fsl-edma: add PM suspend/resume support

2015-09-08 Thread Li Leo
> On Thu, Aug 20, 2015 at 12:08:00PM +0800, Vinod Koul wrote: > > On Mon, Aug 17, 2015 at 02:10:46PM -0500, Li Yang wrote: > > > >> Think of it from the end user perspective. Would you like your > > > >> laptop (or > > > >> whatever) to refuse to suspend because of this condition? The > > > >>

Re: [PATCH 2/2] ASoC: atmel-classd: DT binding for Class D audio amplifier driver

2015-09-08 Thread Wu, Songjun
On 9/8/2015 20:23, Mark Brown wrote: On Tue, Sep 08, 2015 at 05:36:13PM +0800, Wu, Songjun wrote: On 9/8/2015 00:25, Mark Brown wrote: Sure, there's no problem at all having that structure in software but it should be possible to do this without having to represent this structure in DT.

Re: [PATCH 1/2] ASoC: atmel-classd: add the Audio Class D Amplifier code

2015-09-08 Thread Wu, Songjun
On 9/8/2015 20:23, Mark Brown wrote: On Tue, Sep 08, 2015 at 05:36:01PM +0800, Wu, Songjun wrote: On 9/8/2015 00:23, Mark Brown wrote: OK, so that's not actually what the code was doing - it had separate enums for bass, mid and treble. If you make this a single enum with all the above

Re: [llvmlinux] percpu | bitmap issue? (Cannot boot on bare metal due to a kernel NULL pointer dereference)

2015-09-08 Thread Sedat Dilek
On Wed, Sep 9, 2015 at 5:04 AM, Sedat Dilek wrote: > On Wed, Sep 9, 2015 at 4:51 AM, Sedat Dilek wrote: >> On Wed, Sep 9, 2015 at 4:29 AM, Baoquan He wrote: >>> >>> Seems it happened when call num_possible_cpus() which is a inline >>> function to call __bitmap_weight(). So did you check >>>

Re: [PATCH] ARM:mm: define arch-specific IOREMAP_MAX_ORDER only in !SMP && !LPAE case

2015-09-08 Thread Nicolas Pitre
On Tue, 8 Sep 2015, Sergey Dyasly wrote: > On 08.09.2015 5:45, Zhang Zhen wrote: > > The arch-specific IOREMAP_MAX_ORDER is introduced in > > commit: ff0daca([ARM] Add section support to ioremap) and > > commit: a069c89 ([ARM] 3705/1: add supersection support to ioremap()). > > But supersections

Private Message

2015-09-08 Thread J O'Neill & Co Solicitors
I wish to inform you that my late client made his Inheritance in your favour, I advise you get in touch with me immediately J O'Neill -- 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: [PATCH] power: bq24261_charger: Add support for TI BQ24261 charger

2015-09-08 Thread Fabio Estevam
On Sun, Sep 6, 2015 at 2:23 PM, Ramakrishna Pallala wrote: > + chip->psy_usb = power_supply_register(>dev, > + _charger_desc, _cfg); > + if (IS_ERR(chip->psy_usb)) { > + dev_err(>dev, > + "power supply registration

[RFC] Generic PHY interface extention for dynamic configuration

2015-09-08 Thread Shawn Lin
Hi Kishon, Now, Generic PHY framework just provide four interfaces(AKA: init/exit/power_on/power_off). Also, these fours itfs take struct phy as unique argument.Is it means that the generic PHY framework can't support to modify PHY configuration at run-time for diff cases? Actually I'm

Re: [llvmlinux] percpu | bitmap issue? (Cannot boot on bare metal due to a kernel NULL pointer dereference)

2015-09-08 Thread Sedat Dilek
On Wed, Sep 9, 2015 at 4:29 AM, Baoquan He wrote: > > Seems it happened when call num_possible_cpus() which is a inline > function to call __bitmap_weight(). So did you check > lib/bitmap.c:__bitmap_weight() by objdump? > > setup_percpu: NR_CPUS:256 nr_cpumask_bits:256 nr_cpu_ids:1 nr_node_ids:1

[PATCH V9 4/6] perf,tools: Dump per-sample freq/CPU%/CORE_BUSY% in report -D

2015-09-08 Thread kan . liang
From: Kan Liang The group read results from cycles/ref-cycles/TSC/ASTATE/MSTATE event can be used to calculate the frequency, CPU Utilization and percent performance during each sampling period. This patch shows them in report -D. Here is an example: $ perf record --freq-perf ~/tchain_edit

[PATCH V9 6/6] perf,tools: Show freq/CPU%/CORE_BUSY% in perf report by --freq-perf

2015-09-08 Thread kan . liang
From: Kan Liang Show frequency, CPU Utilization and percent performance for each symbol in perf report by --freq-perf In sampling group, only group leader do sampling. So only need to print group leader's freq in --group. --freq-perf option also implies --group. Here is an example. $ perf

[PATCH V9 1/6] perf,tools: introduce generic FEAT for CPU attributes

2015-09-08 Thread kan . liang
From: Kan Liang This patch introduces generic FEAT for CPU attributes. For the patch set, we only need cpu max frequency. But it can be easily extented to support more other CPU attributes. The cpu max frequency is from the first online cpu. Signed-off-by: Kan Liang Acked-by: Jiri Olsa ---

[PATCH V9 5/6] perf,tools: caculate and save freq/CPU%/CORE_BUSY% in he_stat

2015-09-08 Thread kan . liang
From: Kan Liang Caculate freq/CPU%/CORE_BUSY% in add_entry_cb, and update the value in he_stat. Signed-off-by: Kan Liang Acked-by: Jiri Olsa --- tools/perf/builtin-report.c | 36 tools/perf/util/sort.h | 3 +++ 2 files changed, 39 insertions(+)

[PATCH V9 2/6] perf,tools: read msr pmu type from header.

2015-09-08 Thread kan . liang
From: Kan Liang Get msr pmu type when processing pmu_mappings Signed-off-by: Kan Liang Acked-by: Jiri Olsa --- tools/perf/util/header.c | 3 +++ tools/perf/util/header.h | 1 + 2 files changed, 4 insertions(+) diff --git a/tools/perf/util/header.c b/tools/perf/util/header.c index

[PATCH V9 3/6] perf, record: introduce --freq-perf option

2015-09-08 Thread kan . liang
From: Kan Liang To generate the frequency and performance output, perf must sample read special events like cycles, ref-cycles, msr/tsc/, msr/aperf/ or msr/mperf/. With the --freq-perf option, perf record can automatically check and add those event into evlist for sampling read. Signed-off-by:

[PATCH V9 0/6] Freq/CPU%/CORE_BUSY% support

2015-09-08 Thread kan . liang
From: Kan Liang This patch set supports per-sample freq/CPU%/CORE_BUSY% print in perf report. For printing these information, the perf.data file must have been obtained by group read and using special events cycles, ref-cycles, msr/tsc/, msr/aperf/ or msr/mperf/. - Freq (MHz): The frequency

Re: [PATCH V1 Resend 02/10] PM / OPP: Drop unlikely before IS_ERR(_OR_NULL)

2015-09-08 Thread Viresh Kumar
On 28-08-15, 15:52, Jiri Kosina wrote: > With series like this, I usually wait a couple weeks and the pick the ones > which haven't been picked into maintainer trees (I check that by looking > for its presence in linux-next) through trivial.git afterwards. Is it the right to get the remaining

Re: [PATCH v2 3/4] perf/x86/intel/pt: Add Intel PT logger

2015-09-08 Thread Takao Indoh
On 2015/09/08 18:48, Alexander Shishkin wrote: > Takao Indoh writes: > >> +/* intel_pt */ >> +static struct perf_event_attr pt_attr_pt = { >> +.config = 0x400, /* bit10: TSCEn */ > > Doesn't it make sense to make these things configurable via sysfs or > whatnot? That make sense,

Re: [PATCH V2 3/9] cpufreq: ondemand: only queue canceled works from update_sampling_rate()

2015-09-08 Thread Viresh Kumar
On 09-09-15, 03:06, Rafael J. Wysocki wrote: > I've just realized that if you combined this patch with the [6/9], > you wouldn't need to make any changes to gov_queue_work() at all, > because that patch removes the case in point entirely. Yeah, but then these are really two separate issues at

Re: [llvmlinux] percpu | bitmap issue? (Cannot boot on bare metal due to a kernel NULL pointer dereference)

2015-09-08 Thread Baoquan He
Seems it happened when call num_possible_cpus() which is a inline function to call __bitmap_weight(). So did you check lib/bitmap.c:__bitmap_weight() by objdump? setup_percpu: NR_CPUS:256 nr_cpumask_bits:256 nr_cpu_ids:1 nr_node_ids:1 Thanks Baoquan -- To unsubscribe from this list: send the

Re: [PATCH] cpufreq: s5pv210: remove superfluous CONFIG_PM ifdefs

2015-09-08 Thread Viresh Kumar
On 08-09-15, 19:02, Bartlomiej Zolnierkiewicz wrote: > CONFIG_PM ifdefs are superfluous and can be removed. > > Cc: Kukjin Kim > Cc: Krzysztof Kozlowski > Signed-off-by: Bartlomiej Zolnierkiewicz > --- > drivers/cpufreq/s5pv210-cpufreq.c | 2 -- > 1 file changed, 2 deletions(-) > > diff

Re: [PATCH] cpufreq: tegra20: remove superfluous CONFIG_PM ifdefs

2015-09-08 Thread Viresh Kumar
On 08-09-15, 19:13, Bartlomiej Zolnierkiewicz wrote: > CONFIG_PM ifdefs are superfluous and can be removed. > > Cc: Stephen Warren > Cc: Thierry Reding > Cc: Alexandre Courbot > Signed-off-by: Bartlomiej Zolnierkiewicz > --- > drivers/cpufreq/tegra20-cpufreq.c | 2 -- > 1 file changed, 2

Re: [PATCH] powerpc: Kconfig: remove BE-only platforms from LE kernel build

2015-09-08 Thread Michael Ellerman
On Mon, 2015-09-07 at 07:58 +0800, Boqun Feng wrote: > diff --git a/arch/powerpc/platforms/cell/Kconfig > b/arch/powerpc/platforms/cell/Kconfig > index 2f23133..808a904 100644 > --- a/arch/powerpc/platforms/cell/Kconfig > +++ b/arch/powerpc/platforms/cell/Kconfig > @@ -25,7 +25,7 @@ config

Re: [PATCH] power: bq24261_charger: Add support for TI BQ24261 charger

2015-09-08 Thread Andreas Dannenberg
On Mon, Sep 07, 2015 at 12:57:56PM +0900, Krzysztof Kozlowski wrote: > 2015-09-07 2:23 GMT+09:00 Ramakrishna Pallala : > > > > Add new charger driver support for BQ24261 charger IC. > > > > BQ24261 charger driver relies on extcon notifications to get the > > charger cable type and based on that it

[PATCH 1/3] lib/kobject_uevent.c: disable broadcast of uevents to other namespaces

2015-09-08 Thread Michael J. Coss
Restrict sending uevents to only those listeners operating in the same network namespace as the system init process. This is the first step toward allowing policy control of the forwarding of events to other namespaces in userspace. Signed-off-by: Michael J. Coss --- lib/kobject_uevent.c | 4

[PATCH 3/3] net/udevns: Netlink module to forward uevent to containers

2015-09-08 Thread Michael J. Coss
New generic netlink module to provide an interface with the new forwarding interface for uevent. The driver allows a user to direct a uevent as read from the kernel to a specific network namespace by providing the uevent message, and a target process id. The uapi header file provides the message

[PATCH 2/3] lib/kobject_uevent.c: add uevent forwarding function

2015-09-08 Thread Michael J. Coss
Adds capability to allow userspace programs to forward a given event to a specific network namespace as determined by the provided pid. In addition, support for a per-namespace kobject_sequence counter was added. Sysfs was modified to return the correct event counter based on the current network

[PATCH 0/3] kobject: support namespace aware udev

2015-09-08 Thread Michael J. Coss
Currently when a uevent occurs, the event is replicated and sent to every listener on the kernel netlink socket, ignoring network namespaces boundaries, forwarding events to every listener in every network namespace. With the expanded use of containers, it would be useful to be able to regulate

Re: [PATCH v5 4/6] spi: bcm2835: new driver implementing auxiliar spi1/spi2 on the bcm2835 soc

2015-09-08 Thread Eric Anholt
ker...@martin.sperl.org writes: > From: Martin Sperl > > Implements spi master driver for the 2 auxiliar spi devices > supported by the bcm2835 SOC. > > The driver does not implement native chip-selects but uses > framework provided aribtrary GPIO-chip-selects. > > Requires soc-bcm2835-aux

Re: [GIT] Networking

2015-09-08 Thread Konrad Rzeszutek Wilk
On Tue, Sep 8, 2015 at 10:14 PM, Konrad Rzeszutek Wilk wrote: > > (Removed Linus and Andrew from the To, added Corinna ..) and resending again without HTML (sorry, thought I had HTML-emails disabled by default) > > On Thu, Sep 3, 2015 at 1:35 AM, David Miller wrote: >> >> >> Another merge

RE: [PATCH][rfc] intel_pstate: Fix user input of min/max to legal policy region

2015-09-08 Thread Chen, Yu C
Hi ,Rafael > -Original Message- > From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] > Sent: Tuesday, September 08, 2015 5:47 AM > To: Chen, Yu C; kris...@linux.intel.com > Cc: viresh.ku...@linaro.org; linux...@vger.kernel.org; linux- > ker...@vger.kernel.org; Zhang, Rui; l...@kernel.org

Re: [[PATCH v6 09/10] powerpc/perf/hv-24x7: Use PMU_TXN_READ interface

2015-09-08 Thread Michael Ellerman
On Tue, 2015-09-08 at 13:29 +0200, Peter Zijlstra wrote: > On Tue, Sep 08, 2015 at 07:07:55PM +1000, Michael Ellerman wrote: > > On Thu, 2015-09-03 at 20:07 -0700, Sukadev Bhattiprolu wrote: > > > The 24x7 counters in Powerpc allow monitoring a large number of counters > > > simultaneously. They

Re: [PATCH] powerpc: define empty enable_kernel_vsx() when CONFIG_VSX=n

2015-09-08 Thread Michael Ellerman
On Tue, 2015-09-08 at 17:19 -0600, Tim Gardner wrote: > On 09/08/2015 04:47 PM, Paul Mackerras wrote: > > On Tue, Sep 08, 2015 at 12:13:11PM -0600, tim.gard...@canonical.com wrote: > >> From: Tim Gardner > >> > >> commit 72cd7b44bc99 ("powerpc: Uncomment and make enable_kernel_vsx() > >> routine

Re: [PATCH v2 2/4] perf: Add function to enable perf events in kernel with ring buffer

2015-09-08 Thread Takao Indoh
On 2015/09/08 18:32, Alexander Shishkin wrote: > Takao Indoh writes: > >> perf_event_create_kernel_counter is used to enable perf events in kernel >> without buffer for logging its events. This patch add new fucntion which >> enable perf events with ring buffer. Intel PT logger uses this to

Re: [PATCH V4] thermal: cpu_cooling: Add MAINTAINERS entry

2015-09-08 Thread Viresh Kumar
On 27-08-15, 07:32, Viresh Kumar wrote: > None of the patches are reaching Viresh or Daniel directly as > get_maintainers doesn't report us as maintainers. Looks like file header > or history of commits isn't able to do that properly. > > Add a separate entry for cpu_cooling driver in

Re: [PATCH v5 0/6] bcm2835: auxiliar device support for spi

2015-09-08 Thread Eric Anholt
ker...@martin.sperl.org writes: > From: Martin Sperl > > The BCM2835 contains 3 auxiliar devices: > * spi1 > * spi2 > * uart1 > > All of those 3 devices are enabled/disabled via a shared register, > which is set by default to be disabled. > > Access to this register needs to get serialized. > >

Re: [PATCH] ARM:mm: define arch-specific IOREMAP_MAX_ORDER only in !SMP && !LPAE case

2015-09-08 Thread Zhang Zhen
On 2015/9/9 2:12, Sergey Dyasly wrote: > On 08.09.2015 5:45, Zhang Zhen wrote: >> The arch-specific IOREMAP_MAX_ORDER is introduced in >> commit: ff0daca([ARM] Add section support to ioremap) and >> commit: a069c89 ([ARM] 3705/1: add supersection support to ioremap()). >> But supersections and

[PATCH v2] atomics,cmpxchg: Privatize the inclusion of asm/cmpxchg.h

2015-09-08 Thread Boqun Feng
After commit: atomics: add acquire/release/relaxed variants of some atomic operations Architectures may only provide {cmp,}xchg_relaxed definitions in asm/cmpxchg.h. Other variants, such as {cmp,}xchg, may be built in linux/atomic.h, which means simply including asm/cmpxchg.h may not get the

Re: [PATCH 2/3] net: irda: pxaficp_ir: convert to readl and writel

2015-09-08 Thread Petr Cvek
Dne 8.9.2015 v 22:24 Petr Cvek napsal(a): > > Did you defined resources somewhere? Actual resources are in > "pxa_ir_resources" variable at: > > http://lxr.free-electrons.com/source/arch/arm/mach-pxa/devices.c#L386 > > or this pdata should be moved into specific machine files? > I

Re: [PATCH 1/3] sysfs: Fix is_visible() support for binary attributes

2015-09-08 Thread Guenter Roeck
Hi Emilio, On 09/08/2015 05:51 PM, Emilio López wrote: Hi Greg & Guenter, [ ... ] Unless I am missing something, this is not explained anywhere, but it is not entirely trivial to understand. I think it should be documented. I agree. I couldn't find any mention of what this int was

Re: set rockchip-specific uboot bootmode flags on reboot

2015-09-08 Thread Andy Yan
Hi Heiko: On 2015年09月09日 06:46, Heiko Stübner wrote: Hi Andy, Am Dienstag, 8. September 2015, 20:43:07 schrieb Andy Yan: rockchip platform have a protocol to pass the the kernel reboot mode to bootloader by some special registers when system reboot.By this way the bootloader can take

Re: [RFC PATCH v3] Fix: clocksource watchdog marks TSC unstable on guest VM

2015-09-08 Thread Shaohua Li
On Tue, Sep 08, 2015 at 05:08:03PM +0200, Thomas Gleixner wrote: > On Tue, 8 Sep 2015, Mathieu Desnoyers wrote: > > Introduce WATCHDOG_RETRY to bound the number of retry (in the > > unlikely event of a bogus clock source for wdnow). If the > > number of retry has been reached, disable the watchdog

Re: Regression: can't apply frequency offsets above 1000ppm.

2015-09-08 Thread Nuno Gonçalves
Yes please. Tested-by: Nuno Goncalves Thanks, Nuno On Wed, Sep 9, 2015 at 1:52 AM, John Stultz wrote: > On Sat, Sep 5, 2015 at 6:41 AM, Nuno Gonçalves wrote: >> Considering your last message I just tried to use abs64 instead. Fixes >> the problem for me. > > Yea, I've since simplified my

Re: IPMI updates for 4.3

2015-09-08 Thread Linus Torvalds
Corey, just for your information: this pull request doesn't show up with my normal merge-window search pattern of "git pull", because you never actually say "pull" anywhere. Please use a subject with "[GIT PULL]" prefix (preferred), or just change the body of the email to have a "please pull"

Re: [PATCH 1/3] sysfs: Fix is_visible() support for binary attributes

2015-09-08 Thread Emilio López
Hi Greg & Guenter, On 08/09/15 16:30, Guenter Roeck wrote: On Tue, Sep 08, 2015 at 12:10:02PM -0700, Greg KH wrote: On Tue, Sep 08, 2015 at 08:30:13AM -0700, Guenter Roeck wrote: Emilio, On Tue, Sep 08, 2015 at 09:07:44AM -0300, Emilio López wrote: According to the sysfs header file:

Re: Regression: can't apply frequency offsets above 1000ppm.

2015-09-08 Thread John Stultz
On Sat, Sep 5, 2015 at 6:41 AM, Nuno Gonçalves wrote: > Considering your last message I just tried to use abs64 instead. Fixes > the problem for me. Yea, I've since simplified my patch in the same way. Still looking good? Can I get a Tested-by: from you? thanks -john -- To unsubscribe from

Re: [PATCH v5 0/4] cpufreq-dt: add suspend frequency support

2015-09-08 Thread Rafael J. Wysocki
On Tuesday, September 08, 2015 06:41:00 PM Bartlomiej Zolnierkiewicz wrote: > Hi, > > This patch series adds suspend frequency support (using opp-v2 > bindings and suspend-opp functionality) to cpufreq-dt driver and > then adds suspend opp for Exynos4412 based boards. > > This patch series fixes

Re: [PATCH v2] staging: board: Migrate away from __pm_genpd_name_add_device()

2015-09-08 Thread Rafael J. Wysocki
On Tuesday, September 08, 2015 12:06:53 PM Greg Kroah-Hartman wrote: > On Tue, Sep 08, 2015 at 07:06:03PM +0200, Geert Uytterhoeven wrote: > > The named genpd APIs are deprecated. Hence convert the board staging > > code from using genpd names to DT node paths. > > > > For now this supports PM

Re: [PATCH] cpufreq: tegra20: remove superfluous CONFIG_PM ifdefs

2015-09-08 Thread Rafael J. Wysocki
On Tuesday, September 08, 2015 07:13:23 PM Bartlomiej Zolnierkiewicz wrote: > CONFIG_PM ifdefs are superfluous and can be removed. > > Cc: Stephen Warren > Cc: Thierry Reding > Cc: Alexandre Courbot > Signed-off-by: Bartlomiej Zolnierkiewicz What tree does this apply to? > --- >

Re: [PATCH] cpufreq: s5pv210: remove superfluous CONFIG_PM ifdefs

2015-09-08 Thread Rafael J. Wysocki
On Tuesday, September 08, 2015 07:02:12 PM Bartlomiej Zolnierkiewicz wrote: > CONFIG_PM ifdefs are superfluous and can be removed. I guess Kukjin can apply this one? > Cc: Kukjin Kim > Cc: Krzysztof Kozlowski > Signed-off-by: Bartlomiej Zolnierkiewicz > --- >

Re: [PATCH v2] zram: introduce comp algorithm fallback functionality

2015-09-08 Thread Sergey Senozhatsky
On (09/08/15 19:42), Luis Henriques wrote: > > Note that previously this operation (i.e. setting an invalid algorithm) > would result in no algorithm being selected, which means that this > represents a small change in the default behaviour. > previously it would result in guaranteed to fail

Re: [PATCH] ARM: qcom: add memory node to IPQ806x/AP148

2015-09-08 Thread Stephen Boyd
On 08/18, Mathieu Olivari wrote: > On recent bootloaders, the bootloader patches the DT blob with memory > information. However, with old bootloader, this operation doesn't > happen, which leads the board to freeze in the early init code. > > This patch adds the memory node to the AP148 dts

Re: [PATCH V2 3/9] cpufreq: ondemand: only queue canceled works from update_sampling_rate()

2015-09-08 Thread Rafael J. Wysocki
On Tuesday, September 08, 2015 07:28:31 AM Viresh Kumar wrote: > On 08-09-15, 03:11, Rafael J. Wysocki wrote: > > There really are two cases, either you pass a CPU or gov_queue_work() has to > > walk policy->cpus. > > Right (At least for now, we are doing just that.) > > > Doing it the way you

Re: [PATCH V2 4/9] cpufreq: governor: Drop __gov_queue_work()

2015-09-08 Thread Rafael J. Wysocki
On Tuesday, September 08, 2015 07:30:44 AM Viresh Kumar wrote: > On 08-09-15, 03:15, Rafael J. Wysocki wrote: > > On Monday, July 27, 2015 05:58:09 PM Viresh Kumar wrote: > > > __gov_queue_work() isn't required anymore and can be merged with > > > gov_queue_work(). Do it. > > > > > >

Re: [PATCH] x86/efi: Map EFI memmap entries in-order at runtime

2015-09-08 Thread joeyli
Hi Matt, On Tue, Sep 08, 2015 at 09:41:47PM +0100, Matt Fleming wrote: > On Mon, 07 Sep, at 12:07:52PM, joeyli wrote: > > > > This patch works to me on Intel S1200V3RPS to fix issue: > > DMI: Intel Corporation (uefidk.com) Intel Server Board S1200V3RPS UEFI > > Development Kit/ROMLEY, BIOS 2.0

Re: RFC: fsyscall

2015-09-08 Thread Eric W. Biederman
Andy Lutomirski writes: > On Tue, Sep 8, 2015 at 4:07 PM, Eric W. Biederman > wrote: >> Perhaps I had missed it but I don't recall capsicum being able to wrap >> things like reboot(2). >> > > Ah, so you want to be able to grant BPF-defined capabilities :) Pretty much. Where I am focusing is

  1   2   3   4   5   6   7   8   9   10   >