diff mbox series

[edk2,v3,2/2] ArmVirtPkg: switch to KVM safe IoLib implementation

Message ID 20180611072553.30050-2-ard.biesheuvel@linaro.org
State Accepted
Commit 0b37c75e6944f3d3ded7bef1e10cf4df72386616
Headers show
Series [edk2,v3,1/2] MdePkg/BaseIoLibIntrinsic: make BaseIoLibIntrinsic safe for ArmVirt/KVM | expand

Commit Message

Ard Biesheuvel June 11, 2018, 7:25 a.m. UTC
Switch to the new IoLib implementation that will only use KVM
safe instructions to perform MMIO memory accesses.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>

---
v2: split off from 1/1

 ArmVirtPkg/ArmVirt.dsc.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.17.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Comments

Laszlo Ersek June 11, 2018, 10:44 a.m. UTC | #1
On 06/11/18 09:25, Ard Biesheuvel wrote:
> Switch to the new IoLib implementation that will only use KVM

> safe instructions to perform MMIO memory accesses.

> 

> Contributed-under: TianoCore Contribution Agreement 1.1

> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>

> ---

> v2: split off from 1/1

> 

>  ArmVirtPkg/ArmVirt.dsc.inc | 2 +-

>  1 file changed, 1 insertion(+), 1 deletion(-)

> 

> diff --git a/ArmVirtPkg/ArmVirt.dsc.inc b/ArmVirtPkg/ArmVirt.dsc.inc

> index 766e4f598a07..7464ac70ed1b 100644

> --- a/ArmVirtPkg/ArmVirt.dsc.inc

> +++ b/ArmVirtPkg/ArmVirt.dsc.inc

> @@ -41,7 +41,7 @@ [LibraryClasses.common]

>    PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf

>    PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf

>    PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf

> -  IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf

> +  IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicArmVirt.inf

>    UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf

>    CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf

>  

> 


Reviewed-by: Laszlo Ersek <lersek@redhat.com>

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Ard Biesheuvel June 11, 2018, 4:05 p.m. UTC | #2
On 11 June 2018 at 12:44, Laszlo Ersek <lersek@redhat.com> wrote:
> On 06/11/18 09:25, Ard Biesheuvel wrote:

>> Switch to the new IoLib implementation that will only use KVM

>> safe instructions to perform MMIO memory accesses.

>>

>> Contributed-under: TianoCore Contribution Agreement 1.1

>> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>

>> ---

>> v2: split off from 1/1

>>

>>  ArmVirtPkg/ArmVirt.dsc.inc | 2 +-

>>  1 file changed, 1 insertion(+), 1 deletion(-)

>>

>> diff --git a/ArmVirtPkg/ArmVirt.dsc.inc b/ArmVirtPkg/ArmVirt.dsc.inc

>> index 766e4f598a07..7464ac70ed1b 100644

>> --- a/ArmVirtPkg/ArmVirt.dsc.inc

>> +++ b/ArmVirtPkg/ArmVirt.dsc.inc

>> @@ -41,7 +41,7 @@ [LibraryClasses.common]

>>    PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf

>>    PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf

>>    PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf

>> -  IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf

>> +  IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicArmVirt.inf

>>    UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf

>>    CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf

>>

>>

>

> Reviewed-by: Laszlo Ersek <lersek@redhat.com>


Thanks. Pushed as 0b37c75e6944f3d3ded7bef1e10cf4df72386616
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
diff mbox series

Patch

diff --git a/ArmVirtPkg/ArmVirt.dsc.inc b/ArmVirtPkg/ArmVirt.dsc.inc
index 766e4f598a07..7464ac70ed1b 100644
--- a/ArmVirtPkg/ArmVirt.dsc.inc
+++ b/ArmVirtPkg/ArmVirt.dsc.inc
@@ -41,7 +41,7 @@  [LibraryClasses.common]
   PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
   PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
   PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
-  IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
+  IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicArmVirt.inf
   UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
   CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf