Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions arch/arm64/include/asm/kvm_host.h
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,8 @@ struct kvm_arch {
* the associated pKVM instance in the hypervisor.
*/
struct kvm_protected_vm pkvm;

DEEPIN_KABI_RESERVE(1)
};

struct kvm_vcpu_fault_info {
Expand Down
4 changes: 4 additions & 0 deletions arch/arm64/include/asm/probes.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#define _ARM_PROBES_H

#include <asm/insn.h>
#include <linux/deepin_kabi.h>

typedef u32 probe_opcode_t;
typedef void (probes_handler_t) (u32 opcode, long addr, struct pt_regs *);
Expand All @@ -24,6 +25,9 @@ struct arch_probe_insn {
typedef u32 kprobe_opcode_t;
struct arch_specific_insn {
struct arch_probe_insn api;

DEEPIN_KABI_RESERVE(1)
DEEPIN_KABI_RESERVE(2)
};
#endif

Expand Down
3 changes: 3 additions & 0 deletions arch/x86/include/asm/kprobes.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ struct arch_specific_insn {
void (*emulate_op)(struct kprobe *p, struct pt_regs *regs);
/* Number of bytes of text poked */
int tp_len;

DEEPIN_KABI_RESERVE(1)
DEEPIN_KABI_RESERVE(2)
};

struct arch_optimized_insn {
Expand Down
2 changes: 2 additions & 0 deletions arch/x86/include/asm/kvm_host.h
Original file line number Diff line number Diff line change
Expand Up @@ -1463,6 +1463,8 @@ struct kvm_arch {
*/
#define SPLIT_DESC_CACHE_MIN_NR_OBJECTS (SPTE_ENT_PER_PAGE + 1)
struct kvm_mmu_memory_cache split_desc_cache;

DEEPIN_KABI_RESERVE(1)
};

struct kvm_vm_stat {
Expand Down
14 changes: 14 additions & 0 deletions block/blk-cgroup.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ struct blkg_iostat_set {
int lqueued; /* queued in llist */
struct blkg_iostat cur;
struct blkg_iostat last;

DEEPIN_KABI_RESERVE(1)
DEEPIN_KABI_RESERVE(2)
DEEPIN_KABI_RESERVE(3)
};

/* association between a blk cgroup and a request queue */
Expand Down Expand Up @@ -88,6 +92,8 @@ struct blkcg_gq {
int last_use;

struct rcu_head rcu_head;

DEEPIN_KABI_RESERVE(1)
};

struct blkcg {
Expand All @@ -114,6 +120,11 @@ struct blkcg {
#ifdef CONFIG_CGROUP_WRITEBACK
struct list_head cgwb_list;
#endif

DEEPIN_KABI_RESERVE(1)
DEEPIN_KABI_RESERVE(2)
DEEPIN_KABI_RESERVE(3)
DEEPIN_KABI_RESERVE(4)
};

static inline struct blkcg *css_to_blkcg(struct cgroup_subsys_state *css)
Expand Down Expand Up @@ -183,6 +194,9 @@ struct blkcg_policy {
blkcg_pol_free_pd_fn *pd_free_fn;
blkcg_pol_reset_pd_stats_fn *pd_reset_stats_fn;
blkcg_pol_stat_pd_fn *pd_stat_fn;

DEEPIN_KABI_RESERVE(1)
DEEPIN_KABI_RESERVE(2)
};

extern struct blkcg blkcg_root;
Expand Down
4 changes: 4 additions & 0 deletions block/blk-mq.h
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,10 @@ struct blk_mq_alloc_data {
/* input & output parameter */
struct blk_mq_ctx *ctx;
struct blk_mq_hw_ctx *hctx;

DEEPIN_KABI_RESERVE(1)
DEEPIN_KABI_RESERVE(2)
DEEPIN_KABI_RESERVE(3)
};

struct blk_mq_tags *blk_mq_init_tags(unsigned int nr_tags,
Expand Down
10 changes: 10 additions & 0 deletions block/elevator.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ struct elevator_mq_ops {
struct request *(*next_request)(struct request_queue *, struct request *);
void (*init_icq)(struct io_cq *);
void (*exit_icq)(struct io_cq *);

DEEPIN_KABI_RESERVE(1)
DEEPIN_KABI_RESERVE(2)
DEEPIN_KABI_RESERVE(3)
DEEPIN_KABI_RESERVE(4)
};

#define ELV_NAME_MAX (16)
Expand Down Expand Up @@ -84,6 +89,11 @@ struct elevator_type
/* managed by elevator core */
char icq_cache_name[ELV_NAME_MAX + 6]; /* elvname + "_io_cq" */
struct list_head list;

DEEPIN_KABI_RESERVE(1)
DEEPIN_KABI_RESERVE(2)
DEEPIN_KABI_RESERVE(3)
DEEPIN_KABI_RESERVE(4)
};

static inline bool elevator_tryget(struct elevator_type *e)
Expand Down
3 changes: 3 additions & 0 deletions drivers/block/brd.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ struct brd_device {
*/
struct xarray brd_pages;
u64 brd_nr_pages;

DEEPIN_KABI_RESERVE(1)
DEEPIN_KABI_RESERVE(2)
};

/*
Expand Down
6 changes: 6 additions & 0 deletions drivers/pci/controller/dwc/pcie-designware.h
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,8 @@ struct dw_pcie_ep_ops {
* driver.
*/
unsigned int (*func_conf_select)(struct dw_pcie_ep *ep, u8 func_no);

DEEPIN_KABI_RESERVE(1)
};

struct dw_pcie_ep_func {
Expand All @@ -364,6 +366,8 @@ struct dw_pcie_ep {
void __iomem *msi_mem;
phys_addr_t msi_mem_phys;
struct pci_epf_bar *epf_bar[PCI_STD_NUM_BARS];

DEEPIN_KABI_RESERVE(1)
};

struct dw_pcie_ops {
Expand All @@ -378,6 +382,8 @@ struct dw_pcie_ops {
enum dw_pcie_ltssm (*get_ltssm)(struct dw_pcie *pcie);
int (*start_link)(struct dw_pcie *pcie);
void (*stop_link)(struct dw_pcie *pcie);

DEEPIN_KABI_RESERVE(1)
};

struct dw_pcie {
Expand Down
5 changes: 5 additions & 0 deletions drivers/ptp/ptp_private.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ struct ptp_clock {
struct mutex n_vclocks_mux; /* protect concurrent n_vclocks access */
bool is_virtual_clock;
bool has_cycles;

DEEPIN_KABI_RESERVE(1)
DEEPIN_KABI_RESERVE(2)
DEEPIN_KABI_RESERVE(3)
DEEPIN_KABI_RESERVE(4)
};

#define info_to_vclock(d) container_of((d), struct ptp_vclock, info)
Expand Down
3 changes: 3 additions & 0 deletions fs/eventfd.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ struct eventfd_ctx {
__u64 count;
unsigned int flags;
int id;

DEEPIN_KABI_RESERVE(1)
DEEPIN_KABI_RESERVE(2)
};

__u64 eventfd_signal_mask(struct eventfd_ctx *ctx, __u64 n, __poll_t mask)
Expand Down
3 changes: 3 additions & 0 deletions fs/mount.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include <linux/poll.h>
#include <linux/ns_common.h>
#include <linux/fs_pin.h>
#include <linux/deepin_kabi.h>

struct mnt_namespace {
struct ns_common ns;
Expand Down Expand Up @@ -77,6 +78,8 @@ struct mount {
int mnt_expiry_mark; /* true if marked for expiry */
struct hlist_head mnt_pins;
struct hlist_head mnt_stuck_children;

DEEPIN_KABI_RESERVE(1)
} __randomize_layout;

#define MNT_NS_INTERNAL ERR_PTR(-EINVAL) /* distinct from any mnt_namespace */
Expand Down
5 changes: 5 additions & 0 deletions fs/ubifs/debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
#ifndef __UBIFS_DEBUG_H__
#define __UBIFS_DEBUG_H__

#include <linux/deepin_kabi.h>

/* Checking helper functions */
typedef int (*dbg_leaf_callback)(struct ubifs_info *c,
struct ubifs_zbranch *zbr, void *priv);
Expand Down Expand Up @@ -115,6 +117,9 @@ struct ubifs_debug_info {
struct dentry *dfs_chk_fs;
struct dentry *dfs_tst_rcvry;
struct dentry *dfs_ro_error;

DEEPIN_KABI_RESERVE(1)
DEEPIN_KABI_RESERVE(2)
};

/**
Expand Down
12 changes: 12 additions & 0 deletions fs/ubifs/ubifs.h
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,9 @@ struct ubifs_inode {
pgoff_t read_in_a_row;
int data_len;
void *data;

DEEPIN_KABI_RESERVE(1)
DEEPIN_KABI_RESERVE(2)
};

/**
Expand Down Expand Up @@ -1522,6 +1525,15 @@ struct ubifs_info {

struct ubifs_debug_info *dbg;
struct ubifs_stats_info *stats;

DEEPIN_KABI_RESERVE(1)
DEEPIN_KABI_RESERVE(2)
DEEPIN_KABI_RESERVE(3)
DEEPIN_KABI_RESERVE(4)
DEEPIN_KABI_RESERVE(5)
DEEPIN_KABI_RESERVE(6)
DEEPIN_KABI_RESERVE(7)
DEEPIN_KABI_RESERVE(8)
};

extern struct list_head ubifs_infos;
Expand Down
2 changes: 2 additions & 0 deletions include/acpi/acpi_bus.h
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,8 @@ struct acpi_device_power {
struct acpi_device_power_flags flags;
struct acpi_device_power_state states[ACPI_D_STATE_COUNT]; /* Power states (D0-D3Cold) */
u8 state_for_enumeration; /* Deepest power state for enumeration */

DEEPIN_KABI_RESERVE(1)
};

struct acpi_dep_data {
Expand Down
4 changes: 4 additions & 0 deletions include/drm/drm_atomic.h
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,8 @@ struct drm_private_state_funcs {
*/
void (*atomic_print_state)(struct drm_printer *p,
const struct drm_private_state *state);

DEEPIN_KABI_RESERVE(1)
};

/**
Expand Down Expand Up @@ -338,6 +340,8 @@ struct drm_private_state {
* @obj: backpointer to the private object
*/
struct drm_private_obj *obj;

DEEPIN_KABI_RESERVE(1)
};

struct __drm_private_objs_state {
Expand Down
2 changes: 2 additions & 0 deletions include/drm/drm_client.h
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,8 @@ struct drm_client_buffer {
* @fb: DRM framebuffer
*/
struct drm_framebuffer *fb;

DEEPIN_KABI_RESERVE(1)
};

struct drm_client_buffer *
Expand Down
24 changes: 24 additions & 0 deletions include/drm/drm_connector.h
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,9 @@ struct drm_hdmi_info {

/** @dsc_cap: DSC capabilities of the sink */
struct drm_hdmi_dsc_cap dsc_cap;

DEEPIN_KABI_RESERVE(1)
DEEPIN_KABI_RESERVE(2)
};

/**
Expand Down Expand Up @@ -383,6 +386,8 @@ enum drm_panel_orientation {
struct drm_monitor_range_info {
u16 min_vfreq;
u16 max_vfreq;

DEEPIN_KABI_RESERVE(1)
};

/**
Expand Down Expand Up @@ -824,6 +829,9 @@ struct drm_display_info {
* Defaults to CEC_PHYS_ADDR_INVALID (0xffff).
*/
u16 source_physical_address;

DEEPIN_KABI_RESERVE(1)
DEEPIN_KABI_RESERVE(2)
};

int drm_display_info_set_bus_formats(struct drm_display_info *info,
Expand Down Expand Up @@ -1343,6 +1351,9 @@ struct drm_connector_funcs {
* Allows connectors to create connector-specific debugfs files.
*/
void (*debugfs_init)(struct drm_connector *connector, struct dentry *root);

DEEPIN_KABI_RESERVE(1)
DEEPIN_KABI_RESERVE(2)
};

/**
Expand Down Expand Up @@ -1887,6 +1898,19 @@ struct drm_connector {

/** @hdr_sink_metadata: HDR Metadata Information read from sink */
struct hdr_sink_metadata hdr_sink_metadata;

DEEPIN_KABI_RESERVE(1)
DEEPIN_KABI_RESERVE(2)
DEEPIN_KABI_RESERVE(3)
DEEPIN_KABI_RESERVE(4)
DEEPIN_KABI_RESERVE(5)
DEEPIN_KABI_RESERVE(6)
DEEPIN_KABI_RESERVE(7)
DEEPIN_KABI_RESERVE(8)
DEEPIN_KABI_RESERVE(9)
DEEPIN_KABI_RESERVE(10)
DEEPIN_KABI_RESERVE(11)
DEEPIN_KABI_RESERVE(12)
};

#define obj_to_connector(x) container_of(x, struct drm_connector, base)
Expand Down
4 changes: 4 additions & 0 deletions include/drm/drm_crtc.h
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,8 @@ struct drm_crtc_state {

/** @state: backpointer to global drm_atomic_state */
struct drm_atomic_state *state;

DEEPIN_KABI_RESERVE(1)
};

/**
Expand Down Expand Up @@ -1175,6 +1177,8 @@ struct drm_crtc {
* Initialized via drm_self_refresh_helper_init().
*/
struct drm_self_refresh_data *self_refresh_data;

DEEPIN_KABI_RESERVE(1)
};

/**
Expand Down
2 changes: 2 additions & 0 deletions include/drm/drm_modeset_helper_vtables.h
Original file line number Diff line number Diff line change
Expand Up @@ -1509,6 +1509,8 @@ struct drm_mode_config_helper_funcs {
* This hook is optional.
*/
int (*atomic_commit_setup)(struct drm_atomic_state *state);

DEEPIN_KABI_RESERVE(1)
};

#endif
2 changes: 2 additions & 0 deletions include/drm/drm_modeset_lock.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ struct drm_modeset_acquire_ctx {

/* Perform interruptible waits on this context. */
bool interruptible;

DEEPIN_KABI_RESERVE(1)
};

/**
Expand Down
2 changes: 2 additions & 0 deletions include/drm/drm_plane.h
Original file line number Diff line number Diff line change
Expand Up @@ -772,6 +772,8 @@ struct drm_plane {
* @hotspot_y_property: property to set mouse hotspot y offset.
*/
struct drm_property *hotspot_y_property;

DEEPIN_KABI_RESERVE(1)
};

#define obj_to_plane(x) container_of(x, struct drm_plane, base)
Expand Down
Loading
Loading