Re: [PATCH v4 5/8] mmc: sdhci-bcm-kona: Add basic use of clocks

2013-12-14 Thread Christian Daudt
On Thu, Dec 5, 2013 at 11:20 AM, Tim Kryger tim.kry...@linaro.org wrote: Enable the external clock needed by the host controller during the probe and disable it during the remove. Signed-off-by: Tim Kryger tim.kry...@linaro.org Reviewed-by: Markus Mayer markus.ma...@linaro.org Reviewed-by:

[PATCH 2/2] memcg: do not use vmalloc for mem_cgroup allocations

2013-12-14 Thread Vladimir Davydov
The vmalloc was introduced by patch 333279 (memcgroup: use vmalloc for mem_cgroup allocation), because at that time MAX_NUMNODES was used for defining the per-node array in the mem_cgroup structure so that the structure could be huge even if the system had the only NUMA node. The situation was

[PATCH 1/2] memcg: fix memcg_size() calculation

2013-12-14 Thread Vladimir Davydov
The mem_cgroup structure contains nr_node_ids pointers to mem_cgroup_per_node objects, not the objects themselves. Signed-off-by: Vladimir Davydov vdavy...@parallels.com Cc: Michal Hocko mho...@suse.cz Cc: Glauber Costa glom...@openvz.org Cc: Johannes Weiner han...@cmpxchg.org Cc: Balbir Singh

Re: [PATCH v4 6/8] Documentation: dt: kona-timer: Add clocks property

2013-12-14 Thread Christian Daudt
On Thu, Dec 5, 2013 at 11:20 AM, Tim Kryger tim.kry...@linaro.org wrote: The frequency for the Kona timer can either be specified through the device tree or determined by checking the rate of the clock specified in the device tree. Update the documentation to reflect both ways.

Re: [PATCH 5/5] xfs: allow linkat() on O_TMPFILE files

2013-12-14 Thread Dave Chinner
On Sat, Dec 14, 2013 at 01:36:47AM +0800, Zhi Yong Wu wrote: On Sat, Dec 14, 2013 at 12:41 AM, Christoph Hellwig h...@infradead.org wrote: On Fri, Dec 13, 2013 at 10:27:53PM +0800, Zhi Yong Wu wrote: From: Zhi Yong Wu wu...@linux.vnet.ibm.com Enable O_TMPFILE support in linkat(). For

Re: XFS / writeback invoking soft lockup.

2013-12-14 Thread Dave Chinner
On Fri, Dec 13, 2013 at 11:22:28AM -0500, Dave Jones wrote: On Fri, Dec 13, 2013 at 03:16:39AM -0800, Christoph Hellwig wrote: 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

Re: [PATCH v4 7/8] clocksource: kona: Add basic use of external clock

2013-12-14 Thread Christian Daudt
On Thu, Dec 5, 2013 at 11:20 AM, Tim Kryger tim.kry...@linaro.org wrote: When an clock is specified in the device tree, enable it and use it to determine the external clock frequency. Signed-off-by: Tim Kryger tim.kry...@linaro.org Reviewed-by: Markus Mayer markus.ma...@linaro.org

Re: vunmap() on large regions may trigger soft lockup warnings

2013-12-14 Thread Andrew Morton
On Thu, 12 Dec 2013 12:50:47 + David Vrabel david.vra...@citrix.com wrote: each time. But that would require difficult tuning of N. I suppose we could just do if (!in_interrupt()) cond_resched(); in vunmap_pmd_range(), but that's pretty specific to ghes.c

Re: [PATCH v4 1/2] ARM: mach-moxart: add MOXA ART SoC platform files

2013-12-14 Thread Jonas Jensen
On 13 December 2013 20:07, Guenter Roeck li...@roeck-us.net wrote: I got the impression from Guenter Roeck's review, that it doesn't belong there, maybe I was too quick to remove it? You'd have to answer the questions I raised in my review if you want it in there. I didn't see a solution

Replace /dev/random input mix polynomial with Brent's xorgen?

2013-12-14 Thread George Spelvin
Richard Brent extended some efficient XOR-based PRNGs designed by George Marsaglia into a family of xorgen generators which are efficent, non-sparse, maximal-period polynomials of length 64, 128, 256,... 4096 bits. (It ends there because proving period 2^n-1 requires knowing the factorization of

Re: [PATCH] KVM: x86: fix guest-initiated crash with x2apic (CVE-2013-6376)

2013-12-14 Thread Gleb Natapov
On Fri, Dec 13, 2013 at 05:07:54PM +0100, Radim Krčmář wrote: 2013-12-12 21:36+0100, Paolo Bonzini: From: Gleb Natapov g...@redhat.com A guest can cause a BUG_ON() leading to a host kernel crash. When the guest writes to the ICR to request an IPI, while in x2apic mode the following

Re: [PATCH 5/5] xfs: allow linkat() on O_TMPFILE files

2013-12-14 Thread Zhi Yong Wu
On Sat, Dec 14, 2013 at 4:19 PM, Dave Chinner da...@fromorbit.com wrote: On Sat, Dec 14, 2013 at 01:36:47AM +0800, Zhi Yong Wu wrote: On Sat, Dec 14, 2013 at 12:41 AM, Christoph Hellwig h...@infradead.org wrote: On Fri, Dec 13, 2013 at 10:27:53PM +0800, Zhi Yong Wu wrote: From: Zhi Yong Wu

Re: [PATCH] KVM: x86: fix guest-initiated crash with x2apic (CVE-2013-6376)

2013-12-14 Thread Gleb Natapov
On Fri, Dec 13, 2013 at 06:25:20PM +0100, Paolo Bonzini wrote: Il 13/12/2013 17:07, Radim Krčmář ha scritto: This bug can only be hit when the destination cpu is 256, so the request itself is buggy -- we don't support that many in kvm and it would crash when initializing the vcpus

[GIT PULL] RAS for 3.14

2013-12-14 Thread Borislav Petkov
Hi guys, please queue for 3.14. Thanks. -- The following changes since commit dc1ccc48159d63eca5089e507c82c7d22ef60839: Linux 3.13-rc2 (2013-11-29 12:57:14 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp.git tags/ras_for_3.14 for you to

Re: [PATCH V6] ARM : unwinder : Prevent data abort due to stack overflow

2013-12-14 Thread Anurag Aggarwal
You could try adding some debug printks to see how the backtrace fails. You could also try adding a few hand-crafted assembler functions with appropriate code and unwind directives to trigger different kinds of backtrace failure. You might have to add a way to artificially limit sp_high to check

Re: [patch net-next v3] ipv6: log autoconfiguration failures

2013-12-14 Thread Hannes Frederic Sowa
On Fri, Dec 13, 2013 at 05:57:09PM -0500, David Miller wrote: From: Denys Vlasenko dvlas...@redhat.com Date: Fri, 13 Dec 2013 16:45:47 +0100 If ipv6 auto-configuration does not work, currently it's hard to track what's going on. This change adds log messages (at debug level) on every

Re: [PATCH 2/3] x86: mm: Change tlb_flushall_shift for IvyBridge

2013-12-14 Thread Alex Shi
On 12/13/2013 09:43 PM, Ingo Molnar wrote: * Alex Shi alex@linaro.org wrote: On 12/13/2013 09:02 AM, Alex Shi wrote: You have not replied to this concern of mine: if my concern is valid then that invalidates much of the current tunings. The benefit from pretend flush range is not

Guten Tag

2013-12-14 Thread Mr. SUN Zhijun
Guten Tag, Mein Name ist Mr.SUN Zhijun, ich mit der Bank of China zu arbeiten. Ich brauche Ihre Unterstützung in Durchführung einer Transaktion bei $ 18,5 Millionen Dollar geschätzt, möchte ich Ihnen 30% der gesamten Mittel als Ausgleich für Ihre Unterstützung in dieser Transaktion. Ich werde

Re: [PATCH v3 08/23] mm/memblock: Add memblock memory allocation apis

2013-12-14 Thread Tejun Heo
Hello, Santosh. On Fri, Dec 13, 2013 at 07:52:42PM -0500, Santosh Shilimkar wrote: +static void * __init memblock_virt_alloc_internal( + phys_addr_t size, phys_addr_t align, + phys_addr_t min_addr, phys_addr_t max_addr, +

Re: [PATCH] mm/slab.c: check pointer slabp before using it in alloc_slabmgmt()

2013-12-14 Thread Meelis Roos
On Tue, 10 Dec 2013, Ethan Zhao wrote: No, stable 3.12.4 and 3.12.3 need this patch. 3.13RC doesn't need it anymore. Hmmm.. Then this commit may have fixed it: Cross-threaded from [Re: Slab BUG with DEBUG_* options ] On 12/08/2013 10:00 AM, Meelis Roos wrote: ldata

Re: [PATCH 1/5] xfs: factor prid related codes into xfs_get_initial_prid()

2013-12-14 Thread Jeff Liu
On 12/14 2013 00:32 AM, Christoph Hellwig wrote: +static inline prid_t xfs_get_initial_prid(struct xfs_inode *dp) +{ +if (dp-i_d.di_flags XFS_DIFLAG_PROJINHERIT) +return xfs_get_projid(dp); +else +return XFS_PROJID_DEFAULT; +} You could skip the else

Re: stable regression: tda18271_read_regs: [1-0060|M] ERROR: i2c_transfer returned: -19

2013-12-14 Thread Mauro Carvalho Chehab
Em Fri, 13 Dec 2013 22:19:39 +0100 Frederik Himpe fhi...@telenet.be escreveu: [My excuses for multiposting, it seems gmane does not permit posting to all the relevant lists] Since upgrading my system from Linux 3.12 to 3.12.3, my PCTV Systems nanoStick T2 290e does not work anymore. This

Re: [PATCH 1/5] xfs: factor prid related codes into xfs_get_initial_prid()

2013-12-14 Thread Zhi Yong Wu
On Sat, Dec 14, 2013 at 7:20 PM, Jeff Liu jeff@oracle.com wrote: On 12/14 2013 00:32 AM, Christoph Hellwig wrote: +static inline prid_t xfs_get_initial_prid(struct xfs_inode *dp) +{ +if (dp-i_d.di_flags XFS_DIFLAG_PROJINHERIT) +return xfs_get_projid(dp); +else +

Re: [GIT PULL] MTD fixes for 3.13-rc

2013-12-14 Thread Richard Weinberger
On Sat, Dec 14, 2013 at 6:03 AM, Brian Norris computersforpe...@gmail.com wrote: On Fri, Dec 13, 2013 at 11:37:36AM -0800, Linus Torvalds wrote: I do note that your pgp key still has very few signatures, and none of them in my normal key ring. Any possibility that you might expand on your

[PATCH v2 1/9] drivers: net: Remove unused function igb_get_eee_status_i354() in e1000_82575.c

2013-12-14 Thread Rashika Kheria
This patch removes the function igb_get_eee_status_i354() in e1000_82575.c because it is unused. It thus eliminates the following warning in ethernet/intel/igb/e1000_82575.c: drivers/net/ethernet/intel/igb/e1000_82575.c:2591:5: warning: no previous prototype for ‘igb_get_eee_status_i354’

Re: [RFC] dma-buf: Implement test module

2013-12-14 Thread Thierry Reding
On Thu, Dec 12, 2013 at 06:04:13PM -0800, Greg Kroah-Hartman wrote: On Thu, Dec 12, 2013 at 03:36:29PM +0100, Thierry Reding wrote: This is a simple test module that can be used to allocate, export and delete DMA-BUF objects. It can be used to test DMA-BUF sharing in systems that lack a

Re: ARM,sdhci_esdhc_imx: INFO: HARDIRQ-safe - HARDIRQ-unsafe lock order detected

2013-12-14 Thread Shawn Guo
On Fri, Dec 13, 2013 at 11:14:25PM +0100, Philippe De Muyter wrote: Hi Shawn, On Fri, Dec 13, 2013 at 09:34:32PM +0800, Shawn Guo wrote: Hi Philippe, On Thu, Dec 12, 2013 at 03:49:25PM +0100, Philippe De Muyter wrote: Hello, I have just booted 3.13-rc3 on my i.MX6DL board,

[PATCH v2 2/9] drivers: net: Mark functions as static in qlcnic_io.c

2013-12-14 Thread Rashika Kheria
This patch marks the function qlcnic_enable_tx_intr(), qlcnic_83xx_enable_tx_intr() and qlcnic_83xx_disable_tx_intr() in qlcnic_io.c as static because they are not used outside this file. Thus, it also removes the following warnings in ethernet/qlogic/qlcnic/qlcnic_io.c:

[PATCH v2 3/9] drivers: net: Mark functions as static in qlcnic_83xx_hw.c

2013-12-14 Thread Rashika Kheria
This patch marks the function qlcnic_83xx_clear_legacy_intr_mask(), qlcnic_83xx_set_legacy_intr_mask() and qlcnic_83xx_enable_legacy_msix_mbx_intr() in qlcnic_83xx_hw.c as static because they are not used outside this file. Thus, it also removes the following warnings in

[GIT PULL] EDAC fix for 3.13

2013-12-14 Thread Borislav Petkov
Hi Linus, please pull this annoyance fix. Thanks. The following changes since commit dc1ccc48159d63eca5089e507c82c7d22ef60839: Linux 3.13-rc2 (2013-11-29 12:57:14 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp.git

[PATCH v2 4/9] drivers: net: Mark functions as static in stmmac_platform.c

2013-12-14 Thread Rashika Kheria
This patch marks the function stmmac_pltfr_freeze() and stmmac_pltfr_restore() in stmmac_platform.c as static because they are not used outside this file. Thus, it also removes the following warnings in ethernet/stmicro/stmmac/stmmac_platform.c:

Re: [PATCHv7 04/12] driver/core: populate devices in order for IOMMUs

2013-12-14 Thread Thierry Reding
On Thu, Dec 12, 2013 at 06:14:02PM -0800, Greg KH wrote: On Thu, Dec 12, 2013 at 11:39:20AM +, Grant Likely wrote: On Thu, 12 Dec 2013 09:57:05 +0200, Hiroshi Doyu hd...@nvidia.com wrote: IOMMU devices on the bus need to be poplulated first, then iommu master devices are done later.

[PATCH v2 5/9] drivers: net: Put prototype declaration for function sbni_probe() in sbni.c

2013-12-14 Thread Rashika Kheria
This patch declares the prototype for the function sbni_probe() in file sbni.c. Thus, it also removes the following warning in wan/sbni.c: drivers/net/wan/sbni.c:224:12: warning: no previous prototype for ‘sbni_probe’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria rashika.khe...@gmail.com

[PATCH v2 6/9] drivers: net: Mark functions as static in 3945-debug.c

2013-12-14 Thread Rashika Kheria
This patch marks the function il3945_ucode_rx_stats_read(), il3945_ucode_tx_stats_read() and il3945_ucode_general_stats_read() in 3945-debug.c as static because they are not used outside this file. Thus, it also removes the following warnings in wireless/iwlegacy/3945-debug.c:

[PATCH v2 7/9] drivers: net: Mark functions as static in 4965-debug.c

2013-12-14 Thread Rashika Kheria
This patch marks the function il4965_ucode_rx_stats_read(), il4965_ucode_tx_stats_read() and il4965_ucode_general_stats_read() in 4965-debug.c as static because they are not used outside this file. Thus, it also removes the following warnings in wireless/iwlegacy/4965-debug.c:

Re: [PATCH v2 1/9] drivers: net: Remove unused function igb_get_eee_status_i354() in e1000_82575.c

2013-12-14 Thread Jeff Kirsher
On Sat, 2013-12-14 at 17:44 +0530, Rashika Kheria wrote: This patch removes the function igb_get_eee_status_i354() in e1000_82575.c because it is unused. It thus eliminates the following warning in ethernet/intel/igb/e1000_82575.c: drivers/net/ethernet/intel/igb/e1000_82575.c:2591:5:

[PATCH v2 8/9] drivers: net: Mark functions as static in debug.c

2013-12-14 Thread Rashika Kheria
This patch marks the function il_clear_traffic_stats() in debug.c as static because they are not used outside this file. Thus, it also removes the following warnings in wireless/iwlegacy/debug.c: drivers/net/wireless/iwlegacy/debug.c:35:1: warning: no previous prototype for

[PATCH v2 9/9] drivers: net: Mark function xenvif_count_frag_slots() as static in netback.c

2013-12-14 Thread Rashika Kheria
This patch marks the function xenvif_count_frag_slots() in netback.c as static because they are not used outside this file. Thus, it also removes the following warning in xen-netback/netback.c: drivers/net/xen-netback/netback.c:218:14: warning: no previous prototype for ‘xenvif_count_frag_slots’

Re: [RFC] dma-buf: Implement test module

2013-12-14 Thread Thierry Reding
On Thu, Dec 12, 2013 at 06:02:58PM -0800, Greg Kroah-Hartman wrote: On Thu, Dec 12, 2013 at 03:42:12PM +0100, Thierry Reding wrote: On Thu, Dec 12, 2013 at 03:36:29PM +0100, Thierry Reding wrote: This is a simple test module that can be used to allocate, export and delete DMA-BUF objects.

Re: [RFC] dma-buf: Implement test module

2013-12-14 Thread Thierry Reding
On Thu, Dec 12, 2013 at 11:30:23PM +0100, Daniel Vetter wrote: On Thu, Dec 12, 2013 at 8:34 PM, Thomas Hellstrom thellst...@vmware.com wrote: On 12/12/2013 03:36 PM, Thierry Reding wrote: This is a simple test module that can be used to allocate, export and delete DMA-BUF objects. It

Re: [RFC] dma-buf: Implement test module

2013-12-14 Thread Thierry Reding
On Thu, Dec 12, 2013 at 08:34:28PM +0100, Thomas Hellstrom wrote: On 12/12/2013 03:36 PM, Thierry Reding wrote: This is a simple test module that can be used to allocate, export and delete DMA-BUF objects. It can be used to test DMA-BUF sharing in systems that lack a real second driver.

[PATCH 1/3] drivers: rapidio: Include appropriate header file in rio-access.c

2013-12-14 Thread Rashika Kheria
This patch includes appropriate header file linux/rio_drv.h in rio-access.c because functions __rio_local_read_config_8, __rio_local_read_config_16, __rio_local_read_config_32, __rio_local_write_config_8, __rio_local_write_config_16, __rio_local_write_config_32, rio_mport_read_config_8,

[PATCH 2/3] drivers: rapidio: Include appropriate header file in rio-driver.c

2013-12-14 Thread Rashika Kheria
This patch includes the header file linux/rio_drv.h in rio-driver.c because functions rio_dev_get(), rio_dev_put(), rio_register_driver() and rio_unregister_driver() have their prototype declarations in linux/rio_drv.h. Thus, it also eliminates the following warnings in rio-driver.c:

[PATCH 3/3] drivers: rapidio: Remove unused function rio_remove_sysfs_dev_files() in rio-sysfs.c

2013-12-14 Thread Rashika Kheria
This patch removes the function rio_remove_sysfs_dev_files() in rio-sysfs.c because it is unused. Thus, it also eliminates the following warning in rio-sysfs.c: drivers/rapidio/rio-sysfs.c:295:6: warning: no previous prototype for ‘rio_remove_sysfs_dev_files’ [-Wmissing-prototypes]

Re: [PATCH 0/4] sched: remove cpu_load decay

2013-12-14 Thread Alex Shi
On 12/14/2013 03:50 AM, bseg...@google.com wrote: Alex Shi alex@linaro.org writes: On 12/03/2013 06:26 PM, Peter Zijlstra wrote: Paul, can you guys have a look at this, last time around you have a regression with this stuff, so it would be good to hear from you. This appears to be

[PATCH] drivers: md: Mark the function btree_insert_fn() as static in btree.c

2013-12-14 Thread Rashika Kheria
This patch marks the function btree_insert_fn() as static in bcache/btree.c because it is not used outside this file. Thus, it also eliminates the following warning in bcache/btree.c: drivers/md/bcache/btree.c:2220:5: warning: no previous prototype for ‘btree_insert_fn’ [-Wmissing-prototypes]

Re: [RFC] dma-buf: Implement test module

2013-12-14 Thread Rob Clark
On Sat, Dec 14, 2013 at 7:47 AM, Thomas Hellstrom tho...@shipmail.org wrote: On 12/14/2013 01:37 PM, Thierry Reding wrote: On Thu, Dec 12, 2013 at 11:30:23PM +0100, Daniel Vetter wrote: On Thu, Dec 12, 2013 at 8:34 PM, Thomas Hellstrom thellst...@vmware.com wrote: On 12/12/2013 03:36 PM,

[PATCH 2/3] mfd: mc13xxx: Remove duplicate mc13xxx_get_flags() declaration

2013-12-14 Thread Alexander Shiyan
mc13xxx_get_flags() declaration given twice. This patch removes this duplicate. Signed-off-by: Alexander Shiyan shc_w...@mail.ru --- include/linux/mfd/mc13xxx.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/linux/mfd/mc13xxx.h b/include/linux/mfd/mc13xxx.h index f1b13b3..a326c85

[PATCH 1/3] mfd: mc13xxx: Remove useless symbol MFD_MC13783

2013-12-14 Thread Alexander Shiyan
Symbol MFD_MC13783 always selected by MFD_MC13XXX, so no need to keep additional symbol. Signed-off-by: Alexander Shiyan shc_w...@mail.ru --- drivers/input/misc/Kconfig| 2 +- drivers/input/touchscreen/Kconfig | 2 +- drivers/mfd/Kconfig | 4 drivers/regulator/Kconfig

[PATCH] drivers: memstick: Mark function memstick_debug_get_tpc_name() as static in r592.c

2013-12-14 Thread Rashika Kheria
This patch marks the function memstick_debug_get_tpc_name() as static in host/r592.c because it is not used outside this file. Thus, it also eliminates the following warning in host/r592.c: drivers/memstick/host/r592.c:50:13: warning: no previous prototype for ‘memstick_debug_get_tpc_name’

[PATCH 3/3] mfd: mc13xxx: Simplify probe remove

2013-12-14 Thread Alexander Shiyan
This patch simplifies probe and remove functions by moving some initialization code in the driver core. Signed-off-by: Alexander Shiyan shc_w...@mail.ru --- drivers/mfd/mc13xxx-core.c | 36 +--- drivers/mfd/mc13xxx-i2c.c | 18 --

Re: [RFC] dma-buf: Implement test module

2013-12-14 Thread Thomas Hellstrom
On 12/14/2013 01:37 PM, Thierry Reding wrote: On Thu, Dec 12, 2013 at 11:30:23PM +0100, Daniel Vetter wrote: On Thu, Dec 12, 2013 at 8:34 PM, Thomas Hellstrom thellst...@vmware.com wrote: On 12/12/2013 03:36 PM, Thierry Reding wrote: This is a simple test module that can be used to allocate,

Re: [RFC] dma-buf: Implement test module

2013-12-14 Thread Thomas Hellstrom
On 12/14/2013 02:02 PM, Rob Clark wrote: On Sat, Dec 14, 2013 at 7:47 AM, Thomas Hellstrom tho...@shipmail.org wrote: On 12/14/2013 01:37 PM, Thierry Reding wrote: On Thu, Dec 12, 2013 at 11:30:23PM +0100, Daniel Vetter wrote: On Thu, Dec 12, 2013 at 8:34 PM, Thomas Hellstrom

[PATCH] drivers: infiniband: Mark function _c4iw_write_mem_dma() as static in mem.c

2013-12-14 Thread Rashika Kheria
This patch marks the function _c4iw_write_mem_dma() as static in hw/cxgb4/mem.c because it is not used outside this file. Thus, it also eliminates the following warning in hw/cxgb4/mem.c: drivers/infiniband/hw/cxgb4/mem.c:176:5: warning: no previous prototype for ‘_c4iw_write_mem_dma’

[PATCH] drivers: mmc: Mark the function sdhci_disable_irq_wakeups() as static in sdhci.c

2013-12-14 Thread Rashika Kheria
This patch marks the function sdhci_disable_irq_wakeups() as static in host/sdhci.c because it is not used outside this file. Thus, it also eliminates the following warning in host/sdhci.c: drivers/mmc/host/sdhci.c:2553:6: warning: no previous prototype for ‘sdhci_disable_irq_wakeups’

Re: [PATCH 1/1] dmaengine: remove obsolete comment reference to dma_data_direction

2013-12-14 Thread Gerhard Sittig
On Wed, Dec 11, 2013 at 10:07 +0400, Alexander Popov wrote: enum dma_transfer_direction is currently used in struct dma_slave_config, so update the comment Signed-off-by: Alexander Popov a13xp0p0...@gmail.com --- include/linux/dmaengine.h | 5 ++--- 1 file changed, 2 insertions(+), 3

[PATCH] drivers: pnp: Mark the function pnp_build_option() as static in resource.c

2013-12-14 Thread Rashika Kheria
This patch marks the function pnp_build_option() as static in resource.c because it is not used outside this file. Thus, it also eliminates the following warning in resource.c: drivers/pnp/resource.c:34:20: warning: no previous prototype for ‘pnp_build_option’ [-Wmissing-prototypes]

Re: [PATCH v2 1/1] ARM: dts: Add missing clocks for exynos4412 dwmmc node

2013-12-14 Thread Tomasz Figa
Hi Alex, On Saturday 14 of December 2013 13:21:30 Alex Ling wrote: This patch adds biu and ciu clocks for exynos4412 dwmmc node. Without this patch, dwmmc host driver will skip enabling the two clocks and it will break dwmmc host function on exynos4412. Tested on FriendlyARM TINY4412 board.

[PATCH] drivers: reset: Mark function as static in core.c

2013-12-14 Thread Rashika Kheria
This patch marks the function of_reset_simple_xlate() and devm_reset_control_put() as static in core.c because it is not used outside this file. Thus, it also eliminate the following warnings in core.c: drivers/reset/core.c:46:5: warning: no previous prototype for ‘of_reset_simple_xlate’

RE: bnx2x_sriov.c: Missing switch/case breaks?

2013-12-14 Thread Yuval Mintz
Hi Ariel. I wrote a little checkpatch script to look for missing switch/case breaks. http://www.kernelhub.org/?msg=379933p=2 There are _many_ instances of case blocks in sriov.c that could be missing breaks as they use fall-throughs. It would be good if these are

Re: [PATCH 0/4] sched: remove cpu_load decay

2013-12-14 Thread Alex Shi
On 12/14/2013 04:03 AM, Peter Zijlstra wrote: I had a quick peek at the actual patches. afaict we're now using weighted_cpuload() aka runnable_load_avg as the -cpu_load. Whatever happened to also using the blocked_avg? When enabling the sched_avg in load balance, I didn't find any

[PATCH] drivers: hv: Mark the function hv_synic_free_cpu() as static in hv.c

2013-12-14 Thread Rashika Kheria
This patch marks the function hv_synic_free_cpu() as static in hv.c because it is not used outside this file. Thus, it also eliminates the following warning in hv.c: drivers/hv/hv.c:304:6: warning: no previous prototype for ‘hv_synic_free_cpu’ [-Wmissing-prototypes] Signed-off-by: Rashika

[PATCH] drivers: input: Include appropriate header file in cyttsp_i2c_common.c

2013-12-14 Thread Rashika Kheria
This patch includes appropriate header file cyttsp4_core.h in touchscreen/cyttsp_i2c_common.c because functions cyttsp_i2c_read_block_data() and cyttsp_i2c_write_block_data() have their prototype declaration in cyttsp4_core.h. Thus, it also eliminates the following warning in cyttsp_i2c_common.c:

[PATCH] drivers: dca: Mark the function dca_common_get_tag() as static in dca-core.c

2013-12-14 Thread Rashika Kheria
This patch marks the function dca_common_get_tag() as static in dca-core.c because it is not used outside this file. Thus, it also eliminates the following warning in dca-core.c: drivers/dca/dca-core.c:273:4: warning: no previous prototype for ‘dca_common_get_tag’ [-Wmissing-prototypes]

[PATCH] smp: remove cpumask_ipi

2013-12-14 Thread Roman Gushchin
After commit 9a46ad6 (smp: make smp_call_function_many() use logic similar to smp_call_function_single()), cfd-cpumask is accessed only in smp_call_function_many(). So there is no more need to copy it into cfd-cpumask_ipi before putting csd into the list. The cpumask_ipi field is obsolete and can

[PATCH] drivers: char: Include appropriate header file in frontend.c

2013-12-14 Thread Rashika Kheria
This patch includes appropriate header file compat_ioctl.h in agp/frontend.c because functions agp_find_mem_by_key(), agp_create_segment(), agp_find_private(), agp_free_memory_wrap(), agp_allocate_memory_wrap(), agp_find_client_by_pid(), agp_create_client(), agp_remove_client(),

[PATCH 1/3] drivers: edac: Mark the function amd64_decode_bus_error() as static in amd64_edac.c

2013-12-14 Thread Rashika Kheria
This patch marks the function amd64_decode_bus_error() as static in amd64_edac.c because it is not used outside this file. Thus, it also eliminates the following warning in amd64_edac.c: drivers/edac/amd64_edac.c:2038:6: warning: no previous prototype for ‘amd64_decode_bus_error’

[PATCH 2/3] drivers: edac: Mark the function edac_create_debug_nodes() as static in edac_mc_sysfs.c

2013-12-14 Thread Rashika Kheria
This patch marks the function edac_create_debug_nodes() as static in edac_mc_sysfs.c because it is not used outside this file. Thus, it also eliminates the following warning in edac_mc_sysfs.c: drivers/edac/edac_mc_sysfs.c:917:5: warning: no previous prototype for ‘edac_create_debug_nodes’

[PATCH 3/3] drivers: edac: Mark the function get_mci_for_node_id() as static in sb_edac.c

2013-12-14 Thread Rashika Kheria
This patch marks the function get_mci_for_node_id() as static in sb_edac.c because it is not used outside this file. Thus, it also eliminates the following warning in sb_edac.c: drivers/edac/sb_edac.c:918:22: warning: no previous prototype for ‘get_mci_for_node_id’ [-Wmissing-prototypes]

[PATCH 1/2] drivers: ata: Mark the function ahci_init_interrupts() as static in ahci.c

2013-12-14 Thread Rashika Kheria
This patch marks the function ahci_init_interrupts() as static in ahci.c because it is not used outside this file. Thus, it also eliminates the following warning in ahci.c: drivers/ata/ahci.c:1099:5: warning: no previous prototype for ‘ahci_init_interrupts’ [-Wmissing-prototypes] Signed-off-by:

[PATCH 2/2] drivers: ata: Mark the function as static in libahci.c

2013-12-14 Thread Rashika Kheria
This patch marks the function ahci_port_intr() and ahci_hw_port_interrupt() as static in libahci.c because they are not used outside this file. Thus, it also eliminates the following warnings in libahci.c: drivers/ata/libahci.c:1767:6: warning: no previous prototype for ‘ahci_port_intr’

Re: [PATCH 0/2] Add missing audio-related clocks to imx6 clock tree

2013-12-14 Thread Shawn Guo
On Fri, Dec 13, 2013 at 11:44:06PM +0800, Nicolin Chen wrote: This series of patches appends some essential clocks of audio IP to the current i.MX6 Series clock trees. Nicolin Chen (2): ARM: imx6sl: Add missing pll4_audio_div to the clock tree ARM: imx6sl: Add missing spba clock to

Re: [PATCH] ARM: imx6: Derive spdif clock from pll3_pfd3_454m

2013-12-14 Thread Shawn Guo
On Fri, Dec 13, 2013 at 11:37:52PM +0800, Nicolin Chen wrote: SPDIF can derive a TX clock for playback from one of its clock sources -- spdif root clock to match its supporting sample rates. So this patch set the spdif root clock's parent to pll3_pfd3_454m since the pll3_pfd3_454m can

Re: [PATCH] drivers: reset: Mark function as static in core.c

2013-12-14 Thread Dan Carpenter
On Sat, Dec 14, 2013 at 06:56:10PM +0530, Rashika Kheria wrote: This patch marks the function of_reset_simple_xlate() and devm_reset_control_put() as static in core.c because it is not used outside this file. Thus, it also eliminate the following warnings in core.c:

Re: [PATCH 2/3] x86: mm: Change tlb_flushall_shift for IvyBridge

2013-12-14 Thread Peter Zijlstra
On Fri, Dec 13, 2013 at 10:11:05AM +0800, Alex Shi wrote: BTW, A bewitching idea is till attracting me. https://lkml.org/lkml/2012/5/23/148 Even it was sentenced to death by HPA. https://lkml.org/lkml/2012/5/24/143 That is that just flush one of thread TLB is enough for SMT/HT, seems TLB

Re: [PATCH 2/3] x86: mm: Change tlb_flushall_shift for IvyBridge

2013-12-14 Thread Peter Zijlstra
On Sat, Dec 14, 2013 at 03:19:02PM +0100, Peter Zijlstra wrote: On Fri, Dec 13, 2013 at 10:11:05AM +0800, Alex Shi wrote: BTW, A bewitching idea is till attracting me. https://lkml.org/lkml/2012/5/23/148 Even it was sentenced to death by HPA. https://lkml.org/lkml/2012/5/24/143

Re: [PATCHv7 04/12] driver/core: populate devices in order for IOMMUs

2013-12-14 Thread Hiroshi Doyu
Thierry Reding thierry.red...@gmail.com wrote @ Sat, 14 Dec 2013 13:24:22 +0100: * PGP Signed by an unknown key On Thu, Dec 12, 2013 at 06:14:02PM -0800, Greg KH wrote: On Thu, Dec 12, 2013 at 11:39:20AM +, Grant Likely wrote: On Thu, 12 Dec 2013 09:57:05 +0200, Hiroshi Doyu

Re: [PATCH] MAINTAINERS: add myself as gpt maintainer

2013-12-14 Thread Matt Fleming
On Fri, 13 Dec, at 10:05:29AM, Davidlohr Bueso wrote: From: Davidlohr Bueso davidl...@hp.com Add a new entry for the GPT standard. Any future changes will now be routed through linux-efi. Cc: Andrew Morton a...@linux-foundation.org Cc: Matt Fleming matt.flem...@intel.com Cc: Jens Axboe

Re: [PATCH] selinux: selinux_setprocattr()-ptrace_parent() needs rcu_read_lock()

2013-12-14 Thread Paul Moore
On Fri, Dec 6, 2013 at 9:47 AM, Oleg Nesterov o...@redhat.com wrote: On 12/05, Paul Moore wrote: On Thursday, December 05, 2013 05:59:53 PM Oleg Nesterov wrote: Note: perhaps we should simply kill ptrace_parent(), it buys almost nothing and it is obviously racy. Or perhaps we should

Re: [PATCH 4/4] w1: call put_device if device_register fails

2013-12-14 Thread Evgeniy Polyakov
Hi 13.12.2013, 23:23, Levente Kurusa le...@linux.com: Currently, memsetting and kfreeing the device is bad behaviour. The device will have a reference count of 1 and hence can cause trouble because it has kfree'd. Proper way to handle a failed device_register is to call put_device right after

Re: [PATCH v4 1/2] ARM: mach-moxart: add MOXA ART SoC platform files

2013-12-14 Thread Guenter Roeck
On 12/14/2013 12:32 AM, Jonas Jensen wrote: On 13 December 2013 20:07, Guenter Roeck li...@roeck-us.net wrote: I got the impression from Guenter Roeck's review, that it doesn't belong there, maybe I was too quick to remove it? You'd have to answer the questions I raised in my review if you

Re: [PATCHv6+ 01/13] of: introduce of_property_for_earch_phandle_with_args()

2013-12-14 Thread Hiroshi Doyu
Hiroshi Doyu hd...@nvidia.com wrote @ Thu, 12 Dec 2013 14:14:04 +0200 (EET): From 8f7c0404aa68f0e8dbe0babc240590f6528ecc1f Mon Sep 17 00:00:00 2001 From: Hiroshi Doyu hd...@nvidia.com Date: Fri, 15 Nov 2013 10:52:53 +0200 Subject: [PATCH] of: introduce

Re: [RFC] dma-buf: Implement test module

2013-12-14 Thread Daniel Vetter
On Sat, Dec 14, 2013 at 1:37 PM, Thierry Reding thierry.red...@gmail.com wrote: On Thu, Dec 12, 2013 at 11:30:23PM +0100, Daniel Vetter wrote: On Thu, Dec 12, 2013 at 8:34 PM, Thomas Hellstrom thellst...@vmware.com wrote: On 12/12/2013 03:36 PM, Thierry Reding wrote: This is a simple

Guten Tag

2013-12-14 Thread Mr. SUN Zhijun
Guten Tag, Mein Name ist Mr.SUN Zhijun, ich mit der Bank of China zu arbeiten. Ich brauche Ihre Unterstützung in Durchführung einer Transaktion bei $ 18,5 Millionen Dollar geschätzt, möchte ich Ihnen 30% der gesamten Mittel als Ausgleich für Ihre Unterstützung in dieser Transaktion. Ich werde

Guten Tag!

2013-12-14 Thread Mr. SUN Zhijun
Guten Tag, Mein Name ist Mr.SUN Zhijun, ich mit der Bank of China zu arbeiten. Ich brauche Ihre Unterstützung in Durchführung einer Transaktion bei $ 18,5 Millionen Dollar geschätzt, möchte ich Ihnen 30% der gesamten Mittel als Ausgleich für Ihre Unterstützung in dieser Transaktion. Ich werde

Re: [PATCH v4 1/2] ARM: mach-moxart: add MOXA ART SoC platform files

2013-12-14 Thread Jonas Jensen
On 14 December 2013 16:50, Guenter Roeck li...@roeck-us.net wrote: The above would at least avoid the crash, though I would not understand the point of having an unloadable restart handler. Forcing the watchdog driver into the kernel just because you want the restart handler in it would seem

Re: [PATCH 1/1] Added Capella CM32181 Ambient Light Sensor IIO Driver.

2013-12-14 Thread Jonathan Cameron
On 12/14/13 01:59, Kevin Tsai wrote: Signed-off-by: Kevin Tsai kt...@capellamicro.com Hi Kevin. Generally for a new driver we'd expect a very brief description of what functionality it provides in the patch comment. As a starting point, you've cc'd the devicetree list and maintainers but there

[PATCH v2] selinux: selinux_setprocattr()-ptrace_parent() needs rcu_read_lock()

2013-12-14 Thread Oleg Nesterov
selinux_setprocattr() does ptrace_parent(p) under task_lock(p), but task_struct-alloc_lock doesn't pin -parent or -ptrace, this looks confusing and triggers the suspicious RCU usage warning because ptrace_parent() does rcu_dereference_check(). And in theory this is wrong,

Re: [PATCH] selinux: selinux_setprocattr()-ptrace_parent() needs rcu_read_lock()

2013-12-14 Thread Oleg Nesterov
On 12/14, Paul Moore wrote: I understand your point, but I still think there is some value in keeping the call to ptrace_parent() rather than fetching the ptrace pointer on our own. Yes, agreed, I changed my mind ;) However, that said, I think we should try and do something about the

Re: [PATCH v5] clk: si570: Add a driver for SI570 oscillators

2013-12-14 Thread Guenter Roeck
On 10/02/2013 04:17 PM, Mike Turquette wrote: Quoting Sören Brinkmann (2013-10-02 10:20:38) Hi Mike, could you please comment on this/apply it to clk-next? It looks good and is in the queue. Will show up in clk-next in a few days. Hi Mike, trying again ... what happened with this driver ?

Re: [PATCH] drivers: infiniband: Mark function _c4iw_write_mem_dma() as static in mem.c

2013-12-14 Thread Steve Wise
Acked-by: Steve Wise sw...@opengridcomputing.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH 02/10] arm: select ARCH_MIGHT_HAVE_PC_SERIO

2013-12-14 Thread Mark Salter
Architectures which might use an i8042 for serial IO to keyboard, mouse, etc should select ARCH_MIGHT_HAVE_PC_SERIO. Signed-off-by: Mark Salter msal...@redhat.com CC: Russell King li...@arm.linux.org.uk CC: linux-arm-ker...@lists.infradead.org --- arch/arm/Kconfig | 1 + 1 file changed, 1

[PATCH 00/10] Kconfig: cleanup SERIO_I8042 dependencies

2013-12-14 Thread Mark Salter
This patch series removes the messy dependencies from SERIO_I8042 by having it depend on one variable (ARCH_MAY_HAVE_PC_SERIO) and having architectures which need it select that variable in arch/*/Kconfig. New architectures are unlikely to need SERIO_I8042, so this avoids having an ever growing

[PATCH 09/10] x86: select ARCH_MIGHT_HAVE_PC_SERIO

2013-12-14 Thread Mark Salter
Architectures which might use an i8042 for serial IO to keyboard, mouse, etc should select ARCH_MIGHT_HAVE_PC_SERIO. Signed-off-by: Mark Salter msal...@redhat.com CC: Ingo Molnar mi...@redhat.com CC: Thomas Gleixner t...@linutronix.de CC: H. Peter Anvin h...@zytor.com CC: x...@kernel.org ---

[PATCH 08/10] unicore32: select ARCH_MIGHT_HAVE_PC_SERIO

2013-12-14 Thread Mark Salter
Architectures which might use an i8042 for serial IO to keyboard, mouse, etc should select ARCH_MIGHT_HAVE_PC_SERIO. Signed-off-by: Mark Salter msal...@redhat.com CC: Guan Xuetao g...@mprc.pku.edu.cn --- arch/unicore32/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH 1/3] drivers: edac: Mark the function amd64_decode_bus_error() as static in amd64_edac.c

2013-12-14 Thread Borislav Petkov
On Sat, Dec 14, 2013 at 07:28:24PM +0530, Rashika Kheria wrote: This patch marks the function amd64_decode_bus_error() as static in amd64_edac.c because it is not used outside this file. Thus, it also eliminates the following warning in amd64_edac.c: drivers/edac/amd64_edac.c:2038:6:

[PATCH 10/10] Kconfig: cleanup SERIO_I8042 dependencies

2013-12-14 Thread Mark Salter
Remove messy dependencies from SERIO_I8042 by having it depend on one Kconfig symbol (ARCH_MIGHT_HAVE_PC_SERIO) and having architectures which need it select ARCH_MIGHT_HAVE_PC_SERIO in arch/*/Kconfig. New architectures are unlikely to need SERIO_I8042, so this avoids having an ever growing list

[PATCH 01/10] alpha: select ARCH_MIGHT_HAVE_PC_SERIO

2013-12-14 Thread Mark Salter
Architectures which might use an i8042 for serial IO to keyboard, mouse, etc should select ARCH_MIGHT_HAVE_PC_SERIO. Signed-off-by: Mark Salter msal...@redhat.com CC: Richard Henderson r...@twiddle.net CC: linux-al...@vger.kernel.org --- arch/alpha/Kconfig | 1 + 1 file changed, 1 insertion(+)

[PATCH 03/10] ia64: select ARCH_MIGHT_HAVE_PC_SERIO

2013-12-14 Thread Mark Salter
Architectures which might use an i8042 for serial IO to keyboard, mouse, etc should select ARCH_MIGHT_HAVE_PC_SERIO. Signed-off-by: Mark Salter msal...@redhat.com CC: Tony Luck tony.l...@intel.com CC: Fenghua Yu fenghua...@intel.com CC: linux-i...@vger.kernel.org --- arch/ia64/Kconfig | 1 + 1

[PATCH 05/10] powerpc: select ARCH_MIGHT_HAVE_PC_SERIO

2013-12-14 Thread Mark Salter
Architectures which might use an i8042 for serial IO to keyboard, mouse, etc should select ARCH_MIGHT_HAVE_PC_SERIO. Signed-off-by: Mark Salter msal...@redhat.com CC: Benjamin Herrenschmidt b...@kernel.crashing.org CC: Paul Mackerras pau...@samba.org CC: linuxppc-...@lists.ozlabs.org ---

  1   2   3   4   5   6   >