Message ID | 20200705213732.v3.17.I9cd33fea6b1875fc7606864fb74ae8d92fb46d7b@changeid |
---|---|
State | Superseded |
Delegated to: | Bin Meng |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=ZZhR4WSQ; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4B0WZl4Vvxz9sDX for <incoming@patchwork.ozlabs.org>; Mon, 6 Jul 2020 13:41:35 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4BA2C8217C; Mon, 6 Jul 2020 05:38:19 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="ZZhR4WSQ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 277D881C19; Mon, 6 Jul 2020 05:38:06 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-io1-xd41.google.com (mail-io1-xd41.google.com [IPv6:2607:f8b0:4864:20::d41]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 2390F81C19 for <u-boot@lists.denx.de>; Mon, 6 Jul 2020 05:38:02 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-io1-xd41.google.com with SMTP id q8so37876611iow.7 for <u-boot@lists.denx.de>; Sun, 05 Jul 2020 20:38:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Cq7XDw/BZvUp/2+Zxo/Rat7ibxesi1j9HYrSDGKciTA=; b=ZZhR4WSQ5aAuRBZHKEEFnYMNPXoD4A1Tq6aTTIidpZeasQD2BflM94jyLzc8Tnsi6o 8UJcfHbrUAYy8H2Le666LB8CI9wC6m/Dfic/yyuOoPauF4N89ifoQTvYlPUg95pDu99e U6BzFQIJoPo1j3x6+H4nFfl6B6hkzgtKO8G/A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Cq7XDw/BZvUp/2+Zxo/Rat7ibxesi1j9HYrSDGKciTA=; b=XAnwqGo11c7g+WuLy70wgDWP6LHt9urTO/x4/tAP1lZz+AjvnKgELFfozGxWSZPsqP FNApmzLxsuUmLpUFAKZ2eetvCRwjc7j6KliSmzniFlXGzULf7ZEyy+1CroJNJhvAsGIb EF3t0xWLcmE0yMePiwtZ8VPRzTvHFYwBdwklj8GrvqIg8tcq4Wo2lz5m5mOntORHRCoE bWpIjkk5wRxOB3Qw5RQsXj0jIqTBX27s3dtRtIRfKIA8uknK5ZNxSbL4OqqapUy5x7xQ twZj3qVdkSLOFOGftWpJM18J6f/Gzq3sm7KFBdBDmXXwKyoI74JdKQ1ZdlEGslaWbzM1 YTmg== X-Gm-Message-State: AOAM533vvDWiP77FTmhBf58vNO57erc3OhmYcx21cwrW3IonMes4Kax2 GODcSULsKXyzbLwDXzR46Qez8nR9RqLtBQ== X-Google-Smtp-Source: ABdhPJypcMRYDrfo+3+c1FRM5rEgdkb23qRp5JPNye/cvxbGIBD2CS8ECo8GOZ4sp66D7Hfoht8W0w== X-Received: by 2002:a5e:9708:: with SMTP id w8mr23243404ioj.16.1594006680982; Sun, 05 Jul 2020 20:38:00 -0700 (PDT) Received: from localhost.localdomain (c-73-14-175-90.hsd1.co.comcast.net. [73.14.175.90]) by smtp.gmail.com with ESMTPSA id v16sm10163631iow.19.2020.07.05.20.38.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jul 2020 20:38:00 -0700 (PDT) From: Simon Glass <sjg@chromium.org> To: U-Boot Mailing List <u-boot@lists.denx.de> Cc: Bin Meng <bmeng.cn@gmail.com>, Andy Shevchenko <andriy.shevchenko@linux.intel.com>, Wolfgang Wallner <wolfgang.wallner@br-automation.com>, Simon Glass <sjg@chromium.org> Subject: [PATCH v3 17/25] x86: Don't enable SMP in SPL Date: Sun, 5 Jul 2020 21:37:33 -0600 Message-Id: <20200705213732.v3.17.I9cd33fea6b1875fc7606864fb74ae8d92fb46d7b@changeid> X-Mailer: git-send-email 2.27.0.212.ge8ba1cc988-goog In-Reply-To: <20200706033741.2169374-1-sjg@chromium.org> References: <20200706033741.2169374-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean |
Series |
x86: Enhance MTRR functionality to support multiple CPUs
|
expand
|
diff --git a/arch/x86/cpu/Makefile b/arch/x86/cpu/Makefile index ee0499f5d7..16e67e3da2 100644 --- a/arch/x86/cpu/Makefile +++ b/arch/x86/cpu/Makefile @@ -60,7 +60,7 @@ ifndef CONFIG_SYS_COREBOOT obj-$(CONFIG_$(SPL_TPL_)X86_32BIT_INIT) += irq.o endif ifndef CONFIG_$(SPL_)X86_64 -obj-$(CONFIG_SMP) += mp_init.o +obj-$(CONFIG_$(SPL_)SMP) += mp_init.o endif obj-y += mtrr.o obj-$(CONFIG_PCI) += pci.o diff --git a/arch/x86/include/asm/mp.h b/arch/x86/include/asm/mp.h index cec790b32b..6c7f1ebe3f 100644 --- a/arch/x86/include/asm/mp.h +++ b/arch/x86/include/asm/mp.h @@ -93,7 +93,7 @@ int x86_mp_init(void); */ typedef void (*mp_run_func)(void *arg); -#if defined(CONFIG_SMP) && !CONFIG_IS_ENABLED(X86_64) +#if CONFIG_IS_ENABLED(SMP) && !CONFIG_IS_ENABLED(X86_64) /** * mp_run_on_cpus() - Run a function on one or all CPUs *