Peter Zijlstra 6a123d6ae6 cpuidle, ACPI: Make noinstr clean
objtool found cases where ACPI methods called out into instrumentation code:

  vmlinux.o: warning: objtool: io_idle+0xc: call to __inb.isra.0() leaves .noinstr.text section
  vmlinux.o: warning: objtool: acpi_idle_enter+0xfe: call to num_online_cpus() leaves .noinstr.text section
  vmlinux.o: warning: objtool: acpi_idle_enter+0x115: call to acpi_idle_fallback_to_c1.isra.0() leaves .noinstr.text section

Fix this by: marking the IO in/out, acpi_idle_fallback_to_c1() and
num_online_cpus() methods as __always_inline.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Tested-by: Tony Lindgren <tony@atomide.com>
Tested-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Frederic Weisbecker <frederic@kernel.org>
Link: https://lore.kernel.org/r/20230112195541.294846301@infradead.org
2023-01-13 11:48:16 +01:00
..
2022-12-12 13:55:31 -08:00
2022-12-13 19:29:45 -08:00
2022-10-03 20:09:22 +02:00
2022-12-12 13:38:17 -08:00
2022-12-12 13:38:17 -08:00
2022-12-15 18:38:22 +01:00
2022-05-25 15:37:07 +02:00
2022-11-10 20:21:35 +01:00
2022-12-12 13:38:17 -08:00
2022-01-22 08:33:37 +02:00
2022-09-30 20:05:16 +02:00
2022-10-03 20:09:22 +02:00
2022-09-09 09:26:22 +02:00