Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp4487999pxt; Wed, 11 Aug 2021 07:13:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxXvI7ITaxpHJh0p9gIuff9a/QpdGvjOwa0YJDiL0fk5yYUAWa2MBBKJ7hlSh4CTZ0KiUpC X-Received: by 2002:a2e:8250:: with SMTP id j16mr23691290ljh.164.1628691185011; Wed, 11 Aug 2021 07:13:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628691184; cv=none; d=google.com; s=arc-20160816; b=y5wN/Tv7q7E+bNEc7n92DXLe3sDrxFAZxw5CFvwWhCTnwUoyR0JhlyDyzR2eXsZVer wd+8IFKcZV7OvlcG3Hps12BhAPTjbMi0ccRuYUh6VOXONknUCJcE/3Kyk4zbNoGLz4Y0 f2FDd33PphPDJ98LRKrgQUBpBp5U+yKrkT13hXAMuHkKv7xpwGWoxLq5hxEawwfUVaUZ rspsq44w62u/6VtxksYWdnuDJtOU+Z1n/vA6q5JfWMA4q1/NglMH1uEHZi3g08FAEIaV A5xfTqjRKFeL4NoeoEa5DoepnkkSnvYmZzKRHbYs8mZgiZUNZrWKSs8X7ewHMSpzbDF4 q8Ng== 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=6de5f1CHYWUoF/nzjynDUSvxATwDyMoWSPF0pDGm5XU=; b=IYHFYNljVJMWeLYczvWEV7kUAUrpb4RMZH9B/6IC/CUx9OGhqcT+8PrEoBYPfcrPC+ bTkbgpjkj35uX2jThr93EXErWHLS+4QbbfcfXcvlm+ZH5Ey/TDYcrHbu0jlEZFcwuTkz XEmqAFhP2/XM966+a+gBC+iNBhFTuQXHC34aKO8qKOEV+jMuMnsgwzl4cjjWbJWO0mPz 4ZzMZ2X3GbIspBuyS7+haHpWgkPAVzVfbxsLUglcVU5034ZVNw+IGeKlecISSsBNqTH0 5Jg09McaPreXvSuJLxXzBDQkExTPphaDS5LCvfBqDYhWBw2IrV5yTH4LWCIwkoJbsAQo LlfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=eM12qi1h; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hr13si722003ejc.116.2021.08.11.07.12.40; Wed, 11 Aug 2021 07:13:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=eM12qi1h; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232224AbhHKOKS (ORCPT + 99 others); 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-kernel@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.