Re: [PATCH] mtd: increase max page/OOB size to support 16K pagesize NAND

2013-12-13 Thread Brian Norris
On Fri, Dec 13, 2013 at 05:03:49AM +, Caizhiyong wrote: From: Cai Zhiyong caizhiy...@huawei.com Date: Fri, 13 Dec 2013 12:52:46 +0800 Subject: [PATCH] mtd: increase max page/OOB size to support 16K pagesize NAND. The Toshiba's TC58TEG5DCJTA pagesize is 16K, oob size is 1280 bytes. So

Re: [PATCH 3/9] hfs: Known exploit detection for CVE-2011-4330

2013-12-13 Thread Dan Carpenter
On Thu, Dec 12, 2013 at 05:52:26PM +0100, vegard.nos...@oracle.com wrote: From: Vegard Nossum vegard.nos...@oracle.com No need for this because we can get that from the email. See bc5b8a9003132ae44559edd63a1623b7b99dfb68. Put some human readable text in your changelog like the patch title

Re: [PATCH v4 3/8] Documentation: dt: kona-sdhci: Add clocks property

2013-12-13 Thread Christian Daudt
On Thu, Dec 5, 2013 at 11:20 AM, Tim Kryger tim.kry...@linaro.org wrote: The Kona SDHCI block requires a clock that must be specified in the device tree. Update the documentation to reflect this requirement. Signed-off-by: Tim Kryger tim.kry...@linaro.org Reviewed-by: Matt Porter

Re: [PATCH] mtd: increase max page/OOB size to support 16K pagesize NAND

2013-12-13 Thread Brian Norris
On Fri, Dec 13, 2013 at 03:27:12PM +0800, Huang Shijie wrote: On Fri, Dec 13, 2013 at 05:03:49AM +, Caizhiyong wrote: --- a/include/linux/mtd/nand.h +++ b/include/linux/mtd/nand.h @@ -56,8 +56,8 @@ extern int nand_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len); * is

[PATCH] hamradio/yam: fix info leak in ioctl

2013-12-13 Thread Salva Peiró
The yam_ioctl() code fails to initialise the cmd field of the struct yamdrv_ioctl_cfg. Add an explicit memset(0) before filling the structure to avoid the 4-byte info leak. Signed-off-by: Salva Peiró spe...@ai2.upv.es CC: sta...@vger.kernel.org --- drivers/net/hamradio/yam.c |1 + 1 file

Re: [PATCH v4 8/8] ARM: dts: Specify clocks for timer on bcm11351

2013-12-13 Thread Christian Daudt
On Thu, Dec 5, 2013 at 11:20 AM, Tim Kryger tim.kry...@linaro.org wrote: Specify the external clock label in the timer node. Signed-off-by: Tim Kryger tim.kry...@linaro.org Reviewed-by: Markus Mayer markus.ma...@linaro.org Reviewed-by: Matt Porter matt.por...@linaro.org ---

[PATCH] ARM: reinsert ARCH_MULTI_V4 Kconfig option

2013-12-13 Thread Jonas Jensen
(it was broken out from MOXA ART SoC series). This is important for MOXA ART (and other FA526 platforms), please have a look. Applies to next-20131213 arch/arm/Kconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index b64a8ef

Re: [PATCH] ARM: S3C24XX: Fix configuration of gpio port sizes on S3C24XX.

2013-12-13 Thread Linus Walleij
On Fri, Dec 13, 2013 at 2:55 AM, José Miguel Gonçalves jose.goncal...@inov.pt wrote: On 27-09-2013 15:17, Linus Walleij wrote: On Wed, Sep 11, 2013 at 10:46 AM, José Miguel Gonçalves jose.goncal...@inov.pt wrote: Some GPIO line limits are incorrectly set which, for instance, does not allow

Re: [PATCH] mm: documentation: remove hopelessly out-of-date locking doc

2013-12-13 Thread Vlastimil Babka
On 12/10/2013 08:18 PM, Dave Hansen wrote: From: Dave Hansen dave.han...@intel.com Documentation/vm/locking is a blast from the past. In the entire git history, it has had precisely Three modifications. Two of those look to be pure renames, and the third was from 2005. The doc contains such

Re: uhci_hcd: Possible corruption of DMA pool uhci-td_pool

2013-12-13 Thread Eugene Shatokhin
On 12/11/2013 08:41 PM, Alan Stern wrote: On Wed, 11 Dec 2013, Eugene Shatokhin wrote: Hi, On ROSA Linux with kernel 3.10.21 with DMA debug options enabled, the kernel sometimes issues a warning about DMA pool corruption (see the log below). That happens sometimes, when the system boots or

Re: [RFC/PATCH 3/3] usb/xhci-plat: remove unnecessary #ifdef checks for CONFIG_PM_SLEEP

2013-12-13 Thread Ulf Hansson
On 13 December 2013 06:18, David Cohen david.a.co...@linux.intel.com wrote: From: Santosh Shilimkar santosh.shilim...@ti.com Drivers using SET_*_PM_OPS() no longer need to #ifdef for CONFIG_PM_* So, let's remove the unnecessary #ifdef's. Signed-off-by: Santosh Shilimkar

Re: [PATCH V4 09/10] power8, perf: Change BHRB branch filter configuration

2013-12-13 Thread Anshuman Khandual
On 12/09/2013 11:51 AM, Michael Ellerman wrote: As I said in my comments on version 3 which you ignored: I think it would be clearer if we actually checked for the possibilities we allow and let everything else fall through, eg: Â Â Â Â Â Â Â Â /* Ignore user/kernel/hv bits */

Re: [PATCH 1/9] Known exploit detection

2013-12-13 Thread Vegard Nossum
On 12/12/2013 08:06 PM, Theodore Ts'o wrote: On Thu, Dec 12, 2013 at 05:52:24PM +0100, vegard.nos...@oracle.com wrote: The idea is simple -- since different kernel versions are vulnerable to different root exploits, hackers most likely try multiple exploits before they actually succeed.

Re: [PATCH v4 4/8] ARM: dts: Specify clocks for SDHCIs on bcm11351

2013-12-13 Thread Christian Daudt
On Thu, Dec 5, 2013 at 11:20 AM, Tim Kryger tim.kry...@linaro.org wrote: Specify the external clock label in each SDHCI node. Signed-off-by: Tim Kryger tim.kry...@linaro.org Reviewed-by: Markus Mayer markus.ma...@linaro.org Reviewed-by: Matt Porter matt.por...@linaro.org ---

Re: [PATCH 4/5] drivers: misc: Mark functions as static in ad525x_dpot.c

2013-12-13 Thread Michael Hennerich
On 12/13/2013 07:57 AM, Rashika Kheria wrote: This patch marks the function ad_dpot_add_files() and ad_dpot_remove_files() as static in ad525x_dpot.c because they are not used outside this file. Thus, it also eliminates the following warnings in ad525x_dpot.c: drivers/misc/ad525x_dpot.c:644:5:

[PULL REQUEST] i2c for 3.13

2013-12-13 Thread Wolfram Sang
Linus, here are two simple but wanted fixes for the i2c subsystem. Please pull. Thanks, Wolfram The following changes since commit 374b105797c3d4f29c685f3be535c35f5689b30e: Linux 3.13-rc3 (2013-12-06 09:34:04 -0800) are available in the git repository at:

Re: [PATCH] ARM: S3C24XX: Fix configuration of gpio port sizes on S3C24XX.

2013-12-13 Thread Heiko Stübner
Am Freitag, 13. Dezember 2013, 09:12:52 schrieb Linus Walleij: On Fri, Dec 13, 2013 at 2:55 AM, José Miguel Gonçalves jose.goncal...@inov.pt wrote: On 27-09-2013 15:17, Linus Walleij wrote: On Wed, Sep 11, 2013 at 10:46 AM, José Miguel Gonçalves jose.goncal...@inov.pt wrote: Some

Re: [PATCH 2/2] sched: update runqueue clock before migrations away

2013-12-13 Thread Vincent Guittot
On 12 December 2013 19:24, Peter Zijlstra pet...@infradead.org wrote: On Tue, Dec 10, 2013 at 03:55:43PM +, Chris Redpath wrote: That's guestimating the last_runnable_update based on decay_count, and per the previous the decay count can get slightly out of sync. The guesstimation works

Re: [PATCH 3/3] pinctrl: at91: implement at91_pinconf_dbg_show

2013-12-13 Thread Nicolas Ferre
On 07/12/2013 14:08, Alexandre Belloni : This allows to get the pin configuration by using debugfs. On my system: # cat /sys/kernel/debug/pinctrl/pinctrl.3/pinconf-pins Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com I am fine with these helpers: Acked-by: Nicolas

[PATCH 0/2] perf tools: Fix next_pow2_l()

2013-12-13 Thread Adrian Hunter
Hi My implementation of next_pow2_l() was incorrect. Here is a fix, after which next_pow2() is unused so I remove it and rename next_pow2_l() - next_pow2() Adrian Hunter (2): perf tools: Fix next_pow2_l() perf tools: Remove unused next_pow2() and rename next_pow2_l()

[PATCH 1/2] perf tools: Fix next_pow2_l()

2013-12-13 Thread Adrian Hunter
My implementation of next_pow2_l() was incorrect. e.g. perf record -m4296015872 uname rounding mmap pages size to 17592186044416 bytes (4294967296 pages) Invalid argument for --mmap_pages/-m Notice that the next power-of-2 value 4294967296 is less than the option value 4296015872. Change

Re: kernel BUG in munlock_vma_pages_range

2013-12-13 Thread Bob Liu
On 12/13/2013 05:05 AM, Sasha Levin wrote: On 12/12/2013 07:41 AM, Vlastimil Babka wrote: On 12/12/2013 06:03 AM, Bob Liu wrote: On 12/12/2013 11:16 AM, Sasha Levin wrote: On 12/11/2013 05:59 PM, Vlastimil Babka wrote: On 12/09/2013 09:26 PM, Sasha Levin wrote: On 12/09/2013 12:12 PM,

[PATCH 2/2] perf tools: Remove unused next_pow2() and rename next_pow2_l()

2013-12-13 Thread Adrian Hunter
The fixed version of 'next_pow2_l()' does not call 'next_pow2()' anymore, so it is unused, so remove it and rename 'next_pow2_l()' to 'next_pow2()'. Signed-off-by: Adrian Hunter adrian.hun...@intel.com --- tools/perf/util/evlist.c | 2 +- tools/perf/util/util.h | 9 + 2 files changed,

Re: [PATCH 1/5] drivers: misc: Mark functions as static in grukservices.c

2013-12-13 Thread Josh Triplett
On Fri, Dec 13, 2013 at 12:12:34PM +0530, Rashika Kheria wrote: This patch marks the function gru_get_cb_exception_detail_str() and gru_abort() as static in sgi-gru/grukservices.c because they are not used outside this file. Thus, it also eliminates the following warnings in

Re: [PATCH 2/5] drivers: misc: Mark functions as static in xp_main.c

2013-12-13 Thread Josh Triplett
On Fri, Dec 13, 2013 at 12:21:20PM +0530, Rashika Kheria wrote: This patch marks the function xp_init() and xp_exit() as static in sgi-xp/xp_main.c because they are not used outside this file. Thus, it also eliminates the following warnings in sgi-xp/xp_main.c:

Re: [PATCH 3/5] drivers: misc: Mark functions as static in xpc_main.c

2013-12-13 Thread Josh Triplett
On Fri, Dec 13, 2013 at 12:24:05PM +0530, Rashika Kheria wrote: This patch marks the function xpc_init() and xpc_exit() as static in sgi-xp/xpc_main.c because they are not used outside this file. Thus, it also eliminates the following warnings in sgi-xp/xpc_main.c:

Re: [PATCH 5/5] drivers: misc: Mark function jp_generic_ide_ioctl() as static in lkdtm.c

2013-12-13 Thread Josh Triplett
On Fri, Dec 13, 2013 at 12:29:42PM +0530, Rashika Kheria wrote: This patch marks the function jp_generic_ide_ioctl() as static in lkdtm.c because it is not used outside this file. Thus, it also eliminates the following warnings in lkdtm.c: drivers/misc/lkdtm.c:227:5: warning: no previous

Re: [PATCH 4/5] drivers: misc: Mark functions as static in ad525x_dpot.c

2013-12-13 Thread Josh Triplett
On Fri, Dec 13, 2013 at 12:27:10PM +0530, Rashika Kheria wrote: This patch marks the function ad_dpot_add_files() and ad_dpot_remove_files() as static in ad525x_dpot.c because they are not used outside this file. Thus, it also eliminates the following warnings in ad525x_dpot.c:

Re: [PATCH 1/2] drivers: platform: Mark functions as static in hp_accel.c

2013-12-13 Thread Josh Triplett
On Fri, Dec 13, 2013 at 12:56:34PM +0530, Rashika Kheria wrote: This patch marks the functions lis3lv02d_acpi_init(), lis3lv02d_acpi_read() and lis3lv02d_acpi_write() as static in x86/hp_accel.c because they are not used outside this file. Thus, it also eliminates the following warnings in

Re: [PATCH 2/2] drivers: platform: Include appropriate header file in mxm-wmi.c

2013-12-13 Thread Josh Triplett
On Fri, Dec 13, 2013 at 12:59:52PM +0530, Rashika Kheria wrote: This patch includes appropriate header file linux/mxm-wmi.h in x86/mxm-wmi.c because functions mxm_wmi_call_mxds(), mxm_wmi_call_mxmx() and mxm_wmi_supported() have their prototype declaration in linux/mxm-wmi.h. Thus, it also

Re: [PATCH 1/3] drivers: message: Mark function mpt_SoftResetHandler() as static in mptbase.c

2013-12-13 Thread Josh Triplett
On Fri, Dec 13, 2013 at 11:33:11AM +0530, Rashika Kheria wrote: This patch marks the function mpt_SoftResetHandler() as static in mptbase.c because it is not used outside this file. Thus, it also eliminates the following warning in fusion/mptbase.c: drivers/message/fusion/mptbase.c:7011:1:

Re: [PATCH 3/3] drivers: message: Mark functions as static in mptsas.c

2013-12-13 Thread Josh Triplett
On Fri, Dec 13, 2013 at 11:40:35AM +0530, Rashika Kheria wrote: This patch marks the function mptsas_refreshing_device_handles(), mptsas_expander_add() and mptsas_shutdown() as static in fusion/mptsas.c because they are not used outside this file. Thus, it also eliminates the following

Re: [PATCH 2/3] drivers: message: Mark function mptscsih_quiesce_raid() as static in mptspi.c

2013-12-13 Thread Josh Triplett
On Fri, Dec 13, 2013 at 11:36:54AM +0530, Rashika Kheria wrote: This patch marks the function mptscsih_quiesce_raid() as static in fusion/mptspi.c because it is not used outside this function. Thus, it also eliminates the following warning in fusion/mptspi.c:

Re: [REGRESSION] 41c7f74 rtc: Disable the alarm in the hardware (v2)

2013-12-13 Thread Brecht Machiels
On Thu, 12 Dec 2013 22:16:55 +0100 John Stultzjohn.stu...@linaro.org wrote On 12/12/2013 11:39 AM, John Stultz wrote: On 12/05/2013 03:51 AM, Brecht Machiels wrote: On Mon, 02 Dec 2013 22:19:58 +0100, Borislav Petkov wrote: On Mon, Dec 02, 2013 at 12:47:17PM -0800,

[GIT PULL] at91: drivers for 3.14 #1

2013-12-13 Thread Nicolas Ferre
Arnd, Olof, Kevin, This is a drivers series that adds Device Tree support to Atmel crypto drivers (AES/[T]DES/SHA). As the DT part of this addition is in at91-3.14-dt I thought it would be simpler to take this series through arm-soc. I asked and got Herbert's blessing. The Device Tree entries

[PATCH linux-3.10.y] ip6tnl: fix use after free of fb_tnl_dev

2013-12-13 Thread Nicolas Dichtel
The upstream commit bb8140947a24 (ip6tnl: allow to use rtnl ops on fb tunnel) (backported into linux-3.10.y) left a bug which was fixed upstream by commit 1e9f3d6f1c40 (ip6tnl: fix use after free of fb_tnl_dev). The problem is a bit different in linux-3.10.y, because there is no x-netns support

Re: kernel BUG in munlock_vma_pages_range

2013-12-13 Thread Vlastimil Babka
On 12/13/2013 09:49 AM, Bob Liu wrote: On 12/13/2013 05:05 AM, Sasha Levin wrote: On 12/12/2013 07:41 AM, Vlastimil Babka wrote: On 12/12/2013 06:03 AM, Bob Liu wrote: On 12/12/2013 11:16 AM, Sasha Levin wrote: On 12/11/2013 05:59 PM, Vlastimil Babka wrote: On 12/09/2013 09:26 PM, Sasha

Re: [PATCH 1/9] Known exploit detection

2013-12-13 Thread Vegard Nossum
On 12/12/2013 10:13 PM, Kees Cook wrote: On Thu, Dec 12, 2013 at 11:06 AM, Theodore Ts'o ty...@mit.edu wrote: On Thu, Dec 12, 2013 at 05:52:24PM +0100, vegard.nos...@oracle.com wrote: The idea is simple -- since different kernel versions are vulnerable to different root exploits, hackers most

[PATCH v2 0/5] net: phy: Ethernet PHY powerdown optimization

2013-12-13 Thread Sebastian Hesselbarth
This is v2 of the ethernet PHY power optimization patches to reduce power consumption of network PHYs with link that are either unused or the corresponding netdev is down. Compared to the last version, this patch set drops a patch to disable unused PHYs after late initcall, as it is not

[PATCH v2 1/5] net: mv643xx_eth: properly start/stop phy device

2013-12-13 Thread Sebastian Hesselbarth
When using phydev, it should be phy_start/phy_stop'ed properly. This driver doesn't do that, so add the corresponding calls to port_start/ stop respectively. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com Acked-by: Mugunthan V N mugunthan...@ti.com Reviewed-by: Florian

[PATCH v2 5/5] net: phy: suspend phydev when going to HALTED

2013-12-13 Thread Sebastian Hesselbarth
When phydev is going to HALTED state, we can try to suspend it to safe more power. phy_suspend helper will check if PHY can be suspended, so just call it when entering HALTED state. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com Acked-by: Mugunthan V N mugunthan...@ti.com

[PATCH v2 3/5] net: phy: provide phy_resume/phy_suspend helpers

2013-12-13 Thread Sebastian Hesselbarth
This adds helper functions to resume and suspend a given phy_device by calling the corresponding driver callbacks if available. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com Acked-by: Mugunthan V N mugunthan...@ti.com Reviewed-by: Florian Fainelli f.faine...@gmail.com ---

Re: [PATCH 1/9] Known exploit detection

2013-12-13 Thread Vegard Nossum
On 12/13/2013 12:50 AM, Ryan Mallon wrote: On 13/12/13 08:13, Kees Cook wrote: On Thu, Dec 12, 2013 at 11:06 AM, Theodore Ts'o ty...@mit.edu wrote: On Thu, Dec 12, 2013 at 05:52:24PM +0100, vegard.nos...@oracle.com wrote: The idea is simple -- since different kernel versions are vulnerable to

[PATCH v2 2/5] net: phy: marvell: provide genphy suspend/resume

2013-12-13 Thread Sebastian Hesselbarth
Marvell PHYs support generic PHY suspend/resume, so provide those callbacks to all marvell specific drivers. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com Acked-by: Mugunthan V N mugunthan...@ti.com Reviewed-by: Florian Fainelli f.faine...@gmail.com --- Cc: David Miller

[PATCH v2 4/5] net: phy: resume/suspend PHYs on attach/detach

2013-12-13 Thread Sebastian Hesselbarth
This ensures PHYs are resumed on attach and suspended on detach. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com Acked-by: Mugunthan V N mugunthan...@ti.com Reviewed-by: Florian Fainelli f.faine...@gmail.com --- Cc: David Miller da...@davemloft.net Cc: Florian Fainelli

RE: [PATCH] ARM: S3C24XX: Fix configuration of gpio port sizes on S3C24XX.

2013-12-13 Thread kgene
José Miguel Gonçalves wrote: On 27-09-2013 15:17, Linus Walleij wrote: On Wed, Sep 11, 2013 at 10:46 AM, José Miguel Gonçalves jose.goncal...@inov.pt wrote: Some GPIO line limits are incorrectly set which, for instance, does not allow nRTS1 (GPH11) configuration on a S3C2416 chip.

Re: [PATCH] ARM: S3C24XX: Fix configuration of gpio port sizes on S3C24XX.

2013-12-13 Thread Heiko Stübner
Am Freitag, 13. Dezember 2013, 10:24:59 schrieb kg...@kernel.org: José Miguel Gonçalves wrote: On 27-09-2013 15:17, Linus Walleij wrote: On Wed, Sep 11, 2013 at 10:46 AM, José Miguel Gonçalves jose.goncal...@inov.pt wrote: Some GPIO line limits are incorrectly set which, for

RE: [PATCHv6 1/4] pwm: Add Freescale FTM PWM driver support

2013-12-13 Thread li.xi...@freescale.com
+ struct fsl_pwm_chip *fpc; + + fpc = to_fsl_chip(chip); + + period_cycles = fsl_rate_to_cycles(fpc, period_ns); + if (period_cycles 0x) { + dev_err(chip-dev, required PWM period cycles(%lu) overflow + 16-bits counter!\n,

Re: [PATCH 1/9] Known exploit detection

2013-12-13 Thread Jiri Kosina
On Fri, 13 Dec 2013, Theodore Ts'o wrote: I am at least partially sympathetic to the concerns which Greg has raised, though. At the very least the exploit() tags should also have a date stamp, so it we can automatically scan for exploit tags whose time has come and gone. At least this is a

Re: [PATCH 3/3] pinctrl: at91: implement at91_pinconf_dbg_show

2013-12-13 Thread Linus Walleij
On Sat, Dec 7, 2013 at 2:08 PM, Alexandre Belloni alexandre.bell...@free-electrons.com wrote: This allows to get the pin configuration by using debugfs. On my system: # cat /sys/kernel/debug/pinctrl/pinctrl.3/pinconf-pins Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com

Re: [PATCH] ARM: S3C24XX: Fix configuration of gpio port sizes on S3C24XX.

2013-12-13 Thread Linus Walleij
On Fri, Dec 13, 2013 at 10:24 AM, kg...@kernel.org wrote: José Miguel Gonçalves wrote: (..) Was this patch forgotten? Hi Jose, Sorry about missing your patch. It's my fault :( and as you know, at this moment the file will be removed by Linus' patch... Oh I can certainly rebase the patch

Re: [PATCH] ARM: S3C24XX: Fix configuration of gpio port sizes on S3C24XX.

2013-12-13 Thread José Miguel Gonçalves
Hi Heiko, On 13-12-2013 08:42, Heiko Stübner wrote: But Jose, you should really really look into moving to devicetree with your platform, if you're not already doing so. Pinctrl support is already present, and I'm hopefull the move to the common clock framework I posted a few days ago might

Re: [PATCH] HID: hid-multitouch: add support for SiS panel in LG 23ET83V

2013-12-13 Thread Jiri Kosina
On Thu, 12 Dec 2013, Greg KH wrote: 3.12.5-stable patch From: Emanuel Krenz emanuelkr...@web.de Add support for SiS multitouch panel in the touch monitor LG 23ET83V. Signed-off-by: Emanuel Krenz emanuelkr...@web.de Signed-off-by: Forest Bond

[PATCHv7 0/4] Add Freescale FTM PWM driver.

2013-12-13 Thread Xiubo Li
This patch series is the Freescale FTM PWM implementation. And there are 8 channels most supported by the FTM PWM. This implementation is only compatible with device tree definition. This patch series is based on linux-next and has been tested on Vybrid VF610 Tower board using device tree.

[PATCHv7 4/4] Documentation: Add device tree bindings for Freescale FTM PWM.

2013-12-13 Thread Xiubo Li
This adds the binding documentation for Freescale FlexTimer Module (FTM) PWM driver under Documentation/devicetree/bindings/pwm/. Signed-off-by: Xiubo Li li.xi...@freescale.com Reviewed-by: Sascha Hauer s.ha...@pengutronix.de Acked-by: Kumar Gala ga...@codeaurora.org ---

[PATCHv7 2/4] ARM: dts: Add Freescale FTM PWM node for VF610.

2013-12-13 Thread Xiubo Li
This adds devicetree node for VF610, and there are 8 channels supported. Signed-off-by: Xiubo Li li.xi...@freescale.com Reviewed-by: Sascha Hauer s.ha...@pengutronix.de --- arch/arm/boot/dts/vf610.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git

[PATCHv7 1/4] pwm: Add Freescale FTM PWM driver support

2013-12-13 Thread Xiubo Li
The FTM PWM device can be found on Vybrid VF610 Tower and Layerscape LS-1 SoCs. Signed-off-by: Xiubo Li li.xi...@freescale.com Signed-off-by: Alison Wang b18...@freescale.com Signed-off-by: Jingchang Lu b35...@freescale.com Reviewed-by: Sascha Hauer s.ha...@pengutronix.de --- drivers/pwm/Kconfig

[PATCHv7 3/4] ARM: dts: Enables FTM PWM device for Vybrid VF610 TOWER board.

2013-12-13 Thread Xiubo Li
Signed-off-by: Xiubo Li li.xi...@freescale.com Reviewed-by: Sascha Hauer s.ha...@pengutronix.de --- arch/arm/boot/dts/vf610-twr.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/vf610-twr.dts b/arch/arm/boot/dts/vf610-twr.dts index 82d352f..3130f85 100644 ---

Re: why does index in truncate_inode_pages_range() grows so much ?

2013-12-13 Thread Toralf Förster
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 12/11/2013 09:26 PM, Jan Kara wrote: Thanks! So this works more or less as expected - trinity issued a read at absurdly high offset so we created pagecache page a that offset and tried to read data into it. That failed. We left the page in

[PATCH 1/1] AX88179_178A: Add FLAG_HW_IPALIGN to determine whether reserving NET_IP_ALIGN bytes for an SKB.

2013-12-13 Thread freddy
From: Freddy Xin fre...@asix.com.tw The AX88179_178A has a hardware feature that it can insert a 2-bytes pseudo header in front of each received frame by setting the AX_RX_CTL_IPE bit. This feature is used to let the IP header be aligned on a doubleword-aligned address, so the rx_submit() of

Re: [PATCH v5 1/9] phy: add phy_get_bus_width()/phy_set_bus_width() calls

2013-12-13 Thread Kishon Vijay Abraham I
On Thursday 12 December 2013 11:48 PM, Felipe Balbi wrote: Hi, On Thu, Dec 12, 2013 at 08:26:02AM -0500, Matt Porter wrote: This adds a pair of APIs that allows the generic PHY subsystem to provide information on the PHY bus width. The PHY provider driver may use phy_set_bus_width() to set

Re: [PATCH] ARM: reinsert ARCH_MULTI_V4 Kconfig option

2013-12-13 Thread Russell King - ARM Linux
On Fri, Dec 13, 2013 at 09:09:09AM +0100, Jonas Jensen wrote: CPU_FA526 lacks thumb state support and doesn't get along with some of the options enabled by ARCH_MULTI_V4T. More specifically it doesn't get along with CPU_ARM920T: CPU_ABRT_EV4T CPU_CACHE_V4WT CPU_COPY_V4WB CPU_TLB_V4WBI

Re: [PATCH v4 01/03] clocksource: Add Kconfig entries for CMT, MTU2, TMU and STI

2013-12-13 Thread Magnus Damm
Hi Olof, On Thu, Dec 12, 2013 at 10:05 AM, Olof Johansson o...@lixom.net wrote: Hi, A couple of small comments below. Thanks for your feedback! On Thu, Dec 12, 2013 at 08:56:26AM +0900, Magnus Damm wrote: From: Magnus Damm d...@opensource.se Add Kconfig entries for CMT, MTU2, TMU and STI

[PATCH V3] perf script: Improve srcline display for BTS

2013-12-13 Thread Adrian Hunter
Change the order of the output to put the srcline last. e.g. perf record -e branches:u -c 1 -d ls perf script -fip,sym,symoff,dso,addr,srcline old format: 4028fc main+0x2c (/bin/ls) /build/buildd/coreutils-8.20/src/ls.c:1269 = 40d8a0 set_program_name+0x0

Re: [PATCH 07/10] ARM: dts: sun7i: cubietruck: Enable the GMAC

2013-12-13 Thread Giuseppe CAVALLARO
On 12/7/2013 2:57 AM, Florian Fainelli wrote: 2013/12/6 Chen-Yu Tsai w...@csie.org: On Sat, Dec 7, 2013 at 5:09 AM, Florian Fainelli f.faine...@gmail.com wrote: 2013/12/6 Chen-Yu Tsai w...@csie.org: The CubieTruck uses the GMAC with an RGMII phy. Signed-off-by: Chen-Yu Tsai w...@csie.org ---

Re: [PATCH v3 5/6] ARM: pinctrl: Add Broadcom Capri pinctrl driver

2013-12-13 Thread Mark Brown
On Thu, Dec 12, 2013 at 09:54:50PM +0100, Linus Walleij wrote: This is a reimplementation of regmap for MMIO. See drivers/base/regmap/regmap-mmio.c Notice how regmap_update_bits() is used throughout the kernel. If you want to do this, use regmap. Or if this is very performance sensitive

Re: [PATCH 1/9] Known exploit detection

2013-12-13 Thread Vegard Nossum
On 12/13/2013 06:09 AM, James Morris wrote: On Thu, 12 Dec 2013, Greg Kroah-Hartman wrote: On Thu, Dec 12, 2013 at 07:25:23PM -0500, Dave Jones wrote: On Thu, Dec 12, 2013 at 01:13:41PM -0800, Kees Cook wrote: - who will keep adding these triggers going forward? I think we'd need to

Re: [PATCH 1/9] Known exploit detection

2013-12-13 Thread Alexander Holler
Am 13.12.2013 02:42, schrieb Greg Kroah-Hartman: On Thu, Dec 12, 2013 at 07:25:23PM -0500, Dave Jones wrote: On Thu, Dec 12, 2013 at 01:13:41PM -0800, Kees Cook wrote: - who will keep adding these triggers going forward? also.. - Who will test the existing triggers are doing the right

Re: [PATCH] HID: hid-multitouch: add support for SiS panel in LG 23ET83V

2013-12-13 Thread Emanuel Krenz
Am 13.12.2013 10:39, schrieb Jiri Kosina: On Thu, 12 Dec 2013, Greg KH wrote: 3.12.5-stable patch From: Emanuel Krenz emanuelkr...@web.de Add support for SiS multitouch panel in the touch monitor LG 23ET83V. Signed-off-by: Emanuel Krenz emanuelkr...@web.de

RE: [PATCH 1/1] AX88179_178A: Add FLAG_HW_IPALIGN to determine whether reserving NET_IP_ALIGN bytes for an SKB.

2013-12-13 Thread David Laight
From: fre...@asix.com.tw ... - skb = __netdev_alloc_skb_ip_align(dev-net, size, flags); + if (dev-driver_info-flags FLAG_HW_IPALIGN) + skb = __netdev_alloc_skb(dev-net, size, flags); + else + skb = __netdev_alloc_skb_ip_align(dev-net, size, flags); Given

Re: [PATCH 04/10] net: stmmac: sunxi platfrom extensions for GMAC in Allwinner A20 SoC's

2013-12-13 Thread Maxime Ripard
On Thu, Dec 12, 2013 at 06:31:43PM +0800, Chen-Yu Tsai wrote: Hi, On Thu, Dec 12, 2013 at 5:04 PM, Maxime Ripard maxime.rip...@free-electrons.com wrote: Hi, On Wed, Dec 11, 2013 at 02:45:08PM +, srinivas kandagatla wrote: 1. .tx_coe This is not exported in the DT bindings.

Re: [PATCH 3/8] regmap: Add support for using regmap over ssbi

2013-12-13 Thread Mark Brown
On Thu, Dec 12, 2013 at 03:13:01PM -0800, Stephen Boyd wrote: bulk_read() should decay to individual reads if there isn't a block operaton and it's not like the hardware actually supports bulk reads anyway. So regmap_bulk_read() should work if I don't have a map-bus? To make it work with

Re: [PATCH V10 01/14] xen/pvh: Support ParaVirtualized Hardware extensions.

2013-12-13 Thread David Vrabel
On 13/12/13 02:10, Konrad Rzeszutek Wilk wrote: From: Mukesh Rathor mukesh.rat...@oracle.com PVH allows PV linux guest to utilize hardware extended capabilities, such as running MMU updates in a HVM container. This patch allows it to be configured and enabled. Also, basic header file

[PATCH] HID: hid-multitouch: add support for SiS panel in LG 23ET83V

2013-12-13 Thread Emanuel Krenz
From: Emanuel Krenz emanuelkr...@web.de Add support for SiS multitouch panel in the touch monitor LG 23ET83V. --- I bought an LG 23ET83V multitouch monitor, whose idProduct=1030 wasn't yet included in the hid-multitouch driver. So I wrote following patch to include the ID

Re: [PATCH 1/3] regulator: act8865: add PMIC(Power Management IC) driver

2013-12-13 Thread Mark Brown
On Fri, Dec 13, 2013 at 07:10:36AM +, Yang, Wenyou wrote: Please keep this and the Makefile sorted. Only this one confuses me, How can I sort it? By i2c interface, by regulator type: voltage or current? Where is act8865 should be? By name - look at the existing entries. signature.asc

[PATCH 1/1] usb: musb: ux500_dma: fix potential NULL dereference error

2013-12-13 Thread Lee Jones
static checker warning: drivers/usb/musb/ux500_dma.c:335 ux500_dma_controller_start() error: potential NULL dereference 'param_array'. Reported-by: Dan Carpenter dan.carpen...@oracle.com Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/usb/musb/ux500_dma.c | 4 +++- 1 file

Re: [PATCH 00/15] cleanups and optimizations

2013-12-13 Thread Eliezer Tamir
On 12/12/2013 16:08, Peter Zijlstra wrote: This series contains the preempt_enable_no_resched() cleanups that include spin_lock_bh() optimizations and local_clock() optimizations. I'm trying to test this on tip/master. Patch 3 fails to apply on kenrel/softirq.c Thanks, Eliezer -- To

Re: XFS / writeback invoking soft lockup.

2013-12-13 Thread Dave Chinner
On Fri, Dec 13, 2013 at 02:14:07AM -0500, Dave Jones wrote: I can hit this pretty reliably on one of my slower test machines. (8gb ram, 1 slow sata disk) the machine is pretty responsive, and recovers after a while. anything we can do to shut it up ? Actually, I think this indicates a

Re: [PATCH] ARM: reinsert ARCH_MULTI_V4 Kconfig option

2013-12-13 Thread Jonas Jensen
On 13 December 2013 10:56, Russell King - ARM Linux li...@arm.linux.org.uk wrote: So, having these symbols enabled (provided the right ones for FA526 are also enabled) makes no difference. So I don't buy your explanation. The explanation is indeed false, CPU_FA526 and CPU_ARM920T get along

Re: [uml-devel] why does index in truncate_inode_pages_range() grows so much ?

2013-12-13 Thread Richard Weinberger
On Fri, Dec 13, 2013 at 10:52 AM, Toralf Förster toralf.foers...@gmx.de wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 12/11/2013 09:26 PM, Jan Kara wrote: Thanks! So this works more or less as expected - trinity issued a read at absurdly high offset so we created pagecache page a

Re: [PATCH V10 02/14] xen/pvh: Extend vcpu_guest_context, p2m, event, and XenBus.

2013-12-13 Thread David Vrabel
On 13/12/13 02:10, Konrad Rzeszutek Wilk wrote: From: Mukesh Rathor mukesh.rat...@oracle.com Make gdt_frames[]/gdt_ents into a union with {gdtaddr, gdtsz}, as PVH only needs to send down gdtaddr and gdtsz in the vcpu_guest_context structure.. For interrupts, PVH uses native_irq_ops so we

Re: [HANG 3.13-rc3] blk-mq/virtio: mkfs.ext4 hangs in blk_mq_wait_for_tags

2013-12-13 Thread Dave Chinner
On Fri, Dec 13, 2013 at 09:57:48AM +0800, Ming Lei wrote: On Tue, Dec 10, 2013 at 6:39 AM, Dave Chinner da...@fromorbit.com wrote: Hi Jens, Another day, another blkmq/virtio problem. Running mkfs.ext4 on a sparse 100TB VM file image, it hangs hard while writing superblock information:

Re: [PATCH v5 5/9] usb: gadget: s3c-hsotg: use generic phy_init()/phy_exit() support

2013-12-13 Thread Kishon Vijay Abraham I
On Thursday 12 December 2013 06:56 PM, Matt Porter wrote: If a generic phy is present, call phy_init()/phy_exit(). This supports generic phys that must be soft reset before power on. Signed-off-by: Matt Porter mpor...@linaro.org Acked-by: Kishon Vijay Abraham I kis...@ti.com ---

Re: [PATCH V10 05/14] xen/pvh: balloon and grant changes.

2013-12-13 Thread David Vrabel
On 13/12/13 02:10, Konrad Rzeszutek Wilk wrote: From: Mukesh Rathor mukesh.rat...@oracle.com For balloon changes we skip setting of local P2M as it's updated in Xen. For grant, the shared grant frame is the PFN and not MFN, hence its mapped via the same code path as HVM. It's difficult to

Re: [PATCH v5 6/9] usb: gadget: s3c-hsotg: get phy bus width from phy subsystem

2013-12-13 Thread Kishon Vijay Abraham I
On Thursday 12 December 2013 06:56 PM, Matt Porter wrote: Adds support for querying the phy bus width from the generic phy subsystem. Configure UTMI bus width in GUSBCFG based on this value. Signed-off-by: Matt Porter mpor...@linaro.org Acked-by: Kishon Vijay Abraham I kis...@ti.com ---

Re: [PATCH V10 08/14] x86/xen: Use __pa_symbol instead of __pa on C visible symbols

2013-12-13 Thread David Vrabel
On 13/12/13 02:10, Konrad Rzeszutek Wilk wrote: From: Alexander Duyck alexander.h.du...@intel.com This change updates a few of the functions to use __pa_symbol when translating C visible symbols instead of __pa. By using __pa_symbol we are able to drop a few extra lines of code as don't

Re: [PATCH 1/2] misc: Reserve minor for VFIO

2013-12-13 Thread One Thousand Gnomes
VFIO currently allocates it's own dynamic chardev range, reserving the first minor for the control part of the interface (/dev/vfio/vfio) and the remainder for VFIO groups (/dev/vfio/$GROUP). This works, but it doesn't support auto loading. For instance when libvirt checks for VFIO support

Re: [PATCH 1/9] Known exploit detection

2013-12-13 Thread One Thousand Gnomes
Totally true, but there's a million way to DoS a local machine. At least this way shows who's doing it. It's the DoSes that don't include attribution that I worry about. :) So long as they compile out to nothingness for all the systems where this stuff is useless (ie most of them because they

RE: [PATCH] mtd: increase max page/OOB size to support 16K pagesize NAND

2013-12-13 Thread Caizhiyong
On Fri, Dec 13, 2013 at 05:03:49AM +, Caizhiyong wrote: From: Cai Zhiyong caizhiy...@huawei.com Date: Fri, 13 Dec 2013 12:52:46 +0800 Subject: [PATCH] mtd: increase max page/OOB size to support 16K pagesize NAND. The Toshiba's TC58TEG5DCJTA pagesize is 16K, oob size is 1280

[PATCH net] netvsc: don't flush peers notifying work during setting mtu

2013-12-13 Thread Jason Wang
There's a possible deadlock if we flush the peers notifying work during setting mtu: [ 22.991149] == [ 22.991173] [ INFO: possible circular locking dependency detected ] [ 22.991198] 3.10.0-54.0.1.el7.x86_64.debug #1 Not tainted [

Re: [PATCH 5/9] hfsplus: Known exploit detection for CVE-2012-2319

2013-12-13 Thread One Thousand Gnomes
On Thu, 12 Dec 2013 17:52:28 +0100 vegard.nos...@oracle.com wrote: From: Vegard Nossum vegard.nos...@oracle.com See 6f24f892871acc47b40dd594c63606a17c714f77. Cc: Greg Kroah-Hartman gre...@linuxfoundation.org Signed-off-by: Vegard Nossum vegard.nos...@oracle.com --- fs/hfsplus/catalog.c

[PATCH] pinctrl: pinconf: remove warning: unused variable 'ops'

2013-12-13 Thread Alexandre Belloni
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- drivers/pinctrl/pinconf.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/pinctrl/pinconf.c b/drivers/pinctrl/pinconf.c index 4187fe58794d..8bfa0643e5dc 100644 --- a/drivers/pinctrl/pinconf.c +++

Re: XFS / writeback invoking soft lockup.

2013-12-13 Thread Christoph Hellwig
On Fri, Dec 13, 2013 at 09:48:53PM +1100, Dave Chinner wrote: All I can say is that there doesn't look to be any obvious signs that this is a XFS or writeback problem fom the stack trace, and without more information or a reproducable test case I'm not going to be able to understand the cause.

Re: [PATCH v5 08/14] efi: export efi runtime memory mapping to sysfs

2013-12-13 Thread Dave Young
On 12/12/13 at 09:36pm, Borislav Petkov wrote: On Thu, Dec 12, 2013 at 03:13:37PM +0800, Dave Young wrote: BTW, I will restructure the whole code when I move them to efi_kexec.c, so no worry about it? If you have strong opinion I can move them though. Well, if it were me, I'd do it now

Re: [PATCH v5 09/14] efi: passing kexec necessary efi data via setup_data

2013-12-13 Thread Dave Young
On 12/12/13 at 10:04pm, Borislav Petkov wrote: On Thu, Dec 12, 2013 at 03:17:43PM +0800, Dave Young wrote: Rethink about this issue, moving them to efi_$(BITS).c I need move the efi_setup from a static variable to an extern, It looks not worth. Dave, would you please do what is suggested

Re: [PATCH] phy: Add exynos-phy driver

2013-12-13 Thread Kishon Vijay Abraham I
Hi, On Wednesday 11 December 2013 03:46 PM, Sylwester Nawrocki wrote: On 11/12/13 10:54, Kishon Vijay Abraham I wrote: On Wednesday 27 November 2013 06:56 PM, Tomasz Stanislawski wrote: Hello everyone, The Samsung SoCs from Exynos family are enhanced with a bunch of switches dedicated for IP

Re: [PATCH] omap: twl-common: Fix musb-hdrc device name.

2013-12-13 Thread Belisko Marek
On Mon, Dec 9, 2013 at 6:50 PM, Tony Lindgren t...@atomide.com wrote: * Belisko Marek marek.beli...@gmail.com [131208 23:36]: Hi Tony, On Thu, Dec 5, 2013 at 7:43 PM, Tony Lindgren t...@atomide.com wrote: * Belisko Marek marek.beli...@gmail.com [131203 01:21]: On Tue, Dec 3, 2013 at 10:08

[PATCH CFT] ARM:S3C24XX: Enable ARM_PATCH_PHYS_VIRT and AUTO_ZRELADDR by default

2013-12-13 Thread panchaxari
Configs ARM_PATCH_PHYS_VIRT and AUTO_ZRELADDR are enabled as default to platform S3C24XX. Introduction of PHYS_VIRT config as default would enable phy-to-virt and virt-to-phy translation function at boot and module loading time and enforce dynamic reallocation of memory. AUTO_ZRELADDR config

Re: [PATCH v3 04/11] PCI/MSI/pSeries: Make quota traversing and requesting race-safe

2013-12-13 Thread Alexander Gordeev
On Tue, Dec 10, 2013 at 03:30:20PM -0700, Bjorn Helgaas wrote: Can you outline the race and the scenario that leads to incorrect results or a crash? I looked through rtas_setup_msi_irqs() (briefly) and I didn't see the way that concurrent calls for different devices could interfere with each

Re: [PATCH V10 14/14] xen/pvh: vcpu info placement, load CS selector, and remove debug printk.

2013-12-13 Thread David Vrabel
On 13/12/13 02:10, Konrad Rzeszutek Wilk wrote: From: Mukesh Rathor mukesh.rat...@oracle.com This patch addresses 3 things: - Resolve vcpu info placement fixme. - Load CS selector for PVH after switching to new gdt. - Remove printk in case of failure to map pnfs in p2m. This

  1   2   3   4   5   6   7   8   9   10   >