[edk2,edk2-platforms,v2,3/4] Platform/OverdriveBoard: fix CPU affinity for vGIC maintenace interrupt

Message ID 20170831130830.12833-4-ard.biesheuvel@linaro.org
State New
Headers show
Series
  • Platform/OverdriveBoard: move device tree compilation into build
Related show

Commit Message

Ard Biesheuvel Aug. 31, 2017, 1:08 p.m.
The CPU affinity for the vGIC maintenance interrupt was set to
CPUs #0 .. #3 for no good reason. So set it to all CPUs instead.

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

---
 Platform/AMD/OverdriveBoard/OverdriveBoardDeviceTree/OverdriveBoardDeviceTree.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.11.0

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

Comments

Leif Lindholm Sept. 1, 2017, 11:13 a.m. | #1
On Thu, Aug 31, 2017 at 02:08:29PM +0100, Ard Biesheuvel wrote:
> The CPU affinity for the vGIC maintenance interrupt was set to

> CPUs #0 .. #3 for no good reason. So set it to all CPUs instead.

> 

> Contributed-under: TianoCore Contribution Agreement 1.1

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


Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>


> ---

>  Platform/AMD/OverdriveBoard/OverdriveBoardDeviceTree/OverdriveBoardDeviceTree.dts | 2 +-

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

> 

> diff --git a/Platform/AMD/OverdriveBoard/OverdriveBoardDeviceTree/OverdriveBoardDeviceTree.dts b/Platform/AMD/OverdriveBoard/OverdriveBoardDeviceTree/OverdriveBoardDeviceTree.dts

> index 81477fe43cdd..e57e702029ba 100644

> --- a/Platform/AMD/OverdriveBoard/OverdriveBoardDeviceTree/OverdriveBoardDeviceTree.dts

> +++ b/Platform/AMD/OverdriveBoard/OverdriveBoardDeviceTree/OverdriveBoardDeviceTree.dts

> @@ -45,7 +45,7 @@

>            <0x0 0xe112f000 0x0 0x2000>,

>            <0x0 0xe1140000 0x0 0x2000>,

>            <0x0 0xe1160000 0x0 0x2000>;

> -    interrupts = <GIC_PPI 0x9 (IRQ_TYPE_LEVEL_HIGH | GIC_CPU_MASK(4))>;

> +    interrupts = <GIC_PPI 0x9 (IRQ_TYPE_LEVEL_HIGH | GIC_CPU_MASK(8))>;

>      ranges = <0x0 0x0 0x0 0xe1100000 0x0 0x100000>;

>  

>      msi: v2m@e0080000 {

> -- 

> 2.11.0

> 

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

Patch

diff --git a/Platform/AMD/OverdriveBoard/OverdriveBoardDeviceTree/OverdriveBoardDeviceTree.dts b/Platform/AMD/OverdriveBoard/OverdriveBoardDeviceTree/OverdriveBoardDeviceTree.dts
index 81477fe43cdd..e57e702029ba 100644
--- a/Platform/AMD/OverdriveBoard/OverdriveBoardDeviceTree/OverdriveBoardDeviceTree.dts
+++ b/Platform/AMD/OverdriveBoard/OverdriveBoardDeviceTree/OverdriveBoardDeviceTree.dts
@@ -45,7 +45,7 @@ 
           <0x0 0xe112f000 0x0 0x2000>,
           <0x0 0xe1140000 0x0 0x2000>,
           <0x0 0xe1160000 0x0 0x2000>;
-    interrupts = <GIC_PPI 0x9 (IRQ_TYPE_LEVEL_HIGH | GIC_CPU_MASK(4))>;
+    interrupts = <GIC_PPI 0x9 (IRQ_TYPE_LEVEL_HIGH | GIC_CPU_MASK(8))>;
     ranges = <0x0 0x0 0x0 0xe1100000 0x0 0x100000>;
 
     msi: v2m@e0080000 {