Add KVM_CAP_PPC_AIL_MODE_3 to advertise the capability to set the AIL
resource mode to 3 with the H_SET_MODE hypercall. This capability
differs between processor types and KVM types (PR, HV, Nested HV), and
affects guest-visible behaviour.
QEMU will implement a cap-ail-mode-3 to control this
KVM PR does not implement address translation modes on interrupt, so it
must not allow H_SET_MODE to succeed. The behaviour change caused by
this mode is architected and not advisory (interrupts *must* behave
differently).
QEMU does not deal with differences in AIL support in the host. The
PR KVM does not support running with AIL enabled, and SCV does is not
supported with AIL disabled. Fix this by ensuring the SCV facility is
disabled with FSCR while a CPU could be running with AIL=0.
The PowerNV host supports disabling AIL on a per-CPU basis, so SCV just
needs to be disabled when
The first patch in this series fixes a KVM PR host crash due to a
guest executing the scv instruction or with a pseries SMP host, the
host CPUs executing the scv instruction while a PR guest is running.
The second patch fixes unimplemented H_SET_MODE AIL modes by returning
failure from the hcall
https://bugzilla.kernel.org/show_bug.cgi?id=215621
--- Comment #4 from Christophe Leroy (christophe.le...@csgroup.eu) ---
It is up to you to unselect CONFIG_STRICT_KERNEL_RWX.
The kernel is usually built to boot on any PPC64 processors, so we can't forbid
the selection of
This defines and exports a platform specific custom vm_get_page_prot() via
subscribing ARCH_HAS_VM_GET_PAGE_PROT. Subsequently all __SXXX and __PXXX
macros can be dropped which are no longer needed. While here, this also
localizes arch_vm_get_page_prot() as powerpc_vm_get_page_prot() and moves
it
Le 21/02/2022 à 03:03, cgel@gmail.com a écrit :
> From: Minghao Chi (CGEL ZTE)
>
> Use of_device_get_match_data() to simplify the code.
>
> Reported-by: Zeal Robot
> Signed-off-by: Minghao Chi (CGEL ZTE)
> ---
> arch/powerpc/platforms/83xx/suspend.c | 7 +--
> 1 file changed, 1
From: Minghao Chi (CGEL ZTE)
Use of_device_get_match_data() to simplify the code.
Reported-by: Zeal Robot
Signed-off-by: Minghao Chi (CGEL ZTE)
---
arch/powerpc/platforms/83xx/suspend.c | 7 +--
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git
On Thu, 17 Feb 2022 17:06:25 +0530
"Naveen N. Rao" wrote:
> On certain architectures, ftrace can reserve multiple instructions at
> function entry. Rather than rejecting kprobe on addresses other than the
> exact ftrace call instruction, use the address returned by ftrace to
> probe at the
Hi Naveen,
On Thu, 17 Feb 2022 17:06:23 +0530
"Naveen N. Rao" wrote:
> On some architectures, enabling function tracing results in multiple
> instructions being emitted at function entry. As an example, on
> powerpc64 with -mprofile-kernel, two instructions are emitted at
> function entry:
>
https://bugzilla.kernel.org/show_bug.cgi?id=215621
Erhard F. (erhar...@mailbox.org) changed:
What|Removed |Added
Status|NEW |RESOLVED
https://bugzilla.kernel.org/show_bug.cgi?id=215621
Christophe Leroy (christophe.le...@csgroup.eu) changed:
What|Removed |Added
CC|
Hi Ahmad-san,
Could you please try the version 2 patch attached for the error case?
This version is to check the DQ true data 0xFF by chip_good().
But I am not sure if this works or not since the error is possible to be
caused by Hi-Z 0xff on floating bus or etc.
On 2022/02/15 3:46, Tokunori
13 matches
Mail list logo