[PATCH 0/3] introduce memory.oom.group

2018-07-30 Thread Roman Gushchin
This is a tiny implementation of cgroup-aware OOM killer, which adds an ability to kill a cgroup as a single unit and so guarantee the integrity of the workload. Although it has only a limited functionality in comparison to what now resides in the mm tree (it doesn't change the victim task selecti

[tip:x86/apic] x86/apic: Trivial coding style fixes

2018-07-30 Thread tip-bot for Yi Wang
Commit-ID: 843c408905010fbc44a564d2de6a3cd68d986abf Gitweb: https://git.kernel.org/tip/843c408905010fbc44a564d2de6a3cd68d986abf Author: Yi Wang AuthorDate: Fri, 27 Jul 2018 14:15:03 +0800 Committer: Thomas Gleixner CommitDate: Mon, 30 Jul 2018 19:56:30 +0200 x86/apic: Trivial coding st

[GIT PULL] x86 fixes

2018-07-30 Thread Ingo Molnar
Linus, Please pull the latest x86-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-for-linus # HEAD: 92a4728608a8fd228c572bc8ff50dd98aa0ddf2a x86/boot: Fix if_changed build flip/flop bug Misc fixes: - a build race fix - a Xen entry

Re: [PATCH] x86/bugs: protect against userspace-userspace spectreRSB

2018-07-30 Thread Tim Chen
On 07/25/2018 10:11 AM, Josh Poimboeuf wrote: > On Wed, Jul 25, 2018 at 03:50:44PM +0200, Jiri Kosina wrote: >> On Wed, 25 Jul 2018, Josh Poimboeuf wrote: >> The article "Spectre Returns! Speculation Attacks using the Return Stack Buffer" [1] describes two new (sub-)variants of spectrev2-

Re: [PATCH 0/10] psi: pressure stall information for CPU, memory, and IO v2

2018-07-30 Thread Pavel Machek
On Mon 2018-07-30 10:51:20, Tejun Heo wrote: > Hello, > > On Mon, Jul 30, 2018 at 07:39:40PM +0200, Pavel Machek wrote: > > > I'd rather have the internal config symbol match the naming scheme in > > > the code, where psi is a shorter, unique token as copmared to e.g. > > > pressure, press, prsr,

[tip:x86/platform] x86/platform/UV: Mark memblock related init code and data correctly

2018-07-30 Thread tip-bot for Dou Liyang
Commit-ID: 24cfd8ca1d28331b9dad3b88d1958c976b2cfab6 Gitweb: https://git.kernel.org/tip/24cfd8ca1d28331b9dad3b88d1958c976b2cfab6 Author: Dou Liyang AuthorDate: Mon, 30 Jul 2018 15:59:47 +0800 Committer: Thomas Gleixner CommitDate: Mon, 30 Jul 2018 19:53:58 +0200 x86/platform/UV: Mark me

Re: [PATCH v2] x86/bugs: protect against userspace-userspace spectreRSB

2018-07-30 Thread Tim Chen
On 07/26/2018 04:14 AM, Jiri Kosina wrote: > From: Jiri Kosina > > The article "Spectre Returns! Speculation Attacks using the Return Stack > Buffer" [1] describes two new (sub-)variants of spectrev2-like attack, > making use solely of the RSB contents even on CPUs that don't fallback to > BTB

Re: [PATCH 04/13] staging: gasket: core: allow root access based on user namespace

2018-07-30 Thread Dmitry Torokhov
Hi Todd, On Sun, Jul 29, 2018 at 12:37 PM Todd Poynor wrote: > @@ -1064,7 +1067,8 @@ static int gasket_open(struct inode *inode, struct file > *filp) > char task_name[TASK_COMM_LEN]; > struct gasket_cdev_info *dev_info = > container_of(inode->i_cdev, struct gasket_cde

[GIT PULL] scheduler fixes

2018-07-30 Thread Ingo Molnar
Linus, Please pull the latest sched-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched-urgent-for-linus # HEAD: f3d133ee0a17d5694c6f21873eec9863e11fa423 sched/rt: Restore rt_runtime after disabling RT_RUNTIME_SHARE Misc fixes: - a deadline

Re: [PATCH] sched/fair: sync expires_seq in distribute_cfs_runtime()

2018-07-30 Thread Cong Wang
On Sun, Jul 29, 2018 at 10:29 PM Xunlei Pang wrote: > > Hi Cong, > > On 7/28/18 8:24 AM, Cong Wang wrote: > > Each time we sync cfs_rq->runtime_expires with cfs_b->runtime_expires, > > we should sync its ->expires_seq too. However it is missing > > for distribute_cfs_runtime(), especially the slac

Re: [PATCH 36/38] vfs: Add a sample program for the new mount API [ver #10]

2018-07-30 Thread Linus Torvalds
On Mon, Jul 30, 2018 at 10:30 AM Pavel Machek wrote: > > Still userland needs a way to understand the errors. Not really. We don't internationalize kernel strings. We never have. Yes, some people tried to do some database of kernel messages for translation purposes, but I absolutely refused to m

Re: [PATCH 0/10] psi: pressure stall information for CPU, memory, and IO v2

2018-07-30 Thread Randy Dunlap
On 07/30/2018 10:51 AM, Tejun Heo wrote: > Hello, > > On Mon, Jul 30, 2018 at 07:39:40PM +0200, Pavel Machek wrote: >>> I'd rather have the internal config symbol match the naming scheme in >>> the code, where psi is a shorter, unique token as copmared to e.g. >>> pressure, press, prsr, etc. >> >>

[GIT PULL] perf fixes

2018-07-30 Thread Ingo Molnar
Linus, Please pull the latest perf-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-urgent-for-linus # HEAD: 7f635ff187ab6be0b350b3ec06791e376af238ab perf/core: Fix crash when using HW tracing kernel filters Misc fixes: - AMD IBS data corr

Re: [PATCH] arch/x86: Fix boot_cpu_data.microcode version output

2018-07-30 Thread Prarit Bhargava
On 07/30/2018 01:49 PM, Prarit Bhargava wrote: > On systems where a runtime microcode update has occurred the microcode > version output in a MCE log record is wrong because > boot_cpu_data.microcode is not updated during runtime. > > Update boot_cpu_data.microcode when the BSP's microcode is u

Re: [PATCH 0/10] psi: pressure stall information for CPU, memory, and IO v2

2018-07-30 Thread Tejun Heo
Hello, On Mon, Jul 30, 2018 at 07:39:40PM +0200, Pavel Machek wrote: > > I'd rather have the internal config symbol match the naming scheme in > > the code, where psi is a shorter, unique token as copmared to e.g. > > pressure, press, prsr, etc. > > I'd do "pressure", really. Yes, psi is shorter,

[PATCH] arch/x86: Fix boot_cpu_data.microcode version output

2018-07-30 Thread Prarit Bhargava
On systems where a runtime microcode update has occurred the microcode version output in a MCE log record is wrong because boot_cpu_data.microcode is not updated during runtime. Update boot_cpu_data.microcode when the BSP's microcode is updated. Fixes: fa94d0c6e0f3 ("x86/MCE: Save microcode revis

[GIT PULL] locking fixes

2018-07-30 Thread Ingo Molnar
Linus, Please pull the latest locking-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking-urgent-for-linus # HEAD: c0dc373a780f4ec63e45a573b9551763abd8cd1a locking/pvqspinlock/x86: Use LOCK_PREFIX in __pv_queued_spin_unlock() assembly code A

[tip:x86/boot] x86/boot/KASLR: Make local variable mem_limit static

2018-07-30 Thread tip-bot for zhong jiang
Commit-ID: 5db1b1e1ee34871b1965b3f890e3ccbdb185fa52 Gitweb: https://git.kernel.org/tip/5db1b1e1ee34871b1965b3f890e3ccbdb185fa52 Author: zhong jiang AuthorDate: Mon, 30 Jul 2018 21:44:33 +0800 Committer: Thomas Gleixner CommitDate: Mon, 30 Jul 2018 19:46:03 +0200 x86/boot/KASLR: Make lo

Re: linux-next: manual merge of the akpm-current tree with the xen-tip tree

2018-07-30 Thread Boris Ostrovsky
On 07/30/2018 01:02 PM, Boris Ostrovsky wrote: > On 07/30/2018 05:02 AM, Stephen Rothwell wrote: >> Hi all, >> >> Today's linux-next merge of the akpm-current tree got a conflict in: >> >> drivers/xen/gntdev.c >> >> between commit: >> >> 1d3145675538 ("xen/gntdev: Make private routines/structur

[tip:x86/timers] x86/tsc: Consolidate init code

2018-07-30 Thread tip-bot for Dou Liyang
Commit-ID: 608008a45798fe9e2aee04f99b5270ea57c1376f Gitweb: https://git.kernel.org/tip/608008a45798fe9e2aee04f99b5270ea57c1376f Author: Dou Liyang AuthorDate: Mon, 30 Jul 2018 15:54:20 +0800 Committer: Thomas Gleixner CommitDate: Mon, 30 Jul 2018 19:33:35 +0200 x86/tsc: Consolidate ini

Re: [PATCH 00/18] xfrm: Add compat layer

2018-07-30 Thread Dmitry Safonov
On Sat, 2018-07-28 at 14:18 -0700, David Miller wrote: > From: Dmitry Safonov > Date: Sat, 28 Jul 2018 17:26:55 +0100 > > > Well, I think, I'll rework my patches set according to critics and > > separate compat xfrm layer. I've already a selftest to check that > 32/64 > > bit xfrm works - so the

Re: [PATCH 0/10] psi: pressure stall information for CPU, memory, and IO v2

2018-07-30 Thread Pavel Machek
On Mon 2018-07-30 11:40:35, Johannes Weiner wrote: > On Sat, Jul 28, 2018 at 12:01:23AM +0200, Pavel Machek wrote: > > > How do you use this feature? > > > > > > A kernel with CONFIG_PSI=y will create a /proc/pressure directory with > > > 3 files: cpu, memory, and io. If using cgroup2, c

Re: [Linux-kernel] [PATCH 2/4] ASoC: tegra: Add a TDM configuration callback

2018-07-30 Thread Ben Dooks
On 2018-07-30 16:07, Mark Brown wrote: On Mon, Jul 30, 2018 at 03:04:46PM +0100, Jon Hunter wrote: On 30/07/18 11:18, Mark Brown wrote: > DSP modes only care about the rising edge of the LRCLK, the pulse can be > any width without causing interoperability problems. OK, thanks I was not a

[tip:x86/timers] x86/kvmclock: Mark kvm_get_preset_lpj() as __init

2018-07-30 Thread tip-bot for Dou Liyang
Commit-ID: 1088c6eef261939bda8346ec35b513790a2111d5 Gitweb: https://git.kernel.org/tip/1088c6eef261939bda8346ec35b513790a2111d5 Author: Dou Liyang AuthorDate: Mon, 30 Jul 2018 15:54:21 +0800 Committer: Thomas Gleixner CommitDate: Mon, 30 Jul 2018 19:33:35 +0200 x86/kvmclock: Mark kvm_g

[tip:x86/timers] sched/clock: Disable interrupts when calling generic_sched_clock_init()

2018-07-30 Thread tip-bot for Pavel Tatashin
Commit-ID: bd9f943e5d2a42d864f9692477a25034c9d47dcc Gitweb: https://git.kernel.org/tip/bd9f943e5d2a42d864f9692477a25034c9d47dcc Author: Pavel Tatashin AuthorDate: Mon, 30 Jul 2018 09:52:52 -0400 Committer: Thomas Gleixner CommitDate: Mon, 30 Jul 2018 19:33:35 +0200 sched/clock: Disable

Re: [PATCH 1/2] MIPS: mscc: ocelot: add interrupt controller properties to GPIO controller

2018-07-30 Thread Paul Burton
Hi Quentin, On Wed, Jul 25, 2018 at 02:26:20PM +0200, Quentin Schulz wrote: > The GPIO controller also serves as an interrupt controller for events > on the GPIO it handles. > > An interrupt occurs whenever a GPIO line has changed. > > Signed-off-by: Quentin Schulz > --- > arch/mips/boot/dts/m

[tip:x86/timers] timekeeping: Prevent false warning when persistent clock is not available

2018-07-30 Thread tip-bot for Pavel Tatashin
Commit-ID: 684ad537abff987886d63fb3c573eeca40d7f2db Gitweb: https://git.kernel.org/tip/684ad537abff987886d63fb3c573eeca40d7f2db Author: Pavel Tatashin AuthorDate: Wed, 25 Jul 2018 16:00:18 -0400 Committer: Thomas Gleixner CommitDate: Mon, 30 Jul 2018 19:32:29 +0200 timekeeping: Prevent

Re: [PATCH 0/2] ata: libahci: devslp fixes

2018-07-30 Thread Tejun Heo
On Mon, Jul 30, 2018 at 05:26:45PM +0200, Hans de Goede wrote: > Hi, > > On 30-07-18 17:22, Tejun Heo wrote: > >On Mon, Jul 30, 2018 at 08:15:47AM -0700, Srinivas Pandruvada wrote: > >>Hi Tejan, > >> > >>On Mon, 2018-07-02 at 12:01 -0700, Srinivas Pandruvada wrote: > >>>Some minor fixes to be able

Re: Linux 4.18-rc7

2018-07-30 Thread Linus Torvalds
On Mon, Jul 30, 2018 at 6:01 AM Kirill A. Shutemov wrote: > > I think I missed vma_set_anonymous() somewhere, but I fail to see where. Honestly, by now we just need to revert that commit. It's not even clear that it was a good idea to begin with. The rest of the commits were cleanups, this one w

Re: [PATCH] sched/fair: sync expires_seq in distribute_cfs_runtime()

2018-07-30 Thread bsegall
Xunlei Pang writes: > Hi Cong, > > On 7/28/18 8:24 AM, Cong Wang wrote: >> Each time we sync cfs_rq->runtime_expires with cfs_b->runtime_expires, >> we should sync its ->expires_seq too. However it is missing >> for distribute_cfs_runtime(), especially the slack timer call path. > > I don't think

Re: [PATCH 36/38] vfs: Add a sample program for the new mount API [ver #10]

2018-07-30 Thread Pavel Machek
On Mon 2018-07-30 16:33:15, David Howells wrote: > Pavel Machek wrote: > > > Well, I guess errors should have numbers, and catalog explaining what > > error means what. That way userspace can translate, and it is what we > > do with errno. > > > > I believe numbers are best. If you hate numbers,

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

2018-07-30 Thread Bjorn Helgaas
On Mon, Jul 30, 2018 at 10:32:10AM +0200, Lukas Wunner wrote: > On Fri, Jul 27, 2018 at 03:26:19PM -0500, Bjorn Helgaas wrote: > > The question is where those sysfs files should be. Currently they are > > associated with the device at the *upstream* end of the link. In the > > example above, they

[PATCH v8 2/2] MAINTAINERS: Add Qualcomm Generic Interface I2C driver maintainer

2018-07-30 Thread Karthikeyan Ramasubramanian
Add Alok Chauhan and myself as maintainers for Qualcomm GENI I2C master controller driver. Signed-off-by: Karthikeyan Ramasubramanian --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 32fbc6f..6e33b29 100644 --- a/MAINTAINERS +++ b/MAINTA

[PATCH v8 1/2] i2c: i2c-qcom-geni: Add bus driver for the Qualcomm GENI I2C controller

2018-07-30 Thread Karthikeyan Ramasubramanian
This bus driver supports the GENI based i2c hardware controller in the Qualcomm SOCs. The Qualcomm Generic Interface (GENI) is a programmable module supporting a wide range of serial interfaces including I2C. The driver supports FIFO mode and DMA mode of transfer and switches modes dynamically depe

[PATCH v8 0/2] Introduce GENI SE Controller Driver

2018-07-30 Thread Karthikeyan Ramasubramanian
Generic Interface (GENI) firmware based Qualcomm Universal Peripheral (QUP) Wrapper is a next generation programmable module for supporting a wide range of serial interfaces like UART, SPI, I2C, I3C, etc. A single QUP module can provide upto 8 Serial Interfaces using its internal Serial Engines (SE

Re: [PATCH v3 1/2] clk: meson: add DT documentation for emmc clock controller

2018-07-30 Thread Rob Herring
On Fri, Jul 27, 2018 at 8:14 AM Yixun Lan wrote: > > > HI Rob > > On 07/25/2018 07:29 AM, Rob Herring wrote: > > On Thu, Jul 12, 2018 at 09:12:43PM +, Yixun Lan wrote: > >> Document the MMC sub clock controller driver, the potential consumer > >> of this driver is MMC or NAND. Also add three c

Re: [Linux-kernel] [PATCH 0/4] ASoC: Tegra30 TDM support

2018-07-30 Thread Ben Dooks
On 2018-07-27 13:59, Jorge Sanjuan wrote: This patchset adds support for TDM audio on Tegra30 hardware. It adds the DAI's `set_tdm_slot` callback and enables a tegra pcm to have up to 8 channels. It also includes support for other audio formats supported by the Tegra30 HW and fixes a broken m

Hey! Here I find a new way for car care! 68157469-1AEC-4502-B61A-2169EB6DB7AF

2018-07-30 Thread arthur_king...@sina.com
Dear manager, We are KingKar ECO. Technology Co. Ltd. from China, I think our new machine may related to your business, here are some information for your reference: Machine own benefits: A:360°comprehensive cleaning. Especially in Car wash, including the car chair , carpet ,car air-con

Re: [tip:locking/urgent] i2c/mux, locking/core: Annotate the nested rt_mutex usage

2018-07-30 Thread Ingo Molnar
* Peter Rosin wrote: > On 2018-07-25 16:19, tip-bot for Peter Rosin wrote: > > Commit-ID: 7b94ea50514d1a0dc94f02723b603c27bc0ea597 > > Gitweb: > > https://git.kernel.org/tip/7b94ea50514d1a0dc94f02723b603c27bc0ea597 > > Author: Peter Rosin > > AuthorDate: Fri, 20 Jul 2018 10:39:14 +02

Re: [PATCH] stop_machine: Disable preemption after queueing stopper threads

2018-07-30 Thread Thomas Gleixner
On Mon, 30 Jul 2018, Sodagudi Prasad wrote: > How about including below change as well? Currently, there is no way to That would be a completely separate change. > identify thread migrations completed or not. When we observe this issue, the > symptom was work queue lock up. It is better to have

Re: [PATCH v7 1/4] i2c: i2c-qcom-geni: Add bus driver for the Qualcomm GENI I2C controller

2018-07-30 Thread Karthik Ramasubramanian
On 7/29/2018 4:32 AM, Wolfram Sang wrote: > On Tue, Jun 12, 2018 at 11:09:05AM -0600, Karthikeyan Ramasubramanian wrote: >> This bus driver supports the GENI based i2c hardware controller in the >> Qualcomm SOCs. The Qualcomm Generic Interface (GENI) is a programmable >> module supporting a wide

Re: [PATCH v1 1/1] gpio: mmio: add inverted direction get_set io support

2018-07-30 Thread Andy Shevchenko
On Mon, Jul 30, 2018 at 12:34 PM, Tomer Maimon wrote: > Add get_set_inv_dir and get_set_multiple_inv_dir I/O functions > to call the data register when the dirction is input and > set register when the direction is output. > the functions will linked to the I/O get functions if the user set > BGPI

Re: [PATCH RFC tip/core/rcu] Avoid resched_cpu() when rescheduling the current CPU

2018-07-30 Thread Paul E. McKenney
On Mon, Jul 30, 2018 at 06:42:47PM +0200, Peter Zijlstra wrote: > On Mon, Jul 30, 2018 at 07:59:33AM -0700, Paul E. McKenney wrote: > > > > Something that might be more in line with > > > resched_curr(smp_processor_id()) would be: > > > > > > preempt_disable(); > > > if (!test_tsk_need_resche

Re: [PATCH 8/8] staging: rtl8188eu: use is_broadcast_ether_addr

2018-07-30 Thread Michael Straube
On 07/29/18 22:05, Joe Perches wrote: On Sun, 2018-07-29 at 20:21 +0200, Michael Straube wrote: On 07/29/18 19:59, Joe Perches wrote: On Sun, 2018-07-29 at 19:42 +0200, Michael Straube wrote: On 07/29/18 19:21, Joe Perches wrote: On Sun, 2018-07-29 at 19:08 +0200, Michael Straube wrote: Use

Re: [PATCH] stop_machine: Disable preemption after queueing stopper threads

2018-07-30 Thread Sodagudi Prasad
On 2018-07-30 05:41, Thomas Gleixner wrote: On Mon, 30 Jul 2018, Peter Zijlstra wrote: On Mon, Jul 30, 2018 at 12:20:57PM +0200, Thomas Gleixner wrote: > On Tue, 24 Jul 2018, Sebastian Andrzej Siewior wrote: > > On 2018-07-23 18:13:48 [-0700], isa...@codeaurora.org wrote: > > > Hi all, > > Hi,

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

2018-07-30 Thread Thomas Gleixner
On Mon, 30 Jul 2018, Prakhya, Sai Praneeth wrote: > > > >> From: Sai Praneeth Some future > > > >> Intel processors may support "Enhanced IBRS" which is an "always > > > >> on" mode i.e. IBRS bit in SPEC_CTRL MSR is enabled once and never > > > >> disabled. According to specification[1], this shou

Re: [PATCH v7 0/6] Add Actions Semiconductor Owl S900 I2C support

2018-07-30 Thread Manivannan Sadhasivam
On Thu, Jul 26, 2018 at 09:15:57PM +0530, Manivannan Sadhasivam wrote: > This patchset adds I2C controller support for Actions Semiconductor S900 SoC. > This driver has been structured in a way such that there will be only > one controller driver for the whole Owl family series (S500, S700 and > S9

Re: [PATCH 2/2] iio: dac: ad5770r: Add AD5770R support

2018-07-30 Thread Andy Shevchenko
On Mon, Jul 30, 2018 at 5:02 PM, Mircea Caprioru wrote: > The AD5770R is a 6-channel, 14-bit resolution, low noise, programmable > current output digital-to-analog converter (DAC) for photonics control > applications. > > It contains five 14-bit resolution current sourcing DAC channels and one > 1

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

2018-07-30 Thread Prakhya, Sai Praneeth
> > >> From: Sai Praneeth Some future > > >> Intel processors may support "Enhanced IBRS" which is an "always > > >> on" mode i.e. IBRS bit in SPEC_CTRL MSR is enabled once and never > > >> disabled. According to specification[1], this should simplify > > >> software enabling and improve performan

[PATCH] kernel.h: Disable -Wreturn-stack-address for _THIS_IP_

2018-07-30 Thread Nick Desaulniers
Starting with Clang-7.0, _THIS_IP_ generates -Wreturn-stack-address warnings for almost every translation unit. In general, I'd prefer to leave this on (returning the address of a stack allocated variable is in general a bad idea) and disable it only at whitelisted call sites. We can't do somethin

Re: linux-next: manual merge of the akpm-current tree with the xen-tip tree

2018-07-30 Thread Boris Ostrovsky
On 07/30/2018 05:02 AM, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the akpm-current tree got a conflict in: > > drivers/xen/gntdev.c > > between commit: > > 1d3145675538 ("xen/gntdev: Make private routines/structures accessible") > > from the xen-tip tree and commit: > >

[PATCH] thermal: of-thermal: disable passive polling when thermal zone is disabled

2018-07-30 Thread Anson Huang
When thermal zone is in passive mode, disabling its mode from sysfs is NOT taking effect at all, it is still polling the temperature of the disabled thermal zone and handling all thermal trips, it makes user confused. The disabling operation should disable the thermal zone behavior completely, for

Re: [PATCH 1/1] arm64: kexec: machine_kexec should call __flush_icache_range

2018-07-30 Thread Dave Kleikamp
On 07/30/2018 11:57 AM, Will Deacon wrote: > On Mon, Jul 30, 2018 at 11:46:24AM -0500, Dave Kleikamp wrote: >> On 07/30/2018 11:22 AM, Will Deacon wrote: >>> On Mon, Jul 30, 2018 at 05:16:42PM +0100, Catalin Marinas wrote: On Mon, Jul 30, 2018 at 10:29:21AM -0500, Dave Kleikamp wrote: > ma

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

2018-07-30 Thread Thomas Gleixner
On Mon, 30 Jul 2018, Dave Hansen wrote: > On 07/30/2018 05:25 AM, Thomas Gleixner wrote: > > On Tue, 24 Jul 2018, Sai Praneeth Prakhya wrote: > >> From: Sai Praneeth > >> Some future Intel processors may support "Enhanced IBRS" which is an > >> "always on" mode i.e. IBRS bit in SPEC_CTRL MSR is en

Re: [PATCH 1/1] arm64: kexec: machine_kexec should call __flush_icache_range

2018-07-30 Thread Will Deacon
On Mon, Jul 30, 2018 at 11:46:24AM -0500, Dave Kleikamp wrote: > On 07/30/2018 11:22 AM, Will Deacon wrote: > > On Mon, Jul 30, 2018 at 05:16:42PM +0100, Catalin Marinas wrote: > >> On Mon, Jul 30, 2018 at 10:29:21AM -0500, Dave Kleikamp wrote: > >>> machine_kexec flushes the reboot_code_buffer fro

Re: [PATCH RESEND 1/1] x86: tsc: avoid system instability in hibernation

2018-07-30 Thread Eduardo Valentin
On Mon, Jul 30, 2018 at 09:15:48AM +0200, Rafael J. Wysocki wrote: > On Thu, Jul 26, 2018 at 5:56 PM, Eduardo Valentin wrote: > > System instability are seen during resume from hibernation when system > > is under heavy CPU load. This is due to the lack of update of sched > > clock data, > > Isn'

Re: [PATCH RESEND 1/1] x86: tsc: avoid system instability in hibernation

2018-07-30 Thread Eduardo Valentin
Hey Peter, On Mon, Jul 30, 2018 at 10:53:54AM +0200, Peter Zijlstra wrote: > On Thu, Jul 26, 2018 at 08:56:56AM -0700, Eduardo Valentin wrote: > > System instability are seen during resume from hibernation when system > > is under heavy CPU load. This is due to the lack of update of sched > > cloc

Re: [RFC PATCH net-next v2 09/17] ethtool: implement GET_DRVINFO message

2018-07-30 Thread Michal Kubecek
On Mon, Jul 30, 2018 at 05:48:03PM +0200, Andrew Lunn wrote: > > For the statistics, it is a bit of a corner case. One of the Ethernet > switches in DSA can have two different PHYs linked to one MAC. One PHY > is built in, the second is connected via a SERDES interface. Which > every gets link fir

Re: [PATCH v2 4/4] ALSA: usb-audio: Operate UAC3 Power Domains in PCM callbacks

2018-07-30 Thread Jorge
On 30/07/18 17:12, Takashi Iwai wrote: > On Mon, 30 Jul 2018 18:09:38 +0200, > Jorge wrote: >> >> >> >> On 30/07/18 14:13, Takashi Iwai wrote: >>> On Mon, 30 Jul 2018 11:23:36 +0200, >>> Jorge Sanjuan wrote: Make use of UAC3 Power Domains associated to an Audio Streaming path with

Re: [PATCH v2] perf/x86/intel: Add support for MISPREDICT bit on Knights Landing cpus

2018-07-30 Thread Peter Zijlstra
A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?On Tue, Jul 31, 2018 at 12:34:02AM +0800, Jacek Tomaka wrote: > Ah, right: > /* > * Due to lack of segmentation in Linux th

Re: linux-next: Signed-off-by missing for commit in the arc-current tree

2018-07-30 Thread Vineet Gupta
On 07/28/2018 07:14 PM, Stephen Rothwell wrote: > Hi Vineet, > > Commit > > fa52704e2816 ("ARC: add SMP_CACHE_BYTES value validate") > > is missing a Signed-off-by from its committer. Thx for the report Stephen. This is now fixed/pushed. -Vineet

Re: [PATCH 1/1] arm64: kexec: machine_kexec should call __flush_icache_range

2018-07-30 Thread Dave Kleikamp
On 07/30/2018 11:22 AM, Will Deacon wrote: > On Mon, Jul 30, 2018 at 05:16:42PM +0100, Catalin Marinas wrote: >> On Mon, Jul 30, 2018 at 10:29:21AM -0500, Dave Kleikamp wrote: >>> machine_kexec flushes the reboot_code_buffer from the icache >>> after stopping the other cpus. >>> >>> Commit 3b8c9f1c

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

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

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

2018-07-30 Thread Vincent Guittot
Hi Wanpeng, On Thu, 26 Jul 2018 at 05:09, Wanpeng Li wrote: > > Hi Vincent, > On Fri, 29 Jun 2018 at 03:07, Vincent Guittot > wrote: > > > > interrupt and steal time are the only remaining activities tracked by > > rt_avg. Like for sched classes, we can use PELT to track their average > > utiliz

Re: [PATCH v2 01/17] x86/cpu: create Dhyana init file and register new cpu_dev to system

2018-07-30 Thread Pu Wen
On 2018-07-29 07:42, Paolo Bonzini wrote: If the maintainers are okay with X86_FEATURE_HYGON that's certainly fine, however I think you can improve the consistency of the patches in a few ways. Thanks for your suggestion. To improve code consistency , will rework the patches. Lack of SME/SEV

Re: [PATCH RFC tip/core/rcu] Avoid resched_cpu() when rescheduling the current CPU

2018-07-30 Thread Peter Zijlstra
On Mon, Jul 30, 2018 at 07:59:33AM -0700, Paul E. McKenney wrote: > > Something that might be more in line with > > resched_curr(smp_processor_id()) would be: > > > > preempt_disable(); > > if (!test_tsk_need_resched(current)) { > > set_tsk_need_resched(current); > >

Re: [PATCH 1/1] arm64: kexec: machine_kexec should call __flush_icache_range

2018-07-30 Thread Catalin Marinas
On Mon, Jul 30, 2018 at 05:22:35PM +0100, Will Deacon wrote: > On Mon, Jul 30, 2018 at 05:16:42PM +0100, Catalin Marinas wrote: > > On Mon, Jul 30, 2018 at 10:29:21AM -0500, Dave Kleikamp wrote: > > > machine_kexec flushes the reboot_code_buffer from the icache > > > after stopping the other cpus.

RE: [PATCH v3 1/2] clk: Add of_clk_get_by_name_optional() function

2018-07-30 Thread Phil Edworthy
Hi Andy, On 30 July 2018 17:04, Andy Shevchenko wrote: > On Mon, 2018-07-30 at 14:31 +0100, Phil Edworthy wrote: > > Quite a few drivers get an optional clock, e.g. a clock required to > > access peripheral's registers that is always enabled on some devices. > > > > This function behaves the same

Re: linux-next: build failure after merge of the kspp tree

2018-07-30 Thread Will Deacon
Hi Laura, On Mon, Jul 30, 2018 at 07:47:52AM -0700, Laura Abbott wrote: > On 07/30/2018 12:33 AM, Stephen Rothwell wrote: > >On Fri, 27 Jul 2018 13:55:22 +0100 Will Deacon wrote: > >>On Fri, Jul 27, 2018 at 08:55:11PM +1000, Stephen Rothwell wrote: > >>>Actually, it may have been caused by commit

Re: [RFC PATCH 0/4] file: export functions for binder module

2018-07-30 Thread Christoph Hellwig
On Mon, Jul 30, 2018 at 04:37:06PM +0200, Christian Brauner wrote: > Hey, > > We currently plan on turning the Android binder and ashmem driver into a > module. We have seen more and more requests by users to be able to use > the binder and ashmem features without wanting to convince each distro >

Re: [PATCH v2] perf/x86/intel: Add support for MISPREDICT bit on Knights Landing cpus

2018-07-30 Thread Jacek Tomaka
Ah, right: /* * Due to lack of segmentation in Linux the effective address (offset) * is the same as the linear address, allowing us to merge the LIP and EIP * LBR formats. */ Yeah, LBR_FORMAT_EIP_FLAGS is ok as well. Would it be preffered? On Tue, Jul 31, 2018 at 12:29 AM, Jacek Tomaka wrot

Re: [PATCH 4/4] file: export put_files_struct()

2018-07-30 Thread Christoph Hellwig
On Mon, Jul 30, 2018 at 04:37:10PM +0200, Christian Brauner wrote: > The Android binder driver will be turned into a module. Since it uses > put_files_struct() we need to export this function. Same as above.

Re: [PATCH 3/4] file: export get_files_struct()

2018-07-30 Thread Christoph Hellwig
On Mon, Jul 30, 2018 at 04:37:09PM +0200, Christian Brauner wrote: > The Android binder driver will be turned into a module. Since it uses > get_files_struct() we need to export this function. Hell no. Please explain why so that we can find a better way.

Re: [PATCH 2/4] file: export __fd_install()

2018-07-30 Thread Christoph Hellwig
On Mon, Jul 30, 2018 at 04:37:08PM +0200, Christian Brauner wrote: > The Android binder driver will be turned into a module. Since it > uses __fd_install() we need to export this function. Same as the previous one. No driver should be pooking this deep into fd internals (not even non-modular ones

Re: [GIT PULL] tpmdd 4.19 updates

2018-07-30 Thread James Morris
On Sat, 28 Jul 2018, Jarkko Sakkinen wrote: > Hi James, > > Sorry, I pressed send before writing anything. Here is the summary: > > * Migrated away from PM runtime as explicit cmdReady/goIdle trasactions > for every command is a spec requirement. PM runtime adds only a layer of > complexity

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

2018-07-30 Thread Christoph Hellwig
On Mon, Jul 30, 2018 at 04:37:07PM +0200, Christian Brauner wrote: > The Android binder driver will be turned into a module. Since it uses > __alloc_fd() we need to export this function. Err, hell no. It should be using an anon fd probably.

Re: checkpatch: SPDX integration breaks --root

2018-07-30 Thread Joe Perches
On Mon, 2018-07-30 at 17:52 +0200, Charlemagne Lasse wrote: > > Does this work for you: > > --- > > scripts/checkpatch.pl | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl > > index f25f708cd2a7..f0e6913c5cc1 100755 > > --

Re: [PATCH v2] RFC: clear 1G pages with streaming stores on x86

2018-07-30 Thread Borislav Petkov
On Tue, Jul 24, 2018 at 07:37:28PM -0700, Cannon Matthews wrote: > diff --git a/arch/x86/lib/clear_page_64.S b/arch/x86/lib/clear_page_64.S > index 88acd349911b..81a39804ac72 100644 > --- a/arch/x86/lib/clear_page_64.S > +++ b/arch/x86/lib/clear_page_64.S > @@ -49,3 +49,23 @@ ENTRY(clear_page_erms)

Re: [PATCH v2] perf/x86/intel: Add support for MISPREDICT bit on Knights Landing cpus

2018-07-30 Thread Jacek Tomaka
I do not understand the difference between linear address vs effective address but LBR_FORMAT_EIP_FLAGS implies effective address, no? On Tue, Jul 31, 2018 at 12:17 AM, Peter Zijlstra wrote: > On Mon, Jul 30, 2018 at 10:28:13PM +0800, Jacek Tomaka wrote: > > From: Jacek Tomaka > > > > Problem:

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

2018-07-30 Thread Peter Zijlstra
On Mon, Jul 30, 2018 at 10:30:11AM -0400, Rik van Riel wrote: > > What happened to the rework I did there? That not only avoided > > fiddling > > with active_mm, but also avoids grab/drop cycles for the other > > architectures when doing task->kthread->kthread->task things. > > I don't think I sa

Re: [PATCH] clk: scmi: Fix the rounding of clock rate

2018-07-30 Thread Stephen Boyd
Quoting Sudeep Holla (2018-07-30 04:40:56) > On Mon, Jul 30, 2018 at 11:03:51AM +0530, Amit Daniel Kachhap wrote: > > Hi, > > > > On Fri, Jul 27, 2018 at 10:07 PM, Stephen Boyd wrote: > > > Quoting Amit Daniel Kachhap (2018-07-27 07:01:52) > > >> This fix rounds the clock rate properly by using q

[PATCH v2 1/4] ARC: DTS: mark DMA devices connected through IOC port as dma-coherent

2018-07-30 Thread Eugeniy Paltsev
Mark DMA devices on AXS103 and HSDK boards connected through IOC port as dma-coherent. Signed-off-by: Eugeniy Paltsev --- Changes v1->v2: * None. arch/arc/boot/dts/axc003.dtsi | 26 ++ arch/arc/boot/dts/axc003_idu.dtsi | 26 ++ arch/arc/boot/

Re: candidates for @devel-rt localversion-rt++

2018-07-30 Thread Mike Galbraith
On Sun, 2018-07-29 at 13:47 +0200, Mike Galbraith wrote: > FYI, per kvm unit tests, 4.16-rt definitely has more kvm issues. > > huawei5:/abuild/mike/kvm-unit-tests # uname -r > 4.16.18-rt11-rt > huawei5:/abuild/mike/kvm-unit-tests # ./run_tests.sh > PASS selftest-setup (2 tests) > FAIL selftest-ve

[PATCH] MAINTAINERS: Add .clang-format entry

2018-07-30 Thread Miguel Ojeda
As discussed in https://lkml.org/lkml/2018/6/25/877 Signed-off-by: Miguel Ojeda --- MAINTAINERS | 5 + 1 file changed, 5 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 0fe4228f78cb..2352788d6852 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3514,6 +3514,11 @@ M: Dave Good

Re: [PATCH 1/1] arm64: kexec: machine_kexec should call __flush_icache_range

2018-07-30 Thread Will Deacon
On Mon, Jul 30, 2018 at 05:16:42PM +0100, Catalin Marinas wrote: > On Mon, Jul 30, 2018 at 10:29:21AM -0500, Dave Kleikamp wrote: > > machine_kexec flushes the reboot_code_buffer from the icache > > after stopping the other cpus. > > > > Commit 3b8c9f1cdfc5 ("arm64: IPI each CPU after invalidating

Re: [RFC PATCH v4 12/12] OPTIONAL: cpufreq: dt: Register an Energy Model

2018-07-30 Thread Quentin Perret
Hi Vincent, On Monday 30 Jul 2018 at 17:53:23 (+0200), Vincent Guittot wrote: [...] > ok, so you copy/paste what is done in cpu cooling device ? > > Nevertheless I still have some concerns with the formula used here and > in cpu cooling device: > > https://elixir.bootlin.com/linux/latest/source/

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

2018-07-30 Thread Rajat Jain
On Fri, Jul 27, 2018 at 1:26 PM, Bjorn Helgaas wrote: > [+cc Rafael, Richard, Carlos, Pali, Takashi, Andy, Colin for question > about how to expose ASPM power management in sysfs] > > On Thu, May 10, 2018 at 04:39:12PM -0700, Rajat Jain wrote: >> ... >> And some suggestions from Bjorn here: >> htt

Re: [PATCH v2] perf/x86/intel: Add support for MISPREDICT bit on Knights Landing cpus

2018-07-30 Thread Peter Zijlstra
On Mon, Jul 30, 2018 at 10:28:13PM +0800, Jacek Tomaka wrote: > From: Jacek Tomaka > > Problem: perf did not show branch predicted/mispredicted bit in brstack. > > Output of perf -F brstack for profile collected > > Before: > 0x4fdbcd/0x4fdc03/-/-/-/0 > 0x45f4c1/0x4fdba0/-/-/-/0 > 0x45f544/0x4

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

2018-07-30 Thread Borislav Petkov
On Mon, Jul 30, 2018 at 11:23:18AM -0400, Prarit Bhargava wrote: > Filippo & Borislav, did the patch get committed to a -next tree? No, I'm still waiting for it - looks like Filippo is busy. Care to send one instead as suggested here? https://lore.kernel.org/lkml/20180601121939.ga23...@nazgul.tn

Re: [PATCH 1/1] arm64: kexec: machine_kexec should call __flush_icache_range

2018-07-30 Thread Catalin Marinas
On Mon, Jul 30, 2018 at 10:29:21AM -0500, Dave Kleikamp wrote: > machine_kexec flushes the reboot_code_buffer from the icache > after stopping the other cpus. > > Commit 3b8c9f1cdfc5 ("arm64: IPI each CPU after invalidating the I-cache > for kernel mappings") added an IPI call to flush_icache_rang

Re: [PATCH] selftests: membarrier: fix test by checking supported commands

2018-07-30 Thread Mathieu Desnoyers
- On Jul 30, 2018, at 12:05 PM, Rafael David Tinoco rafael.tin...@linaro.org wrote: > Makes membarrier_test compatible with older kernels (LTS) by checking if > the membarrier features exist before running the tests. > > Link: https://bugs.linaro.org/show_bug.cgi?id=3771 > Signed-off-by: Raf

Re: [PATCH v2 4/4] ALSA: usb-audio: Operate UAC3 Power Domains in PCM callbacks

2018-07-30 Thread Takashi Iwai
On Mon, 30 Jul 2018 18:09:38 +0200, Jorge wrote: > > > > On 30/07/18 14:13, Takashi Iwai wrote: > > On Mon, 30 Jul 2018 11:23:36 +0200, > > Jorge Sanjuan wrote: > >> > >> Make use of UAC3 Power Domains associated to an Audio Streaming > >> path within the PCM's logic. This means, when there is n

Re: [PATCH v2 1/4] ALSA: usb-audio: Initial Power Domain support

2018-07-30 Thread Takashi Iwai
On Mon, 30 Jul 2018 18:05:47 +0200, Jorge wrote: > > > > On 30/07/18 14:03, Takashi Iwai wrote: > > On Mon, 30 Jul 2018 11:23:33 +0200, > > Jorge Sanjuan wrote: > >> > >> diff --git a/include/linux/usb/audio-v3.h b/include/linux/usb/audio-v3.h > >> index 334bfa6dfb47..786e5939d831 100644 > >> --

Re: [PATCH v6 3/4] Bluetooth: mediatek: Add protocol support for MediaTek serial devices

2018-07-30 Thread Sean Wang
Hi, Marcel All suggestions seem reasonable for me in order to make code style aligned with the other drivers and code better to read, and it looks like no any big problem, so I'll start to work on the next version immediately. And I also add a few explanations inline about questions about the d

Re: [tip:locking/urgent] i2c/mux, locking/core: Annotate the nested rt_mutex usage

2018-07-30 Thread Peter Rosin
On 2018-07-25 16:19, tip-bot for Peter Rosin wrote: > Commit-ID: 7b94ea50514d1a0dc94f02723b603c27bc0ea597 > Gitweb: > https://git.kernel.org/tip/7b94ea50514d1a0dc94f02723b603c27bc0ea597 > Author: Peter Rosin > AuthorDate: Fri, 20 Jul 2018 10:39:14 +0200 > Committer: Ingo Molnar > Commi

Re: [PATCH 0/9] Add Reset Controller support for Actions Semi Owl SoCs

2018-07-30 Thread Manivannan Sadhasivam
Hi Philipp, On Mon, Jul 30, 2018 at 05:38:31PM +0200, Philipp Zabel wrote: > On Mon, 2018-07-30 at 20:41 +0530, Manivannan Sadhasivam wrote: > > Hi Andreas, > > > > On Mon, Jul 30, 2018 at 12:26:07PM +0200, Andreas Färber wrote: > > > Hi Mani, > > > > > > Am 27.07.2018 um 20:45 schrieb Manivanna

Re: [PATCH v2 4/4] ALSA: usb-audio: Operate UAC3 Power Domains in PCM callbacks

2018-07-30 Thread Jorge
On 30/07/18 14:13, Takashi Iwai wrote: > On Mon, 30 Jul 2018 11:23:36 +0200, > Jorge Sanjuan wrote: >> >> Make use of UAC3 Power Domains associated to an Audio Streaming >> path within the PCM's logic. This means, when there is no audio >> being transferred (pcm is closed), the host will set the

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

2018-07-30 Thread Sinan Kaya
On 7/30/2018 7:14 AM, Bjorn Helgaas wrote: However, the end of sec 5.4.1 does make it clear that the functions need not have the same ASPM configuration, and it gives rules for how those different settings should affect the shared link. Since it mentions different ASPM Control fields for the dif

Re: [PATCH v5 0/3] tracing: kprobes: Prohibit probing on notrace functions

2018-07-30 Thread Francis Deslauriers
Hi Masami, I just tested the patch-set and it still prevents the crash I was witnessing. You can add my tested-by. Tested-by: Francis Deslauriers Thank you for pushing this forward! Francis Le lun. 30 juill. 2018, à 06 h 20, Masami Hiramatsu a écrit : > > Hi, > > This is the 5th version of the s

[PATCH] selftests: membarrier: fix test by checking supported commands

2018-07-30 Thread Rafael David Tinoco
Makes membarrier_test compatible with older kernels (LTS) by checking if the membarrier features exist before running the tests. Link: https://bugs.linaro.org/show_bug.cgi?id=3771 Signed-off-by: Rafael David Tinoco Cc: #v4.17 --- .../selftests/membarrier/membarrier_test.c| 69 +++---

<    1   2   3   4   5   6   7   8   >