Re: [x86, vdso] BUG: unable to handle kernel paging request at d34bd000

2014-03-11 Thread H. Peter Anvin
On 03/10/2014 02:29 PM, stef...@seibold.net wrote: Do you except a complete new patch set or an incremental patch based on the current patch set? An incremental patch is probably easier. -hpa -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of

Re: [PATCH v15 3/3] arm64: Add APM X-Gene SoC 15Gbps Multi-purpose PHY DTS entries

2014-03-11 Thread Kishon Vijay Abraham I
On Tuesday 11 March 2014 02:15 AM, Tejun Heo wrote: On Sun, Mar 09, 2014 at 10:23:33PM -0700, Loc Ho wrote: Hi Tejun, On Fri, Mar 7, 2014 at 9:28 AM, Loc Ho l...@apm.com wrote: This patch adds the DTS entries for the APM X-Gene SoC 15Gbps Multi-purpose PHY driver. The PHY for SATA

Re: [PATCH] module: LLVMLinux: Remove unused function warning from __param_check macro

2014-03-11 Thread Rusty Russell
beh...@converseincode.com writes: From: Mark Charlebois charl...@gmail.com This code makes a compile time type check that is optimized away. Clang complains that it generates an unused function. I believe GCC won't complain for a static inline fuction but would if it was just a static

[PATCH 1/2] pstore: fix NULL pointer fault if get NULL prz in ramoops_get_next_prz

2014-03-11 Thread Liu ShuoX
These two patches are applied on top of patches: https://lkml.org/lkml/2014/3/3/368 It has been added in -mm tree. Below is the first patch, and i will send the second by replying this one. From: Liu ShuoX shuox@intel.com ramoops_get_next_prz get the prz according the paramters. If it get a

[PATCH 2/2] pstore: correct the max_dump_cnt clearing of ramoops

2014-03-11 Thread Liu ShuoX
From: Liu ShuoX shuox@intel.com In case that ramoops_init_przs failed, max_dump_cnt won't be reset to zero in error handle path. Signed-off-by: Liu ShuoX shuox@intel.com --- fs/pstore/ram.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/pstore/ram.c

Re: [PATCH] x86: Remove compat vdso support

2014-03-11 Thread Andi Kleen
Andy Lutomirski l...@amacapital.net writes: The compat vDSO is a complicated hack that's needed to maintain compatibility with a small range of never-released glibc versions. This removes it and replaces it with a much simpler hack: a config option to disable the 32-bit vDSO by default.

Re: [PATCH 1/1] HFSPLUS: add __init to hfsplus_create_attr_tree_cache()

2014-03-11 Thread Vyacheslav Dubeyko
On Mon, 2014-03-10 at 21:56 +0100, Fabian Frederick wrote: hfsplus_create_attr_tree_cache is only called by __init init_hfsplus_fs I think that it is the reasonable fix. Looks good for me. Reviewed-by: Vyacheslav Dubeyko sl...@dubeyko.com Thanks, Vyacheslav Dubeyko. Signed-off-by: Fabian

Re: [PATCH 5/5] skbuff: skb_segment: orphan frags before copying

2014-03-11 Thread Michael S. Tsirkin
On Tue, Mar 11, 2014 at 08:39:41AM +0800, Herbert Xu wrote: On Tue, Mar 11, 2014 at 12:30:01AM +0200, Michael S. Tsirkin wrote: How about we do the simple thing as the first step and try to optimize as a separate patch on top? Sure let's do that. Cheers, Could you send an ack to my

[PATCH] tools, perf: Add asprintf replacement

2014-03-11 Thread Andi Kleen
From: Andi Kleen a...@linux.intel.com asprintf corrupts memory on some older glibc versions. Provide a replacement. This fixes various segfaults with --branch-history on older Fedoras. Signed-off-by: Andi Kleen a...@linux.intel.com --- tools/perf/Makefile.perf | 1 +

Re: [PATCH] drivers: mfd: silence compiler warning in sec-core.c

2014-03-11 Thread Lee Jones
When used 64bit compiler GCC warns as drivers/mfd/sec-core.c:199:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] This patch fixes this by type-casting match-data into long before converting into int Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com

Re: [PATCH v6 6/6] pci: Add support for creating a generic host_bridge from device tree

2014-03-11 Thread Arnd Bergmann
On Monday 10 March 2014 21:56:00 Liviu Dudau wrote: PCI_IOBASE is always defined. See the discussion with Russell on this subject. include/asm-generic/io.h has at line 118: #ifndef PCI_IOBASE #define PCI_IOBASE ((void __iomem *) 0) #endif That is only defined for those that use

[PATCH v2] gpio: clamp returned values to the boolean range

2014-03-11 Thread Alexandre Courbot
Nothing prevents GPIO drivers from returning values outside the boolean range, and as it turns out a few drivers are actually doing so. These values were passed as-is to unsuspecting consumers and created confusion. This patch makes the internal _gpiod_get_raw_value() function return a bool,

Re: [PATCH] Revert ALSA: emu10k1: Fix warning: CCR redefined

2014-03-11 Thread Takashi Iwai
At Mon, 10 Mar 2014 21:20:55 +0100, Geert Uytterhoeven wrote: This reverts commit 83fc3bc09518d42e8f5073e2a65884701dfadf19. sh-specific CCR and CCR2 have been prefixed by SH_ in commit a5f6ea29f9a918403629f8369ae55fac6b09cb53 ('sh: prefix sh-specific CCR and CCR2 by SH_').

RE: [PATCH] pinctrl: at91: add the config GPIO_OUTPUT_x

2014-03-11 Thread Yang, Wenyou
-Original Message- From: Jean-Christophe PLAGNIOL-VILLARD [mailto:plagn...@jcrosoft.com] Sent: Tuesday, March 11, 2014 12:16 PM To: Yang, Wenyou Cc: Jean-Christophe PLAGNIOL-VILLARD; mark.rutl...@arm.com; devicet...@vger.kernel.org; pawel.m...@arm.com;

Re: [PATCH] sound: sound_core: Reduce checkpatch noise

2014-03-11 Thread Takashi Iwai
At Mon, 10 Mar 2014 16:28:14 -0700, Joe Perches wrote: Mostly whitespace cleanups (spaces around operators, remove trailing spaces and unnecessary blank lines, etc) and o Reduce indent of switch/case labels o Use pr_level for printks, add pr_fmt o Move braces to appropriate locations o

Re: [PATCHv3 2/9] mfd: twl4030-madc: Add DT support and convert to IIO framework

2014-03-11 Thread Lee Jones
This converts twl4030-madc module to use the Industrial IO ADC framework and adds device tree support. Signed-off-by: Sebastian Reichel s...@debian.org Tested-by: Marek Belisko ma...@goldelico.com --- drivers/mfd/twl4030-madc.c | 127 + 1

Re: [PATCH 1/5] kbuild: LLVMLinux: Add Kbuild support for building kernel with Clang

2014-03-11 Thread Behan Webster
On 03/09/14 14:58, Sam Ravnborg wrote: On Tue, Feb 25, 2014 at 05:08:39PM -0800, beh...@converseincode.com wrote: From: Behan Webster beh...@converseincode.com Add support to toplevel Makefile for compiling with clang, both for HOSTCC and CC. Use cc-option to prevent gcc option from breaking

Re: [PATCH] i2c-cadence: Do not let signals interrupt I2C transfers

2014-03-11 Thread Mike Looijmans
On 03/11/2014 05:49 AM, Suneel Garapati wrote: Hi Mike/Soren, Met vriendelijke groet / kind regards, Mike Looijmans TOPIC Embedded Systems Eindhovenseweg 32-C, NL-5683 KH Best Postbus 440, NL-5680 AK Best Telefoon: (+31) (0) 499 33 69 79 Telefax: (+31) (0) 499 33 69 70 E-mail:

Re: [PATCH] module: LLVMLinux: Remove unused function warning from __param_check macro

2014-03-11 Thread Behan Webster
On 03/10/14 23:11, Rusty Russell wrote: beh...@converseincode.com writes: From: Mark Charlebois charl...@gmail.com This code makes a compile time type check that is optimized away. Clang complains that it generates an unused function. I believe GCC won't complain for a static inline fuction

Re: [PATCH] arm: LLVMLinux: use static inline in ARM ftrace.h

2014-03-11 Thread Behan Webster
On 02/20/14 18:22, beh...@converseincode.com wrote: From: Behan Webster beh...@converseincode.com With compilers which follow the C99 standard (like modern versions of gcc and clang), extern inline does the wrong thing (emits code for an externally linkable version of the inline function). In

[PATCH] i2c-cadence: Do not let signals interrupt I2C transfers

2014-03-11 Thread Mike Looijmans
Pressing CTRL-C while communicating with an I2C device leads to erratic behaviour. The cause is that the controller will interrupt the I2C transfer in progress, and leave the client device in an undefined state. Many drivers do not handle error return codes on I2C transfers. The calling driver has

[PATCH net] r8169: fix the incorrect tx descriptor version

2014-03-11 Thread Hayes Wang
The tx descriptor version of RTL8111B belong to RTL_TD_0. Signed-off-by: Hayes Wang hayesw...@realtek.com --- drivers/net/ethernet/realtek/r8169.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c

Re: [PATCH V2] input: misc: da9063: OnKey driver

2014-03-11 Thread Lee Jones
From: Opensource [Steve Twiss] stwiss.opensou...@diasemi.com Add the OnKey driver for DA9063 Plus some minor dependencies: - Addition of ONKEY name to OnKey IRQ resource structure; - Bool key_power platform data driver configuration option. Signed-off-by: Opensource [Steve Twiss]

Re: [PATCH 5/5] skbuff: skb_segment: orphan frags before copying

2014-03-11 Thread Herbert Xu
On Tue, Mar 11, 2014 at 08:41:50AM +0200, Michael S. Tsirkin wrote: On Tue, Mar 11, 2014 at 08:39:41AM +0800, Herbert Xu wrote: On Tue, Mar 11, 2014 at 12:30:01AM +0200, Michael S. Tsirkin wrote: How about we do the simple thing as the first step and try to optimize as a separate patch

RE: [RFC PATCH] edac: zynq: Added EDAC support for zynq ddr ecc controller

2014-03-11 Thread Punnaiah Choudary Kalluri
-Original Message- From: Michal Simek [mailto:mon...@monstr.eu] Sent: Monday, March 10, 2014 5:29 PM To: Mark Rutland Cc: Punnaiah Choudary Kalluri; dougthomp...@xmission.com; devicet...@vger.kernel.org; linux-...@vger.kernel.org; linux-arm- ker...@lists.infradead.org;

[PATCH] staging: unisys: remove incorrect error handling after queue_delayed_work

2014-03-11 Thread Daeseok Youn
The queue_delayed_work() return false if the work is already on the queue, true otherwise. So return value cannot be less than zero. Signed-off-by: Daeseok Youn daeseok.y...@gmail.com --- .../unisys/visorchipset/visorchipset_main.c| 14 -- 1 files changed, 4 insertions(+),

[PATCH net-next V5 1/2] irq: Utility function to get affinity_hint by policy

2014-03-11 Thread Amir Vadai
This function sets the affinity_mask for a multi queue device according to a numa aware policy. affinity_mask could be used as an affinity hint for the IRQ related to this queue. Current policy is to spread queues accross cores - local cores first. It could be extended in the future. CC: Prarit

[PATCH net-next V5 2/2] net/mlx4_en: Use affinity hint

2014-03-11 Thread Amir Vadai
From: Yuval Atias yuv...@mellanox.com The “affinity hint” mechanism is used by the user space daemon, irqbalancer, to indicate a preferred CPU mask for irqs. Irqbalancer can use this hint to balance the irqs between the cpus indicated by the mask. We wish the HCA to preferentially map the IRQs

[PATCH net-next V5 0/2] irq,net: Affinity hint helper function

2014-03-11 Thread Amir Vadai
Hi, This patchset will set affinity hint to influence IRQs to be allocated on the same NUMA node as the one where the card resides. As discussed in http://www.spinics.net/lists/netdev/msg271497.html If number of IRQs allocated is greater than the number of local NUMA cores, all local cores will

Re: [PATCHSET 0/9] perf tools: Update on filtered entries' percentage output (v7)

2014-03-11 Thread Namhyung Kim
Hi Andi, On Mon, 10 Mar 2014 23:08:19 +0100, Andi Kleen wrote: On Mon, Mar 10, 2014 at 04:43:51PM +0900, Namhyung Kim wrote: Hello, I added --percentage option to perf report to control display of percentage of filtered entries. usage: perf report [options] --percentage

[PATCH 0/5] ARM: dts: exynos: Add missing dt data to bring kernel of Exynos4x12

2014-03-11 Thread Chanwoo Choi
This patch add missing dt data of Exynos4x12 to bring up kernel feature and code clean. exynos4x12/exynos4412/exynos4212.dtsi - Add ADC (Analog and Digital Converter) to get raw data - Add PMU (Performance Monitoring Unit) for perf event - Add gps_alive power domain to remove power leakage when

[PATCH 3/5] ARM: dts: exynos4x12: Add GPS_ALIVE power domain

2014-03-11 Thread Chanwoo Choi
This patch add GPS_ALIVE power domain for Exynos4x12 SoC. GPS_ALIVE power domain include GPS_BLK for GPS IP. Exynos SoC used generic power-domain driver to control power domain. After completed kernel booting, Exynos power-domain driver disable un-used power domain to reduce

[PATCH 5/5] ARM: dts: exynos4412-trats2: Add ADC's dt data to get temperature of SoC/battery

2014-03-11 Thread Chanwoo Choi
This patch use ADC to get the temperature of SoC/battery by using NTC thermistor driver in hwmon. NTC thermistor driver covnvert ADC's raw data to temperature by using following variables: - pullup-uv: Voltage - pullup-ohm : Pull-up resistance - pulldown-ohm : Pull-down resistance -

[PATCH 4/5] ARM: dts: exynos: Move common dt data for interrupt combiner controller

2014-03-11 Thread Chanwoo Choi
This patch move common dt data of interrupt combiner controller to exynos4x12.dtsi. Each Exynos4x12 SoC has different number of interrput combiner as following: - Exynos4212 : interrput combiner 18(0 ~ 17) - Exynos4412 : interrput combiner 20(0 ~ 19) The exynos combiner driver initialize

[PATCH 1/5] ARM: dts: exynos4x12: Add ADC's dt data to read raw data

2014-03-11 Thread Chanwoo Choi
This patch add ADC(Analog to Digital Converter)'s dt data to get raw data with IIO subsystem. Usually, ADC is used to check temperature, jack type, and so on. Register map - 0x126C 0x100 : ADC register's base address - 0x10020718 0x4 : ADC_PHY_CONTROL, TS-ADC control register address Clock -

Re: [PATCHSET 0/9] perf tools: Update on filtered entries' percentage output (v7)

2014-03-11 Thread Namhyung Kim
Hi Davidlohr, On Mon, 10 Mar 2014 19:58:23 -0700, Davidlohr Bueso wrote: On Mon, 2014-03-10 at 23:08 +0100, Andi Kleen wrote: On Mon, Mar 10, 2014 at 04:43:51PM +0900, Namhyung Kim wrote: Hello, I added --percentage option to perf report to control display of percentage of filtered

[PATCH 2/5] ARM: dts: exynos4x12: Add PMU dt data to support PMU(Perforamnce Monitoring Unit)

2014-03-11 Thread Chanwoo Choi
ARM CPU has its own performance profiling unit(PMU, Perforamnce Monitoring Unit). This patch add PMU dt data to support PMU which count cache hit and miss events. PMU interrput list of Exynos4212 - 2 2 : INTG2[2] - PMUIRQ[0] for CPU0 - 3 2 : INTG3[2] - PMUIRQ[1] for CPU1 PMU interrput list of

Re: [PATCH RFC net-next v1 1/9] ptp: introduce programmable pins.

2014-03-11 Thread Christian Riesch
Hi Richard, --On March 08, 2014 20:42 +0100 Richard Cochran richardcoch...@gmail.com wrote: This patch adds a pair of new ioctls to the PTP Hardware Clock device interface. Using the ioctls, user space programs can query each pin to find out its current function and also reprogram a

Re: [PATCH] sched/clock: prevent tracing recursion in sched_clock_cpu()

2014-03-11 Thread Peter Zijlstra
On Mon, Mar 10, 2014 at 11:47:06PM -0400, Steven Rostedt wrote: On Mon, 10 Mar 2014 16:17:18 +0900 Fernando Luis Vázquez Cao fernando...@lab.ntt.co.jp wrote: Thank you four your review, Peter, Steven. By the way, who is going to pick this patch? Do you want me to resend with

Re: [PATCH 01/15] sched/prio: Add a macro named NICE_TO_RLIMIT in prio.h.

2014-03-11 Thread Heiko Carstens
On Tue, Mar 11, 2014 at 12:59:16PM +0800, Dongsheng Yang wrote: This patch add a macro named NICE_TO_RLIMIT in prio.h to convert nice value [19,-20] to rlimit style value [1,40]. Signed-off-by: Dongsheng Yang yangds.f...@cn.fujitsu.com --- include/linux/sched/prio.h | 5 + 1 file

Re: [PATCH v3 2/5] pinctrl: st: Enhance the controller to manage unavailable registers

2014-03-11 Thread Maxime Coquelin
On 03/10/2014 10:17 AM, Lee Jones wrote: From: Giuseppe Cavallaro peppe.cavall...@st.com This patch adds a new logic inside the st pinctrl to manage an unsupported scenario: some sysconfig are not available! This is the case of STiH407 where, although documented, the following registers from

Re: [PATCH 01/15] sched/prio: Add a macro named NICE_TO_RLIMIT in prio.h.

2014-03-11 Thread Dongsheng Yang
On 03/11/2014 04:17 PM, Heiko Carstens wrote: On Tue, Mar 11, 2014 at 12:59:16PM +0800, Dongsheng Yang wrote: This patch add a macro named NICE_TO_RLIMIT in prio.h to convert nice value [19,-20] to rlimit style value [1,40]. Signed-off-by: Dongsheng Yang yangds.f...@cn.fujitsu.com ---

[PATCH v6 01/35] mtd: st_spi_fsm: Allocate resources and register with MTD framework

2014-03-11 Thread Lee Jones
This is a new driver. It's used to communicate with a special type of optimised Serial Flash Controller called the FSM. The FSM uses a subset of the SPI protocol to communicate with supported NOR-Flash devices. Acked-by Angus Clark angus.cl...@st.com Signed-off-by: Lee Jones lee.jo...@linaro.org

[PATCH net-next] r8152: support dumping the hw counters

2014-03-11 Thread Hayes Wang
Add dumping the tally counter by ethtool. Signed-off-by: Hayes Wang hayesw...@realtek.com --- drivers/net/usb/r8152.c | 95 +++-- 1 file changed, 93 insertions(+), 2 deletions(-) diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index

Re: oops in slab/leaks_show

2014-03-11 Thread Joonsoo Kim
On Tue, Mar 11, 2014 at 11:58:11AM +0900, Joonsoo Kim wrote: On Mon, Mar 10, 2014 at 09:24:55PM -0400, Dave Jones wrote: On Tue, Mar 11, 2014 at 10:01:35AM +0900, Joonsoo Kim wrote: On Tue, Mar 11, 2014 at 09:35:00AM +0900, Joonsoo Kim wrote: On Fri, Mar 07, 2014 at 11:18:30AM -0600,

[PATCH] dm: era: use do_div for 64-bit division

2014-03-11 Thread Arnd Bergmann
Commit 983043be0c1de dm era: support non power-of-2 blocksize introduced the use of sector_div to divide a variable of type dm_block_t by an integer. This fails on 32-bit machines when CONFIG_LBDAF is not set, because that assumes that the first argument is a 32-bit number. To allow building this

Re: [RFC PATCH] edac: zynq: Added EDAC support for zynq ddr ecc controller

2014-03-11 Thread Michal Simek
On 03/10/2014 11:32 PM, Sören Brinkmann wrote: On Mon, 2014-03-10 at 12:58PM +0100, Michal Simek wrote: On 03/10/2014 11:56 AM, Mark Rutland wrote: On Sun, Mar 09, 2014 at 02:57:16AM +, Punnaiah Choudary Kalluri wrote: Added EDAC support for reporting the ecc errors of zynq ddr controller.

Re: [PATCH 01/15] sched/prio: Add a macro named NICE_TO_RLIMIT in prio.h.

2014-03-11 Thread Heiko Carstens
On Tue, Mar 11, 2014 at 04:20:24PM +0800, Dongsheng Yang wrote: On 03/11/2014 04:17 PM, Heiko Carstens wrote: On Tue, Mar 11, 2014 at 12:59:16PM +0800, Dongsheng Yang wrote: +#define NICE_TO_RLIMIT(nice) (MAX_NICE - nice + 1) Where is MAX_NICE defined? The s390 patch fails to compile.

Re: [PATCH v2] x86: Remove compat vdso support

2014-03-11 Thread Ingo Molnar
* Andy Lutomirski l...@amacapital.net wrote: [...] Currently there are three options: sane vDSO, no vDSO, and OpenSuSE 9-compatible vDSO. The latter is a mess to maintain and breaks ASLR (even for users of modern glibc), and having a vDSO is apparently important enough that people are

Re: [PATCH] mtd: nand: fix mention to CONFIG_MTD_NAND_ECC_BCH

2014-03-11 Thread Lee Jones
Mention to CONFIG_MTD_ECC_BCH in the warning message can be confusing as this doesn't match the exact name of the configuration option. This warning showed up once to me when I was starting to set up BCH. After checking my .config file, it took a moment before realizing it is

Re: [PATCH] net: phy: fix uninitalized WOL parameters in phy_ethtool_get_wol

2014-03-11 Thread Sebastian Hesselbarth
On 03/11/2014 12:17 AM, Ben Hutchings wrote: On Mon, 2014-03-10 at 10:49 +, Sebastian Hesselbarth wrote: On 03/10/2014 02:51 AM, Ben Hutchings wrote: On Mon, 2014-03-10 at 02:01 +0100, Sebastian Hesselbarth wrote: phy_ethtool_get_wol is a helper to get current WOL settings from a phy

Re: [PATCH v2] tools/net/Makefile: Define PACKAGE to fix build problems

2014-03-11 Thread Markos Chandras
On 03/11/2014 01:53 AM, David Miller wrote: From: Markos Chandras markos.chand...@imgtec.com Date: Mon, 10 Mar 2014 10:39:48 + Fixes the following build problem with binutils-2.24 gcc -Wall -O2 -c -o bpf_jit_disasm.o bpf_jit_disasm.c In file included from bpf_jit_disasm.c:25:0:

can't evaluate _CRS: 1 messages since b355cee [ACPI / resources: ignore invalid ACPI device resources]

2014-03-11 Thread Markus Trippelsdorf
Since: commit b355cee88e3b1a193f0e9a81db810f6f83ad728b Author: Zhang Rui rui.zh...@intel.com Date: Thu Feb 27 11:37:15 2014 +0800 ACPI / resources: ignore invalid ACPI device resources The following error message is printed three times during boot on my machine: can't evaluate _CRS: 1

Re: [PATCH 01/15] sched/prio: Add a macro named NICE_TO_RLIMIT in prio.h.

2014-03-11 Thread Dongsheng Yang
On 03/11/2014 04:36 PM, Heiko Carstens wrote: On Tue, Mar 11, 2014 at 04:20:24PM +0800, Dongsheng Yang wrote: On 03/11/2014 04:17 PM, Heiko Carstens wrote: On Tue, Mar 11, 2014 at 12:59:16PM +0800, Dongsheng Yang wrote: +#define NICE_TO_RLIMIT(nice) (MAX_NICE - nice + 1) Where is MAX_NICE

Re: [PATCHv8 2/4] power_supply: Introduce generic psy charging driver

2014-03-11 Thread Pavel Machek
Hi! You still miss some wovels here. Sometimes it imakes it unlear: chrg is charge? charger? chrgr means charger, chrg means charge. Isn't it used consistently?. Can fix it if it's really annoying. Please suggest. Well... with all the missing letters, it is not clear if letter is

Re: [PATCH v9 0/9] USB Host support for OMAP5 uEVM

2014-03-11 Thread Roger Quadros
Hi Lee, On 02/27/2014 04:18 PM, Roger Quadros wrote: Hi, This patchset brings up USB Host ports and Ethernet port on the OMAP5 uEVM board. It also does some cleanup with respect to DT clock binding for the mfd/omap-usb-host driver. Please queue these for -next. Lee, I've folded

[PATCH v2] tools/net/Makefile: Define PACKAGE to fix build problems

2014-03-11 Thread Markos Chandras
Fixes the following build problem with binutils-2.24 gcc -Wall -O2 -c -o bpf_jit_disasm.o bpf_jit_disasm.c In file included from bpf_jit_disasm.c:25:0: /usr/include/bfd.h:35:2: error: #error config.h must be included before this header #error config.h must be included before this header This

Re: [PATCH v2 7/7] ARM: zynq: DT: Migrate UART to Cadence binding

2014-03-11 Thread Michal Simek
On 03/10/2014 10:40 PM, Soren Brinkmann wrote: The Zynq UART is Cadence IP and the driver has been renamed accordingly. Migrate the DT to use the new binding for the UART driver. Signed-off-by: Soren Brinkmann soren.brinkm...@xilinx.com Acked-by: Peter Crosthwaite

Re: [PATCH] cris: Convert ffs from an object-like macro to a function-like macro

2014-03-11 Thread Jesper Nilsson
On Mon, Mar 10, 2014 at 02:22:13PM +0100, Geert Uytterhoeven wrote: This avoids bad interactions with code using identifiers called ffs: drivers/usb/gadget/f_fs.c: In function 'ffsmod_init': drivers/usb/gadget/f_fs.c:2693:494: error: 'ffsusb_func' undeclared (first use in this function)

Re: [PATCH v3 3/5] pinctrl: st: add pinctrl support for the STiH407 SoC

2014-03-11 Thread Maxime Coquelin
On 03/10/2014 03:44 PM, Lee Jones wrote: From: Giuseppe Cavallaro peppe.cavall...@st.com This patch adds the initial support for pinctrl based on H407 SoC. Signed-off-by: Maxime Coquelin maxime.coque...@st.com Signed-off-by: Giuseppe Cavallaro peppe.cavall...@st.com SOBs should be in order

Re: [PATCH v4 6/7] DMA: sun6i: Add driver for the Allwinner A31 DMA controller

2014-03-11 Thread Maxime Ripard
On Mon, Mar 10, 2014 at 06:57:00PM +0100, Arnd Bergmann wrote: On Monday 10 March 2014 17:51:56 Maxime Ripard wrote: Neither pll6 nor ahb1_mux are listed in the DT binding. Also, why is it the driver's business to set the parent? Those are global clocks, so it's not really part pof

Build regressions/improvements in v3.14-rc6

2014-03-11 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v3.14-rc6[1] compared to v3.13[2]. Summarized: - build errors: +11/-28 - build warnings: +112/-77 JFYI, when comparing v3.14-rc6[1] to v3.14-rc5[3], the summaries are: - build errors: +10/-4 - build warnings: +35/-163

[PATCH v3 2/4] clk: at91: propagate rate change on system clks

2014-03-11 Thread Boris BREZILLON
From: Boris BREZILLON b.brezil...@overkiz.com System clks are just gates, and thus do not provide any rate operations. Authorize clk rate change to be propagated to system clk parents. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- drivers/clk/at91/clk-system.c |2 +- 1 file

[PATCH v3 0/4] clk: at91: better support for the PCKs

2014-03-11 Thread Boris BREZILLON
From: Boris BREZILLON b.brezil...@overkiz.com This serie implements a better support for the Programmable Clocks. The first two patch are related to changing the rate of the PCKs. The 3rd patch is a fix to handle properly the PCKRDY interrupt. The last patch is a small optimzation/simplification

[PATCH v3 4/4] clk: at91: optimization of the set_rate callback

2014-03-11 Thread Boris BREZILLON
From: Jean-Jacques Hiblot jjhib...@traphandler.com Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com Signed-off-by: Jean-Jacques Hiblot jjhib...@traphandler.com --- drivers/clk/at91/clk-programmable.c | 38 --- 1 file changed, 8 insertions(+), 30

[PATCH v3 3/4] clk: at91: fix programmable clk irq handling

2014-03-11 Thread Boris BREZILLON
From: Jean-Jacques Hiblot jjhib...@traphandler.com The PCKRDY bit is not set until the system clock is enabled. This patch moves the management of the ready status in the system clock driver. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com Signed-off-by: Jean-Jacques Hiblot

[PATCH v3 1/4] clk: at91: replace prog clk round_rate with determine_rate

2014-03-11 Thread Boris BREZILLON
From: Boris BREZILLON b.brezil...@overkiz.com Implement the determine_rate callback to choose the best parent clk that fulfills the requested rate. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- drivers/clk/at91/clk-programmable.c | 56 +-- 1 file

Re: can't evaluate _CRS: 1 messages since b355cee [ACPI / resources: ignore invalid ACPI device resources]

2014-03-11 Thread Paul Bolle
[+cc Bjorn] Markus Trippelsdorf schreef op di 11-03-2014 om 09:44 [+0100]: Since: commit b355cee88e3b1a193f0e9a81db810f6f83ad728b Author: Zhang Rui rui.zh...@intel.com Date: Thu Feb 27 11:37:15 2014 +0800 ACPI / resources: ignore invalid ACPI device resources Which is included

[PATCHv4] perf tools: enable close-on-exec flag on perf file descriptor

2014-03-11 Thread Yann Droneaud
In commit a21b0b354d4a, flag PERF_FLAG_FD_CLOEXEC was added to perf_event_open(2) syscall to allows userspace to atomically enable close-on-exec behavor when creating the file descriptor. This patch makes perf tools use the new flag if supported by the kernel, so that the event file descriptors

Re: [Intel-gfx] agp/intel: can't ioremap flush page - no chipset flushing

2014-03-11 Thread Paul Bolle
Bjorn Helgaas schreef op ma 10-03-2014 om 20:07 [-0600]: On Mon, Mar 10, 2014 at 6:15 PM, Paul Bolle pebo...@tiscali.nl wrote: On Mon, 2014-03-10 at 18:07 -0600, Bjorn Helgaas wrote: On Mon, Mar 10, 2014 at 5:45 PM, Paul Bolle pebo...@tiscali.nl wrote: A bit of doubt is caused by two new

[PATCH 14/16] driver/staging/lustre: Replace hardcoding of -20 with MIN_NICE.

2014-03-11 Thread Dongsheng Yang
Signed-off-by: Dongsheng Yang yangds.f...@cn.fujitsu.com cc: de...@driverdev.osuosl.org cc: Xiong Zhou jencce.ker...@gmail.com cc: Andreas Dilger andreas.dil...@intel.com cc: Cyril Roelandt tipec...@gmail.com cc: Kent Overstreet k...@daterainc.com cc: Peng Tao bergw...@gmail.com ---

[PATCH 03/16] workqueue: Replace hardcoding of -20 with MIN_NICE.

2014-03-11 Thread Dongsheng Yang
Signed-off-by: Dongsheng Yang yangds.f...@cn.fujitsu.com cc: Tejun Heo t...@kernel.org --- kernel/workqueue.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/workqueue.c b/kernel/workqueue.c index 3fa5b8f..7528bec 100644 --- a/kernel/workqueue.c +++

[PATCH 07/16] ioprio: Add a macro named NICE_TO_IOPRIO.

2014-03-11 Thread Dongsheng Yang
As the task nice value is in [-20, 19] and the io priority is in [0, 7], and the convert method from niceval to ioprio is implemented with an opened code in task_nice_ioprio(). This patch move the implementation to a macro NICE_TO_IOPRIO, making it more readable and modular. Signed-off-by:

[PATCH 08/16] fs/hearbeat: Replace hardcoding of -20 with MIN_NICE.

2014-03-11 Thread Dongsheng Yang
Signed-off-by: Dongsheng Yang yangds.f...@cn.fujitsu.com cc: ocfs2-de...@oss.oracle.com cc: Dong Fang yp.fangd...@gmail.com --- fs/ocfs2/cluster/heartbeat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ocfs2/cluster/heartbeat.c b/fs/ocfs2/cluster/heartbeat.c index

[PATCH 13/16] driver/staging/android: Use rlimit_to_nice to replace opened code implementation.

2014-03-11 Thread Dongsheng Yang
There is a macro rlimit_to_nice in linux/sched/prio.h to convert priority in rlimit to nice value. This patch replace the opened implementation with rlimit_to_nice. Signed-off-by: Dongsheng Yang yangds.f...@cn.fujitsu.com cc: de...@driverdev.osuosl.org cc: Masanari Iida standby2...@gmail.com

[PATCH 11/16] drivers/s390: Replace hardcoding of 19 with MAX_NICE.

2014-03-11 Thread Dongsheng Yang
Signed-off-by: Dongsheng Yang yangds.f...@cn.fujitsu.com cc: linux-s...@vger.kernel.org cc: Heiko Carstens heiko.carst...@de.ibm.com cc: Martin Schwidefsky schwidef...@de.ibm.com cc: Ingo Tuchscherer ingo.tuchsche...@de.ibm.com --- drivers/s390/crypto/ap_bus.c | 2 +- 1 file changed, 1

[PATCH 06/16] mm: Replace hardcoding of 19 with MAX_NICE.

2014-03-11 Thread Dongsheng Yang
Signed-off-by: Dongsheng Yang yangds.f...@cn.fujitsu.com cc: linux...@kvack.org cc: Bob Liu lliu...@gmail.com cc: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com cc: Kirill A. Shutemov kirill.shute...@linux.intel.com cc: Mel Gorman mgor...@suse.de cc: Rik van Riel r...@redhat.com cc: Andrew

[PATCH 10/16] driver/char: Replace hardcoding of 19 with MAX_NICE.

2014-03-11 Thread Dongsheng Yang
Signed-off-by: Dongsheng Yang yangds.f...@cn.fujitsu.com cc: openipmi-develo...@lists.sourceforge.net cc: Corey Minyard miny...@acm.org --- drivers/char/ipmi/ipmi_si_intf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/ipmi/ipmi_si_intf.c

[PATCH 15/16] driver/scsi: Replace hardcoding of -20 with MIN_NICE.

2014-03-11 Thread Dongsheng Yang
Signed-off-by: Dongsheng Yang yangds.f...@cn.fujitsu.com cc: fcoe-de...@open-fcoe.org cc: James Smart james.sm...@emulex.com cc: Robert Jennings r...@linux.vnet.ibm.com cc: Robert Love robert.w.l...@intel.com --- drivers/scsi/bnx2fc/bnx2fc_fcoe.c | 4 ++-- drivers/scsi/bnx2i/bnx2i_hwi.c| 2 +-

[PATCH 16/16] sched: Get rid of opened code implementation of funtion nice_to_rlimit().

2014-03-11 Thread Dongsheng Yang
Signed-off-by: Dongsheng Yang yangds.f...@cn.fujitsu.com --- kernel/sched/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c index ee8004c..d2735eb 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -3046,7 +3046,7 @@

[PATCH 12/16] sched/prio: Add an inline function named rlimit_to_nice in prio.h.

2014-03-11 Thread Dongsheng Yang
This patch add an inline function named rlimit_to_nice to convert rlimit style value in [1, 40] to nice value in [-20, 19]. Signed-off-by: Dongsheng Yang yangds.f...@cn.fujitsu.com --- include/linux/sched/prio.h | 8 1 file changed, 8 insertions(+) diff --git

Re: [PATCH 02/16] kernel/sys: Replace opened code implementation with nice_to_rlimit().

2014-03-11 Thread Peter Zijlstra
On Tue, Mar 11, 2014 at 05:20:23PM +0800, Dongsheng Yang wrote: From: Joe Perches j...@perches.com Convert 20 - task_nice(p) to nice_to_rlimit(task_nice(p)). Reduce the indent the switch case labels while there. git diff -w shows 3 lines changed and a /* fall-through */ comment added

[PATCH 09/16] driver/block: Replace hardcoding of -20 with MIN_NICE.

2014-03-11 Thread Dongsheng Yang
Signed-off-by: Dongsheng Yang yangds.f...@cn.fujitsu.com cc: nbd-gene...@lists.sourceforge.net cc: Wei Yongjun yongjun_...@trendmicro.com.cn cc: Tejun Heo t...@kernel.org --- drivers/block/loop.c| 2 +- drivers/block/nbd.c | 2 +- drivers/block/pktcdvd.c | 2 +- 3 files changed, 3

[PATCH 04/16] locktorture: Replace hardcoding of 19 with MAX_NICE.

2014-03-11 Thread Dongsheng Yang
Signed-off-by: Dongsheng Yang yangds.f...@cn.fujitsu.com --- kernel/locking/locktorture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/locking/locktorture.c b/kernel/locking/locktorture.c index f26b1a1..23343be 100644 --- a/kernel/locking/locktorture.c +++

[PATCH 01/16] sched/prio: Add a inline function named nice_to_rlimit() in prio.h.

2014-03-11 Thread Dongsheng Yang
This patch add an inline function named nice_to_rlimit() in prio.h to convert nice value [19,-20] to rlimit style value [1,40]. Signed-off-by: Dongsheng Yang yangds.f...@cn.fujitsu.com --- include/linux/sched/prio.h | 8 1 file changed, 8 insertions(+) diff --git

[PATCH 02/16] kernel/sys: Replace opened code implementation with nice_to_rlimit().

2014-03-11 Thread Dongsheng Yang
From: Joe Perches j...@perches.com Convert 20 - task_nice(p) to nice_to_rlimit(task_nice(p)). Reduce the indent the switch case labels while there. git diff -w shows 3 lines changed and a /* fall-through */ comment added $ git diff -w -U0 kernel/sys.c @@ -253 +253 @@

[PATCH 05/16] tools/mq_perf_tests: Replace hardcoding of -20 with MIN_NICE.

2014-03-11 Thread Dongsheng Yang
Signed-off-by: Dongsheng Yang yangds.f...@cn.fujitsu.com --- tools/testing/selftests/mqueue/mq_perf_tests.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/testing/selftests/mqueue/mq_perf_tests.c b/tools/testing/selftests/mqueue/mq_perf_tests.c index

[PATCH 00/16 for-tip V2] A series patches about sched priority.

2014-03-11 Thread Dongsheng Yang
Hi all, This patchset is all about priority. 1. Add two inline functions in prio.h named nice_to_rlimit and rlimit_to_nice. They are converting the value between nice value [-20, 19] and rlimit style value [1, 40]. 2. Add a macro in ioprio.h named NICE_TO_IOPRIO. It convert

Re: [PATCH 07/16] ioprio: Add a macro named NICE_TO_IOPRIO.

2014-03-11 Thread Peter Zijlstra
On Tue, Mar 11, 2014 at 05:20:28PM +0800, Dongsheng Yang wrote: As the task nice value is in [-20, 19] and the io priority is in [0, 7], and the convert method from niceval to ioprio is implemented with an opened code in task_nice_ioprio(). This patch move the implementation to a macro

Re: [PATCH 02/16] kernel/sys: Replace opened code implementation with nice_to_rlimit().

2014-03-11 Thread Dongsheng Yang
On 03/11/2014 05:26 PM, Peter Zijlstra wrote: On Tue, Mar 11, 2014 at 05:20:23PM +0800, Dongsheng Yang wrote: From: Joe Perches j...@perches.com Convert 20 - task_nice(p) to nice_to_rlimit(task_nice(p)). Reduce the indent the switch case labels while there. git diff -w shows 3 lines changed

Re: [PATCH v2] sched: Fix broken setscheduler()

2014-03-11 Thread Juri Lelli
On Mon, 10 Mar 2014 17:37:31 -0400 Steven Rostedt rost...@goodmis.org wrote: On Mon, 10 Mar 2014 22:18:56 +0100 (CET) Thomas Gleixner t...@linutronix.de wrote: Lemme look at it tomorrow again with an awake brain. This seems to be some forward porting hickup which needs a closer look.

Re: [PATCH v2 4/8] Input: pixcir_i2c_ts: Use Type-B Multi-Touch protocol

2014-03-11 Thread Roger Quadros
On 03/10/2014 06:37 PM, Felipe Balbi wrote: On Mon, Mar 10, 2014 at 10:57:10AM +0200, Roger Quadros wrote: Hi Henrik, On 03/08/2014 05:11 PM, Henrik Rydberg wrote: Hi Roger, the MT implementation seems mostly fine, just one curiosity: static irqreturn_t pixcir_ts_isr(int irq, void

Re: [PATCH 07/16] ioprio: Add a macro named NICE_TO_IOPRIO.

2014-03-11 Thread Dongsheng Yang
On 03/11/2014 05:28 PM, Peter Zijlstra wrote: On Tue, Mar 11, 2014 at 05:20:28PM +0800, Dongsheng Yang wrote: As the task nice value is in [-20, 19] and the io priority is in [0, 7], and the convert method from niceval to ioprio is implemented with an opened code in task_nice_ioprio(). This

Re: [PATCH v2] x86: Remove compat vdso support

2014-03-11 Thread Linus Torvalds
On Mon, Mar 10, 2014 at 9:10 PM, Andy Lutomirski l...@amacapital.net wrote: I suspect that a lot of 32-bit Linux users want syscall and/or sysenter, and Stefani certainly wants the fast timing that the vDSO can provide. Also, presumably __kernel_sigreturn serves some purpose :) Are we

Re: [PATCH v5] can: xilinx CAN controller support.

2014-03-11 Thread Michal Simek
On 03/11/2014 05:45 AM, Fengguang Wu wrote: You probably want something like config CAN_XILINX tristate Xilinx CAN depends on ARCH_ZYNQ || MICROBLAZE || COMPILE_TEST depends on COMMON_CLK HAS_MMIO # whatever you need for other architectures Fengguang: Are you use

Re: [PATCH v6 6/6] pci: Add support for creating a generic host_bridge from device tree

2014-03-11 Thread Liviu Dudau
On Tue, Mar 11, 2014 at 06:50:24AM +, Arnd Bergmann wrote: On Monday 10 March 2014 21:56:00 Liviu Dudau wrote: PCI_IOBASE is always defined. See the discussion with Russell on this subject. include/asm-generic/io.h has at line 118: #ifndef PCI_IOBASE #define PCI_IOBASE

[PATCH] kernel/sys: Fix the indent issue in switch.

2014-03-11 Thread Dongsheng Yang
From: Joe Perches j...@perches.com Fix the indent issue and add a comment line for /* fall-through */. Signed-off-by: Joe Perches j...@perches.com Signed-off-by: Dongsheng Yang yangds.f...@cn.fujitsu.com --- kernel/sys.c | 204 +-- 1 file

RE: [PATCH v8 net-next 1/3] filter: add Extended BPF interpreter and converter

2014-03-11 Thread David Laight
From: David Miller From: Linus Torvalds torva...@linux-foundation.org Date: Mon, 10 Mar 2014 19:02:18 -0700 I would generally suggest that people only use bool for function return types, and absolutely nothing else. Seriously. I think it makes sense for function arguments too. 'bool'

Re: [PATCH v4 6/7] DMA: sun6i: Add driver for the Allwinner A31 DMA controller

2014-03-11 Thread Shevchenko, Andriy
On Mon, 2014-03-10 at 15:41 +0100, Maxime Ripard wrote: The Allwinner A31 has a 16 channels DMA controller that it shares with the newer A23. Although sharing some similarities with the DMA controller of the older Allwinner SoCs, it's significantly different, I don't expect it to be possible

Re: [kees:format-security 2/3] arch/sh/kernel/dumpstack.c:118:2: error: format not a string literal and no format arguments

2014-03-11 Thread Matt Fleming
On Mon, 10 Mar, at 10:41:57AM, Kees Cook wrote: 4e14dfc7 Matt Fleming 2009-08-07 113 /* 4e14dfc7 Matt Fleming 2009-08-07 114 * Print one address/symbol entries per line. 4e14dfc7 Matt Fleming 2009-08-07 115 */ 4e14dfc7 Matt Fleming 2009-08-07 116 static void

  1   2   3   4   5   6   7   8   9   >