From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vk0-f69.google.com (mail-vk0-f69.google.com [209.85.213.69]) by kanga.kvack.org (Postfix) with ESMTP id BFCCA6B0007 for ; Thu, 3 May 2018 04:20:56 -0400 (EDT) Received: by mail-vk0-f69.google.com with SMTP id k12-v6so14302837vke.15 for ; Thu, 03 May 2018 01:20:56 -0700 (PDT) Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id n7-v6sor5402690vkg.97.2018.05.03.01.20.55 for (Google Transport Security); Thu, 03 May 2018 01:20:55 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20180426215406.GB27853@wotan.suse.de> References: <20180426215406.GB27853@wotan.suse.de> From: Geert Uytterhoeven Date: Thu, 3 May 2018 10:20:54 +0200 Message-ID: Subject: Re: [LSF/MM TOPIC NOTES] x86 ZONE_DMA love Content-Type: text/plain; charset="UTF-8" Sender: owner-linux-mm@kvack.org List-ID: To: "Luis R. Rodriguez" Cc: Linux MM , Michal Hocko , Christoph Lameter , Jan Kara , Matthew Wilcox , the arch/x86 maintainers , Andy Lutomirski , "Martin K. Petersen" , jthumshirn@suse.de, Mark Brown , linux-spi , scsi , Linux Kernel Mailing List , "lsf-pc@lists.linux-foundation.org" Hi Luis, On Thu, Apr 26, 2018 at 11:54 PM, Luis R. Rodriguez wrote: > x86 implicit and explicit ZONE_DMA users > ----------------------------------------- > > We list below all x86 implicit and explicit ZONE_DMA users. > > # Explicit x86 users of GFP_DMA or __GFP_DMA > > * drivers/iio/common/ssp_sensors - wonder if enabling this on x86 was a mistake. > Note that this needs SPI and SPI needs HAS_IOMEM. I only see HAS_IOMEM on > s390 ? But I do think the Intel Minnowboard has SPI, but doubt it has > the ssp sensor stuff. > > * drivers/input/rmi4/rmi_spi.c - same SPI question > * drivers/media/common/siano/ - make allyesconfig yields it enabled, but > not sure if this should ever be on x86 > * drivers/media/platform/sti/bdisp/ - likewise > * drivers/media/platform/sti/hva/ - likewise > * drivers/media/usb/gspca/ - likewise > * drivers/mmc/host/wbsd.c - likewise > * drivers/mtd/nand/gpmi-nand/ - likewise > * drivers/net/can/spi/hi311x.c - likewise > * drivers/net/can/spi/mcp251x.c - likewise > * drivers/net/ethernet/agere/ - likewise > * drivers/net/ethernet/neterion/vxge/ - likewise > * drivers/net/ethernet/rocker/ - likewise > * drivers/net/usb/kalmia.c - likewise > * drivers/net/ethernet/neterion/vxge/ - likewise > * drivers/spi/spi-pic32-sqi.c - likewise > * drivers/spi/spi-sh-msiof.c - likewise depends on ARCH_SHMOBILE || ARCH_RENESAS || COMPILE_TEST > * drivers/spi/spi-ti-qspi.c - likewise I haven't checked the others, but probably you want to disable COMPILE_TEST to make more educated guesses about driver usage on x86. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds