Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1909505imu; Wed, 28 Nov 2018 17:56:03 -0800 (PST) X-Google-Smtp-Source: AJdET5dbE2AHFyKUfYjeNY01F6Vka6Uc6c+9RDXHWzbFsF2gd/JPp/0Nt7pz5xRwyy6LO02UIZQd X-Received: by 2002:a62:15c3:: with SMTP id 186mr41176277pfv.240.1543456563378; Wed, 28 Nov 2018 17:56:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543456563; cv=none; d=google.com; s=arc-20160816; b=EPwJn+s/063z0Wwln3qCB727zD+pFIO8pRvxYgj2oAIcYiOd+1LKM33ZKhMfAW5EwQ yKYMkyT/Cl8uKVoWNAFAVdPYR0jH2G/jLO0Cwcl1f8VhdWnblZXtZ6F0Gv/m84GtM7D/ 6Z4L0b1OPsXBWKt92mpAjSRjllRDqOGtlHwb/4bjMotgy1aRSCU8EmoF2P9dyvMVOF8q ZEI8hK+dGoPWLORF9RcC+tITPzcIAH7cE3SemBa8zPbo9ToSsJKiIV1owP0zsklh9T3x QL32/VcYc5FRqF030DF6Nh28Fu4t6gfSwwaWc0RyxGYQwE8067AU3pqrNGRPldckYbsa prYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to:date :cc:to:from:subject:message-id; bh=RCj1XR3le3iPasTNFbZcJ/AY8sGrftnMKNAfSO92PI0=; b=Euc3pojN1WR+Id2d95B1BhmqOS74OtaONj5ZDTVAe3syveLM1Js6Pc3Q0nXLZ6nq43 /v7JiddhBn2Z1JwGYsMx7w293q2bs9VhybxMeLavvmrr96nd6Kh8zyIO6Y33n8yT/akx d0eQXWy99Lhqvg0N8bCuzZX+n5Evpo/EK1M/npectZZndZjlba1zrs6Vt49soZziruYM HxfLKrapWVpmEbj4FSbc2aXpue4dXdax7+SsdX0diEKkBit63XGQ0Qye3SQZTZS7D3ES BPPjhWBkce+nMSTlIyr01ASA7QG/o0h3hVRrvNeAGr4jTo3+4Z8hkNOK1gmtnCIHcGA6 zrsg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n4si424811pgd.10.2018.11.28.17.55.48; Wed, 28 Nov 2018 17:56:03 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727340AbeK2M6Q (ORCPT + 99 others); Thu, 29 Nov 2018 07:58:16 -0500 Received: from shelob.surriel.com ([96.67.55.147]:49648 "EHLO shelob.surriel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726893AbeK2M6Q (ORCPT ); Thu, 29 Nov 2018 07:58:16 -0500 Received: from imladris.surriel.com ([96.67.55.152]) by shelob.surriel.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1gSBXI-0008U1-EQ; Wed, 28 Nov 2018 20:54:36 -0500 Message-ID: Subject: Re: [PATCH 05/29] x86/fpu: add might_fault() to user_insn() From: Rik van Riel To: Sebastian Andrzej Siewior , linux-kernel@vger.kernel.org Cc: x86@kernel.org, Andy Lutomirski , Paolo Bonzini , Radim =?UTF-8?Q?Kr=C4=8Dm=C3=A1=C5=99?= , kvm@vger.kernel.org, "Jason A. Donenfeld" , Dave Hansen Date: Wed, 28 Nov 2018 20:54:36 -0500 In-Reply-To: <20181128222035.2996-6-bigeasy@linutronix.de> References: <20181128222035.2996-1-bigeasy@linutronix.de> <20181128222035.2996-6-bigeasy@linutronix.de> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-5lsNr2pVguhcsEL3ExOw" X-Mailer: Evolution 3.28.5 (3.28.5-1.fc28) Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-5lsNr2pVguhcsEL3ExOw Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, 2018-11-28 at 23:20 +0100, Sebastian Andrzej Siewior wrote: > Every user of user_insn() passes an user memory pointer to this > macro. >=20 > Add might_fault() to user_insn() so we can spot users which are using > this macro in sections where page faulting is not allowed. Nice catch. > Signed-off-by: Sebastian Andrzej Siewior Reviewed-by: Rik van Riel --=20 All Rights Reversed. --=-5lsNr2pVguhcsEL3ExOw Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEKR73pCCtJ5Xj3yADznnekoTE3oMFAlv/RtwACgkQznnekoTE 3oNEGAgAvdamUHqGVBDgH/3XH31RSfjNytZjvtvag4usnH4ry7YksXywIzSAINNO 0bXIeYVH5Cwn/HNUK78V6KjWcg2ZGrrcw7fTH1/zljyibW2h7ssw0/bpjRewbrch RZmoEDOObObzy6yxsPxLvxFZtPjEPTB7HZnRAa5lnJAhJreBbXtHT0QP/aS1T1CU rIzfYIYA69+VK+Z4LcH8nTpD3idMRG3eIAPFOf8ANuOiVOTBORiwYRGCPnuEkV2B cuH2+ow0SkY2wWPD1R2ONQv+hcFw/Yn3vChBlkhCexmIcdE+Kp2X5sZn8s0sgVsR cAv01HSseUfDA4dJx6qg2vs6yzuqAA== =C54D -----END PGP SIGNATURE----- --=-5lsNr2pVguhcsEL3ExOw--