Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp843717pxb; Fri, 22 Jan 2021 00:03:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJwDbPlGvvXmnox5Juhxr8PR1ZiDHDLxI2eKlgQzYMRnmoQTMedvU1LNWG0YKEZNQ1vQLiXy X-Received: by 2002:a17:906:1a0c:: with SMTP id i12mr2218026ejf.325.1611302627637; Fri, 22 Jan 2021 00:03:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611302627; cv=none; d=google.com; s=arc-20160816; b=Vq0SlS83C66PHkTReieE3XbhNxY0LxVV6qnjoiduvuBIZ6cvgp/Mmuex+JGQAA8/JI r7YIUwAyJSBR3gRx8IztncU9hm2EZsap6hN1yko0xKPfXMnU3AP46KxgNMuoxIfVDRuX Pm8d2C0FxryteLFfk5tteWrsujuUV9g6q5WreMMo0ypRExjSNgtDsNnTwcvFTU95iiid tCNumqdCLXy1m/SvYCQTB8biIJwSq8CPAykQBfgSF0phoe1LYv82vtcJz6E5RjB6yBYd OLPr7O9I4Z7moC7zZRwUMRNyUt7ZzZ8FLdKgGwa6fTX2jRlUL9Kqb+s0H110U1spcdtD gi9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=DIm7NQwEZ3rnfsvD3N/g37yd5G2No6xvpy31Hmlr4H8=; b=PH87rJVuBWZc302hBZaPPhAXW8h6MO++71q7N4zkAqSChQAUF7cy4zLQbOfKtxhSww TxZhWovzhWKiCqEdGOni5a5KWey8ug2bTY+odlWubq+vrDXNsjkSa/YYKXT3UpdwMH3b 17eOYcbRIajXPuie1nxHEK1IxgZYtMz+6spEtXGXY7WkTqeKBpywa/De+m7XlwOK7vGY wKIi1pnoU1h0yE1LZvD//oix6isl/FQJevEo3ZyJ+Atyw6vk0pRySzby0WlFZ3RP8Ffo an9rIGu4MY8jdBUAPKYQx8HG7qQB2LSskgXvm9IOPdRV3ol8aLi6OUNamlR9+qjG3pZ0 rKyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=NInGt31M; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u8si3294984edj.434.2021.01.22.00.03.23; Fri, 22 Jan 2021 00:03:47 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=NInGt31M; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726795AbhAVIAg (ORCPT + 99 others); Fri, 22 Jan 2021 03:00:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726351AbhAVIAW (ORCPT ); Fri, 22 Jan 2021 03:00:22 -0500 Received: from mail-qk1-x72c.google.com (mail-qk1-x72c.google.com [IPv6:2607:f8b0:4864:20::72c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7FA66C06174A; Thu, 21 Jan 2021 23:59:34 -0800 (PST) Received: by mail-qk1-x72c.google.com with SMTP id d85so4348456qkg.5; Thu, 21 Jan 2021 23:59:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=DIm7NQwEZ3rnfsvD3N/g37yd5G2No6xvpy31Hmlr4H8=; b=NInGt31M9KgfwdgpdBCt6bYIzP5ypGhaDiKlNMyGNrHPtifcaAHragfp8pumn7QE+L LLBsliHRcE35JdzFfg3mUqDQe23u38VpG332V6eTsTE2dCLPuZ6R0bPiIyOlr6HQ8B9T fYhMQvED7Oxl5TKnjLXhNYLDGmu4EgZkCdh3gJwoFSl4quUUUxKcR4ieC57dVairym0T lg5oyELO0hpC4mUBZ6ptHEieiHU/DfeS+sAEeyCZb8dBvM1g+Z5rhcdw53BNRllfYH+I Ngl/qfBJPiRRnTFCFAmptCXU3y+UK7YCAF7bHZOTBUB1TtUvXpjWwtUaqbY1+qDgKK5E aixQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=DIm7NQwEZ3rnfsvD3N/g37yd5G2No6xvpy31Hmlr4H8=; b=g5zU7AhBexglxk5N8t9+bDbJfwAzwQZs0ofyuGs1xZrdeglis9LI5Q0VkIw2u5nUan 1FAydaBssdtK9ni5elQVWtIh85seFuZaETAXvB8GZhtkcKEoj34bJLBAKTUOg66fcDCv VFmJU5cqD5Nz865J+Who75/WXnPczWCP6a5hhXeenXCx0MjRU3bwZiZE18Tb6vpZOzGk boxkYrqxHrWogPpvI+bnimN9Yz0oxMJhYStnyG0NOXv7OaxLY4VIv1I7DXdUqwey9qQs t8h3YpxhSCXPXhPvGmfaTBoy4TIVrNsBLzRxrIjnwjcgMrQ4m57uOeCOb1dbejxMlHvf ZaHA== X-Gm-Message-State: AOAM533PC19+vyocaLXt1gPKbKySm0wSI44oMCezTWLLQmO8mV0VOFfT GpXeYC6JWlk9GRMF4oC4Y9m1Eyp5n+KLCM4PA+Y= X-Received: by 2002:a37:2e87:: with SMTP id u129mr3603479qkh.344.1611302373507; Thu, 21 Jan 2021 23:59:33 -0800 (PST) Received: from [0.0.0.0] ([2001:19f0:5:2661:5400:2ff:fe99:4621]) by smtp.gmail.com with ESMTPSA id u7sm5542883qke.116.2021.01.21.23.59.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 21 Jan 2021 23:59:32 -0800 (PST) Subject: Re: [PATCH v1] can: mcp251xfd: use regmap_bulk_write for compatibility To: Marc Kleine-Budde , manivannan.sadhasivam@linaro.org, thomas.kopp@microchip.com, wg@grandegger.com, davem@davemloft.net, kuba@kernel.org, lgirdwood@gmail.com, broonie@kernel.org Cc: linux-can@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org References: <20210122030214.166334-1-suyanjun218@gmail.com> <7007275e-a271-8160-729b-67e4d579dfe2@pengutronix.de> From: Su Message-ID: Date: Fri, 22 Jan 2021 15:59:22 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <7007275e-a271-8160-729b-67e4d579dfe2@pengutronix.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 在 2021/1/22 下午3:26, Marc Kleine-Budde 写道: > On 1/22/21 4:02 AM, Su Yanjun wrote: >> Recently i use mcp2518fd on 4.x kernel which multiple write is not >> backported, regmap_raw_write will cause old kernel crash because the >> tx buffer in driver is smaller then 2K. Use regmap_bulk_write instead >> for compatibility. > Hmmm, this patch will never be backported to any 4.x kernel, as the driver is > not available on these kernels. You have to carry patches for these kernels > anyway, so I think I'll not take that patch. Sorry. Drop me a note if you are > interested in updating your kernel to a recent v5.11 kernel. I got it. I have already port it to 4.x kernel. I just want anyone working on old kernels to use the driver more easier. Thanks. > > regards, > Marc >