Re: [PATCH 2/9] perf sched replay: Increase the MAX_PID value to fix assertion failure problem

2015-04-01 Thread Yunlong Song
On 2015/3/31 22:25, David Ahern wrote: On 3/31/15 7:46 AM, Yunlong Song wrote: diff --git a/tools/perf/builtin-sched.c b/tools/perf/builtin-sched.c index a1893e8..c466104 100644 --- a/tools/perf/builtin-sched.c +++ b/tools/perf/builtin-sched.c @@ -28,7 +28,7 @@ #define MAX_CPUS

Re: [PATCH v6 1/6] mfd: axp20x: add AXP22x PMIC support

2015-04-01 Thread Chen-Yu Tsai
On Wed, Apr 1, 2015 at 12:12 AM, Lee Jones lee.jo...@linaro.org wrote: On Wed, 01 Apr 2015, Chen-Yu Tsai wrote: From: Boris BREZILLON boris.brezil...@free-electrons.com Add support for the AXP22x PMIC devices to the existing AXP20x driver. This includes the AXP221 and AXP223, which are

[PATCH] spmi: pmic_arb: remove ARM build time dependency

2015-04-01 Thread Ivan T. Ivanov
Qualcomm PMIC arbiter driver already depends on ARCH_QCOM, which could be either ARM or ARM64. New version of the PMIC arbiter controller is available on 64 bit platforms. Remove ARM dependency to allow driver to be build for 64 bit platforms. Signed-off-by: Ivan T. Ivanov ivan.iva...@linaro.org

Re: [PATCH] lfsr: a simple binary Galois linear feedback shift register

2015-04-01 Thread Peter Zijlstra
On Tue, Mar 31, 2015 at 01:28:09PM -0400, Waiman Long wrote: This patch is based on the code sent out by Peter Zijstra as part of his queue spinlock patch to provide a hashing function with open addressing. The lfsr() function can be used to return a sequence of numbers that cycle through all

Re: [RFC PATCH 5/5] GHES: Make NMI handler have a single reader

2015-04-01 Thread Jiri Kosina
On Fri, 27 Mar 2015, Borislav Petkov wrote: From: Jiri Kosina jkos...@suse.cz Since GHES sources are global, we theoretically need only a single CPU reading them per NMI instead of a thundering herd of CPUs waiting on a spinlock in NMI context for no reason at all. I originally wasn't 100%

Re: [GIT PULL 0/6] perf/core improvements and fixes

2015-04-01 Thread Ingo Molnar
* Arnaldo Carvalho de Melo a...@kernel.org wrote: Hi Ingo, Please consider pulling, - Arnaldo The following changes since commit ccd41c86ad4d464d0ed4e48d80759ff85c2115b0: perf: Fix racy group access (2015-03-27 09:49:45 +0100) are available in the git repository at:

Re: [PATCH] workqueue: avoid nohz_full cores

2015-04-01 Thread Peter Zijlstra
On Tue, Mar 31, 2015 at 03:37:45PM -0400, Tejun Heo wrote: Hello, Chris. On Tue, Mar 31, 2015 at 03:25:59PM -0400, cmetc...@ezchip.com wrote: From: Chris Metcalf cmetc...@ezchip.com When queuing work, we should avoid queuing it on the local cpu if we are using WORK_CPU_UNBOUND and the

Re: [PATCH 8/8] inode: don't softlockup when evicting inodes

2015-04-01 Thread Jan Kara
Sorry for a late reply. I was ill last week... On Fri 20-03-15 13:14:16, Josef Bacik wrote: On a box with a lot of ram (148gb) I can make the box softlockup after running an fs_mark job that creates hundreds of millions of empty files. This is because we never generate enough memory

Re: [PATCH 7/9] x86/asm/entry/32: tidy up some instructions

2015-04-01 Thread Ingo Molnar
* Denys Vlasenko dvlas...@redhat.com wrote: After TESTs, use logically correct JZ mnemonic instead of JE (this doesn't change code). Tidy up CMPW insns: Modern CPUs are not good with 16-bit operations. The instructions with 16-bit immediates are especially bad, on many CPUs they cause

Re: [PATCH] x86/numa: kernel stack corruption fix

2015-04-01 Thread Xishi Qiu
On 2015/4/1 16:21, Xishi Qiu wrote: On 2015/4/1 15:41, Dave Young wrote: On 04/01/15 at 03:27pm, Xishi Qiu wrote: On 2015/4/1 13:11, Dave Young wrote: Ccing Xishi Qiu who wrote the clear_kernel_node_hotplug code. On 04/01/15 at 12:53pm, Dave Young wrote: I got below kernel panic during

[PATCH v6 1/6] mfd: axp20x: add AXP22x PMIC support

2015-04-01 Thread Chen-Yu Tsai
From: Boris BREZILLON boris.brezil...@free-electrons.com Add support for the AXP22x PMIC devices to the existing AXP20x driver. This includes the AXP221 and AXP223, which are identical except for the external data bus. Only AXP221 is added for now. AXP223 will be added after it's Reduced Serial

Re: [PATCH] xen-blkback: define pr_fmt macro to avoid the duplication of DRV_PFX

2015-04-01 Thread Chentao (Boby)
Thanks roger and joe. I will adopt your suggestions in my v2 patch. On 2015/3/31 22:57, Roger Pau Monné wrote: El 31/03/15 a les 23.14, Tao Chen ha escrit: Define pr_fmt macro with {xen-blkback: } prefix, then remove all use of DRV_PFX in the pr and DPRINTK sentences. It will simplify the

Re: [PATCH v5 3/3] leds: Add ktd2692 flash LED driver

2015-04-01 Thread Jacek Anaszewski
Hi Ingi, On 04/01/2015 05:58 AM, Ingi Kim wrote: This patch adds a driver to support the ktd2692 flash LEDs. ktd2692 can control flash current by ExpressWire interface. Signed-off-by: Ingi Kim ingi2@samsung.com --- drivers/leds/Kconfig| 9 + drivers/leds/Makefile | 1 +

Re: [PATCH v6 3/4] perf inject: add jitdump mmap injection support

2015-04-01 Thread Adrian Hunter
On 31/03/15 01:19, Stephane Eranian wrote: This patch adds a --jit option to perf inject. This options injects MMAP records into the perf.data file to cover the jitted code mmaps. It also emits ELF images for each function in the jidump file. Those images are created where the jitdump file

[PATCH v2 3/4] extcon: usb-gpio: make debounce value configurable in devicetree

2015-04-01 Thread Robert Baldyga
This patch adds devicetree property for setting debounce value. It allows to set debounce time shorter or longer depending on the needs of given platform. Signed-off-by: Robert Baldyga r.bald...@samsung.com --- drivers/extcon/extcon-usb-gpio.c | 14 +- 1 file changed, 9

[PATCH v2 2/4] extcon: usb-gpio: add support for VBUS detection

2015-04-01 Thread Robert Baldyga
This patch adds VBUS pin detection support to extcon-usb-gpio driver. It allows to use this driver with boards which have both VBUS and ID pins, or only one of them. Following table of states presents relationship between this signals and detected cable type: State |ID |

[PATCH v2 0/4] extcon: usb-gpio: fixes and improvements

2015-04-01 Thread Robert Baldyga
Hello, This patch set modifies extcon-usb-gpio driver fixing bugs, and adds new features - VBUS pin detection support and 'debounce' property in devicetree node. It also updates documentation with information about new features. More detailed description of changes can be found in commit

[PATCH v2 1/4] extcon: usb-gpio: register extcon device before IRQ registration

2015-04-01 Thread Robert Baldyga
IRQ handler touches info-edev, so if interrupt occurs before extcon device initialization it can cause NULL pointer dereference. Doing extcon initialization before IRQ handler registration fixes this problem. Signed-off-by: Robert Baldyga r.bald...@samsung.com Acked-by: Roger Quadros

Re: [LKP] [mm] b191f9b106e: -8.8% netperf.time.minor_page_faults

2015-04-01 Thread Mel Gorman
On Wed, Apr 01, 2015 at 11:23:34AM +0800, Huang Ying wrote: FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit b191f9b106ea1a24a711dbebb2925d3313da5852 (mm: numa: preserve PTE write permissions across a NUMA hinting fault)

Re: [PATCH 0/5] Support negative number of CPUs

2015-04-01 Thread Paul E. McKenney
On Wed, Apr 01, 2015 at 01:20:31AM +0200, Frederic Weisbecker wrote: Support for machines without any CPU at all was brought 3 years ago by Paul (https://lkml.org/lkml/2012/3/31/131). The goal was to reduce the complexity of programming on modern computing. Now meeting the simplicity beyond

Re: Re: msgrcv: use freezable blocking call

2015-04-01 Thread Peter Zijlstra
On Wed, Apr 01, 2015 at 05:18:46AM +, Maninder Singh wrote: Hi Andrew, Thanks for making new patch, Actually there is some problem with our mail editor. It changes tabs with spaces and corrupts the patch, we are solving the same at our end. Thats why i am sending you signed -off by

Re: [PATCH] ext3: Remove useless condition in if statement.

2015-04-01 Thread Jan Kara
On Mon 23-03-15 11:30:44, Lukáš Czerner wrote: On Fri, 20 Mar 2015, Wei Yuan wrote: Date: Fri, 20 Mar 2015 11:09:10 +0800 From: Wei Yuan weiyuan@huawei.com To: j...@suse.cz, a...@linux-foundation.org, adilger.ker...@dilger.ca Cc: linux-e...@vger.kernel.org,

Re: [RFC PATCH v3 1/2] clk: samsung: Add a clock lookup function

2015-04-01 Thread Javier Martinez Canillas
Hello Mike, On 04/01/2015 03:29 AM, Michael Turquette wrote: Quoting Javier Martinez Canillas (2015-03-31 01:59:39) +Tomeu who I forgot to add to the cc list. Hello Mike, Thanks a lot for your feedback. On 03/31/2015 03:40 AM, Michael Turquette wrote: I don't performance is a big

Re: [PATCH 2/3] power: max17042_battery: Add support for max77693/843 chip

2015-04-01 Thread Beomho Seo
On 04/01/2015 05:27 PM, Krzysztof Kozlowski wrote: 2015-03-31 15:29 GMT+02:00 Beomho Seo beomho@samsung.com: Max77693/843 fuelgauge is similar to max17042 fuelgauge. This patch add supports max77693/843 fuelgague use max17042_battery.c fuel gauge driver. Cc: Sebastian Reichel

[PATCH v6 3/6] regulator: axp20x: prepare support for multiple AXP chip families

2015-04-01 Thread Chen-Yu Tsai
From: Boris BREZILLON boris.brezil...@free-electrons.com Rework the AXP20X_ macros and probe function to support the several chip families, so that each family can define it's own set of regulators. Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com [w...@csie.org: Support

[PATCH] clk: shmobile: r8a7779: check return of of_property_read_string_index()

2015-04-01 Thread Kuninori Morimoto
From: Kuninori Morimoto kuninori.morimoto...@renesas.com This patch indicates error message if return value of of_property_read_string_index() was not zero. Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com --- drivers/clk/shmobile/clk-r8a7779.c | 6 -- 1 file changed, 4

Re: [PATCH V2] sched: Improve load balancing in the presence of idle CPUs

2015-04-01 Thread Preeti U Murthy
On 03/31/2015 11:00 PM, Jason Low wrote: On Tue, 2015-03-31 at 14:28 +0530, Preeti U Murthy wrote: Morten, I am a bit confused about the problem you are pointing to. I am unable to see the issue. What is it that I am missing ? Hi Preeti, Here is one of the potential issues that

[PATCH v3] MAINTAINERS: Add phy-miphy28lp.c and phy-miphy365x.c to ARCH/STI architecture

2015-04-01 Thread Peter Griffin
This patch adds the phy-miphy28lp.c and phy-miphy365x.c phy drivers found on STMicroelectronics stih407 family SoC's into the STI arch section of the maintainers file. Signed-off-by: Peter Griffin peter.grif...@linaro.org Acked-by: Lee Jones lee.jo...@linaro.org --- MAINTAINERS | 2 ++ 1 file

Re: [PATCH 19/25] sched: Use bool function return values of true/false not 1/0

2015-04-01 Thread Peter Zijlstra
On Tue, Mar 31, 2015 at 09:46:40AM -0700, Joe Perches wrote: On Tue, 2015-03-31 at 11:03 +0200, Ingo Molnar wrote: * Peter Zijlstra pet...@infradead.org wrote: On Mon, Mar 30, 2015 at 04:46:17PM -0700, Joe Perches wrote: Use the normal return values for bool functions Update the

Re: [PATCH v6 1/6] mfd: axp20x: add AXP22x PMIC support

2015-04-01 Thread Lee Jones
On Wed, 01 Apr 2015, Chen-Yu Tsai wrote: From: Boris BREZILLON boris.brezil...@free-electrons.com Add support for the AXP22x PMIC devices to the existing AXP20x driver. This includes the AXP221 and AXP223, which are identical except for the external data bus. Only AXP221 is added for now.

Re: [PATCH v6 5/6] mfd: axp20x: Add AXP22x regulator information to DT bindings

2015-04-01 Thread Lee Jones
On Wed, 01 Apr 2015, Chen-Yu Tsai wrote: Add the list of regulators for AXP22x to the DT bindings. This includes the names and supply names. Signed-off-by: Chen-Yu Tsai w...@csie.org --- Documentation/devicetree/bindings/mfd/axp20x.txt | 25 1 file changed, 25

another pmem variant V3

2015-04-01 Thread Christoph Hellwig
Here is another version of the same trivial pmem driver, because two obviously aren't enough. The first patch is the same pmem driver that Ross posted a short time ago, just modified to use platform_devices to find the persistant memory region instead of hardconding it in the Kconfig. This

Re: another pmem variant V2

2015-04-01 Thread Christoph Hellwig
On Tue, Mar 31, 2015 at 10:11:29PM +, Elliott, Robert (Server Storage) wrote: I used fio to test 4 KiB random read and write IOPS on a 2-socket x86 DDR4 system. With various cache attributes: attr readwrite notes - - UC

Re: [PATCH] Btrfs: prevent deletion of mounted subvolumes

2015-04-01 Thread Timo Kokkonen
Hi, On 01.04.2015 10:03, Omar Sandoval wrote: On Tue, Mar 31, 2015 at 10:54:55PM -0500, Eric W. Biederman wrote: Omar Sandoval osan...@osandov.com writes: On Mon, Mar 30, 2015 at 02:30:34PM +0200, David Sterba wrote: On Mon, Mar 30, 2015 at 02:02:17AM -0700, Omar Sandoval wrote: Before

Re: [RFC][PATCH 00/10] tracing: Use TRACE_DEFINE_ENUM() to show enum values

2015-04-01 Thread Masami Hiramatsu
(2015/03/31 22:26), Steven Rostedt wrote: On Tue, 31 Mar 2015 16:36:51 +0900 Masami Hiramatsu masami.hiramatsu...@hitachi.com wrote: Instead of adding an enum mapping file, I could add a way to look at all the events in the system that defined a mapping, and do a s/ENUM_NAME/ENUM_VALUE/g do

Re: [PATCH] x86/numa: kernel stack corruption fix

2015-04-01 Thread Xishi Qiu
On 2015/4/1 13:11, Dave Young wrote: Ccing Xishi Qiu who wrote the clear_kernel_node_hotplug code. On 04/01/15 at 12:53pm, Dave Young wrote: I got below kernel panic during kdump test on Thinkpad T420 laptop: [0.00] No NUMA configuration found

[PATCH v2 4/4] Documentation: extcon: usb-gpio: update usb-gpio binding description

2015-04-01 Thread Robert Baldyga
Add information about VBUS pin detection support, 'debounce' property and some other details. Signed-off-by: Robert Baldyga r.bald...@samsung.com --- .../devicetree/bindings/extcon/extcon-usb-gpio.txt | 28 -- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git

Re: [PATCH 3/9] perf sched replay: Alloc the memory of pid_to_task dynamically to adapt to the unexpected change of pid_max

2015-04-01 Thread Yunlong Song
On 2015/3/31 22:32, David Ahern wrote: On 3/31/15 7:46 AM, Yunlong Song wrote: diff --git a/tools/perf/builtin-sched.c b/tools/perf/builtin-sched.c index c466104..20d887b 100644 --- a/tools/perf/builtin-sched.c +++ b/tools/perf/builtin-sched.c @@ -23,6 +23,7 @@ #include semaphore.h

Re: [PATCH] x86/numa: kernel stack corruption fix

2015-04-01 Thread Dave Young
On 04/01/15 at 03:27pm, Xishi Qiu wrote: On 2015/4/1 13:11, Dave Young wrote: Ccing Xishi Qiu who wrote the clear_kernel_node_hotplug code. On 04/01/15 at 12:53pm, Dave Young wrote: I got below kernel panic during kdump test on Thinkpad T420 laptop: [0.00] No NUMA

Re: [PATCH v2] x86, earlyprintk: Fix two 'defined but not used' compile warnings

2015-04-01 Thread Ingo Molnar
* Mark Einon mark.ei...@gmail.com wrote: Two static functions are only used if CONFIG_PCI is defined,so only build them if this is the case. Fixes the build warnings: arch/x86/kernel/early_printk.c:98:13: warning: ‘mem32_serial_out’ defined but not used [-Wunused-function] static void

Re: usb: gadget: f_fs: O_NONBLOCK waits MAX_SCHEDULE_TIMEOUT

2015-04-01 Thread Robert Baldyga
Hi, On 03/31/2015 08:53 PM, Baxter, Jim wrote: Hi, I have been looking at an issue where a phone that is the Function FS host sometimes locks up and causes the function: static ssize_t ffs_epfile_io(struct file *file, struct ffs_io_data *io_data) in drivers/usb/gadget/function/f_fs.c to

linux-next: Tree for Apr 1

2015-04-01 Thread Stephen Rothwell
Hi all, Changes since 20150331: The 13 trees hosted on git.infradead.org did not get updated today since its git daemon was not responding. New tree: at91 The idle tree lost its build failure. Non-merge commits (relative to Linus' tree): 7543 6834 files changed, 312022 insertions(+), 143735

Re: [PATCH] x86: Drop 32-bit support ... finally.

2015-04-01 Thread Borislav Petkov
peterz says I forgot to Cc Linus. My bad. Fixed. On Wed, Apr 01, 2015 at 10:15:58AM +0200, Borislav Petkov wrote: From: Borislav Petkov b...@suse.de Today, April 1st 2015, marks almost 15 years since the introduction of the 64-bit extensions to the x86 architecture. And frankly, 15 years was

Re: [PATCH 3/5] ARM: mvebu: Allow using the GIC for wakeup in standby mode

2015-04-01 Thread Marcin Wojtas
Hi Gregory, 2015-03-30 16:04 GMT+02:00 Gregory CLEMENT gregory.clem...@free-electrons.com: On the Armada 375/38x/39x SoCs, in standby mode the SoC stay powered and it is possible to wake-up from any interrupt sources. This patch adds flag to the GIC irqchip driver to let linux know this.

[PATCH V3 1/1] serial: 8250_pci: port failed after wakeup from S3

2015-04-01 Thread Peter Hung
Serial ports of F81504/F81508/F81512 will failed when wakeup from S3(STR). It's due to when the system wakeup from S3(STR), this PCI device's configuration space from 0x40 to 0x40 + max_port * 0x08 should be re-configured. We move all initialization from pci_fintek_setup() to pci_fintek_init()

[PATCH V3 0/1] serial: 8250_pci: Fintek products S3 patch

2015-04-01 Thread Peter Hung
The patch works for Fintek F81504/F81508/F81512 PCI to Serial Port IC. Serial port of this IC will failed after wakeup from S3(STR). It's due to this PCI device's configuration space from 0x40 to 0x40 + max_port * 0x08 should be re-configured when the system wakeup from S3(STR). If had no

Re: sched: Improve load balancing in the presence of idle CPUs

2015-04-01 Thread Preeti U Murthy
On 04/01/2015 12:24 AM, Jason Low wrote: On Tue, 2015-03-31 at 14:07 +0530, Preeti U Murthy wrote: Hi Jason, On 03/31/2015 12:25 AM, Jason Low wrote: Hi Preeti, I noticed that another commit 4a725627f21d converted the check in nohz_kick_needed() from idle_cpu() to rq-idle_balance, causing

[PATCH 1/1] irqchip/gicv3: remove duplicated parameter testing

2015-04-01 Thread Zhen Lei
Test hardware irq number from small to large, and add a blank above each comment. To make it more clear. Signed-off-by: Zhen Lei thunder.leiz...@huawei.com --- drivers/irqchip/irq-gic-v3.c | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git

Re: [PATCH 3/9] perf sched replay: Alloc the memory of pid_to_task dynamically to adapt to the unexpected change of pid_max

2015-04-01 Thread Yunlong Song
On 2015/3/31 23:56, Arnaldo Carvalho de Melo wrote: Em Tue, Mar 31, 2015 at 08:32:37AM -0600, David Ahern escreveu: On 3/31/15 7:46 AM, Yunlong Song wrote: - BUG_ON(pid = MAX_PID); + if (sched-pid_to_task == NULL) { + if (sysctl__read_int(kernel/pid_max, pid_max) 0) +

[PATCH v2] xen-blkback: define pr_fmt macro to avoid the duplication of DRV_PFX

2015-04-01 Thread Tao Chen
Define pr_fmt macro with {xen-blkback: } prefix, then remove all use of DRV_PFX in the pr sentences. Replace all DPRINTK with pr sentences, and get rid of DPRINTK macro. It will simplify the code. And if the pr sentences miss a \n, add it in the end. If the DPRINTK sentences have redundant \n,

Re: [PATCH] mm/memblock: add debug output for the memblock_add

2015-04-01 Thread Alexander Kuleshov
2015-04-01 5:38 GMT+06:00 Andrew Morton a...@linux-foundation.org: On Sat, 28 Mar 2015 23:08:03 +0600 Alexander Kuleshov kuleshovm...@gmail.com wrote: I guess this should be memblock_add:. That's what memblock_reserve_region() does? ---

Re: [PATCH 1/1] irqchip/gicv3: remove duplicated parameter testing

2015-04-01 Thread Marc Zyngier
On Wed, 1 Apr 2015 07:54:58 +0100 Zhen Lei thunder.leiz...@huawei.com wrote: Test hardware irq number from small to large, and add a blank above each comment. To make it more clear. Signed-off-by: Zhen Lei thunder.leiz...@huawei.com --- drivers/irqchip/irq-gic-v3.c | 15 +++

Re: [PATCH v2 1/6] virtio_balloon: transitional interface

2015-04-01 Thread Michael S. Tsirkin
On Wed, Apr 01, 2015 at 02:17:23PM +1030, Rusty Russell wrote: I would leave the device *exactly* as is, ugly structure packing and all. But why? It's going to be used for years, might as well make it clean? -- MST -- To unsubscribe from this list: send the line unsubscribe linux-kernel in

Re: [Linux-nvdimm] another pmem variant V2

2015-04-01 Thread Boaz Harrosh
On 04/01/2015 10:50 AM, Ingo Molnar wrote: * Dan Williams dan.j.willi...@intel.com wrote: On Tue, Mar 31, 2015 at 10:24 AM, Christoph Hellwig h...@lst.de wrote: On Tue, Mar 31, 2015 at 06:44:56PM +0200, Ingo Molnar wrote: I'd be fine with that too - mind sending an updated series? I will

[PATCH] x86: Drop 32-bit support ... finally.

2015-04-01 Thread Borislav Petkov
From: Borislav Petkov b...@suse.de Today, April 1st 2015, marks almost 15 years since the introduction of the 64-bit extensions to the x86 architecture. And frankly, 15 years was a graceful period enough for people to move to 64-bit. Therefore, today, I'm removing 32-bit support from x86 Linux.

Re: [PATCH v2] x86, earlyprintk: Fix two 'defined but not used' compile warnings

2015-04-01 Thread Mark Einon
On Wed, Apr 01, 2015 at 09:54:10AM +0200, Ingo Molnar wrote: * Mark Einon mark.ei...@gmail.com wrote: Two static functions are only used if CONFIG_PCI is defined,so only build them if this is the case. Fixes the build warnings: arch/x86/kernel/early_printk.c:98:13: warning:

Re: [PATCH 1/3] power: max17042_battery: Use reg type instead of chip type

2015-04-01 Thread Krzysztof Kozlowski
2015-03-31 15:29 GMT+02:00 Beomho Seo beomho@samsung.com: Currently, max17042 battery driver choose register map by MAX17042_DevName register. But thid register is return IC specific firmware version. So other maxim chip hard to use this drvier. This patch choose reg_type by driver_data. I

Re: [PATCH v4 3/6] Documentation: DT: Document twl4030-madc-battery bindings

2015-04-01 Thread Dr. H. Nikolaus Schaller
Hi Pavel, Am 31.03.2015 um 09:26 schrieb Pavel Machek pa...@ucw.cz: Hi! + io-channels = twl_madc 1, + twl_madc 10, + twl_madc 12; + io-channel-names = temp, +ichg, +vbat;

Re: [PATCH 0/2] workqueue: fix a bug when numa mapping is changed

2015-04-01 Thread Kamezawa Hiroyuki
On 2015/04/01 12:02, Tejun Heo wrote: On Wed, Apr 01, 2015 at 11:55:11AM +0900, Kamezawa Hiroyuki wrote: Now, hot-added cpus will have the lowest free cpu id. Because of this, in most of systems which has only cpu-hot-add, cpu-ids are always contiguous even after cpu hot add. In enterprise,

[PATCH v2 2/3] kernel/reboot.c: Add orderly_reboot for graceful reboot

2015-04-01 Thread Joel Stanley
The kernel has orderly_poweroff which allows the kernel to initiate a graceful shutdown of userspace, by running /sbin/poweroff. This adds orderly_reboot that will cause userspace to shut itself down by calling /sbin/reboot. This will be used for shutdown initiated by a system controller on

[PATCH v2 3/3] powerpc/powernv: Reboot when requested by firmware

2015-04-01 Thread Joel Stanley
Use orderly_reboot so userspace will to shut itself down via the reboot path. This is required for graceful reboot initiated by the BMC, such as when a user uses ipmitool to issue a 'chassis power cycle' command. Signed-off-by: Joel Stanley j...@jms.id.au Acked-by: Michael Ellerman

Re: [rtc-linux] Re: [PATCH 3/3] rtc: hctosys: use function name in the error log

2015-04-01 Thread Alessandro Zummo
On Tue, 31 Mar 2015 20:18:28 -0700 Joe Perches j...@perches.com wrote: Neither __func__ or __FILE__ is really useful here. The message is already specific enough without it. If anything, it'd probably be better to add #define pr_fmt(fmt) KBUILD_MODNAME : fmt Seems reasonable given that

[PATCH 2/2] pmem: add a driver for persistent memory

2015-04-01 Thread Christoph Hellwig
From: Ross Zwisler ross.zwis...@linux.intel.com PMEM is a new driver that presents a reserved range of memory as a block device. This is useful for developing with NV-DIMMs, and can be used with volatile memory as a development platform. This patch contains the initial driver from Ross Zwisler,

[PATCH 1/2] x86: add support for the non-standard protected e820 type

2015-04-01 Thread Christoph Hellwig
Various recent BIOSes support NVDIMMs or ADR using a non-standard e820 memory type, and Intel supplied reference Linux code using this type to various vendors. Wire this e820 table type up to export platform devices for the pmem driver so that we can use it in Linux. Based on arlier work from

Re: [PATCH v2 0/7] CLONE_FD: Task exit notification via file descriptor

2015-04-01 Thread Jonathan Corbet
On Tue, 31 Mar 2015 15:02:24 -0700 j...@joshtriplett.org wrote: This would appear to assume that a clonefd_info structure is the only thing that will ever be read from this descriptor. It seems to me that there is the potential for, someday, wanting to be able to read and write other

Re: [PATCH 1/1] udf: block-based fs should use generic_write_end()

2015-04-01 Thread Jan Kara
On Thu 19-03-15 23:37:59, Taesoo Kim wrote: simple_write_end() is for non-block fs, which doesn't invoke mark_inode_dirty(). Instead, generic_write_end() correctly handles such case when i_size has changed. Signed-off-by: Taesoo Kim tsgat...@gmail.com So simple_write_end() is actually

Re: [PATCH] lfsr: a simple binary Galois linear feedback shift register

2015-04-01 Thread Peter Zijlstra
On Tue, Mar 31, 2015 at 01:28:09PM -0400, Waiman Long wrote: +static __always_inline u32 lfsr_taps(int bits) +static inline u32 lfsr(u32 val, int bits) +{ + u32 bit = val 1; + + /* + * LFSR doesn't work with a start state of 0, so force it to a + * non-zero value (bits)

Re: [PATCH 3/3] power: max17042_battery: add missed blank

2015-04-01 Thread Krzysztof Kozlowski
2015-03-31 15:29 GMT+02:00 Beomho Seo beomho@samsung.com: This patch add missed blank line after decalations. Cc: Sebastian Reichel s...@kernel.org Signed-off-by: Beomho Seo beomho@samsung.com --- drivers/power/max17042_battery.c |2 ++ 1 file changed, 2 insertions(+)

Re: [PATCH v4 10/15] serial: stm32-usart: Add STM32 USART Driver

2015-04-01 Thread Maxime Coquelin
Hello Andy, 2015-03-31 18:45 GMT+02:00 Andy Shevchenko andy.shevche...@gmail.com: On Tue, Mar 31, 2015 at 7:24 PM, Maxime Coquelin mcoquelin.st...@gmail.com wrote: This drivers adds support to the STM32 USART controller, which is a standard serial driver. Tested-by: Chanwoo Choi

Re: Re: [RFC] perf probe: -x option position issue

2015-04-01 Thread Masami Hiramatsu
(2015/03/31 22:33), Arnaldo Carvalho de Melo wrote: Em Tue, Mar 31, 2015 at 05:04:18PM +0900, Masami Hiramatsu escreveu: (2015/03/31 4:48), Arnaldo Carvalho de Melo wrote: No, I can't, I'd say we should support that, i.e. inserting multiple probes per command line, for different DSOs, etc.

Re: linux-next: Tree for Mar 31 (build failures and culprits)

2015-04-01 Thread Daniel Mack
On 04/01/2015 04:45 AM, Guenter Roeck wrote: On 03/31/2015 07:24 PM, Guenter Roeck wrote: Now I am left with the question if the samples build should be masked for alpha and mips, or if I should drop building samples from my 'allmodconfig' builds. I think I'll do the latter; there seems to

Re: [PATCH v1 1/1] mfd: lpc_ich: sort IDs (part 2)

2015-04-01 Thread Lee Jones
On Tue, 31 Mar 2015, Andy Shevchenko wrote: The patch sorts IDs in the table for easier maintenance. There is no functional change. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- drivers/mfd/lpc_ich.c | 18 +- 1 file changed, 9 insertions(+), 9

Re: [PATCH V2] Staging: rtl8192 Clean up function definition

2015-04-01 Thread Dan Carpenter
On Tue, Mar 31, 2015 at 01:25:02PM -0600, Eddie Kovsky wrote: On Tue, Mar 31, 2015 at 10:14:54AM +0300, Dan Carpenter wrote: On Mon, Mar 30, 2015 at 05:05:36PM -0600, Eddie Kovsky wrote: Change function definition to static, move the function further up in the file, and delete the

Re: [Linux-nvdimm] another pmem variant V2

2015-04-01 Thread Ingo Molnar
* Dan Williams dan.j.willi...@intel.com wrote: On Tue, Mar 31, 2015 at 10:24 AM, Christoph Hellwig h...@lst.de wrote: On Tue, Mar 31, 2015 at 06:44:56PM +0200, Ingo Molnar wrote: I'd be fine with that too - mind sending an updated series? I will send an updated one tonight or early

Re: [PATCH v2 1/6] phy: miphy365x: Use the generic phy type constants in dt-bindings/phy/phy.h

2015-04-01 Thread Kishon Vijay Abraham I
Hi, On Wednesday 01 April 2015 12:45 PM, Lee Jones wrote: On Tue, 31 Mar 2015, Maxime Coquelin wrote: Hi Kishon, On 03/31/2015 05:30 PM, Kishon Vijay Abraham I wrote: Maxime, On Tuesday 31 March 2015 01:10 PM, Lee Jones wrote: On Tue, 31 Mar 2015, Kishon Vijay Abraham I wrote: Hi

Re: linux-next: Tree for Mar 31 (build failures and culprits)

2015-04-01 Thread Russell King - ARM Linux
On Tue, Mar 31, 2015 at 07:17:36PM -0700, Guenter Roeck wrote: On 03/31/2015 04:07 PM, Greg Kroah-Hartman wrote: You need 3.17 kernel headers to have memfd_create, not much the kdbus test code can do about that. You might want to update the kernel headers for these build boxes. Seems

Re: [PATCH] x86/numa: kernel stack corruption fix

2015-04-01 Thread Xishi Qiu
On 2015/4/1 15:41, Dave Young wrote: On 04/01/15 at 03:27pm, Xishi Qiu wrote: On 2015/4/1 13:11, Dave Young wrote: Ccing Xishi Qiu who wrote the clear_kernel_node_hotplug code. On 04/01/15 at 12:53pm, Dave Young wrote: I got below kernel panic during kdump test on Thinkpad T420 laptop: [

Re: [PATCH 4/4 V5] workqueue: Allow modifying low level unbound workqueue cpumask

2015-04-01 Thread Lai Jiangshan
Hi, Frederic, TJ I considered a special case and forgot to consider an another case. Let @L = the low level unbound workqueue cpumask. Let @U = the user setting cpumask (wq-unbound_attrs-cpumask). Thus the pwqs in the specified wq are controlled by @L @U ( = cpmask_and()). But the

Re: [PATCH 7/8] bdi: add a new writeback list for sync V3

2015-04-01 Thread Jan Kara
Hi Josef, On Fri 20-03-15 14:49:18, Josef Bacik wrote: From: Dave Chinner dchin...@redhat.com wait_sb_inodes() current does a walk of all inodes in the filesystem to find dirty one to wait on during sync. This is highly inefficient and wastes a lot of CPU when there are lots of clean

Re: [PATCH] pps: Add support for read operations and return a useful value in poll

2015-04-01 Thread Rodolfo Giometti
On Tue, Mar 31, 2015 at 11:31:22PM +0200, Christian Riesch wrote: The PPS_FETCH ioctl in drivers/pps/pps.c blocks until a new PPS event occurs, then returns the time stamp data. While this is fine for lots of applications, sometimes it would be nice if the poll system call and a subsequent

Re: [PATCH 1/7] lib/vsprintf: add %*pg format specifier

2015-04-01 Thread Dmitry Monakhov
Joe Perches j...@perches.com writes: On Tue, 2015-03-31 at 20:01 +0400, Dmitry Monakhov wrote: This allow to directly print block_device name. Currently one should use bdevname() with temporal char buf[BDEVNAME_SIZE]. This is very ineffective because bloat stack usage for deep IO call-traces

Re: [PATCH 3/5] ARM: mvebu: Allow using the GIC for wakeup in standby mode

2015-04-01 Thread Gregory CLEMENT
Hi Marcin, On 01/04/2015 10:34, Marcin Wojtas wrote: Hi Gregory, 2015-03-30 16:04 GMT+02:00 Gregory CLEMENT gregory.clem...@free-electrons.com: On the Armada 375/38x/39x SoCs, in standby mode the SoC stay powered and it is possible to wake-up from any interrupt sources. This patch adds

Re: [PATCH 7/8] bdi: add a new writeback list for sync V3

2015-04-01 Thread Jan Kara
BTW, this should have been patch 6/8, not 7/8... Honza On Fri 20-03-15 14:49:18, Josef Bacik wrote: From: Dave Chinner dchin...@redhat.com wait_sb_inodes() current does a walk of all inodes in the filesystem to find dirty one

Re: [PATCH] clk: shmobile: r8a7779: check return of of_property_read_string_index()

2015-04-01 Thread Geert Uytterhoeven
Hi Morimoto-san, On Wed, Apr 1, 2015 at 8:02 AM, Kuninori Morimoto kuninori.morimoto...@renesas.com wrote: From: Kuninori Morimoto kuninori.morimoto...@renesas.com This patch indicates error message if return value of of_property_read_string_index() was not zero. Signed-off-by: Kuninori

Re: [PATCH 1/1 linux-next] fanotify: fix a lock in fanotify_should_send_event()

2015-04-01 Thread Jan Kara
On Sun 22-03-15 11:48:20, Lino Sanfilippo wrote: On 22.03.2015 10:46, Fabian Frederick wrote: Let's hope it only breaks ltp tests and no _real_ userland stuff (search systems ...) Regards, Fabian Hi Fabian, yes, that worries me too. I know that there have been discussions on

Re: [PATCH 1/3] power: max17042_battery: Use reg type instead of chip type

2015-04-01 Thread Beomho Seo
On 04/01/2015 05:18 PM, Krzysztof Kozlowski wrote: 2015-03-31 15:29 GMT+02:00 Beomho Seo beomho@samsung.com: Currently, max17042 battery driver choose register map by MAX17042_DevName register. But thid register is return IC specific firmware version. So other maxim chip hard to use this

Re: [PATCH perf/core ] perf-probe: Fix to track down unnamed union/structure members

2015-04-01 Thread Masami Hiramatsu
Ping? (2015/03/09 11:15), Masami Hiramatsu wrote: Fix perf probe to track down unnamed union/structure members. perf probe did not track down the tree of unnamed union/structure members, since it just failed to find given name in a parent structure/union. To solve this issue, I've introduced

Re: [PATCH v4 06/15] drivers: reset: Add STM32 reset driver

2015-04-01 Thread Philipp Zabel
Am Dienstag, den 31.03.2015, 18:24 +0200 schrieb Maxime Coquelin: The STM32 MCUs family IPs can be reset by accessing some registers from the RCC block. The list of available reset lines is documented in the DT bindings. Tested-by: Chanwoo Choi cw00.c...@samsung.com Signed-off-by: Maxime

Re: [PATCH v4 05/15] dt-bindings: Document the STM32 reset bindings

2015-04-01 Thread Philipp Zabel
Am Dienstag, den 31.03.2015, 18:24 +0200 schrieb Maxime Coquelin: This adds documentation of device tree bindings for the STM32 reset controller. Tested-by: Chanwoo Choi cw00.c...@samsung.com Signed-off-by: Maxime Coquelin mcoquelin.st...@gmail.com ---

Re: [PATCH_V3 0/2] mtd: nand: jz4780: Add nand and bch driver

2015-04-01 Thread Zubair Lutfullah Kakakhel
Hi, On 31/03/15 18:20, Brian Norris wrote: On Tue, Mar 31, 2015 at 05:59:39PM +0100, Zubair Lutfullah Kakakhel wrote: Hi, Hi! Nit: can you drop the underscore in your 'PATCH_Vx' subjects? It'd make my filtering a bit easier. I usually expect 'PATCH v3'. Thanks! Sure. Will do that for v4

[PATCH] usb: gadget: ffs: don't allow to open with O_NONBLOCK flag

2015-04-01 Thread Robert Baldyga
FunctionFS can't support O_NONBLOCK because read/write operatons are directly translated into USB requests which are asynchoronous, so we can't know how long we will have to wait for request completion. For this reason in case of open with O_NONBLOCK flag we return -EWOULDBLOCK. Signed-off-by:

Re: [PATCH v2 1/6] virtio_balloon: transitional interface

2015-04-01 Thread Michael S. Tsirkin
On Wed, Apr 01, 2015 at 07:53:14PM +1030, Rusty Russell wrote: Michael S. Tsirkin m...@redhat.com writes: On Wed, Apr 01, 2015 at 02:17:23PM +1030, Rusty Russell wrote: I would leave the device *exactly* as is, ugly structure packing and all. But why? It's going to be used for years,

[PATCH v4] cpufreq: powernv: Report cpu frequency throttling

2015-04-01 Thread Shilpasri G Bhat
The power and thermal safety of the system is taken care by an On-Chip-Controller (OCC) which is real-time subsystem embedded within the POWER8 processor. OCC continuously monitors the memory and core temperature, the total system power, state of power supply and fan. The cpu frequency can be

Re: [LKP] [Btrfs] 3a8b36f3780: -62.6% fileio.requests_per_sec

2015-04-01 Thread Filipe Manana
On 04/01/2015 05:59 AM, Huang Ying wrote: On Tue, 2015-03-31 at 15:59 +0100, Filipe Manana wrote: [snip] From: Filipe Manana fdman...@suse.com Date: Tue, 31 Mar 2015 14:16:52 +0100 Subject: [PATCH] Btrfs: avoid syncing log in the fast fsync path when not necessary Commit

Re: [PATCH 2/3] rtc: __rtc_read_time: reduce log level

2015-04-01 Thread Alexandre Belloni
On 31/03/2015 at 20:25:19 -0700, Joe Perches wrote : On Wed, 2015-04-01 at 05:21 +0200, Alexandre Belloni wrote: On 28/03/2015 at 23:09:35 +0200, Aaro Koskinen wrote : __rtc_read_time logs should be debug logs instead of error logs. For example, when the RTC clock is not set, it's not

[PATCH v3 0/3] clk: fractional-divider: do a clean up

2015-04-01 Thread Andy Shevchenko
Patches are self-explanatory I think. So, just changelog is provided here. It would be really nice to queue them to v4.1. Patches 2/3 and 3/3 are dependent to the patch 1/7 from [1] clk: replace div_mask() by clk_div_mask(). The series was tested with 8250_dw UART driver on Intel Braswell. [1]

Re: [Xen-devel] [PATCH 2/2] xen/grant: introduce func gnttab_unmap_refs_async_wait_completion()

2015-04-01 Thread David Vrabel
On 26/03/15 12:16, Bob Liu wrote: There are several place using gnttab async unmap and wait for completion, so move the common code to a function gnttab_unmap_refs_async_wait_completion(). [...] + +int gnttab_unmap_refs_async_wait_completion(struct gntab_unmap_queue_data* item) This name

[PATCH 3/4] perf tools: report: introduce --map-adjustment argument.

2015-04-01 Thread Wang Nan
This patch introduces a --map-adjustment argument for perf report. The goal of this option is to deal with private dynamic loader used in some special program. Some programs write their private dynamic loader instead of glibc ld for different reasons. They mmap() executable memory area, assemble

[PATCH 2/4] perf tools: introduce machine_map_new to merge mmap/mmap2 processing code.

2015-04-01 Thread Wang Nan
Create a machine_map_new() and merge mapping code in machine__process_mmap2_event() and machine__process_mmap_event() together. This patch is a preparation for following map adjustment patches. Signed-off-by: Wang Nan wangn...@huawei.com --- tools/perf/util/machine.c | 30

[PATCH 4/4] perf tools: unwinding: try to read from map_adj for a unmapped address.

2015-04-01 Thread Wang Nan
Previous patch allows users to use --map-adjustment to hint perf about address ranges known to be shared object files backended. However, if only parts of such object files are read, libunwind will fail to get required information from unmapped area of those files. This patch makes

  1   2   3   4   5   6   7   8   9   10   >