Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp4383771ioa; Wed, 27 Apr 2022 02:35:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzu31hHvHHp8EQIaVB0acU2sV9tTUnScfFYv82XRbAZiDB1RV2cihamqi5wh+jtKOIkebyC X-Received: by 2002:a17:90b:3847:b0:1da:2e07:bb5a with SMTP id nl7-20020a17090b384700b001da2e07bb5amr3583748pjb.82.1651052109710; Wed, 27 Apr 2022 02:35:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651052109; cv=none; d=google.com; s=arc-20160816; b=NUnGeyPsAFu2t9Xw1YLQydL3JxFSagc7WsC+hrcvuy4K0RusyGou7f9hTasWwiSS8e DU0FAenjUi+lsCUTJbclU90fd78VVgiNZNjRJZJMqAmkeAV/8DilvIH5tKmCZ0f6T0iU W8tS29bieOPeCrRpCu0ZafibFEsGbw7EO7Ov7MCkSJjkT3c/jAjNGMilNSjPWX2AwEnp dkzK50OibP3IeJNLIuVJA0ha3XV2oFwRIpHV7PjqznwCGynb6ye+QNv7mDx2aNkLFJPE 0qdY5g5JmHL8H1ILIw5pSjyMtlogATsD2M5ABcs/BJYyKzPaQmtIJmGERlTHyCpTqA0K 0bYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=2YSpqut1pThGhOcBpYYrbZVUWz2EAyc+UHkh+cLwe6w=; b=IBolO5TKmP4rF5zbBFAly3okR+8BUtTzxrRbcKcXyG657SW4eVhZ3mKYsTdnNiSavN 46NYZGkblDpNU04a1D415c+f/QAQGeMiUNcmBMubwIIeImSH85qKbYaTsWAtB5JVJH5S sQZyBrLrkeVKnCPUbWIM2fqFzqPmvDscLM3K+CtNkTPhh3l/8p1u76dM+pU86nZIrMF4 fcbC+ydwNLJ3VVIbHJzKcgBTcD5uKfw3OuCJ7FJ6Wi1sy4+ObUSUcdVZjTD4nafmeJAU Sc2shVYDMyruhDFKTZJX/Oz5eHq+ADxH0Z/mZXVy6fsVBsOSKn6hlOKhjJNMMoysaB5e 33NQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=tLd5O1d8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id pi11-20020a17090b1e4b00b001d9b752bb90si1461122pjb.60.2022.04.27.02.35.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Apr 2022 02:35:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=tLd5O1d8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7259926979C; Wed, 27 Apr 2022 02:14:46 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349596AbiDZLqg (ORCPT + 99 others); Tue, 26 Apr 2022 07:46:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58436 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233988AbiDZLqf (ORCPT ); Tue, 26 Apr 2022 07:46:35 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 900B93B3E6; Tue, 26 Apr 2022 04:43:28 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 34450617E0; Tue, 26 Apr 2022 11:43:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E9E82C385A0; Tue, 26 Apr 2022 11:43:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1650973407; bh=7H2/hjn47utv2t0JfKpspOcDqBY0b6iJY0AQIqJklaw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=tLd5O1d8nJ3zfH7ToUBpdQH8C2QyWG10OcGAzPLlRAKpAZpQ2zv4fObf2OdAsM5kW SxlnxHgwlxWiXC7hebN6jA6Y/qBEhZL7NSC46IFsw+NhnuN7PcEvSVfPAO3KeHIpMH oBCUdSS+XHTGtdkqb7Y6PN2qplGJvz5WX+ibTWg0= Date: Tue, 26 Apr 2022 13:43:24 +0200 From: Greg Kroah-Hartman To: Heikki Krogerus Cc: "Rafael J. Wysocki" , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Subject: Re: [PATCH v1 0/2] acpi: Remove acpi_release_memory() Message-ID: References: <20220425114544.37595-1-heikki.krogerus@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220425114544.37595-1-heikki.krogerus@linux.intel.com> X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE autolearn=unavailable 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 Mon, Apr 25, 2022 at 02:45:42PM +0300, Heikki Krogerus wrote: > Hi, > > It seems there never were and there never will be actual devices that > expose the UCSI ACPI mailbox interface. There are now PD controllers > that support the UCSI interface, but they do not use the ACPI mailbox. > > So there is no point in mapping the mailbox with ioremap(), we can > just use memremap(). That should make it possible to also remove the > function acpi_release_memory(). That function was only there to make > it possible to use ioremap() in the UCSI ACPI driver. > > thanks, > > Heikki Krogerus (2): > usb: typec: ucsi: acpi: Map the mailbox with memremap() > acpi: Remove the helper for deactivating memory region > > drivers/acpi/osl.c | 86 ------------------------------ > drivers/usb/typec/ucsi/ucsi_acpi.c | 19 ++----- > include/linux/acpi.h | 3 -- > 3 files changed, 4 insertions(+), 104 deletions(-) > > -- > 2.35.1 > Look good to me, Rafael, want me to take this through the USB tree? Or if you want to take it through the USB tree, here's my reviewed-by: either is fine with me. Reviewed-by: Greg Kroah-Hartman