Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp33805ybk; Fri, 8 May 2020 17:42:09 -0700 (PDT) X-Google-Smtp-Source: APiQypLXrXhYEhJuI2nv5tu51TEFEGMjQdgZzvH9zz/kJaM4JI4jtBafE0eWPe2MiyZfXdxgfan0 X-Received: by 2002:a17:906:7e5a:: with SMTP id z26mr4345413ejr.168.1588984929036; Fri, 08 May 2020 17:42:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588984929; cv=none; d=google.com; s=arc-20160816; b=mbCtrOFgEHtcapph6Jhpqr6RynQqZ/gKE7OML4eA+493pXKkvD2HA5iRqPy6FifsAI GMUYHCH99hom9ec4DflJasTjh77gqGngPYbHTvQDWk6EBbSqXG/Dms6YZB5IQufGU1Tg SlsU6d2Im+xTFdSevw74/qnM1tvidMq/etj9erGjwh1zisDKeNJFKYcDVVqWi0GkaQon msbU7jQ3CwYVOTgQK9Jecxq9cqAZ02CvhSlgxOmhXsbabazOP/+6RPDlTZiP+s94CxmS l4MSc1ZIEnZvQCeYNmCnassguFPCB9DjFJyldN2/TnTtCQ3SL2Gmn4DdBFfC1j9guF17 JgWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=lxWn3FHGQGcJm4LWAcdUb4NKG7yY8eIfeb3fsbkUvBU=; b=RylWVvRruyOVM1TQABW3lj6QsnFuGbdp/emOq2n/0YeAWoTpCW165jVYl6pQaG11G8 kMO6QqbQtNKxUYJBj9HRbYA7AYkpv9JbT2MPWpHYmt+koatRC2TbV/LuaDiI5kOcVguE RGmvAot6A8F1kW/069cwY6pXZFk0qo5EZToo9ABBe+LW0qFk3ZGltl+tq02DZG+yQMYV P+u5fc/u2fZxHwQm/IlRWXQMLF4s75jcaMXC5vUc6H42bRaNzJBnJWXhtthosNZ2tZd9 dt7cFwcPMR10trepacOXE9aM3kW9udJQHBYVu0kXPoIC1Mralv+SSSIejc4609gk/D5Z A1eA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=mqmH9p0+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id mh26si1847364ejb.177.2020.05.08.17.41.46; Fri, 08 May 2020 17:42:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=mqmH9p0+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728526AbgEIAjN (ORCPT + 99 others); Fri, 8 May 2020 20:39:13 -0400 Received: from mail.kernel.org ([198.145.29.99]:52624 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727984AbgEIAjN (ORCPT ); Fri, 8 May 2020 20:39:13 -0400 Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) (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 4562024956 for ; Sat, 9 May 2020 00:39:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1588984752; bh=lxWn3FHGQGcJm4LWAcdUb4NKG7yY8eIfeb3fsbkUvBU=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=mqmH9p0+kmT/7Ix3yaDgfmi9THxpI8yayvNF0LbPiT0MEYsHEe9+HmJr2HS3lCTTQ LeJTtVQwxYPZZByYVAXBY9xaAw4KQhjwZkEFeGP/zXo4EoRRs8RXObITaRwvkRYFvr X4gPJ/fdjOlFwvt9TsDDm4bl2XK9gvy6P8A0ayls= Received: by mail-wm1-f50.google.com with SMTP id g12so12582315wmh.3 for ; Fri, 08 May 2020 17:39:12 -0700 (PDT) X-Gm-Message-State: AGi0PuaxYvZfnFWTrMs/ivErXF8isxxysRS5evcxxv5CDg54uV3osrB7 xNrEajuCiox3ER/z+pywWWekk87o77bCwmvim/8l4Q== X-Received: by 2002:a7b:c5d3:: with SMTP id n19mr11653491wmk.21.1588984750777; Fri, 08 May 2020 17:39:10 -0700 (PDT) MIME-Version: 1.0 References: <20200505134354.774943181@linutronix.de> <20200505134903.346741553@linutronix.de> In-Reply-To: <20200505134903.346741553@linutronix.de> From: Andy Lutomirski Date: Fri, 8 May 2020 17:39:00 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [patch V4 part 3 01/29] x86/traps: Mark fixup_bad_iret() noinstr To: Thomas Gleixner Cc: LKML , X86 ML , "Paul E. McKenney" , Andy Lutomirski , Alexandre Chartre , Frederic Weisbecker , Paolo Bonzini , Sean Christopherson , Masami Hiramatsu , Petr Mladek , Steven Rostedt , Joel Fernandes , Boris Ostrovsky , Juergen Gross , Brian Gerst , Mathieu Desnoyers , Josh Poimboeuf , Will Deacon Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 5, 2020 at 7:15 AM Thomas Gleixner wrote: > > This is called from deep entry ASM in a situation where instrumentation > will cause more harm than providing useful information. > Acked-by: Andy Lutomirski Maybe add to changelog: Switch from memmove() to memcpy() because memmove() can't be called from noinstr code.