Re: NULL derefs after failed suspend (i915, pm, ext4, slub)

2014-11-19 Thread Johan Hovold
On Tue, Oct 28, 2014 at 03:29:10PM +0100, Johan Hovold wrote: > Hi, > > I have had some problems with crashes involving suspend-to-disk after > updating to v3.16. > > Below is a log with 3.16.6 from a failed suspend attempt after which I > get a NULL deref in ext4 code. > > A couple of weeks

Re: [PATCH net-next v2 1/2] r8152: adjust r8152_submit_rx

2014-11-19 Thread Sergei Shtylyov
Hello. On 11/19/2014 8:20 AM, Hayes Wang wrote: The behavior of handling the returned status from r8152_submit_rx() is almost same, so let r8152_submit_rx() deal with the error directly. This could avoid the duplicate code. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 41

[PATCH] ARM: at91: fix GPLv2 wording

2014-11-19 Thread Nicolas Ferre
During the submission of these new sama5d4 files, the GPL notice mentioned the device tree as a library, which is not really accurate. Fix all these library mentions to reflect the fact that it's actually just a file. Reported-by: Maxime Ripard Signed-off-by: Nicolas Ferre ---

[PATCH v8 1/2] drm: add Atmel HLCDC Display Controller support

2014-11-19 Thread Boris Brezillon
The Atmel HLCDC (HLCD Controller) IP available on some Atmel SoCs (i.e. at91sam9n12, at91sam9x5 family or sama5d3 family) provides a display controller device. This display controller supports at least one primary plane and might provide several overlays and an hardware cursor depending on the IP

[PATCH v8 2/2] drm: add DT bindings documentation for atmel-hlcdc-dc driver

2014-11-19 Thread Boris Brezillon
The Atmel HLCDC (HLCD Controller) IP available on some Atmel SoCs (i.e. at91sam9n12, at91sam9x5 family or sama5d3 family) provides a display controller device. The HLCDC block provides a single RGB output port, and only supports LCD panels connection to LCD panels for now. The atmel,panel

[PATCH v8 0/2] drm: add support for Atmel HLCDC Display Controller

2014-11-19 Thread Boris Brezillon
Hello, This patch series adds support for the Atmel HLCDC Display Controller embedded in the HLCDC block. The drivers supports basic CRTC functionalities, several overlays and provides an hardware cursor. At the moment, it only supports connection to LCD panels through an RGB connector (defined

Re: [PATCH v5 1/2] spi: add support for DLN-2 USB-SPI adapter

2014-11-19 Thread Johan Hovold
On Wed, Nov 19, 2014 at 03:07:47PM +0200, Laurentiu Palcu wrote: > +/* > + * Perform one read operation. > + */ > +static int dln2_spi_read_one(struct dln2_spi *dln2, u8 *data, > + u16 data_len, u8 attr) > +{ > + int ret; > + struct { > + u8 port; > +

[PATCH 1/1] char: tpm: Deletion of unnecessary checks before the function call "tpm_dev_vendor_release"

2014-11-19 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 19 Nov 2014 14:44:15 +0100 The tpm_dev_vendor_release() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring

[PATCH] thermal: sti: Ignore suspend/resume functions when !PM

2014-11-19 Thread Lee Jones
Prevents build warning: st_thermal.c:278:12: warning: ‘st_thermal_suspend’ defined but not used [-Wunused-function] st_thermal.c:286:12: warning: ‘st_thermal_resume’ defined but not used [-Wunused-function] Signed-off-by: Lee Jones --- drivers/thermal/st/st_thermal.c | 3 +++ 1 file

Re: [PATCH v5] sched/deadline: support dl task migration during cpu hotplug

2014-11-19 Thread Juri Lelli
Hi, On 19/11/14 12:30, Wanpeng Li wrote: > Hi Juri, > On 11/19/14, 6:13 PM, Juri Lelli wrote: >> Hi, >> >> On 18/11/14 23:18, Wanpeng Li wrote: >>> Hi Juri, >>> On 11/12/14, 11:08 PM, Juri Lelli wrote: Hi, On 12/11/14 01:06, Wanpeng Li wrote: > I observe that dl task can't be

Re: [PATCH v4 1/2] ARM: keystone: pm: switch to use generic pm domains

2014-11-19 Thread Arnd Bergmann
On Wednesday 19 November 2014 13:32:45 Grygorii Strashko wrote: > On 11/18/2014 09:32 PM, Arnd Bergmann wrote: > > On Tuesday 18 November 2014 20:54:36 Grygorii Strashko wrote: > > > > Have one pmdomain driver in the generic code that knows about clocks, > > possibly also regulators and pins and

Re: [PATCH 2/2] tracing: Use trace_seq_used() and seq_buf_used() instead of len

2014-11-19 Thread Steven Rostedt
On Wed, 19 Nov 2014 12:40:17 +0100 Petr Mladek wrote: > > > > > > There is one more dangerous usage in trace_printk_seq(). It is on > > > three lines there. > > > > You totally confused me. What usage in trace_printk_seq(), and what > > three lines? > > > > In this patch, trace_printk_seq()

Re: [PATCH] i2c: designware: prevent early stop on TX FIFO empty

2014-11-19 Thread Baruch Siach
Hi Wolfram, On Wed, Nov 19, 2014 at 10:21:22AM +0100, Wolfram Sang wrote: > On Fri, Nov 07, 2014 at 12:10:44PM +, Andrew Jackson wrote: > > If the Designware core is configured with IC_EMPTYFIFO_HOLD_MASTER_EN > > set to zero, allowing the TX FIFO to become empty causes a STOP > > condition

Re: [PATCHv4 1/1] thermal: of: improve of-thermal sensor registration API

2014-11-19 Thread Eduardo Valentin
Hey Lukasz, On Wed, Nov 19, 2014 at 09:21:39AM +0100, Lukasz Majewski wrote: > Hi Eduardo, > > > } > > On which branch should I apply this patch? > This is based in my -linus branch. That means I will send this for the next major window, not rc. The branch -fixes of thermal-soc include

Re: [RFC PATCH v3 0/5] y2038 in-kernel interface changes for drivers/rtc

2014-11-19 Thread pang.xunlei
On 18 November 2014 22:13, Thomas Gleixner wrote: > On Tue, 18 Nov 2014, pang.xunlei wrote: >> On 32bit systems, the kernel uses a 32bit signed time_t value >> for seconds since 1970-01-01:00:00:00. This will overflow at >> 2038-01-19 03:14:08, and is widely known as the y2038 problem. >> >> To

Re: [PATCH RFC] ARM: option for loading modules into vmalloc area

2014-11-19 Thread Arnd Bergmann
On Tuesday 18 November 2014 21:13:56 Konstantin Khlebnikov wrote: > On 2014-11-18 20:34, Russell King - ARM Linux wrote: > > On Tue, Nov 18, 2014 at 08:21:46PM +0400, Konstantin Khlebnikov wrote: > >> Usually modules are loaded into small area prior to the kernel > >> text because they are linked

Re: [PATCH 1/1] PM-wakeup: Deletion of an unnecessary check before the function call "wakeup_source_unregister"

2014-11-19 Thread walter harms
Am 19.11.2014 14:05, schrieb Dan Carpenter: > On Wed, Nov 19, 2014 at 01:54:49PM +0100, walter harms wrote: >> device_wakeup_detach returns dev->power.wakeup what is never NULL in this >> case. >> (not visible here but a few line before exactly this is checked) > > Huh? I don't see a NULL

Re: [PATCH 1/1] netfilter: Deletion of unnecessary checks before two function calls

2014-11-19 Thread Pablo Neira Ayuso
On Tue, Nov 18, 2014 at 08:47:31PM +0100, SF Markus Elfring wrote: > From: Markus Elfring > Date: Tue, 18 Nov 2014 20:37:05 +0100 > > The functions free_percpu() and module_put() test whether their argument > is NULL and then return immediately. Thus the test around the call is > not needed.

Re: mm: shmem: freeing mlocked page

2014-11-19 Thread Vlastimil Babka
On 11/18/2014 10:58 PM, Andrew Morton wrote: > On Fri, 14 Nov 2014 09:39:40 -0500 Sasha Levin wrote: > >> >> [ 1026.988043] BUG: Bad page state in process trinity-c374 pfn:23f70 >> [ 1026.989684] page:eab3d300 count:0 mapcount:0 mapping: >> (null) index:0x5b >> [ 1026.991151]

RE: [PATCH V3 3/3] perf tools: Construct LBR call chain

2014-11-19 Thread Liang, Kan
> > On Tue, 18 Nov 2014 14:01:06 +, Kan Liang wrote: > >> On Fri, 14 Nov 2014 08:44:12 -0500, kan liang wrote: > >> > +/* LBR only affects the user callchain */ > >> > +if (i != chain_nr) { > >> > +struct branch_stack *lbr_stack =

Re: [PATCH 2/2] ftrace/x86/extable: Add is_ftrace_trampoline() function

2014-11-19 Thread Steven Rostedt
> > [SNIP] > > @@ -102,6 +103,8 @@ int __kernel_text_address(unsigned long addr) > > return 1; > > if (is_module_text_address(addr)) > > return 1; > > + if (is_ftrace_trampoline(addr)) > > + return 1; > > What about kernel_text_address()? It seems some

Re: cachefiles: Assertion failed

2014-11-19 Thread David Howells
Anders Eriksson wrote: > Using cachefiles to cache my nfsroot raspberryPi on the local SD card I got > this assertion. It hangs after this happens. It's been unastable since I added > cachefiles to the mix. What kernel are you using? David -- To unsubscribe from this list: send the line

[PATCH 1/1] agp/intel-gtt: Deletion of unnecessary checks before the function call "pci_dev_put"

2014-11-19 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 19 Nov 2014 14:24:20 +0100 The pci_dev_put() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring ---

[PATCH] cpufreq: Ref the policy object sooner

2014-11-19 Thread Tomeu Vizoso
Do it before it's assigned to cpufreq_cpu_data, otherwise we can get this warning when a driver tries to get the cpu frequency during initialization: [ cut here ] WARNING: CPU: 1 PID: 64 at include/linux/kref.h:47 kobject_get+0x64/0x70() Modules linked in: CPU: 1 PID: 64

Re: [PATCH v12 1/3] drm: rockchip: Add basic drm driver

2014-11-19 Thread Daniel Vetter
On Wed, Nov 19, 2014 at 10:04:13AM +0100, Boris Brezillon wrote: > AFAIU, the suggestion was to split drm_connector_init and > drm_connector_register calls: > - drm_connector_init call should still be part of the load procedure >(this function adds the connector to the connector list which is

Re: [PATCH] ARM: at91/dt: at91sam9rl: add rtc

2014-11-19 Thread Nicolas Ferre
On 01/10/2014 18:41, Alexandre Belloni : > Add rtc support to the at91sam9rl dtsi file. > > Signed-off-by: Alexandre Belloni Acked-by: Nicolas Ferre And stacked on top of at91-3.19-dt2 Thanks, bye. > --- > arch/arm/boot/dts/at91sam9rl.dtsi | 7 +++ > 1 file changed, 7 insertions(+) >

Re: [PATCH 06/19] mm: store mapcount for compound page separate

2014-11-19 Thread Jerome Marchand
On 11/19/2014 02:00 PM, Kirill A. Shutemov wrote: > On Wed, Nov 19, 2014 at 11:51:09AM +0100, Jerome Marchand wrote: >> On 11/05/2014 03:49 PM, Kirill A. Shutemov wrote: >>> We're going to allow mapping of individual 4k pages of THP compound and >>> we need a cheap way to find out how many time

RE: [PATCH] tools: hv: ignore ENOBUFS in the KVP daemon

2014-11-19 Thread Dexuan Cui
> -Original Message- > From: Vitaly Kuznetsov > >> -- > >> Vitaly > > > > OK, I can add this new check: > > (I'll send out the v2 tomorrow in case people have new comments) > > > > Thanks! > > > --- a/tools/hv/hv_kvp_daemon.c > > +++ b/tools/hv/hv_kvp_daemon.c > > @@ -1770,8 +1770,15

Re: [RFC PATCH 0/7] Replace _PAGE_NUMA with PAGE_NONE protections

2014-11-19 Thread Mel Gorman
On Tue, Nov 18, 2014 at 12:18:43PM -0500, Sasha Levin wrote: > On 11/18/2014 11:56 AM, Aneesh Kumar K.V wrote: > >>> 4. Similarly, does the kernel boot properly without without patches? > >> > > >> > Yes, the kernel works fine without the patches both with and without fake > >> > numa. > > > >

Re: [PATCH] zsmalloc: fix zs_init cpu notifier error handling

2014-11-19 Thread Sergey Senozhatsky
On (11/18/14 14:12), Andrew Morton wrote: > > Mahendran Ganesh reported that zpool-enabled zsmalloc should not > > call zpool_unregister_driver() from zs_init() if cpu notifier > > registration has failed, because error handling is performed > > before we register the driver via

RE: [PATCH] tools: hv: ignore ENOBUFS in the KVP daemon

2014-11-19 Thread Dexuan Cui
> -Original Message- > From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] > Sent: Wednesday, November 19, 2014 20:41 PM > To: Dexuan Cui > Cc: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; driverdev- > de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; >

Re: [PATCH 16/19] thp: update documentation

2014-11-19 Thread Kirill A. Shutemov
On Wed, Nov 19, 2014 at 08:07:59AM +, Naoya Horiguchi wrote: > On Wed, Nov 05, 2014 at 04:49:51PM +0200, Kirill A. Shutemov wrote: > > The patch updates Documentation/vm/transhuge.txt to reflect changes in > > THP design. > > > > Signed-off-by: Kirill A. Shutemov > > --- > >

Re: [PATCH 17/19] mlock, thp: HACK: split all pages in VM_LOCKED vma

2014-11-19 Thread Kirill A. Shutemov
On Wed, Nov 19, 2014 at 09:02:42AM +, Naoya Horiguchi wrote: > On Wed, Nov 05, 2014 at 04:49:52PM +0200, Kirill A. Shutemov wrote: > > We don't yet handle mlocked pages properly with new THP refcounting. > > For now we split all pages in VMA on mlock and disallow khugepaged > > collapse pages

[PATCH v5 1/2] spi: add support for DLN-2 USB-SPI adapter

2014-11-19 Thread Laurentiu Palcu
This adds support for Diolan DLN2 USB-SPI adapter. Information about the USB protocol interface can be found in the Programmer's Reference Manual [1], see section 5.4.6 for the SPI master module commands and responses. [1] https://www.diolan.com/downloads/dln-api-manual.pdf Signed-off-by:

Re: [PATCH] mm: frontswap: invalidate expired data on a dup-store failure

2014-11-19 Thread Weijie Yang
On Wed, Nov 19, 2014 at 6:29 AM, Seth Jennings wrote: > On Tue, Nov 18, 2014 at 04:51:36PM +0800, Weijie Yang wrote: >> If a frontswap dup-store failed, it should invalidate the expired page >> in the backend, or it could trigger some data corruption issue. >> Such as: >> 1. use zswap as the

Re: [PATCH 1/1] PM-wakeup: Deletion of an unnecessary check before the function call "wakeup_source_unregister"

2014-11-19 Thread Dan Carpenter
On Wed, Nov 19, 2014 at 01:54:49PM +0100, walter harms wrote: > device_wakeup_detach returns dev->power.wakeup what is never NULL in this > case. > (not visible here but a few line before exactly this is checked) Huh? I don't see a NULL check. I think you may be confusing

Re: [PATCH] tools: hv: ignore ENOBUFS in the KVP daemon

2014-11-19 Thread Vitaly Kuznetsov
Dexuan Cui writes: >> -Original Message- >> From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] >> Sent: Wednesday, November 19, 2014 20:41 PM >> To: Dexuan Cui >> Cc: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; driverdev- >> de...@linuxdriverproject.org; o...@aepfle.de;

Re: [PATCH 1/1] PM-wakeup: Deletion of an unnecessary check before the function call "wakeup_source_unregister"

2014-11-19 Thread walter harms
Am 19.11.2014 13:09, schrieb Dan Carpenter: > On Wed, Nov 19, 2014 at 12:26:45PM +0100, SF Markus Elfring wrote: >> --- a/drivers/base/power/wakeup.c >> +++ b/drivers/base/power/wakeup.c >> @@ -267,8 +267,7 @@ int device_wakeup_disable(struct device *dev) >> return -EINVAL; >> >>

Re: [RFC][PATCH 3/3] x86/nmi: Perform a safe NMI stack trace on all CPUs

2014-11-19 Thread Petr Mladek
On Wed 2014-11-19 11:41:14, Borislav Petkov wrote: > On Tue, Nov 18, 2014 at 11:39:20PM -0500, Steven Rostedt wrote: > > static int > > arch_trigger_all_cpu_backtrace_handler(unsigned int cmd, struct pt_regs > > *regs) > > { > > @@ -78,12 +157,14 @@

Re: [PATCH 10/19] thp: PMD splitting without splitting compound page

2014-11-19 Thread Kirill A. Shutemov
On Wed, Nov 19, 2014 at 06:57:47AM +, Naoya Horiguchi wrote: > On Wed, Nov 05, 2014 at 04:49:45PM +0200, Kirill A. Shutemov wrote: > > Current split_huge_page() combines two operations: splitting PMDs into > > tables of PTEs and splitting underlying compound page. This patch > > changes

Re: [PATCH 06/19] mm: store mapcount for compound page separate

2014-11-19 Thread Kirill A. Shutemov
On Wed, Nov 19, 2014 at 11:51:09AM +0100, Jerome Marchand wrote: > On 11/05/2014 03:49 PM, Kirill A. Shutemov wrote: > > We're going to allow mapping of individual 4k pages of THP compound and > > we need a cheap way to find out how many time the compound page is > > mapped with PMD --

Re: [alsa-devel] [PATCH] ASoC: wm8960: Add shared_lrclk and capless to device tree

2014-11-19 Thread Fabio Estevam
On Wed, Nov 19, 2014 at 10:36 AM, Zidan Wang wrote: > wm8960 codec has a wm8960_data struct which has two fields shared_lrclk and > capless. > The wm8960_data is get from platform_data and it is reasonable to set it from > device > tree when platform_data is null. > And when shared_lrclk is

Re: [PATCH] video: ARM CLCD: Remove duplicated include in amba-clcd.c

2014-11-19 Thread Tomi Valkeinen
On 17/11/14 11:25, Qiang Chen wrote: > This patch fixes duplicated include dma-mapping.h in > drivers/video/fbdev/amba-clcd.c > > Signed-off-by: Qiang Chen > --- > drivers/video/fbdev/amba-clcd.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/video/fbdev/amba-clcd.c

Looking for good references for ARM driver development

2014-11-19 Thread Mason
Hello everyone, I've been using several Linux distributions, and writing user-space programs, for 15 years. I recently seized an opportunity to move into kernel development, mainly writing drivers for an ARM SoC, and I'm finding the transition harder than I expected. I'm having a hard time

[alsa-devel][PATCH] ASoC: wm8960: Add shared_lrclk and capless to device tree

2014-11-19 Thread Zidan Wang
wm8960 codec has a wm8960_data struct which has two fields shared_lrclk and capless. The wm8960_data is get from platform_data and it is reasonable to set it from device tree when platform_data is null. And when shared_lrclk is set, LRCM will be enabled. But the following software reset in

[PATCH v3] leds: lp8860: Introduce TI lp8860 4 channel LED driver

2014-11-19 Thread Dan Murphy
Introduce the Texas Instruments lp8860 4 channel LED driver. This driver configures the device in display cluster mode as this seems to be the most used configuration at the time of the driver configuration. For more product information please see the link below:

Re: For the problem when using swiotlb

2014-11-19 Thread Arnd Bergmann
On Wednesday 19 November 2014 11:29:10 Catalin Marinas wrote: > > The driver should call 'dma_set_mask_and_coherent()' with the appropriate > > dma mask, and check whether that succeeded. However, the code implementing > > dma_set_mask_and_coherent on arm64 also needs to be changed to look up > >

[PATCH 1/1] drbd: Deletion of an unnecessary check before the function call "lc_destroy"

2014-11-19 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 19 Nov 2014 13:33:32 +0100 The lc_destroy() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring ---

Re: [PATCHv8 1/4] syscalls,x86: implement execveat() system call

2014-11-19 Thread Thomas Gleixner
On Fri, 14 Nov 2014, David Drysdale wrote: > Only x86-64, i386 and x32 ABIs are supported in this patch. Can you please split this into the core/fs changes and the actual x86 hookup? Thanks, tglx -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

Re: [PATCH v6 00/11] Kernel address sanitizer - runtime memory debugger.

2014-11-19 Thread Andrey Ryabinin
On 11/19/2014 03:44 AM, Sasha Levin wrote: > On 11/18/2014 07:09 PM, Andrey Ryabinin wrote: >> Yes with CONFIG_KASAN_INLINE you will get GPF instead of kasan report. >> For userspaces addresses we don't have shadow memory. In outline case >> I just check address itself before checking shadow. In

Re: [PATCH] crypto: Fix a typo in ahash.c

2014-11-19 Thread Herbert Xu
On Mon, Nov 17, 2014 at 06:52:40PM +, Terence Eden wrote: > From: Terence Eden > > "its" == "something belong to it". "it's" == "it is", "it has", "it > was", etc. Sorry - just bugged me as I was reading the code. > (Resubmitting - hopefully correctly!) > > Signed-off-by: Terence Eden >

Re: [PATCH] tools: hv: ignore ENOBUFS in the KVP daemon

2014-11-19 Thread Vitaly Kuznetsov
Dexuan Cui writes: >> -Original Message- >> From: Vitaly Kuznetsov >> Sent: Wednesday, November 19, 2014 18:50 PM >> To: Dexuan Cui >> Cc: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; driverdev- >> de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; >>

Re: mysterious udev segfault

2014-11-19 Thread Rogelio Serrano
On Tue, Nov 18, 2014 at 11:35 AM, Borislav Petkov wrote: >> >> what are we seeing here? a jfs bug? > > Can you trigger with the upstream kernel too? i.e. remove the grsec > stuff and retry. > I will do that. Im building a new kernel as right now. > Btw, your mail is somehow cutoff on the

RE: [PATCH] tools: hv: ignore ENOBUFS in the KVP daemon

2014-11-19 Thread Dexuan Cui
> -Original Message- > From: Vitaly Kuznetsov > Sent: Wednesday, November 19, 2014 18:50 PM > To: Dexuan Cui > Cc: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; driverdev- > de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; > jasow...@redhat.com; Haiyang Zhang >

Re: [PATCH v5] sched/deadline: support dl task migration during cpu hotplug

2014-11-19 Thread Wanpeng Li
Hi Juri, On 11/19/14, 6:13 PM, Juri Lelli wrote: Hi, On 18/11/14 23:18, Wanpeng Li wrote: Hi Juri, On 11/12/14, 11:08 PM, Juri Lelli wrote: Hi, On 12/11/14 01:06, Wanpeng Li wrote: I observe that dl task can't be migrated to other cpus during cpu hotplug, in addition, task may/may not be

Re: [PATCH 1/2] sched/deadline: reduce overhead if there are no scheduling parameters changed

2014-11-19 Thread Wanpeng Li
Sorry to send out a duplicated patchset, please ignore this one. On 11/19/14, 6:01 PM, Wanpeng Li wrote: There is no need to dequeue/enqueue and push/pull if there are no scheduling parameters changed for dl class, actually both fair and rt class have already check if parameters changed for them

[PATCH 2/2] KEYS: request_key() should reget expired keys rather than give EKEYEXPIRED

2014-11-19 Thread David Howells
Since the keyring facility can be viewed as a cache (at least in some applications), the local expiration time on the key should probably be viewed as a 'needs updating after this time' property rather than an absolute 'anyone now wanting to use this object is out of luck' property. Since

[PATCH 1/2] KEYS: Simplify KEYRING_SEARCH_{NO, DO}_STATE_CHECK flags

2014-11-19 Thread David Howells
Simplify KEYRING_SEARCH_{NO,DO}_STATE_CHECK flags to be two variations of the same flag. They are effectively mutually exclusive and one or the other should be provided, but not both. Keyring cycle detection and key possession determination are the only things that set NO_STATE_CHECK, except

Re: [PATCH v4 1/2] spi: add support for DLN-2 USB-SPI adapter

2014-11-19 Thread Johan Hovold
On Wed, Nov 19, 2014 at 12:47:11PM +0200, Laurentiu Palcu wrote: > + /* no need to protect this buffer because all SPI communication is > + * serialized by the SPI core > + */ > + void *buf; Preferred comment style is /* * ... */ Capitalisation and

Re: [PATCH] of/address: Don't throw errors on absent ranges properties

2014-11-19 Thread Grant Likely
On Wed, 19 Nov 2014 13:32:31 +1100 , Benjamin Herrenschmidt wrote: > On Tue, 2014-11-18 at 16:57 +, Grant Likely wrote: > > On Fri, 14 Nov 2014 17:58:23 +1100 > > , Benjamin Herrenschmidt > > wrote: > > > The core always tries to translate any "reg" property to construct the > > >

Re: [PATCH 1/6] ACPI/EC: Introduce STARTED/STOPPED flags to replace BLOCKED flag.

2014-11-19 Thread Kirill A. Shutemov
On Tue, Nov 18, 2014 at 10:20:11PM +0100, Rafael J. Wysocki wrote: > On Tuesday, November 18, 2014 03:23:28 PM Kirill A. Shutemov wrote: > > On Wed, Nov 05, 2014 at 02:52:36AM +, Zheng, Lv wrote: > > [cut] > > > > > Here's lockdep warning I see on -next: > > Is patch [1/6] sufficient to

Re: [PATCH 1/1] PM-wakeup: Deletion of an unnecessary check before the function call "wakeup_source_unregister"

2014-11-19 Thread Dan Carpenter
On Wed, Nov 19, 2014 at 12:26:45PM +0100, SF Markus Elfring wrote: > --- a/drivers/base/power/wakeup.c > +++ b/drivers/base/power/wakeup.c > @@ -267,8 +267,7 @@ int device_wakeup_disable(struct device *dev) > return -EINVAL; > > ws = device_wakeup_detach(dev); > - if (ws)

Re: [PATCH v2 2/2] arm: dts: Exynos5: Use pmu_system_controller phandle for dp phy

2014-11-19 Thread Vivek Gautam
Hi Javier, On Wed, Nov 19, 2014 at 5:06 PM, Javier Martinez Canillas wrote: > [adding Kukjin to cc list] > > Hello Vivek, > > On Wed, Nov 12, 2014 at 5:21 AM, Jingoo Han wrote: >> On Thursday, October 30, 2014 10:24 PM, Vivek Gautam wrote: >>> >>> DP PHY now require pmu-system-controller to

[PATCH 03/10] net: phy: micrel: parse of nodes at probe

2014-11-19 Thread Johan Hovold
Parse the "micrel,led-mode" property at probe, rather than at config_init time in the led-setup helper itself. Note that the bogus parent->of_node bit is removed. Signed-off-by: Johan Hovold --- drivers/net/phy/micrel.c | 39 +-- 1 file changed, 21

[PATCH 06/10] net: phy: micrel: add support for clock-mode select to KSZ8081/KSZ8091

2014-11-19 Thread Johan Hovold
Micrel KSZ8081 and KSZ8091 PHYs have the RMII Reference Clock Select bit, which is used to select 25 or 50 MHz clock mode. Note that on some revisions of the PHY (e.g. KSZ8081RND) the function of this bit is inverted so that setting it enables 25 rather than 50 MHz mode. Add a new device-tree

[PATCH 01/10] net: phy: add static data field to struct phy_driver

2014-11-19 Thread Johan Hovold
Add static driver-data field to struct phy_driver, which can be used to store structured device-type information. Signed-off-by: Johan Hovold --- include/linux/phy.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/phy.h b/include/linux/phy.h index 07794e720139..22af8f8f5802

[PATCH 00/10] net: phy: add device-type abstraction

2014-11-19 Thread Johan Hovold
This series adds device and device-type abstractions to the micrel driver, and enables support for RMII-reference clock selection for KSZ8081 and KSZ8091 devices. While adding support for more features for the Micrel PHYs mentioned above, it became apparent that the configuration space is much

[PATCH 07/10] dt/bindings: reformat micrel eth-phy documentation

2014-11-19 Thread Johan Hovold
Reduce indentation of Micrel PHY binding documentations somewhat. Also fix "reference input clock" typo while at it. Cc: devicet...@vger.kernel.org Signed-off-by: Johan Hovold --- Documentation/devicetree/bindings/net/micrel.txt | 26 1 file changed, 13 insertions(+),

[PATCH 05/10] net: phy: micrel: add generic clock-mode-select support

2014-11-19 Thread Johan Hovold
Add generic RMII-Reference-Clock-Select support. Several Micrel PHY have an RMII-Reference-Clock-Select bit to select 25 MHz or 50 MHz clock mode. Recently, support for configuring this through device tree for KSZ8021 and KSZ8031 was added. Generalise this support so that it can be configured

[PATCH 04/10] net: phy: micrel: add has-broadcast-disable flag to type data

2014-11-19 Thread Johan Hovold
Add has_broadcast_disable flag to type-data and generic config_init. This allows us to remove the ksz8081 config_init callback. Note that ksz8021_config_init is kept for now due to a95a18afe4c8 ("phy/micrel: KSZ8031RNL RMII clock reconfiguration bug"). Signed-off-by: Johan Hovold ---

[PATCH 02/10] net: phy: micrel: add device-type abstraction

2014-11-19 Thread Johan Hovold
Add structured device-type information and support for generic led-mode setup to the generic config_init callback. This is a first step in ultimately getting rid of device-type specific callbacks. Signed-off-by: Johan Hovold --- drivers/net/phy/micrel.c | 83

[PATCH 10/10] net: phy: micrel: add copyright entry

2014-11-19 Thread Johan Hovold
Add myself to the list of copyright holders. Signed-off-by: Johan Hovold --- drivers/net/phy/micrel.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/phy/micrel.c b/drivers/net/phy/micrel.c index d7eb7b0e6d4e..c530de1e63f5 100644 --- a/drivers/net/phy/micrel.c +++

[PATCH 08/10] dt/bindings: add clock-select function property to micrel phy binding

2014-11-19 Thread Johan Hovold
Add "micrel,rmii-reference-clock-select-25-mhz" to Micrel ethernet PHY binding documentation. This property is needed to properly describe some revisions of Micrel PHYs which has the function of this configuration bit inverted so that setting it enables 25 MHz rather than 50 MHz clock mode. Note

[PATCH 09/10] net: phy: micrel: refactor interrupt config

2014-11-19 Thread Johan Hovold
Add generic interrupt-config callback and store interrupt-level bitmask in type data for PHY types not using bit 9. Signed-off-by: Johan Hovold --- drivers/net/phy/micrel.c | 71 1 file changed, 29 insertions(+), 42 deletions(-) diff --git

Re: [PATCH 2/2] tracing: Use trace_seq_used() and seq_buf_used() instead of len

2014-11-19 Thread Petr Mladek
On Tue 2014-11-18 12:37:32, Steven Rostedt wrote: > On Tue, 18 Nov 2014 17:33:54 +0100 > Petr Mladek wrote: > > > On Mon 2014-11-17 14:12:15, Steven Rostedt wrote: > > > > > > > I don't like the fact that I did a code structure change with this > > > > patch. This patch should be just a simple

Re: [PATCH v2 2/2] arm: dts: Exynos5: Use pmu_system_controller phandle for dp phy

2014-11-19 Thread Javier Martinez Canillas
[adding Kukjin to cc list] Hello Vivek, On Wed, Nov 12, 2014 at 5:21 AM, Jingoo Han wrote: > On Thursday, October 30, 2014 10:24 PM, Vivek Gautam wrote: >> >> DP PHY now require pmu-system-controller to handle PMU register >> to control PHY's power isolation. Adding the same to dp-phy >> node.

Re: [PATCH v4 2/3] x86: pmc_atom: don't check for NULL twice

2014-11-19 Thread Thomas Gleixner
On Wed, 12 Nov 2014, Andy Shevchenko wrote: > debugfs_remove_recursive() is NULL-aware, thus, we may safely remove the check > here. There is no need to assing NULL to variable since it will be not used > anywhere. > > Signed-off-by: Andy Shevchenko > Acked-by: Aubrey Li > --- >

Re: [PATCH v4 1/2] ARM: keystone: pm: switch to use generic pm domains

2014-11-19 Thread Grygorii Strashko
Hi Arnd, On 11/18/2014 09:32 PM, Arnd Bergmann wrote: > On Tuesday 18 November 2014 20:54:36 Grygorii Strashko wrote: >> Hi All, >> >> Thank you for your comments. >> >> On 11/17/2014 11:50 PM, Kevin Hilman wrote: >>> Arnd Bergmann writes: >>> On Monday 17 November 2014 11:14:16 Kevin

Re: For the problem when using swiotlb

2014-11-19 Thread Catalin Marinas
On Wed, Nov 19, 2014 at 08:45:43AM +, Arnd Bergmann wrote: > On Wednesday 19 November 2014 11:17:15 Ding Tianhong wrote: > > On 2014/11/18 2:09, Catalin Marinas wrote: > > > On Mon, Nov 17, 2014 at 12:18:42PM +, Arnd Bergmann wrote: > > >> On Monday 17 November 2014 19:56:27 Ding Tianhong

[PATCH 4/4] bochs: add page_flip

2014-11-19 Thread Gerd Hoffmann
Implement crtc page_flip callback for bochsdrm. The qemu stdvga has no vblank signaling, so we have to fake it. We do so by instantly calling drm_send_vblank_event. Tested with kmscon. Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/bochs/bochs_kms.c | 21 + 1 file

[PATCH 1/4] bochs: little cleanup

2014-11-19 Thread Gerd Hoffmann
Drop some leftover, commented code. Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/bochs/bochs_hw.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/bochs/bochs_hw.c b/drivers/gpu/drm/bochs/bochs_hw.c index dbe619e..e8b1dac 100644 ---

[PATCH 3/4] bochs: fix bochsdrmfb mmap

2014-11-19 Thread Gerd Hoffmann
Remove the mapping offset from the bo backing the fbdev framebuffer. Wire up fbdev mmap function to map the backing bo using ttm_fbdev_mmap. With that patch in place mmap(/dev/fb0) works as expected. Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/bochs/bochs_fbdev.c | 18 ++ 1

[PATCH 2/4] bochs: add endian switching support

2014-11-19 Thread Gerd Hoffmann
Recently (qemu 2.2+) the qemu stdvga got a register to switch the vga framebuffer endianness. This patch adds code to explicitly set the endianness of the framebuffer. In most cases this has no effect as the default is guest architecture endianness. It is needed though in case a architecture

[PATCH 1/1] PM-wakeup: Deletion of an unnecessary check before the function call "wakeup_source_unregister"

2014-11-19 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 19 Nov 2014 12:21:24 +0100 The wakeup_source_unregister() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus

Re: [PATCH v2 0/4] Hot plug support for the Armada 38x SoCs

2014-11-19 Thread Thomas Petazzoni
Dear Gregory CLEMENT, On Thu, 30 Oct 2014 12:39:40 +0100, Gregory CLEMENT wrote: > Gregory CLEMENT (4): > ARM: mvebu: Clean-up the Armada XP support > ARM: mvebu: Move SCU power up in a function > ARM: mvebu: Fix the secondary startup for Cortex A9 SoC > ARM: mvebu: Implement the CPU

Re: [PATCH v3 1/5] arm64: Kprobes with single stepping support

2014-11-19 Thread Will Deacon
On Wed, Nov 19, 2014 at 11:21:24AM +, Sandeepa Prabhu wrote: > On 18 November 2014 20:26, Will Deacon wrote: > > > One thing I noticed looking through this patch is that we're effectively > > reinventing a bunch of the instruction decoding logic that we already have > > in the kernel

RE: [PATCH v4] ARM: EXYNOS: add Exynos3250 PMU support

2014-11-19 Thread Pankaj Dubey
On Tuesday, November 18, 2014 11:05 PM, Bartlomiej Zolnierkiewicz Wrote: > This patch prepares the PMU code for the future: > - suspend/resume (S2R) support > - cpuidle AFTR/W-AFTR modes support > on Exynos3250. > > Cc: Pankaj Dubey > Cc: Vikas Sajjan > Acked-by: Kyungmin Park > Signed-off-by:

Re: [PATCH] drm/i2c: tda998x: Allow for different audio sample rates

2014-11-19 Thread Andrew Jackson
On 11/18/14 18:00, Russell King - ARM Linux wrote: > On Tue, Nov 18, 2014 at 05:39:30PM +, Andrew Jackson wrote: >> On HDMI, the audio data are carried across the HDMI link which is >> driven by the TDMS clock. The TDMS clock is dependent on the video pixel >> rate. >> >> This patch sets the

Re: [PATCH v3 1/5] arm64: Kprobes with single stepping support

2014-11-19 Thread Sandeepa Prabhu
On 18 November 2014 20:26, Will Deacon wrote: > One thing I noticed looking through this patch is that we're effectively > reinventing a bunch of the instruction decoding logic that we already have > in the kernel (introduced since Sandeepa last sent his patch). > > Could you take a look at

Re: pull request: bluetooth-next 2014-11-07

2014-11-19 Thread Johan Hedberg
Hi Kirill, On Wed, Nov 19, 2014, Kirill A. Shutemov wrote: > > From: Johan Hedberg > > Date: Tue, 18 Nov 2014 20:00:15 +0200 > > Subject: [PATCH] Bluetooth: Fix setting state back to TASK_RUNNING > > > > In __hci_cmd_sync_ev() and __hci_req_sync() if the hci_req_run() call > > fails and we

Re: [patch 08/16] genirq: Introduce callback irq_chip.irq_write_msi_msg

2014-11-19 Thread Thomas Gleixner
On Wed, 19 Nov 2014, Yun Wu (Abel) wrote: > On 2014/11/19 1:21, Marc Zyngier wrote: > > This is why the framework gives you the opportunity to provide methods > > that: > > - compose the message > > - program the message into the device > > > > None of that has to be PCI specific, and gives you a

Re: [patch 08/16] genirq: Introduce callback irq_chip.irq_write_msi_msg

2014-11-19 Thread Thomas Gleixner
On Wed, 19 Nov 2014, Yun Wu (Abel) wrote: > On 2014/11/18 22:52, Jiang Liu wrote: > > > On 2014/11/18 22:34, Yun Wu (Abel) wrote: > >> On 2014/11/18 22:19, Thomas Gleixner wrote: > >> > >>> On Tue, 18 Nov 2014, Yun Wu (Abel) wrote: > On 2014/11/18 21:43, Jiang Liu wrote: > > We

Re: pull request: bluetooth-next 2014-11-07

2014-11-19 Thread Kirill A. Shutemov
On Tue, Nov 18, 2014 at 08:09:19PM +0200, Johan Hedberg wrote: > Hi Kirill, > > On Tue, Nov 18, 2014, Kirill A. Shutemov wrote: > > On Fri, Nov 07, 2014 at 11:27:54AM +0200, Johan Hedberg wrote: > > > Chan-yeol Park (1): > > > Bluetooth: Fix hci_sync missing wakeup interrupt > > > > Look

Re: [PATCH] mmc: dw_mmc: Add support for IMG Pistachio

2014-11-19 Thread Ulf Hansson
On 13 November 2014 19:50, Andrew Bresticker wrote: > Add support for the DW MMC host found on the Imagination Pistachio SoC. > Like the DW MMC hosts found on SOCFPGA and Rockchip SoCs, the DW MMC > host on Pistachio requires the use of SDMMC_CMD_USE_HOLD_REG. > > Signed-off-by: Andrew Bresticker

Debian Developer promises me imprisonment

2014-11-19 Thread Full Name
On: np237.livejournal.com/34959.html I advocated for the marraige of young girls to men (As allowed in the Old Testament (read in hebrew)) Josselin Mouette threatens, promises me imprisonment: "" Re: What do you have against young girls? The party van is coming

[tip:x86/mpx] x86: Cleanly separate use of asm-generic/mm_hooks.h

2014-11-19 Thread tip-bot for Dave Hansen
Commit-ID: a1ea1c032b8f8c23d86ef4db6d061527e9417f19 Gitweb: http://git.kernel.org/tip/a1ea1c032b8f8c23d86ef4db6d061527e9417f19 Author: Dave Hansen AuthorDate: Tue, 18 Nov 2014 10:23:49 -0800 Committer: Thomas Gleixner CommitDate: Wed, 19 Nov 2014 11:54:13 +0100 x86: Cleanly separate

[tip:x86/mpx] mm: Make arch_unmap()/bprm_mm_init() available to all architectures

2014-11-19 Thread tip-bot for Dave Hansen
Commit-ID: 62e88b1c00de9cb30d937841ed5debed871070b8 Gitweb: http://git.kernel.org/tip/62e88b1c00de9cb30d937841ed5debed871070b8 Author: Dave Hansen AuthorDate: Tue, 18 Nov 2014 10:23:50 -0800 Committer: Thomas Gleixner CommitDate: Wed, 19 Nov 2014 11:54:13 +0100 mm: Make

[tip:x86/mpx] x86 mpx: Change return type of get_reg_offset()

2014-11-19 Thread tip-bot for Dave Hansen
Commit-ID: 68c009c4137927fd4ffd3e653bb5209d752c1d42 Gitweb: http://git.kernel.org/tip/68c009c4137927fd4ffd3e653bb5209d752c1d42 Author: Dave Hansen AuthorDate: Tue, 18 Nov 2014 10:23:43 -0800 Committer: Thomas Gleixner CommitDate: Wed, 19 Nov 2014 11:54:12 +0100 x86 mpx: Change return

Re: Implement lbr-as-callgraph v10

2014-11-19 Thread Jiri Olsa
On Wed, Nov 19, 2014 at 10:23:23AM +0100, Jiri Olsa wrote: > On Wed, Nov 19, 2014 at 03:21:39PM +0900, Namhyung Kim wrote: > > Hi Jiri, > > > > On Tue, 18 Nov 2014 12:00:07 +0100, Jiri Olsa wrote: > > > On Tue, Nov 18, 2014 at 11:44:16AM +0100, Jiri Olsa wrote: > > >> On Mon, Nov 17, 2014 at

Re: [PATCH RESEND] regulator: Ensure unique regulator debugfs directory names

2014-11-19 Thread Mark Brown
On Tue, Nov 18, 2014 at 11:28:05AM -0800, Guenter Roeck wrote: > If multiple regulator devices of the same type exist in a system, > the regulator driver assigns generic names for the regulators it > provides, and debugfs is enabled, the regulator subsystem attempts > to create multiple entries

<    6   7   8   9   10   11   12   13   14   15   >