[PATCH 2/2] of/fdt: Mark initial_boot_params as __ro_after_init

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

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

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

Re: [RFC V2 0/2] sched/fair: Fallback to sched-idle CPU for better performance

2019-05-09 Thread Song Liu
On Thu, Apr 25, 2019 at 5:38 AM Viresh Kumar wrote: > > Hi, > > Here is another attempt to get some benefit out of the sched-idle > policy. The previous version [1] focused on getting better power numbers > and this version tries to get better performance or lower response time > for the tasks. >

Re: [PATCH v4 00/10] PCI: Log with pci_dev, not pcie_device

2019-05-09 Thread Bjorn Helgaas
On Thu, May 09, 2019 at 08:49:08PM +0300, Andy Shevchenko wrote: > On Thu, May 9, 2019 at 5:18 PM Bjorn Helgaas wrote: > > > > From: Bjorn Helgaas > > > > This is a collection of updates to Fred's v2 patches from: > > > > https://lore.kernel.org/lkml/20190503035946.23608-1-f...@fredlawl.com >

Re: [PATCH] mm: mmu_gather: remove __tlb_reset_range() for force flush

2019-05-09 Thread Yang Shi
On 5/9/19 2:06 PM, Jan Stancek wrote: - Original Message - On 5/9/19 11:24 AM, Peter Zijlstra wrote: On Thu, May 09, 2019 at 05:36:29PM +, Nadav Amit wrote: On May 9, 2019, at 3:38 AM, Peter Zijlstra wrote: diff --git a/mm/mmu_gather.c b/mm/mmu_gather.c index

[rcu:peterz.2019.05.09a 2/5] ERROR: "tracing_stop" [kernel/rcu/rcutorture.ko] undefined!

2019-05-09 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git peterz.2019.05.09a head: 9aaf2ab4ea3d421a1efa413020bbd5c30ecb5f86 commit: 88437e0ce11d4b74d9606e2c587cdebbdfb41cf3 [2/5] EXP rcutorture: Test setup for sched_setaffinity() config: x86_64-lkp (attached as .config)

Re: [PATCH v3 2/2] platform/chrome: wilco_ec: Add USB PowerShare Policy control

2019-05-09 Thread Enric Balletbo Serra
Hi Nick, Thanks for the patch, some few comments below... Missatge de Nick Crews del dia dc., 17 d’abr. 2019 a les 3:21: > > USB PowerShare is a policy which affects charging via the special > USB PowerShare port (marked with a small lightning bolt or battery icon) > when in low power states: >

[PATCH] perf/x86: fix INTEL_FLAGS_EVENT_CONSTRAINT* masking

2019-05-09 Thread Stephane Eranian
On Intel Westmere, a cmdline as follows: $ perf record -e cpu/event=0xc4,umask=0x2,name=br_inst_retired.near_call/p Was failing. Yet the event+ umask support PEBS. It turns out this is due to a bug in the the PEBS event constraint table for westmere. All forms of BR_INST_RETIRED.* support

Re: [PATCH v3 09/11] platform/x86: asus-wmi: Control RGB keyboard backlight

2019-05-09 Thread Dan Murphy
Andy On 5/9/19 4:06 PM, Andy Shevchenko wrote: > On Thu, May 9, 2019 at 11:45 PM Dan Murphy wrote: >> On 5/9/19 2:04 PM, Yurii Pavlovskyi wrote: >> We are working on a framework for this. >> >> Please see this series >> https://lore.kernel.org/patchwork/project/lkml/list/?series=390141 >> >> It

Re: [PATCH 04/10] PCI/AER: Log messages with pci_dev, not pcie_device

2019-05-09 Thread Bjorn Helgaas
On Thu, May 09, 2019 at 08:42:10PM +0300, Andy Shevchenko wrote: > On Thu, May 9, 2019 at 5:19 PM Bjorn Helgaas wrote: > > Log messages with pci_dev, not pcie_device. Factor out common message > > prefixes with dev_fmt(). > > > > Example output change: > > > > - aer :00:00.0:pci002: AER

Re: Question about sched_setaffinity()

2019-05-09 Thread Andrea Parri
On Thu, May 09, 2019 at 10:36:54AM -0700, Paul E. McKenney wrote: > On Tue, May 07, 2019 at 03:16:13PM -0700, Paul E. McKenney wrote: > > On Wed, May 01, 2019 at 01:27:13PM -0700, Paul E. McKenney wrote: > > > On Wed, May 01, 2019 at 03:16:55PM -0400, Steven Rostedt wrote: > > > > On Wed, 1 May

Re: [PATCH] nvme-pci: Use non-operational power state instead of D3 on Suspend-to-Idle

2019-05-09 Thread Rafael J. Wysocki
On Thu, May 9, 2019 at 11:21 PM Keith Busch wrote: > > On Thu, May 09, 2019 at 10:54:04PM +0200, Rafael J. Wysocki wrote: > > On Thu, May 9, 2019 at 9:33 PM Keith Busch wrote: > > > #include > > > @@ -2851,6 +2852,8 @@ static int nvme_suspend(struct device *dev) > > > struct pci_dev

RE: [PATCH] nvme-pci: Use non-operational power state instead of D3 on Suspend-to-Idle

2019-05-09 Thread Mario.Limonciello
> On Thu, May 09, 2019 at 06:57:34PM +, mario.limoncie...@dell.com wrote: > > No, current Windows versions don't transition to D3 with inbox NVME driver. > > You're correct, it's explicit state transitions even if APST was enabled > > (as this patch is currently doing as well). > > The

[PATCH v2 6/6] ktest: update sample.conf for grub2bls

2019-05-09 Thread Masayoshi Mizuma
From: Masayoshi Mizuma Update sample.conf for grub2bls Signed-off-by: Masayoshi Mizuma --- tools/testing/ktest/sample.conf | 20 ++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/tools/testing/ktest/sample.conf b/tools/testing/ktest/sample.conf index

[PATCH v2 5/6] ktest: remove get_grub2_index

2019-05-09 Thread Masayoshi Mizuma
From: Masayoshi Mizuma Remove get_grub2_index() because it isn't used anywhere. Signed-off-by: Masayoshi Mizuma --- tools/testing/ktest/ktest.pl | 36 1 file changed, 36 deletions(-) diff --git a/tools/testing/ktest/ktest.pl b/tools/testing/ktest/ktest.pl

[PATCH v2 4/6] ktest: pass KERNEL_VERSION to POST_KTEST

2019-05-09 Thread Masayoshi Mizuma
From: Masayoshi Mizuma For BLS, kernel entry is added by kernel-install command through POST_INSALL, for example, POST_INSTALL = ssh root@Test "/usr/bin/kernel-install \ add $KERNEL_VERSION /boot/vmlinuz-$KERNEL_VERSION" The entry is removed by kernel-install command and the kernel version

[PATCH v2 1/6] ktest: introduce _get_grub_index

2019-05-09 Thread Masayoshi Mizuma
From: Masayoshi Mizuma Introduce _get_grub_index() to deal with Boot Loader Specification (BLS) and cleanup. Signed-off-by: Masayoshi Mizuma --- tools/testing/ktest/ktest.pl | 37 1 file changed, 37 insertions(+) diff --git a/tools/testing/ktest/ktest.pl

[PATCH v2 3/6] ktest: introduce grub2bls REBOOT_TYPE option

2019-05-09 Thread Masayoshi Mizuma
From: Masayoshi Mizuma Fedora 30 introduces Boot Loader Specification (BLS), it changes around grub entry configuration. kernel entries aren't in grub.cfg. We can get the entries by "grubby --info=ALL" command. Introduce grub2bls as REBOOT_TYPE option for BLS. Signed-off-by: Masayoshi Mizuma

[PATCH v2 2/6] ktest: cleanup get_grub_index

2019-05-09 Thread Masayoshi Mizuma
From: Masayoshi Mizuma Cleanup get_grub_index(). Signed-off-by: Masayoshi Mizuma --- tools/testing/ktest/ktest.pl | 50 1 file changed, 17 insertions(+), 33 deletions(-) diff --git a/tools/testing/ktest/ktest.pl b/tools/testing/ktest/ktest.pl index

[PATCH v2 0/6] ktest: support for Boot Loader Specification

2019-05-09 Thread Masayoshi Mizuma
From: Masayoshi Mizuma Fedora 30 introduces Boot Loader Specification (BLS) [1], it changes around grub entry configuration. This patch series deals with the new configuration. - Add grub2bls option as REBOOT_TYPE to deal with BLS. - Some cleanup around getting kernel entries. To use ktest.pl

[GIT] Sparc

2019-05-09 Thread David Miller
Here we go: 1) Fix various long standing issues in the sparc 32-bit IOMMU support code, from Christoph Hellwig. 2) Various other code cleanups and simplifications all over. From Gustavo A. R. Silva, Jagadeesh Pagadala, Masahiro Yamada, Mauro Carvalho Chehab, Mike Rapoport. Please

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

2019-05-09 Thread pr-tracker-bot
The pull request you sent on Thu, 9 May 2019 10:36:42 -0700: > git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git for-5.2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/abde77eb5c66b2f98539c4644b54f34b7e179e6b Thank you! -- Deet-doot-dot, I am a bot.

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

2019-05-09 Thread pr-tracker-bot
The pull request you sent on Thu, 9 May 2019 10:27:21 -0700: > git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq.git for-5.2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/23c970608a0931b913f96f6117ea3e9e1bc06959 Thank you! -- Deet-doot-dot, I am a bot.

Re: [PATCH v3 1/2] platform/chrome: wilco_ec: Add Boot on AC support

2019-05-09 Thread Enric Balletbo Serra
Hi Nick, Thanks for the patch, some few comments below... Missatge de Nick Crews del dia dc., 17 d’abr. 2019 a les 3:22: > > Boot on AC is a policy which makes the device boot from S5 when AC > power is connected. This is useful for users who want to run their > device headless or with a dock.

Re: [REGRESSION] usb: gadget: f_fs: Allow scatter-gather buffers

2019-05-09 Thread John Stultz
On Thu, May 9, 2019 at 11:25 AM John Stultz wrote: > > On Thu, May 9, 2019 at 7:02 AM Andrzej Pietrasiewicz > wrote: > > > > Hi John, > > W dniu 08.05.2019 o 04:18, John Stultz pisze: > > > Since commit 772a7a724f69 ("usb: gadget: f_fs: Allow scatter-gather > > > buffers"), I've been seeing

Re: [PATCH v5 1/3] ASoC: rt5677: allow multiple interrupt sources

2019-05-09 Thread Curtis Malainey
From: Mark Brown Date: Wed, May 8, 2019 at 7:33 PM To: Curtis Malainey Cc: Fletcher Woodruff, Linux Kernel Mailing List, Ben Zhang, Jaroslav Kysela, Liam Girdwood, Oder Chiou, Takashi Iwai, Curtis Malainey, > On Wed, May 08, 2019 at 02:39:32PM -0700, Curtis Malainey wrote: > > > Pixelbooks

[PATCH] x86: intel_epb: Take CONFIG_PM into account

2019-05-09 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Commit b9c273babce7 (PM / arch: x86: MSR_IA32_ENERGY_PERF_BIAS sysfs interface) caused kernels built with CONFIG_PM unset to crash on systems supporting the Performance and Energy Bias Hint (EPB), because it attempts to add files to sysfs directories that don't exist on

Re: [PATCH] mm: mmu_gather: remove __tlb_reset_range() for force flush

2019-05-09 Thread Nadav Amit
[ Restoring the recipients after mistakenly pressing reply instead of reply-all ] > On May 9, 2019, at 12:11 PM, Peter Zijlstra wrote: > > On Thu, May 09, 2019 at 06:50:00PM +, Nadav Amit wrote: >>> On May 9, 2019, at 11:24 AM, Peter Zijlstra wrote: >>> >>> On Thu, May 09, 2019 at

Re: [PATCH] nvme-pci: Use non-operational power state instead of D3 on Suspend-to-Idle

2019-05-09 Thread Keith Busch
On Thu, May 09, 2019 at 10:54:04PM +0200, Rafael J. Wysocki wrote: > On Thu, May 9, 2019 at 9:33 PM Keith Busch wrote: > > #include > > @@ -2851,6 +2852,8 @@ static int nvme_suspend(struct device *dev) > > struct pci_dev *pdev = to_pci_dev(dev); > > struct nvme_dev *ndev =

Re: [PATCH 03/10] PCI/DPC: Log messages with pci_dev, not pcie_device

2019-05-09 Thread Bjorn Helgaas
On Thu, May 09, 2019 at 08:39:28PM +0300, Andy Shevchenko wrote: > On Thu, May 9, 2019 at 5:18 PM Bjorn Helgaas wrote: > > Log messages with pci_dev, not pcie_device. Factor out common message > > prefixes with dev_fmt(). > > > > Example output change: > > > > - dpc :00:01.1:pcie008: DPC

[PATCH v3 08/30] mfd: cros_ec: move HDMI CEC API definition

2019-05-09 Thread Gwendal Grignou
Move near the end of file. Acked-by: Enric Balletbo i Serra Acked-by: Benson Leung Signed-off-by: Gwendal Grignou --- include/linux/mfd/cros_ec_commands.h | 148 ++- 1 file changed, 75 insertions(+), 73 deletions(-) diff --git a/include/linux/mfd/cros_ec_commands.h

[PATCH v3 29/30] mfd: cros_ec: Add Management API entry points

2019-05-09 Thread Gwendal Grignou
Add commands for test and management. Add command space for future development. Acked-by: Enric Balletbo i Serra Acked-by: Benson Leung Signed-off-by: Gwendal Grignou --- include/linux/mfd/cros_ec_commands.h | 113 +++ 1 file changed, 113 insertions(+) diff --git

[PATCH v3 10/30] mfd: cros_ec: Add Flash V2 commands API

2019-05-09 Thread Gwendal Grignou
Added for supporting larger embedded controller flash. Acked-by: Enric Balletbo i Serra Acked-by: Benson Leung Signed-off-by: Gwendal Grignou --- include/linux/mfd/cros_ec_commands.h | 150 ++- 1 file changed, 147 insertions(+), 3 deletions(-) diff --git

[PATCH v3 09/30] mfd: cros_ec: Remove zero-size structs

2019-05-09 Thread Gwendal Grignou
Empty structure size is different between C and C++. To prevent clang warning when compiling this include file in C++ programs, remove empty structures. Acked-by: Enric Balletbo i Serra Acked-by: Benson Leung Signed-off-by: Gwendal Grignou --- include/linux/mfd/cros_ec_commands.h | 33

[PATCH v3 15/30] mfd: cros_ec: Complete MEMS sensor API

2019-05-09 Thread Gwendal Grignou
Add new command for batched mode, add support for more sensors. Acked-by: Enric Balletbo i Serra Acked-by: Benson Leung Signed-off-by: Gwendal Grignou --- include/linux/mfd/cros_ec_commands.h | 464 +++ 1 file changed, 406 insertions(+), 58 deletions(-) diff --git

[PATCH v3 12/30] mfd: cros_ec: Add lightbar v2 API

2019-05-09 Thread Gwendal Grignou
New API split commands, improve EC command latency. Acked-by: Enric Balletbo i Serra Acked-by: Benson Leung Signed-off-by: Gwendal Grignou --- include/linux/mfd/cros_ec_commands.h | 124 ++- 1 file changed, 120 insertions(+), 4 deletions(-) diff --git

Re: [PATCH 01/10] PCI/AER: Replace dev_printk(KERN_DEBUG) with dev_info()

2019-05-09 Thread Bjorn Helgaas
On Thu, May 09, 2019 at 08:36:16PM +0300, Andy Shevchenko wrote: > On Thu, May 9, 2019 at 5:17 PM Bjorn Helgaas wrote: > > > > From: Frederick Lawler > > > > Replace dev_printk(KERN_DEBUG) with dev_info() or dev_err() to be more > > consistent with other logging. > > > > These could be converted

[PATCH 2/4] fpga: dfl: afu: Pass the correct device to dma_mapping_error()

2019-05-09 Thread Alan Tull
From: Scott Wood dma_mapping_error() was being called on a different device struct than what was passed to map/unmap. Besides rendering the error checking ineffective, it caused a debug splat with CONFIG_DMA_API_DEBUG. Signed-off-by: Scott Wood Acked-by: Wu Hao Acked-by: Moritz Fischer

[PATCH v3 30/30] mfd: cros_ec: Update I2S API

2019-05-09 Thread Gwendal Grignou
Improve I2S API. Rename ec_response_codec_gain into ec_codec_i2s_gain, update caller accordlingly. Acked-by: Enric Balletbo i Serra Acked-by: Benson Leung Signed-off-by: Gwendal Grignou --- include/linux/mfd/cros_ec_commands.h | 44 +---

[PATCH v3 17/30] mfd: cros_ec: Add fingerprint API

2019-05-09 Thread Gwendal Grignou
Add support for fingerprint sensors managed by embedded controller. Acked-by: Enric Balletbo i Serra Acked-by: Benson Leung Signed-off-by: Gwendal Grignou --- include/linux/mfd/cros_ec_commands.h | 34 1 file changed, 34 insertions(+) diff --git

[PATCH v3 02/30] mfd: cros_ec: Zero BUILD_ macro

2019-05-09 Thread Gwendal Grignou
Defined out build macro used when compiling embedded controller firmware. Acked-by: Enric Balletbo i Serra Acked-by: Benson Leung Signed-off-by: Gwendal Grignou --- include/linux/mfd/cros_ec_commands.h | 5 + 1 file changed, 5 insertions(+) diff --git

[PATCH v3 19/30] mfd: cros_ec: Complete Power and USB PD API

2019-05-09 Thread Gwendal Grignou
Improve API for USB Powe delivery and power management. Acked-by: Enric Balletbo i Serra Acked-by: Benson Leung Signed-off-by: Gwendal Grignou --- include/linux/mfd/cros_ec_commands.h | 236 ++- 1 file changed, 228 insertions(+), 8 deletions(-) diff --git

[PATCH v3 06/30] mfd: cros_ec: use BIT macro

2019-05-09 Thread Gwendal Grignou
Replace (1 << ...) with BIT(). Acked-by: Enric Balletbo i Serra Acked-by: Benson Leung Signed-off-by: Gwendal Grignou --- include/linux/mfd/cros_ec_commands.h | 110 +-- 1 file changed, 55 insertions(+), 55 deletions(-) diff --git

[PATCH v3 00/30] Update cros_ec_commands.h

2019-05-09 Thread Gwendal Grignou
The interface between CrosEC embedded controller and the host, described by cros_ec_commands.h, as diverged from what the embedded controller really support. The source of thruth is at https://chromium.googlesource.com/chromiumos/platform/ec/+/master/include/ec_commands.h That include file is

[PATCH 1/4] fpga: stratix10-soc: fix use-after-free on s10_init()

2019-05-09 Thread Alan Tull
From: Wen Yang The refcount of fw_np has already been decreased by of_find_matching_node() so it shouldn't be used anymore. This patch adds an of_node_get() before of_find_matching_node() to avoid the use-after-free problem. Fixes: e7eef1d7633a ("fpga: add intel stratix10 soc fpga manager

[PATCH v3 11/30] mfd: cros_ec: Add PWM_SET_DUTY API

2019-05-09 Thread Gwendal Grignou
Add API for fan control. Acked-by: Enric Balletbo i Serra Acked-by: Benson Leung Signed-off-by: Gwendal Grignou --- include/linux/mfd/cros_ec_commands.h | 20 ++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/include/linux/mfd/cros_ec_commands.h

[PATCH v3 14/30] mfd: cros_ec: Add EC transport protocol v4

2019-05-09 Thread Gwendal Grignou
Introduce a new transport procotol between EC and host. Acked-by: Enric Balletbo i Serra Acked-by: Benson Leung Signed-off-by: Gwendal Grignou --- include/linux/mfd/cros_ec_commands.h | 143 ++- 1 file changed, 141 insertions(+), 2 deletions(-) diff --git

Re: [PATCH] mm: mmu_gather: remove __tlb_reset_range() for force flush

2019-05-09 Thread Jan Stancek
- Original Message - > > > On 5/9/19 11:24 AM, Peter Zijlstra wrote: > > On Thu, May 09, 2019 at 05:36:29PM +, Nadav Amit wrote: > >>> On May 9, 2019, at 3:38 AM, Peter Zijlstra wrote: > >>> diff --git a/mm/mmu_gather.c b/mm/mmu_gather.c > >>> index 99740e1dd273..fe768f8d612e

[PATCH v3 25/30] mfd: cros_ec: Add API for Touchpad support

2019-05-09 Thread Gwendal Grignou
Add API to control touchpad presented by Embedded Controller. Acked-by: Enric Balletbo i Serra Acked-by: Benson Leung Signed-off-by: Gwendal Grignou --- include/linux/mfd/cros_ec_commands.h | 26 ++ 1 file changed, 26 insertions(+) diff --git

[PATCH v3 03/30] mfd: cros_ec: set comments properly

2019-05-09 Thread Gwendal Grignou
Fix comments syntax and spelling errors. Acked-by: Enric Balletbo i Serra Acked-by: Benson Leung Signed-off-by: Gwendal Grignou --- include/linux/mfd/cros_ec_commands.h | 65 +--- 1 file changed, 40 insertions(+), 25 deletions(-) diff --git

[PATCH v3 21/30] mfd: cros_ec: Add Hibernate API

2019-05-09 Thread Gwendal Grignou
Add support for controlling hibernation of the Embedded Controller. Acked-by: Enric Balletbo i Serra Acked-by: Benson Leung Signed-off-by: Gwendal Grignou --- include/linux/mfd/cros_ec_commands.h | 72 +++- 1 file changed, 70 insertions(+), 2 deletions(-) diff --git

[PATCH 0/4] patches for FPGA

2019-05-09 Thread Alan Tull
Hi Greg, Please take these four fpga fixes patches. They have been reviewed on the mailing list and apply cleanly on current linux-next and char-misc-testing. Thanks, Alan Chengguang Xu (1): fpga: dfl: expand minor range when registering chrdev region Scott Wood (2): fpga: dfl: afu: Pass

[PATCH v3 07/30] mfd: cros_ec: Update ACPI interface definition

2019-05-09 Thread Gwendal Grignou
Add more fields and improve API when EC presents data through ACPI memory space. Acked-by: Enric Balletbo i Serra Acked-by: Benson Leung Signed-off-by: Gwendal Grignou --- include/linux/mfd/cros_ec_commands.h | 419 +++ 1 file changed, 293 insertions(+), 126

[PATCH v3 13/30] mfd: cros_ec: Expand hash API

2019-05-09 Thread Gwendal Grignou
Improve API to verify EC image signature. Acked-by: Enric Balletbo i Serra Acked-by: Benson Leung Signed-off-by: Gwendal Grignou --- include/linux/mfd/cros_ec_commands.h | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/include/linux/mfd/cros_ec_commands.h

[PATCH 4/4] fpga: dfl: expand minor range when registering chrdev region

2019-05-09 Thread Alan Tull
From: Chengguang Xu Actually, total amount of available minor number for a single major is MINORMASK + 1. So expand minor range when registering chrdev region. Signed-off-by: Chengguang Xu Acked-by: Wu Hao Acked-by: Alan Tull --- drivers/fpga/dfl.c | 6 +++--- 1 file changed, 3

[PATCH 3/4] fpga: dfl: Add lockdep classes for pdata->lock

2019-05-09 Thread Alan Tull
From: Scott Wood struct dfl_feature_platform_data (and it's mutex) is used by both fme and port devices, and when lockdep is enabled it complains about nesting between these locks. Tell lockdep about the difference so it can track each class separately. Here's the lockdep complaint: [

[PATCH v3 04/30] mfd: cros_ec: add ec_align macros

2019-05-09 Thread Gwendal Grignou
To reduce code and improve performance of the embedded controller firmware, pragma __aligned(2) or __aligned(4) are used when alignment to 16 or 32 bit boundary is expected. Define all ec_align to packed when compiling kernel. Acked-by: Enric Balletbo i Serra Acked-by: Benson Leung

[PATCH v3 01/30] mfd: cros_ec: Update license term

2019-05-09 Thread Gwendal Grignou
Update to SPDX-License-Identifier, GPL-2.0 Acked-by: Enric Balletbo i Serra Acked-by: Benson Leung Signed-off-by: Gwendal Grignou --- include/linux/mfd/cros_ec_commands.h | 20 +--- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git

[PATCH v3 05/30] mfd: cros_ec: Define commands as 4-digit UPPER CASE hex values

2019-05-09 Thread Gwendal Grignou
This change is required for compilation of embedded controller firmware to work properly (See CONFIG_HOSTCMD_SECTION_SORTED). Acked-by: Enric Balletbo i Serra Acked-by: Benson Leung Signed-off-by: Gwendal Grignou --- include/linux/mfd/cros_ec_commands.h | 235 --- 1

[PATCH v3 18/30] mfd: cros_ec: Fix temperature API

2019-05-09 Thread Gwendal Grignou
Improve API to retrieve temperature information. Acked-by: Enric Balletbo i Serra Acked-by: Benson Leung Signed-off-by: Gwendal Grignou --- include/linux/mfd/cros_ec_commands.h | 64 +--- 1 file changed, 57 insertions(+), 7 deletions(-) diff --git

[PATCH v3 16/30] mfd: cros_ec: Fix event processing API

2019-05-09 Thread Gwendal Grignou
Improve API between EC and Host to report events. Acked-by: Enric Balletbo i Serra Acked-by: Benson Leung Signed-off-by: Gwendal Grignou --- include/linux/mfd/cros_ec_commands.h | 87 1 file changed, 76 insertions(+), 11 deletions(-) diff --git

[PATCH v3 24/30] mfd: cros_ec: Add API for EC-EC communication

2019-05-09 Thread Gwendal Grignou
Allow EC to talk to other ECs that are not presented to the host. Neeed when EC are present in detachable keyboard. Acked-by: Enric Balletbo i Serra Acked-by: Benson Leung Signed-off-by: Gwendal Grignou --- include/linux/mfd/cros_ec_commands.h | 95 1 file

[PATCH v3 20/30] mfd: cros_ec: Add API for keyboard testing

2019-05-09 Thread Gwendal Grignou
Add command to allow keyboard testing in factory. Acked-by: Enric Balletbo i Serra Acked-by: Benson Leung Signed-off-by: Gwendal Grignou --- include/linux/mfd/cros_ec_commands.h | 18 ++ 1 file changed, 18 insertions(+) diff --git a/include/linux/mfd/cros_ec_commands.h

[GIT PULL] clk changes for the merge window

2019-05-09 Thread Stephen Boyd
The following changes since commit e93c9c99a629c61837d5a7fc2120cd2b6c70dbdd: Linux 5.1 (2019-05-05 17:42:58 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git tags/clk-for-linus for you to fetch changes up to

[PATCH v3 28/30] mfd: cros_ec: Add SKU ID and Secure storage API

2019-05-09 Thread Gwendal Grignou
Add API to store SKU, Cros board information in EC flash memory. Add API to store security data in EC. Acked-by: Enric Balletbo i Serra Acked-by: Benson Leung Signed-off-by: Gwendal Grignou --- include/linux/mfd/cros_ec_commands.h | 107 +++ 1 file changed, 107

[PATCH v3 27/30] mfd: cros_ec: Add API for rwsig

2019-05-09 Thread Gwendal Grignou
Add command to retrieve signature of image stored in the RW memory slot(s). Acked-by: Enric Balletbo i Serra Acked-by: Benson Leung Signed-off-by: Gwendal Grignou --- include/linux/mfd/cros_ec_commands.h | 26 ++ 1 file changed, 26 insertions(+) diff --git

[PATCH v3 23/30] mfd: cros_ec: Add I2C passthru protection API

2019-05-09 Thread Gwendal Grignou
Prevent direct i2c access to device behind EC when not in development mode. Acked-by: Enric Balletbo i Serra Acked-by: Benson Leung Signed-off-by: Gwendal Grignou --- include/linux/mfd/cros_ec_commands.h | 22 ++ 1 file changed, 22 insertions(+) diff --git

[PATCH v3 26/30] mfd: cros_ec: Add API for Fingerprint support

2019-05-09 Thread Gwendal Grignou
Add API for fingerprint sensor presented by embedded controller. Acked-by: Enric Balletbo i Serra Acked-by: Benson Leung Signed-off-by: Gwendal Grignou --- include/linux/mfd/cros_ec_commands.h | 228 +++ 1 file changed, 228 insertions(+) diff --git

[PATCH v3 22/30] mfd: cros_ec: Add Smart Battery Firmware update API

2019-05-09 Thread Gwendal Grignou
Add API to update battery firmware. Acked-by: Enric Balletbo i Serra Acked-by: Benson Leung Signed-off-by: Gwendal Grignou --- include/linux/mfd/cros_ec_commands.h | 73 1 file changed, 73 insertions(+) diff --git a/include/linux/mfd/cros_ec_commands.h

[PATCH] tty: amba-pl011: allow shared interrupt

2019-05-09 Thread Florian Fainelli
From: Doug Berger The PL011 register space includes all necessary status bits to determine whether a device instance requires handling in response to an interrupt. Therefore, multiple instances of the device could be serviced by a single shared interrupt, which is the case on BCM7211.

Re: [PATCH 02/10] PCI/PME: Replace dev_printk(KERN_DEBUG) with dev_info()

2019-05-09 Thread Bjorn Helgaas
On Thu, May 09, 2019 at 11:31:04AM -0700, Joe Perches wrote: > On Thu, 2019-05-09 at 20:35 +0300, Andy Shevchenko wrote: > > On Thu, May 9, 2019 at 5:18 PM Bjorn Helgaas wrote: > > > Replace dev_printk(KERN_DEBUG) with dev_info() or dev_err() to be more > > > consistent with other logging. > > >

Re: [PATCH 5/5] IB/hfi1: Fix improper uses of smp_mb__before_atomic()

2019-05-09 Thread Andrea Parri
On Tue, Apr 30, 2019 at 01:16:57AM +0200, Andrea Parri wrote: > Hi Mike, > > > >This barrier only applies to the read-modify-write operations; in > > >particular, it does not apply to the atomic_read() primitive. > > > > > >Replace the barrier with an smp_mb(). > > > > This is one of a couple of

Re: [PATCH v3 09/11] platform/x86: asus-wmi: Control RGB keyboard backlight

2019-05-09 Thread Andy Shevchenko
On Thu, May 9, 2019 at 11:45 PM Dan Murphy wrote: > On 5/9/19 2:04 PM, Yurii Pavlovskyi wrote: > We are working on a framework for this. > > Please see this series > https://lore.kernel.org/patchwork/project/lkml/list/?series=390141 > > It is still a work in progress Side question: Have you

Re: [PATCH] svm/avic: Allow avic_vcpu_load logic to support host APIC ID 255

2019-05-09 Thread Suthikulpanit, Suravee
Alex, Actually, a second thought on this patch, I should have been using AVIC_PHYSICAL_ID_ENTRY_HOST_PHYSICAL_ID_MASK ---> On 5/9/19 12:39 PM, Suthikulpanit, Suravee wrote: > [CAUTION: External Email] > > Alex, > > On 5/7/19 9:16 AM, Graf, Alexander wrote: >> [CAUTION: External Email] >> >> On

[PATCH 0/3] pinctrl: bcm: Allow PINCTRL_BCM2835 for ARCH_BRCMSTB

2019-05-09 Thread Florian Fainelli
Hi Linus, This patch series allows making use of the pinctrl-bcm2835 driver on ARCH_BRCMSTB where it is also used. Binding document is updated, and then the Kconfig language is updated to allow selecting this driver with ARCH_BRCMSTB, finally, Al updates the logic to account for the additional

[PATCH] i2c: Allow selecting BCM2835 I2C controllers on ARCH_BRCMSTB

2019-05-09 Thread Florian Fainelli
From: Kamal Dasu ARCH_BRCMSTB platforms have the BCM2835 I2C controllers, allow selecting the i2c-bcm2835 driver on such platforms. Signed-off-by: Kamal Dasu Signed-off-by: Florian Fainelli --- drivers/i2c/busses/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[GIT PULL] RTC for 5.2

2019-05-09 Thread Alexandre Belloni
Hello Linus, A huge series from me this cycle. I went through many drivers to set the date and time range supported by the RTC which helps solving HW limitation when the time comes (as early as next year for some). This time, I focused on drivers using .set_mms and .set_mmss64, allowing me to

[PATCH 3/3] pinctrl: bcm2835: bcm7211: Add support for 7211 pull-up functionality

2019-05-09 Thread Florian Fainelli
From: Al Cooper The 7211 has a new way of selecting the pull-up/pull-down setting for a GPIO pin. The registers used for the bcm2837, GP_PUD and GP_PUDCLKn0, are no longer connected. A new set of registers, GP_GPIO_PUP_PDN_CNTRL_REGx must be used. This commit will add a new compatible string

[PATCH 2/3] pinctrl: bcm: Allow PINCTRL_BCM2835 for ARCH_BRCMSTB

2019-05-09 Thread Florian Fainelli
From: Doug Berger ARCH_BRCMSTB needs to use the BCM2835 pin controller for chips like BCM7211 which adopted that pin controller for GPIO. This commit makes the option menu configurable with default enabled for ARCH_BRCMSTB and ARCH_BCM2835. Signed-off-by: Doug Berger Signed-off-by: Florian

[PATCH 1/3] dt-bindings: pinctrl: bcm2835-gpio: Document BCM7211 compatible

2019-05-09 Thread Florian Fainelli
BCM7211 has a slightly different block layout and some additional GPIO registers that were added, document the compatible string. Signed-off-by: Florian Fainelli --- .../devicetree/bindings/pinctrl/brcm,bcm2835-gpio.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git

Re: [PATCH 4/5] ceph: fix improper use of smp_mb__before_atomic()

2019-05-09 Thread Andrea Parri
On Tue, Apr 30, 2019 at 05:08:43PM +0800, Yan, Zheng wrote: > On Tue, Apr 30, 2019 at 4:26 PM Peter Zijlstra wrote: > > > > On Mon, Apr 29, 2019 at 10:15:00PM +0200, Andrea Parri wrote: > > > This barrier only applies to the read-modify-write operations; in > > > particular, it does not apply to

Re: [PATCH] nvme-pci: Use non-operational power state instead of D3 on Suspend-to-Idle

2019-05-09 Thread Rafael J. Wysocki
On Thu, May 9, 2019 at 9:33 PM Keith Busch wrote: > > On Thu, May 09, 2019 at 06:57:34PM +, mario.limoncie...@dell.com wrote: > > No, current Windows versions don't transition to D3 with inbox NVME driver. > > You're correct, it's explicit state transitions even if APST was enabled > > (as

Re: [GIT PULL] csky perf unwind libdw patch for v5.2-rc1

2019-05-09 Thread pr-tracker-bot
The pull request you sent on Thu, 9 May 2019 20:53:53 +0800: > https://github.com/c-sky/csky-linux.git > tags/csky-for-linus-5.2-perf-unwind-libdw has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/b1e76c3d3a774298475622bde63010972c9515a1 Thank you! -- Deet-doot-dot,

Re: [GIT PULL] Security subsystem: integrity updates for v5.2

2019-05-09 Thread pr-tracker-bot
The pull request you sent on Fri, 10 May 2019 03:25:24 +1000 (AEST): > git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git > next-integrity has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/7664cd6e3a0b2709f04c07435e96c7c85e7d7324 Thank you! --

Block device naming

2019-05-09 Thread Alibek A.
Hi! I want to address the following problem: On the system with hot-attached new storage volume, such as FC-switch update configuration for connected FC-HBA on servers, linux kernel reorder block devices and change names of block devices. Becouse scsi-id, wwn-id and other is a symbol links to

Re: [PATCH v3 09/11] platform/x86: asus-wmi: Control RGB keyboard backlight

2019-05-09 Thread Dan Murphy
Yurii On 5/9/19 2:04 PM, Yurii Pavlovskyi wrote: > First of all, thanks to Andy for all the review comments! > > I will implement all the ones that I didn't directly answer on as well and > update this series shortly. > > Regarding this patch, > > On 08.05.19 19:12, Pavel Machek wrote: >>>

Re: [GIT PULL] Security subsystem: Smack updates for v5.2

2019-05-09 Thread pr-tracker-bot
The pull request you sent on Fri, 10 May 2019 03:28:49 +1000 (AEST): > git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git > next-smack has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/800c608c976c3f0a6d02ed7fbc600f1f6962ac73 Thank you! --

Re: [GIT PULL] Driver core patches for 5.2-rc1

2019-05-09 Thread Linus Torvalds
[ Ok, this may look irrelevant to people, but I actually notice this because I do quick rebuilds *all* the time, so the 30s vs 41s difference is actually something I reacted to and then tried to figure out... ] On Tue, May 7, 2019 at 10:59 AM Greg KH wrote: > > Joel Fernandes (Google) (2): >

Re: [PATCH] nvme-pci: Use non-operational power state instead of D3 on Suspend-to-Idle

2019-05-09 Thread Rafael J. Wysocki
On Thu, May 9, 2019 at 11:25 AM Christoph Hellwig wrote: > > On Thu, May 09, 2019 at 11:19:37AM +0200, Rafael J. Wysocki wrote: > > Right, the choice of the target system state has already been made > > when their callbacks get invoked (and it has been made by user space, > > not by the

[GIT PULL] Please pull NFS client updates for Linux 5.2

2019-05-09 Thread Schumaker, Anna
Hi Linus, The following changes since commit 085b7755808aa11f78ab9377257e1dad2e6fa4bb: Linux 5.1-rc6 (2019-04-21 10:45:57 -0700) are available in the Git repository at: git://git.linux-nfs.org/projects/anna/linux-nfs.git tags/nfs-for-5.2-1 for you to fetch changes up to

[PATCH] spi: Allow selecting BCM2835 SPI controllers on ARCH_BRCMSTB

2019-05-09 Thread Florian Fainelli
ARCH_BRCMSTB platforms have the BCM2835 SPI controllers (normal and auxiliary), allow selecting the two drivers on such platforms. Signed-off-by: Florian Fainelli --- drivers/spi/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/spi/Kconfig

[PATCH 1/2] clk: bcm: Make BCM2835 clock drivers selectable

2019-05-09 Thread Florian Fainelli
Make the BCM2835 clock driver selectable by other architectures/platforms. ARCH_BRCMSTB will be selecting that driver in the next commit since new chips like 7211 use the same CPRMAN clock controller that this driver supports. Signed-off-by: Florian Fainelli --- drivers/clk/bcm/Kconfig | 9

[PATCH 0/2] clk: bcm: Allow CLK_BCM2835 for ARCH_BRCMSTB

2019-05-09 Thread Florian Fainelli
Hi Stephen, This small patch series allows making use of the CLK_BCM2835 driver(s) on ARCH_BRCMSTB since we have newer chips that make use of the CPRMAN block that this driver supports. Thanks! Florian Fainelli (2): clk: bcm: Make BCM2835 clock drivers selectable clk: bcm: Allow CLK_BCM2835

[PATCH 2/2] clk: bcm: Allow CLK_BCM2835 for ARCH_BRCMSTB

2019-05-09 Thread Florian Fainelli
ARCH_BRCMSTB needs to use the BCM2835 clock driver for chips like BCM7211 which adopted that clock controller, make that possible and the driver default to be enabled for ARCH_BRCMSTB. Signed-off-by: Florian Fainelli --- drivers/clk/bcm/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2

RE: [EXT] [PATCH 4.19 60/66] scsi: qla2xxx: Fix device staying in blocked state

2019-05-09 Thread Quoc Tran
Hi All, Please, remove Quoc Tran (qt...@marvell.com) from this email. I think the correct contact is Quinn Tran (qut...@marvell.com) Thanks Quoc -Original Message- From: Greg Kroah-Hartman Sent: Thursday, May 9, 2019 11:43 AM To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman ;

Re: [PATCH v2] [next] KVM: lapic: allow set apic debug dynamically

2019-05-09 Thread Sean Christopherson
On Thu, May 09, 2019 at 06:47:57PM +0800, Yi Wang wrote: > There are many functions invoke apic_debug(), which is defined > a null function by default, and that's incovenient for debuging > lapic. > > This patch allows setting apic debug according to add a apic_dbg > parameter of kvm. > >

[PATCH] kbuild: add script check for cross compilation utilities

2019-05-09 Thread Nick Desaulniers
When cross compiling via setting CROSS_COMPILE, if the prefixed tools are not found, then the host utilities are often instead invoked, and produce often difficult to understand errors. This is most commonly the case for developers new to cross compiling the kernel that have yet to install the

Re: [RFC][PATCH] ftrace/x86: Remove mcount support

2019-05-09 Thread Josh Poimboeuf
On Thu, May 09, 2019 at 03:49:02PM -0400, Steven Rostedt wrote: > > From: "Steven Rostedt (VMware)" > > There's two methods of enabling function tracing in Linux on x86. One is > with just "gcc -pg" and the other is "gcc -pg -mfentry". The former will use > calls to a special function "mcount"

Re: [RFC][PATCH] ftrace/x86: Remove mcount support

2019-05-09 Thread Linus Torvalds
On Thu, May 9, 2019 at 12:49 PM Steven Rostedt wrote: > > diff --git a/arch/x86/include/asm/livepatch.h > b/arch/x86/include/asm/livepatch.h > index ed80003ce3e2..2f2bdf0662f8 100644 > --- a/arch/x86/include/asm/livepatch.h > +++ b/arch/x86/include/asm/livepatch.h > @@ -26,9 +26,6 @@ > > static

Re: [RFC][PATCH] ftrace/x86: Remove mcount support

2019-05-09 Thread Jiri Kosina
On Thu, 9 May 2019, Steven Rostedt wrote: > From: "Steven Rostedt (VMware)" > > There's two methods of enabling function tracing in Linux on x86. One is > with just "gcc -pg" and the other is "gcc -pg -mfentry". The former will use > calls to a special function "mcount" after the frame is set

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