From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754307AbcEYJvF (ORCPT ); Wed, 25 May 2016 05:51:05 -0400 Received: from smtp.citrix.com ([66.165.176.89]:38292 "EHLO SMTP.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754147AbcEYJvB (ORCPT ); Wed, 25 May 2016 05:51:01 -0400 X-IronPort-AV: E=Sophos;i="5.26,363,1459814400"; d="scan'208";a="356514459" Subject: Re: [Xen-devel] [PATCH 1/7] x86/xen: Simplify set_aliased_prot To: Andy Lutomirski , References: <0706f1a2538e481194514197298cca6b5e3f2638.1464129798.git.luto@kernel.org> CC: Kees Cook , Brian Gerst , , xen-devel , "Jan Beulich" , Borislav Petkov , Andrew Cooper , Boris Ostrovsky From: David Vrabel Message-ID: <57457582.9070608@citrix.com> Date: Wed, 25 May 2016 10:50:58 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.5.0 MIME-Version: 1.0 In-Reply-To: <0706f1a2538e481194514197298cca6b5e3f2638.1464129798.git.luto@kernel.org> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-DLP: MIA1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 24/05/16 23:48, Andy Lutomirski wrote: > In aa1acff356bb ("x86/xen: Probe target addresses in > set_aliased_prot() before the hypercall"), I added an explicit probe > to work around a hypercall issue. The code can be simplified by > using probe_kernel_read. Acked-by: David Vrabel David