From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.6 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS,URIBL_BLOCKED,USER_AGENT_MUTT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B1F72C282C2 for ; Wed, 13 Feb 2019 07:27:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 824A4222BE for ; Wed, 13 Feb 2019 07:27:25 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Il8S2LIQ" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388205AbfBMH1V (ORCPT ); Wed, 13 Feb 2019 02:27:21 -0500 Received: from mail-wm1-f66.google.com ([209.85.128.66]:40341 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732690AbfBMH1U (ORCPT ); Wed, 13 Feb 2019 02:27:20 -0500 Received: by mail-wm1-f66.google.com with SMTP id q21so1198171wmc.5 for ; Tue, 12 Feb 2019 23:27:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=ougDmMsACf0IXoScSd8bSpPQfh5iP2Vt3unj4CIa8E8=; b=Il8S2LIQg33Qcq8+uP7U/u3imYzP54lQZDAEEM5CF+kzID+q9sgm0f1PMHhfWqZiXS sh4DwdtHssUQrTbvsgx/oN/zcldkDP8Y8AeZzzRpPf1/injx//G+/Cf2r9GxWr4arkMl qCn6fydje/0+xe2IbXvOI0key5mboqPkQuUJ2aw8uOlM4sJVE1UARhZIKvW7hordAhSn +mVl08ksWPLgh21Ba7GdUgWYDOSD17cDkb57YKWs1Q69ULviavQangrTgmzX8DKCm5F1 2hv9/wSO2ZgTfUhXjLdT/7j08glaH7922e9zMgNG7RB4Gf+HoF3hv0LQiWm+LqwXzCuu 0qiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=ougDmMsACf0IXoScSd8bSpPQfh5iP2Vt3unj4CIa8E8=; b=KWIvm5eiyb78OPA1Rw/g7e1RyE9UyzBM3j0c1yxjO3SYmPvfRn4R9/Ue0RZXFzhGNo +Xaaa8mq6ScTOfaAiU8tG3yf0j8jO38kNMo8sDq4w+icZnZKG5kD43KaJKvHT9X8nXda kq2vgPY7/v0an2FEppXNNdZ39Cxjd4iyKjeP/5d/fiOlaJQLHTuOEqC2CpbMbZitaB2y KzcDstf4Rzwk4NgOeD/VDztxKIsCGKt/QYWZI7/zHPZCmH0VhciRZjURRkOEmLZOgM9s R/PMAURvRoxcZJAanL/TdwYth1ORSWDslJUVnx+xqZ3J0YPU5yAk6ijW6jDgS+PIq5SJ DeGg== X-Gm-Message-State: AHQUAuZISFudG1e/JafRJtQEPFWxiwDXIsfI2S5Ifwl+eg6RX4F6iJte vi7eEka2iM4DSy60ytJdXBLUYg== X-Google-Smtp-Source: AHgI3IbW4eZ4PSEG6OMXvEyDow8gFmlqHoPShqVgICSkNax3h+8NXljNYO2fYKDgGUm+UxblAX9GyA== X-Received: by 2002:a1c:c441:: with SMTP id u62mr2202451wmf.69.1550042838527; Tue, 12 Feb 2019 23:27:18 -0800 (PST) Received: from dell ([2.27.35.171]) by smtp.gmail.com with ESMTPSA id n9sm12417168wrx.80.2019.02.12.23.27.17 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 12 Feb 2019 23:27:17 -0800 (PST) Date: Wed, 13 Feb 2019 07:27:16 +0000 From: Lee Jones To: Christoph Hellwig Cc: iommu@lists.linux-foundation.org, Greg Kroah-Hartman , x86@kernel.org, linux-snps-arc@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-mips@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-sh@vger.kernel.org, linux-xtensa@linux-xtensa.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 06/12] dma-mapping: improve selection of dma_declare_coherent availability Message-ID: <20190213072716.GC1863@dell> References: <20190211133554.30055-1-hch@lst.de> <20190211133554.30055-7-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190211133554.30055-7-hch@lst.de> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-mips-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org On Mon, 11 Feb 2019, Christoph Hellwig wrote: > This API is primarily used through DT entries, but two architectures > and two drivers call it directly. So instead of selecting the config > symbol for random architectures pull it in implicitly for the actual > users. Also rename the Kconfig option to describe the feature better. > > Signed-off-by: Christoph Hellwig > --- > arch/arc/Kconfig | 1 - > arch/arm/Kconfig | 2 +- > arch/arm64/Kconfig | 1 - > arch/csky/Kconfig | 1 - > arch/mips/Kconfig | 1 - > arch/riscv/Kconfig | 1 - > arch/sh/Kconfig | 2 +- > arch/unicore32/Kconfig | 1 - > arch/x86/Kconfig | 1 - > drivers/mfd/Kconfig | 2 ++ If everyone else is happy with these changes, then so am I. Acked-by: Lee Jones > drivers/of/Kconfig | 3 ++- > include/linux/device.h | 2 +- > include/linux/dma-mapping.h | 8 ++++---- > kernel/dma/Kconfig | 2 +- > kernel/dma/Makefile | 2 +- > 15 files changed, 13 insertions(+), 17 deletions(-) -- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog