[PATCH] cpufreq: schedutil: Update cached "current frequency" when limits change

2017-07-11 Thread Saravana Kannan
Currently, the governor calculates the next frequency, set the current CPU frequency (policy->cur). It also assumes the current CPU frequency doesn't change if the next frequency isn't calculated again and hence caches the "current frequency". However, this isn't true when CPU min/max frequency li

Re: [PATCH v7 05/16] lockdep: Implement crossrelease feature

2017-07-11 Thread Byungchul Park
On Tue, Jul 11, 2017 at 06:04:54PM +0200, Peter Zijlstra wrote: > > Sorry for the much delayed response; aside from the usual backlog I got > unusually held up by family responsibilities. > > My comments in the form of a patch.. Thank you. I will apply it at the next spin.

Re: [RFC PATCH] Bluetooth: btusb: Fix memory leak in play_deferred

2017-07-11 Thread jeffy
Hi Oliver, Thanx for your comments, and sorry for reply late. On 07/04/2017 07:38 PM, Oliver Neukum wrote: Am Freitag, den 23.06.2017, 11:46 +0800 schrieb jeffy: --- drivers/bluetooth/btusb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/bluetooth/btusb.c b/dr

Re: [PATCH 02/13] mpt3sas: SGL to PRP Translation for I/Os to NVMe devices

2017-07-11 Thread kbuild test robot
Hi Suganath, [auto build test ERROR on scsi/for-next] [also build test ERROR on v4.12 next-20170711] [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/Suganath-Prabu-S/mpt3sas-Add-nvme-device

RE: [PATCH v10] vfio: ABI for mdev display dma-buf operation

2017-07-11 Thread Zhang, Tina
> -Original Message- > From: intel-gvt-dev [mailto:intel-gvt-dev-boun...@lists.freedesktop.org] On > Behalf Of Daniel Vetter > Sent: Tuesday, July 11, 2017 5:13 PM > To: Gerd Hoffmann > Cc: Tian, Kevin ; linux-kernel@vger.kernel.org; intel- > g...@lists.freedesktop.org; alex.william...@r

Re: [RFC PATCH v1 00/11] Create fast idle path for short idle periods

2017-07-11 Thread Li, Aubrey
On 2017/7/12 0:09, Frederic Weisbecker wrote: > On Tue, Jul 11, 2017 at 11:41:57AM +0200, Peter Zijlstra wrote: >> >>> - totally from arch_cpu_idle_enter entry to arch_cpu_idle_exit return costs >>> 9122ns - 15318ns. >>> --In this period, rcu_idle_enter costs 1985ns - 2262ns, rcu_idle_exit >>>

Re: [PATCH] dt-bindings: display: sunxi: Improve endpoint ID scheme readability

2017-07-11 Thread Chen-Yu Tsai
On Wed, Jul 12, 2017 at 3:31 AM, Maxime Ripard wrote: > On Mon, Jul 10, 2017 at 11:48:00PM +0800, Chen-Yu Tsai wrote: >> On Sun, Jun 18, 2017 at 10:05 PM, Rob Herring wrote: >> > On Wed, Jun 14, 2017 at 02:30:16PM +0800, Chen-Yu Tsai wrote: >> >> The explanation for the endpoint ID numbering sche

Re: [PATCH v3] drm/sun4i: Implement drm_driver lastclose to restore fbdev console

2017-07-11 Thread Chen-Yu Tsai
On Wed, Jul 12, 2017 at 3:21 AM, Maxime Ripard wrote: > On Mon, Jul 10, 2017 at 04:55:04PM +1000, Jonathan Liu wrote: >> The drm_driver lastclose callback is called when the last userspace >> DRM client has closed. Call drm_fbdev_cma_restore_mode to restore >> the fbdev console otherwise the fbdev

RE: [PATCH v10] vfio: ABI for mdev display dma-buf operation

2017-07-11 Thread Zhang, Tina
> -Original Message- > From: Gerd Hoffmann [mailto:kra...@redhat.com] > Sent: Tuesday, July 11, 2017 2:08 PM > To: Zhang, Tina ; alex.william...@redhat.com; > ch...@chris-wilson.co.uk; zhen...@linux.intel.com; Lv, Zhiyuan > ; Wang, Zhi A ; Tian, Kevin > ; dan...@ffwll.ch; kwankh...@nvidia

Re: [PATCH v5 0/4] Make find_later_rq() choose a closer cpu in topology

2017-07-11 Thread Byungchul Park
Could you check this patchset considering cpu topology on cpu selection? On Tue, May 23, 2017 at 11:00:55AM +0900, Byungchul Park wrote: > When cpudl_find() returns any among free_cpus, the cpu might not be > closer than others, considering sched domain. For example: > >this_cpu: 15 >free

Re: [x86/time] f61a8e12b5: ACPI_Error:Table[DMAR]is_not_invalidated_during_early_boot_stage(#/tbxface-#)

2017-07-11 Thread Dou Liyang
Hi, Xiaolong Thank you very much for testing. I have got the reason why the ACPI error happened and will give a fix patch below. Also cc ACPI maintainers.. At 07/08/2017 11:48 AM, kernel test robot wrote: FYI, we noticed the following commit: commit: f61a8e12b5972879f8decfe059e54c813dc4416b (

[PATCH] hwmon: (lm75) Add a basic interrupt handler

2017-07-11 Thread Tony O'Brien
The LM75 interrupt cannot be masked in the device so an over-temperature event can cause an interrupt that cannot be cleared. Add an interrupt handler if an interrupt node exists in the DTS for an LM75. The handler simply reads a device register to clear the interrupt and returns. Signed-off-by:

Re: [f2fs-dev] [PATCH] f2fs: remove extra inode_unlock() in error path

2017-07-11 Thread Chao Yu
On 2017/7/12 0:30, Luis Henriques wrote: > This commit removes an extra inode_unlock() that is being done in function > f2fs_ioc_setflags error path. While there, get rid of a useless 'out' > label as well. > > Fixes: 0abd675e97e6 ("f2fs: support plain user/group quota") > Signed-off-by: Luis Hen

Re: [PATCH 1/1] bridge: mdb: fix leak on complete_info ptr on fail path

2017-07-11 Thread David Miller
From: Eduardo Valentin Date: Tue, 11 Jul 2017 14:55:12 -0700 > We currently get the following kmemleak report: > unreferenced object 0x8800039d9820 (size 32): > comm "softirq", pid 0, jiffies 4295212383 (age 792.416s) > hex dump (first 32 bytes): > 00 0c e0 03 00 88 ff ff ff 02 00 00

[PATCH 2/2] ACPI: EC: Revert "ACPI / EC: Enable event freeze mode..." to fix a regression

2017-07-11 Thread Lv Zheng
On Lenovo ThinkPad X1 Carbon - the 5th Generation, enabling an earlier EC event freezing timing causes acpitz-virtual-0 to report a stucked 48C temparature. And with EC firmware revisioned as 1.14, without reverting back to old EC event freezing timing, the fan still blows up after a system resume

[PATCH 1/2] ACPI: EC: Drop EC noirq hooks to fix a regression

2017-07-11 Thread Lv Zheng
According to the bug report, though the busy polling mode can make noirq stages executed faster, it causes abnormal fan blowing up after a system resume (see link #1 for a video demonstration) on Lenovo ThinkPad X1 Carbon - the 5th Generation. The problem can be fixed by an upgraded EC firmware.

Re: [RFC v5 02/38] powerpc: Free up four 64K PTE bits in 64K backed HPTE pages

2017-07-11 Thread Balbir Singh
On Tue, 11 Jul 2017 08:44:15 -0700 Ram Pai wrote: > On Tue, Jul 11, 2017 at 03:59:59PM +1000, Balbir Singh wrote: > > On Wed, 5 Jul 2017 14:21:39 -0700 > > Ram Pai wrote: > > > > > Rearrange 64K PTE bits to free up bits 3, 4, 5 and 6 > > > in the 64K backed HPTE pages. This along with t

RE: [PATCH v10] vfio: ABI for mdev display dma-buf operation

2017-07-11 Thread Zhang, Tina
> -Original Message- > From: intel-gvt-dev [mailto:intel-gvt-dev-boun...@lists.freedesktop.org] On > Behalf Of Daniel Vetter > Sent: Tuesday, July 11, 2017 5:16 PM > To: Zhang, Tina > Cc: Tian, Kevin ; linux-kernel@vger.kernel.org; intel- > g...@lists.freedesktop.org; kwankh...@nvidia.co

Re: in:imklog segfault in 4.12+git on most sparc64's

2017-07-11 Thread David Miller
From: Meelis Roos Date: Tue, 11 Jul 2017 14:48:27 +0300 (EEST) >> I tested yesterdays git with 4.13 sparc merge on a big bunch of my test >> machines. >> >> Good news: the timestamps starting from boot seem to work on all the >> machines, starting with Ultra 1 and Ultra 2. >> >> Bad news: all

Re: [RFC PATCH v1 04/11] sched/idle: make the fast idle path for short idle periods

2017-07-11 Thread Li, Aubrey
On 2017/7/12 2:11, Paul E. McKenney wrote: > On Tue, Jul 11, 2017 at 06:33:55PM +0200, Frederic Weisbecker wrote: >> On Tue, Jul 11, 2017 at 05:58:47AM -0700, Paul E. McKenney wrote: >>> On Mon, Jul 10, 2017 at 09:38:34AM +0800, Aubrey Li wrote: From: Aubrey Li The system will enter

Re: [RFC PATCH 3/4] pmbus: Allow dynamic fan coefficient values

2017-07-11 Thread Guenter Roeck
On 07/11/2017 06:20 PM, Andrew Jeffery wrote: On Tue, 2017-07-11 at 06:31 -0700, Guenter Roeck wrote: On 07/10/2017 06:56 AM, Andrew Jeffery wrote: Some PMBus chips, such as the MAX31785, use different coefficients for FAN_COMMAND_[1-4] depending on whether the fan is in PWM (percent duty) or R

Re: [PATCH v1] clk: fractional-divider: fix up the fractional clk's jitter

2017-07-11 Thread Elaine Zhang
On 07/06/2017 06:01 PM, Heiko Stübner wrote: Hi Elaine, Am Donnerstag, 6. Juli 2017, 16:28:34 CEST schrieb Elaine Zhang: fractional divider must set that denominator is 20 times larger than numerator to generate precise clock frequency. Otherwise the CLK jitter is very big, poor quality of th

Re: [PATCH v10] vfio: ABI for mdev display dma-buf operation

2017-07-11 Thread Zhenyu Wang
On 2017.07.11 11:12:36 +0200, Daniel Vetter wrote: > On Tue, Jul 11, 2017 at 08:14:08AM +0200, Gerd Hoffmann wrote: > > Hi, > > > > > > +struct vfio_device_query_gfx_plane { > > > > + __u32 argsz; > > > > + __u32 flags; > > > > + struct vfio_device_gfx_plane_info plane_info; >

Re: [RFC v5 14/38] powerpc: initial plumbing for key management

2017-07-11 Thread Balbir Singh
On Wed, 5 Jul 2017 14:21:51 -0700 Ram Pai wrote: > Initial plumbing to manage all the keys supported by the > hardware. > > Total 32 keys are supported on powerpc. However pkey 0,1 > and 31 are reserved. So effectively we have 29 pkeys. > > This patch keeps track of reserved keys, allocated k

[PATCH net-next 0/4] net-next: mediatek: add support for ethernet on MT7622 SoC

2017-07-11 Thread sean.wang
From: Sean Wang The series adds the driver for ethernet controller found on MT7622 SoC. There are additions against with previous MT7623 SoC such as shared SGMII given for the dual GMACs and built-in 5-ports 10/100 embedded switch support (ESW). Thus more clocks consumers and SGMII hardware setup

[PATCH net-next 1/4] dt-bindings: net: mediatek: add support for MediaTek MT7623 and MT7622 SoC

2017-07-11 Thread sean.wang
From: Sean Wang The patch adds the supplements in the dt-binding document for MediaTek MT7622 SoC with extra SGMII system controller and relevant clock consumers listed as the requirements for those SoCs equipped with the SGMII circuit. Also, add the missing binding information for MT7623 SoC her

[PATCH net-next 4/4] MAINTAINERS: add Sean/Nelson as MediaTek ethernet maintainers

2017-07-11 Thread sean.wang
From: Sean Wang Sean and Nelson work for MediaTek on maintaining the MediaTek ethernet driver for the existing SoCs and adding support for the following SoCs. In the past, Sean has been active at making most of the qualifications , stress test and submitting a lot of patches for the driver while

[PATCH net-next 2/4] net-next: mediatek: add platform data to adapt into various hardware

2017-07-11 Thread sean.wang
From: Sean Wang This patch is the preparation patch in order to adapt into various hardware through adding platform data which holds specific characteristics among MediaTek SoCs and introducing the unified clock handler for those distinct clock requirements depending on different features such as

[PATCH net-next 3/4] net-next: mediatek: add support for MediaTek MT7622 SoC

2017-07-11 Thread sean.wang
From: Sean Wang This patch adds the driver for ethernet controller on MT7622 SoC. It has the similar handling logic as the previously MT7623 does, but there are additions against with MT7623 SoC, the shared SGMII given for the dual GMACs and including 5-ports 10/100 embedded switch support (ESW)

Re: [PATCH v2 3/4] btrfs: Add zstd support

2017-07-11 Thread Adam Borowski
On Tue, Jul 11, 2017 at 06:01:38AM +, Nick Terrell wrote: > On 7/10/17, 9:57 PM, "Nick Terrell" wrote: > > The problem is caused by a gcc-7 bug [1]. It miscompiles > > ZSTD_wildcopy(void *dst, void const *src, ptrdiff_t len) when len is 0. > > Sorry, my patch still triggered the gcc bug, I use

[PATCH] Input: i8042 - add Gigabyte P57 to the keyboard reset table

2017-07-11 Thread Kai-Heng Feng
Similar to other Gigabyte laptops, the touchpad on P57 requires a keyboard reset to detect Elantech touchpad correctly. BugLink: https://bugs.launchpad.net/bugs/1594214 Signed-off-by: Kai-Heng Feng --- drivers/input/serio/i8042-x86ia64io.h | 7 +++ 1 file changed, 7 insertions(+) diff --git

Re: [RFC PATCH 2/4] pmbus: Add fan configuration support

2017-07-11 Thread Guenter Roeck
On 07/11/2017 05:39 PM, Andrew Jeffery wrote: On Tue, 2017-07-11 at 06:40 -0700, Guenter Roeck wrote: On 07/10/2017 06:56 AM, Andrew Jeffery wrote: Augment PMBus support to include control of fans via the FAN_COMMAND_[1-4] registers, both in RPM and PWM modes. The behaviour of FAN_CONFIG_{1_2,3

Re: sun4v+DMA related boot crash on 4.13-git

2017-07-11 Thread Tushar Dave
On 07/11/2017 05:34 PM, David Miller wrote: From: Tushar Dave Date: Tue, 11 Jul 2017 15:38:21 -0700 On 07/11/2017 02:48 PM, Meelis Roos wrote: I tested yesterdayd 4.12+git on sparc64 to see if the sparc merge works fine, and on all of my sun4v machines (T1000, T2000, T5120) it crashed on

Re: [PATCH v2] xattr: Enable security.capability in user namespaces

2017-07-11 Thread Serge E. Hallyn
Quoting Stefan Berger (Stefan bergerstef...@linux.vnet.ibm.com): > +/* > + * xattr_list_userns_rewrite - Rewrite list of xattr names for user > namespaces > + * or determine needed size for attribute list > + * in case size == 0 > + * > + * I

[PATCH] PM / OPP: OF: Use pr_debug() instead of pr_err() while adding OPP table

2017-07-11 Thread Viresh Kumar
Some platforms add the OPPs dynamically from platform specific drivers instead of getting them statically from DT. The cpufreq-dt driver already ignores the return value of dev_pm_opp_of_cpumask_add_table() to not error out for such cases, but we still end up printing error message from that routin

Re: [PATCH net-next 0/4] net-next: mediatek: add support for ethernet on MT7622 SoC

2017-07-11 Thread David Miller
From: Date: Wed, 12 Jul 2017 11:37:41 +0800 > From: Sean Wang > > The series adds the driver for ethernet controller found on MT7622 SoC. > There are additions against with previous MT7623 SoC such as shared SGMII > given for the dual GMACs and built-in 5-ports 10/100 embedded switch support >

AW: Wir vergeben Kredite mit einem Zinssatz von jährlich 2%

2017-07-11 Thread Bernhard Stöckl
Wir vergeben Kredite mit einem Zinssatz von jährlich 2%. Die Bearbeitung des Antrags erfolgt rasch, wir verlangen keine Gebühren, was sie beantragen werden wir annehmen. Wir bewilligen Kredite von bis zu 40 Millionen Euro und von mindestens 15.000 Euro. Sie können einen geschäftlichen oder pri

Re: in:imklog segfault in 4.12+git on most sparc64's

2017-07-11 Thread Al Viro
> In following commits around this one (some bisect steps before, and the > last step) the crashes were slightly different from the original crash > yersterday, like > > in:imuxsock[1606]: segfault at fff8 ip f774e154 (rpc > f774dfe8) sp 0001f7965a68 error 30002 in > li

[PATCH] usb: dwc3: Fix the USB 3.0 hub detection bug after warm boot

2017-07-11 Thread gustavo panizzo
The dwc3 could not release resources when the module is built-in because this module does not have shutdown method. This causes the USB 3.0 hub is not able to detect after warm boot. Original patch by Brian Kim, updated and submitted upstream by gustavo panizzo. Also see https://bugs.debian.org/8

Re: sun4v+DMA related boot crash on 4.13-git

2017-07-11 Thread David Miller
From: Tushar Dave Date: Tue, 11 Jul 2017 20:43:39 -0700 > Yes, indeed the bug is in Linus's tree. However, 'sparc' tree doesn't > have DMA API change (e.g. commit b02c2b0bfd7ae) yet that introduced > the panic. You can simply make a note of this when you send the bug fix to me.

[PATCH V4] PCI: Add Extended Tags quirk for Broadcom HT2100 Root Port

2017-07-11 Thread Sinan Kaya
All PCIe devices are expected to be able to handle 8-bit tags. 'commit 60db3a4d8cc9 ("PCI: Enable PCIe Extended Tags if supported")' enabled extended tags for all devices based on the spec direction. The Broadcom HT2100 seems to be having issues with handling 8-bit tags. Mark it as broken. If a d

[GIT] Sparc

2017-07-11 Thread David Miller
1) Fix symbol version generation for assembler on sparc, from Nagarathnam Muthusamy. 2) Fix compound page handling in gup_huge_pmd(), from Nitin Gupta. Please pull, thanks a lot! The following changes since commit 5faab9e0f03c4eef97886b45436015e107f79f5f: Merge branch 'for-linus' of git:

linux-next: Tree for Jul 12

2017-07-11 Thread Stephen Rothwell
Hi all, Please do not add any v4.14 material to you linux-next included branches until after v4.13-rc1 has been released. Changes since 20170711: The vfs tree lost its build failure. Non-merge commits (relative to Linus' tree): 1170 1121 files changed, 44069 insertions(+), 16713 dele

Re: [PATCH v2 02/10] cpufreq: provide data for frequency-invariant load-tracking support

2017-07-11 Thread Viresh Kumar
On 11-07-17, 16:06, Dietmar Eggemann wrote: > But in the meantime we're convinced that cpufreq_driver_fast_switch() is > not the right place to call arch_set_freq_scale() since for (future) > arm/arm64 fast-switch driver, the return value of > cpufreq_driver->fast_switch() does not give us the info

Re: in:imklog segfault in 4.12+git on most sparc64's

2017-07-11 Thread David Miller
From: Al Viro Date: Wed, 12 Jul 2017 04:59:45 +0100 > Again, my apologies for format of that all - I'm almost completely > off-net and while typing an ed script is feasible, context diff is > too far over the top. Usimg mutt in ssh session from android is > not fun, to put it mildly... Yes, t

Remove __end_entry_SYSENTER_compat?

2017-07-11 Thread Borislav Petkov
Anyone think this is an OK-ish idea? It saves us the global symbol but requires the two functions to remained glued together. :-\ --- diff --git a/arch/x86/entry/entry_64_compat.S b/arch/x86/entry/entry_64_compat.S index e1721dafbcb1..262519da8661 100644 --- a/arch/x86/entry/entry_64_compat.S +++

Re: [RFC PATCH v1 00/11] Create fast idle path for short idle periods

2017-07-11 Thread Li, Aubrey
On 2017/7/12 0:34, Peter Zijlstra wrote: > On Tue, Jul 11, 2017 at 06:09:27PM +0200, Frederic Weisbecker wrote: > - tick_nohz_idle_enter costs 7058ns - 10726ns - tick_nohz_idle_exit costs 8372ns - 20850ns >>> >>> Right, those are horrible expensive, but skipping them isn't 'hard', the >>

Re: [PATCH net-next 2/4] net-next: mediatek: add platform data to adapt into various hardware

2017-07-11 Thread Florian Fainelli
On 07/11/2017 08:37 PM, sean.w...@mediatek.com wrote: > From: Sean Wang > > This patch is the preparation patch in order to adapt into various > hardware through adding platform data which holds specific characteristics > among MediaTek SoCs and introducing the unified clock handler for those >

Re: sun4v+DMA related boot crash on 4.13-git

2017-07-11 Thread Tushar Dave
On 07/11/2017 09:02 PM, David Miller wrote: From: Tushar Dave Date: Tue, 11 Jul 2017 20:43:39 -0700 Yes, indeed the bug is in Linus's tree. However, 'sparc' tree doesn't have DMA API change (e.g. commit b02c2b0bfd7ae) yet that introduced the panic. You can simply make a note of this when y

Re: [GIT PULL] Char/Misc driver patches for 4.12-rc1

2017-07-11 Thread Stephen Rothwell
Hi all, On Sat, 06 May 2017 11:12:36 -0700 James Bottomley wrote: > > What about resending the conflict reminders at -rc7 ... that way we > only have a week or two to forget again? OK, I attempted to do that this time ... I wonder if it made a difference :-) > The other issue is that one of th

[PATCH v2 1/2] Staging: android/ion: fix sparse warnings

2017-07-11 Thread Joseph Wright
Declare functions to fix sparse warnings: ion_carveout_heap.c:115:17: warning: symbol 'ion_carveout_heap_create' \ was not declared. Should it be static? ion_chunk_heap.c:120:17: warning: symbol 'ion_chunk_heap_create' \ was not declared. Should it be static? Signed-off-by: Joseph

[PATCH v2 0/2] Staging: android/ion: fix sparse warnings

2017-07-11 Thread Joseph Wright
Split sparse warning fixes into multiple patches. Joseph Wright (2): Staging: android/ion: fix sparse warnings Staging: android/ion: fix sparse warning drivers/staging/android/ion/ion.h | 4 drivers/staging/android/ion/ion_cma_heap.c | 2 +- 2 files changed, 5 insertions(+), 1

[PATCH v2 2/2] Staging: android/ion: fix sparse warning

2017-07-11 Thread Joseph Wright
Declare private function static to fix sparse warning: ion_cma_heap.c:109:5: warning: symbol '__ion_add_cma_heaps' \ was not declared. Should it be static? Signed-off-by: Joseph Wright --- Changes in v2: - Split into multiple patches drivers/staging/android/ion/ion_cma_heap.c | 2 +-

Re: [PATCH RFC v4] cpufreq: schedutil: Make iowait boost more energy efficient

2017-07-11 Thread Viresh Kumar
On 11-07-17, 07:14, Joel Fernandes wrote: > I think the whole point of IOWAIT boost was to solve the issue with a > long sequence of repeated I/O requests as described in the commit > message. So IIUC there isn't a usecase for that (increase freq. on > first request). Right. So we can take example

Re: [RFC PATCH v1 04/11] sched/idle: make the fast idle path for short idle periods

2017-07-11 Thread Paul E. McKenney
On Wed, Jul 12, 2017 at 11:19:59AM +0800, Li, Aubrey wrote: > On 2017/7/12 2:11, Paul E. McKenney wrote: > > On Tue, Jul 11, 2017 at 06:33:55PM +0200, Frederic Weisbecker wrote: > >> On Tue, Jul 11, 2017 at 05:58:47AM -0700, Paul E. McKenney wrote: > >>> On Mon, Jul 10, 2017 at 09:38:34AM +0800, Au

Re: [PATCH 0/3] USB Mux support for Chipidea

2017-07-11 Thread Peter Rosin
On 2017-07-12 03:02, Stephen Boyd wrote: > This patchset adds support for the TC7USB40MU usb mux found on > db410c 96boards platforms via the new multiplexer framework and > hooks that into the chipidea driver. This allows us to properly > control host or device mode on this board via the sysfs kn

Re: [PATCH 3/4] Staging: Lustre Fixing multiline block comments in lnetst.h

2017-07-11 Thread Dilger, Andreas
On Jul 11, 2017, at 11:14, Greg Kroah-Hartman wrote: > > On Fri, Jul 07, 2017 at 01:47:04AM +, Craig Inches wrote: >> This fixes multiple block statements found not to match >> style as per checkpatch >> >> Signed-off-by: Craig Inches >> --- >> drivers/staging/lustre/include/linux/lnet/lne

Re: [PATCH 8/8] Staging: lustre :lustre: include :lustre_compat.h: Prefer using the BIT macro

2017-07-11 Thread Dilger, Andreas
> On Jul 11, 2017, at 11:08, Greg KH wrote: > > On Thu, Jul 06, 2017 at 12:43:15PM +0530, Jaya Durga wrote: >> Replace all instances of (1 << 27) with BIT(27) to fix >> checkpatch check messages >> >> Signed-off-by: Jaya Durga >> --- >> drivers/staging/lustre/lustre/include/lustre_compat.h | 2

[PATCH] iwlwifi: mvm: Fix a memory leak in an error handling path in 'iwl_mvm_sar_get_wgds_table()'

2017-07-11 Thread Christophe JAILLET
We should free 'wgds.pointer' here as done a few lines above in another error handling path. It was allocated within 'acpi_evaluate_object()'. Signed-off-by: Christophe JAILLET --- A comment in '/drivers/acpi/acpica/utalloc.c' states that: /* [...] Note: The caller should use acpi_os_free to free

Re: [PATCH v2 1/2] Staging: android/ion: fix sparse warnings

2017-07-11 Thread Frans Klaver
Hi, please consider changing your subject to something like staging: android/ion: declare two functions Perhaps you can make it more on-topic. It's more useful than "fix sparse warning" On Wed, Jul 12, 2017 at 6:51 AM, Joseph Wright wrote: > Declare functions to fix sparse warnings: > > ion_ca

Re: [RFC PATCH v1 04/11] sched/idle: make the fast idle path for short idle periods

2017-07-11 Thread Li, Aubrey
On 2017/7/12 13:03, Paul E. McKenney wrote: > On Wed, Jul 12, 2017 at 11:19:59AM +0800, Li, Aubrey wrote: >> On 2017/7/12 2:11, Paul E. McKenney wrote: >>> On Tue, Jul 11, 2017 at 06:33:55PM +0200, Frederic Weisbecker wrote: On Tue, Jul 11, 2017 at 05:58:47AM -0700, Paul E. McKenney wrote: >

Re: [PATCH v2 2/2] Staging: android/ion: fix sparse warning

2017-07-11 Thread Frans Klaver
Hi, Again, your subject is too generic. On Wed, Jul 12, 2017 at 6:51 AM, Joseph Wright wrote: > Declare private function static to fix sparse warning: > > ion_cma_heap.c:109:5: warning: symbol '__ion_add_cma_heaps' \ > was not declared. Should it be static? > > Signed-off-by: Joseph Wri

Re: [PATCH] cpufreq: schedutil: Update cached "current frequency" when limits change

2017-07-11 Thread Viresh Kumar
On 11-07-17, 19:24, Saravana Kannan wrote: > Currently, the governor calculates the next frequency, set the current CPU > frequency (policy->cur). It also assumes the current CPU frequency doesn't > change if the next frequency isn't calculated again and hence caches the > "current frequency". > >

Re: [PATCH v4] clk: axs10x: introduce AXS10X pll driver

2017-07-11 Thread Stephen Boyd
On 06/21, Eugeniy Paltsev wrote: > AXS10X boards manages it's clocks using various PLLs. These PLL has same > dividers and corresponding control registers mapped to different addresses. > So we add one common driver for such PLLs. > > Each PLL on AXS10X board consist of three dividers: IDIV, FBDIV

Re: [RFC v5 15/38] powerpc: helper function to read,write AMR,IAMR,UAMOR registers

2017-07-11 Thread Balbir Singh
On Wed, 5 Jul 2017 14:21:52 -0700 Ram Pai wrote: > Implements helper functions to read and write the key related > registers; AMR, IAMR, UAMOR. > > AMR register tracks the read,write permission of a key > IAMR register tracks the execute permission of a key > UAMOR register enables and disables

Re: [GIT pull] irq updates for 4.13

2017-07-11 Thread Tony Lindgren
* Sebastian Reichel [170711 15:51]: > Hi, > > On Tue, Jul 11, 2017 at 11:41:52PM +0200, Thomas Gleixner wrote: > > [...] > > > > Here is a revised version of the previous patch with the conditional > > locking removed and a bunch of comments added. > > That one also fixes Droid 4 boot. > > Test

Re: [PATCH] Clean up lirc zilog error codes

2017-07-11 Thread Frans Klaver
On Tue, Jul 11, 2017 at 7:57 PM, Yves Lemée wrote: > According the coding style guidelines, the ENOSYS error code must be returned > in case of a non existent system call. This code has been replaced with > the ENOTTY error code indicating, a missing functionality. > > Signed-off-by: Yves Lemée

Re: [PATCH 2/5] mm/device-public-memory: device memory cache coherent with CPU v2

2017-07-11 Thread Balbir Singh
On Tue, 11 Jul 2017 10:57:44 -0400 Jerome Glisse wrote: > On Tue, Jul 11, 2017 at 02:12:15PM +1000, Balbir Singh wrote: > > On Mon, 3 Jul 2017 17:14:12 -0400 > > Jérôme Glisse wrote: > > > > > Platform with advance system bus (like CAPI or CCIX) allow device > > > memory to be accessible fro

Re: [PATCH RESEND] staging: sm750fb: avoid conflicting vesafb

2017-07-11 Thread Greg Kroah-Hartman
On Tue, Jul 11, 2017 at 10:03:01PM +0100, Sudip Mukherjee wrote: > Hi Greg, > > On Fri, Jun 30, 2017 at 09:57:43PM +0100, Sudip Mukherjee wrote: > > From: Teddy Wang > > > > If vesafb is enabled in the config then /dev/fb0 is created by vesa > > and this sm750 driver gets fb1, fb2. But we need t

Re: [PATCH] usb: dwc3: Fix the USB 3.0 hub detection bug after warm boot

2017-07-11 Thread Baolin Wang
Hi, On 12 July 2017 at 11:52, gustavo panizzo wrote: > The dwc3 could not release resources when the module is built-in > because this module does not have shutdown method. This causes the USB > 3.0 hub is not able to detect after warm boot. > > Original patch by Brian Kim, updated and submitted

Re: [PATCH] drivers/staging/wilc1000: fix sparse warning: right shift by bigger than source value

2017-07-11 Thread Greg Kroah-Hartman
On Wed, Jul 12, 2017 at 10:23:02AM +0800, Rui Teng wrote: > On 12/07/2017 1:04 AM, Greg Kroah-Hartman wrote: > > On Mon, Jul 10, 2017 at 04:57:31PM +0800, Rui Teng wrote: > > > This patch sets memory to zero directly to avoid unnecessary shift and > > > bitwise operations on bool type, which can fi

[PATCH] drm: Add missing field copy in compat_drm_version

2017-07-11 Thread Jeffy Chen
DRM_IOCTL_VERSION is supposed to update the name_len/date_len/desc_len fields to user. Fixes: 012c6741c6aa("switch compat_drm_version() to drm_ioctl_kernel()") Signed-off-by: Jeffy Chen --- drivers/gpu/drm/drm_ioc32.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/drm_i

[PATCH 1/4] dt-bindings: gpu: add the RK3399 mali for rockchip specifics

2017-07-11 Thread Caesar Wang
RK3399's GPU uses the quad-core Mali-T860, which is the new generation of high-end graphics processors from ARM. This patch added "rockchip,rk3399-mali" for dt-bindings, in order to support IPA of gpu thermal in later. Signed-off-by: Caesar Wang --- Documentation/devicetree/bindings/gpu/arm,ma

[PATCH 3/4] arm64: dts: rockchip: enable the GPU for RK3399-GRU

2017-07-11 Thread Caesar Wang
This patch enables the gpu and adds the mali-supply power for RK3399-GRU devices. Signed-off-by: Caesar Wang --- arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi b/arch/arm64/boot/dts/rockchip/rk3

[PATCH 4/4] arm64: dts: rockchip: update the thermal zones for RK3399 SoCs

2017-07-11 Thread Caesar Wang
As RK3399 had used the Power allocator thermal governor by default, enabled this to manage thermals by dynamically allocating and limiting power to devices. Also, this patch supported the dynamic-power-coefficient/sustainable_power and GPU's power model for needed parameters with thermal IPA. Sig

[PATCH 2/4] arm64: dts: rockchip: add ARM Mali GPU node for RK3399 SoCs

2017-07-11 Thread Caesar Wang
Add Mali GPU device tree node for the RK3399 SoCs, with devfreq opp table. RK3399 and RK3399-OP1 SoCs have a different recommendation table with gpu opp. As the ARM's mali driver found on https://developer.arm.com/products/software/mali-drivers/midgard-kernel. Signed-off-by: Caesar Wang --- ar

[PATCH 0/4] arm64: dts: rockchip: support mail and IPA thermal for rk3399

2017-07-11 Thread Caesar Wang
This series patches supported the mail in devicetree and used the thermal IPA by default. Verified with rk3399 kevin board on my github https://github.com/Caesar-github/rockchip/commits/gru/next-stable-chromeos The kernel is based on Linus's master branch and Heiko's v4.14-armsoc-tmp/dts64 branch.

[RFC v2 2/6] drivers: boot_constraint: Add support for supply constraints

2017-07-11 Thread Viresh Kumar
This patch adds the first constraint type: power-supply. The constraint is set by setting a voltage range for the respective regulator device, which will be honored by the regulator core even if more users turn up. Once the device is probed, the regulator is released and the constraint is removed.

[RFC v2 1/6] drivers: Add boot constraints core

2017-07-11 Thread Viresh Kumar
Some devices are powered ON by the bootloader before the bootloader handovers control to Linux. It maybe important for those devices to keep working until the time a Linux device driver probes the device and reconfigure its resources. A typical example of that can be the LCD controller, which is u

[RFC v2 0/6] drivers: Boot Constraints core

2017-07-11 Thread Viresh Kumar
Hi Greg and others, I am sending the V2 for this series after waiting for just 2 weeks because this one presents a clearer picture on how is this going to get used. V2 has gained updates for adding the constraints for platform and AMBA devices created from DT. Problem statement: Some devices are

[RFC v2 6/6] drivers: boot_constraint: Add constraints for OF devices

2017-07-11 Thread Viresh Kumar
This implements the device tree dependent part of the boot constraints. The supply constraints are added automatically for the platform and AMBA devices created from DT and will be removed after the driver is registered for the devices. It is possible that some of the resources aren't available a

[RFC v2 5/6] drivers: boot_constraint: Add initial DT bindings

2017-07-11 Thread Viresh Kumar
This adds device tree bindings for boot constraints. Only power supply constraint types are supported currently. Signed-off-by: Viresh Kumar --- .../devicetree/bindings/boot-constraints.txt | 68 ++ 1 file changed, 68 insertions(+) create mode 100644 Documentation/devi

[RFC v2 4/6] drivers: boot_constraint: Add debugfs support

2017-07-11 Thread Viresh Kumar
This patch adds debugfs support for boot constraints. This is how it looks for a "vmmc-supply" constraint for the MMC device. $ ls -R /sys/kernel/debug/boot_constraints/ /sys/kernel/debug/boot_constraints/: f723d000.dwmmc0 /sys/kernel/debug/boot_constraints/f723d000.dwmmc0: supply-vmmc /sys/kern

[RFC v2 3/6] drivers: boot_constraint: Add boot_constraints_disable kernel parameter

2017-07-11 Thread Viresh Kumar
Users must be given an option to discard any constraints set by bootloaders. For example, consider that a constraint is set for the LCD controller's supply and the LCD driver isn't loaded by the kernel. If the user doesn't need to use the LCD device, then he shouldn't be forced to honour the constr

Re: [PATCH 2/4] thermal: imx: Add support for reading OCOTP through nvmem

2017-07-11 Thread Shawn Guo
On Thu, Jul 06, 2017 at 04:20:42PM +0300, Leonard Crestez wrote: > On newer imx SOCs accessing OCOTP directly is wrong because the ocotp clock > needs to be enabled first. Add support for reading those same values through > the nvmem API instead. > > The older path is preserved for compatibility w

Re: [PATCH 3/4] ARM: dts: imx6sx: Use nvmem-cells for tempmon

2017-07-11 Thread Shawn Guo
On Thu, Jul 06, 2017 at 04:20:43PM +0300, Leonard Crestez wrote: > On imx6sx accessing OCOTP directly is wrong because the ocotp clock > needs to be enabled first. Use the nvmem-cells binding instead. > > This requirement does not apply to older imx6qdl chips because there the > ocotp access clock

Re: [tip:smp/urgent] smp/hotplug: Replace BUG_ON and react useful

2017-07-11 Thread Thomas Gleixner
On Tue, 11 Jul 2017, Linus Torvalds wrote: > On Tue, Jul 11, 2017 at 3:39 PM, tip-bot for Thomas Gleixner > wrote: > > Rightfully-ranted-at-by: Linux Torvalds > > Insert . Google led me to this one: http://i.imgur.com/qIbRuvb.jpg Not sure, if that is what you meant. > I guess with al

Re: [PATCH 2/3] usb: chipidea: Hook into mux framework to toggle usb switch

2017-07-11 Thread Peter Rosin
On 2017-07-12 03:02, Stephen Boyd wrote: > On the db410c 96boards platform we have a TC7USB40MU on the board > to mux the D+/D- lines coming from the controller between a micro > usb "device" port and a USB hub for "host" roles[1]. During a > role switch, we need to toggle this mux to forward the D

Re: [PATCH] ARM: dts: imx: ventana: add ADV1780 analog video decoder

2017-07-11 Thread Shawn Guo
On Mon, Jun 19, 2017 at 08:00:10AM -0700, Tim Harvey wrote: > Enables the ADV7180 analog video decoder sensor connected to the > IMX6 IPU on various Gateworks Ventana boards. > > Signed-off-by: Tim Harvey Applied, thanks.

Re: [PATCH v4] Input: mousedev - fix implicit conversion warning

2017-07-11 Thread Nick Desaulniers
Hi Dmitry, did you get a chance to merge the sugguested revision, yet?

[PATCH] mm: Mark create_huge_pmd() inline to prevent build failure

2017-07-11 Thread Geert Uytterhoeven
With gcc 4.1.2: mm/memory.o: In function `create_huge_pmd': memory.c:(.text+0x93e): undefined reference to `do_huge_pmd_anonymous_page' Converting transparent_hugepage_enabled() from a macro to a static inline function reduced the ability of the compiler to remove unused code. Fix this b

<    3   4   5   6   7   8