Re: [PATCH] arm64: Trap WFI executed in userspace

2018-08-09 Thread Marc Zyngier
On Thu, 09 Aug 2018 13:47:01 +0100, Dave Martin wrote: > > On Thu, Aug 09, 2018 at 01:38:12PM +0100, Will Deacon wrote: > > On Thu, Aug 09, 2018 at 01:34:57PM +0100, Dave Martin wrote: > > > On Wed, Aug 08, 2018 at 01:34:09PM +0100, Catalin Marinas wrote: > > > > On Tue, Aug 07, 2018 at

Re: [PATCH] sched: idle: Reenable sched tick for cpuidle request

2018-08-09 Thread leo . yan
On Thu, Aug 09, 2018 at 12:45:49PM +0200, Peter Zijlstra wrote: > On Thu, Aug 09, 2018 at 01:47:27PM +0800, Leo Yan wrote: > > diff --git a/kernel/sched/idle.c b/kernel/sched/idle.c > > index 1a3e9bd..802286e 100644 > > --- a/kernel/sched/idle.c > > +++ b/kernel/sched/idle.c > > @@ -190,10 +190,18

Re: [PATCH 5/5] fs/locks: create a tree of dependent requests.

2018-08-09 Thread Jeff Layton
On Thu, 2018-08-09 at 12:04 +1000, NeilBrown wrote: > When we find an existing lock which conflicts with a request, > and the request wants to wait, we currently add the request > to a list. When the lock is removed, the whole list is woken. > This can cause the thundering-herd problem. > To

Re: [PATCH] x86/mm/pti: Move user W+X check into pti_finalize()

2018-08-09 Thread Joerg Roedel
Hi Kees, On Wed, Aug 08, 2018 at 01:33:01PM -0700, Kees Cook wrote: > I'm slightly nervous about complicating this and splitting up the > check. I have a mild preference that all the checks get moved later, > so that all architectures have the checks happening at the same time > during boot.

[PATCH v6 0/4] i2c-multi-instantiate pseudo driver

2018-08-09 Thread Hans de Goede
Hi All, Here is v6 of my patch-series for dealing with multiple independent i2c devices being described in a single ACPI fwnode. Changes in v6: -Added some Reviewed-by and Acked-by-s to patches 2-4 -4th patch "platform/x86: Add ACPI i2c-multi-instantiate pseudo driver": -s/irq_idx/gpio_irq_idx/

[PATCH v6 4/4] platform/x86: Add ACPI i2c-multi-instantiate pseudo driver

2018-08-09 Thread Hans de Goede
On systems with ACPI instantiated i2c-clients, normally there is 1 fw_node per i2c-device and that fw-node contains 1 I2cSerialBus resource for that 1 i2c-device. But in some rare cases the manufacturer has decided to describe multiple i2c-devices in a single ACPI fwnode with multiple

[PATCH v6 3/4] ACPI / x86-utils: Remove status workaround from acpi_device_always_present()

2018-08-09 Thread Hans de Goede
Now that we init the status field to ACPI_STA_DEFAULT rather then to 0, the workaround for acpi_match_device_ids() always returning -ENOENT when status is 0 is no longer needed. Reviewed-by: Andy Shevchenko Signed-off-by: Hans de Goede --- Changes in v3: -New patch in v3 of this patch-set ---

Re: [PATCH 2/8] mmc: tegra: Parse and program DQS trim value

2018-08-09 Thread Thierry Reding
On Tue, Aug 07, 2018 at 04:59:58PM +0300, Aapo Vienamo wrote: > Parse and program the HS400 DQS trim value from dt. Program a fallback > value in case the property is missing. > > Signed-off-by: Aapo Vienamo > --- > drivers/mmc/host/sdhci-tegra.c | 32 +--- > 1 file

[PATCH v6 1/4] ACPI / scan: Initialize status to ACPI_STA_DEFAULT

2018-08-09 Thread Hans de Goede
Since commit 63347db0affa ("ACPI / scan: Use acpi_bus_get_status() to initialize ACPI_TYPE_DEVICE devs") the status field of normal acpi_devices gets set to 0 by acpi_bus_type_and_status() and filled with its actual value later when acpi_add_single_object() calls acpi_bus_get_status(). This means

Re: [PATCH 1/8] dt-bindings: mmc: Add DQS trim value to Tegra SDHCI

2018-08-09 Thread Aapo Vienamo
On Thu, 9 Aug 2018 13:36:09 +0200 Thierry Reding wrote: > On Tue, Aug 07, 2018 at 04:59:57PM +0300, Aapo Vienamo wrote: > > Document HS400 DQS trim value device tree property. > > > > Signed-off-by: Aapo Vienamo > > --- > > Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt | 3

[PATCH 4/5] perf/hw_breakpoint: Set breakpoint as disabled in modify_user_hw_breakpoint error path

2018-08-09 Thread Jiri Olsa
When we failed to modify breakpoint, we ended up with disabled event. Mirror that in its 'attr.disabled', because some parts of the ptrace code depends on it. Link: http://lkml.kernel.org/n/tip-rp81jgq4rx19ozxm9decx...@git.kernel.org Signed-off-by: Jiri Olsa --- kernel/events/hw_breakpoint.c |

[PATCH 3/5] perf/hw_breakpoint: Remove superfluous bp->attr.disabled = 0

2018-08-09 Thread Jiri Olsa
Once the breakpoint was succesfully modified, the attr->disabled value is in bp->attr.disabled. So there's no reason to set it again, removing that. Link: http://lkml.kernel.org/n/tip-v5oaellzsmyszv3rfucux...@git.kernel.org Signed-off-by: Jiri Olsa --- kernel/events/hw_breakpoint.c | 5 ++--- 1

Re: [PATCH 03/40] dt-bindings: Add Tegra SDHCI pad pdpu offset bindings

2018-08-09 Thread Thierry Reding
On Wed, Aug 01, 2018 at 07:31:53PM +0300, Aapo Vienamo wrote: > Add bindings documentation for pad pull up and pull down offset values to be > programmed before executing automatic pad drive strength calibration. > > Signed-off-by: Aapo Vienamo > --- > .../bindings/mmc/nvidia,tegra20-sdhci.txt

[PATCH v3 2/3] arm64: dts: stingray: Add Stingray Thermal DT support.

2018-08-09 Thread Srinath Mannam
From: Pramod Kumar Add DT nodes for thermal zones memory base address to read temperature. Signed-off-by: Pramod Kumar Signed-off-by: Srinath Mannam Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi | 13 + 1 file changed,

[PATCH v3 1/3] dt-bindings: thermal: Add binding document for SR thermal

2018-08-09 Thread Srinath Mannam
From: Pramod Kumar Add binding document for supported thermal implementation in Stingray. Signed-off-by: Pramod Kumar Signed-off-by: Srinath Mannam Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- .../bindings/thermal/brcm,sr-thermal.txt | 23 ++ 1 file

[PATCH v3 0/3] Stingray thermal driver support

2018-08-09 Thread Srinath Mannam
These patches adds the stingray thermal driver and its corresponding DT nodes with documentation. Changes from v2: - All stingray TMON DT nodes are combine together into single. Temperature registers are combined into one mem resource. brcm,tmon-mask parameter has available TMONs mask

Re: [PATCH 16/40] mmc: tegra: Disable card clock during pad calibration

2018-08-09 Thread Thierry Reding
On Wed, Aug 01, 2018 at 07:32:06PM +0300, Aapo Vienamo wrote: > Disable the card clock during automatic pad drive strength calibration > and re-enable it afterwards. > > Signed-off-by: Aapo Vienamo > --- > drivers/mmc/host/sdhci-tegra.c | 26 ++ > 1 file changed, 26

Re: [alsa-devel] [PATCH] ASoC: adav80x: mark expected switch fall-through

2018-08-09 Thread Mark Brown
On Thu, Aug 09, 2018 at 01:23:58PM +0200, Lars-Peter Clausen wrote: > On 08/09/2018 11:30 AM, Mark Brown wrote: > It is. But it might make sense to re-order the code to look like > > case 5400: > if (source != ADAV80X_PLL_SRC_XIN) > return -EINVAL; > >

Re: [PATCH 1/8] dt-bindings: mmc: Add DQS trim value to Tegra SDHCI

2018-08-09 Thread Thierry Reding
On Thu, Aug 09, 2018 at 02:45:15PM +0300, Aapo Vienamo wrote: > On Thu, 9 Aug 2018 13:36:09 +0200 > Thierry Reding wrote: > > > On Tue, Aug 07, 2018 at 04:59:57PM +0300, Aapo Vienamo wrote: > > > Document HS400 DQS trim value device tree property. > > > > > > Signed-off-by: Aapo Vienamo > > >

Re: [PATCH v8 04/22] s390/zcrypt: Integrate ap_asm.h into include/asm/ap.h.

2018-08-09 Thread Harald Freudenberger
Here is now a reworked version of the integrate ap_asm.h into include/asm/ap.h patch which can be used to apply it within the AP virtualisation patch queue for testing: >From c81710e7cd073c4f9a904f3539ecf17fd89c9c2d Mon Sep 17 00:00:00 2001 From: Harald Freudenberger Date: Tue, 12 Jun 2018

Re: WARNING in try_charge

2018-08-09 Thread Tetsuo Handa
>From b1f38168f14397c7af9c122cd8207663d96e02ec Mon Sep 17 00:00:00 2001 From: Tetsuo Handa Date: Thu, 9 Aug 2018 22:49:40 +0900 Subject: [PATCH] mm, oom: task_will_free_mem(current) should retry until memory reserve fails Commit 696453e66630ad45 ("mm, oom: task_will_free_mem should skip

Re: [PATCH v2] staging/bcm2835-audio: Fix alignment of function arguments - Style

2018-08-09 Thread Stefan Wahren
> Greg Gallagher hat am 8. August 2018 um 03:40 > geschrieben: > > > Fix warnings generated by checkpatch.pl for alignment should match open > parenthesis. This is a coding style change only. > > Signed-off-by: Greg Gallagher Acked-by: Stefan Wahren

Re: [PATCH] sched: idle: Reenable sched tick for cpuidle request

2018-08-09 Thread Rafael J. Wysocki
On Thursday, August 9, 2018 7:47:27 AM CEST Leo Yan wrote: > The idle loop stops tick by respecting the decision from cpuidle > framework, if the condition 'need_resched()' is false without any task > scheduling, the CPU keeps running in the loop in do_idle() and it has no > chance call

Re: [PATCH v6 4/4] platform/x86: Add ACPI i2c-multi-instantiate pseudo driver

2018-08-09 Thread Hans de Goede
Hi, On 09-08-18 13:55, Rafael J. Wysocki wrote: On Thu, Aug 9, 2018 at 1:40 PM, Hans de Goede wrote: On systems with ACPI instantiated i2c-clients, normally there is 1 fw_node per i2c-device and that fw-node contains 1 I2cSerialBus resource for that 1 i2c-device. But in some rare cases the

Re: FUSE: write operations trigger balance_dirty_pages when using writeback cache

2018-08-09 Thread 刘硕然
Thanks for the advice. I tried removing BDI_CAP_STRICTLIMIT, and it works. There is no balance_dirty_pages() triggered, and the performance improves a lot. Tested by libfuse passthrough_ll example and fio: ./passthrough_ll -o writeback /mnt/fuse/ fio --name=test --ioengine=psync

Re: FUSE: write operations trigger balance_dirty_pages when using writeback cache

2018-08-09 Thread Miklos Szeredi
On Thu, Aug 9, 2018 at 2:08 PM, 刘硕然 wrote: > Thanks for the advice. I tried removing BDI_CAP_STRICTLIMIT, and it works. > There is no balance_dirty_pages() triggered, and the performance improves a > lot. > > Tested by libfuse passthrough_ll example and fio: > ./passthrough_ll -o writeback

[PATCH v1 00/10] Another round of tsens cleanups

2018-08-09 Thread Amit Kucheria
This is another series of tsens cleanups before we add interrupt support. This applies on top of the earlier two series[1][2] that have already been accepted for 4.19. In this series, we have the following: - splitup 8916 and 8974 register address spaces for SROT and TM - cleanups: move to spdx,

[PATCH v3 3/3] arm: dts: ls1021a: Enable I2C DMA support

2018-08-09 Thread Esben Haabendal
From: Esben Haabendal Gives substantial performance improvement for transfers larger than 16 bytes (DMA_THRESHOLD). Smaller transfers are unaffected. Signed-off-by: Esben Haabendal --- arch/arm/boot/dts/ls1021a.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git

[PATCH v3 2/3] i2c: imx: Simplify stopped state tracking

2018-08-09 Thread Esben Haabendal
From: Esben Haabendal Always update the stopped state when busy status have been checked. This is identical to what was done before, with the exception of error handling. Without this change, some errors cause the stopped state to be left in incorrect state in i2c_imx_stop(), i2c_imx_dma_read(),

Re: [PATCH RESEND v2] arm64: clean the additional checks before calling ghes_notify_sea()

2018-08-09 Thread gengdongjiu
CC Borislav 2018-08-08 0:26 GMT+08:00 Dongjiu Geng : > In order to remove the additional check before calling the > ghes_notify_sea(), make stub definition when !CONFIG_ACPI_APEI_SEA. > > After this cleanup, we can simply call the ghes_notify_sea() to let > APEI driver handle the SEA

[PATCH v3 1/3] i2c: imx: Fix race condition in dma read

2018-08-09 Thread Esben Haabendal
From: Esben Haabendal This fixes a race condition, where the DMAEN bit ends up being set after I2C slave has transmitted a byte following the dummy read. When that happens, an interrupt is generated instead, and no DMA request is generated to kickstart the DMA read, and a timeout happens after

Re: [PATCH 13/40] mmc: tegra: Poll for calibration completion

2018-08-09 Thread Thierry Reding
On Wed, Aug 01, 2018 at 07:32:03PM +0300, Aapo Vienamo wrote: > Implement polling with 10 ms timeout for automatic pad drive strength > calibration. > > Signed-off-by: Aapo Vienamo > --- > drivers/mmc/host/sdhci-tegra.c | 21 - > 1 file changed, 16 insertions(+), 5

Re: [PATCH 12/40] mmc: tegra: Reconfigure pad voltages during voltage switching

2018-08-09 Thread Aapo Vienamo
On Thu, 9 Aug 2018 14:43:46 +0200 Thierry Reding wrote: > On Wed, Aug 01, 2018 at 07:32:02PM +0300, Aapo Vienamo wrote: > > Parse the pinctrl state and nvidia,only-1-8-v properties from the device > > tree. Validate the pinctrl and regulator configuration before unmasking > > UHS modes.

Re: [PATCH 15/40] mmc: tegra: Power on the calibration pad

2018-08-09 Thread Thierry Reding
On Wed, Aug 01, 2018 at 07:32:05PM +0300, Aapo Vienamo wrote: > Automatic pad drive strength calibration is performed on a separate pad > identical to the ones used for driving the actual bus. Power on the > calibration pad during the calibration procedure and power it off > afterwards to save

Re: [PATCH 20/40] mmc: tegra: Add a workaround for tap value change glitch

2018-08-09 Thread Thierry Reding
On Wed, Aug 01, 2018 at 07:32:10PM +0300, Aapo Vienamo wrote: > Add quirk to disable the card clock during configuration of the tap > value in tegra_sdhci_set_tap() and issue sdhci_reset() after value > change. This is a workaround to avoid propagation of a potential > glitch caused by setting the

Re: [PATCH v2 1/2] dt: bindings: lm3697: Add bindings for lm3697 driver

2018-08-09 Thread Dan Murphy
Jacek and Pavel On 08/09/2018 07:09 AM, Jacek Anaszewski wrote: > Dan, > > On 08/08/2018 11:45 PM, Dan Murphy wrote: >> Jacek >> >> On 08/08/2018 04:09 PM, Jacek Anaszewski wrote: >>> Hi Dan, >>> >>> On 08/08/2018 11:04 PM, Dan Murphy wrote: On 08/08/2018 04:02 PM, Pavel Machek wrote: >

Re: [RFC][PATCH 00/24] tools lib traceevent: Rename pevent to tep for preparation for library

2018-08-09 Thread Steven Rostedt
On Thu, 9 Aug 2018 10:12:02 +0200 Jiri Olsa wrote: > nah... now when I see it 'te' actualy sounds better ; just kidding, > great we finaly got to this.. is there a branch somewhere with this? I just pushed it to my repo:

Re: [PATCH 13/40] mmc: tegra: Poll for calibration completion

2018-08-09 Thread Thierry Reding
On Thu, Aug 09, 2018 at 03:56:38PM +0300, Aapo Vienamo wrote: > On Thu, 9 Aug 2018 14:46:16 +0200 > Thierry Reding wrote: > > > On Wed, Aug 01, 2018 at 07:32:03PM +0300, Aapo Vienamo wrote: > > > Implement polling with 10 ms timeout for automatic pad drive strength > > > calibration. > > > > >

Re: [PATCH v8 09/22] s390: vfio-ap: register matrix device with VFIO mdev framework

2018-08-09 Thread Cornelia Huck
On Wed, 8 Aug 2018 10:44:19 -0400 Tony Krowiak wrote: > diff --git a/drivers/s390/crypto/vfio_ap_drv.c > b/drivers/s390/crypto/vfio_ap_drv.c > index d7e39ad..6a827f3 100644 > --- a/drivers/s390/crypto/vfio_ap_drv.c > +++ b/drivers/s390/crypto/vfio_ap_drv.c > @@ -12,6 +12,7 @@ > #include >

Re: [alsa-devel] [PATCH] ASoC: adau1761: Mark expected switch fall-though

2018-08-09 Thread Lars-Peter Clausen
On 08/09/2018 11:31 AM, Mark Brown wrote: > On Wed, Aug 08, 2018 at 02:22:13PM -0500, Gustavo A. R. Silva wrote: > >> @@ -518,7 +518,8 @@ static int adau1761_setup_digmic_jackdetect(struct >> snd_soc_component *component) >> ARRAY_SIZE(adau1761_jack_detect_controls)); >>

Re: [PATCH v3 2/2] tty/serial: atmel: add ISO7816 support

2018-08-09 Thread Ludovic Desroches
Hi Richard, On Thu, Aug 09, 2018 at 10:47:17AM +0200, Richard Genoud wrote: > Hi ! > > On 07/08/2018 15:00, Ludovic Desroches wrote: > > From: Nicolas Ferre > > > > When mode is set in atmel_config_iso7816() we backup last RS232 mode > > for coming back to this mode if requested. > > Also

Re: [PATCH v5 4/4] platform/x86: Add ACPI i2c-multi-instantiate pseudo driver

2018-08-09 Thread Hans de Goede
Hi, On 09-08-18 13:09, Heikki Krogerus wrote: On Thu, Aug 09, 2018 at 11:15:58AM +0200, Hans de Goede wrote: On systems with ACPI instantiated i2c-clients, normally there is 1 fw_node per i2c-device and that fw-node contains 1 I2cSerialBus resource for that 1 i2c-device. But in some rare

Re: [PATCH 1/8] dt-bindings: mmc: Add DQS trim value to Tegra SDHCI

2018-08-09 Thread Thierry Reding
On Tue, Aug 07, 2018 at 04:59:57PM +0300, Aapo Vienamo wrote: > Document HS400 DQS trim value device tree property. > > Signed-off-by: Aapo Vienamo > --- > Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git

Re: [PATCH v5 1/4] ACPI / scan: Initialize status to ACPI_STA_DEFAULT

2018-08-09 Thread Hans de Goede
Hi, On 09-08-18 11:59, Rafael J. Wysocki wrote: On Thu, Aug 9, 2018 at 11:58 AM, Hans de Goede wrote: Hi, On 09-08-18 11:51, Andy Shevchenko wrote: On Thu, Aug 9, 2018 at 12:39 PM, Hans de Goede wrote: On 09-08-18 11:35, Rafael J. Wysocki wrote: On Thu, Aug 9, 2018 at 11:15 AM, Hans

Re: linux: sata_nv: adma support

2018-08-09 Thread Pali Rohár
On Thursday 10 May 2018 15:51:57 Pali Rohár wrote: > On Tuesday 04 August 2015 20:06:57 Pali Rohár wrote: > > On Monday 03 August 2015 05:02:15 Robert Hancock wrote: > > > On Sun, Aug 2, 2015 at 3:08 AM, Pali Rohár > > > wrote: > > > > On Sunday 02 August 2015 03:45:32 Robert Hancock wrote: > > >

Re: [PATCH v5 1/4] ACPI / scan: Initialize status to ACPI_STA_DEFAULT

2018-08-09 Thread Andy Shevchenko
On Thu, 2018-08-09 at 13:36 +0200, Hans de Goede wrote: > Andy does your ack for the 4th patch mean you're ok with Rafael > merging > this? Yes. -- Andy Shevchenko Intel Finland Oy

Re: [PATCH 5/8] arm64: dts: tegra186: Add SDMMC4 DQS trim value

2018-08-09 Thread Thierry Reding
On Tue, Aug 07, 2018 at 05:00:01PM +0300, Aapo Vienamo wrote: > Add the HS400 DQS trim value for Tegra186 SDMMC4. > > Signed-off-by: Aapo Vienamo > --- > arch/arm64/boot/dts/nvidia/tegra186.dtsi | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm64/boot/dts/nvidia/tegra186.dtsi

Re: [PATCH 4/8] mmc: tegra: Implement HS400 delay line calibration

2018-08-09 Thread Thierry Reding
On Tue, Aug 07, 2018 at 05:00:00PM +0300, Aapo Vienamo wrote: > Implement HS400 specific delay line calibration procedure. > > Signed-off-by: Aapo Vienamo > --- > drivers/mmc/host/sdhci-tegra.c | 29 + > 1 file changed, 29 insertions(+) Should this be before the

Re: [PATCH v2 2/4] i2c: imx: Fix race condition in dma read

2018-08-09 Thread Esben Haabendal
Uwe Kleine-König writes: > On Mon, Jul 09, 2018 at 11:43:02AM +0200, Esben Haabendal wrote: >> From: Esben Haabendal >> >> This fixes a race condition, where the DMAEN bit ends up being set after >> I2C slave has transmitted a byte following the dummy read. When that >> happens, an interrupt

Re: [PATCH v2 1/2] dt: bindings: lm3697: Add bindings for lm3697 driver

2018-08-09 Thread Jacek Anaszewski
Dan, On 08/08/2018 11:45 PM, Dan Murphy wrote: > Jacek > > On 08/08/2018 04:09 PM, Jacek Anaszewski wrote: >> Hi Dan, >> >> On 08/08/2018 11:04 PM, Dan Murphy wrote: >>> On 08/08/2018 04:02 PM, Pavel Machek wrote: Hi! >>> + - #size-cells : 0 >>> + - control-bank-cfg

Re: [PATCH v2 10/15] staging: fbtft: Fixes some defines styles - Style

2018-08-09 Thread Greg Kroah-Hartman
On Thu, Aug 09, 2018 at 06:39:55AM -0300, Leonardo Bras wrote: > On Wed, Aug 08, 2018 at 02:22:19PM +0200, Greg Kroah-Hartman wrote: > > On Tue, Aug 07, 2018 at 09:29:25PM -0300, Leonardo Brás wrote: > > > Fixing some styles as recommended by checkpatch.pl. > > > > > > Signed-off-by: Leonardo Brás

Re: [PATCH] x86, relocs: Add __end_rodata_aligned to S_REL

2018-08-09 Thread Sedat Dilek
On Thu, Aug 9, 2018 at 11:44 AM, Joerg Roedel wrote: > This new symbol needs to be in the workaround-list for buggy > binutils, otherwise the build with gcc-4.6 fails. > > Fixes: 39d668e04eda ('x86/mm/pti: Make pti_clone_kernel_text() compile on 32 > bit') > Signed-off-by: Joerg Roedel > --- >

Re: [PATCH 02/40] dt-bindings: mmc: tegra: Add pad voltage control properties

2018-08-09 Thread Thierry Reding
On Wed, Aug 01, 2018 at 07:31:52PM +0300, Aapo Vienamo wrote: > Document the pinctrl bindings used by the SDHCI driver to reconfigure > pad voltages on controllers supporting multiple voltage levels. > > Signed-off-by: Aapo Vienamo > Reviewed-by: Mikko Perttunen > Reviewed-by: Rob Herring >

Re: [PATCH 4/8] mmc: tegra: Implement HS400 delay line calibration

2018-08-09 Thread Aapo Vienamo
On Thu, 9 Aug 2018 13:48:05 +0200 Thierry Reding wrote: > On Tue, Aug 07, 2018 at 05:00:00PM +0300, Aapo Vienamo wrote: > > Implement HS400 specific delay line calibration procedure. > > > > Signed-off-by: Aapo Vienamo > > --- > > drivers/mmc/host/sdhci-tegra.c | 29

Re: Linux 3.18.118

2018-08-09 Thread Greg KH
diff --git a/Makefile b/Makefile index 9c894e7e586d..5c3464b5bb1e 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 18 -SUBLEVEL = 117 +SUBLEVEL = 118 EXTRAVERSION = NAME = Diseased Newt diff --git a/arch/microblaze/boot/Makefile b/arch/microblaze/boot/Makefile

Re: Linux 4.4.147

2018-08-09 Thread Greg KH
diff --git a/Makefile b/Makefile index 030f5af05f4e..ee92a12e3a4b 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 4 -SUBLEVEL = 146 +SUBLEVEL = 147 EXTRAVERSION = NAME = Blurry Fish Butt diff --git a/drivers/i2c/busses/i2c-imx.c b/drivers/i2c/busses/i2c-imx.c

Linux 3.18.118

2018-08-09 Thread Greg KH
I'm announcing the release of the 3.18.118 kernel. All users of the 3.18 kernel series must upgrade. The updated 3.18.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.18.y and can be browsed at the normal kernel.org git web

Re: [PATCH] arm64: Trap WFI executed in userspace

2018-08-09 Thread Will Deacon
On Thu, Aug 09, 2018 at 01:34:57PM +0100, Dave Martin wrote: > On Wed, Aug 08, 2018 at 01:34:09PM +0100, Catalin Marinas wrote: > > On Tue, Aug 07, 2018 at 11:24:34AM +0100, Marc Zyngier wrote: > > > On 07/08/18 11:05, Dave Martin wrote: > > > > On Tue, Aug 07, 2018 at 10:33:26AM +0100, Marc

Linux 4.4.147

2018-08-09 Thread Greg KH
I'm announcing the release of the 4.4.147 kernel. All users of the 4.4 kernel series must upgrade. The updated 4.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y and can be browsed at the normal kernel.org git web browser:

Re: [PATCH 0/4] locks: avoid thundering-herd wake-ups

2018-08-09 Thread J. Bruce Fields
On Wed, Aug 08, 2018 at 06:50:06PM -0400, Jeff Layton wrote: > That seems like a legit problem. > > One possible fix might be to have the waiter on (1,2) walk down the > entire subtree and wake up any waiter that is waiting on a lock that > doesn't conflict with the lock on which it's waiting. >

Re: [PATCH 3/5] fs/locks: change all *_conflict() functions to return a new enum.

2018-08-09 Thread J. Bruce Fields
On Thu, Aug 09, 2018 at 12:04:41PM +1000, NeilBrown wrote: > In a future patch we will need to differentiate between conflicts that > are "transitive" and those that aren't. > A "transitive" conflict is defined as one where any lock that > conflicts with the first (newly requested) lock would

Re: [PATCH v2 1/2] dt: bindings: lm3697: Add bindings for lm3697 driver

2018-08-09 Thread Pavel Machek
Hi! > >>> 2 sinks 3 LED strings. How do you know which LED string is which and > >>> what bank it belongs > >>> to when setting the brightness. Each Bank has a separate register for > >>> brightness control. > >> > >> Just a blind shot, without going into details - could you please check > >>

[PATCH] drivers/thermal/tegra: fix a doule free devce node

2018-08-09 Thread zhong jiang
Device node iterators will get the return node. Meawhile, It is also put the previous device node. An explicit put will cause a double put. Signed-off-by: zhong jiang --- drivers/thermal/tegra/soctherm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/thermal/tegra/soctherm.c

Re: [PATCH 5/8] arm64: dts: tegra186: Add SDMMC4 DQS trim value

2018-08-09 Thread Thierry Reding
On Thu, Aug 09, 2018 at 03:02:26PM +0300, Aapo Vienamo wrote: > On Thu, 9 Aug 2018 13:49:22 +0200 > Thierry Reding wrote: > > > On Tue, Aug 07, 2018 at 05:00:01PM +0300, Aapo Vienamo wrote: > > > Add the HS400 DQS trim value for Tegra186 SDMMC4. > > > > > > Signed-off-by: Aapo Vienamo > > >

Re: [PATCH 3/5] perf/hw_breakpoint: Remove superfluous bp->attr.disabled = 0

2018-08-09 Thread Oleg Nesterov
On 08/09, Jiri Olsa wrote: > > @@ -526,10 +526,9 @@ int modify_user_hw_breakpoint(struct perf_event *bp, > struct perf_event_attr *att > if (err) > return err; > > - if (!attr->disabled) { > + if (!attr->disabled) > perf_event_enable(bp); > -

[PATCH 2/2] x86/MCE/AMD: Skip creating kobjects with NULL names

2018-08-09 Thread Yazen Ghannam
From: Yazen Ghannam During mce_threshold_create_device() data structures are allocated for each CPUs MCA banks and thresholding blocks. These data structures are used to save information related to AMD's MCA Error Thresholding feature. The structures are used in the thresholding interrupt

Re: [PATCH] ftrace: remove unused pointer ftrace_swapper_pid

2018-08-09 Thread Steven Rostedt
On Thu, 9 Aug 2018 13:56:09 +0100 Colin King wrote: > From: Colin Ian King > > Pointer ftrace_swapper_pid is defined but is never used hence it is > redundant and can be removed. The use of this variable was removed > in commit 345ddcc882d8 ("ftrace: Have set_ftrace_pid use the bitmap > like

[PATCH] arm:pmsa-v8: remove some extra semicolon

2018-08-09 Thread zhong jiang
There are some extra semicolon in pmsa-v8.c. So just remove them. I detect the issue with the help of Coccinelle. Signed-off-by: zhong jiang --- arch/arm/mm/pmsa-v8.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mm/pmsa-v8.c b/arch/arm/mm/pmsa-v8.c index

Re: [PATCH v8 3/6] Uprobes: Support SDT markers having reference count (semaphore)

2018-08-09 Thread Oleg Nesterov
I need to read this (hopefully final) version carefully. I'll try to do this before next Monday. just one note, On 08/09, Ravi Bangoria wrote: > > +static void delayed_uprobe_remove(struct uprobe *uprobe, struct mm_struct > *mm) > +{ > + struct list_head *pos, *q; > + struct

[PATCH v3 1/4] dt-bindings: add binding for i.MX8MQ CCM

2018-08-09 Thread Abel Vesa
From: Lucas Stach This adds the binding for the i.MX8MQ Clock Controller Module. Signed-off-by: Lucas Stach Signed-off-by: Abel Vesa --- .../devicetree/bindings/clock/imx8mq-clock.txt | 20 + include/dt-bindings/clock/imx8mq-clock.h | 629 + 2 files

[PATCH v3 3/4] clk: imx: add SCCG PLL type

2018-08-09 Thread Abel Vesa
From: Lucas Stach The SCCG is a new PLL type introduced on i.MX8. Add support for this. The driver currently misses the PLL lock check, as the preliminary documentation mentions lock configurations, but is quiet about where to find the actual lock status signal. Signed-off-by: Lucas Stach

[PATCH v3 0/4] Add i.MX8MQ clock driver

2018-08-09 Thread Abel Vesa
This is basically just a resend of the following patchset: https://www.spinics.net/lists/linux-clk/msg23141.html I've just updated the patchset and implemented Shawn's and Aisheng's comments. I hope I haven't missed any of their comments. Lucas Stach (4): dt-bindings: add binding for i.MX8MQ

[PATCH v3 2/4] clk: imx: add fractional PLL output clock

2018-08-09 Thread Abel Vesa
From: Lucas Stach This is a new clock type introduced on i.MX8. Signed-off-by: Lucas Stach Signed-off-by: Abel Vesa --- drivers/clk/imx/Makefile | 1 + drivers/clk/imx/clk-frac-pll.c | 230 + drivers/clk/imx/clk.h | 3 + 3 files

[PATCH 08/44] perf report: Add raw report support for s390 auxiliary trace

2018-08-09 Thread Arnaldo Carvalho de Melo
From: Thomas Richter Add support for s390 auxiliary trace support. Use 'perf record -e rbd000' to create the perf.data file. The event also has the symbolic name SF_CYCLES_BASIC_DIAG, using 'perf record -e SF_CYCLES_BASIC_DIAG' is equivalent. Use 'perf report -D' to display the auxiliary

[PATCH 09/44] perf report: Add GUI report support for s390 auxiliary trace

2018-08-09 Thread Arnaldo Carvalho de Melo
From: Thomas Richter Add support for s390 auxiliary trace support. Use 'perf record -e rbd000 -- ls' to create the perf.data file. Use 'perf report' to display the auxiliary trace data. Output before: [root@s35lp76 perf]# ./perf report --stdio 0x128 [0x10]: failed to process type: 70

[PATCH 06/44] perf trace: Use perf_evsel__sc_tp_{uint,ptr} for "id"/"args" handling syscalls:* events

2018-08-09 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Now it looks just about the same as for the trace__sys_{enter,exit}. Cc: Adrian Hunter Cc: David Ahern Cc: Jiri Olsa Cc: Namhyung Kim Cc: Wang Nan Link: https://lkml.kernel.org/n/tip-y59may7zx1eccnp4m3qm4...@git.kernel.org Signed-off-by: Arnaldo Carvalho de

[PATCH 07/44] perf auxtrace: Support for perf report -D for s390

2018-08-09 Thread Arnaldo Carvalho de Melo
From: Thomas Richter Add initial support for s390 auxiliary traces using the CPU-Measurement Sampling Facility. Support and ignore PERF_REPORT_AUXTRACE_INFO records in the perf data file. Later patches will show the contents of the auxiliary traces. Setup the auxtrace queues and data

[PATCH 12/44] perf bpf: Add 'syscall_enter' probe helper for syscall enter tracepoints

2018-08-09 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Allowing one to hook into the syscalls:sys_enter_NAME tracepoints, an example is provided that hooks into the 'openat' syscall. Using it with the probe:vfs_getname probe into getname_flags to get the filename args as it is copied from userspace: # perf probe -l

[PATCH 13/44] perf annotate: Make symbol__annotate_fprintf2() local

2018-08-09 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa There's no outside user of it. Signed-off-by: Jiri Olsa Cc: Alexander Shishkin Cc: David Ahern Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian Link: https://lkml.kernel.org/r/20180804130521.11408-2-jo...@kernel.org Signed-off-by: Arnaldo Carvalho de Melo ---

[PATCH 16/44] perf annotate: Rename struct annotation_line::samples* to data*

2018-08-09 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa The name 'samples*' is little confusing because we have nested 'struct sym_hist_entry' under annotation_line struct, which holds 'nr_samples' as well. Also the holding struct name is 'annotation_data' so the 'data' name fits better. Signed-off-by: Jiri Olsa Cc: Alexander

[PATCH 15/44] perf annotate: Get rid of annotation__scnprintf_samples_period()

2018-08-09 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa We have more current function tto get the title for annotation, which is hists__scnprintf_title. They both have same output as far as the annotation's header line goes. They differ in counting of the nr_samples, hists__scnprintf_title provides more accurate number based on the

[PATCH 14/44] perf annotate: Make annotation_line__max_percent static

2018-08-09 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa There's no outside user of it. Signed-off-by: Jiri Olsa Cc: Alexander Shishkin Cc: David Ahern Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian Link: http://lkml.kernel.org/r/20180804130521.11408-3-jo...@kernel.org Signed-off-by: Arnaldo Carvalho de Melo ---

[PATCH 05/44] perf trace: Setup struct syscall_tp for syscalls:sys_{enter,exit}_NAME events

2018-08-09 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Mapping "__syscall_nr" to "id" and setting up "args" from the offset of "__syscall_nr" + sizeof(u64), as the payload for syscalls:* is the same as for raw_syscalls:*, just the fields have different names. Cc: Adrian Hunter Cc: David Ahern Cc: Jiri Olsa Cc:

[PATCH 03/44] perf trace: Rename some syscall_tp methods to raw_syscall

2018-08-09 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Because raw_syscalls have the field for the syscall number as 'id' while the syscalls:sys_{enter,exit}_NAME have it as __syscall_nr... Since we want to support both for being able to enable just a syscalls:sys_{enter,exit}_name instead of asking for

[PATCH 02/44] perf trace: Use beautifiers on syscalls:sys_enter_ handlers

2018-08-09 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo We were using the beautifiers only when processing the raw_syscalls:sys_enter events, but we can as well use them for the syscalls:sys_enter_NAME events, as the layout is the same. Some more tweaking is needed as we're processing them straight away, i.e. there is

[PATCH 04/44] perf trace: Allow setting up a syscall_tp struct without a format_field

2018-08-09 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo To avoid having to ask libtraceevent to find a field by name when handling each tracepoint event, we setup a struct syscall_tp with a tp_field struct having an extractor function + the offset for the "id", "args" and "ret" raw_syscalls:sys_{enter,exit} tracepoints.

[PATCH 10/44] perf vendor events arm64: Enable JSON events for eMAG

2018-08-09 Thread Arnaldo Carvalho de Melo
From: Sean V Kelley This patch adds the Ampere Computing eMAG file. This platform follows the ARMv8 recommended IMPLEMENTATION DEFINED events, where applicable. Signed-off-by: Sean V Kelley Reviewed-by: John Garry Cc: Alexander Shishkin Cc: Ganapatrao Kulkarni Cc: Jiri Olsa Cc: Namhyung

[PATCH 11/44] perf tools: Drop unneeded bitmap_zero() calls

2018-08-09 Thread Arnaldo Carvalho de Melo
From: Yury Norov bitmap_zero() is called after bitmap_alloc() in perf code. But bitmap_alloc() internally uses calloc() which guarantees that allocated area is zeroed. So following bitmap_zero is unneeded. Drop it. This happened because of confusing name for bitmap allocator. It should has name

Re: [PATCH v3] resource: Merge resources on a node when hot-adding memory

2018-08-09 Thread Mike Rapoport
On Thu, Aug 09, 2018 at 12:54:09PM +1000, Rashmica Gupta wrote: > When hot-removing memory release_mem_region_adjustable() splits > iomem resources if they are not the exact size of the memory being > hot-deleted. Adding this memory back to the kernel adds a new > resource. > > Eg a node has

[PATCH v2] PCI/AER: Enable SERR# forwarding in non ACPI flow

2018-08-09 Thread Bharat Kumar Gogada
As per Figure 6-3 in PCIe r4.0, sec 6.2.6, ERR_ messages will be forwarded from the secondary interface to the primary interface, if the SERR# Enable bit in the Bridge Control register is set. Currently PCI_BRIDGE_CTL_SERR is being enabled only in ACPI flow. This patch enables PCI_BRIDGE_CTL_SERR

Re: [PATCH v3 01/14] sched/core: uclamp: extend sched_setattr to support utilization clamping

2018-08-09 Thread Randy Dunlap
On 08/09/2018 01:39 AM, Patrick Bellasi wrote: > On 06-Aug 09:50, Randy Dunlap wrote: >> Hi, > > Hi Randy, > >> On 08/06/2018 09:39 AM, Patrick Bellasi wrote: >>> diff --git a/init/Kconfig b/init/Kconfig >>> index 041f3a022122..1d45a6877d6f 100644 >>> --- a/init/Kconfig >>> +++ b/init/Kconfig

Re: [GIT PULL 00/44] perf/core improvements and fixes

2018-08-09 Thread Kim Phillips
On Thu, 9 Aug 2018 11:57:38 -0300 Arnaldo Carvalho de Melo wrote: Hi Arnaldo, > Arch specific: > > arm64: (Sean V Kelley) > > - Enable JSON events for Ampere Computing eMAG processor > Did this one get missed?: https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1745454.html

Re: [PATCH 28/33] vfs: syscall: Add fsconfig() for configuring and managing a context [ver #11]

2018-08-09 Thread Eric W. Biederman
David Howells writes: > Eric W. Biederman wrote: > >> First let me thank you for adding both FSCONFIG_CMD_CREATE and >> FSCONFIG_CMD_RECONFIGURE. Unfortunately the implementation is currently >> broken. So this patch gets my: >> >> This is broken in two specific ways. >> ... >> 2)

Re: [PATCH v3 06/14] sched/cpufreq: uclamp: add utilization clamping for RT tasks

2018-08-09 Thread Quentin Perret
Hi Patrick, On Thursday 09 Aug 2018 at 16:41:56 (+0100), Patrick Bellasi wrote: > > IIUC, not far below this you should still have something like: > > > > if (rt_rq_is_runnable(>rt)) > > return max; > > Do you mean that when RT tasks are RUNNABLE we still want to got to > MAX?

[PATCH 1/2] x86/MCE/AMD: Check for NULL banks in THR interrupt handler

2018-08-09 Thread Yazen Ghannam
From: Yazen Ghannam If threshold_init_device() fails then per_cpu(threshold_banks) will be deallocated. The thresholding interrupt handler will still be active, so it's possible to get a NULL pointer dereference if a THR interrupt happens and any of the structures are NULL. Exit the handler if

[PATCH v3 3/7] tracing: Generalize hist trigger onmax and save action

2018-08-09 Thread Tom Zanussi
From: Tom Zanussi The action refactor code allowed actions and handlers to be separated, but the existing onmax handler and save action code is still not flexible enough to handle arbitrary coupling. This change generalizes them and in the process makes additional handlers and actions easier to

[PATCH v3 4/7] tracing: Add conditional snapshot

2018-08-09 Thread Tom Zanussi
From: Tom Zanussi Currently, tracing snapshots are context-free - they capture the ring buffer contents at the time the tracing_snapshot() function was invoked, and nothing else. Additionally, they're always taken unconditionally - the calling code can decide whether or not to take a snapshot,

Re: [PATCH 28/33] vfs: syscall: Add fsconfig() for configuring and managing a context [ver #11]

2018-08-09 Thread Miklos Szeredi
On Thu, Aug 9, 2018 at 4:24 PM, David Howells wrote: > Eric W. Biederman wrote: > >> First let me thank you for adding both FSCONFIG_CMD_CREATE and >> FSCONFIG_CMD_RECONFIGURE. Unfortunately the implementation is currently >> broken. So this patch gets my: >> >> This is broken in two specific

[PATCH v3 7/7] tracing: Add hist trigger onchange() handler

2018-08-09 Thread Tom Zanussi
From: Tom Zanussi Add support for a hist:onchange($var) handler, similar to the onmax() handler but triggering whenever there's any change in $var, not just a max. Signed-off-by: Tom Zanussi --- Documentation/trace/histogram.txt | 97 +++

[PATCH v3 2/7] tracing: Split up onmatch action data

2018-08-09 Thread Tom Zanussi
From: Tom Zanussi Currently, the onmatch action data binds the onmatch action to data related to synthetic event generation. Since we want to allow the onmatch handler to potentially invoke a different action, and because we expect other handlers to generate synthetic events, we need to

<    1   2   3   4   5   6   7   8   9   10   >