Statistics
| Branch: | Revision:

root @ d4834ff9

Name Size
  QMP
  audio
  backends
  block
  bsd-user
  default-configs
  disas
  docs
  fpu
  fsdev
  gdb-xml
  hw
  include
  ldscripts
  libcacard
  linux-headers
  linux-user
  net
  pc-bios
  qapi
  qga
  qom
  roms
  scripts
  slirp
  stubs
  sysconfigs
  target-alpha
  target-arm
  target-cris
  target-i386
  target-lm32
  target-m68k
  target-microblaze
  target-mips
  target-openrisc
  target-ppc
  target-s390x
  target-sh4
  target-sparc
  target-unicore32
  target-xtensa
  tcg
  tests
  trace
  ui
.exrc 220 Bytes
.gitignore 1.4 kB
.gitmodules 682 Bytes
.mailmap 1.2 kB
CODING_STYLE 3.1 kB
COPYING 17.6 kB
COPYING.LIB 25.8 kB
Changelog 22.6 kB
HACKING 6.1 kB
LICENSE 519 Bytes
MAINTAINERS 14.3 kB
Makefile 15 kB
Makefile.objs 5.6 kB
Makefile.target 5.2 kB
README 80 Bytes
TODO 1.1 kB
VERSION 7 Bytes
acl.c 4.4 kB
aes.c 59.7 kB
aio-posix.c 7.3 kB
aio-win32.c 5.8 kB
arch_init.c 29.2 kB
async.c 5 kB
balloon.c 3.7 kB
bitmap.c 6.3 kB
bitops.c 3.5 kB
block-migration.c 19.5 kB
block.c 125.7 kB
blockdev-nbd.c 3.2 kB
blockdev.c 38.9 kB
blockjob.c 7.6 kB
bt-host.c 5.2 kB
bt-vhci.c 4.5 kB
cache-utils.c 2.2 kB
cmd.c 12.1 kB
cmd.h 2 kB
compatfd.c 2.8 kB
configure 109.4 kB
coroutine-gthread.c 5.8 kB
coroutine-sigaltstack.c 9.2 kB
coroutine-ucontext.c 6.4 kB
coroutine-win32.c 2.6 kB
cpu-exec.c 26.9 kB
cpus.c 33.5 kB
cputlb.c 11 kB
cutils.c 7.3 kB
device_tree.c 7.9 kB
disas.c 12.6 kB
dma-helpers.c 10.9 kB
dump-stub.c 1.5 kB
dump.c 22 kB
envlist.c 5.4 kB
error.c 2 kB
event_notifier-posix.c 2.4 kB
event_notifier-win32.c 1.2 kB
exec.c 73.6 kB
gdbstub.c 75.9 kB
hmp-commands.hx 42.8 kB
hmp.c 38.7 kB
hmp.h 3.5 kB
host-utils.c 2.8 kB
iohandler.c 5.5 kB
ioport.c 13.3 kB
iov.c 11.3 kB
json-lexer.c 9.3 kB
json-parser.c 16.5 kB
json-streamer.c 3.2 kB
kvm-all.c 51.1 kB
kvm-stub.c 2.4 kB
main-loop.c 11.8 kB
memory.c 53.8 kB
memory_mapping-stub.c 627 Bytes
memory_mapping.c 7 kB
migration-exec.c 2.4 kB
migration-fd.c 2.4 kB
migration-tcp.c 2.7 kB
migration-unix.c 2.7 kB
migration.c 20.4 kB
module.c 1.4 kB
monitor.c 135.7 kB
nbd.c 31 kB
notify.c 921 Bytes
os-posix.c 8.4 kB
os-win32.c 4.4 kB
osdep.c 8.6 kB
oslib-posix.c 6 kB
oslib-win32.c 3.9 kB
page_cache.c 5 kB
path.c 4.7 kB
pci-ids.txt 883 Bytes
pixman 0 Bytes
qapi-schema-test.json 1.3 kB
qapi-schema.json 80.6 kB
qbool.c 1.2 kB
qdict-test-data.txt 88.4 kB
qdict.c 10.5 kB
qemu-bridge-helper.c 10.4 kB
qemu-char.c 75.3 kB
qemu-config.c 23.3 kB
qemu-coroutine-io.c 2.4 kB
qemu-coroutine-lock.c 4.4 kB
qemu-coroutine-sleep.c 898 Bytes
qemu-coroutine.c 1.6 kB
qemu-doc.texi 87.9 kB
qemu-error.c 4.4 kB
qemu-img-cmds.hx 1.9 kB
qemu-img.c 57.5 kB
qemu-img.texi 11.8 kB
qemu-io.c 48.1 kB
qemu-log.c 4.6 kB
qemu-nbd.c 16.8 kB
qemu-nbd.texi 1.5 kB
qemu-option.c 28.6 kB
qemu-options-wrapper.h 1 kB
qemu-options.h 1.4 kB
qemu-options.hx 106.2 kB
qemu-progress.c 4 kB
qemu-seccomp.c 7.8 kB
qemu-sockets.c 26 kB
qemu-tech.texi 22.9 kB
qemu-thread-posix.c 6.8 kB
qemu-thread-win32.c 9.1 kB
qemu-timer-common.c 2 kB
qemu-timer.c 19.2 kB
qemu-tool.c 1.8 kB
qemu-user.c 1001 Bytes
qemu.sasl 1.3 kB
qerror.c 3.1 kB
qfloat.c 1.3 kB
qint.c 1.2 kB
qjson.c 7.4 kB
qlist.c 3.2 kB
qmp-commands.hx 66 kB
qmp.c 13.6 kB
qstring.c 3.1 kB
qtest.c 11 kB
readline.c 12.8 kB
rules.mak 3.7 kB
savevm.c 62.8 kB
spice-qemu-char.c 8.3 kB
tcg-runtime.c 2.2 kB
tci.c 35.5 kB
thread-pool.c 7.6 kB
thunk.c 8.8 kB
trace-events 68.1 kB
trace.h 93 Bytes
translate-all.c 54.5 kB
translate-all.h 1.2 kB
uri.c 56.4 kB
user-exec.c 19.1 kB
version.rc 749 Bytes
vl.c 113.1 kB
xen-all.c 35.6 kB
xen-mapcache.c 11.9 kB
xen-stub.c 1.2 kB

Latest revisions

# Date Author Comment
4417c733 01/07/2013 06:37 pm Scott Wood

openpic: IRQ_check: search the queue a word at a time

Search the queue more efficiently by first looking for a non-zero word,
and then using the common bit-searching function to find the bit within
the word. It would be even nicer if bitops_ffsl() could be hooked up...

a898a8fc 01/07/2013 06:37 pm Scott Wood

openpic: move IACK to its own function

Besides making the code cleaner, we will need a separate way to access
IACK in order to implement EPR (external proxy) interrupt delivery.

Signed-off-by: Scott Wood <>
Signed-off-by: Alexander Graf <>

9f1d4b1d 01/07/2013 06:37 pm Scott Wood

openpic: fix CTPR and de-assertion of interrupts

Properly implement level-triggered interrupts by withdrawing an
interrupt from the raised queue if the interrupt source de-asserts.
Also withdraw from the raised queue if the interrupt becomes masked.

When CTPR is written, check whether we need to raise or lower the...

d4834ff9 01/07/2013 06:37 pm Alexander Graf

kvm: Update kernel headers

Corresponding kvm.git hash: 18eb54cf4a

Signed-off-by: Alexander Graf <>

72c1da2c 01/07/2013 06:37 pm Scott Wood

openpic/fsl: critical interrupts ignore mask before v4.1

Signed-off-by: Scott Wood <>
[agraf: make bool :1]
Signed-off-by: Alexander Graf <>

3c94378e 01/07/2013 06:37 pm Scott Wood

openpic: always call IRQ_check from IRQ_get_next

Previously the code relied on the queue's "next" field getting
set to -1 sometime between an update to the bitmap, and the next
call to IRQ_get_next. Sometimes this happened after the update.
Sometimes it happened before the check. Sometimes it didn't happen...

47f73749 01/07/2013 06:37 pm Scott Wood

Revert "openpic: Accelerate pending irq search"

This reverts commit a9bd83f4c65de0058659ede009fa1a241f379edd.

This counting approach is not robust against setting a bit that
was already set, or clearing a bit that was already clear. Perhaps
that is considered a bug, but besides the lack of any documentation...

e69a17f6 01/07/2013 06:37 pm Scott Wood

openpic: use standard bitmap operations

Besides the private implementation being redundant, namespace collisions
prevented the use of other things in bitops.h.

Serialization does get a bit more awkward, unfortunately, since the
standard bitmap operations are "unsigned long" rather than "uint32_t",...

65b9d0d5 01/07/2013 06:37 pm Scott Wood

openpic: add some bounds checking for IRQ numbers

The two checks with abort() guard against potential QEMU-internal
problems, but the EOI check stops the guest from causing updates to queue
position -1 and other havoc if it writes EOI with no interrupt in...

6c5e84c2 01/07/2013 06:37 pm Scott Wood

openpic: fix sense and priority bits

Previously, the sense and priority bits were masked off when writing
to IVPR, and all interrupts were treated as edge-triggered (despite
the existence of code for handling level-triggered interrupts).

Polarity is implemented only as storage. We don't simulate the...

View all revisions | View revisions

Also available in: Atom