[PATCH 4/4] arm64: dts: mediatek: Add Video Decoder for MT8173

2016-09-06 Thread Tiffany Lin
Add video decoder node for MT8173 Signed-off-by: Tiffany Lin --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 44 ++ 1 file changed, 44 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index 10f638f..2872

[PATCH 2/4] docs-rst: Add compressed video formats used on MT8173 codec driver

2016-09-06 Thread Tiffany Lin
Add V4L2_PIX_FMT_MT21C documentation Signed-off-by: Tiffany Lin --- Documentation/media/uapi/v4l/pixfmt-reserved.rst |6 ++ 1 file changed, 6 insertions(+) diff --git a/Documentation/media/uapi/v4l/pixfmt-reserved.rst b/Documentation/media/uapi/v4l/pixfmt-reserved.rst index 0dd2f7f..2e

[PATCH 1/4] v4l: add Mediatek compressed video block format

2016-09-06 Thread Tiffany Lin
Add V4L2_PIX_FMT_MT21C format used on MT8173 driver. It is compressed format and need MT8173 MDP driver to transfer to other standard format. Signed-off-by: Tiffany Lin --- drivers/media/v4l2-core/v4l2-ioctl.c |1 + include/uapi/linux/videodev2.h |1 + 2 files changed, 2 insertions

[PATCH 0/4] Add V4L2_PIX_FMT_MT21C format for MT8173 codec driver

2016-09-06 Thread Tiffany Lin
This patch series add Mediatek compressed block format V4L2_PIX_FMT_MT21C, the decoder driver will decoded bitstream to V4L2_PIX_FMT_MT21C format. User space applications could use MT8173 MDP driver to convert V4L2_PIX_FMT_MT21C to V4L2_PIX_FMT_NV12M, V4L2_PIX_FMT_YUV420M and V4L2_PIX_FMT_YVU420.

[PATCH 3/4] vcodec: mediatek: Add V4L2_PIX_FMT_MT21C support for v4l2 decoder

2016-09-06 Thread Tiffany Lin
Add V4L2_PIX_FMT_MT21C support Signed-off-by: Tiffany Lin --- drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c |7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c b/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c i

Re: [PATCH] usb: dwc3: host: inherit dma configuration from parent dev

2016-09-06 Thread Felipe Balbi
Arnd Bergmann writes: > On Tuesday, September 6, 2016 1:50:48 PM CEST Felipe Balbi wrote: >> Hi, >> >> Arnd Bergmann writes: >> > On Tuesday, September 6, 2016 9:40:19 AM CEST Felipe Balbi wrote: >> >> >> >> this only solves the problem for DT devices. Legacy devices and >> >> PCI-based system

Re: [PATCH 1/1] usb: xhci: fix return value of xhci_setup_device()

2016-09-06 Thread Mathias Nyman
On 07.09.2016 09:22, Lu Baolu wrote: From: "Lu, Baolu" xhci_setup_device() should return failure with correct error number when xhci host has died, removed or halted. Thanks, will add. Might go to 4.9 as 4.8-rc5 is already out -Mathias

Re: [PATCH v3] sched/cputime: Protect some other sum_exec_runtime reads on 32 bit cpus

2016-09-06 Thread Peter Zijlstra
On Tue, Sep 06, 2016 at 09:01:29PM +0200, Peter Zijlstra wrote: > > diff --git a/kernel/time/posix-cpu-timers.c b/kernel/time/posix-cpu-timers.c > > index 39008d7..a2d753b 100644 > > --- a/kernel/time/posix-cpu-timers.c > > +++ b/kernel/time/posix-cpu-timers.c > > @@ -848,7 +848,7 @@ static void ch

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

2016-09-06 Thread Greg KH
On Tue, Sep 06, 2016 at 04:07:17PM +, Stephen Hemminger wrote: > How about I setup a git tree (hyperv-next) to premerge these. > > We are getting changes from multiple submitters through multiple trees now. That's because there are multiple drivers in different subsystems, so having a single

Re: [PATCH v2 4/7] clk: sunxi-ng: Add N-class clocks support

2016-09-06 Thread Chen-Yu Tsai
On Tue, Sep 6, 2016 at 8:18 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 > --- [...] > diff --git a/drivers/clk/sunxi-ng/ccu_mult.c b/drivers/clk/sunxi-ng/ccu_mult.c > new file mode 1

[PATCH v3] ASoC: rockchip: spdif: restore register during runtime_suspend/resume cycle

2016-09-06 Thread Sugar Zhang
when step into runtime_suspend, spdif pd will be disabled and loss state. so need to restore register when runtime_resume. Signed-off-by: Sugar Zhang --- Changes in v3: - remove unneeded initialization Changes in v2: - remove system suspend/resume and restore register in runtime_suspend/resu

Re: [PATCH v4 1/5] MAINTAINERS: extend firmware_class maintainer list

2016-09-06 Thread Greg KH
On Tue, Sep 06, 2016 at 05:42:06PM -0700, Luis R. Rodriguez wrote: > I've been reviewing changes proactively, and plan on doing > more of this work. I'm doing this early as I should be getting > e-mailed about proposed changes. > > Signed-off-by: Luis R. Rodriguez > --- > MAINTAINERS | 1 + > 1

Re: [PATCH v3] sched/cputime: Protect some other sum_exec_runtime reads on 32 bit cpus

2016-09-06 Thread Stanislaw Gruszka
On Tue, Sep 06, 2016 at 09:01:29PM +0200, Peter Zijlstra wrote: > On Tue, Sep 06, 2016 at 02:49:08PM +0200, Stanislaw Gruszka wrote: > > diff --git a/kernel/exit.c b/kernel/exit.c > > index 2f974ae..a46f96f 100644 > > --- a/kernel/exit.c > > +++ b/kernel/exit.c > > @@ -134,7 +134,7 @@ static void _

Re: ACPI-video: Fine-tuning for several function implementations

2016-09-06 Thread SF Markus Elfring
> Your patches happen to modify code maintained by me. From my > perspective the value of the changes made by them is marginal. Thanks for another bit of interesting information. > Nevertheless, I might take them if you made my life somewhat easier, I am also looking for further approaches to

Re: [PATCH v10 3/3] drm/panel: Add JDI LT070ME05000 WUXGA DSI Panel

2016-09-06 Thread Vinay Simha
thierry, please review. On Fri, Aug 26, 2016 at 8:07 AM, Vinay Simha BN wrote: > Add support for the JDI LT070ME05000 WUXGA DSI panel used in > Nexus 7 2013 devices. > > Programming sequence for the panel is was originally found in the > android-msm-flo-3.4-lollipop-release branch from: > ht

[PATCH v3] ASoC: rockchip: i2s: restore register during runtime_suspend/resume cycle

2016-09-06 Thread Sugar Zhang
when step into runtime_suspend, i2s pd will be disabled and loss state. so need to restore register when runtime_resume. Signed-off-by: Sugar Zhang --- Changes in v3: - remove unneeded initialization Changes in v2: - remove system suspend/resume and restore register in runtime_suspend/resume

Re: [PATCH v3 2/3] dt-bindings: Add jdi lt070me05000 panel bindings

2016-09-06 Thread Vinay Simha
thierry, please review. On Fri, Aug 26, 2016 at 8:07 AM, Vinay Simha BN wrote: > Add documentation for lt070me05000 panel > > Cc: Archit Taneja > Cc: John Stultz > Cc: Thierry Reding > Cc: Sumit Semwal > Signed-off-by: Vinay Simha BN > Acked-by: Rob Herring > > --- > v2: > * incorporated

Re: [PATCH] hwmon: xgene: Fix crash when alarm occurs before driver probe

2016-09-06 Thread Guenter Roeck
On 09/06/2016 11:07 PM, Hoan Tran wrote: Hi Guenter, On Tue, Sep 6, 2016 at 10:50 PM, Guenter Roeck wrote: On 09/06/2016 10:21 PM, Hoan Tran wrote: Hi Guenter, Thank for your quick review ! On Tue, Sep 6, 2016 at 9:35 PM, Guenter Roeck wrote: On 09/06/2016 08:46 PM, Hoan Tran wrote:

Re: [PATCH] usb: dwc3: host: inherit dma configuration from parent dev

2016-09-06 Thread Peter Chen
On Tue, Sep 06, 2016 at 12:38:29PM +0200, Arnd Bergmann wrote: > On Tuesday, September 6, 2016 2:35:29 PM CEST Peter Chen wrote: > > On Mon, Sep 05, 2016 at 05:39:27PM +0200, Arnd Bergmann wrote: > > > On Friday, September 2, 2016 5:16:31 PM CEST Leo Li wrote: > > > > > > > Most of these are prob

Re: [PATCH 1/2] x86: paravirt: add local_apic_timer_interrupt to pv_ops

2016-09-06 Thread kbuild test robot
Hi Paolo, [auto build test ERROR on tip/x86/core] [also build test ERROR on v4.8-rc5 next-20160906] [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 --base=auto for convenience) to rec

Re: [PATCH 4.7 000/143] 4.7.3-stable review

2016-09-06 Thread Greg Kroah-Hartman
On Tue, Sep 06, 2016 at 12:02:33PM -0600, Shuah Khan wrote: > On 09/05/2016 10:42 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.7.3 release. > > There are 143 patches in this series, all will be posted as a response > > to this one. If anyone has any issu

Re: [PATCH 4.7 000/143] 4.7.3-stable review

2016-09-06 Thread Greg Kroah-Hartman
On Tue, Sep 06, 2016 at 10:04:20AM -0700, Guenter Roeck wrote: > On Mon, Sep 05, 2016 at 06:42:56PM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.7.3 release. > > There are 143 patches in this series, all will be posted as a response > > to this one. I

[PATCH v2] vcodec: mediatek: add Maintainers entry for Mediatek MT8173 vcodec drivers

2016-09-06 Thread Tiffany Lin
Add Tiffany Lin and Andrew-CT Chen as maintainers for Mediatek MT8173 vcodec drivers Signed-off-by: Tiffany Lin Signed-off-by: Andrew-CT Chen --- v2: Rename MT8173 MEDIA DRIVER to MEDIATEK MEDIA DRIVER --- MAINTAINERS |9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b

Re: [PATCH 1/2] x86: paravirt: add local_apic_timer_interrupt to pv_ops

2016-09-06 Thread kbuild test robot
Hi Paolo, [auto build test ERROR on tip/x86/core] [also build test ERROR on v4.8-rc5 next-20160906] [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 --base=auto for convenience) to rec

[PATCH 1/1] usb: xhci: fix return value of xhci_setup_device()

2016-09-06 Thread Lu Baolu
From: "Lu, Baolu" xhci_setup_device() should return failure with correct error number when xhci host has died, removed or halted. Cc: sta...@vger.kernel.org # 4.3+ Signed-off-by: Lu Baolu --- drivers/usb/host/xhci.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers

Re: [PATCH v4] time: alarmtimer: Add the trcepoints for alarmtimer

2016-09-06 Thread Baolin Wang
Hi John, On 7 September 2016 at 14:17, John Stultz wrote: > On Tue, Sep 6, 2016 at 11:06 PM, Baolin Wang wrote: >> For system debugging, we sometimes want to know who sets one >> alarm timer, the time of the timer, when the timer started and >> fired and so on. Thus adding tracepoints can help u

[PATCH] vcodec: mediatek: Fix decoder compiler/sparse warnings

2016-09-06 Thread Tiffany Lin
This patch fix decoder compiler/sparse warnings Signed-off-by: Tiffany Lin --- .../media/platform/mtk-vcodec/vdec/vdec_h264_if.c |7 --- .../media/platform/mtk-vcodec/vdec/vdec_vp8_if.c |1 + .../media/platform/mtk-vcodec/vdec/vdec_vp9_if.c |4 ++-- drivers/media/platform/mt

Re: [PATCH v4] time: alarmtimer: Add the trcepoints for alarmtimer

2016-09-06 Thread John Stultz
On Tue, Sep 6, 2016 at 11:06 PM, Baolin Wang wrote: > For system debugging, we sometimes want to know who sets one > alarm timer, the time of the timer, when the timer started and > fired and so on. Thus adding tracepoints can help us trace the > alarmtimer information. > > For example, when we de

Re: [PATCH v1] kdump, vmcoreinfo: report memory sections virtual addresses

2016-09-06 Thread Baoquan He
On 09/07/16 at 03:09pm, AKASHI Takahiro wrote: > On Mon, Aug 29, 2016 at 06:11:37PM +0800, Baoquan He wrote: > > Hi Thomas, > > > > I used below code and it works. Since using VMCOREINFO_NUMBER can reuse > > the existing struct number_table to import the data. It makes change > > easier. But the p

[PATCH v4] time: alarmtimer: Add the trcepoints for alarmtimer

2016-09-06 Thread Baolin Wang
For system debugging, we sometimes want to know who sets one alarm timer, the time of the timer, when the timer started and fired and so on. Thus adding tracepoints can help us trace the alarmtimer information. For example, when we debug the system supend/resume, if the system is always resumed by

Re: [PATCH] hwmon: xgene: Fix crash when alarm occurs before driver probe

2016-09-06 Thread Hoan Tran
Hi Guenter, On Tue, Sep 6, 2016 at 10:50 PM, Guenter Roeck wrote: > On 09/06/2016 10:21 PM, Hoan Tran wrote: >> >> Hi Guenter, >> >> Thank for your quick review ! >> >> On Tue, Sep 6, 2016 at 9:35 PM, Guenter Roeck wrote: >>> >>> On 09/06/2016 08:46 PM, Hoan Tran wrote: The system

Re: [PATCH] vcodec: mediatek: add Maintainers entry for Mediatek MT8173 vcodec drivers

2016-09-06 Thread Yingjoe Chen
On Tue, 2016-09-06 at 14:35 +0800, Tiffany Lin wrote: > Add Tiffany Lin and Andrew-CT Chen as maintainers for > Mediatek MT8173 vcodec drivers > > Signed-off-by: Tiffany Lin > Signed-off-by: Andrew-CT Chen > --- > MAINTAINERS |9 + > 1 file changed, 9 insertions(+) > > diff --git a

Re: [PATCH v1] kdump, vmcoreinfo: report memory sections virtual addresses

2016-09-06 Thread AKASHI Takahiro
On Mon, Aug 29, 2016 at 06:11:37PM +0800, Baoquan He wrote: > Hi Thomas, > > I used below code and it works. Since using VMCOREINFO_NUMBER can reuse > the existing struct number_table to import the data. It makes change > easier. But the place could be next to KERNEL_IMAGE_SIZE, or as your > patch

Re: [PATCH v5] i2c: imx: make bus recovery through pinctrl optional

2016-09-06 Thread Uwe Kleine-König
Hello, On Tue, Sep 06, 2016 at 06:35:38PM -0500, Tracy Smith wrote: > >The patch makes it really optional that > >the probe function won't bailout but just disable the bus recovery function > >when pinctrl is not available. > > in the case of the LS1043A and LS1021A, if the bus recovery function

Re: [PATCH v2] arm64: Improve kprobes test for atomic sequence

2016-09-06 Thread Masami Hiramatsu
On Tue, 6 Sep 2016 13:54:59 -0400 David Long wrote: > From: "David A. Long" > > Kprobes searches backwards a finite number of instructions to determine if > there is an attempt to probe a load/store exclusive sequence. It stops when > it hits the maximum number of instructions or a load or sto

Re: [PATCH] hwmon: xgene: Fix crash when alarm occurs before driver probe

2016-09-06 Thread Guenter Roeck
On 09/06/2016 10:21 PM, Hoan Tran wrote: Hi Guenter, Thank for your quick review ! On Tue, Sep 6, 2016 at 9:35 PM, Guenter Roeck wrote: On 09/06/2016 08:46 PM, Hoan Tran wrote: The system crashes during probing xgene-hwmon driver when temperature alarm interrupt occurs before. It's because

Re: [PATCH 0/3] kobject tracepoints

2016-09-06 Thread Greg KH
On Tue, Sep 06, 2016 at 02:19:17PM -0600, Shuah Khan wrote: > On 09/06/2016 01:30 PM, Greg KH wrote: > > On Tue, Sep 06, 2016 at 11:49:22AM -0600, Shuah Khan wrote: > >> Add kobject trace points to track kobject operations: init, add, set_name, > >> init_and_add, create_and_add, move, rename, get,

Re: [Patch] Wireless Driver rsi changes: Firmware loading and device initialization changed for RSI-91x devices

2016-09-06 Thread Julian Calaby
Hi, On Wed, Sep 7, 2016 at 3:34 PM, Prameela Rani Garnepudi wrote: > > Hi, > > Please verify the attached patch which would need to be merged into the > main-line kernel. This patch contains the changes for Redpine Signals > wireless driver under main-line kernel directory drivers/net/wireless/rs

Re: [PATCH v7 9/9] drm/mediatek: add support for Mediatek SoC MT2701

2016-09-06 Thread CK Hu
Hi, YT: On Fri, 2016-09-02 at 19:24 +0800, YT Shen wrote: > This patch add support for the Mediatek MT2701 DISP subsystem. > There is only one OVL engine in MT2701. > > Signed-off-by: YT Shen [snip...] > diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c > b/drivers/gpu/drm/mediatek/mtk

Re: [PATCH] vcodec: mediatek: fix odd_ptr_err.cocci warnings

2016-09-06 Thread Tiffany Lin
On Tue, 2016-09-06 at 22:51 +0800, Julia Lawall wrote: > PTR_ERR should access the value just tested by IS_ERR > > Generated by: scripts/coccinelle/tests/odd_ptr_err.cocci > > CC: Tiffany Lin > Signed-off-by: Julia Lawall > Signed-off-by: Fengguang Wu Reviewed-by:Tiffany Lin > --- > > mtk

linux-next: manual merge of the ftrace tree with the tip tree

2016-09-06 Thread Stephen Rothwell
Hi Steven, Today's linux-next merge of the ftrace tree got conflicts in: include/linux/ftrace.h kernel/trace/trace_functions_graph.c between commit: daa460a88c09 ("ftrace: Only allocate the ret_stack 'fp' field when needed") from the tip tree and commit: 8861dd303cba ("ftrace: Access

Re: [PATCH] hwmon: xgene: Fix crash when alarm occurs before driver probe

2016-09-06 Thread Hoan Tran
Hi Guenter, Thank for your quick review ! On Tue, Sep 6, 2016 at 9:35 PM, Guenter Roeck wrote: > On 09/06/2016 08:46 PM, Hoan Tran wrote: >> >> The system crashes during probing xgene-hwmon driver when temperature >> alarm interrupt occurs before. >> It's because >> - xgene_hwmon_probe() reques

[PATCH] powernv: Restore SPRs correctly upon wake up from hypervisor state loss

2016-09-06 Thread Gautham R. Shenoy
From: "Gautham R. Shenoy" pnv_wakeup_tb_loss function currently expects the cr4 to be "eq" if the CPU is waking up from a complete hypervisor state loss. Hence, it currently restores the SPR contents only if cr4 is "eq". However, after the commit bcef83a00dc4 ("powerpc/powernv: Add platform supp

Re: [PATCH] powerpc/8xx: add system_reset_exception

2016-09-06 Thread Christophe Leroy
Le 07/09/2016 à 00:40, Scott Wood a écrit : On Mon, 2016-09-05 at 08:42 +0200, Christophe Leroy wrote: 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

Re: [PATCH v4 2/2] sdhci-of-arasan: Set controller to test mode when xlnx-fails-without-test-cd is present

2016-09-06 Thread Michal Simek
On 6.9.2016 22:34, Zach Brown wrote: > The sdhci controller on xilinx zynq devices will not function unless > the CD bit is provided. http://www.xilinx.com/support/answers/61064.html > In cases where it is impossible to provide the CD bit in hardware, > setting the controller to test mode and then

Re: [PATCH 2/2] sdhci-of-arasan: Set controller to test mode when fails-without-test-cd is present

2016-09-06 Thread Michal Simek
On 6.9.2016 20:51, Zach Brown wrote: > On Tue, Aug 30, 2016 at 07:47:17AM +0200, Michal Simek wrote: >> On 30.8.2016 01:20, Zach Brown wrote: >>> The sdhci controller on xilinx zynq devices will not function unless >>> the CD bit is provided. http://www.xilinx.com/support/answers/61064.html >>> In

Re: [PATCH 5/5] mm: cleanup pfn_t usage in track_pfn_insert()

2016-09-06 Thread Anshuman Khandual
On 09/06/2016 10:19 PM, Dan Williams wrote: > Now that track_pfn_insert() is no longer used in the DAX path, it no > longer needs to comprehend pfn_t values. > > Signed-off-by: Dan Williams > --- > arch/x86/mm/pat.c |4 ++-- > include/asm-generic/pgtable.h |4 ++-- > mm/memor

Re: [PATCH 2/2] ARM: dts: am57xx-beagle-x15: Add support for rev B1

2016-09-06 Thread Sekhar Nori
On Wednesday 07 September 2016 01:35 AM, Tony Lindgren wrote: > And the am335x shared dtsi files are not enough. It's silly how many > times we're duplicating the same things over and over again for USB > setup for various am335x boards for example. > > So my take is that we need more shared dtsi

Re: [PATCH] thermal: cpu_cooling: Fix wrong comment call function name

2016-09-06 Thread Viresh Kumar
On 07-09-16, 09:35, Inhyuk Kang wrote: > The last_load is updated not cpufreq_get_actual_power() function call > but cpufreq_get_requested_power() function call. > > Signed-off-by: Inhyuk Kang > > diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal/cpu_cooling.c > index a32b417..9ce0e9e

Re: [PATCH 1/1] cpufreq: pcc-cpufreq: Re-introduce deadband effect to reduce number of frequency changes

2016-09-06 Thread Viresh Kumar
On 01-09-16, 15:21, Andreas Herrmann wrote: > On Mon, Aug 29, 2016 at 11:31:53AM +0530, Viresh Kumar wrote: > > I am _really_ worried about such hacks in drivers to negate the effect of a > > patch, that was actually good. > > > Did you try to increase the sampling period of ondemand governor to

Re: [PATCH v7 8/9] drm/mediatek: update DSI sub driver flow

2016-09-06 Thread CK Hu
Hi, YT: On Fri, 2016-09-02 at 19:24 +0800, YT Shen wrote: > This patch update enable/disable flow of DSI module and MIPI TX module > > Signed-off-by: shaoming chen > Signed-off-by: YT Shen > --- I think the description is too simple. Please briefly describe WHY of this patch. The original enab

Re: [PATCH 0/7] drm/sun4i: Introduce A33 display driver

2016-09-06 Thread Chen-Yu Tsai
On Wed, Sep 7, 2016 at 2:54 AM, Maxime Ripard wrote: > On Tue, Sep 06, 2016 at 10:50:09AM +0800, Chen-Yu Tsai wrote: >> >> The implementation might be along the lines of >> >> >> >> 1. having multiple output ports, each for a different interface type. >> >> (Some platforms go this route) >>

Re: [PATCH 3/5] arm64: Handle TRAP_HWBRKPT for user mode as well

2016-09-06 Thread Pratyush Anand
On 06/09/2016:05:36:18 PM, David Long wrote: > On 09/06/2016 12:11 PM, Catalin Marinas wrote: > > On Tue, Aug 02, 2016 at 11:00:07AM +0530, Pratyush Anand wrote: > > > --- a/arch/arm64/kernel/debug-monitors.c > > > +++ b/arch/arm64/kernel/debug-monitors.c > > > @@ -246,6 +246,8 @@ static void send_

Re: [PATCH] hwmon: xgene: Fix crash when alarm occurs before driver probe

2016-09-06 Thread Guenter Roeck
On 09/06/2016 08:46 PM, Hoan Tran wrote: The system crashes during probing xgene-hwmon driver when temperature alarm interrupt occurs before. It's because - xgene_hwmon_probe() requests PCC mailbox channel which also enables the mailbox interrupt. - As temperature alarm interrupt is pending, IS

Re: [PATCH v1 1/1] x86/platform/intel-mid: Implement power off sequence

2016-09-06 Thread kbuild test robot
Hi Andy, [auto build test WARNING on tip/auto-latest] [also build test WARNING on next-20160906] [cannot apply to tip/x86/core v4.8-rc5] [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 --b

RE: [v11, 7/8] base: soc: introduce soc_device_match() interface

2016-09-06 Thread Y.B. Lu
Hi Anrd and Uffe, Thank you for your comment. Please see my comment inline. Best regards, Yangbo Lu > -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > Sent: Tuesday, September 06, 2016 8:46 PM > To: Ulf Hansson > Cc: Y.B. Lu; linux-mmc; Scott Wood; linuxppc-...@lists.o

[PATCH] clk: qoriq: add ls1046a support

2016-09-06 Thread shh.xie
From: Mingkai Hu Signed-off-by: Mingkai Hu Signed-off-by: Shaohui Xie --- drivers/clk/clk-qoriq.c | 41 + 1 file changed, 41 insertions(+) diff --git a/drivers/clk/clk-qoriq.c b/drivers/clk/clk-qoriq.c index 3d1b6f5..f35e5d0 100644 --- a/drivers/clk/clk

Re: [PATCH V3] mm: Add sysfs interface to dump each node's zonelist information

2016-09-06 Thread Anshuman Khandual
On 09/07/2016 08:38 AM, Kees Cook wrote: > On Tue, Sep 6, 2016 at 1:36 PM, Dave Hansen wrote: >> On 09/06/2016 01:31 AM, Anshuman Khandual wrote: >>> [NODE (0)] >>> ZONELIST_FALLBACK >>> (0) (node 0) (zone DMA c140c000) >>> (1) (node 1) (zone DMA c001) >

linux-next: manual merge of the drm-intel tree with the drm tree

2016-09-06 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-intel tree got a conflict in: include/drm/drmP.h between commit: c4e68a583202 ("drm: Introduce DRM_DEV_* log messages") from the drm tree and commit: 30b0da8d556e ("drm: extra printk() wrapper macros") from the drm-intel tree. I fixed it up

Re: [PATCH] drm/bridge: analogix_dp: detect Sink PSR state after configuring the PSR

2016-09-06 Thread Yakir Yang
Sean, Thanks for your comments. On 09/07/2016 03:51 AM, Sean Paul wrote: On Fri, Aug 26, 2016 at 6:19 AM, Yakir Yang wrote: Make sure the request PSR state could effect in analogix_dp_send_psr_spd() function, or printing the error Sink PSR state if we failed to effect the request PSR setting.

[PATCH] hwmon: xgene: Fix crash when alarm occurs before driver probe

2016-09-06 Thread Hoan Tran
The system crashes during probing xgene-hwmon driver when temperature alarm interrupt occurs before. It's because - xgene_hwmon_probe() requests PCC mailbox channel which also enables the mailbox interrupt. - As temperature alarm interrupt is pending, ISR runs and crashes when accesses into inval

Re: [PATCH] MAINTAINERS: Update RDC-321x southbridge email

2016-09-06 Thread Joe Perches
On Tue, 2016-09-06 at 20:23 -0700, Florian Fainelli wrote: > Signed-off-by: Florian Fainelli > --- > MAINTAINERS | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > > diff --git a/MAINTAINERS b/MAINTAINERS > index 5ec858e61ddb..9d9afd2baf89 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS

[PATCH] MAINTAINERS: Update email for VLYNQ bus entry

2016-09-06 Thread Florian Fainelli
Signed-off-by: Florian Fainelli --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 9d9afd2baf89..da2a1613c89c 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -12574,7 +12574,7 @@ F: include/linux/if_*vlan.h F: net/8021q/

[PATCH] MAINTAINERS: Update RDC-321x southbridge email

2016-09-06 Thread Florian Fainelli
Signed-off-by: Florian Fainelli --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 5ec858e61ddb..9d9afd2baf89 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -9822,7 +9822,7 @@ T:git git://git.kernel.org/pub/scm/linux/kernel/

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

2016-09-06 Thread chengchao
Oleg, thank you very much. on 09/06/2016 11:22 PM, Oleg Nesterov wrote: > On 09/06, chengchao wrote: >> >> the key point is for CONFIG_PREEMPT_NONE=y, >> ... >> it is too much overhead for one task(fork()+exec()), isn't it? > > Yes, yes, I see, this is suboptimal. Not sure we actually do care, >

Re: [PATCH] Fix chance of sign extension to nsec after its msb is set during calculation.

2016-09-06 Thread John Stultz
On Fri, Sep 2, 2016 at 11:30 AM, Thomas Gleixner wrote: > On Fri, 2 Sep 2016, Thomas Gleixner wrote: >> On Thu, 1 Sep 2016, Liav Rehana wrote: >> > From: Liav Rehana >> > >> > During the calculation of the nsec variable, "delta * tkr->mult" may cause >> > overflow to the msb, if the suspended tim

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

2016-09-06 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in: drivers/net/ethernet/qlogic/qed/qed_dcbx.c between commit: 561ed23331df ("qed: fix kzalloc-simple.cocci warnings") from the net tree and commit: 2591c280c375 ("qed: Remove OOM messages") from the net-next tree. I

Re: [PATCH V3] mm: Add sysfs interface to dump each node's zonelist information

2016-09-06 Thread Kees Cook
On Tue, Sep 6, 2016 at 1:36 PM, Dave Hansen wrote: > On 09/06/2016 01:31 AM, Anshuman Khandual wrote: >> [NODE (0)] >> ZONELIST_FALLBACK >> (0) (node 0) (zone DMA c140c000) >> (1) (node 1) (zone DMA c001) >> (2) (node 2) (zone DMA c002000

[PATCH 1/1] usb: dwc3: avoid setting ClearPendIn for Intel Cherry Trail devices

2016-09-06 Thread Lu Baolu
Commit 50c763f8c1bac ("usb: dwc3: Set the ClearPendIN bit on Clear Stall EP command") causes Clear Stall EP command failure on Intel Cherry Trail devices. This patch add a quirk to avoid setting this bit for those Intel devices. Cc: sta...@vger.kernel.org # 4.7+ Signed-off-by: Lu Baolu --- drive

RE: [PATCH] ARM: imx: build cpuidle-imx6sx.c for imx6ul

2016-09-06 Thread Anson Huang
Sorry, please ignore this patch, Arnd Bergmann has summited a patch to fix this issue. Best Regards! Anson Huang > -Original Message- > From: linux-arm-kernel [mailto:linux-arm-kernel-boun...@lists.infradead.org] > On Behalf Of Anson Huang > Sent: 2016-09-07 6:31 PM > To: linux-arm-ke

[PATCH] ARM: imx: build cpuidle-imx6sx.c for imx6ul

2016-09-06 Thread Anson Huang
Fix build error when CONFIG_SOC_IMX6SX is disabled, as i.MX6UL reuses i.MX6SX's cpuidle driver. arch/arm/mach-imx/built-in.o: In function `imx6ul_init_late': platform-spi_imx.c:(.init.text+0x445c): undefined reference to `imx6sx_cpuidle_init' make: *** [vmlinux] Error 1 Signed-off-by: Anson Huan

[PATCH v5 2/2] mmc: core: Optimize the mmc erase size alignment

2016-09-06 Thread Baolin Wang
In most cases the 'card->erase_size' is power of 2, then the round_up/down() function is more efficient than '%' operation when the 'card->erase_size' is power of 2. Signed-off-by: Baolin Wang Tested-by: Shawn Lin --- drivers/mmc/core/core.c | 34 ++ 1 file cha

[PATCH v5 1/2] mmc: core: Factor out the alignment of erase size

2016-09-06 Thread Baolin Wang
In order to clean up the mmc_erase() function and do some optimization for erase size alignment, factor out the guts of erase size alignment into mmc_align_erase_size() function. Signed-off-by: Baolin Wang Tested-by: Shawn Lin --- Changes since v4: - Abandon the patch removing the checking if m

Re: [PATCH v7 7/9] drm/mediatek: add dsi transfer function

2016-09-06 Thread CK Hu
Hi, YT: On Fri, 2016-09-02 at 19:24 +0800, YT Shen wrote: > From: shaoming chen > > add dsi read/write commands for transfer function > > Signed-off-by: shaoming chen > --- > drivers/gpu/drm/mediatek/mtk_dsi.c | 188 > + > 1 file changed, 188 insertions(+)

Re: [RFC PATCH v2 0/6] Reduce cache miss for snmp_fold_field

2016-09-06 Thread hejianet
Hi Marcelo Thanks for the suggestion Will consider that B.R. Jia On 9/6/16 8:44 PM, Marcelo Ricardo Leitner wrote: On Tue, Sep 06, 2016 at 10:30:03AM +0800, Jia He wrote: ... v2: - 1/6 fix bug in udplite statistics. - 1/6 snmp_seq_show is split into 2 parts Jia He (6): proc: Reduce cac

Re: [RFC PATCH v2 1/6] proc: Reduce cache miss in {snmp,netstat}_seq_show

2016-09-06 Thread hejianet
On 9/7/16 6:57 AM, David Miller wrote: From: Jia He Date: Tue, 6 Sep 2016 10:30:04 +0800 +#define MAX(a, b) ((u32)(a) >= (u32)(b) ? (a) : (b)) Thanks B.R. Jia Please do not define private min/max macros, use the existing max_t() or similar as needed.

[PATCH v2] usb: dwc3: Fix dr_mode validation

2016-09-06 Thread John Youn
From: Thinh Nguyen This patch follows the similar fix in dwc2. See commit 5268ed9d2e3b ("usb: dwc2: Fix dr_mode validation") Currently, the dr_mode is only checked against the module configuration. It also needs to be checked against the hardware capablities. The driver now checks if both the m

[PATCH v2] x86: Put the num_processors++ code in a more suitable position

2016-09-06 Thread Dou Liyang
This code is just for correctness. If checking the topology package map of apicid and cpu is failure, it will stop generating the processor info for that apicid and the disabled_cpus will plus one. However, the num-processors has already been added one above. That may cause the number of processor

Re: [PATCH 0/2] lan78xx: Remove trailing underscores from macros

2016-09-06 Thread Joe Perches
On Wed, 2016-09-07 at 02:00 +, ronnie.ku...@microchip.com wrote: > Microchip's internal convention is for register (offset) definitions > to be capitalized (i.e.: MY_REGISTER). Our convention for bits > (position) definitions within a register is to carry as a prefix the > name of the register

Re: [PATCH] x86: Put the num_processors++ code in a more suitable position

2016-09-06 Thread Dou Liyang
Hi David, At 09/07/2016 05:23 AM, David Rientjes wrote: On Tue, 6 Sep 2016, Dou Liyang wrote: This is a code optimization. Not sure that it's optimization, it's just for correctness. Yes, I see. I will improve it in next version. Thanks, Dou If checking the topology package map of ap

Re: [PATCH 3/4] ARM: orion5x: avoid NO_IRQ in orion_ge00_switch_init

2016-09-06 Thread Andrew Lunn
On Tue, Sep 06, 2016 at 04:06:22PM +0200, Arnd Bergmann wrote: > As of commit 5be9fc23cdb4 ("ARM: orion5x: fix legacy orion5x IRQ numbers"), > IRQ zero is no longer a valid interrupt on Orion5x, so we can use the > normal convention of using '0' to indicate an invalid interrupt, rather > than the d

Re: [PATCH v7 3/4] usb: dwc2: assert phy reset when waking up in rk3288 platform

2016-09-06 Thread John Youn
On 9/6/2016 6:19 PM, Ayaka wrote: > > > 從我的 iPad 傳送 > >> John Youn 於 2016年9月7日 上午2:54 寫道: >> >>> On 9/5/2016 10:15 PM, Kishon Vijay Abraham I wrote: >>> Hi, >>> On Sunday 04 September 2016 03:25 AM, Randy Li wrote: On the rk3288 USB host-only port (the one that's not the OTG-enabled >

RE: [PATCH 0/2] lan78xx: Remove trailing underscores from macros

2016-09-06 Thread Ronnie.Kunin
Microchip's internal convention is for register (offset) definitions to be capitalized (i.e.: MY_REGISTER). Our convention for bits (position) definitions within a register is to carry as a prefix the name of the register and suffix it with the bit name and adding a trailing underscore (i.e. MY

Re: [tip:timers/core] time: alarmtimer: Add tracepoints for alarmtimers

2016-09-06 Thread Baolin Wang
Hi John and Ingo, On 7 September 2016 at 08:10, John Stultz wrote: > On Tue, Sep 6, 2016 at 2:49 AM, Ingo Molnar wrote: >> >> * tip-bot for Baolin Wang wrote: >> >>> Commit-ID: a0a6e06d545a753740c9d8d5ce2c4fdd3ab1c021 >>> Gitweb: >>> http://git.kernel.org/tip/a0a6e06d545a753740c9d8d5ce2c4

RE: [PATCH 0/5] PCI: hv: some minor bug fixes and cleanups

2016-09-06 Thread Dexuan Cui
> From: Bjorn Helgaas [mailto:helg...@kernel.org] > Sent: Wednesday, September 7, 2016 1:25 > To: Dexuan Cui > Cc: Bjorn Helgaas ; linux-...@vger.kernel.org; > gre...@linuxfoundation.org; KY Srinivasan ; linux- > ker...@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de; > a...@canonica

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

2016-09-06 Thread Qu Wenruo
At 09/07/2016 09:38 AM, Sean Fu wrote: On Mon, Sep 05, 2016 at 03:56:41PM +0800, Qu Wenruo wrote: At 09/05/2016 09:19 AM, Zhao Lei wrote: 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.

Re: [PATCH v2] arch: all: include: asm: bitops: Use bool instead of int for all bit test functions

2016-09-06 Thread Fengguang Wu
Hi Andrew, On Tue, Sep 06, 2016 at 12:27:32PM -0700, Andrew Morton wrote: On Sun, 4 Sep 2016 08:27:36 +0800 kbuild test robot wrote: [auto build test ERROR on linus/master] [also build test ERROR on v4.8-rc4 next-20160825] [if your patch is applied to the wrong git tree, please drop us a note

Re: [PATCH 4/4] ARM: orion5x: remove extraneous NO_IRQ

2016-09-06 Thread Andrew Lunn
On Tue, Sep 06, 2016 at 04:06:23PM +0200, Arnd Bergmann wrote: > rd88f6183ap-ge passes NO_IRQ as the interrupt line for its m25p80 > NOR flash. However, this device never uses an interrupt and the > driver doesn't care, so we can simply remove the deprecated constant > here. > > Signed-off-by: Arn

Re: [PATCH] net: hns: declare function as static

2016-09-06 Thread Kefeng Wang
On 2016/9/7 7:20, David Miller wrote: > From: Kefeng Wang > Date: Tue, 6 Sep 2016 19:53:11 +0800 > >> Declare function as static to kill warning about missing-prototypes. >> >> Cc: Yisen Zhuang >> Cc: Kejian Yan >> Signed-off-by: Kefeng Wang > ... >> @@ -73,7 +73,7 @@ static struct ring_pai

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

2016-09-06 Thread Sean Fu
On Tue, Sep 06, 2016 at 11:12:20AM -0400, Jeff Mahoney wrote: > On 9/6/16 5:58 AM, David Sterba wrote: > > On Mon, Sep 05, 2016 at 11:13:40PM -0400, Jeff Mahoney wrote: > Since root is only used to get fs_info->chunk_root, why not use fs_info > directly? > >>> > >>> Weird. Exactly this w

Re: [PATCH v4 3/5] kexec_file: Allow skipping checksum calculation for some segments.

2016-09-06 Thread Eric W. Biederman
Thiago Jung Bauermann writes: 2> Add skip_checksum member to struct kexec_buf to specify whether the > corresponding segment should be part of the checksum calculation. > > The next patch will add a way to update segments after a kimage is loaded. > Segments that will be updated in this way shoul

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

2016-09-06 Thread Sean Fu
On Tue, Sep 06, 2016 at 01:19:39PM +0800, Zhao Lei wrote: > Hi, Sean Fu > > > -Original Message- > > From: Sean Fu [mailto:fxinr...@gmail.com] > > Sent: Tuesday, September 06, 2016 11:51 AM > > To: dste...@suse.com > > Cc: c...@fb.com; anand.j...@oracle.com; fdman...@suse.com; > > zhao...@

Re: [PATCH v4 1/4] soc: qcom: wcnss_ctrl: Stub wcnss_ctrl API

2016-09-06 Thread Andy Gross
On Tue, Sep 06, 2016 at 03:18:29PM -0700, Bjorn Andersson wrote: > Stub the wcnss_ctrl API to allow compile testing wcnss function drivers. > > Cc: Marcel Holtmann > Signed-off-by: Bjorn Andersson > --- > > There are no other pending changes colliding with this, so if Andy is okay > with > thi

Re: [PATCH v7 6/9] drm/mediatek: add dsi interrupt control

2016-09-06 Thread CK Hu
Hi, YT: On Fri, 2016-09-02 at 19:24 +0800, YT Shen wrote: > From: shaoming chen > > add dsi interrupt control > > Signed-off-by: shaoming chen > --- > drivers/gpu/drm/mediatek/mtk_dsi.c | 76 > ++ > 1 file changed, 76 insertions(+) > [snip...] > > +st

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

2016-09-06 Thread Sean Fu
On Mon, Sep 05, 2016 at 03:56:41PM +0800, Qu Wenruo wrote: > > > At 09/05/2016 09:19 AM, Zhao Lei wrote: > >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

Re: [PATCH 1/4] ARM: mv78xx0: simplify ethernet device creation

2016-09-06 Thread Andrew Lunn
On Tue, Sep 06, 2016 at 04:06:20PM +0200, Arnd Bergmann wrote: > Out of the four ethernet devices on mv78xx0, only the first one > has an error interrupt line, for the other ones we pass NO_IRQ > and then ignore the argument. > > In order to get closer to complete remove of NO_IRQ, this simply > d

linux-next: build failure after merge of the btrfs-kdave tree

2016-09-06 Thread Stephen Rothwell
g_dev_info *bdi, ^ Caused by commit a685fa61566d ("remove mapping from balance_dirty_pages*()") I assume some forgotten include(s). I have used the btrfs-kdave tree from next-20160906 for today. -- Cheers, Stephen Rothwell

Re: [PATCH] mm:Avoid soft lockup due to possible attempt of double locking object's lock in __delete_object

2016-09-06 Thread Rik van Riel
On Tue, 2016-09-06 at 21:12 -0400, nick wrote: > > On 2016-09-06 08:51 PM, Rik van Riel wrote: > > On Wed, 2016-08-31 at 17:28 -0400, nick wrote: > > >   > > > Rather then argue since that will go nowhere. I am posing actual > > > patches that have been tested on > > > hardware.  > > > > But not

Re: [PATCH v7 3/4] usb: dwc2: assert phy reset when waking up in rk3288 platform

2016-09-06 Thread Ayaka
從我的 iPad 傳送 > John Youn 於 2016年9月7日 上午2:54 寫道: > >> On 9/5/2016 10:15 PM, Kishon Vijay Abraham I wrote: >> Hi, >> >>> On Sunday 04 September 2016 03:25 AM, Randy Li wrote: >>> On the rk3288 USB host-only port (the one that's not the OTG-enabled >>> port) the PHY can get into a bad state when

Re: [PATCH 0/2] lan78xx: Remove trailing underscores from macros

2016-09-06 Thread Joe Perches
On Tue, 2016-09-06 at 23:19 +, woojung@microchip.com wrote: > > Joe Perches (2): > >   lan78xx: Remove locally defined trailing underscores from defines and uses > >   microchipphy.h and uses: Remove trailing underscores from defines and > > uses > > > >  drivers/net/phy/microchip.c |

  1   2   3   4   5   6   7   8   9   10   >