Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3277692imu; Thu, 29 Nov 2018 19:39:43 -0800 (PST) X-Google-Smtp-Source: AFSGD/V5EBJVbh00+wSBAt6mvoqRw2QOTpg37RwEdH4Dedp5iQf+h5JGMGDstzANrV9/9Jda5I4s X-Received: by 2002:a62:6f49:: with SMTP id k70mr3997950pfc.7.1543549182963; Thu, 29 Nov 2018 19:39:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543549182; cv=none; d=google.com; s=arc-20160816; b=V4f1PDCnO5j34gZ4pUN+gXv2W/EALw0H50yl3kaJc6EhBbloUBsobRYy8OBFnZd58e bnMN59LO9HpeM2P3E0OzyyuTbSDuuLlr8c2uqZosP8nIxGk31AUX1XspmTXJg8PaAW0k oTEz4T4mHCSlCBbDqM2C+G4HfdbMXyH/yrxnEVvq6AE8dO9QKDzUXYFHLQ/QjCDZxsSt cz9lNSzCdzTMFDq4noCLJWCpUz3xxjGqRzZFuZhRqExNp3F8V27v8mOpeY0l0RW6lxn1 +ViFFu3+w79SPV0w4DD4xVDy9ZFKD3xJKusjCfoIVYiSAj6vr35Sq7Wynw1VsMPLrq1f z0fQ== 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=oExCjExO33D1dIc6U4MglG9722irl81vN62A7Wetias=; b=XHhgsbKCOlBj2Y+5miGX9j8vEUL8x9zWSkvlmT7ZiqIlUyTkyX6CeiFh5LtKt8MSQC ORAZgyn6U1Dzker/7t61csm76UBNfyw229Cr/WaWIkNjxByQMeAXz/tGrcae2zXUELw8 ENv0gr/SRGB6szpECCJcgY674GnOi+FjP5L4d176cH5DMdwS1ktzoXC0BOaLVrtMQE6P rh6Y/iYhD2HaaI2tmYrCl0IznFIfWJqQadSbTwqWWYjoE3SfF6rhgyE2ZynIVHmW5S2U IntUqiFjCTpIqUd31Bzdehfe6sitAkAj5SxAhAOOtcYxS8u2zYimHMuva1HErsS0azxK dePg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v2si3960115plz.53.2018.11.29.19.39.27; Thu, 29 Nov 2018 19:39:42 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726507AbeK3Oql (ORCPT + 99 others); Fri, 30 Nov 2018 09:46:41 -0500 Received: from mail-pf1-f193.google.com ([209.85.210.193]:40440 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726355AbeK3OpA (ORCPT ); Fri, 30 Nov 2018 09:45:00 -0500 Received: by mail-pf1-f193.google.com with SMTP id i12so2082355pfo.7; Thu, 29 Nov 2018 19:37:09 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=oExCjExO33D1dIc6U4MglG9722irl81vN62A7Wetias=; b=A8IH085URQPPK0Qyc6cXIyskx3VogGpcsnlmenyXX3kmrkouVez4jCgbI5QB8URBta CfV/az3KNhM0Aab0WbZ2fz9gi7qwC9/dTAWXF+L8Sciddni550FWIXyJHBfyMmaBLk0V v63x7YE1BUIdAhSoBK+PgmPSxIDbioXfOGLyhzWBS/3q0YfsRdsA5TpRCP6LyznuDx/0 QNUDeOY88RRxX7enP6HmHP7h7MgbfZKovaddLERvjtaqgotwOGsaf3VnrsDgMJsc5pqW LBrDfDN5z1GxGgEMBkzzKqL4SXs54RkPfAo6GYKN6HFCGnKGMdP+tO+Qt+4UWflGK3FJ +RtQ== X-Gm-Message-State: AA+aEWbHZw+M2LarDb1UoKSBdm9qgBwJ7NGUGHgoKfquD8W7hDVETi27 H0tEBi6y2UmbwIarsnfVdZg= X-Received: by 2002:a63:e055:: with SMTP id n21mr3508781pgj.397.1543549028713; Thu, 29 Nov 2018 19:37:08 -0800 (PST) Received: from garbanzo.do-not-panic.com (c-73-71-40-85.hsd1.ca.comcast.net. [73.71.40.85]) by smtp.gmail.com with ESMTPSA id j70sm5119517pfc.43.2018.11.29.19.37.05 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 29 Nov 2018 19:37:07 -0800 (PST) Received: by garbanzo.do-not-panic.com (sSMTP sendmail emulation); Thu, 29 Nov 2018 19:37:04 -0800 Date: Thu, 29 Nov 2018 19:37:04 -0800 From: Luis Chamberlain To: Rob Herring Cc: Brendan Higgins , Greg Kroah-Hartman , Kees Cook , shuah@kernel.org, Joel Stanley , Michael Ellerman , Joe Perches , brakmo@fb.com, Steven Rostedt , "Bird, Timothy" , Kevin Hilman , Julia Lawall , linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com, "linux-kernel@vger.kernel.org" , Jeff Dike , Richard Weinberger , linux-um@lists.infradead.org, Daniel Vetter , dri-devel , Dan Williams , linux-nvdimm , Kieran Bingham , Frank Rowand , knut.omang@oracle.com Subject: Re: [RFC v3 06/19] arch: um: enable running kunit from User Mode Linux Message-ID: <20181130033704.GL18410@garbanzo.do-not-panic.com> References: <20181128193636.254378-1-brendanhiggins@google.com> <20181128193636.254378-7-brendanhiggins@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 28, 2018 at 03:26:03PM -0600, Rob Herring wrote: > On Wed, Nov 28, 2018 at 1:37 PM Brendan Higgins > wrote: > > > > Make minimum number of changes outside of the KUnit directories for > > KUnit to build and run using UML. > > There's nothing in this patch limiting this to UML. Not that one, but the abort thing segv thing is, eventually. To support other architectures we'd need to make a wrapper to that hack which Brendan added, and then allow each os to implement its own call, and add an asm-generic helper. Are you volunteering to add the x86 hook? Luis