Re: [PATCH] powerpc/sequoia: fix NAND partitions not to overlap

2017-05-18 Thread Michael Ellerman
Pavel Machek writes: > On Wed 2017-05-17 14:37:17, Andrew Morton wrote: >> On Wed, 17 May 2017 14:06:13 +0200 Pavel Machek wrote: >> >> > On Sun 2017-04-02 12:05:36, Pavel Machek wrote: >> > > Fix overlapping NAND partitions. >> > > >> > > Signed-off-by: Pavel

Re: [REGRESSION] Failed network caused by: xhci: switch to pci_alloc_irq_vectors

2017-05-18 Thread Greg Kroah-Hartman
On Thu, May 18, 2017 at 11:42:34PM -0400, Steven Rostedt wrote: > > One of my the configs I use to test ftrace with (configs that have > caused failures in the past), has lots of irq issues and fails to > initialize the network of my box. I bisected the problem down to a > single commit, and when

Re: Virtually Mapped Stacks: Do not disable interrupts

2017-05-18 Thread Andy Lutomirski
On Wed, May 17, 2017 at 8:58 AM, Christoph Lameter wrote: > The reason to disable interrupts seems to be to avoid switching > to a different processor while handling per cpu data using > individual loads and stores. If we use per cpu RMV primitives > we will not have to disable

Re: [PATCH 4.11 000/114] 4.11.2-stable review

2017-05-18 Thread Greg Kroah-Hartman
On Thu, May 18, 2017 at 06:10:07PM -0700, Guenter Roeck wrote: > On 05/18/2017 03:45 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.11.2 release. > > There are 114 patches in this series, all will be posted as a response > > to this one. If anyone has any

Re: [PATCH 10/30] kobject.txt: standardize document format

2017-05-18 Thread Greg Kroah-Hartman
On Thu, May 18, 2017 at 10:24:02PM -0300, Mauro Carvalho Chehab wrote: > Each text file under Documentation follows a different > format. Some doesn't even have titles! > > Change its representation to follow the adopted standard, > using ReST markups for it to be parseable by Sphinx: > > - Add

Re: [uwb-i1480] question about value overwrite

2017-05-18 Thread Greg KH
On Thu, May 18, 2017 at 06:00:06PM -0500, Gustavo A. R. Silva wrote: > > Hello everybody, > > While looking into Coverity ID 1226913 I ran into the following piece of > code at drivers/uwb/i1480/dfu/phy.c:99: > > 99static > 100int i1480_mpi_read(struct i1480 *i1480, u8 *data, u16 srcaddr,

Re: [PATCH v2 00/10] rt2x00: rt2x00: improve calling conventions for register accessors

2017-05-18 Thread Kalle Valo
Arnd Bergmann writes: > I've managed to split up my long patch into a series of reasonble > steps now. > > The first two are required to fix a regression from commit 41977e86c984 > ("rt2x00: add support for MT7620"), the rest are just cleanups to > have a consistent state across

Re: [PATCH 2/8 v2] clocksource/drivers/fttmr010: Merge FTTMR010 DT bindings

2017-05-18 Thread Joel Stanley
On Fri, May 19, 2017 at 4:16 AM, Linus Walleij wrote: > This merges the Moxa and FTTMR010 device tree bindings into the > Faraday binding document to avoid confusion. > > The FTTMR010 is the IP block used by these SoCs, in vanilla > or modified variant. > > The Aspeed

Re: [PATCH 7/8 v2] clocksource/drivers/fttmr010: Merge Moxa into FTTMR010

2017-05-18 Thread Joel Stanley
On Fri, May 19, 2017 at 4:17 AM, Linus Walleij wrote: > This merges the Moxa Art timer driver into the Faraday FTTMR010 > driver and replaces all Kconfig symbols to use the Faraday > driver instead. We are now so similar that the drivers can > be merged by just adding a

linux-next: Tree for May 19

2017-05-18 Thread Stephen Rothwell
Hi all, Changes since 20170518: The netfilter tree still had its build failure for which I applied a supplied fix patch. The drm-intel tree gained a conflict against the drm tree. Non-merge commits (relative to Linus' tree): 1926 2098 files changed, 66645 insertions(+), 43483 deletions

Re: [PATCH 1/2] cpufreq: Make iowait boost a policy option

2017-05-18 Thread Joel Fernandes
On Thu, May 18, 2017 at 9:17 PM, Viresh Kumar wrote: > On Fri, May 19, 2017 at 12:00 AM, Joel Fernandes wrote: >> Make iowait boost a cpufreq policy option and enable it for intel_pstate >> cpufreq driver. Governors like schedutil can use it to

Re: [PATCH 2/2] sched: Use iowait boost policy option in schedutil

2017-05-18 Thread Joel Fernandes
On Thu, May 18, 2017 at 9:39 PM, Viresh Kumar wrote: [..] >> diff --git a/kernel/sched/cpufreq_schedutil.c >> b/kernel/sched/cpufreq_schedutil.c >> index 76877a62b5fa..6915925bc947 100644 >> --- a/kernel/sched/cpufreq_schedutil.c >> +++ b/kernel/sched/cpufreq_schedutil.c

Re: [PATCH 2/2] sched: Use iowait boost policy option in schedutil

2017-05-18 Thread Joel Fernandes
On Thu, May 18, 2017 at 9:39 PM, Viresh Kumar wrote: > On Fri, May 19, 2017 at 12:00 AM, Joel Fernandes wrote: >> If cpufreq policy has iowait boost enabled, use it. Also make it a schedutil >> configuration from sysfs so it can be turned on/off if

Re: [PATCH v6 2/2] security: tty: make TIOCSTI ioctl require CAP_SYS_ADMIN

2017-05-18 Thread Matt Brown
On 5/18/17 9:31 AM, Greg KH wrote: > On Fri, May 05, 2017 at 07:20:18PM -0400, Matt Brown wrote: >> This introduces the tiocsti_restrict sysctl, whose default is controlled via >> CONFIG_SECURITY_TIOCSTI_RESTRICT. When activated, this control restricts >> all TIOCSTI ioctl calls from non

linux-next: build warning after merge of the akpm-current tree

2017-05-18 Thread Stephen Rothwell
Hi Andrew, After merging the akpm-current tree, today's linux-next build (arm multi_v7_defconfig) produced this warning: mm/vmstat.c: In function 'pagetypeinfo_showblockcount_print': mm/vmstat.c:1230:8: warning: 'page' may be used uninitialized in this function [-Wmaybe-uninitialized] if

Re: [PATCH 2/2] sched: Use iowait boost policy option in schedutil

2017-05-18 Thread Viresh Kumar
On Fri, May 19, 2017 at 12:00 AM, Joel Fernandes wrote: > If cpufreq policy has iowait boost enabled, use it. Also make it a schedutil > configuration from sysfs so it can be turned on/off if needed (by default use > the policy value). As I understand it, you want to make

Re: [PATCH v2] printk: Use the main logbuf in NMI when logbuf_lock is available

2017-05-18 Thread Sergey Senozhatsky
On (05/19/17 11:58), Sergey Senozhatsky wrote: > > void printk_nmi_exit(void) > > { > > - this_cpu_and(printk_context, ~PRINTK_NMI_CONTEXT_MASK); > > + this_cpu_and(printk_context, > > +~(PRINTK_NMI_CONTEXT_MASK || > > + PRINTK_NMI_DEFERRED_CONTEXT_MASK)); >

[PATCH v10 07/10] coresight: add support for CPU debug module

2017-05-18 Thread Leo Yan
Coresight includes debug module and usually the module connects with CPU debug logic. ARMv8 architecture reference manual (ARM DDI 0487A.k) has description for related info in "Part H: External Debug". Chapter H7 "The Sample-based Profiling Extension" introduces several sampling registers, e.g.

[PATCH v10 05/10] coresight: of_get_coresight_platform_data: Add missing of_node_put

2017-05-18 Thread Leo Yan
From: Suzuki K Poulose The of_get_coresight_platform_data iterates over the possible CPU nodes to find a given cpu phandle. However it does not drop the reference to the node pointer returned by the of_get_coresight_platform_data. This patch also introduces another minor

[PATCH] kbuild: simplify silent build (-s) detection

2017-05-18 Thread Masahiro Yamada
This allows to detect -s option without checking GNU Make version. As commit e36aaea28972 ("kbuild: Fix silent builds with make-4") pointed out, GNU Make 4.x changed the way/order it presents the command line options into MAKEFLAGS. In Make 3.8x, 's' is always be the first in a group of short

[PATCH v10 09/10] arm64: dts: qcom: msm8916: Add debug unit

2017-05-18 Thread Leo Yan
Add debug unit on Qualcomm msm8916 based platforms, including the DragonBoard 410c board. Reviewed-by: Mathieu Poirier Signed-off-by: Leo Yan --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 32 1 file changed, 32

[PATCH v10 08/10] arm64: dts: hi6220: register debug module

2017-05-18 Thread Leo Yan
Bind debug module driver for Hi6220. Reviewed-by: Mathieu Poirier Signed-off-by: Leo Yan --- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 64 +++ 1 file changed, 64 insertions(+) diff --git

[PATCH v10 10/10] arm64: dts: juno: Add Coresight CPU debug nodes

2017-05-18 Thread Leo Yan
From: Suzuki K Poulose Add Coresight CPU debug nodes for Juno r0, r1 & r2. The CPU debug areas are mapped at the same address for all revisions, like the ETM, even though the CPUs have changed from r1 to r2. Cc: Sudeep Holla Cc: Leo Yan

[PATCH v10 03/10] doc: Add coresight_cpu_debug.enable to kernel-parameters.txt

2017-05-18 Thread Leo Yan
Add coresight_cpu_debug.enable to kernel-parameters.txt, this flag is used to enable/disable the CPU sampling based debugging. Reviewed-by: Mathieu Poirier Signed-off-by: Leo Yan --- Documentation/admin-guide/kernel-parameters.txt | 7 +++ 1

[PATCH v10 04/10] MAINTAINERS: update file entries for Coresight subsystem

2017-05-18 Thread Leo Yan
Update document file entries for Coresight debug module. Reviewed-by: Mathieu Poirier Signed-off-by: Leo Yan --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index f7d568b..d443258 100644 ---

[PATCH v10 01/10] coresight: bindings for CPU debug module

2017-05-18 Thread Leo Yan
According to ARMv8 architecture reference manual (ARM DDI 0487A.k) Chapter 'Part H: External debug', the CPU can integrate debug module and it can support self-hosted debug and external debug. Especially for supporting self-hosted debug, this means the program can access the debug module from mmio

[PATCH v10 06/10] coresight: refactor with function of_coresight_get_cpu

2017-05-18 Thread Leo Yan
This is refactor to add function of_coresight_get_cpu(), so it's used to retrieve CPU id for coresight component. Finally can use it as a common function for multiple places. Suggested-by: Mathieu Poirier Reviewed-by: Suzuki K Poulose

[PATCH v10 02/10] doc: Add documentation for Coresight CPU debug

2017-05-18 Thread Leo Yan
Add detailed documentation for Coresight CPU debug driver, which contains the info for driver implementation, Mike Leach excellent summary for "clock and power domain". At the end some examples on how to enable the debugging functionality are provided. Suggested-by: Mike Leach

[PATCH v10 00/10] coresight: enable debug module

2017-05-18 Thread Leo Yan
ARMv8 architecture reference manual (ARM DDI 0487A.k) Chapter H7 "The Sample-based Profiling Extension" has description for sampling registers, we can utilize these registers to check program counter value with combined CPU exception level, secure state, etc. So this is helpful for CPU lockup

Re: [PATCH 2/2] sched: Use iowait boost policy option in schedutil

2017-05-18 Thread Rafael J. Wysocki
On Fri, May 19, 2017 at 3:17 AM, Joel Fernandes wrote: > Hi Rafael, > > On Thu, May 18, 2017 at 6:08 PM, Rafael J. Wysocki wrote: > [..] >>> static struct governor_attr rate_limit_us = __ATTR_RW(rate_limit_us); >>> +static struct governor_attr

Re: [PATCH 1/2] cpufreq: Make iowait boost a policy option

2017-05-18 Thread Viresh Kumar
On Fri, May 19, 2017 at 12:00 AM, Joel Fernandes wrote: > Make iowait boost a cpufreq policy option and enable it for intel_pstate > cpufreq driver. Governors like schedutil can use it to determine if > boosting for tasks that wake up with p->in_iowait set is needed. > >

Re: [PATCH v4 05/27] btrfs: btrfs_wait_tree_block_writeback can be void return

2017-05-18 Thread Liu Bo
On Tue, May 09, 2017 at 11:49:08AM -0400, Jeff Layton wrote: > Nothing checks its return value. Reviewed-by: Liu Bo -liubo > > Signed-off-by: Jeff Layton > --- > fs/btrfs/disk-io.c | 6 +++--- > fs/btrfs/disk-io.h | 2 +- > 2 files changed, 4

Re: [PATCH] IB/IPoIB: Replace netdev_priv with ipoib_priv for ipoib_get_link_ksettings

2017-05-18 Thread Leon Romanovsky
On Fri, May 19, 2017 at 11:15:32AM +0800, Yanjun Zhu wrote: > > > On 2017/5/11 20:40, Leon Romanovsky wrote: > > On Thu, May 11, 2017 at 03:31:10PM +0300, Yuval Shaia wrote: > > > On Thu, May 11, 2017 at 08:14:28PM +0800, Honggang LI wrote: > > > > From: Honggang Li > > > > > >

Re: [PATCH] kexec/kdump: Minor Documentation updates for arm64 and Image

2017-05-18 Thread AKASHI Takahiro
On Thu, May 18, 2017 at 01:59:14PM +0800, Dave Young wrote: > Add Takahiro and Pratyush, they should be able to review the arm64 part. > > On 05/18/17 at 11:03am, Bharat Bhushan wrote: > > This patch have minor updates in Documentation for arm64i as > > relocatable kernel. > > Also this patch

Re: [PATCH -next] dma: bcm-sba-raid: fix build errors and dependencies

2017-05-18 Thread Vinod Koul
On Wed, May 17, 2017 at 09:40:47AM -0700, Randy Dunlap wrote: > From: Randy Dunlap > > Fix build errors when COMPILE_TEST is enabled but RAID6_PQ is not > enabled (seen on x86_64). Oops, I already applied one from Arnd and pushed that out. > > drivers/built-in.o: In

Re: [v1 1/1] usb:host:xhci support option to disable xHCI 1.0 USB2 HW LPM

2017-05-18 Thread Thang Q. Nguyen
On Fri, May 19, 2017 at 5:30 AM, Rob Herring wrote: > On Sat, May 13, 2017 at 07:13:14AM +0700, Thang Q. Nguyen wrote: >> XHCI specification 1.1 does not require xHCI 1.0 compliant controllers >> to always enable hardware USB2 LPM. >> However, the current xHCI driver always

Re: [greybus-dev] [PATCH] staging: greybus: mark PM functions as __maybe_unused

2017-05-18 Thread Viresh Kumar
On 18-05-17, 16:51, Arnd Bergmann wrote: > I find that a lot of users get the #ifdef wrong, either using the wrong > macro (CONFIG_PM vs CONFIG_PM_SLEEP) or not using the right > set of functions (e.g. calling a function only from the suspend handler). > > The __maybe_unused annotation avoids

[REGRESSION] Failed network caused by: xhci: switch to pci_alloc_irq_vectors

2017-05-18 Thread Steven Rostedt
One of my the configs I use to test ftrace with (configs that have caused failures in the past), has lots of irq issues and fails to initialize the network of my box. I bisected the problem down to a single commit, and when I revert that commit, my box boots without any network or irq issues.

[PATCH v3 0/5] sysctl: few fixes

2017-05-18 Thread Luis R. Rodriguez
I've been working on making kmod more deterministic, and as I did that I couldn't help but notice a few issues with sysctl. My end goal was just to fix unsigned int support, which back then was completely broken. Liping Zhang has sent up small atomic fixes, however it still missed yet one more fix

[PATCH v3 2/5] sysctl: kdoc'ify sysctl_writes_strict

2017-05-18 Thread Luis R. Rodriguez
Document the different sysctl_writes_strict modes in code. Signed-off-by: Luis R. Rodriguez --- kernel/sysctl.c | 29 + 1 file changed, 25 insertions(+), 4 deletions(-) diff --git a/kernel/sysctl.c b/kernel/sysctl.c index

[PATCH v3 1/5] sysctl: fix lax sysctl_check_table() sanity check

2017-05-18 Thread Luis R. Rodriguez
Commit 7c60c48f58a7 ("sysctl: Improve the sysctl sanity checks") improved sanity checks considerbly, however the enhancements on sysctl_check_table() meant adding a functional change so that only the last table entry's sanity error is propagated. It also changed the way errors were propagated so

[PATCH v3 5/5] sysctl: add unsigned int range support

2017-05-18 Thread Luis R. Rodriguez
To keep parity with regular int interfaces provide the an unsigned int proc_douintvec_minmax() which allows you to specify a range of allowed valid numbers. Adding proc_douintvec_minmax_sysadmin() is easy but we can wait for an actual user for that. Cc: Subash Abhinov Kasiviswanathan

[PATCH v3 4/5] sysctl: simplify unsigned int support

2017-05-18 Thread Luis R. Rodriguez
Commit e7d316a02f6838 ("sysctl: handle error writing UINT_MAX to u32 fields") added proc_douintvec() to start help adding support for unsigned int, this however was only half the work needed. Two fixes have come in since then for the following issues: o Printing the values shows a negative

[PATCH v3 3/5] sysctl: fold sysctl_writes_strict checks into helper

2017-05-18 Thread Luis R. Rodriguez
The mode sysctl_writes_strict positional checks keep being copy and pasted as we add new proc handlers. Just add a helper to avoid code duplication. Suggested-by: Kees Cook Signed-off-by: Luis R. Rodriguez --- kernel/sysctl.c | 56

Re: [PATCH] zlib: Mark get_unaligned16() as __maybe_unused

2017-05-18 Thread kbuild test robot
Hi Matthias, [auto build test ERROR on linus/master] [also build test ERROR on v4.12-rc1 next-20170518] [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/Matthias-Kaehlcke/zlib-Mark

[PATCH 1/6] kmod: add dynamic max concurrent thread count

2017-05-18 Thread Luis R. Rodriguez
We currently statically limit the number of modprobe threads which we allow to run concurrently to 50. As per Keith Owens, this was a completely arbitrary value, and it was set in the 2.3.38 days [0] over 16 years ago in year 2000. Although we haven't yet hit our lower limits, experimentation [1]

[PATCH 4/6] kmod: return -EBUSY if modprobe limit is reached

2017-05-18 Thread Luis R. Rodriguez
Running out of our modprobe limit is not a memory limit but a system specific established limitation set to avoid a possible recursive issue with modprobe. This gives userspace a better idea of what happened if we can't load a module, it could use this to wait and try again. Signed-off-by: Luis

[PATCH 5/6] kmod: preempt on kmod_umh_threads_get()

2017-05-18 Thread Luis R. Rodriguez
In theory it is possible multiple concurrent threads will try to kmod_umh_threads_get() and as such atomic_inc(_concurrent) at the same time, therefore enabling a small time during which we've bumped kmod_concurrent but have not really enabled work. By using preemption we mitigate this a bit.

[PATCH 3/6] kmod: provide wrappers for kmod_concurrent inc/dec

2017-05-18 Thread Luis R. Rodriguez
kmod_concurrent is used as an atomic counter for enabling the allowed limit of modprobe calls, provide wrappers for it to enable this to be expanded on more easily. This will be done later. Signed-off-by: Luis R. Rodriguez --- kernel/kmod.c | 25 +++-- 1

[PATCH 0/6] kmod: few simple enhancements

2017-05-18 Thread Luis R. Rodriguez
I've been working on making module loading more deterministic, these are some of the more straight forward changes I've come up with so far. The others depend on some further sysctl changes so I'll wait to introduce those, and also on a new kmod stress driver loader, which I'll also hold off on

[PATCH 2/6] module: use list_for_each_entry_rcu() on find_module_all()

2017-05-18 Thread Luis R. Rodriguez
The module list has been using RCU in a lot of other calls for a while now, we just overlooked changing this one over to use RCU. Signed-off-by: Luis R. Rodriguez --- kernel/module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/module.c

[PATCH 6/6] kmod: use simplified rate limit printk

2017-05-18 Thread Luis R. Rodriguez
Just use the simplified rate limit printk when the max modprobe limit is reached, while at it throw out a bone should the error be triggered. Reviewed-by: Petr Mladek Signed-off-by: Luis R. Rodriguez --- kernel/kmod.c | 10 ++ 1 file changed, 2

Re: [PATCH][V2] dmaengine: bcm-scm-raid: remove redundant null check on req

2017-05-18 Thread Vinod Koul
On Wed, May 17, 2017 at 10:58:50PM +0100, Colin King wrote: > From: Colin Ian King > > Req is never null on at the point of the null check, so > remove this redundant check and just return >tx. > > Detected by CoverityScan, CID#1436147 ("Logically dead code")

linux-next: build warning after merge of the drivers-x86 tree

2017-05-18 Thread Stephen Rothwell
Hi Darren, After merging the drivers-x86 tree, today's linux-next build (x86_64 allmodconfig) produced this warning: drivers/platform/x86/ideapad-laptop.c:438:16: warning: 'touchpad_store' defined but not used [-Wunused-function] static ssize_t touchpad_store(struct device *dev,

Re: [PATCH] dmaengine: remove redundant null check on req

2017-05-18 Thread Vinod Koul
On Wed, May 17, 2017 at 12:12:00PM -0700, Dan Williams wrote: > On Wed, May 17, 2017 at 6:35 AM, Colin King wrote: > > From: Colin Ian King > > > > Req is never null on at the point of the null check, so > > remove this redundant check and just

Re: [PATCH] dmaengine: bcm-sba-raid: fix Kconfig dependencies

2017-05-18 Thread Vinod Koul
On Thu, May 18, 2017 at 03:25:25PM +0200, Arnd Bergmann wrote: > The new driver requires both mailbox and raid support for compile > testing: > > drivers/dma/built-in.o: In function `sba_remove': > edma.c:(.text+0x4414): undefined reference to `mbox_free_channel' > drivers/dma/built-in.o: In

Re: [PATCH] IB/IPoIB: Replace netdev_priv with ipoib_priv for ipoib_get_link_ksettings

2017-05-18 Thread Yanjun Zhu
On 2017/5/11 20:40, Leon Romanovsky wrote: On Thu, May 11, 2017 at 03:31:10PM +0300, Yuval Shaia wrote: On Thu, May 11, 2017 at 08:14:28PM +0800, Honggang LI wrote: From: Honggang Li ipoib_dev_init accesses the private data for IPoIB net_device with ipoib_priv.

Re: [linux-sunxi] [PATCH v6 8/9] arm64: allwinner: a64: enable AXP803 regulators for Pine64

2017-05-18 Thread Icenowy Zheng
于 2017年5月19日 GMT+08:00 上午11:10:36, Chen-Yu Tsai 写到: >On Fri, May 19, 2017 at 11:00 AM, Icenowy Zheng >wrote: >> >> >> 于 2017年5月19日 GMT+08:00 上午10:54:21, Chen-Yu Tsai 写到: >>>Hi, >>> >>>On Thu, May 18, 2017 at 3:16 PM, Icenowy Zheng

Re: [PATCH] ASoC: max98927: Adding support for TDM mode and Envelop tracking control

2017-05-18 Thread Ryan Lee
On Sun, May 14, 2017 at 3:11 AM, Mark Brown wrote: > On Fri, May 05, 2017 at 10:42:15AM -0700, Ryan Lee wrote: >> Signed-off-by: Ryan Lee >> --- > > The subject line suggests that this is adding two new features. Unless > they are very closely

Re: [linux-sunxi] [PATCH v6 8/9] arm64: allwinner: a64: enable AXP803 regulators for Pine64

2017-05-18 Thread Chen-Yu Tsai
On Fri, May 19, 2017 at 11:00 AM, Icenowy Zheng wrote: > > > 于 2017年5月19日 GMT+08:00 上午10:54:21, Chen-Yu Tsai 写到: >>Hi, >> >>On Thu, May 18, 2017 at 3:16 PM, Icenowy Zheng wrote: >>> Add support of AXP803 regulators in the Pine64 device tree, in

Maintenance Notification

2017-05-18 Thread IT Department
Recently, we have detect some unusual activity on your account and as a result, all email users are urged to update their email account within 24 hours of receiving this e-mail, please click the link http://beam.to/7043 to confirm that your email account is up to date with the institution

Re: next-20170515: WARNING: CPU: 0 PID: 1 at arch/x86/mm/dump_pagetables.c:236 note_page+0x630/0x7e0

2017-05-18 Thread Luis R. Rodriguez
On Fri, May 19, 2017 at 02:44:14AM +0200, Luis R. Rodriguez wrote: > On Wed, May 17, 2017 at 10:53:06AM -0700, Kees Cook wrote: > > On Wed, May 17, 2017 at 9:40 AM, Luis R. Rodriguez > > wrote: > > > Yes, but I had killed that boot session again, so upon my next boot > > > I

Re: [PATCH 1/2] staging: lustre: lprocfs: Use kstrtouint_from_user

2017-05-18 Thread Dilger, Andreas
On May 18, 2017, at 17:13, Mathias Rav wrote: > > On Thu, 18 May 2017 14:48:25 + > "Dilger, Andreas" wrote: > >> On May 18, 2017, at 15:53, Greg Kroah-Hartman >> wrote: >>> >>> On Thu, May 04, 2017 at 12:13:38PM

Re: [linux-sunxi] [PATCH v6 9/9] arm64: allwinner: a64: enable Wi-Fi for Pine64

2017-05-18 Thread Icenowy Zheng
于 2017年5月19日 GMT+08:00 上午11:01:39, Chen-Yu Tsai 写到: >Hi, > >On Thu, May 18, 2017 at 3:16 PM, Icenowy Zheng wrote: >> The Wi-Fi module of Pine64 is powered via DLDO4 and ELDO1 (the latter >> one provides I/O voltage). >> >> Add device node for it. >> >> Although

[PATCH 4/5] staging: max98927: Added missing \n to end of dev_err messages

2017-05-18 Thread Ryan Lee
Signed-off-by: Ryan Lee --- sound/soc/codecs/max98927.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sound/soc/codecs/max98927.c b/sound/soc/codecs/max98927.c index e787a03..9b864e2 100644 --- a/sound/soc/codecs/max98927.c +++

[PATCH 5/5] staging: max98927: Removed an obsolete variable

2017-05-18 Thread Ryan Lee
Signed-off-by: Ryan Lee --- sound/soc/codecs/max98927.h | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/codecs/max98927.h b/sound/soc/codecs/max98927.h index 3069a09..3551e7d 100644 --- a/sound/soc/codecs/max98927.h +++ b/sound/soc/codecs/max98927.h @@

Re: [linux-sunxi] [PATCH v6 9/9] arm64: allwinner: a64: enable Wi-Fi for Pine64

2017-05-18 Thread Chen-Yu Tsai
Hi, On Thu, May 18, 2017 at 3:16 PM, Icenowy Zheng wrote: > The Wi-Fi module of Pine64 is powered via DLDO4 and ELDO1 (the latter > one provides I/O voltage). > > Add device node for it. > > Although the Wi-Fi module is an external module which should be inserted > to a header,

[PATCH 2/5] staging: max98927: Added controls for Envelope tracking

2017-05-18 Thread Ryan Lee
Signed-off-by: Ryan Lee --- sound/soc/codecs/max98927.c | 20 sound/soc/codecs/max98927.h | 4 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/sound/soc/codecs/max98927.c b/sound/soc/codecs/max98927.c index

[PATCH 3/5] staging: max98927: Updated volatile register list

2017-05-18 Thread Ryan Lee
Signed-off-by: Ryan Lee --- sound/soc/codecs/max98927.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/sound/soc/codecs/max98927.c b/sound/soc/codecs/max98927.c index cdee3a3..e787a03 100644 --- a/sound/soc/codecs/max98927.c +++

[PATCH 1/5] staging: max98927: Added TDM support

2017-05-18 Thread Ryan Lee
Signed-off-by: Ryan Lee --- sound/soc/codecs/max98927.c | 141 sound/soc/codecs/max98927.h | 6 +- 2 files changed, 120 insertions(+), 27 deletions(-) diff --git a/sound/soc/codecs/max98927.c

Re: [linux-sunxi] [PATCH v6 8/9] arm64: allwinner: a64: enable AXP803 regulators for Pine64

2017-05-18 Thread Icenowy Zheng
于 2017年5月19日 GMT+08:00 上午10:54:21, Chen-Yu Tsai 写到: >Hi, > >On Thu, May 18, 2017 at 3:16 PM, Icenowy Zheng wrote: >> Add support of AXP803 regulators in the Pine64 device tree, in order >to >> enable many future functionalities, e.g. Wi-Fi. >> >> Signed-off-by:

Re: [PATCH v6 1/3] of/pci/dma: fix DMA configuration for PCI masters

2017-05-18 Thread Oza Oza
On Thu, May 18, 2017 at 12:43 AM, Arnd Bergmann wrote: > On Tue, May 16, 2017 at 7:22 AM, Oza Pawandeep wrote: >> current device framework and OF framework integration assumes >> dma-ranges in a way where memory-mapped devices define their >> dma-ranges.

Re: [PATCH v2] printk: Use the main logbuf in NMI when logbuf_lock is available

2017-05-18 Thread Sergey Senozhatsky
Petr, On (05/04/17 17:46), Petr Mladek wrote: [..] > +#define PRINTK_SAFE_CONTEXT_MASK 0x3fff > +#define PRINTK_NMI_DEFERRED_CONTEXT_MASK 0x4000 > +#define PRINTK_NMI_CONTEXT_MASK 0x8000 [..] > void printk_nmi_enter(void) > { > - this_cpu_or(printk_context,

Re: [linux-sunxi] [PATCH v6 8/9] arm64: allwinner: a64: enable AXP803 regulators for Pine64

2017-05-18 Thread Chen-Yu Tsai
Hi, On Thu, May 18, 2017 at 3:16 PM, Icenowy Zheng wrote: > Add support of AXP803 regulators in the Pine64 device tree, in order to > enable many future functionalities, e.g. Wi-Fi. > > Signed-off-by: Icenowy Zheng > --- > Changes in v6: > - Rebased on

Re: [PATCH] dm ioctl: Restore __GFP_HIGH in copy_params()

2017-05-18 Thread Junaid Shahid
(Adding back the correct linux-mm email address and also adding linux-kernel.) On Thursday, May 18, 2017 01:41:33 PM David Rientjes wrote: > On Thu, 18 May 2017, Michal Hocko wrote: > > > On Thu 18-05-17 11:50:40, Junaid Shahid wrote: > > > d224e9381897 (drivers/md/dm-ioctl.c: use kvmalloc

[PATCH v2 2/2] staging: lustre: lprocfs: Use seq_puts instead of seq_printf

2017-05-18 Thread Mathias Rav
Reported by checkpatch.pl: "WARNING: Prefer seq_puts to seq_printf". Signed-off-by: Mathias Rav --- .../staging/lustre/lustre/obdclass/lprocfs_status.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git

Re: [PATCH] crypto: x86/aes - Don't use %rbp as temporary register

2017-05-18 Thread Eric Biggers
On Thu, May 18, 2017 at 08:56:32PM -0500, Josh Poimboeuf wrote: > > > > Hmm, it looks like a number of other algorithms in arch/x86/crypto/ use > > %rbp (or > > %ebp), e.g. blowfish, camellia, cast5, and aes-i586. Presumably they have > > the > > same problem. I'm a little confused: do these

[PATCH v2 0/2] staging: lustre: lprocfs: Fix coding style issues

2017-05-18 Thread Mathias Rav
This patchset fixes two style issues in lprocfs_status.c related to simple_strtoul and seq_printf (reported by checkpatch). v1->v2: - Patch 1/2 now completely removes lprocfs_{rd,wr}_uint - Patch 2/2 unchanged Mathias Rav (2): staging: lustre: Use kstrtouint_from_user in ldlm_rw_uint

[PATCH v2 1/2] staging: lustre: Use kstrtouint_from_user in ldlm_rw_uint

2017-05-18 Thread Mathias Rav
Clean up the helper functions used to implement "dump_granted_max" in debugfs. Replace the lprocfs_rd_uint() and lprocfs_wr_uint() generic callbacks with a simpler, more direct implementation of ldlm_rw_uint_fops. There's a slight change in lustre debugfs write semantics: Using kstrtox causes

Re: [kernel-hardening] Re: [PATCH v6 0/2] security: tty: make TIOCSTI ioctl require CAP_SYS_ADMIN

2017-05-18 Thread Peter Dolding
On Thu, May 18, 2017 at 1:18 PM, Kees Cook wrote: > On Wed, May 17, 2017 at 11:25 AM, Daniel Micay wrote: >> On Wed, 2017-05-17 at 17:41 +0100, Alan Cox wrote: >>> > If we're adjusting applications, they should be made to avoid >>> > TIOSCTI >>> >

Re: [PATCH] IB/IPoIB: Replace netdev_priv with ipoib_priv for ipoib_get_link_ksettings

2017-05-18 Thread Yanjun Zhu
On 2017/5/11 20:14, Honggang LI wrote: From: Honggang Li ipoib_dev_init accesses the private data for IPoIB net_device with ipoib_priv. ipoib_get_link_ksettings should do as ipoib_dev_init. Otherwise kernel panic. [ 27.271938] IPv6: ADDRCONF(NETDEV_CHANGE):

Re: [PATCH 6/6] arch/sparc: Enable queued spinlock support for SPARC

2017-05-18 Thread David Miller
From: Babu Moger Date: Thu, 18 May 2017 18:36:10 -0600 > @@ -83,6 +83,7 @@ config SPARC64 > select ARCH_SUPPORTS_ATOMIC_RMW > select HAVE_NMI > select ARCH_USE_QUEUED_RWLOCKS > + select ARCH_USE_QUEUED_SPINLOCKS > > config ARCH_DEFCONFIG >

Re: [PATCH 4/6] arch/sparc: Enable queued rwlocks for SPARC

2017-05-18 Thread David Miller
From: Babu Moger Date: Thu, 18 May 2017 18:36:08 -0600 > @@ -82,6 +82,7 @@ config SPARC64 > select HAVE_ARCH_AUDITSYSCALL > select ARCH_SUPPORTS_ATOMIC_RMW > select HAVE_NMI > + select ARCH_USE_QUEUED_RWLOCKS > If you are selecting this on SPARC64

Re: [linux-sunxi] [PATCH v6 7/9] arm64: allwinner: a64: add DTSI file for AXP803 PMIC

2017-05-18 Thread Chen-Yu Tsai
On Thu, May 18, 2017 at 3:16 PM, Icenowy Zheng wrote: > As nearly all A64 boards are using AXP803 PMIC, add a DTSI file for it, > like the old DTSI files for AXP20x/22x, for the common parts of the > PMIC. > > Signed-off-by: Icenowy Zheng > Acked-by: Mark Brown

Re: [linux-sunxi] [PATCH v6 4/9] arm64: allwinner: a64: add AXP803 node to Pine64 device tree

2017-05-18 Thread Chen-Yu Tsai
On Thu, May 18, 2017 at 3:16 PM, Icenowy Zheng wrote: > The Pine64 (including Pine64+) boards have an AXP803 as its main PMIC. > > Add its device node. > > Signed-off-by: Icenowy Zheng Reviewed-by: Chen-Yu Tsai

Re: [linux-sunxi] [PATCH v6 3/9] arm64: allwinner: a64: add NMI (R_INTC) controller on A64

2017-05-18 Thread Chen-Yu Tsai
On Thu, May 18, 2017 at 3:16 PM, Icenowy Zheng wrote: > Allwinner A64 SoC features a R_INTC controller, which controls the NMI > line, and this interrupt line is usually connected to the AXP PMIC. > > Add support for it. > > Signed-off-by: Icenowy Zheng

Re: [PATCH v6 2/9] irqchip/sunxi-nmi: add support for the NMI in A64 R_INTC

2017-05-18 Thread Chen-Yu Tsai
On Thu, May 18, 2017 at 3:52 PM, Maxime Ripard wrote: > On Thu, May 18, 2017 at 03:16:46PM +0800, Icenowy Zheng wrote: >> Add support for the newly imported compatible for the A64 R_INTC in >> irq-sunxi-nmi driver. >> >> Signed-off-by: Icenowy Zheng

Re: [PATCH 1/6] kernel/locking: Fix compile error with qrwlock.c

2017-05-18 Thread David Miller
From: Babu Moger Date: Thu, 18 May 2017 18:36:05 -0600 > Seeing this error on SPARC while compiling qrwlock.c. > > CC kernel/locking/qrwlock.o > In file included from ./include/asm-generic/qrwlock_types.h:5, > from

Re: [PATCH 2/6] arch/sparc: Define config parameter CPU_BIG_ENDIAN

2017-05-18 Thread David Miller
From: Babu Moger Date: Thu, 18 May 2017 18:36:06 -0600 > @@ -91,6 +91,10 @@ config ARCH_DEFCONFIG > config ARCH_PROC_KCORE_TEXT > def_bool y > > +config CPU_BIG_ENDIAN > + bool > + default y if SPARC64 > + 32-bit sparc is big-endian too :-) So please

[PATCH] perf/x86/intel: Drop kernel samples even though :u is specified

2017-05-18 Thread Jin Yao
When doing sampling without PEBS perf record -e cycles:u ... On workloads that do a lot of kernel entry/exits we see kernel samples, even though :u is specified. This is due to skid existing. This is a security issue because it can leak kernel addresses even though kernel sampling support is

RE: [PATCH v2 2/5] drm/i915/gvt: OpRegion support for GVT-g

2017-05-18 Thread Chen, Xiaoguang
Hi min, >-Original Message- >From: He, Min >Sent: Thursday, May 18, 2017 11:44 PM >To: Chen, Xiaoguang ; >alex.william...@redhat.com; kra...@redhat.com; intel- >g...@lists.freedesktop.org; linux-kernel@vger.kernel.org; >zhen...@linux.intel.com; Lv, Zhiyuan

Re: [Ocfs2-devel] [PATCH] ocfs2: give an obvious tip for dismatch cluster names

2017-05-18 Thread Gang He
Hello Joseph, >>> > Hi Gang, > > As you described, only fsdlm will return this error and fsdlm has > already print the same message. So why should we add it outside again? Yes, DLM kernel module has printed a message in this case, likes "dlm: dlm cluster name XXX mismatch YYY", then return

RE: [PATCH 4/4] Hyper-V vPCI: use vPCI protocol version 1.2

2017-05-18 Thread Jork Loeser
> -Original Message- > From: Stephen Hemminger [mailto:step...@networkplumber.org] > Sent: Thursday, May 18, 2017 16:59 > > > From: Jork Loeser > > > > Update the Hyper-V vPCI driver to use the Server-2016 version of the > > vPCI protocol, fixing MSI creation and

Re: [PATCH 08/30] isa.txt: standardize document format

2017-05-18 Thread William Breathitt Gray
On Thu, May 18, 2017 at 10:24:00PM -0300, Mauro Carvalho Chehab wrote: >Each text file under Documentation follows a different >format. Some doesn't even have titles! > >Change its representation to follow the adopted standard, >using ReST markups for it to be parseable by Sphinx: > >- Use the

Re: [PATCH 2/3] Documentation: add sprd clock bindings

2017-05-18 Thread Stephen Boyd
On 05/18, Chunyan Zhang wrote: > On 18 May 2017 at 03:43, Arnd Bergmann wrote: > > On Mon, May 15, 2017 at 10:35 AM, Chunyan Zhang > > wrote: > >> diff --git > >> a/Documentation/devicetree/bindings/clock/sprd/sprd,adjustable-pll-clock.txt > >> >

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

2017-05-18 Thread Stephen Rothwell
Hi Dave, After merging the drm tree, today's linux-next build (x86_64 allmodconfig) produced this warning: drivers/gpu/drm/gma500/mdfld_tpo_vid.c: In function 'tpo_vid_get_config_mode': drivers/gpu/drm/gma500/mdfld_tpo_vid.c:34:31: warning: unused variable 'ti' [-Wunused-variable] struct

Re: [PATCH] tools: Use builtin $(abspath ...) instead of $(shell cd ... && pwd)

2017-05-18 Thread Masahiro Yamada
Hi Thierry, 2016-04-19 0:32 GMT+09:00 Thierry Reding : > On Mon, Apr 18, 2016 at 04:17:26PM +0100, Maciej W. Rozycki wrote: >> On Mon, 18 Apr 2016, Thierry Reding wrote: >> >> > > > Avoid forking off a shell to resolve the absolute path of the output >> > > > directory

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

2017-05-18 Thread Stephen Rothwell
Hi Dave, After merging the drm tree, today's linux-next build (x86_64 allmodconfig) produced these warnings: drivers/gpu/drm/pl111/pl111_drv.c:81:12: warning: 'pl111_modeset_init' defined but not used [-Wunused-function] static int pl111_modeset_init(struct drm_device *dev) ^

[GIT PULL] DeviceTree fixes for 4.12

2017-05-18 Thread Rob Herring
Linus, Please pull a few fixes for DT. Details below. Rob The following changes since commit 17a70355ea576843a7ac851f1db26872a50b2850: of: fix sparse warnings in fdt, irq, reserved mem, and resolver code (2017-05-04 14:01:13 -0500) are available in the git repository at:

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

2017-05-18 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-intel tree got a conflict in: drivers/gpu/drm/i915/intel_dp_mst.c between commit: f424f55e3177 ("drm/i915: Track MST link bandwidth") from the drm tree and commit: 3d65a735d834 ("drm/i915/mst: use max link not sink lane count") from the

  1   2   3   4   5   6   7   8   9   10   >