Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4797464ybl; Mon, 9 Dec 2019 17:06:22 -0800 (PST) X-Google-Smtp-Source: APXvYqwW8lUMnE34IheBbe8EO1d1F+rxjleEn1JOg4EkVR/XVeUjtRKGffmvLAnb3z62YXqcAWvm X-Received: by 2002:a54:4805:: with SMTP id j5mr1721227oij.165.1575939982589; Mon, 09 Dec 2019 17:06:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575939982; cv=none; d=google.com; s=arc-20160816; b=aEdhv9ZI6FcOsb3wByhG4VLcJVSWdEEl6i9MD6gSJF9S3HHIylBIXFIGEv7C3ZBC7/ RdJsnIGFvdQl+Vnh7/TXgKZmtEJeHk4rdDkyOFQ/sigE6Dx7wQhAJ73J6K/VunWiLluL 6vb8w2QuUiYGBUbneSLzb777zU2O9Tp+I3fXOT7tEbFs44OvF6to+TGOGy6yKqBBCsye sKBYzCnTcWm9If2gxbnE/PLeNcO303OTAXPYPdXnB3631+PfkWYVS9STHmjhN07Ld+Ae VwdNmzUgxvEXEJlS7e8Rmdi6U5gtM9ELu/FId5KA9vL5XQjQBV/dZsPu9zYRO8N75PgV 0Vag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:feedback-id:content-language:thread-index :content-transfer-encoding:mime-version:message-id:date:subject :in-reply-to:references:cc:to:from:reply-to:dmarc-filter :dkim-signature:dkim-signature; bh=OCaU8F9RlKrZM0fvKSKcYf13PMI9fUqzxDSR+Plmv+M=; b=1JcgmcK38Kra4fJBZKRJ95+pKntfJE8zsI2w25sP21TptNoKjClnIoegDjVqY0epxg r0f49XoZaB/rGbwURNR+jhSBrXTbRRnfNsmLZuWTfPTyF3KWbj9urNgYwbY6OfnV0MwU /z7MO6NXPCdObG+g2C8eTFQOZ4FzD2ZfFJdukGwmagB3wtQbP6HvrGHmtp6+yYoSu0x4 awTMXx6G0IYV0WqTLZWZGoOf+0yPP8ghds9s9SlnobPz9WwoXwXJDWKDn3itXhmiciGp BIBayC0uqktbWgDlQtPXKl7bmTQUxVQxAoffCUsjI8xSGCyaEWxXKZ+OypOwHr44ZyHB BwGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=zsmsymrwgfyinv5wlfyidntwsjeeldzt header.b=UOQeG+i7; dkim=pass header.i=@amazonses.com header.s=gdwg2y3kokkkj5a55z2ilkup5wp5hhxx header.b=QfT56czh; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z84si1001887oia.7.2019.12.09.17.06.10; Mon, 09 Dec 2019 17:06:22 -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=@codeaurora.org header.s=zsmsymrwgfyinv5wlfyidntwsjeeldzt header.b=UOQeG+i7; dkim=pass header.i=@amazonses.com header.s=gdwg2y3kokkkj5a55z2ilkup5wp5hhxx header.b=QfT56czh; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727625AbfLJBFa (ORCPT + 99 others); Mon, 9 Dec 2019 20:05:30 -0500 Received: from a27-185.smtp-out.us-west-2.amazonses.com ([54.240.27.185]:59836 "EHLO a27-185.smtp-out.us-west-2.amazonses.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727383AbfLJBF3 (ORCPT ); Mon, 9 Dec 2019 20:05:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=zsmsymrwgfyinv5wlfyidntwsjeeldzt; d=codeaurora.org; t=1575939928; h=Reply-To:From:To:Cc:References:In-Reply-To:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=cDQOURu+lrltZUCUGf2b9a0iY5u9Z6E+9rCTbvJ0CNg=; b=UOQeG+i7C+ux64CjENBpigVzaz7FbZy9DWOSqIFTp4EZumdjODz+H3+yaZaZikIg YArdG3ZQ/1dk6ItvHUOubAlHRTJ+tkbd4mmNS4tPunbGqgvrnU6zFiSi56oSVftFefX cgMqIU8fQqwkJ6Ox7C5w3LAt5JZeW6FD82vMNsgY= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=gdwg2y3kokkkj5a55z2ilkup5wp5hhxx; d=amazonses.com; t=1575939928; h=Reply-To:From:To:Cc:References:In-Reply-To:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Feedback-ID; bh=cDQOURu+lrltZUCUGf2b9a0iY5u9Z6E+9rCTbvJ0CNg=; b=QfT56czhnKMNQ1F7j0vd7uqTIRvreK9vKR2gSwHNBNxpXDXEQHIt04KEsLtMsx+t mTMCMhl+WwBroUvgYqwaRddfEN57bpjWE0Ewfo+dIgnrqccTZ6ZiMsXFcEvpMT020xE utsI2UVXKItxFIhZSsy2hiaHiSuWzCq2Gi5bPr8E= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.0 DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 0FD11C43383 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=none smtp.mailfrom=bcain@codeaurora.org Reply-To: From: "Brian Cain" To: "'Nick Desaulniers'" Cc: , , , , , , , , , , , , , , , , , , , "'Nathan Chancellor'" References: <20191209222956.239798-1-ndesaulniers@google.com> <20191209222956.239798-2-ndesaulniers@google.com> In-Reply-To: <20191209222956.239798-2-ndesaulniers@google.com> Subject: RE: [PATCH 1/2] hexagon: define ioremap_uc Date: Tue, 10 Dec 2019 01:05:28 +0000 Message-ID: <0101016eed56f28a-58c118b8-face-49c8-af09-0a55a0500d99-000000@us-west-2.amazonses.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQIttLPFE8ad6Ohy6/JIQvGwI+sJfQFJU664pvg3sOA= Content-Language: en-us X-SES-Outgoing: 2019.12.10-54.240.27.185 Feedback-ID: 1.us-west-2.CZuq2qbDmUIuT3qdvXlRHZZCpfZqZ4GtG9v3VKgRyF0=:AmazonSES Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > -----Original Message----- > From: linux-hexagon-owner@vger.kernel.org owner@vger.kernel.org> On Behalf Of Nick Desaulniers > Sent: Monday, December 9, 2019 4:30 PM > To: bcain@codeaurora.org > Cc: Nick Desaulniers ; lee.jones@linaro.org; > andriy.shevchenko@linux.intel.com; ztuowen@gmail.com; > mika.westerberg@linux.intel.com; mcgrof@kernel.org; > gregkh@linuxfoundation.org; alexios.zavras@intel.com; > allison@lohutok.net; will@kernel.org; rfontana@redhat.com; > tglx@linutronix.de; peterz@infradead.org; boqun.feng@gmail.com; > mingo@redhat.com; akpm@linux-foundation.org; geert@linux-m68k.org; > linux-hexagon@vger.kernel.org; clang-built-linux@googlegroups.com; linux- > kernel@vger.kernel.org; Nathan Chancellor > Subject: [PATCH 1/2] hexagon: define ioremap_uc > > Similar to > commit 38e45d81d14e ("sparc64: implement ioremap_uc") define > ioremap_uc for hexagon to avoid errors from -Wimplicit-function-definition. > > Fixes: e537654b7039 ("lib: devres: add a helper function for ioremap_uc") > Link: https://github.com/ClangBuiltLinux/linux/issues/797 > Suggested-by: Nathan Chancellor > Signed-off-by: Nick Desaulniers > --- > arch/hexagon/include/asm/io.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/hexagon/include/asm/io.h > b/arch/hexagon/include/asm/io.h index 539e3efcf39c..b0dbc3473172 > 100644 > --- a/arch/hexagon/include/asm/io.h > +++ b/arch/hexagon/include/asm/io.h > @@ -173,6 +173,7 @@ static inline void writel(u32 data, volatile void > __iomem *addr) > > void __iomem *ioremap(unsigned long phys_addr, unsigned long size); > #define ioremap_nocache ioremap > +#define ioremap_uc(X, Y) ioremap((X), (Y)) > > > #define __raw_writel writel > -- > 2.24.0.393.g34dc348eaf-goog Acked-by: Brian Cain