From patchwork Thu Apr 27 05:33:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mario Limonciello X-Patchwork-Id: 88109 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp53753vqo; Wed, 26 Apr 2023 22:52:19 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4CIJR3+eT0fPsbQ7vteVM9WWIoM5mDoedMFkFXzldUk4cbikhjFaugqVpib0T81R7asKGh X-Received: by 2002:a05:6a20:429e:b0:f5:b4a5:73b4 with SMTP id o30-20020a056a20429e00b000f5b4a573b4mr581288pzj.27.1682574738953; Wed, 26 Apr 2023 22:52:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1682574738; cv=pass; d=google.com; s=arc-20160816; b=Buk0pdKs/YxSlEG4hGMCoVgeA5dOAWKEb/W/oGrEAx4yBf/Vbsc3bGD46USIUBbxea EqB4DUqB1X6+6vhd6PPp9sj60pdfH3+k0zFmNdZ9W2LieDQdaX+Z2Sn15/ECRwfqFu/0 1aWfeqOrai1NtlksDkBXhSZzjIyUAsoQrBi2MsPmt/lpFVuI6cdDl7MaxbOvoMgAPpME qI5wqT1eHr6lvwk0dM3YVJtXBPaP7mSVYwcGEUev7vlA7wB+12Kb27iJuUvSgXlf5baf eVb9d0GSMKLLphOrM86uxeDMHrQ9ykmV0UhdVisxyqUzuQcX8tlctS+HnDCB3KCqoICa jBrg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ddIU3m+Sm+uKTF7l8g1GkIxPn9oe6x3D0wp471Zgy/o=; b=PzK04OKy0sI65Kgotga8Dz1myukqjOHAlemDboRqC2Iv39cJjz1mQfVzGBM6Faqw55 KqBqZSk9GM+UN5h5qpNO85Bds3HwSkks6JpCLo0Ap2T75BWKnEW7+YAYqhmqvQk5iPvz a5XY/O00k1ks9Ifx/WoSVGRovvyPOorRjBzYbjALDP65YebQp213x8gvZhAfDIdv6n6S SBFWpkdZ7BfGfLM5fFnRD7BSWXjQl9O6/fpJZ2NU/dSQZTQ/VRtxXYHpbhinCzjZ13zp 1jBR3i+CBghSUwCvs1CjDF25M67Dl9jSM5bWpQhIXXPoKLKObOPwi3Q7C1PZL14vQ4VF hvDg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=xgkbIuny; arc=pass (i=1 spf=pass spfdomain=amd.com dmarc=pass fromdomain=amd.com); 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v20-20020a634654000000b005139e0d2b5csi12901194pgk.487.2023.04.26.22.52.05; Wed, 26 Apr 2023 22:52:18 -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=@amd.com header.s=selector1 header.b=xgkbIuny; arc=pass (i=1 spf=pass spfdomain=amd.com dmarc=pass fromdomain=amd.com); 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242841AbjD0FeC (ORCPT + 99 others); Thu, 27 Apr 2023 01:34:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49568 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242821AbjD0FeA (ORCPT ); Thu, 27 Apr 2023 01:34:00 -0400 Received: from NAM02-BN1-obe.outbound.protection.outlook.com (mail-bn1nam02on2045.outbound.protection.outlook.com [40.107.212.45]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2B35A2D69; Wed, 26 Apr 2023 22:33:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=D6vGhsZjjA7NzGtGU0pwSzIiRQcI795oYMwMPM+/c3bVhO8kOUkcqjSZqKpT0r2a4yhB9nrkpJXb2QCWCRuUfPkfpy9XJNeYJUN1j6e0XPwigPdHiD7oJjQx262GISpnMMx/zvyThlcRCM+Lr3CfTl9WjuKY2Gc39OZgSISBFWpMNFUKZR6uMNRGmZ4eFmyFblGaclxgc9tFPdI3gu46WfOQI+d5opVI2PWPHwNDyAQ9zuSsXL187cqojiRVk/EhPFBkc1XSXWYUawBTmFxz471QEBGX8XUgoNQaC1VMuJivEyAyWLTQrrkeaagbxD5grYdEqVOt6uYlXskOND0b8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ddIU3m+Sm+uKTF7l8g1GkIxPn9oe6x3D0wp471Zgy/o=; b=T0dmdGwCC2thHBnLZ3/8HTKM2b1CM7dljMBnb9XVp/lt1tUZPW1+HrmiTf/HtCCt8PCQ3KLb0J50NVat1OKvit6Lxb788aZMBm/5a/zbl5Kz2RvzsZAcii5HXHJArB51AD6W0RF6jXmQdjgHENeZmFk8hVbtn7UBavhylIsTiMn0VFm0nci8BVJX7oKo1v0WCtqU+8tz4QPBe5evCg7DsH6o/WkTqwp/v+2QbwXy5IptdCmiJl1mBse/ohXvMwIk3pI68Vg2LX0ljvo5sFxZuYcOZSvkVUeXoB54Fvto7W5KVUXzY9hGxr+ieCdoguBHFhwMk7TALFN2SeWY8wAk2Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=google.com smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ddIU3m+Sm+uKTF7l8g1GkIxPn9oe6x3D0wp471Zgy/o=; b=xgkbIunyPYzoUxYsBmIwTMAL6CHshByeDBWX+NWtGSZLbnErIN3WCUrq3YtYABFLnK2pLt/jTmQkY1laLAude4QMTnwtOOMxRz2oC0j7x9CuuxDkUU435ztGCkDCARZHedl2dkHtdjUXDS7rJ7VE6PQmXkCbK6j67UKPXBFqrOg= Received: from DS7PR03CA0267.namprd03.prod.outlook.com (2603:10b6:5:3b3::32) by MN6PR12MB8591.namprd12.prod.outlook.com (2603:10b6:208:471::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.22; Thu, 27 Apr 2023 05:33:56 +0000 Received: from DS1PEPF0000E644.namprd02.prod.outlook.com (2603:10b6:5:3b3:cafe::3d) by DS7PR03CA0267.outlook.office365.com (2603:10b6:5:3b3::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.21 via Frontend Transport; Thu, 27 Apr 2023 05:33:56 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by DS1PEPF0000E644.mail.protection.outlook.com (10.167.17.200) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6340.15 via Frontend Transport; Thu, 27 Apr 2023 05:33:56 +0000 Received: from AUS-LX-MLIMONCI.amd.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Thu, 27 Apr 2023 00:33:54 -0500 From: Mario Limonciello To: Bjorn Helgaas , Hans de Goede , Shyam Sundar S K , Sanket Goswami CC: Richard gong , Mario Limonciello , Thomas Gleixner , "Ingo Molnar" , Borislav Petkov , Dave Hansen , , "H. Peter Anvin" , , Subject: [PATCH 1/2] amd_nb: Add PCI ID for family 19h model 78h Date: Thu, 27 Apr 2023 00:33:36 -0500 Message-ID: <20230427053338.16653-2-mario.limonciello@amd.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230427053338.16653-1-mario.limonciello@amd.com> References: <20230427053338.16653-1-mario.limonciello@amd.com> MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB03.amd.com (10.181.40.144) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS1PEPF0000E644:EE_|MN6PR12MB8591:EE_ X-MS-Office365-Filtering-Correlation-Id: 1db783eb-415a-4d67-2550-08db46e0ff05 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 7a0jCyqW3hvKIltE2tNrzwEsKKmnOzf/r51CD6pUqGtGNCrffxSbmIzdJiw1zluTI9FNeo6Rs7jnBQMHGWNuQ3rVwkNOcPsQFMkD7tKQabD7NbS/L7Q8owNUPUx8eR6345yHXRV6Lpyu6b/iViq+E51J1wn/NPIC03O7r391mtW5vtBUQ+44Wfqt9t3Zx6J5XAU5H+B3yNPxqL7rn4FitrTvTyL7Df7IOy0YfAX1BYvcSxZFmOqIwICVjpteYyoBCAvFKCtWL8FK0dOw5irgYKaNJHG2m932CXLnvQKo5ryU1/qqrcWUF1w8ObdDfCORsThgRSvzZAGPggUx3yW8Ge88MAi0D2tmb7ys/dO2l1vvxQiNI89oNE8m3kdvOUW/gUHCxVK+yeMEOcYfG+xGIv/pAXkJsuBRnCeR+Sn/0SkUZ+zrKakAQlldpTXsf1n7prdRYW/+7A6ITjI+oDC33UiGvoioL6yPR32UMKG5Ypqo+dAn9939r8NwiaXe+unOOzb5ChYm0MGIrEYh9gDcpYNLu/adNnuW9K6i2HI3YsMMlf1pf3HL83+ENrd9mLu2fAtqndUb/orkZKpOUnNrIdn6DzUwzS3rPZP0zRiCgz3F1IqJRWMruNz2xV8kfcEh6KYN2tQ8fbl0bZ6TEZd4KxrxiR2ioqjctXsLXdXdM0JWCr97lFcbioVl8jAGKGIfxQCIhLRGM8K/irBwPL6c8PQiuO/Sgs4S8JRA2/JohIs= X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230028)(4636009)(346002)(376002)(39860400002)(396003)(136003)(451199021)(46966006)(36840700001)(40470700004)(47076005)(336012)(426003)(70586007)(4326008)(6636002)(36860700001)(478600001)(7696005)(6666004)(2616005)(1076003)(16526019)(186003)(26005)(110136005)(54906003)(7416002)(2906002)(44832011)(5660300002)(36756003)(40460700003)(356005)(81166007)(82740400003)(8676002)(41300700001)(8936002)(70206006)(82310400005)(316002)(86362001)(40480700001)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Apr 2023 05:33:56.7109 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1db783eb-415a-4d67-2550-08db46e0ff05 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: DS1PEPF0000E644.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN6PR12MB8591 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=no 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764307488936504118?= X-GMAIL-MSGID: =?utf-8?q?1764307488936504118?= s2idle previously worked on this system, but it regressed in kernel 6.4 due to commit 310e782a99c7 ("platform/x86/amd: pmc: Utilize SMN index 0 for driver probe"). The reason for the regression is that before this commit the SMN communication was hardcoded, but after amd_smn_read() is used which relies upon the misc PCI ID used by DF function 3 being included in a table. The ID was missing for model 78h, so this meant that the amd_smn_read() wouldn't work. Add the missing ID into amd_nb, restoring s2idle on this system. Fixes: 310e782a99c7 ("platform/x86/amd: pmc: Utilize SMN index 0 for driver probe") Signed-off-by: Mario Limonciello Acked-by: Bjorn Helgaas # pci_ids.h Acked-by: Guenter Roeck --- arch/x86/kernel/amd_nb.c | 2 ++ include/linux/pci_ids.h | 1 + 2 files changed, 3 insertions(+) diff --git a/arch/x86/kernel/amd_nb.c b/arch/x86/kernel/amd_nb.c index 4266b64631a4..7e331e8f3692 100644 --- a/arch/x86/kernel/amd_nb.c +++ b/arch/x86/kernel/amd_nb.c @@ -36,6 +36,7 @@ #define PCI_DEVICE_ID_AMD_19H_M50H_DF_F4 0x166e #define PCI_DEVICE_ID_AMD_19H_M60H_DF_F4 0x14e4 #define PCI_DEVICE_ID_AMD_19H_M70H_DF_F4 0x14f4 +#define PCI_DEVICE_ID_AMD_19H_M78H_DF_F4 0x12fc /* Protect the PCI config register pairs used for SMN. */ static DEFINE_MUTEX(smn_mutex); @@ -79,6 +80,7 @@ static const struct pci_device_id amd_nb_misc_ids[] = { { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_19H_M50H_DF_F3) }, { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_19H_M60H_DF_F3) }, { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_19H_M70H_DF_F3) }, + { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_19H_M78H_DF_F3) }, {} }; diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index 45c3d62e616d..95f33dadb2be 100644 --- a/include/linux/pci_ids.h +++ b/include/linux/pci_ids.h @@ -567,6 +567,7 @@ #define PCI_DEVICE_ID_AMD_19H_M50H_DF_F3 0x166d #define PCI_DEVICE_ID_AMD_19H_M60H_DF_F3 0x14e3 #define PCI_DEVICE_ID_AMD_19H_M70H_DF_F3 0x14f3 +#define PCI_DEVICE_ID_AMD_19H_M78H_DF_F3 0x12fb #define PCI_DEVICE_ID_AMD_CNB17H_F3 0x1703 #define PCI_DEVICE_ID_AMD_LANCE 0x2000 #define PCI_DEVICE_ID_AMD_LANCE_HOME 0x2001 From patchwork Thu Apr 27 05:33:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mario Limonciello X-Patchwork-Id: 88108 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp50939vqo; Wed, 26 Apr 2023 22:43:26 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5cOXX1fbd+uawSrmknbVJUSJY+aG2gh2OsqpBjuXqwHDPRg5K2qW+HAz9t4Ce2Ct8qS0oT X-Received: by 2002:a05:6a20:6e26:b0:f6:3a10:eac1 with SMTP id go38-20020a056a206e2600b000f63a10eac1mr271538pzb.62.1682574205859; Wed, 26 Apr 2023 22:43:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1682574205; cv=pass; d=google.com; s=arc-20160816; b=cWi1F5sbQmyfYB54PaQxbDnWqPrAOJTbf/rqwqWlfom71Lz2Ed7Uf2DhrCVIU/4OeB peoe3w2Z4SKeHQq43TDgUzrJWlwImYT7R4+qd9Po0GXGnKfHzvMmrN4ojM6x0sF0L76s aLo/0LqMSKAVxUkks+ikP5YdkVML1uy32ZPu3JIWI3qDEdHULh27BB+NyDolN4k8xuPJ He3MWkRV3dUr8LrEdMAFF9n7waNLYl9vAOShKmR2+v25DW/N6fnswX6jB86ctGeq09Wc dua3RgWsH3qPeNV2RWy+4DhMHrzRYNc4G4RQanxNTxr9WIKUljAjJ9rFlwj19yNEFKdX zMCg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=4TfZytftbUAc/bIp2rwvah/ZYV/rYgVkLRQ/zEJZmko=; b=da41xCtr0LwRiSSfO02jh9Z4lWGVRE1FG3/eusgJil2tDA131ZWRGt5dWzo9O2H+Tt OsF9jwVF3L7z3is7aYN0jzKYIgKrfy2DuO4RVfYdwi+t+IuacnIS50ntlCtEmu1fsrlW Ak5MovS0MPWCxFxhZHa1WHeSI1pB1YrKzP2h5X9wiwF+Z0W1WBchHbVhjoyfkPQXNHz1 p5kibF5cCBIbTak2LYCUv6tGTzqghmGEXxlUrt53OSlRux8DfrDM8+sDERwBOnMf7cnT PXV2Lnhl4iLyJrmiMJU2+yZlTZX59Q0s/xTRDXW+A8s1WUt1rtWVQ27/FnIGEy8IXIFT keQg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=WFNcIXXw; arc=pass (i=1 spf=pass spfdomain=amd.com dmarc=pass fromdomain=amd.com); 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h184-20020a6383c1000000b005254580c663si11268862pge.8.2023.04.26.22.43.06; Wed, 26 Apr 2023 22:43:25 -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=@amd.com header.s=selector1 header.b=WFNcIXXw; arc=pass (i=1 spf=pass spfdomain=amd.com dmarc=pass fromdomain=amd.com); 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242877AbjD0FeI (ORCPT + 99 others); Thu, 27 Apr 2023 01:34:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242854AbjD0FeF (ORCPT ); Thu, 27 Apr 2023 01:34:05 -0400 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2068.outbound.protection.outlook.com [40.107.92.68]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2FDEE4681; Wed, 26 Apr 2023 22:34:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cWJiozoC03vwCku2eWfHDMcdk4eiY9jgKIc0G7h4FBI/blmMhtWFNWM+cpg/mFTXvBFZdgOtOokdFDbIIyxszRXTywicz3MZ75HbJZu9++CKZ7eqw1Fbi8Gzyv8SdQrQglTdib6swXMQxTgld8geStTNsB2eb/JjVzdzHoZdtYzWJujMNERbyhREOqFgoLkByNkfri9b8jQ272mjxW95QRodVR+QGd/CgiJ1LmxweoVaMBcRcDrO2QwB1KzQuI+WbS7s53LZKZbf9Bsd0vUpIjIeYUp581jz01/+Lza+i866HjNTGUxaGu6U1kcnAlvJOulneGG6WH3Ft1tRwD9lXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=4TfZytftbUAc/bIp2rwvah/ZYV/rYgVkLRQ/zEJZmko=; b=YgMjGRQvIIqfAWWHw0oBdbSQY0JAIJ6hYROLP1DuCElwrTGK+8LrVN1tgaC1jdixAnKhUXujn8VCA+Y+mQgXgJY/m84IibCVERHw7U9VGds7QcFZprv5KSrUelU1As6pfsQyS3DG5hGXNt5ODLIP0vUbIxWh0rftahJqKi+n5ZVOf6Orr/5Y0eUhh4rAcVMWC7U4YHF1y8UU+/gj8TfTLA+Topg+ohcO9W/kINzybYDEx/hEQWyXtwExRC4QS6xN6Ml/fSFFP9HFdoevO+5iCmj9NFjl+WOGT82FC/nvKWH0yxzPY5ljXqRWIorhLCHq0eT81Ve3Upk+BZPIj6/XjQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=ladisch.de smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4TfZytftbUAc/bIp2rwvah/ZYV/rYgVkLRQ/zEJZmko=; b=WFNcIXXwRQXAr1P8Hta9aAn4TgWKT990bf+vtlTW80PGmqYgZFR2WvORJXjsSPzKucV2ejsOKQqq0sj7yyimRvvbhxjKKt/AwE9lrm16SrhhPDpupi9PeFPDdwurt+vU7Q5JYxMr49i/484hoARU0YXWfQizwydn8tY2k29tXCY= Received: from DS7PR03CA0257.namprd03.prod.outlook.com (2603:10b6:5:3b3::22) by PH7PR12MB5975.namprd12.prod.outlook.com (2603:10b6:510:1da::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6319.33; Thu, 27 Apr 2023 05:33:57 +0000 Received: from DS1PEPF0000E644.namprd02.prod.outlook.com (2603:10b6:5:3b3:cafe::90) by DS7PR03CA0257.outlook.office365.com (2603:10b6:5:3b3::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.21 via Frontend Transport; Thu, 27 Apr 2023 05:33:57 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by DS1PEPF0000E644.mail.protection.outlook.com (10.167.17.200) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6340.15 via Frontend Transport; Thu, 27 Apr 2023 05:33:57 +0000 Received: from AUS-LX-MLIMONCI.amd.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Thu, 27 Apr 2023 00:33:56 -0500 From: Mario Limonciello To: Clemens Ladisch , Jean Delvare , Guenter Roeck CC: Richard gong , Mario Limonciello , , Subject: [PATCH 2/2] k10temp: Add pci ID for family 19, model 78h Date: Thu, 27 Apr 2023 00:33:37 -0500 Message-ID: <20230427053338.16653-3-mario.limonciello@amd.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230427053338.16653-1-mario.limonciello@amd.com> References: <20230427053338.16653-1-mario.limonciello@amd.com> MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB03.amd.com (10.181.40.144) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS1PEPF0000E644:EE_|PH7PR12MB5975:EE_ X-MS-Office365-Filtering-Correlation-Id: 3b4dc419-db1c-4e4f-4986-08db46e0ff4a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: UxAIC3jLLiTMhsDHbO2lRXjQ7Yj0KtVbKPz4ZRLEzzfUjT1ehwFoXs9KYc1rjGaDxChKX2F8AqCkh+jtlUHRGTsFFB1nZFpyPsMVSc2M68l8rPccIv65QWkk2NWF2qtz76TO8CLyaMJla+7QkCtvYnzZneMSHqvBsOxkvG0i1Dgw4B/+s6UCnR2UvVkJH36NL7vuTwYnckXAmc5rTJB+CAxCbGkukEWupcAOCt19CbmgL+pp9yX3Ycf9wFAKU2GqfukYXoyuSDWT9jAK7Db+EOhkjb1gW3yhOGoBNk6uPJj49/YNG24DdypoQRfkljq54X/kjWf5UZ9XcJU7aK+r6tPDwbkYQ3AENiaYtEX0n0DAejea5ewV3ZIz+W/9NFX//wc4zjfiiV8SUbJlv5zZMa02XiDOa/COOqrJJMaMSTzr5W/QNl7WPJyN8IBh1OB4BJvZi1I6lWv40yfSqbZRwYT7QFyvTpJ1sLDbI8qTUKTjp74/5CEZqQEe08VmjNMBXAYHS7FL0+2MDWYZXgwyV4daOCSo/MjZcU6eMh1QyF/RVhyfCG8luIKzYT3P5ngQy6xMmHgOdA9wJ4LE1HhQCa3mCbD8jz5Szjt0BaE0m3P+Cp2mthm0uyvKKC7TzUmjAN55xrwHkwyx6qplTacgUUnn68KuKsyYeGCVCimThzt0GnL1DSaQz+GuP/46iVJU5TBXRUxSRy+WFM/q22UPJZcfG9a2GZccA5nIyLfNPww= X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230028)(4636009)(376002)(39860400002)(346002)(136003)(396003)(451199021)(40470700004)(36840700001)(46966006)(8676002)(44832011)(8936002)(54906003)(70206006)(81166007)(478600001)(86362001)(70586007)(82310400005)(2906002)(41300700001)(316002)(6666004)(4744005)(4326008)(110136005)(7696005)(5660300002)(26005)(1076003)(186003)(82740400003)(47076005)(356005)(16526019)(40460700003)(336012)(40480700001)(426003)(2616005)(36756003)(36860700001)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Apr 2023 05:33:57.1640 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3b4dc419-db1c-4e4f-4986-08db46e0ff4a X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: DS1PEPF0000E644.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR12MB5975 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=no 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764306930373527762?= X-GMAIL-MSGID: =?utf-8?q?1764306930373527762?= This enables k10temp to work on this system. Signed-off-by: Mario Limonciello Acked-by: Guenter Roeck --- drivers/hwmon/k10temp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/hwmon/k10temp.c b/drivers/hwmon/k10temp.c index ba2f6a4f8c16..7b177b9fbb09 100644 --- a/drivers/hwmon/k10temp.c +++ b/drivers/hwmon/k10temp.c @@ -507,6 +507,7 @@ static const struct pci_device_id k10temp_id_table[] = { { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_19H_M50H_DF_F3) }, { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_19H_M60H_DF_F3) }, { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_19H_M70H_DF_F3) }, + { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_19H_M78H_DF_F3) }, { PCI_VDEVICE(HYGON, PCI_DEVICE_ID_AMD_17H_DF_F3) }, {} };