Skip to content

Commits

Permalink
memhp-wip
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Commits on Nov 19, 2013

  1. map 64-bit PCI BARs at location provided by emulator

    Currently 64-bit PCI BARs are unconditionally mapped by BIOS right
    over 4G + RamSizeOver4G location, which doesn't allow to reserve
    extra space before 64-bit PCI window. For memory hotplug an extra
    RAM space might be reserved after present 64-bit RAM end and BIOS
    should map 64-bit PCI BARs after it.
    
    Introduce "etc/reserved-memory-end" romfile to provide BIOS a hint
    where it should start mapping of 64-bit PCI BARs. If romfile is
    missing, BIOS reverts to legacy behavior and starts mapping after
    high memory.
    
    Signed-off-by: Igor Mammedov <imammedo@redhat.com>
    ---
    v3:
      * s/pcimem64-start/reserved-memory-end/
    v2:
      * place 64-bit window behind high RAM end if "etc/pcimem64-start"
        point below it.
    Igor Mammedov committed Nov 19, 2013
    Copy the full SHA
    0e5e960 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2013

  1. acpi: strip compiler info in built-in DSDT if any

    IASL stores it's revision in each table header it generates.
    That's a problem since guests see a change each time
    they move between hypervisors.
    We generally fill our own info for tables,
    but we forgot to do this for the built-in DSDT.
    
    Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
    mstsirkin committed Oct 3, 2013
    Copy the full SHA
    50957e6 View commit details
    Browse the repository at this point in the history
  2. acpi: load and link tables through romfile loader

    Load files through romfile loader and use for acpi tables.
    We need the RSDP pointer to hang the rest of the tables off it,
    to detect that we simply scan all memory in FSEG.
    
    Add an option to disable this feature (useful for old QEMU versions).
    This saves about 1Kbytes.
    
    enabled:
    Total size: 134932  Fixed: 61571  Free: 127212 (used 51.5% of 256KiB rom)
    
    disabled:
    Total size: 133836  Fixed: 61563  Free: 128308 (used 51.1% of 256KiB rom)
    
    Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
    mstsirkin committed Oct 3, 2013
    Copy the full SHA
    7771903 View commit details
    Browse the repository at this point in the history
  3. romfile_loader: utility to patch in-memory ROM files

    Add ability for a ROM file to point to
    it's image in memory. When file is in memory,
    add utility that can patch it, storing
    pointers to one file within another file.
    
    This is not a lot of code: together with the follow-up patch to load
    ACPI tables from ROM, it's about 1K extra.
    
    Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
    mstsirkin committed Oct 3, 2013
    Copy the full SHA
    ca60983 View commit details
    Browse the repository at this point in the history
  4. biostables: support looking up RSDP

    Will be used when it's loaded from QEMU.
    
    Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
    mstsirkin committed Oct 3, 2013
    Copy the full SHA
    c656bd8 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2013

  1. README: document which config options to use

    In the interim of moving ACPI tables out of
    seabios, developers should get the config from
    QEMU tree to keep things in sync.
    
    Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
    mstsirkin committed Sep 23, 2013
    Copy the full SHA
    d15a0bf View commit details
    Browse the repository at this point in the history
  2. license: allow QEMU to reuse acpi bits under GPLv2+

    You are getting this mail because you might have contributed code to one
    of the files in seabios that we want to reuse in QEMU,
    when this file was under GPLv3 or LGPLv3.
    
    QEMU is GPLv2 at the moment, so as a step in the process of moving acpi
    tables to qemu, we need to make sure the code we'll be moving is GPLv2
    compatible.
    
    The code was originally LGPLv2 in bochs so these bits are OK.
    
    QEMU generally prefers GPLv2 or later, so this is what this
    patch does. The plan is therefore:
    - collect acks from everyone
    - copy code to QEMU and apply this patch to QEMU copy only
    
    If you allow the use of your contribution in QEMU under the
    terms of GPLv2 or later as proposed by this patch,
    please respond to this mail including the line:
    
    	Acked-by: Name <email address>
    
    in the message body.
    
    Thanks!
    
    Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
    mstsirkin committed Sep 23, 2013
    Copy the full SHA
    a15f2bd View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2013

  1. fix buildversion.sh

    Recent git versions place the submodule git repos into the
    .git/modules directory of the toplevel repo.  In that case
    .git of the seabios tree isn't a directory, but a regular
    file, saying where the gitdir is.
    
    Extent the git check to also allow .git being a regular file,
    so buildversion.sh works correctly when called within the qemu
    submodule.
    
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    kraxel committed Sep 19, 2013
    Copy the full SHA
    0b3607f View commit details
    Browse the repository at this point in the history
  2. usb: add xhci support

    $subject says all.  Support for usb3 streams is not implemented yet,
    otherwise it is fully functional.  Tested all usb devices supported
    by qemu (keyboard, storage, usb hubs), except for usb attached scsi
    in usb3 mode (which needs streams).
    
    Tested on qemu only, tagged with QEMU_HARDWARE because of that.
    Testing with physical hardware to be done.
    
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    kraxel committed Sep 19, 2013
    Copy the full SHA
    e144bb7 View commit details
    Browse the repository at this point in the history
  3. usb: add usb_update_pipe()

    Preparation for better xhci support: allows to notify host controllers
    instead of going through a free+alloc cycle.
    
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    kraxel committed Sep 19, 2013
    Copy the full SHA
    63cbab1 View commit details
    Browse the repository at this point in the history
  4. uas: add (temporary) superspeed stopgap

    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    kraxel committed Sep 19, 2013
    Copy the full SHA
    ee9b84f View commit details
    Browse the repository at this point in the history
  5. Add qemu detection to csm

    Add a qemu_preinit() call to csm initialization,
    so PF_QEMU gets set when running on qemu.
    
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    kraxel committed Sep 19, 2013
    Copy the full SHA
    9ab39de View commit details
    Browse the repository at this point in the history
  6. Drop coreboot qemu detection

    Not needed any more, the new qemu_detect() function
    does the job instead.
    
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    kraxel committed Sep 19, 2013
    Copy the full SHA
    b923d30 View commit details
    Browse the repository at this point in the history
  7. Add generic qemu detection

    This patch adds support for detecting whenever SeaBIOS runs on qemu
    or not.  This is done by looking at the northbridge (pci device 00:00.0)
    and check the subsystem id.  Most pci devices emulated by qemu -- the
    two northbridges i440fx and q35 included -- have a subsystem id of
    "1af4:1100".
    
    In case the subsystem ID matches set PF_QEMU, log a message (including
    the northbridge found while being at it) and also check for kvm.
    
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    kraxel committed Sep 19, 2013
    Copy the full SHA
    ebfece8 View commit details
    Browse the repository at this point in the history
  8. Sort the sections of util.h.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
    KevinOConnor committed Sep 19, 2013
    Copy the full SHA
    b367e0a View commit details
    Browse the repository at this point in the history
  9. Merge bmp.h, boot.h, jpeg.h, and post.h into util.h.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
    KevinOConnor committed Sep 19, 2013
    Copy the full SHA
    07cf73b View commit details
    Browse the repository at this point in the history
  10. Move standard bda type info from biosvar.h to std/bda.h.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
    KevinOConnor committed Sep 19, 2013
    Copy the full SHA
    392d2aa View commit details
    Browse the repository at this point in the history
  11. Split disk.h into block.h and std/disk.h.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
    KevinOConnor committed Sep 19, 2013
    Copy the full SHA
    135f3f6 View commit details
    Browse the repository at this point in the history
  12. Move pmm definitions to new file std/pmm.h.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
    KevinOConnor committed Sep 19, 2013
    Copy the full SHA
    b18557a View commit details
    Browse the repository at this point in the history
  13. Move pnpbios definition to new file std/pnpbios.h.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
    KevinOConnor committed Sep 19, 2013
    Copy the full SHA
    4f790aa View commit details
    Browse the repository at this point in the history
  14. Move fw/acpi.h to std/acpi.h.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
    KevinOConnor committed Sep 19, 2013
    Copy the full SHA
    5a7545c View commit details
    Browse the repository at this point in the history
  15. Move fw/mptable.h to std/mptable.h.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
    KevinOConnor committed Sep 19, 2013
    Copy the full SHA
    3d0dfe1 View commit details
    Browse the repository at this point in the history
  16. Move fw/smbios.h to std/smbios.h.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
    KevinOConnor committed Sep 19, 2013
    Copy the full SHA
    b37a528 View commit details
    Browse the repository at this point in the history
  17. Move fw/LegacyBios.h to std/LegacyBios.h and remove csm.h.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
    KevinOConnor committed Sep 19, 2013
    Copy the full SHA
    f6d700d View commit details
    Browse the repository at this point in the history
  18. Move vbe.h to std/vbe.h.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
    KevinOConnor committed Sep 19, 2013
    Copy the full SHA
    2e57c81 View commit details
    Browse the repository at this point in the history
  19. Move optionroms.h to std/optionrom.h and util.h.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
    KevinOConnor committed Sep 19, 2013
    Copy the full SHA
    8fb3a5e View commit details
    Browse the repository at this point in the history
  20. Move pirtable definitions from hw/pci.h to std/pirtable.h and util.h.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
    KevinOConnor committed Sep 19, 2013
    Copy the full SHA
    c5e06fb View commit details
    Browse the repository at this point in the history
  21. build: Fix import of gcc dependency files.

    Make sure dependency file import works with new hw/ and fw/
    sub-directories.
    
    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
    KevinOConnor committed Sep 19, 2013
    Copy the full SHA
    836ec5c View commit details
    Browse the repository at this point in the history
  22. Move definition of struct segoff_s from farptr.h to types.h.

    The segoff_s definition is used by a number of header files that would
    not otherwise need farptr.h, so move it to a more central location.
    
    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
    KevinOConnor committed Sep 19, 2013
    Copy the full SHA
    b4f4d33 View commit details
    Browse the repository at this point in the history
  23. Move function definitions for output.c from util.h to new file output.h.

    Also, sort the order of include files in the c files.
    
    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
    KevinOConnor committed Sep 19, 2013
    Copy the full SHA
    2d2fa31 View commit details
    Browse the repository at this point in the history
  24. Move malloc code from pmm.c to new files malloc.c and malloc.h.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
    KevinOConnor committed Sep 19, 2013
    Copy the full SHA
    9dea590 View commit details
    Browse the repository at this point in the history
  25. Move romfile definitions from util.h to new file romfile.h.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
    KevinOConnor committed Sep 19, 2013
    Copy the full SHA
    41639f8 View commit details
    Browse the repository at this point in the history
  26. Move stacks.c definitions from util.h to new file stacks.h.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
    KevinOConnor committed Sep 19, 2013
    Copy the full SHA
    3df600b View commit details
    Browse the repository at this point in the history
  27. build: Perform compile checking on vgasrc code.

    Perform a compile check on each individual C file of the vgabios code
    similar to the way that the main bios code does individual C compile
    tests.
    
    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
    KevinOConnor committed Sep 19, 2013
    Copy the full SHA
    cdb9820 View commit details
    Browse the repository at this point in the history
  28. Rename util.c to string.c and introduce string.h.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
    KevinOConnor committed Sep 19, 2013
    Copy the full SHA
    fa9c66a View commit details
    Browse the repository at this point in the history
Older