Re: [tip:locking/core] sched/wait: Fix signal handling in bit wait helpers

2015-12-08 Thread Peter Zijlstra
On Fri, Dec 04, 2015 at 03:52:12AM -0800, tip-bot for Peter Zijlstra wrote: > Commit-ID: 68985633bccb6066bf1803e316fbc6c1f5b796d6 > Gitweb: http://git.kernel.org/tip/68985633bccb6066bf1803e316fbc6c1f5b796d6 > Author: Peter Zijlstra > AuthorDate: Tue, 1 Dec 2015 14:04:04 +0100 >

Re: [PATCH V2] ARM: SWP emulation: Restore original *data when failed

2015-12-08 Thread Russell King - ARM Linux
On Tue, Dec 08, 2015 at 10:22:53AM +, Vladimir Murzin wrote: > On 15/10/15 10:30, Shengjiu Wang wrote: > > __user_swpX_asm maybe failed in first STREX operation, emulate_swpX > > will try again, but the *data has been changed in first time. which > > causes the result is wrong. > > This patch

4.4-rc4: /etc/profile: interrupted system call

2015-12-08 Thread Pavel Machek
Hi! While opening terminal in gnome2... This is the first time I see the message, and it looks quite strange. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures)

[PATCH v5 2/4] Documentation: add the binding file for Freescale imx7d ADC driver

2015-12-08 Thread Haibo Chen
The patch adds the binding file for Freescale imx7d ADC driver. Signed-off-by: Haibo Chen Acked-by: Rob Herring --- .../devicetree/bindings/iio/adc/imx7d-adc.txt | 22 ++ 1 file changed, 22 insertions(+) create mode 100644

[PATCH v5 3/4] ARM: dts: imx7d.dtsi: add ADC support

2015-12-08 Thread Haibo Chen
Add imx7d ADC support. Signed-off-by: Haibo Chen --- arch/arm/boot/dts/imx7d.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/imx7d.dtsi b/arch/arm/boot/dts/imx7d.dtsi index ebc053a..aa0624d 100644 --- a/arch/arm/boot/dts/imx7d.dtsi +++

Re: [PATCH v6 4/5] iommu/mediatek: Add mt8173 IOMMU driver

2015-12-08 Thread kbuild test robot
Hi Yong, [auto build test ERROR on tegra/for-next] [also build test ERROR on v4.4-rc4 next-20151208] url: https://github.com/0day-ci/linux/commits/Yong-Wu/MT8173-IOMMU-SUPPORT/20151208-175252 base: https://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux for-next config: x86_64

Re: [PATCH 05/23] mtd: nand: jz4770: kill the ->ecc_layout field

2015-12-08 Thread Boris Brezillon
On Tue, 8 Dec 2015 10:30:40 + Harvey Hunt wrote: > Hi Boris, > > On 07/12/15 22:26, Boris Brezillon wrote: > > ->ecc_layout is not used by any board file. Kill this field to avoid any > > confusion. New boards are encouraged to use the default ECC layout defined > > in NAND core. > > > >

Re: [PATCH 05/23] mtd: nand: jz4770: kill the ->ecc_layout field

2015-12-08 Thread Harvey Hunt
Hi Boris, On 07/12/15 22:26, Boris Brezillon wrote: ->ecc_layout is not used by any board file. Kill this field to avoid any confusion. New boards are encouraged to use the default ECC layout defined in NAND core. Signed-off-by: Boris Brezillon ---

Re: [PATCH linux-next 0/5] mtd: spi-nor: add driver for Atmel QSPI controller

2015-12-08 Thread Cyrille Pitchen
Hi Brian, Le 07/12/2015 20:34, Brian Norris a écrit : > + Bean Huo > > Hi Cyrille, > > On Mon, Dec 07, 2015 at 03:09:09PM +0100, Cyrille Pitchen wrote: >> Hi all, >> >> this series of patches adds support to the Atmel QSPI controller available >> on sama5d2 SoCs. It was tested on a sama5d2

[PATCH] Staging: rdma:Delete unnecessary NULL check before calling function "kmem_cache_destroy"

2015-12-08 Thread Shah, Yash (Y.)
From: Yash Shah The kmem_cache_destroy() function tests whether its argument is NULL and then returns immediately. Thus the NULL check before calling this function is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Yash Shah ---

Re: [PATCH v2 1/9] clk: hi3519: add dt-binding document and header file

2015-12-08 Thread Arnd Bergmann
On Tuesday 08 December 2015 17:45:25 xuejiancheng wrote: > On 2015/12/7 17:36, Arnd Bergmann wrote: > > On Monday 07 December 2015 16:01:03 xuejiancheng wrote: > >> On 2015/12/4 18:56, Arnd Bergmann wrote: > >>> On Friday 04 December 2015 11:21:28 xuejiancheng wrote: > Hi Arnd, > >

Re: [PATCH V2] ARM: SWP emulation: Restore original *data when failed

2015-12-08 Thread Vladimir Murzin
On 15/10/15 10:30, Shengjiu Wang wrote: > __user_swpX_asm maybe failed in first STREX operation, emulate_swpX > will try again, but the *data has been changed in first time. which > causes the result is wrong. > This patch is to fix this issue. When STREX succeed, change the *data. > if it fail,

[PATCH v5 4/4] ARM: dts: imx7d-sdb: add ADC support

2015-12-08 Thread Haibo Chen
Add ADC support for imx7d-sdb board. Signed-off-by: Haibo Chen --- arch/arm/boot/dts/imx7d-sdb.dts | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/imx7d-sdb.dts b/arch/arm/boot/dts/imx7d-sdb.dts index 432aaf5..b2c4536 100644 ---

[PATCH v5 0/4] Add i.mx7d adc driver support

2015-12-08 Thread Haibo Chen
This patch set add imx7d adc driver support. Changes in v5: -call imx7d_adc_power_down() in driver probe when iio_device_register() failed -handle with adc channel conversion timeout in imx7d_adc_isr() Changes in v4: -sort the include head file alphabetically -really just clear the bit 31 of

[PATCH v5 1/4] iio: adc: add IMX7D ADC driver support

2015-12-08 Thread Haibo Chen
Freescale i.MX7D soc contains a new ADC IP. This patch add this ADC driver support, and the driver only support ADC software trigger. Signed-off-by: Haibo Chen --- drivers/iio/adc/Kconfig | 9 + drivers/iio/adc/Makefile| 1 + drivers/iio/adc/imx7d_adc.c | 589

[PATCH] MIPS: Fix DMA contiguous allocation

2015-12-08 Thread Qais Yousef
Recent changes to how GFP_ATOMIC is defined seems to have broken the condition to use mips_alloc_from_contiguous() in mips_dma_alloc_coherent(). I couldn't bottom out the exact change but I think it's this one d0164adc89f6 (mm, page_alloc: distinguish between being unable to sleep, unwilling to

Re: [PATCH v4 1/8] ARM: dts: Exynos542x/5800: add cluster regulator supply properties

2015-12-08 Thread Markus Reichl
Hi, tested the patch successfully on Odroid-XU4. Thanks -- Markus Am 07.12.2015 um 19:18 schrieb Bartlomiej Zolnierkiewicz: > Add cluster regulator supply properties as a preparation to > adding generic cpufreq-dt driver support for Exynos542x and > Exynos5800 based boards. > > Cc: Kukjin Kim

Re: [PATCH v2 0/2] dm verity: add support for error correction

2015-12-08 Thread Sami Tolvanen
On Mon, Dec 07, 2015 at 02:07:43PM -0500, Mike Snitzer wrote: > I'm not seeing any verification of the metadata in fec_read_parity() -- > so it would seem that corrupt RS blocks would result in -EBADMSG being > returned from decode_rs8() (by virtue of incorrect parity being passed > to

[PATCH] MIPS: VDSO: Fix build error

2015-12-08 Thread Qais Yousef
Commit ebb5e78cc634 (MIPS: Initial implementation of a VDSO) introduced a build error. For MIPS VDSO to be compiled it requires binutils version 2.25 or above but the check in the Makefile had inverted logic causing it to be compiled in if binutils is below 2.25. This fixes the following

Re: [PATCH 19/23] mtd: nand: switch all drivers to mtd_ooblayout_ops

2015-12-08 Thread Ralf Baechle
On Mon, Dec 07, 2015 at 11:26:14PM +0100, Boris Brezillon wrote: Looking good, Acked-by: Ralf Baechle Ralf -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: CGroup Namespaces (v6)

2015-12-08 Thread Alban Crequy
Hi, Thanks for the patches! On 8 December 2015 at 00:06, wrote: > Hi, > > following is a revised set of the CGroup Namespace patchset which Aditya > Kali has previously sent. The code can also be found in the cgroupns.v6 > branch of > >

Re: [PATCH] blkdev: Fix blkdev_open to release the bdev on error

2015-12-08 Thread Suzuki K. Poulose
On 08/12/15 07:58, Al Viro wrote: On Mon, Dec 07, 2015 at 10:49:05AM -0800, Linus Torvalds wrote: On Mon, Dec 7, 2015 at 10:05 AM, Suzuki K. Poulose wrote: ... Anyway, the fix for 9p bogosity follows; it definitely fixes a bug there, and I'm fairly sure that it fixes the bug that had been

Re: [PATCH] blkdev: Fix blkdev_open to release the bdev on error

2015-12-08 Thread Suzuki K. Poulose
On 08/12/15 07:25, Al Viro wrote: On Mon, Dec 07, 2015 at 06:05:03PM +, Suzuki K. Poulose wrote: blkdev_open() doesn't release the bdev, it attached to a given inode, if blkdev_get() fails (e.g, due to absence of a device). This can cause kernel crashes when the original filesystem tries to

Re: [PATCH v5 3/4] arm64: mm: support ARCH_MMAP_RND_BITS.

2015-12-08 Thread Arnd Bergmann
On Monday 07 December 2015 10:26:34 Daniel Cashman wrote: > > Ideally we'd remove the #ifdef around the mmap_rnd_compat_bits declaration > > and change this code to use > > > > if (IS_ENABLED(CONFIG_COMPAT) && test_thread_flag(TIF_32BIT)) > > > That would result in "undefined reference to

Re: [PATCH resend 4/6] ARM: dts: sun4i: Add VE (Video Engine) module clock node

2015-12-08 Thread Maxime Ripard
On Sat, Dec 05, 2015 at 09:16:45PM +0800, Chen-Yu Tsai wrote: > The video engine has its own module clock, which also includes a > reset control for it. > > Signed-off-by: Chen-Yu Tsai Applied, thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering

Re: [PATCH resend 6/6] ARM: dts: sun7i: Add VE (Video Engine) module clock node

2015-12-08 Thread Maxime Ripard
On Sat, Dec 05, 2015 at 09:16:47PM +0800, Chen-Yu Tsai wrote: > The video engine has its own module clock, which also includes a > reset control for it. > > Signed-off-by: Chen-Yu Tsai Applied, thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering

Re: [PATCH v2 0/7] ARM: orion5x/mv78xx0 multiplatform

2015-12-08 Thread Arnd Bergmann
On Monday 07 December 2015 18:22:39 Gregory CLEMENT wrote: > On mer., déc. 02 2015, Arnd Bergmann wrote: > > > I've updated the series slightly to leave out the last two patches for > > mach-dove. I think the MULTI_IRQ_HANDLER and SPARSE_IRQ use is useful > > to have for all three platforms for

Re: [PATCH v7 2/6] mfd: syscon: add a DT property to set value width

2015-12-08 Thread Arnd Bergmann
On Monday 07 December 2015 14:42:18 Damien Riegel wrote: > Good to see this patch applied. What's going on now with the other > patches of this serie ? How should I handle them ? I don't see any build-time dependencies between the patches, so please submit them to the respective maintainers.

Re: [PATCH resend 2/6] clk: sunxi: Add VE (Video Engine) module clock driver for sun[457]i

2015-12-08 Thread Maxime Ripard
Hi, On Sat, Dec 05, 2015 at 09:16:43PM +0800, Chen-Yu Tsai wrote: > The video engine has its own special module clock, consisting of a clock > gate, configurable dividers, and a reset control. > > On later (sun[68]i) families, the reset control is moved out of this > piece of hardware and

Re: [PATCH 3/3] clk: tegra-super: Fix sparse warnings for functions not declared as static

2015-12-08 Thread Jon Hunter
On 07/12/15 17:51, Rhyland Klein wrote: > On 12/7/2015 10:51 AM, Rhyland Klein wrote: >> On 12/4/2015 12:04 PM, Jon Hunter wrote: >>> Sparse reports the following warnings for structures and functions that >>> should be declared static: >>> >>> drivers/clk/tegra/clk-tegra-super-gen4.c:70:35:

Re: [PATCH 02/12] selftests/x86: Add check_initial_reg_state

2015-12-08 Thread Borislav Petkov
On Mon, Dec 07, 2015 at 01:51:27PM -0800, Andy Lutomirski wrote: > This checks that ELF binaries are started with an appropriately > blank register state. > > (There's currently a nasty special case in the entry asm to arrange > for this. I'm planning on removing the special case, and this will

[RFC PATCH 3/3] debugfs: update some bits of documentation

2015-12-08 Thread Roman Pen
Include description of 'debugfs_create_dir_with_tmpfiles()' call. Signed-off-by: Roman Pen Cc: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org --- Documentation/filesystems/debugfs.txt | 25 + 1 file changed, 25 insertions(+) diff --git

[RFC PATCH 1/3] debugfs: make create directory logic more generic

2015-12-08 Thread Roman Pen
Now __create_dir() accepts inode operations and private data. I will use this generic call in next path to create directory with temporary files. Signed-off-by: Roman Pen Cc: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org --- fs/debugfs/inode.c | 48

[RFC PATCH 2/3] debugfs: implement 'debugfs_create_dir_with_tmpfiles()'

2015-12-08 Thread Roman Pen
This new function creates a directory in debugfs with the given name with possibility to create temporary files on demand. Any attempt to open a non-existent file in that directory will create a temporary file, wich will be deleted when the last file descriptor is closed. This temporary file is

[RFC PATCH 0/3] debugfs: implement 'debugfs_create_dir_with_tmpfiles()'

2015-12-08 Thread Roman Pen
Hello. Here is an attempt to solve annoying race, which exists between two operations on debugfs entries: write (setting a request) and read (reading a response). E.g. let's assume that we have some storage device, which can have thousands of snapshots (yeah, plenty of them, thus it is

[PATCH v6 5/5] dts: mt8173: Add iommu/smi nodes for mt8173

2015-12-08 Thread Yong Wu
This patch add the iommu/larbs nodes for mt8173 Signed-off-by: Yong Wu --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 81 1 file changed, 81 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index

[PATCH v6 3/5] memory: mediatek: Add SMI driver

2015-12-08 Thread Yong Wu
This patch add SMI(Smart Multimedia Interface) driver. This driver is responsible to enable/disable iommu and control the power domain and clocks of each local arbiter. Signed-off-by: Yong Wu --- Currently SMI offer mtk_smi_larb_get/put to enable the power-domain ,clocks and initialize the

[PATCH v6 4/5] iommu/mediatek: Add mt8173 IOMMU driver

2015-12-08 Thread Yong Wu
This patch adds support for mediatek m4u (MultiMedia Memory Management Unit). Signed-off-by: Yong Wu --- drivers/iommu/Kconfig | 15 + drivers/iommu/Makefile| 1 + drivers/iommu/mtk_iommu.c | 752 ++ 3 files changed, 768 insertions(+)

[PATCH v6 1/5] dt-bindings: iommu: Add binding for mediatek IOMMU

2015-12-08 Thread Yong Wu
This patch add mediatek iommu dts binding document. Signed-off-by: Yong Wu --- .../devicetree/bindings/iommu/mediatek,iommu.txt | 68 + include/dt-bindings/memory/mt8173-larb-port.h | 111 + 2 files changed, 179 insertions(+) create mode 100644

[PATCH v6 2/5] dt-bindings: mediatek: Add smi dts binding

2015-12-08 Thread Yong Wu
This patch add smi binding document. Signed-off-by: Yong Wu --- .../memory-controllers/mediatek,smi-common.txt | 24 + .../memory-controllers/mediatek,smi-larb.txt | 25 ++ 2 files changed, 49 insertions(+) create mode 100644

[PATCH v6 0/5] MT8173 IOMMU SUPPORT

2015-12-08 Thread Yong Wu
This patch set adds support for m4u(Multimedia Memory Management Unit), Currently it only support the m4u with 2 levels of pagetable on mt8173. It's based on Robin Murphy's reposting Short-descriptor[1]. Please check the hardware block diagram of Mediatek IOMMU. m4u

Re: [PATCH] mm/compaction: restore COMPACT_CLUSTER_MAX to 32

2015-12-08 Thread Mel Gorman
On Mon, Dec 07, 2015 at 05:00:41PM -0800, Andrew Morton wrote: > On Thu, 3 Dec 2015 13:11:40 +0900 Joonsoo Kim wrote: > > > Until now, COMPACT_CLUSTER_MAX is defined as SWAP_CLUSTER_MAX. > > Commit ("mm: increase SWAP_CLUSTER_MAX to batch TLB flushes") > > changes SWAP_CLUSTER_MAX from 32 to

Re: [PATCH v2 1/9] clk: hi3519: add dt-binding document and header file

2015-12-08 Thread xuejiancheng
On 2015/12/7 17:36, Arnd Bergmann wrote: > On Monday 07 December 2015 16:01:03 xuejiancheng wrote: >> On 2015/12/4 18:56, Arnd Bergmann wrote: >>> On Friday 04 December 2015 11:21:28 xuejiancheng wrote: Hi Arnd, On 2015/12/3 17:44, Arnd Bergmann wrote: > On Thursday 03

Re: [PATCH net 1/2] net: cadence: macb: Disable USRIO register on some platforms

2015-12-08 Thread Nicolas Ferre
Le 08/12/2015 10:21, Neil Armstrong a écrit : > Hi Josh, > > 2015-12-07 20:32 GMT+01:00 Josh Cartwright : >> On Mon, Dec 07, 2015 at 11:58:33AM +0100, Neil Armstrong wrote: >>> On some platforms, the macb integration does not use the USRIO >>> register to configure the (R)MII port and clocks. >>>

Re: [PATCH v6 4/5] clk: shmobile: Add new CPG/MSSR driver core

2015-12-08 Thread Geert Uytterhoeven
On Sat, Dec 5, 2015 at 4:08 AM, Laurent Pinchart wrote: >> +static inline int cpg_mssr_add_clk_domain(struct device *dev, >> + const unsigned int *core_pm_clks, >> + unsigned int num_core_pm_clks) {} > > The function is

Re: [PATCH 01/12] selftests/x86: Extend Makefile to allow 64-bit only tests

2015-12-08 Thread Borislav Petkov
On Mon, Dec 07, 2015 at 01:51:26PM -0800, Andy Lutomirski wrote: > There aren't any yet, but there might be a few some day. > > Signed-off-by: Andy Lutomirski > --- > tools/testing/selftests/x86/Makefile | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git

Re: [PATCH] ARM: multi_v7_defconfig: Enable some drivers for LS1021A

2015-12-08 Thread Arnd Bergmann
On Tuesday 08 December 2015 16:38:03 Alison Wang wrote: > This patch enables some drivers for LS1021A, such as > GIANFAR, WATCHDOG, AUDIO, QSPI, I2C, ESDHC, EDMA, FTM. > QorIQ Clock Framework and Ramdisk support is also enabled. > > Signed-off-by: Alison Wang > --- I think most of these can be

Re: [PATCH v2] PCI: dra7xx: mark dra7xx_pcie_msi irq as IRQF_NO_THREAD

2015-12-08 Thread Lucas Stach
Hi Bjorn, Am Montag, den 07.12.2015, 21:33 -0600 schrieb Bjorn Helgaas: > [+cc Jingoo (exynos), Richard, Lucas (imx6), Pratyush (spear13xx)] > > On Fri, Dec 04, 2015 at 11:22:50PM +0200, Grygorii Strashko wrote: > > On 12/04/2015 08:46 PM, Bjorn Helgaas wrote: > > > Hi Grygorii, [...] > > >>

Re: [PATCH net 1/2] net: cadence: macb: Disable USRIO register on some platforms

2015-12-08 Thread Neil Armstrong
Hi Josh, 2015-12-07 20:32 GMT+01:00 Josh Cartwright : > On Mon, Dec 07, 2015 at 11:58:33AM +0100, Neil Armstrong wrote: >> On some platforms, the macb integration does not use the USRIO >> register to configure the (R)MII port and clocks. >> When the register is not implemented and the MACB error

Re: [PATCH v5 3/4] ARM: dts: sunxi: Add Allwinner H3 DTSI

2015-12-08 Thread Jean-Francois Moine
On Tue, 8 Dec 2015 09:32:24 +0100 Maxime Ripard wrote: > If the H3 display block is done the same way than the A10 (and later) > one on this aspect, then the TCON has two channels with two different > streaming (or functional, you pick the name) clocks. The channel 0 is > usually used for RGB,

Re: [Patch V2] x86, mce: Ensure offline CPU's don't participate in mce rendezvous process.

2015-12-08 Thread Borislav Petkov
On Mon, Dec 07, 2015 at 08:41:43PM -0500, Raj, Ashok wrote: > On Tue, Dec 08, 2015 at 12:25:24AM +0100, Borislav Petkov wrote: > > > > Did you miss my statement in my previous mail where I said that the MCE > > is being raised only on the cores of node 0? > > > > That's right.. but i think if

Re: [PATCH v2] perf/x86: fix filter_events() bug with event mappings

2015-12-08 Thread Peter Zijlstra
On Mon, Dec 07, 2015 at 08:33:25PM +0100, Stephane Eranian wrote: > Fixes: 8300daa26 ("perf/x86: Filter out undefined events from sysfs events > attribute") Please put the below in your .gitconfig, the alias is just a convenient helper to generate the right string, but the abbrev is the

Re: [PATCH] usb: musb: dsps: handle the otg_state_a_wait_vrise_timeout case

2015-12-08 Thread Gregory CLEMENT
Hi Felipe, On lun., déc. 07 2015, Felipe Balbi wrote: > Hi, > > Gregory CLEMENT writes: >> Hi Felipe, >> >> I am going back on this subject (again :) ) >> >> On mar., oct. 20 2015, Gregory CLEMENT >> wrote: >> >>> Hi Felipe, >>> >>> On lun., oct. 05 2015, Felipe Balbi wrote: >>> >>>

Re: [PATCH 2/2] perf/x86/intel/uncore: Add Knights Landing uncore PMU support

2015-12-08 Thread Peter Zijlstra
On Mon, Dec 07, 2015 at 02:32:32PM -0800, Harish Chegondi wrote: > @@ -981,6 +990,8 @@ static int __init uncore_pci_init(void) > break; > case 61: /* Broadwell */ > ret = bdw_uncore_pci_init(); > + case 87: /* Knights Landing */ > + ret =

Re: [PATCH v2] PCI: dra7xx: mark dra7xx_pcie_msi irq as IRQF_NO_THREAD

2015-12-08 Thread Sebastian Andrzej Siewior
* Bjorn Helgaas | 2015-12-04 12:46:19 [-0600]: >The backtrace might be OK (maybe slightly overkill), but all the >stack addresses are certainly irrelevant and distracting. We only >need enough to recognize the problem. I don't think the modules list >is relevant either. I would shorten it to

Re: Ques: [kernel/time/*] Is there any disadvantage in using usleep_range for more than 20ms delay ?

2015-12-08 Thread Clemens Ladisch
Aniroop Mathur wrote: > As in the kernel documentation, it is mentioned to use msleep for > 10ms+ delay, I am confused whether there would be any disadvantage in > using usleep_range for higher delays values because normally drivers > have variety of delays used (2, 10, 20, 40, 100, 500 ms). > >

Re: [PATCH v4 1/5] PCI: designware: add memory barrier after enabling region

2015-12-08 Thread Stanimir Varbanov
On 12/03/2015 03:35 PM, Stanimir Varbanov wrote: > Add 'write memory' barrier after enable region in PCIE_ATU_CR2 > register. The barrier is needed to ensure that the region enable > request has been reached it's destination at time when we > read/write to PCI configuration space. > > Without

Re: [PATCH 0/5] Fix regression introduced by set_irq_flags() removal

2015-12-08 Thread Thomas Petazzoni
Hello Thomas, On Sun, 6 Dec 2015 10:28:15 +0100 (CET), Thomas Gleixner wrote: > Second thoughts. That network driver example does not make sense. > > You have a suspend/resume mechanism and a cpu hotplug machinery in > that driver, right? So that should be responsible for > disabling/enabling

Re: [tip:perf/core] perf/x86: Use INST_RETIRED.PREC_DIST for cycles: ppp

2015-12-08 Thread Peter Zijlstra
On Tue, Dec 08, 2015 at 09:50:26AM +0100, Peter Zijlstra wrote: > On Tue, Dec 08, 2015 at 06:36:04AM +0100, Ingo Molnar wrote: > > > So I checked my NHM box with your latest queue and it now works correctly. > > Do you > > have any idea what the difference is/was? > > Sadly, no clue :/ > > I

Re: [RFC 0/3] reduce latency of direct async compaction

2015-12-08 Thread Aaron Lu
On Tue, Dec 08, 2015 at 03:51:16PM +0900, Joonsoo Kim wrote: > On Tue, Dec 08, 2015 at 01:14:39PM +0800, Aaron Lu wrote: > > On Tue, Dec 08, 2015 at 09:41:18AM +0900, Joonsoo Kim wrote: > > > On Mon, Dec 07, 2015 at 04:59:56PM +0800, Aaron Lu wrote: > > > > On Mon, Dec 07, 2015 at 04:35:24PM

Re: [tip:perf/core] perf/x86: Use INST_RETIRED.PREC_DIST for cycles: ppp

2015-12-08 Thread Peter Zijlstra
On Tue, Dec 08, 2015 at 06:36:04AM +0100, Ingo Molnar wrote: > So I checked my NHM box with your latest queue and it now works correctly. Do > you > have any idea what the difference is/was? Sadly, no clue :/ I went over those patches and cannot find anything that should affect NHM (or <=SNB

Re: [PATCH] powercap/rapl: reduce ipi calls

2015-12-08 Thread Peter Zijlstra
On Mon, Dec 07, 2015 at 03:23:22PM -0800, Srinivas Pandruvada wrote: > On Mon, 2015-12-07 at 15:01 -0800, Jacob Pan wrote: > > +struct rapl_msr_action { > > + u32 msr; > > + unsigned long long value; > > + int shift; > > + u64 mask; > > +}; > > + > > +static void rapl_write_data_cpu(void

[PATCH v4] of: fix declaration of of_io_request_and_map

2015-12-08 Thread Sudip Mukherjee
We are having build failure with linux-next for sparc allmodconfig with the error messages: drivers/built-in.o: In function `meson6_timer_init': meson6_timer.c:(.init.text+0x5fe8): undefined reference to `of_io_request_and_map' drivers/built-in.o: In function `mtk_timer_init':

[PATCH] ARM: multi_v7_defconfig: Enable some drivers for LS1021A

2015-12-08 Thread Alison Wang
This patch enables some drivers for LS1021A, such as GIANFAR, WATCHDOG, AUDIO, QSPI, I2C, ESDHC, EDMA, FTM. QorIQ Clock Framework and Ramdisk support is also enabled. Signed-off-by: Alison Wang --- arch/arm/configs/multi_v7_defconfig | 14 ++ 1 file changed, 14 insertions(+) diff

[PATCH v7 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2015-12-08 Thread Baolin Wang
Currently the Linux kernel does not provide any standard integration of this feature that integrates the USB subsystem with the system power regulation provided by PMICs meaning that either vendors must add this in their kernels or USB gadget devices based on Linux (such as mobile phones) may not

Re: [linux-sunxi] [PATCH 21/23] staging: mt29f_spinand: switch to mtd_ooblayout_ops

2015-12-08 Thread Boris Brezillon
Hi Julian, On Tue, 8 Dec 2015 10:59:53 +1100 Julian Calaby wrote: > Hi Boris, > > On Tue, Dec 8, 2015 at 9:26 AM, Boris Brezillon > wrote: > > Signed-off-by: Boris Brezillon > > --- > > drivers/staging/mt29f_spinand/mt29f_spinand.c | 44 > > --- > > 1 file changed,

Re: [PATCH 1/1] perf/x86/intel: Add perf core PMU support for Intel Knights Landing

2015-12-08 Thread Peter Zijlstra
On Mon, Dec 07, 2015 at 02:28:18PM -0800, Harish Chegondi wrote: > Knights Landing core is based on Silvermont core with several differences. > Like Silvermont, Knights Landing has 8 pairs of LBR MSRs. However, the > LBR MSRs addresses match those of the Xeon cores' first 8 pairs of LBR MSRs >

[PATCH v7 4/4] power: wm831x_power: Support USB charger current limit management

2015-12-08 Thread Baolin Wang
Integrate with the newly added USB charger interface to limit the current we draw from the USB input based on the input device configuration identified by the USB stack, allowing us to charge more quickly from high current inputs without drawing more current than specified from others.

[PATCH v7 2/4] gadget: Support for the usb charger framework

2015-12-08 Thread Baolin Wang
For supporting the usb charger, it adds the usb_charger_init() and usb_charger_exit() functions for usb charger initialization and exit. It will report to the usb charger when the gadget state is changed, then the usb charger can do the power things. Introduce a callback 'get_charger_type' which

[PATCH v7 1/4] gadget: Introduce the usb charger framework

2015-12-08 Thread Baolin Wang
This patch introduces the usb charger driver based on usb gadget that makes an enhancement to a power driver. It works well in practice but that requires a system with suitable hardware. The basic conception of the usb charger is that, when one usb charger is added or removed by reporting from

[PATCH v7 3/4] gadget: Integrate with the usb gadget supporting for usb charger

2015-12-08 Thread Baolin Wang
When the usb gadget supporting for usb charger is ready, the usb charger should get the type by the 'get_charger_type' callback which is implemented by the usb gadget operations, and get the usb charger pointer from struct 'usb_gadget'. Signed-off-by: Baolin Wang ---

Re: [PATCH v2 15/25] cris: nand: use the mtd instance embedded in struct nand_chip

2015-12-08 Thread Jesper Nilsson
On Tue, Dec 01, 2015 at 12:03:12PM +0100, Boris Brezillon wrote: > struct nand_chip now embeds an mtd device. Patch all drivers to make use > of this mtd instance instead of using the instance embedded in their > private struct or dynamically allocated. > > Signed-off-by: Boris Brezillon

Re: [PATCH] fat: constify fatent_operations structures

2015-12-08 Thread OGAWA Hirofumi
Julia Lawall writes: > The fatent_operations structures are never modified, so declare them as > const. > > Done with the help of Coccinelle. Looks good. Thanks. Acked-by: OGAWA Hirofumi > Signed-off-by: Julia Lawall > > --- > fs/fat/fat.h|2 +- > fs/fat/fatent.c | 24

Re: [PATCH v5 4/4] ARM: dts: sun8i: Add Orange Pi Plus support

2015-12-08 Thread Maxime Ripard
On Fri, Dec 04, 2015 at 10:24:43PM +0100, Jens Kuske wrote: > The Orange Pi Plus is a SBC based on the Allwinner H3 SoC > with 8GB eMMC, multiple USB ports through a USB hub chip, SATA through > a USB-SATA bridge, one uSD slot, a 10/100/1000M ethernet port, > WiFi, HDMI, headphone jack, IR

Re: [PATCH v2 18/25] cris: nand: remove useless mtd->priv = chip assignments

2015-12-08 Thread Jesper Nilsson
On Tue, Dec 01, 2015 at 12:03:15PM +0100, Boris Brezillon wrote: > mtd_to_nand() now uses the container_of() approach to transform an > mtd_info pointer into a nand_chip one. Drop useless mtd->priv > assignments from NAND controller drivers. > > Signed-off-by: Boris Brezillon Acked-by: Jesper

Re: [PATCH v5 3/4] ARM: dts: sunxi: Add Allwinner H3 DTSI

2015-12-08 Thread Maxime Ripard
On Tue, Dec 08, 2015 at 09:06:58AM +0100, Jean-Francois Moine wrote: > On Mon, 7 Dec 2015 19:44:30 +0100 > Jens Kuske wrote: > > > >> + "bus_lcd0", "bus_lcd1", > > >> "bus_deint", > > > > > "bus_tcon0", "bus_tcon1", "bus_deint", > > > > > > (the

Re: Fixing full name in patchwork

2015-12-08 Thread Kalle Valo
Sudip Mukherjee writes: > On Tue, Dec 08, 2015 at 09:54:41AM +0200, Kalle Valo wrote: >> Sudip Mukherjee writes: >> >> > On Mon, Dec 07, 2015 at 08:03:54PM +0200, Kalle Valo wrote: >> >> Hi Sudip, >> >> >> >> Sudip Mukherjee writes: >> >> > >> > >> > I have also noticed the patch. Anyway,

Re: [PATCH v5 3/4] ARM: dts: sunxi: Add Allwinner H3 DTSI

2015-12-08 Thread Maxime Ripard
On Fri, Dec 04, 2015 at 10:24:42PM +0100, Jens Kuske wrote: > The Allwinner H3 is a home entertainment system oriented SoC with > four Cortex-A7 cores and a Mali-400MP2 GPU. > > Signed-off-by: Jens Kuske Applied, thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and

Re: Fixing full name in patchwork

2015-12-08 Thread Sudip Mukherjee
On Tue, Dec 08, 2015 at 09:54:41AM +0200, Kalle Valo wrote: > Sudip Mukherjee writes: > > > On Mon, Dec 07, 2015 at 08:03:54PM +0200, Kalle Valo wrote: > >> Hi Sudip, > >> > >> Sudip Mukherjee writes: > >> > > > > I have also noticed the patch. Anyway, I have created a profile in > >

Re: [PATCH v3] staging/android: add TODO to de-stage android sync framework

2015-12-08 Thread Daniel Vetter
On Mon, Dec 07, 2015 at 04:28:45PM -0200, Gustavo Padovan wrote: > Hi, > > any comments/update on this? Thanks My ack from the previous version still stands. -Daniel > > Gustavo > > 2015-11-26 Gustavo Padovan : > > > From: Gustavo Padovan > > > > - remove CONFIG_SW_SYNC_USER, it is

Re: [linux-sunxi] [PATCH 01/23] mtd: kill the ecclayout->oobavail field

2015-12-08 Thread Boris Brezillon
Hi Priit, On Tue, 08 Dec 2015 08:43:05 +0200 Priit Laes wrote: > On Mon, 2015-12-07 at 23:25 +0100, Boris Brezillon wrote: > > ecclayout->oobavail is just redundant with the mtd->oobavail field. > > Moreover, it prevents static const definition of ecc layouts since > > the > > NAND framework is

Re: An issue about sp5100 watchdog

2015-12-08 Thread Huang Rui
On Mon, Dec 07, 2015 at 11:03:31PM -0800, Guenter Roeck wrote: > On 12/07/2015 09:42 PM, Huang Rui wrote: > >Hi all, > > > >I found an issue in some of AMD platforms about sp5100, that the MMIO > >address (0x51413120) is already used by System RAM > >(0010-7c2befff)... > > > >[ 29.928096]

Re: [PATCH v4 7/8] ARM: dts: Exynos5422: fix OPP tables

2015-12-08 Thread Krzysztof Kozlowski
On 08.12.2015 03:18, Bartlomiej Zolnierkiewicz wrote: > From: Ben Gamari > > The Exynos 5422 is identical to the 5800 except for the fact that it > boots from the A7 cores. Consequently, the core numbering is different: > cores 0-3 are A7s whereas 4-7 are A15s. > > We can reuse the device tree

[PATCH v2 2/4] crypto: niagara: Use precalculated hash from headers

2015-12-08 Thread LABBE Corentin
Precalculated hash for empty message are now present in hash headers. This patch just use them. Signed-off-by: LABBE Corentin --- drivers/crypto/n2_core.c | 33 ++--- 1 file changed, 6 insertions(+), 27 deletions(-) diff --git a/drivers/crypto/n2_core.c

[PATCH v2 4/4] crypto: ux500: Use precalculated hash from headers

2015-12-08 Thread LABBE Corentin
Precalculated hash for empty message are now present in hash headers. This patch just use them. Signed-off-by: LABBE Corentin --- drivers/crypto/ux500/hash/hash_core.c | 20 ++-- 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/drivers/crypto/ux500/hash/hash_core.c

Re: [PATCH v5 1/4] clk: sunxi: Add H3 clocks support

2015-12-08 Thread Maxime Ripard
Hi Jens, On Fri, Dec 04, 2015 at 10:24:40PM +0100, Jens Kuske wrote: > The H3 clock control unit is similar to the those of other sun8i family > members like the A23. > > It adds a new bus gates clock similar to the simple gates, but with a > different parent clock for each single gate. > Some

[PATCH v2 1/4] crypto: hash: add zero length message hash for shax and md5

2015-12-08 Thread LABBE Corentin
Some crypto drivers cannot process empty data message and return a precalculated hash for md5/sha1/sha224/sha256. This patch add thoses precalculated hash in include/crypto. Signed-off-by: LABBE Corentin --- crypto/md5.c| 6 ++ crypto/sha1_generic.c | 7 +++

[PATCH v2 3/4] crypto: ccp: Use precalculated hash from headers

2015-12-08 Thread LABBE Corentin
Precalculated hash for empty message are now present in hash headers. This patch just use them. Signed-off-by: LABBE Corentin Tested-by: Tom Lendacky Acked-by: Tom Lendacky --- drivers/crypto/ccp/ccp-ops.c | 39 --- 1 file changed, 8 insertions(+), 31

[PATCH v2 0/4] crypto: add precalculated hash for zero message length

2015-12-08 Thread LABBE Corentin
Hello Some crypto drivers cannot process empty data message and so rely on precalculated hash. This patch series add precalculated hash in headers and make the drivers use them. Using those precalculated hash make some additionnal constify patch necessary. Changes since v1 - Moved arrays from

Re: [PATCH] clk: sunxi: Extend the simple gates and handle the Allwinner H3

2015-12-08 Thread Jean-Francois Moine
On Tue, 8 Dec 2015 08:53:54 +0100 Maxime Ripard wrote: > Look, we all agreed on a solution that raised all objections, but > yours. > > I'm going to take Jens patch. OK. Good luck for the next SoCs! -- Ken ar c'hentañ | ** Breizh ha Linux atav! ** Jef |

RE: [PATCH v2 0/2] mm: Introduce kernelcore=reliable option

2015-12-08 Thread Izumi, Taku
Dear Tony, Thanks for testing! Dear Andrew, > > 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

Re: [PATCH v4 6/8] ARM: dts: Exynos5800: fix CPU OPP

2015-12-08 Thread Krzysztof Kozlowski
On 08.12.2015 03:18, Bartlomiej Zolnierkiewicz wrote: > Fix CPU operating points for Exynos5800 (it use different > voltages than Exynos5420 and supports additional frequencies). > However don't use 2000MHz & 1900MHz OPPs (for A15 cores) and > 1400MHz OPP (for A7 cores) for now as they are not

Re: [PATCH v5 3/4] ARM: dts: sunxi: Add Allwinner H3 DTSI

2015-12-08 Thread Jean-Francois Moine
On Mon, 7 Dec 2015 19:44:30 +0100 Jens Kuske wrote: > >> + "bus_lcd0", "bus_lcd1", > >> "bus_deint", > > > "bus_tcon0", "bus_tcon1", "bus_deint", > > > > (the tcon1 clock is used by both lcd0 and lcd1, while > > the tcon0 clock is used for TV output

[PATCH] crypto: akcipher: fix typos in include/crypto/akcipher.h

2015-12-08 Thread LABBE Corentin
Fix numerous spelling error in include/crypto/akcipher.h Signed-off-by: LABBE Corentin --- include/crypto/akcipher.h | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/crypto/akcipher.h b/include/crypto/akcipher.h index 45cd5b3..354de15 100644 ---

Re: [PATCH v4 7/8] ARM: dts: Exynos5422: fix OPP tables

2015-12-08 Thread Krzysztof Kozlowski
On 08.12.2015 03:18, Bartlomiej Zolnierkiewicz wrote: > From: Ben Gamari > > The Exynos 5422 is identical to the 5800 except for the fact that it > boots from the A7 cores. Consequently, the core numbering is different: > cores 0-3 are A7s whereas 4-7 are A15s. > > We can

[PATCH v7 1/4] gadget: Introduce the usb charger framework

2015-12-08 Thread Baolin Wang
This patch introduces the usb charger driver based on usb gadget that makes an enhancement to a power driver. It works well in practice but that requires a system with suitable hardware. The basic conception of the usb charger is that, when one usb charger is added or removed by reporting from

[PATCH v7 3/4] gadget: Integrate with the usb gadget supporting for usb charger

2015-12-08 Thread Baolin Wang
When the usb gadget supporting for usb charger is ready, the usb charger should get the type by the 'get_charger_type' callback which is implemented by the usb gadget operations, and get the usb charger pointer from struct 'usb_gadget'. Signed-off-by: Baolin Wang ---

[PATCH v7 2/4] gadget: Support for the usb charger framework

2015-12-08 Thread Baolin Wang
For supporting the usb charger, it adds the usb_charger_init() and usb_charger_exit() functions for usb charger initialization and exit. It will report to the usb charger when the gadget state is changed, then the usb charger can do the power things. Introduce a callback 'get_charger_type' which

[PATCH v7 4/4] power: wm831x_power: Support USB charger current limit management

2015-12-08 Thread Baolin Wang
Integrate with the newly added USB charger interface to limit the current we draw from the USB input based on the input device configuration identified by the USB stack, allowing us to charge more quickly from high current inputs without drawing more current than specified from others.

Re: [PATCH 2/2] perf/x86/intel/uncore: Add Knights Landing uncore PMU support

2015-12-08 Thread Peter Zijlstra
On Mon, Dec 07, 2015 at 02:32:32PM -0800, Harish Chegondi wrote: > @@ -981,6 +990,8 @@ static int __init uncore_pci_init(void) > break; > case 61: /* Broadwell */ > ret = bdw_uncore_pci_init(); > + case 87: /* Knights Landing */ > + ret =

<    4   5   6   7   8   9   10   11   12   13   >