Re: ERROR: "paddr_to_nid" [drivers/md/raid1.ko] undefined!

2019-05-03 Thread John Paul Adrian Glaubitz
Hi Tony! On 5/3/19 10:25 PM, Luck, Tony wrote: > Big difference is I'm doing a natinve build with a much older compiler (4.6.4) Just as a heads-up: There are updated installation images available for Debian unstable for ia64 [1]. Those install a fresh system using GRUB as a bootloader and come

[PATCH] ia64: fix build errors by exporting paddr_to_nid()

2019-05-03 Thread Randy Dunlap
From: Randy Dunlap Fix build errors on ia64 when DISCONTIGMEM=y and NUMA=y by exporting paddr_to_nid(). Fixes these build errors: ERROR: "paddr_to_nid" [sound/core/snd-pcm.ko] undefined! ERROR: "paddr_to_nid" [net/sunrpc/sunrpc.ko] undefined! ERROR: "paddr_to_nid" [fs/cifs/cifs.ko] undefined!

Re: [PATCH v3 0/2] sys/prctl: expose TASK_SIZE value to userspace

2019-05-03 Thread Yury Norov
On Fri, May 03, 2019 at 05:57:31PM -0400, Rafael Aquini wrote: > On Fri, May 03, 2019 at 01:49:12PM -0700, Yury Norov wrote: > > On Fri, May 03, 2019 at 02:10:19PM -0400, Joel Savitz wrote: > > > In the mainline kernel, there is no quick mechanism to get the virtual > > > memory size of the

Re: [PATCH 0/4] nvme-pci: support device coredump

2019-05-03 Thread Akinobu Mita
2019年5月3日(金) 21:20 Christoph Hellwig : > > On Fri, May 03, 2019 at 06:12:32AM -0600, Keith Busch wrote: > > Could you actually explain how the rest is useful? I personally have > > never encountered an issue where knowing these values would have helped: > > every device timeout always needed

Re: [RFC][PATCH 1/2] x86: Allow breakpoints to emulate call functions

2019-05-03 Thread Steven Rostedt
On Fri, 3 May 2019 16:07:59 -0700 Linus Torvalds wrote: > static struct pt_regs *emulate_call(struct pt_regs *regs, unsigned > long return, unsigned long target) > { > #ifdef CONFIG_X86_32 > /* BIG comment about how we need to move pt_regs to make > room and to update the

[PATCH] regulator: core: Slightly improve readability of _regulator_get_enable_time

2019-05-03 Thread Axel Lin
The logic is equivalent, but it looks more straightforward this way: If rdev->desc->ops->enable_time is set, call it. Otherwise fallback to return rdev->desc->enable_time. Signed-off-by: Axel Lin --- drivers/regulator/core.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff

Re: [PATCH] x86/fpu: Remove the _GPL from the kernel_fpu_begin/end() export

2019-05-03 Thread Sebastian Gottschall
Am 04.05.2019 um 02:47 schrieb Ingo Molnar: * Jiri Kosina wrote: On Thu, 2 May 2019, Sebastian Andrzej Siewior wrote: Please don't start this. We have everything _GPL that is used for FPU related code and only a few functions are exported because KVM needs it. That's not completely true.

Re: [PATCH 5.0 000/101] 5.0.12-stable review

2019-05-03 Thread Kelsey Skunberg
On Thu, May 02, 2019 at 05:20:02PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.0.12 release. > There are 101 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

[RFC PATCH 6/7] soundwire: cadence_master: add debugfs register dump

2019-05-03 Thread Pierre-Louis Bossart
Add debugfs file to dump the Cadence master registers Credits: this patch is based on an earlier internal contribution by Vinod Koul, Sanyog Kale, Shreyas Nc and Hardik Shah. The main change is the use of scnprintf to avoid known issues with snprintf. Signed-off-by: Pierre-Louis Bossart ---

[RFC PATCH 2/7] soundwire: add Slave sysfs support

2019-05-03 Thread Pierre-Louis Bossart
Add DisCo Slave properties as device attributes. Add a device for Data Port 0 which adds Dp0 properties as attributes. Add devices for Source and Sink Data Ports, and add Dp-N properties as attributes. The Slave, DP0 and DPn cases are intentionally handled in separate files to avoid conflicts

[RFC PATCH 0/7] soundwire: add sysfs and debugfs support

2019-05-03 Thread Pierre-Louis Bossart
This patchset is not fully-tested and is not a candidate for any merge. Since I am not very comfortable with sysfs and debugfs support, and I am not the initial author for this code, I could use feedback from smarter people than me. This series is intented to be applied on top of the 'soundwire:

[RFC PATCH 3/7] ABI: testing: Add description of soundwire master sysfs files

2019-05-03 Thread Pierre-Louis Bossart
The description is directly derived from the MIPI DisCo specification. Credits: this patch is based on an earlier internal contribution by Vinod Koul, Sanyog Kale, Shreyas Nc and Hardik Shah. Signed-off-by: Pierre-Louis Bossart --- .../ABI/testing/sysfs-bus-soundwire-master| 21

[RFC PATCH 4/7] ABI: testing: Add description of soundwire slave sysfs files

2019-05-03 Thread Pierre-Louis Bossart
The description is directly derived from the MIPI DisCo specification. Credits: this patch is based on an earlier internal contribution by Vinod Koul, Sanyog Kale, Shreyas Nc and Hardik Shah Signed-off-by: Pierre-Louis Bossart --- .../ABI/testing/sysfs-bus-soundwire-slave | 85

[RFC PATCH 7/7] soundwire: intel: add debugfs register dump

2019-05-03 Thread Pierre-Louis Bossart
Add debugfs file to dump the Intel SoundWire registers Credits: this patch is based on an earlier internal contribution by Vinod Koul, Sanyog Kale, Shreyas Nc and Hardik Shah. The main change is the use of scnprintf to avoid known issues with snprintf. Signed-off-by: Pierre-Louis Bossart ---

[RFC PATCH 1/7] soundwire: Add sysfs support for master(s)

2019-05-03 Thread Pierre-Louis Bossart
For each master N, add a device sdw-master:N and add the master properties as attributes. Credits: this patch is based on an earlier internal contribution by Vinod Koul, Sanyog Kale, Shreyas Nc and Hardik Shah. Signed-off-by: Pierre-Louis Bossart --- drivers/soundwire/Makefile| 3 +-

[RFC PATCH 5/7] soundwire: add debugfs support

2019-05-03 Thread Pierre-Louis Bossart
Add base debugfs mechanism for SoundWire bus by creating soundwire root and master-N and slave-x hierarchy. Also add SDW Slave SCP, DP0 and DP-N register debug file. Registers not implemented will print as "XX" Credits: this patch is based on an earlier internal contribution by Vinod Koul,

Re: [tip:sched/core 24/27] kernel/power/suspend.c:431:10: error: implicit declaration of function 'suspend_disable_secondary_cpus'

2019-05-03 Thread Ingo Molnar
* Nicholas Piggin wrote: > Peter Zijlstra's on May 4, 2019 2:04 am: > > On Fri, May 03, 2019 at 08:34:57PM +0800, kbuild test robot wrote: > >> tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > >> sched/core > >> head: 65874bd36e6ae3028539e989bfb5c28ad457368e > >>

Re: [PATCH] x86/fpu: Remove the _GPL from the kernel_fpu_begin/end() export

2019-05-03 Thread Ingo Molnar
* Jiri Kosina wrote: > On Thu, 2 May 2019, Sebastian Andrzej Siewior wrote: > > > Please don't start this. We have everything _GPL that is used for FPU > > related code and only a few functions are exported because KVM needs it. > > That's not completely true. There are a lot of static

[PATCH 1/8] soundwire: intel: filter SoundWire controller device search

2019-05-03 Thread Pierre-Louis Bossart
The convention is that the SoundWire controller device is a child of the HDAudio controller. However there can be more than one child exposed in the DSDT table, and the current namespace walk returns the last device. Add a filter and terminate early when a valid _ADR is provided, otherwise keep

[PATCH 0/8] soundwire: corrections to ACPI and DisCo properties

2019-05-03 Thread Pierre-Louis Bossart
Now that we are done with cleanups, we can start fixing the code with actual semantic or functional changes. This patchset applies on top of everything Vinod and I contributed this week. The fist patch correct a simplifying assumption made earlier. With the IceLake BIOS the existing code is

[PATCH 5/8] soundwire: add port-related definitions

2019-05-03 Thread Pierre-Louis Bossart
Somehow previous header files did not include definition for sink/source, flow and grouping. Signed-off-by: Pierre-Louis Bossart --- include/linux/soundwire/sdw.h | 53 +++ 1 file changed, 53 insertions(+) diff --git a/include/linux/soundwire/sdw.h

[PATCH 3/8] soundwire: mipi_disco: expose sdw_slave_read_dpn as symbol

2019-05-03 Thread Pierre-Louis Bossart
sdw_slave_read_dpn was so far a static function, which prevented codec drivers from using it. Expose as non-static function and add symbol Signed-off-by: Pierre-Louis Bossart --- drivers/soundwire/mipi_disco.c | 7 --- include/linux/soundwire/sdw.h | 3 +++ 2 files changed, 7

[PATCH 2/8] soundwire: mipi_disco: fix master/link error

2019-05-03 Thread Pierre-Louis Bossart
The MIPI DisCo specification for SoundWire defines the "mipi-sdw-link-N-subproperties", not the master-N properties. Fix to parse firmware information. Signed-off-by: Pierre-Louis Bossart --- drivers/soundwire/mipi_disco.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 8/8] soundwire: rename/clarify MIPI DisCo properties

2019-05-03 Thread Pierre-Louis Bossart
The existing definitions are ambiguous and possibly misleading. For DP0, 'flow-control' is only relevant for the BRA protocol and should not be confused with async modes explicitly not supported for DP0, add prefix to follow MIPI DisCo definition The use of 'device_interrupts' is also

[PATCH 7/8] soundwire: fix master properties

2019-05-03 Thread Pierre-Louis Bossart
The master-count is only defined for a controller or a Slave in the MIPI DisCo for SoundWire document. rename all fields with 'freq' as 'clk_freq' to follow the MIPI specification and avoid confusion between bus clock and audio clocks. fix support for clock_stop_mode0 and 1. The existing code

[PATCH 4/8] soundwire: mipi_disco: expose sdw_slave_read_dp0 as symbol

2019-05-03 Thread Pierre-Louis Bossart
sdw_slave_read_dp0 was so far a static function, which prevented codec drivers from using it. Expose as non-static function and add symbol Signed-off-by: Pierre-Louis Bossart --- drivers/soundwire/mipi_disco.c | 7 --- include/linux/soundwire/sdw.h | 3 +++ 2 files changed, 7

[PATCH 6/8] soundwire: remove master data port properties

2019-05-03 Thread Pierre-Louis Bossart
The SoundWire and DisCo specifications do not define Master data ports or related properties. Data ports are only defined for Slave devices, so remove the unused member in properties. Credits: this patch is based on an earlier internal contribution by Vinod Koul, Sanyog Kale, Shreyas Nc and

Re: [tip:sched/core] sched/isolation: Require a present CPU in housekeeping mask

2019-05-03 Thread Frederic Weisbecker
On Fri, May 03, 2019 at 10:47:37AM -0700, tip-bot for Nicholas Piggin wrote: > Commit-ID: 9219565aa89033a9cfdae788c1940473a1253d6c > Gitweb: > https://git.kernel.org/tip/9219565aa89033a9cfdae788c1940473a1253d6c > Author: Nicholas Piggin > AuthorDate: Thu, 11 Apr 2019 13:34:47 +1000 >

Re: [PATCH] mmc: block: Fix memory leak in blk-mq when cleaning up

2019-05-03 Thread Guenter Roeck
On Fri, May 3, 2019 at 4:35 PM Douglas Anderson wrote: > > If I run the following on rk3288-veyron-minnie (a 2GB machine) > > cd /sys/bus/platform/drivers/dwmmc_rockchip > for i in $(seq 1 3000); do > echo "" $i > echo ff0f.dwmmc > unbind > sleep .5 >

[PATCH] clk: qcom: gdsc: WARN when failing to toggle

2019-05-03 Thread Bjorn Andersson
Failing to toggle a GDSC as the driver core is attaching the power-domain to a device will cause a silent probe deferral. Provide an explicit warning to the developer, in order to reduce the amount of time it take to debug this. Signed-off-by: Bjorn Andersson --- drivers/clk/qcom/gdsc.c | 4

Re: [GIT PULL] KVM fixes for 5.1-rc8 or final

2019-05-03 Thread pr-tracker-bot
The pull request you sent on Fri, 3 May 2019 15:46:14 -0600: > git://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/aa1be08f52585fe36ecfaf5bddfdc784eb4c94cf Thank you! -- Deet-doot-dot, I am a bot.

Re: [PATCH] i2c: at91: handle TXRDY interrupt spam

2019-05-03 Thread Raag Jadav
On Thu, May 02, 2019 at 04:01:16PM +0200, Ludovic Desroches wrote: > On Tue, Apr 30, 2019 at 04:03:32AM +0530, Raag Jadav wrote: > > External E-Mail > > > > > > On Mon, Apr 29, 2019 at 11:00:05AM +0200, Ludovic Desroches wrote: > > > Hello Raag, > > > > > > On Tue, Apr 23, 2019 at 01:06:48PM

Re: [PATCH] ARM: dts: rockchip: Remove bogus 'i2s_clk_out' from rk3288-veyron-mickey

2019-05-03 Thread Matthias Kaehlcke
On Fri, May 03, 2019 at 04:48:14PM -0700, Douglas Anderson wrote: > The rk3288-veyron-mickey device tree overrides the default "i2s" clock > settings to add the clock for "i2s_clk_out". > > That clock is only present in the bindings downstream Chrome OS 3.14 > tree. Upstream the i2s port

Re: [PATCH] mmc: block: Fix memory leak in blk-mq when cleaning up

2019-05-03 Thread Matthias Kaehlcke
On Fri, May 03, 2019 at 04:35:26PM -0700, Douglas Anderson wrote: > If I run the following on rk3288-veyron-minnie (a 2GB machine) > > cd /sys/bus/platform/drivers/dwmmc_rockchip > for i in $(seq 1 3000); do > echo "" $i > echo ff0f.dwmmc > unbind >

Re: [tip:sched/core] sched/isolation: Require a present CPU in housekeeping mask

2019-05-03 Thread Frederic Weisbecker
On Fri, May 03, 2019 at 10:47:37AM -0700, tip-bot for Nicholas Piggin wrote: > Commit-ID: 9219565aa89033a9cfdae788c1940473a1253d6c > Gitweb: > https://git.kernel.org/tip/9219565aa89033a9cfdae788c1940473a1253d6c > Author: Nicholas Piggin > AuthorDate: Thu, 11 Apr 2019 13:34:47 +1000 >

Re: [PATCH v13 16/20] IB/mlx4, arm64: untag user pointers in mlx4_get_umem_mr

2019-05-03 Thread Jason Gunthorpe
On Fri, May 03, 2019 at 05:28:46PM +0100, Catalin Marinas wrote: > Thanks Jason and Leon for the information. > > On Thu, May 02, 2019 at 03:44:42PM -0300, Jason Gunthorpe wrote: > > On Tue, Apr 30, 2019 at 12:16:25PM +0100, Catalin Marinas wrote: > > > > Interesting, the followup question is why

Re: [tip:sched/core 24/27] kernel/power/suspend.c:431:10: error: implicit declaration of function 'suspend_disable_secondary_cpus'

2019-05-03 Thread Nicholas Piggin
Peter Zijlstra's on May 4, 2019 2:04 am: > On Fri, May 03, 2019 at 08:34:57PM +0800, kbuild test robot wrote: >> tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git >> sched/core >> head: 65874bd36e6ae3028539e989bfb5c28ad457368e >> commit:

[PATCH] ARM: dts: rockchip: Remove bogus 'i2s_clk_out' from rk3288-veyron-mickey

2019-05-03 Thread Douglas Anderson
The rk3288-veyron-mickey device tree overrides the default "i2s" clock settings to add the clock for "i2s_clk_out". That clock is only present in the bindings downstream Chrome OS 3.14 tree. Upstream the i2s port bindings doesn't specify that as a possible clock. Let's remove it. NOTE: for

[PATCH] ARM: dts: rockchip: Make rk3288-veyron-mickey's emmc work again

2019-05-03 Thread Douglas Anderson
When I try to boot rk3288-veyron-mickey I totally fail to make the eMMC work. Specifically my logs (on Chrome OS 4.19): mmc_host mmc1: card is non-removable. mmc_host mmc1: Bus speed (slot 0) = 40Hz (slot req 40Hz, actual 40HZ div = 0) mmc_host mmc1: Bus speed (slot 0) =

[PATCH] ARM: dts: rockchip: Make rk3288-veyron-minnie run at hs200

2019-05-03 Thread Douglas Anderson
As some point hs200 was failing on rk3288-veyron-minnie. See commit 984926781122 ("ARM: dts: rockchip: temporarily remove emmc hs200 speed from rk3288 minnie"). Although I didn't track down exactly when it started working, it seems to work OK now, so let's turn it back on. To test this, I

[PATCH] mmc: block: Fix memory leak in blk-mq when cleaning up

2019-05-03 Thread Douglas Anderson
If I run the following on rk3288-veyron-minnie (a 2GB machine) cd /sys/bus/platform/drivers/dwmmc_rockchip for i in $(seq 1 3000); do echo "" $i echo ff0f.dwmmc > unbind sleep .5 echo ff0f.dwmmc > bind while true; do if [ -e

Re: [REGRESSION 5.0.8] Dell thunderbolt dock broken (xhci_hcd and thunderbolt)

2019-05-03 Thread Furquan Shaikh
On Thu, May 2, 2019 at 4:48 AM Greg Kroah-Hartman wrote: > > On Tue, Apr 30, 2019 at 11:37:48AM +0200, Rafael J. Wysocki wrote: > > On Tue, Apr 30, 2019 at 11:00 AM Mika Westerberg > > wrote: > > > > > > +Rafael, Furquan and linux-acpi > > > > > > (The original thread is here > > >

Re: [RFC][PATCH 1/2] x86: Allow breakpoints to emulate call functions

2019-05-03 Thread Andy Lutomirski
> On May 3, 2019, at 4:16 PM, Linus Torvalds > wrote: > >> On Fri, May 3, 2019 at 3:55 PM Andy Lutomirski wrote: >> >> But I think this will end up worse than the version where the entry code >> fixes it up. This is because, if the C code moves pt_regs, then we need >> some way to pass

[PATCH] arm64: dts: qcom: msm8996: Stop using legacy clock names

2019-05-03 Thread Bjorn Andersson
MDSS and its friends complain about the DTS is using legacy clock names, update these to silence the warnings. Signed-off-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git

Re: [RFC][PATCH 1/2] x86: Allow breakpoints to emulate call functions

2019-05-03 Thread Linus Torvalds
On Fri, May 3, 2019 at 3:55 PM Andy Lutomirski wrote: > > But I think this will end up worse than the version where the entry code > fixes it up. This is because, if the C code moves pt_regs, then we need some > way to pass the new pointer back to the asm. What? I already posted that code.

Re: [PATCH v3 1/2] kernel/sys: add PR_GET_TASK_SIZE option to prctl(2)

2019-05-03 Thread Jann Horn
On Fri, May 3, 2019 at 2:12 PM Joel Savitz wrote: > When PR_GET_TASK_SIZE is passed to prctl, the kernel will attempt to > copy the value of TASK_SIZE to the userspace address in arg2. A commit message shouldn't just describe what you're doing, but also why you're doing it. Is this intended for

[PATCH] ARM: dts: sun8i: r40: bananapi-m2-ultra: Remove regulator-always-on

2019-05-03 Thread Pablo Greco
Now that the regulators are tied to the GPIO bank, we can remove the unneeded regulator-always-on in reg_aldo2 Signed-off-by: Pablo Greco --- arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts

Re: [RFC][PATCH 1/2] x86: Allow breakpoints to emulate call functions

2019-05-03 Thread Linus Torvalds
On Fri, May 3, 2019 at 3:49 PM Steven Rostedt wrote: > > You are saying that we have a do_int3() for user space int3, and > do_kernel_int3() for kernel space. That would need to be done in asm > for both, because having x86_64 call do_int3() for kernel and > user would be interesting. The

[PATCH v4 0/3] Fix jack detection for Chromebook Pixel

2019-05-03 Thread Fletcher Woodruff
Headphone/mic jack detection doesn't work on the Chromebook Pixel 2015. This patch changes the irq implementation to support polarity flipping and fixes the configuration code so that correct GPIO pins are read from ACPI. With this series, plugging and unplugging the headphone jack switches

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

2019-05-03 Thread Fletcher Woodruff
From: Ben Zhang This patch allows headphone plug detect and mic present detect to be enabled at the same time. This patch implements an irq_chip with irq_domain directly instead of using regmap-irq, so that interrupt source line polarities can be flipped to support irq sharing. This patch does

[PATCH v4 2/3] ASoC: rt5677: handle concurrent interrupts

2019-05-03 Thread Fletcher Woodruff
The rt5677 driver writes to the IRQ control register within the IRQ handler in order to flip the polarity of the interrupts that have been signalled. If an interrupt fires in the interval between the regmap_read and the regmap_write, it will not trigger a new call to rt5677_irq. Add a bounded

[PATCH v4 3/3] ASoC: rt5677: fall back to DT prop names on error

2019-05-03 Thread Fletcher Woodruff
The rt5677 driver uses ACPI-style property names to read from the device API. However, these do not match the property names in _DSD used on the Chromebook Pixel 2015, which are closer to the Device Tree style. Unify the two functions for reading from the device API so that they try ACPI-style

Re: [PATCH for 5.2 00/12] Restartable Sequences selftests updates

2019-05-03 Thread shuah
On 5/3/19 1:22 PM, Mathieu Desnoyers wrote: - On May 3, 2019, at 2:53 PM, shuah sh...@kernel.org wrote: On 5/3/19 12:36 PM, Mathieu Desnoyers wrote: - On Apr 29, 2019, at 11:27 AM, Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote: Those rseq selftests updates are hereby

Re: [RFC][PATCH 1/2] x86: Allow breakpoints to emulate call functions

2019-05-03 Thread Andy Lutomirski
> On May 3, 2019, at 2:46 PM, Linus Torvalds > wrote: > >> On Fri, May 3, 2019 at 12:24 PM Steven Rostedt wrote: >> >> The problem with this approach is that it would require doing the same >> for x86_64, as the int3 C code is the same for both. And that may be a >> bit more difficult on

Re: [PATCH] signal: Adjust error codes according to restore_user_sigmask()

2019-05-03 Thread Deepa Dinamani
The original patch was merged through the tip tree. Adding tglx just in case. I will post the revised patch to everyone on this thread. > >For all the syscalls that receive a sigmask from the userland, > >the user sigmask is to be in effect through the syscall execution. > >At the end of

Re: [RFC][PATCH 1/2] x86: Allow breakpoints to emulate call functions

2019-05-03 Thread Steven Rostedt
On Fri, 3 May 2019 14:46:11 -0700 Linus Torvalds wrote: > On Fri, May 3, 2019 at 12:24 PM Steven Rostedt wrote: > > > > The problem with this approach is that it would require doing the same > > for x86_64, as the int3 C code is the same for both. And that may be a > > bit more difficult on the

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

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

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

2019-05-03 Thread Asmaa Mnebhi
Hi Vadim, I apologize I forgot to address your previous comment concerning the ACPI table. I have added the ACPI device id as well as documented it for whomever wants to use either the ACPI table or device tree. I did not need that for my testing due to our internal build tools/ code structure.

[PATCH 2/2] Revert "mm, thp: restore node-local hugepage allocations"

2019-05-03 Thread Andrea Arcangeli
This reverts commit 2f0799a0ffc033bf3cc82d5032acc3ec633464c2. commit 2f0799a0ffc033bf3cc82d5032acc3ec633464c2 was rightfully applied to avoid the risk of a severe regression that was reported by the kernel test robot at the end of the merge window. Now we understood the regression was a false

[PATCH 0/2] reapply: relax __GFP_THISNODE for MADV_HUGEPAGE mappings

2019-05-03 Thread Andrea Arcangeli
Hello, The fixes for what was originally reported as "pathological THP behavior" we rightfully reverted to be sure not to introduced regressions at end of a merge window after a severe regression report from the kernel bot. We can safely re-apply them now that we had time to analyze the problem.

[PATCH 1/2] Revert "Revert "mm, thp: consolidate THP gfp handling into alloc_hugepage_direct_gfpmask""

2019-05-03 Thread Andrea Arcangeli
This reverts commit 356ff8a9a78fb35d6482584d260c3754dcbdf669. Signed-off-by: Andrea Arcangeli --- include/linux/gfp.h | 12 mm/huge_memory.c| 27 ++- mm/mempolicy.c | 32 +++- mm/shmem.c | 2 +- 4 files changed,

Re: linux-next: manual merge of the vfs tree with the orangefs tree

2019-05-03 Thread Stephen Rothwell
Hi Mike, On Fri, 3 May 2019 13:34:49 -0400 Mike Marshall wrote: > > I noticed the conflict too when I added Al's patch series to the orangefs > tree we have on next. I understood Linus to say he'd fix the conflict the > way you did during the merge window. I guess that means you'll have to >

[PATCH 1/5 v4] added a new ima policy func buffer_check, and ima hook to measure the buffer hash into ima

2019-05-03 Thread Prakhar Srivastava
From: Prakhar Srivastava This change adds a new ima policy func buffer_check, and ima hook to measure the buffer hash into ima log. Signed-off-by: Prakhar Srivastava --- Documentation/ABI/testing/ima_policy | 1 + include/linux/ima.h | 5 ++ security/integrity/ima/ima.h

[PATCH 5/5 v4] removed the LSM hook made available, and renamed the ima_policy to be KEXEC_CMDLINE

2019-05-03 Thread Prakhar Srivastava
From: Prakhar Srivastava Per suggestions from the community, removed the LSM hook. and renamed the buffer_check func and policy to kexec_cmdline [suggested by: Mimi Zohar] Signed-off-by: Prakhar Srivastava --- Documentation/ABI/testing/ima_policy | 2 +- include/linux/ima.h |

[PATCH 3/5 v4] add kexec_cmdline used to ima

2019-05-03 Thread Prakhar Srivastava
From: Prakhar Srivastava prepend the kernel file name to the cmdline args to avoid conflicrts in case of multiple kexec. Pass the new generated buffer to ima for measurmenet. Signed-off-by: Prakhar Srivastava --- kernel/kexec_core.c | 57 +

[PATCH 0/5 v4] Kexec cmdline bufffer measure

2019-05-03 Thread Prakhar Srivastava
From: Prakhar Srivastava For Kexec scenario(kexec_file_load) cmdline args are passed to the next kerenel. These cmldine args used to load the next kernel can have undesired/unwanted configs. To guard against any unwanted cmdline args being passed to the next kernel. The current kernel should

[PATCH 4/5 v4] added LSM hook to call ima_buffer_check

2019-05-03 Thread Prakhar Srivastava
From: Prakhar Srivastava add a LAM hook for kexec_cmldine args to be made available to other LSMs. Signed-off-by: Prakhar Srivastava --- include/linux/lsm_hooks.h | 3 +++ include/linux/security.h | 3 +++ kernel/kexec_internal.h | 4 +++- security/security.c | 6 ++ 4 files

[PATCH 2/5 v4] add the buffer to the xattr

2019-05-03 Thread Prakhar Srivastava
From: Prakhar Srivastava This change adds the buffer passed in to the xattr used for template entries. Signed-off-by: Prakhar Srivastava --- security/integrity/ima/ima_main.c | 37 --- security/integrity/ima/ima_template_lib.c | 3 +-

[PATCH 4/4] staging: iio: ad7150: clean up of comments

2019-05-03 Thread Melissa Wen
General cleaning of comments to remove useless information or improve description. Signed-off-by: Melissa Wen --- drivers/staging/iio/cdc/ad7150.c | 11 ++- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/drivers/staging/iio/cdc/ad7150.c b/drivers/staging/iio/cdc/ad7150.c

Re: [PATCH v3 1/2] kernel/sys: add PR_GET_TASK_SIZE option to prctl(2)

2019-05-03 Thread Rafael Aquini
On Fri, May 03, 2019 at 02:08:31PM -0700, Yury Norov wrote: > On Fri, May 03, 2019 at 02:10:20PM -0400, Joel Savitz wrote: > > When PR_GET_TASK_SIZE is passed to prctl, the kernel will attempt to > > copy the value of TASK_SIZE to the userspace address in arg2. > > > > It is important that we

[PATCH 3/4] staging: iio: ad7150: simplify i2c SMBus return treatment

2019-05-03 Thread Melissa Wen
Since i2c_smbus_write_byte_data returns no-positive value, this commit making the treatment of its return value less verbose. Signed-off-by: Melissa Wen --- drivers/staging/iio/cdc/ad7150.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git

[PATCH 2/4] staging: iio: ad7150: use FIELD_GET and GENMASK

2019-05-03 Thread Melissa Wen
Use the bitfield macro FIELD_GET, and GENMASK to do the shift and mask in one go. This makes the code more readable than explicit masking followed by a shift. Signed-off-by: Melissa Wen --- drivers/staging/iio/cdc/ad7150.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git

[PATCH 1/4] staging: iio: ad7150: organize registers definition

2019-05-03 Thread Melissa Wen
Use the suffix REG to make the register addresses clear and indentation to highlight field names. Signed-off-by: Melissa Wen --- drivers/staging/iio/cdc/ad7150.c | 75 1 file changed, 37 insertions(+), 38 deletions(-) diff --git

Re: [PATCH] clk: rockchip: Don't yell about bad mmc phases when getting

2019-05-03 Thread Stephen Boyd
Quoting Douglas Anderson (2019-05-03 14:22:08) > At boot time, my rk3288-veyron devices yell with 8 lines that look > like this: > [0.00] rockchip_mmc_get_phase: invalid clk rate > > This is because the clock framework at clk_register() time tries to > get the phase but we don't have a

[PATCH 0/4] staging: iio: ad7150: improve driver readability

2019-05-03 Thread Melissa Wen
This patchset solves readability issues in AD7150 code, such as clarify register and mask definition, fashion improvement of mask uses, reduce tedious operation and useless comments. Melissa Wen (4): staging: iio: ad7150: organize registers definition staging: iio: ad7150: use FIELD_GET and

Re: [PATCH 0/6] arm64: dts: meson: mmc clean-up

2019-05-03 Thread Kevin Hilman
Jerome Brunet writes: > The patchset is bunch of clean-up found while debugging meson mmc. > > * The first 2 patches address the libretech-cc which actually uses 1.8v > eMMC modules. > * Patch 3 is a pin bias fixup depending on mmc pins. > * Patch 4 lower the mmc max frequencies on gx chips.

Re: [PATCH v3 0/2] sys/prctl: expose TASK_SIZE value to userspace

2019-05-03 Thread Rafael Aquini
On Fri, May 03, 2019 at 01:49:12PM -0700, Yury Norov wrote: > On Fri, May 03, 2019 at 02:10:19PM -0400, Joel Savitz wrote: > > In the mainline kernel, there is no quick mechanism to get the virtual > > memory size of the current process from userspace. > > > > Despite the current state of

Re: [PATCH v3 1/2] kernel/sys: add PR_GET_TASK_SIZE option to prctl(2)

2019-05-03 Thread Rafael Aquini
On Fri, May 03, 2019 at 02:08:31PM -0700, Yury Norov wrote: > On Fri, May 03, 2019 at 02:10:20PM -0400, Joel Savitz wrote: > > When PR_GET_TASK_SIZE is passed to prctl, the kernel will attempt to > > copy the value of TASK_SIZE to the userspace address in arg2. > > > > It is important that we

Re: [PATCH] clk: rockchip: Don't yell about bad mmc phases when getting

2019-05-03 Thread Heiko Stuebner
Am Freitag, 3. Mai 2019, 23:22:08 CEST schrieb Douglas Anderson: > At boot time, my rk3288-veyron devices yell with 8 lines that look > like this: > [0.00] rockchip_mmc_get_phase: invalid clk rate > > This is because the clock framework at clk_register() time tries to > get the phase

Re: [RFC][PATCH 1/2] x86: Allow breakpoints to emulate call functions

2019-05-03 Thread Linus Torvalds
On Fri, May 3, 2019 at 12:24 PM Steven Rostedt wrote: > > The problem with this approach is that it would require doing the same > for x86_64, as the int3 C code is the same for both. And that may be a > bit more difficult on the x86_64 side because it's all done with a > simple flag in the

Re: [PATCH for 5.2 00/12] Restartable Sequences selftests updates

2019-05-03 Thread Joe Perches
On Fri, 2019-05-03 at 15:22 -0400, Mathieu Desnoyers wrote: > - On May 3, 2019, at 2:53 PM, shuah sh...@kernel.org wrote: > > ERROR: need consistent spacing around '%' (ctx:WxV) > > #227: FILE: tools/testing/selftests/rseq/rseq-x86.h:104: > > + RSEQ_ASM_CMP_CPU_ID(cpu_id,

[GIT PULL] KVM fixes for 5.1-rc8 or final

2019-05-03 Thread Paolo Bonzini
Linus, The following changes since commit 7a223e06b1a411cef6c4cd7a9b9a33c8d225b10e: KVM: x86: avoid misreporting level-triggered irqs as edge-triggered in tracing (2019-04-16 15:38:08 +0200) are available in the Git repository at: git://git.kernel.org/pub/scm/virt/kvm/kvm.git

Re: [PATCH 4.19 57/72] usb: usb251xb: fix to avoid potential NULL pointer dereference

2019-05-03 Thread Pavel Machek
On Thu 2019-05-02 17:21:19, Greg Kroah-Hartman wrote: > [ Upstream commit 41f00e6e9e55546390031996b773e7f3c1d95928 ] > > of_match_device in usb251xb_probe can fail and returns a NULL pointer. > The patch avoids a potential NULL pointer dereference in this scenario. > > Signed-off-by: Aditya

Re: [PATCH V3] watchdog: stm32: add dynamic prescaler support

2019-05-03 Thread Guenter Roeck
On Fri, May 03, 2019 at 03:48:26PM +0200, Ludovic Barre wrote: > From: Ludovic Barre > > This patch allows to define the max prescaler by compatible. > To set a large range of timeout, the prescaler should be set > dynamically (from the timeout request) to improve the resolution > in order to

[PATCH] clk: rockchip: Don't yell about bad mmc phases when getting

2019-05-03 Thread Douglas Anderson
At boot time, my rk3288-veyron devices yell with 8 lines that look like this: [0.00] rockchip_mmc_get_phase: invalid clk rate This is because the clock framework at clk_register() time tries to get the phase but we don't have a parent yet. While the errors appear to be harmless they

Re: [PATCH 4.9 00/32] 4.9.173-stable review

2019-05-03 Thread shuah
On 5/2/19 9:20 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.9.173 release. There are 32 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made

Re: [PATCH 4.14 00/49] 4.14.116-stable review

2019-05-03 Thread shuah
On 5/2/19 9:20 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.14.116 release. There are 49 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made

Re: [PATCH 4.19 00/72] 4.19.39-stable review

2019-05-03 Thread shuah
On 5/2/19 9:20 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.19.39 release. There are 72 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made

Re: [PATCH 5.0 000/101] 5.0.12-stable review

2019-05-03 Thread shuah
On 5/2/19 9:20 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 5.0.12 release. There are 101 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made

[PATCH v2 1/7] s390: vfio-ap: wait for queue empty on queue reset

2019-05-03 Thread Tony Krowiak
Refactors the AP queue reset function to wait until the queue is empty after the PQAP(ZAPQ) instruction is executed to zero out the queue as required by the AP architecture. Signed-off-by: Tony Krowiak --- drivers/s390/crypto/vfio_ap_ops.c | 35 --- 1 file

[PATCH v2 3/7] s390: vfio-ap: sysfs interface to display guest CRYCB

2019-05-03 Thread Tony Krowiak
Introduces a sysfs interface on the matrix mdev device to display the contents of the shadow of the guest's CRYCB Signed-off-by: Tony Krowiak --- drivers/s390/crypto/vfio_ap_ops.c | 59 +++ 1 file changed, 59 insertions(+) diff --git

[PATCH v2 5/7] s390: vfio-ap: allow hot plug/unplug of AP resources using mdev device

2019-05-03 Thread Tony Krowiak
Let's allow AP resources to be assigned to or unassigned from an AP matrix mdev device while it is in use by a guest. If a guest is using the mdev device while assignment is taking place, the guest will be granted access to the resource as long as the guest will not be given access to an AP queue

[PATCH v2 2/7] s390: vfio-ap: maintain a shadow of the guest's CRYCB

2019-05-03 Thread Tony Krowiak
This patch introduces a shadow of the CRYCB being used by a guest. This will enable to more effectively manage dynamic changes to the AP resources installed on the host that may be assigned to an mdev device and being used by a guest. For example: * AP adapter cards can be dynamically added to

[PATCH v2 4/7] s390: vfio-ap: allow assignment of unavailable AP resources to mdev device

2019-05-03 Thread Tony Krowiak
The AP architecture does not preclude assignment of AP resources that are not yet in the AP configuration (i.e., not available or not online). Let's go ahead and implement this facet of the AP architecture for linux guests. The current implementation does not allow assignment of AP resources to

[PATCH v2 6/7] s390: vfio-ap: handle bind and unbind of AP queue device

2019-05-03 Thread Tony Krowiak
There is nothing preventing a root user from inadvertently unbinding an AP queue device that is in use by a guest from the vfio_ap device driver and binding it to a zcrypt driver. This can result in a queue being accessible from both the host and a guest. This patch introduces safeguards that

[PATCH v2 7/7] s390: vfio-ap: update documentation

2019-05-03 Thread Tony Krowiak
This patch updates the vfio-ap documentation to include the information below. Changes made to the mdev matrix assignment interfaces: * We now allow assignment of APQNs that are not bound to the vfio-ap device driver * We now use assignment interfaces to hot plug AP resources into a a

[PATCH v2 0/7] s390: vfio-ap: dynamic configuration support

2019-05-03 Thread Tony Krowiak
This patch series extends the crypto adapter pass-through support to provide safeguards against inadvertent sharing of AP resources between guests and/or the host, and to implement more of the s390 AP architecture related to provisioning and dynamic configuration of AP resources. Change log

Re: [PATCH] thermal: cpu_cooling: Actually trace CPU load in thermal_power_cpu_get_power

2019-05-03 Thread Daniel Lezcano
On 02/05/2019 20:32, Matthias Kaehlcke wrote: > The CPU load values passed to the thermal_power_cpu_get_power > tracepoint are zero for all CPUs, unless, unless the > thermal_power_cpu_limit tracepoint is enabled too: > > irq/41-rockchip-98[000] 290.972410:

Re: [PATCH v3 1/2] kernel/sys: add PR_GET_TASK_SIZE option to prctl(2)

2019-05-03 Thread Yury Norov
On Fri, May 03, 2019 at 02:10:20PM -0400, Joel Savitz wrote: > When PR_GET_TASK_SIZE is passed to prctl, the kernel will attempt to > copy the value of TASK_SIZE to the userspace address in arg2. > > It is important that we account for the case of the userspace task > running in 32-bit compat

Re: [RFC v1 1/3] dt-bindings: soc: add mtk svs dt-bindings

2019-05-03 Thread Stephen Boyd
Quoting Roger Lu (2019-05-01 23:19:31) > On Tue, 2019-04-30 at 13:31 -0700, Stephen Boyd wrote: > > Quoting Roger Lu (2019-04-30 04:20:10) > > > diff --git a/Documentation/devicetree/bindings/power/mtk-svs.txt > > > b/Documentation/devicetree/bindings/power/mtk-svs.txt > > > new file mode 100644

  1   2   3   4   5   6   >