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

2013-12-12 Thread Christian Daudt
On Thu, Dec 5, 2013 at 11:20 AM, Tim Kryger wrote: > The frequency property in "snps,dw-apb-uart" entries are no longer > required if the rate of the external clock can be determined using the > clk api (see e302cd9 serial: 8250_dw: add support for clk api). > > This patch replaces the frequency

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

2013-12-12 Thread Huang Shijie
On Fri, Dec 13, 2013 at 05:03:49AM +, Caizhiyong wrote: > From: Cai Zhiyong > 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 increase the

Re: [PATCH v3] usb: gadget: Add UDC driver for Aeroflex Gaisler GRUSBDC

2013-12-12 Thread Andreas Larsson
On 2013-12-12 19:01, Felipe Balbi wrote: Hi, On Wed, Dec 04, 2013 at 09:13:58AM +0100, Andreas Larsson wrote: +static void gr_finish_request(struct gr_ep *ep, struct gr_request *req, + int status) +{ + struct gr_udc *dev; + + list_del_init(>queue); + +

Re: [PATCH v4 1/8] ARM: dts: Declare clocks as fixed on bcm11351

2013-12-12 Thread Christian Daudt
On Tue, Dec 10, 2013 at 12:26 PM, Tim Kryger wrote: > On Mon, Dec 9, 2013 at 11:18 PM, Christian Daudt wrote: >> Applied to armsoc/for-3.14/dt > > Could you wait till other maintainers provide their acks and then take > the entire series into a branch that feeds into the arm-soc >

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

2013-12-12 Thread Brian Norris
On Fri, Dec 13, 2013 at 05:01:56AM +, Caizhiyong wrote: > The Toshiba's TC58TEG5DCJTA pagesize is 16K, oob size is 1280 bytes. > So increase the NAND_MAX_OOBSIZE and NAND_MAX_PAGESIZE. > > Signed-off-by: Huang Shijie > Signed-off-by: Artem Bityutskiy > Signed-off-by: David Woodhouse Huh?

[GIT PULL] MTD fixes for 3.13-rc

2013-12-12 Thread Brian Norris
Hi Linus, Here are two MTD fixes for the pxa3xx-nand driver. Brian The following changes since commit 6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae: Linux 3.13-rc1 (2013-11-22 11:30:55 -0800) are available in the git repository at: git://git.infradead.org/linux-mtd.git tags/for-linus-20131212

Dear user

2013-12-12 Thread ADMIN
Dear user Your email has exceeded 2 GB, which is created by Webmaster, you are currently running at 2.30GB, you can not Send or receive new messages until you check your account.Complete the form below to verify your account. Please complete the details below to confirm your account (1)

Re: [PATCH v1 9/9] staging: android: binder: Add binder compat layer

2013-12-12 Thread Octavian Purdila
On Fri, Dec 13, 2013 at 7:14 AM, Arve Hjønnevåg wrote: > On Thu, Dec 12, 2013 at 12:45 AM, Octavian Purdila > wrote: >> On Thu, Dec 12, 2013 at 1:00 AM, Arve Hjønnevåg wrote: >>> On Wed, Dec 11, 2013 at 10:10 AM, Octavian Purdila >>> wrote: On Wed, Dec 11, 2013 at 5:21 AM, Arve Hjønnevåg

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

2013-12-12 Thread Rashika Kheria
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 eliminates the following warnings in x86/mxm-wmi.c:

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

2013-12-12 Thread Dave Young
On 12/12/13 at 09:53pm, Borislav Petkov wrote: > On Thu, Dec 12, 2013 at 10:36:17AM +0800, Dave Young wrote: > > Sorry that I forgot to explain this in changelog, should ask you before. > > > > I did try moving it to efisubsys_init but it need add extern declaration > > So what? Add it. > > >

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

2013-12-12 Thread Rashika Kheria
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 x86/hp_accel.c: drivers/platform/x86/hp_accel.c:91:5: warning: no

XFS / writeback invoking soft lockup.

2013-12-12 Thread Dave Jones
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 ? BUG: soft lockup - CPU#2 stuck for 22s! [kworker/u8:2:8479] Modules linked in: rfcomm l2tp_ppp

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

2013-12-12 Thread Yang, Wenyou
Hi Mark, Thanks your for feedback. > -Original Message- > From: Mark Brown [mailto:broo...@kernel.org] > Sent: Friday, December 13, 2013 12:52 AM > To: Yang, Wenyou > Cc: lgirdw...@gmail.com; grant.lik...@linaro.org; > rob.herr...@calxeda.com; vpala...@chromium.org; >

[PATCH] KEYS: fix uninitialized persistent_keyring_register_sem

2013-12-12 Thread Xiao Guangrong
We run into this bug: [ 2736.063245] Unable to handle kernel paging request for data at address 0x [ 2736.063293] Faulting instruction address: 0xc037efb0 [ 2736.063300] Oops: Kernel access of bad area, sig: 11 [#1] [ 2736.063303] SMP NR_CPUS=2048 NUMA pSeries [ 2736.063310]

Re: [PATCH v3 5/5] slab: make more slab management structure off the slab

2013-12-12 Thread Joonsoo Kim
On Tue, Dec 03, 2013 at 11:13:08AM +0900, Joonsoo Kim wrote: > On Mon, Dec 02, 2013 at 02:58:41PM +, Christoph Lameter wrote: > > On Mon, 2 Dec 2013, Joonsoo Kim wrote: > > > > > Now, the size of the freelist for the slab management diminish, > > > so that the on-slab management structure can

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

2013-12-12 Thread Rashika Kheria
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 prototype for ‘jp_generic_ide_ioctl’ [-Wmissing-prototypes]

Re: [PATCH] dma: mv_xor: remove mv_desc_get_dest_addr()

2013-12-12 Thread Dan Williams
On Wed, Dec 11, 2013 at 1:10 AM, Dan Williams wrote: > On Tue, Dec 10, 2013 at 3:14 AM, Russell King - ARM Linux > wrote: >> On Tue, Dec 10, 2013 at 03:43:31PM +0530, Vinod Koul wrote: >>> On Mon, Dec 09, 2013 at 11:50:35PM +, Russell King - ARM Linux wrote: >>> > On Thu, Nov 28, 2013 at

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

2013-12-12 Thread Rashika Kheria
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: warning: no previous prototype for

Re: [patch 2/2] fs: buffer: move allocation failure loop into the allocator

2013-12-12 Thread Joonsoo Kim
On Wed, Dec 04, 2013 at 10:52:18AM +0900, Joonsoo Kim wrote: > On Tue, Dec 03, 2013 at 04:59:10PM -0800, Andrew Morton wrote: > > On Tue, 8 Oct 2013 16:58:10 -0400 Johannes Weiner > > wrote: > > > > > Buffer allocation has a very crude indefinite loop around waking the > > > flusher threads

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

2013-12-12 Thread Rashika Kheria
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: drivers/misc/sgi-xp/xpc_main.c:1231:1: warning: no previous prototype for ‘xpc_init’

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

2013-12-12 Thread Rashika Kheria
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: drivers/misc/sgi-xp/xp_main.c:249:1: warning: no previous prototype for ‘xp_init’

[PATCH v3 2/6] mm/migrate: correct failure handling if !hugepage_migration_support()

2013-12-12 Thread Joonsoo Kim
We should remove the page from the list if we fail with ENOSYS, since migrate_pages() consider error cases except -ENOMEM and -EAGAIN as permanent failure and it assumes that the page would be removed from the list. Without this patch, we could overcount number of failure. In addition, we should

[PATCH v3 1/6] mm/migrate: add comment about permanent failure path

2013-12-12 Thread Joonsoo Kim
From: Naoya Horiguchi Let's add a comment about where the failed page goes to, which makes code more readable. Acked-by: Christoph Lameter Reviewed-by: Wanpeng Li Signed-off-by: Naoya Horiguchi Signed-off-by: Joonsoo Kim diff --git a/mm/migrate.c b/mm/migrate.c index 3747fcd..c6ac87a

[PATCH v3 6/6] mm/migrate: remove unused function, fail_migrate_page()

2013-12-12 Thread Joonsoo Kim
fail_migrate_page() isn't used anywhere, so remove it. Acked-by: Christoph Lameter Reviewed-by: Naoya Horiguchi Reviewed-by: Wanpeng Li Signed-off-by: Joonsoo Kim diff --git a/include/linux/migrate.h b/include/linux/migrate.h index e4671f9..4308018 100644 --- a/include/linux/migrate.h +++

[PATCH v3 5/6] mm/compaction: respect ignore_skip_hint in update_pageblock_skip

2013-12-12 Thread Joonsoo Kim
update_pageblock_skip() only fits to compaction which tries to isolate by pageblock unit. If isolate_migratepages_range() is called by CMA, it try to isolate regardless of pageblock unit and it don't reference get_pageblock_skip() by ignore_skip_hint. We should also respect it on

[PATCH v3 3/6] mm/mempolicy: correct putback method for isolate pages if failed

2013-12-12 Thread Joonsoo Kim
queue_pages_range() isolates hugetlbfs pages and putback_lru_pages() can't handle these. We should change it to putback_movable_pages(). Naoya said that it is worth going into stable, because it can break in-use hugepage list. Cc: # 3.12 Acked-by: Rafael Aquini Reviewed-by: Naoya Horiguchi

[PATCH v3 0/6] correct and clean-up migration related stuff

2013-12-12 Thread Joonsoo Kim
Changes From v2 - Drop 7th patch which try to remove result argument on page allocation function for migration since it is wrong. - Fix one missed word on changelog for 2nd patch, "correct failure handling if !hugepage_migration_support()" - Remove missed callsite for putback_lru_pages() on 4th

[PATCH v3 4/6] mm/migrate: remove putback_lru_pages, fix comment on putback_movable_pages

2013-12-12 Thread Joonsoo Kim
Some part of putback_lru_pages() and putback_movable_pages() is duplicated, so it could confuse us what we should use. We can remove putback_lru_pages() since it is not really needed now. This makes us undestand and maintain the code more easily. And comment on putback_movable_pages() is stale

[GIT PULL] ARC Fixes for 3.13

2013-12-12 Thread Vineet Gupta
Hi Linus, Please pull ARC fixes for 3.13. These are couple of weeks old already, but I just couldn't get them to you earlier. Thx, -Vineet -> The following changes since commit 6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae: Linux 3.13-rc1 (2013-11-22 11:30:55 -0800) are

RE: [PATCH] MAINTAINERS: Add DesignWare, i.MX6, Armada, R-Car PCI host maintainers

2013-12-12 Thread hong-xing....@freescale.com
Hi Bjorn: > -Original Message- > From: Shawn Guo [mailto:shawn@linaro.org] > Sent: Friday, December 13, 2013 1:39 PM > To: Bjorn Helgaas > Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-arm; linux- > te...@vger.kernel.org; linux...@vger.kernel.org; linux-samsung-

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

2013-12-12 Thread Rashika Kheria
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 sgi-gru/grukservices.c: drivers/misc/sgi-gru/grukservices.c:432:7: warning: no

[PATCH v9 0/2] PWM: pwm-atmel: add PWM controller driver

2013-12-12 Thread Bo Shen
This patch series add Atmel PWM controller driver support. Changes in v9: - Address the comments from Thierry Reding Changes in v8: - replace pr_err by dev_err Changes in v7: - fix issue for none device tree issues. Changes in v6: - using relaxed version for writel and readl - add

[PATCH v9 2/2] PWM: atmel-pwm: add device tree binding document

2013-12-12 Thread Bo Shen
Add atmel pwm driver device tree binding document Signed-off-by: Bo Shen Acked-by: Alexandre Belloni Acked-by: Jean-Christophe PLAGNIOL-VILLARD Acked-by: Kumar Gala --- .../devicetree/bindings/pwm/atmel-pwm.txt | 41 1 file changed, 41 insertions(+) create

[PATCH v9 1/2] PWM: atmel-pwm: add PWM controller driver

2013-12-12 Thread Bo Shen
Add Atmel PWM controller driver based on PWM framework. This is the basic function implementation of Atmel PWM controller. It can work with PWM based led and backlight. Signed-off-by: Bo Shen Acked-by: Alexandre Belloni Acked-by: Jean-Christophe PLAGNIOL-VILLARD --- drivers/pwm/Kconfig |

Re: [PATCH 1/2] of: add support for reading s32 property value

2013-12-12 Thread Laxman Dewangan
On Thursday 12 December 2013 11:31 PM, Stephen Warren wrote: On 12/12/2013 06:24 AM, Laxman Dewangan wrote: Add of_property_read_s32() to read the signed 32bit number from dt property value. This supports to pass the -ve numbers from dt. Use 2's complement method for represnting negative number

Re: [PATCH v2 2/4] pciehp: Use link change notifications for hot-plug and removal

2013-12-12 Thread Yinghai Lu
On Thu, Dec 12, 2013 at 2:44 PM, Bjorn Helgaas wrote: > [+cc Yinghai] > > On Tue, Dec 03, 2013 at 02:32:46PM -0800, Rajat Jain wrote: >> A lot of systems do not have the fancy buttons and LEDs, and instead >> want to rely only on the Link state change events to drive the hotplug >> and removal

Re: [PATCH 1/2] ARM: tegra: enable ams AS3722 drivers

2013-12-12 Thread Laxman Dewangan
On Friday 13 December 2013 03:21 AM, Stephen Warren wrote: On 12/12/2013 02:20 PM, Stephen Warren wrote: On 12/12/2013 06:31 AM, Laxman Dewangan wrote: ams AS3722 is the system power manager module IC for the Tegra124 based Venice2 platform. Enable configs for gpio, pincontrol, rtc, regulator

Re: [PATCH v2] kernel/locking: mutex: simplify access to the first entry in the wait-list

2013-12-12 Thread Andrzej Pietrasiewicz
Hello Ingo & Peter, I added Greg on Cc. W dniu 12.12.2013 13:52, Peter Zijlstra pisze: On Thu, Dec 12, 2013 at 09:02:07PM +0900, Kyungmin Park wrote: -Original Message- From: Peter Zijlstra [mailto:pet...@infradead.org] Sent: Thursday, December 12, 2013 8:35 PM To: Andrzej

Re: [PATCH] mm: fix use-after-free in sys_remap_file_pages

2013-12-12 Thread Cyrill Gorcunov
On Thu, Dec 12, 2013 at 10:41:18PM -0500, Rik van Riel wrote: > > If the vma has been freed by the time the code jumps to the > out label (because it was freed by a function called from > mmap_region), surely it will also already have been freed > by the time this patch dereferences it? > >

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

2013-12-12 Thread Rashika Kheria
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 warnings in fusion/mptsas.c: drivers/message/fusion/mptsas.c:1579:1:

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

2013-12-12 Thread Rashika Kheria
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: drivers/message/fusion/mptspi.c:624:1: warning: no previous prototype for ‘mptscsih_quiesce_raid’

Re: Re: Re: [PATCH -tip v4 0/6] kprobes: introduce NOKPROBE_SYMBOL() and fixes crash bugs

2013-12-12 Thread Masami Hiramatsu
(2013/12/13 14:34), Masami Hiramatsu wrote: >> Lets assume we allow a probe to be inserted in the single-step path. >> Such a probe will be an INT3 instruction and if it hits we get a >> recursive INT3 invocation. In that case the INT3 handler should simply >> restore the original instruction

Re: How to reserve pci bus numbers for hotplug?

2013-12-12 Thread Yinghai Lu
On Thu, Dec 12, 2013 at 11:56 AM, Andreas Noever wrote: > On Thu, Dec 12, 2013 at 1:21 AM, Yinghai Lu wrote: >> On Wed, Dec 11, 2013 at 3:37 PM, Andreas Noever >> wrote: >> >>> If I could get Linux to assign enough resources (bus numbers for now) >>> then I could drop the acpi_osi parameter and

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

2013-12-12 Thread Rashika Kheria
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: warning: no previous prototype for ‘mpt_SoftResetHandler’

Re: [PATCH] PCI: export MSI mode using attributes, not kobjects

2013-12-12 Thread Yinghai Lu
On Thu, Dec 12, 2013 at 8:32 PM, Bjorn Helgaas wrote: > No problem. I have > > CONFIG_LOCKDEP_SUPPORT=y > CONFIG_LOCKDEP=y > CONFIG_DEBUG_LOCKDEP=y > > and I still don't see the problem booting the qemu q35 model. > Whatever, I folded it in anyway. Does qemu q35 use MSI? Yinghai -- To

[PATCH 2/2] drivers: mtd: Mark function is_erased() as static in denali.c

2013-12-12 Thread Rashika Kheria
This patch marks the function is_erased() as static in denali.c because it is not used outside this file. This patch elimiates the following warning in nand/denali.c: drivers/mtd/nand/denali.c:900:6: warning: no previous prototype for ‘is_erased’ [-Wmissing-prototypes] Signed-off-by: Rashika

Re: [PATCH 1/9] Known exploit detection

2013-12-12 Thread Theodore Ts'o
On Fri, Dec 13, 2013 at 04:09:06PM +1100, James Morris wrote: > > I think we'd need to have someone commit to maintaining this long term > before seriously considering it as part of mainline. Over time it will > become increasingly useless if new triggers aren't added. > > What happens when

[PATCH 1/2] drivers: mtd: Mark functions as static and remove unused function in lpddr_cmds.c

2013-12-12 Thread Rashika Kheria
This patch marks the functions do_write_buffer() and do_erase_oneblock() as static because because they are not used outside this file. It also removes the unused function word_program() in lpddr/lpddr_cmds.c. Thus, it also removes the following warnings in lpddr/lpddr_cmds.c:

Re: [PATCH] MAINTAINERS: Add DesignWare, i.MX6, Armada, R-Car PCI host maintainers

2013-12-12 Thread Shawn Guo
On Thu, Dec 12, 2013 at 01:29:00PM -0700, Bjorn Helgaas wrote: > On Thu, Dec 12, 2013 at 12:00 AM, Shawn Guo wrote: > > Hi Bjorn, > > > > On Wed, Dec 11, 2013 at 11:32:37AM -0700, Bjorn Helgaas wrote: > >> +PCI DRIVER FOR IMX6 > >> +M: Shawn Guo > > > > Thanks for the nomination. But I think

RE: [PATCH v3] irqchip: mmp: avoid use head file in a specific arch

2013-12-12 Thread Neil Zhang
Thomas, > -Original Message- > From: Neil Zhang [mailto:zhan...@marvell.com] > Sent: 2013年12月6日 18:47 > To: t...@linutronix.de; haojian.zhu...@gmail.com; > linux-kernel@vger.kernel.org > Cc: Neil Zhang > Subject: [PATCH v3] irqchip: mmp: avoid use head file in a specific arch > > For

Re: Re: [PATCH -tip v4 0/6] kprobes: introduce NOKPROBE_SYMBOL() and fixes crash bugs

2013-12-12 Thread Masami Hiramatsu
(2013/12/12 23:03), Ingo Molnar wrote: > > * Masami Hiramatsu wrote: > >> (2013/12/11 22:34), Ingo Molnar wrote: >>> >>> * Masami Hiramatsu wrote: >>> > So why are annotations needed at all? What can happen if an > annotation is missing and a piece of code is probed which is also

[GIT PULL] slave-dmaengine fixes

2013-12-12 Thread Vinod Koul
Hi Linus, Here is the common fixes PULL for dmaengine. Dan has been working on fixing the build issues in bunch of drivers. Here we have one fixing s3c24xx-dma, along with fix from Russell on pl08x. Also we have Kuninori rcar dma fixes. The s3c24xx-dma which was added in last merge window missed

Re: [PATCH 1/9] Known exploit detection

2013-12-12 Thread Theodore Ts'o
On Thu, Dec 12, 2013 at 01:13:41PM -0800, Kees Cook wrote: > > Suppose we put put this into the mainstream kernel. Wouldn't writers > > of root kit adapt by checking for the kernel version to avoid checking > > for exploits that are known not work? So the question is whether the > > additional

Re: [RFC PATCH] time: Support in tick broadcast framework for archs without an external wakeup source

2013-12-12 Thread Preeti U Murthy
Hi Ben, On 12/13/2013 10:47 AM, Benjamin Herrenschmidt wrote: > On Fri, 2013-12-13 at 09:49 +0530, Preeti U Murthy wrote: >> On some architectures, in certain CPU deep idle states the local timers stop. >> An external clock device is used to wakeup these CPUs. The kernel support >> for the >>

Re: [RFC PATCH] time: Support in tick broadcast framework for archs without an external wakeup source

2013-12-12 Thread Benjamin Herrenschmidt
On Fri, 2013-12-13 at 09:49 +0530, Preeti U Murthy wrote: > On some architectures, in certain CPU deep idle states the local timers stop. > An external clock device is used to wakeup these CPUs. The kernel support for > the > wakeup of these CPUs is provided by the tick broadcast framework by

Re: [PATCH] usb: host: xhci: Move suspend ops under PM_SLEEP to avoid warning

2013-12-12 Thread David Cohen
On Thu, Dec 12, 2013 at 07:25:55PM -0800, David Cohen wrote: > On Thu, Dec 12, 2013 at 09:01:04PM -0500, Santosh Shilimkar wrote: > > On Thursday 12 December 2013 08:51 PM, David Cohen wrote: > > > On Thu, Dec 12, 2013 at 08:06:24PM -0500, Santosh Shilimkar wrote: > > >> Otherwise you get below

Re: [PATCH 7/10] ACPI / hotplug: Move container-specific code out of the core

2013-12-12 Thread Yasuaki Ishimatsu
(2013/12/13 13:56), Rafael J. Wysocki wrote: On Friday, December 13, 2013 11:56:32 AM Yasuaki Ishimatsu wrote: Hi Rafael, Hi, Please share your more detailed idea. I started to implement the following idea. But the idea has one problem. The eject work flow can be: (1) an eject event

Re: [PATCH v1 9/9] staging: android: binder: Add binder compat layer

2013-12-12 Thread Arve Hjønnevåg
On Thu, Dec 12, 2013 at 12:45 AM, Octavian Purdila wrote: > On Thu, Dec 12, 2013 at 1:00 AM, Arve Hjønnevåg wrote: >> On Wed, Dec 11, 2013 at 10:10 AM, Octavian Purdila >> wrote: >>> On Wed, Dec 11, 2013 at 5:21 AM, Arve Hjønnevåg wrote: Assuming you are talking about a kernel compat

[RFC/PATCH 2/3] usb/xhci: implement proper static inline stubs when !CONFIG_PM

2013-12-12 Thread David Cohen
Current xhci_suspend() and xhci_resume() implementation in case of CONFIG_PM not defined is buggy. If we try to use them we get the following error: drivers/usb/host/xhci-plat.c: In function ‘xhci_plat_suspend’: drivers/usb/host/xhci-plat.c:205:21: error: called object ‘0u’ is not a function

Re: [PATCH v2] MAINTAINERS: Add DesignWare, i.MX6, Armada, R-Car PCI host maintainers

2013-12-12 Thread Magnus Damm
On Fri, Dec 13, 2013 at 5:46 AM, Bjorn Helgaas wrote: > [+cc Thomas] > > On Wed, Dec 11, 2013 at 11:32:37AM -0700, Bjorn Helgaas wrote: >> If this looks reasonable, I'll merge it via the PCI tree for v3.13. > > OK, here's another try. I'm not actually trying to nominate anybody; I > just tried

[RFC/PATCH 1/3] pm: make PM macros more smart

2013-12-12 Thread David Cohen
This patch makes SET_SYSTEM_SLEEP_PM_OPS() and SET_RUNTIME_PM_OPS() more smart. Despite those macros check for '#ifdef CONFIG_PM_SLEEP/RUNTIME' to avoid setting the callbacks when such #ifdef's aren't defined, they don't handle compiler to avoid messages like that:

[RFC/PATCH 0/3] pm: Make SET_*_PM_OPS() macros more smart

2013-12-12 Thread David Cohen
Hi, These patches are proposal to extend the lack of #ifdef checks on PM callback to its implementation too. Currently SET_*_PM_OPS() macros make #ifdefs checks not necessary when setting the callback to PM ops, but the callbacks implementation don't see same benefit. This RFC Solves a problem

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

2013-12-12 Thread David Cohen
From: Santosh Shilimkar 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 Signed-off-by: David Cohen --- drivers/usb/host/xhci-plat.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-)

linux-next: Tree for Dec 13

2013-12-12 Thread Stephen Rothwell
Hi all, Changes since 20131212: The powerpc tree still had its build failure for which I applied a supplied patch. The drm-intel tree gained a conflict against Linus' tree. The mmc tree gained a build failure so I used the version from next-20131212. The pinctrl tree gained conflicts against

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

2013-12-12 Thread panchaxari
ARM_PATCH_PHYS_VIRT and AUTO_ZRELADDR have been enabled as default configs to S5PC100 platform 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

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

2013-12-12 Thread Caizhiyong
From: Cai Zhiyong 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 increase the NAND_MAX_OOBSIZE and NAND_MAX_PAGESIZE. Signed-off-by: Cai Zhiyong ---

Re: [PATCH 1/9] Known exploit detection

2013-12-12 Thread James Morris
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 have someone commit to

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

2013-12-12 Thread Caizhiyong
From: Cai Zhiyong 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 increase the NAND_MAX_OOBSIZE and NAND_MAX_PAGESIZE. Signed-off-by: Huang Shijie

Re: [PATCH] Driver core: Fix device_add_attrs() error code path

2013-12-12 Thread Rafael J. Wysocki
On Thursday, December 12, 2013 03:13:33 PM Greg Kroah-Hartman wrote: > On Thu, Dec 12, 2013 at 06:11:02AM +0100, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > If the addition of dev_attr_online fails, device_add_attrs() should > > remove device attribute groups as well as type and

Re: [PATCH 7/10] ACPI / hotplug: Move container-specific code out of the core

2013-12-12 Thread Rafael J. Wysocki
On Friday, December 13, 2013 11:56:32 AM Yasuaki Ishimatsu wrote: > Hi Rafael, Hi, > Please share your more detailed idea. I started to implement the following > idea. But the idea has one problem. > > >>> The eject work flow can be: > >>> (1) an eject event occurs, > >>> (2) the

Re: [PATCH] perf kvm: introduce --list-cmds for use by scripts

2013-12-12 Thread David Ahern
On 12/12/13, 10:26 AM, Ramkumar Ramachandra wrote: Introduce $ perf kvm --list-cmds to dump a raw list of commands for use by the completion script. While at it, refactor kvm_usage so that there's only one copy of the command listing. Cc: David Ahern Cc: Arnaldo Carvalho de Melo

Re: [PATCH] PCI: export MSI mode using attributes, not kobjects

2013-12-12 Thread Bjorn Helgaas
On Thu, Dec 12, 2013 at 7:06 PM, Greg Kroah-Hartman wrote: > On Thu, Dec 12, 2013 at 04:56:20PM -0700, Bjorn Helgaas wrote: >> On Thu, Dec 12, 2013 at 4:17 PM, Yinghai Lu wrote: >> > On Sat, Dec 7, 2013 at 12:41 PM, Bjorn Helgaas wrote: >> >> On Wed, Nov 27, 2013 at 11:46 AM, Greg Kroah-Hartman

[RFC PATCH] time: Support in tick broadcast framework for archs without an external wakeup source

2013-12-12 Thread Preeti U Murthy
On some architectures, in certain CPU deep idle states the local timers stop. An external clock device is used to wakeup these CPUs. The kernel support for the wakeup of these CPUs is provided by the tick broadcast framework by using the external clock device as the wakeup source. However on

Re: [PATCH] mm/memory-failure.c: recheck PageHuge() after hugetlb page migrate successfully

2013-12-12 Thread Naoya Horiguchi
On Fri, Dec 13, 2013 at 11:36:36AM +0800, Jianguo Wu wrote: > Changelog: > - Only set PageHWPoison on the error raw page if page is freed into buddy > > After a successful hugetlb page migration by soft offline, the source page > will either be freed into hugepage_freelists or buddy(over-commit

linux-next: build warning after merge of the pinctrl tree

2013-12-12 Thread Stephen Rothwell
Hi Linus, After merging the pinctrl tree, today's linux-next build (x86_64 allmodconfig) produced this warning: drivers/pinctrl/pinconf.c: In function 'pinconf_pins_show': drivers/pinctrl/pinconf.c:299:28: warning: unused variable 'ops' [-Wunused-variable] const struct pinconf_ops *ops =

Re: [PATCH v7] gpio: davinci: use {readl|writel}_relaxed() instead of __raw_*

2013-12-12 Thread Prabhakar Lad
Hi Linus, On Fri, Dec 13, 2013 at 2:01 AM, Linus Walleij wrote: > On Wed, Dec 11, 2013 at 6:52 PM, Prabhakar Lad > wrote: > >> From: "Lad, Prabhakar" >> >> This patch replaces the __raw_readl/writel with >> {readl|writel}_relaxed(), Altough the code runs on ARMv5 >> based SOCs, changing this

linux-next: manual merge of the pinctrl tree with Linus'tree

2013-12-12 Thread Stephen Rothwell
Hi Linus, Today's linux-next merge of the pinctrl tree got a conflict in drivers/pinctrl/sh-pfc/pfc-sh7372.c between commit 71493de7e55a ("sh-pfc: sh7372: Fix pin bias setup") from Linus' tree and commit 5b46ac3a7723 ("sh-pfc: Rename sh_pfc window field to windows") from the pinctrl tree. I

linux-next: manual merge of the pinctrl tree with Linus' tree

2013-12-12 Thread Stephen Rothwell
Hi Linus, Today's linux-next merge of the pinctrl tree got a conflict in drivers/pinctrl/sh-pfc/pfc-r8a7740.c between commit 5d27619498ab ("sh-pfc: r8a7740: Fix pin bias setup") from Linus' tree and commit 5b46ac3a7723 ("sh-pfc: Rename sh_pfc window field to windows") from the pinctrl tree. I

[PATCH] mm/memory-failure.c: recheck PageHuge() after hugetlb page migrate successfully

2013-12-12 Thread Jianguo Wu
Changelog: - Only set PageHWPoison on the error raw page if page is freed into buddy After a successful hugetlb page migration by soft offline, the source page will either be freed into hugepage_freelists or buddy(over-commit page). If page is in buddy, page_hstate(page) will be NULL. It will

Re: [PATCH] mm: fix use-after-free in sys_remap_file_pages

2013-12-12 Thread Rik van Riel
On Thu, 12 Dec 2013 14:07:57 -0800 Kees Cook wrote: > From: PaX Team > > http://lkml.org/lkml/2013/9/17/30 > > SyS_remap_file_pages() calls mmap_region(), which calls remove_vma_list(), > which calls remove_vma(), which frees the vma. Later (after out label) > SyS_remap_file_pages() accesses

code is fine but needs lockdep annotation (xfstests, x86, 3.13.0-rc3)

2013-12-12 Thread Michael L. Semon
Hi! Since a particular aio-next merge during the kernel 3.12 development cycle, I've had issues with AIO and xfstests. The typical stalled test would end up stalled, and a SysRq-g would help me get to this stack trace (just for context, the lockdep I'm reporting is one page down): kdb> btp

Re: [PATCH] drm/bochs: new driver

2013-12-12 Thread Stefan Lippers-Hollmann
Hi On Thursday 12 December 2013, Gerd Hoffmann wrote: > DRM driver for (virtual) vga cards using the bochs dispi > interface, such as the qemu standard vga (qemu -vga std). > > Don't bother supporting anything but 32bpp for now, even > though the virtual hardware is able to do that. > > Known

Re: [PATCH 00/15] cleanups and optimizations

2013-12-12 Thread Mike Galbraith
On Thu, 2013-12-12 at 15:08 +0100, Peter Zijlstra wrote: > This series contains the preempt_enable_no_resched() cleanups that include > spin_lock_bh() optimizations and local_clock() optimizations. Those clock optimizations look particularly yummy. -Mike -- To unsubscribe from this list: send

Re: [PATCH cgroup/for-3.14] cgroup: fix fail path in cgroup_load_subsys()

2013-12-12 Thread Li Zefan
On 2013/12/13 3:17, Vladimir Davydov wrote: > Calling cgroup_unload_subsys() from cgroup_load_subsys() after > online_css() failure will result in a NULL ptr dereference on attempt to > offline_css(), because online_css() only assigns css to cgroup on > success. Let's fix that by skipping calls to

Re: [PATCH] usb: host: xhci: Move suspend ops under PM_SLEEP to avoid warning

2013-12-12 Thread David Cohen
On Thu, Dec 12, 2013 at 09:01:04PM -0500, Santosh Shilimkar wrote: > On Thursday 12 December 2013 08:51 PM, David Cohen wrote: > > On Thu, Dec 12, 2013 at 08:06:24PM -0500, Santosh Shilimkar wrote: > >> Otherwise you get below build warnings > >> > >> drivers/usb/host/xhci-plat.c:201:12: warning:

Re: [PATCH 0/2] ipmi: fix timeout calculation when bmc is disconnected

2013-12-12 Thread Corey Minyard
Both look good, thank you. I've queued them for the next window. -corey On 12/12/2013 08:36 PM, Xie XiuQi wrote: > Hu Shiyuan report, when loading ipmi_si module while bmc is > disconnected, we found the timeout is longer than 5 secs. > Actually it takes about 3 mins and 20 secs (HZ=250). > >

Re: [PATCH v2] mm/memory-failure.c: recheck PageHuge() after hugetlb page migrate successfully

2013-12-12 Thread Jianguo Wu
Hi, On 2013/12/13 10:32, Naoya Horiguchi wrote: > On Fri, Dec 13, 2013 at 09:09:52AM +0800, Jianguo Wu wrote: >> After a successful hugetlb page migration by soft offline, the source page >> will either be freed into hugepage_freelists or buddy(over-commit page). If >> page is in >> buddy,

Re: [PATCH] TCP: add option for silent port knocking with integrity protection

2013-12-12 Thread Hannes Frederic Sowa
On Thu, Dec 12, 2013 at 04:46:37PM +0100, Hannes Frederic Sowa wrote: > On Thu, Dec 12, 2013 at 06:34:24AM -0800, Eric Dumazet wrote: > > With various proposals (like TCP minion), maybe its time to be able to > > implement part of TCP stack in user land (Keep the mux inside the > > kernel, and

Re: [1/3] powerpc/vfio: Enable on POWERNV platform

2013-12-12 Thread Alexey Kardashevskiy
On 12/13/2013 10:35 AM, Scott Wood wrote: > On Tue, May 21, 2013 at 01:33:09PM +1000, Alexey Kardashevskiy wrote: >> +static int iommu_add_device(struct device *dev) >> +{ >> +struct iommu_table *tbl; >> +int ret = 0; >> + >> +if (WARN_ON(dev->iommu_group)) { >> +

Re: [PATCH v2] mm/zswap: change zswap to writethrough cache

2013-12-12 Thread Dan Streetman
On Wed, Dec 11, 2013 at 4:02 AM, Bob Liu wrote: > Hi Dan & Seth, > > On Wed, Nov 27, 2013 at 9:28 AM, Dan Streetman wrote: >> On Mon, Nov 25, 2013 at 1:00 PM, Seth Jennings >> wrote: >>> On Fri, Nov 22, 2013 at 11:29:16AM -0600, Seth Jennings wrote: On Wed, Nov 20, 2013 at 02:49:33PM

Re: [PATCH 7/10] ACPI / hotplug: Move container-specific code out of the core

2013-12-12 Thread Yasuaki Ishimatsu
Hi Rafael, Please share your more detailed idea. I started to implement the following idea. But the idea has one problem. The eject work flow can be: (1) an eject event occurs, (2) the container "physical" device fails offline in acpi_scan_hot_remove() emmitting, say,

[GIT] SELinux fixes

2013-12-12 Thread James Morris
Please pull. The following changes since commit 54fb723cc48db2fde964fb9bb0eaaccf2cf31a9f: Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm (2013-12-12 15:46:06 -0800) are available in the git repository at:

Re: [PATCH V4 08/10] powerpc, perf: Enable SW filtering in branch stack sampling framework

2013-12-12 Thread Michael Ellerman
On Thu, 2013-12-12 at 14:15 +0530, Anshuman Khandual wrote: > On 12/10/2013 11:27 AM, Anshuman Khandual wrote: > > On 12/09/2013 11:51 AM, Michael Ellerman wrote: > >> This code was already in need of some unindentation, and now it's just > >> ridiculous. > >> > >> To start with at the beginning

[PATCH 2/2] ipmi: fix timeout calculation when bmc is disconnected

2013-12-12 Thread Xie XiuQi
Loading ipmi_si module while bmc is disconnected, we found the timeout is longer than 5 secs. Actually it takes about 3 mins and 20 secs.(HZ=250) error message as below: Dec 12 19:08:59 linux kernel: IPMI BT: timeout in RD_WAIT [ ] 1 retries left Dec 12 19:08:59 linux kernel: BT: write 4 bytes

[PATCH 1/2] ipmi: use USEC_PER_SEC instead of 1000000 for more meaningful

2013-12-12 Thread Xie XiuQi
Use USEC_PER_SEC instead of 100, that making the later bugfix more clearly. Signed-off-by: Xie XiuQi --- drivers/char/ipmi/ipmi_bt_sm.c | 8 drivers/char/ipmi/ipmi_kcs_sm.c | 4 ++-- drivers/char/ipmi/ipmi_smic_sm.c | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff

Re: [PATCH] use initmpfs even if there's root= cmdline

2013-12-12 Thread Dave Young
On 12/12/13 at 05:25pm, Dave Young wrote: > > Current code use ramfs instead of tmpfs for stub when root= defined. > > But for real use case with initramfs, usually there's like cmdline like > root=UUID=$UUID the root dev is the real device. For that case we have > no way to use initmpfs, thus

[PATCH 0/2] ipmi: fix timeout calculation when bmc is disconnected

2013-12-12 Thread Xie XiuQi
Hu Shiyuan report, when loading ipmi_si module while bmc is disconnected, we found the timeout is longer than 5 secs. Actually it takes about 3 mins and 20 secs (HZ=250). error message as below: Dec 12 19:08:59 linux kernel: IPMI BT: timeout in RD_WAIT [ ] 1 retries left Dec 12 19:08:59 linux

Re: [PATCH v2 00/16] ARM: support for ICP DAS LP-8x4x (with dts)

2013-12-12 Thread Sergei Ianovich
On Fri, 2013-12-13 at 06:27 +0400, Sergei Ianovich wrote: > Fixed most review requirements. Details in respective patches. > > I've completely met the requirement for using dmaengine-based DMA > in patch v2-03/16. Tests showed new DMA was underperforming. It added > on top of a pre-existing

[PATCH v2 12/16] misc: support for serial slots in LP-8x4x

2013-12-12 Thread Sergei Ianovich
Serial modules (I-870xxW series) implement DCON protocol which allows one-master-many-slaves configuration over RS-485. When these modules are installed into the device, they could be accessed using the 2nd PXA built-in UART port (/dev/ttySA1). However, it seems that addresses are not processed by

Re: [PATCH v2] mm/memory-failure.c: recheck PageHuge() after hugetlb page migrate successfully

2013-12-12 Thread Naoya Horiguchi
On Fri, Dec 13, 2013 at 09:09:52AM +0800, Jianguo Wu wrote: > After a successful hugetlb page migration by soft offline, the source page > will either be freed into hugepage_freelists or buddy(over-commit page). If > page is in > buddy, page_hstate(page) will be NULL. It will hit a NULL pointer >

  1   2   3   4   5   6   7   8   9   10   >