Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp11812700rwl; Tue, 3 Jan 2023 05:13:26 -0800 (PST) X-Google-Smtp-Source: AMrXdXsR75icBuASzp/ABJEWIK9UKPMakjMH/cW3N3CdNzlKLSPJcYp2gzP7lPKo/MjLnGK58dV8 X-Received: by 2002:a17:902:da86:b0:189:747e:97cc with SMTP id j6-20020a170902da8600b00189747e97ccmr61000819plx.26.1672751606212; Tue, 03 Jan 2023 05:13:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672751606; cv=none; d=google.com; s=arc-20160816; b=bl+KyT4yU2qbAN/sCOVblsrBoDh/ZFLsruFWPX8UfrA2/JNvE1EdIa1UI3kzO6T25u yud57uz2s2A39pJ5lygI2ueXBDVusi3fC1IXAtP5x/TXbVzF6eg+HbLRMyorDIc/oeVk ROTDaV5DeC1LpYGHDDSzefs9g0x7nKgFNW8yiWOTzGu0t1YibnHUj8LUITpWaFwwjc7H oM0y6AsbliAzAVkZ9acTna6Rp+NCEyoOCn5FlJaj2Tt0Bufsi3d5ieTDBPn939Ynd+Zi U1nai6WKpeVRRZglukRCZkA2jsnYWr9mUbCdmVh4AP8ScHCOIXaDwXU8P2Yaz4Isq/U6 byIw== 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=t12/4FVgZEC2EbmwNP0Fy5zfmw0nQ5FUa5FeEQhE8Qs=; b=hIc4wRS/6nL14+mJxk2PQNtuWNbTKHoaqnf3txxpq354t3be+8p1bAvQKih+/bVIG8 ebKgv7wKPAeTQrN3AkISSQeJEtM8/Mn0qSLWHgvinMJtCQ9KTTOpywOdZ481xtyg5u/R 4U4POl1zlnW2Orkv57ge8wIgaCzr+WGnhVac67hn8vfM1oJTyYTxSplho1sf0OwvUhsJ cpTgn1YxDhmcT57qQl10H0ZSywVDKspyyBsh5qa5craSyHNlUHT1xjZ+TbT8NgoBz5L9 5n25RGfdBEEnWH1+rv5kwJwEcBGSXBFfo019GswVY1X5pvyPkrE4jHiaosF/UD5XSncs YeFw== 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:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i4-20020a170902eb4400b0019282cb9ce3si21491821pli.157.2023.01.03.05.13.18; Tue, 03 Jan 2023 05:13:26 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233486AbjACNAf (ORCPT + 60 others); Tue, 3 Jan 2023 08:00:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230207AbjACNAc (ORCPT ); Tue, 3 Jan 2023 08:00:32 -0500 Received: from cloudserver094114.home.pl (cloudserver094114.home.pl [79.96.170.134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7D0C1BA; Tue, 3 Jan 2023 05:00:31 -0800 (PST) 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.1.0) id c5c15f71b261e711; Tue, 3 Jan 2023 14:00:30 +0100 Received: from kreacher.localnet (unknown [213.134.163.200]) (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 A6ED2781239; Tue, 3 Jan 2023 14:00:29 +0100 (CET) Authentication-Results: v370.home.net.pl; dmarc=none (p=none dis=none) header.from=rjwysocki.net Authentication-Results: v370.home.net.pl; spf=fail smtp.mailfrom=rjwysocki.net From: "Rafael J. Wysocki" To: "linux-acpi@vger.kernel.org" , "Zhang, Rui" Cc: "zh.nvgt@gmail.com" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] ACPI: Drop the custom_method debugfs interface Date: Tue, 03 Jan 2023 14:00:29 +0100 Message-ID: <5639784.DvuYhMxLoT@kreacher> In-Reply-To: References: <7499491.EvYhyI6sBW@kreacher> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" X-CLIENT-IP: 213.134.163.200 X-CLIENT-HOSTNAME: 213.134.163.200 X-VADE-SPAMSTATE: clean X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrjeeggdegiecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfjqffogffrnfdpggftiffpkfenuceurghilhhouhhtmecuudehtdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvvefufffkjghfggfgtgesthfuredttddtjeenucfhrhhomhepfdftrghfrggvlhculfdrucghhihsohgtkhhifdcuoehrjhifsehrjhifhihsohgtkhhirdhnvghtqeenucggtffrrghtthgvrhhnpeefudduuedtuefgleffudeigeeitdeufeelvdejgefftdethffhhfethfeljefgteenucffohhmrghinhepkhgvrhhnvghlrdhorhhgnecukfhppedvudefrddufeegrdduieefrddvtddtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepvddufedrudefgedrudeifedrvddttddphhgvlhhopehkrhgvrggthhgvrhdrlhhotggrlhhnvghtpdhmrghilhhfrhhomhepfdftrghfrggvlhculfdrucghhihsohgtkhhifdcuoehrjhifsehrjhifhihsohgtkhhirdhnvghtqedpnhgspghrtghpthhtohepgedprhgtphhtthhopehlihhnuhigqdgrtghpihesvhhgvghrrdhkvghrnhgvlhdrohhrghdprhgtphhtthhopehruhhirdiihhgrnhhgsehinhhtvghlrdgtohhmpdhrtghpthhtohepiihhrdhnvhhgthesghhmrghilhdrtghomhdprhgtphhtthhopehlihhnuhigqdhkvghrnhgvlhesvhhgvghrrdhkvghrnhgv lhdrohhrgh X-DCC--Metrics: v370.home.net.pl 1024; Body=4 Fuz1=4 Fuz2=4 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS 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 On Tuesday, January 3, 2023 3:17:43 AM CET Zhang, Rui wrote: > On Mon, 2023-01-02 at 18:05 +0100, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > The ACPI custom_method debugfs interface is security-sensitive and > > concurrent access to it is broken [1]. > > > > Moreover, the recipe for preparing a customized version of a given > > control method has changed at one point due to ACPICA changes, which > > has not been reflected in its documentation, so whoever used it > > before > > has had to adapt an no problems with it have been reported. > > > > The latter likely means that the number of its users is limited at > > best > > and attempting to fix the issues mentioned above is likely not worth > > the > > effort. Moreover, if it gets broken in the process, the breakage may > > not > > be readily discovered, so deleting it altogheher appeares to be a > > better > > option. > > > > Accordingly, drop custom_method along with its (outdated anyway) > > documentation. > > > > Link: > > https://lore.kernel.org/linux-acpi/20221227063335.61474-1-zh.nvgt@gmail.com/ > > # [1] > > Reported-by: Hang Zhang > > Signed-off-by: Rafael J. Wysocki > > --- > > Documentation/firmware-guide/acpi/method-customizing.rst | 89 ---- > > -------- > > Documentation/firmware-guide/acpi/index.rst > needs to be updated as well. Right, thanks! I've just sent a v2 of the patch with that fixed.