All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Ellerman <patch-notifications@ellerman.id.au>
To: Michael Ellerman <mpe@ellerman.id.au>, linuxppc-dev@lists.ozlabs.org
Subject: Re: [PATCH] powerpc: Fix is_kvm_guest() / kvm_para_available()
Date: Sat, 26 Jun 2021 20:37:25 +1000	[thread overview]
Message-ID: <162470384503.3589875.4224730716859368974.b4-ty@ellerman.id.au> (raw)
In-Reply-To: <20210623130514.2543232-1-mpe@ellerman.id.au>

On Wed, 23 Jun 2021 23:05:14 +1000, Michael Ellerman wrote:
> Commit a21d1becaa3f ("powerpc: Reintroduce is_kvm_guest() as a fast-path
> check") added is_kvm_guest() and changed kvm_para_available() to use it.
> 
> is_kvm_guest() checks a static key, kvm_guest, and that static key is
> set in check_kvm_guest().
> 
> The problem is check_kvm_guest() is only called on pseries, and even
> then only in some configurations. That means is_kvm_guest() always
> returns false on all non-pseries and some pseries depending on
> configuration. That's a bug.
> 
> [...]

Applied to powerpc/next.

[1/1] powerpc: Fix is_kvm_guest() / kvm_para_available()
      https://git.kernel.org/powerpc/c/95839225639ba7c3d8d7231b542728dcf222bf2d

cheers

      reply	other threads:[~2021-06-26 10:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-23 13:05 [PATCH] powerpc: Fix is_kvm_guest() / kvm_para_available() Michael Ellerman
2021-06-26 10:37 ` Michael Ellerman [this message]

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=162470384503.3589875.4224730716859368974.b4-ty@ellerman.id.au \
    --to=patch-notifications@ellerman.id.au \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=mpe@ellerman.id.au \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.