Evgeny Zinoviev has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/25660 )
Change subject: sb/intel/bd82x6x: Fix flashconsole after lockdown
......................................................................
Patch Set 6:
(2 comments)
I addressed comments to PS4 and rebased the patch on master.
https://review.coreboot.org/#/c/25660/4//COMMIT_MSG
Commit Message:
https://review.coreboot.org/#/c/25660/4//COMMIT_MSG@7
PS4, Line 7: if flashconsole is enabled
> This makes the line too long, should be <= 65 chars (which is […]
Done
https://review.coreboot.org/#/c/25660/4/src/southbridge/intel/bd82x6x/lpc.c
File src/southbridge/intel/bd82x6x/lpc.c:
https://review.coreboot.org/#/c/25660/4/src/southbridge/intel/bd82x6x/lpc.c…
PS4, Line 869: * ramstage, whitelist it here. */
> Sorry for nitpicking, please use one of the comment styles from [1]. […]
Done
--
To view, visit https://review.coreboot.org/c/coreboot/+/25660
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ib802d7ee32f1fb0a68a84b0280480dcaefa9831f
Gerrit-Change-Number: 25660
Gerrit-PatchSet: 6
Gerrit-Owner: Dan Elkouby <streetwalkermc(a)gmail.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Dan Elkouby <streetwalkermc(a)gmail.com>
Gerrit-Reviewer: Evgeny Zinoviev <me(a)ch1p.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Comment-Date: Tue, 07 May 2019 00:38:35 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Nico Huber <nico.h(a)gmx.de>
Gerrit-MessageType: comment
Evgeny Zinoviev has uploaded a new patch set (#6) to the change originally created by Dan Elkouby. ( https://review.coreboot.org/c/coreboot/+/25660 )
Change subject: sb/intel/bd82x6x: Fix flashconsole after lockdown
......................................................................
sb/intel/bd82x6x: Fix flashconsole after lockdown
SMM final locks the SPI BAR, which causes flashconsole to hang.
Re-init it like SMM does with CONFIG_SPI_FLASH_SMM.
Change-Id: Ib802d7ee32f1fb0a68a84b0280480dcaefa9831f
Signed-off-by: Dan Elkouby <streetwalkermc(a)gmail.com>
Signed-off-by: Evgeny Zinoviev <me(a)ch1p.io>
---
M src/southbridge/intel/bd82x6x/lpc.c
1 file changed, 6 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/60/25660/6
--
To view, visit https://review.coreboot.org/c/coreboot/+/25660
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ib802d7ee32f1fb0a68a84b0280480dcaefa9831f
Gerrit-Change-Number: 25660
Gerrit-PatchSet: 6
Gerrit-Owner: Dan Elkouby <streetwalkermc(a)gmail.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Dan Elkouby <streetwalkermc(a)gmail.com>
Gerrit-Reviewer: Evgeny Zinoviev <me(a)ch1p.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-MessageType: newpatchset
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/25660 )
Change subject: sb/intel/bd82x6x: Fix flashconsole after lockdown
......................................................................
Patch Set 5:
(1 comment)
https://review.coreboot.org/#/c/25660/5/src/southbridge/intel/bd82x6x/lpc.c
File src/southbridge/intel/bd82x6x/lpc.c:
https://review.coreboot.org/#/c/25660/5/src/southbridge/intel/bd82x6x/lpc.c…
PS5, Line 914: If other code needs to use SPI during ramstage,
line over 80 characters
--
To view, visit https://review.coreboot.org/c/coreboot/+/25660
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ib802d7ee32f1fb0a68a84b0280480dcaefa9831f
Gerrit-Change-Number: 25660
Gerrit-PatchSet: 5
Gerrit-Owner: Dan Elkouby <streetwalkermc(a)gmail.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Dan Elkouby <streetwalkermc(a)gmail.com>
Gerrit-Reviewer: Evgeny Zinoviev <me(a)ch1p.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Comment-Date: Tue, 07 May 2019 00:35:36 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Evgeny Zinoviev has uploaded a new patch set (#5) to the change originally created by Dan Elkouby. ( https://review.coreboot.org/c/coreboot/+/25660 )
Change subject: sb/intel/bd82x6x: Fix flashconsole after lockdown
......................................................................
sb/intel/bd82x6x: Fix flashconsole after lockdown
SMM final locks the SPI BAR, which causes flashconsole to hang.
Re-init it like SMM does with CONFIG_SPI_FLASH_SMM.
Change-Id: Ib802d7ee32f1fb0a68a84b0280480dcaefa9831f
Signed-off-by: Dan Elkouby <streetwalkermc(a)gmail.com>
Signed-off-by: Evgeny Zinoviev <me(a)ch1p.io>
---
M src/southbridge/intel/bd82x6x/lpc.c
1 file changed, 6 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/60/25660/5
--
To view, visit https://review.coreboot.org/c/coreboot/+/25660
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ib802d7ee32f1fb0a68a84b0280480dcaefa9831f
Gerrit-Change-Number: 25660
Gerrit-PatchSet: 5
Gerrit-Owner: Dan Elkouby <streetwalkermc(a)gmail.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Dan Elkouby <streetwalkermc(a)gmail.com>
Gerrit-Reviewer: Evgeny Zinoviev <me(a)ch1p.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-MessageType: newpatchset
Nico Huber has submitted this change and it was merged. ( https://review.coreboot.org/c/libgfxinit/+/27058 )
Change subject: gfx_test: Use GMA.Read_GTT() instead of own GTT mapping
......................................................................
gfx_test: Use GMA.Read_GTT() instead of own GTT mapping
Change-Id: Iabf26cebc91ccf62711a9a83a68b6ffd2182e3fe
Signed-off-by: Nico Huber <nico.h(a)gmx.de>
Reviewed-on: https://review.coreboot.org/c/libgfxinit/+/27058
Reviewed-by: Arthur Heymans <arthur(a)aheymans.xyz>
---
M gfxtest/hw-gfx-gma-gfx_test.adb
1 file changed, 7 insertions(+), 18 deletions(-)
Approvals:
Nico Huber: Verified
Arthur Heymans: Looks good to me, approved
diff --git a/gfxtest/hw-gfx-gma-gfx_test.adb b/gfxtest/hw-gfx-gma-gfx_test.adb
index 6839dc3..736b93d 100644
--- a/gfxtest/hw-gfx-gma-gfx_test.adb
+++ b/gfxtest/hw-gfx-gma-gfx_test.adb
@@ -28,21 +28,17 @@
package Dev is new PCI.Dev (PCI.Address'(0, 2, 0));
- type GTT_PTE_Type is mod 2 ** (Config.GTT_PTE_Size * 8);
- type GTT_Registers_Type is array (GTT_Range) of GTT_PTE_Type;
- package GTT is new MMIO_Range
- (Base_Addr => 0,
- Element_T => GTT_PTE_Type,
- Index_T => GTT_Range,
- Array_T => GTT_Registers_Type);
-
- GTT_Backup : GTT_Registers_Type;
+ type GTT_Entry is record
+ Addr : GTT_Address_Type;
+ Valid : Boolean;
+ end record;
+ GTT_Backup : array (GTT_Range) of GTT_Entry;
procedure Backup_GTT
is
begin
for Idx in GTT_Range loop
- GTT.Read (GTT_Backup (Idx), Idx);
+ Read_GTT (GTT_Backup (Idx).Addr, GTT_Backup (Idx).Valid, Idx);
end loop;
end Backup_GTT;
@@ -50,7 +46,7 @@
is
begin
for Idx in GTT_Range loop
- GTT.Write (Idx, GTT_Backup (Idx));
+ Write_GTT (Idx, GTT_Backup (Idx).Addr, GTT_Backup (Idx).Valid);
end loop;
end Restore_GTT;
@@ -574,13 +570,6 @@
return;
end if;
- Dev.Map (Res_Addr, PCI.Res0, Offset => Config.GTT_Offset);
- if Res_Addr = 0 then
- Debug.Put_Line ("Failed to map PCI resource0.");
- return;
- end if;
- GTT.Set_Base_Address (Res_Addr);
-
Dev.Map (Res_Addr, PCI.Res2, WC => True);
if Res_Addr = 0 then
Debug.Put_Line ("Failed to map PCI resource2.");
--
To view, visit https://review.coreboot.org/c/libgfxinit/+/27058
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: libgfxinit
Gerrit-Branch: master
Gerrit-Change-Id: Iabf26cebc91ccf62711a9a83a68b6ffd2182e3fe
Gerrit-Change-Number: 27058
Gerrit-PatchSet: 7
Gerrit-Owner: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-MessageType: merged
Nico Huber has submitted this change and it was merged. ( https://review.coreboot.org/c/libgfxinit/+/27056 )
Change subject: gma registers: Separate 32- and 64-bit GTT access
......................................................................
gma registers: Separate 32- and 64-bit GTT access
With Broadwell the GTT layout changed significantly. Before, we had a
2MiB GTT with 32-bit entries. Now, it's a 8MiB GTT with 64-bit entries.
We used to abstract over that with configuration constants but that's
infeasible if we want to support Haswell and Broadwell with a single
binary (boards that support both processors exist).
Therefore, declare both GTT variants and decide based on the CPU which
one to use.
Change-Id: Ib6f21b71c434a9cbdd5cdfa3697da2b2e86750f4
Signed-off-by: Nico Huber <nico.h(a)gmx.de>
Reviewed-on: https://review.coreboot.org/c/libgfxinit/+/27056
Reviewed-by: Arthur Heymans <arthur(a)aheymans.xyz>
---
M common/hw-gfx-gma-config.ads.template
M common/hw-gfx-gma-registers.adb
M common/hw-gfx-gma-registers.ads
M common/hw-gfx-gma.adb
4 files changed, 48 insertions(+), 33 deletions(-)
Approvals:
Nico Huber: Verified
Arthur Heymans: Looks good to me, approved
diff --git a/common/hw-gfx-gma-config.ads.template b/common/hw-gfx-gma-config.ads.template
index c6af93a..e34e89d 100644
--- a/common/hw-gfx-gma-config.ads.template
+++ b/common/hw-gfx-gma-config.ads.template
@@ -133,7 +133,7 @@
Has_Per_Pipe_SRD : constant Boolean := CPU >= Broadwell;
----- GTT: -------------
- Fold_39Bit_GTT_PTE : constant Boolean := CPU <= Haswell;
+ Has_64bit_GTT : constant Boolean := CPU >= Broadwell;
----------------------------------------------------------------------------
@@ -250,19 +250,7 @@
----------------------------------------------------------------------------
- GTT_Offset : constant := (case CPU is
- when G45 .. Haswell => 16#0020_0000#,
- when Broadwell .. Skylake => 16#0080_0000#);
-
- GTT_Size : constant := (case CPU is
- when G45 .. Haswell => 16#0020_0000#,
- -- Limit Broadwell to 4MiB to have a stable
- -- interface (i.e. same number of entries):
- when Broadwell .. Skylake => 16#0040_0000#);
-
- GTT_PTE_Size : constant := (case CPU is
- when G45 .. Haswell => 4,
- when Broadwell .. Skylake => 8);
+ GTT_PTE_Size : constant := (if Has_64bit_GTT then 8 else 4);
Fence_Base : constant := (case CPU is
when G45 .. Ironlake => 16#0000_3000#,
diff --git a/common/hw-gfx-gma-registers.adb b/common/hw-gfx-gma-registers.adb
index d7e02d9..9b14a3b 100644
--- a/common/hw-gfx-gma-registers.adb
+++ b/common/hw-gfx-gma-registers.adb
@@ -26,9 +26,10 @@
package body HW.GFX.GMA.Registers
with
Refined_State =>
- (Address_State => (Regs.Base_Address, GTT.Base_Address),
+ (Address_State =>
+ (Regs.Base_Address, GTT_32.Base_Address, GTT_64.Base_Address),
Register_State => Regs.State,
- GTT_State => GTT.State)
+ GTT_State => (GTT_32.State, GTT_64.State))
is
pragma Disable_Atomic_Synchronization;
@@ -46,16 +47,27 @@
----------------------------------------------------------------------------
- type GTT_PTE_Type is mod 2 ** (Config.GTT_PTE_Size * 8);
- type GTT_Registers_Type is array (GTT_Range) of GTT_PTE_Type
+ type GTT_PTE_32 is mod 2 ** 32;
+ type GTT_Registers_32 is array (GTT_Range) of GTT_PTE_32
with
Volatile_Components,
- Size => Config.GTT_Size * 8;
- package GTT is new MMIO_Range
- (Base_Addr => Config.Default_MMIO_Base + Config.GTT_Offset,
- Element_T => GTT_PTE_Type,
+ Size => MMIO_GTT_32_Size * 8;
+ package GTT_32 is new MMIO_Range
+ (Base_Addr => Config.Default_MMIO_Base + MMIO_GTT_32_Offset,
+ Element_T => GTT_PTE_32,
Index_T => GTT_Range,
- Array_T => GTT_Registers_Type);
+ Array_T => GTT_Registers_32);
+
+ type GTT_PTE_64 is mod 2 ** 64;
+ type GTT_Registers_64 is array (GTT_Range) of GTT_PTE_64
+ with
+ Volatile_Components,
+ Size => MMIO_GTT_64_Size * 8;
+ package GTT_64 is new MMIO_Range
+ (Base_Addr => Config.Default_MMIO_Base + MMIO_GTT_64_Offset,
+ Element_T => GTT_PTE_64,
+ Index_T => GTT_Range,
+ Array_T => GTT_Registers_64);
GTT_PTE_Valid : constant Word32 := 1;
@@ -147,17 +159,17 @@
Valid : Boolean)
is
begin
- if Config.Fold_39Bit_GTT_PTE then
- GTT.Write
+ if not Config.Has_64bit_GTT then
+ GTT_32.Write
(Index => GTT_Page,
- Value => GTT_PTE_Type (Device_Address and 16#ffff_f000#) or
- GTT_PTE_Type (Shift_Right (Word64 (Device_Address), 32 - 4)
+ Value => GTT_PTE_32 (Device_Address and 16#ffff_f000#) or
+ GTT_PTE_32 (Shift_Right (Word64 (Device_Address), 32 - 4)
and 16#0000_07f0#) or
Boolean'Pos (Valid));
else
- GTT.Write
+ GTT_64.Write
(Index => GTT_Page,
- Value => GTT_PTE_Type (Device_Address and 16#7f_ffff_f000#) or
+ Value => GTT_PTE_64 (Device_Address and 16#7f_ffff_f000#) or
Boolean'Pos (Valid));
end if;
end Write_GTT;
@@ -375,9 +387,11 @@
begin
Regs.Set_Base_Address (Base);
if GTT_Base = 0 then
- GTT.Set_Base_Address (Base + Config.GTT_Offset);
+ GTT_32.Set_Base_Address (Base + MMIO_GTT_32_Offset);
+ GTT_64.Set_Base_Address (Base + MMIO_GTT_64_Offset);
else
- GTT.Set_Base_Address (GTT_Base);
+ GTT_32.Set_Base_Address (GTT_Base);
+ GTT_64.Set_Base_Address (GTT_Base);
end if;
end Set_Register_Base;
diff --git a/common/hw-gfx-gma-registers.ads b/common/hw-gfx-gma-registers.ads
index 1220d1a..99efba9 100644
--- a/common/hw-gfx-gma-registers.ads
+++ b/common/hw-gfx-gma-registers.ads
@@ -23,6 +23,15 @@
(GTT_State with External, Part_Of => GMA.Device_State)),
Initializes => Address_State
is
+
+ MMIO_GTT_32_Size : constant := 16#20_0000#;
+ MMIO_GTT_32_Offset : constant := 16#20_0000#;
+
+ -- Limit Broadwell+ to 4MiB to have a stable
+ -- interface (i.e. same number of entries):
+ MMIO_GTT_64_Size : constant := 16#40_0000#;
+ MMIO_GTT_64_Offset : constant := 16#80_0000#;
+
type Registers_Invalid_Index is
(Invalid_Register, -- Allow a placeholder when access is not acceptable
diff --git a/common/hw-gfx-gma.adb b/common/hw-gfx-gma.adb
index b3d9362..baa7e6c 100644
--- a/common/hw-gfx-gma.adb
+++ b/common/hw-gfx-gma.adb
@@ -386,6 +386,10 @@
is
use type HW.Word64;
+ function MMIO_GTT_Offset return Natural is
+ (if Config.Has_64bit_GTT
+ then Registers.MMIO_GTT_64_Offset
+ else Registers.MMIO_GTT_32_Offset);
PCI_MMIO_Base, PCI_GTT_Base : Word64;
Now : constant Time.T := Time.Now;
@@ -447,8 +451,8 @@
Dev.Initialize (Success);
if Success then
- Dev.Map (PCI_MMIO_Base, PCI.Res0, Length => Config.GTT_Offset);
- Dev.Map (PCI_GTT_Base, PCI.Res0, Offset => Config.GTT_Offset);
+ Dev.Map (PCI_MMIO_Base, PCI.Res0, Length => MMIO_GTT_Offset);
+ Dev.Map (PCI_GTT_Base, PCI.Res0, Offset => MMIO_GTT_Offset);
if PCI_MMIO_Base /= 0 and PCI_GTT_Base /= 0 then
Registers.Set_Register_Base (PCI_MMIO_Base, PCI_GTT_Base);
else
--
To view, visit https://review.coreboot.org/c/libgfxinit/+/27056
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: libgfxinit
Gerrit-Branch: master
Gerrit-Change-Id: Ib6f21b71c434a9cbdd5cdfa3697da2b2e86750f4
Gerrit-Change-Number: 27056
Gerrit-PatchSet: 6
Gerrit-Owner: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-MessageType: merged
Nico Huber has submitted this change and it was merged. ( https://review.coreboot.org/c/libgfxinit/+/27055 )
Change subject: gma registers: Draw usage of Config.Fence_Count into the code
......................................................................
gma registers: Draw usage of Config.Fence_Count into the code
In case `Config.Fence_Count` is not a constant, we can't use it to
declare `Fence_Range`. Instead, limit the range throughout the code.
Change-Id: I2ab37f4cd9e6b4d37353ae4fd11d7e5a686d166f
Signed-off-by: Nico Huber <nico.h(a)gmx.de>
Reviewed-on: https://review.coreboot.org/c/libgfxinit/+/27055
Reviewed-by: Arthur Heymans <arthur(a)aheymans.xyz>
---
M common/hw-gfx-gma-registers.adb
1 file changed, 5 insertions(+), 5 deletions(-)
Approvals:
Nico Huber: Verified
Arthur Heymans: Looks good to me, approved
diff --git a/common/hw-gfx-gma-registers.adb b/common/hw-gfx-gma-registers.adb
index 94965d5..d7e02d9 100644
--- a/common/hw-gfx-gma-registers.adb
+++ b/common/hw-gfx-gma-registers.adb
@@ -61,7 +61,7 @@
----------------------------------------------------------------------------
- subtype Fence_Range is Registers_Range range 0 .. Config.Fence_Count - 1;
+ subtype Fence_Range is Natural range 0 .. 31;
FENCE_PAGE_SHIFT : constant := 12;
FENCE_PAGE_MASK : constant := 16#ffff_f000#;
@@ -69,14 +69,14 @@
FENCE_VALID : constant := 1 * 2 ** 0;
function Fence_Lower_Idx (Fence : Fence_Range) return Registers_Range is
- (Config.Fence_Base / Register_Width + 2 * Fence);
+ (Registers_Range (Config.Fence_Base / Register_Width + 2 * Fence));
function Fence_Upper_Idx (Fence : Fence_Range) return Registers_Range is
(Fence_Lower_Idx (Fence) + 1);
procedure Clear_Fences
is
begin
- for Fence in Fence_Range loop
+ for Fence in Fence_Range range 0 .. Config.Fence_Count - 1 loop
Regs.Write (Fence_Lower_Idx (Fence), 0);
end loop;
end Clear_Fences;
@@ -101,7 +101,7 @@
pragma Debug (Debug.Put_Line (" tiles per row."));
Success := False;
- for Fence in Fence_Range loop
+ for Fence in Fence_Range range 0 .. Config.Fence_Count - 1 loop
Regs.Read (Reg32, Fence_Lower_Idx (Fence));
if (Reg32 and FENCE_VALID) = 0 then
Regs.Write
@@ -127,7 +127,7 @@
Shift_Left (Word32 (Last_Page), FENCE_PAGE_SHIFT);
Fence_Upper, Fence_Lower : Word32;
begin
- for Fence in Fence_Range loop
+ for Fence in Fence_Range range 0 .. Config.Fence_Count - 1 loop
Regs.Read (Fence_Lower, Fence_Lower_Idx (Fence));
Regs.Read (Fence_Upper, Fence_Upper_Idx (Fence));
if (Fence_Lower and FENCE_PAGE_MASK) = Page_Lower and
--
To view, visit https://review.coreboot.org/c/libgfxinit/+/27055
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: libgfxinit
Gerrit-Branch: master
Gerrit-Change-Id: I2ab37f4cd9e6b4d37353ae4fd11d7e5a686d166f
Gerrit-Change-Number: 27055
Gerrit-PatchSet: 8
Gerrit-Owner: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-MessageType: merged