[PATCH 1/4] f2fs: split set_data_blkaddr from f2fs_update_extent_cache

2015-03-19 Thread Chao Yu
Split __set_data_blkaddr from f2fs_update_extent_cache for readability. Additionally rename __set_data_blkaddr to set_data_blkaddr for exporting. Signed-off-by: Chao Yu --- fs/f2fs/data.c | 10 -- fs/f2fs/f2fs.h | 1 + fs/f2fs/file.c | 1 + fs/f2fs/inline.c | 1 + fs/f2

[PATCH 2/4] f2fs: introduce __{find,grab}_extent_tree

2015-03-19 Thread Chao Yu
This patch introduces __{find,grab}_extent_tree for reusing by following patches. Signed-off-by: Chao Yu --- fs/f2fs/data.c | 79 +++--- 1 file changed, 48 insertions(+), 31 deletions(-) diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index edeba

[no subject]

2015-03-19 Thread Salem Ghozzi
Please contact me about this project (mrscheong-...@outlook.com) Regards This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please d

[PATCH 3/4] f2fs: initialize extent tree with on-disk extent info of inode

2015-03-19 Thread Chao Yu
With normal extent info cache, we records largest extent mapping between logical block and physical block into extent info, and we persist extent info in on-disk inode. When we enable extent tree cache, if extent info of on-disk inode is exist, and the extent is not a small fragmented mapping exte

Re: [PATCH v4 00/14] Add kdbus implementation

2015-03-19 Thread David Herrmann
Hi On Wed, Mar 18, 2015 at 7:24 PM, Andy Lutomirski wrote: > On Wed, Mar 18, 2015 at 6:54 AM, David Herrmann wrote: [...] >> This program sends unicast messages on kdbus and UDS, exactly the same >> number of times with the same 8kb payload. No parsing, no marshaling >> is done, just plain messa

Re: [PATCH V2 7/8] ARM: cpuidle: Register per cpuidle device

2015-03-19 Thread Daniel Lezcano
On 03/19/2015 12:08 PM, Lorenzo Pieralisi wrote: On Wed, Mar 18, 2015 at 06:46:11PM +, Daniel Lezcano wrote: Some architectures have some cpus which does not support idle states. Let the underlying low level code to return -ENOSYS when it is not possible to set an idle state. http://www.s

[PATCH] fs: cleanup slight list_entry abuse

2015-03-19 Thread Rasmus Villemoes
list_entry is just a wrapper for container_of, but it is arguably wrong (and slightly confusing) to use it when the pointed-to struct member is not a struct list_head. Use container_of directly instead. Signed-off-by: Rasmus Villemoes --- Most of these predate git. If I'm the only one who has bee

Re: screen goes blank when loading gma500_gfx (atom D2500)

2015-03-19 Thread Michael Tokarev
19.03.2015 14:09, Michael Tokarev wrote: > Half a year passed since my first email in this thread, and current kernels Actually it was more than a year, since Feb-2014 ;) > (4.0-tobe) still does not work properly. Meanwhile, I found this thread: > http://www.linuxquestions.org/questions/slackwar

[PATCH 4/4] f2fs: preserve extent info for extent cache

2015-03-19 Thread Chao Yu
This patch tries to preserve last extent info in extent tree cache into on-disk inode, so this can help us to reuse the last extent info next time for performance. Signed-off-by: Chao Yu --- fs/f2fs/data.c | 49 + fs/f2fs/f2fs.h | 8 fs

Re: [PATCH 5/5] ARM: dts: brcmstb: add nodes for SATA controller and PHY

2015-03-19 Thread Sergei Shtylyov
Hello. On 3/19/2015 4:23 AM, Brian Norris wrote: Signed-off-by: Brian Norris --- Light dependency on: http://lists.infradead.org/pipermail/linux-arm-kernel/2015-March/331921.html for the surrounding text. arch/arm/boot/dts/bcm7445.dtsi | 36 1 file

[PATCH] vfs: show_vfsstat: do not ignore errors from show_devname method

2015-03-19 Thread Dmitry V. Levin
Explicitly check show_devname method return code and bail out in case of an error. This fixes regression introduced by commit 9d4d65748a5c. Signed-off-by: Dmitry V. Levin --- fs/proc_namespace.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/proc_namespace.c b/fs/proc_namespace.c inde

Re: [PATCH V2 7/8] ARM: cpuidle: Register per cpuidle device

2015-03-19 Thread Lorenzo Pieralisi
On Thu, Mar 19, 2015 at 11:27:20AM +, Daniel Lezcano wrote: [...] > >>for_each_possible_cpu(cpu) { > >>ret = arm_cpuidle_init(cpu); > >> + > >> + /* This cpu does not support any idle states */ > >> + if (ret == -ENOSYS) > >> + continue; > >>

Re: [PATCH v4 2/4] mmc: core: Add mmc_regulator_set_vqmmc()

2015-03-19 Thread Mark Brown
On Thu, Mar 19, 2015 at 12:14:11PM +0100, Ulf Hansson wrote: > Agree. Moreover we need that API to also pick the closest value to > target, when trying the range "target->minimum". I also believe it The implementation *should* do that anyway, it's just not trivial to implement in an efficient fas

Re: [RFC][PATCH 1/9] usb: hcd: Introduce usb_start/stop_hcd()

2015-03-19 Thread Roger Quadros
On 18/03/15 21:49, Alan Stern wrote: > On Wed, 18 Mar 2015, Roger Quadros wrote: > >> To support OTG we want a mechanism to start and stop >> the HCD from the OTG state machine. Add usb_start_hcd() >> and usb_stop_hcd(). >> >> Signed-off-by: Roger Quadros > > There are a few problems in this pro

mm/zsmalloc.c: count in handle's size when calculating pages_per_zspage

2015-03-19 Thread Yinghao Xie
From 159d74b5a8f3d0f07e18ddad74b7025cf17dcc69 Mon Sep 17 00:00:00 2001 From: Yinghao Xie Date: Thu, 19 Mar 2015 19:32:25 +0800 Subject: [PATCH] mm/zsmalloc.c: count in handle's size when calculating size_class's pages_per_zspage 1. Fix wastage calculation; 2. Indirect handle introduced extra ZS_

Re: [PATCHv2 01/12] usb: add bus type for USB ULPI

2015-03-19 Thread Heikki Krogerus
> > +#include > > So is this include needed? I can change it to linux/kmod.h. We'll still do the request_module call even after these changes. > > +static int __init ulpi_init(void) > > +{ > > + return bus_register(&ulpi_bus); > > +} > > +module_init(ulpi_init); > > This will be equivalent t

Re: [PATCH V2 7/8] ARM: cpuidle: Register per cpuidle device

2015-03-19 Thread Daniel Lezcano
On 03/19/2015 12:38 PM, Lorenzo Pieralisi wrote: On Thu, Mar 19, 2015 at 11:27:20AM +, Daniel Lezcano wrote: [...] for_each_possible_cpu(cpu) { ret = arm_cpuidle_init(cpu); + + /* This cpu does not support any idle states */ + if (ret ==

Re: [PATCHv2 10/12] usb: dwc3: add ULPI interface support

2015-03-19 Thread Heikki Krogerus
> > +config USB_DWC3_ULPI > > + bool "Register ULPI PHY Interface" > > + depends on USB_ULPI_BUS=y > > USB_ULPI_BUS is added in 01/12 as a bool symbol. So why not use just > depends on USB_ULPI_BUS True. Originally I was planning to support building the ULPI bus as a module and have nev

Re: [PATCHv2 09/12] usb: dwc3: pci: add quirk for Baytrails

2015-03-19 Thread Heikki Krogerus
> > @@ -65,6 +76,31 @@ static int dwc3_pci_quirks(struct pci_dev *pdev) > > sizeof(pdata)); > > } > > > > + if (pdev->vendor == PCI_VENDOR_ID_INTEL && > > + pdev->device == PCI_DEVICE_ID_INTEL_BYT) { > > + struct gpio_desc *gpio; >

Re: screen goes blank when loading gma500_gfx (atom D2500)

2015-03-19 Thread One Thousand Gnomes
On Thu, 19 Mar 2015 14:09:29 +0300 Michael Tokarev wrote: > Half a year passed since my first email in this thread, and current kernels > (4.0-tobe) still does not work properly. Meanwhile, I found this thread: > http://www.linuxquestions.org/questions/slackware-installation-40/black-screen-on-i

Re: [PATCH] trace, RAS: remove unnecessary const

2015-03-19 Thread Xie XiuQi
On 2015/3/19 18:33, Borislav Petkov wrote: > On Thu, Mar 19, 2015 at 04:50:04PM +0800, Xie XiuQi wrote: >> These parameters are passed by value. There's no need to make them const. > > I can think of a reason: > > include/trace/../../include/ras/ras_event.h: In function > ‘ftrace_raw_event_mc_ev

Re: [PATCH 1/1] jbd2: fix incorrect unlock on j_list_lock

2015-03-19 Thread Taesoo Kim
On 03/19/15 at 10:48am, Lukáš Czerner wrote: > On Wed, 18 Mar 2015, Taesoo Kim wrote: > > > Date: Wed, 18 Mar 2015 13:39:31 -0400 > > From: Taesoo Kim > > To: Lukáš Czerner > > Cc: Taesoo Kim , ty...@mit.edu, > > linux-e...@vger.kernel.org, linux-kernel@vger.kernel.org, > > chang...@gate

Safe Loan

2015-03-19 Thread mcdonaldloans
I am David Mcdonald a private lender located in New York,i can help you with a loan you looking for @ 3% interest rate, Interested call,email or text (347) 560-4207 David Mcdonald Email: david.mcdonaldloan...@gmail.com telephone:+1 347-560-4207 -- To unsubscribe from this list: send the line "u

Re: [RFC 01/19] extcon: add extcon-odroid-usbotg driver

2015-03-19 Thread Robert Baldyga
Hi George, On 03/19/2015 09:50 AM, George Cherian wrote: > Hi Robert, > > This looks like a extcon driver based on gpio for USB. > > Roger posted a generic one a while back. > https://lkml.org/lkml/2015/2/2/187 > > Doesn't this serve the purpose rather than adding this driver? Roger's driver d

[PATCH] Update Nanobone dts file

2015-03-19 Thread Mark Jackson
Update dts file to reflect:- (1) new flash memory layout (2) add missing phy-mode property Signed-off-by: Mark Jackson --- arch/arm/boot/dts/am335x-nano.dts | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/am335x-nano.dts b/arch/arm/boot/dts/am335

Re: [PATCH 1/1] jbd2: fix incorrect unlock on j_list_lock

2015-03-19 Thread Lukáš Czerner
On Thu, 19 Mar 2015, Taesoo Kim wrote: > Date: Thu, 19 Mar 2015 08:02:43 -0400 > From: Taesoo Kim > To: Lukáš Czerner > Cc: Taesoo Kim , ty...@mit.edu, > linux-e...@vger.kernel.org, linux-kernel@vger.kernel.org, > chang...@gatech.edu, sanid...@gatech.edu, b...@gatech.edu, > cson...@g

Re: [PATCHv2] mm/slub: fix lockups on PREEMPT && !SMP kernels

2015-03-19 Thread Joonsoo Kim
2015-03-19 0:21 GMT+09:00 Mark Rutland : > Hi, > >> > do { >> > tid = this_cpu_read(s->cpu_slab->tid); >> > c = raw_cpu_ptr(s->cpu_slab); >> > - } while (IS_ENABLED(CONFIG_PREEMPT) && unlikely(tid != c->tid)); >> > + } while (IS_ENABLED(CONFIG_PRE

[PATCH 2/2] ASoC:pcm512x: Add 'Analogue' prefix to analogue volume controls

2015-03-19 Thread Howard Mitchell
This is to ensure that 'alsactl restore' does not apply default initialisation as the chip reset defaults are preferred. Signed-off-by: Howard Mitchell --- sound/soc/codecs/pcm512x.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/codecs/pcm512x.c b/sound/soc

[PATCH 1/2] ALSA:ControlName.txt: Add 'Analogue' as a prefix for volume controls

2015-03-19 Thread Howard Mitchell
Currently 'Playback Volume' is the correct way to express an analogue volume control. However, this control name has initialisation defaults applied when using 'alsactl restore' and in some cases this is not appropriate. An example would be a control that has a selection of 0db and -6dB of gain tha

Re: + lib-vsprintfc-even-faster-decimal-conversion.patch added to -mm tree

2015-03-19 Thread Alexey Dobriyan
On Wed, Mar 18, 2015 at 1:04 AM, Andrew Morton wrote: > On Mon, 16 Mar 2015 18:19:41 +0300 Alexey Dobriyan > wrote: > >> Rasmus, I redid benchmarks: > > tl;dr ;) Is this an ack or a nack? New code executes slower for some input on one CPU I've benchmarked, both with -O2 and -Os (Core 2 Duo E65

[PATCH v2] ARM: tegra: Maintain CPU endianness for asm code

2015-03-19 Thread Dmitry Osipenko
This patch adds support for big-endian CPU mode to assembler code, which is required for booting secondary CPU's, cpuidle drivers and machine suspend/resume functionality with big-endian kernel. Signed-off-by: Dmitry Osipenko --- Tested on Tegra 2 and 3. Changelog: V2: Cleanup a bit: reordered

Re: [RFC 01/19] extcon: add extcon-odroid-usbotg driver

2015-03-19 Thread George Cherian
Hi Robert, +Roger On Thu, Mar 19, 2015 at 5:37 PM, Robert Baldyga wrote: > Hi George, > > On 03/19/2015 09:50 AM, George Cherian wrote: >> Hi Robert, >> >> This looks like a extcon driver based on gpio for USB. >> >> Roger posted a generic one a while back. >> https://lkml.org/lkml/2015/2/2/187 >

Re: [PATCH 8/9] qspinlock: Generic paravirt support

2015-03-19 Thread Peter Zijlstra
On Thu, Mar 19, 2015 at 11:12:42AM +0100, Peter Zijlstra wrote: > So I was now thinking of hashing the lock pointer; let me go and quickly > put something together. A little something like so; ideally we'd allocate the hashtable since NR_CPUS is kinda bloated, but it shows the idea I think. And w

Linux 3.12.39

2015-03-19 Thread Jiri Slaby
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 I'm announcing the release of the 3.12.39 kernel. All users of the 3.12 kernel series must upgrade. The updated 3.12.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.12.y and can be

Re: [PATCH 1/1] Add virtio-input driver.

2015-03-19 Thread Michael S. Tsirkin
On Thu, Mar 19, 2015 at 10:13:11AM +0100, Gerd Hoffmann wrote: > virtio-input is basically evdev-events-over-virtio, so this driver isn't > much more than reading configuration from config space and forwarding > incoming events to the linux input layer. > > Signed-off-by: Gerd Hoffmann What worr

Re: [PATCH 1/1] Add virtio-input driver.

2015-03-19 Thread David Herrmann
Hi (CC: Dmitry) On Thu, Mar 19, 2015 at 10:13 AM, Gerd Hoffmann wrote: > virtio-input is basically evdev-events-over-virtio, so this driver isn't > much more than reading configuration from config space and forwarding > incoming events to the linux input layer. > > Signed-off-by: Gerd Hoffmann

Re: [PATCH 3/3] mailbox: Add support for ST's Mailbox IP

2015-03-19 Thread Jassi Brar
On Thu, Mar 19, 2015 at 2:47 PM, Lee Jones wrote: > On Thu, 19 Mar 2015, Jassi Brar wrote: > >> On Wed, Mar 18, 2015 at 9:04 PM, Lee Jones wrote: >> > On Wed, 18 Mar 2015, Jassi Brar wrote: >> > >> >> On Wed, Mar 18, 2015 at 6:47 PM, Lee Jones wrote: >> >> > On Tue, 03 Mar 2015, Jassi Brar wrote

Re: [PATCH 3/3] mailbox: Add support for ST's Mailbox IP

2015-03-19 Thread Jassi Brar
On Thu, Mar 19, 2015 at 3:27 PM, Lee Jones wrote: > On Thu, 19 Mar 2015, Jassi Brar wrote: > >> And also no header that's included by exactly one file. > > So you also want me to drag in all of the controller structs into the > driver? > Yes, please. Why have structures, internal to a code, in a h

Re: [PATCH v2] ARM: zynq: use restart_handler mechanism for slcr reset

2015-03-19 Thread Josh Cartwright
On Thu, Mar 19, 2015 at 11:44:23AM +0100, Michal Simek wrote: > On 02/27/2015 04:09 PM, Josh Cartwright wrote: [..] > > +++ b/arch/arm/mach-zynq/slcr.c > > @@ -15,6 +15,7 @@ > > */ > > > > #include > > +#include > > #include > > #include > > #include > > @@ -91,10 +92,9 @@ u32 zynq_slc

Re: [PATCH] mm: Use GFP_KERNEL allocation for the page cache in page_cache_read

2015-03-19 Thread Michal Hocko
On Thu 19-03-15 18:14:39, Dave Chinner wrote: > On Wed, Mar 18, 2015 at 03:55:28PM +0100, Michal Hocko wrote: > > On Wed 18-03-15 10:44:11, Rik van Riel wrote: > > > On 03/18/2015 10:09 AM, Michal Hocko wrote: > > > > page_cache_read has been historically using page_cache_alloc_cold to > > > > allo

Re: PANIC: double fault, error_code: 0x0 in 4.0.0-rc3-2, kvm related?

2015-03-19 Thread Denys Vlasenko
Having no more ideas at the moment, here is a tarball of 13 patches of commits touching entry_64.S up to 4.0.0-rc1. x0001.patch is the latest, x0015.patch is the oldest. Patches 0003 and 0008 are not there since 0003 is empty merge patch and 0008 does some PCI fixup. If this breakage is recent,

Re: [RFC, PATCH] pagemap: do not leak physical addresses to non-privileged userspace

2015-03-19 Thread Vlastimil Babka
On 03/17/2015 02:21 AM, Andy Lutomirski wrote: > On Mon, Mar 16, 2015 at 5:49 PM, Mark Seaborn wrote: >> On 16 March 2015 at 14:11, Pavel Machek wrote: >> >>> Can we do anything about that? Disabling cache flushes from userland >>> should make it no longer exploitable. >> >> Unfortunately there's

Re: [PATCH] clocksource: atmel-st: select REGMAP_MMIO

2015-03-19 Thread Alexandre Belloni
On 19/03/2015 at 09:02:16 +0100, Boris Brezillon wrote : > > diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig > > index 168035883afa..3cc97b217019 100644 > > --- a/drivers/clocksource/Kconfig > > +++ b/drivers/clocksource/Kconfig > > @@ -146,6 +146,7 @@ config ATMEL_PIT > > c

[PATCH] mmc: sdhci-msm: Add support for vendor capabilities registers

2015-03-19 Thread Georgi Djakov
Some versions of this controller do not advertise their 3.0v and 8bit bus-width support capabilities. It is required to explicitly set these capabilities for the specific controller versions. Signed-off-by: Georgi Djakov --- Tested on msm8916-mtp board. drivers/mmc/host/sdhci-msm.c | 29 +

Re: [PATCH] trace, RAS: remove unnecessary const

2015-03-19 Thread Steven Rostedt
On Thu, 19 Mar 2015 11:33:30 +0100 Borislav Petkov wrote: > On Thu, Mar 19, 2015 at 04:50:04PM +0800, Xie XiuQi wrote: > > These parameters are passed by value. There's no need to make them const. > > I can think of a reason: > > include/trace/../../include/ras/ras_event.h: In function > ‘ftra

Re: [PATCH] trace, RAS: remove unnecessary const

2015-03-19 Thread Steven Rostedt
On Thu, 19 Mar 2015 19:57:17 +0800 Xie XiuQi wrote: > On 2015/3/19 18:33, Borislav Petkov wrote: > > On Thu, Mar 19, 2015 at 04:50:04PM +0800, Xie XiuQi wrote: > >> These parameters are passed by value. There's no need to make them const. > > > > I can think of a reason: > > > > include/trace/.

Re: [PATCH] signal: improve warning about using SI_TKILL in rt_[tg]sigqueueinfo

2015-03-19 Thread Oleg Nesterov
On 03/19, Vladimir Davydov wrote: > > Sending SI_TKILL from rt_[tg]sigqueueinfo was deprecated, so now we > issue a warning on the first attempt of doing it. We use WARN_ON_ONCE, > which is not informative and, what is worse, taints the kernel, making > the trinity syscall fuzzer complain false-pos

Re: [PATCH RFC] mm: protect suid binaries against rowhammer with copy-on-read mappings

2015-03-19 Thread Vlastimil Babka
On 03/18/2015 12:41 PM, Konstantin Khlebnikov wrote: > On 18.03.2015 12:57, Kirill A. Shutemov wrote: >> >> I don't think it worth it. The only right way to fix the problem is ECC >> memory. >> > > ECC seems good protection until somebody figure out how to break it too. I doubt that kind of attit

Re: [PATCH] trace, RAS: remove unnecessary const

2015-03-19 Thread Borislav Petkov
On Thu, Mar 19, 2015 at 08:57:56AM -0400, Steven Rostedt wrote: > That's a bit of a stretch. But sure, there's no real downside to having > it, except that it makes one take a double take when seeing it, and > thinking about why it would even be needed (like I did). Why? It simply declares the con

Re: [PATCH v2] perf tools: Work around lack of sched_getcpu in glibc < 2.6.

2015-03-19 Thread Arnaldo Carvalho de Melo
Em Thu, Mar 19, 2015 at 11:13:04AM +0100, Jiri Olsa escreveu: > On Wed, Mar 18, 2015 at 04:11:52PM -0700, Vinson Lee wrote: > > This patch fixes this build error with glibc < 2.6. > > +#ifdef __GLIBC_PREREQ > > +#if !__GLIBC_PREREQ(2, 6) > > +static int sched_getcpu(void) > > +{ > > + errno = EN

Re: [PATCH 3.14 37/96] iio: mxs-lradc: only update the buffer when its conversions have finished

2015-03-19 Thread Greg Kroah-Hartman
On Thu, Mar 19, 2015 at 01:36:13AM +0200, Kristina Martšenko wrote: > On 16/03/15 16:09, Greg Kroah-Hartman wrote: > > 3.14-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: Kristina Martšenko > > > > commit 89bb35e200bee745c539a966

[PATCH v4] uio: Fix uio driver to refcount device

2015-03-19 Thread Brian Russell
Protect uio driver from its owner being unplugged while there are open fds. Embed struct device in struct uio_device, use refcounting on device, free uio_device on release. info struct passed in uio_register_device can be freed on unregister, so null out the field in uio_urnegister_device and check

[PATCH] input: elan_i2c - fix typo in include header guard

2015-03-19 Thread Nicolas Iooss
Signed-off-by: Nicolas Iooss Fixes: 6696777c6506 ("Input: add driver for Elan I2C/SMbus touchpad") --- drivers/input/mouse/elan_i2c.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/mouse/elan_i2c.h b/drivers/input/mouse/elan_i2c.h index e100c1b31597..9b2dc015f20

[PATCH 2/2] staging: sm750fb: fix build warning

2015-03-19 Thread Sudip Mukherjee
after removing the 750LE related codes we started getting a build warning about an unused function. Hence removing that function also. Signed-off-by: Sudip Mukherjee --- drivers/staging/sm750fb/ddk750_mode.c | 70 --- 1 file changed, 70 deletions(-) diff --git a/

[PATCH 1/2] staging: sm750fb: remove 750LE code

2015-03-19 Thread Sudip Mukherjee
750LE is a special version of the hardware with Ip Core and Silicon Motion is making this hardware only for Huawei. It is not available to anyone else. So its better to remove the codes related to SM750LE. Signed-off-by: Sudip Mukherjee --- this patch will generate warning from checkpatch. but s

[PATCH v2] clocksource: atmel-st: select MFD_SYSCON

2015-03-19 Thread Alexandre Belloni
Enforce MFD_SYSCON selection as the driver needs it. Else, it will still compile with some warning about X1, x2 or sr being used uninitialized. Reported-by: fengguang...@intel.com Signed-off-by: Alexandre Belloni --- Daniel, I think this should go through the at91 tree as the patch introducing t

Re: [PATCH v2] ARM: zynq: use restart_handler mechanism for slcr reset

2015-03-19 Thread Michal Simek
On 03/19/2015 01:44 PM, Josh Cartwright wrote: > On Thu, Mar 19, 2015 at 11:44:23AM +0100, Michal Simek wrote: >> On 02/27/2015 04:09 PM, Josh Cartwright wrote: > [..] >>> +++ b/arch/arm/mach-zynq/slcr.c >>> @@ -15,6 +15,7 @@ >>> */ >>> >>> #include >>> +#include >>> #include >>> #include

Re: [PATCH v2] clocksource: atmel-st: select MFD_SYSCON

2015-03-19 Thread Boris Brezillon
On Thu, 19 Mar 2015 14:17:48 +0100 Alexandre Belloni wrote: > Enforce MFD_SYSCON selection as the driver needs it. Else, it will still > compile with some warning about X1, x2 or sr being used uninitialized. > > Reported-by: fengguang...@intel.com > Signed-off-by: Alexandre Belloni Acked-by: B

Re: [PATCHv4 07/10] fbdev: ssd1307fb: Add a module parameter to set the refresh rate

2015-03-19 Thread Maxime Ripard
On Mon, Mar 16, 2015 at 06:11:55PM +0100, Thomas Niederprüm wrote: > This patch adds the module parameter "refreshrate" to set delay for the > deferred io. The refresh rate is given in units of Hertz. The default > refresh rate is 1 Hz. The refresh rate set through the newly introduced > parameter

Re: perf: thread is its own parent

2015-03-19 Thread Don Zickus
On Wed, Mar 18, 2015 at 05:56:33PM -0600, David Ahern wrote: > Don: > > In this commit: > > commit 363b785f3805a2632eb09a8b430842461c21a640 > Author: Don Zickus > Date: Fri Mar 14 10:43:44 2014 -0400 > > perf tools: Speed up thread map generation > > you made a thread its own parent when

Re: PANIC: double fault, error_code: 0x0 in 4.0.0-rc3-2, kvm related?

2015-03-19 Thread Denys Vlasenko
On 03/18/2015 10:55 PM, Andy Lutomirski wrote: > On Wed, Mar 18, 2015 at 2:42 PM, Denys Vlasenko wrote: >>> in 'irq_return_via_sysret' is new to 4.0, and instead of entering the >>> kernel with a user stack poiinter, maybe we're *exiting* the kernel, >>> and have just reloaded the user stack point

[PATCH] staging: vt6655: remove deprecated use of pci api

2015-03-19 Thread Quentin Lambert
Replace occurences of the pci api by appropriate call to the dma api. A simplified version of the semantic patch that finds this problem is as follows: (http://coccinelle.lip6.fr) @deprecated@ idexpression id; position p; @@ ( pci_dma_supported@p ( id, ...) | pci_alloc_consistent@p ( id, ...

Re: [PATCH 1/2] staging: sm750fb: remove 750LE code

2015-03-19 Thread Greg Kroah-Hartman
On Thu, Mar 19, 2015 at 06:47:40PM +0530, Sudip Mukherjee wrote: > 750LE is a special version of the hardware with Ip Core and > Silicon Motion is making this hardware only for Huawei. It is not > available to anyone else. And Huawei doesn't run Linux? (hint, they do...) Why remove this if someo

Re: [PATCH v4] uio: Fix uio driver to refcount device

2015-03-19 Thread Greg Kroah-Hartman
On Thu, Mar 19, 2015 at 01:16:13PM +, Brian Russell wrote: > Protect uio driver from its owner being unplugged while there are open fds. > Embed struct device in struct uio_device, use refcounting on device, free > uio_device on release. > info struct passed in uio_register_device can be freed

Re: [patch 2/7] dt: dtb version: document chosen/dtb-info node binding

2015-03-19 Thread Rob Herring
On Wed, Mar 18, 2015 at 10:33 PM, Frank Rowand wrote: > From: Frank Rowand > > Add /chosen/dtb-node binding. Why? Please write better commit messages. > > Signed-off-by: Frank Rowand > --- > Documentation/devicetree/bindings/chosen.txt | 37 +++ > > Index: b/Documentation/devicetree/

[PATCH] mac802154: fix typo in header guard

2015-03-19 Thread Nicolas Iooss
Signed-off-by: Nicolas Iooss Fixes: b6eea9ca354a ("mac802154: introduce driver-ops header") --- net/mac802154/driver-ops.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/mac802154/driver-ops.h b/net/mac802154/driver-ops.h index 98180a9fff4a..a0533357b9ea 100644 --- a/

Re: [PATCH RFC] mm: protect suid binaries against rowhammer with copy-on-read mappings

2015-03-19 Thread Konstantin Khlebnikov
On 19.03.2015 16:04, Vlastimil Babka wrote: On 03/18/2015 12:41 PM, Konstantin Khlebnikov wrote: On 18.03.2015 12:57, Kirill A. Shutemov wrote: I don't think it worth it. The only right way to fix the problem is ECC memory. ECC seems good protection until somebody figure out how to break it

Re: [PATCHv4 09/10] fbdev: ssd1307fb: add backlight controls for setting the contrast

2015-03-19 Thread Maxime Ripard
On Mon, Mar 16, 2015 at 06:11:57PM +0100, Thomas Niederprüm wrote: > The backlight class is used to create userspace handles for > setting the OLED contrast. > > Signed-off-by: Thomas Niederprüm Acked-by: Maxime Ripard Thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel an

Re: [PATCH v2] clocksource: atmel-st: select MFD_SYSCON

2015-03-19 Thread Daniel Lezcano
On 03/19/2015 02:17 PM, Alexandre Belloni wrote: Enforce MFD_SYSCON selection as the driver needs it. Else, it will still compile with some warning about X1, x2 or sr being used uninitialized. Reported-by: fengguang...@intel.com Signed-off-by: Alexandre Belloni --- Daniel, I think this should

Re: [PATCH 1/2] staging: sm750fb: remove 750LE code

2015-03-19 Thread Dan Carpenter
On Thu, Mar 19, 2015 at 06:47:40PM +0530, Sudip Mukherjee wrote: > 750LE is a special version of the hardware with Ip Core and > Silicon Motion is making this hardware only for Huawei. It is not > available to anyone else. Huawei isn't selling this? I don't understand. regards, dan carpenter --

Re: [PATCH] eeprom: at24: Add support for large EEPROMs connected to SMBus adapters

2015-03-19 Thread Guenter Roeck
On 03/19/2015 01:16 AM, Wolfram Sang wrote: I don't call that multi-master, though, so I guess we may have a bit of a terminology problem. This is definately not a multi-master issue, I agree. It is just another issue I saw when thinking about your patch thoroughly again. I'll see what I ca

[PATCH v3 1/2] ARM: zynq: use restart_handler mechanism for slcr reset

2015-03-19 Thread Josh Cartwright
By making use of the restart_handler chain mechanism, the SLCR-based reset mechanism can be prioritized amongst other mechanisms available on a particular board. Choose a default high-ish priority of 192 for this restart mechanism. Signed-off-by: Josh Cartwright --- v2 -> v3: Don't drop the kern

[PATCH] iio: adc: Call uninitialized_var for raw_sample

2015-03-19 Thread Darshana Padmadas
This patch calls uninitialized_var function for uninitialized variable raw_sample. This error was reported by the static analysis tool, cppcheck. Signed-off-by: Darshana Padmadas --- drivers/iio/adc/ad_sigma_delta.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/ii

[PATCH 2/2] ARM: zynq: drop use of slcr_unlock in zynq_slcr_system_restart

2015-03-19 Thread Josh Cartwright
The SLCR is unconditionally unlocked early on boot in zynq_slcr_init() and not unlocked. As such, it is not necessary to explicitly unlock in the restart codepath. Signed-off-by: Josh Cartwright --- arch/arm/mach-zynq/slcr.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/arch/arm/mac

Re: [PATCH] mac802154: fix typo in header guard

2015-03-19 Thread Alexander Aring
Marcel, On Thu, Mar 19, 2015 at 09:23:40PM +0800, Nicolas Iooss wrote: > Signed-off-by: Nicolas Iooss > Fixes: b6eea9ca354a ("mac802154: introduce driver-ops header") Acked-by: Alexander Aring can you please queue this into bluetooth-next or even bluetooth? Thanks. - Alex -- To unsubscribe f

Re: [PATCH v2] ARM: zynq: use restart_handler mechanism for slcr reset

2015-03-19 Thread Josh Cartwright
On Thu, Mar 19, 2015 at 02:19:01PM +0100, Michal Simek wrote: > On 03/19/2015 01:44 PM, Josh Cartwright wrote: > > On Thu, Mar 19, 2015 at 11:44:23AM +0100, Michal Simek wrote: > >> On 02/27/2015 04:09 PM, Josh Cartwright wrote: > > [..] > >>> +++ b/arch/arm/mach-zynq/slcr.c > >>> @@ -15,6 +15,7 @@

Re: [PATCH] tools: unbreak 'make tools/*'

2015-03-19 Thread Arnaldo Carvalho de Melo
Em Wed, Jan 28, 2015 at 08:47:36PM -0800, Brian Norris escreveu: > The following targets should be supported from the top-level source > directory, but were broken by commit 7e1c04779efd ("kbuild: Use relative > path for $(objtree)"): > $ make tools/ > $ make tools/perf > $ make O=$(BUILDDIR)

[PATCH v5] uio: Fix uio driver to refcount device

2015-03-19 Thread Brian Russell
Protect uio driver from its owner being unplugged while there are open fds. v5: add patch version changes v4: info struct passed in uio_register_device can be freed on unregister, so null out the field in uio_unregister_device and check accesses. v3: Embed struct device in struct uio_device

Re: [patch 1/7] dt: dtb version: consolidate documentation of chosen node bindings

2015-03-19 Thread Mark Rutland
On Thu, Mar 19, 2015 at 03:31:50AM +, Frank Rowand wrote: > From: Frank Rowand > > Documentation of bindings in node /chosen are scattered in several bindings > files. If not already in Documentation/devicetree/bindings/chosen.txt, add > a pointer in that file to where the property and node

[PATCH 1/2] drm/panel: simple: Add support for Shelly SCA07010-BFN-LNN

2015-03-19 Thread Nicolas Ferre
From: Boris BREZILLON The Shelly SCA07010-BFN-LNN is a 7.0" WVGA TFT LCD panel. This panel with backlight is found in PDA 7" LCD screen (TM70xx series for instance). Signed-off-by: Boris BREZILLON Signed-off-by: Nicolas Ferre --- .../bindings/panel/shelly,sca07010-bfn-lnn.txt | 7 ++

Re: [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-19 Thread Matthew Wilcox
On Wed, Mar 18, 2015 at 01:26:50PM -0700, Andrew Morton wrote: > On Mon, 16 Mar 2015 16:25:25 -0400 Dan Williams > wrote: > > > Avoid the impending disaster of requiring struct page coverage for what > > is expected to be ever increasing capacities of persistent memory. In > > conversations wit

[PATCH 2/2] drm/panel: simple: Add support for Innolux AT043TN24

2015-03-19 Thread Nicolas Ferre
The Innolux AT043TN24 4.3" WQVGA TFT LCD panel. This panel with backlight is found in PDA 4.3" LCD screen (TM43xx series for instance). Signed-off-by: Nicolas Ferre --- .../bindings/panel/innolux,at043tn24.txt | 7 ++ drivers/gpu/drm/panel/panel-simple.c | 28 +++

Re: [PATCH 8/9] qspinlock: Generic paravirt support

2015-03-19 Thread Peter Zijlstra
On Thu, Mar 19, 2015 at 01:25:36PM +0100, Peter Zijlstra wrote: > +static struct qspinlock **pv_hash(struct qspinlock *lock) > +{ > + u32 hash = hash_ptr(lock, PV_LOCK_HASH_BITS); > + struct pv_hash_bucket *hb, *end; > + > + if (!hash) > + hash = 1; > + > + hb = &__pv_lo

[PATCH v4 0/1] mmc: dw_mmc: Add runtime pm to dw_mmc

2015-03-19 Thread Karol Wrona
Hello, This patch adds runtime pm for dw_mmc. There is no runtime pm callbacks for exynos dw_mmc because the host hardware gates interface clock itself and it is done separately. The reason for runtime is mainly get an info about host state for now. >From v1: - move all pm_runtime funct

[PATCH v4 1/1] mmc: dw_mmc: Add runtime pm to dw_mmc

2015-03-19 Thread Karol Wrona
This patch adds runtime pm handling to dw_mmc. It mainly uses mci_request/mci_request_end for mmc host state information. The goal of the runtime pm in dw_mmc host is mainly for giving an information for containing it power domain about its activity. Signed-off-by: Karol Wrona Acked-by: Kyungmin

[PATCH RFC] IB/verbs: introduce rdma_transport_is_ib() to check transport type

2015-03-19 Thread Michael Wang
We have plenty of places where we don't care what exactly the transport type is, but only care if it's IB type. This patch introduce rdma_transport_is_ib() as shortcuts to check whether an 'ib_device' is infiniband transport type, which help us to save some code. Signed-off-by: Michael Wang ---

Re: PANIC: double fault, error_code: 0x0 in 4.0.0-rc3-2, kvm related?

2015-03-19 Thread Takashi Iwai
At Thu, 19 Mar 2015 13:48:56 +0100, Denys Vlasenko wrote: > > Having no more ideas at the moment, here is a tarball of 13 patches > of commits touching entry_64.S up to 4.0.0-rc1. > > x0001.patch is the latest, x0015.patch is the oldest. > > Patches 0003 and 0008 are not there since 0003 is empt

Re: [PATCH] mac802154: fix typo in header guard

2015-03-19 Thread Paul Bolle
On Thu, 2015-03-19 at 14:37 +0100, Alexander Aring wrote: > On Thu, Mar 19, 2015 at 09:23:40PM +0800, Nicolas Iooss wrote: > > Signed-off-by: Nicolas Iooss > > Fixes: b6eea9ca354a ("mac802154: introduce driver-ops header") > > Acked-by: Alexander Aring > > can you please queue this into bluetoo

Re: [PATCH 2/2] ARM: zynq: drop use of slcr_unlock in zynq_slcr_system_restart

2015-03-19 Thread Josh Cartwright
Ugh. On Thu, Mar 19, 2015 at 08:33:53AM -0500, Josh Cartwright wrote: > The SLCR is unconditionally unlocked early on boot in zynq_slcr_init() > and not unlocked. As such, it is not necessary to explicitly unlock in ^ever re-locked. Can you fix this up when you apply? Thanks, Josh

Re: [patch 2/7] dt: dtb version: document chosen/dtb-info node binding

2015-03-19 Thread Mark Rutland
On Thu, Mar 19, 2015 at 03:33:22AM +, Frank Rowand wrote: > From: Frank Rowand > > Add /chosen/dtb-node binding. Why? It doesn't matter what the cover says, the commit message should have a rationale. Who needs this information, and when do they need it? Why is the existing information ins

Re: [PATCH v3 10/15] serial: stm32-usart: Add STM32 USART Driver

2015-03-19 Thread Maxime Coquelin
2015-03-17 18:56 GMT+01:00 Andy Shevchenko : > On Tue, Mar 17, 2015 at 7:32 PM, Maxime Coquelin > wrote: >> 2015-03-13 15:19 GMT+01:00 Andy Shevchenko : > +static void stm32_set_termios(struct uart_port *port, struct ktermios *termios, + struct ktermios *o

[PATCH 1/1] Drivers: hv: vmbus: Don't wait after requesting offers

2015-03-19 Thread K. Y. Srinivasan
Don't wait after sending request for offers to the host. This wait is unnecessary and simply adds 5 seconds to the boot time. Signed-off-by: K. Y. Srinivasan Cc: --- drivers/hv/channel_mgmt.c | 11 --- 1 files changed, 0 insertions(+), 11 deletions(-) diff --git a/drivers/hv/channel_

[PATCH] perf tools: Remove (null) value of "Sort order" for perf mem report

2015-03-19 Thread Yunlong Song
When '--sort' is not set, 'perf mem report" will print a null pointer as the output value of sort order, so fix it. Example: Before this patch: $ perf mem report # To display the perf.data header info, please use --header/--header-only options. # # Samples: 18 of event 'cpu/mem-loads/pp'

Re: [PATCH] mm: Use GFP_KERNEL allocation for the page cache in page_cache_read

2015-03-19 Thread Michal Hocko
On Thu 19-03-15 08:38:35, Neil Brown wrote: [...] > Nearly half the places in the kernel which call mapping_gfp_mask() remove the > __GFP_FS bit. > > That suggests to me that it might make sense to have >mapping_gfp_mask_fs() > and >mapping_gfp_mask_nofs() > > and let the presence of __GFP

Re: perf: thread is its own parent

2015-03-19 Thread David Ahern
On 3/19/15 7:20 AM, Don Zickus wrote: Honestly I don't recall. The commit log tells you the problem I was trying to solve. Instead of parsing text strings from/proc/maps/, I believe it was wy faster to copy the thread maps. This could have been an oversight. I might have falsely assumed

[PATCH V6] Allow compaction of unevictable pages

2015-03-19 Thread Eric B Munson
Currently, pages which are marked as unevictable are protected from compaction, but not from other types of migration. The POSIX real time extension explicitly states that mlock() will prevent a major page fault, but the spirit of is is that mlock() should give a process the ability to control sou

Re: [PATCH] mac802154: fix typo in header guard

2015-03-19 Thread Alexander Aring
On Thu, Mar 19, 2015 at 02:46:26PM +0100, Paul Bolle wrote: > On Thu, 2015-03-19 at 14:37 +0100, Alexander Aring wrote: > > On Thu, Mar 19, 2015 at 09:23:40PM +0800, Nicolas Iooss wrote: > > > Signed-off-by: Nicolas Iooss > > > Fixes: b6eea9ca354a ("mac802154: introduce driver-ops header") > > >

Re: [PATCH] perf probe: Fix failure to add multiple probes without debuginfo

2015-03-19 Thread Arnaldo Carvalho de Melo
Em Thu, Mar 19, 2015 at 06:02:04PM +0800, He Kuang escreveu: > Perf tries to find probe function addresses from map when debuginfo > could not be found. > > To the first added function, the value of ref_reloc_sym was set in > maps__set_kallsyms_ref_reloc_sym() and can be obtained from > host_machi

Re: [PATCH] perf: report: don't allow empty argument for '-t'.

2015-03-19 Thread Arnaldo Carvalho de Melo
Em Thu, Mar 19, 2015 at 04:26:24PM +0900, Namhyung Kim escreveu: > On Thu, Mar 19, 2015 at 02:41:42PM +0800, Wang Nan wrote: > > Hi Namhyung Kim, > > Hello, > > > > > Do you have any comment on it? > > As I said in previous reply, I think perf 'diff' and 'mem' have same > problem. So how about

Re: [PATCH 0/3] 96boards: add thermal senor support to hikey board

2015-03-19 Thread Mark Rutland
On Thu, Mar 19, 2015 at 07:57:26AM +, kongxinwei wrote: > The Linaro connect introduce 96boards series in Hong Kong,The HiKey board > is the first board to be certified 96Boards Consumer Edition compatible. > This board is based on the HiSilicon SoC. you can get more information > from https://

  1   2   3   4   5   6   7   8   9   10   >