diff options
| author | 2022-10-12 16:36:14 +0800 | |
|---|---|---|
| committer | 2022-10-12 16:36:14 +0800 | |
| commit | b61a40afca164a9bd066f749beff3bf209c5e209 (patch) | |
| tree | 414693038d707d37b34edfee4f4ece650275996a /include/linux/phy/git:/ssh:/git@git.zx2c4.com | |
| parent | LoongArch: mm: Refactor TLB exception handlers (diff) | |
| download | linux-dev-b61a40afca164a9bd066f749beff3bf209c5e209.tar.xz linux-dev-b61a40afca164a9bd066f749beff3bf209c5e209.zip | |
LoongArch: Refactor cache probe and flush methods
Current cache probe and flush methods have some drawbacks:
1, Assume there are 3 cache levels and only 3 levels;
2, Assume L1 = I + D, L2 = V, L3 = S, V is exclusive, S is inclusive.
However, the fact is I + D, I + D + V, I + D + S and I + D + V + S are
all valid. So, refactor the cache probe and flush methods to adapt more
types of cache hierarchy.
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'include/linux/phy/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
