mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
ppc/xive2: Allow 1-byte write of Target field in TIMA
When running PowerVM, the console is littered with XIVE traces regarding invalid writes to TIMA address 0x100b6 due to a lack of support for writes to the "TARGET" field which was added for XIVE GEN2. To fix this, we add special op support for 1-byte writes to this field. Signed-off-by: Glenn Miles <milesg@linux.vnet.ibm.com> Signed-off-by: Michael Kowal <kowal@linux.ibm.com> Reviewed-by: Cédric Le Goater <clg@redhat.com> Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
This commit is contained in:
parent
76798e12df
commit
cfe9a7f286
4 changed files with 18 additions and 0 deletions
|
@ -121,5 +121,7 @@ uint64_t xive2_tm_pull_os_ctx(XivePresenter *xptr, XiveTCTX *tctx,
|
|||
hwaddr offset, unsigned size);
|
||||
void xive2_tm_pull_os_ctx_ol(XivePresenter *xptr, XiveTCTX *tctx,
|
||||
hwaddr offset, uint64_t value, unsigned size);
|
||||
void xive2_tm_set_hv_target(XivePresenter *xptr, XiveTCTX *tctx,
|
||||
hwaddr offset, uint64_t value, unsigned size);
|
||||
|
||||
#endif /* PPC_XIVE2_H */
|
||||
|
|
|
@ -79,6 +79,7 @@
|
|||
#define TM_INC 0x5 /* - + - + */
|
||||
#define TM_LGS 0x5 /* + + + + */ /* Rename P10 */
|
||||
#define TM_AGE 0x6 /* - + - + */
|
||||
#define TM_T 0x6 /* - + - + */ /* Rename P10 */
|
||||
#define TM_PIPR 0x7 /* - + - + */
|
||||
#define TM_OGEN 0xF /* - + - - */ /* P10 only */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue