Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp11686653rwr; Sat, 13 May 2023 07:59:46 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7IMP/DMevTBAJDUlCq8zhnkjjeVcUt9lY5YzoKmhumGLq3SfeRX3E7UC/jJfjuIxaRj9PP X-Received: by 2002:a17:90b:1d87:b0:247:9d19:311f with SMTP id pf7-20020a17090b1d8700b002479d19311fmr28080967pjb.30.1683989986500; Sat, 13 May 2023 07:59:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683989986; cv=none; d=google.com; s=arc-20160816; b=lo1iaWXCSkMTZrb2QkSij112ox4S5lGJfjQE+9jDMERrHkXodecWIQzsg4sPnPGTiT c5N4VucZ5g2axsDGjKkjwQ+j0Q9b6GPBiKswrM5DdvryLRwhlu6xXHaqnbV/iHno4X+b uGELj5dHR70gJcxzb1dzF5PmgAnENLvQGE4ZSYHBO2R8jlYp+EITUbI6yMnpaysdTrKy 22gGY3Igfe9ixCdnXY2ONU21zq8F7WdzapxOPT3AxRvd0GEf521haseQHV9tKczQC4if +e+jDcmjLq9jbWyHRs65YpX5+x9szm0upFfXULF72/9B1lJmybf5xYXlo0KVrGna52H5 DAHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id; bh=VAvQe9+0i6KWVFpHn5kW3/Zmfan3wbxQr6xUOpMwWig=; b=T5kHDm7GmRTBMWwNYKbKRAF++nV2Uc2r42c31aDPNro+/8Y4Kp/f9MJFcxWp7txUdx OeyCsoNOT7TSE77mymzdJIPXtqrDYu/Lr7HyHfTTzEY1bZFk+eKhSWw41cYPfn8BiLPj uys4IRxeVNj+c3gerjMkCC8J4RH9PwgJFwttZneuD8GeZob71Qp/jGaGo5Se8KJE2pRQ G6wBIihWlYnAgXiWdxBqeLFFXHrKFC+tog2rrJfRqDVjO/2Xdqcl9PUMIb43te7MTegG IiZE0COcx8bE1qdHM4tGe5Y+O6a/keBBfsnWFivOUKSKPTsZ6XTds1xqYPiKXh3lrshB XxNQ== ARC-Authentication-Results: i=1; mx.google.com; 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 ls15-20020a17090b350f00b0022387a1f9a5si17312609pjb.134.2023.05.13.07.59.30; Sat, 13 May 2023 07:59:46 -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; 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 S234165AbjEMOqI convert rfc822-to-8bit (ORCPT + 99 others); Sat, 13 May 2023 10:46:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232082AbjEMOqG (ORCPT ); Sat, 13 May 2023 10:46:06 -0400 Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 943753A9B; Sat, 13 May 2023 07:46:05 -0700 (PDT) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.95) with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (envelope-from ) id 1pxqVR-003IIv-Jq; Sat, 13 May 2023 16:45:57 +0200 Received: from dynamic-077-013-140-028.77.13.pool.telefonica.de ([77.13.140.28] helo=[192.168.1.11]) by inpost2.zedat.fu-berlin.de (Exim 4.95) with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (envelope-from ) id 1pxqVR-000xpB-D8; Sat, 13 May 2023 16:45:57 +0200 Message-ID: <750f11848a647831ccfd1284ad0a8dd540c8f886.camel@physik.fu-berlin.de> Subject: Re: [PATCH 1/2] sh: dma: fix `dmaor_read_reg`/`dmaor_write_reg` macros From: John Paul Adrian Glaubitz To: Artur Rojek , Geert Uytterhoeven Cc: Yoshinori Sato , Rich Felker , Rafael Ignacio Zurita , linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org Date: Sat, 13 May 2023 16:45:56 +0200 In-Reply-To: <309305917494c5a6c7cfb7ecb8bbf766@artur-rojek.eu> References: <20230506141703.65605-1-contact@artur-rojek.eu> <20230506141703.65605-2-contact@artur-rojek.eu> <65f873585db0cd9f79a84eb48707413775a9ba5b.camel@physik.fu-berlin.de> <2f73b2ac1ec15a6b0f78d8d3a7f12266@artur-rojek.eu> <309305917494c5a6c7cfb7ecb8bbf766@artur-rojek.eu> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT User-Agent: Evolution 3.48.1 MIME-Version: 1.0 X-Original-Sender: glaubitz@physik.fu-berlin.de X-Originating-IP: 77.13.140.28 X-ZEDAT-Hint: PO X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,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 Artur! On Sat, 2023-05-13 at 13:41 +0200, Artur Rojek wrote: > Yikes! > If this series hasn't been merged yet, perhaps we could fix this issue > in v2. I have something like this in mind (untested): > (...) > Otherwise, I'll send it in separately. Of course we'll also need to fix > `SH_DMAC_BASE1` so that it's set only for SoCs that feature two DMAC > modules... No worries, nothing has been merged yet. For one, the merge windows for 6.4 has been closed and I also haven't merged your patches into my tree yet. Please take your time to spin up a v2 of your patch set and test them properly. Maybe you're also interested in the clean-up that Geert suggested in this thread (ordering of the CPU subtypes and capitalization issues)? Also, can you write "processor manual" instead of "PM" in the other patch as well as don't use backticks for the macro names? In fact, I would suggest retitling the subject to: sh: dma: Fix dmaor_read_reg() and dmaor_write_reg() macros Oh, and I will retest your v2 patches before merging them, of course ;-). Thanks, Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913