[PATCH 1/2] x86: kvmclock: abolish PVCLOCK_COUNTS_FROM_ZERO

2015-09-18 Thread Radim Krčmář
Newer KVM won't be exposing PVCLOCK_COUNTS_FROM_ZERO anymore. The purpose of that flags was to start counting system time from 0 when the KVM clock has been initialized. We can achieve the same by selecting one read as the initial point. A simple subtraction will work unless the KVM clock count

Re: [PATCH] kernel: fix data race in put_pid

2015-09-18 Thread Paul E. McKenney
On Fri, Sep 18, 2015 at 10:28:20AM +0100, Will Deacon wrote: > On Fri, Sep 18, 2015 at 10:06:46AM +0100, Dmitry Vyukov wrote: > > On Fri, Sep 18, 2015 at 10:51 AM, Peter Zijlstra > > wrote: > > > As an alternative patch, could we not do: > > > > > > void put_pid(struct pid *pid) > > > { > >

[RFC PATCH 0/2] kvmclock: fix ABI breakage from PVCLOCK_COUNTS_FROM_ZERO.

2015-09-18 Thread Radim Krčmář
This patch series will be disabling PVCLOCK_COUNTS_FROM_ZERO flag and is RFC because I haven't explored many potential problems or tested it. [1/2] uses a different algorithm in the guest to start counting from 0. [2/2] stops exposing PVCLOCK_COUNTS_FROM_ZERO in the hypervisor. A viable

[PATCH 2/2] Revert "KVM: x86: zero kvmclock_offset when vcpu0 initializes kvmclock system MSR"

2015-09-18 Thread Radim Krčmář
Shifting pvclock_vcpu_time_info.system_time on write to KVM system time MSR is a change of ABI. Probably only 2.6.16 based SLES 10 breaks due to its custom enhancements to kvmclock, but KVM never declared the MSR only for one-shot initialization. (Doc says that only one write is needed.) This

Re: [tip:locking/core] locking/Documentation/lockstat: Fix typo - lokcing -> locking

2015-09-18 Thread Stephen Boyd
On 09/18, tip-bot for Stephen Boyd wrote: > Commit-ID: e58cdf585a38412f9f56c512d20e8e12637d9892 > Gitweb: http://git.kernel.org/tip/e58cdf585a38412f9f56c512d20e8e12637d9892 > Author: Stephen Boyd > AuthorDate: Wed, 9 Sep 2015 16:46:38 -0700 > Committer: Ingo Molnar > CommitDate: Fri,

[PATCH 5/6] net: ks8851: Fix module autoload for OF platform driver

2015-09-18 Thread Luis de Bethencourt
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt --- drivers/net/ethernet/micrel/ks8851.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/micrel/ks8851.c

Re: [PATCH] driver core: Ensure proper suspend/resume ordering

2015-09-18 Thread Thierry Reding
On Thu, Sep 17, 2015 at 08:43:54PM +0200, Rafael J. Wysocki wrote: > Hi Alan, > > On Thu, Sep 17, 2015 at 7:02 PM, Alan Stern wrote: > > On Thu, 17 Sep 2015, Rafael J. Wysocki wrote: > > > >> On Thu, Sep 17, 2015 at 2:27 AM, Rafael J. Wysocki > >> wrote: > >> > On Wednesday, September 16, 2015

Re: [PATCH 02/26] clk: Replace __clk_get_num_parents with clk_hw_get_num_parents()

2015-09-18 Thread Stephen Boyd
On 09/17, Scott Wood wrote: > On Fri, 2015-07-31 at 10:03 -0700, Stephen Boyd wrote: > > Mostly converted with the following semantic patch: > > > > @@ > > struct clk_hw *E; > > @@ > > > > -__clk_get_num_parents(E->clk) > > +clk_hw_get_num_parents(E) > > I don't understand why this is

[PATCH 6/6] net: moxa: Fix module autoload for OF platform driver

2015-09-18 Thread Luis de Bethencourt
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt --- drivers/net/ethernet/moxa/moxart_ether.c | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCHSET] cgroup: use static_keys for subsystem enabled and on_dfl tests

2015-09-18 Thread Tejun Heo
On Tue, Sep 15, 2015 at 09:51:21PM -0400, Tejun Heo wrote: > cgroup_subsys->disabled and cgroup_on_dfl() tests are likely to be > used in hot paths and seldom change. The former is set once during > boot and the latter only when a controller is migrated between the > default hierarchy and

[PATCH 4/6] net: freescale: Fix module autoload for OF platform driver

2015-09-18 Thread Luis de Bethencourt
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt --- drivers/net/ethernet/freescale/gianfar_ptp.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 0/6] net: Fix module autoload for OF platform drivers

2015-09-18 Thread Luis de Bethencourt
Hi, These patches add the missing MODULE_DEVICE_TABLE() for OF to export the information so modules have the correct aliases built-in and autoloading works correctly. A longer explanation by Javier Canillas can be found here: https://lkml.org/lkml/2015/7/30/519 Thanks, Luis Luis de Bethencourt

[PATCH 3/6] net: bcmgenet: Fix module autoload for OF platform driver

2015-09-18 Thread Luis de Bethencourt
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt --- drivers/net/ethernet/broadcom/genet/bcmgenet.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 1/6] net: arc: Fix module autoload for OF platform driver

2015-09-18 Thread Luis de Bethencourt
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt --- drivers/net/ethernet/arc/emac_arc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/arc/emac_arc.c

Re: [PATCH v2 0/7] hwrng: Add support for STMicroelectronics' RNG IP

2015-09-18 Thread Lee Jones
On Fri, 18 Sep 2015, Herbert Xu wrote: > On Fri, Sep 18, 2015 at 03:53:50PM +0100, Lee Jones wrote: > > On 18 September 2015 at 15:07, Herbert Xu > > wrote: > > > On Thu, Sep 17, 2015 at 02:45:50PM +0100, Lee Jones wrote: > > >> v1 => v2: > > >> - New patch: Also fixing /dev/hw_random =>

[PATCH linux-next 4/4] mtd: m25p80: add support of dual and quad spi protocols to all commands

2015-09-18 Thread Cyrille Pitchen
Before this patch, m25p80_read() supported few SPI protocols: - regular SPI 1-1-1 - SPI Dual Output 1-1-2 - SPI Quad Output 1-1-4 On the other hand, all other m25p80_*() hooks only supported SPI 1-1-1. However once their Quad mode enabled, Micron and Macronix spi-nor memories expect all commands

[PATCH linux-next 3/4] mtd: spi-nor: fix Quad SPI mode support for Spansion, Micron and Macronix

2015-09-18 Thread Cyrille Pitchen
This patch reworks the support of Quad and Dual SPI protocols for Micron, Spansion and Macronix Quad/Dual capable memories. Indeed, in the best case, only Spansion memories are correctly supported by the current spi-nor framework. 1 - Micron: When their Quad SPI mode is enabled, Micron spi-nor

[PATCH linux-next 2/4] mtd: spi-nor: properly detect the memory when it boots in Quad or Dual mode

2015-09-18 Thread Cyrille Pitchen
The quad (or dual) mode of a spi-nor memory may be enabled at boot time by non-volatile bits in some setting register. Also such a mode may have already been enabled at early stage by some boot loader. Hence, we should not guess the spi-nor memory is always configured for the regular SPI 1-1-1

[PATCH linux-next 0/4] mtd: spi-nor: fix Quad SPI memory support

2015-09-18 Thread Cyrille Pitchen
Hi all, this series of patches fixes the QSPI support mostly for Micron and Macronix memories. There are also some updates for Spansion memories. There are also many comments to explain the implementation choices based on the datasheets from memory manufacturers. The series was backported to a

[PATCH linux-next 1/4] mtd: spi-nor: remove unused read_xfer/write_xfer hooks

2015-09-18 Thread Cyrille Pitchen
struct spi_nor_xfer_cfg and read_xfer/write_xfer hooks were never used by any driver. Do some cleanup by removing them. Signed-off-by: Cyrille Pitchen --- include/linux/mtd/spi-nor.h | 35 --- 1 file changed, 35 deletions(-) diff --git

Re: [PATCH 01/17] Add ida and idr helper routines.

2015-09-18 Thread Tejun Heo
Hello, On Fri, Sep 18, 2015 at 08:42:26AM -0700, Lee Duncan wrote: > To be clear: you would like a patch series that converts the users of > the ida_* routines in my patches to instead use the ida_simple_* > routines, correct? And of course the ida_* helper routines I was adding > in idr.h would

Re: [PATCH] gpio: mention in DT binding doc that -gpio is also supported

2015-09-18 Thread Alexandre Courbot
On Thu, Sep 17, 2015 at 10:33 AM, Javier Martinez Canillas wrote: > The GPIO DT binding doc mentions that GPIO are mapped by defining > a -gpios property in the consumer device's node but a -gpio > sufix is also supported after commit: > > dd34c37aa3e8 ("gpio: of: Allow -gpio suffix for property

Re: [PATCH v4] ARM: configs: Add Freescale LS1021A defconfig

2015-09-18 Thread Fabio Estevam
On Fri, Sep 18, 2015 at 4:38 AM, Huan Wang wrote: > [Alison Wang] Thanks for your reply. I agreed with you about creating > a new multi_v7_lpae_defconfig. In multi_v7_lpae_defconfig, I need to add > the following CONFIG_XX to support LS1021A based on multi_v7_defconfig. > > CONFIG_ARM_LPAE=y >

[PATCH -mm] mm/khugepaged: fix scan not aborted on SCAN_EXCEED_SWAP_PTE

2015-09-18 Thread Vladimir Davydov
This patch fixes a typo in khugepaged_scan_pmd(): instead of setting "result" to SCAN_EXCEED_SWAP_PTE we set "ret". Setting "ret" results in an attempt to collapse a huge page although we meant aborting the scan. As a result, we can call khugepaged_find_target_node() with all entries in the

Re: [PATCH] powercap / RAPL : remove dependency on iosf_mbi

2015-09-18 Thread Jacob Pan
On Fri, 18 Sep 2015 02:09:55 +0200 "Rafael J. Wysocki" wrote: > On Thursday, September 17, 2015 03:31:41 PM Pengyu Ma wrote: > > iosf_mbi is supported on Quark, Braswell, Baytrail and some Atom > > SoC, but RAPL is not limited to these SoC, it supports almost Intel > > CPUs. Remove this

Re: [PATCH] linux-firmware: Add qmss accumulator pdsp firmware for keystone SoCs

2015-09-18 Thread Murali Karicheri
On 09/18/2015 11:37 AM, santosh shilimkar wrote: (Bouncing the thread on Murali's request) 9/15/2015 11:54 AM, Murali Karicheri wrote: This patch adds firmware for Keystone QMSS Accumulator PDSP. This is required to support Accumulator queues. Accumulator queues are one of the queue types

Re: [PATCH 01/17] Add ida and idr helper routines.

2015-09-18 Thread Lee Duncan
On 09/15/2015 11:41 AM, Tejun Heo wrote: > Hello, > > On Tue, Sep 15, 2015 at 11:38:42AM -0700, James Bottomley wrote: >> For most of the SCSI stuff, yes. I'm less sure about the sd numbers. >> They go up very high and get hammered a lot during system bring up and >> hot plug. I think having

RE: [PATCH v9 00/18] Add VT-d Posted-Interrupts support - including prerequisite series

2015-09-18 Thread Wu, Feng
> -Original Message- > From: Paolo Bonzini [mailto:pbonz...@redhat.com] > Sent: Friday, September 18, 2015 11:21 PM > To: Wu, Feng; alex.william...@redhat.com; j...@8bytes.org; > mtosa...@redhat.com > Cc: eric.au...@linaro.org; k...@vger.kernel.org; > io...@lists.linux-foundation.org;

Re: [PATCH] arm64: dmi: initialize DMI earlier in boot

2015-09-18 Thread Will Deacon
On Fri, Sep 18, 2015 at 04:26:08PM +0100, Mark Salter wrote: > On Fri, 2015-09-18 at 15:31 +0100, Mark Rutland wrote: > > On Fri, Sep 18, 2015 at 03:14:26PM +0100, Mark Salter wrote: > > > Currently, DMI initialization takes place in a core initcall. This > > > limits how early in boot the kernel

Re: Failover root devices

2015-09-18 Thread Austin S Hemmelgarn
On 2015-09-18 11:04, Ortwin Glück wrote: If you have physical access then the machine is yours to do with as you please. Thinking of ATMs or voting machines that is a bold statement :-) Many voting machines already have known ACE exploits already (I distinctly remember a while back some CS

Re: [linux-sunxi] [PATCH 0/5] ARM: sunxi: Introduce CHIP support

2015-09-18 Thread Hans de Goede
Hi, On 09/18/2015 04:48 AM, Maxime Ripard wrote: Hi, Here is a serie introducing the support for the Allwinner R8 and the Nextthing's CHIP. Support is almost complete for the CHIP itself, the only missing part for now is the WiFi chip that needs to be powered through two combined regulators

Re: [PATCH] mm/oom_kill.c: don't kill TASK_UNINTERRUPTIBLE tasks

2015-09-18 Thread Christoph Lameter
> But yes, such a deadlock is possible. I would really like to see the comments > from maintainers. In particular, I seem to recall that someone suggested to > try to kill another !TIF_MEMDIE process after timeout, perhaps this is what > we should actually do... Well yes here is a patch that

Re: [PATCH 5/5] drm/tegra: Fix module autoload for OF platform driver

2015-09-18 Thread Thierry Reding
On Thu, Sep 17, 2015 at 04:22:32PM +0200, Luis de Bethencourt wrote: > This platform driver has a OF device ID table but the OF module > alias information is not created so module autoloading won't work. > > Signed-off-by: Luis de Bethencourt > --- > drivers/gpu/drm/tegra/drm.c | 1 + > 1 file

Re: [PATCH] linux-firmware: Add qmss accumulator pdsp firmware for keystone SoCs

2015-09-18 Thread santosh shilimkar
(Bouncing the thread on Murali's request) 9/15/2015 11:54 AM, Murali Karicheri wrote: This patch adds firmware for Keystone QMSS Accumulator PDSP. This is required to support Accumulator queues. Accumulator queues are one of the queue types supported in drivers/soc/ti/knav_qmss_acc.c. This queue

RE: [PATCH v9 04/18] KVM: create kvm_irqfd.h

2015-09-18 Thread Wu, Feng
Signed-off-by: Feng Wu > -Original Message- > From: iommu-boun...@lists.linux-foundation.org > [mailto:iommu-boun...@lists.linux-foundation.org] On Behalf Of Feng Wu > Sent: Friday, September 18, 2015 10:30 PM > To: pbonz...@redhat.com; alex.william...@redhat.com; j...@8bytes.org; >

RE: [PATCH v9 01/18] virt: IRQ bypass manager

2015-09-18 Thread Wu, Feng
Signed-off-by: Feng Wu > -Original Message- > From: iommu-boun...@lists.linux-foundation.org > [mailto:iommu-boun...@lists.linux-foundation.org] On Behalf Of Feng Wu > Sent: Friday, September 18, 2015 10:30 PM > To: pbonz...@redhat.com; alex.william...@redhat.com; j...@8bytes.org; >

[PATCH] KVM: x86: trap AMD MSRs for the TSeg base and mask

2015-09-18 Thread Paolo Bonzini
These have roughly the same purpose as the SMRR, which we do not need to implement in KVM. However, Linux accesses MSR_K8_TSEG_ADDR at boot, which causes problems when running a Xen dom0 under KVM. Just return 0, meaning that processor protection of SMRAM is not in effect. Signed-off-by: Paolo

RE: [PATCH 1/1] hwmon: coretemp: use dynamically allocated array to store per core data

2015-09-18 Thread Odzioba, Lukasz
On 09/11/2015 04:28 AM, Guenter Roeck wrote: > You can return NULL but never check for this condition in the calling code. > The only time you check in the calling code is when you want to know > if pdata->core_data[index] is NULL, which is distinctly different. > As such, this check does not

Re: [PATCH] kernel: fix data race in put_pid

2015-09-18 Thread Oleg Nesterov
I can't resist. You certainly don't need this spam, but On 09/18, Peter Zijlstra wrote: > > On Fri, Sep 18, 2015 at 03:28:44PM +0200, Oleg Nesterov wrote: > > > > And again, I simply can't understand if this code > > > > if (READ_ONCE_CTRL(Y)) > > BUG_ON(X == 0); > > > > to me it

Re: [PATCH] fs-writeback: drop wb->list_lock during blk_finish_plug()

2015-09-18 Thread Linus Torvalds
On Fri, Sep 18, 2015 at 7:23 AM, Jens Axboe wrote: > > It makes no sense for preemption schedule to NOT unplug, the fact that it > doesn't is news to me as well. It was never the intent of the > unplug-on-schedule to NOT unplug for certain schedule out events, that seems > like very odd behavior.

Re: [linux-sunxi] [PATCH 3/4] ARM: dts: sun8i: Enable PWM controller on A23/A33 Q8 format tablets

2015-09-18 Thread Hans de Goede
Hi, On 09/18/2015 03:35 AM, Chen-Yu Tsai wrote: A23/A33 based Q8 format tablets use channel 0 of the PWM controller for backlight dimming. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-q8-common.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git

[PATCH v3 1/2] Fixed ds1390_get_reg returned value

2015-09-18 Thread Ivan Grimaldi
spi_write_then_read puts in rx_buf the received data starting from the first byte of the rx_buf Signed-off-by: Ivan Grimaldi --- drivers/rtc/rtc-ds1390.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-ds1390.c b/drivers/rtc/rtc-ds1390.c index

Re: [PATCH v2] arm64: Introduce IRQ stack

2015-09-18 Thread Catalin Marinas
On Fri, Sep 18, 2015 at 04:03:02PM +0100, Catalin Marinas wrote: > On Fri, Sep 18, 2015 at 09:57:56PM +0900, Jungseok Lee wrote: > > On Sep 18, 2015, at 1:21 AM, Catalin Marinas wrote: > > > So, without any better suggestion for current_thread_info(), I'm giving > > > up the idea of using SPSel ==

[PATCH v3 2/2] Added trickle charger device tree binding

2015-09-18 Thread Ivan Grimaldi
Introduce a device tree binding for specifying the trickle charger configuration for ds1339. Signed-off-by: Ivan Grimaldi --- .../devicetree/bindings/rtc/dallas,ds1390.txt | 18 +++ drivers/rtc/rtc-ds1390.c | 62 ++ 2 files changed, 80

Re: [linux-sunxi] [PATCH 2/4] ARM: dts: sun8i: Add PWM channel 0 pinmux setting for A23/A33

2015-09-18 Thread Hans de Goede
Hi, On 09/18/2015 03:35 AM, Chen-Yu Tsai wrote: The PWM controller has 2 outputs, with one usable pin for each. Add a pinmux setting for the first channel. This is often used for backlight dimming on tablets. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-a23-a33.dtsi | 7 +++

Re: [PATCH] perf tools: session: avoid infinite loop

2015-09-18 Thread Arnaldo Carvalho de Melo
Em Fri, Sep 18, 2015 at 04:18:51PM +0100, Mark Rutland escreveu: > On Fri, Sep 18, 2015 at 04:00:18PM +0100, Arnaldo Carvalho de Melo wrote: > > After applying your patch it works, had to tweak the commit log to avoid > > starting lines with ---, breaks git scripts, also added a commiter log, > >

Re: [linux-sunxi] [PATCH 1/4] ARM: dts: sun8i: Add PWM controller node for A23/A33

2015-09-18 Thread Hans de Goede
Hi, Good stuff, thanks for working on this. On 09/18/2015 03:35 AM, Chen-Yu Tsai wrote: A23/A33 have a PWM controller that is compatible to the one on the A20. Add a device node for it. Signed-off-by: Chen-Yu Tsai Looks good to me: Reviewed-by: Hans de Goede Regards, Hans ---

Re: [PATCH v5 0/4] Add support for more MSM8916 clocks

2015-09-18 Thread Georgi Djakov
On 09/18/2015 01:23 AM, Stephen Boyd wrote: > On 09/17, Georgi Djakov wrote: >> This patchset adds support for iommu, gpu and audio clocks on >> the MSM8916 platforms. > > Thanks. Applied them to clk-next. > Thank you! -- To unsubscribe from this list: send the line "unsubscribe linux-kernel"

Re: [PATCH] arm64: dmi: initialize DMI earlier in boot

2015-09-18 Thread Mark Salter
On Fri, 2015-09-18 at 15:31 +0100, Mark Rutland wrote: > On Fri, Sep 18, 2015 at 03:14:26PM +0100, Mark Salter wrote: > > Currently, DMI initialization takes place in a core initcall. This > > limits how early in boot the kernel can make DMI-based decisions > > about firmware/hardware quirks. This

[PATCH v3 2/2] Added trickle charger device tree binding

2015-09-18 Thread Ivan Grimaldi
Introduce a device tree binding for specifying the trickle charger configuration for ds1339. Signed-off-by: Ivan Grimaldi --- .../devicetree/bindings/rtc/dallas,ds1390.txt | 18 +++ drivers/rtc/rtc-ds1390.c | 62 ++ 2 files changed, 80

[PATCH v3 1/2] Fixed ds1390_get_reg returned value

2015-09-18 Thread Ivan Grimaldi
spi_write_then_read puts in rx_buf the received data starting from the first byte of the rx_buf Signed-off-by: Ivan Grimaldi --- drivers/rtc/rtc-ds1390.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-ds1390.c b/drivers/rtc/rtc-ds1390.c index

[PATCH v3 1/2] Fixed ds1390_get_reg returned value

2015-09-18 Thread Ivan Grimaldi
spi_write_then_read puts in rx_buf the received data starting from the first byte of the rx_buf Signed-off-by: Ivan Grimaldi --- drivers/rtc/rtc-ds1390.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-ds1390.c b/drivers/rtc/rtc-ds1390.c index

Re: [PATCH V4 3/3] arm64: dts: Add reset dts config for Hisilicon Hi6220 SoC

2015-09-18 Thread Philipp Zabel
Am Donnerstag, den 17.09.2015, 20:00 +0800 schrieb Chen Feng: > Add reset controller for hi6220 hikey-board. > > Signed-off-by: Chen Feng > --- > arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi

[PATCH v3 2/2] Added trickle charger device tree binding

2015-09-18 Thread Ivan Grimaldi
Introduce a device tree binding for specifying the trickle charger configuration for ds1339. Signed-off-by: Ivan Grimaldi --- .../devicetree/bindings/rtc/dallas,ds1390.txt | 18 +++ drivers/rtc/rtc-ds1390.c | 62 ++ 2 files changed, 80

[PATCH v3 02/27] ARM: OMAP2+: gpmc: Add gpmc timings and settings to platform data

2015-09-18 Thread Roger Quadros
Add device_timings, gpmc_timings and gpmc_setting to gpmc platform data. Signed-off-by: Roger Quadros --- include/linux/omap-gpmc.h | 134 --- include/linux/platform_data/gpmc-omap.h | 137 2 files changed, 137

[PATCH v3 01/27] ARM: OMAP2+: gpmc: Add platform data

2015-09-18 Thread Roger Quadros
Add a platform data structure for GPMC. It contains all the necessary platform information that needs to be passed from platform init code to GPMC driver. Signed-off-by: Roger Quadros --- include/linux/omap-gpmc.h | 3 +-- include/linux/platform_data/gpmc-omap.h | 30

Re: [PATCH v9 00/18] Add VT-d Posted-Interrupts support - including prerequisite series

2015-09-18 Thread Paolo Bonzini
On 18/09/2015 17:08, Wu, Feng wrote: > > >> -Original Message- >> From: Paolo Bonzini [mailto:pbonz...@redhat.com] >> Sent: Friday, September 18, 2015 10:59 PM >> To: Wu, Feng; alex.william...@redhat.com; j...@8bytes.org; >> mtosa...@redhat.com >> Cc: eric.au...@linaro.org;

[PATCH v3 04/27] mtd: nand: omap2: Use gpmc_omap_get_nand_ops() to get NAND registers

2015-09-18 Thread Roger Quadros
Deprecate nand register passing via platform data and use gpmc_omap_get_nand_ops() instead. Signed-off-by: Roger Quadros --- arch/arm/mach-omap2/gpmc-nand.c | 2 -- drivers/mtd/nand/omap2.c | 9 - include/linux/platform_data/mtd-nand-omap2.h | 4 +++- 3

[PATCH v3 06/27] mtd: nand: omap2: Switch to using GPMC-NAND ops for writebuffer empty check

2015-09-18 Thread Roger Quadros
Instead of accessing the gpmc_status register directly start using the gpmc_nand_ops->nand_writebuffer_empty() helper to check write buffer empty status. Signed-off-by: Roger Quadros --- drivers/mtd/nand/omap2.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git

Re: [PATCH] perf tools: session: avoid infinite loop

2015-09-18 Thread Mark Rutland
On Fri, Sep 18, 2015 at 04:00:18PM +0100, Arnaldo Carvalho de Melo wrote: > I tried what you suggested, but couldn't reproduce it, I only managed > when I applied the patch below _and_ executed; > > # echo 1 > /proc/sys/kernel/kptr_restrict > > To be on the same page as Mark. Then, yes, I get

Re: [PATCH 0/7] Phy and mdiobus fixes

2015-09-18 Thread Russell King - ARM Linux
On Fri, Sep 18, 2015 at 08:01:28AM -0700, Sören Brinkmann wrote: > Hi Russell, > > On Fri, 2015-09-18 at 10:56AM +0100, Russell King - ARM Linux wrote: > > Sorry guys, some of you will get the patches twice, as Sören's name > > in the header caused vger to reject all the patches. > > That is the

[PATCH v3 08/27] memory: omap-gpmc: Add IRQ ops for GPMC-NAND interface

2015-09-18 Thread Roger Quadros
Provide functions to enable/disable NAND IRQs, get NAND event status and clear NAND events. The NAND events of interest are TERMCOUNT and FIFOEVENT. Signed-off-by: Roger Quadros --- drivers/memory/omap-gpmc.c | 50 ++ include/linux/omap-gpmc.h | 4

[PATCH v2 1/2] Fixed ds1390_get_reg returned value

2015-09-18 Thread Ivan Grimaldi
spi_write_then_read puts in rx_buf the received data starting from the first byte of the rx_buf Signed-off-by: Ivan Grimaldi --- drivers/rtc/rtc-ds1390.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-ds1390.c b/drivers/rtc/rtc-ds1390.c index

[PATCH v2 2/2] Added trickle charger device tree binding

2015-09-18 Thread Ivan Grimaldi
Introduce a device tree binding for specifying the trickle charger configuration for ds1339. Signed-off-by: Ivan Grimaldi --- .../devicetree/bindings/rtc/dallas,ds1390.txt | 18 +++ drivers/rtc/rtc-ds1390.c | 63 ++ 2 files changed, 81

[PATCH v3 03/27] memory: omap-gpmc: Introduce GPMC to NAND interface

2015-09-18 Thread Roger Quadros
The OMAP GPMC module has certain registers dedicated for NAND access and some NAND bits mixed with other GPMC functionality. For the NAND dedicated registers we have the struct gpmc_nand_regs. The NAND driver needs to access NAND specific bits from the following non-dedicated registers 1)

Re: [PATCH 0/3] hwon: Fix module autoload for OF platform drivers

2015-09-18 Thread Guenter Roeck
On 09/17/2015 09:08 AM, Luis de Bethencourt wrote: Hi, These patches add the missing MODULE_DEVICE_TABLE() for OF to export the information so modules have the correct aliases built-in and autoloading works correctly. A longer explanation by Javier Canillas can be found here:

[PATCH v3 09/27] mtd: nand: omap2: manage NAND interrupts

2015-09-18 Thread Roger Quadros
Manage NAND interrupts here using the GPMC IRQ ops. This causes performance in prefetch-irq mode to be increased from [ 38.252811] mtd_speedtest: eraseblock write speed is 5576 KiB/s [ 39.265259] mtd_speedtest: eraseblock read speed is 8192 KiB/s to [ 35.666446] mtd_speedtest: eraseblock

[PATCH v3 07/27] memory: omap-gpmc: Remove NAND IRQ code

2015-09-18 Thread Roger Quadros
NAND IRQs will now be managed directly in the OMAP NAND driver so remove the IRQchip model. Another patch will add back GPIO-IRQchip code to handle the WAITPIN interrupts. Signed-off-by: Roger Quadros --- arch/arm/mach-omap2/gpmc-nand.c | 4 +- drivers/memory/omap-gpmc.c | 163

平时最多也就联系了三千家,全球还有十几万客户在哪里?

2015-09-18 Thread iSayor
您好: 您还在用ali平台开发外贸客户? 还在使用展会宣传企业和产品? 你out了!!! 当前外贸客户开发难,您是否也在寻找展会,B2B之外好的渠道? 行业全球十几万客户,平时最多也就联系了三千家,您是否想把剩下的也开发到? 加QQ2652697913给您演示下主动开发客户的方法,先用先受益,已经有近万家企业领先您使用!!。 广东省商业联合会推荐,主动开发客户第一品牌,近万家企业正在获益。您可以没有使用,但是不能没有了解。 -- To unsubscribe from this list: send the line

平时最多也就联系了三千家,全球还有十几万客户在哪里?

2015-09-18 Thread iSayor
您好: 您还在用ali平台开发外贸客户? 还在使用展会宣传企业和产品? 你out了!!! 当前外贸客户开发难,您是否也在寻找展会,B2B之外好的渠道? 行业全球十几万客户,平时最多也就联系了三千家,您是否想把剩下的也开发到? 加QQ2652697913给您演示下主动开发客户的方法,先用先受益,已经有近万家企业领先您使用!!。 广东省商业联合会推荐,主动开发客户第一品牌,近万家企业正在获益。您可以没有使用,但是不能没有了解。 -- To unsubscribe from this list: send the line

平时最多也就联系了三千家,全球还有十几万客户在哪里?

2015-09-18 Thread iSayor
您好: 您还在用ali平台开发外贸客户? 还在使用展会宣传企业和产品? 你out了!!! 当前外贸客户开发难,您是否也在寻找展会,B2B之外好的渠道? 行业全球十几万客户,平时最多也就联系了三千家,您是否想把剩下的也开发到? 加QQ2652697913给您演示下主动开发客户的方法,先用先受益,已经有近万家企业领先您使用!!。 广东省商业联合会推荐,主动开发客户第一品牌,近万家企业正在获益。您可以没有使用,但是不能没有了解。 -- To unsubscribe from this list: send the line

平时最多也就联系了三千家,全球还有十几万客户在哪里?

2015-09-18 Thread iSayor
您好: 您还在用ali平台开发外贸客户? 还在使用展会宣传企业和产品? 你out了!!! 当前外贸客户开发难,您是否也在寻找展会,B2B之外好的渠道? 行业全球十几万客户,平时最多也就联系了三千家,您是否想把剩下的也开发到? 加QQ2652697913给您演示下主动开发客户的方法,先用先受益,已经有近万家企业领先您使用!!。 广东省商业联合会推荐,主动开发客户第一品牌,近万家企业正在获益。您可以没有使用,但是不能没有了解。 -- To unsubscribe from this list: send the line

[PATCHv11 09/37] thp: rename split_huge_page_pmd() to split_huge_pmd()

2015-09-18 Thread Kirill A. Shutemov
We are going to decouple splitting THP PMD from splitting underlying compound page. This patch renames split_huge_page_pmd*() functions to split_huge_pmd*() to reflect the fact that it doesn't imply page splitting, only PMD. Signed-off-by: Kirill A. Shutemov Tested-by: Sasha Levin Tested-by:

[PATCH v3 12/27] mtd: nand: omap: Update DT binding documentation

2015-09-18 Thread Roger Quadros
Add compatible id and interrupts. The NAND interrupts are provided by the GPMC controller node. Signed-off-by: Roger Quadros --- Documentation/devicetree/bindings/mtd/gpmc-nand.txt | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git

[PATCH v3 16/27] memory: omap-gpmc: Reserve WAITPIN if needed for WAIT monitoring

2015-09-18 Thread Roger Quadros
If the device attached to GPMC wants to use the WAIT pin for WAIT monitoring then we reserve it internally for exclusive use. Signed-off-by: Roger Quadros --- drivers/memory/omap-gpmc.c | 23 +-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git

[PATCHv11 00/37] THP refcounting redesign

2015-09-18 Thread Kirill A. Shutemov
Hello everybody, The THP refcounting has been rebased and mlock patch is added. Please, consider applying. Since page->lru in all tail pages occupied by page->compound_head, I had to adjust the code to use storage of ->mapping and ->index in the second tail page as list_head to link pages into

[PATCHv11 13/37] mm: drop tail page refcounting

2015-09-18 Thread Kirill A. Shutemov
Tail page refcounting is utterly complicated and painful to support. It uses ->_mapcount on tail pages to store how many times this page is pinned. get_page() bumps ->_mapcount on tail page in addition to ->_count on head. This information is required by split_huge_page() to be able to distribute

[PATCHv11 11/37] mm: temporally mark THP broken

2015-09-18 Thread Kirill A. Shutemov
Up to this point we tried to keep patchset bisectable, but next patches are going to change how core of THP refcounting work. It would be beneficial to split the change into several patches and make it more reviewable. Unfortunately, I don't see how we can achieve that while keeping THP working.

[PATCHv11 26/37] mm: rework mapcount accounting to enable 4k mapping of THPs

2015-09-18 Thread Kirill A. Shutemov
We're going to allow mapping of individual 4k pages of THP compound. It means we need to track mapcount on per small page basis. Straight-forward approach is to use ->_mapcount in all subpages to track how many time this subpage is mapped with PMDs or PTEs combined. But this is rather expensive:

Re: [PATCH] [media] gpu: ipu-v3: csi: add support for 8 bpp grayscale sensors.

2015-09-18 Thread Philipp Zabel
Am Freitag, den 18.09.2015, 15:41 +0200 schrieb Philippe De Muyter: > Signed-off-by: Philippe De Muyter > Cc: Steve Longerbeam > Cc: Boris BREZILLON > Cc: Philipp Zabel > Cc: Hans Verkuil > --- > drivers/gpu/ipu-v3/ipu-csi.c |1 + > 1 file changed, 1 insertion(+) > > diff --git

Re: crisv32 runtime failure in -next due to 'page-flags: define behavior SL*B-related flags on compound pages'

2015-09-18 Thread Guenter Roeck
, it should be possible with CONFIG_KALLSYMS=y in the kconfig. Good to know. I added it to my configuration. Here it is: kernel BUG at mm/slab.c:1648! Linux 4.3.0-rc1-next-20150918 #1 Fri Sep 18 08:07:55 PDT 2015 Oops: CPU: 0 ERP: c0074c00 SRP: c0074c1e CCS: 9408 USP: MOF:

[PATCHv11 04/37] mm, thp: adjust conditions when we can reuse the page on WP fault

2015-09-18 Thread Kirill A. Shutemov
With new refcounting we will be able map the same compound page with PTEs and PMDs. It requires adjustment to conditions when we can reuse the page on write-protection fault. For PTE fault we can't reuse the page if it's part of huge page. For PMD we can only reuse the page if nobody else maps

RE: [PATCH v9 00/18] Add VT-d Posted-Interrupts support - including prerequisite series

2015-09-18 Thread Wu, Feng
> -Original Message- > From: Paolo Bonzini [mailto:pbonz...@redhat.com] > Sent: Friday, September 18, 2015 10:59 PM > To: Wu, Feng; alex.william...@redhat.com; j...@8bytes.org; > mtosa...@redhat.com > Cc: eric.au...@linaro.org; k...@vger.kernel.org; > io...@lists.linux-foundation.org;

Re: [PATCH v2 0/7] hwrng: Add support for STMicroelectronics' RNG IP

2015-09-18 Thread Herbert Xu
On Fri, Sep 18, 2015 at 03:53:50PM +0100, Lee Jones wrote: > On 18 September 2015 at 15:07, Herbert Xu wrote: > > On Thu, Sep 17, 2015 at 02:45:50PM +0100, Lee Jones wrote: > >> v1 => v2: > >> - New patch: Also fixing /dev/hw_random => /dev/hwrng in Kconfig > >> - Fix 2099 => 2009 typo in

[PATCHv11 22/37] sparc, thp: remove infrastructure for handling splitting PMDs

2015-09-18 Thread Kirill A. Shutemov
With new refcounting we don't need to mark PMDs splitting. Let's drop code to handle this. Signed-off-by: Kirill A. Shutemov --- arch/sparc/include/asm/pgtable_64.h | 16 arch/sparc/mm/fault_64.c| 3 --- arch/sparc/mm/gup.c | 2 +- 3 files changed,

[PATCHv11 35/37] mm: re-enable THP

2015-09-18 Thread Kirill A. Shutemov
All parts of THP with new refcounting are now in place. We can now allow to enable THP. Signed-off-by: Kirill A. Shutemov Tested-by: Sasha Levin Tested-by: Aneesh Kumar K.V Acked-by: Jerome Marchand --- mm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/Kconfig

[PATCHv11 08/37] khugepaged: ignore pmd tables with THP mapped with ptes

2015-09-18 Thread Kirill A. Shutemov
Prepare khugepaged to see compound pages mapped with pte. For now we won't collapse the pmd table with such pte. khugepaged is subject for future rework wrt new refcounting. Signed-off-by: Kirill A. Shutemov Tested-by: Sasha Levin Tested-by: Aneesh Kumar K.V Acked-by: Jerome Marchand

[PATCHv11 25/37] mm, thp: remove infrastructure for handling splitting PMDs

2015-09-18 Thread Kirill A. Shutemov
With new refcounting we don't need to mark PMDs splitting. Let's drop code to handle this. Signed-off-by: Kirill A. Shutemov Tested-by: Sasha Levin Tested-by: Aneesh Kumar K.V Acked-by: Vlastimil Babka Acked-by: Jerome Marchand --- fs/proc/task_mmu.c| 8 +++---

[PATCHv11 15/37] ksm: prepare to new THP semantics

2015-09-18 Thread Kirill A. Shutemov
We don't need special code to stabilize THP. If you've got reference to any subpage of THP it will not be split under you. New split_huge_page() also accepts tail pages: no need in special code to get reference to head page. Signed-off-by: Kirill A. Shutemov Tested-by: Sasha Levin Tested-by:

[PATCHv11 17/37] arm64, thp: remove infrastructure for handling splitting PMDs

2015-09-18 Thread Kirill A. Shutemov
With new refcounting we don't need to mark PMDs splitting. Let's drop code to handle this. pmdp_splitting_flush() is not needed too: on splitting PMD we will do pmdp_clear_flush() + set_pte_at(). pmdp_clear_flush() will do IPI as needed for fast_gup. Signed-off-by: Kirill A. Shutemov ---

[PATCHv11 12/37] thp: drop all split_huge_page()-related code

2015-09-18 Thread Kirill A. Shutemov
We will re-introduce new version with new refcounting later in patchset. Signed-off-by: Kirill A. Shutemov Tested-by: Sasha Levin Tested-by: Aneesh Kumar K.V Acked-by: Jerome Marchand --- include/linux/huge_mm.h | 28 +--- mm/huge_memory.c| 401

Re: [Bugfix 3/3] eata: Enhance eata driver to support PCI device hot-removal

2015-09-18 Thread Arthur Marsh
Christoph Hellwig wrote on 16/09/15 23:12: Jiang, you also need to convert the driver to scsi_add_host/scsi_remove_host from the legacy scsi_register interface, otherwise the SCSI layer will be very unhappy. Take a look at commit 0d31f8759109cbc1e6fc196d08e6b0e8a9e93b3f for example, the

[PATCHv11 01/37] mm, proc: adjust PSS calculation

2015-09-18 Thread Kirill A. Shutemov
With new refcounting all subpages of the compound page are not necessary have the same mapcount. We need to take into account mapcount of every sub-page. Signed-off-by: Kirill A. Shutemov Tested-by: Sasha Levin Tested-by: Aneesh Kumar K.V Acked-by: Jerome Marchand Acked-by: Vlastimil Babka

[PATCHv11 33/37] migrate_pages: try to split pages on qeueuing

2015-09-18 Thread Kirill A. Shutemov
We are not able to migrate THPs. It means it's not enough to split only PMD on migration -- we need to split compound page under it too. Signed-off-by: Kirill A. Shutemov Tested-by: Aneesh Kumar K.V Acked-by: Jerome Marchand --- mm/mempolicy.c | 37 + 1

[PATCHv11 07/37] thp, mlock: do not allow huge pages in mlocked area

2015-09-18 Thread Kirill A. Shutemov
With new refcounting THP can belong to several VMAs. This makes tricky to track THP pages, when they partially mlocked. It can lead to leaking mlocked pages to non-VM_LOCKED vmas and other problems. With this patch we will split all pages on mlock and avoid fault-in/collapse new THP in VM_LOCKED

[PATCHv11 06/37] mm: handle PTE-mapped tail pages in gerneric fast gup implementaiton

2015-09-18 Thread Kirill A. Shutemov
With new refcounting we are going to see THP tail pages mapped with PTE. Generic fast GUP rely on page_cache_get_speculative() to obtain reference on page. page_cache_get_speculative() always fails on tail pages, because ->_count on tail pages is always zero. Let's handle tail pages in

[PATCHv11 19/37] mips, thp: remove infrastructure for handling splitting PMDs

2015-09-18 Thread Kirill A. Shutemov
With new refcounting we don't need to mark PMDs splitting. Let's drop code to handle this. pmdp_splitting_flush() is not needed too: on splitting PMD we will do pmdp_clear_flush() + set_pte_at(). pmdp_clear_flush() will do IPI as needed for fast_gup. Signed-off-by: Kirill A. Shutemov ---

[PATCHv11 29/37] thp: implement split_huge_pmd()

2015-09-18 Thread Kirill A. Shutemov
Original split_huge_page() combined two operations: splitting PMDs into tables of PTEs and splitting underlying compound page. This patch implements split_huge_pmd() which split given PMD without splitting other PMDs this page mapped with or underlying compound page. Without tail page

[PATCHv11 05/37] mm: adjust FOLL_SPLIT for new refcounting

2015-09-18 Thread Kirill A. Shutemov
We need to prepare kernel to allow transhuge pages to be mapped with ptes too. We need to handle FOLL_SPLIT in follow_page_pte(). Also we use split_huge_page() directly instead of split_huge_page_pmd(). split_huge_page_pmd() will gone. Signed-off-by: Kirill A. Shutemov Tested-by: Sasha Levin

[PATCHv11 10/37] mm, vmstats: new THP splitting event

2015-09-18 Thread Kirill A. Shutemov
The patch replaces THP_SPLIT with tree events: THP_SPLIT_PAGE, THP_SPLIT_PAGE_FAILED and THP_SPLIT_PMD. It reflects the fact that we are going to be able split PMD without the compound page and that split_huge_page() can fail. Signed-off-by: Kirill A. Shutemov Acked-by: Christoph Lameter

<    1   2   3   4   5   6   7   8   9   10   >