Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp8037805rwp; Wed, 19 Jul 2023 04:27:52 -0700 (PDT) X-Google-Smtp-Source: APBJJlF4iDJVvNSzTfFo6SjeGqNv/yc/FofRrr915rTAMU00Q5KtWRhP4oIgKe06JjQsZKP9JB+T X-Received: by 2002:a17:902:bb89:b0:1b0:2658:daf7 with SMTP id m9-20020a170902bb8900b001b02658daf7mr13895059pls.36.1689766072065; Wed, 19 Jul 2023 04:27:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689766072; cv=none; d=google.com; s=arc-20160816; b=L9UlDsNv5jXdgkeGw8Zz5c5cOvH4l3N0UFrVB4ekBA1AcvTf2BUMpyKSaVMJwdbwXy IkYu7/gg7q5qyvYxoKqwsTahWk65JioVv7+JbLcXHckFFZOvfefmnyJkV2b7YQFDuLqF S1sW5dcLuFoo2WkG5xmHTSuCr4kXDLYXcwvKNF4N2CrzVKSO7KhSxpAY3vSwkcpS0NUn 1vlyWq1X21/s0xLX7kojsibJgC4SebSCIVQSbUR5jKt/9oeNc/w8LWyxZP/jFxakWTEp UR8ylO2a5dpY0xNOo/umKKKT+zYjHE5HO5DYZ4Eq6Bt051S8rWiLhY3rSbnGRFzrdhC/ KBsA== 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; bh=sjtstY9+3sYhH4INk2aMdOakUTns1oMYpOgofqSJQAQ=; fh=N/y7XfjnLigBty2b/7z/4XWa9AbaNOWyMGfyC485a5U=; b=IvYpUtvpe+X7HsRRgq1sb6wNyoCodm44d3/TiEHVuTwtfI92gSu4llVgqCpUS0jdQp FYXlhMqa4Gbj2lrSimcCSXfF0CpUiYNTzfkUTVI6t+b9CbtG1uIs0ZbqYi5VhZqOX8z4 y9wm+dvj8KD+acxkenQgGDBpHWwvCLYUJgviFQYiSTKc50bKfWSR5SygWvkCCxfRF16v nxQ3jXrnAEJnyN0K1Zu58UWoaMX3jZR3/k9ZCe+XXFPJLluaYVtEt+ID7Kq5NVU9G4WI gd6KNav91KWiCkK8VVZKvbLr4ChzcNo0VTZgKUImUFqrmw3Oo6dR97FNAJbuIdLqbB4B Qd4Q== ARC-Authentication-Results: i=1; mx.google.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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ku14-20020a170903288e00b001b891cfb1dcsi3242418plb.153.2023.07.19.04.27.39; Wed, 19 Jul 2023 04:27:52 -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; 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 S229521AbjGSLVJ (ORCPT + 99 others); Wed, 19 Jul 2023 07:21:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47716 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229463AbjGSLVH (ORCPT ); Wed, 19 Jul 2023 07:21:07 -0400 Received: from mx3.molgen.mpg.de (mx3.molgen.mpg.de [141.14.17.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED3AA18D; Wed, 19 Jul 2023 04:21:05 -0700 (PDT) Received: from [141.14.220.45] (g45.guest.molgen.mpg.de [141.14.220.45]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: pmenzel) by mx.molgen.mpg.de (Postfix) with ESMTPSA id 892FF61E5FE01; Wed, 19 Jul 2023 13:20:20 +0200 (CEST) Message-ID: Date: Wed, 19 Jul 2023 13:20:20 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH v2 1/3] peci: cpu: Add Intel Sapphire Rapids support Content-Language: en-US To: Naresh Solanki Cc: linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org, iwona.winiarska@intel.com, linux@roeck-us.net, jdelvare@suse.com, openbmc@lists.ozlabs.org, Patrick Rudolph References: <20230712091241.3668454-1-Naresh.Solanki@9elements.com> From: Paul Menzel In-Reply-To: <20230712091241.3668454-1-Naresh.Solanki@9elements.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, 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 Dear Naresh, Thank you for the patch. Am 12.07.23 um 11:12 schrieb Naresh Solanki: > 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". Please add, how you tested this. > Signed-off-by: Patrick Rudolph > Signed-off-by: Naresh Solanki > --- > Changes in V2: > - Refactored from previous patchset as seperate patch based on subsystem. > --- > 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, It looks like it’s incorrectly sorted, probably due to merge conflict resolution? Kind regards, Paul