Skip to content

Commit 47fcc03

Browse files
committed
Merge tag 'driver-core-4.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core
Pull driver core updates from Greg KH: "Here is the set of "big" driver core patches for 4.16-rc1. The majority of the work here is in the firmware subsystem, with reworks to try to attempt to make the code easier to handle in the long run, but no functional change. There's also some tree-wide sysfs attribute fixups with lots of acks from the various subsystem maintainers, as well as a handful of other normal fixes and changes. And finally, some license cleanups for the driver core and sysfs code. All have been in linux-next for a while with no reported issues" * tag 'driver-core-4.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (48 commits) device property: Define type of PROPERTY_ENRTY_*() macros device property: Reuse property_entry_free_data() device property: Move property_entry_free_data() upper firmware: Fix up docs referring to FIRMWARE_IN_KERNEL firmware: Drop FIRMWARE_IN_KERNEL Kconfig option USB: serial: keyspan: Drop firmware Kconfig options sysfs: remove DEBUG defines sysfs: use SPDX identifiers drivers: base: add coredump driver ops sysfs: add attribute specification for /sysfs/devices/.../coredump test_firmware: fix missing unlock on error in config_num_requests_store() test_firmware: make local symbol test_fw_config static sysfs: turn WARN() into pr_warn() firmware: Fix a typo in fallback-mechanisms.rst treewide: Use DEVICE_ATTR_WO treewide: Use DEVICE_ATTR_RO treewide: Use DEVICE_ATTR_RW sysfs.h: Use octal permissions component: add debugfs support bus: simple-pm-bus: convert bool SIMPLE_PM_BUS to tristate ...
2 parents 5d8515b + c505cbd commit 47fcc03

140 files changed

Lines changed: 918 additions & 1047 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
What: /sys/devices/.../coredump
2+
Date: December 2017
3+
Contact: Arend van Spriel <aspriel@gmail.com>
4+
Description:
5+
The /sys/devices/.../coredump attribute is only present when the
6+
device is bound to a driver, which provides the .coredump()
7+
callback. The attribute is write only. Anything written to this
8+
file will trigger the .coredump() callback.
9+
10+
Available when CONFIG_DEV_COREDUMP is enabled.

‎Documentation/driver-api/firmware/built-in-fw.rst‎

Lines changed: 1 addition & 6 deletions

‎Documentation/driver-api/firmware/fallback-mechanisms.rst‎

Lines changed: 1 addition & 1 deletion

‎Documentation/x86/microcode.txt‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,12 +108,11 @@ packages already put them there.
108108
====================
109109

110110
The loader supports also loading of a builtin microcode supplied through
111-
the regular firmware builtin method CONFIG_FIRMWARE_IN_KERNEL. Only
112-
64-bit is currently supported.
111+
the regular builtin firmware method CONFIG_EXTRA_FIRMWARE. Only 64-bit is
112+
currently supported.
113113

114114
Here's an example:
115115

116-
CONFIG_FIRMWARE_IN_KERNEL=y
117116
CONFIG_EXTRA_FIRMWARE="intel-ucode/06-3a-09 amd-ucode/microcode_amd_fam15h.bin"
118117
CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"
119118

‎arch/arc/configs/axs101_defconfig‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ CONFIG_IP_PNP_RARP=y
4444
CONFIG_DEVTMPFS=y
4545
# CONFIG_STANDALONE is not set
4646
# CONFIG_PREVENT_FIRMWARE_BUILD is not set
47-
# CONFIG_FIRMWARE_IN_KERNEL is not set
4847
CONFIG_SCSI=y
4948
CONFIG_BLK_DEV_SD=y
5049
CONFIG_NETDEVICES=y

‎arch/arc/configs/axs103_defconfig‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ CONFIG_IP_PNP_RARP=y
4444
CONFIG_DEVTMPFS=y
4545
# CONFIG_STANDALONE is not set
4646
# CONFIG_PREVENT_FIRMWARE_BUILD is not set
47-
# CONFIG_FIRMWARE_IN_KERNEL is not set
4847
CONFIG_BLK_DEV_LOOP=y
4948
CONFIG_SCSI=y
5049
CONFIG_BLK_DEV_SD=y

‎arch/arc/configs/axs103_smp_defconfig‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ CONFIG_IP_PNP_RARP=y
4545
CONFIG_DEVTMPFS=y
4646
# CONFIG_STANDALONE is not set
4747
# CONFIG_PREVENT_FIRMWARE_BUILD is not set
48-
# CONFIG_FIRMWARE_IN_KERNEL is not set
4948
CONFIG_BLK_DEV_LOOP=y
5049
CONFIG_SCSI=y
5150
CONFIG_BLK_DEV_SD=y

‎arch/arc/configs/haps_hs_defconfig‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ CONFIG_INET=y
4040
CONFIG_DEVTMPFS=y
4141
# CONFIG_STANDALONE is not set
4242
# CONFIG_PREVENT_FIRMWARE_BUILD is not set
43-
# CONFIG_FIRMWARE_IN_KERNEL is not set
4443
# CONFIG_BLK_DEV is not set
4544
CONFIG_NETDEVICES=y
4645
# CONFIG_NET_VENDOR_ARC is not set

‎arch/arc/configs/haps_hs_smp_defconfig‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ CONFIG_INET=y
4343
CONFIG_DEVTMPFS=y
4444
# CONFIG_STANDALONE is not set
4545
# CONFIG_PREVENT_FIRMWARE_BUILD is not set
46-
# CONFIG_FIRMWARE_IN_KERNEL is not set
4746
# CONFIG_BLK_DEV is not set
4847
CONFIG_NETDEVICES=y
4948
# CONFIG_NET_VENDOR_ARC is not set

‎arch/arc/configs/hsdk_defconfig‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ CONFIG_INET=y
3232
CONFIG_DEVTMPFS=y
3333
# CONFIG_STANDALONE is not set
3434
# CONFIG_PREVENT_FIRMWARE_BUILD is not set
35-
# CONFIG_FIRMWARE_IN_KERNEL is not set
3635
CONFIG_SCSI=y
3736
CONFIG_BLK_DEV_SD=y
3837
CONFIG_NETDEVICES=y

0 commit comments

Comments
 (0)