* [PATCH 00/21] more arm build fixes
@ 2013-04-25 17:28 Arnd Bergmann
2013-04-25 17:28 ` [PATCH 08/21] drm/nouveau: use mdelay instead of large udelay constants Arnd Bergmann
2013-04-25 17:28 ` [PATCH 09/21] drm: export drm_vm_open_locked Arnd Bergmann
0 siblings, 2 replies; 4+ messages in thread
From: Arnd Bergmann @ 2013-04-25 17:28 UTC (permalink / raw)
To: linux-arm-kernel
Cc: linux-kernel, Arnd Bergmann, James E.J. Bottomley,
Benjamin Herrenschmidt, David Airlie, Felipe Balbi, Grant Likely,
Greg Kroah-Hartman, Inki Dae, Jason Cooper, Joerg Roedel,
Nicolas Pitre, Rafael J. Wysocki, Rob Herring, Russell King,
Simon Horman, Thomas Gleixner, Viresh Kumar, Will Deacon,
alsa-devel, dri-devel, linux-atm-general, linux-scsi, linux-usb@
Hi subsystem maintainers,
Here is another set of patches that resulted from build testing on
linux-next. Please apply directly into your trees if you agree,
or let me know if I made a mistake.
I can take whatever remains through the arm-soc tree if you prefer
that or I don't hear back.
Arnd
Arnd Bergmann (21):
ARM: topology: export cpu_topology
ARM: default machine descriptor for multiplatform
ARM: shmobile: don't call irqchip_init unconditionally
ARM: orion5x: include linux/cpu.h
atm: he: use mdelay instead of large udelay constants
ALSA: ali5451: use mdelay instead of large udelay constants
oss/dmabuf: use dma_map_single
drm/nouveau: use mdelay instead of large udelay constants
drm: export drm_vm_open_locked
[SCSI] nsp32: use mdelay instead of large udelay constants
irqdomain: export irq_domain_add_simple
irqchip: s3c24xx: add missing __init annotations
iommu: tegra: print dma_addr_t using %lld
cpufreq: pxa2xx: initialize variables
thermal: cooling: avoid uninitialied used gcc warning
OF: remove #ifdef from linux/of_platform.h
X.509: do not emit any informational output
USB: ehci-msm: USB_MSM_OTG needs USB_PHY
USB: lpc32xx: ISP1301 needs USB_PHY
USB: OMAP: ISP1301 needs USB_PHY
USB: OHCI: avoid conflicting platform drivers
arch/arm/Kconfig | 1 -
arch/arm/configs/lpc32xx_defconfig | 1 +
arch/arm/configs/msm_defconfig | 1 +
arch/arm/configs/omap1_defconfig | 1 +
arch/arm/kernel/devtree.c | 7 ++
arch/arm/kernel/setup.c | 11 +-
arch/arm/kernel/topology.c | 1 +
arch/arm/mach-orion5x/common.c | 1 +
arch/arm/mach-shmobile/intc-r8a7740.c | 13 +-
drivers/atm/he.c | 2 +-
drivers/cpufreq/pxa2xx-cpufreq.c | 5 +-
drivers/gpu/drm/drm_vm.c | 1 +
drivers/gpu/drm/nouveau/core/engine/disp/dacnv50.c | 3 +-
drivers/iommu/tegra-gart.c | 3 +-
drivers/iommu/tegra-smmu.c | 2 +-
drivers/irqchip/irq-s3c24xx.c | 4 +-
drivers/scsi/nsp32.c | 2 +-
drivers/thermal/cpu_cooling.c | 17 +--
drivers/usb/gadget/Kconfig | 2 +
drivers/usb/host/Kconfig | 1 +
drivers/usb/host/ohci-hcd.c | 136 ++++++++++++++++++---
drivers/usb/phy/Makefile | 2 +-
include/linux/of_platform.h | 13 +-
kernel/irq/irqdomain.c | 1 +
lib/build_OID_registry | 2 -
sound/oss/dmabuf.c | 3 +-
sound/pci/ali5451/ali5451.c | 8 +-
27 files changed, 187 insertions(+), 57 deletions(-)
--
1.8.1.2
Cc: "James E.J. Bottomley" <JBottomley@parallels.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: David Airlie <airlied@linux.ie>
Cc: Felipe Balbi <balbi@ti.com>
Cc: Grant Likely <grant.likely@linaro.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Inki Dae <inki.dae@samsung.com>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Joerg Roedel <joro@8bytes.org>
Cc: Nicolas Pitre <nico@linaro.org>
Cc: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: Rob Herring <robherring2@gmail.com>
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Cc: Simon Horman <horms+renesas@verge.net.au>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Cc: Will Deacon <will.deacon@arm.com>
Cc: alsa-devel@alsa-project.org
Cc: dri-devel@lists.freedesktop.org
Cc: linux-atm-general@lists.sourceforge.net
Cc: linux-scsi@vger.kernel.org
Cc: linux-usb@vger.kernel.org
Cc: netdev@vger.kernel.org
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 08/21] drm/nouveau: use mdelay instead of large udelay constants
2013-04-25 17:28 [PATCH 00/21] more arm build fixes Arnd Bergmann
@ 2013-04-25 17:28 ` Arnd Bergmann
2013-04-25 17:28 ` [PATCH 09/21] drm: export drm_vm_open_locked Arnd Bergmann
1 sibling, 0 replies; 4+ messages in thread
From: Arnd Bergmann @ 2013-04-25 17:28 UTC (permalink / raw)
To: linux-arm-kernel; +Cc: dri-devel, linux-kernel, Arnd Bergmann, Ben Skeggs
ARM cannot handle udelay for more than 2 miliseconds, so we
should use mdelay instead for those.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: David Airlie <airlied@linux.ie>
Cc: Ben Skeggs <bskeggs@redhat.com>
Cc: dri-devel@lists.freedesktop.org
---
drivers/gpu/drm/nouveau/core/engine/disp/dacnv50.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/nouveau/core/engine/disp/dacnv50.c b/drivers/gpu/drm/nouveau/core/engine/disp/dacnv50.c
index d0817d9..ed7415e 100644
--- a/drivers/gpu/drm/nouveau/core/engine/disp/dacnv50.c
+++ b/drivers/gpu/drm/nouveau/core/engine/disp/dacnv50.c
@@ -51,7 +51,8 @@ nv50_dac_sense(struct nv50_disp_priv *priv, int or, u32 loadval)
const u32 doff = (or * 0x800);
int load = -EINVAL;
nv_wr32(priv, 0x61a00c + doff, 0x00100000 | loadval);
- udelay(9500);
+ mdelay(9);
+ udelay(500);
nv_wr32(priv, 0x61a00c + doff, 0x80000000);
load = (nv_rd32(priv, 0x61a00c + doff) & 0x38000000) >> 27;
nv_wr32(priv, 0x61a00c + doff, 0x00000000);
--
1.8.1.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 09/21] drm: export drm_vm_open_locked
2013-04-25 17:28 [PATCH 00/21] more arm build fixes Arnd Bergmann
2013-04-25 17:28 ` [PATCH 08/21] drm/nouveau: use mdelay instead of large udelay constants Arnd Bergmann
@ 2013-04-25 17:28 ` Arnd Bergmann
2013-04-26 4:55 ` Inki Dae
1 sibling, 1 reply; 4+ messages in thread
From: Arnd Bergmann @ 2013-04-25 17:28 UTC (permalink / raw)
To: linux-arm-kernel
Cc: Arnd Bergmann, Seung-Woo Kim, linux-kernel, dri-devel,
Kyungmin Park
The EXYNOS DRM driver uses drm_vm_open_locked in its mmap() function,
and it can be built as a loadable module, which currently fails.
This exports the symbol from the DRM core to avoid
ERROR: "drm_vm_open_locked" [drivers/gpu/drm/exynos/exynosdrm.ko] undefined!
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: David Airlie <airlied@linux.ie>
Cc: dri-devel@lists.freedesktop.org
Cc: Inki Dae <inki.dae@samsung.com>
Cc: Joonyoung Shim <jy0922.shim@samsung.com>
Cc: Seung-Woo Kim <sw0312.kim@samsung.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
---
drivers/gpu/drm/drm_vm.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/drm_vm.c b/drivers/gpu/drm/drm_vm.c
index db7bd29..1d4f7c9 100644
--- a/drivers/gpu/drm/drm_vm.c
+++ b/drivers/gpu/drm/drm_vm.c
@@ -422,6 +422,7 @@ void drm_vm_open_locked(struct drm_device *dev,
list_add(&vma_entry->head, &dev->vmalist);
}
}
+EXPORT_SYMBOL_GPL(drm_vm_open_locked);
static void drm_vm_open(struct vm_area_struct *vma)
{
--
1.8.1.2
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [PATCH 09/21] drm: export drm_vm_open_locked
2013-04-25 17:28 ` [PATCH 09/21] drm: export drm_vm_open_locked Arnd Bergmann
@ 2013-04-26 4:55 ` Inki Dae
0 siblings, 0 replies; 4+ messages in thread
From: Inki Dae @ 2013-04-26 4:55 UTC (permalink / raw)
To: Arnd Bergmann
Cc: Kyungmin Park, DRI mailing list, Seung-Woo Kim,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
[-- Attachment #1.1: Type: text/plain, Size: 1376 bytes --]
2013/4/26 Arnd Bergmann <arnd@arndb.de>
> The EXYNOS DRM driver uses drm_vm_open_locked in its mmap() function,
> and it can be built as a loadable module, which currently fails.
> This exports the symbol from the DRM core to avoid
>
> ERROR: "drm_vm_open_locked" [drivers/gpu/drm/exynos/exynosdrm.ko]
> undefined!
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> Cc: David Airlie <airlied@linux.ie>
> Cc: dri-devel@lists.freedesktop.org
> Cc: Inki Dae <inki.dae@samsung.com>
> Cc: Joonyoung Shim <jy0922.shim@samsung.com>
> Cc: Seung-Woo Kim <sw0312.kim@samsung.com>
> Cc: Kyungmin Park <kyungmin.park@samsung.com>
> ---
> drivers/gpu/drm/drm_vm.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/drm_vm.c b/drivers/gpu/drm/drm_vm.c
> index db7bd29..1d4f7c9 100644
> --- a/drivers/gpu/drm/drm_vm.c
> +++ b/drivers/gpu/drm/drm_vm.c
> @@ -422,6 +422,7 @@ void drm_vm_open_locked(struct drm_device *dev,
> list_add(&vma_entry->head, &dev->vmalist);
> }
> }
> +EXPORT_SYMBOL_GPL(drm_vm_open_locked);
>
>
Checked it out.
Acked-by: Inki Dae <inki.dae@samsung.com>
Thanks,
Inki Dae
static void drm_vm_open(struct vm_area_struct *vma)
> {
> --
> 1.8.1.2
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel
>
[-- Attachment #1.2: Type: text/html, Size: 2602 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-04-26 4:55 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-25 17:28 [PATCH 00/21] more arm build fixes Arnd Bergmann
2013-04-25 17:28 ` [PATCH 08/21] drm/nouveau: use mdelay instead of large udelay constants Arnd Bergmann
2013-04-25 17:28 ` [PATCH 09/21] drm: export drm_vm_open_locked Arnd Bergmann
2013-04-26 4:55 ` Inki Dae
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox