Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp3921318ybe; Mon, 16 Sep 2019 03:45:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqwM1gd/LVOYrFcYbpc63uRx43dKsID9Z7dM33v7qNd/45JfRUR8hGknI5btDQT2jM/fHrh8 X-Received: by 2002:a50:e691:: with SMTP id z17mr60939416edm.84.1568630726716; Mon, 16 Sep 2019 03:45:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568630726; cv=none; d=google.com; s=arc-20160816; b=CrClhNto1rs6FL7e3blonEvk4WFY5D2adUFMCEOLa6JX99WymlTNzJN2zoqZLRQdb7 NvWLVEMGPStlsXETYa3Ccd0BuzzgB9Yi29O7U9HrM98P2zskKfEJufovf8BYntI1ky6K G11d0ncnzrEJQsKPTNy7RBnptVjMd+J3xbMUgKaxCm1Lw8b8Nnxxv3DYNxvuWESXWHJ5 HWm1FCNhhODNsFZaufyWgOPstd2plLVIcxrSRdTxOcLUAXZ8AA3DlhvrKxApAFze1zVI IF5C82k/qiAiOnOrpGQs5Cx1TKELLAgJI2eIxtAtqutWSFz/OMpevx474yAeQPx76FPO 0WVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=yjNunVcFcb1AtMRe3JD5r9e1bCJQZPifOYDK4iB7laQ=; b=T77Q9dgsffU+24g/KTI2It8u0jFKa4BJxvCwb1o8/kOr7Lad4IGZdjVFsMpYyyP7iS +t3CQTMZKu8gvkEVLENHh6p3uGfBiiXyFxjNj48rHhiDjLr4/VFOoZVdpvqiARnCQRFh 7fM1XA8LSTT1YUPiyHUIihYJ1oaG8FC9k/AanvUi5xyy1VtV1W5d2rCFF7FTMyLlLUTU fIEg4WJ28fskhpH3IgJ7E8P4mTzSNOAFUMIyOWg0k9f4pRzNTtKKGsL2MHuuWHB96Cpj orLDoSe8zl2XMCMo4MTyuB9Qbpmz1gCCghnvT293HIqpOSaeRtPsMpNpzazgH+wTxLzy cB1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=LYPv16VL; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a19si18209938ejj.73.2019.09.16.03.44.59; Mon, 16 Sep 2019 03:45:26 -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=@gmail.com header.s=20161025 header.b=LYPv16VL; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732033AbfIPJnt (ORCPT + 99 others); Mon, 16 Sep 2019 05:43:49 -0400 Received: from mail-yb1-f194.google.com ([209.85.219.194]:39640 "EHLO mail-yb1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729713AbfIPJns (ORCPT ); Mon, 16 Sep 2019 05:43:48 -0400 Received: by mail-yb1-f194.google.com with SMTP id o80so9639874ybc.6; Mon, 16 Sep 2019 02:43:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=yjNunVcFcb1AtMRe3JD5r9e1bCJQZPifOYDK4iB7laQ=; b=LYPv16VLQwZa7Bei4G3tjlpPS6x1Jw1XJLzRZr+qI62qk3OAtJl/49pqjKISLXCMkW /5hkxaj9gS/N4RtlHrh7+xo+UmCtBhoXSrCdIAOZ/zcpQU6bnkETmhHa0pRbl1XpUk2I gKhf8sdHseMWCnmwEBzPzPidfveK22nJQNKokdTWxzch0JzPcOmG901heP0xZduiVN6W j8NqPyU7PLAe7JK7oBDD/OPwuJgakSR/Kk+JC3VG+vhOhGZWw4QK3VNyvEQrSFYDCC5v at4SFm67c7C5hlJMcBO7RGXXRYSsmfyMoKAxhRdkTx9tkd5qb64tCPJ4euNcCsMYyB/4 jicw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=yjNunVcFcb1AtMRe3JD5r9e1bCJQZPifOYDK4iB7laQ=; b=VOWQLyDwfIr+qdIz3Mt+MYYBkJjlJ8EmhDvZT06Kfg1BTNBcViZGV56N6cLADfRPkh qScckhc8xZu0w+gPo5ppAaB1r8qxPcpRr4VnQD5fhPKr9+Q7m8AAitUZPIFF1EADSza7 C7ekO7nehxNR8EMNNtPYN5twwwBYOR+rmzA83tpJV/AhDAnPLuEnWfPuHpCQXl+ms3s6 5xSuqkFIVFVO/886NEFFwr/NaPxcDiAI0ht0MpODR/vSESGsApRJ6pMDYWjeSlSmyoMY 8T+rhjvczWnSdXzFoG0beVpOhMW/6+mMfAApPBeF17v+5hKjZq99ba3w6BuAxRT7mLLQ scTA== X-Gm-Message-State: APjAAAUMRfXcw5RfejIFQQ9Y3AjqC/yy7zJ5hTAhUfW7vyPQ1qWBPDnD BgncRRS3Jype5uY0cihSyXm1gsCh68iFUSvaNyI= X-Received: by 2002:a25:40cc:: with SMTP id n195mr8705599yba.341.1568627027653; Mon, 16 Sep 2019 02:43:47 -0700 (PDT) MIME-Version: 1.0 References: <20190913140006.GA29755@linux.intel.com> <20190913140218.GB29755@linux.intel.com> <20190916090741.GA31747@linux.intel.com> In-Reply-To: <20190916090741.GA31747@linux.intel.com> From: Seunghun Han Date: Mon, 16 Sep 2019 18:43:36 +0900 Message-ID: Subject: Re: [PATCH v2] Fix fTPM on AMD Zen+ CPUs To: Jarkko Sakkinen Cc: Vanya Lazeev , arnd@arndb.de, Greg Kroah-Hartman , Jason Gunthorpe , "open list:TPM DEVICE DRIVER" , Linux Kernel Mailing List , Peter Huewe Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Eessentially what you want to do is to detach and backup the original > NVS resources and put them back to the list with insert_resource() when > tpm_crb is removed. At least I think this is what should be done but you > should CC your patch also to the ACPI list for feedback. > > /Jarkko Yes, you are right. But, what I really want to do is requesting command/response buffer regions from NVS driver and releasing them. To detach and backup the original NVS resources with insert_resource() or remove_resource() are not needed maybe. I have some idea about it, so I have sent an email to you. Would you check the email and give comments? The link is here, https://lkml.org/lkml/2019/9/16/112 . Seunghun