From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 41E5DC433F5 for ; Thu, 10 Mar 2022 16:52:11 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id A14308D0002; Thu, 10 Mar 2022 11:52:10 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 9C37A8D0001; Thu, 10 Mar 2022 11:52:10 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 8B4048D0002; Thu, 10 Mar 2022 11:52:10 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0160.hostedemail.com [216.40.44.160]) by kanga.kvack.org (Postfix) with ESMTP id 7C5638D0001 for ; Thu, 10 Mar 2022 11:52:10 -0500 (EST) Received: from smtpin25.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 417B9181CAEE0 for ; Thu, 10 Mar 2022 16:52:10 +0000 (UTC) X-FDA: 79229069220.25.5F04CF6 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf09.hostedemail.com (Postfix) with ESMTP id AF382140014 for ; Thu, 10 Mar 2022 16:52:09 +0000 (UTC) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id DE7E661D04; Thu, 10 Mar 2022 16:52:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B6280C340F4; Thu, 10 Mar 2022 16:52:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1646931128; bh=ElymF9bFBBy1n24Im00MyTY3vz1EhoElO8yoHTyT2Zg=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=Z70GlNfyR7y91BnSVAjrftfXRydpAHUstcfbT9kmLqCpC8Xi5BIJ4bUql++NwerUQ mv+2o9v/HbYoXIxSh/yPNi9dU0ijzdfXyE4I1+2olecaFEXzFkvoUqSQOFMqOTrMcZ s5KuQfMnUoU+6nTRDN0DPraDx6M6Jtky3H4lP056kVAwQv036ELq4uZZPUKxpRRZjt /AihjRI1VnAnB4w/jYrsxXj3occUe+v/MobUfDePfOfl6aJYwPpH9FDEK5yy8Jxjja p47PJ0RyxTVJeehnyCe1dUX8/XjqL8KcBGb1bUd2fD/wWT89BjadXIe+v6QCynrBiv /Fl6gs1yoqCgA== Date: Thu, 10 Mar 2022 10:52:06 -0600 From: Bjorn Helgaas To: Christophe Leroy Cc: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , alex@ghiti.fr, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-mm@kvack.org, akpm@linux-foundation.org, catalin.marinas@arm.com, will@kernel.org, linux-arm-kernel@lists.infradead.org, Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Bjorn Helgaas , Toan Le , linux-pci@vger.kernel.org Subject: Re: [PATCH v8 01/14] sizes.h: Add SZ_1T macro Message-ID: <20220310165206.GA163581@bhelgaas> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Rspamd-Server: rspam05 X-Rspamd-Queue-Id: AF382140014 X-Rspam-User: Authentication-Results: imf09.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=Z70GlNfy; spf=pass (imf09.hostedemail.com: domain of helgaas@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=helgaas@kernel.org; dmarc=pass (policy=none) header.from=kernel.org X-Stat-Signature: asze5buwrjg6ypaspjp4udkwaum34m4x X-HE-Tag: 1646931129-432121 Content-Transfer-Encoding: quoted-printable X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Wed, Mar 09, 2022 at 06:44:35PM +0100, Christophe Leroy wrote: > Today drivers/pci/controller/pci-xgene.c defines SZ_1T >=20 > Move it into linux/sizes.h so that it can be re-used elsewhere. >=20 > Link: https://lore.kernel.org/r/575cb7164cf124c75df7cb9242ea7374733942b= f.1642752946.git.christophe.leroy@csgroup.eu > Signed-off-by: Christophe Leroy > Signed-off-by: Lorenzo Pieralisi > Reviewed-by: Krzysztof Wilczy=C5=84ski > Acked-by: Bjorn Helgaas > Cc: Toan Le > Cc: linux-pci@vger.kernel.org > --- > This patch is already in linux-next but not in Linus' tree yet What would you like me to do about this? It's in linux-next, which means it will go to Linus' tree during the next merge window. But this is 01/14; are there other patches that I should be looking at? Do I need to coordinate this with other patches that depend on it? > drivers/pci/controller/pci-xgene.c | 1 - > include/linux/sizes.h | 2 ++ > 2 files changed, 2 insertions(+), 1 deletion(-) >=20 > diff --git a/drivers/pci/controller/pci-xgene.c b/drivers/pci/controlle= r/pci-xgene.c > index 0d5acbfc7143..77c1fe7e11f9 100644 > --- a/drivers/pci/controller/pci-xgene.c > +++ b/drivers/pci/controller/pci-xgene.c > @@ -49,7 +49,6 @@ > #define EN_REG 0x00000001 > #define OB_LO_IO 0x00000002 > #define XGENE_PCIE_DEVICEID 0xE004 > -#define SZ_1T (SZ_1G*1024ULL) > #define PIPE_PHY_RATE_RD(src) ((0xc000 & (u32)(src)) >> 0xe) > =20 > #define XGENE_V1_PCI_EXP_CAP 0x40 > diff --git a/include/linux/sizes.h b/include/linux/sizes.h > index 1ac79bcee2bb..84aa448d8bb3 100644 > --- a/include/linux/sizes.h > +++ b/include/linux/sizes.h > @@ -47,6 +47,8 @@ > #define SZ_8G _AC(0x200000000, ULL) > #define SZ_16G _AC(0x400000000, ULL) > #define SZ_32G _AC(0x800000000, ULL) > + > +#define SZ_1T _AC(0x10000000000, ULL) > #define SZ_64T _AC(0x400000000000, ULL) > =20 > #endif /* __LINUX_SIZES_H__ */ > --=20 > 2.34.1 >=20 >=20 > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel