Commit graph

1,403,262 commits

Author SHA1 Message Date
Russell Harmon
b46ba47d7b hwmon: (drivetemp) Set scsi command timeout to 10s
There's at least one drive (MaxDigitalData OOS14000G) such that if it
receives a large amount of I/O while entering an idle power state will
first exit idle before responding, including causing SMART temperature
requests to be delayed.

This causes the drivetemp request to exceed its timeout of 1 second.

Signed-off-by: Russell Harmon <russ@har.mn>
Link: https://lore.kernel.org/r/20250115131340.3178988-1-russ@har.mn
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2025-01-15 06:22:13 -08:00
Raphael Gallais-Pou
f2809aa4f5 ahci: st: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr()
Letting the compiler remove these functions when the kernel is built
without CONFIG_PM_SLEEP support is simpler and less error prone than the
use of #ifdef based kernel configuration guards.

Signed-off-by: Raphael Gallais-Pou <rgallaispou@gmail.com>
Reviewed-by: Niklas Cassel <cassel@kernel.org>
Link: https://lore.kernel.org/r/20250109175427.64384-1-rgallaispou@gmail.com
Signed-off-by: Niklas Cassel <cassel@kernel.org>
2025-01-15 15:21:27 +01:00
Kazuhiro Abe
8d6bf2e105 hwmon: (acpi_power_meter) Fix a check for the return value of read_domain_devices().
After commit fabb1f813e ("hwmon: (acpi_power_meter) Fix fail to load
module on platform without _PMD method"),
the acpi_power_meter driver fails to load if the platform has _PMD method.

To address this, add a check for successful read_domain_devices().
Tested on Nvidia Grace machine.

Fixes: fabb1f813e ("hwmon: (acpi_power_meter) Fix fail to load module on platform without _PMD method")
Signed-off-by: Kazuhiro Abe <fj1078ii@aa.jp.fujitsu.com>
Link: https://lore.kernel.org/r/20250115073532.3211000-1-fj1078ii@aa.jp.fujitsu.com
[groeck: Dropped unnecessary () from expression]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2025-01-15 06:21:19 -08:00
Simon Trimmer
17615e4216
ASoC: Intel: sof_sdw: Fix DMI match for Lenovo 83JX, 83MC and 83NM
Update the DMI match for a Lenovo laptop to a new DMI identifier.

This laptop ships with a different DMI identifier to what was expected
and now has three match entries. It also has the DMICs connected to the
host rather than the cs42l43 codec.

Signed-off-by: Simon Trimmer <simont@opensource.cirrus.com>
Fixes: 83c062ae81 ("ASoC: Intel: sof_sdw: Add quirks for some new Lenovo laptops")
Reviewed-by: Liam Girdwood <liam.r.girdwood@intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://patch.msgid.link/20250102123335.256698-3-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2025-01-15 14:19:28 +00:00
Simon Trimmer
c9e05763f3
ASoC: Intel: sof_sdw: Fix DMI match for Lenovo 83LC
Update the DMI match for a Lenovo laptop to the new DMI identifier.

This laptop ships with a different DMI identifier to what was expected,
and also has the DMICs connected to the host rather than the cs42l43
codec.

Signed-off-by: Simon Trimmer <simont@opensource.cirrus.com>
Fixes: 83c062ae81 ("ASoC: Intel: sof_sdw: Add quirks for some new Lenovo laptops")
Reviewed-by: Liam Girdwood <liam.r.girdwood@intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://patch.msgid.link/20250102123335.256698-2-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2025-01-15 14:19:27 +00:00
Arnd Bergmann
14ade5aa1a Arm SCMI updates for 6.14
This mainly has 2 updates:
 1. Extension of the transport properties read from devicetree to support
    multiple SCMI platform/server instances
 2. Addition of the capability to automatically load the proper SCMI vendor
    protocol module. The vendor protocol selection is already provided by
    the SCMI core while the automatic loading of vendor protocols was not.
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEunHlEgbzHrJD3ZPhAEG6vDF+4pgFAmd2sQwACgkQAEG6vDF+
 4pgpoQ/+MOZtbUdOQq3VcR/6Fy4zT0+IQRHk58VdX2AxNg1N81ZjufNlL9RJyAaP
 TWAHus76Q8MN6lHqPf985XHZmLy4y/CYmB31tAfygIzl8Hz3uOXP3dQ7Km2mjDNi
 Die6aD01hK4MMAcRmksh5EW5YELOiN4t1zjA+qcz7oruM7/q1xr1JKgbZ2pXZeJH
 wyAIYSdxeWA3MTNbGLlpH8rME1eOTe4rdSzaYihtHm6eqYgLVYtOsdzbtXdr5XRa
 OxCZK5krf4e2QoXl6NAuvv/v+Zo6jN5JwKZ5Kik224seJffivDBRLBIj1C/k1ygq
 LbDxolR9PLXl/J0rP9LldgPCzNoSA/2ArO2n3XMsk8RljrywXQEjQw7VxOWM7WAs
 TzIn+I68NRp86SiQO6dBgN9X7vqkmXeo0EX9gVZzDn6WQ6vkaOJbP54gPzHgDQTB
 0tgPpdbR/aOM/URwqYFnY/iR2Bu6axEI3JKQm9sO9erU6sgIqizwZARJNtyj7HIt
 6fo4D8f9NZMMUEuzHkzYsMaKdmfVQcNFG+fBgKHJJ+rGv+zbue90JepJ/MNLJdz4
 N7jZidIW2qhM3aOeNLSakORHAk2F5jIc7nF1JaBJifYR+mW3mLgb4a6uaMPxmI4W
 aLMCC1r/1RnwgIk7X4q6w1qBUORM7Qu6HgRSarV+HS8CHPsgyJo=
 =ga0n
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmeHws4ACgkQYKtH/8kJ
 UidM0Q/8DXa8sk6JnZl/3Di4LEICPQEf6y+fOEFtSM+xAVX76oPVYpnDHo3BLqX+
 ehROGRYXWKJ2G5okmmAasWlNmbfi6WfrxzYLRwDyICD06grgkMHnmzA7exxgxrsY
 +PdjPUSB1+9MfJYgJLQpuFuvpFr9QfFAZ42Tzm528BJhrDbzabS4UhCS/21GL44u
 JzathnSrclhaq2gHUjxw97gU6schUYDk0v4m4T4rC8oVq/7xQpYlPDnJxjuoEI0X
 GJ1pkyVUY31HFTLXL3YHTCXhRheZQ4/7UfVR7SqBjCIeqjIAglYnNplCLGg8oInK
 IXF7fuP63CNJzadYTme8Xo8pTQmahRGk57YQ4Ev6MkEc3qOqMRXGhKCrtZkd2pAF
 uD5+BGkSJU3+Ij/fjpdpy6L9F5mpftvpBGb91AHEy1TdoHeYfvAY96V0EcZVz3QB
 e42FwRCoGX9olhql9cYV4iec1f8d8nV76f4SCmJtoyP86k3wIkks20gCTe3R5BZz
 L76hk0cH5Gy5yq5nCaZZ97/J9ds1Q0djD4xULx9fuMRE7y0P9JFIzNcukn5P7a7f
 scBwsMW92cDJ4b0l3SGtbT0znueKRPNk6xoMo1RiEbT5AEd/s76an3yxS3pVVd2/
 6uQKfQQ2cIFEnquym12Eq4PqbAJaTpGaGsitCpNak7JMm9uBMfQ=
 =ixTm
 -----END PGP SIGNATURE-----

Merge tag 'scmi-updates-6.14' of https://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux into soc/drivers

Arm SCMI updates for 6.14

This mainly has 2 updates:
1. Extension of the transport properties read from devicetree to support
   multiple SCMI platform/server instances
2. Addition of the capability to automatically load the proper SCMI vendor
   protocol module. The vendor protocol selection is already provided by
   the SCMI core while the automatic loading of vendor protocols was not.

* tag 'scmi-updates-6.14' of https://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux:
  firmware: arm_scmi: Add aliases to transport modules
  firmware: arm_scmi: Add module aliases to i.MX vendor protocols
  firmware: arm_scmi: Support vendor protocol modules autoloading
  firmware: arm_scmi: Allow transport properties for multiple instances

Link: https://lore.kernel.org/r/20250102154024.2168165-1-sudeep.holla@arm.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2025-01-15 15:14:38 +01:00
Arnd Bergmann
8de2819d07 Memory controller drivers for v6.14 - TI
TI AEMIF driver enhancements: some refactoring around timing
 parameters and finally adding plus exporting interfaces for devices
 using the AEMIF interface (e.g. TI Davinci NAND controller) to better
 configure the memory interface.
 
 The exported functions are going to be used by:
 drivers/mtd/nand/raw/davinci_nand.c
 -----BEGIN PGP SIGNATURE-----
 
 iQJEBAABCgAuFiEE3dJiKD0RGyM7briowTdm5oaLg9cFAmddXowQHGtyemtAa2Vy
 bmVsLm9yZwAKCRDBN2bmhouD15LAD/9E/LtoM//W6VHRIItF0AmYH7e2E4D2ECwl
 MQyLCsj4zieIg5TLlnZMC/P2P1BIZoerCPN4QC+M/r5NZrMfufZYNdlpY0sqpkd2
 CoW2w8TjN+PHpzOGncHvbxdD5h/SHS0cRoOqiTJmZXeVf4FCq7riv8piGyoontNC
 puzsSjjCOk/AHMHsHBVB3/VbWelvQbjq/qKyW/+aWl8tw3W+Ck4qiPcUMWXkLHhx
 FfsrsUXWqOP7di2zcwWx4N+rNJWuYaM6xv6FoTlkVAhc094vDE/uKvBbQcizX/fd
 1iMgUsvt6BpLGKbJ8G3ZBL/DY+ugJv5oC7Cql0AWi9/NjW/Yil9C2a0RqKl48TCW
 a4EeJrrXnocK5l0PDodQbyNL+D9c7tiwzs10/VEg2MnchaN8ZvdP/YfLICkJiXcF
 ZAio89mG6r/S/AAe05M1vKso1Le/D0Lhx5IiJ9MDnHvJ5Hw2JPnGs7Dcqq5Xm47K
 toY0kJmUfPZyAyavax7z1nGAAglpsXGN1m52AEoCcwMyU0DTamSUTf+a7pjKph78
 jrv1g2MB06kjGhXVT//8fS07C5b0v/Rn5CB2LgakgGsug1g6+YD0/rAylGNUTjHX
 Dx9lVDz8llr68OP+bdUOTO9mlx+t1gI6SVg9U9gUKHbr95xVhMlyRuwwmqwdsPK8
 U+8kZyAi9w==
 =uAGp
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmeHwhYACgkQYKtH/8kJ
 UidmTw//UEpTayeDW6qY7t55exNBe1CoZwXcRioyvBngXAbKzBG6sVZV2Z9NnMNB
 soSVSyiaNXv10zIxACEkVCrXExvbdoPPZ99rz7ZpZMjfltTRB5PnM0qjm8iouHc2
 RoJ4abDKq/frEKpNhLNrDWOKaO+g4t/Scu+6DIYaIin/Ndaax/d8vS3H6dprohgK
 l9no/58tZmXOU8HMCk/MjH1c6QPKkU3eMx1yIkiuabbcpeY5glMiy1tM3m56SxOV
 UAgECchsCvFIbkvbo3XAIkqqmhSdt4eIpGAdNrKJbSGzeuAeUTyKjbTbeQRNpf8/
 hcFVGv3E8uj/VDspHuX/bXNdQNvyl/XJi80Ztzs/HlFquqlX0zwx/uRqmFGq1muF
 4QUzuVyEAxQjBECeuBVT4DVQyXU5fSfwZSptf7LiX6TF+oj9j++lPZSVgjFytQO8
 nUhDxhf3ilcZCDSpKmQ1Cm01j7mHJarAdem5ac6E2jDX25PPZB48vjBugTbEi4q2
 ShIsNyrVAhpI8frynv255ndBCWNvRKZ51HE2VxJSFRC2zusS0JYt6Bs8+q8zpA3L
 HwalWhojazKeY36hrE8B6R/PQ7YncXBtYP1A/gXO7jmTNAAAjCS0PqobcCI6xDZk
 18+wWn+5F1X2mhUA04dM7WH0liVPdn2tJLEdx+zQpk1ChkLZE3U=
 =ELyQ
 -----END PGP SIGNATURE-----

Merge tag 'memory-controller-drv-ti-6.14' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-mem-ctrl into soc/drivers

Memory controller drivers for v6.14 - TI

TI AEMIF driver enhancements: some refactoring around timing
parameters and finally adding plus exporting interfaces for devices
using the AEMIF interface (e.g. TI Davinci NAND controller) to better
configure the memory interface.

The exported functions are going to be used by:
drivers/mtd/nand/raw/davinci_nand.c

* tag 'memory-controller-drv-ti-6.14' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-mem-ctrl:
  memory: ti-aemif: Export aemif_*_cs_timings()
  memory: ti-aemif: Create aemif_set_cs_timings()
  memory: ti-aemif: Create aemif_check_cs_timings()
  memory: ti-aemif: Wrap CS timings into a struct
  memory: ti-aemif: Remove unnecessary local variables
  memory: ti-aemif: Store timings parameter in number of cycles - 1

Link: https://lore.kernel.org/r/20241231133534.136771-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2025-01-15 15:11:34 +01:00
Arnd Bergmann
3292e5ac42 Memory controller drivers for v6.14
1. OMAP GPMC: Cleanup dead code.
 2. Tegra20 EMC: Fix OF reference counting when iterating over
    emc-tables.
 -----BEGIN PGP SIGNATURE-----
 
 iQJEBAABCgAuFiEE3dJiKD0RGyM7briowTdm5oaLg9cFAmdz8sQQHGtyemtAa2Vy
 bmVsLm9yZwAKCRDBN2bmhouD10slEACYKzDyDAzJe9XUtEIhqC7jH1S9f2OqpJwn
 6jRAq3j4EPe4aIucJqymLRpq8DCWog/giKp5WM3iRdAe2EoNwYaZB5zfFppiN0kW
 F679+IZ1XdV0YKelnHjraY2X3gugbOTmym/bPBbK8xOcvkRtGUtMAKEB2EXXY9dk
 rj2/YeFqEUQ141xuF35JNygHjJF3bZZKkb7bmhVuraFF1D5RFEwITaoPHo5Df3Ve
 RQm6eRlG7EvFdfhqb9JISLnq90CfDI5lHdKMH6jHdZ4xbtWFnNA8853QjzAkEeCq
 4xt//Ru/87ipLFSsKmrSKrZ2n5WLxl7LQFHQiZKOUwWjPM8CCYR0IdUCGtZETtSn
 XdWo5YSdDEmW2mb2XUexI/S1DnGXLLRAjkXDhAlkhyPKwCMgcWXjCqGnaVfe8gy4
 APNAix+hr/3/iZl0P3NLAsbRzqZ4cJP4Mdp01ppvVJNjHmybg/hm6vwyQKGvSSeI
 6ORjvRQjRcmRJeCP8D0UNX93W9zFxvuV3EJxOflVp/fidq/kCKkD86Ts7pqK9Wt/
 0EAr2i3tGWKAeyEBHHW9s/+lzniLb13r9ZbTObR6O1nhftAo8m+cOIbIjkDDLh+K
 v6gKZVLmwrS+OvLvE/T4qI5pBOszI3KI38rUn5YuZi00qU8S4YQJp/0OUfsN1FfM
 9xDRMtykrw==
 =3htL
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmeHwewACgkQYKtH/8kJ
 UidOVBAA08rXHbzU/35JQvduVfKSpndwLXHmostpaW1/ntrmnigqmuvX1iDQtHJ8
 RpYph57ScB/K9cUW7kXC58CzlzBrffj/oThCE2e2uF9pXoh8Z+f0YL9MD4SzOXNo
 thCTT9jp4f7Dz22h/L4bazLL+HW8hgElLfg2gls3GZ8RSNWlgeJ+8k0NcMrjNyYY
 Dd2ZGIasdxMnZJHRri/kFuFjNR3zsTp6LCMwzZL2n7IhjJKJcflnrqtU8g2m44N8
 tMYQuoA0/C1VeDN7vwc0SdqXPKjtBT6RjTrCMdq9Fyt9keX4+lIVdyKVZcbXWbjS
 k+jcEoGRmn//YgDUcx5JdhT/fBsi/pr6Qvj3s6piUjRdDsnUZcsCeAvDwIB5WrOo
 cjGCmN5S4Z6iupWF+tfEgruvKlF3ePmX775HZsOzCAV1uTIRVLF6Vd/ZkKa2zqMF
 gfQYeb/fpkp6fgdQZHTYU3FYo8dOe90xcOwZ/e2X+LxH0lRIEKR0avON5AFJs9IJ
 CIgTv+uDAqyE6xRDvO8EASeh3ghoDumaRorDblIkw0LxNoXgnBUUNWyskne/sflK
 F6Wm9ja1uM4QTTU620OcTs0gDh0TUwrE2XlZlFVddkL3X3hYt0fkx2YN432rG4rE
 YwDg6TWPxQ6H/BmejjqrYWs3Q2X57Q+O1skgAzjGZJDSBk9f1j8=
 =lr7/
 -----END PGP SIGNATURE-----

Merge tag 'memory-controller-drv-6.14' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-mem-ctrl into soc/drivers

Memory controller drivers for v6.14

1. OMAP GPMC: Cleanup dead code.
2. Tegra20 EMC: Fix OF reference counting when iterating over
   emc-tables.

* tag 'memory-controller-drv-6.14' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-mem-ctrl:
  memory: tegra20-emc: fix an OF node reference bug in tegra_emc_find_node_by_ram_code()
  memory: omap-gpmc: deadcode a pair of functions

Link: https://lore.kernel.org/r/20241231133534.136771-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2025-01-15 15:10:52 +01:00
Arnd Bergmann
384727c432 Fix format string for printing optee build_id
-----BEGIN PGP SIGNATURE-----
 
 iQJOBAABCgA4FiEEFV+gSSXZJY9ZyuB5LinzTIcAHJcFAmd2mr8aHGplbnMud2lr
 bGFuZGVyQGxpbmFyby5vcmcACgkQLinzTIcAHJdApBAAlJzsCortdtvLo6BsEA+4
 vSN81KgIUTUnDshPUbR0+H59i9QVrkifQIK4oUhfHzQDWEOhFnfE7Okpj1c02big
 NgM9WzfeZTqJ62N6XgfAauil0UBatZ7jFkDGOm2z9FLVARw8vXe8YN/ApGMOQD39
 PlpyJXtiyNV+pNZvMx7UKerNBMGAhxB453fdUkMEoMMU9KCDY+O4IFF3z4fRWUFL
 3Lsxx4IJoyADnIcb8OnwOyHf5lWzxtO0C6S+e8MBzusP66chAtKJrP20QYku7859
 TiHuuXBz5+yCR1TtHJVTgMcvSbkA0Bn0RcigzgX8S4CiX53V5DjGDeP0EdyQ850u
 IBXh146kXhLgP/H08aZmENmDPnpGvNRtQVATEFRBnDxkGZPxxr4x0mmLWv7KPLHo
 AoZ/BHEAAdeFlGx21KrHjjNj3AeAOVpm06XT65idLpIWfAQXHV42LJpc7fhtrm6+
 ueSC+zcwiM8aFUbkGlO59RK4Q4JEeRK5XiDh4rCa1hoe1Qs8WI12FmfEXosMon0e
 R2tAhd5RZdJaQa7Qt1WT5LDNTJeDWawd1glN3KDVZuT1jw6t3fnmXIQjsOGdz/uK
 PAiOxK2E5Dz4U3KpODLLlBizItf8cHNwoF7zHLsxT9DByGeSwABbCn7bCUVso1At
 edmBnB5Bppd8f2MQwmBCz5s=
 =FX1N
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmeHwcQACgkQYKtH/8kJ
 UicyYA//XgsYVTiSTZZ8boVQVQCzn+Ljsx0eJPxJItsvmD+WOa0vINFitX+R9GqA
 owbqxTQDGn8blbmBwCYzJHq4/BkyCMsx9vwRU2mpAbAWbTNtMKZm0zxnqsHPy1mb
 EsdK2OphhOKW4D9jhcXzGP2aEecXKYun+wAD2sU0vvhgSeUYZo6s+1rjjR4LvvUa
 gmeFOIpoHvy2asd2zJiNXBQlBZiJRIm5hX9A36zjMo4AXI/rBnXeDJrG8qBqpBp+
 g2pndvTvxsfcyhESSlR+SiqLBDQlZ6JIbUPOYh4y8/fWrkXyUBlItsF6ntDcgGtW
 hQ+arIGJ8M9x/dcIotyE6spZmbwCkkCUpZBjEWD9VErfGP9lJzZ5Vn8/hph8nQS8
 7BgyHVUdhZFvBDwdfayPViRU7zlacxYPEpx3esDw6hb+GFPhITi8mVHKhcmGJboe
 yYB4QazMBRie22i+VmqHUCimicC3hoS76+2L1chea03Z0sEZ/vnyeAljdKGTlJBV
 DTz9vnj2DHF+6HacPxsjmgTBHoWQAlZpPdKlt507tBTduForTW866oheTXnrWqmW
 24WvE7o3Z8KnzAnSAVUq/5pfurq+PuQ/fUxKGGN/ZYeBKyBTn4w40itLe1S2kF/A
 CI69DqMmstcKBZ4rYkL5MCK6ieaz+zzms785lbkMGiqSRmn7qgs=
 =4E8e
 -----END PGP SIGNATURE-----

Merge tag 'optee-for-v6.14' of https://git.linaro.org/people/jens.wiklander/linux-tee into soc/drivers

Fix format string for printing optee build_id

* tag 'optee-for-v6.14' of https://git.linaro.org/people/jens.wiklander/linux-tee:
  optee: fix format string for printing optee build_id

Link: https://lore.kernel.org/r/20250102140102.GA3082088@rayden
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2025-01-15 15:10:12 +01:00
Arnd Bergmann
fa8592f249 RISC-V config for v6.14
One patch, from Drew, enabling drivers in defconfig for the th1520.
 
 Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
 -----BEGIN PGP SIGNATURE-----
 
 iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZ4VrqQAKCRB4tDGHoIJi
 0ispAQDu5P/iHI7RPyue038arDw4SCo3xB3q093J3sJAhHSG9wD/QSiWHiWjlMhi
 /ni3Udzz5OGRfduNV06LAfTsrFtWXg0=
 =NaCR
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmeHwPIACgkQYKtH/8kJ
 Uie7iQ/+PtbAqLLyUUMW6SuL2tyiWEElRDMEyZxZknHtVmmKSRQjuJtFP6nM7+KZ
 +Rvp9EKyxCOrxc0g8gSWnNAMvoh6poBcmJrCdBu1t4JiwnUyfk6vKT5srexJ32Dj
 bCKqBGsITClx/oK6N9c1XZo2+m53AG0zNXiuOIeoD+ix201u9k4GLZOwCGukhBkA
 nzHyNnxsMCxTPgkQB+strzj+mPL+gryZT2wER/86C0F6//oHOZyPkPbm8mNB5HZi
 AVncLm0b2lAq0FJ6oJdpZfFK6ko5G1kMsv59+a3RVwoJDx4CHBMSig3Yx7Rl45El
 aBnQ4c0veUxvYSKdHHc4DBL0hhwla8RJWrdqjS1AIPlzc8JswPbNkeuF4zU42Dxw
 dd4BbdtvbML0b2jRJ8Yp+eYewL4eR6GYYDIWwZG+Rzv5qlfV8kXNI9Z4QIgtovrT
 69CEvLn79bGWwxKbmDm53RR0DSkkfi9Q6AjJ6u79iwTghhdS6KEwfMOUkZjDLcq0
 TzSzVXGWbxktO1CXHSuHuiIbDLSKvPc6RpwS2STOGyZfJxs81boazBuzxRn+BK0N
 vCfXgLvt1vY+/RWIjV+O2MdWYUe0JEnomJUE8YowhUfuvncPRnOuZMGqQaKqvmGx
 OnNpQ+OygvfSLoIirEKH+YrV1UaM11+c/Oue5xoy8A1OpS+I/pc=
 =kUdf
 -----END PGP SIGNATURE-----

Merge tag 'riscv-config-for-v6.14' of https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux into soc/defconfig

RISC-V config for v6.14

One patch, from Drew, enabling drivers in defconfig for the th1520.

Signed-off-by: Conor Dooley <conor.dooley@microchip.com>

* tag 'riscv-config-for-v6.14' of https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux:
  riscv: defconfig: enable pinctrl and dwmac support for TH1520

Link: https://lore.kernel.org/r/20250113-colt-retired-6f95df3dc197@spud
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2025-01-15 15:06:42 +01:00
Arnd Bergmann
71867d16d6 Qualcomm Arm64 defconfig updates for v6.14
Enable core drivers for SM8750, QCS8300, SA8775P, and QCS615. Enable the
 IPQ CMD PLL driver. Drop the 8650 display clock option, now that the
 driver has been consolidated with 8550.
 -----BEGIN PGP SIGNATURE-----
 
 iQJJBAABCAAzFiEEBd4DzF816k8JZtUlCx85Pw2ZrcUFAmeCqzEVHGFuZGVyc3Nv
 bkBrZXJuZWwub3JnAAoJEAsfOT8Nma3FdN8P/2DujQmBHZesLIYInlW9RHaTYcCR
 DlZ4rgM5xP0+Sfr1KoXNB0IzU0mhZpwE93NbD5Q4mrKiu+MkiO3meZxci81PjWD2
 Ikz91Lw2XPMvqKMZ0+iNB8yvI/DWfAYSKtS6efi2BIQkAMKSdGJFpL8RNTYKFZt4
 pGY+Sig4sTg5xXa6XNxolj2p05J4MEIC6/69sTdcxOLE70lpmKJiB7Bu/Gxbw0WJ
 SR9E27P/cCQMl4NPUfd4qMPM2vUpJ6UlKyXAt/9KQY2WTQns5sLl0e9er/ffB3c+
 WZ5h7dZERjsliO2jcWlml6nos/TeRLQDcvxpZiURjGUkFtAmJCIj06WAXQRm9hXV
 oN+6GtPz1wwk06fGhuFDo5oUBF2tRDKQxY1XTh2X4aPjXoD3uY0IHzyqctnXAeA7
 8KRexiqYSFx2UZZ8wxe0v7KNp/zk+DqJZ2oHpUAkn123vEdN0/hPXNr4mEUz5MaY
 NDxMCFNNIXRiLbE+Vr72AZmQ7GeG4xJchmC5RfpcS3qblK2ZOS3wnDPJmJTLWVmk
 Ozs94B29Wk9VlF9prHnBmq43sECjxuBOOvI3JdAvqIwNuY/GEGZEKO4laqIlDyiD
 5wvtRanY+td6GAsDTC6WcJnUKCGdWAjZI14osP6wws6PKepIjFdjHvY/Ms2G/K9+
 MvbM/E6c0IshxgWh
 =tmlI
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmeHwLsACgkQYKtH/8kJ
 Uicqug//Vy45ZnUgbWkzjlM2+E+lSnV5RXXLgJ0d/Izy/gZMfF22jpsIFQ5njNbE
 MIJo9UerkgBiLQTavriszbRERd2YnGlETtbn3MwBZ8+/U3TJjBtCUROnhho54dO7
 uo/j/LZ8psb0sQMScmmtJD7A4UvoLI679SbO7HNdQ2Fs+iQUhOC120XVQ8f0E+/o
 ePJHgMPCKgK2aZlQPXtZ+iI6tca813/phO0/RyrH9JGVAntegdZUMTGF2VIS8YSl
 tOg3i0wkCCvvOco4DcNE2DCWYkGcgHCxA8WksdaHwD7kwqci3uZwuGo8GopqM4kT
 yvFoTKjQKbJ9UXsJokMI5m/8kHeSEceprfOfHBVV6oV6TMkIJDG9R78b0oSKydZz
 FBOYLItXvDWkoZmvNiJ8mf18o/NZFKfpcRlIWbY1izPTpaJOwx/68Z/jmD5ENbIO
 zeGZgwuWalRrjQvSrA0mKrev7AHDV4voyesjJLiUEZhM7Sn20OSO5fgNK/80yQs0
 SCWC4CI38D7XRaVOvsirBgZxGZDvC26KG1SCNG6hN1/9DBj2WtnAsW7CsjsL2ErX
 UhKGuiY2jUH1vNicpwAMVwm5VdYKeI1bAd+ZYj6LJZyc6c10xLkDyQlVCvQ/oAix
 hBbLRP0uADTZzddb0+qWkNJgtMyQpy11pIgn0VISqdKQeHGVO78=
 =9FcT
 -----END PGP SIGNATURE-----

Merge tag 'qcom-arm64-defconfig-for-6.14' of https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux into soc/defconfig

Qualcomm Arm64 defconfig updates for v6.14

Enable core drivers for SM8750, QCS8300, SA8775P, and QCS615. Enable the
IPQ CMD PLL driver. Drop the 8650 display clock option, now that the
driver has been consolidated with 8550.

* tag 'qcom-arm64-defconfig-for-6.14' of https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux:
  arm64: defconfig: Enable Qualcomm IPQ CMN PLL clock controller
  arm64: defconfig: Enable basic Qualcomm SM8750 SoC drivers
  arm64: defconfig: remove obsolete CONFIG_SM_DISPCC_8650
  arm64: defconfig: enable clock controller, interconnect and pinctrl for QCS8300
  arm64: defconfig: Enable sa8775p clock controllers
  arm64: defconfig: enable clock controller, interconnect and pinctrl for QCS615

Link: https://lore.kernel.org/r/20250111173306.392204-1-andersson@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2025-01-15 15:05:47 +01:00
Arnd Bergmann
8dc9697921 Rockchip DRM extension for the DW-HDMI-QP controller and rfkill-gpio.
-----BEGIN PGP SIGNATURE-----
 
 iQFEBAABCAAuFiEE7v+35S2Q1vLNA3Lx86Z5yZzRHYEFAmeBspsQHGhlaWtvQHNu
 dGVjaC5kZQAKCRDzpnnJnNEdgX9KB/9Gs71ec3wMAnk73QE3PRbY/2XsXvqN73SW
 dKi4bjDFmEqNnVsb9V5nnDwCJYkJmUiZUBW12x7H6rA8oRAtCW6oTAKTBAn9f/LK
 SJu11PpKP+CdNlzGF0HECUflgloif5FOp3iWmr9xui17BZJNhyLsrpX2SLdsHbTa
 cbhL7UHydFnalCYZ+hyiR95OqiWSHZsvD4mPLNIv3gvRLPpW4L+FoU8+YswusBeh
 SnarDECmJFPGDeBgimN0979mmBlLTFbtc7MDPUKdtQBOsLcil6EEU0xOW542HUlq
 Hfqzwr/qhh+CLwKbmfAAnjobNFPe1nwhnrAVVNGL5QPL9wieUkEP
 =gnJw
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmeHwJkACgkQYKtH/8kJ
 UidkbQ//fRaQbK4u5oJ7s1liGUAN0EkZHL4QlustMXro3p+DOx9PakQtklwWyP04
 r2nhmKBNZBFJCqbLV5c6YPf50TFKVXikkM4KDmkcFySP+clE28XD9rLRysCKDN1v
 6IIOPCGmLsIyXdusH40uzXzDa7q6xUxLoQpP84SJ6iPWzLzXofkb+sk16hdRUgk0
 U3jgh5rqFPPxoget+7WGmjl1wC0GLIE3FAdituriTQPoyP5gIA2VsKV3avpxgsFt
 ingTF3B/h01PnyXUvxojf36iwf3FVHJ4Lsmnf62qqx1O647yAmY5eTzdXRWQ7nKk
 xl2N8mjV6T3V6nmXqeACPF7C2wzA7B9tTYhgR80ma+oNcavEGb38MVmZxqSJsxnQ
 kCqod9i2WYQFM2cmvv8yG1h2Y3z/vACuyJu2rj6KhJbKsHAXBGEl716DSEiYBH2q
 Bqhx8k9UXAiak5kil4MlAQCEbik01h/N3gUaWeW/Q4j2whzpTUZQvdBgLg2AO7x1
 ZFNmlc62c5xPyKFpHgDfZX8xLvr/LWDvKM2XFieZpflNSTxFiZfb4xWiJAoqbSgu
 htM8AjpF/GuGzpJzHP2I6q/c7eeB9xDC8po+tcReYfy+y4+1++y0L2R0KBTurDYx
 8rcWWKBwI1yEFIcOU4uUJ2NuLJQ9PahYxAvbb9atRAzlhcUIYAE=
 =ybWA
 -----END PGP SIGNATURE-----

Merge tag 'v6.14-rockchip-defconfig64-1' of https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into soc/defconfig

Rockchip DRM extension for the DW-HDMI-QP controller and rfkill-gpio.

* tag 'v6.14-rockchip-defconfig64-1' of https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip:
  arm64: defconfig: Enable Rockchip extensions for Synopsys DW HDMI QP
  arm64: defconfig: Enable RFKILL GPIO

Link: https://lore.kernel.org/r/3095859.687JKscXgg@diego
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2025-01-15 15:05:13 +01:00
Arnd Bergmann
5eb5d4c6d4 TI K3 defconfig updates for v6.14
- Enable M4F remote proc support for AM62x based platforms such as
   BeaglePlay, phyboard, verdin, SK etc.
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEE+KKGk1TrgjIXoxo03bWEnRc2JJ0FAmeBgvsACgkQ3bWEnRc2
 JJ1F5g/+NLen7Kbqu65RItexqEXL7k5pTzqJiOMinhFmxEE3NDhGsBUzJ5RZ1CiZ
 hOL70BKlgH/gnySB1WBgTARIrAlzYq/8YLNRX4YDO9LaYZIfTg+Huf8zY4Jca7nJ
 0AmwKRqQl5nvfpEfmBrr2w3jwp4yh9sUJ2d/dYmExw1DP1pkRcjCeCXkeR5/QhxI
 2ZDzLbxGF0l8rsU0R5L9bC1PXpVHmScwXwLdrfvrfKlp3DDG/IHVSdd0szFWfHbw
 2w93dJu3LdYro15Itvt5TZY9PviZ0CJCZaykUiCZq2s7UClwJFYALbQ1gDMxpbdB
 40125pb5uodGJ2Mv8zNGfiFwKQ7VPsWlNiSyzSzD9xvXGrgqppW1Hkr7iJ2X7Z2Q
 ORFTWYv4ylBMCR4RjgM1eK3hnU44jVmHu3Cfl/Pe3O+DWFIixLFgJoM6aRXJfWJ/
 1cnWULCjj0nHWYruRgME8KSLvRfC/+oh66PHkl6kWbyWzf5hPe62za9WDiTez7jz
 TzZbR9JOpgm9+DlXn4aPdrShnmqaiaPwUNfGFAzjgt2f/txJF27atxdHxeb/Hi04
 EOw4MyCPVcvEDi+oHynFv5vlQ2+Ig5m9/U7L20eJ+58aIwsHxji6r7NUu1dVZqyc
 wSWg5Gm7cQ1sE6raIsGGu6SXwYp5MDV/gj8pE/1xVlN4mO+Q3kw=
 =k5qL
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmeHwHcACgkQYKtH/8kJ
 UidV9xAAq8j4g90ON/pNaqYAXNP+uUf1B1WLy89tUWvuvRKoi3cgsVI3/LlsmJeG
 lRa9CA6Wd6AcVYRIensr2xSNrbXh2yXWlgiEPsTVgPgL0ms4EJFjHE0JRx4E16UC
 lL914qqeIGm/RrtZJEAgKJ8IJjSfUO3VID4Ce0ovXbw2IKdqQwwJ+J1CpPyJEjOb
 ywRDyjE3COCZmAwNTc5x1Z5DnwkHLTaWi4PjjFwCdS+Yv+HjAX4MydgVb8nEeLAr
 CnBgjFb2YFgw+dduU+QIFaYDRncsjiA7THb/wJ5Xd6eqTA/yJMqwehP6pEd54rbJ
 6zjpMkmSCCBOrSH5xrgjenLsSvwD3Q2QIofAhBMozu3B4Q0NRn9V2BABB96YRNe2
 r+9ZR/TuM+4ZDygPmMe5Fvcga5QnUhNe5/rhDiNKVc74sUV4v1zseryLJpJzN0rn
 u7XiJ6fOLyu4yrSdujoRsKZfw2LcU0W/aRfxmXik6/2e7NrD5Z6o3kx0owCilNPC
 kkyR0lKzgLr15ty5R3jFCGyjnjUNuzMBdkVDGyRF+HBm5FgzGBWrcp2djbgjK9UC
 zrupkNzvj8hzCH3894BLtq72xN8844wpgLlpvR+s0jhbm8KsDZcaP262S5aEoVqc
 HDwUw/e28jF2QjJbKY2aUlQFQLg5tGn1inUFA56JA5jG5rXaUV0=
 =MMhD
 -----END PGP SIGNATURE-----

Merge tag 'ti-k3-config-for-v6.14' of https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux into soc/defconfig

TI K3 defconfig updates for v6.14

- Enable M4F remote proc support for AM62x based platforms such as
  BeaglePlay, phyboard, verdin, SK etc.

* tag 'ti-k3-config-for-v6.14' of https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux:
  arm64: defconfig: Enable TI K3 M4 remoteproc driver

Link: https://lore.kernel.org/r/20250110210759.fd6a3ed7q52zkpnw@rogue
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2025-01-15 15:04:38 +01:00
Arnd Bergmann
499a3dda0b MediaTek soc defcofnig updates for v6.14
This enables building modules for the integrated Ethernet
 controllers (MediaTek STAR and MediaTek DWMAC Glue layer)
 found on various MediaTek SoCs, and building modules for
 enabling the sound card on MT8188 and DSP on MT8186.
 -----BEGIN PGP SIGNATURE-----
 
 iJ4EABYKAEYWIQQn3Xxr56ypAcSHzXSaNgTPrZeEeAUCZ35GBigcYW5nZWxvZ2lv
 YWNjaGluby5kZWxyZWdub0Bjb2xsYWJvcmEuY29tAAoJEJo2BM+tl4R4r30A/3JJ
 cWZhXgr/MlINWYu4beuDKnAEiOjd19y99ZFAzXmGAP9O1R1eWfz5mNLFlnILfjKx
 bCosuoehAeeo4F+ekewACg==
 =8DHX
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmeHwEgACgkQYKtH/8kJ
 UicFbRAAz5IjrcZRkx3e2qU4VqCMzSF93nNiRwVuOuWGMS7uPL49uN9zb76zpHuQ
 YN9tsgFLyHaHvyXmrTVArq1sVP2jASxdRbHS/AdVzysT+CqTROZ3Xh486nnFRu6p
 4gLn/uCZ2XreLFSI0S2D91nqG0mDjPeJbt4eVeTVAeskrEEOcFkN23ExPHNkAVOn
 WYdE6SB1vQdnLsIYmJAaxbIZ5/9THhLIWOFStZyw4bvpkXbTvP1kBFbGTb+ESLoN
 zIlisX5r8y/uBWby7wnJs1gCYURihFoLWJ0X9XE1mC7hwv6LVolSwUZt9aSPzTgd
 rZzf5eKLnmmpAjwPPtX0uM+IgpRVV3O9pWuPdojUgQoaoIuq667bVbzkIXWqAcHw
 H+bUKdrnvT4qrk4pOcB14qa3JbxoYYvlyQGvarplVxd4DSxu07GHNyWyBY1sU74q
 jGiO/Ef+rfc+UFJHbtIZJ+MsTnE1kpb4K+6wFhtbmhtT+/bdFJS9Gc9QrkzJjbjP
 7KolGathn9CHRhI6wv59os/NZNsgeJ9mWsXCvMB0+Ysg6sQ2aIwtcDHNCyMS65VU
 EqgNm8Ucn5ZIfBtvjmNjhQaAKexfTbc5qYEGDGhfDKVJTA+TtzXMeCEU8olt/1Dt
 vIOjn55kN0R87m5I+EKa6N8gIixmma7YU4sv0umZHXZ9S64Blcw=
 =0seW
 -----END PGP SIGNATURE-----

Merge tag 'mtk-defconfig-for-v6.14' of https://git.kernel.org/pub/scm/linux/kernel/git/mediatek/linux into soc/defconfig

MediaTek soc defcofnig updates for v6.14

This enables building modules for the integrated Ethernet
controllers (MediaTek STAR and MediaTek DWMAC Glue layer)
found on various MediaTek SoCs, and building modules for
enabling the sound card on MT8188 and DSP on MT8186.

* tag 'mtk-defconfig-for-v6.14' of https://git.kernel.org/pub/scm/linux/kernel/git/mediatek/linux:
  arm64: defconfig: Enable MediaTek DWMAC
  arm64: defconfig: Enable sound for MT8188
  arm64: defconfig: Enable MediaTek STAR Ethernet MAC

Link: https://lore.kernel.org/r/20250108100826.32458-3-angelogioacchino.delregno@collabora.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2025-01-15 15:03:52 +01:00
Arnd Bergmann
c036b52302 Microchip AT91 defconfig updates for v6.14
This update includes:
 - support for the SAMA7D65 SoC
 -----BEGIN PGP SIGNATURE-----
 
 iHUEABYKAB0WIQTsZ8eserC1pmhwqDmejrg/N2X7/QUCZ3qPPQAKCRCejrg/N2X7
 /RyjAP92fd8ptHKULIqWBg+FM37icXHUpfAGz8hlE5KmkMafUgD+NXgzHqbXfMsi
 MZ74H3KIzIAFZFcdBEV/ntUS9u/LHwo=
 =J4WY
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmeHv+UACgkQYKtH/8kJ
 Uif+/A//Z6aNhA4Xtrb8qe/oVs6WbvG2185tSqUOA17b166iN9EKuvP5JXprwZIp
 TxBJqKN6pgwzX83MTe+7po3DH0dGwWYvK0glxT7JHZLk9VObX2mz1lYcuf7IXgkh
 W6IAmRPt3MEfBzrBLW4bgR55o7oZAITs6eXlwE2fhX4u6ZCGAED7U5F2CN51S8by
 n5z8LhPagt/ZHxtOBLvA62anBpQs+s88Khe7n7nOzhlmcNWjp9pUHoGvLQRRzzoC
 rFt72ACoM+Ej5XPgLTrmPz85WfPaCnnh1AcU5uexZsgvZbw4u6X/HES8dxuPojlI
 63qXAxQH3r3zTIIaJ5Yvv2ldP/0DibYDLaKAGY7+BWAOD6gyH3D2L+hGjSfAmg+5
 pbTkCHCB67Adr7Uxfw3mIjtTua7CqVccOgWfrg/QYiyyp/eNTVwglfpA9ufvaI7u
 fq6vYfwpk4S472tXJZqA2ehE2N5ymnpFW1zXqR4zWckobuZ/xffqqioD8rT8VlnB
 4/CEfFBThxKbGW56OkUDwOABzSe85X2eAvBgeVCYD4IN/ijkQIKX4dqL0S22IgKm
 NVAv4cssLJeeNLPSbGpjTMlmQAUgDhODJ7MrJ8X5VzekNQZFcbpehKLIAitHQCt1
 cWjLox1OluLA88i8FJZwPTUsECUZD7/Ea2OGYKDoeqOrPZbNM5I=
 =cs4L
 -----END PGP SIGNATURE-----

Merge tag 'at91-defconfig-6.14' of https://git.kernel.org/pub/scm/linux/kernel/git/at91/linux into soc/defconfig

Microchip AT91 defconfig updates for v6.14

This update includes:
- support for the SAMA7D65 SoC

* tag 'at91-defconfig-6.14' of https://git.kernel.org/pub/scm/linux/kernel/git/at91/linux:
  ARM: configs: at91: sama7: add new SoC config

Link: https://lore.kernel.org/r/20250107081424.758980-1-claudiu.beznea@tuxon.dev
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2025-01-15 15:02:13 +01:00
Igor Belwon
f16d91d8fe
dt-bindings: soc: samsung: exynos-pmu: Add exynos990-pmu compatible
Add a dt-binding compatible for the Exynos990 PMU. It's compatible
with the Exynos7 PMU design. It handles system reboot, as well as
other system control registers (i.e registers for the USB PHY).

Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com>
Link: https://lore.kernel.org/r/20241204145559.524932-2-igor.belwon@mentallysanemainliners.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20241231131742.134329-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2025-01-15 15:01:47 +01:00
André Draszik
d2ca319822
arm64: defconfig: enable Maxim TCPCI driver
Enable the Maxim max33359 as this is used by the gs101-oriole (Google
Pixel 6) board.

Reviewed-by: Peter Griffin <peter.griffin@linaro.org>
Signed-off-by: André Draszik <andre.draszik@linaro.org>
Link: https://lore.kernel.org/r/20241203-gs101-phy-lanes-orientation-dts-v2-1-1412783a6b01@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20241231131742.134329-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2025-01-15 15:01:46 +01:00
Arnd Bergmann
029625d16a i.MX defconfig change for 6.14:
- Enable JC42 temperature sensor driver support in imx_v6_v7_defconfig
   (Alexander Stein)
 - Enable ITE IT6263 LVDS to HDMI converter driver support in arm64
   defconfig (Liu Ying)
 -----BEGIN PGP SIGNATURE-----
 
 iQFIBAABCgAyFiEEFmJXigPl4LoGSz08UFdYWoewfM4FAmd6VLAUHHNoYXduZ3Vv
 QGtlcm5lbC5vcmcACgkQUFdYWoewfM7CQAgAtyoaexFBMMfbu71q20SZmANCTZv8
 Utvqo2NAP21BVzdXMkPXp7+6Udu1DJzgRx9PehgxkdLd6sxRXYwaNJ7GT4OQKsYk
 qEU7n5y3r+y2eWK/VwOzCLt0M65uXgZM4OEa6X+UykjJrGOf1kuHQLtqfjzwEmyL
 4hbufipEu03s/kzuUHKPo8Sms5bVYm8cUmhOgMbXVb9BOHpGe9N8oAwwLfGnufiO
 MpIAIgF/oQN+zSHkB2BTf2KDlhb3QcmnvAT215ko0dzuvr26xJfLTVe1BpW1eDDf
 HDI0NUdKzO9PwyqNUmar8DpbfYRY6DoeeQJu7jLcSqifUuo6NukdM0O/mA==
 =s6xt
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmeHv7UACgkQYKtH/8kJ
 UifR7Q//VHr8wpwrOrWoqg2meHSstRPSFE7CBnxzx2/UMcJWt5z1FW4LGQGzKkbm
 8MkYMFi1sUDAUmE8kWVsBKWtnFAzhmrCPDmnkOOghMM4hKQLZKYTr/gB1aX4wLFv
 9m39svyB9XrFFUt5gARSHEJOcQBq9RUc7M5fEgL3OFNvnCOB3+VkNMTM8ZK4d+z8
 gVTwl0qRq1RhLccMuuYFLKelip/lcYGimomwC8dy34VOH1pQ1Lcdz/TYGzSV/3/b
 IC925bjK6U667+U+S87BM02chiGfhuvmID2k6iHKP2ex0x3RxHBarWtaH/KU0pjl
 1sticKaxiIxtgciJfvZGfycmtRPt23c5gHOnEHBq6aDy79WWvcm77vMBWk8oP377
 9scufK9jn1dlwL7FjD/FEBUHTZP+bz6jgBYiOaVRKxkYNIWVHS85ext7iFGKK21C
 BrjpUY4QwTQY38oyB4j09aSWqB99U8mIEEkbFq2ZtSHd6pVAQzA4fawhUNb9eULF
 VLH9MNEHEeRkyDoC15pvUmBN5RtGhAmbvbnFek49IBDSvwueomqq2oZlxROdh8BV
 6sLEUjBOBJtgQ0apxH20yDPWcyeGuaIUrmBk5xG7fe+xmIbXRixEciAvb8zlc7Pj
 Ba/bGikEUSw8MbpP9BQpLR+O2THkZK/sGoU5a2328eC2K34ecWc=
 =96XH
 -----END PGP SIGNATURE-----

Merge tag 'imx-defconfig-6.14' of https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux into soc/defconfig

i.MX defconfig change for 6.14:

- Enable JC42 temperature sensor driver support in imx_v6_v7_defconfig
  (Alexander Stein)
- Enable ITE IT6263 LVDS to HDMI converter driver support in arm64
  defconfig (Liu Ying)

* tag 'imx-defconfig-6.14' of https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux:
  arm64: defconfig: Enable ITE IT6263 driver
  ARM: imx_v6_v7_defconfig: enable JC42 for TQMa7x

Link: https://lore.kernel.org/r/20250105095139.714590-5-shawnguo2@yeah.net
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2025-01-15 15:01:25 +01:00
Patrice Chotard
90d96a1227
ARM: configs: stm32: Remove useless flags in STM32 defconfig
As stm32_defconfig is dedicated to STM32 MCUs, disable
CONFIG_COMMON_CLK_STM32MP flag which is only used by STM32 MPUs.

Disable CONFIG_SUSPEND, CONFIG_ADVISE_SYSCALLS, CONFIG_IO_URING
CONFIG_POSIX_TIMERS, CONFIG_GCC_PLUGINS, it will reduce the kernel
image size for these platforms which embed a low amount of memory.

Tested on STM32F746-DISCO board which embeds 8MB of memory.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20241220125506.3157268-5-patrice.chotard@foss.st.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2025-01-15 15:00:19 +01:00
Patrice Chotard
c1bfeadfd8
ARM: configs: stm32: Remove CRYPTO in STM32 defconfig
Running make savedefconfig highlights some useless flags.

Since 1c92d4a0ed ("ARM: configs: stm32: Enable MMC_ARMMMCI and EXT3_FS support")
CRYPTO is selected by EXT3_FS, so CRYPTO can be removed in stm32_defconfig.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20241220125506.3157268-4-patrice.chotard@foss.st.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2025-01-15 15:00:18 +01:00
Patrice Chotard
c556c3444a
ARM: configs: stm32: Clean STM32 defconfig
Running make savedefconfig highlights some useless flags.

Since 54a48aa3d558 ("Compiler Attributes: remove CONFIG_ENABLE_MUST_CHECK")
flag ENABLE_MUST_CHECK has been removed.

Since 35260cf545 ("Kconfig.debug: fix SCHED_DEBUG dependency")
SCHED_DEBUG depends on DEBUG_KERNEL and PROC_FS.
As PROC_FS is not set, SCHED_DEBUG reference can be removed.

Since 7801104268 ("scsi: bsg: Move bsg_scsi_ops to drivers/scsi/")
BLK_DEV_BSG depends on SCSI. As SCSI is not set, BLK_DEV_BSG reference
can be removed.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20241220125506.3157268-3-patrice.chotard@foss.st.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2025-01-15 15:00:18 +01:00
Patrice Chotard
8637f225c5
ARM: configs: stm32: Remove FLASH_MEM_BASE and FLASH_SIZE in STM32 defconfig
Running make savedefconfig highlights some useless flags.

Remove FLASH_MEM_BASE and FLASH_SIZE as these 2 flags are only
used by CPU_ARM740T,CPU_ARM940T and CPU_ARM946E which is not the
case here for CPU_V7M.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20241220125506.3157268-2-patrice.chotard@foss.st.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2025-01-15 15:00:18 +01:00
Arnd Bergmann
bc6a958d76 Reset controller fixes for v6.13
* Fix rzg2l-usb-vbus-regulator lookup by assigning the proper of node
   to the allocated platform device in the rzg2l-usbphy-ctrl driver.
 -----BEGIN PGP SIGNATURE-----
 
 iI0EABYIADUWIQRRO6F6WdpH1R0vGibVhaclGDdiwAUCZ4FSSRcccC56YWJlbEBw
 ZW5ndXRyb25peC5kZQAKCRDVhaclGDdiwB3JAP9Jyz2KjaLJpFfY6cpgVd/cxcIm
 X+1Hk2Aa7Nofecsd1gD5AX56C/2zpqeZ3yW6upzg0Dw7Kdfy9we/FFd2Kr1g/w8=
 =FnoZ
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmeHvv8ACgkQYKtH/8kJ
 UifxkRAAvhW3EbK0QkIYnwWyH3KIeMX2oNft88Um+OMswdgH3Z6TiFxIJdMFcMSD
 vfNB3tRc6BYaBYgs3WotdgVbnWDh89Zm7sZHWcyMpjgLO7HC+nnhKSemfZZejKlZ
 nmB5T6CKAbUluHxxLVnCyr+9FEnDtYMVRVAdtHD7gqinK0nJGUyyV6Y7JKG/yMxw
 u5zQiTsA1ZyunkT3eOOD0VfjHNTDOMNPpNjQ8F+FGrjYGFqM+ZpwfHULiv4fBQ+P
 yRxNVPgjpAnLu+08ka7Vh/JcBPS9BwQ3IsaLhKXkQMKAjro/3W4nx5uyvlICApZY
 /UbEkYMz4C/4FyyAaSsBI+zGkmx1bVIYdtOusiYRAtiyxRt0xERvf+3j+DHN9D7W
 vFS6gBJF9ncPQY2EfYzqGc+qzWcGUHt/4NgmvGvWJcYyH/QXr1TveFoLWMjEuxfF
 vjFlpSbsm1uv+gh1WDeqG0WYp+QX9sHwoB60fnx+dShSMl+GveTn5El2WULVsKrB
 LM+yJGbZSZHahr6QUqZhPaiAmr35khajuzF/zaFAOebJB5yTCUSJDO5F3X/cj87d
 IcnRFuhkOhGV58Ph9CTw/wgY6wv6uOJx1U4RwgsE4Z7AT7OziMA7sqUKWj8brRzy
 x8EkKPuJSDlfjkmlr1wOgjQwkzQiTL4R9pa7I3n/ld2wM1Bk6fk=
 =IC5G
 -----END PGP SIGNATURE-----

Merge tag 'reset-fixes-for-v6.13' of git://git.pengutronix.de/pza/linux into arm/fixes

Reset controller fixes for v6.13

* Fix rzg2l-usb-vbus-regulator lookup by assigning the proper of node
  to the allocated platform device in the rzg2l-usbphy-ctrl driver.

* tag 'reset-fixes-for-v6.13' of git://git.pengutronix.de/pza/linux:
  reset: rzg2l-usbphy-ctrl: Assign proper of node to the allocated device

Link: https://lore.kernel.org/r/20250113163642.1757160-1-p.zabel@pengutronix.de
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2025-01-15 14:58:22 +01:00
Dmitry Antipov
1a0d24775c wifi: cfg80211: adjust allocation of colocated AP data
In 'cfg80211_scan_6ghz()', an instances of 'struct cfg80211_colocated_ap'
are allocated as if they would have 'ssid' as trailing VLA member. Since
this is not so, extra IEEE80211_MAX_SSID_LEN bytes are not needed.
Briefly tested with KUnit.

Fixes: c8cb5b854b ("nl80211/cfg80211: support 6 GHz scanning")
Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
Link: https://patch.msgid.link/20250113155417.552587-1-dmantipov@yandex.ru
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2025-01-15 14:42:14 +01:00
Dan Carpenter
a4058dc1e7 wifi: mac80211: fix memory leak in ieee80211_mgd_assoc_ml_reconf()
Free the "data" allocation before returning on this error path.

Fixes: 36e05b0b83 ("wifi: mac80211: Support dynamic link addition and removal")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://patch.msgid.link/7ad826a7-7651-48e7-9589-7d2dc17417c2@stanley.mountain
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2025-01-15 14:39:32 +01:00
Matthew Auld
00728273bd drm/tests/buddy: fix build with unused prng
We no longer use the prng, which leads to the following warning:

drivers/gpu/drm/tests/drm_buddy_test.c: In function
‘drm_test_buddy_alloc_clear’:
drivers/gpu/drm/tests/drm_buddy_test.c:264:23: error: unused variable
‘prng’ [-Werror=unused-variable]
  264 |         DRM_RND_STATE(prng, random_seed);

v2 (Thomas)
 - Add Closes links

Reported-by: Jani Nikula <jani.nikula@intel.com>
Closes: https://lore.kernel.org/dri-devel/875xmggvcs.fsf@intel.com/
Reported-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Closes: https://lore.kernel.org/dri-devel/3f816555e6913fdbcb254523f65c98088d70581b.camel@intel.com/
Fixes: 8cb3a1e2b3 ("drm/buddy: Add a testcase to verify the multiroot fini")
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Arunpravin Paneer Selvam <Arunpravin.PaneerSelvam@amd.com>
Cc: Christian König <christian.koenig@amd.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Arunpravin Paneer Selvam <Arunpravin.PaneerSelvam@amd.com>
Signed-off-by: Arunpravin Paneer Selvam <Arunpravin.PaneerSelvam@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250115124941.155990-2-matthew.auld@intel.com
2025-01-15 19:01:35 +05:30
Martin Blumenstingl
e436d43551
ASoC: dapm: add support for preparing streams
Codec driver can implement .hw_params and/or .prepare from struct
snd_soc_dai_ops. For codec-to-codec links only the former (.hw_params)
callback has been called.

On platforms like Amlogic Meson8/8b/8m2 the SoC's sound card
(sound/soc/meson/gx-card.c) uses a codec-to-codec link for the HDMI
codec output because further digital routing is required after the
backend. The new DRM HDMI (audio) codec framework (which internally
uses sound/soc/codecs/hdmi-codec.c) relies on the .prepare callback
of the hdmi-codec to be called. Implement calls to
snd_soc_dai_prepare() so the .prepare callback is called. In this
case the mandatory part is the call to prepare the sink (which is
the hdmi-codec on those platforms). Also call snd_soc_dai_prepare()
for the source to stay consistent with the rest of the code (even
though it's not strictly necessary to make the DRM HDMI codec
framework work on Amlogic Meson8/8b/8m2).

For platforms or sound cards without a codec-to-codec link with
additional parameters (which applies to most hardware) this changes
nothing as the .prepare callback is already called via
snd_pcm_do_prepare() (as well as dpcm_fe_dai_prepare() and
dpcm_be_dai_prepare()) on those.

Suggested-by: Jerome Brunet <jbrunet@baylibre.com>
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Reviewed-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Link: https://patch.msgid.link/20250114215617.336105-3-martin.blumenstingl@googlemail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2025-01-15 13:11:19 +00:00
Martin Blumenstingl
d4e91adfc2
ASoC: soc-dai: add snd_soc_dai_prepare() and use it internally
Add a new snd_soc_dai_prepare() which can be used (in an upcoming patch)
by soc-dapm.c. Use this new function internally in
snd_soc_pcm_dai_prepare() to avoid duplicating code.

Suggested-by: Jerome Brunet <jbrunet@baylibre.com>
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Reviewed-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://patch.msgid.link/20250114215617.336105-2-martin.blumenstingl@googlemail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2025-01-15 13:11:18 +00:00
Laurentiu Mihalcea
04e97fa7dd
ASoC: simple-card-utils: fix priv->dai_props indexing
As of commit cb18cd2603 ("ASoC: soc-core: do rtd->id trick at
snd_soc_add_pcm_runtime()") the ID stored in the PCM runtime data can
no longer be safely used to index the priv->dai_props array. This is
because the ID may be modified during snd_soc_add_pcm_runtime(), thus
resulting in an ID that's no longer a valid array index.

To fix this, use the position of the dai_link stored inside the PCM
runtime data relative to the start of the dai_link array as index into
the priv->dai_props array.

Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://patch.msgid.link/20250114184314.3583-2-laurentiumihalcea111@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2025-01-15 13:11:12 +00:00
Mete Durlu
0d30871739 s390/diag: Add memory topology information via diag310
Introduce diag310 and memory topology related subcodes.
Provide memory topology information obtanied from diag310 to userspace
via diag ioctl.

Signed-off-by: Mete Durlu <meted@linux.ibm.com>
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
2025-01-15 13:59:08 +01:00
Al Viro
f7862dfef6 saner replacement for debugfs_rename()
Existing primitive has several problems:
	1) calling conventions are clumsy - it returns a dentry reference
that is either identical to its second argument or is an ERR_PTR(-E...);
in both cases no refcount changes happen.  Inconvenient for users and
bug-prone; it would be better to have it return 0 on success and -E... on
failure.
	2) it allows cross-directory moves; however, no such caller have
ever materialized and considering the way debugfs is used, it's unlikely
to happen in the future.  What's more, any such caller would have fun
issues to deal with wrt interplay with recursive removal.  It also makes
the calling conventions clumsier...
	3) tautological rename fails; the callers have no race-free way
to deal with that.
	4) new name must have been formed by the caller; quite a few
callers have it done by sprintf/kasprintf/etc., ending up with considerable
boilerplate.

Proposed replacement: int debugfs_change_name(dentry, fmt, ...).  All callers
convert to that easily, and it's simpler internally.

IMO debugfs_rename() should go; if we ever get a real-world use case for
cross-directory moves in debugfs, we can always look into the right way
to handle that.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Link: https://lore.kernel.org/r/20250112080705.141166-21-viro@zeniv.linux.org.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-01-15 13:14:37 +01:00
Al Viro
c2a3a216c7 orangefs-debugfs: don't mess with ->d_name
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Link: https://lore.kernel.org/r/20250112080705.141166-20-viro@zeniv.linux.org.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-01-15 13:14:37 +01:00
Al Viro
f526ca6bc1 octeontx2: don't mess with ->d_parent or ->d_parent->d_name
use debugfs_{create_file,get}_aux_num() instead.

[and for fsck sake, don't call variables filp - especially the
ones that are not even struct file *]

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Link: https://lore.kernel.org/r/20250112080705.141166-19-viro@zeniv.linux.org.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-01-15 13:14:37 +01:00
Al Viro
f22fa721ae arm_scmi: don't mess with ->d_parent->d_name
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Link: https://lore.kernel.org/r/20250112080705.141166-18-viro@zeniv.linux.org.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-01-15 13:14:37 +01:00
Al Viro
f9c8dbc829 slub: don't mess with ->d_name
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Link: https://lore.kernel.org/r/20250112080705.141166-17-viro@zeniv.linux.org.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-01-15 13:14:37 +01:00
Al Viro
74e5a20c93 sof-client-ipc-flood-test: don't mess with ->d_name
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Link: https://lore.kernel.org/r/20250112080705.141166-16-viro@zeniv.linux.org.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-01-15 13:14:37 +01:00
Al Viro
75a96701dc qat: don't mess with ->d_name
use debugfs_{create_file,get}_aux_num() instead.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Link: https://lore.kernel.org/r/20250112080705.141166-15-viro@zeniv.linux.org.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-01-15 13:14:37 +01:00
Al Viro
e777ba7bbd xhci: don't mess with ->d_iname
use debugs_{creat_file,get}_aux() instead

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Link: https://lore.kernel.org/r/20250112080705.141166-14-viro@zeniv.linux.org.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-01-15 13:14:37 +01:00
Al Viro
c63254a747 mtu3: don't mess wiht ->d_iname
use debugfs_{create_file,get}_aux() instead.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Link: https://lore.kernel.org/r/20250112080705.141166-13-viro@zeniv.linux.org.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-01-15 13:14:36 +01:00
Al Viro
c05fc27af6 greybus/camera - stop messing with ->d_iname
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Link: https://lore.kernel.org/r/20250112080705.141166-12-viro@zeniv.linux.org.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-01-15 13:14:36 +01:00
Al Viro
e12a76f07e mediatek: stop messing with ->d_iname
use debgufs_{create_file,get}_aux_num() instead.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Link: https://lore.kernel.org/r/20250112080705.141166-11-viro@zeniv.linux.org.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-01-15 13:14:36 +01:00
Al Viro
1eb87004d2 netdevsim: don't embed file_operations into your structs
Just use debugfs_get_aux() instead of debugfs_real_fops().

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Link: https://lore.kernel.org/r/20250112080705.141166-10-viro@zeniv.linux.org.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-01-15 13:14:36 +01:00
Al Viro
231e9f0512 b43legacy: make use of debugfs_get_aux()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Link: https://lore.kernel.org/r/20250112080705.141166-9-viro@zeniv.linux.org.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-01-15 13:14:36 +01:00
Al Viro
86d4ef6a39 b43: stop embedding struct file_operations into their objects
Use debugfs_get_aux() instead.  And switch to debugfs_short_fops, while we
are at it...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Link: https://lore.kernel.org/r/20250112080705.141166-8-viro@zeniv.linux.org.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-01-15 13:14:36 +01:00
Al Viro
a61af96799 carl9170: stop embedding file_operations into their objects
use debugfs_get_aux() instead; switch to debugfs_short_ops as well.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Link: https://lore.kernel.org/r/20250112080705.141166-7-viro@zeniv.linux.org.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-01-15 13:14:36 +01:00
Al Viro
d1433c7ba2 debugfs: take debugfs_short_fops definition out of ifdef
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Reviewed-by: Christian Brauner <brauner@kernel.org>
Link: https://lore.kernel.org/r/20250112080705.141166-6-viro@zeniv.linux.org.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-01-15 13:14:36 +01:00
Al Viro
12c9209893 debugfs: allow to store an additional opaque pointer at file creation
Set by debugfs_create_file_aux(name, mode, parent, data, aux, fops).
Plain debugfs_create_file() has it set to NULL.
Accessed by debugfs_get_aux(file).

Convenience macros for numeric opaque data - debugfs_create_file_aux_num
and debugfs_get_aux_num, resp.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Reviewed-by: Christian Brauner <brauner@kernel.org>
Link: https://lore.kernel.org/r/20250112080705.141166-5-viro@zeniv.linux.org.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-01-15 13:14:36 +01:00
Al Viro
95688800ee debugfs: don't mess with bits in ->d_fsdata
The reason we need that crap is the dual use ->d_fsdata has there -
it's both holding a debugfs_fsdata reference after the first
debugfs_file_get() (actually, after the call of proxy ->open())
*and* it serves as a place to stash a reference to real file_operations
from object creation to the first open.  Oh, and it's triple use,
actually - that stashed reference might be to debugfs_short_fops.

Bugger that for a game of solidiers - just put the operations
reference into debugfs-private augmentation of inode.  And split
debugfs_full_file_operations into full and short cases, so that
debugfs_get_file() could tell one from another.

Voila - ->d_fsdata holds NULL until the first (successful) debugfs_get_file()
and a reference to struct debugfs_fsdata afterwards.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Reviewed-by: Christian Brauner <brauner@kernel.org>
Link: https://lore.kernel.org/r/20250112080705.141166-4-viro@zeniv.linux.org.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-01-15 13:14:35 +01:00
Al Viro
41a0ecc099 debugfs: get rid of dynamically allocation proxy_ops
All it takes is having full_proxy_open() collect the information
about available methods and store it in debugfs_fsdata.

Wrappers are called only after full_proxy_open() has succeeded
calling debugfs_get_file(), so they are guaranteed to have
->d_fsdata already pointing to debugfs_fsdata.

As the result, they can check if method is absent and bugger off
early, without any atomic operations, etc. - same effect as what
we'd have from NULL method.  Which makes the entire proxy_fops
contents unconditional, making it completely pointless - we can
just put those methods (unconditionally) into
debugfs_full_proxy_file_operations and forget about dynamic
allocation, replace_fops, etc.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Reviewed-by: Christian Brauner <brauner@kernel.org>
Link: https://lore.kernel.org/r/20250112080705.141166-3-viro@zeniv.linux.org.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-01-15 13:14:35 +01:00
Al Viro
bacaaf833e debugfs: move ->automount into debugfs_inode_info
... and don't bother with debugfs_fsdata for those.  Life's
simpler that way...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Reviewed-by: Christian Brauner <brauner@kernel.org>
Link: https://lore.kernel.org/r/20250112080705.141166-2-viro@zeniv.linux.org.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-01-15 13:14:35 +01:00