• Ohad Sharabi's avatar
    habanalabs: duplicate HOP table props to MMU props · 1dc6cc4b
    Ohad Sharabi authored
    In order to support several device MMU blocks with different
    architectures (e.g. different HOP table size) we need to move to
    per-MMU properties rather than keeping those properties as ASIC
    properties.
    
    Refactoring the code to use "per-MMU proprties" is a major effort.
    
    To start making the transition towards this goal but still support
    taking the properties from ASIC properties (for code that currently
    uses them) this patch copies some of the properties to the "per-MMU"
    properties and later, when implementing the per-MMU properties, we
    would be able to delete the MMU props from the ASIC props.
    Signed-off-by: default avatarOhad Sharabi <osharabi@habana.ai>
    Reviewed-by: default avatarOded Gabbay <ogabbay@kernel.org>
    Signed-off-by: default avatarOded Gabbay <ogabbay@kernel.org>
    1dc6cc4b
gaudi.c 276 KB