Applied "ASoC: tlv320aic32x4: Remove set but not used variable 'mclk_rate'" to the asoc tree

2019-04-17 Thread Mark Brown
The patch ASoC: tlv320aic32x4: Remove set but not used variable 'mclk_rate' has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.2 All being well this means that it will be integrated into the linux-next tree (usually sometime in

Re: [PATCH v4 08/16] locking/rwsem: Make rwsem_spin_on_owner() return owner state

2019-04-17 Thread Waiman Long
On 04/17/2019 05:00 AM, Peter Zijlstra wrote: > On Sat, Apr 13, 2019 at 01:22:51PM -0400, Waiman Long wrote: >> This patch modifies rwsem_spin_on_owner() to return four possible >> values to better reflect the state of lock holder which enables us to >> make a better decision of what to do next.

Applied "regulator: ready_mask_table[] can be static" to the regulator tree

2019-04-17 Thread Mark Brown
The patch regulator: ready_mask_table[] can be static has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-5.2 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Applied "regulator: wm8350: Switch to SPDX identifier" to the regulator tree

2019-04-17 Thread Mark Brown
The patch regulator: wm8350: Switch to SPDX identifier has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-5.2 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Applied "regulator: wm8400: Switch to SPDX identifier" to the regulator tree

2019-04-17 Thread Mark Brown
The patch regulator: wm8400: Switch to SPDX identifier has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-5.2 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Re: kernel BUG at kernel/cred.c:434!

2019-04-17 Thread Casey Schaufler
On 4/17/2019 9:27 AM, Oleg Nesterov wrote: On 04/17, Paul Moore wrote: On Wed, Apr 17, 2019 at 10:57 AM Oleg Nesterov wrote: On 04/17, Paul Moore wrote: I'm tempted to simply return an error in selinux_setprocattr() if the task's credentials are not the same as its real_cred; What about

Re: [PATCH 4.19 000/101] 4.19.35-stable review

2019-04-17 Thread Bharath Vedartham
On Wed, Apr 17, 2019 at 08:16:15AM +0200, Greg Kroah-Hartman wrote: > On Wed, Apr 17, 2019 at 08:15:56AM +0200, Greg Kroah-Hartman wrote: > > On Wed, Apr 17, 2019 at 03:46:09AM +0530, Bharath Vedartham wrote: > > > Compiled and Booted(defconfig) on my x86 machine. No dmesg regressions. > > > >

Re: [PATCH v4 07/16] locking/rwsem: Implement lock handoff to prevent lock starvation

2019-04-17 Thread Waiman Long
On 04/17/2019 04:05 AM, Peter Zijlstra wrote: > On Tue, Apr 16, 2019 at 02:16:11PM -0400, Waiman Long wrote: > @@ -608,56 +687,63 @@ __rwsem_down_write_failed_common(struct rw_semaphore *sem, int state) */ waiter.task = current; waiter.type =

Re: [v2 RFC PATCH 0/9] Another Approach to Use PMEM as NUMA Node

2019-04-17 Thread Michal Hocko
On Wed 17-04-19 09:37:39, Keith Busch wrote: > On Wed, Apr 17, 2019 at 05:39:23PM +0200, Michal Hocko wrote: > > On Wed 17-04-19 09:23:46, Keith Busch wrote: > > > On Wed, Apr 17, 2019 at 11:23:18AM +0200, Michal Hocko wrote: > > > > On Tue 16-04-19 14:22:33, Dave Hansen wrote: > > > > > Keith

Re: [PATCH] regulator: stm32-pwr: Staticize local symbols

2019-04-17 Thread Mark Brown
On Wed, Apr 17, 2019 at 03:59:42PM +0800, Axel Lin wrote: > These symbols are only used by this driver, make them static. Someone already sent a patch for this. signature.asc Description: PGP signature

Re: [PATCH -next] regulator: stm32-pwr: Make some symbols static

2019-04-17 Thread Mark Brown
On Wed, Apr 17, 2019 at 02:31:12AM +, Wei Yongjun wrote: > Fixes the following sparse warnings: > > drivers/regulator/stm32-pwr.c:35:5: warning: > symbol 'ready_mask_table' was not declared. Should it be static? > drivers/regulator/stm32-pwr.c:47:5: warning: > symbol

Re: [PATCH] regulator: stm32-pwr: Fix error checking for of_iomap

2019-04-17 Thread Mark Brown
On Wed, Apr 17, 2019 at 04:43:35PM +0800, Axel Lin wrote: > of_iomap returns NULL on error. Someone already sent a patch for this. signature.asc Description: PGP signature

Re: [PATCH v4 07/16] locking/rwsem: Implement lock handoff to prevent lock starvation

2019-04-17 Thread Waiman Long
On 04/17/2019 03:35 AM, Peter Zijlstra wrote: > On Tue, Apr 16, 2019 at 02:16:11PM -0400, Waiman Long wrote: > @@ -324,6 +364,12 @@ static void __rwsem_mark_wake(struct rw_semaphore *sem, adjustment -= RWSEM_FLAG_WAITERS; } + /* + * Clear the

Re: [PATCH v4] platform: chrome: Add ChromeOS EC ISHTP driver

2019-04-17 Thread Jett Rink
Reviewed-by: Jett Rink Tested-by: Jett Rink On Wed, Apr 17, 2019 at 10:27 AM Srinivas Pandruvada wrote: > > On Wed, 2019-04-17 at 15:48 +0530, Rushikesh S Kadam wrote: > > This driver implements a slim layer to enable the ChromeOS > > EC kernel stack (cros_ec) to communicate with ChromeOS EC >

Re: [PATCH v6 10/12] soc: ti: Add MSI domain bus support for Interrupt Aggregator

2019-04-17 Thread Marc Zyngier
On 10/04/2019 05:13, Lokesh Vutla wrote: > With the system coprocessor managing the range allocation of the > inputs to Interrupt Aggregator, it is difficult to represent > the device IRQs from DT. > > The suggestion is to use MSI in such cases where devices wants > to allocate and group

Re: [PATCH v4] platform: chrome: Add ChromeOS EC ISHTP driver

2019-04-17 Thread Srinivas Pandruvada
On Wed, 2019-04-17 at 15:48 +0530, Rushikesh S Kadam wrote: > This driver implements a slim layer to enable the ChromeOS > EC kernel stack (cros_ec) to communicate with ChromeOS EC > firmware running on the Intel Integrated Sensor Hub (ISH). > > The driver registers a ChromeOS EC MFD device to

Re: kernel BUG at kernel/cred.c:434!

2019-04-17 Thread Oleg Nesterov
On 04/17, Paul Moore wrote: > > On Wed, Apr 17, 2019 at 10:57 AM Oleg Nesterov wrote: > > On 04/17, Paul Moore wrote: > > > > > > I'm tempted to simply return an error in selinux_setprocattr() if > > > the task's credentials are not the same as its real_cred; > > > > What about other modules? I

Re: [PATCH] asm/io: Correct output operand specification of the MMIO write* routines

2019-04-17 Thread Linus Torvalds
On Wed, Apr 17, 2019 at 1:50 AM Borislav Petkov wrote: > > I'm looking at > > c1f64a58003f ("x86: MMIO and gcc re-ordering issue") > > and trying to figure out was there any particular reason the address to > the MMIO write routines had to be an input operand? It doesn't have to be an input

[PATCH] ASoC: hdmi-codec: fix spelling mistake "plalform" -> "platform"

2019-04-17 Thread Colin King
From: Colin Ian King There is a spelling mistake in a dev_err message. Fix it. Signed-off-by: Colin Ian King --- sound/soc/codecs/hdmi-codec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/hdmi-codec.c b/sound/soc/codecs/hdmi-codec.c index

Re: [PATCH v4 07/16] locking/rwsem: Implement lock handoff to prevent lock starvation

2019-04-17 Thread Waiman Long
On 04/17/2019 03:13 AM, Peter Zijlstra wrote: > On Tue, Apr 16, 2019 at 05:07:26PM -0400, Waiman Long wrote: > >> Thinking about it again. I think I will just change its definition to >> "((HZ + 249)/250)" for now to make sure that it is at least 1. The > DIV_ROUND_UP() Sure. Thanks, Longman

Re: [PATCH v4] media: docs-rst: Document m2m stateless video decoder interface

2019-04-17 Thread Nicolas Dufresne
Le mercredi 17 avril 2019 à 17:40 +0200, Paul Kocialkowski a écrit : > Hi, > > On Wed, 2019-04-17 at 11:30 -0400, Nicolas Dufresne wrote: > > Le dimanche 14 avril 2019 à 18:41 +0200, Paul Kocialkowski a écrit : > > > Hi, > > > > > > Le vendredi 12 avril 2019 à 16:47 -0400, Nicolas Dufresne a

Re: [PATCH v4] media: docs-rst: Document m2m stateless video decoder interface

2019-04-17 Thread Nicolas Dufresne
Le mardi 16 avril 2019 à 09:37 +0200, Paul Kocialkowski a écrit : > Hi, > > Le lundi 15 avril 2019 à 11:30 -0400, Nicolas Dufresne a écrit : > > Le lundi 15 avril 2019 à 15:26 +0200, Paul Kocialkowski a écrit : > > > Hi, > > > > > > On Mon, 2019-04-15 at 08:24 -0400, Nicolas Dufresne wrote: > >

Re: [PATCH 1/5] glibc: Perform rseq(2) registration at C startup and thread creation (v8)

2019-04-17 Thread Joseph Myers
On Wed, 17 Apr 2019, Mathieu Desnoyers wrote: > > +/* RSEQ_SIG is a signature required before each abort handler code. > > + > > + It is a 32-bit value that maps to actual architecture code compiled > > + into applications and libraries. It needs to be defined for each > > + architecture.

Re: [PATCH RFC 1/1] kernfs: keep kernfs node alive for __kernfs_remove()

2019-04-17 Thread Konstantin Khorenko
On 04/16/2019 10:17 PM, Tejun Heo wrote: > On Tue, Apr 16, 2019 at 06:53:35PM +0300, Konstantin Khorenko wrote: >> __kernfs_remove() which is called under kernfs_mutex, >> assumes nobody kills kernfs node whie it's working on it >> and "get"s current kernfs node for that. >> >> But we hit a

Re: [PATCH v4 07/10] drivers: pinctrl: msm: setup GPIO irqchip hierarchy

2019-04-17 Thread Lina Iyer
On Fri, Mar 15 2019 at 10:28 -0600, Stephen Boyd wrote: Quoting Lina Iyer (2019-03-13 14:18:41) --- Changes in v4: - Remove irq_set_wake() on summary IRQ interrupt Changes in v3: - Use of_irq_domain_map() and pass PDC pin to parent irqdomain Changes in v2: - Call parent

Re: [PATCH v4 2/2] x86/boot/KASLR: skip the specified crashkernel region

2019-04-17 Thread Borislav Petkov
On Wed, Apr 17, 2019 at 01:53:37PM +0800, Pingfan Liu wrote: > Take __parse_crashkernel()->parse_crashkernel_simple() for example. If > no offset given, then it still return 0, but crash_base is dangling. Well, that is bad design. parse_crashkernel_simple() should return a *separate* distinct

Re: + mm-memcontrol-make-cgroup-stats-and-events-query-api-explicitly-local.patch added to -mm tree

2019-04-17 Thread Johannes Weiner
On Mon, Apr 15, 2019 at 06:51:32PM -0700, a...@linux-foundation.org wrote: > > The patch titled > Subject: mm: memcontrol: make cgroup stats and events query API > explicitly local > has been added to the -mm tree. Its filename is > >

Re: [PATCH v3 13/13] platform/x86: intel_cht_int33fe: Replacing the old connections with references

2019-04-17 Thread Hans de Goede
Hi, On 17-04-19 12:44, Heikki Krogerus wrote: On Wed, Apr 17, 2019 at 12:15:18PM +0200, Hans de Goede wrote: Hi, On 17-04-19 11:32, Heikki Krogerus wrote: On Wed, Apr 17, 2019 at 11:19:28AM +0200, Hans de Goede wrote: That is not going to work since the (virtual) mux /

Re: [PATCH v3 1/3] dt-bindings: input: add GPIO controllable vibrator

2019-04-17 Thread Luca Weiss
On Freitag, 12. April 2019 17:06:23 CEST Luca Weiss wrote: > Provide a simple driver for GPIO controllable vibrators. > It will be used by the Fairphone 2. > > Signed-off-by: Luca Weiss > --- > .../bindings/input/gpio-vibrator.txt | 20 +++ > 1 file changed, 20

[GIT PULL] tee subsys for v5.2

2019-04-17 Thread Jens Wiklander
Hello arm-soc maintainers, Please pull this OP-TEE driver patch. It allows the OP-TEE driver to work without a static carved out shared memory area. Thanks, Jens The following changes since commit 1c163f4c7b3f621efff9b28a47abb36f7378d783: Linux 5.0 (2019-03-03 15:21:29 -0800) are available

Re: [PATCH 1/5] glibc: Perform rseq(2) registration at C startup and thread creation (v8)

2019-04-17 Thread Mathieu Desnoyers
- On Apr 16, 2019, at 1:32 PM, Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote: [...] > diff --git a/sysdeps/unix/sysv/linux/aarch64/bits/rseq.h > b/sysdeps/unix/sysv/linux/aarch64/bits/rseq.h > new file mode 100644 > index 00..b02471a89a > --- /dev/null > +++

RE: [PATCH] x86/entry/64: randomize kernel stack offset upon syscall

2019-04-17 Thread David Laight
From: Theodore Ts'o > Sent: 17 April 2019 16:16 > On Wed, Apr 17, 2019 at 09:28:35AM +, David Laight wrote: > > > > If you can guarantee back to back requests on the PRNG then it is probably > > possible to recalculate its state from 'bits of state'/5 calls. > > Depend on the PRNG this might

Re: [RFC][PATCHSET] sorting out RCU-delayed stuff in ->destroy_inode()

2019-04-17 Thread David Sterba
On Tue, Apr 16, 2019 at 06:49:00PM +0100, Al Viro wrote: > We have a lot of boilerplate in ->destroy_inode() > instances, and several filesystems got the things wrong > in that area. The patchset below attempts to deal with that. > > New method (void ->free_inode(inode)) is

Re: + mm-fix-inactive-list-balancing-between-numa-nodes-and-cgroups.patch added to -mm tree

2019-04-17 Thread Johannes Weiner
On Mon, Apr 15, 2019 at 02:27:44PM -0700, a...@linux-foundation.org wrote: > > The patch titled > Subject: mm: fix inactive list balancing between NUMA nodes and cgroups > has been added to the -mm tree. Its filename is >

Re: [PATCH V1 3/3] regulator: slg51000: add slg51000 regulator driver

2019-04-17 Thread Mark Brown
On Wed, Apr 17, 2019 at 11:25:29AM +, Eric Hyeung Dong Jeong wrote: > On Wednesday, April 17, 2019 12:25 AM +0900, Mark Brown wrote: > > This looks like it should be a get_status() operation as it's reading > > status bits rather than the command we sent to the device - for that > > just use

Re: [PATCH v3] proc/sysctl: add shared variables for range check

2019-04-17 Thread Matthew Wilcox
On Wed, Apr 17, 2019 at 03:15:31PM +0200, Matteo Croce wrote: > In the sysctl code the proc_dointvec_minmax() function is often used to > validate the user supplied value between an allowed range. This function > uses the extra1 and extra2 members from struct ctl_table as minimum and > maximum

Re: [PATCH v1] perf record: collect user registers set jointly with dwarf stacks

2019-04-17 Thread Arnaldo Carvalho de Melo
On April 17, 2019 11:40:02 AM GMT-03:00, Jiri Olsa wrote: >On Wed, Apr 17, 2019 at 11:35:42AM -0300, Arnaldo Carvalho de Melo >wrote: >> Em Wed, Apr 17, 2019 at 09:39:52AM +0200, Jiri Olsa escreveu: >> > On Mon, Apr 15, 2019 at 06:36:13PM +0300, Alexey Budankov wrote: >> > > >> > > When dwarf

Re: [v2 RFC PATCH 0/9] Another Approach to Use PMEM as NUMA Node

2019-04-17 Thread Keith Busch
On Wed, Apr 17, 2019 at 05:39:23PM +0200, Michal Hocko wrote: > On Wed 17-04-19 09:23:46, Keith Busch wrote: > > On Wed, Apr 17, 2019 at 11:23:18AM +0200, Michal Hocko wrote: > > > On Tue 16-04-19 14:22:33, Dave Hansen wrote: > > > > Keith Busch had a set of patches to let you specify the demotion

Re: [PATCH] regulator: core: do not report EPROBE_DEFER as error.

2019-04-17 Thread Mark Brown
On Wed, Apr 17, 2019 at 10:54:11AM +0200, Jorge Ramirez-Ortiz wrote: > Do not log a temporary failure to get a regulator (EPROBE_DEFER) while > the driver is requesting retries. > - dev_err(dev, "Failed to get supply '%s': %d\n", > -

[PATCH v3] x86: mm: Do not use set_{pud,pmd}_safe when splitting the large page

2019-04-17 Thread Singh, Brijesh
The following commit 0a9fe8ca844d ("x86/mm: Validate kernel_physical_mapping_init() PTE population") triggers the below warning in the SEV guest. WARNING: CPU: 0 PID: 0 at arch/x86/include/asm/pgalloc.h:87 phys_pmd_init+0x30d/0x386 Call Trace: kernel_physical_mapping_init+0xce/0x259

Re: kernel BUG at kernel/cred.c:434!

2019-04-17 Thread Paul Moore
On Wed, Apr 17, 2019 at 10:57 AM Oleg Nesterov wrote: > On 04/17, Paul Moore wrote: > > > > I'm tempted to simply return an error in selinux_setprocattr() if > > the task's credentials are not the same as its real_cred; > > What about other modules? I have no idea what smack_setprocattr() is, >

Re: [PATCH] x86/entry/64: randomize kernel stack offset upon syscall

2019-04-17 Thread Kees Cook
On Wed, Apr 17, 2019 at 10:17 AM Theodore Ts'o wrote: > > On Wed, Apr 17, 2019 at 09:28:35AM +, David Laight wrote: > > > > If you can guarantee back to back requests on the PRNG then it is probably > > possible to recalculate its state from 'bits of state'/5 calls. > > Depend on the PRNG

Re: kernel BUG at kernel/cred.c:434!

2019-04-17 Thread Casey Schaufler
On 4/17/2019 7:57 AM, Oleg Nesterov wrote: On 04/17, Paul Moore wrote: I'm tempted to simply return an error in selinux_setprocattr() if the task's credentials are not the same as its real_cred; What about other modules? I have no idea what smack_setprocattr() is, but it too does

Re: [v2 RFC PATCH 0/9] Another Approach to Use PMEM as NUMA Node

2019-04-17 Thread Michal Hocko
On Wed 17-04-19 09:23:46, Keith Busch wrote: > On Wed, Apr 17, 2019 at 11:23:18AM +0200, Michal Hocko wrote: > > On Tue 16-04-19 14:22:33, Dave Hansen wrote: > > > Keith Busch had a set of patches to let you specify the demotion order > > > via sysfs for fun. The rules we came up with were: > >

Re: [PATCH 1/7] s390: zcrypt: driver callback to indicate resource in use

2019-04-17 Thread Halil Pasic
On Mon, 15 Apr 2019 18:43:24 -0400 Tony Krowiak wrote: > On 4/15/19 2:59 PM, Halil Pasic wrote: > > On Mon, 15 Apr 2019 12:51:23 -0400 > > Tony Krowiak wrote: > > > >> Having said that, I understand your concern about a driver hogging > >> resources. I think I can provide a solution that

Re: [PATCH v3 3/3] module: Make __tracepoints_ptrs as read-only

2019-04-17 Thread Paul E. McKenney
On Wed, Apr 17, 2019 at 05:16:18PM +0200, Jessica Yu wrote: > +++ Steven Rostedt [10/04/19 20:44 -0400]: > >On Wed, 10 Apr 2019 16:29:02 -0400 > >Joel Fernandes wrote: > > > >>The srcu structure pointer array is modified at module load time because the > >>array is fixed up by the module loader

Re: rseq/arm32: choosing rseq code signature

2019-04-17 Thread Mathieu Desnoyers
- On Apr 17, 2019, at 10:43 AM, Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote: > - On Apr 17, 2019, at 6:37 AM, richard earnshaw richard.earns...@arm.com > wrote: > >> On 16/04/2019 14:39, Mathieu Desnoyers wrote: >>> - On Apr 15, 2019, at 9:37 AM, Mathieu Desnoyers >>>

Re: [PATCH v4] media: docs-rst: Document m2m stateless video decoder interface

2019-04-17 Thread Nicolas Dufresne
Le dimanche 14 avril 2019 à 18:41 +0200, Paul Kocialkowski a écrit : > Hi, > > Le vendredi 12 avril 2019 à 16:47 -0400, Nicolas Dufresne a écrit : > > Le mercredi 06 mars 2019 à 17:00 +0900, Alexandre Courbot a écrit : > > > Documents the protocol that user-space should follow when > > >

Re: [v2 RFC PATCH 0/9] Another Approach to Use PMEM as NUMA Node

2019-04-17 Thread Keith Busch
On Wed, Apr 17, 2019 at 11:23:18AM +0200, Michal Hocko wrote: > On Tue 16-04-19 14:22:33, Dave Hansen wrote: > > Keith Busch had a set of patches to let you specify the demotion order > > via sysfs for fun. The rules we came up with were: > > I am not a fan of any sysfs "fun" I'm hung up on the

[PATCH] ASoC: Mediatek: MT8183: Fix build err while CONFIG_I2C set to module

2019-04-17 Thread Yue Haibing
From: YueHaibing During randconfig builds, I occasionally run into an invalid configuration WARNING: unmet direct dependencies detected for SND_SOC_TS3A227E Depends on [m]: SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && I2C [=m] Selected by [y]: -

[PATCH -next] drm/panfrost: depend on !GENERIC_ATOMIC64 when using COMPILE_TEST

2019-04-17 Thread Steven Price
Since panfrost has a 'select' on IOMMU_IO_PGTABLE_LPAE we must depend on the same set of flags. Otherwise IOMMU_IO_PGTABLE_LPAE will be forced on even though it cannot build (no support for cmpxchg64). This fixes the following warning from kconfig: WARNING: unmet direct dependencies detected for

fsi: use put_device to release resource on error path

2019-04-17 Thread Pan Bian
In the function fsi_slave_init, kfree is used to release slave if error occurs during set smode. Some fields of slave will not be released. Resulting in memory leak. Instread, put_device should be used to correctly release resources. Fixes: d1dcd6782576("fsi: Add cfam char devices")

[PATCH v5 2/5] ARM: dts: da850-lego-ev3: enable cpufreq

2019-04-17 Thread Bartosz Golaszewski
From: David Lechner Add a fixed regulator for the LEGO EV3 board along with board-specific CPU configuration. Signed-off-by: David Lechner Signed-off-by: Bartosz Golaszewski --- arch/arm/boot/dts/da850-lego-ev3.dts | 30 1 file changed, 30 insertions(+) diff

[PATCH v5 3/5] ARM: dts: da850-lcdk: enable cpufreq

2019-04-17 Thread Bartosz Golaszewski
From: David Lechner Add a fixed regulator for the da850-lcdk board along with board-specific CPU configuration. Signed-off-by: David Lechner Signed-off-by: Bartosz Golaszewski --- arch/arm/boot/dts/da850-lcdk.dts | 36 1 file changed, 36 insertions(+) diff

[PATCH v5 5/5] ARM: davinci_all_defconfig: Enable CPUFREQ_DT

2019-04-17 Thread Bartosz Golaszewski
From: David Lechner This sets CONFIG_CPUFREQ_DT=m in davinci_all_defconfig. This is used for frequency scaling on device tree boards. Signed-off-by: David Lechner Signed-off-by: Bartosz Golaszewski --- arch/arm/configs/davinci_all_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v5 4/5] ARM: dts: da850-evm: enable cpufreq

2019-04-17 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Enable cpufreq-dt support for da850-evm. The cvdd is supplied by the tps65070 pmic with configurable output voltage. By default da850-evm boards support frequencies up to 375MHz so enable this operating point. Signed-off-by: Bartosz Golaszewski Reviewed-by: Adam Ford

[PATCH v5 0/5] ARM: da850: enable cpufreq in DT mode

2019-04-17 Thread Bartosz Golaszewski
From: Bartosz Golaszewski This series adds cpufreq-dt operating points for da850 boards supported with device tree (da850-lcdk, da850-lego-ev3, da850-evm). Last patch enables CPUFREQ_DT in davinci_all_defconfig. v1 -> v2: - use the VDCDC3_1.2V regulator as cpu-supply on da850-evm v2 -> v3: -

[PATCH v5 1/5] ARM: dts: da850: add cpu node and operating points to DT

2019-04-17 Thread Bartosz Golaszewski
From: David Lechner This adds a cpu node and operating points to the common da850.dtsi file. All operating points above 300MHz are disabled by default. Regulators need to be hooked up on a per-board basis. Signed-off-by: David Lechner Signed-off-by: Bartosz Golaszewski ---

Re: [PATCH v1 3/4] signal: support CLONE_PIDFD with pidfd_send_signal

2019-04-17 Thread Oleg Nesterov
On 04/17, Christian Brauner wrote: > > On Wed, Apr 17, 2019 at 04:01:06PM +0200, Oleg Nesterov wrote: > > On 04/16, Christian Brauner wrote: > > > > > > @@ -3581,12 +3588,12 @@ SYSCALL_DEFINE4(pidfd_send_signal, int, pidfd, > > > int, sig, > > > if (flags) > > > return -EINVAL; > > >

Re: [v2 RFC PATCH 0/9] Another Approach to Use PMEM as NUMA Node

2019-04-17 Thread Keith Busch
On Tue, Apr 16, 2019 at 04:17:44PM -0700, Yang Shi wrote: > On 4/16/19 4:04 PM, Dave Hansen wrote: > > On 4/16/19 2:59 PM, Yang Shi wrote: > > > On 4/16/19 2:22 PM, Dave Hansen wrote: > > > > Keith Busch had a set of patches to let you specify the demotion order > > > > via sysfs for fun.  The

Re: [PATCH] x86/entry/64: randomize kernel stack offset upon syscall

2019-04-17 Thread Theodore Ts'o
On Wed, Apr 17, 2019 at 09:28:35AM +, David Laight wrote: > > If you can guarantee back to back requests on the PRNG then it is probably > possible to recalculate its state from 'bits of state'/5 calls. > Depend on the PRNG this might be computationally expensive. > For some PRNG it will be

Re: [PATCH v3 3/3] module: Make __tracepoints_ptrs as read-only

2019-04-17 Thread Jessica Yu
+++ Steven Rostedt [10/04/19 20:44 -0400]: On Wed, 10 Apr 2019 16:29:02 -0400 Joel Fernandes wrote: The srcu structure pointer array is modified at module load time because the array is fixed up by the module loader at load-time with the final locations of the tracepoints right? Basically

Re: [PATCH v2] panic: add an option to replay all the printk message in buffer

2019-04-17 Thread Feng Tang
On Wed, Apr 17, 2019 at 02:24:58PM +0200, Petr Mladek wrote: > On Wed 2019-04-17 19:50:10, Sergey Senozhatsky wrote: > > On (04/17/19 18:46), Sergey Senozhatsky wrote: > > > > > > Does not look too complex/ugly. > > > > Looks simpler than adding one more global state to the > > console_unlock()

[PATCH v3] ARM: debug-ll: add default address for digicolor

2019-04-17 Thread Arnd Bergmann
The digicolor platform has three UARTs, but the Kconfig.debug file explicitly lists port zero as the one to be used for the console, while not providing any default values. This can get an automated randconfig build stuck in a loop waiting for the user to input the number. As we already know the

Re: [PATCH v2] ARM: debug-ll: add default address for digicolor

2019-04-17 Thread Arnd Bergmann
On Wed, Apr 17, 2019 at 4:18 PM Baruch Siach wrote: > On Wed, Apr 17 2019, Arnd Bergmann wrote: > > diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug > > index 6d6e0330930b..12c0d29b75e3 100644 > > --- a/arch/arm/Kconfig.debug > > +++ b/arch/arm/Kconfig.debug > > @@ -1677,6 +1677,7 @@

[PATCH -next] ASoC: Intel: Haswell: Remove set but not used variable 'stage_type'

2019-04-17 Thread Yue Haibing
From: YueHaibing Fixes gcc '-Wunused-but-set-variable' warning: sound/soc/intel/haswell/sst-haswell-ipc.c: In function 'hsw_stream_message': sound/soc/intel/haswell/sst-haswell-ipc.c:669:29: warning: variable 'stage_type' set but not used [-Wunused-but-set-variable] It is never used since

Re: [PATCH] iio: accel: add missing sensor for some 2-in-1 based ultrabooks

2019-04-17 Thread Hans de Goede
Hi, On 15-04-19 17:40, l...@aurorafoss.org wrote: April 6, 2019 10:36 AM, "Hans de Goede" wrote: Hi, Yes that seems the best way forward with this. Note I think "base" is better then "keyboard" for the sensor which is in the base/keyboard. But neither is perfect, so go which whatever you

Re: [PATCH] mm: fix false-positive OVERCOMMIT_GUESS failures

2019-04-17 Thread Johannes Weiner
On Wed, Apr 17, 2019 at 02:04:17PM +0200, Vlastimil Babka wrote: > On 4/12/19 10:06 PM, Roman Gushchin wrote: > > On Fri, Apr 12, 2019 at 03:14:18PM -0400, Johannes Weiner wrote: > >> With the default overcommit==guess we occasionally run into mmap > >> rejections despite plenty of memory that

Re: [RFC PATCH v1 1/5] fs: Add support for an O_MAYEXEC flag on sys_open()

2019-04-17 Thread Mickaël Salaün
On 17/04/2019 12:01, Florian Weimer wrote: > * Steve Grubb: > >> On Tuesday, April 16, 2019 7:49:39 AM EDT Florian Weimer wrote: >>> * Steve Grubb: This flag that is being proposed means that you would have to patch all interpreters to use it. If you are sure that upstreams will accept

Re: [RFC PATCH v1 1/5] fs: Add support for an O_MAYEXEC flag on sys_open()

2019-04-17 Thread Mickaël Salaün
On 15/04/2019 20:47, Steve Grubb wrote: > Hello, > > On Wednesday, December 12, 2018 9:43:06 AM EDT Jan Kara wrote: >> On Wed 12-12-18 09:17:08, Mickaël Salaün wrote: >>> When the O_MAYEXEC flag is passed, sys_open() may be subject to >>> additional restrictions depending on a security policy

[PATCH -next] ASoC: tlv320aic32x4: Remove set but not used variable 'mclk_rate'

2019-04-17 Thread Yue Haibing
From: YueHaibing Fixes gcc '-Wunused-but-set-variable' warning: sound/soc/codecs/tlv320aic32x4.c: In function 'aic32x4_setup_clocks': sound/soc/codecs/tlv320aic32x4.c:669:16: warning: variable 'mclk_rate' set but not used [-Wunused-but-set-variable] It is not used since introduction in commit

Re: [PATCH v2 RESEND 1/2] x86/mm/KASLR: Fix the size of the direct mapping section

2019-04-17 Thread Borislav Petkov
On Wed, Apr 17, 2019 at 04:35:36PM +0800, Baoquan He wrote: > I made a new one to add this fact, I can repost if it's OK to you. No, it looks ok and I can take it from here. Also, resending too often is annoying, as I'm sure you know. Try to stick to resending once a week. Thx. --

[PATCH -next] staging: most: configfs: Make mdev_link_list static

2019-04-17 Thread Yue Haibing
From: YueHaibing Fix sparse warning: drivers/staging/most/configfs.c:34:18: warning: symbol 'mdev_link_list' was not declared. Should it be static? Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/staging/most/configfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH 0/7] arm64: meson: g12a: add audio devices

2019-04-17 Thread Kevin Hilman
Jerome Brunet writes: > On Tue, 2019-04-16 at 12:22 -0700, Kevin Hilman wrote: >> On Tue, Apr 16, 2019 at 11:52 AM Kevin Hilman wrote: >> > Jerome Brunet writes: >> > >> > > This patchset adds most the audio devices of the g12a SoCs. >> > > >> > > Kevin, couple of things worth noting: >> > >

Re: kernel BUG at kernel/cred.c:434!

2019-04-17 Thread Oleg Nesterov
On 04/17, Paul Moore wrote: > > I'm tempted to simply return an error in selinux_setprocattr() if > the task's credentials are not the same as its real_cred; What about other modules? I have no idea what smack_setprocattr() is, but it too does prepare_creds/commit creds. it seems that the

Re: [PATCH] prctl: Don't compile some of prctl functions when CRUI

2019-04-17 Thread Cyrill Gorcunov
On Wed, Apr 17, 2019 at 04:44:54PM +0200, Michal Koutný wrote: > On Wed, Apr 17, 2019 at 03:38:41PM +0300, Cyrill Gorcunov > wrote: > > I've a bit vague memory what we've ended up with, but iirc there was > > a problem with brk() syscall or similar. Then I think we left everything > > as is. > >

Re: [PATCH] mm: get_cmdline use arg_lock instead of mmap_sem

2019-04-17 Thread Michal Hocko
On Wed 17-04-19 16:41:42, Michal Koutny wrote: > On Wed, Apr 17, 2019 at 03:41:52PM +0200, Michal Hocko > wrote: > > Don't we need to use the lock in prctl_set_mm as well then? > > Correct. The patch alone just moves the race from > get_cmdline/prctl_set_mm_map to get_cmdline/prctl_set_mm. > >

[PATCH] perf bpf: Return NULL when RB tree lookup fails in perf_env__find_btf()

2019-04-17 Thread Jiri Olsa
We currently don't return NULL in case we don't find the bpf_prog_info_node, fixing that. Signed-off-by: Jiri Olsa Cc: Alexander Shishkin Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Song Liu Fixes: 3792cb2ff43b ("perf bpf: Save BTF in a rbtree in perf_env") Link:

[RFC 2/2] clocksource: timer-davinci: add support for clocksource

2019-04-17 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Extend the davinci-timer driver to also register a clock source. Signed-off-by: Bartosz Golaszewski --- drivers/clocksource/timer-davinci.c | 70 + 1 file changed, 70 insertions(+) diff --git a/drivers/clocksource/timer-davinci.c

[RFC 1/2] clocksource: davinci-timer: add support for clockevents

2019-04-17 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Currently the clocksource and clockevent support for davinci platforms lives in mach-davinci. It hard-codes many things, uses global variables, implements functionalities unused by any platform and has code fragments scattered across many (often unrelated) files.

[RFC 0/2] clocksource: davinci-timer: new driver

2019-04-17 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Hi Daniel, as discussed - this is the davinci timer driver split into the clockevent and clocksource parts. Since it won't work without all the other (left out for now) changes, I'm marking it as RFC. The code has been simplified as requested, the duplicated enums

Re: [PATCH] prctl: Don't compile some of prctl functions when CRUI

2019-04-17 Thread Michal Koutný
On Wed, Apr 17, 2019 at 03:38:41PM +0300, Cyrill Gorcunov wrote: > I've a bit vague memory what we've ended up with, but iirc there was > a problem with brk() syscall or similar. Then I think we left everything > as is. Was this related to the removal of non PR_SET_MM_MAP operations too? Do you

Re: [RFC PATCH v2] perf/x86: make perf callchain work without CONFIG_FRAME_POINTER

2019-04-17 Thread Kairui Song
On Wed, Apr 17, 2019 at 4:16 AM Josh Poimboeuf wrote: > > On Wed, Apr 17, 2019 at 01:39:19AM +0800, Kairui Song wrote: > > On Tue, Apr 16, 2019 at 7:30 PM Kairui Song wrote: > > > > > > On Tue, Apr 16, 2019 at 12:59 AM Josh Poimboeuf > > > wrote: > > > > > > > > On Mon, Apr 15, 2019 at

Re: rseq/arm32: choosing rseq code signature

2019-04-17 Thread Mathieu Desnoyers
- On Apr 17, 2019, at 6:37 AM, richard earnshaw richard.earns...@arm.com wrote: > On 16/04/2019 14:39, Mathieu Desnoyers wrote: >> - On Apr 15, 2019, at 9:37 AM, Mathieu Desnoyers >> mathieu.desnoy...@efficios.com wrote: >> >>> - On Apr 15, 2019, at 9:30 AM, peter maydell

Re: [RFC PATCH v2] perf/x86: make perf callchain work without CONFIG_FRAME_POINTER

2019-04-17 Thread Kairui Song
On Wed, Apr 17, 2019 at 1:45 AM Peter Zijlstra wrote: > > On Wed, Apr 17, 2019 at 01:39:19AM +0800, Kairui Song wrote: > > And I also think the "fake"/"real" reg is fragile, could we abuse > > another eflag (just like PERF_EFLAGS_EXACT) to indicate the regs are > > partially dumped fake

Re: [PATCH] mm: get_cmdline use arg_lock instead of mmap_sem

2019-04-17 Thread Michal Koutný
On Wed, Apr 17, 2019 at 03:41:52PM +0200, Michal Hocko wrote: > Don't we need to use the lock in prctl_set_mm as well then? Correct. The patch alone just moves the race from get_cmdline/prctl_set_mm_map to get_cmdline/prctl_set_mm. arg_lock could be used in prctl_set_mm but the better idea

Re: [PATCH 05/12] dma-buf: add explicit buffer pinning

2019-04-17 Thread Daniel Vetter
On Wed, Apr 17, 2019 at 04:30:51PM +0200, Daniel Vetter wrote: > On Wed, Apr 17, 2019 at 04:20:02PM +0200, Daniel Vetter wrote: > > On Tue, Apr 16, 2019 at 08:38:34PM +0200, Christian König wrote: > > > Add optional explicit pinning callbacks instead of implicitly assume the > > > exporter pins

Re: [PATCH v1] perf record: collect user registers set jointly with dwarf stacks

2019-04-17 Thread Jiri Olsa
On Wed, Apr 17, 2019 at 11:35:42AM -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, Apr 17, 2019 at 09:39:52AM +0200, Jiri Olsa escreveu: > > On Mon, Apr 15, 2019 at 06:36:13PM +0300, Alexey Budankov wrote: > > > > > > When dwarf stacks are collected jointly with user specified register > > > set

Re: [PATCH] dt-bindings: spi: spi-mt65xx: add support for MT8516

2019-04-17 Thread Mark Brown
On Wed, Apr 17, 2019 at 04:47:16PM +0800, Leilk Liu wrote: > Add binding documentation of spi-mt65xx for MT8516 SOC. Please use subject lines matching the style for the subsystem. This makes it easier for people to identify relevant patches. signature.asc Description: PGP signature

Re: IOMMU Page faults when running DMA transfers from PCIe device

2019-04-17 Thread Jerome Glisse
On Wed, Apr 17, 2019 at 04:17:09PM +0200, Patrick Brunner wrote: > Am Dienstag, 16. April 2019, 17:33:07 CEST schrieb Jerome Glisse: > > On Mon, Apr 15, 2019 at 06:04:11PM +0200, Patrick Brunner wrote: > > > Dear all, > > > > > > I'm encountering very nasty problems regarding DMA transfers from

Re: [PATCH v10 0/7] Add Fieldbus subsystem + support HMS Profinet card

2019-04-17 Thread Sven Van Asbroeck
On Tue, Apr 16, 2019 at 5:21 PM Enrico Weigelt, metux IT consult wrote: > > Yet another question: does each fieldbus_dev instance talk to exactly > one plc process memory, or can there be many ? I'm by no means a fieldbus expert, so I had a little chat with one of the fieldbus people in the

Re: [PATCH v4 03/10] of/irq: document properties for wakeup interrupt parent

2019-04-17 Thread Linus Walleij
On Wed, Mar 13, 2019 at 10:19 PM Lina Iyer wrote: > +Mapping the interrupt specifiers in the device tree can be done using the > +"irqdomain-map" property. The property contains interrupt specifier at the > +current interrupt controller followed by the interrupt specifier at the > mapped >

Re: [PATCH v1] perf record: collect user registers set jointly with dwarf stacks

2019-04-17 Thread Arnaldo Carvalho de Melo
Em Wed, Apr 17, 2019 at 09:39:52AM +0200, Jiri Olsa escreveu: > On Mon, Apr 15, 2019 at 06:36:13PM +0300, Alexey Budankov wrote: > > > > When dwarf stacks are collected jointly with user specified register > > set using --user-regs option like below the full register context is > > still captured

Re: [PATCH 1/5] regulator: arizona: Switch to SPDX identifier

2019-04-17 Thread Richard Fitzgerald
On 17/04/19 15:16, Axel Lin wrote: Signed-off-by: Axel Lin --- drivers/regulator/arizona-ldo1.c| 19 +++ drivers/regulator/arizona-micsupp.c | 19 +++ 2 files changed, 14 insertions(+), 24 deletions(-) diff --git a/drivers/regulator/arizona-ldo1.c

[RFC PATCH 3/3] x86: mm: Switch to using generic pt_dump

2019-04-17 Thread Steven Price
Instead of providing our own callbacks for walking the page tables, switch to using the generic version instead. Signed-off-by: Steven Price --- arch/x86/Kconfig | 1 + arch/x86/Kconfig.debug| 20 +-- arch/x86/mm/Makefile | 4 +- arch/x86/mm/dump_pagetables.c

[RFC PATCH 2/3] arm64: mm: Switch to using generic pt_dump

2019-04-17 Thread Steven Price
Instead of providing our own callbacks for walking the page tables, switch to using the generic version instead. Signed-off-by: Steven Price --- arch/arm64/Kconfig | 1 + arch/arm64/Kconfig.debug| 19 +- arch/arm64/include/asm/ptdump.h | 8 +--

[RFC PATCH 1/3] mm: Add generic ptdump

2019-04-17 Thread Steven Price
Add a generic version of page table dumping that architectures can opt-in to Signed-off-by: Steven Price --- include/linux/ptdump.h | 19 + mm/Kconfig.debug | 21 ++ mm/Makefile| 1 + mm/ptdump.c| 159 + 4 files

Re: [PATCH v8 00/20] Convert x86 & arm64 to use generic page walk

2019-04-17 Thread Steven Price
On 12/04/2019 15:44, Dave Hansen wrote: > On 4/10/19 7:56 AM, Steven Price wrote: >> Gentle ping: who can take this? Is there anything blocking this series? > > First of all, I really appreciate that you tried this. Every open-coded > page walk has a set of common pitfalls, but is pretty

Re: kernel BUG at kernel/cred.c:434!

2019-04-17 Thread Paul Moore
On Tue, Apr 16, 2019 at 10:46 AM chengjian (D) wrote: > On 2019/4/16 11:40, Kees Cook wrote: > > On Mon, Apr 15, 2019 at 11:20 AM Paul Moore wrote: > >> On Mon, Apr 15, 2019 at 11:05 AM Oleg Nesterov wrote: > >>> On 04/15, Paul Moore wrote: > On Mon, Apr 15, 2019 at 9:43 AM Oleg Nesterov

Re: [PATCH v1 2/4] clone: add CLONE_PIDFD

2019-04-17 Thread Christian Brauner
On Wed, Apr 17, 2019 at 04:25:51PM +0200, Christian Brauner wrote: > On Wed, Apr 17, 2019 at 04:22:54PM +0200, Oleg Nesterov wrote: > > On 04/16, Christian Brauner wrote: > > > > > > + if (clone_flags & CLONE_PIDFD) { > > > + retval = pidfd_create(pid, ); > > > + if (retval < 0) >

<    1   2   3   4   5   6   7   8   9   >