]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux
authorLinus Torvalds <torvalds@linux-foundation.org>
Sun, 7 Oct 2012 22:14:06 +0000 (07:14 +0900)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 7 Oct 2012 22:14:06 +0000 (07:14 +0900)
Pul ACPI & Power Management updates from Len Brown:
 - acpidump utility added
 - intel_idle driver now supports IVB Xeon
 - turbostat utility can now count SMIs
 - ACPI can now bind to USB3 hubs
 - misc fixes

* 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux: (49 commits)
  ACPI: Add new sysfs interface to export device description
  ACPI: Harden acpi_table_parse_entries() against BIOS bug
  tools/power/turbostat: add option to count SMIs, re-name some options
  tools/power turbostat: add [-d MSR#][-D MSR#] options to print counter deltas
  intel_idle: enable IVB Xeon support
  tools/power turbostat: add [-m MSR#] option
  tools/power turbostat: make -M output pretty
  tools/power turbostat: print more turbo-limit information
  tools/power turbostat: delete unused line
  tools/power turbostat: run on IVB Xeon
  tools/power/acpi/acpidump: create acpidump(8), local make install targets
  tools/power/acpi/acpidump: version 20101221 - find dynamic tables in sysfs
  ACPI: run _OSC after ACPI_FULL_INITIALIZATION
  tools/power/acpi/acpidump: create acpidump(8), local make install targets
  tools/power/acpi/acpidump: version 20101221 - find dynamic tables in sysfs
  tools/power/acpi/acpidump: version 20071116
  tools/power/acpi/acpidump: version 20070714
  tools/power/acpi/acpidump: version 20060606
  tools/power/acpi/acpidump: version 20051111
  xo15-ebook: convert to module_acpi_driver()
  ...

1  2 
drivers/usb/core/usb-acpi.c
include/acpi/acpixf.h

index 0ef7d42d8abe85e77f7fdac7778b7e1220e41c49,ce45f553523628f9533f7b235971b9f19c005032..cef4252bb31a3c4cfcc1ccd4ce6338bde51fd33d
@@@ -87,18 -24,10 +87,18 @@@ static int usb_acpi_check_port_connect_
        acpi_status status;
        struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL };
        union acpi_object *upc;
-       struct acpi_pld pld;
++      struct acpi_pld_info *pld;
        int ret = 0;
  
 -      status = acpi_evaluate_object(handle, "_UPC", NULL, &buffer);
 -
 +      /*
 +       * Accoding to ACPI Spec 9.13. PLD indicates whether usb port is
 +       * user visible and _UPC indicates whether it is connectable. If
 +       * the port was visible and connectable, it could be freely connected
 +       * and disconnected with USB devices. If no visible and connectable,
 +       * a usb device is directly hard-wired to the port. If no visible and
 +       * no connectable, the port would be not used.
 +       */
 +      status = acpi_get_physical_device_location(handle, &pld);
        if (ACPI_FAILURE(status))
                return -ENODEV;
  
        }
  
        if (upc->package.elements[0].integer.value)
-               if (pld.user_visible)
 -              udev->removable = USB_DEVICE_REMOVABLE;
 -      else
 -              udev->removable = USB_DEVICE_FIXED;
++              if (pld->user_visible)
 +                      usb_set_hub_port_connect_type(hdev, port1,
 +                              USB_PORT_CONNECT_TYPE_HOT_PLUG);
 +              else
 +                      usb_set_hub_port_connect_type(hdev, port1,
 +                              USB_PORT_CONNECT_TYPE_HARD_WIRED);
-       else if (!pld.user_visible)
++      else if (!pld->user_visible)
 +              usb_set_hub_port_connect_type(hdev, port1, USB_PORT_NOT_USED);
  
  out:
++      ACPI_FREE(pld);
        kfree(upc);
        return ret;
  }
index 51405d32ac64366b514c338792ef622446271c36,267bfc4b26a9b78f4c0f83eb92b0140c656bce9a..8b891dbead666826e8380971a79caac5db16327a
  
  /* Current ACPICA subsystem version in YYYYMMDD format */
  
- #define ACPI_CA_VERSION                 0x20120711
+ #define ACPI_CA_VERSION                 0x20120913
  
 -#include "acconfig.h"
 -#include "actypes.h"
 -#include "actbl.h"
 -#include "acbuffer.h"
 +#include <acpi/acconfig.h>
 +#include <acpi/actypes.h>
 +#include <acpi/actbl.h>
++#include <acpi/acbuffer.h>
  
  extern u8 acpi_gbl_permanent_mmap;