Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp3902037rwi; Wed, 12 Oct 2022 08:09:25 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6xEQeZIqn1zWDYQLhX2UB+KQsQKtbFx6bTdJZRpQLhpn5bSTXo8h/rMYP+jT+2CtzN1bvP X-Received: by 2002:a17:90b:1b4f:b0:20d:363d:7943 with SMTP id nv15-20020a17090b1b4f00b0020d363d7943mr5829488pjb.106.1665587364775; Wed, 12 Oct 2022 08:09:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665587364; cv=none; d=google.com; s=arc-20160816; b=U9NyD+JqnbyocMwP5rp/DaT0o4dznaM8trnzhBcH433liiEY7uunz5gZXF8h6LuLBE s3yc9XYWKH+TQ/ZVknV4D1ghHCT5kDxcxcQKUHpQQejqsflshdepu9ij+sNVkjUjVkhK 6WUrP18GSg292q2JXPMFN/Gu9th2CzGkmSGMFQmygTv80v08MhWUiukjHgs7BoalyOWF Dh2kmChVARcF798cbhZHueQp9rgLu1+a9I5mX4TfMhZPOtK0JyuKiDSw7GUM2jt3Q6k4 nqr5CNezIrMHR8lAC9jSMM8kgeG8ONInuTYpD4areZSRuiDTMUaZDgkX1sDk7AhtnyU+ 6qJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=9iTcLpIXQyrcW2N1WesRvNbVDbZXdgFk27zuJ5bOLSU=; b=AsNGhRHR7TmJpo1cXjJlGURMSgI2Mg2Tbn6Fo5MnbxAQTfYRcCdbcdVRlIh+z2Qx9h iKFlpSXKg7J0tVSUexNX/++XuiVdXSzGrXBFN6YCR0rZ/tLB1Zf0h+7gtXqad5q+Y803 noFSwQ8kEsTbbiG94Og7eIAmQhZU07mLC6s/W1wg97Ibbs6g84/TuDkAWpTNanZ6904i d78IZvl2PVmzULq5sHpzCRdGiQfUO0Kd8wXUrPYwXkSyObliq8B+t6mKcv2/oBmMs5Ep sma0VXKjy6GNINMHGWzEuadygF1330nEu95HCjqrbYXay3O8ZK/pIZRWyN0k5ZrF14Vd hMQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Y3GTmsFg; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bt9-20020a17090af00900b0020d65f31df8si2180271pjb.143.2022.10.12.08.09.12; Wed, 12 Oct 2022 08:09:24 -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=@kernel.org header.s=k20201202 header.b=Y3GTmsFg; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229762AbiJLOua (ORCPT + 99 others); Wed, 12 Oct 2022 10:50:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49548 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229744AbiJLOu1 (ORCPT ); Wed, 12 Oct 2022 10:50:27 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0C9640BFA; Wed, 12 Oct 2022 07:50:25 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 2D413B81B34; Wed, 12 Oct 2022 14:50:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2A283C433D6; Wed, 12 Oct 2022 14:50:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1665586222; bh=eVKl0wqt9W+ZZ9zWc15s27SxTrfKi2PuqJ1GwfcNviw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Y3GTmsFg9zuySZkZgvOYCgdgrRc1VQroZzkpifVrkvoGYatmDgweAWvOjfZKmPw5X ZuD3KsLgvB/MpUOyftWrdOedWgED/duw2zGIChHrucc5z4v/vbt+qYKgq2jlTsQvSe 1pkLLZ+vZq7lYqBr8mP9QYLINkgQCG+0EaPVua57MXE8u2Sa6TE3C4r2kX5Q6qron1 LXmgvAn4/W1/HJxGctgurtd4I86xISr/WIBoT8HZBwrC6eCc06CC1HV3pVpxgZgYkq SdozyyqzbAGQ5WHU0F+9m431kRadiEBY9gRz696p+X8x+RiPlg3J4OsUKfLYedV2Ia 794wGulGYaAbA== Date: Wed, 12 Oct 2022 17:50:19 +0300 From: Jarkko Sakkinen To: Dave Hansen Cc: Ira Weiny , 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" Subject: Re: [PATCH] x86/sgx: Replace kmap/kunmap_atomic calls Message-ID: References: <20220929160647.362798-1-kristen@linux.intel.com> <711f8036-787a-571e-1c0d-1a258175ebb2@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <711f8036-787a-571e-1c0d-1a258175ebb2@intel.com> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 Wed, Oct 12, 2022 at 07:13:26AM -0700, Dave Hansen wrote: > 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. Sure, I'll take a look for comparison. BR, Jarkko