1. 13 Feb, 2023 3 commits
    • Asahi Lina's avatar
      soc: apple: rtkit: Do not copy the reg state structure to the stack · 4ec98e6d
      Asahi Lina authored
      The register state struct is 848 bytes, which ends up bloating the
      apple_rtkit_crashlog_dump_regs stack frame beyond 1024 on some
      32-bit platforms, triggering compile warnings.
      
      This doesn't matter for 64BIT/ARM64, but there's also no good reason to
      copy the structure to the stack in this case. We can use __packed to
      avoid alignment issues, there are no double-read hazards, and this is a
      fatal error path so performance does not matter.
      
      Fixes: 22991d8d ("soc: apple: rtkit: Add register dump decoding to crashlog")
      Signed-off-by: default avatarAsahi Lina <lina@asahilina.net>
      Reviewed-by: default avatarEric Curtin <ecurtin@redhat.com>
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      4ec98e6d
    • Arnd Bergmann's avatar
      Merge tag 'qcom-drivers-for-6.3-2' of... · 68907175
      Arnd Bergmann authored
      Merge tag 'qcom-drivers-for-6.3-2' of https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux into soc/drivers
      
      More Qualcomm driver updates for 6.3
      
      The qcom_scm.h file is moved into firmware/qcom, to avoid having any
      Qualcomm-specific files directly in include/linux.
      
      Support for PMIC GLINK is introduced, which on newer Qualcomm platforms
      provides an interface to the firmware implementing battery management
      and USB Type-C handling. Together with the base driver comes the custom
      altmode support driver.
      
      SMD RPM gains support for IPQ9574, and socinfo is extended with support
      for revision 17 of the information format and soc_id for IPQ5332 and
      IPQ8064 are added.
      
      The qcom_stats  is changes not to fail when not all parts are
      initialized.
      
      * tag 'qcom-drivers-for-6.3-2' of https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux:
        soc: qcom: socinfo: Add IDs for IPQ5332 and its variant
        dt-bindings: arm: qcom,ids: Add IDs for IPQ5332 and its variant
        dt-bindings: power: qcom,rpmpd: add RPMH_REGULATOR_LEVEL_LOW_SVS_L1
        firmware: qcom_scm: Move qcom_scm.h to include/linux/firmware/qcom/
        MAINTAINERS: Update qcom CPR maintainer entry
        dt-bindings: firmware: document Qualcomm SM8550 SCM
        dt-bindings: firmware: qcom,scm: add qcom,scm-sa8775p compatible
        soc: qcom: socinfo: Add Soc IDs for IPQ8064 and variants
        dt-bindings: arm: qcom,ids: Add Soc IDs for IPQ8064 and variants
        soc: qcom: socinfo: Add support for new field in revision 17
        soc: qcom: smd-rpm: Add IPQ9574 compatible
        soc: qcom: pmic_glink: remove redundant calculation of svid
        soc: qcom: stats: Populate all subsystem debugfs files
        dt-bindings: soc: qcom,rpmh-rsc: Update to allow for generic nodes
        soc: qcom: pmic_glink: add CONFIG_NET/CONFIG_OF dependencies
        soc: qcom: pmic_glink: Introduce altmode support
        soc: qcom: pmic_glink: Introduce base PMIC GLINK driver
        dt-bindings: soc: qcom: Introduce PMIC GLINK binding
        soc: qcom: dcc: Drop driver for now
      
      Link: https://lore.kernel.org/r/20230210182242.2023901-1-andersson@kernel.orgSigned-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      68907175
    • Arnd Bergmann's avatar
      Merge tag 'qcom-drivers-for-6.3' of... · 01e9d2c6
      Arnd Bergmann authored
      Merge tag 'qcom-drivers-for-6.3' of https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux into soc/drivers
      
      Qualcomm driver updates for v6.3
      
      This introduces a new driver for the Data Capture and Compare block,
      which provides a mechanism for capturing hardware state (access MMIO
      registers) either upon request of triggered automatically e.g. upon a
      watchdog bite, for post mortem analysis.
      
      The remote filesystem memory share driver gains support for having its
      memory bound to more than a single VMID.
      
      The SCM driver gains the minimal support needed to support a new
      mechanism where secure world can put calls on hold and later request
      them to be retried.
      
      Support for the new SA8775P platform is added to rpmhpd, QDU1000 is
      added to the SCM driver and a long list of platforms are added to the
      socinfo driver. Support for socinfo data revision 16 is also introduced.
      
      Lastly a driver to program the ramp controller in MSM8976 is introduced.
      
      * tag 'qcom-drivers-for-6.3' of https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux: (33 commits)
        firmware: qcom: scm: Add wait-queue handling logic
        dt-bindings: firmware: qcom,scm: Add optional interrupt
        Revert "dt-bindings: power: rpmpd: Add SM4250 support"
        Revert "soc: qcom: rpmpd: Add SM4250 support"
        soc: qcom: socinfo: Add a bunch of older SoCs
        dt-bindings: arm: qcom,ids: Add a bunch of older SoCs
        dt-bindings: arm: qcom,ids: Add QRD board ID
        soc: qcom: socinfo: Fix soc_id order
        dt-bindings: soc: qcom: smd-rpm: Exclude MSM8936 from glink-channels
        dt-bindings: firmware: qcom: scm: Separate VMIDs from header to bindings
        soc: qcom: rmtfs: Optionally map RMTFS to more VMs
        dt-bindings: reserved-memory: rmtfs: Make qcom,vmid an array
        dt-bindings: firmware: scm: Add QDU1000/QRU1000 compatible
        dt-bindings: firmware: qcom,scm: narrow clocks and interconnects
        dt-bindings: firmware: qcom,scm: document MSM8226 clocks
        soc: qcom: ramp_controller: Make things static
        soc: qcom: rmphpd: add power domains for sa8775p
        dt-bindings: power: qcom,rpmpd: document sa8775p
        PM: AVS: qcom-cpr: Fix an error handling path in cpr_probe()
        soc: qcom: dcc: rewrite description of dcc sysfs files
        ...
      
      Link: https://lore.kernel.org/r/20230126163008.3676950-1-andersson@kernel.orgSigned-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      01e9d2c6
  2. 10 Feb, 2023 1 commit
    • Randy Dunlap's avatar
      soc: sunxi: SUN20I_PPU should depend on PM · 4a54ecf3
      Randy Dunlap authored
      An $ARCH or a platform should select PM. Single device drivers
      should only depend on PM, not select it.
      
      Having SUN20I_PPU depend on PM removes a kconfig warning:
      
      WARNING: unmet direct dependencies detected for PM
        Depends on [n]: !MMU [=y]
        Selected by [y]:
        - SUN20I_PPU [=y] && (ARCH_SUNXI || COMPILE_TEST [=y])
      
      Fixes: 0ad2185d ("soc: sunxi: select CONFIG_PM")
      Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Cc: Chen-Yu Tsai <wens@csie.org>
      Cc: Jernej Skrabec <jernej.skrabec@gmail.com>
      Cc: Samuel Holland <samuel@sholland.org>
      Cc: linux-arm-kernel@lists.infradead.org
      Cc: linux-sunxi@lists.linux.dev
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      4a54ecf3
  3. 09 Feb, 2023 6 commits
  4. 08 Feb, 2023 4 commits
  5. 06 Feb, 2023 8 commits
  6. 04 Feb, 2023 4 commits
  7. 03 Feb, 2023 5 commits
  8. 01 Feb, 2023 4 commits
  9. 31 Jan, 2023 5 commits