Re: [PATCH v12 08/29] HMM: add device page fault support v6.

2016-03-22 Thread Aneesh Kumar K.V
Jérôme Glisse writes: > [ text/plain ] > This patch add helper for device page fault. Thus helpers will fill > the mirror page table using the CPU page table and synchronizing > with any update to CPU page table. > > Changed since v1: > - Add comment about directory lock. > > Changed since v2:

Re: [PATCH trace-cmd 1/2] trace-cmd-listen: remove useless printf

2016-03-22 Thread Peter Xu
On Tue, Mar 22, 2016 at 09:18:11AM -0400, Steven Rostedt wrote: > > diff --git a/trace-listen.c b/trace-listen.c > > index 1e38eda..12cc9c5 100644 > > --- a/trace-listen.c > > +++ b/trace-listen.c > > @@ -721,7 +721,6 @@ static void do_accept_loop(int sfd) > > do { > > cfd = accept(

Re: [PATCH] spi: fsl-dspi: Set max_speed_hz for master

2016-03-22 Thread Stefan Agner
On 2016-03-21 13:11, Bhuvanchandra DV wrote: > Calculate and update max speed from bus clock for SoC's > using DSPI IP. > > The bus clock factor's are taken from the data sheet's > of respective SoC's. Plurals are without apostrophe... I wonder if GCC optimizes this to a bit shift... Acked-by:

Re: [lustre-devel] [PATCH] Revert "Staging: lustre: o2iblnd: Use sizeof type *pointer instead of sizeof type."

2016-03-22 Thread Oucharek, Doug S
Yes, those are “per-CPT allocations”. So the allocator ends up allocating an array of pointers to the given data type. Doug On Mar 22, 2016, at 10:39 PM, Dilger, Andreas mailto:andreas.dil...@intel.com>> wrote: On 2016/03/22, 19:49, "lustre-devel on behalf of Greg Kroah-Hartman" mailto:lustre

[PATCH] tpm: drop the field 'time_expired' from struct tpm_chip

2016-03-22 Thread Jarkko Sakkinen
Removed the field because it is not used for anything. Signed-off-by: Jarkko Sakkinen --- drivers/char/tpm/tpm.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/char/tpm/tpm.h b/drivers/char/tpm/tpm.h index 09302ab..3c4e5eb 100644 --- a/drivers/char/tpm/tpm.h +++ b/drivers/char/tpm/tp

Re: [PATCH] tpm: drop 'base' from struct tpm_vendor_specific

2016-03-22 Thread Jarkko Sakkinen
On Wed, Mar 23, 2016 at 08:16:09AM +0200, Jarkko Sakkinen wrote: > Dropped the field 'base' from struct tpm_vendor_specific and migrated > it to the private structures of tpm_atmel and tpm_nsc. > > Signed-off-by: Jarkko Sakkinen Ugh, forgot the final step: removing the field from the struct. Oth

[PATCH] tpm: drop 'base' from struct tpm_vendor_specific

2016-03-22 Thread Jarkko Sakkinen
Dropped the field 'base' from struct tpm_vendor_specific and migrated it to the private structures of tpm_atmel and tpm_nsc. Signed-off-by: Jarkko Sakkinen --- drivers/char/tpm/tpm_atmel.c | 6 ++--- drivers/char/tpm/tpm_atmel.h | 7 -- drivers/char/tpm/tpm_nsc.c | 57 +++

[PATCH] ARM: dts: exynos: Enable SSS on Odroid X/X2/U3 family

2016-03-22 Thread Krzysztof Kozlowski
Enable the Security SubSystem (SSS) on Exynos4412-based Odroid boards to provide hardware acceleration for AES operations. Signed-off-by: Krzysztof Kozlowski Tested-by: Tobias Jakobi --- arch/arm/boot/dts/exynos4412-odroid-common.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch

Re: [PATCH v2 5/6] x86/xen,pat: Remove PAT table init code from Xen

2016-03-22 Thread Juergen Gross
On 22/03/16 18:02, Borislav Petkov wrote: > On Wed, Mar 16, 2016 at 06:46:58PM -0600, Toshi Kani wrote: >> Xen supports PAT without MTRR for its guests. In order to >> enable WC attribute, it was necessary for xen_start_kernel() >> to call pat_init_cache_modes() to update PAT table before >> start

[PATCH] Input: Change BTN_TOOL_FINGER falg when HOVER event trigger

2016-03-22 Thread duson
Only ABS_DISTANCE is not enough for upper OS to distiguish hover event be triggered from object form faraway to and close touchpad surface or from object prepare to leave the touchpad surface. We add BNT_TOOL_FINGER to help it. Object_at_faraway object_

Re: [lustre-devel] [PATCH] Revert "Staging: lustre: o2iblnd: Use sizeof type *pointer instead of sizeof type."

2016-03-22 Thread Dilger, Andreas
On 2016/03/22, 19:49, "lustre-devel on behalf of Greg Kroah-Hartman" wrote: >On Tue, Mar 22, 2016 at 06:21:04PM -0400, James Simmons wrote: >> Latest testing fails when using ko2iblnd. It was tracked down >> to commit 4671a026616df26000f7d8ad2f2ea4b6de79263c. >> >> This reverts commit 4671a02661

[PATCH] tpm_tis: drop manufacturer_id from struct tpm_vendor_specific

2016-03-22 Thread Jarkko Sakkinen
Dropped manufacturer_id from struct tpm_vendor_specific and redeclared it in the private struct priv_data that tpm_tis uses because the field is only used tpm_tis. Signed-off-by: Jarkko Sakkinen --- drivers/char/tpm/tpm.h | 2 -- drivers/char/tpm/tpm_tis.c | 7 +-- 2 files changed, 5 ins

Re: [PATCH] tty/hvc: Use IRQF_SHARED for hvc consoles

2016-03-22 Thread Stewart Smith
Samuel Mendoza-Jonas writes: > Commit 2def86a7200c > ("hvc: Convert to using interrupts instead of opal events") > enabled the use of interrupts in the hvc_driver for OPAL platforms. > However on machines with more than one hvc console, any console after > the first will fail to register an interr

[PATCH] staging: dgnc: fix CamelCase in dgnc_driver.c

2016-03-22 Thread Daeseok Youn
fix checkpatch.pl warning about CamelCase. Signed-off-by: Daeseok Youn --- drivers/staging/dgnc/dgnc_driver.c | 52 +++--- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/drivers/staging/dgnc/dgnc_driver.c b/drivers/staging/dgnc/dgnc_driver.c inde

Re: [PATCH 0/3] Remaining fixes for v4.5 (post tpmdd-next-20160120)

2016-03-22 Thread Jarkko Sakkinen
On Wed, Mar 23, 2016 at 07:09:24AM +0200, Jarkko Sakkinen wrote: > Fixes remaining after tpmdd-next-20160120 has been pulled and API change > so that session object stays intact after a successful unseal operation. Oops. Please ignore this, did a mistake with git send-email. Sorry about this. /Ja

[PATCH] tpm_atmel: drop tpm_atmel specific fields from tpm_vendor_specific

2016-03-22 Thread Jarkko Sakkinen
Introduced a private struct tpm_atmel_priv that contains the variables have_region and region_size that were previously located in struct tpm_vendor_specific. These fields were only used by tpm_atmel. Signed-off-by: Jarkko Sakkinen --- drivers/char/tpm/tpm.h | 3 --- drivers/char/tpm/tpm_

[PATCH 0/3] Remaining fixes for v4.5 (post tpmdd-next-20160120)

2016-03-22 Thread Jarkko Sakkinen
Fixes remaining after tpmdd-next-20160120 has been pulled and API change so that session object stays intact after a successful unseal operation. Harald Hoyer (1): tpm_eventlog.c: fix binary_bios_measurements Jarkko Sakkinen (2): tpm: fix: keep auth session intact after unseal operation tpm

Re: [PATCH v2 13/18] mm/compaction: support non-lru movable page migration

2016-03-22 Thread Joonsoo Kim
On Tue, Mar 22, 2016 at 11:55:45PM +0900, Minchan Kim wrote: > On Tue, Mar 22, 2016 at 02:50:37PM +0900, Joonsoo Kim wrote: > > On Mon, Mar 21, 2016 at 03:31:02PM +0900, Minchan Kim wrote: > > > We have allowed migration for only LRU pages until now and it was > > > enough to make high-order pages.

Re: [RFC 2/2] staging: android: ion: Add of_ion_device_get function

2016-03-22 Thread Dan Carpenter
On Tue, Mar 22, 2016 at 03:33:51PM -0700, Moritz Fischer wrote: > +struct ion_device *of_ion_device_get(struct device_node *node) > +{ > + struct miscdevice *mdev = of_misc_get(node); > + > + if (IS_ERR(mdev)) > + return ERR_PTR(PTR_ERR(mdev)); Use ERR_CAST() for this. regarda

Re: rcu stalls and soft lockups with recent kernels

2016-03-22 Thread Mike Galbraith
(cc) On Tue, 2016-03-22 at 16:22 -0400, Ion Badulescu wrote: > On 03/17/2016 10:28 PM, Mike Galbraith wrote: > > On Wed, 2016-03-16 at 12:15 -0400, Ion Badulescu wrote: > > > Just following up to my own email: > > > > > > It turns out that we can eliminate the RCU stalls by changing from > > > CO

Re: [PATCH] zram: revive swap_slot_free_notify

2016-03-22 Thread Joonsoo Kim
On Tue, Mar 22, 2016 at 11:06:29PM +0900, Minchan Kim wrote: > On Tue, Mar 22, 2016 at 05:20:08PM +0900, Joonsoo Kim wrote: > > 2016-03-22 17:00 GMT+09:00 Minchan Kim : > > > On Tue, Mar 22, 2016 at 02:08:59PM +0900, Joonsoo Kim wrote: > > >> On Fri, Mar 18, 2016 at 04:58:31PM +0900, Minchan Kim wr

Re: Suspicious error for CMA stress test

2016-03-22 Thread Joonsoo Kim
On Fri, Mar 18, 2016 at 03:10:09PM +0100, Vlastimil Babka wrote: > On 03/17/2016 04:52 PM, Joonsoo Kim wrote: > > 2016-03-18 0:43 GMT+09:00 Vlastimil Babka : > >> > >> Okay. I used following slightly optimized version and I need to > >> add 'max_order = min_t(unsigned int, MAX_ORDER, pa

Re: Suspicious error for CMA stress test

2016-03-22 Thread Joonsoo Kim
On Tue, Mar 22, 2016 at 03:56:46PM +0100, Lucas Stach wrote: > Am Montag, den 21.03.2016, 13:42 +0900 schrieb Joonsoo Kim: > > On Fri, Mar 18, 2016 at 02:32:35PM +0100, Lucas Stach wrote: > > > Hi Vlastimil, Joonsoo, > > > > > > Am Freitag, den 18.03.2016, 00:52 +0900 schrieb Joonsoo Kim: > > > >

Re: [PATCH v2] cpufreq: rockchip: add driver

2016-03-22 Thread Viresh Kumar
On 23-03-16, 10:18, Feng Xiao wrote: > diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm > index 14b1f93..1786315 100644 > --- a/drivers/cpufreq/Kconfig.arm > +++ b/drivers/cpufreq/Kconfig.arm > @@ -97,6 +97,16 @@ config ARM_OMAP2PLUS_CPUFREQ > depends on ARCH_OMAP2PLUS >

Re: [PATCH 1/2] mm/hugetlb: Introduce hugetlb_bad_size

2016-03-22 Thread SeongJae Park
On Wed, 23 Mar 2016, Vaishali Thakkar wrote: On Wednesday 23 March 2016 04:57 AM, SeongJae Park wrote: Hello Vaishali, The patch looks good to me. However, I have few trivial questions. On Tue, 22 Mar 2016, Vaishali Thakkar wrote: When any unsupported hugepage size is specified, 'huge

Re: [PATCH 2/2] arch:mm: Use hugetlb_bad_size

2016-03-22 Thread Hillf Danton
> > Do you want me to send new version of the patchset breaking this patch in > to separate patches? > Yes. thanks Hillf

[PATCH v6] acpi: Issue _OSC call for native thermal interrupt handling

2016-03-22 Thread Srinivas Pandruvada
There are several reports of freeze on enabling HWP (Hardware PStates) feature on Skylake based systems by Intel P states driver. The root cause is identified as the HWP interrupts causing BIOS code to freeze. HWP interrupts uses thermal LVT. Linux natively handles thermal interrupts, but in Skylak

Re: [PATCH 1/2] mm/hugetlb: Introduce hugetlb_bad_size

2016-03-22 Thread Vaishali Thakkar
On Wednesday 23 March 2016 04:57 AM, SeongJae Park wrote: > Hello Vaishali, > > > The patch looks good to me. However, I have few trivial questions. > > On Tue, 22 Mar 2016, Vaishali Thakkar wrote: > >> When any unsupported hugepage size is specified, 'hugepagesz=' and >> 'hugepages=' should be

Re: [PATCH 2/2] arch:mm: Use hugetlb_bad_size

2016-03-22 Thread Vaishali Thakkar
On Wednesday 23 March 2016 08:45 AM, Hillf Danton wrote: >> Update the setup_hugepagesz function to call the routine >> hugetlb_bad_size when unsupported hugepage size is found. >> >> Misc: >> - Silent 80 characters warning >> >> Signed-off-by: Vaishali Thakkar >> Cc: Mike Kravetz >> Cc: Naoy

RE: [PATCH] usb: xhci: Fix incomplete PM resume operation due to XHCI commmand timeout

2016-03-22 Thread Rajesh Bhagat
> -Original Message- > From: Mathias Nyman [mailto:mathias.ny...@linux.intel.com] > Sent: Tuesday, March 22, 2016 5:36 PM > To: Rajesh Bhagat > Cc: gre...@linuxfoundation.org; linux-...@vger.kernel.org; linux- > ker...@vger.kernel.org; Sriram Dash > Subject: Re: [PATCH] usb: xhci: Fix i

Re: [PATCH V2 0/2] kexec: Make a pair of map/unmap reserved pages in error path

2016-03-22 Thread Xunlei Pang
On 2016/03/23 at 10:48, Baoquan He wrote: > On 03/01/16 at 05:53pm, Xunlei Pang wrote: >> This is a bug fix. >> >> After this, I will try to do a cleanup for crash_unmap/map_reserved_pages() >> (only used by S390) to consolidate it with >> arch_kexec_unprotect/protect_crashkres(). > Hi Xunlei, Min

Re: [PATCH 4/5] mm/lru: is_file/active_lru can be boolean

2016-03-22 Thread Joe Perches
On Wed, 2016-03-23 at 10:26 +0800, Yaowei Bai wrote: > This patch makes is_file/active_lru return bool to improve > readability due to these particular functions only using either > one or zero as their return value. > > No functional change. These assignments to int should likely be modified too

Re: [PATCH 2/2] arch:mm: Use hugetlb_bad_size

2016-03-22 Thread Hillf Danton
> > Update the setup_hugepagesz function to call the routine > hugetlb_bad_size when unsupported hugepage size is found. > > Misc: > - Silent 80 characters warning > > Signed-off-by: Vaishali Thakkar > Cc: Mike Kravetz > Cc: Naoya Horiguchi > Cc: Hillf Danton > Cc: Michal Hocko > Cc: Yaow

Question about PCI I/O space in ARM64

2016-03-22 Thread Kefeng Wang
Hi all, If no pci, the PCI I/O space(16M) is mapped into an irrelevant mem space(right ?), not a right IO space, that is, no one call pci_remap_iospace() to remap the memory mapped I/O space, once driver like f71805f loaded, write value to IO space(see f71805f_init->f71805f_find->superio_enter-

Re: [PATCH V2 0/2] kexec: Make a pair of map/unmap reserved pages in error path

2016-03-22 Thread Baoquan He
On 03/01/16 at 05:53pm, Xunlei Pang wrote: > This is a bug fix. > > After this, I will try to do a cleanup for crash_unmap/map_reserved_pages() > (only used by S390) to consolidate it with > arch_kexec_unprotect/protect_crashkres(). Hi Xunlei, Minfei, I think you need discuss together about how

[PATCH v2] misc: sram: fix check of devm_ioremap*() return value

2016-03-22 Thread Vladimir Zapolskiy
Both devm_ioremap() and devm_ioremap_wc() functions return either a pointer to valid iomem region or NULL, check for IS_ERR() is improper and may result in oops on error path. Now on error -ENOMEM is returned. Fixes: 0ab163ad1ea0 ("misc: sram: switch to ioremap_wc from ioremap") Signed-off-by: Vla

Re: [RFC] high preempt off latency in vfree path

2016-03-22 Thread Andi Kleen
> (1) > One is we reduce the number of lazy_max_pages (right now its around 32MB per > core worth of pages). > > diff --git a/mm/vmalloc.c b/mm/vmalloc.c > index aa3891e..2720f4f 100644 > --- a/mm/vmalloc.c > +++ b/mm/vmalloc.c > @@ -564,7 +564,7 @@ static unsigned long lazy_max_pages(void) > >

Re: [PATCH 2/2] arch:mm: Use hugetlb_bad_size

2016-03-22 Thread Mike Kravetz
On 03/22/2016 03:05 AM, Vaishali Thakkar wrote: > Update the setup_hugepagesz function to call the routine > hugetlb_bad_size when unsupported hugepage size is found. > > Misc: > - Silent 80 characters warning > > Signed-off-by: Vaishali Thakkar > Cc: Mike Kravetz > Cc: Naoya Horiguchi > Cc:

Re: [PATCH 1/2] mm/hugetlb: Introduce hugetlb_bad_size

2016-03-22 Thread Mike Kravetz
On 03/22/2016 03:00 AM, Vaishali Thakkar wrote: > When any unsupported hugepage size is specified, 'hugepagesz=' and > 'hugepages=' should be ignored during command line parsing until any > supported hugepage size is found. But currently incorrect number of > hugepages are allocated when unsupporte

[PATCH] lib: scatterlist: fix ifnullfree.cocci warnings

2016-03-22 Thread kbuild test robot
lib/sg_pool.c:152:3-18: WARNING: NULL check before freeing functions like kfree, debugfs_remove, debugfs_remove_recursive or usb_free_urb is not needed. Maybe consider reorganizing relevant code to avoid passing NULL values. lib/sg_pool.c:154:3-21: WARNING: NULL check before freeing functions lik

Re: [PATCH v2 5/5] lib: scatterlist: move SG pool code from SCSI driver to lib/sg_pool.c

2016-03-22 Thread kbuild test robot
Hi Ming, [auto build test WARNING on scsi/for-next] [also build test WARNING on v4.5 next-20160322] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Ming-Lin/mempool-based-chained-scatterlist

Re: [PATCH] Add fwupdate and Mok GUID's to the EFI variable immutable whitelist

2016-03-22 Thread Mario Limonciello
On 03/22/2016 04:37 PM, Limonciello, Mario wrote: > ed8b0de5a33d2a2557dce7f9429dca8cb5bc5879 caused all variables to be > immutable by default. This causes problems with userspace applications > mokutil and fwupdate. > --- > drivers/firmware/efi/vars.c | 2 ++ > include/linux/efi.h | 8

Re: [PATCH] vlan: propagate gso_min_segs

2016-03-22 Thread Eric Dumazet
On Wed, 2016-03-23 at 09:35 +0800, Haishuang Yan wrote: > vlan drivers lack proper propagation of gso_min_segs from lower device. > > Signed-off-by: Haishuang Yan > --- The plan was to get rid of gso_min_segs, as nothing uses it. Otherwise I would have included this in my recent patches... For

Re: RCU stall

2016-03-22 Thread Paul E. McKenney
On Tue, Mar 22, 2016 at 06:59:32PM -0700, Paul E. McKenney wrote: > On Tue, Mar 22, 2016 at 04:53:26PM -0700, Bart Van Assche wrote: > > On 03/22/2016 01:45 PM, Paul E. McKenney wrote: > > >You are getting a soft lockup as well as an RCU CPU stall warning, so > > >it looks like something is taking

[PATCH 2/5] mm/memory_hotplug: is_mem_section_removable can be boolean

2016-03-22 Thread Yaowei Bai
This patch makes is_mem_section_removable return bool to improve readability due to this particular function only using either one or zero as its return value. No functional change. Signed-off-by: Yaowei Bai --- include/linux/memory_hotplug.h | 6 +++--- mm/memory_hotplug.c| 6 +++--

Re: [PATCH] staging: delete STE RMI4 hackish driver

2016-03-22 Thread Greg KH
On Fri, Mar 18, 2016 at 10:12:15AM +0100, Linus Walleij wrote: > As of commit 62d5bdf972ebcfc99f72f734ae979713e4ca6450 > "Merge branch 'synaptics-rmi4' into next" the input subsystem > has a proper RMI4 infrastructure and touchscreen driver. > The ST Ux500 platform has been converted to use the new

[PATCH 0/5] mm: make several functions return bool

2016-03-22 Thread Yaowei Bai
This series only makes several functions return bool to improve readability, no other functional changes. Yaowei Bai (5): mm/hugetlb: is_vm_hugetlb_page can be boolean mm/memory_hotplug: is_mem_section_removable can be boolean mm/vmalloc: is_vmalloc_addr can be boolean mm/lru: is_file/acti

[PATCH 3/5] mm/vmalloc: is_vmalloc_addr can be boolean

2016-03-22 Thread Yaowei Bai
This patch makes is_vmalloc_addr return bool to improve readability due to this particular function only using either one or zero as its return value. No functional change. Signed-off-by: Yaowei Bai --- include/linux/mm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/i

[PATCH 5/5] mm/mempolicy: vma_migratable can be boolean

2016-03-22 Thread Yaowei Bai
This patch makes vma_migratable return bool due to this particular function only using either one or zero as its return value. No functional change. Signed-off-by: Yaowei Bai --- include/linux/mempolicy.h | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/lin

[PATCH 4/5] mm/lru: is_file/active_lru can be boolean

2016-03-22 Thread Yaowei Bai
This patch makes is_file/active_lru return bool to improve readability due to these particular functions only using either one or zero as their return value. No functional change. Signed-off-by: Yaowei Bai --- include/linux/mmzone.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) dif

[PATCH 1/5] mm/hugetlb: is_vm_hugetlb_page can be boolean

2016-03-22 Thread Yaowei Bai
This patch makes is_vm_hugetlb_page return bool to improve readability due to this particular function only using either one or zero as its return value. No functional change. Signed-off-by: Yaowei Bai --- include/linux/hugetlb_inline.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-

Re: [PATCH] Staging: fsl-mc: Fix up bad parameters to dev_err and dev_dbg

2016-03-22 Thread Greg Kroah-Hartman
On Fri, Mar 18, 2016 at 06:29:01PM -0700, Guenter Roeck wrote: > The first parameter to dev_dbg() and dev_err() is struct device *, > not struct device **. > > Fixes: de71daf5c839 ("Staging: fsl-mc: Replace pr_debug with dev_dbg") > Fixes: 454b0ec8bf99 ("Staging: fsl-mc: Replace pr_err with dev_er

Re: [PATCH] KVM: page_track: fix access to NULL slot

2016-03-22 Thread Xiao Guangrong
On 03/23/2016 12:40 AM, Paolo Bonzini wrote: This happens when doing the reboot test from virt-tests: [ 131.833653] BUG: unable to handle kernel NULL pointer dereference at (null) [ 131.842461] IP: [] kvm_page_track_is_active+0x17/0x60 [kvm] [ 131.850500] PGD 0 [ 131.852763] Oop

linux-next: Tree for Mar 23

2016-03-22 Thread Stephen Rothwell
Hi all, Please do not add any v4.7 related material to your linux-next included trees until after v4.6-rc1 is released. Changes since 20160322: Non-merge commits (relative to Linus' tree): 1734 1504 files changed, 102964 insertions(+), 28484 dele

[PATCH v2] cpufreq: rockchip: add driver

2016-03-22 Thread Feng Xiao
This driver will directly use cpufreq-dt driver as backend. As there is not a generic devicetree board file(rockchip.c) on ARM64 architecture, so remove platform_device_register_simple in rockchip.c and add a new cpufreq driver to support Rockchip SoCs. Signed-off-by: Feng Xiao Reviewed-by: Heik

Re: [RFC 1/4] perf kvm: Enable 'record' on powerpc

2016-03-22 Thread Arnaldo Carvalho de Melo
Em Tue, Mar 22, 2016 at 04:12:11PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Wed, Feb 24, 2016 at 02:37:42PM +0530, Ravi Bangoria escreveu: > > 'perf kvm record' is not available on powerpc because 'perf' relies on > > the 'cycles' event (a PMU event) to profile the guest. However, for > > pow

Re: RCU stall

2016-03-22 Thread Paul E. McKenney
On Tue, Mar 22, 2016 at 04:53:26PM -0700, Bart Van Assche wrote: > On 03/22/2016 01:45 PM, Paul E. McKenney wrote: > >You are getting a soft lockup as well as an RCU CPU stall warning, so > >it looks like something is taking a very long time in blk_done_softirq(). > > > >You have multiple occurrenc

[lkp] [chrdev] af427b8e3a: kmsg.ide-tape:Failed_to_register_chrdev_interface

2016-03-22 Thread kernel test robot
FYI, we noticed the below changes on https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git chrdev-warn commit af427b8e3a4e1fc4f7e893a617acf9520cdd616c ("chrdev: allocate dynamic chardevs in all unused holes") As below, the log "ide-tape: Failed to register chrdev interface" show

[PATCH 1/2] x86/apic: remove declaration of unused hw_nmi_is_cpu_stuck

2016-03-22 Thread Yaowei Bai
Commit 10f9014912 ("x86: Cleanup hw_nmi.c cruft") removed unused code in the hw_nmi.c file because of the redesign of the hardlockup watchdog but left declaration of hw_nmi_is_cpu_stuck in linux/nmi.h, so remvoe it. Signed-off-by: Yaowei Bai --- include/linux/nmi.h | 1 - 1 file changed, 1 delet

[GIT PULL] clk changes for v4.6

2016-03-22 Thread Stephen Boyd
The following changes since commit a0d54c3899aaeb047969d9479263c6bcf385c331: clk: ti: omap3+: dpll: use non-locking version of clk_get_rate (2016-02-22 14:03:02 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git tags/clk-for-linus for

Re: [PATCH] Revert "Staging: lustre: o2iblnd: Use sizeof type *pointer instead of sizeof type."

2016-03-22 Thread Greg Kroah-Hartman
On Tue, Mar 22, 2016 at 06:21:04PM -0400, James Simmons wrote: > Latest testing fails when using ko2iblnd. It was tracked down > to commit 4671a026616df26000f7d8ad2f2ea4b6de79263c. > > This reverts commit 4671a026616df26000f7d8ad2f2ea4b6de79263c. > --- > .../staging/lustre/lnet/klnds/o2iblnd/o2ib

[lkp] [x86/mm] e5809dfe26: BUG: sleeping function called from invalid context at kernel/locking/mutex.c:617

2016-03-22 Thread kernel test robot
yocto-x86_64-34/bisect_boot-1-yocto-minimal-x86_64.cgz-x86_64-nfsroot-e5809dfe266f4ab66b20db540663298d909c7b8c-20160322-8447-s50ff4-5.yaml ARCH=x86_64 kconfig=x86_64-nfsroot branch=linux-devel/devel-catchup-201603221233 commit=e5809dfe266f4ab66b20db540663298d909c7b8c BOOT_IMAGE=/pkg/linux/x86_64-n

[RFC] high preempt off latency in vfree path

2016-03-22 Thread Joel Fernandes
Hi, I'm seeing on my system with some real time audio requirements, I'm seeing the preemptirqsoff tracer complaining that preempt was off for 17ms in the vfree path. Since we have requirements of 8ms scheduling this seems awfully bad. The tracer output showed __free_vmap_area was about 7300 t

[PATCH 2/2] x86/dma: is_device_dma_capable can be boolean

2016-03-22 Thread Yaowei Bai
This patch makes is_device_dma_capable return bool to improve readability due to this particular function only using either one or zero as its return value. No functional change. Signed-off-by: Yaowei Bai --- include/linux/dma-mapping.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) dif

Re: [PATCH v4 19/20] x86, kaslr: Allow random address to be below loaded address

2016-03-22 Thread Baoquan He
On 03/22/16 at 12:54pm, Kees Cook wrote: > On Tue, Mar 22, 2016 at 12:32 AM, Baoquan He wrote: > > From: Yinghai Lu > > > > Now new randomized output can only be chosen from regions above loaded > > address. In this case, for bootloaders like kexec which always loads > > kernel near the end of ra

Re: [PATCH 3/3] staging: dgnc: use tty_alloc_driver instead of kcalloc

2016-03-22 Thread DaeSeok Youn
2016-03-22 22:02 GMT+09:00 Greg KH : > On Tue, Mar 22, 2016 at 04:40:24PM +0900, DaeSeok Youn wrote: >> 2016-03-22 6:05 GMT+09:00 Greg KH : >> > On Mon, Mar 14, 2016 at 01:29:00PM +0900, Daeseok Youn wrote: >> >> the tty_alloc_driver() can allocate memory for ttys and termios. >> >> And also it can

Re: [PATCH v5] acpi: Issue _OSC call for native thermal interrupt handling

2016-03-22 Thread Rafael J. Wysocki
On Wed, Mar 23, 2016 at 2:05 AM, Srinivas Pandruvada wrote: > There are several reports of freeze on enabling HWP (Hardware PStates) > feature on Skylake based systems by Intel P states driver. The root > cause is identified as the HWP interrupts causing BIOS code to freeze. > HWP interrupts uses

Re: [PATCH v3 00/23] ncr5380: Eliminate macros, reduce code duplication, fix bugs etc

2016-03-22 Thread Finn Thain
On Tue, 22 Mar 2016, Ondrej Zary wrote: > Tested on HP C2502 (53C400A chip), Canon FG2-5202 (53C400 chip) and > DTC-3181L (DTCT-436P chip) ISA cards - everything works fine! > > Thanks. Thanks for testing, Ondrej. > > Tested-by: Ondrej Zary Hannes, would you please take a look at patches 0

[PATCH] vlan: propagate gso_min_segs

2016-03-22 Thread Haishuang Yan
vlan drivers lack proper propagation of gso_min_segs from lower device. Signed-off-by: Haishuang Yan --- drivers/net/ipvlan/ipvlan_main.c | 2 ++ drivers/net/macvlan.c| 1 + net/8021q/vlan.c | 1 + net/8021q/vlan_dev.c | 1 + 4 files changed, 5 insertions(

[PATCH] gre: fix return value of gre_rcv

2016-03-22 Thread Haishuang Yan
Dropped skb's should be documented by an appropriate return value. Use the correct NET_RX_DROP and NET_RX_SUCCESS values for that reason. Signed-off-by: Haishuang Yan --- net/ipv4/ip_gre.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/ipv4/ip_gre.c b/net/ipv4/ip_gre

Re: [NEW DRIVER V6 0/7] DA9058 PMIC - please comment on this new driver

2016-03-22 Thread Alexandre Belloni
Hi Anthony, Steve, This driver has been submitted a while ago and reached v6 but still had a few comments. Do you still have some interest in seeing it being accepted? On 19/04/2013 at 17:56:29 +0100, Anthony Olech wrote : > This is submission attempt number 6 to have this driver included in > th

Re: [PATCH] gma500: fix missing comma in dsi_errors array initializer

2016-03-22 Thread One Thousand Gnomes
On Tue, 22 Mar 2016 16:40:18 -0700 Joe Perches wrote: > On Tue, 2016-03-22 at 22:49 +, Colin King wrote: > > From: Colin Ian King > > > > There is a missing comma between two strings in the dsi_errors[] > > array initializer, causing two strings to be concatenated and the > > array being in

Re: [PATCH] staging: dgnc: fix camelcase of SerialDriver and PrintDriver

2016-03-22 Thread DaeSeok Youn
2016-03-22 21:21 GMT+09:00 walter harms : > > You have send this patch before, right ? > then it is a good custom to have something like: [Patch V2] in the > subject line. In the comment you should write somethink like > > v2: fix withspace damage > v1: fix issue > > Otherwise none of the reviewe

Re: [RFC][PATCH v6 1/2] printk: Make printk() completely async

2016-03-22 Thread Sergey Senozhatsky
On (03/22/16 17:36), Petr Mladek wrote: > > - /* cpu currently holding logbuf_lock in this function */ > > - static unsigned int logbuf_cpu = UINT_MAX; > > + bool in_panic = console_loglevel == CONSOLE_LOGLEVEL_MOTORMOUTH; > > I am just looking at the printk in NMI patchset and I will need t

[PATCH v5] acpi: Issue _OSC call for native thermal interrupt handling

2016-03-22 Thread Srinivas Pandruvada
There are several reports of freeze on enabling HWP (Hardware PStates) feature on Skylake based systems by Intel P states driver. The root cause is identified as the HWP interrupts causing BIOS code to freeze. HWP interrupts uses thermal LVT. Linux natively handles thermal interrupts, but in Skylak

Re: [PATCH v14 09/17] drm: rockchip: dp: add rockchip platform dp driver

2016-03-22 Thread Mark yao
On 2016年02月15日 19:10, Yakir Yang wrote: Rockchip have three clocks for dp controller, we leave pclk_edp to analogix_dp driver control, and keep the sclk_edp_24m and sclk_edp in platform driver. Signed-off-by: Yakir Yang Tested-by: Javier Martinez Canillas It looks good for me, I like it, So A

Re: Who is going to merge it [Was: Re: [PATCH v14 0/17] Add Analogix Core Display Port Driver]

2016-03-22 Thread Mark yao
On 2016年03月23日 08:41, Dave Airlie wrote: So although it's small framework or just subdirectory, we would need someone who can manage the framework to avoid further confusion if necessary. So maybe it just doesn't need a maintainer, and maybe those the owner of the bridge driver should be respons

Re: [PATCH v3 4/4] nmi_backtrace: generate one-line reports for idle cpus

2016-03-22 Thread Rafael J. Wysocki
On Tuesday, March 22, 2016 11:45:57 PM Peter Zijlstra wrote: > On Tue, Mar 22, 2016 at 11:31:11PM +0100, Rafael J. Wysocki wrote: > > > > diff --git a/drivers/idle/intel_idle.c b/drivers/idle/intel_idle.c > > > index cd4510a63375..924554f920fb 100644 > > > --- a/drivers/idle/intel_idle.c > > > +++

Re: Who is going to merge it [Was: Re: [PATCH v14 0/17] Add Analogix Core Display Port Driver]

2016-03-22 Thread Dave Airlie
> >> So although it's small framework or just subdirectory, we would need >> someone who can manage the framework to avoid further confusion if >> necessary. > > So maybe it just doesn't need a maintainer, and maybe those the owner > of the bridge driver should be responsible for choosing the tree

[lkp] [tty/serial/8250] 9e2a7d9c24: BUG: unable to handle kernel NULL pointer dereference at 0000000000000008

2016-03-22 Thread kernel test robot
FYI, we noticed the below changes on https://github.com/0day-ci/linux yegorslists-googlemail-com/tty-serial-8250-add-MCTRL_GPIO-support/20160322-211617 commit 9e2a7d9c247ff3c90ff8a4086a165a6d141de16f ("tty/serial/8250: use mctrl_gpio helpers") [0.00] Hierarchical RCU impl

Re: [RFC][PATCH v6 1/2] printk: Make printk() completely async

2016-03-22 Thread Sergey Senozhatsky
Hello Petr, On (03/22/16 14:11), Petr Mladek wrote: [..] > > - /* cpu currently holding logbuf_lock in this function */ > > - static unsigned int logbuf_cpu = UINT_MAX; > > + bool in_panic = console_loglevel == CONSOLE_LOGLEVEL_MOTORMOUTH; > > + bool sync_print = printk_sync; > > I still

Re: [PATCH 2/2] ARM: dts: exynos: Enable SSS on Trats2

2016-03-22 Thread Krzysztof Kozlowski
On 23.03.2016 04:25, Tobias Jakobi wrote: > Hello Krzysztof, > > you can also add the node to the exynos4412-odroid-common dtsi. I have > checked that it works properly on an X2. > > Thanks for patches and fixing that alignment issue! Thanks for testing it. I'll send a follow up with you as Test

Re: Who is going to merge it [Was: Re: [PATCH v14 0/17] Add Analogix Core Display Port Driver]

2016-03-22 Thread Russell King - ARM Linux
On Wed, Mar 23, 2016 at 08:54:15AM +0900, Inki Dae wrote: > Please wrap your long lines. > > 2016년 03월 23일 08:39에 Russell King - ARM Linux 이(가) 쓴 글: > > On Wed, Mar 23, 2016 at 08:09:33AM +0900, Inki Dae wrote: > >> In this case, someone else may send an email again like you "who is going > >>

Re: RCU stall

2016-03-22 Thread Bart Van Assche
On 03/22/2016 01:45 PM, Paul E. McKenney wrote: You are getting a soft lockup as well as an RCU CPU stall warning, so it looks like something is taking a very long time in blk_done_softirq(). You have multiple occurrences at different times, so it looks to be a long time as opposed to an infinit

[PATCH v6 4/5] livepatch: reuse module loader code to write relocations

2016-03-22 Thread Jessica Yu
Reuse module loader code to write relocations, thereby eliminating the need for architecture specific relocation code in livepatch. Specifically, reuse the apply_relocate_add() function in the module loader to write relocations instead of duplicating functionality in livepatch's arch-dependent klp_

[PATCH v6 5/5] Documentation: livepatch: outline Elf format and requirements for patch modules

2016-03-22 Thread Jessica Yu
Document livepatch module requirements and the special Elf constants patch modules use. Signed-off-by: Jessica Yu Acked-by: Miroslav Benes --- Documentation/livepatch/module-elf-format.txt | 311 ++ 1 file changed, 311 insertions(+) create mode 100644 Documentation/live

[PATCH v6 1/5] Elf: add livepatch-specific Elf constants

2016-03-22 Thread Jessica Yu
Livepatch manages its own relocation sections and symbols in order to be able to reuse module loader code to write relocations. This removes livepatch's dependence on separate "dynrela" sections to write relocations and also allows livepatch to patch modules that are not yet loaded. The livepatch

[PATCH v6 3/5] module: s390: keep mod_arch_specific for livepatch modules

2016-03-22 Thread Jessica Yu
Livepatch needs to utilize the symbol information contained in the mod_arch_specific struct in order to be able to call the s390 apply_relocate_add() function to apply relocations. Keep a reference to syminfo if the module is a livepatch module. Remove the redundant vfree() in module_finalize() sin

[PATCH v6 2/5] module: preserve Elf information for livepatch modules

2016-03-22 Thread Jessica Yu
For livepatch modules, copy Elf section, symbol, and string information from the load_info struct in the module loader. Persist copies of the original symbol table and string table. Livepatch manages its own relocation sections in order to reuse module loader code to write relocations. Livepatch m

[PATCH v6 0/5] (mostly) Arch-independent livepatch

2016-03-22 Thread Jessica Yu
This patchset removes livepatch's need for architecture-specific relocation code by leveraging existing code in the module loader to perform arch-dependent work. Specifically, instead of duplicating code and re-implementing what the apply_relocate_add() function in the module loader already does in

Re: Who is going to merge it [Was: Re: [PATCH v14 0/17] Add Analogix Core Display Port Driver]

2016-03-22 Thread Inki Dae
2016년 03월 23일 08:39에 Russell King - ARM Linux 이(가) 쓴 글: > On Wed, Mar 23, 2016 at 08:09:33AM +0900, Inki Dae wrote: >> In this case, someone else may send an email again like you "who is going to >> merge?" >> That would be why we need a maintainer. >> >> drm panel is already managed well by Thi

Re: [RFC 0/2] staging: ion: of_ion_device_get

2016-03-22 Thread Moritz Fischer
On Tue, Mar 22, 2016 at 4:20 PM, Laura Abbott wrote: > If allocation is coming from userspace and drivers are only importing > you should be using the dma_buf APIs instead of Ion APIs directly. > Ion is a dma_buf exporter and dma_buf APIs are the preferred API. Ok, thanks. Sounds reasonable. Th

Re: Who is going to merge it [Was: Re: [PATCH v14 0/17] Add Analogix Core Display Port Driver]

2016-03-22 Thread Russell King - ARM Linux
On Wed, Mar 23, 2016 at 08:09:33AM +0900, Inki Dae wrote: > In this case, someone else may send an email again like you "who is going to > merge?" > That would be why we need a maintainer. > > drm panel is already managed well by Thierry Reding without such confusion. You don't need a maintaine

Re: [PATCH 2/2] arch:mm: Use hugetlb_bad_size

2016-03-22 Thread Naoya Horiguchi
On Tue, Mar 22, 2016 at 03:35:59PM +0530, Vaishali Thakkar wrote: > Update the setup_hugepagesz function to call the routine > hugetlb_bad_size when unsupported hugepage size is found. > > Misc: > - Silent 80 characters warning > > Signed-off-by: Vaishali Thakkar > Cc: Mike Kravetz > Cc: Naoy

Re: [PATCH] gma500: fix missing comma in dsi_errors array initializer

2016-03-22 Thread Joe Perches
On Tue, 2016-03-22 at 22:49 +, Colin King wrote: > From: Colin Ian King > > There is a missing comma between two strings in the dsi_errors[] > array initializer, causing two strings to be concatenated and the > array being incorrectly initialized.  Add in the missing comma. > > Signed-off-by

Re: [PATCH 1/2] mm/hugetlb: Introduce hugetlb_bad_size

2016-03-22 Thread Naoya Horiguchi
On Tue, Mar 22, 2016 at 03:30:43PM +0530, Vaishali Thakkar wrote: > When any unsupported hugepage size is specified, 'hugepagesz=' and > 'hugepages=' should be ignored during command line parsing until any > supported hugepage size is found. But currently incorrect number of > hugepages are allocat

Re: [RFC 0/2] staging: ion: of_ion_device_get

2016-03-22 Thread Moritz Fischer
On Tue, Mar 22, 2016 at 4:20 PM, Laura Abbott wrote: > On 03/22/2016 04:08 PM, Moritz Fischer wrote: >> >> Hi Laura, >> >> On Tue, Mar 22, 2016 at 3:51 PM, Laura Abbott wrote: >> >>> In the past what drivers have done is a foo_ion_client_create which has >>> the >>> reference >>> to the ion_devic

Re: [PATCH] arch: powerpc: mm: fixed spelling error.

2016-03-22 Thread Andrew Donnellan
Hi Alok Thanks for wanting to contribute to the Linux kernel! On 22/03/16 20:43, mistryalok wrote: Fixed spelling error. Signed-off-by: Alok Mistry --- /* -* No CPU has hugepages but lacks no execute, so we +* No CPU has huge pages but lacks no e

Re: [PATCH 1/2] mm/hugetlb: Introduce hugetlb_bad_size

2016-03-22 Thread SeongJae Park
Hello Vaishali, The patch looks good to me. However, I have few trivial questions. On Tue, 22 Mar 2016, Vaishali Thakkar wrote: When any unsupported hugepage size is specified, 'hugepagesz=' and 'hugepages=' should be ignored during command line parsing until any supported hugepage size is f

Re: [RFC 0/2] staging: ion: of_ion_device_get

2016-03-22 Thread Laura Abbott
On 03/22/2016 04:08 PM, Moritz Fischer wrote: Hi Laura, On Tue, Mar 22, 2016 at 3:51 PM, Laura Abbott wrote: In the past what drivers have done is a foo_ion_client_create which has the reference to the ion_device created from ion_device_create. Drivers then call the foo_ion_client_create func

  1   2   3   4   5   6   7   8   9   >