Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3609809ybc; Thu, 21 Nov 2019 10:51:43 -0800 (PST) X-Google-Smtp-Source: APXvYqzXtx/b4cuES/kiZvc01cX7fkdRFEiXfiH8FyXgoOFVu14Sx0+QWxH9PitTZbLZvYAZLCyE X-Received: by 2002:a7b:c055:: with SMTP id u21mr12274470wmc.55.1574362303291; Thu, 21 Nov 2019 10:51:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574362303; cv=none; d=google.com; s=arc-20160816; b=vrwmDHzv/lpJeG20mz4WpvsiONDbcihTp+roIgj0j3LHlXvSciQyQUDpshtx4xDRfI FWvoqnqeB2dMesKp7Iqyn8wJmBPVbP1Nn/njzqnkI4+mUwjkpysGih1phgoZfH9RmSb+ bQPM2pNZHK9aJQRZGMI75KvubHZmHOPIL0vfhWBSJ/qeTJpxqygRfCPaAmMZ79TjorOR tS8nzShwjVTp8g3iJlQrElAjmYsBZ1AJRnEc9ol3Sk/teg9kHV9y7lSeagGTGShr7P8s Bh2qn9UdMihaPj49r++mou45/LnoCOPkDB5yr27KfkDnML2nI+udxL+/0nn9Xv4M+gir Enug== 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=TzJ/SsHtd7bfy/oDgO2Y3q0F7ElX8gGJByg/j13Qj6o=; b=HhMQMyJv/5XasWBxhBN22quVCu5bIGjdrGO9M8c311gwQ6MmX9osemUC+J573H23iL eswZB0XaSYk1zckV9zHB7NsGYrUdmAKp1+oXlSBxKNyTzvl3eC80ml1Vk2ER0j2sQLXU 836xy2AuxbPTnzbL2FScbz+IuBTWH1VSO2m9P4/IdnzKNYSQ7YtJyZ9Afg0DaKPbB6pp XIpYQFGizWuUMQykpDNgDVlDmv5zGJYRC3Gb/eTnZJkxOkVV0X7j63fJowdzN1RYIK2l /QrjfHk17pSZFXhRhp4StS+NqiDlD8flGCu/4cTDA7qFiUYLtJ2a9WA5pynfOS/KUkzs UIKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=KXhefWum; 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 r7si1769104edc.451.2019.11.21.10.51.18; Thu, 21 Nov 2019 10:51:43 -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=KXhefWum; 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 S1726861AbfKUSty (ORCPT + 99 others); Thu, 21 Nov 2019 13:49:54 -0500 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:29422 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726541AbfKUSty (ORCPT ); Thu, 21 Nov 2019 13:49:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1574362194; 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=TzJ/SsHtd7bfy/oDgO2Y3q0F7ElX8gGJByg/j13Qj6o=; b=KXhefWumSo0m12Y62bBYnMPubcXLTksjcHOiYaLiYagHzqOQQlTTvFvQl44ZqksA59N/os oFPqJGGoVvnffL15BiOQB2nExis8GtB1tE0xnoKejOcaSMkXhSmXMrAqO01DUUvXi/DXz9 ryZQWBKi7yAPODk6wPjs2yL0hx6Ghb4= Received: from mail-pf1-f198.google.com (mail-pf1-f198.google.com [209.85.210.198]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-209-U4MaoaxfMVaktQ5ms-DD2w-1; Thu, 21 Nov 2019 13:49:52 -0500 Received: by mail-pf1-f198.google.com with SMTP id 2so2628271pfv.21 for ; Thu, 21 Nov 2019 10:49:52 -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=YJjTnRWdM797ItW0zSRoz6NPhQjSBtbCZP9Ez1Vbe0I=; b=rkMuPdr02KuSomuVstH6LYvW9LQmkG2Q+MaDLBkujVT1mhm0iT+grs4N9F2PahNDKI cpeqzvof89C+Ujob49ue9F7NHgWp8ntxc94jDWYPbYSL7Z2Cons/Pp0drzpD+ZHYQeoc C0OgW9x7ho68C0MlkNPAeR3+Z8ywXizJYqV9AzIjOBmaOw1oLT/8KMJ7wQ6olCKXcNQ1 4kvPegyBM2BZlKU6q3VQb8yEyXyhxnoNfzX2oad5pquq5zbY6FAL5Jfp1MlbCb5tNc6Z 2eBbRPXgBgIezzpav0ASQSwiA+462yco6uRO5q1Jttd93O6tu/keLTzW8fqOHl/YNo3t /3Fw== X-Gm-Message-State: APjAAAVC4msMZdwyaSw5DOvT4wtLz+hA5gGmZdClyG7gJuJHMeULh8av Tr0cFUpT8+NGxrEEkngewL5//vDYnRXsPcbwSI/Uu5IBFoqn0vGeHJpnyc4cdrYq3yW/LICnwjs uJLlfQKD2oyJsAs2yQrja2OcJ X-Received: by 2002:a17:90a:cc18:: with SMTP id b24mr12761779pju.141.1574362191690; Thu, 21 Nov 2019 10:49:51 -0800 (PST) X-Received: by 2002:a17:90a:cc18:: with SMTP id b24mr12761762pju.141.1574362191492; Thu, 21 Nov 2019 10:49:51 -0800 (PST) Received: from localhost (ip70-163-223-149.ph.ph.cox.net. [70.163.223.149]) by smtp.gmail.com with ESMTPSA id p123sm4422462pfg.30.2019.11.21.10.49.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Nov 2019 10:49:50 -0800 (PST) Date: Thu, 21 Nov 2019 11:49:49 -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: <20191121184949.yvw2gwzlkhjzko64@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: U4MaoaxfMVaktQ5ms-DD2w-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 > > >> >>/Jarkko > > It appears they still have the problem. I'm still waiting on logistics to send me a system to debug.