From patchwork Fri Oct 13 03:31:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Meng Li X-Patchwork-Id: 152289 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp1642090vqb; Thu, 12 Oct 2023 20:33:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHTICzV3Z4jR0EsTd7CidtQEKXh2svHUnX2R3v+xGzzVUrXY9PivoGAGu/oH8rbAkdqT9Qj X-Received: by 2002:a17:90a:4d88:b0:263:730b:f568 with SMTP id m8-20020a17090a4d8800b00263730bf568mr23903929pjh.3.1697168039257; Thu, 12 Oct 2023 20:33:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1697168039; cv=pass; d=google.com; s=arc-20160816; b=BOqxzBNQkotpXHnStl/PL6EDhg/LolZlrNZ1EB39c+Pir4Xfnr65i3skhf7u/jXZmv SEHhNozeVn0Ha8GNdbOXN2+kBkEJHJ6Qs7I08osWosTINlClvw0NNnMdVJqNAAQkPGKu NQh3g+BRER/hfUCT2NYAr++MdTli/od+B5kKSSIWzDkjhBji+FWMi3FUxdEx3JeH7LZP lr6KWd/ZEb1Pzo7qJKEuqCwRLAltOKO6ksB7liIGjPUu4kcUab9ycpH9xelea0v8vhOQ 3qYhZqtz5fwF+Ow63H4Q8RlCMkjBGNcz0w3BMLOAnY0l0k5lAKTGMktclnGH6OjxRknh cPXQ== 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=3BATVT8xDKQmxK5ddKWQeikq5vTddHGyEfuh2meRohc=; fh=px4bRiBuq3I9SXanjlkRNLIg6oMFdG8uo3HGDz2F7II=; b=RT/SAe6fTbvof/djXS6E+gTShVvnS2eDkhIYrYscBlzWPEkASeMEcx/4gTB2PVLCFV 3hDYc+0hEGuWgY5gOrY/9YsCxwkhqIhKIZu3oEC+BY3KxZ1y+KDGjHOOOF8HrWvpCKEQ aQtd3KTUy1l8Ft/5X7lGiwi8uEQfCzcMUiI7WEUd7+JIQf99CWcqS5h/bMftIMtIy6yY bPpyG8LhmPEC5MJvT0/0cWNjuickr39xGHmlDKEvG8WvjLH10Dr9Q2DXYHFy6g+KF3+R Nsb/GoIBaPvic9K8vNTHPwhPqfjC0x33Ti+dBK3ek3PsJ7jqsczpkDpe+BeVYT4xp64O CRcQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=SWppC7lT; 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 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id 138-20020a630090000000b00584a7618163si3771620pga.601.2023.10.12.20.33.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 20:33:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=SWppC7lT; 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 23.128.96.37 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 27430803E7B5; Thu, 12 Oct 2023 20:33:23 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229757AbjJMDdH (ORCPT + 19 others); Thu, 12 Oct 2023 23:33:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229695AbjJMDck (ORCPT ); Thu, 12 Oct 2023 23:32:40 -0400 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2067.outbound.protection.outlook.com [40.107.93.67]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 240FE10B; Thu, 12 Oct 2023 20:32:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lVfRAHGyN7Rn90sTKQEmRm/90AsyznakreBR0tPsJ1jzzaPo89cFTtWqhDqS2gK3/0dZoifv9haVFaGW9Aq1fnkWVSxtTwpeeR0G8rgiaqm9NSMrQoDIVCR6/RFYT83e5A/uF4GbkLKHMjmIp2yVqrnRIVYCSzBZK2L9pRMpIWW5tORWIuVAzdakAa/Xr+2r+bgLgxRUUBSQnaXzZUUIG88e2GyYUMdYtfHHSf6lwusEOzgXuM00YfYhGbpbNDj6VQJMHoacd0YzWi40yVqRQLTDFRM8Z+fApJfb4zVjiXFB6cxHTUJwtoIfyN5JjoTePal28cpmbUJ4J+HEYi3PeA== 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=3BATVT8xDKQmxK5ddKWQeikq5vTddHGyEfuh2meRohc=; b=dXLhSQezqxVauLgCQBkqTWjOLa4OKQO1rKOLkV+35SDAQWCT4iOzyLfqE03AFBndU09EVcNdCq7A4HYNE4ri2vaSE9FAwLKFRLpyHhbXv4eJeRmnRrD8K92q/ONYxNblHT5Ze/fLV/Z+6usxSRXu5KxaFWWE4fBHrZOeeqzVLLn5JUBubw59GaU9X37TTi75K0n4nwUP1V37+bVoAt0xnVJdpPfuAxRIlhD2nXp0Of5qFrcbY1dUtiJp/k8ZwXjbo+bOK9X7thlULNNmI8jInrDLQpQviDI4G8ua/Q7FUB6pbm0PaTxILS35CjDHvzoj62sIl4+r23soYSUM28XcKA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=intel.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=3BATVT8xDKQmxK5ddKWQeikq5vTddHGyEfuh2meRohc=; b=SWppC7lTOhJnDtjhz8YBRRposp1J8oT9guV+mjkwYnjp/4mpqUucErzsCjWbST5vo1BWdNLDxCqwByJieaIeKJLXTHAY2z0/ZfzV5VzZARWcSXbjKyM/nNgNOV3y76FgaloOj6iCgvEFfDleY0+mYHVyG7FBuu4s/FNVA//R7FI= Received: from MW4PR04CA0046.namprd04.prod.outlook.com (2603:10b6:303:6a::21) by PH7PR12MB6444.namprd12.prod.outlook.com (2603:10b6:510:1f8::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6863.43; Fri, 13 Oct 2023 03:32:31 +0000 Received: from CO1PEPF000042AD.namprd03.prod.outlook.com (2603:10b6:303:6a:cafe::52) by MW4PR04CA0046.outlook.office365.com (2603:10b6:303:6a::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6886.28 via Frontend Transport; Fri, 13 Oct 2023 03:32:30 +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 CO1PEPF000042AD.mail.protection.outlook.com (10.167.243.42) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6838.22 via Frontend Transport; Fri, 13 Oct 2023 03:32:30 +0000 Received: from jasmine-meng.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.2507.27; Thu, 12 Oct 2023 22:32:25 -0500 From: Meng Li To: "Rafael J . Wysocki" , Huang Rui CC: , , , , Shuah Khan , , "Nathan Fontenot" , Deepak Sharma , Alex Deucher , Mario Limonciello , Shimmer Huang , "Perry Yuan" , Xiaojian Du , Viresh Kumar , Borislav Petkov , "Oleksandr Natalenko" , Meng Li , Wyes Karny Subject: [RESEND PATCH V9 7/7] Documentation: introduce amd-pstate preferrd core mode kernel command line options Date: Fri, 13 Oct 2023 11:31:18 +0800 Message-ID: <20231013033118.3759311-8-li.meng@amd.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231013033118.3759311-1-li.meng@amd.com> References: <20231013033118.3759311-1-li.meng@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: CO1PEPF000042AD:EE_|PH7PR12MB6444:EE_ X-MS-Office365-Filtering-Correlation-Id: a3f75f42-f6b0-4d38-58b5-08dbcb9d0814 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: XzLHNGMGu2sbnFNqFpxLFKF2DdXvxtzdC8XouRvXu8+H5U6lYhdCyRMXym9u5RxHNZwL4IEPP6FA35JnlRTPc2uTXAduaFpwsTq1Typ5cz+098cOaur/KEab52OU5szE7vJs+k0HTH4JLTmjKhkqoa45CLFrLORHzqQ3h0s1e0QmeJ/XlKJaoT68KaTVudI5wNkHjAVQ/N/C0hSDLZLg/iFZ9TNwFIlHk8ana9iZyZwlUeg/u8Lax6tvWEAQW1cVCbddCnLOm+e6HDVxHuXPDbtYTO/Xta2xlA6dISZXdvj0061ejCph3/rjJXgQ23RcNjprn8sNNruZPG4CRS+uiNbG4AKWwLM0lFfn2sUZdjMayg1yrc0OOhl7YYgJ1074qlANz+w8kVYyYH1xjrmtGEqr4N0b/lmBj7alVpjErOSdYaLQ8GVlE7yZE8JToY8y7zWZSCvbMdx2SOhqmYv3kDWNAdJAexSuFS2GJeIa2nY2RApk4rYI4+qJsOtohRGMicsoJGSJC8dT7hs42OxbttVzzh9jyHIJEqoUIDfUudicScSBGyAe270TQprBqLwDwK7y36IcwH/gW8zcLGTl0x5+2mkIrHOnKS4rV5rDbgfcJ+qWYDI1PEyRq3v9eiv+PrRt0VYhbofW5+VjrAfvHEZzwoVcTGVPNEK/sVfJWpSXaDaFZfFmjJsPUAJnrNcmQZtr1djPkaU1U2oXrkLMH0+z+7exwJjNCgC/tMDSM0q4x8jCtMZrn4tuS9XddyRHKdWTOVVYFuD4Rz+ghoBq/u554LwaEW5WXudreFpz4QKT8Q/X7sob22up8e6Oxi6B 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:(13230031)(4636009)(346002)(136003)(396003)(39860400002)(376002)(230922051799003)(64100799003)(451199024)(82310400011)(186009)(1800799009)(36840700001)(46966006)(40470700004)(26005)(2616005)(47076005)(16526019)(478600001)(1076003)(7696005)(83380400001)(40480700001)(86362001)(40460700003)(6666004)(41300700001)(36756003)(426003)(336012)(4326008)(8936002)(8676002)(110136005)(54906003)(6636002)(316002)(70206006)(70586007)(2906002)(7416002)(5660300002)(81166007)(36860700001)(356005)(82740400003)(36900700001)(14943795004);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Oct 2023 03:32:30.7506 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a3f75f42-f6b0-4d38-58b5-08dbcb9d0814 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: CO1PEPF000042AD.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR12MB6444 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, 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 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-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 12 Oct 2023 20:33:23 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779609674053928995 X-GMAIL-MSGID: 1779609674053928995 amd-pstate driver support enable/disable preferred core. Default enabled on platforms supporting amd-pstate preferred core. Disable amd-pstate preferred core with "amd_prefcore=disable" added to the kernel command line. Signed-off-by: Meng Li Reviewed-by: Mario Limonciello Reviewed-by: Wyes Karny Reviewed-by: Huang Rui Tested-by: Oleksandr Natalenko --- Documentation/admin-guide/kernel-parameters.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt index 0a1731a0f0ef..e35b795aa8aa 100644 --- a/Documentation/admin-guide/kernel-parameters.txt +++ b/Documentation/admin-guide/kernel-parameters.txt @@ -363,6 +363,11 @@ selects a performance level in this range and appropriate to the current workload. + amd_prefcore= + [X86] + disable + Disable amd-pstate preferred core. + amijoy.map= [HW,JOY] Amiga joystick support Map of devices attached to JOY0DAT and JOY1DAT Format: ,