[PATCH v4 5/7] xen-pciback: use const and unsigned in bar_init()

2016-07-05 Thread Jan Beulich
Signed-off-by: Jan Beulich --- drivers/xen/xen-pciback/conf_space_header.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- 4.7-rc6-xen-pciback.orig/drivers/xen/xen-pciback/conf_space_header.c +++ 4.7-rc6-xen-pciback/drivers/xen/xen-pciback/conf_space_header.c @@ -211,8 +211,8 @@

[PATCH v4 4/7] xen-pciback: simplify determination of 64-bit memory resource

2016-07-05 Thread Jan Beulich
Other than for raw BAR values, flags are properly separated in the internal representation. Signed-off-by: Jan Beulich --- drivers/xen/xen-pciback/conf_space_header.c |5 + 1 file changed, 1 insertion(+), 4 deletions(-) --- 4.7-rc6-xen-pciback.orig/drivers/xen/xen-pciback/conf_space_he

[PATCH v4 3/7] xen-pciback: fold read_dev_bar() into its now single caller

2016-07-05 Thread Jan Beulich
Signed-off-by: Jan Beulich --- drivers/xen/xen-pciback/conf_space_header.c | 33 +++- 1 file changed, 13 insertions(+), 20 deletions(-) --- 4.7-rc6-xen-pciback.orig/drivers/xen/xen-pciback/conf_space_header.c +++ 4.7-rc6-xen-pciback/drivers/xen/xen-pciback/conf_space_he

[PATCH v4 2/7] xen-pciback: drop rom_init()

2016-07-05 Thread Jan Beulich
It is now identical to bar_init(). Signed-off-by: Jan Beulich --- drivers/xen/xen-pciback/conf_space_header.c | 14 +- 1 file changed, 1 insertion(+), 13 deletions(-) --- 4.7-rc6-xen-pciback.orig/drivers/xen/xen-pciback/conf_space_header.c +++ 4.7-rc6-xen-pciback/drivers/xen/xen-p

[PATCH v4 1/7] xen-pciback: drop unused function parameter of read_dev_bar()

2016-07-05 Thread Jan Beulich
Signed-off-by: Jan Beulich --- drivers/xen/xen-pciback/conf_space_header.c |7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) --- 4.7-rc6-xen-pciback.orig/drivers/xen/xen-pciback/conf_space_header.c +++ 4.7-rc6-xen-pciback/drivers/xen/xen-pciback/conf_space_header.c @@ -210,8 +210,7

Re: [PATCH 0/2 v3] Add pl031 RTC support for Hi6220

2016-07-05 Thread John Stultz
On Tue, Jul 5, 2016 at 10:22 PM, Olof Johansson wrote: > On Wed, Jun 29, 2016 at 05:48:43PM -0700, John Stultz wrote: >> This patchset enables the pl031 RTC on the Hi6220 SoC. >> >> I'd like to submit it to be merged. >> >> Wei has acked the second patch (modulo a whitespace fix which >> I've incl

Re: [PATCH 2/2] i2c-dev: Don't block the adapter from unregistering

2016-07-05 Thread Wolfram Sang
On Tue, Jul 05, 2016 at 07:57:07PM -0700, Viresh Kumar wrote: > The i2c-dev calls i2c_get_adapter() from the .open() callback, which > doesn't let the adapter device unregister unless the .close() callback > is called. > > On some platforms (like Google ARA), this doesn't let the modules > (hardwa

Re: [PATCH v2 0/4] implement vcpu preempted check

2016-07-05 Thread Peter Zijlstra
On Tue, Jun 28, 2016 at 10:43:07AM -0400, Pan Xinhui wrote: > change fomr v1: > a simplier definition of default vcpu_is_preempted > skip mahcine type check on ppc, and add config. remove dedicated macro. > add one patch to drop overload of rwsem_spin_on_owner and > mutex_spin_on

[PATCH] samples/seccomp: Add standalone config option

2016-07-05 Thread Olof Johansson
Add a separate Kconfig option for SAMPLES_SECCOMP. Main reason for this is that, just like other samples, it's forced to be a module. Without this, since the sample is a target only controlled by CONFIG_SECCOMP_FILTER, the samples will be built before include files are put in place properly. For

Re: [patch for-4.7] mm, compaction: prevent VM_BUG_ON when terminating freeing scanner

2016-07-05 Thread Minchan Kim
On Wed, Jun 29, 2016 at 02:47:20PM -0700, David Rientjes wrote: > It's possible to isolate some freepages in a pageblock and then fail > split_free_page() due to the low watermark check. In this case, we hit > VM_BUG_ON() because the freeing scanner terminated early without a > contended lock o

Re: [PATCH 1/2] soc: samsung: Change type of PMU configuration register value to u32

2016-07-05 Thread Krzysztof Kozlowski
On Tue, Jul 5, 2016 at 10:28 PM, Abhilash Kesavan wrote: > Exynos7 has certain PMU registers that needs to be configured with > u32 values. > > Signed-off-by: Abhilash Kesavan > --- > drivers/soc/samsung/exynos-pmu.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/driver

[PATCH v4 0/7] xen-pciback: misc cleanup

2016-07-05 Thread Jan Beulich
The first five patches are the result of the requested split of "xen-pciback: clean up {bar,rom}_init()", with Boris'es R-b dropped despite there not being any functional change (the mechanical change appears too significant to retain it). The remaining two are a follow-up to the recent "xen/pcibac

[PATCH 0/3] arm: dts: berlin: enable all dw_wdt nodes unconditionally

2016-07-05 Thread Jisheng Zhang
When we add watchdog dt nodes into berlin dtsi, the dw_wdt driver can't support multiple variants, so we have to keep one enabled and others disabled. After commit f29a72c24ad4 ("watchdog: dw_wdt: Convert to use watchdog infrastructure"), the dw_wdt driver can support multiple variants, so we can u

[PATCH 1/3] arm: dts: berlin2: enable all wdt nodes unconditionally

2016-07-05 Thread Jisheng Zhang
After commit f29a72c24ad4 ("watchdog: dw_wdt: Convert to use watchdog infrastructure"), the dw_wdt driver can support multiple variants, so unconditionally enable all dw_wdt nodes now. Signed-off-by: Jisheng Zhang --- arch/arm/boot/dts/berlin2.dtsi | 2 -- 1 file changed, 2 deletions(-) diff --

Re: [PATCH v2 2/4] powerpc/spinlock: support vcpu preempted check

2016-07-05 Thread Wanpeng Li
Cc Paolo, kvm ml 2016-07-06 12:58 GMT+08:00 xinhui : > Hi, wanpeng > > On 2016年07月05日 17:57, Wanpeng Li wrote: >> >> Hi Xinhui, >> 2016-06-28 22:43 GMT+08:00 Pan Xinhui : >>> >>> This is to fix some lock holder preemption issues. Some other locks >>> implementation do a spin loop before acquiring t

[PATCH 2/3] arm: dts: berlin2q: enable all wdt nodes unconditionally

2016-07-05 Thread Jisheng Zhang
After commit f29a72c24ad4 ("watchdog: dw_wdt: Convert to use watchdog infrastructure"), the dw_wdt driver can support multiple variants, so unconditionally enable all dw_wdt nodes now. Signed-off-by: Jisheng Zhang --- arch/arm/boot/dts/berlin2q.dtsi | 2 -- 1 file changed, 2 deletions(-) diff -

[PATCH 3/3] arm64: dts: berlin4ct: enable all wdt nodes unconditionally

2016-07-05 Thread Jisheng Zhang
After commit f29a72c24ad4 ("watchdog: dw_wdt: Convert to use watchdog infrastructure"), the dw_wdt driver can support multiple variants, so unconditionally enable all dw_wdt nodes now. Signed-off-by: Jisheng Zhang --- arch/arm64/boot/dts/marvell/berlin4ct.dtsi | 2 -- 1 file changed, 2 deletions

[PATCH v2 1/2] irqchip/qeic: merge qeic init code from platforms to a common function

2016-07-05 Thread Zhao Qiang
The codes of qe_ic init from a variety of platforms are redundant, merge them to a common function and put it to irqchip/qe_ic.c For non-p1021_mds mpc85xx_mds boards, use "qe_ic_init(np, 0, qe_ic_cascade_low_mpic, qe_ic_cascade_high_mpic);" instead of "qe_ic_init(np, 0, qe_ic_cascade_muxed_mpic, N

Re: [PATCH 2/2] s390/mm: use ipte range to invalidate multiple page table entries

2016-07-05 Thread Hillf Danton
> > > > > > +void ptep_invalidate_range(struct mm_struct *mm, unsigned long start, > > > +unsigned long end, pte_t *ptep) > > > +{ > > > + unsigned long nr; > > > + > > > + if (!MACHINE_HAS_IPTE_RANGE || mm_has_pgste(mm)) > > > + return; > > > + preempt_disable(); > > >

Re: [PATCH v5 0/8] ACPI overlays

2016-07-05 Thread Octavian Purdila
On Wed, Jul 6, 2016 at 3:34 AM, Rafael J. Wysocki wrote: > On Friday, July 01, 2016 11:19:04 PM Octavian Purdila wrote: >> This patch set enables custom ACPI board configuration by adding >> mechanisms in the Linux kernel for loading user defined SSDTs. >> >> In order to support ACPI open-ended ha

[PATCH 05/15 RESEND] staging: dgnc: removes redundant null check and change

2016-07-05 Thread Daeseok Youn
The dgnc_set_modem_info() used only channel_t variable. Any other variables were used only for checking NULL. So fist parameter changed from "tty_struct" to "channel_t" and useless NULL checks and variables are removed. Signed-off-by: Daeseok Youn --- RESEND: This patch was not merged for a long

[PATCH v3 6/8] mm/zsmalloc: add __init,__exit attribute

2016-07-05 Thread Ganesh Mahendran
Add __init,__exit attribute for function that only called in module init/exit to save memory. Signed-off-by: Ganesh Mahendran v3: revert change in v2 - Sergey v2: add __init/__exit for zs_register_cpu_notifier/zs_unregister_cpu_notifier --- mm/zsmalloc.c | 6 +++--- 1 file changed,

[PATCH v3 8/8] mm/zsmalloc: add per-class compact trace event

2016-07-05 Thread Ganesh Mahendran
add per-class compact trace event to get scanned objects and freed pages number. trace log is like below: kswapd0-629 [001] 293.161053: zs_compact_start: pool zram0 kswapd0-629 [001] 293.161056: zs_compact: class 254: 0 objects scanned, 0 pages freed

[PATCH v3 7/8] mm/zsmalloc: use helper to clear page->flags bit

2016-07-05 Thread Ganesh Mahendran
user ClearPagePrivate/ClearPagePrivate2 helper to clear PG_private/PG_private_2 in page->flags Signed-off-by: Ganesh Mahendran Acked-by: Minchan Kim Reviewed-by: Sergey Senozhatsky v3: none v2: none --- mm/zsmalloc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/

[PATCH v3 4/8] mm/zsmalloc: avoid calculate max objects of zspage twice

2016-07-05 Thread Ganesh Mahendran
Currently, if a class can not be merged, the max objects of zspage in that class may be calculated twice. This patch calculate max objects of zspage at the begin, and pass the value to can_merge() to decide whether the class can be merged. Also this patch remove function get_maxobj_per_zspage(),

[PATCH v3 5/8] mm/zsmalloc: keep comments consistent with code

2016-07-05 Thread Ganesh Mahendran
some minor change of comments: 1). update zs_malloc(),zs_create_pool() function header 2). update "Usage of struct page fields" Signed-off-by: Ganesh Mahendran Reviewed-by: Sergey Senozhatsky Acked-by: Minchan Kim v3: none v2: change *object index* to *object offset* - Minchan ---

[PATCH v3 3/8] mm/zsmalloc: use class->objs_per_zspage to get num of max objects

2016-07-05 Thread Ganesh Mahendran
num of max objects in zspage is stored in each size_class now. So there is no need to re-calculate it. Signed-off-by: Ganesh Mahendran Acked-by: Minchan Kim Reviewed-by: Sergey Senozhatsky --- mm/zsmalloc.c | 18 +++--- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a

[PATCH v3 2/8] mm/zsmalloc: take obj index back from find_alloced_obj

2016-07-05 Thread Ganesh Mahendran
the obj index value should be updated after return from find_alloced_obj() to avoid CPU burning caused by unnecessary object scanning. Signed-off-by: Ganesh Mahendran Reviewed-by: Sergey Senozhatsky Acked-by: Minchan Kim v3: none v2: - update commit description --- mm/zsmalloc.c | 8 +

[PATCH v3 1/8] mm/zsmalloc: use obj_index to keep consistent with others

2016-07-05 Thread Ganesh Mahendran
This is a cleanup patch. Change "index" to "obj_index" to keep consistent with others in zsmalloc. Signed-off-by: Ganesh Mahendran Reviewed-by: Sergey Senozhatsky Acked-by: Minchan Kim v3: none v2: none --- mm/zsmalloc.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-)

Re: [PATCH 2/2] s390/mm: use ipte range to invalidate multiple page table entries

2016-07-05 Thread Martin Schwidefsky
On Wed, 06 Jul 2016 12:03:28 +0800 "Hillf Danton" wrote: > > > > +void ptep_invalidate_range(struct mm_struct *mm, unsigned long start, > > + unsigned long end, pte_t *ptep) > > +{ > > + unsigned long nr; > > + > > + if (!MACHINE_HAS_IPTE_RANGE || mm_has_pgste(mm)) > > +

Re: [PATCH] arm64: dts: Fix rtc by providing rtc_src clock

2016-07-05 Thread Krzysztof Kozlowski
On 07/05/2016 12:05 PM, Alim Akhtar wrote: > Add rtc source clock as exynos7 needs source (32.768KHz) clock > for rtc block. Without this currently rtc driver probe is broken > on this SoC, thats because rtc-s3c driver expect rtc_src clock to > be provided for _s3c6410-rtc_ type rtc controllers. >

Re: [PATCH v2 7/8] mm/zsmalloc: add __init,__exit attribute

2016-07-05 Thread Ganesh Mahendran
2016-07-06 10:48 GMT+08:00 Minchan Kim : > On Tue, Jul 05, 2016 at 10:00:28AM +0900, Sergey Senozhatsky wrote: >> Hello Ganesh, >> >> On (07/04/16 17:21), Ganesh Mahendran wrote: >> > > On (07/04/16 14:49), Ganesh Mahendran wrote: >> > > [..] >> > >> -static void zs_unregister_cpu_notifier(void) >>

[PATCH v4 2/2] ARM: cpuidle: make arm_cpuidle_suspend() a bit more efficient

2016-07-05 Thread Jisheng Zhang
Currently, we check cpuidle_ops.suspend every time when entering a low-power idle state. But this check could be avoided in this hot path by moving it into arm_cpuidle_read_ops() to reduce arm_cpuidle_suspend overhead a bit. Signed-off-by: Jisheng Zhang --- arch/arm/kernel/cpuidle.c | 17 ++-

linux-next: Tree for Jul 6

2016-07-05 Thread Stephen Rothwell
Hi all, Changes since 20160705: The powerpc tree lost its build failure. The net-next tree gained a conflict against the net tree. The drm-intel tree lost its build failure. Non-merge commits (relative to Linus' tree): 7022 6611 files changed, 334702 insertions(+), 138973 dele

[PATCH 14/15 RESEND] staging: dgnc: remove useless variable 'ch_intr_tx'

2016-07-05 Thread Daeseok Youn
The 'ch_intr_tx' variable was used only for increasing. So the 'ch_intr_tx' variable is not useful for this driver. Signed-off-by: Daeseok Youn --- RESEND: This patch was not merged for a long time, if there is any reason why this patch could NOT be merged into staging tree, let me know. There we

[PATCH 15/15 RESEND] staging: dgnc: remove useless variable 'ch_intr_rx'

2016-07-05 Thread Daeseok Youn
The 'ch_intr_rx' variable was used only for increasing. So the 'ch_intr_rx' variable is not useful for this driver. Signed-off-by: Daeseok Youn --- RESEND: This patch was not merged for a long time, if there is any reason why this patch could NOT be merged into staging tree, let me know. There we

[PATCH 13/15 RESEND] staging: dgnc: remove useless variable 'ch_intr_modem'

2016-07-05 Thread Daeseok Youn
The 'ch_intr_modem' variable was used only for increasing. So the 'ch_intr_modem' variable is not useful for this driver. Signed-off-by: Daeseok Youn --- RESEND: This patch was not merged for a long time, if there is any reason why this patch could NOT be merged into staging tree, let me know. Th

[PATCH v4 0/2] make arm_cpuidle_suspend() a bit more efficient

2016-07-05 Thread Jisheng Zhang
There's one corner case need to be fixed: !cpuidle_ops[cpu].init. patch1 tries to address this corner case. patch2 tries to improve arm_cpuidle_suspend() a bit by moving .suspend check into arm_cpuidle_read_ops(). Since v3: - rebased on 4.7-rc1 Since v2: - add back patch1. Since v1: - drop p

[PATCH v4 1/2] ARM: cpuidle: fix !cpuidle_ops[cpu].init case during init

2016-07-05 Thread Jisheng Zhang
Let's assume cpuidle_ops exists but it doesn't implement the according init callback, current arm_cpuidle_init() will return success to its caller, but in fact it should return -EOPNOTSUPP. Signed-off-by: Jisheng Zhang --- arch/arm/kernel/cpuidle.c | 14 +++--- 1 file changed, 11 inserti

Re: [PATCH v2 1/8] mm/zsmalloc: modify zs compact trace interface

2016-07-05 Thread Ganesh Mahendran
2016-07-06 10:32 GMT+08:00 Minchan Kim : > Hi Ganesh, > > On Mon, Jul 04, 2016 at 02:49:52PM +0800, Ganesh Mahendran wrote: >> This patch changes trace_zsmalloc_compact_start[end] to >> trace_zs_compact_start[end] to keep function naming consistent >> with others in zsmalloc >> >> Also this patch r

[PATCH 12/15 RESEND] staging: dgnc: remove useless variable 'intr_rx'

2016-07-05 Thread Daeseok Youn
The 'intr_rx' variable was used only for increasing. So the 'intr_rx' variable is not useful for this driver. Signed-off-by: Daeseok Youn --- RESEND: This patch was not merged for a long time, if there is any reason why this patch could NOT be merged into staging tree, let me know. There were no

[PATCH 11/15 RESEND] staging: dgnc: remove useless variable 'intr_tx'

2016-07-05 Thread Daeseok Youn
The 'intr_tx' variable was used only for increasing. So the 'intr_tx' variable is not useful for this driver. Signed-off-by: Daeseok Youn --- RESEND: This patch was not merged for a long time, if there is any reason why this patch could NOT be merged into staging tree, let me know. There were no

[PATCH 10/15 RESEND] staging: dgnc: remove unused variable 'intr_modem'

2016-07-05 Thread Daeseok Youn
The 'intr_modem' variable was used only for increasing. So the 'intr_modem' variable is not useful for this driver. Signed-off-by: Daeseok Youn --- RESEND: This patch was not merged for a long time, if there is any reason why this patch could NOT be merged into staging tree, let me know. There we

[PATCH 09/15 RESEND] staging: dgnc: remove redundant null check in

2016-07-05 Thread Daeseok Youn
the "brd" was already checked for NULL before calling dgnc_do_remap(). the dgnc_do_remap() function was called only from the dgnc_found_board() and the DGNC_BOARD_MAGIC value was assigned to "brd->magic" in dgcn_found_board(). So it doesn't need to check about magic value. Signed-off-by: Daeseok

[PATCH 08/15 RESEND] staging: dgnc: remove useless variable 'intr_count'

2016-07-05 Thread Daeseok Youn
The 'intr_count' variable was used only for increasing. So the 'intr_count' variable is not useful for this driver. Signed-off-by: Daeseok Youn --- RESEND: This patch was not merged for a long time, if there is any reason why this patch could NOT be merged into staging tree, let me know. There we

[PATCH 07/15 RESEND] staging: dgnc: remove redundant NULL check for brd

2016-07-05 Thread Daeseok Youn
the "brd" value cannot be NULL in dgnc_finalize_board_init(). Because "brd" as a parameter of this function was already checked for NULL. the dgnc_finalize_board_init() as a static function was called only from dgnc_found_board() function and brd->magic value was assigned once in dgnc_found_board(

Re: [PATCH] memory: samsung: exynos-srom: fix wrong count of registers

2016-07-05 Thread Krzysztof Kozlowski
On 07/05/2016 01:40 PM, Seung-Woo Kim wrote: > This patch fixes wrong count of array for srom registers from probe > function. > > Signed-off-by: Seung-Woo Kim > --- > drivers/memory/samsung/exynos-srom.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Thanks, applied. Best regards,

[PATCH 06/15 RESEND] staging: dgnc: re-arrange functions for removing

2016-07-05 Thread Daeseok Youn
Re-arrange the functions for removing forward declarations in dgnc_cls.c file. Signed-off-by: Daeseok Youn --- RESEND: This patch was not merged for a long time, if there is any reason why this patch could NOT be merged into staging tree, let me know. There were no comment for this patch. I canno

[PATCH 04/15 RESEND] staging: dgnc: remove redundant variable null check

2016-07-05 Thread Daeseok Youn
The unit struct(un_t) was not used in dgnc_tty_hangup(). Signed-off-by: Daeseok Youn --- RESEND: This patch was not merged for a long time, if there is any reason why this patch could NOT be merged into staging tree, let me know. There were no comment for this patch. I cannot understand why this

[PATCH 03/15 RESEND] staging: dgnc: remove redundant local variable for

2016-07-05 Thread Daeseok Youn
The local variable "bd" was not used in dgnc_carrier() function. Signed-off-by: Daeseok Youn --- RESEND: This patch was not merged for a long time, if there is any reason why this patch could NOT be merged into staging tree, let me know. There were no comment for this patch. I cannot understand w

[PATCH] f2fs: fix incorrect f_bfree calculation in ->statfs

2016-07-05 Thread Chao Yu
As manual described, f_bfree indicates total free blocks in fs, in f2fs, it includes two parts: visible free blocks and over-provision blocks. This patch corrrects the calculation. fsblkcnt_t f_bfree; /* free blocks in fs */ Signed-off-by: Chao Yu --- fs/f2fs/super.c | 2 +- 1 file changed,

[PATCH 02/15 RESEND] staging: dgnc: remove useless error value assignment

2016-07-05 Thread Daeseok Youn
The "result" variable in dgnc_get_mstat() was initialized with "-EIO". But if the "ch" is not null, "result" will be set to zero and if the "ch" is null, dgnc_get_mstat() will return "-ENXIO" as an error. So "-EIO" error value was useless in dgnc_get_mstat(). Signed-off-by: Daeseok Youn --- RESEN

[PATCH v2 2/2] irqchip/qeic: merge qeic_of_init into qe_ic_init

2016-07-05 Thread Zhao Qiang
qeic_of_init just get device_node of qeic from dtb and call qe_ic_init, pass the device_node to qe_ic_init. So merge qeic_of_init into qe_ic_init to get the qeic node in qe_ic_init. Signed-off-by: Zhao Qiang --- Changes for v2: - modify subject and commit msg - return 0 and add pu

[PATCH v2 1/2] irqchip/qeic: merge qeic init code from platforms to a common function

2016-07-05 Thread Zhao Qiang
The codes of qe_ic init from a variety of platforms are redundant, merge them to a common function and put it to irqchip/qe_ic.c For non-p1021_mds mpc85xx_mds boards, use "qe_ic_init(np, 0, qe_ic_cascade_low_mpic, qe_ic_cascade_high_mpic);" instead of "qe_ic_init(np, 0, qe_ic_cascade_muxed_mpic, N

[PATCH 01/15 RESEND] staging: dgnc: remove redundant NULL checks in

2016-07-05 Thread Daeseok Youn
The dgnc_block_til_ready() is only used in dgnc_tty_open(). The unit data(struct un_t) was stored into tty->driver_data in dgnc_tty_open(). And also tty and un were tested about NULL so these variables doesn't need to check for NULL in dgnc_block_til_ready(). Signed-off-by: Daeseok Youn --- RESEN

Re: [PATCH 0/2 v3] Add pl031 RTC support for Hi6220

2016-07-05 Thread Olof Johansson
On Wed, Jun 29, 2016 at 05:48:43PM -0700, John Stultz wrote: > This patchset enables the pl031 RTC on the Hi6220 SoC. > > I'd like to submit it to be merged. > > Wei has acked the second patch (modulo a whitespace fix which > I've included in this v3), so it seems like both could go > through the

Re: [PATCH] phy: sun9i-usb: fix error handling

2016-07-05 Thread Chen-Yu Tsai
On Wed, Jul 6, 2016 at 2:00 PM, Christophe JAILLET wrote: > This is likely that checking 'phy->hsic_clk' instead of 'phy->clk' is > expected here. > > Signed-off-by: Christophe JAILLET Acked-by: Chen-Yu Tsai

Re: [PATCH] KVM: VMX: switch to hrtimer for TSC deadline timer when L2 guest is running

2016-07-05 Thread Haozhong Zhang
On 07/06/16 13:37, Wanpeng Li wrote: > Cc Jan, > 2016-07-06 13:10 GMT+08:00 Haozhong Zhang : > > A different VMCS is loaded when L2 guest is running, so it's incorrect > > to use the VMX preemption timer for L1 TSC deadline timer. This patch > > switches to hrtimer for L1 TSC deadline timer when en

Re: [GIT PULL 4/4] ARM: defconfig: exynos: Stuff for v4.8, part 2

2016-07-05 Thread Olof Johansson
On Thu, Jun 30, 2016 at 09:51:15AM +0200, Krzysztof Kozlowski wrote: > Hi, > > On top of previous pull. > > Best regards, > Krzysztof > > > The following changes since commit 4b388071a2235ed8f05d05d069f5a5a29782a8c5: > > ARM: exynos_defconfig: Save defconfig on current linux-next (2016-06-06

Re: [GIT PULL 3/4] ARM: dts: exynos: MFC driver topic branch for v4.8, part 2

2016-07-05 Thread Olof Johansson
On Thu, Jun 30, 2016 at 09:51:14AM +0200, Krzysztof Kozlowski wrote: > Hi, > > Continuation of previous topic branch (tag > tags/samsung-drivers-exynos-mfc-4.8). > DTS changes only but this depends on previous work. > > Best regards, > Krzysztof > > > The following changes since commit 96167bd

Re: [PATCH 0/2] KVM: MMU: support VMAs that got remap_pfn_range-ed

2016-07-05 Thread Paolo Bonzini
On 06/07/2016 04:00, Xiao Guangrong wrote: > > > On 07/05/2016 08:18 PM, Paolo Bonzini wrote: >> >> >> On 05/07/2016 07:41, Neo Jia wrote: >>> On Thu, Jun 30, 2016 at 03:01:49PM +0200, Paolo Bonzini wrote: The vGPU folks would like to trap the first access to a BAR by setting vm_ops o

Re: [RESEND PATCH] ARM: oxnas: Change OX810SE default driver config

2016-07-05 Thread Olof Johansson
On Wed, Jun 29, 2016 at 11:20:47AM +0200, Neil Armstrong wrote: > Since the SP804 timer changes will not been merged upstream, switch the > default OX810SE config to the OXNAS RPS Timer driver configuration. > > Signed-off-by: Neil Armstrong > --- > arch/arm/mach-oxnas/Kconfig | 2 +- > 1 file c

Re: [GIT PULL 2/4] ARM: exynos: Drivers for v4.8, part 2

2016-07-05 Thread Olof Johansson
On Thu, Jun 30, 2016 at 09:51:13AM +0200, Krzysztof Kozlowski wrote: > Hi, > > On top of previous pull. > > Best regards, > Krzysztof > > > The following changes since commit 9479f7cc91879c6ba75e70da41c4c9fe7842b342: > > soc: samsung: pm_domains: Enable COMPILE_TEST for build coverage > (20

Re: [PATCH] KVM: VMX: switch to hrtimer for TSC deadline timer when L2 guest is running

2016-07-05 Thread Paolo Bonzini
On 06/07/2016 07:37, Wanpeng Li wrote: > Cc Jan, > 2016-07-06 13:10 GMT+08:00 Haozhong Zhang : >> A different VMCS is loaded when L2 guest is running, so it's incorrect >> to use the VMX preemption timer for L1 TSC deadline timer. This patch >> switches to hrtimer for L1 TSC deadline timer when e

Re: [PATCH] arm64: defconfig: Enable s2mps11 regulator clk and s3c rtc driver

2016-07-05 Thread Krzysztof Kozlowski
On 07/05/2016 12:06 PM, Alim Akhtar wrote: > The s3c rtc controller on exynos7 platform uses rtc source clock > from s2mps11 pmic. This patch enables the required bits to make > rtc work on exynos7-espresso board. > > Signed-off-by: Alim Akhtar > --- > arch/arm64/configs/defconfig |2 ++ > 1

[PATCH] phy: sun9i-usb: fix error handling

2016-07-05 Thread Christophe JAILLET
This is likely that checking 'phy->hsic_clk' instead of 'phy->clk' is expected here. Signed-off-by: Christophe JAILLET --- v2: Also fix the variable name used by PTR_ERR Update $subject --- drivers/phy/phy-sun9i-usb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/

Re: [PATCH v3 17/17] mm, vmscan: make compaction_ready() more accurate and readable

2016-07-05 Thread Joonsoo Kim
On Fri, Jun 24, 2016 at 11:54:37AM +0200, Vlastimil Babka wrote: > The compaction_ready() is used during direct reclaim for costly order > allocations to skip reclaim for zones where compaction should be attempted > instead. It's combining the standard compaction_suitable() check with its own > wat

Re: [PATCH v3 13/17] mm, compaction: use correct watermark when checking allocation success

2016-07-05 Thread Joonsoo Kim
On Fri, Jun 24, 2016 at 11:54:33AM +0200, Vlastimil Babka wrote: > The __compact_finished() function uses low watermark in a check that has to > pass if the direct compaction is to finish and allocation should succeed. This > is too pessimistic, as the allocation will typically use min watermark. I

Re: [PATCH v7 1/4] soc: mediatek: Refine scpsys to support multiple platform

2016-07-05 Thread James Liao
Hi Matthias, On Sat, 2016-07-02 at 18:33 +0200, Matthias Brugger wrote: > > On 05/16/2016 11:28 AM, James Liao wrote: > > Refine scpsys driver common code to support multiple SoC / platform. > > > > Signed-off-by: James Liao > > Reviewed-by: Kevin Hilman > > --- > > drivers/soc/mediatek/mtk-sc

Re: [PATCH] KVM: VMX: switch to hrtimer for TSC deadline timer when L2 guest is running

2016-07-05 Thread Wanpeng Li
Cc Jan, 2016-07-06 13:10 GMT+08:00 Haozhong Zhang : > A different VMCS is loaded when L2 guest is running, so it's incorrect > to use the VMX preemption timer for L1 TSC deadline timer. This patch > switches to hrtimer for L1 TSC deadline timer when entering L2 guest, > and switches back to VMX pre

Re: [PATCH v3 12/17] mm, compaction: more reliably increase direct compaction priority

2016-07-05 Thread Joonsoo Kim
On Fri, Jun 24, 2016 at 11:54:32AM +0200, Vlastimil Babka wrote: > During reclaim/compaction loop, compaction priority can be increased by the > should_compact_retry() function, but the current code is not optimal. Priority > is only increased when compaction_failed() is true, which means that > c

Re: [PATCH] lockdep: Add a document describing crossrelease feature

2016-07-05 Thread Byungchul Park
On Wed, Jul 06, 2016 at 11:17:10AM +0900, Byungchul Park wrote: > > lock(A) > wait_for(B) > <- serialized by atomic operation > lock(A) > unlock(A) > wake(B) > unlock(A) By the way, I have a question. Is there anyone who could ans

[PATCH] clocksource: cadence_ttc: fix a return value in case of error

2016-07-05 Thread Christophe JAILLET
IS_ERR and PTR_ERR should use the same variable, clk_ce in this case. Fixes: 4de1eb07c47f (Convert init function to return error) Signed-off-by: Christophe JAILLET --- drivers/clocksource/cadence_ttc_timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clocksource

Re: porting kcov to android

2016-07-05 Thread Dmitry Vyukov
Well, something is broken. Shadow in the report is complete mess (fc is heap redzone, while f4 is stack redzone). I wonder if it is the bootstrap shadow page that is used for both heap and stack. Or maybe we return poisoned pages to pagealloc. The first thing I would try is to disable stack and glo

Re: [PATCH v7 2/4] soc: mediatek: Init MT8173 scpsys driver earlier

2016-07-05 Thread James Liao
On Sat, 2016-07-02 at 18:35 +0200, Matthias Brugger wrote: > > On 05/16/2016 11:28 AM, James Liao wrote: > > Some power domain comsumers may init before module_init. > > So the power domain provider (scpsys) need to be initialized > > earlier too. > > > > Take an example for our IOMMU (M4U) and SM

[PATCH v5 2/7] perf config: Add macros assigning key-value pairs to default_config_item

2016-07-05 Thread Taeung Song
In near future, default_config_item arrays will be added (e.g. const struct default_config_item colors_config_items[]) To simply assign config key-value pairs to default_config_item, add macros that are CONF_VAR() and CONF_*_VAR() for each type. Cc: Namhyung Kim Cc: Jiri Olsa Cc: Wang Nan Cc: M

[PATCH v5 7/7] perf config: Initialize annotate_browser__opts with default config items

2016-07-05 Thread Taeung Song
Set default config values for 'annotate' section with 'annotate_config_items[]' instead of actual bool type values. (e.g. using annotate_config_items[CONFIG_ANNOTATE_USE_OFFSET].value instead of 'true' bool type value for 'annotate.use_offset'.) Cc: Namhyung Kim Cc: Jiri Olsa Cc: Masami Hiramats

[PATCH v5 4/7] perf config: Use combined {fore,back}ground colors value instead of each two color

2016-07-05 Thread Taeung Song
To manage all default config values at one spot (at util/config.c), it would be better that actual variables for each 'colors' config also have only one value like 'default_config_item' type. If we do, it smoothly work to initialize 'colors' default config values by 'colors_config_items' array tha

[PATCH v5 6/7] perf config: Add 'annotate' section default configs arrrays

2016-07-05 Thread Taeung Song
Actual variable for configs of 'annotate' section is like below. (at ui/browsers/annoate.c) static struct annotate_browser_opt { bool hide_src_code, use_offset, jump_arrows, show_linenr, show_nr_jumps, show_total_period; } annotate

[PATCH v5 5/7] perf config: Initialize ui_browser__colorsets with default config items

2016-07-05 Thread Taeung Song
Set default config values for 'colors' section with 'colors_config_items[]' instead of actual const char * type values. (e.g. using colors_config_item[CONFIG_COLORS_TOP].value instead of "red, default" string value for 'colors.top') Cc: Namhyung Kim Cc: Jiri Olsa Cc: Masami Hiramatsu Cc: Wang N

[PATCH v5 1/7] perf config: Introduce default_config_section and default_config_item for default config key-value pairs

2016-07-05 Thread Taeung Song
When initializing default perf config values, we currently use values of actual type(int, bool, char *, etc.). For example, If there isn't user config value at ~/.perfconfig for 'annotate.use_offset' config variable, default value for it is 'true' bool type value in perf like below. At ui/browser

[RFC PATCH v5 0/7] perf config: Introduce default config key-value pairs arrays

2016-07-05 Thread Taeung Song
Hello, :) When initializing default perf config values, we currently use values of actual type(int, bool, char *, etc.). But I suggest using default config key-value pairs arrays. For example, If there isn't user config value at ~/.perfconfig for 'annotate.use_offset' config variable, default va

[PATCH v5 3/7] perf config: Add 'colors' section default configs arrrays

2016-07-05 Thread Taeung Song
Actual variable for configs of 'colors' section is like below. (at ui/browser.c) static struct ui_browser_colorset { const char *name, *fg, *bg; int colorset; } ui_browser__colorsets[] = { { .colorset = HE_COLORSET_TOP, .name = "top",

Re: [PATCH v7 4/4] soc: mediatek: Add MT2701 scpsys driver

2016-07-05 Thread James Liao
On Sat, 2016-07-02 at 18:41 +0200, Matthias Brugger wrote: > > On 05/16/2016 11:28 AM, James Liao wrote: > > From: Shunli Wang > > > > Add scpsys driver for MT2701. > > > > mtk-scpsys now supports MT8173 (arm64) and MT2701 (arm). So it should > > be enabled on both arm64 and arm platforms. > > >

[PATCH v2 2/3] arm/xen: add support for vm_assist hypercall

2016-07-05 Thread Juergen Gross
Add support for the Xen HYPERVISOR_vm_assist hypercall. Signed-off-by: Juergen Gross Reviewed-by: Boris Ostrovsky Reviewed-by: Julien Grall Reviewed-by: Stefano Stabellini --- arch/arm/include/asm/xen/hypercall.h | 1 + arch/arm/xen/enlighten.c | 1 + arch/arm/xen/hypercall.S

[PATCH] KVM: VMX: switch to hrtimer for TSC deadline timer when L2 guest is running

2016-07-05 Thread Haozhong Zhang
A different VMCS is loaded when L2 guest is running, so it's incorrect to use the VMX preemption timer for L1 TSC deadline timer. This patch switches to hrtimer for L1 TSC deadline timer when entering L2 guest, and switches back to VMX preemption timer when nested VMEXIT from L2 to L1. Signed-off-

Re: [PATCH 2/2] i2c-dev: Don't block the adapter from unregistering

2016-07-05 Thread kbuild test robot
Hi, [auto build test WARNING on wsa/i2c/for-next] [also build test WARNING on v4.7-rc6 next-20160705] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Viresh-Kumar/i2c-dev-Don-t-let-userspace

Re: [PATCH v3 09/17] mm, compaction: make whole_zone flag ignore cached scanner positions

2016-07-05 Thread Joonsoo Kim
On Fri, Jun 24, 2016 at 11:54:29AM +0200, Vlastimil Babka wrote: > A recent patch has added whole_zone flag that compaction sets when scanning > starts from the zone boundary, in order to report that zone has been fully > scanned in one attempt. For allocations that want to try really hard or canno

Re: [PATCH net] net: mvneta: set real interrupt per packet for tx_done

2016-07-05 Thread Willy Tarreau
Hi, On Wed, Jul 06, 2016 at 04:18:58AM +0200, Marcin Wojtas wrote: > From: Dmitri Epshtein > > Commit aebea2ba0f74 ("net: mvneta: fix Tx interrupt delay") intended to > set coalescing threshold to a value guaranteeing interrupt generation > per each sent packet, so that buffers can be released w

[PATCH v2 0/3] xen: add full support for CONFIG_PARAVIRT_TIME_ACCOUNTING

2016-07-05 Thread Juergen Gross
With most recent Xen hypervisor (4.8) it is now possible to add full support of CONFIG_PARAVIRT_TIME_ACCOUNTING. To be applied on top of commit ed2f61fdd2356c2a1d1239aa1507ce4e2e059306 "xen: add steal_clock support on x86" of kernel/git/xen/tip.git Runtime tested on x86_64, compile tested on arm6

[PATCH v2 3/3] xen: support runqueue steal time on xen

2016-07-05 Thread Juergen Gross
Up to now reading the stolen time of a remote cpu was not possible in a performant way under Xen. This made support of runqueue steal time via paravirt_steal_rq_enabled impossible. With the addition of an appropriate hypervisor interface this is now possible, so add the support. Signed-off-by: Ju

[PATCH v2 1/3] xen: update xen headers

2016-07-05 Thread Juergen Gross
Update some Xen headers to be able to use new functionality. Signed-off-by: Juergen Gross Reviewed-by: Boris Ostrovsky Reviewed-by: Stefano Stabellini --- include/xen/interface/vcpu.h | 24 +++- include/xen/interface/xen.h | 17 - 2 files changed, 31 insert

Re: [PATCH v2 2/4] powerpc/spinlock: support vcpu preempted check

2016-07-05 Thread xinhui
Hi, wanpeng On 2016年07月05日 17:57, Wanpeng Li wrote: Hi Xinhui, 2016-06-28 22:43 GMT+08:00 Pan Xinhui : This is to fix some lock holder preemption issues. Some other locks implementation do a spin loop before acquiring the lock itself. Currently kernel has an interface of bool vcpu_is_preempted(

Re: [PATCH v3 1/2] clk: exynos5433: do not use CLK_IGNORE_UNUSED for SPI clocks

2016-07-05 Thread Andi Shyti
Hi Sylwester, > +#if 0 > clocks = <&cmu_peric CLK_PCLK_SPI1>, > <&cmu_top CLK_SCLK_SPI1_PERIC>; > +#else > + clocks = <&cmu_peric CLK_PCLK_SPI1>, > +<&cmu_peric CLK_SCLK_SPI1>; > +#endif

Re: More parallel atomic_open/d_splice_alias fun with NFS and possibly more FSes.

2016-07-05 Thread Oleg Drokin
On Jul 5, 2016, at 11:25 PM, Oleg Drokin wrote: > > On Jul 5, 2016, at 11:20 PM, Al Viro wrote: > >> On Tue, Jul 05, 2016 at 08:29:37PM -0400, Oleg Drokin wrote: + /* Otherwise we just unhash it to be rehashed afresh via + * lookup if necessary + */ >

Re: [linux-sunxi] [PATCH 2/4] power: add axp20x-battery driver

2016-07-05 Thread Michael Haas
Hi There, On 05.07.2016 10:33, Icenowy Zheng wrote: On 01.07.2016 11:29, Icenowy Zheng wrote: + +static enum power_supply_property axp22x_battery_properties[] = { + POWER_SUPPLY_PROP_CAPACITY, + POWER_SUPPLY_PROP_HEALTH, + POWER_SUPPLY_PROP_PRESENT, + POWER_SUPPLY_PROP_STATUS, +

Re: [PATCH 5/5] overlayfs: Use vfs_getxattr_noperm() for real inode

2016-07-05 Thread Miklos Szeredi
On Tue, Jul 5, 2016 at 11:16 PM, Vivek Goyal wrote: > On Tue, Jul 05, 2016 at 01:29:39PM -0700, Casey Schaufler wrote: >> On 7/5/2016 8:50 AM, Vivek Goyal wrote: >> > ovl_getxattr() currently uses vfs_getxattr() on realinode. This fails >> > if mounter does not have DAC/MAC permission to access ge

Re: [PATCH v2 0/7] lib: string: add functions to case-convert strings

2016-07-05 Thread Markus Mayer
On 5 July 2016 at 15:56, Joe Perches wrote: > On Tue, 2016-07-05 at 15:36 -0700, Markus Mayer wrote: >> On 5 July 2016 at 15:14, Joe Perches wrote: >> > On Tue, 2016-07-05 at 13:47 -0700, Markus Mayer wrote: >> > > This series introduces a family of generic string case conversion >> > > functions

Re: [PATCH 3/3] xen: support runqueue steal time on xen

2016-07-05 Thread Juergen Gross
On 05/07/16 17:23, Stefano Stabellini wrote: > On Wed, 22 Jun 2016, Juergen Gross wrote: >> Up to now reading the stolen time of a remote cpu was not possible in a >> performant way under Xen. This made support of runqueue steal time via >> paravirt_steal_rq_enabled impossible. >> >> With the addit

Re: [PATCH 04/14] PCI: generic: make it explicitly non-modular

2016-07-05 Thread Jayachandran C
On Wed, Jul 6, 2016 at 1:49 AM, David Daney wrote: > > On 07/04/2016 10:37 AM, Will Deacon wrote: >> >> On Sat, Jul 02, 2016 at 07:13:24PM -0400, Paul Gortmaker wrote: >>> >>> The Kconfig currently controlling compilation of this code is: >>> >>> drivers/pci/host/Kconfig:config PCI_HOST_GENERIC >>

  1   2   3   4   5   6   7   8   >