From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B9C62C4332B for ; Fri, 20 Mar 2020 18:09:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 907A720775 for ; Fri, 20 Mar 2020 18:09:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726814AbgCTSJz (ORCPT ); Fri, 20 Mar 2020 14:09:55 -0400 Received: from mga04.intel.com ([192.55.52.120]:43779 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726801AbgCTSJz (ORCPT ); Fri, 20 Mar 2020 14:09:55 -0400 IronPort-SDR: sjT2M3QIRQz+QPgtZtcgkZsj7HfzygbklN0cb8088bufCQZ6khpl7eln4wQTUEOqO74nEA1Lf8 zBpkzS39jo+A== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Mar 2020 11:09:54 -0700 IronPort-SDR: G31U6PdHq8vxkUJcN/ufFLl9p0pBTfvOiYoNBs+ctltkywqsZgH+Ogq3ycQzPmAuGfu6nAGpyI sOTOpFydZBbA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,285,1580803200"; d="scan'208";a="248957145" Received: from aklimker-mobl1.ger.corp.intel.com (HELO localhost) ([10.255.197.99]) by orsmga006.jf.intel.com with ESMTP; 20 Mar 2020 11:09:52 -0700 Date: Fri, 20 Mar 2020 20:09:49 +0200 From: Jarkko Sakkinen To: linux-sgx@vger.kernel.org Cc: Sean Christopherson Subject: Re: [PATCH 2/2] selftests/x86/sgx: Move to selftests/sgx Message-ID: <20200320180949.GA389717@linux.intel.com> References: <20200320174716.27944-1-jarkko.sakkinen@linux.intel.com> <20200320174716.27944-2-jarkko.sakkinen@linux.intel.com> <20200320175212.GA166291@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200320175212.GA166291@linux.intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Sender: linux-sgx-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sgx@vger.kernel.org On Fri, Mar 20, 2020 at 07:52:17PM +0200, Jarkko Sakkinen wrote: > On Fri, Mar 20, 2020 at 07:47:16PM +0200, Jarkko Sakkinen wrote: > > Move selftest under the top level selftests directory so that we don't > > need to clutter x86/Makefile. The changes made for x86/Makefile caused > > also issues with packaging the selftests. Finally, SGX assets need their > > own tailored compilation environment. > > > > With this change BuildRoot nicely packages both standard x86 selftests > > and our SGX test. > > > > Cc: Sean Christopherson > > Signed-off-by: Jarkko Sakkinen > > Promise that this my last update to selftests. Just wanted to hammer > these quickly to cause minimum amount of distraction with the other > patch set. Otherwise, would be very hard to focus on reviewing those > chages. The changes I've done I think are no brainers. That's why I > don't hold for long before merging. Merged: # ./test_sgx SUCCESS Also: # ls sgx encl.bin test_sgx # ls x86 check_initial_reg_state_64 syscall_arg_fault_64 fsgsbase_64 syscall_nt_64 ioperm_64 syscall_numbering_64 iopl_64 sysret_rip_64 mov_ss_trap_64 sysret_ss_attrs_64 protection_keys_64 test_mremap_vdso_64 sigreturn_64 test_vdso_64 single_step_syscall_64 test_vsyscall_64 /Jarkko