Re: [PATCH 1/2] mmc: dw_mmc: Make sure we only adjust the clock when power is on

2015-02-25 Thread Javier Martinez Canillas
Hello Doug, On 02/20/2015 07:57 PM, Doug Anderson wrote: > It appears that we can confuse things if we try to turn on the MMC > clock when the power is off. Adjust is so that we turn the clock on > (using dw_mci_setup_bus) after power is all the way on and we turn the > clock off before the

Re: [PATCH v2 3/4] clk: Provide an always-on clock domain framework

2015-02-25 Thread Mike Turquette
Quoting Lee Jones (2015-02-25 07:48:08) > On Wed, 25 Feb 2015, Rob Herring wrote: > > > On Mon, Feb 23, 2015 at 11:23 AM, Mike Turquette > > wrote: > > > Quoting Lee Jones (2015-02-18 08:15:00) > > >> Much h/w contain clocks which if turned off would prove fatal. The > > >> only way to recover

Re: [PATCH v5 6/6] hwmon: pwm-fan: Code for using PWM FAN as a cooling device

2015-02-25 Thread Eduardo Valentin
Hey Lukasz, On Wed, Feb 25, 2015 at 04:34:22PM +0100, Lukasz Majewski wrote: > The PWM FAN device can now be used as a thermal cooling device. Necessary > infrastructure has been added in this commit. > > Signed-off-by: Lukasz Majewski > --- > Changes for v2: > - Replace pwm_fan_cooling_states

Re: [PATCH] Add a quirk for the Dell XPS 13 (2015) when in PS/2 mode.

2015-02-25 Thread Mario Limonciello
On 02/23/2015 06:51 PM, Dmitry Torokhov wrote: On Sun, Feb 22, 2015 at 05:55:05PM +0100, Pali Rohár wrote: I am not sure what exactly the issue is... We do need to have the break code to know when the key is released. We can't go and say that we will release old key when we detect another key

Re: [PATCH 2/2] mmc: dw_mmc: Give a good reset after we give power

2015-02-25 Thread Javier Martinez Canillas
Hello Doug, On 02/20/2015 07:57 PM, Doug Anderson wrote: > We should give dw_mmc a good reset after we apply power. On some > boards vqmmc may actually be connected to the IP block in the SoC so > it's good to reset after power comes in. > > Without this we sometimes see failures enumerating

Re: Video option for a big endian machine?

2015-02-25 Thread One Thousand Gnomes
On Thu, 12 Feb 2015 07:08:10 +1000 Dave Airlie wrote: > On 12 February 2015 at 00:44, Alex Deucher wrote: > > On Wed, Feb 11, 2015 at 3:53 AM, wrote: > >> Hello. > >> > >> I'm looking for a PCI or AGP video card that would work on a Linux port > >> for a big endian architecture (HP PA-RISC).

Re: [PATCH v5 0/6] hwmon: thermal: Odroid U3: Provide support for Odroid U3 fan

2015-02-25 Thread Eduardo Valentin
Guenter, On Wed, Feb 25, 2015 at 09:18:20AM -0800, Guenter Roeck wrote: > On Wed, Feb 25, 2015 at 04:34:16PM +0100, Lukasz Majewski wrote: > > Presented patches add support for Odroid's U3 optional CPU FAN, which uses > > PWM > > subsystem for low level control. > > > > After successful probe

Re: [PATCH v4 5/8] ARM: dts: Add properties to use pwm-fan device as a cooling device in Odroid U3

2015-02-25 Thread Eduardo Valentin
On Wed, Feb 25, 2015 at 02:28:15PM +0100, Lukasz Majewski wrote: > Hi Eduardo, > > > On Wed, Feb 18, 2015 at 11:07:33AM +0100, Lukasz Majewski wrote: > > > With those bindings it is possible to use pwm-fan device available > > > in Odroid U3 as a cooling device. > > > > > > Signed-off-by: Lukasz

Re: [PATCH] drm/i915: fix failure to power off after hibernate

2015-02-25 Thread Imre Deak
On ti, 2015-02-24 at 20:00 +0100, Bjørn Mork wrote: > Imre Deak writes: > > > The poweroff handlers undo the actions of the thaw handlers. As the > > original commit stated saving the registers is not needed there, but > > it's also not a big overhead and there should be no problem doing it. We

Re: [PATCH 1/3] x86: Move msr accesses out of line

2015-02-25 Thread Borislav Petkov
On Wed, Feb 25, 2015 at 07:20:32PM +0100, Andi Kleen wrote: > Also we do quite a few RDMSRs, which are not necessarily > serializing. RDMSR is not serializing. Not even WRMSR when to certain ranges, see section 8.3 in the SDM 3A. -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when

Re: [PATCH] f2fs: fix recover orphan inodes

2015-02-25 Thread Jaegeuk Kim
Hi Wanpeng, On Wed, Feb 25, 2015 at 12:53:37PM +0800, Wanpeng Li wrote: > recover_orphan_inodes is used to recover orphan inodes, the meta pages > which readahead should be orphan_blkaddr - start_blk instead of > orphan_blkaddr. > This patch fix it. > > Signed-off-by: Wanpeng Li > --- >

Re: [PATCH] ARM: dts: am335x-boneblack: enable aes and sham

2015-02-25 Thread Robert Nelson
On Wed, Feb 25, 2015 at 11:07 AM, Matt Porter wrote: > Beaglebone Black doesn't have AES and SHAM enabled like the > original Beaglebone White dts. This breaks applications that > leverage the crypto blocks so fix this by enabling these nodes. > > Signed-off-by: Matt Porter > --- >

Re: [PATCH RFC 1/4] mm: throttle MADV_FREE

2015-02-25 Thread Shaohua Li
On Wed, Feb 25, 2015 at 04:11:18PM +0900, Minchan Kim wrote: > On Wed, Feb 25, 2015 at 09:08:09AM +0900, Minchan Kim wrote: > > Hi Michal, > > > > On Tue, Feb 24, 2015 at 04:43:18PM +0100, Michal Hocko wrote: > > > On Tue 24-02-15 17:18:14, Minchan Kim wrote: > > > > Recently, Shaohua reported

Re: [PATCH] thermal: armada: read stable temp on Armada XP

2015-02-25 Thread Gregory CLEMENT
Hi Ezequiel, On 25/02/2015 19:17, Ezequiel Garcia wrote: > On 02/25/2015 02:04 PM, Gregory CLEMENT wrote: >>> >>> My conclusions about these registers are based on experimental data. The >>> documentation is very sparse, but the Thermal Manager Control and Status >>> Register looks like the

Re: [PATCH] thermal: armada: read stable temp on Armada XP

2015-02-25 Thread Eduardo Valentin
On Wed, Feb 25, 2015 at 05:10:14PM +0100, Gregory CLEMENT wrote: > Hi Tyler, Eduardo, > > On 24/02/2015 20:56, Tyler Hall wrote: > > Eduardo, > > > > On Tue, Feb 24, 2015 at 1:36 PM, Eduardo Valentin > > wrote: > >> The fix seams reasonable. Although, it remains the question what is > >>

Re: [PATCH] ARM: dts: am335x-boneblack: enable aes and sham

2015-02-25 Thread Matt Porter
On Wed, Feb 25, 2015 at 12:36:11PM -0600, Robert Nelson wrote: > On Wed, Feb 25, 2015 at 11:07 AM, Matt Porter wrote: > > Beaglebone Black doesn't have AES and SHAM enabled like the > > original Beaglebone White dts. This breaks applications that > > leverage the crypto blocks so fix this by

Re: [PATCH v5 0/6] hwmon: thermal: Odroid U3: Provide support for Odroid U3 fan

2015-02-25 Thread Guenter Roeck
On Wed, Feb 25, 2015 at 02:29:18PM -0400, Eduardo Valentin wrote: > Guenter, > > On Wed, Feb 25, 2015 at 09:18:20AM -0800, Guenter Roeck wrote: > > On Wed, Feb 25, 2015 at 04:34:16PM +0100, Lukasz Majewski wrote: > > > Presented patches add support for Odroid's U3 optional CPU FAN, which > > >

Re: [PATCH v2 2/2] hwrng: iproc-rng200 - Add Broadcom IPROC RNG driver

2015-02-25 Thread Dmitry Torokhov
Hi Scott, On Wed, Feb 25, 2015 at 10:16:24AM -0800, Scott Branden wrote: > This adds a driver for random number generator present on Broadcom > IPROC devices. > > Reviewed-by: Ray Jui > Signed-off-by: Scott Branden > --- > drivers/char/hw_random/Kconfig| 13 ++ >

[PATCH 1/1] Documentation/sysctl/kernel.txt: header

2015-02-25 Thread Heinrich Schuchardt
The header of Documentation/sysctl/kernel.txt should not refer to Linux 2.2 because most of the lines were changed after that release. The authors that placed a copyright notice produced less than half of the lines. So give credit to the other authors. Replace "legal blurb" by a more precise

Re: [PATCH 2/3 v3] x86: entry_64.S: always allocate complete "struct pt_regs"

2015-02-25 Thread Denys Vlasenko
On 02/25/2015 01:37 PM, Andrey Wagin wrote: > 2015-02-13 0:54 GMT+03:00 Denys Vlasenko : >> 64-bit code was using six stack slots less by not saving/restoring >> registers which are callee-preserved according to C ABI, >> and not allocating space for them. >> Only when syscall needed a complete

[PATCH] ARM: OMAP4: remove dead kconfig option OMAP4_ERRATA_I688

2015-02-25 Thread Stefan Hengelein
The Kconfig-Option OMAP4_ERRATA_I688 is never visible due to a contradiction in it's dependencies. The option requires ARCH_MULTIPLATFORM to be 'disabled'. However, an enclosing menu requires either ARCH_MULTI_V6 or ARCH_MULTI_V7 to be enabled. These options inherit a dependency from an enclosing

Re: [PATCH 4/4] net/core/dev.c : Race condition in net_tx_action.

2015-02-25 Thread David Miller
From: Ameen Ali Date: Wed, 25 Feb 2015 19:50:59 +0200 > @@ -3413,7 +3413,7 @@ EXPORT_SYMBOL(netif_rx_ni); > > static void net_tx_action(struct softirq_action *h) > { > - struct softnet_data *sd = this_cpu_ptr(_data); > + volatile struct softnet_data *sd =

Re: [PATCH 1/1] Documentation/sysctl/kernel.txt: header

2015-02-25 Thread Kees Cook
On Wed, Feb 25, 2015 at 10:43 AM, Heinrich Schuchardt wrote: > The header of Documentation/sysctl/kernel.txt should not refer to > Linux 2.2 because most of the lines were changed after that > release. > > The authors that placed a copyright notice produced less than > half of the lines. So give

Re: [PATCH v5 3/6] ARM: dts: Add properties to use pwm-fan device as a cooling device in Odroid U3

2015-02-25 Thread Eduardo Valentin
On Wed, Feb 25, 2015 at 04:34:19PM +0100, Lukasz Majewski wrote: > With those bindings it is possible to use pwm-fan device available in > Odroid U3 as a cooling device. > > Signed-off-by: Lukasz Majewski Acked-by: Eduardo Valentin > --- > Changes for v2: > - Rename cooling-pwm-values

Re: [PATCH] Add a quirk for the Dell XPS 13 (2015) when in PS/2 mode.

2015-02-25 Thread Mario Limonciello
On 02/20/2015 02:41 PM, Pali Rohár wrote: On Friday 20 February 2015 20:56:23 Mario Limonciello wrote: resetafter=0 means to never reset (even if driver receive e.g thousand invalid packets). I think this is very dangerous if there will be other bugs either in linux driver or some other HW

Re: [PATCH 3/3] kernel/sysctl.c: threads-max observe limits

2015-02-25 Thread Heinrich Schuchardt
On 24.02.2015 23:20, David Rientjes wrote: > On Tue, 24 Feb 2015, Heinrich Schuchardt wrote: > Users can change the maximum number of threads by writing to /proc/sys/kernel/threads-max. With the patch the value entered is checked against the same limits that apply when

Re: [PATCH 1/2] mmc: dw_mmc: Only enable CD after setup and only if needed

2015-02-25 Thread Javier Martinez Canillas
Hello Doug, On 02/25/2015 07:11 PM, Doug Anderson wrote: > We really don't want to get a card detect interrupt during probe time > since it can confuse things. Let's disable the card detect interrupt > until we're in a really good place: the end of probe. Let's also > simply avoid enabling the

[PATCH v2] ARM: dts: am335x-bone-common: enable aes and sham

2015-02-25 Thread Matt Porter
Beaglebone Black doesn't have AES and SHAM enabled like the original Beaglebone White dts. This breaks applications that leverage the crypto blocks so fix this by enabling these nodes in the am335x-bone-common.dtsi. With this change, enabling the nodes in am335x-bone.dts is no longer required so

Re: [PATCH 2/2] mmc: dw_mmc: Don't crash if we get an interrupt before slot has initted

2015-02-25 Thread Javier Martinez Canillas
Hello Doug, On 02/25/2015 07:11 PM, Doug Anderson wrote: > It's unlikely that this is really needed on any single-slot systems > where we disable card detects until the end of probe, but it still > seems safer to check to make sure that a slot has been initted before > we try to dereference it to

Re: [PATCH] PCI/AER: Avoid info leak in __print_tlp_header

2015-02-25 Thread Borislav Petkov
On Tue, Feb 24, 2015 at 11:50:46PM +0100, Rasmus Villemoes wrote: > Commit fab4c256a58b ("PCI/AER: Add a TLP header print helper") > introduced the helper function __print_tlp_header, but contrary to the > intention, the behaviour did change: Since we're taking the address of Whoops, good catch.

Re: [PATCH] rcu: Remove reduplicate check of cpu_online

2015-02-25 Thread Paul E. McKenney
On Wed, Feb 25, 2015 at 05:09:46PM +0800, Yao Dongdong wrote: > The calling function invoke_rcu_core will check it. > > Signed-off-by: Yao Dongdong Hmmm... That is a fastpath, but invoke_rcu_core() is visible to the compiler, which should inline anyway. I took this patch for 4.1, but updated

Re: [PATCH v1 4/7] thermal: introduce the Power Allocator governor

2015-02-25 Thread Eduardo Valentin
On Wed, Feb 25, 2015 at 02:48:49PM +, Javi Merino wrote: > Hi Eduardo, > > On Tue, Feb 24, 2015 at 06:21:26PM +, Eduardo Valentin wrote: > > On Wed, Jan 28, 2015 at 05:00:35PM +, Javi Merino wrote: > > > + > > > +k_d > > > +--- > > > + > > > +`k_d` configures the PID loop's derivative

Re: [PATCH 1/1] Documentation/sysctl/kernel.txt: header

2015-02-25 Thread Jonathan Corbet
On Wed, 25 Feb 2015 19:43:17 +0100 Heinrich Schuchardt wrote: > +For other authors see the commit history. > + > +For general info and disclaimer, please look in README. It generally seems fine, but the above text could just as reasonably be put into every file in the tree. How about if we

Re: [PATCH 1/2] thermal: exynos: Fix wrong control of power down detection mode for Exynos7

2015-02-25 Thread Eduardo Valentin
On Wed, Feb 25, 2015 at 01:25:08PM +0100, Lukasz Majewski wrote: > Hi Eduardo, > > > Hi Lukasz, > > > > On Wed, Feb 25, 2015 at 2:33 PM, Lukasz Majewski > > wrote: > > > Hi Abhilash, > > > > > >> This patch fixes the wrong control of PD_DET_EN (power down > > >> detection mode) for Exynos7

[PATCH 0/1] Synopsis 8250 serial port driver fix

2015-02-25 Thread Jonathan Richardson
Hi, This patchset fixes a bug in the Synopsis 8250 serial driver which causes the driver to hang. The bug occurs on simple 2 wire serial ports when modem control signalling has been enabled. It can be reproduced from user space by enabling modem control signals (stty -clocal), then opening a

[PATCH 1/1] serial: 8250_dw: Fix get_mctrl behaviour

2015-02-25 Thread Jonathan Richardson
Fixed behaviour of get_mctrl() serial driver function as documented in: https://www.kernel.org/doc/Documentation/serial/driver Added device-tree property 'msr-override' specific to the Synopsis 8250 DesignWare UART driver. Allows one to force Data Carrier Detect, Clear To Send, and Data Set Ready

Re: [PATCH 1/3 v5] kernel/fork.c: new function for max_threads

2015-02-25 Thread Heinrich Schuchardt
On 25.02.2015 11:17, Ingo Molnar wrote: > > * David Rientjes wrote: > >> The problem is with the structure of your patchset. You >> want three patches. There's one bugfix patch, a >> preparation patch, and a feature patch. The bugfix patch >> should come first so that it can be applied,

[PATCH] spi: spidev_test: Added functionalities

2015-02-25 Thread Adrian Remonda
This is a patch that add functionalities to the spidev_test tool found in Documentation/spi/spidev_test.c. - Cleaned hexadecimal dump - Added verbose mode to see the transmitting sequence - Added input buffer from the terminal. Now it is possible to send string and hexadecimal data as an input

Re: [PATCH v2] ARM: dts: am335x-bone-common: enable aes and sham

2015-02-25 Thread Robert Nelson
On Wed, Feb 25, 2015 at 12:52 PM, Matt Porter wrote: > Beaglebone Black doesn't have AES and SHAM enabled like the > original Beaglebone White dts. This breaks applications that > leverage the crypto blocks so fix this by enabling these nodes > in the am335x-bone-common.dtsi. With this change,

Re: [PATCH v5 1/6] Documentation: dts: Documentation entry to explain how to use PWM FAN as a cooling device

2015-02-25 Thread Eduardo Valentin
On Wed, Feb 25, 2015 at 03:11:24PM -0400, Eduardo Valentin wrote: > On Wed, Feb 25, 2015 at 04:34:17PM +0100, Lukasz Majewski wrote: > > Explanation of several properties, which allow PWM fan working as a cooling > > device, have been embraced in this commit. > > > > Signed-off-by: Lukasz

Re: [PATCH v5 1/6] Documentation: dts: Documentation entry to explain how to use PWM FAN as a cooling device

2015-02-25 Thread Eduardo Valentin
On Wed, Feb 25, 2015 at 04:34:17PM +0100, Lukasz Majewski wrote: > Explanation of several properties, which allow PWM fan working as a cooling > device, have been embraced in this commit. > > Signed-off-by: Lukasz Majewski > --- > Changes for v2: > - Rename cooling-pwm-values to cooling-levels >

Re: [PATCH v2 2/2] hwrng: iproc-rng200 - Add Broadcom IPROC RNG driver

2015-02-25 Thread Arnd Bergmann
On Wednesday 25 February 2015 10:16:24 Scott Branden wrote: > This adds a driver for random number generator present on Broadcom > IPROC devices. > > Reviewed-by: Ray Jui > Signed-off-by: Scott Branden The driver looks reasonable overall, I have just one question about something that sticks

[RFC] New of_io_release_and_unmap()

2015-02-25 Thread Joshua Clayton
Hello folks, I notice that io_request_and_map has no inverse. I would like to add a new function to undo what it does. Joshua Clayton (1): of/address: Add of_io_release_and_unmap() drivers/of/address.c | 29 + include/linux/of_address.h | 2 ++ 2 files

[PATCH] of/address: Add of_io_release_and_unmap()

2015-02-25 Thread Joshua Clayton
New Fumction of_io_release_an_unmap frees resources and io memory allocated by io_request_and_map() Signed-off-by: Joshua Clayton --- drivers/of/address.c | 29 + include/linux/of_address.h | 2 ++ 2 files changed, 31 insertions(+) diff --git

Re: [PATCH 1/1] Documentation/sysctl/kernel.txt: header

2015-02-25 Thread Heinrich Schuchardt
On 25.02.2015 20:01, Jonathan Corbet wrote: > On Wed, 25 Feb 2015 19:43:17 +0100 > Heinrich Schuchardt wrote: > >> +For other authors see the commit history. Yes I can delete it. >> + >> +For general info and disclaimer, please look in README. > > It generally seems fine, but the above text

Re: [RFC] New of_io_release_and_unmap()

2015-02-25 Thread Arnd Bergmann
On Wednesday 25 February 2015 11:20:41 Joshua Clayton wrote: > Hello folks, > I notice that io_request_and_map has no inverse. > I would like to add a new function to undo what it does. > What do you want to use this for? So far all users are in essential drivers (clk and clocksource) that

Re: [PATCH 1/1] serial: 8250_dw: Fix get_mctrl behaviour

2015-02-25 Thread Arnd Bergmann
On Wednesday 25 February 2015 11:04:16 Jonathan Richardson wrote: > +- msr-override : array of strings to be used to override the individual > + modem status signals for DCD, DSR, CTS, and RI. If the property is not > + present, the individual signals are obtained from the modem status >

Re: [PATCH v4 0/4] Add pinctrl support to Broadcom Cygnus SoC

2015-02-25 Thread Dmitry Torokhov
On Tue, Feb 03, 2015 at 06:09:57PM -0800, Ray Jui wrote: > This patchset contains the initial pinctrl (IOMUX) support for the Broadcom > Cygnus SoC. The Cygnus IOMUX controller supports group based mux configuration > and allows certain pins to be muxed to GPIO function individually > > Changes

Re: [PATCH v9 0/4] Add gpio/pinconf support to Broadcom Cygnus SoC

2015-02-25 Thread Dmitry Torokhov
On Tue, Feb 10, 2015 at 02:16:20PM -0800, Ray Jui wrote: > This patchset contains the initial GPIO/PINCONF support for the Broadcom > Cygnus SoC. > > Cygnus has 3 GPIO controllers: 1) the ASIU GPIO; 2) the chipCommonG GPIO; > and 3) the ALWAYS-ON GPIO. All 3 types of GPIO controllers are

[GIT PULL] Thermal SoC management updates for v4.0-rc2

2015-02-25 Thread Eduardo Valentin
Hello Rui, Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc-thermal.git fixes to receive Thermal SoC Management updates for v4.0-rc2 with top-most b71d399c7f2fe06b60b96155ec0b9ae167334e4a: thermal: exynos: Clean-up code to use oneline entry for exynos

Re: [PATCH 2/4] i2c: sunxi: Add Reduced Serial Bus (RSB) DT bindings documentation

2015-02-25 Thread Arnd Bergmann
On Tuesday 24 February 2015 22:32:57 Chen-Yu Tsai wrote: > On Tue, Feb 24, 2015 at 10:17 PM, Arnd Bergmann wrote: > > On Tuesday 24 February 2015 22:01:26 Chen-Yu Tsai wrote: > >> On Tue, Feb 24, 2015 at 6:37 PM, Arnd Bergmann wrote: > >> > On Tuesday 24 February 2015 18:29:02 Chen-Yu Tsai

Re: [PATCH v5 0/6] Add common clock support for Broadcom iProc architecture

2015-02-25 Thread Dmitry Torokhov
On Wed, Feb 04, 2015 at 04:54:59PM -0800, Ray Jui wrote: > This patchset contains the initial common clock support for Broadcom's iProc > family of SoCs. The iProc clock architecture comprises of various PLLs, e.g., > ARMPLL, GENPLL, LCPLL0, MIPIPLL, and etc. An onboard crystal serves as the >

[RFC PATCH] ipc/sem.c: Add one more memory barrier to sem_lock().

2015-02-25 Thread Manfred Spraul
Hi, What do you think about the following patch for sem_lock()? Other options: 1) I don't like #define smp_mb__after_unlock_wait() smp_rmb() I think it is too specific: the last block in sem_lock uses if (sma->complex_count == 0) {

SYMTAB_SHNDX has bad sh_link build error

2015-02-25 Thread Vinson Lee
Hi. With Linux 4.0-rc1, I get this allyesconfig build error on CentOS 5. This build error occurs starting with Linux 3.15-rc1. + modpost_link vmlinux.o + ld -m elf_x86_64 -r -o vmlinux.o arch/x86/kernel/head_64.o arch/x86/kernel/he$ + make -f ./scripts/Makefile.modpost vmlinux.o

Re: [PATCH] clk: Use lockdep asserts to find missing hold of prepare_lock

2015-02-25 Thread Mike Turquette
Quoting Krzysztof Kozlowski (2015-01-09 00:28:10) > Add lockdep asserts for holding the prepare_lock to all functions > marking this as a requirement in description. Add this to private and > exported functions so all locking misuse could be detected during > debugging. > > Signed-off-by:

[PATCH] KVM: SVM: fix interrupt injection (apic->isr_count always 0)

2015-02-25 Thread Radim Krčmář
2015-02-25 17:00+0100, Borislav Petkov: > Hi, > > commit in $Subject breaks my kvm guest on AMD host, causing it to do the > following below. Mouse doesn't work anymore in the guest, network is > gone too. > > Reverting it fixes the issue. Thanks, this patch should fix it. ---8<--- In commit

Re: [PATCH] perf: Fix sigbus with perf-top

2015-02-25 Thread Arnaldo Carvalho de Melo
Em Wed, Feb 18, 2015 at 07:03:18PM -0500, David Ahern escreveu: > perf-top is terminating due to SIGBUS on sparc64. git bisect points to: > > commit 82396986032915c1572bfb74b224fcc2e4e8ba7c > Author: Arnaldo Carvalho de Melo > Date: Mon Sep 8 13:26:35 2014 -0300 > > perf

Re: 0001-media-vb2-Fill-vb2_buffer-with-bytesused-from-user.patch

2015-02-25 Thread Jean-Michel Hautbois
Hi Sudip, 2015-02-25 19:23 GMT+01:00 Jeremiah Mahler : > Sudip, > > On Wed, Feb 25, 2015 at 03:29:22PM +0800, Sudip JAIN wrote: >> Dear Maintainer, >> >> PFA attached patch that prevents user from being returned garbage bytesused >> value from vb2 framework. >> >> Regards, >> Sudip Jain >> > >

Re: [PATCH] thermal: armada: read stable temp on Armada XP

2015-02-25 Thread Tyler Hall
Hi Gregory, Eduardo, On Wed, Feb 25, 2015 at 05:10:14PM +0100, Gregory CLEMENT wrote: > By using it by default do you mean removing marvell,armadaxp-thermal > and adding armadaxp-filtered-thermal instead ? Yes, replacing it in device tree. For me, /sys/class/thermal/thermal_zone0/temp returns

Re: [RFC 1/3] i2c: Enhancement of i2c API to address circular lock dependency problem

2015-02-25 Thread Mike Turquette
Quoting Mark Brown (2015-01-18 05:41:24) > On Sun, Jan 18, 2015 at 11:54:56AM +0100, Krzysztof Kozlowski wrote: > > W dniu 18.01.2015 o 07:30, Tomasz Figa pisze: > > > >So, the question is, do we actually have hardware that _really_ > > >requires _actual_ preparation or all the

Re: [PATCH 2/3 v3] x86: entry_64.S: always allocate complete "struct pt_regs"

2015-02-25 Thread Andrey Wagin
2015-02-25 21:42 GMT+03:00 Denys Vlasenko : > On 02/25/2015 01:37 PM, Andrey Wagin wrote: >> 2015-02-13 0:54 GMT+03:00 Denys Vlasenko : >>> 64-bit code was using six stack slots less by not saving/restoring >>> registers which are callee-preserved according to C ABI, >>> and not allocating space

Re: [PATCH] clk: qcom: fix platform_no_drv_owner.cocci warnings

2015-02-25 Thread Mike Turquette
Quoting Stephen Boyd (2015-01-28 12:51:05) > On 01/27/15 23:11, kbuild test robot wrote: > > drivers/clk/qcom/lcc-msm8960.c:577:3-8: No need to set .owner here. The > > core will do it. > > > > Remove .owner field if calls are used which set it automatically > > > > Generated by:

Re: [PATCH] clk: qcom: fix platform_no_drv_owner.cocci warnings

2015-02-25 Thread Mike Turquette
Quoting Stephen Boyd (2015-01-28 12:49:32) > On 01/27/15 23:00, kbuild test robot wrote: > > drivers/clk/qcom/lcc-ipq806x.c:465:3-8: No need to set .owner here. The > > core will do it. > > > > Remove .owner field if calls are used which set it automatically > > > > Generated by:

Re: [PATCH 1/1] serial: 8250_dw: Fix get_mctrl behaviour

2015-02-25 Thread Jonathan Richardson
Hi Arnd, On 15-02-25 11:21 AM, Arnd Bergmann wrote: > On Wednesday 25 February 2015 11:04:16 Jonathan Richardson wrote: >> +- msr-override : array of strings to be used to override the individual >> + modem status signals for DCD, DSR, CTS, and RI. If the property is not >> + present, the

Re: [RFC] New of_io_release_and_unmap()

2015-02-25 Thread Joshua Clayton
On Wed, Feb 25, 2015 at 11:23 AM, Arnd Bergmann wrote: > On Wednesday 25 February 2015 11:20:41 Joshua Clayton wrote: >> Hello folks, >> I notice that io_request_and_map has no inverse. >> I would like to add a new function to undo what it does. >> > > What do you want to use this for? So far all

Re: [PATCH v7 1/7] mfd: Add support for DA9150 combined charger & fuel-gauge device

2015-02-25 Thread Sebastian Reichel
Hi, On Wed, Feb 18, 2015 at 02:08:24PM +, Adam Thomson wrote: > DA9150 is a combined Charger and Fuel-Gauge IC, with additional > GPIO and GPADC functionality. > > Signed-off-by: Adam Thomson > Acked-by: Lee Jones This patch is already in 4.0-rc1 making things easier for 4.1 :) --

Re: [PATCH 0/3] MSM8960 LCC fixes

2015-02-25 Thread Mike Turquette
Quoting Stephen Boyd (2015-01-29 15:38:10) > A couple of small fixes found while testing the audio clock control > on apq8064. Applied to clk-fixes. Regards, Mike > > Stephen Boyd (3): > clk: qcom: lcc-msm8960: Fix slimbus n and m val offsets > clk: qcom: lcc-msm8960: Fix PLL rate

Re: [PATCH v7 2/7] mfd: da9150: Add DT binding documentation for core

2015-02-25 Thread Sebastian Reichel
Hi, On Wed, Feb 18, 2015 at 02:08:26PM +, Adam Thomson wrote: > Signed-off-by: Adam Thomson > --- > Documentation/devicetree/bindings/mfd/da9150.txt | 43 > > 1 file changed, 43 insertions(+) > create mode 100644 Documentation/devicetree/bindings/mfd/da9150.txt >

Re: [PATCH 2/3 v3] x86: entry_64.S: always allocate complete "struct pt_regs"

2015-02-25 Thread Andy Lutomirski
On Wed, Feb 25, 2015 at 11:59 AM, Andrey Wagin wrote: > 2015-02-25 21:42 GMT+03:00 Denys Vlasenko : >> On 02/25/2015 01:37 PM, Andrey Wagin wrote: >>> 2015-02-13 0:54 GMT+03:00 Denys Vlasenko : 64-bit code was using six stack slots less by not saving/restoring registers which are

Re: [PATCH v2] ARM: Don't use complete() during __cpu_die

2015-02-25 Thread Nicolas Pitre
On Wed, 25 Feb 2015, Nicolas Pitre wrote: > On Wed, 25 Feb 2015, Russell King - ARM Linux wrote: > > > We could just use the spin-and-poll solution instead of an IPI, but > > I really don't like that - when you see the complexity needed to > > re-initialise it each time, it quickly becomes very

Re: [PATCH] clk: fractional-divider: support for divider bypassing

2015-02-25 Thread Mike Turquette
Quoting Stephen Boyd (2015-02-02 11:42:55) > On 02/02/15 05:37, Heikki Krogerus wrote: > > If the divider or multiplier values values are 0 in the > > s/values// > > > register, bypassing the divider and returning the parent > > clock rate in clk_fd_recalc_rate(). > > > > Signed-off-by: Heikki

Re: Question about Old Fix Me comment in mempool.c

2015-02-25 Thread Mikulas Patocka
On Tue, 16 Dec 2014, nick wrote: > Greetings Andrew and other maintainers, > I am wondering why the below comment is even in mempool.c and this has not > been changed to a call to io_schedule as the kernel version is stupidly old > and this should be fixed by now and the issues with DM would

Re: [PATCH] clk: fractional-divider: support for divider bypassing

2015-02-25 Thread Mike Turquette
Quoting Stephen Boyd (2015-02-02 11:42:55) > On 02/02/15 05:37, Heikki Krogerus wrote: > > If the divider or multiplier values values are 0 in the > > s/values// > > > register, bypassing the divider and returning the parent > > clock rate in clk_fd_recalc_rate(). > > > > Signed-off-by: Heikki

Re: [PATCH] PCI/AER: Avoid info leak in __print_tlp_header

2015-02-25 Thread Bjorn Helgaas
[+cc Tony] On Wed, Feb 25, 2015 at 10:54 AM, Borislav Petkov wrote: > On Tue, Feb 24, 2015 at 11:50:46PM +0100, Rasmus Villemoes wrote: >> Commit fab4c256a58b ("PCI/AER: Add a TLP header print helper") >> introduced the helper function __print_tlp_header, but contrary to the >> intention, the

Re: [PATCH v3 1/3] mmc: core: Add mmc_regulator_set_vqmmc()

2015-02-25 Thread Doug Anderson
Ulf, On Mon, Dec 15, 2014 at 4:22 PM, Doug Anderson wrote: > This adds logic to the MMC core to set VQMMC. This is expected to be > called by MMC drivers like dw_mmc as part of (or instead of) their > start_signal_voltage_switch() callback. > > A few notes: > > * When setting the signal voltage

Re: [PATCH] capabilities: Ambient capability set V1

2015-02-25 Thread Christoph Lameter
On Wed, 25 Feb 2015, Serge Hallyn wrote: > Yeah we could make this Well doing that breaks su. Its best to leave perm bits untouched. christoph@fujitsu-haswell:~$ su setgid: Operation not permitted -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: [PATCH] x86: svm: don't intercept CR0 TS or MP bit write

2015-02-25 Thread Radim Krčmář
2015-02-24 15:25-0600, Joel Schopp: > > >> - clr_cr_intercept(svm, INTERCEPT_CR0_WRITE); > >>} else { > >>set_cr_intercept(svm, INTERCEPT_CR0_READ); > > (There is no point in checking fpu_active if cr0s are equal.) > > > >> - set_cr_intercept(svm,

Re: [PATCH] power_supply: rt5033: Constify struct regmap_config

2015-02-25 Thread Sebastian Reichel
Hi, On Tue, Feb 24, 2015 at 10:52:13AM +0100, Krzysztof Kozlowski wrote: > The regmap_config struct may be const because it is not modified by the > driver and regmap_init() accepts pointer to const. pulled into battery-2.6.git. -- Sebastian signature.asc Description: Digital signature

Re: [PATCH v7 0/7] Add initial support for DA9150 Charger & Fuel-Gauge IC

2015-02-25 Thread Sebastian Reichel
Hi, On Wed, Feb 18, 2015 at 02:08:19PM +, Adam Thomson wrote: > This patch set adds initial support for the Dialog DA9150 Integrated Charger & > Fuel-Gauge IC. The device also provides GPIO and GPADC functionality. > > In this patch set the following is provided: > - MFD Core support and DT

Re: [PATCH] bq27x00_battery: register as non-wakeup power supply.

2015-02-25 Thread Sebastian Reichel
Hi, On Tue, Feb 24, 2015 at 02:17:32PM +1100, NeilBrown wrote: > power_supply status changes for the bq27x00 are only noticed via > polling, not via interrupts. So they are never the source of > events which should reliably wake the system from suspend. So it > is appropriate to register as a

Re: [PATCH -v2] mm, oom: do not fail __GFP_NOFAIL allocation if oom killer is disbaled

2015-02-25 Thread David Rientjes
On Wed, 25 Feb 2015, Michal Hocko wrote: > diff --git a/mm/page_alloc.c b/mm/page_alloc.c > index 2d224bbdf8e8..c2ff40a30003 100644 > --- a/mm/page_alloc.c > +++ b/mm/page_alloc.c > @@ -2363,7 +2363,8 @@ __alloc_pages_may_oom(gfp_t gfp_mask, unsigned int > order, > goto

Re: [PATCH] clk: Missing set_phase op is an error

2015-02-25 Thread Mike Turquette
Quoting Stephen Boyd (2015-02-02 14:09:43) > If a clock's clk_ops doesn't have the set_phase op set we should > return an error from clk_set_phase(). This way clock consumers > know that when they tried to set a phase it didn't work, as > opposed to the current behavior where the return value is 0

Re: [PATCH v7 5/7] power: Add support for DA9150 Charger

2015-02-25 Thread Jonathan Cameron
On 18/02/15 14:08, Adam Thomson wrote: > This patch adds support for DA9150 Charger & Fuel-Gauge IC Charger. > > Signed-off-by: Adam Thomson For the IIO side of things (with one small suggestion inline) Reviewed-by: Jonathan Cameron > --- > drivers/power/Kconfig | 12 + >

Re: [PATCH 2/2] iio: jsa1212: Constify struct regmap_config

2015-02-25 Thread Jonathan Cameron
On 24/02/15 09:41, Krzysztof Kozlowski wrote: > The regmap_config struct may be const because it is not modified by the > driver and regmap_init() accepts pointer to const. > > Signed-off-by: Krzysztof Kozlowski Applied to the togreg branch of iio.git. I'm having another of my periodic days in

Re: [PATCH V7 05/11] USB: f81232: implement read IIR/MSR with endpoint

2015-02-25 Thread Johan Hovold
On Tue, Feb 24, 2015 at 06:16:20PM +0800, Peter Hung wrote: > The interrupt endpoint will report current IIR. If we got IIR with MSR changed > , We will do read MSR with interrupt_work worker to do f81232_read_msr() > function. > > We also confirmd MSR strange delta value is not locking-issue.

Re: [PATCH 1/2] staging:iio:hmc5843: Constify register tables and struct regmap_config

2015-02-25 Thread Jonathan Cameron
On 24/02/15 09:41, Krzysztof Kozlowski wrote: > The regmap_access_table and regmap_config structures may be const > because they are not modified by the driver and regmap_init() accepts > pointer to const. > > Signed-off-by: Krzysztof Kozlowski Applied to the togreg branch of iio.git. Note I

Re: [PATCH V7 08/11] USB: f81232: implement set_termios()

2015-02-25 Thread Johan Hovold
On Tue, Feb 24, 2015 at 06:16:23PM +0800, Peter Hung wrote: > The original driver had do not any h/w change in driver. > This patch implements with configure H/W for > baud/parity/word length/stop bits functional in f81232_set_termios(). > > This patch also implement DTR/RTS control when baudrate

Re: [PATCH V7 06/11] USB: f81232: implement MCR/MSR function

2015-02-25 Thread Johan Hovold
On Tue, Feb 24, 2015 at 06:16:21PM +0800, Peter Hung wrote: > This patch implement relative MCR/MSR function, such like > tiocmget()/tiocmset()/dtr_rts()/carrier_raised() > > original f81232_carrier_raised() compared with wrong value UART_DCD. > It's should compared with UART_MSR_DCD. > >

Re: [PATCH V7 07/11] USB: f81232: implement port_enable function

2015-02-25 Thread Johan Hovold
On Tue, Feb 24, 2015 at 06:16:22PM +0800, Peter Hung wrote: > We put FCR/IER initial step to f81232_port_enable(). When port is open, > it set MSR interrupt on. Otherwise set it off. > > Signed-off-by: Peter Hung > --- > drivers/usb/serial/f81232.c | 39 +++ >

Re: [PATCH] Add a quirk for the Dell XPS 13 (2015) when in PS/2 mode.

2015-02-25 Thread Pali Rohár
On Wednesday 25 February 2015 19:48:55 Mario Limonciello wrote: > On 02/20/2015 02:41 PM, Pali Rohár wrote: > > On Friday 20 February 2015 20:56:23 Mario Limonciello wrote: > > > > resetafter=0 means to never reset (even if driver receive > > e.g thousand invalid packets). I think this is very >

Re: [PATCH V7 03/11] USB: f81232: implement RX bulk-in EP

2015-02-25 Thread Johan Hovold
On Tue, Feb 24, 2015 at 06:16:18PM +0800, Peter Hung wrote: > The F81232 bulk-in is RX data + LSR channel, data format is > [LSR+Data][LSR+Data]. , We had implemented in f81232_process_read_urb(). > > Signed-off-by: Peter Hung > --- > drivers/usb/serial/f81232.c | 69 >

Re: [PATCH v7 6/7] power: da9150: Add DT binding documentation for charger

2015-02-25 Thread Jonathan Cameron
On 18/02/15 14:08, Adam Thomson wrote: > Signed-off-by: Adam Thomson Acked-by: Jonathan Cameron > --- > .../devicetree/bindings/power/da9150-charger.txt | 26 > ++ > 1 file changed, 26 insertions(+) > create mode 100644

Re: [PATCH v2] clk: Add tracepoints for hardware operations

2015-02-25 Thread Mike Turquette
Quoting Stephen Boyd (2015-02-02 14:37:41) > It's useful to have tracepoints around operations that change the > hardware state so that we can debug clock hardware performance > and operations. Four basic types of events are supported: on/off > events for enable, disable, prepare, unprepare that

Re: [PATCH 3/3] kernel/sysctl.c: threads-max observe limits

2015-02-25 Thread David Rientjes
On Wed, 25 Feb 2015, Heinrich Schuchardt wrote: > > I believe this information should be added to the documentation cited > > above which mentions threads-max since users will otherwise be unfamiliar > > with the limits imposed. > > Hello David, > > I guess the documentation fix should be put

Re: [PATCHv2 2/3,RESEND] iio: dht11: Add locking

2015-02-25 Thread Jonathan Cameron
On 22/02/15 10:44, Richard Weinberger wrote: > On Sat, Jan 10, 2015 at 12:16 PM, Jonathan Cameron wrote: >> On 07/01/15 12:18, Harald Geyer wrote: >>> Make sure that the read function is not interrupted... >>> >>> From: Richard Weinberger >>> Signed-off-by: Richard Weinberger >>> Acked-by:

Re: [PATCH] clk: clk_set_parent() with current parent shouldn't fail

2015-02-25 Thread Mike Turquette
Quoting Philipp Zabel (2015-02-03 01:42:34) > Am Montag, den 02.02.2015, 14:11 -0800 schrieb Stephen Boyd: > > If a driver calls clk_set_parent(clk, parent) and parent is the > > current parent of clk we shouldn't fail in any case. > > Unfortunately if clk is a read-only mux we return -ENOSYS > >

Re: [PATCH V7 02/11] USB: f81232: add preparatory functions

2015-02-25 Thread Johan Hovold
On Tue, Feb 24, 2015 at 06:16:17PM +0800, Peter Hung wrote: > We add f81232_get_register()/f81232_set_register() and necessary defines > for future patch with communication with F81232 USB control endpoint. > > Because of this is a preparatory patch, there are unused function warning > with

Re: [PATCH v6 6/7] PCI: update dma configuration from DT

2015-02-25 Thread Murali Karicheri
On 02/25/2015 11:09 AM, Arnd Bergmann wrote: On Wednesday 25 February 2015 11:03:02 Murali Karicheri wrote: (I don't know exactly how these patches all fit together, so that's probably not accurate, but that's the *sort* of thing I'd like to include.) If that actually *is* what's going on, I

Re: [PATCH 1/5] power_supply: max77693: Properly handle error conditions

2015-02-25 Thread Sebastian Reichel
Hi, On Tue, Feb 24, 2015 at 10:54:43AM +0100, Krzysztof Kozlowski wrote: > Re-work and fix handling of errors when retrieving power supply > properties: > > 1. Return errno values directly from get_property() instead of storing >'unknown' as intval for given property. > > 2. Handle

Re: [PATCH v3 0/2] x86/arm64: add xenconfig

2015-02-25 Thread David Rientjes
On Wed, 25 Feb 2015, Michal Marek wrote: > > On Tue, 2015-02-10 at 14:21 -0800, David Rientjes wrote: > >> We need an update to the MAINTAINERS file if "Yann E. MORIN" > >> isn't the active Kconfig maintainer anymore. > > > > Yes, we do. Michal, what update would you suggest? > > I'll revert

<    9   10   11   12   13   14   15   16   17   18   >