Re: [PATCH] ARM: SAMSUNG: remove dead #elif CONFIG_S3C24XX_DMAC

2014-12-18 Thread Heiko Stübner
Hi Stefan, Am Donnerstag, 18. Dezember 2014, 14:43:01 schrieb Stefan Hengelein: > So you actually tested the code I removed in the patch? can you > provide a configuration that compiles that piece of code? Yep, one of my boards (Asus eeeReader DR-900) was actually able to transmit stuff via the l

Re: linux-next 20141216 BUG: sleeping function called from invalid context at mm/slab.c:2849

2014-12-18 Thread Eric Paris
On Thu, 2014-12-18 at 13:44 -0500, Richard Guy Briggs wrote: > On 14/12/18, Eric Paris wrote: > > On Thu, 2014-12-18 at 12:46 -0500, Richard Guy Briggs wrote: > > > On 14/12/18, Eric Paris wrote: > > > > On Thu, 2014-12-18 at 11:45 -0500, valdis.kletni...@vt.edu wrote: > > > > > On Tue, 16 Dec 2014

Re: [RFC 0/4] Stop maintainer abuse

2014-12-18 Thread Mark Brown
On Wed, Dec 17, 2014 at 10:52:27AM +0100, Borislav Petkov wrote: > On Wed, Dec 17, 2014 at 12:14:24AM -0500, Theodore Ts'o wrote: > > And what's wrong for one maintainer will be right for another, and > > vice versa. > Ok, so what's wrong with "should not expect any feedback during the > merge w

Re: [RFC PATCH 2/2] iommu: rockchip: Handle system-wide and runtime PM

2014-12-18 Thread Laurent Pinchart
Hi Rafael, On Thursday 18 December 2014 02:32:30 Rafael J. Wysocki wrote: > On Wednesday, December 17, 2014 02:15:31 AM Laurent Pinchart wrote: > > On Tuesday 16 December 2014 11:18:33 Tomasz Figa wrote: > >> On Tue, Dec 16, 2014 at 4:53 AM, Laurent Pinchart wrote: > >>> On Monday 15 December 2014

Re: [f2fs-dev] [PATCH v3] f2fs: use ra_meta_pages to simplify readahead code in restore_node_summary

2014-12-18 Thread Jaegeuk Kim
Hi Chao, On Thu, Dec 18, 2014 at 06:29:05PM +0800, Chao Yu wrote: > Use more common function ra_meta_pages() with META_POR to readahead node > blocks > in restore_node_summary() instead of ra_sum_pages(), hence we can simplify the > readahead code there, and also we can remove unused function ra_

Re: [RFC PATCH] mm: cma: add functions for getting allocation info

2014-12-18 Thread Michal Nazarewicz
On Wed, Dec 17 2014, Gregory Fong wrote: > These functions allow for retrieval of information on what is allocated from > within a given CMA region. It can be useful to know the number of distinct > contiguous allocations and where in the region those allocations are located. > > Based on an init

Re: [RFC PATCH net-next v2 1/1] net: Support for switch port configuration

2014-12-18 Thread John Fastabend
On 12/18/2014 10:14 AM, Roopa Prabhu wrote: > On 12/18/14, 10:02 AM, Varlese, Marco wrote: >> Removed unnecessary content for ease of reading... >> +/* Switch Port Attributes section */ + +enum { +IFLA_ATTR_UNSPEC, +IFLA_ATTR_LEARNING, >>> An

Re: linux-next 20141216 BUG: sleeping function called from invalid context at mm/slab.c:2849

2014-12-18 Thread Valdis . Kletnieks
On Thu, 18 Dec 2014 11:50:20 -0500, Eric Paris said: > On Thu, 2014-12-18 at 11:45 -0500, valdis.kletni...@vt.edu wrote: > > On Tue, 16 Dec 2014 20:09:54 -0500, Valdis Kletnieks said: > > > > > Spotted these two while booting single-user on 20141216. 20141208 > > > doesn't throw these, so it's som

Re: [PATCH] CMA: add the amount of cma memory in meminfo

2014-12-18 Thread Michal Nazarewicz
On Mon, Dec 15 2014, Xishi Qiu wrote: > The "mere white-space change" you said a few days ago,how about change like > this > ", nid, K(...)" -> ",nid, K(xxx)"? If space is all you're changing, I wouldn't change it. -- Best regards, _ _ .o. | Liege of

Re: [Xen-devel] [PATCH v2 2/2] x86/xen: allow privcmd hypercalls to be preempted

2014-12-18 Thread Konrad Rzeszutek Wilk
> index 000..b5a3e98 > --- /dev/null > +++ b/drivers/xen/preempt.c > @@ -0,0 +1,17 @@ > +/* > + * Preemptible hypercalls > + * > + * Copyright (C) 2014 Citrix Systems R&D ltd. > + * > + * This source code is free software; you can redistribute it and/or > + * modify it under the terms of the GN

Re: linux-next 20141216 BUG: sleeping function called from invalid context at mm/slab.c:2849

2014-12-18 Thread Richard Guy Briggs
On 14/12/18, valdis.kletni...@vt.edu wrote: > On Thu, 18 Dec 2014 11:50:20 -0500, Eric Paris said: > > On Thu, 2014-12-18 at 11:45 -0500, valdis.kletni...@vt.edu wrote: > > > On Tue, 16 Dec 2014 20:09:54 -0500, Valdis Kletnieks said: > > > > Spotted these two while booting single-user on 20141216.

Re: [PATCH RFC] Docs: Modernize SubmittingPatches

2014-12-18 Thread Mark Brown
On Mon, Dec 15, 2014 at 10:52:51AM -0500, Jonathan Corbet wrote: > +15) Sending "git pull" requests > +--- > +If you have a series of patches, it may be most convenient to have the > +maintainer pull them directly into the subsystem repository with a > +"git pull" oper

[3.13.y-ckt stable] Linux 3.13.11-ckt13

2014-12-18 Thread Kamal Mostafa
I am announcing the release of the Linux 3.13.11-ckt13 kernel. The updated 3.13.y-ckt tree can be found at: git://kernel.ubuntu.com/ubuntu/linux.git linux-3.13.y and can be browsed at: http://kernel.ubuntu.com/git?p=ubuntu/linux.git;h=refs/heads/linux-3.13.y;a=shortlog The diff from v3.13.1

Re: [3.13.y-ckt stable] Linux 3.13.11-ckt13

2014-12-18 Thread Kamal Mostafa
diff --git a/Makefile b/Makefile index b3aae9c..49e8be1 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ VERSION = 3 PATCHLEVEL = 13 SUBLEVEL = 11 -EXTRAVERSION = -ckt12 +EXTRAVERSION = -ckt13 NAME = King of Alienated Frog Porn # *DOCUMENTATION* diff --git a/arch/arm/include/asm/thread_i

Re: bluetooth: Add hci_h4p driver

2014-12-18 Thread Pavel Machek
Hi! > > + h4p_simple_send_frame(info, skb); > > + > > + if (!wait_for_completion_interruptible_timeout(&info->init_completion, > > + msecs_to_jiffies(1000))) > > { > > + printk("h4p: negotiation did not return\n"); > > Memory leak in

Re: [iwlwifi] BUG: unable to handle kernel

2014-12-18 Thread Grumbach, Emmanuel
16:30 0- > 9 iwlwifi: pcie: limit fw chunk sizes given to fh > # extra tests on tree/branch iwlwifi-fixes/master > git bisect bad baa21e834941ee5fbe4bd421c871f7c0c5f9a086 # 16:30 0- > 9 iwlwifi: pcie: limit fw chunk sizes given to fh > # extra tests on tree/bra

Re: 3.18.1: broken directory with one file too many

2014-12-18 Thread Holger Hoffstätte
On 12/18/14 18:06, J. Bruce Fields wrote: > Whoops, now I see, the server-side trace has the same problem, I > just overlooked it the first time. Excellent, so we know it's the server's fault. Really would have been odd to not have it in the server trace. >> ..in order to rule out a mistake on m

Re: randconfig build error with next-20141204, in drivers/pwm

2014-12-18 Thread Boris Brezillon
Hi Thierry, On Thu, 18 Dec 2014 10:44:44 +0100 Thierry Reding wrote: > On Thu, Dec 04, 2014 at 09:10:55AM -0700, Jim Davis wrote: > > Building with the attached random configuration file, > > > > ERROR: "ilog2_NaN" [drivers/pwm/pwm-atmel-hlcdc.ko] undefined! > > This took a while to figu

Re: [PATCH] tick/powerclamp: Remove tick_nohz_idle abuse

2014-12-18 Thread Jacob Pan
> > > -Original Message- > From: Preeti U Murthy [mailto:pre...@linux.vnet.ibm.com] > Sent: Thursday, December 18, 2014 9:28 AM > To: Thomas Gleixner; Preeti Murthy; Pan, Jacob jun; Peter Zijlstra > Cc: Viresh Kumar; Frederic Weisbecker; Wu, Fengguang; Frederic > Weisbecker; LKML; LKP; Zh

Re: [PATCH v5 18/18] Documentation: ACPI for ARM64

2014-12-18 Thread Suravee Suthikulanit
On 10/17/2014 8:37 AM, Hanjun Guo wrote: From: Graeme Gregory Add documentation for the guidelines of how to use ACPI on ARM64. Signed-off-by: Graeme Gregory Signed-off-by: Al Stone Signed-off-by: Hanjun Guo --- Documentation/arm64/arm-acpi.txt | 323

Re: linux-next 20141216 BUG: sleeping function called from invalid context at mm/slab.c:2849

2014-12-18 Thread Paul Moore
On Thursday, December 18, 2014 02:04:46 PM Eric Paris wrote: > I'd suggest just sending the GFP type, not the who audit_buffer, but > that's up to you. That would be my preference too, especially since we will want to send this to stable and smaller is generally better there. -- paul moore secu

Re: [PATCH v5 18/18] Documentation: ACPI for ARM64

2014-12-18 Thread Timur Tabi
On Fri, Oct 17, 2014 at 8:37 AM, Hanjun Guo wrote: > If acpi=force is used, the kernel > +will ONLY use device configuration information contained in the ACPI tables. Based on this statement, ... > +In order for the kernel to load and use ACPI tables, the UEFI implementation > +MUST set the ACP

Re: [PATCH v3 1/2] acpi: Add "acpi_osi=" for ASUS X200MA to enable, brightness keys

2014-12-18 Thread Matthew Garrett
Ah, http://cgit.freedesktop.org/~jani/drm/log/?h=didl nominally has support for doing the right thing here - any chance you can try that tree? -- Matthew Garrett | mj...@srcf.ucam.org -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord..

Re: [RCU] kernel hangs in wait_rcu_gp during suspend path

2014-12-18 Thread Paul E. McKenney
On Thu, Dec 18, 2014 at 09:52:28PM +0530, Arun KS wrote: > Hi Paul, > > On Thu, Dec 18, 2014 at 12:54 AM, Paul E. McKenney > wrote: > > On Tue, Dec 16, 2014 at 11:00:20PM +0530, Arun KS wrote: > >> Hello, > >> > >> Adding some more info. > >> > >> Below is the rcu_data data structure correspondin

[PATCH] pwm: atmel-hlcdc: Prevent div by zero

2014-12-18 Thread Boris Brezillon
The slow and system clock should never return a rate of zero, but this might happen if the clocks property defined in the DT is referencing the wrong clocks. Prevent any division by zero from happening by testing the clk_freq value before calling do_div. Signed-off-by: Boris Brezillon --- driver

Re: bluetooth: Add hci_h4p driver

2014-12-18 Thread Pavel Machek
Hi! On Thu 2014-12-18 20:31:53, Pavel Machek wrote: > Hi! > > > > + h4p_simple_send_frame(info, skb); > > > + > > > + if (!wait_for_completion_interruptible_timeout(&info->init_completion, > > > +msecs_to_jiffies(1000))) > > > { > > > + prin

Re: [PATCH v16 00/12] input: cyapa: instruction of cyapa patches

2014-12-18 Thread Benson Leung
Hi Dudley, On Thu, Dec 18, 2014 at 3:06 AM, Dudley Du wrote: > Jeremiah, > > I re-sent the v16 patches through the new internal email server with my emal > d...@cypress.com. > Could you help check if all patches were fine and not broken. I tried applying your patches onto dtor's input branch m

[PATCH] checkpatch: Fix MAINTAINERS search pattern

2014-12-18 Thread Derek Chickles
This fixes the check that was supposed to prevent the MAINTAINERS warning from appearing when you run checkpatch.pl on a patch that includes new files/directories and an updated MAINTAINERS file. Signed-off-by: Derek Chickles --- scripts/checkpatch.pl | 2 +- 1 file changed, 1 insertion(+), 1 de

Re: pull request: bluetooth 2014-12-17

2014-12-18 Thread David Miller
From: Johan Hedberg Date: Wed, 17 Dec 2014 22:46:14 +0200 > Here's the first direct (i.e. skipping the wireless tree) bluetooth pull > request for you, intended for 3.19. It's just one patch: a fix from > Marcel for for remote service discovery filtering which also fixes a > 'used uninitialized'

Re: [PATCH 11/12] ARM: dts: add support for Vybrid running on Cortex-M4

2014-12-18 Thread Stefan Agner
On 2014-12-17 13:31, Arnd Bergmann wrote: > On Wednesday 17 December 2014 00:41:33 Stefan Agner wrote: >> On 2014-12-03 12:03, Arnd Bergmann wrote: >> > On Wednesday 03 December 2014 01:12:10 Stefan Agner wrote: >> >> diff --git a/arch/arm/boot/dts/vf610m4-colibri.dts >> >> b/arch/arm/boot/dts/vf6

Re: [PATCH net] net: drop the packet when fails to do software segmentation or header check

2014-12-18 Thread David Miller
From: Jason Wang Date: Thu, 18 Dec 2014 13:57:19 +0800 > Fixes cecda693a969816bac5e470e1d9c9c0ef5567bca Please correct this fixes tag, it should be of the form: Fixes: $(SHA1) ("header text of commit message") The SHA1 ID should be reduced to 12 digits of significance. -- To unsubscribe from t

Re: [PATCH v5 3/6] staging: fpga manager: framework core

2014-12-18 Thread atull
On Thu, 18 Dec 2014, Michal Simek wrote: > Hi Alan, > > first of all - there are these kernel-doc warnings. > > Info(drivers/staging/fpga/fpga-mgr.c:37): Scanning doc for > fpga_mgr_low_level_state > Warning(drivers/staging/fpga/fpga-mgr.c:43): No description found for return > value of 'fpga_

Re: [PATCH v2 2/3] fpga manager: framework core

2014-12-18 Thread atull
On Sat, 6 Dec 2014, Grant Likely wrote: > >> +int fpga_mgr_write(struct fpga_manager *mgr, const char *buf, size_t > >> count) > >> +{ > >> + int ret; > >> + > >> + if (test_and_set_bit_lock(FPGA_MGR_BUSY, &mgr->flags)) > >> + return -EBUSY; > >> + > >> + dev_info(mgr->dev

Re: [PATCH v5 4/6] staging: fpga manager: add driver for socfpga fpga manager

2014-12-18 Thread atull
On Thu, 18 Dec 2014, Michal Simek wrote: Hi Michal, > > + > > + /* Write out remaining non 32-bit chunks. */ > > + switch (count) { > > + case 3: > > + socfpga_fpga_data_writel(priv, buffer_32[i++] & 0x00ff); > > + break; > > + case 2: > > + socfpga_fpga_

Re: [iwlwifi] BUG: unable to handle kernel

2014-12-18 Thread Fengguang Wu
6 > > 70e71ca0af244f48a5dcf56dc435243792e3a495 -- > > git bisect bad 03d6c3b0fa4f5f0379cede079ec828a6c999fe43 # 16:23 0- > >1 iwlwifi: pcie: re-ACK all interrupts after device reset > > git bisect good 0a79a0c011cb291675e3b80760a452fcba5c59d9 # 16:28 20+ &

atomic_inc and spin_lock_irq

2014-12-18 Thread Rogelio M. Serrano Jr.
whats the difference between: atomic_inc(&port->count); and spin_lock_irq(&port->lock); ++port->count; spin_unlock_irq(&port->lock); -- 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://vge

[GIT PULL] More ACPI and power management updates for 3.19-rc1

2014-12-18 Thread Rafael J. Wysocki
Hi Linus, Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ pm+acpi-3.19-rc1-2 to receive more ACPI and power management updates for v3.19-rc1 with top-most commit 2ec1c17cadd0b994732f292d4bc49fc3a05d85a4 Merge branches 'pm-opp', 'pm-cpufreq' and 'pm-tools'

Re: [PATCH] timekeeping: update raw_time with extra arch_gettimeoffset in timekeeping_forward_now

2014-12-18 Thread John Stultz
On Wed, Dec 17, 2014 at 4:40 AM, Jianyu Zhan wrote: > Currently, in timekeeping_forward_now, we just use delta nsecs from > clocksource to update raw_time; however, in getnstime_raw_and_real, > getrawmonotonic64, etc, raw_time has slightly diffrent meaning: it not > only counts the raw monotonic r

[ANNOUNCE] Git v2.2.1 (and updates to older maintenance tracks)

2014-12-18 Thread Junio C Hamano
The latest maintenance release Git v2.2.1 is now available at the usual places. This is a security-fix for CVE-2014-9390, which affects users on Windows and Mac OS X but not typical UNIX users. A set of new releases for older maintenance tracks (v1.8.5.6, v1.9.5, v2.0.5, and v2.1.4) are published

Re: [PATCH] tick/powerclamp: Remove tick_nohz_idle abuse

2014-12-18 Thread Thomas Gleixner
On Thu, 18 Dec 2014, Jacob Pan wrote: > OK I agree, also as I mentioned earlier, Peter already has a patch for > consolidated idle loop and remove tick_nohz_idle_enter/exit call from > powerclamp driver. I have been working on a few tweaks to maintain the > functionality and efficiency with the con

Re: [RFC PATCH 2/2] iommu: rockchip: Handle system-wide and runtime PM

2014-12-18 Thread Kevin Hilman
Laurent Pinchart writes: > Hi Rafael, > > On Thursday 18 December 2014 02:32:30 Rafael J. Wysocki wrote: >> On Wednesday, December 17, 2014 02:15:31 AM Laurent Pinchart wrote: >> > On Tuesday 16 December 2014 11:18:33 Tomasz Figa wrote: >> >> On Tue, Dec 16, 2014 at 4:53 AM, Laurent Pinchart wrot

Re: [PATCH 1/3] checkpatch: Check for use of disallowed macros

2014-12-18 Thread Rasmus Villemoes
On Fri, Dec 12 2014, Joe Perches wrote: > On Fri, 2014-12-12 at 11:51 +0100, Rasmus Villemoes wrote: >> Since fe7c36c7 ("Makefile: Build with -Werror=date-time if the >> compiler supports it"), use of __DATE__, __TIME__, __TIMESTAMP__ has >> been disallowed. This hasn't prevented a few new users

save_xstate_sig (Re: frequent lockups in 3.18rc4)

2014-12-18 Thread Andy Lutomirski
On 12/14/2014 09:47 PM, Linus Torvalds wrote: On Sun, Dec 14, 2014 at 4:38 PM, Linus Torvalds wrote: Can anybody make sense of that backtrace, keeping in mind that we're looking for some kind of endless loop where we don't make progress? So looking at all the backtraces, which is kind of mes

Re: [PATCH] checkpatch: Fix MAINTAINERS search pattern

2014-12-18 Thread Joe Perches
On Thu, 2014-12-18 at 12:12 -0800, Derek Chickles wrote: > This fixes the check that was supposed to prevent the MAINTAINERS > warning from appearing when you run checkpatch.pl on a patch that > includes new files/directories and an updated MAINTAINERS file. This suggested patch doesn't work. $re

Re: [PATCH v3 1/2] acpi: Add "acpi_osi=" for ASUS X200MA to enable, brightness keys

2014-12-18 Thread Dmitry Tunin
I did already. It is not that simple. https://bugzilla.kernel.org/show_bug.cgi?id=70241#c86 18.12.2014 23:04, Matthew Garrett пишет: Ah, http://cgit.freedesktop.org/~jani/drm/log/?h=didl nominally has support for doing the right thing here - any chance you can try that tree? -- To unsubscribe

Re: [PATCH] optimize ktime_divns for constant divisors

2014-12-18 Thread John Stultz
On Fri, Dec 5, 2014 at 1:03 PM, Arnd Bergmann wrote: > On Friday 05 December 2014 13:00:22 Nicolas Pitre wrote: >> >> BTW this is worth applying despite the on-going discussion with Arnd >> on a separate optimization. > > Agreed > >> On Wed, 3 Dec 2014, Nicolas Pitre wrote: >> >> > At least on ARM

Re: [PATCH] time: adjtimex: validate the ADJ_FREQUENCY case

2014-12-18 Thread John Stultz
On Wed, Dec 3, 2014 at 8:12 PM, John Stultz wrote: > On Wed, Dec 3, 2014 at 6:40 PM, Sasha Levin wrote: >> On 12/03/2014 08:09 PM, John Stultz wrote: >>> On Wed, Dec 3, 2014 at 4:25 PM, Sasha Levin wrote: Verify that the frequency value from userspace is valid and makes sense. Unv

Re: [PATCH v2] time: settimeofday: validate the values of tv from user

2014-12-18 Thread John Stultz
Ok. I've got this queued. I'm going to run it through some testing and as long as nothing goes wrong I'll send it on cc'ing stable. thanks -john On Wed, Dec 3, 2014 at 4:22 PM, Sasha Levin wrote: > An unvalidated user input is multiplied by a constant, which can result in > an undefined behaviou

Re: [PATCH] staging: speakup: replace simple_strtoul with kstrtoul

2014-12-18 Thread Dan Carpenter
On Thu, Dec 18, 2014 at 05:48:10PM +0300, samuel kihahu wrote: > On Wed, Dec 17, 2014 at 05:03:22PM +0300, Dan Carpenter wrote: > > On Wed, Dec 17, 2014 at 04:43:54PM +0300, samuel kihahu wrote: > > > On Wed, Dec 17, 2014 at 03:11:19PM +0300, Dan Carpenter wrote: > > > > On Wed, Dec 17, 2014 at 02:

Re: [PATCH V3 0/4] Reducing parameters of alloc_pages* family of functions

2014-12-18 Thread Andrew Morton
On Fri, 12 Dec 2014 17:13:21 +0100 Vlastimil Babka wrote: > Vlastimil Babka (4): > mm: set page->pfmemalloc in prep_new_page() > mm, page_alloc: reduce number of alloc_pages* functions' parameters > mm: reduce try_to_compact_pages parameters > mm: microoptimize zonelist operations That a

Re: [PATCH 1/3] checkpatch: Check for use of disallowed macros

2014-12-18 Thread Joe Perches
On Thu, 2014-12-18 at 22:15 +0100, Rasmus Villemoes wrote: > On Fri, Dec 12 2014, Joe Perches wrote: > > On Fri, 2014-12-12 at 11:51 +0100, Rasmus Villemoes wrote: > >> Since fe7c36c7 ("Makefile: Build with -Werror=date-time if the > >> compiler supports it"), use of __DATE__, __TIME__, __TIMESTAM

Re: [RFC PATCH 2/2] iommu: rockchip: Handle system-wide and runtime PM

2014-12-18 Thread Laurent Pinchart
Hi Kevin, On Thursday 18 December 2014 13:14:24 Kevin Hilman wrote: > Laurent Pinchart writes: > > On Thursday 18 December 2014 02:32:30 Rafael J. Wysocki wrote: > >> On Wednesday, December 17, 2014 02:15:31 AM Laurent Pinchart wrote: > >>> On Tuesday 16 December 2014 11:18:33 Tomasz Figa wrote:

Re: Enable runtime PM automatically?

2014-12-18 Thread Kevin Hilman
Geert Uytterhoeven writes: > On Tue, Dec 16, 2014 at 11:10 PM, Kevin Hilman wrote: >> At a deeper level, the problem with this approach is that this is more >> generically a runtime PM dependency problem, not a genpd problem. For >> example, what happens when the same kind of dependency exists

Re: [PATCH v3 2/2] iio: add driver for the TI DAC8554

2014-12-18 Thread Hartmut Knaack
Nikolaus Schulz schrieb am 15.12.2014 um 12:39: > The TI DAC8554 is a quad-channel Digital-to-Analog Converter with an SPI > interface. > > Changes in v3: > * Small fixes in the documentation of struct dac8554_state > * Replace some magic constants with macros > * Replace memset on powerdown state

Re: save_xstate_sig (Re: frequent lockups in 3.18rc4)

2014-12-18 Thread Linus Torvalds
On Thu, Dec 18, 2014 at 1:17 PM, Andy Lutomirski wrote: > > I admit that my understanding of the disaster that is x86's FPU handling is > limited, but I'm moderately confident that save_xstate_sig is broken. Very possible. The FPU code *is* nasty. > The code is: > > if (user_has_fpu()) {

Re: save_xstate_sig (Re: frequent lockups in 3.18rc4)

2014-12-18 Thread Dave Jones
On Thu, Dec 18, 2014 at 01:17:59PM -0800, Andy Lutomirski wrote: > FWIW, if xsave traps with cr2 value, then there would indeed be an > infinite loop in here. It seems to work right on my machine. Dave, > want to run the attached little test? XSAVE to offset 0 [OK]xsave offset = 0, cr2

[GIT] Sparc

2014-12-18 Thread David Miller
Please pull to get this sparc32 locking bug fix from Andreas Larsson. Thanks! The following changes since commit 44e8967d591686463e84a88b46b03beba3ab49fb: Ceph: remove left-over reject file (2014-12-17 18:47:01 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/li

[GIT] Networking

2014-12-18 Thread David Miller
1) Fix NBMA tunnel mac header handling in GRE, from Timo Teräs. 2) Fix a NAPI race in the fec driver, from Nimrod Andy. 3) The new IFF_VNET_LE bit is outside the size of the flags member it is stored in (which is 16-bits), store the state locally in the drivers. From Michael S. Tsirkin.

[PATCH 1/6] tridentfb: fix hang on Blade3D with CONFIG_CC_OPTIMIZE_FOR_SIZE

2014-12-18 Thread Ondrej Zary
When the kernel is compiled with -Os (CONFIG_CC_OPTIMIZE_FOR_SIZE), tridentfb hangs the machine upon load with Blade3D cards unless acceleration is disabled. This is caused by memcpy() which copies data byte-by-byte (rep movsb) when compiled with -Os. The card does not like that - it requires 32-b

Re: save_xstate_sig (Re: frequent lockups in 3.18rc4)

2014-12-18 Thread Andy Lutomirski
On Thu, Dec 18, 2014 at 1:34 PM, Linus Torvalds wrote: > On Thu, Dec 18, 2014 at 1:17 PM, Andy Lutomirski wrote: >> >> I admit that my understanding of the disaster that is x86's FPU handling is >> limited, but I'm moderately confident that save_xstate_sig is broken. > > Very possible. The FPU co

[PATCH] tridentfb: fix hang on Blade3D with CONFIG_CC_OPTIMIZE_FOR_SIZE

2014-12-18 Thread Ondrej Zary
When the kernel is compiled with -Os (CONFIG_CC_OPTIMIZE_FOR_SIZE), tridentfb hangs the machine upon load with Blade3D cards unless acceleration is disabled. This is caused by memcpy() which copies data byte-by-byte (rep movsb) when compiled with -Os. The card does not like that - it requires 32-b

Re: [PATCH] tools lib traceevent: Add support for IP address formats

2014-12-18 Thread Valdis . Kletnieks
On Thu, 18 Dec 2014 08:10:43 -0700, David Ahern said: > Adds helper for following kernel formats: > %pi4 print an IPv4 address with leading zeros > %pI4 print an IPv4 address without leading zeros > %pi6 print an IPv6 address without colons > %pI6 print an IPv6 address with colons > %pI6c

[PATCH] Fixed TPACKET V3 to signal poll when block is closed rather than for every packet

2014-12-18 Thread Dan Collins
Make TPACKET_V3 signal poll when block is closed rather than for every packet. Side effect is that poll will be signaled when block retire timer expires which didn't previously happen. Issue was visible when sending packets at a very low frequency such that all blocks are retired before packets are

Re: [PATCH] Fixed TPACKET V3 to signal poll when block is closed rather than for every packet

2014-12-18 Thread David Miller
From: Dan Collins Date: Fri, 19 Dec 2014 10:49:16 +1300 > Make TPACKET_V3 signal poll when block is closed rather than for every > packet. Side effect is that poll will be signaled when block retire > timer expires which didn't previously happen. Issue was visible when > sending packets at a very

Re: Subject: [PATCH] Staging: ft1000: ft1000_hw.c: replaced asm header includes with linux headers

2014-12-18 Thread Greg KH
On Fri, Dec 19, 2014 at 12:15:22AM +0530, Hariharan Rangasamy wrote: > > used #include instead of > used #include instead of > > Signed-off-by: Hariharan Rangasamy Your subject line looks crazy, not to mention you used my wrong email address :( Please fix up and resend. thanks, greg k-h

[PATCH 8/8 v2] lib: bitmap: Make the bits parameter of bitmap_remap unsigned

2014-12-18 Thread Rasmus Villemoes
... and rename it to nbits, both for consistency with other bitmap_* functions. Signed-off-by: Rasmus Villemoes --- This is meant to replace 8/8 (lib: bitmap: Minor changes of bitmap_remap), if you haven't gotten to that yet. No big deal either way. v2: Only do the signed->unsigned conversion.

Re: atomic_inc and spin_lock_irq

2014-12-18 Thread Mihai Donțu
On Thu, 18 Dec 2014 21:07:46 + Rogelio M. Serrano Jr. wrote: > whats the difference between: > > atomic_inc(&port->count); It is intended to atomically increment a variable of a standard size (int/long). See [1] for more information. > and > > spin_lock_irq(&port->lock); > ++port->count; >

Re: [PATCH] arch: arm: mach-msm: smd.c: Remove some unused functions

2014-12-18 Thread dwalker
On Tue, Dec 16, 2014 at 12:20:43AM +0100, Rickard Strandqvist wrote: > Hi > > My script looks for the same function name, so if they then would be > named exactly the same, they would come up. > > But I can not even find drivers/staging/dream/ or is this really new code? Maybe it was deleted a

Re: [PATCH] Slab infrastructure for array operations

2014-12-18 Thread Andrew Morton
On Thu, 18 Dec 2014 10:33:23 -0600 (CST) Christoph Lameter wrote: > This patch adds the basic infrastructure for alloc / free operations > on pointer arrays. Please provide the justification/reason for making this change. > It includes a fallback function. I don't know what this means. Somet

[RFC v1 PATCH 0/2] PCI: get DMA configuration from parent device

2014-12-18 Thread Murali Karicheri
PCI devices on Keystone doesn't have correct dma_pfn_offset set. This patch add capability to set the dma configuration such as dma-mask, dma_pfn_offset, and dma ops etc using the same information from DT. The prior RFCs and discussions are available at [1] and [2] below. This patch make use of a

[RFC v1 PATCH 2/2] PCI: update dma configuration from DT

2014-12-18 Thread Murali Karicheri
if there is a DT node available for the root bridge's parent device, use the dma configuration from that device node. For example, keystone PCI devices would require dma_pfn_offset to be set correctly in the device structure of the pci device in order to have the correct dma mask. The DT node will

[RFC v1 PATCH 1/2] of/pci: add of_pci_dma_configure() update dma configuration

2014-12-18 Thread Murali Karicheri
Add of_pci_dma_configure() to allow updating the dma configuration of the pci device using the configuration from the parent of the root bridge device. Signed-off-by: Murali Karicheri --- drivers/of/of_pci.c| 71 include/linux/of_pci.h | 1

Re: [PATCH] clk: samsung: Fix Exynos 5420 pinctrl setup and clock disable failure due to domain being gated

2014-12-18 Thread Kevin Hilman
On Wed, Dec 17, 2014 at 10:58 PM, Mike Turquette wrote: > Quoting Mike Turquette (2014-12-17 07:23:22) >> Quoting Krzysztof Kozlowski (2014-12-16 00:20:15) >> > On pon, 2014-12-15 at 14:26 -0800, Kevin Hilman wrote: >> > > Kevin Hilman writes: >> > > >> > > > Sylwester Nawrocki writes: >> > > >

Re: [PATCH] stable_kernel_rules: reorganize and update submission options

2014-12-18 Thread Greg Kroah-Hartman
On Wed, Dec 17, 2014 at 11:11:16PM -0800, Brian Norris wrote: > The current organization of Documentation/stable_kernel_rules.txt > doesn't clearly differentiate the mutually exclusive options for > submission to the -stable review process. As I understand it, patches > are not actually required to

Re: [PATCH] tools lib traceevent: Add support for IP address formats

2014-12-18 Thread David Ahern
On 12/18/14 2:45 PM, valdis.kletni...@vt.edu wrote: On Thu, 18 Dec 2014 08:10:43 -0700, David Ahern said: Adds helper for following kernel formats: %pi4 print an IPv4 address with leading zeros %pI4 print an IPv4 address without leading zeros %pi6 print an IPv6 address without colons

Re: [PATCH v16 00/12] input: cyapa: instruction of cyapa patches

2014-12-18 Thread Jeremiah Mahler
Dudley, On Thu, Dec 18, 2014 at 11:06:40AM +, Dudley Du wrote: > Jeremiah, > > I re-sent the v16 patches through the new internal email server with my emal > d...@cypress.com. > Could you help check if all patches were fine and not broken. > > Thanks, > Dudley > [...] These patches apply

Re: [PATCH] tools lib traceevent: Add support for IP address formats

2014-12-18 Thread Arnaldo Carvalho de Melo
Em Thu, Dec 18, 2014 at 11:27:15AM -0500, Steven Rostedt escreveu: > On Thu, 18 Dec 2014 12:52:55 -0300 > Arnaldo Carvalho de Melo wrote: > > > Em Thu, Dec 18, 2014 at 08:10:43AM -0700, David Ahern escreveu: > > > Adds helper for following kernel formats: > > > %pi4 print an IPv4 address with l

Re: [char-misc-next 1/3 V2] mei: add ABI documentation for fw_status exported through sysfs

2014-12-18 Thread gre...@linuxfoundation.org
On Thu, Dec 18, 2014 at 09:37:12AM +, Winkler, Tomas wrote: > > > > > > Signed-off-by: Tomas Winkler > > --- > > V2: rephrase the description > > Documentation/ABI/testing/sysfs-class-mei | 15 +++ > > 1 file changed, 15 insertions(+) > > > Greg you've included 'mei: export fw

checkpatch: Emit an error when using predefined timestamp macros

2014-12-18 Thread Joe Perches
Since commit fe7c36c7bde1 ("Makefile: Build with -Werror=date-time if the compiler supports it"), use of __DATE__, __TIME__, and __TIMESTAMP__ has not been allowed. As this test is gcc version specific (> 4.9), it hasn't prevented a few new uses from creeping into the kernel sources. Make checkpa

randconfig build error with next-20141218, in drivers/staging/media/tlg2300

2014-12-18 Thread Jim Davis
Building with the attached random configuration file, ERROR: "usb_kill_urb" [drivers/staging/media/tlg2300/poseidon.ko] undefined! ERROR: "usb_deregister" [drivers/staging/media/tlg2300/poseidon.ko] undefined! ERROR: "usb_set_interface" [drivers/staging/media/tlg2300/poseidon.ko] undefined! ERROR:

[PATCH v6 1/4] doc: add bindings document for altera fpga manager

2014-12-18 Thread atull
From: Alan Tull New bindings document for Altera fpga manager. Signed-off-by: Alan Tull --- v5 : Move bindings to drivers/staging/fpga/Documentation/bindings v6 : No change in this patch for v6 of the patch set --- .../Documentation/bindings/altera-fpga-mgr.txt | 17 + 1

[PATCH v6 2/4] fpga manager: add sysfs interface document

2014-12-18 Thread atull
From: Alan Tull Add documentation under drivers/staging for new fpga manager's sysfs interface. Signed-off-by: Alan Tull --- v5 : (actually second version, but keeping version numbers aligned with rest of patch series) Move document to drivers/staging/fpga/Documentation/ABI v6 :

[PATCH v6 0/4] FPGA Manager Framework

2014-12-18 Thread atull
From: Alan Tull Dropping the changes to socfpga DTS and defconfig from this patch set. Kernel doc fixes and other minor fixes as listed in the patches. Alan Alan Tull (4): doc: add bindings document for altera fpga manager fpga manager: add sysfs interface document staging: fpga manager:

[PATCH v6 4/4] staging: fpga manager: add driver for socfpga fpga manager

2014-12-18 Thread atull
From: Alan Tull Add driver to fpga manager framework to allow configuration of FPGA in Altera SoCFPGA parts. Signed-off-by: Alan Tull Acked-by: Michal Simek --- v2: fpga_manager struct now contains struct device fpga_manager_register parameters now take device v3: skip a version to align

Re: [RFC v1 PATCH 1/2] of/pci: add of_pci_dma_configure() update dma configuration

2014-12-18 Thread Arnd Bergmann
On Thursday 18 December 2014 17:07:04 Murali Karicheri wrote: > Add of_pci_dma_configure() to allow updating the dma configuration > of the pci device using the configuration from the parent of > the root bridge device. > > Signed-off-by: Murali Karicheri Much better! There is one detail that w

[PATCH] genirq: fix symbol export for __irq_set_affinity

2014-12-18 Thread Jesse Brandeburg
The function __irq_set_affinity is referenced by interrupt.h with static inlines, but if you try to use one of the inlines in interrupt.h (for instance to call irq_set_affinity) then compile fails due to a missing symbol, when building modules. Enabling this function means that kernel drivers can

[PATCH v6 3/4] staging: fpga manager: framework core

2014-12-18 Thread atull
From: Alan Tull Supports standard ops for low level FPGA drivers. Various manufacturors' FPGAs can be supported by adding low level drivers. Each driver needs to register its ops using fpga_mgr_register(). Exports methods of doing operations to program FPGAs. These should be sufficient for ind

Re: [PATCH RESEND v4] sched/fair: Add advisory flag for borrowing a timeslice

2014-12-18 Thread Peter Zijlstra
On Thu, Dec 18, 2014 at 11:44:19AM -0700, Khalid Aziz wrote: > sched/fair: Add advisory flag for borrowing a timeslice yuck hatred and much of that. Also, you fail to explain why a kernel side spin futex-lock is not an option. -- To unsubscribe from this list: send the line "unsubscribe linux-ker

Re: [PATCH] arch: arm: mach-msm: smd.c: Remove some unused functions

2014-12-18 Thread Arnd Bergmann
On Thursday 18 December 2014 22:01:28 dwal...@fifo99.com wrote: > On Tue, Dec 16, 2014 at 12:20:43AM +0100, Rickard Strandqvist wrote: > > Hi > > > > My script looks for the same function name, so if they then would be > > named exactly the same, they would come up. > > > > But I can not even fin

Re: [PATCH] Staging: rtl8192u: removed an unnecessary else statement

2014-12-18 Thread Jeremiah Mahler
Karthik, On Thu, Dec 18, 2014 at 02:50:11PM +0530, Karthik Nayak wrote: > As per checkpatch warning, removed an unnecessary else statement > proceeding an if statement with a return. > > Signed-off-by: Karthik Nayak > --- > drivers/staging/rtl8192u/r8192U_dm.c | 16 +++- > 1 file ch

Re: [PATCH] genirq: fix symbol export for __irq_set_affinity

2014-12-18 Thread Thomas Gleixner
On Thu, 18 Dec 2014, Jesse Brandeburg wrote: > The function __irq_set_affinity is referenced by interrupt.h > with static inlines, but if you try to use one of the inlines > in interrupt.h (for instance to call irq_set_affinity) then > compile fails due to a missing symbol, when building modules.

RE: [RFC PATCH net-next v2 1/1] net: Support for switch port configuration

2014-12-18 Thread Arad, Ronen
>-Original Message- >From: netdev-ow...@vger.kernel.org [mailto:netdev-ow...@vger.kernel.org] On >Behalf Of John Fastabend >Sent: Thursday, December 18, 2014 9:21 PM >To: Roopa Prabhu; Varlese, Marco >Cc: net...@vger.kernel.org; Thomas Graf; Jiri Pirko; sfel...@gmail.com; linux- >ker...@v

Re: [PATCH RESEND v4] sched/fair: Add advisory flag for borrowing a timeslice

2014-12-18 Thread Khalid Aziz
On 12/18/2014 03:28 PM, Peter Zijlstra wrote: On Thu, Dec 18, 2014 at 11:44:19AM -0700, Khalid Aziz wrote: sched/fair: Add advisory flag for borrowing a timeslice yuck hatred and much of that. Also, you fail to explain why a kernel side spin futex-lock is not an option. I had explained tha

Re: [PATCH] Staging: comedi: fix redundant parens in return in amplc_dio200_common.c

2014-12-18 Thread Jeremiah Mahler
Aapo, On Thu, Dec 18, 2014 at 05:32:52PM +0200, Aapo Vienamo wrote: > This patch fixes a coding style issue found by the checkpatch.pl tool in > amplc_dio200_common.c by removing the unnecessary parentheses around the > expression in a return statement. > > Signed-off-by: Aapo Vienamo > --- > d

Re: [PATCH 11/12] ARM: dts: add support for Vybrid running on Cortex-M4

2014-12-18 Thread Arnd Bergmann
On Thursday 18 December 2014 21:36:31 Stefan Agner wrote: > On 2014-12-17 13:31, Arnd Bergmann wrote: > > On Wednesday 17 December 2014 00:41:33 Stefan Agner wrote: > >> On 2014-12-03 12:03, Arnd Bergmann wrote: > >> > Starting with v3.19, you should be able to use the earlycon framework on > >> >

RE: [char-misc-next 1/3 V2] mei: add ABI documentation for fw_status exported through sysfs

2014-12-18 Thread Winkler, Tomas
> -Original Message- > From: gre...@linuxfoundation.org [mailto:gre...@linuxfoundation.org] > Sent: Friday, December 19, 2014 00:15 > To: Winkler, Tomas > Cc: a...@arndb.de; linux-kernel@vger.kernel.org > Subject: Re: [char-misc-next 1/3 V2] mei: add ABI documentation for fw_status > expo

[char-misc V2 RESEND] mei: add ABI documentation for fw_status exported through sysfs

2014-12-18 Thread Tomas Winkler
Signed-off-by: Tomas Winkler --- V2: rephrase the description Documentation/ABI/testing/sysfs-class-mei | 15 +++ 1 file changed, 15 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-class-mei b/Documentation/ABI/testing/sysfs-class-mei index 0ec8b8178c41..80d9888a8ece 100

Re: [PATCH] genirq: fix symbol export for __irq_set_affinity

2014-12-18 Thread Jesse Brandeburg
On Thu, 18 Dec 2014 23:42:03 +0100 Thomas Gleixner wrote: > On Thu, 18 Dec 2014, Jesse Brandeburg wrote: > > Enabling this function means that kernel drivers can include > > an initial affinity setting for the interrupt, instead of all > > interrupts starting out life on CPU0. It seems to have j

Re: [PATCH] tools lib traceevent: Add support for IP address formats

2014-12-18 Thread David Ahern
On 12/18/14 3:16 PM, Arnaldo Carvalho de Melo wrote: If take the time to look at the specifics I'll propose something more concrete, meanwhile, are you ok with David's changes? May I process his patch? I need a v3 to respond to oversights noted responding to Valdis. Any other comments before I

Re: [PATCH] stable_kernel_rules: reorganize and update submission options

2014-12-18 Thread Brian Norris
On Thu, Dec 18, 2014 at 02:12:49PM -0800, Greg Kroah-Hartman wrote: > Other than the above comments, this looks good, care to redo it? Sure thing! -- 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

<    1   2   3   4   5   6   7   >