|
Re: post-ExitBootServices memory protection of RT_Data (ARM)
<sigmaepsilon92@...> wrote:
No, the kernel is entered with the MMU and caches off. The LinuxLoader
is a poorly maintained hack, and it is badly broken on AARCH64. On
ARM, however, it should
<sigmaepsilon92@...> wrote:
No, the kernel is entered with the MMU and caches off. The LinuxLoader
is a poorly maintained hack, and it is badly broken on AARCH64. On
ARM, however, it should
|
By
Ard Biesheuvel
·
#1418
·
|
|
Re: post-ExitBootServices memory protection of RT_Data (ARM)
If I understand this correctly this is just some MMU feature, right?
I'm talking about a pure ARM(with atag's) linux kernel which is not UEFI
aware.
Also the LinuxLoader disables almost
If I understand this correctly this is just some MMU feature, right?
I'm talking about a pure ARM(with atag's) linux kernel which is not UEFI
aware.
Also the LinuxLoader disables almost
|
By
Michael Zimmermann
·
#1417
·
|
|
Re: post-ExitBootServices memory protection of RT_Data (ARM)
You most likely don't have execution rights for those pages.
Refer to
4.6 EFI Configuration Table & Properties Table
EFI_MEMORY_ATTRIBUTES_TABLE
in the UEFI 2.6 spec.
See also git commit range
You most likely don't have execution rights for those pages.
Refer to
4.6 EFI Configuration Table & Properties Table
EFI_MEMORY_ATTRIBUTES_TABLE
in the UEFI 2.6 spec.
See also git commit range
|
By
Laszlo Ersek
·
#1416
·
|
|
Re: [PATCH 1/3] MdePkg/Misc: Move ARM* BaseMemoryLibStm to MdePkg
Thanks everyone!
Laszlo
By
Laszlo Ersek
·
#1415
·
|
|
Re: [PATCH v3 0/6] ArmVirtQemu: move to generic PciHostBridgeDxe
I compared each v3 patch against its v2 counterpart, including the
commit messages. The changes look right.
Also, I tested the series, with special regard to the USB 2 keyboard in
the firmware, and
I compared each v3 patch against its v2 counterpart, including the
commit messages. The changes look right.
Also, I tested the series, with special regard to the USB 2 keyboard in
the firmware, and
|
By
Laszlo Ersek
·
#1414
·
|
|
Re: [PATCH 1/3] MdePkg/Misc: Move ARM* BaseMemoryLibStm to MdePkg
Allright - now pushed.
Mike, Andrew, apologies for the noise, and thank you for very quick
feedback.
/
Leif
Allright - now pushed.
Mike, Andrew, apologies for the noise, and thank you for very quick
feedback.
/
Leif
|
By
Leif Lindholm <leif.lindholm@...>
·
#1413
·
|
|
Re: [PATCH 1/3] MdePkg/Misc: Move ARM* BaseMemoryLibStm to MdePkg
Yes, please. On Monday, I will look into adding Arm support to the optdxe flavor, and once that is in, we can move all platforms over and deprecate/remove the stm version.
Yes, please. On Monday, I will look into adding Arm support to the optdxe flavor, and once that is in, we can move all platforms over and deprecate/remove the stm version.
|
By
Ard Biesheuvel
·
#1412
·
|
|
Re: [PATCH 1/3] MdePkg/Misc: Move ARM* BaseMemoryLibStm to MdePkg
Mainly because we don't _know_ that it will be resolved next week and
I'm currently having some trust issues regarding these libraries.
If that's what it takes to get consensus, sure, I'll go along
Mainly because we don't _know_ that it will be resolved next week and
I'm currently having some trust issues regarding these libraries.
If that's what it takes to get consensus, sure, I'll go along
|
By
Leif Lindholm <leif.lindholm@...>
·
#1411
·
|
|
[PATCH v3 6/6] ArmVirtPkg: remove now unused PciHostBridgeDxe
This code is now no longer used, so remove it.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@...>
Reviewed-by: Laszlo Ersek
This code is now no longer used, so remove it.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@...>
Reviewed-by: Laszlo Ersek
|
By
Ard Biesheuvel
·
#1410
·
|
|
[PATCH v3 5/6] ArmVirtPkg/FdtPciHostBridgeLib: add MMIO64 support
If the pci-host-ecam-generic DT node describes a 64-bit MMIO region,
account for it in the PCI_ROOT_BRIDGE description that we return to
the generic PciHostBridgeDxe implementation, which will be able
If the pci-host-ecam-generic DT node describes a 64-bit MMIO region,
account for it in the PCI_ROOT_BRIDGE description that we return to
the generic PciHostBridgeDxe implementation, which will be able
|
By
Ard Biesheuvel
·
#1409
·
|
|
[PATCH v3 4/6] ArmVirtPkg/ArmVirtQemu: switch to generic PciHostBridgeDxe
Wire up the FdtPciHostBridgeLib introduced in the previous patch
to the generic PciHostBridgeDxe implementation, and drop the special
ArmVirtPkg version. The former's dependency on
Wire up the FdtPciHostBridgeLib introduced in the previous patch
to the generic PciHostBridgeDxe implementation, and drop the special
ArmVirtPkg version. The former's dependency on
|
By
Ard Biesheuvel
·
#1408
·
|
|
[PATCH v3 3/6] ArmVirtPkg: implement FdtPciHostBridgeLib
Implement PciHostBridgeLib for DT platforms that expose a PCI root bridge
via a pci-host-ecam-generic DT node. The DT parsing logic is copied from
the PciHostBridgeDxe implementation in ArmVirtPkg,
Implement PciHostBridgeLib for DT platforms that expose a PCI root bridge
via a pci-host-ecam-generic DT node. The DT parsing logic is copied from
the PciHostBridgeDxe implementation in ArmVirtPkg,
|
By
Ard Biesheuvel
·
#1407
·
|
|
[PATCH v3 2/6] ArmVirtPkg/FdtPciPcdProducerLib: add handling of PcdPciIoTranslation
Add handling of the PcdPciIoTranslation PCD, so that modules that include
this library via NULL resolution are guaranteed that it will be set before
they reference it.
Contributed-under: TianoCore
Add handling of the PcdPciIoTranslation PCD, so that modules that include
this library via NULL resolution are guaranteed that it will be set before
they reference it.
Contributed-under: TianoCore
|
By
Ard Biesheuvel
·
#1406
·
|
|
[PATCH v3 1/6] ArmVirtPkg/PciHostBridgeDxe: don't set linux, pci-probe-only DT property
Setting the linux,pci-probe-only was intended to align OSes booting via
DT with OSes booting via ACPI in the way they honor the PCI configuration
performed by the firmware. However, ACPI on arm64 does
Setting the linux,pci-probe-only was intended to align OSes booting via
DT with OSes booting via ACPI in the way they honor the PCI configuration
performed by the firmware. However, ACPI on arm64 does
|
By
Ard Biesheuvel
·
#1405
·
|
|
[PATCH v3 0/6] ArmVirtQemu: move to generic PciHostBridgeDxe
Now that Laszlo's virtio-gpu-pci series has removed the last remaining obstacle,
we can get rid of the special PciHostBridgeDxe implementation in ArmVirtPkg,
and move to the generic one. On AArch64,
Now that Laszlo's virtio-gpu-pci series has removed the last remaining obstacle,
we can get rid of the special PciHostBridgeDxe implementation in ArmVirtPkg,
and move to the generic one. On AArch64,
|
By
Ard Biesheuvel
·
#1404
·
|
|
Re: [PATCH 1/3] MdePkg/Misc: Move ARM* BaseMemoryLibStm to MdePkg
I agree that fixing the branch now would be nice. I just don't
understand why fixing BaseMemoryLibStm in place is not a better
solution, especially if we are nuking it anyway next week. That way,
we
I agree that fixing the branch now would be nice. I just don't
understand why fixing BaseMemoryLibStm in place is not a better
solution, especially if we are nuking it anyway next week. That way,
we
|
By
Ard Biesheuvel
·
#1403
·
|
|
Re: BootableImageSupportTest\StorageSecurityCommandProtocolTest
Hi Feng,
Some Nvme devices returns EFI_DEVICE_ERROR for the SCT test code ( when the buffer passed with 10 bytes) and that creates failure in the SCT report.
Some Nvme devices returns EFI_SUCCESS
Hi Feng,
Some Nvme devices returns EFI_DEVICE_ERROR for the SCT test code ( when the buffer passed with 10 bytes) and that creates failure in the SCT report.
Some Nvme devices returns EFI_SUCCESS
|
By
Ramesh R. <rameshr@...>
·
#1402
·
|
|
Re: [PATCH 1/3] MdePkg/Misc: Move ARM* BaseMemoryLibStm to MdePkg
OK, but that's still yet another change.
I don't share that concern. I am entirely serious about nuking it next
week if we come to an agreement on a better solution.
And I'm happy to take on the
OK, but that's still yet another change.
I don't share that concern. I am entirely serious about nuking it next
week if we come to an agreement on a better solution.
And I'm happy to take on the
|
By
Leif Lindholm <leif.lindholm@...>
·
#1401
·
|
|
Re: [PATCH v2 0/6] ArmVirtQemu: move to generic PciHostBridgeDxe
Before trying it, I'll say that I don't like it, for two reasons :)
(1) This will affect AllocateBuffer(), yes, but it doesn't affect Map()
and Unmap(). In fact I don't understand how the spec allows
Before trying it, I'll say that I don't like it, for two reasons :)
(1) This will affect AllocateBuffer(), yes, but it doesn't affect Map()
and Unmap(). In fact I don't understand how the spec allows
|
By
Laszlo Ersek
·
#1400
·
|
|
Re: [PATCH v2 0/6] ArmVirtQemu: move to generic PciHostBridgeDxe
Thanks. You seem to have a good handle on things already, though :-)
Actually, I suspect this is a bug in PciHostBridgeDxe. It ignores the
absence of the EFI_PCI_ATTRIBUTE_DUAL_ADDRESS_CYCLE
Thanks. You seem to have a good handle on things already, though :-)
Actually, I suspect this is a bug in PciHostBridgeDxe. It ignores the
absence of the EFI_PCI_ATTRIBUTE_DUAL_ADDRESS_CYCLE
|
By
Ard Biesheuvel
·
#1399
·
|