From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9D9FEECE58D for ; Thu, 17 Oct 2019 20:00:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 671A621A49 for ; Thu, 17 Oct 2019 20:00:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="CcY6khg3" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2394533AbfJQUAm (ORCPT ); Thu, 17 Oct 2019 16:00:42 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:35165 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2394480AbfJQUAl (ORCPT ); Thu, 17 Oct 2019 16:00:41 -0400 Received: by mail-pg1-f193.google.com with SMTP id p30so1977207pgl.2 for ; Thu, 17 Oct 2019 13:00:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=message-id:mime-version:content-transfer-encoding:in-reply-to :references:from:to:cc:subject:user-agent:date; bh=QIMZdUFoVDCCgi7u9KnfgFx2D+e8lBSYkgBbx8BMeec=; b=CcY6khg3q6nubSARTDJ5XR1igh/NxAZFgNsGtnScPCLDJ20bsPOxhJh8YD0Ifo1HK1 UflIjODDTFl8CRWMZf1yBr9pBsZI/xNyhdGJtRt7j6N851Pii2fEu1phfhNvF5ERh0IY Zl7fuIIFWYgbudcD0dq4aT9k6ojiOfJJ6/w5w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:mime-version :content-transfer-encoding:in-reply-to:references:from:to:cc:subject :user-agent:date; bh=QIMZdUFoVDCCgi7u9KnfgFx2D+e8lBSYkgBbx8BMeec=; b=fM2tl8OQe2bNi1QYFKKodc8Fsl+vn+fVlsPNwArYtprTeuKmY0ID2BN0ymcicTB87f 48DHzdPpDQ/+QyqWMc0q0sw5JZuUnSGnOTxj9o2QsK8uZaSDz62B/uu8YodtMkQCya4D LPzIuHpEXAGy8lh5f9u5+AI091gKOVDBqqn89s3CIe6cwY+c/x9vTgWlGTKwS/HoRR2+ rQVQoni1Q6UqGHjlQPavJWphWc0QkF37fFY/5Krs2p7Yp8kx2ym0aYlgscoWeFV+9hVa 2TYMfBveQ9Jm3ET3tQMEaIovl/tkqrMZirGcoPAVfHbVUH96J7mqL/WB1R3XPV26Mz+X hhlQ== X-Gm-Message-State: APjAAAVhLIiWW3o/7ytAxsWP7yYnQkAqmDg70hK4LZsQwMzC70JWVI3z LWtkz/GaDsCtnM8y0+/02+nKAQ== X-Google-Smtp-Source: APXvYqxn4GjJKCMJ6/dMMs6TXVT3v+iRNGMNw4x8OnF002zaL0RZvbO7aIfYNtadR0MBs08MMHevpw== X-Received: by 2002:a17:90a:5896:: with SMTP id j22mr6095736pji.55.1571342441026; Thu, 17 Oct 2019 13:00:41 -0700 (PDT) Received: from chromium.org ([2620:15c:202:1:fa53:7765:582b:82b9]) by smtp.gmail.com with ESMTPSA id 74sm3834060pfy.78.2019.10.17.13.00.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Oct 2019 13:00:40 -0700 (PDT) Message-ID: <5da8c868.1c69fb81.ae709.97ff@mx.google.com> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: References: <20191011105010.GA29364@lakrids.cambridge.arm.com> <7910f428bd96834c15fb56262f3c10f8@codeaurora.org> <20191011143442.515659f4@why> From: Stephen Boyd To: Marc Zyngier , 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, marc.w.gonzalez@free.fr Subject: Re: Relax CPU features sanity checking on heterogeneous architectures User-Agent: alot/0.8.1 Date: Thu, 17 Oct 2019 13:00:39 -0700 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Quoting Sai Prakash Ranjan (2019-10-11 06:40:13) > On 2019-10-11 19:04, Marc Zyngier wrote: > > On Fri, 11 Oct 2019 18:47:39 +0530 > > Sai Prakash Ranjan wrote: > >=20 > >> Hi Mark, > >>=20 > >> Thanks a lot for the detailed explanations, I did have a look at all=20 > >> the variations before posting this. > >>=20 > >> 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, be= low > >> >> warnings are observed during bootup of big cpu cores. > >> > > >> > For reference, which CPUs are in those SoCs? > >> > > >>=20 > >> SM8150 is based on Cortex-A55(little cores) and Cortex-A76(big cores).= =20 > >> I'm afraid I cannot give details about SC7180 yet. > >>=20 > >> >> SM8150: > >> >> >> [ 0.271177] CPU features: SANITY CHECK: Unexpected variation = in > >> >> SYS_ID_AA64PFR0_EL1. Boot CPU: 0x00000011112222, CPU4: >> 0x0000001= 1111112 > >> > > >> > The differing fields are EL3, EL2, and EL1: the boot CPU supports > >> > AArch64 and AArch32 at those exception levels, while the secondary o= nly > >> > supports AArch64. > >> > > >> > Do we handle this variation in KVM? > >>=20 > >> We do not support KVM. > >=20 > > Mainline does. You don't get to pick and choose what is supported or > > not. > >=20 >=20 > Ok thats good. >=20 I want KVM on sc7180. How do I get it? Is something going to not work? From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 14866FA372A for ; Thu, 17 Oct 2019 20:01:00 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C637920854 for ; Thu, 17 Oct 2019 20:00:59 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="a1bubeH8"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="CcY6khg3" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C637920854 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Date:Subject:To:From:References: In-Reply-To:MIME-Version:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ksGXpU/IB8rOWThM6IrUq0rgMPR4wxquGsbMiv6gjLc=; b=a1bubeH8BgY5qd l9G7eJXCLQKgXSze4W+oZj0nG92MEpbz1woc+QAIyf+usLtbIeZm42mTaRNDaJ9Hxxhe6j5AtgzNA s7rQI0vWLBHT1qRl7H/x087Osdau7I7CgUlOpfvZGb5pRDQxV8GEZoUt07L4lsuX06u6Of6xELjr4 M/vbJYouppUiE/D9bJK4OS10sVQDiL3Ln2V3ybysPQLe48reTRuzANtLKYxgsiWSCVsEgvnafrVBw eaWwtm5FDQ2fTwq5fuVMwjoutLz/mF+SHM9eTi+kX0u1rlpE3H14DdK1WLnIn9Uavnn9Jmr9M5CZg eh4JEYGBoQbL4/LiOR2w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iLBx5-0005AH-8b; Thu, 17 Oct 2019 20:00:51 +0000 Received: from mail-pf1-x443.google.com ([2607:f8b0:4864:20::443]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iLBx2-00058o-Fr for linux-arm-kernel@lists.infradead.org; Thu, 17 Oct 2019 20:00:49 +0000 Received: by mail-pf1-x443.google.com with SMTP id v4so2313760pff.6 for ; Thu, 17 Oct 2019 13:00:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=message-id:mime-version:content-transfer-encoding:in-reply-to :references:from:to:cc:subject:user-agent:date; bh=QIMZdUFoVDCCgi7u9KnfgFx2D+e8lBSYkgBbx8BMeec=; b=CcY6khg3q6nubSARTDJ5XR1igh/NxAZFgNsGtnScPCLDJ20bsPOxhJh8YD0Ifo1HK1 UflIjODDTFl8CRWMZf1yBr9pBsZI/xNyhdGJtRt7j6N851Pii2fEu1phfhNvF5ERh0IY Zl7fuIIFWYgbudcD0dq4aT9k6ojiOfJJ6/w5w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:mime-version :content-transfer-encoding:in-reply-to:references:from:to:cc:subject :user-agent:date; bh=QIMZdUFoVDCCgi7u9KnfgFx2D+e8lBSYkgBbx8BMeec=; b=Voq+4vPXGOA0FKOvqIpY+CQud99lnMhJnKhzQavXARSfIB6FrhQHMPC7hBOac5rjaU /QCcy6oQCKNE45G87Bl84+1/TgQbkbTGGyfK5HeC9HmNq4PPYSLfYb3fT1kM2LUG2GXK lKgHiVjOym7wpPxIkhSatQQu46Rc0ngcarpeW3ct/6B73emdBn+PKJF2mzrINaE5D2k4 JWa9h/BsUt1Twyel9pBeEchPuqoZBcrUReSevT91nLiyd0pxUnWLrRuAAzCgwQb/HDl8 9NEAuw790fXs8E3vUVx6X1SGUJHm7ESUvtWGO3sdo/dbZZ5hTkbmVCi358L6C3JrCsbf cAoA== X-Gm-Message-State: APjAAAWszqsKzEHvWXpZPmAW/IlCuKdc1j41tz2oAVrGvrAgT4eDOj1d C8aHFvLKIUBWzqfNcs5Wk6+qTw== X-Google-Smtp-Source: APXvYqxn4GjJKCMJ6/dMMs6TXVT3v+iRNGMNw4x8OnF002zaL0RZvbO7aIfYNtadR0MBs08MMHevpw== X-Received: by 2002:a17:90a:5896:: with SMTP id j22mr6095736pji.55.1571342441026; Thu, 17 Oct 2019 13:00:41 -0700 (PDT) Received: from chromium.org ([2620:15c:202:1:fa53:7765:582b:82b9]) by smtp.gmail.com with ESMTPSA id 74sm3834060pfy.78.2019.10.17.13.00.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Oct 2019 13:00:40 -0700 (PDT) Message-ID: <5da8c868.1c69fb81.ae709.97ff@mx.google.com> MIME-Version: 1.0 In-Reply-To: References: <20191011105010.GA29364@lakrids.cambridge.arm.com> <7910f428bd96834c15fb56262f3c10f8@codeaurora.org> <20191011143442.515659f4@why> From: Stephen Boyd To: Marc Zyngier , Sai Prakash Ranjan Subject: Re: Relax CPU features sanity checking on heterogeneous architectures User-Agent: alot/0.8.1 Date: Thu, 17 Oct 2019 13:00:39 -0700 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191017_130048_526799_AD41124C X-CRM114-Status: GOOD ( 15.35 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , rnayak@codeaurora.org, suzuki.poulose@arm.com, catalin.marinas@arm.com, linux-arm-kernel , marc.w.gonzalez@free.fr, 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org Quoting Sai Prakash Ranjan (2019-10-11 06:40:13) > On 2019-10-11 19:04, Marc Zyngier wrote: > > 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. > > > > Ok thats good. > I want KVM on sc7180. How do I get it? Is something going to not work? _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel