Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4049142ybg; Mon, 21 Oct 2019 02:59:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqxMCm6HeWJ61PtX+UO/3Ydldtoq15u5gU14JJVCtYvjqlNK/ZJQmd2sUxkobmmEC6EKBcoP X-Received: by 2002:aa7:d28d:: with SMTP id w13mr23583033edq.184.1571651994840; Mon, 21 Oct 2019 02:59:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571651994; cv=none; d=google.com; s=arc-20160816; b=mEiNHOvasBb+xtcq5rc3X8a1Mxy7TeESIknhlnMsKMooc2jQQk8RCjscIfZQBitj/I 0C4cSWhJ80AcpZaXLUMLqp17q7MutziDkjj/J0a+8/BZFubNrM/aMuTpEdxq/Mpcr4dr zF1t7peNab+Kkas7nvq93CgQRIjq0WLLyrxbsvYOnGyRpw3z9kdsYZ6A0mfzDrIEqMYV Dhr0+V5PXrHfCV9BZwOPVtkyfIBnIlWamVmk5vvYM9FFx1364LslQndXUeye/bKwhTB0 kU1liCWDWmVlPv586B+S5v2eWBqwmiVJGSaZIvcIbVlrEGlRq7q5Qy5h5582wvv2iUk/ l9AA== 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 :in-reply-to:references:mime-version:dkim-signature; bh=pdHS5iTjhH216W3OQmstavgIx2TJJX3EShTQ+j4ScZ4=; b=rpkDQJuiSuYqc05PUhiSmM/j1dvitcMVxdrWsThBqv4sfZ0g47Gss9FNIlPF8MzjUA kPXLTRYq79BvO5sDM1i6BWcMv2idf/HbHRNslYVzgGvBeu2r4gyJ+Mi2XvDxeVV9BF4h y2oYoU4zmwaPCEi6VLDnI1ZwsjUR5hZQmbXk4/c17ESGU/k6IVVtoGctXlfpPGcUUZ3l 8PigcstVIeUWi/n+NgCLKJ5yWSp+RyDyMgI9hbZI1RoDnIinrvRqo6USGBJYxcQSqVbl p9Cwa0Yr5uVs/7R17COcUsJK/oR4qCEQnei/jrzznU0iygkL9UXJytG4g54/lLSuG/Vx BXMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=A+lOYOm+; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id jo18si8463270ejb.27.2019.10.21.02.59.31; Mon, 21 Oct 2019 02:59:54 -0700 (PDT) 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=@linaro.org header.s=google header.b=A+lOYOm+; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727952AbfJUJ7P (ORCPT + 99 others); Mon, 21 Oct 2019 05:59:15 -0400 Received: from mail-ua1-f68.google.com ([209.85.222.68]:38179 "EHLO mail-ua1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726725AbfJUJ7O (ORCPT ); Mon, 21 Oct 2019 05:59:14 -0400 Received: by mail-ua1-f68.google.com with SMTP id 107so3615915uau.5 for ; Mon, 21 Oct 2019 02:59:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=pdHS5iTjhH216W3OQmstavgIx2TJJX3EShTQ+j4ScZ4=; b=A+lOYOm+Xr9/QoAPbGmRqhJkdtF0Lqe8WUL4ACj5RU0nNNF8swHXxJ1znB4G8Os5Ny GFNaGZ/ejdu+ewHfdHOPCmruyouYE59ddCzoE/xVdTrwx+9jDUvHxy7BDp9wIDVdNxfI /6ZVUUwI4YOYuKQGiiojp4zvyT6amzLfph0exWZKznf04jiM3DxdRAExfvqYeyeqcqdD +jHYiIvYbVFtFjJ+6C1ZbvLjFHV0Oba7w+6LuMl93+fW5xmlBomtFj1iieYNFONPPx+n GuW5fPipC9llariB4WKqkEzYSA5LiCXyADKzbRoQItF2MbOokfHyNH6+nW64EQTg2+/Q SDPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pdHS5iTjhH216W3OQmstavgIx2TJJX3EShTQ+j4ScZ4=; b=ucng4PM05dXXVUzGRt14FpSoRiLkM/0hy2b+A5/tPSMOoUEDrEvR5uksHIZO0Sf7XI 0LZrO4c87PsaFAck0u6A314Wf2S0aQ9R4jSR6atuv09dTikgpo/5S57FGVvG8WfCHh0I hdZp3GGE3YnwabrclP1IjJz9LXrQd/lif9rISYoDF2WYdov+ajl1/rFoDyHQRqrwpGIJ 9ldGawXUVgQ3Zs5e/uXDrsk1lD1O8E7Bbkify9KfF+Lpkn8TnbzWsob2aC3tXGvJQTjZ ABvyZNcYo3S1gM/bSLlZLR2sQ3kCGJ9bkQkR0kmegdcRzm9RGfRmKvNCiQSNCRxYtpuj FmdA== X-Gm-Message-State: APjAAAWXwDPeT93eA0ItFrLNn4dTkTLzAHU+7PI6nyQOBvqZLLZx0+8G dus7WdQMnKnl72PulG4nTJoOr218G+qYVB8WiMUaQA== X-Received: by 2002:ab0:5a97:: with SMTP id w23mr2075364uae.129.1571651953620; Mon, 21 Oct 2019 02:59:13 -0700 (PDT) MIME-Version: 1.0 References: <20191018154052.1276506-1-arnd@arndb.de> <20191018154201.1276638-5-arnd@arndb.de> In-Reply-To: <20191018154201.1276638-5-arnd@arndb.de> From: Ulf Hansson Date: Mon, 21 Oct 2019 11:58:37 +0200 Message-ID: Subject: Re: [PATCH 05/46] ARM: pxa: split up mach/hardware.h To: Arnd Bergmann Cc: Daniel Mack , Haojian Zhuang , Robert Jarzmik , Linux ARM , Linux Kernel Mailing List , Linus Walleij , Michael Turquette , Stephen Boyd , Viresh Kumar , Dmitry Torokhov , Jacek Anaszewski , Pavel Machek , Dominik Brodowski , Alexandre Belloni , Greg Kroah-Hartman , Guenter Roeck , Mark Brown , linux-clk , Linux PM , linux-input@vger.kernel.org, linux-leds@vger.kernel.org, "linux-mmc@vger.kernel.org" , linux-mtd@lists.infradead.org, linux-rtc@vger.kernel.org, Linux USB List , dri-devel , Linux Fbdev development list , linux-watchdog@vger.kernel.org, alsa-devel@alsa-project.org 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 On Fri, 18 Oct 2019 at 17:43, Arnd Bergmann wrote: > > The mach/hardware.h is included in lots of places, and it provides > three different things on pxa: > > - the cpu_is_pxa* macros > - an indirect inclusion of mach/addr-map.h > - the __REG() and io_pv2() helper macros > > Split it up into separate and mach/pxa-regs.h > headers, then change all the files that use mach/hardware.h to > include the exact set of those three headers that they actually > need, allowing for further more targeted cleanup. > > linux/soc/pxa/cpu.h can remain permanently exported and is now in > a global location along with similar headers. pxa-regs.h and > addr-map.h are only used in a very small number of drivers now > and can be moved to arch/arm/mach-pxa/ directly when those drivers > are to pass the necessary data as resources. > > Cc: Michael Turquette > Cc: Stephen Boyd > Cc: Viresh Kumar > Cc: Dmitry Torokhov > Cc: Jacek Anaszewski > Cc: Pavel Machek > Cc: Ulf Hansson > Cc: Dominik Brodowski > Cc: Alexandre Belloni > Cc: Greg Kroah-Hartman > Cc: Guenter Roeck > Cc: Mark Brown > Cc: linux-clk@vger.kernel.org > Cc: linux-pm@vger.kernel.org > Cc: linux-input@vger.kernel.org > Cc: linux-leds@vger.kernel.org > Cc: linux-mmc@vger.kernel.org > Cc: linux-mtd@lists.infradead.org > Cc: linux-rtc@vger.kernel.org > Cc: linux-usb@vger.kernel.org > Cc: dri-devel@lists.freedesktop.org > Cc: linux-fbdev@vger.kernel.org > Cc: linux-watchdog@vger.kernel.org > Cc: alsa-devel@alsa-project.org > Signed-off-by: Arnd Bergmann [...] For the mmc part: Acked-by: Ulf Hansson