From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756646AbbLARxK (ORCPT ); Tue, 1 Dec 2015 12:53:10 -0500 Received: from foss.arm.com ([217.140.101.70]:37600 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756606AbbLARxF (ORCPT ); Tue, 1 Dec 2015 12:53:05 -0500 Date: Tue, 1 Dec 2015 17:52:55 +0000 From: Mark Rutland To: "Suzuki K. Poulose" Cc: linux-arm-kernel@lists.infradead.org, marc.zyngier@arm.com, linux-kernel@vger.kernel.org, will.deacon@arm.com, catalin.marinas@arm.com Subject: Re: [PATCH v2 2/6] arm64: Move kill_cpu_early to smp.c Message-ID: <20151201175254.GD29045@leverpostej> References: <1448982731-17182-1-git-send-email-suzuki.poulose@arm.com> <1448982731-17182-3-git-send-email-suzuki.poulose@arm.com> <20151201152826.GA28370@leverpostej> <565DC5DB.7070905@arm.com> <20151201163138.GA29045@leverpostej> <565DDB2E.2010308@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <565DDB2E.2010308@arm.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 01, 2015 at 05:38:54PM +0000, Suzuki K. Poulose wrote: > On 01/12/15 16:31, Mark Rutland wrote: [...] > >We need stuck-in-the-kernel flag to account for CPUs which didn't manage > >to turn the MMU on (which are either in the spin-table, or failed when > >they were individually onlined). > > Did you mean to say "turn the MMU off" ? No, I mean CPUs which were unable to turn the MMU on in the first place. Perhaps they entered the spin-table but were never individually onlined, perhaps they didn't support the kernel page size, etc. When CPUs exit the kernel via PSCI they never switch the MMU off within the kernel. Thanks, Mark.