SeaBIOS

SeaBIOS Git Change Log

Age Message
12 days 17 hours pci: handle bridge irq mapping

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Commit 0c8f58d78543a06a57f4280dd3498807a1d9005d, by Gerd Hoffmann
4 days 14 hours Revert "Fix 64bit PCI issues on Windows"

This reverts commit 482a020ec25f4cec655ddcb16b67c6f38b0844c0.

The commit causes WinXP guests to BSOD.
17 days 15 hours Add IASL definition to the Makefile.

Add IASL definition to Makefile so it can be passed by the user.

Signed-off-by: Marc Jones <marc.jones@se-eng.com>
20 days 6 hours pciinit: Simplify list manipulation in pci_region_migrate_64bit_entries.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
20 days 6 hours pciinit: Minor white space changes.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
28 days 2 hours Fix 64bit PCI issues on Windows

This patch solves issues on Windows guests, when 64bit
BAR's are present. It is also helpful on Linux guests
when use_crs kernel boot option is set.

Signed-off-by: Alexey Korolev <alexey.korolev@endace.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Commit 482a020ec25f4cec655ddcb16b67c6f38b0844c0, by Alexey Korolev
21 days 3 hours pciinit: Migrate 64bit entries to 64bit pci regions

Migrate 64bit entries to 64bit pci regions if they do
not fit in 32bit range.

Signed-off-by: Alexey Korolev <alexey.korolev@endace.com>
Commit e5e5f96eb2f052e2c31a802cc3aa5329073f6c99, by Alexey Korolev
21 days 3 hours pciinit: Calculate pci region stats on demand

Do not store pci region stats - instead calulate the
sum and alignment on demand.

Signed-off-by: Alexey Korolev <alexey.korolev@endace.com>
Commit 37c111f253c0cad9601e1bb5beb58df50f49f24f, by Alexey Korolev
28 days 2 hours pciinit: 64bit capability discovery for pci bridges

Add discovery if bridge region is 64bit is capable.

Signed-off-by: Alexey Korolev <alexey.korolev@endace.com>
Commit ac0cd588edcd63f449b758caf2ff7bef15b4f9f8, by Alexey Korolev
28 days 2 hours pciinit: Add pci_region structure.

The pci_region structure is added.
Move setting of bus base address to pci_region_map_entries.

Signed-off-by: Alexey Korolev <alexey.korolev@endace.com>
Commit 35a770f128ebfb41c7241d172baac2f68a79caf6, by Alexey Korolev
28 days 2 hours pciinit: Switch to 64bit variable types.

Switch to 64bit variable types.
Add parsing 64bit bars.

Original patch by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Commit 030288f0fc833efdd85cc9e1939a0182c010f8db, by Alexey Korolev
28 days 2 hours pciinit: bridges can have two regions too

Patch takes into account PCI bar and ROM regions of PCI bridges

Original patch by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Signed-off-by: Alexey Korolev <alexey.korolev@endace.com>
Commit 1a9f47f91080e7b2ddfffbe4ebf0a3bd1845539f, by Alexey Korolev
1 month 15 days pciinit: Track region alignment explicitly.

Don't round up bridge regions to the next highest size - instead track
alignment explicitly. This should improve the memory layout for
bridge regions.

Also, unused bridge regions will no longer be allocated any space.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
29 days 3 hours pciinit: Use sorted order allocation

Use sorted order allocation scheme instead of
array based count scheme.

Signed-off-by: Alexey Korolev <alexey.korolev@endace.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Commit 5fa24b56125273b2234583956d98fb4aa8bdf9b4, by Alexey Korolev
29 days 3 hours pciinit: Remove size element from pci_bus->r structure

The 'size' element of pci_bus->r structure is no
longer need as the information about bridge region
size is already stored in pci_region_entry structure.

Signed-off-by: Alexey Korolev <alexey.korolev@endace.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Commit f3c2b06e69e79078b964cb6bbc497260c809aee1, by Alexey Korolev
29 days 3 hours pciinit: Move bus bar asignment

Perform bus bar assignment at same time as normal bar assignment

Signed-off-by: Alexey Korolev <alexey.korolev@endace.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Commit 3a29716fd43a9be1e88182e288dd4931bb662897, by Alexey Korolev
29 days 3 hours pciinit: Introduction of pci_region_entry structure

The pci_region_entry structure is introduced.
The pci_device->bars are removed. The information from
pci_region_entry is used to program pci bars.

Signed-off-by: Alexey Korolev <alexey.korolev@endace.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Commit fa51bcdacea74fd625d712bc4314f011354c11ae, by Alexey Korolev
1 month 1 day vgabios: Improve Kconfig descriptions for the vga card types.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
1 month 1 day buildversion: Don't rely on bash syntax.

Use '=' instead of '=='.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
1 month 2 days Misc compile fixes for gcc v3.4.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
1 month 13 days Replace level gpe event with edge gpe event for hot-plug handlers

in current code, pci hot-plug gpe event handler is defined as
a level one "_L01"

1. hw adds device, sets GPE.1 bit and sends SCI
2. OSPM gets SCI, reads GPE00.sts and masks GPE.1 bit in GPE00.en
3. OSPM executes _L01
4. hw adds second device and sets GPE.1 bit but SCI is not asserted
since GPE00.en masks event
5. OSPM resets GPE.1 bit in GPE00.sts and umasks it in GPE00.en

as result event for step 4 is lost because step 5 clears it and OS
will not see added second device.

ACPI 50 spec: 5.6.4 General-Purpose Event Handling
defines GPE event handling as following:

1. Disables the interrupt source (GPEx_BLK EN bit).
2. If an edge event, clears the status bit.
3. Performs one of the following:
* Dispatches to an ACPI-aware device driver.
* Queues the matching control method for execution.
* Manages a wake event using device _PRW objects.
4. If a level event, clears the status bit.
5. Enables the interrupt source.

Switching from level to edge event handler reduces chances to
hit race window.

Same applies to cpu-hotplug, so switch it to edge handler as well.

Tested with RHEL6, 3.3.+ kernel, winxp, and w2008r2, and I wasn't
able to trigger race after using edge event handler.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Commit 9c6635bd48d39a1d17d0a73df6e577ef6bd0037c, by Igor Mammedov
1 month 18 days seabios: readd Makefile rule for ACPI

Commit 36feea9317b45abf3a540e9d82ad1723bebe3ebd
removed the dependency of output file on
acpi output. This means it's not rebuilt on
acpi source or hex file updates. Re-introduce this
dependency.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Commit eb015f460030bd82deadc068eca3e91ab4caeceb, by Michael S. Tsirkin
1 month 21 days Mark disk.c functions that take an address of a stack variable as noinline.

Some versions of gcc have been found to inline these funcions and then
cause the calling functions to use very large stack usage. Since
these functions are called from 16bit mode, their stack space usage is
very sensitive.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
1 month 24 days test-gcc: do not truncate stderr

Using "> /dev/fd/2" causes stderr to get truncated, which is mangles the log
file if the user happens to have redirected it there.

Use ">&2" instead which redirects to the already open stderr and doesn't
truncate it.

Reported-by: Tim Deegan <tim@xen.org>
Tested-by: Tim Deegan <tim@xen.org>
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
1 month 22 days Use "git describe" in the build generated version description.

Move the build version generation to a script in tools/ and enhance
the system to call "git describe" when it appears the user has a git
repo. Also, allow the version to be extracted from a ".version" file
for use in official tar releases.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>