From patchwork Wed Oct 2 19:53:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Reed X-Patchwork-Id: 1992161 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=185.125.189.65; helo=lists.ubuntu.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=patchwork.ozlabs.org) Received: from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XJlq554VWz1xtY for ; Thu, 3 Oct 2024 05:53:20 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=lists.ubuntu.com) by lists.ubuntu.com with esmtp (Exim 4.86_2) (envelope-from ) id 1sw5PH-0002u0-Sb; Wed, 02 Oct 2024 19:53:07 +0000 Received: from smtp-relay-internal-0.internal ([10.131.114.225] helo=smtp-relay-internal-0.canonical.com) by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1sw5PF-0002pB-6M for kernel-team@lists.ubuntu.com; Wed, 02 Oct 2024 19:53:05 +0000 Received: from mail-oi1-f200.google.com (mail-oi1-f200.google.com [209.85.167.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 106D23F690 for ; Wed, 2 Oct 2024 19:53:05 +0000 (UTC) Received: by mail-oi1-f200.google.com with SMTP id 5614622812f47-3e04cfa7178so238493b6e.1 for ; Wed, 02 Oct 2024 12:53:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727898784; x=1728503584; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DvM2azF4kOZoKJz1Ry5WHBMaWrBVC9SNbBZ0IQIx1o0=; b=Qf1r5E2Fd1q9g2C7gjePE7/o2fHwXxHkAFs+MZEndkNRL5rKkapYVAc9om/ILG6yA3 hFDm8zM4ylctFuhzt8vaCfsGqvr9KbUyaRZ4Ka7d6E7jeoa8viZLlXKeCxA6GMnNKiVQ f/HcqM2X9ICvTcUX8uIRnfrebnFrzkyyBV57DVloSuDAjzRFXAgyKApBXi3b8ctv2lo9 SZrUGWbKP7Y2lzXKXRkNAeD3Z1HDGipv4wQRXle4w3YofiYAUDKZA8gdXoVbqBhynALn 73fk44mrgGWfA9FlYhms2l5l2HLHUHFmnT8aO88sOqaFL250U4Rn+TOQ8WERzXwk8Ze0 tvFg== X-Gm-Message-State: AOJu0Yx1QlYgwND/Ur8/wRbjc8z2E8U28O1odLgODHMiZfB6B2V+CzyC 5JCgMy25benrtRknZcbapqOBBVuVkh69SGi1KfxmA+8I0l7srkDnUu+Sr7uNB8GmnYeNUyhsiKD c3vSEabnEAtp6WrX1Koa198HGqPtqW0Hg9KNfVrmVIvbHvUOLhDx/gt+EXh1Kog5FYhPn6uOGkU g7lZtEBQ4QqQ== X-Received: by 2002:a05:6808:1284:b0:3e0:530:a5bc with SMTP id 5614622812f47-3e3b418f626mr3494379b6e.47.1727898783789; Wed, 02 Oct 2024 12:53:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGsZqyT8Gm3Kx5XzoNZp9t406SQdOBpWHPqotNJum2q+r/brXsDLPnapqRfY026akMUFG5RqQ== X-Received: by 2002:a05:6808:1284:b0:3e0:530:a5bc with SMTP id 5614622812f47-3e3b418f626mr3494369b6e.47.1727898783437; Wed, 02 Oct 2024 12:53:03 -0700 (PDT) Received: from localhost ([2600:1700:1d0:5e50:2f4c:f8fc:2036:7a63]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-714fb6d379bsm3758375a34.60.2024.10.02.12.53.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Oct 2024 12:53:03 -0700 (PDT) From: Michael Reed To: kernel-team@lists.ubuntu.com Subject: [SRU N][PATCH 1/1] EDAC/igen6: Add Intel Arrow Lake-U/H SoCs support Date: Wed, 2 Oct 2024 14:53:00 -0500 Message-Id: <20241002195300.25591-2-michael.reed@canonical.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241002195300.25591-1-michael.reed@canonical.com> References: <20241002195300.25591-1-michael.reed@canonical.com> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" From: Qiuxu Zhuo BugLink: https://bugs.launchpad.net/bugs/2077861 Arrow Lake-U/H SoCs share same IBECC registers with Meteor Lake-P SoCs. Add Arrow Lake-U/H SoC compute die IDs for EDAC support. Signed-off-by: Qiuxu Zhuo Signed-off-by: Tony Luck Link: https://lore.kernel.org/r/20240614030354.69180-1-qiuxu.zhuo@intel.com (cherry picked from commit 88150cd9501b9498e377cc4440325267c6921f90) Signed-off-by: Michael Reed --- drivers/edac/igen6_edac.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/edac/igen6_edac.c b/drivers/edac/igen6_edac.c index 9666caf2a6ab..0f73d4aa2298 100644 --- a/drivers/edac/igen6_edac.c +++ b/drivers/edac/igen6_edac.c @@ -257,6 +257,11 @@ static struct work_struct ecclog_work; #define DID_MTL_P_SKU2 0x7d02 #define DID_MTL_P_SKU3 0x7d14 +/* Compute die IDs for Arrow Lake-UH with IBECC */ +#define DID_ARL_UH_SKU1 0x7d06 +#define DID_ARL_UH_SKU2 0x7d20 +#define DID_ARL_UH_SKU3 0x7d30 + static int get_mchbar(struct pci_dev *pdev, u64 *mchbar) { union { @@ -595,6 +600,9 @@ static const struct pci_device_id igen6_pci_tbl[] = { { PCI_VDEVICE(INTEL, DID_MTL_P_SKU1), (kernel_ulong_t)&mtl_p_cfg }, { PCI_VDEVICE(INTEL, DID_MTL_P_SKU2), (kernel_ulong_t)&mtl_p_cfg }, { PCI_VDEVICE(INTEL, DID_MTL_P_SKU3), (kernel_ulong_t)&mtl_p_cfg }, + { PCI_VDEVICE(INTEL, DID_ARL_UH_SKU1), (kernel_ulong_t)&mtl_p_cfg }, + { PCI_VDEVICE(INTEL, DID_ARL_UH_SKU2), (kernel_ulong_t)&mtl_p_cfg }, + { PCI_VDEVICE(INTEL, DID_ARL_UH_SKU3), (kernel_ulong_t)&mtl_p_cfg }, { }, }; MODULE_DEVICE_TABLE(pci, igen6_pci_tbl);