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=-5.4 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_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 96FF9C433E6 for ; Thu, 21 Jan 2021 09:06:31 +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 3F9FF23356 for ; Thu, 21 Jan 2021 09:06:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3F9FF23356 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com 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-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Date:Message-ID:Subject:To:From: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=RYeiCM/PnnwfGMR7wx4dM/0EYDA2SMeq7lUaViEW+CE=; b=SvNIMXdxVPtwTR DtfRy6OT2WXmqRYayYGecADyIhIHpwzO6ATjC5W965zwcaC0YMu93xSreDQFu2Q9t+AANw6lmwjYI CauDxU3mSaGeiMd5RLRmr6vK519Va6egIlKyMdmDEbhLT6CEB+5OeJv/A251lVOR8oy8hxp9ZgNhm RtKftRFDxFzdPXt75uQjCN8FuH2jUfDf3U0+gy0VK2JFTYcVSNEiHZGiUnGEnN2rlNWcZZqXNb8Cf U+uQwdzBXl8JQHEndMLDaodNRnS4ZlS64KT20046hj08CncncTOgd18vODOSUOLPN8O186xsXERaU 26629fDAfWALEUM8xBWw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2Vtj-0002DQ-GN; Thu, 21 Jan 2021 09:04:59 +0000 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2Vtf-0002CL-92 for linux-arm-kernel@lists.infradead.org; Thu, 21 Jan 2021 09:04:57 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1611219894; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=o9m6HVc++XsDeuUhKQIPpCRaIPuJGekVLvNJdb7ST/4=; b=B1ZETjaorunRt9lmWu8KAQWgI83wsGHVZMKIyLsfuBByUxXCPb9HtaWWyz/IeES2/vh5VX wp6MfqvC0w6TAg97kuV3aKtcOdTmCMfuDbApiw3KGAkAss3185cr228wCmwThCSIAIQ9R+ 1QqHpb28eErI1k3NqQwoWpx9Oz28nmo= Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-603-q1ykGAiHMCqk4m0gprlm2g-1; Thu, 21 Jan 2021 04:04:51 -0500 X-MC-Unique: q1ykGAiHMCqk4m0gprlm2g-1 Received: by mail-wr1-f70.google.com with SMTP id y4so636500wrt.18 for ; Thu, 21 Jan 2021 01:04:50 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=o9m6HVc++XsDeuUhKQIPpCRaIPuJGekVLvNJdb7ST/4=; b=V85hKBOSQtN//Ykl0p+nLQnZj/eBM98O7POctss4Neti8+1ypWmqMXaeXH/IQdYpp7 V58sMnGL7JJ5kwGPn051omPg6tGVLS7ZylKcqtY48ybH8WrDKfKk9uZAFp7qVu//KjKA C67+n+yDcWPhlvUWLZ8glSiZl7epEA2d0WlmNivFlubgihe7VOLpy2fv2LssgC+rpOhD hjlguIQTBQhSBH9wGJyDYh7LnlPRyST+/3ELet93NJTN6MTqAXQsjAjQHVcSZVwJtmpH uXuSlMRtMvDzaTJBJipsG3SnPi+Nnc4Cd91tQmcztudHqVdVhcdSQp8EzYLdY9gPLT2B 3fTw== X-Gm-Message-State: AOAM530TZX8aNmnVN+sc+J4sqcAx8m+4oMmYpjwK3XpFpQlgkvmPUE3K v8Mdb6LZyX+mrF1IOON1WJMKF+n6w+lXIFlGiYO9ccLSh2KiUOV1LyBQ42O6srFSBIDuCL92ufx RLp4TDXosdHA0NWzA2LakkyUBaPYeipdSvMgMU3cfHYGvslrrge0lNnJuDn3hVjnLRyaaNGiCH0 flBBLgJTPfI0g= X-Received: by 2002:a05:6000:186f:: with SMTP id d15mr13307378wri.237.1611219889032; Thu, 21 Jan 2021 01:04:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJySW9eobVC2GAARNfDICNeAh3oKbdcSO1U9FWNAf7gDD7wc058PEJcf82azKq8Ib136DRY4NQ== X-Received: by 2002:a05:6000:186f:: with SMTP id d15mr13307347wri.237.1611219888767; Thu, 21 Jan 2021 01:04:48 -0800 (PST) Received: from ?IPv6:2a01:cb14:499:3d00:cd47:f651:9d80:157a? ([2a01:cb14:499:3d00:cd47:f651:9d80:157a]) by smtp.gmail.com with ESMTPSA id g194sm7406252wme.39.2021.01.21.01.04.48 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 21 Jan 2021 01:04:48 -0800 (PST) From: Julien Thierry To: linux-arm-kernel@lists.infradead.org Subject: arm64: straight-line speculation status Message-ID: <3cf0b8c6-c634-94b2-3799-a662e0e692a3@redhat.com> Date: Thu, 21 Jan 2021 10:04:47 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=jthierry@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210121_040455_373669_821C3192 X-CRM114-Status: GOOD ( 13.18 ) 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: , 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 Hi, I was wondering, what is the status of mitigations for the arm straight-line speculation[1] in linux? It looks like some option was added to GCC to deal with branch and return instructions, however it doesn't look like there is a kernel config to use that compiler option. Also, I would assume that BLR and RET instructions in assembly files would also need to be adapted. Has this already been discussed? Are there any works in progress or plans associated with it? [1] https://developer.arm.com/support/arm-security-updates/speculative-processor-vulnerability/frequently-asked-questions#SLS4 Thanks, -- Julien Thierry _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel