Bharata B Rao and David Gibson
327d4b7f3f
linux-headers: Update
...
Update to mainline commit: 79160a603bdb ("Merge tag 'usb-5.14-rc1' of
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb"
Signed-off-by: Bharata B Rao <bharata@linux.ibm.com >
Message-Id: <20210706112440.1449562-2-bharata@linux.ibm.com >
Signed-off-by: David Gibson <david@gibson.dropbear.id.au >
2021-07-09 11:01:06 +10:00
Eduardo Habkost
278f064e45
Update Linux headers to 5.13-rc4
...
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com >
Message-Id: <20210603191541.2862286-1-ehabkost@redhat.com >
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com >
2021-06-17 14:11:06 -04:00
Vivek Kasireddy and Gerd Hoffmann
4d01086161
headers: Add udmabuf.h
...
This adds udmabuf header to standard headers so that the
relevant udmabuf objects can be accessed in subsequent
patches.
Based-on-patch-by: Gerd Hoffmann <kraxel@redhat.com >
Cc: Gerd Hoffmann <kraxel@redhat.com >
Signed-off-by: Vivek Kasireddy <vivek.kasireddy@intel.com >
Message-Id: <20210526231429.1045476-3-vivek.kasireddy@intel.com >
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com >
2021-05-27 12:06:37 +02:00
Peter Maydell
ff81439aaf
Merge remote-tracking branch 'remotes/vivier/tags/m68k-for-6.0-pull-request' into staging
...
m68k pull request 20210315
Add m68k virt machine
# gpg: Signature made Mon 15 Mar 2021 20:41:51 GMT
# gpg: using RSA key CD2F75DDC8E3A4DC2E4F5173F30C38BD3F2FBE3C
# gpg: issuer "laurent@vivier.eu "
# gpg: Good signature from "Laurent Vivier <lvivier@redhat.com >" [full]
# gpg: aka "Laurent Vivier <laurent@vivier.eu >" [full]
# gpg: aka "Laurent Vivier (Red Hat) <lvivier@redhat.com >" [full]
# Primary key fingerprint: CD2F 75DD C8E3 A4DC 2E4F 5173 F30C 38BD 3F2F BE3C
* remotes/vivier/tags/m68k-for-6.0-pull-request:
m68k: add Virtual M68k Machine
m68k: add a system controller
m68k: add an interrupt controller
hw/intc: add goldfish-pic
hw/char: add goldfish-tty
Signed-off-by: Peter Maydell <peter.maydell@linaro.org >
2021-03-17 10:38:27 +00:00
Laurent Vivier
e1cecdca55
m68k: add Virtual M68k Machine
...
The machine is based on Goldfish interfaces defined by Google
for Android simulator. It uses Goldfish-rtc (timer and RTC),
Goldfish-pic (PIC) and Goldfish-tty (for serial port and early tty).
The machine is created with 128 virtio-mmio bus, and they can
be used to use serial console, GPU, disk, NIC, HID, ...
Signed-off-by: Laurent Vivier <laurent@vivier.eu >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org >
Message-Id: <20210312214145.2936082-6-laurent@vivier.eu >
2021-03-15 21:03:06 +01:00
Cornelia Huck and Jason Wang
3aa1b7af0f
pvrdma: wean code off pvrdma_ring.h kernel header
...
The pvrdma code relies on the pvrdma_ring.h kernel header for some
basic ring buffer handling. The content of that header isn't very
exciting, but contains some (q)atomic_*() invocations that (a)
cause manual massaging when doing a headers update, and (b) are
an indication that we probably should not be importing that header
at all.
Let's reimplement the ring buffer handling directly in the pvrdma
code instead. This arguably also improves readability of the code.
Importing the header can now be dropped.
Signed-off-by: Cornelia Huck <cohuck@redhat.com >
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com >
Reviewed-by: Yuval Shaia <yuval.shaia.ml@gmail.com >
Tested-by: Yuval Shaia <yuval.shaia.ml@gmail.com >
Signed-off-by: Jason Wang <jasowang@redhat.com >
2021-03-15 16:41:22 +08:00
Laurent Vivier
382d71af7d
m68k: import bootinfo headers from linux
...
Copy bootinfo.h and bootinfo-mac.h from arch/m68k/include/uapi/asm/
to include/standard-headers/asm-m68k/
Imported from linux v5.9 but didn't change since v4.14 (header update)
and since v4.10 (content update).
Signed-off-by: Laurent Vivier <laurent@vivier.eu >
Message-Id: <20201220112615.933036-2-laurent@vivier.eu >
Signed-off-by: Laurent Vivier <laurent@vivier.eu >
2021-02-11 21:56:42 +01:00
Eric Farman and Cornelia Huck
b3c818a47f
Update linux headers to 5.11-rc2
...
Signed-off-by: Eric Farman <farman@linux.ibm.com >
Message-Id: <20210104202057.48048-3-farman@linux.ibm.com >
[CH: dropped qatomic->atomic changes in pvrdma_ring.h]
Signed-off-by: Cornelia Huck <cohuck@redhat.com >
2021-01-21 11:19:45 +01:00
David Woodhouse and Paolo Bonzini
c1bb5418e3
target/i386: Support up to 32768 CPUs without IRQ remapping
...
The IOAPIC has an 'Extended Destination ID' field in its RTE, which maps
to bits 11-4 of the MSI address. Since those address bits fall within a
given 4KiB page they were historically non-trivial to use on real hardware.
The Intel IOMMU uses the lowest bit to indicate a remappable format MSI,
and then the remaining 7 bits are part of the index.
Where the remappable format bit isn't set, we can actually use the other
seven to allow external (IOAPIC and MSI) interrupts to reach up to 32768
CPUs instead of just the 255 permitted on bare metal.
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk >
Message-Id: <78097f9218300e63e751e077a0a5ca029b56ba46.camel@infradead.org >
[Fix UBSAN warning. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
Signed-off-by: David Woodhouse <dwmw2@infradead.org >
2020-12-10 12:15:00 -05:00
Matthew Rosato and Alex Williamson
53ba2eee52
linux-headers: update against 5.10-rc1
...
commit 3650b228f83adda7e5ee532e2b90429c03f7b9ec
Signed-off-by: Matthew Rosato <mjrosato@linux.ibm.com >
[aw: drop pvrdma_ring.h changes to avoid revert of d73415a315 ("qemu/atomic.h: rename atomic_ to qatomic_")]
Signed-off-by: Alex Williamson <alex.williamson@redhat.com >
2020-11-01 12:30:51 -07:00
Alex Williamson and Peter Maydell
33dc9914ea
Revert series: virtiofsd: Announce submounts to the guest
...
This reverts the following commits due to their basis on a bogus
linux kernel header update:
c93a656f7b ("tests/acceptance: Add virtiofs_submounts.py")
45ced7ca2f ("tests/acceptance/boot_linux: Accept SSH pubkey")
08dce386e7 ("virtiofsd: Announce sub-mount points")
eba8b096c1 ("virtiofsd: Store every lo_inode's parent_dev")
ede24b6be7 ("virtiofsd: Add fuse_reply_attr_with_flags()")
e2577435d3 ("virtiofsd: Add attr_flags to fuse_entry_param")
2f10415abf ("virtiofsd: Announce FUSE_ATTR_FLAGS")
97d741cc96 ("linux/fuse.h: Pull in from Linux")
Cc: Max Reitz <mreitz@redhat.com >
Cc: Stefan Hajnoczi <stefanha@redhat.com >
Cc: Dr. David Alan Gilbert <dgilbert@redhat.com >
Signed-off-by: Alex Williamson <alex.williamson@redhat.com >
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com >
Reviewed-by: Max Reitz <mreitz@redhat.com >
Message-id: 160385090886.20017.13382256442750027666.stgit@gimli.home
Signed-off-by: Peter Maydell <peter.maydell@linaro.org >
2020-10-28 13:17:32 +00:00
Max Reitz and Dr. David Alan Gilbert
97d741cc96
linux/fuse.h: Pull in from Linux
...
Update the linux/fuse.h standard header from the kernel development tree
that implements FUSE submounts.
This adds the fuse_attr.flags field, the FUSE_ATTR_FLAGS INIT flag, and
the FUSE_ATTR_SUBMOUNT flag for fuse_attr.flags.
Signed-off-by: Max Reitz <mreitz@redhat.com >
Message-Id: <20200909184028.262297-2-mreitz@redhat.com >
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com >
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com >
2020-10-26 18:35:32 +00:00
Jason Wang and Michael S. Tsirkin
e6546342a8
linux headers: sync to 5.9-rc4
...
Update against Linux 5.9-rc4.
Cc: Cornelia Huck <cohuck@redhat.com >
Cc: Paolo Bonzini <pbonzini@redhat.com >
Signed-off-by: Jason Wang <jasowang@redhat.com >
Message-Id: <20200907104903.31551-2-jasowang@redhat.com >
Reviewed-by: Michael S. Tsirkin <mst@redhat.com >
Signed-off-by: Michael S. Tsirkin <mst@redhat.com >
2020-09-29 02:14:29 -04:00
Stefan Hajnoczi
d73415a315
qemu/atomic.h: rename atomic_ to qatomic_
...
clang's C11 atomic_fetch_*() functions only take a C11 atomic type
pointer argument. QEMU uses direct types (int, etc) and this causes a
compiler error when a QEMU code calls these functions in a source file
that also included <stdatomic.h> via a system header file:
$ CC=clang CXX=clang++ ./configure ... && make
../util/async.c:79:17: error: address argument to atomic operation must be a pointer to _Atomic type ('unsigned int *' invalid)
Avoid using atomic_*() names in QEMU's atomic.h since that namespace is
used by <stdatomic.h>. Prefix QEMU's APIs with 'q' so that atomic.h
and <stdatomic.h> can co-exist. I checked /usr/include on my machine and
searched GitHub for existing "qatomic_" users but there seem to be none.
This patch was generated using:
$ git grep -h -o '\<atomic\(64\)\?_[a-z0-9_]\+' include/qemu/atomic.h | \
sort -u >/tmp/changed_identifiers
$ for identifier in $(</tmp/changed_identifiers); do
sed -i "s%\<$identifier\>%q$identifier%g" \
$(git grep -I -l "\<$identifier\>")
done
I manually fixed line-wrap issues and misaligned rST tables.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com >
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com >
Acked-by: Paolo Bonzini <pbonzini@redhat.com >
Message-Id: <20200923105646.47864-1-stefanha@redhat.com >
2020-09-23 16:07:44 +01:00
Cornelia Huck
f76b348ec7
Linux headers: update
...
Update against Linux 5.8-rc1.
Signed-off-by: Cornelia Huck <cohuck@redhat.com >
2020-06-18 12:13:36 +02:00
Cornelia Huck
dc6f8d458a
linux-headers: update against Linux 5.7-rc3
...
commit 6a8b55ed4056ea5559ebe4f6a4b247f627870d4c
Reviewed-by: Michael S. Tsirkin <mst@redhat.com > # virtio/vhost parts
Signed-off-by: Cornelia Huck <cohuck@redhat.com >
Message-Id: <20200427102415.10915-3-cohuck@redhat.com >
2020-04-28 12:29:01 +02:00
Cornelia Huck
ddda37483d
linux-headers: update
...
Update to commit b1da3acc781c ("Merge tag 'ecryptfs-5.6-rc3-fixes' of
git://git.kernel.org/pub/scm/linux/kernel/git/tyhicks/ecryptfs")
Signed-off-by: Cornelia Huck <cohuck@redhat.com >
2020-02-26 18:57:07 +01:00
Dr. David Alan Gilbert
a62a9e192b
virtiofsd: Pull in kernel's fuse.h
...
Update scripts/update-linux-headers.sh to add fuse.h and
use it to pull in fuse.h from the kernel; from v5.5-rc1
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com >
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com >
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com >
2020-01-23 16:41:36 +00:00
Bharata B Rao and David Gibson
50fd0c375b
linux-headers: Update
...
Update to mainline commit: d1eef1c61974 ("Linux 5.5-rc2")
Signed-off-by: Bharata B Rao <bharata@linux.ibm.com >
Message-Id: <20191219031445.8949-2-bharata@linux.ibm.com >
Signed-off-by: David Gibson <david@gibson.dropbear.id.au >
2020-01-08 11:01:59 +11:00
Greg Kurz and David Gibson
2a886794f1
linux-headers: Update
...
Update to mainline commit be2eca94d144 ("Merge tag 'for-linus-5.5-1'`
of git://github.com/cminyard/linux-ipmi")
Signed-off-by: Greg Kurz <groug@kaod.org >
Message-Id: <157478677756.67101.11558821804418331832.stgit@bahia.tlslab.ibm.com >
Signed-off-by: David Gibson <david@gibson.dropbear.id.au >
2019-12-17 10:39:48 +11:00
Eric Auger and Peter Maydell
f363d039e8
linux headers: update against v5.4-rc1
...
Update the headers against commit:
0f1a7b3fac05 ("timer-of: don't use conditional expression
with mixed 'void' types")
Signed-off-by: Eric Auger <eric.auger@redhat.com >
Acked-by: Marc Zyngier <maz@kernel.org >
Message-id: 20191003154640.22451-2-eric.auger@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org >
2019-10-15 18:09:02 +01:00
Marcelo Tosatti and Paolo Bonzini
d645e13287
kvm: i386: halt poll control MSR support
...
Add support for halt poll control MSR: save/restore, migration
and new feature name.
The purpose of this MSR is to allow the guest to disable
host halt poll.
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com >
Message-Id: <20190603230408.GA7938@amt.cnet >
[Do not enable by default, as pointed out by Mark Kanda. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2019-08-20 17:26:17 +02:00
Pankaj Gupta and Michael S. Tsirkin
9f583bdd47
virtio-pmem: sync linux headers
...
Add linux headers for virtio pmem. These are not yet upstream - include
them temporarily as merge window in which this is supposed to be is
coming up shortly. If virtio-pmem ends up not being merged
then this will be reverted and accordingly virtio-pmem dropped.
Signed-off-by: Pankaj Gupta <pagupta@redhat.com >
Message-Id: <20190619094907.10131-4-pagupta@redhat.com >
Reviewed-by: Michael S. Tsirkin <mst@redhat.com >
Signed-off-by: Michael S. Tsirkin <mst@redhat.com >
2019-07-04 17:00:32 -04:00
Cornelia Huck
d9cb433615
linux headers: update against Linux 5.2-rc1
...
commit a188339ca5a396acc588e5851ed7e19f66b0ebd9
Signed-off-by: Cornelia Huck <cohuck@redhat.com >
2019-05-21 16:58:56 +02:00
Peter Maydell
3e29da9fd8
Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging
...
* cpu-exec fixes (Emilio, Laurent)
* TCG bugfix in queue.h (Paolo)
* high address load for linuxboot (Zhijian)
* PVH support (Liam, Stefano)
* misc i386 changes (Paolo, Robert, Doug)
* configure tweak for openpty (Thomas)
* elf2dmp port to Windows (Viktor)
* initial improvements to Makefile infrastructure (Yang + GSoC 2013)
# gpg: Signature made Tue 05 Feb 2019 17:34:42 GMT
# gpg: using RSA key BFFBD25F78C7AE83
# gpg: Good signature from "Paolo Bonzini <bonzini@gnu.org >" [full]
# gpg: aka "Paolo Bonzini <pbonzini@redhat.com >" [full]
# Primary key fingerprint: 46F5 9FBD 57D6 12E7 BFD4 E2F7 7E15 100C CD36 69B1
# Subkey fingerprint: F133 3857 4B66 2389 866C 7682 BFFB D25F 78C7 AE83
* remotes/bonzini/tags/for-upstream: (76 commits)
queue: fix QTAILQ_FOREACH_REVERSE_SAFE
scsi-generic: Convert from DPRINTF() macro to trace events
scsi-disk: Convert from DPRINTF() macro to trace events
pc: Use hotplug_handler_(plug|unplug|unplug_request)
i386: hvf: Fix smp boot hangs
hw/vfio/Makefile.objs: Create new CONFIG_* variables for VFIO core and PCI
hw/i2c/Makefile.objs: Create new CONFIG_* variables for EEPROM and ACPI controller
hw/tricore/Makefile.objs: Create CONFIG_* for tricore
hw/openrisc/Makefile.objs: Create CONFIG_* for openrisc
hw/moxie/Makefile.objs: Conditionally build moxie
hw/hppa/Makefile.objs: Create CONFIG_* for hppa
hw/cris/Makefile.objs: Create CONFIG_* for cris
hw/alpha/Makefile.objs: Create CONFIG_* for alpha
hw/sparc64/Makefile.objs: Create CONFIG_* for sparc64
hw/riscv/Makefile.objs: Create CONFIG_* for riscv boards
hw/nios2/Makefile.objs: Conditionally build nios2
hw/xtensa/Makefile.objs: Build xtensa_sim and xtensa_fpga conditionally
hw/lm32/Makefile.objs: Conditionally build lm32 and milkmyst
hw/sparc/Makefile.objs: CONFIG_* for sun4m and leon3 created
hw/s390/Makefile.objs: Create new CONFIG_* variables for s390x boards and devices
...
Signed-off-by: Peter Maydell <peter.maydell@linaro.org >
# Conflicts:
# qemu-deprecated.texi
2019-02-05 19:39:22 +00:00