{"push_id":2691295423,"size":37,"distinct_size":37,"ref":"refs/heads/x86-next","head":"1afa17a56be76b0f5d0a2f8df77ecf70d867b8a2","before":"251eccff1592086fb33ef7176387d63391f7af37","commits":[{"sha":"76ed4b18debfe597329d1f6a9eb2ec9ffa751ecd","author":{"name":"Christian Borntraeger","email":"49712f635b03c16d7f4c43df70e49ec8c565813d@de.ibm.com"},"message":"s390/ipl: fix ipl with -no-reboot\n\nkexec/kdump as well as the bootloader use a subcode of diagnose 308\nthat is supposed to reset the I/O subsystem but not comprise a full\n\"reboot\". With the latest refactoring this is now broken when\n-no-reboot is used or when libvirt acts on a reboot QMP event, for\nexample a virt-install from iso images.\n\nWe need to mark these \"subsystem resets\" as special.\n\nFixes: a30fb811cbe9 (s390x: refactor reset/reipl handling)\nSigned-off-by: Christian Borntraeger <borntraeger@de.ibm.com>\nReviewed-by: David Hildenbrand <david@redhat.com>\nMessage-Id: <20180622102928.173420-1-borntraeger@de.ibm.com>\nAcked-by: Paolo Bonzini <pbonzini@redhat.com>\nSigned-off-by: Cornelia Huck <cohuck@redhat.com>","distinct":true,"url":"https://api.github.com/repos/ehabkost/qemu/commits/76ed4b18debfe597329d1f6a9eb2ec9ffa751ecd"},{"sha":"0f0f8b611eeea663c8d3b6021918033e257411a1","author":{"name":"Thomas Huth","email":"9e65be74847981e55b2564b6266c57d86d3bac05@redhat.com"},"message":"loader: Check access size when calling rom_ptr() to avoid crashes\n\nThe rom_ptr() function allows direct access to the ROM blobs that we\nload during startup. However, there are currently no checks for the\nsize of the accesses, so it's currently possible to crash QEMU for\nexample with:\n\n$ echo \"Insane in the mainframe\" > /tmp/test.txt\n$ s390x-softmmu/qemu-system-s390x -kernel /tmp/test.txt -append xyz\nSegmentation fault (core dumped)\n$ s390x-softmmu/qemu-system-s390x -kernel /tmp/test.txt -initrd /tmp/test.txt\nSegmentation fault (core dumped)\n$ echo -n HdrS > /tmp/hdr.txt\n$ sparc64-softmmu/qemu-system-sparc64 -kernel /tmp/hdr.txt -initrd /tmp/hdr.txt\nSegmentation fault (core dumped)\n\nWe need a possibility to check the size of the ROM area that we want\nto access, thus let's add a size parameter to the rom_ptr() function\nto avoid these problems.\n\nAcked-by: Christian Borntraeger <borntraeger@de.ibm.com>\nSigned-off-by: Thomas Huth <thuth@redhat.com>\nMessage-Id: <1530005740-25254-1-git-send-email-thuth@redhat.com>\nSigned-off-by: Cornelia Huck <cohuck@redhat.com>","distinct":true,"url":"https://api.github.com/repos/ehabkost/qemu/commits/0f0f8b611eeea663c8d3b6021918033e257411a1"},{"sha":"87273151110b7736b34ae3e37ad778c28c36d643","author":{"name":"Christian Borntraeger","email":"49712f635b03c16d7f4c43df70e49ec8c565813d@de.ibm.com"},"message":"s390x/cpumodel: default enable bpb and ppa15 for z196 and later\n\nMost systems and host kernels provide the necessary building blocks for\nbpb and ppa15. We can reverse the logic and default enable those\nfeatures, while still allowing to disable it via cpu model.\n\nSo let us add bpb and ppa15 to z196 and later default CPU model for the\nqemu 3.0 machine. (like -cpu z13).  Older machine types (e.g.\ns390-ccw-virtio-2.12) will retain the old value and not provide those\nbits in the default model.\n\nSigned-off-by: Christian Borntraeger <borntraeger@de.ibm.com>\nMessage-Id: <20180626123830.18282-1-borntraeger@de.ibm.com>\nReviewed-by: David Hildenbrand <david@redhat.com>\nSigned-off-by: Cornelia Huck <cohuck@redhat.com>","distinct":true,"url":"https://api.github.com/repos/ehabkost/qemu/commits/87273151110b7736b34ae3e37ad778c28c36d643"},{"sha":"14055ce53c2d901d826ffad7fb7d6bb8ab46bdfd","author":{"name":"David Hildenbrand","email":"aa743a0aaec8f7d7a1f01442503957f4d7a2d634@redhat.com"},"message":"s390x/tcg: avoid overflows in time2tod/tod2time\n\nBig values for the TOD/ns clock can result in some overflows that can be\navoided. Not all overflows can be handled however, as the conversion either\nmultiplies by 4.096 or divided by 4.096.\n\nApply the trick used in the Linux kernel in arch/s390/include/asm/timex.h\nfor tod_to_ns() and use the same trick also for the conversion in the\nother direction.\n\nReviewed-by: Thomas Huth <thuth@redhat.com>\nSigned-off-by: David Hildenbrand <david@redhat.com>\nMessage-Id: <20180627134410.4901-2-david@redhat.com>\nSigned-off-by: Cornelia Huck <cohuck@redhat.com>","distinct":true,"url":"https://api.github.com/repos/ehabkost/qemu/commits/14055ce53c2d901d826ffad7fb7d6bb8ab46bdfd"},{"sha":"4ab6a1feac0a142045d3b7bdbb8182a99c0b8980","author":{"name":"David Hildenbrand","email":"aa743a0aaec8f7d7a1f01442503957f4d7a2d634@redhat.com"},"message":"s390x/kvm: pass values instead of pointers to kvm_s390_set_clock_*()\n\nWe are going to factor out the TOD into a separate device and use const\npointers for device class functions where possible. We are passing right\nnow ordinary pointers that should never be touched when setting the TOD.\nLet's just pass the values directly.\n\nNote that s390_set_clock() will be removed in a follow-on patch and\ntherefore its calling convention is not changed.\n\nSigned-off-by: David Hildenbrand <david@redhat.com>\nMessage-Id: <20180627134410.4901-3-david@redhat.com>\nSigned-off-by: Cornelia Huck <cohuck@redhat.com>","distinct":true,"url":"https://api.github.com/repos/ehabkost/qemu/commits/4ab6a1feac0a142045d3b7bdbb8182a99c0b8980"},{"sha":"8046f374a64b81fdf4f71f7a433bf4035d501521","author":{"name":"David Hildenbrand","email":"aa743a0aaec8f7d7a1f01442503957f4d7a2d634@redhat.com"},"message":"s390x/tod: factor out TOD into separate device\n\nLet's treat this like a separate device. TCG will have to store the\nactual state/time later on.\n\nInclude cpu-qom.h in kvm_s390x.h (due to S390CPU) to compile tod-kvm.c.\n\nReviewed-by: Thomas Huth <thuth@redhat.com>\nSigned-off-by: David Hildenbrand <david@redhat.com>\nMessage-Id: <20180627134410.4901-4-david@redhat.com>\nSigned-off-by: Cornelia Huck <cohuck@redhat.com>","distinct":true,"url":"https://api.github.com/repos/ehabkost/qemu/commits/8046f374a64b81fdf4f71f7a433bf4035d501521"},{"sha":"f777b20544fe5db3de179a83374cbf9f1e454427","author":{"name":"David Hildenbrand","email":"aa743a0aaec8f7d7a1f01442503957f4d7a2d634@redhat.com"},"message":"s390x/tcg: drop tod_basetime\n\nNever set to anything but 0.\n\nReviewed-by: Thomas Huth <thuth@redhat.com>\nSigned-off-by: David Hildenbrand <david@redhat.com>\nMessage-Id: <20180627134410.4901-5-david@redhat.com>\nSigned-off-by: Cornelia Huck <cohuck@redhat.com>","distinct":true,"url":"https://api.github.com/repos/ehabkost/qemu/commits/f777b20544fe5db3de179a83374cbf9f1e454427"},{"sha":"7de3b1cdc67dcb572c1761c2051252e91a438b22","author":{"name":"David Hildenbrand","email":"aa743a0aaec8f7d7a1f01442503957f4d7a2d634@redhat.com"},"message":"s390x/tcg: properly implement the TOD\n\nRight now, each CPU has its own TOD. Especially, the TOD will differ\nbased on creation time of a CPU - e.g. when hotplugging a CPU the times\nwill differ quite a lot, resulting in stall warnings in the guest.\n\nLet's use a single TOD by implementing our new TOD device. Prepare it\nfor TOD-clock epoch extension.\n\nMost importantly, whenever we set the TOD, we have to update the CKC\ntimer.\n\nIntroduce \"tcg_s390x.h\" just like \"kvm_s390x.h\" for tcg specific\nfunction declarations that should not go into cpu.h.\n\nReviewed-by: Thomas Huth <thuth@redhat.com>\nSigned-off-by: David Hildenbrand <david@redhat.com>\nMessage-Id: <20180627134410.4901-6-david@redhat.com>\nSigned-off-by: Cornelia Huck <cohuck@redhat.com>","distinct":true,"url":"https://api.github.com/repos/ehabkost/qemu/commits/7de3b1cdc67dcb572c1761c2051252e91a438b22"},{"sha":"345f1ab96e8279a537f32ae7447296d23308c7d1","author":{"name":"David Hildenbrand","email":"aa743a0aaec8f7d7a1f01442503957f4d7a2d634@redhat.com"},"message":"s390x/tcg: SET CLOCK COMPARATOR can clear CKC interrupts\n\nLet's stop the timer and delete any pending CKC IRQ before doing\nanything else.\n\nWhile at it, add a comment why the check for ckc == -1ULL is needed.\n\nReviewed-by: Thomas Huth <thuth@redhat.com>\nSigned-off-by: David Hildenbrand <david@redhat.com>\nMessage-Id: <20180627134410.4901-7-david@redhat.com>\nSigned-off-by: Cornelia Huck <cohuck@redhat.com>","distinct":true,"url":"https://api.github.com/repos/ehabkost/qemu/commits/345f1ab96e8279a537f32ae7447296d23308c7d1"},{"sha":"9dc6753718d4c0fe327729fea94e4d9f3f5a3d17","author":{"name":"David Hildenbrand","email":"aa743a0aaec8f7d7a1f01442503957f4d7a2d634@redhat.com"},"message":"s390x/tcg: implement SET CLOCK\n\nThis allows a guest to change its TOD. We already take care of updating\nall CKC timers from within S390TODClass.\n\nUse MO_ALIGN to load the operand manually - this will properly trigger a\nSPECIFICATION exception.\n\nAcked-by: Thomas Huth <thuth@redhat.com>\nSigned-off-by: David Hildenbrand <david@redhat.com>\nMessage-Id: <20180627134410.4901-8-david@redhat.com>\nSigned-off-by: Cornelia Huck <cohuck@redhat.com>","distinct":true,"url":"https://api.github.com/repos/ehabkost/qemu/commits/9dc6753718d4c0fe327729fea94e4d9f3f5a3d17"},{"sha":"7c12f710bad60dc7e509da4e80c77e952ef0490c","author":{"name":"David Hildenbrand","email":"aa743a0aaec8f7d7a1f01442503957f4d7a2d634@redhat.com"},"message":"s390x/tcg: rearm the CKC timer during migration\n\nIf the CPU data is migrated after the TOD clock, the CKC timer of a CPU\nis not rearmed. Let's rearm it when loading the CPU state.\n\nIntroduce tcg-stub.c just like kvm-stub.c for tcg specific stubs.\n\nReviewed-by: Thomas Huth <thuth@redhat.com>\nSigned-off-by: David Hildenbrand <david@redhat.com>\nMessage-Id: <20180627134410.4901-9-david@redhat.com>\nSigned-off-by: Cornelia Huck <cohuck@redhat.com>","distinct":true,"url":"https://api.github.com/repos/ehabkost/qemu/commits/7c12f710bad60dc7e509da4e80c77e952ef0490c"},{"sha":"d66b43c896f89d610f8738169db8e10e63a3a9e6","author":{"name":"David Hildenbrand","email":"aa743a0aaec8f7d7a1f01442503957f4d7a2d634@redhat.com"},"message":"s390x/tcg: fix CPU hotplug with single-threaded TCG\n\nrun_on_cpu() doesn't seem to work reliably until the CPU has been fully\ncreated if the single-threaded TCG main loop is already running.\n\nTherefore, hotplugging a CPU under single-threaded TCG does currently\nnot work. We should use the direct call instead of going via\nrun_on_cpu().\n\nSo let's use run_on_cpu() for KVM only - KVM requires it due to the initial\nCPU reset ioctl. As a nice side effect, we get rid of the ifdef.\n\nReviewed-by: Thomas Huth <thuth@redhat.com>\nSigned-off-by: David Hildenbrand <david@redhat.com>\nMessage-Id: <20180627134410.4901-10-david@redhat.com>\nSigned-off-by: Cornelia Huck <cohuck@redhat.com>","distinct":true,"url":"https://api.github.com/repos/ehabkost/qemu/commits/d66b43c896f89d610f8738169db8e10e63a3a9e6"},{"sha":"8151942151fe1cbf072414d8822b80b00abfbf42","author":{"name":"David Hildenbrand","email":"aa743a0aaec8f7d7a1f01442503957f4d7a2d634@redhat.com"},"message":"s390x/kvm: legacy_s390_alloc() only supports one allocation\n\nWe always allocate at a fixed address, a second allocation can therefore\nof course never work. We would simply overwrite mappings.\n\nThis can e.g. happen in s390_memory_init(), if trying to allocate more\nthan > 8TB. Let's just bail out, as there is no need for supporting it\n(legacy handling for z/VM).\n\nSigned-off-by: David Hildenbrand <david@redhat.com>\nMessage-Id: <20180628113817.30814-2-david@redhat.com>\nReviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>\nSigned-off-by: Cornelia Huck <cohuck@redhat.com>","distinct":true,"url":"https://api.github.com/repos/ehabkost/qemu/commits/8151942151fe1cbf072414d8822b80b00abfbf42"},{"sha":"d44444b0740680d996c979c8c3f63ab1c87f1cb1","author":{"name":"David Hildenbrand","email":"aa743a0aaec8f7d7a1f01442503957f4d7a2d634@redhat.com"},"message":"s390x/kvm: indicate alignment in legacy_s390_alloc()\n\nLet's do this for completeness reason, although we don't support e.g.\nPCDIMM/NVDIMM, which would use the alignment for placing the memory\nregion in guest physical memory. But maybe someday we would want to\nsupport something like this - then we don't forget about this if\nallowing multiple allocations in legacy_s390_alloc().\n\nUse the same alignment as we would set in qemu_anon_ram_alloc(). Our\nfixed address satisfies this alignment (1MB). This implicitly sets the\nalignment of the underlying memory region.\n\nSigned-off-by: David Hildenbrand <david@redhat.com>\nMessage-Id: <20180628113817.30814-3-david@redhat.com>\nSigned-off-by: Cornelia Huck <cohuck@redhat.com>","distinct":true,"url":"https://api.github.com/repos/ehabkost/qemu/commits/d44444b0740680d996c979c8c3f63ab1c87f1cb1"},{"sha":"30c8db0e219a3c1d8b39c19e8b858830cb141738","author":{"name":"David Hildenbrand","email":"aa743a0aaec8f7d7a1f01442503957f4d7a2d634@redhat.com"},"message":"s390x/tcg: fix locking problem with tcg_s390_tod_updated\n\ntcg_s390_tod_updated() is always called with the iothread being locked\n(e.g. from S390TODClass->set() e.g. via HELPER(sck) or on incoming\nmigration). The helper we call takes the lock itself - bad.\n\nLet's change that by factoring out updating the ckc timer. This now looks\nmuch nicer than having to call a helper from another function.\n\nWhile touching it we also make sure that env->ckc is updated even if the\nnew value is -1ULL, for now it would not have been modified in that case.\n\nReported-by: Christian Borntraeger <borntraeger@de.ibm.com>\nSigned-off-by: David Hildenbrand <david@redhat.com>\nMessage-Id: <20180629170520.13671-1-david@redhat.com>\nReviewed-by: Richard Henderson <richard.henderson@linaro.org>\nSigned-off-by: Cornelia Huck <cohuck@redhat.com>","distinct":true,"url":"https://api.github.com/repos/ehabkost/qemu/commits/30c8db0e219a3c1d8b39c19e8b858830cb141738"},{"sha":"3b84967c192fba485340f7c34ceb4f877d27b36d","author":{"name":"Gerd Hoffmann","email":"cad73e70082427fddc9be3baaf34e698dffd21c0@redhat.com"},"message":"audio/hda: drop atomics\n\nDoesn't build on 32bit clang.  And because we run under qemu mutex\nanyway they are not needed.\n\nSigned-off-by: Gerd Hoffmann <kraxel@redhat.com>\nReviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>\nTested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>\nMessage-id: 20180627111936.31019-1-kraxel@redhat.com\nSigned-off-by: Peter Maydell <peter.maydell@linaro.org>","distinct":true,"url":"https://api.github.com/repos/ehabkost/qemu/commits/3b84967c192fba485340f7c34ceb4f877d27b36d"},{"sha":"d9345f1e1b1936b9ed7026b83091cf701f7ce07e","author":{"name":"Laurent Vivier","email":"f1b010126f61b5c59e7d5eb42c5c68f6105c5914@vivier.eu"},"message":"target/m68k: correctly disassemble move16\n\n\"move16 %a0@+,%a1@\" and \"fmovel (cpid=3) %a0@-,%fpcr\"\nshare the same opcode.\n\nTo fix that, backport the fix from binutils:\n\n  2005-11-10  Andreas Schwab  <schwab@suse.de>\n\n     * m68k-dis.c (print_insn_m68k): Only match FPU insns with\n     coprocessor ID 1.\n\nReported-by: Thomas Huth <huth@tuxfamily.org>\nSigned-off-by: Laurent Vivier <laurent@vivier.eu>\nTested-by: Thomas Huth <huth@tuxfamily.org>\nMessage-Id: <20180625203559.21370-2-laurent@vivier.eu>","distinct":true,"url":"https://api.github.com/repos/ehabkost/qemu/commits/d9345f1e1b1936b9ed7026b83091cf701f7ce07e"},{"sha":"646f34fa5482e495483de230b4cf0f2ae4fd2781","author":{"name":"Philippe Mathieu-Daudé","email":"0a10dd014d87a5dcb12e2a00f76fe3469345692a@amsat.org"},"message":"tcg: Fix --disable-tcg build breakage\n\nFix the --disable-tcg breakage introduced by 8bca9a03ec60d:\n\n    $ configure --disable-tcg\n    [...]\n    $ make -C i386-softmmu exec.o\n    make: Entering directory 'i386-softmmu'\n      CC      exec.o\n    In file included from source/qemu/exec.c:62:0:\n    source/qemu/include/exec/ram_addr.h:96:6: error: conflicting types for ‘tb_invalidate_phys_range’\n     void tb_invalidate_phys_range(ram_addr_t start, ram_addr_t end);\n          ^~~~~~~~~~~~~~~~~~~~~~~~\n    In file included from source/qemu/exec.c:24:0:\n    source/qemu/include/exec/exec-all.h:309:6: note: previous declaration of ‘tb_invalidate_phys_range’ was here\n     void tb_invalidate_phys_range(target_ulong start, target_ulong end);\n          ^~~~~~~~~~~~~~~~~~~~~~~~\n    source/qemu/exec.c:1043:6: error: conflicting types for ‘tb_invalidate_phys_addr’\n     void tb_invalidate_phys_addr(AddressSpace *as, hwaddr addr, MemTxAttrs attrs)\n          ^~~~~~~~~~~~~~~~~~~~~~~\n    In file included from source/qemu/exec.c:24:0:\n    source/qemu/include/exec/exec-all.h:308:6: note: previous declaration of ‘tb_invalidate_phys_addr’ was here\n     void tb_invalidate_phys_addr(target_ulong addr);\n          ^~~~~~~~~~~~~~~~~~~~~~~\n    make: *** [source/qemu/rules.mak:69: exec.o] Error 1\n    make: Leaving directory 'i386-softmmu'\n\nTested to build x86_64-softmmu and i386-softmmu targets.\n\nSigned-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>\nMessage-id: 20180629200710.27626-1-f4bug@amsat.org\nReviewed-by: Peter Maydell <peter.maydell@linaro.org>\nSigned-off-by: Peter Maydell <peter.maydell@linaro.org>","distinct":true,"url":"https://api.github.com/repos/ehabkost/qemu/commits/646f34fa5482e495483de230b4cf0f2ae4fd2781"},{"sha":"2d58e33ec1b76990f09bc1e3412e0b36e1ac4634","author":{"name":"Peter Maydell","email":"313afa09ce093b19ae1dd74f57c1ebd94508584c@linaro.org"},"message":"Merge remote-tracking branch 'remotes/vivier/tags/m68k-for-3.0-pull-request' into staging\n\nFix move16 instruction disassembly\n\n# gpg: Signature made Mon 02 Jul 2018 11:25:51 BST\n# gpg:                using RSA key F30C38BD3F2FBE3C\n# gpg: Good signature from \"Laurent Vivier <lvivier@redhat.com>\"\n# gpg:                 aka \"Laurent Vivier <laurent@vivier.eu>\"\n# gpg:                 aka \"Laurent Vivier (Red Hat) <lvivier@redhat.com>\"\n# Primary key fingerprint: CD2F 75DD C8E3 A4DC 2E4F  5173 F30C 38BD 3F2F BE3C\n\n* remotes/vivier/tags/m68k-for-3.0-pull-request:\n  target/m68k: correctly disassemble move16\n\nSigned-off-by: Peter Maydell <peter.maydell@linaro.org>","distinct":true,"url":"https://api.github.com/repos/ehabkost/qemu/commits/2d58e33ec1b76990f09bc1e3412e0b36e1ac4634"},{"sha":"7320bb2cb0b0bc54ecab3dfaea797d8f42e34ad9","author":{"name":"Peter Maydell","email":"313afa09ce093b19ae1dd74f57c1ebd94508584c@linaro.org"},"message":"Merge remote-tracking branch 'remotes/cohuck/tags/s390x-20180702' into staging\n\ns390x updates:\n- add bpb/ppa15 features to default cpu model for z196 and later\n- rework TOD handling and fix cpu hotplug under tcg\n- various fixes\n\n# gpg: Signature made Mon 02 Jul 2018 12:09:40 BST\n# gpg:                using RSA key DECF6B93C6F02FAF\n# gpg: Good signature from \"Cornelia Huck <conny@cornelia-huck.de>\"\n# gpg:                 aka \"Cornelia Huck <huckc@linux.vnet.ibm.com>\"\n# gpg:                 aka \"Cornelia Huck <cornelia.huck@de.ibm.com>\"\n# gpg:                 aka \"Cornelia Huck <cohuck@kernel.org>\"\n# gpg:                 aka \"Cornelia Huck <cohuck@redhat.com>\"\n# Primary key fingerprint: C3D0 D66D C362 4FF6 A8C0  18CE DECF 6B93 C6F0 2FAF\n\n* remotes/cohuck/tags/s390x-20180702:\n  s390x/tcg: fix locking problem with tcg_s390_tod_updated\n  s390x/kvm: indicate alignment in legacy_s390_alloc()\n  s390x/kvm: legacy_s390_alloc() only supports one allocation\n  s390x/tcg: fix CPU hotplug with single-threaded TCG\n  s390x/tcg: rearm the CKC timer during migration\n  s390x/tcg: implement SET CLOCK\n  s390x/tcg: SET CLOCK COMPARATOR can clear CKC interrupts\n  s390x/tcg: properly implement the TOD\n  s390x/tcg: drop tod_basetime\n  s390x/tod: factor out TOD into separate device\n  s390x/kvm: pass values instead of pointers to kvm_s390_set_clock_*()\n  s390x/tcg: avoid overflows in time2tod/tod2time\n  s390x/cpumodel: default enable bpb and ppa15 for z196 and later\n  loader: Check access size when calling rom_ptr() to avoid crashes\n  s390/ipl: fix ipl with -no-reboot\n\nSigned-off-by: Peter Maydell <peter.maydell@linaro.org>","distinct":true,"url":"https://api.github.com/repos/ehabkost/qemu/commits/7320bb2cb0b0bc54ecab3dfaea797d8f42e34ad9"}]}
{"actor":{"display_login":"ehabkost"}}