Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5482683rwd; Wed, 24 May 2023 02:22:41 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ64J/cABPuLTI16bsnHAY7z6eGpE0LhEnBhpeXrJsVucqvwe2fZgahHyaznouUdx+y44Fl6 X-Received: by 2002:a17:902:b404:b0:1ae:5116:148 with SMTP id x4-20020a170902b40400b001ae51160148mr15771835plr.25.1684920161029; Wed, 24 May 2023 02:22:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684920161; cv=none; d=google.com; s=arc-20160816; b=dG84BQCq6DMVE+nFtMEhV0DLxASDjQ7FppHTrWYoGw8199ZzPPdH0IBYPTaOy7nuBP diCFEhzqKAy5CuOcT3kVXH57P8T0GuC+/NLixIIiPhLlbR+6kUFqEjLnO9Bl6QksSGOn hZzGQmR/usAT5rRHK/tg5J6JE0MndE0V2Yv7aDq4577toLY1C3JOACgjGpViAb+OWKX1 mxNhDCHCnF31nceieXn0uH7H9laEhAT8oS+Lwr0aTmqb5UfQPihaCr+Arrms8b1csZ5r pei+FsHSPohfWdFAiCrw7upF0CGBQJWbQanQn7O20My6KPvjd4z4usg2yfHQVRBl+bDt +OVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=JJzqiRJzxg8NVYWd2A6XKt6LwuNvHABKxYdl+xVL5j8=; b=XgPXfbOCkzm08FlSBHIX6hkg2nkeFwqZcU0fI4tFwUPUbNxiW9Q/lYoEf9lIANpNhv LWCYasL/ReVnR6uG6PG/CXfDWNxQSNkAOX0gKTVECw26bm04aiuaEXldP5x2sIqanLaU Pj3Nxdxr5tg2zoHrM3AF2cBnNE+jzujBJW9C3c+39FWSlWSkocyt8ZCzDPz42oi057EF dDeUIcNl0zX1AA9dDv3iA6YY7Inlj7P0WXmUY2BJo2tUTeq3LQlVR/Qq0H0gvC/UxD3F maAFF2rWSI/HgIlPONfeDUAOWnXTBJPdd8U9X45AzH0HxTBDKaBoFvnS2XZvmGDUpfn8 T4kw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=FQ7SEIFX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l2-20020a170902d34200b001ac815f653asi718970plk.348.2023.05.24.02.22.25; Wed, 24 May 2023 02:22:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=FQ7SEIFX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240246AbjEXIyU (ORCPT + 99 others); Wed, 24 May 2023 04:54:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59344 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233725AbjEXIyT (ORCPT ); Wed, 24 May 2023 04:54:19 -0400 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CFC2D97; Wed, 24 May 2023 01:54:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1684918458; x=1716454458; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=mIPqB3dS2BljD1xI/lGZZsZ1WRQyw61gfkD4Ji8kZZc=; b=FQ7SEIFX+CLlRUzszhJsU8KMgy5IYLgaiE3iMEDIA0Wj5sWooLFEovu+ mLy0mO3oAcZ4prxIGmIGJVaT2WiQ+NRlHOUCUQPAvMDxmkmiA8QXwH8rL 3hS2zVN4J0lvHoiuEgp1umjcszA72w/Ond9muPD3jPmoCQFs/UqRsmv/R ZV7BGWoqTOwC3ITrMRlyRxGXxqiDuIS74xnoV1GdaiSrANJM39r8ORpF5 rHm1zzSZ5mwbxNB8h6xhRK/U7TVvRsxKYNqfp3B6a+SQWXJsq5WF4jMqD EGw5NT3V3IbFLsOC9CvJ3AIFxImseWkmZ/t5qB2cH2nNFb3r6hS95t0lB w==; X-IronPort-AV: E=McAfee;i="6600,9927,10719"; a="342965558" X-IronPort-AV: E=Sophos;i="6.00,188,1681196400"; d="scan'208";a="342965558" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 May 2023 01:54:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10719"; a="737213677" X-IronPort-AV: E=Sophos;i="6.00,188,1681196400"; d="scan'208";a="737213677" Received: from mhakkine-mobl4.ger.corp.intel.com (HELO [10.252.53.214]) ([10.252.53.214]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 May 2023 01:54:16 -0700 Message-ID: <9bb5c5cd-e9e7-5390-7bd7-fac882aaa0d0@linux.intel.com> Date: Wed, 24 May 2023 11:55:15 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0 Thunderbird/102.11.0 Subject: Re: [PATCH] tpm: tpm_tis: Narrow the AAEON DMI quirk to UPX-i11 only Content-Language: en-US To: Paul Menzel Cc: peterhuewe@gmx.de, jarkko@kernel.org, jgg@ziepe.ca, linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org, l.sanfilippo@kunbus.com, jsnitsel@redhat.com References: <20230524055815.10165-1-peter.ujfalusi@linux.intel.com> From: =?UTF-8?Q?P=c3=a9ter_Ujfalusi?= In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham 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 Hi Paul, On 24/05/2023 11:43, Paul Menzel wrote: > Dear Peter, > > > Thank you for your patch. > > Am 24.05.23 um 07:58 schrieb Peter Ujfalusi: >> The original patch which added the quirk would apply to all AAEON >> machines, >> which might or might not be valid. >> >> The issue was discovered on UPX-i11 (TigerLake), it is not known if the >> i12 (AlderLake) version is affected. >> UP2 (ApolloLake) does not even have TMP module (no TPM drivers probing > > s/TMP/TPM/ I will fix it in v2. > >> and confirmed by dmidecode). > > Another nit, the official spelling of the SOC names is with a space, for > example, Tiger Lake [1]. I will correct this and the ADL, APL spelling also. > >> Let's make the quirk to be applicable for UPX-i11 (UPX-TGL01) only. >> >> Fixes: 95a9359ee22f ("tpm: tpm_tis: Disable interrupts for AEON UPX-i11") >> Suggested-by: Jerry Snitselaar >> Signed-off-by: Peter Ujfalusi >> --- >> Hi Jarkko, >> >> the patch is generated on top of your >> git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd.git : >> irq-storm >> >> Regards, >> Peter >> >>   drivers/char/tpm/tpm_tis.c | 1 + >>   1 file changed, 1 insertion(+) >> >> diff --git a/drivers/char/tpm/tpm_tis.c b/drivers/char/tpm/tpm_tis.c >> index 7db3593941ea..4357d4ba8f9e 100644 >> --- a/drivers/char/tpm/tpm_tis.c >> +++ b/drivers/char/tpm/tpm_tis.c >> @@ -143,6 +143,7 @@ static const struct dmi_system_id >> tpm_tis_dmi_table[] = { >>           .ident = "UPX-TGL", >>           .matches = { >>               DMI_MATCH(DMI_SYS_VENDOR, "AAEON"), >> +            DMI_MATCH(DMI_PRODUCT_NAME, "UPX-TGL01"), >>           }, >>       }, >>       {} > > Reviewed-by: Paul Menzel And I will pick your tag as well to v2, Thank you for the review and comments! -- Péter