All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Fedin <p.fedin@samsung.com>
To: qemu-devel@nongnu.org
Cc: Peter Maydell <peter.maydell@linaro.org>
Subject: [Qemu-devel] [PATCH 0/2] arm/virt: Add full-sized CPU affinity handling
Date: Fri, 04 Sep 2015 14:39:46 +0300	[thread overview]
Message-ID: <cover.1441366248.git.p.fedin@samsung.com> (raw)

This small patchset is actually a small extraction from vGICv3 support,
as it was suggested in
https://lists.gnu.org/archive/html/qemu-devel/2015-09/msg00921.html.
Initially i wanted to just make a check, but ended up full implementation
which is not more difficult. Since we don't make any assumptions about
particular affinity layout in non-TCG code, i don't see why this would not
work with KVM.

In order to avoid using magic numbers i refactored out some useful
affinity-related constants.

Pavel Fedin (2):
  target-arm: Refactor CPU affinity handling
  arm/virt: Add full-sized CPU affinity handling

 hw/arm/virt.c        | 32 ++++++++++++++++++++++++++++++--
 target-arm/cpu-qom.h | 12 ++++++++++++
 target-arm/cpu.c     |  2 +-
 target-arm/kvm32.c   |  3 +--
 target-arm/kvm64.c   |  3 +--
 5 files changed, 45 insertions(+), 7 deletions(-)

-- 
2.4.4

             reply	other threads:[~2015-09-04 11:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-04 11:39 Pavel Fedin [this message]
2015-09-04 11:39 ` [Qemu-devel] [PATCH 1/2] target-arm: Refactor CPU affinity handling Pavel Fedin
2015-09-04 11:39 ` [Qemu-devel] [PATCH 2/2] arm/virt: Add full-sized " Pavel Fedin
2015-09-04 14:16 ` [Qemu-devel] [PATCH 0/2] " Peter Maydell
2015-09-04 14:41   ` Pavel Fedin

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=cover.1441366248.git.p.fedin@samsung.com \
    --to=p.fedin@samsung.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    /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.