Received: by 10.223.164.202 with SMTP id h10csp6282368wrb; Wed, 22 Nov 2017 02:04:31 -0800 (PST) X-Google-Smtp-Source: AGs4zMax+CCI/8NsjqWDKNhq8M3bNeJEStRPSAV2kcOEjYvjwKOy33qWCsIZn1zKrK1bbigpl6Tu X-Received: by 10.98.252.7 with SMTP id e7mr18529182pfh.12.1511345071050; Wed, 22 Nov 2017 02:04:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511345071; cv=none; d=google.com; s=arc-20160816; b=yk0N8kDgfiP4NIwggFi6/Lc4Cox4x5g132XJ+7ED99SIBtAVqGPx3xXYcZyTsP/+Aa m9o7zuOKsR8Cl011UcPf9NLZHMIvlWH3FCCRhmsfPS064pp1MS/mr26pSfXSU7lE1jJI X+roTIS6iOEUZdNASpe2GI1y669h6zD+WhcN3KrDFf8fl4+21x4SX2RQm7kdqXKqihrB 7Rb7acs7VYVcMO6v4nEGs5CkYpeggcsoR8NqEFMwy6aCTwrewo11RiCs/coF+k1rgWNf LiVy6RZE0I9MGc0HN30Jhkqp8NBvlKSRgDZjtUZXsyHqPJ6zgt9EWmZLiu48lrhsd/7y anKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=pySPfSfpXWwyVHWnNYfxIhmRIzcVsAIQO66qxVu96l4=; b=Y/egrhOslD+whtxu92Fe327VP4r6n8fVz02NdNcZZUiYCkQR0IMOcA2EfdSukFPjuY uIcKT0/LOhh1K4fDvLkUw2ZL/ltqSI44dtFCZd+33oCQMXCCBiY+HuLMYXIwJZ7RYpsr FC+ecJgv1lrSzGyPUWIKsYrT9LhFNhMNyqWV5JFIdpuRV/jiSRZQqQUVryr1Vz8ngHUW 6ZEcZNqP2qyquL2R6Dkba4b7zt3Y+Uo/ShOKhhpw7q6newIKNnl8sL8YflwCp95Skq28 hHTlLLYWfb2nXrlY7iTkk3rhJRnlUYOpGyvM/SgJRjivr4BgA1Z/IUNrHUHZEHnNG8Sg FMvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Dx6VSmaZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j6si14304789pfh.329.2017.11.22.02.04.19; Wed, 22 Nov 2017 02:04:31 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Dx6VSmaZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751981AbdKVKDn (ORCPT + 76 others); Wed, 22 Nov 2017 05:03:43 -0500 Received: from mail-vk0-f54.google.com ([209.85.213.54]:41466 "EHLO mail-vk0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751723AbdKVKDk (ORCPT ); Wed, 22 Nov 2017 05:03:40 -0500 Received: by mail-vk0-f54.google.com with SMTP id j67so9437155vkd.8; Wed, 22 Nov 2017 02:03:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=pySPfSfpXWwyVHWnNYfxIhmRIzcVsAIQO66qxVu96l4=; b=Dx6VSmaZpyACf9BgWRlUoI7NFMQ+vs2CyPakHAM6CNxG5SQCqeIU3uHMBxKToO0X+I DbhinyHgItTqiceQI/5CdPWI/Usww98mbXwKgsQLhr81TdxWcamkpQFlYgOgDJgv0ITt WkX5NmGfK1z51XuO/sYPTnuDQ9/W9j14uzjHNfeiEf7Kl2A9nxYRmXJh2OefGDTwHn59 hirQl7omnb9Pa7H4mcNoq0qHCj+Id1ahkeKEuhNyV/5OD8IMZ9ggCeqdbmUnCSRmfBFX 8V70s6obecJMHYx69luLcfdPcA3NYg7sVJYFZlVXSKEakHwkX4aHfSc2sEiMv7xI90zu wKdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=pySPfSfpXWwyVHWnNYfxIhmRIzcVsAIQO66qxVu96l4=; b=KYuXz0ET/f5aGWArMQITCnNzZ5epWyqeKs4yDTEwAnPGVVzHtpbFZ9XOOK+tJISLuE JraH9xMKUgicaI16Dm63cYLgOG6x78tFOCX7nhbD+8/j+KCtxqv6HO6v6/LWO0gtW5MD 8LgdcwcOq1po/0Zw6FzDTIVXTwl0HS+6T0Gmwd3vauS3iuVI7m/9O3FqM7uwmty8FZKl pHm9BM13QGeFt6xb9Yi5vk0JC5cARZUEyJUJP9TprRR4iCsPV1aEEA4rxqQv7dh1GdOO cqtaAyYiw+3cUCYAHlMSrev787F0zZmyyK4Zp1FvmdBJcCiUu7hWSxiqKc/phWUlf2jw pioA== X-Gm-Message-State: AJaThX4ILGa4EFdFm7npdcCgAezJv6L3XYxtFuOdKrk4BRAo5lCH4M3A jwmCm9CIrvSRp22XNjF2UxyKJ26znWiSYuGOexQ= X-Received: by 10.31.129.133 with SMTP id c127mr15249099vkd.22.1511345020014; Wed, 22 Nov 2017 02:03:40 -0800 (PST) MIME-Version: 1.0 Received: by 10.159.62.8 with HTTP; Wed, 22 Nov 2017 02:02:59 -0800 (PST) In-Reply-To: References: <4e9acf2ec55fb26ddb290ca2d955eeea628e0a77.1510118606.git.green.hu@gmail.com> From: Greentime Hu Date: Wed, 22 Nov 2017 18:02:59 +0800 Message-ID: Subject: Re: [PATCH 12/31] nds32: Device specific operations To: Arnd Bergmann Cc: Greentime , Linux Kernel Mailing List , linux-arch , Thomas Gleixner , Jason Cooper , Marc Zyngier , Rob Herring , Networking , Vincent Chen , deanbo422@gmail.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2017-11-11 0:14 GMT+08:00 Arnd Bergmann : > Could you move ioremap_nocache/ioremap_uc/ioremap_wc/ioremap_wt > out of that #ifdef, or would that break other architectures? > It seems ok. I just tried arm64, x86 and nds32. #endif /* CONFIG_MMU */ #ifndef ioremap_nocache void __iomem *ioremap(phys_addr_t phys_addr, size_t size); #define ioremap_nocache ioremap_nocache static inline void __iomem *ioremap_nocache(phys_addr_t offset, size_t size) { return ioremap(offset, size); } #endif #ifndef ioremap_uc #define ioremap_uc ioremap_uc static inline void __iomem *ioremap_uc(phys_addr_t offset, size_t size) { return ioremap_nocache(offset, size); } #endif #ifndef ioremap_wc #define ioremap_wc ioremap_wc static inline void __iomem *ioremap_wc(phys_addr_t offset, size_t size) { return ioremap_nocache(offset, size); } #endif #ifndef ioremap_wt #define ioremap_wt ioremap_wt static inline void __iomem *ioremap_wt(phys_addr_t offset, size_t size) { return ioremap_nocache(offset, size); } #endif From 1583696340509379152@xxx Fri Nov 10 16:15:24 +0000 2017 X-GM-THRID: 1583483429061741337 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread