lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sun, 15 May 2022 20:34:52 +1000 From: Michael Ellerman <patch-notifications@...erman.id.au> To: Alexander Graf <graf@...zon.com>, kvm@...r.kernel.org Cc: Christophe Leroy <christophe.leroy@...roup.eu>, linux-kernel@...r.kernel.org, Benjamin Herrenschmidt <benh@...nel.crashing.org>, Matt Evans <matt@...abs.org>, linuxppc-dev@...ts.ozlabs.org, Paul Mackerras <paulus@...ba.org>, Michael Ellerman <mpe@...erman.id.au> Subject: Re: [PATCH v3] KVM: PPC: Book3S PR: Enable MSR_DR for switch_mmu_context() On Tue, 10 May 2022 14:37:17 +0200, Alexander Graf wrote: > Commit 863771a28e27 ("powerpc/32s: Convert switch_mmu_context() to C") > moved the switch_mmu_context() to C. While in principle a good idea, it > meant that the function now uses the stack. The stack is not accessible > from real mode though. > > So to keep calling the function, let's turn on MSR_DR while we call it. > That way, all pointer references to the stack are handled virtually. > > [...] Applied to powerpc/fixes. [1/1] KVM: PPC: Book3S PR: Enable MSR_DR for switch_mmu_context() https://git.kernel.org/powerpc/c/ee8348496c77e3737d0a6cda307a521f2cff954f cheers
Powered by blists - more mailing lists