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 X-Spam-Level: X-Spam-Status: No, score=-12.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6B6A1C4361B for ; Tue, 15 Dec 2020 11:26:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 11E1622258 for ; Tue, 15 Dec 2020 11:26:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728813AbgLOLZZ (ORCPT ); Tue, 15 Dec 2020 06:25:25 -0500 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:23491 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728651AbgLOLTI (ORCPT ); Tue, 15 Dec 2020 06:19:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1608031055; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vaPBRIesr27IX6qkoAPHHZTgEVHDzEcMSMnvfR1oaMU=; b=HFUdYgGDTxW9fBAdgg9FKEEz5KBdsYU3XKXZC+wdDi7lg8NFC3QNLpeUT6cd72vrfkmNm6 R2lEHuItX12Eeq/NKjxYrPBEDmKowVEh7C+RdEZhTO7rnXp7SRnl8xKTsXXazHsz8ozQFe NGPzfk1ifcVjl1q1UjjoMXCm9wGiDek= Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-372-o-pzp4GVM3uDk4mjmAUPCQ-1; Tue, 15 Dec 2020 06:17:33 -0500 X-MC-Unique: o-pzp4GVM3uDk4mjmAUPCQ-1 Received: by mail-ed1-f70.google.com with SMTP id cm4so9818770edb.0 for ; Tue, 15 Dec 2020 03:17:33 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=vaPBRIesr27IX6qkoAPHHZTgEVHDzEcMSMnvfR1oaMU=; b=BLESQAYB57iI3KJkWd0XZ9RCCO4ramSvvOIBVOCC64osfl+AtpXXo1uyqXtE5PV+ww oU+RyPVwyA6VlA5GKm+ow+AGf05JyP7qlESwg9gA0sdO3WsHcULyek0dZ9iWI3uqdmGY BWA3jd0Sq8UJ3oRe/jGXCw7aO+2qZzIZHS93l5OZ6X903atFLuELCRmtwTIpj+lnCp2+ 9XLRmEbeZVjyNNks+CmXi+jMBd/JWXqEqPR3n+dR3+PAhCiRijyXaIR5cEXn45Va9h+R gaM7WHuTwAUnE3zFwnC1ICiPuCOqxqgs0J+kkE21L1merRbMPrMZLXdftYjVGZ9BVE/L 8MwQ== X-Gm-Message-State: AOAM532PZoDEMmccZ3BokoDqU9zyrbnILincPvmPm3Z4+OzUcp+ZUu6V UebAIYRu5WxFwCgQdv0Jurom8Gjj9flEDAl3sJMpq0OrfIZ0+rMZJq2l/hlY3LXRpLOGgrEbx1Q kf+aNhOaEnZc77JdYQXMWQw== X-Received: by 2002:a50:8004:: with SMTP id 4mr14732618eda.329.1608031052571; Tue, 15 Dec 2020 03:17:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJy8Ukb3b5sC/L9ddJO9dEIvpLc1T192z0TMMRjb3sOdjbu8IPQRItEeSkmUrx5lh7khNRbdFw== X-Received: by 2002:a50:8004:: with SMTP id 4mr14732609eda.329.1608031052383; Tue, 15 Dec 2020 03:17:32 -0800 (PST) Received: from x1.localdomain (2001-1c00-0c0c-fe00-d2ea-f29d-118b-24dc.cable.dynamic.v6.ziggo.nl. [2001:1c00:c0c:fe00:d2ea:f29d:118b:24dc]) by smtp.gmail.com with ESMTPSA id d13sm4370782edx.27.2020.12.15.03.17.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 15 Dec 2020 03:17:31 -0800 (PST) Subject: Re: [RFT][PATCH v1 0/3] ACPI: scan: Defer enumeration of devices with significant dependencies To: "Rafael J. Wysocki" , Linux ACPI Cc: LKML , "Rafael J. Wysocki" , Mika Westerberg References: <1646930.v2jOOB1UEN@kreacher> From: Hans de Goede Message-ID: <551a2185-bde5-3338-2d47-d2cf4b1c55f5@redhat.com> Date: Tue, 15 Dec 2020 12:17:31 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: <1646930.v2jOOB1UEN@kreacher> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org Hi, On 12/14/20 9:23 PM, Rafael J. Wysocki wrote: > Hi, > > This series addresses some enumeration ordering issues by using information > from _DEP to defer the enumeration of devices that are likely to depend on > operation region (OpRegion) handlers supplied by the drivers of other > devices. > > This allows the OpRegion suppliers to be probed and start working before the > devices depending on them are enumerated. > > Please see the patch changelogs for details. > > Hans, please test this series on the system with OpRegion dependencies in > control methods used for device enumeration. Thank you for you work on this! I started with reviewing the series so that I would know what to expect during testing. All 3 patches look good to me: Reviewed-by: Hans de Goede As is the series does not fix the Bluetooth HID misreporting on the system with OpRegion dependencies in its BT ACPI node's _HID, but ... This is expected because that _HID has a _DEP on the GPO1 GPIO controller, which in turn has a _DEP pointing to the "Intel Baytrail Mailbox Device" ("INT33BD") We (Linux) don't do anything with the INT33BD device, so it can simply be added to the acpi_ignore_dep_ids list. With this done the 3 patches from this RFT fix the BT _HID issue. IOW everything works as expected / as we want. While at it I also booted the kernel with these patches on a Lenovo Yoga X1 Carbon 8th gen. I'm not seeing any adverse side effects there, so please add my tested-by to the entire series: Tested-by: Hans de Goede I will send out a patch adding "INT33BD" to the acpi_ignore_dep_ids list (to be applied on top of this series) right away. Regards, Hans