From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752536AbbCYIq3 (ORCPT ); Wed, 25 Mar 2015 04:46:29 -0400 Received: from mail.skyhub.de ([78.46.96.112]:41632 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752498AbbCYIqY (ORCPT ); Wed, 25 Mar 2015 04:46:24 -0400 Date: Wed, 25 Mar 2015 09:44:39 +0100 From: Borislav Petkov To: Jim Kukunas Cc: Linux Kernel , tom.zanussi@linux.intel.com, Arjan van de Ven , "H. Peter Anvin" , tglx@linutronix.de, mingo@redhat.com, x86@kernel.org Subject: Re: [PATCH 10/11] x86/xip: resolve alternative instructions at build Message-ID: <20150325084439.GA3291@pd.tnic> References: <1427096800-30452-1-git-send-email-james.t.kukunas@linux.intel.com> <1427096800-30452-11-git-send-email-james.t.kukunas@linux.intel.com> <20150323083301.GA31992@pd.tnic> <20150325005049.GB2600@jtk-ivb.jf.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20150325005049.GB2600@jtk-ivb.jf.intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 24, 2015 at 05:50:49PM -0700, Jim Kukunas wrote: > XIP isn't a general feature that distros are going to be enabling. It's > designed for a very specific usage where people are building very custom > kernels. So something very very special which is not going to be enabled on distros... But it is touching main x86 code paths a good deal. We should think about abstracting it out of the way. The current EFI ifdeffery is already nasty and sprinkling #ifdef CONFIG_XIP_KERNEL in addition is making it even worse. :/ -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. --