Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp980737pxp; Wed, 16 Mar 2022 23:21:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxED6ysoBIOr6+TKiur+VRgTzZTstpDbp3VHg3sJFsl0FeRvEal8p6Y+uB+iQ392eCQ2OiH X-Received: by 2002:a17:902:ce0a:b0:14f:bdcd:a56 with SMTP id k10-20020a170902ce0a00b0014fbdcd0a56mr3122486plg.97.1647498082351; Wed, 16 Mar 2022 23:21:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647498082; cv=none; d=google.com; s=arc-20160816; b=Bkgn6u7qmpwXX7fCXmsGPP+fQZYong6ZdKz5nqvpbc+CnmaOjakpVPlvnkuyExjmnl 0JlToGWUHCI0ZTo/87XqGVUyi9q8zFlK1/1I3e0Q1nV3ZqtpMtLih94NHH+rBiMsbFim 9lmm2jTtwwU0GqMvs0Xy5JiaKyAUKI0lQMqyK5qvyReXMXpdEYZAMVmqLyGyadPQGf9K KKSSfMLJo/xgH8jlqSEKY+3A7EinBUe5n6q+a4fWoKt5XZN+ICOSXCDGXRu+4TBrCk7s ctxXMaPO4MZUFm7yKwNiyZMs26HUciWGlNo+dhrsqM+K5trpEnsvJbB86rkLaZb1fYIz f+qg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=XHoyl9UGZOR1iOw105RR/tyfl7WEIMMq4JzGE6+3jLM=; b=Zqb4YyP58zmIrpQTFpGMMUk5n4gP0q6vUHyGNOGbxNWS5nCpQipjCgPVH4mfOapUlV a/xZlrSlgEAm2fUYEq8L63jbYKqLb+POEPbS9hZD/biCZwRsdjVwil6VCU/U8xZmPX5L wl/pvsTo8QnYfXdRgjZvh0ggO8iH7hj3zu9kk6YWm2GM7js6LDll76OTPtg3usMg9kE7 YENj41iGb3JFWbrXdlNxCqb3qjoYWFw10jDwLa7L6T0NH5/iJxtqGB4STLx8B66NdoaV PlGZpem4zB45u+7o+HUqHgATey9ebXA24vMufwv7eGoMnb4yia5qXirWs3MP7WT2WDSA gojA== 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:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id j15-20020a17090a588f00b001bd14e01f96si6630194pji.132.2022.03.16.23.21.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Mar 2022 23:21:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C493625AEF2; Wed, 16 Mar 2022 22:06:23 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351385AbiCOTi2 (ORCPT + 99 others); Tue, 15 Mar 2022 15:38:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36720 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241699AbiCOTi1 (ORCPT ); Tue, 15 Mar 2022 15:38:27 -0400 Received: from cloudserver094114.home.pl (cloudserver094114.home.pl [79.96.170.134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 63C5B51E61; Tue, 15 Mar 2022 12:37:15 -0700 (PDT) Received: from localhost (127.0.0.1) (HELO v370.home.net.pl) by /usr/run/smtp (/usr/run/postfix/private/idea_relay_lmtp) via UNIX with SMTP (IdeaSmtpServer 5.0.0) id 89ee1a4e3178a2f0; Tue, 15 Mar 2022 20:37:13 +0100 Received: from kreacher.localnet (unknown [213.134.162.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by v370.home.net.pl (Postfix) with ESMTPSA id 1FEE366B893; Tue, 15 Mar 2022 20:37:13 +0100 (CET) From: "Rafael J. Wysocki" To: Linux PM Cc: LKML , Peter Zijlstra Subject: [PATCH v1 1/2] cpuidle: intel_idle: Update intel_idle() kerneldoc comment Date: Tue, 15 Mar 2022 20:35:47 +0100 Message-ID: <5558236.DvuYhMxLoT@kreacher> In-Reply-To: <2630560.mvXUDI8C0e@kreacher> References: <2630560.mvXUDI8C0e@kreacher> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" X-CLIENT-IP: 213.134.162.1 X-CLIENT-HOSTNAME: 213.134.162.1 X-VADE-SPAMSTATE: clean X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvvddrudeftddguddviecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfjqffogffrnfdpggftiffpkfenuceurghilhhouhhtmecuudehtdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufffkfgjfhgggfgtsehtufertddttdejnecuhfhrohhmpedftfgrfhgrvghlucflrdcuhgihshhotghkihdfuceorhhjfiesrhhjfiihshhotghkihdrnhgvtheqnecuggftrfgrthhtvghrnhepvdejlefghfeiudektdelkeekvddugfeghffggeejgfeukeejleevgffgvdeluddtnecukfhppedvudefrddufeegrdduiedvrddunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepvddufedrudefgedrudeivddruddphhgvlhhopehkrhgvrggthhgvrhdrlhhotggrlhhnvghtpdhmrghilhhfrhhomhepfdftrghfrggvlhculfdrucghhihsohgtkhhifdcuoehrjhifsehrjhifhihsohgtkhhirdhnvghtqedpnhgspghrtghpthhtohepfedprhgtphhtthhopehlihhnuhigqdhpmhesvhhgvghrrdhkvghrnhgvlhdrohhrghdprhgtphhtthhopehlihhnuhigqdhkvghrnhgvlhesvhhgvghrrdhkvghrnhgvlhdrohhrghdprhgtphhtthhopehpvghtvghriiesihhnfhhrrgguvggrugdrohhrgh X-DCC--Metrics: v370.home.net.pl 1024; Body=3 Fuz1=3 Fuz2=3 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,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 From: Rafael J. Wysocki Commit bf9282dc26e7 ("cpuidle: Make CPUIDLE_FLAG_TLB_FLUSHED generic") moved the leave_mm() call away from intel_idle(), but it didn't update its kerneldoc comment accordingly, so do that now. Fixes: bf9282dc26e7 ("cpuidle: Make CPUIDLE_FLAG_TLB_FLUSHED generic") Signed-off-by: Rafael J. Wysocki --- drivers/idle/intel_idle.c | 3 --- 1 file changed, 3 deletions(-) Index: linux-pm/drivers/idle/intel_idle.c =================================================================== --- linux-pm.orig/drivers/idle/intel_idle.c +++ linux-pm/drivers/idle/intel_idle.c @@ -122,9 +122,6 @@ static unsigned int mwait_substates __in * If the local APIC timer is not known to be reliable in the target idle state, * enable one-shot tick broadcasting for the target CPU before executing MWAIT. * - * Optionally call leave_mm() for the target CPU upfront to avoid wakeups due to - * flushing user TLBs. - * * Must be called under local_irq_disable(). */ static __cpuidle int intel_idle(struct cpuidle_device *dev,