Received: by 2002:a05:7412:2a8a:b0:fc:a2b0:25d7 with SMTP id u10csp376948rdh; Wed, 7 Feb 2024 07:21:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IEKOnJoRwH/ZnI5NG5jlKUuZKL9zsrmrYvfcVbzrpRwfkKFz/E65loLVYKdOQ2pjpN0Zhg8 X-Received: by 2002:ac8:747:0:b0:42c:1cc3:fb31 with SMTP id k7-20020ac80747000000b0042c1cc3fb31mr5300475qth.15.1707319287991; Wed, 07 Feb 2024 07:21:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707319287; cv=pass; d=google.com; s=arc-20160816; b=QsUXpQJAM/+tk5RtFHoLGBy8G3i2ko4Hg306zV94RFcIJJRxrp4Tri5tbR05Y70f+4 tOrCa11fsgEYhm3UADjw72vqUaFGv8gMQ9n3jd/13q4UZ2SXBCG51LXCrmCuj+gcloLU Ig7MEYifpKnCJyKj5ZFCq6XL9qaGPJFIZuI+zd615MeXl0xD5w14c7Qx1ldJN0UXiQF7 ElLozF0lCAGZuo8wyDndm4Au7FJJzrX0TlBZYYmwYCGASMqSzeiaVTGP0hRzWFh57DcO vSvjk7+gqMD074tPVaIiMbL2ruocaBdOsOLalnXmb8m4G227Eek+e8Sq8Vt+Fxw3uaHc tPlA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:subject :references:in-reply-to:cc:to:from:dkim-signature; bh=DAu1cpIP2outIQrfR7n6SiOw02OfesSjX9CP59IScjU=; fh=72qZRPQv5bhMenYAMK2VZ8B7lXtnor1djd9/p9TT34M=; b=S7xqTJSHljxNkxATOn4HLHFhV47m8PyfJZ+NQ/k2Uex4U3Xb2HB6ATP8HsBF7ZiTAB /c86laFXPNPPoTsAlv1KPSNjZNYwqozB3RzdFdm3MhoDA8F5+cUh/ZNJ6ae4RTl9Ok8l 5LhZ7W0yYfUGS5UMOvmx9S8mnLB8sX1iGMTAXHUAWiK/zssmj8fYt7txbe/FVbW6uqtP D7PwlJ8+sBv0UR/2Wz2MTS8o6p90hGxQrVHOeF/HHJ5Y5Cj7vaMel5QNp9Z3QZvZIrfj Isdt886RNBnWHiEDzlBpUzf02kjDsPUJA82WrBmideX/9CeK00ztPsvIfxpG2UYMB0bm bQWw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AqBteE4V; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-56705-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56705-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCURye5IppUGxt4qalns913Is6T6cy8Mst6QvKvxqeD7pBWq8lFhBQChFuYGyJqCBXH2Ys0Uv2YiSNOSnOI9PmV27EyS3gYotdNQXWluVA== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 2-20020ac85902000000b0042c1bc6987bsi1287319qty.59.2024.02.07.07.21.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 07:21:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-56705-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AqBteE4V; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-56705-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56705-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id B9F911C24EB0 for ; Wed, 7 Feb 2024 15:21:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 15B837F7D2; Wed, 7 Feb 2024 15:21:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="AqBteE4V" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 396DD7E77F; Wed, 7 Feb 2024 15:21:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707319278; cv=none; b=bGLlLos8D9i1BBhrs+ZyELKdmeMvOc2ysbK5WuxNwESS14WQPHcxqcF0c2eJ/YI5DwM0sDy3qjdpsbZuqNuCtavifh34Ugms32TdyG3hkJBbpdkrFClx9fHH179L6rPZzz4TI18RenjIdr/sBRZdzgQEG+RqAchX1o5uP6gPmAs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707319278; c=relaxed/simple; bh=G/nJs42QSxBHIw7VLRbyxA32VFnZ1LCXl9jq296Ee+M=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=aaI/dDbaH35HCbrpiEaMz63yjUUSahf4avTUqh2P/SA1ycKUSgse7aPlshetHel2ojeihHalrUYieHtORqqDU//hcc0HXgEivcpJFh8BiLNhKpWQhFVPTsSkhJUOMzoSAApf7zZMbZ4zNe/LT4fmL8yiJsVc7tNpobZLcwZ24Js= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=AqBteE4V; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 22D03C433C7; Wed, 7 Feb 2024 15:21:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707319277; bh=G/nJs42QSxBHIw7VLRbyxA32VFnZ1LCXl9jq296Ee+M=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=AqBteE4VCBRnqMDjHLeEAuRUl6X5DlM2b4SEZk9IcJs68QVblBkvEamDC1UWi1CzI /TtyxHBeuFAW6vLpHOE082b4T/AfZ5nTX/FTMmcAs1vrsIat5LCraku5cprtFu6WKf PUIIS/1Si9Uc2wqccagfZ6kLudgtfkfpzr5TnwQZCYccwVjPZoYKps3Af+X76kf20m nNyUt+Uxy4lwljpPrhGXvKinxKkTmnMEYdH6utj98d9RrRiPVis3eNxL0tm7TkSYG/ 3sFqPDMEdiVvYdp8rog+GKYWfV3jkfNiR+pAswVMuGx82NhWYvqYH5zEiXaCo/yW4j naOiat9SGYTYg== From: Mark Brown To: linux-spi@vger.kernel.org, David Lechner Cc: Alain Volmat , Maxime Coquelin , Alexandre Torgue , linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org In-Reply-To: <20240206200648.1782234-1-dlechner@baylibre.com> References: <20240206200648.1782234-1-dlechner@baylibre.com> Subject: Re: [PATCH] spi: drop gpf arg from __spi_split_transfer_maxsize() Message-Id: <170731927648.1061486.14426168465610494014.b4-ty@kernel.org> Date: Wed, 07 Feb 2024 15:21:16 +0000 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.13-dev-0438c On Tue, 06 Feb 2024 14:06:46 -0600, David Lechner wrote: > The __spi_split_transfer_maxsize() function has a gpf argument to allow > callers to specify the type of memory allocation that needs to be used. > However, this function only allocates struct spi_transfer and is not > intended to be used from atomic contexts so this type should always be > GFP_KERNEL, so we can just drop the argument. > > Some callers of these functions also passed GFP_DMA, but since only > struct spi_transfer is allocated and not any tx/rx buffers, this is > not actually necessary and is removed in this commit. > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [1/1] spi: drop gpf arg from __spi_split_transfer_maxsize() commit: c0c0293cf7a0f21ef461956d44e4add718574f3f 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