[PATCH 03/13] twl4030_charger: correctly handle -EPROBE_DEFER from devm_usb_get_phy_by_node

2015-07-29 Thread NeilBrown
Now that twl4030_bci_probe can safely return -EPROBE_DEFER, do so when devm_usb_get_phy_by_node returns that error. Signed-off-by: NeilBrown --- drivers/power/twl4030_charger.c |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/power/twl4030_charger.c

[PATCH 00/13] Enhance twl4030_charger functionality. - V3

2015-07-29 Thread NeilBrown
Following is most of my twl4030_charger patches, rebased against git://git.infradead.org/battery-2.6 Since the previous set I have added the conversion to module_platform_driver so EPROBE_DEFER can be used, and fixed a few minor typos. This does not include the changes to add extcon support,

[PATCH 02/13] twl4030_charger: convert to module_platform_driver instead of ..._probe.

2015-07-29 Thread NeilBrown
From: Pavel Machek Drivers using module_platform_driver_probe cannot return EPROBE_DEFER from the probe function, which makes them rather useless these days... Convert to module_platform_driver() so EPROBE_DEFER can be used. Signed-off-by: Pavel Machek Signed-off-by: NeilBrown ---

[PATCH 06/13] twl4030_charger: allow fine control of charger current.

2015-07-29 Thread NeilBrown
The twl4030 allows control of the incoming current. Part of this control is a 'CGAIN' setting which doubles the range for half the precision. This control affects several different current setting, so all need to be updated at once when CGAIN is changed. With this patch, all of these current

[PATCH 10/13] twl4030_charger: add software controlled linear charging mode.

2015-07-29 Thread NeilBrown
Add a 'continuous' option for usb charging which enables the "linear" charging mode of the twl4030. Linear charging does a good job with not-so-reliable power sources. Auto mode does not work well as it switches off when voltage drops momentarily. Care must be taken not to over-charge. It was

[PATCH 12/13] twl4030_charger: Increase current carefully while watching voltage.

2015-07-29 Thread NeilBrown
The USB Battery Charging spec (BC1.2) suggests a dedicated charging port can deliver from 0.5 to 5.0A at between 4.75 and 5.25 volts. To choose the "correct" current voltage setting requires a trial and error approach: try to draw current and see if the voltage drops too low. Even with a

[PATCH 01/13] twl4030_charger: use runtime_pm to keep usb phy active while charging.

2015-07-29 Thread NeilBrown
The twl4030 usb phy needs to be active while we are using the USB VBUS as a current source for charging. In particular, the usb3v1 regulator must be enabled and the PHY_PWR_PHYPWD bit must be set to keep the phy powered. commit ab37813f4093a5f59cb8e083cde277289dc72ed3 twl4030_charger: Allow

[PATCH 4/5] rtc: at91sam9: get sclk rate after enabling it

2015-07-29 Thread Alexandre Belloni
See help for clk_get_rate(): "obtain the current clock rate (in Hz) for a clock source. This is only valid once the clock source has been enabled." It currently returns the correct value but that may not stay that way. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-at91sam9.c | 13

[PATCH 14/20] rtc: at91rm9200: get and use slow clock

2015-07-29 Thread Alexandre Belloni
Commit dca1a4b5ff6e ("clk: at91: keep slow clk enabled to prevent system hang") added a workaround for the slow clock as it is not properly handled by its users. Get and use the slow clock as it is necessary for the at91rm9200 rtc. Signed-off-by: Alexandre Belloni --- Cc: Alessandro Zummo Cc:

[PATCH 17/20] power/reset: at91-reset: get and use slow clock

2015-07-29 Thread Alexandre Belloni
Commit dca1a4b5ff6e ("clk: at91: keep slow clk enabled to prevent system hang") added a workaround for the slow clock as it is not properly handled by its users. Get and use the slow clock as it is necessary for the at91 reset controller. Signed-off-by: Alexandre Belloni --- Cc: Sebastian

[PATCH 1/5] rtc: at91sam9: properly handle error case

2015-07-29 Thread Alexandre Belloni
In case of a probe error, it is possible to abort after issuing clk_prepare_enable(). Ensure the clock is disabled and unprepared in that case. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-at91sam9.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git

[PATCH 01/20] Documentation: dt: atmel-at91: add clocks to system timer, rstc and shdwc

2015-07-29 Thread Alexandre Belloni
The system timer (at91rm9200), the reset controller and the shutdown controller need an input clock. This is the slow clock and they will not function without it. Also fix the shutdown controller example. Signed-off-by: Alexandre Belloni --- Cc: Sebastian Reichel Cc: Dmitry Eremin-Solenikov

[PATCH 18/20] power/reset: at91-poweroff: get and use slow clock

2015-07-29 Thread Alexandre Belloni
Commit dca1a4b5ff6e ("clk: at91: keep slow clk enabled to prevent system hang") added a workaround for the slow clock as it is not properly handled by its users. Get and use the slow clock as it is necessary for the at91 shutdown controller. Signed-off-by: Alexandre Belloni --- Cc: Sebastian

[PATCH 15/20] watchdog: at91sam9: get and use slow clock

2015-07-29 Thread Alexandre Belloni
Commit dca1a4b5ff6e ("clk: at91: keep slow clk enabled to prevent system hang") added a workaround for the slow clock as it is not properly handled by its users. Get and use the slow clock as it is necessary for the at91sam9 watchdog. Signed-off-by: Alexandre Belloni --- Cc: Wim Van Sebroeck

[PATCH 16/20] power/reset: at91-reset: remove useless at91_reset_platform_probe()

2015-07-29 Thread Alexandre Belloni
Since all the at91 platforms are now DT only, at91_reset_platform_probe() is now useless, remove it. Signed-off-by: Alexandre Belloni --- Cc: Sebastian Reichel Cc: Dmitry Eremin-Solenikov Cc: linux...@vger.kernel.org drivers/power/reset/at91-reset.c | 36 +---

[PATCH 05/20] ARM: at91/dt: at91sam9260: use slow clock where necessary

2015-07-29 Thread Alexandre Belloni
The watchdog, the reset controller, the real-time timer and the shutdown controller need the slow clock, add it where necessary. Signed-off-by: Alexandre Belloni --- Cc: Jean-Christophe Plagniol-Villard arch/arm/boot/dts/at91sam9260.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git

[PATCH 19/20] clocksource: atmel-st: get and use slow clock

2015-07-29 Thread Alexandre Belloni
The current slow clock rate is hardcoded. Properly get the slow clock and use its rate. Signed-off-by: Alexandre Belloni --- Cc: Daniel Lezcano Cc: Thomas Gleixner drivers/clocksource/timer-atmel-st.c | 31 ++- 1 file changed, 22 insertions(+), 9 deletions(-) diff

[PATCH 20/20] clk: at91: Revert "keep slow clk enabled to prevent system hang"

2015-07-29 Thread Alexandre Belloni
Commit dca1a4b5ff6e ("clk: at91: keep slow clk enabled to prevent system hang") added a workaround for the slow clock as it is not properly handled by its users. Now that the slow clock is taken properly by the drivers, this workaround is not necessary anymore, revert it. Signed-off-by:

[PATCH 02/20] Documentation: watchdog: at91sam9_wdt: add clocks property

2015-07-29 Thread Alexandre Belloni
The watchdog has an input clock, the slow clock. It is required as it will not function without it. Signed-off-by: Alexandre Belloni --- Cc: Wim Van Sebroeck Cc: linux-watch...@vger.kernel.org Documentation/devicetree/bindings/watchdog/atmel-wdt.txt | 2 ++ 1 file changed, 2 insertions(+)

[PATCH 2/4] perf, tools, stat: Abstract stat metrics printing

2015-07-29 Thread Andi Kleen
From: Andi Kleen Abstract the printing of shadow metrics. Instead of every metric calling fprintf directly and taking care of indentation, use two call backs: one to print metrics and another to start a new line. This will allow adding metrics to CSV mode and also using them for other purposes.

[PATCH 10/20] ARM: at91/dt: at91sam9rl: use slow clock where necessary

2015-07-29 Thread Alexandre Belloni
The watchdog, the reset controller, the RTC, the real-time timer and the shutdown controller need the slow clock, add it where necessary. Signed-off-by: Alexandre Belloni --- Cc: Jean-Christophe Plagniol-Villard arch/arm/boot/dts/at91sam9rl.dtsi | 4 1 file changed, 4 insertions(+) diff

[PATCH 1/4] perf, tools: Do not include escape sequences in color_vfprintf return

2015-07-29 Thread Andi Kleen
From: Andi Kleen color_vprintf was including the length of the invisible escape sequences in its return argument. Don't include them to make the return value usable for indentation calculations. Signed-off-by: Andi Kleen --- tools/perf/util/color.c | 6 +++--- 1 file changed, 3 insertions(+),

[PATCH 4/4] perf, tools, stat: Implement CSV metrics output

2015-07-29 Thread Andi Kleen
From: Andi Kleen Now support CSV output for metrics. With the new output callbacks this is relatively straight forward by creating new callbacks. The new line callback needs to know the number of fields to skip them correctly To avoid reordering the existing CSV fields, I had to move the noise

Re: [PATCH 0/4] enable migration of driver pages

2015-07-29 Thread Gioh Kim
2015-07-29 오후 9:46에 Daniel Vetter 이(가) 쓴 글: On Wed, Jul 29, 2015 at 01:16:14PM +0100, Mel Gorman wrote: On Wed, Jul 29, 2015 at 12:55:54PM +0200, Daniel Vetter wrote: On Wed, Jul 29, 2015 at 11:49:45AM +0100, Mel Gorman wrote: On Mon, Jul 13, 2015 at 05:35:15PM +0900, Gioh Kim wrote: My

Re: [PATCH v2 0/3] Add MDIO support to ThunderX NIC driver

2015-07-29 Thread David Miller
From: mohun...@gmail.com Date: Tue, 28 Jul 2015 15:12:10 -0700 > This patch series adds MDIO support to ThunderX NIC driver by making use > of existing mdio-octeon driver. In the process modified the mdio-octeon > driver to work on both Octeon and ThunderX platforms. > > * From v1: > - Removed

Re: [net-next PATCH] net: netcp: Fixes efuse mac addr swap on k2e and k2l

2015-07-29 Thread David Miller
From: WingMan Kwok Date: Tue, 28 Jul 2015 16:01:11 -0400 > On some of the K2E and K2L platforms, the two DWORDs in > efuse occupied by the pre-programmed mac address for > slave port 1 are swapped. To workaround this issue, > this patch adds a new define NETCP_EFUSE_ADDR_SWAP (2) > which

Re: [PATCH v1 1/7] ARM: dts: ifc6410: Add pwrseq support for WLAN

2015-07-29 Thread Bjorn Andersson
On Tue 28 Jul 05:53 PDT 2015, Srinivas Kandagatla wrote: > This patch adds pwrseq for WLAN which resets the WLAN just before the > SDIO bus is up. > Does this mean that we have the !power-of-2 patch in mmc on the way? > Signed-off-by: Srinivas Kandagatla > --- >

Re: [PATCH] HID: hid-input: Fix accessing freed memory during driver unbind

2015-07-29 Thread Dmitry Torokhov
On Thu, Jul 30, 2015 at 08:42:12AM +0900, Krzysztof Kozlowski wrote: > 2015-07-30 2:46 GMT+09:00 Dmitry Torokhov : > > On Wed, Jul 29, 2015 at 03:07:04PM +0200, Jiri Kosina wrote: > >> On Tue, 28 Jul 2015, Krzysztof Kozlowski wrote: > >> > >> > During unbinding the driver was dereferencing a

Re: [PATCH v4 0/4] bpf: Introduce the new ability of eBPF programs to access hardware PMU counter

2015-07-29 Thread Daniel Borkmann
On 07/28/2015 01:17 PM, Kaixu Xia wrote: Previous patch v3 url: https://lkml.org/lkml/2015/7/23/203 ... Kaixu Xia (3): bpf: Add new bpf map type to store the pointer to struct perf_event bpf: Implement function bpf_perf_event_read() that get the selected hardware PMU conuter

Re: [PATCH v2 08/25] arch: introduce memremap()

2015-07-29 Thread Toshi Kani
On Wed, 2015-07-29 at 23:43 +0200, Luis R. Rodriguez wrote: > On Wed, Jul 29, 2015 at 03:00:38PM -0600, Toshi Kani wrote: > > On Wed, 2015-07-29 at 11:33 -0700, Dan Williams wrote: > > > On Wed, Jul 29, 2015 at 11:27 AM, Luis R. Rodriguez > > > wrote: > > > > On Wed, Jul 29, 2015 at 08:50:04AM

Re: [PATCH v2 0/3] Add MDIO support to ThunderX NIC driver

2015-07-29 Thread Radha Mohan
On Tue, Jul 28, 2015 at 3:12 PM, wrote: > From: Radha Mohan Chintakuntla > > This patch series adds MDIO support to ThunderX NIC driver by making use > of existing mdio-octeon driver. In the process modified the mdio-octeon > driver to work on both Octeon and ThunderX platforms. > > * From v1:

Re: [RFC 1/4] mm, compaction: introduce kcompactd

2015-07-29 Thread Dave Chinner
On Wed, Jul 29, 2015 at 08:34:06AM +0200, Vlastimil Babka wrote: > On 07/29/2015 02:33 AM, David Rientjes wrote: > > On Fri, 24 Jul 2015, Vlastimil Babka wrote: > > > >> > Two issues I want to bring up: > >> > > >> > (1) do non-thp configs benefit from periodic compaction? > >> > > >> >

Re: [PATCH v4 4/4] samples/bpf: example of get selected PMU counter value

2015-07-29 Thread Daniel Borkmann
On 07/28/2015 01:17 PM, Kaixu Xia wrote: This is a simple example and shows how to use the new ability to get the selected Hardware PMU counter value. Signed-off-by: Kaixu Xia ... diff --git a/samples/bpf/tracex6_user.c b/samples/bpf/tracex6_user.c new file mode 100644 index 000..e607eac

Re: [PATCH v4 3/4] bpf: Implement function bpf_perf_event_read() that get the selected hardware PMU conuter

2015-07-29 Thread Daniel Borkmann
On 07/28/2015 01:17 PM, Kaixu Xia wrote: According to the perf_event_map_fd and index, the function bpf_perf_event_read() can convert the corresponding map value to the pointer to struct perf_event and return the Hardware PMU counter value. Signed-off-by: Kaixu Xia --- include/linux/bpf.h

Re: [PATCH] backlight: pm8941-wled: Add default-brightness property

2015-07-29 Thread Bjorn Andersson
On Fri 24 Jul 08:29 PDT 2015, Rob Herring wrote: > On Thu, Jul 23, 2015 at 2:52 PM, Bjorn Andersson > wrote: > > Add the possibility of specifying the default brightness in DT. > > > > Signed-off-by: Bjorn Andersson > > --- > > > > This depends on the patch moving pm8941-wled to backlight [1].

[PATCH] MAINTAINERS: change 842 NX owner email address

2015-07-29 Thread Dan Streetman
Change my IBM email to my personal IEEE email. I'm leaving IBM, so my email there won't work anymore. This changes the owner to my personal email, so I can still get cc'ed on patches, until someone at IBM sends a patch to take it over. Signed-off-by: Dan Streetman --- MAINTAINERS | 2 +- 1

mmotm 2015-07-29-16-47 uploaded

2015-07-29 Thread akpm
The mm-of-the-moment snapshot 2015-07-29-16-47 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You

Re: [PATCH 0/4] Input: Merge max77843 haptic driver into max77693

2015-07-29 Thread Krzysztof Kozlowski
2015-07-30 2:08 GMT+09:00 Dmitry Torokhov : > On Wed, Jul 29, 2015 at 03:31:26PM +0900, Krzysztof Kozlowski wrote: >> Hi, >> >> >> Description >> === >> The Maxim 77843 haptic driver differs from 77693 by: >> 1. Setting the bias. >> 2. Different configuration register. >> 3. Not enabling

[PATCH] crypto: nx - don't err if compressed output > input

2015-07-29 Thread Dan Streetman
Return success instead of error if compression succeeds but the output is larger than the input. It's unlikely that the caller will use the compressed data since it's larger than the original uncompressed data, but there was no error and returning an error code is incorrect. Further, for testing

[PATCH] crypto: nx - use be32_to_cpu for __be32 field in debug msg

2015-07-29 Thread Dan Streetman
One of the debug messages in the NX 842 PowerNV driver is missing the required be32_to_cpu() wrapper when accessing the __be32 field csb->count. Add the wrapper so the message will show the correct count. Signed-off-by: Dan Streetman --- drivers/crypto/nx/nx-842-powernv.c | 3 ++- 1 file

Re: [PATCH] HID: hid-input: Fix accessing freed memory during driver unbind

2015-07-29 Thread Krzysztof Kozlowski
2015-07-30 2:46 GMT+09:00 Dmitry Torokhov : > On Wed, Jul 29, 2015 at 03:07:04PM +0200, Jiri Kosina wrote: >> On Tue, 28 Jul 2015, Krzysztof Kozlowski wrote: >> >> > During unbinding the driver was dereferencing a pointer to memory >> > already freed by power_supply_unregister(). >> > >> > Driver

Re: [PATCH] bus: subsys: propagate errors from subsys interface's ->add_dev()

2015-07-29 Thread Greg KH
On Thu, Jul 30, 2015 at 01:29:01AM +0200, Rafael J. Wysocki wrote: > On Wednesday, July 29, 2015 03:37:43 PM Greg KH wrote: > > On Thu, Jul 30, 2015 at 01:01:21AM +0200, Rafael J. Wysocki wrote: > > > On Wednesday, July 29, 2015 02:19:16 PM Greg KH wrote: > > > > On Fri, Jun 26, 2015 at 02:32:47PM

Re: [PATCH v4 2/4] bpf: Add new bpf map type to store the pointer to struct perf_event

2015-07-29 Thread Daniel Borkmann
On 07/28/2015 01:17 PM, Kaixu Xia wrote: Introduce a new bpf map type 'BPF_MAP_TYPE_PERF_EVENT_ARRAY'. This map only stores the pointer to struct perf_event. The user space event FDs from perf_event_open() syscall are converted to the pointer to struct perf_event and stored in map.

Re: hugetlb pages not accounted for in rss

2015-07-29 Thread Mike Kravetz
On 07/29/2015 12:08 PM, David Rientjes wrote: On Tue, 28 Jul 2015, Jörn Engel wrote: Well, we definitely need something. Having a 100GB process show 3GB of rss is not very useful. How would we notice a memory leak if it only affects hugepages, for example? Since the hugetlb pool is a

[PATCH] cpufreq: Lock CPU online/offline in cpufreq_register_driver()

2015-07-29 Thread Rafael J. Wysocki
From: Rafael J. Wysocki To protect against races with concurrent CPU online/offline, call get_online_cpus() before registering a cpufreq driver. Signed-off-by: Rafael J. Wysocki --- drivers/cpufreq/cpufreq.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) Index:

Re: [PATCH v4 1/4] bpf: Make the bpf_prog_array_map more generic

2015-07-29 Thread Daniel Borkmann
On 07/28/2015 01:17 PM, Kaixu Xia wrote: From: Wang Nan According to the comments from Daniel, rewrite part of the bpf_prog_array map code and make it more generic. So the new perf_event_array map type can reuse most of code with bpf_prog_array map and add fewer lines of special code. Tested

Re: [Xen-devel] [PATCH v4 0/3] x86: modify_ldt improvement, test, and config option

2015-07-29 Thread Andy Lutomirski
On Wed, Jul 29, 2015 at 4:02 PM, Andrew Cooper wrote: > On 29/07/2015 23:49, Boris Ostrovsky wrote: >> On 07/29/2015 06:46 PM, David Vrabel wrote: >>> >>> On 29/07/2015 23:11, Andrew Cooper wrote: On 29/07/2015 23:05, Andy Lutomirski wrote: > On Wed, Jul 29, 2015 at 2:37 PM, Andrew

Re: [Xen-devel] [PATCH v4 0/3] x86: modify_ldt improvement, test, and config option

2015-07-29 Thread David Vrabel
On 29/07/2015 23:11, Andrew Cooper wrote: > On 29/07/2015 23:05, Andy Lutomirski wrote: >> On Wed, Jul 29, 2015 at 2:37 PM, Andrew Cooper >> wrote: >>> On 29/07/2015 22:26, Andy Lutomirski wrote: On Wed, Jul 29, 2015 at 2:23 PM, Boris Ostrovsky wrote: > On 07/29/2015 03:03 PM,

Re: linux-next: manual merge of the akpm-current tree with the tip tree

2015-07-29 Thread Thomas Gleixner
On Thu, 30 Jul 2015, Stephen Rothwell wrote: > Hi Andrea, > > On Wed, 29 Jul 2015 19:12:56 +0200 Andrea Arcangeli > wrote: > > > > On Tue, Jul 28, 2015 at 04:00:15PM +1000, Stephen Rothwell wrote: > > > -359 i386userfaultfd sys_userfaultfd > > > ++374 i386

Re: linux-next: manual merge of the akpm-current tree with the tip tree

2015-07-29 Thread Stephen Rothwell
Hi Andrea, On Wed, 29 Jul 2015 19:12:56 +0200 Andrea Arcangeli wrote: > > On Tue, Jul 28, 2015 at 04:00:15PM +1000, Stephen Rothwell wrote: > > -359 i386userfaultfd sys_userfaultfd > > ++374 i386userfaultfd sys_userfaultfd > > Do I understand

Re: [PATCH v6 8/8] mfd: Add support for Intel Sunrisepoint LPSS devices

2015-07-29 Thread Rafael J. Wysocki
On Wednesday, July 29, 2015 03:44:34 PM Michael Turquette wrote: > Hi Andy, [cut] > Do ACPI tables encode any meaningful data about clock signals? I gave > some advice on this topic a couple of years ago to folks hacking on ACPI > stuff in Linux, but I haven't kept up with the topic. > > By

Re: [Xen-devel] [PATCH v4 0/3] x86: modify_ldt improvement, test, and config option

2015-07-29 Thread Andrew Cooper
On 29/07/2015 23:49, Boris Ostrovsky wrote: > On 07/29/2015 06:46 PM, David Vrabel wrote: >> >> On 29/07/2015 23:11, Andrew Cooper wrote: >>> On 29/07/2015 23:05, Andy Lutomirski wrote: On Wed, Jul 29, 2015 at 2:37 PM, Andrew Cooper wrote: > On 29/07/2015 22:26, Andy Lutomirski

Re: [PATCH] bus: subsys: propagate errors from subsys interface's ->add_dev()

2015-07-29 Thread Rafael J. Wysocki
On Wednesday, July 29, 2015 03:37:43 PM Greg KH wrote: > On Thu, Jul 30, 2015 at 01:01:21AM +0200, Rafael J. Wysocki wrote: > > On Wednesday, July 29, 2015 02:19:16 PM Greg KH wrote: > > > On Fri, Jun 26, 2015 at 02:32:47PM +0530, Viresh Kumar wrote: > > > > ->add_dev() may fail and the error

Re: [Xen-devel] [PATCH v4 0/3] x86: modify_ldt improvement, test, and config option

2015-07-29 Thread David Vrabel
On 29/07/2015 23:49, Boris Ostrovsky wrote: > On 07/29/2015 06:46 PM, David Vrabel wrote: >> >> On 29/07/2015 23:11, Andrew Cooper wrote: >>> On 29/07/2015 23:05, Andy Lutomirski wrote: On Wed, Jul 29, 2015 at 2:37 PM, Andrew Cooper wrote: > On 29/07/2015 22:26, Andy Lutomirski

Re: [PATCH v1 1/7] ARM: dts: ifc6410: Add pwrseq support for WLAN

2015-07-29 Thread Stephen Boyd
On 07/28/2015 05:53 AM, Srinivas Kandagatla wrote: + + sdcc4_pwrseq:pwrseq { Missing space here between label and node name. + compatible = "mmc-pwrseq-simple"; + reset-gpios = <_gpio 43 GPIO_ACTIVE_LOW>; + }; + Also

Re: [PATCH V12 0/9] Hot cpu handling changes to cqm, rapl and Intel Cache Allocation support

2015-07-29 Thread Vikas Shivappa
On Wed, 29 Jul 2015, Peter Zijlstra wrote: On Fri, Jul 24, 2015 at 11:28:22AM -0700, Vikas Shivappa wrote: On Fri, 24 Jul 2015, Thomas Gleixner wrote: On Wed, 1 Jul 2015, Vikas Shivappa wrote: Cache allocation patches(dependent on prep patches) adds a cgroup subsystem to support the new

Re: [Xen-devel] [PATCH v4 0/3] x86: modify_ldt improvement, test, and config option

2015-07-29 Thread Boris Ostrovsky
On 07/29/2015 06:46 PM, David Vrabel wrote: On 29/07/2015 23:11, Andrew Cooper wrote: On 29/07/2015 23:05, Andy Lutomirski wrote: On Wed, Jul 29, 2015 at 2:37 PM, Andrew Cooper wrote: On 29/07/2015 22:26, Andy Lutomirski wrote: On Wed, Jul 29, 2015 at 2:23 PM, Boris Ostrovsky wrote: On

Re: [PATCH v1 7/7] ARM: dts: ifc6410: add inforce LVDS panel support

2015-07-29 Thread Stephen Boyd
On 07/28/2015 05:54 AM, Srinivas Kandagatla wrote: + + panel_3p3v: panel_3p3v { + compatible = "regulator-fixed"; + pinctrl-0 = <_en_gpios>; + pinctrl-names = "default"; +

Re: [PATCH v6 8/8] mfd: Add support for Intel Sunrisepoint LPSS devices

2015-07-29 Thread Michael Turquette
Hi Andy, Is there a data sheet or reference manual publicly available for the LPSS? Quoting Andy Shevchenko (2015-07-27 08:04:03) > diff --git a/drivers/mfd/intel-lpss.c b/drivers/mfd/intel-lpss.c > new file mode 100644 > index 000..fdf4d5c > --- /dev/null > +++ b/drivers/mfd/intel-lpss.c >

Re: [Xen-devel] [PATCH v4 0/3] x86: modify_ldt improvement, test, and config option

2015-07-29 Thread Boris Ostrovsky
On 07/29/2015 06:11 PM, Andrew Cooper wrote: On 29/07/2015 23:05, Andy Lutomirski wrote: On Wed, Jul 29, 2015 at 2:37 PM, Andrew Cooper wrote: On 29/07/2015 22:26, Andy Lutomirski wrote: On Wed, Jul 29, 2015 at 2:23 PM, Boris Ostrovsky wrote: On 07/29/2015 03:03 PM, Andrew Cooper wrote:

Re: [PATCH] bus: subsys: propagate errors from subsys interface's ->add_dev()

2015-07-29 Thread Greg KH
On Thu, Jul 30, 2015 at 01:01:21AM +0200, Rafael J. Wysocki wrote: > On Wednesday, July 29, 2015 02:19:16 PM Greg KH wrote: > > On Fri, Jun 26, 2015 at 02:32:47PM +0530, Viresh Kumar wrote: > > > ->add_dev() may fail and the error returned from it can be useful for > > > the caller. > > > > > >

[PATCH net-next 0/3] net: Switch tag HW extraction/insertion

2015-07-29 Thread Florian Fainelli
Hi all, This patch series adds two new feature flags to allow Ethernet controllers capable of doing Ethernet switch proprietary tag insertion/extraction to benefit from that. The last two patches modify the Broadcom tag parsing code in DSA to utilize that feature and finally, the SYSTEMPORT

Re: [PATCH] backlight: pm8941-wled: Add default-brightness property

2015-07-29 Thread Bjorn Andersson
On Fri 24 Jul 10:41 PDT 2015, Rob Clark wrote: > On Fri, Jul 24, 2015 at 11:39 AM, Rob Herring wrote: > > On Fri, Jul 24, 2015 at 8:10 AM, Rob Clark wrote: > >> On Thu, Jul 23, 2015 at 3:52 PM, Bjorn Andersson > >> wrote: > >>> Add the possibility of specifying the default brightness in DT. >

[PATCH net-next 2/3] net: dsa: tag_brcm: Support extracting tags from HW

2015-07-29 Thread Florian Fainelli
In case an adapter advertises NETIF_F_HW_SWITCH_RX_TAG, proceed with extracting the 4-bytes Broadcom tag directly from skb->cb[] and utilize that instead of copying and memmoving() data around. To establish a contract between the Ethernet MAC advertisign NETIF_F_HW_SWITCH_RX_TAG and the Broadcom

[PATCH net-next 1/3] net: add flags for HW assisted extraction/insertions of switch tags

2015-07-29 Thread Florian Fainelli
Some hardware (e.g: Broadcom's SYSTEMPORT) is capable of automatically extracting and inserting a proprietary switch tag (e.g: Broadcom tag) which saves us packet modifications when using DSA. Add the required ethtool changes and netdevice feature bits to support such devices. Signed-off-by:

[PATCH net-next 3/3] net: systemport: Add support for switch tag HW extraction

2015-07-29 Thread Florian Fainelli
The Broadcom SYSTEMPORT Ethernet controller is capable of extracting a switch tag (4-bytes Broadcom tag) and put it in the second 32-bits word of its pre-pended Receive Status Block. When this feature is requested, make sure that we can satisfy it by turning on receive checksum offload, and copy

Re: [PATCH] bus: subsys: propagate errors from subsys interface's ->add_dev()

2015-07-29 Thread Rafael J. Wysocki
On Wednesday, July 29, 2015 02:19:16 PM Greg KH wrote: > On Fri, Jun 26, 2015 at 02:32:47PM +0530, Viresh Kumar wrote: > > ->add_dev() may fail and the error returned from it can be useful for > > the caller. > > > > For example, if some of the resources aren't ready yet and -EPROBE_DEFER > > is

[tip:irq/core] irqchip/gicv3-its: Add platform MSI support

2015-07-29 Thread tip-bot for Marc Zyngier
Commit-ID: 1e6db000482fa65a419d1776f9ae1ff919afe605 Gitweb: http://git.kernel.org/tip/1e6db000482fa65a419d1776f9ae1ff919afe605 Author: Marc Zyngier AuthorDate: Tue, 28 Jul 2015 14:46:22 +0100 Committer: Thomas Gleixner CommitDate: Thu, 30 Jul 2015 00:14:38 +0200 irqchip/gicv3-its: Add

[tip:irq/core] PCI/MSI: Drop domain field from msi_controller

2015-07-29 Thread tip-bot for Marc Zyngier
Commit-ID: f075915ac0b11847fcfc8c4d55526a317e71c4d1 Gitweb: http://git.kernel.org/tip/f075915ac0b11847fcfc8c4d55526a317e71c4d1 Author: Marc Zyngier AuthorDate: Tue, 28 Jul 2015 14:46:26 +0100 Committer: Thomas Gleixner CommitDate: Thu, 30 Jul 2015 00:14:39 +0200 PCI/MSI: Drop domain

[tip:irq/core] PCI/MSI: pci-xgene-msi: Get rid of struct msi_controller

2015-07-29 Thread tip-bot for Marc Zyngier
Commit-ID: 8d63bc7beaeecdc2dfafed69c3555471fbe4aee7 Gitweb: http://git.kernel.org/tip/8d63bc7beaeecdc2dfafed69c3555471fbe4aee7 Author: Marc Zyngier AuthorDate: Tue, 28 Jul 2015 14:46:25 +0100 Committer: Thomas Gleixner CommitDate: Thu, 30 Jul 2015 00:14:39 +0200 PCI/MSI:

[tip:irq/core] irqchip/GICv2m: Add platform MSI support

2015-07-29 Thread tip-bot for Marc Zyngier
Commit-ID: ef50645aa32c6b55fe1445b5d06c73bfdf65019f Gitweb: http://git.kernel.org/tip/ef50645aa32c6b55fe1445b5d06c73bfdf65019f Author: Marc Zyngier AuthorDate: Tue, 28 Jul 2015 14:46:24 +0100 Committer: Thomas Gleixner CommitDate: Thu, 30 Jul 2015 00:14:39 +0200 irqchip/GICv2m: Add

[tip:irq/core] irqchip/GICv2m: Get rid of struct msi_controller

2015-07-29 Thread tip-bot for Marc Zyngier
Commit-ID: 5cedceb37c253c6181dbdd4bfe1b9d792e51fd37 Gitweb: http://git.kernel.org/tip/5cedceb37c253c6181dbdd4bfe1b9d792e51fd37 Author: Marc Zyngier AuthorDate: Tue, 28 Jul 2015 14:46:23 +0100 Committer: Thomas Gleixner CommitDate: Thu, 30 Jul 2015 00:14:39 +0200 irqchip/GICv2m: Get

[tip:irq/core] PCI/MSI: Add support for OF-provided msi_domain

2015-07-29 Thread tip-bot for Marc Zyngier
Commit-ID: b165e2b60b39888a7ff8efbc1de40137471dda41 Gitweb: http://git.kernel.org/tip/b165e2b60b39888a7ff8efbc1de40137471dda41 Author: Marc Zyngier AuthorDate: Tue, 28 Jul 2015 14:46:12 +0100 Committer: Thomas Gleixner CommitDate: Thu, 30 Jul 2015 00:14:37 +0200 PCI/MSI: Add support

[tip:irq/core] irqchip/gicv3-its: Make the PCI/ MSI code standalone

2015-07-29 Thread tip-bot for Marc Zyngier
Commit-ID: 54456db9a23753b87ce4d49adabe7da853bf13a2 Gitweb: http://git.kernel.org/tip/54456db9a23753b87ce4d49adabe7da853bf13a2 Author: Marc Zyngier AuthorDate: Tue, 28 Jul 2015 14:46:21 +0100 Committer: Thomas Gleixner CommitDate: Thu, 30 Jul 2015 00:14:38 +0200 irqchip/gicv3-its:

[tip:irq/core] irqchip/gicv3-its: Get rid of struct msi_controller

2015-07-29 Thread tip-bot for Marc Zyngier
Commit-ID: 841514ab41ced765158d71d818b1d564ebe9436d Gitweb: http://git.kernel.org/tip/841514ab41ced765158d71d818b1d564ebe9436d Author: Marc Zyngier AuthorDate: Tue, 28 Jul 2015 14:46:20 +0100 Committer: Thomas Gleixner CommitDate: Thu, 30 Jul 2015 00:14:38 +0200 irqchip/gicv3-its: Get

[tip:irq/core] irqchip/gicv3-its: Register irq domain with NEXUS token

2015-07-29 Thread tip-bot for Marc Zyngier
Commit-ID: e55dcd4d8b8b82e4ecef2937c6d1dde7ba82916b Gitweb: http://git.kernel.org/tip/e55dcd4d8b8b82e4ecef2937c6d1dde7ba82916b Author: Marc Zyngier AuthorDate: Tue, 28 Jul 2015 14:46:19 +0100 Committer: Thomas Gleixner CommitDate: Thu, 30 Jul 2015 00:14:38 +0200 irqchip/gicv3-its:

[tip:irq/core] genirq: Add DOMAIN_BUS_NEXUS irqdomain property

2015-07-29 Thread tip-bot for Marc Zyngier
Commit-ID: a5716070d88cba1a0a8a18fea809ea6e3374e276 Gitweb: http://git.kernel.org/tip/a5716070d88cba1a0a8a18fea809ea6e3374e276 Author: Marc Zyngier AuthorDate: Tue, 28 Jul 2015 14:46:17 +0100 Committer: Thomas Gleixner CommitDate: Thu, 30 Jul 2015 00:14:38 +0200 genirq: Add

[tip:irq/core] irqchip/gicv3-its: Split PCI/ MSI code from the core ITS driver

2015-07-29 Thread tip-bot for Marc Zyngier
Commit-ID: f130420e51df30891b55efcef24f5358b2fc2b97 Gitweb: http://git.kernel.org/tip/f130420e51df30891b55efcef24f5358b2fc2b97 Author: Marc Zyngier AuthorDate: Tue, 28 Jul 2015 14:46:18 +0100 Committer: Thomas Gleixner CommitDate: Thu, 30 Jul 2015 00:14:38 +0200 irqchip/gicv3-its:

Re: [PATCH V4 6/7] hvsock: introduce Hyper-V VM Sockets feature

2015-07-29 Thread David Miller
From: Dexuan Cui Date: Tue, 28 Jul 2015 05:35:23 -0700 > +/* hvsock_release() can be invoked in 2 paths: > + * 1. on process termination: > + * hvsock_sk_destruct+0x1a/0x20 > + * __sk_free+0x1d/0x130 > + * sk_free+0x19/0x20 > + * hvsock_release+0x138/0x160 > + * sock_release+0x1f/0x90

[tip:irq/core] drivers/base: Add MSI domain support for non-PCI devices

2015-07-29 Thread tip-bot for Marc Zyngier
Commit-ID: c09fcc4b2b48d58d769a8cff5041533535ece449 Gitweb: http://git.kernel.org/tip/c09fcc4b2b48d58d769a8cff5041533535ece449 Author: Marc Zyngier AuthorDate: Tue, 28 Jul 2015 14:46:16 +0100 Committer: Thomas Gleixner CommitDate: Thu, 30 Jul 2015 00:14:38 +0200 drivers/base: Add MSI

Re: [Gta04-owner] [PATCH 08/14] twl4030_charger: allow max_current to be managed via sysfs.

2015-07-29 Thread NeilBrown
On Mon, 23 Mar 2015 13:14:50 +0100 jake42 wrote: > Hello Neil, > > some suggestions: > > On 23.03.2015 00:20, NeilBrown wrote: > > From: NeilBrown > > diff --git a/Documentation/ABI/testing/sysfs-class-power-twl4030 > > b/Documentation/ABI/testing/sysfs-class-power-twl4030 > > new file mode

Re: [PATCH V4 7/7] Drivers: hv: vmbus: disable local interrupt when hvsock's callback is running

2015-07-29 Thread David Miller
From: Dexuan Cui Date: Tue, 28 Jul 2015 05:35:30 -0700 > In the SMP guest case, when the per-channel callback hvsock_events() is > running on virtual CPU A, if the guest tries to close the connection on > virtual CPU B: we invoke vmbus_close() -> vmbus_close_internal(), > then we can have

[tip:irq/core] of/platform: Assign MSI domain to platform device

2015-07-29 Thread tip-bot for Marc Zyngier
Commit-ID: c706c239af5bc297b5fbf1adc715632e1c222f7a Gitweb: http://git.kernel.org/tip/c706c239af5bc297b5fbf1adc715632e1c222f7a Author: Marc Zyngier AuthorDate: Tue, 28 Jul 2015 14:46:15 +0100 Committer: Thomas Gleixner CommitDate: Thu, 30 Jul 2015 00:14:37 +0200 of/platform: Assign

[tip:irq/core] PCI/MSI: Let pci_msi_get_domain use struct device: :msi_domain

2015-07-29 Thread tip-bot for Marc Zyngier
Commit-ID: d8a1cb7575502d2be502a65ecb344ff05c8d9f44 Gitweb: http://git.kernel.org/tip/d8a1cb7575502d2be502a65ecb344ff05c8d9f44 Author: Marc Zyngier AuthorDate: Tue, 28 Jul 2015 14:46:14 +0100 Committer: Thomas Gleixner CommitDate: Thu, 30 Jul 2015 00:14:37 +0200 PCI/MSI: Let

[tip:irq/core] PCI/MSI: Allow msi_domain lookup using the host bridge node

2015-07-29 Thread tip-bot for Marc Zyngier
Commit-ID: 471c931cb248ab7af0cd62503d811239b47f217b Gitweb: http://git.kernel.org/tip/471c931cb248ab7af0cd62503d811239b47f217b Author: Marc Zyngier AuthorDate: Tue, 28 Jul 2015 14:46:13 +0100 Committer: Thomas Gleixner CommitDate: Thu, 30 Jul 2015 00:14:37 +0200 PCI/MSI: Allow

[tip:irq/core] PCI/MSI: Add hooks to populate the msi_domain field

2015-07-29 Thread tip-bot for Marc Zyngier
Commit-ID: 44aa0c657e3e45795a92addeb0dce7d28d9b0bd2 Gitweb: http://git.kernel.org/tip/44aa0c657e3e45795a92addeb0dce7d28d9b0bd2 Author: Marc Zyngier AuthorDate: Tue, 28 Jul 2015 14:46:11 +0100 Committer: Thomas Gleixner CommitDate: Thu, 30 Jul 2015 00:14:37 +0200 PCI/MSI: Add hooks to

Re: [PATCH V4 4/7] Drivers: hv: vmbus: add APIs to register callbacks to process hvsock connection

2015-07-29 Thread David Miller
From: Dexuan Cui Date: Tue, 28 Jul 2015 05:35:11 -0700 > With the 2 APIs supplied by the VMBus driver, the coming net/hvsock driver > can register 2 callbacks and can know when a new hvsock connection is > offered by the host, and when a hvsock connection is being closed by the > host. > >

[tip:irq/core] PCI/MSI: Register irq domain with specific token

2015-07-29 Thread tip-bot for Marc Zyngier
Commit-ID: 0380839dc90c53e24ddfa0f17ad909c2ddc345c2 Gitweb: http://git.kernel.org/tip/0380839dc90c53e24ddfa0f17ad909c2ddc345c2 Author: Marc Zyngier AuthorDate: Tue, 28 Jul 2015 14:46:09 +0100 Committer: Thomas Gleixner CommitDate: Thu, 30 Jul 2015 00:14:37 +0200 PCI/MSI: Register irq

[tip:irq/core] genirq/irqdomain: Allow irq domain aliasing

2015-07-29 Thread tip-bot for Marc Zyngier
Commit-ID: ad3aedfbb04b3a2af54473cfe31f13953cfe9d84 Gitweb: http://git.kernel.org/tip/ad3aedfbb04b3a2af54473cfe31f13953cfe9d84 Author: Marc Zyngier AuthorDate: Tue, 28 Jul 2015 14:46:08 +0100 Committer: Thomas Gleixner CommitDate: Thu, 30 Jul 2015 00:14:36 +0200 genirq/irqdomain:

[tip:irq/core] device core: Introduce per-device MSI domain pointer

2015-07-29 Thread tip-bot for Marc Zyngier
Commit-ID: f1421db8ca4c110144be97a5997ed83d34685db5 Gitweb: http://git.kernel.org/tip/f1421db8ca4c110144be97a5997ed83d34685db5 Author: Marc Zyngier AuthorDate: Tue, 28 Jul 2015 14:46:10 +0100 Committer: Thomas Gleixner CommitDate: Thu, 30 Jul 2015 00:14:37 +0200 device core: Introduce

[tip:irq/core] genirq: Use the proper parameter name in kernel doc

2015-07-29 Thread tip-bot for Masanari Iida
Commit-ID: 8505a81bb036253213b109baf4178ea6861e2888 Gitweb: http://git.kernel.org/tip/8505a81bb036253213b109baf4178ea6861e2888 Author: Masanari Iida AuthorDate: Wed, 29 Jul 2015 19:09:36 +0900 Committer: Thomas Gleixner CommitDate: Thu, 30 Jul 2015 00:14:36 +0200 genirq: Use the

Re: [PATCH v5 1/2] perf,kvm/ppc: Add kvm_perf.h for powerpc

2015-07-29 Thread Scott Wood
On Wed, 2015-07-29 at 16:07 +0530, Hemant Kumar wrote: > Hi Scott, > > On 07/17/2015 01:40 AM, Scott Wood wrote: > > On Thu, 2015-07-16 at 21:18 +0530, Hemant Kumar wrote: > > > To analyze the exit events with perf, we need kvm_perf.h to be added in > > > the arch/powerpc directory, where the kvm

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

2015-07-29 Thread Dan Williams
On Mon, Jul 27, 2015 at 1:03 AM, Christoph Hellwig wrote: >> +++ 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

Re: [PATCH] proc: change proc_subdir_lock to a rwlock

2015-07-29 Thread Eric W. Biederman
Two quick questions. - What motivates this work? Are you seeing lots of parallel reads on proc? - Why not rcu? Additions and removal of proc generic files is very rare. Conversion to rcu for reads should perform better and not take much more work. Eric -- To unsubscribe from this

[PATCH] pci: Default MPS tuning, match upstream port

2015-07-29 Thread Keith Busch
A hot plugged PCI-e device max payload size (MPS) defaults to 0 for 128bytes. The device is not usable if the upstream port is configured to a higher setting. Bus configuration was previously done by arch specific and hot plug code after the root port or bridge was scanned, and default behavior

[PATCH 0/3] PCI-e Max Payload Size configuration

2015-07-29 Thread Keith Busch
This patch series removes arch, driver, and hot-plug specific calls to configure a PCI-e device's MPS setting. The device is instead configured in the generic pci-core layer when the device is initially added, and before it is bound to a driver. The default policy is also changed from "do

[PATCH 3/3] PCIE: Remove symbol export for pcie_set_mps()

2015-07-29 Thread Keith Busch
From: Dave Jiang The setting of PCIe MPS should be left to the PCI subsystem and not the driver. An ill configured MPS by the driver could cause the device to not function or unstablize the entire system. Removing the exported symbol. Signed-off-by: Dave Jiang --- drivers/pci/pci.c |1 -

Re: llvm bpf debug info. Re: [RFC PATCH v4 3/3] bpf: Introduce function for outputing data to perf event

2015-07-29 Thread Alexei Starovoitov
On 7/29/15 1:00 PM, pi3orama wrote: I was wondering if you could give us a hint on adding BPF specific builtins? Doesn't like other machines, currently there's no Builtins.def for BPF to hold builtins for that specific target. If we start creating such builtins, we can bring more there. One

[PATCH 2/3] QIB: Removing usage of pcie_set_mps()

2015-07-29 Thread Keith Busch
From: Dave Jiang This is in perperation of un-exporting the pcie_set_mps() function symbol. A driver should not be changing the MPS as that is the responsibility of the PCI subsystem. Signed-off-by: Dave Jiang --- drivers/infiniband/hw/qib/qib_pcie.c | 27 +-- 1 file

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

2015-07-29 Thread Stephen Boyd
On 07/29, Lee Jones wrote: > On Tue, 28 Jul 2015, Stephen Boyd wrote: > > > On 07/28, Viresh Kumar wrote: > > > Cc'ing few people (whom I cc'd last time as well :)). > > > > > > On 27-07-15, 16:20, Lee Jones wrote: > > > > + - opp-hz : CPU frequency [Hz] for this OPP [See: > > > >

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