OSDN Git Service

net: ipa: fix IPA v4.5 interconnect data
authorAlex Elder <elder@linaro.org>
Fri, 10 Dec 2021 22:31:23 +0000 (16:31 -0600)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Dec 2021 12:49:26 +0000 (12:49 +0000)
Update the definition of the IPA interconnects for IPA v4.5 so
the path between IPA and system memory is represented by a single
"memory" interconnect.

Tested-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipa/ipa_data-v4.5.c

index e62ab9c..2da2c41 100644 (file)
@@ -420,15 +420,10 @@ static const struct ipa_mem_data ipa_mem_data = {
 /* Interconnect rates are in 1000 byte/second units */
 static const struct ipa_interconnect_data ipa_interconnect_data[] = {
        {
-               .name                   = "memory-a",
+               .name                   = "memory",
                .peak_bandwidth         = 600000,       /* 600 MBps */
                .average_bandwidth      = 150000,       /* 150 MBps */
        },
-       {
-               .name                   = "memory-b",
-               .peak_bandwidth         = 1804000,      /* 1.804 GBps */
-               .average_bandwidth      = 150000,       /* 150 MBps */
-       },
        /* Average rate is unused for the next two interconnects */
        {
                .name                   = "imem",