All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Gordeev <agordeev@redhat.com>
To: kvm@vger.kernel.org
Cc: Alexander Gordeev <agordeev@redhat.com>,
	Thomas Huth <thuth@redhat.com>, Andrew Jones <drjones@redhat.com>
Subject: [kvm-unit-tests PATCH 0/4] pci: Various PCI BAR checks
Date: Tue, 29 Nov 2016 15:48:49 +0100	[thread overview]
Message-ID: <cover.1480430576.git.agordeev@redhat.com> (raw)

Hi Andrew,

I would consider making PCI BAR number an unsigned integer in all
existing APIs. But for now assert(bar_num >= 0 ...) is checked.

Sources are at https://github.com/a-gordeev/kvm-unit-tests.git pci-fixes

Cc: Thomas Huth <thuth@redhat.com>
Cc: Andrew Jones <drjones@redhat.com>

Alexander Gordeev (4):
  Move INVALID_PHYS_ADDR macro to lib/libcflat.h
  pci: Assert when PCI bus address can not be translated
  pci: Sanity check PCI device BAR numbers
  pci: Do not set or get addresses for unimplemented BARs

 lib/alloc.h            |  2 --
 lib/libcflat.h         |  1 +
 lib/pci-host-generic.c |  2 +-
 lib/pci.c              | 34 +++++++++++++++++++++++++++++-----
 4 files changed, 31 insertions(+), 8 deletions(-)

-- 
1.8.3.1


             reply	other threads:[~2016-11-29 14:48 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-29 14:48 Alexander Gordeev [this message]
2016-11-29 14:48 ` [kvm-unit-tests PATCH 1/4] Move INVALID_PHYS_ADDR macro to lib/libcflat.h Alexander Gordeev
2016-11-30 12:36   ` Andrew Jones
2016-11-29 14:48 ` [kvm-unit-tests PATCH 2/4] pci: Assert when PCI bus address can not be translated Alexander Gordeev
2016-11-30 12:45   ` Andrew Jones
2016-11-29 14:48 ` [kvm-unit-tests PATCH 3/4] pci: Sanity check PCI device BAR numbers Alexander Gordeev
2016-11-30 13:25   ` Andrew Jones
2016-11-29 14:48 ` [kvm-unit-tests PATCH 4/4] pci: Do not set or get addresses for unimplemented BARs Alexander Gordeev
2016-11-30 13:47   ` Andrew Jones
2016-11-30 13:52     ` Andrew Jones
2016-11-30 13:57       ` Andrew Jones
2016-12-22 13:05 ` [kvm-unit-tests PATCH 0/4] pci: Various PCI BAR checks Andrew Jones

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.1480430576.git.agordeev@redhat.com \
    --to=agordeev@redhat.com \
    --cc=drjones@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=thuth@redhat.com \
    /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.