From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B1C6BC49ED7 for ; Mon, 16 Sep 2019 09:43:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 84C8D20890 for ; Mon, 16 Sep 2019 09:43:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="LYPv16VL" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729754AbfIPJnt (ORCPT ); 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-Google-Smtp-Source: APXvYqwQDZFclRdgOtaQowhwK27Fc2pfXt3l3C4LUVD7DeLpAv1lK3aEV8FvVRMisUkyNWnCVqlNWBY49goAWr2jCh4= 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-integrity-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-integrity@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