Message ID | 4562925.LvFx2qVVIh@kreacher |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-75447-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2685:b0:108:e6aa:91d0 with SMTP id mn5csp1268711dyc; Wed, 21 Feb 2024 12:05:49 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXvEIdjo2FJk3K5BodVzupkSZVZudq+3Icov9BqEOOOESiVCKyo5SbKv6NEOa8vzYWJWaaB7Bf6bAvAPcphUTVzHd3eXg== X-Google-Smtp-Source: AGHT+IFYhlgNJMkqKed9AcM6PNH+bRD5eot9HNvWF0VlmvFJoeF/kh0CIsDVh9sJ2z/bsq16hIAQ X-Received: by 2002:ac8:5714:0:b0:42d:c289:7e53 with SMTP id 20-20020ac85714000000b0042dc2897e53mr23363854qtw.10.1708545949209; Wed, 21 Feb 2024 12:05:49 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708545949; cv=pass; d=google.com; s=arc-20160816; b=Lba3Pb9zr19MIWXP9QkJavuoui7x1RfqV0waF2zyYxJKuNsdCnvfTey9chpxaq+pYE My267cqXNUhEA2/ePPbWnbZheUbnG8Him936MnDvd255H4DBOXKUEPu3f5VQGb28K6yI vqgHTpeyBnbi4oC/7QVqD4nqP+uYB4aSfodH4szT7Iie9Q7TcAAPixFFGsaWbcPn2j+U mO57RXIYaBxFYGe+AMpWVYlI6WY9XgUOcKv7yCm6r857n1Z84prynGG6/Gi90p9CwC/z Bmx+Pf1BUXKv4yLyLw926FCkEqnjbBEWPShCSsAnY+w5VOmdZKT+nUbsTlVap9pLW3Uy Qksg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=LmB0iknHxViWwbZcrCm5UpuFgLv/BO2ofbLDsiinjCc=; fh=s5Fc0MEg8Xcp85xwyejK4S4zs7msQB7g1OY0X3YpOJg=; b=Nbx31rRxzsXUB9+5ZKz2XZCbQ44+zYIGTHAVhZHbn+UWfQkDVShNcSQFoRh+1R5F9r Jnghep1cHhwAO2BYmdrdSmAjG4zJpzjmZIbBXhObCA6Ax5FIGYOXVdGTSECbsdznBxNY L0DZWKCMpgltgNkQyBqh4WxzgNZmpmPiq0QIzrK29KOfv2laE6sdW9zBKBjnWfz7RBMW xy8Aw0wc9BH2KpwUdUdwcURQefgch6JOYQicnP0y8mDccKcRVL+bdtyWuasydpw5CpuL LqLYE5XYlE0kRA3umvBP3YuMg/2ylZePqMVOwu2fX4NGxpZU/FKCJcOpRZcHhVlJFStu seoQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=rjwysocki.net); spf=pass (google.com: domain of linux-kernel+bounces-75447-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75447-ouuuleilei=gmail.com@vger.kernel.org" Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id e26-20020ac845da000000b0042e28654b53si4071572qto.7.2024.02.21.12.05.49 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 12:05:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-75447-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=rjwysocki.net); spf=pass (google.com: domain of linux-kernel+bounces-75447-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75447-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id CC2251C22032 for <ouuuleilei@gmail.com>; Wed, 21 Feb 2024 20:05:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 60434128395; Wed, 21 Feb 2024 20:04:51 +0000 (UTC) Received: from cloudserver094114.home.pl (cloudserver094114.home.pl [79.96.170.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E42EA86AE2; Wed, 21 Feb 2024 20:04:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=79.96.170.134 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708545889; cv=none; b=hWuq6GAgk42sm8zGeI5W5PmOye8zKF1Ds6OXd9XLoTziJ2r6d+29oDZxbhNSzevLL1LMC5cPBBkrPh9U0iT8FRcbiSiDAH0My6GIlt82c3nrUM2lvrtLbkZNIUFP9oLhhFVEdcpbv3nSvpfon0DvdhSm79t6IDlHHoHxMsENvyU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708545889; c=relaxed/simple; bh=h0QDIXkO328md1JVNs9+5Q4VMBdbDuIpCSY5aVTIxVg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=XntpockbxAMYZCTU5gozpp8if7LU3Yw/qjvFxqnhqDz9OTj7av0h6OJH7W2UvC6gZzLOZJ4bCWzjR8775Vm7F3L5zH9AnbNIVASRoHt17ZGn5orK/dgZCskeXXz1V+cjjQxN7SGGmHCuqrtMU42t9LRYCxCBTDXOt19GWUKxQKA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=rjwysocki.net; spf=pass smtp.mailfrom=rjwysocki.net; arc=none smtp.client-ip=79.96.170.134 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=rjwysocki.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=rjwysocki.net 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.4.0) id 1608f778132f46bd; Wed, 21 Feb 2024 21:04:39 +0100 Received: from kreacher.localnet (unknown [195.136.19.94]) (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 cloudserver094114.home.pl (Postfix) with ESMTPSA id 6CBAF66A243; Wed, 21 Feb 2024 21:04:39 +0100 (CET) From: "Rafael J. Wysocki" <rjw@rjwysocki.net> To: Linux ACPI <linux-acpi@vger.kernel.org>, Jonathan Cameron <jonathan.cameron@huawei.com> Cc: LKML <linux-kernel@vger.kernel.org>, Mika Westerberg <mika.westerberg@linux.intel.com>, "Rafael J. Wysocki" <rafael@kernel.org>, "Russell King (Oracle)" <linux@armlinux.org.uk> Subject: [PATCH v1 0/4] ACPI: scan: Check enabled _STA bit on Bus/Device Checks Date: Wed, 21 Feb 2024 20:59:45 +0100 Message-ID: <4562925.LvFx2qVVIh@kreacher> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" X-CLIENT-IP: 195.136.19.94 X-CLIENT-HOSTNAME: 195.136.19.94 X-VADE-SPAMSTATE: clean X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvledrfedvgddufedvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecujffqoffgrffnpdggtffipffknecuuegrihhlohhuthemucduhedtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvfevufffkfgggfgtsehtufertddttdejnecuhfhrohhmpedftfgrfhgrvghlucflrdcuhgihshhotghkihdfuceorhhjfiesrhhjfiihshhotghkihdrnhgvtheqnecuggftrfgrthhtvghrnhepgeffhfdujeelhfdtgeffkeetudfhtefhhfeiteethfekvefgvdfgfeeikeeigfehnecuffhomhgrihhnpehkvghrnhgvlhdrohhrghenucfkphepudelhedrudefiedrudelrdelgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduleehrddufeeirdduledrleegpdhhvghlohepkhhrvggrtghhvghrrdhlohgtrghlnhgvthdpmhgrihhlfhhrohhmpedftfgrfhgrvghlucflrdcuhgihshhotghkihdfuceorhhjfiesrhhjfiihshhotghkihdrnhgvtheqpdhnsggprhgtphhtthhopeeipdhrtghpthhtoheplhhinhhugidqrggtphhisehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtohepjhhonhgrthhhrghnrdgtrghmvghrohhnsehhuhgrfigvihdrtghomhdprhgtphhtthhopehlihhnuhigqdhkvghrnhgvlhesvhhgvghrrdhkvghrnhgvlhdrohhrghdprhgtphhtthhopehmihhkrgdrfigvshht vghrsggvrhhgsehlihhnuhigrdhinhhtvghlrdgtohhmpdhrtghpthhtoheprhgrfhgrvghlsehkvghrnhgvlhdrohhrghdprhgtphhtthhopehlihhnuhigsegrrhhmlhhinhhugidrohhrghdruhhk X-DCC--Metrics: v370.home.net.pl 1024; Body=6 Fuz1=6 Fuz2=6 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791540277278296446 X-GMAIL-MSGID: 1791540277278296446 |
Series |
ACPI: scan: Check enabled _STA bit on Bus/Device Checks
|
|
Message
Rafael J. Wysocki
Feb. 21, 2024, 7:59 p.m. UTC
Hi, This series adds _STA enabled bit checking for processors (in all cases) and for all devices in the Bus Check and Device Check notification handling paths. It does so without any side-effects on non-processor devices, unlike https://lore.kernel.org/linux-acpi/E1rVDmP-0027YJ-EW@rmk-PC.armlinux.org.uk/ The first patch fixes an issue with failing Device Check notifications without a valid reason. The next two patches together make Bus Check and Device Check notification handling take the enabled bit into account. The last patch modifies the processor scan handler to check the enabled bit it its add callback. I would appreciate testing this on a system where the enabled bit really matters. Thanks!