From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AD2F5EE7FF3 for ; Fri, 8 Sep 2023 13:12:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243452AbjIHNMp (ORCPT ); Fri, 8 Sep 2023 09:12:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229699AbjIHNMn (ORCPT ); Fri, 8 Sep 2023 09:12:43 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F24A19B5; Fri, 8 Sep 2023 06:12:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=vvU+eKmWL+DR4xoUeZRyUmnpzpmdZUNS9K61jOHqF58=; b=izdwKbTSiZgV+FSXNWwinC9p9O ixbmo7qk5yXS0bob/uCKur6XnmI/v5G1ZqZkJ2JVsmw5Svy6ghZLr+NcpeqbwbyLRlNuv7YIq8Ui4 gf+7nSp7OGjWxf1Yv2a9pJ4XqLQolsG68WR57W+3PJONw2iElz3Y2c/biPOeT/MdAWkJLr3lQw/6E Qa9TeCKnnNA6ms4RvY5J0jQ2cBEs3vm5L+ILS6CzdzmjtM9YmEZw67lHNjke92MfHXyJx0G8ywxB/ U6Dx+ePBv5Rk4IO6fc/tD1mw77ZgCSGK6C5cEstTlb+Y5XUpSezLxZ39vD2S8Dn1uAoAmtEt3yIOF VrLUoGTA==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1qebHd-000HM6-F0; Fri, 08 Sep 2023 13:12:25 +0000 Received: by noisy.programming.kicks-ass.net (Postfix, from userid 1000) id 22E02300472; Fri, 8 Sep 2023 15:12:25 +0200 (CEST) Date: Fri, 8 Sep 2023 15:12:25 +0200 From: Peter Zijlstra To: Meng Li Cc: "Rafael J . Wysocki" , Huang Rui , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, x86@kernel.org, linux-acpi@vger.kernel.org, Shuah Khan , linux-kselftest@vger.kernel.org, Nathan Fontenot , Deepak Sharma , Alex Deucher , Mario Limonciello , Shimmer Huang , Perry Yuan , Xiaojian Du , Viresh Kumar , Borislav Petkov Subject: Re: [PATCH V5 3/7] cpufreq: amd-pstate: Enable amd-pstate preferred core supporting. Message-ID: <20230908131225.GE19320@noisy.programming.kicks-ass.net> References: <20230905015116.2268926-1-li.meng@amd.com> <20230905015116.2268926-4-li.meng@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230905015116.2268926-4-li.meng@amd.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 05, 2023 at 09:51:12AM +0800, Meng Li wrote: > + /* > + * This code can be run during CPU online under the > + * CPU hotplug locks, so sched_set_amd_prefcore_support() There is no such function... ? > + * cannot be called from here. Queue up a work item > + * to invoke it. > + */ > + schedule_work(&sched_prefcore_work);