Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1540228rdb; Thu, 7 Dec 2023 01:57:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IE9ZsfMLSUuk9kdZDiZrzomH5vWHcf1tQSf+2FNRhAn2mXjvuVoZVTIRMw2Dlei0nLEjGc1 X-Received: by 2002:a17:902:f813:b0:1d0:6ffd:f1fa with SMTP id ix19-20020a170902f81300b001d06ffdf1famr1679079plb.80.1701943020706; Thu, 07 Dec 2023 01:57:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701943020; cv=none; d=google.com; s=arc-20160816; b=JngW1SumacKpV9tposM/VklZokE1Y3TRMh4aEk6O9avnVH9z6uGbFUsorHOMVQ/YsE egsM23nloOl91U27ogYpbsxdOf8VhKiAzX/VEmus2g7TqEOkqXIYudJeLpNuclC6a5nZ XQOxMV0wAFvyO4yLRtfe0VdL8MtNbPYNayv9sqLHoZIr8t1ViPdn5W1l1lAIFtY/GydD pC9xmJXBe7P5W9YzxhzDhG0m0+1f7hDoQ6fgEKmL4rB4KTivDCk+a7KAq+avBIs6l8OH bls9gFhRQ9iOWyM6saJz4cMtzaWFgdj0lPhQaEQVaOpX2MAAijo0eGt5C0WbL8N+pUuc 8SyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-id:mime-version:references:message-id :in-reply-to:subject:cc:to:from:date:dkim-signature; bh=ZoLXvkflTKA0I4nBAphvYL3WXQCVU6GrAoXsXFpQonU=; fh=QoOTdiCHaRjiCiI7OoYXmh84HyVR4od0ztFPFGI4VKk=; b=vUUKp6QrACSCvggPTH7nSAR0bBskW4jAYKJSCJp6H+crnjr1mzhGYQiW6Z2EUr6KJD zUVGCGJ90rqMRMkCq77B4keCOO1dmQbRGSj+BQ0APP/6Mv1N9b+1SKCP4waUuhjWygoD MPTCnrW2F1NJitmfzw3pKy04uVyV9LVEkTDiOcVHcyeuX/rvmiv9jWYj0WrLvruDnvVK 4Lcl+r/AQgWPxoB58jrB9lZwdZC5Zy33XXKrkldR8pQUz+9fLZhmf4CG7NzCU8O3EbrV A0FGdbNGOTdIzO6w0sOMWHsHhztbHxt72YOwyh0urwmi5T2mNdWnmqYFyxMyxCURrhNt pOXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="Qb0xm/ui"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id c10-20020a170903234a00b001cc2f9d6a66si873424plh.514.2023.12.07.01.57.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 01:57:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="Qb0xm/ui"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 22F6D805A586; Thu, 7 Dec 2023 01:56:58 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232081AbjLGJ40 (ORCPT + 99 others); Thu, 7 Dec 2023 04:56:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41766 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232057AbjLGJ4P (ORCPT ); Thu, 7 Dec 2023 04:56:15 -0500 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.12]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 109BD133; Thu, 7 Dec 2023 01:56:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701942982; x=1733478982; h=date:from:to:cc:subject:in-reply-to:message-id: references:mime-version:content-id; bh=EsZ9iyoAmNB41lTSlRafnsFQSmgu2tbDM95/rM+nIpQ=; b=Qb0xm/uie5JS2QlyWOPixvIxf9N8qboBIco2lk0w8jqArgFskaXzrj9H TmWojtCtJbVDJIRU/TicUqWhT5bOSx5v9p2/n/IrFLVGP7/gLkCYhxRxS fqogLUPMQckqrmYjBScHwgspvdJWMtjr5p1g5TJXOUHFqKZkjRVL32ySu O62/4LnXLbnu1bZx4jkEMHVJlovqLZk/aZFHL4YsozeNne0Nx1JDlvsVU DocCn9kf3r2Gemim6Zq/Q38Q4ANeWoeDOivqLszMe1khcsUf10ZdulMck +ysXk6zt1BqoAvr1nZkgrYQvDtHzVqUxWnXV1oRziaDKe+amOO0hWzCkh w==; X-IronPort-AV: E=McAfee;i="6600,9927,10916"; a="1289013" X-IronPort-AV: E=Sophos;i="6.04,256,1695711600"; d="scan'208";a="1289013" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orvoesa104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Dec 2023 01:56:22 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10916"; a="944979494" X-IronPort-AV: E=Sophos;i="6.04,256,1695711600"; d="scan'208";a="944979494" Received: from dkrupnov-mobl3.ger.corp.intel.com ([10.249.34.6]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Dec 2023 01:56:18 -0800 Date: Thu, 7 Dec 2023 11:56:15 +0200 (EET) From: =?ISO-8859-15?Q?Ilpo_J=E4rvinen?= To: =?ISO-8859-15?Q?Th=E9o_Lebrun?= cc: Greg Kroah-Hartman , Russell King , Jiri Slaby , LKML , linux-serial , Linus Walleij , =?ISO-8859-15?Q?Gr=E9gory_Clement?= , Alexandre Belloni , Thomas Petazzoni , Vladimir Kondratiev , Tawfik Bayouk Subject: Re: [PATCH v5 2/9] tty: serial: amba: Use linux/{bits,bitfield}.h macros In-Reply-To: Message-ID: <42e8faf-5293-18e4-3877-25e4d094f1d@linux.intel.com> References: <20231130-mbly-uart-v5-0-6566703a04b5@bootlin.com> <20231130-mbly-uart-v5-2-6566703a04b5@bootlin.com> <2023120742-argue-slighting-6120@gregkh> MIME-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="8323329-1941806678-1701942827=:1765" Content-ID: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,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 agentk.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 (agentk.vger.email [0.0.0.0]); Thu, 07 Dec 2023 01:56:58 -0800 (PST) This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-1941806678-1701942827=:1765 Content-Type: text/plain; CHARSET=ISO-8859-15 Content-Transfer-Encoding: 8BIT Content-ID: <669795fb-a6b2-2749-cc7e-df83337e581a@linux.intel.com> On Thu, 7 Dec 2023, Th?o Lebrun wrote: > 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?o 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. > > > > > > Reviewed-by: Linus Walleij > > > Reviewed-by: Ilpo J?rvinen > > > Signed-off-by: Th?o 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. Yeah, it seems to require UART01x_FR_TXFF and UART01x_FR_BUSY, plus UART01x_DR and UART01x_FR that are not touched by your patch. I suppose the rest might be convertable though.. -- i. --8323329-1941806678-1701942827=:1765--