1. 28 Sep, 2022 2 commits
  2. 26 Sep, 2022 1 commit
    • Uwe Kleine-König's avatar
      pxa: Drop if with an always false condition · a4d18465
      Uwe Kleine-König authored
      The remove callback is only called after probe completed successfully.
      In this case platform_set_drvdata() was called with a non-NULL argument
      and so ssp is never NULL.
      
      Also note that returning an error code from a remove callback doesn't
      result in the device staying bound. It's still removed and devm
      callbacks are called. So the memory that ssp pointed to during probe,
      goes away without the node being removed from ssp_list. The probable
      result of an early exit is accessing freed memory when the list is
      walked the next time.
      
      Signed-off-by: Uwe Kleine-König <(address hidden)>
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      a4d18465
  3. 23 Sep, 2022 2 commits
  4. 18 Sep, 2022 2 commits
  5. 16 Sep, 2022 1 commit
    • Arnd Bergmann's avatar
      ARM: disallow PCI with MMU=n again · 47723de8
      Arnd Bergmann authored
      My cleanup patch allowed enabling PCI on MMU-less builds,
      which breaks for at least one driver and is never required:
      
         In file included from include/linux/irqchip/arm-gic-v3.h:604,
                          from drivers/pci/controller/pcie-iproc.c:17:
         arch/arm/include/asm/arch_gicv3.h: In function 'write_ICC_EOIR1_EL1':
      arch/arm/include/asm/arch_gicv3.h:44:9: error: implicit declaration of function 'write_sysreg' [-Werror=implicit-function-declaration]
      
      Fixes: 6fd09c9a ("ARM: Kconfig: clean up platform selection")
      Reported-by: default avatarkernel test robot <lkp@intel.com>
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      47723de8
  6. 15 Sep, 2022 4 commits
  7. 12 Sep, 2022 1 commit
  8. 09 Sep, 2022 3 commits
  9. 02 Sep, 2022 2 commits
  10. 30 Aug, 2022 2 commits
    • Arnd Bergmann's avatar
      ARM: make ARCH_MULTIPLATFORM user-visible · 84fc8636
      Arnd Bergmann authored
      Some options like CONFIG_DEBUG_UNCOMPRESS and CONFIG_CMDLINE_FORCE are
      fundamentally incompatible with portable kernels but are currently allowed
      in all configurations. Other options like XIP_KERNEL are essentially
      useless after the completion of the multiplatform conversion.
      
      Repurpose the existing CONFIG_ARCH_MULTIPLATFORM option to decide
      whether the resulting kernel image is meant to be portable or not,
      and using this to guard all of the known incompatible options.
      
      This is similar to how the RISC-V kernel handles the CONFIG_NONPORTABLE
      option (with the opposite polarity).
      
      A few references to CONFIG_ARCH_MULTIPLATFORM were left behind by
      earlier clanups and have to be removed now up.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      84fc8636
    • Arnd Bergmann's avatar
      ARM: fix XIP_KERNEL dependencies · 5408445b
      Arnd Bergmann authored
      CONFIG_XIP_KERNEL does not work with any option that involves patching
      the read-only kernel .text.
      
      Since at least CONFIG_SMP_ON_UP is required in certain configurations,
      flip the dependency to always allow the .text patching options but make
      XIP_KERNEL have the dependency instead.
      
      This is a prerequisite for allowing CONFIG_ARCH_MULTIPLATFORM to
      be disabled.
      Reviewed-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      5408445b
  11. 28 Aug, 2022 20 commits