Re: 4.3-rc0: snd_hda_intel 0000:00:1b.0: IRQ timing workaround is activated for card #0. Suggest a bigger bdl_pos_adj.

2015-09-08 Thread Pavel Machek
On Tue 2015-09-08 23:05:35, Takashi Iwai wrote: > On Tue, 08 Sep 2015 22:52:02 +0200, > Pavel Machek wrote: > > > > Hi! > > > > On something like 4c12ab7e5e2e892fa94df500f96001837918a281 ... I got > > > > [ 6078.393375] snd_hda_intel :00:1b.0: IRQ timing workaround is > > activated for card

Re: [PATCH v6 3/6] pci:host: Add Altera PCIe host controller driver

2015-09-08 Thread Ley Foon Tan
On Tue, Sep 8, 2015 at 5:19 PM, Lorenzo Pieralisi wrote: > On Fri, Sep 04, 2015 at 09:29:14AM +0100, Ley Foon Tan wrote: >> On Wed, Sep 2, 2015 at 12:33 AM, Lorenzo Pieralisi >> wrote: > > [...] > >> > > +static bool altera_pcie_valid_config(struct altera_pcie *pcie, >> > > +

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

2015-09-08 Thread Maxime Coquelin
2015-09-09 0:19 GMT+02:00 Russell King - ARM Linux : > 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, because this isn't supposed

Re: [PATCH V2] kasan: fix last shadow judgement in memory_is_poisoned_16()

2015-09-08 Thread long.wanglong
On 2015/9/8 20:12, Xishi Qiu wrote: > The shadow which correspond 16 bytes memory may span 2 or 3 bytes. If the > memory is aligned on 8, then the shadow takes only 2 bytes. So we check > "shadow_first_bytes" is enough, and need not to call > "memory_is_poisoned_1(addr + 15);". > But the code "if

Re: [Patch v5 1/6] ACPI/PCI: Enhance ACPI core to support sparse IO space

2015-09-08 Thread Jiang Liu
On 2015/7/30 4:37, Bjorn Helgaas wrote: > On Tue, Jun 09, 2015 at 12:20:43AM +0800, Jiang Liu wrote: >> Enhance ACPI resource parsing interfaces to support sparse IO space, >> which will be used to share common code between x86 and IA64 later. >> >> Tested-by: Tony Luck >> Signed-off-by: Jiang Liu

Re: [PATCH 2/3] mtd: mtk-nor: mtk serial flash controller driver

2015-09-08 Thread Sascha Hauer
On Tue, Sep 08, 2015 at 05:49:55PM +0800, Bayi Cheng wrote: > add spi nor flash driver for mediatek controller > > Signed-off-by: Bayi Cheng > --- > drivers/mtd/spi-nor/Kconfig | 7 + > drivers/mtd/spi-nor/Makefile | 1 + > drivers/mtd/spi-nor/mtk_nor.c | 533 > ++

Re: [PATCH V1] audit: add warning that an old auditd may be starved out by a new auditd

2015-09-08 Thread Richard Guy Briggs
On 15/09/08, Eric Paris wrote: > This is already going to be in the audit log, right? We're going to > send a CONFIG_CHANGE record with old_pid == the existing auditd. I bet > it gets delivered to the old auditd. Actually, delivered by the new auditd is what I'm seeing... (Tested by running "audi

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

2015-09-08 Thread Robert Jarzmik
Petr Cvek writes: > 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: I have them in patch [1], which is exactly the patch you have made yourself. > I tried to add following patch for new resources, bu

Re: [PATCH v4 2/2] dt: power: st: Provide bindings for ST's OPPs

2015-09-08 Thread Viresh Kumar
On 02-09-15, 13:58, Rob Herring wrote: > What do you expect here? It is your job to close it. Ultimately, this > will be your problem to deal with. If you have 10 different vendors > doing selection of OPPs in 10 different ways you will not be able to > change that easily later. Maybe if you can't

Re: [RFC PATCH] PM / Runtime: runtime: Add sysfs option for forcing runtime suspend

2015-09-08 Thread Oliver Neukum
On Tue, 2015-09-08 at 10:44 -0400, Alan Stern wrote: > It would not put the device into runtime suspend immediately, like you > are proposing. Instead it would mean the same as the "auto" mode, > except that remote wakeup should be disabled during runtime suspend. Hi, this proposal is incomplete

Re: [PATCH-v2 1/2] mpt3sas: Refcount sas_device objects and fix unsafe list usage

2015-09-08 Thread Nicholas A. Bellinger
Hi Sreekanth, On Tue, 2015-09-08 at 17:25 +0530, Sreekanth Reddy wrote: > On Sun, Aug 30, 2015 at 1:24 PM, Nicholas A. Bellinger > wrote: > > From: Nicholas Bellinger > > > > These objects can be referenced concurrently throughout the driver, we > > need a way to make sure threads can't delete t

[RFC v3 2/4] iio: resistance: add IIO_RESISTANCE channel type

2015-09-08 Thread Matt Ranostay
Signed-off-by: Matt Ranostay --- Documentation/ABI/testing/sysfs-bus-iio | 7 +++ drivers/iio/industrialio-core.c | 1 + include/uapi/linux/iio/types.h | 1 + 3 files changed, 9 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/s

[RFC v3 0/4] iio: new chemical sensor framework and channel types

2015-09-08 Thread Matt Ranostay
Changes from RFC v2: * Proper usage of IIO_CHAN_INFO_OFFSET values for VOC and CO2 channels * Return CO2 offset that combines the 400 ppm offset and -13 value correction Matt Ranostay (4): iio: chemical: Add IIO_CONCENTRATION channel type iio: resistance: add IIO_RESISTANCE channel type devi

[RFC v3 3/4] devicetree: add SGX Sensortech vendor id

2015-09-08 Thread Matt Ranostay
Signed-off-by: Matt Ranostay --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index ac5f0c3..281e8f0 100644 --- a/Documentati

[RFC v3 1/4] iio: chemical: Add IIO_CONCENTRATION channel type

2015-09-08 Thread Matt Ranostay
There are air quality sensors that report data back in parts per million of VOC (Volatile Organic Compounds) which are usually indexed from CO2 or another common pollutant. This patchset adds an IIO_CONCENTRATION type that returns a percentage of substance because no other channels types fit this

[RFC v3 4/4] iio: chemical: add SGX VZ89x VOC sensor support

2015-09-08 Thread Matt Ranostay
Add support for VZ89X sensors VOC and CO2 reporting channels in percentage which can be converted to part per million. Signed-off-by: Matt Ranostay --- .../ABI/testing/sysfs-bus-iio-chemical-vz89x | 30 +++ .../devicetree/bindings/i2c/trivial-devices.txt| 1 + drivers/iio/Kconfig

[PATCH v2 8/8] KVM: VMX: drop rdtscp_enabled field

2015-09-08 Thread Xiao Guangrong
Check cpuid bit instead of it Signed-off-by: Xiao Guangrong --- arch/x86/kvm/cpuid.h | 8 arch/x86/kvm/vmx.c | 19 ++- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/arch/x86/kvm/cpuid.h b/arch/x86/kvm/cpuid.h index aed7bfe..d434ee9 100644 --- a/arch

[PATCH v2 6/8] KVM: VMX: unify SECONDARY_VM_EXEC_CONTROL update

2015-09-08 Thread Xiao Guangrong
Unify the update in vmx_cpuid_update() Signed-off-by: Xiao Guangrong --- arch/x86/kvm/vmx.c | 21 +++-- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index 97e3340..5a074d0 100644 --- a/arch/x86/kvm/vmx.c +++ b/arch/x86/kv

[PATCH v2 2/8] KVM: x86: add pcommit support

2015-09-08 Thread Xiao Guangrong
Pass PCOMMIT CPU feature to guest to enable PCOMMIT instruction Currently we do not catch pcommit instruction for L1 guest and allow L1 to catch this instruction for L2 if, as required by the spec, L1 can enumerate the PCOMMIT instruction via CPUID: | IA32_VMX_PROCBASED_CTLS2[53] (which enumerates

[PATCH v2 5/8] KVM: VMX: simplify invpcid handling in vmx_cpuid_update()

2015-09-08 Thread Xiao Guangrong
If vmx_invpcid_supported() is true, second execution control filed must be supported and SECONDARY_EXEC_ENABLE_INVPCID must have already been set in current vmcs by vmx_secondary_exec_control() If vmx_invpcid_supported() is false, no need to clear SECONDARY_EXEC_ENABLE_INVPCID Signed-off-by: Xiao

[PATCH v2 7/8] KVM: VMX: clean up bit operation on SECONDARY_VM_EXEC_CONTROL

2015-09-08 Thread Xiao Guangrong
Use vmcs_set_bits() and vmcs_clear_bits() to clean up the code Signed-off-by: Xiao Guangrong --- arch/x86/kvm/vmx.c | 31 --- 1 file changed, 8 insertions(+), 23 deletions(-) diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index 5a074d0..f18f744 100644 --- a/arc

[PATCH v2 0/8] KVM: x86: enable cflushopt/clwb/pcommit and simplify code

2015-09-08 Thread Xiao Guangrong
Changelog: Thanks for Paolo's review, there are the changes in v2: - use WARN_ON(1) instead of BUG() if PCOMMIT-exit happend for L1 guest - drop set_clear_2nd_exec_ctrl() and use vmcs_{set,clear}_bits instead - improve commit log and adjust code style This pachset enables clfushopt, clwb and pcom

[PATCH v2 1/8] KVM: x86: allow guest to use cflushopt and clwb

2015-09-08 Thread Xiao Guangrong
Pass these CPU features to guest to enable them in guest They are needed by nvdimm drivers Signed-off-by: Xiao Guangrong --- arch/x86/kvm/cpuid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kvm/cpuid.c b/arch/x86/kvm/cpuid.c index 2fbea25..962fc7d 100644 --- a/a

[PATCH v2 4/8] KVM: VMX: simplify rdtscp handling in vmx_cpuid_update()

2015-09-08 Thread Xiao Guangrong
if vmx_rdtscp_supported() is true SECONDARY_EXEC_RDTSCP must have already been set in current vmcs by vmx_secondary_exec_control() Signed-off-by: Xiao Guangrong --- arch/x86/kvm/vmx.c | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/arch/x86/kvm/vmx.c b/arch/

[PATCH v2 3/8] KVM: VMX: drop rdtscp_enabled check in prepare_vmcs02()

2015-09-08 Thread Xiao Guangrong
SECONDARY_EXEC_RDTSCP set for L2 guest comes from vmcs12 Signed-off-by: Xiao Guangrong --- arch/x86/kvm/vmx.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index 073cbc8..61d44b0 100644 --- a/arch/x86/kvm/vmx.c +++ b/arch/x86/kvm/vm

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

2015-09-08 Thread Kishon Vijay Abraham I
hi, On Wednesday 09 September 2015 09:33 AM, Guenter Roeck wrote: > 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 So

[PATCH 2/2][RFC] kselftest: timers: Add adjtick test to validate adjtimex() tick adjustments

2015-09-08 Thread John Stultz
Recently an issue was reported that was difficult to detect except by tweaking the adjtimex tick value, and noticing how quickly the adjustment took to be made: https://lkml.org/lkml/2015/9/1/488 Thus this patch introduces a new test which manipulates the adjtimex tick value and validates

[PATCH 1/2][RFC] time: Fix timekeeping_freqadjust()'s incorrect use of abs() instead of abs64()

2015-09-08 Thread John Stultz
The internal clocksteering done for fine-grained error correction uses a logarithmic approximation, so any time adjtimex() adjusts the clock steering, timekeeping_freqadjust() quickly approximates the correct clock frequency over a series of ticks. Unfortunately, the logic in timekeeping_freqadjus

Re: [RFC] sched: make update_cpu_load_active care more than one tick

2015-09-08 Thread Byungchul Park
On Tue, Aug 18, 2015 at 08:39:27AM +0900, Byungchul Park wrote: > On Thu, Aug 13, 2015 at 06:35:24PM +0900, byungchul.p...@lge.com wrote: > > From: Byungchul Park > > > > i found do_timer accounts other than one tick, so i made > > update_cpu_load_active care that. > > > > is it intended because

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 u

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 can

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, bec

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 Bre

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 us5

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); > - ud

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 prob

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 Mar

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 P

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 > --- > .../devicetre

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 > --- > Documentation/devicetree/bindings/v

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 H

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 > --- > .../devicetree/bindings/wat

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: O

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 majord...@vger.kernel.org

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 O

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 t

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 understan

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 insert

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 --- a/li

[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: ad

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 it

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 o

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 Linu

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) analyz

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 dri-

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 ac

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: > + * Th

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 > > --- a/arch/powerpc/platforms/ce

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 > > > >> use

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. It

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 opti

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 >>> lib/

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 a

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 http:/

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(&client->dev, > + &bq24261_charger_desc, &charger_cfg); > + if (IS_ERR(chip->psy_usb)) { > + dev_err(&client->dev, > +

[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 writin

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 He

[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 rep

[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 --- to

[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(+) diff

[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 3535dcb..04

[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: K

[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 dur

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 pa

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, wil

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 hand

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 lin

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 --git

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 dele

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 PPC_CEL

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 f

[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

  1   2   3   4   5   6   7   8   >