Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp3838733rwi; Wed, 12 Oct 2022 07:24:32 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7VoBGqMAhmdBWbL3g/bbWW9cfB3VI2xyacc6Lymk8ENPSszRDK64HtZgp6OOAGjYgQ+5iJ X-Received: by 2002:a17:90a:c7cc:b0:20a:c595:16de with SMTP id gf12-20020a17090ac7cc00b0020ac59516demr5417153pjb.201.1665584671892; Wed, 12 Oct 2022 07:24:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665584671; cv=none; d=google.com; s=arc-20160816; b=GcZW3I61ewEavks5TlJDTfbrZe8GGqg3V3OwSAEMmJOvYmkZkQm/OMeyF0YW20ePvR osNPvuyw+Hd8lXkBjf0HCCo4R17Z8yKqw5hrSFqRe4rX8xRwftijMKrNyJY8f123rgKt ag8bJ8La0daaTf9XIDNYOdrcem0i/QB7+qaGNDBTwBa4KTZiJ3H7NpL5QnRCid+7zc5A ek+ukZZaO8+DSSk9RweVVUf+/KnqLInB7jU9s0zSjDRLaZzsv+tAfi5cTiF9eMOAkmxW 4X18k2qZKZExnG9yyCHoIlZfvn7/48cvS14Qcy0OeGzNEGhGupS2q6pv4bxJMR6oTc7v DJRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=UwDWRNkJGQZYPXASFfFy4nDVTplSALWCeqaFRDSnMMM=; b=zhJd4T98V7oW4t4VuklU8c223eig/9i0lOK/nPgLLZc05cbNYhftRp1chqF2xrMj4m txrvoUG/CAcWKRt17E2vxDe0RWKqxMKfJEBSZaWUKRQ0Yd2jyylDOFMT+UvDHYTEFaJ6 ECmP3dd+BcuwB1Fp/wf6szl/Iv5TOqvVaLa/+bGPvitEESAW/RjxlJpZ5ZtTv3zp4uPv eZdDncWV/MQp7nOS1KbTA296g8IZSR2bG57XLBN+1V5ce5aTy3ewYkThErZLGqS5CPtk 6EzS87+dBFnZ6eZz4Bi+TE/xSzmlHvL+rc/Af0JnPQPYsemHA2LSz2cOoZn7l9A7hleX 722w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=LL2zKKWR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t21-20020a63f355000000b004583940d4d3si18715224pgj.552.2022.10.12.07.24.18; Wed, 12 Oct 2022 07:24:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=LL2zKKWR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229829AbiJLONc (ORCPT + 99 others); Wed, 12 Oct 2022 10:13:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229792AbiJLON3 (ORCPT ); Wed, 12 Oct 2022 10:13:29 -0400 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1085CAA3E1; Wed, 12 Oct 2022 07:13:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1665584009; x=1697120009; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=w1F+xH3uOCNR/MUIW2In9TBDA4726uxIeG/UuOzJlbs=; b=LL2zKKWRjrCgvCAh4jh0MlatfffH3mtIHSpLu4zJKXdVFXl3hyDQq60a aRFZjWSeBuX74W1L9kbB0NFV91Ph1jex1yskwNjid1e111SSF/psosu8t SCu5byMTD3Qo0V5sixz/s3sieFSiXEcUYhjAtzkbRKzYwNvuCop7CgqPo BTnovh73Y4KEw9yUPrqnH4YAgDICNwGhTWARhKVClTZMY3BNT8UIbQnQ4 UMkeNJdfmX0TZrzU9vTCt2FuBuM2E1gTXqjR+xOyWp8E8b4lKRZjyR7x3 GS8+Gz+AAl++Yu9JKuCdljLcKGjjLE3OdRsS88yYLNeXun5mxRPRxFWl3 g==; X-IronPort-AV: E=McAfee;i="6500,9779,10497"; a="391108756" X-IronPort-AV: E=Sophos;i="5.95,179,1661842800"; d="scan'208";a="391108756" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Oct 2022 07:13:28 -0700 X-IronPort-AV: E=McAfee;i="6500,9779,10497"; a="769223030" X-IronPort-AV: E=Sophos;i="5.95,179,1661842800"; d="scan'208";a="769223030" Received: from mpatter1-mobl.amr.corp.intel.com (HELO [10.209.53.34]) ([10.209.53.34]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Oct 2022 07:13:26 -0700 Message-ID: <711f8036-787a-571e-1c0d-1a258175ebb2@intel.com> Date: Wed, 12 Oct 2022 07:13:26 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH] x86/sgx: Replace kmap/kunmap_atomic calls Content-Language: en-US To: Jarkko Sakkinen , Ira Weiny Cc: Kristen Carlson Accardi , linux-kernel@vger.kernel.org, linux-sgx@vger.kernel.org, Dave Hansen , Thomas Gleixner , Ingo Molnar , Borislav Petkov , x86@kernel.org, "H. Peter Anvin" References: <20220929160647.362798-1-kristen@linux.intel.com> From: Dave Hansen In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/12/22 00:15, Jarkko Sakkinen wrote: > There's no data to show that this change would be useful to do. Jarkko, I think the overall transition to kmap_local_page() is a good one. It is a superior API and having it around will pave the way for new features. I don't think we should demand 'data' for each and every one of these. Please take a look around the tree and see how other maintainers are handling these patches. They're not limited to SGX.