From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760803AbcBYPNe (ORCPT ); Thu, 25 Feb 2016 10:13:34 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:48855 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760729AbcBYPNd (ORCPT ); Thu, 25 Feb 2016 10:13:33 -0500 Subject: Re: [PATCH v2 3/3] hvc_xen: make early_printk work with HVM guests To: Stefano Stabellini , xen-devel@lists.xensource.com References: <1456402239-4179-3-git-send-email-stefano.stabellini@eu.citrix.com> Cc: linux-kernel@vger.kernel.org, david.vrabel@citrix.com, konrad.wilk@oracle.com From: Boris Ostrovsky Message-ID: <56CF1A1F.9090402@oracle.com> Date: Thu, 25 Feb 2016 10:13:35 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <1456402239-4179-3-git-send-email-stefano.stabellini@eu.citrix.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Source-IP: userv0022.oracle.com [156.151.31.74] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/25/2016 07:10 AM, Stefano Stabellini wrote: > Refactor the existing code in xen_raw_console_write to get the generic > early_printk console work with HVM guests. > > Take the opportunity to replace the outb loop with a single outsb call > to reduce the number of vmexit. > > Signed-off-by: Stefano Stabellini Reviewed-by: Boris Ostrovsky