Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp4191209ybc; Tue, 26 Nov 2019 05:22:29 -0800 (PST) X-Google-Smtp-Source: APXvYqxNWehs1kQdj6XXtuNWkFpZOqCwaXXBZCc7dtpOiUgoEQRJrxRUNwAN49hNEImC770XVrTm X-Received: by 2002:a17:907:20d2:: with SMTP id qq18mr42931796ejb.305.1574774548962; Tue, 26 Nov 2019 05:22:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574774548; cv=none; d=google.com; s=arc-20160816; b=dNUMnM94M95ncip8VfSbJWgoI9VyjXaYPkz0cynTZSjFISjNthZ0/w7Ao2tdNL2Djt nKiSSqweV2yIaLjbr5UrVw8bVtQHXdlnkTbmT5SfoVeG10c+gq8Neexmh/JJ5/EHOzLm 0vSBYwqzVj8UA5PIOjMoXiQ2T6l1ped6e+cSUNuUV89xt+TW7/EHdTETAiRPpiZFfh6X MVMjyTmMIKtHv1azctBepVaV/TDy1Cd3WU5CR+gRxPTUSVWBWX/ZCqDMEvIhX9vsj6Kg r1yaeNc31CdjzjtioYxHNtVg2ulYKYU4gc2r5Rh2+pUaDSilR/e2PxUfbDHU925JZOcz uw5Q== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=TBRq2VRqIGwxzwz68gKQFqWeeD8PM+xOihupJZupgXg=; b=DVhz/GG9sMIAaSxB+CELZyymRaQXowwBG+Kyee9K/fHBzcYJi6f0bMOgT5Q25Jc1w/ OT4pTjEL+paA6Kq19NUUQ3RZt47Q/3nKJ206QWCiGS6OOm5n8zEnu5aVD5G+AUA7n99F z7vd5Go/5ksaIxB7MlThzLPgUzjvSnyx4hJPrIHD5a2q3CJXh4qAwuytAU8SLwF0sbPK 27dKLdNEpvObWXyW9ZH5twttGW+8IUFlcTVzu3oqMPssHGi1h1uZGU3V9UcZpoFMHoXI iYlyOocsJ2hE56Ynwr9V2OVH4RAYSZ3qbCK6c1jNBADZo5H3dqUgdR0OEhI7thJ2KVet fEaw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t52si8117683edd.3.2019.11.26.05.22.03; Tue, 26 Nov 2019 05:22:28 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727667AbfKZNSk (ORCPT + 99 others); Tue, 26 Nov 2019 08:18:40 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:23508 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726876AbfKZNSk (ORCPT ); Tue, 26 Nov 2019 08:18:40 -0500 Received: from pps.filterd (m0098399.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id xAQDHBob015010; Tue, 26 Nov 2019 08:18:37 -0500 Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com with ESMTP id 2wh49u1bfg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 26 Nov 2019 08:18:37 -0500 Received: from m0098399.ppops.net (m0098399.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.36/8.16.0.36) with SMTP id xAQDHBAh015103; Tue, 26 Nov 2019 08:18:37 -0500 Received: from ppma04dal.us.ibm.com (7a.29.35a9.ip4.static.sl-reverse.com [169.53.41.122]) by mx0a-001b2d01.pphosted.com with ESMTP id 2wh49u1bed-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 26 Nov 2019 08:18:36 -0500 Received: from pps.filterd (ppma04dal.us.ibm.com [127.0.0.1]) by ppma04dal.us.ibm.com (8.16.0.27/8.16.0.27) with SMTP id xAQDGCnp005112; Tue, 26 Nov 2019 13:18:35 GMT Received: from b01cxnp23032.gho.pok.ibm.com (b01cxnp23032.gho.pok.ibm.com [9.57.198.27]) by ppma04dal.us.ibm.com with ESMTP id 2wevd6j07r-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 26 Nov 2019 13:18:35 +0000 Received: from b01ledav001.gho.pok.ibm.com (b01ledav001.gho.pok.ibm.com [9.57.199.106]) by b01cxnp23032.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id xAQDIYk352232450 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 26 Nov 2019 13:18:35 GMT Received: from b01ledav001.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D19C428058; Tue, 26 Nov 2019 13:18:34 +0000 (GMT) Received: from b01ledav001.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B9D672805A; Tue, 26 Nov 2019 13:18:34 +0000 (GMT) Received: from sbct-3.pok.ibm.com (unknown [9.47.158.153]) by b01ledav001.gho.pok.ibm.com (Postfix) with ESMTP; Tue, 26 Nov 2019 13:18:34 +0000 (GMT) From: Stefan Berger To: linux-integrity@vger.kernel.org, jarkko.sakkinen@linux.intel.com Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, linux-security-module@vger.kernel.org, Stefan Berger , Jerry Snitselaar Subject: [PATCH 1/2] tpm: Revert "tpm_tis_core: Set TPM_CHIP_FLAG_IRQ before probing for interrupts" Date: Tue, 26 Nov 2019 08:17:52 -0500 Message-Id: <20191126131753.3424363-2-stefanb@linux.vnet.ibm.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191126131753.3424363-1-stefanb@linux.vnet.ibm.com> References: <20191126131753.3424363-1-stefanb@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,18.0.572 definitions=2019-11-26_03:2019-11-26,2019-11-26 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 suspectscore=0 adultscore=0 clxscore=1015 impostorscore=0 mlxscore=0 spamscore=0 lowpriorityscore=0 phishscore=0 mlxlogscore=980 priorityscore=1501 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1910280000 definitions=main-1911260119 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Stefan Berger Revert the patch that was setting the TPM_CHIP_FLAG_IRQ before probing for interrupts. Fixes: 1ea32c83c699 ("tpm_tis_core: Set TPM_CHIP_FLAG_IRQ before probing for interrupts") Signed-off-by: Stefan Berger Reported-by: Jerry Snitselaar Cc: stable@vger.kernel.org --- drivers/char/tpm/tpm_tis_core.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/char/tpm/tpm_tis_core.c b/drivers/char/tpm/tpm_tis_core.c index 8af2cee1a762..5dc52c4e2292 100644 --- a/drivers/char/tpm/tpm_tis_core.c +++ b/drivers/char/tpm/tpm_tis_core.c @@ -1060,7 +1060,6 @@ int tpm_tis_core_init(struct device *dev, struct tpm_tis_data *priv, int irq, } tpm_chip_start(chip); - chip->flags |= TPM_CHIP_FLAG_IRQ; if (irq) { tpm_tis_probe_irq_single(chip, intmask, IRQF_SHARED, irq); -- 2.14.5