Граф коммитов

2804 Коммитов

Автор SHA1 Сообщение Дата
dependabot[bot] 790e0bc2a0
pip: bump regex from 2024.9.11 to 2024.11.6 (#1072)
Bumps [regex](https://github.com/mrabarnett/mrab-regex) from 2024.9.11
to 2024.11.6.

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-20 07:56:34 -08:00
Project Mu Bot [bot] 084b01301f
Bump Silicon/Arm/MU_TIANO from 2024050001.0.0 to 2024050001.0.2 (#1071)
Bumps Silicon/Arm/MU_TIANO from `2024050001.0.0` to `2024050001.0.2`


Introduces 11 new commits in
[Silicon/Arm/MU_TIANO](https://github.com/microsoft/mu_silicon_arm_tiano.git).

<details>
<summary>Commits</summary>
<ul>
<li><a
href="3d16622fb8">3d1662</a>
Repo File Sync: Update PR template text (<a
href="https://github.com/microsoft/mu_silicon_arm_tiano/pull/283">#283</a>)</li>
<li><a
href="631c3d4af6">631c3d</a>
pip: bump regex from 2024.7.24 to 2024.9.11 (<a
href="https://github.com/microsoft/mu_silicon_arm_tiano/pull/284">#284</a>)</li>
<li><a
href="4a8c4779a7">4a8c47</a>
pip: update edk2-pytool-library requirement from ~=0.21.10 to ~=0.21.11
(<a
href="https://github.com/microsoft/mu_silicon_arm_tiano/pull/285">#285</a>)</li>
<li><a
href="d67abd4746">d67abd</a>
Revert "Sync AARCH64 GCD Capabilities with Page Table (<a
href="https://github.com/microsoft/mu_silicon_arm_tiano/pull/89">#89</a>)"</li>
<li><a
href="0890650866">089065</a>
[CHERRY-PICK] Sync AARCH64 GCD Capabilities with Page Table</li>
<li><a
href="4846544a82">484654</a>
ArmPkg: Remove pragma pack from CpuDxe</li>
<li><a
href="969bd00676">969bd0</a>
ArmPkg: Fix call to BuildCpuHob in CpuPei.c</li>
<li><a
href="0c99d2be17">0c99d2</a>
[SQUASH ON REBASE] Fix Bad Cast</li>
<li><a
href="de3cf0cfa9">de3cf0</a>
StandaloneMmPkg: Arm/StandaloneMmCoreEntryPoint Remove Check for SMC
ID</li>
<li><a
href="cadcaaebb8">cadcaa</a>
[CHERRY-PICK] DynamicTablesPkg: AmlLib: Fix CodeQL Issue</li>
<li><a
href="f1daef50f7">f1daef</a>
Fix while loop in delegated event API (<a
href="https://github.com/microsoft/mu_silicon_arm_tiano/pull/308">#308</a>)</li>
</ul>
</details>

Signed-off-by: Project Mu Bot <mubot@microsoft.com>

Signed-off-by: Project Mu Bot <mubot@microsoft.com>
Co-authored-by: Aaron <aaronpop@microsoft.com>
2024-11-19 11:21:22 -08:00
Project Mu Bot [bot] 970fd133ca
Bump MU_BASECORE from 2024050000.1.2 to 2024050000.1.4 (#1069)
Bumps MU_BASECORE from `2024050000.1.2` to `2024050000.1.4`


Introduces 12 new commits in
[MU_BASECORE](https://github.com/microsoft/mu_basecore.git).

<details>
<summary>Commits</summary>
<ul>
<li><a
href="43c0c8447a">43c0c8</a>
Add mock function into MockIoLib</li>
<li><a
href="7a5167f2a1">7a5167</a>
Add all the mock functions in MockIoLib</li>
<li><a
href="b45641d81c">b45641</a>
Create Mock for PostCodeLib (<a
href="https://github.com/microsoft/mu_basecore/pull/1168">#1168</a>)</li>
<li><a
href="fb65d9d7b6">fb65d9</a>
Revert "BaseTools: Add Stack Cookie Support to MSVC and GCC IA32, X64,
ARM, and AARCH64"</li>
<li><a
href="004cb1d9bf">004cb1</a>
[CHERRY-PICK] BaseTools: Add Stack Cookie Support to MSVC and GCC
IA32/X64/ARM/AARCH64</li>
<li><a
href="fcbd31d8e4">fcbd31</a>
Configure Terminal to be picked up by Consplitter</li>
<li><a
href="3a317ae1f2">3a317a</a>
pip: bump regex from 2024.9.11 to 2024.11.6 (<a
href="https://github.com/microsoft/mu_basecore/pull/1219">#1219</a>)</li>
<li><a
href="55f3b71288">55f3b7</a>
[TEMPORARY] Disable Stack Cookies for MSVC ARM/AARCH64</li>
<li><a
href="0629fbff62">0629fb</a>
BaseTools HostBasedUnittestRunner Modify CC_REORGANIZE to exclude Null
implementations. (<a
href="https://github.com/microsoft/mu_basecore/pull/1218">#1218</a>)</li>
<li><a
href="147de21969">147de2</a>
Revert "BaseTools HostBasedUnittestRunner Modify CC_REORGANIZE to
exclude Null implementations. (<a
href="https://github.com/microsoft/mu_basecore/pull/1218">#1218</a>)"</li>
<li><a
href="42d0738639">42d073</a>
Add CC_EXCLUDE support to exclude filetypes from reorganized reports.
Defaults to exclude Null. Updated documentation</li>
<li><a
href="96e8877dd9">96e887</a>
[Cherry-Pick] Declare mock SMM Access2 Protocol. (<a
href="https://github.com/microsoft/mu_basecore/pull/1177">#1177</a>)</li>
</ul>
</details>

Signed-off-by: Project Mu Bot <mubot@microsoft.com>

Signed-off-by: Project Mu Bot <mubot@microsoft.com>
2024-11-19 09:24:49 -08:00
dependabot[bot] 1f7a480355
Rust Dependency: Bump hidparser from `2f259c8` to `7eea73b` (#1061)
Bumps [hidparser](https://github.com/microsoft/mu_rust_hid) from
`2f259c8` to `7eea73b`.

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aaron <aaronpop@microsoft.com>
2024-11-07 10:40:19 -08:00
dependabot[bot] 2e500951e4
pip: bump pywin32 from 306 to 308. edk2-pytool-library to 0.22.0. edk2-pytool-extensions to 0.28.0 (#1053)
Bumps [pywin32](https://github.com/mhammond/pywin32) from 306 to 308.
Bumps
[edk2-pytool-library](https://github.com/tianocore/edk2-pytool-library)
from 0.21.10 to 0.22.2.
Bumps
[edk2-pytool-extensions](https://github.com/tianocore/edk2-pytool-extensions)
from 0.27.12 to 0.28.0

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aaron <aaronpop@microsoft.com>
2024-11-07 09:03:28 -08:00
Project Mu Bot [bot] ea89d76d21
Bump Common/MU_TIANO from 2024050000.0.2 to 2024050000.0.3 (#1059)
Bumps Common/MU_TIANO from `2024050000.0.2` to `2024050000.0.3`

Signed-off-by: Project Mu Bot <mubot@microsoft.com>
2024-11-06 19:44:32 -08:00
Project Mu Bot [bot] aa53d9f010
Bump Features/CONFIG from 3.0.0 to 3.0.1 (#1063)
Bumps Features/CONFIG from `3.0.0` to `3.0.1`


Signed-off-by: Project Mu Bot <mubot@microsoft.com>
Co-authored-by: Aaron <aaronpop@microsoft.com>
2024-11-06 19:44:03 -08:00
dependabot[bot] eff9e3d2bb
pip: bump xmlschema from 3.4.2 to 3.4.3 (#1065)
Bumps [xmlschema](https://github.com/sissaschool/xmlschema) from 3.4.2
to 3.4.3.

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aaron <aaronpop@microsoft.com>
2024-11-06 16:20:43 -08:00
Project Mu Bot [bot] 92f3ea4be2
Bump MU_BASECORE from 2024050000.0.2 to 2024050000.1.2 (#1062)
Bumps MU_BASECORE from `2024050000.0.2` to `2024050000.1.2`
Bumps  Features/MM_SUPV from 14.0.0 to 14.0.2


Signed-off-by: Project Mu Bot <mubot@microsoft.com>
Co-authored-by: Aaron Pop <aaronpop@microsoft.com>
2024-11-06 14:16:31 -08:00
dependabot[bot] 2d967923dc
Rust Dependency: Bump rustversion from 1.0.17 to 1.0.18 (#1054)
Bumps [rustversion](https://github.com/dtolnay/rustversion) from 1.0.17
to 1.0.18.

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-01 12:02:41 -04:00
Project Mu UEFI Bot [bot] 04330dcffd
Repo File Sync: Refactor regex-pull-requests.yml (#1060)
synced local file(s) with
[microsoft/mu_devops](https://github.com/microsoft/mu_devops).

🤖: View the [Repo File Sync Configuration
File](https://github.com/microsoft/mu_devops/blob/main/.sync/Files.yml)
to see how files are synced.

---

This PR was created automatically by the
[repo-file-sync-action](https://github.com/BetaHuhn/repo-file-sync-action)
workflow run
[#11631955745](https://github.com/microsoft/mu_devops/actions/runs/11631955745)

Signed-off-by: Project Mu UEFI Bot <uefibot@microsoft.com>
2024-11-01 11:53:57 -04:00
Eeshan Londhe af9efa3ed5
Bugfix: Do not enable SERIAL_PORT by default in SBSA (#1057) 2024-10-29 09:57:01 -07:00
Project Mu UEFI Bot [bot] 79852158ee
Repo File Sync: synced file(s) with microsoft/mu_devops (#1056)
synced local file(s) with
[microsoft/mu_devops](https://github.com/microsoft/mu_devops).

🤖: View the [Repo File Sync Configuration
File](https://github.com/microsoft/mu_devops/blob/main/.sync/Files.yml)
to see how files are synced.



---

This PR was created automatically by the
[repo-file-sync-action](https://github.com/BetaHuhn/repo-file-sync-action)
workflow run
[#11550649555](https://github.com/microsoft/mu_devops/actions/runs/11550649555)

Signed-off-by: Project Mu UEFI Bot <uefibot@microsoft.com>
2024-10-28 11:24:40 -07:00
Oliver Smith-Denny e260ba3fef
Enable Debugger By Default in Q35/SBSA (#1036)
## Description

This PR turns mu_feature_debugger on by default in Q35/SBSA. It sets no
initial breakpoint, but will break in on an exception. As part of this,
QemuRunner defaults to having `SERIAL_PORT=50001` if this is not
overridden, so that on a regular boot of Q35 the debugger can easily be
used. On SBSA, the serial port is not added by default, as it will
prevent writing to stdout, making it hard to tell progress.

An additional command line flag is added `BLD_*_DXE_DBG_BRK` to control
whether the initial breakpoint is set. Passing `BLD_*_DXE_DBG_BRK=TRUE`
on the commandline will set an unlimited initial breakpoint on DxeCore
entrance.

The other caveat in SBSA is that with a single serial port, debugger
polling is disabled, otherwise the debugger can eat user keystrokes at
the shell.

Once supervised StMM support is added to mu_feature_debugger
(https://github.com/microsoft/mu_feature_debugger/issues/59), it will be
added here with a corresponding flag to force breaking in to the MM
debugger.

- [ ] Impacts functionality?
- [ ] Impacts security?
- [ ] Breaking change?
- [ ] Includes tests?
- [ ] Includes documentation?

## How This Was Tested

Tested by booting Q35 with no exceptions, with an exception and breaking
in, and with the force flag and breaking in on initial breakpoint.

## Integration Instructions

See above.
2024-10-02 22:16:59 +00:00
dependabot[bot] d22df35431
pip: bump edk2-pytool-extensions from 0.27.11 to 0.27.12 (#1049)
Bumps
[edk2-pytool-extensions](https://github.com/tianocore/edk2-pytool-extensions)
from 0.27.11 to 0.27.12.

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-02 10:46:27 -07:00
dependabot[bot] 51703f105a
pip: bump regex from 2024.7.24 to 2024.9.11 (#1050)
Bumps [regex](https://github.com/mrabarnett/mrab-regex) from 2024.7.24
to 2024.9.11.

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-02 08:07:31 -07:00
Project Mu Bot [bot] 3a16557f6c
Bump MU_BASECORE from 2024050000.0.1 to 2024050000.0.2 and MM_SUPV to v14.0.0 (#1044)
Bumps MU_BASECORE from `2024050000.0.1` to `2024050000.0.2`


Signed-off-by: Project Mu Bot <mubot@microsoft.com>
Co-authored-by: Kun Qin <kuqin@microsoft.com>
Co-authored-by: kuqin12 <42554914+kuqin12@users.noreply.github.com>
2024-10-01 15:31:13 -07:00
Project Mu Bot [bot] cae674fd04
Bump Silicon/Arm/MU_TIANO from 2024050000.0.0 to 2024050001.0.0 (#1034)
Bumps Silicon/Arm/MU_TIANO from `2024050000.0.0` to `2024050001.0.0`

Introduces 10 new commits in
[Silicon/Arm/MU_TIANO](https://github.com/microsoft/mu_silicon_arm_tiano.git).

Signed-off-by: Project Mu Bot <mubot@microsoft.com>
2024-10-01 02:45:42 +00:00
Project Mu Bot [bot] bab50661c5
Bump Features/DEBUGGER from 0.1.5 to 0.2.0 (#1047)
Bumps Features/DEBUGGER from `0.1.5` to `0.2.0`

Introduces 6 new commits in
[Features/DEBUGGER](https://github.com/microsoft/mu_feature_debugger.git).

Signed-off-by: Project Mu Bot <mubot@microsoft.com>
2024-09-30 21:30:46 -04:00
dependabot[bot] 8b9afc0de8
Rust Dependency: Bump hidparser from `522f2ff` to `2f259c8` (#1048)
Bumps [hidparser](https://github.com/microsoft/mu_rust_hid) from
`522f2ff` to `2f259c8`.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="2f259c817b"><code>2f259c8</code></a>
Cargo.toml: Update version to 1.0.1 (<a
href="https://redirect.github.com/microsoft/mu_rust_hid/issues/31">#31</a>)</li>
<li>See full diff in <a
href="522f2ff4ab...2f259c817b">compare
view</a></li>
</ul>
</details>
<br />


You can trigger a rebase of this PR by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-30 08:04:40 -07:00
Project Mu Bot [bot] fd0e56c4d8
Bump Common/MU_TIANO from 2024050000.0.1 to 2024050000.0.2 (#1045)
Bumps Common/MU_TIANO from `2024050000.0.1` to `2024050000.0.2`

Introduces 5 new commits in
[Common/MU_TIANO](https://github.com/microsoft/mu_tiano_plus.git).

Signed-off-by: Project Mu Bot <mubot@microsoft.com>
2024-09-25 11:10:50 -04:00
Michael Kubacki 69223cc1bf QemuPkg: Remove LockBoxLib
Not needed since S3 support is not used requiring the Lock Box.

Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
2024-09-24 12:26:50 -04:00
Michael Kubacki 1dad22b92b QemuSbsaPkg: Use LockBoxLib null instance
The QemuPkg LockBoxLib is being removed. Used the null instance here
for libraries (like PerformanceLib) that link against a LockBoxLib
instance.

Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
2024-09-24 12:26:50 -04:00
Michael Kubacki 8783ba93e1 QemuQ35Pkg.fdf: Remove assignment of Lock Box PCDs
Removes the following PCDs since the lock box is no longer supported.

  - `gQemuPkgTokenSpaceGuid.PcdOvmfLockBoxStorageBase`
  - `gQemuPkgTokenSpaceGuid.PcdOvmfLockBoxStorageSize`

Signed-off-by: Michael Kubacki <Michael.kubacki@microsoft.com>
2024-09-24 12:26:50 -04:00
Michael Kubacki 2fad849742 QemuQ35Pkg/SmmAccess: Drop S3 and Lock Box support
Main change is to compensate for the single MMRAM range used now that
the S3 resume area is removed from MMRAM. A single range is now used
to cover all of TSEG.

Signed-off-by: Michael Kubacki <Michael.kubacki@microsoft.com>
2024-09-24 12:26:50 -04:00
Michael Kubacki b22b4e79f1 QemuQ35Pkg/SmmControl2Dxe: Drop S3 and Lock Box support
Removes S3 and boot script related code to focus the module on simply
installing `Trigger()` and `Clear()` functionality for the SMM
Control protocol.

Signed-off-by: Michael Kubacki <Michael.kubacki@microsoft.com>
2024-09-24 12:26:50 -04:00
Michael Kubacki 1f905784b4 QemuQ35Pkg/AcpiPlatformDxe: Drop S3 and Lock Box support
Removes S3 boot script related code since S3 is no longer supported.

Signed-off-by: Michael Kubacki <Michael.kubacki@microsoft.com>
2024-09-24 12:26:50 -04:00
Michael Kubacki d21b07fa30 QemuQ35Pkg/PlatformPei: Drop S3 and Lock Box support
Removes platform initialization logic for S3 and the lock box.

Notably, the number of MMRAM regions is reduced from two to one since
the first MMRAM range was previously a 4KB page used to hold S3
resume structures.

The amount of ACPI NVS reservation is reduced substantially since
areas like the following do not need to be preserved for S3 resume:

- CPU AP stack buffers
- Temp RAM stack and heap
- GUIDed section extraction handlers
- Reset vector initial page tables

The lock box storage buffer is also not allocated at all. Previously,
it was allocated as boot services data (not ACPI NVS) since S3 was
never enabled. In any case, that space is no longer allocated.

Asserts are added in places through key control flow to alert a
developer if S3 is detected as enabled when it should not be.

Signed-off-by: Michael Kubacki <Michael.kubacki@microsoft.com>
2024-09-24 12:26:50 -04:00
Michael Kubacki 4044593f31 QemuQ35Pkg/Sec: Drop S3 and Lock Box support
Always follow the non-S3 flow to decompress the main FV and load
the PEI core from it during SEC startup.

Signed-off-by: Michael Kubacki <Michael.kubacki@microsoft.com>
2024-09-24 12:26:50 -04:00
Michael Kubacki 18de8abe27 QemuQ35Pkg: Remove S3 and Lock Box related code
Removes libraries and modules that support S3 and Lock Box since S3
is not supported by QemuQ35Pkg.

Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
2024-09-24 12:26:50 -04:00
Michael Kubacki da26acda4a QemuQ35Pkg: Drop S3 and Lock Box support
1. Drop SmmLockBox from build and flash image

   This is a Traditional SMM module that cannot be dispached with
   the Standalone MM module currently support in QemuQ35Pkg.

2. Drop PEI and DXE S3 and Lock Box related modules from the
   QemuQ35Pkg build and flash image.

   `gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable` is `FALSE` which
   disables S3 support. Code is also currently not being written to
   support S3 boot script replay and S3 is not tested. Modern physical
   platforms rarely support S3 and S3 presents its own security
   related concerns and maintenance overhead.

   Since S3 is not needed, the lock box code which is currently only
   used to store the S3 boot script is not needed.

   As a consequence, the following S3, boot script, and lock box
   related PEI and DXE modules are removed from QemuQ35Pkg:

   - `BootScriptExecutorDxe`
   - `CpuS3DataDxe`
   - `S3Resume2Pei`
   - `S3SaveStateDxe`

3. Drop S3 and lock box related library instances from QemuQ35Pkg
   build.

   The following library instances also do not need to be build given
   S3 is not supported and are removed from the QemuQ35Pkg build:

   - `MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf`
   - `MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf`
   - `MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf`
   - `MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf`
   - `MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxStandaloneMmLib.inf`
   - `QemuPkg/Library/LockBoxLib/LockBoxBaseLib.inf`
   - `QemuQ35Pkg/Library/QemuFwCfgS3Lib/PeiQemuFwCfgS3LibFwCfg.inf`

Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
2024-09-24 12:26:50 -04:00
dependabot[bot] ed05914ad4
Rust Dependency: Bump hidparser from `2ecca0c` to `522f2ff` (#1043)
Bumps [hidparser](https://github.com/microsoft/mu_rust_hid) from
`2ecca0c` to `522f2ff`.

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-24 09:50:12 -04:00
Michael Kubacki 46ef2d2be3
QemuQ35Pkg.dsc: Apply XenHypercallLib to valid archs (#1041)
## Description

The XenHypercallLib instance in QemuQ35Pkg has the following
LIBRARY_CLASS value in its [DEFINES] section:

```
  [Defines.IA32, Defines.X64]
    LIBRARY_CLASS                  = XenHypercallLib|...

  [Defines.ARM, Defines.AARCH64]
    LIBRARY_CLASS                  = XenHypercallLib
```

However, the library instance is specified in QemuQ35Pkg.dsc against the
"Common" architecture as it is placed in the `[LibraryClasses]` section.

This raises the following warning during build:

```
  INFO - QemuQ35Pkg.dsc(...): warning:
    Platforms\QemuQ35Pkg\Library\XenHypercallLib\XenHypercallLib.inf
    does not support LIBRARY_CLASS XenHypercallLib
```

This is printed from the `_ValidateLibraryClass()` function in
`BaseTools/Source/Python/Workspace/DscBuildData.py` because the library
class is bound by architecture in the INF file so it does *not* support
the "Common" architecture.

This change maps the library instance to the XenHypercallLib class per
the defined architectures (`IA32` and `X64`) in QemuQ35Pkg.dsc.

- [ ] Impacts functionality?
- [ ] Impacts security?
- [ ] Breaking change?
- [ ] Includes tests?
- [ ] Includes documentation?

## How This Was Tested

- `QemuQ35Pkg` before and after the change

## Integration Instructions

- N/A

Signed-off-by: Michael Kubacki <Michael.kubacki@microsoft.com>
2024-09-24 04:50:15 +00:00
Project Mu UEFI Bot [bot] c7d044658a
Repo File Sync: Update Rust, Mu DevOps, and container version and PR template (#1030)
Also trigger the CodeQL workflow on `dev/*` branches.

synced local file(s) with
[microsoft/mu_devops](https://github.com/microsoft/mu_devops).

🤖: View the [Repo File Sync Configuration
File](https://github.com/microsoft/mu_devops/blob/main/.sync/Files.yml)
to see how files are synced.

---

This PR was created automatically by the
[repo-file-sync-action](https://github.com/BetaHuhn/repo-file-sync-action)
workflow run
[#11004666094](https://github.com/microsoft/mu_devops/actions/runs/11004666094)

Signed-off-by: Project Mu UEFI Bot <uefibot@microsoft.com>
2024-09-24 02:17:41 +00:00
Project Mu Bot [bot] b5000539d5
Bump Common/MU_TIANO from 2024050000.0.0 to 2024050000.0.1 (#1033)
Bumps Common/MU_TIANO from `2024050000.0.0` to `2024050000.0.1`


Introduces 8 new commits in
[Common/MU_TIANO](https://github.com/microsoft/mu_tiano_plus.git).

<details>
<summary>Commits</summary>
<ul>
<li><a
href="60690b30e3">60690b</a>
Revert "FmpDevicePkg: Assert on PcdFmpDeviceImageTypeIdGuid Size
Mismatch"</li>
<li><a
href="8e813d10cb">8e813d</a>
[CHERRY-PICK] FmpDevicePkg: Assert on PcdFmpDeviceImageTypeIdGuid Size
Mismatch</li>
<li><a
href="d60d4174a4">d60d41</a>
Revert "EmbeddedPkg: Mark DMA Memory Allocations XP By Default"</li>
<li><a
href="622dc71ef7">622dc7</a>
[CHERRY-PICK] EmbeddedPkg: Mark DMA Memory Allocations XP By
Default</li>
<li><a
href="c454e61017">c454e6</a>
Revert "PrmPkg: Don"t Set Access Attributes of Runtime MMIO Ranges (<a
href="https://github.com/microsoft/mu_tiano_plus/pull/51">#51</a>)"</li>
<li><a
href="432fdb2dfc">432fdb</a>
[CHERRY-PICK] PrmPkg: Don"t Set Access Attributes of Runtime MMIO
Ranges</li>
<li><a
href="67e042f29e">67e042</a>
[CHERRY-PICK] EmbeddedPkg: NonCoherentDmaLib: Set EFI_MEMORY_XP
Capability on DMA Buffer</li>
<li><a
href="ef21d6d9b6">ef21d6</a>
pip: bump edk2-pytool-extensions from 0.27.11 to 0.27.12 (<a
href="https://github.com/microsoft/mu_tiano_plus/pull/329">#329</a>)</li>
</ul>
</details>

Signed-off-by: Project Mu Bot <mubot@microsoft.com>

Signed-off-by: Project Mu Bot <mubot@microsoft.com>
2024-09-19 19:52:10 -07:00
Project Mu Bot [bot] b983377f03
Bump Features/CONFIG from 2.0.13 to 3.0.0 (#1035)
Bumps Features/CONFIG from `2.0.13` to `3.0.0`

Introduces 22 new commits in
[Features/CONFIG](https://github.com/microsoft/mu_feature_config.git).

Signed-off-by: Project Mu Bot <mubot@microsoft.com>
2024-09-19 20:08:51 -04:00
dependabot[bot] c41b993729
pip: bump xmlschema from 3.3.2 to 3.4.2 (#1038)
Bumps [xmlschema](https://github.com/sissaschool/xmlschema) from 3.3.2
to 3.4.2.

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-18 12:00:25 -07:00
dependabot[bot] ae76318fdf
Bump Features/DEBUGGER from `1d66372` to `40e9812` (#1031)
Bumps
[Features/DEBUGGER](https://github.com/microsoft/mu_feature_debugger)
from `1d66372` to `40e9812`.

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-11 07:59:57 -07:00
Project Mu Bot [bot] 302127c783
Bump Common/MU_OEM_SAMPLE from 2023110000.0.2 to 2024050000.0.0 (#1026)
Bumps Common/MU_OEM_SAMPLE from `2023110000.0.2` to `2024050000.0.0`

Signed-off-by: Project Mu Bot <mubot@microsoft.com>
Co-authored-by: Aaron <105021049+apop5@users.noreply.github.com>
2024-09-04 10:33:24 -07:00
dependabot[bot] e9cb9caf35
Bump Features/DEBUGGER from `ad7047d` to `1d66372` (#1029)
Bumps
[Features/DEBUGGER](https://github.com/microsoft/mu_feature_debugger)
from `ad7047d` to `1d66372`.

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-04 09:10:11 -07:00
kuqin12 1fa16a6c1e
Update basecore and supervisor submodules (#1025)
## Description

Update mu_basecore to top of release/202405 and supervisor repo to pair
up with the updated override tags.

For details on how to complete to complete these options and their
meaning refer to
[CONTRIBUTING.md](https://github.com/microsoft/mu/blob/HEAD/CONTRIBUTING.md).

- [x] Impacts functionality?
- [ ] Impacts security?
- [ ] Breaking change?
- [ ] Includes tests?
- [ ] Includes documentation?

## How This Was Tested

Tested on QEMU Q35 and booted to shell.

## Integration Instructions

N/A
2024-08-29 22:53:39 +00:00
Antaeus Kleinert-Strand 8f0b6e1a29
Set workspace resolver to version 2 (#1024)
## Description
Add an explicit set for resolver to use version 2. This is required for
virtual workspaces as the rust edition cannot be inferred by the
compiler.

For details on how to complete to complete these options and their
meaning refer to
[CONTRIBUTING.md](https://github.com/microsoft/mu/blob/HEAD/CONTRIBUTING.md).

- [ ] Impacts functionality?
- [ ] Impacts security?
- [ ] Breaking change?
- [ ] Includes tests?
- [ ] Includes documentation?

## How This Was Tested
I validated that cargo make build, test, and coverage did not change.

## Integration Instructions
N/A
2024-08-27 15:18:12 -07:00
Project Mu Bot [bot] e578e87634
Bump Features/MM_SUPV from 13.0.0 to 13.0.1 (#1014)
Bumps Features/MM_SUPV from `13.0.0` to `13.0.1`


Introduces 22 new commits in
[Features/MM_SUPV](https://github.com/microsoft/mu_feature_mm_supv.git).

<details>
<summary>Commits</summary>
<ul>
<li><a
href="e8572f6eff">e8572f</a>
pip: update edk2-pytool-extensions requirement from ~=0.27.9 to
~=0.27.10 (<a
href="https://github.com/microsoft/mu_feature_mm_supv/pull/316">#316</a>)</li>
<li><a
href="1619bce512">1619bc</a>
pip: update edk2-pytool-library requirement from ~=0.21.8 to ~=0.21.9
(<a
href="https://github.com/microsoft/mu_feature_mm_supv/pull/318">#318</a>)</li>
<li><a
href="bce5cec1b1">bce5ce</a>
Changed AllocatePageTableMemory to include a new variable (<a
href="https://github.com/microsoft/mu_feature_mm_supv/pull/317">#317</a>)</li>
<li><a
href="894cc2d9d8">894cc2</a>
pip: bump antlr4-python3-runtime from 4.13.1 to 4.13.2 (<a
href="https://github.com/microsoft/mu_feature_mm_supv/pull/320">#320</a>)</li>
<li><a
href="b250a3918b">b250a3</a>
pip: update edk2-pytool-library requirement from ~=0.21.9 to ~=0.21.10
(<a
href="https://github.com/microsoft/mu_feature_mm_supv/pull/319">#319</a>)</li>
<li><a
href="1a10629b1c">1a1062</a>
MmSupervisorPkg: Core: CET refactoring</li>
<li><a
href="0316605cc7">031660</a>
MmSupervisorPkg: Core: Optimize PatchSmmSaveStateMap and
FlushTlbForAll</li>
<li><a
href="b6184a46dc">b6184a</a>
MmSupervisorPkg: Core: Limit PhysicalAddressBits in special case</li>
<li><a
href="fa1af06743">fa1af0</a>
MmSupervisorPkg: Core: Map SMRAM in 4K page granularity</li>
<li><a
href="6f842d2c20">6f842d</a>
MmSupervisorPkg: Core: Remove SmBases relocation logic</li>
<li><a
href="715b39ab2c">715b39</a>
MmSupervisorPkg: Core + Broker: Remove unused code</li>
<li><a
href="987b164e2b">987b16</a>
MmSupervisorPkg: Core+ Broker: Support to unregister MMI handler</li>
<li><a
href="2a51bef46f">2a51be</a>
MmSupervisorPkg: BaseLibSysCall: Integrate EDK2 changes</li>
<li><a
href="c46d6b5668">c46d6b</a>
MmSupervisorPkg: BaseCpuLibSysCall: Update override tag</li>
<li><a
href="7d06832f77">7d0683</a>
MmSupervisorPkg: BaseIoLibIntrinsicSysCall: Integrate EDK2 changes</li>
<li><a
href="8d70bd9b86">8d70bd</a>
MmSupervisorPkg: Update override tags</li>
<li><a
href="4f50728eb8">4f5072</a>
MmSupervisorPkg: StandaloneMmHobLibSyscall: Do not create hobs</li>
<li><a
href="e9743735f4">e97437</a>
MmSupervisorPkg: MmIplPei: Refresh MMRAM logic</li>
<li><a
href="2b2a8ddb13">2b2a8d</a>
MmSupervisorPkg: StandaloneMmIpl: Removed unused driver</li>
<li><a
href="d3be073583">d3be07</a>
MmSupervisorPkg: Core: Change relocation routine to make system run</li>
<li><a
href="c01aee55e9">c01aee</a>
Pipeline update to support 2405</li>
<li><a
href="6c121a309d">6c121a</a>
Document update and version change (<a
href="https://github.com/microsoft/mu_feature_mm_supv/pull/322">#322</a>)</li>
</ul>
</details>

Signed-off-by: Project Mu Bot <mubot@microsoft.com>

Signed-off-by: Project Mu Bot <mubot@microsoft.com>
Co-authored-by: Kun Qin <kuqin@microsoft.com>
Co-authored-by: Aaron <105021049+apop5@users.noreply.github.com>
2024-08-22 09:21:39 -07:00
dependabot[bot] cc99aa3de6
Bump Features/DEBUGGER from `d7db129` to `ad7047d` (#1022)
Bumps
[Features/DEBUGGER](https://github.com/microsoft/mu_feature_debugger)
from `d7db129` to `ad7047d`.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="ad7047d100"><code>ad7047d</code></a>
pip: update edk2-pytool-extensions requirement from ~=0.27.10 to
~=0.27.11 (<a
href="https://redirect.github.com/microsoft/mu_feature_debugger/issues/51">#51</a>)</li>
<li>See full diff in <a
href="d7db129716...ad7047d100">compare
view</a></li>
</ul>
</details>
<br />


You can trigger a rebase of this PR by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-22 08:14:51 -07:00
dependabot[bot] a0862cd7f3
Bump Features/DEBUGGER from `c9efe78` to `d7db129` (#1020)
Bumps
[Features/DEBUGGER](https://github.com/microsoft/mu_feature_debugger)
from `c9efe78` to `d7db129`.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="d7db129716"><code>d7db129</code></a>
Repo File Sync: synced file(s) with microsoft/mu_devops (<a
href="https://redirect.github.com/microsoft/mu_feature_debugger/issues/50">#50</a>)</li>
<li><a
href="312b83662f"><code>312b836</code></a>
pip: update edk2-pytool-library requirement from ~=0.21.9 to ~=0.21.10
(<a
href="https://redirect.github.com/microsoft/mu_feature_debugger/issues/49">#49</a>)</li>
<li><a
href="3553982820"><code>3553982</code></a>
pip: bump antlr4-python3-runtime from 4.13.1 to 4.13.2 (<a
href="https://redirect.github.com/microsoft/mu_feature_debugger/issues/48">#48</a>)</li>
<li><a
href="4de89c0a27"><code>4de89c0</code></a>
pip: update edk2-pytool-library requirement from ~=0.21.8 to ~=0.21.9
(<a
href="https://redirect.github.com/microsoft/mu_feature_debugger/issues/47">#47</a>)</li>
<li>See full diff in <a
href="c9efe78878...d7db129716">compare
view</a></li>
</ul>
</details>
<br />


You can trigger a rebase of this PR by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aaron <105021049+apop5@users.noreply.github.com>
2024-08-20 10:18:32 -07:00
Aaron 25b8264dc6
pip: bump edk2-pytool-extensions and edk2-pytool-library (#1021)
## Description

edk2-pytool-extensions from 0.27.10 to 0.27.11 
edk2-pytool-library from 0.21.9 to 0.21.10

- [ ] Impacts functionality?
- [ ] Impacts security?
- [ ] Breaking change?
- [ ] Includes tests?
- [ ] Includes documentation?

## How This Was Tested
N/A

## Integration Instructions
N/A
2024-08-14 14:14:07 -07:00
Joey Vagedes aedfc20a2f
QemuPkg: building.md: Update instructions for using QEMU (#1013)
## Description

Updates the build instructions for using QEMU on windows and Linux to
accurately specify that QEMU is provided automatically on Windows but
should manually be downloaded on Linux. Additionally specifies that QEMU
9.0.2 or greater is necessary to boot the operating system on Linux.

Closes #1012

- [ ] Impacts functionality?
- **Functionality** - Does the change ultimately impact how firmware
functions?
- Examples: Add a new library, publish a new PPI, update an algorithm,
...
- [ ] Impacts security?
- **Security** - Does the change have a direct security impact on an
application,
    flow, or firmware?
  - Examples: Crypto algorithm change, buffer overflow fix, parameter
    validation improvement, ...
- [ ] Breaking change?
- **Breaking change** - Will anyone consuming this change experience a
break
    in build or boot behavior?
- Examples: Add a new library class, move a module to a different repo,
call
    a function in a new library class in a pre-existing module, ...
- [ ] Includes tests?
  - **Tests** - Does the change include any explicit test code?
  - Examples: Unit tests, integration tests, robot tests, ...
- [x] Includes documentation?
- **Documentation** - Does the change contain explicit documentation
additions
    outside direct code modifications (and comments)?
- Examples: Update readme file, add feature readme file, link to
documentation
    on an a separate Web page, ...

## How This Was Tested

N/A

## Integration Instructions

N/A

---------

Signed-off-by: Joey Vagedes <joey.vagedes@gmail.com>
Co-authored-by: Michael Kubacki <michael.kubacki@microsoft.com>
2024-08-12 15:33:00 -07:00
dependabot[bot] 660b339172
Rust Dependency: Bump hidparser from `d8f0b8a` to `2ecca0c` (#1019)
Bumps [hidparser](https://github.com/microsoft/mu_rust_hid) from
`d8f0b8a` to `2ecca0c`.

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-12 16:04:18 -04:00
kuqin12 5ce7af569b
Add back memory map test app (#1018)
## Description

This change re-enables the memory map test app fix by picking up the
latest MU_PLUS and MU_SILICON_ARM.

Resolves https://github.com/microsoft/mu_tiano_platforms/issues/1017.

For details on how to complete to complete these options and their
meaning refer to
[CONTRIBUTING.md](https://github.com/microsoft/mu/blob/HEAD/CONTRIBUTING.md).

- [x] Impacts functionality?
- [ ] Impacts security?
- [ ] Breaking change?
- [x] Includes tests?
- [ ] Includes documentation?

## How This Was Tested

This change is tested on QEMU Q35.

## Integration Instructions

N/A
2024-08-12 11:08:42 -04:00
Oliver Smith-Denny 66a8f3d890
Move Submodules to release/202405 (#1011)
## Description

The Project Mu submodules have moved to release/202405 and as the final
step in qualifying that, we move mu_tiano_platforms to the new
submodules. Below is the list of major changes for this repo to
accommodate the new submodules:

SBSA Dropping ArmVirtPkg Dependency
--
QemuSbsaPkg was dependent on ArmVirtPkg for two libraries and a set of
device tree PCDs. These device tree PCDs were moved to OvmfPkg in edk2,
which we do not carry in Project Mu. In general, ArmVirtPkg allows
dependencies on OvmfPkg, which makes it not a good candidate for Project
Mu to depend on. The PCDs were moved to QemuSbsaPkg, QemuVirtMemInfoLib
was copied there, and the HobLib was pointed to the mu_basecore version,
as the ArmVirtPkg version was not needed, thus breaking the dependency
on ArmVirtPkg. Some other ArmVirtPkg unused PCDs were dropped entirely.

MM_SUPV Updates
--
There were a lot of MM_SUPV updates in release/202405, which led to
needing to copy an instance of SmmRelocationLib from OvmfPkg to
QemuQ35Pkg. There was debt from previous integrations where changes from
MmFeatureLib were not picked up, which were required to work with the
new supervisor.

SourceLevelDebugPkg Dropped
--
Project Mu no longer carries SourceLevelDebugPkg, so all references and
hooks were dropped from the repo.

Non-NX Compat Images Allowed to be Loaded
--
Previously, on Windows built FW's, we would block loading non-NX compat
binaries. This prevents booting most modern Linuxes as shim/grub do not
have the NX_COMPAT flag set for released versions. This was changed to
not block loading non-NX Compat images so that Linux can boot on
Q35/SBSA on Windows.

SBSA Qemu run without SME and SVE
--
Similar to requiring SSE support on Q35, Windows and Linux have started
using SVE instructions on ARM64. However, TF-A in the SP_MM
configuration does not support SME or SVE instructions, so TF-A would
crash when one of those instructions occurred. Qemu is now configured to
run without support for SME and SVE so that the OSes do not attempt to
use them. It was also discovered that Qemu 9.0.2 or newer is required
for booting an OS on SBSA now, it is not clear what changed.

Cleanups and Old References Dropped
--
- As part of debugging some of the changes needed for release/202405,
some DSC cleanups were made.
- MemoryOverrideBinLib was not carried forward to release/202405, so it
was dropped from DSCs.
- AdvLoggerAccessLibNull is used for VariableStandaloneMmLib.inf in
QemuSbsaPkg now instead of the actual instance, as we are not using
AdvLogger there.

For each item, place an "x" in between `[` and `]` if true. Example:
`[x]`.
_(you can also check items in the GitHub UI)_

- [x] Impacts functionality?
- **Functionality** - Does the change ultimately impact how firmware
functions?
- Examples: Add a new library, publish a new PPI, update an algorithm,
...
- [x] Impacts security?
- **Security** - Does the change have a direct security impact on an
application,
    flow, or firmware?
  - Examples: Crypto algorithm change, buffer overflow fix, parameter
    validation improvement, ...
- [x] Breaking change?
- **Breaking change** - Will anyone consuming this change experience a
break
    in build or boot behavior?
- Examples: Add a new library class, move a module to a different repo,
call
    a function in a new library class in a pre-existing module, ...
- [ ] Includes tests?
  - **Tests** - Does the change include any explicit test code?
  - Examples: Unit tests, integration tests, robot tests, ...
- [ ] Includes documentation?
- **Documentation** - Does the change contain explicit documentation
additions
    outside direct code modifications (and comments)?
- Examples: Update readme file, add feature readme file, link to
documentation
    on an a separate Web page, ...

## How This Was Tested

Booted Q35 and SBSA to Windows and Linux

## Integration Instructions

Qemu 9.0.2 is required for Linux builds to boot into an OS now, it is
unclear exactly what is broken with older versions.

---------

Co-authored-by: Kun Qin <kuqin@microsoft.com>
2024-08-09 19:04:20 +00:00