Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp1817828rda; Tue, 24 Oct 2023 04:29:27 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF8F0np+VvxTnyaJFhLr7QR/mw2YNxKJcPfPR0F8BUQM4+1j0PRdRPzzO7KBxSsUmfhiBcV X-Received: by 2002:a17:90b:118a:b0:27d:3439:c141 with SMTP id gk10-20020a17090b118a00b0027d3439c141mr8481807pjb.39.1698146966718; Tue, 24 Oct 2023 04:29:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698146966; cv=none; d=google.com; s=arc-20160816; b=LQ8VXVCPGbmgLqY+7lEL76D9VlESP8IqxyhzfsM9WKeWzjVurfQrAgY17dyfugAzbm dk6VKQKZvoTjTRW9UWcTnWcF292VmfBNyyIfURPgRphTyG3ctu7Oqo7GFM6UQEIy1+B4 4/3aZHMwzMFtOc0UEXSUFsFLGQTyfDismO93oq4f/d5PTQu49mObNMMC8KtUFQNNbD5S 4I2uU/DjhKo7Rbo7guWABvCVY0pFBLew3BmBcK/mFQbk+82y65XxxQBeKMGh7x9N7a0q EZYDb8z4hsZJsy5lXQ1iyE9QNNOmjJ152SS4ea0pd2sge+FulfBEZxKt2XrJTAnSYq0d gq7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=p9Xk6+oVu2eZSCHniKsbVUw777g3shFxugtPS4C2Azc=; fh=Cx0lAsdsMqJa5ujcXCIX9p/xKSWPpVETsKG5frfv5Wk=; b=jps4Im5AjGzzFzWAD7Jxf77uqeIx8X2FDv/yEncW1w/cWshxfIQbtOpI27avrhA/B4 5hK0hoToDWFSDidmK1adtzZ0/gxIZgvU2uz8xX6C79UOYS70GGDyBOKBf1uFyzpQ+s60 qbMQggKTlLU6po7RGL+hhq9lk+ZqVtbLr8nxZx8tznCuE6tuLVV/Kk52Z25GKljr3qDZ GC+fYbTXnYOo2+uQCE51FK+jkdukJSVzRhF0j0QKFObtwHic7dSLuLIhN2fr4iSwQCLO h/ZgHjf1z/Lhg2bsl8l/oLDxKxXMcNLJ1nq0Yks6BuFIuLGx+5O9yT3AWIfryKR9wqds bkRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=ZVtRI3i8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id f5-20020a17090a664500b0026b7d81b779si10313782pjm.152.2023.10.24.04.29.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 04:29:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=ZVtRI3i8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 27F59803460E; Tue, 24 Oct 2023 04:29:24 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230343AbjJXL3O (ORCPT + 99 others); Tue, 24 Oct 2023 07:29:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34126 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229629AbjJXL3N (ORCPT ); Tue, 24 Oct 2023 07:29:13 -0400 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE6FD128; Tue, 24 Oct 2023 04:29:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To: Content-Transfer-Encoding:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=p9Xk6+oVu2eZSCHniKsbVUw777g3shFxugtPS4C2Azc=; b=ZVtRI3i8atfSABmwqYOam92raQ sGbWV0A3UKiGLSAkdhisvJ/Q3AW4A8vqe+K9zP0mN5nimUsw9Q/zg1bAMTEvwX3VL9oPE208SBLW5 CdkR3e9MhuDKI0nOCcqkMgGfjmaH0CjVXYUptjRbTY24/ebqcC69b3MRM7jiKvWj/Z8icCFy6dtK+ hmRSLuuC/iJ9jau8xMEmZGgM8xSCFtfxZxyNWuwijdN5Pmzom9RlONQ+ddjwAj+YxHH8f4rP9LN8b jx5jcWOGsmFNUeFBI7LlmTTt5LkAl3+llaabm8ykn15h2Okzsikzg1rvRM/CnB5RupJcx2+whac05 /7r1Emsw==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:47178) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1qvFal-00045E-1p; Tue, 24 Oct 2023 12:28:59 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1qvFaj-0005rQ-FG; Tue, 24 Oct 2023 12:28:57 +0100 Date: Tue, 24 Oct 2023 12:28:57 +0100 From: "Russell King (Oracle)" To: Miguel Luis Cc: "linux-pm@vger.kernel.org" , "loongarch@lists.linux.dev" , "linux-acpi@vger.kernel.org" , "linux-arch@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-riscv@lists.infradead.org" , "kvmarm@lists.linux.dev" , "x86@kernel.org" , James Morse , Salil Mehta , Jonathan Cameron , Jean-Philippe Brucker , "jianyong.wu@arm.com" , "justin.he@arm.com" , "Rafael J. Wysocki" , Len Brown Subject: Re: [PATCH] ACPI: Rename acpi_scan_device_not_present() to be about enumeration Message-ID: References: <5589E5A5-9F97-416A-9C48-9828B0BE58CD@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <5589E5A5-9F97-416A-9C48-9828B0BE58CD@oracle.com> Sender: Russell King (Oracle) X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email 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 (morse.vger.email [0.0.0.0]); Tue, 24 Oct 2023 04:29:24 -0700 (PDT) On Tue, Oct 24, 2023 at 10:15:07AM +0000, Miguel Luis wrote: > Hi Russell, > > > On 20 Oct 2023, at 18:47, Russell King wrote: > > > > From: James Morse > > > > acpi_scan_device_not_present() is called when a device in the > > hierarchy is not available for enumeration. Historically enumeration > > was only based on whether the device was present. > > > > To add support for only enumerating devices that are both present > > and enabled, this helper should be renamed. It was only ever about > > enumeration, rename it acpi_scan_device_not_enumerated(). > > > > No change in behaviour is intended. > > > > Signed-off-by: James Morse > > Reviewed-by: Gavin Shan > > Signed-off-by: Russell King (Oracle) > > Fixes: 443fc8202272 ("ACPI / hotplug: Rework generic code to handle suprise removals”) ? I'm not sure a patch that is merely renaming a function should ever have a Fixes tag, since it's just a naming issue, it doesn't fix a bug, change functionality or anything like that. I would suggest that there would need to be good reason why such a patch should be backported to stable kernels - for example, something else that does fix a user visible bug requires this change. Thanks. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!