Re: [PATCH 3/3] of: overlay: Pick up label symbols from overlays.

2016-05-10 Thread Pantelis Antoniou
Hi Rob, > On May 10, 2016, at 00:47 , Rob Herring wrote: > > On Mon, May 9, 2016 at 1:11 PM, Pantelis Antoniou > wrote: >> Insert overlay symbols to the base tree when applied. >> This makes it possible to apply an overlay that references

Re: [PATCH 04/23] drm: omapdrm: add DSI mapping

2016-05-10 Thread Tomi Valkeinen
On 08/03/16 18:39, Sebastian Reichel wrote: > This sets proper connector type for DSI connected panels. > > Signed-off-By: Sebastian Reichel > --- > drivers/gpu/drm/omapdrm/omap_drv.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/gpu/drm/omapdrm/omap_drv.c

Re: [PATCH v8 2/3] gpio: mmio: add DT support for memory-mapped GPIOs

2016-05-10 Thread Linus Walleij
On Sun, May 8, 2016 at 3:08 PM, Christian Lamparter wrote: > From: Álvaro Fernández Rojas > > This patch adds support for defining memory-mapped GPIOs which > are compatible with the existing gpio-mmio interface. Overall very nice, just waiting for

[PATCH RESEND 2/4] perf tools: Separate out code setting {back, fore}ground colors from ui_browser__color_config

2016-05-10 Thread Taeung Song
ui_browser__color_config() set foreground and background colors values in ui_browser__colorsets. But it can be reused by other functions so make ui_browser__config_colors() bringing it from ui_browser__color_config(). Cc: Namhyung Kim Cc: Jiri Olsa

Re: [PATCH 2/3] perf/x86/mbm: Fix mbm counting for RMID reuse

2016-05-10 Thread Peter Zijlstra
On Fri, May 06, 2016 at 04:44:14PM -0700, Vikas Shivappa wrote: > This patch tries to fix the issue where multiple perf instances try to > monitor the same PID. > MBM cannot count directly in the usual perf way of continuously adding > the diff of current h/w counter and the prev count to the

Re: [RFC PATCH 13/21] reset: uniphier: add reset driver for UniPhier PH1-LD4 SoC

2016-05-10 Thread Philipp Zabel
Hi Masahiro, Am Dienstag, den 10.05.2016, 18:50 +0900 schrieb Masahiro Yamada: > This series is just for review. > Please do not apply this patch. > > Signed-off-by: Masahiro Yamada No need for all these tiny drivers. If you probe from DT as Lee requests, you can

Re: [GIT PULL] at91: defconfig for 4.7 #2

2016-05-10 Thread Arnd Bergmann
On Tuesday 10 May 2016 14:20:42 Nicolas Ferre wrote: > Arnd, Olof, Kevin, > > A couple of defconfig updates for AT91. They both touch our own > sama5_defconfig only. > Merged into next/defconfig, thanks! Arnd

Re: [PATCH 20/25] arm64:ilp32: add sys_ilp32.c and a separate table (in entry.S) to use it

2016-05-10 Thread Zhangjian (Bamvor)
Hi, On 2016/5/10 19:48, Arnd Bergmann wrote: On Tuesday 10 May 2016 17:47:26 Zhangjian wrote: On 2016/5/10 16:36, Arnd Bergmann wrote: On Tuesday 10 May 2016 15:42:07 Zhangjian wrote: On 2016/5/6 20:37, Yury Norov wrote: "include/uapi/asm-generic/posix_types.h" is uapi, we could not check

Re: [RFC 12/13] mm, compaction: more reliably increase direct compaction priority

2016-05-10 Thread Vlastimil Babka
On 05/10/2016 09:36 AM, Vlastimil Babka wrote: > /* > - * compaction considers all the zone as desperately out of memory > - * so it doesn't really make much sense to retry except when the > - * failure could be caused by insufficient priority > + * Compaction backed off

Re: TODO Lists

2016-05-10 Thread Andy Shevchenko
On Fri, 2016-05-06 at 10:08 -0700, Darren Hart wrote: > At kernel summit Greg suggested sending our TODO lists to him. We'd > like to have > a place to keep a feature wishlist and cleanups that aren't "bugs" > that we can > update regularly and that is easy for people looking for work to find, >

[PATCH 0/2] perf, pt: Fix massive data losses

2016-05-10 Thread Alexander Shishkin
Hi Peter, Markus reported that PT is losing a lot of its data in cpu-wide mode. There are two problems in play here, both are amplified by the fact that cpu-wide events don't normally get re-scheduled, so if we don't disable them when their buffers are full, they get forever stuck. Hence two

[PATCH 1/2] perf/x86/intel/pt: Generate PMI in the STOP region as well

2016-05-10 Thread Alexander Shishkin
Currently, the PT driver always sets the PMI bit one region (page) before the STOP region so that we can wake up the consumer before we run out of room in the buffer and have to disable the event. However, we also need an interrupt in the last output region, so that we actually get to disable the

Re: [PATCHv5 8/8] mfd: as3722: Rid driver of superfluous I2C device ID structure

2016-05-10 Thread Javier Martinez Canillas
Hello Lee, On 05/10/2016 03:33 AM, Lee Jones wrote: > On Tue, 10 May 2016, Javier Martinez Canillas wrote: [snip] >>> >>> -static const struct i2c_device_id as3722_i2c_id[] = { >>> - { "as3722", 0 }, >>> - {}, >>> -}; >>> -MODULE_DEVICE_TABLE(i2c, as3722_i2c_id); >>> - >> >> Just a note

[PATCH 7/7] nilfs2: fix block comments

2016-05-10 Thread Ryusuke Konishi
This fixes block comments with proper formatting to eliminate the following checkpatch.pl warnings: "WARNING: Block comments use * on subsequent lines" "WARNING: Block comments use a trailing */ on a separate line" Signed-off-by: Ryusuke Konishi ---

[PATCH 4/7] nilfs2: avoid bare use of 'unsigned'

2016-05-10 Thread Ryusuke Konishi
This fixes checkpatch.pl warning "WARNING: Prefer 'unsigned int' to bare use of 'unsigned'". Signed-off-by: Ryusuke Konishi --- fs/nilfs2/alloc.c | 8 fs/nilfs2/alloc.h | 2 +- fs/nilfs2/bmap.c | 2 +- fs/nilfs2/bmap.h

[PATCH 5/7] nilfs2: remove unnecessary else after return or break

2016-05-10 Thread Ryusuke Konishi
This fixes the checkpatch.pl warning that suggests else is not generally useful after a break or return. Signed-off-by: Ryusuke Konishi --- fs/nilfs2/btree.c | 12 ++-- fs/nilfs2/direct.c | 6 +++--- fs/nilfs2/segment.c | 26 --

[PATCH 6/7] nilfs2: remove loops of single statement macros

2016-05-10 Thread Ryusuke Konishi
This fixes checkpatch.pl warning "WARNING: Single statement macros should not use a do {} while (0) loop". Signed-off-by: Ryusuke Konishi --- fs/nilfs2/the_nilfs.h | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/fs/nilfs2/the_nilfs.h

[PATCH 0/7] nilfs2 additional fixes

2016-05-10 Thread Ryusuke Konishi
Hi Andrew, Please append the following changes for the upcoming merge window: Ryusuke Konishi (7): nilfs2: do not emit extra newline on nilfs_warning() and nilfs_error() nilfs2: remove space before semicolon nilfs2: fix code indent coding style issue nilfs2: avoid bare

Re: [PATCH] Btrfs: fix fspath error deallocation

2016-05-10 Thread David Sterba
On Tue, May 10, 2016 at 02:56:20PM +0200, Vincent Stehlé wrote: > Make sure to deallocate fspath with vfree() in case of error in > init_ipath(). > > fspath is allocated with vmalloc() in init_data_container() since > commit 425d17a290c0 ("Btrfs: use larger limit for translation of logical to >

Re: [PATCH v2 00/22] ARM: dts: exynos: Add initial support for Odroid XU

2016-05-10 Thread Javier Martinez Canillas
Hello Krzysztof, On 05/10/2016 01:13 AM, Krzysztof Kozlowski wrote: > On 05/10/2016 12:05 AM, Javier Martinez Canillas wrote: >> Hello Krzysztof, >> >> On 05/08/2016 03:05 PM, Krzysztof Kozlowski wrote: >>> >>> Hi, >>> >>> Patchset adds necessary clocks, reorganizes existing stuff and finally >>>

[PATCH 1/4] ARM: ux500: remove unused regulator data

2016-05-10 Thread Arnd Bergmann
Most of the board-mop500-regulators.c file is never referenced and can simply be removed. Signed-off-by: Arnd Bergmann --- arch/arm/mach-ux500/board-mop500-regulators.c | 600 -- arch/arm/mach-ux500/board-mop500-regulators.h | 8 - 2 files changed, 608

Re: [PATCH] ARM: dts: exynos: Only Odroid XU3-family boards use DTSI with CPU thermal nodes

2016-05-10 Thread Anand Moon
Hi Krzysztof, On 10 May 2016 at 18:13, Krzysztof Kozlowski wrote: > On 05/10/2016 11:29 AM, Anand Moon wrote: >>> >>> I am sorry but I do not understand. >>> 1. Are you saying that my patch causes the issue? >>> 2. Are you saying that I should not send some patches

Re: [PATCH 3/6] doc: dt: Document the indirect overlay method.

2016-05-10 Thread Pantelis Antoniou
Hi Rob, > On May 10, 2016, at 00:59 , Rob Herring wrote: > > On Mon, May 9, 2016 at 1:05 PM, Pantelis Antoniou > wrote: >> Add a description of the indirect overlay method to the overlay >> documention file. > > Why? Please write some

RE: [PATCH v11 3/3] Bluetooth: hci_uart: Support firmware download for Marvell

2016-05-10 Thread Amitkumar Karwar
Hi Marcel, > From: Amitkumar Karwar [mailto:akar...@marvell.com] > Sent: Friday, May 06, 2016 9:02 PM > To: linux-blueto...@vger.kernel.org > Cc: linux-kernel@vger.kernel.org; Ganapathi Bhat; Amitkumar Karwar > Subject: [PATCH v11 3/3] Bluetooth: hci_uart: Support firmware download > for Marvell

Re: [PATCH v5 1/5] dax: fallback from pmd to pte on error

2016-05-10 Thread Jan Kara
On Fri 06-05-16 15:53:07, Vishal Verma wrote: > From: Dan Williams > > In preparation for consulting a badblocks list in pmem_direct_access(), > teach dax_pmd_fault() to fallback rather than fail immediately upon > encountering an error. The thought being that reducing

Re: [PATCH v5 3/6] regulator: rk808: Add regulator driver for RK818

2016-05-10 Thread Wadim Egorov
On 10.05.2016 16:03, Lee Jones wrote: > On Tue, 10 May 2016, Wadim Egorov wrote: > >> Add support for the rk818 regulator. The regulator module consists >> of 4 DCDCs, 9 LDOs, 1 switch and 1 BOOST converter which is used to >> power OTG and HDMI5V. >> >> The output voltages are configurable and

Re: [PATCH 2/3] of: Support hashtable lookups for phandles

2016-05-10 Thread Rob Herring
On Tue, May 10, 2016 at 8:45 AM, Pantelis Antoniou wrote: > Hi Rob, > >> On May 10, 2016, at 00:11 , Rob Herring wrote: >> >> On Mon, May 9, 2016 at 3:38 PM, Geert Uytterhoeven >> wrote: >>> Hi Pantelis, >>> >>> On

[PATCH 1/1] perf diff: Fix duplicated output column

2016-05-10 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim The commit b97511c5bc94 ("perf tools: Add overhead/overhead_children keys defaults via string") moved initialization of column headers but it missed to check the sort__mode. As 'perf diff' doesn't call perf_hpp__init(), the setup_overhead() also should

[PATCH 1/2] kselftests/ftrace: Detect tracefs mount point

2016-05-10 Thread Namhyung Kim
Currently ftracetest assumes tracing directory is located under $DEBUGFS/tracing. But it's possible to mount tracefs directly without debugfs. Signed-off-by: Namhyung Kim --- tools/testing/selftests/ftrace/ftracetest | 9 +++-- 1 file changed, 7 insertions(+), 2

Re: [PATCH v7 2/2] memory: atmel-ebi: add DT bindings documentation

2016-05-10 Thread Rob Herring
On Tue, May 10, 2016 at 8:08 AM, Jean-Jacques Hiblot wrote: > 2016-05-10 14:41 GMT+02:00 Boris Brezillon > : >> On Tue, 10 May 2016 12:07:42 +0100 >> Mark Rutland wrote: >> >>> On Tue, May 10, 2016 at 10:04:48AM

[PATCH 2/2] kselftests/ftrace: Add a test case for event pid filtering

2016-05-10 Thread Namhyung Kim
Check event is filtered by set_event_pid and options/event-fork. Signed-off-by: Namhyung Kim --- .../selftests/ftrace/test.d/event/event-pid.tc | 72 ++ 1 file changed, 72 insertions(+) create mode 100644

Re: [PATCH v1 1/1] skd_main: use %*ph to dump small buffers

2016-05-10 Thread Andy Shevchenko
On Tue, May 10, 2016 at 5:45 PM, Jens Axboe wrote: > On 05/06/2016 01:26 PM, Andy Shevchenko wrote: >> >> Replace custom approach by %*ph specifier to dump small buffers in hex >> format. >> >> Unfortunately we can't use print_hex_dump_bytes() here since tha gap is >> present,

Re: [PATCH 1/6] mm/compaction: split freepages without holding the zone lock

2016-05-10 Thread Vlastimil Babka
On 05/03/2016 07:22 AM, js1...@gmail.com wrote: > From: Joonsoo Kim > > We don't need to split freepages with holding the zone lock. It will cause > more contention on zone lock so not desirable. Fair enough, I just worry about the same thing as Hugh pointed out recently

Re: [PART1 V5 00/13] KVM: x86: Introduce SVM AVIC support

2016-05-10 Thread Paolo Bonzini
On 04/05/2016 21:09, Suravee Suthikulpanit wrote: > * Removing the RFC since I think this is getting ready. It's pretty good indeed. Since it's still disabled by default, I'm going ahead and merging it. Can you please test that it doesn't break nested virtualization? Paolo > * Rebase to

Re: [PATCH v2] kconfig: add unexpected data itself to warning

2016-05-10 Thread Michal Marek
On Wed, Apr 27, 2016 at 09:20:17PM +0200, Paul Bolle wrote: > Hi Michal, > > On wo, 2016-03-16 at 21:27 +0100, Paul Bolle wrote: > > If the .config parser runs into unexpected data it emits warnings > > like: > > .config:6911:warning: unexpected data > > > > Add the unexpected data itself to

[PATCH V7 02/11] PCI: generic, thunder: update to use generic ECAM API

2016-05-10 Thread Tomasz Nowicki
From: Jayachandran C Use functions provided by drivers/pci/ecam.h for mapping the config space in drivers/pci/host/pci-host-common.c, and update its users to use 'struct pci_config_window' and 'struct pci_ecam_ops' The changes are mostly to use 'struct pci_config_window'

[PATCH V7 05/11] acpi, pci: Support IO resources when parsing PCI host bridge resources.

2016-05-10 Thread Tomasz Nowicki
Platforms that have memory mapped IO port (such as ARM64) need special handling for PCI I/O resources. For host bridge's resource probing case these resources need to be fixed up with pci_register_io_range/pci_remap_iospace etc. The same I/O resources need to be released after hotplug removal so

[PATCH V7 08/11] pci, acpi: Support for ACPI based generic PCI host controller

2016-05-10 Thread Tomasz Nowicki
This patch is going to implement generic PCI host controller for ACPI world, similar to what pci-host-generic.c driver does for DT world. All such drivers, which we have seen so far, were implemented within arch/ directory since they had some arch assumptions (x86 and ia64). However, they all are

Re: [GIT PULL] at91: dt for 4.7 #3

2016-05-10 Thread Arnd Bergmann
On Friday 06 May 2016 16:56:19 Nicolas Ferre wrote: > Some more DT material for 4.7. The fix on the VInCo platform is due to an > error > on the Ethernet driver that was not taking the gpio flag into account. As it > is > about to be fixed now, I have to update the only DT that was making use of

Re: [GIT PULL] ARM: dts: exynos: Devfreq for v4.7

2016-05-10 Thread Arnd Bergmann
On Wednesday 04 May 2016 15:05:36 Krzysztof Kozlowski wrote: > Topic branch for Device Tree changes adding new generic devfreq driver, for > v4.7: > 1. Add bus nodes for Exynos3250, Exynos4x12, Exynos4210 and Exynos542x. > 2. Split out common PPMU (Performance Monitoring Unit) nodes into separate

Re: [BISECTED] Regression v4.6-rc1 : nanosleep doesn't return on AT91SAM9

2016-05-10 Thread Richard Genoud
2016-05-10 15:58 GMT+02:00 Richard Genoud : > Hi, > > Starting with 4.6-rc1, a sleep 1 doesn't return : > > execve("/bin/sleep", ["sleep", "1"], ["USER=root", "SHLVL=1", > "OLDPWD=/var", "HOME=/", "TERM=vt102", > "PATH=/sbin:/usr/sbin:/bin:/usr/bin", "SHELL=/bin/sh",

Re: [PATCH v5 5/5] dax: fix a comment in dax_zero_page_range and dax_truncate_page

2016-05-10 Thread Jan Kara
On Fri 06-05-16 15:53:11, Vishal Verma wrote: > The distinction between PAGE_SIZE and PAGE_CACHE_SIZE was removed in > > 09cbfea mm, fs: get rid of PAGE_CACHE_* and page_cache_{get,release} > macros > > The comments for the above functions described a distinction between > those, that is now

Re: [RFC PATCH 0/2] net: threadable napi poll loop

2016-05-10 Thread Eric Dumazet
On Tue, 2016-05-10 at 16:11 +0200, Paolo Abeni wrote: > Currently, the softirq loop can be scheduled both inside the ksofirqd kernel > thread and inside any running process. This makes nearly impossible for the > process scheduler to balance in a fair way the amount of time that > a given core

Re: [PATCH 00/28] LightNVM fixes for 4.7

2016-05-10 Thread Jens Axboe
On 05/06/2016 12:02 PM, Matias Bjørling wrote: Hi Jens, A collection of fixes and features destined for 4.7. They contain: Fixes all over the place from Arnd, Jeff, Sagi, Wenwei, Javier and me. Preparation patches from Simon to enable sysfs support. The final patch is delayed to 4.8.

Re: [PART1 V5 07/13] KVM: x86: Detect and Initialize AVIC support

2016-05-10 Thread Paolo Bonzini
On 10/05/2016 11:14, Borislav Petkov wrote: >> > +#define AVIC_LOGICAL_ID_ENTRY_GUEST_PHYSICAL_ID_MASK (0xFF) >> > +#define AVIC_LOGICAL_ID_ENTRY_VALID_MASK (1 << 31) >> > + >> > +#define AVIC_PHYSICAL_ID_ENTRY_HOST_PHYSICAL_ID_MASK (0xFFULL) >> > +#define

Re: [PART1 V5 08/13] svm: Add interrupt injection via AVIC

2016-05-10 Thread Paolo Bonzini
On 10/05/2016 11:19, Borislav Petkov wrote: >> > This patch introduces a new mechanism to inject interrupt using AVIC. >> > Since VINTR is not supported when enable AVIC, we need to inject > "... is not supported when AVIC is enabled ..." > > VINTR? The ability to request a vmexit as

Re: [PATCH] arm64: cpuinfo: Missing NULL terminator in compat_hwcap_str

2016-05-10 Thread Mark Rutland
On Tue, May 10, 2016 at 03:40:31PM +0100, Julien Grall wrote: > The loop that browses the array compat_hwcap_str will stop when a NULL > is encountered, however NULL is missing at the end of array. This will > result to overrun until one NULL is found somewhere in the memory. Probably worth

Re: [BISECTED] Regression v4.6-rc1 : nanosleep doesn't return on AT91SAM9

2016-05-10 Thread Richard Genoud
2016-05-10 16:47 GMT+02:00 Boris Brezillon : > Hi Richard, > > On Tue, 10 May 2016 16:25:25 +0200 > Richard Genoud wrote: > >> 2016-05-10 15:58 GMT+02:00 Richard Genoud : >> > Hi, >> > >> > Starting with

Re: [PATCH 2/6] mm/page_owner: initialize page owner without holding the zone lock

2016-05-10 Thread Vlastimil Babka
On 05/03/2016 07:23 AM, js1...@gmail.com wrote: From: Joonsoo Kim It's not necessary to initialized page_owner with holding the zone lock. It would cause more contention on the zone lock although it's not a big problem since it is just debug feature. But, it is better

[PATCH] ASoC: MAX9860: new driver

2016-05-10 Thread Peter Rosin
This is a driver for the MAX9860 Mono Audio Voice Codec. https://datasheets.maximintegrated.com/en/ds/MAX9860.pdf This driver does not support sidetone since the DVST register field is backwards with the mute near the maximum level instead of the minimum. Signed-off-by: Peter Rosin

Re: [RESEND PATCH 0/5] gcov fixes and maybe-uninitialized warnings

2016-05-10 Thread Michal Marek
On Mon, Apr 25, 2016 at 05:35:26PM +0200, Arnd Bergmann wrote: > Hi Michal, > > This is a resend of a series I originally sent back in February, but > unfortunately I never heard back from you. Could you apply these > patches for v4.7? > > [PATCH 1/5] Kbuild: change CC_OPTIMIZE_FOR_SIZE

Re: [PATCH 4/6] mm/page_owner: introduce split_page_owner and replace manual handling

2016-05-10 Thread Vlastimil Babka
On 05/03/2016 07:23 AM, js1...@gmail.com wrote: From: Joonsoo Kim split_page() calls set_page_owner() to set up page_owner to each pages. But, it has a drawback that head page and the others have different stacktrace because callsite of set_page_owner() is slightly

Re: [PATCH 3/6] mm/page_owner: copy last_migrate_reason in copy_page_owner()

2016-05-10 Thread Vlastimil Babka
On 05/03/2016 07:23 AM, js1...@gmail.com wrote: From: Joonsoo Kim Currently, copy_page_owner() doesn't copy all the owner information. It skips last_migrate_reason because copy_page_owner() is used for migration and it will be properly set soon. But, following patch

[GIT PULL 0/1] perf/urgent fix

2016-05-10 Thread Arnaldo Carvalho de Melo
he git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-urgent-for-mingo-20160510 for you to fetch changes up to ba07ebe02077751db101ed202bb690f504248575: perf diff: Fix duplicated output column (2016-05-10 10:37:05

Re: [PATCH 3/3] of: overlay: Pick up label symbols from overlays.

2016-05-10 Thread Rob Herring
On Tue, May 10, 2016 at 8:56 AM, Pantelis Antoniou wrote: > Hi Rob, > >> On May 10, 2016, at 00:47 , Rob Herring wrote: >> >> On Mon, May 9, 2016 at 1:11 PM, Pantelis Antoniou >> wrote: >>> Insert overlay

[PATCH RFC] ctype: update comments

2016-05-10 Thread Ilya V. Matveychikov
We have isspace() which may be used incorrectly as one might expect that it has the same meaning as POSIX isspace(). Also, kernel has outdated comment about of what is space and hard space exactely. Signed-off-by: Ilya V. Matveychikov --- include/linux/ctype.h | 15

Re: [PATCH v9 2/7] vfio/type1: vfio_find_dma accepting a type argument

2016-05-10 Thread Eric Auger
Hi Alex, On 05/10/2016 12:49 AM, Alex Williamson wrote: > On Wed, 4 May 2016 11:54:13 + > Eric Auger wrote: > >> In our RB-tree we now have slots of different types (USER and RESERVED). >> It becomes useful to be able to search for dma slots of a specific type or >>

Re: [PATCH perf/core v3 3/8] perf help: Make check_emacsclient_version to check strbuf APIs

2016-05-10 Thread Arnaldo Carvalho de Melo
Em Tue, May 10, 2016 at 02:47:17PM +0900, Masami Hiramatsu escreveu: > Make check_emacsclient_version() to check the return > value of strbuf APIs so that it can handle errors in > strbuf. > --- You forgot to add the S-o-B, since you provided it in the previous submission, I'm adding it now. -

Re: [PATCH 1/4] perf config: Introduce default_config_item for all default config key-value pairs

2016-05-10 Thread Arnaldo Carvalho de Melo
Em Tue, May 10, 2016 at 08:49:16PM +0900, Taeung Song escreveu: > Hi, Arnaldo, Namhyung and jirka :) > > On 05/10/2016 02:17 AM, Arnaldo Carvalho de Melo wrote: > > Em Mon, May 09, 2016 at 08:41:46PM +0900, Taeung Song escreveu: > > > We currently use values of actual type(int, bool, char *,

Re: [PATCH v2] kbuild: forbid kernel directory to contain spaces and colons

2016-05-10 Thread Michal Marek
On Sat, Apr 02, 2016 at 09:38:53PM +0200, Robert Jarzmik wrote: > When the kernel path contains a space or a colon somewhere in the path > name, the modules_install target doesn't work anymore, as the path names > are not enclosed in double quotes. It is also supposed that and O= build > will

[PATCH 0/5] ASoC: da7213: clocking related improvements for codec

2016-05-10 Thread Adam Thomson
This is a collection of updates with regards to clocking on da7213 codec, including power efficiency & stability improvements. Patches are based on v4.6-rc7 kernel. Adam Thomson (5): ASoC: da7213: Add DAI DAPM event to control DAI clocks ASoC: da7213: Add checking of SRM lock status before

[PATCH 5/5] ASoC: da7213: Allow PLL disable/bypass when using 32KHz sysclk

2016-05-10 Thread Adam Thomson
Current checking for PLL 32KHz mode fails in driver code when bypassing the PLL. This is due to an incorrect check of PLL source type when 32KHz clock is provided. Removal of this check resolves the issue. Signed-off-by: Adam Thomson ---

[PATCH 1/5] ASoC: da7213: Add DAI DAPM event to control DAI clocks

2016-05-10 Thread Adam Thomson
Currently, when Codec is I2S master DAI clocks are continuously generated even if all audio streams have stopped. To improve efficiency, control of the DAI clocks for master mode have been moved to a DAPM widget event so they're only enabled as required. Signed-off-by: Adam Thomson

[PATCH 4/5] ASoC: da7213: Update PLL ranges to improve locking at frequency boundary

2016-05-10 Thread Adam Thomson
This update changes the dividers used for ranges of input MCLK frequencies, to improve PLL locking for a corner case when at edge of MCLK frequency input divider range. Signed-off-by: Adam Thomson --- sound/soc/codecs/da7213.c | 26 +-

Re: [PATCH RESEND 2/3] pwm: kona: Add support for Broadcom iproc pwm controller

2016-05-10 Thread Yendapally Reddy Dhananjaya Reddy
Hi Thierry, On Tue, May 10, 2016 at 8:10 PM, Thierry Reding wrote: > On Tue, Mar 29, 2016 at 10:22:29AM -0400, Yendapally Reddy Dhananjaya Reddy > wrote: >> Update the kona driver to support Broadcom iproc pwm controller >> >> Signed-off-by: Yendapally Reddy Dhananjaya

Re: [PART1 V5 12/13] svm: Do not intercept CR8 when enable AVIC

2016-05-10 Thread Paolo Bonzini
On 04/05/2016 21:09, Suravee Suthikulpanit wrote: > +static inline bool svm_in_nested_interrupt_shadow(struct kvm_vcpu *vcpu) > +{ > + return is_guest_mode(vcpu) && (vcpu->arch.hflags & HF_VINTR_MASK); > +} > + A better name (yes, I know I suggested this one) is svm_nested_virtualize_tpr.

[PATCH 2/5] ASoC: da7213: Add checking of SRM lock status before enabling DAI

2016-05-10 Thread Adam Thomson
When the codec is DAI clk slave, and the SRM feature of the PLL is being used, the enabling of the DAI should occur only after the PLL has locked to the incoming WCLK. This update adds checking to the the DAI widget event, so it waits for SRM to lock. There is also a timeout if that lock doesn't

[PATCH 10/15] perf help: Make check_emacsclient_version to check strbuf APIs

2016-05-10 Thread Arnaldo Carvalho de Melo
From: Masami Hiramatsu Make check_emacsclient_version() to check the return value of strbuf APIs so that it can handle errors in strbuf. Signed-off-by: Masami Hiramatsu Cc: Namhyung Kim Cc: Peter Zijlstra

[PATCH 14/15] perf help: Do not use ALLOC_GROW in add_cmd_list

2016-05-10 Thread Arnaldo Carvalho de Melo
From: Masami Hiramatsu Replace ALLOC_GROW with normal realloc code in add_cmd_list() so that it can handle errors directly. Signed-off-by: Masami Hiramatsu Cc: Namhyung Kim Cc: Peter Zijlstra Link:

[PATCH 03/15] perf script: Fix incorrect python db-export error message

2016-05-10 Thread Arnaldo Carvalho de Melo
From: Chris Phlipot Fix the error message printed when attempting and failing to create the call path root incorrectly references the call return process. This change fixes the message to properly reference the failure to create the call path root. Signed-off-by: Chris

[PATCH V7 10/11] arm64, pci, acpi: Provide ACPI-specific prerequisites for PCI bus enumeration.

2016-05-10 Thread Tomasz Nowicki
ACPI requires to run acpi_pci_{add|remove}_bus while new PCI bus is created. This allows to do some ACPI-specific additional configuration, like PCI hotplug slot enumeration. In order to fulfill these requirements, we implement arch-specific pcibios_{add|remove}_bus calls and call

[PATCH V7 03/11] pci, of: Move the PCI I/O space management to PCI core code.

2016-05-10 Thread Tomasz Nowicki
No functional changes in this patch. PCI I/O space mapping code does not depend on OF, therefore it can be moved to PCI core code. This way we will be able to use it e.g. in ACPI PCI code. Suggested-by: Lorenzo Pieralisi Signed-off-by: Tomasz Nowicki

[PATCH V7 00/11] Support for generic ACPI based PCI host controller

2016-05-10 Thread Tomasz Nowicki
>From the functionality point of view this series may be split into the following logic parts: 1. New ECAM API and update for users of the pci-host-common API 2. Necessary fixes as the preparation for using driver on ARM64. 3. Use new MCFG interface and implement generic ACPI based PCI host

[RFC PATCH 1/2] net: implement threaded-able napi poll loop support

2016-05-10 Thread Paolo Abeni
This patch allows running each napi poll loop inside its own kernel thread. The rx mode can be enabled per napi instance via the newly addded napi_set_threaded() api; the requested kthread will be created on demand and shut down on device stop. Once that threaded mode is enabled and the kthread

[RFC PATCH 2/2] net: add sysfs attribute to control napi threaded mode

2016-05-10 Thread Paolo Abeni
this patch addis a new sysfs attribute to the network device class. Said attribute is a bitmask that allows controlling the threaded mode for all the napi instances of the given network device. The threaded mode can be switched only if related network device is down. Signed-off-by: Paolo Abeni

Re: [PATCH v5 3/5] dax: use sb_issue_zerout instead of calling dax_clear_sectors

2016-05-10 Thread Jan Kara
On Fri 06-05-16 15:53:09, Vishal Verma wrote: > From: Matthew Wilcox > > dax_clear_sectors() cannot handle poisoned blocks. These must be > zeroed using the BIO interface instead. Convert ext2 and XFS to use > only sb_issue_zerout(). > > Signed-off-by: Matthew

Re: [PATCH 2/5] remoteproc: core: Add rproc OF look-up functions

2016-05-10 Thread Lee Jones
On Fri, 06 May 2016, Bjorn Andersson wrote: > On Thu 05 May 06:29 PDT 2016, Lee Jones wrote: > > > - of_rproc_byindex(): look-up and obtain a reference to a rproc > > using the DT phandle "rprocs" and a index. > > > > - of_rproc_byname(): lookup and obtain a reference to a

Re: [PATCH v5 4/5] dax: for truncate/hole-punch, do zeroing through the driver if possible

2016-05-10 Thread Jan Kara
On Fri 06-05-16 15:53:10, Vishal Verma wrote: > +static bool dax_range_is_aligned(struct block_device *bdev, > + struct blk_dax_ctl *dax, unsigned int offset, > + unsigned int length) > +{ > + unsigned short sector_size =

Re: [PATCH v9 0/8] KVM PCIe/MSI passthrough on ARM/ARM64: kernel part 2/3: msi changes

2016-05-10 Thread Chalamarla, Tirumalesh
On 5/10/16, 12:34 AM, "Eric Auger" wrote: >Hi Chalamarla, >> On 5/9/16, 12:48 AM, "Eric Auger" wrote: >> >>> Hi Chalarmala, >>> On 05/05/2016 07:44 PM, Chalamarla, Tirumalesh wrote: Hi Eric, Does this series supports gicv3-its

Re: [BUG, bisect] tpm: Remove all uses of drvdata from the TPM Core

2016-05-10 Thread Jarkko Sakkinen
On Tue, May 10, 2016 at 06:55:23AM -0700, Jeremiah Mahler wrote: > all, > > My machine is locking up during suspend and I have bisected the > problem to this patch (e89f8b1ade9cc1a) in the latest linux-next > (20160506) kernel. > > Let me know if I can test patches or do anything else to help.

Re: [PATCH v1 1/1] skd_main: use %*ph to dump small buffers

2016-05-10 Thread Jens Axboe
On 05/06/2016 01:26 PM, Andy Shevchenko wrote: Replace custom approach by %*ph specifier to dump small buffers in hex format. Unfortunately we can't use print_hex_dump_bytes() here since tha gap is present, though one familiar with the code may change this. Did you test this? CC [M]

[PATCH] cocci: Find i2c drivers with an of_device table that isn't exported

2016-05-10 Thread Kieran Bingham
This script will then add the MODULE_DEVICE_TABLE(of, ...) to correctly export the device tree table Usage: spatch --sp-file scripts/coccinelle/i2c/i2c_table_missing_export.cocci . --in-place --- Javier, I've been working on scripts to automate some of the conversion processes involved in this

[PATCH] arm64: cpuinfo: Missing NULL terminator in compat_hwcap_str

2016-05-10 Thread Julien Grall
The loop that browses the array compat_hwcap_str will stop when a NULL is encountered, however NULL is missing at the end of array. This will result to overrun until one NULL is found somewhere in the memory. Fixes: 44b82b7700d0 "arm64: Fix up /proc/cpuinfo" Signed-off-by: Julien Grall

Re: [PATCH RESEND 2/3] pwm: kona: Add support for Broadcom iproc pwm controller

2016-05-10 Thread Thierry Reding
On Tue, Mar 29, 2016 at 10:22:29AM -0400, Yendapally Reddy Dhananjaya Reddy wrote: > Update the kona driver to support Broadcom iproc pwm controller > > Signed-off-by: Yendapally Reddy Dhananjaya Reddy > > --- > drivers/pwm/Kconfig| 6 +- >

[PATCH 15/15] perf tools: Remove xrealloc and ALLOC_GROW

2016-05-10 Thread Arnaldo Carvalho de Melo
From: Masami Hiramatsu Remove unused xrealloc() and ALLOC_GROW() from libperf. Signed-off-by: Masami Hiramatsu Cc: Namhyung Kim Cc: Peter Zijlstra Link:

[PATCH 11/15] perf tools: Make alias handler to check return value of strbuf

2016-05-10 Thread Arnaldo Carvalho de Melo
From: Masami Hiramatsu Make alias handler and sq_quote_argv to check the return value of strbuf APIs. In sq_quote_argv() calls die(), but this fix handles strbuf failure as a special case and returns to caller, since the caller - handle_alias() also has to check the return

[PATCH 12/15] perf header: Make topology checkers to check return value of strbuf

2016-05-10 Thread Arnaldo Carvalho de Melo
From: Masami Hiramatsu Make topology checkers to check the return value of strbuf APIs so that it can detect errors in it. Signed-off-by: Masami Hiramatsu Cc: Namhyung Kim Cc: Peter Zijlstra Link:

Re: [BISECTED] Regression v4.6-rc1 : nanosleep doesn't return on AT91SAM9

2016-05-10 Thread Nicolas Ferre
Le 10/05/2016 16:59, Richard Genoud a écrit : > 2016-05-10 16:47 GMT+02:00 Boris Brezillon > : >> Hi Richard, >> >> On Tue, 10 May 2016 16:25:25 +0200 >> Richard Genoud wrote: >> >>> 2016-05-10 15:58 GMT+02:00 Richard Genoud

[PATCH 09/15] perf probe: Check the return value of strbuf APIs

2016-05-10 Thread Arnaldo Carvalho de Melo
From: Masami Hiramatsu Check the return value of strbuf APIs in perf-probe related code, so that it can handle errors in strbuf. Signed-off-by: Masami Hiramatsu Cc: Namhyung Kim Cc: Peter Zijlstra Link:

[RFC PATCH 0/2] net: threadable napi poll loop

2016-05-10 Thread Paolo Abeni
Currently, the softirq loop can be scheduled both inside the ksofirqd kernel thread and inside any running process. This makes nearly impossible for the process scheduler to balance in a fair way the amount of time that a given core spends performing the softirq loop. Under high network load, the

Re: [PATCH 1/3] blktrace: delete garbage for message trace

2016-05-10 Thread Jeff Moyer
Shaohua Li writes: > commit f4a1d08ce65 introduces a regression. Originally for > BLK_TN_MESSAGE, we add message in trace and return. The commit ignores > the early return and add garbage info. > > Signed-off-by: Shaohua Li > --- > kernel/trace/blktrace.c | 1 + > 1

[PATCH] soc: samsung: pm_domains: Enable COMPILE_TEST for build coverage

2016-05-10 Thread Krzysztof Kozlowski
Introduce a platform selectable symbol EXYNOS_PM_DOMAINS which can be also toggled on by COMPILE_TEST for some build coverage. Signed-off-by: Krzysztof Kozlowski --- arch/arm/mach-exynos/Kconfig | 1 + drivers/soc/samsung/Kconfig | 4 drivers/soc/samsung/Makefile

Re: [PATCH] arm64: kgdb: Match pstate size with gdbserver protocol

2016-05-10 Thread Mark Rutland
On Tue, May 10, 2016 at 02:41:54PM +0100, Daniel Thompson wrote: > On 10/05/16 11:45, Mark Rutland wrote: > >>When commit 44679a4f142b ("arm64: KGDB: Add step debugging support") was > >>introduced it was paired with a gdb patch that made an incompatible > >>change to the gdbserver protocol. This

Re: [PATCH 3/6] doc: dt: Document the indirect overlay method.

2016-05-10 Thread Rob Herring
On Tue, May 10, 2016 at 8:59 AM, Pantelis Antoniou wrote: > Hi Rob, > >> On May 10, 2016, at 00:59 , Rob Herring wrote: >> >> On Mon, May 9, 2016 at 1:05 PM, Pantelis Antoniou >> wrote: >>> Add a description

[PATCH] arm64: exynos: Select SOC specific drivers

2016-05-10 Thread Krzysztof Kozlowski
Recently some Exynos drivers were moved from arm/mach-exynos to drivers/soc. Building the directory depends on SOC_SAMSUNG Kconfig option so we want it also on ARMv8 platforms, even though none of the drivers support ARMv8 SoCs. Signed-off-by: Krzysztof Kozlowski ---

Re: [PATCH 1/3] blktrace: delete garbage for message trace

2016-05-10 Thread Jens Axboe
On 05/09/2016 06:22 PM, Shaohua Li wrote: commit f4a1d08ce65 introduces a regression. Originally for BLK_TN_MESSAGE, we add message in trace and return. The commit ignores the early return and add garbage info. Applied this, and 2+3/3. Thanks Shaohua. -- Jens Axboe

Re: [BISECTED] Regression v4.6-rc1 : nanosleep doesn't return on AT91SAM9

2016-05-10 Thread Boris Brezillon
Hi Richard, On Tue, 10 May 2016 16:25:25 +0200 Richard Genoud wrote: > 2016-05-10 15:58 GMT+02:00 Richard Genoud : > > Hi, > > > > Starting with 4.6-rc1, a sleep 1 doesn't return : > > > > execve("/bin/sleep", ["sleep", "1"], ["USER=root",

Re: [PATCH v9 4/8] iommu/msi-iommu: initialization

2016-05-10 Thread Eric Auger
Hi Alex, On 05/09/2016 10:57 PM, Alex Williamson wrote: > On Wed, 4 May 2016 11:40:03 + > Eric Auger wrote: > >> iommu_get/put_msi_cookie allocates/frees the resource used to store >> and ref count the MSI doorbell mappings. iommu_msi_set_aperture >> initializes the

Re: [PATCH 2/4] ARM: ux500: move ab8500_regulator_plat_data into driver

2016-05-10 Thread Mark Brown
On Tue, May 10, 2016 at 03:59:48PM +0200, Arnd Bergmann wrote: > There is only one instance of ab8500_regulator_platform_data, and it's > safe to assume we won't ever merge another one, so it's rather pointless > to pass it through multiple levels of platform data pointers. I'm missing patches 1

[PATCH] xen/events: Don't move disabled irqs

2016-05-10 Thread Ross Lagerwall
Commit ff1e22e7a638 ("xen/events: Mask a moving irq") open-coded irq_move_irq() but left out checking if the IRQ is disabled. This broke resuming from suspend since it tries to move a (disabled) irq without holding the IRQ's desc->lock. Fix it by adding in a check for disabled IRQs. The resulting

<    1   2   3   4   5   6   7   8   9   10   >