linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Christian Zigotzky <chzigotzky@xenosoft.de>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: linuxppc-dev <linuxppc-dev@lists.ozlabs.org>,
	Darren Stevens <darren@stevens-zone.net>,
	Pat Wall <pjwall@mac.com>, Pat Wall <pjwall@me.com>,
	Christian Zigotzky <info@xenosoft.de>,
	madskateman@gmail.com, "R.T.Dickinson" <rtd2@xtra.co.nz>,
	hypexed@yahoo.com.au, regressions@lists.linux.dev
Subject: KVM: PPC: Book3E: KVM HV host module doesn't work anymore
Date: Thu, 26 Dec 2024 15:26:46 +0100	[thread overview]
Message-ID: <10826e5f-d3a6-7792-4466-0bf21082a155@xenosoft.de> (raw)
In-Reply-To: <CABgObfYqGVQk0nvPZqzc1Q7K0jg-Gxk2tVmrk75R6TaLUt9exQ@mail.gmail.com>

On 26/12/24 08:00, Paolo Bonzini wrote:
>
>
> Il mer 25 dic 2024, 13:48 Christian Zigotzky <chzigotzky@xenosoft.de 
> <mailto:chzigotzky@xenosoft.de>> ha scritto:
>
>     > But do you see anything on the host dmesg (without and with the
>     > patch), for example a WARN?
>     Unfortunately no log during the start of KVM HV.
>
>
> Ok.
>
>     > Also you might try edebc0a1b7ab5ff19b4f5cd011c93196fc34b3e4 + the
>     > patch, to see if there are two bugs.
>     >
>     > Paolo
>     >
>     I think you mean 419cfb983ca93e75e905794521afefcfa07988bb because
>     "git
>     checkout edebc0a1b7ab5ff19b4f5cd011c93196fc34b3e4" doesn't work.
>
>     Error message: fatal: reference is not a tree:
>     edebc0a1b7ab5ff19b4f5cd011c93196fc34b3e4
>
>     git checkout 419cfb983ca93e75e905794521afefcfa07988bb
>
>
> That's the upstream commit that doesn't boot. 
> edebc0a1b7ab5ff19b4f5cd011c93196fc34b3e4 was the rebased version of 
> the same commit, where your bisection finished.
>
> Paolo

Hi Paolo,

This has solved the issue:

cp linux-6.12.6/arch/powerpc/kvm/e500_mmu_host.c 
a/arch/powerpc/kvm/e500_mmu_host.c

cp linux-6.12.6/include/linux/kvm_host.h a/include/linux/kvm_host.h

cp linux-6.12.6/virt/kvm/kvm_main.c a/virt/kvm/kvm_main.c

cp linux-6.12.6/virt/kvm/kvm_mm.h a/virt/kvm/kvm_mm.h

I created a patch for reverting the code that leads to the issue.

Link: 
https://github.com/chzigotzky/kernels/blob/main/patches/X5000/kvm_ppc_revert.patch

Maybe you can find a hint to the issue in this revert patch.

I will further test KVM HV with the patched kernel.

Thanks,
Christian

-- 
Sent with BrassMonkey 33.4.0 (https://github.com/wicknix/brass-monkey/releases/tag/33.4.0)



  reply	other threads:[~2024-12-26 14:27 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <F693EFBE-3F0D-4B7C-89D8-EA8DCAB3CAB7@xenosoft.de>
     [not found] ` <6CC404E2-2442-47FE-877C-252B1F2872C2@xenosoft.de>
     [not found]   ` <f31e176f-200d-f96c-2971-4da0fe8f1245@xenosoft.de>
2024-12-18 11:10     ` KVM: PPC: Book3E: KVM HV host module doesn't work anymore Christian Zigotzky
2024-12-18 14:41       ` Christian Zigotzky
2024-12-20 12:08         ` Christian Zigotzky
2024-12-20 12:48           ` Christian Zigotzky
2024-12-22  8:55             ` Paolo Bonzini
2024-12-22 16:23               ` Christian Zigotzky
2024-12-22 17:52                 ` Paolo Bonzini
2024-12-23 14:41                   ` Christian Zigotzky
2024-12-23 15:37                     ` Paolo Bonzini
2024-12-24 11:05                       ` Christian Zigotzky
2024-12-24 11:42                         ` Paolo Bonzini
2024-12-25 12:48                           ` Christian Zigotzky
2024-12-26  7:00                             ` Paolo Bonzini
2024-12-26 14:26                               ` Christian Zigotzky [this message]
2024-12-27  5:20                                 ` Paolo Bonzini
2024-12-27 14:50                                   ` Christian Zigotzky
2024-12-28 15:04                                     ` Christian Zigotzky
2024-12-31 10:57                                     ` Christian Zigotzky
2025-01-01 13:30                                       ` Christian Zigotzky
2025-01-01 17:21                                         ` Christian Zigotzky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=10826e5f-d3a6-7792-4466-0bf21082a155@xenosoft.de \
    --to=chzigotzky@xenosoft.de \
    --cc=darren@stevens-zone.net \
    --cc=hypexed@yahoo.com.au \
    --cc=info@xenosoft.de \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=madskateman@gmail.com \
    --cc=pbonzini@redhat.com \
    --cc=pjwall@mac.com \
    --cc=pjwall@me.com \
    --cc=regressions@lists.linux.dev \
    --cc=rtd2@xtra.co.nz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).