Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1447950
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Catalin Marinas <catalin.marinas@arm.com> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] arm64: Fix incorrect per-cpu usage for boot CPU |
| Date | Thu, 21 Jul 2016 17:10:01 +0200 |
| Message-ID | <rXnLP-DS-3@gated-at.bofh.it> (permalink) |
| References | <rXjfb-67q-11@gated-at.bofh.it> |
| X-Original-To | Suzuki K Poulose <suzuki.poulose@arm.com> |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Disposition | inline |
| User-Agent | Mutt/1.5.23 (2014-03-12) |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 21 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | mark.rutland@arm.com, will.deacon@arm.com, linux-kernel@vger.kernel.org, stable@vger.kernel.org, linux-arm-kernel@lists.infradead.org |
| X-Original-Date | Thu, 21 Jul 2016 16:02:20 +0100 |
| X-Original-Message-ID | <20160721150219.GD16666@e104818-lin.cambridge.arm.com> |
| X-Original-References | <1469095975-976-1-git-send-email-suzuki.poulose@arm.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1447950 |
Show key headers only | View raw
On Thu, Jul 21, 2016 at 11:12:55AM +0100, Suzuki K. Poulose wrote:
> In smp_prepare_boot_cpu(), we invoke cpuinfo_store_boot_cpu to store
> the cpuinfo in a per-cpu ptr, before initialising the per-cpu offset for
> the boot CPU. This patch reorders the sequence to make sure we initialise
> the per-cpu offset before accessing the per-cpu area.
>
> Commit 4b998ff1885eec ("arm64: Delay cpuinfo_store_boot_cpu") fixed the
> issue where we modified the per-cpu area even before the kernel initialises
> the per-cpu areas, but failed to wait until the boot cpu updated it's
> offset.
>
> Fixes: commit 4b998ff1885eec ("arm64: Delay cpuinfo_store_boot_cpu")
> Cc: <stable@vger.kernel.org>
> Cc: Will Deacon <will.deacon@arm.com>
> Cc: Catalin Marinas <catalin.marinas@arm.com>
> Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Applied. Thanks.
--
Catalin
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] arm64: Fix incorrect per-cpu usage for boot CPU Suzuki K Poulose <suzuki.poulose@arm.com> - 2016-07-21 12:20 +0200 Re: [PATCH] arm64: Fix incorrect per-cpu usage for boot CPU Mark Rutland <mark.rutland@arm.com> - 2016-07-21 12:40 +0200 Re: [PATCH] arm64: Fix incorrect per-cpu usage for boot CPU Catalin Marinas <catalin.marinas@arm.com> - 2016-07-21 17:10 +0200
csiph-web