Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1531614rdb; Thu, 7 Dec 2023 01:33:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IF5YzEoXwNAlycwo9jFgFT2abcK5mP4vHeDYyRXvUMP5QpHEhz26otlroXJ5OB0bRoHmvKd X-Received: by 2002:a17:902:e84a:b0:1d0:6ffe:1ea3 with SMTP id t10-20020a170902e84a00b001d06ffe1ea3mr1986753plg.134.1701941619470; Thu, 07 Dec 2023 01:33:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701941619; cv=none; d=google.com; s=arc-20160816; b=iK9skynOX5m6WKfsIRscEdSaimsL0YRGBt175hd3Y6yqElkR7kGwRrXmtSxXKJHe0K whGPIXNByMXe4JoLsE5MzW0fWr8uaq7IM2qoEYNyRn5MP2j0kPwiCVxzofaPUQr7VsVr 88kF0aqE1I8uN2CJ3b0+wamhnNYpgDqRHnXMnCmXGs9Da7Eak8MYJjtTvDsnpvm86bRm rMgQGYdmFKsVRnka8mV5UGgmBvptxJS8J9zh13s1o++DoY2y86u+ilFBX70oEAeGEg0w z1z6cqHXl0AuyQaCq1wuIq8/YEdR+Ok1mvyYvaN4gpSY0CRdUkecPso0laPrXvhAYz+t 0JcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:references:cc:subject:from:to :message-id:date:content-transfer-encoding:mime-version :dkim-signature; bh=CPXqvcpSDGijTuXmKfvNe4MeIOYSS9zKCWi8Uhthpns=; fh=0H3BoCb4ajUUe5OLcim3FKY63F7YUzAcF/94S6+ZGvg=; b=nElkovK3LPvS6XPffCdDQ2Z95cDp7VwuFx+vs9Oot4Z5Of+e04SRfahYyYtwfTfYWe 9lHWD+qgqaX/2ZYi5ns8W6w5rkjcrIPf3kPk+U8C9y8L7reR211qL8J8DWQ0W3ba4kls 9SlILJbwyFBkZCxayK2oLMt2nURch4IXiMQkbziWRkG8+A5/fgfDbspCIAZl6OgZA7hq MVaQGv1DMwJAqqlbHhpBL/9B9DccYxtvZhBZ06csNJiqlvjWw0k5q5PdzVHC8GNFIQPl QJQHB++ojZNB/3/OmC0d8hx/ZWF50pazHRUGMcG5iB80bjMrMTPiavAv3G32xebt3Vgu sFxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=fHo5Dh73; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id u3-20020a170902b28300b001d0a0ee28e0si819549plr.288.2023.12.07.01.33.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 01:33:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=fHo5Dh73; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id EED678078642; Thu, 7 Dec 2023 01:33:36 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378718AbjLGJdG (ORCPT + 99 others); Thu, 7 Dec 2023 04:33:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45984 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378554AbjLGJcu (ORCPT ); Thu, 7 Dec 2023 04:32:50 -0500 Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 62D1D10FE; Thu, 7 Dec 2023 01:32:56 -0800 (PST) Received: by mail.gandi.net (Postfix) with ESMTPSA id EB1B71C0002; Thu, 7 Dec 2023 09:32:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1701941574; 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=CPXqvcpSDGijTuXmKfvNe4MeIOYSS9zKCWi8Uhthpns=; b=fHo5Dh73Mzh1Pm2/88up58zS4l2hX9fOh1nl8V1DJsh+uf9+kWUWNs4HIcAoTDnFZWZpvs y0bjRPT+zUvFsxCmCnHs5itRxufoce7mtieNa9sDAISX4qnQWxiAyoVp3fIbhuptUKIuO5 xaxlezFPR5W0PUDaWCwFcR1YpvcNw3+YkV+irPgNZ3jRq9waFaosOI/sy5T4KXfSf9Cqgn +mtM2tn9oG52789MZUB9/tNOuV9SRa73g991kSnRml96MT35PNk0tYnCNP98eu6Ff9QP3h T45FgTlBwH7eIRzXHsCQ/SKD08TxQcMVqOTdQ4lSL/NHUaFGAOm5lrPSJe5TUA== Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Thu, 07 Dec 2023 10:32:53 +0100 Message-Id: To: "Greg Kroah-Hartman" From: =?utf-8?q?Th=C3=A9o_Lebrun?= Subject: Re: [PATCH v5 2/9] tty: serial: amba: Use linux/{bits,bitfield}.h macros Cc: "Russell King" , "Jiri Slaby" , , , "Linus Walleij" , =?utf-8?q?Gr=C3=A9gory_Clement?= , "Alexandre Belloni" , "Thomas Petazzoni" , "Vladimir Kondratiev" , "Tawfik Bayouk" , =?utf-8?q?Ilpo_J=C3=A4rvinen?= X-Mailer: aerc 0.15.2 References: <20231130-mbly-uart-v5-0-6566703a04b5@bootlin.com> <20231130-mbly-uart-v5-2-6566703a04b5@bootlin.com> <2023120742-argue-slighting-6120@gregkh> In-Reply-To: <2023120742-argue-slighting-6120@gregkh> X-GND-Sasl: theo.lebrun@bootlin.com X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.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 (morse.vger.email [0.0.0.0]); Thu, 07 Dec 2023 01:33:37 -0800 (PST) Hello, On Thu Dec 7, 2023 at 2:37 AM CET, Greg Kroah-Hartman wrote: > On Thu, Nov 30, 2023 at 03:07:14PM +0100, Th=C3=A9o Lebrun wrote: > > The driver uses bit shifts and hexadecimal expressions to declare > > constants. Replace that with the BIT(), GENMASK() & FIELD_PREP_CONST() > > macros to clarify intent. > >=20 > > Reviewed-by: Linus Walleij > > Reviewed-by: Ilpo J=C3=A4rvinen > > Signed-off-by: Th=C3=A9o Lebrun > > --- > > include/linux/amba/serial.h | 248 +++++++++++++++++++++++-------------= -------- > > 1 file changed, 127 insertions(+), 121 deletions(-) > > As 0-day had a problem with this patch, I've applied only patch 1 of > this series. Can you fix it up and rebase and resend the rest again > (while adding the collected reviewed-by that some patches in this series > had)? So the issue is this: the header file gets included in arch/arm/include/debug/pl01x.S that gets included in arch/arm/kernel/debug.= S (see #include CONFIG_DEBUG_LL_INCLUDE). I don't see any easy way out of this, so I guess it means the patch must be dropped. If someone confirms that there are indeed no solution to have BIT(= ), GENMASK() & FIELD_PREP_CONST() accessible from assembly, I'll send the next version. Thanks, -- Th=C3=A9o Lebrun, Bootlin Embedded Linux and Kernel engineering https://bootlin.com