Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752713AbYLODj0 (ORCPT ); Sun, 14 Dec 2008 22:39:26 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751881AbYLODjP (ORCPT ); Sun, 14 Dec 2008 22:39:15 -0500 Received: from rhun.apana.org.au ([64.62.148.172]:57282 "EHLO arnor.apana.org.au" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751802AbYLODjP (ORCPT ); Sun, 14 Dec 2008 22:39:15 -0500 Date: Mon, 15 Dec 2008 14:38:42 +1100 From: Herbert Xu To: Huang Ying , Suresh Siddha Cc: Sebastian Andrzej Siewior , "akpm@linux-foundation.org" , "linux-kernel@vger.kernel.org" , "linux-crypto@vger.kernel.org" , "mingo@elte.hu" , "tglx@linutronix.de" Subject: Re: [RFC PATCH crypto] AES: Add support to Intel AES-NI instructions Message-ID: <20081215033842.GA28499@gondor.apana.org.au> References: <1229054926.5936.160.camel@yhuang-dev.sh.intel.com> <20081212195722.GA24489@Chamillionaire.breakpoint.cc> <1229307542.5936.204.camel@yhuang-dev.sh.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1229307542.5936.204.camel@yhuang-dev.sh.intel.com> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 976 Lines: 23 On Mon, Dec 15, 2008 at 10:19:02AM +0800, Huang Ying wrote: > > The general x86 implementation is used as the fall back for new AES-NI > based implementation. Because AES-NI can not be used in kernel soft_irq > context. If crypto layer is used to access general x86 implementation, Why is that? The VIA PadLock also "touches" the SSE state but we still use it on softirq paths. In fact Suresh told me earlier that your AES instruction wasn't going to have the SSE problems that VIA had, is this not the case? Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/