/openbmc/linux/arch/loongarch/include/asm/ |
H A D | cacheops.h | b61a40af Wed Oct 12 03:36:14 CDT 2022 Huacai Chen <chenhuacai@loongson.cn> 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>
|
H A D | cpu-info.h | b61a40af Wed Oct 12 03:36:14 CDT 2022 Huacai Chen <chenhuacai@loongson.cn> 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>
|
H A D | cpu-features.h | b61a40af Wed Oct 12 03:36:14 CDT 2022 Huacai Chen <chenhuacai@loongson.cn> 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>
|
H A D | cacheflush.h | b61a40af Wed Oct 12 03:36:14 CDT 2022 Huacai Chen <chenhuacai@loongson.cn> 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>
|
H A D | setup.h | b61a40af Wed Oct 12 03:36:14 CDT 2022 Huacai Chen <chenhuacai@loongson.cn> 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>
|
H A D | loongarch.h | b61a40af Wed Oct 12 03:36:14 CDT 2022 Huacai Chen <chenhuacai@loongson.cn> 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>
|
/openbmc/linux/arch/loongarch/pci/ |
H A D | pci.c | b61a40af Wed Oct 12 03:36:14 CDT 2022 Huacai Chen <chenhuacai@loongson.cn> 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>
|
/openbmc/linux/arch/loongarch/kernel/ |
H A D | cacheinfo.c | b61a40af Wed Oct 12 03:36:14 CDT 2022 Huacai Chen <chenhuacai@loongson.cn> 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>
|
H A D | traps.c | b61a40af Wed Oct 12 03:36:14 CDT 2022 Huacai Chen <chenhuacai@loongson.cn> 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>
|
/openbmc/linux/arch/loongarch/mm/ |
H A D | cache.c | b61a40af Wed Oct 12 03:36:14 CDT 2022 Huacai Chen <chenhuacai@loongson.cn> 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>
|