From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BF880C10F14 for ; Thu, 3 Oct 2019 07:46:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 900BB21D71 for ; Thu, 3 Oct 2019 07:46:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570088793; bh=aceDikyW6L6nbpRdfY9oHrIGm1Yy5IhEU2kBzGxi0B0=; h=Subject:To:Cc:From:Date:List-ID:From; b=w3cmWj3aLhLNZcH3C6GGs8IB0QzRpCA9cC9FWZsCDeiASNsDBjw8n1O0Dm9hc1OTi wSOxTwfuSD+U5CjuWK5woCukLGGZ8zRLMmunNQK06YhoEYWD1dDWoEcDW9p6ztxlup BjCCVmXF95IWD2Nt+wxyVWFE/gJOW4izCoyBqEbU= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726070AbfJCHqd (ORCPT ); Thu, 3 Oct 2019 03:46:33 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:52615 "EHLO out4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725907AbfJCHqd (ORCPT ); Thu, 3 Oct 2019 03:46:33 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 07ED721C46; Thu, 3 Oct 2019 03:46:32 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Thu, 03 Oct 2019 03:46:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=C9N2jx XoC4uRnn9D9oXGVP9oHmBOsdLzfh2h9pvaafU=; b=r/5b6TrR87edD97+TpyS7M 9Lrcalq8+7NJ0GfuhddZ6Bss33tYuCaBVOO9QfuWBYtDXsveIFcRS5IvXNxOtzFr imucJ3hBd6ZrQBEJVui0dTyOTjEEm2aG2fwxBS+ME7QGKCwU7hnTPmBpMEKzDj+j 7Q7nkxfzXSov4f1t2qn2Bm0SLVg/MAtrduKPflAVGdqXMrUioeR0TciABs36JGCj M2bj4OCuvpeOoZw5RWRonWgg4NE1yZBUZjPlNRUF5R+bNdAcINWWRtr9lduK9Gar 49E1o5O/NZc3ldxcUBKCahZ/ahk++g+sF7TG4REy7zMKqUgxNEJQgcjjdTSqIMrA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrgeejgdduvddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefuvffhfffkgggtgfesthekredttd dtlfenucfhrhhomhepoehgrhgvghhkhheslhhinhhugihfohhunhgurghtihhonhdrohhr gheqnecukfhppeekfedrkeeirdekledruddtjeenucfrrghrrghmpehmrghilhhfrhhomh epghhrvghgsehkrhhorghhrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) by mail.messagingengine.com (Postfix) with ESMTPA id 56E8BD6005D; Thu, 3 Oct 2019 03:46:31 -0400 (EDT) Subject: FAILED: patch "[PATCH] tpm_tis_core: Set TPM_CHIP_FLAG_IRQ before probing for" failed to apply to 4.19-stable tree To: stefanb@linux.ibm.com, jarkko.sakkinen@linux.intel.com Cc: From: Date: Thu, 03 Oct 2019 09:46:29 +0200 Message-ID: <157008878914315@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org The patch below does not apply to the 4.19-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . thanks, greg k-h ------------------ original commit in Linus's tree ------------------ >From 1ea32c83c699df32689d329b2415796b7bfc2f6e Mon Sep 17 00:00:00 2001 From: Stefan Berger Date: Thu, 29 Aug 2019 20:09:06 -0400 Subject: [PATCH] tpm_tis_core: Set TPM_CHIP_FLAG_IRQ before probing for interrupts The tpm_tis_core has to set the TPM_CHIP_FLAG_IRQ before probing for interrupts since there is no other place in the code that would set it. Cc: linux-stable@vger.kernel.org Fixes: 570a36097f30 ("tpm: drop 'irq' from struct tpm_vendor_specific") Signed-off-by: Stefan Berger Signed-off-by: Jarkko Sakkinen diff --git a/drivers/char/tpm/tpm_tis_core.c b/drivers/char/tpm/tpm_tis_core.c index ffa9048d8f6c..270f43acbb77 100644 --- a/drivers/char/tpm/tpm_tis_core.c +++ b/drivers/char/tpm/tpm_tis_core.c @@ -981,6 +981,7 @@ int tpm_tis_core_init(struct device *dev, struct tpm_tis_data *priv, int irq, } tpm_chip_start(chip); + chip->flags |= TPM_CHIP_FLAG_IRQ; if (irq) { tpm_tis_probe_irq_single(chip, intmask, IRQF_SHARED, irq);