Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1227931pxb; Sun, 21 Feb 2021 17:06:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJyPP0jYFCzMLPN9NqGY9RqAZ3G/SX8oqY2HfrIRi1Zbk7Mb79rfsthsNoaTG3m1DAPIeb7l X-Received: by 2002:aa7:cb49:: with SMTP id w9mr16946520edt.375.1613955993819; Sun, 21 Feb 2021 17:06:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613955993; cv=none; d=google.com; s=arc-20160816; b=VFFWeKzZf+9WAm/P8jjuBdwTzj9CdNAFLe4j+5QDkLTTd+xjL+ANjaZjP/JW8ygzaJ y4dX1+Wjhzd7N9BWmU8fYrS0oI0RqK32Pq4qwm2nswPjYN2fLfbFbnEDsol2uYNPMwuP FsrEaq3sJ3e5Xz7YAWD0t58Xr1l+co/sCgwZz2t25Mc2QkViC2yqwFetiD9k1gM17Qj3 bCov24zY9Rhh49qYYP/gu/bkWfvnmRdZtkhbkrS+pZgIQK1xZZhAHVOkYLGcQDWgUauL UdPyXIcTYdvVQgAGsBwp11mH4tEf828zjQTELD+a/9tsyVxoNTeZv8NswrquPFLPGBgH PY2A== 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=lRzqWBl0sthZOBbQ0rNx91fg0tHkddzH7h/62HAEdFU=; b=RlZApaSQ9SYovT0CsBbbgWW3f9R7mF7ofRn6vTWCpu/CAfwLQ4LlAWy6UfRHWpKNlu zrL/p0J57iWBu0UwQHLuQQJVR4Y6qpfdjXnLc+bIaqmbTeb4lLM3MXeeVgsFwkN7dZFO mVBoWCmjsH2iO3rkTfmBpCRcze9Rq69iHpiSNDeSXj8ExQJZUv+8pl2imRi6Z8X3WoYO j08wS1hWjtsdhWn7KGISk4V00a/IsvMGBpkL2epRZOsncNWcCML0jWa24Srl+UuHfxrO UDNi3BekfN5yEW7Kz9XuIXMiIDoc5XFYYIHHAM1HgjzXRARCzDqr6JQ5cf4uXJ0yfGGy htyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=MTUMmsb7; 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 c10si10829453edk.143.2021.02.21.17.06.10; Sun, 21 Feb 2021 17:06:33 -0800 (PST) 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=MTUMmsb7; 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 S229958AbhBVBDq (ORCPT + 99 others); Sun, 21 Feb 2021 20:03:46 -0500 Received: from mout.gmx.net ([212.227.17.21]:37135 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229634AbhBVBDp (ORCPT ); Sun, 21 Feb 2021 20:03:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1613955421; bh=lRzqWBl0sthZOBbQ0rNx91fg0tHkddzH7h/62HAEdFU=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=MTUMmsb7XeNsdwAik+EKkNY1WS/GcOQ8l6URuioT+hASZjBHmObs+yYr8zPpCurUM F/llHFrQsLl03usDexEiwxEL69s631ZYEPCR4frkMbo/NzZdWPWPxAJn5ILN+lUMPf QgtBy2QuDC8wt8Cypm9o8YO0dTYAqxSODuMVdpZ8= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from Venus.fritz.box ([78.42.220.31]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MfYLQ-1ll9YD2PHc-00g4HK; Mon, 22 Feb 2021 01:57:01 +0100 From: Lino Sanfilippo To: peterhuewe@gmx.de, jarkko@kernel.org, jgg@ziepe.ca Cc: stefanb@linux.vnet.ibm.com, James.Bottomley@hansenpartnership.com, jsnitsel@redhat.com, linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org, LinoSanfilippo@gmx.de Subject: [PATCH 1/4] tpm: Use a threaded interrupt handler Date: Mon, 22 Feb 2021 01:56:31 +0100 Message-Id: <1613955394-13152-2-git-send-email-LinoSanfilippo@gmx.de> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1613955394-13152-1-git-send-email-LinoSanfilippo@gmx.de> References: <1613955394-13152-1-git-send-email-LinoSanfilippo@gmx.de> MIME-Version: 1.0 Content-Transfer-Encoding: base64 X-Provags-ID: V03:K1:9S103CTZTOAfpyXMxVOuZC6DMdivoa+VP6szX9XjvlkwtMDvAAa yqdk7kh4h4k4psAz89YdajY+AxlMrHuYnNg8xlsSwOfK5jeXmrOgKcvTza5vE0F7I5e+lNi kM915VuKVhV+EDicWGbdqY8t0+Ky/zn2tC0F9BOsgn/MU59Lak2vf3lO0XzP17vt8IXlnqM aoJSW0/mgwV1ONqUkagUw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:kMhtXEKv2po=:cb1L8fPqIfwt53CBIsu2pr Uh7DAs4cZgAlzMKHppdU0aSjtn4tSsRibA85x8a75bT+fBSI8/M9Umna0DFu6J9YhviIiko7b 0DjCIPRUtbj7zvo4kvYsn64IRPq3pi7DJ+qhOF5KZ/66VGR+1YaKqzG9l+2slV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