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=-12.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham 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 1B374C55179 for ; Wed, 28 Oct 2020 22:20:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B9300206D9 for ; Wed, 28 Oct 2020 22:20:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603923619; bh=9ClaS39qsu/8IFZeXHaVx8PcmKehSz9sH+qzL4vXJxs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=z1N3zccnIHzAkN0zkCWxe+taxpRYTtyCUo0PcEsbsbCZ1TPA4Sb44FVru6WsC7Q8v aplPzGtnOHqE10Q06Ka2nN5FBSUhnEUMHjTMzLvSY+2Lw9Ck7QinglvpmHUuRot8O/ v0Y4vzX9lGaPebI2SzFMIFscqk04kRtWgstBzN7k= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732146AbgJ1WUS (ORCPT ); Wed, 28 Oct 2020 18:20:18 -0400 Received: from mail.kernel.org ([198.145.29.99]:60534 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731730AbgJ1WRn (ORCPT ); Wed, 28 Oct 2020 18:17:43 -0400 Received: from localhost.localdomain (236.31.169.217.in-addr.arpa [217.169.31.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A9CD7247B3; Wed, 28 Oct 2020 15:12:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603897973; bh=9ClaS39qsu/8IFZeXHaVx8PcmKehSz9sH+qzL4vXJxs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=co88HEQHIL5+KsFEIyZ1iMP+lEmwUbGs90igcu0t9SFvJwRYsCz6Zceb/tQX0k8h4 Wv0pj60BkZl4dUvuQGdz3g/BimVof8eTpIJgkmWJdG+GkN8yiYmIGVweIrNu7cXOpD cPsSvSXGu5YPXxaq2AdLKJujm65qVV5nluI6LLJk= From: Will Deacon To: Catalin Marinas , Stephen Boyd Cc: kernel-team@android.com, Will Deacon , Andre Przywara , linux-kernel@vger.kernel.org, Marc Zyngier , stable@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Steven Price Subject: Re: [PATCH v3] KVM: arm64: ARM_SMCCC_ARCH_WORKAROUND_1 doesn't return SMCCC_RET_NOT_REQUIRED Date: Wed, 28 Oct 2020 15:12:36 +0000 Message-Id: <160388361710.744976.4736349542337915760.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201023154751.1973872-1-swboyd@chromium.org> References: <20201023154751.1973872-1-swboyd@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 23 Oct 2020 08:47:50 -0700, Stephen Boyd wrote: > According to the SMCCC spec[1](7.5.2 Discovery) the > ARM_SMCCC_ARCH_WORKAROUND_1 function id only returns 0, 1, and > SMCCC_RET_NOT_SUPPORTED. > > 0 is "workaround required and safe to call this function" > 1 is "workaround not required but safe to call this function" > SMCCC_RET_NOT_SUPPORTED is "might be vulnerable or might not be, who knows, I give up!" > > [...] Applied to arm64 (for-next/fixes), thanks! [1/1] KVM: arm64: ARM_SMCCC_ARCH_WORKAROUND_1 doesn't return SMCCC_RET_NOT_REQUIRED https://git.kernel.org/arm64/c/1de111b51b82 Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev