[PATCH v2] MAINTAINERS: fix style in KEYS-TRUSTED entry

2019-04-12 Thread Lukas Bulwahn
yle defect. v2: applies cleanly to v5.1-rc4 and next-20190412 MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 2359e12e4c41..75bb276aed1c 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -8578,7 +8578,7 @@ F:security/keys/encr

Re: [PATCH 2/3] rtc: ds1685: use correct device struct to get platform device struct

2019-04-12 Thread Joshua Kinard
On 4/12/2019 07:44, Thomas Bogendoerfer wrote: > On Fri, 12 Apr 2019 12:11:06 +0200 > Alexandre Belloni wrote: > >> Every patch need a commit message. Maybe you could indicate that this >> never gave any issue because parent is the first member of struct >> device. > > I'll update the commit

Zdravstvujte Vas interesuyut klientskie bazy dannyh?

2019-04-12 Thread cona_1997
Zdravstvujte Vas interesuyut klientskie bazy dannyh?

RE,

2019-04-12 Thread Sharifah Ahmad Mustahfa
As-Salamu Alaykum, I need your help to transfer out the some amount of money, accumulated as undeclared excess profit made by me from the INVESTMENTS CAPITAL under my management in my bank. You will get 40% of the funds for your participation. Reply for more details thanks

Re: [GIT PULL] x86 fixes

2019-04-12 Thread pr-tracker-bot
The pull request you sent on Fri, 12 Apr 2019 15:10:42 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/6d0a598489ca687e1ebac37eef546526eca41347 Thank you! -- Deet-doot-dot, I am

Re: [GIT PULL] IRQ fixes

2019-04-12 Thread pr-tracker-bot
The pull request you sent on Fri, 12 Apr 2019 13:52:19 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq-urgent-for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/6a022984c3feda8cc7d2d8c028b429715d0af531 Thank you! -- Deet-doot-dot, I am

Re: [GIT PULL] timer fix

2019-04-12 Thread pr-tracker-bot
The pull request you sent on Fri, 12 Apr 2019 15:09:19 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > timers-urgent-for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/122c215bfae884f10a189e6754d9603a06b981c3 Thank you! -- Deet-doot-dot,

Re: [GIT PULL] scheduler fix

2019-04-12 Thread pr-tracker-bot
The pull request you sent on Fri, 12 Apr 2019 15:08:11 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > sched-urgent-for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/5e6f1fee60a3d80582146835ac01d9808748434f Thank you! -- Deet-doot-dot,

Re: [GIT PULL] core/urgent fixes

2019-04-12 Thread pr-tracker-bot
The pull request you sent on Fri, 12 Apr 2019 12:16:30 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > core-urgent-for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/54c63a75581f4b8d5d4b5660424f926510cfd98c Thank you! -- Deet-doot-dot, I

Re: [GIT PULL] locking fix

2019-04-12 Thread pr-tracker-bot
The pull request you sent on Fri, 12 Apr 2019 13:53:43 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > locking-urgent-for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/26e2b81977bb1ad70ff9b2acb4d4cb13c23facfd Thank you! --

Re: [GIT PULL] perf fixes

2019-04-12 Thread pr-tracker-bot
The pull request you sent on Fri, 12 Apr 2019 15:06:42 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > perf-urgent-for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/73fdb2c908c64a32e11c72c029d636f556859c0d Thank you! -- Deet-doot-dot, I

[PATCH] sched/fair: Use 'unsigned long' for group_shares,group_runnable

2019-04-12 Thread Cheng Jian
group_share and group_runnable are tracked as 'unsigned long', however some functions using them as 'long' which is ultimately assigned back to 'unsigned long' variables in reweight_entity. Since there is not scope on using a different and signed type, this change improves code consistency and

[PATCH] regulator: tps65218: Convert to use regulator_get_current_limit_regmap

2019-04-12 Thread Axel Lin
Use regulator_get_current_limit_regmap helper to save some code. Signed-off-by: Axel Lin --- drivers/regulator/tps65218-regulator.c | 48 ++ 1 file changed, 19 insertions(+), 29 deletions(-) diff --git a/drivers/regulator/tps65218-regulator.c

Re: [PATCH-tip v3 02/14] locking/rwsem: Make owner available even if !CONFIG_RWSEM_SPIN_ON_OWNER

2019-04-12 Thread Waiman Long
On 04/12/2019 02:05 PM, Waiman Long wrote: > On 04/12/2019 12:41 PM, Ingo Molnar wrote: >> >> So beyond the primary constraint of PeterZ OK-ing it all, there's also >> these two scalability regression reports from the ktest bot: >> >> [locking/rwsem] 1b94536f2d:

RE: [PATCH] vmbus: Remove the undesired put_cpu_ptr() in hv_synic_cleanup()

2019-04-12 Thread Michael Kelley
From: Dexuan Cui Sent: Friday, April 12, 2019 4:35 PM > > With CONFIG_DEBUG_PREEMPT=y, the put_cpu_ptr() triggiers an underflow > warning in preempt_count_sub(). > > Fixes: 37cdd991fac8 ("vmbus: put related per-cpu variable together") > Cc: sta...@vger.kernel.org > Cc: Stephen Hemminger >

[PATCH] printk: tie printk_once / printk_deferred_once into .data.once for reset

2019-04-12 Thread Paul Gortmaker
In commit b1fca27d384e ("kernel debug: support resetting WARN*_ONCE") we got the opportunity to reset state on the one shot messages, without having to reboot. However printk_once (printk_deferred_once) live in a different file and didn't get the same kind of update/conversion, so they remain

[PATCH v5 2/2] tty: serial: add driver for the SiFive UART

2019-04-12 Thread Paul Walmsley
Add a serial driver for the SiFive UART, found on SiFive FU540 devices (among others). The underlying serial IP block is relatively basic, and currently does not support serial break detection. Further information on the IP block can be found in the documentation and Chisel sources:

[PATCH v5 0/2] tty: serial: add DT bindings and serial driver for the SiFive FU540 UART

2019-04-12 Thread Paul Walmsley
This series adds a serial driver, with console support, for the UART IP block present on the SiFive FU540 SoC. The programming model is straightforward, but unique. Boot-tested on a SiFive FU540 HiFive-U board, using BBL and the open-source FSBL (with appropriate patches to the DT data). This

[PATCH v5 1/2] dt-bindings: serial: add documentation for the SiFive UART driver

2019-04-12 Thread Paul Walmsley
Add DT binding documentation for the Linux driver for the SiFive asynchronous serial IP block. This revision incorporates changes based on feedback from Rob Herring . Signed-off-by: Paul Walmsley Signed-off-by: Paul Walmsley Cc: linux-ser...@vger.kernel.org Cc: devicet...@vger.kernel.org Cc:

Re: [RFC] what's struct ipmi_file_private ->file for?

2019-04-12 Thread Corey Minyard
On Sat, Apr 13, 2019 at 01:47:57AM +0100, Al Viro wrote: > AFAICS, nothing has ever used that; am I, by any > chance, missing some nasty macros in there? Just curious... I'm not sure why it's there, but it's been there since 2003 when the driver was first added. I've queued a patch to

Re: [PATCH RFC 1/2] Add polling support to pidfd

2019-04-12 Thread Daniel Colascione
[Resending due to accidental HTML. I need to take Joel's advice and switch to a real email client] On Fri, Apr 12, 2019 at 5:54 PM Daniel Colascione wrote: > > On Fri, Apr 12, 2019 at 5:09 PM Joel Fernandes wrote: >> >> Hi Andy! >> >> On Fri, Apr 12, 2019 at 02:32:53PM -0700, Andy Lutomirski

[RFC] what's struct ipmi_file_private ->file for?

2019-04-12 Thread Al Viro
AFAICS, nothing has ever used that; am I, by any chance, missing some nasty macros in there? Just curious...

Re: [PATCH 4/4] locking/lockdep: Test all incompatible scenario at once in check_irq_usage()

2019-04-12 Thread Frederic Weisbecker
On Thu, Apr 11, 2019 at 12:46:32PM +0200, Peter Zijlstra wrote: > On Wed, Apr 10, 2019 at 04:28:48AM +0200, Frederic Weisbecker wrote: > > Should I re-issue the set or you do the changes? > > I've made it like so; does that work? In particular, do the comments > make sense? It is always hard to

[PATCH v3] mm/hotplug: treat CMA pages as unmovable

2019-04-12 Thread Qian Cai
has_unmovable_pages() is used by allocating CMA and gigantic pages as well as the memory hotplug. The later doesn't know how to offline CMA pool properly now, but if an unused (free) CMA page is encountered, then has_unmovable_pages() happily considers it as a free memory and propagates this up

Re: [PATCH RFC 1/2] Add polling support to pidfd

2019-04-12 Thread Joel Fernandes
Hi Andy! On Fri, Apr 12, 2019 at 02:32:53PM -0700, Andy Lutomirski wrote: > On Thu, Apr 11, 2019 at 10:51 AM Joel Fernandes (Google) > wrote: > > > > pidfd are /proc/pid directory file descriptors referring to a task group > > leader. Android low memory killer (LMK) needs pidfd polling support

[PATCH] smp: Do not warn if smp_call_function_single() is doing a self call.

2019-04-12 Thread Dexuan Cui
If smp_call_function_single() is calling the function for itself, it's safe to run with irqs_disabled() == true. I hit the warning because I'm in the below path in the .suspend callback of a "syscore_ops" to support hibernation for a VM running on Hyper-V: hv_synic_cleanup() ->

[PATCH] vmbus: Remove the undesired put_cpu_ptr() in hv_synic_cleanup()

2019-04-12 Thread Dexuan Cui
With CONFIG_DEBUG_PREEMPT=y, the put_cpu_ptr() triggiers an underflow warning in preempt_count_sub(). Fixes: 37cdd991fac8 ("vmbus: put related per-cpu variable together") Cc: sta...@vger.kernel.org Cc: Stephen Hemminger Signed-off-by: Dexuan Cui --- drivers/hv/hv.c | 1 - 1 file changed, 1

[GIT PULL] clk fixes for v5.1-rc4

2019-04-12 Thread Stephen Boyd
The following changes since commit 9e98c678c2d6ae3a17cb2de55d17f69dddaa231b: Linux 5.1-rc1 (2019-03-17 14:22:26 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git tags/clk-fixes-for-linus for you to fetch changes up to

Re: [PATCH] i2c: iproc: Change driver to use 'BIT' macro

2019-04-12 Thread Peter Rosin
On 2019-04-03 23:05, Ray Jui wrote: > Change the iProc I2C driver to use the 'BIT' macro from all '1 << XXX' > bit operations to get rid of compiler warning and improve readability of > the code All? I see lots more '1 << XXX_SHIFT' matches. I might be behind though? Anyway, if you are cleaning

[PATCH] platform/chrome: wilco_ec: Add telemetry data char device interface

2019-04-12 Thread Nick Crews
The Wilco Embedded Controller is able to send telemetry data which is useful for enterprise applications. A daemon running on the OS sends a command to the EC via write() to char device, and can read the response with a read() request. Both the request and the response are in an opaque binary

Re: [PATCH 0/4] mm: memcontrol: memory.stat cost & correctness

2019-04-12 Thread Roman Gushchin
On Fri, Apr 12, 2019 at 11:15:03AM -0400, Johannes Weiner wrote: > The cgroup memory.stat file holds recursive statistics for the entire > subtree. The current implementation does this tree walk on-demand > whenever the file is read. This is giving us problems in production. > > 1. The cost of

Re: [PATCH v2 2/7] dt: bindings: Add multicolor class dt bindings documention

2019-04-12 Thread Dan Murphy
All On 4/12/19 2:10 PM, Jacek Anaszewski wrote: > Dan, > > On 4/12/19 1:50 PM, Dan Murphy wrote: >> Marek >> >> On 4/11/19 5:07 PM, Marek Behun wrote: >>> Hi Dan, >>> this probaly was discussed, but I did not follow brightness model >>> discussions: >>> what will happen if I set yellow by

[PATCH] binder: take read mode of mmap_sem in binder_alloc_free_page()

2019-04-12 Thread Tyler Hicks
Restore the behavior of locking mmap_sem for reading in binder_alloc_free_page(), as was first done in commit 3013bf62b67a ("binder: reduce mmap_sem write-side lock"). That change was inadvertently reverted by commit 5cec2d2e5839 ("binder: fix race between munmap() and direct reclaim"). In

[PATCH v1 1/1] Add support for IPMB driver

2019-04-12 Thread Asmaa Mnebhi
Support receiving IPMB requests on a Satellite MC from the BMC. Once a response is ready, this driver will send back a response to the BMC via the IPMB channel. Signed-off-by: Asmaa Mnebhi --- drivers/char/ipmi/Kconfig| 8 + drivers/char/ipmi/Makefile | 1 +

[PATCH v1 0/1] Add support for IPMB driver

2019-04-12 Thread Asmaa Mnebhi
Support receiving IPMB requests on a Satellite MC from the BMC. Once a response is ready, this driver will send back a response to the BMC via the IPMB channel. Asmaa Mnebhi (1): Add support for IPMB driver drivers/char/ipmi/Kconfig| 8 + drivers/char/ipmi/Makefile | 1 +

Re: [PATCH RFC 1/2] Add polling support to pidfd

2019-04-12 Thread Andy Lutomirski
On Thu, Apr 11, 2019 at 10:51 AM Joel Fernandes (Google) wrote: > > pidfd are /proc/pid directory file descriptors referring to a task group > leader. Android low memory killer (LMK) needs pidfd polling support to > replace code that currently checks for existence of /proc/pid for > knowing a

Re: [PATCH v2 1/1] rtc: ds3232: get SRAM access using NVMEM Framework

2019-04-12 Thread Alexandre Belloni
Hi, On 08/04/2019 08:52:39+, Han Nandor wrote: > static int ds3232_probe(struct device *dev, struct regmap *regmap, int irq, > const char *name) > { > struct ds3232 *ds3232; > int ret; > + struct nvmem_config nvmem_cfg; > > ds3232 =

Re: [PATCH v3 0/9] klp-convert livepatch build tooling

2019-04-12 Thread Joe Lawrence
On Wed, Apr 10, 2019 at 11:50:49AM -0400, Joe Lawrence wrote: > Hi folks, > > This is the third installment of the klp-convert tool for generating and > processing livepatch symbols for livepatch module builds. For those > following along at home, archive links to previous versions: > > RFC: >

[ANNOUNCE] v5.0.7-rt5

2019-04-12 Thread Sebastian Andrzej Siewior
Dear RT folks! I'm pleased to announce the v5.0.7-rt5 patch set. Changes since v5.0.7-rt4: - Update "x86: load FPU registers on return to userland" from v7 to v9. - Update "clocksource: improve Atmel TCB timer driver" from v7 to latest post by Alexandre Belloni. I hope this works,

[PATCH v4] chrome/platform: cros_ec_proto: Add trace event to trace EC commands

2019-04-12 Thread Raul E Rangel
This is useful to see which EC commands are being executed and when. To enable: echo 'cros_ec:*' >> /sys/kernel/debug/tracing/set_event Example: /* cros_ec_cmd: version: 0, command: EC_CMD_GET_VERSION */ /* cros_ec_cmd: version: 0, command: EC_CMD_GET_PROTOCOL_INFO */ /*

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

2019-04-12 Thread Andy Lutomirski
On Thu, Apr 11, 2019 at 10:36 PM Reshetova, Elena wrote: > > > On Wed, Apr 10, 2019 at 3:24 AM Reshetova, Elena > > wrote: > > > > > > > > > > > > On Mon, Apr 08, 2019 at 09:13:58AM +0300, Elena Reshetova wrote: > > > > > > > diff --git a/arch/x86/entry/common.c b/arch/x86/entry/common.c > > > >

Re: [PATCH 15/17] fpga: dfl: fme: add power management support

2019-04-12 Thread Moritz Fischer
Hi Hao, this looks suspiciously like a hwmon driver ;-) https://www.kernel.org/doc/Documentation/hwmon/hwmon-kernel-api.txt Cheers, Moritz On Thu, Apr 11, 2019 at 1:08 PM Alan Tull wrote: > > On Sun, Mar 24, 2019 at 10:24 PM Wu Hao wrote: > > Hi Hao, > > > > > This patch adds support for

Re: [RFC 2/2] signal: extend pidfd_send_signal() to allow expedited process killing

2019-04-12 Thread Matthew Wilcox
On Thu, Apr 11, 2019 at 10:47:50AM -0700, Daniel Colascione wrote: > On Thu, Apr 11, 2019 at 10:36 AM Matthew Wilcox wrote: > > It's not a question of the kernel deciding what the right signal is. > > The kernel knows whether a signal is fatal to a particular process or not. > > The question is

Re: [PATCH v2 2/2] PCI: Clean up resource_alignment parameter to not require static buffer

2019-04-12 Thread Logan Gunthorpe
On 2019-04-12 2:44 p.m., Bjorn Helgaas wrote: > On Wed, Apr 10, 2019 at 03:05:32PM -0600, Logan Gunthorpe wrote: >> Clean up the 'resource_alignment' parameter code to use kstrdup >> in the initcall routine instead of a static buffer that wastes memory >> regardless of whether the feature is

Re: [PATCH v2 10/11] platform/x86: asus-wmi: Switch fan boost mode

2019-04-12 Thread Yurii Pavlovskyi
On 12.04.19 10:03, Daniel Drake wrote: > On Thu, Apr 11, 2019 at 1:47 PM Yurii Pavlovskyi > wrote: >> * 0x00 - is normal, >> * 0x01 - is obviously turbo by the amount of noise, might be useful to >> avoid CPU frequency throttling on high load, >> * 0x02 - the meaning is unknown at the time as

Re: [PATCH 3/4] mm: memcontrol: fix recursive statistics correctness & scalabilty

2019-04-12 Thread Shakeel Butt
On Fri, Apr 12, 2019 at 1:16 PM Roman Gushchin wrote: > > On Fri, Apr 12, 2019 at 12:55:10PM -0700, Shakeel Butt wrote: > > On Fri, Apr 12, 2019 at 8:15 AM Johannes Weiner wrote: > > > > > > Right now, when somebody needs to know the recursive memory statistics > > > and events of a cgroup

Re: [PATCH v2 2/2] PCI: Clean up resource_alignment parameter to not require static buffer

2019-04-12 Thread Bjorn Helgaas
On Wed, Apr 10, 2019 at 03:05:32PM -0600, Logan Gunthorpe wrote: > Clean up the 'resource_alignment' parameter code to use kstrdup > in the initcall routine instead of a static buffer that wastes memory > regardless of whether the feature is used. This allows us to drop > 'COMMAND_LINE_SIZE' bytes

Re: [PATCH 0/14] v2 multi-die/package topology support

2019-04-12 Thread Brice Goglin
Le 12/04/2019 à 21:52, Len Brown a écrit : I think I prefer 's/threads/cpus/g' on that. Threads makes me think SMT, and I don't think there's any guarantee the part in question will have SMT on. >>> I think 'threads' is a bit confusing as well. We seem to be using 'cpu' >>>

Re: [PATCH 3/4] mm: memcontrol: fix recursive statistics correctness & scalabilty

2019-04-12 Thread Shakeel Butt
On Fri, Apr 12, 2019 at 1:10 PM Johannes Weiner wrote: > > On Fri, Apr 12, 2019 at 12:55:10PM -0700, Shakeel Butt wrote: > > We also faced this exact same issue as well and had the similar solution. > > > > > Signed-off-by: Johannes Weiner > > > > Reviewed-by: Shakeel Butt > > Thanks for the

Re: [PATCH v2 1/2] PCI: Fix issue with "pci=disable_acs_redir" parameter being ignored

2019-04-12 Thread Bjorn Helgaas
On Wed, Apr 10, 2019 at 03:05:31PM -0600, Logan Gunthorpe wrote: > In most cases, kmalloc will not be available early in boot when > pci_setup() is called. Thus, the kstrdup call that was added to fix the > __initdata bug with the disable_acs_redir parameter usually returns > NULL. Thus the

Re: [PATCH v2 05/11] platform/x86: asus-wmi: Support queued WMI event codes

2019-04-12 Thread Yurii Pavlovskyi
On 12.04.19 09:48, Daniel Drake wrote: > On Thu, Apr 11, 2019 at 1:44 PM Yurii Pavlovskyi > wrote: >> Event codes are expected to be polled from a queue on at least some >> models. > > Maybe avoid the word "poll" since it suggests something else (at least to me). Ok, will change this in the

Re: [PATCH v2] mm/hotplug: treat CMA pages as unmovable

2019-04-12 Thread Michal Hocko
On Fri 12-04-19 11:26:59, Qian Cai wrote: [...] > diff --git a/mm/page_alloc.c b/mm/page_alloc.c > index d96ca5bc555b..a9d2b0236167 100644 > --- a/mm/page_alloc.c > +++ b/mm/page_alloc.c > @@ -8005,7 +8005,10 @@ void *__init alloc_large_system_hash(const char > *tablename, > bool

Re: INFO: trying to register non-static key in vmk80xx_detach

2019-04-12 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:9a33b369 usb-fuzzer: main usb gadget fuzzer driver git tree: https://github.com/google/kasan/tree/usb-fuzzer console output: https://syzkaller.appspot.com/x/log.txt?x=11bed6fd20 kernel config:

Re: [PATCH 3/4] mm: memcontrol: fix recursive statistics correctness & scalabilty

2019-04-12 Thread Roman Gushchin
On Fri, Apr 12, 2019 at 12:55:10PM -0700, Shakeel Butt wrote: > On Fri, Apr 12, 2019 at 8:15 AM Johannes Weiner wrote: > > > > Right now, when somebody needs to know the recursive memory statistics > > and events of a cgroup subtree, they need to walk the entire subtree > > and sum up the

Re: [1/3] x86: Update DEBUG_TLBFLUSH options description.

2019-04-12 Thread Atish Patra
On 4/10/19 11:56 PM, Christoph Hellwig wrote: Given that this option enables generic code (which you reuse for RISC-V later in this series) please also move the config option to mm/Kconfig, proabbly keyed off another ARCH_HAVE_DEBUG_TLBFLUSH symbol that the architecture can select. Sure.

Re: [PATCH 3/4] mm: memcontrol: fix recursive statistics correctness & scalabilty

2019-04-12 Thread Johannes Weiner
On Fri, Apr 12, 2019 at 12:55:10PM -0700, Shakeel Butt wrote: > We also faced this exact same issue as well and had the similar solution. > > > Signed-off-by: Johannes Weiner > > Reviewed-by: Shakeel Butt Thanks for the review! > (Unrelated to this patchset) I think there should also a way

Re: [PATCH 0/4] mm: memcontrol: memory.stat cost & correctness

2019-04-12 Thread Shakeel Butt
On Fri, Apr 12, 2019 at 8:15 AM Johannes Weiner wrote: > > The cgroup memory.stat file holds recursive statistics for the entire > subtree. The current implementation does this tree walk on-demand > whenever the file is read. This is giving us problems in production. > > 1. The cost of

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

2019-04-12 Thread Roman Gushchin
On Fri, Apr 12, 2019 at 03:14:18PM -0400, Johannes Weiner wrote: > With the default overcommit==guess we occasionally run into mmap > rejections despite plenty of memory that would get dropped under > pressure but just isn't accounted reclaimable. One example of this is > dying cgroups pinned by

Re: [PATCH 04/11] platform/x86: asus-wmi: Add quirk to force DSTS WMI method detection

2019-04-12 Thread Yurii Pavlovskyi
Wow that is a great thing you done, thanks a lot for your time and your kind words! Your suggestion indeed sounds good judging by your results. Both of my devices have UID "ATK" (actually FX505 also has two other PNP0C14 devices with HIDs SampleDev and TestDev, but I think they are disabled by

NFS won't finish

2019-04-12 Thread bob
Kernel: Linux freedom 5.1.0-rc4 #1 SMP Sun Apr 7 18:50:31 MDT 2019 x86_64 x86_64 x86_64 GNU/Linux Sending large files to NAS box via NFS failed (It looks like files are getting transferred, but NFS gets stuck/won't finish. Note: 1. NFS works ok with kernel 5.0.0 2. To test NFS, (using

Re: [PATCH] soc: mediatek: pwrap: Zero initialize rdata in pwrap_init_cipher

2019-04-12 Thread Matthias Brugger
On 20/03/2019 20:11, Nathan Chancellor wrote: > On Thu, Mar 07, 2019 at 03:56:51PM -0700, Nathan Chancellor wrote: >> When building with -Wsometimes-uninitialized, Clang warns: >> >> drivers/soc/mediatek/mtk-pmic-wrap.c:1358:6: error: variable 'rdata' is >> used uninitialized whenever '||'

Re: [PATCH] RDMA/cma: Make CM response timeout and # CM retries configurable

2019-04-12 Thread Leon Romanovsky
On Fri, Apr 12, 2019 at 04:30:24PM -0300, Jason Gunthorpe wrote: > On Mon, Mar 04, 2019 at 06:27:26AM +, Parav Pandit wrote: > > > I think we should use rdma_nl_register(RDMA_NL_RDMA_CM, cma_cb_table) which > > was removed as part of ID stats removal. > > Because of below reasons. > > 1. rdma

Re: [PATCH 3/4] mm: memcontrol: fix recursive statistics correctness & scalabilty

2019-04-12 Thread Shakeel Butt
On Fri, Apr 12, 2019 at 8:15 AM Johannes Weiner wrote: > > Right now, when somebody needs to know the recursive memory statistics > and events of a cgroup subtree, they need to walk the entire subtree > and sum up the counters manually. > > There are two issues with this: > > 1. When a cgroup

Re: [PATCH 0/14] v2 multi-die/package topology support

2019-04-12 Thread Len Brown
> > > I think I prefer 's/threads/cpus/g' on that. Threads makes me think SMT, > > > and I don't think there's any guarantee the part in question will have > > > SMT on. > > > > I think 'threads' is a bit confusing as well. We seem to be using 'cpu' > > everywhere for something we can schedule

[PATCH v3] chrome/platform: cros_ec_proto: Add trace event to trace EC commands

2019-04-12 Thread Raul E Rangel
This is useful to see which EC commands are being executed and when. To enable: echo 'cros_ec:*' >> /sys/kernel/debug/tracing/set_event Example: /* cros_ec_cmd: version: 0, command: GET_VERSION */ /* cros_ec_cmd: version: 0, command: GET_PROTOCOL_INFO */ /* cros_ec_cmd:

Re: [PATCH v2] chrome/platform: cros_ec_proto:: Add trace event to trace EC commands

2019-04-12 Thread Raul Rangel
On Fri, Apr 12, 2019 at 03:04:38PM -0400, Steven Rostedt wrote: > On Fri, 12 Apr 2019 12:49:44 -0600 > Raul E Rangel wrote: > > > +#define ec_cmds \ > > + {EC_CMD_PROTO_VERSION, "PROTO_VERSION"}, \ > > + {EC_CMD_HELLO, "HELLO"}, \ > > + {EC_CMD_GET_VERSION, "GET_VERSION"}, \ > > +

Re: kernel BUG at fs/inode.c:LINE!

2019-04-12 Thread Eric Biggers
Hi Dmitry, On Fri, Apr 12, 2019 at 01:04:27PM +0200, 'Dmitry Vyukov' via syzkaller-bugs wrote: > On Thu, Apr 11, 2019 at 4:23 AM Al Viro wrote: > > > > On Thu, Apr 11, 2019 at 08:50:17AM +0800, Ian Kent wrote: > > > On Wed, 2019-04-10 at 14:41 +0200, Dmitry Vyukov wrote: > > > > On Wed, Apr 10,

Re: [PATCH] selftests/seccomp: Handle namespace failures gracefully

2019-04-12 Thread Tycho Andersen
On Fri, Apr 12, 2019 at 11:07:11AM -0600, shuah wrote: > On 4/12/19 9:25 AM, Tycho Andersen wrote: > > On Thu, Apr 11, 2019 at 04:56:31PM -0700, Kees Cook wrote: > > > When running without USERNS or PIDNS the seccomp test would hang since > > > it was waiting forever for the child to trigger the

Re: 1808d65b55 ("asm-generic/tlb: Remove arch_tlb*_mmu()"): BUG: KASAN: stack-out-of-bounds in __change_page_attr_set_clr

2019-04-12 Thread Nadav Amit
> On Apr 12, 2019, at 11:19 AM, Peter Zijlstra wrote: > > On Fri, Apr 12, 2019 at 03:11:22PM +, Nadav Amit wrote: >>> On Apr 12, 2019, at 4:17 AM, Peter Zijlstra wrote: > >>> To clarify, 'that' is Nadav's patch: >>> >>> 515ab7c41306 ("x86/mm: Align TLB invalidation info") >>> >>> which

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

2019-04-12 Thread Tony Krowiak
On 4/12/19 5:43 AM, Cornelia Huck wrote: On Fri, 12 Apr 2019 08:54:54 +0200 Harald Freudenberger wrote: On 11.04.19 23:03, Tony Krowiak wrote: Introduces a new driver callback to prevent a root user from unbinding an AP queue from its device driver if the queue is in use. This prevents a

Re: [PATCH v2 4/6] dt-bindings: ti-lmu: Modify dt bindings for the LM3697

2019-04-12 Thread Jacek Anaszewski
And one more: [5] - LED naming patch set v3 On 4/11/19 9:48 PM, Jacek Anaszewski wrote: Hi Rob, I've collected references to the DT patches we're waiting to be reviewed. This is just to make sure that none of them will be missed - recent traffic on the linux-leds list is a bit heavier. [0] -

Re: [PATCH 0/14] v2 multi-die/package topology support

2019-04-12 Thread Len Brown
On Tue, Feb 26, 2019 at 1:51 PM Peter Zijlstra wrote: > > On Tue, Feb 26, 2019 at 01:19:58AM -0500, Len Brown wrote: > > Restored sysfs core_siblings, core_siblings_list > > > > v1 proposed re-defining this existing attribute to > > be the threads in a die, rather than in a package. >

Re: [PATCH] RDMA/cma: Make CM response timeout and # CM retries configurable

2019-04-12 Thread Jason Gunthorpe
On Mon, Mar 04, 2019 at 06:27:26AM +, Parav Pandit wrote: > I think we should use rdma_nl_register(RDMA_NL_RDMA_CM, cma_cb_table) which > was removed as part of ID stats removal. > Because of below reasons. > 1. rdma netlink command auto loads the module This is probably the best argument

Re: [PATCH v2 2/7] dt: bindings: Add multicolor class dt bindings documention

2019-04-12 Thread Jacek Anaszewski
Dan, On 4/12/19 8:46 PM, Dan Murphy wrote: Jacek On 4/12/19 1:14 PM, Jacek Anaszewski wrote: Hi Marek, On 4/12/19 12:07 AM, Marek Behun wrote: Hi Dan, this probaly was discussed, but I did not follow brightness model discussions: what will happen if I set yellow by writing into yellow mode

Re: kernel BUG at fs/inode.c:LINE!

2019-04-12 Thread Al Viro
On Fri, Apr 12, 2019 at 12:59:30PM +0200, Dmitry Vyukov wrote: > Please don't ignore the bug status tracking part. Or we will only have > options of not testing kernel or dropping most of the bug reports on > the floor. Both are equally harmful for kernel quality. > > Let's mark it as fixed by

[PATCH] mm: fix false-positive OVERCOMMIT_GUESS failures

2019-04-12 Thread Johannes Weiner
With the default overcommit==guess we occasionally run into mmap rejections despite plenty of memory that would get dropped under pressure but just isn't accounted reclaimable. One example of this is dying cgroups pinned by some page cache. A previous case was auxiliary path name memory associated

Re: [PATCH v2 2/7] dt: bindings: Add multicolor class dt bindings documention

2019-04-12 Thread Jacek Anaszewski
Dan, On 4/12/19 1:50 PM, Dan Murphy wrote: Marek On 4/11/19 5:07 PM, Marek Behun wrote: Hi Dan, this probaly was discussed, but I did not follow brightness model discussions: what will happen if I set yellow by writing into yellow mode brightness, and then orange by writing orange model

[PATCH] perf/x86: descriptive failure messages for PMU init

2019-04-12 Thread Bandan Das
There's a default warning message that gets printed, however, there are various failure conditions: - a msr read can fail - a msr write can fail - a msr has an unexpected value - all msrs have unexpected values (disable PMU) Also, commit commit 005bd0077a79 ("perf/x86: Modify error message

Re: [PATCH] selftests: livepatch use TEST_PROGS for test shell scripts

2019-04-12 Thread shuah
On 4/12/19 12:51 PM, Joe Lawrence wrote: On 4/12/19 1:05 PM, shuah wrote: On 4/12/19 7:37 AM, Miroslav Benes wrote: On Fri, 12 Apr 2019, shuah wrote: On 4/12/19 1:03 AM, Miroslav Benes wrote: On Thu, 11 Apr 2019, Shuah Khan wrote: TEST_PROGS variable is for test shell scripts and common

Re: [PATCH v2] chrome/platform: cros_ec_proto:: Add trace event to trace EC commands

2019-04-12 Thread Steven Rostedt
On Fri, 12 Apr 2019 12:49:44 -0600 Raul E Rangel wrote: > +#define ec_cmds \ > + {EC_CMD_PROTO_VERSION, "PROTO_VERSION"}, \ > + {EC_CMD_HELLO, "HELLO"}, \ > + {EC_CMD_GET_VERSION, "GET_VERSION"}, \ > + {EC_CMD_READ_TEST, "READ_TEST"}, \ > + {EC_CMD_GET_BUILD_INFO,

Re: [PATCH][next] RDMA/mlx5: check for error return in flow_rule rather than err

2019-04-12 Thread Jason Gunthorpe
On Fri, Apr 12, 2019 at 11:40:17AM +0100, Colin King wrote: > From: Colin Ian King > > Currently when the call to create_flow_rule_vport_sq fails, the error > check is being performed on err rather than on the return pointer > flow_rule. The return flow_rule maybe NULL (which is not considered

Re: [PATCH] clk: rockchip: rk3288: Limit use of USB PHY clock to USB

2019-04-12 Thread Heiko Stübner
Am Freitag, 12. April 2019, 20:02:55 CEST schrieb Matthias Kaehlcke: > On Fri, Apr 12, 2019 at 11:30:37AM +0200, Heiko Stübner wrote: > > Am Freitag, 12. April 2019, 02:16:57 CEST schrieb Matthias Kaehlcke: > > > Hi Heiko, > > > > > > On Thu, Apr 11, 2019 at 09:03:07PM +0200, Heiko Stübner wrote:

Re: [PATCH] selftests: livepatch use TEST_PROGS for test shell scripts

2019-04-12 Thread Joe Lawrence
On 4/12/19 1:05 PM, shuah wrote: On 4/12/19 7:37 AM, Miroslav Benes wrote: On Fri, 12 Apr 2019, shuah wrote: On 4/12/19 1:03 AM, Miroslav Benes wrote: On Thu, 11 Apr 2019, Shuah Khan wrote: TEST_PROGS variable is for test shell scripts and common clean target in lib.mk doesn't touch them.

[PATCH v2] chrome/platform: cros_ec_proto:: Add trace event to trace EC commands

2019-04-12 Thread Raul E Rangel
This is useful to see which EC commands are being executed and when. To enable: echo 'cros_ec:*' >> /sys/kernel/debug/tracing/set_event Example: /* cros_ec_cmd: version: 0, command: GET_VERSION */ /* cros_ec_cmd: version: 0, command: GET_PROTOCOL_INFO */ /* cros_ec_cmd:

Re: [PATCH v2 2/7] dt: bindings: Add multicolor class dt bindings documention

2019-04-12 Thread Dan Murphy
Jacek On 4/12/19 1:14 PM, Jacek Anaszewski wrote: > Hi Marek, > > On 4/12/19 12:07 AM, Marek Behun wrote: >> Hi Dan, >> this probaly was discussed, but I did not follow brightness model >> discussions: >> what will happen if I set yellow by writing into yellow mode >> brightness, and then orange

Re: [PATCH RESEND v6 5/6] i2c: mediatek: Add i2c support for MediaTek MT8183

2019-04-12 Thread Matthias Brugger
On 02/04/2019 14:35, Qii Wang wrote: > Add i2c compatible for MT8183. Compare to MT2712 i2c controller, > MT8183 has different register offsets. Ltiming_reg is added to > adjust low width of SCL. Arb clock and dma_sync are needed. > > Signed-off-by: Qii Wang > Reviewed-by: Nicolas Boichat >

Re: [PATCH RESEND v6 4/6] i2c: mediatek: Add i2c and apdma sync in i2c driver

2019-04-12 Thread Matthias Brugger
On 02/04/2019 14:35, Qii Wang wrote: > When i2c and apdma use different source clocks, we should enable > synchronization between them. > > Signed-off-by: Qii Wang > Reviewed-by: Nicolas Boichat > --- > drivers/i2c/busses/i2c-mt65xx.c | 11 +++ > 1 file changed, 11 insertions(+) >

Re: [PATCH RESEND v6 3/6] i2c: mediatek: Add arb clock in i2c driver

2019-04-12 Thread Matthias Brugger
On 02/04/2019 14:35, Qii Wang wrote: > When two i2c controllers are internally connected to the same > GPIO pins, the arb clock is needed to ensure that the waveforms > do not interfere with each other. And we also need to enable > the interrupt to find arb lost, old i2c controllers also have >

Re: [PATCH v2] arm64: dts: qcom: Add Lenovo Miix 630

2019-04-12 Thread Jeffrey Hugo
On Fri, Apr 12, 2019 at 12:01 PM Bjorn Andersson wrote: > > On Thu 11 Apr 13:51 PDT 2019, Jeffrey Hugo wrote: > > diff --git a/arch/arm64/boot/dts/qcom/msm8998-clam.dtsi > > b/arch/arm64/boot/dts/qcom/msm8998-clam.dtsi > [..] > > + { > > + gpio-reserved-ranges = <0 4>, <81 4>; > > Did you

[PATCH v4 9/9] clk: fixed-factor: Let clk framework find parent

2019-04-12 Thread Stephen Boyd
Convert this driver to a more modern way of specifying parents now that we have a way to specify clk parents by DT index. This lets us nicely avoid a problem where a parent clk name isn't know because the parent clk hasn't been registered yet. Cc: Miquel Raynal Cc: Jerome Brunet Cc: Russell

[PATCH v4 0/9] Rewrite clk parent handling

2019-04-12 Thread Stephen Boyd
There are a couple warts with clk parent handling in the common clk framework. This patch series addresses one of those warts, parent-child linkages. We use strings for all parent-child linkages, and this leads to poorly written code that extracts clk names from struct clk pointers and makes clk

[PATCH v4 5/9] clk: Add of_clk_hw_register() API for early clk drivers

2019-04-12 Thread Stephen Boyd
In some circumstances drivers register clks early and don't have access to a struct device because the device model isn't initialized yet. Add an API to let drivers register clks associated with a struct device_node so that these drivers can participate in getting parent clks through DT. Cc:

[PATCH v4 8/9] clk: Allow parents to be specified via clkspec index

2019-04-12 Thread Stephen Boyd
Some clk providers are simple DT nodes that only have a 'clocks' property without having an associated 'clock-names' property. In these cases, we want to let these clk providers point to their parent clks without having to dereference the 'clocks' property at probe time to figure out the parent's

[PATCH v4 1/9] clkdev: Hold clocks_mutex while iterating clocks list

2019-04-12 Thread Stephen Boyd
We recently introduced a change to support devm clk lookups. That change introduced a code-path that used clk_find() without holding the 'clocks_mutex'. Unfortunately, clk_find() iterates over the 'clocks' list and so we need to prevent the list from being modified at the same time. Do this by

[PATCH v4 6/9] clk: Allow parents to be specified without string names

2019-04-12 Thread Stephen Boyd
The common clk framework is lacking in ability to describe the clk topology without specifying strings for every possible parent-child link. There are a few drawbacks to the current approach: 1) String comparisons are used for everything, including describing topologies that are 'local' to a

[PATCH v4 4/9] driver core: Let dev_of_node() accept a NULL dev

2019-04-12 Thread Stephen Boyd
We'd like to chain this in places where the 'dev' argument might be NULL. Let this function take a NULL 'dev' so this can work. Cc: Miquel Raynal Cc: Jerome Brunet Cc: Russell King Cc: Michael Turquette Cc: Jeffrey Hugo Cc: Chen-Yu Tsai Cc: Greg Kroah-Hartman Cc: Rob Herring

[PATCH v4 3/9] clk: Prepare for clk registration API that uses DT nodes

2019-04-12 Thread Stephen Boyd
Split out the body of the clk_register() function so it can be shared between the different types of registration APIs (DT, device). Cc: Miquel Raynal Cc: Jerome Brunet Cc: Russell King Cc: Michael Turquette Cc: Jeffrey Hugo Cc: Chen-Yu Tsai Cc: Rob Herring Signed-off-by: Stephen Boyd ---

[PATCH v4 7/9] clk: Look for parents with clkdev based clk_lookups

2019-04-12 Thread Stephen Boyd
In addition to looking for DT based parents, support clkdev based clk_lookups. This should allow non-DT based clk drivers to participate in the parent lookup process. Cc: Miquel Raynal Cc: Jerome Brunet Cc: Russell King Cc: Michael Turquette Cc: Jeffrey Hugo Cc: Chen-Yu Tsai Signed-off-by:

[PATCH v4 2/9] clkdev: Move clk creation outside of 'clocks_mutex'

2019-04-12 Thread Stephen Boyd
We don't need to hold the 'clocks_mutex' here when we're creating a clk pointer from a clk_lookup structure. Instead, we just need to make sure that the lookup doesn't go away while we dereference the lookup pointer to extract the clk_hw pointer out of it. Let's move things around slightly so that

Re: [PATCH v9 00/27] x86: load FPU registers on return to userland

2019-04-12 Thread Borislav Petkov
On Wed, Apr 03, 2019 at 06:41:29PM +0200, Sebastian Andrzej Siewior wrote: > v7…v8: > Rebased on top of v5.1-rc1. And then: Ok, all applied and pushed here: https://git.kernel.org/pub/scm/linux/kernel/git/bp/bp.git/log/?h=tip-x86-fpu Pls have a quick look if all is still ok and not fat-fingered

  1   2   3   4   5   6   7   >