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=-10.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham 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 59532C3A5A3 for ; Tue, 27 Aug 2019 19:34:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 35EDC21881 for ; Tue, 27 Aug 2019 19:34:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729626AbfH0Tek (ORCPT ); Tue, 27 Aug 2019 15:34:40 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:12866 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726871AbfH0Tek (ORCPT ); Tue, 27 Aug 2019 15:34:40 -0400 Received: from pps.filterd (m0098394.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x7RJW802101530; Tue, 27 Aug 2019 15:34:38 -0400 Received: from ppma01wdc.us.ibm.com (fd.55.37a9.ip4.static.sl-reverse.com [169.55.85.253]) by mx0a-001b2d01.pphosted.com with ESMTP id 2un8s8myhg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 27 Aug 2019 15:34:38 -0400 Received: from pps.filterd (ppma01wdc.us.ibm.com [127.0.0.1]) by ppma01wdc.us.ibm.com (8.16.0.27/8.16.0.27) with SMTP id x7RJUrfI022776; Tue, 27 Aug 2019 19:34:36 GMT Received: from b01cxnp22035.gho.pok.ibm.com (b01cxnp22035.gho.pok.ibm.com [9.57.198.25]) by ppma01wdc.us.ibm.com with ESMTP id 2ujvv69hx9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 27 Aug 2019 19:34:36 +0000 Received: from b01ledav002.gho.pok.ibm.com (b01ledav002.gho.pok.ibm.com [9.57.199.107]) by b01cxnp22035.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x7RJYaqK37618144 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 27 Aug 2019 19:34:37 GMT Received: from b01ledav002.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id DB2AC124055; Tue, 27 Aug 2019 19:34:36 +0000 (GMT) Received: from b01ledav002.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id CB7AD124053; Tue, 27 Aug 2019 19:34:36 +0000 (GMT) Received: from sbct-3.pok.ibm.com (unknown [9.47.158.153]) by b01ledav002.gho.pok.ibm.com (Postfix) with ESMTP; Tue, 27 Aug 2019 19:34:36 +0000 (GMT) Subject: Re: [PATCH] tpm_tis: Fix interrupt probing To: Jarkko Sakkinen , Stefan Berger Cc: linux-integrity@vger.kernel.org, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org References: <20190820122517.2086223-1-stefanb@linux.vnet.ibm.com> <20190827131400.qchcwa2act24c47b@linux.intel.com> <20190827151915.hb4xwr2vik2i5ryb@linux.intel.com> From: Stefan Berger Message-ID: <797ff54e-dceb-21d2-dd74-e5244f9c6dfd@linux.ibm.com> Date: Tue, 27 Aug 2019 15:34:36 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <20190827151915.hb4xwr2vik2i5ryb@linux.intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-MW X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-08-27_04:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=518 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1908270184 Sender: owner-linux-security-module@vger.kernel.org Precedence: bulk List-ID: On 8/27/19 11:19 AM, Jarkko Sakkinen wrote: > On Tue, Aug 27, 2019 at 04:14:00PM +0300, Jarkko Sakkinen wrote: >> On Tue, Aug 20, 2019 at 08:25:17AM -0400, Stefan Berger wrote: >>> From: Stefan Berger >>> >>> The interrupt probing of the TPM TIS was broken since we are trying to >>> run it without an active locality and without the TPM_CHIP_FLAG_IRQ set. >>> >>> Signed-off-by: Stefan Berger >> Need these: >> >> Cc: linux-stable@vger.kernel.org >> Fixes: a3fbfae82b4c ("tpm: take TPM chip power gating out of tpm_transmit()") >> >> Thank you. I'll apply this to my tree. >> >> Reviewed-by: Jarkko Sakkinen > The commit went in the following form: > > http://git.infradead.org/users/jjs/linux-tpmdd.git/commit/9b558deab2c5d7dc23d5f7a4064892ede482ad32 I saw you dropped the stetting of the IRQ flag - I needed it, otherwise it wouldn't execute certain code paths.    Stefan