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] 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 Thanks, picke

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 > > > > once merging it. > > Done, and thank you for both the bug report and the testing! Works here too. Tested-by: Borislav P

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 unlo

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 wrote: > On Wed, Oct 22, 2014 at 5:28 PM, Ulf Hansson wrote: >> On 22 October 2014 17:09, Geert Uytterhoeven wrote: >>> On Wed, Oct 22, 2014 at 5:01 PM, Ulf Hansson wrote: >>> +void keystone_pm_domain_attach_dev(struct device *dev) >>> { >>

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 wi

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: > > > > dm

[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 acco

[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: [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 > this_cpu_cm

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 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 >> >> SNIP >> >> > +static struct event_constraint * >> > +intel_get_excl_constraints(s

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" 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 memory. >

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 fsl_epu_set

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" : > 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 reserves and the corresp

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: [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 t

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 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: adjust address limit to

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 ru

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; > > + > > +

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: [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 : > 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 patch-set. > >

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 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, that > doc

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 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, Zhen-Hua wrote: On a HP sy

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 Li

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 driv

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 > > SNIP > > > +static struct event_constraint * > > +intel_get_excl_constraints(struct cpu_hw_events *cpuc, struct perf_event > > *event,

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 wrote: > > On Thu, Oct 09, 2014 at 06:34:39PM +0200, Stephane Eranian wrote: > >> From: Maria Dimakopoulou > >> > > > > SNIP > > > >> +struct intel_excl_cntrs *allocate_excl_cntrs(int cp

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 wrote: > From: Geert Uytterhoeven > Date: Wed, 22 Oct 2014 21:50:06 +0200 > >> On Wed, Oct 22, 2014 at 9:34 PM, David Miller wrote: >>> From: Geert Uytterhoeven >>> Date: Wed, 22 Oct 2014 09:39:41 +0200 >>> drivers/net/ethernet/apm/xgene/xgene

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 wrote: > From: Geert Uytterhoeven > Date: Wed, 22 Oct 2014 21:50:06 +0200 > >> On Wed, Oct 22, 2014 at 9:34 PM, David Miller wrote: >>> From: Geert Uytterhoeven >>> Date: Wed, 22 Oct 2014 09:39:41 +0200 >>> drivers/net/ethernet/apm/xgene/xgene

<    3   4   5   6   7   8