Re: [patch V2 18/28] x86/speculation: Prepare for per task indirect branch speculation control

2018-11-27 Thread Thomas Gleixner
On Tue, 27 Nov 2018, Thomas Gleixner wrote: > On Tue, 27 Nov 2018, Lendacky, Thomas wrote: > > On 11/25/2018 12:33 PM, Thomas Gleixner wrote: > > > --- a/arch/x86/kernel/process.c > > > +++ b/arch/x86/kernel/process.c > > > @@ -406,6 +406,11 @@ static __always_inline void spec_ctrl_up > > > if (s

Re: [patch V2 18/28] x86/speculation: Prepare for per task indirect branch speculation control

2018-11-27 Thread Thomas Gleixner
On Tue, 27 Nov 2018, Lendacky, Thomas wrote: > On 11/25/2018 12:33 PM, Thomas Gleixner wrote: > > --- a/arch/x86/kernel/process.c > > +++ b/arch/x86/kernel/process.c > > @@ -406,6 +406,11 @@ static __always_inline void spec_ctrl_up > > if (static_cpu_has(X86_FEATURE_SSBD)) > > msr |

Re: [PATCH v2 2/2] swiotlb: Skip cache maintenance on map error

2018-11-27 Thread Stefano Stabellini
On Wed, 21 Nov 2018, Robin Murphy wrote: > If swiotlb_bounce_page() failed, calling arch_sync_dma_for_device() may > lead to such delights as performing cache maintenance on whatever > address phys_to_virt(SWIOTLB_MAP_ERROR) looks like, which is typically > outside the kernel memory map and goes ab

Re: [PATCH V2] gpio: mt7621: pass mediatek_gpio_bank_probe() failure up the stack

2018-11-27 Thread Sean Wang
Nicholas Mc Guire 於 2018年11月27日 週二 上午9:07寫道: > > The error cases of mediatek_gpio_bank_probe() would go unnoticed (except > for the dev_err() messages). The probe function should return an error > if one of the banks failed to initialize properly indicated by > not returning non-0. > > Signed-off-

[PATCH 2/2] drm/vkms: Add PRIME support by converting to Noralf's shmem helpers.

2018-11-27 Thread Eric Anholt
This cuts out a tremendous amount of boilerplate. I've used the PRIME support now to test V3D rendering on a STB development board with no KMS driver. v2: Use the DEFINE_DRM_GEM_SHMEM_FOPS for proper mmap setup. Signed-off-by: Eric Anholt Acked-by: Daniel Vetter (v1) --- drivers/gpu/drm/Kconf

Re: [PATCH 04/24] dt-bindings: leds: Add function and color properties

2018-11-27 Thread Jacek Anaszewski
On 11/13/2018 09:57 PM, Jacek Anaszewski wrote: > On 11/12/2018 07:27 PM, Rob Herring wrote: >> On Tue, Nov 06, 2018 at 11:07:12PM +0100, Jacek Anaszewski wrote: >>> Introduce dedicated properties for conveying information about >>> LED function and color. Mark old "label" property as deprecated. >

Re: [PATCH v2 03/11] clk: mediatek: Disable tuner_en before change PLL rate

2018-11-27 Thread Sean Wang
Weiyi Lu 於 2018年11月26日 週一 下午7:45寫道: > > From: Owen Chen > > PLLs with tuner_en bit, such as APLL1, need to disable > tuner_en before apply new frequency settings, or the new frequency > settings (pcw) will not be applied. > The tuner_en bit will be disabled during changing PLL rate > and be resto

Re: [Xen-devel] [PATCH] pvcalls-front: fixes incorrect error handling

2018-11-27 Thread Stefano Stabellini
On Tue, 27 Nov 2018, PanBian wrote: > On Mon, Nov 26, 2018 at 03:31:39PM -0500, Boris Ostrovsky wrote: > > On 11/21/18 9:07 PM, Pan Bian wrote: > > > kfree() is incorrectly used to release the pages allocated by > > > __get_free_page() and __get_free_pages(). Use the matching deallocators > > > i.e

linux-next: Signed-off-by missing for commit in the kselftest tree

2018-11-27 Thread Stephen Rothwell
Hi Shuah, Commit 623ea0df7083 ("selftests: firmware: remove use of non-standard diff -Z option") is missing a Signed-off-by from its author. -- Cheers, Stephen Rothwell pgp7ZaLoM8wMr.pgp Description: OpenPGP digital signature

Re: [PATCH v2] mm/zsmalloc.c: Fix zsmalloc 32-bit PAE support

2018-11-27 Thread Rafael David Tinoco
On 11/20/18 10:18 PM, Rafael David Tinoco wrote: > > Russell, > > I have tried to place MAX_POSSIBLE_PHYSMEM_BITS in the best available > header for each architecture, considering different paging levels, PAE > existence, and existing similar definitions. Also, I have only > considered those arch

Re: [patch V2 24/28] x86/speculation: Prepare arch_smt_update() for PRCTL mode

2018-11-27 Thread Thomas Gleixner
On Tue, 27 Nov 2018, Lendacky, Thomas wrote: > On 11/25/2018 12:33 PM, Thomas Gleixner wrote: > > +/* Update x86_spec_ctrl_base in case SMT state changed. */ > > +static void update_stibp_strict(void) > > { > > - wrmsrl(MSR_IA32_SPEC_CTRL, x86_spec_ctrl_base); > > + u64 mask = x86_spec_ctrl_ba

Re: [RFC PATCH 0/1] support ftrace and -ffunction-sections

2018-11-27 Thread Joe Lawrence
On 11/20/2018 03:19 PM, Joe Lawrence wrote: > Hi Steve, > > I noticed that ftrace does not currently support functions built with > the -ffunction-sections option as they end up in .text. > ELF sections, never making into the __mcount_loc section. > > I modified the recordmcount scripts to handle

Re: [Bug] SD card reader in Acer Aspire S5 broken in 4.20-rc

2018-11-27 Thread Bjorn Helgaas
On Mon, Nov 26, 2018 at 11:37:20PM +0100, Rafael J. Wysocki wrote: > On Monday, November 26, 2018 7:03:58 PM CET Rafael J. Wysocki wrote: > > Hi Bjorn, > > > > The SD card reader in my Acer Aspire S5 doesn't work with 4.20-rc. > > > > Here's what lspci -v says about it (in a bad kernel): > > > >

Re: [RFC PATCH v4 11/13] mm: parallelize deferred struct page initialization within each node

2018-11-27 Thread Daniel Jordan
On Tue, Nov 27, 2018 at 12:12:28AM +, Elliott, Robert (Persistent Memory) wrote: > I ran a short test with: > * HPE ProLiant DL360 Gen9 system > * Intel Xeon E5-2699 CPU with 18 physical cores (0-17) and > 18 hyperthreaded cores (36-53) > * DDR4 NVDIMM-Ns (which run at regular DRAM DIMM spe

Re: [RFC PATCH] smack: fix access permissions for keyring

2018-11-27 Thread Casey Schaufler
On 10/17/2018 4:25 PM, Zoran Markovic wrote: > Function smack_key_permission() only issues smack requests for the > following operations: > - KEY_NEED_READ (issues MAY_READ) > - KEY_NEED_WRITE (issues MAY_WRITE) > - KEY_NEED_LINK (issues MAY_WRITE) > - KEY_NEED_SETATTR (issues MAY_WRITE) > A bl

Re: [patch V2 24/28] x86/speculation: Prepare arch_smt_update() for PRCTL mode

2018-11-27 Thread Lendacky, Thomas
On 11/25/2018 12:33 PM, Thomas Gleixner wrote: > The upcoming fine grained per task STIBP control needs to be updated on CPU > hotplug as well. > > Split out the code which controls the strict mode so the prctl control code > can be added later. Mark the SMP function call argument __unused while a

Re: [PATCH] tracing: Fix an off by one in __next()

2018-11-27 Thread Dan Carpenter
On Tue, Nov 27, 2018 at 01:44:12PM -0500, Steven Rostedt wrote: > > Doing the sweep of my INBOX, I came across this patch (it was sent > while I was in the Alps :-) > > > On Wed, 20 Jun 2018 14:08:00 +0300 > Dan Carpenter wrote: > > > The > should be >= to prevent an off by one bug. > > Well,

Re: overlayfs access checks on underlying layers

2018-11-27 Thread Miklos Szeredi
[resending with fixed email address for Paul Moore] Moving discussion from github[1] to here. To summarize: commit 007ea44892e6 ("ovl: relax permission checking on underlying layers") was added in 4.20-rc1 to make overlayfs access checks on underlying "real" filesystems more consistent. The disc

Re: [PATCH RESEND] tty/sysrq: Do not call sync directly from sysrq_do_reset()

2018-11-27 Thread Mark Tomlinson
On 27/11/18 11:11 PM, Greg KH wrote: > On Tue, Nov 27, 2018 at 09:57:23AM +1300, Mark Tomlinson wrote: >> sysrq_do_reset() is called in softirq context, so it cannot call >> sync() directly. Instead, call orderly_reboot(), which creates a work >> item to run /sbin/reboot, or do emergency_sync and

overlayfs access checks on underlying layers

2018-11-27 Thread Miklos Szeredi
Moving discussion from github[1] to here. To summarize: commit 007ea44892e6 ("ovl: relax permission checking on underlying layers") was added in 4.20-rc1 to make overlayfs access checks on underlying "real" filesystems more consistent. The discussion leading up to this commit can be found at [2].

Re: [PATCH v2] x86: modernize sync_bitops.h

2018-11-27 Thread Sean Christopherson
On Wed, Nov 21, 2018 at 03:53:05PM +, David Laight wrote: > > > > -Original Message- > > From: Jan Beulich [mailto:jbeul...@suse.com] > > Sent: 21 November 2018 14:42 > > To: David Laight > > Cc: mi...@elte.hu; t...@linutronix.de; Boris Ostrovsky; Juergen Gross; > > linux-kernel@vger

Re: [patch V2 18/28] x86/speculation: Prepare for per task indirect branch speculation control

2018-11-27 Thread Tim Chen
On 11/27/2018 09:25 AM, Lendacky, Thomas wrote: >> --- a/arch/x86/kernel/cpu/bugs.c >> +++ b/arch/x86/kernel/cpu/bugs.c >> @@ -148,6 +148,10 @@ x86_virt_spec_ctrl(u64 guest_spec_ctrl, >> static_cpu_has(X86_FEATURE_AMD_SSBD)) >> hostval |= ssbd_tif_to_spec_ctrl(

Re: [RFC][PATCH 03/14] arm64: function_graph: Remove use of FTRACE_NOTRACE_DEPTH

2018-11-27 Thread Steven Rostedt
On Tue, 27 Nov 2018 19:31:50 + Will Deacon wrote: > Hi Steve, > > On Wed, Nov 21, 2018 at 08:27:11PM -0500, Steven Rostedt wrote: > > From: "Steven Rostedt (VMware)" > > > > The curr_ret_stack is no longer set to -1 when not tracing a function. It is > > now done differently, and the FTRAC

Re: [RFC PATCH v4 01/13] ktask: add documentation

2018-11-27 Thread Pavel Machek
Hi! > Motivates and explains the ktask API for kernel clients. > > Signed-off-by: Daniel Jordan > --- > Documentation/core-api/index.rst | 1 + > Documentation/core-api/ktask.rst | 213 +++ > 2 files changed, 214 insertions(+) > create mode 100644 Documentation/co

[tip:x86/cache] x86/resctrl: Use rdt_last_cmd_puts() where possible

2018-11-27 Thread tip-bot for Reinette Chatre
Commit-ID: 456824896de2b68df40b3ea5777ef49dc6cc8fda Gitweb: https://git.kernel.org/tip/456824896de2b68df40b3ea5777ef49dc6cc8fda Author: Reinette Chatre AuthorDate: Tue, 27 Nov 2018 11:19:36 -0800 Committer: Borislav Petkov CommitDate: Tue, 27 Nov 2018 20:39:02 +0100 x86/resctrl: Use rd

[PATCH 0/2] arm64: Only call into preempt_schedule() if need_resched()

2018-11-27 Thread Will Deacon
Hi all, This pair of patches improves our preempt_enable() implementation slightly on arm64 by making the resulting call to preempt_schedule() conditional on need_resched(), which is tracked in bit 32 of the preempt count. The logic is inverted so that we can detect the preempt count going to zero

[PATCH 2/2] arm64: preempt: Provide our own implementation of asm/preempt.h

2018-11-27 Thread Will Deacon
The asm-generic/preempt.h implementation doesn't make use of the PREEMPT_NEED_RESCHED flag, since this can interact badly with load/store architectures which rely on the preempt_count word being unchanged across an interrupt. However, since we're a 64-bit architecture and the preempt count is only

[PATCH 1/2] preempt: Move PREEMPT_NEED_RESCHED definition into arch code

2018-11-27 Thread Will Deacon
PREEMPT_NEED_RESCHED is never used directly, so move it into the arch code where it can potentially be implemented using either a different bit in the preempt count or as an entirely separate entity. Cc: Robert Love Cc: Thomas Gleixner Cc: Peter Zijlstra Cc: Martin Schwidefsky Signed-off-by: W

Re: [PATCH V2] clk: tegra: Return the exact clock rate from clk_round_rate

2018-11-27 Thread Dmitry Osipenko
On 17.10.2018 1:47, Stephen Boyd wrote: > Quoting Robert Yang (2018-09-25 14:49:40) >> The current behavior is that clk_round_rate would return the same clock >> rate passed to it for valid PLL configurations. This change will return >> the exact rate the PLL will provide in accordance with clk API

Re: [LKP] [mm] ac5b2c1891: vm-scalability.throughput -61.3% regression

2018-11-27 Thread Vlastimil Babka
On 11/27/18 8:05 PM, Vlastimil Babka wrote: > On 11/27/18 6:08 PM, Linus Torvalds wrote: >> On Mon, Nov 26, 2018 at 10:24 PM kernel test robot >> wrote: >>> >>> FYI, we noticed a -61.3% regression of vm-scalability.throughput due >>> to commit ac5b2c18911f ("mm: thp: relax __GFP_THISNODE for >>> M

Re: [RFC][PATCH 03/14] arm64: function_graph: Remove use of FTRACE_NOTRACE_DEPTH

2018-11-27 Thread Will Deacon
Hi Steve, On Wed, Nov 21, 2018 at 08:27:11PM -0500, Steven Rostedt wrote: > From: "Steven Rostedt (VMware)" > > The curr_ret_stack is no longer set to -1 when not tracing a function. It is > now done differently, and the FTRACE_NOTRACE_DEPTH value is no longer used. > Remove the reference to it.

Re: [PATCH 1/7] arm64: capabilities: Merge entries for ARM64_WORKAROUND_CLEAN_CACHE

2018-11-27 Thread Will Deacon
On Mon, Nov 26, 2018 at 03:09:56PM +, Suzuki K Poulose wrote: > On Mon, Nov 26, 2018 at 02:06:04PM +, Will Deacon wrote: > > On Mon, Nov 05, 2018 at 11:55:11AM +, Suzuki K Poulose wrote: > > > We have two entries for ARM64_WORKAROUND_CLEAN_CACHE capability : > > > > > > 1) ARM Errata 8

Re: [PATCH v2] perf: tests: Disable breakpoint tests on ARM (32-bit)

2018-11-27 Thread Will Deacon
On Mon, Nov 26, 2018 at 04:31:23PM -0800, Florian Fainelli wrote: > breakpoint tests on the ARM 32-bit kernel are broken in several ways. > > The breakpoint length requested does not necessarily match whether the > function address has the Thumb bit (bit 0) set or not, and this does > matter to th

Re: [PATCH v3 05/13] i2c: acpi: Return error pointers from i2c_acpi_new_device()

2018-11-27 Thread Hans de Goede
Hi, On 27-11-18 20:27, Andy Shevchenko wrote: On Tue, Nov 27, 2018 at 05:14:06PM +0100, Hans de Goede wrote: On 27-11-18 16:37, Andy Shevchenko wrote: The caller would like to know the reason why the i2c_acpi_new_device() fails. For example, if adapter is not available, it might be in the futu

Re: [PATCH v5 0/2] media: platform: Add Aspeed Video Engine Driver

2018-11-27 Thread Eddie James
On 11/15/2018 03:20 AM, Hans Verkuil wrote: On 11/12/2018 10:00 PM, Eddie James wrote: From: Eddie James The Video Engine (VE) embedded in the Aspeed AST2400 and AST2500 SOCs can capture and compress video data from digital or analog sources. With the Aspeed chip acting as a service process

Re: [PATCH v3 05/13] i2c: acpi: Return error pointers from i2c_acpi_new_device()

2018-11-27 Thread Andy Shevchenko
On Tue, Nov 27, 2018 at 05:14:06PM +0100, Hans de Goede wrote: > On 27-11-18 16:37, Andy Shevchenko wrote: > > The caller would like to know the reason why the i2c_acpi_new_device() > > fails. > > For example, if adapter is not available, it might be in the future and we > > would like to re-probe

Re: [PATCH] arm64: dts: sdm845: Add videocc node

2018-11-27 Thread Doug Anderson
Hi, On Mon, Nov 26, 2018 at 10:57 PM Stephen Boyd wrote: > > > > + videocc: clock-controller@ab0 { > > > + compatible = "qcom,sdm845-videocc"; > > > + reg = <0xab0 0x1>; > > > + #clock-cells = <1>; > > > +

[PATCH] dt-bindings: clock: Require #reset-cells in sdm845-videocc

2018-11-27 Thread Douglas Anderson
The #reset-cells was listed as optional in the bindings for qcom,sdm845-videocc. There's no reason for it to be optional. As per Stephen [1]: > We should update the binding to make it a required property. It > doesn't make any sense why that property would be optional given > that the hardware e

Linux 4.4.165

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

Linux 3.18.127

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

Re: [PATCH] docs/memory-barriers.txt: Enforce heavy ordering for port I/O accesses

2018-11-27 Thread Matthew Wilcox
On Tue, Nov 27, 2018 at 10:40:21AM -0800, Paul E. McKenney wrote: > On Mon, Nov 26, 2018 at 08:33:49PM +0100, Andrea Parri wrote: > > On Mon, Nov 26, 2018 at 04:52:14PM +, Will Deacon wrote: > > > David Laight explains: > > > > > > | A long time ago there was a document from Intel that said

Re: Linux 4.4.165

2018-11-27 Thread Greg KH
diff --git a/.gitignore b/.gitignore index fd3a35592543..34fe1346aa87 100644 --- a/.gitignore +++ b/.gitignore @@ -33,6 +33,7 @@ *.lzo *.patch *.gcno +*.ll modules.builtin Module.symvers *.dwo diff --git a/Kbuild b/Kbuild index f55cefd9bf29..f56ed561a284 100644 --- a/Kbuild +++ b/Kbuild @@ -6

Re: Linux 3.18.127

2018-11-27 Thread Greg KH
diff --git a/Makefile b/Makefile index 14472990c4bd..7c78eb797de8 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 18 -SUBLEVEL = 126 +SUBLEVEL = 127 EXTRAVERSION = NAME = Diseased Newt diff --git a/arch/s390/kernel/vdso32/Makefile b/arch/s390/kernel/vdso32/Makefi

Re: Linux 4.9.141

2018-11-27 Thread Greg KH
diff --git a/Makefile b/Makefile index a9aed2326233..8eba73521a7f 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 9 -SUBLEVEL = 140 +SUBLEVEL = 141 EXTRAVERSION = NAME = Roaring Lionus diff --git a/arch/arm64/include/asm/percpu.h b/arch/arm64/include/asm/percpu.h

Linux 4.9.141

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

[PATCH V2] x86/resctrl: Fix rdt_last_cmd_printf() usage and typos within

2018-11-27 Thread Reinette Chatre
The last_cmd_status seq_buf contains user visible messages (accessed via /sys/fs/resctrl/info/last_cmd_status) that details any errors encountered while interacting with the resctrl filesystem. rdt_last_cmd_puts() and rdt_last_cmd_printf() are the two calls available to respectively print an unfor

Linux 4.19.5

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

Re: Linux 4.19.5

2018-11-27 Thread Greg KH
diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt index 92eb1f42240d..fa4eec22816d 100644 --- a/Documentation/admin-guide/kernel-parameters.txt +++ b/Documentation/admin-guide/kernel-parameters.txt @@ -1063,7 +1063,7 @@

Re: Linux 4.14.84

2018-11-27 Thread Greg KH
diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt index 9841bad6f271..99a08722124d 100644 --- a/Documentation/admin-guide/kernel-parameters.txt +++ b/Documentation/admin-guide/kernel-parameters.txt @@ -1011,7 +1011,7 @@

Linux 4.14.84

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

Re: Sleeping in user_access section

2018-11-27 Thread H. Peter Anvin
On 11/23/18 3:57 AM, Julien Thierry wrote: > > On x86, the EFLAGS.AC bit is also saved upon exception and I think it is > cleared upon exception entry so there is implicit exit from the > user_access mode when taking exception/interrupt. > No, it is restored, not cleared. In summary: on excepti

Re: [LKP] [mm] ac5b2c1891: vm-scalability.throughput -61.3% regression

2018-11-27 Thread Vlastimil Babka
On 11/27/18 6:08 PM, Linus Torvalds wrote: > On Mon, Nov 26, 2018 at 10:24 PM kernel test robot > wrote: >> >> FYI, we noticed a -61.3% regression of vm-scalability.throughput due >> to commit ac5b2c18911f ("mm: thp: relax __GFP_THISNODE for >> MADV_HUGEPAGE mappings") > > Well, that's certainly

Re: [PATCH v2 3/4] x86/kvm/hyper-v: direct mode for synthetic timers

2018-11-27 Thread Roman Kagan
On Tue, Nov 27, 2018 at 02:54:21PM +0100, Paolo Bonzini wrote: > On 27/11/18 09:37, Roman Kagan wrote: > > On Mon, Nov 26, 2018 at 05:44:24PM +0100, Paolo Bonzini wrote: > >> On 26/11/18 16:47, Vitaly Kuznetsov wrote: > >>> diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c > >>> index 5cd5647120

[PATCH v3 2/2] drivers: thermal: Move QCOM_SPMI_TEMP_ALARM into the qcom subdir

2018-11-27 Thread Amit Kucheria
This cleans up the directory a bit allowing just one place to look for thermal related drivers for QCOM platforms instead of being scattered in the root directory and the qcom/ subdirectory. Compile-tested with ARCH=arm64 defconfig and the driver explicitly enabled with menuconfig. Signed-off-by:

[PATCH v3 1/2] drivers: thermal: Move various drivers for intel platforms into a subdir

2018-11-27 Thread Amit Kucheria
This cleans up the directory a bit, now that we have several other platforms using platform-specific sub-directories. Compile-tested with ARCH=x86 defconfig and the drivers explicitly enabled with menuconfig. Signed-off-by: Amit Kucheria Acked-by: Daniel Lezcano --- drivers/thermal/Kconfig

[PATCH v3 0/2] driver: thermal: Move some drivers into subdirs

2018-11-27 Thread Amit Kucheria
Move the various drivers for Intel platforms into their own subdir. Also consolidate Qualcomm drivers into the qcom subdir. This cleans up the directory making it easier to find things. There is no great time to send patches that move files around. So here's an attempt to sneak it into 4.21 befor

Re: ext4 file system corruption with v4.19.3 / v4.19.4

2018-11-27 Thread Rainer Fiebig
Am Dienstag, 27. November 2018, 15:48:19 schrieb Marek Habersack: > On 27/11/2018 15:32, Guenter Roeck wrote: > Hi, > > You might try to see if you have CONFIG_SCSI_MQ_DEFAULT=yes in your kernel > config. Starting with 4.19.1 it somehow interferes with ext4 and causes > problems similar to the one

Re: [PATCH v3] i2c: mux: remove duplicated i2c_algorithm

2018-11-27 Thread Peter Rosin
On 2018-11-18 12:13, Luca Ceresoli wrote: > Hi Peter, > > On 10/10/18 17:48, Luca Ceresoli wrote: >> Hi Peter, >> >> On 08/10/2018 23:43, Peter Rosin wrote: >>> On 2018-10-03 17:19, Luca Ceresoli wrote: From: Luca Ceresoli i2c-mux instantiates one i2c_algorithm for each downstream

Re: [PATCH v2 1/4] x86/hyper-v: move synic/stimer control structures definitions to hyperv-tlfs.h

2018-11-27 Thread Roman Kagan
On Tue, Nov 27, 2018 at 02:10:49PM +0100, Vitaly Kuznetsov wrote: > Roman Kagan writes: > > On Mon, Nov 26, 2018 at 04:47:29PM +0100, Vitaly Kuznetsov wrote: > > I personally tend to prefer masks over bitfields, so I'd rather do the > > consolidation in the opposite direction: use the definitions

Re: [PATCH RESEND] bus: fsl-mc: explicitly define the fsl_mc_command endianness

2018-11-27 Thread gre...@linuxfoundation.org
On Thu, Nov 15, 2018 at 12:12:12PM +, Ioana Ciornei wrote: > Both the header and the command parameters of the fsl_mc_command are > 64-bit little-endian words. Use the appropriate type to explicitly > specify their endianness. > > Signed-off-by: Ioana Ciornei > Reviewed-by: Laurentiu Tudor >

Re: [PATCH 0/2] PCI/AER: Consistently use _OSC to determine who owns AER

2018-11-27 Thread Tyler Baicar
On Tue, Nov 27, 2018 at 1:32 PM Sinan Kaya wrote: > > On 11/27/2018 1:22 PM, alex_gagn...@dellteam.com wrote: > > On 11/20/2018 04:08 PM, Sinan Kaya wrote: > >> I followed the ASWG thread yesterday. There will be a meeting next week to > >> discuss this. > > > > Any updates on the meeting? > > > >

Re: [PATCH] tracing: Fix an off by one in __next()

2018-11-27 Thread Steven Rostedt
Doing the sweep of my INBOX, I came across this patch (it was sent while I was in the Alps :-) On Wed, 20 Jun 2018 14:08:00 +0300 Dan Carpenter wrote: > The > should be >= to prevent an off by one bug. Well, not really. > > >From reviewing the code, it seems possible for > stack_trace_ma

Re: [PATCH v10 1/7] interconnect: Add generic on-chip interconnect API

2018-11-27 Thread Joe Perches
On Tue, 2018-11-27 at 20:03 +0200, Georgi Djakov wrote: > This patch introduces a new API to get requirements and configure the > interconnect buses across the entire chipset to fit with the current > demand. trivial notes: > diff --git a/drivers/interconnect/core.c b/drivers/interconnect/core.c

Re: [PATCH v2 3/3] perf report: Display average IPC and IPC coverage per symbol

2018-11-27 Thread Andi Kleen
On Tue, Nov 27, 2018 at 08:09:48PM +0800, Jin Yao wrote: > Support displaying the average IPC and IPC coverage for symbol > in perf report TUI browser. We create a new sort-key 'ipc' for > that. Another thing that would be nice would be to automatically enable these columns perf report when -b was

Re: [for-next][PATCH 04/18] arm64: function_graph: Simplify with function_graph_entry()

2018-11-27 Thread Steven Rostedt
On Tue, 27 Nov 2018 18:07:23 + Will Deacon wrote: > On Wed, Nov 21, 2018 at 07:28:05PM -0500, Steven Rostedt wrote: > > From: "Steven Rostedt (VMware)" > > > > The function_graph_entry() function does the work of calling the function > > graph hook function and the management of the shadow

Re: [PATCH] arm64/bpf: use movn/movk/movk sequence to generate kernel addresses

2018-11-27 Thread Daniel Borkmann
On 11/27/2018 07:22 PM, Will Deacon wrote: > Hi Ard, > > On Fri, Nov 23, 2018 at 06:29:02PM +0100, Ard Biesheuvel wrote: >> On arm64, all executable code is guaranteed to reside in the vmalloc >> space (or the module space), and so jump targets will only use 48 >> bits at most, and the remaining b

Re: [PATCH v2] panic: Add options to print system info when panic happens

2018-11-27 Thread Steven Rostedt
On Tue, 27 Nov 2018 15:15:20 +0800 Feng Tang wrote: > Kernel panic issues are always painful to debug, partially > because it's not easy to get enough information of the > context when panic happens. > > And we have ramoops and kdump for that, while this commit > tries to provide a easier way to

Re: [PATCH] arm64/bpf: use movn/movk/movk sequence to generate kernel addresses

2018-11-27 Thread Will Deacon
Hi Ard, On Fri, Nov 23, 2018 at 06:29:02PM +0100, Ard Biesheuvel wrote: > On arm64, all executable code is guaranteed to reside in the vmalloc > space (or the module space), and so jump targets will only use 48 > bits at most, and the remaining bits are guaranteed to be 0x1. > > This means we can

Re: [LKP] [mm] ac5b2c1891: vm-scalability.throughput -61.3% regression

2018-11-27 Thread Michal Hocko
On Tue 27-11-18 19:17:27, Michal Hocko wrote: > On Tue 27-11-18 09:08:50, Linus Torvalds wrote: > > On Mon, Nov 26, 2018 at 10:24 PM kernel test robot > > wrote: > > > > > > FYI, we noticed a -61.3% regression of vm-scalability.throughput due > > > to commit ac5b2c18911f ("mm: thp: relax __GFP_THI

Re: [RFC v3 2/3] dt-bindings: sdm845-pinctrl: add wakeup interrupt parent for GPIO

2018-11-27 Thread Lina Iyer
On Tue, Nov 27 2018 at 02:12 -0700, Stephen Boyd wrote: Quoting Lina Iyer (2018-11-26 08:14:55) On Wed, Nov 21 2018 at 14:36 -0700, Stephen Boyd wrote: >Quoting Lina Iyer (2018-11-20 16:06:47) >> SDM845 SoC has an always-on interrupt controller (PDC) with select GPIO >> routed to the PDC as inte

Re: [PATCH] arm64: ftrace: Fix to enable syscall events on arm64

2018-11-27 Thread Steven Rostedt
On Tue, 27 Nov 2018 16:58:49 + Will Deacon wrote: > This looks fine to me, but I'm curious about whether this is supposed to > work with compat syscalls as well, where the prefix is "__arm64_compat_". > > If we broadly follow the x86 lead, we'd have: > > return (!strncmp(sym, "__arm64

Re: omap5 fixing palmas IRQ_TYPE_NONE warning leads to gpadc timeouts

2018-11-27 Thread Tony Lindgren
* Tony Lindgren [181127 17:55]: > The only option that works for omap5 at palmas end is if > PALMAS_POLARITY_CTRL_INT_POLARITY is cleared. Setting the SoC internal > pulls does not make a difference, so I suspect there is either some > unknown pull-up/pull-down configuration register in palmas, or

Re: [LKP] [mm] ac5b2c1891: vm-scalability.throughput -61.3% regression

2018-11-27 Thread Michal Hocko
On Tue 27-11-18 09:08:50, Linus Torvalds wrote: > On Mon, Nov 26, 2018 at 10:24 PM kernel test robot > wrote: > > > > FYI, we noticed a -61.3% regression of vm-scalability.throughput due > > to commit ac5b2c18911f ("mm: thp: relax __GFP_THISNODE for > > MADV_HUGEPAGE mappings") > > Well, that's c

Re: [PATCH] i2c: i2c-tegra: replace spin_lock_irqsave with spin_lock in ISR

2018-11-27 Thread Dmitry Osipenko
On 11.09.2018 17:54, jun qian wrote: > As you are already in ISR, it is unnecessary to call spin_lock_irqsave. > > Signed-off-by: jun qian > --- > drivers/i2c/busses/i2c-tegra.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > > diff --git a/drivers/i2c/busses/i2c-tegra.c b/driver

Re: [PATCHi v2] mm: put_and_wait_on_page_locked() while page is migrated

2018-11-27 Thread Matthew Wilcox
On Tue, Nov 27, 2018 at 12:58:48PM +0200, Mike Rapoport wrote: > > diff --git a/mm/filemap.c b/mm/filemap.c > > index 81adec8ee02c..575e16c037ca 100644 > > --- a/mm/filemap.c > > +++ b/mm/filemap.c > > @@ -1049,25 +1056,44 @@ static void wake_up_page(struct page *page, int bit) > > wake_up_page

Re: [for-next][PATCH 04/18] arm64: function_graph: Simplify with function_graph_entry()

2018-11-27 Thread Will Deacon
On Wed, Nov 21, 2018 at 07:28:05PM -0500, Steven Rostedt wrote: > From: "Steven Rostedt (VMware)" > > The function_graph_entry() function does the work of calling the function > graph hook function and the management of the shadow stack, simplifying the > work done in the architecture dependent p

Re: [PATCH v9 2/8] dt-bindings: Introduce interconnect binding

2018-11-27 Thread Georgi Djakov
Hi Rob, On 9/26/18 17:42, Georgi Djakov wrote: Hi Rob, Thanks for the comments! On 09/25/2018 09:02 PM, Rob Herring wrote: On Fri, Aug 31, 2018 at 05:01:45PM +0300, Georgi Djakov wrote: This binding is intended to represent the relations between the interconnect controllers (providers) and c

[PATCH v10 5/7] interconnect: qcom: Add sdm845 interconnect provider driver

2018-11-27 Thread Georgi Djakov
From: David Dai Introduce Qualcomm SDM845 specific provider driver using the interconnect framework. Signed-off-by: David Dai Signed-off-by: Georgi Djakov --- .../bindings/interconnect/qcom,sdm845.txt | 24 + drivers/interconnect/Kconfig | 5 + drivers/interconnect/Mak

[PATCH v10 6/7] arm64: dts: sdm845: Add interconnect provider DT nodes

2018-11-27 Thread Georgi Djakov
From: David Dai Add RSC (Resource State Coordinator) provider dictating network-on-chip interconnect bus performance found on SDM845-based platforms. Signed-off-by: David Dai Signed-off-by: Georgi Djakov --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 5 + 1 file changed, 5 insertions(+) diff

[PATCH v10 1/7] interconnect: Add generic on-chip interconnect API

2018-11-27 Thread Georgi Djakov
This patch introduces a new API to get requirements and configure the interconnect buses across the entire chipset to fit with the current demand. The API is using a consumer/provider-based model, where the providers are the interconnect buses and the consumers could be various drivers. The consum

[PATCH v10 3/7] interconnect: Allow endpoints translation via DT

2018-11-27 Thread Georgi Djakov
Currently we support only platform data for specifying the interconnect endpoints. As now the endpoints are hard-coded into the consumer driver this may lead to complications when a single driver is used by multiple SoCs, which may have different interconnect topology. To avoid cluttering the consu

Re: [driver-core PATCH v6 9/9] libnvdimm: Schedule device registration on node local to the device

2018-11-27 Thread Alexander Duyck
On Mon, 2018-11-26 at 18:21 -0800, Dan Williams wrote: > On Thu, Nov 8, 2018 at 10:07 AM Alexander Duyck > wrote: > > > > Force the device registration for nvdimm devices to be closer to the actual > > device. This is achieved by using either the NUMA node ID of the region, or > > of the parent.

Re: [PATCH RFC 4/5] gnss: sirf: add a separate supply for a lna

2018-11-27 Thread Pavel Machek
Hi! > Devices might have a separate lna between antenna output of the gps > chip and the antenna which might have a separate supply Might have. > @@ -340,6 +349,12 @@ static int sirf_probe(struct serdev_device *serdev) > goto err_put_device; > } > > + data->lna = devm_r

[PATCH v10 7/7] MAINTAINERS: add a maintainer for the interconnect API

2018-11-27 Thread Georgi Djakov
Add myself as the maintainer of the interconnect API. Signed-off-by: Georgi Djakov --- MAINTAINERS | 10 ++ 1 file changed, 10 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 380e43f585d3..4f426863ff3b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -7694,6 +7694,16 @@ L:

[PATCH v10 4/7] interconnect: Add debugfs support

2018-11-27 Thread Georgi Djakov
Add a functionality to provide information about the current constraints per each node and provider. Signed-off-by: Georgi Djakov Reviewed-by: Evan Green --- drivers/interconnect/core.c | 71 + 1 file changed, 71 insertions(+) diff --git a/drivers/interconne

[PATCH v10 2/7] dt-bindings: Introduce interconnect binding

2018-11-27 Thread Georgi Djakov
This binding is intended to represent the relations between the interconnect controllers (providers) and consumer device nodes. It will allow creating links between consumers and interconnect paths (exposed by interconnect providers). Signed-off-by: Georgi Djakov --- .../bindings/interconnect/in

[PATCH v10 0/8] Introduce on-chip interconnect API

2018-11-27 Thread Georgi Djakov
Modern SoCs have multiple processors and various dedicated cores (video, gpu, graphics, modem). These cores are talking to each other and can generate a lot of data flowing through the on-chip interconnects. These interconnect buses could form different topologies such as crossbar, point to point b

Re: omap5 fixing palmas IRQ_TYPE_NONE warning leads to gpadc timeouts

2018-11-27 Thread Tony Lindgren
* Thierry Reding [181126 10:14]: > I'm not sure we need to go to those lengths. As far as I'm concerned, if > it turns out that we've inverted the logic for Tegra114, that's a bug in > the DTS and we should fix it along with the driver to remove the double > negation. I don't think this would be c

Re: [PATCH 2/2] selftests: firmware: add CONFIG_FW_LOADER_USER_HELPER_FALLBACK to config

2018-11-27 Thread Kees Cook
On Mon, Nov 26, 2018 at 7:12 PM, Dan Rue wrote: > CONFIG_FW_LOADER_USER_HELPER_FALLBACK=y is required for fw_fallback.sh. > Without it, fw_fallback.sh fails with 'usermode helper disabled so > ignoring test'. Enable the config in selftest so that it gets built by > default. > > Signed-off-by: Dan

Re: omap5 fixing palmas IRQ_TYPE_NONE warning leads to gpadc timeouts

2018-11-27 Thread Tony Lindgren
* Jon Hunter [181126 20:17]: > > On 26/11/2018 19:32, Tony Lindgren wrote: > > * Thierry Reding [181126 10:25]: > >> On Mon, Nov 26, 2018 at 11:49:54AM +0200, Peter Ujfalusi wrote: > >>> The register map documentation I have states the following: > >>> bit7 INT_POLARITY Select the polarity of th

Re: [PATCH 1/2] selftests: firmware: remove use of non-standard diff -Z option

2018-11-27 Thread Kees Cook
On Mon, Nov 26, 2018 at 7:12 PM, Dan Rue wrote: > diff -Z is used to trim the trailing whitespace when comparing the > loaded firmware file with the source firmware file. However, per the > comment in the source code, -Z should not be necessary. In testing, the > input and output files are identic

Re: [PATCH v17 18/23] platform/x86: Intel SGX driver

2018-11-27 Thread Andy Lutomirski
> On Nov 27, 2018, at 8:41 AM, Jarkko Sakkinen > wrote: > >> On Tue, Nov 27, 2018 at 02:55:33AM -0600, Dr. Greg wrote: >> Since the thread has become a bit divergent I wanted to note that we >> have offered a proposal for a general policy management framework >> based on MRSIGNER values. Thi

RE: [PATCH] ASoC: max98373: Added max98373_reset for stable amp reset

2018-11-27 Thread Ryan Lee
>-Original Message- >From: Mark Brown >Sent: Tuesday, November 27, 2018 3:51 AM >To: Ryan Lee >Cc: Liam Girdwood ; Jaroslav Kysela >; Takashi Iwai ; Grant Grundler >; Kuninori Morimoto >; Benson Leung >; alsa-de...@alsa-project.org; linux- >ker...@vger.kernel.org >Subject: Re: [PATCH] ASo

Re: [PATCH v3 8/8] mfd: cros_ec: add a dev_release empty method.

2018-11-27 Thread Greg Kroah-Hartman
On Tue, Nov 27, 2018 at 09:29:38AM -0800, Guenter Roeck wrote: > Hi Enric, > > On Tue, Nov 27, 2018 at 4:19 AM Enric Balletbo i Serra > wrote: > > > > Devices are required to provide a release method. This patch fixes the > > following WARN(): > > > > [ 47.218707] [ cut here ]--

Re: [PATCH 5/5] mm: Stall movable allocations until kswapd progresses during serious external fragmentation event

2018-11-27 Thread Mel Gorman
On Tue, Nov 27, 2018 at 02:20:30PM +0100, Vlastimil Babka wrote: > > This patch has a marginal rate on fragmentation rates as it's rare for > > the stall logic to actually trigger but the small stalls can be enough for > > kswapd to catch up. How much that helps is variable but probably worthwhile

Re: [PATCH 2/7] node: Add heterogenous memory performance

2018-11-27 Thread Keith Busch
On Mon, Nov 26, 2018 at 11:00:09PM -0800, Dan Williams wrote: > On Wed, Nov 14, 2018 at 2:53 PM Keith Busch wrote: > > > > Heterogeneous memory systems provide memory nodes with latency > > and bandwidth performance attributes that are different from other > > nodes. Create an interface for the ke

Re: [PATCH v2 2/3] vfio: ap: ioctl definitions for AP Queue Interrupt Control

2018-11-27 Thread Pierre Morel
On 27/11/2018 18:22, Alex Williamson wrote: On Thu, 22 Nov 2018 18:11:14 +0100 Pierre Morel wrote: We define two VFIO ioctl command to setup and clear the AP Queues interrupt. Arguments passed by the guest are: - the apqn, AP queue number - the Notification by address - the identifier of the

RE: [PATCH] ASoC: max98373: Added max98373_reset for stable amp reset

2018-11-27 Thread Ryan Lee
Grant, Thanks for your feedback. Please find my answers inline. >-Original Message- >From: Grant Grundler >Sent: Monday, November 26, 2018 6:25 PM >To: Ryan Lee >Cc: Liam Girdwood ; broo...@kernel.org; >pe...@perex.cz; ti...@suse.com; Grant Grundler >; Kuninori Morimoto >; Benson Leung >;

RE: [PATCH] ASoC: max98373: Added max98373_reset for stable amp reset

2018-11-27 Thread Ryan Lee
>-Original Message- >From: Grant Grundler >Sent: Monday, November 26, 2018 6:28 PM >To: Grant Grundler >Cc: Ryan Lee ; Liam Girdwood >; broo...@kernel.org; pe...@perex.cz; >ti...@suse.com; Kuninori Morimoto ; >Benson Leung ; alsa-de...@alsa-project.org; LKML > >Subject: Re: [PATCH] ASoC:

Re: [LKP] [fs/locks] 83b381078b: will-it-scale.per_thread_ops -62.5% regression

2018-11-27 Thread J. Bruce Fields
Thanks for the report! On Tue, Nov 27, 2018 at 02:01:02PM +0800, kernel test robot wrote: > FYI, we noticed a -62.5% regression of will-it-scale.per_thread_ops due to > commit: > > > commit: 83b381078b5ecab098ebf6bc9548bb32af1dbf31 ("fs/locks: always > delete_block after waiting.") > https://g

<    1   2   3   4   5   6   7   8   >