Message ID | 1468475036-5852-3-git-send-email-dennis.chen@arm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 37BA6608A1 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 14 Jul 2016 05:47:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 28EF527FA9 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 14 Jul 2016 05:47:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1D0A927FE4; Thu, 14 Jul 2016 05:47:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 92DCA27FBB for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 14 Jul 2016 05:47:10 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bNZT4-0003sy-ND; Thu, 14 Jul 2016 05:45:50 +0000 Received: from eu-smtp-delivery-143.mimecast.com ([146.101.78.143]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bNZSv-0003kO-KM for linux-arm-kernel@lists.infradead.org; Thu, 14 Jul 2016 05:45:45 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=HzHsZaU1CxpFMWVzitgvQAAtKPOSpKWFEALhNnJYEhI=; b=YmkdoSyhrP6VEV62SLMw24HcM7TgZ/Uvt5gio0WUo8+nhuyiekqIGGmy2t/vZcYQubY2H7R17LP7zkd+yRyTJAjen1sLCe1F16G96K01g0pQvVhLQMHCrmEzfSd6IFDDjXFWxsW3nkUJOBFvnxxjUdfomtd5g1jWeUu1CMwozr4= Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-ve1eur02lp0056.outbound.protection.outlook.com [213.199.154.56]) (Using TLS) by eu-smtp-1.mimecast.com with ESMTP id uk-mta-61-S28sa0-AP4Gmmp61uzM2sw-1; Thu, 14 Jul 2016 06:45:17 +0100 Received: from AM3PR08CA0012.eurprd08.prod.outlook.com (10.160.207.150) by HE1PR08MB0667.eurprd08.prod.outlook.com (10.163.179.13) with Microsoft SMTP Server (TLS) id 15.1.539.14; Thu, 14 Jul 2016 05:45:14 +0000 Received: from AM1FFO11FD040.protection.gbl (2a01:111:f400:7e00::123) by AM3PR08CA0012.outlook.office365.com (2a01:111:e400:8840::22) with Microsoft SMTP Server (TLS) id 15.1.534.14 via Frontend Transport; Thu, 14 Jul 2016 05:45:14 +0000 Received: from nebula.arm.com (217.140.96.140) by AM1FFO11FD040.mail.protection.outlook.com (10.174.64.229) with Microsoft SMTP Server (TLS) id 15.1.534.7 via Frontend Transport; Thu, 14 Jul 2016 05:45:14 +0000 Received: from dennis-ws.asiapac.arm.com (10.1.2.79) by mail.arm.com (10.1.105.66) with Microsoft SMTP Server id 14.3.294.0; Thu, 14 Jul 2016 06:45:06 +0100 From: Dennis Chen <dennis.chen@arm.com> To: <linux-arm-kernel@lists.infradead.org> Subject: [PATCH v6 2/2] arm64:acpi Fix the acpi alignment exception when 'mem=' specified Date: Thu, 14 Jul 2016 13:43:56 +0800 Message-ID: <1468475036-5852-3-git-send-email-dennis.chen@arm.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1468475036-5852-1-git-send-email-dennis.chen@arm.com> References: <1468475036-5852-1-git-send-email-dennis.chen@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:217.140.96.140; IPV:CAL; SCL:-1; CTRY:GB; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(438002)(199003)(189002)(104016004)(189998001)(76176999)(48376002)(77096005)(33646002)(26826002)(19580405001)(11100500001)(19580395003)(50226002)(586003)(92566002)(5003940100001)(8936002)(8676002)(50466002)(246002)(50986999)(6806005)(106466001)(2950100001)(47776003)(2351001)(229853001)(7846002)(5003600100003)(86362001)(7696003)(87936001)(110136002)(36756003)(575784001)(305945005)(356003)(4326007)(2906002); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR08MB0667; H:nebula.arm.com; FPR:; SPF:Pass; PTR:fw-tnat.cambridge.arm.com; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; AM1FFO11FD040; 1:ZFjWgfrGxEh6Iqzs2/uU3EnUuygwiaFsE2kfXQ3rXTmfvlnxb7hg8jBXYRLgbbzZPb/5/hz7BHeO1cMugoY2D1xCKcYj9EKSqt2k3nEpg3sVrUjrGsSf9GOz8Snr8E032H8UjkxyucEWnQ2A785zpJ9sVHrVFJdJFDIbT175vQIy8KBfQ8iZYYsqW3QKxSnGKCcThNpVfTDjjMFev84ZYD6dANhAA5lYgSszIIUQOXsgF5oe9ECGqauVW1oBFtyuCyR/OoWgtV9+tQjgXNi9NEivDsU4J6RXt2s4d2GwSXQTInMrLtLnD67yV2XBKCTl6+CQHN8h+sAJCu9REOimYdNyiRFZ17Pc6VJbzp+2KUhpt/UJyXRF+KiDIi2/M7PMsAEU4xt0cc9yeukoT0usDSSVcMY53y1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8VFwuyhxmV665HoIEQ0YKzzxHL6/7IdVR6+1qbKLEEZNoG3AnzjYzEDRswCaXOU4p3WqSm2dkTfxWu44k4NGjDnQGCRa2Sc9sSWbQxo6sR+T0+53fTcSEVWXmp7hzyOhN68KKK+IroHYYmc2rCe7SIXKKXEXSsKmAyRcVZxt0ZQ= X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(8251501002); SRVR:HE1PR08MB0667; X-Microsoft-Exchange-Diagnostics: 1; HE1PR08MB0667; 31:ViE5t0PycgcpAW5ap1am9Mrtj5bsH3eE7BLliCV0JEsYflsYJObfdzeAKxXU453xTXe81P7xs4YdTP6gKfPhVDcE60snSqNkRzPitcHnCgBUl59f9a1t7n9mMkoX1J1SGqska7BWCFbyAkWKcRnf4PWrMvVrlVskyOQUzWeO1AGfe0osuEfMmPS3pnNTkbeS3mO6fmkz5/fpstybsxiaXw==; 20:rAu4BEnCGQ5YayFSSkn/SrQu4pJkQSmxcguE3hETgiQUhequIpBmar8PC+XZDo4XPSgbIkOBFOcVq4O9QQ3rxObcVY5J3OOFDKyVL3K/1fFd9SozrUT/DikEejRxX+dgUvpK80eR7teJWCRizkoi/oiKmsPyVNnP8ogdBx7Pcv9tEpA6ihdDOrQxICEo3EMqGwXR6VqBmDcijt+VIBGo3deC/aANOVDfj+XaPbNd0QCZ+HII6fwLkJbvPRFFg6q5 NoDisclaimer: True X-Microsoft-Antispam-PRVS: <HE1PR08MB06678D572670F27D26BA6502FE320@HE1PR08MB0667.eurprd08.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(180628864354917)(9452136761055)(170618885588394)(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(13023025)(8121501046)(5005006)(13013025)(13024025)(13020025)(10201501046)(3002001)(6055026); SRVR:HE1PR08MB0667; BCL:0; PCL:0; RULEID:; SRVR:HE1PR08MB0667; X-Microsoft-Exchange-Diagnostics: 1; HE1PR08MB0667; 4:el1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L7y17Hv3DxBhGko7bNvScsw4L?= =?us-ascii?Q?UZME/aeHtQmtLpfJuIe901V0DsX7s4vmyLOTG+i3FKWONdNboUy8Q+pgbQb3?= =?us-ascii?Q?57PEj2Xe7ICGxEGiSNjCaFeQDhZ3lFxXyal9Erud41S+d2pmTTEcLOnghhLY?= =?us-ascii?Q?7TPoVJtbQ57TlxpHkfQasP71gVTkfRvI//RZI2V+m45uOrfT9g/1yby8asgy?= =?us-ascii?Q?b+GYGpWXdPzBDndnpU/T5vmP6IzZCLbMGbG7dctDAetCZZZhOJ3Eugc6yiF9?= =?us-ascii?Q?m+rpjUUTd2Jya4d+dac7T+ZR4mzpfv+KNHBCbGefw73IENZNcf543kLJR2Tl?= =?us-ascii?Q?xnuYr6NLkitl1pHIML16INV4JI3d7y5h9oBnGtrbl5d3PMFgxFOXAuMON8+l?= =?us-ascii?Q?h4sXjoUhxOmL8zYkLfxVh0IljSqh82LURsb+G71nsNCKhvj1y7FyD0Enwy9d?= =?us-ascii?Q?eXGsrdVtOO66+AHbzxtDG7+RBCqiuMp86yl+AxMpkgLQFIrWRBm1zSoQM781?= =?us-ascii?Q?zVnzR0ZUtLfzoEAAo7FTHw6NDX/LKnb+57u56Lk+PcbV8dzuK8ODftGsX2M1?= =?us-ascii?Q?OnjDucgqkVsYOLgFQjZmzb58ksXsz1J5RQxM4frO7xjU5R6zZPX/s3hPKRVX?= =?us-ascii?Q?0xtqQsWUqYQuI5wzJ7C2VGwTfiqLJ2uMoUwI9fo6TF4rO1idWUcc+pQvm0OX?= =?us-ascii?Q?wqtxejjOjVdEDgvthsI1rDS7Ma+4VnAp5XfodsL0LWLkCn0PAd/Lo+GXAOi7?= =?us-ascii?Q?GJurmu/C8juwx1tlWPnH8C9H+brMh93Dt2RGcpMZGSkd1YNRw=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; HE1PR08MB0667; 6:VneiK4FB1mMrBrArxt9hMl2fjtSMW26btamq6i66UjOCk41mpvcAFdOxSqs/hioMU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flAXB0C0U= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jul 2016 05:45:14.2878 (UTC) X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[217.140.96.140]; Helo=[nebula.arm.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR08MB0667 X-MC-Unique: S28sa0-AP4Gmmp61uzM2sw-1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160713_224542_152196_219AD564 X-CRM114-Status: GOOD ( 13.85 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: mark.rutland@arm.com, tony.luck@intel.com, linux-acpi@vger.kernel.org, ard.biesheuvel@linaro.org, matt@codeblueprint.co.uk, catalin.marinas@arm.com, steve.capper@arm.com, will.deacon@arm.com, tangchen@cn.fujitsu.com, penberg@kernel.org, kaly.xin@arm.com, linux-efi@vger.kernel.org, linux-mm@kvack.org, rafael@kernel.org, dennis.chen@arm.com, akpm@linux-foundation.org, nd@arm.com, mgorman@techsingularity.net, mingo@kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/arch/arm64/mm/init.c b/arch/arm64/mm/init.c index 7d25b4d..9482b45 100644 --- a/arch/arm64/mm/init.c +++ b/arch/arm64/mm/init.c @@ -226,7 +226,7 @@ void __init arm64_memblock_init(void) * via the linear mapping. */ if (memory_limit != (phys_addr_t)ULLONG_MAX) { - memblock_enforce_memory_limit(memory_limit); + memblock_mem_limit_remove_map(memory_limit); memblock_add(__pa(_text), (u64)(_end - _text)); }