Message ID | 94272ef87ad071d6d11e20bc5249608012714613.1639736449.git.christophe.leroy@csgroup.eu (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> 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 13A33C433EF for <linux-mm@archiver.kernel.org>; Fri, 17 Dec 2021 10:30:03 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 569906B007B; Fri, 17 Dec 2021 05:27:47 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 519186B007D; Fri, 17 Dec 2021 05:27:47 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 3E0556B007E; Fri, 17 Dec 2021 05:27:47 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0028.hostedemail.com [216.40.44.28]) by kanga.kvack.org (Postfix) with ESMTP id 2FD626B007B for <linux-mm@kvack.org>; Fri, 17 Dec 2021 05:27:47 -0500 (EST) Received: from smtpin18.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id EAC31181AC9C6 for <linux-mm@kvack.org>; Fri, 17 Dec 2021 10:27:36 +0000 (UTC) X-FDA: 78926909712.18.0B12216 Received: from FRA01-MR2-obe.outbound.protection.outlook.com (mail-eopbgr90072.outbound.protection.outlook.com [40.107.9.72]) by imf30.hostedemail.com (Postfix) with ESMTP id 5BAAE80011 for <linux-mm@kvack.org>; Fri, 17 Dec 2021 10:27:36 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fTa5D0z+VKJbV0fqCnhmV5uVHNl1aPBOfL9nAvmhJiC6JECosrveVSKd+OQvxNcjFixB4p7hPTKpWGrJFKhNmuqCd3FncRAOgXS1ILCB/s0zPoPILY//S4LRWcwuh5JCBvrLQu3HJH217Gr6h/rzixpENUWHcMPdd8dgErCJFZCKlaqIP6Xk2RqPTnW5a5DSQptyLQpwBa994wLZC7/Auj3ubl6oiRDInacX54EBZniPij0geLgT4ml2DsPD8yf+jZ8EEZ81ILd+9rRHW3UJ66m64iAwzR5mZFSC9x1ODpsKPQB3BJVIYUkVYIeYLIGpSM2z83tBeR7t0U3wyL0w5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=BMqQpMVPJWiGmTGtq2QUJHhfhL+o8r8GMswJlhxDXUU=; b=RPFAEwgr4TGjHk+GiQ9VpWQ2sSRkILP6FM7jeAroCZM915gpJaPXkcDet3HPs9UQhYvXCl/28lVtSJHhBDzq7KsYRtumEBV0pZBKMAl/NS6IQxGNvkq2zFXbBaJrn7QLWMoPGm3unHc1MS/SbC2YoqLcY4KcqDuDpolFeioP/dUdtdB5cEqW0icij8wcE9rwMIHDgJd8KqtX3yPXU1xDXqjgykSeyKWcXTUKezDT70dg9pdgt6mURQrT3YXTMZeBDGWnKV1W6zjht2QUOKUegWCTc/HpwSqcn8TA55EkqtWVZ72B5d/6vdW8BP7DvGeC+hrkV68p2V2a9wmtO6Xogw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=csgroup.eu; dmarc=pass action=none header.from=csgroup.eu; dkim=pass header.d=csgroup.eu; arc=none Received: from MRZP264MB2988.FRAP264.PROD.OUTLOOK.COM (2603:10a6:501:31::15) by MR2P264MB0194.FRAP264.PROD.OUTLOOK.COM (2603:10a6:500:b::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4801.14; Fri, 17 Dec 2021 10:27:33 +0000 Received: from MRZP264MB2988.FRAP264.PROD.OUTLOOK.COM ([fe80::f0ef:856d:b0de:e85d]) by MRZP264MB2988.FRAP264.PROD.OUTLOOK.COM ([fe80::f0ef:856d:b0de:e85d%5]) with mapi id 15.20.4801.016; Fri, 17 Dec 2021 10:27:33 +0000 From: Christophe Leroy <christophe.leroy@csgroup.eu> To: Benjamin Herrenschmidt <benh@kernel.crashing.org>, Paul Mackerras <paulus@samba.org>, Michael Ellerman <mpe@ellerman.id.au>, "alex@ghiti.fr" <alex@ghiti.fr> CC: Christophe Leroy <christophe.leroy@csgroup.eu>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, "linuxppc-dev@lists.ozlabs.org" <linuxppc-dev@lists.ozlabs.org>, "linux-mm@kvack.org" <linux-mm@kvack.org>, "akpm@linux-foundation.org" <akpm@linux-foundation.org>, "catalin.marinas@arm.com" <catalin.marinas@arm.com>, "will@kernel.org" <will@kernel.org>, "linux-arm-kernel@lists.infradead.org" <linux-arm-kernel@lists.infradead.org>, Toan Le <toan@os.amperecomputing.com>, "linux-pci@vger.kernel.org" <linux-pci@vger.kernel.org>, =?utf-8?q?Krzyszto?= =?utf-8?q?f_Wilczy=C5=84ski?= <kw@linux.com>, Bjorn Helgaas <bhelgaas@google.com> Subject: [PATCH v6 05/14] sizes.h: Add SZ_1T macro Thread-Topic: [PATCH v6 05/14] sizes.h: Add SZ_1T macro Thread-Index: AQHX8zC07qMBhzOyKkm4HzYDjm34Jg== Date: Fri, 17 Dec 2021 10:27:33 +0000 Message-ID: <94272ef87ad071d6d11e20bc5249608012714613.1639736449.git.christophe.leroy@csgroup.eu> References: <cover.1639736449.git.christophe.leroy@csgroup.eu> In-Reply-To: <cover.1639736449.git.christophe.leroy@csgroup.eu> Accept-Language: fr-FR, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ec3499e0-e8bb-4fa7-77b1-08d9c147d697 x-ms-traffictypediagnostic: MR2P264MB0194:EE_ x-microsoft-antispam-prvs: <MR2P264MB0194FD896AEAFD49E617AE3BED789@MR2P264MB0194.FRAP264.PROD.OUTLOOK.COM> x-ms-oob-tlc-oobclassifiers: OLM:639; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: QXqZIp/tz7ghfLES5BumSHj6rEaaKbSVCt/BWJubkEvOPRqSxjg1icGsK9qOrqO4a+dNGtgFzBRkyeLtrOr3fQvYS5zhel4DBhiztb85x8fPIjBqqNzLybIg2YYumtIdUZyU3tpZqXg3qo1fMiFM/+urJ+bhO6EOodFy2zbeU23Gh15V749Ot9/gUcc9TWRcDnJ91Ojz6zw0Ji2VKnkeZH8LvwIkg1H1XH//Mh7MfL1FTwhWgRWtZ+vR6j0bddoFrTd9/l0FH8XAq2eklyK0jMcCg7LpqR57uz00x4lx6jK2as7YluOeq3weJNyTaz8XF8r7Hsu59v400G3STWcNwNmca+VHhqlpxZMd9wjp1bgE0oyaR6Se8ZRLZjkHoq+Cgs4Hlh+4Gng4jbLpOiQRzbOLdHscOAHQuyEYUoRKnY4xwk1wcamjHNq2BEJM/j97V+xBiC60G6DQT9wb8EygXen6j5SaSkxPWF03yqY4F6dTie1z/MghNJf6c/zDn4P3d0sdtGLPLmdrTFy+m/hW7OkR6aFYpSr/fi7dswUCFxFUibNB0FsZawP4zT/RKpNozEP6s0vklQWsfKH0meswkqzIZsgfUo+me1v5gF6SSWDMb46tWJhUHZ1p0ocG+loJxkZSRZdP8j7Trthu/KX1rSRE8nr0HKhrI8vyHehhC/MBasLLSyRBixYWwzAShp30RlVj6qO/8MJSOyCDgIfDMg== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MRZP264MB2988.FRAP264.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(4636009)(366004)(122000001)(2906002)(66476007)(66556008)(7416002)(36756003)(316002)(38100700002)(186003)(44832011)(6506007)(66946007)(91956017)(6486002)(26005)(508600001)(4326008)(76116006)(2616005)(8676002)(8936002)(66574015)(66446008)(71200400001)(83380400001)(110136005)(64756008)(38070700005)(6512007)(54906003)(5660300002)(86362001);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?q?rkxnGCS3ZJlCXYYg23IC2xSl9qPA?= =?utf-8?q?IKYQ8SwA42iG//igRnatIT9zwkdcrBnJOH9UweLtsN+ZzxR4+FSMR5h0FZoMUaLkx?= =?utf-8?q?3jmBgIlMJh9Kc8DBvNhwPcRnprnKHlbNyHXQcw4CgFkK4GEDxvP7hESbV9yeO9OV8?= =?utf-8?q?wkZVKoG/DqJjIkb/ExeNpUCDogRkfogFntcbjokCb/QXYj//8EYvQ2F0SrncR6jph?= =?utf-8?q?35+dm3Wf3sba6K/Ic2jCsOEjMZweAiBfBwUzK6AvNy+kriDQ2Onj8NvINBFgt/CzW?= =?utf-8?q?Nt2gIhCNbiEt1SfOtJrV8pTi/5Dc3bIIGdWU0F6baqldyHs9VzYLWgmSrxvJcsFPb?= =?utf-8?q?QJ3N9wUv5SD8vMiajCmqPHF9xdDjDSSxZunkXXJbb26/3wuHC9ZyyBEriTy+YYIG8?= =?utf-8?q?6wRgjApyMnyd2VCBi85iovUNOwzwa9p0imqMDFx2DplYlq5tEwNHGiNDrl0M0mJDN?= =?utf-8?q?jFzYjhjhhGizKeSq46j6Zk2x4jujAerYcco8kOR6P6p3zW/hfpgi2+b5E778WIlbt?= =?utf-8?q?TR179Zt36P+CP8LxEcxYpSVtrlYoALEGCd7VLFAGkX+qumBgpLeFiHzucMYniYPEc?= =?utf-8?q?NPisDzoWad3WsPMmSOaM7T6IeOJ+8kZ+TvUB+kT3O4AqYmPNMWS2BEF9Ttd2PQHbq?= =?utf-8?q?l8He5cO57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wi2z+u1Cy6zd+rI1ZlCZ4jKQALlfNSOJGbVozhOlN/H?= =?utf-8?q?AEcMLxUmtElm3gS+5g6cZ9oAr5vJbqeGteKUlFKrfV3nJtyZzIzYOo=3D?= Content-Type: text/plain; charset="utf-8" Content-ID: <CB8A183F878AF241AD0749A509E3BB90@FRAP264.PROD.OUTLOOK.COM> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: csgroup.eu X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MRZP264MB2988.FRAP264.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: ec3499e0-e8bb-4fa7-77b1-08d9c147d697 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Dec 2021 10:27:33.5944 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 9914def7-b676-4fda-8815-5d49fb3b45c8 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: vQsTU+Kvc2ZuvHR/XJoPoyWNv4pI4tpUTaXIJgF8mpcT+eR8EBtXaPuqa7GkjIM5YndhsXpMKCz+o0Tp8qZuapJUn4aHhRR/mh81rdRpLSo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MR2P264MB0194 X-Rspamd-Server: rspam08 X-Rspamd-Queue-Id: 5BAAE80011 X-Stat-Signature: c9pg93ieo5b5xxeojfwbbxfhg8kzcr36 Authentication-Results: imf30.hostedemail.com; dkim=none; spf=pass (imf30.hostedemail.com: domain of christophe.leroy@csgroup.eu designates 40.107.9.72 as permitted sender) smtp.mailfrom=christophe.leroy@csgroup.eu; dmarc=none X-HE-Tag: 1639736856-775203 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: <linux-mm.kvack.org> |
Series |
Convert powerpc to default topdown mmap layout
|
expand
|
diff --git a/drivers/pci/controller/pci-xgene.c b/drivers/pci/controller/pci-xgene.c index 56d0d50338c8..716dcab5ca47 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) #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) #endif /* __LINUX_SIZES_H__ */