Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3737724imu; Mon, 7 Jan 2019 08:33:44 -0800 (PST) X-Google-Smtp-Source: ALg8bN4fAb0ajCZVYSE2u5jTmWbuMHBvb0f7cTXQ6fngAM9S6mVD9SwVcU8uqbJPmcQGDCKaPWGI X-Received: by 2002:a17:902:28e9:: with SMTP id f96mr62036832plb.169.1546878824329; Mon, 07 Jan 2019 08:33:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546878824; cv=none; d=google.com; s=arc-20160816; b=JDfzfyCKHsg70XHdxYnXqf2kn8D3RGmvkuOUDjC6ejiAaRmOkZ3ulZduFkbz/nBDCT FUNb1eZ8Jzah4gyO6N7Nvpl8R+7/k8pOh2f1M/0GeADphu5d9Yc/6rKNlScL4inX19Qa qZBxKVyAG7MaBrILqlAY69hxxe+Fk2A056Zy5ET58RXexEuw0nnipSQYdB3zORoyMOWe yVE85KxNdKMmh8jWjiBnbXOj+QCBS6RT7gLrKsG4bO2UYoJs/IKCW0zy7o6SypqYsYkV +Pa3RTcICR4B+shgvDK0UL6FlMyjO1IvF4Zr4EAEquZIvIFJgXZjIAXXz4NLa9llfFkd 51hA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=Jj4Ent1mTXhzFvnSXHDAFkFLe7ufJcOEgNbknhESR6U=; b=xu9mUnq+rP0NaeNgZJkGNiTe7BJFLmrIsJpiFHLPHurY0uBRlDCeY0yz3sMKS23oXb JPm4O+tnDdIKCSBZrYHuqaBYCqEf8UK3yQrfBeWuHZ77d6oDugxjUnFs+lALQQ2L0YMz +Gvp/B7W7DQa7ZXeThibhPZx+xkvgjygxiR5BSGt1wsByPStJS6gLa0U5caOZG0PjAvH JWsQT+UdgajfTDzuMsUrN8F2/w4q/jGVhcb0FVtoOnwz88fv2VygexLI61CXCXAVan3Y HxnOwU+/K0zvjW707Yv/sFhJARmbd45K3ZlbKX9OdCtDOkbWkYVohoSwmVa33pyUESD1 3Rlw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 76si7732306pfw.66.2019.01.07.08.33.29; Mon, 07 Jan 2019 08:33:44 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728677AbfAGOjd (ORCPT + 99 others); Mon, 7 Jan 2019 09:39:33 -0500 Received: from foss.arm.com ([217.140.101.70]:60530 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727398AbfAGOjb (ORCPT ); Mon, 7 Jan 2019 09:39:31 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id D704680D; Mon, 7 Jan 2019 06:39:30 -0800 (PST) Received: from lakrids.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 364973F5AF; Mon, 7 Jan 2019 06:39:29 -0800 (PST) Date: Mon, 7 Jan 2019 14:39:24 +0000 From: Mark Rutland To: Mark Brown Cc: Anders Roxell , linux-kernel@vger.kernel.org, catalin.marinas@arm.com, will.deacon@arm.com, arnd@arndb.de, mingo@redhat.com, rostedt@goodmis.org, akpm@linux-foundation.org Subject: Re: [RFC PATCH 3/3] arm64: add a new config option KTEST_RUNNABLE Message-ID: <20190107143924.GA46743@lakrids.cambridge.arm.com> References: <20181213122910.24193-1-anders.roxell@linaro.org> <20181213122910.24193-4-anders.roxell@linaro.org> <20181213151823.GK10669@sirena.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181213151823.GK10669@sirena.org.uk> User-Agent: Mutt/1.11.1+11 (2f07cb52) (2018-12-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 13, 2018 at 03:18:23PM +0000, Mark Brown wrote: > On Thu, Dec 13, 2018 at 01:29:10PM +0100, Anders Roxell wrote: > > > With this new config option, we can boot a allmodconfig kernel in qemu. > > Config options SERIAL_AMBA_PL011, SERIAL_AMBA_PL011_CONSOLE, UNIX needs > > to be enabled in order to get a console. Options like CPU_BIG_ENDIAN, > > CMDLINE_FORCE, CMDLINE_OVERRIDE and HVC_DCC needs to be disabled. > > Does ktest really not run with BIG_ENDIAN? > > > +config KTEST_RUNNABLE > > + bool "Test build kernels that run in qemu for ktest" > > + select SERIAL_AMBA_PL011 > > + select SERIAL_AMBA_PL011_CONSOLE > > + select UNIX > > The opposite angle for my question on patch 1 I guess but is this really > a generic thing for running ktest? It seems like it's specific to qemu > (and other systems which have the PL011 as the console serial port). This is definitely platform-specific rather than ktest specific. If I wanted to run ktest in a kvmtool VM, I would not need PL011 at all, since that uses 8250 and virtio-console. Thanks, Mark.