From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bin Meng Date: Mon, 13 Jul 2020 12:58:22 +0800 Subject: [PATCH v4 19/25] x86: mtrr: Update MTRRs on all CPUs In-Reply-To: <20200708013446.2600256-17-sjg@chromium.org> References: <20200708013446.2600256-1-sjg@chromium.org> <20200708013446.2600256-17-sjg@chromium.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Jul 8, 2020 at 9:37 AM Simon Glass wrote: > > When the boot CPU MTRRs are updated, perform the same update on all other > CPUs so they are kept in sync. > > This avoids kernel warnings about mismatched MTRRs. > > Signed-off-by: Simon Glass > Reviewed-by: Wolfgang Wallner > --- > > (no changes since v2) > > Changes in v2: > - Rename function to mtrr_write_all() > > arch/x86/cpu/mtrr.c | 57 +++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 57 insertions(+) > Reviewed-by: Bin Meng