entry_fred.c (d07a0b861dfd8a525ffb015b05648fb4065c5bd2) entry_fred.c (1b03d82ba15e895776f1f7da2bb56a9a60e6dfed)
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * The FRED specific kernel/user entry functions which are invoked from
4 * assembly code and dispatch to the associated handlers.
5 */
6#include <linux/kernel.h>
7#include <linux/kdebug.h>
8#include <linux/nospec.h>

--- 103 unchanged lines hidden (view full) ---

112 SYSVEC(DEFERRED_ERROR_VECTOR, deferred_error),
113 SYSVEC(THERMAL_APIC_VECTOR, thermal),
114
115 SYSVEC(IRQ_WORK_VECTOR, irq_work),
116
117 SYSVEC(POSTED_INTR_VECTOR, kvm_posted_intr_ipi),
118 SYSVEC(POSTED_INTR_WAKEUP_VECTOR, kvm_posted_intr_wakeup_ipi),
119 SYSVEC(POSTED_INTR_NESTED_VECTOR, kvm_posted_intr_nested_ipi),
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * The FRED specific kernel/user entry functions which are invoked from
4 * assembly code and dispatch to the associated handlers.
5 */
6#include <linux/kernel.h>
7#include <linux/kdebug.h>
8#include <linux/nospec.h>

--- 103 unchanged lines hidden (view full) ---

112 SYSVEC(DEFERRED_ERROR_VECTOR, deferred_error),
113 SYSVEC(THERMAL_APIC_VECTOR, thermal),
114
115 SYSVEC(IRQ_WORK_VECTOR, irq_work),
116
117 SYSVEC(POSTED_INTR_VECTOR, kvm_posted_intr_ipi),
118 SYSVEC(POSTED_INTR_WAKEUP_VECTOR, kvm_posted_intr_wakeup_ipi),
119 SYSVEC(POSTED_INTR_NESTED_VECTOR, kvm_posted_intr_nested_ipi),
120
121 SYSVEC(POSTED_MSI_NOTIFICATION_VECTOR, posted_msi_notification),
120};
121
122static bool fred_setup_done __initdata;
123
124void __init fred_install_sysvec(unsigned int sysvec, idtentry_t handler)
125{
126 if (WARN_ON_ONCE(sysvec < FIRST_SYSTEM_VECTOR))
127 return;

--- 167 unchanged lines hidden ---
122};
123
124static bool fred_setup_done __initdata;
125
126void __init fred_install_sysvec(unsigned int sysvec, idtentry_t handler)
127{
128 if (WARN_ON_ONCE(sysvec < FIRST_SYSTEM_VECTOR))
129 return;

--- 167 unchanged lines hidden ---