Message ID | 20230612153201.554742-11-catalin.marinas@arm.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id A57C9C7EE2F for <linux-mm@archiver.kernel.org>; Mon, 12 Jun 2023 15:32:57 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 361EE940007; Mon, 12 Jun 2023 11:32:57 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 311A78E0002; Mon, 12 Jun 2023 11:32:57 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 1B3CB940007; Mon, 12 Jun 2023 11:32:57 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id 0C2B78E0002 for <linux-mm@kvack.org>; Mon, 12 Jun 2023 11:32:57 -0400 (EDT) Received: from smtpin02.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id BEA77A029F for <linux-mm@kvack.org>; Mon, 12 Jun 2023 15:32:56 +0000 (UTC) X-FDA: 80894488752.02.BA53C1F Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf05.hostedemail.com (Postfix) with ESMTP id 7772810000D for <linux-mm@kvack.org>; Mon, 12 Jun 2023 15:32:53 +0000 (UTC) Authentication-Results: imf05.hostedemail.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=arm.com (policy=none); spf=pass (imf05.hostedemail.com: domain of cmarinas@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=cmarinas@kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1686583973; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=bcQNhX6sCx2xBmy5xR9JctGZhUOcAA0mG4HoiKwBkGs=; b=q5rLIhHvAQdc2DpQOrMiF7L7+eEg8Zd7r/VGx9sdQe4xAIl/QI81PNsVRAMpt8rijjW4cR kS47m/hoMvpjbdw1c6PKv3upBx0aG7pJHIrkGcSuIBwAlZ26t0XjDSCsOiS4v81TcpC4Aa lX5Q25h/CNUagaZ5zC0QsN2GPCYpPAU= ARC-Authentication-Results: i=1; imf05.hostedemail.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=arm.com (policy=none); spf=pass (imf05.hostedemail.com: domain of cmarinas@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=cmarinas@kernel.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1686583973; a=rsa-sha256; cv=none; b=7/pSDTLotyr7/ol/D52XBz7Sut5Zk0wo+jbIfpBEJWqq7o8dgt5bJ7iK8sBy1wn+QJlGY0 2327FGTbAqVrUGrP4/swQJuoYzv46l8JjoN1GOqOShAvFhZTrXOJb0R8uoUMiDW7xnQ9qb 71iu+tZ0g5RPh8xEtsUqyNmyBoermWE= Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 9030C62AC4; Mon, 12 Jun 2023 15:32:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A922AC433AA; Mon, 12 Jun 2023 15:32:47 +0000 (UTC) From: Catalin Marinas <catalin.marinas@arm.com> To: Andrew Morton <akpm@linux-foundation.org>, Linus Torvalds <torvalds@linux-foundation.org> Cc: Christoph Hellwig <hch@lst.de>, Robin Murphy <robin.murphy@arm.com>, Arnd Bergmann <arnd@arndb.de>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Will Deacon <will@kernel.org>, Marc Zyngier <maz@kernel.org>, Herbert Xu <herbert@gondor.apana.org.au>, Ard Biesheuvel <ardb@kernel.org>, Isaac Manjarres <isaacmanjarres@google.com>, Saravana Kannan <saravanak@google.com>, Alasdair Kergon <agk@redhat.com>, Daniel Vetter <daniel@ffwll.ch>, Joerg Roedel <joro@8bytes.org>, Mark Brown <broonie@kernel.org>, Mike Snitzer <snitzer@kernel.org>, "Rafael J. Wysocki" <rafael@kernel.org>, Jonathan Cameron <jic23@kernel.org>, Vlastimil Babka <vbabka@suse.cz>, linux-mm@kvack.org, iommu@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Jonathan Cameron <Jonathan.Cameron@huawei.com>, Lars-Peter Clausen <lars@metafoo.de> Subject: [PATCH v7 10/17] iio: core: Use ARCH_DMA_MINALIGN instead of ARCH_KMALLOC_MINALIGN Date: Mon, 12 Jun 2023 16:31:54 +0100 Message-Id: <20230612153201.554742-11-catalin.marinas@arm.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230612153201.554742-1-catalin.marinas@arm.com> References: <20230612153201.554742-1-catalin.marinas@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 7772810000D X-Rspam-User: X-Rspamd-Server: rspam04 X-Stat-Signature: hx9zfic47j5ju18gz1xkt9ne4gjc43g7 X-HE-Tag: 1686583973-769246 X-HE-Meta: U2FsdGVkX1+X9WjYu+sG7ZzJJ1Owm2GLW0JyM8wv8AcA5kz9S96tNu7E/+z0lDJoIMMYVXPOfnH/YQYOGWfk+q7Cp+I4hsrmLB9yzYRUGpR3pRKNyvWrc3WlPQJbs4AqRJxmHOalULXhNhJ1hZk2/3wTsfjFdKpXrwk1AHmGlwwU2gusWmmfCb+xmjTEM/Vr2zEcesBnClBH6WaL9e4TsQIPE/b8h9us71WFtvm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dnnP2/I8t5/DTj0yAZ2m3ENU+Sagg5R0iuYq8emrj+6JFtTranNSHhlkGHMjbsfMdn56M9/weYky1XBCBqZkIrC/fP6XfkHqFjwpj+AglDPV1OIRhtecgVDEoxm26VStXmXDmjYjc1LHjCpRQzmOnw2+hFQfE3Us1vCovIFxiMumkoxMKCgRNMaeMZw1kk5mu9fxxOX9nuqrKc1YLhTaXF8AtTQydi4M1SsppLQsAVj7AjeGjWFXrfZE/g== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> |
Series |
mm, dma, arm64: Reduce ARCH_KMALLOC_MINALIGN to 8
|
expand
|
diff --git a/include/linux/iio/iio.h b/include/linux/iio/iio.h index 81413cd3a3e7..d28a5e8097e4 100644 --- a/include/linux/iio/iio.h +++ b/include/linux/iio/iio.h @@ -722,7 +722,7 @@ static inline void *iio_device_get_drvdata(const struct iio_dev *indio_dev) * must not share cachelines with the rest of the structure, thus making * them safe for use with non-coherent DMA. */ -#define IIO_DMA_MINALIGN ARCH_KMALLOC_MINALIGN +#define IIO_DMA_MINALIGN ARCH_DMA_MINALIGN struct iio_dev *iio_device_alloc(struct device *parent, int sizeof_priv); /* The information at the returned address is guaranteed to be cacheline aligned */