dc68054305
- Restore 29 recipe symlinks (libdrm, qtbase, dbus, sddm, pipewire, etc.) - Restore 33 patches (KDE, libdrm, mesa, pipewire, sddm, wireplumber) - Restore 20+ local/scripts (audit, lint, test, build helpers) - Restore src/cook/scheduler.rs, status.rs, gnu-config/ - Restore scripts/patch-inclusion-gate.sh, run_mini1.sh, validate-collision-log.sh - Recover TLC source from HEAD (was overwritten by 0.2.3 checkout) - Recover 11 local/docs plans from HEAD (were overwritten) - Recover qt6-wayland-smoke symlink from HEAD - Fix MOTD: remove garbled ASCII art, use clean text - Update version: 0.2.0 -> 0.2.4 in os-release, motd, config - Reduce filesystem_size: 1536 -> 512 MiB - Add ABSOLUTE RULE to AGENTS.md: never delete/ignore packages - Reduce pcid scheme log verbosity: info -> debug
50 lines
1.1 KiB
C
50 lines
1.1 KiB
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* include/linux/irqchip/arm-vgic-info.h
|
|
*
|
|
* Copyright (C) 2016 ARM Limited, All Rights Reserved.
|
|
*/
|
|
#ifndef __LINUX_IRQCHIP_ARM_VGIC_INFO_H
|
|
#define __LINUX_IRQCHIP_ARM_VGIC_INFO_H
|
|
|
|
#include <linux/types.h>
|
|
#include <linux/ioport.h>
|
|
|
|
enum gic_type {
|
|
/* Full GICv2 */
|
|
GIC_V2,
|
|
/* Full GICv3, optionally with v2 compat */
|
|
GIC_V3,
|
|
/* Full GICv5, optionally with v3 compat */
|
|
GIC_V5,
|
|
};
|
|
|
|
struct gic_kvm_info {
|
|
/* GIC type */
|
|
enum gic_type type;
|
|
/* Virtual CPU interface */
|
|
struct resource vcpu;
|
|
/* GICv2 GICC VA */
|
|
void __iomem *gicc_base;
|
|
/* Interrupt number */
|
|
unsigned int maint_irq;
|
|
/* No interrupt mask, no need to use the above field */
|
|
bool no_maint_irq_mask;
|
|
/* Virtual control interface */
|
|
struct resource vctrl;
|
|
/* vlpi support */
|
|
bool has_v4;
|
|
/* rvpeid support */
|
|
bool has_v4_1;
|
|
/* Deactivation impared, subpar stuff */
|
|
bool no_hw_deactivation;
|
|
};
|
|
|
|
#ifdef CONFIG_KVM
|
|
void vgic_set_kvm_info(const struct gic_kvm_info *info);
|
|
#else
|
|
static inline void vgic_set_kvm_info(const struct gic_kvm_info *info) {}
|
|
#endif
|
|
|
|
#endif
|