[PATCH 06/20] ARM: at91/dt: at91sam9261: 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/at91sam9261.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ar

[PATCH 12/20] ARM: at91/dt: sama5d3: use slow clock where necessary

2015-07-29 Thread Alexandre Belloni
The watchdog, the reset controller, the RTC 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/sama5d3.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts

[PATCH 09/20] ARM: at91/dt: at91sam9n12: use slow clock where necessary

2015-07-29 Thread Alexandre Belloni
The watchdog, the reset controller, the RTC 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/at91sam9n12.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot

[PATCH 13/20] ARM: at91/dt: sama5d4: use slow clock where necessary

2015-07-29 Thread Alexandre Belloni
The watchdog, the reset controller, the RTC 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/sama5d4.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts

[PATCH 3/5] rtc: at91sam9: sort headers alphabetically

2015-07-29 Thread Alexandre Belloni
Sort included headers alphabetically. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-at91sam9.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/rtc/rtc-at91sam9.c b/drivers/rtc/rtc-at91sam9.c index 0a8485ac3864..23f721d049b2 100644 --- a/drivers

[PATCH 11/20] ARM: at91/dt: at91sam9x5: use slow clock where necessary

2015-07-29 Thread Alexandre Belloni
The watchdog, the reset controller, the RTC 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/at91sam9x5.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/

[PATCH 2/5] rtc: at91sam9: remove useless check

2015-07-29 Thread Alexandre Belloni
rtc->sclk necessarily points to a valid clocks at this point. Else the probe would have aborted. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-at91sam9.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/rtc/rtc-at91sam9.c b/drivers/rtc/rtc-at91sam9.c index 152

[PATCH 05/13] twl4030_charger: split uA calculation into a function.

2015-07-29 Thread NeilBrown
We will need this calculation in other places, so create functions to map between register value and uA value. Acked-by: Pavel Machek Signed-off-by: NeilBrown --- drivers/power/twl4030_charger.c | 48 --- 1 file changed, 35 insertions(+), 13 deletions(-) d

[PATCH 5/5] rtc: at91rm9200: sort headers alphabetically

2015-07-29 Thread Alexandre Belloni
Sort included headers alphabetically. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-at91rm9200.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/rtc/rtc-at91rm9200.c b/drivers/rtc/rtc-at91rm9200.c index 8093d9e50619..cb62e214b52a 100644 --- a/d

[PATCH 13/13] twl4030_charger: assume a 'charger' can supply maximum current.

2015-07-29 Thread NeilBrown
If it cannot, we will stop pulling more current when voltage drops. Signed-off-by: NeilBrown --- drivers/power/twl4030_charger.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/power/twl4030_charger.c b/drivers/power/twl4030_charger.c index 2c537ee11bbe..c7432f5

[PATCH 07/13] twl4030_charger: distinguish between USB current and 'AC' current

2015-07-29 Thread NeilBrown
The twl4030 charger has two current sources, 'USB' and 'AC' (presumably "Accessory Charger" because it isn't Alternating Current). If 'AC' is providing current, we should set the current limit differently to when it isn't (and so USB is used). So split 'cur' into 'usb_cur' and 'ac_cur' and use ac

[PATCH 09/13] twl4030_charger: enable manual enable/disable of usb charging.

2015-07-29 Thread NeilBrown
'off' or 'auto' to /sys/class/power/twl4030_usb/mode will now enable or disable charging from USB port. Normally this is enabled on 'plug' and disabled on 'unplug'. Unplug will still disable charging. 'plug' will only enable it if 'auto' if selected. Acked-by: Pavel Machek Signed-off-by: Nei

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

2015-07-29 Thread Andrew Cooper
On 30/07/2015 00:13, Andy Lutomirski wrote: > 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:

Re: cgroup/loop Bad page state oops in Linux v4.2-rc3-136-g45b4b782e848

2015-07-29 Thread Ming Lei
On Wed, Jul 29, 2015 at 12:36 PM, Josh Boyer wrote: > On Wed, Jul 29, 2015 at 11:32 AM, Ming Lei wrote: >> On Wed, Jul 29, 2015 at 9:51 AM, Johannes Weiner wrote: >>> On Wed, Jul 29, 2015 at 09:27:16AM -0400, Josh Boyer wrote: Hi All, We've gotten a report[1] that any of the upcom

RE: [patch] Revert "block: remove artifical max_hw_sectors cap"

2015-07-29 Thread Elliott, Robert (Server Storage)
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of Jeff Moyer > Sent: Wednesday, July 29, 2015 11:53 AM > To: Christoph Hellwig > Cc: Jens Axboe ; linux-kernel@vger.kernel.org; > dmilb...@redhat.com Adding linux-scs

Re: [PATCH v7 0/5] clk: Provide support for always-on clocks

2015-07-29 Thread Michael Turquette
Quoting Lee Jones (2015-07-22 06:04:10) > Lots of platforms contain clocks which if turned off would prove fatal. > The only way to recover from these catastrophic failures is to restart > the board(s). Now, when a clock provider is registered with the > framework it is possible for a list of crit

Re: [PATCH v5 06/10] clk: mediatek: mt8173: Fix enabling of critical clocks

2015-07-29 Thread Stephen Boyd
On 07/29, James Liao wrote: > From: Sascha Hauer > > On the MT8173 the clocks are provided by different units. To enable > the critical clocks we must be sure that all parent clocks are already > registered, otherwise the parents of the critical clocks end up being > unused and get disabled later

[PATCH 04/13] twl4030_charger: trust phy to determine when USB power is available.

2015-07-29 Thread NeilBrown
The usb phy driver already determines when VBUS is available, so repeating the test in the charger driver is pointless duplication. On probe, process the last event from the phy, and from then on, do whatever the phy tells us without double-checking. Signed-off-by: NeilBrown --- drivers/power/t

[PATCH 08/13] twl4030_charger: allow max_current to be managed via sysfs.

2015-07-29 Thread NeilBrown
'max_current' sysfs attributes are created which allow the max to be set. Whenever a current source changes, the default is restored. This will be followed by a uevent, so user-space can decide to update again. Acked-by: Pavel Machek Signed-off-by: NeilBrown --- .../ABI/testing/sysfs-class-powe

[PATCH 11/13] twl4030_charger: add ac/mode to match usb/mode

2015-07-29 Thread NeilBrown
This allows AC charging to be turned off, much like usb charging. "continuous" mode is not available though. Acked-by: Pavel Machek Signed-off-by: NeilBrown --- .../ABI/testing/sysfs-class-power-twl4030 | 10 ++ drivers/power/twl4030_charger.c| 35 +

[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 b/drivers/p

[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, in

[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 --- drivers/po

[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 sett

[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 u

[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 configu

[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 ch

[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: r

[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 Reiche

[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 a/drive

[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 Cc

[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 Rei

[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 Cc

[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 +--- 1

[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 a/ar

[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: Alexandre

[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(+) diff

[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 ARM

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 signifi

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 > --- > arch/arm/boot/dts/qcom-apq8064

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 pointe

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 sampl

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 +0

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]. T

[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 fil

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 wi

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 th

[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 change

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 w

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. Signed-off-by

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 globa

[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: linux-p

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 t

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 Cooper

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, And

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 i386userfaultfd

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 correctl

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 comp

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 wrote

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 retur

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 wro

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 = <&pm8921_gpio 43 GPIO_ACTIVE_LOW>; + }; +

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 07

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 = <&disp_en_gpios>; + pinctrl-names = "default"; + regulator-min-micr

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: On

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. > > > > > > Fo

[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 contr

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 t

[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: Flori

[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 th

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 r

[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 fi

[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: pci-xgene-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 pla

[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 rid

[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 fo

[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: Make

[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: Regi

[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 DOMAIN_BUS_

[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: Spli

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 d

<    1   2   3   4   5   6   7   8   9   >