Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp3184699pxy; Sun, 25 Apr 2021 16:50:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzs/BnemRFogh5oShBc8QRKIEeljPeBUgBTUkEU/EcDmKP9unZ7hH1nZzqC7sBIIZjRh3Vk X-Received: by 2002:a17:902:d706:b029:e6:90aa:24e0 with SMTP id w6-20020a170902d706b02900e690aa24e0mr15668207ply.42.1619394654691; Sun, 25 Apr 2021 16:50:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619394654; cv=none; d=google.com; s=arc-20160816; b=NpW0iXuZqBybHCaIdE/cvMY8UQ3V/AGUMLgHOdnMhi5YXsYc6F+Ph1+zAPnWV/oOiu iFUBnbdnYgaUAXdqdPFiMzXVkMDRR0ktAIowNdGu0DbVMMkiDzsmjuafHsz7fJBVQ61x NCgP8YX21lPfCuR7myMjFKxpgaEXugY48I/bVayQ9SYoBdeJOKux2ESDa8B0n8TPsoa1 ieTKSYNDbvI2LZJAKI16Gxd823a6fvHDgyEANeUZTp1DR/lqFoGtkyqb1M1NusMtZpio JPYopeJmsj4xYbP6POAF6JCam9hv1inwbTrwFcog1ozfuZgAQgZI9P1eFJvs+ioSlRNF q/Ww== 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=m9rqLgA1s40kmYWYv0eAyEkNZj4nMlKJhvNJRtMqG8w=; b=kbr2tJ3/hkrlQ8ut6X+0chXma2d125MYGnBEuxNRwTSLy4oMh65QdSNeyy18bJErXB AaBFM/pKvw2ObiXT/46ULtLv0QPsPhPMaOYnnEp3KFMSC1ymIMJcLw7nwmt0/X6/Szgy TdRgKi7tn8apjUS1oOITQmM3sYp9uzQmkYeh/NrO7xSWN7mG1yM33im4t3JO5R4AWggK qU5z7W/0EwfjTx4LMiQTrvhb6oWCn8M/UYf2dMHXN4V/Kxv4TmDHOHVA63xzbJjgV+Fa ANSOVVcn5fWNw7SVy6Luos55+0ENBVeNDbryho8oMMQXjMCz7FHFcwEb0IduuVgXG9Wa nibg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b="S6I5Vf/t"; 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 p11si2936047pjo.110.2021.04.25.16.50.31; Sun, 25 Apr 2021 16:50:54 -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="S6I5Vf/t"; 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 S231517AbhDYXtg (ORCPT + 99 others); Sun, 25 Apr 2021 19:49:36 -0400 Received: from mout.gmx.net ([212.227.15.19]:48423 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231403AbhDYXt2 (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=1619394515; bh=m9rqLgA1s40kmYWYv0eAyEkNZj4nMlKJhvNJRtMqG8w=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=S6I5Vf/tD0nXFW8rcWxhqL6pHu5ZJoxIi7AV3nmzT55VuQjU/1JnEB3L6x00JaAYq txMtYzWZ0dKDwMzWjjeud8X1P0iJf3NH+A9qKxh87lkBKma3mEElLxwd+kkSih1ZDC OCA0NH1T23Ipe1ROFaq8hf12PtasVExKRVPSOHUI= 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 1MD9X9-1ljIoc0yg5-0098dL; Mon, 26 Apr 2021 01:48:35 +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 3/4] tpm: Fix test for interrupts Date: Mon, 26 Apr 2021 01:47:19 +0200 Message-Id: <1619394440-30646-4-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:fdYOkTh7Q2XgZ6y6pmnOkylJPf1xQ78g5jj/mEzLKZUn4kc2+Xh SzVC5VwPfrVECG26vtVFUMI489bSTWC6ZUs+j2s+igBLS5JotZd3rccTHhdG5e3vOwsEyM+ l7NbYU30lsByRBYILePsMZo1tcb3rzwhnvOKirLRt8dOjO9rlJcMXMVca9woXXnsETfKwFB tcc8U/10xN8dcSnEyFyPw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:A9Y3cRqnXuY=:sbZLtnOqKNcJcQwfG/wV8R 6tfN1PI4UTx7+X9Iudci5GVgP1DBGWVeaebPXxWIwlIapgfxuzcvMqYFfTtfqZ59/ktsXPh6V QHj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