Re: [RFC][PATCHSET] non-recursive pathname resolution

2015-05-09 Thread Al Viro
On Wed, May 06, 2015 at 12:59:47AM +0100, Al Viro wrote: It is passing xfstests and LTP, plus some basic create a twisted forest of symlinks and walk it tests, but yes, it obviously needs more beating. I'll push everything up to #76 into -next tonight (with the changes you asked for). [snip]

Re: [PATCH 0/6] support dataplane mode for nohz_full

2015-05-09 Thread Andy Lutomirski
On Sat, May 9, 2015 at 12:05 AM, Ingo Molnar mi...@kernel.org wrote: * Andrew Morton a...@linux-foundation.org wrote: On Fri, 8 May 2015 19:11:10 -0400 Chris Metcalf cmetc...@ezchip.com wrote: On 5/8/2015 5:22 PM, Steven Rostedt wrote: On Fri, 8 May 2015 14:18:24 -0700 Andrew Morton

Re: [PATCH 0/6] support dataplane mode for nohz_full

2015-05-09 Thread Mike Galbraith
On Sat, 2015-05-09 at 09:05 +0200, Ingo Molnar wrote: * Andrew Morton a...@linux-foundation.org wrote: On Fri, 8 May 2015 19:11:10 -0400 Chris Metcalf cmetc...@ezchip.com wrote: On 5/8/2015 5:22 PM, Steven Rostedt wrote: On Fri, 8 May 2015 14:18:24 -0700 Andrew Morton

Re: [PATCH 3/3] perf probe: Add --range option to show variable location range

2015-05-09 Thread He Kuang
On 2015/5/8 22:08, Masami Hiramatsu wrote: On 2015/05/08 21:23, He Kuang wrote: It is not easy for users to get the accurate byte offset or the line number where a local variable can be probed. With '--range' option, local variables in scope of the probe point are showed with byte offset

Re: [PATCH 2/2] x86: speed cpu_up by quirking cpu_init_udelay

2015-05-09 Thread Borislav Petkov
On Sat, May 09, 2015 at 09:22:38AM +0200, Ingo Molnar wrote: * Len Brown l...@kernel.org wrote: On Fri, May 8, 2015 at 4:32 AM, Borislav Petkov b...@alien8.de wrote: + pr_debug(cpu_init_udelay quirk to %d, was %d, new_udelay, init_udelay); Can we make this

[PATCH v2 1/3] perf probe: Remove length limitation for showing available variables

2015-05-09 Thread He Kuang
Use struct strbuf instead of bare char[] to remove the length limitation of variables in variable_list, so they will not disappear due to overlength, and make preparation for adding more description for variables. Signed-off-by: He Kuang heku...@huawei.com --- tools/perf/util/dwarf-aux.c| 50

[PATCH v2 2/3] perf probe: Add --range option to show variable location range

2015-05-09 Thread He Kuang
It is not easy for users to get the accurate byte offset or the line number where a local variable can be probed. With '--range' option, local variables in scope of the probe point are showed with byte offset range, and can be added according to this range information. For example, there are some

[PATCH v2 3/3] perf probe: Show better error message when failed to find variable

2015-05-09 Thread He Kuang
Indicate to check variable location range in error message when we got failed to find the variable. Before this patch: $ perf probe --add 'generic_perform_write+118 bytes' Failed to find the location of bytes at this address. Perhaps, it has been optimized out. Error: Failed to add

RE: [PATCH 5/6] nohz: support PR_DATAPLANE_STRICT mode

2015-05-09 Thread Gilad Ben Yossef
From: Andy Lutomirski [mailto:l...@amacapital.net] Sent: Saturday, May 09, 2015 10:29 AM To: Chris Metcalf Cc: Srivatsa S. Bhat; Paul E. McKenney; Frederic Weisbecker; Ingo Molnar; Rik van Riel; linux-...@vger.kernel.org; Andrew Morton; linux- ker...@vger.kernel.org; Thomas Gleixner; Tejun

Re: [PATCH] staging: gdm724: adding kernel endianness header

2015-05-09 Thread Dan Carpenter
On Fri, May 08, 2015 at 06:29:24PM -0500, Jaime Arrocha wrote: From TODO list: remove test for host endian Included header to gather information about host endianness. Please let me know if the code addition requires corrections to meet standards. No. This isn't really an improvement. We

Re: [PATCH 2/2] x86: speed cpu_up by quirking cpu_init_udelay

2015-05-09 Thread Ingo Molnar
(Resending my reply with more dyn-debug folks Cc:-ed) * Len Brown l...@kernel.org wrote: On Fri, May 8, 2015 at 4:32 AM, Borislav Petkov b...@alien8.de wrote: + pr_debug(cpu_init_udelay quirk to %d, was %d, new_udelay, init_udelay); Can we make this printk(KERN_DEBUG please?

[PATCH v8 04/16] clocksource/drivers: Add ARM System timer driver

2015-05-09 Thread Maxime Coquelin
This patch adds clocksource support for ARMv7-M's System timer, also known as SysTick. Tested-by: Chanwoo Choi cw00.c...@samsung.com Acked-by: Daniel Lezcano daniel.lezc...@linaro.org Signed-off-by: Maxime Coquelin mcoquelin.st...@gmail.com --- drivers/clocksource/Kconfig | 7

[PATCH v8 05/16] dt-bindings: mfd: Add STM32F4 RCC numeric constants into DT include file

2015-05-09 Thread Maxime Coquelin
Ths patch lists STM32F4's RCC numeric constants. It will be used by clock and reset drivers, and DT bindings. Signed-off-by: Maxime Coquelin mcoquelin.st...@gmail.com --- include/dt-bindings/mfd/stm32f4-rcc.h | 92 +++ 1 file changed, 92 insertions(+) create mode

[PATCH v8 06/16] dt-bindings: Document the STM32 reset bindings

2015-05-09 Thread Maxime Coquelin
This adds documentation of device tree bindings for the STM32 reset controller. Signed-off-by: Maxime Coquelin mcoquelin.st...@gmail.com --- .../devicetree/bindings/reset/st,stm32-rcc.txt | 50 ++ 1 file changed, 50 insertions(+) create mode 100644

[PATCH v8 16/16] MAINTAINERS: Add entry for STM32 MCUs

2015-05-09 Thread Maxime Coquelin
Add a MAINTAINER entry covering all STM32 machine and drivers files. Signed-off-by: Maxime Coquelin mcoquelin.st...@gmail.com --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 2e5bbc0..858d821 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@

[PATCH v8 07/16] drivers: reset: Add STM32 reset driver

2015-05-09 Thread Maxime Coquelin
The STM32 MCUs family IPs can be reset by accessing some registers from the RCC block. The list of available reset lines is documented in the DT bindings. Tested-by: Chanwoo Choi cw00.c...@samsung.com Acked-by: Philipp Zabel p.za...@pengutronix.de Signed-off-by: Maxime Coquelin

[PATCH v8 10/16] dt-bindings: Document the STM32 USART bindings

2015-05-09 Thread Maxime Coquelin
This adds documentation of device tree bindings for the STM32 USART Tested-by: Chanwoo Choi cw00.c...@samsung.com Signed-off-by: Maxime Coquelin mcoquelin.st...@gmail.com --- .../devicetree/bindings/serial/st,stm32-usart.txt | 32 ++ 1 file changed, 32 insertions(+) create

[PATCH v8 09/16] clockevents/drivers: Add STM32 Timer driver

2015-05-09 Thread Maxime Coquelin
STM32 MCUs feature 16 and 32 bits general purpose timers with prescalers. The drivers detects whether the time is 16 or 32 bits, and applies a 1024 prescaler value if it is 16 bits. Reviewed-by: Linus Walleij linus.wall...@linaro.org Tested-by: Chanwoo Choi cw00.c...@samsung.com Signed-off-by:

[PATCH v8 15/16] ARM: configs: Add STM32 defconfig

2015-05-09 Thread Maxime Coquelin
This patch adds a new config for STM32 MCUs. STM32F429 Discovery board boots successfully with this config applied. Tested-by: Chanwoo Choi cw00.c...@samsung.com Signed-off-by: Maxime Coquelin mcoquelin.st...@gmail.com --- arch/arm/configs/stm32_defconfig | 70

Re: [PATCH] sched: Introduce TASK_NOLOAD and TASK_IDLE

2015-05-09 Thread Julian Anastasov
Hello, On Fri, 8 May 2015, Peter Zijlstra wrote: Subject: sched: Introduce TASK_NOLOAD and TASK_IDLE From: Peter Zijlstra pet...@infradead.org Date: Fri May 8 14:23:45 CEST 2015 Currently people use TASK_INTERRUPTIBLE to idle kthreads and wait for 'work' because

Re: PROBLEM: Many games perform sluggishly after waking PC from suspend

2015-05-09 Thread Borislav Petkov
On Sat, May 09, 2015 at 04:05:11AM -0500, Nicholas A wrote: Hello, I'm not sure who to report this to. I've already tried reporting it to Nvidia, but haven't heard any response. I also submitted it to Ubuntu's bug tracker. However, it occurred to me that it could be a general Linux issue.

Hardware spec prevents optimal performance in device driver

2015-05-09 Thread Mason
Hello everyone, I'm writing a device driver for a serial-ish kind of device. I'm interested in the TX side of the problem. (I'm working on an ARM Cortex A9 system by the way.) There's a 16-byte TX FIFO. Data is queued to the FIFO by writing {1,2,4} bytes to a TX{8,16,32} memory-mapped register.

Mailbox Quota Exceeded!

2015-05-09 Thread help-desk
Your mailbox is almost full and your two incoming mails were placed on pending due to the recent upgrade to our database. In order to receive the messages follow the link below to Up-grade your Email Account. Click here http://upgrading-services10.wix.com/mailbox to get your mailbox updated.

Re: [PATCH v11 00/19] Re-introduce h8300 architecture

2015-05-09 Thread Yoshinori Sato
At Fri, 8 May 2015 11:54:49 -0700, Guenter Roeck wrote: On Sat, May 09, 2015 at 12:04:20AM +0900, Yoshinori Sato wrote: Hello. I will re-introducing h8300. [ ... ] git repository git://git.sourceforge.jp/gitroot/uclinux-h8/linux.git h8300 All three available configurations

Re: [PATCH 5/6] ARM: dts: sunxi: Add Allwinner H3 DTSI

2015-05-09 Thread Maxime Ripard
On Wed, May 06, 2015 at 10:47:33PM +0200, Jens Kuske wrote: + * You should have received a copy of the GNU General Public + * License along with this file; if not, write to the Free + * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, + * MA 02110-1301 USA

Re: [PATCH 2/2] x86: speed cpu_up by quirking cpu_init_udelay

2015-05-09 Thread Ingo Molnar
* Len Brown l...@kernel.org wrote: On Fri, May 8, 2015 at 4:32 AM, Borislav Petkov b...@alien8.de wrote: + pr_debug(cpu_init_udelay quirk to %d, was %d, new_udelay, init_udelay); Can we make this printk(KERN_DEBUG please? I'd like to be able to slap debug on the command line

Re: [PATCH v3 1/4] remoteproc: introduce rproc_get_by_phandle API

2015-05-09 Thread Ohad Ben-Cohen
Hi Dave, On Wed, Apr 1, 2015 at 10:37 PM, Dave Gerlach d-gerl...@ti.com wrote: Allow users of remoteproc the ability to get a handle to an rproc by passing a phandle supplied in the user's device tree node. This is useful in situations that require manual booting of the rproc. This patch

[PATCH v8 14/16] ARM: dts: Introduce STM32F429 MCU

2015-05-09 Thread Maxime Coquelin
The STMicrolectornics's STM32F429 MCU has the following main features: - Cortex-M4 core running up to @180MHz - 2MB internal flash, 256KBytes internal RAM - FMC controller to connect SDRAM, NOR and NAND memories - SD/MMC/SDIO support - Ethernet controller - USB OTFG FS HS controllers -

Re: [PATCH v3 2/4] remoteproc: add a rproc ops for performing address translation

2015-05-09 Thread Ohad Ben-Cohen
Hi Dave, On Wed, Apr 1, 2015 at 10:37 PM, Dave Gerlach d-gerl...@ti.com wrote: From: Suman Anna s-a...@ti.com The rproc_da_to_va API is currently used to perform any device to kernel address translations to meet the different needs of the remoteproc core/drivers (eg: loading). The

[PATCH v8 12/16] ARM: Add STM32 family machine

2015-05-09 Thread Maxime Coquelin
STMicrolectronics's STM32 series is a family of Cortex-M microcontrollers. It is used in various applications, and proposes a wide range of peripherals. Tested-by: Chanwoo Choi cw00.c...@samsung.com Signed-off-by: Maxime Coquelin mcoquelin.st...@gmail.com --- Documentation/arm/stm32/overview.txt

[PATCH v8 02/16] ARM: ARMv7-M: Enlarge vector table up to 256 entries

2015-05-09 Thread Maxime Coquelin
From Cortex-M reference manuals, the nvic supports up to 240 interrupts. So the number of entries in vectors table is up to 256. This patch adds a new config flag to specify the number of external interrupts. Some ifdeferies are added in order to respect the natural alignment without wasting too

[PATCH v8 13/16] ARM: dts: Add ARM System timer as clocksource in armv7m

2015-05-09 Thread Maxime Coquelin
Tested-by: Chanwoo Choi cw00.c...@samsung.com Signed-off-by: Maxime Coquelin mcoquelin.st...@gmail.com --- arch/arm/boot/dts/armv7-m.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/armv7-m.dtsi b/arch/arm/boot/dts/armv7-m.dtsi index 5a660d0..b1ad7cf 100644 ---

Re: [PATCH v3 4/4] remoteproc/wkup_m3: add a remoteproc driver for TI Wakeup M3

2015-05-09 Thread Ohad Ben-Cohen
Hi Dave, On Wed, Apr 1, 2015 at 10:37 PM, Dave Gerlach d-gerl...@ti.com wrote: Add a remoteproc driver to load the firmware and boot a small Wakeup M3 processor present on TI AM33xx and AM43xx SoCs. This Wakeup M3 remote processor is an integrated Cortex M3 that allows the SoC to enter the

[PATCH v2 04/10] mfd: cros_ec: Use a zero-length array for command data

2015-05-09 Thread Javier Martinez Canillas
Commit 1b84f2a4cd4a (mfd: cros_ec: Use fixed size arrays to transfer data with the EC) modified the struct cros_ec_command fields to not use pointers for the input and output buffers and use fixed length arrays instead. This change was made because the cros_ec ioctl API uses that struct

[PATCH v2 08/10] mfd: cros_ec: Support multiple EC in a system

2015-05-09 Thread Javier Martinez Canillas
From: Gwendal Grignou gwen...@chromium.org Chromebooks can have more than one Embedded Controller so the cros_ec device id has to be incremented for each EC registered. Add code to handle multiple EC. First ec found is cros-ec0, second cros-ec1 and so on. Add a new structure to represent

[PATCH v2 06/10] mfd: cros_ec: add proto v3 skeleton

2015-05-09 Thread Javier Martinez Canillas
From: Stephen Barber smbar...@chromium.org Add support in cros_ec.c to handle EC host command protocol v3. For v3+, probe for maximum shared protocol version and max request, response, and passthrough sizes. For now, this will always fall back to v2, since there is no bus-specific code for

[PATCH v2 09/10] platform/chrome: cros_ec_lpc - Add support for Google Pixel 2

2015-05-09 Thread Javier Martinez Canillas
Since the verion of ACPI in Google BIOS does not enumarate the devices in the LPC bus, the cros_ec_lpc driver resorts to DMI data to check if a system is supported by the driver and autoload if built as a module. Add information about the Google Pixel 2 to the DMI device table. Signed-off-by:

[PATCH v2 07/10] mfd: cros_ec: add bus-specific proto v3 code

2015-05-09 Thread Javier Martinez Canillas
From: Stephen Barber smbar...@chromium.org Add proto v3 support to the SPI, I2C, and LPC. Signed-off-by: Stephen Barber smbar...@chromium.org Signed-off-by: Javier Martinez Canillas javier.marti...@collabora.co.uk Tested-by: Heiko Stuebner he...@sntech.de Reviewed-by: Gwendal Grignou

[PATCH v2 05/10] mfd: cros_ec: rev cros_ec_commands.h

2015-05-09 Thread Javier Martinez Canillas
From: Stephen Barber smbar...@chromium.org Update cros_ec_commands.h to the latest version in the EC firmware sources and add power domain and passthru commands. Also, update lightbar to use new command names. Signed-off-by: Stephen Barber smbar...@chromium.org Reviewed-by: Randall Spangler

[PATCH v2 10/10] mfd: cros_ec: spi: Add delay for asserting CS

2015-05-09 Thread Javier Martinez Canillas
From: Alexandru M Stan ams...@chromium.org Some ECs need a little time for waking up before they can accept SPI data at a high speed. This is configurable via a DT property google,cros-ec-spi-pre-delay. If this property isn't set, then no delay will be added. However, if set it will cause a

Re: [RFC] i2c-tools: i2ctransfer: add new tool

2015-05-09 Thread Wolfram Sang
BTW I'm curious if you actually needed the + and - suffixes in practice? I can easily imagine how the = suffix will be useful in the real world, but + and -... Or maybe just for bus driver testing purpose? Exactly for that. While you can send complex messages with my tool, it should be clear

Re: [PATCH 5/6] nohz: support PR_DATAPLANE_STRICT mode

2015-05-09 Thread Andy Lutomirski
On May 8, 2015 11:44 PM, Chris Metcalf cmetc...@ezchip.com wrote: With QUIESCE mode, the task is in principle guaranteed not to be interrupted by the kernel, but only if it behaves. In particular, if it enters the kernel via system call, page fault, or any of a number of other synchronous

[PATCH v8 00/16] Add support to STMicroelectronics STM32 family

2015-05-09 Thread Maxime Coquelin
Main change in this eighth round is the introduction of a new DT bindings include file for RCC IP drivers. It is for now only used by reset driver, but goal is to use it also for the clock driver later. Other changes are bug fix in termios callback of serial driver (uninitialized variables), and

[PATCH v8 11/16] serial: stm32-usart: Add STM32 USART Driver

2015-05-09 Thread Maxime Coquelin
This drivers adds support to the STM32 USART controller, which is a standard serial driver. Tested-by: Chanwoo Choi cw00.c...@samsung.com Reviewed-by: Peter Hurley pe...@hurleysoftware.com Reviewed-by: Vladimir Zapolskiy vladimir_zapols...@mentor.com Signed-off-by: Maxime Coquelin

[PATCH v8 01/16] scripts: link-vmlinux: Don't pass page offset to kallsyms if XIP Kernel

2015-05-09 Thread Maxime Coquelin
When Kernel is executed in place from ROM, the symbol addresses can be lower than the page offset. Tested-by: Chanwoo Choi cw00.c...@samsung.com Signed-off-by: Maxime Coquelin mcoquelin.st...@gmail.com --- scripts/link-vmlinux.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v8 08/16] dt-bindings: Document the STM32 timer bindings

2015-05-09 Thread Maxime Coquelin
This adds documentation of device tree bindings for the STM32 timer. Tested-by: Chanwoo Choi cw00.c...@samsung.com Acked-by: Rob Herring r...@kernel.org Signed-off-by: Maxime Coquelin mcoquelin.st...@gmail.com --- .../devicetree/bindings/timer/st,stm32-timer.txt | 22 ++ 1

[PATCH v8 03/16] dt-bindings: Document the ARM System timer bindings

2015-05-09 Thread Maxime Coquelin
This adds documentation of device tree bindings for the ARM System timer. Tested-by: Chanwoo Choi cw00.c...@samsung.com Acked-by: Rob Herring r...@kernel.org Signed-off-by: Maxime Coquelin mcoquelin.st...@gmail.com --- .../devicetree/bindings/arm/armv7m_systick.txt | 26

[PATCH net-next] test: bpf: extend load 64-bit immediate testcase

2015-05-09 Thread Xi Wang
Extend the testcase to catch a signedness bug in the arm64 JIT: test_bpf: #58 load 64-bit immediate jited:1 ret -1 != 1 FAIL (1 times) This is useful to ensure other JITs won't have a similar bug. Link: https://lkml.org/lkml/2015/5/8/458 Cc: Alexei Starovoitov a...@plumgrid.com Cc: Will Deacon

sysctl_writes_strict documentation + an oddity?

2015-05-09 Thread Michael Kerrisk (man-pages)
Hi Kees, I discovered that you added /proc/sys/kernel/sysctl_writes_strict in Linux 3.16. In passing, I'll just mention that was an API change that should have been CCed to linux-...@vger.kernel.org. Anyway, I've tried to write this file up for the proc(5) man page, and I have two requests: 1)

Re: [PATCH v4 7/7] mtrr, mm, x86: Enhance MTRR checks for KVA huge page mapping

2015-05-09 Thread Borislav Petkov
On Tue, Mar 24, 2015 at 04:08:41PM -0600, Toshi Kani wrote: This patch adds an additional argument, 'uniform', to mtrr_type_lookup(), which returns 1 when a given range is covered uniformly by MTRRs, i.e. the range is fully covered by a single MTRR entry or the default type. pud_set_huge()

Re: [PATCH 3/6] pinctrl: sunxi: Add H3 PIO controller support

2015-05-09 Thread Jens Kuske
Hi, On 07/05/15 10:10, Paul Bolle wrote: On Wed, 2015-05-06 at 11:31 +0200, Jens Kuske wrote: --- a/drivers/pinctrl/sunxi/Kconfig +++ b/drivers/pinctrl/sunxi/Kconfig +config PINCTRL_SUN8I_H3 +def_bool MACH_SUN8I +select PINCTRL_SUNXI_COMMON --- a/drivers/pinctrl/sunxi/Makefile

Re: [PATCH RFC] hwspinlock: Don't take software spinlock before hwspinlock

2015-05-09 Thread Ohad Ben-Cohen
Hi Lina, On Fri, May 1, 2015 at 8:07 PM, Lina Iyer lina.i...@linaro.org wrote: Some uses of the hwspinlock could be that one entity acquires the lock and the other entity releases the lock. This allows for a serialized traversal path from the locking entity to the other. For example, the

Re: [PATCH v8 11/16] serial: stm32-usart: Add STM32 USART Driver

2015-05-09 Thread Andy Shevchenko
On Sat, May 9, 2015 at 10:53 AM, Maxime Coquelin mcoquelin.st...@gmail.com wrote: This drivers adds support to the STM32 USART controller, which is a standard serial driver. Reviewed-by: Andy Shevchenko andy.shevche...@gmail.com Tested-by: Chanwoo Choi cw00.c...@samsung.com Reviewed-by:

RE: [PATCH 0/6] support dataplane mode for nohz_full

2015-05-09 Thread Gilad Ben Yossef
From: Mike Galbraith [mailto:umgwanakikb...@gmail.com] Sent: Saturday, May 09, 2015 10:20 AM To: Ingo Molnar Cc: Andrew Morton; Chris Metcalf; Steven Rostedt; Gilad Ben Yossef; Ingo Molnar; Peter Zijlstra; Rik van Riel; Tejun Heo; Frederic Weisbecker; Thomas Gleixner; Paul E. McKenney;

Re: [PATCH 2/6] clk: sunxi: Add H3 clocks support

2015-05-09 Thread Maxime Ripard
On Wed, May 06, 2015 at 11:31:29AM +0200, Jens Kuske wrote: The H3 clock control unit is similar to the those of other sun8i family members like the A23. The AHB1 gates got split up into AHB1 and AHB2, with AHB2 clock source being muxable between AHB1 and PLL6/2, but still sharing gate

Re: [PATCH 2/6] clk: sunxi: Add H3 clocks support

2015-05-09 Thread Maxime Ripard
On Wed, May 06, 2015 at 12:18:11PM +0200, Jens Kuske wrote: /** * sunxi_divs_clk_setup() - Setup function for leaf divisors on clocks * @@ -1252,6 +1288,7 @@ static const struct of_device_id clk_factors_match[] __initconst = { {.compatible = allwinner,sun5i-a13-ahb-clk,

Re: [PATCH v5 0/8] dmaengine/dra7x: DMA router (crossbar support)

2015-05-09 Thread Vinod Koul
On Thu, Apr 09, 2015 at 12:35:46PM +0300, Peter Ujfalusi wrote: Vinod: is it OK if I send the Documnetation/dmanegine/ update a bit later when I have finished it? Changes since v4: - Comments from Maxime Ripard addressed: - long line fixed in of-dma.c - node leaks has been fixed in

Re: [PATCH v2 3/5] dmaengine: pxa: add pxa dmaengine driver

2015-05-09 Thread Vinod Koul
On Fri, May 08, 2015 at 02:28:37PM +0200, Robert Jarzmik wrote: Vinod Koul vinod.k...@intel.com writes: +#define DRCMR_MAPVLD BIT(7) /* Map Valid (read / write) */ +#define DRCMR_CHLNUM 0x1f/* mask for Channel Number (read / write) */ + +#define DDADR_DESCADDR

Re: [PATCH 1/3] perf probe: Remove length limitation for showing available variables

2015-05-09 Thread He Kuang
On 2015/5/8 22:17, Masami Hiramatsu wrote: On 2015/05/08 21:23, He Kuang wrote: Use struct strbuf instead of bare char[] to remove the length limitation of variables in variable_list, so they will not disappear due to overlength, and make preparation for adding more description for

Directly mapped persistent memory page cache

2015-05-09 Thread Ingo Molnar
* Rik van Riel r...@redhat.com wrote: On 05/08/2015 11:54 AM, Linus Torvalds wrote: On Fri, May 8, 2015 at 7:40 AM, John Stoffel j...@stoffel.org wrote: Now go and look at your /home or /data/ or /work areas, where the endusers are actually keeping their day to day work. Photos, mp3,

PROBLEM: Many games perform sluggishly after waking PC from suspend

2015-05-09 Thread Nicholas A
Hello, I'm not sure who to report this to. I've already tried reporting it to Nvidia, but haven't heard any response. I also submitted it to Ubuntu's bug tracker. However, it occurred to me that it could be a general Linux issue. Anyway, I'll voice it here since it strikes me as the next step.

Re: [RFC] init.h: mark init functions hot instead of cold

2015-05-09 Thread Andi Kleen
On Sat, May 09, 2015 at 12:45:01AM +0200, Rasmus Villemoes wrote: attribute((cold)) causes gcc to optimize the function for size rather than speed. But since __init functions will be discarded anyway, I don't see why memory should be a concern. On the contrary, everybody It makes the bzImage

[PATCH v2 01/10] mfd: cros_ec: Remove parent field

2015-05-09 Thread Javier Martinez Canillas
From: Gwendal Grignou gwen...@chromium.org parent and dev were pointing to the same device structure. parent is unused, removed. Signed-off-by: Gwendal Grignou gwen...@chromium.org Reviewed-by: Stephen Barber smbar...@chromium.org Tested-by: Stephen Barber smbar...@chromium.org Reviewed-by:

[PATCH v2 02/10] platform/chrome: cros_ec_lpc - Use existing function to check EC result

2015-05-09 Thread Javier Martinez Canillas
Commit 6db07b633658 (mfd: cros_ec: Check result code from EC messages) added a common cros_ec_check_result() function that can be used to check the ec_msg-result for errors and warns about them. Use the existing function instead of duplicating same check in the driver. Signed-off-by: Javier

[PATCH v2 00/10] mfd: cros_ec: Add multi EC and proto v3 support

2015-05-09 Thread Javier Martinez Canillas
Hello, Newer Chromebooks have more than one Embedded Controller (EC) in the system. These additional ECs are connected through I2C with a host EC which is the one that is connected to the Application Processor (AP) through different transports (I2C, SPI or LPC). So on these platforms,

[PATCH v2 03/10] mfd: cros_ec: Instantiate sub-devices from device tree

2015-05-09 Thread Javier Martinez Canillas
From: Todd Broch tbr...@chromium.org If the EC device tree node has sub-nodes, try to instantiate them as MFD sub-devices. We can configure the EC features provided by the board. Signed-off-by: Todd Broch tbr...@chromium.org Signed-off-by: Javier Martinez Canillas

Re: [PATCH v11 19/19] h8300: devicetree source

2015-05-09 Thread Yoshinori Sato
At Fri, 8 May 2015 17:50:00 +0100, Mark Rutland wrote: Hi, +++ b/Documentation/devicetree/bindings/h8300/cpu.txt @@ -0,0 +1,17 @@ +* H8/300 CPU bindings + +Required properties: + +- compatible: Compatible property value should be renesas,h8300. +- reg: Contains CPU index.

Re: [PATCH 3/6] pinctrl: sunxi: Add H3 PIO controller support

2015-05-09 Thread Maxime Ripard
On Sat, May 09, 2015 at 11:17:51AM +0200, Jens Kuske wrote: +MODULE_DEVICE_TABLE(of, sun8i_h3_pinctrl_match); +MODULE_AUTHOR(Jens Kuske jensku...@gmail.com); +MODULE_DESCRIPTION(Allwinner H3 pinctrl driver); +MODULE_LICENSE(GPL); This adds some module specific boilerplate. Was it

[x86/xsaves] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000b00

2015-05-09 Thread Fengguang Wu
Greetings, 0day kernel testing robot got the below dmesg and the first bad commit is https://github.com/hansendc/linux.git github-mpx commit 4d90fc49c73730c09d7afd515f9c4e08d30229bd Author: Dave Hansen dave.han...@intel.com AuthorDate: Thu May 7 16:03:56 2015 -0700 Commit: Dave Hansen

[PATCH] staging: dgap: remove unused code

2015-05-09 Thread Sudip Mukherjee
dgap_sindex() is being only called from dgap_getword() which searches for either ' ' or '\t' or '\n'. this part of the code with '^' at the beginning is never used. Signed-off-by: Sudip Mukherjee su...@vectorindia.org --- drivers/staging/dgap/dgap.c | 21 - 1 file changed, 4

[PATCH 2/4] x86: Remove unused invalidate_interrupt prototypes

2015-05-09 Thread Brian Gerst
The invalidate_interrupt* functions no longer exist. Signed-off-by: Brian Gerst brge...@gmail.com --- arch/x86/include/asm/hw_irq.h | 35 --- 1 file changed, 35 deletions(-) diff --git a/arch/x86/include/asm/hw_irq.h b/arch/x86/include/asm/hw_irq.h index

[PATCH 1/4] x86: Merge irq_regs irq_stat

2015-05-09 Thread Brian Gerst
Move irq_regs and irq_stat definitions to irq.c. Signed-off-by: Brian Gerst brge...@gmail.com --- arch/x86/kernel/irq.c| 6 ++ arch/x86/kernel/irq_32.c | 6 -- arch/x86/kernel/irq_64.c | 6 -- 3 files changed, 6 insertions(+), 12 deletions(-) diff --git a/arch/x86/kernel/irq.c

[PATCH] drm/nouveau/gr: Fix typo in nv10.c

2015-05-09 Thread Masanari Iida
This patch fix spelling typo in printk within nv10.c Signed-off-by: Masanari Iida standby2...@gmail.com --- drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c

Re: Directly mapped persistent memory page cache

2015-05-09 Thread Eric W. Biederman
Ingo Molnar mi...@kernel.org writes: * Rik van Riel r...@redhat.com wrote: On 05/08/2015 11:54 AM, Linus Torvalds wrote: On Fri, May 8, 2015 at 7:40 AM, John Stoffel j...@stoffel.org wrote: Now go and look at your /home or /data/ or /work areas, where the endusers are actually keeping

Re: [PATCH 1/3] perf tools: Document relation of per-thread event count feature

2015-05-09 Thread David Ahern
On 5/9/15 9:19 AM, Namhyung Kim wrote: diff --git a/tools/perf/Documentation/perf-report.txt b/tools/perf/Documentation/perf-report.txt index 896672badba3..610e1e2cd035 100644 --- a/tools/perf/Documentation/perf-report.txt +++ b/tools/perf/Documentation/perf-report.txt @@ -34,7 +34,8 @@ OPTIONS

Re: [PATCH net-next] test: bpf: extend load 64-bit immediate testcase

2015-05-09 Thread Alexei Starovoitov
On 5/9/15 1:14 AM, Xi Wang wrote: Extend the testcase to catch a signedness bug in the arm64 JIT: test_bpf: #58 load 64-bit immediate jited:1 ret -1 != 1 FAIL (1 times) This is useful to ensure other JITs won't have a similar bug. Link: https://lkml.org/lkml/2015/5/8/458 Cc: Alexei

Re: Re: [PATCH] staging: gdm724: adding kernel endianness header

2015-05-09 Thread Jaime Arrocha
On Sat, 09 May 2015 05:59:40 -0500 Dan Carpenter dan.carpen...@oracle.com wrote On Fri, May 08, 2015 at 06:29:24PM -0500, Jaime Arrocha wrote: From TODO list: remove test for host endian Included header to gather information about host endianness. Please let me know if

Re: [PATCH v2 3/5] dmaengine: pxa: add pxa dmaengine driver

2015-05-09 Thread Robert Jarzmik
Vinod Koul vinod.k...@intel.com writes: On Fri, May 08, 2015 at 02:28:37PM +0200, Robert Jarzmik wrote: Sorry I don't get this comment, would you care to explain me please ? Right now you are using very genric names which can conflict with others, so makese sense to add PXA_DCMD_LENGTH with

RE: [x86/xsaves] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000b00

2015-05-09 Thread Yu, Fenghua
From: Wu, Fengguang Sent: Saturday, May 09, 2015 5:29 AM To: Hansen, Dave 0day kernel testing robot got the below dmesg and the first bad commit is https://github.com/hansendc/linux.git github-mpx commit 4d90fc49c73730c09d7afd515f9c4e08d30229bd [1.096425] Kernel panic - not syncing:

[PATCH 4/4] x86: Clean up IRQn_VECTOR macros

2015-05-09 Thread Brian Gerst
Since the ISA irqs are in a single block, use ISA_IRQ_VECTOR(irq) instead of individual macros. Signed-off-by: Brian Gerst brge...@gmail.com --- arch/x86/include/asm/irq_vectors.h | 18 +- arch/x86/kernel/apic/io_apic.c | 4 ++-- arch/x86/kernel/apic/vector.c | 2 +-

[PATCH 0/4] x86: IRQ cleanups

2015-05-09 Thread Brian Gerst
The following are a few simple cleanups to the x86 IRQ code. arch/x86/include/asm/hw_irq.h | 35 --- arch/x86/include/asm/irq_vectors.h | 21 + arch/x86/kernel/apic/io_apic.c | 4 ++-- arch/x86/kernel/apic/vector.c | 2 +-

[PATCH 3/4] x86: Remove SYSCALL_VECTOR

2015-05-09 Thread Brian Gerst
Use IA32_SYSCALL_VECTOR for both compat and native. Signed-off-by: Brian Gerst brge...@gmail.com --- arch/x86/include/asm/irq_vectors.h | 3 --- arch/x86/kernel/traps.c| 4 ++-- arch/x86/lguest/boot.c | 4 ++-- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git

Re: [PATCH v3 2/4] PM / Hibernate: prepare for SANITIZE_FREED_PAGES

2015-05-09 Thread Pavel Machek
Hi! SANITIZE_FREED_PAGES feature relies on having all pages going through the free_pages_prepare path in order to be cleared before being used. In the hibernate use case, pages will automagically appear in the system without being cleared. This patch will make sure free pages are cleared

Re: [PATCH v3 1/7] bio: Introduce LightNVM payload

2015-05-09 Thread Christoph Hellwig
On Wed, Apr 22, 2015 at 04:26:50PM +0200, Matias Bj??rling wrote: LightNVM integrates on both sides of the block layer. The lower layer implements mapping of logical to physical addressing, while the layer above can string together multiple LightNVM devices and expose them as a single block

Re: [linux-sunxi] [PATCH 0/6] ARM: sunxi: Introduce Allwinner H3 support

2015-05-09 Thread Hans de Goede
Hi, On 06-05-15 11:31, Jens Kuske wrote: Hi everyone, This patch series introduces basic kernel support for Allwinner's H3 SoC, mainly basic clocks and pinctrl. It also adds interrupts, timers, watchdog, RTC, dmaengine, MMC and UARTs, which are mostly compatible to those in earlier SoCs like

[PATCH] drm/i915: Fix typo in intel_runtime_pm.c

2015-05-09 Thread Masanari Iida
This patch fix spelling typo in intel_runtime_pm.c Signed-off-by: Masanari Iida standby2...@gmail.com --- drivers/gpu/drm/i915/intel_runtime_pm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_runtime_pm.c

Re: [PATCH v3 2/7] block: add REQ_NVM_GC for targets gc

2015-05-09 Thread Christoph Hellwig
On Wed, Apr 22, 2015 at 04:26:51PM +0200, Matias Bj??rling wrote: In preparation for Open-Channel SSDs. We introduce a special request for open-channel ssd targets that must perform garbage collection. Requests are divided into two types. The user and target specific. User IOs are from fs,

[PATCH] gpu: ipu-v3: ipu-csi: Use true/false for booleans

2015-05-09 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com Bool initializations should use true and false. Bool tests don't need comparisons. Based on contributions from Joe Perches, Rusty Russell and Bruce W Allan. The semantic patch that makes this change is available in

Re: [PATCH V5] staging: goldfish: Fix pointer cast for 32 bits

2015-05-09 Thread Greg KH
On Mon, May 04, 2015 at 03:11:18PM +0200, Peter Senna Tschudin wrote: As the first argument of gf_write64() was of type unsigned long, and as some calls to gf_write64() were casting the first argument from void * to u64 the compiler and/or sparse were printing warnings for casts of wrong sizes

Re: [GIT PULL] USB fixes for v4.1-rc1

2015-05-09 Thread Greg KH
On Fri, May 01, 2015 at 11:08:35AM -0500, Felipe Balbi wrote: Hi Greg, Here's first pull request for this -rc series. Patches have been tested with platforms I have access to and have also been cooking in linux-next for a couple days. cheers The following changes since commit

Re: [2/2] wireless: fix typos in mwifiex and rtlwifi

2015-05-09 Thread Kalle Valo
This patch fix some spelling typo in drivers/net/wirless Signed-off-by: Masanari Iida standby2...@gmail.com Thanks, applied to wireless-drivers-next.git. Kalle Valo -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org

Re: mwifiex: do not return success when command times out

2015-05-09 Thread Kalle Valo
wait_event_interruptible_timeout() returns 0 upon timeout. We should convert it to a negative error code (such as -ETIMEDOUT) instead of returning it directly, as return code of 0 indicates that command was executed. Signed-off-by: Dmitry Torokhov dmitry.torok...@gmail.com Thanks, applied

Re: [watchdog] 952c8813073: BUG: unable to handle kernel NULL pointer dereference at (null)

2015-05-09 Thread Chris Metcalf
On 5/9/2015 8:50 AM, Fengguang Wu wrote: Hi Chris, FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master commit 952c8813073ed240a610f8b44ecea9bdd60b62b4 (watchdog: add watchdog_cpumask sysctl to assist nohz) [...] [0.079378] BUG:

[PATCH 3/3] perf report: Do not restrict -T option by other options

2015-05-09 Thread Namhyung Kim
It seems there's no reason to suppress per-thread event stat by -T option when -s or -p option is used. Make it work with those options. Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/builtin-report.c | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff

RE: [x86/xsave] WARNING: CPU: 0 PID: 1 at arch/x86/kernel/xsave.c:306 save_xstate_sig()

2015-05-09 Thread Yu, Fenghua
From: Wu, Fengguang Sent: Saturday, May 09, 2015 5:31 AM To: Hansen, Dave Just in case this information will help: this patch adds one more warning message. https://github.com/hansendc/linux.git github-mpx commit 3701f7533ba43e0aec12bf2dffd49855499fa524 [3.058044] WARNING: CPU: 0

[PATCH 1/3] perf tools: Document relation of per-thread event count feature

2015-05-09 Thread Namhyung Kim
The 'perf record -s' and 'perf report -T' should be used together to see per-thread event counts. Document the relation of these commands. Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/Documentation/perf-record.txt | 3 ++- tools/perf/Documentation/perf-report.txt | 3 ++- 2

[PATCH 2/3] perf report: Force tty output if -T/--thread option is given

2015-05-09 Thread Namhyung Kim
The -T/--thread option is supported only on --stdio mode (at least for now). So enforce the tty output if the option was requested. Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/builtin-report.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH v4 0/3] Add Mediatek SoC RTC driver

2015-05-09 Thread Alexandre Belloni
On 06/05/2015 at 15:23:39 +0800, Eddie Huang wrote : RTC is one submodule of Mediatek MT6397 PMIC chip[1]. This series support RTC driver that work with Mediatek SoC like MT8135, MT8173. It implements second counter and also provide alarm function. This series base on 4.1-rc1, Test ok on

Re: [PATCH v3 3/3] proc: add kpageidle file

2015-05-09 Thread Minchan Kim
Hello, Vladimir On Fri, May 08, 2015 at 12:56:04PM +0300, Vladimir Davydov wrote: On Mon, May 04, 2015 at 07:54:59PM +0900, Minchan Kim wrote: So, I guess once below compiler optimization happens in __page_set_anon_rmap, it could be corrupt in page_refernced. __page_set_anon_rmap:

Re: [rtc-linux] [PATCH 07/12] rtc: st: Update IP layout information to include Clocksource

2015-05-09 Thread Alexandre Belloni
On 07/05/2015 at 14:38:39 +0100, Lee Jones wrote : Initial submission adding support for this IP only included Watchdog and the Real-Time Clock. Now the third (and final) device is enabled this trivial patch is required to update the comment in the RTC driver to encompass Clocksource.

<    1   2   3   4   5   >