Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp434293ybg; Tue, 28 Jul 2020 09:33:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwGYo728RYo4tU4aIgyc4aiz2hEEE94zOFgBJotNcN2QzDWWqgxoIWdsgkVkTE5AVDKuRy3 X-Received: by 2002:aa7:dcc8:: with SMTP id w8mr27719302edu.305.1595953993024; Tue, 28 Jul 2020 09:33:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595953993; cv=none; d=google.com; s=arc-20160816; b=uD7yMI39aozDMFjxiSWGkJBeyt3QfinE6S5hJdQbTXHE5jsUhvvXn/o0bZcXCIzULH IQ9lQMkIDHhO5mIf8rKSZxei0jT2j3FQ/uQEocaSLu6uck25HfwmTEjL/wTT04q67MMg O0FD1sxzRfkHC5K2bR6DKM1Iu5N9fpSXIYalabQKpAb0xU+BioaYNEbahQ0VvFhsukJs A4OpUY489LpOU/BlFdvODB6mNWk9wvGVtd6LOjgNywSq9zJZ2NoGh9/Q/GLg7t7UADz7 Fp5QQ/MVx1LS6rvi5w7vv0XVMfh+NQ4OsgsVvNGtioBPbdro76mewqGP8Dw5S5lnY6gl BDsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:subject:references:in-reply-to :cc:to:from:date:dkim-signature; bh=KYXJSUFH57NC+R4ebG6nR57aUkD3vnVPET+Y6ROs5hI=; b=qxKSNsNuuOYbOkc0XPE/W8ZiDMheDw8AUEPlQXcQs/vkizlePQe00xg3u0qzFeHR2p rA/4eJnPmdVSG6l0Wz+uIuEVy9ZM01P6mouudwPCO4ay4IPlo6f6sHZg0qizZzui86iR n4FINbpqEqqe/akeU7KSVKjRYXcPbx0TRa9qoim0n2TYaMzk43D0eq5WRPyJspMoxd7S DhCS3bg/lzaMN9oDkE48FOLX9/Hz8LzMvKDHrv9nfUUZjaUoPYp0k0o5HjtKgeyjFmlU Qt6tlz2jjh6/FlW8P0wccUtDdgCZ+aXy6S7GFFvcu2wDqPwdmch2ejAxrFC8ORdTJoh9 YthQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=dmimmK7q; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y9si3493985edm.246.2020.07.28.09.32.49; Tue, 28 Jul 2020 09:33:13 -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; dkim=pass header.i=@kernel.org header.s=default header.b=dmimmK7q; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731455AbgG1Qbw (ORCPT + 99 others); Tue, 28 Jul 2020 12:31:52 -0400 Received: from mail.kernel.org ([198.145.29.99]:47546 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731450AbgG1Qbw (ORCPT ); Tue, 28 Jul 2020 12:31:52 -0400 Received: from localhost (fw-tnat.cambridge.arm.com [217.140.96.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5247C207FC; Tue, 28 Jul 2020 16:31:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595953912; bh=P4Av0vatTuW3dIpD4sg/Elju5zXKvaEg+tC7WacAyII=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=dmimmK7qJ2DIMxYDyJpSgAwS4DQSzCGUmBQ1eIpG62ANy/wbC5Jb/8LpVCpHt136e CVLkSpLEA3uSzZrWDs++9rOt+EIx3nZmH/L+GNRdrWyuDXQYARNwKwKr04XKIItMJ7 tx7xRHlFSQaE6NZKWYVftUydj7+qaLmMEiDtdNGc= Date: Tue, 28 Jul 2020 17:31:33 +0100 From: Mark Brown To: Christian Eggers Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, linux-spi@vger.kernel.org In-Reply-To: <20200728100832.24788-1-ceggers@arri.de> References: <20200728100832.24788-1-ceggers@arri.de> Subject: Re: [PATCH] spi: spidev: Align buffers for DMA Message-Id: <159595388006.15302.11430995371603179380.b4-ty@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 28 Jul 2020 12:08:32 +0200, Christian Eggers wrote: > Simply copying all xfers from userspace into one bounce buffer causes > alignment problems if the SPI controller uses DMA. > > Ensure that all transfer data blocks within the rx and tx bounce buffers > are aligned for DMA (according to ARCH_KMALLOC_MINALIGN). > > Alignment may increase the usage of the bounce buffers. In some cases, > the buffers may need to be increased using the "bufsiz" module > parameter. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [1/1] spi: spidev: Align buffers for DMA commit: aa9e862d7d5bcecd4dca9f39e8b684b93dd84ee7 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark