Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1716087

Re: [PATCH] tpm/tpm_crb: Access locality for non-ACPI and non-SMC start method

From Jiandi An <anjiandi@codeaurora.org>
Newsgroups linux.kernel
Subject Re: [PATCH] tpm/tpm_crb: Access locality for non-ACPI and non-SMC start method
Date 2017-08-21 05:50 +0200
Message-ID <ugLSV-7re-1@gated-at.bofh.it> (permalink)
References <ufGVj-6zL-5@gated-at.bofh.it> <ugfq2-42G-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



On 08/19/2017 12:05 PM, Jarkko Sakkinen wrote:
> On Thu, Aug 17, 2017 at 11:15:36PM -0500, Jiandi An wrote:
>> For ARM64, the locality is handled by Trust Zone in FW.
>> The layout does not have crb_regs_head.  It is hitting
>> the following line.
>> dev_warn(dev, FW_BUG "Bad ACPI memory layout");
>>
>> Current code excludes CRB_FL_ACPI_START and when
>> CRB_FL_CRB_SMC_START is added around the same time
>> locality support is added, it should also be excluded.
>>
>> For goIdle and cmdReady where code was excluding
>> CRB_FL_ACPI_START only (do nothing for ACPI start method),
>> CRB_FL_CRB_SMC_START was also excluded as ARM64 SMC start
>> method does not have TPM_CRB_CTRL_REQ.
>> Change if confition to white list instead of black list.
>>
>> Signed-off-by: Jiandi An <anjiandi@codeaurora.org>
>
> Is this v2? If so, where is the change log?
Based on the previous comments, I now understand that
because of Intel PTT bug workaround, it is not appropriate
for the patch to have title/subject "Access locality for
only CRB_START method"

So the more descriptive patch title is "Access locality for
only non-ACPI and non-SMC start method".  Because the patch
is changed, I thought I start a new series.  Would you like
me to tag this v3 and put change log even though patch title
has changed?

Thanks
- Jiandi

>
> /Jarkko
>

-- 
Jiandi An
Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm 
Technologies, Inc.
Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a 
Linux Foundation Collaborative Project.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] tpm/tpm_crb: Access locality for non-ACPI and non-SMC start method Jiandi An <anjiandi@codeaurora.org> - 2017-08-18 06:20 +0200
  Re: [PATCH] tpm/tpm_crb: Access locality for non-ACPI and non-SMC  start method Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2017-08-19 19:10 +0200
    Re: [PATCH] tpm/tpm_crb: Access locality for non-ACPI and non-SMC  start method Jiandi An <anjiandi@codeaurora.org> - 2017-08-21 05:50 +0200
      Re: [PATCH] tpm/tpm_crb: Access locality for non-ACPI and non-SMC  start method Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2017-08-22 19:40 +0200
  Re: [PATCH] tpm/tpm_crb: Access locality for non-ACPI and non-SMC  start method Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2017-08-22 19:50 +0200
    Re: [PATCH] tpm/tpm_crb: Access locality for non-ACPI and non-SMC  start method Jiandi An <anjiandi@codeaurora.org> - 2017-08-22 23:30 +0200
      Re: [PATCH] tpm/tpm_crb: Access locality for non-ACPI and non-SMC  start method Jason Gunthorpe <jgunthorpe@obsidianresearch.com> - 2017-08-23 04:30 +0200
      Re: [PATCH] tpm/tpm_crb: Access locality for non-ACPI and non-SMC  start method Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2017-08-24 14:30 +0200
        Re: [PATCH] tpm/tpm_crb: Access locality for non-ACPI and non-SMC  start method Jiandi An <anjiandi@codeaurora.org> - 2017-08-24 19:30 +0200

csiph-web