Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp482733rwe; Thu, 25 Aug 2022 04:07:33 -0700 (PDT) X-Google-Smtp-Source: AA6agR4ttI7TvSG8SvuDRIJnDaLXfbKqCHSOXSFXxl/NQnRvqVuWacNJ3IcixcEMnO6LsxBtrEzw X-Received: by 2002:a17:907:271b:b0:730:aa8e:74eb with SMTP id w27-20020a170907271b00b00730aa8e74ebmr2142353ejk.478.1661425652944; Thu, 25 Aug 2022 04:07:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661425652; cv=none; d=google.com; s=arc-20160816; b=JBVE+yPHOjKe3XuPNNpRAy+aEExOmuDoqDSg3bOWnn5BSpbYQF5qeNgjni0D7JzSMl F4dOAMEENCBk22InHit3F7n7+3w8Wlv+R/5NSWE7FutKtuZ0gE7OQbKGlJDkYha70ZH7 G4EhSKKa/U1BBWjiBGA0a72yA8DNtRI28BUqO6wZt5UpvixGzO3s1PvvFyPJoTimb4sV L29IxAmxds5IIFcD9H6eNw0+kxTJsWClyYYpAcfgQXGFQ8E/DIUeVd8s91Y5GIAj3TvC YGPIXOW9JETB4aoxd4N2WB7zgo77AAq51J6R5kFNxYDBp3vbUd0s0Pv0aX70dcUdggEr 94eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=hhhhz1AH1FzTabLIytBwW7lF1dPb2hdBcByPySDRX64=; b=NI5XEMztKMLxVY8WJQJWjG0VsE7gChRPZFN47x4toohPBV/DSOTTUtZa98qbeCPUec rHh3S1sB1/pfk6L3YxYb/WesDoeNc8P9psFrzor2zLYB+3LoOCeAr33gpSD+qXjWLl/V Ch7ml+h+u3/rsQ6l32A8cR4XmbhtlPuEoNVbquOtjkw/HAojpYl5kgh2r0A5LtCHQl9O ekgT3d7bFrcHyW9S1KuY69BzrUQu7Kz2CPGHTO8ryF1sSH6r3tyneWyA7VBtwV2jsAuP VylL568gt0K97MfySzqL5j4fRE8pULbriRcEmg0fPyxm9umnMHUyutlTuFXd9bd28jeq Y9GQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b="hV/NygF8"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r8-20020a50aac8000000b0044648d791b4si5425327edc.227.2022.08.25.04.07.06; Thu, 25 Aug 2022 04:07:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b="hV/NygF8"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240890AbiHYKgC (ORCPT + 99 others); Thu, 25 Aug 2022 06:36:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236033AbiHYKgA (ORCPT ); Thu, 25 Aug 2022 06:36:00 -0400 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2AAE95B078 for ; Thu, 25 Aug 2022 03:35:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=hhhhz1AH1FzTabLIytBwW7lF1dPb2hdBcByPySDRX64=; b=hV/NygF8xqGU3kk38vQeNhzFBU 0z3aL22WwsulcnCkCulwjSXv4nvZWtUlXMdKOKrLZ8e1VWDSw/YkYH9q/MoWcu18UsBumnLgNUHAe lZhyBSHPn86ITxWO/hY8QHceDI39pxkaIklKzi//BmE9b0uqzOrCckywssDuiO5rMWpdWae3GB6BH thDGF/EE9/iBE5qbNeC91Y0+nMUtFKU4YNcqKIEGP4zDrvhUGcyNnJhH9GnPd04yA9S8BHXlRI9IH wfngc0YBuAw+xa1AqsLNkrKPAkxnQ3qpZx+iDCqQrARRD6WOMD7EF0lqbfnU4LqLiO3C30oSGzyBl yoZymFdw==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:33928) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oRADN-00053X-Fx; Thu, 25 Aug 2022 11:35:57 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1oRADM-000524-To; Thu, 25 Aug 2022 11:35:56 +0100 Date: Thu, 25 Aug 2022 11:35:56 +0100 From: "Russell King (Oracle)" To: Arnd Bergmann Cc: Christoph Hellwig , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Arnd Bergmann , Linus Walleij , Marc Zyngier Subject: Re: [PATCH 5/4] ARM: footbridge: remove custom DMA address handling Message-ID: References: <20220821055326.GA25950@lst.de> <20220825091752.3535657-1-arnd@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220825091752.3535657-1-arnd@kernel.org> Sender: Russell King (Oracle) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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 Thu, Aug 25, 2022 at 11:17:52AM +0200, Arnd Bergmann wrote: > -/* > - * The footbridge is programmed to expose the system RAM at 0xe0000000. > - * The requirement is that the RAM isn't placed at bus address 0, which > - * would clash with VGA cards. > - */ > -#define BUS_OFFSET 0xe0000000 > -#define __virt_to_bus(x) ((x) + (BUS_OFFSET - PAGE_OFFSET)) > -#define __bus_to_virt(x) ((x) - (BUS_OFFSET - PAGE_OFFSET)) ... and this tells you why that is with ISA devices. So, one hell of a big NAK to this patch, sorry. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!