Re: [PATCH] sched: Fix new task's load avg removed from source CPU in

2015-12-15 Thread kbuild test robot
Hi Yuyang, [auto build test WARNING on tip/sched/core] [also build test WARNING on v4.4-rc5 next-20151216] url: https://github.com/0day-ci/linux/commits/Yuyang-Du/sched-Fix-new-task-s-load-avg-removed-from-source-CPU-in/20151216-154529 config: i386-randconfig-x000-12141102 (attached as .confi

Re: [PATCH v3 4/4] clk: bcm2835: Add PWM clock support to the device tree

2015-12-15 Thread Remi Pommarel
On Mon, Dec 07, 2015 at 08:09:47PM -0800, Eric Anholt wrote: > Stefan Wahren writes: > > > Hi Remi, > > > > Am 07.12.2015 um 19:17 schrieb Remi Pommarel: > >> Hi Stefan, > >> > >> On Sun, Dec 06, 2015 at 10:16:25PM +0100, Stefan Wahren wrote: > >>> Hi Remi, > >>> > >>> please send this patch to d

Re: [PATCH v5 10/14] perf tools: Enable indices setting syntax for BPF maps

2015-12-15 Thread Jiri Olsa
On Wed, Dec 16, 2015 at 10:02:28AM +0800, Wangnan (F) wrote: > > > On 2015/12/15 21:42, Jiri Olsa wrote: > >On Mon, Dec 14, 2015 at 10:39:19AM +, Wang Nan wrote: > >>This patch introduce a new syntax to perf event parser: > >> > >> # perf record -e > >> './test_bpf_map_3.c/maps:channel.valu

Re: [PATCH 08/11] KVM: MMU: use page track for non-leaf shadow pages

2015-12-15 Thread Kai Huang
On 12/15/2015 05:10 PM, Xiao Guangrong wrote: On 12/15/2015 03:52 PM, Kai Huang wrote: static bool __mmu_gfn_lpage_is_disallowed(gfn_t gfn, int level, @@ -2140,12 +2150,18 @@ static struct kvm_mmu_page *kvm_mmu_get_page(struct kvm_vcpu *vcpu, hlist_add_head(&sp->hash_link, &vcpu->

Re: 4.3 kernel panics when MMC/SDHC card is inserted on thinkpad

2015-12-15 Thread Adrian Hunter
On 15/12/15 18:01, Ulf Hansson wrote: > +Adrian > > On 8 November 2015 at 23:05, Denis Bychkov wrote: >> The only started in 4.3 kernel (at least RC-5), 4.2.x does not have >> this problem. The kernel panic happens immediately after the SDHC card >> is inserted, reproducibility is 100%. If the sy

Re: [PATCH] clocksource/drivers/pistachio: Fix wrong calculated clocksource read value

2015-12-15 Thread Jisheng Zhang
On Wed, 16 Dec 2015 15:36:09 +0800 Jisheng Zhang wrote: > On Wed, 16 Dec 2015 15:28:07 +0800 wrote: > > > On Wed, 16 Dec 2015 15:11:25 +0800 > > Jisheng Zhang wrote: > > > > > Dear Daniel, > > > > > > On Tue, 15 Dec 2015 21:59:30 +0100 Daniel Lezcano wrote: > > > > > > > On 11/25/2015 0

Re: [RFC v5 0/8] Additional kmsg devices

2015-12-15 Thread Richard Weinberger
Am 16.12.2015 um 00:46 schrieb Joe Perches: > On Tue, 2015-10-27 at 11:28 +0100, Paul Osmialowski wrote: >> Dear All, >> >> This is the fifth iteration of Marcin Niesluchowski's serie of patches >> extending kmsg interface with ability to dynamically create (and destroy) >> kmsg-like devices which

Re: PELT initial task load and wake_up_new_task()

2015-12-15 Thread Yuyang Du
On Tue, Dec 15, 2015 at 10:45:53AM -0800, Steve Muckle wrote: > On 12/14/2015 06:24 PM, Yuyang Du wrote: > >>> On Fri, Dec 11, 2015 at 06:01:45PM -0800, Steve Muckle wrote: > In init_entity_runnable_average() the last_update_time is initialized to > zero. The task is given max load and ut

Re: [PATCH] clocksource/drivers/pistachio: Fix wrong calculated clocksource read value

2015-12-15 Thread Jisheng Zhang
On Wed, 16 Dec 2015 15:28:07 +0800 wrote: > On Wed, 16 Dec 2015 15:11:25 +0800 > Jisheng Zhang wrote: > > > Dear Daniel, > > > > On Tue, 15 Dec 2015 21:59:30 +0100 Daniel Lezcano wrote: > > > > > On 11/25/2015 04:42 PM, Jisheng Zhang wrote: > > > > Let's assume the counter value is 0xf00

Re: [PATCH 04/11] KVM: page track: add the framework of guest page tracking

2015-12-15 Thread Kai Huang
On 12/15/2015 04:46 PM, Xiao Guangrong wrote: On 12/15/2015 03:06 PM, Kai Huang wrote: Hi Guangrong, I am starting to review this series, and should have some comments or questions, you can determine whether they are valuable :) Thank you very much for your review and breaking the silen

Re: [PATCH 06/11] KVM: MMU: let page fault handler be aware tracked page

2015-12-15 Thread Kai Huang
On 12/15/2015 05:03 PM, Xiao Guangrong wrote: On 12/15/2015 04:11 PM, Kai Huang wrote: On 12/01/2015 02:26 AM, Xiao Guangrong wrote: The page fault caused by write access on the write tracked page can not be fixed, it always need to be emulated. page_fault_handle_page_track() is the fast

Re: [RFC/RFT PATCH] watchdog: Move watchdog device creation to watchdog_dev.c

2015-12-15 Thread Wim Van Sebroeck
Hi Pratyush, > On 15/12/2015:06:56:50 PM, Guenter Roeck wrote: > > On 12/14/2015 12:44 PM, Wim Van Sebroeck wrote: > > >On Sun, Dec 13, 2015 at 10:24:35PM -0800, Guenter Roeck wrote: > > > > > >>On 12/13/2015 02:02 PM, Damien Riegel wrote: > > >>>On Mon, Dec 07, 2015 at 09:41:03PM +0100, Wim Van S

Re: [RFC/RFT PATCH] watchdog: Move watchdog device creation to watchdog_dev.c

2015-12-15 Thread Wim Van Sebroeck
Hi Guenter, > On 12/14/2015 12:44 PM, Wim Van Sebroeck wrote: > >On Sun, Dec 13, 2015 at 10:24:35PM -0800, Guenter Roeck wrote: > > > >>On 12/13/2015 02:02 PM, Damien Riegel wrote: > >>>On Mon, Dec 07, 2015 at 09:41:03PM +0100, Wim Van Sebroeck wrote: > Hi All, > > >On 12/07/2015 08:1

Re: [PATCH] clocksource/drivers/pistachio: Fix wrong calculated clocksource read value

2015-12-15 Thread Jisheng Zhang
On Wed, 16 Dec 2015 15:11:25 +0800 Jisheng Zhang wrote: > Dear Daniel, > > On Tue, 15 Dec 2015 21:59:30 +0100 Daniel Lezcano wrote: > > > On 11/25/2015 04:42 PM, Jisheng Zhang wrote: > > > Let's assume the counter value is 0xf00, the pistachio clocksource oops, sorry, should be 0xf00

Re: [PATCH] clocksource/drivers/pistachio: Fix wrong calculated clocksource read value

2015-12-15 Thread Jisheng Zhang
Dear Daniel, On Tue, 15 Dec 2015 21:59:30 +0100 Daniel Lezcano wrote: > On 11/25/2015 04:42 PM, Jisheng Zhang wrote: > > Let's assume the counter value is 0xf00, the pistachio clocksource > > read cycles function would return 0x0fff, but it should > > return 0xfff. > > > > We

Re: [PATCH 5/6] bpf: hash: avoid to call kmalloc() in eBPF prog

2015-12-15 Thread Ming Lei
On Wed, Dec 16, 2015 at 7:10 AM, Alexei Starovoitov wrote: > On Tue, Dec 15, 2015 at 07:21:03PM +0800, Ming Lei wrote: >> kmalloc() is often a bit time-consuming, also >> one atomic counter has to be used to track the total >> allocated elements, which is also not good. >> >> This patch pre-alloca

v4.4-rc1: /dev/console open fails with -EIO

2015-12-15 Thread Junichi Nomura
Since kernel v4.4-rc1, kdump capture service with Fedora23 / RHEL7.2 almost always fails on my test system which uses serial console. It used to work fine until kernel v4.3. Kdump fails with an error like this: kdump.sh[1040]: /bin/kdump.sh: line 8: /dev/console: Input/output error The line 8 o

Re: [PATCH 4/6] bpf: hash: convert per-hashtable lock into per-bucket bit spinlock

2015-12-15 Thread Ming Lei
On Wed, Dec 16, 2015 at 1:01 PM, Yang Shi wrote: > > I recalled Steven confirmed raw_spin_lock has the lockdep benefit too in the > patch review for changing to raw lock. > > Please check this thread out > http://lists.openwall.net/netdev/2015/10/31/7 OK, looks I was wrong about the lockdep ben

Re: [PATCH RESEND] infiniband:core:Add needed error path in cm_init_av_by_path

2015-12-15 Thread ira.weiny
On Tue, Dec 15, 2015 at 10:30:22AM -0700, Jason Gunthorpe wrote: > On Tue, Dec 15, 2015 at 05:38:34PM +0100, Michael Wang wrote: > > The hop_limit is only suggest that the package allowed to be > > routed, not have to, correct? > > If the hop limit is >= 2 (?) then the GRH is mandatory. Yes >= 2.

[PATCH] mm: memcontrol: fixed three spelling errors.

2015-12-15 Thread Jiading Gai
From: Jiading Gai Fixed three spelling errors. Signed-off-by: Jiading Gai --- mm/memcontrol.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mm/memcontrol.c b/mm/memcontrol.c index e234c21..4e424fc 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c @@ -1744,7 +1744,7

RE: [PATCH 1/3] Drivers: hv: utils: fix hvt_op_poll() return value on transport destroy

2015-12-15 Thread Dexuan Cui
> From: devel [mailto:driverdev-devel-boun...@linuxdriverproject.org] On Behalf > Of K. Y. Srinivasan > Sent: Wednesday, December 16, 2015 8:27 > To: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; > de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; > vkuzn...@redhat.com;

Re: [PATCH 07/11] KVM: page track: add notifier support

2015-12-15 Thread Xiao Guangrong
On 12/16/2015 01:53 PM, Jike Song wrote: On 12/01/2015 02:26 AM, Xiao Guangrong wrote: Notifier list is introduced so that any node wants to receive the track event can register to the list Two APIs are introduced here: - kvm_page_track_register_notifier(): register the notifier to receive

Re: [PATCH v4 3/5] dt/bindings: qcom_nandc: Add DT bindings

2015-12-15 Thread Boris Brezillon
Hi Archit, Sorry for the late review, but there are a few things I think should be addressed. On Wed, 19 Aug 2015 10:19:04 +0530 Archit Taneja wrote: > Add DT bindings document for the Qualcomm NAND controller driver. > > Cc: devicet...@vger.kernel.org > > v4: > - No changes > > v3: > - Don'

[PATCH] ahci: qoriq: Adjust the default register values on ls1021a

2015-12-15 Thread Yuantian.Tang
From: Tang Yuantian Updated the registers' values to enhance SATA performance and reliability on ls1021a soc. Signed-off-by: Tang Yuantian --- drivers/ata/ahci_qoriq.c | 24 ++-- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/drivers/ata/ahci_qoriq.c b/driv

Re: [PATCH] iommu/amd: Assign default IOMMU when there is only one IOMMU

2015-12-15 Thread Suravee Suthikulpanit
Hi Joerg, On 12/14/2015 09:08 AM, Joerg Roedel wrote: On Fri, Dec 11, 2015 at 04:54:38PM -0600, Suravee Suthikulpanit wrote: Current driver makes assumption that device with devid zero is always included in the range of devices to be managed by IOMMU. However, certain FW does not include devid

Re: [PATCH 2/2] ntp:Change the type of time_reftime to time64_t and replace get_seconds with __ktime_get_real_seconds

2015-12-15 Thread John Stultz
On Sat, Dec 12, 2015 at 8:24 PM, DengChao wrote: > The type of static variant "time_reftime" and the call of get_seconds > in ntp are both not y2038 safe. > So change the type of time_reftime to time64_t and replace get_seconds > with __ktime_get_real_seconds. > The local variant "secs" in ntp_upd

Re: [PATCH] ntp:Fix second_overflow's input parameter type

2015-12-15 Thread John Stultz
On Sat, Dec 12, 2015 at 8:26 PM, DengChao wrote: > The function "second_overflow" uses "unsign long" > as its input parameter type which will overflow after > year 2106 on 32bit systems. > Replace it with time64_t type. > Because 64-bit division is expensive, since "next_ntp_leap_sec" > has been c

Re: [PATCH 1/2] timekeeping: Provide internal function __ktime_get_real_seconds

2015-12-15 Thread John Stultz
On Sat, Dec 12, 2015 at 8:24 PM, DengChao wrote: > In order to fix Y2038 issues in the ntp code we will need replace > get_seconds() with ktime_get_real_seconds() but as the ntp code uses > the timekeeping lock which is also used by ktime_get_real_seconds(), > we need a version without locking. >

Re: [PATCH 1/1] powerpc/irq: tidy up inconsistent context in migrate_irqs()

2015-12-15 Thread Daniel Axtens
Hi, A couple of things. Firstly, your two email addresses don't match: Zhang Zhuoyu writes: > From: Zhang Zhuoyu These lines do seem odd! Are they causing a problem? I'd be more comfortable removing them if I understood why they were added. But they've been around since the beginning of git

Re: [PATCH v6 3/5] memory: mediatek: Add SMI driver

2015-12-15 Thread Yong Wu
On Tue, 2015-12-15 at 13:45 +0800, Daniel Kurtz wrote: > Hi Yong, > > On Tue, Dec 15, 2015 at 10:38 AM, Yong Wu wrote: > > On Mon, 2015-12-14 at 19:18 +0100, Matthias Brugger wrote: > >> On Tuesday 08 Dec 2015 17:49:11 Yong Wu wrote: > >> > This patch add SMI(Smart Multimedia Interface) driver. T

Re: [PATCH v6 4/5] iommu/mediatek: Add mt8173 IOMMU driver

2015-12-15 Thread Yong Wu
On Tue, 2015-12-15 at 12:37 +, Robin Murphy wrote: > On 15/12/15 03:28, Yong Wu wrote: > > On Mon, 2015-12-14 at 15:16 +0100, Joerg Roedel wrote: > >> On Tue, Dec 08, 2015 at 05:49:12PM +0800, Yong Wu wrote: > >>> +static int mtk_iommu_attach_device(struct iommu_domain *domain, > >>> +

Re: [PATCH 07/11] KVM: page track: add notifier support

2015-12-15 Thread Jike Song
On 12/01/2015 02:26 AM, Xiao Guangrong wrote: Notifier list is introduced so that any node wants to receive the track event can register to the list Two APIs are introduced here: - kvm_page_track_register_notifier(): register the notifier to receive track event - kvm_page_track_unregister_no

[PATCH 2/2] ahci: qoriq: Update the default Rx watermark value

2015-12-15 Thread Yuantian.Tang
From: Tang Yuantian The PTC[RXWM] sets the watermark value for Rx FIFO. The default value 0x20 might be insufficient for some hard drives. If the watermark value is too small, a single-cycle overflow may occur and is reported as a CRC or internal error in the PxSERR register. Updated the value to

[PATCH 1/2] ahci: qoriq: Adjust the default register values on ls1043a

2015-12-15 Thread Yuantian.Tang
From: Tang Yuantian Updated the registers' values to enhance SATA performance and reliability. Signed-off-by: Tang Yuantian --- drivers/ata/ahci_qoriq.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/ata/ahci_qoriq.c b/drivers/ata/ahci_qoriq.c index d0f9de9..4d613f8 100644

[RFC][PATCH v3] timekeeping: Cap adjustments so they don't exceed the maxadj value

2015-12-15 Thread John Stultz
Thus its been occasionally noted that users have seen confusing warnings like: Adjusting tsc more than 11% (5941981 vs 7759439) We try to limit the maximum total adjustment to 11% (10% tick adjustment + 0.5% frequency adjustment). But this is done by bounding the requested adjustment values,

linux-next: Tree for Dec 16

2015-12-15 Thread Stephen Rothwell
Hi all, Changes since 20151215: The drm-misc tree gained a conflict against Linus' tree. The i2c tree gained a build failure for which I applied a patch. The gpio tree gained a build failure so I used the version from next-20151215. The akpm-current tree gained a conflict against the

Re: [PATCH 1/2] mm/compaction: fix invalid free_pfn and compact_cached_free_pfn

2015-12-15 Thread Joonsoo Kim
On Tue, Dec 15, 2015 at 09:31:39AM +0100, Vlastimil Babka wrote: > On 12/14/2015 04:26 PM, Joonsoo Kim wrote: > >2015-12-14 19:07 GMT+09:00 Vlastimil Babka : > >>On 12/14/2015 06:02 AM, Joonsoo Kim wrote: > >>> > >> > >>Acked-by: Vlastimil Babka > >> > >>Note that until now in compaction we've use

Re: livepatch: reuse module loader code to write relocations

2015-12-15 Thread Jessica Yu
+++ Jessica Yu [09/12/15 14:10 -0500]: +++ Josh Poimboeuf [08/12/15 12:38 -0600]: On Mon, Nov 30, 2015 at 11:21:17PM -0500, Jessica Yu wrote: Reuse module loader code to write relocations, thereby eliminating the need for architecture specific relocation code in livepatch. Namely, we reuse appl

Re: [PATCH v3 6/7] mm/compaction: introduce migration scan limit

2015-12-15 Thread Joonsoo Kim
On Mon, Dec 14, 2015 at 10:34:50AM +0100, Vlastimil Babka wrote: > On 12/03/2015 08:11 AM, Joonsoo Kim wrote: > >This is preparation step to replace compaction deferring with compaction > >limit. Whole reason why we need to replace it will be mentioned in > >the following patch. > > > >In this patc

[PATCH v2 5/7] f2fs: stat dirty regular/symlink inodes

2015-12-15 Thread Chao Yu
Add to stat dirty regular and symlink inode for showing in debugfs. Signed-off-by: Chao Yu --- v2: - rename F2FS_DIRTY_DATAS to F2FS_DIRTY_DATA --- fs/f2fs/checkpoint.c | 4 fs/f2fs/debug.c | 4 fs/f2fs/f2fs.h | 8 +++- 3 files changed, 15 insertions(+), 1 deletion(-)

[PATCH v2 3/3] f2fs: introduce __f2fs_commit_super

2015-12-15 Thread Chao Yu
Introduce __f2fs_commit_super to include duplicated codes in f2fs_commit_super for cleanup. Signed-off-by: Chao Yu --- v2: - clean up codes. --- fs/f2fs/super.c | 30 +- 1 file changed, 13 insertions(+), 17 deletions(-) diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c

[PATCH 1/1] powerpc/irq: tidy up inconsistent context in migrate_irqs()

2015-12-15 Thread Zhang Zhuoyu
From: Zhang Zhuoyu Remove paradoxical and unnecessary lines before disable local interrupt. Signed-off-by: Zhang Zhuoyu --- arch/powerpc/kernel/irq.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/powerpc/kernel/irq.c b/arch/powerpc/kernel/irq.c index 290559d..03fa686 100644 --- a/a

[PATCH v2 7/7] f2fs: support data flush in checkpoint

2015-12-15 Thread Chao Yu
Previously, when finishing a checkpoint, we have persisted all fs meta info including meta inode, node inode, dentry page of directory inode, so, after a sudden power cut, f2fs can recover from last checkpoint with full directory structure. But during checkpoint, we didn't flush dirty pages of reg

[PATCH v2 6/7] f2fs: introduce new option for controlling data flush

2015-12-15 Thread Chao Yu
Add a new option 'data_flush' to enable data flush functionality. Signed-off-by: Chao Yu --- v2: - rebase last dev-test branch. - fix to set option correctly. --- Documentation/filesystems/f2fs.txt | 2 ++ fs/f2fs/f2fs.h | 1 + fs/f2fs/super.c| 7 +++

[PATCH v2 4/7] f2fs: record dirty status of regular/symlink inode

2015-12-15 Thread Chao Yu
Maintain regular/symlink inode which has dirty pages in global dirty list and record their total dirty pages count like the way of handling directory inode. Signed-off-by: Chao Yu --- fs/f2fs/checkpoint.c | 66 ++-- fs/f2fs/data.c | 4 ++--

linux-next: manual merge of the akpm-current tree with the arm64 tree

2015-12-15 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm-current tree got a conflict in: include/linux/memblock.h between commit: bf3d3cc580f9 ("mm/memblock: add MEMBLOCK_NOMAP attribute to memblock memory table") from the arm64 tree and commit: f7e2bc7d46e9 ("mm/memblock.c: memblock_is_memory(

[PATCH] mtd: denali: make MTD_NAND_DENALI_DT dependent on OF

2015-12-15 Thread Masahiro Yamada
The build passes even if CONFIG_OF is undefined, but it makes sense to let it depend on OF. Signed-off-by: Masahiro Yamada --- drivers/mtd/nand/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig index 2896640..d803087

Re: [RFC/RFT PATCH] watchdog: Move watchdog device creation to watchdog_dev.c

2015-12-15 Thread Pratyush Anand
On 15/12/2015:06:56:50 PM, Guenter Roeck wrote: > On 12/14/2015 12:44 PM, Wim Van Sebroeck wrote: > >On Sun, Dec 13, 2015 at 10:24:35PM -0800, Guenter Roeck wrote: > > > >>On 12/13/2015 02:02 PM, Damien Riegel wrote: > >>>On Mon, Dec 07, 2015 at 09:41:03PM +0100, Wim Van Sebroeck wrote: > Hi Al

linux-next: build failure after merge of the i2c tree

2015-12-15 Thread Stephen Rothwell
Hi Wolfram, After merging the i2c tree, today's linux-next build (powerpc ppc44x_defconfig) failed like this: drivers/i2c/busses/i2c-ibm_iic.c:102:15: error: redefinition of 'struct i2c_timings' static struct i2c_timings { ^ In file included from drivers/i2c/busses/i2c-ibm_iic.c:

[PATCH -next] of: Move of_io_request_and_map prototype to correct context

2015-12-15 Thread Guenter Roeck
of_io_request_and_map() is defined in of/address.c, which is compiled if CONFIG_OF_ADDRESS is configured. However, it is defined in the context of CONFIG_OF. This results in the following build errors for sparc:allmodconfig (which defines CONFIG_OF but not CONFIG_OF_ADDRESS). drivers/built-in.o: I

[PATCH -next] irqchip: renesas-h8s: Replace ctrl_outw/ctrl_inw with writew/readw

2015-12-15 Thread Guenter Roeck
Commit 13ae42a3b1c1 ("h8300: Rename ctlr_out/in[bwl] to raw_read/write[bwl]") changed the function names, but not all callers, resulting in drivers/irqchip/irq-renesas-h8s.c: In function ‘h8s_disable_irq’: drivers/irqchip/irq-renesas-h8s.c:43:9: error: implicit declaration of function ‘ctr

Re: Information leak in sco_sock_bind

2015-12-15 Thread Marcel Holtmann
Hi Dave, >> The following program leads to leak of 6 bytes from kernel stack: > > This should fix it: > > > [PATCH] bluetooth: Validate socket address length in sco_sock_bind(). > > Signed-off-by: David S. Miller > --- > net/bluetooth/sco.c | 3 +++ > 1 file changed, 3 inse

Re: [PATCH] drivers: md: use ktime_get_real_seconds()

2015-12-15 Thread NeilBrown
On Fri, Nov 13 2015, Deepa Dinamani wrote: > get_seconds() API is not y2038 safe on 32 bit systems and the API > is deprecated. Replace it with calls to ktime_get_real_seconds() > API instead. Change mddev structure types to time64_t accordingly. > > 32 bit signed timestamps will overflow in the y

Re: [PATCH v5 0/3] thermal: mediatek: Add cpu dynamic power cooling model.

2015-12-15 Thread Viresh Kumar
On 16-12-15, 11:59, Dawei Chien wrote: > Use Intelligent Power Allocation (IPA) technical to add dynamic power model > for binding CPU thermal zone. The power allocator governor allocates power > budget to control CPU temperature. > > Power Allocator governor is able to keep SOC temperature within

[PATCH] cpufreq: governor: Fix negative idle_time when configured with CONFIG_HZ_PERIODIC

2015-12-15 Thread Chen Yu
It is reported that, with CONFIG_HZ_PERIODIC=y cpu stays at the lowest frequency even if the usage goes to 100%, neither ondemand nor conservative governor works, however performance and userspace work as expected. If set with CONFIG_NO_HZ_FULL=y, everything goes well. This problem is caused by im

[PATCH v11 19/19] drm: bridge: analogix/dp: Fix the possible dead lock in bridge disable time

2015-12-15 Thread Yakir Yang
It may caused a dead lock if we flush the hpd work in bridge disable time. The normal flow would like: IN --> DRM IOCTL 1. Acquire crtc_ww_class_mutex (DRM IOCTL) IN --> analogix_dp_bridge 2. Acquire hpd work lock (Flush hpd work) 3. HPD work already in idle, no need to

Re: [PATCH] md: avoid warning for 32-bit sector_t

2015-12-15 Thread NeilBrown
On Tue, Nov 24 2015, Arnd Bergmann wrote: > When CONFIG_LBDAF is not set, sector_t is only 32-bits wide, which > means we cannot have devices with more than 2TB, and the code that > is trying to handle compatibility support for large devices in > md version 0.90 is meaningless but also causes a co

[PATCH v11 18/19] drm: bridge: analogix/dp: add panel prepare/unprepare in suspend/resume time

2015-12-15 Thread Yakir Yang
Turn off the panel power in suspend time would help to reduce power waste. Signed-off-by: Yakir Yang --- Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in

[PATCH v5 1/3] thermal: mediatek: Add cpu dynamic power cooling model.

2015-12-15 Thread Dawei Chien
MT8173 cpufreq driver select of_cpufreq_power_cooling_register registering cooling devices with dynamic power coefficient. Signed-off-by: Dawei Chien --- This patch is base on patchset: https://lkml.org/lkml/2015/11/17/251 --- drivers/cpufreq/mt8173-cpufreq.c | 11 +-- 1 file changed,

[PATCH v11 17/19] drm: bridge: analogix/dp: expand the look time for waiting AUX CH reply

2015-12-15 Thread Yakir Yang
After test on rockchiop platform, i found sometims driver would failed at reading EDID message. After debugging more, i found that it's okay to read_a byte from i2c, but it would failed at AUX transcation if we try to ready multi-bytes from i2c. Driver just can't received the AUX CH reply command,

[PATCH v5 0/3] thermal: mediatek: Add cpu dynamic power cooling model.

2015-12-15 Thread Dawei Chien
Use Intelligent Power Allocation (IPA) technical to add dynamic power model for binding CPU thermal zone. The power allocator governor allocates power budget to control CPU temperature. Power Allocator governor is able to keep SOC temperature within a defined temperature range to avoid SOC overhea

[PATCH v5 3/3] arm64: dts: mt8173: Add dynamic power node.

2015-12-15 Thread Dawei Chien
This device node is for calculating dynamic power in mW. Since mt8173 has two clusters, there are two dynamic power coefficient as well. Signed-off-by: Dawei Chien --- This patch is base on patchset: https://lkml.org/lkml/2015/11/17/251 --- arch/arm64/boot/dts/mediatek/mt8173.dtsi |4 1

[PATCH v5 2/3] arm64: dts: mt8173: Add thermal zone node.

2015-12-15 Thread Dawei Chien
This adds thermal zone node to Mediatek MT8173 dtsi file. Signed-off-by: Dawei Chien --- This patch is base on patchset: https://lkml.org/lkml/2015/11/30/239 --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 43 ++ 1 file changed, 43 insertions(+) diff --git a/arch/ar

Re: [PATCH 1/7] mm: memcontrol: charge swap to cgroup2

2015-12-15 Thread Kamezawa Hiroyuki
On 2015/12/16 2:21, Michal Hocko wrote: I completely agree that malicious/untrusted users absolutely have to be capped by the hard limit. Then the separate swap limit would work for sure. But I am less convinced about usefulness of the rigid (to the global memory pressure) swap limit without th

[PATCH v11 16/19] drm: bridge: analogix/dp: add edid modes parse in get_modes method

2015-12-15 Thread Yakir Yang
Display Port monitor could support kinds of mode which indicate in monitor edid, not just one single display resolution which defined in panel or devivetree property display timing. Note: Gustavo Padovan try to remove the controller and phy power on function in bind time at bellow commit:

[PATCH v11 15/19] drm: bridge: analogix/dp: move hpd detect to connector detect function

2015-12-15 Thread Yakir Yang
This change just make a little clean to make code more like drm core expect, move hdp detect code from bridge->enable(), and place them into connector->detect(). Note: Gustavo Padovan try to remove the controller and phy power on function in bind time at bellow commit: drm/exynos: do not s

RE: linux-next: build failure after merge of the gpio tree

2015-12-15 Thread Yendapally Reddy Dhananjaya Reddy
_flags was removed before v4.3-rc2 ... I have used the gpio tree from next-20151215 for today. -- Cheers, Stephen Rothwells...@canb.auug.org.au -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vg

[PATCH v11 14/19] drm: bridge: analogix/dp: try force hpd after plug in lookup failed

2015-12-15 Thread Yakir Yang
Some edp screen do not have hpd signal, so we can't just return failed when hpd plug in detect failed. This is an hardware property, so we need add a devicetree property "analogix,need-force-hpd" to indicate this sutiation. Signed-off-by: Yakir Yang Acked-by: Rob Herring Tested-by: Javier Marti

[PATCH v11 13/19] drm: bridge: analogix/dp: add max link rate and lane count limit for RK3288

2015-12-15 Thread Yakir Yang
There are some IP limit on rk3288 that only support 4 physical lanes of 2.7/1.6 Gbps/lane, so seprate them out by device_type flag. Signed-off-by: Yakir Yang Tested-by: Javier Martinez Canillas --- Changes in v11: None Changes in v10: - Remove the surplus "plat_data" check. (Heiko) - switc

[PATCH] ideapad: Report hard block off if it is never on

2015-12-15 Thread Ike Panhc
Hardware radio switch is rare on recently ideapad and some of them reported radio hardware blocked by error. With more and more ideapads available in market to maintain the dmi table becomes a never-finished job. Therefore I am thinking an easy way to detect by response from hardware. This patch w

[PATCH v11 12/19] drm: bridge: analogix/dp: add some rk3288 special registers setting

2015-12-15 Thread Yakir Yang
RK3288 need some special registers setting, we can separate them out by the dev_type of plat_data. Signed-off-by: Yakir Yang Tested-by: Javier Martinez Canillas --- Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: None Changes i

[PATCHv2 1/3] thermal: setup monitor only once after handling trips

2015-12-15 Thread Eduardo Valentin
Instead of changing the monitoring setup every time after handling each trip, this patch simplifies the monitoring setup by moving the setup call to a place where all trips have been treated already. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduard

[PATCH 0/3] thermal: rework core to improve userspace interaction

2015-12-15 Thread Eduardo Valentin
Hello Rui, linux-pm Please consider these three patches in the thermal core to improve the interaction with userspace. The first is already in its second version. It avoids reconfiguring monitor period. Now the thermal core configures the monitor only after handling all trip points. The second i

[PATCH 2/3] thermal: rework core to allow emul_temp to be treated as regular temp

2015-12-15 Thread Eduardo Valentin
Change the way we handle emul_temp. This is to allow emul_temp to be used as input to exercise thermal core properly. Now, even if .get_temp is not available, the emul_temp can be used to emulate temperature. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-b

[PATCH 3/3] thermal: improve hot trip handling

2015-12-15 Thread Eduardo Valentin
The idea is to add the choice to be notified only when temperature crosses trip points. The trip points affected are the non-passive trip points. It will check last temperature and current temperature against the trip point temperature and its hysteresis. In case the check shows temperature has ch

Re: [RFCv6 PATCH 03/10] sched: scheduler-driven cpu frequency selection

2015-12-15 Thread Leo Yan
Hi Steve, On Tue, Dec 08, 2015 at 10:19:24PM -0800, Steve Muckle wrote: [...] > +static int cpufreq_sched_thread(void *data) > +{ > + struct sched_param param; > + struct cpufreq_policy *policy; > + struct gov_data *gd; > + unsigned int new_request = 0; > + unsigned int last_

[PATCH v11 11/19] drm: rockchip: vop: add bpc and color mode setting

2015-12-15 Thread Yakir Yang
From: Mark Yao Add bpc and color mode setting in rockchip_drm_vop driver, so connector could try to use the edid drm_display_info to config vop output mode. Signed-off-by: Mark Yao Signed-off-by: Yakir Yang --- Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: None C

[PATCH v11 10/19] dt-bindings: add document for rockchip dp phy

2015-12-15 Thread Yakir Yang
Add dt binding documentation for rockchip display port PHY. Signed-off-by: Yakir Yang Acked-by: Rob Herring Reviewed-by: Heiko Stuebner --- Changes in v11: - Correct the title of this rockchip dp phy document(Rob) - Add the ack from Rob Herring Changes in v10: None Changes in v9: None Changes

[PATCH v11 09/19] phy: Add driver for rockchip Display Port PHY

2015-12-15 Thread Yakir Yang
Add phy driver for the Rockchip DisplayPort PHY module. This is required to get DisplayPort working in Rockchip SoCs. Signed-off-by: Yakir Yang Reviewed-by: Heiko Stuebner --- Changes in v11: None Changes in v10: - Fix the wrong macro value of GRF_EDP_REF_CLK_SEL_INTER_HIWORD_MASK BIT(4) ->

[PATCH v11 08/19] dt-bindings: add document for rockchip variant of analogix_dp

2015-12-15 Thread Yakir Yang
Rockchip DP driver is a helper driver of analogix_dp coder driver, so most of the DT property should be descriped in analogix_dp document. Signed-off-by: Yakir Yang Acked-by: Rob Herring Reviewed-by: Heiko Stuebner --- Changes in v11: None Changes in v10: - Add the ack from Rob Herring Changes

[PATCH v11 07/19] drm: rockchip: dp: add rockchip platform dp driver

2015-12-15 Thread Yakir Yang
Rockchip have three clocks for dp controller, we leave pclk_edp to analogix_dp driver control, and keep the sclk_edp_24m and sclk_edp in platform driver. Signed-off-by: Yakir Yang Tested-by: Javier Martinez Canillas --- Changes in v11: None Changes in v10: - Correct the ROCKCHIP_ANALOGIX_DP inde

linux-next: build failure after merge of the gpio tree

2015-12-15 Thread Stephen Rothwell
bbbcabe0 ("pinctrl: nsp: add gpio-a driver support for Broadcom NSP SoC") set_irq_flags was removed before v4.3-rc2 ... I have used the gpio tree from next-20151215 for today. -- Cheers, Stephen Rothwells...@canb.auug.org.au -- To unsubscribe from this list: send the lin

[PATCH v11 06/19] ARM: dts: exynos/dp: remove some properties that deprecated by analogix_dp driver

2015-12-15 Thread Yakir Yang
After exynos_dp have been split the common IP code into analogix_dp driver, the analogix_dp driver have deprecated some Samsung platform properties which could be dynamically parsed from EDID/MODE/DPCD message, so this is an update for Exynos DTS file for dp-controller. Beside the backward compati

[PATCH v11 05/19] dt-bindings: add document for analogix display port driver

2015-12-15 Thread Yakir Yang
Analogix dp driver is split from exynos dp driver, so we just make an copy of exynos_dp.txt, and then simplify exynos_dp.txt Beside update some exynos dtsi file with the latest change according to the devicetree binding documents. Signed-off-by: Yakir Yang Acked-by: Rob Herring Tested-by: Javie

[PATCH v11 04/19] drm: bridge: analogix/dp: dynamic parse sync_pol & interlace & dynamic_range

2015-12-15 Thread Yakir Yang
Both hsync/vsync polarity and interlace mode can be parsed from drm display mode, and dynamic_range and ycbcr_coeff can be judge by the video code. But presumably Exynos still relies on the DT properties, so take good use of mode_fixup() in to achieve the compatibility hacks. Signed-off-by: Yakir

Re: [PATCH] net: emac: emac gigabit ethernet controller driver

2015-12-15 Thread Timur Tabi
David Miller wrote: I think you did something much worse. You quoted the entire huge patch which is entirely inappropriate given the feedback you were trying to give. Sorry about that. I usually do trim it, but I got tired and forgot before I hit send. -- Sent by an employee of the Qualcom

[PATCH v11 03/19] drm: bridge: analogix/dp: remove duplicate configuration of link rate and link count

2015-12-15 Thread Yakir Yang
link_rate and lane_count already configured in analogix_dp_set_link_train(), so we don't need to config those repeatly after training finished, just remove them out. Beside Display Port 1.2 already support 5.4Gbps link rate, the maximum sets would change from {1.62Gbps, 2.7Gbps} to {1.62Gbps, 2.7G

Re: [PATCH RFC] memory-hotplug: add automatic onlining policy for the newly added memory

2015-12-15 Thread Xishi Qiu
On 2015/12/16 2:05, Vitaly Kuznetsov wrote: > Currently, all newly added memory blocks remain in 'offline' state unless > someone onlines them, some linux distributions carry special udev rules > like: > > SUBSYSTEM=="memory", ACTION=="add", ATTR{state}=="offline", > ATTR{state}="online" > > to

[PATCH v11 02/19] drm: bridge: analogix/dp: fix some obvious code style

2015-12-15 Thread Yakir Yang
Fix some obvious alignment problems, like alignment and line over 80 characters problems, make this easy to be maintained later. Signed-off-by: Yakir Yang Reviewed-by: Krzysztof Kozlowski Tested-by: Javier Martinez Canillas --- Changes in v11: None Changes in v10: None Changes in v9: None Chang

[PATCH v11 0/19] Add Analogix Core Display Port Driver

2015-12-15 Thread Yakir Yang
Hi all, The Samsung Exynos eDP controller and Rockchip RK3288 eDP controller share the same IP, so a lot of parts can be re-used. I split the common code into bridge directory, then rk3288 and exynos only need to keep some platform code. Cause I can't find the exact IP name of exynos dp contro

Re: [PATCH] mm: mempool: Factor out mempool_refill()

2015-12-15 Thread Zhi Wang
Hi Johannes: Thanks for the reply. In the end of the mempool_resize(), it will call the mempool_refill() to do the rest of the work. So this is not one of the "no-caller" case. If you insist this is a "no-caller" case, perhaps I should change it to a "static" function without exposing a new

RE: [PATCH 7/8] f2fs: introduce new option for controlling data flush

2015-12-15 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Wednesday, December 16, 2015 10:49 AM > To: Chao Yu > Cc: linux-f2fs-de...@lists.sourceforge.net; linux-kernel@vger.kernel.org > Subject: Re: [PATCH 7/8] f2fs: introduce new option for controlling data

[PATCH v2 0/2] Introduce the bulk IV mode for improving the crypto engine efficiency

2015-12-15 Thread Baolin Wang
>From the dm-crypt performance report, we found it shows low efficiency with crypto engine for some mode (like ecb or xts mode). Because in dm crypt, it will map the IO data buffer with scatterlist, and send the scatterlist of one bio to the encryption engine, if send more scatterlists with bigger

Re: [PATCH 1/7] mm: memcontrol: charge swap to cgroup2

2015-12-15 Thread Kamezawa Hiroyuki
On 2015/12/15 23:50, Johannes Weiner wrote: On Tue, Dec 15, 2015 at 12:22:41PM +0900, Kamezawa Hiroyuki wrote: On 2015/12/15 4:42, Vladimir Davydov wrote: Anyway, if you don't trust a container you'd better set the hard memory limit so that it can't hurt others no matter what it runs and how it

[PATCH v2 2/2] md: dm-crypt: Introduce the bulk IV mode for bulk crypto

2015-12-15 Thread Baolin Wang
In now dm-crypt code, it is ineffective to map one segment (always one sector) of one bio with just only one scatterlist at one time for hardware crypto engine. Especially for some encryption mode (like ecb or xts mode) cooperating with the crypto engine, they just need one initial IV or null IV in

[PATCH v2 1/2] block: Export the __blk_bios_map_sg() to map one bio

2015-12-15 Thread Baolin Wang
In dm-crypt, it need to map one bio to scatterlist for improving the encryption efficiency. Thus this patch exports the __blk_bios_map_sg() function to map one bio with scatterlists. Signed-off-by: Baolin Wang --- block/blk-merge.c |7 --- include/linux/blkdev.h |3 +++ 2 files

Re: [PATCH] net: emac: emac gigabit ethernet controller driver

2015-12-15 Thread David Miller
From: Timur Tabi Date: Tue, 15 Dec 2015 18:15:50 -0600 > You forgot to add "[v2]" to the subject line of this email. I think you did something much worse. You quoted the entire huge patch which is entirely inappropriate given the feedback you were trying to give. Thanks. -- To unsubscribe from

Re: [PATCH] SUNRPC: restore fair scheduling to priority queues.

2015-12-15 Thread NeilBrown
On Wed, Dec 16 2015, Trond Myklebust wrote: > On Tue, Dec 15, 2015 at 6:44 PM, NeilBrown wrote: >> >> Commit: c05eecf63610 ("SUNRPC: Don't allow low priority tasks to pre-empt >> higher priority ones") >> >> removed the 'fair scheduling' feature from SUNRPC priority queues. >> This feature cause

Re: [PATCH 0/15] copy offload patches

2015-12-15 Thread Martin K. Petersen
> "Mikulas" == Mikulas Patocka writes: Mikulas> Is there some software iSCSI implementation that supports Mikulas> token-based copy? So that I could try to make support for it. I did write support for token-based copy but it's in a different branch from the xcopy stuff. I will have to reconc

Re: [PATCH 1/2] arm64: Improve error reporting on set_pte_at() checks

2015-12-15 Thread Andrew Pinski
On Tue, Dec 9, 2015 at 17:26:56, Catalin Marinas wrote: > > Currently the BUG_ON() checks do not give enough information about the PTEs > being set. This patch changes BUG_ON to WARN_ONCE and dumps the values of the > old and new PTEs. This change broke building the mantis driver: In file inc

  1   2   3   4   5   6   7   8   9   10   >