[PATCH 2/2] kasan: add memcg kmem_cache test

2016-12-20 Thread Greg Thelen
Make a kasan test which uses a SLAB_ACCOUNT slab cache. If the test is run within a non default memcg, then it uncovers the bug fixed by "kasan: drain quarantine of memcg slab objects"[1]. If run without fix [1] it shows "Slab cache still has objects", and the kmem_cache structure is leaked. Here

Re: [tip:x86/urgent] x86/boot: Prevent KASLR and memmap collision

2016-12-20 Thread Dave Jiang
On 12/20/2016 01:31 AM, Ingo Molnar wrote: > > * tip-bot for Dave Jiang wrote: > >> Commit-ID: d1a5058c063d9e0aaaf4d360d0f8074ee55ed096 >> Gitweb: >> http://git.kernel.org/tip/d1a5058c063d9e0aaaf4d360d0f8074ee55ed096 >> Author: Dave Jiang >> AuthorDate: Tue, 29 Nov 2016 12:26:40 -07

[PATCH 06/15] hyperv: avoid unnecessary vmalloc

2016-12-20 Thread Roman Kagan
Make hypercall and tsc page allocation similar to the rest of the Hyper-V shared memory stuff instead of vmalloc-ing them. Also perform cleanup unconditionally which is safe. TODO: the skipping of free in case of a crash is probably no longer necessary, too. Signed-off-by: Roman Kagan --- driv

Re: kernel/bpf/verifier.c: 4 * possible unintended fallthrough ?

2016-12-20 Thread Josef Bacik
On Tue, Dec 20, 2016 at 11:34 AM, David Binderman wrote: Hello there, From: Alexei Starovoitov I've tried 4.9 and 5.2 and don't see this warning. As expected - I used a development version of gcc. Latest released version is 6.2 Is this 6.x gcc? 7.0 would be more accurate. I suspect i

[PATCH 03/15] hyperv: use standard bitops

2016-12-20 Thread Roman Kagan
Signed-off-by: Roman Kagan --- drivers/hv/channel.c| 8 +++- drivers/hv/connection.c | 9 +++-- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/drivers/hv/channel.c b/drivers/hv/channel.c index 5fb4c6d..f9df275 100644 --- a/drivers/hv/channel.c +++ b/drivers/hv/channel

[PATCH 07/15] hyperv: dedup cpuid definitions

2016-12-20 Thread Roman Kagan
Use the definitions already present in the uapi header throughout the guest driver, too. Signed-off-by: Roman Kagan --- drivers/hv/hyperv_vmbus.h | 19 --- drivers/hv/hv.c | 6 +++--- 2 files changed, 3 insertions(+), 22 deletions(-) diff --git a/drivers/hv/hyperv_vmb

[Patch v11 4/5] x86/cpufeature: enable RING3MWAIT for Knights Landing

2016-12-20 Thread Grzegorz Andrejczuk
Enable ring 3 MONITOR/MWAIT for Intel Xeon Phi x200 codenamed Knights Landing. The patch: - Sets CPU feature X86_FEATURE_RING3MWAIT. - Sets HWCAP2_RING3MWAIT bit in ELF_HWCAP2. - Adds the ring3mwait=disable command line parameter. - Sets bit 1 of the MSR MISC_FEATURE_ENABLES or clears it when th

Re: [tip:x86/urgent] x86/tools: Fix gcc-7 warning in relocs.c

2016-12-20 Thread hpa
On December 20, 2016 3:51:09 AM PST, Markus Trippelsdorf wrote: >On 2016.12.20 at 03:10 -0800, H. Peter Anvin wrote: >> On 12/20/16 02:00, Markus Trippelsdorf wrote: >> > On 2016.12.20 at 01:30 -0800, H. Peter Anvin wrote: >> >> I'd strongly prefer a non-data-dependent solution, specifically >add

[PATCH 05/15] hyperv: GFP_ATOMIC -> GFP_KERNEL

2016-12-20 Thread Roman Kagan
There's no need in GFP_ATOMIC when initializing the driver state. While at this, also rely on free_page() to take null argument. Signed-off-by: Roman Kagan --- drivers/hv/hv.c | 23 ++- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/drivers/hv/hv.c b/drivers

Re: [RFC PATCH 05/14] sparc64: Add PAGE_SHR_CTX flag

2016-12-20 Thread David Miller
From: Mike Kravetz Date: Sun, 18 Dec 2016 16:42:52 -0800 > On 12/17/2016 07:12 PM, David Miller wrote: >> From: Mike Kravetz >> Date: Fri, 16 Dec 2016 10:35:28 -0800 >> >>> @@ -166,6 +166,7 @@ bool kern_addr_valid(unsigned long addr); >>> #define _PAGE_EXEC_4V_AC(0x0080,UL)

Re: [RFC PATCH 04/14] sparc64: load shared id into context register 1

2016-12-20 Thread David Miller
From: Mike Kravetz Date: Sun, 18 Dec 2016 16:06:01 -0800 > Ok, let me try to find a way to eliminate these loads unless the application > is using shared context. > > Part of the issue is a 'backwards compatibility' feature of the processor > which loads/overwrites register 1 every time register

Re: [PATCH 1/3] NFC: trf7970a: add device tree option for 27MHz clock

2016-12-20 Thread Mark Greer
On Tue, Dec 20, 2016 at 01:29:13PM -0500, Geoff Lansberry wrote: > On Tue, Dec 20, 2016 at 1:11 PM, Mark Greer wrote: > > Hi Geoff. > > > > Please put the version in your subjects when submitting anything but the > > initial version of a patch (e.g., [PATCH v2 1/3]). > > > > Which series do you wa

Re: Potential issues (security and otherwise) with the current cgroup-bpf API

2016-12-20 Thread Daniel Mack
Hi, On 12/20/2016 06:23 PM, Andy Lutomirski wrote: > On Tue, Dec 20, 2016 at 2:21 AM, Daniel Mack wrote: > To clarify, since this thread has gotten excessively long and twisted, > I think it's important that, for hooks attached to a cgroup, you be > able to tell in a generic way whether somethin

Re: [PATCH v2] vfio/type1: Restore mapping performance with mdev support

2016-12-20 Thread Kirti Wankhede
On 12/20/2016 3:43 AM, Alex Williamson wrote: > As part of the mdev support, type1 now gets a task reference per > vfio_dma and uses that to get an mm reference for the task while > working on accounting. That's correct, but it's not fast. For some > paths, like vfio_pin_pages_remote(), we know

Re: [PATCH 1/3] NFC: trf7970a: add device tree option for 27MHz clock

2016-12-20 Thread Geoff Lansberry
On Tue, Dec 20, 2016 at 1:11 PM, Mark Greer wrote: > Hi Geoff. > > Please put the version in your subjects when submitting anything but the > initial version of a patch (e.g., [PATCH v2 1/3]). > > Which series do you want reviewed? > > Mark > -- Sorry about the double posting, I had forgotten to e

Re: Potential issues (security and otherwise) with the current cgroup-bpf API

2016-12-20 Thread Andy Lutomirski
On Tue, Dec 20, 2016 at 10:36 AM, Daniel Mack wrote: > Hi, > > On 12/20/2016 06:23 PM, Andy Lutomirski wrote: >> On Tue, Dec 20, 2016 at 2:21 AM, Daniel Mack wrote: > >> To clarify, since this thread has gotten excessively long and twisted, >> I think it's important that, for hooks attached to a

Re: [PATCH perf/core REBASE 3/5] tools lib bpf: Add bpf_prog_{attach,detach}

2016-12-20 Thread Joe Stringer
On 20 December 2016 at 06:32, Arnaldo Carvalho de Melo wrote: > Em Tue, Dec 20, 2016 at 11:18:51AM -0300, Arnaldo Carvalho de Melo escreveu: >> Em Wed, Dec 14, 2016 at 02:43:40PM -0800, Joe Stringer escreveu: >> > Commit d8c5b17f2bc0 ("samples: bpf: add userspace example for attaching >> > eBPF pr

Re: [PATCH net 0/3] Fix integration of eee-broken-modes

2016-12-20 Thread David Miller
From: Jerome Brunet Date: Mon, 19 Dec 2016 16:05:35 +0100 > The purpose of this series is to fix the integration of the ethernet phy > property "eee-broken-modes" [0] > > The v3 of this series has been merged, missing a fix (error reported by > kbuild robot) available in the v4 [1] > > More imp

Re: [RFC 10/10] kmod: add a sanity check on module loading

2016-12-20 Thread Luis R. Rodriguez
On Mon, Dec 19, 2016 at 6:53 PM, Rusty Russell wrote: > Where does this NULL-deref is the module isn't correctly loaded? No you are right, sorry -- I had confused a failure to mount over null deref, my mistake. >> *Iff* we want a sanity check to verify kmod's umh is not lying to us we >> need to

Re: [PATCH] staging: lustre: ldlm: use designated initializers

2016-12-20 Thread Dan Carpenter
On Tue, Dec 20, 2016 at 08:47:51AM -0800, Bruce Korb wrote: > > > > "{ NULL }" is valid ISO C, but unfortunately "{}" is not. > > Just make the thing "static const" and don't use an initializer. That also works, of course. regards, dan carpenter

[PATCH] pinctrl: update my email address

2016-12-20 Thread John Crispin
This patch updates my email address as I no longer have access to the old one. Signed-off-by: John Crispin --- drivers/pinctrl/mediatek/pinctrl-mt7623.c |2 +- drivers/pinctrl/mediatek/pinctrl-mtk-mt7623.h |2 +- drivers/pinctrl/pinctrl-falcon.c |2 +- drivers/pinctr

Re: [PATCH v3 2/2] iio: adc: hx711: Add IIO driver for AVIA HX711

2016-12-20 Thread Lars-Peter Clausen
On 12/20/2016 11:33 AM, Andreas Klinger wrote: >>> +static struct attribute *hx711_attributes[] = { >>> + &iio_dev_attr_gain.dev_attr.attr, >> >> For IIO devices the gain is typically expressed through the scale attribute. >> Which is kind of the inverse of gain. It would be good if this driver >

[PATCH] watchdog: update my email address

2016-12-20 Thread John Crispin
This patch updates my email address as I no longer have access to the old one. Signed-off-by: John Crispin --- drivers/watchdog/lantiq_wdt.c |4 ++-- drivers/watchdog/mt7621_wdt.c |4 ++-- drivers/watchdog/rt2880_wdt.c |2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --g

[PATCH] gpio: update my email address

2016-12-20 Thread John Crispin
This patch updates my email address as I no longer have access to the old one. Signed-off-by: John Crispin --- drivers/gpio/devres.c |2 +- drivers/gpio/gpio-mm-lantiq.c |2 +- drivers/gpio/gpio-stp-xway.c |2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a

Re: [PATCH net v4 0/4] fsl/fman: fixes for ARM

2016-12-20 Thread David Miller
From: Madalin Bucur Date: Mon, 19 Dec 2016 22:42:42 +0200 > The patch set fixes advertised speeds for QSGMII interfaces, disables > A007273 erratum workaround on non-PowerPC platforms where it does not > apply, enables compilation on ARM64 and addresses a probing issue on > non PPC platforms. >

[PATCH] tty: update my email address

2016-12-20 Thread John Crispin
This patch updates my email address as I no longer have access to the old one. Signed-off-by: John Crispin --- drivers/tty/serial/lantiq.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/lantiq.c b/drivers/tty/serial/lantiq.c index b88832e..2d9843d 10064

Re: [PATCH 3/3] nfc: trf7970a: Prevent repeated polling from crashing the kernel

2016-12-20 Thread Mark Greer
On Tue, Dec 20, 2016 at 11:16:32AM -0500, Geoff Lansberry wrote: > From: Jaret Cantu > > Repeated polling attempts cause a NULL dereference error to occur. > This is because the state of the trf7970a is currently reading but > another request has been made to send a command before it has finished

Re: [PATCH] ARM: dts: sun8i: add a delay after reset xr819 on Orange Pi Zero

2016-12-20 Thread Maxime Ripard
On Tue, Dec 20, 2016 at 01:58:26PM +0800, Icenowy Zheng wrote: > XR819 seems to need a delay after its reset line to be deasserted, > otherwise it may not respond MMC commands correctly, and fail to > initialize. > > Add a 200ms delay in the mmc-pwrseq. > > Signed-off-by: Icenowy Zheng Applied,

[PATCH] mtd: update my email address

2016-12-20 Thread John Crispin
This patch updates my email address as I no longer have access to the old one. Signed-off-by: John Crispin --- drivers/mtd/maps/lantiq-flash.c |4 ++-- drivers/mtd/nand/xway_nand.c|2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mtd/maps/lantiq-flash.c b/

[PATCH 4/4 v2] of/overlay: test count and destroy_last

2016-12-20 Thread Heinrich Schuchardt
In the unit tests check that the functions of_overlay_destroy_last() and of_overlay_count() work as expected. Signed-off-by: Heinrich Schuchardt --- v2: Added this patch drivers/of/unittest.c | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/drivers/of

[PATCH 0/4 v2] of/overlay: sysfs based ABI for dt overlays

2016-12-20 Thread Heinrich Schuchardt
Currently the kernel only supplies an internal API for creating and destroying device tree overlays. For some boards vendor specific kernel modules exist for managing device tree overlays but they have not been upstreamed or upstreaming stalled. https://lkml.org/lkml/2015/6/12/624 https://lkml.org

[PATCH 3/4 v2] of/overlay: documentation for sysfs ABI

2016-12-20 Thread Heinrich Schuchardt
The sysfs filesystem ABI to load and unload device tree overlays is decribed. Signed-off-by: Heinrich Schuchardt --- v2: Change sysfs path to /sys/firmware/devicetree/overlays .../ABI/testing/sysfs-firmware-devicetree-overlays | 24 ++ 1 file changed, 24 ins

[PATCH 2/4 v2] of/overlay: sysfs based ABI for dt overlays

2016-12-20 Thread Heinrich Schuchardt
Currently the kernel only supplies an internal API for creating and destroying device tree overlays. For some boards vendor specific kernel modules exist for managing device tree overlays but the have not been upstreamed. This patch provides a sysfs based ABI for creation and destruction of dt ov

[PATCH 1/4 v2] of/overlay: add API function to count and pop last

2016-12-20 Thread Heinrich Schuchardt
To allow building interfaces which are not id based two new functions are added to the device tree overlay API: of_overlay_count- counts the loaded overlays of_overlay_destroy_last - removes the last overlay loaded Signed-off-by: Heinrich Schuchardt --- v2: Add missing inline at

[PATCH 0/3] Update LZ4 compressor module

2016-12-20 Thread Sven Schmidt
This patchset is for updating the LZ4 compression module to a version based on LZ4 v1.7.2 allowing to use the fast compression algorithm aka LZ4 fast which provides an "acceleration" parameter as a tradeoff between compression ratio and compression speed. We will use LZ4 fast in order to support

[PATCH 2/3] fs/pstore: fs/squashfs: Change lz4 compressor functions to work with new version

2016-12-20 Thread Sven Schmidt
This patch updates the fs/pstore and fs/squashfs to work with the new LZ4 kernel module version. Signed-off-by: Sven Schmidt <4ssch...@informatik.uni-hamburg.de> --- fs/pstore/platform.c | 11 +-- fs/squashfs/lz4_wrapper.c | 3 +-- 2 files changed, 6 insertions(+), 8 deletions(-) d

[PATCH 1/3] crypto: Change lz4 modules to work with new lz4 compressor module version

2016-12-20 Thread Sven Schmidt
This patch updates the crypto modules using LZ4 compression to work with the new LZ4 kernel module version. Signed-off-by: Sven Schmidt <4ssch...@informatik.uni-hamburg.de> --- crypto/lz4.c | 93 +++-- crypto/lz4hc.c | 94 +++--

[PATCH 3/3] lib: Update LZ4 compressor module based on LZ4 v1.7.2.

2016-12-20 Thread Sven Schmidt
This patch updates LZ4 kernel module to LZ4 v1.7.2 by Yann Collet. The kernel module is inspired by the previous work by Chanho Min. The updated LZ4 module will not break existing code since there were alias methods added to ensure backwards compatibility. API changes: New method LZ4_compress_fas

Re: [PATCH net 1/2] net: netcp: ethss: fix errors in ethtool ops

2016-12-20 Thread David Miller
From: Murali Karicheri Date: Mon, 19 Dec 2016 17:55:56 -0500 > From: WingMan Kwok > > In ethtool ops, it needs to retrieve the corresponding > ethss module (gbe or xgbe) from the net_device structure. > Prior to this patch, the retrieving procedure only > checks for the gbe module. This patch

Re: [PATCH 1/2] ASoC: sun4i-spdif: remove legacy dapm components

2016-12-20 Thread Maxime Ripard
On Tue, Dec 20, 2016 at 03:49:13PM +0100, codekip...@gmail.com wrote: > From: Marcus Cooper > > The dapm components are now handled by the ALSA SoC SPDIF DIT driver > so can be removed. > > Signed-off-by: Marcus Cooper Acked-by: Maxime Ripard Thanks, Maxime -- Maxime Ripard, Free Electrons

[PATCH] checkpatch: stop worrying about include/asm/

2016-12-20 Thread Paul Bolle
include/asm/ got removed in v1.1.45. Two decades later it's about time to stop worrying whether patches still touch it. Signed-off-by: Paul Bolle --- Lightly tested. scripts/checkpatch.pl | 5 - 1 file changed, 5 deletions(-) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index

Re: [PATCH] staging: lustre: ldlm: use designated initializers

2016-12-20 Thread Dan Carpenter
On Tue, Dec 20, 2016 at 02:57:17PM +, Hammond, John wrote: > "{ NULL }" is valid ISO C, but unfortunately "{}" is not. In the kernel we don't care. We use lots of GCC extensions. regards, dan carpenter

Re: [PATCH net 2/2] net: netcp: ethss: fix 10gbe host port tx pri map configuration

2016-12-20 Thread David Miller
From: Murali Karicheri Date: Mon, 19 Dec 2016 17:55:57 -0500 > From: WingMan Kwok > > This patch adds the missing 10gbe host port tx priority map > configurations. > > Signed-off-by: WingMan Kwok > Signed-off-by: Murali Karicheri > Signed-off-by: Sekhar Nori Applied.

[PATCH 09/15] hyperv: unify Hyper-V msr definitions

2016-12-20 Thread Roman Kagan
Use the definitions already present in the uapi header. Besides, drop all bitfields for the msr values and use bitwise operations instead. Signed-off-by: Roman Kagan --- drivers/hv/hyperv_vmbus.h | 88 --- drivers/hv/hv.c | 150 ++--

Re: [PATCH 2/2] ASoC: sun4i-spdif: Add quirks to the spdif driver

2016-12-20 Thread Maxime Ripard
On Tue, Dec 20, 2016 at 03:49:14PM +0100, codekip...@gmail.com wrote: > From: Marcus Cooper > > It has been seen that some newer SoCs have a different TX FIFO > address and we already have the difference with the A31 requiring > a reset. Add a quirks structure so that these can be managed > easil

[PATCH 04/15] hyperv: define VMBus message type

2016-12-20 Thread Roman Kagan
Give a name to the constant (1) already used in the code. Signed-off-by: Roman Kagan --- arch/x86/include/uapi/asm/hyperv.h | 2 ++ drivers/hv/connection.c| 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/x86/include/uapi/asm/hyperv.h b/arch/x86/include/uapi

[PATCH 11/15] hyperv: uapi-fy monitored notification structures

2016-12-20 Thread Roman Kagan
Move structures for monitored notifications to the uapi header for userspace to be able to consume. Also observe that hv_monitor_parameter is by definition the same as hv_input_signal_event so use the latter and nuke the former. Signed-off-by: Roman Kagan --- arch/x86/include/uapi/asm/hyperv.h

[PATCH 3/3] power: supply: bq24735: always check for AC adapter presence in probe

2016-12-20 Thread Peter Rosin
So what if there is a status_gpio specified? bq24735_charger_is_present() do have a working fallback for the case of no status_gpio. Simplify this by not special casing setups w/o status_gpio, folding two consecutive if-blocks in the process. Signed-off-by: Peter Rosin --- drivers/power/supply/

[PATCH 10/15] hyperv: uapi-fy PostMessage and SignalEvent hypercall structures

2016-12-20 Thread Roman Kagan
Expose structures used for PostMessage and SignalEvent hypercalls in a uapi header. While doing so, simplify alignment handling and drop unnecessary complications in the connectionid field. Signed-off-by: Roman Kagan --- arch/x86/include/uapi/asm/hyperv.h | 18 ++ drivers/hv/hyp

Re: [RFC PATCH] Memory hotplug support for arm64 platform

2016-12-20 Thread Scott Branden
Hi Maciej, I have applied that patch ontop of the patches I previously sent out and tested. It does recognized the memory in /proc/iomem but I get memory corruption of the original system RAM soon after. It appears the page allocation gets corrupted. I will try to dig into it further but if

Re: [PATCH 0/2] net: hix5hd2_gmac: keep the compatible string not changed

2016-12-20 Thread David Miller
From: Dongpo Li Date: Tue, 20 Dec 2016 10:09:27 +0800 > This patch series fix the patch: > d0fb6ba75dc0 ("net: hix5hd2_gmac: add generic compatible string") > > The SoC hix5hd2 compatible string has the suffix "-gmac" and > we should not change its compatible string. > So we should name all the

Re: nfc: trf7970a: Prevent repeated polling from crashing the kernel

2016-12-20 Thread Justin Bronder
On 20/12/16 11:59 -0700, Mark Greer wrote: > On Tue, Dec 20, 2016 at 11:16:32AM -0500, Geoff Lansberry wrote: > > From: Jaret Cantu > > > > Repeated polling attempts cause a NULL dereference error to occur. > > This is because the state of the trf7970a is currently reading but > > another request

[PATCH 08/15] hyperv: dedup crash msr related definitions

2016-12-20 Thread Roman Kagan
Use the definitions already present in the uapi header throughout the guest driver, too. Signed-off-by: Roman Kagan --- drivers/hv/hyperv_vmbus.h | 11 --- drivers/hv/vmbus_drv.c| 6 +++--- 2 files changed, 3 insertions(+), 14 deletions(-) diff --git a/drivers/hv/hyperv_vmbus.h b/d

[PATCH 2/2] mm/memory_hotplug: set magic number to page->freelsit instead of page->lru.next

2016-12-20 Thread Yasuaki Ishimatsu
To identify that pages of page table are allocated from bootmem allocator, magic number sets to page->lru.next. But page->lru list is initialized in reserve_bootmem_region(). So when calling free_pagetable(), the function cannot find the magic number of pages. And free_pagetable() frees the pages

drivers/mtd/nand/xway_nand.c:235:1: error: type defaults to 'int' in declaration of 'MODULE_DEVICE_TABLE'

2016-12-20 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: e93b1cc8a8965da137ffea0b88e5f62fa1d2a9e6 commit: d47529b2e9fe0ec2eb1f072afad8849f52e385c4 gpio: don't include module.h in shared driver header date: 3 months ago config: mips-xway_defconfig (attached as .c

[PATCH 01/15] hyperv: consolidate TSC ref page definitions

2016-12-20 Thread Roman Kagan
Consolidate the guest-side and kvm-side definitions for Hyper-V TSC reference page. While at this, rewrite read_hv_clock_tsc using the existing helpers. Signed-off-by: Roman Kagan --- arch/x86/include/asm/kvm_host.h| 2 +- arch/x86/include/uapi/asm/hyperv.h | 4 +-- drivers/hv/hyperv_vmbu

[Patch 0/2] mm/memory_hotplug: fix hot remove bug

2016-12-20 Thread Yasuaki Ishimatsu
Here are two patches for memory hotplug: Yasuaki Ishimatsu (2): mm/sparse: use page_private() to get page->private value mm/memory_hotplug: set magic number to page->freelsit instead of page->lru.next arch/x86/mm/init_64.c | 2 +- mm/memory_hotplug.c | 4 ++-- mm/sparse.c |

Re: [GIT PULL 00/29] perf/core improvements and fixes

2016-12-20 Thread Ingo Molnar
nux (2016-12-12 21:58:13 -0800) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git > tags/perf-core-for-mingo-20161220 > > for you to fetch changes up to 9899694a7f67714216665

[tip:perf/urgent] perf tools: Move headers check into bash script

2016-12-20 Thread tip-bot for Jiri Olsa
Commit-ID: aeafd623f866c429307e3a4a39998f5f06b4f00e Gitweb: http://git.kernel.org/tip/aeafd623f866c429307e3a4a39998f5f06b4f00e Author: Jiri Olsa AuthorDate: Tue, 6 Dec 2016 14:18:51 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 15 Dec 2016 16:25:44 -0300 perf tools: Move h

[PATCH 1/2] mm/sparse: use page_private() to get page->private value

2016-12-20 Thread Yasuaki Ishimatsu
free_map_bootmem() uses page->private directly to set removing_section_nr argument. But to get page->private value, page_private() has been prepared. So free_map_bootmem() should use page_private() instead of page->private. Signed-off-by: Yasuaki Ishimatsu --- mm/sparse.c | 2 +- 1 file change

Re: [PATCH] ASoC: sun4i-i2s: Add quirks for newer SoCs

2016-12-20 Thread Maxime Ripard
Hi, On Tue, Dec 20, 2016 at 03:55:24PM +0100, codekip...@gmail.com wrote: > From: Marcus Cooper > > Newer SoCs have additional functionality so a quirks structure > has been added to handle them. So far we've seen the use of a > reset controller, a different address for the TXFIFO and varying >

[tip:perf/urgent] perf sched timehist: Show callchains for idle stat

2016-12-20 Thread tip-bot for Namhyung Kim
Commit-ID: ba957ebb54893acaf3dc846031073a63f021cee1 Gitweb: http://git.kernel.org/tip/ba957ebb54893acaf3dc846031073a63f021cee1 Author: Namhyung Kim AuthorDate: Thu, 8 Dec 2016 23:47:55 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 15 Dec 2016 16:25:45 -0300 perf sched time

[tip:perf/urgent] perf sched timehist: Add -I/--idle-hist option

2016-12-20 Thread tip-bot for Namhyung Kim
Commit-ID: 07235f84ece6b66f43334881806aad3467cf3d84 Gitweb: http://git.kernel.org/tip/07235f84ece6b66f43334881806aad3467cf3d84 Author: Namhyung Kim AuthorDate: Thu, 8 Dec 2016 23:47:54 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 15 Dec 2016 16:25:45 -0300 perf sched time

Re: [PATCH 2/7] PM / devfreq: exynos-ppmu: Use the regmap interface to handle the registers

2016-12-20 Thread Chanwoo Choi
2016-12-20 22:47 GMT+09:00 Tobias Jakobi : > Hey Chanwoo, > > > Chanwoo Choi wrote: >> On 2016년 12월 20일 17:08, Tobias Jakobi wrote: >>> Hello Chanwoo, >>> >>> >>> Chanwoo Choi wrote: Hi, On 2016년 12월 20일 04:47, Tobias Jakobi wrote: > Hello, > > I was just wondering what i

[tip:perf/urgent] perf sched timehist: Split is_idle_sample()

2016-12-20 Thread tip-bot for Namhyung Kim
Commit-ID: 96039c7c52e03b7d6dd773664e74b79e3ae9856a Gitweb: http://git.kernel.org/tip/96039c7c52e03b7d6dd773664e74b79e3ae9856a Author: Namhyung Kim AuthorDate: Thu, 8 Dec 2016 23:47:50 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 15 Dec 2016 16:25:44 -0300 perf sched time

[tip:perf/urgent] perf tools: Remove some needless __maybe_unused

2016-12-20 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 7e6a79981b7a797b37b1dbeca3fd6ae1cb6d881f Gitweb: http://git.kernel.org/tip/7e6a79981b7a797b37b1dbeca3fd6ae1cb6d881f Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 12 Dec 2016 10:52:10 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 15 Dec 2016 16:25:45 -0300 pe

[tip:perf/urgent] perf sched timehist: Skip non-idle events when necessary

2016-12-20 Thread tip-bot for Namhyung Kim
Commit-ID: a4b2b6f56e0cfe729cf89318d44b6a875b31d95a Gitweb: http://git.kernel.org/tip/a4b2b6f56e0cfe729cf89318d44b6a875b31d95a Author: Namhyung Kim AuthorDate: Thu, 8 Dec 2016 23:47:53 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 15 Dec 2016 16:25:44 -0300 perf sched time

[tip:perf/urgent] perf mem: Fix --all-user/--all-kernel options

2016-12-20 Thread tip-bot for Jiri Olsa
Commit-ID: 631ac41b46d293fb3ee43a809776c1663de8d9c6 Gitweb: http://git.kernel.org/tip/631ac41b46d293fb3ee43a809776c1663de8d9c6 Author: Jiri Olsa AuthorDate: Mon, 12 Dec 2016 11:35:39 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 15 Dec 2016 16:25:45 -0300 perf mem: Fix --a

Re: [PATCH] RDS: use rb_entry()

2016-12-20 Thread David Miller
From: Geliang Tang Date: Tue, 20 Dec 2016 22:02:18 +0800 > To make the code clearer, use rb_entry() instead of container_of() to > deal with rbtree. > > Signed-off-by: Geliang Tang Applied.

[tip:perf/urgent] perf evsel: Use variable instead of repeating lengthy FD macro

2016-12-20 Thread tip-bot for Jiri Olsa
Commit-ID: 83c2e4f3968d6871eed295f2f5675d3d70b01afa Gitweb: http://git.kernel.org/tip/83c2e4f3968d6871eed295f2f5675d3d70b01afa Author: Jiri Olsa AuthorDate: Mon, 12 Dec 2016 11:35:40 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 15 Dec 2016 16:25:45 -0300 perf evsel: Use v

Re: [PATCH] net/mlx5: use rb_entry()

2016-12-20 Thread David Miller
From: Geliang Tang Date: Tue, 20 Dec 2016 22:02:14 +0800 > To make the code clearer, use rb_entry() instead of container_of() to > deal with rbtree. > > Signed-off-by: Geliang Tang Applied.

[tip:perf/urgent] perf thread_map: Add thread_map__remove function

2016-12-20 Thread tip-bot for Jiri Olsa
Commit-ID: 38af91f01de0e160c17ae380acb5bab5d51066f4 Gitweb: http://git.kernel.org/tip/38af91f01de0e160c17ae380acb5bab5d51066f4 Author: Jiri Olsa AuthorDate: Mon, 12 Dec 2016 11:35:41 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 15 Dec 2016 16:25:45 -0300 perf thread_map:

[tip:perf/urgent] perf sched timehist: Introduce struct idle_time_data

2016-12-20 Thread tip-bot for Namhyung Kim
Commit-ID: 3bc2fa9cb829ccf6527e7117d9af769d93ee6d39 Gitweb: http://git.kernel.org/tip/3bc2fa9cb829ccf6527e7117d9af769d93ee6d39 Author: Namhyung Kim AuthorDate: Thu, 8 Dec 2016 23:47:51 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 15 Dec 2016 16:25:44 -0300 perf sched time

[tip:perf/urgent] perf sched timehist: Save callchain when entering idle

2016-12-20 Thread tip-bot for Namhyung Kim
Commit-ID: 699b5b920db04a6ff5c03a519e4c182aeb350952 Gitweb: http://git.kernel.org/tip/699b5b920db04a6ff5c03a519e4c182aeb350952 Author: Namhyung Kim AuthorDate: Thu, 8 Dec 2016 23:47:52 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 15 Dec 2016 16:25:44 -0300 perf sched time

Re: [PATCH] net_sched: sch_fq: use rb_entry()

2016-12-20 Thread David Miller
From: Geliang Tang Date: Tue, 20 Dec 2016 22:02:15 +0800 > To make the code clearer, use rb_entry() instead of container_of() to > deal with rbtree. > > Signed-off-by: Geliang Tang Applied.

Re: [PATCH] net_sched: sch_netem: use rb_entry()

2016-12-20 Thread David Miller
From: Geliang Tang Date: Tue, 20 Dec 2016 22:02:16 +0800 > To make the code clearer, use rb_entry() instead of container_of() to > deal with rbtree. > > Signed-off-by: Geliang Tang Applied.

[tip:perf/urgent] perf record: Force ignore_missing_thread for uid option

2016-12-20 Thread tip-bot for Jiri Olsa
Commit-ID: 23dc4f1586159470aac707caae526824dd077e25 Gitweb: http://git.kernel.org/tip/23dc4f1586159470aac707caae526824dd077e25 Author: Jiri Olsa AuthorDate: Mon, 12 Dec 2016 11:35:43 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 15 Dec 2016 16:25:46 -0300 perf record: Forc

[PATCH 0/2] mtd: spi-nor: add some new chip ids

2016-12-20 Thread John Crispin
These have been lingering inside the owrt/lede tree for a while. André Valentin (1): mtd: spi-nor: add support for mx25u3235f Ash Benz (1): mtd: spi-nor: add support for macronix mx25u25635f drivers/mtd/spi-nor/spi-nor.c |2 ++ 1 file changed, 2 insertions(+) -- 1.7.10.4

[tip:perf/urgent] perf annotate: Support jump instruction with target as second operand

2016-12-20 Thread tip-bot for Ravi Bangoria
Commit-ID: 3ee2eb6da20db1edad31070da38996e8e0f8adfa Gitweb: http://git.kernel.org/tip/3ee2eb6da20db1edad31070da38996e8e0f8adfa Author: Ravi Bangoria AuthorDate: Mon, 5 Dec 2016 21:26:46 +0530 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 15 Dec 2016 16:25:46 -0300 perf annotate:

Re: [mm PATCH 0/3] Page fragment updates

2016-12-20 Thread Alexander Duyck
On Mon, Dec 5, 2016 at 12:11 PM, Andrew Morton wrote: > On Mon, 5 Dec 2016 09:01:12 -0800 Alexander Duyck > wrote: > >> On Tue, Nov 29, 2016 at 10:23 AM, Alexander Duyck >> wrote: >> > This patch series takes care of a few cleanups for the page fragments API. >> > >> > ... >> >> It's been about

[PATCH 2/2] mtd: spi-nor: add support for mx25u3235f

2016-12-20 Thread John Crispin
From: André Valentin Signed-off-by: John Crispin Signed-off-by: André Valentin --- drivers/mtd/spi-nor/spi-nor.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c index 171adb3..f9a41dc 100644 --- a/drivers/mtd/spi-nor/spi-nor.

[PATCH 1/2] mtd: spi-nor: add support for macronix mx25u25635f

2016-12-20 Thread John Crispin
From: Ash Benz Signed-off-by: John Crispin Signed-off-by: Ash Benz --- drivers/mtd/spi-nor/spi-nor.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c index d0fc165..171adb3 100644 --- a/drivers/mtd/spi-nor/spi-nor.c +++ b/driv

[tip:perf/urgent] perf evsel: Allow to ignore missing pid

2016-12-20 Thread tip-bot for Jiri Olsa
Commit-ID: a359c17a7e1a9c99384499cf7b43d80867080789 Gitweb: http://git.kernel.org/tip/a359c17a7e1a9c99384499cf7b43d80867080789 Author: Jiri Olsa AuthorDate: Tue, 13 Dec 2016 08:46:22 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 15 Dec 2016 16:25:46 -0300 perf evsel: Allow

[tip:perf/urgent] tools lib bpf: Sync {tools,}/include/uapi/linux/bpf.h

2016-12-20 Thread tip-bot for Joe Stringer
Commit-ID: 0cb34dc2a37290f4069c5b01735c9725dc0a1b5c Gitweb: http://git.kernel.org/tip/0cb34dc2a37290f4069c5b01735c9725dc0a1b5c Author: Joe Stringer AuthorDate: Thu, 8 Dec 2016 18:46:14 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 15 Dec 2016 16:25:46 -0300 tools lib bpf:

[tip:perf/urgent] perf annotate: Fix jump target outside of function address range

2016-12-20 Thread tip-bot for Ravi Bangoria
Commit-ID: e216874cc1946d28084fa90e495e02725a29e25f Gitweb: http://git.kernel.org/tip/e216874cc1946d28084fa90e495e02725a29e25f Author: Ravi Bangoria AuthorDate: Mon, 5 Dec 2016 21:26:47 +0530 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 15 Dec 2016 16:25:46 -0300 perf annotate:

[tip:perf/urgent] tools lib bpf: use __u32 from linux/types.h

2016-12-20 Thread tip-bot for Joe Stringer
Commit-ID: 83d994d02bf4594d6bfa9b2b67befb6cff7f9380 Gitweb: http://git.kernel.org/tip/83d994d02bf4594d6bfa9b2b67befb6cff7f9380 Author: Joe Stringer AuthorDate: Thu, 8 Dec 2016 18:46:15 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 15 Dec 2016 16:25:46 -0300 tools lib bpf:

[tip:perf/urgent] tools lib bpf: Add flags to bpf_create_map()

2016-12-20 Thread tip-bot for Joe Stringer
Commit-ID: a5580c7f7a6d078696458d283df5d6547ad1c740 Gitweb: http://git.kernel.org/tip/a5580c7f7a6d078696458d283df5d6547ad1c740 Author: Joe Stringer AuthorDate: Thu, 8 Dec 2016 18:46:16 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 15 Dec 2016 16:25:47 -0300 tools lib bpf:

[tip:perf/urgent] samples/bpf: Make samples more libbpf-centric

2016-12-20 Thread tip-bot for Joe Stringer
Commit-ID: d40fc181ebec6b1d560e2167208276baa4f3bbf0 Gitweb: http://git.kernel.org/tip/d40fc181ebec6b1d560e2167208276baa4f3bbf0 Author: Joe Stringer AuthorDate: Wed, 14 Dec 2016 14:43:38 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 15 Dec 2016 16:25:47 -0300 samples/bpf: M

Re: [PATCH 2/5] dmaengine: Add support for custom data mapping

2016-12-20 Thread Abhishek Sahu
On 2016-12-19 23:22, Andy Gross wrote: On Mon, Dec 19, 2016 at 09:19:23PM +0530, Vinod Koul wrote: On Sun, Dec 18, 2016 at 11:06:42PM -0600, Andy Gross wrote: > On Sun, Dec 18, 2016 at 09:56:02PM +0530, Vinod Koul wrote: > > On Thu, Dec 15, 2016 at 03:25:52PM +0530, Abhishek Sahu wrote: > > > Th

Re: [PATCH] x86/microcode: Adjust ramdisk address when accessing by virtual address

2016-12-20 Thread Boris Ostrovsky
On 12/20/2016 09:40 AM, Borislav Petkov wrote: > > Yes please. Here's a minimal patch for 4.10. Please run it on your setup > to verify it fixes your issue. It boots fine on my boxes here, FWIW. > Without your Sunday's patches but with my AMD-related fixes (cpuid and eq_id=0) Tested-by: Boris Ost

[tip:perf/urgent] perf bench futex: Fix lock-pi help string

2016-12-20 Thread tip-bot for Davidlohr Bueso
Commit-ID: 9de3ffa1b714e6b8ebc1723f71bc9172a4470f7d Gitweb: http://git.kernel.org/tip/9de3ffa1b714e6b8ebc1723f71bc9172a4470f7d Author: Davidlohr Bueso AuthorDate: Thu, 15 Dec 2016 11:36:24 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 20 Dec 2016 09:37:40 -0300 perf bench

[tip:perf/urgent] perf trace: Check if MAP_32BIT is defined (again)

2016-12-20 Thread tip-bot for Jiri Olsa
Commit-ID: 2bd42f3aaa53ebe78b9be6f898b7945dd61f9773 Gitweb: http://git.kernel.org/tip/2bd42f3aaa53ebe78b9be6f898b7945dd61f9773 Author: Jiri Olsa AuthorDate: Thu, 15 Dec 2016 20:56:54 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 20 Dec 2016 09:37:40 -0300 perf trace: Check

[tip:perf/urgent] samples/bpf: Make perf_event_read() static

2016-12-20 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 96c2fb69b92fcf6006dfb3017d6d887f8321407b Gitweb: http://git.kernel.org/tip/96c2fb69b92fcf6006dfb3017d6d887f8321407b Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 15 Dec 2016 12:29:27 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 20 Dec 2016 09:37:33 -0300 sa

[tip:perf/urgent] perf diff: Do not overwrite valid build id

2016-12-20 Thread tip-bot for Kan Liang
Commit-ID: ed6c166cc7dc329736cace3affd2df984fb22ec8 Gitweb: http://git.kernel.org/tip/ed6c166cc7dc329736cace3affd2df984fb22ec8 Author: Kan Liang AuthorDate: Tue, 13 Dec 2016 10:29:44 -0500 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 20 Dec 2016 12:00:38 -0300 perf diff: Do not

[tip:perf/urgent] samples/bpf: Switch over to libbpf

2016-12-20 Thread tip-bot for Joe Stringer
Commit-ID: 43371c83f382bd495a2294e91a32f30763cfdbef Gitweb: http://git.kernel.org/tip/43371c83f382bd495a2294e91a32f30763cfdbef Author: Joe Stringer AuthorDate: Wed, 14 Dec 2016 14:43:39 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 20 Dec 2016 12:00:38 -0300 samples/bpf: S

[tip:perf/urgent] tools lib bpf: Add bpf_prog_{attach,detach}

2016-12-20 Thread tip-bot for Joe Stringer
Commit-ID: 5dc880de6e7c8566fbc8bc5dfc3a922d2d1c5ee3 Gitweb: http://git.kernel.org/tip/5dc880de6e7c8566fbc8bc5dfc3a922d2d1c5ee3 Author: Joe Stringer AuthorDate: Wed, 14 Dec 2016 14:05:26 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 20 Dec 2016 12:00:39 -0300 tools lib bpf:

Re: [PATCH v3] pwm: add depends, COMPILE_TEST and default y for brcm-iproc-pwm

2016-12-20 Thread Scott Branden
Hi Thierry, Could you pick up this patch? On 16-10-08 02:02 PM, Ray Jui wrote: On 10/8/2016 1:54 PM, Scott Branden wrote: - Add depends on COMMON_CLK for PWM_BCM_IPROC - Enable COMPILE_TEST for broader compile coverage. - Default y for IPROC PWM driver for IPROC SoCs. This allows you to turn

Re: [tip:x86/urgent] x86/tools: Fix gcc-7 warning in relocs.c

2016-12-20 Thread Markus Trippelsdorf
On 2016.12.20 at 10:32 -0800, h...@zytor.com wrote: > On December 20, 2016 3:51:09 AM PST, Markus Trippelsdorf > wrote: > >On 2016.12.20 at 03:10 -0800, H. Peter Anvin wrote: > >> On 12/20/16 02:00, Markus Trippelsdorf wrote: > >> > On 2016.12.20 at 01:30 -0800, H. Peter Anvin wrote: > >> >> I'd

Re: [PATCH] x86/microcode: Adjust ramdisk address when accessing by virtual address

2016-12-20 Thread Borislav Petkov
On Tue, Dec 20, 2016 at 02:26:40PM -0500, Boris Ostrovsky wrote: > Without your Sunday's patches but with my AMD-related fixes (cpuid and > eq_id=0) Can you test tip/x86/urgent with my patch ontop please? This: http://git.kernel.org/cgit/linux/kernel/git/tip/tip.git/log/?h=x86/urgent Thanks. --

[PATCH] ARM: dts: mediatek: update my email address

2016-12-20 Thread John Crispin
This patch updates my email address as I no longer have access to the old one. Signed-off-by: John Crispin --- arch/arm/boot/dts/mt7623-evb.dts |2 +- arch/arm/boot/dts/mt7623.dtsi|2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/mt7623-evb.dts b

<    1   2   3   4   5   6   7   8   >