From patchwork Tue Oct 20 21:45:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Boyd X-Patchwork-Id: 11847953 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=-6.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT 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 F2051C388F2 for ; Tue, 20 Oct 2020 21:47:26 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 71A892224A for ; Tue, 20 Oct 2020 21:47:26 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="HtVjchof"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="eJue/Yhg" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 71A892224A 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+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=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=9Zet3pYQlvsVJ+sx00zq8lVzy3BNt+2qt0jn2HBYXhg=; b=HtVjchofN0H9YLQatwK7pbeQL1 Zd37aao5pzRzEaJ8AC8HzMXPebIBolB2lsw7tNIcSrqYhxlIZKVTtb0v1aPo5fqRD0x/VGVXjOluJ Ypaik7oTP/A/ljXj20CI5uRhhp21darxnOAl0m2aXzOs3o9inKpX54g0NcfzJWCiTFv2NHiBQG7Hu u1YZ9vIliC15tWJXNMR/kvldu5oMlGpjoTju1j2UNNmazuT5+HWvbRPM0q9WczEFP32G2iWTRDsOU xu+/2sWHZ/G/sR4AW7x+GD8fINKo4vW2UuNHMpST8hccV4Q7cvMr+GBrVvfHhGH/yAzWKNDwP+k4w +I/mciGg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kUzS6-0003YS-8H; Tue, 20 Oct 2020 21:45:54 +0000 Received: from mail-pj1-x1044.google.com ([2607:f8b0:4864:20::1044]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kUzS2-0003X0-Ov for linux-arm-kernel@lists.infradead.org; Tue, 20 Oct 2020 21:45:52 +0000 Received: by mail-pj1-x1044.google.com with SMTP id lw2so37954pjb.3 for ; Tue, 20 Oct 2020 14:45:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=5zb2k/yQhQ8oyMKadz8VKlRfv548LEmsWMcy3EDlZOI=; b=eJue/YhgqPzoAvHtxwGGnR1AAhL5nzuMGilf9kh6oUy0ZKG/UkcwvAbMmdP8Mw8joZ m+7t7pBo8T0Ns3AEP3PzVa5SlOKwT4UKfb3zAYVPkCbHB6tQcpKBzn0DrE3W0PsSAvMp AamR0ipjPf/3ltevlzpJBHc0w0KZmD5DNCea4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=5zb2k/yQhQ8oyMKadz8VKlRfv548LEmsWMcy3EDlZOI=; b=XnYrlZdHKlcuS+hRqu1ghqPGcmamWCpXyuTY+H1lYfGH9D53ym+HIBp5Dm98cVo0FV BeTCtjN7dOGTuXys5BBnJQjzlcu0IHzQQVH0tBciQ/8Bc+wFhwLZp25WpuISTIO8xZhg yjXxHiL6QnAR1EBKOVg5//xpGKNxfyBcBbQF63GgfNtV4CCQS+gGms67kIh7pm+EssYZ Wr0OI4RKJqqysj0Bn4MDMF+WCGS5GKUM/SmTYBWAeDKVQ+Fg3ns/3ZCHRJyVg+61LPt4 iZhgbb3R44YKUMn9P64GjIwtaVKend2qIwVKzjCK0S6/KMBhacGYy00gZA+bsRhztvrJ ox4w== X-Gm-Message-State: AOAM5301yGz+Woe4O+2kEbx1NV+/KmWnylekOu1lap8jFYQyPTAIMBz4 e8pPC/NmXS//T+au2duH6/7FDNv89YPeZg== X-Google-Smtp-Source: ABdhPJzOOD53E9+RyIyrrpIG0jxFtoCxvbNHFdP6EwHmydJyw118zxPHplRgGT/cUCXCGu8J73L2Bg== X-Received: by 2002:a17:902:6a8b:b029:d3:b4d2:11f0 with SMTP id n11-20020a1709026a8bb02900d3b4d211f0mr234847plk.2.1603230346663; Tue, 20 Oct 2020 14:45:46 -0700 (PDT) Received: from smtp.gmail.com ([2620:15c:202:201:3e52:82ff:fe6c:83ab]) by smtp.gmail.com with ESMTPSA id j23sm130751pgh.31.2020.10.20.14.45.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Oct 2020 14:45:45 -0700 (PDT) From: Stephen Boyd To: Will Deacon , Catalin Marinas Subject: [PATCH 0/2] arm64: Fixes for spectre-v2 detection in guest kernels Date: Tue, 20 Oct 2020 14:45:42 -0700 Message-Id: <20201020214544.3206838-1-swboyd@chromium.org> X-Mailer: git-send-email 2.29.0.rc1.297.gfa9743e501-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201020_174550_869773_1D27034A X-CRM114-Status: GOOD ( 10.86 ) 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: Andre Przywara , linux-kernel@vger.kernel.org, stable@vger.kernel.org, Steven Price , Marc Zyngier , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The first patch fixes a problem with spectre-v2 detection in guest kernels found on v5.4 and the second patch fixes an outdated comment. Cc: Andre Przywara Cc: Steven Price Cc: Marc Zyngier Cc: stable@vger.kernel.org Stephen Boyd (2): arm64: ARM_SMCCC_ARCH_WORKAROUND_1 doesn't return SMCCC_RET_NOT_REQUIRED arm64: proton-pack: Update comment to reflect new function name arch/arm64/kernel/proton-pack.c | 7 +++---- arch/arm64/kvm/hypercalls.c | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) base-commit: 38525c6919e2f6b27c1855905f342a0def3cbdcf