Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp37366609rwd; Tue, 11 Jul 2023 13:15:52 -0700 (PDT) X-Google-Smtp-Source: APBJJlGrF55peryBKLJVYE7o43sSVaWPKmkbI6HfPkappNxuPF74tbejdKMapkIsmk7ezW17R9EL X-Received: by 2002:a17:903:26d3:b0:1b8:a88c:4dc6 with SMTP id jg19-20020a17090326d300b001b8a88c4dc6mr16276585plb.45.1689106551770; Tue, 11 Jul 2023 13:15:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689106551; cv=none; d=google.com; s=arc-20160816; b=hJMrEisNDSDj/GFRvTgr0rJbEm9XcO2YBX/nb5+drq59plIUxtI3HB6iI3vYgPJ8p7 CXOeXMuuCQYKTkYfH458kPjlz5w6WGyhNzRqPxojavPyMGmH+RSJCNabmE0CTjKtfaMd 9YoH85AAgF6bSfvVE+zJxCQEag3Eqa9cupPW9Ru2VjJ+pwh5A0oAQTrxjsKPw2KE0ZUh JDW1BG/a681q/sXbP+KpbWktfdFKvwk+a7jJt87N/0YPNOefYKlCZIsxhAWkT3HtBUcj vI9Cov27T6n4wYxqasLhp1C55gx3kMP73HKNVgJjdB0bIfjOpKJh7Fnj9E/B83jwejli dRtg== 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:sender:dkim-signature; bh=Vbgm71YcKlV+YwM9EntZJb3Xj8SWJ9W9vOrlGUOSBzc=; fh=CEd13MuqMf220v9VsFIqOI04l/dZ34d+KcpwC7Xievg=; b=JfsXU3dpUa2dEx7yCBP1XIpt26u2dukGf7SRyGo+ojeVlzqGilVzt+IHI39F5OnVPo g3y3R4Kf8tEXPKq1pJzDb2LIMzmoA0JyRmEEpg1QytMdwtlxk/O3I26BHymPb0Fx+9T7 jcCAamKj2IgDFx3ZncnQfduoWwIXEmuhL1BMMtsBA0utnMjOjRBvqVwn3Esm/55WU3nP 1NjxBWbbSDCDDMXTLvTh7qDYPVTo9KuMeqtN/m1iBEKAABtQx15fvvK0Rbj5Ut41rPVa M+RpUEk+/Sl67XoyJGFOV1Ap3O70im8yc6rPgPkI8SbZmexdtDLO7opmMqc0cTTScg8+ 7Zvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=A6qtKSvB; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j12-20020a170903024c00b001b9f091a08dsi1650994plh.635.2023.07.11.13.15.38; Tue, 11 Jul 2023 13:15:51 -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=@gmail.com header.s=20221208 header.b=A6qtKSvB; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230419AbjGKTqE (ORCPT + 99 others); Tue, 11 Jul 2023 15:46:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57412 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229512AbjGKTqD (ORCPT ); Tue, 11 Jul 2023 15:46:03 -0400 Received: from mail-yw1-x1130.google.com (mail-yw1-x1130.google.com [IPv6:2607:f8b0:4864:20::1130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9DEBB19B; Tue, 11 Jul 2023 12:46:02 -0700 (PDT) Received: by mail-yw1-x1130.google.com with SMTP id 00721157ae682-5774335bb2aso67664197b3.0; Tue, 11 Jul 2023 12:46:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689104762; x=1691696762; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=Vbgm71YcKlV+YwM9EntZJb3Xj8SWJ9W9vOrlGUOSBzc=; b=A6qtKSvB/9gZX9OW2mjIz4SJhhtmErMvXPNYWQwDrtRLwW+lNP+W7vVdrgX+FfAv5d iKNIb1UC6oWO5dxM5vLnPmE5dzPjR43cOJOBKFyNWY7AlF6eLUJWp0hDqMuR9/cCZei7 4q+tdVDauiBjXl9N9G6IwCechUfmG6atpiJMl7kIcRQ20Azf3Dzye1gdaEAD/aY3xyYw PqpRQCN4zYeCk8OrgrY2d+rfaq65uIFZY1z8Q1XnB9hqBVu2Yh+MJaYu7GiX98hY8smI i6c3MdO6OR9kcCxzMyHvXZQYp0nnaj4IcQZpkBTFW4m5kCQdqqFf+Xo2oZT+H7nfi3jo 6SHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689104762; x=1691696762; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Vbgm71YcKlV+YwM9EntZJb3Xj8SWJ9W9vOrlGUOSBzc=; b=R+FNazE/2mkqTHu54iI8xj7d9JaiJEMSOiretu7fRjDX82b2tFgI3dnUQg8NM5CdbX 89H1mQbUU+EyFSqZAUHSsNlkYDsImSy+0I3GUSeMJpOJENws9J9UmLfePwKBVPhySxGH tX+1YYg67lMuN0x6Sk8lCHtlr3YtCqsxfaj+60cVi9p92RqsKFe6jNPNK4UtAYvfhLup j2QaOTwm+qYEt84ZIx4TD9CNu3MX6cywRgTur3GGaCpuF6mUEv/uc5D2pvLhF0Xq/xKL J6umrP+xR4BpMjEu/HjBrSKFUtGBr2YKbXLBN23KyZ7oiuuTsUjwMLFGjwi5QJJg0vmC HY1g== X-Gm-Message-State: ABy/qLaKvdzRRoIEJYyEc1t/12TjyS1RIJXDN+DL8bNPRNEwEg5miPKo 9w5lrpBq4txKwSB8wvrhORciUyLCayU= X-Received: by 2002:a0d:de06:0:b0:56d:de2:94d1 with SMTP id h6-20020a0dde06000000b0056d0de294d1mr16935452ywe.24.1689104761836; Tue, 11 Jul 2023 12:46:01 -0700 (PDT) Received: from ?IPV6:2600:1700:e321:62f0:329c:23ff:fee3:9d7c? ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id m67-20020a0dfc46000000b00579e8c7e478sm750195ywf.43.2023.07.11.12.46.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 11 Jul 2023 12:46:01 -0700 (PDT) Sender: Guenter Roeck Message-ID: <36752432-52e7-22e1-a2de-332749aa15a1@roeck-us.net> Date: Tue, 11 Jul 2023 12:45:59 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH 1/3] peci: Add Intel Sapphire Rapids support Content-Language: en-US To: Naresh Solanki , linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org, iwona.winiarska@intel.com, jdelvare@suse.com Cc: Patrick Rudolph , openbmc@lists.ozlabs.org References: <20230711160452.818914-1-Naresh.Solanki@9elements.com> From: Guenter Roeck In-Reply-To: <20230711160452.818914-1-Naresh.Solanki@9elements.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, NICE_REPLY_A,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS, 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 On 7/11/23 09:04, Naresh Solanki wrote: > Add support for detection of Intel Sapphire Rapids processor based on > CPU family & model. > > Sapphire Rapids Xeon processors with the family set to 6 and the > model set to INTEL_FAM6_SAPPHIRERAPIDS_X. The data field for this entry > is "spr". > > Signed-off-by: Patrick Rudolph > Signed-off-by: Naresh Solanki Please version your patches and provide change logs. Guenter > --- > drivers/peci/cpu.c | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/drivers/peci/cpu.c b/drivers/peci/cpu.c > index de4a7b3e5966..3668a908d259 100644 > --- a/drivers/peci/cpu.c > +++ b/drivers/peci/cpu.c > @@ -318,6 +318,11 @@ static const struct peci_device_id peci_cpu_device_ids[] = { > .model = INTEL_FAM6_ICELAKE_X, > .data = "icx", > }, > + { /* Sapphire Rapids Xeon */ > + .family = 6, > + .model = INTEL_FAM6_SAPPHIRERAPIDS_X, > + .data = "spr", > + }, > { /* Icelake Xeon D */ > .family = 6, > .model = INTEL_FAM6_ICELAKE_D, > > base-commit: 4dbbaf8fbdbd13adc80731b2452257857e4c2d8b