[PATCH v2 2/3] clk: samsung: exynos5420: Add clocks for CMU_CDREX domain

2016-08-24 Thread Chanwoo Choi
This patch adds the mux/divider clocks for CMU_CDREX (DRAM Express Controller) which generates the clocks for DRAM and NoC (Network on Chip) bus clock. But, there is differnet source of MUX_MX_MSPLL_CCORE between exynos5420 and exynos5422. So, each MUX_MX_MSPLL_CCORE uses the different parent sourc

[PATCH v2 1/3] dt-bindings: Add the clock id for CMU_CDREX (DRAM Express Controller)

2016-08-24 Thread Chanwoo Choi
This patch adds the new clock id for CMU_CDRES (DRAM Express Controller) geneates the clocks for DRAM and NoC (Network on Chip) bus clock. Signed-off-by: Chanwoo Choi --- include/dt-bindings/clock/exynos5420.h | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/includ

[PATCH] net: hns: dereference ppe_cb->ppe_common_cb if it is non-null

2016-08-24 Thread Colin King
From: Colin Ian King ppe_cb->ppe_common_cb is being dereferenced before a null check is being made on it. If ppe_cb->ppe_common_cb is null then we end up with a null pointer dereference when assigning dsaf_dev. Fix this by moving the initialisation of dsaf_dev once we know ppe_cb->ppe_common_cb

Re: [PATCH v2 2/3] tracing: Add trace_irqsoff tracepoints

2016-08-24 Thread kbuild test robot
Hi Binoy, [auto build test WARNING on tip/perf/core] [also build test WARNING on v4.8-rc3 next-20160824] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for convenience)

Re: [PATCH v2 2/3] tracing: Add trace_irqsoff tracepoints

2016-08-24 Thread kbuild test robot
Hi Binoy, [auto build test ERROR on tip/perf/core] [also build test ERROR on v4.8-rc3 next-20160824] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for convenience) to rec

[PATCH] i2c: mux: mellanox: fix platform_no_drv_owner.cocci warnings

2016-08-24 Thread kbuild test robot
drivers/i2c/muxes/i2c-mux-mlxcpld.c:329:3-8: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci CC: Vadim Pasternak Signed-off-by: Fengguang Wu --- i2c-mux-mlxcpl

[PATCH 1/2] pwm: sun4i: Add Allwinner H3 support

2016-08-24 Thread Milo Kim
According to the latest datasheet (v1.2), H3 has single PWM channel. H3 PWM controller has same register layout as sun4i driver, so it works by adding H3 specific data. And the second PWM channel is not supported, so the pinctrl function is removed. Datasheet: http://linux-sunxi.org/File:Allwin

[PATCH 2/2] ARM: dts: sun8i-h3: Add UART1 pinctrl

2016-08-24 Thread Milo Kim
In H3, PA5 can be used as PWM and UART0. If the PWM is used, the console UART should be moved to other port. This patch enables UART1 pinctrl to support this case. PA5: PWM PG6, PG7: debug console Cc: Chen-Yu Tsai Cc: Maxime Ripard Cc: Rob Herring Signed-off-by: Milo Kim ---

Re: [patch 2/2] i2c: mux: mellanox: add driver

2016-08-24 Thread kbuild test robot
Hi Vadim, [auto build test WARNING on wsa/i2c/for-next] [also build test WARNING on v4.8-rc3 next-20160824] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for convenience)

Re: [PATCH] livepatch/module: make TAINT_LIVEPATCH module-specific

2016-08-24 Thread kbuild test robot
Hi Josh, [auto build test ERROR on jikos-livepatching/for-next] [also build test ERROR on v4.8-rc3 next-20160824] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for convenie

Re: [PATCH v6 2/4] Add support for SCT Write Same

2016-08-24 Thread Tom Yan
You only fill the bytes that you want to to set explicitly: + put_unaligned_le16(0x0002, &sctpg[0]); /* SCT_ACT_WRITE_SAME */ + put_unaligned_le16(0x0101, &sctpg[1]); /* WRITE PTRN FG */ + put_unaligned_le64(lba, &sctpg[2]); + put_unaligned_le64(num, &sctpg[6]); +

Re: [RFC PATCH 2/4] perf-probe: Add offline output directory option

2016-08-24 Thread Masami Hiramatsu
On Wed, 24 Aug 2016 09:58:45 -0300 Arnaldo Carvalho de Melo wrote: > Em Wed, Aug 24, 2016 at 02:58:12PM +0900, Masami Hiramatsu escreveu: > > Add offline output direcrtory option. This allows user to > > store probe event definition in offline output directory. > > In such cases you should show

Re: [PATCH v2 0/3] *** Latency histograms - IRQSOFF,PREEMPTOFF ***

2016-08-24 Thread Binoy Jayan
On 25 August 2016 at 10:56, Daniel Wagner wrote: > Hi Binoy, > > On 08/24/2016 01:17 PM, Binoy Jayan wrote: >> >> Histogram output: >> cat /sys/kernel/debug/tracing/events/latency/latency_irqs/hist >> cat /sys/kernel/debug/tracing/events/latency/latency_preempt/hist >> cat /sys/kernel/debug/tracin

[PATCH v3] PCI: altera: Retrain link in rootport mode only

2016-08-24 Thread Ley Foon Tan
Altera PCIe IP can be configured as rootport or device and they might have same vendor ID. It will cause the system hang issue if Altera PCIe is in endpoint mode and work with other PCIe rootport that from other vendors. Moved retrain function to before pci_scan_root_bus and removed _FIXUP. Add _al

Re: [PATCH v6 1/4] libata: Safely overwrite attached page in WRITE SAME xlat

2016-08-24 Thread Tom Yan
On 25 August 2016 at 05:28, Shaun Tancheff wrote: > On Wed, Aug 24, 2016 at 12:31 AM, Tom Yan wrote: >> On 24 August 2016 at 11:33, Martin K. Petersen >> wrote: "Tom" == Tom Yan writes: >>> >>> Tom> Nope, SCSI Write Same commands does not have payload (or in SCSI >>> Tom> terms, parame

Re: Memory (skb) leak in kernel 4.8-rc2

2016-08-24 Thread Frederic Dalleau
Hi Larry, On 24/08/2016 22:02, Larry Finger wrote: On 08/21/2016 07:09 AM, Frederic Dalleau wrote: I am unable to unload module bluetooth to verify that the second leak is not a false positive; however, the one in btusb is a real memory leak. I have a patch on the grill. Any progress on t

[PATCH] powerpc: Remove suspect CONFIG_PPC_BOOK3E #ifdefs in nohash/64/pgtable.h

2016-08-24 Thread Rui Teng
There are three #ifdef CONFIG_PPC_BOOK3E sections in nohash/64/pgtable.h. And there should be no configurations possible which use nohash/64/pgtable.h but don't also enable CONFIG_PPC_BOOK3E. Suggested-by: Michael Ellerman Signed-off-by: Rui Teng --- arch/powerpc/include/asm/nohash/64/pgtable.h

Re: [RFC 0/4] ZRAM: make it just store the high compression rate page

2016-08-24 Thread Sergey Senozhatsky
Hello, On (08/22/16 16:25), Hui Zhu wrote: > > Current ZRAM just can store all pages even if the compression rate > of a page is really low. So the compression rate of ZRAM is out of > control when it is running. > In my part, I did some test and record with ZRAM. The compression rate > is abou

[PATCH] f2fs: invalidate inode and data pages if inode is no longer used

2016-08-24 Thread Jaegeuk Kim
When a file is closed, let's deactivate inode page to mitigate further memory pressure. We can do data pages as well in the corner case of f2fs_drop_inode. Signed-off-by: Jaegeuk Kim --- fs/f2fs/file.c | 4 fs/f2fs/super.c | 1 + 2 files changed, 5 insertions(+) diff --git a/fs/f2fs/file.

Partnership Cooperation

2016-08-24 Thread Sheikh Maktoum Hasher Al Maktoum
Dear Friend, Your contact details came to me by recommendation, I am interested in investing in your country and I believe you have the capabilities of providing the needed assistance, solutions and advise in actualizing this, Let me know if you are willing to understake this task for me so we

[PATCH] softirq: fix tasklet_kill() and its users

2016-08-24 Thread Santosh Shilimkar
Semantically the expectation from the tasklet init/kill API should be as below. tasklet_init() == Init and Enable scheduling tasklet_kill() == Disable scheduling and Destroy tasklet_init() API exibit above behavior but not the tasklet_kill(). The tasklet handler can still get scheduled and run ev

[PATCH v2] iio: adc: ltc2485: add support for Linear Technology LTC2485 ADC

2016-08-24 Thread Alison Schofield
Adds basic support for the LTC2485 ADC - a delta-sigma analog-to-digital converter with an I2C interface that operates in single shot conversion mode. The driver supports an on board 5V reference and the power-on default configuration which rejects both 50hz & 60hz line frequencies and operates in

Re: [RFC PATCH v2 02/20] x86: Set the write-protect cache mode for full PAT support

2016-08-24 Thread Borislav Petkov
On Mon, Aug 22, 2016 at 05:35:50PM -0500, Tom Lendacky wrote: > For processors that support PAT, set the write-protect cache mode > (_PAGE_CACHE_MODE_WP) entry to the actual write-protect value (x05). > > Signed-off-by: Tom Lendacky > --- > arch/x86/mm/pat.c |4 ++-- > 1 file changed, 2 inse

[PATCH] [IA64] MCA: Use kmalloc_array() in init_record_index_pools()

2016-08-24 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 25 Aug 2016 07:37:46 +0200 * A multiplication for the size determination of a memory allocation indicated that an array data structure should be processed. Thus reuse the corresponding function "kmalloc_array". This issue was detected by using the Coccinelle

Re: [patch 1/2] i2c: add master driver for mellanox systems

2016-08-24 Thread kbuild test robot
Hi Vadim, [auto build test ERROR on wsa/i2c/for-next] [also build test ERROR on v4.8-rc3 next-20160824] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for convenience) to rec

Re: [PATCH v2] PCI: altera: Retrain link in rootport mode only

2016-08-24 Thread Ley Foon Tan
On Thu, Aug 25, 2016 at 1:54 AM, Bjorn Helgaas wrote: > [+cc Ray, Scott, Jon, bcm-kernel-feedback-list] > > On Wed, Aug 24, 2016 at 03:07:52PM +0800, Ley Foon Tan wrote: >> On Mon, Aug 22, 2016 at 11:47 PM, Bjorn Helgaas wrote: >> > On Fri, Aug 19, 2016 at 04:24:38PM +0800, Ley Foon Tan wrote: >>

Re: [PATCH 21/34] clk: nspire: Migrate to clk_hw based OF and registration APIs

2016-08-24 Thread Stephen Boyd
On 06/01, Stephen Boyd wrote: > Now that we have clk_hw based provider APIs to register clks, we > can get rid of struct clk pointers while registering clks in > these drivers, allowing us to move closer to a clear split of > consumer and provider clk APIs. > > Cc: Daniel Tang > Signed-off-by: St

Re: [PATCH 06/34] clk: bcm: kona: Migrate to clk_hw based registration and OF APIs

2016-08-24 Thread Stephen Boyd
On 06/01, Stephen Boyd wrote: > Now that we can use clk_hw pointers we don't need to have two > duplicate arrays holding the same mapping of clk index to clk_hw > pointer. Implement a custom clk_hw provider function to map the > OF specifier to the clk_hw instance for it. > > Cc: Alex Elder > Sig

Re: [PATCH 2/3] docs: split up the driver book

2016-08-24 Thread Mauro Carvalho Chehab
Em Wed, 24 Aug 2016 16:46:22 -0600 Jonathan Corbet escreveu: > On Tue, 23 Aug 2016 11:30:16 -0300 > Mauro Carvalho Chehab wrote: > > > On the output text, you'll see two places with "@:c:func:threadfn()". > > > > The problem here is that threadfn() is a function argument. While this > > used t

Re: [PATCH v2] clk: qcom: Migrate to clk_hw based registration and OF APIs

2016-08-24 Thread Stephen Boyd
On 08/16, Stephen Boyd wrote: > Now that we have clk_hw based provider APIs to register clks, we > can get rid of struct clk pointers in this driver, allowing us to > move closer to a clear split of consumer and provider clk APIs. > > Signed-off-by: Stephen Boyd > --- Applied to clk-next -- Qu

Re: linux-next: Tree for Aug 25

2016-08-24 Thread Stephen Rothwell
Hi all, On Thu, 25 Aug 2016 14:54:59 +1000 Stephen Rothwell wrote: > > Changes since 20160824: Just a reminder that I will not doing a linux-next release until next-20160905 (i.e. Monday week my time). -- Cheers, Stephen Rothwell

Re: [PATCH v2 0/3] *** Latency histograms - IRQSOFF,PREEMPTOFF ***

2016-08-24 Thread Daniel Wagner
Hi Binoy, On 08/24/2016 01:17 PM, Binoy Jayan wrote: Histogram output: cat /sys/kernel/debug/tracing/events/latency/latency_irqs/hist cat /sys/kernel/debug/tracing/events/latency/latency_preempt/hist cat /sys/kernel/debug/tracing/events/latency/latency_critical_timings/hist cat /sys/kernel/debug

Re: [RESEND PATCH v2 02/13] drivers: clk: st: Simplify clock binding of STiH4xx platforms

2016-08-24 Thread Michael Turquette
Quoting Gabriel Fernandez (2016-08-22 09:06:20) > Hi Mike, > > you forgot me ? > > Best Regards > > Gabriel > > > On 07/11/2016 08:58 AM, Gabriel Fernandez wrote: > > > > > > On 07/08/2016 06:08 PM, Michael Turquette wrote: > >> Quoting Gabriel Fernandez (2016-07-08 02:12:35) > >>> Hi Mike, >

Re: [PATCH 33/34] clk: vt8500: Migrate to clk_hw based registration APIs

2016-08-24 Thread Stephen Boyd
On 06/01, Stephen Boyd wrote: > Now that we have clk_hw based provider APIs to register clks, we > can get rid of struct clk pointers while registering clks in > these drivers, allowing us to move closer to a clear split of > consumer and provider clk APIs. > > Cc: Sebastian Hesselbarth > Cc: Ton

Re: [PATCH 34/34] clk: wm831x: Migrate to clk_hw based registration APIs

2016-08-24 Thread Stephen Boyd
On 06/01, Stephen Boyd wrote: > Now that we have clk_hw based provider APIs to register clks, we > can get rid of struct clk pointers while registering clks in > these drivers, allowing us to move closer to a clear split of > consumer and provider clk APIs. > > Cc: Mark Brown > Signed-off-by: Ste

[PATCH] PCI: Export pci_enable_ptm

2016-08-24 Thread Yong, Jonathan
Export symbol so device drivers outside of the core pci subsystem can use it. Signed-off-by: Yong, Jonathan --- drivers/pci/pcie/ptm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/pcie/ptm.c b/drivers/pci/pcie/ptm.c index 3b83024..bab8ac6 100644 --- a/drivers/pci/pcie/ptm.c ++

[PATCH] Allow pci_enable_ptm to be called outside of the pci subsystem

2016-08-24 Thread Yong, Jonathan
Allow external drivers to enable PTM bits on their respective devices. Please CC me when replying, thanks. Yong, Jonathan (1): PCI: Export pci_enable_ptm drivers/pci/pcie/ptm.c | 1 + 1 file changed, 1 insertion(+) -- 2.7.3

Re: [PATCH 29/34] clk: si570: Migrate to clk_hw based OF and registration APIs

2016-08-24 Thread Stephen Boyd
On 06/01, Stephen Boyd wrote: > Now that we have clk_hw based provider APIs to register clks, we > can get rid of struct clk pointers while registering clks in > these drivers, allowing us to move closer to a clear split of > consumer and provider clk APIs. > > Cc: Guenter Roeck > Cc: Sören Brink

Re: [PATCH V3] leds: trigger: Introduce an USB port trigger

2016-08-24 Thread Rafał Miłecki
On 24 August 2016 at 23:04, Greg KH wrote: > On Wed, Aug 24, 2016 at 11:29:51AM +0200, Rafał Miłecki wrote: >> On 24 August 2016 at 11:22, Greg KH wrote: >> > On Wed, Aug 24, 2016 at 12:03:29AM +0200, Rafał Miłecki wrote: >> >> +static ssize_t ports_show(struct device *dev, struct device_attribut

Re: [PATCH 27/34] clk: si514: Migrate to clk_hw based OF and registration APIs

2016-08-24 Thread Stephen Boyd
On 06/01, Stephen Boyd wrote: > Now that we have clk_hw based provider APIs to register clks, we > can get rid of struct clk pointers while registering clks in > these drivers, allowing us to move closer to a clear split of > consumer and provider clk APIs. > > Cc: Sebastian Hesselbarth > Cc: Gue

Re: [PATCH 26/34] clk: scpi: Migrate to clk_hw based OF and registration APIs

2016-08-24 Thread Stephen Boyd
On 06/01, Stephen Boyd wrote: > Now that we have clk_hw based provider APIs to register clks, we > can get rid of struct clk pointers while registering clks in > these drivers, allowing us to move closer to a clear split of > consumer and provider clk APIs. > > Cc: Sudeep Holla > Signed-off-by: S

Re: [PATCH 24/34] clk: rk808: Migrate to clk_hw based OF and registration APIs

2016-08-24 Thread Stephen Boyd
On 06/01, Stephen Boyd wrote: > Now that we have clk_hw based provider APIs to register clks, we > can get rid of struct clk pointers while registering clks in > these drivers, allowing us to move closer to a clear split of > consumer and provider clk APIs. > > Cc: Chris Zhong > Signed-off-by: St

Re: [PATCH 28/34] clk: si5351: Migrate to clk_hw based OF and registration APIs

2016-08-24 Thread Stephen Boyd
On 06/01, Stephen Boyd wrote: > Now that we have clk_hw based provider APIs to register clks, we > can get rid of struct clk pointers while registering clks in > these drivers, allowing us to move closer to a clear split of > consumer and provider clk APIs. > > Cc: Sebastian Hesselbarth > Cc: Gue

linux-next: build warning after merge of the crypto tree

2016-08-24 Thread Stephen Rothwell
Hi Herbert, After merging the crypto tree, today's linux-next build (powerpc ppc64_defconfig) produced this warning: crypto/xor.c: In function 'calibrate_xor_blocks': crypto/xor.c:156:1: warning: label 'out' defined but not used [-Wunused-label] out: ^ Introduced by commit 39457acda913 ("cr

Re: [PATCH] kexec: Fix double-free when failing to relocate the purgatory.

2016-08-24 Thread Baoquan He
It's reasonable. Ack. Acked-by: Baoquan He On 08/24/16 at 09:05pm, Thiago Jung Bauermann wrote: > If kexec_apply_relocations fails, kexec_load_purgatory frees pi->sechdrs > and pi->purgatory_buf. This is redundant, because in case of error > kimage_file_prepare_segments calls kimage_file_post_lo

Re: [PATCH 3/4] dt-binding: remoteproc: venus rproc dt binding document

2016-08-24 Thread Bjorn Andersson
On Wed 24 Aug 08:36 PDT 2016, Stanimir Varbanov wrote: > Hi Rob, > > On 08/23/2016 08:32 PM, Rob Herring wrote: > > On Fri, Aug 19, 2016 at 06:53:19PM +0300, Stanimir Varbanov wrote: > >> Add devicetree binding document for Venus remote processor. > >> > >> Signed-off-by: Stanimir Varbanov > >>

Re: [PATCH v3 0/5] dts patches for qcom tsens support

2016-08-24 Thread Andy Gross
On 24 August 2016 at 22:13, Bjorn Andersson wrote: > On Wed 24 Aug 03:22 PDT 2016, Paolo Pisati wrote: > >> On Wed, Aug 17, 2016 at 02:33:40PM -0500, Andy Gross wrote: >> > On Wed, Aug 17, 2016 at 10:48:43AM +0530, Rajendra Nayak wrote: >> > > Hey Andy, >> > > >> > > This is a respin of v2 with so

Re: [PATCH 15/34] clk: efm32gg: Migrate to clk_hw based OF and registration APIs

2016-08-24 Thread Stephen Boyd
On 06/01, Stephen Boyd wrote: > Now that we have clk_hw based provider APIs to register clks, we > can get rid of struct clk pointers while registering clks in > these drivers, allowing us to move closer to a clear split of > consumer and provider clk APIs. > > Cc: Uwe Kleine-König > Signed-off-b

Re: [PATCH 1/2] clk: mvebu: set flags in CP110 gate clock

2016-08-24 Thread Stephen Boyd
On 08/23, Marcin Wojtas wrote: > Armada CP110 system controller comprise its own routine responsble > for registering gate clocks. Among others 'flags' field in > struct clk_init_data was not set, using a random values, which > may cause an unpredicted behavior. > > This patch fixes the problem by

Re: [PATCH 14/34] clk: cs2000: Migrate to clk_hw based OF and registration APIs

2016-08-24 Thread Stephen Boyd
On 06/01, Stephen Boyd wrote: > Now that we have clk_hw based provider APIs to register clks, we > can get rid of struct clk pointers while registering clks in > these drivers, allowing us to move closer to a clear split of > consumer and provider clk APIs. > > Cc: Kuninori Morimoto > Signed-off-

Re: [PATCH v2] clk: fixed-factor: add optional dt-binding clock-flags

2016-08-24 Thread Stephen Boyd
On 07/04, Jongsung Kim wrote: > On 2016년 07월 02일 09:20, Stephen Boyd wrote: > > Do you actually have an IC on the board that is doing some fixed > > factor calculation? Or is this a clk driver design where we are > > listing out each piece of an SoC's clk controller in DT? > > > The SoC has several

Re: [PATCH v3 0/5] dts patches for qcom tsens support

2016-08-24 Thread Bjorn Andersson
On Wed 24 Aug 03:22 PDT 2016, Paolo Pisati wrote: > On Wed, Aug 17, 2016 at 02:33:40PM -0500, Andy Gross wrote: > > On Wed, Aug 17, 2016 at 10:48:43AM +0530, Rajendra Nayak wrote: > > > Hey Andy, > > > > > > This is a respin of v2 with some minor fixes pointed out by Rob. > > > Please pull these

Re: [PATCH 13/34] clk: clps711x: Migrate to clk_hw based OF and registration APIs

2016-08-24 Thread Stephen Boyd
On 06/01, Stephen Boyd wrote: > Now that we have clk_hw based provider APIs to register clks, we > can get rid of struct clk pointers while registering clks in > these drivers, allowing us to move closer to a clear split of > consumer and provider clk APIs. > > Cc: Alexander Shiyan > Signed-off-b

linux-next: Tree for Aug 25

2016-08-24 Thread Stephen Rothwell
Hi all, Changes since 20160824: The kbuild tree still had its build warnings for PowerPC, for which I reverted a commit. Non-merge commits (relative to Linus' tree): 3682 3689 files changed, 170524 insertions(+), 63738 dele

MAINTAINERS without commits in the last 3 years

2016-08-24 Thread Joe Perches
Many email addresses in MAINTAINERS no longer work so many sections in MAINTAINERS could likely be considered either obsolete or unmaintained. Marking these sections appropriately or simply removing the sections would make MAINTAINERS and get_maintainer.pl more useful. These M: entries in MAINTAI

Re: MAINTAINERS without commits in the last 3 years

2016-08-24 Thread Alexander Graf
> Am 24.08.2016 um 19:33 schrieb Joe Perches : > > Many email addresses in MAINTAINERS no longer work so many > sections in > MAINTAINERS could likely be considered either > obsolete or unmaintained. > > Marking these sections appropriately or simply removing the > sections would make MAINTAINE

Re: [PATCH] arm64: dts: hikey: extend default cma size to 128MB

2016-08-24 Thread Guodong Xu
On 24 August 2016 at 23:10, Rob Herring wrote: > On Wed, Aug 24, 2016 at 8:35 AM, Guodong Xu wrote: >> To support display in Debian on HiKey, cma heap is used to allocate >> graphic buffers. The default size of CMA is 16 MB which is not enought. > > s/enought/enough/ > >> >> Increase the default

Re: [PATCH 2/2] clk: mvebu: dynamically allocate resources in Armada CP110 system controller

2016-08-24 Thread Stephen Boyd
On 08/23, Marcin Wojtas wrote: > Original commit, which added support for Armada CP110 system controller > used global variables for storing all clock information. It worked > fine for Armada 7k SoC, with single CP110 block. After dual-CP110 Armada 8k > was introduced, the data got overwritten and

Re: + stackdepot-fix-mempolicy-use-after-free.patch added to -mm tree

2016-08-24 Thread David Rientjes
On Fri, 19 Aug 2016, a...@linux-foundation.org wrote: > From: Vegard Nossum > Subject: stackdepot: fix mempolicy use-after-free > > This patch fixes the following: > > BUG: KASAN: use-after-free in alloc_pages_current+0x363/0x370 at addr > 88010b48102c > Read of size 2 by task trin

Re: [PATCH 3/5] hwrng: amd: Be consitent with the driver name

2016-08-24 Thread Herbert Xu
On Wed, Aug 24, 2016 at 03:51:22PM +0200, LABBE Corentin wrote: > On Wed, Aug 24, 2016 at 06:58:11PM +0800, Herbert Xu wrote: > > On Fri, Aug 19, 2016 at 03:42:55PM +0200, LABBE Corentin wrote: > > > The driver name is displayed each time differently. > > > This patch make use of the same name ever

[PATCH v2 1/2] arm64: dts: hikey: extend default cma size to 128MB

2016-08-24 Thread Guodong Xu
To support display in Debian on HiKey, cma heap is used to allocate graphic buffers. The default size of CMA is 16 MB which is not enough. Increase the default CMA size to 128 MB. cc: Fathi Boudra cc: John Stultz cc: Xinliang Liu Signed-off-by: Guodong Xu Acked-by: Rob Herring --- arch/arm6

Re: [dm-devel] [PATCH v05 04/72] dm-log-userspace.h: use __u32, __s32 and __u64 from linux/types.h

2016-08-24 Thread Bart Van Assche
On 08/23/16 13:42, Mikko Rapeli wrote: > On Tue, Aug 23, 2016 at 02:28:19PM +, Bart Van Assche wrote: >> On 08/23/16 06:57, Bart Van Assche wrote: >>> On 08/22/16 11:32, Mikko Rapeli wrote: - * uint32_t (*get_region_size)(struct dm_dirty_log *log); + * __u32 (*get_region_size)(struct

Re: [PATCH 1/2] clk: samsung: exynos5260: Move struct samsung_cmu_info to init section

2016-08-24 Thread Stephen Boyd
On 08/24, Chanwoo Choi wrote: > On 2016년 08월 24일 13:43, Stephen Boyd wrote: > > On 08/23, Sylwester Nawrocki wrote: > >> So the saving is rather insignificant but the patch doesn't make > >> things worse and I'd say it might be worth applying. > >> > > > > Sounds good. This sort of information sho

Re: [PATCH 1/1] arm64/hugetlb: clear PG_dcache_clean if the page is dirty when munmap

2016-08-24 Thread Leizhen (ThunderTown)
On 2016/8/24 18:30, Catalin Marinas wrote: > On Wed, Aug 24, 2016 at 05:00:50PM +0800, Leizhen (ThunderTown) wrote: >> >> >> On 2016/8/24 1:28, Catalin Marinas wrote: >>> On Mon, Aug 22, 2016 at 12:19:04PM +0800, Leizhen (ThunderTown) wrote: On 2016/7/20 17:19, Catalin Marinas wrote: > O

Re: [PATCH 00/13] arm64: Allwinner A64 support based on sunxi-ng

2016-08-24 Thread André Przywara
Hi Maxime, thanks for your answer, much appreciated! On 23/08/16 20:31, Maxime Ripard wrote: > Hi Andre, > > On Mon, Aug 01, 2016 at 02:43:06AM +0100, André Przywara wrote: >> Hi Maxime, >> >> On 26/07/16 21:30, Maxime Ripard wrote: >>> Hi, >>> >>> Here is the previous A64 patches made by Andre

[PATCH v2 2/2] arm64: dts: hi6220: add resets property into dwmmc nodes

2016-08-24 Thread Guodong Xu
Add resets property into dwmmc_0, dwmmc_1 and dwmmc_2 for hi6220 Code and documentation to this property were confirmed by maintainers. See: [1] https://patchwork.kernel.org/patch/9276607/ [2] https://patchwork.kernel.org/patch/8487151/ [3] https://lkml.org/lkml/2016/8/12/91 cc: Jaehoon Chung cc

Re: [PATCH] tty: serial: msm: Add runtime PM and system sleep support

2016-08-24 Thread Pramod Gurav
Hi, On 17 June 2016 at 15:46, Pramod Gurav wrote: > Add runtime pm and suspend/resume callback support to serial msm > driver so that clock resources are managed runtime to save power. > Any comments on this patch? > Signed-off-by: Pramod Gurav > --- > drivers/tty/serial/msm_serial.c | 183 >

Re: [PATCH 2/5] Drivers: hv: balloon: account for gaps in hot add regions

2016-08-24 Thread Yauheni Kaliuta
Hi, kys! > On Wed, 24 Aug 2016 16:23:10 -0700, kys wrote: [...] > -static bool pfn_covered(unsigned long start_pfn, unsigned long pfn_cnt) > +static int pfn_covered(unsigned long start_pfn, unsigned long pfn_cnt) > { > struct list_head *cur; > struct hv_hotadd_state *has;

Re: [PATCH for-next 0/2] {IB,net}/hns: Add support of ACPI to the Hisilicon RoCE Driver

2016-08-24 Thread David Miller
From: Salil Mehta Date: Wed, 24 Aug 2016 04:44:48 +0800 > This patch is meant to add support of ACPI to the Hisilicon RoCE driver. > Following changes have been made in the driver(s): > > Patch 1/2: HNS Ethernet Driver: changes to support ACPI have been done in >the RoCE reset function part

Re: [PATCH 2/2] ARM: dts: sun8i: enable UART1 for iNet D978 Rev2 board

2016-08-24 Thread Chen-Yu Tsai
On Thu, Aug 25, 2016 at 7:58 AM, Icenowy Zheng wrote: > > > 25.08.2016, 03:36, "Maxime Ripard" : >> Hi, >> >> On Tue, Aug 23, 2016 at 02:44:51PM +0800, Icenowy Zheng wrote: >>> UART1 is connected to the bluetooth part of RTL8723BS WiFi/BT combo card >>> on iNet D978 Rev2 board. >>> >>> Enable t

Re: [kbuild-all] make[2]: *** No rule to make target 'tools/testing/nvdimm//config_check.o', needed by 'tools/testing/nvdimm//dax.o'.

2016-08-24 Thread Fengguang Wu
On Wed, Aug 24, 2016 at 07:59:05AM -0700, Dan Williams wrote: On Tue, Aug 23, 2016 at 7:47 PM, Fengguang Wu wrote: On Tue, Aug 23, 2016 at 04:42:15PM -0700, Dan Williams wrote: I was not able to reproduce this, I tried on Fedora 23 and Fedora 24 and both attempts succeeded. Hi Dan, it looks

Re: [PATCH 1/3] ARM: dts: omap5-board-common: enable rtc and charging of backup battery

2016-08-24 Thread Matthijs van Duin
On 13 January 2016 at 19:18, Nishanth Menon wrote: > As you already see it is ridiculously round about way of protecting RTC > time.. but anyways, for what ever reason, that was mandatory function to > support on certain product lines. Having secure date/time is probably necessary for some digita

Re: [PATCH] livepatch/module: make TAINT_LIVEPATCH module-specific

2016-08-24 Thread Jiri Kosina
On Wed, 24 Aug 2016, Josh Poimboeuf wrote: > There's no reliable way to determine which module tainted the kernel > with CONFIG_LIVEPATCH. For example, /sys/module//taint > doesn't report it. Neither does the "mod -t" command in the crash tool. > > Make it crystal clear who the guilty party is

Re: [PATCH] mm: clarify COMPACTION Kconfig text

2016-08-24 Thread David Rientjes
On Tue, 23 Aug 2016, Michal Hocko wrote: > From: Michal Hocko > > The current wording of the COMPACTION Kconfig help text doesn't > emphasise that disabling COMPACTION might cripple the page allocator > which relies on the compaction quite heavily for high order requests and > an unexpected OOM

Re: [PATCH net-next] net: dsa: rename switch operations structure

2016-08-24 Thread David Miller
From: Vivien Didelot Date: Tue, 23 Aug 2016 12:38:56 -0400 > Now that the dsa_switch_driver structure contains only function pointers > as it is supposed to, rename it to the more appropriate dsa_switch_ops, > uniformly to any other operations structure in the kernel. > > No functional changes h

Re: [PATCH] tty: serial: msm: Add runtime PM and system sleep support

2016-08-24 Thread Pramod Gurav
On 25 August 2016 at 10:05, Andy Gross wrote: > On 17 June 2016 at 05:16, Pramod Gurav wrote: > >> + if (msm_port->is_uartdm) { >> + ret = clk_enable(msm_port->pclk); > > Ditto here. Thanks Andy, will include these two changes in v2. > >> + if (ret)

Re: what is the purpose of SLAB and SLUB (was: Re: [PATCH v3] mm/slab: Improve performance of gathering slabinfo) stats

2016-08-24 Thread Christoph Lameter
On Wed, 24 Aug 2016, Mel Gorman wrote: > If/when I get back to the page allocator, the priority would be a bulk > API for faster allocs of batches of order-0 pages instead of allocating > a large page and splitting. > OMG. Do we really want to continue this? There are billions of Linux devices out

[RESEND PATCH, v5 5/5] arm64: dts: mediatek: add USB3 DRD driver

2016-08-24 Thread Chunfeng Yun
USB3 DRD driver is added for MT8173-EVB, and xHCI driver becomes its subnode Signed-off-by: Chunfeng Yun --- arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 46 +-- arch/arm64/boot/dts/mediatek/mt8173.dtsi| 29 + 2 files changed, 66 insertions(+), 9

[RESEND PATCH, v5 1/5] dt-bindings: mt8173-xhci: support host side of dual-role mode

2016-08-24 Thread Chunfeng Yun
Some resources, such as IPPC register etc, shared with device driver are moved into common glue layer when xHCI driver is the host side of dual-role mode and they should be changed as optional properties if they are required ones before. For clarity, add a new part of binding to support host side o

Re: [PATCH] serial: 8250_mtk: support big baud rate.

2016-08-24 Thread Long Cheng
On Fri, 2016-08-12 at 10:41 +0800, Long Cheng wrote: > From: Eddie Huang > > mediatek can support baud rate up to 4M. > the 'uart_get_baud_rate' function will limit the max baud rate. > Modify max baud to remove the limit. > > Signed-off-by: Long Cheng > --- > drivers/tty/serial/8250/8250_mtk.

Re: [PATCH] tty: serial: msm: Add runtime PM and system sleep support

2016-08-24 Thread Andy Gross
On 17 June 2016 at 05:16, Pramod Gurav wrote: > @@ -1635,6 +1732,7 @@ static int msm_serial_remove(struct platform_device > *pdev) > struct uart_port *port = platform_get_drvdata(pdev); > > uart_remove_one_port(&msm_uart_driver, port); > + pm_runtime_disable(&pdev->dev);

Re: [PATCH v2 2/2] MAINTAINERS: document ASoC header files

2016-08-24 Thread Kuninori Morimoto
Hi > include/sound/simple_card_utils.h is handled by ASoC maintainers, as > stated in https://lkml.org/lkml/2016/8/22/307, and > include/sound/simple_card.h seems to be an ASoC file too. In the future > there will be more files named like these ones so introduce a pattern to > match them. > > Si

[RESEND PATCH, v5 3/5] usb: xhci-mtk: make IPPC register optional

2016-08-24 Thread Chunfeng Yun
Make IPPC register optional to support host side of dual-role mode, due to it is moved into common glue layer for simplification. Signed-off-by: Chunfeng Yun --- drivers/usb/host/xhci-mtk.c | 36 +--- 1 file changed, 29 insertions(+), 7 deletions(-) diff --git

Re: [PATCH 01/10] reset: ath79: add driver Kconfig option

2016-08-24 Thread Masahiro Yamada
2016-08-25 5:06 GMT+09:00 Arnd Bergmann : > On Thursday, August 25, 2016 3:18:55 AM CEST Masahiro Yamada wrote: >> Hi Arnd, >> >> >> 2016-08-25 0:51 GMT+09:00 Arnd Bergmann : >> > On Wednesday, August 24, 2016 3:28:53 PM CEST Philipp Zabel wrote: >> >> if RESET_CONTROLLER >> >> >> >> +config RESET

[RESEND PATCH V5, 0/5] Add MediaTek USB3 DRD Driver

2016-08-24 Thread Chunfeng Yun
>From e60d29d748a4e9f412c9bb08458083e97d3f523d Mon Sep 17 00:00:00 2001 From: Chunfeng Yun Date: Tue, 9 Aug 2016 16:12:31 +0800 Subject: [PATCH V5, 0/5] Add MediaTek USB3 DRD Driver These patches introduce the MediaTek USB3 dual-role controller driver. The driver can be configured as Dual-Role D

Re: [PATCH v2] perf/x86/amd: Make HW_CACHE_REFERENCES and HW_CACHE_MISSES measure L2

2016-08-24 Thread Borislav Petkov
(dropping stable@ from CC) On Wed, Aug 24, 2016 at 08:27:06PM +0200, Peter Zijlstra wrote: > They're not meant to be comparable between machines. I wouldn't even > compare the LLC numbers between two different Intel parts. > > These events are meant to profile a workload on the machine you run th

Re: what is the purpose of SLAB and SLUB

2016-08-24 Thread Christoph Lameter
On Tue, 23 Aug 2016, Andi Kleen wrote: > Why would you stop someone from working on SLAB if they want to? > > Forcibly enforcing a freeze on something can make sense if you're > in charge of a team to conserve resources, but in Linux the situation is > very different. I agree and frankly having m

[RESEND PATCH, v5 4/5] usb: Add MediaTek USB3 DRD Driver

2016-08-24 Thread Chunfeng Yun
This patch adds support for the MediaTek USB3 controller integrated into MT8173. It can be configured as Dual-Role Device (DRD), Peripheral Only and Host Only (xHCI) modes. Signed-off-by: Chunfeng Yun --- drivers/usb/Kconfig|2 + drivers/usb/Makefile |1 + d

Re: [PATCH v3 1/5] drm/rockchip: sort registers define by chip's number

2016-08-24 Thread Mark yao
On 2016年08月23日 21:13, Sean Paul wrote: On Mon, Aug 22, 2016 at 8:40 PM, Mark yao wrote: On 2016年08月23日 04:30, Sean Paul wrote: On Thu, Aug 18, 2016 at 6:02 AM, Mark yao wrote: On 2016年08月18日 17:11, Daniel Vetter wrote: On Thu, Aug 18, 2016 at 05:08:14PM +0800, Mark yao wrote: Hi Sean Than

Re: [PATCH 31/34] clk: twl6040: Migrate to clk_hw based registration APIs

2016-08-24 Thread Stephen Boyd
On 06/01, Stephen Boyd wrote: > Now that we have clk_hw based provider APIs to register clks, we > can get rid of struct clk pointers while registering clks in > these drivers, allowing us to move closer to a clear split of > consumer and provider clk APIs. > > Cc: Peter Ujfalusi > Signed-off-by:

Re: livepatch/module: make TAINT_LIVEPATCH module-specific

2016-08-24 Thread Jessica Yu
+++ Josh Poimboeuf [24/08/16 16:33 -0500]: There's no reliable way to determine which module tainted the kernel with CONFIG_LIVEPATCH. For example, /sys/module//taint doesn't report it. Neither does the "mod -t" command in the crash tool. Make it crystal clear who the guilty party is by conver

[RESEND PATCH, v5 2/5] dt-bindings: mt8173-mtu3: add devicetree bindings

2016-08-24 Thread Chunfeng Yun
add a DT binding doc for MediaTek USB3 DRD driver Signed-off-by: Chunfeng Yun Acked-by: Rob Herring --- .../devicetree/bindings/usb/mt8173-mtu3.txt| 87 1 file changed, 87 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/mt8173-mtu3.txt dif

Re: [PATCH V5, 0/5] Add MediaTek USB3 DRD Driver

2016-08-24 Thread chunfeng yun
Hi, On Wed, 2016-08-24 at 13:29 +0200, Oliver Neukum wrote: > On Wed, 2016-08-24 at 14:42 +0800, chunfeng yun wrote: > > Dear all, > > > > Could you please help me to review the code? > > Is the structure > > struct qmu_gpd > > shared with the hardware? Do I read this correctly that > you

Re: [PATCH] clk: h8300: Migrate to clk_hw based registration APIs

2016-08-24 Thread Stephen Boyd
On 08/16, Stephen Boyd wrote: > Now that we have clk_hw based provider APIs to register clks, we > can get rid of struct clk pointers while registering clks in > these drivers, allowing us to move closer to a clear split of > consumer and provider clk APIs. > > Cc: Yoshinori Sato > Cc: > Signed-

Re: [PATCH 09/10] reset: zynq: add driver Kconfig option

2016-08-24 Thread Masahiro Yamada
2016-08-25 2:48 GMT+09:00 Masahiro Yamada : > 2016-08-24 22:29 GMT+09:00 Philipp Zabel : >> Visible only if COMPILE_TEST is enabled, this allows to include the >> driver in build tests. >> >> Cc: Moritz Fischer >> Cc: Michal Simek >> Cc: Sören Brinkmann >> Signed-off-by: Philipp Zabel >> --- >>

Re: of_clk_add_(hw_)providers multipule times for one node?

2016-08-24 Thread Masahiro Yamada
Hi Stephen, 2016-08-25 3:08 GMT+09:00 Stephen Boyd : > (Please trim replies) > > On 08/24, Masahiro Yamada wrote: >> >> Looks like the whole of my series was rejected, >> but I was not sure why the following one was rejected. >> https://patchwork.kernel.org/patch/9236563/ >> > > Replying to that

Re: kernel BUG at net/unix/garbage.c:149!"

2016-08-24 Thread Nikolay Borisov
On Thu, Aug 25, 2016 at 12:40 AM, Hannes Frederic Sowa wrote: > On 24.08.2016 16:24, Nikolay Borisov wrote: [SNIP] > > One commit which could have to do with that is > > commit fc64869c48494a401b1fb627c9ecc4e6c1d74b0d > Author: Andrey Ryabinin > Date: Wed May 18 19:19:27 2016 +0300 > > net:

[RFT PATCH v2 4/4] usb: dwc2: Force mode optimizations

2016-08-24 Thread John Youn
If the dr_mode is USB_DR_MODE_OTG, forcing the mode is needed during driver probe to get the host and device specific HW parameters. Then we clear the force mode bits so that the core operates in OTG mode. The force mode bits should not be touched at any other time during the driver lifetime and t

[RFT PATCH v2 1/4] usb: dwc2: gadget: Only initialize device if in device mode

2016-08-24 Thread John Youn
In dwc2_hsotg_udc_start(), don't initialize the controller for device mode unless we are actually in device mode. Signed-off-by: John Youn --- drivers/usb/dwc2/gadget.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/usb/dwc2/gadget.c b/drivers/usb/dwc2/gadget.

[RFT PATCH v2 3/4] usb: dwc2: Properly account for the force mode delays

2016-08-24 Thread John Youn
When a force mode bit is set and the IDDIG debounce filter is enabled, there is a delay for the forced mode to take effect. This delay is due to the IDDIG debounce filter and is variable depending on the platform's PHY clock speed. To account for this delay we can poll for the expected mode. On a

  1   2   3   4   5   6   7   8   9   >