Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp3184955pxy; Sun, 25 Apr 2021 16:51:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz+vaREA/bnzQ1lsE7t2CMhg5EnO2pAAel2vGQ3YOCmnCChGNUKcDOM7knTVn34bngGZ6wR X-Received: by 2002:a63:6244:: with SMTP id w65mr11515020pgb.66.1619394692289; Sun, 25 Apr 2021 16:51:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619394692; cv=none; d=google.com; s=arc-20160816; b=wwa+sdMk39UPd4RI3k+123hjY9sTvkssnhmapiEW0a9K1HSwcux91O/rNF82XXGAG5 YZNfA9aEsvRX6ojGjPmoyBwWgzFmxYQocic1l3zFg3vGpCBmnTophUaiwQFNxHgq/Izi w68KSdC0a6EIfE7kTZ3TaPxn6A6Xnhpq14qskn/T0uxvxb6/H0wZaER35Kw+Z73TqJdw rpLzP5gz4Jqr+7aVGhdDW6SRsSepsPx9amulr/upDaUU6UStEoKlqUJql3ZYbzNI5SnW K8jwEujn0ZwpuDaduTM55wwED1QllxsXCCZgytLuvBUM1sanhuWLmSjllkE6YgFOdYOx 2T3A== 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=Stlpopoc3a1Fg0eLd5v2nD9hwQJyUidlQLbgZr47CmQ=; b=kl1wbxZkQvtSh96rbraQ1Qg1lZPZL+48lVnIw7KDORX8uJF9Hj6v3OXXMPLJoldnoP iNB6Vyfdv7GfuUsP/ccTU8D9Vgvp9UkuEbTIpj2Mc0vUOEk9bbKUrza7irEaNEdu7TCZ n+BOQcZR8XZMC4dOFc+JvhIBCj1Qj5sVQLvGCAZTVdVw7sWT73w69pHzZnbEsaOGdpgF CQRc32M6Sa4nVzMqAvAMleYcRbEKymu7hdOdEQE11W+tYqlQM3M/3qWAurUWEW0mR71+ bRMHWMc2sBky9LCvRyaYw7YHpuxdcHS7rvdnmCe1gUWI3TTOcqzk6e31YpesDZ1uwTwX OHiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=C0udvBcf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j11si14803941pgn.329.2021.04.25.16.51.19; Sun, 25 Apr 2021 16:51:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=C0udvBcf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S231480AbhDYXta (ORCPT + 99 others); Sun, 25 Apr 2021 19:49:30 -0400 Received: from mout.gmx.net ([212.227.15.15]:50365 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231331AbhDYXt2 (ORCPT ); Sun, 25 Apr 2021 19:49:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1619394514; bh=Stlpopoc3a1Fg0eLd5v2nD9hwQJyUidlQLbgZr47CmQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=C0udvBcfxEYwu1NR/pnxcdlwxC1LtJ9Cu00UiNM6U7Gr+tNsHdiPhb5aaqk3LReyK jKVn6EyJLRQPfIGT06JUGUPYaofu/gyjiBQDXCbE9gOIzCnC5K2Xuh4ieEcXWl/GJG tjhWE6/KOro+n4LEoBFJUyI5CaqiafEJvNzDRxsw= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from Venus.fritz.box ([78.42.220.31]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MQ5rO-1lwj3K1wQa-00M53G; Mon, 26 Apr 2021 01:48:34 +0200 From: Lino Sanfilippo To: 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, LinoSanfilippo@gmx.de Subject: [PATCH v2 1/4] tpm: Use a threaded interrupt handler Date: Mon, 26 Apr 2021 01:47:17 +0200 Message-Id: <1619394440-30646-2-git-send-email-LinoSanfilippo@gmx.de> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1619394440-30646-1-git-send-email-LinoSanfilippo@gmx.de> References: <1619394440-30646-1-git-send-email-LinoSanfilippo@gmx.de> MIME-Version: 1.0 Content-Transfer-Encoding: base64 X-Provags-ID: V03:K1:ST8i+uEEIueXGAgIOWci1Nfv0106tGM3xl9KeRJSO9wCpjH2oZ7 OXvH9yYOTchGMNJSQwRyYXfDo2UWIUPhDQuM1u6pwV+FEHCbFbOKvtsPr9BE4z8yEOTa82f 732Kl66hgIJCaVOiWyjbEApfGsb3FshYei6EsGDQLOKJxlFPOjWFZbCyw9deLGrnOLoPwFm FS5tWF+IVWfbWuLLWODdw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:H2PPUkFEGlg=:xuNH5Fb41dWMrPFTAudlzO Kpu4xthkr4u0aRW2RJIUjzrMQ4sBzNdapE+8ED+nc/OcR4wD+KlVeCHum6kz3tC8YjtmjpKvQ sgu20HwNqd1i+ecqmzfbUdBoAGg4vuyZ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