[GIT PULL] Char/Misc driver patches for 4.11-rc1

Greg KH
2017-02-22T14:54:52Z

The following changes since commit d5adbfcd5f7bcc6fa58a41c5c5ada0e5c826ce2c:

Linux 4.10-rc7 (2017-02-05 15:10:58 -0800)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git/ tags/char-misc-4.11-rc1

for you to fetch changes up to 6cf18e6927c0b224f972e3042fb85770d63cb9f8:

goldfish: Sanitize the broken interrupt handler (2017-02-15 08:49:58 -0800)

----------------------------------------------------------------
char/misc driver patches for 4.11-rc1

Here is the big char/misc driver patchset for 4.11-rc1.

Lots of different driver subsystems updated here. Rework for the hyperv
subsystem to handle new platforms better, mei and w1 and extcon driver
updates, as well as a number of other "minor" driver updates. Full
details are in the shortlog below.

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

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

----------------------------------------------------------------
Alex Ng (2):
Drivers: hv: vmbus: Use all supported IC versions to negotiate
Drivers: hv: Log the negotiated IC versions.

Alexander Dahl (1):
doc: convert UIO howto from docbook to sphinx

Alexander Usyskin (11):
mei: make mei_io_list_flush static
mei: make mei_cl_set_disconnected static
mei: bus: cancel and disable callback after release call
mei: bus: prevent hardware module unload if device on bus is active
mei: bus: unregister callbacks upon me client disable call
mei: return error on notification request to a disconnected client
mei: abort waiting for notification on unsupported HW
mei: replace callback structures used as list head by list_head
mei: me: add a wrapper to set host generated data interrupt
mei: me: generate an interrupt if the hw indicates reset.
mei: remove support for broken parallel read

Andrew F. Davis (1):
w1: Fixup source file headers

Arnd Bergmann (1):
lkdtm: hide stack overflow warning for corrupt-stack test

Bai Ping (2):
nvmem: octop: Add support for imx6ul
devicetree: bindings: nvmem: Add compatible string for imx6ul

Baolin Wang (3):
extcon: Add documentation for EXTCON_CHG_USB_* and EXTCON_USB_*
extcon: axp288: Set EXTCON_USB when EXTCON_CHG_USB_SDP was set
extcon: Add documentation for EXTCON_CHG_USB_SLOW/FAST

Bartosz Golaszewski (2):
memory: aemif: allow passing device lookup table as platform data
ARM: da850: add the nand dev_id to the clock lookup table

Cao jin (1):
genwqe: drop .link_reset()

Chanwoo Choi (5):
extcon: Remove potential problem when calling extcon_register_notifier()
extcon: adc-jack: Use the internal data instead of using struct extcon_dev
extcon: Move defintion of struct extcon_dev to driver/extcon directory
extcon: Add new EXTCON_CHG_USB_PD type for USB Power Delivery
extcon: Modify the name of EXTCON_USB_HOST connector

Charles Keepax (1):
extcon: arizona: Simplify micd_pol_gpio handling

Christoph Hellwig (1):
vmw_vmci: switch to pci_irq_alloc_vectors

Christophe JAILLET (1):
w1: omap_hdq: Free resources on error path

Colin Ian King (1):
eeprom: fix memory leak on buf when failed allocation of csraddr_str

Corentin Labbe (3):
mmtimer: add member name to the miscdevice declaration
ds1302: remove unneeded linux/miscdevice.h include
apm-emulation: move APM_MINOR_DEV to include/linux/miscdevice.h

Dan Carpenter (1):
misc: mic: double free on ioctl error path

Dave Gerlach (3):
misc: sram: Split sram data structures into local header
misc: sram: Introduce support code for protect-exec sram type
misc: sram: Integrate protect-exec reserved sram area type

David Cohen (1):
extcon: int3496: Add Intel INT3496 ACPI device extcon driver

Dmitry Torokhov (3):
auxdisplay: ht16k33: do not try to free fbdev
auxdisplay: ht16k33: rework input device initialization
auxdisplay: ht16k33: remove private workqueue

Geert Uytterhoeven (8):
misc: panel: Fix LCD_FLAG_F/LCD_FLAG_N exchange
misc: panel: Remove PANEL_VERSION
misc: panel: Remove unused LCD_FLAG_S and LCD_FLAG_ID
misc: panel: Remove reference to misc device support
misc: panel: Move all suboptions into a big if section
misc: panel: Remove always-true check from panel_detach()
misc: panel: Add lcd_home() helper
misc: panel: Abstract temporary backlight handling

Greg Kroah-Hartman (3):
Merge 4.10-rc4 into char-misc-next
Merge tag 'extcon-next-for-4.11' of git://git.kernel.org/.../chanwoo/extcon into char-misc-next
Merge 4.10-rc7 into char-misc-next

Hans de Goede (7):
extcon: axp288: Remove dependency on non-existing platform_data
extcon: axp288: Remove usb_phy notification code
extcon: axp288: Simplify axp288_handle_chrg_det_event
extcon: axp288: Fix possibly reporting 2 cables in state true
extcon: axp288: Use vbus-valid instead of -present to determine cable presence
extcon: axp288: Remove unnecessary irq?_en register writes
extcon: axp288: Fix the module not auto-loading

Jason Gunthorpe (4):
fpga zynq: Check for errors after completing DMA
fpga zynq: Check the bitstream for validity
fpga: Add scatterlist based programming
fpga zynq: Use the scatterlist interface

Jeremy Kerr (3):
drivers/fsi: Add empty fsi bus definitions
drivers/fsi: Add device & driver definitions
drivers/fsi: add driver to device matches

Juerg Haefliger (1):
lkdtm: Fix Oops when unloading the module

Julia Lawall (1):
eeprom: fix platform_no_drv_owner.cocci warnings

K. Y. Srinivasan (26):
Drivers: hv: vmbus: Prevent sending data on a rescinded channel
Drivers: hv: vmbus: Fix a rescind handling bug
Drivers: hv: util: kvp: Fix a rescind processing issue
Drivers: hv: util: Fcopy: Fix a rescind processing issue
Drivers: hv: util: Backup: Fix a rescind processing issue
Drivers: hv: vmbus: Move the definition of hv_x64_msr_hypercall_contents
Drivers: hv: vmbus: Move the definition of generate_guest_id()
Drivers: hv vmbus: Move Hypercall page setup out of common code
Drivers: hv: vmbus: Move Hypercall invocation code out of common code
Drivers: hv: vmbus: Consolidate all Hyper-V specific clocksource code
Drivers: hv: vmbus: Move the extracting of Hypervisor version information
Drivers: hv: vmbus: Move the crash notification function
Drivers: hv: vmbus: Move the check for hypercall page setup
Drivers: hv: vmbus: Move the code to signal end of message
Drivers: hv: vmbus: Restructure the clockevents code
Drivers: hv: util: Use hv_get_current_tick() to get current tick
Drivers: hv: vmbus: Get rid of an unsused variable
Drivers: hv: vmbus: Define APIs to manipulate the message page
Drivers: hv: vmbus: Define APIs to manipulate the event page
Drivers: hv: vmbus: Define APIs to manipulate the synthetic interrupt controller
Drivers: hv: vmbus: Define an API to retrieve virtual processor index
Drivers: hv: vmbus: Define an APIs to manage interrupt state
Drivers: hv: vmbus: Cleanup hyperv_vmbus.h
Drivers: hv: Fix the bug in generating the guest ID
Drivers: hv: util: Fix a typo
drivers: hv: Turn off write permission on the hypercall page

Luis R. Rodriguez (6):
test_firmware: move misc_device down
test_firmware: use device attribute groups
tools: firmware: check for distro fallback udev cancel rule
tools: firmware: rename fallback mechanism script
tools: firmware: add fallback cancelation testing
test_firmware: add test custom fallback trigger

Maciej S. Szmigiero (3):
w1: ds2490: USB transfer buffers need to be DMAable
w1: add DS2405 addressable switch driver
w1: don't leak refcount on slave attach failure in w1_attach_slave_device()

Martijn Coenen (8):
binder: Split flat_binder_object
binder: Support multiple context managers
binder: Deal with contexts in debugfs
binder: Support multiple /dev instances
binder: Refactor binder_transact()
binder: Add extra size to allocator
binder: Add support for scatter-gather
binder: Add support for file-descriptor arrays

Martyn Welch (1):
VME: Remove node entry from vme_driver

Mathieu Poirier (1):
coresight: etm4x: Fix timestamp configuration when working from perf

Max Bires (1):
char: lack of bool string made CONFIG_DEVPORT always on

Michal Simek (1):
char: xilinx_hwicap: Remove pointless local variables

Miguel Bernal Marin (1):
misc: fix typo on Kconfig

Mike Leach (1):
coresight: etm4x: Fix enabling of cycle accurate tracing in perf.

Pan Bian (2):
extcon: Return error code on failure
misc: set error code when devm_kstrdup fails

Peter Chen (1):
extcon: usb-gpio: Add pinctrl operation during system PM

Peter Foley (1):
extcon: adc-jack: Fix incompatible pointer type warning

Roger Quadros (2):
extcon: palmas: Check the parent instance to prevent the NULL
extcon: palmas: Use dev_dbg macro for the debug messages

Serge Semin (3):
eeprom: Add IDT 89HPESx EEPROM/CSR driver
eeprom: Add IDT 89HPESx driver bindings file
eeprom: idt_89hpesx: Discard memory freeing allocated by devm_kmalloc

Srikant Ritolia (1):
extcon: Restructure multi-line comments to follow codingstyle

Stefano Babic (1):
VME: restore bus_remove function causing incomplete module unload

Stephen Hemminger (12):
vmbus: use kernel bitops for traversing interrupt mask
vmbus: drop no longer used kick_q argument
vmbus: remove no longer used signal_policy
vmbus: remove unused kickq argument to sendpacket
vmbus: callback is in softirq not workqueue
vmbus: put related per-cpu variable together
vmbus: change to per channel tasklet
vmbus: add direct isr callback mode
vmbus: remove conditional locking of vmbus_write
vmbus: expose hv_begin/end_read
vmbus: constify parameters where possible
vmbus: replace modulus operation with subtraction

Suzuki K Poulose (1):
coresight: STM: Balance enable/disable

Thomas Gleixner (2):
x86/platform/goldfish: Prevent unconditional loading
goldfish: Sanitize the broken interrupt handler

Tomas Winkler (4):
mei: amthif: clean command queue upon disconnection
mei: amthif: allow the read completion after close
mei: revamp io list cleanup function.
mei: simplify error handling via devres function.

Valentin Rothberg (2):
checkkconfigsymbols.py: don't sort similar symbols
checkkconfigsymbols.py: support Kconfig's 'imply' statement

Vitaly Kuznetsov (12):
Drivers: hv: vmbus: Raise retry/wait limits in vmbus_post_msg()
hv: allocate synic pages for all present CPUs
hv: init percpu_list in hv_synic_alloc()
hv: don't reset hv_context.tsc_page on crash
hv: switch to cpuhp state machine for synic init/cleanup
hv: make CPU offlining prevention fine-grained
hv_util: switch to using timespec64
Drivers: hv: restore hypervcall page cleanup before kexec
Drivers: hv: restore TSC page cleanup before kexec
Drivers: hv: balloon: add a fall through comment to hv_memory_notifier()
hv: export current Hyper-V clocksource
hv_utils: implement Hyper-V PTP source

Vivek Gautam (3):
nvmem: core: Allow ignoring length when reading a cell
nvmem: core: Correct a bunch of function documentations
nvmem: core: Allow getting nvmem cell with a NULL cell id

Wang Nan (1):
coresight: fix kernel panic caused by invalid CPU

Wei Yongjun (3):
eeprom: idt_89hpesx: Drop kfree for memory allocated with devm_kzalloc
w1: ds2490: use kmemdup rather than duplicating its implementation
w1: ds2405: use module_w1_family to simplify the code

William Breathitt Gray (1):
pc104: Introduce the PC104 Kconfig option

Documentation/DocBook/Makefile | 2 +-
Documentation/DocBook/uio-howto.tmpl | 1112 --------------
Documentation/admin-guide/kernel-parameters.txt | 4 +
.../devicetree/bindings/misc/idt_89hpesx.txt | 44 +
.../devicetree/bindings/nvmem/imx-ocotp.txt | 6 +-
Documentation/devicetree/bindings/sram/sram.txt | 6 +
Documentation/driver-api/index.rst | 1 +
Documentation/driver-api/uio-howto.rst | 705 +++++++++
Documentation/extcon/intel-int3496.txt | 22 +
Documentation/fpga/fpga-mgr.txt | 19 +-
MAINTAINERS | 3 +-
arch/arm/mach-davinci/da850.c | 10 +-
arch/arm/mach-davinci/da8xx-dt.c | 12 +-
arch/x86/Kbuild | 3 +
arch/x86/hyperv/Makefile | 1 +
arch/x86/hyperv/hv_init.c | 277 ++++
arch/x86/include/asm/mshyperv.h | 151 ++
arch/x86/include/uapi/asm/hyperv.h | 8 +
arch/x86/kernel/cpu/mshyperv.c | 50 +-
arch/x86/platform/goldfish/goldfish.c | 14 +-
drivers/Kconfig | 2 +
drivers/Makefile | 1 +
drivers/android/Kconfig | 12 +
drivers/android/binder.c | 1001 ++++++++++---
drivers/auxdisplay/ht16k33.c | 320 ++--
drivers/char/Kconfig | 5 +-
drivers/char/apm-emulation.c | 7 -
drivers/char/ds1302.c | 1 -
drivers/char/mmtimer.c | 6 +-
drivers/char/xilinx_hwicap/buffer_icap.c | 4 -
drivers/extcon/Kconfig | 10 +
drivers/extcon/Makefile | 1 +
drivers/extcon/devres.c | 2 +-
drivers/extcon/extcon-adc-jack.c | 2 +-
drivers/extcon/extcon-arizona.c | 20 +-
drivers/extcon/extcon-axp288.c | 110 +-
drivers/extcon/extcon-intel-int3496.c | 179 +++
drivers/extcon/extcon-max14577.c | 6 +-
drivers/extcon/extcon-max77693.c | 12 +-
drivers/extcon/extcon-max77843.c | 24 +-
drivers/extcon/extcon-palmas.c | 21 +-
drivers/extcon/extcon-rt8973a.c | 6 +-
drivers/extcon/extcon-sm5502.c | 6 +-
drivers/extcon/extcon-usb-gpio.c | 7 +
drivers/extcon/extcon.c | 43 +-
drivers/extcon/extcon.h | 62 +
drivers/fpga/fpga-mgr.c | 236 ++-
drivers/fpga/zynq-fpga.c | 233 ++-
drivers/fsi/Kconfig | 12 +
drivers/fsi/Makefile | 2 +
drivers/fsi/fsi-core.c | 59 +
drivers/hv/channel.c | 82 +-
drivers/hv/channel_mgmt.c | 157 +-
drivers/hv/connection.c | 158 +-
drivers/hv/hv.c | 475 ++----
drivers/hv/hv_balloon.c | 1 +
drivers/hv/hv_fcopy.c | 29 +-
drivers/hv/hv_kvp.c | 47 +-
drivers/hv/hv_snapshot.c | 29 +-
drivers/hv/hv_util.c | 283 +++-
drivers/hv/hyperv_vmbus.h | 363 +----
drivers/hv/ring_buffer.c | 73 +-
drivers/hv/vmbus_drv.c | 178 ++-
drivers/hwtracing/coresight/coresight-etm-perf.c | 1 +
drivers/hwtracing/coresight/coresight-etm4x.c | 10 +-
drivers/hwtracing/coresight/coresight-etm4x.h | 1 +
drivers/hwtracing/coresight/coresight-stm.c | 2 +-
drivers/memory/ti-aemif.c | 8 +-
drivers/misc/Kconfig | 49 +-
drivers/misc/Makefile | 1 +
drivers/misc/eeprom/Kconfig | 10 +
drivers/misc/eeprom/Makefile | 1 +
drivers/misc/eeprom/idt_89hpesx.c | 1581 ++++++++++++++++++++
drivers/misc/genwqe/card_base.c | 1 -
drivers/misc/lkdtm_bugs.c | 7 +-
drivers/misc/lkdtm_core.c | 4 +-
drivers/misc/mei/amthif.c | 45 +-
drivers/misc/mei/bus.c | 63 +-
drivers/misc/mei/client.c | 145 +-
drivers/misc/mei/client.h | 24 +-
drivers/misc/mei/hbm.c | 2 +-
drivers/misc/mei/hw-me.c | 53 +-
drivers/misc/mei/hw-txe.c | 14 +-
drivers/misc/mei/hw-txe.h | 2 +-
drivers/misc/mei/init.c | 22 +-
drivers/misc/mei/interrupt.c | 36 +-
drivers/misc/mei/main.c | 48 +-
drivers/misc/mei/mei_dev.h | 22 +-
drivers/misc/mei/pci-me.c | 50 +-
drivers/misc/mei/pci-txe.c | 69 +-
drivers/misc/mic/vop/vop_vringh.c | 1 -
drivers/misc/panel.c | 191 +--
drivers/misc/sram-exec.c | 105 ++
drivers/misc/sram.c | 55 +-
drivers/misc/sram.h | 58 +
drivers/misc/vmw_vmci/vmci_guest.c | 75 +-
drivers/net/hyperv/netvsc.c | 21 +-
drivers/nvmem/core.c | 45 +-
drivers/nvmem/imx-ocotp.c | 1 +
drivers/platform/goldfish/pdev_bus.c | 13 +-
drivers/uio/uio_hv_generic.c | 2 +-
drivers/vme/vme.c | 15 +
drivers/w1/masters/ds2490.c | 141 +-
drivers/w1/masters/omap_hdq.c | 2 +-
drivers/w1/slaves/Kconfig | 8 +
drivers/w1/slaves/Makefile | 1 +
drivers/w1/slaves/w1_ds2405.c | 227 +++
drivers/w1/w1.c | 8 +-
drivers/w1/w1.h | 7 -
drivers/w1/w1_family.c | 7 -
drivers/w1/w1_family.h | 8 +-
drivers/w1/w1_int.c | 7 -
drivers/w1/w1_int.h | 7 -
drivers/w1/w1_io.c | 8 +-
drivers/w1/w1_log.h | 7 -
drivers/w1/w1_netlink.c | 7 -
drivers/w1/w1_netlink.h | 7 -
include/linux/extcon.h | 71 +-
include/linux/extcon/extcon-adc-jack.h | 2 +-
include/linux/fpga/fpga-mgr.h | 5 +
include/linux/fsi.h | 50 +
include/linux/hyperv.h | 128 +-
include/linux/miscdevice.h | 1 +
include/linux/platform_data/ti-aemif.h | 23 +
include/linux/sram.h | 27 +
include/linux/vme.h | 1 -
include/linux/vmw_vmci_defs.h | 7 -
include/uapi/linux/android/binder.h | 104 +-
init/Kconfig | 7 +
lib/test_firmware.c | 92 +-
scripts/checkkconfigsymbols.py | 8 +-
tools/testing/selftests/firmware/Makefile | 2 +-
tools/testing/selftests/firmware/fw_fallback.sh | 224 +++
tools/testing/selftests/firmware/fw_userhelper.sh | 99 --
134 files changed, 7034 insertions(+), 3859 deletions(-)
delete mode 100644 Documentation/DocBook/uio-howto.tmpl
create mode 100644 Documentation/devicetree/bindings/misc/idt_89hpesx.txt
create mode 100644 Documentation/driver-api/uio-howto.rst
create mode 100644 Documentation/extcon/intel-int3496.txt
create mode 100644 arch/x86/hyperv/Makefile
create mode 100644 arch/x86/hyperv/hv_init.c
create mode 100644 drivers/extcon/extcon-intel-int3496.c
create mode 100644 drivers/extcon/extcon.h
create mode 100644 drivers/fsi/Kconfig
create mode 100644 drivers/fsi/Makefile
create mode 100644 drivers/fsi/fsi-core.c
create mode 100644 drivers/misc/eeprom/idt_89hpesx.c
create mode 100644 drivers/misc/sram-exec.c
create mode 100644 drivers/misc/sram.h
create mode 100644 drivers/w1/slaves/w1_ds2405.c
create mode 100644 include/linux/fsi.h
create mode 100644 include/linux/platform_data/ti-aemif.h
create mode 100644 include/linux/sram.h
create mode 100755 tools/testing/selftests/firmware/fw_fallback.sh
delete mode 100755 tools/testing/selftests/firmware/fw_userhelper.sh