Re: [PATCH v2] target/ppc: Add E500 L2CSR0 write helper

2021-02-11 Thread no-reply
] target/ppc: Add E500 L2CSR0 write helper === TEST SCRIPT BEGIN === #!/bin/bash git rev-parse base > /dev/null || exit 0 git config --local diff.renamelimit 0 git config --local diff.renames True git config --local diff.algorithm histogram ./scripts/checkpatch.pl --mailback base.. === TEST SCRIPT

[PATCH v2] target/ppc: Add E500 L2CSR0 write helper

2021-02-09 Thread Bin Meng
From: Bin Meng Per EREF 2.0 [1] chapter 3.11.2: The following bits in L2CSR0 (exists in the e500mc/e5500/e6500 core): - L2FI (L2 cache flash invalidate) - L2FL (L2 cache flush) - L2LFC (L2 cache lock flash clear) when set, a cache operation is initiated by hardware, and these bits will be cl