Skip to content

Commit 30f0920

Browse files
committed
Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux
Pull arm64 fixes from Will Deacon: "We've got a revert due to one of the recent CCA commits breaking ACPI firmware-based error reporting, a fix for a hard-lockup introduced by a prior fix affecting non-default (CONFIG_EXPERT) configurations and another ACPI fix for systems using MMIO-based timers. Other than that, we're looking pretty good. - Avoid hardlockup when CONFIG_MITIGATE_SPECTRE_BRANCH_HISTORY=n - Fix regression in APEI/GHES error handling - Fix MMIO timers when probed via ACPI" * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux: arm64: proton-pack: Fix hard lockup when !MITIGATE_SPECTRE_BRANCH_HISTORY ACPI: GTDT: Correctly number platform devices for MMIO timers Revert "arm64: acpi: Enable ACPI CCEL support"
2 parents 5f8a6c7 + 165eb13 commit 30f0920

File tree

3 files changed

+4
-12
lines changed

3 files changed

+4
-12
lines changed

arch/arm64/kernel/acpi.c

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -351,16 +351,6 @@ void __iomem *acpi_os_ioremap(acpi_physical_address phys, acpi_size size)
351351
* as long as we take care not to create a writable
352352
* mapping for executable code.
353353
*/
354-
fallthrough;
355-
356-
case EFI_ACPI_MEMORY_NVS:
357-
/*
358-
* ACPI NVS marks an area reserved for use by the
359-
* firmware, even after exiting the boot service.
360-
* This may be used by the firmware for sharing dynamic
361-
* tables/data (e.g., ACPI CCEL) with the OS. Map it
362-
* as read-only.
363-
*/
364354
prot = PAGE_KERNEL_RO;
365355
break;
366356

arch/arm64/kernel/proton-pack.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1032,6 +1032,8 @@ void spectre_bhb_enable_mitigation(const struct arm64_cpu_capabilities *entry)
10321032

10331033
if (arm64_get_spectre_v2_state() == SPECTRE_VULNERABLE) {
10341034
/* No point mitigating Spectre-BHB alone. */
1035+
} else if (!IS_ENABLED(CONFIG_MITIGATE_SPECTRE_BRANCH_HISTORY)) {
1036+
/* Do nothing */
10351037
} else if (supports_ecbhb(SCOPE_LOCAL_CPU)) {
10361038
state = SPECTRE_MITIGATED;
10371039
set_bit(BHB_HW, &system_bhb_mitigations);

drivers/acpi/arm64/gtdt.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -430,10 +430,10 @@ static int __init gtdt_platform_timer_init(void)
430430
continue;
431431

432432
pdev = platform_device_register_data(NULL, "gtdt-arm-mmio-timer",
433-
gwdt_count, &atm,
433+
mmio_timer_count, &atm,
434434
sizeof(atm));
435435
if (IS_ERR(pdev)) {
436-
pr_err("Can't register timer %d\n", gwdt_count);
436+
pr_err("Can't register timer %d\n", mmio_timer_count);
437437
continue;
438438
}
439439

0 commit comments

Comments
 (0)