From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Cox Subject: Re: [PATCH] samsung-laptop: Disable if CONFIG_EFI=y Date: Sun, 4 Nov 2012 19:37:41 +0000 Message-ID: <20121104193741.7b4ca37b@pyramind.ukuu.org.uk> References: <1352050506-29317-1-git-send-email-matt@console-pimps.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-efi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Corentin Chary Cc: Matt Fleming , Matthew Garrett , LKML , linux-efi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, "platform-driver-x86-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Alessandro Crismani , Mikhail Bakhterev , Patrick H , Matt Fleming , "H. Peter Anvin" , stable-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: platform-driver-x86.vger.kernel.org > Acked-by: Corentin Chary This is totally bogus and prevents users build a kernel which can work in either mode. As such its a regression. Do the detection check at runtime. If it was booted via EFI then don't grovel in places you shouldn't. Indeed its possible EFI should reserve those memory regions ? Alan