summary refs log tree commit diff stats
path: root/docs/sphinx-static/custom.js
diff options
context:
space:
mode:
authorFrederic Barrat <fbarrat@linux.ibm.com>2022-06-02 18:53:10 +0200
committerDaniel Henrique Barboza <danielhb413@gmail.com>2022-06-20 08:38:58 -0300
commit151308677c977dae5fdb5c62f20722ddd25aeef9 (patch)
treefe1178e3cc438bfef5ad0787d5cefc36de42406f /docs/sphinx-static/custom.js
parent8f7d41e0c9cdcb696df564100e77c81ef6a9d026 (diff)
downloadfocaccia-qemu-151308677c977dae5fdb5c62f20722ddd25aeef9.tar.gz
focaccia-qemu-151308677c977dae5fdb5c62f20722ddd25aeef9.zip
pnv/xive2: Access direct mapped thread contexts from all chips
When accessing a thread context through the IC BAR, the offset of the
page in the BAR identifies the CPU. From that offset, we can compute
the PIR (processor ID register) of the CPU to do the data structure
lookup. On P10, the current code assumes an access for node 0 when
computing the PIR. Everything is almost in place to allow access for
other nodes though. So this patch reworks how the PIR value is
computed so that we can access all thread contexts through the IC BAR.

The PIR is already correct on P9, so no need to modify anything there.

Signed-off-by: Frederic Barrat <fbarrat@linux.ibm.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20220602165310.558810-1-fbarrat@linux.ibm.com>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Diffstat (limited to 'docs/sphinx-static/custom.js')
0 files changed, 0 insertions, 0 deletions