Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp250130pxb; Wed, 15 Sep 2021 00:50:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyQsf3LGS1qKFQgTDKYF76xZbZG1YixrZzBPIR0vBM4+SJN/UmanF7zHzHDlCixyrJ1L432 X-Received: by 2002:a5e:d80a:: with SMTP id l10mr16793750iok.36.1631692226247; Wed, 15 Sep 2021 00:50:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631692226; cv=none; d=google.com; s=arc-20160816; b=RubJnhHA2PBbIjLgSaPxKhhFNfu4LIMEM81NXXw8cL7htI6gmEjM65I0dA2cqFb4da wYTb+c/e5SPHmYS9UqJm8TozOKU9eGWULfk9XKqsxWk0bRbGiPVrmJnSmmZ8hspIZASx x8vSElkZQyo0ONuu8+FJCwqcSDZ7Ky62X+bogRVVFPd7obpmj2WuOoTfdLX8Jmes7TBB vVxEQE+rvt52lrIWjbP4n+5jp89ZV8ygCZ72htIerglSkNWD61s09aTC0wWiRixCmWJI HOOtlGj6wY5uPbpVFXk29LGr6WODPft36ZDGLy/Ub0MqgzYb/pWJ/HNPPiK2uLdGfLBL zpHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=m5HKfmjgfNStQb01TezNw2LIguzP0ehTQHAFDxzWGJk=; b=R/fbo6IdABlhB/ZsIB90eD3zGxHAdFvagTTmhk9cxhxM4T4/BkSZk6cbCHk6MJVD49 dj5wj81Q6ZEhNewIm114NUaJIEwN8ximbz7+KT7F8dUPZk9rOKVtW/Uj/LFvT1ZkHEZY fgSSzHtmjckWq/yVP8l/s5OIr3LiAPwlgVeZaBDg8YelT/szg+We2aoGunavnJwkyiLQ a7tZBorlg+vKsFttr6w6xxCXulIEjNrMP6sZVe8Lqsr2Vq0Y8QqK+bmij2zr6BS/lhBk xaISK2tb4STd74iRCuZHKszbAv2w87JLQUT+Llfcx7ULBJkUe068U6XsHGWwIJ18PMqf NUNw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x6si13179377ilv.42.2021.09.15.00.50.14; Wed, 15 Sep 2021 00:50:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231611AbhIOHtr (ORCPT + 99 others); Wed, 15 Sep 2021 03:49:47 -0400 Received: from verein.lst.de ([213.95.11.211]:35280 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231364AbhIOHtr (ORCPT ); Wed, 15 Sep 2021 03:49:47 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 5A2A768B05; Wed, 15 Sep 2021 09:48:27 +0200 (CEST) Date: Wed, 15 Sep 2021 09:48:27 +0200 From: Christoph Hellwig To: guoren@kernel.org Cc: anup.patel@wdc.com, atish.patra@wdc.com, palmerdabbelt@google.com, christoph.muellner@vrull.eu, philipp.tomsich@vrull.eu, hch@lst.de, liush@allwinnertech.com, wefu@redhat.com, lazyparser@gmail.com, drew@beagleboard.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, taiten.peng@canonical.com, aniket.ponkshe@canonical.com, heinrich.schuchardt@canonical.com, gordan.markus@canonical.com, Guo Ren Subject: Re: [RFC PATCH V4 3/6] RISC-V: Support a new config option for non-coherent DMA Message-ID: <20210915074827.GC20024@lst.de> References: <20210911092139.79607-1-guoren@kernel.org> <20210911092139.79607-4-guoren@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210911092139.79607-4-guoren@kernel.org> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Sep 11, 2021 at 05:21:36PM +0800, guoren@kernel.org wrote: > + select DMA_GLOBAL_POOL > + select DMA_DIRECT_REMAP No need to select DMA_GLOBAL_POOL when DMA_DIRECT_REMAP is select. Also a patch just to add a option that is not selected and won't build if selected does not make sense.