Re: [PATCH v2 2/3] thermal: of: parse stacked thermal zones from device tree

2015-11-04 Thread Eduardo Valentin
On Wed, Nov 04, 2015 at 05:37:41PM +, Javi Merino wrote: > Let device tree set thermal zones in the thermal-sensors list of > phandles and set up the thermal zone hierarchy based on the information > present there. > > Cc: Zhang Rui > Cc: Eduardo Valentin > Signed-off-by: Javi Merino > ---

Re: [PATCH 0/2] iio: Heart Rate Monitors

2015-11-04 Thread Jonathan Cameron
On 02/11/15 16:31, Andrew F. Davis wrote: > On 11/01/2015 12:35 PM, Jonathan Cameron wrote: >> On 31/10/15 16:31, Andrew F. Davis wrote: >>> Hello all, >>> >>> This series adds the TI AFE4404 "Ultra-small, Integrated AFE for >>> Wearable, Optical Heart Rate Monitoring and Bio-Sensing". >>> >>> This

[PATCH] overlayfs: move super block magic number to magic.h

2015-11-04 Thread Stephen Hemminger
The overlayfs file system is not recognized by programs like tail because the magic number is not in standard header location. Move it so that the value will propagate on for the GNU library and utilities. Needs to go in the fstatfs manual page as well. Signed-off-by: Stephen Hemminger --- fs/o

[GIT PULL] userns: Allow hardlinks for 4.4

2015-11-04 Thread Eric W. Biederman
Linus, Please pull the for-linus branch from the git tree: git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git for-linus HEAD: f2ca379642d7a843be972ea4167abdd3c8c9e5d1 namei: permit linking with CAP_FOWNER in userns This round just contains a single patch. There

Re: [PATCH 0/2] Support for set_memory_* outside of module space

2015-11-04 Thread Kees Cook
On Wed, Nov 4, 2015 at 10:51 AM, Laura Abbott wrote: > On 11/03/2015 03:42 PM, Kees Cook wrote: >> >> On Tue, Nov 3, 2015 at 1:48 PM, Laura Abbott >> wrote: >>> >>> >>> Hi, >>> >>> Based on a recent discussion[1] there is interest in having set_memory_* >>> work >>> on kernel memory for security

[PATCH] UBIFS: Delete unnecessary checks before the function call "iput"

2015-11-04 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 4 Nov 2015 20:00:42 +0100 The iput() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- fs/ubifs/reco

Re: [PATCH v3 13/15] block, dax: make dax mappings opt-in by default

2015-11-04 Thread Dan Williams
On Tue, Nov 3, 2015 at 3:04 PM, Dan Williams wrote: > On Tue, Nov 3, 2015 at 12:20 PM, Dave Chinner wrote: >> On Mon, Nov 02, 2015 at 11:35:04PM -0800, Dan Williams wrote: >>> On Mon, Nov 2, 2015 at 4:32 PM, Dave Chinner wrote: > [..] >>> Only in the mmap path: >> >> which means blkdev_direct_IO

Re: [GIT PULL] x86/mm changes for v4.4

2015-11-04 Thread Linus Torvalds
On Tue, Nov 3, 2015 at 3:16 AM, Ingo Molnar wrote: > > The new CONFIG_DEBUG_WX=y warning is marked default-y if > CONFIG_DEBUG_RODATA=y is > already eanbled, as a special exception, as these bugs are hard to notice and > this > check already found several live bugs. So this seems to be not very

[tip:timers/urgent] timers: Use proper base migration in add_timer_on()

2015-11-04 Thread tip-bot for Tejun Heo
Commit-ID: 22b886dd1018093920c4250dee2a9a3cb7cff7b8 Gitweb: http://git.kernel.org/tip/22b886dd1018093920c4250dee2a9a3cb7cff7b8 Author: Tejun Heo AuthorDate: Wed, 4 Nov 2015 12:15:33 -0500 Committer: Thomas Gleixner CommitDate: Wed, 4 Nov 2015 20:23:19 +0100 timers: Use proper base migr

[PATCH v2 1/4] get_maintainer: add missing documentation for --git-blame-signatures

2015-11-04 Thread Brian Norris
I really haven't used this option much myself, so feel free to improve on the documentation for it. I just noticed it while inspecting this script for undocumented features. Signed-off-by: Brian Norris Cc: Andrew Morton Cc: Joe Perches --- v1 -> v2: * reword the documentation to be more accur

[PATCH v2 3/4] get_maintainer: add --no-foo options to --help

2015-11-04 Thread Brian Norris
Many flag options are boolean and support both a positive and a negative invocation from the command line. Some of these are even mentioned by example (e.g., --nogit is mentioned as a default option), but they aren't explicitly mentioned in the list of options. It happens that some of these are pre

[PATCH v2 2/4] get_maintainer: it's '--pattern-depth', not '-pattern-depth'

2015-11-04 Thread Brian Norris
Though it appears that Perl's GetOptions will take either, the latter is not documented in the options listing. Signed-off-by: Brian Norris Cc: Andrew Morton Cc: Joe Perches --- new in v2 scripts/get_maintainer.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/get

[PATCH v2 4/4] get_maintainer: --r (list reviewer) is on by default

2015-11-04 Thread Brian Norris
We don't consistenly document the default value next to the option listing, but we do have a list of defaults here, so let's keep it up to date. Signed-off-by: Brian Norris Cc: Andrew Morton Cc: Joe Perches --- new in v2 scripts/get_maintainer.pl | 2 +- 1 file changed, 1 insertion(+), 1 dele

Re: [PATCH v2 1/2] mm: mmap: Add new /proc tunable for mmap_base ASLR.

2015-11-04 Thread Eric W. Biederman
Michal Hocko writes: > On Tue 03-11-15 10:10:03, Daniel Cashman wrote: > [...] >> +This value can be changed after boot using the >> +/proc/sys/kernel/mmap_rnd_bits tunable > > Why is this not sitting in /proc/sys/vm/ where we already have > mmap_min_addr. These two sound like they should sit tog

Re: [PATCH v2 1/2] mm: mmap: Add new /proc tunable for mmap_base ASLR.

2015-11-04 Thread Daniel Cashman
On 11/3/15 5:31 PM, Andrew Morton wrote: > On Tue, 03 Nov 2015 18:40:31 -0600 ebied...@xmission.com (Eric W. Biederman) > wrote: > >> Andrew Morton writes: >> >>> On Tue, 3 Nov 2015 10:10:03 -0800 Daniel Cashman >>> wrote: >>> ASLR currently only uses 8 bits to generate the random offset

Re: i.MX6: Increasing VPU frequency

2015-11-04 Thread Jean-Michel Hautbois
2015-11-04 18:04 GMT+01:00 Jon Nettleton : > On Wed, Nov 4, 2015 at 5:52 PM, Jean-Michel Hautbois > wrote: >> Hi ! >> >> I can see in FSL kernel that VPU is configurable to 352M (it defaults >> at 264MHz in mainline I think). >> In the TRM, it is even specified at 352MHz as a default frequency, >>

Re: [PATCH] timer: add_timer_on() should perform proper migration

2015-11-04 Thread Thomas Gleixner
Tejun, On Wed, 4 Nov 2015, Tejun Heo wrote: > Regardless of the previous CPU a timer was on, add_timer_on() > currently simply sets timer->flags to the new CPU. As the caller must > be seeing the timer as idle, this is locally fine, but the timer > leaving the old base while unlocked can lead to

Re: [PATCH v2 1/2] mm: mmap: Add new /proc tunable for mmap_base ASLR.

2015-11-04 Thread Daniel Cashman
On 11/4/15 11:21 AM, Eric W. Biederman wrote: > Michal Hocko writes: > >> On Tue 03-11-15 10:10:03, Daniel Cashman wrote: >> [...] >>> +This value can be changed after boot using the >>> +/proc/sys/kernel/mmap_rnd_bits tunable >> >> Why is this not sitting in /proc/sys/vm/ where we already have >

Re: [PATCH v3 0/2] thermal: mediatek: Add cpu power cooling model

2015-11-04 Thread Eduardo Valentin
On Mon, Nov 02, 2015 at 03:53:33PM +, Punit Agrawal wrote: > Viresh Kumar writes: > > > On 22-10-15, 20:02, Dawei Chien wrote: > >> Use Intelligent Power Allocation (IPA) technical to add static/dynamic > >> power model for binding CPU thermal zone. > >> The power allocator governor allocate

Re: [PATCH] arm64: bpf: fix div-by-zero case

2015-11-04 Thread Daniel Borkmann
On 11/04/2015 07:41 PM, Shi, Yang wrote: ... Agreed, and we may need add one more test cases in test_bpf module to cover MOD? Let me know if you have a test case ready :) Does the below change look like a valid test? + "MOD default X", + .u.insns = { +

Re: [PATCH v3 1/2] thermal: mediatek: Add cpu power cooling model.

2015-11-04 Thread Eduardo Valentin
On Thu, Oct 22, 2015 at 08:02:38PM +0800, Dawei Chien wrote: > This power model is base on Intelligent Power Allocation (IPA) > technical, requires that the operating-points of the CPUs are > registered using the kernel's opp library and the > `cpufreq_frequency_table` is assigned to the `struct de

Re: [PATCH 2/2] iio: health: Add driver for the TI AFE4404 heart monitor

2015-11-04 Thread Jonathan Cameron
On 02/11/15 20:37, Andrew F. Davis wrote: > On 11/01/2015 02:52 PM, Jonathan Cameron wrote: >> On 31/10/15 16:31, Andrew F. Davis wrote: >>> Add driver for the TI AFE4404 heart rate monitor and pulse oximeter. >>> This device detects reflected LED light fluctuations and presents an ADC >>> value to

[PATCH v5] i40e: Look up MAC address in Open Firmware or IDPROM

2015-11-04 Thread Sowmini Varadhan
This is the i40e equivalent of commit c762dff24c06 ("ixgbe: Look up MAC address in Open Firmware or IDPROM"). As with that fix, attempt to look up the MAC address in Open Firmware on systems that support it, and use IDPROM on SPARC if no OF address is found. In the case of the i40e there is an a

Re: [PATCH 5/5] mm, page_owner: dump page owner info from dump_page()

2015-11-04 Thread Kirill A. Shutemov
On Wed, Nov 04, 2015 at 04:01:01PM +0100, Vlastimil Babka wrote: > The page_owner mechanism is useful for dealing with memory leaks. By reading > /sys/kernel/debug/page_owner one can determine the stack traces leading to > allocations of all pages, and find e.g. a buggy driver. > > This informatio

Re: [PATCH v3 2/2] arm64: dts: mt8173: Add thermal zone node for mt8173.

2015-11-04 Thread Eduardo Valentin
On Thu, Oct 22, 2015 at 08:02:39PM +0800, Dawei Chien wrote: > Add thermal zone node to mt8173.dtsi. > > Signed-off-by: Dawei Chien > --- > This patch is base on > https://patchwork.kernel.org/patch/7249821/ > https://patchwork.kernel.org/patch/7249861/ > https://patchwork.kernel.org/patch/724989

Re: [PATCH] ASoC: wm9713: add gpio chip

2015-11-04 Thread Robert Jarzmik
Charles Keepax writes: > On Wed, Nov 04, 2015 at 06:12:44PM +0100, Robert Jarzmik wrote: >> The Wolfson WM9713 provides 8 GPIOs. If the gpiolib is compiled in the >> kernel, declare a gpio chip. >> >> Signed-off-by: Robert Jarzmik >> --- > > You should probably make a seperate driver within GPI

Re: [PATCH] timer: add_timer_on() should perform proper migration

2015-11-04 Thread Tejun Heo
Hello, Thomas. On Wed, Nov 04, 2015 at 08:35:00PM +0100, Thomas Gleixner wrote: > nice detective work. This has been there forever. I really wonder why > nobody ever triggered this before. I guess there weren't enough concurrent del/add_timer_on() combos. Workqueue recently switched to always use

[PATCH] sysfs: Delete an unnecessary check before the function call "kernfs_get"

2015-11-04 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 4 Nov 2015 20:44:50 +0100 The kernfs_get() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- fs/sysf

Re: [PATCH v2 3/4] get_maintainer: add --no-foo options to --help

2015-11-04 Thread Joe Perches
On Wed, 2015-11-04 at 11:28 -0800, Brian Norris wrote: > Many flag options are boolean and support both a positive and a negative > invocation from the command line. Some of these are even mentioned by > example (e.g., --nogit is mentioned as a default option), but they > aren't explicitly mentione

Re: [PATCH 5/8] mm: memcontrol: account socket memory on unified hierarchy

2015-11-04 Thread Johannes Weiner
On Wed, Nov 04, 2015 at 11:42:40AM +0100, Michal Hocko wrote: > On Thu 29-10-15 09:10:09, Johannes Weiner wrote: > > On Thu, Oct 29, 2015 at 04:25:46PM +0100, Michal Hocko wrote: > > > On Tue 27-10-15 09:42:27, Johannes Weiner wrote: > [...] > > > > You carefully skipped over this part. We can igno

[PATCH] bpf: add mod default A and X test cases

2015-11-04 Thread Yang Shi
When running "mod X" operation, if X is 0 the filter has to be halt. Add new test cases to cover A = A mod X if X is 0, and A = A mod 1. CC: Xi Wang CC: Zi Shen Lim Signed-off-by: Yang Shi --- lib/test_bpf.c | 30 ++ 1 file changed, 30 insertions(+) diff --git a/li

Re: [PATCH v5] i40e: Look up MAC address in Open Firmware or IDPROM

2015-11-04 Thread Andy Shevchenko
On Wed, Nov 4, 2015 at 9:39 PM, Sowmini Varadhan wrote: > > This is the i40e equivalent of commit c762dff24c06 ("ixgbe: Look up MAC > address in Open Firmware or IDPROM"). > > As with that fix, attempt to look up the MAC address in Open Firmware > on systems that support it, and use IDPROM on SPAR

Re: [PATCH v2 01/13] mm: support madvise(MADV_FREE)

2015-11-04 Thread Shaohua Li
On Wed, Nov 04, 2015 at 10:25:55AM +0900, Minchan Kim wrote: > Linux doesn't have an ability to free pages lazy while other OS already > have been supported that named by madvise(MADV_FREE). > > The gain is clear that kernel can discard freed pages rather than swapping > out or OOM if memory press

Re: Linux 4.4 MW: Boot under Xen fails with CONFIG_DEBUG_WX enabled: RIP: ptdump_walk_pgd_level_core

2015-11-04 Thread Sander Eikelenboom
x20e/0x440 [ 18.465847] PGD 2212067 PUD 0 [ 18.471564] Oops: [#1] SMP [ 18.477248] Modules linked in: [ 18.482918] CPU: 2 PID: 1 Comm: swapper/0 Not tainted 4.3.0-mw-20151104-linus-doflr+ #1 [ 18.488804] Hardware name: MSI MS-7640/890FXA-GD70 (MS-7640) , BIOS V1.8B1 09/13/2010 [ 18.49

Re: [PATCH v5] i40e: Look up MAC address in Open Firmware or IDPROM

2015-11-04 Thread Sowmini Varadhan
On (11/04/15 21:59), Andy Shevchenko wrote: > > Usually the structure of kernel doc is something like following > > /** > * func - summary > * @paramx: desc > * > * Description: > * Long description in many lines and / or paragraphs > * > * Returns: > * 0 on success or errno otherwise. >

[PATCH] net: stmmac: remove unneeded phy_iface variable

2015-11-04 Thread LABBE Corentin
The variable phy_iface is double-initialized and finally is not necessary at all. Reported-by: coverity (CID 1271141) Signed-off-by: LABBE Corentin --- drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/net/ethernet/st

Re: [PATCH 5/5] mm, page_owner: dump page owner info from dump_page()

2015-11-04 Thread Sasha Levin
On 11/04/2015 02:41 PM, Kirill A. Shutemov wrote: >> +dump_page_owner(page); > I tend to put dump_page() into random places during debug. Dumping page > owner for all dump_page() cases can be too verbose. > > Can we introduce dump_page_verbose() which would do usual dump_page() plus > dump_pag

[PATCH 1/7] crypto: marvell: check return value of sg_nents_for_len

2015-11-04 Thread LABBE Corentin
The sg_nents_for_len() function could fail, this patch add a check for its return value. Signed-off-by: LABBE Corentin --- drivers/crypto/marvell/cipher.c | 8 drivers/crypto/marvell/hash.c | 4 2 files changed, 12 insertions(+) diff --git a/drivers/crypto/marvell/cipher.c b/dri

[PATCH 3/7] crypto: sahara: check return value of sg_nents_for_len

2015-11-04 Thread LABBE Corentin
The sg_nents_for_len() function could fail, this patch add a check for its return value. Signed-off-by: LABBE Corentin --- drivers/crypto/sahara.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/crypto/sahara.c b/drivers/crypto/sahara.c index f68c24a..ea9f56a 100644 ---

[PATCH 4/7] crypto: qce: check return value of sg_nents_for_len

2015-11-04 Thread LABBE Corentin
The sg_nents_for_len() function could fail, this patch add a check for its return value. Signed-off-by: LABBE Corentin --- drivers/crypto/qce/ablkcipher.c | 8 drivers/crypto/qce/sha.c| 5 + 2 files changed, 13 insertions(+) diff --git a/drivers/crypto/qce/ablkcipher.c b/dr

[PATCH 7/7] crypto: amcc: check return value of sg_nents_for_len

2015-11-04 Thread LABBE Corentin
The sg_nents_for_len() function could fail, this patch add a check for its return value. Signed-off-by: LABBE Corentin --- drivers/crypto/amcc/crypto4xx_core.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/crypto/amcc/crypto4xx_core.c b/drivers/crypto/amcc/crypto4xx_core.c ind

Re: [PATCH] sparc64: Fix numa distance values

2015-11-04 Thread David Miller
From: Nitin Gupta Date: Mon, 2 Nov 2015 16:30:24 -0500 > Orabug: 21896119 > > Use machine descriptor (MD) to get node latency > values instead of just using default values. > > Testing: > On an T5-8 system with: > - total nodes = 8 > - self latencies = 0x26d18 > - latency to other nodes = 0

[PATCH 6/7] crypto: caam: check return value of sg_nents_for_len

2015-11-04 Thread LABBE Corentin
The sg_nents_for_len() function could fail, this patch add a check for its return value. We do the same for sg_count since it use sg_nents_for_len(). Signed-off-by: LABBE Corentin --- drivers/crypto/caam/caamhash.c | 24 1 file changed, 24 insertions(+) diff --git a/dri

Re: [Xen-devel] Linux 4.4 MW: Boot under Xen fails with CONFIG_DEBUG_WX enabled: RIP: ptdump_walk_pgd_level_core

2015-11-04 Thread Boris Ostrovsky
x20e/0x440 [ 18.465847] PGD 2212067 PUD 0 [ 18.471564] Oops: [#1] SMP [ 18.477248] Modules linked in: [ 18.482918] CPU: 2 PID: 1 Comm: swapper/0 Not tainted 4.3.0-mw-20151104-linus-doflr+ #1 [ 18.488804] Hardware name: MSI MS-7640/890FXA-GD70 (MS-7640) , BIOS V1.8B1 09/13/2010 [ 18.49

Re: [PATCH] bpf: add mod default A and X test cases

2015-11-04 Thread Daniel Borkmann
On 11/04/2015 08:36 PM, Yang Shi wrote: When running "mod X" operation, if X is 0 the filter has to be halt. Add new test cases to cover A = A mod X if X is 0, and A = A mod 1. CC: Xi Wang CC: Zi Shen Lim Signed-off-by: Yang Shi LGTM! Acked-by: Daniel Borkmann -- To unsubscribe from this

[PATCH v2 0/2] Power management callbacks for irqchips

2015-11-04 Thread Soren Brinkmann
Hi, we recently discussed how to handle power management with GPIO devices that can generate interrupts here: https://lkml.org/lkml/2015/10/23/305. At the end of that discussion stood Lars' suggestion to add a new pair of callbacks to the irqchip for this purpose. This is a first, naive implementa

[PATCH 5/7] crypto: picoxcell: check return value of sg_nents_for_len

2015-11-04 Thread LABBE Corentin
The sg_nents_for_len() function could fail, this patch add a check for its return value. In the same time, we remove sg_count() as it is used as an alias of sg_nents_for_len. Signed-off-by: LABBE Corentin --- drivers/crypto/picoxcell_crypto.c | 48 +++ 1 file

[PATCH v2 1/2] genirq: Add irq_pm_(get|put) callbacks to the irqchip

2015-11-04 Thread Soren Brinkmann
Add two new IRQ chip callbacks for power management purposes. These callbacks are supposed to bring the HW into a state that allows it to generate interrupts. The callbacks are called in request_irq and free_irq, respectively, from normal context. Cc: Thomas Gleixner Suggested-by: Lars-Peter Clau

[PATCH 2/7] crypto: talitos: check return value of sg_nents_for_len

2015-11-04 Thread LABBE Corentin
The sg_nents_for_len() function could fail, this patch add a check for its return value. Signed-off-by: LABBE Corentin --- drivers/crypto/talitos.c | 41 ++--- 1 file changed, 34 insertions(+), 7 deletions(-) diff --git a/drivers/crypto/talitos.c b/drivers/cr

[PATCH v2 2/2] gpio: zynq: Implement irq_pm_(get|put)

2015-11-04 Thread Soren Brinkmann
The driver uses runtime PM to leverage low power techniques. For use-cases using GPIO as interrupt the device needs to be in an appropriate state. Reported-by: John Linn Signed-off-by: Soren Brinkmann --- v2: - declare callbacks static --- drivers/gpio/gpio-zynq.c | 20 1

Re: [PATCH 0/8] MADV_FREE support

2015-11-04 Thread David Rientjes
On Sun, 1 Nov 2015, Daniel Micay wrote: > It can definitely be improved to cooperate well with THP too. I've been > following the progress, and most of the problems seem to have been with > the THP and that's a very active area of development. Seems best to deal > with that after a simple, working

Re: [PATCH] bpf: add mod default A and X test cases

2015-11-04 Thread Alexei Starovoitov
On Wed, Nov 04, 2015 at 11:36:37AM -0800, Yang Shi wrote: > When running "mod X" operation, if X is 0 the filter has to be halt. > Add new test cases to cover A = A mod X if X is 0, and A = A mod 1. > > CC: Xi Wang > CC: Zi Shen Lim > Signed-off-by: Yang Shi Acked-by: Alexei Starovoitov -- T

[PATCH] GFS2: Delete an unnecessary check before the function call "iput"

2015-11-04 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 4 Nov 2015 21:23:43 +0100 The iput() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- fs/gfs2/ops_f

Re: [PATCH] staging: android/ion.c - fixed coding style changes.

2015-11-04 Thread Greg KH
On Thu, Oct 29, 2015 at 09:38:12PM +, John Whitmore wrote: > Simple changes to block comments. > > Signed-off-by: John Whitmore > --- > drivers/staging/android/ion/ion.c | 31 ++- > 1 file changed, 18 insertions(+), 13 deletions(-) This does not apply to my tree

[patch] mm, oom: add comment for why oom_adj exists

2015-11-04 Thread David Rientjes
/proc/pid/oom_adj exists solely to avoid breaking existing userspace binaries that write to the tunable. Add a comment in the only possible location within the kernel tree to describe the situation and motivation for keeping it around. Signed-off-by: David Rientjes --- fs/proc/base.c | 10 +++

Re: [PATCH RESEND] tracing: Make tracing work when debugfs is not compiled or initialized.

2015-11-04 Thread Steven Rostedt
On Wed, 4 Nov 2015 10:54:42 -0800 Greg Kroah-Hartman wrote: > On Wed, Nov 04, 2015 at 10:03:39AM -0500, Steven Rostedt wrote: > > On Wed, 4 Nov 2015 09:11:18 +0800 > > Jiaxing Wang wrote: > > > > > Currently tracing_init_dentry() returns -ENODEV when debugfs is not > > > initialized, which cau

Re: [PATCH v2 3/4] get_maintainer: add --no-foo options to --help

2015-11-04 Thread Brian Norris
On Wed, Nov 04, 2015 at 11:48:44AM -0800, Joe Perches wrote: > On Wed, 2015-11-04 at 11:28 -0800, Brian Norris wrote: > > Many flag options are boolean and support both a positive and a negative > > invocation from the command line. Some of these are even mentioned by > > example (e.g., --nogit is

[PATCH] Staging: comedi: adv_pci_dio: fixed a comment style

2015-11-04 Thread Philippe Loctaux
Fixed a comment issue. Signed-off-by: Philippe Loctaux --- drivers/staging/comedi/drivers/adv_pci_dio.c | 44 ++-- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/drivers/staging/comedi/drivers/adv_pci_dio.c b/drivers/staging/comedi/drivers/adv_pci_dio.c

Re: [RESEND][PATCH] ARM: debug: add support for Palmchip 16550-like UART

2015-11-04 Thread Arnd Bergmann
On Tuesday 27 October 2015 12:57:57 Mans Rullgard wrote: > --- a/arch/arm/include/debug/8250.S > +++ b/arch/arm/include/debug/8250.S > @@ -9,6 +9,18 @@ > */ > #include > > +#ifdef CONFIG_DEBUG_UART_8250_PALMCHIP > + > +#undef UART_TX > +#undef UART_LSR > +#undef UART_MSR > + > +#define UART_T

Re: [PATCH 5/5] mm, page_owner: dump page owner info from dump_page()

2015-11-04 Thread Kirill A. Shutemov
On Wed, Nov 04, 2015 at 03:12:39PM -0500, Sasha Levin wrote: > On 11/04/2015 02:41 PM, Kirill A. Shutemov wrote: > >> + dump_page_owner(page); > > I tend to put dump_page() into random places during debug. Dumping page > > owner for all dump_page() cases can be too verbose. > > > > Can we introdu

RE: 2 million usd

2015-11-04 Thread Erin Hoffman
From: Erin Hoffman Sent: Wednesday, November 04, 2015 12:07 PM To: Erin Hoffman Subject: 2 million usd Two million dollars donated to you personally, for claims contact (liliane_bettencourt...@outlook.com) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

[GIT PULL] workqueue changes for v4.4-rc1

2015-11-04 Thread Tejun Heo
Hello, Linus. This pull request contains one patch to make an unbound worker pool allocated from the NUMA node containing it if such node exists. As unbound worker pools are node-affine by default, this makes most pools allocated on the right node. Thanks. The following changes since commit 25c

[RFC PATCH 0/3]perf/core: extend perf_reg and perf_sample_regs_intr

2015-11-04 Thread Madhavan Srinivasan
This patchset extend the perf sample regs infrastructure to include architecture specific regs. Current perf_sample_regs_intr exports only registers in the pt_regs to perf.data using PERF_SAMPLE_REGS_INTR sample type. But sometimes we end up looking for or prefer raw register values at the interrup

[RFC PATCH 2/3]perf/powerpc: update macros and add regs to arch_misc_reg struct

2015-11-04 Thread Madhavan Srinivasan
Patch updates the arch_misc_regs struct (arch/powerpc/ptrace.h) with arch/powerpc specific regs (PMU regs). Updates asm/perf_regs.h and perf_regs.c with corresponding macros to export the arch_misc_reg values. Signed-off-by: Madhavan Srinivasan Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Peter Zijl

[RFC PATCH 3/3]perf/powerpc: Functions to update arch_misc_regs

2015-11-04 Thread Madhavan Srinivasan
Patch adds function to update the arch_misc_reg struct and an arch specific perf_sample_regs_intr() to hook up arch_misc_regs to perf_regs pointer. Also makes perf_sample_regs_intr() in kernel/event/core.c as __weak__ function to make arch specific implementation to replace. Signed-off-by: Madhava

[RFC PATCH 1/3] perf/core: extend perf_regs to include arch specific regs

2015-11-04 Thread Madhavan Srinivasan
As a foundation patch, new structure called arch_misc_regs added to perf_regs. And perf_reg_value() is modified to expect perf_regs instead of pt_regs. This way, perf_reg_value() can decide on the struct to pick based on the register idx. Signed-off-by: Madhavan Srinivasan Cc: Thomas Gleixner Cc

Re: [PATCH v3 0/4] SysFS driver for QEMU fw_cfg device

2015-11-04 Thread Gabriel L. Somlo
On Mon, Oct 05, 2015 at 03:18:05PM +0200, Paolo Bonzini wrote: > > > On 05/10/2015 14:50, Peter Maydell wrote: > > If you want to try to support "firmware might also be reading > > fw_cfg at the same time as the kernel" this is a (painful) > > problem regardless of how the kernel figures out whet

Re: [PATCH v2 3/4] get_maintainer: add --no-foo options to --help

2015-11-04 Thread Brian Norris
On Wed, Nov 04, 2015 at 11:48:44AM -0800, Joe Perches wrote: > Most options have both positive and negative forms. > The negative forms for -- are --no and --no-. I just noticed you included both --no and --no-. I didn't even notice that Perl supported both variants here. Good thing the clueless o

[GIT PULL] libata changes for v4.4-rc1

2015-11-04 Thread Tejun Heo
Hello, Linus. Most are ahci and other device specific additions. Dan cleaned up ahci IRQ handling to prepare for future MSIX changes. On the libata core side, Vinayak updated SG handling so that NCQ commands can be issued through SG_IO and Christoph cleaned up code a bit. There's one merge from

Re: [PATCH 5/8] mm: move lazily freed pages to inactive list

2015-11-04 Thread Johannes Weiner
On Fri, Oct 30, 2015 at 04:01:41PM +0900, Minchan Kim wrote: > MADV_FREE is a hint that it's okay to discard pages if there is memory > pressure and we use reclaimers(ie, kswapd and direct reclaim) to free them > so there is no value keeping them in the active anonymous LRU so this > patch moves th

[PATCH v4] staging: rdma: amso1100: c2: Remove wrapper function

2015-11-04 Thread Amitoj Kaur Chawla
This patch removes the c2_print_macaddr() wrapper function which calls the pr_debug standard kernel function only. c2_print_macaddr() has been replaced by directly calling pr_debug(). Signed-off-by: Amitoj Kaur Chawla --- Changes in v2: -Removed comment added in previous version Changes

Re: [PATCH] Staging: comedi: adv_pci_dio: fixed a comment style

2015-11-04 Thread Greg KH
On Wed, Nov 04, 2015 at 09:36:30PM +0100, Philippe Loctaux wrote: > Fixed a comment issue. What comment issue would that be? And please always use get_maintainer.pl to determine who to cc: patches to. thanks, greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

[PATCH v3 4/4] get_maintainer: --r (list reviewer) is on by default

2015-11-04 Thread Brian Norris
We don't consistenly document the default value next to the option listing, but we do have a list of defaults here, so let's keep it up to date. Signed-off-by: Brian Norris Cc: Andrew Morton Cc: Joe Perches --- v2 -> v3: no change v2: new in v2 https://lkml.org/lkml/2015/11/4/480 scrip

[PATCH v3 2/4] get_maintainer: it's '--pattern-depth', not '-pattern-depth'

2015-11-04 Thread Brian Norris
Though it appears that Perl's GetOptions will take either, the latter is not documented in the options listing. Signed-off-by: Brian Norris Cc: Andrew Morton Cc: Joe Perches --- v2 -> v3: * no change v2: new in v2 https://lkml.org/lkml/2015/11/4/481 scripts/get_maintainer.pl | 2 +- 1

Re: perf related lockdep bug

2015-11-04 Thread Andi Kleen
I tested my perf stress workload with the patch applied on 4.3, unfortunately got a hang again :-/ -Andi -- a...@linux.intel.com -- Speaking for myself only. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majo

Re: linux-next: Tree for Nov 4 (serial console & earlycon)

2015-11-04 Thread Peter Hurley
On 11/04/2015 01:43 PM, Randy Dunlap wrote: > On 11/03/15 22:38, Stephen Rothwell wrote: >> Hi all, >> >> Please do *not* add any material intended for v4.5 to your linux-next >> included branches until after v4.4-rc1 has been released. >> >> Changes since 20151103: >> > > > on x86_64: > > drive

[PATCH v3 1/4] get_maintainer: add missing documentation for --git-blame-signatures

2015-11-04 Thread Brian Norris
I really haven't used this option much myself, so feel free to improve on the documentation for it. I just noticed it while inspecting this script for undocumented features. Signed-off-by: Brian Norris Cc: Andrew Morton Cc: Joe Perches --- v2 -> v3: * no change v1 -> v2: https://lkml.org/l

[PATCH v3 3/4] get_maintainer: add --no-foo options to --help

2015-11-04 Thread Brian Norris
Many flag options are boolean and support both a positive and a negative invocation from the command line. Some of these are even mentioned by example (e.g., --nogit is mentioned as a default option), but they aren't explicitly mentioned in the list of options. It happens that some of these are pre

Re: [PATCH v3 1/7] spi: imx: Fix DMA transfer

2015-11-04 Thread Anton Bondarenko
On 03.11.2015 08:08, Robin Gong wrote: On Sun, Nov 01, 2015 at 03:41:35PM +0100, Anton Bondarenko wrote: From: Anton Bondarenko RX DMA tail data handling doesn't work correctly in many cases with current implementation. It happens because SPI core was setup to generates both RX watermark lev

Hello.

2015-11-04 Thread pcdndz
Would you be interested to partner with me on a profitable business project worth £1,000,000.00(One Million British Pound Sterling) regarding an unclaimed lottery prize.You will receive 40% of the total sum as my partner.If willing, reply with your full name and phone number for a comprehensive d

Re: [PATCH 2/5] do_div(): generic optimization for constant divisor on 32-bit machines

2015-11-04 Thread Nicolas Pitre
On Tue, 3 Nov 2015, Arnd Bergmann wrote: > On Tuesday 03 November 2015 13:32:17 kbuild test robot wrote: > > > >net/can/bcm.c: In function 'bcm_proc_show': > > >> net/can/bcm.c:223:1: warning: the frame size of 1156 bytes is larger > > >> than 1024 bytes [-Wframe-larger-than=] > > } > >

[PATCH v2] staging: rtl8712: rtl871x_sta_mgt: Remove wrapper function

2015-11-04 Thread Amitoj Kaur Chawla
Remove wrapper function mfree_sta_priv_lock() that can be replaced by a direct call to mfree_all_stainfo(). Signed-off-by: Amitoj Kaur Chawla --- Changes in v2: -Removed trailing whitespace drivers/staging/rtl8712/rtl871x_sta_mgt.c | 9 ++--- 1 file changed, 2 insertions(+), 7 dele

[GIT PULL] cgroup changes for v4.4-rc1

2015-11-04 Thread Tejun Heo
Hello, Linus. cgroup core saw several significant updates this cycle. * percpu_rwsem for threadgroup locking is reinstated. This was temporarily dropped due to down_write latency issues. Oleg's rework of percpu_rwsem which is scheduled to be merged in this merge window resolves the issue.

Re: [PATCH v3 1/4] get_maintainer: add missing documentation for --git-blame-signatures

2015-11-04 Thread Joe Perches
On Wed, 2015-11-04 at 12:58 -0800, Brian Norris wrote: > I really haven't used this option much myself, so feel free to improve > on the documentation for it. I just noticed it while inspecting this > script for undocumented features. > > Signed-off-by: Brian Norris > Cc: Andrew Morton > Cc: Joe

Re: [PATCH v2 01/13] mm: support madvise(MADV_FREE)

2015-11-04 Thread Daniel Micay
> Compared to MADV_DONTNEED, MADV_FREE's lazy memory free is a huge win to > reduce > page fault. But there is one issue remaining, the TLB flush. Both > MADV_DONTNEED > and MADV_FREE do TLB flush. TLB flush overhead is quite big in contemporary > multi-thread applications. In our production work

Re: [PATCH 2/2] iio: health: Add driver for the TI AFE4404 heart monitor

2015-11-04 Thread Andrew F. Davis
On 11/04/2015 01:40 PM, Jonathan Cameron wrote: On 02/11/15 20:37, Andrew F. Davis wrote: On 11/01/2015 02:52 PM, Jonathan Cameron wrote: On 31/10/15 16:31, Andrew F. Davis wrote: Add driver for the TI AFE4404 heart rate monitor and pulse oximeter. This device detects reflected LED light fluct

Ein Scheck in Höhe von € 950.000,00 Euro wurde per Post an Sie

2015-11-04 Thread Qatar Foundation
Hallo, Sie wurden ausgewählt, um € 950.000,00 Euro. Kontakt (Mr. Rashid Al-Naimi) per E-Mail an: qforg...@gmail.com, für weitere Informationen. Mit freundlichen Grüßen, Herr Rashid Al-Naimi. Kontakt e-mail: qforg...@gmail.com Chief Executive Officer von Qatar Foundation Stiftung. --- This emai

[PATCH 01/29] pci: Decouple quirks.c from i915_reg.h

2015-11-04 Thread ville . syrjala
From: Ville Syrjälä i915 register defines are going to become type safe, so going forward the register defines can't be used as straight numbers. Since quirks.c needs just a few extra register defines from i915_reg.h, decouple the two by defining the required registers locally in quirks.c. This w

Re: [PATCH v2 01/13] mm: support madvise(MADV_FREE)

2015-11-04 Thread Daniel Micay
> That's comparable to Android's pinning / unpinning API for ashmem and I > think it makes sense if it's faster. It's different than the MADV_FREE > API though, because the new allocations that are handed out won't have > the usual lazy commit which MADV_FREE provides. Pages in an allocation > that

Re: [PATCH v5] i40e: Look up MAC address in Open Firmware or IDPROM

2015-11-04 Thread Andy Shevchenko
On Wed, Nov 4, 2015 at 10:06 PM, Sowmini Varadhan wrote: > On (11/04/15 21:59), Andy Shevchenko wrote: >> > See earlier response. So, if maintainer is okay I'm also okay with those and you may take my tag. -- With Best Regards, Andy Shevchenko -- To unsubscribe from this list: send the line "u

Re: [RESEND][PATCH] ARM: debug: add support for Palmchip 16550-like UART

2015-11-04 Thread Måns Rullgård
Arnd Bergmann writes: > On Tuesday 27 October 2015 12:57:57 Mans Rullgard wrote: >> --- a/arch/arm/include/debug/8250.S >> +++ b/arch/arm/include/debug/8250.S >> @@ -9,6 +9,18 @@ >> */ >> #include >> >> +#ifdef CONFIG_DEBUG_UART_8250_PALMCHIP >> + >> +#undef UART_TX >> +#undef UART_LSR >> +

Re: [PATCH 2/5] do_div(): generic optimization for constant divisor on 32-bit machines

2015-11-04 Thread Måns Rullgård
Nicolas Pitre writes: > On Tue, 3 Nov 2015, Arnd Bergmann wrote: > >> On Tuesday 03 November 2015 13:32:17 kbuild test robot wrote: >> > >> >net/can/bcm.c: In function 'bcm_proc_show': >> > >> net/can/bcm.c:223:1: warning: the frame size of 1156 bytes is larger >> > >> than 1024 bytes [-Wfr

Re: [PATCH v2 01/13] mm: support madvise(MADV_FREE)

2015-11-04 Thread Andy Lutomirski
On Wed, Nov 4, 2015 at 12:00 PM, Shaohua Li wrote: > > The new proposal tries to fix the TLB issue. We introduce two madvise verbs: > > MARK_FREE. Userspace notifies kernel the memory range can be discarded. Kernel > just records the range in current stage. Should memory pressure happen, page > re

[PATCH 3/8] phy: rockchip-usb: move per-phy init into a separate function

2015-11-04 Thread Heiko Stuebner
This unclutters the loop in probe a lot and makes current (and future) error handling easier to read. Signed-off-by: Heiko Stuebner --- drivers/phy/phy-rockchip-usb.c | 82 -- 1 file changed, 47 insertions(+), 35 deletions(-) diff --git a/drivers/phy/phy-

[PATCH 1/8] phy: rockchip-usb: fix clock get-put mismatch

2015-11-04 Thread Heiko Stuebner
Currently the phy driver only gets the optional clock reference but never puts it again, neither during error handling nor on remove. Fix that by moving the clk_put to a devm-action that gets called at the right time when all other devm actions are done. Signed-off-by: Heiko Stuebner --- drivers

[PATCH 5/8] clk: rockchip: fix usbphy-related clocks

2015-11-04 Thread Heiko Stuebner
The otgphy clocks really only drive the phy blocks. These in turn contain plls that then generate the 480m clocks the clock controller uses to supply some other clocks like uart0, gpu or the video-codec. So fix this structure to actually respect that hirarchy and removed that usb480m fixed-rate cl

[PATCH 0/8] phy: rockchip-usb: correct pll handling and usb-uart

2015-11-04 Thread Heiko Stuebner
Patches 1-7 fix a long-standing issue with the clock-tree of Rockchip SoCs namely our ignorance of the usbphy-internal pll that creates the needed 480MHz but is also a supply-clock back to the core clock-controller in Rockchip SoCs. Till now that was worked around using a virtual clock in the cru

[PATCH 8/8] phy: rockchip-usb: add handler for usb-uart functionality

2015-11-04 Thread Heiko Stuebner
Most newer Rockchip SoCs provide the possibility to use a usb-phy as passthrough for the debug uart (uart2), making it possible to for example get console output without needing to open the device. This patch adds an early_initcall to enable this functionality conditionally via the commandline and

[PATCH 2/8] phy: rockchip-usb: introduce a common data-struct for the device

2015-11-04 Thread Heiko Stuebner
This introduces a common struct that holds data belonging to the umbrella device that contains all the phys and that we want to use later. Signed-off-by: Heiko Stuebner --- drivers/phy/phy-rockchip-usb.c | 24 +--- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git

[PATCH 6/8] ARM: dts: rockchip: add clock-cells for usb phy nodes

2015-11-04 Thread Heiko Stuebner
Add the #clock-cells properties for the usbphy nodes as they provide the pll-clocks now. Signed-off-by: Heiko Stuebner --- arch/arm/boot/dts/rk3066a.dtsi | 2 ++ arch/arm/boot/dts/rk3188.dtsi | 2 ++ arch/arm/boot/dts/rk3288.dtsi | 3 +++ 3 files changed, 7 insertions(+) diff --git a/arch/arm

<    3   4   5   6   7   8   9   10   >