[PATCH 1/2] firmware_loader: abort request if wait_for_completion is interrupted

2015-01-12 Thread Ming Lei
If current request is interrupted by signal, such as 'ctrl + c', this request has to be aborted for the following reasons: - the buf need to be removed from pending list - same requests from other contexts need to be completed Reported-by: Sasha Levin Signed-off-by: Ming Lei

Re: [PATCH] iommu/amd: Track when amd_iommu_v2 init is complete

2015-01-12 Thread Joerg Roedel
Hi Oded, On Mon, Dec 22, 2014 at 12:23:44PM +0200, Oded Gabbay wrote: > The drm guys suggested we move iommu/ subsystem before gpu/ > subsystem in drivers/Makefile instead of the above patch (and the > complementing patch-set in amdkfd). > I did that and it works, so please see this patch as

Re: [GIT PULL] at91: fixes for 3.19 #1 (bis)

2015-01-12 Thread Arnd Bergmann
On Monday 12 January 2015 16:08:14 Nicolas Ferre wrote: > Le 11/01/2015 22:12, Olof Johansson a écrit : > > On Fri, Jan 09, 2015 at 10:02:50AM +0100, Nicolas Ferre wrote: > >> Le 08/01/2015 23:41, Olof Johansson a écrit : > >>> On Mon, Jan 05, 2015 at 12:14:37PM +0100, Nicolas Ferre wrote: > >>> >

Re: [PATCH] jffs2: compr_rubin: Remove unused function

2015-01-12 Thread Richard Weinberger
On Sun, Jan 11, 2015 at 5:36 PM, Rickard Strandqvist wrote: > Remove the function pulledbits() that is not used anywhere. > > This was partially found by using a static code analysis program called > cppcheck. > > Signed-off-by: Rickard Strandqvist Looks good to me. Reviewed-by: Richard

Re: [PATCH RESEND] PM / sleep: Fix racing timers

2015-01-12 Thread Sören Brinkmann
On Mon, 2015-01-12 at 03:43PM +, Lorenzo Pieralisi wrote: > Hi Rafael, Soren, > > On Sun, Jan 11, 2015 at 11:20:36PM +, Rafael J. Wysocki wrote: > > On Friday, January 09, 2015 01:50:59 PM Sören Brinkmann wrote: > > > On Sat, 2014-11-08 at 03:56PM -0800, Sören Brinkmann wrote: > > > > Hi

Re: noisy selinux messages on tmpfs mount.

2015-01-12 Thread Stephen Smalley
On 01/12/2015 09:51 AM, Christopher J. PeBenito wrote: > On 1/9/2015 3:47 PM, Stephen Smalley wrote: >> On 01/09/2015 02:13 PM, Dave Jones wrote: >>> On Fri, Jan 09, 2015 at 08:06:49AM -0500, Stephen Smalley wrote: >>> >>> > On Thu, Jan 8, 2015 at 2:39 PM, Paul Moore wrote: >>> > > On

RE: [PATCH] IB: cxgb3: iwch_cm: Remove some unused functions

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

Re: [PATCH v2 4/5] mm/compaction: more trace to understand when/why compaction start/finish

2015-01-12 Thread Vlastimil Babka
On 01/12/2015 09:21 AM, Joonsoo Kim wrote: > It is not well analyzed that when/why compaction start/finish or not. With > these new tracepoints, we can know much more about start/finish reason of > compaction. I can find following bug with these tracepoint. > >

Re: [PATCH 3/6] HMM: introduce heterogeneous memory management v2.

2015-01-12 Thread Jerome Glisse
On Sun, Jan 11, 2015 at 03:24:42PM +0200, Oded Gabbay wrote: > > > On 01/06/2015 12:44 AM, j.gli...@gmail.com wrote: > > From: Jérôme Glisse > > > > This patch only introduce core HMM functions for registering a new mirror > > and > > stopping a mirror as well as registering and unregistering

Re: [RFC PATCH] [media] coda: Use S_PARM to set nominal framerate for h.264 encoder

2015-01-12 Thread Philipp Zabel
Hi Hans, thank you for the comments! Am Montag, den 12.01.2015, 16:03 +0100 schrieb Hans Verkuil: > On 12/22/2014 05:00 PM, Philipp Zabel wrote: > > The encoder needs to know the nominal framerate for the constant bitrate > > control mechanism to work. Currently the only way to set the framerate

Re: [PATCH RESEND] PM / sleep: Fix racing timers

2015-01-12 Thread Lorenzo Pieralisi
Hi Rafael, Soren, On Sun, Jan 11, 2015 at 11:20:36PM +, Rafael J. Wysocki wrote: > On Friday, January 09, 2015 01:50:59 PM Sören Brinkmann wrote: > > On Sat, 2014-11-08 at 03:56PM -0800, Sören Brinkmann wrote: > > > Hi Rafael, > > > > > > On Thu, 2014-11-06 at 01:33AM +0100, Rafael J.

Re: [PATCH 0/3] PCI/x86: Interface for testing multivector MSI support

2015-01-12 Thread Alex Williamson
On Thu, 2015-01-08 at 09:15 -0700, Bjorn Helgaas wrote: > On Fri, Nov 21, 2014 at 03:08:27PM -0700, Alex Williamson wrote: > > I'd like to make vfio-pci capable of manipulating the device exposed > > to the user such that if the host can only support a single MSI > > vector then we hide the fact

Re: Linux 3.19-rc3

2015-01-12 Thread Arnd Bergmann
On Monday 12 January 2015 14:23:32 Catalin Marinas wrote: > > So, I guess it's run-time cost of the LRU algorithm, especially under > memory pressure. Harder to benchmark though (we'll see when we get > hardware, though probably not very soon). One thing you could try is to add an access fault

Re: Questions about to dos in emulate.c

2015-01-12 Thread Paolo Bonzini
On 10/01/2015 05:14, nick wrote: > Greetings Again Everyone, > I have a few questions about fix mes in emulate.c. They are listed > in numerical order below. > 1. For __emulate_int_real somebody stated we need limit checks. What > checks are needed for my information. These are written in the

[PATCH v3 2/8] mfd: Add atmel-st driver

2015-01-12 Thread Alexandre Belloni
The Atmel System Timer IP available on the at91rm9200 exposes both a timer and a watchdog. Signed-off-by: Alexandre Belloni Acked-by: Boris Brezillon --- drivers/mfd/Kconfig | 7 drivers/mfd/Makefile | 1 + drivers/mfd/atmel-st.c | 77

Re: [PATCH 1/6] mmu_notifier: add event information to address invalidation v6

2015-01-12 Thread Jerome Glisse
On Sun, Jan 11, 2015 at 02:24:01PM +0200, Oded Gabbay wrote: > > > On 01/06/2015 12:44 AM, j.gli...@gmail.com wrote: > > From: Jérôme Glisse > > > > The event information will be useful for new user of mmu_notifier API. > > The event argument differentiate between a vma disappearing, a page >

Re: [PATCH] moving from pci to dma

2015-01-12 Thread chas williams - CONTRACTOR
On Mon, 12 Jan 2015 16:32:46 +0100 Quentin Lambert wrote: > > On 12/01/2015 16:27, chas williams - CONTRACTOR wrote: > > There doesn't seem to be a patch for review? > > > I made a mistake and forgot to number the mails. I did send them though. > Would you like me to send them again, with the

[PATCH v3 0/8] Atmel System Timer cleanups

2015-01-12 Thread Alexandre Belloni
This patch sets cleans up the system timer driver. The main goal is to get rid of the mach/ headers dependency. At the same time, it introduces proper probing and locking (using a regmap) for the watchdog driver. Changes in v3: - moved the watchdog regmap_st allocation after the multiple probe

[PATCH v3 3/8] watchdog: at91rm9200: use the regmap from mfd

2015-01-12 Thread Alexandre Belloni
The system timer MFD driver is providing a regmap. Use it to access the registers. Signed-off-by: Alexandre Belloni Acked-by: Boris Brezillon --- drivers/watchdog/Kconfig | 2 +- drivers/watchdog/at91rm9200_wdt.c | 25 - 2 files changed, 13 insertions(+), 14

[PATCH v3 6/8] clocksource: atmel-st: properly initialize driver

2015-01-12 Thread Alexandre Belloni
Use clocksource_of_init to initialize the system timer instead of relying on a custom function. Signed-off-by: Alexandre Belloni Acked-by: Boris Brezillon --- arch/arm/mach-at91/board-dt-rm9200.c | 7 --- arch/arm/mach-at91/generic.h | 3 --- drivers/clocksource/timer-atmel-st.c |

[PATCH v3 4/8] ARM: at91: time: move the system timer driver to drivers/clocksource

2015-01-12 Thread Alexandre Belloni
Import at91rm9200_time.c from mach-at91 as timer-atmel-st.c. Further cleanup is required to get rid of the mach-at91 headers. Signed-off-by: Alexandre Belloni Acked-by: Boris Brezillon --- arch/arm/mach-at91/Makefile | 2 +- drivers/clocksource/Kconfig

[PATCH v3 1/8] ARM: at91/dt: declare atmel,at91rm9200-st as a syscon

2015-01-12 Thread Alexandre Belloni
The system timer register range is also used for the watchdog. Declare it as a syscon to be able to get a regmap early enough in the boot process Signed-off-by: Alexandre Belloni Acked-by: Boris Brezillon --- Documentation/devicetree/bindings/arm/atmel-at91.txt | 2 +-

Re: [RFC PATCH] [media] coda: Use S_PARM to set nominal framerate for h.264 encoder

2015-01-12 Thread Hans Verkuil
On 01/12/2015 04:35 PM, Philipp Zabel wrote: > Hi Hans, > > thank you for the comments! > > Am Montag, den 12.01.2015, 16:03 +0100 schrieb Hans Verkuil: >> On 12/22/2014 05:00 PM, Philipp Zabel wrote: >>> The encoder needs to know the nominal framerate for the constant bitrate >>> control

Re: [RFC 1/4] lockdep: additional lock specific information when dumping locks

2015-01-12 Thread Peter Zijlstra
On Mon, Jan 12, 2015 at 10:12:38AM -0500, Sasha Levin wrote: > The reason for my patch is simple: That might have maybe been good changelog material? > I'm fuzzing with hundreds of worker threads > which at some point trigger a complete system lockup for some reason. > > When lockdep dumps the

[PATCH] ARM: EXYNOS: Handle of of_iomap() failure

2015-01-12 Thread Krzysztof Kozlowski
Prevent possible NULL pointer dereference if of_iomap() fails. Handle the error by skipping such power domain. Signed-off-by: Krzysztof Kozlowski --- arch/arm/mach-exynos/pm_domains.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/mach-exynos/pm_domains.c

[PATCH v3 7/8] clocksource: atmel-st: use syscon/regmap

2015-01-12 Thread Alexandre Belloni
The register range from the system timer is also used by the watchdog driver. Use a regmap to handle concurrent accesses. Signed-off-by: Alexandre Belloni Acked-by: Boris Brezillon --- drivers/clocksource/timer-atmel-st.c | 103 +-- 1 file changed, 39

Re: [PATCH v2 1/4] tty: serial: Add 8250 earlycon to support noinit option

2015-01-12 Thread Arnd Bergmann
On Monday 12 January 2015 21:08:21 Eddie Huang wrote: > Add earlycon support not only baudrate option, but also add noinit option. > If use noinit option, 8250 earlycon will not init serial hardware and use > loader setting. > > Signed-off-by: Eddie Huang I probably missed something in the

[PATCH v3 8/8] ARM: at91: remove useless include

2015-01-12 Thread Alexandre Belloni
Both drivers using the system timer are now converted to an MFD. mach/at91_st.h is now useless. Signed-off-by: Alexandre Belloni Acked-by: Boris Brezillon --- arch/arm/mach-at91/include/mach/at91_st.h | 61 --- 1 file changed, 61 deletions(-) delete mode 100644

[PATCH v3 5/8] ARM: at91: move the restart function to the system timer driver

2015-01-12 Thread Alexandre Belloni
Restarting on an at91rm9200 is handled by using the system timer. Move that function to the system timer driver. Signed-off-by: Alexandre Belloni Acked-by: Boris Brezillon --- arch/arm/mach-at91/at91rm9200.c | 11 --- drivers/clocksource/timer-atmel-st.c | 12 2 files

[PATCH v4 1/2] watchdog: Add driver for Mediatek watchdog

2015-01-12 Thread Matthias Brugger
This patch adds a driver for the Mediatek SoC integrated watchdog. This driver supports watchdog and software reset for mt65xx and mt81xx SoCs. Signed-off-by: Matthias Brugger --- drivers/watchdog/Kconfig | 10 ++ drivers/watchdog/Makefile | 1 + drivers/watchdog/mtk_wdt.c | 252

Re: [PATCH v8 02/10] iommu/vt-d: Items required for kdump

2015-01-12 Thread Vivek Goyal
On Mon, Jan 12, 2015 at 04:22:08PM +0100, Joerg Roedel wrote: > On Mon, Jan 12, 2015 at 03:06:20PM +0800, Li, Zhen-Hua wrote: > > + > > +#ifdef CONFIG_CRASH_DUMP > > + > > +/* > > + * Fix Crashdump failure caused by leftover DMA through a hardware IOMMU > > + * > > + * Fixes the crashdump kernel

[PATCH v4 2/2] ARM: mediatek: dts: Add bindings for watchdog

2015-01-12 Thread Matthias Brugger
Signed-off-by: Matthias Brugger --- Documentation/devicetree/bindings/watchdog/mtk-wdt.txt | 13 + 1 file changed, 13 insertions(+) create mode 100644 Documentation/devicetree/bindings/watchdog/mtk-wdt.txt diff --git a/Documentation/devicetree/bindings/watchdog/mtk-wdt.txt

Re: [PATCH] moving from pci to dma

2015-01-12 Thread Quentin Lambert
On 12/01/2015 16:27, chas williams - CONTRACTOR wrote: There doesn't seem to be a patch for review? I made a mistake and forgot to number the mails. I did send them though. Would you like me to send them again, with the proper subject format? Quentin Lambert -- To unsubscribe from this

[PATCH v4 0/2] ARM: mediatek: Add watchdog driver

2015-01-12 Thread Matthias Brugger
Mediatek SoCs have a watchdog driver. This patch set adds driver and DTS binding. The driver also implements a restart handler to reboot the SoC. Changes for v4: - fix indentation errors - delete unused include - reorganize while loop to eliminate code duplication - eliminate indirection to

Re: [PATCH V2 1/1] iio: Added Capella cm3232 ambient light sensor driver.

2015-01-12 Thread Daniel Baluta
On Wed, Jan 7, 2015 at 12:09 AM, Kevin Tsai wrote: > CM3232 is an advanced ambient light sensor with I2C protocol interface. > The I2C slave address is internally hardwired as 0x10 (7-bit). Writing > to configure register is byte mode, but reading ALS register requests to > use word mode for

[GIT PULL] at91: fixes for 3.19 #1 (ter)

2015-01-12 Thread Nicolas Ferre
Arnd, Olof, Kevin, Here is the fixes pull-request for 3.19 that supersedes the ones already sent. It collects all the fixes that I have currently for this kernel revision. Thanks, best regards, The following changes since commit 97bf6af1f928216fd6c5a66e8a57bfa95a659672: Linux 3.19-rc1

Re: [PATCH] out out damn perl

2015-01-12 Thread Richard Weinberger
On Mon, Jan 12, 2015 at 4:16 PM, Lennart Sorensen wrote: > On Tue, Jan 06, 2015 at 05:41:35PM -0600, Rob Landley wrote: >> From: Rob Landley >> >> Commit e6023367d779 added perl back to the kernel build in -rc6. >> Replace 39 lines of perl with 4 lines of shell script. > > Maybe checkpatch

[PATCH][RESEND] static code analysis from cppcheck reports:

2015-01-12 Thread Colin King
From: Colin Ian King [drivers/video/fbdev/broadsheetfb.c:673]: (error) Memory leak: sector_buffer sector_buffer is not being kfree'd on each call to broadsheet_spiflash_rewrite_sector(), so free it. Signed-off-by: Colin Ian King --- drivers/video/fbdev/broadsheetfb.c | 8 +--- 1 file

[PATCH] mcb: Fix error path of mcb_pci_probe

2015-01-12 Thread Johannes Thumshirn
If a MCB PCI Carrier device is IO mapped insted of memory-mapped (which is currently unsupported by the upstream driver) the probe function bails out with -ENOTSUPP. In this case the memory of the PCI device was not unmapped. Also rename error label to reflect what will happen at the destination

Re: [PATCH] moving from pci to dma

2015-01-12 Thread chas williams - CONTRACTOR
There doesn't seem to be a patch for review? On Mon, 12 Jan 2015 11:02:39 +0100 Quentin Lambert wrote: > This patch replaces the references to the deprecated pci api with the > corresponding dma api. ... > Quentin Lambert (1): > atm: remove deprecated use of pci api > > drivers/atm/eni.c

Re: [PATCH] out out damn perl

2015-01-12 Thread Borislav Petkov
On Mon, Jan 12, 2015 at 10:16:25AM -0500, Lennart Sorensen wrote: > On Tue, Jan 06, 2015 at 05:41:35PM -0600, Rob Landley wrote: > > From: Rob Landley > > > > Commit e6023367d779 added perl back to the kernel build in -rc6. > > Replace 39 lines of perl with 4 lines of shell script. > > Maybe

Re: [PATCH 4/4] PCI: quirk Atheros AR93xx to avoid bus reset

2015-01-12 Thread Andreas Hartmann
Alex Williamson wrote: > On Thu, 2015-01-08 at 09:07 -0700, Bjorn Helgaas wrote: >> On Fri, Nov 21, 2014 at 11:24:27AM -0700, Alex Williamson wrote: >>> Reports against the TL-WDN4800 card indicate that PCI bus reset of >>> this Atheros device cause system lock-ups and resets. I've also >>> been

Re: [PATCH v8 02/10] iommu/vt-d: Items required for kdump

2015-01-12 Thread Joerg Roedel
On Mon, Jan 12, 2015 at 03:06:20PM +0800, Li, Zhen-Hua wrote: > + > +#ifdef CONFIG_CRASH_DUMP > + > +/* > + * Fix Crashdump failure caused by leftover DMA through a hardware IOMMU > + * > + * Fixes the crashdump kernel to deal with an active iommu and legacy > + * DMA from the (old) panicked

Re: [PATCH] TaskTracker : Simplified thread information tracker.

2015-01-12 Thread Richard Guy Briggs
On 15/01/12, Tetsuo Handa wrote: > Thank you for comments. > > Richard Guy Briggs wrote: > > Steve already mentioned any user-influenced fields need to be escaped, > > so I'd recommend audit_log_untrustedstring() as being much simpler from > > your perspective and much better tested and

Re: [PATCH v8 01/10] iommu/vt-d: Update iommu_attach_domain() and its callers

2015-01-12 Thread Joerg Roedel
On Mon, Jan 12, 2015 at 03:06:19PM +0800, Li, Zhen-Hua wrote: > Allow specification of the domain-id for the new domain. > This patch only adds the 'did' parameter to iommu_attach_domain() > and modifies all of its callers to specify the default value of -1 > which says "no did specified, allocate

Re: [PATCH] out out damn perl

2015-01-12 Thread Lennart Sorensen
On Tue, Jan 06, 2015 at 05:41:35PM -0600, Rob Landley wrote: > From: Rob Landley > > Commit e6023367d779 added perl back to the kernel build in -rc6. > Replace 39 lines of perl with 4 lines of shell script. Maybe checkpatch should be updated to look for perl. :) -- Len Sorensen -- To

Re: [PATCH] xen/blkfront: restart request queue when there is enough persistent_gnts_c

2015-01-12 Thread Roger Pau Monné
El 12/01/15 a les 14.04, David Vrabel ha escrit: > On 12/01/15 11:36, Roger Pau Monné wrote: >> El 12/01/15 a les 8.09, Bob Liu ha escrit: >>> >>> On 01/09/2015 11:51 PM, Roger Pau Monné wrote: El 06/01/15 a les 14.19, Bob Liu ha escrit: > When there is no enough free grants,

Re: [PATCH] TaskTracker : Simplified thread information tracker.

2015-01-12 Thread Steve Grubb
On Monday, January 12, 2015 03:13:12 PM Tetsuo Handa wrote: > Thank you for comments. > > Richard Guy Briggs wrote: > > Steve already mentioned any user-influenced fields need to be escaped, > > so I'd recommend audit_log_untrustedstring() as being much simpler from > > your perspective and much

[RESEND PATCH] clk: at91: keep slow clk enabled to prevent system hang

2015-01-12 Thread Boris Brezillon
All slow clk users are not properly requesting it (get + prepare + enable) before using it. If all users properly requesting this clock decide that they don't need it anymore (or are removed), this lead to this clock being disabled while faulty users are still requiring it, which in turn hangs the

Re: [RFC 1/4] lockdep: additional lock specific information when dumping locks

2015-01-12 Thread Sasha Levin
On 01/12/2015 10:06 AM, Peter Zijlstra wrote: > On Mon, Jan 12, 2015 at 09:57:08AM -0500, Sasha Levin wrote: >> When dumping held locks, it might be useful to get additional lock-specific >> information about each lock. >> >> This is mainly useful to figure out who really holds each lock rather

[PATCH 0/3] An alternative to SPI NAND

2015-01-12 Thread qiwang
Hi Ezequiel, On 01/08/2015 11:27 AM, Ezequiel Garcia wrote: > >Hi Qi Wang, > >On 01/07/2015 11:45 PM, Qi Wang 王起 (qiwang) wrote: >> Hi Brian, >> >> On Thu, Jan 08, 2015 at 9:03:24AM +, Brian Norris wrote: >>> >>> On Thu, Jan 08, 2015 at 12:47:24AM +, Peter Pan 潘栋 (peterpandong) >>> wrote:

Re: [PATCH v1 1/4] hexdump: introduce test suite

2015-01-12 Thread Paul Gortmaker
On Mon, Dec 29, 2014 at 6:50 AM, Andy Shevchenko wrote: > Test different scenarios of function calls located in lib/hexdump.c. > > Currently hex_dump_to_buffer() is only tested and test data is provided for > little endian CPUs. > > Signed-off-by: Andy Shevchenko > --- > lib/Kconfig.debug |

Re: [GIT PULL] at91: fixes for 3.19 #1 (bis)

2015-01-12 Thread Nicolas Ferre
Le 11/01/2015 22:12, Olof Johansson a écrit : > On Fri, Jan 09, 2015 at 10:02:50AM +0100, Nicolas Ferre wrote: >> Le 08/01/2015 23:41, Olof Johansson a écrit : >>> On Mon, Jan 05, 2015 at 12:14:37PM +0100, Nicolas Ferre wrote: Arnd, Olof, Kevin, This is the rebase of my previous

Re: noisy selinux messages on tmpfs mount.

2015-01-12 Thread Paul Moore
On Monday, January 12, 2015 09:51:17 AM Christopher J. PeBenito wrote: > On 1/9/2015 3:47 PM, Stephen Smalley wrote: > > On 01/09/2015 02:13 PM, Dave Jones wrote: > >> That doesn't really help with the flooding of dmesg, so no. > >> I should also note that it's not just logging in that creates a

Re: [RFC 1/4] lockdep: additional lock specific information when dumping locks

2015-01-12 Thread Peter Zijlstra
On Mon, Jan 12, 2015 at 09:57:08AM -0500, Sasha Levin wrote: > When dumping held locks, it might be useful to get additional lock-specific > information about each lock. > > This is mainly useful to figure out who really holds each lock rather then > who's just waiting on it, but it could be

Re: [PATCH] edac: i5100_edac: Remove unused function

2015-01-12 Thread Borislav Petkov
On Sun, Jan 11, 2015 at 06:57:10PM +0100, Rickard Strandqvist wrote: > Remove the function i5100_recmema_dm_buf_id() that is not used anywhere. > > This was partially found by using a static code analysis program called > cppcheck. > > Signed-off-by: Rickard Strandqvist Applied, thanks. --

Re: [PATCH v9 07/12] coresight-etm: add CoreSight ETM/PTM driver

2015-01-12 Thread Mathieu Poirier
On 12 January 2015 at 04:34, Paul Bolle wrote: > On Mon, 2014-11-10 at 20:32 +0100, Paul Bolle wrote: >> On Mon, 2014-11-10 at 08:40 -0700, Mathieu Poirier wrote: >> > On 10 November 2014 03:34, Paul Bolle wrote: >> > > On Mon, 2014-11-03 at 11:07 -0700, mathieu.poir...@linaro.org wrote: >> > >>

[PATCH v5] can: Convert to runtime_pm

2015-01-12 Thread Kedareswara rao Appana
Instead of enabling/disabling clocks at several locations in the driver, Use the runtime_pm framework. This consolidates the actions for runtime PM In the appropriate callbacks and makes the driver more readable and mantainable. Signed-off-by: Soren Brinkmann Signed-off-by: Kedareswara rao

RE: [PATCH v4] can: Convert to runtime_pm

2015-01-12 Thread Appana Durga Kedareswara Rao
Hi Marc, > -Original Message- > From: Marc Kleine-Budde [mailto:m...@pengutronix.de] > Sent: Monday, January 12, 2015 7:23 PM > To: Appana Durga Kedareswara Rao > Cc: linux-...@vger.kernel.org; net...@vger.kernel.org; linux- > ker...@vger.kernel.org; Soren Brinkmann;

Re: [RFC PATCH] [media] coda: Use S_PARM to set nominal framerate for h.264 encoder

2015-01-12 Thread Hans Verkuil
On 12/22/2014 05:00 PM, Philipp Zabel wrote: > The encoder needs to know the nominal framerate for the constant bitrate > control mechanism to work. Currently the only way to set the framerate is > by using VIDIOC_S_PARM on the output queue. > > Signed-off-by: Philipp Zabel > --- >

Re: [Xen-devel] [PATCH v2] [Bugfix] x86/apic: Fix xen IRQ allocation failure caused by commit b81975eade8c

2015-01-12 Thread David Vrabel
On 12/01/15 13:39, Jiang Liu wrote: > Commit b81975eade8c ("x86, irq: Clean up irqdomain transition code") > breaks xen IRQ allocation because xen_smp_prepare_cpus() doesn't invoke > setup_IO_APIC(), so no irqdomains created for IOAPICs and > mp_map_pin_to_irq() fails at the very beginning. > >

Re: noisy selinux messages on tmpfs mount.

2015-01-12 Thread Christopher J. PeBenito
On 1/9/2015 3:47 PM, Stephen Smalley wrote: > On 01/09/2015 02:13 PM, Dave Jones wrote: >> On Fri, Jan 09, 2015 at 08:06:49AM -0500, Stephen Smalley wrote: >> >> > On Thu, Jan 8, 2015 at 2:39 PM, Paul Moore wrote: >> > > On Thursday, January 08, 2015 02:34:57 PM Paul Moore wrote: >> > >> On

[RFC 3/4] locking/rwsem: additional lock information when dumping locks

2015-01-12 Thread Sasha Levin
Show the counter and the owner of the lock when dumping held locks in the system. This is useful to figure out who really holds a lock and how many waiters it has. Signed-off-by: Sasha Levin --- include/linux/lockdep.h |2 +- include/linux/rwsem.h |3 ++-

[RFC 4/4] locking/spinlock: additional lock information when dumping locks

2015-01-12 Thread Sasha Levin
Show the owner cpu and task of the lock when dumping held locks in the system. Signed-off-by: Sasha Levin --- include/linux/lockdep.h |2 +- include/linux/spinlock.h|4 include/linux/spinlock_types.h |2 +- kernel/locking/lockdep.c|5 +

[RFC 1/4] lockdep: additional lock specific information when dumping locks

2015-01-12 Thread Sasha Levin
When dumping held locks, it might be useful to get additional lock-specific information about each lock. This is mainly useful to figure out who really holds each lock rather then who's just waiting on it, but it could be extended further or extended to the other lockdep users if required.

[RFC 2/4] locking/mutex: additional lock information when dumping locks

2015-01-12 Thread Sasha Levin
Show the counter and the owner of the lock when dumping held locks in the system. This is useful to figure out who really holds a lock and how many waiters it has. Signed-off-by: Sasha Levin --- drivers/usb/storage/usb.c|2 +- fs/inode.c |3 ++- fs/super.c

[PATCH] dt-bindings: Add Silicon Mitus vendor prefix

2015-01-12 Thread Krzysztof Kozlowski
Add vendor prefix for Silicon Mitus. Currently there is binding for sm5502 extcon driver ("siliconmitus,sm5502-muic"). Signed-off-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH 7/9] i8k: Autodetect fan RPM multiplier

2015-01-12 Thread Guenter Roeck
On 01/12/2015 06:37 AM, Greg Kroah-Hartman wrote: On Mon, Jan 12, 2015 at 06:19:31AM -0800, Guenter Roeck wrote: On 01/12/2015 05:32 AM, Pali Rohár wrote: This patch adds new function i8k_get_fan_nominal_speed() for doing SMM call which will return nominal fan RPM for specified fan speed. It

Re: [PATCH] ARM: at91: board-dt-sama5: add phy_fixup to override NAND_Tree which improperly strapp-in during the reset period.

2015-01-12 Thread Nicolas Ferre
Le 11/12/2014 08:31, Wenyou Yang a écrit : > Appearance: On some SAMA5D4EK boards, after power up, the Eth1 doesn't work. > > Reason: The PIOE2 pin is connected to the NAND_Tree# of KSZ8081, > But it outputs LOW during the reset period, which cause the NAND_Tree# > enabled. > > Add phy_fixup()

Re: [PATCH 9/9] i8k: Add support for fan labels

2015-01-12 Thread Guenter Roeck
On 01/12/2015 05:32 AM, Pali Rohár wrote: This patch adds labels support for fans if SMM function with EAX register 0x03a3 reports it. This information was taken from DOS binary NBSVC.MDM. Additionally this patch change detection of fan presece. Instead reading fan status now detection is based

Re: [PATCH v12 00/20] DAX: Page cache bypass for filesystems on memory storage

2015-01-12 Thread Matthew Wilcox
On Tue, Jan 06, 2015 at 12:47:14AM -0800, Andrew Morton wrote: > On Mon, 5 Jan 2015 10:41:43 -0800 Christoph Hellwig > wrote: > > > On Wed, Dec 10, 2014 at 09:12:11AM -0500, Matthew Wilcox wrote: > > > On Wed, Dec 10, 2014 at 06:03:47AM -0800, Christoph Hellwig wrote: > > > > What is the status

Re: [PATCH] gianfar: correct the bad expression while writing bit-pattern

2015-01-12 Thread Claudiu Manoil
On 1/12/2015 9:43 AM, Sanjeev Sharma wrote: This patch correct the bad expression while writing the bit-pattern from software's buffer to hardware registers. Signed-off-by: Sanjeev Sharma --- drivers/net/ethernet/freescale/gianfar_ethtool.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH] staging: skein: Fix checkpatch warnings

2015-01-12 Thread Jason Cooper
On Mon, Jan 12, 2015 at 05:33:47PM +0300, Dan Carpenter wrote: > On Mon, Jan 12, 2015 at 09:14:18AM -0500, Jason Cooper wrote: > > Arno, > > > > On Sat, Jan 10, 2015 at 04:00:47PM +0100, Arno Tiemersma wrote: > > > Remove do {} while (0) loops around single statements in > > > skein/skein_block.c

Re: [PATCH v5 5/5] KVM: arm/arm64: add irqfd support

2015-01-12 Thread Eric Auger
Hi Christoffer, On 01/11/2015 10:43 PM, Christoffer Dall wrote: > On Wed, Dec 03, 2014 at 05:07:12PM +0100, Eric Auger wrote: >> This patch enables irqfd on arm/arm64. >> >> Both irqfd and resamplefd are supported. Injection is implemented >> in vgic.c without routing. >> >> This patch enables

Re: [RFC 8/8] ARM64: Add uprobe support

2015-01-12 Thread Oleg Nesterov
On 01/12, Pratyush Anand wrote: > > Hi Oleg, > > How can I generate a scenario to test: > > a) arch_uprobe_xol_was_trapped > b) arch_uprobe_abort_xol For example, you can probe something like *(int *)NULL = 0; See also the x86 test-case in https://lkml.org/lkml/2011/10/21/148 and the

Re: [PATCH 7/9] i8k: Autodetect fan RPM multiplier

2015-01-12 Thread Greg Kroah-Hartman
On Mon, Jan 12, 2015 at 06:19:31AM -0800, Guenter Roeck wrote: > On 01/12/2015 05:32 AM, Pali Rohár wrote: > >This patch adds new function i8k_get_fan_nominal_speed() for doing SMM call > >which will return nominal fan RPM for specified fan speed. It returns nominal > >RPM value at which fan

Re: [PATCH v2 3/5] mm/compaction: print current range where compaction work

2015-01-12 Thread Vlastimil Babka
On 01/12/2015 09:21 AM, Joonsoo Kim wrote: > It'd be useful to know current range where compaction work for detailed > analysis. With it, we can know pageblock where we actually scan and > isolate, and, how much pages we try in that pageblock and can guess why > it doesn't become freepage with

Re: [PATCH] staging: skein: Fix checkpatch warnings

2015-01-12 Thread Dan Carpenter
On Mon, Jan 12, 2015 at 09:14:18AM -0500, Jason Cooper wrote: > Arno, > > On Sat, Jan 10, 2015 at 04:00:47PM +0100, Arno Tiemersma wrote: > > Remove do {} while (0) loops around single statements in > > skein/skein_block.c > > > > Signed-off-by: Arno Tiemersma > > --- > >

Re: [PATCH v2 1/3] media: au0828 - convert to use videobuf2

2015-01-12 Thread Hans Verkuil
Hi Shuah, Looks good! I do have a few small comments, see below. On 12/18/2014 05:20 PM, Shuah Khan wrote: > Convert au0828 to use videobuf2. Tested with NTSC. > Tested video and vbi devices with xawtv, tvtime, > and vlc. Ran v4l2-compliance to ensure there are > no new regressions in video and

Re: [PATCH v2 2/5] mm/compaction: enhance tracepoint output for compaction begin/end

2015-01-12 Thread Vlastimil Babka
On 01/12/2015 09:21 AM, Joonsoo Kim wrote: > We now have tracepoint for begin event of compaction and it prints > start position of both scanners, but, tracepoint for end event of > compaction doesn't print finish position of both scanners. It'd be > also useful to know finish position of both

Re: [RFC 8/8] ARM64: Add uprobe support

2015-01-12 Thread Oleg Nesterov
On 01/12, Pratyush Anand wrote: > > > On Friday 09 January 2015 11:29 PM, Oleg Nesterov wrote: >> On 12/31, Pratyush Anand wrote: >>> >>> +int arch_uprobe_analyze_insn(struct arch_uprobe *auprobe, struct mm_struct >>> *mm, >>> + unsigned long addr) >>> +{ >>> + probe_opcode_t insn;

Re: [PATCH 0/2] hwmon: (ina2xx) code clean-up and minor fixes

2015-01-12 Thread Guenter Roeck
On 01/12/2015 05:47 AM, Bartosz Golaszewski wrote: This small series fixes two minor issues in the driver after recent implementation of new attributes. The first patch removes an unnecessary result check after calling dev_get_drvdata() and the second one adds calls to DIV_ROUND_CLOSEST() to

Re: [PATCH v2 1/5] mm/compaction: change tracepoint format from decimal to hexadecimal

2015-01-12 Thread Vlastimil Babka
On 01/12/2015 09:21 AM, Joonsoo Kim wrote: > To check the range that compaction is working, tracepoint print > start/end pfn of zone and start pfn of both scanner with decimal format. > Since we manage all pages in order of 2 and it is well represented by > hexadecimal, this patch change the

Re: Linux 3.19-rc3

2015-01-12 Thread Catalin Marinas
On Mon, Jan 12, 2015 at 01:57:48PM +, Arnd Bergmann wrote: > On Monday 12 January 2015 12:18:15 Catalin Marinas wrote: > > On Sat, Jan 10, 2015 at 09:36:13PM +, Arnd Bergmann wrote: > > > On Saturday 10 January 2015 13:00:27 Linus Torvalds wrote: > > > > > IIRC, AIX works great with 64k

Re: [PATCH] clocksource: timer-atmel-pit: don't suspend/resume if unused

2015-01-12 Thread Daniel Lezcano
On 01/12/2015 03:04 PM, Nicolas Ferre wrote: Le 18/12/2014 15:05, Nicolas Ferre a écrit : From: Sylvain Rochet Waiting for PIT to stop counting takes a long time: 1/(Master clock/prescaler/PIVR) = 1/(133 MHz /16 /2^20) = 126 ms Up to 126 ms if master clock is set to 133 MHz,

Re: [PATCH v2 1/3] media: au0828 - convert to use videobuf2

2015-01-12 Thread Hans Verkuil
On 12/18/2014 05:20 PM, Shuah Khan wrote: > Convert au0828 to use videobuf2. Tested with NTSC. > Tested video and vbi devices with xawtv, tvtime, > and vlc. Ran v4l2-compliance to ensure there are > no new regressions in video and vbi now has 3 fewer > failures. > > video before: > test

Re: [PATCH 7/9] i8k: Autodetect fan RPM multiplier

2015-01-12 Thread Guenter Roeck
On 01/12/2015 05:32 AM, Pali Rohár wrote: This patch adds new function i8k_get_fan_nominal_speed() for doing SMM call which will return nominal fan RPM for specified fan speed. It returns nominal RPM value at which fan operate when speed (0, 1, 2, 3) is set. It looks like RPM value is not

Re: [PATCH v2 0/5] Reenable might_sleep() checks for might_fault()

2015-01-12 Thread David Hildenbrand
Thomas, Peter, anything that speaks against putting the pagefault_disable counter into thread_info (my series) instead of task_struct (rt tree)? IOW, what would be the right place for it? Would be good to know for me how to proceed with this series. Thanks! David > v1 -> v2: > - moved

Re: [PATCHv10 man-pages 5/5] execveat.2: initial man page for execveat(2)

2015-01-12 Thread David Drysdale
On Fri, Jan 9, 2015 at 9:50 PM, Al Viro wrote: > On Fri, Jan 09, 2015 at 04:28:52PM -0500, Rich Felker wrote: > >> The "magic open-once magic symlink" approach is really the cleanest >> solution I can find. In the case where the interpreter does not open >> the script, nothing terribly bad

Re: [PATCH v7 0/4] Add support for parametrized events

2015-01-12 Thread Arnaldo Carvalho de Melo
Em Thu, Jan 08, 2015 at 10:54:34AM +0100, Jiri Olsa escreveu: > for the patchset: > > Acked-by: Jiri Olsa Applied to perf/core Thanks, - Arnaldo -- 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

Re: [PATCH v2] staging: skein: Remove all do{} while (0) loop from single statement.

2015-01-12 Thread Jason Cooper
On Sun, Jan 11, 2015 at 03:41:05PM -0800, Shirish Gajera wrote: > This patch fixes the checkpatch.pl warning: > > WARNING: Single statement macros should not use a do {} while (0) loop > > I remove do while from the single statement macro. > > Signed-off-by: Shirish Gajera > --- >

Re: [PATCH] staging: skein: Fix checkpatch warnings

2015-01-12 Thread Jason Cooper
Arno, On Sat, Jan 10, 2015 at 04:00:47PM +0100, Arno Tiemersma wrote: > Remove do {} while (0) loops around single statements in > skein/skein_block.c > > Signed-off-by: Arno Tiemersma > --- > drivers/staging/skein/skein_block.c | 16 > 1 file changed, 4 insertions(+), 12

Re: [PATCH] gianfar: correct the bad expression while writing bit-pattern

2015-01-12 Thread Sergei Shtylyov
Hello. On 1/12/2015 10:43 AM, Sanjeev Sharma wrote: This patch correct the bad expression while writing the bit-pattern from software's buffer to hardware registers. Signed-off-by: Sanjeev Sharma --- drivers/net/ethernet/freescale/gianfar_ethtool.c | 2 +- 1 file changed, 1

Re: [PATCH v2 3/5] pinctrl: exynos: Fix GPIO setup failure because domain clock being gated

2015-01-12 Thread Krzysztof Kozlowski
On pon, 2014-12-01 at 23:34 +0900, Tomasz Figa wrote: > 2014-12-01 17:37 GMT+09:00 Krzysztof Kozlowski : > > > > On nie, 2014-11-30 at 21:19 +0900, Tomasz Figa wrote: > >> Hi Krzysztof, > >> (...) > > > >> Also isn't a similar problem happening due to power domains? I believe > >> the whole maudio

[PATCH RESEND v8 2/2] clk: Add floor and ceiling constraints to clock rates

2015-01-12 Thread Tomeu Vizoso
Adds a way for clock consumers to set maximum and minimum rates. This can be used for thermal drivers to set ceiling rates, or by misc. drivers to set floor rates to assure a minimum performance level. Changes the signature of the determine_rate callback by adding the parameters floor_rate and

Re: [PATCH v2 3/3] media: au0828 remove video and vbi buffer timeout work-around

2015-01-12 Thread Hans Verkuil
On 12/18/2014 05:20 PM, Shuah Khan wrote: > au0828 does video and vbi buffer timeout handling to prevent > applications such as tvtime from hanging by ensuring that the > video frames continue to be delivered even when the ITU-656 > input isn't receiving any data. This work-around is complex > as

[PATCH RESEND v8 1/2] clk: Make clk API return per-user struct clk instances

2015-01-12 Thread Tomeu Vizoso
Moves clock state to struct clk_core, but takes care to change as little API as possible. struct clk_hw still has a pointer to a struct clk, which is the implementation's per-user clk instance, for backwards compatibility. The struct clk that clk_get_parent() returns isn't owned by the caller,

[PATCH RESEND v8 0/2] Per-user clock constraints

2015-01-12 Thread Tomeu Vizoso
Hi, I have rebased this on top of 3.19rc1 so all the cleanups have been dropped and only the meat remains. The first patch actually moves the per-clock data that was stored in struct clk to a new struct clk_core and adds references to it from both struct clk and struct clk_hw. struct clk is now

Re: [PATCH v4 5/6] arm64: Add kernel return probes support(kretprobes)

2015-01-12 Thread Steve Capper
On Sat, Jan 10, 2015 at 11:03:20PM -0500, David Long wrote: > From: Sandeepa Prabhu > > AArch64 ISA does not have instructions to pop the PC register > value from the stack(like ARM v7 has ldmia {...,pc}) without using > one of the general purpose registers. This means return probes > cannot

Re: [PATCH v4 0/6] arm64: Add kernel probes (kprobes) support

2015-01-12 Thread Steve Capper
On Sat, Jan 10, 2015 at 11:03:15PM -0500, David Long wrote: > From: "David A. Long" > > This patchset is heavily based on Sandeepa Prabhu's ARM v8 kprobes patches, > first > seen in October 2013. This version attempts to address concerns raised by > reviewers and also fixes problems discovered

<    3   4   5   6   7   8   9   10   11   12   >