Revision 8ef23b6f6a79e6fa2a169081d2d76011fffa0482 authored by Ben Skeggs on 13 January 2021, 07:12:52 UTC, committed by Ben Skeggs on 15 January 2021, 00:25:24 UTC
UEFI/RM no longer use IED scripts from the VBIOS, though they appear to
have been updated for use by the x86 VBIOS code, so we should be able to
continue using them for the moment.

Unfortunately, we require some hacks to do so, as the BeforeLinkTraining
IED script became a pointer to an array of scripts instead, without a
revbump of the relevant tables.

There's also some changes to SOR clock divider fiddling, which are
hopefully correct enough that things work as they should.

AFAIK, GA100 shouldn't have display, so it hasn't been added.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
1 parent a6cf032
Raw File
compat.h
// SPDX-License-Identifier: GPL-2.0
#include <linux/compat.h>

struct compat_if_dqblk {
	compat_u64			dqb_bhardlimit;
	compat_u64			dqb_bsoftlimit;
	compat_u64			dqb_curspace;
	compat_u64			dqb_ihardlimit;
	compat_u64			dqb_isoftlimit;
	compat_u64			dqb_curinodes;
	compat_u64			dqb_btime;
	compat_u64			dqb_itime;
	compat_uint_t			dqb_valid;
};

struct compat_fs_qfilestat {
	compat_u64			dqb_bhardlimit;
	compat_u64			qfs_nblks;
	compat_uint_t			qfs_nextents;
};

struct compat_fs_quota_stat {
	__s8				qs_version;
	__u16				qs_flags;
	__s8				qs_pad;
	struct compat_fs_qfilestat	qs_uquota;
	struct compat_fs_qfilestat	qs_gquota;
	compat_uint_t			qs_incoredqs;
	compat_int_t			qs_btimelimit;
	compat_int_t			qs_itimelimit;
	compat_int_t			qs_rtbtimelimit;
	__u16				qs_bwarnlimit;
	__u16				qs_iwarnlimit;
};
back to top