Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3350282imu; Mon, 28 Jan 2019 03:22:37 -0800 (PST) X-Google-Smtp-Source: ALg8bN4bp+WqlUNb6DBi9cryegXK9LpAI6KU02u5K4M0CgsjvWKeHB3cQFcWnxtWWVMyJfef15Ix X-Received: by 2002:a63:8b41:: with SMTP id j62mr19760169pge.182.1548674557032; Mon, 28 Jan 2019 03:22:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548674557; cv=none; d=google.com; s=arc-20160816; b=E1wfwWRlPqWSmaS4tm2hhZNfI9uspwg7siKml16/cIAGspjJpHlB+M5mO0+udxNjbw 3VGYNnvoGdDcVcCzhw8kopDDjJPrYgAWuqglkc0fT7VMGblD1P5uWX822voOE8llULip EhTIkVM14n/YQPsT4s0RAhTdASTMTVMCDSpfLmUBPyUBBS7wFzt+MhYOzk+vUDURQCZA 5xo4mQ0XpThlR4CEHAkF2yC++GCa5iR5j2XDzyAr13sPiX0Tai4123iCYQDKiJsVZjKa uGb6rSX1KlgfqLPgs8jpMSldByVrK18RmY1y7Iinul1EcJwhsckNTBPxya98fiMpyih7 t70Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:organization:user-agent :references:in-reply-to:subject:cc:to:from:message-id:date; bh=VGnVbW2FrxLkmhqIECi9usaNcaVhZfzbE2aLraPP6zo=; b=GrP+JT0vRW0uP1pBp81GnnXKKrCZfOON5yDsvABuCh90CjgdvsZuUQ64i77kasQXJL QmgDo4/iGX0QQKz3cG2r03AdEPUemR/wdDMjgLdoO9iiTv7s54pp30H5fKLAG78RrbUR jnbTmvFh+CzE8D6cojE6JyW1DxbLgL95OkV1+LU0wS6bY7cQV/zbpVIR559JOd/2rVGe 2Xuk+QJfE9wZqqd56IoM1uPHDqu93xbPYdHtGdh/9BMkH39JTSsG6SAVoeS0XsAI+vDq JrkrHkLgNLd4+8vmuultlJQLHPGOnPRnB1k8q/KUlqX8zPz351PrChLX3bIEAq8/ghvY uIbQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cd16si33912384plb.47.2019.01.28.03.22.20; Mon, 28 Jan 2019 03:22:37 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726840AbfA1LVX (ORCPT + 99 others); Mon, 28 Jan 2019 06:21:23 -0500 Received: from foss.arm.com ([217.140.101.70]:43650 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726415AbfA1LVX (ORCPT ); Mon, 28 Jan 2019 06:21:23 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 0B4D7EBD; Mon, 28 Jan 2019 03:21:23 -0800 (PST) Received: from big-swifty.misterjones.org (big-swifty.cambridge.arm.com [10.1.39.122]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 823573F59C; Mon, 28 Jan 2019 03:21:20 -0800 (PST) Date: Mon, 28 Jan 2019 11:21:21 +0000 Message-ID: <861s4xvxhq.wl-marc.zyngier@arm.com> From: Marc Zyngier To: Julien Thierry Cc: , , , , , , , , Subject: Re: [PATCH v9 17/26] arm64: Switch to PMR masking when starting CPUs In-Reply-To: <1548084825-8803-18-git-send-email-julien.thierry@arm.com> References: <1548084825-8803-1-git-send-email-julien.thierry@arm.com> <1548084825-8803-18-git-send-email-julien.thierry@arm.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 EasyPG/1.0.0 Emacs/25.1 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) Organization: ARM Ltd MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 21 Jan 2019 15:33:36 +0000, Julien Thierry wrote: > > Once the boot CPU has been prepared or a new secondary CPU has been > brought up, use ICC_PMR_EL1 to mask interrupts on that CPU and clear > PSR.I bit. > > Since ICC_PMR_EL1 is initialized at CPU bringup, avoid overwriting > it in the GICv3 driver. > > Signed-off-by: Julien Thierry > Suggested-by: Daniel Thompson > Cc: Catalin Marinas > Cc: Will Deacon > Cc: James Morse > Cc: Marc Zyngier Acked-by: Marc Zyngier M. -- Jazz is not dead, it just smell funny.