Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757586AbbFPUha (ORCPT ); Tue, 16 Jun 2015 16:37:30 -0400 Received: from lb2-smtp-cloud2.xs4all.net ([194.109.24.25]:37118 "EHLO lb2-smtp-cloud2.xs4all.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752916AbbFPUhT (ORCPT ); Tue, 16 Jun 2015 16:37:19 -0400 Message-ID: <1434487034.2069.86.camel@x220> Subject: Re: [PATCH] x86/raid6: correctly check for assembler capabilities From: Paul Bolle To: "H. Peter Anvin" Cc: NeilBrown , Jan Beulich , Valentin Rothberg , mingo@elte.hu, tglx@linutronix.de, james.t.kukunas@linux.intel.com, linux-kernel@vger.kernel.org Date: Tue, 16 Jun 2015 22:37:14 +0200 In-Reply-To: <5580819F.1080802@zytor.com> References: <54C2148E02000078000588FB@mail.emea.novell.com> <1422995490.23894.32.camel@x220> <20150204075033.25fb2317@notabene.brown> <1422997415.23894.44.camel@x220> <55807D28.7090702@zytor.com> <1434484619.2069.72.camel@x220> <5580819F.1080802@zytor.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4 (3.10.4-4.fc20) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 990 Lines: 28 On Tue, 2015-06-16 at 13:05 -0700, H. Peter Anvin wrote: > So this related to the CONFIG_AS_ symbols for assembly. We really would > like to do things like actually adding dependencies on assembler or > compiler support into Kconfig proper, rather than having two independent > mechanisms. That way we could do, for example: > > config RAID6_AVX2 > depends on X86 && AS_AVX2 I have no idea what AS_AVX2 means, sorry. So what would it mean if someone has a .config with CONFIG_AS_AVX2=foo Ie, what would happen if someone using a toolchain for which that would not be possible tries to build a kernel with that symbol set? That person's .config would end up containing # CONFIG_AS_AVX2 is not set or similar, right? Paul Bolle -- 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/