Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1754258ybg; Sat, 19 Oct 2019 01:48:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqxP1d9gXeq7tk/5pM4cvDWpd3manGeZk3vFcMMjs4GoDvGFLNt/tP+w4YH8c1lHIZpn4Qaq X-Received: by 2002:a17:907:4182:: with SMTP id mz2mr12316801ejb.326.1571474893150; Sat, 19 Oct 2019 01:48:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571474893; cv=none; d=google.com; s=arc-20160816; b=YsESIgOB0PjGalr/hzzAshkBqp5Cv5s1Ub1eDsRtGblWvzMQSoesYMKQg1/Gi615d0 I23+XQQQ9gThUI0IfpJLm9VcNhukWFwJX9eEWkdF96wv3NhL4hUwHA6KY8IvdCaRhM6R TveNl31OWDlE1d4j66A3X7+wmorapRGo035vSEykfH/NHpcDvatYcCpoNsSR8HT4vm+k Fy4dIE4NT7fCKS11Djhtx6SLPkHxztY2lF+34f97AdShCHZA21iwQ21MhKovn3DfYQtO 90Xf5wy8TWrcNLOQ1eto/nAFPe3JWH+GzLfLEAZPw9/astUBH78xDjy0hI0CiFczdfx7 sEzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:subject:cc:to:from:message-id:date; bh=4NEonzUHBMTS0WyMLQ+kPQpdwArUkUfCEBLGomrBZ8s=; b=H+L7HxYj1R9ROcFaZ1lpQTIcJGO2QKg5FqEwG+Q00OFh6tl30ozqZ+tK1DiRA0uYxu o2D3x3Od1X/8lAqN52opg3Arhi889iNR7jTnsFeeXpRM+HLYrJRQhhZhkk5KIPZ0Idnz TK4DAqA44XJaLNrCGSwwYCOnd4/wCBOtZOBHF4gCRG/7oaRU7yg+z5gL2T+ELsorv9+j 0kty/yasaP86AIChEFJdMLqRtPwnOMGK/8UTz8Gld4PSxfolc1n13ji1/W3jQhvHAD9T lmUyj5x+B/0BYpnwlMNPeV2i958U3hQ/bj4SpLwpH4/OYnYkNq3spV83t9CuI+l93qy9 J0QA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x29si5252124eda.297.2019.10.19.01.47.50; Sat, 19 Oct 2019 01:48:13 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405114AbfJRQkk (ORCPT + 99 others); Fri, 18 Oct 2019 12:40:40 -0400 Received: from inca-roads.misterjones.org ([213.251.177.50]:57275 "EHLO inca-roads.misterjones.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728368AbfJRQkk (ORCPT ); Fri, 18 Oct 2019 12:40:40 -0400 Received: from [213.166.56.99] (helo=big-swifty.misterjones.org) by cheepnis.misterjones.org with esmtpsa (TLSv1.2:AES256-GCM-SHA384:256) (Exim 4.80) (envelope-from ) id 1iLVIk-0002nV-PR; Fri, 18 Oct 2019 18:40:30 +0200 Date: Fri, 18 Oct 2019 17:40:29 +0100 Message-ID: <86h846ypky.wl-maz@kernel.org> From: Marc Zyngier To: Stephen Boyd Cc: Sai Prakash Ranjan , Mark Rutland , rnayak@codeaurora.org, suzuki.poulose@arm.com, catalin.marinas@arm.com, linux-arm-kernel , linux-kernel@vger.kernel.org, jeremy.linton@arm.com, bjorn.andersson@linaro.org, linux-arm-msm@vger.kernel.org, andrew.murray@arm.com, will@kernel.org, dave.martin@arm.com, linux-arm-kernel@lists.infradead.org, marc.w.gonzalez@free.fr Subject: Re: Relax CPU features sanity checking on heterogeneous architectures In-Reply-To: <5da9cd3a.1c69fb81.95e9.e5e2@mx.google.com> References: <20191011105010.GA29364@lakrids.cambridge.arm.com> <7910f428bd96834c15fb56262f3c10f8@codeaurora.org> <20191011143442.515659f4@why> <5da8c868.1c69fb81.ae709.97ff@mx.google.com> <5da9cd3a.1c69fb81.95e9.e5e2@mx.google.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/26 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 213.166.56.99 X-SA-Exim-Rcpt-To: swboyd@chromium.org, saiprakash.ranjan@codeaurora.org, mark.rutland@arm.com, rnayak@codeaurora.org, suzuki.poulose@arm.com, catalin.marinas@arm.com, linux-arm-kernel-bounces@lists.infradead.org, linux-kernel@vger.kernel.org, jeremy.linton@arm.com, bjorn.andersson@linaro.org, linux-arm-msm@vger.kernel.org, andrew.murray@arm.com, will@kernel.org, dave.martin@arm.com, linux-arm-kernel@lists.infradead.org, marc.w.gonzalez@free.fr X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on cheepnis.misterjones.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 18 Oct 2019 15:33:29 +0100, Stephen Boyd wrote: > > Quoting Marc Zyngier (2019-10-18 00:20:56) > > > > If this SoC is anythinig like SM8150, 32bit guests will be hit and > > miss, > > depending on the CPU your guest runs on, or is migrated to. We need to > > either drop capabilities from the 32bit-capable CPU, or prevent the > > non-32bit capable CPU from booting if a 32bit guest has been started. > > > > You just have to hope that the kernel is entered at EL2, and that QC's > > "value add" has been moved somewhere else... > > > > Ok that's good. I need a new signature. M. -- Jazz is not dead, it just smells funny.