Re: [PATCH 1/2] i2c: Add generic support passing secondary devices addresses

2014-10-23 Thread Jean-Michel Hautbois
Hi Laurent, Thank you for your review, 2014-10-23 1:37 GMT+02:00 Laurent Pinchart laurent.pinch...@ideasonboard.com: Hi Jean-Michel, Thank you for the patch. On Wednesday 22 October 2014 17:30:47 Jean-Michel Hautbois wrote: Some I2C devices have multiple addresses assigned, for example

Re: [PATCH 2/2] adv7604: Add support for i2c_new_secondary_device

2014-10-23 Thread Jean-Michel Hautbois
Hi Laurent, Thank you for reviewing, 2014-10-23 1:44 GMT+02:00 Laurent Pinchart laurent.pinch...@ideasonboard.com: Hi Jean-Michel, Thank you for the patch. On Wednesday 22 October 2014 17:30:48 Jean-Michel Hautbois wrote: The ADV7604 has thirteen 256-byte maps that can be accessed via the

Re: GPIO bindings guidelines (Was: Re: [PATCH v5 10/12] gpio: Support for unified device properties interface)

2014-10-23 Thread Alexandre Courbot
On Tue, Oct 21, 2014 at 4:54 PM, Arnd Bergmann a...@arndb.de wrote: On Tuesday 21 October 2014 14:14:02 Alexandre Courbot wrote: We have enforced naming things for the dmaengine binding, which has just led to everyone calling things rx and tx. My fear is that if we start to enforce giving

Re: [PATCH 1/3] kcmp: Move kcmp.h into uapi

2014-10-23 Thread Cyrill Gorcunov
On Thu, Oct 23, 2014 at 04:07:12PM +1100, Michael Ellerman wrote: kcmp.h appears to be part of the API, it's documented in kcmp(2), and the selftests/kcmp code uses it. So move it to uapi so it's actually exported. Signed-off-by: Michael Ellerman m...@ellerman.id.au Acked-by: Cyrill Gorcunov

Re: [mm] BUG: Int 6: CR2 (null)

2014-10-23 Thread Weijie Yang
On Thu, Oct 9, 2014 at 10:04 AM, Fengguang Wu fengguang...@intel.com wrote: Hi Marek, FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master commit 478e86d7c8c5f41e29abb81b05b459d24bdc71a2 (mm: cma: adjust address limit to avoid

Re: [PATCH 2/3] selftests/kcmp: Don't include kernel headers

2014-10-23 Thread Cyrill Gorcunov
On Thu, Oct 23, 2014 at 04:07:13PM +1100, Michael Ellerman wrote: The kcmp test mucks with the include path to bring in the kernel headers, and x86 headers too for reasons that are not clear. Now that kcmp.h is exported none of that should be necessary. Signed-off-by: Michael Ellerman

Re: [PATCH 3/3] selftests/kcmp: Always try to build the test

2014-10-23 Thread Cyrill Gorcunov
On Thu, Oct 23, 2014 at 04:07:14PM +1100, Michael Ellerman wrote: Don't prevent the test building on non-x86. Just try and build it and let the chips fall where they may. Signed-off-by: Michael Ellerman m...@ellerman.id.au kcmp depends on checkpoint/restore config symbol which is known to

Re: GPIO bindings guidelines (Was: Re: [PATCH v5 10/12] gpio: Support for unified device properties interface)

2014-10-23 Thread Alexandre Courbot
On Wed, Oct 22, 2014 at 11:07 PM, Rafael J. Wysocki r...@rjwysocki.net wrote: On Wednesday, October 22, 2014 11:28:40 AM Arnd Bergmann wrote: On Wednesday 22 October 2014 11:51:40 Mika Westerberg wrote: On Wed, Oct 22, 2014 at 10:33:32AM +0200, Arnd Bergmann wrote: On Wednesday 22 October

Re: localed stuck in recent 3.18 git in copy_net_ns?

2014-10-23 Thread Yanko Kaneti
On Wed, 2014-10-22 at 16:24 -0700, Paul E. McKenney wrote: On Thu, Oct 23, 2014 at 01:40:32AM +0300, Yanko Kaneti wrote: On Wed-10/22/14-2014 15:33, Josh Boyer wrote: On Wed, Oct 22, 2014 at 2:55 PM, Paul E. McKenney paul...@linux.vnet.ibm.com wrote: [ . . . ] Don't get me wrong

Re: [PATCH v3 05/27] PCI: tegra: Save msi chip in pci_sys_data

2014-10-23 Thread Yijing Wang
On 2014/10/23 13:18, Bjorn Helgaas wrote: On Wed, Oct 15, 2014 at 11:06:53AM +0800, Yijing Wang wrote: Save msi chip in pci_sys_data instead of assign msi chip to every pci bus in .add_bus(). Signed-off-by: Yijing Wang wangyij...@huawei.com --- drivers/pci/host/pci-tegra.c | 13

Re: [PATCH v3 04/27] arm/MSI: Save MSI chip in pci_sys_data

2014-10-23 Thread Yijing Wang
diff --git a/drivers/pci/msi.c b/drivers/pci/msi.c index 22e413c..f11108c 100644 --- a/drivers/pci/msi.c +++ b/drivers/pci/msi.c @@ -35,6 +35,9 @@ int __weak arch_setup_msi_irq(struct pci_dev *dev, struct msi_desc *desc) struct msi_chip *chip = dev-bus-msi; int err; +if

Re: [PATCH v3 5/5] perf/sdt: Add support to perf record to trace SDT events

2014-10-23 Thread Masami Hiramatsu
(2014/10/23 14:54), Srikar Dronamraju wrote: * Masami Hiramatsu masami.hiramatsu...@hitachi.com [2014-10-22 18:41:58]: (2014/10/22 17:20), Hemant Kumar wrote: From file_sdt_ent we will find out the file name. Convert this sdt note into a perf event and then write this into uprobe_events

Re: [PATCH v3 09/27] arm/PCI: Clean unused pcibios_add_bus() and pcibios_remove_bus()

2014-10-23 Thread Yijing Wang
/* * Swizzle the device pin each time we cross a bridge. If a platform does * not provide a swizzle function, we perform the standard PCI swizzling. @@ -478,8 +464,6 @@ static void pcibios_init_hw(struct device *parent, struct hw_pci *hw, sys-swizzle = hw-swizzle;

Re: [PATCHv5 1/3] syscalls,x86: implement execveat() system call

2014-10-23 Thread David Drysdale
On Wed, Oct 22, 2014 at 7:07 PM, Eric W. Biederman ebied...@xmission.com wrote: David Drysdale drysd...@google.com writes: Add a new system execveat(2) syscall. execveat() is to execve() as openat() is to open(): it takes a file descriptor that refers to a directory, and resolves the filename

Re: [PATCH v3 10/27] PCI/MSI: Remove useless bus-msi assignment

2014-10-23 Thread Yijing Wang
On 2014/10/23 13:41, Bjorn Helgaas wrote: On Wed, Oct 15, 2014 at 11:06:58AM +0800, Yijing Wang wrote: Now msi chip is saved in pci_sys_data in arm, we could clean the bus-msi assignment in pci core. Signed-off-by: Yijing Wang wangyij...@huawei.com CC: Thierry Reding

Re: [PATCH v5 0/3] zram: add rw_page implementation for zram and clean up unnecessary parameter

2014-10-23 Thread karam.lee
On Thu, Oct 23, 2014 at 08:20:22AM +0900, Minchan Kim wrote: Thank you for reply. Your advice was a big help! I will send the fixed version. Hey Karam, You could keep Acked-by/Reviewed-by gotten from me and Jerome in old versions if new version isn't changed heavily. It's credit of them

[PATCH v6 1/3] zram: remove bio parameter from zram_bvec_rw().

2014-10-23 Thread karam . lee
From: karam.lee karam@lge.com This patch removes an unnecessary parameter(bio) from zram_bvec_rw() and zram_bvec_read(). zram_bvec_read() doesn't use a bio parameter, so remove it. zram_bvec_rw() calls a read/write operation not using bio, so a rw parameter replaces a bio parameter.

[PATCH v6 2/3] zram: change parameter from vaild_io_request()

2014-10-23 Thread karam . lee
From: karam.lee karam@lge.com This patch changes parameter of valid_io_request for common usage. The purpose of valid_io_request() is to determine if bio request is valid or not. This patch use I/O start address and size instead of a BIO parameter for common usage. Signed-off-by: karam.lee

[PATCH v6 3/3] zram: implement rw_page operation of zram

2014-10-23 Thread karam . lee
From: karam.lee karam@lge.com This patch implements rw_page operation for zram block device. I implemented the feature in zram and tested it. Test bed was the G2, LG electronic mobile device, whtich has msm8974 processor and 2GB memory. With a memory allocation test program consuming memory,

[PATCH v6 0/3] zram: add rw_page implementation for zram and clean up unnecessary parameter

2014-10-23 Thread karam . lee
From: karam.lee karam@lge.com Recently rw_page block device operation has been added. This patchset implements rw_page operation for zram block device and does some clean-up. Patches 1~2 are for clean-up. Patch 3 is for implementation of rw_page operation. With the rw_page operation, zram

Re: [PATCH v2] drivers: net: xgene: Rewrite loop in xgene_enet_ecc_init()

2014-10-23 Thread Geert Uytterhoeven
On Wed, Oct 22, 2014 at 10:12 PM, David Miller da...@davemloft.net wrote: From: Geert Uytterhoeven ge...@linux-m68k.org Date: Wed, 22 Oct 2014 21:50:06 +0200 On Wed, Oct 22, 2014 at 9:34 PM, David Miller da...@davemloft.net wrote: From: Geert Uytterhoeven ge...@linux-m68k.org Date: Wed, 22

Re: [PATCH v2] drivers: net: xgene: Rewrite loop in xgene_enet_ecc_init()

2014-10-23 Thread Geert Uytterhoeven
On Wed, Oct 22, 2014 at 10:12 PM, David Miller da...@davemloft.net wrote: From: Geert Uytterhoeven ge...@linux-m68k.org Date: Wed, 22 Oct 2014 21:50:06 +0200 On Wed, Oct 22, 2014 at 9:34 PM, David Miller da...@davemloft.net wrote: From: Geert Uytterhoeven ge...@linux-m68k.org Date: Wed, 22

Re: [PATCH v2 05/12] perf/x86: add cross-HT counter exclusion infrastructure

2014-10-23 Thread Jiri Olsa
On Wed, Oct 22, 2014 at 07:25:40PM +0200, Stephane Eranian wrote: On Wed, Oct 22, 2014 at 5:07 PM, Jiri Olsa jo...@redhat.com wrote: On Thu, Oct 09, 2014 at 06:34:39PM +0200, Stephane Eranian wrote: From: Maria Dimakopoulou maria.n.dimakopou...@gmail.com SNIP +struct

Re: [PATCH v2 06/12] perf/x86: implement cross-HT corruption bug workaround

2014-10-23 Thread Jiri Olsa
On Wed, Oct 22, 2014 at 02:31:51PM +0200, Jiri Olsa wrote: On Thu, Oct 09, 2014 at 06:34:40PM +0200, Stephane Eranian wrote: From: Maria Dimakopoulou maria.n.dimakopou...@gmail.com SNIP +static struct event_constraint * +intel_get_excl_constraints(struct cpu_hw_events *cpuc, struct

Re: [PATCH v1 2/3] tpm: two-phase chip management functions

2014-10-23 Thread Jarkko Sakkinen
On Wed, Oct 22, 2014 at 11:16:03AM -0600, Jason Gunthorpe wrote: On Wed, Oct 22, 2014 at 07:23:55PM +0300, Jarkko Sakkinen wrote: tpm_register_hardware() and tpm_remove_hardware() are called often before initializing the device. This is wrong order since it could be that main TPM driver

RE: [PATCHv3 1/3] gpio: sch: Consolidate similar algorithms

2014-10-23 Thread Chang, Rebecca Swee Fun
Thanks for the review comments. Please check my reply below. -Original Message- From: Alexandre Courbot [mailto:gnu...@gmail.com] Sent: 17 October, 2014 4:44 PM To: Chang, Rebecca Swee Fun Cc: Linus Walleij; Westerberg, Mika; GPIO Subsystem Mailing List; Linux Kernel Mailing List;

Re: [PATCH 1/1] pci: fix dmar fault for kdump kernel

2014-10-23 Thread Li, ZhenHua
On 10/22/2014 10:47 AM, Bjorn Helgaas wrote: [+cc Joerg, Eric, Tom, David, iommu list] On Wed, Oct 15, 2014 at 2:14 AM, Takao Indoh indou.ta...@jp.fujitsu.com wrote: (2014/10/14 18:34), Li, ZhenHua wrote: I tested on the latest stable version 3.17, it works well. On 10/10/2014 03:13 PM, Li,

Re: [PATCH,RESEND] hugetlbfs: document that sticky mounts are allowed

2014-10-23 Thread Kirill Smelkov
On Wed, Oct 22, 2014 at 02:28:26PM -0400, Jonathan Corbet wrote: On Wed, 22 Oct 2014 19:54:46 +0400 Kirill Smelkov k...@nexedi.com wrote: Please apply the below patch documenting that hugetlbfs can be sticky-mounted. It documents it in a rather obscure way...but, then, to be clear,

Re: [PATCH v1 1/5] mfd: tps65910: Convert ti,system-power-controller DT property to poweroff-source

2014-10-23 Thread PERIER Romain
2014-10-22 17:50 GMT+02:00 Lee Jones lee.jo...@linaro.org: On Wed, 22 Oct 2014, PERIER Romain wrote: This is related to the following subject [RFC v3 PATCH 1/5] of: Add standard property for poweroff capability and depends on the corresponding patch. Then it should be sent in the same

Re: [PATCH v1 3/3] tpm: fix multiple race conditions in tpm_ppi.c

2014-10-23 Thread Jarkko Sakkinen
Thanks for the excellent review comments. I'll do another spin an try to incorporate most them. /Jarkko On Wed, Oct 22, 2014 at 11:26:46AM -0600, Jason Gunthorpe wrote: On Wed, Oct 22, 2014 at 07:23:56PM +0300, Jarkko Sakkinen wrote: Traversal of the ACPI device tree was not done right. It

RE: [PATCHv3 3/3] gpio: sch: Enable IRQ support for Quark X1000

2014-10-23 Thread Chang, Rebecca Swee Fun
+ +static int sch_gpio_irq_type(struct irq_data *d, unsigned type) +{ + struct sch_gpio *sch = container_of(d, struct sch_gpio, data); + unsigned long flags; + u32 gpio_num; + + if (d == NULL) + return -EINVAL; + + gpio_num = d-irq

Re: [PATCH v3 00/27] Use MSI chip framework to configure MSI/MSI-X in all platforms

2014-10-23 Thread Yijing Wang
v1-v2: Add a patch to make s390 MSI code build happy between patch x86/xen/MSI: E.. and s390/MSI: Use MSI... Fix several typo problems found by Lucas. RFC-v1: Updated [patch 4/21] x86/xen/MSI: Eliminate..., export msi_chip instead of #ifdef to fix MSI bug in xen running in x86. Rename

Re: [mm] BUG: Int 6: CR2 (null)

2014-10-23 Thread Marek Szyprowski
Hello, On 2014-10-23 08:03, Weijie Yang wrote: On Thu, Oct 9, 2014 at 10:04 AM, Fengguang Wu fengguang...@intel.com wrote: FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master commit 478e86d7c8c5f41e29abb81b05b459d24bdc71a2 (mm: cma:

Re: [RFC PATCH 3/3] i915: Expose PMU for Observation Architecture

2014-10-23 Thread Chris Wilson
On Wed, Oct 22, 2014 at 04:28:51PM +0100, Robert Bragg wrote: + /* XXX: Not sure that this is really acceptable... + * + * i915_gem_context.c currently owns pinning/unpinning legacy + * context buffers and although that code has a + * get_context_alignment() func to

Re: [PATCH 1/3] kcmp: Move kcmp.h into uapi

2014-10-23 Thread Arnd Bergmann
On Thursday 23 October 2014 16:07:12 Michael Ellerman wrote: --- a/include/linux/kcmp.h +++ b/include/linux/kcmp.h @@ -1,17 +1,6 @@ #ifndef _LINUX_KCMP_H #define _LINUX_KCMP_H -/* Comparison type */ -enum kcmp_type { - KCMP_FILE, - KCMP_VM, - KCMP_FILES, -

Re: [PATCH] igb: don't reuse pages with pfmemalloc flag

2014-10-23 Thread Roman Gushchin
Thank you! Probably we should add it to stable trees too? -- Regards, Roman 22.10.2014, 22:30, Jeff Kirsher jeffrey.t.kirs...@intel.com: On Wed, 2014-10-22 at 17:50 +0400, Roman Gushchin wrote:  Incoming packet is dropped silently by sk_filter(), if the skb was  allocated from pfmemalloc

Re: [PATCH v2 2/2] arm: pm: add deep sleep support for LS1

2014-10-23 Thread Arnd Bergmann
On Thursday 23 October 2014 12:16:13 Chenhui Zhao wrote: +extern void ls1_do_deepsleep(unsigned long addr); +extern void ls1_start_fsm(void); +extern void ls1_deepsleep_resume(void); +extern void ls1021a_set_secondary_entry(void); +extern int ls1_sram_code_size; +extern void

Re: [PATCH RFC v3 01/16] virtio: memory access APIs

2014-10-23 Thread Cornelia Huck
On Wed, 22 Oct 2014 21:44:08 +0300 Michael S. Tsirkin m...@redhat.com wrote: virtio 1.0 makes all memory structures LE, so we need APIs to conditionally do a byteswap on BE architectures. To make it easier to check code statically, add virtio specific types for multi-byte integers in

Re: [PATCH v2 06/12] perf/x86: implement cross-HT corruption bug workaround

2014-10-23 Thread Stephane Eranian
On Thu, Oct 23, 2014 at 9:19 AM, Jiri Olsa jo...@redhat.com wrote: On Wed, Oct 22, 2014 at 02:31:51PM +0200, Jiri Olsa wrote: On Thu, Oct 09, 2014 at 06:34:40PM +0200, Stephane Eranian wrote: From: Maria Dimakopoulou maria.n.dimakopou...@gmail.com SNIP +static struct event_constraint *

Re: [RFC 0/4] [RFC] slub: Fastpath optimization (especially for RT)

2014-10-23 Thread Joonsoo Kim
On Wed, Oct 22, 2014 at 10:55:17AM -0500, Christoph Lameter wrote: We had to insert a preempt enable/disable in the fastpath a while ago. This was mainly due to a lot of state that is kept to be allocating from the per cpu freelist. In particular the page field is not covered by

[PATCH v4 0/4] fix freepage count problems in memory isolation

2014-10-23 Thread Joonsoo Kim
Changes from v3 to v4 * Patch 1: Add code comment on nr_isolate_pageblock on struct zone (Naoya) Add one more check in free_one_page() that checks whether migratetype is MIGRATE_ISOLATE or not. * Patch 4: Use min() to prevent overflow of buddy merge order (Naoya) * Remove RFC tag *

Re: [PATCH v2 06/53] dmaengine: Create a generic dma_slave_caps callback

2014-10-23 Thread Maxime Ripard
Hi Laurent, On Wed, Oct 22, 2014 at 11:16:03PM +0300, Laurent Pinchart wrote: Hi Maxime, On Thursday 16 October 2014 18:24:53 Maxime Ripard wrote: On Thu, Oct 16, 2014 at 07:15:40PM +0300, Laurent Pinchart wrote: On Thursday 16 October 2014 12:17:05 Maxime Ripard wrote:

[PATCH v4 3/4] mm/page_alloc: move migratetype recheck logic to __free_one_page()

2014-10-23 Thread Joonsoo Kim
All the caller of __free_one_page() has similar migratetype recheck logic, so we can move it to __free_one_page(). This reduce line of code and help future maintenance. This is also preparation step for mm/page_alloc: restrict max order of merging on isolated pageblock which fix the freepage

Re: [PATCH] drivers: depend on instead of select BACKLIGHT_CLASS_DEVICE and ACPI_VIDEO

2014-10-23 Thread Daniel Vetter
On Wed, Oct 22, 2014 at 11:02:26AM +0300, Tomi Valkeinen wrote: On 18/10/14 00:13, Jani Nikula wrote: Documentation/kbuild/kconfig-language.txt warns to use select with care, and in general use select only for non-visible symbols and for symbols with no dependencies, because select will

Re: [PATCH v2 2/3] ARM: keystone: pm: switch to use generic pm domains

2014-10-23 Thread Ulf Hansson
On 22 October 2014 17:44, Geert Uytterhoeven ge...@linux-m68k.org wrote: On Wed, Oct 22, 2014 at 5:28 PM, Ulf Hansson ulf.hans...@linaro.org wrote: On 22 October 2014 17:09, Geert Uytterhoeven ge...@linux-m68k.org wrote: On Wed, Oct 22, 2014 at 5:01 PM, Ulf Hansson ulf.hans...@linaro.org wrote:

Re: introduce task_rcu_dereference?

2014-10-23 Thread Kirill Tkhai
В Ср, 22/10/2014 в 23:30 +0200, Oleg Nesterov пишет: On 10/22, Kirill Tkhai wrote: Unlocked access to dst_rq-curr in task_numa_compare() is racy. If curr task is exiting this may be a reason of use-after-free: Thanks. And as you pointed out, there are other examples of unlocked

Re: lockdep splat in CPU hotplug

2014-10-23 Thread Borislav Petkov
On Wed, Oct 22, 2014 at 02:09:43PM -0700, Paul E. McKenney wrote: Yes, this works. FWIW, please feel free to add Reported-and-tested-by: Jiri Kosina jkos...@suse.cz once merging it. Done, and thank you for both the bug report and the testing! Works here too. Tested-by:

Re: [PATCH] gpu: drm: Fix warning caused by a parameter description in drm_crtc.c

2014-10-23 Thread Daniel Vetter
On Thu, Oct 23, 2014 at 09:06:28AM +0900, Masanari Iida wrote: This patch fix following error while make xmldocs Warning(.//drivers/gpu/drm/drm_crtc.c:778): Excess function parameter 'mode' description in 'drm_connector_get_cmdline_mode' Signed-off-by: Masanari Iida standby2...@gmail.com

Re: [PATCH 2/2] iommu: Implement a dummy bus_set_iommu()

2014-10-23 Thread Thierry Reding
On Wed, Oct 22, 2014 at 04:29:22PM +0200, Joerg Roedel wrote: On Wed, Oct 15, 2014 at 11:10:44AM +0200, Thierry Reding wrote: It seems like I never got back to you on this. The reason here is that for Tegra the IOMMU is part of a larger IP block. The IP block is primarily a memory

Re: [PATCH v1 1/5] mfd: tps65910: Convert ti,system-power-controller DT property to poweroff-source

2014-10-23 Thread Peter De Schrijver
On Wed, Oct 22, 2014 at 03:26:23PM +, Romain Perier wrote: No longer use custom property to define poweroff capability, use the standard DT property instead. This breaks DT ABI stability right? An existing device tree using ti,system-power-controller won't work anymore after this patch

Re: [PATCH V2 1/2] mm: Update generic gup implementation to handle hugepage directory

2014-10-23 Thread Aneesh Kumar K.V
Andrew Morton a...@linux-foundation.org writes: On Fri, 17 Oct 2014 10:08:06 +0530 Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com wrote: Update generic gup implementation with powerpc specific details. On powerpc at pmd level we can have hugepte, normal pmd pointer or a pointer to the

[PATCH v4 4/4] mm/page_alloc: restrict max order of merging on isolated pageblock

2014-10-23 Thread Joonsoo Kim
Current pageblock isolation logic could isolate each pageblock individually. This causes freepage accounting problem if freepage with pageblock order on isolate pageblock is merged with other freepage on normal pageblock. We can prevent merging by restricting max order of merging to pageblock

Re: [PATCH v2 06/12] perf/x86: implement cross-HT corruption bug workaround

2014-10-23 Thread Jiri Olsa
On Thu, Oct 23, 2014 at 10:01:08AM +0200, Stephane Eranian wrote: On Thu, Oct 23, 2014 at 9:19 AM, Jiri Olsa jo...@redhat.com wrote: On Wed, Oct 22, 2014 at 02:31:51PM +0200, Jiri Olsa wrote: On Thu, Oct 09, 2014 at 06:34:40PM +0200, Stephane Eranian wrote: From: Maria Dimakopoulou

Re: [PATCH 1/3] kcmp: Move kcmp.h into uapi

2014-10-23 Thread Cyrill Gorcunov
On Thu, Oct 23, 2014 at 09:49:14AM +0200, Arnd Bergmann wrote: On Thursday 23 October 2014 16:07:12 Michael Ellerman wrote: --- a/include/linux/kcmp.h +++ b/include/linux/kcmp.h @@ -1,17 +1,6 @@ #ifndef _LINUX_KCMP_H #define _LINUX_KCMP_H -/* Comparison type */ -enum kcmp_type

[PATCH v4 1/4] mm/page_alloc: fix incorrect isolation behavior by rechecking migratetype

2014-10-23 Thread Joonsoo Kim
There are two paths to reach core free function of buddy allocator, __free_one_page(), one is free_one_page()-__free_one_page() and the other is free_hot_cold_page()-free_pcppages_bulk()-__free_one_page(). Each paths has race condition causing serious problems. At first, this patch is focused on

[PATCH] ASoC: jack: update calls to gpiod_get*()

2014-10-23 Thread Alexandre Courbot
Add the new flags argument to calls of (devm_)gpiod_get*() and remove any direction setting code afterwards. Currently both forms (with or without the flags argument) are valid thanks to transitional macros in linux/gpio/consumer.h. These macros will be removed once all consumers are updated and

[PATCH v4 2/4] mm/page_alloc: add freepage on isolate pageblock to correct buddy list

2014-10-23 Thread Joonsoo Kim
In free_pcppages_bulk(), we use cached migratetype of freepage to determine type of buddy list where freepage will be added. This information is stored when freepage is added to pcp list, so if isolation of pageblock of this freepage begins after storing, this cached information could be stale. In

Re: [PATCH] arm: dma-mapping: fix compilation error when CONFIG_MMU is not present

2014-10-23 Thread Marek Szyprowski
Hello, On 2014-10-21 02:05, Laura Abbott wrote: On 10/20/2014 6:50 AM, Stefan Hengelein wrote: Well, arch/arm/mm/dma-mapping.c: In function ‘__atomic_get_pages’: arch/arm/mm/dma-mapping.c:1265:31: error: ‘atomic_pool’ undeclared (first use in this function) arch/arm/mm/dma-mapping.c: In

[PATCH] drm/panel: ld9040: Update calls to gpiod_get*()

2014-10-23 Thread Alexandre Courbot
Add the new flags argument to calls of (devm_)gpiod_get*() and remove any direction setting code afterwards. Currently both forms (with or without the flags argument) are valid thanks to transitional macros in linux/gpio/consumer.h. These macros will be removed once all consumers are updated and

Re: + mm-compaction-avoid-premature-range-skip-in-isolate_migratepages_range.patch added to -mm tree

2014-10-23 Thread Joonsoo Kim
On Tue, Oct 14, 2014 at 01:53:44PM -0700, a...@linux-foundation.org wrote: The patch titled Subject: mm/compaction.c: avoid premature range skip in isolate_migratepages_range has been added to the -mm tree. Its filename is

[PATCH] drm/panel: s6e8aa0: Update calls to gpiod_get*()

2014-10-23 Thread Alexandre Courbot
Add the new flags argument to calls of (devm_)gpiod_get*() and remove any direction setting code afterwards. Currently both forms (with or without the flags argument) are valid thanks to transitional macros in linux/gpio/consumer.h. These macros will be removed once all consumers are updated and

[PATCH] drm/panel: simple: Update calls to gpiod_get*()

2014-10-23 Thread Alexandre Courbot
Add the new flags argument to calls of (devm_)gpiod_get*() and remove any direction setting code afterwards. Currently both forms (with or without the flags argument) are valid thanks to transitional macros in linux/gpio/consumer.h. These macros will be removed once all consumers are updated and

[PATCH 0/2] tracing, function_graph: signaling very large function execution time

2014-10-23 Thread byungchul . park
From: Byungchul Park byungchul.p...@lge.com Hello. When I analysis the exit_mm() function to find out the reason why the function spends much time occasionally, this patch was very useful. I thought this patch cannot be useful only for me, but can be also useful for anybody who want to be

[PATCH 2/2] tracing, function_graph: add additional marks to signal very large function execution time

2014-10-23 Thread byungchul . park
From: Byungchul Park byungchul.p...@lge.com Currently, function graph tracer prints ! or + just before function execution time to signal a function overhead, depending on the time. Even it is usually enough to do that, we sometimes need to be signaled for bigger execution time than 100 micro

[PATCH 1/2] tracing, function_graph: fix micro seconds notation in comment

2014-10-23 Thread byungchul . park
From: Byungchul Park byungchul.p...@lge.com Usually, msecs notation means milli-seconds, and usecs notation means micro-seconds. Since the unit used in the code is micro-seconds, the notation should be replaced from msecs to usecs. This confusing notation prevents us from understanding the code

[PATCH] input: soc_button_array: update calls to gpiod_get*()

2014-10-23 Thread Alexandre Courbot
Add the new flags argument to calls of (devm_)gpiod_get*(). Currently both forms (with or without the flags argument) are valid thanks to transitional macros in linux/gpio/consumer.h. These macros will be removed once all consumers are updated and the flags argument will become compulsary.

[PATCH 1/1] devicetree: bindings: Add vendor prefix for Micron Technology Co., Ltd.

2014-10-23 Thread bpqw
This patch is used to add vendor prefix for Micron Technology Inc in the vendor-prefixes.txt file. Micron Technology, Inc. is an American multinational corporation based in Boise, Idaho, best known for producing many forms of semiconductor devices. This includes DRAM, SDRAM, flash memory,

Re: [PATCH v3 5/5] perf/sdt: Add support to perf record to trace SDT events

2014-10-23 Thread Namhyung Kim
Hi Masami, On Thu, 23 Oct 2014 15:33:37 +0900, Masami Hiramatsu wrote: (2014/10/23 14:54), Srikar Dronamraju wrote: I am somehow not able to figure out how perf probe comes into the current workflow. I think the current design was 1. perf sdt-cache --add file (only once per file) 2. perf

Re: [PATCH 06/14] net: dsa: Add support for hardware monitoring

2014-10-23 Thread Richard Cochran
On Wed, Oct 22, 2014 at 10:06:41PM -0700, Guenter Roeck wrote: On 10/22/2014 09:37 PM, Florian Fainelli wrote: You probably want the number of temperature sensors to come from the switch driver, and support arbitrary number of temperature sensors? In that case we would need the number of

[PATCH v3] drivers: net: xgene: Rewrite buggy loop in xgene_enet_ecc_init()

2014-10-23 Thread Geert Uytterhoeven
drivers/net/ethernet/apm/xgene/xgene_enet_sgmac.c: In function ‘xgene_enet_ecc_init’: drivers/net/ethernet/apm/xgene/xgene_enet_sgmac.c:126: warning: ‘data’ may be used uninitialized in this function Depending on the arbitrary value on the stack, the loop may terminate too early, and cause a

[PATCH] gpio: rename gpio_lock_as_irq to gpiochip_lock_as_irq

2014-10-23 Thread Alexandre Courbot
This function actually operates on a gpio_chip, so its prefix should reflect that fact for consistency with other functions defined in gpio/driver.h. Signed-off-by: Alexandre Courbot acour...@nvidia.com --- Just a consistency change ; hopefully we can slip this under the GPIO tree without getting

Re: [PATCH v2 1/3] sched/dl: Implement cancel_dl_timer() to use in switched_from_dl()

2014-10-23 Thread Kirill Tkhai
В Ср, 22/10/2014 в 11:00 +0100, Juri Lelli пишет: On 21/10/14 15:21, Kirill Tkhai wrote: В Вт, 21/10/2014 в 12:41 +0100, Juri Lelli пишет: On 21/10/14 11:48, Kirill Tkhai wrote: В Вт, 21/10/2014 в 11:30 +0100, Juri Lelli пишет: Hi Kirill, sorry for the late reply, but I was busy doing

Re: + mm-compaction-avoid-premature-range-skip-in-isolate_migratepages_range.patch added to -mm tree

2014-10-23 Thread Vlastimil Babka
On 10/23/2014 10:15 AM, Joonsoo Kim wrote: On Tue, Oct 14, 2014 at 01:53:44PM -0700, a...@linux-foundation.org wrote: The patch titled Subject: mm/compaction.c: avoid premature range skip in isolate_migratepages_range has been added to the -mm tree. Its filename is

Re: [PATCH 12/13] power: reset: ltc2952: make trigger input optional

2014-10-23 Thread Frans Klaver
On Wed, Oct 22, 2014 at 04:31:09PM +0200, Frans Klaver wrote: Currently the ltc2952 supports only one button sequence to initiate powerdown. This is not always desirable, as even prolonged button presses can happen in use. Allow ltc2952 users to pick their own power down sequence, by making

Re: fix blk-mq for SPI hosts

2014-10-23 Thread Christoph Hellwig
ping? On Sun, Oct 19, 2014 at 05:13:56PM +0200, Christoph Hellwig wrote: Fix the assumption that we can treat all blk-mq requests as tagged. For traditional SCSI that's wrong, as being tagged has a very explicit meaning on the wire. This is a little bit different from the version Meelis

[PATCH v8 0/2] ASoC: tda998x: add a codec to the HDMI transmitter

2014-10-23 Thread Jean-Francois Moine
The NXP TDA998x HDMI transmitter may transmit audio to the HDMI link from 2 different sources, I2S and S/PDIF. This patch set first adds an interface between a HDMI transmitter and the HDMI CODEC. The interface is then used by the TDA998x driver to describe its audio capabilities (DAIs), to give

[PATCH v8 1/2] ASoC: hdmi: Add a transmitter interface to the HDMI CODEC

2014-10-23 Thread Jean-Francois Moine
Audio in HDMI asks for: - the audio constraints of the HDMI device to be known when choosing the audio routes in the audio subsystem, and - the HDMI transmitter to know which of its audio inputs has been chosen when audio streaming starts. This patch adds the interface between a HDMI

[PATCH v8 2/2] drm/i2c: tda998x: Use the HDMI audio CODEC interface

2014-10-23 Thread Jean-Francois Moine
This patch adds the necessary functions to interface the HDMI audio CODEC. Signed-off-by: Jean-Francois Moine moin...@free.fr --- .../devicetree/bindings/drm/i2c/tda998x.txt| 18 ++ drivers/gpu/drm/i2c/Kconfig| 1 + drivers/gpu/drm/i2c/tda998x_drv.c

Re: [PATCH] kbuild: Fix output of make kernelrelease

2014-10-23 Thread Michal Marek
On 2014-10-22 22:35, Steven Rostedt wrote: On Wed, 22 Oct 2014 21:44:08 +0200 Michal Marek mma...@suse.cz wrote: Dne 22.10.2014 v 16:19 Steven Rostedt napsal(a): Commit 7ff525712acf kbuild: fake the Entering directory ... message more simply changed the output of make kernelrelease such

[PATCH] usb: serial: Perform verification for FTDI FT232R devices

2014-10-23 Thread russ . dill
From: Russ Dill russ.d...@gmail.com This patch provides the FTDI genuine product verification steps as contained within the new 2.12.00 official release. It ensures that counterfeiters don't exploit engineering investment made by FTDI. Counterfeit ICs are destroying innovation in the industry.

Re: [PATCH v2 0/12] perf/x86: implement HT leak workaround for SNB/IVB/HSW

2014-10-23 Thread Peter Zijlstra
On Wed, Oct 22, 2014 at 11:04:31PM +0200, Stephane Eranian wrote: Here is a simple case: Limiting each HT to only 2 counters, can be any, 2 out of 4 possible. HT0: you measure a MEM* in ctr2, it is started first, and it keeps running HT1: you measure PREC_DIST with PEBS (it requires ctr2)

Re: [PATCH] kbuild: Fix output of make kernelrelease

2014-10-23 Thread Michal Marek
On 2014-10-23 03:11, Steven Rostedt wrote: On Wed, 22 Oct 2014 21:44:08 +0200 Michal Marek mma...@suse.cz wrote: Dne 22.10.2014 v 16:19 Steven Rostedt napsal(a): Commit 7ff525712acf kbuild: fake the Entering directory ... message more simply changed the output of make kernelrelease such

Re: Re: [PATCH v3 5/5] perf/sdt: Add support to perf record to trace SDT events

2014-10-23 Thread Masami Hiramatsu
(2014/10/23 17:21), Namhyung Kim wrote: Hi Masami, On Thu, 23 Oct 2014 15:33:37 +0900, Masami Hiramatsu wrote: (2014/10/23 14:54), Srikar Dronamraju wrote: I am somehow not able to figure out how perf probe comes into the current workflow. I think the current design was 1. perf sdt-cache

Re: [PATCH v2 0/12] perf/x86: implement HT leak workaround for SNB/IVB/HSW

2014-10-23 Thread Stephane Eranian
On Thu, Oct 23, 2014 at 10:53 AM, Peter Zijlstra pet...@infradead.org wrote: On Wed, Oct 22, 2014 at 11:04:31PM +0200, Stephane Eranian wrote: Here is a simple case: Limiting each HT to only 2 counters, can be any, 2 out of 4 possible. HT0: you measure a MEM* in ctr2, it is started first, and

[PATCH V2 1/5] sched: idle: cpuidle: Check the latency req before idle

2014-10-23 Thread Daniel Lezcano
When the pmqos latency requirement is set to zero that means poll in all the cases. That is correctly implemented on x86 but not on the other archs. As how is written the code, if the latency request is zero, the governor will return zero, so corresponding, for x86, to the poll function, but for

[PATCH V2 4/5] cpuidle: menu: Fix the get_typical_interval

2014-10-23 Thread Daniel Lezcano
The first time the 'get_typical_function' is called, it computes an average of zero as no data is filled yet. That leads the 'data-predicted_us' variable to be set to zero too. The caller, 'menu_select' will then do: interactivity_req = data-predicted_us /

[PATCH V2 5/5] cpuidle: menu: Move the update function before its declaration

2014-10-23 Thread Daniel Lezcano
In order to prevent a pointless forward declaration, just move the function at the beginning of the file. This patch does not change the behavior of the governor, it is just code reordering. Signed-off-by: Daniel Lezcano daniel.lezc...@linaro.org --- drivers/cpuidle/governors/menu.c | 149

[PATCH V2 3/5] cpuidle: idle: menu: Don't reflect when a state selection failed

2014-10-23 Thread Daniel Lezcano
In the current code, the check to reflect or not the outcoming state is done against the idle state which has been chosen and its value. Instead of doing a check in each of the reflect functions, just don't call reflect if something went wrong in the idle path. Signed-off-by: Daniel Lezcano

[PATCH V2 2/5] sched: idle: Get the next timer event and pass it the cpuidle framework

2014-10-23 Thread Daniel Lezcano
Following the logic of the previous patch, retrieve from the idle task the expected timer sleep duration and pass it to the cpuidle framework. Take the opportunity to remove the unused headers in the menu.c file. This patch does not change the current behavior. Signed-off-by: Daniel Lezcano

Re: [PATCH 0/3] scsi: Add Hyper-V logical block provisioning quirks

2014-10-23 Thread Sitsofe Wheeler
On 23 October 2014 02:50, Martin K. Petersen martin.peter...@oracle.com wrote: Sitsofe == Sitsofe Wheeler sits...@gmail.com writes: Sitsofe 2. On top of the above, when a disk is small (has less than Sitsofe2^32 sectors which is typically 2 TBytes in size) READ SitsofeCAPACITY(16)

Re: [PATCH RFC v3 01/16] virtio: memory access APIs

2014-10-23 Thread Michael S. Tsirkin
On Thu, Oct 23, 2014 at 09:54:05AM +0200, Cornelia Huck wrote: On Wed, 22 Oct 2014 21:44:08 +0300 Michael S. Tsirkin m...@redhat.com wrote: virtio 1.0 makes all memory structures LE, so we need APIs to conditionally do a byteswap on BE architectures. To make it easier to check code

Re: [RFC 2/4] PCI: generic: Add support for ARM64 and MSI(x)

2014-10-23 Thread Liviu Dudau
On Wed, Oct 22, 2014 at 09:52:19PM +0100, Arnd Bergmann wrote: On Wednesday 22 October 2014 16:59:14 Lorenzo Pieralisi wrote: On Wed, Oct 01, 2014 at 10:38:45AM +0100, Arnd Bergmann wrote: [...] The arm32 implementations of pci_domain_nr/pci_proc_domain can probably be removed if

Re: [PATCH v3 4/5] regulator: max77802: Parse regulator operating mode properties

2014-10-23 Thread Javier Martinez Canillas
Hello Mark, On 22/10/2014, at 18:48, Mark Brown broo...@kernel.org wrote: On Mon, Oct 20, 2014 at 04:47:51PM +0200, Javier Martinez Canillas wrote: +char *states[PM_SUSPEND_MAX + 1] = { +[PM_SUSPEND_MEM] = regulator-state-mem, +[PM_SUSPEND_MAX] = regulator-state-disk,

Re: [PATCH v1 1/5] mfd: tps65910: Convert ti,system-power-controller DT property to poweroff-source

2014-10-23 Thread PERIER Romain
Hi Peter, 2014-10-23 10:12 GMT+02:00 Peter De Schrijver pdeschrij...@nvidia.com: This breaks DT ABI stability right? An existing device tree using ti,system-power-controller won't work anymore after this patch right? I don't think that's acceptable. This is why I converted all dts which

Re: [PATCH] ASoC: jack: update calls to gpiod_get*()

2014-10-23 Thread Mark Brown
On Thu, Oct 23, 2014 at 05:15:18PM +0900, Alexandre Courbot wrote: Add the new flags argument to calls of (devm_)gpiod_get*() and remove any direction setting code afterwards. Applied, thanks. signature.asc Description: Digital signature

[PATCH v13 5/5] ARM: dts: enable Thermal on rk3288-evb board

2014-10-23 Thread Caesar Wang
when a thermal temperature over TSHUT.Default to via CRU reset the entire chip on rk3288-evb Board, TSHUT is low active on rk3288-evb board. Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- arch/arm/boot/dts/rk3288-evb.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git

[PATCH v13 0/5] Rockchip soc thermal driver

2014-10-23 Thread Caesar Wang
This series patchs tested on rk3288 SDK board and pinky-v1,v2 board. I believe the driver can be used on the rk3288-evb board. Add this driver, The system can reset the entire chip when the thermal temperture over 120C, In case of rising over 125C when tha hardware shorting,The sodftware will

[PATCH v13 4/5] ARM: dts: add main Thermal info to rk3288

2014-10-23 Thread Caesar Wang
This patch is depend on rk3288-thermal.dtsi,or it will compile error. If the temperature over a period of time High,over 120C the resulting TSHUT gave CRU module,let it reset the entire chip,or via GPIO give PMIC. Signed-off-by: Caesar Wang caesar.w...@rock-chips.com ---

[PATCH v13 3/5] ARM: dts: add RK3288 Thermal data

2014-10-23 Thread Caesar Wang
This patch changes a dtsi file to contain the thermal data on RK3288 and later SoCs. This data will enable a thermal shutdown over 125C. Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- arch/arm/boot/dts/rk3288-thermal.dtsi | 65 +++ 1 file changed, 65

[PATCH v13 2/5] dt-bindings: document Rockchip thermal

2014-10-23 Thread Caesar Wang
This add the necessary binding documentation for the thermal found on Rockchip SoCs Signed-off-by: zhaoyifeng z...@rock-chips.com Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- .../bindings/thermal/rockchip-thermal.txt | 53 ++ 1 file changed, 53

  1   2   3   4   5   6   7   8   9   10   >