net: ipa: fix canary count for SC7180 UC_INFO region
authorAlex Elder <elder@linaro.org>
Fri, 19 Mar 2021 15:24:19 +0000 (10:24 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Mar 2021 20:35:54 +0000 (13:35 -0700)
There should be no canary values written before the beginning of the
UC_INFO memory region.  This was correct for SDM845, but somehow was
committed with the wrong value for SC7180.

This bug seems to cause no harm, so we'll just correct it without
back-porting.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipa/ipa_data-sc7180.c

index 01681be..4348695 100644 (file)
@@ -206,7 +206,7 @@ static const struct ipa_mem ipa_mem_local_data[] = {
        [IPA_MEM_UC_INFO] = {
                .offset         = 0x0080,
                .size           = 0x0200,
-               .canary_count   = 2,
+               .canary_count   = 0,
        },
        [IPA_MEM_V4_FILTER_HASHED] = {
                .offset         = 0x0288,