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 X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 58BBDC433DF for ; Mon, 18 May 2020 13:37:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 337B8206D4 for ; Mon, 18 May 2020 13:37:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589809058; bh=0fG2dAoRdvZRHlfYMJRgFqrNdemGM2oe2Sezh61sbdg=; h=Subject:To:Cc:From:Date:List-ID:From; b=JK0WuHPk1BfuGpmXWe82SSpaHu0WoqRWt6aO9EBuTr6Xm7df2mAHxxFSj3g3EITOD 8RPz/+Nm/GQontmcg75EaDYY3vBmOgtEJEKB/qJ19+zxCh7+hobBrfDtU/BYTz1AQF SN0QglRBS4BIEU4a99XyBJup1qZQPrTTPAvvcD8I= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726907AbgERNhh (ORCPT ); Mon, 18 May 2020 09:37:37 -0400 Received: from forward1-smtp.messagingengine.com ([66.111.4.223]:53363 "EHLO forward1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726726AbgERNhh (ORCPT ); Mon, 18 May 2020 09:37:37 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailforward.nyi.internal (Postfix) with ESMTP id 0FBBF19409FC; Mon, 18 May 2020 09:37:36 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Mon, 18 May 2020 09:37:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=JIuH0C 1AhBzX11+OsbMOZ6OkCYdX8QgCtRVK9Hw91o8=; b=M9IALzhLJqsf+0SenAzOPX gK+oS77mKsyDV5ckCz5YYI4IoKxS0rTVbHst9ZqpJ+HTljJ9FV1wKRSoPeulpZc7 nzlP4JwJB0ictVarYH6mr6vXE5De4H15GltLgRtd/KRnH8Yk+DdWqsN81m3l6Q7K Ed/t/06zR3mQsKklk71aBnYR3XH9dWb75ypQDI1ynbqpDGEWmeJAwPz64e9j+ZvN ob8Hec1mWHfM9ZzPRAz5MYqxSlyXOsFC4y270ImTlAAXNA20IEvXEmrOwLR674O/ UY8oJZn7lTTE7FqT5SCqVsafMMJlboGDhwu4xj3dVddySLbqjmktE19+gtoXwZ9w == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedruddthedgieeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefuvffhfffkgggtgfesthekredttd dtlfenucfhrhhomhepoehgrhgvghhkhheslhhinhhugihfohhunhgurghtihhonhdrohhr gheqnecuggftrfgrthhtvghrnhepieetveehuedvhfdtgfdvieeiheehfeelveevheejud etveeuveeludejjefgteehnecukfhppeekfedrkeeirdekledruddtjeenucevlhhushht vghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehgrhgvgheskhhrohgrhh drtghomh X-ME-Proxy: Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) by mail.messagingengine.com (Postfix) with ESMTPA id 286E030663FA; Mon, 18 May 2020 09:37:35 -0400 (EDT) Subject: FAILED: patch "[PATCH] arm64: fix the flush_icache_range arguments in machine_kexec" failed to apply to 4.9-stable tree To: hch@lst.de, catalin.marinas@arm.com, stable@vger.kernel.org Cc: From: Date: Mon, 18 May 2020 15:37:33 +0200 Message-ID: <158980905396228@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org The patch below does not apply to the 4.9-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . thanks, greg k-h ------------------ original commit in Linus's tree ------------------ >From d51c214541c5154dda3037289ee895ea3ded5ebd Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Sun, 10 May 2020 09:54:41 +0200 Subject: [PATCH] arm64: fix the flush_icache_range arguments in machine_kexec The second argument is the end "pointer", not the length. Fixes: d28f6df1305a ("arm64/kexec: Add core kexec support") Cc: # 4.8.x- Signed-off-by: Christoph Hellwig Signed-off-by: Catalin Marinas diff --git a/arch/arm64/kernel/machine_kexec.c b/arch/arm64/kernel/machine_kexec.c index 8e9c924423b4..a0b144cfaea7 100644 --- a/arch/arm64/kernel/machine_kexec.c +++ b/arch/arm64/kernel/machine_kexec.c @@ -177,6 +177,7 @@ void machine_kexec(struct kimage *kimage) * the offline CPUs. Therefore, we must use the __* variant here. */ __flush_icache_range((uintptr_t)reboot_code_buffer, + (uintptr_t)reboot_code_buffer + arm64_relocate_new_kernel_size); /* Flush the kimage list and its buffers. */