1. Sep 16, 2022
  2. Sep 15, 2022
    • Arnd Bergmann's avatar
      ARM: footbridge: remove custom DMA address handling · be7f3f90
      Arnd Bergmann authored
      
      
      Footbridge is the last Arm platform that has its own
      __virt_to_bus()/__bus_to_virt()/phys_to_dma()/dma_to_phys() abstraction,
      but this is just a simple offset now.
      
      For PCI devices, the offset that is programmed into the PCI bridge must
      also be set in each device using dma_direct_set_offset().  As Arm does
      not have a pcibios_bus_add_device() helper yet, just use a bus notifier
      for this.
      
      For the ISA DMA, drivers now pass a non-translated physical address into
      set_dma_addr(), so they have to be converted back with the corresponding
      isa_bus_to_virt() function and then into the correct bus address with
      the offset using the isa_dma_dev.
      
      Tested-by: default avatarMarc Zyngier <maz@kernel.org>
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      be7f3f90
  3. Sep 13, 2022
  4. Sep 09, 2022
  5. Sep 02, 2022
  6. Aug 30, 2022
    • 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
  7. Aug 29, 2022
  8. Aug 28, 2022
    • Linus Torvalds's avatar
      Merge tag 'thermal-6.0-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 10d4879f
      Linus Torvalds authored
      Pull thermal control fixes from Rafael Wysocki:
       "Fix two issues introduced recently and one driver problem leading to a
        NULL pointer dereference in some cases.
      
        Specifics:
      
         - Add missing EXPORT_SYMBOL_GPL in the thermal core and add back the
           required 'trips' property to the thermal zone DT bindings (Daniel
           Lezcano)
      
         - Prevent the int340x_thermal driver from crashing when a package
           with a buffer of 0 length is returned by an ACPI control method
           evaluated by it (Lee, Chun-Yi)"
      
      * tag 'thermal-6.0-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        thermal/int340x_thermal: handle data_vault when the value is ZERO_SIZE_PTR
        dt-bindings: thermal: Fix missing required property
        thermal/core: Add missing EXPORT_SYMBOL_GPL
      10d4879f
    • Linus Torvalds's avatar
      Merge tag 'pm-6.0-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · b98f602d
      Linus Torvalds authored
      Pull power management fix from Rafael Wysocki:
       "Make __resolve_freq() check the presence of the frequency table
        instead of checking whether or not the ->target_index() callback is
        implemented by the driver, because that need not be the case when
        __resolve_freq() is used (Lukasz Luba)"
      
      * tag 'pm-6.0-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        cpufreq: check only freq_table in __resolve_freq()
      b98f602d
    • Linus Torvalds's avatar
      Merge tag 'acpi-6.0-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 2b1ddb59
      Linus Torvalds authored
      Pull ACPI fixes from Rafael Wysocki:
       "These fix issues introduced by recent changes related to the handling
        of ACPI device properties and a coding mistake in the exit path of the
        ACPI processor driver.
      
        Specifics:
      
         - Prevent acpi_thermal_cpufreq_exit() from attempting to remove
           the same frequency QoS request multiple times (Riwen Lu)
      
         - Fix type detection for integer ACPI device properties (Stefan
           Binding)
      
         - Avoid emitting false-positive warnings when processing ACPI
           device properties and drop the useless default case from the
           acpi_copy_property_array_uint() macro (Sakari Ailus)"
      
      * tag 'acpi-6.0-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        ACPI: property: Remove default association from integer maximum values
        ACPI: property: Ignore already existing data node tags
        ACPI: property: Fix type detection of unified integer reading functions
        ACPI: processor: Remove freq Qos request for all CPUs
      2b1ddb59