Re: [PATCH v2 5/6] mailbox: Add generic mechanism for testing Mailbox Controllers

2015-08-13 Thread Jassi Brar
On Wed, Aug 12, 2015 at 3:53 PM, Lee Jones lee.jo...@linaro.org wrote: On Mon, 10 Aug 2015, Jassi Brar wrote: On Mon, Jul 27, 2015 at 3:14 PM, Lee Jones lee.jo...@linaro.org wrote: This particular Client implementation uses shared memory in order to pass messages between Mailbox users;

Re: [PATCH] perf script: Initialize callchain_param.record_mode

2015-08-13 Thread Milian Wolff
On Thursday, August 13, 2015 09:17:24 AM Jiri Olsa wrote: On Wed, Jul 22, 2015 at 08:48:40PM +0200, Milian Wolff wrote: Hey all, I recorded a perf data file using perf record --call-graph dwarf kwrite some large file when I report it I see backtraces pointing to the user space

Re: [PATCH v2 3/6] genirq: introduce irq_chip_set_type_parent() helper

2015-08-13 Thread Sudeep Holla
On 12/08/15 18:45, Grygorii Strashko wrote: It's expected to use this helper when the current domain doesn't implement .irq_set_type(), but expect the parent to do so. Signed-off-by: Grygorii Strashko grygorii.stras...@ti.com --- include/linux/irq.h | 1 + kernel/irq/chip.c | 20

Re: [PATCH v4 1/4] dt-bindings: brcmstb-gpio: document properties for wakeup

2015-08-13 Thread Linus Walleij
On Sat, Aug 1, 2015 at 3:17 AM, Gregory Fong gregory.0...@gmail.com wrote: Some brcmstb GPIO controllers can be used to wake from suspend, so use the de facto standard property 'wakeup-source' to mark the nodes of controllers with that capability. Also document interrupts-extended, which

Re: [PATCH v2 1/5] KVM: add kvm_has_request wrapper

2015-08-13 Thread Radim Krčmář
2015-08-12 21:57+0200, Christian Borntraeger: kvm_check_request is now somewhat a misnomer (what is the difference between test and check?) kvm_check_request has always been poetic; it uses two meanings of check, examine and tick off, at the same time. We also want something that clears the

Re: [PATCH v5 4/5] dax: fix mapping lifetime handling, convert to __pfn_t + kmap_atomic_pfn_t()

2015-08-13 Thread Boaz Harrosh
On 08/13/2015 06:01 AM, Dan Williams wrote: The primary source for non-page-backed page-frames to enter the system is via the pmem driver's -direct_access() method. The pfns returned by the top-level bdev_direct_access() may be passed to any other subsystem in the kernel and those sub-systems

Re: [PATCH] sched: sync with the cfs_rq when changing sched class

2015-08-13 Thread Yuyang Du
On Thu, Aug 13, 2015 at 02:55:55PM +0900, byungchul.p...@lge.com wrote: currently, a task load is synced with its cfs_rq, only when it leaves from fair class. we also need to sync it with cfs_rq when it returns back to fair class, too. Syncing it at the time it is switched to fair is not

Re: [PATCH RFC v2 0/2] hwspinlock: Introduce raw capability for hwspinlock_device

2015-08-13 Thread Ohad Ben-Cohen
On Wed, Jul 29, 2015 at 12:51 AM, Lina Iyer lina.i...@linaro.org wrote: Let's not make this more complicated than needed, so please add the hwcaps member to hwspinlock_device instead of to hwspinlock struct. We could always change this later if it proves to be insufficient. But this could

Re: linux-next: manual merge of the xen-tip tree with the tip tree

2015-08-13 Thread Ingo Molnar
* Peter Zijlstra pet...@infradead.org wrote: On Wed, Aug 12, 2015 at 02:44:52PM -0400, Boris Ostrovsky wrote: On 08/12/2015 02:36 PM, Peter Zijlstra wrote: On Wed, Aug 12, 2015 at 11:26:41AM -0700, H. Peter Anvin wrote: One option might be to do the addition in assembly, i.e.: i

Re: randconfig build error with next-20150812, in drivers/extcon/extcon-palmas.c

2015-08-13 Thread Roger Quadros
Hi, On 12/08/15 17:46, Jim Davis wrote: Building with the attached random configuration file, warning: (INTEL_SOC_DTS_IOSF_CORE PUNIT_ATOM_DEBUG) selects IOSF_MBI which has unmet direct dependencies (PCI) drivers/extcon/extcon-palmas.c: In function ‘palmas_gpio_id_detect’:

[PATCH V9 03/25] perf tools: Add Intel PT instruction decoder

2015-08-13 Thread Adrian Hunter
Add support for decoding instructions for Intel Processor Trace. The kernel x86 instruction decoder is copied for this. This essentially provides intel_pt_get_insn() which takes a binary buffer, uses the kernel's x86 instruction decoder to get details of the instruction and then categorizes it

Re: [PATCH] crypto: fix simple_return.cocci warnings

2015-08-13 Thread Herbert Xu
On Wed, Aug 12, 2015 at 12:50:17PM +0800, kbuild test robot wrote: drivers/crypto/qat/qat_common/adf_sriov.c:258:1-4: WARNING: end returns can be simpified and declaration on line 212 can be dropped Simplify a trivial if-return sequence. Possibly combine with a preceding function call.

[PATCH] perf script: Initialize callchain_param.record_mode

2015-08-13 Thread Jiri Olsa
On Wed, Jul 22, 2015 at 08:48:40PM +0200, Milian Wolff wrote: Hey all, I recorded a perf data file using perf record --call-graph dwarf kwrite some large file when I report it I see backtraces pointing to the user space code: perf report --stdio -g graph --no-children 16.36%

Re: [PATCH 2/2] zram: use crypto API to compress the page

2015-08-13 Thread Joonsoo Kim
On Thu, Aug 13, 2015 at 03:32:33PM +0800, Herbert Xu wrote: On Thu, Aug 13, 2015 at 04:19:41PM +0900, Joonsoo Kim wrote: If that optimization is really needed for the case that doesn't need tfm except fetching function pointer, we can implement sharable tfm in crypto subsystem. I'm

Re: [PATCH 1/2] crypto: export crypto_alg_list and rwsem

2015-08-13 Thread Joonsoo Kim
On Thu, Aug 13, 2015 at 03:29:18PM +0800, Herbert Xu wrote: On Thu, Aug 13, 2015 at 04:30:31PM +0900, Joonsoo Kim wrote: How about introducing new functions to search supported algorithm in kernel-side? As crypto API is used in more places, this interface would be requested more. Defined

Re: [PATCH] sched: sync with the cfs_rq when changing sched class

2015-08-13 Thread Peter Zijlstra
On Thu, Aug 13, 2015 at 02:55:55PM +0900, byungchul.p...@lge.com wrote: @@ -8023,16 +8036,7 @@ static void task_move_group_fair(struct task_struct *p, int queued) #ifdef CONFIG_SMP /* synchronize task with its prev cfs_rq */ - if (!queued) -

Re: [PATCH 1/3] drivers/gpio: Port gpio driver to ls1021a-qds platform

2015-08-13 Thread Alexander Stein
On Monday 03 August 2015 10:07:06, Linus Walleij wrote: Alexander Stein and Uwe Kleine-König are working on this driver for this kernel cycle so requesting their help in reviewing these three patches. Alexander/Uwe: can you see the patches, or will Shaveta need to resend them? Yep, I

[tip:perf/core] perf trace: Add missing clockid entries

2015-08-13 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 28ebb87c73f9c17266d4f7570d65a1e695df7d9d Gitweb: http://git.kernel.org/tip/28ebb87c73f9c17266d4f7570d65a1e695df7d9d Author: Arnaldo Carvalho de Melo a...@redhat.com AuthorDate: Tue, 11 Aug 2015 10:38:38 -0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Wed,

[tip:perf/core] perf trace: Beautify keyctl's option arg

2015-08-13 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: b62bee1bdea6d78e444183b04c81ce982a371571 Gitweb: http://git.kernel.org/tip/b62bee1bdea6d78e444183b04c81ce982a371571 Author: Arnaldo Carvalho de Melo a...@redhat.com AuthorDate: Tue, 11 Aug 2015 11:05:36 -0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Wed,

[tip:perf/core] perf trace: Use the FD beautifier for socket syscall fds

2015-08-13 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 8d8c66a248dfb9a7e517822b5ef87e357b1605bf Gitweb: http://git.kernel.org/tip/8d8c66a248dfb9a7e517822b5ef87e357b1605bf Author: Arnaldo Carvalho de Melo a...@redhat.com AuthorDate: Tue, 11 Aug 2015 10:57:02 -0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Wed,

[tip:perf/core] perf sort: Check for SRCLINE_UNKNOWN case in srcfile processing

2015-08-13 Thread tip-bot for Andi Kleen
Commit-ID: 76b10655818c939e257377f83992975a5f55ffb3 Gitweb: http://git.kernel.org/tip/76b10655818c939e257377f83992975a5f55ffb3 Author: Andi Kleen a...@linux.intel.com AuthorDate: Tue, 11 Aug 2015 06:36:55 -0700 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Wed, 12 Aug

[tip:perf/core] perf trace: Associate some more syscall args with the getname beautifier

2015-08-13 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 090389b6d95c046cc6caca2e7e00adc27829acf2 Gitweb: http://git.kernel.org/tip/090389b6d95c046cc6caca2e7e00adc27829acf2 Author: Arnaldo Carvalho de Melo a...@redhat.com AuthorDate: Mon, 10 Aug 2015 19:20:52 -0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Wed,

[PATCH v2] extcon: palmas: Fix build break due to devm_gpiod_get_optional API change

2015-08-13 Thread Chanwoo Choi
With commit b17d1bf16cc7 (gpio: make flags mandatory for gpiod_get functions) it becomes necessary to pass the flags argument. And this patch add the gpio header file to fix the build break when use random configuration file. Reported-by: Stephen Rothwell s...@canb.auug.org.au Signed-off-by:

[PATCH v2 2/4] irqchip: GICv3: Don't deactivate interrupts forwarded to a guest

2015-08-13 Thread Marc Zyngier
Commit 0a4377de3056 (genirq: Introduce irq_set_vcpu_affinity() to target an interrupt to a VCPU) added just what we needed at the lowest level to allow an interrupt to be deactivated by a guest. When such a request reaches the GIC, it knows it doesn't need to perform the deactivation anymore, and

[PATCH v2 4/4] irqchip: GIC: Don't deactivate interrupts forwarded to a guest

2015-08-13 Thread Marc Zyngier
Commit 0a4377de3056 (genirq: Introduce irq_set_vcpu_affinity() to target an interrupt to a VCPU) added just what we needed at the lowest level to allow an interrupt to be deactivated by a guest. When such a request reaches the GIC, it knows it doesn't need to perform the deactivation anymore, and

[PATCH v2 3/4] irqchip: GIC: Convert to EOImode == 1

2015-08-13 Thread Marc Zyngier
So far, GICv2 has been used in with EOImode == 0. The effect of this mode is to perform the priority drop and the deactivation of the interrupt at the same time. While this works perfectly for Linux (we only have a single priority), it causes issues when an interrupt is forwarded to a guest, and

Re: [PATCH v2 0/2] net: thunder: Add ACPI support.

2015-08-13 Thread Hanjun Guo
On 08/12/2015 11:36 PM, David Daney wrote: On 08/12/2015 08:23 AM, Catalin Marinas wrote: On Tue, Aug 11, 2015 at 01:04:55PM -0700, David Daney wrote: On 08/11/2015 11:49 AM, David Miller wrote: From: David Daney ddaney.c...@gmail.com Date: Mon, 10 Aug 2015 17:58:35 -0700 Change from v1:

Re: [PATCH v2 1/5] clocksource: mediatek: do not enable GPT_CLK_EVT when setup

2015-08-13 Thread Daniel Lezcano
On 07/22/2015 10:14 AM, Yingjoe Chen wrote: Spurious mtk timer interrupt is noticed at boot and cause kernel crash. It seems if GPT is enabled, it will latch irq status even when its IRQ is disabled. When irq is enabled afterward, we see spurious interrupt. Change init flow to only enable

Re: [PATCH v2 5/5] KVM: refactor asynchronous vcpu ioctl dispatch

2015-08-13 Thread Radim Krčmář
2015-08-12 22:03+0200, Christian Borntraeger: Am 05.08.2015 um 18:33 schrieb Radim Krčmář: diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c @@ -2252,12 +2252,15 @@ static long kvm_vcpu_ioctl(struct file *filp, * Special cases: vcpu ioctls that are asynchronous to vcpu execution,

Re: [PATCH v2 2/6] genirq: fix irqchip_set_wake_parent if IRQCHIP_SKIP_SET_WAKE

2015-08-13 Thread Sudeep Holla
On 12/08/15 18:45, Grygorii Strashko wrote: The irqchip_set_wake_parent should not fail if IRQ chip specifies IRQCHIP_SKIP_SET_WAKE. Otherwise, IRQ wakeup configuration can't be propagated properly through IRQ domains hierarchy. In case of TI OMAP DRA7 the issue reproduced with following

Re: [PATCH 0/2] x86/KASAN updates for 4.3

2015-08-13 Thread Will Deacon
Hi Ingo, On Thu, Aug 13, 2015 at 09:16:41AM +0100, Ingo Molnar wrote: * Ingo Molnar mi...@kernel.org wrote: * Andrey Ryabinin ryabinin@gmail.com wrote: These 2 patches taken from v5 'KASAN for arm64' series. The only change is updated changelog in second patch. I hope this

Re: [PATCH 3/3] ARM: dts: UniPhier: add ProXstream2 and PH1-LD6b SoC/board support

2015-08-13 Thread Olof Johansson
On Wed, Aug 12, 2015 at 3:14 PM, Masahiro Yamada yamada.masah...@socionext.com wrote: Hi Olof, 2015-08-11 22:07 GMT+09:00 Olof Johansson o...@lixom.net: Hi, On Tue, Aug 04, 2015 at 08:21:04PM +0900, Masahiro Yamada wrote: Initial version of DTSI for ProXstream2 and PH1-LD6b and DTS for

Re: [PATCH v6 0/6] mmc: imx: a few fixes and new feature

2015-08-13 Thread Dong Aisheng
On Tue, Aug 11, 2015 at 07:38:25PM +0800, Haibo Chen wrote: Changes for v6: -remove duplicate code in esdhc_set_uhs_signaling(). -fix a typo for patch-2. -make commit log of patch-3 more specific. Haibo Chen (6): mmc: sdhci-esdhc-imx: add imx7d support and support HS400 mmc:

[RFC PATCH] driver: base: memory: Maintain correct mem-end_section_nr when memory block is partially filled

2015-08-13 Thread Bharata B Rao
Last section of memory block is always initialized to mem-start_section_nr + sections_per_block - 1 which will not be true for a section that doesn't contain sections_per_block sections due to the memory size specified. This causes the following kernel crash when memory blocks under a node are

Re: enabling libgcc for 64-bit divisions, was Re: PROBLEM: XFS on ARM corruption 'Structure needs cl

2015-08-13 Thread George Spelvin
Linus wrote: Ugh. gcc still does a pretty horrible job at it. While gcc knows that a widening 32x32-64 multiplication can be simplified, it doesn't do the same thing for a 64/32-64 division, and always calls __udivdi3 for it. Agreed. But some x86 code I'm working on now, I have a *lot* of

Re: [Regression v4.2] Re: [PATCH 7/9] drm/radeon: add VCE 1.0 support v4

2015-08-13 Thread Michel Dänzer
On 13.08.2015 15:03, Lucas Stach wrote: Hi Christian, this commit is causing a boot regression with v4.2-rcX on my Richland APU (CHIP_ARUBA) based laptop. I didn't have time yet to track down where exactly it is going wrong, but I bisected it down to this single commit. I don't have the

[PATCH] PM / Domains: Make pm_genpd_init() available to modules

2015-08-13 Thread Rajendra Nayak
Export symbol pm_genpd_init so it can be used in loadable kernel modules Signed-off-by: Rajendra Nayak rna...@codeaurora.org Reported-by: Stephen Rothwell s...@canb.auug.org.au --- drivers/base/power/domain.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/base/power/domain.c

Re: [PATCH 1/2] crypto: export crypto_alg_list and rwsem

2015-08-13 Thread Joonsoo Kim
On Thu, Aug 13, 2015 at 11:19:54AM +0800, Herbert Xu wrote: On Thu, Aug 13, 2015 at 11:24:13AM +0900, Joonsoo Kim wrote: Until now, zram uses compression algorithm through direct call to core algorithm function, but, it has drawback that we need to add compression algorithm manually to

Re: [PATCH 1/2] crypto: export crypto_alg_list and rwsem

2015-08-13 Thread Herbert Xu
On Thu, Aug 13, 2015 at 03:37:55PM +0900, Joonsoo Kim wrote: Is there any way to access netlink interface and get the output from kernel-side? I'd like to show information through /sys/block/zramX/comp_algorithm, because some user program can be broken if we change output of userspace exposed

Re: [PATCH 02/20] powerpc/8xx: Map linear kernel RAM with 8M pages

2015-08-13 Thread Segher Boessenkool
On Wed, Aug 12, 2015 at 03:40:56PM +0200, Christophe Leroy wrote: /* Insert level 1 index */ rlwimi r11, r10, 32 - ((PAGE_SHIFT - 2) 1), (PAGE_SHIFT - 2) 1, 29 lwz r11, (swapper_pg_dir-PAGE_OFFSET)@l(r11)/* Get the level 1 entry */ + mtcrr11 Maybe

Re: [GIT PULL] extcon next for 4.3

2015-08-13 Thread Chanwoo Choi
Dear Greg, Please ignore this pull request, The extcon-next tree has one merge conflict on linux-next tree because of b17d1bf16cc7 (gpio: make flags mandatory for gpiod_get functions). I'll resend pull request after fixing this issue. Best Regards, Chanwoo Choi On 08/11/2015 01:15 PM, Chanwoo

Re: [PATCH 1/2] crypto: export crypto_alg_list and rwsem

2015-08-13 Thread Herbert Xu
On Thu, Aug 13, 2015 at 04:30:31PM +0900, Joonsoo Kim wrote: How about introducing new functions to search supported algorithm in kernel-side? As crypto API is used in more places, this interface would be requested more. Defined list weaken the advantage of strong point of generic crypto API.

[PATCH] ASoC: tegra: Convert to managed resources

2015-08-13 Thread Vaishali Thakkar
Use managed resource functions devm_clk_put and devm_snd_soc_register_component to simplify error handling. To be compatible with the change various gotos are replaced with direct returns, and unneeded labels are dropped. Signed-off-by: Vaishali Thakkar vthakkar1...@gmail.com ---

[PATCH] mm/hwpoison: fix race between soft_offline_page and unpoison_memory

2015-08-13 Thread Wanpeng Li
[ 61.572584] BUG: Bad page state in process bash pfn:97000 [ 61.578106] page:ea00025c count:0 mapcount:1 mapping: (null) index:0x7f4fdbe00 [ 61.586803] flags: 0x1f80080048(uptodate|active|swapbacked) [ 61.592809] page dumped because: PAGE_FLAGS_CHECK_AT_FREE flag(s)

[tip:perf/core] perf hists browser: Make ESC unzoom as well

2015-08-13 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 63ab1749f39aeec27b0dcf71cd7996d862c5ad63 Gitweb: http://git.kernel.org/tip/63ab1749f39aeec27b0dcf71cd7996d862c5ad63 Author: Arnaldo Carvalho de Melo a...@redhat.com AuthorDate: Wed, 12 Aug 2015 12:42:58 -0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Wed,

[tip:perf/core] perf ui browser: Introduce ui_browser__printf()

2015-08-13 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 517dfdb315fa2da9b144f6fa494b4f54b490de7e Gitweb: http://git.kernel.org/tip/517dfdb315fa2da9b144f6fa494b4f54b490de7e Author: Arnaldo Carvalho de Melo a...@redhat.com AuthorDate: Tue, 11 Aug 2015 12:50:55 -0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Wed,

[tip:perf/core] perf ui browser: Introduce ui_browser__write_nstring()

2015-08-13 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 26270a008251ec36431623bd992252934bbe529a Gitweb: http://git.kernel.org/tip/26270a008251ec36431623bd992252934bbe529a Author: Arnaldo Carvalho de Melo a...@redhat.com AuthorDate: Tue, 11 Aug 2015 12:24:27 -0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Wed,

[PATCH v2 1/4] irqchip: GICv3: Convert to EOImode == 1

2015-08-13 Thread Marc Zyngier
So far, GICv3 has been used in with EOImode == 0. The effect of this mode is to perform the priority drop and the deactivation of the interrupt at the same time. While this works perfectly for Linux (we only have a single priority), it causes issues when an interrupt is forwarded to a guest, and

Re: [PATCH v2] extcon: palmas: Fix build break due to devm_gpiod_get_optional API change

2015-08-13 Thread Uwe Kleine-König
On Thu, Aug 13, 2015 at 05:17:05PM +0900, Chanwoo Choi wrote: With commit b17d1bf16cc7 (gpio: make flags mandatory for gpiod_get functions) s/// it becomes necessary to pass the flags argument. And this patch add the gpio s/add/adds/ header file to fix the build break when use random

Re: [PATCH 2/2] clk: Convert __clk_get_name(hw-clk) to clk_hw_get_name(hw)

2015-08-13 Thread Geert Uytterhoeven
On Thu, Aug 13, 2015 at 1:12 AM, Stephen Boyd sb...@codeaurora.org wrote: Use the provider based method to get a clock's name so that we can get rid of the clk member in struct clk_hw one day. Mostly converted with the following coccinelle script. @@ struct clk_hw *E; @@

[PATCH] rtc: s5m: fix to update ctrl register

2015-08-13 Thread Joonyoung Shim
According to datasheet, the S2MPS13X and S2MPS14X should update write buffer via setting WUDR bit to high after ctrl register is updated. If not, ALARM interrupt of rtc-s5m doesn't happen first time when i use tools/testing/selftests/timers/rtctest.c test program and hour format is used to 12

Re: [PATCH] mm/hwpoison: fix race between soft_offline_page and unpoison_memory

2015-08-13 Thread Naoya Horiguchi
On Thu, Aug 13, 2015 at 03:09:07PM +0800, Wanpeng Li wrote: [ 61.572584] BUG: Bad page state in process bash pfn:97000 [ 61.578106] page:ea00025c count:0 mapcount:1 mapping: (null) index:0x7f4fdbe00 [ 61.586803] flags: 0x1f80080048(uptodate|active|swapbacked) [

Re: [PATCH 2/2] clk: Convert __clk_get_name(hw-clk) to clk_hw_get_name(hw)

2015-08-13 Thread Sebastian Hesselbarth
On 08/13/2015 01:12 AM, Stephen Boyd wrote: Use the provider based method to get a clock's name so that we can get rid of the clk member in struct clk_hw one day. Mostly converted with the following coccinelle script. @@ struct clk_hw *E; @@ -__clk_get_name(E-clk) +clk_hw_get_name(E) [...]

Re: [PATCH v4] sched: sync with the prev cfs when changing cgroup within a cpu

2015-08-13 Thread Byungchul Park
On Thu, Aug 13, 2015 at 09:26:13AM +0900, byungchul.p...@lge.com wrote: From: Byungchul Park byungchul.p...@lge.com please ignore this thread. i will resend this patch in the form of another patch package. thanks, byungchul change from v3 to v4 * adjust cfs load in queued case, too

Re: [v5,2/3] spi: mediatek: Add spi bus for Mediatek MT8173

2015-08-13 Thread lei liu
Hi, +#include linux/clk.h +#include linux/device.h +#include linux/err.h +#include linux/interrupt.h Since you are using readl/writel, please import linux/io.h as well (it is implicitly imported by spi/spi.h, but better be safe...) OK, I'll fix it. +#include linux/ioport.h

Re: [Intel-gfx] [4.2-rc4] acpi|drm|i915: circular locking dependency: acpi_video_get_backlight_type

2015-08-13 Thread Sedat Dilek
On Wed, Aug 12, 2015 at 9:26 PM, Ville Syrjälä ville.syrj...@linux.intel.com wrote: On Mon, Aug 10, 2015 at 08:29:00PM +0200, Sedat Dilek wrote: On Sat, Aug 1, 2015 at 2:23 PM, Sedat Dilek sedat.di...@gmail.com wrote: On Mon, Jul 27, 2015 at 12:33 AM, Sedat Dilek sedat.di...@gmail.com

Re: [PATCH V8 03/25] perf tools: Add Intel PT instruction decoder

2015-08-13 Thread Adrian Hunter
On 12/08/15 23:55, Arnaldo Carvalho de Melo wrote: Em Fri, Jul 17, 2015 at 07:33:38PM +0300, Adrian Hunter escreveu: Add support for decoding instructions for Intel Processor Trace. The kernel x86 instruction decoder is copied for this. This essentially provides intel_pt_get_insn() which

Re: [PATCH] extcon: palmas: Fix build break due to devm_gpiod_get_optional API change

2015-08-13 Thread Roger Quadros
Hi Chanwoo, On 13/08/15 03:29, Chanwoo Choi wrote: Commit b17d1bf16cc7 (gpio: make flags mandatory for gpiod_get functions) changes the prototype of devm_gpiod_get_optional() API which should include the falgs mandatory. s/falgs/flags Reported-by: Stephen Rothwell s...@canb.auug.org.au

Re: [PATCH] dmaengine: xgene-dma: Add ACPI support for X-Gene DMA engine driver

2015-08-13 Thread Rameshwar Sahu
Hi Vinod, On Tue, Jul 21, 2015 at 6:44 PM, Rameshwar Prasad Sahu rs...@apm.com wrote: This patch adds ACPI support for the APM X-Gene DMA engine driver. Signed-off-by: Rameshwar Prasad Sahu rs...@apm.com --- drivers/dma/xgene-dma.c | 28 +--- 1 file changed, 21

Re: [PATCH v2 06/22] mtd: nand: omap2: Switch to using GPMC-NAND ops for writebuffer empty check

2015-08-13 Thread Roger Quadros
On 07/08/15 12:12, Roger Quadros wrote: Instead of accessing the gpmc_status register directly start using the gpmc_nand_ops-nand_writebuffer_empty() helper to check write buffer empty status. Signed-off-by: Roger Quadros rog...@ti.com --- drivers/mtd/nand/omap2.c | 12 ++-- 1

Re: [PATCH] sched: sync with the cfs_rq when changing sched class

2015-08-13 Thread Byungchul Park
On Thu, Aug 13, 2015 at 06:41:45AM +0800, Yuyang Du wrote: On Thu, Aug 13, 2015 at 02:55:55PM +0900, byungchul.p...@lge.com wrote: currently, a task load is synced with its cfs_rq, only when it leaves from fair class. we also need to sync it with cfs_rq when it returns back to fair

Re: [PATCH] extcon: palmas: Fix build break due to devm_gpiod_get_optional API change

2015-08-13 Thread Chanwoo Choi
On 08/13/2015 04:06 PM, Roger Quadros wrote: Hi Chanwoo, On 13/08/15 03:29, Chanwoo Choi wrote: Commit b17d1bf16cc7 (gpio: make flags mandatory for gpiod_get functions) changes the prototype of devm_gpiod_get_optional() API which should include the falgs mandatory. s/falgs/flags

Re: [PATCH 1/2] crypto: export crypto_alg_list and rwsem

2015-08-13 Thread Joonsoo Kim
On Thu, Aug 13, 2015 at 02:38:23PM +0800, Herbert Xu wrote: On Thu, Aug 13, 2015 at 03:37:55PM +0900, Joonsoo Kim wrote: Is there any way to access netlink interface and get the output from kernel-side? I'd like to show information through /sys/block/zramX/comp_algorithm, because some

Re: [PATCH 1/2] KVM: x86: set TMR when the interrupt is accepted

2015-08-13 Thread Paolo Bonzini
On 13/08/2015 08:35, Zhang, Yang Z wrote: You may be right. It is safe if no future hardware plans to use it. Let me check with our hardware team to see whether it will be used or not in future. After checking with Jun, there is no guarantee that the guest running on another CPU will

Re: [PATCH 3/7] drm/vc4: Add KMS support for Raspberry Pi.

2015-08-13 Thread Daniel Vetter
On Wed, Aug 12, 2015 at 05:56:16PM -0700, Eric Anholt wrote: This is the start of a full VC4 driver. Right now this just supports configuring the display using a pre-existing video mode (because changing the pixel clock isn't available yet, and doesn't work when it is). However, this is

Re: [PATCH v2 07/13] memory: kill off set_irq_flags usage

2015-08-13 Thread Tony Lindgren
* Rob Herring r...@kernel.org [150712 07:29]: set_irq_flags is ARM specific with custom flags which have genirq equivalents. Convert drivers to use the genirq interfaces directly, so we can kill off set_irq_flags. The translation of flags is as follows: IRQF_VALID - !IRQ_NOREQUEST

Re: [PATCH] extcon: palmas: Fix build break due to devm_gpiod_get_optional API change

2015-08-13 Thread Chanwoo Choi
On 08/13/2015 04:14 PM, Uwe Kleine-König wrote: Hello, On Thu, Aug 13, 2015 at 09:29:04AM +0900, Chanwoo Choi wrote: Commit b17d1bf16cc7 (gpio: make flags mandatory for gpiod_get functions) changes the prototype of devm_gpiod_get_optional() API which should include the falgs mandatory. I'd

Re: [PATCH 0/2] x86/KASAN updates for 4.3

2015-08-13 Thread Ingo Molnar
* Ingo Molnar mi...@kernel.org wrote: * Andrey Ryabinin ryabinin@gmail.com wrote: These 2 patches taken from v5 'KASAN for arm64' series. The only change is updated changelog in second patch. I hope this is not too late to queue these for 4.3, as this allow us to merge

Re: [regression] x86/signal/64: Fix SS handling for signals delivered to 64-bit programs breaks dosemu

2015-08-13 Thread Ingo Molnar
* Andy Lutomirski l...@amacapital.net wrote: OK. I'll try to test the patch tomorrow, but I think the sigreturn()'s capability detection is still needed to easily replace the iret trampoline in userspace (without generating a signal and testing by hands). Can of course be done with a

Re: [PATCH] scsi: storvsc: be more picky about scmnd-sc_data_direction

2015-08-13 Thread Vitaly Kuznetsov
KY Srinivasan k...@microsoft.com writes: -Original Message- From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] Sent: Thursday, June 25, 2015 9:12 AM To: linux-s...@vger.kernel.org Cc: Long Li; KY Srinivasan; Haiyang Zhang; James E.J. Bottomley; de...@linuxdriverproject.org;

Re: [PATCH] scsi: storvsc: use shost_for_each_device() instead of open coding

2015-08-13 Thread Vitaly Kuznetsov
Long Li lon...@microsoft.com writes: -Original Message- From: KY Srinivasan Sent: Friday, July 03, 2015 11:35 AM To: Vitaly Kuznetsov; linux-s...@vger.kernel.org Cc: Long Li; Haiyang Zhang; James E.J. Bottomley; de...@linuxdriverproject.org; linux-kernel@vger.kernel.org Subject:

[PATCH] mm: make page pfmemalloc check more robust

2015-08-13 Thread mhocko
From: Michal Hocko mho...@suse.com The patch c48a11c7ad26 (netvm: propagate page-pfmemalloc to skb) added the checks for page-pfmemalloc to __skb_fill_page_desc(): if (page-pfmemalloc !page-mapping) skb-pfmemalloc = true; It assumes page-mapping == NULL implies that

Re: [PATCH] mm: make page pfmemalloc check more robust

2015-08-13 Thread Vlastimil Babka
On 08/13/2015 10:58 AM, mho...@kernel.org wrote: From: Michal Hocko mho...@suse.com The patch c48a11c7ad26 (netvm: propagate page-pfmemalloc to skb) added the checks for page-pfmemalloc to __skb_fill_page_desc(): if (page-pfmemalloc !page-mapping) skb-pfmemalloc =

Re: [PATCH] spi: Mediatek: fix endian warnings

2015-08-13 Thread Mark Brown
On Thu, Aug 13, 2015 at 10:11:59AM +0800, lei liu wrote: This patch is applied, should I append a new patch or you rollback it? Thanks. Please send an incremental patch on top of what's applied and don't top post. signature.asc Description: Digital signature

Re: [PATCH] mm/hwpoison: fix race between soft_offline_page and unpoison_memory

2015-08-13 Thread Wanpeng Li
On 8/13/15 4:53 PM, Naoya Horiguchi wrote: On Thu, Aug 13, 2015 at 03:09:07PM +0800, Wanpeng Li wrote: [ 61.572584] BUG: Bad page state in process bash pfn:97000 [ 61.578106] page:ea00025c count:0 mapcount:1 mapping: (null) index:0x7f4fdbe00 [ 61.586803] flags:

Re: [PATCH v2 5/6] mailbox: Add generic mechanism for testing Mailbox Controllers

2015-08-13 Thread Lee Jones
On Thu, 13 Aug 2015, Jassi Brar wrote: On Wed, Aug 12, 2015 at 3:53 PM, Lee Jones lee.jo...@linaro.org wrote: On Mon, 10 Aug 2015, Jassi Brar wrote: On Mon, Jul 27, 2015 at 3:14 PM, Lee Jones lee.jo...@linaro.org wrote: This particular Client implementation uses shared memory in order

Re: [PATCH 2/2] acpi, apei: use appropriate pgprot_t to map GHES memory

2015-08-13 Thread Matt Fleming
On Thu, 13 Aug, at 10:19:17AM, Ingo Molnar wrote: * Matt Fleming m...@codeblueprint.co.uk wrote: From: Jonathan (Zhixiong) Zhang zjzh...@codeaurora.org With ACPI APEI firmware first handling, generic hardware error record is updated by firmware in GHES memory region. On an arm64

[PATCH 0/2] nohz_full: Offload task_tick to remote housekeeping cpus for nohz_full cpus

2015-08-13 Thread Vatika Harlalka
This patchset is for offloading task_tick() to a remote housekeeping cpu. The larger aim is to stop ticks on nohz_full cpus. For this, extra work must be done by housekeeping cpus. So, task_tick is called from a delayed workqueue for nohz_full cpus and the work is requeued every second for those

Re: [PATCH] ARM/EP93xx/timer: Migrate to new 'set-state' interface

2015-08-13 Thread Olof Johansson
On Wed, Aug 12, 2015 at 04:39:46PM +, Hartley Sweeten wrote: On Thursday, August 06, 2015 2:11 AM, Viresh Kumar wrote: Migrate EP93xx driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us

Re: [PATCH v2 0/4] Device Tree updates of UniPhier SoCs for Linux 4.3

2015-08-13 Thread Olof Johansson
On Wed, Aug 12, 2015 at 10:39:47PM +0900, Masahiro Yamada wrote: 2015-08-11 22:20 GMT+09:00 Olof Johansson o...@lixom.net: On Thu, Aug 06, 2015 at 07:37:44PM +0900, Masahiro Yamada wrote: Hi Olof and Arnd, Here are a little more updates for device trees for UniPhier SoCs. Please

[PATCHv4 man-pages 3/3] open.2: describe O_BENEATH flag

2015-08-13 Thread David Drysdale
Signed-off-by: David Drysdale drysd...@google.com --- man2/open.2 | 44 1 file changed, 44 insertions(+) diff --git a/man2/open.2 b/man2/open.2 index f49ab3042161..d09511f9ffb0 100644 --- a/man2/open.2 +++ b/man2/open.2 @@ -201,6 +201,43 @@ See for

[PATCHv4 0/3] fs: add O_BENEATH flag to openat(2)

2015-08-13 Thread David Drysdale
A couple of questions with this iteration: - Should we create a new errno (say ENOTBENEATH) for this policing, to make it easier to distinguish this case from other EPERM failures? (The FreeBSD implementation is considering this approach.) - Al, does the code look OK for (in particular)

Re: [PATCH] mm: make page pfmemalloc check more robust

2015-08-13 Thread Michal Hocko
On Thu 13-08-15 11:13:04, Vlastimil Babka wrote: On 08/13/2015 10:58 AM, mho...@kernel.org wrote: From: Michal Hocko mho...@suse.com The patch c48a11c7ad26 (netvm: propagate page-pfmemalloc to skb) added the checks for page-pfmemalloc to __skb_fill_page_desc(): if

Re: [x86] copy_from{to}_user question

2015-08-13 Thread yalin wang
On Aug 12, 2015, at 18:07, Borislav Petkov b...@suse.de wrote: On Wed, Aug 12, 2015 at 05:01:14PM +0800, yalin wang wrote: hi x86 maintainers, i have a question about copy_from{to}_user() function, i find on other platforms like arm/ arm64 /hexagon, all copy_from{to}_user function only

Re: [PATCH] can: at91: move at91_can_data to at91_can.c

2015-08-13 Thread Marc Kleine-Budde
On 08/10/2015 04:44 PM, Alexandre Belloni wrote: struct at91_can_data is now only used inside the driver, move it to its c file. It was supposed to be the interface between the board and the CAN driver. In commit 4403ac46edcdb51e92d36ad9f00ea3bbb766342e the at91sam9263 board was removed. As the

RE: [PATCH v2] ARM: dts: exynos4412-odroidu3: Enable SPI1.

2015-08-13 Thread Kukjin Kim
Krzysztof Kozlowski wrote: W dniu 13.08.2015 o 18:06, Alexis Ballier pisze: SPI1 is available on IO Port #2 (as depicted on their website) in PCB Revision 0.5 of Hardkernel Odroid U3 board. The shield connects a 256KiB spi-nor flash on that bus. Signed-off-by: Alexis Ballier

Re: [RFC PATCH v4 6/9] arm: hisi_defconfig: remove CONFIG_MMC_DW_IDMAC

2015-08-13 Thread Wei Xu
On 8/6/2015 7:45 AM, Shawn Lin wrote: DesignWare MMC Controller's transfer mode should be decided at runtime instead of compile-time. So we remove this config option and read dw_mmc's register to select DMA master. Signed-off-by: Shawn Lin shawn@rock-chips.com Acked-by: Wei Xu

Re: [PATCH] mm/hwpoison: fix race between soft_offline_page and unpoison_memory

2015-08-13 Thread Wanpeng Li
On 8/13/15 6:04 PM, Naoya Horiguchi wrote: On Thu, Aug 13, 2015 at 05:18:56PM +0800, Wanpeng Li wrote: On 8/13/15 4:53 PM, Naoya Horiguchi wrote: ... I think that unpoison is used only in testing so this race never affects our end-users/customers, so going back to this migratetype change

[PATCH] usb: phy: phy-generic: Fix reset behaviour on legacy boot

2015-08-13 Thread Roger Quadros
The gpio-desc migration done in v4.0 caused a regression with legacy boots due to reversed reset logic. e.g. omap3-beagle USB host breaks on legacy boot. Request the reset GPIO with GPIOF_ACTIVE_LOW flag so that it matches the driver logic and pin behaviour. Fixes: e9f2cefb0cdc (usb: phy:

Re: [PATCH v2 7/8] shift percpu_counter_destroy() into destroy_super_work()

2015-08-13 Thread Jan Kara
On Tue 11-08-15 19:04:16, Oleg Nesterov wrote: Of course, this patch is ugly as hell. It will be (partially) reverted later. We add it to ensure that other WIP changes in percpu_rw_semaphore won't break fs/super.c. We do not even need this change right now, percpu_free_rwsem() is fine in

[PATCH 2/2] sched: make task_move_group_fair simple by using switched_to(from)_fair

2015-08-13 Thread byungchul . park
From: Byungchul Park byungchul.p...@lge.com i introduced need_vruntime_adjust() to check if do or not adjust vruntime when attaching/detaching a se to/from its cfs_rq, and use it. i made the best use of switched_to(from)_fair for attach(detach) operations in task_move_group_fair().

[tip:ras/core] x86/ras: Move AMD MCE injector to arch/x86/ras/

2015-08-13 Thread tip-bot for Borislav Petkov
Commit-ID: 6c36dfe949187dc2729abfad4b083758ac5c2e0e Gitweb: http://git.kernel.org/tip/6c36dfe949187dc2729abfad4b083758ac5c2e0e Author: Borislav Petkov b...@suse.de AuthorDate: Wed, 12 Aug 2015 18:29:45 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Thu, 13 Aug 2015 10:12:54

Re: [PATCH] Remove unselectable rule for arm-exynos-cpufreq.o

2015-08-13 Thread Krzysztof Kozlowski
2015-08-13 19:32 GMT+09:00 Jonas Rabenstein jonas.rabenst...@studium.uni-erlangen.de: With commit 2907ed4377d9 (cpufreq: exynos: remove Exynos4x12 specific cpufreq driver support), the last specific Exynos-cpufreq driver depending on ARM_EXYNOS_CPUFREQ was removed. As there is no

Re: [PATCH v2 6/6] irqchip: crossbar: fix irq masking at suspend

2015-08-13 Thread Sudeep Holla
On 13/08/15 11:17, Grygorii Strashko wrote: On 08/13/2015 12:30 PM, Sudeep Holla wrote: On 12/08/15 18:46, Grygorii Strashko wrote: All ARM GIC IRQs have to masked during suspend if they are not wakeup source. Now this is not happen, since switching to use IRQ domain hierarchy, because

Re: [PATCH v2 5/6] mailbox: Add generic mechanism for testing Mailbox Controllers

2015-08-13 Thread Lee Jones
On Thu, 13 Aug 2015, Jassi Brar wrote: On Thu, Aug 13, 2015 at 3:53 PM, Lee Jones lee.jo...@linaro.org wrote: On Thu, 13 Aug 2015, Jassi Brar wrote: On Thu, Aug 13, 2015 at 2:49 PM, Lee Jones lee.jo...@linaro.org wrote: On Thu, 13 Aug 2015, Jassi Brar wrote: + +static void

Re: [PATCH v2 5/6] mailbox: Add generic mechanism for testing Mailbox Controllers

2015-08-13 Thread Jassi Brar
On Thu, Aug 13, 2015 at 4:30 PM, Lee Jones lee.jo...@linaro.org wrote: On Thu, 13 Aug 2015, Jassi Brar wrote: On Thu, Aug 13, 2015 at 3:53 PM, Lee Jones lee.jo...@linaro.org wrote: On Thu, 13 Aug 2015, Jassi Brar wrote: On Thu, Aug 13, 2015 at 2:49 PM, Lee Jones lee.jo...@linaro.org

Re: [PATCH v4 2/4] gpio: brcmstb: Add interrupt and wakeup source support

2015-08-13 Thread Linus Walleij
On Sat, Aug 1, 2015 at 3:17 AM, Gregory Fong gregory.0...@gmail.com wrote: Uses the gpiolib irqchip helpers. For this to work, the irq setup function is called once per bank instead of once per device. Note that all known uses of this block have a BCM7120 L2 interrupt controller as a

Re: [PATCH v4 3/4] gpio: brcmstb: support wakeup from S5 cold boot

2015-08-13 Thread Linus Walleij
On Sat, Aug 1, 2015 at 3:17 AM, Gregory Fong gregory.0...@gmail.com wrote: For wake from S5, we need to: - register a reboot handler - set wakeup capability before requesting IRQ so wakeup count is incremented - mask all GPIO IRQs and clear any pending interrupts during driver probe to

Re: [PATCH v8 00/21] Compile-time stack validation

2015-08-13 Thread Josh Poimboeuf
On Wed, Aug 12, 2015 at 04:24:49PM -0500, Chris J Arges wrote: I still get build failures and I've pared it down to x86_64 defconfig plus: CONFIG_MODVERSIONS=y CONFIG_STACK_VALIDATION=y And it seems like some modules may get the .tmp_foo.o treatment while others end up foo.o so something

[PATCH 03/14] arm64: Introduce helpers for page table levels

2015-08-13 Thread Suzuki K. Poulose
From: Suzuki K. Poulose suzuki.poul...@arm.com Introduce helpers for finding the number of page table levels required for a given VA width, shift for a particular page table level. Convert the existing users to the new helpers. More users to follow. Cc: Ard Biesheuvel ard.biesheu...@linaro.org

<    5   6   7   8   9   10   11   12   13   14   >