[GIT PULL] Char/Misc driver fixes for 5.2-rc4

From: Greg KH
Date: Sat Jun 08 2019 - 06:02:57 EST


The following changes since commit a188339ca5a396acc588e5851ed7e19f66b0ebd9:

Linux 5.2-rc1 (2019-05-19 15:47:09 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git char-misc-5.2-rc4

for you to fetch changes up to e7bf2ce837475445bfd44ac1193ced0684a70d96:

Merge tag 'misc-habanalabs-fixes-2019-06-06' of git://people.freedesktop.org/~gabbayo/linux into char-misc-linus (2019-06-06 15:13:22 +0200)

----------------------------------------------------------------
Char/Misc driver fixes for 5.2-rc4

Here are some small char and misc driver fixes for 5.2-rc4 to resolve a
number of reported issues.

The most "notable" one here is the kernel headers in proc^Wsysfs fixes.
Those changes move the header file info into sysfs and fixes the build
issues that you reported.

Other than that, a bunch of small habanalabs driver fixes, some fpga
driver fixes, and a few other tiny driver fixes.

All of these have been in linux-next for a while with no reported
issues.

Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

----------------------------------------------------------------
Chengguang Xu (1):
fpga: dfl: expand minor range when registering chrdev region

Dan Carpenter (2):
genwqe: Prevent an integer overflow in the ioctl
test_firmware: Use correct snprintf() limit

Greg Kroah-Hartman (3):
Merge tag 'lkdtm-next' of https://git.kernel.org/.../kees/linux into char-misc-linus
Merge tag 'misc-habanalabs-fixes-2019-05-24' of git://people.freedesktop.org/~gabbayo/linux into char-misc-linus
Merge tag 'misc-habanalabs-fixes-2019-06-06' of git://people.freedesktop.org/~gabbayo/linux into char-misc-linus

Jann Horn (1):
habanalabs: fix debugfs code

Joel Fernandes (Google) (2):
kheaders: Move from proc to sysfs
kheaders: Do not regenerate archive if config is not changed

Kees Cook (2):
lkdtm/usercopy: Moves the KERNEL_DS test to non-canonical
lkdtm/bugs: Adjust recursion test to avoid elision

Mariusz Bialonczyk (1):
w1: ds2408: Fix typo after 49695ac46861 (reset on output_write retry with readback)

Moritz Fischer (1):
fpga: zynqmp-fpga: Correctly handle error pointer

Oded Gabbay (2):
uapi/habanalabs: add opcode for enable/disable device debug mode
habanalabs: fix bug in checking huge page optimization

Omer Shpigelman (1):
habanalabs: halt debug engines on user process close

Scott Wood (2):
fpga: dfl: afu: Pass the correct device to dma_mapping_error()
fpga: dfl: Add lockdep classes for pdata->lock

Tomer Tayar (3):
habanalabs: Avoid using a non-initialized MMU cache mutex
habanalabs: Fix virtual address access via debugfs for 2MB pages
habanalabs: Read upper bits of trace buffer from RWPHI

Wen Yang (1):
fpga: stratix10-soc: fix use-after-free on s10_init()

YueHaibing (1):
parport: Fix mem leak in parport_register_dev_model

drivers/fpga/dfl-afu-dma-region.c | 2 +-
drivers/fpga/dfl.c | 22 +++++++--
drivers/fpga/stratix10-soc.c | 6 ++-
drivers/fpga/zynqmp-fpga.c | 4 +-
drivers/misc/genwqe/card_dev.c | 2 +
drivers/misc/genwqe/card_utils.c | 4 ++
drivers/misc/habanalabs/context.c | 6 +++
drivers/misc/habanalabs/debugfs.c | 65 +++++++++------------------
drivers/misc/habanalabs/device.c | 2 +
drivers/misc/habanalabs/goya/goya.c | 3 +-
drivers/misc/habanalabs/goya/goyaP.h | 1 +
drivers/misc/habanalabs/goya/goya_coresight.c | 31 ++++++++++++-
drivers/misc/habanalabs/habanalabs.h | 2 +
drivers/misc/habanalabs/memory.c | 6 ---
drivers/misc/habanalabs/mmu.c | 8 +---
drivers/misc/lkdtm/bugs.c | 23 +++++++---
drivers/misc/lkdtm/core.c | 6 +--
drivers/misc/lkdtm/lkdtm.h | 2 +-
drivers/misc/lkdtm/usercopy.c | 10 +++--
drivers/parport/share.c | 2 +
drivers/w1/slaves/w1_ds2408.c | 2 +-
include/uapi/misc/habanalabs.h | 22 ++++++++-
init/Kconfig | 17 ++++---
kernel/Makefile | 4 +-
kernel/{gen_ikh_data.sh => gen_kheaders.sh} | 17 ++++---
kernel/kheaders.c | 40 +++++++----------
lib/test_firmware.c | 14 +++---
27 files changed, 192 insertions(+), 131 deletions(-)
rename kernel/{gen_ikh_data.sh => gen_kheaders.sh} (82%)