Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp1009307rdh; Fri, 27 Oct 2023 01:54:38 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHLQrwfhTYFRvMIaTZAfiUhxgCyrTKvnnC+SIOLfxvlsrsj/5KQStLOxkonJN/XKgBmcuT9 X-Received: by 2002:a81:a8c3:0:b0:595:89b0:6b41 with SMTP id f186-20020a81a8c3000000b0059589b06b41mr1951664ywh.38.1698396878204; Fri, 27 Oct 2023 01:54:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698396878; cv=none; d=google.com; s=arc-20160816; b=eRsPDlFMZq1jXuuufMm1jxT8jC1j5cWy6/sjTfROb1juujXsTrvw6IeCIh9Af4/at3 u/1PBCjlSuJRij59uDphVpWN0z3yFmwzy4QpInt3zKZedzssws76X6Q6ctjSpmo1k2O4 S5RdR/BTEysdP+ZVZ0u9OKCVfBXqc00FtZ2HrTBjJ2Czcr1BPuGx3j7qpAeIAXb0HIks 8hBPHeGKew14mgjvflF6HK3n/k1WLtbw9y9jVI745NQZYWp9c4dZl7B66rBkkPbpIvdR otC1+WOtEZL1ifZUcSKn8l+LVGTY9NhZXtpK6VpTtf+DBVlXTADwvA3HQERIWo9IHGFM ZCxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=4HWagSQ1eXKCEbjkHEBHqUqeG60b9wt7K5qNaoagfKk=; fh=rIiOsBplQTRKaeOPzLbRxC3ku6+P0Tk9B5ZeFBm979Y=; b=gr7JzzecFDRABdL3/ofLSNypVXO6FhAk8WiA0Kepw+tblZcFfD3J2CcslzMJhdA74o mRaFW4pL40Ej0zRYQMYq4Jeq/7jKBFlPZ+HKEkzVxn+dMvX7nD2W3Ilgo1VZWA9DF+ZI oReSSUDz5HIljxkpLInHuN/T5u9Dv6vbp6t+qFtay8wACeq0V6jphkGwF+mqhONALaXT VRBp3WQvZO4uU0AcaaVdGxJBUCtOsN5F/4v/09nF0yQ7BHH02udaJvYz59Y3Uf69kGzW XvXf1gBcPYwxw3orPAFSJbvcTJO7l339/7xFSoNcBQwxLT6E4svuyd1l06RZEYc2QnoE 36sw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=sKC9uYsW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id y7-20020a818807000000b0059f554e7da4si1592786ywf.232.2023.10.27.01.54.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Oct 2023 01:54:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=sKC9uYsW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id C624C83037E3; Fri, 27 Oct 2023 01:54:32 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345749AbjJ0IyX (ORCPT + 99 others); Fri, 27 Oct 2023 04:54:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37068 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235235AbjJ0IyI (ORCPT ); Fri, 27 Oct 2023 04:54:08 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 948111BFF; Fri, 27 Oct 2023 01:44:18 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A51EEC433C8; Fri, 27 Oct 2023 08:44:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1698396258; bh=wgzu0sG0HQO9abh+06GqmHlYhzIzgF0rR09STDXJa+Q=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=sKC9uYsW/bygDHiEZEB5iEiorIx1ZqWEw279MJv5UJ5LmBxjcaf8XCdC9GazMUgp3 CGtlsyVRIE08rrKs+xrLmXmChuAA2xh57s24KwBTpV8elZ5Jg0l96RZzjXYcV8SyRD a8Uxmqfu9WfdXSckJHEQAZbyeHHFUSnz/jIRfH5Y= Date: Fri, 27 Oct 2023 10:44:15 +0200 From: "gregkh@linuxfoundation.org" To: Ricky WU Cc: "arnd@arndb.de" , "linux-kernel@vger.kernel.org" , "ulf.hansson@linaro.org" , "frank.li@vivo.com" , "u.kleine-koenig@pengutronix.de" , "yangyingliang@huawei.com" , "linux-mmc@vger.kernel.org" Subject: Re: [PATCH v3 1/2] misc: rtsx: add to support new card reader rts5264 Message-ID: <2023102726-voucher-chimp-d798@gregkh> References: <121ced554a9e4f4791018e8f6a72d586@realtek.com> <2023102153-paramedic-washboard-29e3@gregkh> <2023102514-unleash-italics-37ae@gregkh> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Fri, 27 Oct 2023 01:54:32 -0700 (PDT) On Fri, Oct 27, 2023 at 08:25:06AM +0000, Ricky WU wrote: > > On Mon, Oct 23, 2023 at 03:31:24AM +0000, Ricky WU wrote: > > > > > In order to support new chip rts5264, the definitions of some > > > > > internal registers and workflow have to be modified. > > > > > > > > That is fine, but that should be a single patch, right? > > > > > > > > > > Sorry maybe about misunderstand, The modifications mentioned here, it > > > talk about some judgment expressions add "PID 5264" to make judgement > > > in rtsx_pcr.c, so only about 30 line modified in rtsx_pcr.c > > > > > > > > Added rts5264.c rts5264.h for independent functions of the new > > > > > chip rts5264 > > > > > > > > And then add new support in a new patch, this is still too big as > > > > one patch to attempt to review it properly. Would you like to > > > > review this as-is? > > > > > > > > > > Yes, thank you > > > Because rts5264.c rts5264.h only for rts5264 (new chip). > > > The past architecture of this driver was like this, and it will good > > > for us to maintain the driver different chip maybe has different > > > functions and register definitions we used to separate different .c .h > > > > Sorry, I don't think I was clear, this needs to be broken up into smaller pieces to > > be able for us to review it properly. Please do so and resend a new version of > > the patch series. > > > > Hi Greg k-h, > > I want to confirm with you first > I will have a new version for this patch, separate it into: > 1. 2 new file and Makefile for new chip function and definition > 2. rtsx_pcr.c and rtsx_pcr.h for driver judgement to call new chip function > 3. mmc part > > It is ok for you? That's a good start, try it and see what that looks like. Again, create patch series that you yourself would like to be able to review. Take some time to think about the reviewer's side of this as that's the most limited resource we currently have. thanks, greg k-h