linux-next: manual merge of the char-misc tree with the net-next tree

2016-09-04 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the char-misc tree got a conflict in: include/linux/hyperv.h between commit: 30d1de08c87d ("hv_netvsc: make inline functions static") from the net-next tree and commit: bb08d431a914 ("Drivers: hv: ring_buffer: count on wrap around mappings in get_nex

[PATCH v2] ubifs: compress lines for immediate return

2016-09-04 Thread Heiko Schocher
From: Masahiro Yamada Cleanup the following code construct: ret = expression; if (ret) return ret; return 0; into a simple form: return expression; From: Masahiro Yamada posted on the U-Boot mailinglist. Signed-off-by: Masahiro Yamada Signed-off-by: Heiko Schocher --- Changes in v2

Re: [PATCH v2] pwm: samsung: fix to use lowest div for large enough modulation bits

2016-09-04 Thread Thierry Reding
On Tue, Aug 16, 2016 at 11:22:01PM +0900, Seung-Woo Kim wrote: > From pwm_samsung_calc_tin(), there is routine to find the lowest > divider possible to generate lower frequency than requested one. > But it is always possible to generate requested frequency with > large enough modulation bits except

Re: [PATCH] pwm: pwm-tipwmss: Remove all pm_runtime gets and puts from the driver

2016-09-04 Thread Thierry Reding
On Mon, Aug 08, 2016 at 03:39:15PM +0530, Vignesh R wrote: > From: Jyri Sarha > > Remove all pm_runtime gets and puts, and dummy pm_ops, from the > pwm-tipwmss driver as there is no direct hardware access. The runtime PM > needs to be enabled, so that the runtime PM framework takes care of > enab

Re: [PATCH v4 3/3] iio: adc: add support for Allwinner SoCs ADC

2016-09-04 Thread Quentin Schulz
On 04/09/2016 18:12, Peter Meerwald-Stadler wrote: > >> The Allwinner SoCs all have an ADC that can also act as a touchscreen >> controller and a thermal sensor. This patch adds the ADC driver which is >> based on the MFD for the same SoCs ADC. > > nitpicking ahead > [...] >> diff --git a/drive

Re: [PATCH] pwm: cros_ec: add __packed to prevent padding

2016-09-04 Thread Thierry Reding
On Tue, Jul 26, 2016 at 11:22:13AM -0700, Brian Norris wrote: > While the particular usage in question is likely safe (struct > cros_ec_command is 32-bit aligned, followed by <=32-bit fields), it's > been suggested this is not a great pattern to follow for the general > case -- for example, if we f

Re: [PATCH] ubifs: compress lines for immediate return

2016-09-04 Thread Heiko Schocher
Hello Richard, Am 05.09.2016 um 08:28 schrieb Richard Weinberger: Heiko, On 05.09.2016 06:59, Heiko Schocher wrote: fix the following code: -ret = expression; -if (ret) -return ret; -return 0; +return expression; "Fix"? ;-) What was broken? Ok, fix is to hard spoken ... nothing br

linux-next: manual merge of the tty tree with the slave-dma tree

2016-09-04 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the tty tree got a conflict in: drivers/dma/imx-sdma.c between commit: 48dc77e2d4fc ("dmaengine: imx-sdma: convert callback to helper function") from the slave-dma tree and commit: 15f30f513111 ("dmaengine: imx-sdma - reduce transfer latency for DMA

[PATCH] powerpc/8xx: add system_reset_exception

2016-09-04 Thread Christophe Leroy
When the watchdog is in NMI mode, the system reset interrupt is generated when the watchdog counter expires. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/head_8xx.S | 2 +- arch/powerpc/kernel/traps.c| 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/power

Re: [PATCH] ubifs: compress lines for immediate return

2016-09-04 Thread Richard Weinberger
Heiko, On 05.09.2016 08:35, Heiko Schocher wrote: > I think yes ... > >> Is this part of a tree-wide cleanup? > > Yes, and I thought it is worth to change this part in linux too. Agreed. Can you please resend with a proper change log and (more important) a correct sob-chain? From: and first Sig

Re: [PATCH] kbuild/builddeb: Fix !CONFIG_GCC_PLUGINS build

2016-09-04 Thread Michal Marek
Dne 3.9.2016 v 21:58 Borislav Petkov napsal(a): > From: Borislav Petkov > > When building a bindeb-pkg target into an object output dir, i.e., O=, I > get: > > find: `scripts/gcc-plugins': No such file or directory > /mnt/kernel/kernel/linux-2.6/scripts/package/Makefile:97: recipe for target

Re: [PATCH V2 2/3] pwm: Add MediaTek MT2701 display PWM driver support

2016-09-04 Thread Thierry Reding
On Mon, Jul 11, 2016 at 04:18:08PM +0800, Weiqing Kong wrote: > Use the mtk_pwm_data struction to define different registers > and add MT2701 specific register operations, such as MT2701 > doesn't have commit register, needs to disable double buffer > before writing register, and needs to select ma

[GIT PULL] make deb-pkg fix

2016-09-04 Thread Michal Marek
Hi Linus, Please pull this fix from make deb-pkg. The bug got introduced in v4.8-rc1. Thanks, Michal The following changes since commit 29b4817d4018df78086157ea3a55c1d9424a7cfc: Linux 4.8-rc1 (2016-08-07 18:18:00 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/

Re: [PATCH 4/6] clk: sunxi-ng: Add A33 CCU support

2016-09-04 Thread Chen-Yu Tsai
Hi, On Thu, Sep 1, 2016 at 10:16 PM, Maxime Ripard wrote: > This commit introduces the clocks found in the Allwinner A33 CCU. > > Since this SoC is very similar to the A23, and we share a significant share > of the DTSI, the clock IDs that are going to be used will also be shared > with the A23,

Re: [PATCH v4 3/3] iio: adc: add support for Allwinner SoCs ADC

2016-09-04 Thread Quentin Schulz
On 04/09/2016 16:35, Jonathan Cameron wrote: > On 01/09/16 15:05, Quentin Schulz wrote: >> The Allwinner SoCs all have an ADC that can also act as a touchscreen >> controller and a thermal sensor. This patch adds the ADC driver which is >> based on the MFD for the same SoCs ADC. >> >> This also reg

Re: [PATCH] ubifs: compress lines for immediate return

2016-09-04 Thread Richard Weinberger
Heiko, On 05.09.2016 06:59, Heiko Schocher wrote: > fix the following code: > > -ret = expression; > -if (ret) > -return ret; > -return 0; > +return expression; "Fix"? ;-) What was broken? I agree that we can write the expression in a different way, but is it really worth it? Is this p

[PATCH] sched/core: simpler function for sched_exec migration

2016-09-04 Thread cheng chao
when sched_exec needs migration and CONFIG_PREEMPT_NONE=y, migration_cpu_stop almost does nothing due to the caller is !task_on_rq_queued(). currently CONFIG_PREEMPT and CONFIG_PREEMPT_VOLUNTARY work well because the caller keeps task_on_rq_queued(): 1. when CONFIG_PREEMPT=y stop_one_cpu ->cp

Hibernation broken since commit 274ad65c9d02 ("drm/radeon: hard reset r600 and newer GPU when hibernating.")

2016-09-04 Thread Sven Joachim
Recently I got myself a new laptop with the following integrated GPU: 00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Mullins [Radeon R3 Graphics] (rev 40) I found that hibernation is broken in Linux 4.7+ (it works in Linux 4.6) and bisected it to commit 274ad65c9d02 ("

Re: [Linaro-acpi] [PATCH V8 1/8] ACPI: I/O Remapping Table (IORT) initial support

2016-09-04 Thread Tomasz Nowicki
On 02.09.2016 13:52, Fu Wei wrote: Hi Tomasz, On 11 August 2016 at 18:06, Tomasz Nowicki wrote: IORT shows representation of IO topology for ARM based systems. It describes how various components are connected together on parent-child basis e.g. PCI RC -> SMMU -> ITS. Also see IORT spec. http:

Re: [RFC 0/4] ZRAM: make it just store the high compression rate page

2016-09-04 Thread Hui Zhu
On Mon, Sep 5, 2016 at 1:51 PM, Minchan Kim wrote: > On Mon, Sep 05, 2016 at 01:12:05PM +0800, Hui Zhu wrote: >> On Mon, Sep 5, 2016 at 10:18 AM, Minchan Kim wrote: >> > On Thu, Aug 25, 2016 at 04:25:30PM +0800, Hui Zhu wrote: >> >> On Thu, Aug 25, 2016 at 2:09 PM, Sergey Senozhatsky >> >> wrote

Re: [RFC 0/4] ZRAM: make it just store the high compression rate page

2016-09-04 Thread Minchan Kim
On Mon, Sep 05, 2016 at 01:12:05PM +0800, Hui Zhu wrote: > On Mon, Sep 5, 2016 at 10:18 AM, Minchan Kim wrote: > > On Thu, Aug 25, 2016 at 04:25:30PM +0800, Hui Zhu wrote: > >> On Thu, Aug 25, 2016 at 2:09 PM, Sergey Senozhatsky > >> wrote: > >> > Hello, > >> > > >> > On (08/22/16 16:25), Hui Zhu

Re: [PATCH] tpm: move struct tpm_class_ops to drivers/char/tpm/tpm.h

2016-09-04 Thread Jarkko Sakkinen
On Sun, Sep 04, 2016 at 02:14:06PM -0600, Jason Gunthorpe wrote: > On Sat, Sep 03, 2016 at 09:26:05AM +0300, Jarkko Sakkinen wrote: > > > > > > OK, how would one get the chip instance? > > Most subsystems have a get function that returns a kref'd pointer. For > TPM all we really need today is a '

Re: [PATCH v5 2/4] tracing: Add cpu as a key field in histogram

2016-09-04 Thread Daniel Wagner
Hi Binoy On 09/02/2016 02:37 PM, Binoy Jayan wrote: > The field 'cpu' although part of the set of generic fields, is not made > part of the key fields when mentioned in the trigger command. This hack > suggested by Daniel marks it as one of the key fields and make it appear > in the histogram outp

Re: [Question] about patch: don't use [delayed_]work_pending()

2016-09-04 Thread qiaozhou
On 2016年09月02日 22:21, Tejun Heo wrote: On Fri, Sep 02, 2016 at 09:50:07AM -0400, Tejun Heo wrote: Hello, On Fri, Sep 02, 2016 at 09:17:04AM +0800, qiaozhou wrote: I don't know whether it's meaningful to still check pending work here, or it's not suggested to use pm_qos_update_request in this

Re: [PATCH v2] pwm: berlin: Add PM support

2016-09-04 Thread Thierry Reding
On Wed, Nov 25, 2015 at 05:41:25PM +0800, Jisheng Zhang wrote: > This patch adds S2R support for berlin pwm driver. > > Signed-off-by: Jisheng Zhang > --- > Since v1: > - implement .request and .free hooks, allocate/free the channel in >berlin_pwm_request/berlin_pwm_free. Then use pwm_get_ch

[PATCH v8 6/7] perf config: Add default section and item arrays for 'annotate' config

2016-09-04 Thread Taeung Song
Actual values for default 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

[PATCH v8 3/7] perf config: Add default section and item arrays for 'colors' config

2016-09-04 Thread Taeung Song
Actual values for default 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

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

2016-09-04 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 v8 5/7] perf config: Initialize ui_browser__colorsets with default config items

2016-09-04 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.s instead of "red, default" string value for 'colors.top') Cc: Namhyung Kim Cc: Jiri Olsa Cc: Masami Hiramatsu Cc: Wang

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

2016-09-04 Thread Taeung Song
To easily set default config values into actual variables for 'colors' config, it would be better that actual variables for each 'colors' config have only one value like 'default_config_item' type. If we use combined {fore,back}ground colors values in ui_browser_colorset, it smoothly work to initi

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

2016-09-04 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.b instead of 'true' bool type value for 'annotate.use_offset'.) Cc: Namhyung Kim Cc: Jiri Olsa Cc: Masami Hirama

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

2016-09-04 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 a user config value for 'annotate.use_offset' config variable at ~/.perfconfig, default value for it is 'true' bool type value in perf like below. At ui/brows

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

2016-09-04 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 a user config value for 'annotate.use_offset' config variable at ~/.perfconfig, default v

Re: [PATCH] RDS: Simplify code

2016-09-04 Thread Leon Romanovsky
On Mon, Sep 05, 2016 at 06:38:21AM +0200, Christophe JAILLET wrote: > Le 04/09/2016 à 20:23, Leon Romanovsky a écrit : > >On Sun, Sep 04, 2016 at 05:57:20PM +0200, Christophe JAILLET wrote: > >>Le 04/09/2016 à 14:20, Leon Romanovsky a écrit : > >>>On Sat, Sep 03, 2016 at 07:33:29AM +0200, Christoph

Re: [PATCH] pwm: twl: Reliably disable TWL6030 PWMs

2016-09-04 Thread Thierry Reding
On Tue, Mar 29, 2016 at 08:55:45PM +0200, Paul Kocialkowski wrote: > The current TWL6030 code for the TWL PWM driver does not reliably disable the > PWM output, as tested with LEDs. The previous commit to that driver introduced > that regression. > > However, it does make sense to disable the PWM

Re: [RFC 0/4] ZRAM: make it just store the high compression rate page

2016-09-04 Thread Hui Zhu
On Mon, Sep 5, 2016 at 10:18 AM, Minchan Kim wrote: > On Thu, Aug 25, 2016 at 04:25:30PM +0800, Hui Zhu wrote: >> On Thu, Aug 25, 2016 at 2:09 PM, Sergey Senozhatsky >> wrote: >> > Hello, >> > >> > On (08/22/16 16:25), Hui Zhu wrote: >> >> >> >> Current ZRAM just can store all pages even if the c

[PATCH v10 1/5] Documentation: bindings: add dt documentation for dfi controller

2016-09-04 Thread Lin Huang
This patch adds the documentation for rockchip dfi devfreq-event driver. Signed-off-by: Lin Huang Acked-by: Chanwoo Choi --- Changes in v10: - None Changes in v9: - reorder compatible and reg Changes in v8: - delete a unuse blank line Changes in v7: - None Changes in v6: - None Changes in v

[PATCH v10 4/5] PM / devfreq: rockchip: add devfreq driver for rk3399 dmc

2016-09-04 Thread Lin Huang
base on dfi result, we do ddr frequency scaling, register dmc driver to devfreq framework, and use simple-ondemand policy. Signed-off-by: Lin Huang Signed-off-by: MyngJoo Ham Reviewed-by: Chanwoo Choi --- Changes in v10: - None Changes in v9: - None Changes in v8: - None Changes in v8: - do

[PATCH v10 3/5] Documentation: bindings: add dt documentation for rk3399 dmc

2016-09-04 Thread Lin Huang
This patch adds the documentation for rockchip rk3399 dmc driver. Signed-off-by: Lin Huang Reviewed-by: Chanwoo Choi --- Changes in v10: - add rockchip prefix in property describe Changes in v9: - add ddr timing property to node Changes in v8: - add ddr timing properties Changes in v7: - None

[PATCH v10 0/5] rk3399 support ddr frequency scaling

2016-09-04 Thread Lin Huang
rk3399 platform have dfi controller can monitor ddr load, and dcf controller to handle ddr register so we can get the right ddr frequency and make ddr controller happy work(which will implement in bl31). So we do ddr frequency scaling with following flow: kernel

[PATCH v10 2/5] PM / devfreq: event: support rockchip dfi controller

2016-09-04 Thread Lin Huang
on rk3399 platform, there is dfi conroller can monitor ddr load, base on this result, we can do ddr freqency scaling. Signed-off-by: Lin Huang Signed-off-by: MyungJoo Ham Acked-by: Chanwoo Choi --- Changes in v10: -None Changes in v9: -None Changes in v8: -None Changes in v7: -access need to

[PATCH v10 5/5] drm/rockchip: Add dmc notifier in vop driver

2016-09-04 Thread Lin Huang
when in ddr frequency scaling process, vop can not do enable or disable operation, since in dcf we check vop clock to see whether vop work. If vop work, dcf do ddr frequency scaling when vop in vblank status, and we need to read vop register to check whether vop go into vblank status. If vop not wo

[PATCH] ubifs: compress lines for immediate return

2016-09-04 Thread Heiko Schocher
fix the following code: -ret = expression; -if (ret) -return ret; -return 0; +return expression; From: Masahiro Yamada posted on the U-Boot mailinglist. Signed-off-by: Heiko Schocher --- fs/ubifs/budget.c | 7 ++- fs/ubifs/gc.c | 6 ++ fs/ubifs/lpt_commit.c | 5 +-

linux-next: manual merge of the md tree with the s390 tree

2016-09-04 Thread Stephen Rothwell
Hi Shaohua, Today's linux-next merge of the md tree got a conflict in: include/linux/raid/pq.h between commit: f5b55fa1f81d ("RAID/s390: provide raid6 recovery optimization") from the s390 tree and commit: a5e49b04af05 ("lib/raid6: Add AVX512 optimized recovery functions") from the md

[PATCH v3] ARM: dts: sun8i: Add dts file for the NanoPi NEO SBC

2016-09-04 Thread James Pettigrew
The NanoPi NEO is a minimal H3 based SBC. It comes with 256/512M RAM, a micro SD slot, 10/100Mbit ethernet and a single USB-A port. Signed-off-by: James Pettigrew --- Changes in v3: Fixed syntax errors --- .../devicetree/bindings/vendor-prefixes.txt| 1 + arch/arm/boot/dts/Makefile

Re: [PATCH] btrfs: let btrfs_delete_unused_bgs() to clean relocated bgs

2016-09-04 Thread Naohiro Aota
2016-09-02 (金) の 09:35 -0400 に Josef Bacik さんは書きました: > On 09/02/2016 03:46 AM, Naohiro Aota wrote: > > > > Currently, btrfs_relocate_chunk() is removing relocated BG by > > itself. But > > the work can be done by btrfs_delete_unused_bgs() (and it's better > > since it > > trim the BG). Let's dedup

[PATCH 1/2] f2fs: fix minor typo

2016-09-04 Thread Chao Yu
Correct typo from 'destory' to 'destroy'. Signed-off-by: Chao Yu --- fs/f2fs/segment.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c index 93c5e26..ff4b723 100644 --- a/fs/f2fs/segment.c +++ b/fs/f2fs/segment.c @@ -2678,7 +2678,7 @@

[PATCH 2/2] f2fs: fix to detect temporary name of multimedia file

2016-09-04 Thread Chao Yu
Some applications may create multimeida file with temporary name like '*.jpg.tmp' or '*.mp4.tmp', then rename to '*.jpg' or '*.mp4'. Now, f2fs can only detect multimedia filename with specified format: "filename + '.' + extension", so it will make f2fs missing to detect multimedia file with specia

Re: [PATCH v6 1/2] clk: uniphier: add core support code for UniPhier clock driver

2016-09-04 Thread Masahiro Yamada
Hi Stephen, 2016-08-30 3:22 GMT+09:00 Stephen Boyd : > On 08/29, Masahiro Yamada wrote: >> Hi Stephen, >> >> >> 2016-08-20 4:16 GMT+09:00 Stephen Boyd : >> >> >> >> >> + >> >> >> + parent = of_get_parent(dev->of_node); /* parent should be syscon >> >> >> node */ >> >> >> + regmap = sysco

Re: [RFC 0/4] ZRAM: make it just store the high compression rate page

2016-09-04 Thread Sergey Senozhatsky
Hello, On (09/05/16 11:18), Minchan Kim wrote: [..] > If I understand Sergey's point right, he means there is no gain > to save memory between before and after. > > With your approach, you can prevent unnecessary pageout(i.e., > uncompressible page swap out) but it doesn't mean you save the > mem

linux-next: manual merge of the drm tree with Linus' tree

2016-09-04 Thread Stephen Rothwell
Hi Dave, Today's linux-next merge of the drm tree got a conflict in: drivers/gpu/drm/amd/amdgpu/amdgpu.h between commit: 566153874951 ("drm/amdgpu: fix lru size grouping v2") from Linus' tree and commit: c632d7994360 ("amdgpu: move ttm stuff to amdgpu_ttm.h") from the drm tree. I fixe

Re: [PATCH][RFC v3] PCI: Workaround to enable poweroff on Mac Pro 11

2016-09-04 Thread Chen Yu
On Fri, Sep 02, 2016 at 11:25:27AM -0500, Bjorn Helgaas wrote: > On Wed, Aug 24, 2016 at 04:17:31PM +0200, Lukas Wunner wrote: > > On Fri, Aug 19, 2016 at 04:30:25PM +0800, Chen Yu wrote: > > > People reported that they can not do a poweroff nor a > > > suspend to ram on their Mac Pro 11. After som

linux-next: manual merge of the drm tree with Linus' tree

2016-09-04 Thread Stephen Rothwell
Hi Dave, Today's linux-next merge of the drm tree got a conflict in: drivers/gpu/drm/drm_crtc.c between commit: 6f00975c6190 ("drm: Reject page_flip for !DRIVER_MODESET") from Linus' tree and commit: f837297ad824 ("drm: Add DRM_MODE_PAGE_FLIP_TARGET_ABSOLUTE/RELATIVE flags v2") from th

Re: [PATCH 3/6] clk: sunxi-ng: Add N-class clocks support

2016-09-04 Thread Chen-Yu Tsai
On Thu, Sep 1, 2016 at 10:16 PM, Maxime Ripard wrote: > Add support for the class with a single factor, N, being a multiplier. > > Signed-off-by: Maxime Ripard Acked-by: Chen-Yu Tsai

[RESEND][v2][PATCH] Fix a race between try_to_wake_up() and a woken up task

2016-09-04 Thread Balbir Singh
The origin of the issue I've seen is related to a missing memory barrier between check for task->state and the check for task->on_rq. The task being woken up is already awake from a schedule() and is doing the following do { schedule() set_current_state(TASK_(UN)INTERRUPTIBLE);

Re: chipidea: udc: kernel panic in isr_setup_status_phase

2016-09-04 Thread Peter Chen
On Fri, Sep 02, 2016 at 06:42:43PM +0200, Clemens Gruber wrote: > On Fri, Sep 02, 2016 at 09:55:52AM +0800, Peter Chen wrote: > > Do you have other 5V to USB_H1_VBUS? USB PHY needs 5V input voltage > > as the source for USB LDO (3.0v), either from OTG or Host 1. I suspect > > the lower vbus voltage

linux-next: manual merge of the net-next tree with the net tree

2016-09-04 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in: drivers/net/ethernet/mediatek/mtk_eth_soc.c between commits: d3bd1ce4db8e ("net: ethernet: mediatek: remove redundant free_irq for devm_request_irq allocated irq") 7c6b0d76fa02 ("net: ethernet: mediatek: fix logic u

Re: [RFC PATCH V5 3/5] PCI: Check platform specific ECAM quirks

2016-09-04 Thread Bjorn Helgaas
On Mon, Aug 08, 2016 at 03:05:39PM +0200, Tomasz Nowicki wrote: > Some platforms may not be fully compliant with generic set of PCI config > accessors. For these cases we implement the way to overwrite accessors > set. Algorithm traverses available quirk list (static array), > matches against and

Re: [PATCH v3 10/22] usb: chipidea: Consolidate extcon notifiers

2016-09-04 Thread Peter Chen
On Fri, Sep 02, 2016 at 06:03:06PM -0700, Stephen Boyd wrote: > On Thu, Sep 1, 2016 at 8:17 PM, Peter Chen wrote: > > On Wed, Aug 31, 2016 at 05:40:24PM -0700, Stephen Boyd wrote: > >> > >> > >> if (cable->state) > >> - val |= OTGSC_ID; > >> +

Re: [PATCH] ARM: imx: (trivial) fix typo and grammar

2016-09-04 Thread Shawn Guo
On Fri, Sep 02, 2016 at 10:34:40AM +0200, Martin Kaiser wrote: > Signed-off-by: Martin Kaiser Applied, thanks. > --- > arch/arm/mach-imx/hardware.h |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/mach-imx/hardware.h b/arch/arm/mach-imx/hardware.h > index a4

[PATCH, v6 0/5] Add MediaTek USB3 DRD Driver

2016-09-04 Thread Chunfeng Yun
>From 99e428a1808c8ca91ff473d487b52ca5d355d875 Mon Sep 17 00:00:00 2001 From: Chunfeng Yun Date: Mon, 5 Sep 2016 10:27:07 +0800 Subject: [PATCH, v6 0/5] Add MediaTek USB3 DRD Driver These patches introduce the MediaTek USB3 dual-role controller driver. The driver can be configured as Dual-Role D

[PATCH v6, 5/5] arm64: dts: mediatek: add USB3 DRD driver

2016-09-04 Thread Chunfeng Yun
USB3 DRD driver is added for MT8173-EVB, and xHCI driver becomes its subnode Signed-off-by: Chunfeng Yun --- arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 46 +-- arch/arm64/boot/dts/mediatek/mt8173.dtsi| 29 + 2 files changed, 66 insertions(+), 9

[PATCH v6, 1/5] dt-bindings: mt8173-xhci: support host side of dual-role mode

2016-09-04 Thread Chunfeng Yun
Some resources, such as IPPC register etc, shared with device driver are moved into common glue layer when xHCI driver is the host side of dual-role mode and they should be changed as optional properties if they are required ones before. For clarity, add a new part of binding to support host side o

Re: [PATCH v2] ARM: dts: sun8i: Add dts file for the NanoPi NEO SBC

2016-09-04 Thread kbuild test robot
Hi James, [auto build test ERROR on mripard/sunxi/for-next] [also build test ERROR on v4.8-rc5 next-20160825] [cannot apply to robh/for-next] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --

[PATCH v6, 2/5] dt-bindings: mt8173-mtu3: add devicetree bindings

2016-09-04 Thread Chunfeng Yun
add a DT binding doc for MediaTek USB3 DRD driver Signed-off-by: Chunfeng Yun Acked-by: Rob Herring --- .../devicetree/bindings/usb/mt8173-mtu3.txt| 87 1 file changed, 87 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/mt8173-mtu3.txt dif

[PATCH v6, 4/5] usb: Add MediaTek USB3 DRD Driver

2016-09-04 Thread Chunfeng Yun
This patch adds support for the MediaTek USB3 controller integrated into MT8173. It can be configured as Dual-Role Device (DRD), Peripheral Only and Host Only (xHCI) modes. Signed-off-by: Chunfeng Yun --- drivers/usb/Kconfig|2 + drivers/usb/Makefile |1 + d

[PATCH v6, 3/5] usb: xhci-mtk: make IPPC register optional

2016-09-04 Thread Chunfeng Yun
Make IPPC register optional to support host side of dual-role mode, due to it is moved into common glue layer for simplification. Signed-off-by: Chunfeng Yun --- drivers/usb/host/xhci-mtk.c | 36 +--- 1 file changed, 29 insertions(+), 7 deletions(-) diff --git

Re: [RFC PATCH V5 5/5] PCI: thunder-pem: Support quirky configuration space access for ACPI based PCI host controller

2016-09-04 Thread Bjorn Helgaas
On Mon, Aug 08, 2016 at 03:05:41PM +0200, Tomasz Nowicki wrote: > Add infrastructure to support ThunderX PEM specific PCI configuration space > access for ACPI based PCI host controller. This involves: > 1. New initialization call thunder_pem_cfg_init() to create configuration > space mapping based

Re: [PATCH v4] ARM: imx: Added perf functionality to mmdc driver

2016-09-04 Thread Shawn Guo
On Wed, Aug 31, 2016 at 12:00:29PM -0500, Zhengyu Shen wrote: > MMDC is a multi-mode DDR controller that supports DDR3/DDR3L x16/x32/x64 > and LPDDR2 two channel x16/x32 memory types. MMDC is configurable, high > performance, and optimized. MMDC is present on i.MX6 Quad and i.MX6 > QuadPlus devices

Re: [kbuild-all] video-vga.c:undefined reference to `__gcov_init'

2016-09-04 Thread Fengguang Wu
Hi Joe, On Sun, Sep 04, 2016 at 07:18:22PM -0700, Joe Perches wrote: On Mon, 2016-09-05 at 10:13 +0800, kbuild test robot wrote: Hi Joe, Hi Fengguang FYI, the error/warning still remains. Is this really my responsibility? I don't think so. I didn't submit this patch to stable. I don't kno

Re: [RFC PATCH V5 4/5] ARM64/PCI: Start using quirks handling for ACPI based PCI host controller

2016-09-04 Thread Bjorn Helgaas
On Mon, Aug 08, 2016 at 03:05:40PM +0200, Tomasz Nowicki wrote: > Since there are platforms which have non-compliant ECAM space we need to > override these accessors prior to PCI buses enumeration. In order to do > that we call pci_mcfg_match_quirks() to retrieve custom > pci_config_window structur

Re: [PATCH v4 1/2] nxp/dts: add pcie aer interrupt-name property in the dts

2016-09-04 Thread Shawn Guo
On Wed, Aug 31, 2016 at 02:37:21PM +0800, Po Liu wrote: > NXP some platforms aer interrupt was not MSI/MSI-X/INTx > but using interrupt line independently. This patch add a "aer" > interrupt-names for aer interrupt. > With the interrupt-names "aer", code could probe aer interrupt > line for pcie ro

Re: [RFC PATCH V5 3/5] PCI: Check platform specific ECAM quirks

2016-09-04 Thread Bjorn Helgaas
On Mon, Aug 08, 2016 at 03:05:39PM +0200, Tomasz Nowicki wrote: > Some platforms may not be fully compliant with generic set of PCI config > accessors. For these cases we implement the way to overwrite accessors > set. Algorithm traverses available quirk list (static array), > matches against and

Re: [RFC PATCH V5 2/5] PCI/ACPI: Move ACPI ECAM mapping to generic MCFG driver

2016-09-04 Thread Bjorn Helgaas
On Mon, Aug 08, 2016 at 03:05:38PM +0200, Tomasz Nowicki wrote: > pci_acpi_setup_ecam_mapping() is not really ARM64 specific so move it out > of arch/arm64/ directory. In preparation for adding MCFG quirk handling > extend pci_acpi_setup_ecam_mapping() functionality to accept custom > PCI config ac

Re: [RFC PATCH V5 1/5] PCI: Embed pci_ecam_ops in pci_config_window structure

2016-09-04 Thread Bjorn Helgaas
On Fri, Sep 02, 2016 at 04:38:45PM +0100, Lorenzo Pieralisi wrote: > On Thu, Sep 01, 2016 at 01:23:45PM -0500, Bjorn Helgaas wrote: > > On Mon, Aug 08, 2016 at 03:05:37PM +0200, Tomasz Nowicki wrote: > > > pci_config_window keeps pointer to pci_ecam_ops and every time > > > we want to deallocate pc

Re: [PATCH v4] ARM: dts: imx6ul-geam: Add Engicam IMX6UL GEA M6UL initial support

2016-09-04 Thread Shawn Guo
On Tue, Aug 30, 2016 at 06:46:21PM +0530, Jagan Teki wrote: > From: Michael Trimarchi > > IMX6UL GEA M6UL modules are system on module solutions manufactured > by Engicam with following characteristics: > Processor Freescale i.MX 6UltraLite MCIMX6G2, 528 MHz > RAM 128MB, 16-bit DDR3

Re: [RFC 0/4] ZRAM: make it just store the high compression rate page

2016-09-04 Thread Minchan Kim
On Thu, Aug 25, 2016 at 04:25:30PM +0800, Hui Zhu wrote: > On Thu, Aug 25, 2016 at 2:09 PM, Sergey Senozhatsky > wrote: > > Hello, > > > > On (08/22/16 16:25), Hui Zhu wrote: > >> > >> Current ZRAM just can store all pages even if the compression rate > >> of a page is really low. So the compress

Re: video-vga.c:undefined reference to `__gcov_init'

2016-09-04 Thread Joe Perches
On Mon, 2016-09-05 at 10:13 +0800, kbuild test robot wrote: > Hi Joe, Hi Fengguang > FYI, the error/warning still remains. Is this really my responsibility? I don't think so. I didn't submit this patch to stable. I don't know nor care really who did, but I think the robot should ping the stable

video-vga.c:undefined reference to `__gcov_init'

2016-09-04 Thread kbuild test robot
Hi Joe, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: c6935931c1894ff857616ff8549b61236a19148f commit: cb984d101b30eb7478d32df56a0023e4603cba7f compiler-gcc: integrate the various compiler-gcc[345].h files date:

Re: [RFC 0/4] ZRAM: make it just store the high compression rate page

2016-09-04 Thread Minchan Kim
Hello Hui, On Mon, Aug 22, 2016 at 04:25:05PM +0800, Hui Zhu wrote: > Current ZRAM just can store all pages even if the compression rate > of a page is really low. So the compression rate of ZRAM is out of > control when it is running. > In my part, I did some test and record with ZRAM. The comp

linux-next: manual merge of the btrfs-kdave tree with Linus' tree

2016-09-04 Thread Stephen Rothwell
Hi David, Today's linux-next merge of the btrfs-kdave tree got a conflict in: fs/btrfs/send.c between commit: 3dc09ec895f0 ("Btrfs: kill invalid ASSERT() in process_all_refs()") from Linus' tree and commit: 8e991cbbea49 ("Btrfs: handle pending renames with recycled inodes properly") fr

[PATCH v14 4/4] CMDQ: save more energy in idle

2016-09-04 Thread HS Liao
Use clk_disable_unprepare instead of clk_disable to save more energy when CMDQ is idle. Signed-off-by: HS Liao --- drivers/mailbox/mtk-cmdq.c | 54 +++--- 1 file changed, 46 insertions(+), 8 deletions(-) diff --git a/drivers/mailbox/mtk-cmdq.c b/drivers/m

[PATCH v14 3/4] arm64: dts: mt8173: Add GCE node

2016-09-04 Thread HS Liao
This patch adds the device node of the GCE hardware for CMDQ module. Signed-off-by: HS Liao --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index 10f6

[PATCH v14 2/4] CMDQ: Mediatek CMDQ driver

2016-09-04 Thread HS Liao
This patch is first version of Mediatek Command Queue(CMDQ) driver. The CMDQ is used to help write registers with critical time limitation, such as updating display configuration during the vblank. It controls Global Command Engine (GCE) hardware to achieve this requirement. Currently, CMDQ only su

[PATCH v14 1/4] dt-bindings: soc: Add documentation for the MediaTek GCE unit

2016-09-04 Thread HS Liao
This adds documentation for the MediaTek Global Command Engine (GCE) unit found in MT8173 SoCs. Signed-off-by: HS Liao Acked-by: Rob Herring --- .../devicetree/bindings/mailbox/mtk-gce.txt| 43 ++ 1 file changed, 43 insertions(+) create mode 100644 Documentation/dev

[PATCH v14 0/4] Mediatek MT8173 CMDQ support

2016-09-04 Thread HS Liao
Hi, This is Mediatek MT8173 Command Queue(CMDQ) driver. The CMDQ is used to help write registers with critical time limitation, such as updating display configuration during the vblank. It controls Global Command Engine (GCE) hardware to achieve this requirement. These patches have a build depen

Re: [PATCH v4 1/2] serial: 8250_dw: make dw8250_set_termios as default set_termios callback

2016-09-04 Thread Kefeng Wang
On 2016/9/2 19:21, Heikki Krogerus wrote: > On Wed, Aug 31, 2016 at 03:07:56PM +0300, Heikki Krogerus wrote: >> Hi, >> >> On Wed, Aug 31, 2016 at 11:29:11AM +0800, Kefeng Wang wrote: >>> Make dw8250_set_termios() handle all cases of dw8250_data->clk properly, >>> then we can safely use dw8250_set

Re: [v14 PATCH 2/5] phy: Add USB Type-C PHY driver for rk3399

2016-09-04 Thread Chanwoo Choi
Dear all, On 2016년 08월 24일 14:17, Chris Zhong wrote: > Add a PHY provider driver for the rk3399 SoC Type-c PHY. The USB > Type-C PHY is designed to support the USB3 and DP applications. > The USB3 operates in SuperSpeed mode and the DP can operate at RBR, > HBR and HBR2 data rates. This driver cre

linux-next: manual merge of the arm64 tree with Linus' tree

2016-09-04 Thread Stephen Rothwell
Hi Catalin, Today's linux-next merge of the arm64 tree got a conflict in: arch/arm64/kernel/head.S between commit: fd363bd417dd ("arm64: avoid TLB conflict with CONFIG_RANDOMIZE_BASE") from Linus' tree and commit: 3c5e9f238bc4 ("arm64: head.S: move KASLR processing out of __enable_mmu()

Re: kvm guest softlockup

2016-09-04 Thread Wanpeng Li
2016-09-01 20:13 GMT+08:00 Wanpeng Li : > I observed that full dynticks kvm guest(w/o > CONFIG_IRQ_TIME_ACCOUNTING) softlockup after host machine > suspend/resume, and always CPU0 stuck. > > [ 186.311397] NMI watchdog: BUG: soft lockup - CPU#0 stuck for 65s! > [qemu-system-x86:2138] > [ 186.31349

[lkp] [blk] fb205598f2: general protection fault: 0000 [#1] SMP

2016-09-04 Thread kernel test robot
FYI, we noticed the following commit: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git blk-dio commit fb205598f24363aae7b7e4bbb6c95cecc7c0d821 ("blk-mq: private O_DIRECT implementation") in testcase: boot on test machine: qemu-system-x86_64 -enable-kvm -cpu host -smp 2 -m

linux-next: manual merge of the samsung-krzk tree with the arm-soc tree

2016-09-04 Thread Stephen Rothwell
Hi Krzysztof, Today's linux-next merge of the samsung-krzk tree got a conflict in: arch/arm64/boot/dts/exynos/exynos7.dtsi between commit: 585dcacac6bb ("arm64: dts: Fix broken architected timer interrupt trigger") from the arm-soc tree and commit: 36d1c9cd07cd ("arm64: dts: exynos: Use

RE: [PATCH] Btrfs: remove unnecessary code of chunk_root assignment in btrfs_read_chunk_tree.

2016-09-04 Thread Zhao Lei
Hi, Sean Fu > From: Sean Fu [mailto:fxinr...@gmail.com] > Sent: Sunday, September 04, 2016 7:54 PM > To: dste...@suse.com > Cc: c...@fb.com; anand.j...@oracle.com; fdman...@suse.com; > zhao...@cn.fujitsu.com; linux-bt...@vger.kernel.org; > linux-kernel@vger.kernel.org; Sean Fu > Subject: [PATCH]

Re: [PATCH 2/5 v2] thermal: rcar_gen3_thermal: Add R-Car Gen3 thermal driver

2016-09-04 Thread Kuninori Morimoto
Hi > Khiem Nguyen (5): > thermal: rcar_gen3_thermal: Document the R-Car Gen3 thermal bindings > thermal: rcar_gen3_thermal: Add R-Car Gen3 thermal driver support > arm64: dts: r8a7795: Add R-Car Gen3 thermal support > arm64: dts: r8a7796: Add R-Car Gen3 thermal support > arm64: defconfig: En

linux-next: manual merge of the arm-soc tree with Linus' tree

2016-09-04 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in: arch/arm/mach-realview/core.c between commit: 2fb04fdf3019 ("net: smc91x: fix SMC accesses") from Linus' tree and commit: 7484c727b636 ("ARM: realview: delete the RealView board files") from the arm-soc tree. I fi

vgacon.c:undefined reference to `screen_info'

2016-09-04 Thread kbuild test robot
Hi Chen, It's probably a bug fix that unveils the link errors. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: c6935931c1894ff857616ff8549b61236a19148f commit: f69405ce6c0fc9f4a039011007371b31f80b470d openrisc: include: asm: Kbuild: add default "vga.h"

[PATCH v2] ARM: dts: sun8i: Add dts file for the NanoPi NEO SBC

2016-09-04 Thread James Pettigrew
The NanoPi NEO is a minimal H3 based SBC. It comes with 256/512M RAM, a micro SD slot, 10/100Mbit ethernet and a single USB-A port. Signed-off-by: James Pettigrew --- Changes in v2: As per Rask's review (thank you): Added vendor prefix Removed unncessary input.h include

Re: [PATCH] KVM: nVMX: pass valid guest linear-address to the L1

2016-09-04 Thread Wanpeng Li
2016-09-05 2:22 GMT+08:00 Jan Dakinevich : > If EPT support is exposed to L1 hypervisor, guest linear-address field > of VMCS should contain GVA of L2, the access to which caused EPT violation. > > Signed-off-by: Jan Dakinevich > --- > arch/x86/kvm/vmx.c | 3 +++ > 1 file changed, 3 insertions(+)

Re: [PATCH 4/5] PM / devfreq: rockchip: add devfreq driver for rk3399 dmc

2016-09-04 Thread Chanwoo Choi
Dear all, This patch rely on both rockchip.git and devfreq.git. Already, Rockchip SoC Maintainer (Heiko Stuebner) created the immutable branch[1]. When applying these patches on devfreq.git with pulling the immutable branch[1], It looks like that should not be a problem. [1] http://www.spinics.ne

Re: [PATCH v9 3/5] Documentation: bindings: add dt documentation for rk3399 dmc

2016-09-04 Thread Chanwoo Choi
Hi Lin, Looks good to me. I add one comment on below. If you modify it according to my comment, feel free to add my tag. Reviewed-by: Chanwoo Choi On 2016년 09월 03일 06:08, Lin Huang wrote: > This patch adds the documentation for rockchip rk3399 dmc driver. > > Signed-off-by: Lin Huang > --- >

  1   2   3   >