Re: [PATCH] thermal: hwmon: EXPORT_SYMBOL for thermal hwmon sysfs

2016-07-03 Thread Kuninori Morimoto
Hi Geert > > +EXPORT_SYMBOL(thermal_add_hwmon_sysfs); > > EXPORT_SYMBOL_GPL? > That seems to be prevalent in the thermal subsystem, except for a few cases > in cpu_cooling.c and thermal_helpers.c. Thanks. Will fix in v2

Re: [PATCH v3 3/4] iio: potentiometer: mcp4531: Add device tree binding

2016-07-03 Thread Florian Vaussard
On 07/03/2016 12:56 PM, Jonathan Cameron wrote: > On 30/06/16 09:09, Florian Vaussard wrote: >> >> >> Le 30. 06. 16 à 09:46, Peter Rosin a écrit : >>> >>> >>> On June 30, 2016 9:34:50 AM GMT+02:00, Florian Vaussard >>> wrote: This patch adds the necessary device tree binding to allow DT pr

Re: [PATCH v3 1/2] iio: adc: max1363: Add device tree binding documentation

2016-07-03 Thread Florian Vaussard
Hi Jonathan, On 07/03/2016 12:41 PM, Jonathan Cameron wrote: > On 30/06/16 08:43, Florian Vaussard wrote: >> Add the device tree documentation for all the supported parts. Mandatory >> binding is the compatible string and the slave I2C address. >> >> Optional properties can be used to specify the

Re: [RFC] arm64: kexec_file_load support

2016-07-03 Thread AKASHI Takahiro
Hi, On Fri, Jul 01, 2016 at 12:46:31PM -0300, Thiago Jung Bauermann wrote: > Am Freitag, 01 Juli 2016, 14:11:12 schrieb AKASHI Takahiro: > > I'm not sure whether there is any demand for kexec_file_load > > support on arm64, but anyhow I'm working on this and now > > my early prototype code does wo

[PATCH v2 8/8] mm/zsmalloc: use helper to clear page->flags bit

2016-07-03 Thread Ganesh Mahendran
user ClearPagePrivate/ClearPagePrivate2 helper to clear PG_private/PG_private_2 in page->flags Signed-off-by: Ganesh Mahendran Acked-by: Minchan Kim v2: none --- mm/zsmalloc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c index 756f83

[PATCH v2 5/8] mm/zsmalloc: avoid calculate max objects of zspage twice

2016-07-03 Thread Ganesh Mahendran
Currently, if a class can not be merged, the max objects of zspage in that class may be calculated twice. This patch calculate max objects of zspage at the begin, and pass the value to can_merge() to decide whether the class can be merged. Also this patch remove function get_maxobj_per_zspage(),

[PATCH v2 4/8] mm/zsmalloc: use class->objs_per_zspage to get num of max objects

2016-07-03 Thread Ganesh Mahendran
num of max objects in zspage is stored in each size_class now. So there is no need to re-calculate it. Signed-off-by: Ganesh Mahendran Acked-by: Minchan Kim --- mm/zsmalloc.c | 18 +++--- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c in

[PATCH v2 7/8] mm/zsmalloc: add __init,__exit attribute

2016-07-03 Thread Ganesh Mahendran
Add __init,__exit attribute for function that only called in module init/exit to save memory. Signed-off-by: Ganesh Mahendran v2: add __init/__exit for zs_register_cpu_notifier/zs_unregister_cpu_notifier --- mm/zsmalloc.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-)

[PATCH v2 6/8] mm/zsmalloc: keep comments consistent with code

2016-07-03 Thread Ganesh Mahendran
some minor change of comments: 1). update zs_malloc(),zs_create_pool() function header 2). update "Usage of struct page fields" Signed-off-by: Ganesh Mahendran v2: change *object index* to *object offset* - Minchan --- mm/zsmalloc.c | 7 +++ 1 file changed, 3 insertions(+), 4 deleti

[PATCH v2 3/8] mm/zsmalloc: take obj index back from find_alloced_obj

2016-07-03 Thread Ganesh Mahendran
the obj index value should be updated after return from find_alloced_obj() to avoid CPU buring caused by unnecessary object scanning. Signed-off-by: Ganesh Mahendran v2: - update commit description Hi, Minchan: find_alloced_obj() already has the argument which use the obj_idx name. So I u

[PATCH v2 2/8] mm/zsmalloc: use obj_index to keep consistent with others

2016-07-03 Thread Ganesh Mahendran
This is a cleanup patch. Change "index" to "obj_index" to keep consistent with others in zsmalloc. Signed-off-by: Ganesh Mahendran v2: none --- mm/zsmalloc.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c index c7f79d5..8915a

Re: [RFC] [PATCH 0/3] media: an attempt to refresh omap1_camera driver

2016-07-03 Thread Hans Verkuil
On 07/04/2016 01:32 AM, Aaro Koskinen wrote: > Hi, > > On Fri, Jun 17, 2016 at 09:04:52AM +0200, Hans Verkuil wrote: >> Out of curiosity: is supporting the Amstrad Delta something you do as a hobby >> or are there other reasons? > > Out of curiousity, why should this matter? It doesn't. As I sai

[PATCH v2 1/8] mm/zsmalloc: modify zs compact trace interface

2016-07-03 Thread Ganesh Mahendran
This patch changes trace_zsmalloc_compact_start[end] to trace_zs_compact_start[end] to keep function naming consistent with others in zsmalloc Also this patch remove pages_total_compacted information which may not really needed. Signed-off-by: Ganesh Mahendran --- v2: change commit message ---

Re: [PATCH] thermal: hwmon: EXPORT_SYMBOL for thermal hwmon sysfs

2016-07-03 Thread Geert Uytterhoeven
Hi Morimoto-san, On Mon, Jul 4, 2016 at 2:31 AM, Kuninori Morimoto wrote: > From: Kuninori Morimoto > > thermal_add_hwmon_sysfs()/thermal_remove_hwmon_sysfs() need > EXPORT_SYMBOL(). Otherwise we will have ERROR > >>> ERROR: "thermal_remove_hwmon_sysfs" [drivers/thermal/rcar_thermal.ko] >>> und

Re: [PATCH v3 2/3] bcache: update document info

2016-07-03 Thread wangyijing
在 2016/7/4 13:49, Coly Li 写道: > 在 16/7/4 上午9:23, Yijing Wang 写道: >> There is no return in continue_at(), update the documentation. >> > > Thanks. > > Acked-by: Coly Li Thanks very much! > >> Signed-off-by: Yijing Wang >> --- >> drivers/md/bcache/closure.c |2 +- >> drivers/md/bcache/c

Re: [PATCH] lockdep: Add a document describing crossrelease feature

2016-07-03 Thread Byungchul Park
On Fri, Jul 01, 2016 at 12:45:21PM +0200, Peter Zijlstra wrote: > > +Crossrelease lock dependency check > > +== > > + > > +Started by Byungchul Park > > + > > +Contents: > > + > > + (*) What is a problem? > > + > > + - Original lockdep's assumptions. > > + -

Re: [PATCH 0/2] KVM: MMU: support VMAs that got remap_pfn_range-ed

2016-07-03 Thread Xiao Guangrong
On 06/30/2016 09:01 PM, Paolo Bonzini wrote: The vGPU folks would like to trap the first access to a BAR by setting vm_ops on the VMAs produced by mmap-ing a VFIO device. The fault handler then can use remap_pfn_range to place some non-reserved pages in the VMA. Why does it require fetching

Linux 4.7-rc6

2016-07-03 Thread Linus Torvalds
Hmm.. Another week, another -rc. I'd love to tell you that things are calming down, and we're shrinking, but that would be a lie. It's not like this is a huge rc, but it's definitely bigger than the previous rc's were. I don't think that's necessarily a big problem, it seems to be mostly timing -

[PATCH 0/3] ARM: dts: Enable suspend configuration

2016-07-03 Thread Keerthy
Now that all the driver patches are Acked-by the respective driver Maintainers. Here is the set of Device Tree patches which were dependent on the driver patches. These are boot tested on am437x-sk-evm, am437x-gp-evm, am335x-bone, am335x-boneblack. Keerthy (1): ARM: dts: AM437X-GP-EVM: AM437X-S

[PATCH 2/3] ARM: dts: am437x-gp-evm: disable DDR regulator in rtc-only/poweroff mode

2016-07-03 Thread Keerthy
From: Tero Kristo Without this, the memory will remain active during poweroff consuming extra power. Signed-off-by: Tero Kristo Signed-off-by: Dave Gerlach Signed-off-by: Keerthy --- arch/arm/boot/dts/am437x-gp-evm.dts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/

[PATCH 3/3] ARM: dts: am437x-sk-evm: disable DDR regulator in rtc-only/poweroff mode

2016-07-03 Thread Keerthy
From: Tero Kristo Without this, the memory will remain active during poweroff consuming extra power. Please note revision 2.1 PMIC seems to fail when DCDC3 disable is attempted, so this is not done on that PMIC revision. The PMIC revision checks in the regulator patches make sure of this. Signed

[PATCH 1/3] ARM: dts: AM437X-GP-EVM: AM437X-SK-EVM: Make dcdc3 dcdc5 and dcdc6 enable during suspend

2016-07-03 Thread Keerthy
dcdc3, dcdc5, dcdc6 supply ddr and rtc respectively. These are required to be on during suspend. Hence set the state accordingly. Signed-off-by: Keerthy --- arch/arm/boot/dts/am437x-gp-evm.dts | 10 ++ arch/arm/boot/dts/am437x-sk-evm.dts | 27 +++ 2 files changed,

Re: [PATCH v7 2/2] drm/panel: Add JDI LT070ME05000 WUXGA DSI Panel

2016-07-03 Thread Vinay Simha
On Mon, Jul 4, 2016 at 4:22 AM, Emil Velikov wrote: > On 28 June 2016 at 16:59, Vinay Simha wrote: >> hi, >> >> Any further comments or reviews? >> > You still haven't covered my earlier suggestions, as such I cannot > give you a r-b :-( They are not blockers by any means, but it'll be > up-to th

Re: [PATCH v11 00/22] Add HiSilicon RoCE driver

2016-07-03 Thread Wei Hu (Xavier)
On 2016/7/2 20:58, Leon Romanovsky wrote: On Sat, Jul 02, 2016 at 05:39:02PM +0800, Lijun Ou wrote: This v11 28 files changed, 10626 insertions(+), 1 deletion(-) First version 27 files changed, 11670 insertions(+), 11 deletions(-) 1K LOC less, we are moving in right direction. Thanks

[PATCH v13 2/8] perf evlist: Introduce aux evlist

2016-07-03 Thread Wang Nan
An auxiliary evlist is created by perf_evlist__new_aux() using an existing evlist as its parent. An auxiliary evlist can have its own 'struct perf_mmap', but can't have any other data. User should use its parent instead when accessing other data. Auxiliary evlists are containers of 'struct perf_mm

[PATCH v13 7/8] perf tools: Don't warn about out of order event if write_backward is used

2016-07-03 Thread Wang Nan
If write_backward attribute is set, records are written into kernel ring buffer from end to beginning, but read from beginning to end. To avoid 'XX out of order events recorded' warning message (timestamps of records is in reverse order when using write_backward), suppress the warning message if wr

[PATCH v13 8/8] perf tools: Add --tail-synthesize option

2016-07-03 Thread Wang Nan
When working with overwritable ring buffer there's a inconvenience problem: if perf dumps data after a long period after it starts, non-sample events may lost, which makes following 'perf report' unable to identify proc name and mmap layout. For example: # perf record -m 4 -e raw_syscalls:* -g --

[PATCH v13 6/8] perf tools: Enable overwrite settings

2016-07-03 Thread Wang Nan
This patch allows following config terms and option: Globally setting events to overwrite; # perf record --overwrite ... Set specific events to be overwrite or no-overwrite. # perf record --event cycles/overwrite/ ... # perf record --event cycles/no-overwrite/ ... Add missing config terms a

[PATCH v13 4/8] perf record: Introduce rec->overwrite_evlist for overwritable events

2016-07-03 Thread Wang Nan
Create an auxiliary evlist for overwritable events. Before mmap, build this evlist and set 'overwrite' and 'backward' attribute. Since perf_evlist__mmap_ex() only maps events when evsel->overwrite matches evlist's corresponding attributes, with these two evlists an event goes to either rec->evlist

[PATCH v13 0/8] perf tools: Support overwritable ring buffer

2016-07-03 Thread Wang Nan
This patch set enables daemonized perf recording by utilizing overwritable backward ring buffer. With this feature one can put perf background, and dump ring buffer records by a SIGUSR2 when he/she find something unusual. For example, following command record system calls, schedule events and sampl

[PATCH v13 5/8] perf record: Read from overwritable ring buffer

2016-07-03 Thread Wang Nan
overwrite_evt_state is introduced to reflect the state of overwritable ring buffers. It is a state machine with 3 states: .(forbid)_. | | | V RUNNING --(1)--> DATA_PENDING --(2)--> EMPT

[PATCH v13 1/8] perf tools: Drop redundant evsel->overwrite indicator

2016-07-03 Thread Wang Nan
From: Arnaldo Carvalho de Melo evsel->overwrite indicator means an event should be put into overwritable ring buffer. In current implementation, it equals to evsel->attr.write_backward. To reduce compliexity, remove evsel->overwrite, use evsel->attr.write_backward instead. Signed-off-by: Arnaldo

[PATCH v13 3/8] perf tests: Add testcase for auxiliary evlist

2016-07-03 Thread Wang Nan
Improve test backward-ring-buffer, trace both enter and exit event of prctl() syscall, utilize auxiliary evlist to mmap enter and exit event into separated mmaps. Signed-off-by: Wang Nan Cc: Arnaldo Carvalho de Melo Cc: Jiri Olsa Cc: Masami Hiramatsu Cc: Namhyung Kim Cc: Zefan Li Cc: Nilay V

Re: [PATCH] netfilter: nf_conntrack_sip: CSeq 0 is a valid CSeq

2016-07-03 Thread Christophe Leroy
Le 04/07/2016 à 07:48, Liping Zhang a écrit : 2016-07-01 17:48 GMT+08:00 Christophe Leroy : Do not drop packet when CSeq is 0 as 0 is also a valid value for CSeq. --- a/net/netfilter/nf_conntrack_sip.c +++ b/net/netfilter/nf_conntrack_sip.c @@ -1368,6 +1368,7 @@ static int process_sip_respons

[PATCH net-next] tun: fix build warnings

2016-07-03 Thread Jason Wang
Stephen Rothwell reports a build warnings(powerpc ppc64_defconfig) drivers/net/tun.c: In function 'tun_do_read.part.5': /home/sfr/next/next/drivers/net/tun.c:1491:6: warning: 'err' may be used uninitialized in this function [-Wmaybe-uninitialized] int err; This is because tun_ring_recv() may r

Re: [PATCH v3 2/3] bcache: update document info

2016-07-03 Thread Coly Li
在 16/7/4 上午9:23, Yijing Wang 写道: > There is no return in continue_at(), update the documentation. > Thanks. Acked-by: Coly Li > Signed-off-by: Yijing Wang > --- > drivers/md/bcache/closure.c |2 +- > drivers/md/bcache/closure.h |3 ++- > 2 files changed, 3 insertions(+), 2 deletions(

linux-next: manual merge of the kvm tree with the kspp tree

2016-07-03 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the kvm tree got a conflict in: arch/x86/kvm/vmx.c between commit: 255303026193 ("x86: apply more __ro_after_init and const") from the kspp tree and commit: c45dcc71b794 ("KVM: VMX: enable guest access to LMCE related MSRs") from the kvm tree. I fix

Re: [PATCH] netfilter: nf_conntrack_sip: CSeq 0 is a valid CSeq

2016-07-03 Thread Liping Zhang
2016-07-01 17:48 GMT+08:00 Christophe Leroy : > Do not drop packet when CSeq is 0 as 0 is also a valid value for CSeq. > > --- a/net/netfilter/nf_conntrack_sip.c > +++ b/net/netfilter/nf_conntrack_sip.c > @@ -1368,6 +1368,7 @@ static int process_sip_response(struct sk_buff *skb, > unsigned int pro

[PATCH] fsl/fman: fix error handling

2016-07-03 Thread Christophe JAILLET
This is likely that checking 'fman->fifo_offset' instead of 'fman->cam_offset' is expected here. Signed-off-by: Christophe JAILLET --- The type of 'fifo_offset' may also need to be changed. --- drivers/net/ethernet/freescale/fman/fman.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) di

Re: [PATCH 3/3] mm/page_owner: track page free call chain

2016-07-03 Thread Sergey Senozhatsky
On (07/04/16 14:29), Joonsoo Kim wrote: > > > On Sun, Jul 03, 2016 at 01:16:56AM +0900, Sergey Senozhatsky wrote: > > > > Introduce PAGE_OWNER_TRACK_FREE config option to extend page owner with > > > > free_pages() tracking functionality. This adds to the dump_page_owner() > > > > output an additio

linux-next: build warnings after merge of the ftrace tree

2016-07-03 Thread Stephen Rothwell
Hi Steven, After merging the ftrace tree, today's linux-next build (x86_64 allmodconfig) produced these warnings: WARNING: kernel/trace/libftrace.o(.text+0x9569): Section mismatch in reference from the function ftrace_init_tracefs() to the variable .init.data:function_stats The function ftrace_

Re: [PATCH 3/3] mm/page_owner: track page free call chain

2016-07-03 Thread Joonsoo Kim
On Mon, Jul 04, 2016 at 02:07:30PM +0900, Sergey Senozhatsky wrote: > Hello, > > On (07/04/16 13:57), Joonsoo Kim wrote: > > On Sun, Jul 03, 2016 at 01:16:56AM +0900, Sergey Senozhatsky wrote: > > > Introduce PAGE_OWNER_TRACK_FREE config option to extend page owner with > > > free_pages() tracking

Re: [PATCH perf/core v13 04/15] perf/sdt: ELF support for SDT

2016-07-03 Thread Masami Hiramatsu
On Fri, 1 Jul 2016 15:56:49 -0300 Arnaldo Carvalho de Melo wrote: > Em Fri, Jul 01, 2016 at 05:03:46PM +0900, Masami Hiramatsu escreveu: > > From: Hemant Kumar > > > > This patch serves the initial support to identify and list SDT events in > > binaries. > > When programs containing SDT marker

السر الخاصة بك الرقم السري: (25512560)

2016-07-03 Thread Microsoft Aisa Prom
تهنئة حساب بريد إلكتروني حصل لك 90،00 $، USD من مايكروسوفت آسيا، ومايكروسوفت هي 41 عام وانتم لإرسال بياناتك الشخصية لهذا المكتب الآن تهنئة مرة أخرى.

Re: linux-next: build warning after merge of the net-next tree

2016-07-03 Thread Jason Wang
On 2016年07月04日 11:15, Stephen Rothwell wrote: Hi all, After merging the net-next tree, today's linux-next build (powerpc ppc64_defconfig) produced this warning: drivers/net/tun.c: In function 'tun_do_read.part.5': /home/sfr/next/next/drivers/net/tun.c:1491:6: warning: 'err' may be used unini

Re: [GIT PULL] drm/mediatek: MT8173 gamma & dither support

2016-07-03 Thread CK Hu
Hi, Emil: On Sun, 2016-07-03 at 23:43 +0100, Emil Velikov wrote: > Hi Bibby, > > On 27 June 2016 at 12:29, Bibby Hsieh wrote: > > On Mon, 2016-06-27 at 12:20 +0200, Matthias Brugger wrote: > >> > >> On 06/24/2016 09:27 AM, Bibby Hsieh wrote: > >> > Hi Dave, > >> > > >> > Please consider merging

Re: [PATCH 3/3] mm/page_owner: track page free call chain

2016-07-03 Thread Sergey Senozhatsky
Hello, On (07/04/16 13:57), Joonsoo Kim wrote: > On Sun, Jul 03, 2016 at 01:16:56AM +0900, Sergey Senozhatsky wrote: > > Introduce PAGE_OWNER_TRACK_FREE config option to extend page owner with > > free_pages() tracking functionality. This adds to the dump_page_owner() > > output an additional back

Re: [PATCH v3 0/2] mark spi clocks as critical and enable spi3 clocks

2016-07-03 Thread Tomasz Figa
2016-07-04 13:20 GMT+09:00 Andi Shyti : > Hi Tomasz, > >> > This patchset enables spi3 clocks by marking critical clocks as >> > CLK_IS_CRITICAL and in the meantime replaces the use of >> > CLK_IGNORE_UNUSED for spi1 clocks. >> > >> > The sclk needs to be considered critical as well. >> > >> > The

Re: [PATCH 3/3] mm/page_owner: track page free call chain

2016-07-03 Thread Joonsoo Kim
On Sun, Jul 03, 2016 at 01:16:56AM +0900, Sergey Senozhatsky wrote: > Introduce PAGE_OWNER_TRACK_FREE config option to extend page owner with > free_pages() tracking functionality. This adds to the dump_page_owner() > output an additional backtrace, that tells us what path has freed the > page. Hm

Re: [PATCH] kasan: make depot_fetch_stack more robust

2016-07-03 Thread Joonsoo Kim
On Fri, Jul 01, 2016 at 07:38:18PM +0200, Dmitry Vyukov wrote: > I've hit a GPF in depot_fetch_stack when it was given > bogus stack handle. I think it was caused by a distant > out-of-bounds that hit a different object, as the result > we treated uninit garbage as stack handle. Maybe there is > so

Re: [PATCH 00/31] Move LRU page reclaim from zones to nodes v8

2016-07-03 Thread Mel Gorman
On Mon, Jul 04, 2016 at 10:37:03AM +0900, Minchan Kim wrote: > > The reason we have zone-based reclaim is that we used to have > > large highmem zones in common configurations and it was necessary > > to quickly find ZONE_NORMAL pages for reclaim. Today, this is much > > less of a concern as machin

Re: [RFC 08/12] lockdep: Apply crossrelease to PG_locked lock

2016-07-03 Thread Byungchul Park
On Fri, Jul 01, 2016 at 02:18:46PM +0300, Kirill A. Shutemov wrote: > On Fri, Jul 01, 2016 at 08:21:21AM +0900, Byungchul Park wrote: > > On Thu, Jun 30, 2016 at 03:04:58PM +0200, Peter Zijlstra wrote: > > > On Mon, Jun 20, 2016 at 01:55:23PM +0900, Byungchul Park wrote: > > > > @@ -215,6 +219,11 @

Re: [PATCH v3] kasan/quarantine: fix bugs on qlist_move_cache()

2016-07-03 Thread Joonsoo Kim
On Fri, Jul 01, 2016 at 05:17:10PM +0300, Andrey Ryabinin wrote: > > > On 07/01/2016 05:02 PM, js1...@gmail.com wrote: > > From: Joonsoo Kim > > > > There are two bugs on qlist_move_cache(). One is that qlist's tail > > isn't set properly. curr->next can be NULL since it is singly linked > > li

[PATCH v4] kasan/quarantine: fix bugs on qlist_move_cache()

2016-07-03 Thread js1304
From: Joonsoo Kim There are two bugs on qlist_move_cache(). One is that qlist's tail isn't set properly. curr->next can be NULL since it is singly linked list and NULL value on tail is invalid if there is one item on qlist. Another one is that if cache is matched, qlist_put() is called and it wil

Re: linux-next: build failure after merge of the lightnvm tree

2016-07-03 Thread Stephen Rothwell
Hi Matias, On Thu, 30 Jun 2016 12:56:35 +1000 Stephen Rothwell wrote: > > After merging the lightnvm tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > ERROR: "nvm_alloc_dev" [drivers/nvme/host/nvme-core.ko] undefined! > ERROR: "nvm_alloc_dev" [drivers/block/null_blk.k

Re: [PATCH 3/4] x86: disallow running with 32-bit PTEs to work around erratum

2016-07-03 Thread Hillf Danton
> > The Intel(R) Xeon Phi(TM) Processor x200 Family (codename: Knights > Landing) has an erratum where a processor thread setting the Accessed > or Dirty bits may not do so atomically against its checks for the > Present bit. This may cause a thread (which is about to page fault) > to set A and/o

Re: [PATCH v3 0/2] mark spi clocks as critical and enable spi3 clocks

2016-07-03 Thread Andi Shyti
Hi Tomasz, > > This patchset enables spi3 clocks by marking critical clocks as > > CLK_IS_CRITICAL and in the meantime replaces the use of > > CLK_IGNORE_UNUSED for spi1 clocks. > > > > The sclk needs to be considered critical as well. > > > > The SPI3 in the tm2/tm2e boards will control an irled

Re: [PATCH v3 0/2] mark spi clocks as critical and enable spi3 clocks

2016-07-03 Thread Tomasz Figa
Hi Andi, 2016-06-30 16:15 GMT+09:00 Andi Shyti : > Hi, > > This patchset enables spi3 clocks by marking critical clocks as > CLK_IS_CRITICAL and in the meantime replaces the use of > CLK_IGNORE_UNUSED for spi1 clocks. > > The sclk needs to be considered critical as well. > > The SPI3 in the tm2/tm

Re: [PATCH] drm/radeon: Remove deprecated create_singlethread_workqueue

2016-07-03 Thread Michel Dänzer
On 02.07.2016 22:46, Tejun Heo wrote: > On Sat, Jul 02, 2016 at 04:33:50PM +0530, Bhaktipriya Shridhar wrote: >> alloc_workqueue replaces deprecated create_singlethread_workqueue(). >> >> A dedicated workqueue has been used since work items need to be flushed >> as a group rather than individually.

Re: More parallel atomic_open/d_splice_alias fun with NFS and possibly more FSes.

2016-07-03 Thread Oleg Drokin
On Jul 3, 2016, at 11:08 PM, Al Viro wrote: > On Sun, Jul 03, 2016 at 08:37:22PM -0400, Oleg Drokin wrote: > >> Hm… This dates to sometime in 2006 and my memory is a bit hazy here. >> >> I think when we called into the open, it went into fifo open and stuck there >> waiting for the other opener

Re: [PATCH v9 01/10] clk: fix initial state of critical clock's parents

2016-07-03 Thread James Liao
On Fri, 2016-07-01 at 18:21 -0700, Stephen Boyd wrote: > (Resending to everyone) > > On 06/22, Erin Lo wrote: > > From: James Liao > > > > This patch fixed wrong state of parent clocks if they are registered > > after critical clocks. > > > > Signed-off-by: James Liao > > Signed-off-by: Erin L

Re: [Nouveau] [PATCH 2/6] drm/nouveau/core: make use of new strtolower() function

2016-07-03 Thread Alexandre Courbot
On Mon, Jul 4, 2016 at 10:37 AM, Alexandre Courbot wrote: > On Sun, Jul 3, 2016 at 12:21 AM, Markus Mayer > wrote: >> On 1 July 2016 at 18:18, Alexandre Courbot wrote: >>> On Fri, Jul 1, 2016 at 8:50 AM, Markus Mayer wrote: Call strtolower() rather than walking the string explicitly to co

Re: [PATCH 6/8] mm/zsmalloc: keep comments consistent with code

2016-07-03 Thread Ganesh Mahendran
On Mon, Jul 04, 2016 at 09:05:16AM +0900, Minchan Kim wrote: > On Fri, Jul 01, 2016 at 02:41:04PM +0800, Ganesh Mahendran wrote: > > some minor change of comments: > > 1). update zs_malloc(),zs_create_pool() function header > > 2). update "Usage of struct page fields" > > > > Signed-off-by: Ganesh

Re: [PATCH v2 1/1] devfreq: exynos-bus: add missing of_node_put after calling of_parse_phandle

2016-07-03 Thread Chanwoo Choi
On 2016년 07월 04일 11:47, Peter Chen wrote: > of_node_put needs to be called when the device node which is got > from of_parse_phandle has finished using. > > Cc: Chanwoo Choi > Cc: MyungJoo Ham > Cc: Kyungmin Park > Cc: Kukjin Kim > Cc: Krzysztof Kozlowski > Signed-off-by: Peter Chen > --- >

Re: [PATCH 5/8] mm/zsmalloc: avoid calculate max objects of zspage twice

2016-07-03 Thread Ganesh Mahendran
On Mon, Jul 04, 2016 at 09:03:18AM +0900, Minchan Kim wrote: > On Fri, Jul 01, 2016 at 02:41:03PM +0800, Ganesh Mahendran wrote: > > Currently, if a class can not be merged, the max objects of zspage > > in that class may be calculated twice. > > > > This patch calculate max objects of zspage at t

Re: [PATCH 3/8] mm/zsmalloc: take obj index back from find_alloced_obj

2016-07-03 Thread Ganesh Mahendran
On Mon, Jul 04, 2016 at 08:57:04AM +0900, Minchan Kim wrote: > On Fri, Jul 01, 2016 at 02:41:01PM +0800, Ganesh Mahendran wrote: > > the obj index value should be updated after return from > > find_alloced_obj() > > to avoid CPU buring caused by unnecessary object scanning. > > Descripti

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

2016-07-03 Thread Stephen Rothwell
Hi all, After merging the net-next tree, today's linux-next build (powerpc ppc64_defconfig) produced this warning: drivers/net/tun.c: In function 'tun_do_read.part.5': /home/sfr/next/next/drivers/net/tun.c:1491:6: warning: 'err' may be used uninitialized in this function [-Wmaybe-uninitialized]

[PATCH] ACPI/init: Correct the comments about acpi_subsystem_init

2016-07-03 Thread Baoquan He
In acpi_subsystem_init, function acpi_enable_subsystem is called to do the real job. However with different flags passed to acpi_enable_subsystem, different code is executed. In acpi_subsystem_init with "~ACPI_NO_ACPI_ENABLE" passed in it will only switch over the platform to the ACPI mode. The res

Re: [PATCH 2/8] mm/zsmalloc: add per class compact trace event

2016-07-03 Thread Ganesh Mahendran
Hi, Minchan: On Mon, Jul 04, 2016 at 08:49:21AM +0900, Minchan Kim wrote: > On Fri, Jul 01, 2016 at 02:41:00PM +0800, Ganesh Mahendran wrote: > > add per class compact trace event. It will show how many zs pages > > isolated, how many zs pages reclaimed. > > I don't know what you want with this e

Re: More parallel atomic_open/d_splice_alias fun with NFS and possibly more FSes.

2016-07-03 Thread Al Viro
On Sun, Jul 03, 2016 at 08:37:22PM -0400, Oleg Drokin wrote: > Hm… This dates to sometime in 2006 and my memory is a bit hazy here. > > I think when we called into the open, it went into fifo open and stuck there > waiting for the other opener. Something like that. And we cannot really be > stuc

linux-next: manual merge of the net-next tree with the net tree

2016-07-03 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in: drivers/net/ethernet/mellanox/mlx5/core/en_main.c between commit: 29429f3300a3 ("net/mlx5e: Timeout if SQ doesn't flush during close") from the net tree and commit: 507f0c817f7a ("net/mlx5e: Add TXQ set max rate su

Re: [PATCH v5 0/2] [media] atmel-isc: add driver for Atmel ISC

2016-07-03 Thread Wu, Songjun
On 7/1/2016 20:20, Hans Verkuil wrote: Hi Songjun, First of all, please CC patch 2/2 to linux-media as well the next time you post this. I only see 1/2 on the mailinglist, and we need both. Secondly, before I can accept it you need to run the v4l2-compliance test first and I need to see the

linux-next: manual merge of the net-next tree with the net tree

2016-07-03 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in: drivers/net/ethernet/mellanox/mlx5/core/en.h between commit: 6cd392a082de ("net/mlx5e: Handle RQ flush in error cases") from the net tree and commit: cb3c7fd4f839 ("net/mlx5e: Support adaptive RX coalescing") from

[PATCH v2 1/1] devfreq: exynos-bus: add missing of_node_put after calling of_parse_phandle

2016-07-03 Thread Peter Chen
of_node_put needs to be called when the device node which is got from of_parse_phandle has finished using. Cc: Chanwoo Choi Cc: MyungJoo Ham Cc: Kyungmin Park Cc: Kukjin Kim Cc: Krzysztof Kozlowski Signed-off-by: Peter Chen --- Changes at v2: - It should define node as pointer, kbuild test

linux-next: manual merge of the thermal-soc tree with the thermal tree

2016-07-03 Thread Stephen Rothwell
Hi Eduardo, Today's linux-next merge of the thermal-soc tree got conflicts in: drivers/thermal/thermal_core.c drivers/thermal/thermal_helpers.c drivers/thermal/thermal_sysfs.c between commits from the thermal tree and the same (or similar) patches from the thermal-soc tree. It looks like

Re: [alsa-devel] [PATCH v5 6/9] ASoC: mediatek: add mt2701 platform driver implementation.

2016-07-03 Thread Garlic Tseng
On Thu, 2016-06-30 at 21:39 +0800, Garlic Tseng wrote: > On Wed, 2016-06-29 at 20:13 +0100, Mark Brown wrote: > > On Fri, Jun 17, 2016 at 03:43:57PM +0800, Garlic Tseng wrote: > > > > > +static int mt2701_afe_i2s_set_clkdiv(struct snd_soc_dai *dai, int div_id, > > > +

[PATCH] Update the maximum depth of C-state from 6 to 9

2016-07-03 Thread baolex.ni
From: Chuansheng Liu Currently, CPUIDLE_STATE_MAX has been defined as 10 in the cpuidle head file, and max_cstate = CPUIDLE_STATE_MAX – 1, so 9 is the right maximum depth of C-state. This change is reflected in one place of the kernel-param file, but not in the other place where I suggest changi

Re: [PATCH perf/core v13 06/15] perf buildid-cache: Scan and import user SDT events to probe cache

2016-07-03 Thread Masami Hiramatsu
On Fri, 1 Jul 2016 15:22:01 -0300 Arnaldo Carvalho de Melo wrote: > Em Fri, Jul 01, 2016 at 05:04:10PM +0900, Masami Hiramatsu escreveu: > > From: Masami Hiramatsu > > > > perf buildid-cache --add scans given binary and add > > the SDT events to probe cache. "sdt_" prefix is appended for > > a

[PATCH perf/core] [BUGFIX] perf-probe: Fix to show correct error message for $vars and $params

2016-07-03 Thread Masami Hiramatsu
Fix to show correct error messages for $vars and $params because those special variables requires debug information to find the real variables or function parameters. E.g. without this fix; # perf probe -x /lib64/libc-2.23.so getaddrinfo \$params Failed to write event: Invalid argument

[PATCH] regulator: core: Assign bool value to variable has_full_constraints

2016-07-03 Thread Baoquan He
In commit 21cf891a (regulator: Make regulator_has_full_constraints a bool) type of variable has_full_constraints is changed to bool, so assign 'true' to has_full_constraints here. Signed-off-by: Baoquan He --- drivers/regulator/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -

Re: [PATCH perf/core v13 02/15] perf probe: Show all cached probes

2016-07-03 Thread Masami Hiramatsu
On Fri, 1 Jul 2016 10:51:04 -0300 Arnaldo Carvalho de Melo wrote: > Em Fri, Jul 01, 2016 at 05:03:26PM +0900, Masami Hiramatsu escreveu: > > From: Masami Hiramatsu > > > > perf probe --list shows all cached probes when --cache > > is given. Each caches are shown with on which binary that > > pr

Re: [PATCH v5 01/22] sh: Add sh-specific early_init_dt_reserve_memory_arch

2016-07-03 Thread Rich Felker
On Mon, Jul 04, 2016 at 01:46:21AM +0900, Yoshinori Sato wrote: > sh used P1 address space in early device tree. > So need convert P1 to physical address before reserve memory. > > Signed-off-by: Yoshinori Sato > --- > arch/sh/boards/of-generic.c | 12 > 1 file changed, 12 insertion

Re: [alsa-devel] [PATCH v5 7/9] ASoC: bt-sco: extend rate and add a general compatible string

2016-07-03 Thread Garlic Tseng
On Sat, 2016-07-02 at 17:05 +0800, Chen-Yu Tsai wrote: Hi, > Could we also make this driver directly configurable from Kconfig, > and not just selected by platforms (currently Samsung) or by building > all coddecs? > > Thanks > ChenYu I'll add configure prompt for SND_SOC_BT_SCO in next patchse

Update the maximum depth of C-state from 6 to 9

2016-07-03 Thread baolex.ni
Currently, CPUIDLE_STATE_MAX has been defined as 10 in the cpuidle head file, and max_cstate = CPUIDLE_STATE_MAX – 1, so 9 is the right maximum depth of C-state. This change is reflected in one place of the kernel-param file, but not in the other place where I suggest changing. Signed-off-by: Chu

Re: [PATCH v5 15/22] sh: Move common PCI stuff to arch/sh/kernel

2016-07-03 Thread Rich Felker
On Mon, Jul 04, 2016 at 01:46:35AM +0900, Yoshinori Sato wrote: > Signed-off-by: Yoshinori Sato > --- > arch/sh/drivers/pci/Makefile | 2 - > arch/sh/drivers/pci/common.c | 162 > arch/sh/drivers/pci/pci.c| 320 > arch/sh/kernel/

Re: [PATCH] cxl: make base more explicitly non-modular

2016-07-03 Thread Ian Munsie
Acked-by: Ian Munsie

Re: [PATCH v5 04/22] sh: Use P1SEGADDR

2016-07-03 Thread Rich Felker
On Mon, Jul 04, 2016 at 01:46:24AM +0900, Yoshinori Sato wrote: > FDT address is P1SEG. So not virtual address. > > Signed-off-by: Yoshinori Sato > --- > arch/sh/kernel/setup.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/sh/kernel/setup.c b/arch/sh/kernel/setup

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

2016-07-03 Thread Jongsung Kim
On 2016년 07월 02일 09:20, Stephen Boyd wrote: > On 06/29, Jongsung Kim wrote: >> On 2016년 06월 29일 06:18, Michael Turquette wrote: >>> Quoting Rob Herring (2016-06-28 13:55:18) On Fri, Jun 24, 2016 at 01:12:52PM +0900, Jongsung Kim wrote: > There is no way to set additional flags for a DT-ini

Re: [PATCH] drm/tegra: fix error handling

2016-07-03 Thread Alexandre Courbot
On Sun, Jul 3, 2016 at 3:18 PM, Christophe JAILLET wrote: > This is likely that checking 'gr3d->clk_secondary' instead of 'gr3d->clk' > is expected here. Very likely indeed. Reviewed-by: Alexandre Courbot Thanks!

Re: [Nouveau] [PATCH 2/6] drm/nouveau/core: make use of new strtolower() function

2016-07-03 Thread Alexandre Courbot
On Sun, Jul 3, 2016 at 12:21 AM, Markus Mayer wrote: > On 1 July 2016 at 18:18, Alexandre Courbot wrote: >> On Fri, Jul 1, 2016 at 8:50 AM, Markus Mayer wrote: >>> Call strtolower() rather than walking the string explicitly to convert >>> it to lowercase. >>> >>> Signed-off-by: Markus Mayer >>>

[PATCH v2] clkdev: add devm_of_clk_get()

2016-07-03 Thread Kuninori Morimoto
This is based on devm_clk_get() Signed-off-by: Kuninori Morimoto --- v1 -> v2 - added "static" and "inline" on header drivers/clk/clkdev.c | 26 ++ include/linux/clk.h | 7 +++ 2 files changed, 33 insertions(+) diff --git a/drivers/clk/clkdev.c b/drivers/clk/clk

Re: [PATCH 00/31] Move LRU page reclaim from zones to nodes v8

2016-07-03 Thread Minchan Kim
On Fri, Jul 01, 2016 at 09:01:08PM +0100, Mel Gorman wrote: > (Sorry for the resend, I accidentally sent the branch that still had the > Signed-off-by's from mmotm still applied which is incorrect.) > > Previous releases double accounted LRU stats on the zone and the node > because it was required

Re: [PATCH v5 10/22] sh: Add board specific initialize of of-generic

2016-07-03 Thread Rich Felker
On Mon, Jul 04, 2016 at 01:46:30AM +0900, Yoshinori Sato wrote: > Signed-off-by: Yoshinori Sato > --- > arch/sh/boards/of-generic.c | 64 > + > 1 file changed, 64 insertions(+) > > diff --git a/arch/sh/boards/of-generic.c b/arch/sh/boards/of-generic.c

Re: [PATCH v4 5/5] ARM: dts: mt2701: add iommu/smi dtsi node for mt2701

2016-07-03 Thread Honghui Zhang
On Sun, 2016-07-03 at 21:12 +0200, Matthias Brugger wrote: > > On 07/03/2016 08:24 AM, Matthias Brugger wrote: > > > > > > On 06/08/2016 11:51 AM, honghui.zh...@mediatek.com wrote: > >> From: Honghui Zhang > >> > >> Add the dtsi node of iommu and smi for mt2701. > >> > >> Signed-off-by: Honghui Z

Re: [RFC PATCH] media: s5p-mfc - remove vidioc_g_crop

2016-07-03 Thread Nicolas Dufresne
Le dimanche 03 juillet 2016 à 11:43 +0200, Hans Verkuil a écrit : > Hi Nicolas, > > On 07/02/2016 10:29 PM, Nicolas Dufresne wrote: > > > > Le 30 juin 2016 5:35 PM, "Shuah Khan" > > a écrit : > > > > > > Remove vidioc_g_crop() from s5p-mfc decoder. Without its s_

Re: [PATCH] clkdev: add devm_of_clk_get()

2016-07-03 Thread kbuild test robot
Hi, [auto build test ERROR on clk/clk-next] [also build test ERROR on v4.7-rc5 next-20160701] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Kuninori-Morimoto/clkdev-add-devm_of_clk_get/20160704

[PATCH v3 2/3] bcache: update document info

2016-07-03 Thread Yijing Wang
There is no return in continue_at(), update the documentation. Signed-off-by: Yijing Wang --- drivers/md/bcache/closure.c |2 +- drivers/md/bcache/closure.h |3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/md/bcache/closure.c b/drivers/md/bcache/closure.c in

[PATCH v3 3/3] bcache: Remove redundant block_size assignment

2016-07-03 Thread Yijing Wang
We have assigned sb->block_size before the switch, so remove the redundant one. Reviewed-by: Coly Li Signed-off-by: Yijing Wang Acked-by: Eric Wheeler --- drivers/md/bcache/super.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/md/bcache/super.c b/drivers/md/b

[PATCH v3 1/3] bcache: Remove redundant parameter for cache_alloc()

2016-07-03 Thread Yijing Wang
Cache_sb is not used in cache_alloc, and we have copied sb info to cache->sb already, remove it. Reviewed-by: Coly Li Signed-off-by: Yijing Wang --- drivers/md/bcache/super.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/md/bcache/super.c b/drivers/md/bcach

[PATCH] clkdev: add devm_of_clk_get()

2016-07-03 Thread Kuninori Morimoto
From: Kuninori Morimoto This is based on devm_clk_get() Signed-off-by: Kuninori Morimoto --- drivers/clk/clkdev.c | 26 ++ include/linux/clk.h | 7 +++ 2 files changed, 33 insertions(+) diff --git a/drivers/clk/clkdev.c b/drivers/clk/clkdev.c index 89cc700..93a6

  1   2   3   >