Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
9d0b29f
Merged PR 14843740: Trim 32bit support.
jaykrell Feb 23, 2026
7f4e975
Merged PR 14844096: Clang: Remove unused statics.
jaykrell Feb 23, 2026
347d5a9
Merged PR 14847409: Clang: Fix __FUNCTION__ (not concatenatable).
jaykrell Feb 23, 2026
4c33c2e
Merged PR 14844260: Clang: Port __declspecs.
jaykrell Feb 23, 2026
ab90bd8
Merged PR 14847381: Cleanup ExcludeMainFvFromMeasurementLib.c.
jaykrell Feb 23, 2026
1fa247a
Merged PR 14857035: Clang: static assert updates.
jaykrell Feb 24, 2026
b947186
Merged PR 14858571: Clang: Switch should cover enums.
jaykrell Feb 24, 2026
dd09ce7
Merged PR 14858480: Clang: Initialize some local variables.
jaykrell Feb 24, 2026
ccbcfc8
Merged PR 14862053: Clang: Remove unused static emptyName.
jaykrell Feb 24, 2026
97d0bec
Merged PR 14858089: Clang: Minor type changes and casts.
jaykrell Feb 24, 2026
4e4a9f1
Merged PR 14858238: Clang: Name VMBUS_CHANNEL_MESSAGE_HEADER members.
jaykrell Feb 24, 2026
d352ea2
Merged PR 14855019: Cast ReadNoFence INT32 to UINT32 instead of confu…
jaykrell Feb 24, 2026
032530c
Merged PR 14855961: Remove TPM Null sealing in AziHsm Driver Entry an…
ravikp-arch Feb 24, 2026
32b7f50
Merged PR 14863276: Revert "Merged PR 14617102: Add opt-in ACPI devic…
Feb 25, 2026
2850f19
Merged PR 14858540: Clang: Remove __assume.
jaykrell Feb 25, 2026
fa3b303
Merged PR 14857494: Clang: Fix case and/or path of includes.
jaykrell Feb 25, 2026
e8abf33
Merged PR 14858692: Clang: Emcl: Name members.
jaykrell Feb 25, 2026
3c9f6f2
Merged PR 14855092: Clang: PlatformPei/Config.c braces for switch/cas…
jaykrell Feb 25, 2026
ec776af
Merged PR 14856370: Clang: cast to void**
jaykrell Feb 25, 2026
d290ef1
Merged PR 14873703: Clang: Get UINT32_MAX and UINT64_MAX from stdint.h.
jaykrell Feb 25, 2026
21bb21c
Merged PR 14873872: Clang: include stddef.h for size_t.
jaykrell Feb 25, 2026
fedecfa
Merged PR 14877228: clang: Remove extra pound signs.
jaykrell Feb 26, 2026
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
1 change: 0 additions & 1 deletion MsvmPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@
gMsvmPkgTokenSpaceGuid.PcdTpmEnabled ## CONSUMES
gMsvmPkgTokenSpaceGuid.PcdVirtualBatteryEnabled ## CONSUMES
gMsvmPkgTokenSpaceGuid.PcdWatchdogEnabled ## CONSUMES
gMsvmPkgTokenSpaceGuid.PcdHvSintEnabled ## CONSUMES

[Pcd.X64]
gMsvmPkgTokenSpaceGuid.PcdAcpiMadtMpMailBoxAddress ## PRODUCES
Expand Down
3 changes: 0 additions & 3 deletions MsvmPkg/AcpiPlatformDxe/Dsdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ typedef struct _DSDT_AML_DATA
UINT8 SgxMemoryEnabled;
UINT8 ProcIdleEnabled;
UINT8 CxlMemoryEnabled;
UINT8 HvSintEnabled;
UINT16 NvdimmCount;
} DSDT_AML_DATA;

Expand Down Expand Up @@ -139,7 +138,6 @@ Return Value:
data->ProcIdleEnabled = PcdGetBool(PcdProcIdleEnabled);
data->CxlMemoryEnabled = PcdGetBool(PcdCxlMemoryEnabled);
data->NvdimmCount = PcdGet16(PcdNvdimmCount);
data->HvSintEnabled = PcdGetBool(PcdHvSintEnabled);

DEBUG((DEBUG_VERBOSE, "--- %a: Mmio1Start 0x%lx\n", __FUNCTION__, data->Mmio1Start));
DEBUG((DEBUG_VERBOSE, "--- %a: Mmio1Length 0x%lx\n", __FUNCTION__, data->Mmio1Start));
Expand All @@ -154,7 +152,6 @@ Return Value:
DEBUG((DEBUG_VERBOSE, "--- %a: ProcIdleEnabled 0x%x\n", __FUNCTION__, data->ProcIdleEnabled));
DEBUG((DEBUG_VERBOSE, "--- %a: CxlMemoryEnabled 0x%x\n", __FUNCTION__, data->CxlMemoryEnabled));
DEBUG((DEBUG_VERBOSE, "--- %a: NvdimmCount 0x%x\n", __FUNCTION__, data->NvdimmCount));
DEBUG((DEBUG_VERBOSE, "--- %a: HvSintEnabled 0x%x\n", __FUNCTION__, data->HvSintEnabled));

//
// Allocate space for the NVDIMM IO Buffer if VPMEM is enabled.
Expand Down
1 change: 0 additions & 1 deletion MsvmPkg/AcpiTables/AcpiTables.inf
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
gMsvmPkgTokenSpaceGuid.PcdNonSecureEL1TimerGSIV ## CONSUMES
gMsvmPkgTokenSpaceGuid.PcdVirtualEL1TimerGSIV ## CONSUMES
gMsvmPkgTokenSpaceGuid.PcdNonSecureEL2TimerGSIV ## CONSUMES
gMsvmPkgTokenSpaceGuid.PcdInterceptSintVector ## CONSUMES

[Pcd.X64]
gMsvmPkgTokenSpaceGuid.PcdRtcRegisterBase ## CONSUMES
Expand Down
31 changes: 1 addition & 30 deletions MsvmPkg/AcpiTables/Dsdt.asl
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ DefinitionBlock (
SGXE,8, // SGX Memory enabled/disabled
PADE,8, // Processor Aggregator Device enabled/disabled
CCFG,8, // CXL memory support enabled/disabled
SINT,8, // HV SINT PPI device enabled
NCNT,16, // NVDIMM count
}

Expand Down Expand Up @@ -112,7 +111,7 @@ DefinitionBlock (

// Function 1 : Strict S4 enforcement toggle function
If (LEqual(ToInteger(Arg2), 1))
{
{
Return(0x0001)
}
}
Expand Down Expand Up @@ -377,34 +376,6 @@ DefinitionBlock (
)
}

#if defined(_DSDT_ARM_)
// Intercept SINT =========================================================
// Exposes a PPI for Linux L1VH to use for hypervisor intercept SINTs.
// Only enabled when the loader sets the HvSintEnabled flag.

If(LGreater(SINT, 0))
{
Device(\_SB.VMOD.SINT)
{
Name(_HID, "MSFT1003")
Name(_UID, 0)
Name(_DDN, "Hyper-V SINTs")
Name(_CRS, ResourceTemplate()
{
Interrupt(ResourceConsumer, Edge, ActiveHigh, Exclusive)
{FixedPcdGet8(PcdInterceptSintVector)}
})
// _STA: Return status bitmap
// Bit 0: Present, Bit 1: Enabled, Bit 3: Functioning
// Bit 2 NOT set: Do not show in UI (prevents "unknown device" in Device Manager)
Method(_STA, 0, NotSerialized)
{
Return (0x0B)
}
}
}
#endif

// TPM ====================================================================

If(LGreater(TCFG, 0))
Expand Down
2 changes: 1 addition & 1 deletion MsvmPkg/AziHsmDxe/AziHsmBKS3.c
Original file line number Diff line number Diff line change
Expand Up @@ -866,7 +866,7 @@ AziHsmGetTpmPlatformSecret (

// Primary Key User Data to be input to primary key creation
DEBUG ((DEBUG_INFO, "AziHsm: Creating Platform hierarchy primary\n"));
Status = AziHsmCreatePlatformPrimaryKeyedHash (&PrimaryHandle, PrimaryKeyUserData, PrimaryKeyUserDataLength);
Status = AziHsmCreatePlatformPrimaryKeyedHash (&PrimaryHandle, (BYTE*)PrimaryKeyUserData, PrimaryKeyUserDataLength);
AZIHSM_CHECK_RC (Status, "Primary (platform) creation failed\n");

// Step 2: HMAC KDF Derivation
Expand Down
30 changes: 0 additions & 30 deletions MsvmPkg/AziHsmDxe/AziHsmCp.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,36 +12,6 @@
#include "AziHsmAdmin.h"
#include "AziHsmHci.h"

STATIC
VOID
AziHsmDumpSqe (
AZIHSM_CP_SQE *Sqe
)
{
if (Sqe == NULL) {
DEBUG ((DEBUG_ERROR, "AziHsm: [%a]: Invalid SQE pointer\n", __FUNCTION__));
return;
}

DEBUG ((DEBUG_INFO, "AziHsm: [%a]: Dumping SQE\n", __FUNCTION__));
DEBUG ((DEBUG_INFO, " CmdId: %d\n", Sqe->CmdId));
DEBUG ((DEBUG_INFO, " CmdSet: %d\n", Sqe->CmdSet));
DEBUG ((DEBUG_INFO, " OpCode: %d\n", Sqe->OpCode));
DEBUG ((DEBUG_INFO, " Psdt: %d\n", Sqe->Psdt));
DEBUG ((DEBUG_INFO, " SrcLen: %d\n", Sqe->SrcLen));
DEBUG ((DEBUG_INFO, " DstLen: %d\n", Sqe->DstLen));
DEBUG ((DEBUG_INFO, " Src.Fst: 0x%x Src.Snd: 0x%x\n", Sqe->Src.Prp.Fst, Sqe->Src.Prp.Snd));
DEBUG ((DEBUG_INFO, " Dst.Fst: 0x%x Dst.Snd: 0x%x\n", Sqe->Dst.Prp.Fst, Sqe->Dst.Prp.Snd));
DEBUG ((
DEBUG_INFO,
" SessionFlags: OpCode[0x%x] InSessCmd[0x%x] ShortAppIdValid[0x%x] SafeToCloseSess[0x%x]\n",
Sqe->SqeData.SqeSessionData.SessionCtrlFlags.Opcode,
Sqe->SqeData.SqeSessionData.SessionCtrlFlags.InSessionCmd,
Sqe->SqeData.SqeSessionData.SessionCtrlFlags.ShortAppIdValid,
Sqe->SqeData.SqeSessionData.SessionCtrlFlags.SafeToCloseSession
));
}

EFI_STATUS
EFIAPI
AziHsmInitHsm (
Expand Down
4 changes: 2 additions & 2 deletions MsvmPkg/AziHsmDxe/AziHsmCp.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ typedef struct _AZIHSM_CP_SQE_ {

AZIHSM_CP_CMD_SQE_SRC_DATA SqeData;
} AZIHSM_CP_SQE, *PAZIHSM_CP_SQE;
static_assert ((sizeof (AZIHSM_CP_SQE) == AZIHSM_HSM_CP_SQE_SZ), "CP_SQE: Size Mismatch");
STATIC_ASSERT ((sizeof (AZIHSM_CP_SQE) == AZIHSM_HSM_CP_SQE_SZ), "CP_SQE: Size Mismatch");

/*
* Control Processor Completion Queue Entry
Expand Down Expand Up @@ -121,7 +121,7 @@ typedef struct _AZIHSM_CP_CQE_ {
} PhAndSts;
} AZIHSM_CP_CQE, *PAZIHSM_CP_CQE;

static_assert (sizeof (AZIHSM_CP_CQE) == AZIHSM_HSM_CMD_CQE_SIZE, "AZIHSM_CP_CQE Size Incompatible");
STATIC_ASSERT (sizeof (AZIHSM_CP_CQE) == AZIHSM_HSM_CMD_CQE_SIZE, "AZIHSM_CP_CQE Size Incompatible");

#pragma pack(pop)

Expand Down
Loading