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=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no 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 4530CC4338F for ; Wed, 11 Aug 2021 14:09:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 249B561008 for ; Wed, 11 Aug 2021 14:09:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232216AbhHKOKS (ORCPT ); Wed, 11 Aug 2021 10:10:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231661AbhHKOKR (ORCPT ); Wed, 11 Aug 2021 10:10:17 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 01219C061765; Wed, 11 Aug 2021 07:09:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=6de5f1CHYWUoF/nzjynDUSvxATwDyMoWSPF0pDGm5XU=; b=eM12qi1hSd1qymPbnnzmRIklfs 0S++2PUuneV36qq6sFOvdoavU6paqQq57Lk2dhxKdaGR2F9i5p3e1KflxJX+VyILry9w1qiLHZHd4 jsnNcgUGjaWshyFTehQSUgGXbYL2BpD/WM8QNWi+h7rzk7ZYwHZE0RTMSwHPjyasP8O/PxqFF/ath aDXzXwpYKliVXymf1auHsI/KgvZ/yHiagzjqZwh4KaLzK5U5oYNKmFnlYTV9nL5Adtpyi9jA3vZQn WoTcNSARF6vQuR+5bEPfi5P423GcGnrsWEbhr2M0c7k/vR3SHLGnDwo1Ub0SibWiukHiio5TtPLtR qxAgavEA==; Received: from hch by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1mDou8-00DUX4-3n; Wed, 11 Aug 2021 14:08:34 +0000 Date: Wed, 11 Aug 2021 15:08:24 +0100 From: Christoph Hellwig To: Ard Biesheuvel Cc: Christoph Hellwig , Lorenzo Pieralisi , Linux Kernel Mailing List , "Rafael J. Wysocki" , ACPI Devel Maling List , Linux ARM , Veronika kabatova , Robin Murphy , Will Deacon , Hanjun Guo , Sudeep Holla , Catalin Marinas Subject: Re: [PATCH v2 1/3] ACPI: osl: Add __force attribute in acpi_os_map_iomem() cast Message-ID: References: <20210726100026.12538-1-lorenzo.pieralisi@arm.com> <20210802152359.12623-2-lorenzo.pieralisi@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org On Wed, Aug 11, 2021 at 12:40:28PM +0200, Ard Biesheuvel wrote: > The whole problem we are solving here is that ACPI, being based on > x86, conflates MMIO mappings with memory mappings, and has been using > the same underlying infrastructure for either. So let's fix that problem instead of papering over it.