[GIT PULL] Driver core fixes for 6.0-rc5

From: Greg KH
Date: Fri Sep 09 2022 - 14:23:33 EST


The following changes since commit 789bba82f63c3e81dce426ba457fc7905b30ac6e:

firmware_loader: Fix memory leak in firmware upload (2022-09-01 17:47:27 +0200)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git tags/driver-core-6.0-rc5

for you to fetch changes up to 5ac251c8a05ce074e5efac779debf82a15d870a3:

arch_topology: Make cluster topology span at least SMT CPUs (2022-09-07 17:57:31 +0200)

----------------------------------------------------------------
Driver core fixes for 6.0-rc5

Here are some small driver core and debugfs fixes for 6.0-rc5.

Included in here are:
- multiple attempts to get the arch_topology code to work properly on
non-cluster SMT systems. First attempt caused build breakages in
linux-next and 0-day, second try worked.
- debugfs fixes for a long-suffering memory leak. The pattern of
debugfs_remove(debugfs_lookup(...)) turns out to leak dentries, so
add debugfs_lookup_and_remove() to fix this problem. Also fix up
the scheduler debug code that highlighted this problem. Fixes for
other subsystems will be trickling in over the next few months for
this same issue once the debugfs function is merged.

All of these have been in linux-next since Wednesday with no reported
problems.

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

----------------------------------------------------------------
Greg Kroah-Hartman (4):
Revert "arch_topology: Make cluster topology span at least SMT CPUs"
driver core: fix driver_set_override() issue with empty strings
debugfs: add debugfs_lookup_and_remove()
sched/debug: fix dentry leak in update_sched_domain_debugfs

Yicong Yang (2):
arch_topology: Make cluster topology span at least SMT CPUs
arch_topology: Make cluster topology span at least SMT CPUs

drivers/base/arch_topology.c | 2 +-
drivers/base/driver.c | 6 ++++++
fs/debugfs/inode.c | 22 ++++++++++++++++++++++
include/linux/debugfs.h | 6 ++++++
kernel/sched/debug.c | 2 +-
5 files changed, 36 insertions(+), 2 deletions(-)