documentation: sysfs-bus-usb: no CONFIG_PM_RUNTIME

2015-07-27 Thread Valentin Rothberg
Hi Kevin, your commit 655fe4effe0f ("usbcore: add sysfs support to xHCI usb3 hardware LPM") has shown up in today's linux-next tree (i.e., next-20150727) adding the following lines to Documentation/ABI/testing/sysfs-bus-usb: [...] + If CONFIG_PM_RUNTIME is set an

Re: [PATCH V5 3/7] mm: Introduce VM_LOCKONFAULT

2015-07-27 Thread Kirill A. Shutemov
On Fri, Jul 24, 2015 at 05:28:41PM -0400, Eric B Munson wrote: > The cost of faulting in all memory to be locked can be very high when > working with large mappings. If only portions of the mapping will be > used this can incur a high penalty for locking. > > For the example of a large file, this

Re: [RFC v5 PATCH 8/9] hugetlbfs: add hugetlbfs_fallocate()

2015-07-27 Thread Michal Hocko
On Fri 24-07-15 09:18:35, Mike Kravetz wrote: > On 07/23/2015 11:25 PM, Michal Hocko wrote: > >I hope this is the current version of the pathc - I somehow got lost in > >last submissions where the discussion happens in v4 thread. This version > >seems to have the same issue: > > Yes, Michal this i

Re: [PATCH] mm: add resched points to remap_pmd_range/ioremap_pmd_range

2015-07-27 Thread Michal Hocko
On Fri 24-07-15 09:56:27, Jörn Engel wrote: > On Fri, Jul 24, 2015 at 09:04:21AM +0200, Michal Hocko wrote: > > On Thu 23-07-15 14:54:33, Spencer Baugh wrote: > > > From: Joern Engel > > > > > > Mapping large memory spaces can be slow and prevent high-priority > > > realtime threads from preempti

Re: [PATCH v2 1/2] dmaengine: Add an enum for the dmaengine alignment constraints

2015-07-27 Thread Thomas Petazzoni
Maxime, On Mon, 27 Jul 2015 08:48:04 +0200, Maxime Ripard wrote: > I could, but all the rest of the other similar case so far in > dmaengine are made through enum, so I guess it's still better for > consistency. And we also provide a comprehensive list of the valid > values this way, something a

Re: [PATCH] [PATCH v4] mtd:spi-nor: Add Altera Quad SPI Driver

2015-07-27 Thread Viet Nga Dao
Thanks Brian for your reply! On Sat, Jul 25, 2015 at 2:37 AM, Brian Norris wrote: > On Wed, Jun 03, 2015 at 12:30:44AM -0700, vn...@altera.com wrote: >> From: VIET NGA DAO >> >> Altera Quad SPI Controller is a soft IP which enables access to >> Altera EPCS, EPCQ and Mircon flash chips. This patc

Re: [PATCH v7 5/5] clk: dt: Introduce binding for critical clock support

2015-07-27 Thread Maxime Ripard
Hi Lee, On Wed, Jul 22, 2015 at 02:04:15PM +0100, Lee Jones wrote: > Signed-off-by: Lee Jones > --- > .../devicetree/bindings/clock/clock-bindings.txt | 39 > ++ > 1 file changed, 39 insertions(+) > > diff --git a/Documentation/devicetree/bindings/clock/clock-bindings.txt

Re: n900 in 4.2-rc0: repeating oopses

2015-07-27 Thread Pali Rohár
On Monday 27 July 2015 00:31:19 Pavel Machek wrote: > On Wed 2015-07-01 23:16:21, Tony Lindgren wrote: > > * Pavel Machek [150701 06:11]: > > > On Wed 2015-07-01 03:34:22, Tony Lindgren wrote: > > > > > > > > Works for me after enabling the idle timeouts with the following > > > > script and blan

Re: [RFCv2 3/3] reset: reset-zynq: Adding support for Xilinx Zynq reset controller.

2015-07-27 Thread Michal Simek
On 07/25/2015 02:21 AM, Moritz Fischer wrote: > This adds a reset controller driver to control the Xilinx Zynq > SoC's various resets. > > Signed-off-by: Moritz Fischer > --- > drivers/reset/Makefile | 1 + > drivers/reset/reset-zynq.c | 142 > +

[PATCH 08/10] nbd: Rename functions for clearness of recv/send path

2015-07-27 Thread Markus Pargmann
Signed-off-by: Markus Pargmann --- drivers/block/nbd.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c index 44160a9e493e..9862c3e64ff2 100644 --- a/drivers/block/nbd.c +++ b/drivers/block/nbd.c @@ -399,7 +399,7 @@ static

[PATCH 02/10] nbd: restructure sock_shutdown

2015-07-27 Thread Markus Pargmann
This patch restructures sock_shutdown to avoid having the main code path in an if block. Signed-off-by: Markus Pargmann --- drivers/block/nbd.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c index ff59093c5dc1..2c3661e4

[PATCH 03/10] nbd: Remove 'harderror' and propagate error properly

2015-07-27 Thread Markus Pargmann
Instead of a variable 'harderror' we can simply try to correctly propagate errors to the userspace. This patch removes the harderror variable and passes errors through error pointers and nbd_do_it back to the userspace. Signed-off-by: Markus Pargmann --- drivers/block/nbd.c | 28 ++-

[PATCH 09/10] nbd: flags is a u32 variable

2015-07-27 Thread Markus Pargmann
Signed-off-by: Markus Pargmann --- drivers/block/nbd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c index 9862c3e64ff2..1176a3b27a7e 100644 --- a/drivers/block/nbd.c +++ b/drivers/block/nbd.c @@ -41,7 +41,7 @@ #include struct n

[PATCH 07/10] nbd: Change 'disconnect' to be boolean

2015-07-27 Thread Markus Pargmann
Signed-off-by: Markus Pargmann --- drivers/block/nbd.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c index 188fe0d2b1ac..44160a9e493e 100644 --- a/drivers/block/nbd.c +++ b/drivers/block/nbd.c @@ -57,7 +57,7 @@ struct nbd_dev

[PATCH 01/10] nbd: sock_shutdown, remove conditional lock

2015-07-27 Thread Markus Pargmann
Move the conditional lock from sock_shutdown into the surrounding code. Signed-off-by: Markus Pargmann --- drivers/block/nbd.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c index 7b9ae7a65c1e..ff59093c5dc1 100644 --

[PATCH 00/10] nbd updates

2015-07-27 Thread Markus Pargmann
Hi, This series contains some cleanups for nbd. Also I add a debugfs directory for nbd and every connected nbd. It contains some information about the internal state of nbd and should help to debug issues. The last patch creates uevents for nbd connections. The idea is to let the userspace know w

[PATCH 06/10] nbd: Add debugfs entries

2015-07-27 Thread Markus Pargmann
Signed-off-by: Markus Pargmann --- drivers/block/nbd.c | 178 +++- 1 file changed, 177 insertions(+), 1 deletion(-) diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c index 0075554a05b7..188fe0d2b1ac 100644 --- a/drivers/block/nbd.c +++ b/drive

[PATCH 10/10] nbd: Create size change events for userspace

2015-07-27 Thread Markus Pargmann
The userspace needs to know when nbd devices are ready for use. Currently no events are created for the userspace which doesn't work for systemd. See the discussion here: https://github.com/systemd/systemd/pull/358 This patch uses a central point to setup the nbd-internal sizes. A ioctl to set a

Re: [PATCH V5 4/7] mm: mlock: Add mlock flags to enable VM_LOCKONFAULT usage

2015-07-27 Thread Kirill A. Shutemov
On Fri, Jul 24, 2015 at 05:28:42PM -0400, Eric B Munson wrote: > The previous patch introduced a flag that specified pages in a VMA > should be placed on the unevictable LRU, but they should not be made > present when the area is created. This patch adds the ability to set > this state via the new

[GIT PULL] AVR32 fixes for 4.2 (rc4)

2015-07-27 Thread Hans-Christian Egtvedt
Hello Linus, please pull git://git.kernel.org/pub/scm/linux/kernel/git/egtvedt/linux-avr32.git for-linus to receive the following AVR32 fixes for 4.2 (rc4) Andy Shevchenko (1): avr32: handle NULL as a valid clock object arch/avr32/mach-at32ap/clock.c | 20 +++- 1 file ch

[PATCH 05/10] nbd: Remove variable 'pid'

2015-07-27 Thread Markus Pargmann
This patch uses nbd->task_recv to determine the value of the previously used variable 'pid' for sysfs. Signed-off-by: Markus Pargmann --- drivers/block/nbd.c | 19 +-- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c index 5

[PATCH 04/10] nbd: Move clear queue debug message

2015-07-27 Thread Markus Pargmann
This message was a warning without a reason. This patch moves it into nbd_clear_que and transforms it to a debug message. Signed-off-by: Markus Pargmann --- drivers/block/nbd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c index 8bc

Re: [net-next PATCH v0 0/6] net: netcp: Bug fixes of CPSW statistics collection

2015-07-27 Thread David Miller
From: WingMan Kwok Date: Thu, 23 Jul 2015 09:32:42 -0400 > This patch set contains bug fixes and enhencements of hw ethernet > statistics processing on TI's Keystone2 CPSW ethernet switches. Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body o

Re: [PATCH v2 05/11] mfd: devicetree: bindings: Add Qualcomm SMD based RPM DT binding

2015-07-27 Thread Lee Jones
On Fri, 24 Jul 2015, Mark Brown wrote: > On Fri, Jul 24, 2015 at 11:24:34AM +0100, Mark Brown wrote: > > On Fri, Jul 24, 2015 at 10:58:47AM +0100, Lee Jones wrote: > > > On Thu, 23 Jul 2015, Mark Brown wrote: > > > > > I have no idea what's going on here, sorry. I've not been reading this > > >

Re: [PATCH v7 3/5] clk: Supply the critical clock {init, enable, disable} framework

2015-07-27 Thread Maxime Ripard
On Wed, Jul 22, 2015 at 02:04:13PM +0100, Lee Jones wrote: > These new API calls will firstly provide a mechanisms to tag a clock as > critical and secondly allow any knowledgeable driver to (un)gate clocks, > even if they are marked as critical. > > Suggested-by: Maxime Ripard > Signed-off-by: L

Re: [PATCH V5 5/7] mm: mmap: Add mmap flag to request VM_LOCKONFAULT

2015-07-27 Thread Kirill A. Shutemov
On Fri, Jul 24, 2015 at 05:28:43PM -0400, Eric B Munson wrote: > The cost of faulting in all memory to be locked can be very high when > working with large mappings. If only portions of the mapping will be > used this can incur a high penalty for locking. > > Now that we have the new VMA flag for

Re: [PATCH v7 5/5] clk: dt: Introduce binding for critical clock support

2015-07-27 Thread Lee Jones
On Mon, 27 Jul 2015, Maxime Ripard wrote: > Hi Lee, > > On Wed, Jul 22, 2015 at 02:04:15PM +0100, Lee Jones wrote: > > Signed-off-by: Lee Jones > > --- > > .../devicetree/bindings/clock/clock-bindings.txt | 39 > > ++ > > 1 file changed, 39 insertions(+) > > > > diff --g

virtio-serial: Add multiple times opening support to virtserialport(port)

2015-07-27 Thread Matt Ma
Hi all, I have sent this mail last week, but It may be filtered to Spam, so I send again. Linaro has developed the foundation for the new Android Emulator code base based on a fairly recent upstream QEMU code base, when we re-based the code, we updated the device model to be more virtio based (fo

Re: [PATCH 33/45] clk: sunxi: Include clk.h

2015-07-27 Thread Maxime Ripard
On Mon, Jul 20, 2015 at 11:01:37AM -0700, Stephen Boyd wrote: > On 07/20/2015 01:01 AM, Maxime Ripard wrote: > >Hi Stephen, > > > >On Fri, Jul 10, 2015 at 04:33:31PM -0700, Stephen Boyd wrote: > >>This clock provider uses the consumer API, so include clk.h > >>explicitly. > >> > >>Cc: Chen-Yu Tsai

[PATCH] clk: zynq: remove redundant $(CONFIG_ARCH_ZYNQ) in Makefile

2015-07-27 Thread Masahiro Yamada
Kbuild descends into drivers/clk/zynq/ only when CONFIG_ARCH_ZYNQ is enabled. (see drivers/clk/Makefile) $(CONFIG_ARCH_ZYNQ) in drivers/clk/zynq/Makefile always evaluates to 'y'. Signed-off-by: Masahiro Yamada --- drivers/clk/zynq/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [Intel-gfx] [PATCH v2 12/25] i915: switch from acpi_os_ioremap to ioremap

2015-07-27 Thread Daniel Vetter
On Fri, Jul 24, 2015 at 10:39:04PM -0400, Dan Williams wrote: > acpi_os_ioremap uses cached mappings, however it appears that i915 > wants to read dynamic platform state. Switch to ioremap() to prevent it > reading stale state from cache. > > Cc: Daniel Vetter > Cc: Jani Nikula > Cc: intel-...@

Re: [PATCH v4 2/7] clk: mediatek: Fix rate and dependency of MT8173 clocks

2015-07-27 Thread Heiko Stübner
Am Montag, 27. Juli 2015, 14:19:41 schrieb Daniel Kurtz: > On Jul 27, 2015 12:52, "Sascha Hauer" wrote: > > On Fri, Jul 24, 2015 at 07:10:14PM +0800, Daniel Kurtz wrote: > > > On Fri, Jul 24, 2015 at 11:02 AM, James Liao > > wrote: > > > > Remove the dependency from clk_null, and give all root c

Re: [PATCH] rsi: Fix failure to load firmware after memory leak fix and fix the leak

2015-07-27 Thread Alexey Khoroshilov
Reviewed-by: Alexey Khoroshilov with small suggestion. If we restore kmemdup() call, we have to handle ENOMEM situations: fw = kmemdup(fw_entry->data, fw_entry->size, GFP_KERNEL); if (!fw) return -ENOMEM; On 27.07.2015 12:43, Mike Looijmans wrote: > Fixes commit

Re: [PATCH net v2 0/3] r8152: issues fix

2015-07-27 Thread David Miller
From: Hayes Wang Date: Fri, 24 Jul 2015 13:54:22 +0800 > v2: > Replace patch #2 with "r8152: fix wakeup settings". > > v1: > These patches are used to fix issues. Series applied, thank you. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to ma

[PATCH] cpu/cacheinfo: Fix teardown path

2015-07-27 Thread Borislav Petkov
From: Borislav Petkov Date: Mon, 27 Jul 2015 08:36:27 +0200 Subject: [PATCH] cpu/cacheinfo: Fix teardown path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Philip Müller reported a hang when booting 32-bit 4.1 kernel on an AMD box. A fragment of the spl

Re: [PATCH] net: phy: dp83867: fix simple_return.cocci warnings

2015-07-27 Thread David Miller
From: kbuild test robot Date: Fri, 24 Jul 2015 14:16:10 +0800 > drivers/net/phy/dp83867.c:126:1-4: WARNING: end returns can be simpified > drivers/net/phy/dp83867.c:74:5-8: WARNING: end returns can be simpified if > tested value is negative or 0 > > Simplify a trivial if-return sequence. Poss

Re: [PATCH v4 1/5] perf tools: Add 'perf-config' command

2015-07-27 Thread Namhyung Kim
Hi Taeung, On Mon, Jul 27, 2015 at 12:58:27AM +0900, Taeung Song wrote: > The perf configuration file contains many variables which can make > the perf command's action more effective. > But looking through state of configuration is difficult and there's no knowing > what kind of other variables e

Re: [PATCH 1/3] Docs: dt: add generic MSI bindings

2015-07-27 Thread Marc Zyngier
Hi Mark, On 23/07/15 17:52, Mark Rutland wrote: > Currently msi-parent is used in a couple of drivers despite being fairly > underspecified. This patch adds a generic binding for MSIs (including > the existing msi-parent property) enabling the description of platform > devices capable of using MSI

Re: [PATCH v2 24/25] arch: remove ioremap_wt, replace with arch_memremap

2015-07-27 Thread Christoph Hellwig
> +++ b/arch/frv/include/asm/io.h > @@ -17,8 +17,6 @@ > > #ifdef __KERNEL__ > > -#define ARCH_HAS_IOREMAP_WT > - > #include > #include > #include > @@ -267,20 +265,17 @@ static inline void __iomem *ioremap_nocache(unsigned > long physaddr, unsigned lon > return __ioremap(physaddr,

[PATCH] mmc: sdhci-of-arasan: Get quirks from device tree

2015-07-27 Thread Shawn Lin
This patch adds the interface to get quirks from dts, and there is no need to assign different quirks by condition statement of arasan IP version. Signed-off-by: Shawn Lin --- drivers/mmc/host/sdhci-of-arasan.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/mmc/host/sdhci-of

Re: [linux-sunxi] [RFC] ARM: dts: sunxi: Add regulators and board-specific operating points for LeMaker BananaPi

2015-07-27 Thread Hans de Goede
Hi, On 27-07-15 03:28, Timo Sigurdsson wrote: sun7i-a20-bananapi.dts doesn't contain regulator nodes for the AXP209 PMU driver, so add them to allow for voltage-scaling with cpufreq-dt. With the regulators enabled, we can define board-specific operating points. The defined CPU voltages are more

Re: [PATCH v4 2/5] perf config: Add '--system' and '--global' options to select which config file is used

2015-07-27 Thread Namhyung Kim
On Mon, Jul 27, 2015 at 12:58:28AM +0900, Taeung Song wrote: > Which config file is used is decided in only perf_config(). > And a perf-confg command depend on perf_config() > getting config file path. So add '--system' and '--global' options > to select which config file to be used without perf_co

Re: [PATCH net-next] hv_netvsc: Add structs and handlers for VF messages

2015-07-27 Thread David Miller
From: Haiyang Zhang Date: Fri, 24 Jul 2015 10:08:40 -0700 > This patch adds data structures and handlers for messages related > to SRIOV Virtual Function. > > Signed-off-by: Haiyang Zhang > Reviewed-by: K. Y. Srinivasan Applied. -- To unsubscribe from this list: send the line "unsubscribe lin

Re: [PATCH v4 0/7] KASAN for arm64

2015-07-27 Thread Andrey Ryabinin
On 07/24/2015 07:41 PM, Andrey Ryabinin wrote: > - fix memleak in kasan_populate_zero_shadow: >Following code could leak memory when pgd_populate() is nop: > void *p = early_alloc(PAGE_SIZE, NUMA_NO_NODE); > pgd_populate(&init_mm, pgd, p); It's not a leak actua

Re: [PATCH] net: netcp: Fixes SGMII reset on network interface shutdown

2015-07-27 Thread David Miller
From: WingMan Kwok Date: Fri, 24 Jul 2015 15:02:29 -0400 > This patch asserts SGMII RTRESET, i.e. resetting the SGMII Tx/Rx > logic, during network interface shutdown to avoid having the > hardware wedge when shutting down with high incoming traffic rates. > This is cleared (brought out of RTRES

Re: [PATCH 2/3] Docs: dt: Add PCI MSI map bindings

2015-07-27 Thread Marc Zyngier
On 23/07/15 17:52, Mark Rutland wrote: > Currently msi-parent is used by a few bindings to describe the > relationship between a PCI root complex and a single MSI controller, but > this property does not have a generic binding document. > > Additionally, msi-parent is insufficient to describe more

Re: [PATCH v3] [SCSI] mpt2sas, mpt3sas: Abort initialization if no memory I/O resources detected

2015-07-27 Thread Hannes Reinecke
On 07/15/2015 06:49 AM, Sreekanth Reddy wrote: > Driver crashes if the BIOS do not set up at least one > memory I/O resource. This failure can happen if the device is too > slow to respond during POST and is missed by the BIOS, but Linux > then detects the device later in the boot process. > > Cha

Re: [PATCH] MAINTAINERS: Update LSILOGIC MPT FUSION DRIVERS (FC/SAS/SPI) maintainers list

2015-07-27 Thread Hannes Reinecke
On 07/15/2015 06:50 AM, Sreekanth Reddy wrote: > Updating maintainers list for the entry LSILOGIC MPT FUSION DRIVERS in > MAINTAINERS file > > Signed-off-by: Sreekanth Reddy > --- > MAINTAINERS | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > > diff --git a/MAINTAINERS b/MAINTAINE

Re: [PATCH] clk: zynq: remove redundant $(CONFIG_ARCH_ZYNQ) in Makefile

2015-07-27 Thread Michal Simek
On 07/27/2015 09:36 AM, Masahiro Yamada wrote: > Kbuild descends into drivers/clk/zynq/ only when CONFIG_ARCH_ZYNQ > is enabled. (see drivers/clk/Makefile) > > $(CONFIG_ARCH_ZYNQ) in drivers/clk/zynq/Makefile always evaluates > to 'y'. > > Signed-off-by: Masahiro Yamada > --- > > drivers/clk/

Re: [PATCH] mmc: sdhci-of-arasan: Get quirks from device tree

2015-07-27 Thread Michal Simek
On 07/27/2015 10:04 AM, Shawn Lin wrote: > This patch adds the interface to get quirks from dts, and > there is no need to assign different quirks by condition statement > of arasan IP version. > > Signed-off-by: Shawn Lin > --- > > drivers/mmc/host/sdhci-of-arasan.c | 7 +++ > 1 file chang

Re: [PATCH] mm: add resched points to remap_pmd_range/ioremap_pmd_range

2015-07-27 Thread Mike Galbraith
On Mon, 2015-07-27 at 09:08 +0200, Michal Hocko wrote: > On Fri 24-07-15 09:56:27, Jörn Engel wrote: > > On Fri, Jul 24, 2015 at 09:04:21AM +0200, Michal Hocko wrote: > > > On Thu 23-07-15 14:54:33, Spencer Baugh wrote: > > > > From: Joern Engel > > > > > > > > Mapping large memory spaces can be

[PATCH] mwifiex: corrected README as per the file debugfs.c

2015-07-27 Thread Rahul Jain
Subject: [PATCH] mwifiex: corrected README as per the file debugfs.c Signed-off-by: Rahul Jain Signed-off-by: Amit Khatri --- drivers/net/wireless/mwifiex/README | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/mwifiex/README b/drivers/net/wireless/mwi

Re: [PATCH v2 1/7] opp: add dev_pm_opp_get_turbo_mode_setting() helper

2015-07-27 Thread Viresh Kumar
On 09-07-15, 17:43, Bartlomiej Zolnierkiewicz wrote: > +bool dev_pm_opp_get_turbo_mode_setting(struct dev_pm_opp *opp) This should be named dev_pm_opp_is_turbo(). -- viresh -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kerne

Re: [PATCH v2 2/7] cpufreq: opp: fix handling of turbo modes

2015-07-27 Thread Viresh Kumar
$subject is a bit wrong, we aren't fixing any issue here. We are supporting a new feature and so it should be like: cpufreq: Mark boost frequencies based on OPP's turbo mode On 09-07-15, 17:43, Bartlomiej Zolnierkiewicz wrote: > Turbo modes should be marked with CPUFREQ_BOOST_FREQ flag in > the f

Re: [PATCH v2 3/7] cpufreq-dt: add turbo modes support

2015-07-27 Thread Viresh Kumar
On 09-07-15, 17:43, Bartlomiej Zolnierkiewicz wrote: > diff --git a/include/linux/cpufreq-dt.h b/include/linux/cpufreq-dt.h > index 0414009..483ca1b 100644 > --- a/include/linux/cpufreq-dt.h > +++ b/include/linux/cpufreq-dt.h > @@ -17,6 +17,7 @@ struct cpufreq_dt_platform_data { >* clock. >

Re: [PATCH v7 4/6] block: loop: prepare for supporing direct IO

2015-07-27 Thread Christoph Hellwig
> + /* > + * loop block's logical block size is 512, now > + * we support direct I/O only if the backing > + * block devices' minimize I/O size is 512 and > + * the offset is aligned with 512. > + */ > + if (dio) { > + if (inode->i_sb->s_bdev && > +

Re: [PATCH v4 3/5] perf config: Add functions which can get or set perf config variables

2015-07-27 Thread Namhyung Kim
On Mon, Jul 27, 2015 at 12:58:29AM +0900, Taeung Song wrote: > This patch consists of functions > which can get, set specific config variables. I think you'd be better splitting this patch into pieces. I'd like to do it with 3 patches - one for adding default config set (possibly squash/reorder -

Re: [PATCH v2 5/5] mtd: atmel-quadspi: add driver for Atmel QSPI controller

2015-07-27 Thread Cyrille Pitchen
Hi Marek, Le 22/07/2015 15:50, Marek Vasut a écrit : > On Wednesday, July 22, 2015 at 03:17:10 PM, Cyrille Pitchen wrote: >> This driver add support to the new Atmel QSPI controller embedded into >> sama5d2x SoCs. It expects a NOR memory to be connected to the QSPI >> controller. >> >> Signed-off-

Re: [PATCH v4 4/5] perf config: Add a option 'list-all' to perf-config

2015-07-27 Thread Namhyung Kim
On Mon, Jul 27, 2015 at 12:58:30AM +0900, Taeung Song wrote: > A option 'list-all' is to display both current config variables and > all possible config variables with default values. > The syntax examples are like below > > perf config [options] > > display all perf config with default v

Re: [PATCH] Smack: replace capable() with ns_capable()

2015-07-27 Thread Lukasz Pawelczyk
On pon, 2015-07-27 at 10:27 +0900, Sungbae Yoo wrote: > So, Do you agree to allow the process to change its own labels? Yes, by using a proper method as I mentioned below (e.g. Smack namespace posted to this list). > Now, init process(eg. systemd) can't be running in user namespace > properly >

Re: [PATCH v7 3/5] clk: Supply the critical clock {init, enable, disable} framework

2015-07-27 Thread Lee Jones
On Mon, 27 Jul 2015, Maxime Ripard wrote: > On Wed, Jul 22, 2015 at 02:04:13PM +0100, Lee Jones wrote: > > These new API calls will firstly provide a mechanisms to tag a clock as > > critical and secondly allow any knowledgeable driver to (un)gate clocks, > > even if they are marked as critical. >

Re: [PATCH] cpu/cacheinfo: Fix teardown path

2015-07-27 Thread Sudeep Holla
On 27/07/15 08:58, Borislav Petkov wrote: From: Borislav Petkov Date: Mon, 27 Jul 2015 08:36:27 +0200 Subject: [PATCH] cpu/cacheinfo: Fix teardown path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Philip Müller reported a hang when booting 32-bit 4

Re: [PATCH v3 0/2] clk: improve handling of orphan clocks

2015-07-27 Thread Heiko Stübner
Hi Maxime, Stephen, Am Freitag, 8. Mai 2015, 12:02:47 schrieb Maxime Ripard: > On Thu, May 07, 2015 at 02:03:57PM -0700, Stephen Boyd wrote: > > On 05/07/15 08:17, Kevin Hilman wrote: > > > On Fri, May 1, 2015 at 4:40 PM, Stephen Boyd wrote: > > >> On 05/01/15 15:07, Heiko Stübner wrote: > > >>>

[PATCH v3 0/5] add driver for Atmel QSPI controller

2015-07-27 Thread Cyrille Pitchen
ChangeLog v3: - reword the comment which explains that spi_nor_set_protocol() is used by the spi-nor framework to notify lower layers, especially the (Q)SPI controller about a protocol change. - change the definitions of register/bitfield macros in the Atmel QSPI controller driver: get rid o

[PATCH v3 1/5] mtd: spi-nor: notify (Q)SPI controller about protocol change

2015-07-27 Thread Cyrille Pitchen
Once the Quad SPI mode has been enabled on a Micron flash memory, this device expects ALL the following commands to use the SPI 4-4-4 protocol. The (Q)SPI controller needs to be notified about the protocol change so it can adapt and keep on dialoging with the Micron memory. Signed-off-by: Cyrille

[PATCH v3 3/5] mtd: spi-nor: allow to tune the number of dummy cycles

2015-07-27 Thread Cyrille Pitchen
The number of dummy cycles used during Fast Read commands can be reduced to improve transfer performances. Each manufacturer has a dedicated set of registers to provide the memory with the exact number of dummy cycles it should expect. Both the memory and the (Q)SPI controller must agree on this nu

[PATCH v3 2/5] Documentation: mtd: add a DT property to set the number of dummy cycles

2015-07-27 Thread Cyrille Pitchen
Depending on the SPI clock frequency, the Fast Read op code and the Single/Dual Data Rate mode, the number of dummy cycles can be tuned to improve transfer speed. The actual number of dummy cycles is specific for each memory model and is provided by the manufacturer thanks to the memory datasheet.

[PATCH v3 4/5] Documentation: atmel-quadspi: add binding file for Atmel QSPI driver

2015-07-27 Thread Cyrille Pitchen
This patch documents the DT bindings for the driver of the Atmel QSPI controller embedded inside sama5d2x SoCs. Signed-off-by: Cyrille Pitchen --- .../devicetree/bindings/mtd/atmel-quadspi.txt | 29 ++ 1 file changed, 29 insertions(+) create mode 100644 Documentation/de

[PATCH v3 5/5] mtd: atmel-quadspi: add driver for Atmel QSPI controller

2015-07-27 Thread Cyrille Pitchen
This driver add support to the new Atmel QSPI controller embedded into sama5d2x SoCs. It expects a NOR memory to be connected to the QSPI controller. Signed-off-by: Cyrille Pitchen --- drivers/mtd/spi-nor/Kconfig | 7 + drivers/mtd/spi-nor/Makefile| 1 + drivers/mtd/spi-nor/a

Re: [RFC][PATCH 5/7] jump_label: Rework update logic

2015-07-27 Thread Peter Zijlstra
On Fri, Jul 24, 2015 at 07:52:14PM +0200, Peter Zijlstra wrote: > @@ -330,8 +318,7 @@ static int jump_label_add_module(struct > jlm->next = key->next; > key->next = jlm; > > - if (jump_label_type(key) == JUMP_LABEL_JMP) > - __jump_label_

Re: Requesting inclusion of 26bb0e9a in linux-3.14.y

2015-07-27 Thread Luis Henriques
On Tue, Jul 21, 2015 at 01:41:09PM +0200, Mason wrote: > Hello, > > This is my first time requesting inclusion of a patch, please > point out any breach of protocol. > > I'm using linux-3.14.y and I've run into a bug fixed in later > kernel versions: > Thanks, I'm queuing this patch for the 3.16

Re: [PATCH V5 0/7] Allow user to request memory to be locked on page fault

2015-07-27 Thread Vlastimil Babka
On 07/24/2015 11:28 PM, Eric B Munson wrote: ... Changes from V4: Drop all architectures for new sys call entries except x86[_64] and MIPS Drop munlock2 and munlockall2 Make VM_LOCKONFAULT a modifier to VM_LOCKED only to simplify book keeping Adjust tests to match Hi, thanks for considering m

Re: [PATCH v3 1/8] atomics: add acquire/release/relaxed variants of some atomic operations

2015-07-27 Thread Peter Zijlstra
On Fri, Jul 24, 2015 at 03:04:34PM +0100, Will Deacon wrote: > This patch introduces three new ordering semantics for these operations: > > - *_relaxed: No ordering guarantees. This is similar to what we have >already for the non-return atomics (e.g. atomic_add). > > - *_acqu

Re: [PATCH v3 3/3] arm: kernel: implement cpuidle_ops with psci backend

2015-07-27 Thread Lorenzo Pieralisi
On Sun, Jul 26, 2015 at 10:45:54PM +0100, Russell King - ARM Linux wrote: > On Wed, Jul 15, 2015 at 04:40:56PM +0100, Lorenzo Pieralisi wrote: > > static struct cpuidle_ops psci_cpuidle_ops __initdata = { > > .suspend = cpu_psci_cpu_suspend, > > .init = cpu_psci_cpu_init_idle, > > }; > > CP

Re: [PATCH 2/3] Docs: dt: Add PCI MSI map bindings

2015-07-27 Thread Mark Rutland
> > +Example (5) > > +=== > > + > > +/ { > > + #address-cells = <1>; > > + #size-cells = <1>; > > + > > + msi_a: msi-controller@a { > > + reg = <0xa 0x1>; > > + compatible = "vendor,some-controller"; > > + msi-controller; > > + #msi-cells = <1>;

[PATCH v4 01/46] usb: gadget: encapsulate endpoint claiming mechanism

2015-07-27 Thread Robert Baldyga
So far it was necessary for usb functions to set ep->driver_data in endpoint obtained from autoconfig to non-null value, to indicate that endpoint is claimed by function (in autoconfig it was checked if endpoint has set this field to non-null value, and if it has, it was assumed that it is claimed)

[PATCH v4 02/46] usb: gadget: add endpoint capabilities flags

2015-07-27 Thread Robert Baldyga
Introduce struct usb_ep_caps which contains information about capabilities of usb endpoints - supported transfer types and directions. This structure should be filled by UDC driver for each of its endpoints, and will be used in epautoconf in new ep matching mechanism which will replace ugly guessin

[PATCH v4 00/46] usb: gadget: rework ep matching and claiming mechanism

2015-07-27 Thread Robert Baldyga
Hello, This patch series reworks endpoint matching and claiming mechanism in epautoconf. From v2 there are couple of new patches adding 'ep_match' to usb_gadget_ops and removing chip-specific quirk handling from generic code of autoconfig. I'm not sure if this patch set isn't too long, as it has

[PATCH v4 10/46] usb: gadget: bcm63xx_udc: add ep capabilities support

2015-07-27 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga --- drivers/usb/gadget/udc/bcm63xx_udc.c | 25 + 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/drivers/usb/gadget/udc/bcm63xx_udc.c b/drivers/usb/gadget/udc/bcm63xx_u

[PATCH v4 13/46] usb: gadget: fotg210-udc: add ep capabilities support

2015-07-27 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga --- drivers/usb/gadget/udc/fotg210-udc.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/usb/gadget/udc/fotg210-udc.c b/drivers/usb/gadget/udc/fotg210-udc.c index 1137e33..bf6bbee 10

[PATCH v4 06/46] usb: dwc2: gadget: add ep capabilities support

2015-07-27 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga --- drivers/usb/dwc2/gadget.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/usb/dwc2/gadget.c b/drivers/usb/dwc2/gadget.c index 731b13d..3ee5b4c 100644 --- a/drivers/usb/dwc2/gadg

[PATCH v4 07/46] usb: dwc3: gadget: add ep capabilities support

2015-07-27 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga --- drivers/usb/dwc3/gadget.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c index d97fcfa..65fd959 100644 --- a/drivers/usb/dwc3/gadg

[PATCH v4 12/46] usb: gadget: dummy-hcd: add ep capabilities support

2015-07-27 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga --- drivers/usb/gadget/udc/dummy_hcd.c | 65 +- 1 file changed, 50 insertions(+), 15 deletions(-) diff --git a/drivers/usb/gadget/udc/dummy_hcd.c b/drivers/usb/gadget/udc

[PATCH v4 08/46] usb: gadget: amd5536udc: add ep capabilities support

2015-07-27 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga --- drivers/usb/gadget/udc/amd5536udc.c | 57 ++--- 1 file changed, 47 insertions(+), 10 deletions(-) diff --git a/drivers/usb/gadget/udc/amd5536udc.c b/drivers/usb/gadget/ud

[PATCH v4 14/46] usb: gadget: fsl_qe_udc: add ep capabilities support

2015-07-27 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga --- drivers/usb/gadget/udc/fsl_qe_udc.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/usb/gadget/udc/fsl_qe_udc.c b/drivers/usb/gadget/udc/fsl_qe_udc.c index e0822f1..5fb6f8b 10064

[PATCH v4 03/46] usb: gadget: add endpoint capabilities helper macros

2015-07-27 Thread Robert Baldyga
Add macros useful while initializing array of endpoint capabilities structures. These macros makes structure initialization more compact to decrease number of code lines and increase readability of code. Signed-off-by: Robert Baldyga --- include/linux/usb/gadget.h | 20 1 fi

[PATCH v4 04/46] staging: emxx_udc: add ep capabilities support

2015-07-27 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Fixed typo in "epc-nulk" to "epc-bulk". Signed-off-by: Robert Baldyga --- drivers/staging/emxx_udc/emxx_udc.c | 60 ++--- 1 file changed, 29 insertions(+), 31 deletions(-) diff --git a/drivers/staging/emx

[PATCH v4 16/46] usb: gadget: fusb300_udc: add ep capabilities support

2015-07-27 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga --- drivers/usb/gadget/udc/fusb300_udc.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/usb/gadget/udc/fusb300_udc.c b/drivers/usb/gadget/udc/fusb300_udc.c index 3970f45..948845c 10

[PATCH v4 22/46] usb: gadget: mv_udc_core: add ep capabilities support

2015-07-27 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga --- drivers/usb/gadget/udc/mv_udc_core.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/usb/gadget/udc/mv_udc_core.c b/drivers/usb/gadget/udc/mv_udc_core.c index d32160d..306a7ff 100644

[PATCH v4 30/46] usb: gadget: s3c-hsudc: add ep capabilities support

2015-07-27 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga --- drivers/usb/gadget/udc/s3c-hsudc.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/drivers/usb/gadget/udc/s3c-hsudc.c b/drivers/usb/gadget/udc/s3c-hsudc.c index 85a712a..e9def42 1006

[PATCH v4 27/46] usb: gadget: pxa25x_udc: add ep capabilities support

2015-07-27 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga --- drivers/usb/gadget/udc/pxa25x_udc.c | 32 1 file changed, 32 insertions(+) diff --git a/drivers/usb/gadget/udc/pxa25x_udc.c b/drivers/usb/gadget/udc/pxa25x_udc.c index f

[PATCH v4 25/46] usb: gadget: omap_udc: add ep capabilities support

2015-07-27 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga --- drivers/usb/gadget/udc/omap_udc.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/drivers/usb/gadget/udc/omap_udc.c b/drivers/usb/gadget/udc/omap_udc.c index e2fcdb8..9b7d394

[PATCH v4 23/46] usb: gadget: net2272: add ep capabilities support

2015-07-27 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga --- drivers/usb/gadget/udc/net2272.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/usb/gadget/udc/net2272.c b/drivers/usb/gadget/udc/net2272.c index c2ed5da..18f5ebd 100644 --- a/dr

[PATCH v4 29/46] usb: gadget: r8a66597-udc: add ep capabilities support

2015-07-27 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga --- drivers/usb/gadget/udc/r8a66597-udc.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/usb/gadget/udc/r8a66597-udc.c b/drivers/usb/gadget/udc/r8a66597-udc.c index 0293f71..baa0609

[PATCH v4 20/46] usb: gadget: m66592-udc: add ep capabilities support

2015-07-27 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga --- drivers/usb/gadget/udc/m66592-udc.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/usb/gadget/udc/m66592-udc.c b/drivers/usb/gadget/udc/m66592-udc.c index 309706f..e404553 10064

Re: [PATCH V8 3/5] arm64: mm: add PROT_DEVICE_nGnRnE and PROT_NORMAL_WT

2015-07-27 Thread Catalin Marinas
On Sat, Jul 25, 2015 at 12:51:07AM +0100, Jonathan (Zhixiong) Zhang wrote: > From: "Jonathan (Zhixiong) Zhang" > > UEFI spec 2.5 section 2.3.6.1 defines that EFI_MEMORY_[UC|WC|WT|WB] are > possible EFI memory types for AArch64. Each of those EFI memory types > is mapped to a corresponding AArch64

[PATCH v4 32/46] usb: gadget: udc-xilinx: add ep capabilities support

2015-07-27 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga --- drivers/usb/gadget/udc/udc-xilinx.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/usb/gadget/udc/udc-xilinx.c b/drivers/usb/gadget/udc/udc-xilinx.c index 1f24274..1cbb0ac 100644 --

[PATCH v4 19/46] usb: gadget: lpc32xx_udc: add ep capabilities support

2015-07-27 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga --- drivers/usb/gadget/udc/lpc32xx_udc.c | 32 1 file changed, 32 insertions(+) diff --git a/drivers/usb/gadget/udc/lpc32xx_udc.c b/drivers/usb/gadget/udc/lpc32xx_udc.c inde

[PATCH v4 26/46] usb: gadget: pch_udc: add ep capabilities support

2015-07-27 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga --- drivers/usb/gadget/udc/pch_udc.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/drivers/usb/gadget/udc/pch_udc.c b/drivers/usb/gadget/udc/pch_udc.c index dcf5def..fa9e

[PATCH v4 34/46] usb: musb: gadget: add ep capabilities support

2015-07-27 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga --- drivers/usb/musb/musb_gadget.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/usb/musb/musb_gadget.c b/drivers/usb/musb/musb_gadget.c index 625d482f..043248a 100644 --- a/driver

  1   2   3   4   5   6   7   8   9   10   >