lkml.org 
[lkml]   [2023]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH v3 3/4] iommu/arm-smmu: add ACTLR data and support for SC7280
    From
    On 27.11.2023 15:54, Bibek Kumar Patro wrote:
    > Add ACTLR data table for SC7280 along with support for
    > same including SC7280 specific implementation operations.
    >
    > Signed-off-by: Bibek Kumar Patro <quic_bibekkum@quicinc.com>
    > ---
    > drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 25 +++++++++++++++++++++-
    > 1 file changed, 24 insertions(+), 1 deletion(-)
    >
    > diff --git a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
    > index 247eaa194129..f0ad09f9a974 100644
    > --- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
    > +++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
    > @@ -27,6 +27,20 @@ struct actlr_config {
    > #define CPRE BIT(1) /* Enable context caching in the prefetch buffer */
    > #define CMTLB BIT(0) /* Enable context caching in the macro TLB */
    >
    > +static const struct actlr_config sc7280_apps_actlr_cfg[] = {
    > + { 0x0800, 0x24E1, PREFETCH_DISABLE | CMTLB },
    hex should be lowercase

    > + { 0x2000, 0x0163, PREFETCH_DISABLE | CMTLB },
    > + { 0x2080, 0x0461, PREFETCH_DISABLE | CMTLB },
    > + { 0x2100, 0x0161, PREFETCH_DISABLE | CMTLB },
    > + { 0x0900, 0x0407, PREFETCH_SHALLOW | CPRE | CMTLB },
    > + { 0x2180, 0x0027, PREFETCH_SHALLOW | CPRE | CMTLB },
    > + { 0x1000, 0x07ff, PREFETCH_DEEP | CPRE | CMTLB },
    > +};
    Any reason this list is so much smaller than 8550's? Is it complete?

    Konrad

    \
     
     \ /
      Last update: 2023-11-27 16:36    [W:4.573 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site