mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 17:47:41 +02:00
Merge branches 'acpi-sysfs', 'acpi-resource', 'acpi-driver' and 'acpi-processor'
Merge an update of comments regarding the ACPI sysfs code, a kernel-doc style fixup update of ACPI resource management, and ACPI IPMI driver fix, and an ACPI processor driver fix for 7.2-rc1: - Fix module parameter file paths in comments in the ACPI code managing the general sysfs attributes (Zenghui Yu) - Update kerneldoc comments in the ACPI resource management code to follow the common style (Andy Shevchenko) - Fix inverted interface check in ipmi_bmc_gone() which may cause ACPI IPMI interfaces to be mishandled (Xu Rao) - Add __cpuidle to idle state management functions related to ACPI _LPI to avoid trace-induced RCU warnings (Li RongQing) * acpi-sysfs: ACPI: sysfs: Fix path of module parameters in comments * acpi-resource: ACPI: resource: Amend kernel-doc style * acpi-driver: ACPI: IPMI: Fix inverted interface check in ipmi_bmc_gone() * acpi-processor: ACPI: processor_idle: Mark LPI enter functions as __cpuidle
This commit is contained in:
commit
cf1e70d021
|
|
@ -490,7 +490,7 @@ static void ipmi_bmc_gone(int iface)
|
|||
mutex_lock(&driver_data.ipmi_lock);
|
||||
list_for_each_entry_safe(iter, temp,
|
||||
&driver_data.ipmi_devices, head) {
|
||||
if (iter->ipmi_ifnum != iface) {
|
||||
if (iter->ipmi_ifnum == iface) {
|
||||
ipmi_device = iter;
|
||||
__ipmi_dev_kill(iter);
|
||||
break;
|
||||
|
|
|
|||
|
|
@ -1143,7 +1143,7 @@ static int acpi_processor_get_lpi_info(struct acpi_processor *pr)
|
|||
return 0;
|
||||
}
|
||||
|
||||
int __weak acpi_processor_ffh_lpi_enter(struct acpi_lpi_state *lpi)
|
||||
int __weak __cpuidle acpi_processor_ffh_lpi_enter(struct acpi_lpi_state *lpi)
|
||||
{
|
||||
return -ENODEV;
|
||||
}
|
||||
|
|
@ -1156,7 +1156,7 @@ int __weak acpi_processor_ffh_lpi_enter(struct acpi_lpi_state *lpi)
|
|||
*
|
||||
* Return: 0 for success or negative value for error
|
||||
*/
|
||||
static int acpi_idle_lpi_enter(struct cpuidle_device *dev,
|
||||
static int __cpuidle acpi_idle_lpi_enter(struct cpuidle_device *dev,
|
||||
struct cpuidle_driver *drv, int index)
|
||||
{
|
||||
struct acpi_processor *pr;
|
||||
|
|
|
|||
|
|
@ -871,7 +871,7 @@ bool acpi_dev_resource_interrupt(struct acpi_resource *ares, int index,
|
|||
EXPORT_SYMBOL_GPL(acpi_dev_resource_interrupt);
|
||||
|
||||
/**
|
||||
* acpi_dev_free_resource_list - Free resource from %acpi_dev_get_resources().
|
||||
* acpi_dev_free_resource_list - Free resource from acpi_dev_get_resources().
|
||||
* @list: The head of the resource list to free.
|
||||
*/
|
||||
void acpi_dev_free_resource_list(struct list_head *list)
|
||||
|
|
@ -991,7 +991,7 @@ static int __acpi_dev_get_resources(struct acpi_device *adev,
|
|||
*
|
||||
* The resultant struct resource objects are put on the list pointed to by
|
||||
* @list, that must be empty initially, as members of struct resource_entry
|
||||
* objects. Callers of this routine should use %acpi_dev_free_resource_list() to
|
||||
* objects. Callers of this routine should use acpi_dev_free_resource_list() to
|
||||
* free that list.
|
||||
*
|
||||
* The number of resources in the output list is returned on success, an error
|
||||
|
|
@ -1032,7 +1032,7 @@ static int is_memory(struct acpi_resource *ares, void *not_used)
|
|||
* The resultant struct resource objects are put on the list pointed to
|
||||
* by @list, that must be empty initially, as members of struct
|
||||
* resource_entry objects. Callers of this routine should use
|
||||
* %acpi_dev_free_resource_list() to free that list.
|
||||
* acpi_dev_free_resource_list() to free that list.
|
||||
*
|
||||
* The number of resources in the output list is returned on success,
|
||||
* an error code reflecting the error condition is returned otherwise.
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ int acpi_processor_ffh_lpi_probe(unsigned int cpu)
|
|||
return acpi_cpu_init_idle(cpu);
|
||||
}
|
||||
|
||||
int acpi_processor_ffh_lpi_enter(struct acpi_lpi_state *lpi)
|
||||
int __cpuidle acpi_processor_ffh_lpi_enter(struct acpi_lpi_state *lpi)
|
||||
{
|
||||
u32 state = lpi->address;
|
||||
|
||||
|
|
|
|||
|
|
@ -17,12 +17,12 @@
|
|||
#ifdef CONFIG_ACPI_DEBUG
|
||||
/*
|
||||
* ACPI debug sysfs I/F, including:
|
||||
* /sys/modules/acpi/parameters/debug_layer
|
||||
* /sys/modules/acpi/parameters/debug_level
|
||||
* /sys/modules/acpi/parameters/trace_method_name
|
||||
* /sys/modules/acpi/parameters/trace_state
|
||||
* /sys/modules/acpi/parameters/trace_debug_layer
|
||||
* /sys/modules/acpi/parameters/trace_debug_level
|
||||
* /sys/module/acpi/parameters/debug_layer
|
||||
* /sys/module/acpi/parameters/debug_level
|
||||
* /sys/module/acpi/parameters/trace_method_name
|
||||
* /sys/module/acpi/parameters/trace_state
|
||||
* /sys/module/acpi/parameters/trace_debug_layer
|
||||
* /sys/module/acpi/parameters/trace_debug_level
|
||||
*/
|
||||
|
||||
struct acpi_dlayer {
|
||||
|
|
@ -269,7 +269,7 @@ module_param_call(trace_state, param_set_trace_state, param_get_trace_state,
|
|||
#endif /* CONFIG_ACPI_DEBUG */
|
||||
|
||||
|
||||
/* /sys/modules/acpi/parameters/aml_debug_output */
|
||||
/* /sys/module/acpi/parameters/aml_debug_output */
|
||||
|
||||
module_param_named(aml_debug_output, acpi_gbl_enable_aml_debug_object,
|
||||
byte, 0644);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user