{"push_id":2427379042,"size":68,"distinct_size":68,"ref":"refs/heads/master","head":"907bb0b6ebd5fed5f198ddf9d34812884e6b77f1","before":"21ee643dca247e4926c7a3b64742584e4a151f92","commits":[{"sha":"dc47ac613f1df343417d1a730d6b68e5e0b0c1a9","author":{"name":"Paolo Bonzini","email":"7438500e0207b21c4e5dfca8d2a7898734cd7706@redhat.com"},"message":"lib: simplify alloc_ops\n\nLayer malloc/calloc/free/memalign over a basic allocator.\nThe implementation of high-level routines remains the basic one\nfrom before, but the callback interface is reduced to a single\nfunction.  Since alloc.c now contains the physical address allocator\nonly, rename it.\n\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>","distinct":true,"url":"https://api.github.com/repos/ligurio/kvm-unit-tests/commits/dc47ac613f1df343417d1a730d6b68e5e0b0c1a9"},{"sha":"efd8e5aa7474352dd66b0e647948fd9cec3cadc6","author":{"name":"Paolo Bonzini","email":"7438500e0207b21c4e5dfca8d2a7898734cd7706@redhat.com"},"message":"lib: start moving vmalloc to generic code\n\nFor now, vmalloc provides a primitive that allocates contiguous virtual\naddress.  Together with a page allocator that allocates single\nphysical memory pages, it will provide an implementation of\nalloc_ops for when an MMU is enabled.\n\nBefore doing that, however, we need to move the page allocator and\ngive lib/alloc.c's malloc feature parity with lib/x86/vm.c's vmalloc.\n\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>","distinct":true,"url":"https://api.github.com/repos/ligurio/kvm-unit-tests/commits/efd8e5aa7474352dd66b0e647948fd9cec3cadc6"},{"sha":"5aca024ecf2c01430d0993df439374c46c6f2a29","author":{"name":"Paolo Bonzini","email":"7438500e0207b21c4e5dfca8d2a7898734cd7706@redhat.com"},"message":"lib: move page allocator here from x86\n\nThis is another step in porting the x86 (v)malloc implementation to\nother architectures.\n\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>","distinct":true,"url":"https://api.github.com/repos/ligurio/kvm-unit-tests/commits/5aca024ecf2c01430d0993df439374c46c6f2a29"},{"sha":"2477913fcb27999be6fe16d11c4d89dbd433e86a","author":{"name":"Paolo Bonzini","email":"7438500e0207b21c4e5dfca8d2a7898734cd7706@redhat.com"},"message":"alloc_page: fix off-by-one\n\nIt is okay to free up to the very last page of virtual address space,\nin which case mem+size is zero.\n\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>","distinct":true,"url":"https://api.github.com/repos/ligurio/kvm-unit-tests/commits/2477913fcb27999be6fe16d11c4d89dbd433e86a"},{"sha":"871948000cef0da4ea14b138517d5f876171b730","author":{"name":"Paolo Bonzini","email":"7438500e0207b21c4e5dfca8d2a7898734cd7706@redhat.com"},"message":"x86: leave VM setup out of vtd_init\n\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>","distinct":true,"url":"https://api.github.com/repos/ligurio/kvm-unit-tests/commits/871948000cef0da4ea14b138517d5f876171b730"},{"sha":"716cea8ab268eca57c7d7e9586b85fa9a2454d92","author":{"name":"Paolo Bonzini","email":"7438500e0207b21c4e5dfca8d2a7898734cd7706@redhat.com"},"message":"x86: prepare for extending setup.c\n\nRename setup_get_initrd to setup_multiboot as we will get memory map\ninformation from there, and since we are at it setup_environ to\nsetup_libcflat.\n\nUse C structs for multiboot information instead of offsets.\n\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>","distinct":true,"url":"https://api.github.com/repos/ligurio/kvm-unit-tests/commits/716cea8ab268eca57c7d7e9586b85fa9a2454d92"},{"sha":"937e239220378a7417e3b6e7cfc6e0fe1223c440","author":{"name":"Paolo Bonzini","email":"7438500e0207b21c4e5dfca8d2a7898734cd7706@redhat.com"},"message":"x86: use alloc_phys\n\nAs the next step in making vmalloc/vfree available to every other architecture,\nregister the available memory with phys_alloc for x86 too, and add a service\nto return the unused phys_alloc region.  This makes setup_vm architecture-\nindependent.\n\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>","distinct":true,"url":"https://api.github.com/repos/ligurio/kvm-unit-tests/commits/937e239220378a7417e3b6e7cfc6e0fe1223c440"},{"sha":"11c4715fbf87ba97eedcd5578785dcf51c5d7f1e","author":{"name":"Paolo Bonzini","email":"7438500e0207b21c4e5dfca8d2a7898734cd7706@redhat.com"},"message":"alloc: implement free\n\nTrack block size in lib/alloc.c and not in alloc_ops.  alloc_ops->free\ngets the size from the malloc implementation.\n\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>","distinct":true,"url":"https://api.github.com/repos/ligurio/kvm-unit-tests/commits/11c4715fbf87ba97eedcd5578785dcf51c5d7f1e"},{"sha":"4363f1d9a646a5c7ea673bee8fc33ca6f2cddbd8","author":{"name":"Paolo Bonzini","email":"7438500e0207b21c4e5dfca8d2a7898734cd7706@redhat.com"},"message":"x86: introduce pgd_t and pteval_t\n\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>","distinct":true,"url":"https://api.github.com/repos/ligurio/kvm-unit-tests/commits/4363f1d9a646a5c7ea673bee8fc33ca6f2cddbd8"},{"sha":"c41e032ae372acf810ef1810b81de99c29454d78","author":{"name":"Paolo Bonzini","email":"7438500e0207b21c4e5dfca8d2a7898734cd7706@redhat.com"},"message":"x86: turn virt_to_phys_cr3 into virt_to_pte_phys\n\nFor consistency with install_page, make it accept a root page table\npointer.\n\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>","distinct":true,"url":"https://api.github.com/repos/ligurio/kvm-unit-tests/commits/c41e032ae372acf810ef1810b81de99c29454d78"},{"sha":"dcda215bee0e3d21eefba1b3658ba384952b5576","author":{"name":"Paolo Bonzini","email":"7438500e0207b21c4e5dfca8d2a7898734cd7706@redhat.com"},"message":"vmalloc: convert to alloc_ops\n\nThe final step moves the vmalloc and vmap implementation to generic code,\nrewriting vmalloc and vfree as an alloc_ops implementation that is\ninstalled by setup_vm.\n\nThis way all architectures can benefit from it just by calling setup_vm\nand providing the implementation of install_page.\n\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>","distinct":true,"url":"https://api.github.com/repos/ligurio/kvm-unit-tests/commits/dcda215bee0e3d21eefba1b3658ba384952b5576"},{"sha":"63ab2d704cf34c7f8f339fef88bc7a40675e7b1a","author":{"name":"Paolo Bonzini","email":"7438500e0207b21c4e5dfca8d2a7898734cd7706@redhat.com"},"message":"arm64: use adrp instead of adr\n\nWe are pretty close to exhausting the 128KiB range allowed by adr.\nUse adrp+add, or adrp+an offset, to allow for a wider range to avoid\nthat objcopy has to truncate relocations.\n\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>","distinct":true,"url":"https://api.github.com/repos/ligurio/kvm-unit-tests/commits/63ab2d704cf34c7f8f339fef88bc7a40675e7b1a"},{"sha":"c2a95639b4cc7eb7f4f05a92c965e6ce5c39bccb","author":{"name":"Paolo Bonzini","email":"7438500e0207b21c4e5dfca8d2a7898734cd7706@redhat.com"},"message":"arm: make pgtable.h private to mmu.c\n\nThe pgd/pmd/pud definitions are not needed outside the architecture-\ndependent MMU functions.  In fact, it probably would be simpler to\nhave completely different files for 32-bit and 64-bit ARM.  However,\nas a first and possibly less controversial step, hide them inside\nthat file.\n\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>","distinct":true,"url":"https://api.github.com/repos/ligurio/kvm-unit-tests/commits/c2a95639b4cc7eb7f4f05a92c965e6ce5c39bccb"},{"sha":"0226e262d1a60acd6c749ee7087fe046f0face20","author":{"name":"Paolo Bonzini","email":"7438500e0207b21c4e5dfca8d2a7898734cd7706@redhat.com"},"message":"arm: get rid of pud\n\nWe do not need four levels of page tables in either 32-bit or 64-bit\nARM, so remove the useless indirection.\n\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>","distinct":true,"url":"https://api.github.com/repos/ligurio/kvm-unit-tests/commits/0226e262d1a60acd6c749ee7087fe046f0face20"},{"sha":"f0671a7b4a84b176fc2760ad13a854d8e3e43015","author":{"name":"Paolo Bonzini","email":"7438500e0207b21c4e5dfca8d2a7898734cd7706@redhat.com"},"message":"arm: use better-matching types for virtual and physical addresses\n\nMake virtual addresses use uintptr_t and physical addresses\nuse phys_addr_t.\n\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>","distinct":true,"url":"https://api.github.com/repos/ligurio/kvm-unit-tests/commits/f0671a7b4a84b176fc2760ad13a854d8e3e43015"},{"sha":"cf11c6fe30779e362c8e31a79c6658f08afc2508","author":{"name":"Paolo Bonzini","email":"7438500e0207b21c4e5dfca8d2a7898734cd7706@redhat.com"},"message":"arm: only align CPU stacks to one page\n\nvmalloc is not able to provide allocations with alignment greater than\nPAGE_SIZE, so avoid them.\n\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>","distinct":true,"url":"https://api.github.com/repos/ligurio/kvm-unit-tests/commits/cf11c6fe30779e362c8e31a79c6658f08afc2508"},{"sha":"16444ac81625d86ffe0a870179dcf6fa98182f86","author":{"name":"Paolo Bonzini","email":"7438500e0207b21c4e5dfca8d2a7898734cd7706@redhat.com"},"message":"arm: do not allocate virtio buffers from the stack\n\nThe stack will be in virtual memory space starting from the next patch,\nso the address of automatic variables will not be a physical address\nanymore.\n\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>","distinct":true,"url":"https://api.github.com/repos/ligurio/kvm-unit-tests/commits/16444ac81625d86ffe0a870179dcf6fa98182f86"},{"sha":"031755dbfefba335a44e16e1d68b3141df514573","author":{"name":"Paolo Bonzini","email":"7438500e0207b21c4e5dfca8d2a7898734cd7706@redhat.com"},"message":"arm: enable vmalloc\n\nUnlike x86, ARM always enables virtual memory so it always switches\nearly from phys_alloc to vmalloc.  The changes mostly involve using\nalloc_page directly whenever physical addresses are needed, and of course\nimplementing the architecture-dependent callbacks that vmalloc needs.\n\nThe 32-bit root page table doesn't need a full page, but it is simpler\nto just allocate one.  With split files for 32-bit and 64-bit, we could\njust place mmu_idmap in .bss.\n\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>","distinct":true,"url":"https://api.github.com/repos/ligurio/kvm-unit-tests/commits/031755dbfefba335a44e16e1d68b3141df514573"},{"sha":"cb67196a3624ee40d5e28992c6e240d084f6315b","author":{"name":"Paolo Bonzini","email":"7438500e0207b21c4e5dfca8d2a7898734cd7706@redhat.com"},"message":"x86: setup: fixes to alloc_phys setup\n\nThere were two thinkos in commit 937e239 (\"x86: use alloc_phys\",\n2017-11-02).\n\nFirst, alloc_phys is not initialized if there are no multiboot modules,\nas is the case when invoking QEMU directly with a test kernel.\n\nSecond, one \"&\" was missing, so the topmost memory address was passed\nas the size to phys_alloc_init.\n\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>","distinct":true,"url":"https://api.github.com/repos/ligurio/kvm-unit-tests/commits/cb67196a3624ee40d5e28992c6e240d084f6315b"},{"sha":"51b8f0b1374b11b1c432bb8f9db4479ae3085dff","author":{"name":"Andrew Jones","email":"6ce2cb60417f1f39ff6de3c1d0daaec5876c1c5a@redhat.com"},"message":"Makefile: fix cscope target\n\nSince 031755db \"arm: enable vmalloc\" one of arm's source files is a\nsymlink. cscope doesn't like that. Fix how we generate cscope.files\nin order to make it happy.\n\nSigned-off-by: Andrew Jones <drjones@redhat.com>\nSigned-off-by: Radim Krčmář <rkrcmar@redhat.com>","distinct":true,"url":"https://api.github.com/repos/ligurio/kvm-unit-tests/commits/51b8f0b1374b11b1c432bb8f9db4479ae3085dff"}]}
{"actor":{"display_login":"ligurio"}}