[PATCH 08/13] drivers: block: Mark function as static in drbd_actlog.c

2013-12-19 Thread Rashika Kheria
Mark the function drbd_al_begin_io_prepare() as static in drbd/drbd_actlog.c because it is not used outside this file. This eliminates the following warnings in drbd/drbd_actlog.c: drivers/block/drbd/drbd_actlog.c:277:6: warning: no previous prototype for ‘drbd_al_begin_io_prepare’ [-Wmissing-pro

Re: [PATCH 6/6] memcg, slab: RCU protect memcg_params for root caches

2013-12-19 Thread Michal Hocko
On Thu 19-12-13 13:36:42, Vladimir Davydov wrote: > On 12/19/2013 01:28 PM, Michal Hocko wrote: > > On Wed 18-12-13 17:16:57, Vladimir Davydov wrote: [...] > >> diff --git a/mm/slab.h b/mm/slab.h > >> index 1d8b53f..53b81a9 100644 > >> --- a/mm/slab.h > >> +++ b/mm/slab.h > >> @@ -164,10 +164,16 @@

Re: [Devel] [PATCH 1/6] slab: cleanup kmem_cache_create_memcg()

2013-12-19 Thread Michal Hocko
On Thu 19-12-13 13:26:12, Vasily Averin wrote: > On 12/19/2013 12:39 PM, Vladimir Davydov wrote: > > On 12/19/2013 12:17 PM, Vasily Averin wrote: > >> On 12/18/2013 05:16 PM, Vladimir Davydov wrote: > >>> --- a/mm/slab_common.c > >>> +++ b/mm/slab_common.c > >>> @@ -176,8 +176,9 @@ kmem_cache_creat

[PATCH 09/13] drivers: block: Move prototype declaration of function tl_abort_disk_io() to appropriate header file from drbd_state.c

2013-12-19 Thread Rashika Kheria
Move the prototype declaration of function tl_abort_disk_io() from drbd/drbd_state.c to appropriate header file drbd/drbd_int.h because it is used by more than 2 files. This eliminates the following warnings in drbd/drbd_main.c: drivers/block/drbd/drbd_main.c:310:6: warning: no previous prototype

[PATCH 10/13] drivers: block: Mark functions as static in drbd_main.c

2013-12-19 Thread Rashika Kheria
Mark functions _drbd_send_uuids(), fill_bitmap_rle_bits() and init_submitter() as static in drbd/drbd_main.c because they are not used outside this file. This eliminates the following warnings in drbd/drbd_main.c: drivers/block/drbd/drbd_main.c:826:5: warning: no previous prototype for ‘_drbd_sen

Re: [PATCH 6/6] memcg, slab: RCU protect memcg_params for root caches

2013-12-19 Thread Vladimir Davydov
On 12/19/2013 01:43 PM, Michal Hocko wrote: > On Thu 19-12-13 13:36:42, Vladimir Davydov wrote: >> On 12/19/2013 01:28 PM, Michal Hocko wrote: >>> On Wed 18-12-13 17:16:57, Vladimir Davydov wrote: > [...] diff --git a/mm/slab.h b/mm/slab.h index 1d8b53f..53b81a9 100644 --- a/mm/slab.

[PATCH 11/13] drivers: block: Mark functions as static in drbd_nl.c

2013-12-19 Thread Rashika Kheria
Mark functions conn_khelper(), nla_put_drbd_cfg_context(), nla_put_status_info() and get_one_status() as static in drbd/drbd_nl.c because they are not used outside this file. This eliminates the following warnings in drbd/drbd_nl.c: drivers/block/drbd/drbd_nl.c:365:5: warning: no previous prototyp

[PATCH 12/13] drivers: block: Mark function as static in drbd_state.c

2013-12-19 Thread Rashika Kheria
Mark functions conn_old_common_state() and conn_set_state() as static in drbd/drbd_state.c because they are not used outside this file. This eliminates the following warnings in drbd/drbd_state.c: drivers/block/drbd/drbd_state.c:1585:6: warning: no previous prototype for ‘conn_old_common_state’ [

[PATCH 13/13] drivers: block: Remove unused function in genl_magic_func.h

2013-12-19 Thread Rashika Kheria
Remove unused function CONCAT_(GENL_MAGIC_FAMILY, _genl_cmd_to_str) in include/linux/genl_magic_func.h. This eliminates the following warning in include/linux/genl_magic_func.h: include/linux/genl_magic_func.h:221:1: warning: no previous prototype for ‘drbd_genl_cmd_to_str’ [-Wmissing-prototypes]

Re: [PATCH] irq-renesas-irqc: simplify irq_set_type() method

2013-12-19 Thread Magnus Damm
On Thu, Dec 19, 2013 at 5:24 PM, Simon Horman wrote: > On Sat, Dec 14, 2013 at 03:09:31AM +0300, Sergei Shtylyov wrote: >> Value 0 of the sense selection field of CONFIG_n register means "disable >> event >> detection" and serves in irqc_sense[] for marking the invalid values of the >> IRQ >> t

Re: [PATCH 3/6] memcg, slab: cleanup barrier usage when accessing memcg_caches

2013-12-19 Thread Vladimir Davydov
On 12/19/2013 01:36 PM, Michal Hocko wrote: > On Thu 19-12-13 13:29:59, Vladimir Davydov wrote: >> On 12/19/2013 01:21 PM, Michal Hocko wrote: >>> On Thu 19-12-13 13:16:01, Vladimir Davydov wrote: On 12/19/2013 01:10 PM, Michal Hocko wrote: > On Thu 19-12-13 10:37:27, Vladimir Davydov wrot

Re: [v3.11][Regression] HID: hyperv: convert alloc+memcpy to memdup

2013-12-19 Thread David Herrmann
Hi On Mon, Dec 16, 2013 at 2:01 PM, Jiri Kosina wrote: > On Fri, 27 Sep 2013, Joseph Salisbury wrote: > >> >> commit b1a1442a23776756b254b69786848a94d92445ba >> >> Author: Jiri Kosina >> >> Date: Mon Jun 3 11:27:48 2013 +0200 >> >> >> >> HID: core: fix reporting of raw events >> >> >> >> Rev

[PATCH 2/4] perf tools: Add support for PERF_RECORD_MISC_GUEST_USER in thread__find_addr_map().

2013-12-19 Thread Dongsheng Yang
This patch remove a TODO in thread__find_addr_map() and add support of PERF_RECORD_MISC_GUEST_USER. Signed-off-by: Dongsheng Yang --- tools/perf/util/event.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/tools/perf/util/event.c b/tools/perf/util/event.c index 6

[PATCH 0/4] Add support of guest user space symbols for perf kvm command.

2013-12-19 Thread Dongsheng Yang
Hi all, This patch add support of guest user space symbols for perf kvm command. Example: # perf kvm --guestmount /tmp/guestmount/ top Samples: 1K of event 'cycles', Event count (approx.): 259112905 17.34% libcrypto.so.1.0.1e [u] 0x0007d971 5.60

[PATCH 1/4] perf tools: Add support of guest in synthesize_threads.

2013-12-19 Thread Dongsheng Yang
We are using XXX__synthesize_threads() function to synthesize the symbols of user space for host. This patch add support of guest for these functions. Signed-off-by: Dongsheng Yang --- tools/perf/util/event.c | 33 +++-- 1 file changed, 27 insertions(+), 6 deletions(-

[PATCH 4/4] perf tools: Add support of user space symbols for guest in perf kvm record.

2013-12-19 Thread Dongsheng Yang
# perf kvm --guestmount /tmp/guestmount/ record -a sleep 1 [ perf record: Woken up 1 times to write data ] [ perf record: Captured and wrote 0.828 MB perf.data.guest (~36163 samples) ] # perf kvm --guestmount /tmp/guestmount/ report Samples: 4K of event 'cy

Re: [v3.11][Regression] HID: hyperv: convert alloc+memcpy to memdup

2013-12-19 Thread Jiri Kosina
On Thu, 19 Dec 2013, David Herrmann wrote: > > diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c > > index 253fe23..81eacd3 100644 > > --- a/drivers/hid/hid-core.c > > +++ b/drivers/hid/hid-core.c > > @@ -1334,7 +1334,7 @@ int hid_report_raw_event(struct hid_device *hid, int > > type,

[PATCH 3/4] perf tools: Add support of user space symbols for guest in perf kvm top.

2013-12-19 Thread Dongsheng Yang
# perf kvm --guestmount /tmp/guestmount/ top Samples: 1K of event 'cycles', Event count (approx.): 259112905 17.34% libcrypto.so.1.0.1e [u] 0x0007d971 5.60% [guest.kernel] [g] kallsyms_expand_symbol 5.44% libcrypto.so.1.0.1e [u] md5_bl

Re: [PATCH 13/13] drivers: block: Remove unused function in genl_magic_func.h

2013-12-19 Thread Josh Triplett
On Thu, Dec 19, 2013 at 03:22:10PM +0530, Rashika Kheria wrote: > Remove unused function CONCAT_(GENL_MAGIC_FAMILY, _genl_cmd_to_str) in > include/linux/genl_magic_func.h. > > This eliminates the following warning in > include/linux/genl_magic_func.h: > include/linux/genl_magic_func.h:221:1: warni

Re: [PATCH v3 01/21 resend] serial: rewrite pxa2xx-uart to use 8250_core

2013-12-19 Thread Sergei Ianovich
On Thu, 2013-12-19 at 13:35 +0400, Sergei Ianovich wrote: > Hi Heikki, > > On Thu, 2013-12-19 at 10:51 +0200, Heikki Krogerus wrote: > > I noticed one more thing. I'm sorry about commenting this late. > > > > Since you set the type PORT_XSCALE, don's you want to use > > UPF_FIXED_TYPE flag instea

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

2013-12-19 Thread David Laight
> From: Freddy Xin > On 2013年12月16日 18:09, David Laight wrote: > >> I was thinking of something like: skb = netdev_alloc_skb(dev, length > >> + dev->skb_align, gfp); if (NET_IP_ALIGN && skb && !(ev->driver_flags > >> & FLAG_HW_IPALIGN)) skb_reserve(skb, NET_IP_ALIGN); It might even be > >> reasonab

Re: [PATCH 6/6] memcg, slab: RCU protect memcg_params for root caches

2013-12-19 Thread Michal Hocko
On Thu 19-12-13 13:47:33, Vladimir Davydov wrote: [...] > Yeah, you're right, this longs for a documentation. I'm going to check We desparately need a documentation for the life cycle of all involved objects and description of which locks are used at which stage. > this code a bit more and try t

[PATCH 1/7] drivers: usb: Include appropriate header file in hcd.c

2013-12-19 Thread Rashika Kheria
Include appropriate header file include/linux/usb/otg.h in core/hcd.c because function usb_bus_start_enum() has its prototype declaration in include/linux/usb/otg.h. This eliminates the following warning in core/hcd.c: drivers/usb/core/hcd.c:2295:5: warning: no previous prototype for ‘usb_bus_sta

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

2013-12-19 Thread Luis Henriques
On Tue, Dec 17, 2013 at 02:40:02PM -0500, David Miller wrote: > From: Nicolas Dichtel > Date: Fri, 13 Dec 2013 10:06:35 +0100 > > > 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

[PATCH 2/7] drivers: usb: Include appropriate header file in configfs.c

2013-12-19 Thread Rashika Kheria
Include appropriate header file drivers/usb/gadget/configfs.h in gadget/configfs.c because function unregister_gadget_item() has its prototype declaration in gadget/configfs.h. This eliminates the following warning in gadget/configfs.c: drivers/usb/gadget/configfs.c:994:6: warning: no previous pro

Re: [v3.11][Regression] HID: hyperv: convert alloc+memcpy to memdup

2013-12-19 Thread David Herrmann
Hi On Thu, Dec 19, 2013 at 10:59 AM, Jiri Kosina wrote: > On Thu, 19 Dec 2013, David Herrmann wrote: > >> > diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c >> > index 253fe23..81eacd3 100644 >> > --- a/drivers/hid/hid-core.c >> > +++ b/drivers/hid/hid-core.c >> > @@ -1334,7 +1334,7 @

Unhandled LM90 irq 308 on Dalmore?

2013-12-19 Thread Paul Walmsley
Just FYI, the Tegra114 Dalmore board here reports an unhandled IRQ about two minutes after boot: [ 120.950839] irq 308: nobody cared (try booting with the "irqpoll" option) [ 120.957654] CPU: 1 PID: 74 Comm: irq/308-lm90 Not tainted 3.13.0-rc4-next-20131218-30442-g28522bc #1 [ 120.966816] []

[PATCH 3/7] drivers: usb: Include appropriate header file in hcd.h

2013-12-19 Thread Rashika Kheria
Include header file include/linux/usb.h in include/linux/usb/hcd.h because structures usb_device, usb_host_config and usb_interface have their definitions in include/linux/usb.h. This eliminates the following warning in include/linux/usb/hcd.h: include/linux/usb/hcd.h:311:44: warning: ‘struct usb_

[PATCH 4/7] drivers: usb: Include appropriate header file in pci-quirks.c

2013-12-19 Thread Rashika Kheria
Include header file include/linux/usb/hcd.h in host/pci-quirks.c because function usb_hcd_amd_remote_wakeup_quirk() has its prototype declaration in include/linux/usb/hcd.h. This eliminates the following warning in host/pci-quirks.c: drivers/usb/host/pci-quirks.c:253:5: warning: no previous protot

[PATCH 5/7] drivers: usb: Mark function as static in usbsevseg.c

2013-12-19 Thread Rashika Kheria
Mark function my_memlen() as static in misc/usbsevseg.c because it is not used outside this file. This eliminates the following warning in misc/usbsevseg.c: drivers/usb/misc/usbsevseg.c:60:15: warning: no previous prototype for ‘my_memlen’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria Re

[PATCH 6/7] drivers: usb: Mark function as static in metro-usb.c

2013-12-19 Thread Rashika Kheria
Mark function metrousb_is_unidirectional_mode() in serial/metro-usb.c because it is not used outside this file. This eliminates the following warning in serial/metro-usb.c: drivers/usb/serial/metro-usb.c:57:12: warning: no previous prototype for ‘metrousb_is_unidirectional_mode’ [-Wmissing-protot

[PATCH 7/7] drivers: usb: Include appropriate header file in phy-am335x-control.c

2013-12-19 Thread Rashika Kheria
Include header file drivers/usb/phy/am35x-phy-control.h in phy/phy-am335x-control.c because function am335x_get_phy_control() has its prototype declaration in drivers/usb/phy/am35x-phy-control.h. Also, remove definition of structure phy_control because it is already defined in the included header.

[PATCH v3] x86: sysfb: remove sysfb when probing real hw

2013-12-19 Thread David Herrmann
With CONFIG_X86_SYSFB=y, probing real hw-drivers may result in resource-conflicts and drivers will refuse to load. A call to request_mem_region() will fail, if the region overlaps with the mem-region used by simplefb. The common desktop DRM drivers (intel, nouveau, radeon) are not affected as they

Re: [PATCH 1/2] mfd: wm5110: Expose DRE control registers

2013-12-19 Thread Mark Brown
On Thu, Dec 19, 2013 at 09:11:01AM +, Charles Keepax wrote: > Certain use-cases require the DRE to be disabled so expose registers > necessary to control the DRE enables. Applied both, thanks. signature.asc Description: Digital signature

Re: [PATCH] mm,numa,THP: initialize hstate for THP page size

2013-12-19 Thread Michal Hocko
[Adding Dave and Mel] On Wed 18-12-13 17:20:55, Rik van Riel wrote: > On 12/18/2013 05:08 PM, Andrew Morton wrote: > >On Wed, 18 Dec 2013 17:03:14 -0500 Rik van Riel wrote: > > > >>When hugetlbfs is started with a non-default page size, it is > >>possible that no hstate is initialized for the pag

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

2013-12-19 Thread Nicolas Dichtel
Le 19/12/2013 11:07, Luis Henriques a écrit : On Tue, Dec 17, 2013 at 02:40:02PM -0500, David Miller wrote: From: Nicolas Dichtel Date: Fri, 13 Dec 2013 10:06:35 +0100 The upstream commit bb8140947a24 ("ip6tnl: allow to use rtnl ops on fb tunnel") (backported into linux-3.10.y) left a bug whi

Re: [Devel] [PATCH 1/6] slab: cleanup kmem_cache_create_memcg()

2013-12-19 Thread Pekka Enberg
On 12/19/2013 11:26 AM, Vasily Averin wrote: On 12/19/2013 12:39 PM, Vladimir Davydov wrote: On 12/19/2013 12:17 PM, Vasily Averin wrote: On 12/18/2013 05:16 PM, Vladimir Davydov wrote: --- a/mm/slab_common.c +++ b/mm/slab_common.c @@ -176,8 +176,9 @@ kmem_cache_create_memcg(struct mem_cgroup

Re: [PATCH] ASoC: simple-card: Use devm_snd_soc_register_card()

2013-12-19 Thread Mark Brown
On Thu, Dec 19, 2013 at 11:59:54AM +0800, Xiubo Li wrote: > Makes the code slightly shorter. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH v0 04/71] itrace: Infrastructure for instruction flow tracing units

2013-12-19 Thread Peter Zijlstra
On Thu, Dec 19, 2013 at 09:53:44AM +0200, Alexander Shishkin wrote: > Peter Zijlstra writes: > > The thing is; why can't you zero-copy whatever buffer the hardware > > writes into, into the normal buffer? > > I'm not sure I understand. You mean, have the buffer split between perf > data and trace

Re:Re: [PATCH] tty: an overflow of multiplication in drivers/tty/cyclades.c

2013-12-19 Thread xiaoqixue_1
I am sorry for it because my git configure is not sound. my real name Qixue Xiao , and my email . At 2013-12-19 08:57:40,"Greg KH" wrote: >On Wed, Dec 18, 2013 at 09:00:29AM +0800, xqx12 wrote: >> there is an overflow in the code : >> cyz_polling_cycle = (arg * HZ) / 1000, >

Re: [PATCH v0 04/71] itrace: Infrastructure for instruction flow tracing units

2013-12-19 Thread Peter Zijlstra
On Thu, Dec 19, 2013 at 09:53:44AM +0200, Alexander Shishkin wrote: > Yes and some implementations of PT have the same issue, but you can do a > sufficiently large high order allocation and map it to userspace and > still no copying (or parsing/decoding) in kernel space required. What's sufficient

Re: lockdep: BUG: MAX_LOCKDEP_ENTRIES too low!

2013-12-19 Thread Peter Zijlstra
On Thu, Dec 19, 2013 at 12:53:56AM -0500, Sasha Levin wrote: > Hi all, > > I think that my bloated kernel managed to create way too many entries in the > dependency table. If that sounds right, I can send a patch to increase those. > > Attached /proc/lock_stat as requested as well. /proc/lockdep

Re: [PATCH 5/5] mfd: input: iio: ti_amm335x: rework TSC/ADC synchronisation

2013-12-19 Thread Sebastian Andrzej Siewior
On 12/19/2013 09:42 AM, Lee Jones wrote: > Spell check this entire block. will do. > Smileys in commit messages are generally a bad idea. will drop. > Please insert '\n's between paragraphs. Okay. > Proof read, as some of the sentences are not comprehensible. I am going to retry. > /* MFD P

cuenta Advertencia

2013-12-19 Thread WEB Admin
Su contraseña caducará en 3 días completos y presentar el formulario de inmediato para validar su dirección de correo electrónico. Haga clic en el enlace a continuación y siga las instrucciones https://corre0.typeform.com/to/jRIfpx gracias administrador del sistema -- To unsubscribe from this lis

Re: [PATCH] devicetree: macb: Document clock properties

2013-12-19 Thread Michal Simek
On 12/16/2013 10:46 AM, Nicolas Ferre wrote: > On 13/12/2013 23:03, Soren Brinkmann : >> The macb driver uses the clock bindings. Document the required >> properties, especially the driver specific clock-names. >> >> Signed-off-by: Soren Brinkmann > > Acked-by: Nicolas Ferre Has someone taken t

Re: cirrusdrmfb broken with simplefb

2013-12-19 Thread David Herrmann
Hi On Thu, Dec 19, 2013 at 1:03 AM, One Thousand Gnomes wrote: >> > That bug always existed, simplefb is just the first driver to hit it >> > (vesafb/efifb didn't use resources). I'm aware of the issue but as a >> > workaround you can simply disable CONFIG_X86_SYSFB. That restores >> > the old be

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

2013-12-19 Thread Jonas Jensen
The MOXA ART SoC is based on Faraday's FA526. This is a ARMv4 32-bit 192 MHz CPU with MMU and 16KB/8KB D/I-cache. Add platform support for this SoC. Also add UC-7112-LX as a machine. Signed-off-by: Jonas Jensen --- arch/arm/Kconfig | 2 + arch/arm/Makefile |

[PATCH v7 0/2] ARM: mach-moxart: add MOXA ART SoC support

2013-12-19 Thread Jonas Jensen
of_clk_get() works again. Changes since v6: 1. move fixed rate clock "ref12" from .dtsi to .dts 2. sort new entry alphabetically in arch/arm/Kconfig 3. rebase to next-20131219: arch/arm/Makefile arch/arm/Kconfig Applies to next-20131219 Jonas Jensen (2): ARM: mach-moxart: add MOXA A

[PATCH v7 2/2] ARM: mach-moxart: add MOXA ART SoC device tree files

2013-12-19 Thread Jonas Jensen
Add a generic (dtsi) include file for MOXA ART SoCs. Also add a file for UC-7112-LX. Signed-off-by: Jonas Jensen --- Documentation/devicetree/bindings/arm/moxart.txt | 12 ++ arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/moxart-uc7112lx.dts| 117 ++

Re: [PATCH 02/14] x86-64/efi: Use EFI to deal with platform wall clock (again)

2013-12-19 Thread Matt Fleming
On Thu, 19 Dec, at 06:20:16PM, Lee, Chun-Yi wrote: > From: Jan Beulich > > Other than ix86, x86-64 on EFI so far didn't set the > {g,s}et_wallclock accessors to the EFI routines, thus > incorrectly using raw RTC accesses instead. > > Simply removing the #ifdef around the respective code isn't >

Re: [PATCH] dma: dw: Add suspend and resume handling for PCI mode DW_DMAC.

2013-12-19 Thread Andy Shevchenko
On Wed, 2013-12-18 at 21:19 +0530, Vinod Koul wrote: > On Mon, Dec 16, 2013 at 01:51:47PM +0530, Chew, Chiau Ee wrote: > > As mentioned by Andy, we are using *_noirq verion of suspend/resume PM > > callback whereby the callbacks would be executed after IRQ handlers have > > been > > disabled. If

Re: [PATCH 3/5] MFD: twl6040: reg_defaults support for regmap

2013-12-19 Thread Mark Brown
On Thu, Dec 19, 2013 at 09:06:32AM +, Lee Jones wrote: > What -rc are you currently based on? Using -rc1 makes life easier, it'll be a new branch. signature.asc Description: Digital signature

[PATCH] drivers: pci: Add prototype declarations of function in appropriate header

2013-12-19 Thread Rashika Kheria
Add prototype declarations of functions arch_msi_mask_irq() and arch_msix_mask_irq() to header file include/linux/msi.h. This eliminates the following warning in msi.c: drivers/pci/msi.c:202:12: warning: no previous prototype for ‘arch_msi_mask_irq’ [-Wmissing-prototypes] drivers/pci/msi.c:232:12

Re: [PATCH v6 2/2] ARM: mach-moxart: add MOXA ART SoC device tree files

2013-12-19 Thread Jonas Jensen
On 19 December 2013 00:41, Peter Crosthwaite wrote: >> + clocks { >> + #address-cells = <1>; >> + #size-cells = <0>; >> + >> + ref12: ref12M { >> + compatible = "fixed-clock"; > > Is the correct split to perhaps have the fixed-c

[PATCH] PM: Fix memory leak in pm_vt_switch_unregister().

2013-12-19 Thread Masami Ichikawa
kmemleak reported a memory leak as below. unreferenced object 0x880118f14700 (size 32): comm "swapper/0", pid 1, jiffies 4294877401 (age 123.283s) hex dump (first 32 bytes): 00 01 10 00 00 00 ad de 00 02 20 00 00 00 ad de .. . 00 d4 d2 18 01 88 ff ff 01 00 00 00 00 04

Re: [PATCH v3 01/21 resend] serial: rewrite pxa2xx-uart to use 8250_core

2013-12-19 Thread Heikki Krogerus
On Thu, Dec 19, 2013 at 02:01:36PM +0400, Sergei Ianovich wrote: > On Thu, 2013-12-19 at 13:35 +0400, Sergei Ianovich wrote: > > On Thu, 2013-12-19 at 10:51 +0200, Heikki Krogerus wrote: > > > I noticed one more thing. I'm sorry about commenting this late. > > > > > > Since you set the type PORT_X

Re: cirrusdrmfb broken with simplefb

2013-12-19 Thread Takashi Iwai
At Thu, 19 Dec 2013 11:46:51 +0100, David Herrmann wrote: > > Hi > > On Thu, Dec 19, 2013 at 1:03 AM, One Thousand Gnomes > wrote: > >> > That bug always existed, simplefb is just the first driver to hit it > >> > (vesafb/efifb didn't use resources). I'm aware of the issue but as a > >> > workar

[PATCH] net: mvmdio: fix interrupt timeout handling

2013-12-19 Thread Leigh Brown
orion_mdio_wait_ready uses wait_event_timeout to wait for the SMI interrupt to fire. wait_event_timeout waits for between "timeout - 1" and "timeout" jiffies. In this case a 1ms timeout when HZ is 1000 results in a wait of 0 to 1 jiffies, causing premature timeouts. This fix ensures a minimum ti

[PATCH] Revert "ARC: Add guard macro to uapi/asm/unistd.h"

2013-12-19 Thread Vineet Gupta
This reverts commit 97bc386fc12deeb41d5bff33548e3002b258d4e0. Generic syscall table generator relies on ARCH unistd.h as follows: void *sys_call_table[NR_syscalls] = { [0 ... NR_syscalls-1] = sys_ni_syscall, #include }; And turns out that prior dependenci

Re: [PATCH v0 04/71] itrace: Infrastructure for instruction flow tracing units

2013-12-19 Thread Alexander Shishkin
Peter Zijlstra writes: > On Thu, Dec 19, 2013 at 09:53:44AM +0200, Alexander Shishkin wrote: >> Peter Zijlstra writes: >> > The thing is; why can't you zero-copy whatever buffer the hardware >> > writes into, into the normal buffer? >> >> I'm not sure I understand. You mean, have the buffer spl

Re: [PATCH v0 04/71] itrace: Infrastructure for instruction flow tracing units

2013-12-19 Thread Alexander Shishkin
Peter Zijlstra writes: > On Thu, Dec 19, 2013 at 09:53:44AM +0200, Alexander Shishkin wrote: >> Yes and some implementations of PT have the same issue, but you can do a >> sufficiently large high order allocation and map it to userspace and >> still no copying (or parsing/decoding) in kernel spac

Re: [PATCH v3 12/21] serial: support for 16550A serial ports on LP-8x4x

2013-12-19 Thread Heikki Krogerus
Hi, On Tue, Dec 17, 2013 at 11:37:42PM +0400, Sergei Ianovich wrote: > The patch adds support for 3 additional LP-8x4x built-in serial > ports. > > The device can also host up to 8 extension cards with 4 serial ports > on each card for a total of 35 ports. However, I don't have > the hardware to

[PATCH v5 1/1] cpufreq: tegra: Re-model Tegra20 cpufreq driver

2013-12-19 Thread Bill Huang
Re-model Tegra20 cpufreq driver as below. * Rename tegra-cpufreq.c to tegra20-cpufreq.c since this file supports only Tegra20. * Add probe function so defer probe can be used when we're going to support DVFS. * Create a fake cpufreq platform device with its name being "${root_compatible}-cpu

Re: [RFC PATCH 0/6] Configurable fair allocation zone policy v3

2013-12-19 Thread Mel Gorman
On Wed, Dec 18, 2013 at 02:48:13PM -0500, Johannes Weiner wrote: > > > > > > Sure about the name? > > > > This is a boolean and "mode" implies it might be a bitmask. That said, I > > recognise that my own naming also sucked because complaining about yours > > I can see that mine also sucks. > >

[PATCH] beeceem: checkpatch whitespace cleanups

2013-12-19 Thread Ralph Mueck
This patch contains several whitespace cleanups for the beeceem driver that have been reported by checkpatch. Subsequent patches will fix other issues that checkpatch complains about and which still remain after applying this patch. Signed-off-by: Ralph Mueck Signed-off-by: Matthias Oefelein

Re: [v3.11][Regression] HID: hyperv: convert alloc+memcpy to memdup

2013-12-19 Thread David Herrmann
Hi On Thu, Dec 19, 2013 at 11:08 AM, David Herrmann wrote: > Hi > > On Thu, Dec 19, 2013 at 10:59 AM, Jiri Kosina wrote: >> On Thu, 19 Dec 2013, David Herrmann wrote: >> >>> > diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c >>> > index 253fe23..81eacd3 100644 >>> > --- a/drivers/hid

Re: [Xen-devel] [PATCH v11 05/12] xen/pvh: Update E820 to work with PVH

2013-12-19 Thread Stefano Stabellini
On Wed, 18 Dec 2013, Mukesh Rathor wrote: > On Wed, 18 Dec 2013 18:25:15 + > Stefano Stabellini wrote: > > > On Tue, 17 Dec 2013, Konrad Rzeszutek Wilk wrote: > > > From: Mukesh Rathor > > > > > > In xen_add_extra_mem() we can skip updating P2M as it's managed > > > by Xen. PVH maps the ent

Re: [PATCH v0 04/71] itrace: Infrastructure for instruction flow tracing units

2013-12-19 Thread Peter Zijlstra
On Thu, Dec 19, 2013 at 01:14:09PM +0200, Alexander Shishkin wrote: > Peter Zijlstra writes: > > > On Thu, Dec 19, 2013 at 09:53:44AM +0200, Alexander Shishkin wrote: > >> Peter Zijlstra writes: > >> > The thing is; why can't you zero-copy whatever buffer the hardware > >> > writes into, into th

[PATCH v2] drivers: base: Add prototype declaration to the header file

2013-12-19 Thread Rashika Kheria
Add prototype declaration of function memory_block_size_bytes() to the header file include/linux/memory.h. This eliminates the following warning in memory.c: drivers/base/memory.c:87:1: warning: no previous prototype for ‘memory_block_size_bytes’ [-Wmissing-prototypes] Signed-off-by: Rashika Khe

Re: [PATCH v0 04/71] itrace: Infrastructure for instruction flow tracing units

2013-12-19 Thread Peter Zijlstra
On Thu, Dec 19, 2013 at 01:17:51PM +0200, Alexander Shishkin wrote: > Peter Zijlstra writes: > > > On Thu, Dec 19, 2013 at 09:53:44AM +0200, Alexander Shishkin wrote: > >> Yes and some implementations of PT have the same issue, but you can do a > >> sufficiently large high order allocation and ma

Dear: Account User:

2013-12-19 Thread Microsoft account team
-- Dear: Account User:, Someone recently used your password to try to sign in to your Account We prevented the sign-in attempt in case this was a hijacker trying to access your account. Please review the details of the sign-in attempt: Wednesday,December 19, 2013 1:43:50

[PATCH] HID: hyperv: make sure input buffer is big enough

2013-12-19 Thread David Herrmann
We need at least HID_MAX_BUFFER_SIZE (4096) bytes as input buffer. HID core depends on this as it requires every input report to be at least as big as advertised. Signed-off-by: David Herrmann --- Hi Same as for the HIDP patch, if there's a way to avoid the extra copy, please provide a better pa

Re: [PATCH] net: mvmdio: fix interrupt timeout handling

2013-12-19 Thread Sebastian Hesselbarth
On 12/19/13 12:13, Leigh Brown wrote: orion_mdio_wait_ready uses wait_event_timeout to wait for the SMI interrupt to fire. wait_event_timeout waits for between "timeout - 1" and "timeout" jiffies. In this case a 1ms timeout when HZ is 1000 results in a wait of 0 to 1 jiffies, causing premature

Re: [PATCH v12 3/4] thermal: samsung: Add TMU support for Exynos5420 SoCs

2013-12-19 Thread Tomasz Figa
On Thursday 19 of December 2013 11:36:31 Naveen Krishna Chatradhi wrote: > Exynos5420 has 5 TMU channels, the TRIMINFO register is > misplaced for TMU channels 2, 3 and 4 > TRIMINFO at 0x1006c000 contains data for TMU channel 3 > TRIMINFO at 0x100a contains data for TMU channel 4 > TRIMINFO at

Re: [PATCH] Tracing events with GPIOs

2013-12-19 Thread Jean-Jacques Hiblot
2013/12/19 Alexandre Courbot : > On Tue, Dec 17, 2013 at 9:22 AM, Jean-Jacques Hiblot > wrote: >> >> This patch implements a new tracing mechanism based on kprobes and using >> GPIO. >> Debugging with GPIO is very common in the embedded world. At least for those >> of us >> fortunate enough to h

Re: [PATCH v12 4/4] ARM: dts: Exynos5420: Add device nodes for TMU blocks

2013-12-19 Thread Tomasz Figa
Hi Naveen, On Thursday 19 of December 2013 11:37:02 Naveen Krishna Chatradhi wrote: > Exynos5420 SoC has per core thermal management unit. > 5 TMU channels 4 for CPUs and 5th for GPU. > > This patch adds the device tree nodes to the DT device list. > > Nodes carry the misplaced second base addre

Re: [Linaro-acpi] [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-19 Thread Graeme Gregory
On Tue, Dec 17, 2013 at 11:29:14AM +, Catalin Marinas wrote: > Hi Graeme, > > On Mon, Dec 16, 2013 at 08:51:33PM +, Graeme Gregory wrote: > > So the real question now is how do we progress with these ACPI patches? > > After > > repeated incorrect accusations of developing behind closed do

Re: [PATCH v3 8/8] drivers: net: Mark function xenvif_count_frag_slots() as static in netback.c

2013-12-19 Thread Wei Liu
On Thu, Dec 19, 2013 at 02:26:47PM +0530, Rashika Kheria wrote: > 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/netbac

Re: [PATCH] arch: metag: kernel: export 'cpu_core_map' in "topology.c"

2013-12-19 Thread James Hogan
On 19/12/13 08:03, Chen Gang wrote: > Need export 'cpu_core_map', or cann't pass compiling with allmodconfig, > the related error: > > MODPOST 2909 modules > ERROR: "cpu_core_map" [drivers/staging/lustre/lustre/libcfs/libcfs.ko] > undefined! > > > Signed-off-by: Chen Gang Thanks, applie

RE: [PATCH v3 1/8] drivers: net: Mark functions as static in qlcnic_io.c

2013-12-19 Thread Shahed Shaikh
> -Original Message- > From: netdev-ow...@vger.kernel.org [mailto:netdev- > ow...@vger.kernel.org] On Behalf Of Rashika Kheria > Sent: Thursday, December 19, 2013 2:17 PM > To: linux-kernel; Himanshu Madhani; Rajesh Borundia; Shahed Shaikh; > Jitendra Kalsaria; Sony Chacko; Sucheta Chakrabo

RE: [PATCH v3 2/8] drivers: net: Mark functions as static in qlcnic_83xx_hw.c

2013-12-19 Thread Shahed Shaikh
> -Original Message- > From: Rashika Kheria [mailto:rashika.khe...@gmail.com] > Sent: Thursday, December 19, 2013 2:18 PM > To: linux-kernel; Himanshu Madhani; Rajesh Borundia; Shahed Shaikh; > Jitendra Kalsaria; Sony Chacko; Sucheta Chakraborty; Dept-Eng Linux Driver; > netdev; j...@joshtr

[PATCH 3.11 008/208] ipv6: protect for_each_sk_fl_rcu in mem_check with rcu_read_lock_bh

2013-12-19 Thread Luis Henriques
3.11.10.2 -stable review patch. If anyone has any objections, please let me know. -- From: Hannes Frederic Sowa commit f8c31c8f80dd882f7eb49276989a4078d33d67a7 upstream. Fixes a suspicious rcu derference warning. Cc: Florent Fourcot Signed-off-by: Hannes Frederic Sowa Sign

[PATCH 3.11 002/208] aio: restore locking of ioctx list on removal

2013-12-19 Thread Luis Henriques
3.11.10.2 -stable review patch. If anyone has any objections, please let me know. -- From: Mateusz Guzik Commit 36f5588905c10a8c4568a210d601fe8c3c27e0f0 "aio: refcounting cleanup" resulted in ioctx_lock not being held during ctx removal, leaving the list susceptible to corrupt

[PATCH 3.11 035/208] packet: fix use after free race in send path when dev is released

2013-12-19 Thread Luis Henriques
3.11.10.2 -stable review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann commit e40526cb20b5ee53419452e1f03d97092f144418 upstream. Salam reported a use after free bug in PF_PACKET that occurs when we're sending out frames on a socket bound de

[PATCH 3.11 026/208] ipv6: fix leaking uninitialized port number of offender sockaddr

2013-12-19 Thread Luis Henriques
3.11.10.2 -stable review patch. If anyone has any objections, please let me know. -- From: Hannes Frederic Sowa commit 1fa4c710b6fe7b0aac9907240291b6fe6aafc3b8 upstream. Offenders don't have port numbers, so set it to 0. Signed-off-by: Hannes Frederic Sowa Signed-off-by: Da

[PATCH 3.11 018/208] isdnloop: use strlcpy() instead of strcpy()

2013-12-19 Thread Luis Henriques
3.11.10.2 -stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit f9a23c84486ed350cce7bb1b2828abd1f6658796 upstream. These strings come from a copy_from_user() and there is no way to be sure they are NUL terminated. Signed-off-by

[PATCH 3.11 036/208] af_packet: block BH in prb_shutdown_retire_blk_timer()

2013-12-19 Thread Luis Henriques
3.11.10.2 -stable review patch. If anyone has any objections, please let me know. -- From: Veaceslav Falico commit ec6f809ff6f19fafba3212f6aff0dda71dfac8e8 upstream. Currently we're using plain spin_lock() in prb_shutdown_retire_blk_timer(), however the timer might fire right

[PATCH 3.11 081/208] ALSA: hda - Use always amps for auto-mute on AD1986A codec

2013-12-19 Thread Luis Henriques
3.11.10.2 -stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit b3bd4fc3822a6b5883eaa556822487d87752d443 upstream. It seems that AD1986A cannot manage the dynamic pin on/off for auto-muting, but rather gets confused. Since each

[PATCH 3.11 069/208] ALSA: hda - Add mono speaker quirk for Dell Inspiron 5439

2013-12-19 Thread Luis Henriques
3.11.10.2 -stable review patch. If anyone has any objections, please let me know. -- From: David Henningsson commit eb82594b75b0cf54c667189e061934b7c49b5d42 upstream. This machine also has mono output if run through DAC node 0x03. BugLink: https://bugs.launchpad.net/bugs/125

[PATCH 3.11 052/208] time: Fix 1ns/tick drift w/ GENERIC_TIME_VSYSCALL_OLD

2013-12-19 Thread Luis Henriques
3.11.10.2 -stable review patch. If anyone has any objections, please let me know. -- From: Martin Schwidefsky commit 4be77398ac9d948773116b6be4a3c91b3d6ea18c upstream. Since commit 1e75fa8be9f (time: Condense timekeeper.xtime into xtime_sec - merged in v3.6), there has been a

[PATCH 3.11 093/208] elevator: acquire q->sysfs_lock in elevator_change()

2013-12-19 Thread Luis Henriques
3.11.10.2 -stable review patch. If anyone has any objections, please let me know. -- From: Tomoki Sekiyama commit 7c8a3679e3d8e9d92d58f282161760a0e247df97 upstream. Add locking of q->sysfs_lock into elevator_change() (an exported function) to ensure it is held to protect q->e

[PATCH 3.11 106/208] iwlwifi: dvm: don't override mac80211's queue setting

2013-12-19 Thread Luis Henriques
3.11.10.2 -stable review patch. If anyone has any objections, please let me know. -- From: Emmanuel Grumbach commit f6b129527ca15bae29ffb9417ddaa1c9d99ffc5d upstream. Since we set IEEE80211_HW_QUEUE_CONTROL, we can let mac80211 do the queue assignement and don't need to overr

[PATCH 3.11 118/208] ALSA: hda - Another Dell headset detection quirk

2013-12-19 Thread Luis Henriques
3.11.10.2 -stable review patch. If anyone has any objections, please let me know. -- From: Hui Wang commit 0dfb9809e93b60946d1915b554138eb93595860c upstream. On the Dell Inspiron 3045 machine (codec Subsystem Id: 0x10280628), no external microphone can be detected when pluggi

[PATCH 3.11 148/208] [media] af9035: fix broken I2C and USB I/O

2013-12-19 Thread Luis Henriques
3.11.10.2 -stable review patch. If anyone has any objections, please let me know. -- From: Antti Palosaari commit 9323297dc0ea9141f8099e474657391bb3ad98f8 upstream. There was three small buffer len calculation bugs which caused driver non-working. These are coming from recent

[PATCH 3.11 133/208] [media] af9035: add [0413:6a05] Leadtek WinFast DTV Dongle Dual

2013-12-19 Thread Luis Henriques
3.11.10.2 -stable review patch. If anyone has any objections, please let me know. -- From: Antti Palosaari commit 0c413d10515feae02cee967b31bb8afea8aa0d29 upstream. It is IT9135 dual design. Thanks to Michael Piko for reporting that! Reported-by: Michael Piko Signed-off-by:

[PATCH 3.11 164/208] ARM: 7912/1: check stack pointer in get_wchan

2013-12-19 Thread Luis Henriques
3.11.10.2 -stable review patch. If anyone has any objections, please let me know. -- From: Konstantin Khlebnikov commit 1b15ec7a7427d4188ba91b9bbac696250a059d22 upstream. get_wchan() is lockless. Task may wakeup at any time and change its own stack, thus each next stack frame

[PATCH 3.11 180/208] x86, efi: Don't use (U)EFI time services on 32 bit

2013-12-19 Thread Luis Henriques
3.11.10.2 -stable review patch. If anyone has any objections, please let me know. -- From: Matthew Garrett commit 04bf9ba720fcc4fa313fa122b799ae0989b6cd50 upstream. UEFI time services are often broken once we're in virtual mode. We were already refusing to use them on 64-bit

[PATCH 3.11 185/208] hwmon: HIH-6130: Support I2C bus drivers without I2C_FUNC_SMBUS_QUICK

2013-12-19 Thread Luis Henriques
3.11.10.2 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Jos=C3=A9=20Miguel=20Gon=C3=A7alves?= commit efabcc2123f0ed47870033b8d6fc73b50d76d635 upstream. Some I2C bus drivers do not allow zero-length data transfers which are required

[PATCH 3.11 166/208] x86, build: Pass in additional -mno-mmx, -mno-sse options

2013-12-19 Thread Luis Henriques
3.11.10.2 -stable review patch. If anyone has any objections, please let me know. -- From: "H. Peter Anvin" commit 8b3b005d675726e38bc504d2e35a991e55819155 upstream. In checkin 5551a34e5aea x86-64, build: Always pass in -mno-sse we unconditionally added -mno-sse to the

[PATCH 3.11 197/208] KVM: x86: fix guest-initiated crash with x2apic (CVE-2013-6376)

2013-12-19 Thread Luis Henriques
3.11.10.2 -stable review patch. If anyone has any objections, please let me know. -- From: Gleb Natapov commit 17d68b763f09a9ce824ae23eb62c9efc57b69271 upstream. A guest can cause a BUG_ON() leading to a host kernel crash. When the guest writes to the ICR to request an IPI, w

<    1   2   3   4   5   6   7   8   9   10   >