Message ID | 20200708013446.2600256-12-sjg@chromium.org |
---|---|
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=85.214.62.61; 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=e+ZGn4N9; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (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 4B1hnc2GCfz9sQt for <incoming@patchwork.ozlabs.org>; Wed, 8 Jul 2020 11:40:04 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A40D982183; Wed, 8 Jul 2020 03:38:10 +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="e+ZGn4N9"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5A9A981F75; Wed, 8 Jul 2020 03:37:47 +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-xd42.google.com (mail-io1-xd42.google.com [IPv6:2607:f8b0:4864:20::d42]) (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 8F5A081F3B for <u-boot@lists.denx.de>; Wed, 8 Jul 2020 03:37:40 +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-xd42.google.com with SMTP id a12so45325592ion.13 for <u-boot@lists.denx.de>; Tue, 07 Jul 2020 18:37:40 -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=OkAjoE1vTIFEUrYj2X/j8p55GL210wN49xFXvDvHwmo=; b=e+ZGn4N9qYEKpf2t/1LrKa8Ig8ltnZeu0f8aEAWmM0zT+lMaBW4b7xDYnatVTST2eR 0Dar7VJLSZxkgOj9C0PeMXi+TgcwOgGe3njLJ+5+YYf++RNe8FjNUcy7/MjbdVTMzMnd kQf7DmWiPCTfH6BG1FGl2ow1ZOgxYaZ+oyAM0= 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=OkAjoE1vTIFEUrYj2X/j8p55GL210wN49xFXvDvHwmo=; b=kkqRWq1PSha8iM4cOpLQhkrF2g5ZWm3oaKgiGsRmiMdKTKlC5AD26JodxuYdiwUg69 g+yaCbm96D0C+HUvDlIwyfbsCc5w1khpxbr2OwisN6BuDV4qcl9knP1NKGUdwNLGCBrI tYfegaL5QGg3Tc3L4MRkF7bmqcb9d/yJfgm1vv4R4b7i5nKoe4uQgvxnoTA1YA/ZZIiP rSCFR8wjKZ0BGFSP0sSc1ew3C/ytxcF2TbLElxLj4qVFOObAzti7YwjR5bFxEYwA8MLl /XZILztobrnq1lVMUAjanmcQd+GZB6otJseH6jUWQ5ByIVQ2Y1NpTLN3JXlU3GF0k/x9 QHMg== X-Gm-Message-State: AOAM531DmRUCyGCYBO26ApmdaGGj776icIxnWA5uEwOhuWGIQFmsWaT6 5quyr/yPQg8phmCynZI0DfbsbJSZOAmPYg== X-Google-Smtp-Source: ABdhPJxrafdPYCVX5CqubRxwcMX1nhq/wUQlEwUheD6HckvABj7LT5a0Zt0n84YQ7i5hy7cioyNuJA== X-Received: by 2002:a02:a88a:: with SMTP id l10mr32471461jam.110.1594172259391; Tue, 07 Jul 2020 18:37:39 -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 d6sm12538047ioo.9.2020.07.07.18.37.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jul 2020 18:37:39 -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>, Wolfgang Wallner <wolfgang.wallner@br-automation.com>, Andy Shevchenko <andriy.shevchenko@linux.intel.com>, Simon Glass <sjg@chromium.org> Subject: [PATCH v4 12/25] x86: Set the SMP flag when MP init is complete Date: Tue, 7 Jul 2020 19:34:32 -0600 Message-Id: <20200708013446.2600256-12-sjg@chromium.org> X-Mailer: git-send-email 2.27.0.383.g050319c2ae-goog In-Reply-To: <20200708013446.2600256-1-sjg@chromium.org> References: <20200708013446.2600256-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/mp_init.c b/arch/x86/cpu/mp_init.c index 787de92fa3..69a23829b9 100644 --- a/arch/x86/cpu/mp_init.c +++ b/arch/x86/cpu/mp_init.c @@ -643,6 +643,7 @@ int mp_init(void) debug("CPU init failed: err=%d\n", ret); return ret; } + gd->flags |= GD_FLG_SMP_READY; return 0; }