Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp1923135ybc; Sun, 17 Nov 2019 10:10:23 -0800 (PST) X-Google-Smtp-Source: APXvYqxiHIXMH4ek10Td28khgyFAcMUDmDmqKKjbX7lvTKVkvCkP8FmQCp5JC+e5/eHiJXM49sXf X-Received: by 2002:a17:906:b6cb:: with SMTP id ec11mr19984375ejb.145.1574014223297; Sun, 17 Nov 2019 10:10:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574014223; cv=none; d=google.com; s=arc-20160816; b=yy5LXafNpMuxv67rQue/qM6pmGDw+wbaiwhHH+99DRPYU5d6kvJ0ER/CJJoK9th7+u 2d0unvyvTSmRHo8KF63g/z0CRH/VnODD5KvwRbY6Z1XbHhXZysPVCMZ2s8GsafP6dxMq a5xlgmnAVdzsSsVF43wllAiwdSANeSpa+qj9QeUUrPnJ47t0gvv0JZP5FQzmW5gcsCSO KuA9+xaRkFUFvSlTo2o3oW97nJt1EviaL4st8UXU7HgK2nMeAN1IJYXuNPv9D97GmxUx +88Nwtqn89sPmGi8pQECVnTwe0bbwfeUG2b/qaxNiA7MccNtIVLgtMpfFadiw487vfvn aKzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition :content-transfer-encoding:in-reply-to:mime-version:references :mail-followup-to:reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=eSxCHgdI3j2NAMCC1olhatH3DrTY9N/2Xvc86ib3ruI=; b=U53JZwXr6atJJVkf+7UMpPC57tgj4ekCmRuugTuZkiW5h2LKahgFVUJ2amzb1yjzx0 pLzUi9vmvJ7lzAWoUTBk33JEsYg69Xn2WzmstrZuP3QKoxN3UD0XIWx2qJfE8A3esyZ4 C1RJ8U67kbBkkOALTHGMufwtGHd2fWFWuJg2o8I0OfG5RfFM5smLdgjrk0K77sBAwznC 9HCcKsd1sSmn1KfmU2EJApVlBPlstehm+WOm3YHco223zEn0n5/+x9YXqdDp9rIqH2jv 1hj8pGQID4XbX1+/L6FaiRKiWqOYSDJXqKBmPM1YHUIdhcpQRJKeNd5SKI/eMnAEYBGX ajNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=TNBP7Y9z; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w5si7794398edq.27.2019.11.17.10.09.59; Sun, 17 Nov 2019 10:10:23 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=TNBP7Y9z; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726203AbfKQSIx (ORCPT + 99 others); Sun, 17 Nov 2019 13:08:53 -0500 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:49230 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726062AbfKQSIx (ORCPT ); Sun, 17 Nov 2019 13:08:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1574014132; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=eSxCHgdI3j2NAMCC1olhatH3DrTY9N/2Xvc86ib3ruI=; b=TNBP7Y9zbDW7+ix1gsBLW/eXAjU3p7MrRHFijhA562tHtvuHsCjqTRVAh5rwTHdQxUmcRu vXQ1PzKGg115ok/cGORpBG9Yu9jBc1WLupfLFlbg1WIU33MTfuJyxE+JQ9v9A6ijK3yRCJ yW2r0qFxjg5ej1bhbS+nAQ8gvzLq03g= Received: from mail-pg1-f198.google.com (mail-pg1-f198.google.com [209.85.215.198]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-377-XZmVUBuVOfW7R3xA8pInHw-1; Sun, 17 Nov 2019 13:08:51 -0500 Received: by mail-pg1-f198.google.com with SMTP id c10so11513353pgm.14 for ; Sun, 17 Nov 2019 10:08:51 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:reply-to :mail-followup-to:references:mime-version:content-disposition :content-transfer-encoding:in-reply-to; bh=nhPTTch4TLiEOOJDKHZfBwdD5XFDvnafgmAjZS61rz8=; b=q5+v6pasvh3yZx+AnE/ydMV2FEvxwDScXiMj2EfpxXvspajl7EMtp7JPzfEbnbAISc h6PyIBNRyoFn6RAWJMMLTaoueWAPgVjNUwdUDEGO5Ly+qw3Uyn2yw8MDkpgfoCMAw7FJ ibCVNoJtjAIM9erkwmSMKOb/cOszrsTjMlnjwbT4Lz8s4JIHCLYzOKLNdBIh68iWoFfs PI0Z5O+NujcyTrDq50IwEi++pjTzhEmMmIqsaT6GbC9Nc/vNiw69P78pRkMa2j54Fl3b mbVky/6ViX0YWCEqqZjPqMzE+m0+SJd6aufbV1JJSM4IwrVQODyD22nwP9bLzJzHjJnD bkow== X-Gm-Message-State: APjAAAUucp7X6Mj0LtJIO1S642zj+xlwoen+/SoirjY62m1Z2NkBcthI e+o7a6l2yKJNpcxN4Oy7sA54aVdCqaqZTjy7PauxIcQ9K9qeaC6jHExjhnyH3jTbv97MVj55zbs I0SSKa2/74+ddpdjk34ZHu63O X-Received: by 2002:a63:cc56:: with SMTP id q22mr10365502pgi.439.1574014130314; Sun, 17 Nov 2019 10:08:50 -0800 (PST) X-Received: by 2002:a63:cc56:: with SMTP id q22mr10365473pgi.439.1574014130039; Sun, 17 Nov 2019 10:08:50 -0800 (PST) Received: from localhost (ip70-163-223-149.ph.ph.cox.net. [70.163.223.149]) by smtp.gmail.com with ESMTPSA id j186sm17803718pfg.161.2019.11.17.10.08.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Nov 2019 10:08:48 -0800 (PST) Date: Sun, 17 Nov 2019 11:08:47 -0700 From: Jerry Snitselaar To: Stefan Berger Cc: Jarkko Sakkinen , Stefan Berger , linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org Subject: Re: [PATCH] tpm_tis: Move setting of TPM_CHIP_FLAG_IRQ into tpm_tis_probe_irq_single Message-ID: <20191117180847.322467cqngpbpael@cantor> Reply-To: Jerry Snitselaar Mail-Followup-To: Stefan Berger , Jarkko Sakkinen , Stefan Berger , linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org References: <20191112202725.3009814-1-stefanb@linux.vnet.ibm.com> <20191114164151.GB9528@linux.intel.com> <20191114164426.GC9528@linux.intel.com> <185664a9-58f2-2a4b-4e6b-8d7750a35690@linux.ibm.com> MIME-Version: 1.0 In-Reply-To: <185664a9-58f2-2a4b-4e6b-8d7750a35690@linux.ibm.com> X-MC-Unique: XZmVUBuVOfW7R3xA8pInHw-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=WINDOWS-1252; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat Nov 16 19, Stefan Berger wrote: >On 11/14/19 11:44 AM, Jarkko Sakkinen wrote: >>On Thu, Nov 14, 2019 at 06:41:51PM +0200, Jarkko Sakkinen wrote: >>>On Tue, Nov 12, 2019 at 03:27:25PM -0500, Stefan Berger wrote: >>>>From: Stefan Berger >>>> >>>>Move the setting of the TPM_CHIP_FLAG_IRQ for irq probing into >>>>tpm_tis_probe_irq_single before calling tpm_tis_gen_interrupt. >>>>This move handles error conditions better that may arise if anything >>>>before fails in tpm_tis_probe_irq_single. >>>> >>>>Signed-off-by: Stefan Berger >>>>Suggested-by: Jerry Snitselaar >>>What about just changing the condition? >>Also cannot take this since it is not a bug (no fixes tag). > >I'll repost but will wait until Jerry has tested it on that machine. > >=A0=A0 Stefan > Sorry, I'm still waiting to hear back from the reporter, and logistics for some reason has been silent on my request so far. > >> >>/Jarkko > >