[{"id":1778937,"web_url":"http://patchwork.ozlabs.org/comment/1778937/","msgid":"<20171003125305.GX22973@bill-the-cat>","list_archive_url":null,"date":"2017-10-03T12:53:05","subject":"Re: [U-Boot] [U-Boot,v2,12/13] powerpc: Use asm-generic/io.h","submitter":{"id":65875,"url":"http://patchwork.ozlabs.org/api/people/65875/","name":"Tom Rini","email":"trini@konsulko.com"},"content":"On Thu, Sep 14, 2017 at 03:05:12PM -0700, Paul Burton wrote:\n\n> Convert the powerpc architecture to make use of the new asm-generic/io.h\n> to provide address mapping functions. As powerpc can actually perform\n> non-identity mapping between physical & virtual addresses we can't\n> simply make use of the generic phys_to_virt() & virt_to_phys()\n> functions. However since map_physmem() already effectively implemented\n> the same thing as virt_to_phys() we can simply implement virt_to_phys()\n> instead of map_physmem() & use the generic map_physmem(). We also drop\n> the no-op unmap_physmem().\n> \n> This has only been build-tested, feedback from architecture maintainers\n> is welcome.\n> \n> Signed-off-by: Paul Burton <paul.burton@imgtec.com>\n> Cc: Wolfgang Denk <wd@denx.de>\n\nApplied to u-boot/master, thanks!","headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=konsulko.com header.i=@konsulko.com\n\theader.b=\"nv4E/3Pf\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3y5zgN1pgnz9s03\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed,  4 Oct 2017 00:01:20 +1100 (AEDT)","by lists.denx.de (Postfix, from userid 105)\n\tid 07FEEC21F44; Tue,  3 Oct 2017 12:59:13 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 5371DC21F6E;\n\tTue,  3 Oct 2017 12:59:11 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid B177CC21F46; Tue,  3 Oct 2017 12:53:12 +0000 (UTC)","from mail-qt0-f171.google.com (mail-qt0-f171.google.com\n\t[209.85.216.171])\n\tby lists.denx.de (Postfix) with ESMTPS id 16BF3C21F0E\n\tfor <u-boot@lists.denx.de>; Tue,  3 Oct 2017 12:53:08 +0000 (UTC)","by mail-qt0-f171.google.com with SMTP id i13so12720069qtc.11\n\tfor <u-boot@lists.denx.de>; Tue, 03 Oct 2017 05:53:08 -0700 (PDT)","from bill-the-cat ([2606:a000:1401:811b:cc53:5bbf:ba3c:c35])\n\tby smtp.gmail.com with ESMTPSA id\n\ta14sm5235864ywh.47.2017.10.03.05.53.07\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tTue, 03 Oct 2017 05:53:07 -0700 (PDT)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-0.0 required=5.0 tests=RCVD_IN_MSPIKE_H3,\n\tRCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID autolearn=unavailable autolearn_force=no\n\tversion=3.4.0","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com;\n\ts=google; \n\th=date:from:to:cc:subject:message-id:references:mime-version\n\t:content-disposition:in-reply-to:user-agent;\n\tbh=dLEnYL0O2V3ayQeeNZz9n9JOsfcFnB3M5Rw4y16fZPw=;\n\tb=nv4E/3PfG9e4gXFThFYxM91rfLMC/aDXAuGz+1tqkFR2R70Om3ic69EPZbmR6cGfAs\n\tSxOLePcmAnHZ2iE6VRtOlOaCzutS+6AhEB7u1dXb47wivLfc+493YPLSaz97+qwmqyDF\n\tMNrJEXVVYlz4TfiNdgIGrLeqrhKMW1XPpqIAA=","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:date:from:to:cc:subject:message-id:references\n\t:mime-version:content-disposition:in-reply-to:user-agent;\n\tbh=dLEnYL0O2V3ayQeeNZz9n9JOsfcFnB3M5Rw4y16fZPw=;\n\tb=aYXm8eHNF8Gj0gYPLeYFUHkYNDuNY4FWxyEv4y9ON6f6Bu9RrnqLPat/erphZ5wEHl\n\tTZjRYV3MejDJU9bj/zGHsuivbHYCejXESyofXgBA25CtkyvMJi9BLYNFZdHYFLzZS2wu\n\toKYVD/CtE7kOEpSisWDR8t7gOKQOg7MD2h9bCfVSgiOuxQKIXisrVfakDSjkHszFWsL5\n\tw/kLQ0OmXNuCnNYYv90zkycWPDzbLAWBmM0kP1Leu+kTIohM4LGzUMFKMizLMqIbvJPZ\n\ti2Vj/fjCOUE6tBMUkfAUi7CZNnKRJHjaP8Fglqln/VimxIu5Y7fqlx/oYrc29VKYvAh0\n\t+YEw==","X-Gm-Message-State":"AMCzsaVX25glFHiHdNYKlArE+HoBwa4RsvA+nSE1DxWKicGDLKWWTPjx\n\tRqaDBkdFwSjfQenrqjbClxY1Kw==","X-Google-Smtp-Source":"AOwi7QAwqxh3JUZ7KrzTc4tWOYg2/2GH9YRexsVbs5ijWE1nqyE3lExJ2Tpyk341hNuYq3ZREK5SxA==","X-Received":"by 10.13.254.196 with SMTP id o187mr1962657ywf.229.1507035187895;\n\tTue, 03 Oct 2017 05:53:07 -0700 (PDT)","Date":"Tue, 3 Oct 2017 08:53:05 -0400","From":"Tom Rini <trini@konsulko.com>","To":"Paul Burton <paul.burton@imgtec.com>","Message-ID":"<20171003125305.GX22973@bill-the-cat>","References":"<20170914220513.9359-13-paul.burton@imgtec.com>","MIME-Version":"1.0","In-Reply-To":"<20170914220513.9359-13-paul.burton@imgtec.com>","User-Agent":"Mutt/1.5.24 (2015-08-30)","Cc":"Stefan Roese <sr@denx.de>, u-boot@lists.denx.de,\n\tAndy Fleming <afleming@gmail.com>,\n\tKim Phillips <kim.phillips@freescale.com>, \n\tKumar Gala <galak@kernel.crashing.org>","Subject":"Re: [U-Boot] [U-Boot,v2,12/13] powerpc: Use asm-generic/io.h","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.18","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<http://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","Content-Type":"multipart/mixed;\n\tboundary=\"===============4562824930476949650==\"","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"}}]