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

2015-02-25 Thread Andi Kleen
Still, I wondered, so I ran me a little test. Note that I used a serializing instruction (LOCK XCHG) because WRMSR is too. WRMSR has a lot of uops internally unlike LOCK XCHG, so I expect it will mostly overlap with what it does. I'll run some benchmarks on this today. Also we do quite a few

Re: [SUSPECT SPAM] 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:01 PM, Pali Rohár wrote: On Tuesday 24 February 2015 00:31:52 Mario Limonciello wrote: For older dell models (some old inspirions and maybe also latitude) it was possible to use undocumented DELLDIAG interface (which enter into SMM mode and call some functions) to enable that

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

2015-02-25 Thread Scott Branden
This adds a driver for random number generator present on Broadcom IPROC devices. Reviewed-by: Ray Jui r...@broadcom.com Signed-off-by: Scott Branden sbran...@broadcom.com --- drivers/char/hw_random/Kconfig| 13 ++ drivers/char/hw_random/Makefile | 1 +

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 airl...@gmail.com wrote: On 12 February 2015 at 00:44, Alex Deucher alexdeuc...@gmail.com wrote: On Wed, Feb 11, 2015 at 3:53 AM, lausg...@gmail.com wrote: Hello. I'm looking for a PCI or AGP video card that would work on a Linux port

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 cards

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 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 mpor...@konsulko.com 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

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

[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] 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 stillcompil...@gmail.com --- drivers/of/address.c | 29 + include/linux/of_address.h | 2 ++ 2 files changed, 31 insertions(+)

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 supported by

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

[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] 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: Krzysztof

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 a...@redhat.com Date: Mon Sep 8 13:26:35 2014 -0300

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 the

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 clk_prepare_enable()s in I2C

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 adam.thomson.opensou...@diasemi.com Acked-by: Lee Jones lee.jo...@linaro.org This patch is already in

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 detection

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 have

Re: [PATCH v2] mmc: dw_mmc: fix bug that cause mmc_test failture

2015-02-25 Thread Javier Martinez Canillas
Hello Addy, On 02/20/2015 03:55 AM, Addy Ke wrote: The STOP command can terminate a data transfer between a memory card and mmc controller. As show in Synopsys DesignWare Cores Mobile Stroage Host Databook: s/Stroage/Storage but maybe Ulf can amend the typo when applying? Data timeout and

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 mturque...@linaro.org 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

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 l.majew...@samsung.com --- Changes for v2: - Replace

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 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 Majewski

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 mpor...@konsulko.com 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 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 r...@broadcom.com Signed-off-by: Scott Branden sbran...@broadcom.com --- drivers/char/hw_random/Kconfig|

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 uses PWM

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 xypron.g...@gmx.de 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

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 card

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 r...@broadcom.com Signed-off-by: Scott Branden sbran...@broadcom.com The driver looks reasonable overall, I have just one

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 from

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

2015-02-25 Thread Doug Anderson
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 card detect interrupt if it's not used. It appears that (at least

[PATCH v2 0/2] Add support for Broadcom RNG200

2015-02-25 Thread Scott Branden
This series of patchsets contains the Broadcom Random Number Generator driver and device tree binding documentation. Changes from v1: added \n to 2 dev_err messages Scott Branden (2): hwrng: iproc-rng200 - Add device tree bindings hwrng: iproc-rng200 - Add Broadcom IPROC RNG driver

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-02-25 Thread David Cohen
On Wed, Feb 25, 2015 at 10:34:45AM +0900, Alexandre Courbot wrote: On Wed, Feb 25, 2015 at 5:34 AM, David Cohen david.a.co...@linux.intel.com wrote: Hi, If we decide to go ahead with the solution proposed by this patch for practical reasons (which are good reasons indeed), I still have

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

2015-02-25 Thread 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 Patches should never be submitted as attachments, they should be inline. See

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

2015-02-25 Thread Ezequiel Garcia
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 preferred register given the way it is laid out in the public spec.

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 power

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 it registers

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 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 that MADV_FREE

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 l.majew...@samsung.com wrote: Hi Abhilash, This patch fixes the wrong control of PD_DET_EN (power down detection mode) for Exynos7

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 xypron.g...@gmx.de 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

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 rient...@google.com 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

[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 mpor...@konsulko.com 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

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 xypron.g...@gmx.de 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

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 result in

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

[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 a...@arndb.de wrote: On Tuesday 24 February 2015 22:01:26 Chen-Yu Tsai wrote: On Tue, Feb 24, 2015 at 6:37 PM, Arnd Bergmann a...@arndb.de wrote: On Tuesday 24 February 2015 18:29:02

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

2015-02-25 Thread Eric Dumazet
On Wed, 2015-02-25 at 19:50 +0200, Ameen Ali wrote: Transmitting asynchronously on all the network devices available we will notice the following behaviour: a) The instruction if (sd-completion_queue) { saves on a CPU register the pointer value (register contents is used for the comparison)

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 fork_init is called.

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 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 l.majew...@samsung.com Acked-by: Eduardo Valentin edubez...@gmail.com --- Changes for v2: -

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 term constant.

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 yaodongd...@huawei.com Hmmm... That is a fastpath, but invoke_rcu_core() is visible to the compiler, which should inline anyway. I took this patch

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

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 basic

[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) {

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

2015-02-25 Thread Doug Anderson
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 find the SDIO interrupt mask. Signed-off-by: Doug Anderson

Re: [PATCH v2] mmc: dw_mmc: Don't start commands while busy

2015-02-25 Thread Javier Martinez Canillas
Hello Doug, On 02/20/2015 09:31 PM, Doug Anderson wrote: We've seen problems on some WiFi modules where we seem to send a CMD53 (which requires the data lines) while the module is asserting busy. We shouldn't do that. The Designware Databook says that before issuing a new data transfer

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 imre.d...@intel.com 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

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 preferred register

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 edubez...@gmail.com wrote: The fix seams reasonable. Although, it remains the question what is

[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 term.

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 dvlas...@redhat.com: 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

[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 ameenali...@gmail.com 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(softnet_data); + volatile struct softnet_data *sd =

[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 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 l.majew...@samsung.com --- Changes for v2: - Rename cooling-pwm-values to

[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

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 diand...@chromium.org 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

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 message

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, INTERCEPT_CR0_WRITE); KVM uses

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 hpeter+linux_ker...@gmail.com --- 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 adam.thomson.opensou...@diasemi.com Acked-by: Jonathan Cameron ji...@kernel.org --- .../devicetree/bindings/power/da9150-charger.txt | 26 ++ 1 file changed, 26 insertions(+) create mode 100644

Re: [PATCH 3.14 00/17] 3.14.34-stable review

2015-02-25 Thread Shuah Khan
On 02/24/2015 07:10 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.14.34 release. There are 17 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should

Re: [PATCH 3.18 00/20] 3.18.8-stable review

2015-02-25 Thread Shuah Khan
On 02/24/2015 07:10 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.18.8 release. There are 20 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should

[PATCH] video: ARM CLCD: Added support for FBIO_WAITFORVSYNC

2015-02-25 Thread Arun Ramamurthy
Added ioctl and interrupt handler functions to support FBIO_WAITFORVSYNC Also corrected documentation to make interrupts and interrupt-names optional as they are not required properties. Reviewed-by: Ray Jui r...@broadcom.com Reviewed-by: Scott Branden sbran...@broadcom.com Signed-off-by: Arun

Re: [patch -rt 1/2] KVM: use simple waitqueue for vcpu-wq

2015-02-25 Thread Sebastian Andrzej Siewior
* Peter Zijlstra | 2015-02-18 15:03:20 [+0100]: On Tue, Feb 17, 2015 at 06:44:19PM +0100, Sebastian Andrzej Siewior wrote: * Peter Zijlstra | 2015-01-21 16:07:16 [+0100]: On Tue, Jan 20, 2015 at 01:16:13PM -0500, Steven Rostedt wrote: I'm actually wondering if we should just nuke the

[PATCH] video: ARM CLCD: Correcting timing checks for STN and TFT dispalys

2015-02-25 Thread Arun Ramamurthy
The minimum values for timing parameters such as left margin, right margin etc are different for STN and TFT dispalys. This commit fixes a check that does not account for this difference. Reviewed-by: Ray Jui r...@broadcom.com Reviewed-by: Scott Branden sbran...@broadcom.com Signed-off-by: Arun

[PATCH 1/7] perf bench: Fix order of arguments to memcpy_alloc_mem

2015-02-25 Thread Arnaldo Carvalho de Melo
From: Bruce Merry bme...@ska.ac.za This was causing the destination instead of the source to be filled. As a result, the source was typically all mapped to one zero page, and hence very cacheable. Signed-off-by: Bruce Merry bme...@ska.ac.za Acked-by: Ingo Molnar mi...@kernel.org Cc: Paul

[GIT PULL 0/7] perf/urgent fixes

2015-02-25 Thread Arnaldo Carvalho de Melo
Hi Ingo, Please consider pulling, - Arnaldo The following changes since commit 2a6730c8b6e075adf826a89a3e2caa705807afdb: kprobes/x86: Check for invalid ftrace location in __recover_probed_insn() (2015-02-21 10:33:31 +0100) are available in the git repository at:

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

2015-02-25 Thread Luis R. Rodriguez
On Wed, Feb 25, 2015 at 12:49 PM, David Rientjes rient...@google.com wrote: Woohoo, so does this mean that Luis's series will finally be merged into a tree somewhere? It's been a lengthy wait to try to get this merged. David Rientjes (as I'm also Cc'ing David Vrabel), I am reworking Xen's

[PATCH 5/7] perf top: Fix SIGBUS on sparc64

2015-02-25 Thread Arnaldo Carvalho de Melo
From: David Ahern david.ah...@oracle.com perf-top is terminating due to SIGBUS on sparc64. git bisect points to: commit 82396986032915c1572bfb74b224fcc2e4e8ba7c Author: Arnaldo Carvalho de Melo a...@redhat.com Date: Mon Sep 8 13:26:35 2014 -0300 perf evlist: Refcount mmaps

Re: [PATCH 2/4] HID: uclogic: merge hid-huion driver in hid-uclogic

2015-02-25 Thread Nikolai Kondrashov
On 02/25/2015 02:05 AM, Benjamin Tissoires wrote: From: Nikolai Kondrashov nikolai.kondras...@redhat.com Merge the hid-huion driver into hid-uclogic as all the devices supported by hid-huion are in fact UC-Logic devices. Signed-off-by: Benjamin Tissoires benjamin.tissoi...@redhat.com ---

[PATCH 2/7] perf tools: Define _GNU_SOURCE on pthread_attr_setaffinity_np feature check

2015-02-25 Thread Arnaldo Carvalho de Melo
From: Josh Boyer jwbo...@fedoraproject.org The man page for pthread_attr_set_affinity_np states that _GNU_SOURCE must be defined before pthread.h is included in order to get the proper function declaration. Define this in the Makefile. Without this defined, the feature check fails on a Fedora

[PATCH 3/7] perf tools: Fix pthread_attr_setaffinity_np build error

2015-02-25 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter adrian.hun...@intel.com Feature detection for pthread_attr_setaffinity_np was failing, producing this error: In file included from bench/futex-hash.c:17:0: bench/futex.h:73:19: error: conflicting types for ‘pthread_attr_setaffinity_np’ static inline int

Re: [PATCH 1/4] HID: uclogic: Set quirks from inside the driver

2015-02-25 Thread Nikolai Kondrashov
On 02/25/2015 02:05 AM, Benjamin Tissoires wrote: Based on a patch from: Nikolai Kondrashov nikolai.kondras...@redhat.com Most of the tablets handled by hid-uclogic already uses MULTI_INPUT. *use Fot the ones which are not quirked in usbhid/hidquirks, they have a *For custom report

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 -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 out;

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

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 hpeter+linux_ker...@gmail.com --- 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 dangerous

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 k.kozlow...@samsung.com Applied to the togreg branch of iio.git. I'm having another of

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

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