Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1912790ybi; Sun, 16 Jun 2019 16:56:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqxdH+ZSXgOUUKW41eeRrMharwZnn6kkdPO56X4YZ+nA6O1cu87FoaUd46+NWzM5p737zgJC X-Received: by 2002:a62:2b81:: with SMTP id r123mr68690979pfr.108.1560729393976; Sun, 16 Jun 2019 16:56:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560729393; cv=none; d=google.com; s=arc-20160816; b=LKQJbTKB5b35xcM3CsHvnCOatqrtR+VyrU6HeIgpAIl/dyQ7wwFuify3A1MVu7aoMV 4U5OQ6cvHyZsH9hU5HlEgQLwHC6Y3sdvrBhLIdtmgsf5arQ2dVP0pv2X/Uz6W7k+zj98 q74M/vC3b6f30iCU3ZWhFikSPs4vkFwONrXoMF72jx73PbGSXIUfggZY2+VNADjMhC1O 2bfVXbKgxJXSPc6jeXqIZBJf7MnoUPoctrSfOZqEwbcohsl9NDvFgaHFwrL8VUigjOis jAgBg/IRB8PIQJsIiFg/mfwN4t2VGGnmT4yxlpQIXd5aE9ujAyR4RVYARejD9dux5JP8 JeuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:references:in-reply-to:subject:cc:to:from :dkim-signature; bh=eKbpzEiJylVko/AqUmYGdm35tR1kAF8kyTrOQOn/LZY=; b=FTIRo480ELA7SxykVe02S36QQ381RVC2gxMzv0CvdumhJRwFBn6EyfqYnyuAXJ6eQX 10ZR+8dxKqyQ87hcMf0smJnunoyy3H2x6AASU3BxGkr5B/C6u5wdwvzgL3jYlxIJbKxi Wo+p8wH4eQnOzcsE6Bvjy5QS74rd7efswug25BZUCAp0hlZA3CWvm5Tgc0EtscMj2Gef HHNGpvlsrpdrU0AMQwvaYSnXiQ55NHwYkSNXBrl8QMJ9A+NMxUEDIq/FfpY3c5xV+OFq yX6IjnpFhsxs+31qCzZDmSPRxKcP4rFvlU28vH3bvKqfWCXNidZnQlLw2ty+tnqCr+m5 FfHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@axtens.net header.s=google header.b=mjFgfEh9; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y2si9847280pgh.524.2019.06.16.16.56.15; Sun, 16 Jun 2019 16:56:33 -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; dkim=pass header.i=@axtens.net header.s=google header.b=mjFgfEh9; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727394AbfFPX4L (ORCPT + 99 others); Sun, 16 Jun 2019 19:56:11 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:39045 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727225AbfFPX4L (ORCPT ); Sun, 16 Jun 2019 19:56:11 -0400 Received: by mail-pg1-f196.google.com with SMTP id 196so4724420pgc.6 for ; Sun, 16 Jun 2019 16:56:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axtens.net; s=google; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=eKbpzEiJylVko/AqUmYGdm35tR1kAF8kyTrOQOn/LZY=; b=mjFgfEh9DpnUyYJnmm10xCAA44rjQ5vM3POmL21L1yxtntOM4gCLmgenR1CUMVLdRK bKJ5vWJRNlNGEcrq4IdxzCEHcpIe7vlLMfhuxhzjrr57rEblFOm2QshpZwxJlJUsK8FS r9C0ItB6L+JRovFIxzCuNpKzuioK88/Kll0kA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=eKbpzEiJylVko/AqUmYGdm35tR1kAF8kyTrOQOn/LZY=; b=eYC7l4q2AV3Za7jIdd64kGnaHOETRwahcA7W7MFN8HMwxSkMczpecUyZnCjoPBNfCh 6rkBaeDTyIJtZpB8Jp6oVdi72U3zAIlE22tXqurvPxlGqZEhdxFxg0/W6uwvgGIVxg5X B5bV2nTDtLGpZbIFi11gcVytD0zpnjyfzERNVL+8wzwc+AX+ioc3127kP/P7Wztt0L/F tGcyIRa8VJkoIShApfgt6yPAPTsR2e3vF6+xLFnBqF5XhVbGx0Y/Q/QbvfqZAnrRx/b9 dJkjIqBZ0QtDTbL2F1nkHEkKOZJ6gJaoIkHadt+0dq0uazwiLn1tnuclKdCf0KWlYwCB m6hg== X-Gm-Message-State: APjAAAXn5LVh33aN43DK5UMxzefJThhAtcqdxtFQAwg1oYKKJbSvJ+ge oGp6Zk9lhpXps51ktm/K4Q/8nQ== X-Received: by 2002:a63:6981:: with SMTP id e123mr22346754pgc.136.1560729370570; Sun, 16 Jun 2019 16:56:10 -0700 (PDT) Received: from localhost (ppp167-251-205.static.internode.on.net. [59.167.251.205]) by smtp.gmail.com with ESMTPSA id v4sm9131345pfb.14.2019.06.16.16.56.08 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sun, 16 Jun 2019 16:56:09 -0700 (PDT) From: Daniel Axtens To: Nayna Cc: Nayna Jain , linuxppc-dev@ozlabs.org, linux-efi@vger.kernel.org, linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org, Michael Ellerman , Paul Mackerras , Benjamin Herrenschmidt , Ard Biesheuvel , Jeremy Kerr , Matthew Garret , Mimi Zohar , Claudio Carvalho , Eric Richter Subject: Re: [PATCH v3 1/3] powerpc/powernv: Add OPAL API interface to get secureboot state In-Reply-To: References: <1560198837-18857-1-git-send-email-nayna@linux.ibm.com> <1560198837-18857-2-git-send-email-nayna@linux.ibm.com> <87ftofpbth.fsf@dja-thinkpad.axtens.net> <87d0jipfr9.fsf@dja-thinkpad.axtens.net> Date: Mon, 17 Jun 2019 09:56:05 +1000 Message-ID: <87tvcp2iga.fsf@dja-thinkpad.axtens.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Nayna, >> I guess I also somewhat object to calling it a 'backend' if we're using >> it as a version scheme. I think the skiboot storage backends are true >> backends - they provide different implementations of the same >> functionality with the same API, but this seems like you're using it to >> indicate different functionality. It seems like we're using it as if it >> were called OPAL_SECVAR_VERSION. > > We are changing how we are exposing the version to the kernel. The=20 > version will be exposed as device-tree entry rather than a OPAL runtime=20 > service. We are not tied to the name "backend", we can switch to calling= =20 > it as "scheme" unless there is a better name. This sounds like a good approach to me. Kind regards, Daniel > > Thanks & Regards, > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 - Nayna