Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1371744ybl; Fri, 16 Aug 2019 13:52:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqxsL6DT01pWCdQkPxmhU93TmKMgTqrtdjtoNGNN0GsCkXgk3nWyt5yH7cHtpl9OQYGb8xIT X-Received: by 2002:a17:902:b084:: with SMTP id p4mr10986725plr.309.1565988726157; Fri, 16 Aug 2019 13:52:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565988726; cv=none; d=google.com; s=arc-20160816; b=YUZoxDUePwa9HMad2oKEUKkFskpc3ZC6PdFmxeYuLEwt4hor7qsCeeh/2CHZyu/pFS 3j6iUBlANudtlPdIk25sDy45XKZMUD3FpDfVaa+0uiqyWv5zrI+u7jrcTQdwHZS+C0dn foQawktpE18tGByI7jBMPZjEhH4T6NQaUkqKrA1u3RwgwyiYiA2P9JXqzsAZD0pjVPV/ zY56DN8EpYFsz/+3eQd/9iMkCWmbbHgolHAPQnC4wQJFlnvXrghNpi2Xu+GABnO6DLuA 1+b9CM43QQhhNEwKTUg2zd5I4sRS1HSz9EIJSl08C321XrTdZ6V2CdzSQzqOS8xI+vO+ gPuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from; bh=pjM5+ANxAJ3vI80SGdmgzLSzDYu6Ani9rZ08tudIpMY=; b=u/NTL+pybKHSng00tlf+N1fZxTnTjxyxCAbWOu+kwJY6EwU8vr3U7paEYlCM5VizXv /NNpl0jVVicFlCl1pVaOw3Ux1kU5hbFJzucht5PZGjG4sflCxe7veOKxNCb53nYew7d7 OiHaZKrsd+kElkDavWoNLOmnohv/psAiFkcOYjV+B0NEHf4bcg0GWjg85U9Md/Xq2P7X SyQ4qRKWdB1lgPkxcCoI4Kc0LONtbY+OTzFkqP5WTg5W/Wxt1TvwDO8cjRIiQ8lfHB6y q5tnYZP8ddkEx3zccwgqKHLYLAAmgKVAibqXP5jTKB+ECNOpq7omKPI8Azzig4KR+Wm7 29cA== 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u9si4451282pgr.196.2019.08.16.13.51.50; Fri, 16 Aug 2019 13:52:06 -0700 (PDT) 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727717AbfHPUvC (ORCPT + 99 others); Fri, 16 Aug 2019 16:51:02 -0400 Received: from mx1.redhat.com ([209.132.183.28]:53012 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727589AbfHPUvB (ORCPT ); Fri, 16 Aug 2019 16:51:01 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id AD16B3086208; Fri, 16 Aug 2019 20:51:01 +0000 (UTC) Received: from segfault.boston.devel.redhat.com (segfault.boston.devel.redhat.com [10.19.60.26]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 3F3EF10016EB; Fri, 16 Aug 2019 20:51:01 +0000 (UTC) From: Jeff Moyer To: Dan Williams Cc: linux-nvdimm@lists.01.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/3] libnvdimm/security: Consolidate 'security' operations References: <156583201347.2815870.4687949334637966672.stgit@dwillia2-desk3.amr.corp.intel.com> <156583202899.2815870.9164783407864995953.stgit@dwillia2-desk3.amr.corp.intel.com> X-PGP-KeyID: 1F78E1B4 X-PGP-CertKey: F6FE 280D 8293 F72C 65FD 5A58 1FF8 A7CA 1F78 E1B4 Date: Fri, 16 Aug 2019 16:51:00 -0400 In-Reply-To: <156583202899.2815870.9164783407864995953.stgit@dwillia2-desk3.amr.corp.intel.com> (Dan Williams's message of "Wed, 14 Aug 2019 18:20:29 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.42]); Fri, 16 Aug 2019 20:51:01 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dan Williams writes: > The security operations are exported from libnvdimm/security.c to > libnvdimm/dimm_devs.c, and libnvdimm/security.c is optionally compiled > based on the CONFIG_NVDIMM_KEYS config symbol. > > Rather than export the operations across compile objects, just move the > __security_store() entry point to live with the helpers. > > Cc: Dave Jiang > Signed-off-by: Dan Williams Fine by me. Acked-by: Jeff Moyer