[for-next][PATCH 2/9] tracing: Fix traceoff_on_warning handling on boot command line

2014-11-14 Thread Steven Rostedt
From: "Luis Claudio R. Goncalves" According to the documentation, adding "traceoff_on_warning" to the boot command line should be enough to enable the feature. But right now it is necessary to specify "traceoff_on_warning=". Along with fixing that, also verify if the value passed, if any, is

[for-next][PATCH 8/9] ftrace-graph: show latency-format on print_graph_irq()

2014-11-14 Thread Steven Rostedt
From: Daniel Bristot de Oliveira On the function_graph tracer, the print_graph_irq() function prints a trace line with the flag ==> on an irq handler entry, and the flag <== on an irq handler return. But when the latency-format is enable, it is not printing the latency-format

[for-next][PATCH 4/9] tracing: kdb: Fix kernel livelock with empty buffers

2014-11-14 Thread Steven Rostedt
From: Daniel Thompson Currently kdb's ftdump command will livelock by constantly printk'ing the empty string at KERN_EMERG level if it run when the ftrace system is not in use. This occurs because trace_empty() never returns false when the ring buffers are left at the start of a non-consuming

Re: [PATCH 51/56] drivers/char/mem: support compiling out splice

2014-11-14 Thread josh
[Please don't top-post.] On Sat, Nov 15, 2014 at 12:11:23AM +0100, Pieter Smith wrote: > Off course! You are right. Most savings are gained from compiling out > fs/splice.c. I'll eliminate file-system driver changes as far as possible. > > Turning splice exports into inline NOPs when splice is

[for-next][PATCH 7/9] trace: Replace single-character seq_puts with seq_putc

2014-11-14 Thread Steven Rostedt
From: Rasmus Villemoes Printing a single character to a seqfile might as well be done with seq_putc instead of seq_puts; this avoids a strlen() call and a memory access. It also shaves another few bytes off the generated code. Link:

[for-next][PATCH 9/9] function_graph: Fix micro seconds notations

2014-11-14 Thread Steven Rostedt
From: Byungchul Park Usually, "msecs" notation means milli-seconds, and "usecs" notation means micro-seconds. Since the unit used in the code is micro-seconds, the notation should be replaced from msecs to usecs. Link:

[for-next][PATCH 3/9] tracing: kdb: Fix kernel panic during ftdump

2014-11-14 Thread Steven Rostedt
From: Daniel Thompson Currently kdb's ftdump command unconditionally crashes due to a null pointer de-reference whenever the command is run. This in turn causes the kernel to panic. The abridged stacktrace (gathered with ARCH=arm) is: --- cut here --- [] (panic) from [] (die+0x264/0x440) []

[git pull] drm fixes

2014-11-14 Thread Dave Airlie
Hi Linus, exynos infinite loop regressions fixed i915: one regression radeon: one race condition on monitor probing noveau: two regressions tegra: one vblank regression fix. Dave. The following changes since commit 03dca708521d30153fc5c7e2ff136f780a7372c9: Merge tag

Re: [PATCH 5/6] ACPI/EC: Cleanup QR_SC command processing by adding a kernel thread to poll EC events.

2014-11-14 Thread Rafael J. Wysocki
On Friday, November 14, 2014 01:21:51 AM Zheng, Lv wrote: > Hi, Rafael > > > From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] > > Sent: Friday, November 14, 2014 6:38 AM > > > > On Thursday, November 13, 2014 02:52:03 AM Zheng, Lv wrote: > > > Hi, Rafael > > > > > > > From: Rafael J. Wysocki

Re: [PATCH 3/3] ACPI / processor: Rename acpi_(un)map_lsapic() to acpi_(un)map_cpu()

2014-11-14 Thread Rafael J. Wysocki
On Friday, October 31, 2014 11:55:46 PM Rafael J. Wysocki wrote: > On Friday, October 31, 2014 07:49:49 AM Hanjun Guo wrote: > > On 2014年10月31日 04:12, Rafael J. Wysocki wrote: > > > On Thursday, October 30, 2014 05:53:00 PM Hanjun Guo wrote: > > >> acpi_map_lsapic() will allocate a logical CPU

Re: [PATCH] ACPI/OSL: Add IRQ handler flushing support in the OSL.

2014-11-14 Thread Rafael J. Wysocki
On Wednesday, November 05, 2014 03:06:13 PM Lv Zheng wrote: > It is possible that a GPE handler or a fixed event handler still accessed > after removing the handlers by invoking acpi_remove_gpe_handler() or > acpi_remove_fixed_event_handler(), this possibility can crash OPSM after a > module

[PATCH] ieee802154: fix error handling in ieee802154fake_probe()

2014-11-14 Thread Alexey Khoroshilov
In case of any failure ieee802154fake_probe() just calls unregister_netdev(). But it does not look safe to unregister netdevice before it was registered. The patch implements straightforward resource deallocation in case of failure in ieee802154fake_probe(). Found by Linux Driver Verification

[GIT PULL] Please pull NFS client bugfixes

2014-11-14 Thread Trond Myklebust
Hi Linus, The following changes since commit 0df1f2487d2f0d04703f142813d53615d62a1da4: Linux 3.18-rc3 (2014-11-02 15:01:51 -0800) are available in the git repository at: git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-3.18-3 for you to fetch changes up to

Re:

2014-11-14 Thread salim
Good day,This email is sequel to an ealier sent message of which you have not responded.I have a personal charity project which I will want you to execute on my behalf.Please kidnly get back to me with this code MHR/3910/2014 .You can reach me on mrsalimqa...@gmail.com . Thank you Salim Qadri --

Re: [PATCH] pinctrl: baytrail: show output gpio state correctly on Intel Baytrail

2014-11-14 Thread Rafael J. Wysocki
On Friday, November 14, 2014 11:53:40 AM Mika Westerberg wrote: > +Rafael > > On Fri, Nov 14, 2014 at 10:39:07AM +0100, Linus Walleij wrote: > > On Tue, Nov 4, 2014 at 7:57 PM, Mika Westerberg > > wrote: > > > On Tue, Nov 04, 2014 at 10:05:26AM -0800, David Cohen wrote: > > > > >> It looks we

Re: frequent lockups in 3.18rc4

2014-11-14 Thread Thomas Gleixner
On Fri, 14 Nov 2014, Linus Torvalds wrote: > On Fri, Nov 14, 2014 at 1:31 PM, Dave Jones wrote: > > I'm not sure how long this goes back (3.17 was fine afair) but I'm > > seeing these several times a day lately.. > > Plus, judging by the fact that there's a stale "leave_mm+0x210/0x210" >

[PATCH 2/2] clk: rockchip: Add support for the mmc clock phases using the framework

2014-11-14 Thread Alexandru M Stan
The drive and sample phases are generated by dividing an upstream parent clock by 2, this allows us to adjust the phase by 90 deg. There's also an option to have up to 255 delay elements (40-80 picoseconds long). This driver uses those elements (under the assumption that they're 60ps long) to

[PATCH 1/2] clk: rockchip: add bindings for the mmc clock phases

2014-11-14 Thread Alexandru M Stan
This will be used in a later patch for clock phase tuning. Suggested-by: Heiko Stuebner Signed-off-by: Alexandru M Stan --- include/dt-bindings/clock/rk3288-cru.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/include/dt-bindings/clock/rk3288-cru.h

[PATCH 0/2] For now all I have is the getter and setter for the phase, nothing that uses it

2014-11-14 Thread Alexandru M Stan
(that is ready). You can test the getter like this: localhost ~ # cat /sys/kernel/debug/clk/clk_summary|grep sample -C 1 sclk_sdio1002400 0 0 sdio1_sample 001200 0 0

Re: [V2 PATCH 01/10] added media agnostic (MA) USB HCD driver

2014-11-14 Thread Sean O. Stalley
On Wed, Nov 12, 2014 at 05:03:18PM -0500, Alan Stern wrote: > On Wed, 12 Nov 2014, Sean O. Stalley wrote: > > Our plan to support multiple MA devices is to have them all connected > > to the same virtual host controller, so only 1 would be needed. > > > > Would you prefer we have 1 host

Re: [PATCH 2/2] ARM: dts: Add devicetree for NovaTech OrionLXm

2014-11-14 Thread George McCollister
Felipe, Thank you for your reply. >> + vbat: fixedregulator@0 { >> + compatible = "regulator-fixed"; >> + regulator-name = "vbat"; >> + regulator-min-microvolt = <500>; >> + regulator-max-microvolt = <500>; >> +

Re: [PATCH] HIS: nokia-modem: fix error handling of irq_of_parse_and_map

2014-11-14 Thread Sebastian Reichel
On Fri, Nov 14, 2014 at 02:06:37PM -0800, Dmitry Torokhov wrote: > Return value of irq_of_parse_and_map() is unsigned int, with 0 > indicating failure, so testing for negative result never works. > > Signed-off-by: Dmitry Torokhov

[PATCH 2/2] drm/msm: Decouple hdmi driver from mdp driver

2014-11-14 Thread Hai Li
This change is to remove the hdmi structure from mdp kms data structure. To do this, the initialization flow is re-arranged. - hdmi_init is moved from modeset_init to hdmi_bind. - hdmi_destroy is called by hdmi_unbind and the use of kref is abandoned. - A new interface hdmi_set_encoder is

[PATCH 1/2] drm/msm: Register irq handler for each sub-system in mdss

2014-11-14 Thread Hai Li
All the sub-systems in mdss share the same irq. This change provides the sub-systems with the interfaces to register/unregister their own irq handlers. With this change, struct mdp5_kms does not have to keep the hdmi or edp context. Signed-off-by: Hai Li --- drivers/gpu/drm/msm/hdmi/hdmi.c

RE: [RESUBMIT] [PATCH] Replace mentions of "list_struct" to "list_head"

2014-11-14 Thread Deucher, Alexander
> -Original Message- > From: Andrey Utkin [mailto:andrey.krieger.ut...@gmail.com] > Sent: Thursday, November 13, 2014 8:10 PM > To: linux-...@vger.kernel.org; linux-kbu...@vger.kernel.org; linux- > me...@vger.kernel.org; linux-kernel@vger.kernel.org; dri- > de...@lists.freedesktop.org;

[PATCH] NFC: st21nfcb: fix error handling of irq_of_parse_and_map

2014-11-14 Thread Dmitry Torokhov
Return value of irq_of_parse_and_map() is unsigned int, with 0 indicating failure, so testing for negative result never works. Also report error returned by devm_gpio_request_one instead of clobbering it with -ENODEV. Signed-off-by: Dmitry Torokhov --- Not tested, found by casual code

Re: [PATCH] ACPI / GPIO: Driver GPIO mappings for ACPI GPIOs

2014-11-14 Thread Rafael J. Wysocki
On Friday, November 14, 2014 09:58:41 AM Linus Walleij wrote: > On Mon, Nov 3, 2014 at 11:56 PM, Rafael J. Wysocki wrote: > > On Monday, November 03, 2014 02:22:10 PM Linus Walleij wrote: > > >> With that change: > >> Reviewed-by: Linus Walleij > > > > OK, made the changes and added your

[PATCH] NFC: st21nfca: fix error handling of irq_of_parse_and_map

2014-11-14 Thread Dmitry Torokhov
Return value of irq_of_parse_and_map() is unsigned int, with 0 indicating failure, so testing for negative result never works. Also report error returned by devm_gpio_request_one instead of clobbering it with -ENODEV. Signed-off-by: Dmitry Torokhov --- drivers/nfc/st21nfca/i2c.c | 11

Re: frequent lockups in 3.18rc4

2014-11-14 Thread Dave Jones
On Fri, Nov 14, 2014 at 02:01:27PM -0800, Linus Torvalds wrote: > Plus, judging by the fact that there's a stale "leave_mm+0x210/0x210" > (wouldn't that be the *next* function, namely do_flush_tlb_all()) > pointer on the stack, I suspect that whole range-flushing doesn't even > trigger, and

[PATCH] NFC: pn544: i2c: fix error handling of irq_of_parse_and_map

2014-11-14 Thread Dmitry Torokhov
Return value of irq_of_parse_and_map() is unsigned int, with 0 indicating failure, so testing for negative result never works. Signed-off-by: Dmitry Torokhov --- Not tested, found by casual code inspection. drivers/nfc/pn544/i2c.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-)

Re: [PATCH v2] ACPI/osl: speedup grace period in acpi_os_map_cleanup

2014-11-14 Thread Rafael J. Wysocki
On Sunday, November 09, 2014 02:00:38 PM Paul E. McKenney wrote: > On Sun, Nov 09, 2014 at 01:53:37PM +0400, Konstantin Khlebnikov wrote: > > ACPI maintains cache of ioremap regions to speed up operations and > > access to them from irq context where ioremap() calls aren't allowed. > > This code

[git pull] Input updates for 3.18-rc4

2014-11-14 Thread Dmitry Torokhov
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git for-linus or master.kernel.org:/pub/scm/linux/kernel/git/dtor/input.git for-linus to receive updates for the input subsystem. Mostly small fixups to PS/2 tochpad drivers (ALPS, Elantech,

Request for help: what did I do wrong with idtentry?

2014-11-14 Thread Andy Lutomirski
This patch: https://git.kernel.org/cgit/linux/kernel/git/luto/linux.git/commit/?h=x86/paranoid=5b58c7ac3034a8d62e42a6ca91c7a95e887542e7 which is functionally identical to: http://lkml.kernel.org/g/76efedcd3622e61feb2982eabe52a6bf531396a9.1415917623.git.l...@amacapital.net causes Tony's MCE

[PATCH] PCI: rcar: fix error handling of irq_of_parse_and_map

2014-11-14 Thread Dmitry Torokhov
Return value of irq_of_parse_and_map() is unsigned int, with 0 indicating failure, so testing for negative result never works. Signed-off-by: Dmitry Torokhov --- Not tested, found by casual code inspection. drivers/pci/host/pcie-rcar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

Re: [PATCH] PM / domains: Kconfig: always enable PM_RUNTIME when genpd enabled

2014-11-14 Thread Rafael J. Wysocki
On Friday, November 14, 2014 09:36:17 AM Kevin Hilman wrote: > Geert Uytterhoeven writes: > > > Hi Kevin, > > > > On Thu, Nov 13, 2014 at 11:28 PM, Kevin Hilman wrote: > >> It makes little sense to use generic power domains without runtime PM. > > > > Does it? > > It still powers down the PM

[PATCH] PCI: keystone: fix error handling of irq_of_parse_and_map

2014-11-14 Thread Dmitry Torokhov
Return value of irq_of_parse_and_map() is unsigned int, with 0 indicating failure, so testing for negative result never works. Signed-off-by: Dmitry Torokhov --- Not tested, found by casual code inspection. drivers/pci/host/pci-keystone.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH] irqchip: brcmstb-l2: fix error handling of irq_of_parse_and_map

2014-11-14 Thread Dmitry Torokhov
Return value of irq_of_parse_and_map() is unsigned int, with 0 indicating failure, so testing for negative result never works. Signed-off-by: Dmitry Torokhov --- Not tested, found by casual code inspection. drivers/irqchip/irq-brcmstb-l2.c | 4 ++-- 1 file changed, 2 insertions(+), 2

Re: [PATCH] x86, ia64: Do not lose track of the EFI default VGA device

2014-11-14 Thread Bruno Prémont
Hi Hendrick, On Fri, 14 November 2014 Henrik Rydberg wrote: > > So it would need to at least be select VGA_ARB if (PCI && !S390) > > in order to not have broken kernel configuration (in more or less > > exotic cases) while depends on VGA_ARB would be the only correct option > > if the rule

[PATCH] irqchip: bcm7120-l2: fix error handling of irq_of_parse_and_map

2014-11-14 Thread Dmitry Torokhov
Return value of irq_of_parse_and_map() is unsigned int, with 0 indicating failure, so testing for negative result never works. Signed-off-by: Dmitry Torokhov --- Not tested, found by casual code inspection. drivers/irqchip/irq-bcm7120-l2.c | 4 ++-- 1 file changed, 2 insertions(+), 2

Re: [PATCH] PM / domains: Kconfig: always enable PM_RUNTIME when genpd enabled

2014-11-14 Thread Rafael J. Wysocki
On Friday, November 14, 2014 09:27:41 AM Kevin Hilman wrote: > Hi Ulf, > > Ulf Hansson writes: > > > On 13 November 2014 23:28, Kevin Hilman wrote: > >> From: Kevin Hilman > >> > >> It makes little sense to use generic power domains without runtime PM. > >> Also, since the complexities of

Re: [PATCHv2 net 0/4] Implement ndo_gso_check() for vxlan nics

2014-11-14 Thread David Miller
From: Joe Stringer Date: Thu, 13 Nov 2014 16:38:11 -0800 > Most NICs that report NETIF_F_GSO_UDP_TUNNEL support VXLAN, and not other > UDP-based encapsulation protocols where the format and size of the header may > differ. This patch series implements a generic ndo_gso_check() for detecting >

[PATCH] brcmfmac: fix error handling of irq_of_parse_and_map

2014-11-14 Thread Dmitry Torokhov
Return value of irq_of_parse_and_map() is unsigned int, with 0 indicating failure, so testing for negative result never works. Signed-off-by: Dmitry Torokhov --- Not tested, found by casual code inspection. drivers/net/wireless/brcm80211/brcmfmac/of.c | 4 ++-- 1 file changed, 2

Re: pull request: wireless 2014-11-13

2014-11-14 Thread David Miller
From: "John W. Linville" Date: Thu, 13 Nov 2014 16:28:16 -0500 > Please pull this set of a few more wireless fixes intended for the > 3.18 stream... Pulled, thanks John. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

[PATCH] [media] exynos4-is: fix error handling of irq_of_parse_and_map

2014-11-14 Thread Dmitry Torokhov
Return value of irq_of_parse_and_map() is unsigned int, with 0 indicating failure, so testing for negative result never works. Signed-off-by: Dmitry Torokhov --- Not tested, found by casual code inspection. drivers/media/platform/exynos4-is/fimc-is.c | 4 ++-- 1 file changed, 2 insertions(+),

Re: [PATCH] inetdevice: fixed signed integer overflow

2014-11-14 Thread David Miller
From: Vincent Benayoun Date: Thu, 13 Nov 2014 15:04:57 + > From f25ff0f2645f9763552147d480f86973b7041e26 Mon Sep 17 00:00:00 2001 > From: Vincent BENAYOUN > Date: Thu, 13 Nov 2014 13:47:26 +0100 > Subject: [PATCH] inetdevice: fixed signed integer overflow > > There could be a signed

Re: [RFC PATCH] x86, entry: Switch stacks on a paranoid entry from userspace

2014-11-14 Thread Andy Lutomirski
On Fri, Nov 14, 2014 at 1:56 PM, Luck, Tony wrote: >>> Right, I can do it in the meantime and we can always experiment more >>> later. Getting rid of _TIF_MCE_NOTIFY is a good thing already. >> >> Yep, it looks pretty simple - not tested yet, it builds though. > > It seems pretty solid under test

[PATCH] tty: serial: msm_serial: document DT alias

2014-11-14 Thread Frank Rowand
From: Frank Rowand Update devicetree binding for msm_serial to reflect msm_serial_probe() getting line id (port number) from the serialN alias. Signed-off-by: Frank Rowand --- Documentation/devicetree/bindings/serial/qcom,msm-uartdm.txt | 15 +-- 1 file changed, 13 insertions(+), 2

[PATCH] HIS: nokia-modem: fix error handling of irq_of_parse_and_map

2014-11-14 Thread Dmitry Torokhov
Return value of irq_of_parse_and_map() is unsigned int, with 0 indicating failure, so testing for negative result never works. Signed-off-by: Dmitry Torokhov --- Not tested, found by casual code inspection. drivers/hsi/clients/nokia-modem.c | 4 ++-- 1 file changed, 2 insertions(+), 2

Re: [PATCH] ARM: b.L: fix unmet dependency for CPU_PM

2014-11-14 Thread Colin Cross
On Thu, Nov 13, 2014 at 10:10 PM, Pankaj Dubey wrote: > +CC: Colin Cross, James Hogan > > On Thursday, November 13, 2014 11:30 PM, Nicolas Pitre wrote: >> To: Russell King - ARM Linux >> Cc: Pankaj Dubey; linux-arm-ker...@lists.infradead.org; linux- >> ker...@vger.kernel.org >> Subject: Re:

Re: N900 modem support in 3.18-rc1

2014-11-14 Thread Sebastian Reichel
Hi, On Fri, Nov 14, 2014 at 06:34:18PM +0100, Pali Rohár wrote: > Anyway what is /dev/cmt_speech doing? If it exports gsm voice > call data, [...] Right. > [...] should not it have alsa snd interface? Sounds also like a promising standardized kernel interface. I wonder why a custom interface

[PATCH] nios2: fix error handling of irq_of_parse_and_map

2014-11-14 Thread Dmitry Torokhov
Return value of irq_of_parse_and_map() is unsigned int, with 0 indicating failure, so testing for negative result never works. Signed-off-by: Dmitry Torokhov --- Not tested, found by casual code inspection. arch/nios2/kernel/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [PATCH] timekeeping: Move persistent clock registration code from ARM to kernel

2014-11-14 Thread Anatol Pomozov
Hi On Thu, Nov 13, 2014 at 2:46 PM, Thomas Gleixner wrote: > On Mon, 10 Nov 2014, Anatol Pomozov wrote: >> On Mon, Nov 10, 2014 at 1:53 AM, Thierry Reding >> wrote: >> > On Fri, Nov 07, 2014 at 11:34:15AM -0800, Anatol Pomozov wrote: >> >> ARM timekeeping functionality allows to register

Re: frequent lockups in 3.18rc4

2014-11-14 Thread Linus Torvalds
On Fri, Nov 14, 2014 at 1:31 PM, Dave Jones wrote: > I'm not sure how long this goes back (3.17 was fine afair) but I'm > seeing these several times a day lately.. Hmm. I don't see what would have changed in this area since v3.17. There's a TLB range fix in mm/memory.c, but for the life of me I

[PATCH V2 2/2] dmaengine: Add driver for IMG MDC

2014-11-14 Thread Andrew Bresticker
Add support for the IMG Multi-threaded DMA Controller (MDC) found on certain IMG SoCs. Currently this driver supports the variant present on the MIPS-based Pistachio SoC. Signed-off-by: Andrew Bresticker --- Changes from v1: - split device_control - added generic slave caps - iterate through

[PATCH V2 0/2] dmaengine: Support for IMG MDC

2014-11-14 Thread Andrew Bresticker
This series adds support for the IMG Multi-threaded DMA Controller (MDC) which is found on IMG SoCs. Currently this driver only supports the variant found on the MIPS-based Pistachio SoC. The MDC supports slave and memory-to-memory transfers on up to 32 channels. Requests from channels are

[PATCH V2 1/2] dmaengine: Add binding document for IMG MDC

2014-11-14 Thread Andrew Bresticker
Add a binding document for the IMG Multi-threaded DMA Controller (MDC) present on the MIPS-based Pistachio and other IMG SoCs. Signed-off-by: Andrew Bresticker --- No changes from v1. --- .../devicetree/bindings/dma/img-mdc-dma.txt| 57 ++ 1 file changed, 57

Re: N900 modem support in 3.18-rc1

2014-11-14 Thread Sebastian Reichel
Hi, On Fri, Nov 14, 2014 at 09:54:42PM +0200, Ivaylo Dimitrov wrote: > On 14.11.2014 19:20, Sebastian Reichel wrote: > >The patch looks ok. It does not cleanup the cmt-speech driver for > >mainline usage, but it should work. Before adding this driver to the > >mainline kernel there should be open

RE: [RFC PATCH] x86, entry: Switch stacks on a paranoid entry from userspace

2014-11-14 Thread Luck, Tony
>> Right, I can do it in the meantime and we can always experiment more >> later. Getting rid of _TIF_MCE_NOTIFY is a good thing already. > > Yep, it looks pretty simple - not tested yet, it builds though. It seems pretty solid under test so far. Can we make it pass the address/flag to

Re: x86 math_error warning in Linux kernel 3.10

2014-11-14 Thread Vinson Lee
On Fri, Nov 14, 2014 at 12:39 PM, Thomas Gleixner wrote: > On Fri, 14 Nov 2014, Borislav Petkov wrote: >> On Fri, Nov 14, 2014 at 12:19:16PM -0800, Vinson Lee wrote: >> > Hi. >> > >> > We hit this x86 math_error warning in Linux kernel 3.10. >> > >> > [ cut here ] >> >

[GIT PULL] EFI changes for v3.19

2014-11-14 Thread Matt Fleming
Folks, Please queue up the following changes for v3.19. Inclued are two straight forward changes from Mathias, and another attempt from Ard at moving the x86 EFI boot stub to the libstub library. It would be great to get these baking in linux-next for a bit. The following changes since commit

[PATCH] sata_fsl: fix error handling of irq_of_parse_and_map

2014-11-14 Thread Dmitry Torokhov
irq_of_parse_and_map() returns 0 on error (the result is unsigned int), so testing for negative result never works. Signed-off-by: Dmitry Torokhov --- Not tested, found by casual code inspection. drivers/ata/sata_fsl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH v2 1/1] ftruncate, truncate: create fanotify events

2014-11-14 Thread Heinrich Schuchardt
Hello Jan, thank you for the review. On 14.11.2014 11:01, Jan Kara wrote: We only want to create FAN_MODIFY events for ATTR_SIZE. So only for these events we need a path. To my knowledge notify_change is called with ATTR_SIZE from do_truncate(), ecryptfs_truncate() and will be called with

[PATCH] crypto: prefix module autoloading with "crypto-"

2014-11-14 Thread Kees Cook
This prefixes all crypto module loading with "crypto-" so we never run the risk of exposing module auto-loading to userspace via a crypto API, as demonstrated by Mathias Krause: https://lkml.org/lkml/2013/3/4/70 Signed-off-by: Kees Cook --- arch/arm/crypto/aes_glue.c | 4 ++--

[PATCH] gpio-tz1090: fix error handling of irq_of_parse_and_map

2014-11-14 Thread Dmitry Torokhov
irq_of_parse_and_map() returns 0 on error, so testing for negative result never works. Signed-off-by: Dmitry Torokhov --- Not tested, found by casual inspection of the code. drivers/gpio/gpio-tz1090.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

frequent lockups in 3.18rc4

2014-11-14 Thread Dave Jones
I'm not sure how long this goes back (3.17 was fine afair) but I'm seeing these several times a day lately.. NMI watchdog: BUG: soft lockup - CPU#3 stuck for 22s! [trinity-c129:25570] irq event stamp: 74224 hardirqs last enabled at (74223): [] restore_args+0x0/0x30 hardirqs last disabled at

[PATCH] ARM: dts: rockchip: enable PWM on Radxa Rock

2014-11-14 Thread Julien CHAUVEAU
This enables user space access to the 3 PWM available on the Radxa Rock headers. Signed-off-by: Julien CHAUVEAU --- arch/arm/boot/dts/rk3188-radxarock.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/rk3188-radxarock.dts

[PATCH v4 00/11] perf: Intel Cache QoS Monitoring support

2014-11-14 Thread Matt Fleming
From: Matt Fleming This patch series adds a new PMU driver for the Intel Cache Monitoring hardware feature available in Intel Xeon processors, which allows monitoring of LLC occupancy on a task, group or system-wide basis. The first few patches modify tools/perf to handle per-package counters,

[PATCH 01/11] perf tools: Parse event per-package info files

2014-11-14 Thread Matt Fleming
From: Matt Fleming In preparation for upcoming PMU drivers that support system-wide, per-package counters and hence report duplicate values, add support for parsing the .per-pkg file. An event can export this info file to indicate that all but one value per socket should be discarded. The

[PATCH 03/11] perf: Make perf_cgroup_from_task() global

2014-11-14 Thread Matt Fleming
From: Matt Fleming Move perf_cgroup_from_task() from kernel/events/ to include/linux/ along with the necessary struct definitions, so that it can be used by the PMU code. When the upcoming Intel Cache Monitoring PMU driver assigns monitoring IDs to perf events, it needs to be able to check

[PATCH 05/11] perf: Move cgroup init before PMU ->event_init()

2014-11-14 Thread Matt Fleming
From: Matt Fleming The Intel QoS PMU needs to know whether an event is part of a cgroup during ->event_init(), because tasks in the same cgroup share a monitoring ID. Move the cgroup initialisation before calling into the PMU driver. Cc: Jiri Olsa Cc: Arnaldo Carvalho de Melo Cc: Peter

[PATCH 02/11] perf tools: Implement snapshot event file logic

2014-11-14 Thread Matt Fleming
From: Jiri Olsa Adding support to parse and read the snapshot file, and using this information to omit the compute_delta function logic. Signed-off-by: Jiri Olsa --- tools/perf/util/evsel.c| 6 -- tools/perf/util/evsel.h| 1 + tools/perf/util/parse-events.c | 1 +

[PATCH v4 09/11] perf/x86/intel: Support task events with Intel CQM

2014-11-14 Thread Matt Fleming
From: Matt Fleming Add support for task events as well as system-wide events. This change has a big impact on the way that we gather LLC occupancy values in intel_cqm_event_read(). Currently, for system-wide (per-cpu) events we defer processing to userspace which knows how to discard all but

[PATCH 06/11] x86: Add support for Intel Cache QoS Monitoring (CQM) detection

2014-11-14 Thread Matt Fleming
From: Peter P Waskiewicz Jr This patch adds support for the new Cache QoS Monitoring (CQM) feature found in future Intel Xeon processors. It includes the new values to track CQM resources to the cpuinfo_x86 structure, plus the CPUID detection routines for CQM. CQM allows a process, or set of

[PATCH 08/11] perf/x86/intel: Implement LRU monitoring ID allocation for CQM

2014-11-14 Thread Matt Fleming
From: Matt Fleming It's possible to run into issues with re-using unused monitoring IDs because there may be stale cachelines associated with that ID from a previous allocation. This can cause the LLC occupancy values to be inaccurate. To attempt to mitigate this problem we place the IDs on a

[PATCH 11/11] perf/x86/intel: Enable conflicting event scheduling for CQM

2014-11-14 Thread Matt Fleming
From: Matt Fleming We can leverage the workqueue that we use for RMID rotation to support scheduling of conflicting monitoring events. Allowing events that monitor conflicting things is done at various other places in the perf subsystem, so there's precedent there. An example of two conflicting

Re: [PATCH v7 11/13] ARM: dts: Berlin: enable USB on the BG2Q DMP

2014-11-14 Thread Antoine Tenart
Hi, On Fri, Nov 14, 2014 at 09:47:11PM +0300, Sergei Shtylyov wrote: > On 11/14/2014 06:26 PM, Antoine Tenart wrote: > > >Enable the 2 available USB PHY and USB nodes on the Marvell Berlin BG2Q > >DMP. > > >Signed-off-by: Antoine Tenart > >--- > > arch/arm/boot/dts/berlin2q-marvell-dmp.dts |

[PATCH v4 10/11] perf/x86/intel: Perform rotation on Intel CQM RMIDs

2014-11-14 Thread Matt Fleming
From: Matt Fleming There are many use cases where people will want to monitor more tasks than there exist RMIDs in the hardware, meaning that we have to perform some kind of multiplexing. We do this by "rotating" the RMIDs in a workqueue, and assigning an RMID to a waiting event when the RMID

[PATCH 07/11] perf/x86/intel: Add Intel Cache QoS Monitoring support

2014-11-14 Thread Matt Fleming
From: Matt Fleming Future Intel Xeon processors support a Cache QoS Monitoring feature that allows tracking of the LLC occupancy for a task or task group, i.e. the amount of data in pulled into the LLC for the task (group). Currently the PMU only supports per-cpu events. We create an event for

[PATCH 04/11] perf: Add ->count() function to read per-package counters

2014-11-14 Thread Matt Fleming
From: Matt Fleming For PMU drivers that record per-package counters, the ->count variable cannot be used to record an accurate aggregated value, since it's not possible to perform SMP cross-calls to cpus on other packages from the context in which we update ->count. Introduce a new optional

Re: N900 modem support in 3.18-rc1

2014-11-14 Thread Pavel Machek
Hi! On Fri 2014-11-14 21:54:42, Ivaylo Dimitrov wrote: > On 14.11.2014 19:20, Sebastian Reichel wrote: > > > >The patch looks ok. It does not cleanup the cmt-speech driver for > >mainline usage, but it should work. Before adding this driver to the > >mainline kernel there should be open source

Re: [PATCH v7 08/13] usb: chipidea: add a usb2 driver for ci13xxx

2014-11-14 Thread Felipe Balbi
On Fri, Nov 14, 2014 at 10:10:52PM +0100, Antoine Tenart wrote: > Felipe, > > On Fri, Nov 14, 2014 at 03:08:32PM -0600, Felipe Balbi wrote: > > On Fri, Nov 14, 2014 at 04:25:58PM +0100, Antoine Tenart wrote: > > > Add a USB2 ChipIdea driver for ci13xxx, with optional PHY, clock > > > and DMA

Re: [PATCH v3 00/21] backports: add kernel integration support

2014-11-14 Thread Luis R. Rodriguez
On Fri, Nov 14, 2014 at 12:54 PM, Johannes Berg wrote: > On Fri, 2014-11-14 at 12:52 -0800, Luis R. Rodriguez wrote: >> On Fri, Nov 14, 2014 at 12:50 PM, Johannes Berg >> wrote: >> > On Tue, 2014-11-11 at 00:14 -0800, Luis R. Rodriguez wrote: >> >> From: "Luis R. Rodriguez" >> >> >> >> This

Re: [PATCH v7 08/13] usb: chipidea: add a usb2 driver for ci13xxx

2014-11-14 Thread Antoine Tenart
Felipe, On Fri, Nov 14, 2014 at 03:08:32PM -0600, Felipe Balbi wrote: > On Fri, Nov 14, 2014 at 04:25:58PM +0100, Antoine Tenart wrote: > > Add a USB2 ChipIdea driver for ci13xxx, with optional PHY, clock > > and DMA mask, to support USB2 ChipIdea controllers that don't need > > specific

Re: [PATCHv7 6/8] usb: dwc2: gadget: Do not fail probe if there isn't a clock node

2014-11-14 Thread Felipe Balbi
On Fri, Nov 14, 2014 at 09:01:49PM +, Paul Zimmerman wrote: > > From: dingu...@opensource.altera.com [mailto:dingu...@opensource.altera.com] > > Sent: Tuesday, November 11, 2014 9:14 AM > > > > From: Dinh Nguyen > > > > Since the dwc2 hcd driver is currently not looking for a clock node

Re: [PATCH 1/6] x86: Add support for the pcommit instruction

2014-11-14 Thread Andy Lutomirski
On Fri, Nov 14, 2014 at 1:07 PM, Ross Zwisler wrote: > On Wed, 2014-11-12 at 19:25 -0800, Andy Lutomirski wrote: >> On 11/11/2014 10:43 AM, Ross Zwisler wrote: >> > Add support for the new pcommit instruction. This instruction was >> > announced in the document "Intel Architecture Instruction

Re: [PATCH v7 08/13] usb: chipidea: add a usb2 driver for ci13xxx

2014-11-14 Thread Felipe Balbi
On Fri, Nov 14, 2014 at 04:25:58PM +0100, Antoine Tenart wrote: > Add a USB2 ChipIdea driver for ci13xxx, with optional PHY, clock > and DMA mask, to support USB2 ChipIdea controllers that don't need > specific functions. > > Tested on the Marvell Berlin SoCs USB controllers. > > Signed-off-by:

Re: [PATCH 1/6] x86: Add support for the pcommit instruction

2014-11-14 Thread Ross Zwisler
On Wed, 2014-11-12 at 19:25 -0800, Andy Lutomirski wrote: > On 11/11/2014 10:43 AM, Ross Zwisler wrote: > > Add support for the new pcommit instruction. This instruction was > > announced in the document "Intel Architecture Instruction Set Extensions > > Programming Reference" with reference

Re: [PATCH] usb: musb: core: Disable the Interrupts till BABBLE is fully handled

2014-11-14 Thread Felipe Balbi
On Fri, Nov 14, 2014 at 02:41:57PM +0530, George Cherian wrote: > > On 11/14/2014 02:12 PM, Sebastian Andrzej Siewior wrote: > >On 11/14/2014 09:24 AM, George Cherian wrote: > >>Disable the MUSB interrupts till MUSB is recovered fully from BABBLE > >>condition. There are chances that we could get

RE: [PATCHv7 6/8] usb: dwc2: gadget: Do not fail probe if there isn't a clock node

2014-11-14 Thread Paul Zimmerman
> From: dingu...@opensource.altera.com [mailto:dingu...@opensource.altera.com] > Sent: Tuesday, November 11, 2014 9:14 AM > > From: Dinh Nguyen > > Since the dwc2 hcd driver is currently not looking for a clock node during > init, we should not completely fail if there isn't a clock provided. >

Re: [PATCH 0/7] Fixes for ALPS trackstick

2014-11-14 Thread Dmitry Torokhov
Hi Pali, On Friday, November 14, 2014 08:38:19 PM Pali Rohár wrote: > This patch series fix detection and identifying trackstick on machines with > ALPS devices. Last patch split trackstick and bare PS/2 mouse packets > between dev2 and dev3 input devices which make sure that driver will send >

Re: [RFC][PATCH 18/23 v4] tracing: Add seq_buf_get_buf() and seq_buf_commit() helper functions

2014-11-14 Thread Steven Rostedt
On Fri, 14 Nov 2014 15:31:23 -0500 Steven Rostedt wrote: > Hmm, I guess I can still make this change. The seq_commit() comment > states that @num needs to be < 0 if the data did not fit, and if it is > in overflow state, then it should be -1 not size + 1 (or size for the > old way). I made the

RE: [PATCHv7 7/8] usb: dwc2: move usb_disabled() call to host driver only

2014-11-14 Thread Paul Zimmerman
> From: dingu...@opensource.altera.com [mailto:dingu...@opensource.altera.com] > Sent: Tuesday, November 11, 2014 9:14 AM > > From: Dinh Nguyen > > Since platform.c will get built for both Host and Gadget, if we leave the > usb_disabled() call in platform.c, it results in the following build

Re: [RFC][PATCH 17/23 v4] tracing: Have seq_buf use full buffer

2014-11-14 Thread Steven Rostedt
On Fri, 14 Nov 2014 12:30:01 -0500 Steven Rostedt wrote: > > Hmm, we should not apply this patch before we fix all other locations > > accessing seq.len. We need to make sure that they do not access > > outside of the buffer when seq.len = seq.size + 1. > > > > See my comments for

[PATCH 1/1 net-next] wireless: remove unnecessary sizeof(u8)

2014-11-14 Thread Fabian Frederick
sizeof(u8) is always 1. Signed-off-by: Fabian Frederick --- drivers/net/wireless/b43/ppr.c| 2 +- drivers/net/wireless/iwlwifi/pcie/trans.c | 2 +- drivers/net/wireless/rtlwifi/efuse.c | 16 3 files changed, 10 insertions(+), 10 deletions(-) diff --git

Re: [PATCH v2 1/2] kernel: printk: specify alignment for struct printk_log

2014-11-14 Thread Andrey Ryabinin
2014-11-14 20:22 GMT+03:00 Joe Perches : > On Fri, 2014-11-14 at 15:50 +0300, Andrey Ryabinin wrote: >> On architectures that have support for efficient unaligned access >> struct printk_log has 4-byte alignment. >> Specify alignment attribute in type declaration. >> >> The whole point of this

Re: [PATCH v3 00/21] backports: add kernel integration support

2014-11-14 Thread Johannes Berg
On Fri, 2014-11-14 at 12:52 -0800, Luis R. Rodriguez wrote: > On Fri, Nov 14, 2014 at 12:50 PM, Johannes Berg > wrote: > > On Tue, 2014-11-11 at 00:14 -0800, Luis R. Rodriguez wrote: > >> From: "Luis R. Rodriguez" > >> > >> This third series should hopefully address all pending feedback. > >>

Re: [PATCH v3 00/21] backports: add kernel integration support

2014-11-14 Thread Luis R. Rodriguez
On Fri, Nov 14, 2014 at 12:50 PM, Johannes Berg wrote: > On Tue, 2014-11-11 at 00:14 -0800, Luis R. Rodriguez wrote: >> From: "Luis R. Rodriguez" >> >> This third series should hopefully address all pending feedback. >> I've split out patches even more, but more importantly have >> made the

RE: [PATCHv7 5/8] usb: dwc2: Update common interrupt handler to call gadget interrupt handler

2014-11-14 Thread Paul Zimmerman
> From: dingu...@opensource.altera.com [mailto:dingu...@opensource.altera.com] > Sent: Tuesday, November 11, 2014 9:14 AM > > From: Dinh Nguyen > > Make dwc2_handle_common_intr call the gadget interrupt function when operating > in peripheral mode. Remove the spinlock functions in s3c_hsotg_irq

Re: [PATCH v3 10/21] backports: avoid git tree reinitialization

2014-11-14 Thread Luis R. Rodriguez
On Fri, Nov 14, 2014 at 12:47 PM, Johannes Berg wrote: > On Tue, 2014-11-11 at 00:15 -0800, Luis R. Rodriguez wrote: >> From: "Luis R. Rodriguez" >> >> When using backports against for packaging with --gitdebug you either >> have to use --clean or assume the directory is empty already. In either

Re: [PATCH v3 00/21] backports: add kernel integration support

2014-11-14 Thread Johannes Berg
On Tue, 2014-11-11 at 00:14 -0800, Luis R. Rodriguez wrote: > From: "Luis R. Rodriguez" > > This third series should hopefully address all pending feedback. > I've split out patches even more, but more importantly have > made the parser simpler by both integrating the logic required > to

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