linux/drivers/mfd
Linus Torvalds b6a7828502 modules-6.4-rc1
The summary of the changes for this pull requests is:
 
  * Song Liu's new struct module_memory replacement
  * Nick Alcock's MODULE_LICENSE() removal for non-modules
  * My cleanups and enhancements to reduce the areas where we vmalloc
    module memory for duplicates, and the respective debug code which
    proves the remaining vmalloc pressure comes from userspace.
 
 Most of the changes have been in linux-next for quite some time except
 the minor fixes I made to check if a module was already loaded
 prior to allocating the final module memory with vmalloc and the
 respective debug code it introduces to help clarify the issue. Although
 the functional change is small it is rather safe as it can only *help*
 reduce vmalloc space for duplicates and is confirmed to fix a bootup
 issue with over 400 CPUs with KASAN enabled. I don't expect stable
 kernels to pick up that fix as the cleanups would have also had to have
 been picked up. Folks on larger CPU systems with modules will want to
 just upgrade if vmalloc space has been an issue on bootup.
 
 Given the size of this request, here's some more elaborate details
 on this pull request.
 
 The functional change change in this pull request is the very first
 patch from Song Liu which replaces the struct module_layout with a new
 struct module memory. The old data structure tried to put together all
 types of supported module memory types in one data structure, the new
 one abstracts the differences in memory types in a module to allow each
 one to provide their own set of details. This paves the way in the
 future so we can deal with them in a cleaner way. If you look at changes
 they also provide a nice cleanup of how we handle these different memory
 areas in a module. This change has been in linux-next since before the
 merge window opened for v6.3 so to provide more than a full kernel cycle
 of testing. It's a good thing as quite a bit of fixes have been found
 for it.
 
 Jason Baron then made dynamic debug a first class citizen module user by
 using module notifier callbacks to allocate / remove module specific
 dynamic debug information.
 
 Nick Alcock has done quite a bit of work cross-tree to remove module
 license tags from things which cannot possibly be module at my request
 so to:
 
   a) help him with his longer term tooling goals which require a
      deterministic evaluation if a piece a symbol code could ever be
      part of a module or not. But quite recently it is has been made
      clear that tooling is not the only one that would benefit.
      Disambiguating symbols also helps efforts such as live patching,
      kprobes and BPF, but for other reasons and R&D on this area
      is active with no clear solution in sight.
 
   b) help us inch closer to the now generally accepted long term goal
      of automating all the MODULE_LICENSE() tags from SPDX license tags
 
 In so far as a) is concerned, although module license tags are a no-op
 for non-modules, tools which would want create a mapping of possible
 modules can only rely on the module license tag after the commit
 8b41fc4454 ("kbuild: create modules.builtin without Makefile.modbuiltin
 or tristate.conf").  Nick has been working on this *for years* and
 AFAICT I was the only one to suggest two alternatives to this approach
 for tooling. The complexity in one of my suggested approaches lies in
 that we'd need a possible-obj-m and a could-be-module which would check
 if the object being built is part of any kconfig build which could ever
 lead to it being part of a module, and if so define a new define
 -DPOSSIBLE_MODULE [0]. A more obvious yet theoretical approach I've
 suggested would be to have a tristate in kconfig imply the same new
 -DPOSSIBLE_MODULE as well but that means getting kconfig symbol names
 mapping to modules always, and I don't think that's the case today. I am
 not aware of Nick or anyone exploring either of these options. Quite
 recently Josh Poimboeuf has pointed out that live patching, kprobes and
 BPF would benefit from resolving some part of the disambiguation as
 well but for other reasons. The function granularity KASLR (fgkaslr)
 patches were mentioned but Joe Lawrence has clarified this effort has
 been dropped with no clear solution in sight [1].
 
 In the meantime removing module license tags from code which could never
 be modules is welcomed for both objectives mentioned above. Some
 developers have also welcomed these changes as it has helped clarify
 when a module was never possible and they forgot to clean this up,
 and so you'll see quite a bit of Nick's patches in other pull
 requests for this merge window. I just picked up the stragglers after
 rc3. LWN has good coverage on the motivation behind this work [2] and
 the typical cross-tree issues he ran into along the way. The only
 concrete blocker issue he ran into was that we should not remove the
 MODULE_LICENSE() tags from files which have no SPDX tags yet, even if
 they can never be modules. Nick ended up giving up on his efforts due
 to having to do this vetting and backlash he ran into from folks who
 really did *not understand* the core of the issue nor were providing
 any alternative / guidance. I've gone through his changes and dropped
 the patches which dropped the module license tags where an SPDX
 license tag was missing, it only consisted of 11 drivers.  To see
 if a pull request deals with a file which lacks SPDX tags you
 can just use:
 
   ./scripts/spdxcheck.py -f \
 	$(git diff --name-only commid-id | xargs echo)
 
 You'll see a core module file in this pull request for the above,
 but that's not related to his changes. WE just need to add the SPDX
 license tag for the kernel/module/kmod.c file in the future but
 it demonstrates the effectiveness of the script.
 
 Most of Nick's changes were spread out through different trees,
 and I just picked up the slack after rc3 for the last kernel was out.
 Those changes have been in linux-next for over two weeks.
 
 The cleanups, debug code I added and final fix I added for modules
 were motivated by David Hildenbrand's report of boot failing on
 a systems with over 400 CPUs when KASAN was enabled due to running
 out of virtual memory space. Although the functional change only
 consists of 3 lines in the patch "module: avoid allocation if module is
 already present and ready", proving that this was the best we can
 do on the modules side took quite a bit of effort and new debug code.
 
 The initial cleanups I did on the modules side of things has been
 in linux-next since around rc3 of the last kernel, the actual final
 fix for and debug code however have only been in linux-next for about a
 week or so but I think it is worth getting that code in for this merge
 window as it does help fix / prove / evaluate the issues reported
 with larger number of CPUs. Userspace is not yet fixed as it is taking
 a bit of time for folks to understand the crux of the issue and find a
 proper resolution. Worst come to worst, I have a kludge-of-concept [3]
 of how to make kernel_read*() calls for modules unique / converge them,
 but I'm currently inclined to just see if userspace can fix this
 instead.
 
 [0] https://lore.kernel.org/all/Y/kXDqW+7d71C4wz@bombadil.infradead.org/
 [1] https://lkml.kernel.org/r/025f2151-ce7c-5630-9b90-98742c97ac65@redhat.com
 [2] https://lwn.net/Articles/927569/
 [3] https://lkml.kernel.org/r/20230414052840.1994456-3-mcgrof@kernel.org
 -----BEGIN PGP SIGNATURE-----
 
 iQJGBAABCgAwFiEENnNq2KuOejlQLZofziMdCjCSiKcFAmRG4m0SHG1jZ3JvZkBr
 ZXJuZWwub3JnAAoJEM4jHQowkoinQ2oP/0xlvKwJg6Ey8fHZF0qv8VOskE80zoLF
 hMazU3xfqLA+1TQvouW1YBxt3jwS3t1Ehs+NrV+nY9Yzcm0MzRX/n3fASJVe7nRr
 oqWWQU+voYl5Pw1xsfdp6C8IXpBQorpYby3Vp0MAMoZyl2W2YrNo36NV488wM9KC
 jD4HF5Z6xpnPSZTRR7AgW9mo7FdAtxPeKJ76Bch7lH8U6omT7n36WqTw+5B1eAYU
 YTOvrjRs294oqmWE+LeebyiOOXhH/yEYx4JNQgCwPdxwnRiGJWKsk5va0hRApqF/
 WW8dIqdEnjsa84lCuxnmWgbcPK8cgmlO0rT0DyneACCldNlldCW1LJ0HOwLk9pea
 p3JFAsBL7TKue4Tos6I7/4rx1ufyBGGIigqw9/VX5g0Iif+3BhWnqKRfz+p9wiMa
 Fl7cU6u7yC68CHu1HBSisK16cYMCPeOnTSd89upHj8JU/t74O6k/ARvjrQ9qmNUt
 c5U+OY+WpNJ1nXQydhY/yIDhFdYg8SSpNuIO90r4L8/8jRQYXNG80FDd1UtvVDuy
 eq0r2yZ8C0XHSlOT9QHaua/tWV/aaKtyC/c0hDRrigfUrq8UOlGujMXbUnrmrWJI
 tLJLAc7ePWAAoZXGSHrt0U27l029GzLwRdKqJ6kkDANVnTeOdV+mmBg9zGh3/Mp6
 agiwdHUMVN7X
 =56WK
 -----END PGP SIGNATURE-----

Merge tag 'modules-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux

Pull module updates from Luis Chamberlain:
 "The summary of the changes for this pull requests is:

   - Song Liu's new struct module_memory replacement

   - Nick Alcock's MODULE_LICENSE() removal for non-modules

   - My cleanups and enhancements to reduce the areas where we vmalloc
     module memory for duplicates, and the respective debug code which
     proves the remaining vmalloc pressure comes from userspace.

  Most of the changes have been in linux-next for quite some time except
  the minor fixes I made to check if a module was already loaded prior
  to allocating the final module memory with vmalloc and the respective
  debug code it introduces to help clarify the issue. Although the
  functional change is small it is rather safe as it can only *help*
  reduce vmalloc space for duplicates and is confirmed to fix a bootup
  issue with over 400 CPUs with KASAN enabled. I don't expect stable
  kernels to pick up that fix as the cleanups would have also had to
  have been picked up. Folks on larger CPU systems with modules will
  want to just upgrade if vmalloc space has been an issue on bootup.

  Given the size of this request, here's some more elaborate details:

  The functional change change in this pull request is the very first
  patch from Song Liu which replaces the 'struct module_layout' with a
  new 'struct module_memory'. The old data structure tried to put
  together all types of supported module memory types in one data
  structure, the new one abstracts the differences in memory types in a
  module to allow each one to provide their own set of details. This
  paves the way in the future so we can deal with them in a cleaner way.
  If you look at changes they also provide a nice cleanup of how we
  handle these different memory areas in a module. This change has been
  in linux-next since before the merge window opened for v6.3 so to
  provide more than a full kernel cycle of testing. It's a good thing as
  quite a bit of fixes have been found for it.

  Jason Baron then made dynamic debug a first class citizen module user
  by using module notifier callbacks to allocate / remove module
  specific dynamic debug information.

  Nick Alcock has done quite a bit of work cross-tree to remove module
  license tags from things which cannot possibly be module at my request
  so to:

   a) help him with his longer term tooling goals which require a
      deterministic evaluation if a piece a symbol code could ever be
      part of a module or not. But quite recently it is has been made
      clear that tooling is not the only one that would benefit.
      Disambiguating symbols also helps efforts such as live patching,
      kprobes and BPF, but for other reasons and R&D on this area is
      active with no clear solution in sight.

   b) help us inch closer to the now generally accepted long term goal
      of automating all the MODULE_LICENSE() tags from SPDX license tags

  In so far as a) is concerned, although module license tags are a no-op
  for non-modules, tools which would want create a mapping of possible
  modules can only rely on the module license tag after the commit
  8b41fc4454 ("kbuild: create modules.builtin without
  Makefile.modbuiltin or tristate.conf").

  Nick has been working on this *for years* and AFAICT I was the only
  one to suggest two alternatives to this approach for tooling. The
  complexity in one of my suggested approaches lies in that we'd need a
  possible-obj-m and a could-be-module which would check if the object
  being built is part of any kconfig build which could ever lead to it
  being part of a module, and if so define a new define
  -DPOSSIBLE_MODULE [0].

  A more obvious yet theoretical approach I've suggested would be to
  have a tristate in kconfig imply the same new -DPOSSIBLE_MODULE as
  well but that means getting kconfig symbol names mapping to modules
  always, and I don't think that's the case today. I am not aware of
  Nick or anyone exploring either of these options. Quite recently Josh
  Poimboeuf has pointed out that live patching, kprobes and BPF would
  benefit from resolving some part of the disambiguation as well but for
  other reasons. The function granularity KASLR (fgkaslr) patches were
  mentioned but Joe Lawrence has clarified this effort has been dropped
  with no clear solution in sight [1].

  In the meantime removing module license tags from code which could
  never be modules is welcomed for both objectives mentioned above. Some
  developers have also welcomed these changes as it has helped clarify
  when a module was never possible and they forgot to clean this up, and
  so you'll see quite a bit of Nick's patches in other pull requests for
  this merge window. I just picked up the stragglers after rc3. LWN has
  good coverage on the motivation behind this work [2] and the typical
  cross-tree issues he ran into along the way. The only concrete blocker
  issue he ran into was that we should not remove the MODULE_LICENSE()
  tags from files which have no SPDX tags yet, even if they can never be
  modules. Nick ended up giving up on his efforts due to having to do
  this vetting and backlash he ran into from folks who really did *not
  understand* the core of the issue nor were providing any alternative /
  guidance. I've gone through his changes and dropped the patches which
  dropped the module license tags where an SPDX license tag was missing,
  it only consisted of 11 drivers. To see if a pull request deals with a
  file which lacks SPDX tags you can just use:

    ./scripts/spdxcheck.py -f \
	$(git diff --name-only commid-id | xargs echo)

  You'll see a core module file in this pull request for the above, but
  that's not related to his changes. WE just need to add the SPDX
  license tag for the kernel/module/kmod.c file in the future but it
  demonstrates the effectiveness of the script.

  Most of Nick's changes were spread out through different trees, and I
  just picked up the slack after rc3 for the last kernel was out. Those
  changes have been in linux-next for over two weeks.

  The cleanups, debug code I added and final fix I added for modules
  were motivated by David Hildenbrand's report of boot failing on a
  systems with over 400 CPUs when KASAN was enabled due to running out
  of virtual memory space. Although the functional change only consists
  of 3 lines in the patch "module: avoid allocation if module is already
  present and ready", proving that this was the best we can do on the
  modules side took quite a bit of effort and new debug code.

  The initial cleanups I did on the modules side of things has been in
  linux-next since around rc3 of the last kernel, the actual final fix
  for and debug code however have only been in linux-next for about a
  week or so but I think it is worth getting that code in for this merge
  window as it does help fix / prove / evaluate the issues reported with
  larger number of CPUs. Userspace is not yet fixed as it is taking a
  bit of time for folks to understand the crux of the issue and find a
  proper resolution. Worst come to worst, I have a kludge-of-concept [3]
  of how to make kernel_read*() calls for modules unique / converge
  them, but I'm currently inclined to just see if userspace can fix this
  instead"

Link: https://lore.kernel.org/all/Y/kXDqW+7d71C4wz@bombadil.infradead.org/ [0]
Link: https://lkml.kernel.org/r/025f2151-ce7c-5630-9b90-98742c97ac65@redhat.com [1]
Link: https://lwn.net/Articles/927569/ [2]
Link: https://lkml.kernel.org/r/20230414052840.1994456-3-mcgrof@kernel.org [3]

* tag 'modules-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux: (121 commits)
  module: add debugging auto-load duplicate module support
  module: stats: fix invalid_mod_bytes typo
  module: remove use of uninitialized variable len
  module: fix building stats for 32-bit targets
  module: stats: include uapi/linux/module.h
  module: avoid allocation if module is already present and ready
  module: add debug stats to help identify memory pressure
  module: extract patient module check into helper
  modules/kmod: replace implementation with a semaphore
  Change DEFINE_SEMAPHORE() to take a number argument
  module: fix kmemleak annotations for non init ELF sections
  module: Ignore L0 and rename is_arm_mapping_symbol()
  module: Move is_arm_mapping_symbol() to module_symbol.h
  module: Sync code of is_arm_mapping_symbol()
  scripts/gdb: use mem instead of core_layout to get the module address
  interconnect: remove module-related code
  interconnect: remove MODULE_LICENSE in non-modules
  zswap: remove MODULE_LICENSE in non-modules
  zpool: remove MODULE_LICENSE in non-modules
  x86/mm/dump_pagetables: remove MODULE_LICENSE in non-modules
  ...
2023-04-27 16:36:55 -07:00
..
88pm80x.c mfd: 88pm80x: Remove #ifdef guards for PM related functions 2022-12-07 13:28:10 +00:00
88pm800.c mfd: 88pm800: Replace irqchip mask_invert with unmask_base 2022-12-07 13:28:13 +00:00
88pm805.c mfd: 88pm80x: Remove #ifdef guards for PM related functions 2022-12-07 13:28:10 +00:00
88pm860x-core.c mfd: 88pm860x: Remove #ifdef guards for PM related functions 2022-12-07 13:28:11 +00:00
88pm860x-i2c.c
aat2870-core.c mfd: aat2870: Remove #ifdef guards for PM related functions 2022-12-07 13:28:10 +00:00
ab8500-core.c mfd: Use platform_get_irq() to get the interrupt 2022-03-23 14:51:51 +00:00
ab8500-sysctrl.c
abx500-core.c
ac100.c
acer-ec-a500.c i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
act8945a.c mfd: act8945a: Convert to i2c's .probe_new() 2022-12-07 13:27:20 +00:00
adp5520.c mfd: adp5520: Remove #ifdef guards for PM related functions 2022-12-07 13:28:10 +00:00
altera-a10sr.c mfd: altera-a10sr: Include linux/module.h 2021-11-05 14:40:26 +00:00
altera-sysmgr.c mfd: altera-sysmgr: remove MODULE_LICENSE in non-modules 2023-04-13 13:13:50 -07:00
arizona-core.c mfd: arizona: Use pm_runtime_resume_and_get() to prevent refcnt leak 2023-02-22 08:25:53 +00:00
arizona-i2c.c mfd: arizona: Remove #ifdef guards for PM related functions 2022-12-07 13:28:12 +00:00
arizona-irq.c mfd: arizona: Fix rumtime PM imbalance on error 2021-04-14 16:06:40 +01:00
arizona-spi.c mfd: arizona: Remove #ifdef guards for PM related functions 2022-12-07 13:28:12 +00:00
arizona.h mfd: arizona: Split of_match table into I2C and SPI versions 2021-11-05 14:40:26 +00:00
as3711.c mfd: as3711: Convert to i2c's .probe_new() 2022-12-07 13:27:20 +00:00
as3722.c mfd: as3722: Convert to i2c's .probe_new() 2022-12-07 13:27:20 +00:00
at91-usart.c mfd: at91-usart: Do not use compatible to register child devices 2020-11-19 08:34:22 +00:00
atc260x-core.c mfd: atc260x: Replace irqchip mask_invert with unmask_base 2022-12-07 13:28:13 +00:00
atc260x-i2c.c mfd: atc260x-i2c: Convert to i2c's .probe_new() 2022-12-07 13:27:20 +00:00
atmel-flexcom.c mfd: atmel-flexcom: Fix compilation warning 2022-03-23 14:51:38 +00:00
atmel-hlcdc.c
atmel-smc.c mfd: remove reference to AVR32 architecture in atmel-smc.c 2022-08-03 11:03:03 +02:00
axp20x-i2c.c mfd: axp20x-i2c: Convert to i2c's .probe_new() 2022-12-07 13:27:20 +00:00
axp20x-rsb.c mfd/bus: sunxi-rsb: Make .remove() callback return void 2021-01-15 13:23:36 +00:00
axp20x.c mfd: axp20x: Switch to the sys-off handler API 2023-02-22 08:25:52 +00:00
bcm590xx.c mfd: bcm590xx: Convert to i2c's .probe_new() 2022-12-07 13:27:20 +00:00
bcm2835-pm.c mfd: bcm2835-pm: Add support for BCM2711 2022-07-04 11:42:20 +01:00
bd9571mwv.c mfd: bd9571mwv: Convert to i2c's .probe_new() 2022-12-07 13:27:20 +00:00
cros_ec_dev.c drivers: remove struct module * setting from struct class 2023-03-17 15:16:27 +01:00
cs47l15-tables.c
cs47l24-tables.c
cs47l35-tables.c
cs47l85-tables.c
cs47l90-tables.c
cs47l92-tables.c
cs5535-mfd.c
da903x.c mfd: da903x: Convert to i2c's .probe_new() 2022-12-07 13:27:21 +00:00
da9052-core.c
da9052-i2c.c mfd: da9052-i2c: Convert to i2c's .probe_new() 2022-12-07 13:27:21 +00:00
da9052-irq.c
da9052-spi.c spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
da9055-core.c mfd: da9055: Use DEFINE_RES_IRQ_NAMED() to simplify code 2021-06-02 10:51:19 +01:00
da9055-i2c.c mfd: da9055-i2c: Convert to i2c's .probe_new() 2022-12-07 13:27:21 +00:00
da9062-core.c mfd: da9062-core: Convert to i2c's .probe_new() 2022-12-07 13:27:21 +00:00
da9063-core.c mfd: da9xxx-core: Constify static struct resource 2020-11-19 08:34:21 +00:00
da9063-i2c.c mfd: da9063-i2c: Convert to i2c's .probe_new() 2022-12-07 13:27:21 +00:00
da9063-irq.c
da9150-core.c mfd: da9150-core: Convert to i2c's .probe_new() 2022-12-07 13:27:21 +00:00
db8500-prcmu-regs.h mfd: db8500-prcmu: Rename register header 2021-08-05 14:19:59 +01:00
db8500-prcmu.c mfd: db8500-prcmu: Drop duplicated word "the" in the comments 2022-07-19 10:54:41 +01:00
dln2.c mfd: dln2: Automatically detect and fill endpoint pointers 2022-07-19 10:54:40 +01:00
ene-kb3930.c i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
exynos-lpass.c mfd: exynos-lpass: Drop unneeded syscon.h include 2022-03-08 09:44:06 +00:00
ezx-pcap.c spi: Updates for v5.18 2022-03-21 18:33:57 -07:00
fsl-imx25-tsadc.c mfd: fsl-imx25-tsadc: Use devm_platform_get_and_ioremap_resource() 2022-12-08 12:20:58 +00:00
gateworks-gsc.c mfd: gateworks-gsc: Replace irqchip mask_invert with unmask_base 2022-12-07 13:28:14 +00:00
hi655x-pmic.c mfd: hi655x-pmic: Replace legacy gpio interface for gpiod interface 2022-04-26 15:10:29 +01:00
hi6421-pmic-core.c
hi6421-spmi-pmic.c mfd: hi6421-spmi-pmic: Cleanup drvdata to only include regmap 2021-10-05 08:56:08 +01:00
intel_pmc_bxt.c
intel_quark_i2c_gpio.c mfd: intel_quark_i2c_gpio: Convert GPIO to use software nodes 2021-08-11 16:00:53 +03:00
intel_soc_pmic_bxtwc.c mfd: intel_soc_pmic_bxtwc: Fix spelling in the comment 2022-07-19 10:54:42 +01:00
intel_soc_pmic_chtdc_ti.c mfd: intel_soc_pmic_chtdc_ti: Switch from __maybe_unused to pm_sleep_ptr() etc 2022-09-28 16:17:41 +01:00
intel_soc_pmic_chtwc.c mfd: intel_soc_pmic_chtwc: Add Lenovo Yoga Tab 3 X90F to intel_cht_wc_models 2023-02-04 13:03:27 +00:00
intel_soc_pmic_crc.c - Core Frameworks 2022-10-07 11:24:20 -07:00
intel_soc_pmic_mrfld.c
intel-lpss-acpi.c mfd: intel-lpss: Provide an SSP type to the driver 2022-03-23 14:51:44 +00:00
intel-lpss-pci.c mfd: intel-lpss: Provide an SSP type to the SPI driver 2022-09-28 16:09:48 +01:00
intel-lpss.c mfd: intel-lpss: Fix I2C4 not being available on the Microsoft Surface Go & Go 2 2021-12-29 13:17:01 +00:00
intel-lpss.h mfd: intel-lpss: Fix I2C4 not being available on the Microsoft Surface Go & Go 2 2021-12-29 13:17:01 +00:00
intel-m10-bmc-core.c mfd: intel-m10-bmc: Prefix register defines with M10BMC_N3000 2023-01-27 10:37:51 +00:00
intel-m10-bmc-pmci.c fpga: m10bmc-sec: Add support for N6000 2023-01-30 08:14:02 +00:00
intel-m10-bmc-spi.c mfd: intel-m10-bmc: Prefix register defines with M10BMC_N3000 2023-01-27 10:37:51 +00:00
ioc3.c mfd: Bulk conversion to generic_handle_domain_irq() 2021-08-12 11:39:39 +01:00
ipaq-micro.c mfd: ipaq-micro: Fix error check return value of platform_get_irq() 2022-04-26 15:12:22 +01:00
iqs62x.c i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
janz-cmodio.c mfd: janz-cmoio: Replace snprintf in show functions with sysfs_emit 2021-11-05 14:40:27 +00:00
Kconfig - Core Frameworks 2023-02-23 15:03:05 -08:00
kempld-core.c mfd: Use sysfs_emit() to instead of scnprintf() 2023-02-22 08:25:51 +00:00
khadas-mcu.c mfd: khadas-mcu: Convert to i2c's .probe_new() 2022-12-07 13:27:21 +00:00
lm3533-core.c mfd: Use sysfs_emit() to instead of scnprintf() 2023-02-22 08:25:51 +00:00
lm3533-ctrlbank.c
lochnagar-i2c.c
lp873x.c mfd: lp873x: Convert to i2c's .probe_new() 2022-12-07 13:27:22 +00:00
lp3943.c mfd: lp3943: Convert to i2c's .probe_new() 2022-12-07 13:27:21 +00:00
lp8788-irq.c mfd: lp8788: Fix an error handling path in lp8788_irq_init() and lp8788_irq_init() 2022-09-28 16:09:50 +01:00
lp8788.c mfd: lp8788: Convert to i2c's .probe_new() 2022-12-07 13:27:22 +00:00
lp87565.c mfd: lp87565: Convert to i2c's .probe_new() 2022-12-07 13:27:22 +00:00
lpc_ich.c mfd: Move from strlcpy with unused retval to strscpy 2022-09-28 16:17:39 +01:00
lpc_sch.c mfd: lpc_sch: Rename GPIOBASE to prevent build error 2021-09-07 08:44:07 +01:00
madera-core.c mfd: madera: Include correct gpio API 2022-12-07 13:28:07 +00:00
madera-i2c.c mfd: madera-i2c: Convert to i2c's .probe_new() 2022-12-07 13:27:22 +00:00
madera-spi.c spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
madera.h
Makefile - Core Frameworks 2023-02-23 15:03:05 -08:00
max8907.c mfd: max8907: Convert to i2c's .probe_new() 2022-12-07 13:27:22 +00:00
max8925-core.c mfd: max8925: Remove the unused function irq_to_max8925() 2023-02-22 08:25:52 +00:00
max8925-i2c.c mfd: max8925-i2c: Remove #ifdef guards for PM related functions 2022-12-07 13:28:10 +00:00
max8997-irq.c
max8997.c mfd: max8997: Convert to i2c's .probe_new() 2022-12-07 13:27:23 +00:00
max8998-irq.c
max8998.c mfd: max8998: Convert to i2c's .probe_new() 2022-12-07 13:27:23 +00:00
max14577.c mfd: max14577: Replace irqchip mask_invert with unmask_base 2022-12-07 13:28:14 +00:00
max77620.c mfd: max77620: Remove #ifdef guards for PM related functions 2022-12-07 13:28:12 +00:00
max77650.c mfd: max77650: Remove useless type_invert flag 2022-12-07 13:28:14 +00:00
max77686.c mfd: max77686: Remove #ifdef guards for PM related functions 2022-12-07 13:28:12 +00:00
max77693.c mfd: max77693: Replace irqchip mask_invert with unmask_base 2022-12-07 13:28:14 +00:00
max77714.c mfd: max77714: Update Luca Ceresoli's e-mail address 2022-07-19 10:54:38 +01:00
max77843.c mfd: max77843: Drop useless mask_invert flag on irqchip 2022-12-07 13:28:14 +00:00
mc13xxx-core.c mfd: mc13xxx: Add check for mc13xxx_irq_request 2022-03-07 14:00:27 +00:00
mc13xxx-i2c.c mfd: mc13xxx: Stop including of_gpio.h 2022-12-07 13:28:07 +00:00
mc13xxx-spi.c mfd: mc13xxx-spi: Fix typo ("transfert") 2022-12-07 13:28:10 +00:00
mc13xxx.h mfd: mc13xxx: Make mc13xxx_common_exit() return void 2021-11-05 14:40:26 +00:00
mcp-core.c bus: Make remove callback return void 2021-07-21 11:53:42 +02:00
mcp-sa11x0.c mfd: mcp-sa11x0: Remove #ifdef guards for PM related functions 2022-12-07 13:28:11 +00:00
menelaus.c mfd: menelaus: Convert to i2c's .probe_new() 2022-12-07 13:27:23 +00:00
menf21bmc.c mfd: menf21bmc: Convert to i2c's .probe_new() 2022-12-07 13:27:23 +00:00
mfd-core.c mfd: Move from strlcpy with unused retval to strscpy 2022-09-28 16:17:39 +01:00
motorola-cpcap.c mfd: Drop obsolete dependencies on COMPILE_TEST 2022-12-08 13:15:46 +00:00
mp2629.c
mt6358-irq.c mfd: mt6358-irq: Add MT6357 PMIC support 2022-07-19 10:54:39 +01:00
mt6360-core.c mfd: mt6360: Add bounds checking in Regmap read/write call-backs 2022-12-07 13:28:08 +00:00
mt6370.c mfd: mt6370: Add MediaTek MT6370 support 2022-09-28 16:09:50 +01:00
mt6370.h mfd: mt6370: Add MediaTek MT6370 support 2022-09-28 16:09:50 +01:00
mt6397-core.c mfd: mt6397: Add basic support for MT6331+MT6332 PMIC 2022-07-19 10:54:41 +01:00
mt6397-irq.c mfd: mt6397-irq: Remove #ifdef guards for PM related functions 2022-12-07 13:28:10 +00:00
mxs-lradc.c
ntxec.c mfd: ntxec: Add version number for EC in Tolino Vision 2023-02-22 11:42:29 +00:00
ocelot-core.c mfd: ocelot: add ocelot-serdes capability 2023-03-20 09:08:48 +00:00
ocelot-spi.c regmap: allow upshifting register addresses before performing operations 2023-04-07 17:28:19 +01:00
ocelot.h mfd: ocelot: Add support for the vsc7512 chip via spi 2022-09-09 07:54:47 +01:00
omap-usb-host.c mfd: omap-usb-host: File headers are not good candidates for kernel-doc 2021-06-02 10:50:03 +01:00
omap-usb-tll.c mfd: omap-usb-tll: File headers are not good candidates for kernel-doc 2021-06-02 10:50:03 +01:00
omap-usb.h
palmas.c mfd: palmas: Use device_get_match_data() to simplify the code 2022-12-07 13:28:16 +00:00
pcf50633-adc.c mfd: pcf50633-adc: Fix potential memleak in pcf50633_adc_async_read() 2023-02-22 08:25:51 +00:00
pcf50633-core.c mfd: pcf50633: Remove #ifdef guards for PM related functions 2022-12-07 13:28:11 +00:00
pcf50633-gpio.c
pcf50633-irq.c mfd: pcf50633: Remove #ifdef guards for PM related functions 2022-12-07 13:28:11 +00:00
qcom_rpm.c mfd: qcom_rpm: Use devm_of_platform_populate() to simplify code 2022-12-08 12:41:30 +00:00
qcom-pm8xxx.c mfd: qcom-pm8xxx: Remove set but unused variable 'rev' 2023-02-22 08:25:52 +00:00
qcom-pm8008.c mfd: pm8008: Fix return value check in pm8008_probe() 2022-12-08 14:41:29 +00:00
qcom-spmi-pmic.c mfd: qcom-spmi-pmic: Add support for PMP8074 2022-09-28 16:17:40 +01:00
rave-sp.c
rc5t583-irq.c mfd: rc5t583-irq: Remove #ifdef guards for PM related functions 2022-12-07 13:28:11 +00:00
rc5t583.c mfd: rc5t583: Convert to i2c's .probe_new() 2022-12-07 13:27:23 +00:00
rdc321x-southbridge.c mfd: Constify static struct resources 2020-11-19 08:34:21 +00:00
retu-mfd.c mfd: retu-mfd: Convert to i2c's .probe_new() 2022-12-07 13:27:23 +00:00
rk808.c mfd: rk808: Re-add rk808-clkout to RK818 2023-02-22 08:25:51 +00:00
rn5t618.c mfd: rn5t618: Replace irqchip mask_invert with unmask_base 2022-12-07 13:28:14 +00:00
rohm-bd718x7.c mfd: rohm: Use dev_err_probe() 2022-12-08 13:52:58 +00:00
rohm-bd9576.c mfd: rohm: Use dev_err_probe() 2022-12-08 13:52:58 +00:00
rohm-bd71828.c mfd: rohm: Use dev_err_probe() 2022-12-08 13:52:58 +00:00
rsmu_core.c mfd: Add Renesas Synchronization Management Unit (SMU) support 2021-07-13 12:20:44 +01:00
rsmu_i2c.c mfd: rsmu_i2c: Convert to i2c's .probe_new() 2022-12-07 13:27:24 +00:00
rsmu_spi.c spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
rsmu.h mfd: Add Renesas Synchronization Management Unit (SMU) support 2021-07-13 12:20:44 +01:00
rt4831.c i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
rt5033.c mfd: rt5033: Replace irqchip mask_invert with unmask_base 2022-12-07 13:28:14 +00:00
rt5120.c mfd: rt5120: Replace irqchip mask_invert with unmask_base 2022-12-07 13:28:15 +00:00
sec-core.c mfd: sec: Remove #ifdef guards for PM related functions 2022-12-07 13:28:11 +00:00
sec-irq.c mfd: sec-irq: Do not enforce (incorrect) interrupt trigger type 2021-11-05 14:40:06 +00:00
si476x-cmd.c mfd: si476x-cmd: Fix a bunch of incorrectly documented function names 2021-06-02 10:50:04 +01:00
si476x-i2c.c mfd: si476x-i2c: Convert to i2c's .probe_new() 2022-12-07 13:27:24 +00:00
si476x-prop.c
simple-mfd-i2c.c mfd: simple-mfd-i2c: Fix incoherent comment regarding DT registration 2023-02-22 08:25:52 +00:00
simple-mfd-i2c.h mfd: simple-mfd-i2c: Add support for registering devices via MFD cells 2021-08-16 13:45:34 +01:00
sky81452.c mfd: sky81452: Convert to i2c's .probe_new() 2022-12-07 13:27:24 +00:00
sm501.c mfd: sm501: Remove #ifdef guards for PM related functions 2022-12-07 13:28:11 +00:00
smpro-core.c mfd: Add Ampere's Altra SMpro MFD driver 2022-12-07 13:28:07 +00:00
sprd-sc27xx-spi.c mfd: sprd-sc27xx-spi: Replace irqchip mask_invert with unmask_base 2022-12-07 13:28:15 +00:00
ssbi.c
sta2x11-mfd.c mfd: sta2x11: Use GFP_KERNEL instead of GFP_ATOMIC 2022-03-08 09:44:05 +00:00
stm32-lptimer.c mfd: stm32-lptimer: Use devm_platform_get_and_ioremap_resource() 2022-12-08 12:38:47 +00:00
stm32-timers.c mfd: stm32-timers: Avoid clearing auto reload register 2021-04-14 16:06:26 +01:00
stmfx.c mfd: stmfx: Remove #ifdef guards for PM related functions 2022-12-07 13:28:13 +00:00
stmpe-i2c.c mfd: stmpe: Remove #ifdef guards for PM related functions 2022-12-07 13:28:13 +00:00
stmpe-spi.c mfd: stmpe: Remove #ifdef guards for PM related functions 2022-12-07 13:28:13 +00:00
stmpe.c mfd: stmpe: Remove #ifdef guards for PM related functions 2022-12-07 13:28:13 +00:00
stmpe.h mfd: stmpe: Make stmpe_remove() return void 2021-11-05 14:40:26 +00:00
stpmic1.c mfd: stpmic1: Fix swapped mask/unmask in irq chip 2022-12-07 13:28:15 +00:00
stw481x.c mfd: stw481x: Convert to i2c's .probe_new() 2022-12-07 13:27:25 +00:00
sun4i-gpadc.c mfd: sun4i-gpadc: Replace irqchip mask_invert with unmask_base 2022-12-07 13:28:15 +00:00
sun6i-prcm.c mfd: sun6i-prcm: Use DEFINE_RES_MEM() to simplify code 2021-06-02 10:51:19 +01:00
syscon.c mfd: syscon: Allow reset control for syscon devices 2023-02-22 08:25:53 +00:00
tc3589x.c mfd: tc3589x: Remove #ifdef guards for PM related functions 2022-12-07 13:28:13 +00:00
ti_am335x_tscadc.c mfd: ti_am335x_tscadc: Fix spelling mistake "atleast" -> "at least" 2021-11-05 14:40:02 +00:00
ti-lmu.c mfd: ti-lmu: Convert to i2c's .probe_new() 2022-12-07 13:27:25 +00:00
timberdale.c mfd: timberdale: Remove linux/msi.h include 2022-12-07 13:28:13 +00:00
timberdale.h
tps6105x.c mfd: tps6105x: Convert to i2c's .probe_new() 2022-12-07 13:27:25 +00:00
tps6507x.c mfd: tps6507x: Convert to i2c's .probe_new() 2022-12-07 13:27:25 +00:00
tps6586x.c mfd: tps6586x: Remove #ifdef guards for PM related functions 2022-12-07 13:28:12 +00:00
tps65010.c mfd: tps65010: Convert to i2c's .probe_new() 2022-12-07 13:27:25 +00:00
tps65086.c mfd: tps65086: Convert to i2c's .probe_new() 2022-12-07 13:27:25 +00:00
tps65090.c mfd: tps65090: Replace irqchip mask_invert with unmask_base 2022-12-07 13:28:15 +00:00
tps65217.c i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
tps65218.c mfd: tps65218: Convert to i2c's .probe_new() 2022-12-07 13:27:26 +00:00
tps65219.c mfd: tps65219: Add driver for TI TPS65219 PMIC 2022-12-07 13:28:15 +00:00
tps65910.c mfd: tps65910: Convert to i2c's .probe_new() 2022-12-07 13:27:26 +00:00
tps65911-comparator.c mfd: tps65911-comparator: Use regmap accessors 2020-11-19 08:34:22 +00:00
tps65912-core.c treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_319.RULE 2022-06-10 14:51:36 +02:00
tps65912-i2c.c mfd: tps65912-i2c: Convert to i2c's .probe_new() 2022-12-07 13:27:26 +00:00
tps65912-spi.c treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_319.RULE 2022-06-10 14:51:36 +02:00
tqmx86.c mfd: tqmx86: Assume 24MHz LPC clock for unknown boards 2021-08-16 13:50:12 +01:00
twl4030-audio.c
twl4030-irq.c mfd: twl4030: Add missed linux/device.h header 2022-09-28 16:17:41 +01:00
twl4030-power.c mfd: twl4030-power: Drop empty platform remove function 2023-02-22 08:25:52 +00:00
twl6030-irq.c mfd: twl6030: Make twl6030_exit_irq() return void 2022-04-28 17:24:10 +01:00
twl6040.c mfd: twl6040: Switch to using gpiod API 2022-12-07 13:28:07 +00:00
twl-core.c mfd: twl: Fix TWL6032 phy vbus detection 2023-02-22 08:25:51 +00:00
twl-core.h mfd: twl4030: Make twl4030_exit_irq() return void 2022-04-28 17:24:40 +01:00
ucb1x00-assabet.c mfd: ucb1x00-assabet: Use DEVICE_ATTR_RO macro 2021-06-15 13:02:01 +01:00
ucb1x00-core.c mfd: ucb1x00: Remove #ifdef guards for PM related functions 2022-12-07 13:28:11 +00:00
ucb1x00-ts.c
vexpress-sysreg.c mfd: vexpress-sysreg: Fix resource compound literal assignments 2022-11-14 10:01:39 +01:00
viperboard.c
vx855.c
wcd934x.c mfd: wcd934x: Convert irq chip to config regs 2022-12-07 13:28:15 +00:00
wl1273-core.c mfd: wl1273-core: Convert to i2c's .probe_new() 2022-12-07 13:27:26 +00:00
wm97xx-core.c ALSA: ac97: make remove callback of ac97 driver void returned 2023-01-25 09:34:20 +01:00
wm831x-auxadc.c mfd: wm831x-auxadc: Prevent use after free in wm831x_auxadc_read_irq() 2021-02-08 13:54:40 +00:00
wm831x-core.c mfd: wm831x: Use DEFINE_RES_IRQ_NAMED() and DEFINE_RES_IRQ() to simplify code 2021-06-15 12:53:38 +01:00
wm831x-i2c.c mfd: wm831x-i2c: Convert to i2c's .probe_new() 2022-12-07 13:27:26 +00:00
wm831x-irq.c
wm831x-otp.c mfd: wm831x: Use DEVICE_ATTR_RO macro 2021-06-15 13:01:45 +01:00
wm831x-spi.c
wm5102-tables.c
wm5110-tables.c
wm8350-core.c
wm8350-gpio.c
wm8350-i2c.c mfd: wm8350-i2c: Convert to i2c's .probe_new() 2022-12-07 13:27:26 +00:00
wm8350-irq.c
wm8350-regmap.c
wm8400-core.c mfd: wm8400-core: Convert to i2c's .probe_new() 2022-12-07 13:27:27 +00:00
wm8994-core.c mfd: wm8994: Remove #ifdef guards for PM related functions 2022-12-07 13:28:12 +00:00
wm8994-irq.c mfd: Don't use irq_create_mapping() to resolve a mapping 2021-08-05 12:41:06 +01:00
wm8994-regmap.c
wm8994.h
wm8997-tables.c
wm8998-tables.c