1. 03 Feb, 2014 2 commits
    • Gerd Hoffmann's avatar
      Update seabios submodule to 1.7.4 · cd4eb4c5
      Gerd Hoffmann authored
      Not that many changes as we already have a git snapshot pretty close
      to final 1.7.4 in the tree.  Most notably change is the vgabios change
      which fixes the windows guest regression.
      
      Full git shortlog:
      
      Gerd Hoffmann (2):
            run qemu_cfg_e820 only for CONFIG_QEMU=y
            change boot order load log level
      
      Kevin O'Connor (10):
            Minor - move sgdt/lgdt macros from stacks.c to x86.h.
            Separate out sec32init sections even when not doing code relocation.
            floppy: Fix incorrect LBA to CHS translation.
            floppy: Fix accesses to DOR register.
            vgabios: Avoid memory references via %esp register in vgabios.
            Small improvements to irqentry_extrastack assembler.
            floppy: Encode command and flags into single value in floppy pio code.
            On disk format request, verify cylinders and pass to driver.
            floppy: Implement cylinder seeking when accessing a different cylinder.
            coreboot: Make sure to print the SeaBIOS version in cbmem debug output.
      
      Kyösti Mälkki (1):
            Fix CBMEM console overflow
      cd4eb4c5
    • Bruce Rogers's avatar
      roms: remove explicit MAKEFLAGS from recursive make invocations · 50df8d5d
      Bruce Rogers authored
      When using $(MAKE) within a makefile, we shouldn't be explicitly
      including $(MAKEFLAGS) on the command-line. It causes problems
      when that makefile is recursively invoked. When the roms/Makefile
      is invoked as in make -C roms bios a spurious 'w' appears on the
      sub-make invocation, due to the erroneous $(MAKEFLAGS) inclusion.
      Signed-off-by: default avatarBruce Rogers <brogers@suse.com>
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      50df8d5d
  2. 12 Jan, 2014 1 commit
  3. 06 Dec, 2013 3 commits
    • Gerd Hoffmann's avatar
      roms: enable seabios cross builds · 07403a5a
      Gerd Hoffmann authored
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      07403a5a
    • Gerd Hoffmann's avatar
      roms: build two seabios binaries · 94e68caa
      Gerd Hoffmann authored
      Adding xhci support to seabios made it jump over the 128k line.
      Changing the bios size breaks migration, so we have to keep a
      128k seabios binary for old machine types.  New machine types can
      use a large 256k bios which should be big enougth for a while.
      
      This patch updates the seabios build process to build seabios twice,
      once full featured and once with xen and xhci turned off so the
      resulting binary is small enougth to fit into 128k.
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      94e68caa
    • Gerd Hoffmann's avatar
      roms: update seabios submodule to 31b8b4eea9d9ad58a73b22a6060d3ac1c419c26d · 11938d78
      Gerd Hoffmann authored
      Updates seabios to git master snapshot.  seabios is in freeze now,
      update to final 1.7.4 will follow later this year.
      
      Summary of major changes:
      
       * Support for acpi table loading from qemu.
       * Support for the xhci host adapter.
       * Support for the pvscsi HBA.
       * Various minor bug fixes.
       * Lots of cleanups.
      
      Full shortlog since 1.7.3 (note that some of these changes have been
      cherry-picked into 1.7.3-stable):
      
      Evgeny Budilovsky (1):
            Add pvscsi boot support
      
      Gerd Hoffmann (27):
            coreboot: add cbmem console support
            Add CONFIG_DEBUG_COREBOOT config option
            apm: fix shutdown
            ahci: add missing check for allocation failure
            bochsvga: fallback to stdvga if dispi interface isn't present
            Add generic qemu detection
            Drop coreboot qemu detection
            Add qemu detection to csm
            uas: add (temporary) superspeed stopgap
            usb: add usb_update_pipe()
            usb: add xhci support
            fix buildversion.sh
            build: simplify cross builds
            build: create output dirs in do-kconfig
            build: explicitly set ROM size
            Add qemu_cfg_e820 function.
            Add support for etc/e820 fw_cfg file
            pci: don't reorder entries when moving to 64bit list
            pci: don't map usb host adapters above 4G
            pci: align 64bit pci regions to 1G
            pci: tweak + comment minimum allocations
            pci: log pci windows
            pci: map 64-bit BARs at location provided by emulator
            ahci: zap real mode macros
            ahci: remote some parentheses
            ahci: alloc structs in high memory
            add hw/serialio.c to SRC32SEG
      
      Jonathan A. Kollasch (1):
            vgahooks: add SM720 VGA BIOS hooks for WIN Enterprises MB-60470
      
      Kevin O'Connor (80):
            Fix USB EHCI detection that was broken in hlist conversion of PCIDevices.
            Update README to include info on VARLOW variables.
            PIC code cleanups.
            Move internal timer code from clock.c to a new file timer.c.
            Don't pass khz to pmtimer_setup - it's always PM_TIMER_FREQUENCY.
            Add helper functions to convert timer irqs to milliseconds.
            Improve accuracy of internal timers.
            Rename cpu_khz to TimerKHz.
            Shift CPU TSC down to reduce need for 64bit variables.
            Rename check_timer() function (and similar) to irqtimer_check().
            Rename check_tsc() (and similar) to timer_check() and use u32.
            Separate out timer setup code.
            Unify pmtimer_read() and pittimer_read() code.
            Default unused UMB areas to be read-only.
            Add missing mathcp_setup() call to CSM code.
            Fix bug in CBFS file walking with compressed files.
            Support custom boot menu prompt and custom boot menu key.
            Minor cleanups to smm assembler.
            Add config option to support memory allocations in 9-segment.
            Minor - no need to declare MaxCountCPUs as VARFSEG.
            Minor - simplify rom_reserve().
            Rename tools/ directory to scripts/ directory.
            Update kconfig to latest version.
            build: Don't use vpath makefile directive.
            Move code centered around specific hardware devices to src/hw/
            Move code cenetered around firmware initialization to src/fw/
            build: Reorder makefile source list to group like files together.
            README: Update readme to note scripts/ directory rename and vgasrc/ directory.
            vgabios: Rename stdvga_bpp_factor to stdvga_vram_ratio.
            vgabios: Limit the range of the VBE number of "pages" parameter.
            readme: Minor - fix typo in readme.
            Split x86 specific functions out of util.c/h to new files x86.c/h.
            Move keyboard calling code from util.c to boot.c.
            Rename util.c to string.c and introduce string.h.
            build: Perform compile checking on vgasrc code.
            Move stacks.c definitions from util.h to new file stacks.h.
            Move romfile definitions from util.h to new file romfile.h.
            Move malloc code from pmm.c to new files malloc.c and malloc.h.
            Move function definitions for output.c from util.h to new file output.h.
            Move definition of struct segoff_s from farptr.h to types.h.
            build: Fix import of gcc dependency files.
            Move pirtable definitions from hw/pci.h to std/pirtable.h and util.h.
            Move optionroms.h to std/optionrom.h and util.h.
            Move vbe.h to std/vbe.h.
            Move fw/LegacyBios.h to std/LegacyBios.h and remove csm.h.
            Move fw/smbios.h to std/smbios.h.
            Move fw/mptable.h to std/mptable.h.
            Move fw/acpi.h to std/acpi.h.
            Move pnpbios definition to new file std/pnpbios.h.
            Move pmm definitions to new file std/pmm.h.
            Split disk.h into block.h and std/disk.h.
            Move standard bda type info from biosvar.h to std/bda.h.
            Merge bmp.h, boot.h, jpeg.h, and post.h into util.h.
            Sort the sections of util.h.
            Move PIT setup from clock.c to hw/timer.c.
            Rename hw/cmos.h to hw/rtc.h and copy RTC code from clock.c to hw/rtc.c.
            Move dma code to new file hw/dma.c.
            Remove ioport.h; disperse its contents to other header files.
            Minor - update file comments in src/malloc.c.
            Rename fields of 'struct chs_s' and use in floppy lba2chs().
            Rearrange stack_hop_back() call in wait_irq, check_irqs, and _farcall16.
            Minor - move call16 assembler in romlayout.S.
            Make __call16 use C calling convention and support two passed parameters.
            Update _farcall16() to pass segment of callregs explicitly.
            Support call16() calls after entering 32bit mode from call32().
            Run ahci code entirely in 32bit mode.
            Build different final files for QEMU, coreboot, and CSM.
            Convert op->drive_g from a 16bit pointer to a 32 bit "GLOBALFLAT" pointer.
            megasas: Don't attempt to access 'struct pci_device' at runtime.
            Minor - eliminate the SET_GLOBAL macro.
            Move low-level hardware writing from output.c to new file hw/serialio.c.
            vgabios: Load the DAC palette in "packed" modes on Cirrus and BochsVGA.
            vgabios: Support custom fonts in vga framebuffer text writing.
            vgabios: Add bochsvga "HDTV" resolutions.
            vgabios: Avoid possible divide by zero in bochsvga_set_displaystart.
            vgabios: Work around lack of support for "calll" in x86emu emulation.
            Minor - update file comment on bootsplash.c.
            vgabios: Support allocating an extra stack for vgabios calls and default on.
            vgabios: Move initialization code to new file vgainit.c.
            floppy: Minor - add warnings if timeouts occur.
      
      Michael S. Tsirkin (6):
            acpi: sync FADT flags from PIIX4 to Q35
            acpi_extract.py: document DEVICE directives
            biostables: support looking up RSDP
            romfile_loader: utility to patch in-memory ROM files
            acpi: load and link tables through romfile loader
            acpi: strip compiler info in built-in DSDT if any
      
      Paul Menzel (2):
            ACPI DSDT: Make control method `IQCR` serialized
            hw/usb-xhci.c: Code refactoring to not override initializers in `speed_from_xhci[16]`
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      11938d78
  4. 08 Nov, 2013 1 commit
    • Alexey Kardashevskiy's avatar
      pseries: Update SLOF firmware image · 9d0e1dac
      Alexey Kardashevskiy authored
      SLOF git commit is e2e8ac901e617573ea383f9cffd136146d0675a4
      
      The main changes are:
      * fixed bug with not passing arguments from -append
      * client-architecture-support hypercall
      * netboot
      * USB stack fixes
      
      The full list of changes:
        > client-architecture-support: fix wrong version read
        > client-architecture-support: fix redundant stack drop
        > Update device tree returned by CAS hypercall
        > fdt: introduce fdt-init
        > Add ibm,client-architecture-support method
        > Kernel parameter passed from qemu commandline ignored
        > Allow more than one client to open net devices simultaneously
        > ci: add missing close in else condition
        > Add GPT support
        > pci: fix interrupt-map for bridges
        > usb-ohci: preserve the toggleCarry bit in ED
        > usb-ohci: done_head processing fixes
        > usb-ohci: update init and rationalize timings
        > usb-msc: handle stall and other fixes
        > scsi: make probe more error resilient
        > usb-core: Add CLEAR FEATURE api
        > Implement range allocator
        > Remove bcm57xx network driver as module
        > Remove e1000 network driver as module
        > Remove virtio-net network driver as module
        > Remove veth network driver as module
        > Add missing close-dev in ping
        > Remove lodable network driver modules and related functions
        > Add bcm57xx network driver in libbcm
        > Add e1000 network driver in libe1k
        > Add virtio-net driver in libvirtio
        > Add veth driver in libveth
        > Get MAC address for client interface module
        > Add SLOF usleep wrapper
        > Add SLOF pci wrapper functions
        > Fix 'canon' client interface
      Signed-off-by: default avatarAlexey Kardashevskiy <aik@ozlabs.ru>
      Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
      9d0e1dac
  5. 25 Oct, 2013 1 commit
    • Alexey Kardashevskiy's avatar
      pseries: Update SLOF firmware image · 09b04845
      Alexey Kardashevskiy authored
      This has reworked USB OHCI and adds support of USB EHCI,
      VIRTIO-SCSI and various fixes (IBM VSCSI, VGA and more).
      
      The full list of fixes is:
      *  usb-ohci: Convert td-phys every time to td-virt
      *  usb-storage: Fix cbwflags field
      *  Add -fno-strict-aliasing in global CFLAGS
      *  usb: fix various issues found with js2x
      *  Move hex64-{decode,encode}-unit to node.fs
      *  usb: Use separate in-memory endian swap
      *  usb-ohci: collect TDs from done list
      *  js2x: more fixes
      *  js2x: Fix build of takeover image
      *  js2x: use new usb stack
      *  usb-ohci: Use proper memory barriers always
      *  usb: Fix a couple of warnings
      *  Fix $cat-instance-unit
      *  Cache phandle of /chosen
      *  Use root.fs on qemu as well
      *  usb-ehci: Add ehci handshake
      *  usb: add mb for write accessors
      *  usb-ohci: add missing memory barriers
      *  usb-ohci: suspend the controller in exit code path
      *  usb-ohci: Add a reset when closing the OHCI
      *  usb: Use proper accessors for MMIO and separate in-memory endian swap
      *  Use a global definition of sync() and mb()
      *  net-snk: Remove exception handling
      *  usb: unmap buffers
      *  slof: call quiesce on closing of stdin
      *  usb-kbd: accept "s" to drop to OF prompt
      *  USB storage driver
      *  usb-ohci: add Bulk transfer support
      *  usb-ehci: Add bulk support
      *  usb-core: add usb bulk support
      *  USB generic hub device driver
      *  usb-ehci: setup new device
      *  usb-ehci: Check ehci ports
      *  usb-ehci: initialize controller
      *  USB keyboard driver
      *  usb-core: setup new device
      *  usb-core: create dev pool allocation
      *  usb-ohci: implement ohci send control
      *  usb-core: usb send control
      *  usb-core: implement usb_{get,put}_pipe routines
      *  usb-ohci: allocate pipe pool
      *  usb-ohci: reset, init and check-ports
      *  Add standard header stdbool.h
      *  usb-slof: forth support routines for C
      *  usb-ehci: Add USB EHCI skeleton
      *  usb-core: Add register accessor functions
      *  Use __builtin_bswap routines for endianness swapping
      *  usb-core: hcd registration and query routines
      *  usb-core: adding generic dev-hci.fs
      *  usb-core: registration and makefiles
      *  Add new USB code
      *  Remove old usb code
      *  vga: fix hcall-invert-screen and hcall-blink-screen
      *  Enumerate disk/cdrom aliases for multiple disks or cdroms
      *  scsi: unify scsi probing code
      *  vscsi: generalizing probe code
      *  virtio-scsi: iterate through targets
      *  scsi: unify and use make-disk-alias
      *  nvram: remove unnecessary prints
      *  Add hack to client interface finddevice of "/memory"
      *  scsi: Fix cdrom boot crash when no medium present
      *  Look for /memory@0, not just /memory
      *  Fix instance>qname crashing when displaying instance arguments
      *  Fix js2x build
      *  scsi-disk: Bound check read-blocks
      *  Fix off by one error in scsi-disk get-capacity
      *  scsi: fix report-luns handling
      *  SLOF: virtio-scsi block driver code
      *  scsi: Move bits of vio-vscsi.fs to a common helpers file
      *  scsi: Move scsi-disk.fs to a generic place
      *  SLOF: virtio-scsi helper routines
      *  SLOF: virtio-scsi - add pci device file
      *  iso9660: Don't constantly reallocate the read buffer
      *  vscsi: Sanitize interface between scsi-disk.fs and vio-vscsi.fs
      *  vio-vscsi: Rework vio-vscsi support
      *  virtio: Add a virtio-set-qaddr helper
      *  disk-label: Allocate 4096 bytes for 4k block devices
      *  disk-label: Increase the max size of the PReP boot partition
      *  Make load-base a real environment variable
      *  vio-vscsi: Switch to using a wildcard "disk" node and make scsi-disk generic
      *  Fix disk-label package to use proper instance path
      *  Increase size of catpad
      *  Fix instance>path to contain unit address for wildcard nodes
      *  Fix handling of wildcard nodes in open-dev
      *  vio-vscsi: Get CRQ on open and release on close
      Signed-off-by: default avatarAlexey Kardashevskiy <aik@ozlabs.ru>
      Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
      09b04845
  6. 02 Oct, 2013 1 commit
  7. 30 Sep, 2013 9 commits
    • Gerd Hoffmann's avatar
      update seabios from 1.7.2.2 to 1.7.3.2 · 1cf9412b
      Gerd Hoffmann authored
      'git shortlog d4f7d90f..ece025f5' says:
      
      Alex Williamson (4):
            seabios q35: Enable all PIRQn IRQs at startup
            seabios q35: Add new PCI slot to irq routing function
            seabios: Add a dummy PCI slot to irq mapping function
            pciinit: Enable default VGA device
      
      Asias He (2):
            virtio-scsi: Set _DRIVER_OK flag before scsi target scanning
            virtio-scsi: Pack struct virtio_scsi_{req_cmd,resp_cmd}
      
      Avik Sil (1):
            USB-EHCI: Fix null pointer assignment
      
      Christian Gmeiner (5):
            geodevga: fix errors in geode_fp_* functions
            geodevga: move framebuffer setup
            geodevga: move output setup to own function
            geodevga: add debug to msr functions
            geodevga: fix wrong define name
      
      David Woodhouse (26):
            Add macros for pushing and popping struct bregs
            Clean up #if in pirtable.c. CONFIG_PIRTABLE can't be set if CONFIG_COREBOOT is
            post: Export functions which will be used individually by CSM
            Export callrom() for CSM to use
            Export copy_smbios() from biostables.c
            Import LegacyBios.h from OVMF
            Complete and checksum EFI_COMPATIBILITY16_TABLE at build time
            Add pic_save_mask() and pic_restore_mask() functions
            Add CSM support
            Add README.CSM
            Add find_pmtimer() function
            Enable PMTIMER for CSM build
            Fix rom_reserve()/rom_confirm() for CSM oprom dispatch
            Don't calibrate TSC if PMTIMER is already set up
            Move find_pmtimer() to ACPI table setup where it logically belongs
            Use find_pmtimer() after copying Xen ACPI tables
            Use find_pmtimer() after copying coreboot ACPI tables
            Unify return path for CSM to go via csm_return()
            Make CONFIG_OPTIONROMS_DEPLOYED depend on CONFIG_QEMU
            Implement !CONFIG_OPTIONROMS support for CSM
            Implement !CONFIG_BOOT for CSM
            Enable VGA output when settings bochs-specific mode
            Disable CONFIG_THREAD_OPTIONROMS for CSM build
            Fix return type of le64_to_cpu() and be64_to_cpu()
            Rename find_pmtimer() to find_acpi_features()
            Add acpi_reboot() reset method using RESET_REG
      
      Gerd Hoffmann (6):
            config: allow DEBUG_IO for !QEMU
            coreboot: add qemu detection
            tweak coreboot qemu detection
            apm: fix shutdown
            ahci: add missing check for allocation failure
            fix buildversion.sh
      
      Hu Tao (1):
            Add pvpanic device driver
      
      Kevin O'Connor (101):
            pmm: Use 'struct segoff_s' in pmm header.
            Minor: Update README - variable changes are now reset on soft-reboots.
            Normalize POST initialization function name suffixes.
            POST: Reorganize post init functions for better grouping and reusability.
            Fix rebase error in commit 8a0a972f that broke LOWMEM variables.
            Support calling a function other than maininit() from reloc_preinit().
            Ensure exported symbols are visible in the final link
            POST: Move QEMU specific ramsize and BIOS table setup to paravirt.c.
            POST: Reorganize post entry and "preinit" functions.
            POST: Move cpu caching and dma setup to platform_hardware_setup().
            Undo incorrect assumptions about Xen in commit 6ca0460f.
            Determine century during init and store in VARLOW mem during runtime.
            No need to check both CONFIG_THREADS and CONFIG_THREAD_OPTIONROMS.
            Add runningOnQEMU() and runningOnXen() for runtime platform detection.
            Consistently use CONFIG_COREBOOT, CONFIG_QEMU, and runningOnXen().
            Convert kvm_para_available() to runningOnKVM().
            Minor - move definitions to paravirt.c from paravirt.h.
            Only perform SMP setup on QEMU.
            Start device_hardware_setup in mainint even with CONFIG_THREAD_OPTIONROMS.
            The mathcp setup touches the PIC and thus move to the "setup" phase.
            Update tools/acpi_extract.py to handle iasl 20130117 release.
            Support skipping content when reading from QEMU fw_cfg romfile entries.
            Convert fw_cfg ACPI entries into romfile entries.
            Convert fw_cfg SMBIOS entries into romfile entries.
            Convert basic integer fw_cfg entries into romfile entries.
            Convert fw_cfg NUMA entries into a romfile entry.
            Process fw_cfg e820 entries during the fw_cfg setup stage.
            Integrate qemu_cfg_preinit() into qemu_romfile_init().
            Group QEMU platform setup together and move to paravirt.c.
            vgabios: Bochs/QEMU vgabios support should depend on CONFIG_QEMU.
            Warn on unaligned PCI ROM structure in option roms.
            Fix Makefile - don't reference "out/" directly, instead use "$(OUT)".
            build: Don't require $(OUT) to be a sub-directory of the main directory.
            Rename rom_get_top() to rom_get_max().
            Report on f-segment UMB ram also.
            Clarify build generated "zone low" values.
            Verify CC is valid during build tests.
            Disable handle_post() on CSM builds.
            Remove unnecessary "export" declarations from assembler functions.
            Minor assembler enhancements to __csm_return.
            Introduce VARFSEG for variables that will reside in the f-segment.
            Convert VAR16VISIBLE, VAR16EXPORT, and VAR32VISIBLE to VARFSEG.
            Don't relocate "varlow" variable references at runtime.
            Move malloc's ZoneFSeg and ZoneLow setup to malloc_init.
            Calculate "RamSize" needed by 16bit interface dynamically.
            Eliminate separate BiosTableSpace[] space for f-segment allocations.
            Use CONFIG_ prefix for Kconfig variables; use BUILD_ for others.
            Try to detect an unsuccessful hard-reboot to prevent soft-reboot loops.
            Minor - fix confusing final_sec32low_start name in layoutrom.py.
            Minor - introduce numeric defines for the IVT offset of hw irqs.
            Separate out 16bit PCI-BIOS entry point from regular int 0x1a entry point.
            Support using the "extra stack" for all 16bit irq entry points.
            Minor - improve comments and grouping of handle_08().
            floppy: Introduce 'struct floppy_pio_s' for floppy PIO ops.
            floppy: Cleanup floppy irq wait handling.
            floppy: Clean up Check Interrupt Status code.
            floppy: Move recalibration and results parsing to floppy_cmd().
            floppy: Improve floppy_pio() error checking.
            floppy: Implement media format sensing.
            floppy: Actually do controller reset in floppy_reset().
            Minor - note that passing QEMU config via cmos is deprecated.
            Cache boot-fail-wait to avoid romfile access after POST.
            Rename src/ssdt-susp.dsl to src/ssdt-misc.dsl.
            acpi: Eliminate BDAT parameter passing to DSDT code.
            Add additional dependency checks to Makefile.
            Don't use __FILE__ in virtio-ring.c.
            shadow: Don't use PCIDevices list in make_bios_readonly().
            smm: Don't use PCIDevices list in smm_setup().
            Add VARVERIFY32INIT attribute for variables only available during "init".
            Use VARVERIFY32INIT on global variables that point to "tmp" memory.
            vgabios: Fix stdvga_perform_gray_scale_summing().
            vgabios: Fix cirrus memory clear on mode switch.
            Minor - add missing newline to floppy debug statement.
            Fix bug in NUMA node setup - don't create SRAT if NUMA not present.
            Update README - copy *.aml files for QEMU.
            Add dependencies to vgafixup.py and buildversion.sh scripts.
            Set ZF prior to keyboard read call in check_for_keystroke().
            mptable: Don't describe pci-to-pci bridges.
            mptable: Use same PCI irqs as ACPI code.
            Cleanup QEMU_CFG_NUMA fw_cfg processing - split into two romfile entries.
            Use container_of on romfile entries.
            acpi: Move ACPI table definitions from acpi.c to acpi.h.
            acpi: Remove dead code with descriptions of bit flags.
            acpi: Use cpu_to_leXX() consistently.
            Minor - explicitly close files in buildrom.py.
            Minor - move "tracked memory alloc" code in pmm.c.
            Introduce and convert pmm code to use standard list helpers.
            Minor - relocate code in stacks.c to keep low-level thread code together.
            Introduce helper function have_threads() in stacks.c.
            Convert stacks.c to use standard list manipulation code.
            Convert boot.c to use standard list manipulation code.
            Convert pciinit.c to use standard list manipulation code.
            Convert PCIDevices list to use standard list manipultion code.
            Revert "Convert pciinit.c to use standard list manipulation code."
            Fix error in hlist_for_each_entry_safe macro.
            Convert pciinit.c to use standard list manipulation code.
            make qemu_cfg_init depend on QEMU_HARDWARE instead of QEMU
            Another fix for hlist_for_each_entry_safe.
            Minor - remove debugging dprintf added to pciinit.c.
            Fix USB EHCI detection that was broken in hlist conversion of PCIDevices.
            Fix bug in CBFS file walking with compressed files.
      
      Laszlo Ersek (1):
            Enable VGA output when setting Cirrus-specific mode
      
      Michael S. Tsirkin (2):
            acpi: make default DSDT optional
            acpi: sync FADT flags from PIIX4 to Q35
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      1cf9412b
    • Gerd Hoffmann's avatar
      roms: add support for building sgabios · 774e80ea
      Gerd Hoffmann authored
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      774e80ea
    • Gerd Hoffmann's avatar
      95f7c680
    • Gerd Hoffmann's avatar
      roms: enable ipxe cross builds · 779fa9d7
      Gerd Hoffmann authored
      779fa9d7
    • Gerd Hoffmann's avatar
      roms: add rules to build slof · bcf06c15
      Gerd Hoffmann authored
      Add some logic to detect cross compilers.  Add support for "make slof",
      which should JustWork[tm] if you are on a ppx64 machine or have a ppc64
      cross compiler installed somewhere in your path.
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      bcf06c15
    • Gerd Hoffmann's avatar
      roms: parallel ipxe builds · 46ef7f33
      Gerd Hoffmann authored
      Enable parallel ipxe builds.  Reduce the recursive make calls.  Call
      recursive make properly using $(MAKE) $(MAKEFLAGS).
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      46ef7f33
    • Gerd Hoffmann's avatar
      roms: build lgplvgabios isavga variant · 5a7bd333
      Gerd Hoffmann authored
      Add logic to also build+install the isavga vgabios variant.
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      5a7bd333
    • Gerd Hoffmann's avatar
      roms: enable parallel builds for 'make lgplvgabios' · 1ede4dd0
      Gerd Hoffmann authored
      Recurse into vgabios once, adjust dependencies, call make using
      $(MAKE) $(MAKEFLAGS) so jobserver mode works.
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      1ede4dd0
    • Gerd Hoffmann's avatar
      roms: add 'make clean' · 68875817
      Gerd Hoffmann authored
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      68875817
  8. 30 Jul, 2013 2 commits
  9. 24 Jul, 2013 1 commit
    • Gerd Hoffmann's avatar
      seabios: update to 1.7.3 · 41b8280a
      Gerd Hoffmann authored
      Changes summary (git shortlog rel-1.7.2.2..rel-1.7.3):
      
      Alex Williamson (4):
            seabios q35: Enable all PIRQn IRQs at startup
            seabios q35: Add new PCI slot to irq routing function
            seabios: Add a dummy PCI slot to irq mapping function
            pciinit: Enable default VGA device
      
      Asias He (2):
            virtio-scsi: Set _DRIVER_OK flag before scsi target scanning
            virtio-scsi: Pack struct virtio_scsi_{req_cmd,resp_cmd}
      
      Avik Sil (1):
            USB-EHCI: Fix null pointer assignment
      
      Christian Gmeiner (5):
            geodevga: fix errors in geode_fp_* functions
            geodevga: move framebuffer setup
            geodevga: move output setup to own function
            geodevga: add debug to msr functions
            geodevga: fix wrong define name
      
      David Woodhouse (26):
            Add macros for pushing and popping struct bregs
            Clean up #if in pirtable.c. CONFIG_PIRTABLE can't be set if CONFIG_COREBOOT is
            post: Export functions which will be used individually by CSM
            Export callrom() for CSM to use
            Export copy_smbios() from biostables.c
            Import LegacyBios.h from OVMF
            Complete and checksum EFI_COMPATIBILITY16_TABLE at build time
            Add pic_save_mask() and pic_restore_mask() functions
            Add CSM support
            Add README.CSM
            Add find_pmtimer() function
            Enable PMTIMER for CSM build
            Fix rom_reserve()/rom_confirm() for CSM oprom dispatch
            Don't calibrate TSC if PMTIMER is already set up
            Move find_pmtimer() to ACPI table setup where it logically belongs
            Use find_pmtimer() after copying Xen ACPI tables
            Use find_pmtimer() after copying coreboot ACPI tables
            Unify return path for CSM to go via csm_return()
            Make CONFIG_OPTIONROMS_DEPLOYED depend on CONFIG_QEMU
            Implement !CONFIG_OPTIONROMS support for CSM
            Implement !CONFIG_BOOT for CSM
            Enable VGA output when settings bochs-specific mode
            Disable CONFIG_THREAD_OPTIONROMS for CSM build
            Fix return type of le64_to_cpu() and be64_to_cpu()
            Rename find_pmtimer() to find_acpi_features()
            Add acpi_reboot() reset method using RESET_REG
      
      Gerd Hoffmann (3):
            config: allow DEBUG_IO for !QEMU
            coreboot: add qemu detection
            tweak coreboot qemu detection
      
      Hu Tao (1):
            Add pvpanic device driver
      
      Kevin O'Connor (99):
            pmm: Use 'struct segoff_s' in pmm header.
            Minor: Update README - variable changes are now reset on soft-reboots.
            Normalize POST initialization function name suffixes.
            POST: Reorganize post init functions for better grouping and reusability.
            Fix rebase error in commit 8a0a972f that broke LOWMEM variables.
            Support calling a function other than maininit() from reloc_preinit().
            Ensure exported symbols are visible in the final link
            POST: Move QEMU specific ramsize and BIOS table setup to paravirt.c.
            POST: Reorganize post entry and "preinit" functions.
            POST: Move cpu caching and dma setup to platform_hardware_setup().
            Undo incorrect assumptions about Xen in commit 6ca0460f.
            Determine century during init and store in VARLOW mem during runtime.
            No need to check both CONFIG_THREADS and CONFIG_THREAD_OPTIONROMS.
            Add runningOnQEMU() and runningOnXen() for runtime platform detection.
            Consistently use CONFIG_COREBOOT, CONFIG_QEMU, and runningOnXen().
            Convert kvm_para_available() to runningOnKVM().
            Minor - move definitions to paravirt.c from paravirt.h.
            Only perform SMP setup on QEMU.
            Start device_hardware_setup in mainint even with CONFIG_THREAD_OPTIONROMS.
            The mathcp setup touches the PIC and thus move to the "setup" phase.
            Update tools/acpi_extract.py to handle iasl 20130117 release.
            Support skipping content when reading from QEMU fw_cfg romfile entries.
            Convert fw_cfg ACPI entries into romfile entries.
            Convert fw_cfg SMBIOS entries into romfile entries.
            Convert basic integer fw_cfg entries into romfile entries.
            Convert fw_cfg NUMA entries into a romfile entry.
            Process fw_cfg e820 entries during the fw_cfg setup stage.
            Integrate qemu_cfg_preinit() into qemu_romfile_init().
            Group QEMU platform setup together and move to paravirt.c.
            vgabios: Bochs/QEMU vgabios support should depend on CONFIG_QEMU.
            Warn on unaligned PCI ROM structure in option roms.
            Fix Makefile - don't reference "out/" directly, instead use "$(OUT)".
            build: Don't require $(OUT) to be a sub-directory of the main directory.
            Rename rom_get_top() to rom_get_max().
            Report on f-segment UMB ram also.
            Clarify build generated "zone low" values.
            Verify CC is valid during build tests.
            Disable handle_post() on CSM builds.
            Remove unnecessary "export" declarations from assembler functions.
            Minor assembler enhancements to __csm_return.
            Introduce VARFSEG for variables that will reside in the f-segment.
            Convert VAR16VISIBLE, VAR16EXPORT, and VAR32VISIBLE to VARFSEG.
            Don't relocate "varlow" variable references at runtime.
            Move malloc's ZoneFSeg and ZoneLow setup to malloc_init.
            Calculate "RamSize" needed by 16bit interface dynamically.
            Eliminate separate BiosTableSpace[] space for f-segment allocations.
            Use CONFIG_ prefix for Kconfig variables; use BUILD_ for others.
            Try to detect an unsuccessful hard-reboot to prevent soft-reboot loops.
            Minor - fix confusing final_sec32low_start name in layoutrom.py.
            Minor - introduce numeric defines for the IVT offset of hw irqs.
            Separate out 16bit PCI-BIOS entry point from regular int 0x1a entry point.
            Support using the "extra stack" for all 16bit irq entry points.
            Minor - improve comments and grouping of handle_08().
            floppy: Introduce 'struct floppy_pio_s' for floppy PIO ops.
            floppy: Cleanup floppy irq wait handling.
            floppy: Clean up Check Interrupt Status code.
            floppy: Move recalibration and results parsing to floppy_cmd().
            floppy: Improve floppy_pio() error checking.
            floppy: Implement media format sensing.
            floppy: Actually do controller reset in floppy_reset().
            Minor - note that passing QEMU config via cmos is deprecated.
            Cache boot-fail-wait to avoid romfile access after POST.
            Rename src/ssdt-susp.dsl to src/ssdt-misc.dsl.
            acpi: Eliminate BDAT parameter passing to DSDT code.
            Add additional dependency checks to Makefile.
            Don't use __FILE__ in virtio-ring.c.
            shadow: Don't use PCIDevices list in make_bios_readonly().
            smm: Don't use PCIDevices list in smm_setup().
            Add VARVERIFY32INIT attribute for variables only available during "init".
            Use VARVERIFY32INIT on global variables that point to "tmp" memory.
            vgabios: Fix stdvga_perform_gray_scale_summing().
            vgabios: Fix cirrus memory clear on mode switch.
            Minor - add missing newline to floppy debug statement.
            Fix bug in NUMA node setup - don't create SRAT if NUMA not present.
            Update README - copy *.aml files for QEMU.
            Add dependencies to vgafixup.py and buildversion.sh scripts.
            Set ZF prior to keyboard read call in check_for_keystroke().
            mptable: Don't describe pci-to-pci bridges.
            mptable: Use same PCI irqs as ACPI code.
            Cleanup QEMU_CFG_NUMA fw_cfg processing - split into two romfile entries.
            Use container_of on romfile entries.
            acpi: Move ACPI table definitions from acpi.c to acpi.h.
            acpi: Remove dead code with descriptions of bit flags.
            acpi: Use cpu_to_leXX() consistently.
            Minor - explicitly close files in buildrom.py.
            Minor - move "tracked memory alloc" code in pmm.c.
            Introduce and convert pmm code to use standard list helpers.
            Minor - relocate code in stacks.c to keep low-level thread code together.
            Introduce helper function have_threads() in stacks.c.
            Convert stacks.c to use standard list manipulation code.
            Convert boot.c to use standard list manipulation code.
            Convert pciinit.c to use standard list manipulation code.
            Convert PCIDevices list to use standard list manipultion code.
            Revert "Convert pciinit.c to use standard list manipulation code."
            Fix error in hlist_for_each_entry_safe macro.
            Convert pciinit.c to use standard list manipulation code.
            make qemu_cfg_init depend on QEMU_HARDWARE instead of QEMU
            Another fix for hlist_for_each_entry_safe.
            Minor - remove debugging dprintf added to pciinit.c.
      
      Laszlo Ersek (1):
            Enable VGA output when setting Cirrus-specific mode
      
      Michael S. Tsirkin (1):
            acpi: make default DSDT optional
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      41b8280a
  10. 18 Jul, 2013 1 commit
  11. 28 May, 2013 2 commits
  12. 06 May, 2013 1 commit
  13. 05 May, 2013 1 commit
  14. 26 Mar, 2013 1 commit
  15. 25 Mar, 2013 1 commit
  16. 18 Mar, 2013 3 commits
  17. 28 Feb, 2013 1 commit
    • Gerd Hoffmann's avatar
      update seabios to 1.7.2.1 · 5c75fb10
      Gerd Hoffmann authored
      Alex Williamson (3):
            seabios q35: Enable all PIRQn IRQs at startup
            seabios q35: Add new PCI slot to irq routing function
            seabios: Add a dummy PCI slot to irq mapping function
      
      Avik Sil (1):
            USB-EHCI: Fix null pointer assignment
      
      Kevin O'Connor (4):
            Update tools/acpi_extract.py to handle iasl 20130117 release.
            Fix Makefile - don't reference "out/" directly, instead use "$(OUT)".
            build: Don't require $(OUT) to be a sub-directory of the main
      directory.
            Verify CC is valid during build tests.
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      5c75fb10
  18. 14 Feb, 2013 1 commit
  19. 09 Feb, 2013 1 commit
  20. 21 Jan, 2013 1 commit
    • Gerd Hoffmann's avatar
      seabios: update to 1.7.2 release · 3588185b
      Gerd Hoffmann authored
      Not that many changes as we have a pretty recent git snapshot in master
      already:
      
      Hannes Reinecke (1):
            megasas: Invert PCI device selection
      
      Kevin O'Connor (2):
            Minor: Separate UUID display from F12 boot prompt.
            boot: Support "halt" in the boot order to prevent default boot attempts.
      
      Laszlo Ersek (1):
            display_uuid(): fix incomplete check after the loop
      
      Paolo Bonzini (1):
            vgabios: implement AX=1120H..1124H functions
      3588185b
  21. 20 Dec, 2012 1 commit
    • Gerd Hoffmann's avatar
      Update seabios to a810e4e72a0d42c7bc04eda57382f8e019add901 · 15faf946
      Gerd Hoffmann authored
      git shortlog:
      
      Kevin O'Connor (6):
            floppy: Minor - reduce handle_0e code size when CONFIG_FLOPPY is disabled.
            vga: Minor comment spelling fix.
            Don't recursively evaluate CFLAGS variables.
            Don't use gcc's -combine option.
            Add compile checking phase to build.
            acpi: Use prt_slot() macro to describe irq pins of first PCI device.
      
      Laszlo Ersek (1):
            maininit(): print machine UUID under seabios version message
      
      Paolo Bonzini (1):
            acpi: reintroduce LNKS
      
      Paolo's patch fixes the FreeBSD boot failure.
      
      Cc: qemu-stable@nongnu.org
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      15faf946
  22. 14 Dec, 2012 1 commit
  23. 11 Dec, 2012 1 commit
  24. 30 Nov, 2012 2 commits