[PATCH 1/5] edac: synopsys: Add platform specific structures ddrc controller

2017-08-04 Thread Michal Simek
From: Naga Sureshkumar Relli This patch adds platform specific structures, so that we can add different IP support later using quirks. Signed-off-by: Naga Sureshkumar Relli Signed-off-by: Michal Simek --- drivers/edac/synopsys_edac.c | 70 1 file

[PATCH 4/5] edac: synopsys: Update ecc error message info

2017-08-04 Thread Michal Simek
From: Naga Sureshkumar Relli This patch updates the ecc error message info for zynqmp ddrc. added Block number and Bankgroup in the message info. Signed-off-by: Naga Sureshkumar Relli Signed-off-by: Michal Simek --- drivers/edac/synopsys_edac.c | 27 +-- 1 file change

[PATCH 5/5] edac: synopsys: Enable CE and UE interrupts for ZynqMP DDRC

2017-08-04 Thread Michal Simek
From: Naga Sureshkumar Relli This patch enables Corrected and Uncorrected Error interrupts for ZynqMP DDRC controller Signed-off-by: Naga Sureshkumar Relli Reviewed-by: Punnaiah Choudary Kalluri Signed-off-by: Michal Simek --- drivers/edac/synopsys_edac.c | 10 ++ 1 file changed, 10

[PATCH v6 1/2] dt-bindings: arm: Add bindings for Mediatek MT2712 SoC Platform

2017-08-04 Thread YT Shen
This adds dt-binding documentation for Mediatek MT2712. Only include very basic items: cpu, gic and uart. Signed-off-by: YT Shen Acked-by: Rob Herring --- Documentation/devicetree/bindings/arm/mediatek.txt| 4 .../devicetree/bindings/interrupt-controller/mediatek,sysirq

[PATCH v6 2/2] arm64: dts: Add Mediatek SoC MT2712 and evaluation board dts and Makefile

2017-08-04 Thread YT Shen
This adds basic chip support for Mediatek 2712 Signed-off-by: YT Shen --- arch/arm64/boot/dts/mediatek/Makefile | 1 + arch/arm64/boot/dts/mediatek/mt2712-evb.dts | 32 ++ arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 171 3 files changed, 204 insertions

Re: [PATCH v1 4/5] [media] stm32-dcmi: set default format at open()

2017-08-04 Thread Hans Verkuil
On 28/07/17 12:05, Hugues Fruchet wrote: > Ensure that we start with default pixel format and resolution > when opening a new instance. Why? The format is persistent in V4L2 and (re)opening the video device shouldn't change the format. Suppose you use v4l2-ctl to set up a format. E.g. v4l2-ctl -v

[PATCH v6 0/2] Add basic support for Mediatek MT2712 SoC

2017-08-04 Thread YT Shen
MT2712 is a SoC based on 64bit ARMv8 architecture. MT2712 share many HW IP with MT8173. This patchset was tested on MT2712 evaluation board, and boot to shell ok. This series contains document bindings, device tree including interrupt and uart. Changes compared to v5: - remove the soc node Ch

Re: [PATCH v1 3/5] [media] stm32-dcmi: cleanup variable/fields namings

2017-08-04 Thread Hans Verkuil
On 28/07/17 12:05, Hugues Fruchet wrote: > Uniformize "pixfmt" variables to "pix". > Change "current_fmt" & "dcmi_fmt" variables to variables > with "sd_" prefix to explicitly refer to subdev format. > > Signed-off-by: Hugues Fruchet > --- > drivers/media/platform/stm32/stm32-dcmi.c | 103 > +++

Re: [PATCH v6 RESEND] x86/boot/KASLR: Restrict kernel to be randomized in mirror regions

2017-08-04 Thread Matt Fleming
On Fri, 04 Aug, at 07:40:05PM, Baoquan He wrote: > On 08/04/17 at 12:23pm, Matt Fleming wrote: > > On Fri, 28 Jul, at 07:26:03PM, Baoquan He wrote: > > > Hi Matt, > > > > > > On 07/28/17 at 11:55am, Ingo Molnar wrote: > > > > > > > > * Matt Fleming wrote: > > > > > > > > > On Fri, 21 Jul, at 09

Re: [PATCH v3 04/23] dt-bindings: media: Binding document for Qualcomm Camera subsystem driver

2017-08-04 Thread Todor Tomov
Hi Sakari, Thank you for the review. On 20.07.2017 13:13, Sakari Ailus wrote: > Hi Todor, > > On Mon, Jul 17, 2017 at 01:33:30PM +0300, Todor Tomov wrote: >> Add DT binding document for Qualcomm Camera subsystem driver. >> >> CC: Rob Herring >> CC: devicet...@vger.kernel.org >> Signed-off-by: T

Re: [PATCH v5 2/2] arm64: dts: Add Mediatek SoC MT2712 and evaluation board dts and Makefile

2017-08-04 Thread YT Shen
On Tue, 2017-08-01 at 14:46 +0200, Matthias Brugger wrote: > > On 08/01/2017 10:51 AM, Yingjoe Chen wrote: > > On Fri, 2017-07-28 at 19:37 +0800, YT Shen wrote: > >> diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi > >> b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi > >> new file mode 100644 >

Applied "ASoC: Intel: constify pci_device_id." to the asoc tree

2017-08-04 Thread Mark Brown
The patch ASoC: Intel: constify pci_device_id. has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus duri

Applied "spi: pxa2xx: Convert to GPIO descriptor API where possible" to the spi tree

2017-08-04 Thread Mark Brown
The patch spi: pxa2xx: Convert to GPIO descriptor API where possible has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and

Re: [PATCH RFC 2/2] spi: pxa2xx: Only claim CS GPIOs when the slave device is created

2017-08-04 Thread Mark Brown
On Thu, Aug 03, 2017 at 01:40:33PM +0200, Jan Kiszka wrote: > From: Jan Kiszka > > Avoid hogging chip select GPIOs just because they are listed for the > master. They might be mulitplexed and, if no slave device is attached, > used for different purposes. Moreover, this strategy avoids having to

Re: [PATCH RFC 1/2] spi: pxa2xx: Convert to GPIO descriptor API where possible

2017-08-04 Thread Mark Brown
On Fri, Aug 04, 2017 at 01:24:08PM +0300, Mika Westerberg wrote: > On Fri, Aug 04, 2017 at 12:18:28PM +0200, Jan Kiszka wrote: > > It shouldn't cause problems (famous last words) because I refrained from > > changing the interfaces to them. References that come in as legacy GPIO > > are still trea

Re: [PATCH] arm64:kexec: have own crash_smp_send_stop() for crash dump for nonpanic cores

2017-08-04 Thread AKASHI Takahiro
On Fri, Aug 04, 2017 at 11:38:16AM +0100, James Morse wrote: > Hi Hoeun, > > On 04/08/17 08:02, Hoeun Ryu wrote: > > Commit 0ee5941 : (x86/panic: replace smp_send_stop() with kdump friendly > > version in panic path) introduced crash_smp_send_stop() which is a weak > > function and can be overrid

Re: [PATCH v6 RESEND] x86/boot/KASLR: Restrict kernel to be randomized in mirror regions

2017-08-04 Thread Baoquan He
On 08/04/17 at 12:23pm, Matt Fleming wrote: > On Fri, 28 Jul, at 07:26:03PM, Baoquan He wrote: > > Hi Matt, > > > > On 07/28/17 at 11:55am, Ingo Molnar wrote: > > > > > > * Matt Fleming wrote: > > > > > > > On Fri, 21 Jul, at 09:19:56PM, Baoquan He wrote: > > > > > > > > > > There are places wh

[PATCH 3/3] xen: remove not used trace functions

2017-08-04 Thread Juergen Gross
There are some Xen specific trace functions defined in include/trace/events/xen.h. Remove them. Signed-off-by: Juergen Gross --- include/trace/events/xen.h | 20 1 file changed, 20 deletions(-) diff --git a/include/trace/events/xen.h b/include/trace/events/xen.h index 677e8

[PATCH 0/3] xen: do some cleanups

2017-08-04 Thread Juergen Gross
Remove stuff no longer needed. Juergen Gross (3): xen: remove tests for pvh mode in pure pv paths xen: remove unused function xen_set_domain_pte() xen: remove not used trace functions arch/x86/include/asm/xen/page.h | 5 - arch/x86/xen/mmu_pv.c | 20 arc

[PATCH 1/3] xen: remove tests for pvh mode in pure pv paths

2017-08-04 Thread Juergen Gross
Remove the last tests for XENFEAT_auto_translated_physmap in pure PV-domain specific paths. PVH V1 is gone and the feature will always be "false" in PV guests. Signed-off-by: Juergen Gross --- arch/x86/include/asm/xen/page.h | 3 --- arch/x86/xen/p2m.c | 25 +---

[PATCH 2/3] xen: remove unused function xen_set_domain_pte()

2017-08-04 Thread Juergen Gross
The function xen_set_domain_pte() is used nowhere in the kernel. Remove it. Signed-off-by: Juergen Gross --- arch/x86/include/asm/xen/page.h | 2 -- arch/x86/xen/mmu_pv.c | 20 include/trace/events/xen.h | 18 -- 3 files changed, 40 deletions(

[RFC PATCH v4.13-rc3] arm64: defconfig: enable EDAC GHES option

2017-08-04 Thread Shiju Jose
Enable EDAC GHES support for ARM64, so that memory errors are reported to the user space. Signed-off-by: Shiju Jose --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 6c7d147..50429c0 100644 --- a

[RFC PATCH v4.13-rc3] arm64: defconfig: enable CONFIG_ACPI_APEI_MEMORY_FAILURE

2017-08-04 Thread Shiju Jose
Enable ACPI APEI MEMORY FAILURE option for ARM64, so that memory errors can be handled. Signed-off-by: Shiju Jose --- arch/arm64/configs/defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 50429c0..6748583 100644 --- a

Re: [tip:x86/microcode] x86/microcode: Document the three loading methods

2017-08-04 Thread Paul Menzel
Dear Borislav, Hopefully, it’s alright to reply to this message. I am sorry for the late reply. On 07/25/17 15:51, tip-bot for Borislav Petkov wrote: Commit-ID: 0e3258753f8183c63bf68bd274d2cc7e71e5f402 Gitweb: http://git.kernel.org/tip/0e3258753f8183c63bf68bd274d2cc7e71e5f402 Could y

Re: [PATCH v6 RESEND] x86/boot/KASLR: Restrict kernel to be randomized in mirror regions

2017-08-04 Thread Matt Fleming
On Fri, 28 Jul, at 07:26:03PM, Baoquan He wrote: > Hi Matt, > > On 07/28/17 at 11:55am, Ingo Molnar wrote: > > > > * Matt Fleming wrote: > > > > > On Fri, 21 Jul, at 09:19:56PM, Baoquan He wrote: > > > > > > > > There are places where the efi map is getting and used like this. E.g > > > > in ef

Re: [patch] perf wrong enabled time after attach/enable/enable

2017-08-04 Thread Peter Zijlstra
On Thu, Aug 03, 2017 at 02:07:53PM -0400, Vince Weaver wrote: > On Wed, 2 Aug 2017, Peter Zijlstra wrote: > > > Playing with that test it really is the IOC_DISABLE while STOP'ed that > > messes things up. > > > > Ah.. magic.. the below seems to fix things, hopefully it doesn't break > > anything

Re: [PATCH 1/1] cpufreq: imx6q: imx6ull: use PLL1 for frequency higher than 528MHz

2017-08-04 Thread Leonard Crestez
On Thu, 2017-08-03 at 09:32 +0200, Sébastien Szymanski wrote: > On 08/03/2017 04:03 AM, Shawn Guo wrote: > > On Fri, Jul 28, 2017 at 10:36:33AM +0200, Sébastien Szymanski wrote: > > > Setting the frequency higher than 528Mhz actually sets the ARM > > > clock to 528MHz. That's because PLL2 is used a

[PATCH] iommu/of: Fix of_iommu_configure() for disabled IOMMUs

2017-08-04 Thread Robin Murphy
Sudeep reports that the logic is slightly broken when a PCI iommu-map entry targets an IOMMU marked as disabled in DT, since of_pci_map_rid() succeeds in following a phandle, and of_iommu_xlate() doesn't return an error value, but we miss checking whether ops was actually non-NULL. Whilst this coul

Re: perf: bug in rdpmc/mmap accounting after exec

2017-08-04 Thread Peter Zijlstra
On Fri, Aug 04, 2017 at 11:17:02AM +0200, Peter Zijlstra wrote: > Yeah, I'll make it pretty, write a changelog and things like that :-) Slightly different from the earlier one in that I now pass @mm along instead of @vma. Same thing otherwise. --- Subject: perf,x86: Fix RDPMC vs mm_struct trackin

[PATCH] ARM: zynq: Remove earlycon from bootargs

2017-08-04 Thread Michal Simek
Earlyconsole is used for early kernel debugging that's why this option shouldn't be enabled by default. Earlyconsole is partially copying the part of the bootlog after "bootconsole [uart0] disabled". Signed-off-by: Michal Simek --- arch/arm/boot/dts/zynq-parallella.dts | 2 +- arch/arm/boot/dts

201705031342248841.jpg★★★ 全世界轨道交通规模最大 —— InnoTrans 2018 德国柏林国际轨道交通技术展 ★★★ [地右P4/L100-Z]

2017-08-04 Thread 施厐竽
201705031342248841.jpg (回信专用接收邮箱“12809...@qq.com”报名参展)    尊敬的 企业领导/公司负责人/业界专家:   您好! 现将“全世界轨道交通行业规模最大,发展最快,专业观众最多的国际展览盛会”「InnoTrans 2018第十二届德国柏林国际轨道交通技术展」资讯发送给您。   请积极参与、共享盛会; 提前安排、赢得先机 ——    InnoTrans 2018 第十二届德国柏林国际轨道交通技术展览会   —— 参展InnoTrans是一个轨道交通企业走向国际化的标志和途径。       1、 基 本 信 息 :   

Re: [PATCH net] xgene: Always get clk source, but ignore if it's missing for SGMII ports

2017-08-04 Thread Will Deacon
On Thu, Aug 03, 2017 at 03:43:14PM +0200, Thomas Bogendoerfer wrote: > From: Thomas Bogendoerfer > > Even the driver doesn't do anything with the clk source for SGMII > ports it needs to be enabled by doing a devm_clk_get(), if there is > a clk source in DT. > > Fixes: 0db01097cabd ('xgene: Don'

Re: Switching to MQ by default may generate some bug reports

2017-08-04 Thread Mel Gorman
On Fri, Aug 04, 2017 at 09:26:20AM +0200, Paolo Valente wrote: > > I took that into account BFQ with low-latency was also tested and the > > impact was not a universal improvement although it can be a noticable > > improvement. From the same machine; > > > > dbench4 Loadfile Execution Time > >

Re: [PATCH] mm, oom: fix potential data corruption when oom_reaper races with writer

2017-08-04 Thread Michal Hocko
On Fri 04-08-17 19:41:42, Tetsuo Handa wrote: > Michal Hocko wrote: > > On Fri 04-08-17 17:25:46, Tetsuo Handa wrote: > > > Well, while lockdep warning is gone, this problem is remaining. > > > > > > diff --git a/mm/memory.c b/mm/memory.c > > > index edabf6f..1e06c29 100644 > > > --- a/mm/memory.c

Re: [PATCH v2 2/2] kernel/events: Add option to enable counting sideband events in wakeup_events

2017-08-04 Thread Peter Zijlstra
On Tue, Aug 01, 2017 at 08:14:04PM +0530, Naveen N. Rao wrote: > @@ -5974,19 +5976,8 @@ void perf_output_sample(struct perf_output_handle > *handle, > } > } > > + if (!event->attr.count_sb_events) > + rb_handle_wakeup_events(event, handle->rb); > } > +void _

Re: [PATCH v2] bus: uniphier-system-bus: set up registers when resuming

2017-08-04 Thread Arnd Bergmann
On Mon, Jul 31, 2017 at 7:49 AM, Masahiro Yamada wrote: > When resuming, set up registers that have been lost in the sleep state. > > Signed-off-by: Masahiro Yamada Applied to fixes. I assume you want this in 4.13, but not backported to stable kernels. If that is incorrect, please let me know. I

Re: [PATCH v2 05/11] mtd: cfi: reduce stack size with KASAN

2017-08-04 Thread Boris Brezillon
On Wed, 14 Jun 2017 23:15:40 +0200 Arnd Bergmann wrote: > When CONFIG_KASAN is used, we consume a lot of extra stack space: > > drivers/mtd/chips/cfi_cmdset_0020.c: In function 'do_write_buffer': > drivers/mtd/chips/cfi_cmdset_0020.c:603:1: error: the frame size of 2184 > bytes is larger than 1

Re: [PATCH] [RESEND] mtd: only use __xipram annotation when XIP_KERNEL is set

2017-08-04 Thread Boris Brezillon
On Fri, 4 Aug 2017 11:00:05 +0200 Arnd Bergmann wrote: > On Fri, Aug 4, 2017 at 9:35 AM, Boris Brezillon > wrote: > > On Fri, 21 Jul 2017 22:26:25 +0200 > > Arnd Bergmann wrote: > > >> Note that MTD_XIP has been broken on ARM since around 2011 or 2012. I > >> have sent another patch[2] to fi

Re: [PATCH v2 05/11] mtd: cfi: reduce stack size with KASAN

2017-08-04 Thread Boris Brezillon
On Fri, 4 Aug 2017 11:09:53 +0200 Arnd Bergmann wrote: > On Fri, Aug 4, 2017 at 9:42 AM, Boris Brezillon > wrote: > > On Wed, 14 Jun 2017 23:15:40 +0200 > > Arnd Bergmann wrote: > > > >> When CONFIG_KASAN is used, we consume a lot of extra stack space: > >> > >> drivers/mtd/chips/cfi_cmdset_0

[RESEND PATCH] staging: vboxvideo: remove dead gamma lut code

2017-08-04 Thread Peter Rosin
The redundant fb helpers .load_lut, .gamma_set and .gamma_get are no longer used. Remove the dead code that was not doing anything sensible anyway. Signed-off-by: Peter Rosin --- drivers/staging/vboxvideo/vbox_fb.c | 15 --- drivers/staging/vboxvideo/vbox_mode.c | 5 - 2 files

Re: [PATCH v8 0/2] x86/boot/KASLR: Restrict kernel to be randomized in mirror regions

2017-08-04 Thread Baoquan He
On 08/04/17 at 05:59pm, Chao Fan wrote: > On Fri, Aug 04, 2017 at 05:22:41PM +0800, Baoquan He wrote: > >On 08/04/17 at 03:52pm, Baoquan He wrote: > >> Sorry, NACK this series, there's error to hang system. Before I just > >> halt system intentionally with error() to check the efi memmap printing,

Re: [PATCH] mm, oom: fix potential data corruption when oom_reaper races with writer

2017-08-04 Thread Tetsuo Handa
Michal Hocko wrote: > On Fri 04-08-17 17:25:46, Tetsuo Handa wrote: > > Well, while lockdep warning is gone, this problem is remaining. > > > > diff --git a/mm/memory.c b/mm/memory.c > > index edabf6f..1e06c29 100644 > > --- a/mm/memory.c > > +++ b/mm/memory.c > > @@ -3931,15 +3931,14 @@ int handl

Re: [PATCH] arm64:kexec: have own crash_smp_send_stop() for crash dump for nonpanic cores

2017-08-04 Thread James Morse
Hi Hoeun, On 04/08/17 08:02, Hoeun Ryu wrote: > Commit 0ee5941 : (x86/panic: replace smp_send_stop() with kdump friendly > version in panic path) introduced crash_smp_send_stop() which is a weak > function and can be overriden by architecture codes to fix the side effect > caused by commit f06e51

Re: [PATCH 2/3] drm/msm/mdp5: mark runtime_pm functions as __maybe_unused

2017-08-04 Thread Archit Taneja
On 08/03/2017 05:20 PM, Arnd Bergmann wrote: When CONFIG_PM is disabled, we get harmless warnings about unused functions: drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c:1025:12: error: 'mdp5_runtime_resume' defined but not used [-Werror=unused-function] static int mdp5_runtime_resume(struct device

Re: [Intel-gfx] [PATCH 00/11] constify i915 attribute_group structures.

2017-08-04 Thread Lionel Landwerlin
On 04/08/17 11:22, Arvind Yadav wrote: Hi Lionel, On Friday 04 August 2017 02:33 PM, Lionel Landwerlin wrote: Hi Arwind, These files were generated by a script maintained in this repository : https://github.com/rib/gputop/blob/master/scripts/i915-perf-kernelgen.py It would best to update th

[PATCH] staging: vboxvideo: remove dead gamma lut code

2017-08-04 Thread Peter Rosin
The redundant fb helpers .load_lut, .gamma_set and .gamma_get are no longer used. Remove the dead code that was not doing anything sensible anyway. Signed-off-by: Peter Rosin --- drivers/staging/vboxvideo/vbox_fb.c | 15 --- drivers/staging/vboxvideo/vbox_mode.c | 5 - 2 files

[PATCH 2/2] ARM: zynq: Add support for Zynq-7000S devices

2017-08-04 Thread Michal Simek
Patch adds detection of Zynq-7000 base silicon configuration, namely Dual or Single CPU. Device trees attempting to enable DUAL CORE behavior on SINGLE CPU Zynq-7000S devices are prevented from corrupting system behavior. Detection of Dual or Single CPU is done via eFuses. Signed-off-by: Michal S

[PATCH 1/2] devicetree: ARM: zynq: Add DT binding for eFuse controller

2017-08-04 Thread Michal Simek
Add DT binding for eFuse controller available at Xilinx Zynq SoC. Signed-off-by: Michal Simek Acked-by: Sören Brinkmann --- Documentation/devicetree/bindings/arm/zynq/zynq-efuse.txt | 15 +++ 1 file changed, 15 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm

Re: [PATCH RFC 2/2] spi: pxa2xx: Only claim CS GPIOs when the slave device is created

2017-08-04 Thread Mika Westerberg
On Thu, Aug 03, 2017 at 01:40:33PM +0200, Jan Kiszka wrote: > From: Jan Kiszka > > Avoid hogging chip select GPIOs just because they are listed for the > master. They might be mulitplexed and, if no slave device is attached, > used for different purposes. Moreover, this strategy avoids having to

Re: [PATCH RFC 1/2] spi: pxa2xx: Convert to GPIO descriptor API where possible

2017-08-04 Thread Mika Westerberg
On Fri, Aug 04, 2017 at 12:18:28PM +0200, Jan Kiszka wrote: > On 2017-08-04 12:10, Mika Westerberg wrote: > > On Thu, Aug 03, 2017 at 01:40:32PM +0200, Jan Kiszka wrote: > >> From: Jan Kiszka > >> > >> We still need to request/free GPIOs passed via the legacy path of > >> pxa2xx_spi_chip::gpio_cs,

Re: Some ideas about tcpm driver

2017-08-04 Thread Zain Wang
在 2017/8/3 21:02, Guenter Roeck 写道: On Thu, Aug 3, 2017 at 12:28 AM, Zain Wang wrote: Hi all, In recent days, I tested the fusb302 driver with tcpm. (RK3399 evb board) But I found an issues: There is not a regulator for type-c vbus power-supply in my board. The vbus is just control

Re: [Intel-gfx] [PATCH 00/11] constify i915 attribute_group structures.

2017-08-04 Thread Arvind Yadav
Hi Lionel, On Friday 04 August 2017 02:33 PM, Lionel Landwerlin wrote: Hi Arwind, These files were generated by a script maintained in this repository : https://github.com/rib/gputop/blob/master/scripts/i915-perf-kernelgen.py It would best to update this script first to make sure future plat

Re: [PATCH v2 1/2] kernel/events: Add option to notify through signals on wakeup

2017-08-04 Thread Peter Zijlstra
On Tue, Aug 01, 2017 at 08:14:03PM +0530, Naveen N. Rao wrote: > Add a new option 'signal_on_wakeup' to request for a signal to be > delivered on ring buffer wakeup controlled through watermark and > {wakeup_events, wakeup_watermark}. HUP is signaled on exit. This fails to tell us why you'd want t

Re: [PATCH RFC 1/2] spi: pxa2xx: Convert to GPIO descriptor API where possible

2017-08-04 Thread Jan Kiszka
On 2017-08-04 12:10, Mika Westerberg wrote: > On Thu, Aug 03, 2017 at 01:40:32PM +0200, Jan Kiszka wrote: >> From: Jan Kiszka >> >> We still need to request/free GPIOs passed via the legacy path of >> pxa2xx_spi_chip::gpio_cs, but we can use the gpiod API otherwise. >> >> Consistently use the desc

Re: [PATCH v3.1 0/4] clk: meson: gxbb-aoclk: Add CEC 32k clock

2017-08-04 Thread Neil Armstrong
On 08/01/2017 01:56 PM, Neil Armstrong wrote: > In order to support the standalone CEC Controller on the Amlogic SoCs, > a specific CEC 32K clock must be handled in the AO domain. > > The CEC 32K AO Clock is a dual divider with dual counter to provide a more > precise 32768Hz clock for the CEC sub

Re: [PATCH v4 1/2] arm: dts: mt7623: Add SD-card and EMMC to bananapi-r2

2017-08-04 Thread Sean Wang
On Fri, 2017-08-04 at 11:59 +0800, sean.w...@mediatek.com wrote: > From: Sean Wang > > The bananapi-r2 board has an SD-card controller and built-in > EMMC storage so enables those devices in the devicetree. Also > cleanup nodes in alphabetical order in the patch. > Hi, Matthias could your help

Re: [PATCH] pinctrl: check ops->pin_config_set in pinconf_set_config()

2017-08-04 Thread Mika Westerberg
On Fri, Aug 04, 2017 at 11:59:32AM +0900, Masahiro Yamada wrote: > pinconf_set_config() is called by pinctrl_gpio_set_config(). > If a GPIO driver is backed by a pinctrl driver and it does not > support .pin_config_set() hook, it causes NULL pointer dereference. > > Fixes: 15381bc7c7f5 ("pinctrl:

Re: [PATCH RFC 1/2] spi: pxa2xx: Convert to GPIO descriptor API where possible

2017-08-04 Thread Mika Westerberg
On Thu, Aug 03, 2017 at 01:40:32PM +0200, Jan Kiszka wrote: > From: Jan Kiszka > > We still need to request/free GPIOs passed via the legacy path of > pxa2xx_spi_chip::gpio_cs, but we can use the gpiod API otherwise. > > Consistently use the descriptor API instead of the legacy one. > > Signed-

Re: [PATCH 3/3] drm/vc4: Fix errant drm_bridge_remove() in DSI.

2017-08-04 Thread Boris Brezillon
On Wed, 2 Aug 2017 13:32:42 -0700 Eric Anholt wrote: > drm_bridge_remove() is for unregistering a bridge driver, not for s/driver/device/ > detaching a bridge from its consumer. > > Fixes: 656fa22f9cea ("drm/vc4: Switch DSI to the panel-bridge layer, and > support bridges.") > Signed-off-by:

Re: [PATCH v3 0/4] Add larbid init routine for mediatek's gen1 smi larb driver

2017-08-04 Thread Joerg Roedel
On Fri, Aug 04, 2017 at 09:32:24AM +0800, honghui.zh...@mediatek.com wrote: > Honghui Zhang (4): > memory: mtk-smi: Use of_device_get_match_data helper > memory: mtk-smi: add larbid handle routine > dt-bindings: mediatek: add descriptions for larbid > arm: dts: mediatek: add larbid property

Re: [PATCH] arm:lpae: build TTB control register value from scratch in v7_ttb_setup

2017-08-04 Thread Robin Murphy
On 04/08/17 07:07, Hoeun Ryu wrote: > Hello, Russell King. > > The following patch has not merged yet. > Do you have a plan to accept and merge this patch ? This should probably go through the ARM tree, so please submit it to Russell's patch-tracking system here: http://www.armlinux.org.uk/devel

Re: [PATCH] dt-bindings: watchdog: mediatek: add support for MediaTek MT7623 and MT7622 SoC

2017-08-04 Thread Matthias Brugger
On 08/04/2017 09:14 AM, sean.w...@mediatek.com wrote: From: Sean Wang This updates dt-binding documentation for MediaTek MT7622 and MT7623 SoC. For the both SoCs supported all rely on the fallback binding of the case with "mediatek,mt6589-wdt". Signed-off-by: Sean Wang --- Documentation/d

[GIT PULL] Please pull powerpc/linux.git powerpc-4.13-5 tag

2017-08-04 Thread Michael Ellerman
Hi Linus, Please pull some more powerpc fixes for 4.13. I had to merge rc1 into my fixes branch, so that I had the code that needed fixing. I don't think it should cause any problems, other than I had to generate the diffstat by hand. cheers The following changes since commit 0da12a7a81f1e2255e

Re: [PATCH 2/3] drm/vc4: Don't disable DSI clocks on component unload.

2017-08-04 Thread Boris Brezillon
On Wed, 2 Aug 2017 13:32:41 -0700 Eric Anholt wrote: > The clocks are enabled/disabled at encoder enable/disable time, not at > component load. Fixes a WARN_ON at boot if V3D fails to probe. > > Fixes: 4078f5757144 ("drm/vc4: Add DSI driver") > Signed-off-by: Eric Anholt Reviewed-by: Boris B

Re: [PATCH 1/3] drm/vc4: Fix double destroy of the BO cache on teardown.

2017-08-04 Thread Boris Brezillon
On Wed, 2 Aug 2017 13:32:40 -0700 Eric Anholt wrote: > It's also destroyed from the top level vc4_drv.c initialization, which > is where the cache was actually initialized from. > > This used to just involve duplicate del_timer() and cancel_work_sync() > being called, but it started causing kma

Re: [PATCH v2] Fix header-name to read state name and adjust column width

2017-08-04 Thread Gautham R Shenoy
On Mon, Jul 31, 2017 at 02:50:22PM +0530, Seeteena Thoufeek wrote: > The names of the idle states in the output of cpupower monitor > command are truncated to 4 characters. Hence, On POWER9, since > the states are named "stop0, stop1, stop2, stop4, stop11", > this output is ambiguous > > root:~# c

Re: [PATCH 0/2] iommu/omap: Rework cache functionality with DMA Streaming API

2017-08-04 Thread Joerg Roedel
On Fri, Jul 28, 2017 at 03:49:12PM -0500, Josue Albarran wrote: > Fernando Guzman Lugo (1): > iommu/omap: Fix disabling of MMU upon a fault > > Josue Albarran (1): > iommu/omap: Use DMA-API for performing cache flushes > > drivers/iommu/omap-iommu.c | 125 > +

Re: [PATCH v8 0/2] x86/boot/KASLR: Restrict kernel to be randomized in mirror regions

2017-08-04 Thread Chao Fan
On Fri, Aug 04, 2017 at 05:22:41PM +0800, Baoquan He wrote: >On 08/04/17 at 03:52pm, Baoquan He wrote: >> Sorry, NACK this series, there's error to hang system. Before I just >> halt system intentionally with error() to check the efi memmap printing, >> didn't notice this. Checking the cause. > >I

Re: [PATCH 2/2] drm/vc4: Add exec flags to allow forcing a specific X/Y tile walk order.

2017-08-04 Thread Boris Brezillon
On Tue, 25 Jul 2017 09:27:33 -0700 Eric Anholt wrote: > This is useful to allow GL to provide defined results for overlapping > glBlitFramebuffer, which X11 in turn uses to accelerate uncomposited > window movement without first blitting to a temporary. x11perf > -copywinwin100 goes from 1850/se

Re: [PATCH] iommu/exynos: prevent building on big-endian kernels

2017-08-04 Thread Joerg Roedel
On Fri, Jul 28, 2017 at 03:19:19PM +0200, Arnd Bergmann wrote: > Since we print the correct warning, an allmodconfig build is no longer > clean but always prints it, which defeats compile-testing: > > drivers/iommu/exynos-iommu.c:58:2: error: #warning "revisit driver if we can > enable big-endian

Re: [PATCH] acpi: ghes: fix the OSPM acknowledges error flow

2017-08-04 Thread gengdongjiu
Hi, please ignore this fix, original logic is right. the Read ACK register directly contain the ACK value, not the ACK address. On 2017/8/3 23:42, Dongjiu Geng wrote: > In GHESv2, The read_ack_register is used to specify the > location of the read ack register, it is only the physical > addre

Re: [PATCH 1/2] arm64: dts: rockchip: Add support for rk3399 sapphire SOM

2017-08-04 Thread Jacob Chen
2017-08-03 18:34 GMT+08:00 Jacob Chen : > Hi all, > > 2017-08-03 18:32 GMT+08:00 Jacob Chen : >> Add support for the rk3399 sapphire SOM board. >> This board works in a combination with the excavator main board. >> >> You can get more info from below link: >> http://opensource.rock-chips.com/wiki_E

Re: linux-next: Signed-off-by missing for commit in the crypto tree

2017-08-04 Thread Lars Persson
On 08/04/2017 03:29 AM, Herbert Xu wrote: On Fri, Aug 04, 2017 at 07:50:22AM +1000, Stephen Rothwell wrote: Hi all, Commit 9577212cc0e2 ("crypto: hash - add crypto_(un)register_ahashes()") is missing a Signed-off-by from its author. OK, I've backed out the patches in question. Please

Re: [PATCH v3 3/6] dt-bindings: add binding for Sitronix ST7586 display panels

2017-08-04 Thread Noralf Trønnes
Den 04.08.2017 00.33, skrev David Lechner: This adds a new binding for Sitronix ST7586 display panels. Using lego as the vendor prefix in the compatible string because the display panel I am working with is an integral part of the LEGO MINDSTORMS EV3. Is this display available outside of this

Re: [PATCH v8 0/2] x86/boot/KASLR: Restrict kernel to be randomized in mirror regions

2017-08-04 Thread Chao Fan
On Fri, Aug 04, 2017 at 05:22:41PM +0800, Baoquan He wrote: >On 08/04/17 at 03:52pm, Baoquan He wrote: >> Sorry, NACK this series, there's error to hang system. Before I just >> halt system intentionally with error() to check the efi memmap printing, >> didn't notice this. Checking the cause. > >I

Re: [PATCH v2] memory: mtk-smi: Use of_device_get_match_data helper

2017-08-04 Thread Joerg Roedel
On Wed, Aug 02, 2017 at 10:02:50AM +0800, Honghui Zhang wrote: > On Wed, 2017-07-26 at 20:37 +0800, honghui.zh...@mediatek.com wrote: > > From: Honghui Zhang > > > > Replace custom code with generic helper to retrieve driver data. > > Hi, Joerg, would you please take this one, because my last >

Re: [PATCH] sched/core: Remove unnecessary initialization init_idle_bootup_task()

2017-08-04 Thread Peter Zijlstra
On Fri, Aug 04, 2017 at 05:19:37PM +0800, Cheng Jian wrote: > init_idle_bootup_task( ) is called in rest_init( ) to switch > the scheduling class of the boot thread to the idle class > > the function only set : > idle->sched_class = &idle_sched_class; > which has been set in init_idle() called

Re: [PATCH 1/2] drm/vc4: Demote user-accessible DRM_ERROR paths to DRM_DEBUG.

2017-08-04 Thread Boris Brezillon
On Tue, 25 Jul 2017 09:27:32 -0700 Eric Anholt wrote: > Userspace shouldn't be able to spam dmesg by passing bad arguments. > This has particularly become an issues since we started using a bad > argument to set_tiling to detect if set_tiling was supported. > > Signed-off-by: Eric Anholt > Fixe

Re: [linux-sunxi] [PATCH 10/13] [NOT FOR REVIEW NOW] clk: sunxi: Add CLK_SET_RATE_PARENT flag for H3 HDMI clock

2017-08-04 Thread Chen-Yu Tsai
On Fri, Aug 4, 2017 at 5:03 PM, Icenowy Zheng wrote: > > > 于 2017年8月4日 GMT+08:00 下午4:59:03, "Jernej Škrabec" > 写到: >>Hi Chen-Yu, >> >>Dne petek, 04. avgust 2017 ob 06:29:50 CEST je Chen-Yu Tsai napisal(a): >>> On Fri, Aug 4, 2017 at 12:16 PM, Icenowy Zheng >>wrote: >>> > 于 2017年8月4日 GMT+08:00 下

Re: [PATCH v5 03/14] drm/fb-helper: separate the fb_setcmap helper into atomic and legacy paths

2017-08-04 Thread Daniel Vetter
On Fri, Aug 04, 2017 at 12:49:29AM +0200, Peter Rosin wrote: > On 2017-07-14 15:54, Daniel Vetter wrote: > > On Thu, Jul 13, 2017 at 06:25:27PM +0200, Peter Rosin wrote: > >> The legacy path implements setcmap in terms of crtc .gamma_set. > >> > >> The atomic path implements setcmap by directly upd

Re: update timer frequencies

2017-08-04 Thread Peter Zijlstra
On Fri, Aug 04, 2017 at 12:28:43PM +0530, Vineet Gupta wrote: > The hardware is being changed and I had a couple of questions to help do it > right: Awesome ;-) > 2. I'm not sure if the timer generating interrupts (periodic or oneshot) > needs to be fed invariant fixed clk or dynamic core clk.

Re: [PATCH] drm/omap: omap_display_timings: constify videomode structures

2017-08-04 Thread Tomi Valkeinen
On 04/08/17 09:09, Julia Lawall wrote: > The videomode structures are only copied into the vm field of a > panel_drv_data structure, so they can be const. > > Done with the help of Coccinelle. > > Signed-off-by: Julia Lawall > > --- > drivers/gpu/drm/omapdrm/displays/panel-lgphilips-lb035q02.c

Re: [PATCH] virtio_blk: fix incorrect message when disk is resized

2017-08-04 Thread Stefan Hajnoczi
On Wed, Jul 26, 2017 at 03:32:23PM +0100, Stefan Hajnoczi wrote: > The message printed on disk resize is incorrect. The following is > printed when resizing to 2 GiB: > > $ truncate -s 1G test.img > $ qemu -device virtio-blk-pci,logical_block_size=4096,... > (qemu) block_resize drive1 2G >

[PATCH] usb: quirks: Add no-lpm quirk for Moshi USB to Ethernet Adapter

2017-08-04 Thread Kai-Heng Feng
The Realtek r8153 ethernet does not work on Genesys Logic hub, no-lpm quirk can make it work. Since another r8153 dongle at my hand does not have the issue, so add the quirk to the hub instead. Signed-off-by: Kai-Heng Feng --- drivers/usb/core/quirks.c | 3 +++ 1 file changed, 3 insertions(+)

[GIT PULL] tee: updates for v4.14

2017-08-04 Thread Jens Wiklander
Hi arm-soc maintainers, The following changes since commit 16f73eb02d7e1765ccab3d2018e0bd98eb93d973: Linux 4.13-rc3 (2017-07-30 12:40:36 -0700) are available in the git repository at: http://git.linaro.org/people/jens.wiklander/linux-tee.git/ tags/tee-drv-for-4.14 for you to fetch changes

Re: [PATCH 6/8] drm: Allow DSI devices to be registered before the host registers.

2017-08-04 Thread Boris Brezillon
Hi all, Sorry to enter the discussion so late in the review process. Eric, I'm replying here because this is where the initial discussion happened, but I actually reviewed v5 of your patchset. On Tue, 18 Jul 2017 13:13:04 -0700 Eric Anholt wrote: > Archit Taneja writes: > > > On 07/15/2017 0

Re: [PATCH 3/3] IPI: Avoid to use 2 cache lines for one call_single_data

2017-08-04 Thread Peter Zijlstra
On Fri, Aug 04, 2017 at 10:05:55AM +0800, Huang, Ying wrote: > "Huang, Ying" writes: > > Peter Zijlstra writes: > >> +struct __call_single_data { > >>struct llist_node llist; > >>smp_call_func_t func; > >>void *info; > >>unsigned int flags; > >> }; > >> > >> +typedef struct __

Re: [linux-sunxi] [PATCH 10/13] [NOT FOR REVIEW NOW] clk: sunxi: Add CLK_SET_RATE_PARENT flag for H3 HDMI clock

2017-08-04 Thread Chen-Yu Tsai
On Fri, Aug 4, 2017 at 4:59 PM, Jernej Škrabec wrote: > Hi Chen-Yu, > > Dne petek, 04. avgust 2017 ob 06:29:50 CEST je Chen-Yu Tsai napisal(a): >> On Fri, Aug 4, 2017 at 12:16 PM, Icenowy Zheng wrote: >> > 于 2017年8月4日 GMT+08:00 下午12:15:27, Chen-Yu Tsai 写到: >> >>Hi, >> >> >> >>On Tue, Aug 1, 2017

Re: drivers/s390/char/keyboard.c NULL pointer reference

2017-08-04 Thread Heiko Carstens
On Thu, Aug 03, 2017 at 09:57:38PM +0800, sohu0106 wrote: > > > Local users able to send the NULL arg argument to kbd_ioctl(), which could > cause kernel crash > > > > > diff --git a/keyboard.c  > b/keyboard.c > index ba0e4f9..3ec16b1 100644 > --- a/keyboard.c > +++ b/keyboard.c > @@ -456,6

Re: [PATCH v8 0/2] x86/boot/KASLR: Restrict kernel to be randomized in mirror regions

2017-08-04 Thread Baoquan He
On 08/04/17 at 03:52pm, Baoquan He wrote: > Sorry, NACK this series, there's error to hang system. Before I just > halt system intentionally with error() to check the efi memmap printing, > didn't notice this. Checking the cause. I rebuilt the code or change the one of the replacement back, hang n

Re: drivers/s390/char/keyboard.c kernel stack infoleak

2017-08-04 Thread Heiko Carstens
On Fri, Aug 04, 2017 at 11:09:24AM +0200, Thomas Huth wrote: > Hi, > > On 03.08.2017 15:59, sohu0106 wrote: > > > > The stack object "kbdiacr" has a total size of 4 bytes. Its last 1 bytes > > are padding bytes after "result" which are not initialized and leaked to > > userland via "copy_to_us

Re: [PATCH 3/3] IPI: Avoid to use 2 cache lines for one call_single_data

2017-08-04 Thread Peter Zijlstra
On Fri, Aug 04, 2017 at 09:28:17AM +0800, Huang, Ying wrote: > Peter Zijlstra writes: > [snip] > > diff --git a/include/linux/smp.h b/include/linux/smp.h > > index 68123c1fe549..8d817cb80a38 100644 > > --- a/include/linux/smp.h > > +++ b/include/linux/smp.h > > @@ -14,13 +14,16 @@ > > #include >

[PATCH] sched/core: Remove unnecessary initialization init_idle_bootup_task()

2017-08-04 Thread Cheng Jian
init_idle_bootup_task( ) is called in rest_init( ) to switch the scheduling class of the boot thread to the idle class the function only set : idle->sched_class = &idle_sched_class; which has been set in init_idle() called by sched_init() /* * The idle tasks have their own, simple sch

Re: perf: bug in rdpmc/mmap accounting after exec

2017-08-04 Thread Peter Zijlstra
On Thu, Aug 03, 2017 at 05:37:22PM -0700, Andy Lutomirski wrote: > Reviewed-by: Andy Lutomirski Thanks! > Can you send it upstream and tag it for stable? Yeah, I'll make it pretty, write a changelog and things like that :-)

Re: Re: [PATCH] mm, oom: fix potential data corruption when oom_reaper races with writer

2017-08-04 Thread Michal Hocko
On Fri 04-08-17 17:25:46, Tetsuo Handa wrote: > Well, while lockdep warning is gone, this problem is remaining. > > diff --git a/mm/memory.c b/mm/memory.c > index edabf6f..1e06c29 100644 > --- a/mm/memory.c > +++ b/mm/memory.c > @@ -3931,15 +3931,14 @@ int handle_mm_fault(struct vm_area_struct *vm

Re: [PATCH 0/6] constify misc attribute_group structures.

2017-08-04 Thread Arnd Bergmann
On Fri, Aug 4, 2017 at 8:37 AM, Arvind Yadav wrote: > attribute_group are not supposed to change at runtime. All functions > working with attribute_group provided by work with > const attribute_group. So mark the non-const structs as const. > > Arvind Yadav (6): > [PATCH 1/6] misc: apds9802als:

Re: [PATCH v2 05/11] mtd: cfi: reduce stack size with KASAN

2017-08-04 Thread Arnd Bergmann
On Fri, Aug 4, 2017 at 9:42 AM, Boris Brezillon wrote: > On Wed, 14 Jun 2017 23:15:40 +0200 > Arnd Bergmann wrote: > >> When CONFIG_KASAN is used, we consume a lot of extra stack space: >> >> drivers/mtd/chips/cfi_cmdset_0020.c: In function 'do_write_buffer': >> drivers/mtd/chips/cfi_cmdset_0020.

Re: drivers/s390/char/keyboard.c kernel stack infoleak

2017-08-04 Thread Thomas Huth
Hi, On 03.08.2017 15:59, sohu0106 wrote: > > The stack object "kbdiacr" has a total size of 4 bytes. Its last 1 bytes are > padding bytes after "result" which are not initialized and leaked to userland > via "copy_to_user". > > > diff --git a/keyboard.c b/keyboard.c > index ba0e4f9..76a6d35

[PATCH] i2c: mux: rename files to not have superfluous prefixes

2017-08-04 Thread Peter Rosin
Keep the module names intact using extra lines in the Makefile. Signed-off-by: Peter Rosin --- MAINTAINERS | 8 drivers/i2c/muxes/Makefile | 13 + .../{i2c-arb-gpio-challenge.c => arb-gpio-chal

[PATCH] f2fs: fix the size value in __check_sit_bitmap

2017-08-04 Thread Yunlong Song
The current size value is not correct and will miss bitmap check. Signed-off-by: Yunlong Song --- fs/f2fs/segment.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c index f336f8c..45fb534 100644 --- a/fs/f2fs/segment.c +++ b/fs/f2fs

<    3   4   5   6   7   8   9   >