Re: [PATCH] net, can, ti_hecc: add DT support for the ti,hecc controller

2015-10-18 Thread Marc Kleine-Budde
On 10/19/2015 08:39 AM, Heiko Schocher wrote: > add DT support for the ti hecc controller, used on > am3517 SoCs. A similar patch was posted a few days ago, see http://comments.gmane.org/gmane.linux.can/8616 and my comments. Please coordinate with Anton Glukhov (Cc'ed) and/or pick up his patches

[lkp] [drm] 0e94a0bada: WARNING: CPU: 0 PID: 1 at drivers/gpu/drm/drm_crtc.c:3598 drm_property_create+0x1df/0x230()

2015-10-18 Thread kernel test robot
FYI, we noticed the below changes on https://github.com/0day-ci/linux Shashank-Sharma/Color-Management-for-DRM/20151013-203652 commit 0e94a0bada080cd3c0d4d2516ef19a30064de1e0 ("drm: Create Color Management query properties") +--+-

Re: [alsa-devel] [PATCH v1 1/4] ASoC: codec: Inno codec driver for RK3036 SoC

2015-10-18 Thread Ricard Wanderlof
On Tue, 13 Oct 2015, Shunqian Zheng wrote: > +static const struct of_device_id rk3036_codec_of_match[] = { > + { .compatible = "rk3036-codec", }, > + {} > +}; > +MODULE_DEVICE_TABLE(of, rk3036_codec_of_match); Isn't a compatible string normally in the form "rockchip,rk3036-codec" ?

Re: [PATCH] libata: add support for NCQ commands for SG interface

2015-10-18 Thread Vinayak Kale
On Sun, Oct 18, 2015 at 12:12 AM, Sergei Shtylyov wrote: > On 10/17/2015 3:25 PM, Vinayak Kale wrote: > From: Vinayak Kale This patch is needed to make NCQ commands with FPDMA protocol value (eg READ/WRITE FPDMA) work over SCSI Generic (SG) interface. Signed-off-by:

Re: [PATCH 2/5] gpio/xilinx: enable for MIPS

2015-10-18 Thread Linus Walleij
On Wed, Oct 14, 2015 at 5:57 PM, Lars-Peter Clausen wrote: > On 10/14/2015 05:18 PM, Sören Brinkmann wrote: >> On Wed, 2015-10-14 at 01:51PM +0100, Zubair Lutfullah Kakakhel wrote: >> Hmm, in general, this driver is hopefully generic enough that it doesn't >> have any real architecture dependenci

Re: [PATCH v5] arm64: Introduce IRQ stack

2015-10-18 Thread AKASHI Takahiro
On 10/17/2015 11:27 PM, Jungseok Lee wrote: Currently, kernel context and interrupts are handled using a single kernel stack navigated by sp_el1. This forces a system to use 16KB stack, not 8KB one. This restriction makes low memory platforms suffer from memory pressure accompanied by performance

Re: [PATCH 2/5] gpio/xilinx: enable for MIPS

2015-10-18 Thread Linus Walleij
On Wed, Oct 14, 2015 at 2:51 PM, Zubair Lutfullah Kakakhel wrote: > MIPSfpga uses the axi gpio controller. Enable the driver for MIPS. > > Signed-off-by: Zubair Lutfullah Kakakhel Patch applied. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

Re: [PATCH] net, can, ti_hecc: fix a run time warn_on.

2015-10-18 Thread Heiko Schocher
Hello Marc, Am 19.10.2015 um 08:34 schrieb Marc Kleine-Budde: On 10/19/2015 08:22 AM, Heiko Schocher wrote: This patch fixes a warning in clk_enable by calling clk_prepare_enable instead. What about the corresponding clk_disable_unprepare()? Yes, that should be fixed too, do this in a v2, t

Re: [PATCH 0/3] Mediatek EFUSE Support

2015-10-18 Thread Sascha Hauer
Hi, On Fri, Oct 16, 2015 at 04:39:08PM +0800, andrew-ct.c...@mediatek.com wrote: > This patch adds EFUSE support driver which is used by other drivers > like thermal sensor and HDMI impedance. > > There are some efuses these fuses store things like calibration data, > speed bins.. etc. Drivers li

Re: [PATCH v4 2/2] arm64: Expand the stack trace feature to support IRQ stack

2015-10-18 Thread AKASHI Takahiro
Jungseok, On 10/15/2015 10:39 PM, Jungseok Lee wrote: On Oct 15, 2015, at 1:19 PM, AKASHI Takahiro wrote: Jungseok, 8< diff --git a/arch/arm64/kernel/traps.c b/arch/arm64/kernel/traps.c index f93aae5..e18be43 100644 --- a/arch/arm64/kernel/traps.c +++ b/arch/arm64/kernel/traps.c @@ -

Re: [PATCH] iommu/ipmmu-vmsa: Drop LPAE Kconfig dependency

2015-10-18 Thread Laurent Pinchart
Hi Magnus, Thank you for the patch. On Monday 19 October 2015 12:02:53 Magnus Damm wrote: > From: Magnus Damm > > Neither the ARM page table code enabled by IOMMU_IO_PGTABLE_LPAE > nor the IPMMU_VMSA driver actually depends on ARM_LPAE, so get > rid of the dependency. > > Tested with ipmmu-vmsa

[GIT] Networking

2015-10-18 Thread David Miller
1) Account for extra headroom in ath9k driver, from Felix Fietkau. 2) Fix OOPS in pppoe driver due to incorrect socket state transition, from Guillaume Nault. 3) Kill memory leak in amd-xgbe debugfx, from Geliang Tang. 4) Power management fixes for iwlwifi, from Johannes Berg. 5) Fix races

[PATCH] net, can, ti_hecc: add DT support for the ti,hecc controller

2015-10-18 Thread Heiko Schocher
add DT support for the ti hecc controller, used on am3517 SoCs. Signed-off-by: Heiko Schocher --- .../devicetree/bindings/net/can/ti_hecc-can.txt| 20 ++ arch/arm/boot/dts/am3517.dtsi | 13 +++ drivers/net/can/ti_hecc.c | 45

Re: [PATCH] net, can, ti_hecc: fix a run time warn_on.

2015-10-18 Thread Marc Kleine-Budde
On 10/19/2015 08:22 AM, Heiko Schocher wrote: > This patch fixes a warning in clk_enable by calling > clk_prepare_enable instead. What about the corresponding clk_disable_unprepare()? Marc > > Signed-off-by: Heiko Schocher > --- > > drivers/net/can/ti_hecc.c | 2 +- > 1 file changed, 1 inser

[RFC PATCH] bpf: bpf_timer_callback() can be static

2015-10-18 Thread kbuild test robot
Signed-off-by: Fengguang Wu --- arraymap.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/bpf/arraymap.c b/kernel/bpf/arraymap.c index 1e03c70..dbdad0c 100644 --- a/kernel/bpf/arraymap.c +++ b/kernel/bpf/arraymap.c @@ -338,7 +338,7 @@ static int __init register_per

Re: [RFC PATCH] bpf: Add new bpf map type for timer

2015-10-18 Thread kbuild test robot
Hi He, [auto build test WARNING on v4.3-rc6 -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/He-Kuang/bpf-Add-new-bpf-map-type-for-timer/20151019-133809 reproduce: # apt-get install sparse

Re: [PATCH mmotm] mm: dont split thp page when syscall is called fix 4

2015-10-18 Thread Minchan Kim
Hello Hugh, On Fri, Oct 16, 2015 at 03:46:03PM -0700, Hugh Dickins wrote: > Compiler gives helpful warnings that madvise_free_pte_range() > has the args to split_huge_pmd() the wrong way round. > > Signed-off-by: Hugh Dickins Thanks for catching my mistake. Reviewed-by: Minchan Kim -- To unsu

[PATCH 4/5] mm: simplify reclaim path for MADV_FREE

2015-10-18 Thread Minchan Kim
I made reclaim path mess to check and free MADV_FREEed page. This patch simplify it with tweaking add_to_swap. So far, we mark page as PG_dirty when we add the page into swap cache(ie, add_to_swap) to page out to swap device but this patch moves PG_dirty marking under try_to_unmap_one when we deci

[PATCH 1/5] mm: MADV_FREE trivial clean up

2015-10-18 Thread Minchan Kim
1. Page table waker already pass the vma it is processing so we don't need to pass vma. 2. If page table entry is dirty in try_to_unmap_one, the dirtiness should propagate to PG_dirty of the page. So, it's enough to check only PageDirty without other pte dirty bit checking. Signed-off-by: Minchan

[PATCH 3/5] mm: clear PG_dirty to mark page freeable

2015-10-18 Thread Minchan Kim
Basically, MADV_FREE relies on dirty bit in page table entry to decide whether VM allows to discard the page or not. IOW, if page table entry includes marked dirty bit, VM shouldn't discard the page. However, as a example, if swap-in by read fault happens, page table entry doesn't have dirty bit s

[PATCH 0/5] MADV_FREE refactoring and fix KSM page

2015-10-18 Thread Minchan Kim
Hello, it's too late since I sent previos patch. https://lkml.org/lkml/2015/6/3/37 This patch is alomost new compared to previos approach. I think this is more simple, clear and easy to review. One thing I should notice is that I have tested this patch and couldn't find any critical problem so I

[PATCH 2/5] mm: skip huge zero page in MADV_FREE

2015-10-18 Thread Minchan Kim
It is pointless to mark huge zero page as freeable. Let's skip it. Signed-off-by: Minchan Kim --- mm/huge_memory.c | 4 1 file changed, 4 insertions(+) diff --git a/mm/huge_memory.c b/mm/huge_memory.c index f1de4ce583a6..269ed99493f0 100644 --- a/mm/huge_memory.c +++ b/mm/huge_memory.c @@

[PATCH 5/5] mm: mark stable page dirty in KSM

2015-10-18 Thread Minchan Kim
Stable page could be shared by several processes and last process could own the page among them after CoW or zapping for every process except last process happens. Then, page table entry of the page in last process can have no dirty bit and PG_dirty flag in page->flags. In this case, MADV_FREE coul

[PATCH] regulator, dt: add dt support for tps6502x regulator

2015-10-18 Thread Heiko Schocher
add DT support for the tps6502x regulators. Signed-off-by: Heiko Schocher --- .../devicetree/bindings/regulator/tps6502x.txt | 56 arch/arm/boot/dts/tps65023.dtsi| 46 +++ drivers/regulator/tps65023-regulator.c | 326 +++-- 3 files chan

[PATCH] arm: dts: berlin2q-marvell-dmp: remove broken-cd from eMMC node

2015-10-18 Thread Jisheng Zhang
The eMMC is non-removable so is marked with the non-removable DT property to avoid having to redetect it after a suspend/resume. But it also has the broken-cd property which is wrong since only one of the DT properties for card detection should be used Signed-off-by: Jisheng Zhang --- arch/arm/

[PATCH] net, can, ti_hecc: fix a run time warn_on.

2015-10-18 Thread Heiko Schocher
This patch fixes a warning in clk_enable by calling clk_prepare_enable instead. Signed-off-by: Heiko Schocher --- drivers/net/can/ti_hecc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/can/ti_hecc.c b/drivers/net/can/ti_hecc.c index cf345cb..c08e8ea 100644 ---

[PATCH v11 1/3] dt-bindings: Add a binding for Mediatek xHCI host controller

2015-10-18 Thread Chunfeng Yun
add a DT binding documentation of xHCI host controller for the MT8173 SoC from Mediatek. Signed-off-by: Chunfeng Yun --- .../devicetree/bindings/usb/mt8173-xhci.txt| 51 ++ 1 file changed, 51 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/mt81

[PATCH v11 3/3] arm64: dts: mediatek: add xHCI & usb phy for mt8173

2015-10-18 Thread Chunfeng Yun
add xHCI and phy drivers for MT8173-EVB Signed-off-by: Chunfeng Yun --- arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 16 +++ arch/arm64/boot/dts/mediatek/mt8173.dtsi| 42 + 2 files changed, 58 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt817

[PATCH v11 0/3] Mediatek xHCI support

2015-10-18 Thread Chunfeng Yun
>From 1c6e0dd39074297ebb0714c1d44a3e0dc9af466c Mon Sep 17 00:00:00 2001 From: Chunfeng Yun Date: Mon, 19 Oct 2015 14:13:45 +0800 Subject: [PATCH v11 0/3] Mediatek xHCI support The patch supports MediaTek's xHCI controller. There are some differences from xHCI spec: 1. The interval is specified i

[PATCH v11 2/3] xhci: mediatek: support MTK xHCI host controller

2015-10-18 Thread Chunfeng Yun
There some vendor quirks for MTK xhci host controller: 1. It defines some extra SW scheduling parameters for HW to minimize the scheduling effort for synchronous and interrupt endpoints. The parameters are put into reseved DWs of slot context and endpoint context. 2. Its IMODI unit for Interr

Re: [linux-sunxi] Re: [PATCH 3/6] mfd: axp20x: Add support for RSB based AXP223 PMIC

2015-10-18 Thread Chen-Yu Tsai
On Mon, Oct 19, 2015 at 2:02 PM, Maxime Ripard wrote: > On Fri, Oct 16, 2015 at 02:46:23PM +0800, Chen-Yu Tsai wrote: >> On Fri, Oct 16, 2015 at 2:41 PM, Maxime Ripard >> wrote: >> > On Thu, Oct 15, 2015 at 12:32:19AM +0800, Chen-Yu Tsai wrote: >> >> The AXP223 is a new PMIC commonly paired with

[PATCH] [media] c8sectpfe: Remove select on CONFIG_FW_LOADER_USER_HELPER_FALLBACK

2015-10-18 Thread Takashi Iwai
c8sectpfe driver selects CONFIG_FW_LOADER_USER_HELPER_FALLBACK by some reason, but this option is known to be harmful, leading to minutes of stalls at boot time. The option was intended for only compatibility for an old exotic system that mandates the udev interaction, and not a thing a driver sel

[PATCH] drm/sti: Remove select of CONFIG_FW_LOADER_USER_HELPER_FALLBACK

2015-10-18 Thread Takashi Iwai
The commit [4fdbc678fe4d: drm: sti: add HQVDP plane] added the select of CONFIG_FW_LOADER_USER_HELPER_FALLBACK by some unwritten reason. But this config is known to be harmful, and is present only for compatibility reason for an old exotic system that mandates udev interaction which isn't supposed

Re: [PATCH] pinctrl: mvebu: armada-38x: add suspend/resume support

2015-10-18 Thread Marcin Wojtas
Hi Thomas, 2015-10-18 16:01 GMT+02:00 Thomas Petazzoni : > Hello Marcin, > > On Sun, 18 Oct 2015 10:43:42 +0200, Marcin Wojtas wrote: > >> Thanks for pointing this. I based on pinctrl-armada-xp.c (it needs a >> fix then, too) and it worked. I must have missed, because I got proper >> registers' nu

linux-next: manual merge of the akpm tree with the usb tree

2015-10-18 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in: drivers/usb/host/fusbh200-hcd.c between commit: 34e51ba6b65b ("usb-host: Remove fusbh200 driver") from the usb tree and patch: "dma: remove external references to dma_supported" from the akpm tree. I fixed it up

Re: [linux-sunxi] Re: [PATCH 3/6] mfd: axp20x: Add support for RSB based AXP223 PMIC

2015-10-18 Thread Maxime Ripard
On Fri, Oct 16, 2015 at 02:46:23PM +0800, Chen-Yu Tsai wrote: > On Fri, Oct 16, 2015 at 2:41 PM, Maxime Ripard > wrote: > > On Thu, Oct 15, 2015 at 12:32:19AM +0800, Chen-Yu Tsai wrote: > >> The AXP223 is a new PMIC commonly paired with Allwinner A23/A33 SoCs. > >> It is functionally identical to

Re: [PATCH v10 2/3] xhci: mediatek: support MTK xHCI host controller

2015-10-18 Thread chunfeng yun
On Sun, 2015-10-18 at 11:51 +0800, Chunfeng Yun wrote: > There some vendor quirks for MTK xhci host controller: > 1. It defines some extra SW scheduling parameters for HW > to minimize the scheduling effort for synchronous and > interrupt endpoints. The parameters are put into reseved > DWs o

[PATCH] KVM: x86: MMU: Initialize force_pt_level before calling mapping_level()

2015-10-18 Thread Takuya Yoshikawa
Commit fd1369021878 ("KVM: x86: MMU: Move mapping_level_dirty_bitmap() call in mapping_level()") forgot to initialize force_pt_level to false in FNAME(page_fault)() before calling mapping_level() like nonpaging_map() does. This can sometimes result in forcing page table level mapping unnecessarily

Darlehen anbieten

2015-10-18 Thread BARCLAYS LOAN CAPITAL
Guten Tag, Wir sind BARCLAYS Fremdkapital geben Kredite per Post Anzeige. Wir bieten verschiedene Arten von Krediten (kurz- und langfristige Darlehen, persönliche Darlehen, Kredite an Unternehmen etc.) um 3% Zins. Wir geben Kredite an Menschen in Not nicht unabhängig von ihrem Sta

Re: pull-request: wireless-drivers 2015-10-17

2015-10-18 Thread David Miller
From: Kalle Valo Date: Sat, 17 Oct 2015 08:26:19 +0300 > few small fixes I would like to get to 4.3 still. Please let me know if > there are any problems. Pulled, thanks Kalle. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.k

Re: [RFC] perf: fix building for ARCv1

2015-10-18 Thread Andi Kleen
Vineet Gupta writes: > > But this user space - so IMHO UP/SMP doesn't matter and we can't simulate > them in > C just by itself. It matters when you access the perf ring buffer which is updated by kernel. Also perf is now multi threaded to some degree. -Andi -- To unsubscribe from this list: se

[PATCH 03/11] dts: pinctrl: Add GPIO to Pinctrl pin mapping in DT

2015-10-18 Thread Pramod Kumar
ASIU gpio controller's pins are muxed with pin-cntroller. Add this mapping through property "gpio-ranges". Signed-off-by: Pramod Kumar Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- arch/arm/boot/dts/bcm-cygnus.dtsi | 53 +-- 1 file changed, 51 insertio

[PATCH 08/11] pinctrl: Add new compatible string to GPIO controller driver

2015-10-18 Thread Pramod Kumar
This compatible string should be used for all new iproc based future SoCs having the same GPIO controller hardware. Signed-off-by: Pramod Kumar Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- drivers/pinctrl/bcm/pinctrl-cygnus-gpio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/driv

[PATCH 11/11] pinctrl: Rename gpio driver from cygnus to iproc

2015-10-18 Thread Pramod Kumar
Rename gpio driver file name from pinctrl-cygnus-gpio.c to pinctrl-iproc-gpio.c to make it more generic so that all iproc based future SoCs using the same gpio block could use this driver. Signed-off-by: Pramod Kumar Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- drivers/pinctrl/bcm/Kconf

[PATCH 10/11] Documentation: Rename gpio controller name from cygnus to iproc

2015-10-18 Thread Pramod Kumar
Renamed gpio controller's driver name from cygnus to iproc to make it more generic so that all iProc based SoCs having the same gpio controller could use this. Signed-off-by: Pramod Kumar Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- .../bindings/pinctrl/{brcm,cygnus-gpio.txt => brcm,ipr

[PATCH 09/11] gpio: Rename func/macro/var to IP-block,iproc

2015-10-18 Thread Pramod Kumar
Change functions, macros and variables name from cygnus to IP block, iproc, so that it could be used in all iproc based future SoCs having same GPIO controller block. Signed-off-by: Pramod Kumar Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- drivers/pinctrl/bcm/pinctrl-cygnus-gpio.c | 306

[PATCH 02/11] pinctrl: Remove GPIO to Pinctrl pin mapping from driver

2015-10-18 Thread Pramod Kumar
Remove gpio to pinctrl pin mapping code from driver and address this through standard property "gpio-ranges". Signed-off-by: Pramod Kumar Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- drivers/pinctrl/bcm/pinctrl-cygnus-gpio.c | 131 +- 1 file changed, 3 insert

[PATCH 00/11] Generalized broadcom cygnus gpio driver

2015-10-18 Thread Pramod Kumar
Generalized pinctrl-cygnus-gpio driver so that it could be used for all iProc architecture based future SoCs having same gpio pin controller. Generalization process made the below changes in driver- 1. Removed pin mapping from driver and addressed this via DT through "gpio-ranges" property. 2. Add

[PATCH 01/11] dt-bindings: pinctrl: Optional DT property to support pin mappings

2015-10-18 Thread Pramod Kumar
If GPIO controller's pins are muxed, pin-controller subsystem need to be intimated by defining mapping between gpio and pinmux controller. This patch adds required properties to define this mapping via DT. Signed-off-by: Pramod Kumar Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- .../devi

[PATCH 05/11] dt-binding: Add ngpios property to GPIO controller node

2015-10-18 Thread Pramod Kumar
Add ngpios property to the gpio controller's DT node so that controller driver extracts total number of gpio lines present in controller from DT and removes dependency on driver. Signed-off-by: Pramod Kumar Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- Documentation/devicetree/bindings/p

[PATCH 04/11] dt-binding: Add new compatible string for gpio controller driver

2015-10-18 Thread Pramod Kumar
This new compatible string, "brcm,iproc-gpio", should be used for all new iproc-based future SoCs. Signed-off-by: Pramod Kumar Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- Documentation/devicetree/bindings/pinctrl/brcm,cygnus-gpio.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletio

[PATCH 07/11] pinctrl: use ngpios propety from DT

2015-10-18 Thread Pramod Kumar
Since identical hardware is used in several instances and all pins are not routed to pinctrl hence getting total number of gpios from DT make more sense hence stop using total number of gpios pins from drivers and extract it from DT. Signed-off-by: Pramod Kumar Reviewed-by: Ray Jui Reviewed-by:

[PATCH 06/11] dts: define ngpios property in gpio controller's node

2015-10-18 Thread Pramod Kumar
Add ngpios property in cygnus ASIU, CCM and CRMU gpio controller's node. Signed-off-by: Pramod Kumar Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- arch/arm/boot/dts/bcm-cygnus.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/bcm-cygnus.dtsi b/arch/arm/boot/d

[PATCH 1/2] serial: support register interface with 16-bit stride for console

2015-10-18 Thread Masahiro Yamada
Currently, 8-bit (MMIO) and 32-bit (MMIO32) strides are supported for the 8250 console, but 16-bit (MMIO16) stride is not. The 8250 UART device on my board has 16-bit stride (reg-shift = <1>) and I am eager to use earlycon with it. Refer to arch/arm/boot/dts/uniphier-support-card.dtsi: s

[PATCH 0/2] serial: console: add two features

2015-10-18 Thread Masahiro Yamada
1/2: add MMIO16 register interface support 2/2: allow to input clock frequency from kernel parameter Masahiro Yamada (2): serial: support register interface with 16-bit stride for console serial: earlycon: allow to specify uartclk in earlycon kernel-parameter Documentation/kernel-param

[PATCH 2/2] serial: earlycon: allow to specify uartclk in earlycon kernel-parameter

2015-10-18 Thread Masahiro Yamada
The input clock frequency varies from device to device, but the earlycon uses the fixed frequency (BASE_BAUD * 16). It makes impossible to set the correct divisor to the register. This commit allows to specify the input clock frequency from the kernel-parameter. [Example] earlycon=uart8250,

[RFC PATCH] bpf: Add new bpf map type for timer

2015-10-18 Thread He Kuang
This patch implements a timer map type inherited from array map. eBPF programs can deloy a timer by updating an entry in timer map, and destroy that by deleting the entry. The timer delay time(ns) is set by updating the value field of the entries. Currently, an intended empty function is called wh

Re: [PATCH v10 3/3] arm64: dts: mediatek: add xHCI & usb phy for mt8173

2015-10-18 Thread chunfeng yun
On Sun, 2015-10-18 at 14:01 +0300, Sergei Shtylyov wrote: > Hello. > > On 10/18/2015 6:51 AM, Chunfeng Yun wrote: > > > add xHCI and phy drivers for MT8173-EVB > > > > Signed-off-by: Chunfeng Yun > > [...] > > > diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi > > b/arch/arm64/boot/dts/m

Re: [PATCH v2 net-next] RDS: fix rds-ping deadlock over TCP transport

2015-10-18 Thread David Miller
From: Santosh Shilimkar Date: Fri, 16 Oct 2015 22:13:21 -0400 > Sowmini found hang with rds-ping while testing RDS over TCP. Its > a corner case and doesn't happen always. The issue is not reproducible > with IB transport. Its clear from below dump why we see it with RDS TCP. ... > This happens b

Re: [PATCH 3/4] hwrng: exynos - Fix missing configuration after suspend to RAM

2015-10-18 Thread Krzysztof Kozlowski
On 19.10.2015 13:37, Krzysztof Kozlowski wrote: > After suspend to RAM the device stopped to work with ETIMEDOUT error: > > $ dd if=/dev/hwrng of=/dev/null bs=1 count=16 > dd: reading `/dev/hwrng': Connection timed out > > In the STATUS register the bits #5 (PRNG_DONE) and #1 > (SEED_SETTING_DONE

[PATCH 3/3] ARM: dts: Enable PRNG module on exynos4412-trats2

2015-10-18 Thread Krzysztof Kozlowski
Enable Pseudo Random Number Generator (PRNG) on Trats2 board. This allows using hardware random number generator: $ echo exynos > /sys/class/misc/hw_random/rng_current Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos4412-trats2.dts | 4 1 file changed, 4 insertions(+) diff -

[PATCH 2/3] ARM: dts: Add PRNG module for exynos4

2015-10-18 Thread Krzysztof Kozlowski
Add Pseudo Random Number Generator (PRNG) node of Security Sub System (SSS) to Exynos 4 DTSI. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos4.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/exynos4.dtsi b/arch/arm/boot/dts/exynos4.dtsi index 31

[PATCH 1/3] clk: samsung: exynos4: Add SSS gate clock

2015-10-18 Thread Krzysztof Kozlowski
Add a gate clock for controlling all clocks of Security Sub System (SSS). Signed-off-by: Krzysztof Kozlowski --- drivers/clk/samsung/clk-exynos4.c | 1 + include/dt-bindings/clock/exynos4.h | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/clk/samsung/clk-exynos4.c b/drivers/clk/s

[PATCH 0/3] ARM: dts: Enable Exynos RNG module

2015-10-18 Thread Krzysztof Kozlowski
Hi, The patchset adds necessary clock from Security SubSystem (SSS) and enables the PRNG module of Exynos for Trats2 board. The first patch (clock) is required for other ones so please take everything in one step. The actual Device Tree support (and compatible) was sent in separate patch: - ht

Re: [RFC] perf: fix building for ARCv1

2015-10-18 Thread Vineet Gupta
On Monday 19 October 2015 04:45 AM, Andi Kleen wrote: > Alexey Brodkin writes: >> So the best we may do is to implement detection of atomics in the toolchain >> and if there's no atomics hard stop with >> perf building. > If your target is single cpu only you can always simulate them in C. > > -A

Re: [RFC PATCH] x86: Kill notsc

2015-10-18 Thread Andy Lutomirski
On Sun, Oct 18, 2015 at 7:20 AM, Borislav Petkov wrote: > Ok, > > let's try this and see where it takes us. Patch has been only lightly > tested in kvm - I'll hammer on it for real once we agree about the > general form. > > Aanyway, this patch is something Peter and I have been talking about on >

Re: [tip:x86/asm] x86/entry/32: Fix entry_INT80_32() to expect interrupts to be on

2015-10-18 Thread Andy Lutomirski
On Oct 18, 2015 3:16 AM, "tip-bot for Andy Lutomirski" wrote: > > Commit-ID: 657c1eea0019e80685a84cbb1919794243a187c9 > Gitweb: http://git.kernel.org/tip/657c1eea0019e80685a84cbb1919794243a187c9 > Author: Andy Lutomirski > AuthorDate: Fri, 16 Oct 2015 15:42:54 -0700 > Committer: Ingo Mo

[PATCH 4/4] hwrng: exynos - Add Device Tree support

2015-10-18 Thread Krzysztof Kozlowski
Add Device Tree support for the driver. The Pseudo Random Number Generator module is the same in almost all of Exynos SoCs, since Exynos4210 (however the tests were done only on Trats2 board with Exynos4412). There are some differences on newer Exynos Octa (Exynos542x) SoCs. Signed-off-by: Krzyszt

[PATCH 1/4] dt-bindings: rng: Describe Exynos4 PRNG bindings

2015-10-18 Thread Krzysztof Kozlowski
Document the bindings used by exynos-rng Pseudo Random Number Generator driver. Signed-off-by: Krzysztof Kozlowski --- .../devicetree/bindings/rng/samsung,exynos-rng4.txt | 17 + 1 file changed, 17 insertions(+) create mode 100644 Documentation/devicetree/bindings/rng/samsu

[PATCH 3/4] hwrng: exynos - Fix missing configuration after suspend to RAM

2015-10-18 Thread Krzysztof Kozlowski
After suspend to RAM the device stopped to work with ETIMEDOUT error: $ dd if=/dev/hwrng of=/dev/null bs=1 count=16 dd: reading `/dev/hwrng': Connection timed out In the STATUS register the bits #5 (PRNG_DONE) and #1 (SEED_SETTING_DONE) were not set. Instead PRNG_ERROR (seventh bit) was high. Af

[PATCH 2/4] hwrng: exynos - Add timeout for waiting on init done

2015-10-18 Thread Krzysztof Kozlowski
Driver may hang waiting indefinitely for PRNG to finish its initialization stage. Instead of stalling return -ETIMEDOUT error. Signed-off-by: Krzysztof Kozlowski --- drivers/char/hw_random/exynos-rng.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/char/hw_random

[PATCH] serial: 8250_uniphier: fix dl_read and dl_write functions

2015-10-18 Thread Masahiro Yamada
The register offset must be shifted by regshift, otherwise the baudrate is not set. I missed the issue probably because the divisor register was already set by the boot loader. Fixes: 1a8d2903cb6a ("serial: 8250_uniphier: add UniPhier serial driver") Signed-off-by: Masahiro Yamada --- Hi Greg,

Re: [PATCH v2] powerpc/mpc5xxx: Avoid dereferencing potentially freed memory

2015-10-18 Thread Michael Ellerman
On Fri, 2015-10-16 at 22:05 +0200, Christophe JAILLET wrote: > Hi, > sorry if un-clear. > > What I mean is that in the patch related > 'powerpc/sysdev/mpc5xxx_clocks.c', there was no call to 'be32_to_cpup'. > So in the proposed patch, 'of_property_read_u32' adds it. > > While in the patch agains

[PATCH 0/4] hwrng: exynos - Add Device Tree support

2015-10-18 Thread Krzysztof Kozlowski
Hi, The patchset fixes known issues in Exynos hardware random number generator and adds Device Tree support for it. The device was tested on Trats2 board (Exynos4412). It should work on other Exynos4 and Exynos5 as well... altough it seems that on some of Exynos542x boards the SSS module is secur

Re: [PATCH 4.2 000/258] 4.2.4-stable review

2015-10-18 Thread Guenter Roeck
On 10/17/2015 06:55 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.2.4 release. There are 258 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be ma

Re: ***SPAM*** [PATCH 4.1 000/202] 4.1.11-stable review

2015-10-18 Thread Guenter Roeck
On 10/17/2015 06:56 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.1.11 release. There are 202 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be m

Re: [PATCH 3.14 00/79] 3.14.55-stable review

2015-10-18 Thread Guenter Roeck
On 10/17/2015 07:04 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.14.55 release. There are 79 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be m

Re: [PATCH 3.10 00/54] 3.10.91-stable review

2015-10-18 Thread Guenter Roeck
On 10/17/2015 07:05 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.10.91 release. There are 54 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be m

Re: [PATCH V3 1/2] bpf: control the trace data output on current cpu when perf sampling

2015-10-18 Thread xiakaixu
于 2015/10/17 6:06, Alexei Starovoitov 写道: > On 10/16/15 12:42 AM, Kaixu Xia wrote: >> This patch adds the flag dump_enable to control the trace data >> output process when perf sampling. By setting this flag and >> integrating with ebpf, we can control the data output process and >> get the samples

Re: [GIT PULL] workqueue fixes for v4.3-rc5

2015-10-18 Thread Mike Galbraith
On Wed, 2015-10-14 at 16:24 -0400, Tejun Heo wrote: > But in terms of API consistency, it sucks to have queue_work() > guarantee local queueing but not queue_delayed_work(). The ideal > situation would be updating both so that neither guarantees. You don't have to change anything to have neither

Re: [PATCH v2 0/6] ARM: dts: Use correct CD properties for SDIO and eMMC in Snow and Peach

2015-10-18 Thread Alim Akhtar
Hi Javier, On 10/15/2015 10:21 PM, Javier Martinez Canillas wrote: Hello, The Exynos Chromebooks DTS don't use the correct card detection properties since these were carried from the vendor tree that had a reason to do so. There are two things that I noticed: 1) The Marvell WiFi SDIO is marke

[PATCH] iommu/ipmmu-vmsa: Drop LPAE Kconfig dependency

2015-10-18 Thread Magnus Damm
From: Magnus Damm Neither the ARM page table code enabled by IOMMU_IO_PGTABLE_LPAE nor the IPMMU_VMSA driver actually depends on ARM_LPAE, so get rid of the dependency. Tested with ipmmu-vmsa on r8a7794 ALT and a kernel config using: # CONFIG_ARM_LPAE is not set Signed-off-by: Magnus Damm ---

Re: Linux 4.3-rc6

2015-10-18 Thread Linus Torvalds
On Sun, Oct 18, 2015 at 7:38 PM, Randy Dunlap wrote: > > When using 'patch' and patch-4.3-rc6.gz to create a Linux 4.3-rc6 source tree, > scripts/kernel-doc-xml-ref is not created as executable. (This has been > happening for several -rc releases now). 'patch' doesn't know anything about file mod

Re: [PATCH V3 1/2] bpf: control the trace data output on current cpu when perf sampling

2015-10-18 Thread xiakaixu
于 2015/10/17 6:06, Alexei Starovoitov 写道: > On 10/16/15 12:42 AM, Kaixu Xia wrote: >> This patch adds the flag dump_enable to control the trace data >> output process when perf sampling. By setting this flag and >> integrating with ebpf, we can control the data output process and >> get the samples

Re: [PATCH] net: hisilicon: add OF dependency

2015-10-18 Thread David Miller
From: Arnd Bergmann Date: Fri, 16 Oct 2015 11:33:49 +0200 > The HNS MDIO driver fails to build on older ARM machines that are not > yet converted to CONFIG_OF: > > drivers/net/ethernet/hisilicon/hns_mdio.c: In function 'hns_mdio_bus_name': > drivers/net/ethernet/hisilicon/hns_mdio.c:405:14: erro

Re: [PATCH] net: hix5hd2_gmac: avoid integer overload warning

2015-10-18 Thread David Miller
From: Arnd Bergmann Date: Fri, 16 Oct 2015 12:00:51 +0200 > BITS_RX_EN is an 'unsigned long' constant, so the ones complement of that > has bits set that do not fit into a 32-bit variable on 64-bit architectures, > which causes a harmless gcc warning: > > drivers/net/ethernet/hisilicon/hix5hd2_g

Re: [PATCH v2 4/4] Staging: rtl8712: fix warning for placing constant on the right side of test

2015-10-18 Thread Larry Finger
On 10/18/2015 09:00 PM, Greg KH wrote: On Sun, Oct 18, 2015 at 12:02:53PM +0530, punit vara wrote: One more thing I would like suggestion how can start switching this driver to LIB80211 ,MAC80211 ? Which is the first file I should focus ? Simultaneously I am trying to understand the flow of driv

Re: [PATCH] net: hisilicon: include linux/vmalloc.h in dsaf

2015-10-18 Thread David Miller
From: Arnd Bergmann Date: Fri, 16 Oct 2015 11:30:56 +0200 > Some configurations fail to build the hns dsaf code because of > a missing header file: > > ethernet/hisilicon/hns/hns_dsaf_main.c: In function 'hns_dsaf_init': > ethernet/hisilicon/hns/hns_dsaf_main.c:1096:2: error: implicit declaratio

Re: [PATCH net-next 0/2] net: hns: fixes two bugs in hns driver

2015-10-18 Thread David Miller
From: yankejian Date: Fri, 16 Oct 2015 17:03:18 +0800 > This patchset fixes two bugs in hns driver. > - fixes timeout when received pause frame from the connective ports > - should be set by using ethtool -s when the devices are link down Series applied, thanks. -- To unsubscribe from this

Re: [PATCH] mm: Introduce kernelcore=reliable option

2015-10-18 Thread Xishi Qiu
On 2015/10/15 21:32, Taku Izumi wrote: > Xeon E7 v3 based systems supports Address Range Mirroring > and UEFI BIOS complied with UEFI spec 2.5 can notify which > ranges are reliable (mirrored) via EFI memory map. > Now Linux kernel utilize its information and allocates > boot time memory from reli

Re: Linux 4.3-rc6

2015-10-18 Thread Randy Dunlap
On 10/18/15 16:45, Linus Torvalds wrote: > When using 'patch' and patch-4.3-rc6.gz to create a Linux 4.3-rc6 source tree, scripts/kernel-doc-xml-ref is not created as executable. (This has been happening for several -rc releases now). Am I doing something wrong? (other than not using git) or i

Re: [PATCH net-next v3 0/2] net: hisilicon fix some bugs in HNS drivers

2015-10-18 Thread David Miller
From: huangdaode Date: Fri, 16 Oct 2015 11:54:15 +0800 > This patchset fixes the two bugs in HNS driver, one is remove the hnae sysfs > interface > according to the review comments from Arnd Bergmann , another > is fixing the wrong mac_id judgement bug which is found during internal tests. Seri

Re: [PATCH net-next 0/4] BPF updates

2015-10-18 Thread David Miller
From: Daniel Borkmann Date: Fri, 16 Oct 2015 03:09:21 +0200 > This set adds support for persistent maps/progs. Please see > individual patches for further details. > > A man-page update to bpf(2) will be sent afterwards, also a > iproute2 patch for support in tc. > > Thanks! It seems like the

[RFC PATCH] qspinlock: Improve performance by reducing load instruction rollback

2015-10-18 Thread ling . ma . program
From: Ma Ling All load instructions can run speculatively but they have to follow memory order rule in multiple cores as below: _x = _y = 0 Processor 0 Processor 1 mov r1, [ _y] //M1 mov [ _x], 1 //M3 mov r2, [ _x] //M2 mov

[PATCH v2 09/14] ACPICA: Debugger: Fix "quit/exit" command by cleaning up user commands termination logic

2015-10-18 Thread Lv Zheng
ACPICA commit 0dd68e16274cd38224aa4781eddc57dc2cbaa108 The quit/exit commands shouldn't invoke acpi_terminate_debugger() and acpi_terminate() right in the user command loop, because when the debugger exits, the kernel ACPI subsystem shouldn't be terminated (acpi_terminate()) and the debugger shoul

[PATCH v2 13/14] ACPICA: Debugger: Fix dead lock issue ocurred in single stepping mode

2015-10-18 Thread Lv Zheng
ACPICA commit 35273add90da19cd8790fdb5735f52e3c9861684 When single step execution is not ended, executing another control methods leads to dead locks around interpreter lock/namespace lock/method serialization lock. So we should only allow one execution from the debugger at same time. Lv Zheng. L

[PATCH v2 12/14] ACPI: Enable build of AML interpreter debugger

2015-10-18 Thread Lv Zheng
This patch enables ACPICA debugger files using a configurable CONFIG_ACPI_DEBUGGER configuration item. Those debugger related code that was originally masked as ACPI_FUTURE_USAGE now gets unmasked. Necessary OSL stubs are also added in this patch: 1. acpi_os_readable(): This should be arch specifi

[PATCH v2 11/14] ACPICA: Debugger: Add thread ID support so that single step mode can only apply to the debugger thread

2015-10-18 Thread Lv Zheng
When the debugger is running in the kernel mode, acpi_db_single_step() may also be invoked by the kernel runtime code path but the single stepping command prompt may be erronously logged as the kernel logs and runtime code path cannot proceed. This patch fixes this issue by adding acpi_gbl_db_thre

[PATCH v2 14/14] ACPICA: Update version to 20150930

2015-10-18 Thread Lv Zheng
From: Bob Moore ACPICA commit e9c75ca267262326e80d49a290e8387a5963e2d2 Version 20150930. Link: https://github.com/acpica/acpica/commit/e9c75ca2 Signed-off-by: Bob Moore Signed-off-by: Lv Zheng --- include/acpi/acpixf.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/in

[PATCH v2 10/14] ACPICA: Debugger: Fix "terminate" command by cleaning up subsystem shutdown logic

2015-10-18 Thread Lv Zheng
ACPICA commit 7e823714911480be47e310fb1b3590d289b9fd99 Segmentation fault can be seen for executing the "terminate" command. This is because acpi_ut_subsystem_shutdown() is errnously called multiple times. This patch cleans up acpi_ut_subsystem_shutdown() logics to fix this issue. Lv Zheng. Link

  1   2   3   4   >