Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp1278048iol; Fri, 10 Jun 2022 04:19:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwxJj679juTVNZaK6ONCMCIKZVQUnV4v6v8gEARx1rF4K2T5+BPg5KIp0quAsK1+4Igo4AX X-Received: by 2002:a17:907:a422:b0:705:e944:fd3e with SMTP id sg34-20020a170907a42200b00705e944fd3emr39205124ejc.309.1654859953680; Fri, 10 Jun 2022 04:19:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654859953; cv=none; d=google.com; s=arc-20160816; b=qzGbX8STqS69lbG9H859xMaSTwaqNiLGIZIThsNo1dUMRujsHy62s3nSTzTEBj0rbd Eak5fz5OO4JApTcgAirHq82CMlKVFT2X+ll7QDxdNDZrVsq1G4HQUsdFWlRTBfgAFGxy RW+4iFFMfN2jgbtzGr5hETnDcCgT7sGzrX41eRWuUI+NYNiiJTL4WNs+m/hdHkhoQS3u vgXK46WC57nmk87LCNTWONF0l4Q+bNi2+VRN0lTIiva1FpWrmn9eHmJ41CeCxqjdbmsC Czou4900LXbJP43+Ql4AzOv6nED3CDLyI6L4ax58RF8Qtukvu3WWyVz4gn5G6ARdMkDO 9vzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=h2TS/0VnUJCYBFtIAAMCfO7jV4vdocdBAuzudeNWs78=; b=rkHYzP8goV5WwTEK1GZJ7+RZMyi/yh+DhM/spAVWMU8HBdehiC31K2X5n4EQGlxq09 y5hTIBVLkm3ChYsSY8ZRfOaWYHGm2BRfC82REtdu4XqPCe7KbTEmC5gspF+jISMc31Wn YOqPd05k9GAlbADRS7cREqEJvcO5CGYAg0+sqwELrXOtte49e224sBqifib9/QTsrke3 pIgt7rakdkHt68fvTA1Ulo4/i0DgeRiLCOOqPZo6yI1YIVSTXha8cJorjNDBIg9Na4Oh iiqyCuFxRDJI1YpQs4uL1YDekvGaRJM+iPCsWw/rczYcYvlG/pd4ZVPvjdXKk62vRoLZ Z7rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=WjH8K5MY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p13-20020a17090664cd00b007120ba9e04dsi3545049ejn.608.2022.06.10.04.18.47; Fri, 10 Jun 2022 04:19:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=WjH8K5MY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348074AbiFJLJZ (ORCPT + 99 others); Fri, 10 Jun 2022 07:09:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59392 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347236AbiFJLJW (ORCPT ); Fri, 10 Jun 2022 07:09:22 -0400 Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1FF014558E; Fri, 10 Jun 2022 04:09:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1654859344; bh=h2TS/0VnUJCYBFtIAAMCfO7jV4vdocdBAuzudeNWs78=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=WjH8K5MYxkrE9XH9tqAaaWBGobyqIbELAYNFCfZY0+/uuu3VB0Ripvn8SsocTSvfp OK1IYksTcIcgxf4QLrcZpAktfy44NQsc7G5cT8xWxrMrFy3mi622ueJOO827bgyIJm ZCCoc0+sa+b4HxNnO+lbEyE/E2kGhw4l6ovl9Gy4= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from Venus.fritz.box ([46.223.3.165]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1M8QS2-1o42M42AGO-004TUg; Fri, 10 Jun 2022 13:09:04 +0200 From: LinoSanfilippo@gmx.de To: peterhuewe@gmx.de, jarkko@kernel.org, jgg@ziepe.ca Cc: stefanb@linux.vnet.ibm.com, linux@mniewoehner.de, linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org, l.sanfilippo@kunbus.com, LinoSanfilippo@gmx.de, lukas@wunner.de, p.rosenberger@kunbus.com Subject: [PATCH v5 03/10] tpm, tpm_tis: Disable interrupts if tpm_tis_probe_irq() failed Date: Fri, 10 Jun 2022 13:08:39 +0200 Message-Id: <20220610110846.8307-4-LinoSanfilippo@gmx.de> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220610110846.8307-1-LinoSanfilippo@gmx.de> References: <20220610110846.8307-1-LinoSanfilippo@gmx.de> MIME-Version: 1.0 Content-Transfer-Encoding: base64 X-Provags-ID: V03:K1:zej+GdlgXsvMXt3EbX2BjWswFuyOPmIPYQx4w9z5fZzqNm6LNTt AfMQ9LTVtzbAi7sUVxkkFwB2e+1Wq4nw7lEGktZ2qGpbHIH18HiE8yijd4Ym9dmR8Sswg8j LL2rzSj8oy+tm4nZqW+0gO9jZRnHNnqXod09yLcPYmeUKBsfv4M7cWFNTNvhbKgeAgSYFfw XAqh1TU8W6CD8VsX2Qb6A== X-UI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idUVlyt+g8GnClRPaqz9 BbI+bhcjWVf5ffFNZEJZPTUHbw5NN7+J0uSdcDfXaxNw2EFR/aRnWhPyxJvDQ09Ez/SLfXJk0 gX86p6IQM8n1Eqfo5a1e6pnX9DroIGSGv482hTWo/VdoOL27BoE2uHgFA== X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FROM,MIME_BASE64_TEXT,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogTGlubyBTYW5maWxpcHBvIDxsLnNhbmZpbGlwcG9Aa3VuYnVzLmNvbT4KCkJvdGggZnVu Y3Rpb25zIHRwbV90aXNfcHJvYmVfaXJxX3NpbmdsZSgpIGFuZCB0cG1fdGlzX3Byb2JlX2lycSgp IG1heSBzZXR1cAp0aGUgaW50ZXJydXB0cyBhbmQgdGhlbiByZXR1cm4gd2l0aCBhbiBlcnJvci4g VGhpcyBjYXNlIGlzIGluZGljYXRlZCBieSBhCm1pc3NpbmcgVFBNX0NISVBfRkxBR19JUlEgZmxh ZyBpbiBjaGlwcy0+ZmxhZ3MuCkN1cnJlbnRseSB0aGUgaW50ZXJydXB0IHNldHVwIGlzIG9ubHkg dW5kb25lIGlmIHRwbV90aXNfcHJvYmVfaXJxX3NpbmdsZSgpCmZhaWxzLiBVbmRvIHRoZSBzZXR1 cCBhbHNvIGlmIHRwbV90aXNfcHJvYmVfaXJxKCkgZmFpbHMuCgpTaWduZWQtb2ZmLWJ5OiBMaW5v IFNhbmZpbGlwcG8gPGwuc2FuZmlsaXBwb0BrdW5idXMuY29tPgotLS0KIGRyaXZlcnMvY2hhci90 cG0vdHBtX3Rpc19jb3JlLm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