Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removal of firewall_dt_probe_bus() and stm32mp25 firewall bus populate + RNG updates #7021

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Commits on Sep 30, 2024

  1. drivers: firewall: remove firewall_dt_probe_bus()

    Remove firewall_dt_probe_bus() from the firewall framework as it seems
    unlikely that we can have a consensual implementation of this feature.
    
    Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
    Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
    GseoC committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    686639e View commit details
    Browse the repository at this point in the history
  2. dts: stm32: declare RIFSC as an access-controller on stm32mp2 platforms

    RIFSC is a firewall controller. Add the access-controllers property to
    all RIFSC sub-nodes. Also add the "simple-bus" compatible for backward
    compatibility and "#access-controllers-cells" to the RIFSC node.
    
    Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
    Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
    GseoC committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    a4badc8 View commit details
    Browse the repository at this point in the history
  3. drivers: stm32_rifsc: update RIFSC as a firewall controller

    Use the new firewall API to populate the firewall bus and register
    the RIFSC as a firewall provider.
    
    While there, update device tree RIF macros and sort them in the correct
    files. Register bit-field macros should be present in the driver while
    device tree macros should be present in device tree bindings files.
    
    Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
    GseoC committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    bf7d5ab View commit details
    Browse the repository at this point in the history
  4. drivers: stm32_rifsc: restrain access on non secure peripherals for O…

    …P-TEE
    
    Implement a driver specific firewall bus probe that will
    only probe secure peripherals and implement firewall exceptions for
    which no firewall operations will be done when CFG_INSECURE is set.
    This allows, for example, to share a console with the non-secure world
    for development purposes.
    
    Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
    Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
    GseoC committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    9a64e05 View commit details
    Browse the repository at this point in the history
  5. plat-stm32mp2: conf: default enable CFG_DRIVERS_FIREWALL

    Default enable the CFG_DRIVERS_FIREWALL switch that is used to enable
    the support of the firewall framework.
    
    Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
    Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
    GseoC committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    33328f7 View commit details
    Browse the repository at this point in the history
  6. drivers: stm32_rng: update clock and power management

    Better handle clock and reset resources by implementing
    enable_rng_clock()/disable_rng_clock(). Do not implement a PM callback
    if OP-TEE runs with a software RNG. Finally, implement shared resource
    management only for stm32mp15x platforms as it is not used on other
    platforms.
    
    Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
    GseoC committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    f905c4b View commit details
    Browse the repository at this point in the history
  7. dts: stm32: add RNG node in stm32mp251 SoC device tree file

    Add the RNG node in the stm32mp251 SoC device tree file and default
    enable it.
    
    Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
    Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
    GseoC committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    8e76333 View commit details
    Browse the repository at this point in the history