Messages in this thread | | | Date | Wed, 27 Jan 2016 13:28:15 +0100 | From | Borislav Petkov <> | Subject | Re: [PATCH 5/5] x86: test early command-line code |
| |
On Tue, Dec 22, 2015 at 02:52:44PM -0800, Dave Hansen wrote: > > From: Dave Hansen <dave.hansen@linux.intel.com> > > Here are some simple tests for the early command-line code. It > had way more bugs than it should have, so let's make sure they > never pop up again. > > Note, there are a few failures in here now. We will fix those > up in the next few patches. > > This is complete overkill for this code, but I had to do it to > convince myself that I wasn't making it any worse. > > Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com> > Cc: Borislav Petkov <bp@suse.de> > Cc: H. Peter Anvin <hpa@zytor.com> > Cc: linux-kernel@vger.kernel.org > Cc: fenghua.yu@intel.com > Cc: yu-cheng.yu@intel.com > --- > > b/arch/x86/Kconfig.debug | 7 ++ > b/arch/x86/kernel/check.c | 1 > b/arch/x86/kernel/setup.c | 9 +++ > b/arch/x86/lib/cmdline.c | 122 ++++++++++++++++++++++++++++++++++++++++++++++
First 4 applied, thanks.
This one belongs into tools/testing/selftests/x86/, AFAICT, and can be run in userspace just the same.
-- Regards/Gruss, Boris.
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) --
| |