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=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=unavailable 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 ED2BEC433B4 for ; Sat, 1 May 2021 19:09:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D20D761454 for ; Sat, 1 May 2021 19:09:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232299AbhEATKp (ORCPT ); Sat, 1 May 2021 15:10:45 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:59778 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231556AbhEATKo (ORCPT ); Sat, 1 May 2021 15:10:44 -0400 Received: from pps.filterd (m0098393.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 141J4FhR072785; Sat, 1 May 2021 15:09:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=pp1; bh=sc5qIlwkcqfH6ez90GqgSYPiB6utd1gUTTkOArlqVpA=; b=PqhjPUKp3Aq+fx6yThsGNBTFiaKeYnce67Wuv8Cbwb8qFhNvp3Ti9fczYNVd6HdmKxh9 4LDBrI5vEuIHzTGLngHpvp7TYuQroJ7ZGD/6f+IhWIrjRPDfwTwUomdFsrQMglKTW3ID Z11jWHx/wNX/LyqXaDbK/9AdS4cSBTgVO6b/vtRGU1nTQN6UJHFWpZeJhRScA8q7ffrV v+V8Hcx5ln27TUyknTcg4CUlrDn1mI1cV2lPVSRIbbtOzN4YvQfRWZLXMP6kaVF4oSSW vONDdmb3w7akvHs5/IyCIxZyjsKaR8VjNEiXWj9MI2VGRdl1hKIYT02zNsS7bEHUzKW4 Vg== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com with ESMTP id 389ck4g9ar-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 01 May 2021 15:09:48 -0400 Received: from m0098393.ppops.net (m0098393.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.43/8.16.0.43) with SMTP id 141J9mfs086205; Sat, 1 May 2021 15:09:48 -0400 Received: from ppma03dal.us.ibm.com (b.bd.3ea9.ip4.static.sl-reverse.com [169.62.189.11]) by mx0a-001b2d01.pphosted.com with ESMTP id 389ck4g9ak-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 01 May 2021 15:09:48 -0400 Received: from pps.filterd (ppma03dal.us.ibm.com [127.0.0.1]) by ppma03dal.us.ibm.com (8.16.0.43/8.16.0.43) with SMTP id 141J8HaQ011533; Sat, 1 May 2021 19:09:47 GMT Received: from b03cxnp08028.gho.boulder.ibm.com (b03cxnp08028.gho.boulder.ibm.com [9.17.130.20]) by ppma03dal.us.ibm.com with ESMTP id 388xm8muwp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 01 May 2021 19:09:47 +0000 Received: from b03ledav004.gho.boulder.ibm.com (b03ledav004.gho.boulder.ibm.com [9.17.130.235]) by b03cxnp08028.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 141J9kNQ36962654 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 1 May 2021 19:09:46 GMT Received: from b03ledav004.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 5B49A7805F; Sat, 1 May 2021 19:09:46 +0000 (GMT) Received: from b03ledav004.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A3F127805E; Sat, 1 May 2021 19:09:45 +0000 (GMT) Received: from [9.47.158.152] (unknown [9.47.158.152]) by b03ledav004.gho.boulder.ibm.com (Postfix) with ESMTP; Sat, 1 May 2021 19:09:45 +0000 (GMT) Subject: Re: [PATCH v3 4/4] tpm: Only enable supported irqs To: Lino Sanfilippo , peterhuewe@gmx.de, jarkko@kernel.org, jgg@ziepe.ca Cc: stefanb@linux.vnet.ibm.com, James.Bottomley@hansenpartnership.com, keescook@chromium.org, jsnitsel@redhat.com, ml.linux@elloe.vision, linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org References: <20210501135727.17747-1-LinoSanfilippo@gmx.de> <20210501135727.17747-5-LinoSanfilippo@gmx.de> From: Stefan Berger Message-ID: Date: Sat, 1 May 2021 15:09:45 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <20210501135727.17747-5-LinoSanfilippo@gmx.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: m4gJmjFLRuQWsCoaULyc4ZwPf8_TfSr4 X-Proofpoint-GUID: XguFMLCRjMKrT5Cga_O5fCpgVYmeyy6B X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.761 definitions=2021-05-01_14:2021-04-30,2021-05-01 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=999 priorityscore=1501 bulkscore=0 phishscore=0 mlxscore=0 impostorscore=0 spamscore=0 malwarescore=0 lowpriorityscore=0 clxscore=1015 adultscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104060000 definitions=main-2105010134 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/1/21 9:57 AM, Lino Sanfilippo wrote: > Do not set interrupts which are not supported by the hardware. Instead use > the information from the capability query and activate only the reported > interrupts. > > Signed-off-by: Lino Sanfilippo Reviewed-by: Stefan Berger