Re: [PATCH 2/4] perf/x86: Fix period for non sampling events

2017-01-03 Thread Jiri Olsa
On Tue, Jan 03, 2017 at 04:09:46PM +0100, Peter Zijlstra wrote: > On Wed, Dec 28, 2016 at 02:31:04PM +0100, Jiri Olsa wrote: > > When in counting mode we setup the counter with the > > longest possible period and read the value with read > > syscall. > > > > We also still setup the PMI to be trigg

Re: [PATCH] drivers: staging: fbtft: fix checkpatch error and udelay

2017-01-03 Thread Greg KH
On Mon, Dec 19, 2016 at 07:44:42PM +0200, Ozgur Karatas wrote: > 19.12.2016, 08:35, "Greg KH" : > > On Sun, Dec 18, 2016 at 11:47:30AM -0600, Scott Matheina wrote: > >>  These changes where identified by checkpatch.pl as needed changes to > >>  align the code with the linux development coding style

Re: [PATCH v1 2/3] dt-bindings: add binding for rk3328 power domains

2017-01-03 Thread Rob Herring
On Fri, Dec 23, 2016 at 11:47:51AM +0800, Elaine Zhang wrote: > Add binding documentation for the power domains > found on Rockchip RK3328 SoCs. > But RK3328 SoC just support idle, not support pd. > > Signed-off-by: Elaine Zhang > --- > Documentation/devicetree/bindings/soc/rockchip/power_domain

Re: [PATCH 2/2] isdn: i4l: move active-isdn drivers to staging

2017-01-03 Thread Greg Kroah-Hartman
On Wed, Mar 02, 2016 at 08:06:46PM +0100, Arnd Bergmann wrote: > The icn, act2000 and pcbit drivers are all for very old hardware, > and it is highly unlikely that anyone is actually still using them > on modern kernels, if at all. > > All three drivers apparently are for hardware that predates PC

Re: [PATCH v3] ARM64: dts: marvell: Correct license text

2017-01-03 Thread Gregory CLEMENT
Hi Alexandre, On mar., déc. 27 2016, Alexandre Belloni wrote: > The license text has been mangled at some point then copy pasted across > multiple files. Restore it to what it should be. > Note that this is not intended as a license change. > > Signed-off-by: Alexandre Belloni Applied on mv

Re: [PATCH] staging: i4l :fixed coding style

2017-01-03 Thread Greg KH
On Fri, Dec 09, 2016 at 11:06:26AM +0530, Tabrez khan wrote: > Remove braces {} for single if statement block. > > Signed-off-by: Tabrez khan > --- > drivers/staging/i4l/act2000/module.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) This patch doesn't apply cleanly, can you refresh

Re: [PATCH] adc: add adc driver for Hisilicon BVT SOCs

2017-01-03 Thread Rob Herring
On Sat, Dec 24, 2016 at 09:54:57AM +0800, Allen Liu wrote: > Add ADC driver for the ADC controller found on HiSilicon BVT SOCs, like > Hi3516CV300, etc. > The ADC controller is primarily in charge of detecting voltage. > > Reviewed-by: Jiancheng Xue > Signed-off-by: Allen Liu > --- > .../devic

Re: [PATCH] Staging: ks7010: ks7010_sdio.h: Fixed coding style error

2017-01-03 Thread Greg KH
On Fri, Dec 09, 2016 at 07:38:36PM +, Manoj Sawai wrote: > Error - Complex macro not in parentheses and trailing whitespace That's two different things, please make two different patches. thanks, greg k-h

Re: [PATCH 2/2] can: spi: hi311x: Add Holt HI-311x CAN driver

2017-01-03 Thread Marc Kleine-Budde
On 11/14/2016 06:55 PM, Akshay Bhat wrote: > This patch adds support for the Holt HI-311x CAN controller. The HI311x > CAN controller is capable of transmitting and receiving standard data > frames, extended data frames and remote frames. The HI311x interfaces > with the host over SPI. Don't use u

Re: [PATCH 6/7] perf record: Add switch-output size option argument

2017-01-03 Thread David Ahern
On 1/3/17 1:19 AM, Jiri Olsa wrote: > It's now possible to specify the threshold size for > perf.data like: > > $ perf record --switch-output=2G ... > > Once it's reached, the current data are dumped in to the > perf.data. file and session does on. How about something like max-file-size instea

Re: [RFC PATCH v2 1/4] devicetree: hwmon: Add bindings for ADC128D818

2017-01-03 Thread Rob Herring
On Fri, Dec 23, 2016 at 11:12:02PM +0100, Alexander Koch wrote: > Add bindings documentation for the ADC128D818 driver, featuring default I2C > properties along with the optional 'mode' property for chip operation mode > selection (see datasheet, sec. 8.4.1). > > Signed-off-by: Alexander Koch > -

Re: [PATCH 2/5] mfd: twl: remove useless header

2017-01-03 Thread Lee Jones
On Sat, 26 Nov 2016, Nicolae Rosia wrote: > This header has one user, twl-core.c . > Remove it before it gets more users. The header is not useless. It prevents us from having to place external prototypes into C files. > Signed-off-by: Nicolae Rosia > --- > drivers/mfd/twl-core.c| 8

Re: [PATCH RFC V2] purgatory: fix up declarations

2017-01-03 Thread Vivek Goyal
On Fri, Dec 23, 2016 at 12:43:07PM +0100, Nicholas Mc Guire wrote: > Add the missing declarations of basic purgatory functions and variables > used with kexec_purgatory_get_set_symbol() to allow a clean build. > > Fixes: commit 8fc5b4d4121c ("purgatory: core purgatory functionality") > Signed-off-

Re: [PATCH 3/5] mfd: twl: move structure definitions to a public header

2017-01-03 Thread Lee Jones
On Sat, 26 Nov 2016, Nicolae Rosia wrote: > We want to get rid of exported symbols and have > the child devices use structure members directly. > Move the structure definitions to header and set > drvdata so child devices can access it. < Please use all 75 chars allocated to the commitlog befor

Re: [sample] A sample program for MRS emulation

2017-01-03 Thread Suzuki K Poulose
On 30/11/16 16:27, Dave Martin wrote: On Wed, Nov 30, 2016 at 03:15:01PM +, Suzuki K Poulose wrote: Here is a sample program which demonstrates how to use mrs emulation to fetch the ID registers. Are we planning to add this in Documentation/? If so, we might want some tweaks (noted below)

[PATCH] ixgbe: Remove pr_cont uses

2017-01-03 Thread Joe Perches
As pr_cont output can be interleaved by other processes, using pr_cont should be avoided where possible. Miscellanea: o Use a temporary pointer to hold the next descriptions and consolidate the pr_cont uses o Use the temporary buffer to hold the 8 u32 register values and emit those in a singl

Re: [PATCH 5/5] mfd: twl: use mfd_add_devices for TWL6032 regulator

2017-01-03 Thread Lee Jones
On Sat, 26 Nov 2016, Nicolae Rosia wrote: > TWL6032 regulator driver uses the drvdata twl_priv pointer. > In order to avoid accessing an invalid drvdata > when the driver gets unbinded, make sure we remove the > child devices before deleting the drvdata. This doesn't really describe the change.

Re: Free after use in fw_pm_notify()->kill_requests_without_uevent() due pending_fw_head

2017-01-03 Thread Greg KH
On Tue, Jan 03, 2017 at 06:44:03AM -0800, Sodagudi Prasad wrote: > > Hi All, > > Device has crashed due to memory access after free while pending_fw_head > list accessed. Kernel 4.4 stable version is used to reproduce this use after > free. > --

Re: [GIT PULL] Immutable branch between MFD, ARM and LED due for the v4.10 merge window

2017-01-03 Thread Lee Jones
On Tue, 22 Nov 2016, Jacek Anaszewski wrote: > On 11/21/2016 01:58 PM, Lee Jones wrote: > > ARM and LED Maintainers, > > > > The following changes since commit 1001354ca34179f3db924eb66672442a173147dc: > > > > Linux 4.9-rc1 (2016-10-15 12:17:50 -0700) > > > > are available in the git repositor

Re: [PATCH 1/3] mfd: cros_ec: Add activity motion sense definitions

2017-01-03 Thread Lee Jones
On Mon, 05 Dec 2016, Thierry Escande wrote: > From: Gwendal Grignou > > This adds motion sense definitions to the commands header related to the > activity sensors attached behind the ChromeOS Embedded Controller. > Supported activities are MOTION and DOUBLE_TAP. > > Signed-off-by: Gwendal Grig

Re: [PATCH 2/2] printk: always report lost messages on serial console

2017-01-03 Thread Sergey Senozhatsky
On (01/03/17 15:55), Petr Mladek wrote: [..] > This causes the opposite problem. We might print a message that was supposed > to be suppressed. so what? yes, we print a message that otherwise would have been suppressed. not a big deal. at all. we are under high printk load and the best thing we ca

Re: [PATCH v2 0/6] fbtft: make it work with DMA enabled SPI

2017-01-03 Thread Greg Kroah-Hartman
On Mon, Jan 02, 2017 at 01:37:43PM +0200, Andy Shevchenko wrote: > On Mon, 2017-01-02 at 13:35 +0200, Andy Shevchenko wrote: > > This series enables 64x48 OLED display and fixes the driver to work > > with DMA > > enabled SPI properly. > > > > Has been tested on Intel Edison board with Adafruit 2'

Re: [PATCH v2 0/6] fbtft: make it work with DMA enabled SPI

2017-01-03 Thread Andy Shevchenko
On Tue, 2017-01-03 at 16:27 +0100, Greg Kroah-Hartman wrote: > On Mon, Jan 02, 2017 at 01:37:43PM +0200, Andy Shevchenko wrote: > > On Mon, 2017-01-02 at 13:35 +0200, Andy Shevchenko wrote: > > > This series enables 64x48 OLED display and fixes the driver to > > > work > > > with DMA > > > enabled

[PATCH v4 05/15] mtd: nand: add manufacturer specific initialization/detection steps

2017-01-03 Thread Boris Brezillon
A lot of NANDs are implementing generic features in a non-generic way, or are providing advanced auto-detection logic where the NAND ID bytes meaning changes with the NAND generation. Providing this vendor specific initialization step will allow us to get rid of the full ids in the nand_ids table

Re: kernel 4.9 iwlwifi startup error

2017-01-03 Thread Alexander Morozov
I have a similar problem on Gentoo. But in my case, it just can't load firmware: "no suitable firmware found". I've tried to reinstall firmware with no luck. Everything is ok with 4.8.6. On Mon, Jan 2, 2017 at 6:42 PM, Andrew Donnellan wrote: > On 02/01/17 21:12, Fabio Coatti wrote: >> >> Hi all,

Re: [PATCH] tools lib traceevent: Fix prev/next_prio for deadline tasks

2017-01-03 Thread Daniel Bristot de Oliveira
On 01/03/2017 04:12 PM, Arnaldo Carvalho de Melo wrote: > So maybe this is just my git-am frontend script, that expects a '---', > but then, here, if I use: > > [acme@jouet linux]$ git format-patch -n --cover-letter tip/perf/urgent.. I found the problem, I used the -p option in the format-patch.

Re: [PATCH 1/2] pwm: sunxi: allow the pwm to finish its pulse before disable

2017-01-03 Thread Olliver Schinagl
Hey Maxime, Happy new year! I'm sorry that I missed your previous mail! I completely looked over it. Sorry! On 12-12-16 13:24, Maxime Ripard wrote: On Thu, Dec 08, 2016 at 02:23:39PM +0100, Olliver Schinagl wrote: Hey Maxime, first off, also sorry for the slow delay :) (pun not intended) O

Re: [PATCH v3 2/2] watchdog: introduce CONFIG_WATCHDOG_OPEN_TIMEOUT

2017-01-03 Thread Rasmus Villemoes
On 2017-01-02 16:22, Guenter Roeck wrote: On 12/14/2016 05:37 AM, Rasmus Villemoes wrote: +config WATCHDOG_OPEN_TIMEOUT +int "Default timeout value for opening watchdog device (seconds)" +default 0 +help + If a watchdog driver indicates to the framework that the + hardware

Re: [PATCH 3/4] arm64: dts: exynos: make tm2 and tm2e independent from each other

2017-01-03 Thread Chanwoo Choi
Hi Andi, 2017-01-03 23:40 GMT+09:00 Andi Shyti : > Hi, > >> FWIW, I also agree with Chanwoo that the difference is too small to >> need a common .dtsi file. > > in principle I don't like "switching on and off" properties by > overwriting them with "status = disable", unless it's really > necessary

Re: [PATCH v2 4/5] arm64: Use __tlbi_dsb() macros in KVM code

2017-01-03 Thread Mark Rutland
On Thu, Dec 29, 2016 at 05:43:34PM -0500, Christopher Covington wrote: > Refactor the KVM code to use the newly introduced __tlbi_dsb macros, which > will allow an errata workaround that repeats tlbi dsb sequences to only > change one location. This is not intended to change the generated assembly

Re: [PATCH] uapi: use wildcards to list files

2017-01-03 Thread David Miller
From: Nicolas Dichtel Date: Tue, 3 Jan 2017 15:35:44 +0100 > Regularly, when a new header is created in include/uapi/, the developer > forgets to add it in the corresponding Kbuild file. This error is usually > detected after the release is out. > > In fact, all headers under include/uapi/ shou

Re: [RFC, PATCHv2 29/29] mm, x86: introduce RLIMIT_VADDR

2017-01-03 Thread Kirill A. Shutemov
On Mon, Jan 02, 2017 at 10:08:28PM -0800, Andy Lutomirski wrote: > On Mon, Jan 2, 2017 at 12:44 AM, Arnd Bergmann wrote: > > On Tuesday, December 27, 2016 4:54:13 AM CET Kirill A. Shutemov wrote: > >> As with other resources you can set the limit lower than current usage. > >> It would affect only

Re: [PATCH] btrfs: file.c: file cleanup

2017-01-03 Thread David Sterba
On Fri, Dec 16, 2016 at 03:17:33PM +0100, Philippe Loctaux wrote: > cleaned up the file with checkpatch ^^^ Sorry, this is an example of what should not be done. Checkpatch can detect lots of things that once were valid or tolerated but are not today. There are mi

Re: [PATCH v3] ARM: dts: mvebu: Correct license text

2017-01-03 Thread Gregory CLEMENT
Hi Alexandre, On mar., déc. 27 2016, Alexandre Belloni wrote: > The license text has been mangled at some point then copy pasted across > multiple files. Restore it to what it should be. > Note that this is not intended as a license change. > > Acked-by: Florian Fainelli > Acked-by: Stefan R

Re: [PATCH] pwm: sunxi: wait for the READY bit

2017-01-03 Thread Olliver Schinagl
Hey Alexandre, I've sent several patches regarding pwm a while ago, sadly you never responded [0]. So I guess this is a follow up from that? I couldn't quickly find the resubmitted version however. Anyway, see below for my comments. On 03-01-17 15:57, Alexandre Belloni wrote: Most of the ca

Re: [PATCH v2 2/5] arm64: Work around Falkor erratum 1003

2017-01-03 Thread Mark Rutland
Hi, On Thu, Dec 29, 2016 at 05:43:32PM -0500, Christopher Covington wrote: > +config QCOM_FALKOR_E1003_RESERVED_ASID > + int > + default 1 > + depends on QCOM_FALKOR_ERRATUM_1003 > + I don't think this needs to be configurable, so let's drop this into a header, e.g. drop: #define FAL

Re: [PATCH] drop_monitor: consider inserted data in genlmsg_end

2017-01-03 Thread Neil Horman
On Tue, Jan 03, 2017 at 09:54:19AM -0500, David Miller wrote: > From: Reiter Wolfgang > Date: Tue, 3 Jan 2017 01:39:10 +0100 > > > Final nlmsg_len field update must reflect inserted net_dm_drop_point > > data. > > > > This patch depends on previous patch: > > "drop_monitor: add missing call to

Re: [PATCH] staging: octeon: Call SET_NETDEV_DEV()

2017-01-03 Thread Greg KH
On Tue, Dec 27, 2016 at 02:15:57PM -0800, Florian Fainelli wrote: > On 12/20/2016 07:20 PM, David Miller wrote: > > From: Florian Fainelli > > Date: Tue, 20 Dec 2016 17:02:37 -0800 > > > >> On 12/14/2016 05:13 PM, Florian Fainelli wrote: > >>> The Octeon driver calls into PHYLIB which now checks

Re: [PATCH] drop_monitor: consider inserted data in genlmsg_end

2017-01-03 Thread David Miller
From: Neil Horman Date: Tue, 3 Jan 2017 11:04:43 -0500 > On Tue, Jan 03, 2017 at 09:54:19AM -0500, David Miller wrote: >> From: Reiter Wolfgang >> Date: Tue, 3 Jan 2017 01:39:10 +0100 >> >> > Final nlmsg_len field update must reflect inserted net_dm_drop_point >> > data. >> > >> > This patch

Re: [PATCH v3] iommu/vt-d: Flush old iommu caches for kdump when the device gets context mapped

2017-01-03 Thread Joerg Roedel
On Tue, Jan 03, 2017 at 08:23:23AM -0700, Myron Stowe wrote: > This didn't seem to make the 4.10 merge window. Was that on purpose? > Any idea when you might include this in a pull request for Linus? I will collect fixes this week and send them to Linus, they will also include this patch.

Re: [PATCH 2/8] ARM: dts: armada-38x: Utilize new DSA binding

2017-01-03 Thread Gregory CLEMENT
Hi Florian, You should use the board name in the topic, ie: "ARM: dts: armada-385-linksys: Utilize new DSA binding" Thanks, Gregory On lun., janv. 02 2017, Florian Fainelli wrote: > Utilize the new DSA binding, introduced with commit 8c5ad1d6179d ("net: dsa: > Document new binding"). The le

Re: [PATCH V9 0/3] irqchip: qcom: Add IRQ combiner driver

2017-01-03 Thread Agustin Vega-Frias
Hi, Is there any more feedback on this beyond Lorenzo's suggestion to drop the conditional check on the first patch? How can we move forward on this series? Thanks. On 2016-12-14 17:10, Agustin Vega-Frias wrote: Add support for IRQ combiners in the Top-level Control and Status Registers (TCSR)

Re: [PATCH v2 3/6] KVM: x86: make pic setup code look like ioapic setup

2017-01-03 Thread Paolo Bonzini
On 03/01/2017 14:04, David Hildenbrand wrote: > Am 16.12.2016 um 16:10 schrieb Radim Krčmář: >> We don't treat kvm->arch.vpic specially anymore, so the setup can look >> like ioapic. This gets a bit more information out of return values. > > This originally saved us from a race condition as far

Re: [PATCH v2 3/6] staging: fbtft: fallback to usual allocation when DMA fails

2017-01-03 Thread Andy Shevchenko
On Mon, 2017-01-02 at 13:35 +0200, Andy Shevchenko wrote: > Fall back to usual allocation method if DMA coherent allocation fails. > > SPI framework will map and use DMA mapped memory when possible. Locally I have re-done DMA approach and thus this patch became optional. Should I leave or remove

Re: [tpmdd-devel] [PATCH RFC 0/4] RFC: in-kernel resource manager

2017-01-03 Thread James Bottomley
On Tue, 2017-01-03 at 15:41 +0200, Jarkko Sakkinen wrote: > On Mon, Jan 02, 2017 at 09:26:58PM -0800, James Bottomley wrote: > > On Mon, 2017-01-02 at 13:40 -0800, James Bottomley wrote: > > > On Mon, 2017-01-02 at 21:33 +0200, Jarkko Sakkinen wrote: > > > > On Mon, Jan 02, 2017 at 08:36:20AM -0800

[PATCH v4 08/15] mtd: nand: move Hynix specific init/detection logic in nand_hynix.c

2017-01-03 Thread Boris Brezillon
Move Hynix specific initialization and detection logic into nand_hynix.c. This is part of the "separate vendor specific code from core" cleanup process. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/Makefile | 1 + drivers/mtd/nand/nand_base.c | 114 +++--

[PATCH] char: lack of bool string made CONFIG_DEVPORT always on

2017-01-03 Thread Max Bires
Without a bool string present, using "# CONFIG_DEVPORT is not set" in defconfig files would not actually unset devport. This esnured that /dev/port was always on, but there are reasons a user may wish to disable it (smaller kernel, attack surface reduction) if it's not being used. Adding a message

Re: [PATCH 0/8] ARM: dts: Switch to new DSA binding

2017-01-03 Thread Gregory CLEMENT
Hi Florian, On lun., janv. 02 2017, Florian Fainelli wrote: > Hi all, > > This patch series converts the in-tree users to utilize the new (relatively) > DSA binding that was introduced with commit 8c5ad1d6179d ("net: dsa: Document > new binding"). The legacy binding node is kept included, but

[PATCH v4 09/15] mtd: nand: move Toshiba specific init/detection logic in nand_toshiba.c

2017-01-03 Thread Boris Brezillon
Move Toshiba specific initialization and detection logic into nand_toshiba.c. This is part of the "separate vendor specific code from core" cleanup process. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/Makefile | 1 + drivers/mtd/nand/nand_base.c| 19 ++-- drivers/m

Re: [PATCH 6/7] perf record: Add switch-output size option argument

2017-01-03 Thread David Ahern
On 1/3/17 9:12 AM, Arnaldo Carvalho de Melo wrote: > Em Tue, Jan 03, 2017 at 08:33:35AM -0700, David Ahern escreveu: >> On 1/3/17 1:19 AM, Jiri Olsa wrote: >>> It's now possible to specify the threshold size for >>> perf.data like: >>> >>> $ perf record --switch-output=2G ... >>> >>> Once it's re

Re: [PATCH 0/3 -v3] GFP_NOFAIL cleanups

2017-01-03 Thread Vlastimil Babka
On 01/03/2017 03:38 PM, Tetsuo Handa wrote: Michal Hocko wrote: On Tue 03-01-17 10:36:31, Tetsuo Handa wrote: [...] > I'm OK with "[PATCH 1/3] mm: consolidate GFP_NOFAIL checks in the allocator > slowpath" given that we describe that we make __GFP_NOFAIL stronger than > __GFP_NORETRY with this p

Re: [PATCH] x86: fix kaslr and memmap collision

2017-01-03 Thread Ross Zwisler
On Tue, Jan 03, 2017 at 04:31:37PM +0800, Baoquan He wrote: > Hi Dan, > > On 11/22/16 at 09:26am, Dan Williams wrote: > > [ replying for Dave since he's offline today and tomorrow ] > > > > On Tue, Nov 22, 2016 at 12:47 AM, Ingo Molnar wrote: > > > > > > * Dave Jiang wrote: > > > > > >> CONFIG_

Re: [PATCH 6/7] perf record: Add switch-output size option argument

2017-01-03 Thread Arnaldo Carvalho de Melo
Em Tue, Jan 03, 2017 at 08:33:35AM -0700, David Ahern escreveu: > On 1/3/17 1:19 AM, Jiri Olsa wrote: > > It's now possible to specify the threshold size for > > perf.data like: > > > > $ perf record --switch-output=2G ... > > > > Once it's reached, the current data are dumped in to the > > per

Re: [PATCH 0/3] usb: xhci: Add broken port disable quirk

2017-01-03 Thread Mathias Nyman
On 03.01.2017 14:53, Felipe Balbi wrote: Hi, Roger Quadros writes: Mathias & Felipe, On 17/11/16 17:01, Roger Quadros wrote: Hi, Some XHCI controllers e.g. dwc3 based have a broken Port disable [1]. If the attached high-speed device is misbehaving, the USB stack typically disables the por

Re: [PATCH v4 0/5] thermal: fixes the rockchip thermal

2017-01-03 Thread ayaka
On 01/03/2017 09:13 AM, Randy Li wrote: On 01/03/2017 09:02 AM, Caesar Wang wrote: 在 2017年01月03日 07:57, Randy Li 写道: On 01/02/2017 09:16 PM, Caesar Wang wrote: 在 2016年12月31日 00:11, ayaka 写道: BTW, Caesar have you ever met this at RK3288 at booting time? [8.430582] thermal thermal_zo

Re: [PATCH 0/8] ARM: dts: Switch to new DSA binding

2017-01-03 Thread Andrew Lunn
> The series looks OK. However I would like to have a reviewed by from > Andrew who know well the mvebu platform and the DSA subsystem. Hi Gregory Yes, i was planning on reviewing, and testing on at least three of these platforms. Since this is mvebu/arm-soc and not netdev, i may take a week or

Re: [PATCH v2 0/2] trace-cmd record: add --cpu-list option

2017-01-03 Thread Luiz Capitulino
On Tue, 22 Nov 2016 15:20:50 -0500 Luiz Capitulino wrote: > This series adds support for a --cpu-list option, which is > much more human friendly than -M: > > # trace-cmd record --cpu-list 1,4,10-15 [...] > > The first patch is a small refectoring needed to > make --cpu-list support fit nicel

Re: [PATCH RFC V2] purgatory: fix up declarations

2017-01-03 Thread Nicholas Mc Guire
On Tue, Jan 03, 2017 at 10:38:14AM -0500, Vivek Goyal wrote: > On Fri, Dec 23, 2016 at 12:43:07PM +0100, Nicholas Mc Guire wrote: > > Add the missing declarations of basic purgatory functions and variables > > used with kexec_purgatory_get_set_symbol() to allow a clean build. > > > > Fixes: commit

Re: [PATCH] mfd: axp20x: correct a typo in axp20x_device_remove documentation

2017-01-03 Thread Lee Jones
On Mon, 05 Dec 2016, Corentin Labbe wrote: > The documentation of axp20x_device_remove() have a typo and use > axp20x_device_probe() as name. > This patch fix this typo. > > Signed-off-by: Corentin Labbe > --- > include/linux/mfd/axp20x.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH 1/8] ARM: dts: armada-370-rd: Utilize new DSA binding

2017-01-03 Thread Andrew Lunn
> + > + switch: switch@10 { > + compatible = "marvell,mv88e6085"; > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <16>; Hummm, a device tree question. switch@10, reg = <16>. Is there an implicit understanding that the 10 is hex?

[PATCH v4 07/15] mtd: nand: move Samsung specific init/detection logic in nand_samsung.c

2017-01-03 Thread Boris Brezillon
Move Samsung specific initialization and detection logic into nand_samsung.c. This is part of the "separate vendor specific code from core" cleanup process. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/Makefile | 1 + drivers/mtd/nand/nand_base.c| 52 ++-- d

[GIT PULL] parisc architecture updates for v4.10-rc3

2017-01-03 Thread Helge Deller
Hi Linus, please pull three updates for the parisc architecture for kernel 4.10-rc3 from: git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git parisc-4.10-2 Changes include: - Limit usage of processor-internal cr16 clocksource to UP systems only - Segfault info lines in sysl

Re: [PATCH net 9/9] virtio-net: XDP support for small buffers

2017-01-03 Thread John Fastabend
On 17-01-02 10:16 PM, Jason Wang wrote: > > > On 2017年01月03日 06:43, John Fastabend wrote: >> On 16-12-23 06:37 AM, Jason Wang wrote: >>> Commit f600b6905015 ("virtio_net: Add XDP support") leaves the case of >>> small receive buffer untouched. This will confuse the user who want to >>> set XDP bu

Re: [PATCH 3/4] arm64: dts: exynos: make tm2 and tm2e independent from each other

2017-01-03 Thread Krzysztof Kozlowski
On Tue, Jan 03, 2017 at 07:25:48PM +0900, Andi Shyti wrote: > > >> > Currently tm2e dts includes tm2 but there are some differences > > >> > between the two boards and tm2 has some properties that tm2e > > >> > doesn't have. > > >> > > > >> > That's why it's important to keep the two dts files inde

Re: [tpmdd-devel] [PATCH RFC 0/4] RFC: in-kernel resource manager

2017-01-03 Thread James Bottomley
On Tue, 2017-01-03 at 15:51 +0200, Jarkko Sakkinen wrote: > On Mon, Jan 02, 2017 at 01:40:48PM -0800, James Bottomley wrote: > > On Mon, 2017-01-02 at 21:33 +0200, Jarkko Sakkinen wrote: > > > On Mon, Jan 02, 2017 at 08:36:20AM -0800, James Bottomley wrote: > > > > On Mon, 2017-01-02 at 15:22 +0200

Re: [v2 3/7] x86/mpx, x86/insn: Relocate insn util functions to a new insn-utils

2017-01-03 Thread Dave Hansen
On 12/23/2016 05:37 PM, Ricardo Neri wrote: > Other kernel submodules can benefit from using the utility functions > defined in mpx.c to obtain the addresses and values of operands contained > in the general purpose registers. An instance of this is the emulation code > used for instructions protec

Re: [PATCH v3 3/3] nfc: trf7970a: Prevent repeated polling from crashing the kernel

2017-01-03 Thread Mark Greer
[Please stop top-posting. Bottom-post only to these lists.] Hi Geoff & happy new year. On Tue, Dec 27, 2016 at 09:18:32AM -0500, Geoff Lansberry wrote: > Mark - I will split this off soon. OK > In the meantime - here is some more info about how we use it. > > We do use NFC structures.I di

Re: [PATCH v2] locking/pvqspinlock: Relax cmpxchg's to improve performance on some archs

2017-01-03 Thread Peter Zijlstra
On Sun, Dec 25, 2016 at 03:26:01PM -0500, Waiman Long wrote: > A number of cmpxchg calls in qspinlock_paravirt.h were replaced by more > relaxed versions to improve performance on architectures that use LL/SC. Claim without numbers ;-) > > All the locking related cmpxchg's are replaced with the

Re: [PATCH v1 12/54] dm: limit the max bio size as BIO_MAX_PAGES * PAGE_SIZE

2017-01-03 Thread Mike Snitzer
On Tue, Dec 27 2016 at 10:56am -0500, Ming Lei wrote: > For BIO based DM, some targets aren't ready for dealing with > bigger incoming bio than 1Mbyte, such as crypt target. > > Signed-off-by: Ming Lei > --- > drivers/md/dm.c | 11 ++- > 1 file changed, 10 insertions(+), 1 deletion(-)

Re: [v2 2/7] x86/mpx: Fail when implicit zero-displacement is used along with R/EBP

2017-01-03 Thread Dave Hansen
On 12/27/2016 02:33 PM, Ricardo Neri wrote: >>> diff --git a/arch/x86/mm/mpx.c b/arch/x86/mm/mpx.c >>> index 6a75a75..71681d0 100644 >>> --- a/arch/x86/mm/mpx.c >>> +++ b/arch/x86/mm/mpx.c >>> @@ -120,6 +120,13 @@ static int get_reg_offset(struct insn *insn, struct >>> pt_regs *regs, >>> >>>

Re: [PATCH v2 0/2] trace-cmd record: add --cpu-list option

2017-01-03 Thread Steven Rostedt
On Tue, 3 Jan 2017 11:32:58 -0500 Luiz Capitulino wrote: > On Tue, 22 Nov 2016 15:20:50 -0500 > Luiz Capitulino wrote: > > > This series adds support for a --cpu-list option, which is > > much more human friendly than -M: > > > > # trace-cmd record --cpu-list 1,4,10-15 [...] > > > > The fir

Re: [PATCH] pwm: sunxi: wait for the READY bit

2017-01-03 Thread Alexandre Belloni
On 03/01/2017 at 16:56:16 +0100, Olliver Schinagl wrote : > Hey Alexandre, > > I've sent several patches regarding pwm a while ago, sadly you never > responded [0]. So I guess this is a follow up from that? > Well, we had the issue and I just had a bit of time to look at it. As I remembered you

Re: [PATCH 7/8] staging: fsl-dpaa2/eth: Add TODO file

2017-01-03 Thread Greg KH
On Tue, Dec 06, 2016 at 06:10:38PM +, Stuart Yoder wrote: > > > > -Original Message- > > From: Greg KH [mailto:gre...@linuxfoundation.org] > > Sent: Tuesday, December 06, 2016 11:56 AM > > To: Stuart Yoder > > Cc: Ruxandra Ioana Radulescu ; > > de...@driverdev.osuosl.org; linux- > >

Re: [PATCH] fbcon: Fix vc attr at deinit

2017-01-03 Thread Greg Kroah-Hartman
On Tue, Jan 03, 2017 at 04:03:22PM +0100, Takashi Iwai wrote: > fbcon can deal with vc_hi_font_mask (the upper 256 chars) and adjust > the vc attrs dynamically when vc_hi_font_mask is changed at > fbcon_init(). When the vc_hi_font_mask is set, it remaps the attrs in > the existing console buffer w

Re: [PATCH 3/4] arm64: dts: exynos: make tm2 and tm2e independent from each other

2017-01-03 Thread Krzysztof Kozlowski
On Wed, Jan 04, 2017 at 12:29:23AM +0900, Chanwoo Choi wrote: > Hi Andi, > > 2017-01-03 23:40 GMT+09:00 Andi Shyti : > > Hi, > > > >> FWIW, I also agree with Chanwoo that the difference is too small to > >> need a common .dtsi file. > > > > in principle I don't like "switching on and off" properti

Re: [PATCHv3] mfd: cpcap: Add minimal support

2017-01-03 Thread Lee Jones
On Mon, 05 Dec 2016, Tony Lindgren wrote: > Many Motorola phones like droid 4 are using a custom PMIC called CPCAP > or 6556002. We can support it's core features quite easily with regmap_spi > and regmap_irq. > > The children of cpcap, such as regulators, ADC and USB, can be just regular > devic

[PATCH v4 03/15] mtd: nand: get rid of busw parameter

2017-01-03 Thread Boris Brezillon
Auto-detection functions are passed a busw parameter to retrieve the actual NAND bus width and eventually set the correct value in chip->options. Rework the nand_get_flash_type() function to get rid of this extra parameter and let detection code directly set the NAND_BUSWIDTH_16 flag in chip->optio

Re: [PATCH v4 1/5] devicetree: mfd: Add binding for the TI LM3533

2017-01-03 Thread Rob Herring
On Mon, Dec 26, 2016 at 10:11:49AM -0800, Bjorn Andersson wrote: > From: Bjorn Andersson > > Add the binding for the Texas Instruments LM3533 lighting power > solution. > > Signed-off-by: Bjorn Andersson > Signed-off-by: Bjorn Andersson > --- > > I had Acks from Jonathan and Rob on v3, but dr

Re: [PATCH] fbcon: Fix vc attr at deinit

2017-01-03 Thread Takashi Iwai
On Tue, 03 Jan 2017 17:49:05 +0100, Greg Kroah-Hartman wrote: > > On Tue, Jan 03, 2017 at 04:03:22PM +0100, Takashi Iwai wrote: > > fbcon can deal with vc_hi_font_mask (the upper 256 chars) and adjust > > the vc attrs dynamically when vc_hi_font_mask is changed at > > fbcon_init(). When the vc_hi

Re: LTP rwtest01 blocks on DAX mountpoint

2017-01-03 Thread Ross Zwisler
On Tue, Jan 03, 2017 at 02:49:22PM +0800, Xiong Zhou wrote: > On Mon, Jan 02, 2017 at 02:49:41PM -0700, Ross Zwisler wrote: > > On Mon, Jan 02, 2017 at 06:16:17PM +0100, Jan Kara wrote: > > > On Fri 30-12-16 17:33:53, Xiong Zhou wrote: > > > > On Sat, Dec 24, 2016 at 07:07:14PM +0800, Xiong Zhou wr

Re: [PATCH 1/2] pwm: sunxi: allow the pwm to finish its pulse before disable

2017-01-03 Thread Alexandre Belloni
On 03/01/2017 at 16:59:57 +0100, Olliver Schinagl wrote : > On 12-12-16 13:24, Maxime Ripard wrote: > > On Thu, Dec 08, 2016 at 02:23:39PM +0100, Olliver Schinagl wrote: > > > Hey Maxime, > > > > > > first off, also sorry for the slow delay :) (pun not intended) > > > > > > On 27-08-16 00:19, Max

Re: [PATCH] drm: add fourcc codes for 16bit R and GR

2017-01-03 Thread Rainer Hochecker
On Mon, Jan 2, 2017 at 3:31 PM, Rainer Hochecker wrote: > > I chose GR16 because that matches with Mesa texture formats. Unfortunately > RG16 is already taken by DRM_FORMAT_RGB565 > So GR32 / RG32 might be better. All other codes in fourcc.h seem to sum up > all planes. > > (sorry, gmail included

Re: [PATCH 2/4] input: tm2-touchkey: Add touchkey driver support for TM2

2017-01-03 Thread Krzysztof Kozlowski
On Tue, Jan 03, 2017 at 04:57:15PM +0900, Jaechul Lee wrote: > This patch adds support for the TM2 touch key and led > functionlity. > > The driver interfaces with userspace through an input device and > reports KEY_PHONE and KEY_BACK event types. LED brightness can be > controlled by "/sys/class/

Re: multi-threads libvmmalloc fork test hang

2017-01-03 Thread Ross Zwisler
On Thu, Oct 27, 2016 at 03:37:20PM +0200, Jan Kara wrote: > Thanks for the report. I'll try to reproduce it... > > Honza > > On Thu 27-10-16 19:22:30, Xiong Zhou wrote: > > # description > > > > nvml test suite vmmalloc_fork test hang

Re: [PATCH 4/4] arm64: dts: exynos: Add tm2 touchkey node

2017-01-03 Thread Krzysztof Kozlowski
On Tue, Jan 03, 2017 at 04:57:17PM +0900, Jaechul Lee wrote: > Add DT node support for TM2 touchkey device. > > Signed-off-by: Jaechul Lee > Signed-off-by: Beomho Seo > Signed-off-by: Andi Shyti The order of sign-offs should follow the order of "who touched it". I assume that the real order wa

Re: [PATCH RESEND] dmaengine: stm32-dma: Rework starting transfer management

2017-01-03 Thread M'boumba Cedric Madianga
Hi Vinod, > ah sorry, i missed to push topic/stm32-dma. can you rebase onnthis and > resend again. Btw this fails as as well.. I have tried again and I don't have any issue. Please see below my way of working and let me know if there is something I don't understand: slave-dma git://git.infradead.

Re: [RESEND 1/2] document: dt: add binding for Hi3660 SoC

2017-01-03 Thread Rob Herring
On Mon, Dec 26, 2016 at 05:36:11PM +0800, Chen Feng wrote: > Add binding for hisilicon Hi3660 SoC and HiKey960 Board. > > Signed-off-by: Chen Feng > --- > Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt | 4 > 1 file changed, 4 insertions(+) Acked-by: Rob Herring

Re: [v2, 1/4] ARM: davinci: da8xx-dt: Add ti-aemif lookup for clock matching

2017-01-03 Thread David Lechner
On 01/03/2017 02:58 AM, Sekhar Nori wrote: On Monday 02 January 2017 01:34 PM, Sekhar Nori wrote: On Saturday 31 December 2016 06:22 AM, David Lechner wrote: On 08/10/2016 06:00 AM, Karl Beldan wrote: Many davinci boards (da830 and da850 families) don't have their clocks in DT yet and won't be

[PATCH v4 02/15] mtd: nand: store nand ID in struct nand_chip

2017-01-03 Thread Boris Brezillon
Store the NAND ID in struct nand_chip to avoid passing id_data and id_len as function parameters. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/nand_base.c | 55 include/linux/mtd/nand.h | 13 +++ 2 files changed, 43 insertions(+), 2

Re: [PATCH 4/7] mm, vmscan: show LRU name in mm_vmscan_lru_isolate tracepoint

2017-01-03 Thread Vlastimil Babka
On 12/28/2016 04:30 PM, Michal Hocko wrote: From: Michal Hocko mm_vmscan_lru_isolate currently prints only whether the LRU we isolate from is file or anonymous but we do not know which LRU this is. It is useful to know whether the list is file or anonymous as well. Change the tracepoint to show

[next PATCH v3 0/3] Page fragment updates

2017-01-03 Thread Alexander Duyck
This patch series takes care of a few cleanups for the page fragments API. First we do some renames so that things are much more consistent. First we move the page_frag_ portion of the name to the front of the functions names. Secondly we split out the cache specific functions from the other pag

Re: [PATCH 1/9] irqchip/ls-scfg-msi: fix typo of MSI compatible strings

2017-01-03 Thread Rob Herring
On Tue, Dec 27, 2016 at 05:12:57PM +0800, Minghuan Lian wrote: > The patch is to fix typo of the Layerscape SCFG MSI dts compatible > strings. "1" is replaced by "l". > > Signed-off-by: Minghuan Lian > --- > .../devicetree/bindings/interrupt-controller/fsl,ls-scfg-msi.txt| 6 > +++--- > dri

Re: [tpmdd-devel] [PATCH] tpm, tpm_crb: Handle 64-bit resource in crb_check_resource()

2017-01-03 Thread Jarkko Sakkinen
On Tue, Dec 20, 2016 at 12:19:27AM -0600, Jiandi An wrote: > The control area buffer is specified in the TPM2.0 static ACPI table. TPM > CRB driver maps the control area address and reads out cmd and rsp buffer > addresses and maps them. There is no requirement in the TCG TPM ACPI spec > for spec

[next PATCH v3 1/3] mm: Rename __alloc_page_frag to page_frag_alloc and __free_page_frag to page_frag_free

2017-01-03 Thread Alexander Duyck
From: Alexander Duyck This patch renames the page frag functions to be more consistent with other APIs. Specifically we place the name page_frag first in the name and then have either an alloc or free call name that we append as the suffix. This makes it a bit clearer in terms of naming. In ad

Re: [PATCH 6/9] arm64: dts: ls1046a: add MSI dts node

2017-01-03 Thread Rob Herring
On Tue, Dec 27, 2016 at 05:13:02PM +0800, Minghuan Lian wrote: > LS1046a includes 3 MSI controllers. > Each controller supports 128 interrupts. > > Signed-off-by: Minghuan Lian > --- > .../interrupt-controller/fsl,ls-scfg-msi.txt | 1 + > arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi

Re: [PATCH] mfd:rtsx: do retry when dma transfer error

2017-01-03 Thread Lee Jones
On Fri, 09 Dec 2016, steven_f...@realsil.com.cn wrote: > From: steven_feng > > the request should be reissued when dma transfer error. > for rts5227, the clock freq need to step reduce when error occurred. > > Signed-off-by: steven_feng > --- > drivers/mfd/rtsx_pcr.c | 15 +-

Re: [PATCH 2/2] printk: always report lost messages on serial console

2017-01-03 Thread Petr Mladek
On Wed 2017-01-04 00:47:45, Sergey Senozhatsky wrote: > On (01/03/17 15:55), Petr Mladek wrote: > [..] > > This causes the opposite problem. We might print a message that was supposed > > to be suppressed. > > so what? yes, we print a message that otherwise would have been suppressed. > not a big

Re: [PATCH v2 2/6] staging: fbtft: do not override DMA coherent mask

2017-01-03 Thread Noralf Trønnes
Den 03.01.2017 14:58, skrev Andy Shevchenko: On Tue, 2017-01-03 at 12:51 +0200, Andy Shevchenko wrote: On Mon, 2017-01-02 at 19:14 +0100, Noralf Trønnes wrote: Den 02.01.2017 12:35, skrev Andy Shevchenko: Usually it's not consumer's business to override resources passed from provider, in part

Re: [PATCH] USB: ohci-omap: defer probe if PHY is missing

2017-01-03 Thread Greg Kroah-Hartman
On Mon, Jan 02, 2017 at 10:53:55PM +0200, Aaro Koskinen wrote: > Defer probe if PHY is missing. E.g. on Nokia 770 several modules needs > to be loaded to get the PHY going and ohci-omap should wait for those. > > Signed-off-by: Aaro Koskinen Is this a new bug? The 770 has been around for foreve

[next PATCH v3 2/3] mm: Rename __page_frag functions to __page_frag_cache, drop order from drain

2017-01-03 Thread Alexander Duyck
From: Alexander Duyck This patch does two things. First it goes through and renames the __page_frag prefixed functions to __page_frag_cache so that we can be clear that we are draining or refilling the cache, not the frags themselves. Second we drop the order parameter from __page_frag_cache_dr

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