Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4867052iob; Mon, 9 May 2022 03:35:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyrxUl702hULv/y9n+qgAj40NL4Y5jnSnc/3H2F2HgygzbY7vFJV/xSHfFfjQD56LViryzA X-Received: by 2002:a17:90b:304:b0:1d9:752b:437f with SMTP id ay4-20020a17090b030400b001d9752b437fmr25348486pjb.242.1652092507955; Mon, 09 May 2022 03:35:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652092507; cv=none; d=google.com; s=arc-20160816; b=yfeSDg8lxODHthYwjHoBVoTKi2MoMvQ/fuXkVb89/webeF37VMcHnrVMQQKijqO4m1 GmHt9UMxaq5cmCcyTRKpLqdQK5Nmemh8BteJaY7Wp0EPM7K3LtoQsbK97w+aroThaCR9 0eOxwXal0qJYd4ioYNJH6dCw1E6Rg42cfoTVBqRfqRf1UOT+AhKpv/Th8txGH+71Oc12 CYF55N460qJFmHJd9d1/qFv8Y71gReXtT9JyKfGTd1SkqAM6v+sXGx87F3+1Gd4SAR2h nC4qt8nHGLzHcFPLl8Cj6JGmyoYmILlJxxn+e0XGmEiBGbG2upHEt/NPUhZaALJ5Vdu+ p1yw== 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=y3wkeJ7ZYRxjhV+SmNN+0jvODpsGU4EpwvD7/wY3xLY=; b=u1AqzgayezeFf1i/sCCEZCWMjKkeBiLiCqMMbGOofAAeDuGllwdqk/AdnO/PcE9Gxz jHwnHuoaH4rkIwmKJ6pFNtDtQGs3REMmBzizosEGv1iCQNLHFK4yPTdZ20tjHS/4tht5 mPzDr7lQNKJ1E/pHG1f35F8kbgj/iMwv5c9mspa3a/BVuIv0qQ0QsTwpOBWKdgcJa41M 5owRFR7qD0ruyih/+qUFw3vnFJLqF4v546cGH5EkbG2x3MWY2GRDyH0LuYbc/jwHJzAr Fdlq6CmdbiiXUK/l8bcyG2IWS5B9H+YYScpmTGxYPP9hR6xP1FbtGuIwuGIvU5Nklwr5 xTxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=JwAQrkge; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1: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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id w3-20020a623003000000b005101c2ed1d6si12732302pfw.175.2022.05.09.03.35.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 03:35:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=JwAQrkge; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1: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: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id BED872655D3; Mon, 9 May 2022 03:05:24 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234338AbiEII0W (ORCPT + 99 others); Mon, 9 May 2022 04:26:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235757AbiEIIOx (ORCPT ); Mon, 9 May 2022 04:14:53 -0400 Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C3842130C5B; Mon, 9 May 2022 01:10:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1652083626; bh=y3wkeJ7ZYRxjhV+SmNN+0jvODpsGU4EpwvD7/wY3xLY=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=JwAQrkge+fYwTqZgi96aUV3rd1GrvJ6hobZrcDdBGezzjV1JV2jx/G+lVOKfea2YO LjlkkZZKHwauOsp/4vOP97upxsEQO2/2y9zRfWy8xAy0ahKEIncJHgQHKe88hJv9ev f8jfz31p2sLCzRgqWB55ETHxN33aXKFPa+OkSDxc= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from Venus.fritz.box ([46.223.3.89]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MF3HU-1nYcL33stc-00FUCT; Mon, 09 May 2022 10:07:06 +0200 From: Lino Sanfilippo 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, LinoSanfilippo@gmx.de, lukas@wunner.de, p.rosenberger@kunbus.com, Lino Sanfilippo Subject: [PATCH v4 1/6] tpm, tpm_tis_spi: Request threaded irq Date: Mon, 9 May 2022 10:05:54 +0200 Message-Id: <20220509080559.4381-2-LinoSanfilippo@gmx.de> X-Mailer: git-send-email 2.36.0 In-Reply-To: <20220509080559.4381-1-LinoSanfilippo@gmx.de> References: <20220509080559.4381-1-LinoSanfilippo@gmx.de> MIME-Version: 1.0 Content-Transfer-Encoding: base64 X-Provags-ID: V03:K1:VEe9AQBEptDU/mhnL5y7j/e8z2rQQDtj6jhRmqTdV+HuixTmL63 9rK++fzpomo40G4KKg3h0Nqk99a925rN3ikK7h5TL+0/qaV1KfltA42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c9kGg2Bw9wd4Wn/ZOzy4GHy/Zo/A7ydBeDZ4J+cyQ/b+bQ tTcK4DCg5TcARGsg+MIbIGvXFgtTIAVZbDwyT/+G7IZLsduiWIspBTBKElKsuyUokGlEM/DFy G1VUq6XhydKhQM7L4b81s6hWJ3zgRk6K9hF69lu9cpQyrpZJ7Coyoz6JCYohurF+M3YaOxlcY M7kRElkorBTw+k= X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MIME_BASE64_TEXT, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 RnJvbTogTGlubyBTYW5maWxpcHBvIDxsLnNhbmZpbGlwcG9Aa3VuYnVzLmNvbT4KCkludGVycnVw dCBoYW5kbGluZyBhdCBsZWFzdCBpbmNsdWRlcyByZWFkaW5nIGFuZCB3cml0aW5nIHRoZSBpbnRl cnJ1cHQKc3RhdHVzIHJlZ2lzdGVyIHdpdGhpbiB0aGUgaW50ZXJydXB0IHJvdXRpbmUuIFNpbmNl IGFjY2Vzc2VzIG92ZXIgdGhlIFNQSQpidXMgYXJlIHN5bmNocm9uaXplZCBieSBhIG11dGV4LCBy ZXF1ZXN0IGEgdGhyZWFkZWQgaW50ZXJydXB0IGhhbmRsZXIgdG8KZW5zdXJlIGEgc2xlZXBhYmxl IGNvbnRleHQgZHVyaW5nIGludGVycnVwdCBwcm9jZXNzaW5nLgoKRml4ZXM6IDFhMzM5YjY1OGQ5 ZCAoInRwbV90aXNfc3BpOiBQYXNzIHRoZSBTUEkgSVJRIGRvd24gdG8gdGhlIGRyaXZlciIpClNp Z25lZC1vZmYtYnk6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