[PATCH v2] prctl: add PR_[GS]ET_KILLABLE

2018-07-31 Thread Jürg Billeter
PR_SET_KILLABLE clears the SIGNAL_UNKILLABLE flag. This allows CLONE_NEWPID tasks to restore normal signal behavior, opting out of the special signal protection for init processes. This prctl does not allow setting the SIGNAL_UNKILLABLE flag, only clearing. The SIGNAL_UNKILLABLE flag, which is imp

Re: [PATCH V4 5/7] mmc: sdhci: add Auto CMD Auto Select support

2018-07-31 Thread Chunyan Zhang
Hi Adrian, On 30 July 2018 at 21:06, Adrian Hunter wrote: > On 23/07/18 13:08, Chunyan Zhang wrote: >> As SD Host Controller Specification v4.10 documents: >> Host Controller Version 4.10 defines this "Auto CMD Auto Select" mode. >> Selection of Auto CMD depends on setting of CMD23 Enable in the

Re: [PATCH 4/4] cpufreq: intel_pstate: enable boost for Skylake Xeon

2018-07-31 Thread Giovanni Gherdovich
On Mon, 2018-07-30 at 11:32 -0700, Francisco Jerez wrote: > Mel Gorman writes: >  > > On Sat, Jul 28, 2018 at 01:21:51PM -0700, Francisco Jerez wrote: > > > > > Please revert this series, it led to significant energy usage and > > > > > graphics performance regressions [1].  The reasons are roughl

[PATCH v2 20/32] ARM: dts: omap3-gta04: add devconf0 setup for mcbsp1 clock pins

2018-07-31 Thread H. Nikolaus Schaller
McBSP1 needs special "pinctrl" for the clocks. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi index cbb55b9c3242..39f0eb8f6

[PATCH v2 31/32] ARM: dts: omap3-gta04a5: define pinmux for bluetooth enable of ti,wl1837 module

2018-07-31 Thread H. Nikolaus Schaller
Properly pinmux the bluetooth enable so that it is not floating. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04a5.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04a5.dts b/arch/arm/boot/dts/omap3-gta04a5.dts index 973d07d0b4c8..bd

[PATCH v2 16/32] ARM: dts: omap3-gta04: map antenna detect GPIO to SW_LINEIN_INSERT key event

2018-07-31 Thread H. Nikolaus Schaller
GTA04 can detect presence/absence or plug-in of an external GPS antenna through a gpio. The best match for an event code is SW_LINEIN_INSERT. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/b

[PATCH v2 32/32] ARM: dts: omap3-gta04a5one: define GTA04A5 variant with OneNAND

2018-07-31 Thread H. Nikolaus Schaller
GTA04A5 has been produced with MCP chips either with 512MB RAM + 512MB NAND 512MB RAM + 1024MB NAND 1024MB RAM + 512MB OneNAND RAM setup is done by U-Boot (MLO/SPL) but OneNAND needs a different setup of the GPMC. So we need to derive a DTB variant that modifies the gpmc and nand setup. Signe

[PATCH v2 25/32] ARM: dts: omap3-gta04a5: fix model name

2018-07-31 Thread H. Nikolaus Schaller
GTA04 is the project name and Letux 2804 the product name. Report both. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04a5.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/omap3-gta04a5.dts b/arch/arm/boot/dts/omap3-gta04a5.dts index

[PATCH v2 27/32] ARM: dts: omap3-gta04a5: add support for PPS

2018-07-31 Thread H. Nikolaus Schaller
GPS receiver provides a 1PPS signal to a gpio. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04a5.dts | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04a5.dts b/arch/arm/boot/dts/omap3-gta04a5.dts index d408eb05cdfa..e3f9e0

[PATCH v2 19/32] ARM: dts: omap3-gta04: add mcbsp (audio subsystem) pinmux

2018-07-31 Thread H. Nikolaus Schaller
GTA04 audio system makes use of all four McBSP ports, so set up proper pinmux. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04.dtsi | 39 ++ 1 file changed, 39 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boo

[PATCH v2 28/32] ARM: dts: omap3-gta04a5: disable IrDA receiver to save power

2018-07-31 Thread H. Nikolaus Schaller
The GTA04A5 has an improved IrDA circuit that can enable/disable the receiver individually. We do not have an IrDA driver/subsystem and hence the receiver should be actively turned off to save power, especially in suspend. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04a5.d

[PATCH v2 18/32] ARM: dts: omap3-gta04: add camera pinmux

2018-07-31 Thread H. Nikolaus Schaller
ISP needs camera pinmux (which is referenced by the camera node). Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04.dtsi | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi in

[PATCH v2 22/32] ARM: dts: omap3-gta04a3: fix model name for A3 variant

2018-07-31 Thread H. Nikolaus Schaller
GTA04 is the project name and Letux 2804 the product name. Report both. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04a3.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/omap3-gta04a3.dts b/arch/arm/boot/dts/omap3-gta04a3.dts index

[PATCH v2 26/32] ARM: dts: omap3-gta04a5: fix whitepsace and tab style

2018-07-31 Thread H. Nikolaus Schaller
in node sound / property ti,jack-det-gpio. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04a5.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/omap3-gta04a5.dts b/arch/arm/boot/dts/omap3-gta04a5.dts index c01b4715fb83..d408eb05cdfa 1

[PATCH v2 24/32] ARM: dts: omap3-gta04a5: fix copyright of A5 variant

2018-07-31 Thread H. Nikolaus Schaller
Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04a5.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/omap3-gta04a5.dts b/arch/arm/boot/dts/omap3-gta04a5.dts index 600b6ca5a1bd..b691e70773f9 100644 --- a/arch/arm/boot/dts/omap3-gta04a5.

[PATCH v2 23/32] ARM: dts: omap3-gta04a4: fix model name for A4 variant

2018-07-31 Thread H. Nikolaus Schaller
GTA04 is the project name and Letux 2804 the product name. Report both. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04a4.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/omap3-gta04a4.dts b/arch/arm/boot/dts/omap3-gta04a4.dts index

[PATCH v2 14/32] ARM: dts: omap3-gta04: explicitly describe that mmc1 has no CD/WP

2018-07-31 Thread H. Nikolaus Schaller
There are neither CD nor WP switches for mmc1. The µSD slot is located under the SIM card under the battery and not accessible during operation. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/omap3-

[PATCH v2 17/32] ARM: dts: omap3-gta04: add camera interface parallel port

2018-07-31 Thread H. Nikolaus Schaller
The GTA04 has an optional OV9655 camera (for which we do not yet have a driver upstream), but the ISP hardware connection description in the device tree is independent of that. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04.dtsi | 20 1 file changed, 2

[PATCH v2 29/32] ARM: dts: omap3-gta04a5: add support for ti,wl1837 module

2018-07-31 Thread H. Nikolaus Schaller
GTA04A5 uses a ti,wl1837 WiFi/Bluetooth module. Overwrite the mmc2 node and child. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04a5.dts | 58 + 1 file changed, 58 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04a5.dts b/arch/ar

[PATCH v2 13/32] ARM: dts: omap3-gta04: add warning comment to vaux2 regulator

2018-07-31 Thread H. Nikolaus Schaller
vaux2 should remain always on since a higher potential at vio could potentially damage the itg3200 sensor. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm

[PATCH v2 30/32] ARM: dts: omap3-gta04a5: uses different sensors than gta04a4

2018-07-31 Thread H. Nikolaus Schaller
Sensors for acceleration, rotation, magnetic heading and barometer have been replaced in the A5 variant. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04a5.dts | 27 +++ 1 file changed, 27 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04a5.dt

[PATCH v2 21/32] ARM: dts: omap3-gta04: add mcbsp (audio subsystem) nodes

2018-07-31 Thread H. Nikolaus Schaller
GTA04 audio system makes use of all four McBSP ports, so enable and connect them with pinmux. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04.dtsi | 31 +-- 1 file changed, 25 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/omap3-gt

[PATCH v2 05/32] ARM: dts: omap3-gta04: add devconf1 setup for correct tvout pins

2018-07-31 Thread H. Nikolaus Schaller
The VENC with external OPA362 amplifier needs a special "pinmux" setup in DEVCONF1 (TVOUTBYPASS and TVOUTACEN). Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b

[PATCH v2 11/32] ARM: dts: omap3-gta04: keep vpll2 always on

2018-07-31 Thread H. Nikolaus Schaller
This is needed to make the display and venc work properly. Compare to omap3-beagle.dts. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi in

[PATCH v2 15/32] ARM: dts: omap3-gta04: make use of input event include file and constants

2018-07-31 Thread H. Nikolaus Schaller
we can replace magic numbers by symbolic constants now. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi index bb4c9ad62edb..98

[PATCH v2 08/32] ARM: dts: omap3-gta04: add pinmux for bmp085 EOC interrupt

2018-07-31 Thread H. Nikolaus Schaller
Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi index ca818d35a5d9..b22e35959c29 100644 --- a/arch/arm/boot/dts/omap3-gta04.dtsi +++ b/ar

[PATCH v2 06/32] ARM: dts: omap3-gta04: tvout: enable as display1 alias

2018-07-31 Thread H. Nikolaus Schaller
The omap dss susbystem takes the display aliases to find out which displays exist. To enable tv-out we must define an alias. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/a

[PATCH v2 12/32] ARM: dts: omap3-gta04: add a comment how to reference the tca6507 gpio

2018-07-31 Thread H. Nikolaus Schaller
Make clear how to use the wifi_reset since it is not obvious. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi index 45d4b080341b

[PATCH v2 09/32] ARM: dts: omap3-gta04: make NAND partitions compatible with recent U-Boot

2018-07-31 Thread H. Nikolaus Schaller
Vendor defined U-Boot has changed the partition scheme a while ago: * kernel partition 6MB * file system partition uses the remainder up to end of the NAND * increased size of the environment partition (to get an OneNAND compatible base address) * shrink the U-Boot partition Let's be compatible

[PATCH v2 07/32] ARM: dts: omap3-gta04: fix touchscreen tsc2007

2018-07-31 Thread H. Nikolaus Schaller
we fix penirq polarity, add penirq pinmux and touchscreen properties. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04.dtsi | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gt

[PATCH v2 10/32] ARM: dts: omap3-gta04: update gpmc NAND setup

2018-07-31 Thread H. Nikolaus Schaller
to better match omap3-beagle.dts (which was the basis of designing the GTA04). Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04.dtsi | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/oma

[PATCH v2 04/32] ARM: dts: omap3-gta04: fixes for tvout / venc

2018-07-31 Thread H. Nikolaus Schaller
* fix connector compatibility (composite) * add comment for gpio1 23 * add proper #address-cells * we use only one venc_out channel for composite Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04.dtsi | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --gi

[PATCH v2 03/32] ARM: dts: omap3-gta04: give spi_lcd node a label so that we can overwrite in other DTS files

2018-07-31 Thread H. Nikolaus Schaller
needed for device variants based on GTA04 board but with different display panel (driver). Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-

[PATCH v2 02/32] ARM: dts: omap3-gta04: fix some whitespace and tab style errors

2018-07-31 Thread H. Nikolaus Schaller
tab+space -> tab onlyfor /* GSM audio */ spaces -> tab for dss_dpi_pins Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi

[PATCH v2 01/32] ARM: dts: omap3-gta04: fix typo in backlight pins node name

2018-07-31 Thread H. Nikolaus Schaller
mn -> nm for backlight_pins Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi index ac830b917776..9ad9cc62128e 100644 --- a/arch/a

[PATCH v2 00/32] Device Tree Updates for GTA04 (A3/A4/A5 variants)

2018-07-31 Thread H. Nikolaus Schaller
* Sebastian Reichel asked why we have reg=<0> for port@1. Based on his comment we have removed the change for the opa362 reg property in the DT, but worked out a correct fix in the opa362 driver which solves the issue better. See: https://lore.kernel.org/patchwork/patch/968407/ * Ladisla

Re: [PATCH] arm64: dts: hisilicon: Add missing clocks property for CPUs

2018-07-31 Thread Viresh Kumar
On 23-07-18, 08:36, Viresh Kumar wrote: > The clocks property should either be present for all the CPUs of a > cluster or none. If these are present only for a subset of CPUs of a > cluster then things will start falling apart as soon as the CPUs are > brought online in a different order. For examp

Re: [LKP] [lkp-robot] [confidence: ] 7757d607c6 [ 56.996267] BUG: Bad page map in process trinity-c2 pte:0d755065 pmd:0d55b067

2018-07-31 Thread Joerg Roedel
On Tue, Jul 31, 2018 at 10:00:36AM +0800, Ye Xiaolong wrote: > On 07/27, Joerg Roedel wrote: > >May I ask how this was bisected? I found it very hard to reproduce, it > >triggered less then two times a day with the attached reproducer. Given > >that the report came pretty fast after the patches lan

Re: [PATCH] PCI: let pci_request_irq properly deal with threaded interrupts

2018-07-31 Thread Lee Jones
On Tue, 31 Jul 2018, Thomas Gleixner wrote: > On Mon, 30 Jul 2018, Bjorn Helgaas wrote: > > > [+cc maintainers of possibly erroneous callers of request_threaded_irq()] > > > > On Mon, Jul 30, 2018 at 04:30:28PM -0500, Bjorn Helgaas wrote: > > > [+cc Thomas, Christoph, LKML] > > > > > > On Mon,

[PATCH v2] perf build: Fix installation directory for bpf

2018-07-31 Thread Thomas Richter
Perf tool build and install is controlled via makefile. Make install creates directories and copies files. Among them are header files installed in /usr/lib/include/perf/bpf/. However all listed examples are installing its header files in /usr/lib//...[/include]/header.h and not in /usr/lib/in

Re: linux-next: manual merge of the pinctrl tree with the devicetree tree

2018-07-31 Thread Ludovic BARRE
On 07/31/2018 07:42 AM, Stephen Rothwell wrote: Hi all, Today's linux-next merge of the pinctrl tree got a conflict in: Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.txt between commit: 791d3ef2e111 ("dt-bindings: remove 'interrupt-parent' from bindings") from the devic

[PATCH] Bluetooth: btusb: Disable Bluetooth controller during S3

2018-07-31 Thread Kai-Heng Feng
We've found there are several systems got woken up from S3 by Bluetooth controller. We do want the system to be able to be woken up by Bluetooth devices from Suspend2Idle, but not from S3. Unconditionally disables Bluetooth controller during S3 to avoid this issue. Bugzilla: https://bugzilla.ker

Re: [PATCH v2 16/17] driver/edac: enable Hygon support to AMD64 EDAC driver

2018-07-31 Thread Paolo Bonzini
On 30/07/2018 18:43, Pu Wen wrote: > On 2018-07-29 07:42, Paolo Bonzini wrote: >> On 23/07/2018 15:20, Pu Wen wrote: >>>  scrubval = scrubrates[i].scrubval; >>> >>> -    if (pvt->fam == 0x17) { >>> +    if (pvt->fam == 0x17 || pvt->fam == 0x18) { >>>  __f17h_set_scrubval(pvt, scrubval); >>>  } else

Re: [PATCH] x86: kvm: Restrict X86_FEATURE_VMMCALL to x86_64 platform

2018-07-31 Thread Paolo Bonzini
On 30/07/2018 21:40, Matthew Whitehead wrote: > early_init_amd() is called on all AMD processors, both 64 and 32 bit. > Presently 32 bit processors get the X86_FEATURE_VMMCALL feature set, which > they do not support. Add conditionals to restrict it to 64 bit processors. This shouldn't be necessar

Re: [PATCH 09/10] KVM: nVMX: include shadow vmcs12 in nested state

2018-07-31 Thread Paolo Bonzini
On 30/07/2018 21:11, Jim Mattson wrote: > Does this work with CONFIG_HARDENED_USERCOPY? Yes, kmalloc objects are exempt from the check (see new_kmalloc_cache). > Is VMCS12_SIZE better than sizeof(*vmcs12)? What if we are migrating > to a destination where sizeof(*vmcs12) is larger than it is on t

Re: [PATCH 06/10] KVM: x86: do not load vmcs12 pages while still in SMM

2018-07-31 Thread Paolo Bonzini
On 30/07/2018 21:27, Jim Mattson wrote: > On Sat, Jul 28, 2018 at 4:10 PM, Paolo Bonzini wrote: >> If the vCPU enters system management mode while running a nested guest, >> RSM starts processing the vmentry while still in SMM. In that case, >> however, the pages pointed to by the vmcs12 might be

Re: [PATCH] x86/MCE: Fix CPU microcode version output

2018-07-31 Thread Sironi, Filippo
> On 30. Jul 2018, at 18:16, Borislav Petkov wrote: > > On Mon, Jul 30, 2018 at 11:23:18AM -0400, Prarit Bhargava wrote: >> Filippo & Borislav, did the patch get committed to a -next tree? > > No, I'm still waiting for it - looks like Filippo is busy. > > Care to send one instead as suggested

RE: [LINUX PATCH v11 3/3] mtd: rawnand: pl353: Add basic driver for arm pl353 smc nand interface

2018-07-31 Thread Naga Sureshkumar Relli
Hi Miquel, Thanks for the review. > -Original Message- > From: Miquel Raynal [mailto:miquel.ray...@bootlin.com] > Sent: Monday, July 30, 2018 12:46 AM > To: Naga Sureshkumar Relli > Cc: boris.brezil...@bootlin.com; rich...@nod.at; dw...@infradead.org; > computersforpe...@gmail.com; marek

page faults affects the performance

2018-07-31 Thread Feng Li
Hi experts, When I use fio to write our distribution storage, I find a lot of page faults that affect the performance. My OS is CentOS7, anyone could give suggestions on how to root cause this issue? The CPU is running at 100%. [root@58 15:50:57 ~]$uname -a Linux 58 3.10.0-693.11.6.el7.smartx.

Re: [PATCH v7 1/4] remoteproc/davinci: use the reset framework

2018-07-31 Thread Bartosz Golaszewski
2018-07-31 6:25 GMT+02:00 Bjorn Andersson : > On Thu 21 Jun 00:37 PDT 2018, Bartosz Golaszewski wrote: > >> From: Bartosz Golaszewski >> >> Switch to using the reset framework instead of handcoded reset routines >> we used so far. >> >> Signed-off-by: Bartosz Golaszewski >> Reviewed-by: Sekhar No

[PATCH v2 2/5] regulator: rk808: add RK809 and RK817 support.

2018-07-31 Thread Tony Xie
Add support for the rk809 and rk817 regulator driver. Their specifications are as follows: 1、The RK809 and RK809 consist of 5 DCDCs, 9 LDOs and have the same registers for these components except dcdc5. 2、The dcdc5 is a boost dcdc for RK817 and is a buck for RK809. 3、The

[PATCH v2 3/5] dt-bindings: mfd: rk808: Add binding informations for RK809 and RK817.

2018-07-31 Thread Tony Xie
Add device tree bindings documentation for Rockchip's RK809 & RK817 PMIC. Signed-off-by: Tony Xie --- Documentation/devicetree/bindings/mfd/rk808.txt | 55 + 1 file changed, 55 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/rk808.txt b/Documentation/de

[PATCH v2 4/5] RTC: RK808: add RK809 and RK817 support.

2018-07-31 Thread Tony Xie
RK809 and RK817 are power management IC chips for multimedia products. Most of their functions and registers are same, including the rtc. Signed-off-by: Tony Xie --- drivers/rtc/Kconfig | 4 +-- drivers/rtc/rtc-rk808.c | 68 +++-- 2 files changed,

[PATCH v2 1/5] mfd: rk808: Add RK817 and RK809 support

2018-07-31 Thread Tony Xie
The rk809 and rk817 are a Power Management IC (PMIC) for multimedia and handheld devices. It contains the following components: - Regulators - RTC - Clocking Both RK809 and RK817 chips are using a similar register map, so we can reuse the RTC and Clocking a

[PATCH v2 5/5] clk: RK808: add RK809 and RK817 support.

2018-07-31 Thread Tony Xie
RK809 and RK817 are power management IC chips for multimedia products. most of their functions and registers are same, including the clkout funciton. Signed-off-by: Tony Xie --- drivers/clk/Kconfig | 6 ++--- drivers/clk/clk-rk808.c | 62 - 2

Re: [PATCH v5 10/14] sched/cpufreq: Refactor the utilization aggregation method

2018-07-31 Thread Quentin Perret
On Monday 30 Jul 2018 at 12:35:27 (-0700), skan...@codeaurora.org wrote: [...] > If it's going to be a different aggregation from what's done for frequency > guidance, I don't see the point of having this inside schedutil. Why not > keep it inside the scheduler files? This code basically results f

Re: [PATCH] PM / devfreq: Generic cpufreq governor

2018-07-31 Thread Rafael J. Wysocki
On Mon, Jul 30, 2018 at 8:58 PM, wrote: > On 2018-07-29 03:52, Rafael J. Wysocki wrote: >> >> On Sat, Jul 28, 2018 at 5:56 AM, Saravana Kannan >> wrote: >>> >>> Many CPU architectures have caches that can scale independent of the >>> CPUs. >>> Frequency scaling of the caches is necessary to make

Re: [PATCH] PCI: let pci_request_irq properly deal with threaded interrupts

2018-07-31 Thread Russell King - ARM Linux
On Tue, Jul 31, 2018 at 12:50:21AM +0200, Thomas Gleixner wrote: > On Mon, 30 Jul 2018, Bjorn Helgaas wrote: > > > [+cc maintainers of possibly erroneous callers of request_threaded_irq()] > > > > On Mon, Jul 30, 2018 at 04:30:28PM -0500, Bjorn Helgaas wrote: > > > [+cc Thomas, Christoph, LKML] >

Re: [PATCH] cpufreq: intel_pstate: Limit the scope of HWP dynamic boost platforms

2018-07-31 Thread Mel Gorman
On Mon, Jul 30, 2018 at 03:00:29PM -0700, Srinivas Pandruvada wrote: > Dynamic boosting of HWP performance on IO wake showed significant > improvement to IO workloads. This series was intended for Skylake Xeon > platforms only and feature was enabled by default based on CPU model > number. > > But

Re: [PATCH V4 5/7] mmc: sdhci: add Auto CMD Auto Select support

2018-07-31 Thread Adrian Hunter
On 31/07/18 10:04, Chunyan Zhang wrote: > Hi Adrian, > > On 30 July 2018 at 21:06, Adrian Hunter wrote: >> On 23/07/18 13:08, Chunyan Zhang wrote: >>> As SD Host Controller Specification v4.10 documents: >>> Host Controller Version 4.10 defines this "Auto CMD Auto Select" mode. >>> Selection of A

Re: [PATCH] PCI: let pci_request_irq properly deal with threaded interrupts

2018-07-31 Thread Krzysztof Kozlowski
On 31 July 2018 at 00:42, Bjorn Helgaas wrote: > [+cc maintainers of possibly erroneous callers of request_threaded_irq()] > > On Mon, Jul 30, 2018 at 04:30:28PM -0500, Bjorn Helgaas wrote: >> [+cc Thomas, Christoph, LKML] >> >> On Mon, Jul 30, 2018 at 12:03:42AM +0200, Heiner Kallweit wrote: >> >

Re: [PATCH v2 4/5] RTC: RK808: add RK809 and RK817 support.

2018-07-31 Thread Alexandre Belloni
Hi, I insist this must be a lowercase "rtc: rk808:". There has not been a single upper case RTC in a subject since 2011. On 31/07/2018 15:57:29+0800, Tony Xie wrote: > RK809 and RK817 are power management IC chips for multimedia products. > Most of their functions and registers are same, includi

Re: [PATCH v2] pci/aspm: Remove CONFIG_PCIEASPM_DEBUG

2018-07-31 Thread Pali Rohár
On Friday 27 July 2018 15:26:19 Bjorn Helgaas wrote: > [+cc Rafael, Richard, Carlos, Pali, Takashi, Andy, Colin for question > about how to expose ASPM power management in sysfs] > > On Thu, May 10, 2018 at 04:39:12PM -0700, Rajat Jain wrote: > > ... > > And some suggestions from Bjorn here: > > h

Re: [PATCH 4/6] mips: factor out RapidIO Kconfig entry

2018-07-31 Thread Alexander Sverdlin
Hi! On 31/07/18 00:50, Alexei Colin wrote: > The menu entry is now defined in the rapidio subtree. > > Platforms with a PCI bus will be offered the RapidIO menu since they may > be want support for a RapidIO PCI device. Platforms without a PCI bus > that might include a RapidIO IP block will need

Re: [PATCH 06/11] sched/irq: add irq utilization tracking

2018-07-31 Thread Vincent Guittot
On Tue, 31 Jul 2018 at 05:32, Wanpeng Li wrote: > > > > > > > > #if defined(CONFIG_IRQ_TIME_ACCOUNTING) || > > > > defined(CONFIG_PARAVIRT_TIME_ACCOUNTING) > > > > if ((irq_delta + steal) && sched_feat(NONTASK_CAPACITY)) > > > > - sched_rt_avg_update(rq, irq_delta + steal)

linux-next: Tree for Jul 31

2018-07-31 Thread Stephen Rothwell
Hi all, Changes since 20180730: The block tree gained a build failure so I used the version from next-20180730. The kvms390 tree gained a conflict against the kvm-arm tree. The staging tree still had its build failure due to an interaction with the vfs tree for which I disabled CONFIG_EROFS_FS.

Re: [BUG BISECT] Ethernet fail on VF50 (OF: Don't set default coherent DMA mask)

2018-07-31 Thread Stefan Agner
On 30.07.2018 16:38, Robin Murphy wrote: > On 28/07/18 17:58, Guenter Roeck wrote: >> On Fri, Jul 27, 2018 at 04:04:48PM +0200, Christoph Hellwig wrote: >>> On Fri, Jul 27, 2018 at 03:18:14PM +0200, Krzysztof Kozlowski wrote: On 27 July 2018 at 15:11, Krzysztof Kozlowski wrote: > Hi,

RE: [PATCH V2] x86/speculation: Support Enhanced IBRS on future CPUs

2018-07-31 Thread Thomas Gleixner
On Tue, 31 Jul 2018, Prakhya, Sai Praneeth wrote: > > > +#define X86_FEATURE_IBRS_ENHANCED( 7*32+29) /* > > "ibrs_enhanced" Use Enhanced IBRS in kernel */ > > > > That "ibrs_enhanced" part is not needed. > > Just wanted to confirm with you before removing it, > Presently, on plat

Re: [PATCH v5 4/4] clk: bd71837: Add driver for BD71837 PMIC clock

2018-07-31 Thread Matti Vaittinen
On Tue, Jun 26, 2018 at 11:13:19AM +0300, Matti Vaittinen wrote: > On Mon, Jun 25, 2018 at 04:44:57PM -0700, Stephen Boyd wrote: > > Quoting Matti Vaittinen (2018-06-12 01:23:54) > > > On Tue, Jun 12, 2018 at 12:44:11AM -0700, Stephen Boyd wrote: > > > > Quoting Matti Vaittinen (2018-06-04 06:19:13

Re: [RFC] PCI: imx: Add multi-pd support

2018-07-31 Thread Ulf Hansson
On 24 July 2018 at 20:17, Leonard Crestez wrote: > On some chips the PCIE and PCIE_PHY blocks are in separate power domains > which can be power-gated independently. The driver needs to handle this > by keeping both domain active. > > This is intended for imx6sx where PCIE is in DISPMIX and PCIE_P

Re: [PATCH V4 5/7] mmc: sdhci: add Auto CMD Auto Select support

2018-07-31 Thread Chunyan Zhang
On 31 July 2018 at 16:05, Adrian Hunter wrote: > On 31/07/18 10:04, Chunyan Zhang wrote: >> Hi Adrian, >> >> On 30 July 2018 at 21:06, Adrian Hunter wrote: >>> On 23/07/18 13:08, Chunyan Zhang wrote: As SD Host Controller Specification v4.10 documents: Host Controller Version 4.10 defin

Re: [GIT PULL 3/3] ARM: uniphier: UniPhier SoC updates for v4.19

2018-07-31 Thread Masahiro Yamada
Hi Olof, 2018-07-22 8:24 GMT+09:00 Masahiro Yamada : > Hi Olof, > > 2018-07-22 6:24 GMT+09:00 Olof Johansson : >> On Thu, Jul 19, 2018 at 08:05:03AM +0900, Masahiro Yamada wrote: >>> Hi Arnd, Olof, >>> >>> Please pull UniPhier SoC changes for the v4.19 MW. >>> >>> Thanks! >>> >>> >>> The followin

Re: [PATCH 6/6] arm64: enable RapidIO menu in Kconfig

2018-07-31 Thread Will Deacon
On Mon, Jul 30, 2018 at 06:50:34PM -0400, Alexei Colin wrote: > Platforms with a PCI bus will be offered the RapidIO menu since they may > be want support for a RapidIO PCI device. Platforms without a PCI bus > that might include a RapidIO IP block will need to "select HAS_RAPIDIO" > in the platfor

Re: [PATCH 1/4] dt-bindings: reset: Add PDC reset binding for SDM845 SoCs

2018-07-31 Thread Philipp Zabel
Hi Sibi, On Fri, 2018-07-27 at 20:58 +0530, Sibi Sankar wrote: > Add SDM845 PDC (Power Domain Controller) reset controller binding > > Signed-off-by: Sibi Sankar > --- > .../bindings/reset/qcom,pdc-reset.txt | 52 +++ > include/dt-bindings/reset/qcom,sdm845-pdc.h | 20

Re: [PATCH 1/4] file: export __alloc_fd()

2018-07-31 Thread Martijn Coenen
On Mon, Jul 30, 2018 at 10:36 PM, Matthew Wilcox wrote: > I'm not entirely sure I understand the binder code (... does anyone?) > but from what I can see, it intends to open a file descriptor in the > process which is the target of the message being sent. You're right. > That strikes > me as wro

RE: Re: [PATCH v1 1/2] arm64: dts: mt7622: add some misc device nodes

2018-07-31 Thread Ryder Lee
Hi Matthias, Sorry for the late reply. On Tue, 2018-07-31 at 16:17 +0800, Ryder Lee (李庚諺) wrote: > Hi Ryder, > > On 16/07/18 16:59, Ryder Lee wrote: > > Add some misc nodes support - timer and ARM CCI-400. > > > > Signed-off-by: Ryder Lee > > --- > > arch/arm64/boot/dts/mediatek/mt7622.dtsi |

Re: [PATCH 1/3] mm: introduce mem_cgroup_put() helper

2018-07-31 Thread Michal Hocko
On Mon 30-07-18 11:00:58, Roman Gushchin wrote: > Introduce the mem_cgroup_put() helper, which helps to eliminate guarding > memcg css release with "#ifdef CONFIG_MEMCG" in multiple places. Is there any reason for this to be a separate patch? I usually do not like to add helpers without their user

Re: [PATCH] efi/libstub: Only disable stackleak plugin for arm64

2018-07-31 Thread Will Deacon
On Mon, Jul 30, 2018 at 11:31:18AM -0700, Laura Abbott wrote: > arm64 uses the full KBUILD_CFLAGS for building libstub as opposed > to x86 which doesn't. This means that x86 doesn't pick up > the gcc-plugins. We need to disable the stackleak plugin but > doing this unconditionally breaks x86 build

Re: [PATCH 2/4] reset: qcom: PDC (Power Domain Controller) reset controller

2018-07-31 Thread Philipp Zabel
On Fri, 2018-07-27 at 20:58 +0530, Sibi Sankar wrote: > Add reset controller for SDM845 SoC to control reset signals > provided by PDC for Modem, Compute, Display, GPU, Debug, AOP, > Sensors, Audio, SP and APPS > > Signed-off-by: Sibi Sankar > --- > drivers/reset/Kconfig | 9 +++ > dr

Re: [QUESTION] llist: Comment releasing 'must delete' restriction before traversing

2018-07-31 Thread Peter Zijlstra
On Tue, Jul 31, 2018 at 09:58:36AM +0900, Byungchul Park wrote: > In restrictive cases like only addtions happen but never deletion, can't > we safely traverse a llist? I believe llist can be more useful if we can > release the restriction. Can't we? Yes you can, but I'm not sure it makes much sen

Re: [PATCH 4/4] remoteproc: qcom: q6v5-pil: Add PDC restart for modem on SDM845 SoCs

2018-07-31 Thread Philipp Zabel
On Fri, 2018-07-27 at 20:58 +0530, Sibi Sankar wrote: > In the presence of a PDC block working with subsystem RSC, > assert/deassert PDC restart in modem start/stop path. > > Signed-off-by: Sibi Sankar > --- > .../bindings/remoteproc/qcom,q6v5.txt | 4 +++ > drivers/remoteproc/qcom_q6v5

Re: [PATCH v3 7/7] mm, slab: shorten kmalloc cache names for large sizes

2018-07-31 Thread Vlastimil Babka
On 07/30/2018 05:48 PM, Christopher Lameter wrote: > On Wed, 18 Jul 2018, Vlastimil Babka wrote: > >> +static const char * >> +kmalloc_cache_name(const char *prefix, unsigned int size) >> +{ >> + >> +static const char units[3] = "\0kM"; >> +int idx = 0; >> + >> +while (size >= 1024 &&

Re: [PATCH 3/4] remoteproc: qcom: q6v5-pil: Explicitly get mss_restart line

2018-07-31 Thread Philipp Zabel
On Fri, 2018-07-27 at 20:58 +0530, Sibi Sankar wrote: > Explicitly get mss_restart to facilitate adding PDC > restart line for modem on SDM845 SoCs > > Signed-off-by: Sibi Sankar > --- > drivers/remoteproc/qcom_q6v5_pil.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git

Re: [PATCH V4 5/7] mmc: sdhci: add Auto CMD Auto Select support

2018-07-31 Thread Adrian Hunter
On 31/07/18 11:36, Chunyan Zhang wrote: > On 31 July 2018 at 16:05, Adrian Hunter wrote: >> On 31/07/18 10:04, Chunyan Zhang wrote: >>> Hi Adrian, >>> >>> On 30 July 2018 at 21:06, Adrian Hunter wrote: On 23/07/18 13:08, Chunyan Zhang wrote: > As SD Host Controller Specification v4.10 do

Re: [PATCH] x86/MCE: Fix CPU microcode version output

2018-07-31 Thread Borislav Petkov
On Tue, Jul 31, 2018 at 07:43:46AM +, Sironi, Filippo wrote: > Sorry, I was out of office for a while. > I'll look into this today. Prarit is doing a patch too - you might wanna save effort. I leave it up to you guys to figure out who should do it. -- Regards/Gruss, Boris. ECO tip #101:

Re: linux-next: build warning after merge of the nfs-anna tree

2018-07-31 Thread David Wysochanski
On Mon, 2018-07-30 at 18:52 +1000, Stephen Rothwell wrote: > Hi all, > > After merging the nfs-anna tree, today's linux-next build (powerpc > ppc44x_defconfig, sparc defconfig) produced this warning: > > net/sunrpc/stats.c: In function 'rpc_clnt_show_stats': > /home/sfr/next/next/net/sunrpc/stats

Re: [PATCH v5 4/4] clk: bd71837: Add driver for BD71837 PMIC clock

2018-07-31 Thread Matti Vaittinen
Hello Again, On Wed, Jun 27, 2018 at 11:40:00AM +0300, Matti Vaittinen wrote: > Hello Stephen, > > On Mon, Jun 25, 2018 at 04:46:24PM -0700, Stephen Boyd wrote: > > Quoting Matti Vaittinen (2018-06-13 06:03:38) > > > On Tue, Jun 12, 2018 at 11:23:54AM +0300, Matti Vaittinen wrote: > > > > > > >

[PATCH v4 3/6] dcache: allocate external names from reclaimable kmalloc caches

2018-07-31 Thread Vlastimil Babka
We can use the newly introduced kmalloc-reclaimable-X caches, to allocate external names in dcache, which will take care of the proper accounting automatically, and also improve anti-fragmentation page grouping. This effectively reverts commit f1782c9bc547 ("dcache: account external names as indir

Re: [PATCH 3/3] mm, oom: introduce memory.oom.group

2018-07-31 Thread Michal Hocko
On Mon 30-07-18 11:01:00, Roman Gushchin wrote: > For some workloads an intervention from the OOM killer > can be painful. Killing a random task can bring > the workload into an inconsistent state. > > Historically, there are two common solutions for this > problem: > 1) enabling panic_on_oom, > 2

[PATCH v4 1/6] mm, slab: combine kmalloc_caches and kmalloc_dma_caches

2018-07-31 Thread Vlastimil Babka
The kmalloc caches currently mainain separate (optional) array kmalloc_dma_caches for __GFP_DMA allocations. There are tests for __GFP_DMA in the allocation hotpaths. We can avoid the branches by combining kmalloc_caches and kmalloc_dma_caches into a single two-dimensional array where the outer dim

[PATCH v4 4/6] mm: rename and change semantics of nr_indirectly_reclaimable_bytes

2018-07-31 Thread Vlastimil Babka
The vmstat counter NR_INDIRECTLY_RECLAIMABLE_BYTES was introduced by commit eb59254608bc ("mm: introduce NR_INDIRECTLY_RECLAIMABLE_BYTES") with the goal of accounting objects that can be reclaimed, but cannot be allocated via a SLAB_RECLAIM_ACCOUNT cache. This is now possible via kmalloc() with __G

[PATCH v4 5/6] mm, proc: add KReclaimable to /proc/meminfo

2018-07-31 Thread Vlastimil Babka
The vmstat NR_KERNEL_MISC_RECLAIMABLE counter is for kernel non-slab allocations that can be reclaimed via shrinker. In /proc/meminfo, we can show the sum of all reclaimable kernel allocations (including slab) as "KReclaimable". Add the same counter also to per-node meminfo under /sys With this co

[PATCH v4 6/6] mm, slab: shorten kmalloc cache names for large sizes

2018-07-31 Thread Vlastimil Babka
Kmalloc cache names can get quite long for large object sizes, when the sizes are expressed in bytes. Use 'k' and 'M' prefixes to make the names as short as possible e.g. in /proc/slabinfo. This works, as we mostly use power-of-two sizes, with exceptions only below 1k. Example: 'kmalloc-4194304' b

Re: [alsa-devel] [PATCH] ASoC: soc-pcm: Use delay set in pointer function

2018-07-31 Thread Agrawal, Akshu
On 7/31/2018 11:00 AM, Takashi Iwai wrote: > On Tue, 31 Jul 2018 03:25:06 +0200, > Agrawal, Akshu wrote: >> >> >> >> On 7/30/2018 9:20 PM, Mark Brown wrote: >>> On Mon, Jul 30, 2018 at 05:32:21PM +0200, Takashi Iwai wrote: >>> That said, if delay callback of CPU dai provides the additional

[PATCH v4 2/6] mm, slab/slub: introduce kmalloc-reclaimable caches

2018-07-31 Thread Vlastimil Babka
Kmem caches can be created with a SLAB_RECLAIM_ACCOUNT flag, which indicates they contain objects which can be reclaimed under memory pressure (typically through a shrinker). This makes the slab pages accounted as NR_SLAB_RECLAIMABLE in vmstat, which is reflected also the MemAvailable meminfo count

[PATCH v4 0/6] kmalloc-reclaimable caches

2018-07-31 Thread Vlastimil Babka
v4 changes: - drop mm, slab: allocate off-slab freelists as reclaimable when appropriate - per Mel, reclaiming objects from a slab doesn't guarantee that the whole slab page will be freed and freelist reclaimed, so it can do more harm than good - change KMALLOC_* constants from #define to

[PATCH] KVM: X86: Disable KVM_FEATURE_STEAL_TIME when both delayacct_on added to cmdline and CONFIG_SCHEDSTATS is set

2018-07-31 Thread Chen Xiao
From: Chen Xiao When sched_info_on returns 1,KVM_FEATURE_STEAL_TIME will be set, steal% can be seen in the virtual machine.The returned value of sched_info_on depends on delayacct_on. If nodelayacct is added to kernel boot cmdline,the KVM_FEATURE_STEAL_TIME will be turned off by setting delayacct

[PATCH][V2] x86/uv: remove redundant check of p == q

2018-07-31 Thread Colin King
From: Colin Ian King The check for p == q is dead code because the proceeding switch statements jump to the end of the outer for-loop with continue statements. Remove the dead code. Detected by CoverityScan, CID#145071 ("Structurally dead code") Signed-off-by: Colin Ian King --- arch/x86/pla

Re: [PATCH v2 11/11] mm,sched: conditionally skip lazy TLB mm refcounting

2018-07-31 Thread Peter Zijlstra
On Mon, Jul 30, 2018 at 09:05:55PM -0400, Rik van Riel wrote: > On Mon, 2018-07-30 at 18:26 +0200, Peter Zijlstra wrote: > > > > So for ARCH_NO_ACTIVE_MM we never touch ->active_mm and therefore > > ->active_mm == ->mm. > > Close, but not true for kernel threads, which have a > NULL ->mm, but a

Re: [PATCH v2 03/10] mmc: tegra: Reconfigure pad voltages during voltage switching

2018-07-31 Thread Stefan Agner
On 27.07.2018 10:44, Aapo Vienamo wrote: > On Thu, 26 Jul 2018 15:33:11 +0200 > Stefan Agner wrote: > >> On 26.07.2018 14:19, Aapo Vienamo wrote: >> > Parse the pinctrl state and nvidia,only-1-8-v properties from the device >> > tree and implement pad voltage state reconfiguration in the mmc >> >

  1   2   3   4   5   6   7   >