Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp928460ybp; Fri, 11 Oct 2019 06:36:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqyQSovW8bci3mq/co3Ev+98D3raqI2DfZCg60Kyi3ZyjqNO0nlWLhBAKd/boJN5A1I+GDbE X-Received: by 2002:aa7:cb55:: with SMTP id w21mr13471284edt.163.1570800989570; Fri, 11 Oct 2019 06:36:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570800989; cv=none; d=google.com; s=arc-20160816; b=KO4x+1mnWUn5p6+/AJQNQ3yqRD+yv6k7BuA69mtUgjxBBlfUpT/IPHKyMe7Oq8SSpd sncV0XGk5W7bOpAaeEAvhjbqPqucT5usNkdfT/55G6VbsoeDlMen2YrDs0hiwYscTJUv ovjsu6ke9IlhEjAnl7BvWW9qd0fyLmKTew61GnXHWriyHfDbJFKFR3Iv6YIHLzHhC/+K aP1dv/pW1VBfFCP7G4VD/7ZTRcy1y4nQXafKOpIb1gHHXFz/cXT/feDKba0KLiYKHtci Gm+Hff/E4t8Ndxq6De9dEdEugoUEqEI8o1sA1MWcaKccRywm3NFrLJx9P6dQlmSkMBNk zEtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=A+fZGFw94cgXohRkEHgkLKeFXMfDc5W/g9BZPteDG9A=; b=YcfNmRyR40W/92GKtBAgoy6bt7i+r6FzT4ZSF4YansJe3v4+Ros52HZhEZ+vjms+Wr 2jS9TGRsGYMw/jSQAHhR/AOLHuX4wblpRglAZhe2cm2PihuhAJlHS4UBKMB27rQ9QyTD uMoiWjVQGQ8/5/41J29mcY1rr/D/Y4W4ddvoRIri5t4x6l1Fp1/K0MIgjBypYoiPTD3g RC9DAf5kAiOxE5F7wNzLnFn4mrnJAfhmplZpoZF2pwTR3nDyxcDKSPfoVgxHzEw+6qKU N+NdxRS19W6Guc5cLVdzwTWmTnxILOPTXkSZGa09NtYXTL0NelrKAoWg2DswHpVqd/N6 5fHA== 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 i27si5247267ejg.249.2019.10.11.06.36.05; Fri, 11 Oct 2019 06:36:29 -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 S1728459AbfJKNer (ORCPT + 99 others); Fri, 11 Oct 2019 09:34:47 -0400 Received: from inca-roads.misterjones.org ([213.251.177.50]:36144 "EHLO inca-roads.misterjones.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727709AbfJKNer (ORCPT ); Fri, 11 Oct 2019 09:34:47 -0400 Received: from 78.163-31-62.static.virginmediabusiness.co.uk ([62.31.163.78] helo=why) by cheepnis.misterjones.org with esmtpsa (TLSv1.2:AES256-GCM-SHA384:256) (Exim 4.80) (envelope-from ) id 1iIv48-00079K-Cw; Fri, 11 Oct 2019 15:34:44 +0200 Date: Fri, 11 Oct 2019 14:34:42 +0100 From: Marc Zyngier To: Sai Prakash Ranjan Cc: 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 Subject: Re: Relax CPU features sanity checking on heterogeneous architectures Message-ID: <20191011143442.515659f4@why> In-Reply-To: <7910f428bd96834c15fb56262f3c10f8@codeaurora.org> References: <20191011105010.GA29364@lakrids.cambridge.arm.com> <7910f428bd96834c15fb56262f3c10f8@codeaurora.org> Organization: Approximate X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 62.31.163.78 X-SA-Exim-Rcpt-To: 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 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, 11 Oct 2019 18:47:39 +0530 Sai Prakash Ranjan wrote: > Hi Mark, > > Thanks a lot for the detailed explanations, I did have a look at all the variations before posting this. > > On 2019-10-11 16:20, Mark Rutland wrote: > > Hi, > > > > On Fri, Oct 11, 2019 at 11:19:00AM +0530, Sai Prakash Ranjan wrote: > >> On latest QCOM SoCs like SM8150 and SC7180 with big.LITTLE arch, below > >> warnings are observed during bootup of big cpu cores. > > > > For reference, which CPUs are in those SoCs? > > > > SM8150 is based on Cortex-A55(little cores) and Cortex-A76(big cores). I'm afraid I cannot give details about SC7180 yet. > > >> SM8150: > >> >> [ 0.271177] CPU features: SANITY CHECK: Unexpected variation in > >> SYS_ID_AA64PFR0_EL1. Boot CPU: 0x00000011112222, CPU4: >> 0x00000011111112 > > > > The differing fields are EL3, EL2, and EL1: the boot CPU supports > > AArch64 and AArch32 at those exception levels, while the secondary only > > supports AArch64. > > > > Do we handle this variation in KVM? > > We do not support KVM. Mainline does. You don't get to pick and choose what is supported or not. Thanks, M. -- Jazz is not dead. It just smells funny...