[PATCH 3/3] KVM: x86: minor code refactor and comments fixup around dirty logging

2020-06-02 Thread Anthony Yznaga
Consolidate the code and correct the comments to show that the actions taken to update existing mappings to disable or enable dirty logging are not necessary when creating, moving, or deleting a memslot. Signed-off-by: Anthony Yznaga --- arch/x86/kvm/x86.c | 104 +

[PATCH 1/1] Documentation: Document an existing qcom,rpm-msm8996 compatible

2020-06-02 Thread Konrad Dybcio
This compatible has been included in the driver for some time, but it has been overlooked in documentation. Signed-off-by: Konrad Dybcio --- Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/soc/qcom/

Re: [PATCH] pinctrl: freescale: imx: Fix an error handling path in 'imx_pinctrl_probe()'

2020-06-02 Thread Christophe JAILLET
Le 02/06/2020 à 12:13, Dan Carpenter a écrit : On Sat, May 30, 2020 at 10:49:55PM +0200, Christophe JAILLET wrote: 'pinctrl_unregister()' should not be called to undo 'devm_pinctrl_register_and_init()', it is already handled by the framework. This simplifies the error handling paths of the prob

Re: kobject_init_and_add is easy to misuse

2020-06-02 Thread Greg Kroah-Hartman
On Tue, Jun 02, 2020 at 12:54:16PM -0700, James Bottomley wrote: > On Tue, 2020-06-02 at 19:36 +0200, Greg Kroah-Hartman wrote: > > On Tue, Jun 02, 2020 at 08:25:14AM -0700, James Bottomley wrote: > > > On Tue, 2020-06-02 at 05:10 -0700, Matthew Wilcox wrote: > > > > On Tue, Jun 02, 2020 at 07:50:3

Re: [PATCH 1/1] soc: qcom: smd-rpm: Add msm8994 compatible

2020-06-02 Thread Konrad Dybcio
Interestingly enough, this compatible has been used in lg-bullhead DTS for a long long time, even though it has never existed upstream.

Re: [PATCH net-next v2] af-packet: new flag to indicate all csums are good

2020-06-02 Thread Victor Julien
On 02-06-2020 21:38, Willem de Bruijn wrote: > On Tue, Jun 2, 2020 at 3:22 PM Victor Julien wrote: >> >> On 02-06-2020 21:03, Willem de Bruijn wrote: >>> On Tue, Jun 2, 2020 at 2:31 PM Victor Julien wrote: On 02-06-2020 19:37, Willem de Bruijn wrote: > On Tue, Jun 2, 2020 at 1:03 PM Vict

Re: [PATCH v2] iommu/vt-d: Don't apply gfx quirks to untrusted devices

2020-06-02 Thread Raj, Ashok
Hi Rajat On Tue, Jun 02, 2020 at 11:41:33AM -0700, Rajat Jain wrote: > Currently, an external malicious PCI device can masquerade the VID:PID > of faulty gfx devices, and thus apply iommu quirks to effectively > disable the IOMMU restrictions for itself. > > Thus we need to ensure that the device

Re: [PATCH v25 01/16] dt: bindings: Add multicolor class dt bindings documention

2020-06-02 Thread Pavel Machek
On Wed 2020-05-27 08:35:06, Rob Herring wrote: > On Wed, May 27, 2020 at 7:39 AM Pavel Machek wrote: > > > > Hi! > > > > Thanks for reviews! > > > > > > +additionalProperties: false > > > > +... > > > > diff --git a/drivers/leds/led-core.c b/drivers/leds/led-core.c > > > > > > This isn't a binding

Re: [PATCH] wireless: ath10k: Return early in ath10k_qmi_event_server_exit() to avoid hard crash on reboot

2020-06-02 Thread Brian Norris
On Tue, Jun 2, 2020 at 12:40 PM John Stultz wrote: > On Tue, Jun 2, 2020 at 12:16 PM Brian Norris wrote: > > On Mon, Jun 1, 2020 at 10:25 PM John Stultz wrote: > > > > > > Ever since 5.7-rc1, if we call > > > ath10k_qmi_remove_msa_permission(), the db845c hard crashes on > > > reboot, resulting

[PATCH 1/1] soc: qcom: smd-rpm: Add msm8994 compatible

2020-06-02 Thread Konrad Dybcio
Add the compatible for the RPM in msm8994. Signed-off-by: Konrad Dybcio --- Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.txt | 1 + drivers/soc/qcom/smd-rpm.c | 1 + 2 files changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/soc/q

Re: [PATCH v3 032/105] drm/vc4: crtc: Enable and disable the PV in atomic_enable / disable

2020-06-02 Thread Stefan Wahren
Hi, Am 02.06.20 um 21:31 schrieb Eric Anholt: > On Tue, Jun 2, 2020 at 8:02 AM Dave Stevenson > wrote: >> Hi Maxime and Eric >> >> On Tue, 2 Jun 2020 at 15:12, Maxime Ripard wrote: >>> Hi Eric >>> >>> On Wed, May 27, 2020 at 09:54:44AM -0700, Eric Anholt wrote: On Wed, May 27, 2020 at 8:50

Re: [GIT PULL] ARM: Keystone DTS updates for 5.7

2020-06-02 Thread santosh . shilimkar
On 6/2/20 1:00 PM, Arnd Bergmann wrote: On Tue, Jun 2, 2020 at 5:14 PM wrote: Hi Arnd, Olof, On 3/7/20 9:56 AM, Santosh Shilimkar wrote: The following changes since commit bb6d3fb354c5ee8d6bde2d576eb7220ea09862b9: Linux 5.6-rc1 (2020-02-09 16:08:48 -0800) are available in the git repos

Re: [GIT PULL] ARM: Keystone DTS updates for 5.7

2020-06-02 Thread Arnd Bergmann
On Tue, Jun 2, 2020 at 5:14 PM wrote: > > Hi Arnd, Olof, > > On 3/7/20 9:56 AM, Santosh Shilimkar wrote: > > The following changes since commit bb6d3fb354c5ee8d6bde2d576eb7220ea09862b9: > > > >Linux 5.6-rc1 (2020-02-09 16:08:48 -0800) > > > > are available in the git repository at: > > > >

Re: [PATCH 13/14] lockdep: Prepare for NMI IRQ state tracking

2020-06-02 Thread Peter Zijlstra
On Sat, May 30, 2020 at 12:25:05AM +0200, Peter Zijlstra wrote: > On Fri, May 29, 2020 at 06:14:01PM -0400, Steven Rostedt wrote: > > Why remove the check for debug_locks? Isn't that there to disable > > everything at once to prevent more warnings to be printed? > > Yeah, maybe. I was thinking we

Re: [PATCH -tip 1/2] Kconfig: Bump required compiler version of KASAN and UBSAN

2020-06-02 Thread Nick Desaulniers
On Tue, Jun 2, 2020 at 12:38 PM Peter Zijlstra wrote: > > On Tue, Jun 02, 2020 at 09:25:47PM +0200, Marco Elver wrote: > > On Tue, 2 Jun 2020 at 21:19, Peter Zijlstra wrote: > > > > Currently x86 only, but I know other arch maintainers are planning to > > > have a hard look at their code based on

Re: linux-next: Tree for Jun 2 (vfio)

2020-06-02 Thread Alex Williamson
On Tue, 2 Jun 2020 09:16:15 -0600 Alex Williamson wrote: > On Tue, 2 Jun 2020 07:36:45 -0700 > Randy Dunlap wrote: > > > On 6/2/20 3:37 AM, Stephen Rothwell wrote: > > > Hi all, > > > > > > News: The merge window has opened, so please do *not* add v5.9 material > > > to your linux-next inclu

Re: spi: spi-ti-qspi: call pm_runtime_put on pm_runtime_get failure

2020-06-02 Thread Markus Elfring
> Your updates were not improvements. I find your view interesting. Do you refer to a specific wording suggestion here? https://lore.kernel.org/linux-spi/26028f50-3fb8-eb08-3c9f-08ada018b...@web.de/ https://lkml.org/lkml/2020/6/2/210 You pointed another programming alternative out. https://lore.

Re: kobject_init_and_add is easy to misuse

2020-06-02 Thread James Bottomley
On Tue, 2020-06-02 at 19:36 +0200, Greg Kroah-Hartman wrote: > On Tue, Jun 02, 2020 at 08:25:14AM -0700, James Bottomley wrote: > > On Tue, 2020-06-02 at 05:10 -0700, Matthew Wilcox wrote: > > > On Tue, Jun 02, 2020 at 07:50:33PM +0800, Wang Hai wrote: > > > > syzkaller reports for memory leak when

[RFC][PATCH v4 29/32] objtool: mcount: Remove wrapper for ELF relocation type

2020-06-02 Thread Matt Helsley
Remove the last use of the Elf_Rela wrapper by passing the size of the relocations we're dealing with as a parameter. Signed-off-by: Matt Helsley --- tools/objtool/recordmcount.c | 4 ++-- tools/objtool/recordmcount.h | 7 ++- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/to

[RFC][PATCH v4 04/32] objtool: recordmcount: Search for __mcount_loc before walking the sections

2020-06-02 Thread Matt Helsley
recordmcount iterates over the sections in the order they're listed in the ELF file and checks whether the section name indicates it's of interest. Objtool's elf code works differently -- it scans the elf file and builds up data structures representing the headers, sections, etc. and then supplies

[RFC][PATCH v4 02/32] objtool: Make recordmcount into mcount subcmd

2020-06-02 Thread Matt Helsley
Rather than a standalone executable merge recordmcount as a sub command of objtool. This is a small step towards cleaning up recordmcount and eventually sharing ELF code with objtool. For the initial step all that's required is a bit of Makefile changes and invoking the former main() function fro

[RFC][PATCH v4 28/32] objtool: mcount: Move sift_rel_mcount out of wrapper file

2020-06-02 Thread Matt Helsley
Now that this function no longer uses any of the old recordmcount wrapper code we can move it out of the wrapper too. Signed-off-by: Matt Helsley --- tools/objtool/recordmcount.c | 47 + tools/objtool/recordmcount.h | 50 2 fil

Re: [PATCH v2] s390: vdso: Use $(LD) instead of $(CC) to link vDSO

2020-06-02 Thread Nick Desaulniers
On Tue, Jun 2, 2020 at 12:25 PM Nathan Chancellor wrote: > > Currently, the VDSO is being linked through $(CC). This does not match > how the rest of the kernel links objects, which is through the $(LD) > variable. > > When clang is built in a default configuration, it first attempts to use > the

[RFC][PATCH v4 32/32] objtool: mcount: Rename

2020-06-02 Thread Matt Helsley
Now that we've converted recordmcount to a subcommand of objtool rename the .c file in order to follow the convention of the other objtool subcmds. Signed-off-by: Matt Helsley --- tools/objtool/Build| 2 +- tools/objtool/{recordmcount.c => mcount.c} | 0 2 files changed,

[RFC][PATCH v4 31/32] objtool: mcount: Remove endian wrappers

2020-06-02 Thread Matt Helsley
Now that they're no longer used we can remove these endian wrappers. Signed-off-by: Matt Helsley --- tools/objtool/recordmcount.c | 63 1 file changed, 63 deletions(-) diff --git a/tools/objtool/recordmcount.c b/tools/objtool/recordmcount.c index 6980c0a8bdc

[RFC][PATCH v4 27/32] objtool: mcount: Generic location and relocation table types

2020-06-02 Thread Matt Helsley
Rather than building the exact ELF section data we need and avoiding libelf's conversion step, use more GElf types and then libelf's elfxx_xlatetof() functions to convert the mcount locations (GElf_Addr) and associated relocations. This converts sift_rel_mcount() so that it doesn't use the recordm

[RFC][PATCH v4 06/32] objtool: mcount: Remove unused fname parameter

2020-06-02 Thread Matt Helsley
The name of the object file being processed is unused in the wrapper's leaf functions so we no longer need to pass it as a parameter. Signed-off-by: Matt Helsley --- tools/objtool/recordmcount.c | 4 ++-- tools/objtool/recordmcount.h | 19 --- 2 files changed, 10 insertions(+),

[RFC][PATCH v4 08/32] objtool: mcount: Walk objtool Elf structs in find_secsym_ndx

2020-06-02 Thread Matt Helsley
Rather than using indices into raw ELF32/64 tables mapped for the wrapper, use the objtool functions to find the a suitable symbol in the given text section. Also take advantage of this commit to rename the function to something that reads more easily. Signed-off-by: Matt Helsley --- tools/objt

[RFC][PATCH v4 13/32] objtool: mcount: Move is_fake_mcount()

2020-06-02 Thread Matt Helsley
Promote the now-bit-independent is_fake_mcount() out of the old recordmcount ELF wrapper. Signed-off-by: Matt Helsley --- tools/objtool/recordmcount.c | 48 +++--- tools/objtool/recordmcount.h | 50 2 files changed, 45 insertions(+

[RFC][PATCH v4 05/32] objtool: recordmcount: Convert do_func() relhdrs

2020-06-02 Thread Matt Helsley
Use objtool's ELF data structures to visit the relocation sections in the top-level ELF file walking function, do_func(). This means we can pass pointers to the relocation header structures into nested functions and avoid the indexing patterns for them. These conversions don't use libelf/objtool t

[RFC][PATCH v4 18/32] objtool: mcount: Move nop_mcount()

2020-06-02 Thread Matt Helsley
The nop_mcount() function overwrites mcount calls that should be ignored with no-ops. This operation varies by architecture and wordsize so we retain the function pointers used to implement the fundamental operation while nop_mcount() itself is responsible for walking the relocations, determining i

[RFC][PATCH v4 12/32] objtool: mcount: Replace MIPS offset types

2020-06-02 Thread Matt Helsley
Replace MIPS is_fake_mcount code using Elf_Addr with unsigned long for the offsets. This is consistent with the way that objtool more generally treats offsets and removes the last use of the Elf_Addr wrapper. Signed-off-by: Matt Helsley --- tools/objtool/recordmcount.h | 9 +++-- 1 file chan

[RFC][PATCH v4 17/32] objtool: mcount: Use objtool ELF to write

2020-06-02 Thread Matt Helsley
Rather than modify the pseudo-mapping of the ELF file directly, which is the recordmcount way of operating, use the objtool section list and generic ELF functions to modify the ELF file. This eliminates a bunch of code -- the ulseek() and uwrite() functions -- because it's used to patch the ELF da

[RFC][PATCH v4 21/32] objtool: mcount: Only keep ELF file size

2020-06-02 Thread Matt Helsley
Since we're no longer writing to the ELF file mapping and we're not appending to it we don't need to keep more information from the stat structure. At the same time we can give the smaller global variable a better name. Signed-off-by: Matt Helsley --- tools/objtool/recordmcount.c | 9 ++---

[PATCH v2] media: vsp1: dl: Fix NULL pointer dereference on unbind

2020-06-02 Thread Eugeniu Rosca
In commit f3b98e3c4d2e16 ("media: vsp1: Provide support for extended command pools"), the vsp pointer used for referencing the VSP1 device structure from a command pool during vsp1_dl_ext_cmd_pool_destroy() was not populated. Correctly assign the pointer to prevent the following null-pointer-deref

[RFC][PATCH v4 10/32] objtool: mcount: Walk relocation lists

2020-06-02 Thread Matt Helsley
Rather than walk the section tables using the old recordmcount mapping of the ELF file, walk the section list provided by objtool's ELF code. This removes the last use of of the Elf_r_sym wrapper so we remove that too. Signed-off-by: Matt Helsley --- tools/objtool/recordmcount.c | 10 +--- tool

[RFC][PATCH v4 23/32] objtool: mcount: Remove unused file mapping

2020-06-02 Thread Matt Helsley
The ELF data is now accessed completely through objtool's ELF code. We can remove the mapping of the original ELF file and propagate elf_open_read(), elf_close(), and malloc() up in place of mmap_file(), mmap_cleanup(), and umalloc() respectively. This also eliminates the last use of the umalloc()

[RFC][PATCH v4 19/32] objtool: mcount: Move has_rel_mcount() and tot_relsize()

2020-06-02 Thread Matt Helsley
The has_rel_mcount() and tot_relsize() helpers are no longer dependent on the ELF wrapper so we can move them. Signed-off-by: Matt Helsley --- tools/objtool/recordmcount.c | 25 + tools/objtool/recordmcount.h | 33 - 2 files changed, 25 ins

[RFC][PATCH v4 09/32] objtool: mcount: Use symbol structs to find mcount relocations

2020-06-02 Thread Matt Helsley
Rather than open coding symbol name lookups in get_sym_and_*() we rename the structure and use objtool's lookup function to get the symbol name for a relocation. We also change the name of the function to better reflect its purpose. Signed-off-by: Matt Helsley --- tools/objtool/elf.c |

[RFC][PATCH v4 24/32] objtool: mcount: Reduce usage of _size wrapper

2020-06-02 Thread Matt Helsley
Use a new loc_size parameter to append_func() rather than use the wrapper's _size macro directly. Signed-off-by: Matt Helsley --- tools/objtool/recordmcount.h | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tools/objtool/recordmcount.h b/tools/objtool/recordmcount.h

[RFC][PATCH v4 25/32] objtool: mcount: Move mcount_adjust out of wrapper

2020-06-02 Thread Matt Helsley
The mcount_adjust variable defines how many bytes to move back from the relocation address in order to be able to get to the start of the function call instruction(s) needed to turn it into a no-op. The values are very small and signed so we don't need to worry about changing the size of the variab

[RFC][PATCH v4 15/32] objtool: mcount: Move find_section_sym_index()

2020-06-02 Thread Matt Helsley
This function is no longer dependent upon the old recordmcount ELF wrapper code -- it doesn't use the wrapper's Elf_* types nor does it call wrapped functions. Move it into the C file. Signed-off-by: Matt Helsley --- tools/objtool/recordmcount.c | 41 tools/objto

[RFC][PATCH v4 20/32] objtool: mcount: Move relocation entry size detection

2020-06-02 Thread Matt Helsley
Move where we detect the size of relocation entries we wish to use into the first loop over the sections. This will allow us to allocate the mcount location and relocation sections before the next loop that collects them. Signed-off-by: Matt Helsley --- tools/objtool/recordmcount.c | 8 +---

[RFC][PATCH v4 14/32] objtool: mcount: Stop using ehdr in find_section_sym_index

2020-06-02 Thread Matt Helsley
We can use the objtool GElf_Ehdr structure to access ehdr here. This makes the function completely independent of the old recordmcount ELF wrapper. The next step will be to promote it to the C file. Signed-off-by: Matt Helsley --- tools/objtool/recordmcount.h | 13 ++--- 1 file changed,

[RFC][PATCH v4 11/32] objtool: mcount: Move get_mcountsym

2020-06-02 Thread Matt Helsley
Now that it's been stripped of using the old recordmcount ELF wrapper get_mcountsym() is ready to be promoted out of the double-included wrapper header. Signed-off-by: Matt Helsley --- tools/objtool/recordmcount.c | 16 tools/objtool/recordmcount.h | 19 --- 2 fi

[RFC][PATCH v4 16/32] objtool: mcount: Restrict using ehdr in append_func()

2020-06-02 Thread Matt Helsley
Use the ehdr parameter to append_func() to write the ELF file's header but use the objtool ELF header data as the basis for making changes. The makes it clearer when we can switch from using the old recordmcount wrapper to write the ELF file because ehdr will only be passed on to uwrite() calls and

[RFC][PATCH v4 26/32] objtool: mcount: Pre-allocate new ELF sections

2020-06-02 Thread Matt Helsley
Rather than allocating the ELF sections after collecting the mcount locations and building the relocation entries, create the empty sections beforehand. This has the benefit of removing the memcpy() and just using the resulting libgelf buffers directly. Signed-off-by: Matt Helsley --- tools/objt

[RFC][PATCH v4 22/32] objtool: mcount: Use ELF header from objtool

2020-06-02 Thread Matt Helsley
The ELF header is the very first structure in an ELF file. Rather than cast it from the file mapping we use the ELF header extracted via objtool's ELF code. This is the last usage of the open-coded mapping of the ELF file which we will remove in a later step. Signed-off-by: Matt Helsley --- too

[RFC][PATCH v4 30/32] objtool: mcount: Remove wrapper double-include trick

2020-06-02 Thread Matt Helsley
We no longer need to double-include the recordmcount.h wrapper All of the types and functions that rely on them have been converted to using objtool's ELF code. This moves the remaining function to recordmcount.c and changes the function name to something slightly more descriptive while dropping th

[RFC][PATCH v4 00/32] objtool: Make recordmcount a subcommand

2020-06-02 Thread Matt Helsley
recordmcount has its own ELF wrapper code and could utilize objtool's ELF code to more-portably handle architecture variations. This series makes recordmcount a subcommand of objtool. It very gradually convert recordmcount to become a subcommand of objtool and then reuses parts of objtool's ELF co

[RFC][PATCH v4 03/32] objtool: recordmcount: Start using objtool's elf wrapper

2020-06-02 Thread Matt Helsley
Use struct elf to grab the file descriptor. We will later move these calls into other functions as we expand the lifetime of the struct elf so that it can be passed to objtool elf.[ch] functions. This creates the libelf/objtool data structures and gives us two separate ways to walk the ELF file --

[RFC][PATCH v4 01/32] objtool: Prepare to merge recordmcount

2020-06-02 Thread Matt Helsley
Move recordmcount into the objtool directory. We keep this step separate so changes which turn recordmcount into a subcommand of objtool don't get obscured. Signed-off-by: Matt Helsley --- Documentation/trace/ftrace-design.rst | 4 ++-- Documentation/trace/ftrace.rst | 2 +- M

[RFC][PATCH v4 07/32] objtool: mcount: Use libelf for section header names

2020-06-02 Thread Matt Helsley
Rather than passing in the string table contents as a parameter, pass in the section index of the string table and rely on libelf string table accessor functions to look up section names. Note that modifying the string table with libelf will come later so append_func() is unchanged. Signed-off-by

[PATCH] sched/deadline: Fix a typo in a comment

2020-06-02 Thread Christophe JAILLET
s/deadine/deadline/ Signed-off-by: Christophe JAILLET --- kernel/sched/deadline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c index 504d2f51b0d6..cc2066e25dcf 100644 --- a/kernel/sched/deadline.c +++ b/kernel/sched/deadlin

Re: [PATCH] arch/x86: reset MXCSR to default in kernel_fpu_begin()

2020-06-02 Thread Andy Lutomirski
> On Jun 2, 2020, at 10:27 AM, Shuah Khan wrote: > > On 6/2/20 11:03 AM, Andy Lutomirski wrote: >>> On Tue, Jun 2, 2020 at 3:56 AM Borislav Petkov wrote: >>> >>> Hi, >>> >>> On Tue, Jun 02, 2020 at 01:29:51PM +0300, Petteri Aimonen wrote: The kernel module is not actually x86-specific

Re: [PATCH 04/10] dt-bindings: spi: Add bindings for spi-dw-mchp

2020-06-02 Thread Serge Semin
On Wed, May 13, 2020 at 04:00:25PM +0200, Lars Povlsen wrote: > This add DT bindings for the Microsemi/Microchip SPI controller used > in various SoC's. It describes the "mscc,ocelot-spi" and > "mscc,jaguar2-spi" bindings. As I see it, there is no need in this patch at all. Current DT binding file

Re: [PATCH net-next v2] af-packet: new flag to indicate all csums are good

2020-06-02 Thread Victor Julien
On 02-06-2020 21:29, Jakub Kicinski wrote: > On Tue, 2 Jun 2020 21:22:11 +0200 Victor Julien wrote: >> - receiver uses nfp (netronome) driver: TP_STATUS_CSUM_VALID set for >> every packet, including the bad TCP ones >> - receiver uses ixgbe driver: TP_STATUS_CSUM_VALID not set for the bad >> packet

Re: kobject_init_and_add is easy to misuse

2020-06-02 Thread Jason Gunthorpe
On Tue, Jun 02, 2020 at 05:10:35AM -0700, Matthew Wilcox wrote: > On Tue, Jun 02, 2020 at 07:50:33PM +0800, Wang Hai wrote: > > syzkaller reports for memory leak when kobject_init_and_add() > > returns an error in the function sysfs_slab_add() [1] > > > > When this happened, the function kobject_p

[tip:sched/core] BUILD SUCCESS 25de110d148666752dc0e0da7a0b69de31cd7098

2020-06-02 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched/core branch HEAD: 25de110d148666752dc0e0da7a0b69de31cd7098 irq_work: Define irq_work_single() on !CONFIG_IRQ_WORK too i386-tinyconfig vmlinux size: ==

Re: [PATCH] kunit: Fix TabError, remove defconfig code and handle when there is no kunitconfig

2020-06-02 Thread Shuah Khan
On 5/29/20 1:28 PM, Vitor Massaru Iha wrote: The identation before this code (`if not os.path.exists(cli_args.build_dir):``) was with spaces instead of tabs after fixed up merge conflits, this commit revert spaces to tabs: Applied to linux-kselftest kunit branch for Linux 5.8-rc1 thanks, --

[PATCH] serial: kgdboc: Fix bad line wrapping in comment

2020-06-02 Thread Douglas Anderson
In commit a4912303ac6f ("serial: kgdboc: Allow earlycon initialization to be deferred") it looks like Daniel really took Linus's new suggestion about not needing to wrap at 80 columns to heart and he jammed two full lines of comments into one line. Either that or he just somehow accidentally delet

Re: [PATCH] wireless: ath10k: Return early in ath10k_qmi_event_server_exit() to avoid hard crash on reboot

2020-06-02 Thread John Stultz
On Tue, Jun 2, 2020 at 12:16 PM Brian Norris wrote: > > + Sibi > > On Mon, Jun 1, 2020 at 10:25 PM John Stultz wrote: > > > > Ever since 5.7-rc1, if we call > > ath10k_qmi_remove_msa_permission(), the db845c hard crashes on > > reboot, resulting in the device getting stuck in the usb crash > > de

Re: [PATCH v3 0/6] Enable as many KUnit tests as possible

2020-06-02 Thread Shuah Khan
On 5/28/20 1:13 PM, Shuah Khan wrote: On 5/28/20 1:07 PM, Brendan Higgins wrote: On Wed, May 27, 2020 at 4:49 AM Anders Roxell wrote: Hi all, Friendly ping: who can take this? Sorry, I just reviewed the last patch. Shuah, do you mind picking this up for 5.8? Yup. Will do. I was watchin

Re: [PATCH 02/10] spi: dw: Add support for RX sample delay register

2020-06-02 Thread Serge Semin
On Wed, May 13, 2020 at 04:00:23PM +0200, Lars Povlsen wrote: > This add support for the RX_SAMPLE_DLY register. If enabled in the > Designware IP, it allows tuning of the rx data signal by means of an > internal rx sample fifo. > > The register is located at offset 0xf0, and if the option is not

Re: [PATCH net-next v2] af-packet: new flag to indicate all csums are good

2020-06-02 Thread Willem de Bruijn
On Tue, Jun 2, 2020 at 3:22 PM Victor Julien wrote: > > On 02-06-2020 21:03, Willem de Bruijn wrote: > > On Tue, Jun 2, 2020 at 2:31 PM Victor Julien wrote: > >> On 02-06-2020 19:37, Willem de Bruijn wrote: > >>> On Tue, Jun 2, 2020 at 1:03 PM Victor Julien wrote: > > On 02-06-2020 16:

Re: [PATCH -tip 1/2] Kconfig: Bump required compiler version of KASAN and UBSAN

2020-06-02 Thread Peter Zijlstra
On Tue, Jun 02, 2020 at 09:25:47PM +0200, Marco Elver wrote: > On Tue, 2 Jun 2020 at 21:19, Peter Zijlstra wrote: > > Currently x86 only, but I know other arch maintainers are planning to > > have a hard look at their code based on our findings. > > I've already spotted a bunch of 'noinstr' outs

[PATCH] i2c: pxa: don't error out if there's no pinctrl

2020-06-02 Thread Lubomir Rintel
The bus recovery patch regresses on OLPC XO-1.75 that has no pinctrl in its DT. Fixes: 7c9ec2c52518 ("i2c: pxa: implement generic i2c bus recovery")' Signed-off-by: Lubomir Rintel --- drivers/i2c/busses/i2c-pxa.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/i2c/busses/i2c-pxa.c

Re: [PATCH v2 1/4] remoteproc: Introduce rproc_of_parse_firmware() helper

2020-06-02 Thread Mathieu Poirier
On Wed, May 20, 2020 at 07:10:03PM -0500, Suman Anna wrote: > Add a new helper function rproc_of_parse_firmware() to the remoteproc > core that can be used by various remoteproc drivers to look up the > the "firmware-name" property from a rproc device node. This property > is already being used by

[PATCH v2] x86/resctrl: fix a NULL vs IS_ERR() static checker warning

2020-06-02 Thread Dan Carpenter
The callers don't expect *d_cdp to be set to an error pointer, they only check for NULL. This leads to a static checker warning: arch/x86/kernel/cpu/resctrl/rdtgroup.c:2648 __init_one_rdt_domain() warn: 'd_cdp' could be an error pointer This would not trigger a bug in this specific case

Re: spi: spi-ti-qspi: call pm_runtime_put on pm_runtime_get failure

2020-06-02 Thread Navid Emamdoost
On Tue, Jun 2, 2020 at 1:36 PM Mark Brown wrote: > > On Tue, Jun 02, 2020 at 05:05:18PM +0200, Markus Elfring wrote: > > >> I find this commit message improvable also according to Linux software > > >> development documentation. > > > > Causing people to send out new versions of things for tweaks

[PATCH 1/2] dt-bindings: ASoc: Fix tdm-slot documentation spelling error

2020-06-02 Thread Dan Murphy
Fix the spelling of 'specified'. Also fix grammarical issue with the use of 'a' over 'an' Signed-off-by: Dan Murphy --- Documentation/devicetree/bindings/sound/tdm-slot.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/tdm-slot.t

[PATCH 2/2] dt-bindings: tas2562: Convert the tas2562 binding to yaml

2020-06-02 Thread Dan Murphy
Convert the TAS2562 text file to yaml format. Signed-off-by: Dan Murphy --- .../devicetree/bindings/sound/tas2562.txt | 34 -- .../devicetree/bindings/sound/tas2562.yaml| 65 +++ 2 files changed, 65 insertions(+), 34 deletions(-) delete mode 100644 Documentation/

Re: [RFC PATCH v4 07/10] vfio/pci: introduce a new irq type VFIO_IRQ_TYPE_REMAP_BAR_REGION

2020-06-02 Thread Alex Williamson
On Tue, 2 Jun 2020 04:28:58 -0400 Yan Zhao wrote: > On Mon, Jun 01, 2020 at 10:43:07AM -0600, Alex Williamson wrote: > > On Mon, 1 Jun 2020 02:57:26 -0400 > > Yan Zhao wrote: > > > > > On Fri, May 29, 2020 at 03:45:47PM -0600, Alex Williamson wrote: > > > > On Sun, 17 May 2020 22:52:45 -040

Re: [PATCH] Documentation: kunit: Add some troubleshooting tips to the FAQ

2020-06-02 Thread Brendan Higgins
On Mon, Jun 1, 2020 at 10:42 PM David Gow wrote: > > Add an FAQ entry to the KUnit documentation with some tips for > troubleshooting KUnit and kunit_tool. > > These suggestions largely came from an email thread: > https://lore.kernel.org/linux-kselftest/41db8bbd-3ba0-8bde-7352-083bf4b94...@intel.

[PATCH v2] x86_64: fix jiffies ODR violation

2020-06-02 Thread Bob Haarman
'jiffies' and 'jiffies_64' are meant to alias (two different symbols that share the same address). Most architectures make the symbols alias to the same address via linker script assignment in their arch//kernel/vmlinux.lds.S: jiffies = jiffies_64; which is effectively a definition of jiffies.

Re: [PATCH v3 032/105] drm/vc4: crtc: Enable and disable the PV in atomic_enable / disable

2020-06-02 Thread Eric Anholt
On Tue, Jun 2, 2020 at 8:02 AM Dave Stevenson wrote: > > Hi Maxime and Eric > > On Tue, 2 Jun 2020 at 15:12, Maxime Ripard wrote: > > > > Hi Eric > > > > On Wed, May 27, 2020 at 09:54:44AM -0700, Eric Anholt wrote: > > > On Wed, May 27, 2020 at 8:50 AM Maxime Ripard wrote: > > > > > > > > The VI

Re: [PATCH RESEND v3 0/6] arm64: add the time namespace support

2020-06-02 Thread Dmitry Safonov
Hi Andrei, On 6/2/20 7:02 PM, Andrei Vagin wrote: > Allocate the time namespace page among VVAR pages and add the logic > to handle faults on VVAR properly. > > If a task belongs to a time namespace then the VVAR page which contains > the system wide VDSO data is replaced with a namespace specifi

Re: [PATCH net-next v2] af-packet: new flag to indicate all csums are good

2020-06-02 Thread Jakub Kicinski
On Tue, 2 Jun 2020 21:22:11 +0200 Victor Julien wrote: > - receiver uses nfp (netronome) driver: TP_STATUS_CSUM_VALID set for > every packet, including the bad TCP ones > - receiver uses ixgbe driver: TP_STATUS_CSUM_VALID not set for the bad > packets. > > Again purely based on 'git grep' it seems

Re: [PATCH 3/6] arm64/vdso: Add time namespace page

2020-06-02 Thread Dmitry Safonov
Hi Andrei, On 6/2/20 7:02 PM, Andrei Vagin wrote: [..] > --- a/arch/arm64/include/asm/vdso.h > +++ b/arch/arm64/include/asm/vdso.h > @@ -12,6 +12,12 @@ > */ > #define VDSO_LBASE 0x0 > > +#ifdef CONFIG_TIME_NS > +#define __VVAR_PAGES2 > +#else > +#define __VVAR_PAGES1 > +#endif > + >

Re: [PATCH -tip 1/2] Kconfig: Bump required compiler version of KASAN and UBSAN

2020-06-02 Thread Marco Elver
On Tue, 2 Jun 2020 at 21:19, Peter Zijlstra wrote: > > On Tue, Jun 02, 2020 at 11:57:15AM -0700, Nick Desaulniers wrote: > > On Tue, Jun 2, 2020 at 11:44 AM 'Marco Elver' via Clang Built Linux > > wrote: > > > > > > Adds config variable CC_HAS_WORKING_NOSANITIZE, which will be true if we > > > ha

[PATCH v2] s390: vdso: Use $(LD) instead of $(CC) to link vDSO

2020-06-02 Thread Nathan Chancellor
Currently, the VDSO is being linked through $(CC). This does not match how the rest of the kernel links objects, which is through the $(LD) variable. When clang is built in a default configuration, it first attempts to use the target triple's default linker, which is just ld. However, the user can

Re: [PATCH net-next v2] af-packet: new flag to indicate all csums are good

2020-06-02 Thread Victor Julien
On 02-06-2020 21:03, Willem de Bruijn wrote: > On Tue, Jun 2, 2020 at 2:31 PM Victor Julien wrote: >> On 02-06-2020 19:37, Willem de Bruijn wrote: >>> On Tue, Jun 2, 2020 at 1:03 PM Victor Julien wrote: On 02-06-2020 16:29, Willem de Bruijn wrote: > On Tue, Jun 2, 2020 at 4:05 AM Vi

Re: [PATCH 4.19 00/95] 4.19.126-rc1 review

2020-06-02 Thread Greg Kroah-Hartman
On Mon, Jun 01, 2020 at 09:17:25PM +, Chris Paterson wrote: > Hi Greg, > > > From: stable-ow...@vger.kernel.org On > > Behalf Of Greg Kroah-Hartman > > Sent: 01 June 2020 18:53 > > > > This is the start of the stable review cycle for the 4.19.126 release. > > There are 95 patches in this ser

Re: [PATCH -tip 1/2] Kconfig: Bump required compiler version of KASAN and UBSAN

2020-06-02 Thread Peter Zijlstra
On Tue, Jun 02, 2020 at 11:57:15AM -0700, Nick Desaulniers wrote: > On Tue, Jun 2, 2020 at 11:44 AM 'Marco Elver' via Clang Built Linux > wrote: > > > > Adds config variable CC_HAS_WORKING_NOSANITIZE, which will be true if we > > have a compiler that does not fail builds due to no_sanitize functio

[rcu:rcu/test] BUILD SUCCESS 0c1b20be12a0b937b76c34fb481b2e881c01fa10

2020-06-02 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/test branch HEAD: 0c1b20be12a0b937b76c34fb481b2e881c01fa10 torture: Remove qemu dependency on EFI firmware elapsed time: 911m configs tested: 115 configs skipped: 7 The following configs have been built s

Re: [PATCH v3 3/4] iio: chemical: scd30: add serial interface driver

2020-06-02 Thread Tomasz Duszynski
On Tue, Jun 02, 2020 at 07:57:23PM +0200, Tomasz Duszynski wrote: > On Tue, Jun 02, 2020 at 08:04:16PM +0300, Andy Shevchenko wrote: > > On Tue, Jun 2, 2020 at 7:49 PM Tomasz Duszynski > > wrote: > > > > > > Add serial interface driver for the SCD30 sensor. > > > > ... > > > > > +static u16 scd30_

Re: [PATCH] wireless: ath10k: Return early in ath10k_qmi_event_server_exit() to avoid hard crash on reboot

2020-06-02 Thread Brian Norris
+ Sibi On Mon, Jun 1, 2020 at 10:25 PM John Stultz wrote: > > Ever since 5.7-rc1, if we call > ath10k_qmi_remove_msa_permission(), the db845c hard crashes on > reboot, resulting in the device getting stuck in the usb crash > debug mode and not coming back up wihthout a hard power off. > > This ha

Re: [GIT PULL] x86/mm changes for v5.8

2020-06-02 Thread Linus Torvalds
On Tue, Jun 2, 2020 at 11:29 AM Thomas Gleixner wrote: > > It's trivial enough to fix. We have a static key already which is > telling us whether SMT scheduling is active. .. but should we do it here, in switch_mm() in the first place? Should it perhaps just return an error if user land tries to

Re: [PATCH 5.6 000/174] 5.6.16-rc2 review

2020-06-02 Thread Guenter Roeck
On Tue, Jun 02, 2020 at 12:24:19PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.6.16 release. > There are 174 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

Re: [PATCH 5.4 000/139] 5.4.44-rc2 review

2020-06-02 Thread Guenter Roeck
On Tue, Jun 02, 2020 at 12:24:05PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.4.44 release. > There are 139 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

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

2020-06-02 Thread Andrew Morton
On Tue, 2 Jun 2020 19:57:41 +1000 Stephen Rothwell wrote: > Subject: [PATCH] turns out that probe_user_write is used in modular code > > Signed-off-by: Stephen Rothwell > --- > mm/maccess.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/mm/maccess.c b/mm/maccess.c > index ddfda8e6f

Re: [PATCH 4.19 00/92] 4.19.126-rc2 review

2020-06-02 Thread Guenter Roeck
On Tue, Jun 02, 2020 at 12:23:49PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.19.126 release. > There are 92 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 kno

Re: [PATCH 4.4 00/47] 4.4.226-rc2 review

2020-06-02 Thread Guenter Roeck
On Tue, Jun 02, 2020 at 12:16:07PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.226 release. > There are 47 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

Re: [PATCH -tip 1/2] Kconfig: Bump required compiler version of KASAN and UBSAN

2020-06-02 Thread Andrey Konovalov
On Tue, Jun 2, 2020 at 9:07 PM Marco Elver wrote: > > On Tue, 2 Jun 2020 at 20:53, Andrey Konovalov wrote: > > > > On Tue, Jun 2, 2020 at 8:44 PM Marco Elver wrote: > > > > > > Adds config variable CC_HAS_WORKING_NOSANITIZE, which will be true if we > > > have a compiler that does not fail build

Re: [PATCH 4.14 00/76] 4.14.183-rc2 review

2020-06-02 Thread Guenter Roeck
On Tue, Jun 02, 2020 at 12:23:33PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.183 release. > There are 76 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 kno

Re: [PATCH 01/10] spi: dw: Add support for polled operation via no IRQ specified in DT

2020-06-02 Thread Serge Semin
On Wed, May 13, 2020 at 04:00:22PM +0200, Lars Povlsen wrote: > With this change a SPI controller can be added without having a IRQ > associated, and causing all transfers to be polled. For SPI controllers > without DMA, this can significantly improve performance by less > interrupt handling overhe

Re: linux-next: manual merge of the block tree with the rdma tree

2020-06-02 Thread Jason Gunthorpe
On Tue, Jun 02, 2020 at 01:02:55PM -0600, Jens Axboe wrote: > On 6/2/20 1:01 PM, Jason Gunthorpe wrote: > > On Tue, Jun 02, 2020 at 11:37:26AM +0300, Max Gurtovoy wrote: > >> > >> On 6/2/2020 5:56 AM, Stephen Rothwell wrote: > >>> Hi all, > >> > >> Hi, > >> > >> This looks good to me. > >> > >> Can

Re: [PATCH 04/13] perf tests: Add another metric parsing test

2020-06-02 Thread Jiri Olsa
On Tue, Jun 02, 2020 at 10:58:32AM -0700, Ian Rogers wrote: SNIP > > +static int check_parse_fake(const char *id) > > +{ > > + struct parse_events_error error; > > nit: this reads funny as it isn't clear, without looking at > check_parse_id, that error is zero initialized. right, how abou

Re: [PATCH -tip 1/2] Kconfig: Bump required compiler version of KASAN and UBSAN

2020-06-02 Thread Marco Elver
On Tue, 2 Jun 2020 at 20:53, Andrey Konovalov wrote: > > On Tue, Jun 2, 2020 at 8:44 PM Marco Elver wrote: > > > > Adds config variable CC_HAS_WORKING_NOSANITIZE, which will be true if we > > have a compiler that does not fail builds due to no_sanitize functions. > > This does not yet mean they w

Re: [PATCH] s390: vdso: Use $(LD) instead of $(CC) to link vDSO

2020-06-02 Thread Nick Desaulniers
On Wed, May 27, 2020 at 11:06 PM Nathan Chancellor wrote: > > Currently, the VDSO is being linked through $(CC). This does not match > how the rest of the kernel links objects, which is through the $(LD) > variable. > > When clang is built in a default configuration, it first attempts to use > the

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