Re: [PATCH] nbd: ratelimit error msgs after socket close

2016-02-05 Thread Markus Pargmann
Hi Dan, On Tuesday, February 02, 2016 12:07:04 PM Dan Streetman wrote: > Hi Markus, > > just checking if you had any comments on this patch? > > On Thu, Jan 14, 2016 at 1:42 PM, Dan Streetman > wrote: > > Make the "Attempted send on closed socket" error messages generated in > > nbd_request_han

RE: [PATCH V7 3/6] i2c: qup: Transfer each i2c_msg in i2c_msgs without a stop bit

2016-02-05 Thread Sricharan
Hi Wolfram, > -Original Message- > From: linux-arm-kernel [mailto:linux-arm-kernel- > boun...@lists.infradead.org] On Behalf Of Wolfram Sang > Sent: Friday, February 05, 2016 1:39 AM > To: Sricharan > Cc: devicet...@vger.kernel.org; arch...@codeaurora.org; linux-arm- > m...@vger.kernel.org

Re: [PATCH v3 net-next] net: Implement fast csum_partial for x86_64

2016-02-05 Thread Ingo Molnar
* Tom Herbert wrote: > [] gcc turns these switch statements into jump tables (not function > tables > which is what Ingo's example code was using). [...] So to the extent this still matters, on most x86 microarchitectures that count, jump tables and function call tables (i.e. virtual fun

[lkp] [fs] e17f2e4fa7: BUG: unable to handle kernel NULL pointer dereference at 0000000000000028

2016-02-05 Thread kernel test robot
FYI, we noticed the below changes on https://github.com/0day-ci/linux Deepa-Dinamani/Remove-CURRENT_TIME-and-CURRENT_TIME_SEC-PART-1/20160203-141501 commit e17f2e4fa7e7d9e851085009f70902973fe4005e ("fs: btrfs: Replace CURRENT_TIME by current_fs_time()") +---

Re: Crashes with 874bbfe600a6 in 3.18.25

2016-02-05 Thread Daniel Bilik
On Fri, 05 Feb 2016 03:40:46 +0100 Mike Galbraith wrote: > On Thu, 2016-02-04 at 17:39 +0100, Daniel Bilik wrote: > > On Thu, 4 Feb 2016 12:20:44 +0100 > > Jan Kara wrote: > > > > > Thanks for backport Thomas and to Mike for persistence :). I've > > > asked my friend seeing crashes with 3.18.25

Re: [PATCH v2 6/10] cpufreq: governor: Rework cpufreq_governor_dbs()

2016-02-05 Thread Viresh Kumar
On 05-02-16, 03:18, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Since it is possible to obtain a pointer to struct dbs_governor > from a pointer to the struct governor embedded in it via > container_of(), the second argument of cpufreq_governor_init() > is not necessary. Accordingly,

Re: [PATCH V2 0/3] leds: add SN3218 LED driver

2016-02-05 Thread Jacek Anaszewski
Hi Stefan, Patch set applied to the for-next branch of linux-leds.git. Thanks, Jacek Anaszewski On 02/04/2016 07:56 PM, Stefan Wahren wrote: This patch series implements support for the Si-En SN3218 18 Channel LED Driver connected through I2C. The SN3218 doesn't support reading so the LED stat

Re: [PATCH tip v6 2/5] kbuild: Add option to turn incompatible pointer check into error

2016-02-05 Thread Daniel Wagner
On 02/01/2016 07:49 AM, Daniel Wagner wrote: > On 01/29/2016 07:55 PM, Paul Gortmaker wrote: >> [Re: [PATCH tip v6 2/5] kbuild: Add option to turn incompatible pointer >> check into error] On 29/01/2016 (Fri 13:17) Daniel Wagner wrote: >> >>> On 01/28/2016 03:44 PM, Daniel Wagner wrote: +# en

Re: [PATCH v2 7/10] cpufreq: governor: Drop the gov pointer from struct dbs_data

2016-02-05 Thread Viresh Kumar
On 05-02-16, 03:19, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Since it is possible to obtain a pointer to struct dbs_governor > from a pointer to the struct governor embedded in it with the help > of container_of(), the additional gov pointer in struct dbs_data > isn't really necessa

Re: Crashes with 874bbfe600a6 in 3.18.25

2016-02-05 Thread Mike Galbraith
On Fri, 2016-02-05 at 09:11 +0100, Daniel Bilik wrote: > On Fri, 05 Feb 2016 03:40:46 +0100 > Mike Galbraith wrote: > > IMHO you should restore the CC list and re-post. (If I were the > > maintainer of either the workqueue code or 3.18-stable, I'd be highly > > interested in this finding). > >

Re: [PATCH 5/6] ibmvscsi: Remove unsupported host config MAD and sysfs interface

2016-02-05 Thread Johannes Thumshirn
On Thu, Feb 04, 2016 at 09:48:23AM -0800, Tyrel Datwyler wrote: > On 02/04/2016 12:03 AM, Johannes Thumshirn wrote: > > On Wed, Feb 03, 2016 at 05:28:33PM -0600, Tyrel Datwyler wrote: > >> A VIOSRP_HOST_CONFIG_TYPE management datagram (MAD) has existed in > >> the code for some time. From what info

Re: [PATCH v2 8/10] cpufreq: governor: Rename cpu_common_dbs_info to policy_dbs_info

2016-02-05 Thread Viresh Kumar
On 05-02-16, 03:20, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The struct cpu_common_dbs_info structure represents the per-policy > part of the governor data (for the ondemand and conservative > governors), but its name doesn't reflect its purpose. > > Rename it to struct policy_dbs_

Re: [lkp] [pipe] 759c01142a: -51.5% hackbench.throughput

2016-02-05 Thread Huang, Ying
kernel test robot writes: > FYI, we noticed the below changes on > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > commit 759c01142a5d0f364a462346168a56de28a80f52 ("pipe: limit the per-user > amount of pages allocated in pipes") > > > ===

Re: [PATCH 10/11] arm64: dts: add Allwinner A64 SoC .dtsi

2016-02-05 Thread Maxime Ripard
Hi Andre, On Mon, Feb 01, 2016 at 05:39:29PM +, Andre Przywara wrote: > The Allwinner A64 SoC is low-cost SoC with 4 ARM Cortex-A53 cores > and the typical tablet / TV box peripherals. > The Soc is based on the (32-bit) Allwinner H3 chip, sharing most of > the peripherals and the memory map. >

Re: [PATCH v10 4/5] Watchdog: introduce ARM SBSA watchdog driver

2016-02-05 Thread Fu Wei
Hi On 5 February 2016 at 00:46, Guenter Roeck wrote: > On 02/04/2016 08:37 AM, Timur Tabi wrote: >> >> Will Deacon wrote: +static int sbsa_gwdt_keepalive(struct watchdog_device *wdd) >+{ >+struct sbsa_gwdt *gwdt = to_sbsa_gwdt(wdd); >+ >+/* >+* Writi

Re: [linux-sunxi] [PATCH 10/11] arm64: dts: add Allwinner A64 SoC .dtsi

2016-02-05 Thread Chen-Yu Tsai
On Wed, Feb 3, 2016 at 12:46 AM, Andre Przywara wrote: > Hi Jens, > > thanks for having such an elaborate look! > > On 02/02/16 16:24, Jens Kuske wrote: >> Hi, >> >> On 01/02/16 18:39, Andre Przywara wrote: >>> The Allwinner A64 SoC is low-cost SoC with 4 ARM Cortex-A53 cores >>> and the typical t

Re: [PATCH v3 00/23] arm64: Virtualization Host Extension support

2016-02-05 Thread Marc Zyngier
On 04/02/16 19:26, Christoffer Dall wrote: > On Wed, Feb 03, 2016 at 05:59:53PM +, Marc Zyngier wrote: >> ARMv8.1 comes with the "Virtualization Host Extension" (VHE for >> short), which enables simpler support of Type-2 hypervisors. >> >> This extension allows the kernel to directly run at EL2

Re: [PATCH] mm/slub: support left red zone

2016-02-05 Thread Christoph Lameter
On Thu, 4 Feb 2016, Joonsoo Kim wrote: > --- a/include/linux/slub_def.h > +++ b/include/linux/slub_def.h > @@ -77,6 +77,7 @@ struct kmem_cache { > int refcount; /* Refcount for slab cache destroy */ > void (*ctor)(void *); > int inuse; /* Offset to metadata

Re: [PATCH v2 2/2] livepatch/module: remove livepatch module notifier

2016-02-05 Thread Miroslav Benes
On Thu, 4 Feb 2016, Josh Poimboeuf wrote: > On Mon, Feb 01, 2016 at 08:17:36PM -0500, Jessica Yu wrote: > > Remove the livepatch module notifier in favor of directly enabling and > > disabling patches to modules in the module loader. Hard-coding the > > function calls ensures that ftrace_module_en

Re: [PATCH v10 4/5] Watchdog: introduce ARM SBSA watchdog driver

2016-02-05 Thread Fu Wei
On 5 February 2016 at 00:25, Mathieu Poirier wrote: > On 3 February 2016 at 10:18, wrote: >> From: Fu Wei >> >> According to Server Base System Architecture (SBSA) specification, >> the SBSA Generic Watchdog has two stage timeouts: the first signal (WS0) >> is for alerting the system by interru

Re: [PATCH v3 20/23] arm64: perf: Count EL2 events if the kernel is running in HYP

2016-02-05 Thread Marc Zyngier
On 04/02/16 19:23, Christoffer Dall wrote: > On Wed, Feb 03, 2016 at 06:00:13PM +, Marc Zyngier wrote: >> When the kernel is running in HYP (with VHE), it is necessary to >> include EL2 events if the user requests counting kernel or >> hypervisor events. >> >> Signed-off-by: Marc Zyngier >> --

Re: [PATCH v2] nbd: Issue a uevent when disconnecting

2016-02-05 Thread Markus Pargmann
Hi Wouter, On Tuesday, February 02, 2016 04:27:00 PM Wouter Verhelst wrote: > There already is a uevent by default when closing a device upon connect > of the device. However, the same isn't true on disconnect. > > This makes it hard for userspace to keep track of whether a device is > connected,

Re: [PATCH 11/11] arm64: dts: add Pine64 support

2016-02-05 Thread Maxime Ripard
Hi, On Mon, Feb 01, 2016 at 05:39:30PM +, Andre Przywara wrote: > The Pine64 is a cost-efficient development board based on the > Allwinner A64 SoC. > There are three models: the basic version with Fast Ethernet and > 512 MB of DRAM (Pine64) and two Pine64+ versions, which both > feature Gigab

[PATCH] nbd: Create size change events for userspace

2016-02-05 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] mm/slub: support left red zone

2016-02-05 Thread Christoph Lameter
On Thu, 4 Feb 2016, Joonsoo Kim wrote: > On Thu, Feb 04, 2016 at 03:15:50PM +0900, Joonsoo Kim wrote: > > SLUB already has red zone debugging feature. But, it is only positioned > > at the end of object(aka right red zone) so it cannot catch left oob. > > Although current object's right red zone a

Re: [PATCH 6/7] [PATCH] MIPS: OCTEON: Add support for OCTEON III interrupt controller.

2016-02-05 Thread Thomas Gleixner
On Thu, 4 Feb 2016, David Daney wrote: > +static int octeon_irq_ciu_set_type(struct irq_data *data, unsigned int t) > +{ > + irqd_set_trigger_type(data, t); > + > + if (irqd_get_trigger_type(data) & IRQ_TYPE_EDGE_BOTH) > + irq_set_handler_locked(data, handle_edge_irq); > + e

[PATCH 1/1] sched: Make schedstats a runtime tunable that is disabled by default v5

2016-02-05 Thread Mel Gorman
Changelog since v4 o Correct typo in the documentation o Updated changelog to emphasise cycle savings over cache footprint o Warn if schedstats is disabled and a tracepoint depends on it Changelog since v3 o Force enable stats during profiling and latencytop Changelog since V2 o Print stats that

Re: linux-next: build failure after merge of the sunxi tree

2016-02-05 Thread Maxime Ripard
Hi Stephen, On Fri, Feb 05, 2016 at 10:14:12AM +1100, Stephen Rothwell wrote: > Hi Maxime, > > After merging the sunxi tree, today's linux-next build (arm > multi_v7_defconfig) failed like this: > > drivers/clk/sunxi/clk-sunxi.c: In function 'sunxi_mux_clk_setup': > drivers/clk/sunxi/clk-sunxi.c

Re: [PATCH v2 9/10] cpufreq: governor: Rearrange governor data structures

2016-02-05 Thread Viresh Kumar
On 05-02-16, 03:21, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The struct policy_dbs_info objects representing per-policy governor > data are not accessible directly from the corresponding policy > objects. To access them, one has to get a pointer to the > struct cpu_dbs_info of poli

Re: livepatch/module: remove livepatch module notifier

2016-02-05 Thread Miroslav Benes
On Thu, 4 Feb 2016, Jessica Yu wrote: > +++ Petr Mladek [04/02/16 15:39 +0100]: > > On Mon 2016-02-01 20:17:36, Jessica Yu wrote: > [ snipped since email is getting long ] > > > diff --git a/kernel/module.c b/kernel/module.c > > > index b05d466..71c77ed 100644 > > > --- a/kernel/module.c > > > +++

Re: [PATCH v2 10/10] cpufreq: governor: Drop cpu argument from dbs_check_cpu()

2016-02-05 Thread Viresh Kumar
On 05-02-16, 03:21, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Since policy->cpu is always passed as the second argument to > dbs_check_cpu(), it is not really necessary to pass it, because > the function can obtain that value via its first argument just fine. > > Signed-off-by: Rafa

Re: [PATCH v6 00/12] Earlycon cleanup

2016-02-05 Thread Jon Hunter
Hi all, On 16/01/16 23:23, Peter Hurley wrote: > Hi Greg, Grant & Rob, > > This patch series is a rebase of the v3 from April last year. > > This patch series builds on my earlier "Extensible console matching & > direct earlycon" to add several useful features to earlycon: > * Proper port i/o co

Re: [PATCH v10 5/5] Watchdog: ARM SBSA Generic Watchdog half timeout panic support

2016-02-05 Thread Fu Wei
On 5 February 2016 at 00:43, Timur Tabi wrote: > Mathieu Poirier wrote: >>> >>> >+#ifdef CONFIG_ARM_SBSA_WATCHDOG_PANIC >>> >+ irq = platform_get_irq(pdev, 0); >>> >+ if (irq < 0) { >>> >+ dev_err(dev, "unable to get ws0 interrupt.\n"); >>> >+ return irq; >>

[PATCH] netfilter: tee: select NF_DUP_IPV6 unconditionally

2016-02-05 Thread Arnd Bergmann
The NETFILTER_XT_TARGET_TEE option selects NF_DUP_IPV6 whenever IP6_NF_IPTABLES is enabled, and it ensures that it cannot be builtin itself if NF_CONNTRACK is a loadable module, as that is a dependency for NF_DUP_IPV6. However, NF_DUP_IPV6 can be enabled even if IP6_NF_IPTABLES is turned off, and

Re: [PATCH v3 net-next] net: Implement fast csum_partial for x86_64

2016-02-05 Thread Ingo Molnar
* Tom Herbert wrote: > Thanks for the explanation and sample code. Expanding on your example, I > added a > switch statement to perform to function (code below). So I think your new switch() based testcase is broken in a subtle way. The problem is that in your added testcase GCC effectively o

Re: [PATCH 4/5] mm, oom_reaper: report success/failure

2016-02-05 Thread Michal Hocko
On Thu 04-02-16 14:31:26, David Rientjes wrote: > On Thu, 4 Feb 2016, Michal Hocko wrote: > > > > I think it would be helpful to show anon-rss after reaping, however, so > > > we > > > can compare to the previous anon-rss that was reported. And, I agree > > > that > > > leaving behind a messa

Re: [PATCH 3/5] sound: query dynamic DEBUG_PAGEALLOC setting

2016-02-05 Thread Takashi Iwai
On Thu, 04 Feb 2016 06:56:24 +0100, Joonsoo Kim wrote: > > We can disable debug_pagealloc processing even if the code is complied > with CONFIG_DEBUG_PAGEALLOC. This patch changes the code to query > whether it is enabled or not in runtime. > > Signed-off-by: Joonsoo Kim Acked-by: Takashi Iwai

Re: [PATCH v2 05/51] mtd: add mtd_ooblayout_xxx() helper functions

2016-02-05 Thread Boris Brezillon
On Thu, 4 Feb 2016 11:06:28 +0100 Boris Brezillon wrote: > In order to make the ecclayout definition completely dynamic we need to > rework the way the OOB layout are defined and iterated. > > Create a few mtd_ooblayout_xxx() helpers to ease OOB bytes manipulation > and hide ecclayout internals

Re: [PATCH v4 2/2] ASoC: sunxi: Add support for the SPDIF block

2016-02-05 Thread Maxime Ripard
Hi, On Thu, Feb 04, 2016 at 12:09:22PM +0100, codekip...@gmail.com wrote: > From: Marcus Cooper > > The sun4i, sun5i and sun7i SoC families have an SPDIF > block which is capable of playback and capture. > > This patch enables the playback of this block for > the sun4i families. > > Signed-off

Re: [PATCH v3 2/6] drivers/cpufreq: implement init_cpu_capacity_default()

2016-02-05 Thread Juri Lelli
On 04/02/16 16:46, Vincent Guittot wrote: > On 4 February 2016 at 16:44, Vincent Guittot > wrote: > > On 4 February 2016 at 15:13, Juri Lelli wrote: > >> On 04/02/16 13:35, Vincent Guittot wrote: > >>> On 4 February 2016 at 13:16, Juri Lelli wrote: > >>> > Hi Vincent, > >>> > > >>> > On 04/02/1

Re: [PATCH v2 07/51] mtd: nand: core: use mtd_ooblayout_xxx() helpers where appropriate

2016-02-05 Thread Boris Brezillon
On Thu, 4 Feb 2016 11:06:30 +0100 Boris Brezillon wrote: > The mtd_ooblayout_xxx() helper functions have been added to avoid direct > accesses to the ecclayout field, and thus ease for future reworks. > Use these helpers in all places where the oobfree[] and eccpos[] arrays > where directly acce

Re: [PATCH 1/1] sched: Make schedstats a runtime tunable that is disabled by default v5

2016-02-05 Thread Ingo Molnar
* Mel Gorman wrote: > Changelog since v4 > o Correct typo in the documentation > o Updated changelog to emphasise cycle savings over cache footprint > o Warn if schedstats is disabled and a tracepoint depends on it Ok, this looks pretty good to me. Peter, any objections? Thanks, Ingo

[PATCH v6 7/7] clk: mediatek: Enable critical clocks for MT2701

2016-02-05 Thread James Liao
Some system clocks should be turned on by default on MT2701. This patch enable these clocks when related clocks have been registered. Signed-off-by: James Liao --- drivers/clk/mediatek/clk-mt2701.c | 23 +-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/drive

[PATCH v6 6/7] reset: mediatek: Add MT2701 reset driver

2016-02-05 Thread James Liao
From: Shunli Wang In infrasys and perifsys, there are many reset control bits for kinds of modules. These bits are used as actual reset controllers to be registered into kernel's generic reset controller framework. Signed-off-by: Shunli Wang Signed-off-by: James Liao Tested-by: John Crispin A

[PATCH v6 1/7] clk: mediatek: Refine the makefile to support multiple clock drivers

2016-02-05 Thread James Liao
Add a Kconfig to define clock configuration for each SoC, and modify the Makefile to build drivers that only selected in config. Signed-off-by: Shunli Wang Signed-off-by: James Liao Tested-by: John Crispin --- drivers/clk/Kconfig | 1 + drivers/clk/mediatek/Kconfig | 23 +++

[PATCH v6 2/7] dt-bindings: ARM: Mediatek: Document bindings for MT2701

2016-02-05 Thread James Liao
This patch adds the binding documentation for apmixedsys, bdpsys, ethsys, hifsys, imgsys, infracfg, mmsys, pericfg, topckgen and vdecsys for Mediatek MT2701. Signed-off-by: James Liao Tested-by: John Crispin --- .../bindings/arm/mediatek/mediatek,apmixedsys.txt | 3 ++- .../bindings/arm/media

[PATCH v6 5/7] reset: mediatek: Add MT2701 reset controller dt-binding file

2016-02-05 Thread James Liao
From: Shunli Wang Dt-binding file about reset controller is used to provide kinds of definition, which is referenced by dts file and IC-specified reset controller driver code. Signed-off-by: Shunli Wang Signed-off-by: James Liao Tested-by: John Crispin Acked-by: Philipp Zabel --- include/dt

[PATCH v6 3/7] clk: mediatek: Add dt-bindings for MT2701 clocks

2016-02-05 Thread James Liao
From: Shunli Wang Add MT2701 clock dt-bindings, include topckgen, apmixedsys, infracfg, pericfg and subsystem clocks. Signed-off-by: Shunli Wang Signed-off-by: James Liao Tested-by: John Crispin --- include/dt-bindings/clock/mt2701-clk.h | 482 + 1 file change

[PATCH v6 4/7] clk: mediatek: Add MT2701 clock support

2016-02-05 Thread James Liao
From: Shunli Wang Add MT2701 clock support, include topckgen, apmixedsys, infracfg, pericfg and subsystem clocks. Signed-off-by: Shunli Wang Signed-off-by: James Liao Tested-by: John Crispin --- drivers/clk/mediatek/Kconfig |8 + drivers/clk/mediatek/Makefile |1 + drivers/c

[PATCH v6 0/7] Add clock support for Mediatek MT2701

2016-02-05 Thread James Liao
This series is based on 4.5-rc1 and [1], add clock and reset controller support for Mediatek MT2701. This series also refined makefile and Kconfig to support configurable multiple SoC clock support. changes since v5: - Rebase to v4.5-rc1 and [1]. - Enable critical clocks for MT2701 - Refine dt-bi

Re: [PATCH v3 3/5] pinctrl: sunxi: Add H3 R_PIO controller support

2016-02-05 Thread Chen-Yu Tsai
On Thu, Feb 4, 2016 at 7:33 AM, Krzysztof Adamski wrote: > H3 has additional PIO controller similar to what we can find on A23. > It's a 12 pin port, described in H3 Datasheet rev 1.1, pages 345-350. > > Signed-off-by: Krzysztof Adamski Acked-by: Chen-Yu Tsai (resent as my mail setup failed to

Re: [PATCH v2] nbd: Issue a uevent when disconnecting

2016-02-05 Thread Wouter Verhelst
Hi Markus, On Fri, Feb 05, 2016 at 10:03:41AM +0100, Markus Pargmann wrote: > Hi Wouter, > > On Tuesday, February 02, 2016 04:27:00 PM Wouter Verhelst wrote: > > There already is a uevent by default when closing a device upon connect > > of the device. However, the same isn't true on disconnect.

Re: [PATCH v5] futex: Remove requirement for lock_page in get_futex_key

2016-02-05 Thread Ingo Molnar
* Thomas Gleixner wrote: > On Thu, 4 Feb 2016, Davidlohr Bueso wrote: > > > On Thu, 04 Feb 2016, Thomas Gleixner wrote: > > > > > On Wed, 3 Feb 2016, Davidlohr Bueso wrote: > > > > +* We are not calling into get_futex_key_refs() in > > > > file-backed > > > > +

Re: [PATCH v3 5/5] pinctrl: sunxi: Use pin number when calling sunxi_pmx_set

2016-02-05 Thread Chen-Yu Tsai
On Thu, Feb 4, 2016 at 7:33 AM, Krzysztof Adamski wrote: > sunxi_pmx_set accepts pin number and then calculates offset by > subtracting pin_base from it. sunxi_pinctrl_gpio_get, on the other hand, > gets offset so we have to convert it to pin number so we won't get > negative value in sunxi_pmx_se

Re: [PATCH v3 3/5] pinctrl: sunxi: Add H3 R_PIO controller support

2016-02-05 Thread Maxime Ripard
On Thu, Feb 04, 2016 at 12:33:48AM +0100, Krzysztof Adamski wrote: > H3 has additional PIO controller similar to what we can find on A23. > It's a 12 pin port, described in H3 Datasheet rev 1.1, pages 345-350. > > Signed-off-by: Krzysztof Adamski Acked-by: Maxime Ripard Thanks! Maxime -- Max

Re: [PATCH v3 4/5] ARM: dts: sun8i-h3: Add R_PIO controller node to the dtsi

2016-02-05 Thread Chen-Yu Tsai
On Thu, Feb 4, 2016 at 7:33 AM, Krzysztof Adamski wrote: > Add the corresponding device node for R_PIO on H3 to the dtsi. Support > for the controller was added in earlier commit. > > Signed-off-by: Krzysztof Adamski > --- > arch/arm/boot/dts/sun8i-h3.dtsi | 12 > 1 file changed, 12

Re: [PATCH V2] i2c: i801: Adding Intel Lewisburg support for iTCO

2016-02-05 Thread Jean Delvare
On Fri, 5 Feb 2016 00:27:46 +0100, Wolfram Sang wrote: > On Thu, Feb 04, 2016 at 03:06:55PM -0800, Alexandra Yates wrote: > > Starting from Intel Sunrisepoint (Skylake PCH) the iTCO watchdog > > resources have been moved to reside under the i801 SMBus host > > controller whereas previously they wer

Re: [PATCH V2 0/7] cpufreq: governors: Fix ABBA lockups

2016-02-05 Thread Viresh Kumar
On 05-02-16, 04:54, Rafael J. Wysocki wrote: > Having actually posted that series again after cleaning it up I can say > what I'm thinking about hopefully without confusing anyone too much. So > please bear in mind that I'm going to refer to this series below: > > http://marc.info/?l=linux-pm&m=1

Re: [PATCH v2 10/26] ARM: sun5i: a13: Add display and TCON clocks

2016-02-05 Thread Chen-Yu Tsai
On Thu, Feb 4, 2016 at 4:31 AM, Maxime Ripard wrote: > Hi, > > On Sun, Jan 17, 2016 at 01:06:07AM +0800, Chen-Yu Tsai wrote: >> > + compatible = "allwinner,sun4i-a10-tcon-ch0-clk"; >> > + reg = <0x01c20118 0x4>; >> > + clocks = <&pl

Re: [PATCH] epoll: restrict EPOLLEXCLUSIVE to POLLIN and POLLOUT

2016-02-05 Thread Madars Vitolins
Andrew Morton @ 2016-02-05 00:59 rakstīja: On Thu, 04 Feb 2016 23:44:05 +0200 Madars Vitolins wrote: Hi Jason, Just run off the original tests with this patch (eventpoll.c from 4.5-rc2 + patch bellow). Got the same good results, no regression. $ time ./bankcl Account balance is: 1359856158

Re: [PATCH v10 5/5] Watchdog: ARM SBSA Generic Watchdog half timeout panic support

2016-02-05 Thread Fu Wei
Hi Guenter, On 4 February 2016 at 13:17, Guenter Roeck wrote: > On 02/03/2016 03:00 PM, Fu Wei wrote: >> >> On 4 February 2016 at 02:45, Timur Tabi wrote: >>> >>> Fu Wei wrote: As you know I have made the pre-timeout support patch, If people like it, i am happy to go on upstr

[PATCH] x86/kernel: use pr_() and dev_

2016-02-05 Thread Chen Yucong
arch/x86/kernel/* use a mixture of printk(KERN_ ) and pr_(). This patch converts the bulk of printk(KERN_ ) to pr_() and uses dev_dbg() instead of the dev_printk(KERN_DEBUG,). All pr_warning() calls have been replaced with pr_warn(). Not sure what to do about the printk(KERN_DEFAULT) and printk()

[PATCH] staging: wilc1000: fix build failure

2016-02-05 Thread Sudip Mukherjee
wowlan' Looking at other drivers wowlan can be only used when CONFIG_PM is defined. Fixes: 73584a40d748 ("staging: wilc1000: add ops resuem/suspend/wakeup in cfg80211") Cc: Glen Lee Signed-off-by: Sudip Mukherjee --- builds of next-20160205. I think I have seen the same repor

Re: [PATCH] scripts/link-vmlinux.sh: force error on kallsyms failure

2016-02-05 Thread Michal Marek
On 2016-02-04 18:09, Ard Biesheuvel wrote: > - ${NM} -n ${1} | \ > - scripts/kallsyms ${kallsymopt} | \ > - ${CC} ${aflags} -c -o ${2} -x assembler-with-cpp - > + # capture the return code of scripts/kallsyms in $RC > + local RC=`(${NM} -n ${1} | \ > +

Re: [RFC PATCH 1/2] iio: hmc5843 Add channel attribute for bias configuration

2016-02-05 Thread Daniel Baluta
On Thu, Feb 4, 2016 at 7:45 PM, Lars-Peter Clausen wrote: > On 02/04/2016 03:50 PM, Cristina Moraru wrote: >> Replace non standard meas_conf attribute with the standard IIO >> calibbias attribute. >> >> API for setting bias measurement configuration: >> >> 0 - Normal measurement configuration (def

Re: [PATCH 1/3] mm: memcontrol: make tree_{stat,events} fetch all stats

2016-02-05 Thread Vladimir Davydov
On Thu, Feb 04, 2016 at 03:45:40PM -0500, Johannes Weiner wrote: > On Thu, Feb 04, 2016 at 04:03:37PM +0300, Vladimir Davydov wrote: > > Currently, tree_{stat,events} helpers can only get one stat index at a > > time, so when there are a lot of stats to be reported one has to call it > > over and o

Re: [PATCH 3/3] mm: memcontrol: report kernel stack usage in cgroup2 memory.stat

2016-02-05 Thread Vladimir Davydov
On Thu, Feb 04, 2016 at 03:52:10PM -0500, Johannes Weiner wrote: > On Thu, Feb 04, 2016 at 04:03:39PM +0300, Vladimir Davydov wrote: > > Show how much memory is allocated to kernel stacks. > > > > Signed-off-by: Vladimir Davydov > > Acked-by: Johannes Weiner Thanks. > > Thanks, this looks go

Re: [PATCH 11/11] arm64: dts: add Pine64 support

2016-02-05 Thread Andre Przywara
Hi, On 05/02/16 09:03, Maxime Ripard wrote: > Hi, > > On Mon, Feb 01, 2016 at 05:39:30PM +, Andre Przywara wrote: >> The Pine64 is a cost-efficient development board based on the >> Allwinner A64 SoC. >> There are three models: the basic version with Fast Ethernet and >> 512 MB of DRAM (Pine6

Re: livepatch/module: remove livepatch module notifier

2016-02-05 Thread Petr Mladek
On Fri 2016-02-05 10:15:56, Miroslav Benes wrote: > On Thu, 4 Feb 2016, Jessica Yu wrote: > > Argh, thank you for catching that. I think we could split up > > complete_formation() > > into two functions in order to make the error handling work. > > > > Does all this look ok? > > Hm, there is an

RE: [PATCH v3 net-next] net: Implement fast csum_partial for x86_64

2016-02-05 Thread David Laight
From: Ingo Molnar ... > As Linus noticed, data lookup tables are the intelligent solution: if you > manage > to offload the logic into arithmetics and not affect the control flow then > that's > a big win. The inherent branching will be hidden by executing on massively > parallel arithmetics unit

Re: [PATCH v6 1/9] ppc64 (le): prepare for -mprofile-kernel

2016-02-05 Thread Petr Mladek
On Fri 2016-02-05 15:40:27, Balbir Singh wrote: > On Thu, Feb 4, 2016 at 10:02 PM, Petr Mladek wrote: > For big endian builds I saw > > Dump of assembler code for function alloc_pages_current: >0xc0256f00 <+0>:mflrr0 >0xc0256f04 <+4>:std r0,16(r1) >0xc0

Re: [PATCH v4 2/2] ASoC: sunxi: Add support for the SPDIF block

2016-02-05 Thread Code Kipper
On 5 February 2016 at 10:27, Maxime Ripard wrote: > Hi, > > On Thu, Feb 04, 2016 at 12:09:22PM +0100, codekip...@gmail.com wrote: >> From: Marcus Cooper >> >> The sun4i, sun5i and sun7i SoC families have an SPDIF >> block which is capable of playback and capture. >> >> This patch enables the play

Re: [PATCH v2 1/2] STAGING: COMEDI: Remove unnecessary typecast of c90 int constant

2016-02-05 Thread Ian Abbott
On 04/02/16 23:43, Pablo G. Gallardo wrote: This patch removes unnecessary typecast of c90 int constant. Signed-off-by: Pablo G. Gallardo --- drivers/staging/comedi/comedi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/comedi/comedi.h b/drivers/staging/

[PATCH v2] scripts/link-vmlinux.sh: force error on kallsyms failure

2016-02-05 Thread Ard Biesheuvel
Since the output of the invocation of scripts/kallsyms is piped directly into the assembler, error messages it emits are visible on stderr, but a non-zero return code is ignored, and the build simply proceeds in that case. However, the resulting kernel is most likely broken, and will crash at boot.

Re: [PATCH v2 2/2] STAGING: COMEDI: Wrap line over 80 characters

2016-02-05 Thread Ian Abbott
On 04/02/16 23:43, Pablo G. Gallardo wrote: This patch wraps lines over 80 characters. Signed-off-by: Pablo G. Gallardo --- drivers/staging/comedi/comedi_pcmcia.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/comedi/comedi_pcmcia.h b/drivers/staging/c

Re: [PATCH] tty: use __GFP_NOWARN for user-controlled kmalloc

2016-02-05 Thread David Rientjes
On Fri, 5 Feb 2016, Dmitry Vyukov wrote: > On Thu, Feb 4, 2016 at 11:11 PM, David Rientjes wrote: > > On Thu, 4 Feb 2016, Dmitry Vyukov wrote: > > > >> Size of kmalloc() in vc_do_resize() is controlled by user. > >> Too large kmalloc() size triggers WARNING message on console. > >> > >> Use __GFP

Re: [PATCH] mm/slab: re-implement pfmemalloc support

2016-02-05 Thread Mel Gorman
On Thu, Feb 04, 2016 at 04:40:12PM +0900, Joonsoo Kim wrote: > Current implementation of pfmemalloc handling in SLAB has some problems. > > 1) pfmemalloc_active is set to true when there is just one or more > pfmemalloc slabs in the system, but it is cleared when there is > no pfmemalloc slab in o

Re: [PATCH] tty: use __GFP_NOWARN for user-controlled kmalloc

2016-02-05 Thread One Thousand Gnomes
On Fri, 5 Feb 2016 08:06:12 +0100 Dmitry Vyukov wrote: > On Thu, Feb 4, 2016 at 11:11 PM, David Rientjes wrote: > > On Thu, 4 Feb 2016, Dmitry Vyukov wrote: > > > >> Size of kmalloc() in vc_do_resize() is controlled by user. > >> Too large kmalloc() size triggers WARNING message on console. >

Re: [PATCH 0/8] perf config: Document config variables in man page

2016-02-05 Thread Taeung Song
On 02/04/2016 11:49 PM, Arnaldo Carvalho de Melo wrote: Em Thu, Feb 04, 2016 at 06:25:05PM +0900, Taeung Song escreveu: Document perf config informations each section in Documentation/perf-config.txt excluding 'help' section. Thanks, applied with some changes, Thank you !! Taeung

Re: [PATCH v8 2/2] add new platform driver for PCI RC

2016-02-05 Thread Joao Pinto
Hi, On 2/4/2016 11:43 PM, Bjorn Helgaas wrote: >> What do you think? > > I don't think the "dw" part is relevant (none of the other > DesignWare-based drivers includes it in the driver or file name). > > How do people typically refer to this board? > > I really like "synopsys" because it fits t

RE: [PATCH v2 2/4] lib: update single-char callers of strtobool

2016-02-05 Thread David Laight
From: Kees Cook > Sent: 04 February 2016 21:01 > Some callers of strtobool were passing a pointer to unterminated strings. > In preparation of adding multi-character processing to kstrtobool, update > the callers to not pass single-character pointers, and switch to using the > new kstrtobool_from_u

Re: [PATCH v3] err.h: allow IS_ERR_VALUE to handle properly more types

2016-02-05 Thread Arnd Bergmann
On Thursday 04 February 2016 10:59:31 Andrew Morton wrote: > On Thu, 04 Feb 2016 13:40:38 +0100 Arnd Bergmann wrote: > > > diff --git a/include/linux/err.h b/include/linux/err.h > > index b7d4a9ff6342..bd4936a2c352 100644 > > --- a/include/linux/err.h > > +++ b/include/linux/err.h > > @@ -18,9 +1

[PATCH RESEND 2/8] perf config: Document variables for 'call-graph' section in man page

2016-02-05 Thread Taeung Song
Explain 'call-graph' section and its variables. 'record-mode', 'dump-size', 'print-type', 'order', 'sort-key', 'threshold' and 'print-limit'. Cc: Namhyung Kim Cc: Jiri Olsa Signed-off-by: Taeung Song --- tools/perf/Documentation/perf-config.txt | 67 1 file ch

Re: [PATCH 0/8] perf config: Document config variables in man page

2016-02-05 Thread Taeung Song
Hi, Arnaldo I'm sorry I missed a thing out. Lastly default calchain perfcent limit is changed to 0.005%. This is a default value of call-graph.threshold. So I resent a modified patch about this. Thanks, Taeung On 02/04/2016 11:49 PM, Arnaldo Carvalho de Melo wrote: Em Thu, Feb 04, 2016 at 06:

Re: [RFC PATCH] SPI/ACPI: DesignWare: Add ACPI support for Designware SPI driver

2016-02-05 Thread Mark Brown
On Fri, Feb 05, 2016 at 03:11:20PM +0800, qiujiang wrote: > This patch added ACPI support for DesignWare SPI mmio driver. It > was based the corresponding DT driver and compatible for this two > way. This patch has been tested on Hisilicon D02 board. It relies > on the GPIO patchset. Intel are he

Re: [PATCH v3 1/5] clk: sunxi: Add apb0 gates for H3

2016-02-05 Thread Maxime Ripard
Hi, On Thu, Feb 04, 2016 at 03:47:52PM +0100, Jean-Francois Moine wrote: > On Thu, 4 Feb 2016 00:33:46 +0100 > Krzysztof Adamski wrote: > > > This patch adds support for APB0 in H3. It seems to be compatible with > > earlier SOCs. apb0 gates controls R_ block peripherals (R_PIO, R_IR, > > etc).

Re: [PATCH v3 1/5] clk: sunxi: Add apb0 gates for H3

2016-02-05 Thread Maxime Ripard
Hi, On Thu, Feb 04, 2016 at 09:56:02PM +0100, Krzysztof Adamski wrote: > On Thu, Feb 04, 2016 at 03:47:52PM +0100, Jean-Francois Moine wrote: > >On Thu, 4 Feb 2016 00:33:46 +0100 > >Krzysztof Adamski wrote: > > > >>This patch adds support for APB0 in H3. It seems to be compatible with > >>earlie

Re: [PATCH 3/5] oom: clear TIF_MEMDIE after oom_reaper managed to unmap the address space

2016-02-05 Thread Tetsuo Handa
Michal Hocko wrote: > On Fri 05-02-16 00:08:25, Tetsuo Handa wrote: > > Michal Hocko wrote: > > > > > + /* > > > > > + * Clear TIF_MEMDIE because the task shouldn't be sitting on a > > > > > + * reasonably reclaimable memory anymore. OOM killer can > > > > > continue > > > > > +

Re: [PATCH v3 5/5] pinctrl: sunxi: Use pin number when calling sunxi_pmx_set

2016-02-05 Thread Maxime Ripard
On Thu, Feb 04, 2016 at 12:33:50AM +0100, Krzysztof Adamski wrote: > sunxi_pmx_set accepts pin number and then calculates offset by > subtracting pin_base from it. sunxi_pinctrl_gpio_get, on the other hand, > gets offset so we have to convert it to pin number so we won't get > negative value in sun

Re: [RFC] perf: fix building for ARCv1

2016-02-05 Thread Noam Camus
>From: Vineet Gupta >Sent: Thursday, February 4, 2016 6:13 AM >Noam, what's the atomic story for EZChip. Do you support such things for user space in GNU tools. If -atomic is added to perf user space builds are you guys OK! Well here for EZchip I also s

Re: [PATCH v3 2/2] powerpc: tracing: don't trace hcalls on offline CPUs

2016-02-05 Thread Denis Kirjanov
On 1/19/16, Denis Kirjanov wrote: > On 1/12/16, Michael Ellerman wrote: >> On Mon, 2015-12-14 at 23:18 +0300, Denis Kirjanov wrote: >> >>> ./drmgr -c cpu -a -r gives the following warning: >>> >>> [ 2327.035563] >>> RCU used illegally from offline CPU! >>> rcu_scheduler_active = 1, debug_locks =

Re: [PATCH] af_packet: Raw socket destruction warning fix

2016-02-05 Thread Eric Dumazet
On Mon, 2016-01-18 at 10:44 +0100, Daniel Borkmann wrote: > On 01/18/2016 07:37 AM, Maninder Singh wrote: > > Receieve queue is not purged when socket dectruction is called > > results in kernel warning because of non zero sk_rmem_alloc. > > > > WARNING: at net/packet/af_packet.c:1142 packet_sock_d

[tip:sched/core] sched/isolcpus: Output warning when the ' isolcpus=' kernel parameter is invalid

2016-02-05 Thread tip-bot for Prarit Bhargava
Commit-ID: a6e4491c682a7b28574a62e6f311a0acec50b318 Gitweb: http://git.kernel.org/tip/a6e4491c682a7b28574a62e6f311a0acec50b318 Author: Prarit Bhargava AuthorDate: Thu, 4 Feb 2016 09:38:00 -0500 Committer: Ingo Molnar CommitDate: Fri, 5 Feb 2016 08:46:38 +0100 sched/isolcpus: Output war

[GIT PULL] sound fixes for 4.5-rc3

2016-02-05 Thread Takashi Iwai
Linus, please pull sound fixes for v4.5-rc3 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-4.5-rc3 The topmost commit is 094fd3be87b0f102589e2d5c3fa5d06b7e20496d sound fixes for 4.5-rc3 This wa

Re: [PATCH 10/10] fs: btrfs: Replace CURRENT_TIME by current_fs_time()

2016-02-05 Thread Deepa Dinamani
The kernel tester found a dereferencing NULL pointer issue with this patch. I think this is the fix: --- a/fs/btrfs/root-tree.c +++ b/fs/btrfs/root-tree.c @@ -488,7 +488,7 @@ void btrfs_update_root_times(struct btrfs_trans_handle *trans, struct btrfs_root *root) {

Re: [PATCH] mm/hugetlb: fix gigantic page initialization/allocation

2016-02-05 Thread Vlastimil Babka
On 02/03/2016 05:15 AM, Mike Kravetz wrote: > On 02/02/2016 07:01 PM, Naoya Horiguchi wrote: >> On Tue, Feb 02, 2016 at 03:17:10PM -0800, Mike Kravetz wrote: >>> I agree. Naoya did debug and provide fix via e-mail exchange. He did not >>> sign-off and I could not tell if he was going to pursue.

Re: [RFC] trace_irqsoff: remove redundant reset per-CPU buff

2016-02-05 Thread Dmitry Safonov
2016-02-05 5:40 GMT+03:00 Steven Rostedt : > On Mon, 19 Oct 2015 21:10:26 +0300 > Dmitry Safonov <0x7f454...@gmail.com> wrote: > >> There is no reason to do it twice: from commit b6f11df26fdc28 >> ("trace: Call tracing_reset_online_cpus before tracer->init()") >> resetting of per-CPU buffers done

Re: [PATCH v3 3/3] portman2x4 - use new parport device model

2016-02-05 Thread Takashi Iwai
On Fri, 05 Feb 2016 07:17:06 +0100, Sudip Mukherjee wrote: > > On Thu, Feb 04, 2016 at 05:51:07PM +0100, Takashi Iwai wrote: > > On Thu, 04 Feb 2016 17:38:23 +0100, > > Sudip Mukherjee wrote: > > > > > > Modify portman driver to use the new parallel port device model. > > > The advantage of using

Re: [PATCH 2/2] spi: spi-pic32: Add PIC32 SPI master driver

2016-02-05 Thread Purna Chandra Mandal
Hi Mark, On 02/02/2016 05:43 PM, Mark Brown wrote: > On Mon, Feb 01, 2016 at 03:44:57PM -0700, Joshua Henderson wrote: > >> The PIC32 SPI driver is capable of performing SPI transfers either using >> polling or based on interrupt-trigger. GPIO based CS support (necessary >> for correct SPI operat

Re: [PATCH v3 1/5] clk: sunxi: Add apb0 gates for H3

2016-02-05 Thread Krzysztof Adamski
On Fri, Feb 05, 2016 at 12:11:52PM +0100, Maxime Ripard wrote: Hi, On Thu, Feb 04, 2016 at 03:47:52PM +0100, Jean-Francois Moine wrote: On Thu, 4 Feb 2016 00:33:46 +0100 Krzysztof Adamski wrote: > This patch adds support for APB0 in H3. It seems to be compatible with > earlier SOCs. apb0 gat

  1   2   3   4   5   6   7   8   >