Hello community,

here is the log from the commit of package acpica for openSUSE:Factory checked 
in at 2013-05-28 11:25:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/acpica (Old)
 and      /work/SRC/openSUSE:Factory/.acpica.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "acpica"

Changes:
--------
--- /work/SRC/openSUSE:Factory/acpica/acpica.changes    2013-03-08 
21:02:21.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.acpica.new/acpica.changes       2013-05-28 
11:25:21.000000000 +0200
@@ -1,0 +2,10 @@
+Fri May 17 10:11:01 UTC 2013 - [email protected]
+
+- Update to version 20130418
+  - remove already integreated patches:
+     acpica_make_CFLAGS_overridable
+     bob_noop.patch
+  - Add fix for DMAR table parsing issue:
+    https://bugs.acpica.org/show_bug.cgi?id=999
+
+-------------------------------------------------------------------

Old:
----
  acpica-unix2-20121220.tar.bz2
  acpica_make_CFLAGS_overridable
  bob_noop.patch

New:
----
  acpica-unix2-20130418.tar.bz2
  dmar-buf10.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ acpica.spec ++++++
--- /var/tmp/diff_new_pack.vsSwr3/_old  2013-05-28 11:25:22.000000000 +0200
+++ /var/tmp/diff_new_pack.vsSwr3/_new  2013-05-28 11:25:22.000000000 +0200
@@ -20,7 +20,7 @@
 
 Name:           acpica
 Url:            http://acpica.org
-Version:        20121220
+Version:        20130418
 Release:        6
 License:        GPL-2.0
 %define src_dir acpica-unix2-%{version}
@@ -28,11 +28,10 @@
 Group:          Development/Tools/Debuggers
 Summary:        This is a set of tools to display and debug your BIOS ACPI 
tables
 Source:         %{src_dir}.tar.bz2
-Patch1:         acpica_make_CFLAGS_overridable
-Patch2:         acpidump-override-CFLAGS.patch
-Patch3:         acpica-no-compiletime.patch
-Patch4:         bob_noop.patch
-Patch5:         wmidump_add_she_bang.patch
+Patch1:         acpidump-override-CFLAGS.patch
+Patch2:         acpica-no-compiletime.patch
+Patch3:         wmidump_add_she_bang.patch
+Patch4:         dmar-buf10.patch
 Source1:        ec_access.c
 Source2:        acpidump-%{dmp_ver}.tar.bz2
 Source3:        acpi_genl.tar.bz2
@@ -70,7 +69,6 @@
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
-%patch5 -p1
 
 %build
 cc %{SOURCE1} $RPM_OPT_FLAGS -o ec_access

++++++ acpica-unix2-20121220.tar.bz2 -> acpica-unix2-20130418.tar.bz2 ++++++
++++ 20039 lines of diff (skipped)

++++++ dmar-buf10.patch ++++++
Index: acpica/source/common/dmtable.c
===================================================================
--- acpica.orig/source/common/dmtable.c
+++ acpica/source/common/dmtable.c
@@ -800,6 +800,9 @@ AcpiDmDumpTable (
         case ACPI_DMT_NAME8:
             ByteLength = 8;
             break;
+        case ACPI_DMT_BUF10:
+            ByteLength = 10;
+            break;
         case ACPI_DMT_BUF16:
         case ACPI_DMT_UUID:
             ByteLength = 16;
@@ -907,6 +910,7 @@ AcpiDmDumpTable (
             break;
 
         case ACPI_DMT_BUF7:
+        case ACPI_DMT_BUF10:
         case ACPI_DMT_BUF16:
         case ACPI_DMT_BUF128:
 
Index: acpica/source/common/dmtbinfo.c
===================================================================
--- acpica.orig/source/common/dmtbinfo.c
+++ acpica/source/common/dmtbinfo.c
@@ -852,6 +852,7 @@ ACPI_DMTABLE_INFO           AcpiDmTableI
 {
     {ACPI_DMT_UINT8,    ACPI_DMAR_OFFSET (Width),                   "Host 
Address Width", 0},
     {ACPI_DMT_UINT8,    ACPI_DMAR_OFFSET (Flags),                   "Flags", 
0},
+    {ACPI_DMT_BUF10,    ACPI_DMAR_OFFSET (Reserved[0]),             
"Reserved", 0},
     ACPI_DMT_TERMINATOR
 };
 
Index: acpica/source/compiler/dttable.c
===================================================================
--- acpica.orig/source/compiler/dttable.c
+++ acpica/source/compiler/dttable.c
@@ -601,8 +601,9 @@ DtCompileDmar (
     DT_FIELD                *SubtableStart;
     ACPI_DMTABLE_INFO       *InfoTable;
     ACPI_DMAR_HEADER        *DmarHeader;
-    UINT8                   *ReservedBuffer;
-    UINT32                  ReservedSize;
+    ACPI_DMAR_DEVICE_SCOPE  *DmarDeviceScope;
+    UINT32                  DeviceScopeLength;
+    UINT32                  PciPathLength;
 
 
     Status = DtCompileTable (PFieldList, AcpiDmTableInfoDmar, &Subtable, TRUE);
@@ -613,17 +614,7 @@ DtCompileDmar (
 
     ParentTable = DtPeekSubtable ();
     DtInsertSubtable (ParentTable, Subtable);
-
-    /* DMAR Reserved area */
-
-    ReservedSize = (UINT32) sizeof (((ACPI_TABLE_DMAR *) NULL)->Reserved);
-    ReservedBuffer = UtLocalCalloc (ReservedSize);
-
-    DtCreateSubtable (ReservedBuffer, ReservedSize, &Subtable);
-
-    ACPI_FREE (ReservedBuffer);
-    ParentTable = DtPeekSubtable ();
-    DtInsertSubtable (ParentTable, Subtable);
+    DtPushSubtable (Subtable);
 
     while (*PFieldList)
     {
@@ -672,10 +663,12 @@ DtCompileDmar (
 
         ParentTable = DtPeekSubtable ();
         DtInsertSubtable (ParentTable, Subtable);
+        DtPushSubtable (Subtable);
 
         /* Optional Device Scope subtables */
 
-        while (*PFieldList)
+        DeviceScopeLength = DmarHeader->Length - Subtable->Length - 
ParentTable->Length;
+        while (DeviceScopeLength)
         {
             Status = DtCompileTable (PFieldList, AcpiDmTableInfoDmarScope,
                         &Subtable, FALSE);
@@ -688,9 +681,12 @@ DtCompileDmar (
             DtInsertSubtable (ParentTable, Subtable);
             DtPushSubtable (Subtable);
 
+            DmarDeviceScope = ACPI_CAST_PTR (ACPI_DMAR_DEVICE_SCOPE, 
Subtable->Buffer);
+
             /* Optional PCI Paths */
 
-            while (*PFieldList)
+            PciPathLength = DmarDeviceScope->Length - Subtable->Length;
+            while (PciPathLength)
             {
                 Status = DtCompileTable (PFieldList, TableInfoDmarPciPath,
                             &Subtable, FALSE);
@@ -702,10 +698,15 @@ DtCompileDmar (
 
                 ParentTable = DtPeekSubtable ();
                 DtInsertSubtable (ParentTable, Subtable);
+                PciPathLength -= Subtable->Length;
             }
+
+            DtPopSubtable ();
+            DeviceScopeLength -= DmarDeviceScope->Length;
         }
 
         DtPopSubtable ();
+        DtPopSubtable ();
     }
 
     return (AE_OK);
Index: acpica/source/compiler/dtutils.c
===================================================================
--- acpica.orig/source/compiler/dtutils.c
+++ acpica/source/compiler/dtutils.c
@@ -472,6 +472,7 @@ DtGetFieldType (
 
     case ACPI_DMT_BUFFER:
     case ACPI_DMT_BUF7:
+    case ACPI_DMT_BUF10:
     case ACPI_DMT_BUF16:
     case ACPI_DMT_BUF128:
     case ACPI_DMT_PCI_PATH:
@@ -685,6 +686,10 @@ DtGetFieldLength (
         }
         break;
 
+    case ACPI_DMT_BUF10:
+        ByteLength = 10;
+        break;
+
     case ACPI_DMT_BUF16:
     case ACPI_DMT_UUID:
         ByteLength = 16;
Index: acpica/source/include/acdisasm.h
===================================================================
--- acpica.orig/source/include/acdisasm.h
+++ acpica/source/include/acdisasm.h
@@ -180,6 +180,7 @@ typedef enum
     ACPI_DMT_UINT56,
     ACPI_DMT_UINT64,
     ACPI_DMT_BUF7,
+    ACPI_DMT_BUF10,
     ACPI_DMT_BUF16,
     ACPI_DMT_BUF128,
     ACPI_DMT_SIG,
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to