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 DB863C32792 for ; Thu, 3 Oct 2019 07:46:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AE0DD21D71 for ; Thu, 3 Oct 2019 07:46:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570088802; bh=Fv1oTI7h9JYzUrst20brs3/tm4mqbksfQkoHU33gJCE=; h=Subject:To:Cc:From:Date:List-ID:From; b=jyQA9vZX9+ob6rCG8mloxoF4DvGZddPI98ZxHYxTwm3HXvc/aLBeMwP+ZtTsF0OJ2 UlQyRWKKnqERHZxiLZ8b5WPylvcRkIMUvCopRnWg0QtW1C3L2sNin0Iz39RpLoR2s5 tYrc51bQN2KAqB6Me4mqLTgwy5BKv3Xy4jp2Ong0= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726978AbfJCHqm (ORCPT ); Thu, 3 Oct 2019 03:46:42 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:39915 "EHLO out4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725907AbfJCHqm (ORCPT ); Thu, 3 Oct 2019 03:46:42 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 4713621CFD; Thu, 3 Oct 2019 03:46:41 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Thu, 03 Oct 2019 03:46:41 -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=SAOjmy Lm1gv5l4GyGuImDgq7oOETwNiFdFhFj0WBKFs=; b=AvcfiTt6slBtIIkStovo+o scLublaktaSgRlw0LzYZhC6czZ0dyTfBWJiYVKBonUJuiMvwpkM+jSXkChe1/7up 5o3cotN8Z3AEnClb3VFHQhFJyqyJJaqBlyZ19rW8aEIvdpyzPlZtROCDXAeiWA19 hxeYqyIZTrWiiTa0+X83gpsQjC/tRFbPFNYhEFDzR9bffxFI8PvlhdLyOSeDGCRG xMHeBU2ak6mrgYmHJjIhUXRFDKzLnHlfxTsY2kN53HQyzA6l7Kj9x0p8CGO6sVFG AUbqfUHJm/dYc8H2j8CEJLyriw5rEmV69fuu4Tm+KRF0F1bskhQ2WthiVnqo05WQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrgeejgdduvddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefuvffhfffkgggtgfesthekredttd dtlfenucfhrhhomhepoehgrhgvghhkhheslhhinhhugihfohhunhgurghtihhonhdrohhr gheqnecukfhppeekfedrkeeirdekledruddtjeenucfrrghrrghmpehmrghilhhfrhhomh epghhrvghgsehkrhhorghhrdgtohhmnecuvehluhhsthgvrhfuihiivgepud 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 BBFD78005C; Thu, 3 Oct 2019 03:46:40 -0400 (EDT) Subject: FAILED: patch "[PATCH] tpm_tis_core: Set TPM_CHIP_FLAG_IRQ before probing for" failed to apply to 4.9-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: <1570088789234154@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.9-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);