Skip to contentSkip to conversation

Driver core changes for 4.10-rc1

GIT PULL Greg KH 1 participant 1 message Dec 13, 2016

lore
Share & tools
lore

Greg KH

author
#0 lore raw

The following changes since commit a909d3e636995ba7c349e2ca5dbb528154d4ac30:

Linux 4.9-rc3 (2016-10-29 13:52:02 -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.10-rc1

for you to fetch changes up to 5d47ec02c37ea632398cb251c884e3a488dff794:

firmware: Correct handling of fw_state_wait() return value (2016-12-08 21:05:54 +0100)

----------------------------------------------------------------
Driver core patches for 4.10-rc1

Here's the new driver core patches for 4.10-rc1.

Big thing here is the nice addition of "functional dependencies" to the driver core. The idea has been talked about for a very long time, great job to Rafael for stepping up and implementing it. It's been tested for longer than the 4.9-rc1 date, we held off on merging it earlier in order to feel more comfortable about it.

Other than that, it's just a handful of small other patches, some good cleanups to the mess that is the firmware class code, and we have a test driver for the deferred probe logic.

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

----------------------------------------------------------------
Arnd Bergmann (1):
debugfs: improve DEFINE_DEBUGFS_ATTRIBUTE for !CONFIG_DEBUG_FS

Bart Van Assche (1):
kernfs: Declare two local data structures static

Ben Hutchings (1):
driver core: Add deferred_probe attribute to devices in sysfs

Bjorn Andersson (1):
firmware: Correct handling of fw_state_wait() return value

Daniel Wagner (4):
firmware: refactor loading status
firmware: drop bit ops in favor of simple state machine
firmware: do not use fw_lock for fw_state protection
firmware: move fw_state_is_done() into UHM section

Dmitry Torokhov (1):
driver-core: add test module for asynchronous probing

Florian Fainelli (1):
drivers: base: dma-mapping: Fix typo in dmam_alloc_non_coherent comments

Greg Kroah-Hartman (6):
Merge 4.9-rc3 into driver-core-next
driver core: add CLASS_ATTR_WO()
driver core: class: add class_groups support driver core: devcoredump: convert to use class_groups driver core: firmware_class: convert to use class_groups driver core: test_async: fix up typo found by 0-day

Julia Lawall (2):
kobject: improve function-level documentation
driver-core: fix platform_no_drv_owner.cocci warnings

Kirtika Ruchandani (1):
drivers/base/memory.c: Remove unused 'first_page' variable

Lukas Wunner (1):
driver core: Silence device links sphinx warning

Rafael J. Wysocki (5):
driver core: Add a wrapper around __device_release_driver() driver core: Functional dependencies tracking support PM / sleep: Make async suspend/resume of devices use device links PM / runtime: Use device links
PM / runtime: Optimize the use of device links

Silvio Fricke (1):
firmware: remove warning at documentation generation time

Sudeep Holla (4):
drivers: base: cacheinfo: fix x86 with CONFIG_OF enabled
drivers: base: cacheinfo: fix boot error message when acpi is enabled
drivers: base: cacheinfo: add pr_fmt logging
drivers: base: cacheinfo: support DT overrides for cache properties

Yves-Alexis Perez (1):
firmware: fix usermode helper fallback loading

 .../ABI/testing/sysfs-devices-deferred_probe       |  12 +
 arch/x86/kernel/cpu/intel_cacheinfo.c              |   2 +
 drivers/base/Kconfig                               |   2 +
 drivers/base/Makefile                              |   2 +
 drivers/base/base.h                                |  15 +
 drivers/base/cacheinfo.c                           | 138 ++++-
 drivers/base/class.c                               |  15 +
 drivers/base/core.c                                | 578 +++++++++++++++++++++
 drivers/base/dd.c                                  |  79 ++-
 drivers/base/devcoredump.c                         |  10 +-
 drivers/base/dma-mapping.c                         |   4 +-
 drivers/base/firmware_class.c                      | 178 ++++---
 drivers/base/memory.c                              |   2 -
 drivers/base/power/main.c                          |  87 +++-
 drivers/base/power/power.h                         |  10 +
 drivers/base/power/runtime.c                       | 174 ++++++-
 drivers/base/test/Kconfig                          |   9 +
 drivers/base/test/Makefile                         |   1 +
 drivers/base/test/test_async_driver_probe.c        | 169 ++++++
 fs/kernfs/inode.c                                  |   4 +-
 include/linux/cacheinfo.h                          |   1 +
 include/linux/debugfs.h                            |  44 +-
 include/linux/device.h                             |  91 ++++
 include/linux/pm.h                                 |   2 +
 include/linux/pm_runtime.h                         |  10 +
 lib/kobject_uevent.c                               |   6 +-
 26 files changed, 1517 insertions(+), 128 deletions(-)
 create mode 100644 Documentation/ABI/testing/sysfs-devices-deferred_probe
 create mode 100644 drivers/base/test/Kconfig
 create mode 100644 drivers/base/test/Makefile
 create mode 100644 drivers/base/test/test_async_driver_probe.c