Re: [PATCH] common/cnxk: ensure ROC cache alignment of NPA stack size

2022-01-06 Thread Jerin Jacob
On Tue, Nov 30, 2021 at 11:11 AM Ashwin Sekhar T K wrote: > > When PLT_CACHE_LINE_SIZE is set to 64B, the memzone size reserved for > NPA stack could be a multiple of 64B. In such a case, when NDC SYNC > is initiated for the NPA LF, it could go and corrupt an additional > 64B bytes as NDC flushes

[PATCH] common/cnxk: ensure ROC cache alignment of NPA stack size

2021-11-29 Thread Ashwin Sekhar T K
When PLT_CACHE_LINE_SIZE is set to 64B, the memzone size reserved for NPA stack could be a multiple of 64B. In such a case, when NDC SYNC is initiated for the NPA LF, it could go and corrupt an additional 64B bytes as NDC flushes in multiples of ROC cache line size (128B). So ensure that NPA stack