Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp11706496rwr; Sat, 13 May 2023 08:14:48 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ50TVAOJid7BN7qnB0DQzzyQo/5LmFs3z7PVONaS/S/MUvzBi9MmWFeoIODVX1SKM5v6PE5 X-Received: by 2002:a05:6a00:2392:b0:645:ac97:5295 with SMTP id f18-20020a056a00239200b00645ac975295mr28100387pfc.9.1683990888260; Sat, 13 May 2023 08:14:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683990888; cv=none; d=google.com; s=arc-20160816; b=KW0FV5FRazOS6ajV1e7nEMstFjqaPS5X20nwF616juQ4L4GYOU29xhSIr18SuIgSvp yJ5gcl1eWwBHWLSy8xc7/4Ptm0jeTO7SVkRA+FClIOjLgLDXHv0YQNqg/GnzWaS8iWGx tBZcl8g317OqSz/5mRE9DHK98OxQSE//Mm6D4WmzRg3Dg6fhQlIJNzFhZqB2uYsp/tow KhTZDYKwSfgKvbtyLiX+hMT88dJuj04Qx4Eys4oXTXNpY56ewMYl32O6OvsSDv4UyyvT +qnWC1PnHlFSjO9kDNdqiVcmEa+xL3u6uLDxHMfTNM25UyqVYexpBihGyqOTkYCtGA4Q kAew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:message-id:references :in-reply-to:subject:cc:to:from:date:mime-version; bh=GQ8NUZtXlF5+OMBcUhNGVbQqogEJ3woCe19Vz7gzMGQ=; b=eWjbDd3y3m10QwXrrbN9TtFTNDBelUZ29KsmhARg7BTni00iKfBPmEz0Yi9Lszp2+g eV7mcducShmUo3LOBdlt0Degu3ouxMDICny3MwyiyiIKOvXasgX6cFh2KL3Pn5nQN0Bx SBYvPTXwy8aePaI+mTePByj6M34dFjgNy+iXPNVAQ+Jdxp42B4sgHzstYS91wvASU7gl sQ80TVHTPtUZEmGPJXXvNmgJmfb6xAILBskAN9Vy98mar3U/BwuYtMvg/Td4g8NOjrQh cqL4slCIfC10bvgtGUCN1vJu7DkKeohnPF+N5QiyN02Q8fMq6thj6BkXsGifqe2WLt7x 19XQ== 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 b123-20020a62cf81000000b006399bb6f5b2si12901351pfg.25.2023.05.13.08.14.30; Sat, 13 May 2023 08:14:48 -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 S238790AbjEMO51 (ORCPT + 99 others); Sat, 13 May 2023 10:57:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230133AbjEMO5Z (ORCPT ); Sat, 13 May 2023 10:57:25 -0400 Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3245C1FC6; Sat, 13 May 2023 07:57:22 -0700 (PDT) Received: (Authenticated sender: contact@artur-rojek.eu) by mail.gandi.net (Postfix) with ESMTPA id B56DB1BF204; Sat, 13 May 2023 14:57:19 +0000 (UTC) MIME-Version: 1.0 Date: Sat, 13 May 2023 16:57:19 +0200 From: Artur Rojek To: John Paul Adrian Glaubitz Cc: Geert Uytterhoeven , Yoshinori Sato , Rich Felker , Rafael Ignacio Zurita , linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] sh: dma: fix `dmaor_read_reg`/`dmaor_write_reg` macros In-Reply-To: <750f11848a647831ccfd1284ad0a8dd540c8f886.camel@physik.fu-berlin.de> 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> <750f11848a647831ccfd1284ad0a8dd540c8f886.camel@physik.fu-berlin.de> Message-ID: <0ea0b05e99f63edf05ef9a0afe410fc1@artur-rojek.eu> X-Sender: contact@artur-rojek.eu Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,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 On 2023-05-13 16:45, John Paul Adrian Glaubitz wrote: > 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. Great! > > Maybe you're also interested in the clean-up that Geert suggested in > this > thread (ordering of the CPU subtypes and capitalization issues)? Sure, why not - the more clean-up we do, the better :) > > 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 > Of course. On a side note, it was supposed to be "programming manual", however I now see that Renesas named that document as "hardware manual", so that's what I'll put into the commit description, if you don't mind. cheers, Artur > Oh, and I will retest your v2 patches before merging them, of course > ;-). > > Thanks, > Adrian