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=-2.2 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 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 E9744C432BE for ; Thu, 12 Aug 2021 08:36:01 +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 85B7360C3F for ; Thu, 12 Aug 2021 08:36:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 85B7360C3F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:Cc:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=mDzQPckQikFsSAkaNFTC9AaSHYBpLTelxNkMqokYm/k=; b=zAlmVBdt4g9rs4QUW9X7r2UBWc aqWCZ1rgETBny+RUsPjiWKa3lkqQYBCAduuJMSMvopuGy7jCiU5VC62rUtSS54GQPI2ldPGSj3+sn d2/MS1NnKPvNydbVCmCZG4s5hXDOzr4s7GL4Q455kwvBq7c8bEgF3AtbI/gzh9jQepI8l99G85sWN jSKd/iIzKNksCgwtGnUFK5R4NU6uMesbCWcoVRGfsCHhhAKrTqlX9marUrayISgGL/I0bwIDL7RJB txZyvREacqo9VqkncBYafc5zvY/9MzUCGYAVONzheTNWLbBPGSpfW9BtTcTB7we2nIew1ui88QWQO SK1bxpxw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mE69f-009AcZ-P4; Thu, 12 Aug 2021 08:33:35 +0000 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mE69c-009Abe-M3 for linux-arm-kernel@lists.infradead.org; Thu, 12 Aug 2021 08:33:33 +0000 Received: by mail-wr1-x432.google.com with SMTP id z9so7013056wrh.10 for ; Thu, 12 Aug 2021 01:33:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=hc2wH5WZPwuYdRcAjQpqR4mwPI/MbnpwziAgDc2CmKE=; b=msZWQJFW1eE54rO/w6uxERaCNcQhyFzEJV8gHSJdLdieUOjOITjCIt33pF4N5yFunm 6iTEJ2Wvo2WdYAHEjC6xjhyc2Ts8eA4Xq2N6nDLSIXayrGwjn+ybqRSb2/A+UG+Mx7l9 jIgmriznZf7h51WJB8k/ms5GQgErZyhA3R2wBkjIX1koNbrNfkQEG07CIrnUEj769w5b i3rhscy1p32Wnpy0LAIs4m61MBoW9Ul1MxEpi1Q2ntYUWhaV+dD5VF6Xcy7jhdXCNkjd 89LkYssvlFIgJdlK0LO8VlScUY6X/GwuQb1o9nmbiOBM9Ghl6qMkY/7r2EFbPtGsL7zQ ZYWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=hc2wH5WZPwuYdRcAjQpqR4mwPI/MbnpwziAgDc2CmKE=; b=Dd/1JbD5RSfsu4ZZVcfdkRxg4E0Twha6D+eMunDcAyNDCZER+nlw0C+xa6LTAd5paj CIzr3AA84AQia0Fzf8m1vwD9X4IHds+5G0BUdxM56Lpe9kbHic2CQ5lofEOWiqaZL4Ib K5qzR4R0k3lCALGXtBK5ix08W+8lEK4KjU/pcbFuweoI8ZF1W9PpSVhmCp0FiptOoPtL 77CWv0BXa2Y9KzTb+pjP/XSBs0Qpx7Xsb8QfHIYBRwwQ2c5GWTaqLtG5dGgU+pFPu/ML qruoNeEEeVmONxQVG9JB15gi8EtpFqPdq0/Pv+umyy01A8avp3mFI37gu9nE1l7hkgQN tKlA== X-Gm-Message-State: AOAM533vWHg4yZcVORqY6JZ2DGLslGd/bny1KZ2cNmltnzcs9IERVsCd VCtyyR6Y1asAt1K4hvufMUs= X-Google-Smtp-Source: ABdhPJxbjkniKwMUV52D7Syx4oCyBt06meVOp4b4plvAe9VhigFtyqfY/Bef9XevXrntLTmgUiFEZA== X-Received: by 2002:a5d:44cb:: with SMTP id z11mr2675120wrr.100.1628757210107; Thu, 12 Aug 2021 01:33:30 -0700 (PDT) Received: from ?IPv6:2a01:cb05:8192:e700:90a4:fe44:d3d1:f079? (2a01cb058192e70090a4fe44d3d1f079.ipv6.abo.wanadoo.fr. [2a01:cb05:8192:e700:90a4:fe44:d3d1:f079]) by smtp.gmail.com with ESMTPSA id e3sm2230060wrv.65.2021.08.12.01.33.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 12 Aug 2021 01:33:29 -0700 (PDT) Subject: Re: arm64 regression in kernel 5.12 related to the (n)VHE To: Marc Zyngier , =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= Cc: David Brazdil , Catalin Marinas , Will Deacon , linux-arm-kernel , Mark Rutland , Ard Biesheuvel , Marco Elver , BCM Kernel Feedback , Florian Fainelli References: <53f3a2d2-22f8-edee-2507-d41a4090dad7@gmail.com> <87r1f09md8.wl-maz@kernel.org> <87czqj9mvo.wl-maz@kernel.org> From: Florian Fainelli Message-ID: Date: Thu, 12 Aug 2021 01:33:29 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: <87czqj9mvo.wl-maz@kernel.org> Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210812_013332_765812_7EFD0671 X-CRM114-Status: GOOD ( 11.69 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 8/11/2021 11:51 PM, Marc Zyngier wrote: [snip] >> CPU: All CPU(s) started at EL2 > > Interestingly, all your CPUs are booting at EL2. Which is great. Can > you try and enable KVM on your existing 5.10 kernel? Just selecting > CONFIG_KVM should be enough. Does it boot correctly with KVM enabled? > > My suspicion is that the firmware doesn't set SCR_EL3.HCE, and that > the HVC instruction UNDEFs at EL1. That would be bad news. Other Brahma-B53 devices that we work with (set-top box and cable modem chips) boot 5.12 and beyond correctly, and indeed, our EL3 firmware sets-up SCR_EL3.HCE. -- Florian _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel