From patchwork Mon Feb 27 05:35:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: srinivas pandruvada X-Patchwork-Id: 61735 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp2254942wrd; Sun, 26 Feb 2023 22:04:47 -0800 (PST) X-Google-Smtp-Source: AK7set++KEEgXq6E82EsHtw97lt1iofe8e93CuMbS8GxWzHgeuIUK/lIQY/9gsiJwtVmYGTlqLet X-Received: by 2002:a17:907:c706:b0:87f:5d0a:c610 with SMTP id ty6-20020a170907c70600b0087f5d0ac610mr36059634ejc.32.1677477887817; Sun, 26 Feb 2023 22:04:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677477887; cv=none; d=google.com; s=arc-20160816; b=vz96zJby4nPaCs5SUbCbUoLBpDkoUDOkJ4UJ8pqQewKy3h6Q/n6Pc2tJLBTV+OOkju /wQ7Wd0uLoAxN6vazp41/L5hy6IEjrbKZxxSImKYnhFd96cPQwU+KDdKFuKk0lPbj8L8 JzSTXJAheWXUrE1FX93Ac2EqHqaEOCer5EFS3p+WJqlQghmjahVmJ+Lp6XaEJHpHyy4K Y/8fiBa3sn2ll0uuvV0xr+iAQdESn340tXTayapA5ygJzEOTOnSA0RoZQXpO0ejWgBVH XFeDEGrzTH/dtV908YRE0HamEVm7/5nzFXAhwF/HOb5nfG4FEpPEsIrhpsaULpqNN7xr lL2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=wsE4QsiXWt7xxzFg8BpfjMPQFAFifFijWbkimK/HBs4=; b=o0xLUgaUHb07NFkPxXiuSxTnUN7uXdNRdW4RNa21OhFJk6XQbIRJiNsgcm8yXeDUWz RBsUARK+7gbMsnPNdFCANQVdTHso9APpyuOk+5y1WEu1HxiYlzt4s4v3fxCudpfdrxMH sb3jYcol7GM0bKDnSjcd7utwlJh7IbgQhu/DejHmjqzH41YKQzH9iDxiklDkwmeusGxi cFiTWeqMBJeWTCyLPoEnjF920klrjyz2PszP/vT90vpoPIGkT8CJAJvCNUUrYElTJK8u MRdeZSJoOmEaH2OKzLfF43zHUwdrH8eCT4MHX5g6NByjcM7UNMMUbRlt3+EmNP2odE5E oMWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=OaLlpvCS; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h14-20020a17090634ce00b008b2d8733a50si109887ejb.297.2023.02.26.22.04.25; Sun, 26 Feb 2023 22:04:47 -0800 (PST) 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=OaLlpvCS; 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 S229818AbjB0FfL (ORCPT + 99 others); Mon, 27 Feb 2023 00:35:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60718 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229470AbjB0FfJ (ORCPT ); Mon, 27 Feb 2023 00:35:09 -0500 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0F4C1117D; Sun, 26 Feb 2023 21:35:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1677476108; x=1709012108; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=oQPX7x3IL1Ebsh+DaCSvLlDQcRLVwIDTJDIaEPNaL4w=; b=OaLlpvCSlaYDQ8a9R5LCyl1xyAYj75pA8WSAqI58Z+tzx/tFKqj5Nv4J erh0x754CJRkXKbrzmJWcEXsnOjff88ON0TUC1yWw6f9u8HOMl6tIZcmu noT1AmMHWchucNcvb7TqzHkjgBMmmXKnogg9NDJeSFnNBd4CE/yLm3kEL 8fXGnjz7t3Tc+vBJXPcB3iPT0tC1rRt4O2ywTFkc15Gqg81ZKekDiqmmM sdtDMK4Z0es2K9Wxui+L9nDTvhnM7jLtsivl4hfllnQWf1/T8Ewvb8tuS TolE7d9X/KBij+jgZNlqWsdSh7Czjl/TtLBt237F8u4Tu0gBvpOvHux05 g==; X-IronPort-AV: E=McAfee;i="6500,9779,10633"; a="361339125" X-IronPort-AV: E=Sophos;i="5.97,331,1669104000"; d="scan'208";a="361339125" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Feb 2023 21:35:08 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10633"; a="737517015" X-IronPort-AV: E=Sophos;i="5.97,331,1669104000"; d="scan'208";a="737517015" Received: from spandruv-desk.jf.intel.com ([10.54.75.8]) by fmsmga008.fm.intel.com with ESMTP; 26 Feb 2023 21:35:08 -0800 From: Srinivas Pandruvada To: hdegoede@redhat.com, markgross@kernel.org Cc: platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, Srinivas Pandruvada Subject: [PATCH] platform/x86: ISST: Increase range of valid mail box commands Date: Sun, 26 Feb 2023 21:35:04 -0800 Message-Id: <20230227053504.2734214-1-srinivas.pandruvada@linux.intel.com> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1758963053637724954?= X-GMAIL-MSGID: =?utf-8?q?1758963053637724954?= A new command CONFIG_TDP_GET_RATIO_INFO is added, with sub command type of 0x0C. The previous range of valid sub commands was from 0x00 to 0x0B. Change the valid range from 0x00 to 0x0C. Signed-off-by: Srinivas Pandruvada --- drivers/platform/x86/intel/speed_select_if/isst_if_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/platform/x86/intel/speed_select_if/isst_if_common.c b/drivers/platform/x86/intel/speed_select_if/isst_if_common.c index a7e02b24a87a..0829e793a8fc 100644 --- a/drivers/platform/x86/intel/speed_select_if/isst_if_common.c +++ b/drivers/platform/x86/intel/speed_select_if/isst_if_common.c @@ -47,7 +47,7 @@ struct isst_cmd_set_req_type { static const struct isst_valid_cmd_ranges isst_valid_cmds[] = { {0xD0, 0x00, 0x03}, - {0x7F, 0x00, 0x0B}, + {0x7F, 0x00, 0x0C}, {0x7F, 0x10, 0x12}, {0x7F, 0x20, 0x23}, {0x94, 0x03, 0x03},