[tip:perf/core] perf callchain: Allow disabling call graphs per event

2015-08-13 Thread tip-bot for Kan Liang
Commit-ID: f9db0d0f1b2cf030083c83d3ed3a4bbae6bdc8b7 Gitweb: http://git.kernel.org/tip/f9db0d0f1b2cf030083c83d3ed3a4bbae6bdc8b7 Author: Kan Liang AuthorDate: Tue, 11 Aug 2015 06:30:48 -0400 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 12 Aug 2015 13:20:28 -0300 perf callchain:

[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 AuthorDate: Tue, 11 Aug 2015 12:50:55 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 12 Aug 2015 10:27:05 -0300

[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 AuthorDate: Wed, 12 Aug 2015 12:42:58 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 12 Aug 2015 12:46:55 -0300

[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 AuthorDate: Tue, 11 Aug 2015 12:24:27 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 12 Aug 2015 10:27:04 -0300

[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 AuthorDate: Tue, 11 Aug 2015 11:05:36 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 12 Aug 2015 10:27:03 -0300

[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 AuthorDate: Tue, 11 Aug 2015 10:57:02 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 12 Aug 2015 10:27:03 -0300

[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 AuthorDate: Tue, 11 Aug 2015 10:38:38 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 12 Aug 2015 10:27:02 -0300

[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 AuthorDate: Tue, 11 Aug 2015 06:36:55 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 12 Aug 2015 10:27:02 -0300 perf sort:

[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 AuthorDate: Mon, 10 Aug 2015 19:20:52 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 12 Aug 2015 10:26:53 -0300

Re: [REPOST PATCH] kexec: Remove the unnecessary conditional judgement to simplify the code logic

2015-08-13 Thread Simon Horman
On Thu, Aug 13, 2015 at 01:53:45PM +0800, Baoquan He wrote: > On 08/13/15 at 09:55am, Simon Horman wrote: > > On Tue, Jul 28, 2015 at 12:46:42PM +0800, Minfei Huang wrote: > > > Transforming PFN(Page Frame Number) to struct page is never failure, so > > > we can simplify the code logic to do the

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

2015-08-13 Thread Heiko Stübner
Am Mittwoch, 12. August 2015, 16:12:41 schrieb Stephen Boyd: > 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; > @@ > >

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 [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 > IRQF_PROBE ->

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

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: get_vmalloc_info() and /proc/meminfo insanely expensive

2015-08-13 Thread Rasmus Villemoes
On Thu, Aug 13 2015, Linus Torvalds wrote: > On Wed, Aug 12, 2015 at 9:00 PM, Andrew Morton > wrote: >> >> Do your /proc/meminfo vmalloc numbers actually change during that build? >> Mine don't. Perhaps we can cache the most recent vmalloc_info and >> invalidate that cache whenever someone

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.

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.

[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)

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

2015-08-13 Thread Herbert Xu
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 happy to consider changes to the crypto compression interface as

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

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

[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 --- sound/soc/tegra/tegra20_spdif.c | 37

[PATCH] lib/decompressors: Use real out buf size for gunzip with kernel

2015-08-13 Thread Yinghai Lu
When loading x86 64bit kernel above 4GiB with patched grub2, got kernel gunzip error. | early console in decompress_kernel | decompress_kernel: | input: [0x807f2143b4-0x807ff61aee] | output: [0x807cc0-0x807f3ea29b] 0x027ea29c: output_len | boot via startup_64 | KASLR using RDTSC...

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

2015-08-13 Thread Roger Quadros
On 13/08/15 10:24, Chanwoo Choi wrote: > > 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

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

2015-08-13 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Hi Ingo, > > Please consider applying, > > - Arnaldo > > The following changes since commit 5f1230c9b80b89f404938ff88dfa64a963f74f2c: > > Merge tag 'perf-core-for-mingo' of > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core

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",

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. > >

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,

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 > --- > drivers/mtd/nand/omap2.c | 12 ++-- > 1 file

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

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 wrote: > This patch adds ACPI support for the APM X-Gene DMA engine driver. > > Signed-off-by: Rameshwar Prasad Sahu > --- > drivers/dma/xgene-dma.c | 28 +--- > 1 file changed, 21 insertions(+), 7

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

[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 > > when I report it I see backtraces pointing to the user space code: > > perf report --stdio -g graph --no-children > 16.36% kwrite

[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 0/3] ARM: sun6i: Support Security System crypto engine

2015-08-13 Thread Herbert Xu
On Tue, Aug 11, 2015 at 01:32:54PM +0800, Chen-Yu Tsai wrote: > Hi everyone, > > This series enables support for the crypto engine found in sun6i, or > Allwinner A31/A31s SoCs. The crypto engine is the same hardware as on > earlier sun4i/sun7i (A10/A20), with the only difference being the reset >

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

2015-08-13 Thread Uwe Kleine-König
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 write: "With commit b17d1bf16cc7 ("...") it

Re: [PATCH v2 00/22] memory: omap-gpmc: mtd: nand: Support GPMC NAND on non-OMAP platforms

2015-08-13 Thread Roger Quadros
On 11/08/15 15:48, Tony Lindgren wrote: > * Roger Quadros [150807 02:15]: >> Hi, >> >> We do a couple of things in this series which result in >> cleaner device tree implementation, faster perfomance and >> multi-platform support. As an added bonus we get new GPI/Interrupt pins >> for use in the

linux-next: Tree for Aug 13

2015-08-13 Thread Stephen Rothwell
Hi all, Changes since 20150812: The v4l-dvb tree still had its build failure so I used the version from next-20150810. The bluetooth tree lost its build failure. The staging tree gained a conflict against the tip tree. The clk tree lost its build failure but gained a conflict against the

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

2015-08-13 Thread Joonsoo Kim
On Thu, Aug 13, 2015 at 12:51:13PM +0900, Sergey Senozhatsky wrote: > On (08/13/15 11:24), 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 zram if

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’: >

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 > Signed-off-by:

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 */ > + mtcr

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ä 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 wrote: >> > On Mon, Jul 27, 2015 at 12:33 AM, Sedat Dilek >> > wrote: >> >> Hi, >> >> >> >> this my first build of a 4.2-rcN

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()

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

2015-08-13 Thread Ingo Molnar
* Andrey Ryabinin 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 arm64/KASAN patches in v4.4 > through arm64 tree. > > Andrey Ryabinin

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

2015-08-13 Thread Ingo Molnar
* Peter Zijlstra 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: [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

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

2015-08-13 Thread Zhang, Yang Z
Zhang, Yang Z wrote on 2015-08-04: > Paolo Bonzini wrote on 2015-08-04: >> >> >> On 04/08/2015 02:46, Zhang, Yang Z wrote: It is a problem for split irqchip, where the EOI exit bitmap can be inferred from the IOAPIC routes but the TMR cannot. The hardware behavior on the other

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

2015-08-13 Thread Lucas Stach
Am Donnerstag, den 13.08.2015, 15:18 +0900 schrieb 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

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 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 yield wrong

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

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

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

2015-08-13 Thread lei liu
Hi, > > +#include > > +#include > > +#include > > +#include > > 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 > > +#include > > +#include > > + > > +#define

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

Re: [llvm-dev] llvm bpf debug info. Re: [RFC PATCH v4 3/3] bpf: Introduce function for outputing data to perf event

2015-08-13 Thread Wangnan (F)
Thank you for your reply. Add He Kuang to CC list. On 2015/8/12 21:15, Brenden Blanco wrote: Hi Wangnan, I've been authoring the BCC development, so I'll answer those specific questions. Could you please give us further information about your clang rewriter? I guess you need a new .so when

[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 Reported-by: Stephen Rothwell --- drivers/base/power/domain.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/base/power/domain.c b/drivers/base/power/domain.c index

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*

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

[GIT] Networking

2015-08-13 Thread David Miller
1) Workaround hw bug when acquiring PCI bos ownership of iwlwifi devices, from Emmanuel Grumbach. 2) Falling back to vmalloc in conntrack should not emit a warning, from Pablo Neira Ayuso. 3) Fix NULL deref when rtlwifi driver is used as an AP, from Luis Felipe Dominguez Vega. 4)

[PATCH] target: Fix handling of small allocation lengths in REPORT LUNS

2015-08-13 Thread Spencer Baugh
From: Roland Dreier REPORT LUNS should not fail just because the allocation length is less than 16. The relevant section of SPC-4 is: 4.2.5.6 Allocation length The ALLOCATION LENGTH field specifies the maximum number of bytes or blocks that an application client has allocated in the

SOCK_STREAM socket + bind without calling listen makes address hidden

2015-08-13 Thread Manvendra Bhangui
Stumbled on an issue of imap server refusing to start on TCP port 993 with error EADDRINUSE inspite of netstat, lsof, ss programs indicating no process has bound on tcp port 993 On debugging found the issue to be with portreserve program. http://linux.die.net/man/1/portreserve But portreserve

Re: [dm-devel] [PATCH v5 01/11] block: make generic_make_request handle arbitrarily sized bios

2015-08-13 Thread Hannes Reinecke
On 08/08/2015 11:02 AM, Kent Overstreet wrote: > On Sat, Aug 08, 2015 at 10:52:24AM +0200, Hannes Reinecke wrote: >> Wouldn't it be easier to move both max_write_same_sectors and >> max_discard sectors to 64 bit (ie to type sector_t) and be done with the >> overflow? >> Seems to me this is far too

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

2015-08-13 Thread Lucas Stach
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 VCE firmware installed on this system, so from a

linux-next: manual merge of the clk tree with the drm-msm tree

2015-08-13 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the clk tree got a conflict in: drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm.c between commit: bdbc06e2309b ("drm/msm/dsi: Save/Restore PLL status across PHY reset") from the drm-msm tree and commit: 3dde2c2b968a ("drm/msm/dsi: Convert to clk_hw based

Re: [llvm-dev] llvm bpf debug info. Re: [RFC PATCH v4 3/3] bpf: Introduce function for outputing data to perf event

2015-08-13 Thread Wangnan (F)
Thank you for your reply. Add He Kuang to CC list. On 2015/8/12 21:15, Brenden Blanco wrote: Hi Wangnan, I've been authoring the BCC development, so I'll answer those specific questions. Could you please give us further information about your clang rewriter? I guess you need a new .so when

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

2015-08-13 Thread Lucas Stach
Am Donnerstag, den 13.08.2015, 15:18 +0900 schrieb 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

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

2015-08-13 Thread Zhang, Yang Z
Zhang, Yang Z wrote on 2015-08-04: Paolo Bonzini wrote on 2015-08-04: On 04/08/2015 02:46, Zhang, Yang Z wrote: It is a problem for split irqchip, where the EOI exit bitmap can be inferred from the IOAPIC routes but the TMR cannot. The hardware behavior on the other hand can be

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

2015-08-13 Thread Ingo Molnar
* 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 arm64/KASAN patches in v4.4 through arm64 tree.

Re: [PATCH 0/3] ARM: sun6i: Support Security System crypto engine

2015-08-13 Thread Herbert Xu
On Tue, Aug 11, 2015 at 01:32:54PM +0800, Chen-Yu Tsai wrote: Hi everyone, This series enables support for the crypto engine found in sun6i, or Allwinner A31/A31s SoCs. The crypto engine is the same hardware as on earlier sun4i/sun7i (A10/A20), with the only difference being the reset

[PATCH] lib/decompressors: Use real out buf size for gunzip with kernel

2015-08-13 Thread Yinghai Lu
When loading x86 64bit kernel above 4GiB with patched grub2, got kernel gunzip error. | early console in decompress_kernel | decompress_kernel: | input: [0x807f2143b4-0x807ff61aee] | output: [0x807cc0-0x807f3ea29b] 0x027ea29c: output_len | boot via startup_64 | KASLR using RDTSC...

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

2015-08-13 Thread Roger Quadros
On 13/08/15 10:24, Chanwoo Choi wrote: 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

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

2015-08-13 Thread Ingo Molnar
* 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 platform, firmware updates GHES memory region with uncached

Re: [PATCH v2 00/22] memory: omap-gpmc: mtd: nand: Support GPMC NAND on non-OMAP platforms

2015-08-13 Thread Tony Lindgren
* Roger Quadros rog...@ti.com [150813 00:17]: On 11/08/15 15:48, Tony Lindgren wrote: OK. Yeah let's make sure no regressions are caused by this.. We also still have the omap3 legacy booting around, have you checked that it keeps on working? I don't have any omap3 board with legacy

Re: [PATCH v1] usb: dwc2: reset AHB hclk domain before init

2015-08-13 Thread John Youn
On 8/12/2015 12:33 PM, Felipe Balbi wrote: On Wed, Aug 12, 2015 at 07:06:09PM +0800, Yunzhi Li wrote: Hi , 在 2015/8/11 22:12, Felipe Balbi 写道: Hi, On Tue, Aug 11, 2015 at 10:27:42AM +0800, Yunzhi Li wrote: We initiate dwc2 usb controller in BIOS, when kernel driver start-up we should reset

Re: [PATCH 2/2] gpio: etraxfs: add interrupt support

2015-08-13 Thread Linus Walleij
On Mon, Aug 3, 2015 at 7:30 PM, Rabin Vincent ra...@rab.in wrote: On Mon, Aug 03, 2015 at 11:34:23AM +0200, Linus Walleij wrote: On Fri, Jul 31, 2015 at 2:48 PM, Rabin Vincent ra...@rab.in wrote: +static void etraxfs_gpio_irq_ack(struct irq_data *d) +{ + struct etraxfs_gpio_chip

[Patch v3 RESEND] kexec: export KERNEL_IMAGE_SIZE to vmcoreinfo

2015-08-13 Thread Baoquan He
In x86_64, since v2.6.26 the KERNEL_IMAGE_SIZE is changed to 512M, and accordingly the MODULES_VADDR is changed to 0xa000. However, in v3.12 Kees Cook introduced kaslr to randomise the location of kernel. And the kernel text mapping addr space is enlarged from 512M to 1G. That means

Re: [PATCH 1/1] mm: vmstat: introducing vm counter for slowpath

2015-08-13 Thread Michal Hocko
On Wed 12-08-15 20:22:10, PINTU KUMAR wrote: On Mon 10-08-15 15:15:06, PINTU KUMAR wrote: [...] Yes, as par my analysis, I feel that this is one of the useful and important interface. I added it in one of our internal product and found it to be very useful. Specially during

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

2015-08-13 Thread Alexis Ballier
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 aball...@gentoo.org --- Changes in v2: Use GPIO_ACTIVE_HIGH (Krzysztof Kozlowski)

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

2015-08-13 Thread Thierry Reding
On Wed, Aug 12, 2015 at 04:12:41PM -0700, 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)

linux-next: Tree for Aug 13

2015-08-13 Thread Stephen Rothwell
Hi all, Changes since 20150812: The v4l-dvb tree still had its build failure so I used the version from next-20150810. The bluetooth tree lost its build failure. The staging tree gained a conflict against the tip tree. The clk tree lost its build failure but gained a conflict against the

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

2015-08-13 Thread Joonsoo Kim
On Thu, Aug 13, 2015 at 12:51:13PM +0900, Sergey Senozhatsky wrote: On (08/13/15 11:24), 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 zram if needed.

Re: [PATCH v2 00/22] memory: omap-gpmc: mtd: nand: Support GPMC NAND on non-OMAP platforms

2015-08-13 Thread Roger Quadros
On 11/08/15 15:48, Tony Lindgren wrote: * Roger Quadros rog...@ti.com [150807 02:15]: Hi, We do a couple of things in this series which result in cleaner device tree implementation, faster perfomance and multi-platform support. As an added bonus we get new GPI/Interrupt pins for use in the

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

2015-08-13 Thread Uwe Kleine-König
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 write: With commit b17d1bf16cc7 (...) it becomes

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

2015-08-13 Thread Ingo Molnar
* Arnaldo Carvalho de Melo a...@kernel.org wrote: Hi Ingo, Please consider applying, - Arnaldo The following changes since commit 5f1230c9b80b89f404938ff88dfa64a963f74f2c: Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into

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

2015-08-13 Thread Herbert Xu
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 happy to consider changes to the crypto compression interface as long

Re: get_vmalloc_info() and /proc/meminfo insanely expensive

2015-08-13 Thread Rasmus Villemoes
On Thu, Aug 13 2015, Linus Torvalds torva...@linux-foundation.org wrote: On Wed, Aug 12, 2015 at 9:00 PM, Andrew Morton a...@linux-foundation.org wrote: Do your /proc/meminfo vmalloc numbers actually change during that build? Mine don't. Perhaps we can cache the most recent vmalloc_info and

Re: [REPOST PATCH] kexec: Remove the unnecessary conditional judgement to simplify the code logic

2015-08-13 Thread Simon Horman
On Thu, Aug 13, 2015 at 01:53:45PM +0800, Baoquan He wrote: On 08/13/15 at 09:55am, Simon Horman wrote: On Tue, Jul 28, 2015 at 12:46:42PM +0800, Minfei Huang wrote: Transforming PFN(Page Frame Number) to struct page is never failure, so we can simplify the code logic to do the

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

2015-08-13 Thread Heiko Stübner
Am Mittwoch, 12. August 2015, 16:12:41 schrieb Stephen Boyd: 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)

[tip:perf/core] perf callchain: Allow disabling call graphs per event

2015-08-13 Thread tip-bot for Kan Liang
Commit-ID: f9db0d0f1b2cf030083c83d3ed3a4bbae6bdc8b7 Gitweb: http://git.kernel.org/tip/f9db0d0f1b2cf030083c83d3ed3a4bbae6bdc8b7 Author: Kan Liang kan.li...@intel.com AuthorDate: Tue, 11 Aug 2015 06:30:48 -0400 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Wed, 12 Aug

[tip:perf/core] perf callchain: Per-event type selection support

2015-08-13 Thread tip-bot for Kan Liang
Commit-ID: d457c96392bb418bd998f3ccf93e0e4c958fcd0f Gitweb: http://git.kernel.org/tip/d457c96392bb418bd998f3ccf93e0e4c958fcd0f Author: Kan Liang kan.li...@intel.com AuthorDate: Tue, 11 Aug 2015 06:30:47 -0400 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Wed, 12 Aug

[tip:perf/core] perf report: Show call graph from reference events

2015-08-13 Thread tip-bot for Kan Liang
Commit-ID: 9e207ddfa20781e56465ce9a537f0a377c9d34fb Gitweb: http://git.kernel.org/tip/9e207ddfa20781e56465ce9a537f0a377c9d34fb Author: Kan Liang kan.li...@intel.com AuthorDate: Tue, 11 Aug 2015 06:30:49 -0400 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Wed, 12 Aug

[tip:perf/core] perf probe: Fix to show lines of sys_ functions correctly

2015-08-13 Thread tip-bot for Masami Hiramatsu
Commit-ID: 75186a9b09e47072f442f43e292cd47180b67b5c Gitweb: http://git.kernel.org/tip/75186a9b09e47072f442f43e292cd47180b67b5c Author: Masami Hiramatsu masami.hiramatsu...@hitachi.com AuthorDate: Wed, 12 Aug 2015 10:24:07 +0900 Committer: Arnaldo Carvalho de Melo a...@redhat.com

[tip:perf/core] perf tests: Add tests to callgraph and time parse

2015-08-13 Thread tip-bot for Kan Liang
Commit-ID: 71ef150ee06df29c5b427307dc0bacfe06a8baea Gitweb: http://git.kernel.org/tip/71ef150ee06df29c5b427307dc0bacfe06a8baea Author: Kan Liang kan.li...@intel.com AuthorDate: Tue, 11 Aug 2015 06:30:50 -0400 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Wed, 12 Aug

[PATCH] pinctrl: mediatek: Implement wake handler and suspend resume

2015-08-13 Thread maoguang.meng
From: Maoguang Meng maoguang.m...@mediatek.com This patch implement irq_set_wake to get who is wakeup source and setup on suspend resume. Signed-off-by: Maoguang Meng maoguang.m...@mediatek.com --- changes since v2: -modify irq_wake to handle irq wakeup source. -allocate two buffers separately.

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

2015-08-13 Thread Byungchul Park
On Thu, Aug 13, 2015 at 09:46:00AM +0200, Peter Zijlstra wrote: 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

Re: [PATCH 1/2] arm64: apei: implement arch_apei_get_mem_attributes()

2015-08-13 Thread Ingo Molnar
* Matt Fleming m...@codeblueprint.co.uk wrote: From: Jonathan (Zhixiong) Zhang zjzh...@codeaurora.org Table 8 of UEFI 2.5 section 2.3.6.1 defines mappings from EFI memory types to MAIR attribute encodings for arm64. If the physical address has memory attributes defined by EFI memmap as

[PATCH v2 0/4] irqchip: GICv2/v3: Add support for irq_vcpu_affinity

2015-08-13 Thread Marc Zyngier
The GICv2 and GICv3 architectures allow an active physical interrupt to be forwarded to a guest, and the guest to indirectly perform the deactivation of the interrupt by performing an EOI on the virtual interrupt (see for example the GICv2 spec, 3.2.1). This allows some substantial performance

[Regression v4.2 ?] 32-bit seccomp-BPF returned errno values wrong in VM?

2015-08-13 Thread David Drysdale
Hi folks, I've got an odd regression with the v4.2 rc kernel, and I wondered if anyone else could reproduce it. The problem occurs with a seccomp-bpf filter program that's set up to return an errno value -- an errno of 1 is always returned instead of what's in the filter, plus other oddities

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

2015-08-13 Thread Byungchul Park
On Thu, Aug 13, 2015 at 09:46:00AM +0200, Peter Zijlstra wrote: 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

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