Re: [PATCH V2 4/4] edac, amd64_edac: Add F15h M60h support

2014-10-29 Thread Aravind Gopalakrishnan
On 10/10/2014 12:49 PM, Borislav Petkov wrote: On Mon, Oct 06, 2014 at 07:04:40PM -0500, Aravind Gopalakrishnan wrote: This patch adds support for ECC error decoding for F15h M60h processor. Aside from the usual changes, the patch adds support for some new features in the processor: - DDR4(unb

Re: [PATCH] mac80211_hwsim: release driver when ieee80211_register_hw fails

2014-10-29 Thread Johannes Berg
On Tue, 2014-10-28 at 09:31 +0800, Junjie Mao wrote: > The driver is not released when ieee80211_register_hw fails in > mac80211_hwsim_create_radio, leading to the access to the unregistered (and > possibly freed) device in platform_driver_unregister: Applied. johannes -- To unsubscribe from thi

Re: [PATCH v3] thermal: Add QPNP PMIC temperature alarm driver

2014-10-29 Thread Ivan T. Ivanov
Hi Eduardo, On Mon, 2014-10-27 at 16:16 -0400, Eduardo Valentin wrote: > Hello Ivan > > > > > > + > > +static int qpnp_tz_set_mode(struct thermal_zone_device *thermal, > > + enum thermal_device_mode mode) > > +{ > > + struct qpnp_tm_chip *chip = thermal->devdata; > > + i

[PATCH] USB: cdc-acm: only raise DTR on transitions from B0

2014-10-29 Thread Johan Hovold
Make sure to only raise DTR on transitions from B0 in set_termios. Also allow set_termios to be called from open with a termios_old of NULL. Note that DTR will not be raised prematurely in this case. Signed-off-by: Johan Hovold --- drivers/usb/class/cdc-acm.c | 5 +++-- 1 file changed, 3 insert

Re: linux-next: build warning after merge of the pm tree

2014-10-29 Thread Rafael J. Wysocki
On Wednesday, October 29, 2014 11:23:38 PM Fengguang Wu wrote: > On Wed, Oct 29, 2014 at 03:55:19PM +0100, Rafael J. Wysocki wrote: > > On Wednesday, October 29, 2014 01:51:29 PM Stephen Rothwell wrote: > > > Hi Rafael, > > > > Hi, > > > > > After merging the pm tree, today's linux-next build (ar

Re: [PATCH v2 00/20] rtc: omap: fixes and power-off feature

2014-10-29 Thread Guenter Roeck
On Wed, Oct 29, 2014 at 02:35:26PM +0100, Johan Hovold wrote: > On Wed, Oct 29, 2014 at 06:20:40AM -0700, Guenter Roeck wrote: > > On 10/29/2014 05:34 AM, Johan Hovold wrote: > > > On Tue, Oct 28, 2014 at 03:16:10PM +, Russell King - ARM Linux wrote: > > >> On Tue, Oct 28, 2014 at 02:12:57PM +0

Re: [PATCH 3/3] staging: comedi: usbduxfast: updated address details

2014-10-29 Thread Greg Kroah-Hartman
On Tue, Oct 14, 2014 at 04:59:13PM +, Hartley Sweeten wrote: > On Tuesday, October 14, 2014 9:51 AM, Hartley Sweeten wrote: > > On Friday, October 10, 2014 12:35 PM, Bernd Porr wrote: > >> > >> Updated the range of years, e-mail and added driver desription as > >> usually done in comedi. > >>

Re: [PATCH v6 7/7] ARM: dts: add suspend voltage setting for RK808

2014-10-29 Thread Doug Anderson
Chris, On Wed, Oct 29, 2014 at 4:52 AM, Chris Zhong wrote: > global_pwroff would be pull to high when RK3288 entering suspend, > this pin is a sleep signal for RK808, so RK808 could goto sleep > mode, and some regulators would be disable. > > Signed-off-by: Chris Zhong > > --- > > Changes in v6:

Re: [PATCH v2] staging: comedi: drivers: comedi_bond.c: Changed from using strncat to strlcat

2014-10-29 Thread Greg Kroah-Hartman
On Sat, Oct 18, 2014 at 04:35:08PM +0200, Rickard Strandqvist wrote: > Changed from using strncat to strlcat to simplify the code > > Signed-off-by: Rickard Strandqvist > Reviewed-by: Ian Abbott > Reviewed-by: H Hartley Sweeten > --- > drivers/staging/comedi/drivers/comedi_bond.c |9 +++---

Re: [PATCH] staging : lustre : Fixed static symbol sparse warnings

2014-10-29 Thread Greg KH
On Sat, Oct 18, 2014 at 01:43:27PM -0400, Jerry Stralko wrote: > Signed-off-by: Jerry Stralko > --- > drivers/staging/lustre/lnet/lnet/lib-move.c | 16 > 1 file changed, 8 insertions(+), 8 deletions(-) This doesn't apply to my tree at all :( -- To unsubscribe from this list: sen

Re: [PATCHv2] staging: rtl8188eu: Fix coding style space related ERROR problems

2014-10-29 Thread Greg Kroah-Hartman
On Tue, Oct 14, 2014 at 11:28:32AM +0800, Jia He wrote: > This fixes space related ERROR reports by checkpatch.pl > Generated by $ git ls-files "drivers/staging/rtl8188eu/*.[ch]" | \ > xargs ./scripts/checkpatch.pl -f --fix-inplace --strict --types=SPACING > Already checked by text comparasion >

Re: [PATCH v2 1/2] staging: lustre: Reduce function visibility

2014-10-29 Thread Greg Kroah-Hartman
On Sat, Oct 25, 2014 at 03:30:37AM +0200, Mariusz Gorski wrote: > This patch fixes the following sparse warnings: > drivers/staging/lustre/lnet/lnet/module.c:47:1: warning: symbol > 'lnet_configure' was not declared. Should it be static? > drivers/staging/lustre/lnet/lnet/module.c:67:1: warning:

Re: [PATCH v6 0/7] staging: skein: CryptoAPI and Module Support

2014-10-29 Thread Greg KH
On Mon, Oct 27, 2014 at 09:20:31AM -0400, Jason Cooper wrote: > Greg, > > On Fri, Oct 24, 2014 at 05:29:09PM -0500, Eric Rost wrote: > > Adds CryptoAPI and loadable module support to the Skein Hashing > > Algorithm. Collapses threefish module into skein module. Renames skein.c > > and skein.h to s

Re: [PATCH RESEND v2 1/2] Staging: rts5208: helper function to manage aspm during reset

2014-10-29 Thread Greg KH
On Tue, Oct 28, 2014 at 07:46:55PM +0100, Fabio Falzoi wrote: > Define the helper function rtsx_reset_aspm to shorten the > rtsx_reset_chip code and get rid of the LONG_LINE checkpatch warnings. > > Signed-off-by: Fabio Falzoi > Reviewed-by: Dan Carpenter > --- > drivers/staging/rts5208/rtsx_ch

Re: [PATCH 2/2] staging: rtl8723au: core style issue

2014-10-29 Thread Greg KH
On Mon, Oct 27, 2014 at 12:16:08AM +, Paul McQuade wrote: > spaces required around % > > Signed-off-by: Paul McQuade > --- > drivers/staging/rtl8723au/core/rtw_recv.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Your subject does not make sense :( -- To unsubscribe from this

Re: [PATCH 1/2] staging: rtl8723au: core: pointer issue

2014-10-29 Thread Greg KH
On Sun, Oct 26, 2014 at 04:17:46PM +, Paul McQuade wrote: > ERROR: "foo * bar" should be "foo *bar" > > Signed-off-by: Paul McQuade > --- > drivers/staging/rtl8723au/core/rtw_efuse.c | 12 ++-- > 1 file changed, 6 insertions(+), 6 deletions(-) Again with the odd subject :( -- To uns

Re: [PATCH][V2] Staging:rtl8723au: open/closed brace issue

2014-10-29 Thread Greg KH
On Sun, Oct 26, 2014 at 03:10:22PM +, Paul McQuade wrote: > ERROR: that open brace { should be on the previous line > > Signed-off-by: Paul McQuade > --- > drivers/staging/rtl8723au/core/rtw_ap.c | 130 > ++-- > 1 file changed, 40 insertions(+), 90 deletions(-)

Re: [PATCH 1/1] staging - rtl8188eu: Deletion of unnecessary checks before three function calls

2014-10-29 Thread Greg Kroah-Hartman
On Thu, Oct 23, 2014 at 09:20:29PM +0200, SF Markus Elfring wrote: > >From 45970693cad6c12da2d5ac7da3d2bd7a566170d7 Mon Sep 17 00:00:00 2001 > From: Markus Elfring > Date: Thu, 23 Oct 2014 20:55:13 +0200 > Subject: [PATCH] staging - rtl8188eu: Deletion of unnecessary checks before > three functio

Re: [PATCH V7] mmc: dw_mmc: Add IDMAC 64-bit address mode support

2014-10-29 Thread Alim Akhtar
Hi Prabu, On Mon, Oct 20, 2014 at 12:42 PM, Prabu Thangamuthu wrote: > Synopsys DW_MMC IP core supports Internal DMA Controller with 64-bit address > mode from IP version 2.70a onwards. > Updated the driver to support IDMAC 64-bit addressing mode. > > Signed-off-by: Prabu Thangamuthu Thanks!! T

Re: [PATCH 2/2] staging: rtl8723au:core

2014-10-29 Thread Greg KH
On Sun, Oct 26, 2014 at 04:18:52PM +, Paul McQuade wrote: > ERROR: spaces required around that ':' (ctx:VxE) > > Signed-off-by: Paul McQuade > --- > drivers/staging/rtl8723au/core/rtw_ieee80211.c | 16 > 1 file changed, 8 insertions(+), 8 deletions(-) Your Subject: makes no

Re: [PATCH] staging: rtl8723au pointer issue

2014-10-29 Thread Greg KH
On Sun, Oct 26, 2014 at 03:59:56PM +, Paul McQuade wrote: > ERROR: "foo*bar" should be "foo *bar" > > Signed-off-by: Paul McQuade > --- > drivers/staging/rtl8723au/core/rtw_cmd.c | 12 ++-- > 1 file changed, 6 insertions(+), 6 deletions(-) The subject does not make sense :( -- To un

Re: [PATCH] Staging: rts5208: rtsx_scsi: Fixed a brace coding style issue

2014-10-29 Thread Greg KH
On Fri, Oct 17, 2014 at 12:30:51AM +0100, Mike Roocroft wrote: > Fixed a coding style issue. > > Signed-off-by: Mike Roocroft > --- > drivers/staging/rts5208/rtsx_scsi.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/drivers/staging/rts5208/rtsx_scsi.c > b/drivers/s

Re: [PATCH] staging: rtl8192e: from bus specific dma api to dma api

2014-10-29 Thread Greg Kroah-Hartman
On Wed, Oct 22, 2014 at 02:24:46PM +0530, Sudip Mukherjee wrote: > we should be using DMA API rather than using bus specific DMA API. Why? > converted the occurrence of pci_map_*() to dma_map_*(), > and at the same time used the dma_mapping_error(). Trailing whitespace :( What have you us

Re: [PATCH] drivers: staging: imx-drm Fix checkpatch warning

2014-10-29 Thread Greg KH
On Wed, Oct 15, 2014 at 11:37:24PM -0300, Gaston Gonzalez wrote: > Fix line over 80 characters in imx-tve.c > > Signed-off-by: Gaston Gonzalez > --- > drivers/staging/imx-drm/imx-tve.c |3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/staging/imx-drm/imx-tve.

Re: PM/runtime issue: Device cannot runtime resume because power domain is off during system resume

2014-10-29 Thread Krzysztof Kozlowski
On śro, 2014-10-29 at 14:01 +0100, Ulf Hansson wrote: > On 16 October 2014 16:05, Krzysztof Kozlowski wrote: > > Hi, > > > > I encounter issues with DRM/panel driver for Exynos after resuming from > > suspend to RAM. This is reproduced on 3.16 but I think it is applicable > > also to mainline. >

Re: [PATCH RESEND] staging: dgap: re-arrange functions for removing forward declarations

2014-10-29 Thread Greg KH
On Sun, Oct 26, 2014 at 11:08:54AM +0900, Daeseok Youn wrote: > Re-arrange the functions for removing forward declarations. > > Tested-by: Mark Hounschell > Signed-off-by: Daeseok Youn > --- > RESEND: This patch is tested all by Mark. > It is good to merge. Greg, check please. It doesn't apply

Re: [RFC v2 4/4] backports: add kernl integration support to gentree.py

2014-10-29 Thread Stefan Assmann
On 29.10.2014 09:21, Luis R. Rodriguez wrote: > From: "Luis R. Rodriguez" > > Signed-off-by: Luis R. Rodriguez > --- > backport/Kconfig | 54 > backport/Kconfig.sources | 23 > backport/Makefile | 3

Re: [PATCH] Staging: dgnc: fix macro coding style issue in digi.h

2014-10-29 Thread Greg KH
On Wed, Oct 29, 2014 at 02:12:38AM +0800, Cheng-Yi He wrote: > This is a patch to the digi.h file that fixes up the following error > found by the checkpatch tool. > ERROR: Macros with complex values should be enclosed in parentheses > > Signed-off-by: Cheng-Yi He > --- > drivers/staging/dgnc/di

[PATCH v2] cpufreq: Guard against not-yet-initialized policies in cpufreq_cpu_get()

2014-10-29 Thread Tomeu Vizoso
There's a substantial window of opportunity from the time the policy objects are created until they are initialized, causing this: WARNING: CPU: 1 PID: 64 at include/linux/kref.h:47 kobject_get+0x64/0x70() Modules linked in: CPU: 1 PID: 64 Comm: irq/77-tegra-ac Not tainted 3.18.0-rc1-next-2014102

Re: [PATCH 1/1] Octeon: Staging Driver: Remove coding warnings

2014-10-29 Thread Greg KH
On Sun, Oct 12, 2014 at 01:13:51PM +0530, Akshay Sarode wrote: > Checkpatch coding warnings of 'Missing a blank line after declaration' > > Signed-off-by: Akshay Sarode > --- > drivers/staging/octeon/ethernet-tx.c | 11 +++ > 1 file changed, 11 insertions(+) Someone else already did thi

Re: [PATCH] rcu: Remove redundant rcu_is_cpu_rrupt_from_idle() function

2014-10-29 Thread Paul E. McKenney
On Wed, Oct 29, 2014 at 03:16:23PM +, Alexander Gordeev wrote: > On Wed, Oct 29, 2014 at 07:34:39AM -0700, Paul E. McKenney wrote: > > On Wed, Oct 29, 2014 at 01:45:19PM +, Alexander Gordeev wrote: > > > On Wed, Oct 29, 2014 at 05:47:29AM -0700, Paul E. McKenney wrote: > > > > On Wed, Oct 2

Re: [PATCH v2] staging: skein: skein_api.c: removed space before ','

2014-10-29 Thread Greg Kroah-Hartman
On Tue, Oct 28, 2014 at 09:07:00PM +0100, Mikael Svantesson wrote: > Signed-off-by: Mikael Svantesson > --- > drivers/staging/skein/skein_api.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/skein/skein_api.c > b/drivers/staging/skein/skein_api.c > inde

Re: [PATCH v2 02/02] staging:lustre:lnet:selftest: remove unused function

2014-10-29 Thread Greg KH
On Tue, Oct 28, 2014 at 09:50:19PM +0400, Anton Saraev wrote: > Function lnet_selftest_structure_assertion is never used and can > be removed. > > Signed-off-by: Anton Saraev > --- > drivers/staging/lustre/lnet/selftest/module.c | 11 --- > 1 file changed, 11 deletions(-) > > diff --git

Re: [PATCH] staging: lustre: fix sparse warning for static declarations

2014-10-29 Thread Greg Kroah-Hartman
On Sat, Oct 25, 2014 at 07:09:34PM +, Junien Fridrick wrote: > This patch fixes the following sparse warnings : > > drivers/staging/lustre/lnet/lnet/router_proc.c:167:5: warning: symbol > 'proc_lnet_routes' was not declared. Should it be static? > drivers/staging/lustre/lnet/lnet/router_proc.

Re: [patch v2] Documentation/SubmittingPatches: Reported-by tags and permission

2014-10-29 Thread Rob Landley
On 10/29/14 05:01, Dan Carpenter wrote: > The reported-by text says you have to ask for permission, but that > should only be if the bug was reported in private. These days the > standard is to always give reported-by credit or it's considered a bit > rude. > > Signed-off-by: Dan Carpenter > >

[PATCH 1/1] Documentation: image containing ucode needs to be uncompressed

2014-10-29 Thread Christian Hesse
While the regular initramfs is allowed to be compressed, the image containing microcode is not. Signed-off-by: Christian Hesse --- Documentation/x86/early-microcode.txt | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Documentation/x86/early-microcode.txt b/Documentati

Re: [PATCH][STABLE] audit: correct AUDIT_GET_FEATURE return message type

2014-10-29 Thread Greg KH
On Wed, Oct 29, 2014 at 09:35:06AM -0400, Richard Guy Briggs wrote: > When an AUDIT_GET_FEATURE message is sent from userspace to the kernel, it > should reply with a message tagged as an AUDIT_GET_FEATURE type with a struct > audit_feature. The current reply is a message tagged as an AUDIT_GET >

Re: linux-next: manual merge of the tiny tree with the tip tree

2014-10-29 Thread Josh Triplett
On Tue, Sep 23, 2014 at 10:36:03AM +0200, Ingo Molnar wrote: > * Josh Triplett wrote: > > I've dropped tiny/no-io from tiny/next; I'll poke at it further > > and resubmit for the x86 tree later, likely not for the next > > merge window at this point. > > > > Thanks for the feedback on process;

Re: [PATCH v2 0/2] ACPI/EC: Fix regressions on Samsung hardware.

2014-10-29 Thread Rafael J. Wysocki
On Wednesday, October 29, 2014 11:33:33 AM Lv Zheng wrote: > It is reported that the Samsung EC firmware behaves differently than Acer > EC firmware. And then previous 2 commits that fix Acer issues have broken > Samsung hardware. > > This patchset fixes the regressions. > > Lv Zheng (2): > Rev

Re: [PATCH v2 01/02] staging:lustre:lnet:selftest: fix sparse warnings

2014-10-29 Thread Greg KH
On Tue, Oct 28, 2014 at 09:50:18PM +0400, Anton Saraev wrote: > Fix sparse warnings: symbol X was not declared. Should it be static? > Some functions used only in files where they are declared. They can > be static. > > Signed-off-by: Anton Saraev > --- > drivers/staging/lustre/lnet/selftest/con

Re: [PATCH v2 00/20] rtc: omap: fixes and power-off feature

2014-10-29 Thread Johan Hovold
On Wed, Oct 29, 2014 at 08:25:02AM -0700, Guenter Roeck wrote: > On Wed, Oct 29, 2014 at 02:22:44PM +0100, Johan Hovold wrote: > > On Wed, Oct 29, 2014 at 01:10:20PM +, Russell King - ARM Linux wrote: > > > On Wed, Oct 29, 2014 at 01:34:18PM +0100, Johan Hovold wrote: > > > > On Tue, Oct 28, 20

e1000_netpoll(): disable_irq() triggers might_sleep() on linux-next

2014-10-29 Thread Sabrina Dubroca
_exit+0x56/0xe0 Preemption disabled at:[] printk_emit+0x31/0x33 CPU: 1 PID: 1 Comm: systemd Not tainted 3.18.0-rc2-next-20141029-dirty #222 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.7.5-20140617_173321-var-lib-archbuild-testing-x86_64-tobias 04/01/2014 81a82291 f

Re: [PATCH tip/core/rcu 3/7] rcu: Avoid IPIing idle CPUs from synchronize_sched_expedited()

2014-10-29 Thread Paul E. McKenney
On Wed, Oct 29, 2014 at 11:59:54AM +0100, Peter Zijlstra wrote: > On Tue, Oct 28, 2014 at 03:22:58PM -0700, Paul E. McKenney wrote: > > From: "Paul E. McKenney" > > > > Currently, synchronize_sched_expedited() sends IPIs to all online CPUs, > > even those that are idle or executing in nohz_full=

Re: [PATCH] USB: cdc-acm: only raise DTR on transitions from B0

2014-10-29 Thread Greg Kroah-Hartman
On Wed, Oct 29, 2014 at 04:30:40PM +0100, Johan Hovold wrote: > Make sure to only raise DTR on transitions from B0 in set_termios. > > Also allow set_termios to be called from open with a termios_old of > NULL. Note that DTR will not be raised prematurely in this case. > > Signed-off-by: Johan Ho

Re: [PATCH v2 00/20] rtc: omap: fixes and power-off feature

2014-10-29 Thread Johan Hovold
On Wed, Oct 29, 2014 at 08:36:41AM -0700, Guenter Roeck wrote: > On Wed, Oct 29, 2014 at 02:35:26PM +0100, Johan Hovold wrote: > > On Wed, Oct 29, 2014 at 06:20:40AM -0700, Guenter Roeck wrote: > > > On 10/29/2014 05:34 AM, Johan Hovold wrote: > > > > And what about any power-off latencies? Should

Re: [PATCH v2] staging: skein: skein_api.c: removed space before ','

2014-10-29 Thread Mikael Svantesson
On 2014-10-29 09:41, Greg Kroah-Hartman wrote: > On Tue, Oct 28, 2014 at 09:07:00PM +0100, Mikael Svantesson wrote: >> Signed-off-by: Mikael Svantesson >> --- >> drivers/staging/skein/skein_api.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/drivers/staging/skein/ske

Re: [RFC v2 4/4] backports: add kernl integration support to gentree.py

2014-10-29 Thread Luis R. Rodriguez
On Wed, Oct 29, 2014 at 04:36:59PM +0100, Stefan Assmann wrote: > On 29.10.2014 09:21, Luis R. Rodriguez wrote: > > From: "Luis R. Rodriguez" > > > > Signed-off-by: Luis R. Rodriguez > > --- > > backport/Kconfig | 54 > > backport/Kconfig.sources

Re: Fwd: [PATCH] x86, MCE, AMD: save IA32_MCi_STATUS before machine_check_poll() resets it

2014-10-29 Thread Aravind Gopalakrishnan
On 10/22/2014 4:30 AM, Borislav Petkov wrote: Hi Aravind, question: what's the story with MC?_MISC[IntP], is that bit still there? Because I don't see it in my BKDGs here. Yep, It exists. Maybe you are referring to Fam15h M0h BKDG? I think the bit was introduced only from F15h M30h onwards.

[PATCH v3 2/3] x86: tss: Eliminate fragile calculation of TSS segment limit

2014-10-29 Thread Josh Triplett
__set_tss_desc has a complex calculation of the TSS segment limit, duplicating the quirky details of the I/O bitmap array length, and requiring a complex comment to explain. Replace that calculation with a simpler one based on the offsetof the "stack" field that follows the array. That then remov

[PATCH] drivers: s390: net: ctcm: migrate variables to handle y2038 problem

2014-10-29 Thread Aya Mahfouz
This patch is concerned with migrating the time variables for the s390 network driver. The changes handle the y2038 problem where timespec will overflow in the year 2038. timespec64 and unsigned long long were used instead of timespec and unsigned long respectively in two files. All timespec variab

Re: [PATCH] USB: cdc-acm: only raise DTR on transitions from B0

2014-10-29 Thread Johan Hovold
On Wed, Oct 29, 2014 at 11:56:02PM +0800, Greg Kroah-Hartman wrote: > On Wed, Oct 29, 2014 at 04:30:40PM +0100, Johan Hovold wrote: > > Make sure to only raise DTR on transitions from B0 in set_termios. > > > > Also allow set_termios to be called from open with a termios_old of > > NULL. Note that

[PATCH 1/4] [media] solo6x10: free vb2 buffers on stop_streaming

2014-10-29 Thread Andrey Utkin
This fixes warning from drivers/media/v4l2-core/videobuf2-core.c:2144 Signed-off-by: Andrey Utkin --- drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c b/drivers/media/pc

[PATCH 3/4] [media] solo6x10: bind start & stop of encoded frames processing thread to device (de)init

2014-10-29 Thread Andrey Utkin
Before, it was called from individual encoder (de)init procedures, which lead to spare threads running (which were actually lost, leaked). The current fix uses trivial approach, and the downside is that the processing thread is working always, even when there's no consumer. Signed-off-by: Andrey U

[PATCH 2/4] [media] solo6x10: free DMA allocation when releasing encoder

2014-10-29 Thread Andrey Utkin
Fixes this warning: [ 956.730136] [ cut here ] [ 956.730143] WARNING: CPU: 1 PID: 10134 at lib/dma-debug.c:963 dma_debug_device_change+0x191/0x1f0() [ 956.730146] pci :07:05.0: DMA-API: device driver has pending DMA allocations while released from device [count=8]

Re: [PATCH 1/1 net-next] cfg80211: fix set but not used warning in nl80211_channel_switch()

2014-10-29 Thread Johannes Berg
On Sat, 2014-10-25 at 17:57 +0200, Fabian Frederick wrote: > radar_detect_width is unused since commit 97dc94f1d933 > ("cfg80211: remove channel_switch combination check") Applied, thanks. johannes -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a messag

[PATCH 4/4] [media] solo6x10: don't turn off/on encoder interrupt in processing loop

2014-10-29 Thread Andrey Utkin
The used approach actually cannot prevent new encoder interrupt to appear, because interrupt handler can execute in different thread, and in current implementation there is still race condition regarding this. Also from practice the code with this change seems to work as stable as before. Signed-o

Re: [PATCH 0/2] Qualcomm PM8941 power key driver

2014-10-29 Thread Ivan T. Ivanov
Hi Bjorn, On Fri, 2014-10-24 at 08:23 -0700, Bjorn Andersson wrote: > On Wed 08 Oct 02:50 PDT 2014, Ivan T. Ivanov wrote: > > > On Tue, 2014-10-07 at 11:46 -0700, Bjorn Andersson wrote: > > > On Tue 07 Oct 02:01 PDT 2014, Ivan T. Ivanov wrote: > > > > > > > Hi Bjorn, > > > > > > > > On Mon, 2

Re: [PATCH v2] staging: skein: skein_api.c: removed space before ','

2014-10-29 Thread Greg Kroah-Hartman
On Wed, Oct 29, 2014 at 08:25:30AM +0100, Mikael Svantesson wrote: > Signed-off-by: Mikael Svantesson > --- > drivers/staging/skein/skein_api.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/skein/skein_api.c > b/drivers/staging/skein/skein_api.c > inde

Re: [RFCv1] Media Token API needs - Was: Re: [alsa-devel] [PATCH v2 5/6] sound/usb: pcm changes to use media token api

2014-10-29 Thread Shuah Khan
On 10/28/2014 05:42 PM, Mauro Carvalho Chehab wrote: > Hi Shuah, > > I'm understanding that you're collecting comments to write a RFC with the > needs by the media token, right? > > I'm sending you my contributions to such text. See enclosed. > > I suggest to change the subject and submit this o

[patch] iwlwifi: cleanup a mask shift in iwlagn_bt_traffic_is_sco()

2014-10-29 Thread Dan Carpenter
The shift operation is higher precedence so the code is wrong and it sets of a static checker warning. But it doesn't affect real life because BT_UART_MSG_FRAME3SCOESCO_POS is zero so the shift is a no-op. I have re-written it in normal style and with parenthesis as a cleanup and to silence the s

[PATCH v3 3/3] x86: Support compiling out userspace I/O (iopl and ioperm)

2014-10-29 Thread Josh Triplett
On the vast majority of modern systems, no processes will use the userspsace I/O syscalls, iopl and ioperm. Add a new config option, CONFIG_X86_IOPORT, to support configuring them out of the kernel entirely. Most current systems do not run programs using these syscalls, so X86_IOPORT does not dep

Re: [PATCH] Staging: android: logger: Remove uneeded tabs in variable declaration

2014-10-29 Thread Greg KH
On Tue, Oct 28, 2014 at 11:09:10PM -0700, Tristan Lelong wrote: > This patch removes tabs used to align variable names in declaration and > assignation. > It replaces them with exactly one space. Why? This seems like a totally unneeded change, sorry. greg k-h -- To unsubscribe from this list: s

[patch] Bluetooth: 6lowpan: use after free in disconnect_devices()

2014-10-29 Thread Dan Carpenter
This was accidentally changed from list_for_each_entry_safe() to list_for_each_entry() so now it has a use after free bug. I've changed it back. Fixes: 90305829635d ('Bluetooth: 6lowpan: Converting rwlocks to use RCU') Signed-off-by: Dan Carpenter diff --git a/net/bluetooth/6lowpan.c b/net/blue

[PATCH v3 1/3] x86: process: Unify 32-bit and 64-bit copy_thread I/O bitmap handling

2014-10-29 Thread Josh Triplett
The 32-bit and 64-bit versions of copy_thread have functionally identical handling for copying the I/O bitmap, modulo differences in error handling. Clean up the error paths in both by moving the copy of the I/O bitmap to the end, to eliminate the need to free it if subsequent copy steps fail; mov

Re: [PATCH 00/13] HID: add support of Logitech touchpads and special devices

2014-10-29 Thread Jiri Kosina
On Wed, 29 Oct 2014, Benjamin Tissoires wrote: > No worries. I definitively understand. Being close to the merge window > is never a good time to send you patches and I am sure SuSE asks you a > lot also :) Indeed, sometimes the flow of inbound things is just unstoppable :) > > I am almost don

Re: [patch] iwlwifi: cleanup a mask shift in iwlagn_bt_traffic_is_sco()

2014-10-29 Thread Emmanuel Grumbach
On Wed, Oct 29, 2014 at 6:08 PM, Dan Carpenter wrote: > The shift operation is higher precedence so the code is wrong and it > sets of a static checker warning. But it doesn't affect real life > because BT_UART_MSG_FRAME3SCOESCO_POS is zero so the shift is a no-op. > > I have re-written it in nor

Re: [PATCH tip/core/rcu 4/7] rcu: Unify boost and kthread priorities

2014-10-29 Thread Paul E. McKenney
On Wed, Oct 29, 2014 at 12:01:46PM +0100, Peter Zijlstra wrote: > On Tue, Oct 28, 2014 at 03:22:59PM -0700, Paul E. McKenney wrote: > > From: Clark Williams > > > > Rename CONFIG_RCU_BOOST_PRIO to CONFIG_RCU_KTHREAD_PRIO and use this > > value for both the per-CPU kthreads (rcuc/N) and the rcu bo

[PATCH] netdev: Fix sleeping inside wait event

2014-10-29 Thread Peter Zijlstra
On Tue, Oct 28, 2014 at 10:25:41PM +0800, Fengguang Wu wrote: > [ 122.247299] [ cut here ] > [ 122.247328] WARNING: CPU: 0 PID: 61 at kernel/sched/core.c:7312 > __might_sleep+0x50/0x249() > [ 122.247334] do not call blocking ops when !TASK_RUNNING; state=2 set at > [] p

Re: [RFC Patch] gpio: add GPIO hogging mechanism

2014-10-29 Thread Benoit Parrot
Alexandre, Thanks for the feedback. Alexandre Courbot wrote on Wed [2014-Oct-29 16:09:59 +0900]: > Sorry for the delay in reviewing. Adding Jiri and Pantelis who might > want to extend over this patch and thus will likely have interesting > comments to make. > > On Wed, Oct 22, 2014 at 5:09 AM,

[PATCH v3 00/13] Tegra124 EMC (external memory controller) support

2014-10-29 Thread Tomeu Vizoso
Hello, in this v3 you can find these changes: * Have the EMC clock use the emc_lock when writing to the register it shares with the MC clock * Clarify the wording of the new property added to nvidia,tegra20-apbmisc, as suggested by Mikko * On Tegra124, have the EMC clock be the parent of the

Re: [GIT PULL] Fix for Integrity subsystem null pointer deref

2014-10-29 Thread Andy Lutomirski
On Oct 29, 2014 6:00 AM, "Mimi Zohar" wrote: > > On Tue, 2014-10-28 at 22:08 -0700, Andy Lutomirski wrote: > > On Tue, Oct 28, 2014 at 8:55 PM, James Morris wrote: > > > These changes fix a bug in xattr handling, where the evm and ima > > > inode_setxattr() functions do not check for empty xattrs

[PATCH v3 05/13] of: Document timings subnode of nvidia,tegra-mc

2014-10-29 Thread Tomeu Vizoso
The MC driver needs some timing-specific information to program the EMEM during a rate change of the EMC clock. Signed-off-by: Tomeu Vizoso --- .../memory-controllers/nvidia,tegra-mc.txt | 46 +- 1 file changed, 44 insertions(+), 2 deletions(-) diff --git a/Document

[PATCH v3 07/13] ARM: tegra: Add EMC to Tegra124 device tree

2014-10-29 Thread Tomeu Vizoso
From: Mikko Perttunen This adds a node for the EMC memory controller. It is always enabled, but only provides read-only functionality without board-specific timing tables. Signed-off-by: Mikko Perttunen Signed-off-by: Tomeu Vizoso --- arch/arm/boot/dts/tegra124.dtsi | 7 +++ 1 file change

[PATCH v3 04/13] of: document new emc-timings subnode in nvidia,tegra124-car

2014-10-29 Thread Tomeu Vizoso
The EMC clock needs some extra information for changing its rate. Signed-off-by: Tomeu Vizoso --- .../bindings/clock/nvidia,tegra124-car.txt | 46 +- 1 file changed, 44 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/clock/nvidia,tegra124

[PATCH v3 03/13] soc/tegra: Add ram code reader helper

2014-10-29 Thread Tomeu Vizoso
From: Mikko Perttunen Needed for the EMC and MC drivers to know what timings from the DT to use. Signed-off-by: Mikko Perttunen Signed-off-by: Tomeu Vizoso --- drivers/soc/tegra/fuse/tegra-apbmisc.c | 19 +++ include/soc/tegra/fuse.h | 1 + 2 files changed, 20 i

[PATCH v3 09/13] memory: tegra: Add API needed by the EMC driver

2014-10-29 Thread Tomeu Vizoso
From: Mikko Perttunen The EMC driver needs to know the number of external memory devices and also needs to update the EMEM configuration based on the new rate of the memory bus. To know how to update the EMEM config, looks up the values of the burst regs in the DT, for a given timing. Signed-of

[PATCH v3 06/13] of: Add Tegra124 EMC bindings

2014-10-29 Thread Tomeu Vizoso
From: Mikko Perttunen Add binding documentation for the nvidia,tegra124-emc device tree node. Signed-off-by: Mikko Perttunen Signed-off-by: Tomeu Vizoso --- v2: * Specify the unit addresses for the timings and timing nodes --- .../bindings/memory-controllers/tegra-emc.txt | 118 +++

[PATCH v3 10/13] memory: tegra: Add EMC (external memory controller) driver

2014-10-29 Thread Tomeu Vizoso
From: Mikko Perttunen Implements functionality needed to change the rate of the memory bus clock. Signed-off-by: Mikko Perttunen Signed-off-by: Tomeu Vizoso --- v2: * Use subsys_initcall(), so it gets probed after the MC driver and before the CAR driver --- drivers/memory/Kcon

[PATCH v3 11/13] clk: tegra: Add EMC clock driver

2014-10-29 Thread Tomeu Vizoso
From: Mikko Perttunen The driver is currently only tested on Tegra124 Jetson TK1, but should work with other Tegra124 boards, provided that correct EMC tables are provided through the device tree. Older chip models have differing timing change sequences, so they are not currently supported. Sign

[PATCH v3 12/13] memory: tegra: Add debugfs entry for getting and setting the EMC rate

2014-10-29 Thread Tomeu Vizoso
From: Mikko Perttunen Will be very useful when tuning memory scaling. Signed-off-by: Mikko Perttunen Signed-off-by: Tomeu Vizoso --- drivers/memory/tegra/tegra124-emc.c | 36 1 file changed, 36 insertions(+) diff --git a/drivers/memory/tegra/tegra124-emc.

[PATCH v3 13/13] clk: tegra: Set the EMC clock as the parent of the MC clock

2014-10-29 Thread Tomeu Vizoso
On Tegra124, as we now have a proper driver for the EMC. Signed-off-by: Tomeu Vizoso --- drivers/clk/tegra/clk-divider.c | 2 +- drivers/clk/tegra/clk-tegra124.c | 13 + 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/drivers/clk/tegra/clk-divider.c b/drivers/clk/te

Re: [for-next][PATCH 0/4] ftrace: Add dynamic trampoline support

2014-10-29 Thread Jiri Kosina
On Mon, 27 Oct 2014, Steven Rostedt wrote: > This adds the allocation of dynamic trampolines. It still does not > allow for dynamic ftrace_ops to use them on CONFIG_PREEMPT systems. > That will come in 3.20, as I want to test out call_rcu_tasks() for > a bit first on my own boxes. > > git://git

[PATCH v3 08/13] ARM: tegra: Add EMC timings to Jetson TK1 device tree

2014-10-29 Thread Tomeu Vizoso
From: Mikko Perttunen This adds a new file, tegra124-jetson-tk1-emc.dtsi that contains valid timings for the EMC memory clock. The file is included to the main Jetson TK1 device tree. Signed-off-by: Mikko Perttunen Signed-off-by: Tomeu Vizoso --- v2: * Fix the unit addresses of the timin

Re: [PATCH RESEND 1/7] arm64: dts: Add APM X-Gene USB DTS node

2014-10-29 Thread Mark Salter
On Mon, 2014-10-27 at 12:28 -0700, Feng Kan wrote: > This parch adds the device tree nodes for APM X-Gnene USB host controller. > Since X-Gene SOC supports maximum 2 USB ports, 2 dts node are added. > > Signed-off-by: Bao Truong > Signed-off-by: Feng Kan > --- > arch/arm64/boot/dts/apm-storm.dt

Re: [PATCH v6 7/7] ARM: dts: add suspend voltage setting for RK808

2014-10-29 Thread Javier Martinez Canillas
Hello Chris, On 10/29/2014 04:40 PM, Doug Anderson wrote: >> regulator-min-microvolt = <75>; >> regulator-max-microvolt = <130>; >> regulator-name = "vdd_arm"; >> +

[PATCH v3 02/13] of: Document long-ram-code property in nvidia,tegra20-apbmisc

2014-10-29 Thread Tomeu Vizoso
Needed to properly decode the ram code register. Signed-off-by: Tomeu Vizoso --- v3: * Clarify wording as suggested by Mikko --- Documentation/devicetree/bindings/misc/nvidia,tegra20-apbmisc.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/misc/nv

Re: [PATCH][STABLE] audit: correct AUDIT_GET_FEATURE return message type

2014-10-29 Thread Richard Guy Briggs
On 14/10/29, Greg KH wrote: > On Wed, Oct 29, 2014 at 09:35:06AM -0400, Richard Guy Briggs wrote: > > When an AUDIT_GET_FEATURE message is sent from userspace to the kernel, it > > should reply with a message tagged as an AUDIT_GET_FEATURE type with a > > struct > > audit_feature. The current rep

[PATCH v3 01/13] clk: tegra124: Remove old emc clock

2014-10-29 Thread Tomeu Vizoso
From: Mikko Perttunen This clock has never been able to do anything. Signed-off-by: Mikko Perttunen Signed-off-by: Tomeu Vizoso --- v2: * Don't remove emc_mux as it's being used by the MC clock now --- drivers/clk/tegra/clk-tegra124.c | 1 - 1 file changed, 1 deletion(-) diff --git a/d

Re: [PATCH] netdev: Fix sleeping inside wait event

2014-10-29 Thread Cong Wang
(Adding netdev@...) On Wed, Oct 29, 2014 at 9:16 AM, Peter Zijlstra wrote: > > Dave, this relies on bits currently in tip/sched/core, if you're ok I'll > merge it through that tree. > > --- > Subject: netdev: Fix sleeping inside wait event > From: Peter Zijlstra > Date: Wed Oct 29 17:04:56 CET 2

RE: Cache Allocation Technology Design

2014-10-29 Thread Auld, Will
I maybe repeating what Peter has just said but for elements in the hierarchy where the mask is the same as its parents mask there is no need for a separate CLOS even in the case where there are tasks in the group. So we can inherit the CLOS of the parent until which time both the mask is differe

Re: [PATCH 2/6] sched/dl: fix yield task artificial overrun

2014-10-29 Thread Juri Lelli
Hi, On 27/10/14 01:41, Wanpeng Li wrote: > The yield semantic of deadline class is to reduce remaining runtime to > zero, and then update_curr_dl() will stop it. However, comsumed bandwidth > is reduced from the budget of yield task again even if it has already been > set to zero which leads to

Re: [RFC Patch] gpio: add GPIO hogging mechanism

2014-10-29 Thread Benoit Parrot
Pantelis, Thanks for the feedback. Pantelis Antoniou wrote on Wed [2014-Oct-29 10:53:44 +0200]: > Hi Benoit, > > > On Oct 21, 2014, at 23:09 , Benoit Parrot wrote: > > > > Based on Boris Brezillion work this is a reworked patch > > of his initial GPIO hogging mechanism. > > This patch provid

[PATCH 2/5] mm: gup: add __get_user_pages_unlocked to customize gup_flags

2014-10-29 Thread Andrea Arcangeli
Some caller (like KVM) may want to set the gup_flags like FOLL_HWPOSION to get a proper -EHWPOSION retval instead of -EFAULT to take a more appropriate action if get_user_pages runs into a memory failure. Signed-off-by: Andrea Arcangeli --- include/linux/mm.h | 4 mm/gup.c | 44 +

[PATCH 0/5] get_user_pages_locked|unlocked v1

2014-10-29 Thread Andrea Arcangeli
This patchset standalone is an optimization leveraging the page fault FAULT_FLAG_ALLOW_RETRY flag which allows the page fault paths to drop the mmap_sem before I/O. For the userfaultfd patchset this patch is instead a dependency as we need that flag always set the first time any thread attempts a

[PATCH 4/5] mm: gup: use get_user_pages_unlocked

2014-10-29 Thread Andrea Arcangeli
This allows those get_user_pages calls to pass FAULT_FLAG_ALLOW_RETRY to the page fault in order to release the mmap_sem during the I/O. Signed-off-by: Andrea Arcangeli --- drivers/iommu/amd_iommu_v2.c | 6 ++ drivers/media/pci/ivtv/ivtv-udma.c | 6 ++ drivers/scsi/st.c

Re: [PATCH RESEND V4 5/9] of: Add NVIDIA Tegra xHCI controller binding

2014-10-29 Thread Andrew Bresticker
On Wed, Oct 29, 2014 at 2:43 AM, Thierry Reding wrote: > On Tue, Oct 28, 2014 at 03:27:50PM -0700, Andrew Bresticker wrote: > [...] >> diff --git >> a/Documentation/devicetree/bindings/pinctrl/nvidia,tegra124-xusb-padctl.txt >> b/Documentation/devicetree/bindings/pinctrl/nvidia,tegra124-xusb-pad

[PATCH 3/5] mm: gup: use get_user_pages_unlocked within get_user_pages_fast

2014-10-29 Thread Andrea Arcangeli
This allows the get_user_pages_fast slow path to release the mmap_sem before blocking. Signed-off-by: Andrea Arcangeli --- arch/mips/mm/gup.c| 8 +++- arch/powerpc/mm/gup.c | 6 ++ arch/s390/mm/gup.c| 6 ++ arch/sh/mm/gup.c | 6 ++ arch/sparc/mm/gup.c | 6 ++--

Re: [PATCH block/for-linus] writeback: fix a subtle race condition in I_DIRTY clearing

2014-10-29 Thread Jan Kara
On Fri 24-10-14 15:38:21, Tejun Heo wrote: > After invoking ->dirty_inode(), __mark_inode_dirty() does smp_mb() and > tests inode->i_state locklessly to see whether it already has all the > necessary I_DIRTY bits set. The comment above the barrier doesn't > contain any useful information - memory

[PATCH 1/7] drbd: Minor cleanups

2014-10-29 Thread Philipp Reisner
From: Andreas Gruenbacher . Update comments . drbd_set_{in,out_of}_sync(): Remove unused parameters . Move common code into adm_del_resource() . Redefine ERR_MINOR_EXISTS -> ERR_MINOR_OR_VOLUME_EXISTS Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg --- drivers/block/drbd/drbd

[PATCH 4/7] drbd: fix resync throttling initialization

2014-10-29 Thread Philipp Reisner
From: Lars Ellenberg If for some reason DRBD resync was the only activity on a backend device, drbd_rs_c_min_rate_throttle() would mistakenly decide that it is still initialization time, and keep throttling the resync. This patch explicitly initializes ->rs_last_events to the current backend eve

<    4   5   6   7   8   9   10   11   >