1. 19 Oct, 2017 1 commit
  2. 22 Jun, 2017 1 commit
    • Jan Kiszka's avatar
      ACPI: configfs: Unload SSDT on configfs entry removal · 772bf1e2
      Jan Kiszka authored
      Call directly into acpica to load a table to obtain its index on return.
      We choose the direct call of acpica internal functions to avoid having
      to modify its API which is used outside of Linux as well.
      
      Use that index to unload the table again when the corresponding
      directory in configfs gets removed. This allows to change SSDTs without
      rebooting the system. It also allows to destroy devices again that a
      dynamically loaded SSDT created.
      
      This is widely similar to the DT overlay behavior.
      Signed-off-by: Jan Kiszka's avatarJan Kiszka <jan.kiszka@siemens.com>
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      772bf1e2
  3. 11 Jul, 2016 1 commit
    • Mika Westerberg's avatar
      ACPI: Rename configfs.c to acpi_configfs.c to prevent link error · fafe5306
      Mika Westerberg authored
      If we compile ACPI configfs.c as module it will confuse the linker as it
      hides symbols from the actual configfs:
      
      Kernel: arch/x86/boot/bzImage is ready  (#1236)
        MODPOST 5739 modules
      ERROR: "configfs_unregister_subsystem" [samples/configfs/configfs_sample.ko] undefined!
      ERROR: "configfs_register_subsystem" [samples/configfs/configfs_sample.ko] undefined!
      ERROR: "config_group_init" [samples/configfs/configfs_sample.ko] undefined!
      ERROR: "config_item_init_type_name" [samples/configfs/configfs_sample.ko] undefined!
      ERROR: "config_group_init_type_name" [samples/configfs/configfs_sample.ko] undefined!
      ERROR: "configfs_undepend_item" [fs/ocfs2/cluster/ocfs2_nodemanager.ko] undefined!
      ...
      
      Prevent these by renaming the file to acpi_configfs.c instead.
      Reported-by: default avatarScott Lawson <scott.lawson@intel.com>
      Signed-off-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      fafe5306
  4. 08 Jul, 2016 2 commits