RE: [PATCHv2 09/10] vfio/mdev: Avoid creating sysfs remove file on stale device removal

2019-05-08 Thread Parav Pandit
> -Original Message- > From: Cornelia Huck > Sent: Wednesday, May 8, 2019 12:17 PM > To: Parav Pandit > Cc: k...@vger.kernel.org; linux-kernel@vger.kernel.org; > kwankh...@nvidia.com; alex.william...@redhat.com; c...@nvidia.com > Subject: Re: [PATCHv2 09/10] vfio/mdev: Avoid creating

RE: [PATCHv2 08/10] vfio/mdev: Improve the create/remove sequence

2019-05-08 Thread Parav Pandit
> -Original Message- > From: Cornelia Huck > Sent: Wednesday, May 8, 2019 12:10 PM > To: Parav Pandit > Cc: k...@vger.kernel.org; linux-kernel@vger.kernel.org; > kwankh...@nvidia.com; alex.william...@redhat.com; c...@nvidia.com > Subject: Re: [PATCHv2 08/10] vfio/mdev: Improve the

Re: [PATCH v2] checkpatch: add command-line option for TAB size

2019-05-08 Thread Antonio Borneo
On Wed, May 8, 2019 at 11:14 PM Elliott, Robert (Servers) wrote: ... > Checking for 0 before using the value in division and modulo > operations would be prudent. True! >From command line, $tabsize is parsed as integer so I should sort out any non-positive value. Will add a check after

Re: [PATCH v2 2/2] ASoC: Intel: Skylake: Add Cometlake PCI IDs

2019-05-08 Thread Evan Green
On Wed, May 8, 2019 at 10:04 AM Pierre-Louis Bossart wrote: > > > > On 5/8/19 11:51 AM, Evan Green wrote: > > On Tue, May 7, 2019 at 3:31 PM Pierre-Louis Bossart > > wrote: > >> > >> On 5/7/19 4:53 PM, Evan Green wrote: > >>> Add PCI IDs for Intel CometLake platforms, which from a software > >>>

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

2019-05-08 Thread Sean Christopherson
On Tue, May 07, 2019 at 02:37:33PM +0800, Yi Wang wrote: > There are many functions invoke apic_debug(), which is defined > as 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. > >

Re: [PATCH v2] checkpatch: add command-line option for TAB size

2019-05-08 Thread Joe Perches
On Wed, 2019-05-08 at 21:14 +, Elliott, Robert (Servers) wrote: > > -Original Message- > > From: linux-kernel-ow...@vger.kernel.org > > [mailto:linux-kernel-ow...@vger.kernel.org] On Behalf Of > > Antonio Borneo > > Sent: Wednesday, May 8, 2019 12:44 PM > > Subject: [PATCH v2]

Re: [PATCH v2 1/2] ASoC: SOF: Add Comet Lake PCI IDs

2019-05-08 Thread Evan Green
On Wed, May 8, 2019 at 10:00 AM Pierre-Louis Bossart wrote: > > > > On 5/8/19 11:42 AM, Evan Green wrote: > > On Tue, May 7, 2019 at 3:14 PM Pierre-Louis Bossart > > wrote: > >> > >> Minor nit-picks below. The Kconfig would work but select CANNONLAKE even > >> if you don't want it. > >> > >>> >

linux-next: Fixes tags need some work in the v4l-dvb tree

2019-05-08 Thread Stephen Rothwell
Hi all, In commit 1199fa8c0ddd ("media: tegra-cec: fix cec_notifier_parse_hdmi_phandle return check") Fixes tag Fixes: 4d34c9267db7: ("media: tegra_cec: use new cec_notifier_parse_hdmi_phandle helper") has these problem(s): - the ':' after teh SHA1 is unexpected Just use

Re: [PATCHv3 00/12] perf tools: Display eBPF code in intel_pt trace

2019-05-08 Thread Song Liu
> On May 8, 2019, at 6:19 AM, Jiri Olsa wrote: > > hi, > this patchset adds dso support to read and display > bpf code in intel_pt trace output. I had to change > some of the kernel maps processing code, so hopefully > I did not break too many things ;-) > > It's now possible to see bpf code

Re: [GIT PULL] CIFS/SMB3 fixes

2019-05-08 Thread Steve French
On Wed, May 8, 2019 at 3:37 PM Linus Torvalds wrote: > > On Wed, May 8, 2019 at 11:32 AM Steve French wrote: > > > >[..] Our > > build verification tests passed (and continue to be extended to > > include more tests). See e.g. our 'buildbot' results at: > >

Re: [PATCH RFC] selinux: provide __le variables explicitly

2019-05-08 Thread Paul Moore
On Wed, May 8, 2019 at 2:27 AM Nicholas Mc Guire wrote: > While the endiannes is being handled properly sparse was unable to verify > this due to type inconsistency. So introduce an additional __le32 > respectively _le64 variable to be passed to le32/64_to_cpu() to allow > sparse to verify proper

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

2019-05-08 Thread Stephen Rothwell
Hi all, Commits da8e7c379659 ("riscv: Support BUG() in kernel module") 564bd22ea4e5 ("riscv: Add the support for c.ebreak check in is_valid_bugaddr()") 67363778b72c ("riscv: support trap-based WARN()") efd48cf0b393 ("riscv: fix sbi_remote_sfence_vma{,_asid}.") 89f7840cf346 ("riscv:

Re: [PATCH] fpga: dfl: afu: Pass the correct device to dma_mapping_error()

2019-05-08 Thread Scott Wood
On Mon, 2019-04-15 at 14:22 -0500, Alan Tull wrote: > On Thu, Apr 11, 2019 at 11:36 AM Moritz Fischer > wrote: > > Hi Scott, > > Thanks! > > > Hi Scott, > > > > good catch! > > > > On Thu, Apr 11, 2019 at 5:49 AM Wu Hao wrote: > > > On Wed, Apr 10, 2019 at 04:53:27PM -0500, Scott Wood

Re: [PATCH] fs,xfs: fix missed wakeup on l_flush_wait

2019-05-08 Thread Dave Chinner
On Wed, May 08, 2019 at 04:39:41PM +, Chris Mason wrote: > On 7 May 2019, at 17:22, Dave Chinner wrote: > > > On Tue, May 07, 2019 at 01:05:28PM -0400, Rik van Riel wrote: > >> The code in xlog_wait uses the spinlock to make adding the task to > >> the wait queue, and setting the task state

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

2019-05-08 Thread John Stultz
On Wed, May 8, 2019 at 12:01 AM Andrzej Pietrasiewicz wrote: > W dniu 08.05.2019 o 04:18, John Stultz pisze: > > Andrzej: Do you have any ideas or suggestions on this? I'm happy to > > test or run any debug patches, if it would help narrow the issue down. > > > > There is a patch: > >

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

2019-05-08 Thread Curtis Malainey
From: Mark Brown Date: Wed, May 8, 2019 at 12:36 AM To: Fletcher Woodruff Cc: , Ben Zhang, Jaroslav Kysela, Liam Girdwood, Oder Chiou, Takashi Iwai, Curtis Malainey, > On Tue, May 07, 2019 at 04:01:13PM -0600, Fletcher Woodruff wrote: > > > This patch does not add polarity flipping support

[PATCH v4 1/2] platform/chrome: wilco_ec: Remove 256 byte transfers

2019-05-08 Thread Nick Crews
The 0xF6 command, intended to send and receive 256 byte payloads to and from the EC, is not needed. The 0xF5 command for 32 byte payloads is sufficient. This patch removes support for the 0xF6 command and 256 byte payloads. Signed-off-by: Nick Crews --- v4 changes: - Fix debug format string to

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

2019-05-08 Thread Nick Crews
The Wilco Embedded Controller is able to send telemetry data which is useful for enterprise applications. A daemon running on the OS sends a command to the EC via a write() to a char device, and can read the response with a read(). The write() request is verified by the driver to ensure that it is

Re: [PATCH] fs,xfs: fix missed wakeup on l_flush_wait

2019-05-08 Thread Dave Chinner
On Wed, May 08, 2019 at 10:08:59AM -0400, Rik van Riel wrote: > On Wed, 2019-05-08 at 07:22 +1000, Dave Chinner wrote: > > On Tue, May 07, 2019 at 01:05:28PM -0400, Rik van Riel wrote: > > > The code in xlog_wait uses the spinlock to make adding the task to > > > the wait queue, and setting the

URG­ENT UPD­ATES.................

2019-05-08 Thread Lincoln Bah
Dear Friend, With due respect to your person and much sincerity of purpose.I wrote you two days ago expecting that you would reply as regards the urgency of this proposal that i passed to you.Anyway, I don't know if you did receive it or not that is the reason I am re-sending it.I have a business

Re: [PATCH v2 1/2] vfio/mdev: add version attribute for mdev device

2019-05-08 Thread Alex Williamson
On Wed, 8 May 2019 07:27:40 -0400 Yan Zhao wrote: > On Wed, May 08, 2019 at 05:18:26AM +0800, Alex Williamson wrote: > > On Sun, 5 May 2019 21:49:04 -0400 > > Yan Zhao wrote: > > > > > version attribute is used to check two mdev devices' compatibility. > > > > > > The key point of this

Re: linux-next: Tree for May 8 (drivers/platform/x86/intel_pmc_core_plat_drv.c)

2019-05-08 Thread Andy Shevchenko
On Wed, May 8, 2019 at 11:45 PM Randy Dunlap wrote: > > On 5/8/19 12:34 AM, Stephen Rothwell wrote: > > Hi all, > > > > Changes since 20190507: > > > > The ubifs tree gained a conflict against Linus' tree. > > > > on i386 or x86_64: Thank you for report. Can you provide what is the config option

Re: [PATCH, RFC 52/62] x86/mm: introduce common code for mem encryption

2019-05-08 Thread Kirill A. Shutemov
On Wed, May 08, 2019 at 08:52:25PM +, Jacob Pan wrote: > On Wed, 8 May 2019 09:58:30 -0700 > Christoph Hellwig wrote: > > > On Wed, May 08, 2019 at 05:44:12PM +0300, Kirill A. Shutemov wrote: > > > +EXPORT_SYMBOL_GPL(__mem_encrypt_dma_set); > > > + > > > +phys_addr_t

RE: [PATCH v2] checkpatch: add command-line option for TAB size

2019-05-08 Thread Elliott, Robert (Servers)
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org > [mailto:linux-kernel-ow...@vger.kernel.org] On Behalf Of > Antonio Borneo > Sent: Wednesday, May 8, 2019 12:44 PM > Subject: [PATCH v2] checkpatch: add command-line option for TAB size ... > Add a command-line option

Re: [PATCH v2] kvm: nVMX: Set nested_run_pending in vmx_set_nested_state after checks complete

2019-05-08 Thread Aaron Lewis
From: Sean Christopherson Date: Wed, May 8, 2019 at 11:13 AM To: Aaron Lewis Cc: Paolo Bonzini, , , Peter Shier > On Wed, May 08, 2019 at 10:53:12AM -0700, Aaron Lewis wrote: > > nested_run_pending is also checked in > > nested_vmx_check_vmentry_postreqs > >

Re: [PATCH v5 2/2] hwmon: scmi: Scale values to target desired HWMON units

2019-05-08 Thread Guenter Roeck
On Wed, May 08, 2019 at 11:46:35AM -0700, Florian Fainelli wrote: > If the SCMI firmware implementation is reporting values in a scale that > is different from the HWMON units, we need to scale up or down the value > according to how far appart they are. > > Signed-off-by: Florian Fainelli

Re: [PATCH 2/3] drm/bridge: add it6505 driver

2019-05-08 Thread Sam Ravnborg
Hi allen. Thanks for this fine patch. A few comments follows. Consider to use DRM_DEV_ERROR and friends. Then you get the devicename included in logging and this makes it much easier to find relevant entries. On Wed, May 08, 2019 at 03:48:41PM +0800, allen wrote: > From: Allen Chen > > This

[GIT PULL] MIPS changes for 5.2

2019-05-08 Thread Paul Burton
Hi Linus, Here are the main MIPS changes for the 5.2 cycle. I wound up merging in the mips_fixes_5.1_1 tag that you already merged earlier in order to gain a fix for a jump label bug that would otherwise have prevented me testing some work included here. I hope that's OK - it does mean the

[PATCH] mm: migrate: remove unused mode argument

2019-05-08 Thread Keith Busch
migrate_page_move_mapping() doesn't use the mode argument. Remove it and update callers accordingly. Signed-off-by: Keith Busch --- fs/aio.c| 2 +- fs/f2fs/data.c | 2 +- fs/iomap.c | 2 +- fs/ubifs/file.c | 2 +- include/linux/migrate.h | 3 +--

Re: GFS2: Pull Request

2019-05-08 Thread Jonathan Corbet
On Wed, 8 May 2019 22:17:12 +0200 Andreas Gruenbacher wrote: > Would it make sense to describe how to deal with merge conflicts in > Documentation/maintainer/pull-requests.rst to stop people from getting > this wrong over and over again? I think this certainly belongs in the maintainer manual,

Re: [RFC][PATCH 4/4] x86_32: Provide consistent pt_regs

2019-05-08 Thread Linus Torvalds
On Wed, May 8, 2019 at 1:12 AM Peter Zijlstra wrote: > > Hated-by: Linus Torvalds I can live with this cleaned-up version. I'm still not loving it, but at least it now tries very hard to simplify other code. You can remote the hated-by. Linus

[PATCH] drivers/staging/kpc2000: fix build error on xtensa

2019-05-08 Thread Max Filippov
kpc2000/kpc_dma/fileops.c includes asm/uaccess.h instead of linux/uaccess.h, which results in the following build error on xtensa architecture: In file included from drivers/staging/kpc2000/kpc_dma/fileops.c:11: arch/xtensa/include/asm/uaccess.h: In function ‘clear_user’:

Re: [PATCH] dt-bindings: pinctrl: Convert stm32 pinctrl bindings to jason-schema

2019-05-08 Thread Rob Herring
What's jason-schema? ;) On Fri, May 3, 2019 at 4:47 AM Alexandre Torgue wrote: > > Convert the STM32 pinctrl binding to DT schema format using json-schema. > > Signed-off-by: Alexandre Torgue > --- > > Hi, > > First pacth to convert DT bindings file (here pinctrl STM32) to jsaon-schema > in

[PATCH] x86: fix double definition for __VIRTUAL_MASK_SHIFT

2019-05-08 Thread Yury Norov
__VIRTUAL_MASK_SHIFT is defined twice to the same valie in arch/x86/include/asm/page_32_types.h. Fix it. Signed-off-by: Yury Norov --- arch/x86/include/asm/page_32_types.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/x86/include/asm/page_32_types.h

Re: [PATCH, RFC 52/62] x86/mm: introduce common code for mem encryption

2019-05-08 Thread Jacob Pan
On Wed, 8 May 2019 09:58:30 -0700 Christoph Hellwig wrote: > On Wed, May 08, 2019 at 05:44:12PM +0300, Kirill A. Shutemov wrote: > > +EXPORT_SYMBOL_GPL(__mem_encrypt_dma_set); > > + > > +phys_addr_t __mem_encrypt_dma_clear(phys_addr_t paddr) > > +{ > > + if (sme_active()) > > +

Re: [GIT PULL] CIFS/SMB3 fixes

2019-05-08 Thread Linus Torvalds
On Wed, May 8, 2019 at 1:37 PM Linus Torvalds wrote: > > So don't do the whole "rebase the day before" in the first place, but > *DEFINITELY* don't do it when you then pick a random and bad point to > rebase things on top of! I've pulled, but I really hope this never happens again. You could

Re: [PATCH 5/6] KVM: x86: Add interface for run-time activate/de-activate APIC virtualization

2019-05-08 Thread Jan H . Schönherr
On 22/03/2019 12.57, Suthikulpanit, Suravee wrote: > When activate / deactivate AVIC during runtime, all vcpus has to be > operating in the same mode. So, introduce new interface to request > all vCPUs to activate/deactivate APICV. If we need to switch APICV on and off on all vCPUs of a VM,

Re: [GIT PULL] CIFS/SMB3 fixes

2019-05-08 Thread pr-tracker-bot
The pull request you sent on Wed, 8 May 2019 13:32:35 -0500: > git://git.samba.org/sfrench/cifs-2.6.git tags/5.2-smb3 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/78d9affbb0e79d48fd82b34ef9cd673a7c86d6f2 Thank you! -- Deet-doot-dot, I am a bot.

Re: linux-next: Tree for May 8 (drivers/platform/x86/intel_pmc_core_plat_drv.c)

2019-05-08 Thread Randy Dunlap
On 5/8/19 12:34 AM, Stephen Rothwell wrote: > Hi all, > > Changes since 20190507: > > The ubifs tree gained a conflict against Linus' tree. > on i386 or x86_64: CC drivers/platform/x86/intel_pmc_core_plat_drv.o ../drivers/platform/x86/intel_pmc_core_plat_drv.c:40:1: warning: data

[PATCH 4/5] drm/msm/dpu: add icc voting in dpu_mdss_init

2019-05-08 Thread Rob Clark
From: Abhinav Kumar dpu_mdss_destroy() can get called not just from msm_drm_uninit() but also from msm_drm_bind() in case of any failures. dpu_mdss_destroy() removes the icc voting by calling icc_put. This could accidentally remove the voting done by pm_runtime_enable. To make the voting

Re: [GIT PULL] CIFS/SMB3 fixes

2019-05-08 Thread Linus Torvalds
On Wed, May 8, 2019 at 11:32 AM Steve French wrote: > >[..] Our > build verification tests passed (and continue to be extended to > include more tests). See e.g. our 'buildbot' results at: > http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/199 Still, is there

Re: [PATCH v7 07/13] dt-bindings: memory-controllers: add Exynos5422 DMC device description

2019-05-08 Thread Rob Herring
On Wed, May 8, 2019 at 4:45 AM Lukasz Luba wrote: > > > On 5/8/19 9:19 AM, Krzysztof Kozlowski wrote: > > On Tue, 7 May 2019 at 19:04, Rob Herring wrote: > >>> +- devfreq-events : phandles of the PPMU events used by the controller. > >>> +- samsung,syscon-chipid : phandle of the ChipID used by

[PATCH] cgroup: never call do_group_exit() with task->frozen bit set

2019-05-08 Thread Roman Gushchin
I've got two independent reports that cgroup_task_frozen() check in cgroup_exit() has been triggered by lkp libhugetlbfs-test and LTP ptrace01 tests. For example: [ 44.576072] WARNING: CPU: 1 PID: 3028 at kernel/cgroup/cgroup.c:5932 cgroup_exit+0x148/0x160 [ 44.577724] Modules linked in:

[PATCH v9 1/2] power_supply: wilco_ec: Add charging config driver

2019-05-08 Thread Nick Crews
Add a driver to control the charging algorithm used on Wilco devices. See Documentation/ABI/testing/sysfs-class-power-wilco for the userspace interface and other info. Signed-off-by: Nick Crews Reviewed-by: Enric Balletbo i Serra --- v9 changes: -Split up adding the driver and adding the

[PATCH v9 2/2] platform/chrome: wilco_ec: Add charging config device

2019-05-08 Thread Nick Crews
Add a device to control the charging algorithm used on Wilco devices, which will be picked up by the drivers/power/supply/wilco-charger.c driver. See Documentation/ABI/testing/sysfs-class-power-wilco for the userspace interface and other info. Signed-off-by: Nick Crews Reviewed-by: Enric

[for-next][PATCH 02/13] x86_64: Allow breakpoints to emulate call instructions

2019-05-08 Thread Steven Rostedt
From: Peter Zijlstra In order to allow breakpoints to emulate call instructions, they need to push the return address onto the stack. The x86_64 int3 handler adds a small gap to allow the stack to grow some. Use this gap to add the return address to be able to emulate a call instruction at the

[for-next][PATCH 00/13] tracing: Some more last minute changes and fixes

2019-05-08 Thread Steven Rostedt
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git for-next Head SHA1: b9416997603ef7e17d4de10b6408f19da2feb72c Anders Roxell (1): tracing: Allow RCU to run between postponed startup tests Colin Ian King (1): tracing: Fix white space issues in parse_pred()

[for-next][PATCH 05/13] tracing: probeevent: Do not accumulate on ret variable

2019-05-08 Thread Steven Rostedt
From: Masami Hiramatsu Do not accumulate strlen result on "ret" local variable, because it is accumulated on "total" local variable for array case. Link: http://lkml.kernel.org/r/155723735237.9149.3192150444705457531.stgit@devnote2 Fixes: 40b53b771806 ("tracing: probeevent: Add array type

[for-next][PATCH 07/13] ring-buffer: Fix mispelling of Calculate

2019-05-08 Thread Steven Rostedt
From: Yangtao Li It's not "Caculate". Link: http://lkml.kernel.org/r/20181101154640.23162-1-tiny.win...@gmail.com Signed-off-by: Yangtao Li Signed-off-by: Steven Rostedt (VMware) --- kernel/trace/ring_buffer_benchmark.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[for-next][PATCH 11/13] tracing: Fix partial reading of trace events id file

2019-05-08 Thread Steven Rostedt
From: Elazar Leibovich When reading only part of the id file, the ppos isn't tracked correctly. This is taken care by simple_read_from_buffer. Reading a single byte, and then the next byte would result EOF. While this seems like not a big deal, this breaks abstractions that reads information

[for-next][PATCH 09/13] tracing: Fix white space issues in parse_pred() function

2019-05-08 Thread Steven Rostedt
From: Colin Ian King Trivial fix to clean up an indentation issue, a whole chunk of code has an extra space in the indentation. Link: http://lkml.kernel.org/r/20181109132312.20994-1-colin.k...@canonical.com Signed-off-by: Colin Ian King Signed-off-by: Steven Rostedt (VMware) ---

[for-next][PATCH 12/13] tracing: Replace kzalloc with kcalloc

2019-05-08 Thread Steven Rostedt
From: "Gustavo A. R. Silva" Replace kzalloc() function with its 2-factor argument form, kcalloc(). This patch replaces cases of: kzalloc(a * b, gfp) with: kcalloc(a, b, gfp) This code was detected with the help of Coccinelle. Link:

[for-next][PATCH 08/13] tracing: Eliminate const char[] auto variables

2019-05-08 Thread Steven Rostedt
From: Rasmus Villemoes Automatic const char[] variables cause unnecessary code generation. For example, the this_mod variable leads to 3f04: 48 b8 5f 5f 74 68 69 73 5f 6d movabs $0x6d5f736968745f5f,%rax # __this_m 3f0e: 4c 8d 44 24 02 lea0x2(%rsp),%r8

[for-next][PATCH 03/13] ftrace/x86_64: Emulate call function while updating in breakpoint handler

2019-05-08 Thread Steven Rostedt
From: Peter Zijlstra Nicolai Stange discovered[1] that if live kernel patching is enabled, and the function tracer started tracing the same function that was patched, the conversion of the fentry call site during the translation of going from calling the live kernel patch trampoline to the

[for-next][PATCH 04/13] tracing: uprobes: Re-enable $comm support for uprobe events

2019-05-08 Thread Steven Rostedt
From: Masami Hiramatsu Since commit 533059281ee5 ("tracing: probeevent: Introduce new argument fetching code") dropped the $comm support from uprobe events, this re-enables it. For $comm support, uses strlcpy() instead of strncpy_from_user() to copy current task's comm. Because it is in the

[for-next][PATCH 01/13] x86_64: Add gap to int3 to allow for call emulation

2019-05-08 Thread Steven Rostedt
From: Josh Poimboeuf To allow an int3 handler to emulate a call instruction, it must be able to push a return address onto the stack. Add a gap to the stack to allow the int3 handler to push the return address and change the return from int3 to jump straight to the emulated called function

[for-next][PATCH 10/13] tracing: Allow RCU to run between postponed startup tests

2019-05-08 Thread Steven Rostedt
From: Anders Roxell When building a allmodconfig kernel for arm64 and boot that in qemu, CONFIG_FTRACE_STARTUP_TEST gets enabled and that takes time so the watchdog expires and prints out a message like this: 'watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [swapper/0:1]' Depending on what the

[for-next][PATCH 13/13] tracing: Fix documentation about disabling options using trace_options

2019-05-08 Thread Steven Rostedt
From: "Srivatsa S. Bhat (VMware)" To disable a tracing option using the trace_options file, the option name needs to be prefixed with 'no', and not suffixed, as the README states. Fix it. Link: http://lkml.kernel.org/r/154872690031.47356.5739053380942044586.stgit@srivatsa-ubuntu

[for-next][PATCH 06/13] tracing: probeevent: Fix to make the type of $comm string

2019-05-08 Thread Steven Rostedt
From: Masami Hiramatsu Fix to make the type of $comm "string". If we set the other type to $comm argument, it shows meaningless value or wrong data. Currently probe events allow us to set string array type (e.g. ":string[2]"), or other digit types like x8 on $comm. But since clearly $comm is

Re: linux-next: Tree for May 8 (drivers/media/pci/meye/)

2019-05-08 Thread Randy Dunlap
On 5/8/19 12:34 AM, Stephen Rothwell wrote: > Hi all, > > Changes since 20190507: > > The ubifs tree gained a conflict against Linus' tree. > Hi Mauro, Commit 6159e12e11770fb25e748af90f6c5206c1df09ee: media: meye: allow building it with COMPILE_TEST on non-x86 causes a build failure when

Re: GFS2: Pull Request

2019-05-08 Thread Andreas Gruenbacher
Linus, On Wed, 8 May 2019 at 20:06, Linus Torvalds wrote: > On Wed, May 8, 2019 at 10:55 AM Linus Torvalds > wrote: > > > > See what I'm saying? You would ask me to pull the un-merged state, but > > then say "I noticed a few merge conflicts when I did my test merge, > > and this is what I did"

Re: GFS2: Pull Request

2019-05-08 Thread Linus Torvalds
On Wed, May 8, 2019 at 1:17 PM Andreas Gruenbacher wrote: > > Would it make sense to describe how to deal with merge conflicts in > Documentation/maintainer/pull-requests.rst to stop people from getting > this wrong over and over again? Probably. I do think it got written up at some point (lwn

Re: [PATCH v8 3/4] s390: ap: implement PAPQ AQIC interception in kernel

2019-05-08 Thread Tony Krowiak
On 5/2/19 1:34 PM, Pierre Morel wrote: We register a AP PQAP instruction hook during the open of the mediated device. And unregister it on release. During the probe of the AP device, we allocate a vfio_ap_queue structure to keep track of the information we need for the PQAP/AQIC instruction

Re: [PATCH] hugetlbfs: always use address space in inode for resv_map pointer

2019-05-08 Thread Mike Kravetz
On 5/8/19 12:10 AM, yuyufen wrote: > On 2019/4/20 4:44, Mike Kravetz wrote: >> Continuing discussion about commit 58b6e5e8f1ad ("hugetlbfs: fix memory >> leak for resv_map") brought up the issue that inode->i_mapping may not >> point to the address space embedded within the inode at inode eviction

Re: [PATCH] arm: socfpga: execute cold reboot by default

2019-05-08 Thread Simon Goldschmidt
Am 08.05.2019 um 03:37 schrieb Dinh Nguyen: On 5/3/19 4:15 AM, Simon Goldschmidt wrote: This changes system reboot for socfpga to issue a cold reboot by default instead of a warm reboot. Warm reboot can still be used by setting reboot_mode to REBOOT_WARM (e.g. via kernel command line

Re: [PATCH] ide: officially deprecated the legacy IDE driver

2019-05-08 Thread David Miller
From: Jens Axboe Date: Wed, 8 May 2019 12:08:49 -0600 > On 5/8/19 12:01 PM, Christoph Hellwig wrote: >> After a recent chat with Dave we agreed to try to finally kill off the >> legacy IDE code base. Set a two year grace period in which we try >> to move everyone over. There are a few pieces

Re: [PATCH][V3] net: dsa: sja1105: fix check on while loop exit

2019-05-08 Thread David Miller
From: Colin King Date: Wed, 8 May 2019 14:30:41 +0100 > From: Colin Ian King > > The while-loop exit condition check is not correct; the > loop should continue if the returns from the function calls are > negative or the CRC status returns are invalid. Currently it > is ignoring the returns

Re: [PATCH v7 0/6] tracing/probes: uaccess: Add support user-space access

2019-05-08 Thread Steven Rostedt
Ingo, Can you take this. You can add: Acked-by: Steven Rostedt (VMware) to the entire series. Thanks! -- Steve On Wed, 8 May 2019 22:31:41 +0900 Masami Hiramatsu wrote: > Hi, > > Here is the v7 series of probe-event to support user-space access. > Previous version is here. > >

[PATCH] ext4: replace ktype default_attrs with default_groups

2019-05-08 Thread Kimberly Brown
The kobj_type default_attrs field is being replaced by the default_groups field. Replace the default_attrs field in ext4_sb_ktype and ext4_feat_ktype with default_groups. Use the ATTRIBUTE_GROUPS macro to create ext4_groups and ext4_feat_groups. Signed-off-by: Kimberly Brown --- This patch

Re: [GIT PULL] Kbuild updates for v5.2

2019-05-08 Thread pr-tracker-bot
The pull request you sent on Wed, 8 May 2019 23:47:39 +0900: > git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git > tags/kbuild-v5.2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/2646719a48c21ba0cae82a3f57382a9573fd8400 Thank you! --

Re: [GIT PULL] nolibc header update for 5.2-rc1 (RISCV support)

2019-05-08 Thread pr-tracker-bot
The pull request you sent on Wed, 8 May 2019 16:00:27 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/wtarreau/nolibc.git/ > tags/nolibc-5.2-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/019d7316ea84b7d8a8bcb9f2036aa4917a32986a Thank you! --

GFS2: Pull Request (2nd attempt)

2019-05-08 Thread Andreas Grünbacher
Hi Linus, please consider pulling the following changes for the GFS2 file system, now without resolving the merge conflict Stephen Rothwell has pointed out between commit 2b070cfe582b ("block: remove the i argument to bio_for_each_segment_all") which is already merged, interacting with commit

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

2019-05-08 Thread Greg KH
On Wed, May 08, 2019 at 11:42:15AM -0500, Pierre-Louis Bossart wrote: > > > On 5/8/19 4:16 AM, Greg KH wrote: > > On Wed, May 08, 2019 at 01:16:06PM +0530, Vinod Koul wrote: > > > On 07-05-19, 17:49, Pierre-Louis Bossart wrote: > > > > > > > > > > The model here is that Master device is PCI or

Re: [GIT PULL] csky fixes for v5.1-rc7

2019-05-08 Thread pr-tracker-bot
The pull request you sent on Thu, 25 Apr 2019 16:36:43 +0800: > https://github.com/c-sky/csky-linux.git tags/csky-for-linus-5.1-rc7 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/ce45327ca044415a5832dacfb76cdcfb747e3240 Thank you! -- Deet-doot-dot, I am a bot.

RE: [PATCH] ACPICA: acpica: Fix possible NULL pointer dereference in acpi_ut_remove_reference

2019-05-08 Thread Schmauss, Erik
> -Original Message- > From: YueHaibing [mailto:yuehaib...@huawei.com] > Sent: Wednesday, May 8, 2019 8:07 AM > To: Moore, Robert ; Schmauss, Erik > ; Wysocki, Rafael J ; > l...@kernel.org > Cc: linux-kernel@vger.kernel.org; de...@acpica.org; linux- > a...@vger.kernel.org; YueHaibing >

Re: [PATCH 2/6] x86: hv: hv_init.c: Replace alloc_page() with kmem_cache_alloc()

2019-05-08 Thread Vitaly Kuznetsov
Stephen Hemminger writes: > I would worry that kmem_cache_alloc does not currently have same alignment > constraints. > See discussion here: > https://lwn.net/SubscriberLink/787740/a886fe4ea6681322/ I think it even was me who reported this bug with XFS originally :-) Yes, plain kmalloc()

Re: [PATCH v8 06/16] sched/core: uclamp: Extend sched_setattr() to support utilization clamping

2019-05-08 Thread Peter Zijlstra
On Tue, May 07, 2019 at 12:13:47PM +0100, Patrick Bellasi wrote: > On 17-Apr 15:26, Suren Baghdasaryan wrote: > > On Tue, Apr 2, 2019 at 3:42 AM Patrick Bellasi > > wrote: > > > @@ -1056,6 +1100,13 @@ static void __init init_uclamp(void) > > > #else /* CONFIG_UCLAMP_TASK */ > > > static

Re: [PATCH 16/22] perf/x86/intel/uncore: Support multi-die/package

2019-05-08 Thread Len Brown
On Tue, May 7, 2019 at 8:22 AM Peter Zijlstra wrote: > > On Mon, May 06, 2019 at 05:26:11PM -0400, Len Brown wrote: > > @@ -1223,7 +1225,7 @@ static int uncore_event_cpu_online(unsigned int cpu) > > struct intel_uncore_box *box; > > int i, ret, pkg, target; > > > > - pkg =

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

2019-05-08 Thread Christoph Hellwig
On Wed, May 08, 2019 at 07:38:50PM +, mario.limoncie...@dell.com wrote: > The existing routines have an implied assumption that firmware will come > swinging > with a hammer to control the rails the SSD sits on. > With S2I everything needs to come from the driver side and it really is a >

Re: [PATCH 16/22] perf/x86/intel/uncore: Support multi-die/package

2019-05-08 Thread Len Brown
On Tue, May 7, 2019 at 8:21 AM Peter Zijlstra wrote: > > On Mon, May 06, 2019 at 05:26:11PM -0400, Len Brown wrote: > > @@ -1411,7 +1413,7 @@ static int __init intel_uncore_init(void) > > if (boot_cpu_has(X86_FEATURE_HYPERVISOR)) > > return -ENODEV; > > > > - max_packages

Re: [PATCH 10/22] powercap/intel_rapl: Support multi-die/package

2019-05-08 Thread Len Brown
On Tue, May 7, 2019 at 8:15 AM Peter Zijlstra wrote: > > On Mon, May 06, 2019 at 05:26:05PM -0400, Len Brown wrote: > > From: Zhang Rui > > > > RAPL "package" domains are actually implemented in hardware per-die. > > Thus, the new multi-die/package systems have mulitple domains > > within each

Re: [PATCH v8 06/16] sched/core: uclamp: Extend sched_setattr() to support utilization clamping

2019-05-08 Thread Peter Zijlstra
On Tue, Apr 02, 2019 at 11:41:42AM +0100, Patrick Bellasi wrote: > @@ -1056,6 +1100,13 @@ static void __init init_uclamp(void) > #else /* CONFIG_UCLAMP_TASK */ > static inline void uclamp_rq_inc(struct rq *rq, struct task_struct *p) { } > static inline void uclamp_rq_dec(struct rq *rq, struct

Re: [PATCH v4 2/2] hwmon: scmi: Scale values to target desired HWMON units

2019-05-08 Thread Guenter Roeck
On Wed, May 08, 2019 at 11:34:50AM -0700, Florian Fainelli wrote: > On 5/8/19 11:32 AM, Guenter Roeck wrote: > > Hi Florian, > > > > On Wed, May 08, 2019 at 10:00:35AM -0700, Florian Fainelli wrote: > >> If the SCMI firmware implementation is reporting values in a scale that > >> is different

[PATCH v2 1/3] iio: Add driver for Infineon DPS310

2019-05-08 Thread Eddie James
From: Joel Stanley The DPS310 is a temperature and pressure sensor. It can be accessed over i2c and SPI. Signed-off-by: Eddie James --- MAINTAINERS | 6 + drivers/iio/pressure/Kconfig | 10 + drivers/iio/pressure/Makefile | 1 + drivers/iio/pressure/dps310.c | 429

[PATCH] cifs: fix checkpatch warnings and normalize strings

2019-05-08 Thread Christoph Probst
Fix checkpatch warnings/errors in smb2ops.c except "LONG_LINE". Add missing linebreaks, indentings, __func__. Remove void-returns, unneeded braces. Add SPDX License Header. Add missing "\n" and capitalize first letter in some cifs_dbg() strings. Signed-off-by: Christoph Probst ---

[PATCH v2 2/3] iio: dps310: Temperature measurement errata

2019-05-08 Thread Eddie James
From: Christopher Bostic Add a manufacturer's suggested workaround to deal with early revisions of chip that don't indicate correct temperature. Readings can be in the ~60C range when they should be in the ~20's. Signed-off-by: Christopher Bostic Signed-off-by: Joel Stanley Signed-off-by:

[PATCH v2 3/3] iio: dps310: Add pressure sensing capability

2019-05-08 Thread Eddie James
The DPS310 supports measurement of pressure, so support that in the driver. Use background measurement like the temperature sensing and default to lowest precision and lowest measurement rate. Signed-off-by: Eddie James --- drivers/iio/pressure/dps310.c | 331

Re: [PATCH 1/2] dt-bindings: arm: fsl: Add device tree binding for ls1046a-frwy board

2019-05-08 Thread Rob Herring
On Wed, May 8, 2019 at 8:53 AM Pramod Kumar wrote: > > Add "fsl,ls1046a-frwy" bindings for ls1046afrwy board based on ls1046a SoC > > Signed-off-by: Vabhav Sharma > Signed-off-by: Pramod Kumar > --- > Documentation/devicetree/bindings/arm/fsl.yaml | 1 + > 1 file changed, 1 insertion(+)

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

2019-05-08 Thread Mario.Limonciello
> -Original Message- > From: Kai-Heng Feng > Sent: Wednesday, May 8, 2019 2:30 PM > To: Keith Busch > Cc: Keith Busch; ax...@fb.com; h...@lst.de; s...@grimberg.me; linux- > n...@lists.infradead.org; linux-kernel@vger.kernel.org; Limonciello, Mario > Subject: Re: [PATCH] nvme-pci: Use

[PATCH v2 0/3] iio: Add driver for Infineon DPS310

2019-05-08 Thread Eddie James
The DPS310 is a temperature and pressure sensor. It can be accessed over i2c and SPI. The driver supports polled measurement of temperature and pressure over i2c only. Changes since v1: - Switch to wait for temperature/pressure sensor ready - Various cleanup Christopher Bostic (1): iio:

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

2019-05-08 Thread Kai-Heng Feng
at 03:16, Keith Busch wrote: On Thu, May 09, 2019 at 02:59:55AM +0800, Kai-Heng Feng wrote: +static int nvme_do_resume_from_idle(struct pci_dev *pdev) +{ + struct nvme_dev *ndev = pci_get_drvdata(pdev); + int result; + + pdev->dev_flags &= ~PCI_DEV_FLAGS_NO_D3; +

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

2019-05-08 Thread Keith Busch
On Thu, May 09, 2019 at 02:59:55AM +0800, Kai-Heng Feng wrote: > +static int nvme_do_resume_from_idle(struct pci_dev *pdev) > +{ > + struct nvme_dev *ndev = pci_get_drvdata(pdev); > + int result; > + > + pdev->dev_flags &= ~PCI_DEV_FLAGS_NO_D3; > + ndev->ctrl.suspend_to_idle =

[PATCH] iommu/vt-d: Fix bind svm with multiple devices

2019-05-08 Thread Jacob Pan
If multiple devices try to bind to the same mm/PASID, we need to set up first level PASID entries for all the devices. The current code does not consider this case which results in failed DMA for devices after the first bind. Signed-off-by: Jacob Pan Reported-by: Mike Campin ---

Re: [PATCH] RFC: Example schema files written in Python

2019-05-08 Thread Rob Herring
On Mon, Apr 29, 2019 at 5:41 PM Simon Glass wrote: > > Most of these are hand-written, but xilinx-xadc.py is auto-generated by > binding_to_py.py as an example of the use of that tool. > > This is part of a proof-of-concept device-tree validator. See the patch > on the dtc mailing list for

Re: [PATCH v8 05/16] sched/core: Allow sched_setattr() to use the current policy

2019-05-08 Thread Peter Zijlstra
On Tue, Apr 02, 2019 at 11:41:41AM +0100, Patrick Bellasi wrote: > diff --git a/include/uapi/linux/sched.h b/include/uapi/linux/sched.h > index 22627f80063e..075c610adf45 100644 > --- a/include/uapi/linux/sched.h > +++ b/include/uapi/linux/sched.h > @@ -40,6 +40,8 @@ > /* SCHED_ISO: reserved but

Re: [PATCH] ia64: require -Wl,--hash-style=sysv

2019-05-08 Thread Nick Desaulniers
bumping for review, as the merge window is now open. On Tue, Apr 30, 2019 at 1:24 PM Nick Desaulniers wrote: > > On Tue, Apr 23, 2019 at 1:48 PM Nick Desaulniers > wrote: > > > > Towards the goal of removing cc-ldoption, it seems that --hash-style= > > was added to binutils 2.17.50.0.2 in 2006.

Re: [PATCH v2] sh: vsyscall: drop unnecessary cc-ldoption

2019-05-08 Thread Nick Desaulniers
bumping for review, as the merge window is now open. On Tue, Apr 30, 2019 at 1:26 PM Nick Desaulniers wrote: > > On Wed, Apr 24, 2019 at 11:02 AM Nick Desaulniers > wrote: > > > > Towards the goal of removing cc-ldoption, it seems that --hash-style= > > was added to binutils 2.17.50.0.2 in

Re: [PATCH v2 00/17] kunit: introduce KUnit, the Linux kernel unit testing framework

2019-05-08 Thread Brendan Higgins
> On Tue, May 07, 2019 at 10:01:19AM +0200, Greg KH wrote: > > > My understanding is that the intent of KUnit is to avoid booting a kernel > > > on > > > real hardware or in a virtual machine. That seems to be a matter of > > > semantics > > > to me because isn't invoking a UML Linux just

Re: [PATCH] percpu: remove spurious lock dependency between percpu and sched

2019-05-08 Thread Dennis Zhou
On Wed, May 08, 2019 at 12:04:08PM -0700, Eric Dumazet wrote: > On Wed, May 8, 2019 at 11:59 AM Dennis Zhou wrote: > > > > On Tue, May 07, 2019 at 06:43:20PM -0700, John Sperbeck wrote: > > > In free_percpu() we sometimes call pcpu_schedule_balance_work() to > > > queue a work item (which does a

Re: [PATCH v8 04/16] sched/core: uclamp: Add system default clamps

2019-05-08 Thread Peter Zijlstra
On Tue, Apr 02, 2019 at 11:41:40AM +0100, Patrick Bellasi wrote: > +static inline struct uclamp_se > +uclamp_eff_get(struct task_struct *p, unsigned int clamp_id) > +{ > + struct uclamp_se uc_req = p->uclamp_req[clamp_id]; > + struct uclamp_se uc_max = uclamp_default[clamp_id]; > + > +

<    1   2   3   4   5   6   7   8   9   >