Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2063010imm; Sat, 13 Oct 2018 09:19:06 -0700 (PDT) X-Google-Smtp-Source: ACcGV63yfIEh1itlbqUNYWsOKnVT5W2gndM6J4PkXCa7vH/gVJ+mI1eACDXYd9IZ+oJ118jqish9 X-Received: by 2002:a17:902:74c2:: with SMTP id f2-v6mr10222826plt.45.1539447546402; Sat, 13 Oct 2018 09:19:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539447546; cv=none; d=google.com; s=arc-20160816; b=agrGSAOL9cOT78Nls6D1k8yGoI4IOguw7w2d5YEPNqqsCrWc/JyxYrfLOf98TwjlZk WPp9hostCoBX+nrwaB97VmoWaJJ560rnNUjlBb1db5x5/RD24yND13sFI8SLm1XoJtnJ IUazsDg38PXfAMB4GW7cxqV4k0vkNbNUv+3zCIMqIOqtRtX66GHOMtxFdDJtVV3IOs0Q RkE9YzH2rDI5XstWyypWJBdHue/EpBvMLmbpo6OYzzxiT6W2a4Izue7U9eU4WX36MMIk xDRJ6Q5rf5WqOvjLbNCn7sZkQDc1j5NEK1UhnhMlu4th4Q/hZ08dl3Nx9VU7JA57mNO3 WQ+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:subject:cc:to:from:message-id:date; bh=7rBgn0LsuZTVUdY7ZW/21BnxOY+ZTvoiRkqu1SZ4Pps=; b=VE7um/V1TaevsGHU3Selr1402R/eBtSc7yxiu/DbiSVgu2lSA7iuTPwYx0QxjyeBkJ MYUGcoiPU5hNv8+nMKeX1sKL4Ms29rNayVcTEmby7gQNvCt2mN2skVLwu/gQai2Go6Co igi5Ww7NL5fVEOIgP64Fb7P8ufr0uFwQ4r87mQ7hZydEvdY0+eW1gmNpl8cdkqL+0wfz 7BRnDxKl66GxQB8hJECpzXWA/SbXUpRHhCOJa8VCy3v0A+PmDEeJK0mz1Fw4QRXOS9wM KnP1hndssRzB160ffA67ZiOSfmMehHDTzHh3MPGFhYNw0yKXKSafhjihOuDlatBZVExV YRTQ== ARC-Authentication-Results: i=1; mx.google.com; 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 1-v6si4935666plx.140.2018.10.13.09.18.51; Sat, 13 Oct 2018 09:19:06 -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; 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 S1726771AbeJMX4Q (ORCPT + 99 others); Sat, 13 Oct 2018 19:56:16 -0400 Received: from mx2.suse.de ([195.135.220.15]:44120 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726329AbeJMX4Q (ORCPT ); Sat, 13 Oct 2018 19:56:16 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id A3902AF66; Sat, 13 Oct 2018 16:18:28 +0000 (UTC) Date: Sat, 13 Oct 2018 18:18:28 +0200 Message-ID: From: Takashi Iwai To: Christoph Hellwig Cc: linux-pm@vger.kernel.org, linux-tegra@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-media@vger.kernel.org, linux-spi@vger.kernel.org, linux-fbdev@vger.kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [alsa-devel] [PATCH 4/8] sound: hpios: don't pass GFP_DMA32 to dma_alloc_coherent In-Reply-To: <20181013151707.32210-5-hch@lst.de> References: <20181013151707.32210-1-hch@lst.de> <20181013151707.32210-5-hch@lst.de> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/26 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 13 Oct 2018 17:17:03 +0200, Christoph Hellwig wrote: > > The DMA API does its own zone decisions based on the coherent_dma_mask. > > Signed-off-by: Christoph Hellwig Reviewed-by: Takashi Iwai Would you like to take this as a series, or shall I take individually through sound tree? thanks, Takashi > --- > sound/pci/asihpi/hpios.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/sound/pci/asihpi/hpios.c b/sound/pci/asihpi/hpios.c > index 5ef4fe964366..7c91330af719 100644 > --- a/sound/pci/asihpi/hpios.c > +++ b/sound/pci/asihpi/hpios.c > @@ -49,7 +49,7 @@ u16 hpios_locked_mem_alloc(struct consistent_dma_area *p_mem_area, u32 size, > /*?? any benefit in using managed dmam_alloc_coherent? */ > p_mem_area->vaddr = > dma_alloc_coherent(&pdev->dev, size, &p_mem_area->dma_handle, > - GFP_DMA32 | GFP_KERNEL); > + GFP_KERNEL); > > if (p_mem_area->vaddr) { > HPI_DEBUG_LOG(DEBUG, "allocated %d bytes, dma 0x%x vma %p\n", > -- > 2.19.1 > > _______________________________________________ > Alsa-devel mailing list > Alsa-devel@alsa-project.org > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel >