Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp4698889pxb; Mon, 28 Mar 2022 01:30:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwe+Xm1SQbr8y5sYpQytsWe2sJOry/ur4ehmAF7tgnXYbTFwrMSf4yPTe38NaZ4ppkM5REv X-Received: by 2002:a63:5366:0:b0:376:6e72:e9ff with SMTP id t38-20020a635366000000b003766e72e9ffmr9433737pgl.1.1648456226220; Mon, 28 Mar 2022 01:30:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648456226; cv=none; d=google.com; s=arc-20160816; b=HjUT8NnODhm0R666CsgU0poG/xfbhzxMk2fkAgL9PwwjEljYekLbKrVaBU1xAvUEMW R1FGAUJrtQXKjTUkjWtl/E3i4c5BB4UCrPnMcFoHr2m+RFof0HsoPGnrxS42aZ+m4eOo 1xoP6Hb4SePHAHELqhYvgeLSapOyC17zvlZIGm98Of3COwknxK8eu0ryXganAETgpM9t +urpAyh22EaFFM/3a8IdwEm0fdO7RJgnlAr6dKMe5+fvtI42okKh4Zc5a/rvAWCJTieZ 5o538ZZLBFWZ80BjCDigz/jrWpBXmA5kMAf8lPxnkBuKDXqwZgxl2vCMKZcoGyOTW3DG 3Aug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:user-agent:references:in-reply-to :subject:cc:to:from:date:content-transfer-encoding:mime-version :dkim-signature; bh=KxoefHxHBWO4b2r56J13guP4925DtgDpQm/mM3H3NHE=; b=grqheoTDY1k8e94tlHpsVunq9y0/F99fn8jTnyIHg4s5LmDWBUcilq95GBopOXPTp/ M3t17hNMDD39yebL2DkpM027xsH5/rC5Ek3oAnDOVEuYgyeDAR05yfnJjlDQBNTMNIIY W6ZxjPrWnsZxH+PRV9l+HC2oEkVDP3pabjUO3dEniidZyT1iJp6CY0wPjR3olqOA2VW9 uEyLQQrFtmyPTrMXPm30IpNYmntfdXyrvbMwCT2E0dwcbvDJvtJJ/rths3+oI9WykhDO UBtOPzxeuChmXtiebV6GK+FQ6A+iEZrv2IIuWchnYJFu4p5zOnuSa9Upr9FA/dzoDts5 FXfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=tuCU6rLP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n6-20020a170902e54600b00153b2d16528si14396188plf.304.2022.03.28.01.30.13; Mon, 28 Mar 2022 01:30:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=tuCU6rLP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238844AbiC1HhT (ORCPT + 99 others); Mon, 28 Mar 2022 03:37:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48302 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238832AbiC1HhR (ORCPT ); Mon, 28 Mar 2022 03:37:17 -0400 Received: from ssl.serverraum.org (ssl.serverraum.org [176.9.125.105]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 32AF152E08; Mon, 28 Mar 2022 00:35:36 -0700 (PDT) Received: from ssl.serverraum.org (web.serverraum.org [172.16.0.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id 996C322205; Mon, 28 Mar 2022 09:35:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1648452932; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KxoefHxHBWO4b2r56J13guP4925DtgDpQm/mM3H3NHE=; b=tuCU6rLPvYS4HLC6WvfjKQhqUDH665lXMWAlcV1ZvVcUAxENEnflPFcNuuyc8aht4cF0vD 529FsUN8ktrT/KN6OUFARNq6IWFO3IOSOrMfmo/KVQdtdMYJgCPuDK23RHAPYVTLxUtwJA nX3RJqpEHGTwMkah0v+hJrkIuvorQTU= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 28 Mar 2022 09:35:30 +0200 From: Michael Walle To: Codrin Ciubotariu , Nicolas Ferre , Alexandre Belloni , Claudiu Beznea , Sumit Semwal , =?UTF-8?Q?Christian_K=C3=B6nig?= Cc: linux-i2c@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org, stable@vger.kernel.org Subject: Re: [PATCH] i2c: at91: use dma safe buffers In-Reply-To: <20220303161724.3324948-1-michael@walle.cc> References: <20220303161724.3324948-1-michael@walle.cc> User-Agent: Roundcube Webmail/1.4.13 Message-ID: <5673a4be5ac51d19529366c48afceb8c@walle.cc> X-Sender: michael@walle.cc X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, Am 2022-03-03 17:17, schrieb Michael Walle: > The supplied buffer might be on the stack and we get the following > error > message: > [ 3.312058] at91_i2c e0070600.i2c: rejecting DMA map of vmalloc > memory > > Use i2c_{get,put}_dma_safe_msg_buf() to get a DMA-able memory region if > necessary. > > Cc: stable@vger.kernel.org > Signed-off-by: Michael Walle Any news here? > --- > > I'm not sure if or which Fixes: tag I should add to this patch. The > issue > seems to be since a very long time, but nobody seem to have triggered > it. > FWIW, I'm using the sff,sfp driver, which triggers this. -michael