å 2019/12/2 2:04, Marc Zyngier åé:
On Sat, 30 Nov 2019 15:38:49 +0800
Heyi Guo <guoheyi@xxxxxxxxxx> wrote:
There is no special reason to set virtual LPI pending table asOne of the issues is that we have strictly no idea what the caches are
non-shareable. If we choose to hard code the shareability without
probing, inner-shareable will be a better choice, for all the other
ITS/GICR tables prefer to be inner-shareable.
Inner Shareable with (I've been asking for such clarification for years
without getting anywhere). You can have as many disconnected inner
shareable domains as you want!
Hisilicon HIP07 and HIP08 are compliant with ARM SBSA and have only
one inner shareable domain in the whole system.
What will happen if a system has multiple inner shareable domains?
Will Linux still work on such system? Can we declare that Linux only
supports one single inner shareable domain?
I suspect that in the grand scheme of things, the redistributors
ought to be in the same inner shareable domain, and that with a bit of
luck, the CPUs are there as well. Still, that's a massive guess.
What's more, on Hisilicon hip08 it will trigger some kind of busDo you have more information about what the bus is complaining about?
warning when mixing use of different shareabilities.
Is that because the CPUs have these pages mapped as inner shareable?
Actually HIP08 L3 Cache will complain on any non-shareable cache
entry, for the data coherence cannot be guarenteed for such
configuration. This also implies VPENDING table will be allocated and
snooped in L3 cache.