[PATCH 1/3] f2fs: fix to clear GCed flag for atomic written page

2015-10-22 Thread Chao Yu
Atomic write page can be GCed, after committing this kind of page, we should clear the GCed flag for it. Signed-off-by: Chao Yu --- fs/f2fs/segment.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c index 7efd96ad..f77b325 100644 --- a/fs/f2fs/segment.c

[PATCH] printk: Don't discard earlier unprinted messages to make space

2015-10-22 Thread David Howells
printk() currently discards earlier messages to make space for new messages arriving. This has the distinct downside that if the kernel starts churning out messages because of some initial incident, the report of the initial incident is likely to be lost under a blizzard of: ** NNN

Re: [PATCH] x86/spinlocks: Avoid a deadlock when someone unlock a zapped ticked spinlock

2015-10-22 Thread Peter Zijlstra
On Thu, Oct 22, 2015 at 11:39:38AM +0200, Petr Mladek wrote: > Maybe, we could add support to use early console in case of Oops and > panic. But we should not do this by default. It would help, especially > when the problem is reproducible and we get stacked with the normal > console. What I

Re: [PATCH v2 1/2] dmaengine: hdmac: factorise memset descriptor allocation

2015-10-22 Thread Nicolas Ferre
Le 22/10/2015 11:40, Maxime Ripard a écrit : > The memset and scatter gathered memset are going to use some common logic > to create their descriptors. > > Move that logic into a function of its own so that we can share it with the > future memset_sg callback. > > Signed-off-by: Maxime Ripard >

Re: [PATCH v2 2/6] vfio: platform: reset: add vfio_platform_reset_private.h

2015-10-22 Thread Arnd Bergmann
On Thursday 22 October 2015 11:41:58 Eric Auger wrote: > v2: creation > - this defines the module_vfio_reset_handler macro as suggested by Arnd > > Although Arnd suggested me to remove the vfio_platform_register_reset > symbol_get (since the module manager can handle the case where the >

Re: [PATCH v2 3/6] vfio: platform: reset: calxedaxgmac: add reset function registration

2015-10-22 Thread Arnd Bergmann
On Thursday 22 October 2015 11:41:59 Eric Auger wrote: > This patch adds the reset function registration/unregistration. > > Signed-off-by: Eric Auger Looks good, except one thing: > @@ -70,6 +69,8 @@ int vfio_platform_calxedaxgmac_reset(struct > vfio_platform_device *vdev) >

Re: [PATCH] mmc: pwrseq: Use highest priority for eMMC restart handler

2015-10-22 Thread Marek Szyprowski
Hello, On 2015-10-22 06:14, Alim Akhtar wrote: CCing Doug, Heiko and Enric Balletbo To help us by testing on rk3288-veyron and am335x-sl50 boards. On 10/22/2015 08:22 AM, Javier Martinez Canillas wrote: Hello Krzysztof, On 10/22/2015 03:43 AM, Krzysztof Kozlowski wrote: On 22.10.2015 10:20,

Re: [PATCH v2 1/6] vfio: platform: add capability to register a reset function

2015-10-22 Thread Arnd Bergmann
On Thursday 22 October 2015 11:41:57 Eric Auger wrote: > In preparation for subsequent changes in reset function lookup, > lets introduce a dynamic list of reset combos (compat string, > reset module, reset function). The list can be populated/voided with > two new functions,

Re: [PATCH 1/2] can: xilinx: use readl/writel instead of ioread/iowrite

2015-10-22 Thread Michal Simek
On 10/22/2015 11:02 AM, Arnd Bergmann wrote: > On Thursday 22 October 2015 08:34:53 Appana Durga Kedareswara Rao wrote: >>> On Thursday 22 October 2015 10:16:02 Kedareswara rao Appana wrote: The driver only supports memory-mapped I/O [by ioremap()], so readl/writel is actually the right

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

2015-10-22 Thread Kamezawa Hiroyuki
On 2015/10/22 3:17, Luck, Tony wrote: + if (reliable_kernelcore) { + for_each_memblock(memory, r) { + if (memblock_is_mirror(r)) + continue; Should we have a safety check here that there is some mirrored memory? If you

Re: [PATCHv12 14/37] futex, thp: remove special case for THP in get_futex_key

2015-10-22 Thread Kirill A. Shutemov
> > 1 file changed, 12 insertions(+), 49 deletions(-) > > This patch breaks compound page futexes with the following panic: > > [ 33.465456] general protection fault: [#1] SMP > [ 33.465991] CPU: 1 PID: 523 Comm: tst Not tainted

Re: [RFC/PATCH 3/3] perf tools: Defaults to 'caller' callchain order only if --children is enabled

2015-10-22 Thread Brendan Gregg
On Thu, Oct 22, 2015 at 12:38 AM, Namhyung Kim wrote: > Hi Ingo, > > On Thu, Oct 22, 2015 at 4:32 PM, Ingo Molnar wrote: >> >> * Namhyung Kim wrote: >> >>> The caller callchain order is useful with --children option since it can >>> show 'overview' style output, but other commands which don't

Re: [PATCH V5 1/1] bpf: control events stored in PERF_EVENT_ARRAY maps trace data output when perf sampling

2015-10-22 Thread Peter Zijlstra
On Thu, Oct 22, 2015 at 11:12:16AM +0800, Wangnan (F) wrote: > On 2015/10/22 11:09, Alexei Starovoitov wrote: > >On 10/21/15 6:56 PM, Wangnan (F) wrote: > >>>One alternative solution I can image is to attach a BPF program > >>>at sampling like kprobe, and return 0 if we don't want sampling >

Re: [PATCH 2/2] mmc: dw_mmc: add hw_reset extension hook

2015-10-22 Thread Ulf Hansson
On 22 October 2015 at 08:19, Shawn Lin wrote: > This patch add hw_reset for dw_mmc to implement hw reset > procedure. It's useful for mmc core to recover emmc devices > if emmc runs into unexpected state. Add MMC_CAP_HW_RESET > capability to dw_mmc extension driver directly if it needs hw_reset.

Re: [PATCHv2 4.3-rc6] proc: fix convert from oom_score_adj to oom_adj

2015-10-22 Thread Michal Hocko
On Thu 22-10-15 06:49:01, Hongjie Fang (方洪杰) wrote: > > The oom_adj has been replaced by oom_score_adj in kernel, > but the /proc/pid/oom_adj is provided for legacy purposes. > When write/read a value into/from /proc/pid/oom_adj, > there is a transformation between oom_adj and oom_score_adj. > >

[PATCH v2 1/6] vfio: platform: add capability to register a reset function

2015-10-22 Thread Eric Auger
In preparation for subsequent changes in reset function lookup, lets introduce a dynamic list of reset combos (compat string, reset module, reset function). The list can be populated/voided with two new functions, vfio_platform_register/unregister_reset. Those are not yet used in this patch.

Re: [PATCH v11 07/14] HMM: mm add helper to update page table when migrating memory v2.

2015-10-22 Thread Hillf Danton
> > This is a multi-stage process, first we save and replace page table > entry with special HMM entry, also flushing tlb in the process. If > we run into non allocated entry we either use the zero page or we > allocate new page. For swaped entry we try to swap them in. > Please elaborate why

Re: [RESEND PATCH v4 3/3] mmc: sdhci-of-arasan: add runtime pm support

2015-10-22 Thread Michal Simek
On 10/22/2015 11:06 AM, Shawn Lin wrote: > This patch add runtime_suspend and runtime_resume for > sdhci-of-arasan. Currently we also power-off phy at > runtime_suspend for power-saving. > > Signed-off-by: Shawn Lin > > Serise-changes: 4 > - remove ifdef for PM callback statement > - fix

Re: [PATCH 4/5] block: introduce file_bd_inode()

2015-10-22 Thread Jan Kara
On Thu 22-10-15 02:42:05, Dan Williams wrote: > Similar to the file_inode() helper, provide a helper to lookup the inode for a > raw block device itself. So I somewhat dislike the name file_bd_inode() since for struct file pointing to a regular file, the result would be equivalent to file_inode()

Re: [RFC PATCH v6 3/3] arm: fix a migrating irq bug when hotplug cpu

2015-10-22 Thread Geert Uytterhoeven
Hi Russell, On Thu, Oct 22, 2015 at 11:26 AM, Russell King - ARM Linux wrote: > On Wed, Oct 21, 2015 at 09:29:08PM +0100, Russell King - ARM Linux wrote: >> On Wed, Oct 21, 2015 at 01:47:49PM +0200, Geert Uytterhoeven wrote: >> > On Thu, Sep 24, 2015 at 11:32 AM, Yang Yingliang >> > wrote: >> >

[PATCH v2 5/6] vfio: platform: use list of registered reset function

2015-10-22 Thread Eric Auger
Remove the static lookup table and use the dynamic list of registered reset functions instead. Also load the reset module through its alias. The reset struct module pointer is stored in vfio_platform_device. We also remove the useless struct device pointer parameter in vfio_platform_get_reset.

[PATCH v2 2/6] vfio: platform: reset: add vfio_platform_reset_private.h

2015-10-22 Thread Eric Auger
This header is to be included in all vfio reset modules. It defines the module_vfio_reset_handler macro whose role is - to define a module alias - implement module init/exit function which respectively registers and unregisters the reset function. Signed-off-by: Eric Auger --- v2: creation -

[PATCH v2 6/6] vfio: platform: move get/put reset at open/release

2015-10-22 Thread Eric Auger
Currently reset lookup is done on probe. This introduces a race with new registration mechanism in the case where the vfio-platform driver is bound to the device before its module is loaded: on the load, the probe happens which triggers the reset module load which itself attempts to get the symbol

[PATCH v2 4/6] vfio: platform: add compat in vfio_platform_device

2015-10-22 Thread Eric Auger
Let's retrieve the compatibility string on probe and store it in the vfio_platform_device struct Signed-off-by: Eric Auger --- drivers/vfio/platform/vfio_platform_common.c | 15 --- drivers/vfio/platform/vfio_platform_private.h | 1 + 2 files changed, 9 insertions(+), 7

[PATCH v2 0/6] VFIO platform reset module rework

2015-10-22 Thread Eric Auger
This series fixes the current implementation by getting rid of the usage of __symbol_get which caused a compilation issue with CONFIG_MODULES disabled. On top of this, the usage of MODULE_ALIAS makes possible to add a new reset module without being obliged to update the framework. The new

Re: [PATCH] mmc: pwrseq: Use highest priority for eMMC restart handler

2015-10-22 Thread Anand Moon
Hi Javier, On 22 October 2015 at 14:06, Javier Martinez Canillas wrote: > Hello Anand, > > On 10/22/2015 07:03 AM, Anand Moon wrote: >> Hi Javier, >> >> On 22 October 2015 at 08:22, Javier Martinez Canillas >> wrote: >>> Hello Krzysztof, >>> >>> On 10/22/2015 03:43 AM, Krzysztof Kozlowski

[PATCH v2 3/6] vfio: platform: reset: calxedaxgmac: add reset function registration

2015-10-22 Thread Eric Auger
This patch adds the reset function registration/unregistration. Signed-off-by: Eric Auger --- v1 -> v2: - uses the module_vfio_reset_handler macro - add pr_info on vfio reset - do not export vfio_platform_calxedaxgmac_reset symbol anymore ---

[PATCH v2 2/2] dmaengine: hdmac: Add scatter-gathered memset support

2015-10-22 Thread Maxime Ripard
Just like memset support, the HDMAC might be used to do a memset over a discontiguous memory area. In such a case, we'll just build up a chain of memset descriptors over the contiguous chunks of memory to set, in order to allow such a support. Signed-off-by: Maxime Ripard ---

[PATCH v2 1/2] dmaengine: hdmac: factorise memset descriptor allocation

2015-10-22 Thread Maxime Ripard
The memset and scatter gathered memset are going to use some common logic to create their descriptors. Move that logic into a function of its own so that we can share it with the future memset_sg callback. Signed-off-by: Maxime Ripard --- drivers/dma/at_hdmac.c | 97

[PATCH v2 0/2] dmaengine: hdmac: Add scatter-gathered memset support

2015-10-22 Thread Maxime Ripard
Hi Vinod, Here is a patch serie that adds support in the Atmel HDMAC for memset over a discontiguous memory area. Just like for the memset, it's used on those SoCs to support framebuffer related operations that cannot be performed either by the display engine or the (non-existent) GPU. Let me

Re: [PATCH] x86/spinlocks: Avoid a deadlock when someone unlock a zapped ticked spinlock

2015-10-22 Thread Petr Mladek
On Wed 2015-10-21 13:11:20, Peter Zijlstra wrote: > On Wed, Oct 21, 2015 at 11:18:09AM +0200, Petr Mladek wrote: > > There are few situations when we reinitialize (zap) ticket spinlocks. It > > typically happens when the system is going down after an error and we > > want to avoid deadlock in some

[PATCH v4 00/10] Add Intel FieldsPeak NFC solution driver

2015-10-22 Thread Robert Dolca
These patches add support for Intel's FieldsPeak NFC solution. Fields Peak complies with the ISO/IEC 14443A/B, 15693, 18092, and JIS X 6319-4. It is an NCI based controller. RF Protocols supported: - NFC Forum Type 1 Tags (Jewel, Topaz) - NFC Forum Type 2 Tags (Mifare UL) - NFC Forum Type 3

Re: Problem about CPU stalling in hrtimer_intterrupts()

2015-10-22 Thread Ding Tianhong
On 2015/10/22 15:43, Thomas Gleixner wrote: > On Thu, 22 Oct 2015, Yang Yingliang wrote: >> I use the kernel-4.1.6 running on arm64. >> My testcase is that it calls clock_settime and clock_adjtime alternately with >> random params on each core. My system has 32 cores. >> >> I found the cpu

Re: [PATCH 14/19] ARM: dts: shmobile/r8a7xxx: replace gpio-key,wakeup with wakeup-source property

2015-10-22 Thread Sudeep Holla
On 22/10/15 01:50, Simon Horman wrote: On Wed, Oct 21, 2015 at 11:23:03AM +0100, Sudeep Holla wrote: On 21/10/15 11:18, Geert Uytterhoeven wrote: On Wed, Oct 21, 2015 at 12:10 PM, Sudeep Holla wrote: Though the keyboard driver for GPIO buttons(gpio-keys) will continue to check

Re: [Bug 105051] Radeon sets max_brightness to -1, breaking GNOME backlight control on Macbook Pro mid-2015 11,5

2015-10-22 Thread Darren Hart
Bruno, can you please have a look at the following regression attributed to: 4eebd5a apple-gmux: lock iGP IO to protect from vgaarb changes 2015-03-18 (7 months ago), Bruno Prémont On Thu, Oct 15, 2015 at 04:47:13AM +, bugzilla-dae...@bugzilla.kernel.org wrote: >

[PATCH v4 02/10] nfc: nci: Add function to get max packet size for conn

2015-10-22 Thread Robert Dolca
FDP driver needs to send the firmware as regular packets (not fragmented). The driver should have a way to get the max packet size for a given connection. Signed-off-by: Robert Dolca --- include/net/nfc/nci_core.h | 1 + net/nfc/nci/data.c | 12 2 files changed, 13

[PATCH v4 01/10] nfc: nci: Export nci data send API

2015-10-22 Thread Robert Dolca
For the firmware update the driver may use nci_send_data. Signed-off-by: Robert Dolca --- net/nfc/nci/data.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/nfc/nci/data.c b/net/nfc/nci/data.c index 566466d..83acd18 100644 --- a/net/nfc/nci/data.c +++ b/net/nfc/nci/data.c @@ -203,6

Re: [PATCH 5/5] block: enable dax for raw block devices

2015-10-22 Thread Jan Kara
On Thu 22-10-15 02:42:11, Dan Williams wrote: > If an application wants exclusive access to all of the persistent memory > provided by an NVDIMM namespace it can use this raw-block-dax facility > to forgo establishing a filesystem. This capability is targeted > primarily to hypervisors wanting to

[PATCH v4 06/10] nfc: nci: Allow the driver to set handler for core nci ops

2015-10-22 Thread Robert Dolca
The driver may be required to act when some responses or notifications arrive. For example the NCI core does not have a handler for NCI_OP_CORE_GET_CONFIG_RSP. The NFCC can send a config response that has to be read by the driver and the packet may contain vendor specific data. The Fields Peak

[PATCH v4 07/10] nfc: nci: rename nci_prop_ops to nci_driver_ops

2015-10-22 Thread Robert Dolca
Initially it was used to create hooks in the driver for proprietary operations. Currently it is being used for hooks for both proprietary and generic operations. Signed-off-by: Robert Dolca --- drivers/nfc/s3fwrn5/nci.c | 4 ++-- drivers/nfc/st-nci/core.c | 2 +- include/net/nfc/nci_core.h

Re: [PATCH net-next RFC 2/2] vhost_net: basic polling support

2015-10-22 Thread Michael S. Tsirkin
On Thu, Oct 22, 2015 at 01:27:29AM -0400, Jason Wang wrote: > This patch tries to poll for new added tx buffer for a while at the > end of tx processing. The maximum time spent on polling were limited > through a module parameter. To avoid block rx, the loop will end it > there's new other works

Re: [PATCH for-next] EDAC: fix misuse of PAGES_TO_MiB macros

2015-10-22 Thread Borislav Petkov
On Tue, Oct 20, 2015 at 07:45:38PM +0800, Tan Xiaojun wrote: > The PAGES_TO_MiB macros is only used for unit conversion. > > Signed-off-by: Tan Xiaojun > --- > drivers/edac/edac_mc.c | 2 +- > drivers/edac/ghes_edac.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git

[PATCH v4 2/2] i2c: add ACPI support for I2C mux ports

2015-10-22 Thread Dustin Byford
Although I2C mux devices are easily enumerated using ACPI (_HID/_CID or device property compatible string match), enumerating I2C client devices connected through an I2C mux needs a little extra work. This change implements a method for describing an I2C device hierarchy that includes mux devices

[PATCH v4 05/10] nfc: nci: Introduce nci_core_cmd

2015-10-22 Thread Robert Dolca
This allows sending core commands from the driver. The driver should be able to send NCI core commands like CORE_GET_CONFIG_CMD. Signed-off-by: Robert Dolca --- include/net/nfc/nci_core.h | 1 + net/nfc/nci/core.c | 24 +++- 2 files changed, 20 insertions(+), 5

[PATCH v11 1/6] arm: add msi.h to Kbuild

2015-10-22 Thread Ley Foon Tan
Include asm-generic/msi.h to support CONFIG_GENERIC_MSI_IRQ_DOMAIN. This to fix compilation error: "include/linux/msi.h:123:21: fatal error: asm/msi.h: No such file or directory" Signed-off-by: Ley Foon Tan --- arch/arm/include/asm/Kbuild | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v11 3/6] pci:host: Add Altera PCIe host controller driver

2015-10-22 Thread Ley Foon Tan
This patch adds the Altera PCIe host controller driver. Signed-off-by: Ley Foon Tan Reviewed-by: Marc Zyngier --- drivers/pci/host/Kconfig | 8 + drivers/pci/host/Makefile | 1 + drivers/pci/host/pcie-altera.c | 579 + 3 files changed, 588

Re: [PATCH 2/5] mmc: omap_hsmmc: Enable omap_hsmmc for Keystone 2

2015-10-22 Thread Ulf Hansson
On 20 October 2015 at 23:50, Franklin S Cooper Jr wrote: > > From: Lokesh Vutla > > Enable omap_hsmmc for Keystone 2 architecture which reuses the HSMMC > IP found on OMAP platforms. > > Signed-off-by: Franklin S Cooper Jr > --- > drivers/mmc/host/Kconfig | 2 +- > 1 file changed, 1

[PATCH v11 5/6] Documentation: dt-bindings: pci: altera pcie device tree binding

2015-10-22 Thread Ley Foon Tan
This patch adds the bindings for Altera PCIe host controller driver and Altera PCIe MSI driver. Signed-off-by: Ley Foon Tan --- .../devicetree/bindings/pci/altera-pcie-msi.txt| 28 + .../devicetree/bindings/pci/altera-pcie.txt| 49 ++ 2 files changed,

[PATCH v11 4/6] pci: altera: Add Altera PCIe MSI driver

2015-10-22 Thread Ley Foon Tan
This patch adds Altera PCIe MSI driver. This soft IP supports configurable number of vectors, which is a dts parameter. Signed-off-by: Ley Foon Tan Reviewed-by: Marc Zyngier --- drivers/pci/host/Kconfig | 8 + drivers/pci/host/Makefile | 1 +

[PATCH v11 6/6] MAINTAINERS: Add Altera PCIe and MSI drivers maintainer

2015-10-22 Thread Ley Foon Tan
Signed-off-by: Ley Foon Tan --- MAINTAINERS | 16 1 file changed, 16 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index b8577ad9..96b9fac 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -7958,6 +7958,14 @@ F: include/linux/pci* F: arch/x86/pci/ F:

[PATCH v11 2/6] pci: add Altera PCI vendor ID

2015-10-22 Thread Ley Foon Tan
Signed-off-by: Ley Foon Tan --- include/linux/pci_ids.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index d9ba49c..08e4462 100644 --- a/include/linux/pci_ids.h +++ b/include/linux/pci_ids.h @@ -1550,6 +1550,8 @@ #define

[PATCH v11 0/6] Altera PCIe host controller driver with MSI support

2015-10-22 Thread Ley Foon Tan
This is the 11th version of patch set to add support for Altera PCIe host controller with MSI feature on Altera FPGA device families. This patchset mainly resovle the warning/error caught by kbuild test. Hi Bjorn, Do you have further comment on this patchset? Any chance this can go into 4.4?

Re: [PATCH] clk: Remove clk_{register,unregister}_multiplier()

2015-10-22 Thread Michael Turquette
Quoting Maxime Ripard (2015-10-22 01:36:47) > Hi! > > On Wed, Oct 21, 2015 at 04:33:53PM -0700, Stephen Boyd wrote: > > These APIs aren't used, so remove them. This can be reverted if > > we get a user at some point. > > > > Cc: Maxime Ripard > > Suggested-by: Michael Turquette > >

Re: [PATCH v3 1/1] i2c: add ACPI support for I2C mux ports

2015-10-22 Thread Dustin Byford
On Thu Oct 22 00:39, Rafael J. Wysocki wrote: > Hi, > > On Wed, Oct 21, 2015 at 11:25 AM, Dustin Byford > wrote: > > On Wed Oct 21 12:08, Mika Westerberg wrote: > >> I don't really have strong feelings whether it should be the I2C core or > >> individual drivers setting the ACPI companion.

Re: [RFC PATCH v6 3/3] arm: fix a migrating irq bug when hotplug cpu

2015-10-22 Thread Russell King - ARM Linux
On Wed, Oct 21, 2015 at 09:29:08PM +0100, Russell King - ARM Linux wrote: > On Wed, Oct 21, 2015 at 01:47:49PM +0200, Geert Uytterhoeven wrote: > > On Thu, Sep 24, 2015 at 11:32 AM, Yang Yingliang > > wrote: > > > When cpu is disabled, all irqs will be migratged to another cpu. > > > In some

[PATCH 3/4] arm: plat-omap: add DT support for ti,dm816-timer

2015-10-22 Thread Neil Armstrong
Adds ti,dm816-timer to the dmtimer OF match table. Cc: Brian Hutchinson Signed-off-by: Neil Armstrong --- arch/arm/plat-omap/dmtimer.c | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/plat-omap/dmtimer.c b/arch/arm/plat-omap/dmtimer.c index 8ca94d3..28a6550 100644 ---

Re: [PATCH 2/5] dax: increase granularity of dax_clear_blocks() operations

2015-10-22 Thread Jan Kara
On Thu 22-10-15 02:41:54, Dan Williams wrote: > dax_clear_blocks is currently performing a cond_resched() after every > PAGE_SIZE memset. We need not check so frequently, for example md-raid > only calls cond_resched() at stripe granularity. Also, in preparation > for introducing a

[PATCH 0/4] arm: omap2+: complete dm816x hwmod and clkdev

2015-10-22 Thread Neil Armstrong
In order to fix support for the dm816x platform, add missing bits in the 81xx hwmod data. The clk related patch adds the missing clkdev entries to fix all source selection in the dmtimer driver. The last patch adds hwmod support of the spinbox module. Neil Armstrong (4): arm: omap2+: add

Re: [PATCH 1/3] x86, perf: Use a new PMU ack sequence

2015-10-22 Thread Ingo Molnar
* Andi Kleen wrote: > > > v2: > > > Use new ack sequence unconditionally. Remove pmu reset code. > > > > So this is not something we can easily revert if things go bad. Esp. > > since you build on it with the next patches. > > Ok, and? Sigh, you are being disruptive again. > You want me to

Re: [PATCH V5 1/1] bpf: control events stored in PERF_EVENT_ARRAY maps trace data output when perf sampling

2015-10-22 Thread Peter Zijlstra
On Thu, Oct 22, 2015 at 03:51:37PM +0800, Wangnan (F) wrote: > Because I'm not very sure what the meaning of "inconsistent" in > Peter's words... What's inconsistent is that some perf actions can be done only on local events while others can be done on !local. And I can't say I particularly like

[tip:perf/core] perf annotate: Add debug message for out of bounds sample

2015-10-22 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: e3d006ce8180a0c025ce66bdc89bbc125f85be57 Gitweb: http://git.kernel.org/tip/e3d006ce8180a0c025ce66bdc89bbc125f85be57 Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 21 Oct 2015 15:45:13 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 21 Oct 2015 18:12:37 -0300

[tip:perf/core] perf cpu_map: Fix core dump caused by per-socket/ core system-wide stat

2015-10-22 Thread tip-bot for Kan Liang
Commit-ID: bc1d03687b9be3a30aab8e8d78c7884449b6e511 Gitweb: http://git.kernel.org/tip/bc1d03687b9be3a30aab8e8d78c7884449b6e511 Author: Kan Liang AuthorDate: Fri, 9 Oct 2015 06:59:23 -0400 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 20 Oct 2015 15:54:20 -0300 perf cpu_map: Fix

[tip:perf/core] perf evsel: Print branch filter state with -vv

2015-10-22 Thread tip-bot for Andi Kleen
Commit-ID: 8b8cde49586566471d65af9a59e25d3edb941387 Gitweb: http://git.kernel.org/tip/8b8cde49586566471d65af9a59e25d3edb941387 Author: Andi Kleen AuthorDate: Tue, 20 Oct 2015 11:46:36 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 21 Oct 2015 18:12:29 -0300 perf evsel:

[tip:perf/core] perf build: Add fixdep to .gitignore

2015-10-22 Thread tip-bot for Yunlong Song
Commit-ID: e1d040cfcf76c1c1b5d71fc08ab577a0cf72fefd Gitweb: http://git.kernel.org/tip/e1d040cfcf76c1c1b5d71fc08ab577a0cf72fefd Author: Yunlong Song AuthorDate: Thu, 15 Oct 2015 16:51:56 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 20 Oct 2015 10:43:28 -0300 perf build:

[tip:perf/core] tools lib traceevent: update KVM plugin

2015-10-22 Thread tip-bot for Paolo Bonzini
Commit-ID: 2f465deef7ce8c722121b782dd91c284f5ae80ca Gitweb: http://git.kernel.org/tip/2f465deef7ce8c722121b782dd91c284f5ae80ca Author: Paolo Bonzini AuthorDate: Thu, 1 Oct 2015 12:28:11 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 20 Oct 2015 15:54:14 -0300 tools lib

Re: [PATCH 5/5] clk: scpi: add missing of_node_put

2015-10-22 Thread Sudeep Holla
On 21/10/15 21:41, Julia Lawall wrote: for_each_available_child_of_node performs an of_node_get on each iteration, so a break out of the loop requires an of_node_put. The semantic patch that fixes this problem is as follows (http://coccinelle.lip6.fr): // @@ expression root,e; local

[PATCH 1/4] arm: dts: add dm816x missing #mbox-cells

2015-10-22 Thread Neil Armstrong
Add missing #mbox-cells for dm816x mbox DT node. Cc: Brian Hutchinson Signed-off-by: Neil Armstrong --- arch/arm/boot/dts/dm816x.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/dm816x.dtsi b/arch/arm/boot/dts/dm816x.dtsi index 3c99cfa..a7a34e4 100644 ---

[PATCH 2/4] arm: dts: add dm816x missing spi DT dma handles

2015-10-22 Thread Neil Armstrong
Add the missing SPI controller DMA handler in the dm816x DT node, only properties for the two channels on four were present. Cc: Brian Hutchinson Signed-off-by: Neil Armstrong --- arch/arm/boot/dts/dm816x.dtsi | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git

[PATCH 4/4] arm: dts: Add omap4-hwspinlock support in dm816x

2015-10-22 Thread Neil Armstrong
Add dm816x DT entries for omap4-hwspinlock support as hwmod spinbox. Cc: Brian Hutchinson Signed-off-by: Neil Armstrong --- arch/arm/boot/dts/dm816x.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/dm816x.dtsi b/arch/arm/boot/dts/dm816x.dtsi index

Re: [PATCH v2 1/3] dt-bindings: Consolidate SRAM bindings from all vendors

2015-10-22 Thread Krzysztof Kozlowski
On 22.10.2015 18:05, Maxime Ripard wrote: > Hi, > > On Thu, Oct 22, 2015 at 10:25:28AM +0900, Krzysztof Kozlowski wrote: >> SRAM bindings for various SoCs, using the mmio-sram genalloc >> API, are spread over different places - per SoC vendor. Since all of >> these are quite similar (they depend

[PATCH 3/4] arm: dts: add dm816x pwm property to timers

2015-10-22 Thread Neil Armstrong
Adds ti,timer-pwm property to timers 4 to 7 to permit usage of their PWM output fonctionnality via the dmtimer driver. Cc: Brian Hutchinson Signed-off-by: Neil Armstrong --- arch/arm/boot/dts/dm816x.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/dm816x.dtsi

[PATCH 4/4] arm: omap2+: Add hwmod spinbox support for dm816x

2015-10-22 Thread Neil Armstrong
Add dm81xx hwmod data entries for dm816x spinbox support. Cc: Brian Hutchinson Signed-off-by: Neil Armstrong --- arch/arm/mach-omap2/omap_hwmod_81xx_data.c | 35 ++ 1 file changed, 35 insertions(+) diff --git a/arch/arm/mach-omap2/omap_hwmod_81xx_data.c

[PATCH 2/4] clk: ti816x: Add missing dmtimer clkdev entries

2015-10-22 Thread Neil Armstrong
Add missing clkdev dmtimer related entries for dm816x. 32Khz and ext sources were missing. Cc: Brian Hutchinson Signed-off-by: Neil Armstrong --- drivers/clk/ti/clk-816x.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clk/ti/clk-816x.c b/drivers/clk/ti/clk-816x.c index

[PATCH 0/4] arm: dts: complete dm816x device tree

2015-10-22 Thread Neil Armstrong
In order to fix support for the dm816x platform, add missing bits in the dm816x dtsi. The last patch adds support for the omap4-hwspinlock. Neil Armstrong (4): arm: dts: add dm816x missing #mbox-cells arm: dts: add dm816x missing spi DT dma handles arm: dts: add dm816x pwm property to

[PATCH 1/4] arm: omap2+: add missing HWMOD_NO_IDLEST in 81xx hwmod data

2015-10-22 Thread Neil Armstrong
Add missing HWMOD_NO_IDLEST hwmod flag for entries no having omap4 clkctrl values. Cc: Brian Hutchinson Signed-off-by: Neil Armstrong --- arch/arm/mach-omap2/omap_hwmod_81xx_data.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-omap2/omap_hwmod_81xx_data.c

[PATCH v4 1/2] acpi: add acpi_preset_companion() stub

2015-10-22 Thread Dustin Byford
Add a stub for acpi_preset_companion(). Fixes build failures when acpi_preset_companion() is used and CONFIG_ACPI is not set. Signed-off-by: Dustin Byford --- include/linux/acpi.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/linux/acpi.h b/include/linux/acpi.h index

[PATCH v4 0/2] i2c: acpi: scan ACPI enumerated I2C mux channels

2015-10-22 Thread Dustin Byford
The following series adds support for describing ACPI enumerated I2C mux ports like this (added as Documentation/acpi/i2c-muxes.txt): +--+ +--+ | SMB1 |-->| MUX0 |--CH00--> i2c client A (0x50) | | | 0x70 |--CH01--> i2c client B (0x50) +--+ +--+ Device (SMB1) { Name

Re: [PATCH 5/6] ARM: dts: sunxi: Add Allwinner H3 DTSI

2015-10-22 Thread Maxime Ripard
On Thu, Oct 22, 2015 at 10:57:45AM +0200, Jean-Francois Moine wrote: > On Thu, 22 Oct 2015 10:47:35 +0200 > Maxime Ripard wrote: > > > Not really. The uart0 reset is the bit 16, in the reset register 4. > > > > 4 * 32 + 16 = 44. > > > > Not 112, but still not 208 either. > > The registers are

[PATCH 3/4] of/unittest: add missing of_node_put

2015-10-22 Thread Julia Lawall
for_each_child_of_node performs an of_node_get on each iteration, so a break out of the loop requires an of_node_put. A simplified version of the semantic patch that fixes this problem is as follows (http://coccinelle.lip6.fr): // @@ expression root,e; local idexpression child; @@

[PATCH 2/4] of/platform: add missing of_node_put

2015-10-22 Thread Julia Lawall
for_each_child_of_node performs an of_node_get on each iteration, so a break out of the loop requires an of_node_put. A simplified version of the semantic patch that fixes this problem is as follows (http://coccinelle.lip6.fr): // @@ local idexpression n; expression root,e; @@

Re: blk-mq: takes hours for scsi scanning finish when thousands of LUNs

2015-10-22 Thread jason
On Thursday, October 22, 2015 04:47 PM, Tejun Heo wrote: Hello, On Mon, Oct 19, 2015 at 07:40:13AM -0700, Zhangqing Luo wrote: > So every time blk_mq_freeze_queue_start, it runs in this way > > blk_mq_freeze_queue_start > ->percpu_ref_kill->percpu_ref_kill_and_confirm >

[PATCH 1/4] of/overlay: add missing of_node_put

2015-10-22 Thread Julia Lawall
for_each_child_of_node performs an of_node_get on each iteration, so a break out of the loop requires an of_node_put. A simplified version of the semantic patch that fixes this problem is as follows (http://coccinelle.lip6.fr): // @@ expression root,e; local idexpression child; @@

Re: [GIT PULL] On-demand device probing

2015-10-22 Thread Tomeu Vizoso
On 22 October 2015 at 02:54, Rafael J. Wysocki wrote: > On Tuesday, October 20, 2015 06:21:55 PM Tomeu Vizoso wrote: >> On 20 October 2015 at 18:04, Alan Stern wrote: >> > On Tue, 20 Oct 2015, Mark Brown wrote: >> > >> >> On Tue, Oct 20, 2015 at 10:40:03AM -0400, Alan Stern wrote: >> >> >> >> >

[PATCH 0/4] add missing of_node_put

2015-10-22 Thread Julia Lawall
The various for_each device_node iterators performs an of_node_get on each iteration, so a break out of the loop requires an of_node_put. The complete semantic patch that fixes this problem is (http://coccinelle.lip6.fr): // @r@ local idexpression n; expression e1,e2; iterator name

[PATCH v4 08/10] nfc: nci: fix possible crash in nci_core_conn_create

2015-10-22 Thread Robert Dolca
If the number of destination speific parameters supplied is 0 the call will fail. If the first destination specific parameter does not have a value, curr_id will be set to 0. Signed-off-by: Robert Dolca --- net/nfc/nci/core.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff

[PATCH 4/4] of/irq: add missing of_node_put

2015-10-22 Thread Julia Lawall
for_each_matching_node performs an of_node_get on each iteration, so a break out of the loop requires an of_node_put. A simplified version of the semantic patch that fixes this problem is as follows (http://coccinelle.lip6.fr): // @@ local idexpression n; expression e; identifier l; @@

[PATCH v4 10/10] nfc: Add Intel Fields Peak NFC solution driver

2015-10-22 Thread Robert Dolca
Fields Peak complies with the ISO/IEC 14443A/B, 15693, 18092, and JIS X 6319-4. It is an NCI based controller. RF Protocols supported: - NFC Forum Type 1 Tags (Jewel, Topaz) - NFC Forum Type 2 Tags (Mifare UL) - NFC Forum Type 3 Tags (FeliCa) - NFC Forum Type 4A (ISO/IEC 14443 A-4 106kbps to

[PATCH v4 09/10] nfc: nci: add nci_get_conn_info_by_id function

2015-10-22 Thread Robert Dolca
This functin takes as a parameter a pointer to the nci_dev struct and the first byte from the values of the first domain specific parameter that was used for the connection creation. Signed-off-by: Robert Dolca --- include/net/nfc/nci_core.h | 1 + net/nfc/nci/core.c | 13 +

[PATCH v4 03/10] nfc: nci: Introduce new core opcodes

2015-10-22 Thread Robert Dolca
Add NCI_OP_CORE_GET_CONFIG_CMD, NCI_OP_CORE_GET_CONFIG_RSP and NCI_OP_CORE_RESET_NTF. Signed-off-by: Robert Dolca --- include/net/nfc/nci.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/include/net/nfc/nci.h b/include/net/nfc/nci.h index 75d2e18..b495825 100644 ---

[PATCH v4 04/10] nfc: nci: Do not call post_setup when setup fails

2015-10-22 Thread Robert Dolca
The driver should know that it can continue with post setup where setup left off. Being able to execute post_setup when setup fails may force the developer to keep this state in the driver. Signed-off-by: Robert Dolca --- net/nfc/nci/core.c | 3 +-- 1 file changed, 1 insertion(+), 2

Re: [lkp] [x86] 0941ca402a: BUG: unable to handle kernel NULL pointer dereference at (null)

2015-10-22 Thread Borislav Petkov
On Thu, Oct 22, 2015 at 08:35:51AM +0800, kernel test robot wrote: > FYI, we noticed the below changes on > > https://github.com/0day-ci/linux > Borislav-Petkov/x86-Kill-notsc/20151018-222323 > commit 0941ca402ab984dbc24d27df4def1a0aa4f082b1 ("x86: Kill notsc") Thanks for the report, already

Re: [PATCH] mm: memcontrol: eliminate root memory.current

2015-10-22 Thread Michal Hocko
On Wed 21-10-15 14:49:54, Johannes Weiner wrote: > memory.current on the root level doesn't add anything that wouldn't be > more accurate and detailed using system statistics. It already doesn't > include slabs, and it'll be a pain to keep in sync when further memory > types are accounted in the

[RESEND PATCH v4 3/3] mmc: sdhci-of-arasan: add runtime pm support

2015-10-22 Thread Shawn Lin
This patch add runtime_suspend and runtime_resume for sdhci-of-arasan. Currently we also power-off phy at runtime_suspend for power-saving. Signed-off-by: Shawn Lin Serise-changes: 4 - remove ifdef for PM callback statement - fix missing pm_runtime_set_active - remove

Re: [PATCH 0/6] ARM: sunxi: Introduce Allwinner H3 support

2015-10-22 Thread Hans de Goede
Hi, On 22-10-15 09:58, Jean-Francois Moine wrote: On Wed, 21 Oct 2015 21:18:45 +0200 Hans de Goede wrote: Great to see that you've started working on this again. Last weekend I ended up working on this too together with Reinder E.N. de Haan (added to the Cc). We took a slightly different

[RESEND PATCH v4 2/3] mmc: sdhci-of-arasan: add phy support for sdhci-of-arasan

2015-10-22 Thread Shawn Lin
This patch adds Generic PHY access for sdhci-of-arasan. Driver can get PHY handler from dt-binding, and power-on/init the PHY. Also we add pm ops for PHY here if CONFIG_PM_SLEEP is enabled. Currently, it's just mandatory for arasan,sdhci-5.1. Signed-off-by: Shawn Lin Serise-changes: 4 - remove

Re: [PATCH 3/6] pinctrl: sunxi: Add H3 PIO controller support

2015-10-22 Thread josef . gajdusek
Hi everyone, I might be missing something, but why is the PL* GPIO bank not declared here? Dne středa 21. října 2015 18:30:50 UTC+2 Jens Kuske napsal(a): > The H3 uses the same pin controller as previous SoC's from Allwinner. > Add support for the pins controlled by the main PIO controller. >

[RESEND PATCH v4 1/3] Documentation: bindings: add description of phy for sdhci-of-arasan

2015-10-22 Thread Shawn Lin
This patch adds phys and phy-names for sdhci-of-arasan as required properties for arasan,sdhci-5.1, and details the example as well. Signed-off-by: Shawn Lin --- Changes in v2: - Keep phy as a mandatory requirement for arasan,sdhci-5.1 .../devicetree/bindings/mmc/arasan,sdhci.txt |

Re: [PATCH V5 1/1] bpf: control events stored in PERF_EVENT_ARRAY maps trace data output when perf sampling

2015-10-22 Thread Peter Zijlstra
On Wed, Oct 21, 2015 at 02:19:49PM -0700, Alexei Starovoitov wrote: > >Urgh, that's still horridly inconsistent. Can we please come up with a > >consistent interface to perf? > My suggestion was to do ioctl(enable/disable) of events from userspace > after receiving notification from kernel via

Re: [GIT PULL] On-demand device probing

2015-10-22 Thread Tomeu Vizoso
On 21 October 2015 at 23:50, Frank Rowand wrote: > On 10/21/2015 2:12 PM, Rob Herring wrote: >> On Wed, Oct 21, 2015 at 1:18 PM, Frank Rowand wrote: >>> On 10/21/2015 9:27 AM, Mark Brown wrote: On Wed, Oct 21, 2015 at 08:59:51AM -0700, Frank Rowand wrote: > On 10/19/2015 5:34 AM, Tomeu

Re: [PATCH v2 1/3] dt-bindings: Consolidate SRAM bindings from all vendors

2015-10-22 Thread Maxime Ripard
Hi, On Thu, Oct 22, 2015 at 10:25:28AM +0900, Krzysztof Kozlowski wrote: > SRAM bindings for various SoCs, using the mmio-sram genalloc > API, are spread over different places - per SoC vendor. Since all of > these are quite similar (they depend on mmio-sram) move them to a common > place. > >

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