Re: [PATCH] lib/int_sqrt.c: Optimize square root function

2017-07-20 Thread Peter Zijlstra
On Thu, Jul 20, 2017 at 11:31:36AM -0700, Linus Torvalds wrote: > How did this two-year old thread get resurrected? I was looking for the original thread doing that 'optimization' Davidlohr did but found this first. > And the *most* important question is that first one: > > "Why does this matte

Re: [PATCH] net: bonding: Fix transmit load balancing in balance-alb mode

2017-07-20 Thread David Miller
From: Kosuke Tatsukawa Date: Thu, 20 Jul 2017 05:20:40 + > balance-alb mode used to have transmit dynamic load balancing feature > enabled by default. However, transmit dynamic load balancing no longer > works in balance-alb after commit 8b426dc54cf4 ("bonding: remove > hardcoded value"). >

Re: Modern Suspend on Dell Latitude 5285 does not resume

2017-07-20 Thread Nico Schottelius
Good evening Mario, > Currently the patch does not look at anything in the system to default to S2I > vs S3. > This will affect systems that offer S3 and S2I (even if S3 is broken). > > Have you configured /sys/power/mem_sleep to s2idle? > https://github.com/torvalds/linux/blob/master/Documentat

Re: [PATCH] net: ethernet: ti: cpsw: Push the request_irq function to the end of probe

2017-07-20 Thread Grygorii Strashko
On 07/20/2017 05:28 PM, David Miller wrote: > From: Grygorii Strashko > Date: Thu, 20 Jul 2017 11:08:09 -0500 > >> In general patch looks good to me, but it's really unexpected to >> receive IRQs while CPSW is probing ;( > > This is a poor expectation. > > Boot loaders and other entities can

Re: [PATCH RESEND v4] MAINTAINERS: fix lots of alphabetic ordering

2017-07-20 Thread Joe Perches
On Thu, 2017-07-20 at 11:03 -0700, Linus Torvalds wrote: > On Thu, Jul 20, 2017 at 9:48 AM, Joe Perches wrote: > > > > Same general concept, but then an expectation would be > > relative paths for filename patterns. > > No, I actually think we really should require the filename patterns to > be

Re: [PATCH] documentation: Fix two-CPU control-dependency example

2017-07-20 Thread Akira Yokosawa
On 2017/07/20 14:42:34 -0700, Paul E. McKenney wrote: > On Fri, Jul 21, 2017 at 06:12:56AM +0900, Akira Yokosawa wrote: >> On 2017/07/20 09:11:52AM -0700, Paul E. McKenney wrote: >>> On Thu, Jul 20, 2017 at 09:55:31PM +0900, Akira Yokosawa wrote: On 2017/07/20 14:47, Paul E. McKenney wrote: >>

[RFC PATCH 0/5] ima: namespacing IMA audit messages

2017-07-20 Thread Mehmet Kayaalp
This patch set implements an IMA namespace data structure that gets created alongside a mount namespace with CLONE_NEWNS, and lays down the foundation for namespacing the different aspects of IMA (eg. IMA-audit, IMA-measurement, IMA-appraisal). The original PoC patches [1], created a new CLONE_NEW

Re: [PATCH v6 0/2] x86: Implement fast refcount overflow protection

2017-07-20 Thread Kees Cook
On Thu, Jul 20, 2017 at 10:15 AM, Kees Cook wrote: > On Thu, Jul 20, 2017 at 2:11 AM, Ingo Molnar wrote: >> Could you please also create a tabulated quick-comparison of the three >> variants, >> of all key properties, about behavior, feature and tradeoff differences? >> >> Something like: >> >>

[RFC PATCH 1/5] ima: extend clone() with IMA namespace support

2017-07-20 Thread Mehmet Kayaalp
From: Yuqiong Sun Add new CONFIG_IMA_NS config option. Let clone() create a new IMA namespace upon CLONE_NEWNS flag. Add ima_ns data structure in nsproxy. ima_ns is allocated and freed upon IMA namespace creation and exit. Currently, the ima_ns contains no useful IMA data but only a dummy interf

[RFC PATCH 2/5] ima: Add ns_status for storing namespaced iint data

2017-07-20 Thread Mehmet Kayaalp
This patch adds an rbtree to the IMA namespace structure that stores a namespaced version of iint->flags in ns_status struct. Similar to the integrity_iint_cache, both the iint ns_struct are looked up using the inode pointer value. The lookup, allocate, and insertion code is also similar, except ns

[RFC PATCH 4/5] ima: differentiate auditing policy rules from "audit" actions

2017-07-20 Thread Mehmet Kayaalp
From: Mimi Zohar The AUDIT_INTEGRITY_RULE is used for auditing IMA policy rules and the IMA "audit" policy action. This patch defines AUDIT_INTEGRITY_POLICY to reflect the IMA policy rules. Signed-off-by: Mimi Zohar --- include/uapi/linux/audit.h | 3 ++- security/integrity/ima/ima_p

Re: cpuidle and cpufreq coupling?

2017-07-20 Thread Florian Fainelli
On 07/20/2017 07:45 AM, Peter Zijlstra wrote: > On Thu, Jul 20, 2017 at 11:52:41AM +0200, Rafael J. Wysocki wrote: >> On Thu, Jul 20, 2017 at 9:18 AM, Viresh Kumar >> wrote: >>> On 20-07-17, 01:17, Rafael J. Wysocki wrote: On Thu, Jul 20, 2017 at 12:54 AM, Florian Fainelli wrote:

[RFC PATCH 3/5] ima: mamespace audit status flags

2017-07-20 Thread Mehmet Kayaalp
The iint cache stores whether the file is measured, appraised, audited etc. This patch moves the IMA_AUDITED flag into the per-namespace ns_status, enabling IMA audit mechanism to audit the same file each time it is accessed in a new namespace. The ns_status is not looked up if the CONFIG_IMA_NS i

[RFC PATCH 5/5] ima: Add ns_mnt, dev, ino fields to IMA audit measurement msgs

2017-07-20 Thread Mehmet Kayaalp
From: Guilherme Magalhaes Extending audit measurement record with mount namespace id, file inode, and device name. These fields uniquely identify a pathname considering different mount namespaces. The file inode on a given device is unique and these fields are required to identify a namespace id

Re: cpuidle and cpufreq coupling?

2017-07-20 Thread Florian Fainelli
On 07/20/2017 02:23 AM, Sudeep Holla wrote: > > > On 20/07/17 08:18, Viresh Kumar wrote: >> On 20-07-17, 01:17, Rafael J. Wysocki wrote: >>> On Thu, Jul 20, 2017 at 12:54 AM, Florian Fainelli >>> wrote: Hi, We have a particular ARM CPU design that is drawing quite a lot of c

Re: Modern Suspend on Dell Latitude 5285 does not resume

2017-07-20 Thread Rafael J. Wysocki
On Fri, Jul 21, 2017 at 12:41 AM, Nico Schottelius wrote: > > Good evening Mario, > >> Currently the patch does not look at anything in the system to default to >> S2I vs S3. >> This will affect systems that offer S3 and S2I (even if S3 is broken). >> >> Have you configured /sys/power/mem_sleep t

[PATCH 1/3] arm64: allwinner: a64: enable USB host controller for BPi M64

2017-07-20 Thread Icenowy Zheng
Banana Pi M64 connects the USB host-only controller on A64 SoC to a USB hub, which provided the two USB Type-A ports on the board. Enable the USB host controller. The OTG function of the Micro-USB port needs the drivevbus function of the AXP803 driver implemented, so it's not enabled now. Signed

[PATCH 2/3] arm64: allwinner: a64: enable AXP803 for Banana Pi M64

2017-07-20 Thread Icenowy Zheng
Banana Pi M64 board uses an AXP803 PMIC. Enable the PMIC and its regulators. As we have now proper regulators support, missing or dummy regulators are changed to the correct ones. Signed-off-by: Icenowy Zheng --- .../boot/dts/allwinner/sun50i-a64-bananapi-m64.dts | 116 +++-- 1

Re: [PATCH] documentation: Fix two-CPU control-dependency example

2017-07-20 Thread Paul E. McKenney
On Fri, Jul 21, 2017 at 07:52:03AM +0900, Akira Yokosawa wrote: > On 2017/07/20 14:42:34 -0700, Paul E. McKenney wrote: > > On Fri, Jul 21, 2017 at 06:12:56AM +0900, Akira Yokosawa wrote: > >> On 2017/07/20 09:11:52AM -0700, Paul E. McKenney wrote: > >>> On Thu, Jul 20, 2017 at 09:55:31PM +0900, Ak

[PATCH 3/3] arm64: allwinner: a64: add proper support for the Wi-Fi on BPi M64

2017-07-20 Thread Icenowy Zheng
BPi M64 has an AP6212 Wi-Fi/Bluetooth combo module, and the Wi-Fi SDIO card is connected to the mmc1 controller. The pwrseq of the mmc1 (used to reset the card) used to missing, and the out-of-band interrupt line of the card is not specified. Fix these issues for proper Wi-Fi support of BPi M64.

[GIT] Networking

2017-07-20 Thread David Miller
1) BPF verifier signed/unsigned value tracking fix, from Daniel Borkmann, Edward Cree, and Josef Bacik. 2) Fix memory allocation length when setting up calls to ->ndo_set_mac_address, from Cong Wang. 3) Add a new cxgb4 device ID, from Ganesh Goudar. 4) Fix FIB refcount handling, we have t

Makefile:541: arch/avr32/Makefile: No such file or directory

2017-07-20 Thread kbuild test robot
Hi Hans-Christian, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: beaec533fc2701a28a4d667f67c9f59c6e4e0d13 commit: 26202873bb51fafdaa51be3e8de7aab9beb49f70 avr32: remove support for AVR32 architecture date: 3 mon

Re: [PATCH] selftests/vm: Add test to validate mirror functionality with mremap

2017-07-20 Thread Mike Kravetz
On 07/20/2017 02:36 AM, Anshuman Khandual wrote: > This adds a test to validate mirror functionality with mremap() > system call on shared anon mappings. > > Suggested-by: Mike Kravetz > Signed-off-by: Anshuman Khandual > --- > tools/testing/selftests/vm/Makefile| 1 + > .../se

Re: Makefile:541: arch/avr32/Makefile: No such file or directory

2017-07-20 Thread Randy Dunlap
On 07/20/2017 04:18 PM, kbuild test robot wrote: > Hi Hans-Christian, > > FYI, the error/warning still remains. > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: beaec533fc2701a28a4d667f67c9f59c6e4e0d13 > commit: 26202873bb51fafdaa51be3e8de7aab9beb

Re: [PATCH] lib/int_sqrt.c: Optimize square root function

2017-07-20 Thread Linus Torvalds
On Thu, Jul 20, 2017 at 3:34 PM, Peter Zijlstra wrote: >> >> "Why does this matter, and what is the range it matters for?" > > I was looking to do some work on the idle estimator. Parts of that keep > online avg and variance for normal distributions. I wanted to bias the > avg downwards, the way

Re: [PATCH][V2] dvb_frontend: ensure that inital front end status initialized

2017-07-20 Thread Shuah Khan
On 07/20/2017 04:12 PM, Colin King wrote: > From: Colin Ian King > > The fe_status variable s is not initialized meaning it can have any > random garbage status. This could be problematic if fe->ops.tune is > false as s is not updated by the call to fe->ops.tune() and a > subsequent check on the

[BUG] lockdep splat with cpu_hotplug_lock

2017-07-20 Thread Steven Rostedt
My tests triggered this splat on 4.13-rc1: Loading iSCSI transport class v2.0-870. QLogic NetXtreme II iSCSI Driver bnx2i v2.7.10.1 (Jul 16, 2014) iscsi: registered transport (bnx2i) WARNING: possible recursive locking detected 4.13.0-rc1-test+ #2 Not

Re: [PATCH][V2] dvb_frontend: ensure that inital front end status initialized

2017-07-20 Thread Mauro Carvalho Chehab
Em Thu, 20 Jul 2017 23:12:07 +0100 Colin King escreveu: > From: Colin Ian King > > The fe_status variable s is not initialized meaning it can have any > random garbage status. This could be problematic if fe->ops.tune is > false as s is not updated by the call to fe->ops.tune() and a > subsequ

Re: commit 16ecba59 breaks 82574L under heavy load.

2017-07-20 Thread Benjamin Poirier
On 2017/07/20 10:00, Lennart Sorensen wrote: > On Wed, Jul 19, 2017 at 05:07:47PM -0700, Benjamin Poirier wrote: > > Are you sure about this? In my testing, while triggering the overrun > > with the msleep, I read ICR when entering e1000_msix_other() and RXO is > > consistently set. > > I had thou

[PATCH -next] media: ov5670: add depends to fix build errors

2017-07-20 Thread Randy Dunlap
n function 'ov5670_remove': ../drivers/media/i2c/ov5670.c:2544:26: error: 'struct v4l2_subdev' has no member named 'entity' media_entity_cleanup(&sd->entity); Signed-off-by: Randy Dunlap Cc: "Rapolu, Chiranjeevi" Cc: "Yang, Hyungwoo"

Re: [BUG] lockdep splat with cpu_hotplug_lock

2017-07-20 Thread James Bottomley
[redirecting to linux-scsi] On Thu, 2017-07-20 at 19:35 -0400, Steven Rostedt wrote: > My tests triggered this splat on 4.13-rc1: > > Loading iSCSI transport class v2.0-870. > QLogic NetXtreme II iSCSI Driver bnx2i v2.7.10.1 (Jul 16, 2014) > iscsi: registered transport (bnx2i) > > ===

[PATCH] ARM64: dts: marvell: armada-37xx: Enable uSD on ESPRESSObin

2017-07-20 Thread Marcin Wojtas
The ESPRESSObin board exposes one of the SDHCI interfaces via J1 uSD slot. This patch enables it. Signed-off-by: Marcin Wojtas Signed-off-by: Zbigniew Bodek --- .../boot/dts/marvell/armada-3720-espressobin.dts | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/ar

Re: [PATCH 1/2] platform/x86: peaq-wmi: select INPUT_POLLDEV

2017-07-20 Thread Darren Hart
On Thu, Jul 20, 2017 at 06:00:50PM +0200, Arnd Bergmann wrote: > The new driver fails to build without INPUT_POLLDEV > > drivers/platform/x86/peaq-wmi.o: In function `peaq_wmi_exit': > peaq-wmi.c:(.exit.text+0x1c): undefined reference to > `input_unregister_polled_device' > drivers/platform/x86/p

Re: linux-next: manual merge of the drm-misc tree with the drm-misc-fixes tree

2017-07-20 Thread Stephen Rothwell
Hi Dave, The conflict below now exists between the drm-misc-fixes tree and the drm tree. On Tue, 18 Jul 2017 11:39:46 +1000 Stephen Rothwell wrote: > > Today's linux-next merge of the drm-misc tree got a conflict in: > > drivers/gpu/drm/vc4/vc4_crtc.c > > between commit: > > 1ed134e6526b

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

2017-07-20 Thread Stephen Rothwell
Hi Dave, The following is now applicable to the drm and staging.current trees ... On Wed, 19 Jul 2017 11:46:57 +1000 Stephen Rothwell wrote: > > After merging the drm-misc tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > drivers/staging/vboxvideo/vbox_drv.c:235:2: e

Re: linux-next: manual merge of the drm-misc tree with the drm-intel tree

2017-07-20 Thread Stephen Rothwell
Hi all, The following conflict now exists between the drm and drm-intel trees. On Thu, 20 Jul 2017 11:23:33 +1000 Stephen Rothwell wrote: > > Today's linux-next merge of the drm-misc tree got a conflict in: > > drivers/gpu/drm/i915/i915_drv.c > > between commit: > > 99c539bef538 ("drm/i9

Re: cpuidle and cpufreq coupling?

2017-07-20 Thread Vikram Mulukutla
On 7/20/2017 3:56 PM, Florian Fainelli wrote: On 07/20/2017 07:45 AM, Peter Zijlstra wrote: Can your ARM part change OPP without scheduling? Because (for obvious reasons) the idle thread is not supposed to block. I think it should be able to do that, but I am not sure that if I went throu

[PATCH 4/4] PM / sleep: Check pm_wakeup_pending() in __device_suspend_noirq()

2017-07-20 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Restore the pm_wakeup_pending() check in __device_suspend_noirq() removed by commit eed4d47efe95 (ACPI / sleep: Ignore spurious SCI wakeups from suspend-to-idle) as that allows the function to return earlier if there's a wakeup event pending already (so that it may spend l

[PATCH 3/4] PM / core: Add error argument to dpm_show_time()

2017-07-20 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Make the core device suspend/resume code also call dpm_show_time() on failures and add an error argument to this function so that the message printed by it can reflect the success or failure condition. This makes the debug messages in question look less confusing in the f

[PATCH 0/4] PM / suspend: Suspend-to-idle core optimization

2017-07-20 Thread Rafael J. Wysocki
Hi, This series is on top of the one I sent a couple of days ago: http://marc.info/?l=linux-pm&m=150042550025820&w=2 but it is mostly independent of that one. Basically, it restores the pm_wakeup_pending() check in __suspend_device_noirq() removed recently, which may avoid unnecessary device pi

Re: [PATCH v5] printk: Add pr_info_show_time

2017-07-20 Thread Sergey Senozhatsky
On (07/20/17 11:24), Mark Salyzyn wrote: > Primary purpose of pr_info_show_time() is to provide a marker used for > post-mortem Battery and Power analysis. These markers are to be > placed at major discontinuities of time and power level. so shouldn't that just be under CONFIG_PM_DEBUG or even CO

[PATCH 1/4] PM / s2idle: Rearrange the main suspend-to-idle loop

2017-07-20 Thread Rafael J. Wysocki
From: Rafael J. Wysocki As a preparation for subsequent changes, rearrange the core suspend-to-idle code by moving the initial invocation of dpm_suspend_noirq() into s2idle_loop(). This also causes debug messages from that code to appear in a less confusing order. Signed-off-by: Rafael J. Wysoc

[PATCH 2/4] PM / core: Split dpm_suspend_noirq() and dpm_resume_noirq()

2017-07-20 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Put the device interrupts disabling and enabling as well as cpuidle_pause() and cpuidle_resume() called during the "noirq" stages of system suspend into separate functions to allow the core suspend-to-idle code to be optimized (later). The only functional difference this

Re: [PATCH] documentation: Fix two-CPU control-dependency example

2017-07-20 Thread Boqun Feng
On Thu, Jul 20, 2017 at 04:07:14PM -0700, Paul E. McKenney wrote: [...] > > > > So if I respin the patch with the extern, would you still feel reluctant? > > Yes, because I am not seeing how this change helps. What is this telling > the reader that the original did not, and how does it help the

[PATCH] Fix Alps Touchpad two finger scroll does not work on right side

2017-07-20 Thread Masaki Ota
From: Masaki Ota Fixed the issue that two finger scroll does not work correctly on V8 protocol. The cause is that V8 protocol X-coordinate decode is wrong at SS4 PLUS device. I added SS4 PLUS X decode definition. Signed-off-by: Masaki Ota Tested-by: Takashi Iwai --- drivers/input/mouse/alps.c

Re: cpuidle and cpufreq coupling?

2017-07-20 Thread Florian Fainelli
On 07/20/2017 05:11 PM, Vikram Mulukutla wrote: > On 7/20/2017 3:56 PM, Florian Fainelli wrote: >> On 07/20/2017 07:45 AM, Peter Zijlstra wrote: > > > >>> >>> Can your ARM part change OPP without scheduling? Because (for obvious >>> reasons) the idle thread is not supposed to block. >> >> I thin

[PATCH] driver core: restrict buffer length in online_store()

2017-07-20 Thread Tiezhu Yang
According to Documentation/ABI/testing/sysfs-devices-online, in order to control CPU N's hotplug state, we should write one of 'Yy1Nn0' to the file /sys/devices/system/cpu/cpuN/online, other values should be invalid. so the buffer length should be 2, buf[0] is one of 'Yy1Nn0' and buf[1] is '\n'. w

Re: [PATCH RESEND] ARM64: dts: meson-gx: use specific compatible for the AO pwms

2017-07-20 Thread Kevin Hilman
Jerome Brunet writes: > Use the specific compatible for AO pwms so the pwms input can > be correctly set > > FDIV4 is not present on the pwm A0, so change kadhas vim input > clocks to xtal. > > Signed-off-by: Jerome Brunet Adding this to fixes v4.13-rc since the PWM driver is now merged. Kevin

RE: [PATCH v4 1/3] mfd: Add new mfd device TPS68470

2017-07-20 Thread Mani, Rajmohan
Hi Lee, Thanks for the reviews. > -Original Message- > From: Lee Jones [mailto:lee.jo...@linaro.org] > Sent: Thursday, July 20, 2017 2:03 AM > To: Mani, Rajmohan > Cc: linux-kernel@vger.kernel.org; linux-g...@vger.kernel.org; linux- > a...@vger.kernel.org; Linus Walleij ; Alexandre > Cou

Re: [HMM 12/15] mm/migrate: new memory migration helper for use with device memory v4

2017-07-20 Thread Evgeny Baskakov
On 7/14/17 5:55 PM, Jerome Glisse wrote: ... Cheers, Jérôme Hi Jerome, I think I just found a couple of new issues, now related to fork/execve. 1) With a fork() followed by execve(), the child process makes a copy of the parent mm_struct object, including the "hmm" pointer. Later on, an e

Re: [PATCH RESEND] ARM64: dts: meson-gxl-s905x-libretech-cc: fixup board definition

2017-07-20 Thread Kevin Hilman
Jerome Brunet writes: > The libretech CC derives less from the p212 than initially thought. > Several voltage regulators are different and the capabilities of the > sdcard and emmc also differ. > > Deriving from the p212 is not convient anymore so the libretech is now > derived from s905x definit

Re: [PATCH 0/6] Cache coherent device memory (CDM) with HMM v5

2017-07-20 Thread Bob Liu
On 2017/7/20 23:03, Jerome Glisse wrote: > On Wed, Jul 19, 2017 at 05:09:04PM +0800, Bob Liu wrote: >> On 2017/7/19 10:25, Jerome Glisse wrote: >>> On Wed, Jul 19, 2017 at 09:46:10AM +0800, Bob Liu wrote: On 2017/7/18 23:38, Jerome Glisse wrote: > On Tue, Jul 18, 2017 at 11:26:51AM +0800,

[for-next][PATCH 2/3] tracing: Fix kmemleak in instance_rmdir

2017-07-20 Thread Steven Rostedt
From: Chunyu Hu Hit the kmemleak when executing instance_rmdir, it forgot releasing mem of tracing_cpumask. With this fix, the warn does not appear any more. unreferenced object 0x93a8dfaa7c18 (size 8): comm "mkdir", pid 1436, jiffies 4294763622 (age 9134.308s) hex dump (first 8 bytes):

[for-next][PATCH 1/3] tracing/ring_buffer: Try harder to allocate

2017-07-20 Thread Steven Rostedt
From: Joel Fernandes ftrace can fail to allocate per-CPU ring buffer on systems with a large number of CPUs coupled while large amounts of cache happening in the page cache. Currently the ring buffer allocation doesn't retry in the VM implementation even if direct-reclaim made some progress but s

[for-next][PATCH 0/3] tracing: Updates for 4.13-rc2

2017-07-20 Thread Steven Rostedt
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git for-next Head SHA1: f86f418059b94aa01f9342611a272ca60c583e89 Chunyan Zhang (1): trace: fix the errors caused by incompatible type of RCU variables Chunyu Hu (1): tracing: Fix kmemleak in instance_rmdir Joel Fer

[for-next][PATCH 3/3] trace: fix the errors caused by incompatible type of RCU variables

2017-07-20 Thread Steven Rostedt
From: Chunyan Zhang The variables which are processed by RCU functions should be annotated as RCU, otherwise sparse will report the errors like below: "error: incompatible types in comparison expression (different address spaces)" Link: http://lkml.kernel.org/r/1496823171-7758-1-git-send-email

linux-next: manual merge of the drm tree with the drm-intel-fixes tree

2017-07-20 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm tree got a conflict in: drivers/gpu/drm/i915/intel_pm.c between commit: 9cc5bb18bd0a ("drm/i915: Fix bad comparison in skl_compute_plane_wm") from the drm-intel-fixes tree and commit: eac2cb81fb87 ("drm/i915: cleanup fixed-point wrappers namin

RE: [BISECTED,REGRESSION] v4.12-rc: omapdrm fails to probe on Nokia N900

2017-07-20 Thread Clayton Craft
Well, I tried that (attached), but it didn't work either. For some reason the error worker seems to stop after the disable. Possibly the irq flood keeps it from running, so maybe it should catch all the errors (I see underflows too). Sorry, but I can't use more time on this today, and I'm leaving

[PATCH] docs: submitting-patches - change non-ascii character to ascii

2017-07-20 Thread frowand . list
From: Frank Rowand Documentation/process/submitting-patches.rst contains a non-ascii character. Change it to the ascii equivalent. Signed-off-by: Frank Rowand --- Documentation/process/submitting-patches.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/pro

Re: [HMM 12/15] mm/migrate: new memory migration helper for use with device memory v4

2017-07-20 Thread Jerome Glisse
On Thu, Jul 20, 2017 at 06:00:08PM -0700, Evgeny Baskakov wrote: > On 7/14/17 5:55 PM, Jerome Glisse wrote: > Hi Jerome, > > I think I just found a couple of new issues, now related to fork/execve. > > 1) With a fork() followed by execve(), the child process makes a copy of the > parent mm_struct

[PATCH 1/2] iommu/rockchip: add multi irqs support

2017-07-20 Thread Simon Xue
From: Simon RK3368 vpu mmu have two irqs, this patch support multi irqs Signed-off-by: Simon --- drivers/iommu/rockchip-iommu.c | 34 -- 1 file changed, 24 insertions(+), 10 deletions(-) diff --git a/drivers/iommu/rockchip-iommu.c b/drivers/iommu/rockchip-iommu

[PATCH 2/2] iommu/rockchip: ignore isp mmu reset operation

2017-07-20 Thread Simon Xue
From: Simon ISP mmu can't support reset operation, it won't get the expected result when reset, but rest functions work normally. Add this patch as a WA for this issue. Signed-off-by: Simon --- drivers/iommu/rockchip-iommu.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/io

Re: [PATCH 0/6] Cache coherent device memory (CDM) with HMM v5

2017-07-20 Thread Jerome Glisse
On Fri, Jul 21, 2017 at 09:15:29AM +0800, Bob Liu wrote: > On 2017/7/20 23:03, Jerome Glisse wrote: > > On Wed, Jul 19, 2017 at 05:09:04PM +0800, Bob Liu wrote: > >> On 2017/7/19 10:25, Jerome Glisse wrote: > >>> On Wed, Jul 19, 2017 at 09:46:10AM +0800, Bob Liu wrote: > On 2017/7/18 23:38, Je

Re: [PATCH 2/2] iommu/rockchip: ignore isp mmu reset operation

2017-07-20 Thread Shawn Lin
Hi Simon, On 2017/7/21 9:35, Simon Xue wrote: From: Simon ISP mmu can't support reset operation, it won't get the expected result when reset, but rest functions work normally. Add this patch as a WA for this issue. Signed-off-by: Simon --- drivers/iommu/rockchip-iommu.c | 7 +++ 1 fil

Re: [PATCH v6 08/12] gpio: Add GPIO driver for the RK805 PMIC

2017-07-20 Thread Jianhong Chen
在 2017/6/29 18:29, Heiko Stübner 写道: Hi, Am Mittwoch, 14. Juni 2017, 20:11:06 CEST schrieb Jianhong Chen: 在 2017/6/9 20:17, Heiko Stuebner 写道: Am Freitag, 9. Juni 2017, 13:37:26 CEST schrieb Linus Walleij: Heiko, can you please look at this patch. On Thu, Jun 8, 2017 at 9:30 AM, Jianhong

Re: [lkp-robot] [include/linux/string.h] 6974f0c455: kernel_BUG_at_lib/string.c

2017-07-20 Thread Ye Xiaolong
Hi, On 07/19, Linus Torvalds wrote: >Hmm. I wonder why the kernel test robot ends up having that annoying >line doubling for the dmesg. > Hmm, this line doubling issue should be caused by we set both 'earlyprintk=ttyS0,115200' and 'console=ttyS0,115200' in cmdline, after I remove any of it, this

Re: [PATCH v5] printk: Add pr_info_show_time

2017-07-20 Thread Luis R. Rodriguez
On Thu, Jul 20, 2017 at 11:24:22AM -0700, Mark Salyzyn wrote: > diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug > index 98fe715522e8..0d63c3fb4e24 100644 > --- a/lib/Kconfig.debug > +++ b/lib/Kconfig.debug > @@ -30,6 +30,58 @@ config CONSOLE_LOGLEVEL_DEFAULT > usage in the kernel. That i

[PATCH 0/5] perf script python: Provide perf_sample dict to all handlers

2017-07-20 Thread Arun Kalyanasundaram
The process_event python hook receives a dict with most perf_sample entries. Other handlers (e.g. trace_unhandled, python_process_tracepoint) predate the introduction of this dict and do not receive it. This patch series adds the dict to all handlers, aiming to unify the information passed to them

[PATCH 3/5] perf script python: Add sample_read to dict

2017-07-20 Thread Arun Kalyanasundaram
Provide time_enabled, time_running and counter value in the perf_sample dict. Signed-off-by: Arun Kalyanasundaram --- .../util/scripting-engines/trace-event-python.c| 51 ++ 1 file changed, 51 insertions(+) diff --git a/tools/perf/util/scripting-engines/trace-event-pytho

[PATCH 5/5] perf script python: Generate hooks with additional argument

2017-07-20 Thread Arun Kalyanasundaram
Modify the signature of tracepoint specific and trace_unhandled hooks to add the perf_sample dict as a new argument. Create a python helper function to print a dictionary. Signed-off-by: Arun Kalyanasundaram --- .../util/scripting-engines/trace-event-python.c| 22 ++ 1 fi

[PATCH 4/5] perf script python: Add perf_sample dict to tracepoint handlers

2017-07-20 Thread Arun Kalyanasundaram
The process_event python hook receives a dict with all perf_sample entries, but the tracepoint specific and trace_unhandled hooks predate the introduction of this dict, and do not receive it. Add the aforementioned dict as an additional argument to the affected handlers. To keep backwards compatib

[PATCH 1/5] perf script python: Allocate memory only if handler exists

2017-07-20 Thread Arun Kalyanasundaram
Avoid allocating memory if hook handler is not available. This saves unused memory allocation and simplifies error path. Let handler in python_process_tracepoint point to either tracepoint specific or trace_unhandled hook. Use dict to check if handler points to trace_unhandled. Remove the exit la

[PATCH 2/5] perf script python: Refactor creation of perf sample dict

2017-07-20 Thread Arun Kalyanasundaram
Move the creation of the dict containing perf_sample entries into a helper function to enable its reuse in other sample processing routines. Signed-off-by: Arun Kalyanasundaram --- .../util/scripting-engines/trace-event-python.c| 94 -- 1 file changed, 53 insertions(+), 4

Re: [PATCH 1/2] iommu/rockchip: add multi irqs support

2017-07-20 Thread Shawn Lin
Hi Simon, On 2017/7/21 9:35, Simon Xue wrote: From: Simon RK3368 vpu mmu have two irqs, this patch support multi irqs Signed-off-by: Simon --- drivers/iommu/rockchip-iommu.c | 34 -- 1 file changed, 24 insertions(+), 10 deletions(-) diff --git a/drivers/io

Re: [PATCH 18/32] tracing: Add simple expression support to hist triggers

2017-07-20 Thread Namhyung Kim
Hi Tom, On Mon, Jun 26, 2017 at 05:49:19PM -0500, Tom Zanussi wrote: > Add support for simple addition, subtraction, and unary expressions > (-(expr) and expr, where expr = b-a, a+b, a+b+c) to hist triggers, in > order to support a minimal set of useful inter-event calculations. > > These operati

[PATCH] GFS2: fix code parameter error in inode_go_lock

2017-07-20 Thread Wang Xibo
In inode_go_lock() function, the parameter order of list_add() is error. According to the define of list_add(), the first parameter is new entry and the second is the list head, so ip->i_trunc_list should be the first parameter and the sdp->sd_trunc_list should be second. Signed-off-by: Wang Xibo

Re: [PATCH 0/6] Cache coherent device memory (CDM) with HMM v5

2017-07-20 Thread Bob Liu
On 2017/7/21 9:41, Jerome Glisse wrote: > On Fri, Jul 21, 2017 at 09:15:29AM +0800, Bob Liu wrote: >> On 2017/7/20 23:03, Jerome Glisse wrote: >>> On Wed, Jul 19, 2017 at 05:09:04PM +0800, Bob Liu wrote: On 2017/7/19 10:25, Jerome Glisse wrote: > On Wed, Jul 19, 2017 at 09:46:10AM +0800, B

Re: Makefile:541: arch/avr32/Makefile: No such file or directory

2017-07-20 Thread Fengguang Wu
Hi Dunlap and Hans, On Thu, Jul 20, 2017 at 04:22:47PM -0700, Randy Dunlap wrote: On 07/20/2017 04:18 PM, kbuild test robot wrote: Hi Hans-Christian, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: beaec533fc2701

[PATCH 0/5] PCI: MediaTek: Add support for new generation host controller

2017-07-20 Thread honghui.zhang
From: Honghui Zhang MediaTek's PCIe host controller has two generation HWs, the new generation HW has two root ports, it shares most probing flow with the legacy controller. But the read/write config space logical is different from the lagacy controller. This patchset abstract the common probing

[PATCH 3/5] dt-bindings: PCI: rename and cleanup MediaTek binding text

2017-07-20 Thread honghui.zhang
From: Ryder Lee In order to accommodate other SoC generations, this patch updates filename to make it more generic, regroups specific properties by SoCs, and removes redundant descriptions. Signed-off-by: Ryder Lee --- ...{mediatek,mt7623-pcie.txt => mediatek-pcie.txt} | 29 +++

[PATCH 1/5] PCI: mediatek: Add a structure to abstract the controller generations

2017-07-20 Thread honghui.zhang
From: Ryder Lee Introduce a structure "mtk_pcie_soc" to abstract the differences between controller generations, and the .startup() hook is used to encapsulate some SoC-dependent related setting. In doing so, the common code which will be reused by future chips. In addition, we change the approa

[PATCH 4/5] PCI: mediatek: Add new generation controller support

2017-07-20 Thread honghui.zhang
From: Ryder Lee Add support for new Gen2 controller which has two root ports and shares the probing flow with legacy controller. Currently this IP block can be found on MT7622/MT2712. More specifically, the newer (future) chips will be developed based on this generation, thus we use a generic com

[PATCH 2/5] PCI: mediatek: switch to use platform_get_resource_byname()

2017-07-20 Thread honghui.zhang
From: Ryder Lee This is a transitional patch. We currently use platfarm_get_resource() for retrieving the IOMEM resources, but there might be some chips don't have subsys/shared registers part, which depends on platform design, and these will be introduced in further patches. Switch this functio

[PATCH v2 1/1] Documentation: mtk-quadspi: update DT bindings

2017-07-20 Thread Guochun Mao
Sort compatible strings in alphabetic order. Guochun Mao (1): Documentation: mtk-quadspi: update DT bindings Documentation/devicetree/bindings/mtd/mtk-quadspi.txt | 1 + 1 file changed, 1 insertion(+) -- 1.9.1

[PATCH] Documentation: mtk-quadspi: update DT bindings

2017-07-20 Thread Guochun Mao
Add "mediatek,mt2712-nor" for nor flash node's compatible. Signed-off-by: Guochun Mao --- .../devicetree/bindings/mtd/mtk-quadspi.txt|1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/mtd/mtk-quadspi.txt b/Documentation/devicetree/bindings/mtd/mtk-q

[PATCH 5/5] dt-bindings: PCI: add support for new generation controller

2017-07-20 Thread honghui.zhang
From: Ryder Lee Add support for MediaTek new generation controller and update related properities. Signed-off-by: Ryder Lee Signed-off-by: Honghui Zhang --- .../devicetree/bindings/pci/mediatek-pcie.txt | 84 -- 1 file changed, 79 insertions(+), 5 deletions(-) diff -

[PATCH] qe: fix compile issue for arm64

2017-07-20 Thread Zhao Qiang
Signed-off-by: Zhao Qiang --- drivers/soc/fsl/qe/qe.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/soc/fsl/qe/qe.c b/drivers/soc/fsl/qe/qe.c index 2ef6fc6..d48fa4a 100644 --- a/drivers/soc/fsl/qe/qe.c +++ b/drivers/soc/fsl/qe/qe.c @@ -229,7 +229,9 @@ int qe_setbrg(enum qe_clock b

Re: [PATCH 6/7] fcntl: Don't use ambiguous SIG_POLL si_codes

2017-07-20 Thread Eric W. Biederman
Oleg Nesterov writes: > On 07/18, Eric W. Biederman wrote: >> >> -BUG_ON((reason & __SI_MASK) != __SI_POLL); >> +BUG_ON((reason < POLL_IN) || (reason > NSIGPOLL)); > ^ > looks obviously

Re: [PATCH 0/2] sparc64: Use low latency path to resume idle cpu

2017-07-20 Thread Vijay Kumar
On 7/20/2017 2:57 PM, David Miller wrote: From: Vijay Kumar Date: Sat, 8 Jul 2017 14:23:42 -0600 cpu_poke is a low latency path to resume the target cpu if suspended using cpu_yield. Use cpu poke to resume cpu if supported by hypervisor. hackbench results (lower is better): Nu

Re: [PATCH 2/2] sparc64: Use cpu_poke to resume idle cpu

2017-07-20 Thread Vijay Kumar
On 7/20/2017 2:58 PM, David Miller wrote: From: Vijay Kumar Date: Sat, 8 Jul 2017 14:23:44 -0600 diff --git a/arch/sparc/kernel/hvapi.c b/arch/sparc/kernel/hvapi.c index 2677312..0b070d5 100644 --- a/arch/sparc/kernel/hvapi.c +++ b/arch/sparc/kernel/hvapi.c @@ -189,7 +189,7 @@ void __init s

Re: [PATCH 2/2] dma: Add Spreadtrum DMA controller driver

2017-07-20 Thread Chunyan Zhang
Hi Baolin, On 18 July 2017 at 15:06, Baolin Wang wrote: > This patch adds the DMA controller driver for Spreadtrum SC9860 platform. I guess this driver is not only for SC9860, instead it should work for all most all Spreadtrum's platforms? > > Signed-off-by: Baolin Wang > --- > drivers/dma/Kc

Re: [PATCH 0/2] sparc64: Use low latency path to resume idle cpu

2017-07-20 Thread David Miller
From: Vijay Kumar Date: Thu, 20 Jul 2017 21:44:24 -0500 > I had same thoughts initially but I had to go with this approach as > scheduler_ipi is wrapped with irq_enter() and irq_exit(). Whereas POKE > resumes the cpu in process context. > > Comments in scheduler_ipi(): > > * Not all re

Re: [RFC PATCH v12 3/4] Linux Random Number Generator

2017-07-20 Thread Theodore Ts'o
On Thu, Jul 20, 2017 at 09:00:02PM +0200, Stephan Müller wrote: > I concur with your rationale where de-facto the correlation is effect is > diminished and eliminated with the fast_pool and the minimal entropy > estimation of interrupts. > > But it does not address my concern. Maybe I was not cl

RE: [PATCH v2 2/2] Telemetry: remove redundant macro definition

2017-07-20 Thread Chakravarty, Souvik K
Both set of two looks good. +1. > -Original Message- > From: platform-driver-x86-ow...@vger.kernel.org [mailto:platform-driver- > x86-ow...@vger.kernel.org] On Behalf Of Rajneesh Bhardwaj > Sent: Thursday, July 20, 2017 7:51 PM > To: platform-driver-...@vger.kernel.org > Cc: dvh...@infrade

RE: [PATCH 1/3] platform/x86: Add GLK PSS Event Table

2017-07-20 Thread Chakravarty, Souvik K
> -Original Message- > From: Darren Hart [mailto:dvh...@infradead.org] > Sent: Friday, July 21, 2017 2:36 AM > To: Chakravarty, Souvik K > Cc: Bhardwaj, Rajneesh ; platform-driver- > x...@vger.kernel.org; a...@infradead.org; linux-kernel@vger.kernel.org; > Murthy, Shanth > Subject: Re:

[PATCH v3 1/1] Documentation: mtk-quadspi: update DT bindings

2017-07-20 Thread Guochun Mao
Extra add "mediatek,mt7622-nor" compatible. Guochun Mao (1): Documentation: mtk-quadspi: update DT bindings Documentation/devicetree/bindings/mtd/mtk-quadspi.txt | 2 ++ 1 file changed, 2 insertions(+) -- 1.9.1

[PATCH] Documentation: mtk-quadspi: update DT bindings

2017-07-20 Thread Guochun Mao
Add "mediatek,mt2712-nor" and "mediatek,mt7622-nor" for nor flash node's compatible. Signed-off-by: Guochun Mao --- .../devicetree/bindings/mtd/mtk-quadspi.txt|2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/mtd/mtk-quadspi.txt b/Documentation/d

Re: [PATCH 2/2] dma: Add Spreadtrum DMA controller driver

2017-07-20 Thread Baolin Wang
Hi Chunyan, On 21 July 2017 at 10:50, Chunyan Zhang wrote: > Hi Baolin, > > On 18 July 2017 at 15:06, Baolin Wang wrote: >> This patch adds the DMA controller driver for Spreadtrum SC9860 platform. > > I guess this driver is not only for SC9860, instead it should work for > all most all Spreadtr

RE: [PATCH v2 2/2] Telemetry: remove redundant macro definition

2017-07-20 Thread Chakravarty, Souvik K
Just missed the email from Darren. Reviewed-by: Souvik K Chakravarty > -Original Message- > From: Chakravarty, Souvik K > Sent: Friday, July 21, 2017 8:45 AM > To: 'Rajneesh Bhardwaj' ; platform-driver- > x...@vger.kernel.org > Cc: dvh...@infradead.org; a...@infradead.org; linux- > ker..

Re: [lkp-robot] [include/linux/string.h] 6974f0c455: kernel_BUG_at_lib/string.c

2017-07-20 Thread Masami Hiramatsu
On Thu, 20 Jul 2017 11:41:38 -0700 Linus Torvalds wrote: > On Thu, Jul 20, 2017 at 8:51 AM, Masami Hiramatsu wrote: > > > > Acked-by: Masami Hiramatsu > > Tested-by: Masami Hiramatsu > > Ok, I committed that patch as-is. > > Other architectures may end up with the same issue, unless they rea

<    4   5   6   7   8   9   10   >