search for: acpi_get_table

Displaying 6 results from an estimated 6 matches for "acpi_get_table".

2009 Apr 22
2
Nova-s2 pci-passthrough not properly working
Dear all, i''m having problems passing a Hauppage Nova-S2 card to my DomU (Mythtv Backend). Hardware is: HP XW8200 2x 3.0GHz Xeon 8Gb ECC Ram 1x TT3200-S2 card 1x DVBWordl S2 card 1x Nova-S2 card [many other card for other domUs...] Dom0 is Ubuntu 8.04 server LTS. Xen 3.2 from repo. DomU (Mythtv) is a 8.04 (using LVM) both using 2.6.24-23-xen kernels Dom0 configs: lspci: ... 02:01.0
2011 Mar 28
0
[PATCH] x86: cleanup after tboot fix (c/s 23101:dd386a4b6595)
...@novell.com> --- a/xen/drivers/passthrough/vtd/dmar.c +++ b/xen/drivers/passthrough/vtd/dmar.c @@ -761,12 +761,7 @@ out: int __init acpi_dmar_init(void) { - unsigned long flags; - - /* Disabling IRQs avoids cross-CPU TLB flush in map_pages_to_xen(). */ - local_irq_save(flags); acpi_get_table(ACPI_SIG_DMAR, 0, &dmar_table); - local_irq_restore(flags); return parse_dmar_table(acpi_parse_dmar); } _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
2019 Nov 22
0
[RFC 11/13] ACPI: Add VIOT table
...#define pr_fmt(fmt) "ACPI: VIOT: " fmt + +#include <linux/acpi.h> +#include <linux/acpi_iort.h> +#include <linux/acpi_viot.h> + +int __init acpi_viot_init(void) +{ + struct acpi_table_viot *viot; + struct acpi_table_header *acpi_header; + acpi_status status; + + status = acpi_get_table(ACPI_SIG_VIOT, 0, &acpi_header); + if (ACPI_FAILURE(status)) { + if (status != AE_NOT_FOUND) { + const char *msg = acpi_format_exception(status); + + pr_err("Failed to get table, %s\n", msg); + return -EINVAL; + } + + return 0; + } + + if (acpi_header->length < sizeof(*...
2019 Nov 22
16
[RFC 00/13] virtio-iommu on non-devicetree platforms
I'm seeking feedback on multi-platform support for virtio-iommu. At the moment only devicetree (DT) is supported and we don't have a pleasant solution for other platforms. Once we figure out the topology description, x86 support is trivial. Since the IOMMU manages memory accesses from other devices, the guest kernel needs to initialize the IOMMU before endpoints start issuing DMA.
2019 Nov 22
16
[RFC 00/13] virtio-iommu on non-devicetree platforms
I'm seeking feedback on multi-platform support for virtio-iommu. At the moment only devicetree (DT) is supported and we don't have a pleasant solution for other platforms. Once we figure out the topology description, x86 support is trivial. Since the IOMMU manages memory accesses from other devices, the guest kernel needs to initialize the IOMMU before endpoints start issuing DMA.
2010 Aug 20
0
[PATCH 1/2] Implement APEI ERST feature to Xen
...erst)) / + sizeof(struct acpi_erst_entry)) + return -EINVAL; + + return 0; +} + +int erst_init(void) +{ + int rc = 0; + acpi_status status; + struct apei_exec_context ctx; + + if (acpi_disabled) + return -ENODEV; + + status = acpi_get_table(ACPI_SIG_ERST, 0, + (struct acpi_table_header **)&erst_tab); + if (status == AE_NOT_FOUND) { + printk(KERN_ERR "Table is not found!\n"); + return -ENODEV; + } else if (ACPI_FAILURE(status)) { + const c...