[GIT PULL] Driver core patches for 4.13-rc1

From: Greg KH
Date: Mon Jul 03 2017 - 11:00:12 EST


The following changes since commit 08332893e37af6ae779367e78e444f8f9571511d:

Linux 4.12-rc2 (2017-05-21 19:30:23 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git/ tags/driver-core-4.13-rc1

for you to fetch changes up to d565ed38d045793b76f022565a50793a3535bdbd:

arm: mach-rpc: ecard: fix build error (2017-06-14 11:54:29 +0200)

----------------------------------------------------------------
driver core patches for 4.13-rc1

Here is the big driver core update for 4.13-rc1.

The large majority of this is a lot of cleanup of old fields in the
driver core structures and their remaining usages in random drivers.
All of those fixes have been reviewed by the various subsystem
maintainers. There's also some small firmware updates in here, a new
kobject uevent api interface that makes userspace interaction easier,
and a few other minor things.

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

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

----------------------------------------------------------------
Adrian Salido (1):
driver core: platform: fix race condition with driver_override

Catalin Marinas (1):
drivers: dma-mapping: Do not leave an invalid area->pages pointer in dma_common_contiguous_remap()

Greg Kroah-Hartman (38):
driver core: remove CLASS_ATTR usage
uwb: use class_groups instead of class_attrs
scsi: ibmvscsi_tgt: remove use of class_attrs
mtd: use class_groups instead of class_attrs
zram: use class_groups instead of class_attrs
gpio: use class_groups instead of class_attrs
pktcdvd: use class_groups instead of class_attrs
driver core: remove class_attrs from struct class
arm: ecard: use dev_groups and not dev_attrs for bus_type
mips: sgi-ip22: ecard: use dev_groups and not dev_attrs for bus_type
parisc: parisc_bus_type: use dev_groups and not dev_attrs for bus_type
amba: use dev_groups and not dev_attrs for bus_type
rpmsg: use dev_groups and not dev_attrs for bus_type
sh: superhyway: use dev_groups and not dev_attrs for bus_type
macintosh: use dev_groups and not dev_attrs for bus_type
powerpc: ps3: use dev_groups and not dev_attrs for bus_type
powerpc: ibmebus: use dev_groups and not dev_attrs for bus_type
hwtracing: intel_th: use dev_groups and not dev_attrs for bus_type
hid: intel-ish-hid: use dev_groups and not dev_attrs for bus_type
sparc: vio: use dev_groups and not dev_attrs for bus_type
tty: serdev: use dev_groups and not dev_attrs for bus_type
arm: ecard: fix dev_groups patch typo
HID: hid-core: convert to use DRIVER_ATTR_RO and drv_groups
IB: nes: convert to use DRIVER_ATTR_RW
PCI: pci-driver: convert to use DRIVER_ATTR_WO
TTY: hvc: convert to use DRIVER_ATTR_RW
net: caif: convert to use DRIVER_ATTR_RO
net: ehea: convert to use DRIVER_ATTR_RO
wireless: ipw2x00: convert to use DRIVER_ATTR_RW
pcmcia: ds: convert to use DRIVER_ATTR_RO
platform: thinkpad_acpi: convert to use DRIVER_ATTR_RO/RW
s390: drivers: convert to use DRIVER_ATTR_RO/WO
USB: usbip: convert to use DRIVER_ATTR_RW
powerpc: vio: use dev_groups and not dev_attrs for bus_type
powerpc: vio_cmo: use dev_groups and not dev_attrs for bus_type
driver-core: remove struct bus_type.dev_attrs
zram: convert remaining CLASS_ATTR() to CLASS_ATTR_RO()
arm: mach-rpc: ecard: fix build error

Juri Lelli (7):
Documentation: arm: fix wrong reference number in DT definition
arm: fix return value of parse_cpu_capacity
arm: remove wrong CONFIG_PROC_SYSCTL ifdef
arm, arm64: factorize common cpu capacity default code
arm,arm64,drivers: reduce scope of cap_parsing_failed
arm,arm64,drivers: move externs in a new header file
arm,arm64,drivers: add a prefix to drivers arch_topology interfaces

Luis R. Rodriguez (6):
firmware: move kill_requests_without_uevent() up above
firmware: share fw fallback killing on reboot/suspend
firmware: always enable the reboot notifier
firmware: add sanity check on shutdown/suspend
firmware: move assign_firmware_buf() further up
firmware: move umh try locks into the umh code

Nick Desaulniers (1):
sysfs: remove signedness from sysfs_get_dirent

Peter Rajnoha (2):
kobject: support passing in variables for synthetic uevents
doc: update kernel version in sysfs-uevent ABI doc

Documentation/ABI/testing/sysfs-uevent | 47 ++++
Documentation/devicetree/bindings/arm/cpus.txt | 4 +-
.../driver-api/firmware/request_firmware.rst | 11 +
arch/arm/Kconfig | 1 +
arch/arm/kernel/topology.c | 221 +--------------
arch/arm/mach-rpc/ecard.c | 40 +--
arch/arm64/Kconfig | 1 +
arch/arm64/kernel/topology.c | 226 +--------------
arch/mips/sgi-ip22/ip22-gio.c | 16 +-
arch/parisc/kernel/drivers.c | 23 +-
arch/powerpc/platforms/ps3/system-bus.c | 10 +-
arch/powerpc/platforms/pseries/dlpar.c | 2 +-
arch/powerpc/platforms/pseries/ibmebus.c | 16 +-
arch/powerpc/platforms/pseries/mobility.c | 7 +-
arch/powerpc/platforms/pseries/vio.c | 72 +++--
arch/sparc/kernel/vio.c | 18 +-
drivers/amba/bus.c | 25 +-
drivers/base/Kconfig | 8 +
drivers/base/Makefile | 1 +
drivers/base/arch_topology.c | 243 +++++++++++++++++
drivers/base/bus.c | 47 +---
drivers/base/class.c | 33 ---
drivers/base/core.c | 7 +-
drivers/base/dma-mapping.c | 33 ++-
drivers/base/firmware_class.c | 302 ++++++++++++++-------
drivers/base/platform.c | 11 +-
drivers/block/pktcdvd.c | 35 ++-
drivers/block/zram/zram_drv.c | 26 +-
drivers/gpio/gpiolib-sysfs.c | 13 +-
drivers/hid/hid-core.c | 24 +-
drivers/hid/intel-ish-hid/ishtp/bus.c | 10 +-
drivers/hwtracing/intel_th/core.c | 1 -
drivers/infiniband/hw/nes/nes.c | 80 +++---
drivers/macintosh/macio_asic.c | 4 +-
drivers/macintosh/macio_sysfs.c | 29 +-
drivers/mtd/ubi/build.c | 16 +-
drivers/net/caif/caif_spi.c | 20 +-
drivers/net/ethernet/ibm/ehea/ehea_main.c | 6 +-
drivers/net/wireless/intel/ipw2x00/ipw2100.c | 8 +-
drivers/net/wireless/intel/ipw2x00/ipw2200.c | 8 +-
drivers/pci/pci-driver.c | 8 +-
drivers/pcmcia/ds.c | 4 +-
drivers/platform/x86/thinkpad_acpi.c | 91 ++-----
drivers/rpmsg/rpmsg_core.c | 23 +-
drivers/s390/char/sclp.c | 12 +-
drivers/s390/char/vmlogrdr.c | 7 +-
drivers/s390/net/ctcm_main.c | 6 +-
drivers/s390/net/lcs.c | 6 +-
drivers/s390/net/netiucv.c | 14 +-
drivers/s390/net/qeth_core_main.c | 6 +-
drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c | 5 -
drivers/sh/superhyway/superhyway-sysfs.c | 29 +-
drivers/sh/superhyway/superhyway.c | 2 +-
drivers/tty/hvc/hvcs.c | 7 +-
drivers/tty/serdev/core.c | 10 +-
drivers/usb/usbip/stub_main.c | 7 +-
drivers/uwb/driver.c | 11 +-
include/linux/arch_topology.h | 17 ++
include/linux/device.h | 6 -
include/linux/kobject.h | 4 +-
include/linux/superhyway.h | 2 +-
include/linux/sysfs.h | 2 +-
kernel/module.c | 5 +-
lib/kobject_uevent.c | 167 +++++++++++-
64 files changed, 1116 insertions(+), 1040 deletions(-)
create mode 100644 Documentation/ABI/testing/sysfs-uevent
create mode 100644 drivers/base/arch_topology.c
create mode 100644 include/linux/arch_topology.h