Received: by 10.223.176.46 with SMTP id f43csp135657wra; Tue, 23 Jan 2018 17:41:31 -0800 (PST) X-Google-Smtp-Source: AH8x226EhspDVPlHfE0cZ0+MPT9g71bG90zF0l+uoMhdXyljzm6d/3xvNVFn9J/0bZDlOugmvZ6U X-Received: by 10.98.69.209 with SMTP id n78mr11622163pfi.6.1516758091307; Tue, 23 Jan 2018 17:41:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516758091; cv=none; d=google.com; s=arc-20160816; b=OowO21nbZE40f+REGiORIfYdSUAOlZC6uC0psJebFEmSRMhvGZaWJh6+JCggm10bx/ TH7YOnS0xV4ZMtlp7qgr6ANCHDcFR41zPPzbP9R4tQTVAnycllKRgb3Oz6Gd8wM4eheh gDa9cI9pcjOpMWPteM37zwPX5qsjd5+OUOml6ZZW4dvkZPtMJIyKYYuX2HQ8ZWC6VrHE bjPWLuAuwk6cGv0Zd42mEJiT5L4clEKmiMpqGKBUE6pSZSk035YzyfaEzCJ3leEghnf0 5neC2Tl70PjcXratXyEzFN6yoBrOZ88/msAUOqrNG461/kmjq7ilMuo63Ro68Ucrnnga TnNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=Fow40j2y787sFw6ew76IAgUNpTcSGHU0TwIurh4JYqc=; b=XXaf3sUFKvM8yfkT8tQR3+Njgj8A5mpP/N6WPvhvKY1UyxtJB4pAfOIqnS8+mGHIk2 nQc1vdtdFUWoqp51xIzm/nMXQ8z3R+QDMMptGt9o/oQ3nXwxFjQ8s9FygRhEZRk5W/Rb P7J6ccdY7xCEXWyFhLCvhhrAVHodzSAvQTNsVyVmiPsn4+FRQn+XhD7LTnBKQGDECJPz THJUBng3gRnXzue0/w93tQxh6jubAKLKBvvlCwxG3bfOzJ0KqEB9I1VquNI5m4sWDgf7 wumezVZwPGSgRhWbprwOn0pjmnx/rKBdh7Xv9Ubbdj3N4Iaig15MftkV3yij/cwcDw4D DzDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eHT8Vi8f; 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 n24si9347968pgd.735.2018.01.23.17.41.14; Tue, 23 Jan 2018 17:41: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=eHT8Vi8f; 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 S1751969AbeAXBk0 (ORCPT + 99 others); Tue, 23 Jan 2018 20:40:26 -0500 Received: from mail-qt0-f193.google.com ([209.85.216.193]:44541 "EHLO mail-qt0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751682AbeAXBkZ (ORCPT ); Tue, 23 Jan 2018 20:40:25 -0500 Received: by mail-qt0-f193.google.com with SMTP id l20so6531649qtj.11 for ; Tue, 23 Jan 2018 17:40:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=Fow40j2y787sFw6ew76IAgUNpTcSGHU0TwIurh4JYqc=; b=eHT8Vi8fGWdYmhzH1dXCY0pWrK8uai/RmbSiBXLSBAmFhBgtNs+fvCAdIhHTJznFWE esif+9R97o9KmqNCtVuIBUqSjQZPceACgJ7lpa2GTr/USR9uBOaJYhdK+oJxIZ7cbxZB +S299y5SaXvXrPY3E8kmDTdD1Pf+fpQ16uluCWr6wSqVcIwelBKIVjFnhNWeIea+IqyZ l3MVFZu2mgYsdH/aKjG05b+8C8/LpVaZAErnSYB7VQHX4KqpjDW2/wYvKXD65GQU2GZV m8rcsyeWz+RfoTA6f/Qt+6BUzO/Eo6OH9WZvWYDMZJ7+2ilBUbsMoykSloIL6HP0u2tN ovmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Fow40j2y787sFw6ew76IAgUNpTcSGHU0TwIurh4JYqc=; b=QxZl1GxitkhnIT70dDhSwzhsMs7Uchqqk/UnNn0ylaWaRkUPoVRYSKp4+u9JtVFBax ZuwVLkbd+XmvbCDSQ5WHadZkVsaxyEa8M8lzS48eVBUIxRED2LO4qtXP3zhOPnXH+BDe X2nk052AEf2ur/NZsHFfLjiPjBilalA7H/NF/EGvp8cux+rq93TLQBjnqXcDvMJSndAE /DQaE39fTNrdbbo7tsYRW1w9ezCkAgBA1nDxCgJPn0TMsTMLHTk9fkVfQUxakZMAYTNy nBFSYntZdZKxIJWRm1cWmHPjXh8rFC4BSnkepmEvXrHoSfl9XQ4cdptOXsfJMJBZcZJl lh5g== X-Gm-Message-State: AKwxytdtWeVBNRwy3SXV/YcUrRVkoXSvYVkxLrMC0pUgQQVsj1toMwXP H5oN5GBKYyZNh+69j/Sroaw= X-Received: by 10.55.124.3 with SMTP id x3mr6446006qkc.179.1516758024850; Tue, 23 Jan 2018 17:40:24 -0800 (PST) Received: from stbirv-lnx-1.igp.broadcom.net ([192.19.223.250]) by smtp.gmail.com with ESMTPSA id u123sm6071154qkd.21.2018.01.23.17.40.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 23 Jan 2018 17:40:23 -0800 (PST) From: Florian Fainelli To: linux-mips@linux-mips.org Cc: jhogan@kernel.org, david.daney@cavium.com, paul.burton@mips.com, Florian Fainelli , Ralf Baechle , Kevin Cernekee , Huacai Chen , Jiaxun Yang , Bart Van Assche , Doug Ledford , linux-kernel@vger.kernel.org (open list) Subject: [PATCH 0/2] MIPS: generic dma-coherence.h inclusion Date: Tue, 23 Jan 2018 17:40:08 -0800 Message-Id: <1516758010-7641-1-git-send-email-f.fainelli@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, This patch series does update mach-generic/dma-coherence.h to test whether a machine is already defining any of the functions. This is aimed at avoiding the need for every single platform to redefine its own functions, as well as make us future proof in case we need to add new infrastructure, which I am about to. Thanks Florian Fainelli (2): MIPS: Allow including mach-generic/dma-coherence.h MIPS: Update dma-coherence.h files arch/mips/include/asm/mach-ath25/dma-coherence.h | 10 +++++--- arch/mips/include/asm/mach-bmips/dma-coherence.h | 24 +++++-------------- .../include/asm/mach-cavium-octeon/dma-coherence.h | 14 +++++++---- arch/mips/include/asm/mach-generic/dma-coherence.h | 16 +++++++++++++ arch/mips/include/asm/mach-ip27/dma-coherence.h | 28 +++++----------------- arch/mips/include/asm/mach-ip32/dma-coherence.h | 16 ++++++------- arch/mips/include/asm/mach-jazz/dma-coherence.h | 24 ++++++------------- .../include/asm/mach-loongson64/dma-coherence.h | 16 ++++++------- 8 files changed, 67 insertions(+), 81 deletions(-) -- 2.7.4