From: Takashi Iwai Subject: Re: [PATCH 1/1] intel8x0: [v2] Improve performance in virtual environment Date: Wed, 26 Oct 2011 15:43:13 +0200 Message-ID: References: <1319630415-33717-1-git-send-email-kozerkov@parallels.com> <4EA80B41.204@parallels.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4EA80B41.204@parallels.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Konstantin Ozerkov Cc: "Denis V. Lunev (openvz)" , "alsa-devel@alsa-project.org" , "patch@alsa-project.org" List-Id: alsa-devel@alsa-project.org At Wed, 26 Oct 2011 17:29:37 +0400, Konstantin Ozerkov wrote: > > On 26.10.11 17:03, Takashi Iwai wrote: > > Are the changes specific to x86, right? > > boot_cpu_has() seems x86 only, and kvm_para_*() isn't provided for all > > architectures. > > > > The best would be to provide a standard API for such detection. But, > > as a workaround, we may need a simple ifdef. > Is this really needed ? This is driver for controllers which is used only (AFIK) with x86 and x86_64 CPUs. I remember vaguely the implementation on PPC and others. Who knows. (And you can run a kernel in VM, right? :) Takashi