[PATCH v3 2/3] spi: Allow SPI devices to request the pumping thread be realtime

2019-05-14 Thread Douglas Anderson
Right now the only way to get the SPI pumping thread bumped up to realtime priority is for the controller to request it. However it may be that the controller works fine with the normal priority but communication to a particular SPI device on the bus needs realtime priority. Let's add a way for d

[PATCH v3 0/3] spi: A better solution for cros_ec_spi reliability

2019-05-14 Thread Douglas Anderson
This series is a much better solution for getting the Chrome OS EC to talk reliably. Patch #1 in this series is the most important. It can land any time. Patch #2 in this series (a SPI framework patch) needs to land before patch #3. Note that patches #2 and #3 really just fix a corner case and

Re: [PATCH v6 1/4] dt-bindings: media: add Amlogic Video Decoder Bindings

2019-05-14 Thread Martin Blumenstingl
Hi Maxime, On Tue, May 14, 2019 at 3:56 PM Maxime Jourdan wrote: > > Add documentation for the meson vdec dts node. thank you for working on this! > Reviewed-by: Rob Herring > Signed-off-by: Maxime Jourdan Reviewed-by: Martin Blumenstingl [...] > +Required properties: > +- compatible: value

[PATCH v4 00/13] Support of ASUS TUF Gaming series laptops

2019-05-14 Thread Yurii Pavlovskyi
Hi, this is the fourth version of the patch series. Changelog: v4: * Rebase on for-next branch * Extract local variable in patch 01 * Rename new method to "..._method3" and keep comma in struct declaration in patch 03 (NOTE: the arg2 does not fit on same line by 1 character) * Patch

[PATCH v4 01/13] platform/x86: asus-wmi: Fix hwmon device cleanup

2019-05-14 Thread Yurii Pavlovskyi
The driver does not clean up the hwmon device on exit or error. To reproduce the bug, repeat rmmod, insmod to verify that device number /sys/devices/platform/asus-nb-wmi/hwmon/hwmon?? grows every time. Replace call for registering device with devm_* version that unregisters it automatically. Signe

[PATCH v4 02/13] platform/x86: asus-wmi: Fix preserving keyboard backlight intensity on load

2019-05-14 Thread Yurii Pavlovskyi
The error code and return value are mixed up. The intensity is always set to 0 on load as kbd_led_read returns either 0 or negative value. To reproduce set backlight to maximum, reload driver and try to increase it using keyboard hotkey, the intensity will drop as a result. Correct the implementati

Re: [PATCH] mfd: stmfx: Fix macro definition spelling

2019-05-14 Thread Lee Jones
On Tue, 14 May 2019, Nathan Chancellor wrote: > On Mon, May 13, 2019 at 08:30:59AM +0100, Lee Jones wrote: > > On Fri, 10 May 2019, Nathan Chancellor wrote: > > > > > Clang warns: > > > > > > In file included from drivers/mfd/stmfx.c:13: > > > include/linux/mfd/stmfx.h:7:9: warning: 'MFD_STMFX_H

[PATCH v4 03/13] platform/x86: asus-wmi: Increase input buffer size of WMI methods

2019-05-14 Thread Yurii Pavlovskyi
The asus-nb-wmi driver is matched by WMI alias but fails to load on TUF Gaming series laptops producing multiple ACPI errors in the kernel log. The input buffer for WMI method invocation size is 2 dwords, whereas 3 are expected by this model. FX505GM: .. Method (WMNB, 3, Serialized) { P8XH (Z

[PATCH v4 04/13] platform/x86: wmi: Add function to get _UID of WMI device

2019-05-14 Thread Yurii Pavlovskyi
Add a new function to acpi.h / wmi.c that returns _UID of the ACPI WMI device. For example, it returns "ATK" for the following declaration in DSDT: Device (ATKD) { Name (_HID, "PNP0C14" /* Windows Management Instrumentation Device */) // _HID: Hardware ID Name (_UID, "ATK") // _UID:

Re: [PATCH][next] iwlwifi: d3: Use struct_size() helper

2019-05-14 Thread Gustavo A. R. Silva
On 5/14/19 12:16 AM, Luciano Coelho wrote: > > Thanks! Applied to our internal tree and it will reach the mainline > following our normal upstreaming process. > Awesome. :) Thanks, Luciano. -- Gustavo

[PATCH v4 05/13] platform/x86: asus-wmi: Improve DSTS WMI method ID detection

2019-05-14 Thread Yurii Pavlovskyi
The DSTS method detection mistakenly selects DCTS instead of DSTS if nothing is returned when the method ID is not defined in WMNB. As a result, the control of keyboard backlight is not functional for TUF Gaming series laptops. Implement detection based on _UID of the WMI device instead. There is

[PATCH v4 06/13] platform/x86: asus-wmi: Refactor WMI event handling

2019-05-14 Thread Yurii Pavlovskyi
Refactor WMI event handling into separate functions for getting the event code and handling the retrieved event code as a preparation for introduction of WMI event queue support. Signed-off-by: Yurii Pavlovskyi --- drivers/platform/x86/asus-wmi.c | 66 + 1 file ch

[PATCH v4 07/13] platform/x86: asus-wmi: Support WMI event queue

2019-05-14 Thread Yurii Pavlovskyi
Event codes are expected to be retrieved from a queue on at least some models. Specifically, very likely the ACPI WMI devices with _UID ATK are queued whereas those with ASUSWMI are not [1]. The WMI event codes are pushed into a circular buffer queue. After the INIT method is called, ACPI code is

[PATCH v4 08/13] platform/x86: asus-nb-wmi: Add microphone mute key code

2019-05-14 Thread Yurii Pavlovskyi
The microphone mute key is missing from sparse keymap. It is present on FX505GM and possibly other laptops. Add the missing code. Also, comment on the fan mode switch key, which has the same code as the already used key. Signed-off-by: Yurii Pavlovskyi --- drivers/platform/x86/asus-nb-wmi.c | 3

[PATCH v4 09/13] platform/x86: asus-wmi: Refactor error handling

2019-05-14 Thread Yurii Pavlovskyi
Remove exit label as it is only used once from the point in code where no cleanup is required and return can be called immediately. Signed-off-by: Yurii Pavlovskyi --- drivers/platform/x86/asus-wmi.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/platform/x86/as

[PATCH v4 10/13] platform/x86: asus-wmi: Organize code into sections

2019-05-14 Thread Yurii Pavlovskyi
The driver has grown pretty big and will grow more, which makes it hard to navigate and understand. Add uniform comments to the code and ensure that it is sorted into logical sections. Signed-off-by: Yurii Pavlovskyi --- drivers/platform/x86/asus-wmi.c | 89 + 1 f

Re: [PATCH v2 0/6] mm/devm_memremap_pages: Fix page release race

2019-05-14 Thread Dan Williams
On Tue, May 14, 2019 at 11:53 AM Jane Chu wrote: > > On 5/13/2019 12:22 PM, Logan Gunthorpe wrote: > > On 2019-05-08 11:05 a.m., Logan Gunthorpe wrote: > > On 2019-05-07 5:55 p.m., Dan Williams wrote: > > Changes since v1 [1]: > - Fix a NULL-pointer deref crash in pci_p2pdma_release() (Logan) > >

[PATCH v4 11/13] platform/x86: asus-wmi: Enhance detection of thermal data

2019-05-14 Thread Yurii Pavlovskyi
The obviously wrong value 1 for temperature device ID in this driver is returned by at least some devices, including TUF Gaming series laptops, instead of 0 as expected previously. Observable effect is that a temp1_input in hwmon reads temperature near absolute zero. Consider 0.1 K an erroneous va

Re: [PATCH v9 2/3] spi: Add Renesas R-Car Gen3 RPC-IF SPI controller driver

2019-05-14 Thread Sergei Shtylyov
Hello! On 04/19/2019 08:38 AM, masonccy...@mxic.com.tw wrote: >> >> >> >> Add a driver for Renesas R-Car Gen3 RPC-IF SPI controller. >> >> >> >> >> >> >> >> Signed-off-by: Mason Yang >> >> >> >> Signed-off-by: Sergei Shtylyov >> >> >> > [...] >> >> >> >> diff --git a/drivers/spi/spi-renesas-rpc

[PATCH v4 12/13] platform/x86: asus-wmi: Switch fan boost mode

2019-05-14 Thread Yurii Pavlovskyi
The WMI exposes a write-only device ID where up to three fan modes can be switched on some laptops (TUF Gaming FX505GM). There is a hotkey combination Fn-F5 that does have a fan icon, which is designed to toggle between fan modes. The DSTS of the device ID returns information about the presence of

[PATCH v4 13/13] platform/x86: asus-wmi: Do not disable keyboard backlight on unloading

2019-05-14 Thread Yurii Pavlovskyi
The keyboard backlight is automatically disabled when the module is unloaded as it is exposed as a ledclass device. Change this behavior to ignore setting brightness when the device is in unloading state. Signed-off-by: Yurii Pavlovskyi --- drivers/platform/x86/asus-wmi.c | 4 1 file change

[PATCH 2/2] ubifs: Convert xattr inum to host order

2019-05-14 Thread Richard Weinberger
UBIFS stores inode numbers as LE64 integers. We have to convert them to host oder, otherwise BE hosts won't be able to use the integer correctly. Reported-by: kbuild test robot Fixes: 9ca2d7326444 ("ubifs: Limit number of xattrs per inode") Signed-off-by: Richard Weinberger --- fs/ubifs/xattr.c

[PATCH 1/2] ubifs: Use correct config name for encryption

2019-05-14 Thread Richard Weinberger
CONFIG_UBIFS_FS_ENCRYPTION is gone, fscrypt is now controlled via CONFIG_FS_ENCRYPTION. This problem slipped into the tree because of a mis-merge on my side. Reported-by: Eric Biggers Fixes: eea2c05d927b ("ubifs: Remove #ifdef around CONFIG_FS_ENCRYPTION") Signed-off-by: Richard Weinberger ---

Re: [PATCH v4 0/6] LM36274 Introduction

2019-05-14 Thread Jacek Anaszewski
I need acks from regulator framework maintainer for patches 1/6 and 4/6. Adding Liam and Mark. On 5/7/19 10:11 PM, Dan Murphy wrote: Hello This is patch set v4 for the LM36274. There were no changes made to this patch set except to rebase this on top of the latest TI LMU common code patchset.

Re: [PATCH v9 2/3] spi: Add Renesas R-Car Gen3 RPC-IF SPI controller driver

2019-05-14 Thread Sergei Shtylyov
On 05/14/2019 10:06 PM, Sergei Shtylyov wrote: [...] Have you tested reading? v8 patch still works while v9 patches hang on doing: $ cat /dev/mtd... >>> >>>Sorry, 'od -x', not 'cat'. >> >> root@draak:/# cat /proc/mtd >> dev:size era

Re: [PATCH] vsprintf: Do not break early boot with probing addresses

2019-05-14 Thread Geert Uytterhoeven
Hi Steve, On Tue, May 14, 2019 at 8:37 PM Steven Rostedt wrote: > On Tue, 14 May 2019 11:02:17 +0200 > Geert Uytterhoeven wrote: > > On Tue, May 14, 2019 at 10:29 AM David Laight > > wrote: > > > > And I like Steven's "(fault)" idea. > > > > How about this: > > > > > > > > if ptr < PAGE_

Re: [PATCH v2 1/6] drivers/base/devres: Introduce devm_release_action()

2019-05-14 Thread Greg Kroah-Hartman
On Tue, May 07, 2019 at 04:56:05PM -0700, Dan Williams wrote: > The devm_add_action() facility allows a resource allocation routine to > add custom devm semantics. One such user is devm_memremap_pages(). > > There is now a need to manually trigger devm_memremap_pages_release(). > Introduce devm_re

Re: [RFC PATCH v1 5/6] soc/tegra: regulators: Add regulators coupler for Tegra20

2019-05-14 Thread Dmitry Osipenko
13.05.2019 20:38, Mark Brown пишет: > On Sun, May 12, 2019 at 08:42:39PM +0300, Dmitry Osipenko wrote: >> 12.05.2019 12:06, Mark Brown пишет: > >>> This seems like it should be easy enough to describe - we just need >>> minimum and maximum spreads between pairs of rails. > >> Yes, but the proper

Re: [PATCH v2 0/3] initramfs: add support for xattrs in the initial ram disk

2019-05-14 Thread James Bottomley
On Tue, 2019-05-14 at 08:19 -0700, Andy Lutomirski wrote: > On Mon, May 13, 2019 at 5:47 AM Roberto Sassu om> wrote: > > On 5/13/2019 11:07 AM, Rob Landley wrote: [...] > > > > The only reason why opening .xattr-list works is that IMA is > > > > not yet initialized (late_initcall vs rootfs_initcal

Re: [PATCH v3 0/4] Some new features for the latency tracers

2019-05-14 Thread Viktor Rosendahl
On 5/14/19 6:51 PM, Steven Rostedt wrote: Hi Viktor, Note, as the merge window is open and I'm also currently at a conference, it may be a while before I can take a look at this. If you don't hear something from me in 10 days, feel free to send me a ping. -- Steve Hi Steve, Ok, good to kn

Re: [PATCH v3 0/7] mm: reparent slab memory on cgroup removal

2019-05-14 Thread Shakeel Butt
From: Roman Gushchin Date: Mon, May 13, 2019 at 1:22 PM To: Shakeel Butt Cc: Andrew Morton, Linux MM, LKML, Kernel Team, Johannes Weiner, Michal Hocko, Rik van Riel, Christoph Lameter, Vladimir Davydov, Cgroups > On Fri, May 10, 2019 at 05:32:15PM -0700, Shakeel Butt wrote: > > From: Roman Gushch

WARNING: CPU: 1 PID: 228 at kernel/cgroup/cgroup.c:5929

2019-05-14 Thread Matteo Croce
Hi, I have the following splat when a ptraced process exits: root@debian64:~# strace true execve("/bin/true", ["true"], 0x7ffd444fdfb0 /* 18 vars */) = 0 [..] exit_group(0) = ? [5.394349] WARNING: CPU: 1 PID: 228 at kernel/cgroup/cgroup.c:5929 cgroup_exit+0xed/0x100

Re: [PATCH v2 1/6] drivers/base/devres: Introduce devm_release_action()

2019-05-14 Thread Dan Williams
On Tue, May 14, 2019 at 12:12 PM Greg Kroah-Hartman wrote: > > On Tue, May 07, 2019 at 04:56:05PM -0700, Dan Williams wrote: > > The devm_add_action() facility allows a resource allocation routine to > > add custom devm semantics. One such user is devm_memremap_pages(). > > > > There is now a need

Re: [PATCH 2/3] perf parse-regs: Add generic support for non-gprs

2019-05-14 Thread Liang, Kan
On 5/14/2019 2:19 PM, Arnaldo Carvalho de Melo wrote: Em Tue, May 14, 2019 at 07:39:12AM -0700, kan.li...@linux.intel.com escreveu: From: Kan Liang Some non general purpose registers, e.g. XMM, can be collected on some platforms, e.g. X86 Icelake. Add a weak function has_non_gprs_support()

Re: [PATCH v3 01/13] dt-bindings: media: Add binding for MT2712 MIPI-CSI2

2019-05-14 Thread Rob Herring
On Tue, May 14, 2019 at 02:13:38PM +0800, Stu Hsieh wrote: > Add MIPI-CSI2 dt-binding for Mediatek MT2712 SoC > > Signed-off-by: Stu Hsieh > --- > .../bindings/media/mediatek-mipicsi-camsv.txt | 53 ++ > .../media/mediatek-mipicsi-common.txt | 19 +++ > .../bindings/m

Re: [RFC PATCH 0/3] Add support of busfreq

2019-05-14 Thread Leonard Crestez
On 15.03.2019 18:55, Alexandre Bailon wrote: >> On Wed, Mar 13, 2019 at 12:33 PM Alexandre Bailon >> wrote: >>> As exemple, this series implements busfreq for i.MX8MM whose >>> upstreaming is in progress. Because this relies on ATF to >>> do the frequency scaling, it won't be hard make it work.

Re: [PATCH v3 1/3] platform/chrome: cros_ec_spi: Move to real time priority for transfers

2019-05-14 Thread Guenter Roeck
On Tue, May 14, 2019 at 11:40 AM Douglas Anderson wrote: > > In commit 37a186225a0c ("platform/chrome: cros_ec_spi: Transfer > messages at high priority") we moved transfers to a high priority > workqueue. This helped make them much more reliable. > > ...but, we still saw failures. > > We were ac

Re: [PATCH 2/3] perf parse-regs: Add generic support for non-gprs

2019-05-14 Thread Arnaldo Carvalho de Melo
Em Tue, May 14, 2019 at 03:25:51PM -0400, Liang, Kan escreveu: > > > On 5/14/2019 2:19 PM, Arnaldo Carvalho de Melo wrote: > > Em Tue, May 14, 2019 at 07:39:12AM -0700, kan.li...@linux.intel.com > > escreveu: > > > From: Kan Liang > > > > > > Some non general purpose registers, e.g. XMM, can b

Re: [PATCH] vsprintf: Do not break early boot with probing addresses

2019-05-14 Thread Steven Rostedt
On Tue, 14 May 2019 21:13:06 +0200 Geert Uytterhoeven wrote: > > > Do we care about the value? "(-E%u)"? > > > > That too could be confusing. What would (-E22) be considered by a user > > doing an sprintf() on some string. I know that would confuse me, or I > > would think that it was what the

Re: [PATCH v7 10/13] selftests/resctrl: Add vendor detection mechanism

2019-05-14 Thread André Przywara
On 14/05/2019 18:20, James Morse wrote: Hi James, > (thanks for digging into this!) > > On 10/05/2019 18:39, Andre Przywara wrote: >> On Sat, 9 Feb 2019 18:50:39 -0800 >> Fenghua Yu wrote: >>> From: Babu Moger >>> >>> RESCTRL feature is supported both on Intel and AMD now. Some features >>> a

Re: WARNING: CPU: 1 PID: 228 at kernel/cgroup/cgroup.c:5929

2019-05-14 Thread Roman Gushchin
Hi Matteo! Thank you for the report! Can you, please, try the patch from this mail: https://lkml.org/lkml/2019/5/14/639 ? Thanks! Roman On Tue, May 14, 2019 at 09:23:48PM +0200, Matteo Croce wrote: > Hi, > > I have the following splat when a ptraced process exits: > > root@debian64:~# strace

Re: [PATCH v3 2/3] spi: Allow SPI devices to request the pumping thread be realtime

2019-05-14 Thread Guenter Roeck
On Tue, May 14, 2019 at 11:40 AM Douglas Anderson wrote: > > Right now the only way to get the SPI pumping thread bumped up to > realtime priority is for the controller to request it. However it may > be that the controller works fine with the normal priority but > communication to a particular S

undefined reference to `__aeabi_uldivmod' after 25c13324d03d ("IB/mlx5: Add steering SW ICM device memory type")

2019-05-14 Thread Nathan Chancellor
Hi all, I checked the RDMA mailing list and trees and I haven't seen this reported/fixed yet (forgive me if it has) but when building for arm32 with multi_v7_defconfig and the following configs (distilled from allyesconfig): CONFIG_INFINIBAND=y CONFIG_INFINIBAND_ON_DEMAND_PAGING=y CONFIG_INFINIBA

Re: [PATCH] mfd: stmfx: Fix macro definition spelling

2019-05-14 Thread Nathan Chancellor
On Tue, May 14, 2019 at 07:54:04PM +0100, Lee Jones wrote: > On Tue, 14 May 2019, Nathan Chancellor wrote: > > > On Mon, May 13, 2019 at 08:30:59AM +0100, Lee Jones wrote: > > > On Fri, 10 May 2019, Nathan Chancellor wrote: > > > > > > > Clang warns: > > > > > > > > In file included from drivers

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

2019-05-14 Thread Daniel Lezcano
On 17/04/2019 16:47, Bartosz Golaszewski wrote: > 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 fragme

Re: WARNING: CPU: 1 PID: 228 at kernel/cgroup/cgroup.c:5929

2019-05-14 Thread Matteo Croce
Hi Roman, yes, this one fixes it. -- Matteo Croce per aspera ad upstream

[GIT PULL] parisc architecture updates for kernel v5.2

2019-05-14 Thread Helge Deller
Hi Linus, please pull two small additional enhancements for this merge window for the parisc architecture for kernel 5.2 from: git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git parisc-5.2-2 Two small enhancements, which I didn't included in the last pull request because I

Re: [PATCH] mtd: spinand: Add support for GigaDevice GD5F1GQ4UFxxG

2019-05-14 Thread Miquel Raynal
Hi Schrempf, Schrempf Frieder wrote on Tue, 14 May 2019 16:11:28 +: > Hi Jeff, > > On 14.05.19 17:42, Jeff Kletsky wrote: > > On 5/13/19 6:56 AM, Schrempf Frieder wrote: > > > >> Hi Jeff, > >> > >> I just noticed I hit the wrong button and my previous reply was only > >> sent to the MTD

Re: [PATCH v3 0/7] mm: reparent slab memory on cgroup removal

2019-05-14 Thread Roman Gushchin
On Tue, May 14, 2019 at 12:22:08PM -0700, Shakeel Butt wrote: > From: Roman Gushchin > Date: Mon, May 13, 2019 at 1:22 PM > To: Shakeel Butt > Cc: Andrew Morton, Linux MM, LKML, Kernel Team, Johannes Weiner, > Michal Hocko, Rik van Riel, Christoph Lameter, Vladimir Davydov, > Cgroups > > > On Fri

Re: [PATCH v10 09/12] perf record: implement -z,--compression_level[=] option

2019-05-14 Thread Arnaldo Carvalho de Melo
Em Mon, Mar 18, 2019 at 08:44:42PM +0300, Alexey Budankov escreveu: > > Implemented -z,--compression_level[=] option that enables compression > of mmaped kernel data buffers content in runtime during perf record > mode collection. Default option value is 1 (fastest compression). > > Compression o

Re: WARNING: CPU: 1 PID: 228 at kernel/cgroup/cgroup.c:5929

2019-05-14 Thread Roman Gushchin
On Tue, May 14, 2019 at 09:54:46PM +0200, Matteo Croce wrote: > Hi Roman, > > yes, this one fixes it. > > -- > Matteo Croce > per aspera ad upstream Thank you for the confirmation! The patch will be merged upstream soon. Thanks!

Re: [GIT PULL] Modules updates for v5.2

2019-05-14 Thread pr-tracker-bot
The pull request you sent on Tue, 14 May 2019 17:37:46 +0200: > ssh://g...@gitolite.kernel.org/pub/scm/linux/kernel/git/jeyu/linux.git > tags/modules-for-v5.2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/280664f558c9d973315d48f125eb664cc607d089 Thank you! -- Deet

[PATCH V2 1/3] perf parse-regs: Split parse_regs

2019-05-14 Thread kan . liang
From: Kan Liang The available registers for --int-regs and --user-regs may be different, e.g. XMM registers. Split parse_regs into two dedicated functions for --int-regs and --user-regs respectively. Modify the warning message. "--user-regs=?" should be applied to show the available registers f

[PATCH V2 2/3] perf parse-regs: Add generic support for arch__intr/user_reg_mask()

2019-05-14 Thread kan . liang
From: Kan Liang There may be different register mask for use with intr or user on some platforms, e.g. Icelake. Add weak functions arch__intr_reg_mask() and arch__user_reg_mask() to return intr and user register mask respectively. Check mask before printing or comparing the register name. Gene

[PATCH V2 3/3] perf regs x86: Add X86 specific arch__intr_reg_mask()

2019-05-14 Thread kan . liang
From: Kan Liang XMM registers can be collected on Icelake and later platforms. Add specific arch__intr_reg_mask(), which creating an event to check if the kernel and hardware can collect XMM registers. Test on Skylake which doesn't support XMM registers collection. There is nothing changed.

Re: [PATCH v2] dt-bindings: pinctrl: Convert stm32 pinctrl bindings to json-schema

2019-05-14 Thread Rob Herring
On Fri, 10 May 2019 17:45:26 +0200, Alexandre Torgue wrote: > Convert the STM32 pinctrl binding to DT schema format using json-schema. > > Signed-off-by: Alexandre Torgue > --- > > Hi, > > First pacth to convert DT bindings file (here pinctrl STM32) to json-schema > in order to take advantage o

Re: [PATCH 2/2] pinctrl: mediatek: Update cur_mask in mask/mask ops

2019-05-14 Thread Stephen Boyd
Quoting Nicolas Boichat (2019-05-13 18:37:58) > On Tue, May 14, 2019 at 6:29 AM Stephen Boyd wrote: > > > > Quoting Nicolas Boichat (2019-04-28 20:55:15) > > > During suspend/resume, mtk_eint_mask may be called while > > > wake_mask is active. For example, this happens if a wake-source > > > with

Re: [PATCH v10 09/12] perf record: implement -z,--compression_level[=] option

2019-05-14 Thread Arnaldo Carvalho de Melo
Em Mon, Mar 18, 2019 at 08:44:42PM +0300, Alexey Budankov escreveu: > > Implemented -z,--compression_level[=] option that enables compression > of mmaped kernel data buffers content in runtime during perf record > mode collection. Default option value is 1 (fastest compression). > > Compression o

Re: [PATCH 1/2] of/fdt: Remove dead code and mark functions with __init

2019-05-14 Thread Stephen Boyd
Quoting Rob Herring (2019-05-14 10:06:48) > On Thu, May 9, 2019 at 4:55 PM Stephen Boyd wrote: > > diff --git a/Documentation/devicetree/bindings/common-properties.txt > > b/Documentation/devicetree/bindings/common-properties.txt > > index a3448bfa1c82..1c50d8700ab5 100644 > > --- a/Documentation

Re: [PATCH] lkdtm: support llvm-objcopy

2019-05-14 Thread Nick Desaulniers
On Tue, May 14, 2019 at 11:11 AM Kees Cook wrote: > > On Mon, May 13, 2019 at 04:50:05PM -0700, Nick Desaulniers wrote: > > On Mon, May 13, 2019 at 4:29 PM Nathan Chancellor > > wrote: > > > > > > On Mon, May 13, 2019 at 03:21:09PM -0700, 'Nick Desaulniers' via Clang > > > Built Linux wrote: > >

Re: [PATCH v2 3/3] iio: dps310: Add pressure sensing capability

2019-05-14 Thread Eddie James
On 5/11/19 4:48 AM, Jonathan Cameron wrote: On Wed, 8 May 2019 14:35:28 -0500 Eddie James wrote: The DPS310 supports measurement of pressure, so support that in the driver. Use background measurement like the temperature sensing and default to lowest precision and lowest measurement rate.

Re: [PATCH v12 3/3] dt-bindings: mfd: Document Renesas R-Car Gen3 RPC-IF MFD bindings

2019-05-14 Thread Sergei Shtylyov
On 05/14/2019 12:46 PM, masonccy...@mxic.com.tw wrote: There's precedence for such constructs being an MFD: please see drivers/mfd/at91-usart.c, which registers a single MFD cell for > either serial or SPI. >> >>Thanks fir your example, Geert! :-) s/fir/for/, not the firtre

Re: [PATCH v2 3/5] dt-bindings: mfd: mt6397: Add bindings for MT6392 PMIC

2019-05-14 Thread Rob Herring
On Mon, 13 May 2019 18:10:24 +0200, Fabien Parent wrote: > Add the currently supported bindings for the MT6392 PMIC. > > Signed-off-by: Fabien Parent > --- > > V2: > * New patch > > --- > Documentation/devicetree/bindings/mfd/mt6397.txt | 12 ++-- > 1 file changed, 10 insertions(

Re: [PATCH v2] dt-bindings: sifive: describe sifive-blocks versioning

2019-05-14 Thread Rob Herring
On Mon, 13 May 2019 14:51:53 -0700, Paul Walmsley wrote: > For IP blocks that are generated from the public, open-source > sifive-blocks repository, describe the version numbering policy > that its maintainers intend to use, upon request from Rob > Herring . > > Signed-off-by: Paul Walmsley > Sig

Re: [RFC KVM 18/27] kvm/isolation: function to copy page table entries for percpu buffer

2019-05-14 Thread Andy Lutomirski
On Tue, May 14, 2019 at 10:05 AM Peter Zijlstra wrote: > > On Tue, May 14, 2019 at 06:24:48PM +0200, Alexandre Chartre wrote: > > On 5/14/19 5:23 PM, Andy Lutomirski wrote: > > > > How important is the ability to enable IRQs while running with the KVM > > > page tables? > > > > > > > I can't say,

[PATCH 0/2] x86/speculation/mds: Minor fixes

2019-05-14 Thread Andy Lutomirski
The first I heard of MDS was today. Let's fix the problems I noticed right away. Andy Lutomirski (2): x86/speculation/mds: Revert CPU buffer clear on double fault exit x86/speculation/mds: Improve CPU buffer clear documentation Documentation/x86/mds.rst | 44 ++--

Re: [GIT PULL] kgdb changes v5.2-rc1

2019-05-14 Thread pr-tracker-bot
The pull request you sent on Tue, 14 May 2019 17:14:34 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/danielt/linux.git/ > tags/kgdb-5.2-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/ca4b40629f4edd3a961bedcd118e3ad05439ec71 Thank you! -- Deet-doot-dot,

Re: [GIT PULL] parisc architecture updates for kernel v5.2

2019-05-14 Thread pr-tracker-bot
The pull request you sent on Tue, 14 May 2019 22:00:10 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git > parisc-5.2-2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/b2c91128212a4c1a36bd3085191bff21a34324be Thank you! -- Deet-doot-dot,

[PATCH 1/2] x86/speculation/mds: Revert CPU buffer clear on double fault exit

2019-05-14 Thread Andy Lutomirski
The double fault ESPFIX path doesn't return to user mode at all -- it returns back to the kernel by simulating a #GP fault. prepare_exit_to_usermode() will run on the way out of general_protection before running user code. Cc: sta...@vger.kernel.org Cc: Greg Kroah-Hartman Cc: Borislav Petkov Cc:

Re: [PATCH v2 1/5] dt-bindings: regulator: add support for MT6392

2019-05-14 Thread Rob Herring
On Mon, 13 May 2019 18:10:22 +0200, Fabien Parent wrote: > Add binding documentation of the regulator for MT6392 SoCs. > > Signed-off-by: Fabien Parent > --- > > v2: > * Use 'pmic' as node name for the pmic. > * Use 'regulators' as node name for the regulators > * use dash inst

[PATCH 2/2] x86/speculation/mds: Improve CPU buffer clear documentation

2019-05-14 Thread Andy Lutomirski
On x86_64, all returns to usermode go through prepare_exit_to_usermode(), with the sole exception of do_nmi(). This even includes machine checks -- this was added several years ago to support MCE recovery. Update the documentation. Cc: sta...@vger.kernel.org Cc: Greg Kroah-Hartman Cc: Borislav P

Re: [PATCH 2/5] dt-bindings: sound: Add MT8516 AFE PCM bindings

2019-05-14 Thread Rob Herring
On Thu, 2 May 2019 14:10:38 +0200, Fabien Parent wrote: > Add documentation for the bindings of the MT8516 AFE PCM driver. > > Signed-off-by: Fabien Parent > --- > .../bindings/sound/mt8516-afe-pcm.txt | 28 +++ > 1 file changed, 28 insertions(+) > create mode 100644 Do

Re: [PATCH 1/2] dt-bindings: mediatek: audsys: add support for MT8516

2019-05-14 Thread Rob Herring
On Thu, 2 May 2019 14:18:42 +0200, Fabien Parent wrote: > Add AUDSYS device tree bindings documentation for MediaTek MT8516 SoC. > > Signed-off-by: Fabien Parent > --- > .../bindings/arm/mediatek/mediatek,audsys.txt | 1 + > include/dt-bindings/clock/mt8516-clk.h | 17 ++

Re: [RFC KVM 18/27] kvm/isolation: function to copy page table entries for percpu buffer

2019-05-14 Thread Andy Lutomirski
On Tue, May 14, 2019 at 11:09 AM Sean Christopherson wrote: > > On Tue, May 14, 2019 at 07:05:22PM +0200, Peter Zijlstra wrote: > > On Tue, May 14, 2019 at 06:24:48PM +0200, Alexandre Chartre wrote: > > > On 5/14/19 5:23 PM, Andy Lutomirski wrote: > > > > > > How important is the ability to enable

RE: [PATCHv2 08/10] vfio/mdev: Improve the create/remove sequence

2019-05-14 Thread Parav Pandit
Hi Alex, Cornelia, > -Original Message- > From: linux-kernel-ow...@vger.kernel.org ow...@vger.kernel.org> On Behalf Of Parav Pandit > Sent: Thursday, May 9, 2019 2:20 PM > To: Cornelia Huck > Cc: k...@vger.kernel.org; linux-kernel@vger.kernel.org; > kwankh...@nvidia.com; alex.william...

Re: [PATCH] clk: Remove io.h from clk-provider.h

2019-05-14 Thread Maxime Ripard
On Tue, May 14, 2019 at 10:09:31AM -0700, Stephen Boyd wrote: > Now that we've gotten rid of clk_readl() we can remove io.h from the > clk-provider header and push out the io.h include to any code that isn't > already including the io.h header but using things like readl/writel, > etc. > > Found wi

[PATCH v2 1/3] dt-bindings: Remove Linuxisms from common-properties binding

2019-05-14 Thread Stephen Boyd
We shouldn't reference Linux kernel functions or Linux itself in proper bindings. It's OK to reference functions in the kernel when explaining examples, but otherwise we shouldn't reference functions to describe what the binding means. Cc: Hsin-Yi Wang Signed-off-by: Stephen Boyd --- .../device

[PATCH v2 3/3] of/fdt: Mark initial_boot_params as __ro_after_init

2019-05-14 Thread Stephen Boyd
The FDT pointer, i.e. initial_boot_params, shouldn't be changed after init. It's only set by boot code and then the only user of the FDT is the raw sysfs reading API. Mark this pointer with __ro_after_init so that the pointer can't be changed after init. Cc: Hsin-Yi Wang Signed-off-by: Stephen Bo

[PATCH v2 0/3] Cleanup some unused functions in fdt.c

2019-05-14 Thread Stephen Boyd
This series removes some unused functions, marks some more as __init, marks the FDT as __ro_after_init for some more protections, and updates the common properties binding to be less Linux specific. Changes from v1: * New patch for dt-bindings and removal of that hunk from patch 2 Stephen Boyd (

[PATCH v2 2/3] of/fdt: Remove dead code and mark functions with __init

2019-05-14 Thread Stephen Boyd
Some functions in here are never called, and others are only called during __init. Remove the dead code and some dead exports for functions that don't exist (I'm looking at you of_fdt_get_string!). Mark some functions with __init so we can throw them away after we boot up and poke at the FDT blob t

RE: [PATCH] hv_sock: Fix data loss upon socket close

2019-05-14 Thread Sunil Muthuswamy
> -Original Message- > From: Dexuan Cui > Sent: Friday, May 10, 2019 8:57 PM > To: Sunil Muthuswamy ; KY Srinivasan > ; Haiyang Zhang ; > Stephen Hemminger ; Sasha Levin ; > David S. Miller ; > Michael Kelley > Cc: net...@vger.kernel.org; linux-hyp...@vger.kernel.org; > linux-kernel

Re: [v2 PATCH] mm: vmscan: correct nr_reclaimed for THP

2019-05-14 Thread Yang Shi
On 5/13/19 11:20 PM, Michal Hocko wrote: On Mon 13-05-19 21:36:59, Yang Shi wrote: On Mon, May 13, 2019 at 2:45 PM Michal Hocko wrote: On Mon 13-05-19 14:09:59, Yang Shi wrote: [...] I think we can just account 512 base pages for nr_scanned for isolate_lru_pages() to make the counters sane

Re: [PATCH v20 00/28] Intel SGX1 support

2019-05-14 Thread Andy Lutomirski
> On May 14, 2019, at 8:30 AM, Haitao Huang > wrote: > >> On Tue, 14 May 2019 10:17:29 -0500, Andy Lutomirski wrote: >> >> On Tue, May 14, 2019 at 7:33 AM Haitao Huang >> wrote: >>> >>> On Fri, 10 May 2019 14:22:34 -0500, Andy Lutomirski >>> wrote: >>> >>> > On Fri, May 10, 2019 at 12:04 PM Je

Re: [PATCH v20 00/28] Intel SGX1 support

2019-05-14 Thread Sean Christopherson
On Tue, May 14, 2019 at 08:13:36AM -0700, Andy Lutomirski wrote: > On Tue, May 14, 2019 at 3:43 AM Jarkko Sakkinen > wrote: > > > > On Mon, May 13, 2019 at 01:29:26PM +0300, Jarkko Sakkinen wrote: > > > I did study through SDK's file format and realized that it does not > > > does make sense after

[PATCH v4] tools/perf/util: null-terminate version char array upon error

2019-05-14 Thread Donald Yandt
If fgets fails due to any other error besides end-of-file, the version char array may not even be null-terminated. Changes from v1-3: * close file, then return NULL instead of null-terminating version char array Fixes: a1645ce12adb ("perf: 'perf kvm' tool for monitoring guest performance from

Re: [PATCH v2 00/17] kunit: introduce KUnit, the Linux kernel unit testing framework

2019-05-14 Thread Brendan Higgins
On Fri, May 10, 2019 at 02:52:59PM -0700, Frank Rowand wrote: Sorry, I forgot to get back to this thread. > On 5/9/19 3:20 PM, Logan Gunthorpe wrote: > > > > > > On 2019-05-09 3:42 p.m., Theodore Ts'o wrote: > >> On Thu, May 09, 2019 at 11:12:12AM -0700, Frank Rowand wrote: > >>> > >>>     "My

[PATCH v2] arm64: dts: allwinner: a64: orangepi-win: Add wifi and bluetooth nodes

2019-05-14 Thread Jernej Skrabec
The AP6212 is based on the Broadcom BCM43430 or BCM43438. The WiFi side identifies as BCM43430, while the Bluetooth side identifies as BCM43438. WiFi is connected to mmc1 and the Bluetooth side is connected to UART1 in a 4 wire configuration. Same as the WiFi side, due to being the same chip and p

Re: [PATCH 0/7] introduce cpu.headroom knob to cpu controller

2019-05-14 Thread Song Liu
Hi Vincent, > On May 10, 2019, at 11:22 AM, Song Liu wrote: > > > >> On Apr 30, 2019, at 9:54 AM, Song Liu wrote: >> >> >> >>> On Apr 30, 2019, at 12:20 PM, Vincent Guittot >>> wrote: >>> >>> Hi Song, >>> >>> On Tue, 30 Apr 2019 at 08:11, Song Liu wrote: > On Apr

Re: [RFC KVM 18/27] kvm/isolation: function to copy page table entries for percpu buffer

2019-05-14 Thread Sean Christopherson
On Tue, May 14, 2019 at 01:33:21PM -0700, Andy Lutomirski wrote: > On Tue, May 14, 2019 at 11:09 AM Sean Christopherson > wrote: > > For IRQs it's somewhat feasible, but not for NMIs since NMIs are unblocked > > on VMX immediately after VM-Exit, i.e. there's no way to prevent an NMI > > from occur

Re: [PATCH v20 00/28] Intel SGX1 support

2019-05-14 Thread Haitao Huang
On Tue, 14 May 2019 15:45:54 -0500, Andy Lutomirski wrote: On May 14, 2019, at 8:30 AM, Haitao Huang wrote: On Tue, 14 May 2019 10:17:29 -0500, Andy Lutomirski wrote: On Tue, May 14, 2019 at 7:33 AM Haitao Huang wrote: On Fri, 10 May 2019 14:22:34 -0500, Andy Lutomirski wrote: >

Re: [PATCH 1/2] cifs:smbd When reconnecting to server, call smbd_destroy() after all MIDs have been called

2019-05-14 Thread Pavel Shilovsky
пн, 13 мая 2019 г. в 21:02, : > > From: Long Li > > commit 214bab448476 ("cifs: Call MID callback before destroying transport") > assumes that the MID callback should not take srv_mutex, this may not always > be true. SMB Direct requires the MID callback completed before calling > transport so all

Re: [PATCH] scripts/spelling.txt: Add spelling fix for prohibited

2019-05-14 Thread Stephen Boyd
Quoting Chris Paterson (2019-05-14 08:33:41) > Misspelling 'prohibited' is quite common in the real world, although > surprisingly not so much in the Linux Kernel. In addition to fixing the > typo we may as well add it to the spelling checker. > > Also adding the present participle (prohibiting).

Re: [PATCH v4 1/3] mm/vmap: keep track of free blocks for vmap allocation

2019-05-14 Thread Andrew Morton
An earlier version of this patch was accused of crashing the kernel: https://lists.01.org/pipermail/lkp/2019-April/010004.html does the v4 series address this?

Re: [PATCH] arm64: dts: sdm845: Add CPU topology

2019-05-14 Thread Stephen Boyd
Quoting Amit Kucheria (2019-05-13 04:54:12) > On Mon, May 13, 2019 at 4:31 PM Amit Kucheria > wrote: > > > > On Tue, Jan 15, 2019 at 12:13 AM Matthias Kaehlcke > > wrote: > > > > > > The 8 CPU cores of the SDM845 are organized in two clusters of 4 big > > > ("gold") and 4 little ("silver") core

[PULL] vhost: cleanups and fixes

2019-05-14 Thread Michael S. Tsirkin
The following changes since commit e93c9c99a629c61837d5a7fc2120cd2b6c70dbdd: Linux 5.1 (2019-05-05 17:42:58 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git tags/for_linus for you to fetch changes up to 050f4c4d2fbbd8217d94dc21051cc5

Re: [PATCH v2 0/6] mm/devm_memremap_pages: Fix page release race

2019-05-14 Thread Jane Chu
On 5/14/2019 12:04 PM, Dan Williams wrote: On Tue, May 14, 2019 at 11:53 AM Jane Chu wrote: On 5/13/2019 12:22 PM, Logan Gunthorpe wrote: On 2019-05-08 11:05 a.m., Logan Gunthorpe wrote: On 2019-05-07 5:55 p.m., Dan Williams wrote: Changes since v1 [1]: - Fix a NULL-pointer deref crash in p

Re: [PULL] vhost: cleanups and fixes

2019-05-14 Thread pr-tracker-bot
The pull request you sent on Tue, 14 May 2019 17:11:47 -0400: > git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git tags/for_linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/35c99ffa20edd3c24be352d28a63cd3a23121282 Thank you! -- Deet-doot-dot, I am a bot

Re: [PATCH v20 00/28] Intel SGX1 support

2019-05-14 Thread Andy Lutomirski
On Tue, May 14, 2019 at 1:45 PM Sean Christopherson wrote: > > On Tue, May 14, 2019 at 08:13:36AM -0700, Andy Lutomirski wrote: > > On Tue, May 14, 2019 at 3:43 AM Jarkko Sakkinen > > wrote: > > > > > > On Mon, May 13, 2019 at 01:29:26PM +0300, Jarkko Sakkinen wrote: > > > > I did study through S

Re: [RFC PATCH] ACPI: PM: Enable wake-up device GPEs for suspend-to-idle

2019-05-14 Thread Rafael J. Wysocki
On Monday, May 13, 2019 9:17:08 PM CEST Rajat Jain wrote: > I noticed that recently multiple systems (chromebooks) couldn't wake > from S0ix using LID or Keyboard after updating to a newer kernel, I > bisected and the issue is seen starting the following commit: > > commit f941d3e41da7 ("ACPI: EC

[PATCH v2 1/3] mtd: spinand: Add #define-s for page-read ops with three-byte addresses

2019-05-14 Thread Jeff Kletsky
From: Jeff Kletsky The GigaDevice GD5F1GQ4UFxxG SPI NAND utilizes three-byte addresses for its page-read ops. http://www.gigadevice.com/datasheet/gd5f1gq4xfxxg/ Signed-off-by: Jeff Kletsky --- include/linux/mtd/spinand.h | 30 ++ 1 file changed, 30 insertions(+) d

<    1   2   3   4   5   6   7   >