Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DC699C433EF for ; Fri, 3 Dec 2021 09:59:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379704AbhLCKCm (ORCPT ); Fri, 3 Dec 2021 05:02:42 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:45117 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232991AbhLCKCk (ORCPT ); Fri, 3 Dec 2021 05:02:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1638525557; 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=E2vHUFicrD9W5EZNJ7j2bhIPa83t3WB27STnfU5LVlc=; b=cYFF2eyUyqqlnMl1uAqGb9uXQ5mz6jNKaajVs0A/d3eJnDqsTRwFvqgtekshGlbWghB2BZ cpHnXkEltjXaOmkIJv5ecvVzJRSTXTFyh+sTSdef7MmL99fnWPyY1/hjSpPFQ3W5n97bEe OkZOfqaSnMgRqTYx+8gK60H4yWwTa3M= Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-445-NNc9gzskOdW1wMF0nVi9aA-1; Fri, 03 Dec 2021 04:59:15 -0500 X-MC-Unique: NNc9gzskOdW1wMF0nVi9aA-1 Received: by mail-ed1-f70.google.com with SMTP id k7-20020aa7c387000000b003e7ed87fb31so2163870edq.3 for ; Fri, 03 Dec 2021 01:59:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=E2vHUFicrD9W5EZNJ7j2bhIPa83t3WB27STnfU5LVlc=; b=2FB0qySKpWNj5V4EzgAbQaV/0LDJAqFH/h/cftbyndwR24+nWe8c23myRMOqoa7j0X uwv+JaaCtnr0YFhGhEQrJHFKcxwztfkqeG8SV+QpMsfJ9vrUhmBOCgcvlCh+E1QgBqt6 Poho5NpZLcGoPb20JvRRKwdVvQ11fv1Pwc7Rd/KzSnz8nPgfrcU9Mp7paiYZX8dwLARk pi4u04DLmTXkK6kApqwguwbA2bc06QUFsp3gJGXwxrf/V4jPuynnsWVmXDNPk0ba6Yad 5KtDmEjnoB7w0DJa7xO/RXQElgT/EBcPtN+MpznecnJ5tzjBMJFIC6gYg++m99vHwgl1 3T/g== X-Gm-Message-State: AOAM533C6IC+pM0GFuMrJnIGjlLPjNPpIwfB0WE68a6Yqd1fen9Wum15 qRBE4PaGGsVzsyFoOvdAUpt54POWuh3swy6LJefR06GIBBaxi9K80ej5tBgaX0+MQ7ddNrHH7nG CMJs2CYvDapK0n0iILTEQn9bm X-Received: by 2002:a17:907:6e1a:: with SMTP id sd26mr22168609ejc.529.1638525554676; Fri, 03 Dec 2021 01:59:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJxj4dSYWAn/t79ZE3IPK0+6KsZm/ZXFoRyrbGRKXkBJnWU58F0/RSRnchkbFfeKBydbL0tTFg== X-Received: by 2002:a17:907:6e1a:: with SMTP id sd26mr22168590ejc.529.1638525554442; Fri, 03 Dec 2021 01:59:14 -0800 (PST) Received: from ?IPV6:2001:1c00:c1e:bf00:1054:9d19:e0f0:8214? (2001-1c00-0c1e-bf00-1054-9d19-e0f0-8214.cable.dynamic.v6.ziggo.nl. [2001:1c00:c1e:bf00:1054:9d19:e0f0:8214]) by smtp.gmail.com with ESMTPSA id z6sm1641678edc.76.2021.12.03.01.59.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 03 Dec 2021 01:59:13 -0800 (PST) Message-ID: <639583df-a54a-eb9b-91ad-a60612a930b0@redhat.com> Date: Fri, 3 Dec 2021 10:59:12 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 Subject: Re: [PATCH 2/5] platform: surface: Propagate ACPI Dependency Content-Language: en-US To: Jarrett Schultz , Rob Herring , Andy Gross , Bjorn Andersson , Mark Gross , Maximilian Luz Cc: linux-arm-msm@vger.kernel.org, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Felipe Balbi , Jarrett Schultz References: <20211202191630.12450-1-jaschultz@microsoft.com> <20211202191630.12450-3-jaschultz@microsoft.com> From: Hans de Goede In-Reply-To: <20211202191630.12450-3-jaschultz@microsoft.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jarett, On 12/2/21 20:16, Jarrett Schultz wrote: > Since the Surface XBL Driver does not depend on ACPI, the > platform/surface directory as a whole no longer depends on ACPI. With > respect to this, the ACPI dependency is moved into each config that depends > on ACPI individually. > > Signed-off-by: Jarrett Schultz I think I will already merge this patch into the pdx86 tree: https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/ While we are waiting for the rest of the series to get hashed out. But as already pointed out by Trilok Soni your From: and Signed-off-by email addresses don't match. I can fix up the From to match the Signed-off-by while I apply this, but before I do that I wanted to check with you that setting both to "Jarrett Schultz " is the right thing to do ? Regards, Hans > > --- > > Changes in v3: > - Further propagated ACPI dependecy to SURFACE_AGGREGATOR > > --- > > Changes in v2: > - Created to propagate ACPI dependency > --- > drivers/platform/surface/Kconfig | 7 ++++++- > drivers/platform/surface/aggregator/Kconfig | 1 + > 2 files changed, 7 insertions(+), 1 deletion(-) > > diff --git a/drivers/platform/surface/Kconfig b/drivers/platform/surface/Kconfig > index 3105f651614f..5f0578e25f71 100644 > --- a/drivers/platform/surface/Kconfig > +++ b/drivers/platform/surface/Kconfig > @@ -5,7 +5,6 @@ > > menuconfig SURFACE_PLATFORMS > bool "Microsoft Surface Platform-Specific Device Drivers" > - depends on ACPI > default y > help > Say Y here to get to see options for platform-specific device drivers > @@ -30,12 +29,14 @@ config SURFACE3_WMI > > config SURFACE_3_BUTTON > tristate "Power/home/volume buttons driver for Microsoft Surface 3 tablet" > + depends on ACPI > depends on KEYBOARD_GPIO && I2C > help > This driver handles the power/home/volume buttons on the Microsoft Surface 3 tablet. > > config SURFACE_3_POWER_OPREGION > tristate "Surface 3 battery platform operation region support" > + depends on ACPI > depends on I2C > help > This driver provides support for ACPI operation > @@ -126,6 +127,7 @@ config SURFACE_DTX > > config SURFACE_GPE > tristate "Surface GPE/Lid Support Driver" > + depends on ACPI > depends on DMI > help > This driver marks the GPEs related to the ACPI lid device found on > @@ -135,6 +137,7 @@ config SURFACE_GPE > > config SURFACE_HOTPLUG > tristate "Surface Hot-Plug Driver" > + depends on ACPI > depends on GPIOLIB > help > Driver for out-of-band hot-plug event signaling on Microsoft Surface > @@ -154,6 +157,7 @@ config SURFACE_HOTPLUG > > config SURFACE_PLATFORM_PROFILE > tristate "Surface Platform Profile Driver" > + depends on ACPI > depends on SURFACE_AGGREGATOR_REGISTRY > select ACPI_PLATFORM_PROFILE > help > @@ -176,6 +180,7 @@ config SURFACE_PLATFORM_PROFILE > > config SURFACE_PRO3_BUTTON > tristate "Power/home/volume buttons driver for Microsoft Surface Pro 3/4 tablet" > + depends on ACPI > depends on INPUT > help > This driver handles the power/home/volume buttons on the Microsoft Surface Pro 3/4 tablet. > diff --git a/drivers/platform/surface/aggregator/Kconfig b/drivers/platform/surface/aggregator/Kconfig > index fd6dc452f3e8..cab020324256 100644 > --- a/drivers/platform/surface/aggregator/Kconfig > +++ b/drivers/platform/surface/aggregator/Kconfig > @@ -4,6 +4,7 @@ > menuconfig SURFACE_AGGREGATOR > tristate "Microsoft Surface System Aggregator Module Subsystem and Drivers" > depends on SERIAL_DEV_BUS > + depends on ACPI > select CRC_CCITT > help > The Surface System Aggregator Module (Surface SAM or SSAM) is an >