From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-yw1-f225.google.com (mail-yw1-f225.google.com [209.85.128.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 499B83C9880 for ; Fri, 9 Oct 2026 08:23:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.225 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791534192; cv=none; b=QoB5UN2hGwdSqP+bWtYgFvmMaWUjJ/jD08qURr0pCbpqxJFwmbWiObCXJbHY0qhuJJC85bsWKaR0mTXGrlyx36iJTiFvGOYXPtYyPlWxYkWerY6xE5mmSCb/zEAFONr+1Ko8iSaOc4wpfrBdYCa8G2JXkNHFEdCV/Z1JcgkGQEs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791534192; c=relaxed/simple; bh=mHjuxP8No/svkLEibCC62pe0HCMEBgSlND5KAB66MxY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=PpC4qmAEqR/DelNYEjixsjeKV7qRo1/HvXLKcF41o/DAB+qRrLdKZrUlW3L7BxOgWPOHb73z5nUIXOL1fC/90IC/cRHDt8MCbdWhInlez/uv+5OwGmZsZvARhZ0tUqsKX+pTywC4KxKO4jgestrOc/SY8z8kzPYlXZ+D3BxJivM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=srcf.ucam.org; spf=pass smtp.mailfrom=cavan.codon.org.uk; arc=none smtp.client-ip=209.85.128.225 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=srcf.ucam.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=cavan.codon.org.uk Received: by mail-yw1-f225.google.com with SMTP id 00721157ae682-8ae8541a2f0so41165387b3.3 for ; Fri, 09 Oct 2026 01:23:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1791534189; x=1792138989; h=in-reply-to:content-transfer-encoding:content-disposition :content-type:mime-version:references:message-id:subject:cc:to:from :date:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to:content-type; bh=U8iFS6pM3tthaseRuGrSd+8pptlyySe0KSW3rDNx01Y=; b=pCmVPD7Vh69N4fskQ3WNXgVLfX3LnLZ2jOhhZN+D2+S4OVCDlKYbU/FrOxLHCSl6Do RVqpvQpQuFvWijOHekKBni2lfgf787ZgF9IOfiqqZg2X1w+Db4XhL4DDbIXRsJqlfR2e p23ZdU88cmALVuzHwBQRYEtLVIb4D7WVWrdiCET16EyLzNlxT/8AevpsvvtC+adHhlX9 rEm9741cMJvt7MC0JzK6NODjxfmpEXZyJUP73FiXADbMU2wKpppancgHrF76lFo6XLJk OIQRKGoDR21yQoaSB0x9odx2+LmK7Y/PhNeKpfji19Fz6KOjW8ISUQxrtbxw6n2xgAZd hZhg== X-Forwarded-Encrypted: i=1; AKwUvBxjAIGUdfAHWVPJNI0MDHGXld4Eu/o1I1SQEJz9GuJN432ry+Ud1jxu3/v6mjxxFP1yGtsZKVbbWeiO@vger.kernel.org X-Gm-Message-State: AFq9FYLheX0EpmCIVmc2Ir39ObBSQ7HQ57Z3XHpStu47s6pkLEa8GmNI Mjf/BBan50GrcfQFxzunFGH6b4ry+ZPDgWEnD+Z/w9aVrHcktqZP0n25LsIPTFiVH8eMaVrxHo7 +E6en/outOxUbO5vu6boBVp2gGnw4iwdQJ5lHnGrJv2M8x2Tk/mth X-Gm-Gg: AYBFou0USUz+OYLotDaDW6Pv/JLIqshDVZNDPV4sjPL2Zqp3Q9QGDMlZBhVEY+PJlBL 3kQDOX600KppoEg24aZTi0qJeP1S1/TA6UtZ3WvMBwEySaXz+gBrskjAQ5MVufGzeqt0RFuZCek JTxaX7b45fqH6fleYekrQ1im7G16PYYWgRGs96BNAoyEQZ6vOGk7IxHYMYp/ueo+5sjxECUY7bW G7N6sAapM2eVP818Rfu7xSmhRhFkyx4Wp0fIH6EZ7RlOEBM+QZrJRqbQpatx/SGCXKKm5nERx7k ym7G5CPQNhhHsNpfZ4gE6x9+g3EdDpez6B6wTj5l4ePzUeN0GvDfPC2vLMq/CaajPZ4YJ1ccuN3 kceM= X-Received: by 2002:a05:690c:4142:b0:8ae:6740:99a with SMTP id 00721157ae682-8b07ed4e93amr3514097b3.30.1791534189243; Fri, 09 Oct 2026 01:23:09 -0700 (PDT) Received: from cavan.codon.org.uk ([2607:f598:b99a:160:8a88:88ff:fe88:8788]) by smtp-relay.gmail.com with ESMTPS id 00721157ae682-8b07f329510sm59467b3.43.2026.10.09.01.23.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Oct 2026 01:23:09 -0700 (PDT) X-Relaying-Domain: codon.org.uk Received: by cavan.codon.org.uk (Postfix, from userid 1000) id 27EC31286282; Fri, 09 Oct 2026 01:23:08 -0700 (PDT) Date: Fri, 9 Oct 2026 01:23:08 -0700 From: Matthew Garrett To: Bjorn Helgaas Cc: Francisco =?iso-8859-1?Q?Beltr=E1n_Millal=E9n?= , rafael@kernel.org, bhelgaas@google.com, linux-acpi@vger.kernel.org, linux-pci@vger.kernel.org, lenb@kernel.org, linux-kernel@vger.kernel.org, Darrell Gum , Andreas Noever , Mika Westerberg , Yehezkel Bernat , Lukas Wunner , linux-usb@vger.kernel.org Subject: Re: [PATCH] ACPI: PCI: take native PME control on Apple machines Message-ID: References: <20260924132859.24751-1-fbeltranmillalen@gmail.com> <20261008232912.GA940274@bhelgaas> Precedence: bulk X-Mailing-List: linux-acpi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20261008232912.GA940274@bhelgaas> On Thu, Oct 08, 2026 at 06:29:12PM -0500, Bjorn Helgaas wrote: > [+cc Matthew (author of 7bc5a2bad0b8), Darrell, Andreas, Mika, > Yehezkel, Lukas, linux-usb] > > On Thu, Sep 24, 2026 at 10:28:59AM -0300, Francisco Beltrán Millalén wrote: > > Since commit 7bc5a2bad0b8 ("ACPI: Support _OSI("Darwin") correctly") > > negotiate_os_control() skips the _OSC handshake on Apple machines and > > hardcodes the set of features the OS takes over, because those firmwares > > return failure once _OSI("Darwin") has been acknowledged. The hardcoded > > set is ~OSC_PCI_EXPRESS_PME_CONTROL, i.e. everything except PME. No > > reason was given for leaving PME out. > > It's clear there *was* a reason, but I don't know either. Maybe > Matthew will remember? I /think/ this was the set of parameters that my machine would hand over via _OSC if we hadn't called _OSI("Darwin") - but it was over a decade ago so I can't promise that's the case. I think this probably needs to be tested on some older machines as well just to ensure there's no weird breakage as a result, but if PME is actually hooked up and there's no SMM managing it instead I think that's fine.