[PATCH v3 10/15] scsi: ufs: fix error recovery after the hibern8 exit failure

2015-09-02 Thread Yaniv Gardi
Hibern8 exit can be called from 3 different context: - ufshcd_hibern8_exit_work - ufshcd_ungate_work - runtime/system resume If hibern8 exit fails for some reason then we try to bring the link to active state by link startup but this recovery mechanism results into deadlock or errors f

[PATCH v3 14/15] scsi: ufs: commit descriptors before setting the doorbell

2015-09-02 Thread Yaniv Gardi
Add a write memory barrier to make sure descriptors prepared are actually written to memory before ringing the doorbell. We have also added the write memory barrier after ringing the doorbell register so that controller sees the new request immediately. Signed-off-by: Gilad Broner Signed-off-by:

[PATCH v3 15/15] scsi: ufs: add wrapper for retrying sending query attribute

2015-09-02 Thread Yaniv Gardi
Sometimes queries from the device might return a failure so it is recommended to retry sending the query, before giving up. This change adds a wrapper to retry sending a query attribute, in cases where we need to wait longer, before we continue, or before reporting a failure. Signed-off-by: Yaniv

[PATCH v3 09/15] scsi: ufs: add retries for hibern8 enter

2015-09-02 Thread Yaniv Gardi
If hibern8 enter command fails then UFS link state may be unknown which may result into timeout of all the commands issued after failure. This change does 2 things (for pre-defined number of retry counts) after hibern8 enter failure: 1. Recovers the UFS link to active state 2. If link is recovered

[PATCH v3 06/15] scsi: ufs: avoid exception event handler racing with PM callbacks

2015-09-02 Thread Yaniv Gardi
If device raises the exception event in the response to the commands sent during the runtime/system PM callbacks, exception event handler might run in parallel with PM callbacks and may see unclocked register accesses. This change fixes this issue by not scheduling the exception event handler while

[PATCH v3 13/15] scsi: ufs: add missing memory barriers

2015-09-02 Thread Yaniv Gardi
Performing several writes to UFS host controller registers has no gurrantee of ordering, so we must make sure register writes to setup request list base address etc. are performed before the run/stop register is enabled. In addition, when setting up a task request, we must make sure the updating of

[PATCH v3 04/15] scsi: ufs: clear outstanding_request bit in case query timeout

2015-09-02 Thread Yaniv Gardi
When sending a query to the device returns with a timeout error, we clear the corresponding bit in the DOORBELL register but we don't clear the outstanding_request field as we should. This patch fixes this bug. Signed-off-by: Yaniv Gardi --- drivers/scsi/ufs/ufshcd.c | 22 --

[PATCH v3 00/15] Big fixes, retries, handle a race condition

2015-09-02 Thread Yaniv Gardi
Important: This serie of 15 small patches should be pushed after the series of 8 patches "Fix error message and present UFS variant probe" V3: removed specific calls to wmb() since they are redundant. V2: a few minor changes V1: This serie of 15 small patches should be pushed after the series of

[PATCH v3 01/15] scsi: ufs: clear UTRD, UPIU req and rsp before new transfers

2015-09-02 Thread Yaniv Gardi
Clear the UFS data structures before sending new request. The SCSI command is sent to the device within the UFS UPIU request. As part of the transfer UPIU preparation, the SCSI command is copied to the UPIU structure according to the SCSI command size. As different SCSI commands differ in size fro

Re: [PATCH 00/14] arm64: 16K translation granule support

2015-09-02 Thread Suzuki K. Poulose
On 02/09/15 10:55, Ard Biesheuvel wrote: On 13 August 2015 at 13:33, Suzuki K. Poulose wrote: From: "Suzuki K. Poulose" Patches 1-7 cleans up the kernel page size handling code. Patches 8-11 Fixes some issues with the KVM bits, mainly the fake PGD handling code. Patch 12A

Re: [RFC PATCH 3/9] arm64: allocate sys_membarrier system call number

2015-09-02 Thread Will Deacon
On Thu, Aug 27, 2015 at 06:56:49PM +0100, Mathieu Desnoyers wrote: > arm64 sys_membarrier number is already wired for arm64 through > asm-generic/unistd.h, but needs to be allocated separately for > the 32-bit compability layer of arm64. > > [ Untested on this architecture. To try it out: fetch li

Re: [PATCH] dax, pmem: add support for msync

2015-09-02 Thread Boaz Harrosh
On 09/02/2015 06:19 AM, Ross Zwisler wrote: > On Wed, Sep 02, 2015 at 08:21:20AM +1000, Dave Chinner wrote: >> Which means applications that should "just work" without >> modification on DAX are now subtly broken and don't actually >> guarantee data is safe after a crash. That's a pretty nasty >> l

Re: 4.1-rc7: Xorg broken after resume on thinkpad T40p, radeon problem?

2015-09-02 Thread Pavel Machek
On Wed 2015-06-17 21:01:55, Andreas Mohr wrote: > Hi, > > [unable to set In-Reply-To: since lkml.org "headers" view remains broken...] > > > Hibernation works well here, including X. (Which has small glitch with > > mouse cursor being corrupted until it is changed by application). > > I recentl

Re: [PATCH V3] Watchdog: Fix parent of watchdog_devices

2015-09-02 Thread Charles Keepax
On Wed, Aug 19, 2015 at 08:58:24AM +0530, Pratyush Anand wrote: > /sys/class/watchdog/watchdogn/device/modalias can help to identify the > driver/module for a given watchdog node. However, many wdt devices does not > set > its parent and so, we do not see an entry for device in sysfs for such > d

Re: [PATCH v4 09/16] drm: rockchip: add bpc and color mode setting

2015-09-02 Thread Yakir Yang
Thierry, 在 2015/9/2 16:34, Thierry Reding 写道: On Wed, Sep 02, 2015 at 10:06:36AM +0800, Yakir Yang wrote: 在 09/02/2015 05:00 AM, Heiko Stuebner 写道: Am Dienstag, 1. September 2015, 14:01:48 schrieb Yakir Yang: [...] diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_vop.c b/drivers/gpu/drm/ro

[PATCH 2/4] sched/deadline: unify dl_time_before usage

2015-09-02 Thread Juri Lelli
Move dl_time_before static definition in include/linux/sched/deadline.h so that it can be used by different parties without being re-defined. Cc: Ingo Molnar Cc: Peter Zijlstra Reported-by: Luca Abeni Signed-off-by: Juri Lelli --- include/linux/sched/deadline.h | 5 + kernel/sched/cpudead

[PATCH 0/4] sched fixes and clean-ups

2015-09-02 Thread Juri Lelli
Hi all, while trying to come up with 01/04, I collected the following set of fixes. Patches 02-04/04 are simple refactoring of code and clean-ups. Patch 01/04 is instead my attempt to fix a problem highlighted some time back by Wanpeng Li regarding hotplug and the way SCHED_DEADLINE keeps track o

Re: [PATCH 02/14] arm64: Handle section maps for swapper/idmap

2015-09-02 Thread Ard Biesheuvel
On 2 September 2015 at 11:42, Suzuki K. Poulose wrote: > On 02/09/15 10:38, Ard Biesheuvel wrote: >> >> On 13 August 2015 at 13:33, Suzuki K. Poulose >> wrote: >>> >>> From: "Suzuki K. Poulose" >>> >>> We use section maps with 4K page size to create the >>> swapper/idmaps. So far we have used !6

[PATCH 1/4] sched/{cpuset,core}: restore complete root_domain status across hotplug

2015-09-02 Thread Juri Lelli
Hotplug operations are destructive w.r.t data associated with cpuset; in this case we care about root_domains. SCHED_DEADLINE puts bandwidth information regarding admitted tasks on root_domains, information that is gone when an hotplug operation happens. Also, it is not currently possible to tell t

[PATCH 4/4] sched/rt: make (do_)balance_runtime() return void

2015-09-02 Thread Juri Lelli
The return value of (do_)balance_runtime() is not consumed by anybody. Make them return void. Cc: Ingo Molnar Cc: Peter Zijlstra Signed-off-by: Juri Lelli --- kernel/sched/rt.c | 22 ++ 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/kernel/sched/rt.c b/kerne

[PATCH 3/4] locking/rtmutex: fix open coded check in rt_mutex_waiter_less()

2015-09-02 Thread Juri Lelli
rt_mutex_waiter_less() check of tasks deadlines is open coded. Since this is subject to wraparound issues, make it use the correct helper. Cc: Ingo Molnar Cc: Peter Zijlstra Reported-by: Luca Abeni Signed-off-by: Juri Lelli --- kernel/locking/rtmutex.c | 3 ++- 1 file changed, 2 insertions(+)

Re: [RFC 3/5] powerpc: atomic: implement atomic{,64}_{add,sub}_return_* variants

2015-09-02 Thread Will Deacon
Hi Paul, On Tue, Sep 01, 2015 at 10:45:40PM +0100, Paul E. McKenney wrote: > On Tue, Sep 01, 2015 at 08:00:27PM +0100, Will Deacon wrote: > > On Fri, Aug 28, 2015 at 04:39:21PM +0100, Peter Zijlstra wrote: > > > Yes, the difference between RCpc and RCsc is in the meaning of RELEASE + > > > ACQUIRE

Re: [PATCH 01/10] irqchip: irq-mips-gic: export gic_send_ipi

2015-09-02 Thread Marc Zyngier
On 02/09/15 10:33, Qais Yousef wrote: > On 08/28/2015 03:22 PM, Thomas Gleixner wrote: >> On Fri, 28 Aug 2015, Qais Yousef wrote: >>> Thanks a lot for the detailed explanation. I wasn't looking for a quick and >>> dirty solution but my view of the problem is much simpler than yours so my >>> idea o

Re: [PATCH 00/14] arm64: 16K translation granule support

2015-09-02 Thread Ard Biesheuvel
On 13 August 2015 at 13:33, Suzuki K. Poulose wrote: > From: "Suzuki K. Poulose" > > This series enables the 16K page size support on Linux for arm64. > This series adds support for 48bit VA(4 level), 47bit VA(3 level) and > 36bit VA(2 level) with 16K. 16K was a late addition to the architecture

Re: [PATCH 0/6] sched/fair: Compute capacity invariant load/utilization tracking

2015-09-02 Thread Dietmar Eggemann
On 08/31/2015 11:24 AM, Peter Zijlstra wrote: On Fri, Aug 14, 2015 at 05:23:08PM +0100, Morten Rasmussen wrote: Target: ARM TC2 A7-only (x3) Test: hackbench -g 25 --threads -l 1 Before After 315.545 313.408 -0.68% Target: Intel(R) Core(TM) i5 CPU M 520 @ 2.40GHz Test: hackbench -g 25 --th

Re: linux-next: manual merge of the block tree with the xfs tree

2015-09-02 Thread Roger Willcocks
On 2 Sep 2015, at 03:16, Stephen Rothwell wrote: > Hi Jens, > > Today's linux-next merge of the block tree got a conflict in: > > fs/xfs/xfs_aops.c > > between commit: > > c9eb256eda44 ("xfs: return errors from partial I/O failures to files") > > from the xfs tree and commit: > > 4246a0

Re: [PATCH v6 0/3] KVM: Dynamic Halt-Polling

2015-09-02 Thread Paolo Bonzini
On 02/09/2015 09:29, Wanpeng Li wrote: > v5 -> v6: > * fix wait_ns and poll_ns > > v4 -> v5: > * set base case 10us and max poll time 500us > * handle short/long halt, idea from David, many thanks David ;-) > > v3 -> v4: > * bring back grow vcpu->halt_poll_ns when interrupt arrives and shr

Schváleno Claire

2015-09-02 Thread Sidney L. Waddington
Schváleno Claire El Gordo Award 20th/08/2015 Email Gratulujeme práve vyhrál 150,000,00 Euro bylo mezi víteze mesíce množství Won 150,000,00 úcastníku Euro .Všechny byly vybrány náhodne z World Wide webu pres pocítac cerpá systemTo Facebook pro váš soubor Claire kontaktujte prosím naše duverník

Re: [PATCH] perf record: fix link time error with sample_reg_masks on non x86

2015-09-02 Thread Adrian Hunter
On 01/09/15 12:30, Stephane Eranian wrote: > This patch makes perf compile on non x86 platforms by defining > a weak symbol for sample_reg_masks[] in util/perf_regs.c. > > The patch also moves the REG() and REG_END() macros into the > util/per_regs.h header file. The macros are renamed to > SMPL_R

Re: [PATCH 12/14] arm64: Check for selected granule support

2015-09-02 Thread Ard Biesheuvel
On 13 August 2015 at 19:29, Catalin Marinas wrote: > On Thu, Aug 13, 2015 at 03:45:07PM +0100, Suzuki K. Poulose wrote: >> On 13/08/15 13:28, Steve Capper wrote: >> >On 13 August 2015 at 12:34, Suzuki K. Poulose >> >wrote: >> >> __enable_mmu: >> >>+ mrs x1, ID_AA64MMFR0_EL1 >> >>+

Re: [PATCH] x86: Wire up 32-bit direct socket calls

2015-09-02 Thread Geert Uytterhoeven
On Wed, Jul 15, 2015 at 12:24 AM, Andy Lutomirski wrote: > On x86_64, there's no socketcall syscall; instead all of the socket > calls are real syscalls. For 32-bit programs, we're stuck offering > the socketcall syscall, but it would be nice to expose the direct > calls as well. This will enabl

Re: [PATCH] dax, pmem: add support for msync

2015-09-02 Thread Kirill A. Shutemov
On Wed, Sep 02, 2015 at 12:41:44PM +0300, Boaz Harrosh wrote: > On 09/02/2015 12:37 PM, Boaz Harrosh wrote: > >> > >> + /* > >> +* Make sure that for VM_MIXEDMAP VMA has both > >> +* vm_ops->page_mkwrite and vm_ops->pfn_mkwrite or has > >> none. > >>

Re: [PATCH 3/3] cpufreq: dt: Tolerance applies on both sides of target voltage

2015-09-02 Thread Viresh Kumar
On 02-09-15, 11:39, Lucas Stach wrote: > Am Mittwoch, den 02.09.2015, 14:36 +0530 schrieb Viresh Kumar: > > Tolerance applies on both sides of the target voltage, i.e. both min and > > max sides. > > While I'm not really comfortable with the above, it is exactly how OPPv1 > and the voltage toleran

Re: [PATCH 02/14] arm64: Handle section maps for swapper/idmap

2015-09-02 Thread Suzuki K. Poulose
On 02/09/15 10:38, Ard Biesheuvel wrote: On 13 August 2015 at 13:33, Suzuki K. Poulose wrote: From: "Suzuki K. Poulose" We use section maps with 4K page size to create the swapper/idmaps. So far we have used !64K or 4K checks to handle the case where we use the section maps. This patch adds a

Re: [PATCH] dax, pmem: add support for msync

2015-09-02 Thread Boaz Harrosh
On 09/02/2015 12:37 PM, Boaz Harrosh wrote: >> >> + /* >> +* Make sure that for VM_MIXEDMAP VMA has both >> +* vm_ops->page_mkwrite and vm_ops->pfn_mkwrite or has none. >> +*/ >> + if ((vma->vm_ops->page_mkwrite || vma->v

Re: [PATCH 3/3] cpufreq: dt: Tolerance applies on both sides of target voltage

2015-09-02 Thread Lucas Stach
Am Mittwoch, den 02.09.2015, 14:36 +0530 schrieb Viresh Kumar: > Tolerance applies on both sides of the target voltage, i.e. both min and > max sides. While I'm not really comfortable with the above, it is exactly how OPPv1 and the voltage tolerance property are specified. Reviewed-by: Lucas Stac

Re: commit 3c2e7f7de3 (KVM use NPT page attributes) causes boot failures

2015-09-02 Thread Markus Trippelsdorf
On 2015.09.02 at 17:17 +0800, Xiao Guangrong wrote: > > > > No. PAT is of course enabled and booting is successful sometimes even > > with the BUG() in allback_mtrr_type(). I suspect a setup (timing) issue. > > Thanks for your confirmation. > > > > > markus@x4 linux % cat .config | grep X86_PAT

Only 1 cpu scheduled in 4.2.0

2015-09-02 Thread Martin van Es
Hi, I recently compiled 4.2.0 based on my previous 4.1.6 config (make oldconfig). On 4.1.6 all cores are equally scheduled. This new 4.2.0 kernel however only schedules cpu0 on my 4 cpu i7-3537U (which is actually 2 cores x 2HT, as far as I understand the specs). CPU1 is scheduled for 0.5% now an

Re: [PATCH 1/2] nohz: Affine unpinned timers to housekeepers

2015-09-02 Thread Mike Galbraith
On Tue, 2015-09-01 at 22:47 +0200, Frederic Weisbecker wrote: > On Tue, Sep 01, 2015 at 07:14:13PM +, Jiang, Yunhong wrote: > > > diff --git a/kernel/sched/core.c b/kernel/sched/core.c > > > index 8b864ec..0902e4d 100644 > > > --- a/kernel/sched/core.c > > > +++ b/kernel/sched/core.c > > > @@ -

Re: [PATCH] dax, pmem: add support for msync

2015-09-02 Thread Boaz Harrosh
On 09/02/2015 12:13 PM, Kirill A. Shutemov wrote: > On Wed, Sep 02, 2015 at 08:49:22AM +1000, Dave Chinner wrote: >> On Tue, Sep 01, 2015 at 01:08:04PM +0300, Kirill A. Shutemov wrote: >>> On Tue, Sep 01, 2015 at 09:38:03AM +1000, Dave Chinner wrote: On Mon, Aug 31, 2015 at 12:59:44PM -0600, R

Re: [PATCH 02/14] arm64: Handle section maps for swapper/idmap

2015-09-02 Thread Ard Biesheuvel
On 13 August 2015 at 13:33, Suzuki K. Poulose wrote: > From: "Suzuki K. Poulose" > > We use section maps with 4K page size to create the > swapper/idmaps. So far we have used !64K or 4K checks > to handle the case where we use the section maps. This > patch adds a symbol to make it clear those ca

Re: [PATCH v2 0/3] Disable sched_numa_balancing on uma systems

2015-09-02 Thread Peter Zijlstra
On Tue, Aug 11, 2015 at 04:30:10PM +0530, Srikar Dronamraju wrote: > With recent commit 2a1ed24 ("sched/numa: Prefer NUMA hotness over cache > hotness") sets sched feature NUMA to true. This can enable numa hinting > faults on a uma system. > > This patchset ensures that numa hinting faults occur

stop breaking dosemu (Re: x86/kconfig/32: Rename CONFIG_VM86 and default it to 'n')

2015-09-02 Thread Stas Sergeev
https://lkml.org/lkml/2015/7/21/208 Guys, you gonna be kidding. Is this a new trend of breaking dosemu, or what? VM86 is entirely broken if ptrace, syscall auditing, or NOHZ_FULL is in use. The code is a big undocumented mess, it's a real PITA to test, and it looks like a big chunk of vm86_32.

Re: [PATCH 01/10] irqchip: irq-mips-gic: export gic_send_ipi

2015-09-02 Thread Qais Yousef
On 08/28/2015 03:22 PM, Thomas Gleixner wrote: On Fri, 28 Aug 2015, Qais Yousef wrote: Thanks a lot for the detailed explanation. I wasn't looking for a quick and dirty solution but my view of the problem is much simpler than yours so my idea of a solution would look quick and dirty. I have a be

Re: [PATCH 0/2] Fix memcg/memory.high in case kmem accounting is enabled

2015-09-02 Thread Vladimir Davydov
[ I'll try to summarize my point in one hunk instead of spreading it all over the e-mail, because IMO it's becoming a kind of difficult to follow. If you think that there's a question I dodge, please let me now and I'll try to address it separately. Also, adding Johannes to Cc (I noticed

Re: [PATCH 2/6] sched/fair: Convert arch_scale_cpu_capacity() from weak function to #define

2015-09-02 Thread Vincent Guittot
Hi Morten, On 14 August 2015 at 18:23, Morten Rasmussen wrote: > Bring arch_scale_cpu_capacity() in line with the recent change of its > arch_scale_freq_capacity() sibling in commit dfbca41f3479 ("sched: > Optimize freq invariant accounting") from weak function to #define to > allow inlining of t

[PATCH] virtio-gpu: fix compilation warnings

2015-09-02 Thread Mike Rapoport
Update snprintf format in virtgpu_fence.c and virtgpu_debugfs.c to fix the following compilation warnings: C [M] drivers/gpu/drm/virtio/virtgpu_fence.o drivers/gpu/drm/virtio/virtgpu_fence.c: In function ‘virtio_timeline_value_str’ : drivers/gpu/drm/virtio/virtgpu_fence.c:64:2: warning: format ‘

Re: commit 3c2e7f7de3 (KVM use NPT page attributes) causes boot failures

2015-09-02 Thread Xiao Guangrong
On 09/02/2015 11:50 AM, Markus Trippelsdorf wrote: On 2015.09.02 at 06:31 +0800, Xiao Guangrong wrote: On 09/01/2015 09:56 PM, Markus Trippelsdorf wrote: On 2015.09.01 at 21:00 +0800, Xiao Guangrong wrote: Did it trigger the BUG()/BUG_ON() in mtrr2protval()/fallback_mtrr_type()? If yes, c

Re: [PATCH] ASoC: bcm2835-i2s: Fix module autoload for OF platform drivers

2015-09-02 Thread Lee Jones
On Thu, 27 Aug 2015, Luis de Bethencourt wrote: > These platform drivers have a OF device ID table but the OF module > alias information is not created so module autoloading won't work. > > Signed-off-by: Luis de Bethencourt > --- > sound/soc/bcm/bcm2835-i2s.c | 2 ++ > 1 file changed, 2 insert

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

2015-09-02 Thread Stas Sergeev
02.09.2015 08:12, Andy Lutomirski пишет: On Wed, Aug 19, 2015 at 9:30 AM, Stas Sergeev wrote: 19.08.2015 18:46, Andy Lutomirski пишет: On Wed, Aug 19, 2015 at 2:35 AM, Stas Sergeev wrote: Incidentally, I tried implementing the sigaction flag approach. I think it's no good. When we return f

Re: [PATCH] dax, pmem: add support for msync

2015-09-02 Thread Kirill A. Shutemov
On Wed, Sep 02, 2015 at 08:49:22AM +1000, Dave Chinner wrote: > On Tue, Sep 01, 2015 at 01:08:04PM +0300, Kirill A. Shutemov wrote: > > On Tue, Sep 01, 2015 at 09:38:03AM +1000, Dave Chinner wrote: > > > On Mon, Aug 31, 2015 at 12:59:44PM -0600, Ross Zwisler wrote: > > > Even for DAX, msync has to

Re: [BUG 4.2-rc8] Interrupt occurs while apply_alternatives() is patching the handler

2015-09-02 Thread Thomas Gleixner
On Tue, 1 Sep 2015, Richard W.M. Jones wrote: > On Sun, Aug 30, 2015 at 10:37:57PM -0400, Chuck Ebbert wrote: > > This is from https://bugzilla.redhat.com/show_bug.cgi?id=1258223 > > > > [0.036000] BUG: unable to handle kernel paging request at 55501e06 > [...] > > [0.036000] [] ? add_nop

[PATCH 3/3] cpufreq: dt: Tolerance applies on both sides of target voltage

2015-09-02 Thread Viresh Kumar
Tolerance applies on both sides of the target voltage, i.e. both min and max sides. But while checking if a voltage is supported by the regulator or not, we haven't taken care of tolerance on the lower side. Fix that. Cc: Lucas Stach Fixes: 045ee45c4ff2 ("cpufreq: cpufreq-dt: disable unsupported

[PATCH 2/3] cpufreq: dt: Print error on failing to mark OPPs as shared

2015-09-02 Thread Viresh Kumar
We need to explicitly mark OPPs as shared, when they are not defined with OPP-v2 bindings. This operation can potentially fail, and in that case we should at least print an error message. Fixes: 2e02d8723edf ("cpufreq: dt: Add support for operating-points-v2 bindings") Signed-off-by: Viresh Kumar

[PATCH 1/3] cpufreq: dt: Check OPP count before marking them shared

2015-09-02 Thread Viresh Kumar
We need to explicitly mark OPPs as shared, when they are not defined with OPP-v2 bindings. But this isn't required to be done if we failed to initialize OPP table. Reorder code to verify OPP count before marking them shared. Fixes: 2e02d8723edf ("cpufreq: dt: Add support for operating-points-v2

Re: [PATCH V4] mm: memory hot-add: memory can not be added to movable zone defaultly

2015-09-02 Thread Changsheng Liu
On 9/1/2015 23:37, Yasuaki Ishimatsu wrote: On Mon, 31 Aug 2015 01:58:40 -0400 Changsheng Liu wrote: From: Changsheng Liu After the user config CONFIG_MOVABLE_NODE and movable_node kernel option, When the memory is hot added, should_add_memory_movable() return 0 because all zones including

[PATCH v17 4/4] ARM: dts: add the support power-domain node on RK3288 SoCs

2015-09-02 Thread Caesar Wang
We can add more domains node in the future. This patch add the needed clocks into power-controller. As the discuess about all the device clocks being listed in the power-domains itself. There are several reasons as follows: Firstly, the clocks need be turned off to save power when the system ente

[PATCH v17 3/4] soc: rockchip: power-domain: Add power domain driver

2015-09-02 Thread Caesar Wang
This driver is found on RK3288 SoCs. In order to meet high performance and low power requirements, a power management unit is designed or saving power when RK3288 in low power mode. The RK3288 PMU is dedicated for managing the power of the whole chip. PMU can work in the Low Power Mode by setting

[PATCH v17 1/4] dt-bindings: add document of Rockchip power domains

2015-09-02 Thread Caesar Wang
This add the necessary binding documentation for the power domains found on Rockchip SoCs. Signed-off-by: jinkun.hong Signed-off-by: Caesar Wang --- Changes in v17: - add the decription in detail for RK3288 SoCs. Changes in v16: - remove the pmu node. Changes in v15: None Changes in v14: Non

[PATCH v17 2/4] ARM: power-domain: rockchip: add all the domain type on RK3288 SoCs

2015-09-02 Thread Caesar Wang
According to a description from TRM, add all the power domains. At the moment, we can support some domains on RK3288. We can add more types on RK3288 in the future, that's need to do. Signed-off-by: Caesar Wang --- Changes in v17: - delete the ugly chart in the commit. Changes in v16: - Add m

[PATCH v17 0/4] ARM: rk3288: Add PM Domain support

2015-09-02 Thread Caesar Wang
Thank you all for providing inputs and comments on previous versions of this patchset. Especially thanks to the (Kevin, Heiko, Dmitry, Doug, ULF, Michael). Add power domain drivers based on generic power domain for Rockchip platform, and support RK3288 SoCs. Verified on url = https://chro

Re: [PATCH] irqchip/gicv3-its: comfort build warnings

2015-09-02 Thread Alex Shi
On 09/02/2015 03:52 PM, Marc Zyngier wrote: > On 02/09/15 06:16, Alex Shi wrote: >> There are some warnings in gicv3-its. >> It looks like they are set in its_lpi_alloc_chunks(), but >> in fact, both of them(lpi_base/nr_lpis) still have some chances >> as unset variables. Anyway to comfort gcc if

[PATCH] [PATCH v3] add stealth mode

2015-09-02 Thread Matteo Croce
Add option to disable any reply not related to a listening socket, like RST/ACK for TCP and ICMP Port-Unreachable for UDP. Also disables ICMP replies to echo request and timestamp. The stealth mode can be enabled selectively for a single interface. Signed-off-by: Matteo Croce --- Documentation/n

[PATCH v5 3/8] scsi: ufs-qcom: update configuration option of SCSI_UFS_QCOM component

2015-09-02 Thread Yaniv Gardi
This change is required in order to be able to build the component as a module. Signed-off-by: Yaniv Gardi --- drivers/scsi/ufs/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/ufs/Kconfig b/drivers/scsi/ufs/Kconfig index e945383..5f45307 100644 --- a/dri

Re: [PATCH v4 09/16] drm: rockchip: add bpc and color mode setting

2015-09-02 Thread Thierry Reding
On Wed, Sep 02, 2015 at 10:06:36AM +0800, Yakir Yang wrote: > 在 09/02/2015 05:00 AM, Heiko Stuebner 写道: > >Am Dienstag, 1. September 2015, 14:01:48 schrieb Yakir Yang: [...] > >>diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_vop.c > >>b/drivers/gpu/drm/rockchip/rockchip_drm_vop.c index 34b78e7.

[PATCH v5 7/8] scsi: ufs-qcom: add debug prints for test bus

2015-09-02 Thread Yaniv Gardi
Adds support for configuring and reading the test bus and debug registers. This change also adds another vops in order to print the debug registers. Signed-off-by: Yaniv Gardi --- drivers/scsi/ufs/ufs-qcom.c | 165 +++- drivers/scsi/ufs/ufs-qcom.h | 37 +

Re: [PATCH v2] QEMU fw_cfg DMA interface documentation

2015-09-02 Thread Marc Marí
On Wed, 2 Sep 2015 09:20:12 +0100 Stefan Hajnoczi wrote: > On Mon, Aug 31, 2015 at 10:11 AM, Marc Marí wrote: > > Add fw_cfg DMA interface specfication in the fw_cfg documentation. > > > > Signed-off-by: Marc Marí > > --- > > Documentation/devicetree/bindings/arm/fw-cfg.txt | 51 > > ++

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

2015-09-02 Thread Paul E. McKenney
On Wed, Sep 02, 2015 at 09:29:18AM +0200, Ingo Molnar wrote: > > * Paul E. McKenney wrote: > > > On Tue, Sep 01, 2015 at 11:40:51PM -0700, Davidlohr Bueso wrote: > > > On Tue, 2015-09-01 at 22:26 -0700, Paul E. McKenney wrote: > > > > Davidlohr, the error is due to sched_setscheduler_nocheck() n

[PATCH v5 5/8] scsi: ufs: creates wrapper functions for vops

2015-09-02 Thread Yaniv Gardi
In order to simplify the code a set of wrapper functions is created to test and call each of the variant operations. Signed-off-by: Yaniv Gardi --- drivers/scsi/ufs/ufs-qcom.c | 1 - drivers/scsi/ufs/ufshcd.c | 104 +--- drivers/scsi/ufs/ufshcd.h |

[PATCH v5 6/8] scsi: ufs: make the UFS variant a platform device

2015-09-02 Thread Yaniv Gardi
This change turns the UFS variant (SCSI_UFS_QCOM) into a UFS a platform device. In order to do so a few additional changes are required: 1. The ufshcd-pltfrm is no longer serves as a platform device. Now it only serves as a group of platform APIs such as PM APIs (runtime suspend/resume, syste

[PATCH v5 2/8] scsi: ufs-qcom: fix compilation warning if compiled as a module

2015-09-02 Thread Yaniv Gardi
This change fixes a compilation warning that happens if SCSI_UFS_QCOM is compiled as a module. Also this patch fixes an error happens when insmod the module: "ufs_qcom: module license 'unspecified' taints kernel." Signed-off-by: Yaniv Gardi --- drivers/scsi/ufs/ufs-qcom.c | 7 ++- 1 file ch

[PATCH v5 1/8] phy: qcom-ufs: fix build error when the component is built as a module

2015-09-02 Thread Yaniv Gardi
Export the following functions in order to avoid build errors when the component PHY_QCOM_UFS is compiled as a module: ERROR: "ufs_qcom_phy_disable_ref_clk" [drivers/scsi/ufs/ufs-qcom.ko] undefined! ERROR: "ufs_qcom_phy_enable_ref_clk" [drivers/scsi/ufs/ufs-qcom.ko] undefined! ERRO

[PATCH v5 4/8] add ufshcd_get_variant ufshcd_set_variant

2015-09-02 Thread Yaniv Gardi
Signed-off-by: Yaniv Gardi --- drivers/scsi/ufs/ufs-qcom.c | 34 +- drivers/scsi/ufs/ufshcd.h | 21 + 2 files changed, 38 insertions(+), 17 deletions(-) diff --git a/drivers/scsi/ufs/ufs-qcom.c b/drivers/scsi/ufs/ufs-qcom.c index 6c23bbf..64

[PATCH v5 8/8] scsi: ufs-qcom: add QUniPro hardware support and power optimizations

2015-09-02 Thread Yaniv Gardi
New revisions of UFS host controller supports the new UniPro hardware controller (referred as QUniPro). This patch adds the support to enable this new UniPro controller hardware. This change also adds power optimization for bus scaling feature, as well as support for HS-G3 power mode. Signed-off-

Re: [PATCH] ahci: added a new driver for supporting Freescale AHCI sata

2015-09-02 Thread Hans de Goede
Hi, On 02-09-15 04:25, yuantian.t...@freescale.com wrote: From: Tang Yuantian Currently Freescale QorIQ series SATA is supported by ahci_platform driver. Some SoC specific settings have been put in uboot. So whether SATA works or not heavily depends on uboot. This patch will add a new driver t

[PATCH v5 0/8] Fix error message and present UFS variant

2015-09-02 Thread Yaniv Gardi
V5: removed a redundant null check V4: add file Documentation/devicetree/bindings/ufs/ufs-qcom.txt and modify the compatible strings in Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt V3: fixes a few minor issues. V2: fixes a few issues of unnecessary EXPORT_SYMBOL, types of parameters i

Re: [RFC 2/3] mmc: sdhci: add host_ops->voltage_switch callback for all other voltages

2015-09-02 Thread Jisheng Zhang
On Wed, 2 Sep 2015 13:49:53 +0530 Vaibhav Hiremath wrote: > > > On Wednesday 02 September 2015 12:34 PM, Jisheng Zhang wrote: > > On Wed, 2 Sep 2015 01:02:17 +0530 > > Vaibhav Hiremath wrote: > > > >> Currently, the sdhci_do_start_signal_voltage_switch() function invokes > >> controller specif

Re: [PATCH v4 5/5] sched: add two functions for att(det)aching a task to(from) a cfs_rq

2015-09-02 Thread Ingo Molnar
* Peter Zijlstra wrote: > On Wed, Sep 02, 2015 at 11:33:15AM +0900, Byungchul Park wrote: > > +++ b/kernel/sched/fair.c > > @@ -7920,14 +7920,14 @@ prio_changed_fair(struct rq *rq, struct task_struct > > *p, int oldprio) > > > > static inline bool vruntime_normalized(struct task_struct *p) >

RE: [PATCH] [v2] PM / hibernate: Fix hibernation panic caused by inconsistent e820 map

2015-09-02 Thread Chen, Yu C
Hi, all, I'll do some small modifications on this patch and will send out a v3 version later. Because: 1.some boudary conditions need to be adjusted and 2.the page frame validation code will be moved to the place where Joey once put in his patch(which would look more reasonable) Please refer to

Re: [PATCH 2/2] arm64: dts: add dts files for Hisilicon Hip05-D02 Development Board

2015-09-02 Thread Ding Tianhong
On 2015/9/2 15:58, Marc Zyngier wrote: > [Don't top-post, this is very annoying] > > On 02/09/15 05:28, Ding Tianhong wrote: >> Hi,Marc: >> >> Can you check this, I am not sure whether the GIC_CPU_MASK_SIMPLE(xx) >> is used for gic-v3, maybe we should remove it, thanks. > > The binding documentat

[PATCH v2 3/4] perf tests: stop reading if objdump output crossed sections

2015-09-02 Thread Jan Stancek
objdump output can span across multiple sections: Disassembly of section .text: 0008 : 8: 48 89 e5mov%rsp,%rbp b: 53 push %rbx c: 8b 01 mov(%rcx),%eax 6b: 90

Re: [RFC 2/3] mmc: sdhci: add host_ops->voltage_switch callback for all other voltages

2015-09-02 Thread Vaibhav Hiremath
On Wednesday 02 September 2015 12:34 PM, Jisheng Zhang wrote: On Wed, 2 Sep 2015 01:02:17 +0530 Vaibhav Hiremath wrote: Currently, the sdhci_do_start_signal_voltage_switch() function invokes controller specific voltage switch configuration only for 1.8v usecase; but it is required for others

Re: [PATCH v2] QEMU fw_cfg DMA interface documentation

2015-09-02 Thread Stefan Hajnoczi
On Mon, Aug 31, 2015 at 10:11 AM, Marc Marí wrote: > Add fw_cfg DMA interface specfication in the fw_cfg documentation. > > Signed-off-by: Marc Marí > --- > Documentation/devicetree/bindings/arm/fw-cfg.txt | 51 > +++- > 1 file changed, 50 insertions(+), 1 deletion(-) > > di

[PATCH v2 1/4] perf tests: take into account address of each objdump line

2015-09-02 Thread Jan Stancek
objdump output can contain repeated bytes. At the moment test reads all output sequentially, assuming each address is represented in output only once: 8164efb3 : 8164efb3: c1 5d 00 ebrcrl $0xeb,0x0(%rbp) 8164efb7: 00 4c 8b 5cadd%cl,0x5c(%rbx,%r

[PATCH v2 2/4] perf tests: make objdump disassemble zero blocks

2015-09-02 Thread Jan Stancek
Add -z parameter to avoid skipping zero blocks: 816704fe : 816704fe: 7b 34 jnp 81670534 ... 81670501 : 81670501: 0f ba e2 03 bt $0x3,%edx 81670505: 73 11 jae 81670518 Signed-off-by: Jan Stancek Cc: Arnald

[PATCH v2 4/4] perf tests: print objdump/dso buffers if they don't match

2015-09-02 Thread Jan Stancek
Signed-off-by: Jan Stancek Cc: Arnaldo Carvalho de Melo Cc: Jiri Olsa Cc: Adrian Hunter Cc: David Ahern Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra --- tools/perf/tests/code-reading.c | 16 1 file chan

Re: [PATCH v4 6/8] scsi: ufs: make the UFS variant a platform device

2015-09-02 Thread ygardi
> On Sun, Aug 30, 2015 at 9:52 AM, Yaniv Gardi > wrote: >> This change turns the UFS variant (SCSI_UFS_QCOM) into a UFS >> a platform device. >> In order to do so a few additional changes are required: >> 1. The ufshcd-pltfrm is no longer serves as a platform device. >>Now it only serves as a

linux-next: Tree for Sep 2

2015-09-02 Thread Stephen Rothwell
Hi all, There will be no linux-next release this Friday or Monday. Please do not add material for v4.4 until after v4.3-rc1 is out. Changes since 20150901: I used the h8300 tree from next-20150828 since the current tree has been rebased onto something very old :-( The block tree gained a confl

Re: [PATCH v4 5/5] sched: add two functions for att(det)aching a task to(from) a cfs_rq

2015-09-02 Thread Peter Zijlstra
On Wed, Sep 02, 2015 at 11:33:15AM +0900, Byungchul Park wrote: > +++ b/kernel/sched/fair.c > @@ -7920,14 +7920,14 @@ prio_changed_fair(struct rq *rq, struct task_struct > *p, int oldprio) > > static inline bool vruntime_normalized(struct task_struct *p) > { > struct sched_entity *se = &

Re: [PATCH 5/8] mmc: dw_mmc: dt-binding: Add tuning related things

2015-09-02 Thread Heiko Stuebner
Hi Jaehoon, Am Mittwoch, 2. September 2015, 14:01:52 schrieb Jaehoon Chung: > Hi, Heiko. > > On 09/01/2015 03:24 AM, Heiko Stuebner wrote: > > From: Alexandru M Stan > > > > Add ciu_drv, ciu_sample clocks and default-sample-phase. This will later > > be used by tuning code. > > As i know, ciu_

Re: [PATCH v4 2/2] dt: power: st: Provide bindings for ST's OPPs

2015-09-02 Thread Viresh Kumar
On 26-08-15, 13:06, Lee Jones wrote: > On Wed, 12 Aug 2015, Viresh Kumar wrote: > > > On 11-08-15, 16:17, Lee Jones wrote: > > > This would work if we only had a single variable to contend with, but > > > what I showed you in my previous example is that we have 3 variables > > > to consider; cut (

[PATCH] rtc: Abracon ABX8XX write RTC fix

2015-09-02 Thread Mitja Spes
Fixed RTC write bit as per application manual Signed-off-by: Mitja Spes --- drivers/rtc/rtc-abx80x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-abx80x.c b/drivers/rtc/rtc-abx80x.c index 4337c3b..afea84c 100644 --- a/drivers/rtc/rtc-abx80x.c +++ b/drivers/

Re: [PATCH 00/15] perf tools: Cleanup filesystem api

2015-09-02 Thread Jiri Olsa
On Wed, Sep 02, 2015 at 09:56:30AM +0200, Jiri Olsa wrote: > hi, > this patchset moves all filesystem we use under > api/fs/fs.c framework and adds new tracing_path > object to get tracing area (path). > > It unifies the way we use debugfs/tracefs paths > and removes some redundant code. > > It's

Re: [PATCH v2 2/2] ARM: dts: Add exynos5422-odroidxu4 board

2015-09-02 Thread Javier Martinez Canillas
Hello Krzysztof, On 09/02/2015 03:30 AM, Krzysztof Kozlowski wrote: > Add Hardkernel Odroid XU4 board Device Tree sources. The board differs > from Odroid XU3 and XU3-Lite by: > 1. No green and red leds (except standard red power led). > 2. No audio codec. > 3. Two USB3 ports in host mode (no micr

[PATCH 03/15] perf tools: Move tracing_path stuff under same namespace

2015-09-02 Thread Jiri Olsa
Renaming all functions touching tracing_path under same namespace. New interface is: char tracing_path[]; - tracing mount path char tracing_events_path[]; - tracing mount/events path void tracing_path_set(const char *mountpoint); - setting directly tracing_path(_events), used by --de

[PATCH 08/15] tools lib api: Move SYSFS_MAGIC PROC_SUPER_MAGIC into fs.c

2015-09-02 Thread Jiri Olsa
There's no need to export SYSFS_MAGIC PROC_SUPER_MAGIC in fs.h. Leave them in the fs.c. Link: http://lkml.kernel.org/n/tip-b2cd1bb7yvbazq5oua24o...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/lib/api/fs/fs.c | 8 tools/lib/api/fs/fs.h | 8 2 files changed, 8 insertions(+)

[PATCH 06/15] tools lib api: Make tracing_path_strerror_open message generic

2015-09-02 Thread Jiri Olsa
Making tracing_path__strerror_open_tp message generic by mentioning both debugfs/tracefs words in error message plus the tracing_path instead of debugfs_mountpoint. Link: http://lkml.kernel.org/n/tip-5y7nboe2xe619hp649ry5...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/lib/api/fs/tracing_pa

[PATCH 05/15] tools lib api: Move debugfs__strerror_open into tracing_path.c object

2015-09-02 Thread Jiri Olsa
Moving debugfs__strerror_open out of api/fs/debugfs.c, because it's not debugfs specific. It'll be changed to consider tracefs mount as well in following patches. Renaming it into tracing_path__strerror_open_tp to fit into the namespace. No functional change is intended. Link: http://lkml.kernel.

[PATCH 14/15] tools lib api: Remove debugfs, tracefs and findfs objects

2015-09-02 Thread Jiri Olsa
We have all the functionality in fs.c, let's remove unneeded objects. Link: http://lkml.kernel.org/n/tip-4ylqs27bec3m6ofefqo0e...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/lib/api/fs/Build | 3 -- tools/lib/api/fs/debugfs.c | 77 - tools/l

[PATCH 10/15] tools lib api: Add tracefs into fs.c object

2015-09-02 Thread Jiri Olsa
Adding tracefs support into fs.c framework. It'll replace the tracefs object functionality in following patches. Link: http://lkml.kernel.org/n/tip-m27bbnbg8s03mt2na6zgh...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/lib/api/fs/fs.c | 28 tools/lib/api/fs/fs.h

<    2   3   4   5   6   7   8   >