From patchwork Wed Aug 21 23:29:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jarkko Sakkinen X-Patchwork-Id: 11108273 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 908DE14F7 for ; Wed, 21 Aug 2019 23:29:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7276322DD3 for ; Wed, 21 Aug 2019 23:29:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731483AbfHUX3H (ORCPT ); Wed, 21 Aug 2019 19:29:07 -0400 Received: from mga12.intel.com ([192.55.52.136]:18346 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729076AbfHUX3H (ORCPT ); Wed, 21 Aug 2019 19:29:07 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Aug 2019 16:29:06 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,414,1559545200"; d="scan'208";a="181191240" Received: from soegtrop-mobl1.ger.corp.intel.com (HELO localhost) ([10.252.52.79]) by orsmga003.jf.intel.com with ESMTP; 21 Aug 2019 16:29:04 -0700 From: Jarkko Sakkinen To: linux-sgx@vger.kernel.org Cc: Jarkko Sakkinen Subject: [PATCH 0/2] v22 fixes Date: Thu, 22 Aug 2019 02:29:00 +0300 Message-Id: <20190821232902.29476-1-jarkko.sakkinen@linux.intel.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-sgx-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sgx@vger.kernel.org Jarkko Sakkinen (2): x86/sgx: Remove duplicate check for entry->epc_page in sgx_encl_load_page() x86/sgx: Determine SECS at compile time in sgx_encl_eldu() arch/x86/kernel/cpu/sgx/driver/ioctl.c | 4 +-- arch/x86/kernel/cpu/sgx/encl.c | 50 ++++++++++++-------------- arch/x86/kernel/cpu/sgx/encl.h | 4 +-- arch/x86/kernel/cpu/sgx/reclaim.c | 34 +++++++++++------- 4 files changed, 48 insertions(+), 44 deletions(-)