[PATCH] drm/omap: Remove deprecated regulator_can_change_voltage() usage

2016-04-28 Thread Peter Ujfalusi
regulator_can_change_voltage() is deprecated and it's use is not necessary as commit: 6a0028b3dd67b regulator: Deprecate regulator_can_change_voltage() describers it clearly. As there is no practical use of it it can be removed. At this point the regulator_set_voltage() calls can not be removed as

[PATCH] PM / sleep: Remove unused `info' variable

2016-04-28 Thread Thierry Reding
From: Thierry Reding Commit 32e8d689dc12 ("PM / sleep: trace_device_pm_callback coverage in dpm_prepare/complete") removed all users of this variable but forgot to remove the variable itself. Cc: Todd Brandt Signed-off-by: Thierry Reding --- drivers/base/power/main.c | 18 +-

[PATCH] usbip: vudc: fix Kconfig dependencies

2016-04-28 Thread Arnd Bergmann
With the addition of VUDC, the USBIP stack can now be used on configurations without USB host support, but trying to build it with USB gadget support disabled fails with drivers/usb/built-in.o: In function `vep_dequeue': vudc_main.c:(.text+0xa6ddc): undefined reference to `usb_gadget_giveback_req

[PATCH] Revert "drm/omap: no need to select OMAP2_DSS"

2016-04-28 Thread Peter Ujfalusi
This reverts commit 1c278e5e3718d15475ec08ee2135f37a6b13361c. If DRM_OMAP does not select OMAP2_DSS it is possible to build a kernel with DRM_OMAP only and not selecting OMAP2_DSS. Since omapdrm depends on OMAP2_DSS this will result on broken kernel build. Signed-off-by: Peter Ujfalusi --- driv

Re: [PATCH v6 2/2] memory: atmel-ebi: add DT bindings documentation

2016-04-28 Thread Boris Brezillon
On Thu, 28 Apr 2016 14:18:25 +0200 Jean-Jacques Hiblot wrote: > >> > + > >> > +- atmel,ncs-rd-setup-ns > >> > +- atmel,nrd-setup-ns > >> > +- atmel,ncs-wr-setup-ns > >> > +- atmel,nwe-setup-ns > >> > +- atmel,ncs-rd-pulse-ns > >> > +- atmel,nrd-pulse-ns > >> > +- atmel,ncs-wr-pulse-ns > >> > +- at

[PATCH] clocksource/tegra: Remove unused suspend/resume code

2016-04-28 Thread Thierry Reding
From: Thierry Reding The tegra_timer_suspend() and tegra_timer_resume() functions are never used, so they can be removed. Signed-off-by: Thierry Reding --- drivers/clocksource/tegra20_timer.c | 14 -- 1 file changed, 14 deletions(-) diff --git a/drivers/clocksource/tegra20_timer.c

[PATCH] serial: 8250: of: Make tegra_serial_handle_break() static

2016-04-28 Thread Thierry Reding
From: Thierry Reding This function is not used outside the file, so it can be static. Signed-off-by: Thierry Reding --- drivers/tty/serial/8250/8250_of.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/8250/8250_of.c b/drivers/tty/serial/8250/8250_of.c i

[PATCH] serial: tegra: Remove unused variable

2016-04-28 Thread Thierry Reding
From: Thierry Reding The local mcr variable is never used in the tegra_uart_set_mctrl() function, so it should be removed. Signed-off-by: Thierry Reding --- drivers/tty/serial/serial-tegra.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/tty/serial/serial-tegra.c b/drivers/tty/s

Re: [PATCH 2/2] cpufreq: arm_big_little: use generic OPP functions for {init,free}_opp_table

2016-04-28 Thread Sudeep Holla
On 28/04/16 12:26, Viresh Kumar wrote: On 28-04-16, 11:25, Sudeep Holla wrote: Currently when performing random hotplugs and suspend-to-ram(S2R) on systems using arm_big_little cpufreq driver, we get warnings similar to: cpu cpu1: _opp_add: duplicate OPPs detected. Existing: freq: 6,

Re: [PATCH] drm/msm: Move call to PTR_ERR_OR_ZERO after reassignment

2016-04-28 Thread Eric Engestrom
On Wed, Apr 27, 2016 at 04:51:37PM +0530, Vaishali Thakkar wrote: > Here, a location is reset to NULL before being passed to PTR_ERR. > So, PTR_ERR should be called before its argument is reassigned > to NULL. Further to simplify things use PTR_ERR_OR_ZERO instead > of PTR_ERR and IS_ERR. > > Prob

[PATCH] video: fbdev: omap2: Remove deprecated regulator_can_change_voltage() usage

2016-04-28 Thread Peter Ujfalusi
regulator_can_change_voltage() is deprecated and it's use is not necessary as commit: 6a0028b3dd67b regulator: Deprecate regulator_can_change_voltage() describers it clearly. As there is no practical use of it it can be removed. At this point the regulator_set_voltage() calls can not be removed as

Re: [BUG] x86/efi: MMRs no longer properly mapped after switch to isolated page table

2016-04-28 Thread Borislav Petkov
On Wed, Apr 27, 2016 at 08:41:28PM -0500, Alex Thorlton wrote: > In this particular instance, it's not using the EFI page table - it's > showing that the register isn't mapped into the main kernel page table, > via the bad paging request. The issue isn't that there's something > wrong with the EFI

[PATCH v2] sched/completion: convert completions to use simple wait queues

2016-04-28 Thread Daniel Wagner
From: Daniel Wagner Completions have no long lasting callbacks and therefore do not need the complex waitqueue variant. Use simple waitqueues which reduces the contention on the waitqueue lock. This was a carry forward from v3.10-rt, with some RT specific chunks, dropped, and updated to align w

[PATCH v2] mmc: sdhci-of-at91: add presets setup

2016-04-28 Thread Ludovic Desroches
The controller claims to support SDR104. In fact, it only supports a degraded SDR104 since the maximum frequency of the SD clock is 120 MHz instead of 208 MHz. The sdhci core is unaware of it and will compute a wrong clock divider. We can deal with this specific case by using presets. Signed-off-b

Re: [PATCH] clocksource/tegra: Remove unused suspend/resume code

2016-04-28 Thread Daniel Lezcano
On Thu, Apr 28, 2016 at 02:45:28PM +0200, Thierry Reding wrote: > From: Thierry Reding > > The tegra_timer_suspend() and tegra_timer_resume() functions are never > used, so they can be removed. > > Signed-off-by: Thierry Reding Applied for 4.7. Thanks ! -- Daniel

Re: [PATCH v2 1/2] ARM: bcm2835: dt: Add the ethernet to the device trees

2016-04-28 Thread Olivier Blin
Stephen Warren writes: > On 02/04/2016 12:36 AM, Lubomir Rintel wrote: >> The hub and the ethernet in its port 1 are hardwired on the board. >> >> Compared to the adapters that can be plugged into the USB ports, this >> one has no serial EEPROM to store its MAC. Nevertheless, the Raspberry Pi >>

[PATCH 2/2] perf report: Add gcc option '-rdynamic' to define symbol callchain_param

2016-04-28 Thread Kyeongmin Cho
As libperf-gtk.so cannot find out undefined symbol 'callchain_param', '-rdynamic' option is needed to add the symbol to the dynamic symbol table. Signed-off-by: Kyeongmin Cho --- tools/perf/Makefile.perf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/Makefile.perf

Re: [PATCH v6 2/2] memory: atmel-ebi: add DT bindings documentation

2016-04-28 Thread Jean-Jacques Hiblot
2016-04-28 14:46 GMT+02:00 Boris Brezillon : > On Thu, 28 Apr 2016 14:18:25 +0200 > Jean-Jacques Hiblot wrote: >> >> > + >> >> > +- atmel,ncs-rd-setup-ns >> >> > +- atmel,nrd-setup-ns >> >> > +- atmel,ncs-wr-setup-ns >> >> > +- atmel,nwe-setup-ns >> >> > +- atmel,ncs-rd-pulse-ns >> >> > +- atmel,n

[PATCH 1/2] perf report: Find lib path correctly for gtk option

2016-04-28 Thread Kyeongmin Cho
When "perf report --gtk", it cannot find libperf-gtk.so. This patch apply correct path of LIBDIR to setup_gtk_browser(). Signed-off-by: Kyeongmin Cho --- tools/perf/config/Makefile | 2 +- tools/perf/ui/Build| 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/per

[PATCH] iio: accel: Add support for Freescale MMA7660FC

2016-04-28 Thread Constantin Musca
Minimal implementation of an IIO driver for the Freescale MMA7660FC 3-axis accelerometer. Datasheet: http://www.freescale.com.cn/files/sensors/doc/data_sheet/MMA7660FC.pdf Includes: - ACPI support; - read_raw for x,y,z axes; - reading and setting the scale (range) parameter. - power management Si

Re: [PATCH v6 00/10] arm64: Add support for KVM with ACPI

2016-04-28 Thread Marc Zyngier
[+ Thomas, Jason] Do you have any objection against this going through the KVM tree? The dependencies are rather intricate, and Daniel gave us his green light already for the clocksource part. If you'd rather maintain the usual flow, please let us know and we'll deal with it. Thanks, M.

Re: [PATCH v2] hrtimers: doc cleanup

2016-04-28 Thread Jonathan Corbet
On Thu, 21 Apr 2016 21:39:15 +0800 Cao jin wrote: > It has: > a tense correction(led->leads); > a typo(unevitably->inevitably); I've applied this to the docs tree, thanks. jon

Re: [PATCH] Documentation:Update Documentation/zh_CN/arm64/booting.txt

2016-04-28 Thread Jonathan Corbet
On Thu, 21 Apr 2016 17:42:28 +0100 Will Deacon wrote: > > -C: 1926e54f115725a9248d0c4c65c22acaf94de4c4 > > +C: 55f058e7574c3615dea4615573a19bdb258696c6 > > Just curious, but what are these SHAs supposed to represent? Neither of > them looks particularly relevant to me. I'm kind of assuming it

Re: [PATCH v6 2/2] memory: atmel-ebi: add DT bindings documentation

2016-04-28 Thread Boris Brezillon
On Thu, 28 Apr 2016 14:54:39 +0200 Jean-Jacques Hiblot wrote: > 2016-04-28 14:46 GMT+02:00 Boris Brezillon > : > > On Thu, 28 Apr 2016 14:18:25 +0200 > > Jean-Jacques Hiblot wrote: > >> >> > + > >> >> > +- atmel,ncs-rd-setup-ns > >> >> > +- atmel,nrd-setup-ns > >> >> > +- atmel,ncs-wr-setup-n

Re: [PATCH RFC] select_idle_sibling experiments

2016-04-28 Thread Mike Galbraith
On Thu, 2016-04-28 at 14:00 +0200, Peter Zijlstra wrote: > On Wed, Apr 06, 2016 at 09:27:24AM +0200, Mike Galbraith wrote: > > sched: ratelimit nohz > > > > Entering nohz code on every micro-idle is too expensive to bear. > > > > Signed-off-by: Mike Galbraith > > > +int sched_needs_cpu(int cpu)

[PULL] clockevents for 4.7

2016-04-28 Thread Daniel Lezcano
Hi Thomas, Ingo, this pull request contains the following changes: - Implement the set_state_oneshot_stopped() for dw_apb timer (Jisheng Zhang) - Add a missing __init attribute for the Mediatek timer (Julia Lawall) - Remove the suspend/resume code as it is never used (Thierry Reding) -

[PATCH 5/5] clocksource/drivers/tegra: Remove unused suspend/resume code

2016-04-28 Thread Daniel Lezcano
From: Thierry Reding The tegra_timer_suspend() and tegra_timer_resume() functions are never used, so they can be removed. Signed-off-by: Thierry Reding Signed-off-by: Daniel Lezcano --- drivers/clocksource/tegra20_timer.c | 14 -- 1 file changed, 14 deletions(-) diff --git a/driv

[PATCH 2/5] clocksource/drivers/mtk_timer: Add __init attribute

2016-04-28 Thread Daniel Lezcano
From: Julia Lawall Add __init attribute on a function that is only called from other __init functions and that is not inlined, at least with gcc version 4.8.4 on an x86 machine with allyesconfig. Currently, the function is put in the .text.unlikely segment. Declaring it as __init will cause it

[PATCH 3/5] dt-bindings: document the MPS2 timer bindings

2016-04-28 Thread Daniel Lezcano
From: Vladimir Murzin This adds documentation of device tree bindings for the timers found on ARM MPS2 platform. Acked-by: Rob Herring Signed-off-by: Vladimir Murzin Signed-off-by: Daniel Lezcano --- .../devicetree/bindings/timer/arm,mps2-timer.txt | 28 ++ 1 file chang

[PATCH 4/5] clockevents/driversi/mps2: add MPS2 Timer driver

2016-04-28 Thread Daniel Lezcano
From: Vladimir Murzin MPS2 platform has simple 32 bits general purpose countdown timers. The driver uses the first detected timer as a clocksource and the rest of the timers as a clockevent Acked-by: Daniel Lezcano Signed-off-by: Vladimir Murzin Signed-off-by: Daniel Lezcano --- drivers/clo

[PATCH 1/5] clockevents/drivers/dw_apb_timer: Implement ->set_state_oneshot_stopped()

2016-04-28 Thread Daniel Lezcano
From: Jisheng Zhang The dw_apb_timer only "supports PERIODIC mode and their drivers emulate ONESHOT over that" as described in commit 8fff52fd5093 ("clockevents: Introduce CLOCK_EVT_STATE_ONESHOT_STOPPED state"). Inspired by Viresh, I think the dw_apb_timer also needs to implement the set_state_

[PATCH v2] drm/msm: Move call to PTR_ERR_OR_ZERO after reassignment

2016-04-28 Thread Vaishali Thakkar
Here, a location is reset to NULL before being passed to PTR_ERR. So, PTR_ERR should be called before its argument is reassigned to NULL. Further to simplify things use PTR_ERR_OR_ZERO instead of PTR_ERR and IS_ERR. Problem found using Coccinelle. Signed-off-by: Vaishali Thakkar Reviewed-by: Eri

Re: [PATCH 27/41] Documentation: laptops: fix spelling mistake

2016-04-28 Thread Jonathan Corbet
On Mon, 25 Apr 2016 07:36:53 +0100 Eric Engestrom wrote: > -laptops, being called "Toshiba HDD Protection - Shock Sensor" officialy, > +laptops, being called "Toshiba HDD Protection - Shock Sensor" officially, Applied to the docs tree, thanks. jon

Re: [PATCH v2] mmc: sdhci-of-at91: add presets setup

2016-04-28 Thread Adrian Hunter
On 28/04/16 15:59, Ludovic Desroches wrote: > The controller claims to support SDR104. In fact, it only supports a > degraded SDR104 since the maximum frequency of the SD clock is 120 MHz > instead of 208 MHz. > The sdhci core is unaware of it and will compute a wrong clock divider. > We can deal w

Re: [PATCH] drm/msm: Move call to PTR_ERR_OR_ZERO after reassignment

2016-04-28 Thread Vaishali Thakkar
On Thursday 28 April 2016 06:23 PM, Eric Engestrom wrote: > On Wed, Apr 27, 2016 at 04:51:37PM +0530, Vaishali Thakkar wrote: >> Here, a location is reset to NULL before being passed to PTR_ERR. >> So, PTR_ERR should be called before its argument is reassigned >> to NULL. Further to simplify thin

Re: [PATCH 29/41] Documentation: lzo: fix spelling mistakes

2016-04-28 Thread Jonathan Corbet
On Mon, 25 Apr 2016 07:36:55 +0100 Eric Engestrom wrote: > Documentation/lzo.txt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Applied to the docs tree, thanks. jon

[PATCH 20/20] jbd2: get rid of superfluous __GFP_REPEAT

2016-04-28 Thread Michal Hocko
From: Michal Hocko jbd2_alloc is explicit about its allocation preferences wrt. the allocation size. Sub page allocations go to the slab allocator and larger are using either the page allocator or vmalloc. This is all good but the logic is unnecessarily complex. 1) as per Ted, the vmalloc fallbac

Re: [PATCH 32/41] Documentation: pps: fix spelling mistake

2016-04-28 Thread Jonathan Corbet
On Mon, 25 Apr 2016 07:36:58 +0100 Eric Engestrom wrote: > Documentation/pps/pps.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied to the docs tree, thanks. jon

[PATCH 12/20] sparc: get rid of superfluous __GFP_REPEAT

2016-04-28 Thread Michal Hocko
From: Michal Hocko __GFP_REPEAT has a rather weak semantic but since it has been introduced around 2.6.12 it has been ignored for low order allocations. {pud,pmd}_alloc_one is using __GFP_REPEAT but it always allocates from pgtable_cache which is initialzed to PAGE_SIZE objects. This means that

[PATCH 19/20] md: simplify free_params for kmalloc vs vmalloc fallback

2016-04-28 Thread Michal Hocko
From: Michal Hocko Use kvfree rather than DM_PARAMS_[KV]MALLOC specific param flags. Cc: Shaohua Li Cc: Mikulas Patocka Cc: dm-de...@redhat.com Signed-off-by: Michal Hocko --- drivers/md/dm-ioctl.c | 19 --- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/drive

Re: [PATCH] iio: tmp006: Set correct iio name

2016-04-28 Thread One Thousand Gnomes
> It's clearly wrong. But the problem is there might be an application that > depends on the wrong behavior, the driver has been around for 2.5 years. So > it's difficult to fix. We might just go ahead in this case and take the > chance that nobody will complain. But if somebody complains this will

[PATCH 16/20] unicore32: get rid of superfluous __GFP_REPEAT

2016-04-28 Thread Michal Hocko
From: Michal Hocko __GFP_REPEAT has a rather weak semantic but since it has been introduced around 2.6.12 it has been ignored for low order allocations. PGALLOC_GFP uses __GFP_REPEAT but it is only used in pte_alloc_one, pte_alloc_one_kernel which does order-0 request. This means that this flag

[PATCH 07/20] mips: get rid of superfluous __GFP_REPEAT

2016-04-28 Thread Michal Hocko
From: Michal Hocko __GFP_REPEAT has a rather weak semantic but since it has been introduced around 2.6.12 it has been ignored for low order allocations. pte_alloc_one{_kernel}, pmd_alloc_one allocate PTE_ORDER resp. PMD_ORDER but both are not larger than 1. This means that this flag has never be

[PATCH 17/20] dm: get rid of superfluous gfp flags

2016-04-28 Thread Michal Hocko
From: Michal Hocko copy_params seems to be little bit confused about which allocation flags to use. It enforces GFP_NOIO even though it uses memalloc_noio_{save,restore} which enforces GFP_NOIO at the page allocator level automatically (via memalloc_noio_flags). It also uses __GFP_REPEAT for the

Re: [PATCH v2 4/5] ARM: dts: omap5: describe control for ckobuffer

2016-04-28 Thread Tero Kristo
On 28/04/16 12:12, H. Nikolaus Schaller wrote: Hi Tero, Am 28.04.2016 um 10:03 schrieb Tero Kristo : On 27/04/16 17:35, H. Nikolaus Schaller wrote: HI, Am 27.04.2016 um 16:23 schrieb Peter Ujfalusi : On 04/27/2016 05:10 PM, Tero Kristo wrote: On 27/04/16 16:10, H. Nikolaus Schaller wrote:

Re: [PATCH v2 1/5] arm: Include linux/preempt.h from asm/mmu_context.h

2016-04-28 Thread Russell King - ARM Linux
On Tue, Apr 26, 2016 at 09:39:05AM -0700, Andy Lutomirski wrote: > arm's mmu_context.h uses preempt_enable_no_resched and but doesn't > include anything that would pull in the declaration. > > If I start including from > without this, the build breaks. >From an inspection of the include paths,

Re: [PATCH 34/41] Documentation: robust-futexes: fix spelling mistakes

2016-04-28 Thread Jonathan Corbet
On Mon, 25 Apr 2016 07:37:00 +0100 Eric Engestrom wrote: > Documentation/robust-futexes.txt | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) Applied to the docs tree, thanks. jon

[PATCH 15/20] tile: get rid of superfluous __GFP_REPEAT

2016-04-28 Thread Michal Hocko
From: Michal Hocko __GFP_REPEAT has a rather weak semantic but since it has been introduced around 2.6.12 it has been ignored for low order allocations. pgtable_alloc_one uses __GFP_REPEAT flag for L2_USER_PGTABLE_ORDER but the order is either 0 or 3 if L2_KERNEL_PGTABLE_SHIFT for HPAGE_SHIFT. T

[PATCH 14/20] sh: get rid of superfluous __GFP_REPEAT

2016-04-28 Thread Michal Hocko
From: Michal Hocko __GFP_REPEAT has a rather weak semantic but since it has been introduced around 2.6.12 it has been ignored for low order allocations. PGALLOC_GFP uses __GFP_REPEAT but {pgd,pmd}_alloc allocate from {pgd,pmd}_cache but both caches are allocating up to PAGE_SIZE objects. This me

[PATCH 10/20] score: get rid of superfluous __GFP_REPEAT

2016-04-28 Thread Michal Hocko
From: Michal Hocko __GFP_REPEAT has a rather weak semantic but since it has been introduced around 2.6.12 it has been ignored for low order allocations. pte_alloc_one{_kernel} allocate PTE_ORDER which is 0. This means that this flag has never been actually useful here because it has always been

[PATCH 11/20] powerpc: get rid of superfluous __GFP_REPEAT

2016-04-28 Thread Michal Hocko
From: Michal Hocko __GFP_REPEAT has a rather weak semantic but since it has been introduced around 2.6.12 it has been ignored for low order allocations. {pud,pmd}_alloc_one are allocating from {PGT,PUD}_CACHE initialized in pgtable_cache_init which doesn't have larger than sizeof(void *) << 12 s

[PATCH 01/20] tree wide: get rid of __GFP_REPEAT for order-0 allocations part I

2016-04-28 Thread Michal Hocko
From: Michal Hocko __GFP_REPEAT has a rather weak semantic but since it has been introduced around 2.6.12 it has been ignored for low order allocations. Yet we have the full kernel tree with its usage for apparently order-0 allocations. This is really confusing because __GFP_REPEAT is explicitly

[PATCH 09/20] parisc: get rid of superfluous __GFP_REPEAT

2016-04-28 Thread Michal Hocko
From: Michal Hocko __GFP_REPEAT has a rather weak semantic but since it has been introduced around 2.6.12 it has been ignored for low order allocations. pmd_alloc_one allocate PMD_ORDER which is 1. This means that this flag has never been actually useful here because it has always been used only

[RESEND PATCH v3 2/2] ARM: multi_v7_defconfig: Enable Samsung media platform drivers as modules

2016-04-28 Thread Javier Martinez Canillas
There are a bunch of media platform drivers under drivers/media/platform/ for Samsung SoCs that are enabled in exynos_defconfig but no in multi_v7. This patch enables them as a module to improve build coverage for these drivers and also to allow people use them with proper hardware if modules are

[PATCH 08/20] nios2: get rid of superfluous __GFP_REPEAT

2016-04-28 Thread Michal Hocko
From: Michal Hocko __GFP_REPEAT has a rather weak semantic but since it has been introduced around 2.6.12 it has been ignored for low order allocations. pte_alloc_one{_kernel} allocate PTE_ORDER which is 0. This means that this flag has never been actually useful here because it has always been

Re: [RESEND PATCH v3] locking/pvqspinlock: Add lock holder CPU argument to pv_wait()

2016-04-28 Thread Boqun Feng
Hi Waiman, On Thu, Apr 21, 2016 at 11:02:05AM -0400, Waiman Long wrote: > Pan Xinhui was asking for a lock holder cpu argument in pv_wait() > to help the porting of pvqspinlock to PPC. The new argument will can > help hypervisor expediate the execution of the critical section by > the lock holder,

Re: [PATCH] iio: tmp006: Set correct iio name

2016-04-28 Thread Peter Meerwald-Stadler
> > It's clearly wrong. But the problem is there might be an application that > > depends on the wrong behavior, the driver has been around for 2.5 years. So > > it's difficult to fix. We might just go ahead in this case and take the > > chance that nobody will complain. But if somebody complains

Re: [tip:sched/urgent] nohz/full, sched/rt: Fix missed tick-reenabling bug in sched_can_stop_tick()

2016-04-28 Thread Frederic Weisbecker
On Thu, Apr 28, 2016 at 03:24:43AM -0700, tip-bot for Peter Zijlstra wrote: > Commit-ID: 2548d546d40c0014efdde88a53bf7896e917dcce > Gitweb: http://git.kernel.org/tip/2548d546d40c0014efdde88a53bf7896e917dcce > Author: Peter Zijlstra > AuthorDate: Thu, 21 Apr 2016 18:03:15 +0200 > Committer

Re: [PATCH] i2c: st: Implement i2c_bus_recovery_info callbacks

2016-04-28 Thread Maxime Coquelin
Hi Wolfram, On 04/24/2016 11:10 PM, Wolfram Sang wrote: +/* + * i2c bus recovery routines + * get_scl and set_scl must be defined to avoid the recover_bus field of + * i2c_bus_recovery_info to be overriden with NULL during the + * i2c_add_adapter call + */ Oh, that shouldn't be like this. Can y

Re: [PATCH 35/41] Documentation: scsi: fix spelling mistakes

2016-04-28 Thread Jonathan Corbet
On Mon, 25 Apr 2016 07:37:01 +0100 Eric Engestrom wrote: > Documentation/scsi/ChangeLog.megaraid_sas | 16 > 1 file changed, 8 insertions(+), 8 deletions(-) Applied to the docs tree (after fixing trailing whitespace errors - the new and the old ones). jon

[PATCH 02/20] x86: get rid of superfluous __GFP_REPEAT

2016-04-28 Thread Michal Hocko
From: Michal Hocko __GFP_REPEAT has a rather weak semantic but since it has been introduced around 2.6.12 it has been ignored for low order allocations. PGALLOC_GFP uses __GFP_REPEAT but none of the allocation which uses this flag is for more than order-0. This means that this flag has never bee

[RESEND PATCH v3 1/2] ARM: exynos_defconfig: Enable Samsung media platform drivers as modules

2016-04-28 Thread Javier Martinez Canillas
There are a bunch of media platform drivers under drivers/media/platform/ that are for Samsung SoCs but are not being built with exynos_defconfig. This patch enables them as a module to improve build coverage for these drivers and also to allow people use them with proper hardware if modules are i

[PATCH v2] phy: core: Allow children node to be overridden

2016-04-28 Thread Thierry Reding
From: Thierry Reding In order to more flexibly support device tree bindings, allow drivers to override the container of the child nodes. By default the device node of the PHY provider is assumed to be the parent for children, but bindings may decide to add additional levels for better organizatio

[PATCH 0/19] get rid of superfluous __GFP_REPEAT

2016-04-28 Thread Michal Hocko
Hi, this is the thrid version of the patchset previously sent [1]. I have basically only rebased it on top of next-20160428 tree and dropped "crypto: get rid of superfluous __GFP_REPEAT" which went through crypto tree. I have added two more md patches as I couldn't resist mor

[PATCH 06/20] arc: get rid of superfluous __GFP_REPEAT

2016-04-28 Thread Michal Hocko
From: Michal Hocko __GFP_REPEAT has a rather weak semantic but since it has been introduced around 2.6.12 it has been ignored for low order allocations. pte_alloc_one_kernel uses __get_order_pte but this is obviously always zero because BITS_FOR_PTE is not larger than 9 yet the page size is alwa

Re: [PATCH 39/41] Documentation: vm: fix spelling mistakes

2016-04-28 Thread Jonathan Corbet
On Mon, 25 Apr 2016 07:37:05 +0100 Eric Engestrom wrote: > Documentation/vm/transhuge.txt | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) Applied to the docs tree, thanks. jon

[PATCH 05/20] arm64: get rid of superfluous __GFP_REPEAT

2016-04-28 Thread Michal Hocko
From: Michal Hocko __GFP_REPEAT has a rather weak semantic but since it has been introduced around 2.6.12 it has been ignored for low order allocations. {pte,pmd,pud}_alloc_one{_kernel}, late_pgtable_alloc use PGALLOC_GFP for __get_free_page (aka order-0). pgd_alloc is slightly more complex bec

[PATCH 18/20] dm: clean up GFP_NIO usage

2016-04-28 Thread Michal Hocko
From: Michal Hocko copy_params uses GFP_NOIO for explicit allocation requests because this might be called from the suspend path. To quote Mikulas: : The LVM tool calls suspend and resume ioctls on device mapper block : devices. : : When a device is suspended, any bio sent to the device is held.

[PATCH 13/20] s390: get rid of superfluous __GFP_REPEAT

2016-04-28 Thread Michal Hocko
From: Michal Hocko __GFP_REPEAT has a rather weak semantic but since it has been introduced around 2.6.12 it has been ignored for low order allocations. page_table_alloc then uses the flag for a single page allocation. This means that this flag has never been actually useful here because it has

Re: [PATCH 32/41] Documentation: pps: fix spelling mistake

2016-04-28 Thread Jonathan Corbet
On Mon, 25 Apr 2016 07:36:58 +0100 Eric Engestrom wrote: > Documentation/pps/pps.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied to the docs tree, thanks. jon

Re: [PATCH 41/41] Documentation: xillybus: fix spelling mistake

2016-04-28 Thread Jonathan Corbet
On Mon, 25 Apr 2016 07:37:07 +0100 Eric Engestrom wrote: > Documentation/xillybus.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied to the docs tree, thanks. jon

[PATCH 03/20] x86/efi: get rid of superfluous __GFP_REPEAT

2016-04-28 Thread Michal Hocko
From: Michal Hocko __GFP_REPEAT has a rather weak semantic but since it has been introduced around 2.6.12 it has been ignored for low order allocations. efi_alloc_page_tables uses __GFP_REPEAT but it allocates an order-0 page. This means that this flag has never been actually useful here because

Re: [PATCH 40/41] Documentation: x86: fix spelling mistakes

2016-04-28 Thread Jonathan Corbet
On Mon, 25 Apr 2016 07:37:06 +0100 Eric Engestrom wrote: > Documentation/x86/intel_mpx.txt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Applied to the docs tree, thanks. jon

[PATCH 04/20] arm: get rid of superfluous __GFP_REPEAT

2016-04-28 Thread Michal Hocko
From: Michal Hocko __GFP_REPEAT has a rather weak semantic but since it has been introduced around 2.6.12 it has been ignored for low order allocations. PGALLOC_GFP uses __GFP_REPEAT but none of the allocation which uses this flag is for more than order-2. This means that this flag has never bee

Re: [PATCH V11 4/6] pinctrl: max77620: add pincontrol driver for MAX77620/MAX20024

2016-04-28 Thread Laxman Dewangan
Hi Lee, On Thursday 28 April 2016 03:28 PM, Laxman Dewangan wrote: MAXIM Semiconductor's PMIC, MAX77620/MAX20024 has 8 GPIO pins which also act as the special function in alternate mode. Also there is configuration like push-pull, open drain, FPS timing etc for these pins. Add pin control drive

Re: [PATCH v6 2/2] memory: atmel-ebi: add DT bindings documentation

2016-04-28 Thread Jean-Jacques Hiblot
2016-04-28 10:49 GMT+02:00 Boris Brezillon : > Hi Jean-Jacques, > > On Thu, 28 Apr 2016 10:32:49 +0200 > Jean-Jacques Hiblot wrote: > >> Hi Boris, >> >> i haven't seen this code in a while :) I'm glad you're working on it >> >> 2016-04-27 16:35 GMT+02:00 Boris Brezillon >> : >> > The EBI (Externa

Re: [PATCH 1/3] lightnvm: do not free unused metadata on rrpc

2016-04-28 Thread Matias Bjørling
On 04/27/2016 07:28 PM, Javier González wrote: rrpc does not save any metadata on a given request. Thus, do not attempt to free the metadata dma region. Signed-off-by: Javier González --- drivers/lightnvm/rrpc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/lightnvm/rrpc.c b/d

Re: [PATCH v2] ARM: reboot: remove duplicated local_irq_disable()

2016-04-28 Thread Russell King - ARM Linux
On Wed, Apr 27, 2016 at 05:22:11PM +0800, Jisheng Zhang wrote: > Dear Russell, > > On Wed, 30 Mar 2016 14:45:08 +0800 Jisheng Zhang wrote: > > > Once entering machine_halt() and machine_restart(), local_irq_disable() > > is called, and local irq is kept disabled, so the local_irq_disable() > > at

Re: [PATCH 3.2 085/115] veth: don’t modify ip_summed; doing so treats packets with bad checksums as good.

2016-04-28 Thread Ben Greear
On 04/28/2016 03:29 AM, Sabrina Dubroca wrote: Hello, 2016-04-27, 17:14:44 -0700, Ben Greear wrote: On 04/27/2016 05:00 PM, Hannes Frederic Sowa wrote: Hi Ben, On Wed, Apr 27, 2016, at 20:07, Ben Hutchings wrote: On Wed, 2016-04-27 at 08:59 -0700, Ben Greear wrote: On 04/26/2016 04:02 PM,

Re: [PATCH 00/12] De-stage Sync File Framework

2016-04-28 Thread Gustavo Padovan
2016-04-27 Daniel Vetter : > On Wed, Apr 27, 2016 at 01:27:07PM -0300, Gustavo Padovan wrote: > > From: Gustavo Padovan > > > > Hi, > > > > This patchset sits on top of Sync ABI Rework v13: > > > > https://www.spinics.net/lists/dri-devel/msg105667.html > > > > The first eight clean up and pre

Re: [PATCH 39/41] Documentation: vm: fix spelling mistakes

2016-04-28 Thread Jonathan Corbet
On Thu, 28 Apr 2016 07:31:43 -0600 Jonathan Corbet wrote: > On Mon, 25 Apr 2016 07:37:05 +0100 > Eric Engestrom wrote: > > > Documentation/vm/transhuge.txt | 6 +++--- > > 1 file changed, 3 insertions(+), 3 deletions(-) > > Applied to the docs tree, thanks. Actually, I've just unapplied th

[PATCH v2 02/13] staging/android: drop sync_file_install() and sync_file_put()

2016-04-28 Thread Gustavo Padovan
From: Gustavo Padovan These two functions are just wrappers for one line functions, they call fd_install() and fput() respectively, so just get rid of them and use fd_install() and fput() directly for more simplicity. Signed-off-by: Gustavo Padovan Reviewed-by: Daniel Vetter --- drivers/stagi

[PATCH v2 04/13] staging/android: make sync_file_merge() static

2016-04-28 Thread Gustavo Padovan
From: Gustavo Padovan There is no plan in the near future to use this function outside of this file so keep it as static. Signed-off-by: Gustavo Padovan Reviewed-by: Daniel Vetter --- drivers/staging/android/sync.c | 5 ++--- drivers/staging/android/sync.h | 2 -- 2 files changed, 2 insertion

[PATCH v2 06/13] staging/android: remove name arg from sync_file_create()

2016-04-28 Thread Gustavo Padovan
From: Gustavo Padovan Simplifies the API to only receive the fence it needs to add to the sync and create a name for the sync_file based on the fence context and seqno. Signed-off-by: Gustavo Padovan Reviewed-by: Daniel Vetter --- drivers/staging/android/sync.c | 16 +--- dr

[PATCH v2 00/13] De-stage Sync File Framework

2016-04-28 Thread Gustavo Padovan
From: Gustavo Padovan Hi, This patchset sits on top of Sync ABI Rework v13: https://www.spinics.net/lists/dri-devel/msg105667.html The first eight clean up and prepare sync_file for de-staging. The last four patches do the de-staging, moving files to drivers/dma-buf/ and include/linux/ plus ad

Re: [PATCH 2/2] ARC: [axs10x] Specify reserved memory for frame buffer

2016-04-28 Thread Alexey Brodkin
Hi Vineet, On Thu, 2016-04-28 at 09:56 +0530, Vineet Gupta wrote: [snip] > > > > diff --git a/arch/arc/boot/dts/axc001.dtsi b/arch/arc/boot/dts/axc001.dtsi > > index 420dcfd..ae6162d 100644 > > --- a/arch/arc/boot/dts/axc001.dtsi > > +++ b/arch/arc/boot/dts/axc001.dtsi > > @@ -95,6 +95,24 @@ >

[PATCH v2 01/13] staging/android: remove redundant comments on sync_merge_data

2016-04-28 Thread Gustavo Padovan
From: Gustavo Padovan struct sync_merge_data already have documentation on top of the struct definition. No need to duplicate it. Signed-off-by: Gustavo Padovan Reviewed-by: Maarten Lankhorst Reviewed-by: Daniel Vetter --- drivers/staging/android/uapi/sync.h | 10 +- 1 file changed,

[PATCH v2 07/13] staging/android: prepare sync_file for de-staging

2016-04-28 Thread Gustavo Padovan
From: Gustavo Padovan Move its functions and structs to their own file. Also moves function's docs to the .c file. Signed-off-by: Gustavo Padovan Reviewed-by: Daniel Vetter --- drivers/staging/android/Makefile | 2 +- drivers/staging/android/sync.c | 37

Re: [GIT PULL] at91: dt for 4.7 #2

2016-04-28 Thread Arnd Bergmann
On Wednesday 27 April 2016 17:41:57 Nicolas Ferre wrote: > Second batch of DT changes for 4.7: > - three low priority fixes: > - sama5d2: one pin definition and dependency with the slow clock for > watchdog > - sama5d4: definition of watchdog IRQ property > - addition of the new shutdown contr

[PATCH v2 11/13] dma-buf/sync_file: de-stage sync_file

2016-04-28 Thread Gustavo Padovan
From: Gustavo Padovan sync_file is useful to connect one or more fences to the file. The file is used by userspace to track fences between drivers that share DMA bufs. Signed-off-by: Gustavo Padovan Reviewed-by: Daniel Vetter --- drivers/Kconfig | 2 ++ drive

[PATCH v2 12/13] Documentation: include sync_file into DocBook

2016-04-28 Thread Gustavo Padovan
From: Gustavo Padovan Add entry in device-drivers.tmpl for sync_file documentation. Signed-off-by: Gustavo Padovan Reviewed-by: Daniel Vetter --- Documentation/DocBook/device-drivers.tmpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/DocBook/device-drivers.tmpl b/Docume

[PATCH v2 10/13] dma-buf/sync_file: de-stage sync_file headers

2016-04-28 Thread Gustavo Padovan
From: Gustavo Padovan Move sync_file headers file to include/ dir. Signed-off-by: Gustavo Padovan Reviewed-by: Daniel Vetter --- drivers/staging/android/sync.h | 4 ++-- drivers/staging/android/sync_debug.c | 2 +- drivers/staging/

[PATCH v2 13/13] Documentation: add Sync File doc

2016-04-28 Thread Gustavo Padovan
From: Gustavo Padovan Add sync_file documentation on dma-buf-sync_file.txt Reviewed-by: Daniel Vetter --- Documentation/sync_file.txt | 69 + 1 file changed, 69 insertions(+) create mode 100644 Documentation/sync_file.txt diff --git a/Documentation/

[PATCH v2 09/13] staging/android: style fix: alignment to match the open parenthesis

2016-04-28 Thread Gustavo Padovan
From: Gustavo Padovan Fix checks reported by checkpatch.pl. Signed-off-by: Gustavo Padovan Reviewed-by: Daniel Vetter --- drivers/staging/android/sync_file.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/android/sync_file.c b/drivers/staging/andr

[PATCH v2 05/13] staging/android: make sync_file_fdget() static

2016-04-28 Thread Gustavo Padovan
From: Gustavo Padovan There is no plan in the near future to use this function outside of this file so keep it as static. Signed-off-by: Gustavo Padovan Reviewed-by: Daniel Vetter --- drivers/staging/android/sync.c | 3 +-- drivers/staging/android/sync.h | 1 - 2 files changed, 1 insertion(+)

[PATCH v2 08/13] staging/android: improve documentation for sync_file

2016-04-28 Thread Gustavo Padovan
From: Gustavo Padovan num_fences was missing a colon mark and sync_file_create() now have better description. Signed-off-by: Gustavo Padovan Reviewed-by: Daniel Vetter --- drivers/staging/android/sync_file.c | 5 +++-- drivers/staging/android/sync_file.h | 2 +- 2 files changed, 4 insertions(

Re: [PATCH 2/3] lightnvm: enable metadata to be sent to device

2016-04-28 Thread Matias Bjørling
On 04/27/2016 07:28 PM, Javier González wrote: Enable metadata to be sent to the device through the metadata field on the physical rw nvme command. When a single ppa is sent to the device, a 64-bit integer can be sent as metadata; when a ppa list is sent, a 64-bit integer list mapping to the ppa

[PATCH v2 03/13] staging/android: move sync_file functions comments to sync.c

2016-04-28 Thread Gustavo Padovan
From: Gustavo Padovan To keep comments in line with drivers/dma-buf/ move all sync_file comments to sync.c. Signed-off-by: Gustavo Padovan Reviewed-by: Daniel Vetter --- drivers/staging/android/sync.c | 26 +- drivers/staging/android/sync.h | 31 ---

[PATCH] clk: bcm/kona: Do not use sizeof on pointer type

2016-04-28 Thread Vaishali Thakkar
When sizeof is applied to a pointer typed expression, it gives the size of the pointer. So, here do not use sizeof on pointer type. Also, silent checkpatch.pl by using kmalloc_array over kmalloc. Note that this has no effect on runtime because 'parent_names' is a pointer to a pointer. Problem fou

Re: [PATCH v2] Documentation: fix common spelling mistakes

2016-04-28 Thread Jonathan Corbet
On Tue, 26 Apr 2016 16:41:21 -0700 Kees Cook wrote: > This fixes several spelling mistakes in the Documentation/ tree, which > are caught by checkpatch.pl's spell checking. I've applied this to the docs tree, thanks. jon

  1   2   3   4   5   6   7   8   9   10   >