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=-4.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED 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 673AAC4338F for ; Mon, 16 Aug 2021 10:24:08 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3340461BA9 for ; Mon, 16 Aug 2021 10:24:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 3340461BA9 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=x90Y3c+ijYobHhMUT59KquSVQ+TaY0mOuZr+HXWnXko=; b=NuZXgvIE8r8BeS U7Vj12YEBV2/BLHgCLhJGwUDVMvTn36zahO5qg2mst5bq8UsXABk5cvJsSiU1UNuQWn9tZ2r5l68Z X+IJ6+LOt+csDUqYcFuwhyH7nuT6DKNU0gr/iAfnOC+x40KiQzKUPJ6bxSQ7DvAwDDB0WUOGNS5yd iXDq9EtzAZllj8ITKacnbwaNZ3o4DSVt1y/EUnOBMy84gAcdtI+x7cRktfdOKBwRgPEUg3tn8xpsp 7M3MPTTl2dCwtZEovTwSmlwahOy+ft3Mq3xtt0BXlUhdbLaGwHSFqe3++lHNd21S0JBkjqWbvUmJM JVMx7huycPbaQ1i719qA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mFZkf-00GhEq-AI; Mon, 16 Aug 2021 10:21:53 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mFZkb-00GhES-RH for linux-arm-kernel@lists.infradead.org; Mon, 16 Aug 2021 10:21:51 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 1D50161B4F for ; Mon, 16 Aug 2021 10:21:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1629109309; bh=q6twPs/J3TsBUqyrvyOIIf0W/xvivZuTZtbkHTjpAEo=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=f0gTHmMf+5GEEW+6EUdF5QXIm4i8RZY/9+/Y2Vx4nRXpYeL6idGh5I+NQH6gV3wHT A75ylTeXM/ZWiaw8isPOrt11XmFwpB2DyP+0gMXI/k56EQ7hgRtdIwzR1Dm88bf055 jblww20ONVU7Y4QQn6L8jImw8y+3m9oP+kh4mRgPnPiQMlA+mxqEYsNFLwoMIattV/ jp+l6QlVt+5+eyHHSj2lhhN3nGj5ZmehOnQV0OImH8O6DNDCf5fGkIeCQqcdQULgCj jFWvTfbYGVtO8NXqcOyr+TXBxbJnBxNuxRrrQdtLJsCKc8q2/VohL5CmSSkStECbcB +uHC2f19BMWyQ== Received: by mail-ot1-f51.google.com with SMTP id 108-20020a9d01750000b029050e5cc11ae3so20299249otu.5 for ; Mon, 16 Aug 2021 03:21:49 -0700 (PDT) X-Gm-Message-State: AOAM531l55HBv1RnQ0Cpo3VTupTgGDI6cTJZGd8t8FdbTQ+h0iUBk7dn c+QzfJhIMkO+otLNsvfGccdYNWlow1k22H/uZrU= X-Google-Smtp-Source: ABdhPJxDyWfB3OorhOpr/8VkgJZzlutHFGK0QAZzwN0fSdOxyF1ToMppAoVNp0kDYFCWWURsbH7A8k7CndmDh+b1L1c= X-Received: by 2002:a9d:5cb:: with SMTP id 69mr12478949otd.90.1629109308492; Mon, 16 Aug 2021 03:21:48 -0700 (PDT) MIME-Version: 1.0 References: <20210726100026.12538-1-lorenzo.pieralisi@arm.com> <20210802152359.12623-2-lorenzo.pieralisi@arm.com> <20210811145508.GA3650@lpieralisi> <20210816095854.GA2599@lpieralisi> In-Reply-To: <20210816095854.GA2599@lpieralisi> From: Ard Biesheuvel Date: Mon, 16 Aug 2021 12:21:37 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 1/3] ACPI: osl: Add __force attribute in acpi_os_map_iomem() cast To: Lorenzo Pieralisi Cc: Christoph Hellwig , 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210816_032149_941034_F9DE9408 X-CRM114-Status: GOOD ( 21.20 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, 16 Aug 2021 at 11:59, Lorenzo Pieralisi wrote: > > On Wed, Aug 11, 2021 at 03:55:08PM +0100, Lorenzo Pieralisi wrote: > > On Wed, Aug 11, 2021 at 03:08:24PM +0100, Christoph Hellwig wrote: > > > 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. > > > > Patch (3) in this series is a fix - I would ask whether it makes > > sense to merge patches (2-3) now and think about reworking the current > > ACPI IO/MEM mapping API later, it can be an invasive change for a fix, > > assuming we agree on how to rework the ACPI IO/MEM mapping API. > > What should we do then with this series ? > It is not even clear that reworking the ACPI core is feasible to begin with, OTOH, fixing a sparse warning is arguably not a critical bug fix either, so I'd suggest we just drop that bit. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel