Re: [PATCH v2] KVM: PPC: Book3S HV: Refactor HFSCR emulation for KVM guests

2024-08-13 Thread Michael Ellerman
On Tue, 16 Jul 2024 17:22:04 +0530, Gautam Menghani wrote: > Refactor HFSCR emulation for KVM guests when they exit out with > H_FAC_UNAVAIL to use a switch case instead of checking all "cause" > values, since the "cause" values are mutually exclusive; and this is > better expressed with a switch c

Re: [PATCH v2] KVM: PPC: Book3S HV: Refactor HFSCR emulation for KVM guests

2024-07-17 Thread Madhavan Srinivasan
On 7/16/24 5:22 PM, Gautam Menghani wrote: Refactor HFSCR emulation for KVM guests when they exit out with H_FAC_UNAVAIL to use a switch case instead of checking all "cause" values, since the "cause" values are mutually exclusive; and this is better expressed with a switch case. Signed-off-by:

[PATCH v2] KVM: PPC: Book3S HV: Refactor HFSCR emulation for KVM guests

2024-07-16 Thread Gautam Menghani
Refactor HFSCR emulation for KVM guests when they exit out with H_FAC_UNAVAIL to use a switch case instead of checking all "cause" values, since the "cause" values are mutually exclusive; and this is better expressed with a switch case. Signed-off-by: Gautam Menghani --- V1 -> V2: 1. Reword chan