Skip to content

Draft: USB: pull in patches from RHEL8.6 that are missing in RHEL9

Desnes Nunes requested to merge desnesn/centos-stream-9:rh2165647 into main

BUGZILLA

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2165647

UPSTREAM STATUS

Upstream Status: Patch has been accepted on kernel/git/torvalds/linux.git

CONFLICTS

None

BUILD INFORMATION

Build Info: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=50380261

TESTING


[root@intel-whitley-07 ~]# uname -r
5.14.0-249.rh2165647.el9.x86_64

[root@intel-whitley-07 ~]# cat /etc/redhat-release 
Red Hat Enterprise Linux release 9.1 (Plow)

#####

[root@intel-whitley-07 testing]# rpm -qa | grep kernel-doc
kernel-doc-5.14.0-162.16.1.el9_1.noarch

[root@intel-whitley-07 testing]# cat /usr/share/doc/kernel-doc-5.14.0-162.16.1.el9_1/Documentation/ABI/testing/sysfs-devices-removable
What:		/sys/devices/.../removable
Date:		May 2021
Contact:	Rajat Jain <rajatxjain@gmail.com>
Description:
		Information about whether a given device can be removed from the
		platform by the	user. This is determined by its subsystem in a
		bus / platform-specific way. This attribute is only present for
		devices that can support determining such information:

		"removable": device can be removed from the platform by the user
		"fixed":     device is fixed to the platform / cannot be removed
			     by the user.
		"unknown":   The information is unavailable / cannot be deduced.

		Currently this is only supported by USB (which infers the
		information from a combination of hub descriptor bits and
		platform-specific data such as ACPI) and PCI (which gets this
		from ACPI / device tree).

######

[root@intel-whitley-07 ~]# rpm -qa | grep kernel-doc
kernel-doc-5.14.0-249.rh2165647.el9.noarch

[root@intel-whitley-07 ~]# cat /usr/share/doc/kernel-doc-5.14.0-249.rh2165647/Documentation/ABI/testing/sysfs-devices-removable 
What:		/sys/devices/.../removable
Date:		May 2021
Contact:	Rajat Jain <rajatxjain@gmail.com>
Description:
		Information about whether a given device can be removed from the
		platform by the	user. This is determined by its subsystem in a
		bus / platform-specific way. This attribute is only present for
		devices that can support determining such information:

		===========  ===================================================
		"removable"  device can be removed from the platform by the user
		"fixed"      device is fixed to the platform / cannot be removed
			     by the user.
		"unknown"    The information is unavailable / cannot be deduced.
		===========  ===================================================

		Currently this is only supported by USB (which infers the
		information from a combination of hub descriptor bits and
		platform-specific data such as ACPI) and PCI (which gets this
		from ACPI / device tree).

DESCRIPTION

This patch avoids build issues when documentation is compiled with "make htmldocs" by making a table with proper ReST markup

Signed-off-by: Desnes Nunes desnesn@redhat.com

Edited by Desnes Nunes

Merge request reports